@producteca/producteca-ui-kit 1.21.0 → 1.21.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/dist/components/alert/alert.js +37 -0
  2. package/dist/components/breadcrumb/breadcrumb.js +33 -0
  3. package/dist/components/breadcrumb/index.js +2 -0
  4. package/dist/components/button/button.js +34 -0
  5. package/dist/components/chip/chip.js +27 -0
  6. package/dist/components/chip/index.js +1 -0
  7. package/dist/components/icons/customIcon/customIcon.js +41 -0
  8. package/dist/components/icons/fileIcon/fileIcon.js +14 -0
  9. package/dist/components/icons/{index.d.ts → index.js} +1 -1
  10. package/dist/components/icons/mailIcon/mailIcon.js +14 -0
  11. package/dist/components/icons/parameters.js +26 -0
  12. package/dist/components/icons/priceCloseIcon/priceCloseIcon.js +14 -0
  13. package/dist/components/icons/priceDownIcon/priceDownIcon.js +14 -0
  14. package/dist/components/icons/searchPublication/searchPublication.js +14 -0
  15. package/dist/components/image/image.js +26 -0
  16. package/dist/components/image/index.js +1 -0
  17. package/dist/components/{index.d.ts → index.js} +1 -1
  18. package/dist/components/inputs/checkboxInput/checkboxInput.js +35 -0
  19. package/dist/components/inputs/checkboxInput/checkboxInputGroup.js +58 -0
  20. package/dist/components/inputs/checkboxInput/{index.d.ts → index.js} +1 -2
  21. package/dist/components/inputs/datePicker/datePicker.js +143 -0
  22. package/dist/components/inputs/datePicker/datePickerCustomStyles.js +145 -0
  23. package/dist/components/inputs/datePicker/datePickerTypes.js +1 -0
  24. package/dist/components/inputs/datePicker/datePickerUtils.js +109 -0
  25. package/dist/components/inputs/datePicker/index.js +2 -0
  26. package/dist/components/inputs/dateRangePicker/dateFormater.js +28 -0
  27. package/dist/components/inputs/dateRangePicker/dateRangePicker.js +118 -0
  28. package/dist/components/inputs/dateRangePicker/dateRangePickerTypes.js +1 -0
  29. package/dist/components/inputs/dateRangePicker/dateRangePickerUtils.js +67 -0
  30. package/dist/components/inputs/dateRangePicker/index.js +2 -0
  31. package/dist/components/inputs/formField/formField.js +35 -0
  32. package/dist/components/inputs/formField/passwordInput.js +22 -0
  33. package/dist/components/inputs/formField/textInput.js +79 -0
  34. package/dist/components/inputs/{index.d.ts → index.js} +1 -1
  35. package/dist/components/inputs/searcher/searcher.js +112 -0
  36. package/dist/components/inputs/selectField/selectField.js +183 -0
  37. package/dist/components/inputs/switchInput/index.js +2 -0
  38. package/dist/components/inputs/switchInput/switchInput.js +77 -0
  39. package/dist/components/loaders/index.js +2 -0
  40. package/dist/components/loaders/progressbar/progressbar.js +37 -0
  41. package/dist/components/loaders/spinner/spinner.js +15 -0
  42. package/dist/components/menuAction/index.js +1 -0
  43. package/dist/components/menuAction/menuAction.js +67 -0
  44. package/dist/components/menuAction/menuActionCustomStyles.js +13 -0
  45. package/dist/components/modals/index.js +1 -0
  46. package/dist/components/modals/warningModal/index.js +1 -0
  47. package/dist/components/modals/warningModal/warningModal.js +41 -0
  48. package/dist/components/patterns/actionBar/actionBar.js +38 -0
  49. package/dist/components/patterns/copyButton/copyButton.js +69 -0
  50. package/dist/components/patterns/copyButton/index.js +1 -0
  51. package/dist/components/patterns/emptyState/emptyState.js +17 -0
  52. package/dist/components/patterns/headerSection/headerSection.js +17 -0
  53. package/dist/components/patterns/headerSection/index.js +1 -0
  54. package/dist/components/patterns/iconWithIdentifier/iconWithIdentifier.js +12 -0
  55. package/dist/components/patterns/iconWithIdentifier/index.js +1 -0
  56. package/dist/components/patterns/{index.d.ts → index.js} +1 -1
  57. package/dist/components/patterns/linkWithIcon/index.js +1 -0
  58. package/dist/components/patterns/linkWithIcon/linkWithIcon.js +26 -0
  59. package/dist/components/tabs/index.js +1 -0
  60. package/dist/components/tabs/tabs.js +70 -0
  61. package/dist/components/tooltip/index.js +2 -0
  62. package/dist/components/tooltip/overflowChecker.js +27 -0
  63. package/dist/components/tooltip/tooltip.js +97 -0
  64. package/dist/hooks/useReduxFormField.js +34 -0
  65. package/dist/{index.d.ts → index.js} +1 -1
  66. package/dist/locales/description.js +15 -0
  67. package/dist/locales/es.js +227 -0
  68. package/dist/locales/index.js +2 -0
  69. package/dist/locales/translator.js +20 -0
  70. package/dist/producteca-ui-kit.cjs.js +3 -0
  71. package/dist/producteca-ui-kit.es.js +3 -53518
  72. package/dist/producteca-ui-kit.umd.js +9 -604
  73. package/dist/styles/colors.js +67 -0
  74. package/dist/styles/styles/colors.tsx +88 -0
  75. package/dist/styles/styles/global.module.scss +85 -0
  76. package/dist/styles/styles/theme.tsx +24 -0
  77. package/dist/styles/styles/variables.module.scss +74 -0
  78. package/dist/styles/theme.js +22 -0
  79. package/dist/validators/errorMessage.js +15 -0
  80. package/dist/validators/index.js +2 -0
  81. package/dist/validators/validation.js +25 -0
  82. package/package.json +42 -4
  83. package/dist/components/alert/alert.d.ts +0 -17
  84. package/dist/components/breadcrumb/breadcrumb.d.ts +0 -15
  85. package/dist/components/breadcrumb/index.d.ts +0 -2
  86. package/dist/components/button/button.d.ts +0 -17
  87. package/dist/components/chip/chip.d.ts +0 -13
  88. package/dist/components/chip/index.d.ts +0 -2
  89. package/dist/components/icons/customIcon/customIcon.d.ts +0 -16
  90. package/dist/components/icons/fileIcon/fileIcon.d.ts +0 -5
  91. package/dist/components/icons/mailIcon/mailIcon.d.ts +0 -5
  92. package/dist/components/icons/parameters.d.ts +0 -51
  93. package/dist/components/icons/priceCloseIcon/priceCloseIcon.d.ts +0 -5
  94. package/dist/components/icons/priceDownIcon/priceDownIcon.d.ts +0 -5
  95. package/dist/components/icons/searchPublication/searchPublication.d.ts +0 -5
  96. package/dist/components/image/image.d.ts +0 -11
  97. package/dist/components/image/index.d.ts +0 -1
  98. package/dist/components/inputs/checkboxInput/checkboxInput.d.ts +0 -9
  99. package/dist/components/inputs/checkboxInput/checkboxInputGroup.d.ts +0 -22
  100. package/dist/components/inputs/datePicker/datePicker.d.ts +0 -5
  101. package/dist/components/inputs/datePicker/datePickerCustomStyles.d.ts +0 -8
  102. package/dist/components/inputs/datePicker/datePickerTypes.d.ts +0 -14
  103. package/dist/components/inputs/datePicker/datePickerUtils.d.ts +0 -68
  104. package/dist/components/inputs/datePicker/index.d.ts +0 -3
  105. package/dist/components/inputs/dateRangePicker/dateFormater.d.ts +0 -7
  106. package/dist/components/inputs/dateRangePicker/dateRangePicker.d.ts +0 -5
  107. package/dist/components/inputs/dateRangePicker/dateRangePickerTypes.d.ts +0 -14
  108. package/dist/components/inputs/dateRangePicker/dateRangePickerUtils.d.ts +0 -9
  109. package/dist/components/inputs/dateRangePicker/index.d.ts +0 -4
  110. package/dist/components/inputs/formField/formField.d.ts +0 -10
  111. package/dist/components/inputs/formField/passwordInput.d.ts +0 -4
  112. package/dist/components/inputs/formField/textInput.d.ts +0 -25
  113. package/dist/components/inputs/searcher/searcher.d.ts +0 -28
  114. package/dist/components/inputs/selectField/selectField.d.ts +0 -42
  115. package/dist/components/inputs/switchInput/index.d.ts +0 -4
  116. package/dist/components/inputs/switchInput/switchInput.d.ts +0 -31
  117. package/dist/components/loaders/index.d.ts +0 -2
  118. package/dist/components/loaders/progressbar/progressbar.d.ts +0 -8
  119. package/dist/components/loaders/spinner/spinner.d.ts +0 -6
  120. package/dist/components/menuAction/index.d.ts +0 -1
  121. package/dist/components/menuAction/menuAction.d.ts +0 -18
  122. package/dist/components/menuAction/menuActionCustomStyles.d.ts +0 -4
  123. package/dist/components/modals/index.d.ts +0 -1
  124. package/dist/components/modals/warningModal/index.d.ts +0 -1
  125. package/dist/components/modals/warningModal/warningModal.d.ts +0 -17
  126. package/dist/components/patterns/actionBar/actionBar.d.ts +0 -26
  127. package/dist/components/patterns/copyButton/copyButton.d.ts +0 -11
  128. package/dist/components/patterns/copyButton/index.d.ts +0 -1
  129. package/dist/components/patterns/emptyState/emptyState.d.ts +0 -11
  130. package/dist/components/patterns/headerSection/headerSection.d.ts +0 -14
  131. package/dist/components/patterns/headerSection/index.d.ts +0 -1
  132. package/dist/components/patterns/iconWithIdentifier/iconWithIdentifier.d.ts +0 -11
  133. package/dist/components/patterns/iconWithIdentifier/index.d.ts +0 -1
  134. package/dist/components/patterns/linkWithIcon/index.d.ts +0 -1
  135. package/dist/components/patterns/linkWithIcon/linkWithIcon.d.ts +0 -14
  136. package/dist/components/tabs/index.d.ts +0 -2
  137. package/dist/components/tabs/tabs.d.ts +0 -17
  138. package/dist/components/tooltip/index.d.ts +0 -3
  139. package/dist/components/tooltip/overflowChecker.d.ts +0 -5
  140. package/dist/components/tooltip/tooltip.d.ts +0 -20
  141. package/dist/favicon.svg +0 -43
  142. package/dist/hooks/useReduxFormField.d.ts +0 -26
  143. package/dist/locales/description.d.ts +0 -15
  144. package/dist/locales/es.d.ts +0 -227
  145. package/dist/locales/index.d.ts +0 -2
  146. package/dist/locales/translator.d.ts +0 -3
  147. package/dist/style.css +0 -1
  148. package/dist/styles/colors.d.ts +0 -25
  149. package/dist/styles/theme.d.ts +0 -2
  150. package/dist/validators/errorMessage.d.ts +0 -5
  151. package/dist/validators/index.d.ts +0 -2
  152. package/dist/validators/validation.d.ts +0 -21
@@ -1,604 +1,9 @@
1
- (function(Ne,S){typeof exports=="object"&&typeof module<"u"?S(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],S):(Ne=typeof globalThis<"u"?globalThis:Ne||self,S(Ne["producteca-ui-kit"]={},Ne["react/jsx-runtime"],Ne.React,Ne.ReactDOM))})(this,function(Ne,S,J,Ai){"use strict";var cJ=Object.defineProperty;var uJ=(Ne,S,J)=>S in Ne?cJ(Ne,S,{enumerable:!0,configurable:!0,writable:!0,value:J}):Ne[S]=J;var mc=(Ne,S,J)=>uJ(Ne,typeof S!="symbol"?S+"":S,J);function $g(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 w=$g(J),bf=$g(Ai),Ni={btn:"button-module_btn_XFZLT",disabled:"button-module_disabled_tB8LZ",lg:"button-module_lg_Hkfw0",md:"button-module_md_REpcP",sm:"button-module_sm_QYj0l","with-adornment":"button-module_with-adornment_biWLE","left-adornment":"button-module_left-adornment_ifsGV","right-adornment":"button-module_right-adornment_8B4BV",primary:"button-module_primary_ppbyq",success:"button-module_success_PUJLB",secondary:"button-module_secondary_esy5L",error:"button-module_error_eUPLx",outline:"button-module_outline_qVYGR",link:"button-module_link_imZgM","tooltip-link":"button-module_tooltip-link_BqvZl"};function Wg(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Wg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function xe(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Wg(e))&&(r&&(r+=" "),r+=t);return r}const Ri=({type:e="button",variant:t="primary",size:n="lg",label:r,outline:o,leftAdornment:s,rightAdornment:l,className:c="",...u})=>{const f=s||l?"with-adornment":"";return S.jsxs("button",{...u,type:e,className:xe(Ni.btn,Ni[n],Ni[f],Ni[t],{[Ni.outline]:o,[c]:c}),children:[!!s&&S.jsx("span",{className:`${Ni["left-adornment"]}`,children:s}),r,!!l&&S.jsx("span",{className:`${Ni["right-adornment"]}`,children:l})]})},Da={black:"#000",white:"#fff"},hs={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},ms={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},gs={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},bs={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},vs={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},ka={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},qI={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Kr(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Aa="$$material";function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W.apply(null,arguments)}function JI(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 KI(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 QI=function(){function e(n){var r=this;this._insertTag=function(o){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,s),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0: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(KI(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=JI(o);try{s.insertRule(r,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),_n="-ms-",gc="-moz-",Ot="-webkit-",jg="comm",vf="rule",yf="decl",eT="@import",Hg="@keyframes",tT="@layer",nT=Math.abs,bc=String.fromCharCode,rT=Object.assign;function oT(e,t){return Dn(e,0)^45?(((t<<2^Dn(e,0))<<2^Dn(e,1))<<2^Dn(e,2))<<2^Dn(e,3):0}function zg(e){return e.trim()}function iT(e,t){return(e=t.exec(e))?e[0]:e}function Pt(e,t,n){return e.replace(t,n)}function Cf(e,t){return e.indexOf(t)}function Dn(e,t){return e.charCodeAt(t)|0}function Na(e,t,n){return e.slice(t,n)}function Qr(e){return e.length}function wf(e){return e.length}function vc(e,t){return t.push(e),e}function sT(e,t){return e.map(t).join("")}var yc=1,ys=1,Gg=0,qn=0,yn=0,Cs="";function Cc(e,t,n,r,o,s,l){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:yc,column:ys,length:l,return:""}}function Ra(e,t){return rT(Cc("",null,null,"",null,null,0),e,{length:-e.length},t)}function aT(){return yn}function lT(){return yn=qn>0?Dn(Cs,--qn):0,ys--,yn===10&&(ys=1,yc--),yn}function or(){return yn=qn<Gg?Dn(Cs,qn++):0,ys++,yn===10&&(ys=1,yc++),yn}function eo(){return Dn(Cs,qn)}function wc(){return qn}function Fa(e,t){return Na(Cs,e,t)}function Va(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 Yg(e){return yc=ys=1,Gg=Qr(Cs=e),qn=0,[]}function Ug(e){return Cs="",e}function xc(e){return zg(Fa(qn-1,xf(e===91?e+2:e===40?e+1:e)))}function cT(e){for(;(yn=eo())&&yn<33;)or();return Va(e)>2||Va(yn)>3?"":" "}function uT(e,t){for(;--t&&or()&&!(yn<48||yn>102||yn>57&&yn<65||yn>70&&yn<97););return Fa(e,wc()+(t<6&&eo()==32&&or()==32))}function xf(e){for(;or();)switch(yn){case e:return qn;case 34:case 39:e!==34&&e!==39&&xf(yn);break;case 40:e===41&&xf(e);break;case 92:or();break}return qn}function dT(e,t){for(;or()&&e+yn!==57;)if(e+yn===84&&eo()===47)break;return"/*"+Fa(t,qn-1)+"*"+bc(e===47?e:or())}function fT(e){for(;!Va(eo());)or();return Fa(e,qn)}function pT(e){return Ug(Sc("",null,null,null,[""],e=Yg(e),0,[0],e))}function Sc(e,t,n,r,o,s,l,c,u){for(var f=0,p=0,h=l,g=0,v=0,y=0,m=1,C=1,x=1,M=0,I="",O=o,T=s,k=r,D=I;C;)switch(y=M,M=or()){case 40:if(y!=108&&Dn(D,h-1)==58){Cf(D+=Pt(xc(M),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:D+=xc(M);break;case 9:case 10:case 13:case 32:D+=cT(y);break;case 92:D+=uT(wc()-1,7);continue;case 47:switch(eo()){case 42:case 47:vc(hT(dT(or(),wc()),t,n),u);break;default:D+="/"}break;case 123*m:c[f++]=Qr(D)*x;case 125*m:case 59:case 0:switch(M){case 0:case 125:C=0;case 59+p:x==-1&&(D=Pt(D,/\f/g,"")),v>0&&Qr(D)-h&&vc(v>32?Zg(D+";",r,n,h-1):Zg(Pt(D," ","")+";",r,n,h-2),u);break;case 59:D+=";";default:if(vc(k=Xg(D,t,n,f,p,o,c,I,O=[],T=[],h),s),M===123)if(p===0)Sc(D,t,k,k,O,s,h,c,T);else switch(g===99&&Dn(D,3)===110?100:g){case 100:case 108:case 109:case 115:Sc(e,k,k,r&&vc(Xg(e,k,k,0,0,o,c,I,o,O=[],h),T),o,T,h,c,r?O:T);break;default:Sc(D,k,k,k,[""],T,0,c,T)}}f=p=v=0,m=x=1,I=D="",h=l;break;case 58:h=1+Qr(D),v=y;default:if(m<1){if(M==123)--m;else if(M==125&&m++==0&&lT()==125)continue}switch(D+=bc(M),M*m){case 38:x=p>0?1:(D+="\f",-1);break;case 44:c[f++]=(Qr(D)-1)*x,x=1;break;case 64:eo()===45&&(D+=xc(or())),g=eo(),p=h=Qr(I=D+=fT(wc())),M++;break;case 45:y===45&&Qr(D)==2&&(m=0)}}return s}function Xg(e,t,n,r,o,s,l,c,u,f,p){for(var h=o-1,g=o===0?s:[""],v=wf(g),y=0,m=0,C=0;y<r;++y)for(var x=0,M=Na(e,h+1,h=nT(m=l[y])),I=e;x<v;++x)(I=zg(m>0?g[x]+" "+M:Pt(M,/&\f/g,g[x])))&&(u[C++]=I);return Cc(e,t,n,o===0?vf:c,u,f,p)}function hT(e,t,n){return Cc(e,t,n,jg,bc(aT()),Na(e,2,-2),0)}function Zg(e,t,n,r){return Cc(e,t,n,yf,Na(e,0,r),Na(e,r+1,-1),r)}function ws(e,t){for(var n="",r=wf(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function mT(e,t,n,r){switch(e.type){case tT:if(e.children.length)break;case eT:case yf:return e.return=e.return||e.value;case jg:return"";case Hg:return e.return=e.value+"{"+ws(e.children,r)+"}";case vf:e.value=e.props.join(",")}return Qr(n=ws(e.children,r))?e.return=e.value+"{"+n+"}":""}function gT(e){var t=wf(e);return function(n,r,o,s){for(var l="",c=0;c<t;c++)l+=e[c](n,r,o,s)||"";return l}}function bT(e){return function(t){t.root||(t=t.return)&&e(t)}}function qg(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var vT=function(t,n,r){for(var o=0,s=0;o=s,s=eo(),o===38&&s===12&&(n[r]=1),!Va(s);)or();return Fa(t,qn)},yT=function(t,n){var r=-1,o=44;do switch(Va(o)){case 0:o===38&&eo()===12&&(n[r]=1),t[r]+=vT(qn-1,n,r);break;case 2:t[r]+=xc(o);break;case 4:if(o===44){t[++r]=eo()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=bc(o)}while(o=or());return t},CT=function(t,n){return Ug(yT(Yg(t),n))},Jg=new WeakMap,wT=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=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&&!Jg.get(r))&&!o){Jg.set(t,!0);for(var s=[],l=CT(n,s),c=r.props,u=0,f=0;u<l.length;u++)for(var p=0;p<c.length;p++,f++)t.props[f]=s[u]?l[u].replace(/&\f/g,c[p]):c[p]+" "+l[u]}}},xT=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Kg(e,t){switch(oT(e,t)){case 5103:return Ot+"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 Ot+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ot+e+gc+e+_n+e+e;case 6828:case 4268:return Ot+e+_n+e+e;case 6165:return Ot+e+_n+"flex-"+e+e;case 5187:return Ot+e+Pt(e,/(\w+).+(:[^]+)/,Ot+"box-$1$2"+_n+"flex-$1$2")+e;case 5443:return Ot+e+_n+"flex-item-"+Pt(e,/flex-|-self/,"")+e;case 4675:return Ot+e+_n+"flex-line-pack"+Pt(e,/align-content|flex-|-self/,"")+e;case 5548:return Ot+e+_n+Pt(e,"shrink","negative")+e;case 5292:return Ot+e+_n+Pt(e,"basis","preferred-size")+e;case 6060:return Ot+"box-"+Pt(e,"-grow","")+Ot+e+_n+Pt(e,"grow","positive")+e;case 4554:return Ot+Pt(e,/([^-])(transform)/g,"$1"+Ot+"$2")+e;case 6187:return Pt(Pt(Pt(e,/(zoom-|grab)/,Ot+"$1"),/(image-set)/,Ot+"$1"),e,"")+e;case 5495:case 3959:return Pt(e,/(image-set\([^]*)/,Ot+"$1$`$1");case 4968:return Pt(Pt(e,/(.+:)(flex-)?(.*)/,Ot+"box-pack:$3"+_n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ot+e+e;case 4095:case 3583:case 4068:case 2532:return Pt(e,/(.+)-inline(.+)/,Ot+"$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(Qr(e)-1-t>6)switch(Dn(e,t+1)){case 109:if(Dn(e,t+4)!==45)break;case 102:return Pt(e,/(.+:)(.+)-([^]+)/,"$1"+Ot+"$2-$3$1"+gc+(Dn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cf(e,"stretch")?Kg(Pt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Dn(e,t+1)!==115)break;case 6444:switch(Dn(e,Qr(e)-3-(~Cf(e,"!important")&&10))){case 107:return Pt(e,":",":"+Ot)+e;case 101:return Pt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ot+(Dn(e,14)===45?"inline-":"")+"box$3$1"+Ot+"$2$3$1"+_n+"$2box$3")+e}break;case 5936:switch(Dn(e,t+11)){case 114:return Ot+e+_n+Pt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ot+e+_n+Pt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ot+e+_n+Pt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ot+e+_n+e+e}return e}var ST=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case yf:t.return=Kg(t.value,t.length);break;case Hg:return ws([Ra(t,{value:Pt(t.value,"@","@"+Ot)})],o);case vf:if(t.length)return sT(t.props,function(s){switch(iT(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ws([Ra(t,{props:[Pt(s,/:(read-\w+)/,":"+gc+"$1")]})],o);case"::placeholder":return ws([Ra(t,{props:[Pt(s,/:(plac\w+)/,":"+Ot+"input-$1")]}),Ra(t,{props:[Pt(s,/:(plac\w+)/,":"+gc+"$1")]}),Ra(t,{props:[Pt(s,/:(plac\w+)/,_n+"input-$1")]})],o)}return""})}},IT=[ST],TT=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var C=m.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||IT,s={},l,c=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var C=m.getAttribute("data-emotion").split(" "),x=1;x<C.length;x++)s[C[x]]=!0;c.push(m)});var u,f=[wT,xT];{var p,h=[mT,bT(function(m){p.insert(m)})],g=gT(f.concat(o,h)),v=function(C){return ws(pT(C),g)};u=function(C,x,M,I){p=M,v(C?C+"{"+x.styles+"}":x.styles),I&&(y.inserted[x.name]=!0)}}var y={key:n,sheet:new QI({key:n,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return y.sheet.hydrate(c),y},vr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sf={exports:{}},Dt={};/** @license React v16.13.1
2
- * react-is.production.min.js
3
- *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */var Qg;function OT(){if(Qg)return Dt;Qg=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,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function I(T){if(typeof T=="object"&&T!==null){var k=T.$$typeof;switch(k){case t:switch(T=T.type,T){case u:case f:case r:case s:case o:case h:return T;default:switch(T=T&&T.$$typeof,T){case c:case p:case y:case v:case l:return T;default:return k}}case n:return k}}}function O(T){return I(T)===f}return Dt.AsyncMode=u,Dt.ConcurrentMode=f,Dt.ContextConsumer=c,Dt.ContextProvider=l,Dt.Element=t,Dt.ForwardRef=p,Dt.Fragment=r,Dt.Lazy=y,Dt.Memo=v,Dt.Portal=n,Dt.Profiler=s,Dt.StrictMode=o,Dt.Suspense=h,Dt.isAsyncMode=function(T){return O(T)||I(T)===u},Dt.isConcurrentMode=O,Dt.isContextConsumer=function(T){return I(T)===c},Dt.isContextProvider=function(T){return I(T)===l},Dt.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===t},Dt.isForwardRef=function(T){return I(T)===p},Dt.isFragment=function(T){return I(T)===r},Dt.isLazy=function(T){return I(T)===y},Dt.isMemo=function(T){return I(T)===v},Dt.isPortal=function(T){return I(T)===n},Dt.isProfiler=function(T){return I(T)===s},Dt.isStrictMode=function(T){return I(T)===o},Dt.isSuspense=function(T){return I(T)===h},Dt.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===r||T===f||T===s||T===o||T===h||T===g||typeof T=="object"&&T!==null&&(T.$$typeof===y||T.$$typeof===v||T.$$typeof===l||T.$$typeof===c||T.$$typeof===p||T.$$typeof===C||T.$$typeof===x||T.$$typeof===M||T.$$typeof===m)},Dt.typeOf=I,Dt}var kt={};/** @license React v16.13.1
9
- * react-is.development.js
10
- *
11
- * Copyright (c) Facebook, Inc. and its affiliates.
12
- *
13
- * This source code is licensed under the MIT license found in the
14
- * LICENSE file in the root directory of this source tree.
15
- */var eb;function PT(){return eb||(eb=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,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function I(q){return typeof q=="string"||typeof q=="function"||q===r||q===f||q===s||q===o||q===h||q===g||typeof q=="object"&&q!==null&&(q.$$typeof===y||q.$$typeof===v||q.$$typeof===l||q.$$typeof===c||q.$$typeof===p||q.$$typeof===C||q.$$typeof===x||q.$$typeof===M||q.$$typeof===m)}function O(q){if(typeof q=="object"&&q!==null){var ne=q.$$typeof;switch(ne){case t:var fe=q.type;switch(fe){case u:case f:case r:case s:case o:case h:return fe;default:var be=fe&&fe.$$typeof;switch(be){case c:case p:case y:case v:case l:return be;default:return ne}}case n:return ne}}}var T=u,k=f,D=c,A=l,j=t,E=p,R=r,H=y,B=v,L=n,V=s,F=o,Y=h,G=!1;function U(q){return G||(G=!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.")),z(q)||O(q)===u}function z(q){return O(q)===f}function X(q){return O(q)===c}function de(q){return O(q)===l}function re(q){return typeof q=="object"&&q!==null&&q.$$typeof===t}function ie(q){return O(q)===p}function K(q){return O(q)===r}function se(q){return O(q)===y}function ce(q){return O(q)===v}function ee(q){return O(q)===n}function te(q){return O(q)===s}function le(q){return O(q)===o}function pe(q){return O(q)===h}kt.AsyncMode=T,kt.ConcurrentMode=k,kt.ContextConsumer=D,kt.ContextProvider=A,kt.Element=j,kt.ForwardRef=E,kt.Fragment=R,kt.Lazy=H,kt.Memo=B,kt.Portal=L,kt.Profiler=V,kt.StrictMode=F,kt.Suspense=Y,kt.isAsyncMode=U,kt.isConcurrentMode=z,kt.isContextConsumer=X,kt.isContextProvider=de,kt.isElement=re,kt.isForwardRef=ie,kt.isFragment=K,kt.isLazy=se,kt.isMemo=ce,kt.isPortal=ee,kt.isProfiler=te,kt.isStrictMode=le,kt.isSuspense=pe,kt.isValidElementType=I,kt.typeOf=O}()),kt}process.env.NODE_ENV==="production"?Sf.exports=OT():Sf.exports=PT();var If=Sf.exports,tb=If,ET={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MT={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},nb={};nb[tb.ForwardRef]=ET,nb[tb.Memo]=MT;var DT=!0;function rb(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var Tf=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||DT===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},Of=function(t,n,r){Tf(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function kT(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=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(o){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 AT={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},NT=/[A-Z]|^ms/g,RT=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ob=function(t){return t.charCodeAt(1)===45},ib=function(t){return t!=null&&typeof t!="boolean"},Pf=qg(function(e){return ob(e)?e:e.replace(NT,"-$&").toLowerCase()}),sb=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(RT,function(r,o,s){return to={name:o,styles:s,next:to},o})}return AT[t]!==1&&!ob(t)&&typeof n=="number"&&n!==0?n+"px":n};function La(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return to={name:o.name,styles:o.styles,next:to},o.name;var s=n;if(s.styles!==void 0){var l=s.next;if(l!==void 0)for(;l!==void 0;)to={name:l.name,styles:l.styles,next:to},l=l.next;var c=s.styles+";";return c}return FT(e,t,n)}case"function":{if(e!==void 0){var u=to,f=n(e);return to=u,La(e,t,f)}break}}var p=n;if(t==null)return p;var h=t[p];return h!==void 0?h:p}function FT(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=La(e,t,n[o])+";";else for(var s in n){var l=n[s];if(typeof l!="object"){var c=l;t!=null&&t[c]!==void 0?r+=s+"{"+t[c]+"}":ib(c)&&(r+=Pf(s)+":"+sb(s,c)+";")}else if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var u=0;u<l.length;u++)ib(l[u])&&(r+=Pf(s)+":"+sb(s,l[u])+";");else{var f=La(e,t,l);switch(s){case"animation":case"animationName":{r+=Pf(s)+":"+f+";";break}default:r+=s+"{"+f+"}"}}}return r}var ab=/label:\s*([^\s;{]+)\s*(;|$)/g,to;function _a(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";to=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=La(n,t,s);else{var l=s;o+=l[0]}for(var c=1;c<e.length;c++)if(o+=La(n,t,e[c]),r){var u=s;o+=u[c]}ab.lastIndex=0;for(var f="",p;(p=ab.exec(o))!==null;)f+="-"+p[1];var h=kT(o)+f;return{name:h,styles:o,next:to}}var VT=function(t){return t()},lb=w.useInsertionEffect?w.useInsertionEffect:!1,cb=lb||VT,ub=lb||w.useLayoutEffect,db=w.createContext(typeof HTMLElement<"u"?TT({key:"css"}):null);db.Provider;var Ef=function(t){return J.forwardRef(function(n,r){var o=J.useContext(db);return t(n,o,r)})},Ic=w.createContext({}),Mf={}.hasOwnProperty,Df="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",LT=function(t,n){var r={};for(var o in n)Mf.call(n,o)&&(r[o]=n[o]);return r[Df]=t,r},_T=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Tf(n,r,o),cb(function(){return Of(n,r,o)}),null},BT=Ef(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[Df],s=[r],l="";typeof e.className=="string"?l=rb(t.registered,s,e.className):e.className!=null&&(l=e.className+" ");var c=_a(s,void 0,w.useContext(Ic));l+=t.key+"-"+c.name;var u={};for(var f in e)Mf.call(e,f)&&f!=="css"&&f!==Df&&(u[f]=e[f]);return u.className=l,n&&(u.ref=n),w.createElement(w.Fragment,null,w.createElement(_T,{cache:t,serialized:c,isStringTag:typeof o=="string"}),w.createElement(o,u))}),$T=BT,Ge=function(t,n){var r=arguments;if(n==null||!Mf.call(n,"css"))return w.createElement.apply(void 0,r);var o=r.length,s=new Array(o);s[0]=$T,s[1]=LT(t,n);for(var l=2;l<o;l++)s[l]=r[l];return w.createElement.apply(null,s)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Ge||(Ge={}));var WT=Ef(function(e,t){var n=e.styles,r=_a([n],void 0,w.useContext(Ic)),o=w.useRef();return ub(function(){var s=t.key+"-global",l=new t.sheet.constructor({key:s,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,u=document.querySelector('style[data-emotion="'+s+" "+r.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),u!==null&&(c=!0,u.setAttribute("data-emotion",s),l.hydrate([u])),o.current=[l,c],function(){l.flush()}},[t]),ub(function(){var s=o.current,l=s[0],c=s[1];if(c){s[1]=!1;return}if(r.next!==void 0&&Of(t,r.next,!0),l.tags.length){var u=l.tags[l.tags.length-1].nextElementSibling;l.before=u,l.flush()}t.insert("",r,l,!1)},[t,r.name]),null});function oi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _a(t)}function Po(){var e=oi.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var jT=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,HT=qg(function(e){return jT.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),zT=HT,GT=function(t){return t!=="theme"},fb=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?zT:GT},pb=function(t,n,r){var o;if(n){var s=n.shouldForwardProp;o=t.__emotion_forwardProp&&s?function(l){return t.__emotion_forwardProp(l)&&s(l)}:s}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},YT=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Tf(n,r,o),cb(function(){return Of(n,r,o)}),null},UT=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,s,l;n!==void 0&&(s=n.label,l=n.target);var c=pb(t,n,r),u=c||fb(o),f=!u("as");return function(){var p=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&h.push("label:"+s+";"),p[0]==null||p[0].raw===void 0)h.push.apply(h,p);else{var g=p[0];h.push(g[0]);for(var v=p.length,y=1;y<v;y++)h.push(p[y],g[y])}var m=Ef(function(C,x,M){var I=f&&C.as||o,O="",T=[],k=C;if(C.theme==null){k={};for(var D in C)k[D]=C[D];k.theme=w.useContext(Ic)}typeof C.className=="string"?O=rb(x.registered,T,C.className):C.className!=null&&(O=C.className+" ");var A=_a(h.concat(T),x.registered,k);O+=x.key+"-"+A.name,l!==void 0&&(O+=" "+l);var j=f&&c===void 0?fb(I):u,E={};for(var R in C)f&&R==="as"||j(R)&&(E[R]=C[R]);return E.className=O,M&&(E.ref=M),w.createElement(w.Fragment,null,w.createElement(YT,{cache:x,serialized:A,isStringTag:typeof I=="string"}),w.createElement(I,E))});return m.displayName=s!==void 0?s:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=o,m.__emotion_styles=h,m.__emotion_forwardProp=c,Object.defineProperty(m,"toString",{value:function(){return"."+l}}),m.withComponent=function(C,x){var M=e(C,W({},n,x,{shouldForwardProp:pb(m,x,!0)}));return M.apply(void 0,h)},m}},XT=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],kf=UT.bind(null);XT.forEach(function(e){kf[e]=kf(e)});var Af={exports:{}};/*
16
- object-assign
17
- (c) Sindre Sorhus
18
- @license MIT
19
- */var Nf,hb;function ZT(){if(hb)return Nf;hb=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var l={},c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(l).map(function(p){return l[p]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(p){f[p]=p}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Nf=o()?Object.assign:function(s,l){for(var c,u=r(s),f,p=1;p<arguments.length;p++){c=Object(arguments[p]);for(var h in c)t.call(c,h)&&(u[h]=c[h]);if(e){f=e(c);for(var g=0;g<f.length;g++)n.call(c,f[g])&&(u[f[g]]=c[f[g]])}}return u},Nf}var Rf,mb;function Ff(){if(mb)return Rf;mb=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Rf=e,Rf}var Vf,gb;function bb(){return gb||(gb=1,Vf=Function.call.bind(Object.prototype.hasOwnProperty)),Vf}var Lf,vb;function qT(){if(vb)return Lf;vb=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ff(),n={},r=bb();e=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}}}function o(s,l,c,u,f){if(process.env.NODE_ENV!=="production"){for(var p in s)if(r(s,p)){var h;try{if(typeof s[p]!="function"){var g=Error((u||"React class")+": "+c+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}h=s[p](l,p,u,c,null,t)}catch(y){h=y}if(h&&!(h instanceof Error)&&e((u||"React class")+": type specification of "+c+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in n)){n[h.message]=!0;var v=f?f():"";e("Failed "+c+" type: "+h.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Lf=o,Lf}var _f,yb;function JT(){if(yb)return _f;yb=1;var e=If,t=ZT(),n=Ff(),r=bb(),o=qT(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function l(){return null}return _f=function(c,u){var f=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function h(z){var X=z&&(f&&z[f]||z[p]);if(typeof X=="function")return X}var g="<<anonymous>>",v={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:M(),arrayOf:I,element:O(),elementType:T(),instanceOf:k,node:E(),objectOf:A,oneOf:D,oneOfType:j,shape:H,exact:B};function y(z,X){return z===X?z!==0||1/z===1/X:z!==z&&X!==X}function m(z,X){this.message=z,this.data=X&&typeof X=="object"?X:{},this.stack=""}m.prototype=Error.prototype;function C(z){if(process.env.NODE_ENV!=="production")var X={},de=0;function re(K,se,ce,ee,te,le,pe){if(ee=ee||g,le=le||ce,pe!==n){if(u){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ne=ee+":"+ce;!X[ne]&&de<3&&(s("You are manually calling a React.PropTypes validation function for the `"+le+"` prop on `"+ee+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),X[ne]=!0,de++)}}return se[ce]==null?K?se[ce]===null?new m("The "+te+" `"+le+"` is marked as required "+("in `"+ee+"`, but its value is `null`.")):new m("The "+te+" `"+le+"` is marked as required in "+("`"+ee+"`, but its value is `undefined`.")):null:z(se,ce,ee,te,le)}var ie=re.bind(null,!1);return ie.isRequired=re.bind(null,!0),ie}function x(z){function X(de,re,ie,K,se,ce){var ee=de[re],te=F(ee);if(te!==z){var le=Y(ee);return new m("Invalid "+K+" `"+se+"` of type "+("`"+le+"` supplied to `"+ie+"`, expected ")+("`"+z+"`."),{expectedType:z})}return null}return C(X)}function M(){return C(l)}function I(z){function X(de,re,ie,K,se){if(typeof z!="function")return new m("Property `"+se+"` of component `"+ie+"` has invalid PropType notation inside arrayOf.");var ce=de[re];if(!Array.isArray(ce)){var ee=F(ce);return new m("Invalid "+K+" `"+se+"` of type "+("`"+ee+"` supplied to `"+ie+"`, expected an array."))}for(var te=0;te<ce.length;te++){var le=z(ce,te,ie,K,se+"["+te+"]",n);if(le instanceof Error)return le}return null}return C(X)}function O(){function z(X,de,re,ie,K){var se=X[de];if(!c(se)){var ce=F(se);return new m("Invalid "+ie+" `"+K+"` of type "+("`"+ce+"` supplied to `"+re+"`, expected a single ReactElement."))}return null}return C(z)}function T(){function z(X,de,re,ie,K){var se=X[de];if(!e.isValidElementType(se)){var ce=F(se);return new m("Invalid "+ie+" `"+K+"` of type "+("`"+ce+"` supplied to `"+re+"`, expected a single ReactElement type."))}return null}return C(z)}function k(z){function X(de,re,ie,K,se){if(!(de[re]instanceof z)){var ce=z.name||g,ee=U(de[re]);return new m("Invalid "+K+" `"+se+"` of type "+("`"+ee+"` supplied to `"+ie+"`, expected ")+("instance of `"+ce+"`."))}return null}return C(X)}function D(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),l;function X(de,re,ie,K,se){for(var ce=de[re],ee=0;ee<z.length;ee++)if(y(ce,z[ee]))return null;var te=JSON.stringify(z,function(pe,q){var ne=Y(q);return ne==="symbol"?String(q):q});return new m("Invalid "+K+" `"+se+"` of value `"+String(ce)+"` "+("supplied to `"+ie+"`, expected one of "+te+"."))}return C(X)}function A(z){function X(de,re,ie,K,se){if(typeof z!="function")return new m("Property `"+se+"` of component `"+ie+"` has invalid PropType notation inside objectOf.");var ce=de[re],ee=F(ce);if(ee!=="object")return new m("Invalid "+K+" `"+se+"` of type "+("`"+ee+"` supplied to `"+ie+"`, expected an object."));for(var te in ce)if(r(ce,te)){var le=z(ce,te,ie,K,se+"."+te,n);if(le instanceof Error)return le}return null}return C(X)}function j(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var X=0;X<z.length;X++){var de=z[X];if(typeof de!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+G(de)+" at index "+X+"."),l}function re(ie,K,se,ce,ee){for(var te=[],le=0;le<z.length;le++){var pe=z[le],q=pe(ie,K,se,ce,ee,n);if(q==null)return null;q.data&&r(q.data,"expectedType")&&te.push(q.data.expectedType)}var ne=te.length>0?", expected one of type ["+te.join(", ")+"]":"";return new m("Invalid "+ce+" `"+ee+"` supplied to "+("`"+se+"`"+ne+"."))}return C(re)}function E(){function z(X,de,re,ie,K){return L(X[de])?null:new m("Invalid "+ie+" `"+K+"` supplied to "+("`"+re+"`, expected a ReactNode."))}return C(z)}function R(z,X,de,re,ie){return new m((z||"React class")+": "+X+" type `"+de+"."+re+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ie+"`.")}function H(z){function X(de,re,ie,K,se){var ce=de[re],ee=F(ce);if(ee!=="object")return new m("Invalid "+K+" `"+se+"` of type `"+ee+"` "+("supplied to `"+ie+"`, expected `object`."));for(var te in z){var le=z[te];if(typeof le!="function")return R(ie,K,se,te,Y(le));var pe=le(ce,te,ie,K,se+"."+te,n);if(pe)return pe}return null}return C(X)}function B(z){function X(de,re,ie,K,se){var ce=de[re],ee=F(ce);if(ee!=="object")return new m("Invalid "+K+" `"+se+"` of type `"+ee+"` "+("supplied to `"+ie+"`, expected `object`."));var te=t({},de[re],z);for(var le in te){var pe=z[le];if(r(z,le)&&typeof pe!="function")return R(ie,K,se,le,Y(pe));if(!pe)return new m("Invalid "+K+" `"+se+"` key `"+le+"` supplied to `"+ie+"`.\nBad object: "+JSON.stringify(de[re],null," ")+`
20
- Valid keys: `+JSON.stringify(Object.keys(z),null," "));var q=pe(ce,le,ie,K,se+"."+le,n);if(q)return q}return null}return C(X)}function L(z){switch(typeof z){case"number":case"string":case"undefined":return!0;case"boolean":return!z;case"object":if(Array.isArray(z))return z.every(L);if(z===null||c(z))return!0;var X=h(z);if(X){var de=X.call(z),re;if(X!==z.entries){for(;!(re=de.next()).done;)if(!L(re.value))return!1}else for(;!(re=de.next()).done;){var ie=re.value;if(ie&&!L(ie[1]))return!1}}else return!1;return!0;default:return!1}}function V(z,X){return z==="symbol"?!0:X?X["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&X instanceof Symbol:!1}function F(z){var X=typeof z;return Array.isArray(z)?"array":z instanceof RegExp?"object":V(X,z)?"symbol":X}function Y(z){if(typeof z>"u"||z===null)return""+z;var X=F(z);if(X==="object"){if(z instanceof Date)return"date";if(z instanceof RegExp)return"regexp"}return X}function G(z){var X=Y(z);switch(X){case"array":case"object":return"an "+X;case"boolean":case"date":case"regexp":return"a "+X;default:return X}}function U(z){return!z.constructor||!z.constructor.name?g:z.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},_f}var Bf,Cb;function KT(){if(Cb)return Bf;Cb=1;var e=Ff();function t(){}function n(){}return n.resetWarningCache=t,Bf=function(){function r(l,c,u,f,p,h){if(h!==e){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},Bf}if(process.env.NODE_ENV!=="production"){var QT=If,eO=!0;Af.exports=JT()(QT.isElement,eO)}else Af.exports=KT()();var tO=Af.exports;const i=Oo(tO);function nO(e){return e==null||Object.keys(e).length===0}function wb(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(nO(o)?n:o):t;return S.jsx(WT,{styles:r})}process.env.NODE_ENV!=="production"&&(wb.propTypes={defaultTheme:i.object,styles:i.oneOfType([i.array,i.string,i.object,i.func])});/**
21
- * @mui/styled-engine v6.5.0
22
- *
23
- * @license MIT
24
- * This source code is licensed under the MIT license found in the
25
- * LICENSE file in the root directory of this source tree.
26
- */function rO(e,t){const n=kf(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
27
- `)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}function oO(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const xb=[];function ii(e){return xb[0]=e,_a(xb)}var $f={exports:{}},_t={};/**
28
- * @license React
29
- * react-is.production.js
30
- *
31
- * Copyright (c) Meta Platforms, Inc. and affiliates.
32
- *
33
- * This source code is licensed under the MIT license found in the
34
- * LICENSE file in the root directory of this source tree.
35
- */var Sb;function iO(){if(Sb)return _t;Sb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function y(m){if(typeof m=="object"&&m!==null){var C=m.$$typeof;switch(C){case e:switch(m=m.type,m){case n:case o:case r:case u:case f:case g:return m;default:switch(m=m&&m.$$typeof,m){case l:case c:case h:case p:return m;case s:return m;default:return C}}case t:return C}}}return _t.ContextConsumer=s,_t.ContextProvider=l,_t.Element=e,_t.ForwardRef=c,_t.Fragment=n,_t.Lazy=h,_t.Memo=p,_t.Portal=t,_t.Profiler=o,_t.StrictMode=r,_t.Suspense=u,_t.SuspenseList=f,_t.isContextConsumer=function(m){return y(m)===s},_t.isContextProvider=function(m){return y(m)===l},_t.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},_t.isForwardRef=function(m){return y(m)===c},_t.isFragment=function(m){return y(m)===n},_t.isLazy=function(m){return y(m)===h},_t.isMemo=function(m){return y(m)===p},_t.isPortal=function(m){return y(m)===t},_t.isProfiler=function(m){return y(m)===o},_t.isStrictMode=function(m){return y(m)===r},_t.isSuspense=function(m){return y(m)===u},_t.isSuspenseList=function(m){return y(m)===f},_t.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===o||m===r||m===u||m===f||typeof m=="object"&&m!==null&&(m.$$typeof===h||m.$$typeof===p||m.$$typeof===l||m.$$typeof===s||m.$$typeof===c||m.$$typeof===v||m.getModuleId!==void 0)},_t.typeOf=y,_t}var Bt={};/**
36
- * @license React
37
- * react-is.development.js
38
- *
39
- * Copyright (c) Meta Platforms, Inc. and affiliates.
40
- *
41
- * This source code is licensed under the MIT license found in the
42
- * LICENSE file in the root directory of this source tree.
43
- */var Ib;function sO(){return Ib||(Ib=1,process.env.NODE_ENV!=="production"&&function(){function e(m){if(typeof m=="object"&&m!==null){var C=m.$$typeof;switch(C){case t:switch(m=m.type,m){case r:case s:case o:case f:case p:case v:return m;default:switch(m=m&&m.$$typeof,m){case c:case u:case g:case h:return m;case l:return m;default:return C}}case n:return C}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");Bt.ContextConsumer=l,Bt.ContextProvider=c,Bt.Element=t,Bt.ForwardRef=u,Bt.Fragment=r,Bt.Lazy=g,Bt.Memo=h,Bt.Portal=n,Bt.Profiler=s,Bt.StrictMode=o,Bt.Suspense=f,Bt.SuspenseList=p,Bt.isContextConsumer=function(m){return e(m)===l},Bt.isContextProvider=function(m){return e(m)===c},Bt.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},Bt.isForwardRef=function(m){return e(m)===u},Bt.isFragment=function(m){return e(m)===r},Bt.isLazy=function(m){return e(m)===g},Bt.isMemo=function(m){return e(m)===h},Bt.isPortal=function(m){return e(m)===n},Bt.isProfiler=function(m){return e(m)===s},Bt.isStrictMode=function(m){return e(m)===o},Bt.isSuspense=function(m){return e(m)===f},Bt.isSuspenseList=function(m){return e(m)===p},Bt.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===r||m===s||m===o||m===f||m===p||typeof m=="object"&&m!==null&&(m.$$typeof===g||m.$$typeof===h||m.$$typeof===c||m.$$typeof===l||m.$$typeof===u||m.$$typeof===y||m.getModuleId!==void 0)},Bt.typeOf=e}()),Bt}process.env.NODE_ENV==="production"?$f.exports=iO():$f.exports=sO();var Tc=$f.exports;function no(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Tb(e){if(w.isValidElement(e)||Tc.isValidElementType(e)||!no(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Tb(e[n])}),t}function Bn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return no(e)&&no(t)&&Object.keys(t).forEach(o=>{w.isValidElement(t[o])||Tc.isValidElementType(t[o])?r[o]=t[o]:no(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&no(e[o])?r[o]=Bn(e[o],t[o],n):n.clone?r[o]=no(t[o])?Tb(t[o]):t[o]:r[o]=t[o]}),r}const aO=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function lO(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,s=aO(t),l=Object.keys(s);function c(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-r/100}${n})`}function f(g,v){const y=l.indexOf(v);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n}) and (max-width:${(y!==-1&&typeof t[l[y]]=="number"?t[l[y]]:v)-r/100}${n})`}function p(g){return l.indexOf(g)+1<l.length?f(g,l[l.indexOf(g)+1]):c(g)}function h(g){const v=l.indexOf(g);return v===0?c(l[1]):v===l.length-1?u(l[v]):f(g,l[l.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:l,values:s,up:c,down:u,between:f,only:p,not:h,unit:n,...o}}function Ob(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var l,c;const s=/min-width:\s*([0-9.]+)/;return+(((l=r.match(s))==null?void 0:l[1])||0)-+(((c=o.match(s))==null?void 0:c[1])||0)});return n.length?n.reduce((r,o)=>{const s=t[o];return delete r[o],r[o]=s,r},{...t}):t}function cO(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function uO(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
44
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Kr(18,`(${t})`));return null}const[,r,o]=n,s=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(s)}function dO(e){const t=(s,l)=>s.replace("@media",l?`@container ${l}`:"@container");function n(s,l){s.up=(...c)=>t(e.breakpoints.up(...c),l),s.down=(...c)=>t(e.breakpoints.down(...c),l),s.between=(...c)=>t(e.breakpoints.between(...c),l),s.only=(...c)=>t(e.breakpoints.only(...c),l),s.not=(...c)=>{const u=t(e.breakpoints.not(...c),l);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const r={},o=s=>(n(r,s),r);return n(o),{...e,containerQueries:o}}const fO={borderRadius:4},si=process.env.NODE_ENV!=="production"?i.oneOfType([i.number,i.string,i.object,i.array]):{};function Ba(e,t){return t?Bn(e,t,{clone:!1}):e}const Oc={xs:0,sm:600,md:900,lg:1200,xl:1536},Pb={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Oc[e]}px)`},pO={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Oc[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Eo(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||Pb;return t.reduce((l,c,u)=>(l[s.up(s.keys[u])]=n(t[u]),l),{})}if(typeof t=="object"){const s=r.breakpoints||Pb;return Object.keys(t).reduce((l,c)=>{if(cO(s.keys,c)){const u=uO(r.containerQueries?r:pO,c);u&&(l[u]=n(t[c],c))}else if(Object.keys(s.values||Oc).includes(c)){const u=s.up(c);l[u]=n(t[c],c)}else{const u=c;l[u]=t[u]}return l},{})}return n(t)}function hO(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const s=e.up(o);return r[s]={},r},{}))||{}}function Eb(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Pe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Kr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pc(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ec(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Pc(e,n)||r,t&&(o=t(o,r,e)),o}function mn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,s=l=>{if(l[t]==null)return null;const c=l[t],u=l.theme,f=Pc(u,r)||{};return Eo(l,c,h=>{let g=Ec(f,o,h);return h===g&&typeof h=="string"&&(g=Ec(f,o,`${t}${h==="default"?"":Pe(h)}`,h)),n===!1?g:{[n]:g}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:si}:{},s.filterProps=[t],s}function mO(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const gO={m:"margin",p:"padding"},bO={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Mb={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},vO=mO(e=>{if(e.length>2)if(Mb[e])e=Mb[e];else return[e];const[t,n]=e.split(""),r=gO[t],o=bO[n]||"";return Array.isArray(o)?o.map(s=>r+s):[r+o]}),Mc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Dc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],yO=[...Mc,...Dc];function $a(e,t,n,r){const o=Pc(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`),typeof o=="string"?`calc(${s} * ${o})`:o*s):Array.isArray(o)?s=>{if(typeof s=="string")return s;const l=Math.abs(s);process.env.NODE_ENV!=="production"&&(Number.isInteger(l)?l>o.length-1&&console.error([`MUI: The value provided (${l}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${l} > ${o.length-1}, you need to add the missing values.`].join(`
45
- `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
46
- `)));const c=o[l];return s>=0?c:typeof c=="number"?-c:`-${c}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
47
- `)),()=>{})}function Wf(e){return $a(e,"spacing",8,"spacing")}function Wa(e,t){return typeof t=="string"||t==null?t:e(t)}function CO(e,t){return n=>e.reduce((r,o)=>(r[o]=Wa(t,n),r),{})}function wO(e,t,n,r){if(!t.includes(n))return null;const o=vO(n),s=CO(o,r),l=e[n];return Eo(e,l,s)}function Db(e,t){const n=Wf(e.theme);return Object.keys(e).map(r=>wO(e,t,r,n)).reduce(Ba,{})}function cn(e){return Db(e,Mc)}cn.propTypes=process.env.NODE_ENV!=="production"?Mc.reduce((e,t)=>(e[t]=si,e),{}):{},cn.filterProps=Mc;function un(e){return Db(e,Dc)}un.propTypes=process.env.NODE_ENV!=="production"?Dc.reduce((e,t)=>(e[t]=si,e),{}):{},un.filterProps=Dc,process.env.NODE_ENV!=="production"&&yO.reduce((e,t)=>(e[t]=si,e),{});function kb(e=8,t=Wf({spacing:e})){if(e.mui)return e;const n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const l=t(s);return typeof l=="number"?`${l}px`:l}).join(" "));return n.mui=!0,n}function kc(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(s=>{r[s]=o}),r),{}),n=r=>Object.keys(r).reduce((o,s)=>t[s]?Ba(o,t[s](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function yr(e){return typeof e!="number"?e:`${e}px solid`}function Cr(e,t){return mn({prop:e,themeKey:"borders",transform:t})}const xO=Cr("border",yr),SO=Cr("borderTop",yr),IO=Cr("borderRight",yr),TO=Cr("borderBottom",yr),OO=Cr("borderLeft",yr),PO=Cr("borderColor"),EO=Cr("borderTopColor"),MO=Cr("borderRightColor"),DO=Cr("borderBottomColor"),kO=Cr("borderLeftColor"),AO=Cr("outline",yr),NO=Cr("outlineColor"),Ac=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=$a(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Wa(t,r)});return Eo(e,e.borderRadius,n)}return null};Ac.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:si}:{},Ac.filterProps=["borderRadius"],kc(xO,SO,IO,TO,OO,PO,EO,MO,DO,kO,Ac,AO,NO);const Nc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=$a(e.theme,"spacing",8,"gap"),n=r=>({gap:Wa(t,r)});return Eo(e,e.gap,n)}return null};Nc.propTypes=process.env.NODE_ENV!=="production"?{gap:si}:{},Nc.filterProps=["gap"];const Rc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=$a(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Wa(t,r)});return Eo(e,e.columnGap,n)}return null};Rc.propTypes=process.env.NODE_ENV!=="production"?{columnGap:si}:{},Rc.filterProps=["columnGap"];const Fc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=$a(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Wa(t,r)});return Eo(e,e.rowGap,n)}return null};Fc.propTypes=process.env.NODE_ENV!=="production"?{rowGap:si}:{},Fc.filterProps=["rowGap"];const RO=mn({prop:"gridColumn"}),FO=mn({prop:"gridRow"}),VO=mn({prop:"gridAutoFlow"}),LO=mn({prop:"gridAutoColumns"}),_O=mn({prop:"gridAutoRows"}),BO=mn({prop:"gridTemplateColumns"}),$O=mn({prop:"gridTemplateRows"}),WO=mn({prop:"gridTemplateAreas"}),jO=mn({prop:"gridArea"});kc(Nc,Rc,Fc,RO,FO,VO,LO,_O,BO,$O,WO,jO);function xs(e,t){return t==="grey"?t:e}const HO=mn({prop:"color",themeKey:"palette",transform:xs}),zO=mn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:xs}),GO=mn({prop:"backgroundColor",themeKey:"palette",transform:xs});kc(HO,zO,GO);function ir(e){return e<=1&&e!==0?`${e*100}%`:e}const YO=mn({prop:"width",transform:ir}),jf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,s,l,c,u;const r=((l=(s=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:s.values)==null?void 0:l[n])||Oc[n];return r?((u=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:ir(n)}};return Eo(e,e.maxWidth,t)}return null};jf.filterProps=["maxWidth"];const UO=mn({prop:"minWidth",transform:ir}),XO=mn({prop:"height",transform:ir}),ZO=mn({prop:"maxHeight",transform:ir}),qO=mn({prop:"minHeight",transform:ir});mn({prop:"size",cssProperty:"width",transform:ir}),mn({prop:"size",cssProperty:"height",transform:ir});const JO=mn({prop:"boxSizing"});kc(YO,jf,UO,XO,ZO,qO,JO);const ja={border:{themeKey:"borders",transform:yr},borderTop:{themeKey:"borders",transform:yr},borderRight:{themeKey:"borders",transform:yr},borderBottom:{themeKey:"borders",transform:yr},borderLeft:{themeKey:"borders",transform:yr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:yr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ac},color:{themeKey:"palette",transform:xs},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:xs},backgroundColor:{themeKey:"palette",transform:xs},p:{style:un},pt:{style:un},pr:{style:un},pb:{style:un},pl:{style:un},px:{style:un},py:{style:un},padding:{style:un},paddingTop:{style:un},paddingRight:{style:un},paddingBottom:{style:un},paddingLeft:{style:un},paddingX:{style:un},paddingY:{style:un},paddingInline:{style:un},paddingInlineStart:{style:un},paddingInlineEnd:{style:un},paddingBlock:{style:un},paddingBlockStart:{style:un},paddingBlockEnd:{style:un},m:{style:cn},mt:{style:cn},mr:{style:cn},mb:{style:cn},ml:{style:cn},mx:{style:cn},my:{style:cn},margin:{style:cn},marginTop:{style:cn},marginRight:{style:cn},marginBottom:{style:cn},marginLeft:{style:cn},marginX:{style:cn},marginY:{style:cn},marginInline:{style:cn},marginInlineStart:{style:cn},marginInlineEnd:{style:cn},marginBlock:{style:cn},marginBlockStart:{style:cn},marginBlockEnd:{style:cn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Nc},rowGap:{style:Fc},columnGap:{style:Rc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ir},maxWidth:{style:jf},minWidth:{transform:ir},height:{transform:ir},maxHeight:{transform:ir},minHeight:{transform:ir},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function KO(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function QO(e,t){return typeof e=="function"?e(t):e}function eP(){function e(n,r,o,s){const l={[n]:r,theme:o},c=s[n];if(!c)return{[n]:r};const{cssProperty:u=n,themeKey:f,transform:p,style:h}=c;if(r==null)return null;if(f==="typography"&&r==="inherit")return{[n]:r};const g=Pc(o,f)||{};return h?h(l):Eo(l,r,y=>{let m=Ec(g,p,y);return y===m&&typeof y=="string"&&(m=Ec(g,p,`${n}${y==="default"?"":Pe(y)}`,y)),u===!1?m:{[u]:m}})}function t(n){const{sx:r,theme:o={},nested:s}=n||{};if(!r)return null;const l=o.unstable_sxConfig??ja;function c(u){let f=u;if(typeof u=="function")f=u(o);else if(typeof u!="object")return u;if(!f)return null;const p=hO(o.breakpoints),h=Object.keys(p);let g=p;return Object.keys(f).forEach(v=>{const y=QO(f[v],o);if(y!=null)if(typeof y=="object")if(l[v])g=Ba(g,e(v,y,o,l));else{const m=Eo({theme:o},y,C=>({[v]:C}));KO(m,y)?g[v]=t({sx:y,theme:o,nested:!0}):g=Ba(g,m)}else g=Ba(g,e(v,y,o,l))}),!s&&o.modularCssLayers?{"@layer sx":Ob(o,Eb(h,g))}:Ob(o,Eb(h,g))}return Array.isArray(r)?r.map(c):c(r)}return t}const Ss=eP();Ss.filterProps=["sx"];function tP(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function Hf(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={},...l}=e,c=lO(n),u=kb(o);let f=Bn({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:u,shape:{...fO,...s}},l);return f=dO(f),f.applyStyles=tP,f=t.reduce((p,h)=>Bn(p,h),f),f.unstable_sxConfig={...ja,...l==null?void 0:l.unstable_sxConfig},f.unstable_sx=function(h){return Ss({sx:h,theme:this})},f}function nP(e){return Object.keys(e).length===0}function Ab(e=null){const t=w.useContext(Ic);return!t||nP(t)?e:t}const rP=Hf();function zf(e=rP){return Ab(e)}function Gf(e){const t=ii(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Nb({styles:e,themeId:t,defaultTheme:n={}}){const r=zf(n),o=t&&r[t]||r;let s=typeof e=="function"?e(o):e;return o.modularCssLayers&&(Array.isArray(s)?s=s.map(l=>Gf(typeof l=="function"?l(o):l)):s=Gf(s)),S.jsx(wb,{styles:s})}process.env.NODE_ENV!=="production"&&(Nb.propTypes={defaultTheme:i.object,styles:i.oneOfType([i.array,i.func,i.number,i.object,i.string,i.bool]),themeId:i.string});const oP=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??ja;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function iP(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=oP(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...l)=>{const c=t(...l);return no(c)?{...r,...c}:r}:s={...r,...t},{...o,sx:s}}const Rb=e=>e,sP=(()=>{let e=Rb;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Rb}}})(),aP={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function _e(e,t,n="Mui"){const r=aP[t];return r?`${n}-${r}`:`${sP.generate(e)}-${t}`}function Re(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=_e(e,o,n)}),r}function Fb(e,t=""){return e.displayName||e.name||t}function Vb(e,t,n){const r=Fb(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function lP(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Fb(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Tc.ForwardRef:return Vb(e,e.render,"ForwardRef");case Tc.Memo:return Vb(e,e.type,"memo");default:return}}}function Lb(e){const{variants:t,...n}=e,r={variants:t,style:ii(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=ii(o.style))}),r}const cP=Hf();function Vc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Fi(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function uP(e){return e?(t,n)=>n[e]:null}function dP(e,t,n){e.theme=mP(e.theme)?n:e.theme[t]||e.theme}function Lc(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>Lc(e,o,n));if(Array.isArray(r==null?void 0:r.variants)){let o;if(r.isProcessed)o=n?Fi(r.style,n):r.style;else{const{variants:s,...l}=r;o=n?Fi(ii(l),n):l}return _b(e,r.variants,[o],n)}return r!=null&&r.isProcessed?n?Fi(ii(r.style),n):r.style:n?Fi(ii(r),n):r}function _b(e,t,n=[],r=void 0){var s;let o;e:for(let l=0;l<t.length;l+=1){const c=t[l];if(typeof c.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!c.props(o))continue}else for(const u in c.props)if(e[u]!==c.props[u]&&((s=e.ownerState)==null?void 0:s[u])!==c.props[u])continue e;typeof c.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),n.push(r?Fi(ii(c.style(o)),r):c.style(o))):n.push(r?Fi(ii(c.style),r):c.style)}return n}function fP(e={}){const{themeId:t,defaultTheme:n=cP,rootShouldForwardProp:r=Vc,slotShouldForwardProp:o=Vc}=e;function s(c){dP(c,t,n)}return(c,u={})=>{oO(c,k=>k.filter(D=>D!==Ss));const{name:f,slot:p,skipVariantsResolver:h,skipSx:g,overridesResolver:v=uP(Bb(p)),...y}=u,m=f&&f.startsWith("Mui")||p?"components":"custom",C=h!==void 0?h:p&&p!=="Root"&&p!=="root"||!1,x=g||!1;let M=Vc;p==="Root"||p==="root"?M=r:p?M=o:gP(c)&&(M=void 0);const I=rO(c,{shouldForwardProp:M,label:hP(f,p),...y}),O=k=>{if(k.__emotion_real===k)return k;if(typeof k=="function")return function(A){return Lc(A,k,A.theme.modularCssLayers?m:void 0)};if(no(k)){const D=Lb(k);return function(j){return D.variants?Lc(j,D,j.theme.modularCssLayers?m:void 0):j.theme.modularCssLayers?Fi(D.style,m):D.style}}return k},T=(...k)=>{const D=[],A=k.map(O),j=[];if(D.push(s),f&&v&&j.push(function(B){var Y,G;const V=(G=(Y=B.theme.components)==null?void 0:Y[f])==null?void 0:G.styleOverrides;if(!V)return null;const F={};for(const U in V)F[U]=Lc(B,V[U],B.theme.modularCssLayers?"theme":void 0);return v(B,F)}),f&&!C&&j.push(function(B){var F,Y;const L=B.theme,V=(Y=(F=L==null?void 0:L.components)==null?void 0:F[f])==null?void 0:Y.variants;return V?_b(B,V,[],B.theme.modularCssLayers?"theme":void 0):null}),x||j.push(Ss),Array.isArray(A[0])){const H=A.shift(),B=new Array(D.length).fill(""),L=new Array(j.length).fill("");let V;V=[...B,...H,...L],V.raw=[...B,...H.raw,...L],D.unshift(V)}const E=[...D,...A,...j],R=I(...E);return c.muiName&&(R.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(R.displayName=pP(f,p,c)),R};return I.withConfig&&(T.withConfig=I.withConfig),T}}function pP(e,t,n){return e?`${e}${Pe(t||"")}`:`Styled(${lP(n)})`}function hP(e,t){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${Bb(t||"Root")}`),n}function mP(e){for(const t in e)return!1;return!0}function gP(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Bb(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ha(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const s=e[o],l=t[o];if(!l)n[o]=s||{};else if(!s)n[o]=l;else{n[o]={...l};for(const c in s)if(Object.prototype.hasOwnProperty.call(s,c)){const u=c;n[o][u]=Ha(s[u],l[u])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function $b(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Ha(t.components[n].defaultProps,r)}function bP({props:e,name:t,defaultTheme:n,themeId:r}){let o=zf(n);return o=o[r]||o,$b({theme:o,name:t,props:e})}const gn=typeof window<"u"?w.useLayoutEffect:w.useEffect;function vP(e,t,n,r,o){const[s,l]=w.useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return gn(()=>{if(!n)return;const c=n(e),u=()=>{l(c.matches)};return u(),c.addEventListener("change",u),()=>{c.removeEventListener("change",u)}},[e,n]),s}const Wb={...w}.useSyncExternalStore;function yP(e,t,n,r,o){const s=w.useCallback(()=>t,[t]),l=w.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(r!==null){const{matches:p}=r(e);return()=>p}return s},[s,e,r,o,n]),[c,u]=w.useMemo(()=>{if(n===null)return[s,()=>()=>{}];const p=n(e);return[()=>p.matches,h=>(p.addEventListener("change",h),()=>{p.removeEventListener("change",h)})]},[s,n,e]);return Wb(u,c,l)}function jb(e={}){const{themeId:t}=e;return function(r,o={}){let s=Ab();s&&t&&(s=s[t]||s);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:c=!1,matchMedia:u=l?window.matchMedia:null,ssrMatchMedia:f=null,noSsr:p=!1}=$b({name:"MuiUseMediaQuery",props:o,theme:s});process.env.NODE_ENV!=="production"&&typeof r=="function"&&s===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
48
- `));let h=typeof r=="function"?r(s):r;h=h.replace(/^@media( ?)/m,""),h.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
49
- `));const v=(Wb!==void 0?yP:vP)(h,c,u,f,p);return process.env.NODE_ENV!=="production"&&w.useDebugValue({query:h,match:v}),v}}jb();function CP(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Yf(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),CP(e,t,n)}function wP(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function ai(e){if(e.type)return e;if(e.charAt(0)==="#")return ai(wP(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
50
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Kr(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
51
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Kr(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}const xP=e=>{const t=ai(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},za=(e,t)=>{try{return xP(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function _c(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Hb(e){e=ai(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),l=(f,p=(f+n/30)%12)=>o-s*Math.max(Math.min(p-3,9-p,1),-1);let c="rgb";const u=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),_c({type:c,values:u})}function Uf(e){e=ai(e);let t=e.type==="hsl"||e.type==="hsla"?ai(Hb(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function zb(e,t){const n=Uf(e),r=Uf(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function mt(e,t){return e=ai(e),t=Yf(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,_c(e)}function Bc(e,t,n){try{return mt(e,t)}catch{return e}}function $c(e,t){if(e=ai(e),t=Yf(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return _c(e)}function zt(e,t,n){try{return $c(e,t)}catch{return e}}function Wc(e,t){if(e=ai(e),t=Yf(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return _c(e)}function Gt(e,t,n){try{return Wc(e,t)}catch{return e}}function SP(e,t=.15){return Uf(e)>.5?$c(e,t):Wc(e,t)}function jc(e,t,n){try{return SP(e,t)}catch{return e}}function Mo(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function IP(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Gb(e,t,n,r,o){const s=e[t],l=o||t;if(s==null||typeof window>"u")return null;let c;const u=s.type;return typeof u=="function"&&!IP(u)&&(c="Did you accidentally use a plain function component for an element instead?"),c!==void 0?new Error(`Invalid ${r} \`${l}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Vi=Mo(i.element,Gb);Vi.isRequired=Mo(i.element.isRequired,Gb);function TP(e){const{prototype:t={}}=e;return!!t.isReactComponent}function OP(e,t,n,r,o){const s=e[t],l=o||t;if(s==null||typeof window>"u")return null;let c;return typeof s=="function"&&!TP(s)&&(c="Did you accidentally provide a plain function component instead?"),c!==void 0?new Error(`Invalid ${r} \`${l}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Hc=Mo(i.elementType,OP),PP="exact-prop: ​";function Yb(e){return process.env.NODE_ENV==="production"?e:{...e,[PP]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}}}function Do(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=e[t],l=o||t;return s==null?null:s&&s.nodeType!==1?new Error(`Invalid ${r} \`${l}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const Rt=i.oneOfType([i.func,i.object]);function Ub(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function zc(e,t=166){let n;function r(...o){const s=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function Ga(e,t){var n,r,o;return w.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function kn(e){return e&&e.ownerDocument||document}function Br(e){return kn(e).defaultView||window}function Xb(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Zb=0;function EP(e){const[t,n]=w.useState(e),r=e||t;return w.useEffect(()=>{t==null&&(Zb+=1,n(`mui-${Zb}`))},[t]),r}const qb={...w}.useId;function wr(e){if(qb!==void 0){const t=qb();return e??t}return EP(e)}function Jb(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=o||t;return typeof e[t]<"u"?new Error(`The prop \`${s}\` is not supported. Please remove it.`):null}function ro({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=w.useRef(e!==void 0),[s,l]=w.useState(t),c=o?e:s;if(process.env.NODE_ENV!=="production"){w.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
52
- `))},[r,n,e]);const{current:f}=w.useRef(t);w.useEffect(()=>{!o&&!Object.is(f,t)&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
53
- `))},[JSON.stringify(t)])}const u=w.useCallback(f=>{o||l(f)},[]);return[c,u]}function De(e){const t=w.useRef(e);return gn(()=>{t.current=e}),w.useRef((...n)=>(0,t.current)(...n)).current}function Ct(...e){const t=w.useRef(void 0),n=w.useCallback(r=>{const o=e.map(s=>{if(s==null)return null;if(typeof s=="function"){const l=s,c=l(r);return typeof c=="function"?c:()=>{l(null)}}return s.current=r,()=>{s.current=null}});return()=>{o.forEach(s=>s==null?void 0:s())}},e);return w.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}const Kb={};function Qb(e,t){const n=w.useRef(Kb);return n.current===Kb&&(n.current=e(t)),n}const MP=[];function DP(e){w.useEffect(e,MP)}class Gc{constructor(){mc(this,"currentId",null);mc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});mc(this,"disposeEffect",()=>this.clear)}static create(){return new Gc}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Is(){const e=Qb(Gc.create).current;return DP(e.disposeEffect),e}function Yc(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
54
- `))}return!1}function ev(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const kP={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function AP(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function tv(e,t,n,r){const o=e[t];if(o==null||!Number.isInteger(o)){const s=AP(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function nv(e,t,...n){return e[t]===void 0?null:tv(e,t,...n)}function Xf(){return null}nv.isRequired=tv,Xf.isRequired=Xf;const rv=process.env.NODE_ENV==="production"?Xf:nv;function Ve(e,t,n=void 0){const r={};for(const o in e){const s=e[o];let l="",c=!0;for(let u=0;u<s.length;u+=1){const f=s[u];f&&(l+=(c===!0?"":" ")+t(f),c=!1,n&&n[f]&&(l+=" "+n[f]))}r[o]=l}return r}function NP(e){return typeof e=="string"}function ov(e,t,n){return e===void 0||NP(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function iv(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function sv(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function av(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=xe(n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),y={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},m={...n,...o,...r};return v.length>0&&(m.className=v),Object.keys(y).length>0&&(m.style=y),{props:m,internalRef:void 0}}const l=iv({...o,...r}),c=sv(r),u=sv(o),f=t(l),p=xe(f==null?void 0:f.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),h={...f==null?void 0:f.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},g={...f,...n,...u,...c};return p.length>0&&(g.className=p),Object.keys(h).length>0&&(g.style=h),{props:g,internalRef:f.ref}}function ko(e,t,n){return typeof e=="function"?e(t,n):e}function pt(e){var h;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...s}=e,l=o?{}:ko(n,r),{props:c,internalRef:u}=av({...s,externalSlotProps:l}),f=Ct(u,l==null?void 0:l.ref,(h=e.additionalProps)==null?void 0:h.ref);return ov(t,{...c,ref:f},r)}function Li(e){var t;return parseInt(w.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const RP=w.createContext();process.env.NODE_ENV!=="production"&&(i.node,i.bool);const xn=()=>w.useContext(RP)??!1,FP=w.createContext(void 0);process.env.NODE_ENV!=="production"&&(i.node,i.object);function VP(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ha(o.defaultProps,r):!o.styleOverrides&&!o.variants?Ha(o,r):r}function LP({props:e,name:t}){const n=w.useContext(FP);return VP({props:e,name:t,theme:{components:n}})}const lv={theme:void 0};function _P(e){let t,n;return function(o){let s=t;return(s===void 0||o.theme!==n)&&(lv.theme=o.theme,s=Lb(e(lv)),t=s,n=o.theme),s}}function BP(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const cv=(e,t,n,r=[])=>{let o=e;t.forEach((s,l)=>{l===t.length-1?Array.isArray(o)?o[Number(s)]=n:o&&typeof o=="object"&&(o[s]=n):o&&typeof o=="object"&&(o[s]||(o[s]=r.includes(s)?[]:{}),o=o[s])})},$P=(e,t,n)=>{function r(o,s=[],l=[]){Object.entries(o).forEach(([c,u])=>{(!n||n&&!n([...s,c]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?r(u,[...s,c],Array.isArray(u)?[...l,c]:l):t([...s,c],u,l))})}r(e)},WP=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Zf(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},s={},l={};return $P(e,(c,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!r||!r(c,u))){const p=`--${n?`${n}-`:""}${c.join("-")}`,h=WP(c,u);Object.assign(o,{[p]:h}),cv(s,c,`var(${p})`,f),cv(l,c,`var(${p}, ${h})`,f)}},c=>c[0]==="vars"),{css:o,vars:s,varsWithDefaults:l}}function jP(e,t={}){const{getSelector:n=C,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:s={},components:l,defaultColorScheme:c="light",...u}=e,{vars:f,css:p,varsWithDefaults:h}=Zf(u,t);let g=h;const v={},{[c]:y,...m}=s;if(Object.entries(m||{}).forEach(([I,O])=>{const{vars:T,css:k,varsWithDefaults:D}=Zf(O,t);g=Bn(g,D),v[I]={css:k,vars:T}}),y){const{css:I,vars:O,varsWithDefaults:T}=Zf(y,t);g=Bn(g,T),v[c]={css:I,vars:O}}function C(I,O){var k,D;let T=o;if(o==="class"&&(T=".%s"),o==="data"&&(T="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(T=`[${o}="%s"]`),I){if(T==="media")return e.defaultColorScheme===I?":root":{[`@media (prefers-color-scheme: ${((D=(k=s[I])==null?void 0:k.palette)==null?void 0:D.mode)||I})`]:{":root":O}};if(T)return e.defaultColorScheme===I?`:root, ${T.replace("%s",String(I))}`:T.replace("%s",String(I))}return":root"}return{vars:g,generateThemeVars:()=>{let I={...f};return Object.entries(v).forEach(([,{vars:O}])=>{I=Bn(I,O)}),I},generateStyleSheets:()=>{var A,j;const I=[],O=e.defaultColorScheme||"light";function T(E,R){Object.keys(R).length&&I.push(typeof E=="string"?{[E]:{...R}}:E)}T(n(void 0,{...p}),p);const{[O]:k,...D}=v;if(k){const{css:E}=k,R=(j=(A=s[O])==null?void 0:A.palette)==null?void 0:j.mode,H=!r&&R?{colorScheme:R,...E}:{...E};T(n(O,{...H}),H)}return Object.entries(D).forEach(([E,{css:R}])=>{var L,V;const H=(V=(L=s[E])==null?void 0:L.palette)==null?void 0:V.mode,B=!r&&H?{colorScheme:H,...R}:{...R};T(n(E,{...B}),B)}),I}}}function HP(e){return function(n){return e==="media"?(process.env.NODE_ENV!=="production"&&n!=="light"&&n!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${n}'.`),`@media (prefers-color-scheme: ${n})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function uv(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Da.white,default:Da.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const zP=uv();function dv(){return{text:{primary:Da.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Da.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const fv=dv();function pv(e,t,n,r){const o=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Wc(e.main,o):t==="dark"&&(e.dark=$c(e.main,s)))}function GP(e="light"){return e==="dark"?{main:gs[200],light:gs[50],dark:gs[400]}:{main:gs[700],light:gs[400],dark:gs[800]}}function YP(e="light"){return e==="dark"?{main:ms[200],light:ms[50],dark:ms[400]}:{main:ms[500],light:ms[300],dark:ms[700]}}function UP(e="light"){return e==="dark"?{main:hs[500],light:hs[300],dark:hs[700]}:{main:hs[700],light:hs[400],dark:hs[800]}}function XP(e="light"){return e==="dark"?{main:bs[400],light:bs[300],dark:bs[700]}:{main:bs[700],light:bs[500],dark:bs[900]}}function ZP(e="light"){return e==="dark"?{main:vs[400],light:vs[300],dark:vs[700]}:{main:vs[800],light:vs[500],dark:vs[900]}}function qP(e="light"){return e==="dark"?{main:ka[400],light:ka[300],dark:ka[700]}:{main:"#ed6c02",light:ka[500],dark:ka[900]}}function qf(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,s=e.primary||GP(t),l=e.secondary||YP(t),c=e.error||UP(t),u=e.info||XP(t),f=e.success||ZP(t),p=e.warning||qP(t);function h(m){const C=zb(m,fv.text.primary)>=n?fv.text.primary:zP.text.primary;if(process.env.NODE_ENV!=="production"){const x=zb(m,C);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${C} on ${m}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
55
- `))}return C}const g=({color:m,name:C,mainShade:x=500,lightShade:M=300,darkShade:I=700})=>{if(m={...m},!m.main&&m[x]&&(m.main=m[x]),!m.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${C?` (${C})`:""} provided to augmentColor(color) is invalid.
56
- The color object needs to have a \`main\` property or a \`${x}\` property.`:Kr(11,C?` (${C})`:"",x));if(typeof m.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${C?` (${C})`:""} provided to augmentColor(color) is invalid.
57
- \`color.main\` should be a string, but \`${JSON.stringify(m.main)}\` was provided instead.
58
-
59
- Did you intend to use one of the following approaches?
60
-
61
- import { green } from "@mui/material/colors";
62
-
63
- const theme1 = createTheme({ palette: {
64
- primary: green,
65
- } });
66
-
67
- const theme2 = createTheme({ palette: {
68
- primary: { main: green[500] },
69
- } });`:Kr(12,C?` (${C})`:"",JSON.stringify(m.main)));return pv(m,"light",M,r),pv(m,"dark",I,r),m.contrastText||(m.contrastText=h(m.main)),m};let v;return t==="light"?v=uv():t==="dark"&&(v=dv()),process.env.NODE_ENV!=="production"&&(v||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Bn({common:{...Da},mode:t,primary:g({color:s,name:"primary"}),secondary:g({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:c,name:"error"}),warning:g({color:p,name:"warning"}),info:g({color:u,name:"info"}),success:g({color:f,name:"success"}),grey:qI,contrastThreshold:n,getContrastText:h,augmentColor:g,tonalOffset:r,...v},o)}function JP(e){const t={};return Object.entries(e).forEach(r=>{const[o,s]=r;typeof s=="object"&&(t[o]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function KP(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function QP(e){return Math.round(e*1e5)/1e5}const hv={textTransform:"uppercase"},mv='"Roboto", "Helvetica", "Arial", sans-serif';function eE(e,t){const{fontFamily:n=mv,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:f,pxToRem:p,...h}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof r!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=r/14,v=p||(C=>`${C/u*g}rem`),y=(C,x,M,I,O)=>({fontFamily:n,fontWeight:C,fontSize:v(x),lineHeight:M,...n===mv?{letterSpacing:`${QP(I/x)}em`}:{},...O,...f}),m={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(l,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(l,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(l,14,1.75,.4,hv),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,hv),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Bn({htmlFontSize:u,pxToRem:v,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:c,...m},h,{clone:!1})}const tE=.2,nE=.14,rE=.12;function en(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${tE})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${nE})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${rE})`].join(",")}const oE=["none",en(0,2,1,-1,0,1,1,0,0,1,3,0),en(0,3,1,-2,0,2,2,0,0,1,5,0),en(0,3,3,-2,0,3,4,0,0,1,8,0),en(0,2,4,-1,0,4,5,0,0,1,10,0),en(0,3,5,-1,0,5,8,0,0,1,14,0),en(0,3,5,-1,0,6,10,0,0,1,18,0),en(0,4,5,-2,0,7,10,1,0,2,16,1),en(0,5,5,-3,0,8,10,1,0,3,14,2),en(0,5,6,-3,0,9,12,1,0,3,16,2),en(0,6,6,-3,0,10,14,1,0,4,18,3),en(0,6,7,-4,0,11,15,1,0,4,20,3),en(0,7,8,-4,0,12,17,2,0,5,22,4),en(0,7,8,-4,0,13,19,2,0,5,24,4),en(0,7,9,-4,0,14,21,2,0,5,26,4),en(0,8,9,-5,0,15,22,2,0,6,28,5),en(0,8,10,-5,0,16,24,2,0,6,30,5),en(0,8,11,-5,0,17,26,2,0,6,32,5),en(0,9,11,-5,0,18,28,2,0,7,34,6),en(0,9,12,-6,0,19,29,2,0,7,36,6),en(0,10,13,-6,0,20,31,3,0,8,38,7),en(0,10,13,-6,0,21,33,3,0,8,40,7),en(0,10,14,-6,0,22,35,3,0,8,42,7),en(0,11,14,-7,0,23,36,3,0,9,44,8),en(0,11,15,-7,0,24,38,3,0,9,46,8)],iE={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},sE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function gv(e){return`${Math.round(e)}ms`}function aE(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function lE(e){const t={...iE,...e.easing},n={...sE,...e.duration};return{getAutoHeightDuration:aE,create:(o=["all"],s={})=>{const{duration:l=n.standard,easing:c=t.easeInOut,delay:u=0,...f}=s;if(process.env.NODE_ENV!=="production"){const p=g=>typeof g=="string",h=g=>!Number.isNaN(parseFloat(g));!p(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(l)&&!p(l)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`),p(c)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!p(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
70
- `)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof l=="string"?l:gv(l)} ${c} ${typeof u=="string"?u:gv(u)}`).join(",")},...e,easing:t,duration:n}}const cE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function uE(e){return no(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function bv(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let s=0;s<o.length;s++){const[l,c]=o[s];!uE(c)||l.startsWith("unstable_")?delete r[l]:no(c)&&(r[l]={...c},n(r[l]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
71
-
72
- const theme = ${JSON.stringify(t,null,2)};
73
-
74
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
75
- theme.transitions = createTransitions(theme.transitions || {});
76
-
77
- export default theme;`}function Jf(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:s={},transitions:l={},typography:c={},shape:u,...f}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Kr(20));const p=qf(s),h=Hf(e);let g=Bn(h,{mixins:KP(h.breakpoints,r),palette:p,shadows:oE.slice(),typography:eE(p,c),transitions:lE(l),zIndex:{...cE}});if(g=Bn(g,f),g=t.reduce((v,y)=>Bn(v,y),g),process.env.NODE_ENV!=="production"){const v=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],y=(m,C)=>{let x;for(x in m){const M=m[x];if(v.includes(x)&&Object.keys(M).length>0){if(process.env.NODE_ENV!=="production"){const I=_e("",x);console.error([`MUI: The \`${C}\` component increases the CSS specificity of the \`${x}\` internal state.`,"You can not override it like this: ",JSON.stringify(m,null,2),"",`Instead, you need to use the '&.${I}' syntax:`,JSON.stringify({root:{[`&.${I}`]:M}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
78
- `))}m[x]={}}}};Object.keys(g.components).forEach(m=>{const C=g.components[m].styleOverrides;C&&m.startsWith("Mui")&&y(C,m)})}return g.unstable_sxConfig={...ja,...f==null?void 0:f.unstable_sxConfig},g.unstable_sx=function(y){return Ss({sx:y,theme:this})},g.toRuntimeSource=bv,g}function Kf(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const dE=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Kf(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function vv(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function yv(e){return e==="dark"?dE:[]}function fE(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,s=qf(t);return{palette:s,opacity:{...vv(s.mode),...n},overlays:r||yv(s.mode),...o}}function pE(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const hE=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],mE=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let s=o;if(o==="class"&&(s=".%s"),o==="data"&&(s="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(s=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return hE(e.cssVarPrefix).forEach(c=>{l[c]=n[c],delete n[c]}),s==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:l}}:s?{[s.replace("%s",t)]:l,[`${r}, ${s.replace("%s",t)}`]:n}:{[r]:{...n,...l}}}if(s&&s!=="media")return`${r}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(s)return s.replace("%s",String(t))}return r};function gE(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ye(e,t,n){!e[t]&&n&&(e[t]=n)}function Ya(e){return typeof e!="string"||!e.startsWith("hsl")?e:Hb(e)}function Ao(e,t){`${t}Channel`in e||(e[`${t}Channel`]=za(Ya(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
79
- To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function bE(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const oo=e=>{try{return e()}catch{}},vE=(e="mui")=>BP(e);function Qf(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=fE({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:s,...l}=Jf({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:s,opacity:{...vv(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||yv(o)},l}function yE(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:s="mui",shouldSkipGeneratingVar:l=pE,colorSchemeSelector:c=n.light&&n.dark?"media":void 0,rootSelector:u=":root",...f}=e,p=Object.keys(n)[0],h=r||(n.light&&p!=="light"?"light":p),g=vE(s),{[h]:v,light:y,dark:m,...C}=n,x={...C};let M=v;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(M=!0),!M)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Kr(21,h));const I=Qf(x,M,f,h);y&&!x.light&&Qf(x,y,void 0,"light"),m&&!x.dark&&Qf(x,m,void 0,"dark");let O={defaultColorScheme:h,...I,cssVarPrefix:s,colorSchemeSelector:c,rootSelector:u,getCssVar:g,colorSchemes:x,font:{...JP(I.typography),...I.font},spacing:bE(f.spacing)};Object.keys(O.colorSchemes).forEach(j=>{const E=O.colorSchemes[j].palette,R=H=>{const B=H.split("-"),L=B[1],V=B[2];return g(H,E[L][V])};if(E.mode==="light"&&(ye(E.common,"background","#fff"),ye(E.common,"onBackground","#000")),E.mode==="dark"&&(ye(E.common,"background","#000"),ye(E.common,"onBackground","#fff")),gE(E,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),E.mode==="light"){ye(E.Alert,"errorColor",zt(E.error.light,.6)),ye(E.Alert,"infoColor",zt(E.info.light,.6)),ye(E.Alert,"successColor",zt(E.success.light,.6)),ye(E.Alert,"warningColor",zt(E.warning.light,.6)),ye(E.Alert,"errorFilledBg",R("palette-error-main")),ye(E.Alert,"infoFilledBg",R("palette-info-main")),ye(E.Alert,"successFilledBg",R("palette-success-main")),ye(E.Alert,"warningFilledBg",R("palette-warning-main")),ye(E.Alert,"errorFilledColor",oo(()=>E.getContrastText(E.error.main))),ye(E.Alert,"infoFilledColor",oo(()=>E.getContrastText(E.info.main))),ye(E.Alert,"successFilledColor",oo(()=>E.getContrastText(E.success.main))),ye(E.Alert,"warningFilledColor",oo(()=>E.getContrastText(E.warning.main))),ye(E.Alert,"errorStandardBg",Gt(E.error.light,.9)),ye(E.Alert,"infoStandardBg",Gt(E.info.light,.9)),ye(E.Alert,"successStandardBg",Gt(E.success.light,.9)),ye(E.Alert,"warningStandardBg",Gt(E.warning.light,.9)),ye(E.Alert,"errorIconColor",R("palette-error-main")),ye(E.Alert,"infoIconColor",R("palette-info-main")),ye(E.Alert,"successIconColor",R("palette-success-main")),ye(E.Alert,"warningIconColor",R("palette-warning-main")),ye(E.AppBar,"defaultBg",R("palette-grey-100")),ye(E.Avatar,"defaultBg",R("palette-grey-400")),ye(E.Button,"inheritContainedBg",R("palette-grey-300")),ye(E.Button,"inheritContainedHoverBg",R("palette-grey-A100")),ye(E.Chip,"defaultBorder",R("palette-grey-400")),ye(E.Chip,"defaultAvatarColor",R("palette-grey-700")),ye(E.Chip,"defaultIconColor",R("palette-grey-700")),ye(E.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ye(E.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ye(E.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ye(E.LinearProgress,"primaryBg",Gt(E.primary.main,.62)),ye(E.LinearProgress,"secondaryBg",Gt(E.secondary.main,.62)),ye(E.LinearProgress,"errorBg",Gt(E.error.main,.62)),ye(E.LinearProgress,"infoBg",Gt(E.info.main,.62)),ye(E.LinearProgress,"successBg",Gt(E.success.main,.62)),ye(E.LinearProgress,"warningBg",Gt(E.warning.main,.62)),ye(E.Skeleton,"bg",`rgba(${R("palette-text-primaryChannel")} / 0.11)`),ye(E.Slider,"primaryTrack",Gt(E.primary.main,.62)),ye(E.Slider,"secondaryTrack",Gt(E.secondary.main,.62)),ye(E.Slider,"errorTrack",Gt(E.error.main,.62)),ye(E.Slider,"infoTrack",Gt(E.info.main,.62)),ye(E.Slider,"successTrack",Gt(E.success.main,.62)),ye(E.Slider,"warningTrack",Gt(E.warning.main,.62));const H=jc(E.background.default,.8);ye(E.SnackbarContent,"bg",H),ye(E.SnackbarContent,"color",oo(()=>E.getContrastText(H))),ye(E.SpeedDialAction,"fabHoverBg",jc(E.background.paper,.15)),ye(E.StepConnector,"border",R("palette-grey-400")),ye(E.StepContent,"border",R("palette-grey-400")),ye(E.Switch,"defaultColor",R("palette-common-white")),ye(E.Switch,"defaultDisabledColor",R("palette-grey-100")),ye(E.Switch,"primaryDisabledColor",Gt(E.primary.main,.62)),ye(E.Switch,"secondaryDisabledColor",Gt(E.secondary.main,.62)),ye(E.Switch,"errorDisabledColor",Gt(E.error.main,.62)),ye(E.Switch,"infoDisabledColor",Gt(E.info.main,.62)),ye(E.Switch,"successDisabledColor",Gt(E.success.main,.62)),ye(E.Switch,"warningDisabledColor",Gt(E.warning.main,.62)),ye(E.TableCell,"border",Gt(Bc(E.divider,1),.88)),ye(E.Tooltip,"bg",Bc(E.grey[700],.92))}if(E.mode==="dark"){ye(E.Alert,"errorColor",Gt(E.error.light,.6)),ye(E.Alert,"infoColor",Gt(E.info.light,.6)),ye(E.Alert,"successColor",Gt(E.success.light,.6)),ye(E.Alert,"warningColor",Gt(E.warning.light,.6)),ye(E.Alert,"errorFilledBg",R("palette-error-dark")),ye(E.Alert,"infoFilledBg",R("palette-info-dark")),ye(E.Alert,"successFilledBg",R("palette-success-dark")),ye(E.Alert,"warningFilledBg",R("palette-warning-dark")),ye(E.Alert,"errorFilledColor",oo(()=>E.getContrastText(E.error.dark))),ye(E.Alert,"infoFilledColor",oo(()=>E.getContrastText(E.info.dark))),ye(E.Alert,"successFilledColor",oo(()=>E.getContrastText(E.success.dark))),ye(E.Alert,"warningFilledColor",oo(()=>E.getContrastText(E.warning.dark))),ye(E.Alert,"errorStandardBg",zt(E.error.light,.9)),ye(E.Alert,"infoStandardBg",zt(E.info.light,.9)),ye(E.Alert,"successStandardBg",zt(E.success.light,.9)),ye(E.Alert,"warningStandardBg",zt(E.warning.light,.9)),ye(E.Alert,"errorIconColor",R("palette-error-main")),ye(E.Alert,"infoIconColor",R("palette-info-main")),ye(E.Alert,"successIconColor",R("palette-success-main")),ye(E.Alert,"warningIconColor",R("palette-warning-main")),ye(E.AppBar,"defaultBg",R("palette-grey-900")),ye(E.AppBar,"darkBg",R("palette-background-paper")),ye(E.AppBar,"darkColor",R("palette-text-primary")),ye(E.Avatar,"defaultBg",R("palette-grey-600")),ye(E.Button,"inheritContainedBg",R("palette-grey-800")),ye(E.Button,"inheritContainedHoverBg",R("palette-grey-700")),ye(E.Chip,"defaultBorder",R("palette-grey-700")),ye(E.Chip,"defaultAvatarColor",R("palette-grey-300")),ye(E.Chip,"defaultIconColor",R("palette-grey-300")),ye(E.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ye(E.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ye(E.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ye(E.LinearProgress,"primaryBg",zt(E.primary.main,.5)),ye(E.LinearProgress,"secondaryBg",zt(E.secondary.main,.5)),ye(E.LinearProgress,"errorBg",zt(E.error.main,.5)),ye(E.LinearProgress,"infoBg",zt(E.info.main,.5)),ye(E.LinearProgress,"successBg",zt(E.success.main,.5)),ye(E.LinearProgress,"warningBg",zt(E.warning.main,.5)),ye(E.Skeleton,"bg",`rgba(${R("palette-text-primaryChannel")} / 0.13)`),ye(E.Slider,"primaryTrack",zt(E.primary.main,.5)),ye(E.Slider,"secondaryTrack",zt(E.secondary.main,.5)),ye(E.Slider,"errorTrack",zt(E.error.main,.5)),ye(E.Slider,"infoTrack",zt(E.info.main,.5)),ye(E.Slider,"successTrack",zt(E.success.main,.5)),ye(E.Slider,"warningTrack",zt(E.warning.main,.5));const H=jc(E.background.default,.98);ye(E.SnackbarContent,"bg",H),ye(E.SnackbarContent,"color",oo(()=>E.getContrastText(H))),ye(E.SpeedDialAction,"fabHoverBg",jc(E.background.paper,.15)),ye(E.StepConnector,"border",R("palette-grey-600")),ye(E.StepContent,"border",R("palette-grey-600")),ye(E.Switch,"defaultColor",R("palette-grey-300")),ye(E.Switch,"defaultDisabledColor",R("palette-grey-600")),ye(E.Switch,"primaryDisabledColor",zt(E.primary.main,.55)),ye(E.Switch,"secondaryDisabledColor",zt(E.secondary.main,.55)),ye(E.Switch,"errorDisabledColor",zt(E.error.main,.55)),ye(E.Switch,"infoDisabledColor",zt(E.info.main,.55)),ye(E.Switch,"successDisabledColor",zt(E.success.main,.55)),ye(E.Switch,"warningDisabledColor",zt(E.warning.main,.55)),ye(E.TableCell,"border",zt(Bc(E.divider,1),.68)),ye(E.Tooltip,"bg",Bc(E.grey[700],.92))}Ao(E.background,"default"),Ao(E.background,"paper"),Ao(E.common,"background"),Ao(E.common,"onBackground"),Ao(E,"divider"),Object.keys(E).forEach(H=>{const B=E[H];H!=="tonalOffset"&&B&&typeof B=="object"&&(B.main&&ye(E[H],"mainChannel",za(Ya(B.main))),B.light&&ye(E[H],"lightChannel",za(Ya(B.light))),B.dark&&ye(E[H],"darkChannel",za(Ya(B.dark))),B.contrastText&&ye(E[H],"contrastTextChannel",za(Ya(B.contrastText))),H==="text"&&(Ao(E[H],"primary"),Ao(E[H],"secondary")),H==="action"&&(B.active&&Ao(E[H],"active"),B.selected&&Ao(E[H],"selected")))})}),O=t.reduce((j,E)=>Bn(j,E),O);const T={prefix:s,disableCssColorScheme:o,shouldSkipGeneratingVar:l,getSelector:mE(O)},{vars:k,generateThemeVars:D,generateStyleSheets:A}=jP(O,T);return O.vars=k,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([j,E])=>{O[j]=E}),O.generateThemeVars=D,O.generateStyleSheets=A,O.generateSpacing=function(){return kb(f.spacing,Wf(this))},O.getColorSchemeSelector=HP(c),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=l,O.unstable_sxConfig={...ja,...f==null?void 0:f.unstable_sxConfig},O.unstable_sx=function(E){return Ss({sx:E,theme:this})},O.toRuntimeSource=bv,O}function Cv(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:qf({...n===!0?{}:n.palette,mode:t})})}function CE(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:s=n==null?void 0:n.mode,...l}=e,c=s||"light",u=o==null?void 0:o[c],f={...o,...n?{[c]:{...typeof u!="boolean"&&u,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Jf(e,...t);let p=n;"palette"in e||f[c]&&(f[c]!==!0?p=f[c].palette:c==="dark"&&(p={mode:"dark"}));const h=Jf({...e,palette:p},...t);return h.defaultColorScheme=c,h.colorSchemes=f,h.palette.mode==="light"&&(h.colorSchemes.light={...f.light!==!0&&f.light,palette:h.palette},Cv(h,"dark",f.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:h.palette},Cv(h,"light",f.light)),h}return!n&&!("light"in f)&&c==="light"&&(f.light=!0),yE({...l,colorSchemes:f,defaultColorScheme:c,...typeof r!="boolean"&&r},...t)}const Uc=CE();function No(){const e=zf(Uc);return process.env.NODE_ENV!=="production"&&w.useDebugValue(e),e[Aa]||e}function tt({props:e,name:t}){return bP({props:e,name:t,defaultTheme:Uc,themeId:Aa})}function wv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const xr=e=>wv(e)&&e!=="classes",ue=fP({themeId:Aa,defaultTheme:Uc,rootShouldForwardProp:xr});function xv(e){return S.jsx(Nb,{...e,defaultTheme:Uc,themeId:Aa})}process.env.NODE_ENV!=="production"&&(xv.propTypes={styles:i.oneOfType([i.array,i.func,i.number,i.object,i.string,i.bool])});function wE(e){return function(n){return S.jsx(xv,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function xE(){return iP}const at=_P;process.env.NODE_ENV!=="production"&&(i.node,i.object.isRequired);function ht(e){return LP(e)}function SE(e){return _e("MuiSvgIcon",e)}Re("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const IE=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Pe(t)}`,`fontSize${Pe(n)}`]};return Ve(o,SE,r)},TE=ue("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Pe(n.color)}`],t[`fontSize${Pe(n.fontSize)}`]]}})(at(({theme:e})=>{var t,n,r,o,s,l,c,u,f,p,h,g,v,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:m=>!m.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((l=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:l.call(s,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((u=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:u.call(c,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((p=(f=e.typography)==null?void 0:f.pxToRem)==null?void 0:p.call(f,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,m])=>m&&m.main).map(([m])=>{var C,x;return{props:{color:m},style:{color:(x=(C=(e.vars??e).palette)==null?void 0:C[m])==null?void 0:x.main}}}),{props:{color:"action"},style:{color:(g=(h=(e.vars??e).palette)==null?void 0:h.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(y=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:y.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ua=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiSvgIcon"}),{children:o,className:s,color:l="inherit",component:c="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:p=!1,titleAccess:h,viewBox:g="0 0 24 24",...v}=r,y=w.isValidElement(o)&&o.type==="svg",m={...r,color:l,component:c,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:g,hasSvgAsChild:y},C={};p||(C.viewBox=g);const x=IE(m);return S.jsxs(TE,{as:c,className:xe(x.root,s),focusable:"false",color:f,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:n,...C,...v,...y&&o.props,ownerState:m,children:[y?o.props.children:o,h?S.jsx("title",{children:h}):null]})});process.env.NODE_ENV!=="production"&&(Ua.propTypes={children:i.node,classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),i.string]),component:i.elementType,fontSize:i.oneOfType([i.oneOf(["inherit","large","medium","small"]),i.string]),htmlColor:i.string,inheritViewBox:i.bool,shapeRendering:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),titleAccess:i.string,viewBox:i.string}),Ua.muiName="SvgIcon";function Yt(e,t){function n(r,o){return S.jsx(Ua,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=Ua.muiName,w.memo(w.forwardRef(n))}function OE(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return o=>{const s=typeof t=="function"?t(o):t,l=typeof e=="function"?e({...o,...s}):e,c=xe(o==null?void 0:o.className,s==null?void 0:s.className,l==null?void 0:l.className);return{...s,...l,...!!c&&{className:c},...(s==null?void 0:s.style)&&(l==null?void 0:l.style)&&{style:{...s.style,...l.style}},...(s==null?void 0:s.sx)&&(l==null?void 0:l.sx)&&{sx:[...Array.isArray(s.sx)?s.sx:[s.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const n=t,r=xe(n==null?void 0:n.className,e==null?void 0:e.className);return{...t,...e,...!!r&&{className:r},...(n==null?void 0:n.style)&&(e==null?void 0:e.style)&&{style:{...n.style,...e.style}},...(n==null?void 0:n.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}var ep={exports:{}},$t={};/**
80
- * @license React
81
- * react-is.production.js
82
- *
83
- * Copyright (c) Meta Platforms, Inc. and affiliates.
84
- *
85
- * This source code is licensed under the MIT license found in the
86
- * LICENSE file in the root directory of this source tree.
87
- */var Sv;function PE(){if(Sv)return $t;Sv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function y(m){if(typeof m=="object"&&m!==null){var C=m.$$typeof;switch(C){case e:switch(m=m.type,m){case n:case o:case r:case u:case f:case g:return m;default:switch(m=m&&m.$$typeof,m){case l:case c:case h:case p:return m;case s:return m;default:return C}}case t:return C}}}return $t.ContextConsumer=s,$t.ContextProvider=l,$t.Element=e,$t.ForwardRef=c,$t.Fragment=n,$t.Lazy=h,$t.Memo=p,$t.Portal=t,$t.Profiler=o,$t.StrictMode=r,$t.Suspense=u,$t.SuspenseList=f,$t.isContextConsumer=function(m){return y(m)===s},$t.isContextProvider=function(m){return y(m)===l},$t.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},$t.isForwardRef=function(m){return y(m)===c},$t.isFragment=function(m){return y(m)===n},$t.isLazy=function(m){return y(m)===h},$t.isMemo=function(m){return y(m)===p},$t.isPortal=function(m){return y(m)===t},$t.isProfiler=function(m){return y(m)===o},$t.isStrictMode=function(m){return y(m)===r},$t.isSuspense=function(m){return y(m)===u},$t.isSuspenseList=function(m){return y(m)===f},$t.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===o||m===r||m===u||m===f||typeof m=="object"&&m!==null&&(m.$$typeof===h||m.$$typeof===p||m.$$typeof===l||m.$$typeof===s||m.$$typeof===c||m.$$typeof===v||m.getModuleId!==void 0)},$t.typeOf=y,$t}var Wt={};/**
88
- * @license React
89
- * react-is.development.js
90
- *
91
- * Copyright (c) Meta Platforms, Inc. and affiliates.
92
- *
93
- * This source code is licensed under the MIT license found in the
94
- * LICENSE file in the root directory of this source tree.
95
- */var Iv;function EE(){return Iv||(Iv=1,process.env.NODE_ENV!=="production"&&function(){function e(m){if(typeof m=="object"&&m!==null){var C=m.$$typeof;switch(C){case t:switch(m=m.type,m){case r:case s:case o:case f:case p:case v:return m;default:switch(m=m&&m.$$typeof,m){case c:case u:case g:case h:return m;case l:return m;default:return C}}case n:return C}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");Wt.ContextConsumer=l,Wt.ContextProvider=c,Wt.Element=t,Wt.ForwardRef=u,Wt.Fragment=r,Wt.Lazy=g,Wt.Memo=h,Wt.Portal=n,Wt.Profiler=s,Wt.StrictMode=o,Wt.Suspense=f,Wt.SuspenseList=p,Wt.isContextConsumer=function(m){return e(m)===l},Wt.isContextProvider=function(m){return e(m)===c},Wt.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},Wt.isForwardRef=function(m){return e(m)===u},Wt.isFragment=function(m){return e(m)===r},Wt.isLazy=function(m){return e(m)===g},Wt.isMemo=function(m){return e(m)===h},Wt.isPortal=function(m){return e(m)===n},Wt.isProfiler=function(m){return e(m)===s},Wt.isStrictMode=function(m){return e(m)===o},Wt.isSuspense=function(m){return e(m)===f},Wt.isSuspenseList=function(m){return e(m)===p},Wt.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===r||m===s||m===o||m===f||m===p||typeof m=="object"&&m!==null&&(m.$$typeof===g||m.$$typeof===h||m.$$typeof===c||m.$$typeof===l||m.$$typeof===u||m.$$typeof===y||m.getModuleId!==void 0)},Wt.typeOf=e}()),Wt}process.env.NODE_ENV==="production"?ep.exports=PE():ep.exports=EE();var Xc=ep.exports;function je(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Zc(e,t){return Zc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Zc(e,t)}function tp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Zc(e,t)}function ME(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function DE(e,t){e.classList?e.classList.add(t):ME(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function Tv(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function kE(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=Tv(e.className,t):e.setAttribute("class",Tv(e.className&&e.className.baseVal||"",t))}const Ov={disabled:!1};var AE=process.env.NODE_ENV!=="production"?i.oneOfType([i.number,i.shape({enter:i.number,exit:i.number,appear:i.number}).isRequired]):null,NE=process.env.NODE_ENV!=="production"?i.oneOfType([i.string,i.shape({enter:i.string,exit:i.string,active:i.string}),i.shape({enter:i.string,enterDone:i.string,enterActive:i.string,exit:i.string,exitDone:i.string,exitActive:i.string})]):null;const qc=J.createContext(null);var Pv=function(t){return t.scrollTop},Xa="unmounted",_i="exited",Bi="entering",Ts="entered",np="exiting",sr=function(e){tp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var l=o,c=l&&!l.isMounting?r.enter:r.appear,u;return s.appearStatus=null,r.in?c?(u=_i,s.appearStatus=Bi):u=Ts:r.unmountOnExit||r.mountOnEnter?u=Xa:u=_i,s.state={status:u},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var l=o.in;return l&&s.status===Xa?{status:_i}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var s=null;if(o!==this.props){var l=this.state.status;this.props.in?l!==Bi&&l!==Ts&&(s=Bi):(l===Bi||l===Ts)&&(s=np)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,s,l,c;return s=l=c=o,o!=null&&typeof o!="number"&&(s=o.exit,l=o.enter,c=o.appear!==void 0?o.appear:l),{exit:s,enter:l,appear:c}},n.updateStatus=function(o,s){if(o===void 0&&(o=!1),s!==null)if(this.cancelNextCallback(),s===Bi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Ai.findDOMNode(this);l&&Pv(l)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_i&&this.setState({status:Xa})},n.performEnter=function(o){var s=this,l=this.props.enter,c=this.context?this.context.isMounting:o,u=this.props.nodeRef?[c]:[Ai.findDOMNode(this),c],f=u[0],p=u[1],h=this.getTimeouts(),g=c?h.appear:h.enter;if(!o&&!l||Ov.disabled){this.safeSetState({status:Ts},function(){s.props.onEntered(f)});return}this.props.onEnter(f,p),this.safeSetState({status:Bi},function(){s.props.onEntering(f,p),s.onTransitionEnd(g,function(){s.safeSetState({status:Ts},function(){s.props.onEntered(f,p)})})})},n.performExit=function(){var o=this,s=this.props.exit,l=this.getTimeouts(),c=this.props.nodeRef?void 0:Ai.findDOMNode(this);if(!s||Ov.disabled){this.safeSetState({status:_i},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:np},function(){o.props.onExiting(c),o.onTransitionEnd(l.exit,function(){o.safeSetState({status:_i},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,s){s=this.setNextCallback(s),this.setState(o,s)},n.setNextCallback=function(o){var s=this,l=!0;return this.nextCallback=function(c){l&&(l=!1,s.nextCallback=null,o(c))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(o,s){this.setNextCallback(s);var l=this.props.nodeRef?this.props.nodeRef.current:Ai.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!l||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],f=u[0],p=u[1];this.props.addEndListener(f,p)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Xa)return null;var s=this.props,l=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var c=je(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return J.createElement(qc.Provider,{value:null},typeof l=="function"?l(o,c):J.cloneElement(J.Children.only(l),c))},t}(J.Component);sr.contextType=qc,sr.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:i.shape({current:typeof Element>"u"?i.any:function(e,t,n,r,o,s){var l=e[t];return i.instanceOf(l&&"ownerDocument"in l?l.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:i.oneOfType([i.func.isRequired,i.element.isRequired]).isRequired,in:i.bool,mountOnEnter:i.bool,unmountOnExit:i.bool,appear:i.bool,enter:i.bool,exit:i.bool,timeout:function(t){var n=AE;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return n.apply(void 0,[t].concat(o))},addEndListener:i.func,onEnter:i.func,onEntering:i.func,onEntered:i.func,onExit:i.func,onExiting:i.func,onExited:i.func}:{};function Os(){}sr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Os,onEntering:Os,onEntered:Os,onExit:Os,onExiting:Os,onExited:Os},sr.UNMOUNTED=Xa,sr.EXITED=_i,sr.ENTERING=Bi,sr.ENTERED=Ts,sr.EXITING=np;var RE=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return DE(t,r)})},rp=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return kE(t,r)})},op=function(e){tp(t,e);function t(){for(var r,o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];return r=e.call.apply(e,[this].concat(s))||this,r.appliedClasses={appear:{},enter:{},exit:{}},r.onEnter=function(c,u){var f=r.resolveArguments(c,u),p=f[0],h=f[1];r.removeClasses(p,"exit"),r.addClass(p,h?"appear":"enter","base"),r.props.onEnter&&r.props.onEnter(c,u)},r.onEntering=function(c,u){var f=r.resolveArguments(c,u),p=f[0],h=f[1],g=h?"appear":"enter";r.addClass(p,g,"active"),r.props.onEntering&&r.props.onEntering(c,u)},r.onEntered=function(c,u){var f=r.resolveArguments(c,u),p=f[0],h=f[1],g=h?"appear":"enter";r.removeClasses(p,g),r.addClass(p,g,"done"),r.props.onEntered&&r.props.onEntered(c,u)},r.onExit=function(c){var u=r.resolveArguments(c),f=u[0];r.removeClasses(f,"appear"),r.removeClasses(f,"enter"),r.addClass(f,"exit","base"),r.props.onExit&&r.props.onExit(c)},r.onExiting=function(c){var u=r.resolveArguments(c),f=u[0];r.addClass(f,"exit","active"),r.props.onExiting&&r.props.onExiting(c)},r.onExited=function(c){var u=r.resolveArguments(c),f=u[0];r.removeClasses(f,"exit"),r.addClass(f,"exit","done"),r.props.onExited&&r.props.onExited(c)},r.resolveArguments=function(c,u){return r.props.nodeRef?[r.props.nodeRef.current,c]:[c,u]},r.getClassNames=function(c){var u=r.props.classNames,f=typeof u=="string",p=f&&u?u+"-":"",h=f?""+p+c:u[c],g=f?h+"-active":u[c+"Active"],v=f?h+"-done":u[c+"Done"];return{baseClassName:h,activeClassName:g,doneClassName:v}},r}var n=t.prototype;return n.addClass=function(o,s,l){var c=this.getClassNames(s)[l+"ClassName"],u=this.getClassNames("enter"),f=u.doneClassName;s==="appear"&&l==="done"&&f&&(c+=" "+f),l==="active"&&o&&Pv(o),c&&(this.appliedClasses[s][l]=c,RE(o,c))},n.removeClasses=function(o,s){var l=this.appliedClasses[s],c=l.base,u=l.active,f=l.done;this.appliedClasses[s]={},c&&rp(o,c),u&&rp(o,u),f&&rp(o,f)},n.render=function(){var o=this.props;o.classNames;var s=je(o,["classNames"]);return J.createElement(sr,W({},s,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(J.Component);op.defaultProps={classNames:""},op.propTypes=process.env.NODE_ENV!=="production"?W({},sr.propTypes,{classNames:NE,onEnter:i.func,onEntering:i.func,onEntered:i.func,onExit:i.func,onExiting:i.func,onExited:i.func}):{};function Ev(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ip(e,t){var n=function(s){return t&&J.isValidElement(s)?t(s):s},r=Object.create(null);return e&&J.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function FE(e,t){e=e||{},t=t||{};function n(p){return p in t?t[p]:e[p]}var r=Object.create(null),o=[];for(var s in e)s in t?o.length&&(r[s]=o,o=[]):o.push(s);var l,c={};for(var u in t){if(r[u])for(l=0;l<r[u].length;l++){var f=r[u][l];c[r[u][l]]=n(f)}c[u]=n(u)}for(l=0;l<o.length;l++)c[o[l]]=n(o[l]);return c}function $i(e,t,n){return n[t]!=null?n[t]:e.props[t]}function VE(e,t){return ip(e.children,function(n){return J.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:$i(n,"appear",e),enter:$i(n,"enter",e),exit:$i(n,"exit",e)})})}function LE(e,t,n){var r=ip(e.children),o=FE(t,r);return Object.keys(o).forEach(function(s){var l=o[s];if(J.isValidElement(l)){var c=s in t,u=s in r,f=t[s],p=J.isValidElement(f)&&!f.props.in;u&&(!c||p)?o[s]=J.cloneElement(l,{onExited:n.bind(null,l),in:!0,exit:$i(l,"exit",e),enter:$i(l,"enter",e)}):!u&&c&&!p?o[s]=J.cloneElement(l,{in:!1}):u&&c&&J.isValidElement(f)&&(o[s]=J.cloneElement(l,{onExited:n.bind(null,l),in:f.props.in,exit:$i(l,"exit",e),enter:$i(l,"enter",e)}))}}),o}var _E=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},BE={component:"div",childFactory:function(t){return t}},Za=function(e){tp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var l=s.handleExited.bind(Ev(s));return s.state={contextValue:{isMounting:!0},handleExited:l,firstRender:!0},s}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,s){var l=s.children,c=s.handleExited,u=s.firstRender;return{children:u?VE(o,c):LE(o,l,c),firstRender:!1}},n.handleExited=function(o,s){var l=ip(this.props.children);o.key in l||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(c){var u=W({},c.children);return delete u[o.key],{children:u}}))},n.render=function(){var o=this.props,s=o.component,l=o.childFactory,c=je(o,["component","childFactory"]),u=this.state.contextValue,f=_E(this.state.children).map(l);return delete c.appear,delete c.enter,delete c.exit,s===null?J.createElement(qc.Provider,{value:u},f):J.createElement(qc.Provider,{value:u},J.createElement(s,c,f))},t}(J.Component);Za.propTypes=process.env.NODE_ENV!=="production"?{component:i.any,children:i.node,appear:i.bool,enter:i.bool,exit:i.bool,childFactory:i.func}:{},Za.defaultProps=BE;const sp=e=>e.scrollTop;function Ps(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function $E(e){return _e("MuiPaper",e)}Re("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const WE=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ve(s,$E,o)},jE=ue("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(at(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),qa=w.forwardRef(function(t,n){var v;const r=ht({props:t,name:"MuiPaper"}),o=No(),{className:s,component:l="div",elevation:c=1,square:u=!1,variant:f="elevation",...p}=r,h={...r,component:l,elevation:c,square:u,variant:f},g=WE(h);return process.env.NODE_ENV!=="production"&&o.shadows[c]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${c}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${c}]\` is defined.`].join(`
96
- `)),S.jsx(jE,{as:l,ownerState:h,className:xe(g.root,s),ref:n,...p,style:{...f==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[c],...o.vars&&{"--Paper-overlay":(v=o.vars.overlays)==null?void 0:v[c]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${mt("#fff",Kf(c))}, ${mt("#fff",Kf(c))})`}},...p.style}})});process.env.NODE_ENV!=="production"&&(qa.propTypes={children:i.node,classes:i.object,className:i.string,component:i.elementType,elevation:Mo(rv,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:i.bool,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),variant:i.oneOfType([i.oneOf(["elevation","outlined"]),i.string])});function Et(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:s,internalForwardedProps:l,shouldForwardComponentProp:c=!1,...u}=t,{component:f,slots:p={[e]:void 0},slotProps:h={[e]:void 0},...g}=s,v=p[e]||r,y=ko(h[e],o),{props:{component:m,...C},internalRef:x}=av({className:n,...u,externalForwardedProps:e==="root"?g:void 0,externalSlotProps:y}),M=Ct(x,y==null?void 0:y.ref,t.ref),I=e==="root"?m||f:m,O=ov(v,{...e==="root"&&!f&&!p[e]&&l,...e!=="root"&&!p[e]&&l,...C,...I&&!c&&{as:I},...I&&c&&{component:I},ref:M},o);return[v,O]}class Jc{constructor(){mc(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Jc}static use(){const t=Qb(Jc.create).current,[n,r]=w.useState(!1);return t.shouldMount=n,t.setShouldMount=r,w.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=zE(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function HE(){return Jc.use()}function zE(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Mv(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:l,in:c,onExited:u,timeout:f}=e,[p,h]=w.useState(!1),g=xe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:l,height:l,top:-(l/2)+s,left:-(l/2)+o},y=xe(n.child,p&&n.childLeaving,r&&n.childPulsate);return!c&&!p&&h(!0),w.useEffect(()=>{if(!c&&u!=null){const m=setTimeout(u,f);return()=>{clearTimeout(m)}}},[u,c,f]),S.jsx("span",{className:g,style:v,children:S.jsx("span",{className:y})})}process.env.NODE_ENV!=="production"&&(Mv.propTypes={classes:i.object.isRequired,className:i.string,in:i.bool,onExited:i.func,pulsate:i.bool,rippleSize:i.number,rippleX:i.number,rippleY:i.number,timeout:i.number.isRequired});const Sr=Re("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ap=550,GE=80,YE=Po`
97
- 0% {
98
- transform: scale(0);
99
- opacity: 0.1;
100
- }
101
-
102
- 100% {
103
- transform: scale(1);
104
- opacity: 0.3;
105
- }
106
- `,UE=Po`
107
- 0% {
108
- opacity: 1;
109
- }
110
-
111
- 100% {
112
- opacity: 0;
113
- }
114
- `,XE=Po`
115
- 0% {
116
- transform: scale(1);
117
- }
118
-
119
- 50% {
120
- transform: scale(0.92);
121
- }
122
-
123
- 100% {
124
- transform: scale(1);
125
- }
126
- `,ZE=ue("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),qE=ue(Mv,{name:"MuiTouchRipple",slot:"Ripple"})`
127
- opacity: 0;
128
- position: absolute;
129
-
130
- &.${Sr.rippleVisible} {
131
- opacity: 0.3;
132
- transform: scale(1);
133
- animation-name: ${YE};
134
- animation-duration: ${ap}ms;
135
- animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
136
- }
137
-
138
- &.${Sr.ripplePulsate} {
139
- animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
140
- }
141
-
142
- & .${Sr.child} {
143
- opacity: 1;
144
- display: block;
145
- width: 100%;
146
- height: 100%;
147
- border-radius: 50%;
148
- background-color: currentColor;
149
- }
150
-
151
- & .${Sr.childLeaving} {
152
- opacity: 0;
153
- animation-name: ${UE};
154
- animation-duration: ${ap}ms;
155
- animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
156
- }
157
-
158
- & .${Sr.childPulsate} {
159
- position: absolute;
160
- /* @noflip */
161
- left: 0px;
162
- top: 0;
163
- animation-name: ${XE};
164
- animation-duration: 2500ms;
165
- animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
166
- animation-iteration-count: infinite;
167
- animation-delay: 200ms;
168
- }
169
- `,Dv=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:l,...c}=r,[u,f]=w.useState([]),p=w.useRef(0),h=w.useRef(null);w.useEffect(()=>{h.current&&(h.current(),h.current=null)},[u]);const g=w.useRef(!1),v=Is(),y=w.useRef(null),m=w.useRef(null),C=w.useCallback(O=>{const{pulsate:T,rippleX:k,rippleY:D,rippleSize:A,cb:j}=O;f(E=>[...E,S.jsx(qE,{classes:{ripple:xe(s.ripple,Sr.ripple),rippleVisible:xe(s.rippleVisible,Sr.rippleVisible),ripplePulsate:xe(s.ripplePulsate,Sr.ripplePulsate),child:xe(s.child,Sr.child),childLeaving:xe(s.childLeaving,Sr.childLeaving),childPulsate:xe(s.childPulsate,Sr.childPulsate)},timeout:ap,pulsate:T,rippleX:k,rippleY:D,rippleSize:A},p.current)]),p.current+=1,h.current=j},[s]),x=w.useCallback((O={},T={},k=()=>{})=>{const{pulsate:D=!1,center:A=o||T.pulsate,fakeElement:j=!1}=T;if((O==null?void 0:O.type)==="mousedown"&&g.current){g.current=!1;return}(O==null?void 0:O.type)==="touchstart"&&(g.current=!0);const E=j?null:m.current,R=E?E.getBoundingClientRect():{width:0,height:0,left:0,top:0};let H,B,L;if(A||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)H=Math.round(R.width/2),B=Math.round(R.height/2);else{const{clientX:V,clientY:F}=O.touches&&O.touches.length>0?O.touches[0]:O;H=Math.round(V-R.left),B=Math.round(F-R.top)}if(A)L=Math.sqrt((2*R.width**2+R.height**2)/3),L%2===0&&(L+=1);else{const V=Math.max(Math.abs((E?E.clientWidth:0)-H),H)*2+2,F=Math.max(Math.abs((E?E.clientHeight:0)-B),B)*2+2;L=Math.sqrt(V**2+F**2)}O!=null&&O.touches?y.current===null&&(y.current=()=>{C({pulsate:D,rippleX:H,rippleY:B,rippleSize:L,cb:k})},v.start(GE,()=>{y.current&&(y.current(),y.current=null)})):C({pulsate:D,rippleX:H,rippleY:B,rippleSize:L,cb:k})},[o,C,v]),M=w.useCallback(()=>{x({},{pulsate:!0})},[x]),I=w.useCallback((O,T)=>{if(v.clear(),(O==null?void 0:O.type)==="touchend"&&y.current){y.current(),y.current=null,v.start(0,()=>{I(O,T)});return}y.current=null,f(k=>k.length>0?k.slice(1):k),h.current=T},[v]);return w.useImperativeHandle(n,()=>({pulsate:M,start:x,stop:I}),[M,x,I]),S.jsx(ZE,{className:xe(Sr.root,s.root,l),ref:m,...c,children:S.jsx(Za,{component:null,exit:!0,children:u})})});process.env.NODE_ENV!=="production"&&(Dv.propTypes={center:i.bool,classes:i.object,className:i.string});function JE(e){return _e("MuiButtonBase",e)}const KE=Re("MuiButtonBase",["root","disabled","focusVisible"]),QE=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=Ve({root:["root",t&&"disabled",n&&"focusVisible"]},JE,o);return n&&r&&(l.root+=` ${r}`),l},eM=ue("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${KE.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ro=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:s=!1,children:l,className:c,component:u="button",disabled:f=!1,disableRipple:p=!1,disableTouchRipple:h=!1,focusRipple:g=!1,focusVisibleClassName:v,LinkComponent:y="a",onBlur:m,onClick:C,onContextMenu:x,onDragLeave:M,onFocus:I,onFocusVisible:O,onKeyDown:T,onKeyUp:k,onMouseDown:D,onMouseLeave:A,onMouseUp:j,onTouchEnd:E,onTouchMove:R,onTouchStart:H,tabIndex:B=0,TouchRippleProps:L,touchRippleRef:V,type:F,...Y}=r,G=w.useRef(null),U=HE(),z=Ct(U.ref,V),[X,de]=w.useState(!1);f&&X&&de(!1),w.useImperativeHandle(o,()=>({focusVisible:()=>{de(!0),G.current.focus()}}),[]);const re=U.shouldMount&&!p&&!f;w.useEffect(()=>{X&&g&&!p&&U.pulsate()},[p,g,X,U]);const ie=Fo(U,"start",D,h),K=Fo(U,"stop",x,h),se=Fo(U,"stop",M,h),ce=Fo(U,"stop",j,h),ee=Fo(U,"stop",Me=>{X&&Me.preventDefault(),A&&A(Me)},h),te=Fo(U,"start",H,h),le=Fo(U,"stop",E,h),pe=Fo(U,"stop",R,h),q=Fo(U,"stop",Me=>{Yc(Me.target)||de(!1),m&&m(Me)},!1),ne=De(Me=>{G.current||(G.current=Me.currentTarget),Yc(Me.target)&&(de(!0),O&&O(Me)),I&&I(Me)}),fe=()=>{const Me=G.current;return u&&u!=="button"&&!(Me.tagName==="A"&&Me.href)},be=De(Me=>{g&&!Me.repeat&&X&&Me.key===" "&&U.stop(Me,()=>{U.start(Me)}),Me.target===Me.currentTarget&&fe()&&Me.key===" "&&Me.preventDefault(),T&&T(Me),Me.target===Me.currentTarget&&fe()&&Me.key==="Enter"&&!f&&(Me.preventDefault(),C&&C(Me))}),ve=De(Me=>{g&&Me.key===" "&&X&&!Me.defaultPrevented&&U.stop(Me,()=>{U.pulsate(Me)}),k&&k(Me),C&&Me.target===Me.currentTarget&&fe()&&Me.key===" "&&!Me.defaultPrevented&&C(Me)});let he=u;he==="button"&&(Y.href||Y.to)&&(he=y);const ge={};he==="button"?(ge.type=F===void 0?"button":F,ge.disabled=f):(!Y.href&&!Y.to&&(ge.role="button"),f&&(ge["aria-disabled"]=f));const Ce=Ct(n,G),Te={...r,centerRipple:s,component:u,disabled:f,disableRipple:p,disableTouchRipple:h,focusRipple:g,tabIndex:B,focusVisible:X},Ee=QE(Te);return S.jsxs(eM,{as:he,className:xe(Ee.root,c),ownerState:Te,onBlur:q,onClick:C,onContextMenu:K,onFocus:ne,onKeyDown:be,onKeyUp:ve,onMouseDown:ie,onMouseLeave:ee,onMouseUp:ce,onDragLeave:se,onTouchEnd:le,onTouchMove:pe,onTouchStart:te,ref:Ce,tabIndex:f?-1:B,type:F,...ge,...Y,children:[l,re?S.jsx(Dv,{ref:z,center:s,...L}):null]})});function Fo(e,t,n,r=!1){return De(o=>(n&&n(o),r||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(Ro.propTypes={action:Rt,centerRipple:i.bool,children:i.node,classes:i.object,className:i.string,component:Hc,disabled:i.bool,disableRipple:i.bool,disableTouchRipple:i.bool,focusRipple:i.bool,focusVisibleClassName:i.string,href:i.any,LinkComponent:i.elementType,onBlur:i.func,onClick:i.func,onContextMenu:i.func,onDragLeave:i.func,onFocus:i.func,onFocusVisible:i.func,onKeyDown:i.func,onKeyUp:i.func,onMouseDown:i.func,onMouseLeave:i.func,onMouseUp:i.func,onTouchEnd:i.func,onTouchMove:i.func,onTouchStart:i.func,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tabIndex:i.number,TouchRippleProps:i.object,touchRippleRef:i.oneOfType([i.func,i.shape({current:i.shape({pulsate:i.func.isRequired,start:i.func.isRequired,stop:i.func.isRequired})})]),type:i.oneOfType([i.oneOf(["button","reset","submit"]),i.string])});function tM(e){return typeof e.main=="string"}function nM(e,t=[]){if(!tM(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function En(e=[]){return([,t])=>t&&nM(t,e)}function rM(e){return _e("MuiCircularProgress",e)}Re("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const li=44,lp=Po`
170
- 0% {
171
- transform: rotate(0deg);
172
- }
173
-
174
- 100% {
175
- transform: rotate(360deg);
176
- }
177
- `,cp=Po`
178
- 0% {
179
- stroke-dasharray: 1px, 200px;
180
- stroke-dashoffset: 0;
181
- }
182
-
183
- 50% {
184
- stroke-dasharray: 100px, 200px;
185
- stroke-dashoffset: -15px;
186
- }
187
-
188
- 100% {
189
- stroke-dasharray: 1px, 200px;
190
- stroke-dashoffset: -126px;
191
- }
192
- `,oM=typeof lp!="string"?oi`
193
- animation: ${lp} 1.4s linear infinite;
194
- `:null,iM=typeof cp!="string"?oi`
195
- animation: ${cp} 1.4s ease-in-out infinite;
196
- `:null,sM=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,s={root:["root",n,`color${Pe(r)}`],svg:["svg"],circle:["circle",`circle${Pe(n)}`,o&&"circleDisableShrink"]};return Ve(s,rM,t)},aM=ue("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Pe(n.color)}`]]}})(at(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:oM||{animation:`${lp} 1.4s linear infinite`}},...Object.entries(e.palette).filter(En()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),lM=ue("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),cM=ue("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Pe(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(at(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:iM||{animation:`${cp} 1.4s ease-in-out infinite`}}]}))),Kc=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:l=!1,size:c=40,style:u,thickness:f=3.6,value:p=0,variant:h="indeterminate",...g}=r,v={...r,color:s,disableShrink:l,size:c,thickness:f,value:p,variant:h},y=sM(v),m={},C={},x={};if(h==="determinate"){const M=2*Math.PI*((li-f)/2);m.strokeDasharray=M.toFixed(3),x["aria-valuenow"]=Math.round(p),m.strokeDashoffset=`${((100-p)/100*M).toFixed(3)}px`,C.transform="rotate(-90deg)"}return S.jsx(aM,{className:xe(y.root,o),style:{width:c,height:c,...C,...u},ownerState:v,ref:n,role:"progressbar",...x,...g,children:S.jsx(lM,{className:y.svg,ownerState:v,viewBox:`${li/2} ${li/2} ${li} ${li}`,children:S.jsx(cM,{className:y.circle,style:m,ownerState:v,cx:li,cy:li,r:(li-f)/2,fill:"none",strokeWidth:f})})})});process.env.NODE_ENV!=="production"&&(Kc.propTypes={classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["inherit","primary","secondary","error","info","success","warning"]),i.string]),disableShrink:Mo(i.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:i.oneOfType([i.number,i.string]),style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),thickness:i.number,value:i.number,variant:i.oneOf(["determinate","indeterminate"])});function uM(e){return _e("MuiIconButton",e)}const kv=Re("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),dM=e=>{const{classes:t,disabled:n,color:r,edge:o,size:s,loading:l}=e,c={root:["root",l&&"loading",n&&"disabled",r!=="default"&&`color${Pe(r)}`,o&&`edge${Pe(o)}`,`size${Pe(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Ve(c,uM,t)},fM=ue(Ro,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${Pe(n.color)}`],n.edge&&t[`edge${Pe(n.edge)}`],t[`size${Pe(n.size)}`]]}})(at(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),at(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(En()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(En()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${kv.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${kv.loading}`]:{color:"transparent"}}))),pM=ue("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),ci=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiIconButton"}),{edge:o=!1,children:s,className:l,color:c="default",disabled:u=!1,disableFocusRipple:f=!1,size:p="medium",id:h,loading:g=null,loadingIndicator:v,...y}=r,m=wr(h),C=v??S.jsx(Kc,{"aria-labelledby":m,color:"inherit",size:16}),x={...r,edge:o,color:c,disabled:u,disableFocusRipple:f,loading:g,loadingIndicator:C,size:p},M=dM(x);return S.jsxs(fM,{id:g?m:h,className:xe(M.root,l),centerRipple:!0,focusRipple:!f,disabled:u||g,ref:n,...y,ownerState:x,children:[typeof g=="boolean"&&S.jsx("span",{className:M.loadingWrapper,style:{display:"contents"},children:S.jsx(pM,{className:M.loadingIndicator,ownerState:x,children:g&&C})}),s]})});process.env.NODE_ENV!=="production"&&(ci.propTypes={children:Mo(i.node,e=>w.Children.toArray(e.children).some(n=>w.isValidElement(n)&&n.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
197
- `)):null),classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),i.string]),disabled:i.bool,disableFocusRipple:i.bool,disableRipple:i.bool,edge:i.oneOf(["end","start",!1]),id:i.string,loading:i.bool,loadingIndicator:i.node,size:i.oneOfType([i.oneOf(["small","medium","large"]),i.string]),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});function hM(e){return _e("MuiTypography",e)}Re("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const mM={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},gM=xE(),bM=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:s,classes:l}=e,c={root:["root",s,e.align!=="inherit"&&`align${Pe(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Ve(c,hM,l)},vM=ue("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Pe(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(at(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(En()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${Pe(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),Av={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},io=w.forwardRef(function(t,n){const{color:r,...o}=ht({props:t,name:"MuiTypography"}),s=!mM[r],l=gM({...o,...s&&{color:r}}),{align:c="inherit",className:u,component:f,gutterBottom:p=!1,noWrap:h=!1,paragraph:g=!1,variant:v="body1",variantMapping:y=Av,...m}=l,C={...l,align:c,color:r,className:u,component:f,gutterBottom:p,noWrap:h,paragraph:g,variant:v,variantMapping:y},x=f||(g?"p":y[v]||Av[v])||"span",M=bM(C);return S.jsx(vM,{as:x,ref:n,className:xe(M.root,u),...m,ownerState:C,style:{...c!=="inherit"&&{"--Typography-textAlign":c},...m.style}})});process.env.NODE_ENV!=="production"&&(io.propTypes={align:i.oneOf(["center","inherit","justify","left","right"]),children:i.node,classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),i.string]),component:i.elementType,gutterBottom:i.bool,noWrap:i.bool,paragraph:i.bool,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),variant:i.oneOfType([i.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),i.string]),variantMapping:i.object});var Jn="top",Ir="bottom",Tr="right",Kn="left",up="auto",Ja=[Jn,Ir,Tr,Kn],Es="start",Ka="end",yM="clippingParents",Nv="viewport",Qa="popper",CM="reference",Rv=Ja.reduce(function(e,t){return e.concat([t+"-"+Es,t+"-"+Ka])},[]),Fv=[].concat(Ja,[up]).reduce(function(e,t){return e.concat([t,t+"-"+Es,t+"-"+Ka])},[]),wM="beforeRead",xM="read",SM="afterRead",IM="beforeMain",TM="main",OM="afterMain",PM="beforeWrite",EM="write",MM="afterWrite",DM=[wM,xM,SM,IM,TM,OM,PM,EM,MM];function so(e){return e?(e.nodeName||"").toLowerCase():null}function ar(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Wi(e){var t=ar(e).Element;return e instanceof t||e instanceof Element}function Or(e){var t=ar(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function dp(e){if(typeof ShadowRoot>"u")return!1;var t=ar(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function kM(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!Or(s)||!so(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(l){var c=o[l];c===!1?s.removeAttribute(l):s.setAttribute(l,c===!0?"":c)}))})}function AM(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=l.reduce(function(u,f){return u[f]="",u},{});!Or(o)||!so(o)||(Object.assign(o.style,c),Object.keys(s).forEach(function(u){o.removeAttribute(u)}))})}}const NM={name:"applyStyles",enabled:!0,phase:"write",fn:kM,effect:AM,requires:["computeStyles"]};function ao(e){return e.split("-")[0]}var ji=Math.max,Qc=Math.min,Ms=Math.round;function fp(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Vv(){return!/^((?!chrome|android).)*safari/i.test(fp())}function Ds(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&Or(e)&&(o=e.offsetWidth>0&&Ms(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Ms(r.height)/e.offsetHeight||1);var l=Wi(e)?ar(e):window,c=l.visualViewport,u=!Vv()&&n,f=(r.left+(u&&c?c.offsetLeft:0))/o,p=(r.top+(u&&c?c.offsetTop:0))/s,h=r.width/o,g=r.height/s;return{width:h,height:g,top:p,right:f+h,bottom:p+g,left:f,x:f,y:p}}function pp(e){var t=Ds(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Lv(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&dp(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Vo(e){return ar(e).getComputedStyle(e)}function RM(e){return["table","td","th"].indexOf(so(e))>=0}function ui(e){return((Wi(e)?e.ownerDocument:e.document)||window.document).documentElement}function eu(e){return so(e)==="html"?e:e.assignedSlot||e.parentNode||(dp(e)?e.host:null)||ui(e)}function _v(e){return!Or(e)||Vo(e).position==="fixed"?null:e.offsetParent}function FM(e){var t=/firefox/i.test(fp()),n=/Trident/i.test(fp());if(n&&Or(e)){var r=Vo(e);if(r.position==="fixed")return null}var o=eu(e);for(dp(o)&&(o=o.host);Or(o)&&["html","body"].indexOf(so(o))<0;){var s=Vo(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function el(e){for(var t=ar(e),n=_v(e);n&&RM(n)&&Vo(n).position==="static";)n=_v(n);return n&&(so(n)==="html"||so(n)==="body"&&Vo(n).position==="static")?t:n||FM(e)||t}function hp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function tl(e,t,n){return ji(e,Qc(t,n))}function VM(e,t,n){var r=tl(e,t,n);return r>n?n:r}function Bv(){return{top:0,right:0,bottom:0,left:0}}function $v(e){return Object.assign({},Bv(),e)}function Wv(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var LM=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,$v(typeof t!="number"?t:Wv(t,Ja))};function _M(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,l=n.modifiersData.popperOffsets,c=ao(n.placement),u=hp(c),f=[Kn,Tr].indexOf(c)>=0,p=f?"height":"width";if(!(!s||!l)){var h=LM(o.padding,n),g=pp(s),v=u==="y"?Jn:Kn,y=u==="y"?Ir:Tr,m=n.rects.reference[p]+n.rects.reference[u]-l[u]-n.rects.popper[p],C=l[u]-n.rects.reference[u],x=el(s),M=x?u==="y"?x.clientHeight||0:x.clientWidth||0:0,I=m/2-C/2,O=h[v],T=M-g[p]-h[y],k=M/2-g[p]/2+I,D=tl(O,k,T),A=u;n.modifiersData[r]=(t={},t[A]=D,t.centerOffset=D-k,t)}}function BM(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Lv(t.elements.popper,o)&&(t.elements.arrow=o))}const $M={name:"arrow",enabled:!0,phase:"main",fn:_M,effect:BM,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ks(e){return e.split("-")[1]}var WM={top:"auto",right:"auto",bottom:"auto",left:"auto"};function jM(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Ms(n*o)/o||0,y:Ms(r*o)/o||0}}function jv(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,l=e.offsets,c=e.position,u=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,h=e.isFixed,g=l.x,v=g===void 0?0:g,y=l.y,m=y===void 0?0:y,C=typeof p=="function"?p({x:v,y:m}):{x:v,y:m};v=C.x,m=C.y;var x=l.hasOwnProperty("x"),M=l.hasOwnProperty("y"),I=Kn,O=Jn,T=window;if(f){var k=el(n),D="clientHeight",A="clientWidth";if(k===ar(n)&&(k=ui(n),Vo(k).position!=="static"&&c==="absolute"&&(D="scrollHeight",A="scrollWidth")),k=k,o===Jn||(o===Kn||o===Tr)&&s===Ka){O=Ir;var j=h&&k===T&&T.visualViewport?T.visualViewport.height:k[D];m-=j-r.height,m*=u?1:-1}if(o===Kn||(o===Jn||o===Ir)&&s===Ka){I=Tr;var E=h&&k===T&&T.visualViewport?T.visualViewport.width:k[A];v-=E-r.width,v*=u?1:-1}}var R=Object.assign({position:c},f&&WM),H=p===!0?jM({x:v,y:m},ar(n)):{x:v,y:m};if(v=H.x,m=H.y,u){var B;return Object.assign({},R,(B={},B[O]=M?"0":"",B[I]=x?"0":"",B.transform=(T.devicePixelRatio||1)<=1?"translate("+v+"px, "+m+"px)":"translate3d("+v+"px, "+m+"px, 0)",B))}return Object.assign({},R,(t={},t[O]=M?m+"px":"",t[I]=x?v+"px":"",t.transform="",t))}function HM(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,l=s===void 0?!0:s,c=n.roundOffsets,u=c===void 0?!0:c,f={placement:ao(t.placement),variation:ks(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jv(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jv(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const zM={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:HM,data:{}};var tu={passive:!0};function GM(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,l=r.resize,c=l===void 0?!0:l,u=ar(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&f.forEach(function(p){p.addEventListener("scroll",n.update,tu)}),c&&u.addEventListener("resize",n.update,tu),function(){s&&f.forEach(function(p){p.removeEventListener("scroll",n.update,tu)}),c&&u.removeEventListener("resize",n.update,tu)}}const YM={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:GM,data:{}};var UM={left:"right",right:"left",bottom:"top",top:"bottom"};function nu(e){return e.replace(/left|right|bottom|top/g,function(t){return UM[t]})}var XM={start:"end",end:"start"};function Hv(e){return e.replace(/start|end/g,function(t){return XM[t]})}function mp(e){var t=ar(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function gp(e){return Ds(ui(e)).left+mp(e).scrollLeft}function ZM(e,t){var n=ar(e),r=ui(e),o=n.visualViewport,s=r.clientWidth,l=r.clientHeight,c=0,u=0;if(o){s=o.width,l=o.height;var f=Vv();(f||!f&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:l,x:c+gp(e),y:u}}function qM(e){var t,n=ui(e),r=mp(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=ji(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=ji(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+gp(e),u=-r.scrollTop;return Vo(o||n).direction==="rtl"&&(c+=ji(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:l,x:c,y:u}}function bp(e){var t=Vo(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function zv(e){return["html","body","#document"].indexOf(so(e))>=0?e.ownerDocument.body:Or(e)&&bp(e)?e:zv(eu(e))}function nl(e,t){var n;t===void 0&&(t=[]);var r=zv(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=ar(r),l=o?[s].concat(s.visualViewport||[],bp(r)?r:[]):r,c=t.concat(l);return o?c:c.concat(nl(eu(l)))}function vp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function JM(e,t){var n=Ds(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Gv(e,t,n){return t===Nv?vp(ZM(e,n)):Wi(t)?JM(t,n):vp(qM(ui(e)))}function KM(e){var t=nl(eu(e)),n=["absolute","fixed"].indexOf(Vo(e).position)>=0,r=n&&Or(e)?el(e):e;return Wi(r)?t.filter(function(o){return Wi(o)&&Lv(o,r)&&so(o)!=="body"}):[]}function QM(e,t,n,r){var o=t==="clippingParents"?KM(e):[].concat(t),s=[].concat(o,[n]),l=s[0],c=s.reduce(function(u,f){var p=Gv(e,f,r);return u.top=ji(p.top,u.top),u.right=Qc(p.right,u.right),u.bottom=Qc(p.bottom,u.bottom),u.left=ji(p.left,u.left),u},Gv(e,l,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Yv(e){var t=e.reference,n=e.element,r=e.placement,o=r?ao(r):null,s=r?ks(r):null,l=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,u;switch(o){case Jn:u={x:l,y:t.y-n.height};break;case Ir:u={x:l,y:t.y+t.height};break;case Tr:u={x:t.x+t.width,y:c};break;case Kn:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var f=o?hp(o):null;if(f!=null){var p=f==="y"?"height":"width";switch(s){case Es:u[f]=u[f]-(t[p]/2-n[p]/2);break;case Ka:u[f]=u[f]+(t[p]/2-n[p]/2);break}}return u}function rl(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,l=s===void 0?e.strategy:s,c=n.boundary,u=c===void 0?yM:c,f=n.rootBoundary,p=f===void 0?Nv:f,h=n.elementContext,g=h===void 0?Qa:h,v=n.altBoundary,y=v===void 0?!1:v,m=n.padding,C=m===void 0?0:m,x=$v(typeof C!="number"?C:Wv(C,Ja)),M=g===Qa?CM:Qa,I=e.rects.popper,O=e.elements[y?M:g],T=QM(Wi(O)?O:O.contextElement||ui(e.elements.popper),u,p,l),k=Ds(e.elements.reference),D=Yv({reference:k,element:I,placement:o}),A=vp(Object.assign({},I,D)),j=g===Qa?A:k,E={top:T.top-j.top+x.top,bottom:j.bottom-T.bottom+x.bottom,left:T.left-j.left+x.left,right:j.right-T.right+x.right},R=e.modifiersData.offset;if(g===Qa&&R){var H=R[o];Object.keys(E).forEach(function(B){var L=[Tr,Ir].indexOf(B)>=0?1:-1,V=[Jn,Ir].indexOf(B)>=0?"y":"x";E[B]+=H[V]*L})}return E}function eD(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,l=n.padding,c=n.flipVariations,u=n.allowedAutoPlacements,f=u===void 0?Fv:u,p=ks(r),h=p?c?Rv:Rv.filter(function(y){return ks(y)===p}):Ja,g=h.filter(function(y){return f.indexOf(y)>=0});g.length===0&&(g=h);var v=g.reduce(function(y,m){return y[m]=rl(e,{placement:m,boundary:o,rootBoundary:s,padding:l})[ao(m)],y},{});return Object.keys(v).sort(function(y,m){return v[y]-v[m]})}function tD(e){if(ao(e)===up)return[];var t=nu(e);return[Hv(e),t,Hv(t)]}function nD(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,l=n.altAxis,c=l===void 0?!0:l,u=n.fallbackPlacements,f=n.padding,p=n.boundary,h=n.rootBoundary,g=n.altBoundary,v=n.flipVariations,y=v===void 0?!0:v,m=n.allowedAutoPlacements,C=t.options.placement,x=ao(C),M=x===C,I=u||(M||!y?[nu(C)]:tD(C)),O=[C].concat(I).reduce(function(ie,K){return ie.concat(ao(K)===up?eD(t,{placement:K,boundary:p,rootBoundary:h,padding:f,flipVariations:y,allowedAutoPlacements:m}):K)},[]),T=t.rects.reference,k=t.rects.popper,D=new Map,A=!0,j=O[0],E=0;E<O.length;E++){var R=O[E],H=ao(R),B=ks(R)===Es,L=[Jn,Ir].indexOf(H)>=0,V=L?"width":"height",F=rl(t,{placement:R,boundary:p,rootBoundary:h,altBoundary:g,padding:f}),Y=L?B?Tr:Kn:B?Ir:Jn;T[V]>k[V]&&(Y=nu(Y));var G=nu(Y),U=[];if(s&&U.push(F[H]<=0),c&&U.push(F[Y]<=0,F[G]<=0),U.every(function(ie){return ie})){j=R,A=!1;break}D.set(R,U)}if(A)for(var z=y?3:1,X=function(K){var se=O.find(function(ce){var ee=D.get(ce);if(ee)return ee.slice(0,K).every(function(te){return te})});if(se)return j=se,"break"},de=z;de>0;de--){var re=X(de);if(re==="break")break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}}const rD={name:"flip",enabled:!0,phase:"main",fn:nD,requiresIfExists:["offset"],data:{_skip:!1}};function Uv(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Xv(e){return[Jn,Tr,Ir,Kn].some(function(t){return e[t]>=0})}function oD(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,l=rl(t,{elementContext:"reference"}),c=rl(t,{altBoundary:!0}),u=Uv(l,r),f=Uv(c,o,s),p=Xv(u),h=Xv(f);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const iD={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:oD};function sD(e,t,n){var r=ao(e),o=[Kn,Jn].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=s[0],c=s[1];return l=l||0,c=(c||0)*o,[Kn,Tr].indexOf(r)>=0?{x:c,y:l}:{x:l,y:c}}function aD(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,l=Fv.reduce(function(p,h){return p[h]=sD(h,t.rects,s),p},{}),c=l[t.placement],u=c.x,f=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=l}const lD={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:aD};function cD(e){var t=e.state,n=e.name;t.modifiersData[n]=Yv({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const uD={name:"popperOffsets",enabled:!0,phase:"read",fn:cD,data:{}};function dD(e){return e==="x"?"y":"x"}function fD(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,l=n.altAxis,c=l===void 0?!1:l,u=n.boundary,f=n.rootBoundary,p=n.altBoundary,h=n.padding,g=n.tether,v=g===void 0?!0:g,y=n.tetherOffset,m=y===void 0?0:y,C=rl(t,{boundary:u,rootBoundary:f,padding:h,altBoundary:p}),x=ao(t.placement),M=ks(t.placement),I=!M,O=hp(x),T=dD(O),k=t.modifiersData.popperOffsets,D=t.rects.reference,A=t.rects.popper,j=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,E=typeof j=="number"?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(k){if(s){var B,L=O==="y"?Jn:Kn,V=O==="y"?Ir:Tr,F=O==="y"?"height":"width",Y=k[O],G=Y+C[L],U=Y-C[V],z=v?-A[F]/2:0,X=M===Es?D[F]:A[F],de=M===Es?-A[F]:-D[F],re=t.elements.arrow,ie=v&&re?pp(re):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Bv(),se=K[L],ce=K[V],ee=tl(0,D[F],ie[F]),te=I?D[F]/2-z-ee-se-E.mainAxis:X-ee-se-E.mainAxis,le=I?-D[F]/2+z+ee+ce+E.mainAxis:de+ee+ce+E.mainAxis,pe=t.elements.arrow&&el(t.elements.arrow),q=pe?O==="y"?pe.clientTop||0:pe.clientLeft||0:0,ne=(B=R==null?void 0:R[O])!=null?B:0,fe=Y+te-ne-q,be=Y+le-ne,ve=tl(v?Qc(G,fe):G,Y,v?ji(U,be):U);k[O]=ve,H[O]=ve-Y}if(c){var he,ge=O==="x"?Jn:Kn,Ce=O==="x"?Ir:Tr,Te=k[T],Ee=T==="y"?"height":"width",Me=Te+C[ge],dt=Te-C[Ce],ct=[Jn,Kn].indexOf(x)!==-1,it=(he=R==null?void 0:R[T])!=null?he:0,It=ct?Me:Te-D[Ee]-A[Ee]-it+E.altAxis,At=ct?Te+D[Ee]+A[Ee]-it-E.altAxis:dt,Vt=v&&ct?VM(It,Te,At):tl(v?It:Me,Te,v?At:dt);k[T]=Vt,H[T]=Vt-Te}t.modifiersData[r]=H}}const pD={name:"preventOverflow",enabled:!0,phase:"main",fn:fD,requiresIfExists:["offset"]};function hD(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mD(e){return e===ar(e)||!Or(e)?mp(e):hD(e)}function gD(e){var t=e.getBoundingClientRect(),n=Ms(t.width)/e.offsetWidth||1,r=Ms(t.height)/e.offsetHeight||1;return n!==1||r!==1}function bD(e,t,n){n===void 0&&(n=!1);var r=Or(t),o=Or(t)&&gD(t),s=ui(t),l=Ds(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((so(t)!=="body"||bp(s))&&(c=mD(t)),Or(t)?(u=Ds(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=gp(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function vD(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var l=[].concat(s.requires||[],s.requiresIfExists||[]);l.forEach(function(c){if(!n.has(c)){var u=t.get(c);u&&o(u)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function yD(e){var t=vD(e);return DM.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function CD(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function wD(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Zv={placement:"bottom",modifiers:[],strategy:"absolute"};function qv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function xD(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?Zv:o;return function(c,u,f){f===void 0&&(f=s);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Zv,s),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},h=[],g=!1,v={state:p,setOptions:function(x){var M=typeof x=="function"?x(p.options):x;m(),p.options=Object.assign({},s,p.options,M),p.scrollParents={reference:Wi(c)?nl(c):c.contextElement?nl(c.contextElement):[],popper:nl(u)};var I=yD(wD([].concat(r,p.options.modifiers)));return p.orderedModifiers=I.filter(function(O){return O.enabled}),y(),v.update()},forceUpdate:function(){if(!g){var x=p.elements,M=x.reference,I=x.popper;if(qv(M,I)){p.rects={reference:bD(M,el(I),p.options.strategy==="fixed"),popper:pp(I)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(E){return p.modifiersData[E.name]=Object.assign({},E.data)});for(var O=0;O<p.orderedModifiers.length;O++){if(p.reset===!0){p.reset=!1,O=-1;continue}var T=p.orderedModifiers[O],k=T.fn,D=T.options,A=D===void 0?{}:D,j=T.name;typeof k=="function"&&(p=k({state:p,options:A,name:j,instance:v})||p)}}}},update:CD(function(){return new Promise(function(C){v.forceUpdate(),C(p)})}),destroy:function(){m(),g=!0}};if(!qv(c,u))return v;v.setOptions(f).then(function(C){!g&&f.onFirstUpdate&&f.onFirstUpdate(C)});function y(){p.orderedModifiers.forEach(function(C){var x=C.name,M=C.options,I=M===void 0?{}:M,O=C.effect;if(typeof O=="function"){var T=O({state:p,name:x,instance:v,options:I}),k=function(){};h.push(T||k)}})}function m(){h.forEach(function(C){return C()}),h=[]}return v}}var SD=[YM,uD,zM,NM,lD,rD,pD,$M,iD],ID=xD({defaultModifiers:SD});function TD(e){return typeof e=="function"?e():e}const ol=w.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[l,c]=w.useState(null),u=Ct(w.isValidElement(r)?Li(r):null,n);if(gn(()=>{s||c(TD(o)||document.body)},[o,s]),gn(()=>{if(l&&!s)return Xb(n,l),()=>{Xb(n,null)}},[n,l,s]),s){if(w.isValidElement(r)){const f={ref:u};return w.cloneElement(r,f)}return r}return l&&bf.createPortal(r,l)});process.env.NODE_ENV!=="production"&&(ol.propTypes={children:i.node,container:i.oneOfType([Do,i.func]),disablePortal:i.bool}),process.env.NODE_ENV!=="production"&&(ol.propTypes=Yb(ol.propTypes));function OD(e){return _e("MuiPopper",e)}Re("MuiPopper",["root"]);function PD(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function ru(e){return typeof e=="function"?e():e}function ou(e){return e.nodeType!==void 0}function ED(e){return!ou(e)}const MD=e=>{const{classes:t}=e;return Ve({root:["root"]},OD,t)},DD={},kD=w.forwardRef(function(t,n){const{anchorEl:r,children:o,direction:s,disablePortal:l,modifiers:c,open:u,placement:f,popperOptions:p,popperRef:h,slotProps:g={},slots:v={},TransitionProps:y,ownerState:m,...C}=t,x=w.useRef(null),M=Ct(x,n),I=w.useRef(null),O=Ct(I,h),T=w.useRef(O);gn(()=>{T.current=O},[O]),w.useImperativeHandle(h,()=>I.current,[]);const k=PD(f,s),[D,A]=w.useState(k),[j,E]=w.useState(ru(r));w.useEffect(()=>{I.current&&I.current.forceUpdate()}),w.useEffect(()=>{r&&E(ru(r))},[r]),gn(()=>{if(!j||!u)return;const V=G=>{A(G.placement)};if(process.env.NODE_ENV!=="production"&&j&&ou(j)&&j.nodeType===1){const G=j.getBoundingClientRect();process.env.NODE_ENV!=="test"&&G.top===0&&G.left===0&&G.right===0&&G.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
198
- `))}let F=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:G})=>{V(G)}}];c!=null&&(F=F.concat(c)),p&&p.modifiers!=null&&(F=F.concat(p.modifiers));const Y=ID(j,x.current,{placement:k,...p,modifiers:F});return T.current(Y),()=>{Y.destroy(),T.current(null)}},[j,l,c,u,p,k]);const R={placement:D};y!==null&&(R.TransitionProps=y);const H=MD(t),B=v.root??"div",L=pt({elementType:B,externalSlotProps:g.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:M},ownerState:t,className:H.root});return S.jsx(B,{...L,children:typeof o=="function"?o(R):o})}),Jv=w.forwardRef(function(t,n){const{anchorEl:r,children:o,container:s,direction:l="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:f,open:p,placement:h="bottom",popperOptions:g=DD,popperRef:v,style:y,transition:m=!1,slotProps:C={},slots:x={},...M}=t,[I,O]=w.useState(!0),T=()=>{O(!1)},k=()=>{O(!0)};if(!u&&!p&&(!m||I))return null;let D;if(s)D=s;else if(r){const E=ru(r);D=E&&ou(E)?kn(E).body:kn(null).body}const A=!p&&u&&(!m||I)?"none":void 0,j=m?{in:p,onEnter:T,onExited:k}:void 0;return S.jsx(ol,{disablePortal:c,container:D,children:S.jsx(kD,{anchorEl:r,direction:l,disablePortal:c,modifiers:f,ref:n,open:m?!I:p,placement:h,popperOptions:g,popperRef:v,slotProps:C,slots:x,...M,style:{position:"fixed",top:0,left:0,display:A,...y},TransitionProps:j,children:o})})});process.env.NODE_ENV!=="production"&&(Jv.propTypes={anchorEl:Mo(i.oneOfType([Do,i.object,i.func]),e=>{if(e.open){const t=ru(e.anchorEl);if(t&&ou(t)&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
199
- `))}else if(!t||typeof t.getBoundingClientRect!="function"||ED(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
200
- `))}return null}),children:i.oneOfType([i.node,i.func]),container:i.oneOfType([Do,i.func]),direction:i.oneOf(["ltr","rtl"]),disablePortal:i.bool,keepMounted:i.bool,modifiers:i.arrayOf(i.shape({data:i.object,effect:i.func,enabled:i.bool,fn:i.func,name:i.any,options:i.object,phase:i.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:i.arrayOf(i.string),requiresIfExists:i.arrayOf(i.string)})),open:i.bool.isRequired,placement:i.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:i.shape({modifiers:i.array,onFirstUpdate:i.func,placement:i.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:i.oneOf(["absolute","fixed"])}),popperRef:Rt,slotProps:i.shape({root:i.oneOfType([i.func,i.object])}),slots:i.shape({root:i.elementType}),transition:i.bool});const AD=ue(Jv,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),iu=w.forwardRef(function(t,n){const r=xn(),o=ht({props:t,name:"MuiPopper"}),{anchorEl:s,component:l,components:c,componentsProps:u,container:f,disablePortal:p,keepMounted:h,modifiers:g,open:v,placement:y,popperOptions:m,popperRef:C,transition:x,slots:M,slotProps:I,...O}=o,T=(M==null?void 0:M.root)??(c==null?void 0:c.Root),k={anchorEl:s,container:f,disablePortal:p,keepMounted:h,modifiers:g,open:v,placement:y,popperOptions:m,popperRef:C,transition:x,...O};return S.jsx(AD,{as:l,direction:r?"rtl":"ltr",slots:{root:T},slotProps:I??u,...k,ref:n})});process.env.NODE_ENV!=="production"&&(iu.propTypes={anchorEl:i.oneOfType([Do,i.object,i.func]),children:i.oneOfType([i.node,i.func]),component:i.elementType,components:i.shape({Root:i.elementType}),componentsProps:i.shape({root:i.oneOfType([i.func,i.object])}),container:i.oneOfType([Do,i.func]),disablePortal:i.bool,keepMounted:i.bool,modifiers:i.arrayOf(i.shape({data:i.object,effect:i.func,enabled:i.bool,fn:i.func,name:i.any,options:i.object,phase:i.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:i.arrayOf(i.string),requiresIfExists:i.arrayOf(i.string)})),open:i.bool.isRequired,placement:i.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:i.shape({modifiers:i.array,onFirstUpdate:i.func,placement:i.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:i.oneOf(["absolute","fixed"])}),popperRef:Rt,slotProps:i.shape({root:i.oneOfType([i.func,i.object])}),slots:i.shape({root:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),transition:i.bool});const ND=Yt(S.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function RD(e){return _e("MuiChip",e)}const gt=Re("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),FD=e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:s,onDelete:l,clickable:c,variant:u}=e,f={root:["root",u,n&&"disabled",`size${Pe(r)}`,`color${Pe(o)}`,c&&"clickable",c&&`clickableColor${Pe(o)}`,l&&"deletable",l&&`deletableColor${Pe(o)}`,`${u}${Pe(o)}`],label:["label",`label${Pe(r)}`],avatar:["avatar",`avatar${Pe(r)}`,`avatarColor${Pe(o)}`],icon:["icon",`icon${Pe(r)}`,`iconColor${Pe(s)}`],deleteIcon:["deleteIcon",`deleteIcon${Pe(r)}`,`deleteIconColor${Pe(o)}`,`deleteIcon${Pe(u)}Color${Pe(o)}`]};return Ve(f,RD,t)},VD=ue("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:s,onDelete:l,size:c,variant:u}=n;return[{[`& .${gt.avatar}`]:t.avatar},{[`& .${gt.avatar}`]:t[`avatar${Pe(c)}`]},{[`& .${gt.avatar}`]:t[`avatarColor${Pe(r)}`]},{[`& .${gt.icon}`]:t.icon},{[`& .${gt.icon}`]:t[`icon${Pe(c)}`]},{[`& .${gt.icon}`]:t[`iconColor${Pe(o)}`]},{[`& .${gt.deleteIcon}`]:t.deleteIcon},{[`& .${gt.deleteIcon}`]:t[`deleteIcon${Pe(c)}`]},{[`& .${gt.deleteIcon}`]:t[`deleteIconColor${Pe(r)}`]},{[`& .${gt.deleteIcon}`]:t[`deleteIcon${Pe(u)}Color${Pe(r)}`]},t.root,t[`size${Pe(c)}`],t[`color${Pe(r)}`],s&&t.clickable,s&&r!=="default"&&t[`clickableColor${Pe(r)})`],l&&t.deletable,l&&r!=="default"&&t[`deletableColor${Pe(r)}`],t[u],t[`${u}${Pe(r)}`]]}})(at(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${gt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${gt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${gt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${gt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${gt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${gt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${gt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:mt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:mt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${gt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${gt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(En(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${gt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:mt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${gt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${gt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${gt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(En(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${gt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${gt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(En(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${gt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${gt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${gt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${gt.avatar}`]:{marginLeft:4},[`& .${gt.avatarSmall}`]:{marginLeft:2},[`& .${gt.icon}`]:{marginLeft:4},[`& .${gt.iconSmall}`]:{marginLeft:2},[`& .${gt.deleteIcon}`]:{marginRight:5},[`& .${gt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(En()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:mt(e.palette[n].main,.7)}`,[`&.${gt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${gt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:mt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${gt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:mt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),LD=ue("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Pe(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Kv(e){return e.key==="Backspace"||e.key==="Delete"}const Qv=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiChip"}),{avatar:o,className:s,clickable:l,color:c="default",component:u,deleteIcon:f,disabled:p=!1,icon:h,label:g,onClick:v,onDelete:y,onKeyDown:m,onKeyUp:C,size:x="medium",variant:M="filled",tabIndex:I,skipFocusWhenDisabled:O=!1,...T}=r,k=w.useRef(null),D=Ct(k,n),A=U=>{U.stopPropagation(),y&&y(U)},j=U=>{U.currentTarget===U.target&&Kv(U)&&U.preventDefault(),m&&m(U)},E=U=>{U.currentTarget===U.target&&y&&Kv(U)&&y(U),C&&C(U)},R=l!==!1&&v?!0:l,H=R||y?Ro:u||"div",B={...r,component:H,disabled:p,size:x,color:c,iconColor:w.isValidElement(h)&&h.props.color||c,onDelete:!!y,clickable:R,variant:M},L=FD(B),V=H===Ro?{component:u||"div",focusVisibleClassName:L.focusVisible,...y&&{disableRipple:!0}}:{};let F=null;y&&(F=f&&w.isValidElement(f)?w.cloneElement(f,{className:xe(f.props.className,L.deleteIcon),onClick:A}):S.jsx(ND,{className:xe(L.deleteIcon),onClick:A}));let Y=null;o&&w.isValidElement(o)&&(Y=w.cloneElement(o,{className:xe(L.avatar,o.props.className)}));let G=null;return h&&w.isValidElement(h)&&(G=w.cloneElement(h,{className:xe(L.icon,h.props.className)})),process.env.NODE_ENV!=="production"&&Y&&G&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."),S.jsxs(VD,{as:H,className:xe(L.root,s),disabled:R&&p?!0:void 0,onClick:v,onKeyDown:j,onKeyUp:E,ref:D,tabIndex:O&&p?-1:I,ownerState:B,...V,...T,children:[Y||G,S.jsx(LD,{className:xe(L.label),ownerState:B,children:g}),F]})});process.env.NODE_ENV!=="production"&&(Qv.propTypes={avatar:i.element,children:Jb,classes:i.object,className:i.string,clickable:i.bool,color:i.oneOfType([i.oneOf(["default","primary","secondary","error","info","success","warning"]),i.string]),component:i.elementType,deleteIcon:i.element,disabled:i.bool,icon:i.element,label:i.node,onClick:i.func,onDelete:i.func,onKeyDown:i.func,onKeyUp:i.func,size:i.oneOfType([i.oneOf(["medium","small"]),i.string]),skipFocusWhenDisabled:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tabIndex:i.number,variant:i.oneOfType([i.oneOf(["filled","outlined"]),i.string])});function su(e){return parseInt(e,10)||0}const _D={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function BD(e){for(const t in e)return!1;return!0}function ey(e){return BD(e)||e.outerHeightStyle===0&&!e.overflowing}const ty=w.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:s=1,style:l,value:c,...u}=t,{current:f}=w.useRef(c!=null),p=w.useRef(null),h=Ct(n,p),g=w.useRef(null),v=w.useRef(null),y=w.useCallback(()=>{const I=p.current,O=v.current;if(!I||!O)return;const k=Br(I).getComputedStyle(I);if(k.width==="0px")return{outerHeightStyle:0,overflowing:!1};O.style.width=k.width,O.value=I.value||t.placeholder||"x",O.value.slice(-1)===`
201
- `&&(O.value+=" ");const D=k.boxSizing,A=su(k.paddingBottom)+su(k.paddingTop),j=su(k.borderBottomWidth)+su(k.borderTopWidth),E=O.scrollHeight;O.value="x";const R=O.scrollHeight;let H=E;s&&(H=Math.max(Number(s)*R,H)),o&&(H=Math.min(Number(o)*R,H)),H=Math.max(H,R);const B=H+(D==="border-box"?A+j:0),L=Math.abs(H-E)<=1;return{outerHeightStyle:B,overflowing:L}},[o,s,t.placeholder]),m=De(()=>{const I=p.current,O=y();if(!I||!O||ey(O))return!1;const T=O.outerHeightStyle;return g.current!=null&&g.current!==T}),C=w.useCallback(()=>{const I=p.current,O=y();if(!I||!O||ey(O))return;const T=O.outerHeightStyle;g.current!==T&&(g.current=T,I.style.height=`${T}px`),I.style.overflow=O.overflowing?"hidden":""},[y]),x=w.useRef(-1);gn(()=>{const I=zc(C),O=p==null?void 0:p.current;if(!O)return;const T=Br(O);T.addEventListener("resize",I);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(()=>{m()&&(k.unobserve(O),cancelAnimationFrame(x.current),C(),x.current=requestAnimationFrame(()=>{k.observe(O)}))}),k.observe(O)),()=>{I.clear(),cancelAnimationFrame(x.current),T.removeEventListener("resize",I),k&&k.disconnect()}},[y,C,m]),gn(()=>{C()});const M=I=>{f||C(),r&&r(I)};return S.jsxs(w.Fragment,{children:[S.jsx("textarea",{value:c,onChange:M,ref:h,rows:s,style:l,...u}),S.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:v,tabIndex:-1,style:{..._D.shadow,...l,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(ty.propTypes={className:i.string,maxRows:i.oneOfType([i.number,i.string]),minRows:i.oneOfType([i.number,i.string]),onChange:i.func,placeholder:i.string,style:i.object,value:i.oneOfType([i.arrayOf(i.string),i.number,i.string])});function il(e){return typeof e=="string"}function As({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const sl=w.createContext(void 0);process.env.NODE_ENV!=="production"&&(sl.displayName="FormControlContext");function $r(){return w.useContext(sl)}function ny(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function au(e,t=!1){return e&&(ny(e.value)&&e.value!==""||t&&ny(e.defaultValue)&&e.defaultValue!=="")}function $D(e){return e.startAdornment}function WD(e){return _e("MuiInputBase",e)}const Ns=Re("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ry;const lu=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Pe(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},cu=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},jD=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:s,focused:l,formControl:c,fullWidth:u,hiddenLabel:f,multiline:p,readOnly:h,size:g,startAdornment:v,type:y}=e,m={root:["root",`color${Pe(n)}`,r&&"disabled",o&&"error",u&&"fullWidth",l&&"focused",c&&"formControl",g&&g!=="medium"&&`size${Pe(g)}`,p&&"multiline",v&&"adornedStart",s&&"adornedEnd",f&&"hiddenLabel",h&&"readOnly"],input:["input",r&&"disabled",y==="search"&&"inputTypeSearch",p&&"inputMultiline",g==="small"&&"inputSizeSmall",f&&"inputHiddenLabel",v&&"inputAdornedStart",s&&"inputAdornedEnd",h&&"readOnly"]};return Ve(m,WD,t)},uu=ue("div",{name:"MuiInputBase",slot:"Root",overridesResolver:lu})(at(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Ns.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),du=ue("input",{name:"MuiInputBase",slot:"Input",overridesResolver:cu})(at(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Ns.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Ns.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:s})=>!s.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:s})=>s.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),oy=wE({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),fu=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:s,autoFocus:l,className:c,color:u,components:f={},componentsProps:p={},defaultValue:h,disabled:g,disableInjectingGlobalStyles:v,endAdornment:y,error:m,fullWidth:C=!1,id:x,inputComponent:M="input",inputProps:I={},inputRef:O,margin:T,maxRows:k,minRows:D,multiline:A=!1,name:j,onBlur:E,onChange:R,onClick:H,onFocus:B,onKeyDown:L,onKeyUp:V,placeholder:F,readOnly:Y,renderSuffix:G,rows:U,size:z,slotProps:X={},slots:de={},startAdornment:re,type:ie="text",value:K,...se}=r,ce=I.value!=null?I.value:K,{current:ee}=w.useRef(ce!=null),te=w.useRef(),le=w.useCallback(Ue=>{process.env.NODE_ENV!=="production"&&Ue&&Ue.nodeName!=="INPUT"&&!Ue.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
202
- `))},[]),pe=Ct(te,O,I.ref,le),[q,ne]=w.useState(!1),fe=$r();process.env.NODE_ENV!=="production"&&w.useEffect(()=>{if(fe)return fe.registerEffect()},[fe]);const be=As({props:r,muiFormControl:fe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});be.focused=fe?fe.focused:q,w.useEffect(()=>{!fe&&g&&q&&(ne(!1),E&&E())},[fe,g,q,E]);const ve=fe&&fe.onFilled,he=fe&&fe.onEmpty,ge=w.useCallback(Ue=>{au(Ue)?ve&&ve():he&&he()},[ve,he]);gn(()=>{ee&&ge({value:ce})},[ce,ge,ee]);const Ce=Ue=>{B&&B(Ue),I.onFocus&&I.onFocus(Ue),fe&&fe.onFocus?fe.onFocus(Ue):ne(!0)},Te=Ue=>{E&&E(Ue),I.onBlur&&I.onBlur(Ue),fe&&fe.onBlur?fe.onBlur(Ue):ne(!1)},Ee=(Ue,...an)=>{if(!ee){const Zt=Ue.target||te.current;if(Zt==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":Kr(1));ge({value:Zt.value})}I.onChange&&I.onChange(Ue,...an),R&&R(Ue,...an)};w.useEffect(()=>{ge(te.current)},[]);const Me=Ue=>{te.current&&Ue.currentTarget===Ue.target&&te.current.focus(),H&&H(Ue)};let dt=M,ct=I;A&&dt==="input"&&(U?(process.env.NODE_ENV!=="production"&&(D||k)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),ct={type:void 0,minRows:U,maxRows:U,...ct}):ct={type:void 0,maxRows:k,minRows:D,...ct},dt=ty);const it=Ue=>{ge(Ue.animationName==="mui-auto-fill-cancel"?te.current:{value:"x"})};w.useEffect(()=>{fe&&fe.setAdornedStart(!!re)},[fe,re]);const It={...r,color:be.color||"primary",disabled:be.disabled,endAdornment:y,error:be.error,focused:be.focused,formControl:fe,fullWidth:C,hiddenLabel:be.hiddenLabel,multiline:A,size:be.size,startAdornment:re,type:ie},At=jD(It),Vt=de.root||f.Root||uu,sn=X.root||p.root||{},In=de.input||f.Input||du;return ct={...ct,...X.input??p.input},S.jsxs(w.Fragment,{children:[!v&&typeof oy=="function"&&(ry||(ry=S.jsx(oy,{}))),S.jsxs(Vt,{...sn,ref:n,onClick:Me,...se,...!il(Vt)&&{ownerState:{...It,...sn.ownerState}},className:xe(At.root,sn.className,c,Y&&"MuiInputBase-readOnly"),children:[re,S.jsx(sl.Provider,{value:null,children:S.jsx(In,{"aria-invalid":be.error,"aria-describedby":o,autoComplete:s,autoFocus:l,defaultValue:h,disabled:be.disabled,id:x,onAnimationStart:it,name:j,placeholder:F,readOnly:Y,required:be.required,rows:U,value:ce,onKeyDown:L,onKeyUp:V,type:ie,...ct,...!il(In)&&{as:dt,ownerState:{...It,...ct.ownerState}},ref:pe,className:xe(At.input,ct.className,Y&&"MuiInputBase-readOnly"),onBlur:Te,onChange:Ee,onFocus:Ce})}),y,G?G({...be,startAdornment:re}):null]})]})});process.env.NODE_ENV!=="production"&&(fu.propTypes={"aria-describedby":i.string,autoComplete:i.string,autoFocus:i.bool,classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["primary","secondary","error","info","success","warning"]),i.string]),components:i.shape({Input:i.elementType,Root:i.elementType}),componentsProps:i.shape({input:i.object,root:i.object}),defaultValue:i.any,disabled:i.bool,disableInjectingGlobalStyles:i.bool,endAdornment:i.node,error:i.bool,fullWidth:i.bool,id:i.string,inputComponent:Hc,inputProps:i.object,inputRef:Rt,margin:i.oneOf(["dense","none"]),maxRows:i.oneOfType([i.number,i.string]),minRows:i.oneOfType([i.number,i.string]),multiline:i.bool,name:i.string,onBlur:i.func,onChange:i.func,onClick:i.func,onFocus:i.func,onInvalid:i.func,onKeyDown:i.func,onKeyUp:i.func,placeholder:i.string,readOnly:i.bool,renderSuffix:i.func,required:i.bool,rows:i.oneOfType([i.number,i.string]),size:i.oneOfType([i.oneOf(["medium","small"]),i.string]),slotProps:i.shape({input:i.object,root:i.object}),slots:i.shape({input:i.elementType,root:i.elementType}),startAdornment:i.node,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),type:i.string,value:i.any});function HD(e){return _e("MuiInput",e)}const al={...Ns,...Re("MuiInput",["root","underline","input"])};function zD(e){return _e("MuiOutlinedInput",e)}const lo={...Ns,...Re("MuiOutlinedInput",["root","notchedOutline","input"])};function GD(e){return _e("MuiFilledInput",e)}const Hi={...Ns,...Re("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},YD=Yt(S.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),UD={entering:{opacity:1},entered:{opacity:1}},di=w.forwardRef(function(t,n){const r=No(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,easing:u,in:f,onEnter:p,onEntered:h,onEntering:g,onExit:v,onExited:y,onExiting:m,style:C,timeout:x=o,TransitionComponent:M=sr,...I}=t,O=w.useRef(null),T=Ct(O,Li(c),n),k=L=>V=>{if(L){const F=O.current;V===void 0?L(F):L(F,V)}},D=k(g),A=k((L,V)=>{sp(L);const F=Ps({style:C,timeout:x,easing:u},{mode:"enter"});L.style.webkitTransition=r.transitions.create("opacity",F),L.style.transition=r.transitions.create("opacity",F),p&&p(L,V)}),j=k(h),E=k(m),R=k(L=>{const V=Ps({style:C,timeout:x,easing:u},{mode:"exit"});L.style.webkitTransition=r.transitions.create("opacity",V),L.style.transition=r.transitions.create("opacity",V),v&&v(L)}),H=k(y),B=L=>{s&&s(O.current,L)};return S.jsx(M,{appear:l,in:f,nodeRef:O,onEnter:A,onEntered:j,onEntering:D,onExit:R,onExited:H,onExiting:E,addEndListener:B,timeout:x,...I,children:(L,{ownerState:V,...F})=>w.cloneElement(c,{style:{opacity:0,visibility:L==="exited"&&!f?"hidden":void 0,...UD[L],...C,...c.props.style},ref:T,...F})})});process.env.NODE_ENV!=="production"&&(di.propTypes={addEndListener:i.func,appear:i.bool,children:Vi.isRequired,easing:i.oneOfType([i.shape({enter:i.string,exit:i.string}),i.string]),in:i.bool,onEnter:i.func,onEntered:i.func,onEntering:i.func,onExit:i.func,onExited:i.func,onExiting:i.func,style:i.object,timeout:i.oneOfType([i.number,i.shape({appear:i.number,enter:i.number,exit:i.number})])});function XD(e){return _e("MuiBackdrop",e)}Re("MuiBackdrop",["root","invisible"]);const ZD=e=>{const{classes:t,invisible:n}=e;return Ve({root:["root",n&&"invisible"]},XD,t)},qD=ue("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),yp=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiBackdrop"}),{children:o,className:s,component:l="div",invisible:c=!1,open:u,components:f={},componentsProps:p={},slotProps:h={},slots:g={},TransitionComponent:v,transitionDuration:y,...m}=r,C={...r,component:l,invisible:c},x=ZD(C),M={transition:v,root:f.Root,...g},I={...p,...h},O={slots:M,slotProps:I},[T,k]=Et("root",{elementType:qD,externalForwardedProps:O,className:xe(x.root,s),ownerState:C}),[D,A]=Et("transition",{elementType:di,externalForwardedProps:O,ownerState:C});return S.jsx(D,{in:u,timeout:y,...m,...A,children:S.jsx(T,{"aria-hidden":!0,...k,classes:x,ref:n,children:o})})});process.env.NODE_ENV!=="production"&&(yp.propTypes={children:i.node,classes:i.object,className:i.string,component:i.elementType,components:i.shape({Root:i.elementType}),componentsProps:i.shape({root:i.object}),invisible:i.bool,open:i.bool.isRequired,slotProps:i.shape({root:i.oneOfType([i.func,i.object]),transition:i.oneOfType([i.func,i.object])}),slots:i.shape({root:i.elementType,transition:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),TransitionComponent:i.elementType,transitionDuration:i.oneOfType([i.number,i.shape({appear:i.number,enter:i.number,exit:i.number})])});function JD(e){return _e("MuiButton",e)}const zi=Re("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),iy=w.createContext({});process.env.NODE_ENV!=="production"&&(iy.displayName="ButtonGroupContext");const sy=w.createContext(void 0);process.env.NODE_ENV!=="production"&&(sy.displayName="ButtonGroupButtonContext");const KD=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:s,loading:l,loadingPosition:c,classes:u}=e,f={root:["root",l&&"loading",s,`${s}${Pe(t)}`,`size${Pe(o)}`,`${s}Size${Pe(o)}`,`color${Pe(t)}`,n&&"disableElevation",r&&"fullWidth",l&&`loadingPosition${Pe(c)}`],startIcon:["icon","startIcon",`iconSize${Pe(o)}`],endIcon:["icon","endIcon",`iconSize${Pe(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=Ve(f,JD,u);return{...u,...p}},ay=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],QD=ue(Ro,{shouldForwardProp:e=>xr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Pe(n.color)}`],t[`size${Pe(n.size)}`],t[`${n.variant}Size${Pe(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(at(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${zi.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${zi.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${zi.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${zi.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(En()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:mt(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${zi.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${zi.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${zi.loading}`]:{color:"transparent"}}}]}})),ek=ue("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Pe(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...ay]})),tk=ue("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Pe(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...ay]})),nk=ue("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),ly=ue("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Rs=w.forwardRef(function(t,n){const r=w.useContext(iy),o=w.useContext(sy),s=Ha(r,t),l=ht({props:s,name:"MuiButton"}),{children:c,color:u="primary",component:f="button",className:p,disabled:h=!1,disableElevation:g=!1,disableFocusRipple:v=!1,endIcon:y,focusVisibleClassName:m,fullWidth:C=!1,id:x,loading:M=null,loadingIndicator:I,loadingPosition:O="center",size:T="medium",startIcon:k,type:D,variant:A="text",...j}=l,E=wr(x),R=I??S.jsx(Kc,{"aria-labelledby":E,color:"inherit",size:16}),H={...l,color:u,component:f,disabled:h,disableElevation:g,disableFocusRipple:v,fullWidth:C,loading:M,loadingIndicator:R,loadingPosition:O,size:T,type:D,variant:A},B=KD(H),L=(k||M&&O==="start")&&S.jsx(ek,{className:B.startIcon,ownerState:H,children:k||S.jsx(ly,{className:B.loadingIconPlaceholder,ownerState:H})}),V=(y||M&&O==="end")&&S.jsx(tk,{className:B.endIcon,ownerState:H,children:y||S.jsx(ly,{className:B.loadingIconPlaceholder,ownerState:H})}),F=o||"",Y=typeof M=="boolean"?S.jsx("span",{className:B.loadingWrapper,style:{display:"contents"},children:M&&S.jsx(nk,{className:B.loadingIndicator,ownerState:H,children:R})}):null;return S.jsxs(QD,{ownerState:H,className:xe(r.className,B.root,p,F),component:f,disabled:h||M,focusRipple:!v,focusVisibleClassName:xe(B.focusVisible,m),ref:n,type:D,id:M?E:x,...j,classes:B,children:[L,O!=="end"&&Y,c,O==="end"&&Y,V]})});process.env.NODE_ENV!=="production"&&(Rs.propTypes={children:i.node,classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["inherit","primary","secondary","success","error","info","warning"]),i.string]),component:i.elementType,disabled:i.bool,disableElevation:i.bool,disableFocusRipple:i.bool,disableRipple:i.bool,endIcon:i.node,focusVisibleClassName:i.string,fullWidth:i.bool,href:i.string,id:i.string,loading:i.bool,loadingIndicator:i.node,loadingPosition:i.oneOf(["center","end","start"]),size:i.oneOfType([i.oneOf(["small","medium","large"]),i.string]),startIcon:i.node,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),type:i.oneOfType([i.oneOf(["button","reset","submit"]),i.string]),variant:i.oneOfType([i.oneOf(["contained","outlined","text"]),i.string])});function rk(e){const t=kn(e);return t.body===e?Br(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ll(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function cy(e){return parseInt(Br(e).getComputedStyle(e).paddingRight,10)||0}function ok(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function uy(e,t,n,r,o){const s=[t,n,...r];[].forEach.call(e.children,l=>{const c=!s.includes(l),u=!ok(l);c&&u&&ll(l,o)})}function Cp(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function ik(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(rk(r)){const l=ev(Br(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${cy(r)+l}px`;const c=kn(r).querySelectorAll(".mui-fixed");[].forEach.call(c,u=>{n.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${cy(u)+l}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=kn(r).body;else{const l=r.parentElement,c=Br(r);s=(l==null?void 0:l.nodeName)==="HTML"&&c.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:l,property:c})=>{s?l.style.setProperty(c,s):l.style.removeProperty(c)})}}function sk(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class ak{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&ll(t.modalRef,!1);const o=sk(n);uy(n,t.mount,t.modalRef,o,!0);const s=Cp(this.containers,l=>l.container===n);return s!==-1?(this.containers[s].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Cp(this.containers,s=>s.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=ik(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Cp(this.containers,l=>l.modals.includes(t)),s=this.containers[o];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&ll(t.modalRef,n),uy(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(o,1);else{const l=s.modals[s.modals.length-1];l.modalRef&&ll(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const lk=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function ck(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function uk(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function dk(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||uk(e))}function fk(e){const t=[],n=[];return Array.from(e.querySelectorAll(lk)).forEach((r,o)=>{const s=ck(r);s===-1||!dk(r)||(s===0?t.push(r):n.push({documentOrder:o,tabIndex:s,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function pk(){return!0}function cl(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:s=fk,isEnabled:l=pk,open:c}=e,u=w.useRef(!1),f=w.useRef(null),p=w.useRef(null),h=w.useRef(null),g=w.useRef(null),v=w.useRef(!1),y=w.useRef(null),m=Ct(Li(t),y),C=w.useRef(null);w.useEffect(()=>{!c||!y.current||(v.current=!n)},[n,c]),w.useEffect(()=>{if(!c||!y.current)return;const I=kn(y.current);return y.current.contains(I.activeElement)||(y.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
203
- `)),y.current.setAttribute("tabIndex","-1")),v.current&&y.current.focus()),()=>{o||(h.current&&h.current.focus&&(u.current=!0,h.current.focus()),h.current=null)}},[c]),w.useEffect(()=>{if(!c||!y.current)return;const I=kn(y.current),O=D=>{C.current=D,!(r||!l()||D.key!=="Tab")&&I.activeElement===y.current&&D.shiftKey&&(u.current=!0,p.current&&p.current.focus())},T=()=>{var j,E;const D=y.current;if(D===null)return;if(!I.hasFocus()||!l()||u.current){u.current=!1;return}if(D.contains(I.activeElement)||r&&I.activeElement!==f.current&&I.activeElement!==p.current)return;if(I.activeElement!==g.current)g.current=null;else if(g.current!==null)return;if(!v.current)return;let A=[];if((I.activeElement===f.current||I.activeElement===p.current)&&(A=s(y.current)),A.length>0){const R=!!((j=C.current)!=null&&j.shiftKey&&((E=C.current)==null?void 0:E.key)==="Tab"),H=A[0],B=A[A.length-1];typeof H!="string"&&typeof B!="string"&&(R?B.focus():H.focus())}else D.focus()};I.addEventListener("focusin",T),I.addEventListener("keydown",O,!0);const k=setInterval(()=>{I.activeElement&&I.activeElement.tagName==="BODY"&&T()},50);return()=>{clearInterval(k),I.removeEventListener("focusin",T),I.removeEventListener("keydown",O,!0)}},[n,r,o,l,c,s]);const x=I=>{h.current===null&&(h.current=I.relatedTarget),v.current=!0,g.current=I.target;const O=t.props.onFocus;O&&O(I)},M=I=>{h.current===null&&(h.current=I.relatedTarget),v.current=!0};return S.jsxs(w.Fragment,{children:[S.jsx("div",{tabIndex:c?0:-1,onFocus:M,ref:f,"data-testid":"sentinelStart"}),w.cloneElement(t,{ref:m,onFocus:x}),S.jsx("div",{tabIndex:c?0:-1,onFocus:M,ref:p,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(cl.propTypes={children:Vi,disableAutoFocus:i.bool,disableEnforceFocus:i.bool,disableRestoreFocus:i.bool,getTabbable:i.func,isEnabled:i.func,open:i.bool.isRequired}),process.env.NODE_ENV!=="production"&&(cl.propTypes=Yb(cl.propTypes));function hk(e){return typeof e=="function"?e():e}function mk(e){return e?e.props.hasOwnProperty("in"):!1}const dy=()=>{},pu=new ak;function gk(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:l,children:c,onClose:u,open:f,rootRef:p}=e,h=w.useRef({}),g=w.useRef(null),v=w.useRef(null),y=Ct(v,p),[m,C]=w.useState(!f),x=mk(c);let M=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(M=!1);const I=()=>kn(g.current),O=()=>(h.current.modalRef=v.current,h.current.mount=g.current,h.current),T=()=>{pu.mount(O(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},k=De(()=>{const V=hk(t)||I().body;pu.add(O(),V),v.current&&T()}),D=()=>pu.isTopModal(O()),A=De(V=>{g.current=V,V&&(f&&D()?T():v.current&&ll(v.current,M))}),j=w.useCallback(()=>{pu.remove(O(),M)},[M]);w.useEffect(()=>()=>{j()},[j]),w.useEffect(()=>{f?k():(!x||!o)&&j()},[f,j,x,o,k]);const E=V=>F=>{var Y;(Y=V.onKeyDown)==null||Y.call(V,F),!(F.key!=="Escape"||F.which===229||!D())&&(n||(F.stopPropagation(),u&&u(F,"escapeKeyDown")))},R=V=>F=>{var Y;(Y=V.onClick)==null||Y.call(V,F),F.target===F.currentTarget&&u&&u(F,"backdropClick")};return{getRootProps:(V={})=>{const F=iv(e);delete F.onTransitionEnter,delete F.onTransitionExited;const Y={...F,...V};return{role:"presentation",...Y,onKeyDown:E(Y),ref:y}},getBackdropProps:(V={})=>{const F=V;return{"aria-hidden":!0,...F,onClick:R(F),open:f}},getTransitionProps:()=>{const V=()=>{C(!1),s&&s()},F=()=>{C(!0),l&&l(),o&&j()};return{onEnter:Ub(V,(c==null?void 0:c.props.onEnter)??dy),onExited:Ub(F,(c==null?void 0:c.props.onExited)??dy)}},rootRef:y,portalRef:A,isTopModal:D,exited:m,hasTransition:x}}function bk(e){return _e("MuiModal",e)}Re("MuiModal",["root","hidden","backdrop"]);const vk=e=>{const{open:t,exited:n,classes:r}=e;return Ve({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},bk,r)},yk=ue("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(at(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),Ck=ue(yp,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),wp=w.forwardRef(function(t,n){const r=ht({name:"MuiModal",props:t}),{BackdropComponent:o=Ck,BackdropProps:s,classes:l,className:c,closeAfterTransition:u=!1,children:f,container:p,component:h,components:g={},componentsProps:v={},disableAutoFocus:y=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:C=!1,disablePortal:x=!1,disableRestoreFocus:M=!1,disableScrollLock:I=!1,hideBackdrop:O=!1,keepMounted:T=!1,onBackdropClick:k,onClose:D,onTransitionEnter:A,onTransitionExited:j,open:E,slotProps:R={},slots:H={},theme:B,...L}=r,V={...r,closeAfterTransition:u,disableAutoFocus:y,disableEnforceFocus:m,disableEscapeKeyDown:C,disablePortal:x,disableRestoreFocus:M,disableScrollLock:I,hideBackdrop:O,keepMounted:T},{getRootProps:F,getBackdropProps:Y,getTransitionProps:G,portalRef:U,isTopModal:z,exited:X,hasTransition:de}=gk({...V,rootRef:n}),re={...V,exited:X},ie=vk(re),K={};if(f.props.tabIndex===void 0&&(K.tabIndex="-1"),de){const{onEnter:pe,onExited:q}=G();K.onEnter=pe,K.onExited=q}const se={slots:{root:g.Root,backdrop:g.Backdrop,...H},slotProps:{...v,...R}},[ce,ee]=Et("root",{ref:n,elementType:yk,externalForwardedProps:{...se,...L,component:h},getSlotProps:F,ownerState:re,className:xe(c,ie==null?void 0:ie.root,!re.open&&re.exited&&(ie==null?void 0:ie.hidden))}),[te,le]=Et("backdrop",{ref:s==null?void 0:s.ref,elementType:o,externalForwardedProps:se,shouldForwardComponentProp:!0,additionalProps:s,getSlotProps:pe=>Y({...pe,onClick:q=>{k&&k(q),pe!=null&&pe.onClick&&pe.onClick(q)}}),className:xe(s==null?void 0:s.className,ie==null?void 0:ie.backdrop),ownerState:re});return!T&&!E&&(!de||X)?null:S.jsx(ol,{ref:U,container:p,disablePortal:x,children:S.jsxs(ce,{...ee,children:[!O&&o?S.jsx(te,{...le}):null,S.jsx(cl,{disableEnforceFocus:m,disableAutoFocus:y,disableRestoreFocus:M,isEnabled:z,open:E,children:w.cloneElement(f,K)})]})})});process.env.NODE_ENV!=="production"&&(wp.propTypes={BackdropComponent:i.elementType,BackdropProps:i.object,children:Vi.isRequired,classes:i.object,className:i.string,closeAfterTransition:i.bool,component:i.elementType,components:i.shape({Backdrop:i.elementType,Root:i.elementType}),componentsProps:i.shape({backdrop:i.oneOfType([i.func,i.object]),root:i.oneOfType([i.func,i.object])}),container:i.oneOfType([Do,i.func]),disableAutoFocus:i.bool,disableEnforceFocus:i.bool,disableEscapeKeyDown:i.bool,disablePortal:i.bool,disableRestoreFocus:i.bool,disableScrollLock:i.bool,hideBackdrop:i.bool,keepMounted:i.bool,onBackdropClick:i.func,onClose:i.func,onTransitionEnter:i.func,onTransitionExited:i.func,open:i.bool.isRequired,slotProps:i.shape({backdrop:i.oneOfType([i.func,i.object]),root:i.oneOfType([i.func,i.object])}),slots:i.shape({backdrop:i.elementType,root:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});function wk(e){return _e("MuiDialog",e)}const ul=Re("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),fy=w.createContext({});process.env.NODE_ENV!=="production"&&(fy.displayName="DialogContext");const xk=ue(yp,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),Sk=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:s}=e,l={root:["root"],container:["container",`scroll${Pe(n)}`],paper:["paper",`paperScroll${Pe(n)}`,`paperWidth${Pe(String(r))}`,o&&"paperFullWidth",s&&"paperFullScreen"]};return Ve(l,wk,t)},Ik=ue(wp,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Tk=ue("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Pe(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),Ok=ue(qa,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Pe(n.scroll)}`],t[`paperWidth${Pe(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(at(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${ul.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${ul.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${ul.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),py=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiDialog"}),o=No(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":c,"aria-modal":u=!0,BackdropComponent:f,BackdropProps:p,children:h,className:g,disableEscapeKeyDown:v=!1,fullScreen:y=!1,fullWidth:m=!1,maxWidth:C="sm",onBackdropClick:x,onClick:M,onClose:I,open:O,PaperComponent:T=qa,PaperProps:k={},scroll:D="paper",slots:A={},slotProps:j={},TransitionComponent:E=di,transitionDuration:R=s,TransitionProps:H,...B}=r,L={...r,disableEscapeKeyDown:v,fullScreen:y,fullWidth:m,maxWidth:C,scroll:D},V=Sk(L),F=w.useRef(),Y=fe=>{F.current=fe.target===fe.currentTarget},G=fe=>{M&&M(fe),F.current&&(F.current=null,x&&x(fe),I&&I(fe,"backdropClick"))},U=wr(c),z=w.useMemo(()=>({titleId:U}),[U]),X={transition:E,...A},de={transition:H,paper:k,backdrop:p,...j},re={slots:X,slotProps:de},[ie,K]=Et("root",{elementType:Ik,shouldForwardComponentProp:!0,externalForwardedProps:re,ownerState:L,className:xe(V.root,g),ref:n}),[se,ce]=Et("backdrop",{elementType:xk,shouldForwardComponentProp:!0,externalForwardedProps:re,ownerState:L}),[ee,te]=Et("paper",{elementType:Ok,shouldForwardComponentProp:!0,externalForwardedProps:re,ownerState:L,className:xe(V.paper,k.className)}),[le,pe]=Et("container",{elementType:Tk,externalForwardedProps:re,ownerState:L,className:xe(V.container)}),[q,ne]=Et("transition",{elementType:di,externalForwardedProps:re,ownerState:L,additionalProps:{appear:!0,in:O,timeout:R,role:"presentation"}});return S.jsx(ie,{closeAfterTransition:!0,slots:{backdrop:se},slotProps:{backdrop:{transitionDuration:R,as:f,...ce}},disableEscapeKeyDown:v,onClose:I,open:O,onClick:G,...K,...B,children:S.jsx(q,{...ne,children:S.jsx(le,{onMouseDown:Y,...pe,children:S.jsx(ee,{as:T,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":U,"aria-modal":u,...te,children:S.jsx(fy.Provider,{value:z,children:h})})})})})});process.env.NODE_ENV!=="production"&&(py.propTypes={"aria-describedby":i.string,"aria-labelledby":i.string,"aria-modal":i.oneOfType([i.oneOf(["false","true"]),i.bool]),BackdropComponent:i.elementType,BackdropProps:i.object,children:i.node,classes:i.object,className:i.string,disableEscapeKeyDown:i.bool,fullScreen:i.bool,fullWidth:i.bool,maxWidth:i.oneOfType([i.oneOf(["xs","sm","md","lg","xl",!1]),i.string]),onBackdropClick:i.func,onClick:i.func,onClose:i.func,open:i.bool.isRequired,PaperComponent:i.elementType,PaperProps:i.object,scroll:i.oneOf(["body","paper"]),slotProps:i.shape({backdrop:i.oneOfType([i.func,i.object]),container:i.oneOfType([i.func,i.object]),paper:i.oneOfType([i.func,i.object]),root:i.oneOfType([i.func,i.object]),transition:i.oneOfType([i.func,i.object])}),slots:i.shape({backdrop:i.elementType,container:i.elementType,paper:i.elementType,root:i.elementType,transition:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),TransitionComponent:i.elementType,transitionDuration:i.oneOfType([i.number,i.shape({appear:i.number,enter:i.number,exit:i.number})]),TransitionProps:i.object});function Pk(e){return _e("MuiDialogActions",e)}Re("MuiDialogActions",["root","spacing"]);const Ek=e=>{const{classes:t,disableSpacing:n}=e;return Ve({root:["root",!n&&"spacing"]},Pk,t)},Mk=ue("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),hy=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:s=!1,...l}=r,c={...r,disableSpacing:s},u=Ek(c);return S.jsx(Mk,{className:xe(u.root,o),ownerState:c,ref:n,...l})});process.env.NODE_ENV!=="production"&&(hy.propTypes={children:i.node,classes:i.object,className:i.string,disableSpacing:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});function Dk(e){return _e("MuiDialogContent",e)}Re("MuiDialogContent",["root","dividers"]);const kk=Re("MuiDialogTitle",["root"]),Ak=e=>{const{classes:t,dividers:n}=e;return Ve({root:["root",n&&"dividers"]},Dk,t)},Nk=ue("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(at(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${kk.root} + &`]:{paddingTop:0}}}]}))),my=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiDialogContent"}),{className:o,dividers:s=!1,...l}=r,c={...r,dividers:s},u=Ak(c);return S.jsx(Nk,{className:xe(u.root,o),ownerState:c,ref:n,...l})});process.env.NODE_ENV!=="production"&&(my.propTypes={children:i.node,classes:i.object,className:i.string,dividers:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});function Rk(e){return _e("MuiDivider",e)}const gy=Re("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Fk=e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:s,orientation:l,textAlign:c,variant:u}=e;return Ve({root:["root",t&&"absolute",u,s&&"light",l==="vertical"&&"vertical",o&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",c==="right"&&l!=="vertical"&&"textAlignRight",c==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},Rk,r)},Vk=ue("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(at(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:mt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),Lk=ue("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(at(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),dl=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiDivider"}),{absolute:o=!1,children:s,className:l,orientation:c="horizontal",component:u=s||c==="vertical"?"div":"hr",flexItem:f=!1,light:p=!1,role:h=u!=="hr"?"separator":void 0,textAlign:g="center",variant:v="fullWidth",...y}=r,m={...r,absolute:o,component:u,flexItem:f,light:p,orientation:c,role:h,textAlign:g,variant:v},C=Fk(m);return S.jsx(Vk,{as:u,className:xe(C.root,l),role:h,ref:n,ownerState:m,"aria-orientation":h==="separator"&&(u!=="hr"||c==="vertical")?c:void 0,...y,children:s?S.jsx(Lk,{className:C.wrapper,ownerState:m,children:s}):null})});dl&&(dl.muiSkipListHighlight=!0),process.env.NODE_ENV!=="production"&&(dl.propTypes={absolute:i.bool,children:i.node,classes:i.object,className:i.string,component:i.elementType,flexItem:i.bool,light:i.bool,orientation:i.oneOf(["horizontal","vertical"]),role:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),textAlign:i.oneOf(["center","left","right"]),variant:i.oneOfType([i.oneOf(["fullWidth","inset","middle"]),i.string])});const _k=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:s,hiddenLabel:l,multiline:c}=e,u={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",s==="small"&&`size${Pe(s)}`,l&&"hiddenLabel",c&&"multiline"],input:["input"]},f=Ve(u,GD,t);return{...t,...f}},Bk=ue(uu,{shouldForwardProp:e=>xr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...lu(e,t),!n.disableUnderline&&t.underline]}})(at(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Hi.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Hi.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Hi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Hi.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Hi.disabled}, .${Hi.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Hi.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(En()).map(([l])=>{var c;return{props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(c=(e.vars||e).palette[l])==null?void 0:c.main}`}}}}),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:c})=>l.multiline&&c==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),$k=ue(du,{name:"MuiFilledInput",slot:"Input",overridesResolver:cu})(at(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),hu=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:s={},componentsProps:l,fullWidth:c=!1,hiddenLabel:u,inputComponent:f="input",multiline:p=!1,slotProps:h,slots:g={},type:v="text",...y}=r,m={...r,disableUnderline:o,fullWidth:c,inputComponent:f,multiline:p,type:v},C=_k(r),x={root:{ownerState:m},input:{ownerState:m}},M=h??l?Bn(x,h??l):x,I=g.root??s.Root??Bk,O=g.input??s.Input??$k;return S.jsx(fu,{slots:{root:I,input:O},slotProps:M,fullWidth:c,inputComponent:f,multiline:p,ref:n,type:v,...y,classes:C})});process.env.NODE_ENV!=="production"&&(hu.propTypes={autoComplete:i.string,autoFocus:i.bool,classes:i.object,color:i.oneOfType([i.oneOf(["primary","secondary"]),i.string]),components:i.shape({Input:i.elementType,Root:i.elementType}),componentsProps:i.shape({input:i.object,root:i.object}),defaultValue:i.any,disabled:i.bool,disableUnderline:i.bool,endAdornment:i.node,error:i.bool,fullWidth:i.bool,hiddenLabel:i.bool,id:i.string,inputComponent:i.elementType,inputProps:i.object,inputRef:Rt,margin:i.oneOf(["dense","none"]),maxRows:i.oneOfType([i.number,i.string]),minRows:i.oneOfType([i.number,i.string]),multiline:i.bool,name:i.string,onChange:i.func,placeholder:i.string,readOnly:i.bool,required:i.bool,rows:i.oneOfType([i.number,i.string]),slotProps:i.shape({input:i.object,root:i.object}),slots:i.shape({input:i.elementType,root:i.elementType}),startAdornment:i.node,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),type:i.string,value:i.any}),hu.muiName="Input";function Wk(e){return _e("MuiFormControl",e)}Re("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const jk=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${Pe(n)}`,r&&"fullWidth"]};return Ve(o,Wk,t)},Hk=ue("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${Pe(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),xp=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiFormControl"}),{children:o,className:s,color:l="primary",component:c="div",disabled:u=!1,error:f=!1,focused:p,fullWidth:h=!1,hiddenLabel:g=!1,margin:v="none",required:y=!1,size:m="medium",variant:C="outlined",...x}=r,M={...r,color:l,component:c,disabled:u,error:f,fullWidth:h,hiddenLabel:g,margin:v,required:y,size:m,variant:C},I=jk(M),[O,T]=w.useState(()=>{let F=!1;return o&&w.Children.forEach(o,Y=>{if(!Ga(Y,["Input","Select"]))return;const G=Ga(Y,["Select"])?Y.props.input:Y;G&&$D(G.props)&&(F=!0)}),F}),[k,D]=w.useState(()=>{let F=!1;return o&&w.Children.forEach(o,Y=>{Ga(Y,["Input","Select"])&&(au(Y.props,!0)||au(Y.props.inputProps,!0))&&(F=!0)}),F}),[A,j]=w.useState(!1);u&&A&&j(!1);const E=p!==void 0&&!u?p:A;let R;const H=w.useRef(!1);process.env.NODE_ENV!=="production"&&(R=()=>(H.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
204
- `)),H.current=!0,()=>{H.current=!1}));const B=w.useCallback(()=>{D(!0)},[]),L=w.useCallback(()=>{D(!1)},[]),V=w.useMemo(()=>({adornedStart:O,setAdornedStart:T,color:l,disabled:u,error:f,filled:k,focused:E,fullWidth:h,hiddenLabel:g,size:m,onBlur:()=>{j(!1)},onFocus:()=>{j(!0)},onEmpty:L,onFilled:B,registerEffect:R,required:y,variant:C}),[O,l,u,f,k,E,h,g,R,L,B,y,m,C]);return S.jsx(sl.Provider,{value:V,children:S.jsx(Hk,{as:c,ownerState:M,className:xe(I.root,s),ref:n,...x,children:o})})});process.env.NODE_ENV!=="production"&&(xp.propTypes={children:i.node,classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["primary","secondary","error","info","success","warning"]),i.string]),component:i.elementType,disabled:i.bool,error:i.bool,focused:i.bool,fullWidth:i.bool,hiddenLabel:i.bool,margin:i.oneOf(["dense","none","normal"]),required:i.bool,size:i.oneOfType([i.oneOf(["medium","small"]),i.string]),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),variant:i.oneOf(["filled","outlined","standard"])});function zk(e){return _e("MuiFormHelperText",e)}const by=Re("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var vy;const Gk=e=>{const{classes:t,contained:n,size:r,disabled:o,error:s,filled:l,focused:c,required:u}=e,f={root:["root",o&&"disabled",s&&"error",r&&`size${Pe(r)}`,n&&"contained",c&&"focused",l&&"filled",u&&"required"]};return Ve(f,zk,t)},Yk=ue("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Pe(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(at(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${by.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${by.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),Sp=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiFormHelperText"}),{children:o,className:s,component:l="p",disabled:c,error:u,filled:f,focused:p,margin:h,required:g,variant:v,...y}=r,m=$r(),C=As({props:r,muiFormControl:m,states:["variant","size","disabled","error","filled","focused","required"]}),x={...r,component:l,contained:C.variant==="filled"||C.variant==="outlined",variant:C.variant,size:C.size,disabled:C.disabled,error:C.error,filled:C.filled,focused:C.focused,required:C.required};delete x.ownerState;const M=Gk(x);return S.jsx(Yk,{as:l,className:xe(M.root,s),ref:n,...y,ownerState:x,children:o===" "?vy||(vy=S.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):o})});process.env.NODE_ENV!=="production"&&(Sp.propTypes={children:i.node,classes:i.object,className:i.string,component:i.elementType,disabled:i.bool,error:i.bool,filled:i.bool,focused:i.bool,margin:i.oneOf(["dense"]),required:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),variant:i.oneOfType([i.oneOf(["filled","outlined","standard"]),i.string])});function Uk(e){return _e("MuiFormLabel",e)}const fl=Re("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Xk=e=>{const{classes:t,color:n,focused:r,disabled:o,error:s,filled:l,required:c}=e,u={root:["root",`color${Pe(n)}`,o&&"disabled",s&&"error",l&&"filled",r&&"focused",c&&"required"],asterisk:["asterisk",s&&"error"]};return Ve(u,Uk,t)},Zk=ue("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(at(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(En()).map(([t])=>({props:{color:t},style:{[`&.${fl.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${fl.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${fl.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),qk=ue("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(at(({theme:e})=>({[`&.${fl.error}`]:{color:(e.vars||e).palette.error.main}}))),yy=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiFormLabel"}),{children:o,className:s,color:l,component:c="label",disabled:u,error:f,filled:p,focused:h,required:g,...v}=r,y=$r(),m=As({props:r,muiFormControl:y,states:["color","required","focused","disabled","error","filled"]}),C={...r,color:m.color||"primary",component:c,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required},x=Xk(C);return S.jsxs(Zk,{as:c,ownerState:C,className:xe(x.root,s),ref:n,...v,children:[o,m.required&&S.jsxs(qk,{ownerState:C,"aria-hidden":!0,className:x.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(yy.propTypes={children:i.node,classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["error","info","primary","secondary","success","warning"]),i.string]),component:i.elementType,disabled:i.bool,error:i.bool,filled:i.bool,focused:i.bool,required:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});function Ip(e){return`scale(${e}, ${e**2})`}const Jk={entering:{opacity:1,transform:Ip(1)},entered:{opacity:1,transform:"none"}},Tp=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),fi=w.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:s,easing:l,in:c,onEnter:u,onEntered:f,onEntering:p,onExit:h,onExited:g,onExiting:v,style:y,timeout:m="auto",TransitionComponent:C=sr,...x}=t,M=Is(),I=w.useRef(),O=No(),T=w.useRef(null),k=Ct(T,Li(s),n),D=V=>F=>{if(V){const Y=T.current;F===void 0?V(Y):V(Y,F)}},A=D(p),j=D((V,F)=>{sp(V);const{duration:Y,delay:G,easing:U}=Ps({style:y,timeout:m,easing:l},{mode:"enter"});let z;m==="auto"?(z=O.transitions.getAutoHeightDuration(V.clientHeight),I.current=z):z=Y,V.style.transition=[O.transitions.create("opacity",{duration:z,delay:G}),O.transitions.create("transform",{duration:Tp?z:z*.666,delay:G,easing:U})].join(","),u&&u(V,F)}),E=D(f),R=D(v),H=D(V=>{const{duration:F,delay:Y,easing:G}=Ps({style:y,timeout:m,easing:l},{mode:"exit"});let U;m==="auto"?(U=O.transitions.getAutoHeightDuration(V.clientHeight),I.current=U):U=F,V.style.transition=[O.transitions.create("opacity",{duration:U,delay:Y}),O.transitions.create("transform",{duration:Tp?U:U*.666,delay:Tp?Y:Y||U*.333,easing:G})].join(","),V.style.opacity=0,V.style.transform=Ip(.75),h&&h(V)}),B=D(g),L=V=>{m==="auto"&&M.start(I.current||0,V),r&&r(T.current,V)};return S.jsx(C,{appear:o,in:c,nodeRef:T,onEnter:j,onEntered:E,onEntering:A,onExit:H,onExited:B,onExiting:R,addEndListener:L,timeout:m==="auto"?null:m,...x,children:(V,{ownerState:F,...Y})=>w.cloneElement(s,{style:{opacity:0,transform:Ip(.75),visibility:V==="exited"&&!c?"hidden":void 0,...Jk[V],...y,...s.props.style},ref:k,...Y})})});process.env.NODE_ENV!=="production"&&(fi.propTypes={addEndListener:i.func,appear:i.bool,children:Vi.isRequired,easing:i.oneOfType([i.shape({enter:i.string,exit:i.string}),i.string]),in:i.bool,onEnter:i.func,onEntered:i.func,onEntering:i.func,onExit:i.func,onExited:i.func,onExiting:i.func,style:i.object,timeout:i.oneOfType([i.oneOf(["auto"]),i.number,i.shape({appear:i.number,enter:i.number,exit:i.number})])}),fi&&(fi.muiSupportAuto=!0);const mu=jb({themeId:Aa}),Kk=e=>{const{classes:t,disableUnderline:n}=e,o=Ve({root:["root",!n&&"underline"],input:["input"]},HD,t);return{...t,...o}},Qk=ue(uu,{shouldForwardProp:e=>xr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...lu(e,t),!n.disableUnderline&&t.underline]}})(at(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${al.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${al.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${al.disabled}, .${al.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${al.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(En()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),eA=ue(du,{name:"MuiInput",slot:"Input",overridesResolver:cu})({}),gu=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:s={},componentsProps:l,fullWidth:c=!1,inputComponent:u="input",multiline:f=!1,slotProps:p,slots:h={},type:g="text",...v}=r,y=Kk(r),C={root:{ownerState:{disableUnderline:o}}},x=p??l?Bn(p??l,C):C,M=h.root??s.Root??Qk,I=h.input??s.Input??eA;return S.jsx(fu,{slots:{root:M,input:I},slotProps:x,fullWidth:c,inputComponent:u,multiline:f,ref:n,type:g,...v,classes:y})});process.env.NODE_ENV!=="production"&&(gu.propTypes={autoComplete:i.string,autoFocus:i.bool,classes:i.object,color:i.oneOfType([i.oneOf(["primary","secondary"]),i.string]),components:i.shape({Input:i.elementType,Root:i.elementType}),componentsProps:i.shape({input:i.object,root:i.object}),defaultValue:i.any,disabled:i.bool,disableUnderline:i.bool,endAdornment:i.node,error:i.bool,fullWidth:i.bool,id:i.string,inputComponent:i.elementType,inputProps:i.object,inputRef:Rt,margin:i.oneOf(["dense","none"]),maxRows:i.oneOfType([i.number,i.string]),minRows:i.oneOfType([i.number,i.string]),multiline:i.bool,name:i.string,onChange:i.func,placeholder:i.string,readOnly:i.bool,required:i.bool,rows:i.oneOfType([i.number,i.string]),slotProps:i.shape({input:i.object,root:i.object}),slots:i.shape({input:i.elementType,root:i.elementType}),startAdornment:i.node,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),type:i.string,value:i.any}),gu.muiName="Input";function tA(e){return _e("MuiInputAdornment",e)}const Cy=Re("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var wy;const nA=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Pe(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},rA=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:s,variant:l}=e,c={root:["root",n&&"disablePointerEvents",o&&`position${Pe(o)}`,l,r&&"hiddenLabel",s&&`size${Pe(s)}`]};return Ve(c,tA,t)},oA=ue("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:nA})(at(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${Cy.positionStart}&:not(.${Cy.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),Op=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiInputAdornment"}),{children:o,className:s,component:l="div",disablePointerEvents:c=!1,disableTypography:u=!1,position:f,variant:p,...h}=r,g=$r()||{};let v=p;p&&g.variant&&process.env.NODE_ENV!=="production"&&p===g.variant&&console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."),g&&!v&&(v=g.variant);const y={...r,hiddenLabel:g.hiddenLabel,size:g.size,disablePointerEvents:c,position:f,variant:v},m=rA(y);return S.jsx(sl.Provider,{value:null,children:S.jsx(oA,{as:l,ownerState:y,className:xe(m.root,s),ref:n,...h,children:typeof o=="string"&&!u?S.jsx(io,{color:"textSecondary",children:o}):S.jsxs(w.Fragment,{children:[f==="start"?wy||(wy=S.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,o]})})})});process.env.NODE_ENV!=="production"&&(Op.propTypes={children:i.node,classes:i.object,className:i.string,component:i.elementType,disablePointerEvents:i.bool,disableTypography:i.bool,position:i.oneOf(["end","start"]).isRequired,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),variant:i.oneOf(["filled","outlined","standard"])});function iA(e){return _e("MuiInputLabel",e)}Re("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const sA=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:s,variant:l,required:c}=e,u={root:["root",n&&"formControl",!s&&"animated",o&&"shrink",r&&r!=="normal"&&`size${Pe(r)}`,l],asterisk:[c&&"asterisk"]},f=Ve(u,iA,t);return{...t,...f}},aA=ue(yy,{shouldForwardProp:e=>xr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${fl.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(at(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Pp=w.forwardRef(function(t,n){const r=ht({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:s,shrink:l,variant:c,className:u,...f}=r,p=$r();let h=l;typeof h>"u"&&p&&(h=p.filled||p.focused||p.adornedStart);const g=As({props:r,muiFormControl:p,states:["size","variant","required","focused"]}),v={...r,disableAnimation:o,formControl:p,shrink:h,size:g.size,variant:g.variant,required:g.required,focused:g.focused},y=sA(v);return S.jsx(aA,{"data-shrink":h,ref:n,className:xe(y.root,u),...f,ownerState:v,classes:y})});process.env.NODE_ENV!=="production"&&(Pp.propTypes={children:i.node,classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["error","info","primary","secondary","success","warning"]),i.string]),disableAnimation:i.bool,disabled:i.bool,error:i.bool,focused:i.bool,margin:i.oneOf(["dense"]),required:i.bool,shrink:i.bool,size:i.oneOfType([i.oneOf(["normal","small"]),i.string]),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),variant:i.oneOf(["filled","outlined","standard"])});function lA(e){return _e("MuiLinearProgress",e)}Re("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Ep=4,Mp=Po`
205
- 0% {
206
- left: -35%;
207
- right: 100%;
208
- }
209
-
210
- 60% {
211
- left: 100%;
212
- right: -90%;
213
- }
214
-
215
- 100% {
216
- left: 100%;
217
- right: -90%;
218
- }
219
- `,cA=typeof Mp!="string"?oi`
220
- animation: ${Mp} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
221
- `:null,Dp=Po`
222
- 0% {
223
- left: -200%;
224
- right: 100%;
225
- }
226
-
227
- 60% {
228
- left: 107%;
229
- right: -8%;
230
- }
231
-
232
- 100% {
233
- left: 107%;
234
- right: -8%;
235
- }
236
- `,uA=typeof Dp!="string"?oi`
237
- animation: ${Dp} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
238
- `:null,kp=Po`
239
- 0% {
240
- opacity: 1;
241
- background-position: 0 -23px;
242
- }
243
-
244
- 60% {
245
- opacity: 0;
246
- background-position: 0 -23px;
247
- }
248
-
249
- 100% {
250
- opacity: 1;
251
- background-position: -200px -23px;
252
- }
253
- `,dA=typeof kp!="string"?oi`
254
- animation: ${kp} 3s infinite linear;
255
- `:null,fA=e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${Pe(r)}`,n],dashed:["dashed",`dashedColor${Pe(r)}`],bar1:["bar","bar1",`barColor${Pe(r)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",n!=="buffer"&&`barColor${Pe(r)}`,n==="buffer"&&`color${Pe(r)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return Ve(o,lA,t)},Ap=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?Wc(e.palette[t].main,.62):$c(e.palette[t].main,.5),pA=ue("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Pe(n.color)}`],t[n.variant]]}})(at(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(En()).map(([t])=>({props:{color:t},style:{backgroundColor:Ap(e,t)}})),{props:({ownerState:t})=>t.color==="inherit"&&t.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),hA=ue("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${Pe(n.color)}`]]}})(at(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(En()).map(([t])=>{const n=Ap(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),dA||{animation:`${kp} 3s infinite linear`}),mA=ue("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t.bar1,t[`barColor${Pe(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar1Indeterminate,n.variant==="determinate"&&t.bar1Determinate,n.variant==="buffer"&&t.bar1Buffer]}})(at(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(En()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:`transform .${Ep}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${Ep}s linear`}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:cA||{animation:`${Mp} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),gA=ue("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t.bar2,t[`barColor${Pe(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(at(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(En()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:t})=>t.variant!=="buffer"&&t.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:t})=>t.variant!=="buffer"&&t.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(En()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:Ap(e,t),transition:`transform .${Ep}s linear`}})),{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:uA||{animation:`${Dp} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),xy=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiLinearProgress"}),{className:o,color:s="primary",value:l,valueBuffer:c,variant:u="indeterminate",...f}=r,p={...r,color:s,variant:u},h=fA(p),g=xn(),v={},y={bar1:{},bar2:{}};if(u==="determinate"||u==="buffer")if(l!==void 0){v["aria-valuenow"]=Math.round(l),v["aria-valuemin"]=0,v["aria-valuemax"]=100;let m=l-100;g&&(m=-m),y.bar1.transform=`translateX(${m}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");if(u==="buffer")if(c!==void 0){let m=(c||0)-100;g&&(m=-m),y.bar2.transform=`translateX(${m}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return S.jsxs(pA,{className:xe(h.root,o),ownerState:p,role:"progressbar",...v,ref:n,...f,children:[u==="buffer"?S.jsx(hA,{className:h.dashed,ownerState:p}):null,S.jsx(mA,{className:h.bar1,ownerState:p,style:y.bar1}),u==="determinate"?null:S.jsx(gA,{className:h.bar2,ownerState:p,style:y.bar2})]})});process.env.NODE_ENV!=="production"&&(xy.propTypes={classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["inherit","primary","secondary"]),i.string]),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.number,valueBuffer:i.number,variant:i.oneOf(["buffer","determinate","indeterminate","query"])});const pi=w.createContext({});process.env.NODE_ENV!=="production"&&(pi.displayName="ListContext");function bA(e){return _e("MuiList",e)}Re("MuiList",["root","padding","dense","subheader"]);const vA=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Ve({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},bA,t)},yA=ue("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Np=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiList"}),{children:o,className:s,component:l="ul",dense:c=!1,disablePadding:u=!1,subheader:f,...p}=r,h=w.useMemo(()=>({dense:c}),[c]),g={...r,component:l,dense:c,disablePadding:u},v=vA(g);return S.jsx(pi.Provider,{value:h,children:S.jsxs(yA,{as:l,className:xe(v.root,s),ref:n,ownerState:g,...p,children:[f,o]})})});process.env.NODE_ENV!=="production"&&(Np.propTypes={children:i.node,classes:i.object,className:i.string,component:i.elementType,dense:i.bool,disablePadding:i.bool,subheader:i.node,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});function CA(e){return _e("MuiListItem",e)}Re("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);const wA=Re("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function xA(e){return _e("MuiListItemSecondaryAction",e)}Re("MuiListItemSecondaryAction",["root","disableGutters"]);const SA=e=>{const{disableGutters:t,classes:n}=e;return Ve({root:["root",t&&"disableGutters"]},xA,n)},IA=ue("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),Rp=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiListItemSecondaryAction"}),{className:o,...s}=r,l=w.useContext(pi),c={...r,disableGutters:l.disableGutters},u=SA(c);return S.jsx(IA,{className:xe(u.root,o),ownerState:c,ref:n,...s})});process.env.NODE_ENV!=="production"&&(Rp.propTypes={children:i.node,classes:i.object,className:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])}),Rp.muiName="ListItemSecondaryAction";const TA=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},OA=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:o,disablePadding:s,divider:l,hasSecondaryAction:c}=e;return Ve({root:["root",r&&"dense",!o&&"gutters",!s&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction"],container:["container"]},CA,n)},PA=ue("div",{name:"MuiListItem",slot:"Root",overridesResolver:TA})(at(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${wA.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),EA=ue("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Sy=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiListItem"}),{alignItems:o="center",children:s,className:l,component:c,components:u={},componentsProps:f={},ContainerComponent:p="li",ContainerProps:{className:h,...g}={},dense:v=!1,disableGutters:y=!1,disablePadding:m=!1,divider:C=!1,secondaryAction:x,slotProps:M={},slots:I={},...O}=r,T=w.useContext(pi),k=w.useMemo(()=>({dense:v||T.dense||!1,alignItems:o,disableGutters:y}),[o,T.dense,v,y]),D=w.useRef(null),A=w.Children.toArray(s),j=A.length&&Ga(A[A.length-1],["ListItemSecondaryAction"]),E={...r,alignItems:o,dense:k.dense,disableGutters:y,disablePadding:m,divider:C,hasSecondaryAction:j},R=OA(E),H=Ct(D,n),B=I.root||u.Root||PA,L=M.root||f.root||{},V={className:xe(R.root,L.className,l),...O};let F=c||"li";return j?(F=!V.component&&!c?"div":F,p==="li"&&(F==="li"?F="div":V.component==="li"&&(V.component="div")),S.jsx(pi.Provider,{value:k,children:S.jsxs(EA,{as:p,className:xe(R.container,h),ref:H,ownerState:E,...g,children:[S.jsx(B,{...L,...!il(B)&&{as:F,ownerState:{...E,...L.ownerState}},...V,children:A}),A.pop()]})})):S.jsx(pi.Provider,{value:k,children:S.jsxs(B,{...L,as:F,ref:H,...!il(B)&&{ownerState:{...E,...L.ownerState}},...V,children:[A,x&&S.jsx(Rp,{children:x})]})})});process.env.NODE_ENV!=="production"&&(Sy.propTypes={alignItems:i.oneOf(["center","flex-start"]),children:Mo(i.node,e=>{const t=w.Children.toArray(e.children);let n=-1;for(let r=t.length-1;r>=0;r-=1){const o=t[r];if(Ga(o,["ListItemSecondaryAction"])){n=r;break}}return n!==-1&&n!==t.length-1?new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem."):null}),classes:i.object,className:i.string,component:i.elementType,components:i.shape({Root:i.elementType}),componentsProps:i.shape({root:i.object}),ContainerComponent:Hc,ContainerProps:i.object,dense:i.bool,disableGutters:i.bool,disablePadding:i.bool,divider:i.bool,secondaryAction:i.node,slotProps:i.shape({root:i.object}),slots:i.shape({root:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});const Iy=Re("MuiListItemIcon",["root","alignItemsFlexStart"]),Ty=Re("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Fp(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Oy(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Py(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function pl(e,t,n,r,o,s){let l=!1,c=o(e,t,t?n:!1);for(;c;){if(c===e.firstChild){if(l)return!1;l=!0}const u=r?!1:c.disabled||c.getAttribute("aria-disabled")==="true";if(!c.hasAttribute("tabindex")||!Py(c,s)||u)c=o(e,c,n);else return c.focus(),!0}return!1}const bu=w.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:s=!1,children:l,className:c,disabledItemsFocusable:u=!1,disableListWrap:f=!1,onKeyDown:p,variant:h="selectedMenu",...g}=t,v=w.useRef(null),y=w.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});gn(()=>{o&&v.current.focus()},[o]),w.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(I,{direction:O})=>{const T=!v.current.style.width;if(I.clientHeight<v.current.clientHeight&&T){const k=`${ev(Br(I))}px`;v.current.style[O==="rtl"?"paddingLeft":"paddingRight"]=k,v.current.style.width=`calc(100% + ${k})`}return v.current}}),[]);const m=I=>{const O=v.current,T=I.key;if(I.ctrlKey||I.metaKey||I.altKey){p&&p(I);return}const D=kn(O).activeElement;if(T==="ArrowDown")I.preventDefault(),pl(O,D,f,u,Fp);else if(T==="ArrowUp")I.preventDefault(),pl(O,D,f,u,Oy);else if(T==="Home")I.preventDefault(),pl(O,null,f,u,Fp);else if(T==="End")I.preventDefault(),pl(O,null,f,u,Oy);else if(T.length===1){const A=y.current,j=T.toLowerCase(),E=performance.now();A.keys.length>0&&(E-A.lastTime>500?(A.keys=[],A.repeating=!0,A.previousKeyMatched=!0):A.repeating&&j!==A.keys[0]&&(A.repeating=!1)),A.lastTime=E,A.keys.push(j);const R=D&&!A.repeating&&Py(D,A);A.previousKeyMatched&&(R||pl(O,D,!1,u,Fp,A))?I.preventDefault():A.previousKeyMatched=!1}p&&p(I)},C=Ct(v,n);let x=-1;w.Children.forEach(l,(I,O)=>{if(!w.isValidElement(I)){x===O&&(x+=1,x>=l.length&&(x=-1));return}process.env.NODE_ENV!=="production"&&Xc.isFragment(I)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
256
- `)),I.props.disabled||(h==="selectedMenu"&&I.props.selected||x===-1)&&(x=O),x===O&&(I.props.disabled||I.props.muiSkipListHighlight||I.type.muiSkipListHighlight)&&(x+=1,x>=l.length&&(x=-1))});const M=w.Children.map(l,(I,O)=>{if(O===x){const T={};return s&&(T.autoFocus=!0),I.props.tabIndex===void 0&&h==="selectedMenu"&&(T.tabIndex=0),w.cloneElement(I,T)}return I});return S.jsx(Np,{role:"menu",ref:C,className:c,onKeyDown:m,tabIndex:o?0:-1,...g,children:M})});process.env.NODE_ENV!=="production"&&(bu.propTypes={autoFocus:i.bool,autoFocusItem:i.bool,children:i.node,className:i.string,disabledItemsFocusable:i.bool,disableListWrap:i.bool,onKeyDown:i.func,variant:i.oneOf(["menu","selectedMenu"])});function MA(e){return _e("MuiPopover",e)}Re("MuiPopover",["root","paper"]);function Ey(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function My(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Dy(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function hl(e){return typeof e=="function"?e():e}const DA=e=>{const{classes:t}=e;return Ve({root:["root"],paper:["paper"]},MA,t)},kA=ue(wp,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ky=ue(qa,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ay=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiPopover"}),{action:o,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:u="anchorEl",children:f,className:p,container:h,elevation:g=8,marginThreshold:v=16,open:y,PaperProps:m={},slots:C={},slotProps:x={},transformOrigin:M={vertical:"top",horizontal:"left"},TransitionComponent:I,transitionDuration:O="auto",TransitionProps:T={},disableScrollLock:k=!1,...D}=r,A=w.useRef(),j={...r,anchorOrigin:l,anchorReference:u,elevation:g,marginThreshold:v,transformOrigin:M,TransitionComponent:I,transitionDuration:O,TransitionProps:T},E=DA(j),R=w.useCallback(()=>{if(u==="anchorPosition")return process.env.NODE_ENV!=="production"&&(c||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),c;const le=hl(s),pe=le&&le.nodeType===1?le:kn(A.current).body,q=pe.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const ne=pe.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ne.top===0&&ne.left===0&&ne.right===0&&ne.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
257
- `))}return{top:q.top+Ey(q,l.vertical),left:q.left+My(q,l.horizontal)}},[s,l.horizontal,l.vertical,c,u]),H=w.useCallback(le=>({vertical:Ey(le,M.vertical),horizontal:My(le,M.horizontal)}),[M.horizontal,M.vertical]),B=w.useCallback(le=>{const pe={width:le.offsetWidth,height:le.offsetHeight},q=H(pe);if(u==="none")return{top:null,left:null,transformOrigin:Dy(q)};const ne=R();let fe=ne.top-q.vertical,be=ne.left-q.horizontal;const ve=fe+pe.height,he=be+pe.width,ge=Br(hl(s)),Ce=ge.innerHeight-v,Te=ge.innerWidth-v;if(v!==null&&fe<v){const Ee=fe-v;fe-=Ee,q.vertical+=Ee}else if(v!==null&&ve>Ce){const Ee=ve-Ce;fe-=Ee,q.vertical+=Ee}if(process.env.NODE_ENV!=="production"&&pe.height>Ce&&pe.height&&Ce&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${pe.height-Ce}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
258
- `)),v!==null&&be<v){const Ee=be-v;be-=Ee,q.horizontal+=Ee}else if(he>Te){const Ee=he-Te;be-=Ee,q.horizontal+=Ee}return{top:`${Math.round(fe)}px`,left:`${Math.round(be)}px`,transformOrigin:Dy(q)}},[s,u,R,H,v]),[L,V]=w.useState(y),F=w.useCallback(()=>{const le=A.current;if(!le)return;const pe=B(le);pe.top!==null&&le.style.setProperty("top",pe.top),pe.left!==null&&(le.style.left=pe.left),le.style.transformOrigin=pe.transformOrigin,V(!0)},[B]);w.useEffect(()=>(k&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F)),[s,k,F]);const Y=()=>{F()},G=()=>{V(!1)};w.useEffect(()=>{y&&F()}),w.useImperativeHandle(o,()=>y?{updatePosition:()=>{F()}}:null,[y,F]),w.useEffect(()=>{if(!y)return;const le=zc(()=>{F()}),pe=Br(hl(s));return pe.addEventListener("resize",le),()=>{le.clear(),pe.removeEventListener("resize",le)}},[s,y,F]);let U=O;const z={slots:{transition:I,...C},slotProps:{transition:T,paper:m,...x}},[X,de]=Et("transition",{elementType:fi,externalForwardedProps:z,ownerState:j,getSlotProps:le=>({...le,onEntering:(pe,q)=>{var ne;(ne=le.onEntering)==null||ne.call(le,pe,q),Y()},onExited:pe=>{var q;(q=le.onExited)==null||q.call(le,pe),G()}}),additionalProps:{appear:!0,in:y}});O==="auto"&&!X.muiSupportAuto&&(U=void 0);const re=h||(s?kn(hl(s)).body:void 0),[ie,{slots:K,slotProps:se,...ce}]=Et("root",{ref:n,elementType:kA,externalForwardedProps:{...z,...D},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:C.backdrop},slotProps:{backdrop:OE(typeof x.backdrop=="function"?x.backdrop(j):x.backdrop,{invisible:!0})},container:re,open:y},ownerState:j,className:xe(E.root,p)}),[ee,te]=Et("paper",{ref:A,className:E.paper,elementType:ky,externalForwardedProps:z,shouldForwardComponentProp:!0,additionalProps:{elevation:g,style:L?void 0:{opacity:0}},ownerState:j});return S.jsx(ie,{...ce,...!il(ie)&&{slots:K,slotProps:se,disableScrollLock:k},children:S.jsx(X,{...de,timeout:U,children:S.jsx(ee,{...te,children:f})})})});process.env.NODE_ENV!=="production"&&(Ay.propTypes={action:Rt,anchorEl:Mo(i.oneOfType([Do,i.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=hl(e.anchorEl);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
259
- `))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
260
- `))}return null}),anchorOrigin:i.shape({horizontal:i.oneOfType([i.oneOf(["center","left","right"]),i.number]).isRequired,vertical:i.oneOfType([i.oneOf(["bottom","center","top"]),i.number]).isRequired}),anchorPosition:i.shape({left:i.number.isRequired,top:i.number.isRequired}),anchorReference:i.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:i.elementType,BackdropProps:i.object,children:i.node,classes:i.object,className:i.string,container:i.oneOfType([Do,i.func]),disableScrollLock:i.bool,elevation:rv,marginThreshold:i.number,onClose:i.func,open:i.bool.isRequired,PaperProps:i.shape({component:Hc}),slotProps:i.shape({backdrop:i.oneOfType([i.func,i.object]),paper:i.oneOfType([i.func,i.object]),root:i.oneOfType([i.func,i.object]),transition:i.oneOfType([i.func,i.object])}),slots:i.shape({backdrop:i.elementType,paper:i.elementType,root:i.elementType,transition:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),transformOrigin:i.shape({horizontal:i.oneOfType([i.oneOf(["center","left","right"]),i.number]).isRequired,vertical:i.oneOfType([i.oneOf(["bottom","center","top"]),i.number]).isRequired}),TransitionComponent:i.elementType,transitionDuration:i.oneOfType([i.oneOf(["auto"]),i.number,i.shape({appear:i.number,enter:i.number,exit:i.number})]),TransitionProps:i.object});function AA(e){return _e("MuiMenu",e)}Re("MuiMenu",["root","paper","list"]);const NA={vertical:"top",horizontal:"right"},RA={vertical:"top",horizontal:"left"},FA=e=>{const{classes:t}=e;return Ve({root:["root"],paper:["paper"],list:["list"]},AA,t)},VA=ue(Ay,{shouldForwardProp:e=>xr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),LA=ue(ky,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),_A=ue(bu,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Vp=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:f,open:p,PaperProps:h={},PopoverClasses:g,transitionDuration:v="auto",TransitionProps:{onEntering:y,...m}={},variant:C="selectedMenu",slots:x={},slotProps:M={},...I}=r,O=xn(),T={...r,autoFocus:o,disableAutoFocusItem:c,MenuListProps:u,onEntering:y,PaperProps:h,transitionDuration:v,TransitionProps:m,variant:C},k=FA(T),D=o&&!c&&p,A=w.useRef(null),j=(U,z)=>{A.current&&A.current.adjustStyleForScrollbar(U,{direction:O?"rtl":"ltr"}),y&&y(U,z)},E=U=>{U.key==="Tab"&&(U.preventDefault(),f&&f(U,"tabKeyDown"))};let R=-1;w.Children.map(s,(U,z)=>{w.isValidElement(U)&&(process.env.NODE_ENV!=="production"&&Xc.isFragment(U)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
261
- `)),U.props.disabled||(C==="selectedMenu"&&U.props.selected||R===-1)&&(R=z))});const H={slots:x,slotProps:{list:u,transition:m,paper:h,...M}},B=pt({elementType:x.root,externalSlotProps:M.root,ownerState:T,className:[k.root,l]}),[L,V]=Et("paper",{className:k.paper,elementType:LA,externalForwardedProps:H,shouldForwardComponentProp:!0,ownerState:T}),[F,Y]=Et("list",{className:xe(k.list,u.className),elementType:_A,shouldForwardComponentProp:!0,externalForwardedProps:H,getSlotProps:U=>({...U,onKeyDown:z=>{var X;E(z),(X=U.onKeyDown)==null||X.call(U,z)}}),ownerState:T}),G=typeof H.slotProps.transition=="function"?H.slotProps.transition(T):H.slotProps.transition;return S.jsx(VA,{onClose:f,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?NA:RA,slots:{root:x.root,paper:L,backdrop:x.backdrop,...x.transition&&{transition:x.transition}},slotProps:{root:B,paper:V,backdrop:typeof M.backdrop=="function"?M.backdrop(T):M.backdrop,transition:{...G,onEntering:(...U)=>{var z;j(...U),(z=G==null?void 0:G.onEntering)==null||z.call(G,...U)}}},open:p,ref:n,transitionDuration:v,ownerState:T,...I,classes:g,children:S.jsx(F,{actions:A,autoFocus:o&&(R===-1||c),autoFocusItem:D,variant:C,...Y,children:s})})});process.env.NODE_ENV!=="production"&&(Vp.propTypes={anchorEl:i.oneOfType([Do,i.func]),autoFocus:i.bool,children:i.node,classes:i.object,className:i.string,disableAutoFocusItem:i.bool,MenuListProps:i.object,onClose:i.func,open:i.bool.isRequired,PaperProps:i.object,PopoverClasses:i.object,slotProps:i.shape({backdrop:i.oneOfType([i.func,i.object]),list:i.oneOfType([i.func,i.object]),paper:i.oneOfType([i.func,i.object]),root:i.oneOfType([i.func,i.object]),transition:i.oneOfType([i.func,i.object])}),slots:i.shape({backdrop:i.elementType,list:i.elementType,paper:i.elementType,root:i.elementType,transition:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),transitionDuration:i.oneOfType([i.oneOf(["auto"]),i.number,i.shape({appear:i.number,enter:i.number,exit:i.number})]),TransitionProps:i.object,variant:i.oneOf(["menu","selectedMenu"])});function BA(e){return _e("MuiMenuItem",e)}const ml=Re("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),$A=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},WA=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:s,classes:l}=e,u=Ve({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",s&&"selected"]},BA,l);return{...l,...u}},jA=ue(Ro,{shouldForwardProp:e=>xr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:$A})(at(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ml.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ml.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ml.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ml.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ml.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${gy.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${gy.inset}`]:{marginLeft:52},[`& .${Ty.root}`]:{marginTop:0,marginBottom:0},[`& .${Ty.inset}`]:{paddingLeft:36},[`& .${Iy.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Iy.root} svg`]:{fontSize:"1.25rem"}}}]}))),vu=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:s="li",dense:l=!1,divider:c=!1,disableGutters:u=!1,focusVisibleClassName:f,role:p="menuitem",tabIndex:h,className:g,...v}=r,y=w.useContext(pi),m=w.useMemo(()=>({dense:l||y.dense||!1,disableGutters:u}),[y.dense,l,u]),C=w.useRef(null);gn(()=>{o&&(C.current?C.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[o]);const x={...r,dense:m.dense,divider:c,disableGutters:u},M=WA(r),I=Ct(C,n);let O;return r.disabled||(O=h!==void 0?h:-1),S.jsx(pi.Provider,{value:m,children:S.jsx(jA,{ref:I,role:p,tabIndex:O,component:s,focusVisibleClassName:xe(M.focusVisible,f),className:xe(M.root,g),...v,ownerState:x,classes:M})})});process.env.NODE_ENV!=="production"&&(vu.propTypes={autoFocus:i.bool,children:i.node,classes:i.object,className:i.string,component:i.elementType,dense:i.bool,disabled:i.bool,disableGutters:i.bool,divider:i.bool,focusVisibleClassName:i.string,role:i.string,selected:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tabIndex:i.number});function HA(e){return _e("MuiNativeSelect",e)}const Lp=Re("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),zA=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:s,error:l}=e,c={select:["select",n,r&&"disabled",o&&"multiple",l&&"error"],icon:["icon",`icon${Pe(n)}`,s&&"iconOpen",r&&"disabled"]};return Ve(c,HA,t)},Ny=ue("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Lp.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),GA=ue(Ny,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:xr,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Lp.multiple}`]:t.multiple}]}})({}),Ry=ue("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Lp.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),YA=ue(Ry,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Pe(n.variant)}`],n.open&&t.iconOpen]}})({}),Fy=w.forwardRef(function(t,n){const{className:r,disabled:o,error:s,IconComponent:l,inputRef:c,variant:u="standard",...f}=t,p={...t,disabled:o,variant:u,error:s},h=zA(p);return S.jsxs(w.Fragment,{children:[S.jsx(GA,{ownerState:p,className:xe(h.select,r),disabled:o,ref:c||n,...f}),t.multiple?null:S.jsx(YA,{as:l,ownerState:p,className:h.icon})]})});process.env.NODE_ENV!=="production"&&(Fy.propTypes={children:i.node,classes:i.object,className:i.string,disabled:i.bool,error:i.bool,IconComponent:i.elementType.isRequired,inputRef:Rt,multiple:i.bool,name:i.string,onChange:i.func,value:i.any,variant:i.oneOf(["standard","outlined","filled"])});var Vy;const UA=ue("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:xr})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),XA=ue("legend",{name:"MuiNotchedOutlined",shouldForwardProp:xr})(at(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function Ly(e){const{children:t,classes:n,className:r,label:o,notched:s,...l}=e,c=o!=null&&o!=="",u={...e,notched:s,withLabel:c};return S.jsx(UA,{"aria-hidden":!0,className:r,ownerState:u,...l,children:S.jsx(XA,{ownerState:u,children:c?S.jsx("span",{children:o}):Vy||(Vy=S.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}process.env.NODE_ENV!=="production"&&(Ly.propTypes={children:i.node,classes:i.object,className:i.string,label:i.node,notched:i.bool.isRequired,style:i.object});const ZA=e=>{const{classes:t}=e,r=Ve({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},zD,t);return{...t,...r}},qA=ue(uu,{shouldForwardProp:e=>xr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:lu})(at(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${lo.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${lo.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${lo.focused} .${lo.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(En()).map(([n])=>({props:{color:n},style:{[`&.${lo.focused} .${lo.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${lo.error} .${lo.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${lo.disabled} .${lo.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),JA=ue(Ly,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(at(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),KA=ue(du,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:cu})(at(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),yu=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiOutlinedInput"}),{components:o={},fullWidth:s=!1,inputComponent:l="input",label:c,multiline:u=!1,notched:f,slots:p={},slotProps:h={},type:g="text",...v}=r,y=ZA(r),m=$r(),C=As({props:r,muiFormControl:m,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x={...r,color:C.color||"primary",disabled:C.disabled,error:C.error,focused:C.focused,formControl:m,fullWidth:s,hiddenLabel:C.hiddenLabel,multiline:u,size:C.size,type:g},M=p.root??o.Root??qA,I=p.input??o.Input??KA,[O,T]=Et("notchedOutline",{elementType:JA,className:y.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:p,slotProps:h},additionalProps:{label:c!=null&&c!==""&&C.required?S.jsxs(w.Fragment,{children:[c," ","*"]}):c}});return S.jsx(fu,{slots:{root:M,input:I},slotProps:h,renderSuffix:k=>S.jsx(O,{...T,notched:typeof f<"u"?f:!!(k.startAdornment||k.filled||k.focused)}),fullWidth:s,inputComponent:l,multiline:u,ref:n,type:g,...v,classes:{...y,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(yu.propTypes={autoComplete:i.string,autoFocus:i.bool,classes:i.object,color:i.oneOfType([i.oneOf(["primary","secondary"]),i.string]),components:i.shape({Input:i.elementType,Root:i.elementType}),defaultValue:i.any,disabled:i.bool,endAdornment:i.node,error:i.bool,fullWidth:i.bool,id:i.string,inputComponent:i.elementType,inputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none"]),maxRows:i.oneOfType([i.number,i.string]),minRows:i.oneOfType([i.number,i.string]),multiline:i.bool,name:i.string,notched:i.bool,onChange:i.func,placeholder:i.string,readOnly:i.bool,required:i.bool,rows:i.oneOfType([i.number,i.string]),slotProps:i.shape({input:i.object,notchedOutline:i.oneOfType([i.func,i.object]),root:i.object}),slots:i.shape({input:i.elementType,notchedOutline:i.elementType,root:i.elementType}),startAdornment:i.node,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),type:i.string,value:i.any}),yu.muiName="Input";function _y(e){return _e("MuiSelect",e)}const gl=Re("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var By;const QA=ue(Ny,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${gl.select}`]:t.select},{[`&.${gl.select}`]:t[n.variant]},{[`&.${gl.error}`]:t.error},{[`&.${gl.multiple}`]:t.multiple}]}})({[`&.${gl.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),eN=ue(Ry,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Pe(n.variant)}`],n.open&&t.iconOpen]}})({}),tN=ue("input",{shouldForwardProp:e=>wv(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function $y(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function nN(e){return e==null||typeof e=="string"&&!e.trim()}const rN=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:s,error:l}=e,c={select:["select",n,r&&"disabled",o&&"multiple",l&&"error"],icon:["icon",`icon${Pe(n)}`,s&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Ve(c,_y,t)},Wy=w.forwardRef(function(t,n){var Tn;const{"aria-describedby":r,"aria-label":o,autoFocus:s,autoWidth:l,children:c,className:u,defaultOpen:f,defaultValue:p,disabled:h,displayEmpty:g,error:v=!1,IconComponent:y,inputRef:m,labelId:C,MenuProps:x={},multiple:M,name:I,onBlur:O,onChange:T,onClose:k,onFocus:D,onOpen:A,open:j,readOnly:E,renderValue:R,required:H,SelectDisplayProps:B={},tabIndex:L,type:V,value:F,variant:Y="standard",...G}=t,[U,z]=ro({controlled:F,default:p,name:"Select"}),[X,de]=ro({controlled:j,default:f,name:"Select"}),re=w.useRef(null),ie=w.useRef(null),[K,se]=w.useState(null),{current:ce}=w.useRef(j!=null),[ee,te]=w.useState(),le=Ct(n,m),pe=w.useCallback(Be=>{ie.current=Be,Be&&se(Be)},[]),q=K==null?void 0:K.parentNode;w.useImperativeHandle(le,()=>({focus:()=>{ie.current.focus()},node:re.current,value:U}),[U]),w.useEffect(()=>{f&&X&&K&&!ce&&(te(l?null:q.clientWidth),ie.current.focus())},[K,l]),w.useEffect(()=>{s&&ie.current.focus()},[s]),w.useEffect(()=>{if(!C)return;const Be=kn(ie.current).getElementById(C);if(Be){const Je=()=>{getSelection().isCollapsed&&ie.current.focus()};return Be.addEventListener("click",Je),()=>{Be.removeEventListener("click",Je)}}},[C]);const ne=(Be,Je)=>{Be?A&&A(Je):k&&k(Je),ce||(te(l?null:q.clientWidth),de(Be))},fe=Be=>{Be.button===0&&(Be.preventDefault(),ie.current.focus(),ne(!0,Be))},be=Be=>{ne(!1,Be)},ve=w.Children.toArray(c),he=Be=>{const Je=ve.find(Tt=>Tt.props.value===Be.target.value);Je!==void 0&&(z(Je.props.value),T&&T(Be,Je))},ge=Be=>Je=>{let Tt;if(Je.currentTarget.hasAttribute("tabindex")){if(M){Tt=Array.isArray(U)?U.slice():[];const ke=U.indexOf(Be.props.value);ke===-1?Tt.push(Be.props.value):Tt.splice(ke,1)}else Tt=Be.props.value;if(Be.props.onClick&&Be.props.onClick(Je),U!==Tt&&(z(Tt),T)){const ke=Je.nativeEvent||Je,Qe=new ke.constructor(ke.type,ke);Object.defineProperty(Qe,"target",{writable:!0,value:{value:Tt,name:I}}),T(Qe,Be)}M||ne(!1,Je)}},Ce=Be=>{E||[" ","ArrowUp","ArrowDown","Enter"].includes(Be.key)&&(Be.preventDefault(),ne(!0,Be))},Te=K!==null&&X,Ee=Be=>{!Te&&O&&(Object.defineProperty(Be,"target",{writable:!0,value:{value:U,name:I}}),O(Be))};delete G["aria-invalid"];let Me,dt;const ct=[];let it=!1,It=!1;(au({value:U})||g)&&(R?Me=R(U):it=!0);const At=ve.map(Be=>{if(!w.isValidElement(Be))return null;process.env.NODE_ENV!=="production"&&Xc.isFragment(Be)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
262
- `));let Je;if(M){if(!Array.isArray(U))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":Kr(2));Je=U.some(Tt=>$y(Tt,Be.props.value)),Je&&it&&ct.push(Be.props.children)}else Je=$y(U,Be.props.value),Je&&it&&(dt=Be.props.children);return Je&&(It=!0),w.cloneElement(Be,{"aria-selected":Je?"true":"false",onClick:ge(Be),onKeyUp:Tt=>{Tt.key===" "&&Tt.preventDefault(),Be.props.onKeyUp&&Be.props.onKeyUp(Tt)},role:"option",selected:Je,value:void 0,"data-value":Be.props.value})});process.env.NODE_ENV!=="production"&&w.useEffect(()=>{if(!It&&!M&&U!==""){const Be=ve.map(Je=>Je.props.value);console.warn([`MUI: You have provided an out-of-range value \`${U}\` for the select ${I?`(name="${I}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${Be.filter(Je=>Je!=null).map(Je=>`\`${Je}\``).join(", ")||'""'}.`].join(`
263
- `))}},[It,ve,M,I,U]),it&&(M?ct.length===0?Me=null:Me=ct.reduce((Be,Je,Tt)=>(Be.push(Je),Tt<ct.length-1&&Be.push(", "),Be),[]):Me=dt);let Vt=ee;!l&&ce&&K&&(Vt=q.clientWidth);let sn;typeof L<"u"?sn=L:sn=h?null:0;const In=B.id||(I?`mui-component-select-${I}`:void 0),Ue={...t,variant:Y,value:U,open:Te,error:v},an=rN(Ue),Zt={...x.PaperProps,...(Tn=x.slotProps)==null?void 0:Tn.paper},qt=wr();return S.jsxs(w.Fragment,{children:[S.jsx(QA,{as:"div",ref:pe,tabIndex:sn,role:"combobox","aria-controls":Te?qt:void 0,"aria-disabled":h?"true":void 0,"aria-expanded":Te?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[C,In].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":H?"true":void 0,"aria-invalid":v?"true":void 0,onKeyDown:Ce,onMouseDown:h||E?null:fe,onBlur:Ee,onFocus:D,...B,ownerState:Ue,className:xe(B.className,an.select,u),id:In,children:nN(Me)?By||(By=S.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):Me}),S.jsx(tN,{"aria-invalid":v,value:Array.isArray(U)?U.join(","):U,name:I,ref:re,"aria-hidden":!0,onChange:he,tabIndex:-1,disabled:h,className:an.nativeInput,autoFocus:s,required:H,...G,ownerState:Ue}),S.jsx(eN,{as:y,className:an.icon,ownerState:Ue}),S.jsx(Vp,{id:`menu-${I||""}`,anchorEl:q,open:Te,onClose:be,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...x,slotProps:{...x.slotProps,list:{"aria-labelledby":C,role:"listbox","aria-multiselectable":M?"true":void 0,disableListWrap:!0,id:qt,...x.MenuListProps},paper:{...Zt,style:{minWidth:Vt,...Zt!=null?Zt.style:null}}},children:At})]})});process.env.NODE_ENV!=="production"&&(Wy.propTypes={"aria-describedby":i.string,"aria-label":i.string,autoFocus:i.bool,autoWidth:i.bool,children:i.node,classes:i.object,className:i.string,defaultOpen:i.bool,defaultValue:i.any,disabled:i.bool,displayEmpty:i.bool,error:i.bool,IconComponent:i.elementType.isRequired,inputRef:Rt,labelId:i.string,MenuProps:i.object,multiple:i.bool,name:i.string,onBlur:i.func,onChange:i.func,onClose:i.func,onFocus:i.func,onOpen:i.func,open:i.bool,readOnly:i.bool,renderValue:i.func,required:i.bool,SelectDisplayProps:i.object,tabIndex:i.oneOfType([i.number,i.string]),type:i.any,value:i.any,variant:i.oneOf(["standard","outlined","filled"])});const oN=e=>{const{classes:t}=e,r=Ve({root:["root"]},_y,t);return{...t,...r}},_p={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>xr(e)&&e!=="variant",slot:"Root"},iN=ue(gu,_p)(""),sN=ue(yu,_p)(""),aN=ue(hu,_p)(""),Bp=w.forwardRef(function(t,n){const r=ht({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:s,classes:l={},className:c,defaultOpen:u=!1,displayEmpty:f=!1,IconComponent:p=YD,id:h,input:g,inputProps:v,label:y,labelId:m,MenuProps:C,multiple:x=!1,native:M=!1,onClose:I,onOpen:O,open:T,renderValue:k,SelectDisplayProps:D,variant:A="outlined",...j}=r,E=M?Fy:Wy,R=$r(),H=As({props:r,muiFormControl:R,states:["variant","error"]}),B=H.variant||A,L={...r,variant:B,classes:l},V=oN(L),{root:F,...Y}=V,G=g||{standard:S.jsx(iN,{ownerState:L}),outlined:S.jsx(sN,{label:y,ownerState:L}),filled:S.jsx(aN,{ownerState:L})}[B],U=Ct(n,Li(G));return S.jsx(w.Fragment,{children:w.cloneElement(G,{inputComponent:E,inputProps:{children:s,error:H.error,IconComponent:p,variant:B,type:void 0,multiple:x,...M?{id:h}:{autoWidth:o,defaultOpen:u,displayEmpty:f,labelId:m,MenuProps:C,onClose:I,onOpen:O,open:T,renderValue:k,SelectDisplayProps:{id:h,...D}},...v,classes:v?Bn(Y,v.classes):Y,...g?g.props.inputProps:{}},...(x&&M||f)&&B==="outlined"?{notched:!0}:{},ref:U,className:xe(G.props.className,c,V.root),...!g&&{variant:B},...j})})});process.env.NODE_ENV!=="production"&&(Bp.propTypes={autoWidth:i.bool,children:i.node,classes:i.object,className:i.string,defaultOpen:i.bool,defaultValue:i.any,displayEmpty:i.bool,IconComponent:i.elementType,id:i.string,input:i.element,inputProps:i.object,label:i.node,labelId:i.string,MenuProps:i.object,multiple:i.bool,native:i.bool,onChange:i.func,onClose:i.func,onOpen:i.func,open:i.bool,renderValue:i.func,SelectDisplayProps:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.oneOfType([i.oneOf([""]),i.any]),variant:i.oneOf(["filled","outlined","standard"])}),Bp.muiName="Select";const lN={entering:{transform:"none"},entered:{transform:"none"}},jy=w.forwardRef(function(t,n){const r=No(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,easing:u,in:f,onEnter:p,onEntered:h,onEntering:g,onExit:v,onExited:y,onExiting:m,style:C,timeout:x=o,TransitionComponent:M=sr,...I}=t,O=w.useRef(null),T=Ct(O,Li(c),n),k=L=>V=>{if(L){const F=O.current;V===void 0?L(F):L(F,V)}},D=k(g),A=k((L,V)=>{sp(L);const F=Ps({style:C,timeout:x,easing:u},{mode:"enter"});L.style.webkitTransition=r.transitions.create("transform",F),L.style.transition=r.transitions.create("transform",F),p&&p(L,V)}),j=k(h),E=k(m),R=k(L=>{const V=Ps({style:C,timeout:x,easing:u},{mode:"exit"});L.style.webkitTransition=r.transitions.create("transform",V),L.style.transition=r.transitions.create("transform",V),v&&v(L)}),H=k(y),B=L=>{s&&s(O.current,L)};return S.jsx(M,{appear:l,in:f,nodeRef:O,onEnter:A,onEntered:j,onEntering:D,onExit:R,onExited:H,onExiting:E,addEndListener:B,timeout:x,...I,children:(L,{ownerState:V,...F})=>w.cloneElement(c,{style:{transform:"scale(0)",visibility:L==="exited"&&!f?"hidden":void 0,...lN[L],...C,...c.props.style},ref:T,...F})})});process.env.NODE_ENV!=="production"&&(jy.propTypes={addEndListener:i.func,appear:i.bool,children:Vi.isRequired,easing:i.oneOfType([i.shape({enter:i.string,exit:i.string}),i.string]),in:i.bool,onEnter:i.func,onEntered:i.func,onEntering:i.func,onExit:i.func,onExited:i.func,onExiting:i.func,style:i.object,timeout:i.oneOfType([i.number,i.shape({appear:i.number,enter:i.number,exit:i.number})])});function cN(e){return _e("MuiTooltip",e)}const xt=Re("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function uN(e){return Math.round(e*1e5)/1e5}const dN=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:s}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Pe(s.split("-")[0])}`],arrow:["arrow"]};return Ve(l,cN,t)},fN=ue(iu,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(at(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${xt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${xt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${xt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${xt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${xt.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${xt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${xt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${xt.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),pN=ue("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Pe(n.placement.split("-")[0])}`]]}})(at(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:mt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${xt.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${xt.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${xt.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${xt.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${uN(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${xt.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${xt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${xt.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${xt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${xt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${xt.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${xt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${xt.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${xt.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${xt.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),hN=ue("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(at(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:mt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Cu=!1;const Hy=new Gc;let bl={x:0,y:0};function wu(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const zy=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiTooltip"}),{arrow:o=!1,children:s,classes:l,components:c={},componentsProps:u={},describeChild:f=!1,disableFocusListener:p=!1,disableHoverListener:h=!1,disableInteractive:g=!1,disableTouchListener:v=!1,enterDelay:y=100,enterNextDelay:m=0,enterTouchDelay:C=700,followCursor:x=!1,id:M,leaveDelay:I=0,leaveTouchDelay:O=1500,onClose:T,onOpen:k,open:D,placement:A="bottom",PopperComponent:j,PopperProps:E={},slotProps:R={},slots:H={},title:B,TransitionComponent:L,TransitionProps:V,...F}=r,Y=w.isValidElement(s)?s:S.jsx("span",{children:s}),G=No(),U=xn(),[z,X]=w.useState(),[de,re]=w.useState(null),ie=w.useRef(!1),K=g||x,se=Is(),ce=Is(),ee=Is(),te=Is(),[le,pe]=ro({controlled:D,default:!1,name:"Tooltip",state:"open"});let q=le;if(process.env.NODE_ENV!=="production"){const{current:Ae}=w.useRef(D!==void 0);w.useEffect(()=>{z&&z.disabled&&!Ae&&B!==""&&z.tagName.toLowerCase()==="button"&&console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
264
- `))},[B,z,Ae])}const ne=wr(M),fe=w.useRef(),be=De(()=>{fe.current!==void 0&&(document.body.style.WebkitUserSelect=fe.current,fe.current=void 0),te.clear()});w.useEffect(()=>be,[be]);const ve=Ae=>{Hy.clear(),Cu=!0,pe(!0),k&&!q&&k(Ae)},he=De(Ae=>{Hy.start(800+I,()=>{Cu=!1}),pe(!1),T&&q&&T(Ae),se.start(G.transitions.duration.shortest,()=>{ie.current=!1})}),ge=Ae=>{ie.current&&Ae.type!=="touchstart"||(z&&z.removeAttribute("title"),ce.clear(),ee.clear(),y||Cu&&m?ce.start(Cu?m:y,()=>{ve(Ae)}):ve(Ae))},Ce=Ae=>{ce.clear(),ee.start(I,()=>{he(Ae)})},[,Te]=w.useState(!1),Ee=Ae=>{Yc(Ae.target)||(Te(!1),Ce(Ae))},Me=Ae=>{z||X(Ae.currentTarget),Yc(Ae.target)&&(Te(!0),ge(Ae))},dt=Ae=>{ie.current=!0;const Fn=Y.props;Fn.onTouchStart&&Fn.onTouchStart(Ae)},ct=Ae=>{dt(Ae),ee.clear(),se.clear(),be(),fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",te.start(C,()=>{document.body.style.WebkitUserSelect=fe.current,ge(Ae)})},it=Ae=>{Y.props.onTouchEnd&&Y.props.onTouchEnd(Ae),be(),ee.start(O,()=>{he(Ae)})};w.useEffect(()=>{if(!q)return;function Ae(Fn){Fn.key==="Escape"&&he(Fn)}return document.addEventListener("keydown",Ae),()=>{document.removeEventListener("keydown",Ae)}},[he,q]);const It=Ct(Li(Y),X,n);!B&&B!==0&&(q=!1);const At=w.useRef(),Vt=Ae=>{const Fn=Y.props;Fn.onMouseMove&&Fn.onMouseMove(Ae),bl={x:Ae.clientX,y:Ae.clientY},At.current&&At.current.update()},sn={},In=typeof B=="string";f?(sn.title=!q&&In&&!h?B:null,sn["aria-describedby"]=q?ne:null):(sn["aria-label"]=In?B:null,sn["aria-labelledby"]=q&&!In?ne:null);const Ue={...sn,...F,...Y.props,className:xe(F.className,Y.props.className),onTouchStart:dt,ref:It,...x?{onMouseMove:Vt}:{}};process.env.NODE_ENV!=="production"&&(Ue["data-mui-internal-clone-element"]=!0,w.useEffect(()=>{z&&!z.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
265
- `))},[z]));const an={};v||(Ue.onTouchStart=ct,Ue.onTouchEnd=it),h||(Ue.onMouseOver=wu(ge,Ue.onMouseOver),Ue.onMouseLeave=wu(Ce,Ue.onMouseLeave),K||(an.onMouseOver=ge,an.onMouseLeave=Ce)),p||(Ue.onFocus=wu(Me,Ue.onFocus),Ue.onBlur=wu(Ee,Ue.onBlur),K||(an.onFocus=Me,an.onBlur=Ee)),process.env.NODE_ENV!=="production"&&Y.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${Y.props.title}\` or the Tooltip component.`].join(`
266
- `));const Zt={...r,isRtl:U,arrow:o,disableInteractive:K,placement:A,PopperComponentProp:j,touch:ie.current},qt=typeof R.popper=="function"?R.popper(Zt):R.popper,Tn=w.useMemo(()=>{var Fn,Le;let Ae=[{name:"arrow",enabled:!!de,options:{element:de,padding:4}}];return(Fn=E.popperOptions)!=null&&Fn.modifiers&&(Ae=Ae.concat(E.popperOptions.modifiers)),(Le=qt==null?void 0:qt.popperOptions)!=null&&Le.modifiers&&(Ae=Ae.concat(qt.popperOptions.modifiers)),{...E.popperOptions,...qt==null?void 0:qt.popperOptions,modifiers:Ae}},[de,E.popperOptions,qt==null?void 0:qt.popperOptions]),Be=dN(Zt),Je=typeof R.transition=="function"?R.transition(Zt):R.transition,Tt={slots:{popper:c.Popper,transition:c.Transition??L,tooltip:c.Tooltip,arrow:c.Arrow,...H},slotProps:{arrow:R.arrow??u.arrow,popper:{...E,...qt??u.popper},tooltip:R.tooltip??u.tooltip,transition:{...V,...Je??u.transition}}},[ke,Qe]=Et("popper",{elementType:fN,externalForwardedProps:Tt,ownerState:Zt,className:xe(Be.popper,E==null?void 0:E.className)}),[nt,Jt]=Et("transition",{elementType:fi,externalForwardedProps:Tt,ownerState:Zt}),[Rn,xo]=Et("tooltip",{elementType:pN,className:Be.tooltip,externalForwardedProps:Tt,ownerState:Zt}),[pn,Hn]=Et("arrow",{elementType:hN,className:Be.arrow,externalForwardedProps:Tt,ownerState:Zt,ref:re});return S.jsxs(w.Fragment,{children:[w.cloneElement(Y,Ue),S.jsx(ke,{as:j??iu,placement:A,anchorEl:x?{getBoundingClientRect:()=>({top:bl.y,left:bl.x,right:bl.x,bottom:bl.y,width:0,height:0})}:z,popperRef:At,open:z?q:!1,id:ne,transition:!0,...an,...Qe,popperOptions:Tn,children:({TransitionProps:Ae})=>S.jsx(nt,{timeout:G.transitions.duration.shorter,...Ae,...Jt,children:S.jsxs(Rn,{...xo,children:[B,o?S.jsx(pn,{...Hn}):null]})})})]})});process.env.NODE_ENV!=="production"&&(zy.propTypes={arrow:i.bool,children:Vi.isRequired,classes:i.object,className:i.string,components:i.shape({Arrow:i.elementType,Popper:i.elementType,Tooltip:i.elementType,Transition:i.elementType}),componentsProps:i.shape({arrow:i.object,popper:i.object,tooltip:i.object,transition:i.object}),describeChild:i.bool,disableFocusListener:i.bool,disableHoverListener:i.bool,disableInteractive:i.bool,disableTouchListener:i.bool,enterDelay:i.number,enterNextDelay:i.number,enterTouchDelay:i.number,followCursor:i.bool,id:i.string,leaveDelay:i.number,leaveTouchDelay:i.number,onClose:i.func,onOpen:i.func,open:i.bool,placement:i.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:i.elementType,PopperProps:i.object,slotProps:i.shape({arrow:i.oneOfType([i.func,i.object]),popper:i.oneOfType([i.func,i.object]),tooltip:i.oneOfType([i.func,i.object]),transition:i.oneOfType([i.func,i.object])}),slots:i.shape({arrow:i.elementType,popper:i.elementType,tooltip:i.elementType,transition:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),title:i.node,TransitionComponent:i.elementType,TransitionProps:i.object});function mN(e){return _e("MuiTab",e)}const Pr=Re("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),gN=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:s,label:l,selected:c,disabled:u}=e,f={root:["root",s&&l&&"labelIcon",`textColor${Pe(n)}`,r&&"fullWidth",o&&"wrapped",c&&"selected",u&&"disabled"],icon:["iconWrapper","icon"]};return Ve(f,mN,t)},bN=ue(Ro,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Pe(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${Pr.iconWrapper}`]:t.iconWrapper},{[`& .${Pr.icon}`]:t.icon}]}})(at(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&(t.iconPosition==="top"||t.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&t.iconPosition!=="top"&&t.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="top",style:{[`& > .${Pr.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="bottom",style:{[`& > .${Pr.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="start",style:{[`& > .${Pr.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="end",style:{[`& > .${Pr.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${Pr.selected}`]:{opacity:1},[`&.${Pr.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${Pr.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Pr.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${Pr.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Pr.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),xu=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiTab"}),{className:o,disabled:s=!1,disableFocusRipple:l=!1,fullWidth:c,icon:u,iconPosition:f="top",indicator:p,label:h,onChange:g,onClick:v,onFocus:y,selected:m,selectionFollowsFocus:C,textColor:x="inherit",value:M,wrapped:I=!1,...O}=r,T={...r,disabled:s,disableFocusRipple:l,selected:m,icon:!!u,iconPosition:f,label:!!h,fullWidth:c,textColor:x,wrapped:I},k=gN(T),D=u&&h&&w.isValidElement(u)?w.cloneElement(u,{className:xe(k.icon,u.props.className)}):u,A=E=>{!m&&g&&g(E,M),v&&v(E)},j=E=>{C&&!m&&g&&g(E,M),y&&y(E)};return S.jsxs(bN,{focusRipple:!l,className:xe(k.root,o),ref:n,role:"tab","aria-selected":m,disabled:s,onClick:A,onFocus:j,ownerState:T,tabIndex:m?0:-1,...O,children:[f==="top"||f==="start"?S.jsxs(w.Fragment,{children:[D,h]}):S.jsxs(w.Fragment,{children:[h,D]}),p]})});process.env.NODE_ENV!=="production"&&(xu.propTypes={children:Jb,classes:i.object,className:i.string,disabled:i.bool,disableFocusRipple:i.bool,disableRipple:i.bool,icon:i.oneOfType([i.element,i.string]),iconPosition:i.oneOf(["bottom","end","start","top"]),label:i.node,onChange:i.func,onClick:i.func,onFocus:i.func,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.any,wrapped:i.bool});const vN=Yt(S.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),yN=Yt(S.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function CN(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function wN(e,t,n,r={},o=()=>{}){const{ease:s=CN,duration:l=300}=r;let c=null;const u=t[e];let f=!1;const p=()=>{f=!0},h=g=>{if(f){o(new Error("Animation cancelled"));return}c===null&&(c=g);const v=Math.min(1,(g-c)/l);if(t[e]=s(v)*(n-u)+u,v>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(h)};return u===n?(o(new Error("Element already at target position")),p):(requestAnimationFrame(h),p)}const xN={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Gy(e){const{onChange:t,...n}=e,r=w.useRef(),o=w.useRef(null),s=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return gn(()=>{const l=zc(()=>{const u=r.current;s(),u!==r.current&&t(r.current)}),c=Br(o.current);return c.addEventListener("resize",l),()=>{l.clear(),c.removeEventListener("resize",l)}},[t]),w.useEffect(()=>{s(),t(r.current)},[t]),S.jsx("div",{style:xN,...n,ref:o})}process.env.NODE_ENV!=="production"&&(Gy.propTypes={onChange:i.func.isRequired});function SN(e){return _e("MuiTabScrollButton",e)}const IN=Re("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),TN=e=>{const{classes:t,orientation:n,disabled:r}=e;return Ve({root:["root",n,r&&"disabled"]},SN,t)},ON=ue(Ro,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${IN.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),Yy=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiTabScrollButton"}),{className:o,slots:s={},slotProps:l={},direction:c,orientation:u,disabled:f,...p}=r,h=xn(),g={isRtl:h,...r},v=TN(g),y=s.StartScrollButtonIcon??vN,m=s.EndScrollButtonIcon??yN,C=pt({elementType:y,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),x=pt({elementType:m,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return S.jsx(ON,{component:"div",className:xe(v.root,o),ref:n,role:null,ownerState:g,tabIndex:null,...p,style:{...p.style,...u==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${h?-90:90}deg)`}},children:c==="left"?S.jsx(y,{...C}):S.jsx(m,{...x})})});process.env.NODE_ENV!=="production"&&(Yy.propTypes={children:i.node,classes:i.object,className:i.string,direction:i.oneOf(["left","right"]).isRequired,disabled:i.bool,orientation:i.oneOf(["horizontal","vertical"]).isRequired,slotProps:i.shape({endScrollButtonIcon:i.oneOfType([i.func,i.object]),startScrollButtonIcon:i.oneOfType([i.func,i.object])}),slots:i.shape({EndScrollButtonIcon:i.elementType,StartScrollButtonIcon:i.elementType}),style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});function PN(e){return _e("MuiTabs",e)}const Su=Re("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Uy=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,Xy=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Iu=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const s=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||s)o=n(e,o);else{o.focus();return}}},EN=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:s,centered:l,scrollButtonsHideMobile:c,classes:u}=e;return Ve({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",s&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",l&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",c&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},PN,u)},MN=ue("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Su.scrollButtons}`]:t.scrollButtons},{[`& .${Su.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(at(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${Su.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),DN=ue("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),kN=ue("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.list,t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),AN=ue("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(at(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),NN=ue(Gy)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Zy={};let qy=!1;const $p=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiTabs"}),o=No(),s=xn(),{"aria-label":l,"aria-labelledby":c,action:u,centered:f=!1,children:p,className:h,component:g="div",allowScrollButtonsMobile:v=!1,indicatorColor:y="primary",onChange:m,orientation:C="horizontal",ScrollButtonComponent:x,scrollButtons:M="auto",selectionFollowsFocus:I,slots:O={},slotProps:T={},TabIndicatorProps:k={},TabScrollButtonProps:D={},textColor:A="primary",value:j,variant:E="standard",visibleScrollbar:R=!1,...H}=r,B=E==="scrollable",L=C==="vertical",V=L?"scrollTop":"scrollLeft",F=L?"top":"left",Y=L?"bottom":"right",G=L?"clientHeight":"clientWidth",U=L?"height":"width",z={...r,component:g,allowScrollButtonsMobile:v,indicatorColor:y,orientation:C,vertical:L,scrollButtons:M,textColor:A,variant:E,visibleScrollbar:R,fixed:!B,hideScrollbar:B&&!R,scrollableX:B&&!L,scrollableY:B&&L,centered:f&&!B,scrollButtonsHideMobile:!v},X=EN(z),de=pt({elementType:O.StartScrollButtonIcon,externalSlotProps:T.startScrollButtonIcon,ownerState:z}),re=pt({elementType:O.EndScrollButtonIcon,externalSlotProps:T.endScrollButtonIcon,ownerState:z});process.env.NODE_ENV!=="production"&&f&&B&&console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');const[ie,K]=w.useState(!1),[se,ce]=w.useState(Zy),[ee,te]=w.useState(!1),[le,pe]=w.useState(!1),[q,ne]=w.useState(!1),[fe,be]=w.useState({overflow:"hidden",scrollbarWidth:0}),ve=new Map,he=w.useRef(null),ge=w.useRef(null),Ce={slots:O,slotProps:{indicator:k,scrollButton:D,...T}},Te=()=>{const Le=he.current;let We;if(Le){const bt=Le.getBoundingClientRect();We={clientWidth:Le.clientWidth,scrollLeft:Le.scrollLeft,scrollTop:Le.scrollTop,scrollWidth:Le.scrollWidth,top:bt.top,bottom:bt.bottom,left:bt.left,right:bt.right}}let rt;if(Le&&j!==!1){const bt=ge.current.children;if(bt.length>0){const Ut=bt[ve.get(j)];process.env.NODE_ENV!=="production"&&(Ut||console.error(["MUI: The `value` provided to the Tabs component is invalid.",`None of the Tabs' children match with "${j}".`,ve.keys?`You can provide one of the following values: ${Array.from(ve.keys()).join(", ")}.`:null].join(`
267
- `))),rt=Ut?Ut.getBoundingClientRect():null,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&!qy&&rt&&rt.width===0&&rt.height===0&&We.clientWidth!==0&&(We=null,console.error(["MUI: The `value` provided to the Tabs component is invalid.",`The Tab with this \`value\` ("${j}") is not part of the document layout.`,"Make sure the tab item is present in the document or that it's not `display: none`."].join(`
268
- `)),qy=!0)}}return{tabsMeta:We,tabMeta:rt}},Ee=De(()=>{const{tabsMeta:Le,tabMeta:We}=Te();let rt=0,bt;L?(bt="top",We&&Le&&(rt=We.top-Le.top+Le.scrollTop)):(bt=s?"right":"left",We&&Le&&(rt=(s?-1:1)*(We[bt]-Le[bt]+Le.scrollLeft)));const Ut={[bt]:rt,[U]:We?We[U]:0};if(typeof se[bt]!="number"||typeof se[U]!="number")ce(Ut);else{const Dr=Math.abs(se[bt]-Ut[bt]),Xo=Math.abs(se[U]-Ut[U]);(Dr>=1||Xo>=1)&&ce(Ut)}}),Me=(Le,{animation:We=!0}={})=>{We?wN(V,he.current,Le,{duration:o.transitions.duration.standard}):he.current[V]=Le},dt=Le=>{let We=he.current[V];L?We+=Le:We+=Le*(s?-1:1),Me(We)},ct=()=>{const Le=he.current[G];let We=0;const rt=Array.from(ge.current.children);for(let bt=0;bt<rt.length;bt+=1){const Ut=rt[bt];if(We+Ut[G]>Le){bt===0&&(We=Le);break}We+=Ut[G]}return We},it=()=>{dt(-1*ct())},It=()=>{dt(ct())},[At,{onChange:Vt,...sn}]=Et("scrollbar",{className:xe(X.scrollableX,X.hideScrollbar),elementType:NN,shouldForwardComponentProp:!0,externalForwardedProps:Ce,ownerState:z}),In=w.useCallback(Le=>{Vt==null||Vt(Le),be({overflow:null,scrollbarWidth:Le})},[Vt]),[Ue,an]=Et("scrollButtons",{className:xe(X.scrollButtons,D.className),elementType:Yy,externalForwardedProps:Ce,ownerState:z,additionalProps:{orientation:C,slots:{StartScrollButtonIcon:O.startScrollButtonIcon||O.StartScrollButtonIcon,EndScrollButtonIcon:O.endScrollButtonIcon||O.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:de,endScrollButtonIcon:re}}}),Zt=()=>{const Le={};Le.scrollbarSizeListener=B?S.jsx(At,{...sn,onChange:In}):null;const rt=B&&(M==="auto"&&(ee||le)||M===!0);return Le.scrollButtonStart=rt?S.jsx(Ue,{direction:s?"right":"left",onClick:it,disabled:!ee,...an}):null,Le.scrollButtonEnd=rt?S.jsx(Ue,{direction:s?"left":"right",onClick:It,disabled:!le,...an}):null,Le},qt=De(Le=>{const{tabsMeta:We,tabMeta:rt}=Te();if(!(!rt||!We)){if(rt[F]<We[F]){const bt=We[V]+(rt[F]-We[F]);Me(bt,{animation:Le})}else if(rt[Y]>We[Y]){const bt=We[V]+(rt[Y]-We[Y]);Me(bt,{animation:Le})}}}),Tn=De(()=>{B&&M!==!1&&ne(!q)});w.useEffect(()=>{const Le=zc(()=>{he.current&&Ee()});let We;const rt=Dr=>{Dr.forEach(Xo=>{Xo.removedNodes.forEach(os=>{We==null||We.unobserve(os)}),Xo.addedNodes.forEach(os=>{We==null||We.observe(os)})}),Le(),Tn()},bt=Br(he.current);bt.addEventListener("resize",Le);let Ut;return typeof ResizeObserver<"u"&&(We=new ResizeObserver(Le),Array.from(ge.current.children).forEach(Dr=>{We.observe(Dr)})),typeof MutationObserver<"u"&&(Ut=new MutationObserver(rt),Ut.observe(ge.current,{childList:!0})),()=>{Le.clear(),bt.removeEventListener("resize",Le),Ut==null||Ut.disconnect(),We==null||We.disconnect()}},[Ee,Tn]),w.useEffect(()=>{const Le=Array.from(ge.current.children),We=Le.length;if(typeof IntersectionObserver<"u"&&We>0&&B&&M!==!1){const rt=Le[0],bt=Le[We-1],Ut={root:he.current,threshold:.99},Dr=Ql=>{te(!Ql[0].isIntersecting)},Xo=new IntersectionObserver(Dr,Ut);Xo.observe(rt);const os=Ql=>{pe(!Ql[0].isIntersecting)},Pd=new IntersectionObserver(os,Ut);return Pd.observe(bt),()=>{Xo.disconnect(),Pd.disconnect()}}},[B,M,q,p==null?void 0:p.length]),w.useEffect(()=>{K(!0)},[]),w.useEffect(()=>{Ee()}),w.useEffect(()=>{qt(Zy!==se)},[qt,se]),w.useImperativeHandle(u,()=>({updateIndicator:Ee,updateScrollButtons:Tn}),[Ee,Tn]);const[Be,Je]=Et("indicator",{className:xe(X.indicator,k.className),elementType:AN,externalForwardedProps:Ce,ownerState:z,additionalProps:{style:se}}),Tt=S.jsx(Be,{...Je});let ke=0;const Qe=w.Children.map(p,Le=>{if(!w.isValidElement(Le))return null;process.env.NODE_ENV!=="production"&&Xc.isFragment(Le)&&console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
269
- `));const We=Le.props.value===void 0?ke:Le.props.value;ve.set(We,ke);const rt=We===j;return ke+=1,w.cloneElement(Le,{fullWidth:E==="fullWidth",indicator:rt&&!ie&&Tt,selected:rt,selectionFollowsFocus:I,onChange:m,textColor:A,value:We,...ke===1&&j===!1&&!Le.props.tabIndex?{tabIndex:0}:{}})}),nt=Le=>{if(Le.altKey||Le.shiftKey||Le.ctrlKey||Le.metaKey)return;const We=ge.current,rt=kn(We).activeElement;if(rt.getAttribute("role")!=="tab")return;let Ut=C==="horizontal"?"ArrowLeft":"ArrowUp",Dr=C==="horizontal"?"ArrowRight":"ArrowDown";switch(C==="horizontal"&&s&&(Ut="ArrowRight",Dr="ArrowLeft"),Le.key){case Ut:Le.preventDefault(),Iu(We,rt,Xy);break;case Dr:Le.preventDefault(),Iu(We,rt,Uy);break;case"Home":Le.preventDefault(),Iu(We,null,Uy);break;case"End":Le.preventDefault(),Iu(We,null,Xy);break}},Jt=Zt(),[Rn,xo]=Et("root",{ref:n,className:xe(X.root,h),elementType:MN,externalForwardedProps:{...Ce,...H,component:g},ownerState:z}),[pn,Hn]=Et("scroller",{ref:he,className:X.scroller,elementType:DN,externalForwardedProps:Ce,ownerState:z,additionalProps:{style:{overflow:fe.overflow,[L?`margin${s?"Left":"Right"}`:"marginBottom"]:R?void 0:-fe.scrollbarWidth}}}),[Ae,Fn]=Et("list",{ref:ge,className:xe(X.list,X.flexContainer),elementType:kN,externalForwardedProps:Ce,ownerState:z,getSlotProps:Le=>({...Le,onKeyDown:We=>{var rt;nt(We),(rt=Le.onKeyDown)==null||rt.call(Le,We)}})});return S.jsxs(Rn,{...xo,children:[Jt.scrollButtonStart,Jt.scrollbarSizeListener,S.jsxs(pn,{...Hn,children:[S.jsx(Ae,{"aria-label":l,"aria-labelledby":c,"aria-orientation":C==="vertical"?"vertical":null,role:"tablist",...Fn,children:Qe}),ie&&Tt]}),Jt.scrollButtonEnd]})});process.env.NODE_ENV!=="production"&&($p.propTypes={action:Rt,allowScrollButtonsMobile:i.bool,"aria-label":i.string,"aria-labelledby":i.string,centered:i.bool,children:i.node,classes:i.object,className:i.string,component:i.elementType,indicatorColor:i.oneOfType([i.oneOf(["primary","secondary"]),i.string]),onChange:i.func,orientation:i.oneOf(["horizontal","vertical"]),ScrollButtonComponent:i.elementType,scrollButtons:i.oneOf(["auto",!1,!0]),selectionFollowsFocus:i.bool,slotProps:i.shape({endScrollButtonIcon:i.oneOfType([i.func,i.object]),indicator:i.oneOfType([i.func,i.object]),list:i.oneOfType([i.func,i.object]),root:i.oneOfType([i.func,i.object]),scrollbar:i.oneOfType([i.func,i.object]),scrollButtons:i.oneOfType([i.func,i.object]),scroller:i.oneOfType([i.func,i.object]),startScrollButtonIcon:i.oneOfType([i.func,i.object])}),slots:i.shape({endScrollButtonIcon:i.elementType,EndScrollButtonIcon:i.elementType,indicator:i.elementType,list:i.elementType,root:i.elementType,scrollbar:i.elementType,scrollButtons:i.elementType,scroller:i.elementType,startScrollButtonIcon:i.elementType,StartScrollButtonIcon:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),TabIndicatorProps:i.object,TabScrollButtonProps:i.object,textColor:i.oneOf(["inherit","primary","secondary"]),value:i.any,variant:i.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:i.bool});function RN(e){return _e("MuiTextField",e)}Re("MuiTextField",["root"]);const FN={standard:gu,filled:hu,outlined:yu},VN=e=>{const{classes:t}=e;return Ve({root:["root"]},RN,t)},LN=ue(xp,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),vl=w.forwardRef(function(t,n){const r=ht({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:s=!1,children:l,className:c,color:u="primary",defaultValue:f,disabled:p=!1,error:h=!1,FormHelperTextProps:g,fullWidth:v=!1,helperText:y,id:m,InputLabelProps:C,inputProps:x,InputProps:M,inputRef:I,label:O,maxRows:T,minRows:k,multiline:D=!1,name:A,onBlur:j,onChange:E,onFocus:R,placeholder:H,required:B=!1,rows:L,select:V=!1,SelectProps:F,slots:Y={},slotProps:G={},type:U,value:z,variant:X="outlined",...de}=r,re={...r,autoFocus:s,color:u,disabled:p,error:h,fullWidth:v,multiline:D,required:B,select:V,variant:X},ie=VN(re);process.env.NODE_ENV!=="production"&&V&&!l&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const K=wr(m),se=y&&K?`${K}-helper-text`:void 0,ce=O&&K?`${K}-label`:void 0,ee=FN[X],te={slots:Y,slotProps:{input:M,inputLabel:C,htmlInput:x,formHelperText:g,select:F,...G}},le={},pe=te.slotProps.inputLabel;X==="outlined"&&(pe&&typeof pe.shrink<"u"&&(le.notched=pe.shrink),le.label=O),V&&((!F||!F.native)&&(le.id=void 0),le["aria-describedby"]=void 0);const[q,ne]=Et("root",{elementType:LN,shouldForwardComponentProp:!0,externalForwardedProps:{...te,...de},ownerState:re,className:xe(ie.root,c),ref:n,additionalProps:{disabled:p,error:h,fullWidth:v,required:B,color:u,variant:X}}),[fe,be]=Et("input",{elementType:ee,externalForwardedProps:te,additionalProps:le,ownerState:re}),[ve,he]=Et("inputLabel",{elementType:Pp,externalForwardedProps:te,ownerState:re}),[ge,Ce]=Et("htmlInput",{elementType:"input",externalForwardedProps:te,ownerState:re}),[Te,Ee]=Et("formHelperText",{elementType:Sp,externalForwardedProps:te,ownerState:re}),[Me,dt]=Et("select",{elementType:Bp,externalForwardedProps:te,ownerState:re}),ct=S.jsx(fe,{"aria-describedby":se,autoComplete:o,autoFocus:s,defaultValue:f,fullWidth:v,multiline:D,name:A,rows:L,maxRows:T,minRows:k,type:U,value:z,id:K,inputRef:I,onBlur:j,onChange:E,onFocus:R,placeholder:H,inputProps:Ce,slots:{input:Y.htmlInput?ge:void 0},...be});return S.jsxs(q,{...ne,children:[O!=null&&O!==""&&S.jsx(ve,{htmlFor:K,id:ce,...he,children:O}),V?S.jsx(Me,{"aria-describedby":se,id:K,labelId:ce,value:z,input:ct,...dt,children:l}):ct,y&&S.jsx(Te,{id:se,...Ee,children:y})]})});process.env.NODE_ENV!=="production"&&(vl.propTypes={autoComplete:i.string,autoFocus:i.bool,children:i.node,classes:i.object,className:i.string,color:i.oneOfType([i.oneOf(["primary","secondary","error","info","success","warning"]),i.string]),defaultValue:i.any,disabled:i.bool,error:i.bool,FormHelperTextProps:i.object,fullWidth:i.bool,helperText:i.node,id:i.string,InputLabelProps:i.object,inputProps:i.object,InputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none","normal"]),maxRows:i.oneOfType([i.number,i.string]),minRows:i.oneOfType([i.number,i.string]),multiline:i.bool,name:i.string,onBlur:i.func,onChange:i.func,onFocus:i.func,placeholder:i.string,required:i.bool,rows:i.oneOfType([i.number,i.string]),select:i.bool,SelectProps:i.object,size:i.oneOfType([i.oneOf(["medium","small"]),i.string]),slotProps:i.shape({formHelperText:i.oneOfType([i.func,i.object]),htmlInput:i.oneOfType([i.func,i.object]),input:i.oneOfType([i.func,i.object]),inputLabel:i.oneOfType([i.func,i.object]),select:i.oneOfType([i.func,i.object])}),slots:i.shape({formHelperText:i.elementType,htmlInput:i.elementType,input:i.elementType,inputLabel:i.elementType,root:i.elementType,select:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),type:i.string,value:i.any,variant:i.oneOf(["filled","outlined","standard"])});var Tu={exports:{}};/**
270
- * @license
271
- * Lodash <https://lodash.com/>
272
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
273
- * Released under MIT license <https://lodash.com/license>
274
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
275
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
276
- */Tu.exports,function(e,t){(function(){var n,r="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",f=500,p="__lodash_placeholder__",h=1,g=2,v=4,y=1,m=2,C=1,x=2,M=4,I=8,O=16,T=32,k=64,D=128,A=256,j=512,E=30,R="...",H=800,B=16,L=1,V=2,F=3,Y=1/0,G=9007199254740991,U=17976931348623157e292,z=NaN,X=4294967295,de=X-1,re=X>>>1,ie=[["ary",D],["bind",C],["bindKey",x],["curry",I],["curryRight",O],["flip",j],["partial",T],["partialRight",k],["rearg",A]],K="[object Arguments]",se="[object Array]",ce="[object AsyncFunction]",ee="[object Boolean]",te="[object Date]",le="[object DOMException]",pe="[object Error]",q="[object Function]",ne="[object GeneratorFunction]",fe="[object Map]",be="[object Number]",ve="[object Null]",he="[object Object]",ge="[object Promise]",Ce="[object Proxy]",Te="[object RegExp]",Ee="[object Set]",Me="[object String]",dt="[object Symbol]",ct="[object Undefined]",it="[object WeakMap]",It="[object WeakSet]",At="[object ArrayBuffer]",Vt="[object DataView]",sn="[object Float32Array]",In="[object Float64Array]",Ue="[object Int8Array]",an="[object Int16Array]",Zt="[object Int32Array]",qt="[object Uint8Array]",Tn="[object Uint8ClampedArray]",Be="[object Uint16Array]",Je="[object Uint32Array]",Tt=/\b__p \+= '';/g,ke=/\b(__p \+=) '' \+/g,Qe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,nt=/&(?:amp|lt|gt|quot|#39);/g,Jt=/[&<>"']/g,Rn=RegExp(nt.source),xo=RegExp(Jt.source),pn=/<%-([\s\S]+?)%>/g,Hn=/<%([\s\S]+?)%>/g,Ae=/<%=([\s\S]+?)%>/g,Fn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Le=/^\w*$/,We=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rt=/[\\^$.*+?()[\]{}|]/g,bt=RegExp(rt.source),Ut=/^\s+/,Dr=/\s/,Xo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,os=/\{\n\/\* \[wrapped with (.+)\] \*/,Pd=/,? & /,Ql=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,YH=/[()=,{}\[\]\/\s]/,UH=/\\(\\)?/g,XH=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,IS=/\w*$/,ZH=/^[-+]0x[0-9a-f]+$/i,qH=/^0b[01]+$/i,JH=/^\[object .+?Constructor\]$/,KH=/^0o[0-7]+$/i,QH=/^(?:0|[1-9]\d*)$/,ez=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ed=/($^)/,tz=/['\n\r\u2028\u2029\\]/g,Md="\\ud800-\\udfff",nz="\\u0300-\\u036f",rz="\\ufe20-\\ufe2f",oz="\\u20d0-\\u20ff",TS=nz+rz+oz,OS="\\u2700-\\u27bf",PS="a-z\\xdf-\\xf6\\xf8-\\xff",iz="\\xac\\xb1\\xd7\\xf7",sz="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",az="\\u2000-\\u206f",lz=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ES="A-Z\\xc0-\\xd6\\xd8-\\xde",MS="\\ufe0e\\ufe0f",DS=iz+sz+az+lz,Dm="['’]",cz="["+Md+"]",kS="["+DS+"]",Dd="["+TS+"]",AS="\\d+",uz="["+OS+"]",NS="["+PS+"]",RS="[^"+Md+DS+AS+OS+PS+ES+"]",km="\\ud83c[\\udffb-\\udfff]",dz="(?:"+Dd+"|"+km+")",FS="[^"+Md+"]",Am="(?:\\ud83c[\\udde6-\\uddff]){2}",Nm="[\\ud800-\\udbff][\\udc00-\\udfff]",ga="["+ES+"]",VS="\\u200d",LS="(?:"+NS+"|"+RS+")",fz="(?:"+ga+"|"+RS+")",_S="(?:"+Dm+"(?:d|ll|m|re|s|t|ve))?",BS="(?:"+Dm+"(?:D|LL|M|RE|S|T|VE))?",$S=dz+"?",WS="["+MS+"]?",pz="(?:"+VS+"(?:"+[FS,Am,Nm].join("|")+")"+WS+$S+")*",hz="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mz="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",jS=WS+$S+pz,gz="(?:"+[uz,Am,Nm].join("|")+")"+jS,bz="(?:"+[FS+Dd+"?",Dd,Am,Nm,cz].join("|")+")",vz=RegExp(Dm,"g"),yz=RegExp(Dd,"g"),Rm=RegExp(km+"(?="+km+")|"+bz+jS,"g"),Cz=RegExp([ga+"?"+NS+"+"+_S+"(?="+[kS,ga,"$"].join("|")+")",fz+"+"+BS+"(?="+[kS,ga+LS,"$"].join("|")+")",ga+"?"+LS+"+"+_S,ga+"+"+BS,mz,hz,AS,gz].join("|"),"g"),wz=RegExp("["+VS+Md+TS+MS+"]"),xz=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Sz=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Iz=-1,Qt={};Qt[sn]=Qt[In]=Qt[Ue]=Qt[an]=Qt[Zt]=Qt[qt]=Qt[Tn]=Qt[Be]=Qt[Je]=!0,Qt[K]=Qt[se]=Qt[At]=Qt[ee]=Qt[Vt]=Qt[te]=Qt[pe]=Qt[q]=Qt[fe]=Qt[be]=Qt[he]=Qt[Te]=Qt[Ee]=Qt[Me]=Qt[it]=!1;var Kt={};Kt[K]=Kt[se]=Kt[At]=Kt[Vt]=Kt[ee]=Kt[te]=Kt[sn]=Kt[In]=Kt[Ue]=Kt[an]=Kt[Zt]=Kt[fe]=Kt[be]=Kt[he]=Kt[Te]=Kt[Ee]=Kt[Me]=Kt[dt]=Kt[qt]=Kt[Tn]=Kt[Be]=Kt[Je]=!0,Kt[pe]=Kt[q]=Kt[it]=!1;var Tz={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Oz={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Pz={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ez={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mz=parseFloat,Dz=parseInt,HS=typeof vr=="object"&&vr&&vr.Object===Object&&vr,kz=typeof self=="object"&&self&&self.Object===Object&&self,Vn=HS||kz||Function("return this")(),Fm=t&&!t.nodeType&&t,is=Fm&&!0&&e&&!e.nodeType&&e,zS=is&&is.exports===Fm,Vm=zS&&HS.process,kr=function(){try{var oe=is&&is.require&&is.require("util").types;return oe||Vm&&Vm.binding&&Vm.binding("util")}catch{}}(),GS=kr&&kr.isArrayBuffer,YS=kr&&kr.isDate,US=kr&&kr.isMap,XS=kr&&kr.isRegExp,ZS=kr&&kr.isSet,qS=kr&&kr.isTypedArray;function fr(oe,we,me){switch(me.length){case 0:return oe.call(we);case 1:return oe.call(we,me[0]);case 2:return oe.call(we,me[0],me[1]);case 3:return oe.call(we,me[0],me[1],me[2])}return oe.apply(we,me)}function Az(oe,we,me,$e){for(var et=-1,Mt=oe==null?0:oe.length;++et<Mt;){var On=oe[et];we($e,On,me(On),oe)}return $e}function Ar(oe,we){for(var me=-1,$e=oe==null?0:oe.length;++me<$e&&we(oe[me],me,oe)!==!1;);return oe}function Nz(oe,we){for(var me=oe==null?0:oe.length;me--&&we(oe[me],me,oe)!==!1;);return oe}function JS(oe,we){for(var me=-1,$e=oe==null?0:oe.length;++me<$e;)if(!we(oe[me],me,oe))return!1;return!0}function Si(oe,we){for(var me=-1,$e=oe==null?0:oe.length,et=0,Mt=[];++me<$e;){var On=oe[me];we(On,me,oe)&&(Mt[et++]=On)}return Mt}function kd(oe,we){var me=oe==null?0:oe.length;return!!me&&ba(oe,we,0)>-1}function Lm(oe,we,me){for(var $e=-1,et=oe==null?0:oe.length;++$e<et;)if(me(we,oe[$e]))return!0;return!1}function tn(oe,we){for(var me=-1,$e=oe==null?0:oe.length,et=Array($e);++me<$e;)et[me]=we(oe[me],me,oe);return et}function Ii(oe,we){for(var me=-1,$e=we.length,et=oe.length;++me<$e;)oe[et+me]=we[me];return oe}function _m(oe,we,me,$e){var et=-1,Mt=oe==null?0:oe.length;for($e&&Mt&&(me=oe[++et]);++et<Mt;)me=we(me,oe[et],et,oe);return me}function Rz(oe,we,me,$e){var et=oe==null?0:oe.length;for($e&&et&&(me=oe[--et]);et--;)me=we(me,oe[et],et,oe);return me}function Bm(oe,we){for(var me=-1,$e=oe==null?0:oe.length;++me<$e;)if(we(oe[me],me,oe))return!0;return!1}var Fz=$m("length");function Vz(oe){return oe.split("")}function Lz(oe){return oe.match(Ql)||[]}function KS(oe,we,me){var $e;return me(oe,function(et,Mt,On){if(we(et,Mt,On))return $e=Mt,!1}),$e}function Ad(oe,we,me,$e){for(var et=oe.length,Mt=me+($e?1:-1);$e?Mt--:++Mt<et;)if(we(oe[Mt],Mt,oe))return Mt;return-1}function ba(oe,we,me){return we===we?Zz(oe,we,me):Ad(oe,QS,me)}function _z(oe,we,me,$e){for(var et=me-1,Mt=oe.length;++et<Mt;)if($e(oe[et],we))return et;return-1}function QS(oe){return oe!==oe}function e2(oe,we){var me=oe==null?0:oe.length;return me?jm(oe,we)/me:z}function $m(oe){return function(we){return we==null?n:we[oe]}}function Wm(oe){return function(we){return oe==null?n:oe[we]}}function t2(oe,we,me,$e,et){return et(oe,function(Mt,On,Xt){me=$e?($e=!1,Mt):we(me,Mt,On,Xt)}),me}function Bz(oe,we){var me=oe.length;for(oe.sort(we);me--;)oe[me]=oe[me].value;return oe}function jm(oe,we){for(var me,$e=-1,et=oe.length;++$e<et;){var Mt=we(oe[$e]);Mt!==n&&(me=me===n?Mt:me+Mt)}return me}function Hm(oe,we){for(var me=-1,$e=Array(oe);++me<oe;)$e[me]=we(me);return $e}function $z(oe,we){return tn(we,function(me){return[me,oe[me]]})}function n2(oe){return oe&&oe.slice(0,s2(oe)+1).replace(Ut,"")}function pr(oe){return function(we){return oe(we)}}function zm(oe,we){return tn(we,function(me){return oe[me]})}function ec(oe,we){return oe.has(we)}function r2(oe,we){for(var me=-1,$e=oe.length;++me<$e&&ba(we,oe[me],0)>-1;);return me}function o2(oe,we){for(var me=oe.length;me--&&ba(we,oe[me],0)>-1;);return me}function Wz(oe,we){for(var me=oe.length,$e=0;me--;)oe[me]===we&&++$e;return $e}var jz=Wm(Tz),Hz=Wm(Oz);function zz(oe){return"\\"+Ez[oe]}function Gz(oe,we){return oe==null?n:oe[we]}function va(oe){return wz.test(oe)}function Yz(oe){return xz.test(oe)}function Uz(oe){for(var we,me=[];!(we=oe.next()).done;)me.push(we.value);return me}function Gm(oe){var we=-1,me=Array(oe.size);return oe.forEach(function($e,et){me[++we]=[et,$e]}),me}function i2(oe,we){return function(me){return oe(we(me))}}function Ti(oe,we){for(var me=-1,$e=oe.length,et=0,Mt=[];++me<$e;){var On=oe[me];(On===we||On===p)&&(oe[me]=p,Mt[et++]=me)}return Mt}function Nd(oe){var we=-1,me=Array(oe.size);return oe.forEach(function($e){me[++we]=$e}),me}function Xz(oe){var we=-1,me=Array(oe.size);return oe.forEach(function($e){me[++we]=[$e,$e]}),me}function Zz(oe,we,me){for(var $e=me-1,et=oe.length;++$e<et;)if(oe[$e]===we)return $e;return-1}function qz(oe,we,me){for(var $e=me+1;$e--;)if(oe[$e]===we)return $e;return $e}function ya(oe){return va(oe)?Kz(oe):Fz(oe)}function Xr(oe){return va(oe)?Qz(oe):Vz(oe)}function s2(oe){for(var we=oe.length;we--&&Dr.test(oe.charAt(we)););return we}var Jz=Wm(Pz);function Kz(oe){for(var we=Rm.lastIndex=0;Rm.test(oe);)++we;return we}function Qz(oe){return oe.match(Rm)||[]}function eG(oe){return oe.match(Cz)||[]}var tG=function oe(we){we=we==null?Vn:Ca.defaults(Vn.Object(),we,Ca.pick(Vn,Sz));var me=we.Array,$e=we.Date,et=we.Error,Mt=we.Function,On=we.Math,Xt=we.Object,Ym=we.RegExp,nG=we.String,Nr=we.TypeError,Rd=me.prototype,rG=Mt.prototype,wa=Xt.prototype,Fd=we["__core-js_shared__"],Vd=rG.toString,Lt=wa.hasOwnProperty,oG=0,a2=function(){var a=/[^.]+$/.exec(Fd&&Fd.keys&&Fd.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),Ld=wa.toString,iG=Vd.call(Xt),sG=Vn._,aG=Ym("^"+Vd.call(Lt).replace(rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_d=zS?we.Buffer:n,Oi=we.Symbol,Bd=we.Uint8Array,l2=_d?_d.allocUnsafe:n,$d=i2(Xt.getPrototypeOf,Xt),c2=Xt.create,u2=wa.propertyIsEnumerable,Wd=Rd.splice,d2=Oi?Oi.isConcatSpreadable:n,tc=Oi?Oi.iterator:n,ss=Oi?Oi.toStringTag:n,jd=function(){try{var a=ds(Xt,"defineProperty");return a({},"",{}),a}catch{}}(),lG=we.clearTimeout!==Vn.clearTimeout&&we.clearTimeout,cG=$e&&$e.now!==Vn.Date.now&&$e.now,uG=we.setTimeout!==Vn.setTimeout&&we.setTimeout,Hd=On.ceil,zd=On.floor,Um=Xt.getOwnPropertySymbols,dG=_d?_d.isBuffer:n,f2=we.isFinite,fG=Rd.join,pG=i2(Xt.keys,Xt),Pn=On.max,zn=On.min,hG=$e.now,mG=we.parseInt,p2=On.random,gG=Rd.reverse,Xm=ds(we,"DataView"),nc=ds(we,"Map"),Zm=ds(we,"Promise"),xa=ds(we,"Set"),rc=ds(we,"WeakMap"),oc=ds(Xt,"create"),Gd=rc&&new rc,Sa={},bG=fs(Xm),vG=fs(nc),yG=fs(Zm),CG=fs(xa),wG=fs(rc),Yd=Oi?Oi.prototype:n,ic=Yd?Yd.valueOf:n,h2=Yd?Yd.toString:n;function _(a){if(hn(a)&&!ot(a)&&!(a instanceof yt)){if(a instanceof Rr)return a;if(Lt.call(a,"__wrapped__"))return mI(a)}return new Rr(a)}var Ia=function(){function a(){}return function(d){if(!ln(d))return{};if(c2)return c2(d);a.prototype=d;var b=new a;return a.prototype=n,b}}();function Ud(){}function Rr(a,d){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!d,this.__index__=0,this.__values__=n}_.templateSettings={escape:pn,evaluate:Hn,interpolate:Ae,variable:"",imports:{_}},_.prototype=Ud.prototype,_.prototype.constructor=_,Rr.prototype=Ia(Ud.prototype),Rr.prototype.constructor=Rr;function yt(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=X,this.__views__=[]}function xG(){var a=new yt(this.__wrapped__);return a.__actions__=er(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=er(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=er(this.__views__),a}function SG(){if(this.__filtered__){var a=new yt(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function IG(){var a=this.__wrapped__.value(),d=this.__dir__,b=ot(a),P=d<0,N=b?a.length:0,$=VY(0,N,this.__views__),Z=$.start,Q=$.end,ae=Q-Z,Se=P?Q:Z-1,Ie=this.__iteratees__,Oe=Ie.length,Fe=0,He=zn(ae,this.__takeCount__);if(!b||!P&&N==ae&&He==ae)return _2(a,this.__actions__);var Ze=[];e:for(;ae--&&Fe<He;){Se+=d;for(var ut=-1,qe=a[Se];++ut<Oe;){var vt=Ie[ut],wt=vt.iteratee,gr=vt.type,Zn=wt(qe);if(gr==V)qe=Zn;else if(!Zn){if(gr==L)continue e;break e}}Ze[Fe++]=qe}return Ze}yt.prototype=Ia(Ud.prototype),yt.prototype.constructor=yt;function as(a){var d=-1,b=a==null?0:a.length;for(this.clear();++d<b;){var P=a[d];this.set(P[0],P[1])}}function TG(){this.__data__=oc?oc(null):{},this.size=0}function OG(a){var d=this.has(a)&&delete this.__data__[a];return this.size-=d?1:0,d}function PG(a){var d=this.__data__;if(oc){var b=d[a];return b===u?n:b}return Lt.call(d,a)?d[a]:n}function EG(a){var d=this.__data__;return oc?d[a]!==n:Lt.call(d,a)}function MG(a,d){var b=this.__data__;return this.size+=this.has(a)?0:1,b[a]=oc&&d===n?u:d,this}as.prototype.clear=TG,as.prototype.delete=OG,as.prototype.get=PG,as.prototype.has=EG,as.prototype.set=MG;function Zo(a){var d=-1,b=a==null?0:a.length;for(this.clear();++d<b;){var P=a[d];this.set(P[0],P[1])}}function DG(){this.__data__=[],this.size=0}function kG(a){var d=this.__data__,b=Xd(d,a);if(b<0)return!1;var P=d.length-1;return b==P?d.pop():Wd.call(d,b,1),--this.size,!0}function AG(a){var d=this.__data__,b=Xd(d,a);return b<0?n:d[b][1]}function NG(a){return Xd(this.__data__,a)>-1}function RG(a,d){var b=this.__data__,P=Xd(b,a);return P<0?(++this.size,b.push([a,d])):b[P][1]=d,this}Zo.prototype.clear=DG,Zo.prototype.delete=kG,Zo.prototype.get=AG,Zo.prototype.has=NG,Zo.prototype.set=RG;function qo(a){var d=-1,b=a==null?0:a.length;for(this.clear();++d<b;){var P=a[d];this.set(P[0],P[1])}}function FG(){this.size=0,this.__data__={hash:new as,map:new(nc||Zo),string:new as}}function VG(a){var d=af(this,a).delete(a);return this.size-=d?1:0,d}function LG(a){return af(this,a).get(a)}function _G(a){return af(this,a).has(a)}function BG(a,d){var b=af(this,a),P=b.size;return b.set(a,d),this.size+=b.size==P?0:1,this}qo.prototype.clear=FG,qo.prototype.delete=VG,qo.prototype.get=LG,qo.prototype.has=_G,qo.prototype.set=BG;function ls(a){var d=-1,b=a==null?0:a.length;for(this.__data__=new qo;++d<b;)this.add(a[d])}function $G(a){return this.__data__.set(a,u),this}function WG(a){return this.__data__.has(a)}ls.prototype.add=ls.prototype.push=$G,ls.prototype.has=WG;function Zr(a){var d=this.__data__=new Zo(a);this.size=d.size}function jG(){this.__data__=new Zo,this.size=0}function HG(a){var d=this.__data__,b=d.delete(a);return this.size=d.size,b}function zG(a){return this.__data__.get(a)}function GG(a){return this.__data__.has(a)}function YG(a,d){var b=this.__data__;if(b instanceof Zo){var P=b.__data__;if(!nc||P.length<o-1)return P.push([a,d]),this.size=++b.size,this;b=this.__data__=new qo(P)}return b.set(a,d),this.size=b.size,this}Zr.prototype.clear=jG,Zr.prototype.delete=HG,Zr.prototype.get=zG,Zr.prototype.has=GG,Zr.prototype.set=YG;function m2(a,d){var b=ot(a),P=!b&&ps(a),N=!b&&!P&&ki(a),$=!b&&!P&&!N&&Ea(a),Z=b||P||N||$,Q=Z?Hm(a.length,nG):[],ae=Q.length;for(var Se in a)(d||Lt.call(a,Se))&&!(Z&&(Se=="length"||N&&(Se=="offset"||Se=="parent")||$&&(Se=="buffer"||Se=="byteLength"||Se=="byteOffset")||ei(Se,ae)))&&Q.push(Se);return Q}function g2(a){var d=a.length;return d?a[sg(0,d-1)]:n}function UG(a,d){return lf(er(a),cs(d,0,a.length))}function XG(a){return lf(er(a))}function qm(a,d,b){(b!==n&&!qr(a[d],b)||b===n&&!(d in a))&&Jo(a,d,b)}function sc(a,d,b){var P=a[d];(!(Lt.call(a,d)&&qr(P,b))||b===n&&!(d in a))&&Jo(a,d,b)}function Xd(a,d){for(var b=a.length;b--;)if(qr(a[b][0],d))return b;return-1}function ZG(a,d,b,P){return Pi(a,function(N,$,Z){d(P,N,b(N),Z)}),P}function b2(a,d){return a&&Io(d,Mn(d),a)}function qG(a,d){return a&&Io(d,nr(d),a)}function Jo(a,d,b){d=="__proto__"&&jd?jd(a,d,{configurable:!0,enumerable:!0,value:b,writable:!0}):a[d]=b}function Jm(a,d){for(var b=-1,P=d.length,N=me(P),$=a==null;++b<P;)N[b]=$?n:kg(a,d[b]);return N}function cs(a,d,b){return a===a&&(b!==n&&(a=a<=b?a:b),d!==n&&(a=a>=d?a:d)),a}function Fr(a,d,b,P,N,$){var Z,Q=d&h,ae=d&g,Se=d&v;if(b&&(Z=N?b(a,P,N,$):b(a)),Z!==n)return Z;if(!ln(a))return a;var Ie=ot(a);if(Ie){if(Z=_Y(a),!Q)return er(a,Z)}else{var Oe=Gn(a),Fe=Oe==q||Oe==ne;if(ki(a))return W2(a,Q);if(Oe==he||Oe==K||Fe&&!N){if(Z=ae||Fe?{}:sI(a),!Q)return ae?PY(a,qG(Z,a)):OY(a,b2(Z,a))}else{if(!Kt[Oe])return N?a:{};Z=BY(a,Oe,Q)}}$||($=new Zr);var He=$.get(a);if(He)return He;$.set(a,Z),FI(a)?a.forEach(function(qe){Z.add(Fr(qe,d,b,qe,a,$))}):NI(a)&&a.forEach(function(qe,vt){Z.set(vt,Fr(qe,d,b,vt,a,$))});var Ze=Se?ae?bg:gg:ae?nr:Mn,ut=Ie?n:Ze(a);return Ar(ut||a,function(qe,vt){ut&&(vt=qe,qe=a[vt]),sc(Z,vt,Fr(qe,d,b,vt,a,$))}),Z}function JG(a){var d=Mn(a);return function(b){return v2(b,a,d)}}function v2(a,d,b){var P=b.length;if(a==null)return!P;for(a=Xt(a);P--;){var N=b[P],$=d[N],Z=a[N];if(Z===n&&!(N in a)||!$(Z))return!1}return!0}function y2(a,d,b){if(typeof a!="function")throw new Nr(l);return pc(function(){a.apply(n,b)},d)}function ac(a,d,b,P){var N=-1,$=kd,Z=!0,Q=a.length,ae=[],Se=d.length;if(!Q)return ae;b&&(d=tn(d,pr(b))),P?($=Lm,Z=!1):d.length>=o&&($=ec,Z=!1,d=new ls(d));e:for(;++N<Q;){var Ie=a[N],Oe=b==null?Ie:b(Ie);if(Ie=P||Ie!==0?Ie:0,Z&&Oe===Oe){for(var Fe=Se;Fe--;)if(d[Fe]===Oe)continue e;ae.push(Ie)}else $(d,Oe,P)||ae.push(Ie)}return ae}var Pi=Y2(So),C2=Y2(Qm,!0);function KG(a,d){var b=!0;return Pi(a,function(P,N,$){return b=!!d(P,N,$),b}),b}function Zd(a,d,b){for(var P=-1,N=a.length;++P<N;){var $=a[P],Z=d($);if(Z!=null&&(Q===n?Z===Z&&!mr(Z):b(Z,Q)))var Q=Z,ae=$}return ae}function QG(a,d,b,P){var N=a.length;for(b=st(b),b<0&&(b=-b>N?0:N+b),P=P===n||P>N?N:st(P),P<0&&(P+=N),P=b>P?0:LI(P);b<P;)a[b++]=d;return a}function w2(a,d){var b=[];return Pi(a,function(P,N,$){d(P,N,$)&&b.push(P)}),b}function Ln(a,d,b,P,N){var $=-1,Z=a.length;for(b||(b=WY),N||(N=[]);++$<Z;){var Q=a[$];d>0&&b(Q)?d>1?Ln(Q,d-1,b,P,N):Ii(N,Q):P||(N[N.length]=Q)}return N}var Km=U2(),x2=U2(!0);function So(a,d){return a&&Km(a,d,Mn)}function Qm(a,d){return a&&x2(a,d,Mn)}function qd(a,d){return Si(d,function(b){return ti(a[b])})}function us(a,d){d=Mi(d,a);for(var b=0,P=d.length;a!=null&&b<P;)a=a[To(d[b++])];return b&&b==P?a:n}function S2(a,d,b){var P=d(a);return ot(a)?P:Ii(P,b(a))}function Un(a){return a==null?a===n?ct:ve:ss&&ss in Xt(a)?FY(a):XY(a)}function eg(a,d){return a>d}function eY(a,d){return a!=null&&Lt.call(a,d)}function tY(a,d){return a!=null&&d in Xt(a)}function nY(a,d,b){return a>=zn(d,b)&&a<Pn(d,b)}function tg(a,d,b){for(var P=b?Lm:kd,N=a[0].length,$=a.length,Z=$,Q=me($),ae=1/0,Se=[];Z--;){var Ie=a[Z];Z&&d&&(Ie=tn(Ie,pr(d))),ae=zn(Ie.length,ae),Q[Z]=!b&&(d||N>=120&&Ie.length>=120)?new ls(Z&&Ie):n}Ie=a[0];var Oe=-1,Fe=Q[0];e:for(;++Oe<N&&Se.length<ae;){var He=Ie[Oe],Ze=d?d(He):He;if(He=b||He!==0?He:0,!(Fe?ec(Fe,Ze):P(Se,Ze,b))){for(Z=$;--Z;){var ut=Q[Z];if(!(ut?ec(ut,Ze):P(a[Z],Ze,b)))continue e}Fe&&Fe.push(Ze),Se.push(He)}}return Se}function rY(a,d,b,P){return So(a,function(N,$,Z){d(P,b(N),$,Z)}),P}function lc(a,d,b){d=Mi(d,a),a=uI(a,d);var P=a==null?a:a[To(Lr(d))];return P==null?n:fr(P,a,b)}function I2(a){return hn(a)&&Un(a)==K}function oY(a){return hn(a)&&Un(a)==At}function iY(a){return hn(a)&&Un(a)==te}function cc(a,d,b,P,N){return a===d?!0:a==null||d==null||!hn(a)&&!hn(d)?a!==a&&d!==d:sY(a,d,b,P,cc,N)}function sY(a,d,b,P,N,$){var Z=ot(a),Q=ot(d),ae=Z?se:Gn(a),Se=Q?se:Gn(d);ae=ae==K?he:ae,Se=Se==K?he:Se;var Ie=ae==he,Oe=Se==he,Fe=ae==Se;if(Fe&&ki(a)){if(!ki(d))return!1;Z=!0,Ie=!1}if(Fe&&!Ie)return $||($=new Zr),Z||Ea(a)?rI(a,d,b,P,N,$):NY(a,d,ae,b,P,N,$);if(!(b&y)){var He=Ie&&Lt.call(a,"__wrapped__"),Ze=Oe&&Lt.call(d,"__wrapped__");if(He||Ze){var ut=He?a.value():a,qe=Ze?d.value():d;return $||($=new Zr),N(ut,qe,b,P,$)}}return Fe?($||($=new Zr),RY(a,d,b,P,N,$)):!1}function aY(a){return hn(a)&&Gn(a)==fe}function ng(a,d,b,P){var N=b.length,$=N,Z=!P;if(a==null)return!$;for(a=Xt(a);N--;){var Q=b[N];if(Z&&Q[2]?Q[1]!==a[Q[0]]:!(Q[0]in a))return!1}for(;++N<$;){Q=b[N];var ae=Q[0],Se=a[ae],Ie=Q[1];if(Z&&Q[2]){if(Se===n&&!(ae in a))return!1}else{var Oe=new Zr;if(P)var Fe=P(Se,Ie,ae,a,d,Oe);if(!(Fe===n?cc(Ie,Se,y|m,P,Oe):Fe))return!1}}return!0}function T2(a){if(!ln(a)||HY(a))return!1;var d=ti(a)?aG:JH;return d.test(fs(a))}function lY(a){return hn(a)&&Un(a)==Te}function cY(a){return hn(a)&&Gn(a)==Ee}function uY(a){return hn(a)&&hf(a.length)&&!!Qt[Un(a)]}function O2(a){return typeof a=="function"?a:a==null?rr:typeof a=="object"?ot(a)?M2(a[0],a[1]):E2(a):XI(a)}function rg(a){if(!fc(a))return pG(a);var d=[];for(var b in Xt(a))Lt.call(a,b)&&b!="constructor"&&d.push(b);return d}function dY(a){if(!ln(a))return UY(a);var d=fc(a),b=[];for(var P in a)P=="constructor"&&(d||!Lt.call(a,P))||b.push(P);return b}function og(a,d){return a<d}function P2(a,d){var b=-1,P=tr(a)?me(a.length):[];return Pi(a,function(N,$,Z){P[++b]=d(N,$,Z)}),P}function E2(a){var d=yg(a);return d.length==1&&d[0][2]?lI(d[0][0],d[0][1]):function(b){return b===a||ng(b,a,d)}}function M2(a,d){return wg(a)&&aI(d)?lI(To(a),d):function(b){var P=kg(b,a);return P===n&&P===d?Ag(b,a):cc(d,P,y|m)}}function Jd(a,d,b,P,N){a!==d&&Km(d,function($,Z){if(N||(N=new Zr),ln($))fY(a,d,Z,b,Jd,P,N);else{var Q=P?P(Sg(a,Z),$,Z+"",a,d,N):n;Q===n&&(Q=$),qm(a,Z,Q)}},nr)}function fY(a,d,b,P,N,$,Z){var Q=Sg(a,b),ae=Sg(d,b),Se=Z.get(ae);if(Se){qm(a,b,Se);return}var Ie=$?$(Q,ae,b+"",a,d,Z):n,Oe=Ie===n;if(Oe){var Fe=ot(ae),He=!Fe&&ki(ae),Ze=!Fe&&!He&&Ea(ae);Ie=ae,Fe||He||Ze?ot(Q)?Ie=Q:bn(Q)?Ie=er(Q):He?(Oe=!1,Ie=W2(ae,!0)):Ze?(Oe=!1,Ie=j2(ae,!0)):Ie=[]:hc(ae)||ps(ae)?(Ie=Q,ps(Q)?Ie=_I(Q):(!ln(Q)||ti(Q))&&(Ie=sI(ae))):Oe=!1}Oe&&(Z.set(ae,Ie),N(Ie,ae,P,$,Z),Z.delete(ae)),qm(a,b,Ie)}function D2(a,d){var b=a.length;if(b)return d+=d<0?b:0,ei(d,b)?a[d]:n}function k2(a,d,b){d.length?d=tn(d,function($){return ot($)?function(Z){return us(Z,$.length===1?$[0]:$)}:$}):d=[rr];var P=-1;d=tn(d,pr(Xe()));var N=P2(a,function($,Z,Q){var ae=tn(d,function(Se){return Se($)});return{criteria:ae,index:++P,value:$}});return Bz(N,function($,Z){return TY($,Z,b)})}function pY(a,d){return A2(a,d,function(b,P){return Ag(a,P)})}function A2(a,d,b){for(var P=-1,N=d.length,$={};++P<N;){var Z=d[P],Q=us(a,Z);b(Q,Z)&&uc($,Mi(Z,a),Q)}return $}function hY(a){return function(d){return us(d,a)}}function ig(a,d,b,P){var N=P?_z:ba,$=-1,Z=d.length,Q=a;for(a===d&&(d=er(d)),b&&(Q=tn(a,pr(b)));++$<Z;)for(var ae=0,Se=d[$],Ie=b?b(Se):Se;(ae=N(Q,Ie,ae,P))>-1;)Q!==a&&Wd.call(Q,ae,1),Wd.call(a,ae,1);return a}function N2(a,d){for(var b=a?d.length:0,P=b-1;b--;){var N=d[b];if(b==P||N!==$){var $=N;ei(N)?Wd.call(a,N,1):cg(a,N)}}return a}function sg(a,d){return a+zd(p2()*(d-a+1))}function mY(a,d,b,P){for(var N=-1,$=Pn(Hd((d-a)/(b||1)),0),Z=me($);$--;)Z[P?$:++N]=a,a+=b;return Z}function ag(a,d){var b="";if(!a||d<1||d>G)return b;do d%2&&(b+=a),d=zd(d/2),d&&(a+=a);while(d);return b}function ft(a,d){return Ig(cI(a,d,rr),a+"")}function gY(a){return g2(Ma(a))}function bY(a,d){var b=Ma(a);return lf(b,cs(d,0,b.length))}function uc(a,d,b,P){if(!ln(a))return a;d=Mi(d,a);for(var N=-1,$=d.length,Z=$-1,Q=a;Q!=null&&++N<$;){var ae=To(d[N]),Se=b;if(ae==="__proto__"||ae==="constructor"||ae==="prototype")return a;if(N!=Z){var Ie=Q[ae];Se=P?P(Ie,ae,Q):n,Se===n&&(Se=ln(Ie)?Ie:ei(d[N+1])?[]:{})}sc(Q,ae,Se),Q=Q[ae]}return a}var R2=Gd?function(a,d){return Gd.set(a,d),a}:rr,vY=jd?function(a,d){return jd(a,"toString",{configurable:!0,enumerable:!1,value:Rg(d),writable:!0})}:rr;function yY(a){return lf(Ma(a))}function Vr(a,d,b){var P=-1,N=a.length;d<0&&(d=-d>N?0:N+d),b=b>N?N:b,b<0&&(b+=N),N=d>b?0:b-d>>>0,d>>>=0;for(var $=me(N);++P<N;)$[P]=a[P+d];return $}function CY(a,d){var b;return Pi(a,function(P,N,$){return b=d(P,N,$),!b}),!!b}function Kd(a,d,b){var P=0,N=a==null?P:a.length;if(typeof d=="number"&&d===d&&N<=re){for(;P<N;){var $=P+N>>>1,Z=a[$];Z!==null&&!mr(Z)&&(b?Z<=d:Z<d)?P=$+1:N=$}return N}return lg(a,d,rr,b)}function lg(a,d,b,P){var N=0,$=a==null?0:a.length;if($===0)return 0;d=b(d);for(var Z=d!==d,Q=d===null,ae=mr(d),Se=d===n;N<$;){var Ie=zd((N+$)/2),Oe=b(a[Ie]),Fe=Oe!==n,He=Oe===null,Ze=Oe===Oe,ut=mr(Oe);if(Z)var qe=P||Ze;else Se?qe=Ze&&(P||Fe):Q?qe=Ze&&Fe&&(P||!He):ae?qe=Ze&&Fe&&!He&&(P||!ut):He||ut?qe=!1:qe=P?Oe<=d:Oe<d;qe?N=Ie+1:$=Ie}return zn($,de)}function F2(a,d){for(var b=-1,P=a.length,N=0,$=[];++b<P;){var Z=a[b],Q=d?d(Z):Z;if(!b||!qr(Q,ae)){var ae=Q;$[N++]=Z===0?0:Z}}return $}function V2(a){return typeof a=="number"?a:mr(a)?z:+a}function hr(a){if(typeof a=="string")return a;if(ot(a))return tn(a,hr)+"";if(mr(a))return h2?h2.call(a):"";var d=a+"";return d=="0"&&1/a==-Y?"-0":d}function Ei(a,d,b){var P=-1,N=kd,$=a.length,Z=!0,Q=[],ae=Q;if(b)Z=!1,N=Lm;else if($>=o){var Se=d?null:kY(a);if(Se)return Nd(Se);Z=!1,N=ec,ae=new ls}else ae=d?[]:Q;e:for(;++P<$;){var Ie=a[P],Oe=d?d(Ie):Ie;if(Ie=b||Ie!==0?Ie:0,Z&&Oe===Oe){for(var Fe=ae.length;Fe--;)if(ae[Fe]===Oe)continue e;d&&ae.push(Oe),Q.push(Ie)}else N(ae,Oe,b)||(ae!==Q&&ae.push(Oe),Q.push(Ie))}return Q}function cg(a,d){return d=Mi(d,a),a=uI(a,d),a==null||delete a[To(Lr(d))]}function L2(a,d,b,P){return uc(a,d,b(us(a,d)),P)}function Qd(a,d,b,P){for(var N=a.length,$=P?N:-1;(P?$--:++$<N)&&d(a[$],$,a););return b?Vr(a,P?0:$,P?$+1:N):Vr(a,P?$+1:0,P?N:$)}function _2(a,d){var b=a;return b instanceof yt&&(b=b.value()),_m(d,function(P,N){return N.func.apply(N.thisArg,Ii([P],N.args))},b)}function ug(a,d,b){var P=a.length;if(P<2)return P?Ei(a[0]):[];for(var N=-1,$=me(P);++N<P;)for(var Z=a[N],Q=-1;++Q<P;)Q!=N&&($[N]=ac($[N]||Z,a[Q],d,b));return Ei(Ln($,1),d,b)}function B2(a,d,b){for(var P=-1,N=a.length,$=d.length,Z={};++P<N;){var Q=P<$?d[P]:n;b(Z,a[P],Q)}return Z}function dg(a){return bn(a)?a:[]}function fg(a){return typeof a=="function"?a:rr}function Mi(a,d){return ot(a)?a:wg(a,d)?[a]:hI(Nt(a))}var wY=ft;function Di(a,d,b){var P=a.length;return b=b===n?P:b,!d&&b>=P?a:Vr(a,d,b)}var $2=lG||function(a){return Vn.clearTimeout(a)};function W2(a,d){if(d)return a.slice();var b=a.length,P=l2?l2(b):new a.constructor(b);return a.copy(P),P}function pg(a){var d=new a.constructor(a.byteLength);return new Bd(d).set(new Bd(a)),d}function xY(a,d){var b=d?pg(a.buffer):a.buffer;return new a.constructor(b,a.byteOffset,a.byteLength)}function SY(a){var d=new a.constructor(a.source,IS.exec(a));return d.lastIndex=a.lastIndex,d}function IY(a){return ic?Xt(ic.call(a)):{}}function j2(a,d){var b=d?pg(a.buffer):a.buffer;return new a.constructor(b,a.byteOffset,a.length)}function H2(a,d){if(a!==d){var b=a!==n,P=a===null,N=a===a,$=mr(a),Z=d!==n,Q=d===null,ae=d===d,Se=mr(d);if(!Q&&!Se&&!$&&a>d||$&&Z&&ae&&!Q&&!Se||P&&Z&&ae||!b&&ae||!N)return 1;if(!P&&!$&&!Se&&a<d||Se&&b&&N&&!P&&!$||Q&&b&&N||!Z&&N||!ae)return-1}return 0}function TY(a,d,b){for(var P=-1,N=a.criteria,$=d.criteria,Z=N.length,Q=b.length;++P<Z;){var ae=H2(N[P],$[P]);if(ae){if(P>=Q)return ae;var Se=b[P];return ae*(Se=="desc"?-1:1)}}return a.index-d.index}function z2(a,d,b,P){for(var N=-1,$=a.length,Z=b.length,Q=-1,ae=d.length,Se=Pn($-Z,0),Ie=me(ae+Se),Oe=!P;++Q<ae;)Ie[Q]=d[Q];for(;++N<Z;)(Oe||N<$)&&(Ie[b[N]]=a[N]);for(;Se--;)Ie[Q++]=a[N++];return Ie}function G2(a,d,b,P){for(var N=-1,$=a.length,Z=-1,Q=b.length,ae=-1,Se=d.length,Ie=Pn($-Q,0),Oe=me(Ie+Se),Fe=!P;++N<Ie;)Oe[N]=a[N];for(var He=N;++ae<Se;)Oe[He+ae]=d[ae];for(;++Z<Q;)(Fe||N<$)&&(Oe[He+b[Z]]=a[N++]);return Oe}function er(a,d){var b=-1,P=a.length;for(d||(d=me(P));++b<P;)d[b]=a[b];return d}function Io(a,d,b,P){var N=!b;b||(b={});for(var $=-1,Z=d.length;++$<Z;){var Q=d[$],ae=P?P(b[Q],a[Q],Q,b,a):n;ae===n&&(ae=a[Q]),N?Jo(b,Q,ae):sc(b,Q,ae)}return b}function OY(a,d){return Io(a,Cg(a),d)}function PY(a,d){return Io(a,oI(a),d)}function ef(a,d){return function(b,P){var N=ot(b)?Az:ZG,$=d?d():{};return N(b,a,Xe(P,2),$)}}function Ta(a){return ft(function(d,b){var P=-1,N=b.length,$=N>1?b[N-1]:n,Z=N>2?b[2]:n;for($=a.length>3&&typeof $=="function"?(N--,$):n,Z&&Xn(b[0],b[1],Z)&&($=N<3?n:$,N=1),d=Xt(d);++P<N;){var Q=b[P];Q&&a(d,Q,P,$)}return d})}function Y2(a,d){return function(b,P){if(b==null)return b;if(!tr(b))return a(b,P);for(var N=b.length,$=d?N:-1,Z=Xt(b);(d?$--:++$<N)&&P(Z[$],$,Z)!==!1;);return b}}function U2(a){return function(d,b,P){for(var N=-1,$=Xt(d),Z=P(d),Q=Z.length;Q--;){var ae=Z[a?Q:++N];if(b($[ae],ae,$)===!1)break}return d}}function EY(a,d,b){var P=d&C,N=dc(a);function $(){var Z=this&&this!==Vn&&this instanceof $?N:a;return Z.apply(P?b:this,arguments)}return $}function X2(a){return function(d){d=Nt(d);var b=va(d)?Xr(d):n,P=b?b[0]:d.charAt(0),N=b?Di(b,1).join(""):d.slice(1);return P[a]()+N}}function Oa(a){return function(d){return _m(YI(GI(d).replace(vz,"")),a,"")}}function dc(a){return function(){var d=arguments;switch(d.length){case 0:return new a;case 1:return new a(d[0]);case 2:return new a(d[0],d[1]);case 3:return new a(d[0],d[1],d[2]);case 4:return new a(d[0],d[1],d[2],d[3]);case 5:return new a(d[0],d[1],d[2],d[3],d[4]);case 6:return new a(d[0],d[1],d[2],d[3],d[4],d[5]);case 7:return new a(d[0],d[1],d[2],d[3],d[4],d[5],d[6])}var b=Ia(a.prototype),P=a.apply(b,d);return ln(P)?P:b}}function MY(a,d,b){var P=dc(a);function N(){for(var $=arguments.length,Z=me($),Q=$,ae=Pa(N);Q--;)Z[Q]=arguments[Q];var Se=$<3&&Z[0]!==ae&&Z[$-1]!==ae?[]:Ti(Z,ae);if($-=Se.length,$<b)return Q2(a,d,tf,N.placeholder,n,Z,Se,n,n,b-$);var Ie=this&&this!==Vn&&this instanceof N?P:a;return fr(Ie,this,Z)}return N}function Z2(a){return function(d,b,P){var N=Xt(d);if(!tr(d)){var $=Xe(b,3);d=Mn(d),b=function(Q){return $(N[Q],Q,N)}}var Z=a(d,b,P);return Z>-1?N[$?d[Z]:Z]:n}}function q2(a){return Qo(function(d){var b=d.length,P=b,N=Rr.prototype.thru;for(a&&d.reverse();P--;){var $=d[P];if(typeof $!="function")throw new Nr(l);if(N&&!Z&&sf($)=="wrapper")var Z=new Rr([],!0)}for(P=Z?P:b;++P<b;){$=d[P];var Q=sf($),ae=Q=="wrapper"?vg($):n;ae&&xg(ae[0])&&ae[1]==(D|I|T|A)&&!ae[4].length&&ae[9]==1?Z=Z[sf(ae[0])].apply(Z,ae[3]):Z=$.length==1&&xg($)?Z[Q]():Z.thru($)}return function(){var Se=arguments,Ie=Se[0];if(Z&&Se.length==1&&ot(Ie))return Z.plant(Ie).value();for(var Oe=0,Fe=b?d[Oe].apply(this,Se):Ie;++Oe<b;)Fe=d[Oe].call(this,Fe);return Fe}})}function tf(a,d,b,P,N,$,Z,Q,ae,Se){var Ie=d&D,Oe=d&C,Fe=d&x,He=d&(I|O),Ze=d&j,ut=Fe?n:dc(a);function qe(){for(var vt=arguments.length,wt=me(vt),gr=vt;gr--;)wt[gr]=arguments[gr];if(He)var Zn=Pa(qe),br=Wz(wt,Zn);if(P&&(wt=z2(wt,P,N,He)),$&&(wt=G2(wt,$,Z,He)),vt-=br,He&&vt<Se){var vn=Ti(wt,Zn);return Q2(a,d,tf,qe.placeholder,b,wt,vn,Q,ae,Se-vt)}var Jr=Oe?b:this,ri=Fe?Jr[a]:a;return vt=wt.length,Q?wt=ZY(wt,Q):Ze&&vt>1&&wt.reverse(),Ie&&ae<vt&&(wt.length=ae),this&&this!==Vn&&this instanceof qe&&(ri=ut||dc(ri)),ri.apply(Jr,wt)}return qe}function J2(a,d){return function(b,P){return rY(b,a,d(P),{})}}function nf(a,d){return function(b,P){var N;if(b===n&&P===n)return d;if(b!==n&&(N=b),P!==n){if(N===n)return P;typeof b=="string"||typeof P=="string"?(b=hr(b),P=hr(P)):(b=V2(b),P=V2(P)),N=a(b,P)}return N}}function hg(a){return Qo(function(d){return d=tn(d,pr(Xe())),ft(function(b){var P=this;return a(d,function(N){return fr(N,P,b)})})})}function rf(a,d){d=d===n?" ":hr(d);var b=d.length;if(b<2)return b?ag(d,a):d;var P=ag(d,Hd(a/ya(d)));return va(d)?Di(Xr(P),0,a).join(""):P.slice(0,a)}function DY(a,d,b,P){var N=d&C,$=dc(a);function Z(){for(var Q=-1,ae=arguments.length,Se=-1,Ie=P.length,Oe=me(Ie+ae),Fe=this&&this!==Vn&&this instanceof Z?$:a;++Se<Ie;)Oe[Se]=P[Se];for(;ae--;)Oe[Se++]=arguments[++Q];return fr(Fe,N?b:this,Oe)}return Z}function K2(a){return function(d,b,P){return P&&typeof P!="number"&&Xn(d,b,P)&&(b=P=n),d=ni(d),b===n?(b=d,d=0):b=ni(b),P=P===n?d<b?1:-1:ni(P),mY(d,b,P,a)}}function of(a){return function(d,b){return typeof d=="string"&&typeof b=="string"||(d=_r(d),b=_r(b)),a(d,b)}}function Q2(a,d,b,P,N,$,Z,Q,ae,Se){var Ie=d&I,Oe=Ie?Z:n,Fe=Ie?n:Z,He=Ie?$:n,Ze=Ie?n:$;d|=Ie?T:k,d&=~(Ie?k:T),d&M||(d&=-4);var ut=[a,d,N,He,Oe,Ze,Fe,Q,ae,Se],qe=b.apply(n,ut);return xg(a)&&dI(qe,ut),qe.placeholder=P,fI(qe,a,d)}function mg(a){var d=On[a];return function(b,P){if(b=_r(b),P=P==null?0:zn(st(P),292),P&&f2(b)){var N=(Nt(b)+"e").split("e"),$=d(N[0]+"e"+(+N[1]+P));return N=(Nt($)+"e").split("e"),+(N[0]+"e"+(+N[1]-P))}return d(b)}}var kY=xa&&1/Nd(new xa([,-0]))[1]==Y?function(a){return new xa(a)}:Lg;function eI(a){return function(d){var b=Gn(d);return b==fe?Gm(d):b==Ee?Xz(d):$z(d,a(d))}}function Ko(a,d,b,P,N,$,Z,Q){var ae=d&x;if(!ae&&typeof a!="function")throw new Nr(l);var Se=P?P.length:0;if(Se||(d&=-97,P=N=n),Z=Z===n?Z:Pn(st(Z),0),Q=Q===n?Q:st(Q),Se-=N?N.length:0,d&k){var Ie=P,Oe=N;P=N=n}var Fe=ae?n:vg(a),He=[a,d,b,P,N,Ie,Oe,$,Z,Q];if(Fe&&YY(He,Fe),a=He[0],d=He[1],b=He[2],P=He[3],N=He[4],Q=He[9]=He[9]===n?ae?0:a.length:Pn(He[9]-Se,0),!Q&&d&(I|O)&&(d&=-25),!d||d==C)var Ze=EY(a,d,b);else d==I||d==O?Ze=MY(a,d,Q):(d==T||d==(C|T))&&!N.length?Ze=DY(a,d,b,P):Ze=tf.apply(n,He);var ut=Fe?R2:dI;return fI(ut(Ze,He),a,d)}function tI(a,d,b,P){return a===n||qr(a,wa[b])&&!Lt.call(P,b)?d:a}function nI(a,d,b,P,N,$){return ln(a)&&ln(d)&&($.set(d,a),Jd(a,d,n,nI,$),$.delete(d)),a}function AY(a){return hc(a)?n:a}function rI(a,d,b,P,N,$){var Z=b&y,Q=a.length,ae=d.length;if(Q!=ae&&!(Z&&ae>Q))return!1;var Se=$.get(a),Ie=$.get(d);if(Se&&Ie)return Se==d&&Ie==a;var Oe=-1,Fe=!0,He=b&m?new ls:n;for($.set(a,d),$.set(d,a);++Oe<Q;){var Ze=a[Oe],ut=d[Oe];if(P)var qe=Z?P(ut,Ze,Oe,d,a,$):P(Ze,ut,Oe,a,d,$);if(qe!==n){if(qe)continue;Fe=!1;break}if(He){if(!Bm(d,function(vt,wt){if(!ec(He,wt)&&(Ze===vt||N(Ze,vt,b,P,$)))return He.push(wt)})){Fe=!1;break}}else if(!(Ze===ut||N(Ze,ut,b,P,$))){Fe=!1;break}}return $.delete(a),$.delete(d),Fe}function NY(a,d,b,P,N,$,Z){switch(b){case Vt:if(a.byteLength!=d.byteLength||a.byteOffset!=d.byteOffset)return!1;a=a.buffer,d=d.buffer;case At:return!(a.byteLength!=d.byteLength||!$(new Bd(a),new Bd(d)));case ee:case te:case be:return qr(+a,+d);case pe:return a.name==d.name&&a.message==d.message;case Te:case Me:return a==d+"";case fe:var Q=Gm;case Ee:var ae=P&y;if(Q||(Q=Nd),a.size!=d.size&&!ae)return!1;var Se=Z.get(a);if(Se)return Se==d;P|=m,Z.set(a,d);var Ie=rI(Q(a),Q(d),P,N,$,Z);return Z.delete(a),Ie;case dt:if(ic)return ic.call(a)==ic.call(d)}return!1}function RY(a,d,b,P,N,$){var Z=b&y,Q=gg(a),ae=Q.length,Se=gg(d),Ie=Se.length;if(ae!=Ie&&!Z)return!1;for(var Oe=ae;Oe--;){var Fe=Q[Oe];if(!(Z?Fe in d:Lt.call(d,Fe)))return!1}var He=$.get(a),Ze=$.get(d);if(He&&Ze)return He==d&&Ze==a;var ut=!0;$.set(a,d),$.set(d,a);for(var qe=Z;++Oe<ae;){Fe=Q[Oe];var vt=a[Fe],wt=d[Fe];if(P)var gr=Z?P(wt,vt,Fe,d,a,$):P(vt,wt,Fe,a,d,$);if(!(gr===n?vt===wt||N(vt,wt,b,P,$):gr)){ut=!1;break}qe||(qe=Fe=="constructor")}if(ut&&!qe){var Zn=a.constructor,br=d.constructor;Zn!=br&&"constructor"in a&&"constructor"in d&&!(typeof Zn=="function"&&Zn instanceof Zn&&typeof br=="function"&&br instanceof br)&&(ut=!1)}return $.delete(a),$.delete(d),ut}function Qo(a){return Ig(cI(a,n,vI),a+"")}function gg(a){return S2(a,Mn,Cg)}function bg(a){return S2(a,nr,oI)}var vg=Gd?function(a){return Gd.get(a)}:Lg;function sf(a){for(var d=a.name+"",b=Sa[d],P=Lt.call(Sa,d)?b.length:0;P--;){var N=b[P],$=N.func;if($==null||$==a)return N.name}return d}function Pa(a){var d=Lt.call(_,"placeholder")?_:a;return d.placeholder}function Xe(){var a=_.iteratee||Fg;return a=a===Fg?O2:a,arguments.length?a(arguments[0],arguments[1]):a}function af(a,d){var b=a.__data__;return jY(d)?b[typeof d=="string"?"string":"hash"]:b.map}function yg(a){for(var d=Mn(a),b=d.length;b--;){var P=d[b],N=a[P];d[b]=[P,N,aI(N)]}return d}function ds(a,d){var b=Gz(a,d);return T2(b)?b:n}function FY(a){var d=Lt.call(a,ss),b=a[ss];try{a[ss]=n;var P=!0}catch{}var N=Ld.call(a);return P&&(d?a[ss]=b:delete a[ss]),N}var Cg=Um?function(a){return a==null?[]:(a=Xt(a),Si(Um(a),function(d){return u2.call(a,d)}))}:_g,oI=Um?function(a){for(var d=[];a;)Ii(d,Cg(a)),a=$d(a);return d}:_g,Gn=Un;(Xm&&Gn(new Xm(new ArrayBuffer(1)))!=Vt||nc&&Gn(new nc)!=fe||Zm&&Gn(Zm.resolve())!=ge||xa&&Gn(new xa)!=Ee||rc&&Gn(new rc)!=it)&&(Gn=function(a){var d=Un(a),b=d==he?a.constructor:n,P=b?fs(b):"";if(P)switch(P){case bG:return Vt;case vG:return fe;case yG:return ge;case CG:return Ee;case wG:return it}return d});function VY(a,d,b){for(var P=-1,N=b.length;++P<N;){var $=b[P],Z=$.size;switch($.type){case"drop":a+=Z;break;case"dropRight":d-=Z;break;case"take":d=zn(d,a+Z);break;case"takeRight":a=Pn(a,d-Z);break}}return{start:a,end:d}}function LY(a){var d=a.match(os);return d?d[1].split(Pd):[]}function iI(a,d,b){d=Mi(d,a);for(var P=-1,N=d.length,$=!1;++P<N;){var Z=To(d[P]);if(!($=a!=null&&b(a,Z)))break;a=a[Z]}return $||++P!=N?$:(N=a==null?0:a.length,!!N&&hf(N)&&ei(Z,N)&&(ot(a)||ps(a)))}function _Y(a){var d=a.length,b=new a.constructor(d);return d&&typeof a[0]=="string"&&Lt.call(a,"index")&&(b.index=a.index,b.input=a.input),b}function sI(a){return typeof a.constructor=="function"&&!fc(a)?Ia($d(a)):{}}function BY(a,d,b){var P=a.constructor;switch(d){case At:return pg(a);case ee:case te:return new P(+a);case Vt:return xY(a,b);case sn:case In:case Ue:case an:case Zt:case qt:case Tn:case Be:case Je:return j2(a,b);case fe:return new P;case be:case Me:return new P(a);case Te:return SY(a);case Ee:return new P;case dt:return IY(a)}}function $Y(a,d){var b=d.length;if(!b)return a;var P=b-1;return d[P]=(b>1?"& ":"")+d[P],d=d.join(b>2?", ":" "),a.replace(Xo,`{
277
- /* [wrapped with `+d+`] */
278
- `)}function WY(a){return ot(a)||ps(a)||!!(d2&&a&&a[d2])}function ei(a,d){var b=typeof a;return d=d??G,!!d&&(b=="number"||b!="symbol"&&QH.test(a))&&a>-1&&a%1==0&&a<d}function Xn(a,d,b){if(!ln(b))return!1;var P=typeof d;return(P=="number"?tr(b)&&ei(d,b.length):P=="string"&&d in b)?qr(b[d],a):!1}function wg(a,d){if(ot(a))return!1;var b=typeof a;return b=="number"||b=="symbol"||b=="boolean"||a==null||mr(a)?!0:Le.test(a)||!Fn.test(a)||d!=null&&a in Xt(d)}function jY(a){var d=typeof a;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?a!=="__proto__":a===null}function xg(a){var d=sf(a),b=_[d];if(typeof b!="function"||!(d in yt.prototype))return!1;if(a===b)return!0;var P=vg(b);return!!P&&a===P[0]}function HY(a){return!!a2&&a2 in a}var zY=Fd?ti:Bg;function fc(a){var d=a&&a.constructor,b=typeof d=="function"&&d.prototype||wa;return a===b}function aI(a){return a===a&&!ln(a)}function lI(a,d){return function(b){return b==null?!1:b[a]===d&&(d!==n||a in Xt(b))}}function GY(a){var d=ff(a,function(P){return b.size===f&&b.clear(),P}),b=d.cache;return d}function YY(a,d){var b=a[1],P=d[1],N=b|P,$=N<(C|x|D),Z=P==D&&b==I||P==D&&b==A&&a[7].length<=d[8]||P==(D|A)&&d[7].length<=d[8]&&b==I;if(!($||Z))return a;P&C&&(a[2]=d[2],N|=b&C?0:M);var Q=d[3];if(Q){var ae=a[3];a[3]=ae?z2(ae,Q,d[4]):Q,a[4]=ae?Ti(a[3],p):d[4]}return Q=d[5],Q&&(ae=a[5],a[5]=ae?G2(ae,Q,d[6]):Q,a[6]=ae?Ti(a[5],p):d[6]),Q=d[7],Q&&(a[7]=Q),P&D&&(a[8]=a[8]==null?d[8]:zn(a[8],d[8])),a[9]==null&&(a[9]=d[9]),a[0]=d[0],a[1]=N,a}function UY(a){var d=[];if(a!=null)for(var b in Xt(a))d.push(b);return d}function XY(a){return Ld.call(a)}function cI(a,d,b){return d=Pn(d===n?a.length-1:d,0),function(){for(var P=arguments,N=-1,$=Pn(P.length-d,0),Z=me($);++N<$;)Z[N]=P[d+N];N=-1;for(var Q=me(d+1);++N<d;)Q[N]=P[N];return Q[d]=b(Z),fr(a,this,Q)}}function uI(a,d){return d.length<2?a:us(a,Vr(d,0,-1))}function ZY(a,d){for(var b=a.length,P=zn(d.length,b),N=er(a);P--;){var $=d[P];a[P]=ei($,b)?N[$]:n}return a}function Sg(a,d){if(!(d==="constructor"&&typeof a[d]=="function")&&d!="__proto__")return a[d]}var dI=pI(R2),pc=uG||function(a,d){return Vn.setTimeout(a,d)},Ig=pI(vY);function fI(a,d,b){var P=d+"";return Ig(a,$Y(P,qY(LY(P),b)))}function pI(a){var d=0,b=0;return function(){var P=hG(),N=B-(P-b);if(b=P,N>0){if(++d>=H)return arguments[0]}else d=0;return a.apply(n,arguments)}}function lf(a,d){var b=-1,P=a.length,N=P-1;for(d=d===n?P:d;++b<d;){var $=sg(b,N),Z=a[$];a[$]=a[b],a[b]=Z}return a.length=d,a}var hI=GY(function(a){var d=[];return a.charCodeAt(0)===46&&d.push(""),a.replace(We,function(b,P,N,$){d.push(N?$.replace(UH,"$1"):P||b)}),d});function To(a){if(typeof a=="string"||mr(a))return a;var d=a+"";return d=="0"&&1/a==-Y?"-0":d}function fs(a){if(a!=null){try{return Vd.call(a)}catch{}try{return a+""}catch{}}return""}function qY(a,d){return Ar(ie,function(b){var P="_."+b[0];d&b[1]&&!kd(a,P)&&a.push(P)}),a.sort()}function mI(a){if(a instanceof yt)return a.clone();var d=new Rr(a.__wrapped__,a.__chain__);return d.__actions__=er(a.__actions__),d.__index__=a.__index__,d.__values__=a.__values__,d}function JY(a,d,b){(b?Xn(a,d,b):d===n)?d=1:d=Pn(st(d),0);var P=a==null?0:a.length;if(!P||d<1)return[];for(var N=0,$=0,Z=me(Hd(P/d));N<P;)Z[$++]=Vr(a,N,N+=d);return Z}function KY(a){for(var d=-1,b=a==null?0:a.length,P=0,N=[];++d<b;){var $=a[d];$&&(N[P++]=$)}return N}function QY(){var a=arguments.length;if(!a)return[];for(var d=me(a-1),b=arguments[0],P=a;P--;)d[P-1]=arguments[P];return Ii(ot(b)?er(b):[b],Ln(d,1))}var eU=ft(function(a,d){return bn(a)?ac(a,Ln(d,1,bn,!0)):[]}),tU=ft(function(a,d){var b=Lr(d);return bn(b)&&(b=n),bn(a)?ac(a,Ln(d,1,bn,!0),Xe(b,2)):[]}),nU=ft(function(a,d){var b=Lr(d);return bn(b)&&(b=n),bn(a)?ac(a,Ln(d,1,bn,!0),n,b):[]});function rU(a,d,b){var P=a==null?0:a.length;return P?(d=b||d===n?1:st(d),Vr(a,d<0?0:d,P)):[]}function oU(a,d,b){var P=a==null?0:a.length;return P?(d=b||d===n?1:st(d),d=P-d,Vr(a,0,d<0?0:d)):[]}function iU(a,d){return a&&a.length?Qd(a,Xe(d,3),!0,!0):[]}function sU(a,d){return a&&a.length?Qd(a,Xe(d,3),!0):[]}function aU(a,d,b,P){var N=a==null?0:a.length;return N?(b&&typeof b!="number"&&Xn(a,d,b)&&(b=0,P=N),QG(a,d,b,P)):[]}function gI(a,d,b){var P=a==null?0:a.length;if(!P)return-1;var N=b==null?0:st(b);return N<0&&(N=Pn(P+N,0)),Ad(a,Xe(d,3),N)}function bI(a,d,b){var P=a==null?0:a.length;if(!P)return-1;var N=P-1;return b!==n&&(N=st(b),N=b<0?Pn(P+N,0):zn(N,P-1)),Ad(a,Xe(d,3),N,!0)}function vI(a){var d=a==null?0:a.length;return d?Ln(a,1):[]}function lU(a){var d=a==null?0:a.length;return d?Ln(a,Y):[]}function cU(a,d){var b=a==null?0:a.length;return b?(d=d===n?1:st(d),Ln(a,d)):[]}function uU(a){for(var d=-1,b=a==null?0:a.length,P={};++d<b;){var N=a[d];P[N[0]]=N[1]}return P}function yI(a){return a&&a.length?a[0]:n}function dU(a,d,b){var P=a==null?0:a.length;if(!P)return-1;var N=b==null?0:st(b);return N<0&&(N=Pn(P+N,0)),ba(a,d,N)}function fU(a){var d=a==null?0:a.length;return d?Vr(a,0,-1):[]}var pU=ft(function(a){var d=tn(a,dg);return d.length&&d[0]===a[0]?tg(d):[]}),hU=ft(function(a){var d=Lr(a),b=tn(a,dg);return d===Lr(b)?d=n:b.pop(),b.length&&b[0]===a[0]?tg(b,Xe(d,2)):[]}),mU=ft(function(a){var d=Lr(a),b=tn(a,dg);return d=typeof d=="function"?d:n,d&&b.pop(),b.length&&b[0]===a[0]?tg(b,n,d):[]});function gU(a,d){return a==null?"":fG.call(a,d)}function Lr(a){var d=a==null?0:a.length;return d?a[d-1]:n}function bU(a,d,b){var P=a==null?0:a.length;if(!P)return-1;var N=P;return b!==n&&(N=st(b),N=N<0?Pn(P+N,0):zn(N,P-1)),d===d?qz(a,d,N):Ad(a,QS,N,!0)}function vU(a,d){return a&&a.length?D2(a,st(d)):n}var yU=ft(CI);function CI(a,d){return a&&a.length&&d&&d.length?ig(a,d):a}function CU(a,d,b){return a&&a.length&&d&&d.length?ig(a,d,Xe(b,2)):a}function wU(a,d,b){return a&&a.length&&d&&d.length?ig(a,d,n,b):a}var xU=Qo(function(a,d){var b=a==null?0:a.length,P=Jm(a,d);return N2(a,tn(d,function(N){return ei(N,b)?+N:N}).sort(H2)),P});function SU(a,d){var b=[];if(!(a&&a.length))return b;var P=-1,N=[],$=a.length;for(d=Xe(d,3);++P<$;){var Z=a[P];d(Z,P,a)&&(b.push(Z),N.push(P))}return N2(a,N),b}function Tg(a){return a==null?a:gG.call(a)}function IU(a,d,b){var P=a==null?0:a.length;return P?(b&&typeof b!="number"&&Xn(a,d,b)?(d=0,b=P):(d=d==null?0:st(d),b=b===n?P:st(b)),Vr(a,d,b)):[]}function TU(a,d){return Kd(a,d)}function OU(a,d,b){return lg(a,d,Xe(b,2))}function PU(a,d){var b=a==null?0:a.length;if(b){var P=Kd(a,d);if(P<b&&qr(a[P],d))return P}return-1}function EU(a,d){return Kd(a,d,!0)}function MU(a,d,b){return lg(a,d,Xe(b,2),!0)}function DU(a,d){var b=a==null?0:a.length;if(b){var P=Kd(a,d,!0)-1;if(qr(a[P],d))return P}return-1}function kU(a){return a&&a.length?F2(a):[]}function AU(a,d){return a&&a.length?F2(a,Xe(d,2)):[]}function NU(a){var d=a==null?0:a.length;return d?Vr(a,1,d):[]}function RU(a,d,b){return a&&a.length?(d=b||d===n?1:st(d),Vr(a,0,d<0?0:d)):[]}function FU(a,d,b){var P=a==null?0:a.length;return P?(d=b||d===n?1:st(d),d=P-d,Vr(a,d<0?0:d,P)):[]}function VU(a,d){return a&&a.length?Qd(a,Xe(d,3),!1,!0):[]}function LU(a,d){return a&&a.length?Qd(a,Xe(d,3)):[]}var _U=ft(function(a){return Ei(Ln(a,1,bn,!0))}),BU=ft(function(a){var d=Lr(a);return bn(d)&&(d=n),Ei(Ln(a,1,bn,!0),Xe(d,2))}),$U=ft(function(a){var d=Lr(a);return d=typeof d=="function"?d:n,Ei(Ln(a,1,bn,!0),n,d)});function WU(a){return a&&a.length?Ei(a):[]}function jU(a,d){return a&&a.length?Ei(a,Xe(d,2)):[]}function HU(a,d){return d=typeof d=="function"?d:n,a&&a.length?Ei(a,n,d):[]}function Og(a){if(!(a&&a.length))return[];var d=0;return a=Si(a,function(b){if(bn(b))return d=Pn(b.length,d),!0}),Hm(d,function(b){return tn(a,$m(b))})}function wI(a,d){if(!(a&&a.length))return[];var b=Og(a);return d==null?b:tn(b,function(P){return fr(d,n,P)})}var zU=ft(function(a,d){return bn(a)?ac(a,d):[]}),GU=ft(function(a){return ug(Si(a,bn))}),YU=ft(function(a){var d=Lr(a);return bn(d)&&(d=n),ug(Si(a,bn),Xe(d,2))}),UU=ft(function(a){var d=Lr(a);return d=typeof d=="function"?d:n,ug(Si(a,bn),n,d)}),XU=ft(Og);function ZU(a,d){return B2(a||[],d||[],sc)}function qU(a,d){return B2(a||[],d||[],uc)}var JU=ft(function(a){var d=a.length,b=d>1?a[d-1]:n;return b=typeof b=="function"?(a.pop(),b):n,wI(a,b)});function xI(a){var d=_(a);return d.__chain__=!0,d}function KU(a,d){return d(a),a}function cf(a,d){return d(a)}var QU=Qo(function(a){var d=a.length,b=d?a[0]:0,P=this.__wrapped__,N=function($){return Jm($,a)};return d>1||this.__actions__.length||!(P instanceof yt)||!ei(b)?this.thru(N):(P=P.slice(b,+b+(d?1:0)),P.__actions__.push({func:cf,args:[N],thisArg:n}),new Rr(P,this.__chain__).thru(function($){return d&&!$.length&&$.push(n),$}))});function eX(){return xI(this)}function tX(){return new Rr(this.value(),this.__chain__)}function nX(){this.__values__===n&&(this.__values__=VI(this.value()));var a=this.__index__>=this.__values__.length,d=a?n:this.__values__[this.__index__++];return{done:a,value:d}}function rX(){return this}function oX(a){for(var d,b=this;b instanceof Ud;){var P=mI(b);P.__index__=0,P.__values__=n,d?N.__wrapped__=P:d=P;var N=P;b=b.__wrapped__}return N.__wrapped__=a,d}function iX(){var a=this.__wrapped__;if(a instanceof yt){var d=a;return this.__actions__.length&&(d=new yt(this)),d=d.reverse(),d.__actions__.push({func:cf,args:[Tg],thisArg:n}),new Rr(d,this.__chain__)}return this.thru(Tg)}function sX(){return _2(this.__wrapped__,this.__actions__)}var aX=ef(function(a,d,b){Lt.call(a,b)?++a[b]:Jo(a,b,1)});function lX(a,d,b){var P=ot(a)?JS:KG;return b&&Xn(a,d,b)&&(d=n),P(a,Xe(d,3))}function cX(a,d){var b=ot(a)?Si:w2;return b(a,Xe(d,3))}var uX=Z2(gI),dX=Z2(bI);function fX(a,d){return Ln(uf(a,d),1)}function pX(a,d){return Ln(uf(a,d),Y)}function hX(a,d,b){return b=b===n?1:st(b),Ln(uf(a,d),b)}function SI(a,d){var b=ot(a)?Ar:Pi;return b(a,Xe(d,3))}function II(a,d){var b=ot(a)?Nz:C2;return b(a,Xe(d,3))}var mX=ef(function(a,d,b){Lt.call(a,b)?a[b].push(d):Jo(a,b,[d])});function gX(a,d,b,P){a=tr(a)?a:Ma(a),b=b&&!P?st(b):0;var N=a.length;return b<0&&(b=Pn(N+b,0)),mf(a)?b<=N&&a.indexOf(d,b)>-1:!!N&&ba(a,d,b)>-1}var bX=ft(function(a,d,b){var P=-1,N=typeof d=="function",$=tr(a)?me(a.length):[];return Pi(a,function(Z){$[++P]=N?fr(d,Z,b):lc(Z,d,b)}),$}),vX=ef(function(a,d,b){Jo(a,b,d)});function uf(a,d){var b=ot(a)?tn:P2;return b(a,Xe(d,3))}function yX(a,d,b,P){return a==null?[]:(ot(d)||(d=d==null?[]:[d]),b=P?n:b,ot(b)||(b=b==null?[]:[b]),k2(a,d,b))}var CX=ef(function(a,d,b){a[b?0:1].push(d)},function(){return[[],[]]});function wX(a,d,b){var P=ot(a)?_m:t2,N=arguments.length<3;return P(a,Xe(d,4),b,N,Pi)}function xX(a,d,b){var P=ot(a)?Rz:t2,N=arguments.length<3;return P(a,Xe(d,4),b,N,C2)}function SX(a,d){var b=ot(a)?Si:w2;return b(a,pf(Xe(d,3)))}function IX(a){var d=ot(a)?g2:gY;return d(a)}function TX(a,d,b){(b?Xn(a,d,b):d===n)?d=1:d=st(d);var P=ot(a)?UG:bY;return P(a,d)}function OX(a){var d=ot(a)?XG:yY;return d(a)}function PX(a){if(a==null)return 0;if(tr(a))return mf(a)?ya(a):a.length;var d=Gn(a);return d==fe||d==Ee?a.size:rg(a).length}function EX(a,d,b){var P=ot(a)?Bm:CY;return b&&Xn(a,d,b)&&(d=n),P(a,Xe(d,3))}var MX=ft(function(a,d){if(a==null)return[];var b=d.length;return b>1&&Xn(a,d[0],d[1])?d=[]:b>2&&Xn(d[0],d[1],d[2])&&(d=[d[0]]),k2(a,Ln(d,1),[])}),df=cG||function(){return Vn.Date.now()};function DX(a,d){if(typeof d!="function")throw new Nr(l);return a=st(a),function(){if(--a<1)return d.apply(this,arguments)}}function TI(a,d,b){return d=b?n:d,d=a&&d==null?a.length:d,Ko(a,D,n,n,n,n,d)}function OI(a,d){var b;if(typeof d!="function")throw new Nr(l);return a=st(a),function(){return--a>0&&(b=d.apply(this,arguments)),a<=1&&(d=n),b}}var Pg=ft(function(a,d,b){var P=C;if(b.length){var N=Ti(b,Pa(Pg));P|=T}return Ko(a,P,d,b,N)}),PI=ft(function(a,d,b){var P=C|x;if(b.length){var N=Ti(b,Pa(PI));P|=T}return Ko(d,P,a,b,N)});function EI(a,d,b){d=b?n:d;var P=Ko(a,I,n,n,n,n,n,d);return P.placeholder=EI.placeholder,P}function MI(a,d,b){d=b?n:d;var P=Ko(a,O,n,n,n,n,n,d);return P.placeholder=MI.placeholder,P}function DI(a,d,b){var P,N,$,Z,Q,ae,Se=0,Ie=!1,Oe=!1,Fe=!0;if(typeof a!="function")throw new Nr(l);d=_r(d)||0,ln(b)&&(Ie=!!b.leading,Oe="maxWait"in b,$=Oe?Pn(_r(b.maxWait)||0,d):$,Fe="trailing"in b?!!b.trailing:Fe);function He(vn){var Jr=P,ri=N;return P=N=n,Se=vn,Z=a.apply(ri,Jr),Z}function Ze(vn){return Se=vn,Q=pc(vt,d),Ie?He(vn):Z}function ut(vn){var Jr=vn-ae,ri=vn-Se,ZI=d-Jr;return Oe?zn(ZI,$-ri):ZI}function qe(vn){var Jr=vn-ae,ri=vn-Se;return ae===n||Jr>=d||Jr<0||Oe&&ri>=$}function vt(){var vn=df();if(qe(vn))return wt(vn);Q=pc(vt,ut(vn))}function wt(vn){return Q=n,Fe&&P?He(vn):(P=N=n,Z)}function gr(){Q!==n&&$2(Q),Se=0,P=ae=N=Q=n}function Zn(){return Q===n?Z:wt(df())}function br(){var vn=df(),Jr=qe(vn);if(P=arguments,N=this,ae=vn,Jr){if(Q===n)return Ze(ae);if(Oe)return $2(Q),Q=pc(vt,d),He(ae)}return Q===n&&(Q=pc(vt,d)),Z}return br.cancel=gr,br.flush=Zn,br}var kX=ft(function(a,d){return y2(a,1,d)}),AX=ft(function(a,d,b){return y2(a,_r(d)||0,b)});function NX(a){return Ko(a,j)}function ff(a,d){if(typeof a!="function"||d!=null&&typeof d!="function")throw new Nr(l);var b=function(){var P=arguments,N=d?d.apply(this,P):P[0],$=b.cache;if($.has(N))return $.get(N);var Z=a.apply(this,P);return b.cache=$.set(N,Z)||$,Z};return b.cache=new(ff.Cache||qo),b}ff.Cache=qo;function pf(a){if(typeof a!="function")throw new Nr(l);return function(){var d=arguments;switch(d.length){case 0:return!a.call(this);case 1:return!a.call(this,d[0]);case 2:return!a.call(this,d[0],d[1]);case 3:return!a.call(this,d[0],d[1],d[2])}return!a.apply(this,d)}}function RX(a){return OI(2,a)}var FX=wY(function(a,d){d=d.length==1&&ot(d[0])?tn(d[0],pr(Xe())):tn(Ln(d,1),pr(Xe()));var b=d.length;return ft(function(P){for(var N=-1,$=zn(P.length,b);++N<$;)P[N]=d[N].call(this,P[N]);return fr(a,this,P)})}),Eg=ft(function(a,d){var b=Ti(d,Pa(Eg));return Ko(a,T,n,d,b)}),kI=ft(function(a,d){var b=Ti(d,Pa(kI));return Ko(a,k,n,d,b)}),VX=Qo(function(a,d){return Ko(a,A,n,n,n,d)});function LX(a,d){if(typeof a!="function")throw new Nr(l);return d=d===n?d:st(d),ft(a,d)}function _X(a,d){if(typeof a!="function")throw new Nr(l);return d=d==null?0:Pn(st(d),0),ft(function(b){var P=b[d],N=Di(b,0,d);return P&&Ii(N,P),fr(a,this,N)})}function BX(a,d,b){var P=!0,N=!0;if(typeof a!="function")throw new Nr(l);return ln(b)&&(P="leading"in b?!!b.leading:P,N="trailing"in b?!!b.trailing:N),DI(a,d,{leading:P,maxWait:d,trailing:N})}function $X(a){return TI(a,1)}function WX(a,d){return Eg(fg(d),a)}function jX(){if(!arguments.length)return[];var a=arguments[0];return ot(a)?a:[a]}function HX(a){return Fr(a,v)}function zX(a,d){return d=typeof d=="function"?d:n,Fr(a,v,d)}function GX(a){return Fr(a,h|v)}function YX(a,d){return d=typeof d=="function"?d:n,Fr(a,h|v,d)}function UX(a,d){return d==null||v2(a,d,Mn(d))}function qr(a,d){return a===d||a!==a&&d!==d}var XX=of(eg),ZX=of(function(a,d){return a>=d}),ps=I2(function(){return arguments}())?I2:function(a){return hn(a)&&Lt.call(a,"callee")&&!u2.call(a,"callee")},ot=me.isArray,qX=GS?pr(GS):oY;function tr(a){return a!=null&&hf(a.length)&&!ti(a)}function bn(a){return hn(a)&&tr(a)}function JX(a){return a===!0||a===!1||hn(a)&&Un(a)==ee}var ki=dG||Bg,KX=YS?pr(YS):iY;function QX(a){return hn(a)&&a.nodeType===1&&!hc(a)}function eZ(a){if(a==null)return!0;if(tr(a)&&(ot(a)||typeof a=="string"||typeof a.splice=="function"||ki(a)||Ea(a)||ps(a)))return!a.length;var d=Gn(a);if(d==fe||d==Ee)return!a.size;if(fc(a))return!rg(a).length;for(var b in a)if(Lt.call(a,b))return!1;return!0}function tZ(a,d){return cc(a,d)}function nZ(a,d,b){b=typeof b=="function"?b:n;var P=b?b(a,d):n;return P===n?cc(a,d,n,b):!!P}function Mg(a){if(!hn(a))return!1;var d=Un(a);return d==pe||d==le||typeof a.message=="string"&&typeof a.name=="string"&&!hc(a)}function rZ(a){return typeof a=="number"&&f2(a)}function ti(a){if(!ln(a))return!1;var d=Un(a);return d==q||d==ne||d==ce||d==Ce}function AI(a){return typeof a=="number"&&a==st(a)}function hf(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=G}function ln(a){var d=typeof a;return a!=null&&(d=="object"||d=="function")}function hn(a){return a!=null&&typeof a=="object"}var NI=US?pr(US):aY;function oZ(a,d){return a===d||ng(a,d,yg(d))}function iZ(a,d,b){return b=typeof b=="function"?b:n,ng(a,d,yg(d),b)}function sZ(a){return RI(a)&&a!=+a}function aZ(a){if(zY(a))throw new et(s);return T2(a)}function lZ(a){return a===null}function cZ(a){return a==null}function RI(a){return typeof a=="number"||hn(a)&&Un(a)==be}function hc(a){if(!hn(a)||Un(a)!=he)return!1;var d=$d(a);if(d===null)return!0;var b=Lt.call(d,"constructor")&&d.constructor;return typeof b=="function"&&b instanceof b&&Vd.call(b)==iG}var Dg=XS?pr(XS):lY;function uZ(a){return AI(a)&&a>=-G&&a<=G}var FI=ZS?pr(ZS):cY;function mf(a){return typeof a=="string"||!ot(a)&&hn(a)&&Un(a)==Me}function mr(a){return typeof a=="symbol"||hn(a)&&Un(a)==dt}var Ea=qS?pr(qS):uY;function dZ(a){return a===n}function fZ(a){return hn(a)&&Gn(a)==it}function pZ(a){return hn(a)&&Un(a)==It}var hZ=of(og),mZ=of(function(a,d){return a<=d});function VI(a){if(!a)return[];if(tr(a))return mf(a)?Xr(a):er(a);if(tc&&a[tc])return Uz(a[tc]());var d=Gn(a),b=d==fe?Gm:d==Ee?Nd:Ma;return b(a)}function ni(a){if(!a)return a===0?a:0;if(a=_r(a),a===Y||a===-Y){var d=a<0?-1:1;return d*U}return a===a?a:0}function st(a){var d=ni(a),b=d%1;return d===d?b?d-b:d:0}function LI(a){return a?cs(st(a),0,X):0}function _r(a){if(typeof a=="number")return a;if(mr(a))return z;if(ln(a)){var d=typeof a.valueOf=="function"?a.valueOf():a;a=ln(d)?d+"":d}if(typeof a!="string")return a===0?a:+a;a=n2(a);var b=qH.test(a);return b||KH.test(a)?Dz(a.slice(2),b?2:8):ZH.test(a)?z:+a}function _I(a){return Io(a,nr(a))}function gZ(a){return a?cs(st(a),-G,G):a===0?a:0}function Nt(a){return a==null?"":hr(a)}var bZ=Ta(function(a,d){if(fc(d)||tr(d)){Io(d,Mn(d),a);return}for(var b in d)Lt.call(d,b)&&sc(a,b,d[b])}),BI=Ta(function(a,d){Io(d,nr(d),a)}),gf=Ta(function(a,d,b,P){Io(d,nr(d),a,P)}),vZ=Ta(function(a,d,b,P){Io(d,Mn(d),a,P)}),yZ=Qo(Jm);function CZ(a,d){var b=Ia(a);return d==null?b:b2(b,d)}var wZ=ft(function(a,d){a=Xt(a);var b=-1,P=d.length,N=P>2?d[2]:n;for(N&&Xn(d[0],d[1],N)&&(P=1);++b<P;)for(var $=d[b],Z=nr($),Q=-1,ae=Z.length;++Q<ae;){var Se=Z[Q],Ie=a[Se];(Ie===n||qr(Ie,wa[Se])&&!Lt.call(a,Se))&&(a[Se]=$[Se])}return a}),xZ=ft(function(a){return a.push(n,nI),fr($I,n,a)});function SZ(a,d){return KS(a,Xe(d,3),So)}function IZ(a,d){return KS(a,Xe(d,3),Qm)}function TZ(a,d){return a==null?a:Km(a,Xe(d,3),nr)}function OZ(a,d){return a==null?a:x2(a,Xe(d,3),nr)}function PZ(a,d){return a&&So(a,Xe(d,3))}function EZ(a,d){return a&&Qm(a,Xe(d,3))}function MZ(a){return a==null?[]:qd(a,Mn(a))}function DZ(a){return a==null?[]:qd(a,nr(a))}function kg(a,d,b){var P=a==null?n:us(a,d);return P===n?b:P}function kZ(a,d){return a!=null&&iI(a,d,eY)}function Ag(a,d){return a!=null&&iI(a,d,tY)}var AZ=J2(function(a,d,b){d!=null&&typeof d.toString!="function"&&(d=Ld.call(d)),a[d]=b},Rg(rr)),NZ=J2(function(a,d,b){d!=null&&typeof d.toString!="function"&&(d=Ld.call(d)),Lt.call(a,d)?a[d].push(b):a[d]=[b]},Xe),RZ=ft(lc);function Mn(a){return tr(a)?m2(a):rg(a)}function nr(a){return tr(a)?m2(a,!0):dY(a)}function FZ(a,d){var b={};return d=Xe(d,3),So(a,function(P,N,$){Jo(b,d(P,N,$),P)}),b}function VZ(a,d){var b={};return d=Xe(d,3),So(a,function(P,N,$){Jo(b,N,d(P,N,$))}),b}var LZ=Ta(function(a,d,b){Jd(a,d,b)}),$I=Ta(function(a,d,b,P){Jd(a,d,b,P)}),_Z=Qo(function(a,d){var b={};if(a==null)return b;var P=!1;d=tn(d,function($){return $=Mi($,a),P||(P=$.length>1),$}),Io(a,bg(a),b),P&&(b=Fr(b,h|g|v,AY));for(var N=d.length;N--;)cg(b,d[N]);return b});function BZ(a,d){return WI(a,pf(Xe(d)))}var $Z=Qo(function(a,d){return a==null?{}:pY(a,d)});function WI(a,d){if(a==null)return{};var b=tn(bg(a),function(P){return[P]});return d=Xe(d),A2(a,b,function(P,N){return d(P,N[0])})}function WZ(a,d,b){d=Mi(d,a);var P=-1,N=d.length;for(N||(N=1,a=n);++P<N;){var $=a==null?n:a[To(d[P])];$===n&&(P=N,$=b),a=ti($)?$.call(a):$}return a}function jZ(a,d,b){return a==null?a:uc(a,d,b)}function HZ(a,d,b,P){return P=typeof P=="function"?P:n,a==null?a:uc(a,d,b,P)}var jI=eI(Mn),HI=eI(nr);function zZ(a,d,b){var P=ot(a),N=P||ki(a)||Ea(a);if(d=Xe(d,4),b==null){var $=a&&a.constructor;N?b=P?new $:[]:ln(a)?b=ti($)?Ia($d(a)):{}:b={}}return(N?Ar:So)(a,function(Z,Q,ae){return d(b,Z,Q,ae)}),b}function GZ(a,d){return a==null?!0:cg(a,d)}function YZ(a,d,b){return a==null?a:L2(a,d,fg(b))}function UZ(a,d,b,P){return P=typeof P=="function"?P:n,a==null?a:L2(a,d,fg(b),P)}function Ma(a){return a==null?[]:zm(a,Mn(a))}function XZ(a){return a==null?[]:zm(a,nr(a))}function ZZ(a,d,b){return b===n&&(b=d,d=n),b!==n&&(b=_r(b),b=b===b?b:0),d!==n&&(d=_r(d),d=d===d?d:0),cs(_r(a),d,b)}function qZ(a,d,b){return d=ni(d),b===n?(b=d,d=0):b=ni(b),a=_r(a),nY(a,d,b)}function JZ(a,d,b){if(b&&typeof b!="boolean"&&Xn(a,d,b)&&(d=b=n),b===n&&(typeof d=="boolean"?(b=d,d=n):typeof a=="boolean"&&(b=a,a=n)),a===n&&d===n?(a=0,d=1):(a=ni(a),d===n?(d=a,a=0):d=ni(d)),a>d){var P=a;a=d,d=P}if(b||a%1||d%1){var N=p2();return zn(a+N*(d-a+Mz("1e-"+((N+"").length-1))),d)}return sg(a,d)}var KZ=Oa(function(a,d,b){return d=d.toLowerCase(),a+(b?zI(d):d)});function zI(a){return Ng(Nt(a).toLowerCase())}function GI(a){return a=Nt(a),a&&a.replace(ez,jz).replace(yz,"")}function QZ(a,d,b){a=Nt(a),d=hr(d);var P=a.length;b=b===n?P:cs(st(b),0,P);var N=b;return b-=d.length,b>=0&&a.slice(b,N)==d}function eq(a){return a=Nt(a),a&&xo.test(a)?a.replace(Jt,Hz):a}function tq(a){return a=Nt(a),a&&bt.test(a)?a.replace(rt,"\\$&"):a}var nq=Oa(function(a,d,b){return a+(b?"-":"")+d.toLowerCase()}),rq=Oa(function(a,d,b){return a+(b?" ":"")+d.toLowerCase()}),oq=X2("toLowerCase");function iq(a,d,b){a=Nt(a),d=st(d);var P=d?ya(a):0;if(!d||P>=d)return a;var N=(d-P)/2;return rf(zd(N),b)+a+rf(Hd(N),b)}function sq(a,d,b){a=Nt(a),d=st(d);var P=d?ya(a):0;return d&&P<d?a+rf(d-P,b):a}function aq(a,d,b){a=Nt(a),d=st(d);var P=d?ya(a):0;return d&&P<d?rf(d-P,b)+a:a}function lq(a,d,b){return b||d==null?d=0:d&&(d=+d),mG(Nt(a).replace(Ut,""),d||0)}function cq(a,d,b){return(b?Xn(a,d,b):d===n)?d=1:d=st(d),ag(Nt(a),d)}function uq(){var a=arguments,d=Nt(a[0]);return a.length<3?d:d.replace(a[1],a[2])}var dq=Oa(function(a,d,b){return a+(b?"_":"")+d.toLowerCase()});function fq(a,d,b){return b&&typeof b!="number"&&Xn(a,d,b)&&(d=b=n),b=b===n?X:b>>>0,b?(a=Nt(a),a&&(typeof d=="string"||d!=null&&!Dg(d))&&(d=hr(d),!d&&va(a))?Di(Xr(a),0,b):a.split(d,b)):[]}var pq=Oa(function(a,d,b){return a+(b?" ":"")+Ng(d)});function hq(a,d,b){return a=Nt(a),b=b==null?0:cs(st(b),0,a.length),d=hr(d),a.slice(b,b+d.length)==d}function mq(a,d,b){var P=_.templateSettings;b&&Xn(a,d,b)&&(d=n),a=Nt(a),d=gf({},d,P,tI);var N=gf({},d.imports,P.imports,tI),$=Mn(N),Z=zm(N,$),Q,ae,Se=0,Ie=d.interpolate||Ed,Oe="__p += '",Fe=Ym((d.escape||Ed).source+"|"+Ie.source+"|"+(Ie===Ae?XH:Ed).source+"|"+(d.evaluate||Ed).source+"|$","g"),He="//# sourceURL="+(Lt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Iz+"]")+`
279
- `;a.replace(Fe,function(qe,vt,wt,gr,Zn,br){return wt||(wt=gr),Oe+=a.slice(Se,br).replace(tz,zz),vt&&(Q=!0,Oe+=`' +
280
- __e(`+vt+`) +
281
- '`),Zn&&(ae=!0,Oe+=`';
282
- `+Zn+`;
283
- __p += '`),wt&&(Oe+=`' +
284
- ((__t = (`+wt+`)) == null ? '' : __t) +
285
- '`),Se=br+qe.length,qe}),Oe+=`';
286
- `;var Ze=Lt.call(d,"variable")&&d.variable;if(!Ze)Oe=`with (obj) {
287
- `+Oe+`
288
- }
289
- `;else if(YH.test(Ze))throw new et(c);Oe=(ae?Oe.replace(Tt,""):Oe).replace(ke,"$1").replace(Qe,"$1;"),Oe="function("+(Ze||"obj")+`) {
290
- `+(Ze?"":`obj || (obj = {});
291
- `)+"var __t, __p = ''"+(Q?", __e = _.escape":"")+(ae?`, __j = Array.prototype.join;
292
- function print() { __p += __j.call(arguments, '') }
293
- `:`;
294
- `)+Oe+`return __p
295
- }`;var ut=UI(function(){return Mt($,He+"return "+Oe).apply(n,Z)});if(ut.source=Oe,Mg(ut))throw ut;return ut}function gq(a){return Nt(a).toLowerCase()}function bq(a){return Nt(a).toUpperCase()}function vq(a,d,b){if(a=Nt(a),a&&(b||d===n))return n2(a);if(!a||!(d=hr(d)))return a;var P=Xr(a),N=Xr(d),$=r2(P,N),Z=o2(P,N)+1;return Di(P,$,Z).join("")}function yq(a,d,b){if(a=Nt(a),a&&(b||d===n))return a.slice(0,s2(a)+1);if(!a||!(d=hr(d)))return a;var P=Xr(a),N=o2(P,Xr(d))+1;return Di(P,0,N).join("")}function Cq(a,d,b){if(a=Nt(a),a&&(b||d===n))return a.replace(Ut,"");if(!a||!(d=hr(d)))return a;var P=Xr(a),N=r2(P,Xr(d));return Di(P,N).join("")}function wq(a,d){var b=E,P=R;if(ln(d)){var N="separator"in d?d.separator:N;b="length"in d?st(d.length):b,P="omission"in d?hr(d.omission):P}a=Nt(a);var $=a.length;if(va(a)){var Z=Xr(a);$=Z.length}if(b>=$)return a;var Q=b-ya(P);if(Q<1)return P;var ae=Z?Di(Z,0,Q).join(""):a.slice(0,Q);if(N===n)return ae+P;if(Z&&(Q+=ae.length-Q),Dg(N)){if(a.slice(Q).search(N)){var Se,Ie=ae;for(N.global||(N=Ym(N.source,Nt(IS.exec(N))+"g")),N.lastIndex=0;Se=N.exec(Ie);)var Oe=Se.index;ae=ae.slice(0,Oe===n?Q:Oe)}}else if(a.indexOf(hr(N),Q)!=Q){var Fe=ae.lastIndexOf(N);Fe>-1&&(ae=ae.slice(0,Fe))}return ae+P}function xq(a){return a=Nt(a),a&&Rn.test(a)?a.replace(nt,Jz):a}var Sq=Oa(function(a,d,b){return a+(b?" ":"")+d.toUpperCase()}),Ng=X2("toUpperCase");function YI(a,d,b){return a=Nt(a),d=b?n:d,d===n?Yz(a)?eG(a):Lz(a):a.match(d)||[]}var UI=ft(function(a,d){try{return fr(a,n,d)}catch(b){return Mg(b)?b:new et(b)}}),Iq=Qo(function(a,d){return Ar(d,function(b){b=To(b),Jo(a,b,Pg(a[b],a))}),a});function Tq(a){var d=a==null?0:a.length,b=Xe();return a=d?tn(a,function(P){if(typeof P[1]!="function")throw new Nr(l);return[b(P[0]),P[1]]}):[],ft(function(P){for(var N=-1;++N<d;){var $=a[N];if(fr($[0],this,P))return fr($[1],this,P)}})}function Oq(a){return JG(Fr(a,h))}function Rg(a){return function(){return a}}function Pq(a,d){return a==null||a!==a?d:a}var Eq=q2(),Mq=q2(!0);function rr(a){return a}function Fg(a){return O2(typeof a=="function"?a:Fr(a,h))}function Dq(a){return E2(Fr(a,h))}function kq(a,d){return M2(a,Fr(d,h))}var Aq=ft(function(a,d){return function(b){return lc(b,a,d)}}),Nq=ft(function(a,d){return function(b){return lc(a,b,d)}});function Vg(a,d,b){var P=Mn(d),N=qd(d,P);b==null&&!(ln(d)&&(N.length||!P.length))&&(b=d,d=a,a=this,N=qd(d,Mn(d)));var $=!(ln(b)&&"chain"in b)||!!b.chain,Z=ti(a);return Ar(N,function(Q){var ae=d[Q];a[Q]=ae,Z&&(a.prototype[Q]=function(){var Se=this.__chain__;if($||Se){var Ie=a(this.__wrapped__),Oe=Ie.__actions__=er(this.__actions__);return Oe.push({func:ae,args:arguments,thisArg:a}),Ie.__chain__=Se,Ie}return ae.apply(a,Ii([this.value()],arguments))})}),a}function Rq(){return Vn._===this&&(Vn._=sG),this}function Lg(){}function Fq(a){return a=st(a),ft(function(d){return D2(d,a)})}var Vq=hg(tn),Lq=hg(JS),_q=hg(Bm);function XI(a){return wg(a)?$m(To(a)):hY(a)}function Bq(a){return function(d){return a==null?n:us(a,d)}}var $q=K2(),Wq=K2(!0);function _g(){return[]}function Bg(){return!1}function jq(){return{}}function Hq(){return""}function zq(){return!0}function Gq(a,d){if(a=st(a),a<1||a>G)return[];var b=X,P=zn(a,X);d=Xe(d),a-=X;for(var N=Hm(P,d);++b<a;)d(b);return N}function Yq(a){return ot(a)?tn(a,To):mr(a)?[a]:er(hI(Nt(a)))}function Uq(a){var d=++oG;return Nt(a)+d}var Xq=nf(function(a,d){return a+d},0),Zq=mg("ceil"),qq=nf(function(a,d){return a/d},1),Jq=mg("floor");function Kq(a){return a&&a.length?Zd(a,rr,eg):n}function Qq(a,d){return a&&a.length?Zd(a,Xe(d,2),eg):n}function eJ(a){return e2(a,rr)}function tJ(a,d){return e2(a,Xe(d,2))}function nJ(a){return a&&a.length?Zd(a,rr,og):n}function rJ(a,d){return a&&a.length?Zd(a,Xe(d,2),og):n}var oJ=nf(function(a,d){return a*d},1),iJ=mg("round"),sJ=nf(function(a,d){return a-d},0);function aJ(a){return a&&a.length?jm(a,rr):0}function lJ(a,d){return a&&a.length?jm(a,Xe(d,2)):0}return _.after=DX,_.ary=TI,_.assign=bZ,_.assignIn=BI,_.assignInWith=gf,_.assignWith=vZ,_.at=yZ,_.before=OI,_.bind=Pg,_.bindAll=Iq,_.bindKey=PI,_.castArray=jX,_.chain=xI,_.chunk=JY,_.compact=KY,_.concat=QY,_.cond=Tq,_.conforms=Oq,_.constant=Rg,_.countBy=aX,_.create=CZ,_.curry=EI,_.curryRight=MI,_.debounce=DI,_.defaults=wZ,_.defaultsDeep=xZ,_.defer=kX,_.delay=AX,_.difference=eU,_.differenceBy=tU,_.differenceWith=nU,_.drop=rU,_.dropRight=oU,_.dropRightWhile=iU,_.dropWhile=sU,_.fill=aU,_.filter=cX,_.flatMap=fX,_.flatMapDeep=pX,_.flatMapDepth=hX,_.flatten=vI,_.flattenDeep=lU,_.flattenDepth=cU,_.flip=NX,_.flow=Eq,_.flowRight=Mq,_.fromPairs=uU,_.functions=MZ,_.functionsIn=DZ,_.groupBy=mX,_.initial=fU,_.intersection=pU,_.intersectionBy=hU,_.intersectionWith=mU,_.invert=AZ,_.invertBy=NZ,_.invokeMap=bX,_.iteratee=Fg,_.keyBy=vX,_.keys=Mn,_.keysIn=nr,_.map=uf,_.mapKeys=FZ,_.mapValues=VZ,_.matches=Dq,_.matchesProperty=kq,_.memoize=ff,_.merge=LZ,_.mergeWith=$I,_.method=Aq,_.methodOf=Nq,_.mixin=Vg,_.negate=pf,_.nthArg=Fq,_.omit=_Z,_.omitBy=BZ,_.once=RX,_.orderBy=yX,_.over=Vq,_.overArgs=FX,_.overEvery=Lq,_.overSome=_q,_.partial=Eg,_.partialRight=kI,_.partition=CX,_.pick=$Z,_.pickBy=WI,_.property=XI,_.propertyOf=Bq,_.pull=yU,_.pullAll=CI,_.pullAllBy=CU,_.pullAllWith=wU,_.pullAt=xU,_.range=$q,_.rangeRight=Wq,_.rearg=VX,_.reject=SX,_.remove=SU,_.rest=LX,_.reverse=Tg,_.sampleSize=TX,_.set=jZ,_.setWith=HZ,_.shuffle=OX,_.slice=IU,_.sortBy=MX,_.sortedUniq=kU,_.sortedUniqBy=AU,_.split=fq,_.spread=_X,_.tail=NU,_.take=RU,_.takeRight=FU,_.takeRightWhile=VU,_.takeWhile=LU,_.tap=KU,_.throttle=BX,_.thru=cf,_.toArray=VI,_.toPairs=jI,_.toPairsIn=HI,_.toPath=Yq,_.toPlainObject=_I,_.transform=zZ,_.unary=$X,_.union=_U,_.unionBy=BU,_.unionWith=$U,_.uniq=WU,_.uniqBy=jU,_.uniqWith=HU,_.unset=GZ,_.unzip=Og,_.unzipWith=wI,_.update=YZ,_.updateWith=UZ,_.values=Ma,_.valuesIn=XZ,_.without=zU,_.words=YI,_.wrap=WX,_.xor=GU,_.xorBy=YU,_.xorWith=UU,_.zip=XU,_.zipObject=ZU,_.zipObjectDeep=qU,_.zipWith=JU,_.entries=jI,_.entriesIn=HI,_.extend=BI,_.extendWith=gf,Vg(_,_),_.add=Xq,_.attempt=UI,_.camelCase=KZ,_.capitalize=zI,_.ceil=Zq,_.clamp=ZZ,_.clone=HX,_.cloneDeep=GX,_.cloneDeepWith=YX,_.cloneWith=zX,_.conformsTo=UX,_.deburr=GI,_.defaultTo=Pq,_.divide=qq,_.endsWith=QZ,_.eq=qr,_.escape=eq,_.escapeRegExp=tq,_.every=lX,_.find=uX,_.findIndex=gI,_.findKey=SZ,_.findLast=dX,_.findLastIndex=bI,_.findLastKey=IZ,_.floor=Jq,_.forEach=SI,_.forEachRight=II,_.forIn=TZ,_.forInRight=OZ,_.forOwn=PZ,_.forOwnRight=EZ,_.get=kg,_.gt=XX,_.gte=ZX,_.has=kZ,_.hasIn=Ag,_.head=yI,_.identity=rr,_.includes=gX,_.indexOf=dU,_.inRange=qZ,_.invoke=RZ,_.isArguments=ps,_.isArray=ot,_.isArrayBuffer=qX,_.isArrayLike=tr,_.isArrayLikeObject=bn,_.isBoolean=JX,_.isBuffer=ki,_.isDate=KX,_.isElement=QX,_.isEmpty=eZ,_.isEqual=tZ,_.isEqualWith=nZ,_.isError=Mg,_.isFinite=rZ,_.isFunction=ti,_.isInteger=AI,_.isLength=hf,_.isMap=NI,_.isMatch=oZ,_.isMatchWith=iZ,_.isNaN=sZ,_.isNative=aZ,_.isNil=cZ,_.isNull=lZ,_.isNumber=RI,_.isObject=ln,_.isObjectLike=hn,_.isPlainObject=hc,_.isRegExp=Dg,_.isSafeInteger=uZ,_.isSet=FI,_.isString=mf,_.isSymbol=mr,_.isTypedArray=Ea,_.isUndefined=dZ,_.isWeakMap=fZ,_.isWeakSet=pZ,_.join=gU,_.kebabCase=nq,_.last=Lr,_.lastIndexOf=bU,_.lowerCase=rq,_.lowerFirst=oq,_.lt=hZ,_.lte=mZ,_.max=Kq,_.maxBy=Qq,_.mean=eJ,_.meanBy=tJ,_.min=nJ,_.minBy=rJ,_.stubArray=_g,_.stubFalse=Bg,_.stubObject=jq,_.stubString=Hq,_.stubTrue=zq,_.multiply=oJ,_.nth=vU,_.noConflict=Rq,_.noop=Lg,_.now=df,_.pad=iq,_.padEnd=sq,_.padStart=aq,_.parseInt=lq,_.random=JZ,_.reduce=wX,_.reduceRight=xX,_.repeat=cq,_.replace=uq,_.result=WZ,_.round=iJ,_.runInContext=oe,_.sample=IX,_.size=PX,_.snakeCase=dq,_.some=EX,_.sortedIndex=TU,_.sortedIndexBy=OU,_.sortedIndexOf=PU,_.sortedLastIndex=EU,_.sortedLastIndexBy=MU,_.sortedLastIndexOf=DU,_.startCase=pq,_.startsWith=hq,_.subtract=sJ,_.sum=aJ,_.sumBy=lJ,_.template=mq,_.times=Gq,_.toFinite=ni,_.toInteger=st,_.toLength=LI,_.toLower=gq,_.toNumber=_r,_.toSafeInteger=gZ,_.toString=Nt,_.toUpper=bq,_.trim=vq,_.trimEnd=yq,_.trimStart=Cq,_.truncate=wq,_.unescape=xq,_.uniqueId=Uq,_.upperCase=Sq,_.upperFirst=Ng,_.each=SI,_.eachRight=II,_.first=yI,Vg(_,function(){var a={};return So(_,function(d,b){Lt.call(_.prototype,b)||(a[b]=d)}),a}(),{chain:!1}),_.VERSION=r,Ar(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){_[a].placeholder=_}),Ar(["drop","take"],function(a,d){yt.prototype[a]=function(b){b=b===n?1:Pn(st(b),0);var P=this.__filtered__&&!d?new yt(this):this.clone();return P.__filtered__?P.__takeCount__=zn(b,P.__takeCount__):P.__views__.push({size:zn(b,X),type:a+(P.__dir__<0?"Right":"")}),P},yt.prototype[a+"Right"]=function(b){return this.reverse()[a](b).reverse()}}),Ar(["filter","map","takeWhile"],function(a,d){var b=d+1,P=b==L||b==F;yt.prototype[a]=function(N){var $=this.clone();return $.__iteratees__.push({iteratee:Xe(N,3),type:b}),$.__filtered__=$.__filtered__||P,$}}),Ar(["head","last"],function(a,d){var b="take"+(d?"Right":"");yt.prototype[a]=function(){return this[b](1).value()[0]}}),Ar(["initial","tail"],function(a,d){var b="drop"+(d?"":"Right");yt.prototype[a]=function(){return this.__filtered__?new yt(this):this[b](1)}}),yt.prototype.compact=function(){return this.filter(rr)},yt.prototype.find=function(a){return this.filter(a).head()},yt.prototype.findLast=function(a){return this.reverse().find(a)},yt.prototype.invokeMap=ft(function(a,d){return typeof a=="function"?new yt(this):this.map(function(b){return lc(b,a,d)})}),yt.prototype.reject=function(a){return this.filter(pf(Xe(a)))},yt.prototype.slice=function(a,d){a=st(a);var b=this;return b.__filtered__&&(a>0||d<0)?new yt(b):(a<0?b=b.takeRight(-a):a&&(b=b.drop(a)),d!==n&&(d=st(d),b=d<0?b.dropRight(-d):b.take(d-a)),b)},yt.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},yt.prototype.toArray=function(){return this.take(X)},So(yt.prototype,function(a,d){var b=/^(?:filter|find|map|reject)|While$/.test(d),P=/^(?:head|last)$/.test(d),N=_[P?"take"+(d=="last"?"Right":""):d],$=P||/^find/.test(d);N&&(_.prototype[d]=function(){var Z=this.__wrapped__,Q=P?[1]:arguments,ae=Z instanceof yt,Se=Q[0],Ie=ae||ot(Z),Oe=function(vt){var wt=N.apply(_,Ii([vt],Q));return P&&Fe?wt[0]:wt};Ie&&b&&typeof Se=="function"&&Se.length!=1&&(ae=Ie=!1);var Fe=this.__chain__,He=!!this.__actions__.length,Ze=$&&!Fe,ut=ae&&!He;if(!$&&Ie){Z=ut?Z:new yt(this);var qe=a.apply(Z,Q);return qe.__actions__.push({func:cf,args:[Oe],thisArg:n}),new Rr(qe,Fe)}return Ze&&ut?a.apply(this,Q):(qe=this.thru(Oe),Ze?P?qe.value()[0]:qe.value():qe)})}),Ar(["pop","push","shift","sort","splice","unshift"],function(a){var d=Rd[a],b=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",P=/^(?:pop|shift)$/.test(a);_.prototype[a]=function(){var N=arguments;if(P&&!this.__chain__){var $=this.value();return d.apply(ot($)?$:[],N)}return this[b](function(Z){return d.apply(ot(Z)?Z:[],N)})}}),So(yt.prototype,function(a,d){var b=_[d];if(b){var P=b.name+"";Lt.call(Sa,P)||(Sa[P]=[]),Sa[P].push({name:d,func:b})}}),Sa[tf(n,x).name]=[{name:"wrapper",func:n}],yt.prototype.clone=xG,yt.prototype.reverse=SG,yt.prototype.value=IG,_.prototype.at=QU,_.prototype.chain=eX,_.prototype.commit=tX,_.prototype.next=nX,_.prototype.plant=oX,_.prototype.reverse=iX,_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=sX,_.prototype.first=_.prototype.head,tc&&(_.prototype[tc]=rX),_},Ca=tG();is?((is.exports=Ca)._=Ca,Fm._=Ca):Vn._=Ca}).call(vr)}(Tu,Tu.exports);var Qn=Tu.exports;const St=Oo(Qn),yl={grey:{900:"#252525",800:"#404040",733:"#666666",700:"#797979",500:"#ACACAC",400:"#D7D7D7",200:"#EDEDED",100:"#F5F5F5",50:"#FAFAFA"},error:{900:"#9A1414",700:"#D90C0C",500:"#FF5A5A",300:"#FF8383",100:"#FFC8C8",50:"#FCECEB"},success:{900:"#136A19",700:"#21962A",500:"#1FB62A",300:"#43DC4E",100:"#85EA8D",50:"#CEF3D1"},secondary:{900:"#A86501",700:"#DC8400",500:"#FF9900",300:"#FFC56F",100:"#FFE1B4",50:"#FFF3D1"},primary:{900:"#0045AD",700:"#0058DB",500:"#0066FF",300:"#76ADFF",100:"#A7CAFF",50:"#E6F1FF"}},An=(e,t)=>{var n;return((n=yl[e])==null?void 0:n[t])||""},Wp=St.flatMap(yl,(e,t)=>St.compact(St.map(e,(n,r)=>n?{title:`${t} ${r}`,color:n}:null))),_N=St.map(Wp,"title"),Jy=St.map(Wp,"color"),BN=St.map(yl.grey,(e,t)=>t),$N=St.map(yl,(e,t)=>t),Fs=e=>St.includes(Jy,e),$n=({color:e=An("grey","500"),size:t="16",sx:n,children:r,disabled:o=!1,className:s,...l})=>{const c=WN(t);return S.jsx(Ua,{className:s,...l,sx:{color:e,fontSize:`${c}px`,cursor:o?"default":"pointer",opacity:o?.5:1,pointerEvents:o?"none":"auto",...n,"& path":{fill:e}},children:r})},WN=e=>{const t={32:"38",24:"31",20:"27",16:"23",12:"19",8:"15"};return t[e]||t[16]},Ky=Yt(S.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded"),hi={chip:"chip-module_chip_U3kfP",title:"chip-module_title_DARz9",text:"chip-module_text_4xvju",sm:"chip-module_sm_lA7fZ",lg:"chip-module_lg_i8n4n",tab:"chip-module_tab_TQ-ke",grey:"chip-module_grey_M9U8T",active:"chip-module_active_uJfiq",disabled:"chip-module_disabled_21ZO5",success:"chip-module_success_BJKfz",error:"chip-module_error_an-gm",secondary:"chip-module_secondary_3aQ1S",primary:"chip-module_primary_maGV7",action:"chip-module_action_ByEO0"},jN=({isActive:e,title:t,text:n,onRemove:r=void 0,disabled:o=!1,variant:s="primary",size:l="lg"})=>{const c=r&&!o;return S.jsx(fi,{in:!!n||!!t,unmountOnExit:!0,children:S.jsxs("span",{className:xe(hi.chip,hi[s],hi[l],{[hi.disabled]:o,[hi.active]:e}),children:[S.jsxs("span",{children:[!!t&&S.jsxs("span",{className:hi.title,children:[t," ",n&&": "]}),!!n&&S.jsx("span",{className:hi.text,children:n})]}),c&&S.jsx($n,{className:hi.action,size:"8",onClick:c?r:void 0,color:An("grey","700"),children:S.jsx(Ky,{})})]})})},Qy=An("grey","500"),e0=({size:e=100,color:t=Qy})=>{const n=Fs(t)?t:Qy;return S.jsx("svg",{id:"Capa_1","data-name":"Capa 1",xmlns:"http://www.w3.org/2000/svg",width:e,height:"100%",viewBox:"0 0 95 95",children:S.jsxs("g",{id:"Grupo_1315","data-name":"Grupo 1315",children:[S.jsx("path",{id:"Trazado_2280","data-name":"Trazado 2280",style:{fill:n},d:"M0,13.62c.09-.37.16-.76.26-1.14a7.22,7.22,0,0,1,7-5.28H24.3c.23,0,.3,0,.29-.29a7,7,0,0,1,.58-3.25A6.37,6.37,0,0,1,33.63.6a6.47,6.47,0,0,1,1.75,1.22,6.2,6.2,0,0,1,1.89,4.53c0,.22,0,.43,0,.65s0,.2.21.2H54.63a7.21,7.21,0,0,1,7.24,7.18V34.23a1.45,1.45,0,0,1-1.33,1.55h-.16A1.44,1.44,0,0,1,59,34.5c0-.12,0-.25,0-.37V14.55a4.33,4.33,0,0,0-4.2-4.46H7.4A4.34,4.34,0,0,0,3,13.44a4.07,4.07,0,0,0-.12,1V79.22a4.33,4.33,0,0,0,4.32,4.32H54.44a1.5,1.5,0,0,1,1.49.83,1.45,1.45,0,0,1-.68,1.93,1.39,1.39,0,0,1-.53.14,2.62,2.62,0,0,1-.28,0H7.29A7.25,7.25,0,0,1,.06,80.26c0-.1,0-.21-.06-.3ZM30.91,7.2h3.23c.17,0,.23,0,.22-.22s0-.47,0-.7A3.43,3.43,0,0,0,28,4.62a4.27,4.27,0,0,0-.45,2.3c0,.22,0,.29.27.29,1,0,2.09,0,3.14,0Z"}),S.jsx("path",{id:"Trazado_2281","data-name":"Trazado 2281",style:{fill:n},d:"M54.79,38.4c8.35-.94,15.22,1.7,20.36,8.46A19.94,19.94,0,0,1,79.1,57a20.86,20.86,0,0,1-2,11.63.24.24,0,0,0,.05.34h0L92.23,82.66a5.82,5.82,0,1,1-7.83,8.62l-.07-.06Q76.76,84.37,69.2,77.47c-.15-.13-.23-.09-.37,0a21.24,21.24,0,0,1-7,2.6,21.08,21.08,0,0,1-21-8.55,20.4,20.4,0,0,1-3.79-10A21.15,21.15,0,0,1,51.26,39.31,23.75,23.75,0,0,1,54.79,38.4Zm21.72,18A18.62,18.62,0,1,0,61,77.68h0A18.64,18.64,0,0,0,76.51,56.39Zm15.08,30a3.31,3.31,0,0,0-1.12-2L75.89,71.17c-.16-.14-.23-.14-.36,0a20.4,20.4,0,0,1-4.16,4.49c-.2.15-.19.23,0,.39,1.78,1.6,3.56,3.22,5.34,4.84l9.39,8.52a3.32,3.32,0,0,0,5.5-3Z"}),S.jsx("path",{id:"Trazado_2282","data-name":"Trazado 2282",style:{fill:n},d:"M31,19.9H20.38A5.76,5.76,0,0,1,14.57,15a3.12,3.12,0,0,1,0-1.1,1.45,1.45,0,0,1,2.88.22,2.85,2.85,0,0,0,1.74,2.68A2.54,2.54,0,0,0,20.3,17H42a2.9,2.9,0,0,0,2.89-2.85,1.46,1.46,0,0,1,2.91-.07v.1a5.8,5.8,0,0,1-5.72,5.72Z"}),S.jsx("path",{id:"Trazado_2283","data-name":"Trazado 2283",style:{fill:n},d:"M13.22,68V66.07A1.86,1.86,0,0,1,15,64.15c1.36,0,2.73,0,4.09,0A1.86,1.86,0,0,1,20.88,66q0,2,0,3.93A1.91,1.91,0,0,1,19,71.83c-1.28,0-2.57,0-3.85,0a1.91,1.91,0,0,1-1.91-1.9V68Zm2.24,0v.76a.77.77,0,0,0,.71.85.28.28,0,0,0,.13,0c.5,0,1,0,1.49,0a.78.78,0,0,0,.85-.73v-.09c0-.51,0-1,0-1.54a.76.76,0,0,0-.72-.8h0a12.2,12.2,0,0,0-1.71,0,.76.76,0,0,0-.72.79h0V68Z"}),S.jsx("path",{id:"Trazado_2284","data-name":"Trazado 2284",style:{fill:n},d:"M13.22,52.67V50.75a1.87,1.87,0,0,1,1.83-1.9q2,0,4,0a1.88,1.88,0,0,1,1.84,1.81c0,1.35,0,2.71,0,4.06a1.84,1.84,0,0,1-1.77,1.79,39.85,39.85,0,0,1-4.09,0,1.85,1.85,0,0,1-1.81-1.89.19.19,0,0,1,0-.08ZM17,54.27h.76a.79.79,0,0,0,.84-.73v-.07c0-.52,0-1,0-1.57a.76.76,0,0,0-.71-.79c-.6,0-1.2,0-1.79,0a.74.74,0,0,0-.68.75q0,.83,0,1.65a.77.77,0,0,0,.77.75Z"}),S.jsx("path",{id:"Trazado_2285","data-name":"Trazado 2285",style:{fill:n},d:"M13.22,37.38v-2a1.88,1.88,0,0,1,1.86-1.87q2,0,3.93,0a1.85,1.85,0,0,1,1.86,1.78c0,1.37,0,2.74,0,4.12A1.85,1.85,0,0,1,19,41.23q-2,0-4,0a1.88,1.88,0,0,1-1.85-1.9ZM17.05,39h.75a.8.8,0,0,0,.84-.74v-.06c0-.53,0-1,0-1.57a.77.77,0,0,0-.75-.8H16.2a.77.77,0,0,0-.74.76c0,.55,0,1.1,0,1.66a.77.77,0,0,0,.77.75c.27,0,.54,0,.81,0Z"}),S.jsx("path",{id:"Trazado_2286","data-name":"Trazado 2286",style:{fill:n},d:"M30.54,38.84h-5a1.45,1.45,0,0,1-1.47-1.43A1.48,1.48,0,0,1,25.26,36a2,2,0,0,1,.35,0h9.87a1.45,1.45,0,0,1,.11,2.9H30.54Z"}),S.jsx("path",{id:"Trazado_2287","data-name":"Trazado 2287",style:{fill:n},d:"M28.44,54.14H25.59a1.44,1.44,0,0,1-1.49-1.39s0,0,0-.06a1.48,1.48,0,0,1,1.47-1.46h5.73a1.45,1.45,0,0,1,1.52,1.38,1.44,1.44,0,0,1-1.37,1.52h-3Z"}),S.jsx("path",{id:"Trazado_2288","data-name":"Trazado 2288",style:{fill:n},d:"M27.36,66.54c.63,0,1.26,0,1.9,0a1.44,1.44,0,0,1,1.36,1.27,1.47,1.47,0,0,1-1,1.56,1.6,1.6,0,0,1-.54.07H25.64a1.46,1.46,0,0,1-.17-2.91.43.43,0,0,1,.16,0h1.73Z"}),S.jsx("path",{id:"Trazado_2289","data-name":"Trazado 2289",style:{fill:n},d:"M54.49,47.45a13.8,13.8,0,0,1,8.82,1.95,12.64,12.64,0,0,1,4.62,5.36,18.36,18.36,0,0,1,1.44,4.33,1.24,1.24,0,0,1-1,1.45h0A1.22,1.22,0,0,1,67,59.63a16.4,16.4,0,0,0-1.56-4.37A9.91,9.91,0,0,0,57,49.91a11.82,11.82,0,0,0-2.59.08,1.23,1.23,0,0,1-1.47-.94v0a1.23,1.23,0,0,1,1-1.47H54Z"})]})})},t0=An("primary","500"),HN=({size:e=24,color:t=t0})=>{const n=Fs(t)?t:t0;return S.jsxs("svg",{width:e,height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[S.jsx("path",{d:"M4 4H20C21.1 4 22 4.9 22 6V18C22 19.1 21.1 20 20 20H4C2.9 20 2 19.1 2 18V6C2 4.9 2.9 4 4 4Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),S.jsx("path",{d:"M22 6L12 13L2 6",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},n0=An("primary","500"),zN=({size:e=24,color:t=n0})=>{const n=Fs(t)?t:n0;return S.jsxs("svg",{width:e,height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[S.jsx("path",{d:"M13 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V9L13 2Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),S.jsx("path",{d:"M13 2V9H20",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},r0=An("primary","500"),GN=({size:e=24,color:t=r0})=>{const n=Fs(t)?t:r0;return S.jsxs("svg",{width:e,height:"100%",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[S.jsx("path",{d:"M19.012 23.8615C19.2082 24.0664 19.5353 24.0672 19.7325 23.8633L23.2885 20.1866C23.595 19.8697 23.3712 19.3401 22.9303 19.339L15.8363 19.3217C15.3955 19.3206 15.1691 19.8492 15.474 20.1676L19.012 23.8615Z",fill:n}),S.jsx("mask",{id:"path-2-inside-1_1_1191",fill:"white",children:S.jsx("path",{d:"M21.651 11.1531C22.2033 11.1531 22.6557 10.7044 22.6051 10.1544C22.4392 8.35049 21.8256 6.61063 20.8131 5.09564C19.6148 3.30264 17.9116 1.90517 15.9188 1.07995C13.9261 0.254719 11.7334 0.0388023 9.61795 0.459499C7.50249 0.880196 5.55932 1.91861 4.03417 3.44343C2.50901 4.96825 1.47036 6.91099 1.04957 9.02598C0.628782 11.141 0.844747 13.3332 1.67016 15.3255C2.49557 17.3177 3.89335 19.0206 5.68674 20.2186C7.20212 21.2309 8.94246 21.8444 10.7469 22.0103C11.2969 22.0609 11.7455 21.6084 11.7455 21.0561V20.6624C11.7455 20.1101 11.2962 19.6684 10.7478 19.6037C9.41766 19.4467 8.13837 18.9775 7.01693 18.2283C5.61727 17.2933 4.52637 15.9643 3.88217 14.4094C3.23798 12.8546 3.06943 11.1436 3.39784 9.49297C3.72624 7.84233 4.53686 6.32611 5.72717 5.13606C6.91748 3.94601 8.43404 3.13558 10.085 2.80724C11.7361 2.47891 13.4474 2.64742 15.0026 3.29147C16.5578 3.93552 17.8871 5.02618 18.8223 6.42553C19.5716 7.54666 20.041 8.82559 20.198 10.1553C20.2628 10.7038 20.7044 11.1531 21.2567 11.1531H21.651Z"})}),S.jsx("path",{d:"M21.651 11.1531C22.2033 11.1531 22.6557 10.7044 22.6051 10.1544C22.4392 8.35049 21.8256 6.61063 20.8131 5.09564C19.6148 3.30264 17.9116 1.90517 15.9188 1.07995C13.9261 0.254719 11.7334 0.0388023 9.61795 0.459499C7.50249 0.880196 5.55932 1.91861 4.03417 3.44343C2.50901 4.96825 1.47036 6.91099 1.04957 9.02598C0.628782 11.141 0.844747 13.3332 1.67016 15.3255C2.49557 17.3177 3.89335 19.0206 5.68674 20.2186C7.20212 21.2309 8.94246 21.8444 10.7469 22.0103C11.2969 22.0609 11.7455 21.6084 11.7455 21.0561V20.6624C11.7455 20.1101 11.2962 19.6684 10.7478 19.6037C9.41766 19.4467 8.13837 18.9775 7.01693 18.2283C5.61727 17.2933 4.52637 15.9643 3.88217 14.4094C3.23798 12.8546 3.06943 11.1436 3.39784 9.49297C3.72624 7.84233 4.53686 6.32611 5.72717 5.13606C6.91748 3.94601 8.43404 3.13558 10.085 2.80724C11.7361 2.47891 13.4474 2.64742 15.0026 3.29147C16.5578 3.93552 17.8871 5.02618 18.8223 6.42553C19.5716 7.54666 20.041 8.82559 20.198 10.1553C20.2628 10.7038 20.7044 11.1531 21.2567 11.1531H21.651Z",fill:"white",stroke:n,strokeWidth:"4",mask:"url(#path-2-inside-1_1_1191)"}),S.jsx("path",{d:"M19.3793 14.424V23.1464",stroke:n,strokeWidth:"2"}),S.jsx("path",{d:"M11.4043 17.7033V4.97607H12.2197V17.7033H11.4043ZM13.567 9.17707C13.5272 8.77603 13.3565 8.46447 13.0549 8.24241C12.7533 8.02034 12.344 7.90931 11.8269 7.90931C11.4756 7.90931 11.179 7.95903 10.937 8.05846C10.6951 8.15458 10.5095 8.28881 10.3802 8.46116C10.2543 8.63351 10.1913 8.82906 10.1913 9.04781C10.1847 9.2301 10.2228 9.38919 10.3056 9.52508C10.3918 9.66097 10.5095 9.77863 10.6586 9.87806C10.8078 9.97418 10.9801 10.0587 11.1757 10.1316C11.3712 10.2012 11.58 10.2609 11.8021 10.3106L12.7168 10.5293C13.161 10.6288 13.5686 10.7613 13.9399 10.9271C14.3111 11.0928 14.6326 11.2966 14.9043 11.5386C15.1761 11.7805 15.3866 12.0656 15.5357 12.3937C15.6882 12.7218 15.7661 13.098 15.7694 13.5222C15.7661 14.1453 15.607 14.6856 15.2921 15.143C14.9806 15.597 14.5298 15.95 13.9399 16.2019C13.3532 16.4505 12.6456 16.5748 11.817 16.5748C10.995 16.5748 10.2791 16.4488 9.66926 16.197C9.06273 15.9451 8.58877 15.5722 8.24739 15.0783C7.90932 14.5812 7.732 13.9664 7.71543 13.2339H9.79852C9.82172 13.5753 9.9195 13.8603 10.0918 14.089C10.2675 14.3144 10.5012 14.4851 10.7928 14.6011C11.0878 14.7138 11.4209 14.7701 11.7921 14.7701C12.1567 14.7701 12.4732 14.7171 12.7417 14.611C13.0135 14.505 13.2239 14.3575 13.3731 14.1685C13.5222 13.9796 13.5968 13.7625 13.5968 13.5173C13.5968 13.2886 13.5289 13.0963 13.393 12.9406C13.2604 12.7848 13.0649 12.6522 12.8063 12.5428C12.5511 12.4335 12.2379 12.334 11.8667 12.2445L10.758 11.9661C9.89961 11.7573 9.22182 11.4309 8.72466 10.9867C8.2275 10.5426 7.98058 9.94435 7.98389 9.19198C7.98058 8.5755 8.14464 8.03692 8.47608 7.57622C8.81083 7.11551 9.26988 6.7559 9.85321 6.49738C10.4365 6.23886 11.0994 6.1096 11.8418 6.1096C12.5975 6.1096 13.2571 6.23886 13.8205 6.49738C14.3873 6.7559 14.8281 7.11551 15.143 7.57622C15.4579 8.03692 15.6203 8.57053 15.6302 9.17707H13.567Z",fill:n})]})},o0=An("grey","500"),YN=({size:e=24,color:t=o0})=>{const n=Fs(t)?t:o0;return S.jsxs("svg",{width:e,height:"100%",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[S.jsx("path",{d:"M22.6371 18.2207H22.1451V17.2905C22.1505 16.9818 22.0908 16.675 21.9697 16.3883C21.8485 16.1015 21.6681 15.8404 21.4392 15.6203C21.2103 15.4001 20.9373 15.2252 20.6362 15.1059C20.3351 14.9865 20.0119 14.925 19.6854 14.925C19.3589 14.925 19.0357 14.9865 18.7346 15.1059C18.4335 15.2252 18.1605 15.4001 17.9316 15.6203C17.7026 15.8404 17.5223 16.1015 17.4011 16.3883C17.2799 16.675 17.2203 16.9818 17.2257 17.2905V18.2207H16.7337C16.4724 18.2214 16.2221 18.3201 16.0377 18.495C15.8532 18.67 15.7496 18.907 15.7496 19.1541V23.8077C15.7503 24.0543 15.8542 24.2907 16.0386 24.4651C16.223 24.6395 16.4729 24.7378 16.7337 24.7385H22.6405C22.9012 24.7378 23.1511 24.6395 23.3355 24.4651C23.5199 24.2907 23.6238 24.0543 23.6245 23.8077V19.1541C23.6245 19.0315 23.5989 18.9101 23.5493 18.7968C23.4997 18.6835 23.4269 18.5806 23.3352 18.4939C23.2435 18.4072 23.1347 18.3385 23.0149 18.2916C22.8951 18.2447 22.7667 18.2207 22.6371 18.2207ZM19.6837 22.4114C19.4891 22.4114 19.2988 22.3568 19.137 22.2545C18.9752 22.1523 18.8491 22.0069 18.7746 21.8368C18.7001 21.6667 18.6806 21.4795 18.7186 21.299C18.7566 21.1184 18.8503 20.9526 18.9879 20.8224C19.1255 20.6922 19.3008 20.6035 19.4917 20.5676C19.6826 20.5317 19.8805 20.5501 20.0603 20.6206C20.2401 20.691 20.3938 20.8104 20.5019 20.9634C20.61 21.1165 20.6677 21.2965 20.6677 21.4806C20.6665 21.7267 20.5625 21.9624 20.3785 22.1364C20.1945 22.3103 19.9452 22.4085 19.685 22.4095L19.6837 22.4114ZM21.2087 18.2207H18.16V17.2905C18.16 16.9079 18.3207 16.541 18.6067 16.2705C18.8927 15.9999 19.2806 15.8479 19.685 15.8479C20.0895 15.8479 20.4774 15.9999 20.7634 16.2705C21.0494 16.541 21.2101 16.9079 21.2101 17.2905L21.2087 18.2207Z",fill:n}),S.jsx("mask",{id:"path-2-inside-1_1_970",fill:"white",children:S.jsx("path",{d:"M21.4995 11.6539C22.0518 11.6539 22.5044 11.2052 22.4523 10.6553C22.2811 8.8512 21.6481 7.11114 20.6036 5.596C19.3675 3.80287 17.6105 2.4053 15.5549 1.58001C13.4992 0.75472 11.2373 0.538787 9.05505 0.959515C6.87281 1.38024 4.86829 2.41874 3.29498 3.94367C1.72167 5.4686 0.650236 7.41148 0.216161 9.52663C-0.217914 11.6418 0.00486931 13.8342 0.856338 15.8266C1.70781 17.819 3.14972 19.522 4.99973 20.7201C6.57173 21.7382 8.3784 22.3529 10.251 22.5147C10.8012 22.5622 11.2498 22.11 11.2498 21.5577V21.1638C11.2498 20.6115 10.8007 20.1695 10.2518 20.1087C8.86847 19.9553 7.53753 19.4845 6.37192 18.7296C4.92807 17.7945 3.80272 16.4655 3.13819 14.9105C2.47366 13.3555 2.29979 11.6444 2.63856 9.99366C2.97734 8.34289 3.81354 6.82656 5.04144 5.63642C6.26933 4.44628 7.83376 3.63579 9.5369 3.30743C11.24 2.97907 13.0054 3.1476 14.6097 3.7917C16.214 4.4358 17.5853 5.52654 18.55 6.92599C19.323 8.04726 19.8072 9.32637 19.9692 10.6563C20.0359 11.2045 20.4774 11.6539 21.0297 11.6539H21.4995Z"})}),S.jsx("path",{d:"M21.4995 11.6539C22.0518 11.6539 22.5044 11.2052 22.4523 10.6553C22.2811 8.8512 21.6481 7.11114 20.6036 5.596C19.3675 3.80287 17.6105 2.4053 15.5549 1.58001C13.4992 0.75472 11.2373 0.538787 9.05505 0.959515C6.87281 1.38024 4.86829 2.41874 3.29498 3.94367C1.72167 5.4686 0.650236 7.41148 0.216161 9.52663C-0.217914 11.6418 0.00486931 13.8342 0.856338 15.8266C1.70781 17.819 3.14972 19.522 4.99973 20.7201C6.57173 21.7382 8.3784 22.3529 10.251 22.5147C10.8012 22.5622 11.2498 22.11 11.2498 21.5577V21.1638C11.2498 20.6115 10.8007 20.1695 10.2518 20.1087C8.86847 19.9553 7.53753 19.4845 6.37192 18.7296C4.92807 17.7945 3.80272 16.4655 3.13819 14.9105C2.47366 13.3555 2.29979 11.6444 2.63856 9.99366C2.97734 8.34289 3.81354 6.82656 5.04144 5.63642C6.26933 4.44628 7.83376 3.63579 9.5369 3.30743C11.24 2.97907 13.0054 3.1476 14.6097 3.7917C16.214 4.4358 17.5853 5.52654 18.55 6.92599C19.323 8.04726 19.8072 9.32637 19.9692 10.6563C20.0359 11.2045 20.4774 11.6539 21.0297 11.6539H21.4995Z",fill:"white",stroke:n,strokeWidth:"4",mask:"url(#path-2-inside-1_1_970)"}),S.jsx("path",{d:"M10.9086 18.2035V5.47624H11.7239V18.2035H10.9086ZM13.0712 9.67723C13.0315 9.27619 12.8608 8.96464 12.5592 8.74258C12.2575 8.52051 11.8482 8.40948 11.3312 8.40948C10.9798 8.40948 10.6832 8.45919 10.4413 8.55863C10.1993 8.65474 10.0137 8.78898 9.88444 8.96133C9.7585 9.13367 9.69552 9.32922 9.69552 9.54797C9.68889 9.73027 9.72701 9.88936 9.80987 10.0252C9.89604 10.1611 10.0137 10.2788 10.1629 10.3782C10.312 10.4743 10.4843 10.5589 10.6799 10.6318C10.8754 10.7014 11.0843 10.761 11.3063 10.8108L12.2211 11.0295C12.6652 11.1289 13.0729 11.2615 13.4441 11.4272C13.8153 11.593 14.1368 11.7968 14.4086 12.0387C14.6804 12.2807 14.8908 12.5657 15.04 12.8939C15.1924 13.222 15.2703 13.5982 15.2736 14.0224C15.2703 14.6455 15.1112 15.1858 14.7964 15.6431C14.4848 16.0972 14.0341 16.4502 13.4441 16.7021C12.8575 16.9507 12.1498 17.075 11.3212 17.075C10.4993 17.075 9.78335 16.949 9.1735 16.6971C8.56697 16.4452 8.09301 16.0724 7.75163 15.5785C7.41356 15.0814 7.23624 14.4665 7.21967 13.7341H9.30277C9.32597 14.0754 9.42374 14.3605 9.59609 14.5892C9.77175 14.8145 10.0054 14.9852 10.2971 15.1012C10.5921 15.2139 10.9252 15.2703 11.2964 15.2703C11.661 15.2703 11.9775 15.2172 12.2459 15.1112C12.5177 15.0051 12.7282 14.8576 12.8773 14.6687C13.0265 14.4798 13.1011 14.2627 13.1011 14.0174C13.1011 13.7887 13.0331 13.5965 12.8972 13.4407C12.7647 13.285 12.5691 13.1524 12.3106 13.043C12.0554 12.9336 11.7422 12.8342 11.3709 12.7447L10.2623 12.4663C9.40386 12.2575 8.72606 11.931 8.2289 11.4869C7.73174 11.0428 7.48482 10.4445 7.48814 9.69215C7.48482 9.07567 7.64888 8.53708 7.98032 8.07638C8.31508 7.61568 8.77412 7.25607 9.35745 6.99755C9.94079 6.73902 10.6037 6.60976 11.3461 6.60976C12.1018 6.60976 12.7613 6.73902 13.3248 6.99755C13.8915 7.25607 14.3324 7.61568 14.6472 8.07638C14.9621 8.53708 15.1245 9.0707 15.1344 9.67723H13.0712Z",fill:n})]})};function Gi(e){"@babel/helpers - typeof";return Gi=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},Gi(e)}function UN(e,t){if(Gi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Gi(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function i0(e){var t=UN(e,"string");return Gi(t)=="symbol"?t:t+""}function Cl(e,t,n){return(t=i0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ye(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?s0(Object(n),!0).forEach(function(r){Cl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function XN(e){if(Array.isArray(e))return e}function ZN(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,s,l,c=[],u=!0,f=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(p){f=!0,o=p}finally{try{if(!u&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw o}}return c}}function jp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a0(e,t){if(e){if(typeof e=="string")return jp(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jp(e,t):void 0}}function qN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
296
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lo(e,t){return XN(e)||ZN(e,t)||a0(e,t)||qN()}function _o(e,t){if(e==null)return{};var n,r,o=je(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var JN=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function KN(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,o=r===void 0?!1:r,s=e.defaultValue,l=s===void 0?null:s,c=e.inputValue,u=e.menuIsOpen,f=e.onChange,p=e.onInputChange,h=e.onMenuClose,g=e.onMenuOpen,v=e.value,y=_o(e,JN),m=J.useState(c!==void 0?c:n),C=Lo(m,2),x=C[0],M=C[1],I=J.useState(u!==void 0?u:o),O=Lo(I,2),T=O[0],k=O[1],D=J.useState(v!==void 0?v:l),A=Lo(D,2),j=A[0],E=A[1],R=J.useCallback(function(G,U){typeof f=="function"&&f(G,U),E(G)},[f]),H=J.useCallback(function(G,U){var z;typeof p=="function"&&(z=p(G,U)),M(z!==void 0?z:G)},[p]),B=J.useCallback(function(){typeof g=="function"&&g(),k(!0)},[g]),L=J.useCallback(function(){typeof h=="function"&&h(),k(!1)},[h]),V=c!==void 0?c:x,F=u!==void 0?u:T,Y=v!==void 0?v:j;return Ye(Ye({},y),{},{inputValue:V,menuIsOpen:F,onChange:R,onInputChange:H,onMenuClose:L,onMenuOpen:B,value:Y})}function QN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(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,i0(r.key),r)}}function e5(e,t,n){return t&&l0(e.prototype,t),n&&l0(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function t5(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&&Zc(e,t)}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ou(e)}function c0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(c0=function(){return!!e})()}function n5(e,t){if(t&&(Gi(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ev(e)}function r5(e){var t=c0();return function(){var n,r=Ou(e);if(t){var o=Ou(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return n5(this,n)}}function o5(e){if(Array.isArray(e))return jp(e)}function i5(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function s5(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
297
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hp(e){return o5(e)||i5(e)||a0(e)||s5()}function a5(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const l5=["top","right","bottom","left"],mi=Math.min,lr=Math.max,Pu=Math.round,Eu=Math.floor,co=e=>({x:e,y:e}),c5={left:"right",right:"left",bottom:"top",top:"bottom"},u5={start:"end",end:"start"};function zp(e,t,n){return lr(e,mi(t,n))}function Bo(e,t){return typeof e=="function"?e(t):e}function $o(e){return e.split("-")[0]}function Vs(e){return e.split("-")[1]}function Gp(e){return e==="x"?"y":"x"}function Yp(e){return e==="y"?"height":"width"}const d5=new Set(["top","bottom"]);function uo(e){return d5.has($o(e))?"y":"x"}function Up(e){return Gp(uo(e))}function f5(e,t,n){n===void 0&&(n=!1);const r=Vs(e),o=Up(e),s=Yp(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=Mu(l)),[l,Mu(l)]}function p5(e){const t=Mu(e);return[Xp(e),t,Xp(t)]}function Xp(e){return e.replace(/start|end/g,t=>u5[t])}const u0=["left","right"],d0=["right","left"],h5=["top","bottom"],m5=["bottom","top"];function g5(e,t,n){switch(e){case"top":case"bottom":return n?t?d0:u0:t?u0:d0;case"left":case"right":return t?h5:m5;default:return[]}}function b5(e,t,n,r){const o=Vs(e);let s=g5($o(e),n==="start",r);return o&&(s=s.map(l=>l+"-"+o),t&&(s=s.concat(s.map(Xp)))),s}function Mu(e){return e.replace(/left|right|bottom|top/g,t=>c5[t])}function v5(e){return{top:0,right:0,bottom:0,left:0,...e}}function f0(e){return typeof e!="number"?v5(e):{top:e,right:e,bottom:e,left:e}}function Du(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function p0(e,t,n){let{reference:r,floating:o}=e;const s=uo(t),l=Up(t),c=Yp(l),u=$o(t),f=s==="y",p=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,g=r[c]/2-o[c]/2;let v;switch(u){case"top":v={x:p,y:r.y-o.height};break;case"bottom":v={x:p,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:h};break;case"left":v={x:r.x-o.width,y:h};break;default:v={x:r.x,y:r.y}}switch(Vs(t)){case"start":v[l]-=g*(n&&f?-1:1);break;case"end":v[l]+=g*(n&&f?-1:1);break}return v}const y5=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:l}=n,c=s.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t));let f=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:h}=p0(f,r,u),g=r,v={},y=0;for(let m=0;m<c.length;m++){const{name:C,fn:x}=c[m],{x:M,y:I,data:O,reset:T}=await x({x:p,y:h,initialPlacement:r,placement:g,strategy:o,middlewareData:v,rects:f,platform:l,elements:{reference:e,floating:t}});p=M??p,h=I??h,v={...v,[C]:{...v[C],...O}},T&&y<=50&&(y++,typeof T=="object"&&(T.placement&&(g=T.placement),T.rects&&(f=T.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:p,y:h}=p0(f,g,u)),m=-1)}return{x:p,y:h,placement:g,strategy:o,middlewareData:v}};async function wl(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:l,elements:c,strategy:u}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:g=!1,padding:v=0}=Bo(t,e),y=f0(v),C=c[g?h==="floating"?"reference":"floating":h],x=Du(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(C)))==null||n?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:f,rootBoundary:p,strategy:u})),M=h==="floating"?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,I=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),O=await(s.isElement==null?void 0:s.isElement(I))?await(s.getScale==null?void 0:s.getScale(I))||{x:1,y:1}:{x:1,y:1},T=Du(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:M,offsetParent:I,strategy:u}):M);return{top:(x.top-T.top+y.top)/O.y,bottom:(T.bottom-x.bottom+y.bottom)/O.y,left:(x.left-T.left+y.left)/O.x,right:(T.right-x.right+y.right)/O.x}}const C5=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:l,elements:c,middlewareData:u}=t,{element:f,padding:p=0}=Bo(e,t)||{};if(f==null)return{};const h=f0(p),g={x:n,y:r},v=Up(o),y=Yp(v),m=await l.getDimensions(f),C=v==="y",x=C?"top":"left",M=C?"bottom":"right",I=C?"clientHeight":"clientWidth",O=s.reference[y]+s.reference[v]-g[v]-s.floating[y],T=g[v]-s.reference[v],k=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f));let D=k?k[I]:0;(!D||!await(l.isElement==null?void 0:l.isElement(k)))&&(D=c.floating[I]||s.floating[y]);const A=O/2-T/2,j=D/2-m[y]/2-1,E=mi(h[x],j),R=mi(h[M],j),H=E,B=D-m[y]-R,L=D/2-m[y]/2+A,V=zp(H,L,B),F=!u.arrow&&Vs(o)!=null&&L!==V&&s.reference[y]/2-(L<H?E:R)-m[y]/2<0,Y=F?L<H?L-H:L-B:0;return{[v]:g[v]+Y,data:{[v]:V,centerOffset:L-V-Y,...F&&{alignmentOffset:Y}},reset:F}}}),w5=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:l,initialPlacement:c,platform:u,elements:f}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:m=!0,...C}=Bo(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const x=$o(o),M=uo(c),I=$o(c)===c,O=await(u.isRTL==null?void 0:u.isRTL(f.floating)),T=g||(I||!m?[Mu(c)]:p5(c)),k=y!=="none";!g&&k&&T.push(...b5(c,m,y,O));const D=[c,...T],A=await wl(t,C),j=[];let E=((r=s.flip)==null?void 0:r.overflows)||[];if(p&&j.push(A[x]),h){const L=f5(o,l,O);j.push(A[L[0]],A[L[1]])}if(E=[...E,{placement:o,overflows:j}],!j.every(L=>L<=0)){var R,H;const L=(((R=s.flip)==null?void 0:R.index)||0)+1,V=D[L];if(V&&(!(h==="alignment"?M!==uo(V):!1)||E.every(G=>uo(G.placement)===M?G.overflows[0]>0:!0)))return{data:{index:L,overflows:E},reset:{placement:V}};let F=(H=E.filter(Y=>Y.overflows[0]<=0).sort((Y,G)=>Y.overflows[1]-G.overflows[1])[0])==null?void 0:H.placement;if(!F)switch(v){case"bestFit":{var B;const Y=(B=E.filter(G=>{if(k){const U=uo(G.placement);return U===M||U==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(U=>U>0).reduce((U,z)=>U+z,0)]).sort((G,U)=>G[1]-U[1])[0])==null?void 0:B[0];Y&&(F=Y);break}case"initialPlacement":F=c;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function h0(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function m0(e){return l5.some(t=>e[t]>=0)}const x5=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Bo(e,t);switch(r){case"referenceHidden":{const s=await wl(t,{...o,elementContext:"reference"}),l=h0(s,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:m0(l)}}}case"escaped":{const s=await wl(t,{...o,altBoundary:!0}),l=h0(s,n.floating);return{data:{escapedOffsets:l,escaped:m0(l)}}}default:return{}}}}},g0=new Set(["left","top"]);async function S5(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=$o(n),c=Vs(n),u=uo(n)==="y",f=g0.has(l)?-1:1,p=s&&u?-1:1,h=Bo(t,e);let{mainAxis:g,crossAxis:v,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof y=="number"&&(v=c==="end"?y*-1:y),u?{x:v*p,y:g*f}:{x:g*f,y:v*p}}const I5=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:l,middlewareData:c}=t,u=await S5(t,e);return l===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:s+u.y,data:{...u,placement:l}}}}},T5=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:C=>{let{x,y:M}=C;return{x,y:M}}},...u}=Bo(e,t),f={x:n,y:r},p=await wl(t,u),h=uo($o(o)),g=Gp(h);let v=f[g],y=f[h];if(s){const C=g==="y"?"top":"left",x=g==="y"?"bottom":"right",M=v+p[C],I=v-p[x];v=zp(M,v,I)}if(l){const C=h==="y"?"top":"left",x=h==="y"?"bottom":"right",M=y+p[C],I=y-p[x];y=zp(M,y,I)}const m=c.fn({...t,[g]:v,[h]:y});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[g]:s,[h]:l}}}}}},O5=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:l}=t,{offset:c=0,mainAxis:u=!0,crossAxis:f=!0}=Bo(e,t),p={x:n,y:r},h=uo(o),g=Gp(h);let v=p[g],y=p[h];const m=Bo(c,t),C=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const I=g==="y"?"height":"width",O=s.reference[g]-s.floating[I]+C.mainAxis,T=s.reference[g]+s.reference[I]-C.mainAxis;v<O?v=O:v>T&&(v=T)}if(f){var x,M;const I=g==="y"?"width":"height",O=g0.has($o(o)),T=s.reference[h]-s.floating[I]+(O&&((x=l.offset)==null?void 0:x[h])||0)+(O?0:C.crossAxis),k=s.reference[h]+s.reference[I]+(O?0:((M=l.offset)==null?void 0:M[h])||0)-(O?C.crossAxis:0);y<T?y=T:y>k&&(y=k)}return{[g]:v,[h]:y}}}},P5=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:l,elements:c}=t,{apply:u=()=>{},...f}=Bo(e,t),p=await wl(t,f),h=$o(o),g=Vs(o),v=uo(o)==="y",{width:y,height:m}=s.floating;let C,x;h==="top"||h==="bottom"?(C=h,x=g===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(x=h,C=g==="end"?"top":"bottom");const M=m-p.top-p.bottom,I=y-p.left-p.right,O=mi(m-p[C],M),T=mi(y-p[x],I),k=!t.middlewareData.shift;let D=O,A=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=I),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(D=M),k&&!g){const E=lr(p.left,0),R=lr(p.right,0),H=lr(p.top,0),B=lr(p.bottom,0);v?A=y-2*(E!==0||R!==0?E+R:lr(p.left,p.right)):D=m-2*(H!==0||B!==0?H+B:lr(p.top,p.bottom))}await u({...t,availableWidth:A,availableHeight:D});const j=await l.getDimensions(c.floating);return y!==j.width||m!==j.height?{reset:{rects:!0}}:{}}}};function ku(){return typeof window<"u"}function Ls(e){return b0(e)?(e.nodeName||"").toLowerCase():"#document"}function cr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function fo(e){var t;return(t=(b0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function b0(e){return ku()?e instanceof Node||e instanceof cr(e).Node:!1}function Wr(e){return ku()?e instanceof Element||e instanceof cr(e).Element:!1}function po(e){return ku()?e instanceof HTMLElement||e instanceof cr(e).HTMLElement:!1}function v0(e){return!ku()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof cr(e).ShadowRoot}const E5=new Set(["inline","contents"]);function xl(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=jr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!E5.has(o)}const M5=new Set(["table","td","th"]);function D5(e){return M5.has(Ls(e))}const k5=[":popover-open",":modal"];function Au(e){return k5.some(t=>{try{return e.matches(t)}catch{return!1}})}const A5=["transform","translate","scale","rotate","perspective"],N5=["transform","translate","scale","rotate","perspective","filter"],R5=["paint","layout","strict","content"];function Zp(e){const t=qp(),n=Wr(e)?jr(e):e;return A5.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||N5.some(r=>(n.willChange||"").includes(r))||R5.some(r=>(n.contain||"").includes(r))}function F5(e){let t=gi(e);for(;po(t)&&!_s(t);){if(Zp(t))return t;if(Au(t))return null;t=gi(t)}return null}function qp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const V5=new Set(["html","body","#document"]);function _s(e){return V5.has(Ls(e))}function jr(e){return cr(e).getComputedStyle(e)}function Nu(e){return Wr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function gi(e){if(Ls(e)==="html")return e;const t=e.assignedSlot||e.parentNode||v0(e)&&e.host||fo(e);return v0(t)?t.host:t}function y0(e){const t=gi(e);return _s(t)?e.ownerDocument?e.ownerDocument.body:e.body:po(t)&&xl(t)?t:y0(t)}function Sl(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=y0(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),l=cr(o);if(s){const c=Jp(l);return t.concat(l,l.visualViewport||[],xl(o)?o:[],c&&n?Sl(c):[])}return t.concat(o,Sl(o,[],n))}function Jp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function C0(e){const t=jr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=po(e),s=o?e.offsetWidth:n,l=o?e.offsetHeight:r,c=Pu(n)!==s||Pu(r)!==l;return c&&(n=s,r=l),{width:n,height:r,$:c}}function Kp(e){return Wr(e)?e:e.contextElement}function Bs(e){const t=Kp(e);if(!po(t))return co(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=C0(t);let l=(s?Pu(n.width):n.width)/r,c=(s?Pu(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const L5=co(0);function w0(e){const t=cr(e);return!qp()||!t.visualViewport?L5:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _5(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==cr(e)?!1:t}function Yi(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Kp(e);let l=co(1);t&&(r?Wr(r)&&(l=Bs(r)):l=Bs(e));const c=_5(s,n,r)?w0(s):co(0);let u=(o.left+c.x)/l.x,f=(o.top+c.y)/l.y,p=o.width/l.x,h=o.height/l.y;if(s){const g=cr(s),v=r&&Wr(r)?cr(r):r;let y=g,m=Jp(y);for(;m&&r&&v!==y;){const C=Bs(m),x=m.getBoundingClientRect(),M=jr(m),I=x.left+(m.clientLeft+parseFloat(M.paddingLeft))*C.x,O=x.top+(m.clientTop+parseFloat(M.paddingTop))*C.y;u*=C.x,f*=C.y,p*=C.x,h*=C.y,u+=I,f+=O,y=cr(m),m=Jp(y)}}return Du({width:p,height:h,x:u,y:f})}function Qp(e,t){const n=Nu(e).scrollLeft;return t?t.left+n:Yi(fo(e)).left+n}function x0(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Qp(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function B5(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",l=fo(r),c=t?Au(t.floating):!1;if(r===l||c&&s)return n;let u={scrollLeft:0,scrollTop:0},f=co(1);const p=co(0),h=po(r);if((h||!h&&!s)&&((Ls(r)!=="body"||xl(l))&&(u=Nu(r)),po(r))){const v=Yi(r);f=Bs(r),p.x=v.x+r.clientLeft,p.y=v.y+r.clientTop}const g=l&&!h&&!s?x0(l,u,!0):co(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+p.x+g.x,y:n.y*f.y-u.scrollTop*f.y+p.y+g.y}}function $5(e){return Array.from(e.getClientRects())}function W5(e){const t=fo(e),n=Nu(e),r=e.ownerDocument.body,o=lr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=lr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Qp(e);const c=-n.scrollTop;return jr(r).direction==="rtl"&&(l+=lr(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:l,y:c}}function j5(e,t){const n=cr(e),r=fo(e),o=n.visualViewport;let s=r.clientWidth,l=r.clientHeight,c=0,u=0;if(o){s=o.width,l=o.height;const f=qp();(!f||f&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:l,x:c,y:u}}const H5=new Set(["absolute","fixed"]);function z5(e,t){const n=Yi(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=po(e)?Bs(e):co(1),l=e.clientWidth*s.x,c=e.clientHeight*s.y,u=o*s.x,f=r*s.y;return{width:l,height:c,x:u,y:f}}function S0(e,t,n){let r;if(t==="viewport")r=j5(e,n);else if(t==="document")r=W5(fo(e));else if(Wr(t))r=z5(t,n);else{const o=w0(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Du(r)}function I0(e,t){const n=gi(e);return n===t||!Wr(n)||_s(n)?!1:jr(n).position==="fixed"||I0(n,t)}function G5(e,t){const n=t.get(e);if(n)return n;let r=Sl(e,[],!1).filter(c=>Wr(c)&&Ls(c)!=="body"),o=null;const s=jr(e).position==="fixed";let l=s?gi(e):e;for(;Wr(l)&&!_s(l);){const c=jr(l),u=Zp(l);!u&&c.position==="fixed"&&(o=null),(s?!u&&!o:!u&&c.position==="static"&&!!o&&H5.has(o.position)||xl(l)&&!u&&I0(e,l))?r=r.filter(p=>p!==l):o=c,l=gi(l)}return t.set(e,r),r}function Y5(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const l=[...n==="clippingAncestors"?Au(t)?[]:G5(t,this._c):[].concat(n),r],c=l[0],u=l.reduce((f,p)=>{const h=S0(t,p,o);return f.top=lr(h.top,f.top),f.right=mi(h.right,f.right),f.bottom=mi(h.bottom,f.bottom),f.left=lr(h.left,f.left),f},S0(t,c,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function U5(e){const{width:t,height:n}=C0(e);return{width:t,height:n}}function X5(e,t,n){const r=po(t),o=fo(t),s=n==="fixed",l=Yi(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const u=co(0);function f(){u.x=Qp(o)}if(r||!r&&!s)if((Ls(t)!=="body"||xl(o))&&(c=Nu(t)),r){const v=Yi(t,!0,s,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&f();s&&!r&&o&&f();const p=o&&!r&&!s?x0(o,c):co(0),h=l.left+c.scrollLeft-u.x-p.x,g=l.top+c.scrollTop-u.y-p.y;return{x:h,y:g,width:l.width,height:l.height}}function eh(e){return jr(e).position==="static"}function T0(e,t){if(!po(e)||jr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return fo(e)===n&&(n=n.ownerDocument.body),n}function O0(e,t){const n=cr(e);if(Au(e))return n;if(!po(e)){let o=gi(e);for(;o&&!_s(o);){if(Wr(o)&&!eh(o))return o;o=gi(o)}return n}let r=T0(e,t);for(;r&&D5(r)&&eh(r);)r=T0(r,t);return r&&_s(r)&&eh(r)&&!Zp(r)?n:r||F5(e)||n}const Z5=async function(e){const t=this.getOffsetParent||O0,n=this.getDimensions,r=await n(e.floating);return{reference:X5(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function q5(e){return jr(e).direction==="rtl"}const J5={convertOffsetParentRelativeRectToViewportRelativeRect:B5,getDocumentElement:fo,getClippingRect:Y5,getOffsetParent:O0,getElementRects:Z5,getClientRects:$5,getDimensions:U5,getScale:Bs,isElement:Wr,isRTL:q5};function P0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function K5(e,t){let n=null,r;const o=fo(e);function s(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function l(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),s();const f=e.getBoundingClientRect(),{left:p,top:h,width:g,height:v}=f;if(c||t(),!g||!v)return;const y=Eu(h),m=Eu(o.clientWidth-(p+g)),C=Eu(o.clientHeight-(h+v)),x=Eu(p),I={rootMargin:-y+"px "+-m+"px "+-C+"px "+-x+"px",threshold:lr(0,mi(1,u))||1};let O=!0;function T(k){const D=k[0].intersectionRatio;if(D!==u){if(!O)return l();D?l(!1,D):r=setTimeout(()=>{l(!1,1e-7)},1e3)}D===1&&!P0(f,e.getBoundingClientRect())&&l(),O=!1}try{n=new IntersectionObserver(T,{...I,root:o.ownerDocument})}catch{n=new IntersectionObserver(T,I)}n.observe(e)}return l(!0),s}function E0(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,f=Kp(e),p=o||s?[...f?Sl(f):[],...Sl(t)]:[];p.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),s&&x.addEventListener("resize",n)});const h=f&&c?K5(f,n):null;let g=-1,v=null;l&&(v=new ResizeObserver(x=>{let[M]=x;M&&M.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var I;(I=v)==null||I.observe(t)})),n()}),f&&!u&&v.observe(f),v.observe(t));let y,m=u?Yi(e):null;u&&C();function C(){const x=Yi(e);m&&!P0(m,x)&&n(),m=x,y=requestAnimationFrame(C)}return n(),()=>{var x;p.forEach(M=>{o&&M.removeEventListener("scroll",n),s&&M.removeEventListener("resize",n)}),h==null||h(),(x=v)==null||x.disconnect(),v=null,u&&cancelAnimationFrame(y)}}const Q5=I5,e4=T5,t4=w5,n4=P5,r4=x5,M0=C5,o4=O5,i4=(e,t,n)=>{const r=new Map,o={platform:J5,...n},s={...o.platform,_c:r};return y5(e,t,{...o,platform:s})};var th=J.useLayoutEffect,s4=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ru=function(){};function a4(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function l4(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var s=[].concat(r);if(t&&e)for(var l in t)t.hasOwnProperty(l)&&t[l]&&s.push("".concat(a4(e,l)));return s.filter(function(c){return c}).map(function(c){return String(c).trim()}).join(" ")}var D0=function(t){return b4(t)?t.filter(Boolean):Gi(t)==="object"&&t!==null?[t]:[]},k0=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=_o(t,s4);return Ye({},n)},dn=function(t,n,r){var o=t.cx,s=t.getStyles,l=t.getClassNames,c=t.className;return{css:s(n,t),className:o(r??{},l(n,t),c)}};function Fu(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function c4(e){return Fu(e)?window.innerHeight:e.clientHeight}function A0(e){return Fu(e)?window.pageYOffset:e.scrollTop}function Vu(e,t){if(Fu(e)){window.scrollTo(0,t);return}e.scrollTop=t}function u4(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function d4(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Lu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Ru,o=A0(e),s=t-o,l=10,c=0;function u(){c+=l;var f=d4(c,o,s,n);Vu(e,f),c<n?window.requestAnimationFrame(u):r(e)}u()}function N0(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Vu(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Vu(e,Math.max(t.offsetTop-o,0))}function f4(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 R0(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function p4(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var F0=!1,h4={get passive(){return F0=!0}},_u=typeof window<"u"?window:{};_u.addEventListener&&_u.removeEventListener&&(_u.addEventListener("p",Ru,h4),_u.removeEventListener("p",Ru,!1));var m4=F0;function g4(e){return e!=null}function b4(e){return Array.isArray(e)}function Bu(e,t,n){return e?t:n}function BJ(e){return e}function $J(e){return e}var v4=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var s=Object.entries(t).filter(function(l){var c=Lo(l,1),u=c[0];return!r.includes(u)});return s.reduce(function(l,c){var u=Lo(c,2),f=u[0],p=u[1];return l[f]=p,l},{})},y4=["children","innerProps"],C4=["children","innerProps"];function w4(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,s=e.shouldScroll,l=e.isFixedPosition,c=e.controlHeight,u=u4(n),f={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return f;var p=u.getBoundingClientRect(),h=p.height,g=n.getBoundingClientRect(),v=g.bottom,y=g.height,m=g.top,C=n.offsetParent.getBoundingClientRect(),x=C.top,M=l?window.innerHeight:c4(u),I=A0(u),O=parseInt(getComputedStyle(n).marginBottom,10),T=parseInt(getComputedStyle(n).marginTop,10),k=x-T,D=M-m,A=k+I,j=h-I-m,E=v-M+I+O,R=I+m-T,H=160;switch(o){case"auto":case"bottom":if(D>=y)return{placement:"bottom",maxHeight:t};if(j>=y&&!l)return s&&Lu(u,E,H),{placement:"bottom",maxHeight:t};if(!l&&j>=r||l&&D>=r){s&&Lu(u,E,H);var B=l?D-O:j-O;return{placement:"bottom",maxHeight:B}}if(o==="auto"||l){var L=t,V=l?k:A;return V>=r&&(L=Math.min(V-O-c,t)),{placement:"top",maxHeight:L}}if(o==="bottom")return s&&Vu(u,E),{placement:"bottom",maxHeight:t};break;case"top":if(k>=y)return{placement:"top",maxHeight:t};if(A>=y&&!l)return s&&Lu(u,R,H),{placement:"top",maxHeight:t};if(!l&&A>=r||l&&k>=r){var F=t;return(!l&&A>=r||l&&k>=r)&&(F=l?k-T:A-T),s&&Lu(u,R,H),{placement:"top",maxHeight:F}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return f}function x4(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var V0=function(t){return t==="auto"?"bottom":t},S4=function(t,n){var r,o=t.placement,s=t.theme,l=s.borderRadius,c=s.spacing,u=s.colors;return Ye((r={label:"menu"},Cl(r,x4(o),"100%"),Cl(r,"position","absolute"),Cl(r,"width","100%"),Cl(r,"zIndex",1),r),n?{}:{backgroundColor:u.neutral0,borderRadius:l,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:c.menuGutter,marginTop:c.menuGutter})},L0=J.createContext(null),I4=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,s=t.menuPlacement,l=t.menuPosition,c=t.menuShouldScrollIntoView,u=t.theme,f=J.useContext(L0)||{},p=f.setPortalPlacement,h=J.useRef(null),g=J.useState(o),v=Lo(g,2),y=v[0],m=v[1],C=J.useState(null),x=Lo(C,2),M=x[0],I=x[1],O=u.spacing.controlHeight;return th(function(){var T=h.current;if(T){var k=l==="fixed",D=c&&!k,A=w4({maxHeight:o,menuEl:T,minHeight:r,placement:s,shouldScroll:D,isFixedPosition:k,controlHeight:O});m(A.maxHeight),I(A.placement),p==null||p(A.placement)}},[o,s,l,c,r,p,O]),n({ref:h,placerProps:Ye(Ye({},t),{},{placement:M||V0(s),maxHeight:y})})},T4=function(t){var n=t.children,r=t.innerRef,o=t.innerProps;return Ge("div",W({},dn(t,"menu",{menu:!0}),{ref:r},o),n)},O4=T4,P4=function(t,n){var r=t.maxHeight,o=t.theme.spacing.baseUnit;return Ye({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},E4=function(t){var n=t.children,r=t.innerProps,o=t.innerRef,s=t.isMulti;return Ge("div",W({},dn(t,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:o},r),n)},_0=function(t,n){var r=t.theme,o=r.spacing.baseUnit,s=r.colors;return Ye({textAlign:"center"},n?{}:{color:s.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},M4=_0,D4=_0,k4=function(t){var n=t.children,r=n===void 0?"No options":n,o=t.innerProps,s=_o(t,y4);return Ge("div",W({},dn(Ye(Ye({},s),{},{children:r,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),r)},A4=function(t){var n=t.children,r=n===void 0?"Loading...":n,o=t.innerProps,s=_o(t,C4);return Ge("div",W({},dn(Ye(Ye({},s),{},{children:r,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),r)},N4=function(t){var n=t.rect,r=t.offset,o=t.position;return{left:n.left,position:o,top:r,width:n.width,zIndex:1}},R4=function(t){var n=t.appendTo,r=t.children,o=t.controlElement,s=t.innerProps,l=t.menuPlacement,c=t.menuPosition,u=J.useRef(null),f=J.useRef(null),p=J.useState(V0(l)),h=Lo(p,2),g=h[0],v=h[1],y=J.useMemo(function(){return{setPortalPlacement:v}},[]),m=J.useState(null),C=Lo(m,2),x=C[0],M=C[1],I=J.useCallback(function(){if(o){var D=f4(o),A=c==="fixed"?0:window.pageYOffset,j=D[g]+A;(j!==(x==null?void 0:x.offset)||D.left!==(x==null?void 0:x.rect.left)||D.width!==(x==null?void 0:x.rect.width))&&M({offset:j,rect:D})}},[o,c,g,x==null?void 0:x.offset,x==null?void 0:x.rect.left,x==null?void 0:x.rect.width]);th(function(){I()},[I]);var O=J.useCallback(function(){typeof f.current=="function"&&(f.current(),f.current=null),o&&u.current&&(f.current=E0(o,u.current,I,{elementResize:"ResizeObserver"in window}))},[o,I]);th(function(){O()},[O]);var T=J.useCallback(function(D){u.current=D,O()},[O]);if(!n&&c!=="fixed"||!x)return null;var k=Ge("div",W({ref:T},dn(Ye(Ye({},t),{},{offset:x.offset,position:c,rect:x.rect}),"menuPortal",{"menu-portal":!0}),s),r);return Ge(L0.Provider,{value:y},n?Ai.createPortal(k,n):k)},F4=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},V4=function(t){var n=t.children,r=t.innerProps,o=t.isDisabled,s=t.isRtl;return Ge("div",W({},dn(t,"container",{"--is-disabled":o,"--is-rtl":s}),r),n)},L4=function(t,n){var r=t.theme.spacing,o=t.isMulti,s=t.hasValue,l=t.selectProps.controlShouldRenderValue;return Ye({alignItems:"center",display:o&&s&&l?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},_4=function(t){var n=t.children,r=t.innerProps,o=t.isMulti,s=t.hasValue;return Ge("div",W({},dn(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":s}),r),n)},B4=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},$4=function(t){var n=t.children,r=t.innerProps;return Ge("div",W({},dn(t,"indicatorsContainer",{indicators:!0}),r),n)},B0,W4=["size"],j4=["innerProps","isRtl","size"];function H4(){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 z4=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:H4},$0=function(t){var n=t.size,r=_o(t,W4);return Ge("svg",W({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:z4},r))},nh=function(t){return Ge($0,W({size:20},t),Ge("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"}))},W0=function(t){return Ge($0,W({size:20},t),Ge("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"}))},j0=function(t,n){var r=t.isFocused,o=t.theme,s=o.spacing.baseUnit,l=o.colors;return Ye({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?l.neutral60:l.neutral20,padding:s*2,":hover":{color:r?l.neutral80:l.neutral40}})},G4=j0,Y4=function(t){var n=t.children,r=t.innerProps;return Ge("div",W({},dn(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||Ge(W0,null))},U4=j0,X4=function(t){var n=t.children,r=t.innerProps;return Ge("div",W({},dn(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||Ge(nh,null))},Z4=function(t,n){var r=t.isDisabled,o=t.theme,s=o.spacing.baseUnit,l=o.colors;return Ye({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?l.neutral10:l.neutral20,marginBottom:s*2,marginTop:s*2})},q4=function(t){var n=t.innerProps;return Ge("span",W({},n,dn(t,"indicatorSeparator",{"indicator-separator":!0})))},J4=Po(B0||(B0=a5([`
298
- 0%, 80%, 100% { opacity: 0; }
299
- 40% { opacity: 1; }
300
- `]))),K4=function(t,n){var r=t.isFocused,o=t.size,s=t.theme,l=s.colors,c=s.spacing.baseUnit;return Ye({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?l.neutral60:l.neutral20,padding:c*2})},rh=function(t){var n=t.delay,r=t.offset;return Ge("span",{css:oi({animation:"".concat(J4," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Q4=function(t){var n=t.innerProps,r=t.isRtl,o=t.size,s=o===void 0?4:o,l=_o(t,j4);return Ge("div",W({},dn(Ye(Ye({},l),{},{innerProps:n,isRtl:r,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Ge(rh,{delay:0,offset:r}),Ge(rh,{delay:160,offset:!0}),Ge(rh,{delay:320,offset:!r}))},eR=function(t,n){var r=t.isDisabled,o=t.isFocused,s=t.theme,l=s.colors,c=s.borderRadius,u=s.spacing;return Ye({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?l.neutral5:l.neutral0,borderColor:r?l.neutral10:o?l.primary:l.neutral20,borderRadius:c,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(l.primary):void 0,"&:hover":{borderColor:o?l.primary:l.neutral30}})},tR=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,s=t.innerRef,l=t.innerProps,c=t.menuIsOpen;return Ge("div",W({ref:s},dn(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":o,"control--menu-is-open":c}),l,{"aria-disabled":r||void 0}),n)},nR=tR,rR=["data"],oR=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},iR=function(t){var n=t.children,r=t.cx,o=t.getStyles,s=t.getClassNames,l=t.Heading,c=t.headingProps,u=t.innerProps,f=t.label,p=t.theme,h=t.selectProps;return Ge("div",W({},dn(t,"group",{group:!0}),u),Ge(l,W({},c,{selectProps:h,theme:p,getStyles:o,getClassNames:s,cx:r}),f),Ge("div",null,n))},sR=function(t,n){var r=t.theme,o=r.colors,s=r.spacing;return Ye({label:"group",cursor:"default",display:"block"},n?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:s.baseUnit*3,paddingRight:s.baseUnit*3,textTransform:"uppercase"})},aR=function(t){var n=k0(t);n.data;var r=_o(n,rR);return Ge("div",W({},dn(t,"groupHeading",{"group-heading":!0}),r))},lR=iR,cR=["innerRef","isDisabled","isHidden","inputClassName"],uR=function(t,n){var r=t.isDisabled,o=t.value,s=t.theme,l=s.spacing,c=s.colors;return Ye(Ye({visibility:r?"hidden":"visible",transform:o?"translateZ(0)":""},dR),n?{}:{margin:l.baseUnit/2,paddingBottom:l.baseUnit/2,paddingTop:l.baseUnit/2,color:c.neutral80})},H0={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},dR={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ye({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},H0)},fR=function(t){return Ye({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},H0)},pR=function(t){var n=t.cx,r=t.value,o=k0(t),s=o.innerRef,l=o.isDisabled,c=o.isHidden,u=o.inputClassName,f=_o(o,cR);return Ge("div",W({},dn(t,"input",{"input-container":!0}),{"data-value":r||""}),Ge("input",W({className:n({input:!0},u),ref:s,style:fR(c),disabled:l},f)))},hR=pR,mR=function(t,n){var r=t.theme,o=r.spacing,s=r.borderRadius,l=r.colors;return Ye({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:l.neutral10,borderRadius:s/2,margin:o.baseUnit/2})},gR=function(t,n){var r=t.theme,o=r.borderRadius,s=r.colors,l=t.cropWithEllipsis;return Ye({overflow:"hidden",textOverflow:l||l===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:o/2,color:s.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},bR=function(t,n){var r=t.theme,o=r.spacing,s=r.borderRadius,l=r.colors,c=t.isFocused;return Ye({alignItems:"center",display:"flex"},n?{}:{borderRadius:s/2,backgroundColor:c?l.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:l.dangerLight,color:l.danger}})},z0=function(t){var n=t.children,r=t.innerProps;return Ge("div",r,n)},vR=z0,yR=z0;function CR(e){var t=e.children,n=e.innerProps;return Ge("div",W({role:"button"},n),t||Ge(nh,{size:14}))}var wR=function(t){var n=t.children,r=t.components,o=t.data,s=t.innerProps,l=t.isDisabled,c=t.removeProps,u=t.selectProps,f=r.Container,p=r.Label,h=r.Remove;return Ge(f,{data:o,innerProps:Ye(Ye({},dn(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":l})),s),selectProps:u},Ge(p,{data:o,innerProps:Ye({},dn(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},n),Ge(h,{data:o,innerProps:Ye(Ye({},dn(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},c),selectProps:u}))},xR=wR,SR=function(t,n){var r=t.isDisabled,o=t.isFocused,s=t.isSelected,l=t.theme,c=l.spacing,u=l.colors;return Ye({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:s?u.primary:o?u.primary25:"transparent",color:r?u.neutral20:s?u.neutral0:"inherit",padding:"".concat(c.baseUnit*2,"px ").concat(c.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:s?u.primary:u.primary50}})},IR=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,s=t.isSelected,l=t.innerRef,c=t.innerProps;return Ge("div",W({},dn(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":o,"option--is-selected":s}),{ref:l,"aria-disabled":r},c),n)},TR=IR,OR=function(t,n){var r=t.theme,o=r.spacing,s=r.colors;return Ye({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:s.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},PR=function(t){var n=t.children,r=t.innerProps;return Ge("div",W({},dn(t,"placeholder",{placeholder:!0}),r),n)},ER=PR,MR=function(t,n){var r=t.isDisabled,o=t.theme,s=o.spacing,l=o.colors;return Ye({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?l.neutral40:l.neutral80,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},DR=function(t){var n=t.children,r=t.isDisabled,o=t.innerProps;return Ge("div",W({},dn(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),o),n)},kR=DR,$u={ClearIndicator:X4,Control:nR,DropdownIndicator:Y4,DownChevron:W0,CrossIcon:nh,Group:lR,GroupHeading:aR,IndicatorsContainer:$4,IndicatorSeparator:q4,Input:hR,LoadingIndicator:Q4,Menu:O4,MenuList:E4,MenuPortal:R4,LoadingMessage:A4,NoOptionsMessage:k4,MultiValue:xR,MultiValueContainer:vR,MultiValueLabel:yR,MultiValueRemove:CR,Option:TR,Placeholder:ER,SelectContainer:V4,SingleValue:kR,ValueContainer:_4},AR=function(t){return Ye(Ye({},$u),t.components)},G0=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function NR(e,t){return!!(e===t||G0(e)&&G0(t))}function RR(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!NR(e[n],t[n]))return!1;return!0}function FR(e,t){t===void 0&&(t=RR);var n=null;function r(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var l=e.apply(this,o);return n={lastResult:l,lastArgs:o,lastThis:this},l}return r.clear=function(){n=null},r}function VR(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var LR=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:VR},_R=function(t){return Ge("span",W({css:LR},t))},Y0=_R,BR={guidance:function(t){var n=t.isSearchable,r=t.isMulti,o=t.tabSelectsValue,s=t.context,l=t.isInitialFocus;switch(s){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return l?"".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,o=r===void 0?"":r,s=t.labels,l=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(s.length>1?"s":""," ").concat(s.join(","),", selected.");case"select-option":return l?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,o=t.options,s=t.label,l=s===void 0?"":s,c=t.selectValue,u=t.isDisabled,f=t.isSelected,p=t.isAppleDevice,h=function(m,C){return m&&m.length?"".concat(m.indexOf(C)+1," of ").concat(m.length):""};if(n==="value"&&c)return"value ".concat(l," focused, ").concat(h(c,r),".");if(n==="menu"&&p){var g=u?" disabled":"",v="".concat(f?" selected":"").concat(g);return"".concat(l).concat(v,", ").concat(h(o,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},$R=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,s=t.focusableOptions,l=t.isFocused,c=t.selectValue,u=t.selectProps,f=t.id,p=t.isAppleDevice,h=u.ariaLiveMessages,g=u.getOptionLabel,v=u.inputValue,y=u.isMulti,m=u.isOptionDisabled,C=u.isSearchable,x=u.menuIsOpen,M=u.options,I=u.screenReaderStatus,O=u.tabSelectsValue,T=u.isLoading,k=u["aria-label"],D=u["aria-live"],A=J.useMemo(function(){return Ye(Ye({},BR),h||{})},[h]),j=J.useMemo(function(){var V="";if(n&&A.onChange){var F=n.option,Y=n.options,G=n.removedValue,U=n.removedValues,z=n.value,X=function(ee){return Array.isArray(ee)?null:ee},de=G||F||X(z),re=de?g(de):"",ie=Y||U||void 0,K=ie?ie.map(g):[],se=Ye({isDisabled:de&&m(de,c),label:re,labels:K},n);V=A.onChange(se)}return V},[n,A,m,c,g]),E=J.useMemo(function(){var V="",F=r||o,Y=!!(r&&c&&c.includes(r));if(F&&A.onFocus){var G={focused:F,label:g(F),isDisabled:m(F,c),isSelected:Y,options:s,context:F===r?"menu":"value",selectValue:c,isAppleDevice:p};V=A.onFocus(G)}return V},[r,o,g,m,A,s,c,p]),R=J.useMemo(function(){var V="";if(x&&M.length&&!T&&A.onFilter){var F=I({count:s.length});V=A.onFilter({inputValue:v,resultsMessage:F})}return V},[s,v,x,A,M,I,T]),H=(n==null?void 0:n.action)==="initial-input-focus",B=J.useMemo(function(){var V="";if(A.guidance){var F=o?"value":x?"menu":"input";V=A.guidance({"aria-label":k,context:F,isDisabled:r&&m(r,c),isMulti:y,isSearchable:C,tabSelectsValue:O,isInitialFocus:H})}return V},[k,r,o,y,m,C,x,A,c,O,H]),L=Ge(J.Fragment,null,Ge("span",{id:"aria-selection"},j),Ge("span",{id:"aria-focused"},E),Ge("span",{id:"aria-results"},R),Ge("span",{id:"aria-guidance"},B));return Ge(J.Fragment,null,Ge(Y0,{id:f},H&&L),Ge(Y0,{"aria-live":D,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!H&&L))},WR=$R,oh=[{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źẑżžẓẕƶȥɀⱬꝣ"}],jR=new RegExp("["+oh.map(function(e){return e.letters}).join("")+"]","g"),U0={},ih=0;ih<oh.length;ih++)for(var sh=oh[ih],ah=0;ah<sh.letters.length;ah++)U0[sh.letters[ah]]=sh.base;var X0=function(t){return t.replace(jR,function(n){return U0[n]})},HR=FR(X0),Z0=function(t){return t.replace(/^\s+|\s+$/g,"")},zR=function(t){return"".concat(t.label," ").concat(t.value)},GR=function(t){return function(n,r){if(n.data.__isNew__)return!0;var o=Ye({ignoreCase:!0,ignoreAccents:!0,stringify:zR,trim:!0,matchFrom:"any"},t),s=o.ignoreCase,l=o.ignoreAccents,c=o.stringify,u=o.trim,f=o.matchFrom,p=u?Z0(r):r,h=u?Z0(c(n)):c(n);return s&&(p=p.toLowerCase(),h=h.toLowerCase()),l&&(p=HR(p),h=X0(h)),f==="start"?h.substr(0,p.length)===p:h.indexOf(p)>-1}},YR=["innerRef"];function UR(e){var t=e.innerRef,n=_o(e,YR),r=v4(n,"onExited","in","enter","exit","appear");return Ge("input",W({ref:t},r,{css:oi({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var XR=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function ZR(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,s=e.onTopLeave,l=J.useRef(!1),c=J.useRef(!1),u=J.useRef(0),f=J.useRef(null),p=J.useCallback(function(C,x){if(f.current!==null){var M=f.current,I=M.scrollTop,O=M.scrollHeight,T=M.clientHeight,k=f.current,D=x>0,A=O-T-I,j=!1;A>x&&l.current&&(r&&r(C),l.current=!1),D&&c.current&&(s&&s(C),c.current=!1),D&&x>A?(n&&!l.current&&n(C),k.scrollTop=O,j=!0,l.current=!0):!D&&-x>I&&(o&&!c.current&&o(C),k.scrollTop=0,j=!0,c.current=!0),j&&XR(C)}},[n,r,o,s]),h=J.useCallback(function(C){p(C,C.deltaY)},[p]),g=J.useCallback(function(C){u.current=C.changedTouches[0].clientY},[]),v=J.useCallback(function(C){var x=u.current-C.changedTouches[0].clientY;p(C,x)},[p]),y=J.useCallback(function(C){if(C){var x=m4?{passive:!1}:!1;C.addEventListener("wheel",h,x),C.addEventListener("touchstart",g,x),C.addEventListener("touchmove",v,x)}},[v,g,h]),m=J.useCallback(function(C){C&&(C.removeEventListener("wheel",h,!1),C.removeEventListener("touchstart",g,!1),C.removeEventListener("touchmove",v,!1))},[v,g,h]);return J.useEffect(function(){if(t){var C=f.current;return y(C),function(){m(C)}}},[t,y,m]),function(C){f.current=C}}var q0=["boxSizing","height","overflow","paddingRight","position"],J0={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function K0(e){e.cancelable&&e.preventDefault()}function Q0(e){e.stopPropagation()}function e1(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function t1(){return"ontouchstart"in window||navigator.maxTouchPoints}var n1=!!(typeof window<"u"&&window.document&&window.document.createElement),Il=0,$s={capture:!1,passive:!1};function qR(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,o=J.useRef({}),s=J.useRef(null),l=J.useCallback(function(u){if(n1){var f=document.body,p=f&&f.style;if(r&&q0.forEach(function(y){var m=p&&p[y];o.current[y]=m}),r&&Il<1){var h=parseInt(o.current.paddingRight,10)||0,g=document.body?document.body.clientWidth:0,v=window.innerWidth-g+h||0;Object.keys(J0).forEach(function(y){var m=J0[y];p&&(p[y]=m)}),p&&(p.paddingRight="".concat(v,"px"))}f&&t1()&&(f.addEventListener("touchmove",K0,$s),u&&(u.addEventListener("touchstart",e1,$s),u.addEventListener("touchmove",Q0,$s))),Il+=1}},[r]),c=J.useCallback(function(u){if(n1){var f=document.body,p=f&&f.style;Il=Math.max(Il-1,0),r&&Il<1&&q0.forEach(function(h){var g=o.current[h];p&&(p[h]=g)}),f&&t1()&&(f.removeEventListener("touchmove",K0,$s),u&&(u.removeEventListener("touchstart",e1,$s),u.removeEventListener("touchmove",Q0,$s)))}},[r]);return J.useEffect(function(){if(t){var u=s.current;return l(u),function(){c(u)}}},[t,l,c]),function(u){s.current=u}}function JR(){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 KR=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},QR=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:JR};function eF(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=r===void 0?!0:r,s=e.onBottomArrive,l=e.onBottomLeave,c=e.onTopArrive,u=e.onTopLeave,f=ZR({isEnabled:o,onBottomArrive:s,onBottomLeave:l,onTopArrive:c,onTopLeave:u}),p=qR({isEnabled:n}),h=function(v){f(v),p(v)};return Ge(J.Fragment,null,n&&Ge("div",{onClick:KR,css:QR}),t(h))}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:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:tF},rF=function(t){var n=t.name,r=t.onFocus;return Ge("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:nF,value:"",onChange:function(){}})},oF=rF;function lh(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function iF(){return lh(/^iPhone/i)}function r1(){return lh(/^Mac/i)}function sF(){return lh(/^iPad/i)||r1()&&navigator.maxTouchPoints>1}function aF(){return iF()||sF()}function lF(){return r1()||aF()}var cF=function(t){return t.label},uF=function(t){return t.label},dF=function(t){return t.value},fF=function(t){return!!t.isDisabled},pF={clearIndicator:U4,container:F4,control:eR,dropdownIndicator:G4,group:oR,groupHeading:sR,indicatorsContainer:B4,indicatorSeparator:Z4,input:uR,loadingIndicator:K4,loadingMessage:D4,menu:S4,menuList:P4,menuPortal:N4,multiValue:mR,multiValueLabel:gR,multiValueRemove:bR,noOptionsMessage:M4,option:SR,placeholder:OR,singleValue:MR,valueContainer:L4},hF={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%)"},mF=4,o1=4,gF=38,bF=o1*2,vF={baseUnit:o1,controlHeight:gF,menuGutter:bF},ch={borderRadius:mF,colors:hF,spacing:vF},yF={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:R0(),captureMenuScroll:!R0(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:GR(),formatGroupLabel:cF,getOptionLabel:uF,getOptionValue:dF,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:fF,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!p4(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function i1(e,t,n,r){var o=u1(e,t,n),s=d1(e,t,n),l=c1(e,t),c=ju(e,t);return{type:"option",data:t,isDisabled:o,isSelected:s,label:l,value:c,index:r}}function Wu(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(l,c){return i1(e,l,t,c)}).filter(function(l){return l1(e,l)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var s=i1(e,n,t,r);return l1(e,s)?s:void 0}).filter(g4)}function s1(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Hp(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function a1(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Hp(r.options.map(function(o){return{data:o.data,id:"".concat(t,"-").concat(r.index,"-").concat(o.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function CF(e,t){return s1(Wu(e,t))}function l1(e,t){var n=e.inputValue,r=n===void 0?"":n,o=t.data,s=t.isSelected,l=t.label,c=t.value;return(!p1(e)||!s)&&f1(e,{label:l,value:c,data:o},r)}function wF(e,t){var n=e.focusedValue,r=e.selectValue,o=r.indexOf(n);if(o>-1){var s=t.indexOf(n);if(s>-1)return n;if(o<t.length)return t[o]}return null}function xF(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var uh=function(t,n){var r,o=(r=t.find(function(s){return s.data===n}))===null||r===void 0?void 0:r.id;return o||null},c1=function(t,n){return t.getOptionLabel(n)},ju=function(t,n){return t.getOptionValue(n)};function u1(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function d1(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=ju(e,t);return n.some(function(o){return ju(e,o)===r})}function f1(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var p1=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},SF=1,h1=function(e){t5(n,e);var t=r5(n);function n(r){var o;if(QN(this,n),o=t.call(this,r),o.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(u){o.controlRef=u},o.focusedOptionRef=null,o.getFocusedOptionRef=function(u){o.focusedOptionRef=u},o.menuListRef=null,o.getMenuListRef=function(u){o.menuListRef=u},o.inputRef=null,o.getInputRef=function(u){o.inputRef=u},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(u,f){var p=o.props,h=p.onChange,g=p.name;f.name=g,o.ariaOnChange(u,f),h(u,f)},o.setValue=function(u,f,p){var h=o.props,g=h.closeMenuOnSelect,v=h.isMulti,y=h.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:y}),g&&(o.setState({inputIsHiddenAfterUpdate:!v}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(u,{action:f,option:p})},o.selectOption=function(u){var f=o.props,p=f.blurInputOnSelect,h=f.isMulti,g=f.name,v=o.state.selectValue,y=h&&o.isOptionSelected(u,v),m=o.isOptionDisabled(u,v);if(y){var C=o.getOptionValue(u);o.setValue(v.filter(function(x){return o.getOptionValue(x)!==C}),"deselect-option",u)}else if(!m)h?o.setValue([].concat(Hp(v),[u]),"select-option",u):o.setValue(u,"select-option");else{o.ariaOnChange(u,{action:"select-option",option:u,name:g});return}p&&o.blurInput()},o.removeValue=function(u){var f=o.props.isMulti,p=o.state.selectValue,h=o.getOptionValue(u),g=p.filter(function(y){return o.getOptionValue(y)!==h}),v=Bu(f,g,g[0]||null);o.onChange(v,{action:"remove-value",removedValue:u}),o.focusInput()},o.clearValue=function(){var u=o.state.selectValue;o.onChange(Bu(o.props.isMulti,[],null),{action:"clear",removedValues:u})},o.popValue=function(){var u=o.props.isMulti,f=o.state.selectValue,p=f[f.length-1],h=f.slice(0,f.length-1),g=Bu(u,h,h[0]||null);p&&o.onChange(g,{action:"pop-value",removedValue:p})},o.getFocusedOptionId=function(u){return uh(o.state.focusableOptionsWithIds,u)},o.getFocusableOptionsWithIds=function(){return a1(Wu(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var u=arguments.length,f=new Array(u),p=0;p<u;p++)f[p]=arguments[p];return l4.apply(void 0,[o.props.classNamePrefix].concat(f))},o.getOptionLabel=function(u){return c1(o.props,u)},o.getOptionValue=function(u){return ju(o.props,u)},o.getStyles=function(u,f){var p=o.props.unstyled,h=pF[u](f,p);h.boxSizing="border-box";var g=o.props.styles[u];return g?g(h,f):h},o.getClassNames=function(u,f){var p,h;return(p=(h=o.props.classNames)[u])===null||p===void 0?void 0:p.call(h,f)},o.getElementId=function(u){return"".concat(o.state.instancePrefix,"-").concat(u)},o.getComponents=function(){return AR(o.props)},o.buildCategorizedOptions=function(){return Wu(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return s1(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(u,f){o.setState({ariaSelection:Ye({value:u},f)})},o.onMenuMouseDown=function(u){u.button===0&&(u.stopPropagation(),u.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(u){o.blockOptionHover=!1},o.onControlMouseDown=function(u){if(!u.defaultPrevented){var f=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&o.onMenuClose():f&&o.openMenu("first"):(f&&(o.openAfterFocus=!0),o.focusInput()),u.target.tagName!=="INPUT"&&u.target.tagName!=="TEXTAREA"&&u.preventDefault()}},o.onDropdownIndicatorMouseDown=function(u){if(!(u&&u.type==="mousedown"&&u.button!==0)&&!o.props.isDisabled){var f=o.props,p=f.isMulti,h=f.menuIsOpen;o.focusInput(),h?(o.setState({inputIsHiddenAfterUpdate:!p}),o.onMenuClose()):o.openMenu("first"),u.preventDefault()}},o.onClearIndicatorMouseDown=function(u){u&&u.type==="mousedown"&&u.button!==0||(o.clearValue(),u.preventDefault(),o.openAfterFocus=!1,u.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(u){typeof o.props.closeMenuOnScroll=="boolean"?u.target instanceof HTMLElement&&Fu(u.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(u)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(u){var f=u.touches,p=f&&f.item(0);p&&(o.initialTouchX=p.clientX,o.initialTouchY=p.clientY,o.userIsDragging=!1)},o.onTouchMove=function(u){var f=u.touches,p=f&&f.item(0);if(p){var h=Math.abs(p.clientX-o.initialTouchX),g=Math.abs(p.clientY-o.initialTouchY),v=5;o.userIsDragging=h>v||g>v}},o.onTouchEnd=function(u){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(u.target)&&o.menuListRef&&!o.menuListRef.contains(u.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(u){o.userIsDragging||o.onControlMouseDown(u)},o.onClearIndicatorTouchEnd=function(u){o.userIsDragging||o.onClearIndicatorMouseDown(u)},o.onDropdownIndicatorTouchEnd=function(u){o.userIsDragging||o.onDropdownIndicatorMouseDown(u)},o.handleInputChange=function(u){var f=o.props.inputValue,p=u.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(p,{action:"input-change",prevInputValue:f}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(u){o.props.onFocus&&o.props.onFocus(u),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(u){var f=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(u),o.onInputChange("",{action:"input-blur",prevInputValue:f}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(u){if(!(o.blockOptionHover||o.state.focusedOption===u)){var f=o.getFocusableOptions(),p=f.indexOf(u);o.setState({focusedOption:u,focusedOptionId:p>-1?o.getFocusedOptionId(u):null})}},o.shouldHideSelectedOptions=function(){return p1(o.props)},o.onValueInputFocus=function(u){u.preventDefault(),u.stopPropagation(),o.focus()},o.onKeyDown=function(u){var f=o.props,p=f.isMulti,h=f.backspaceRemovesValue,g=f.escapeClearsValue,v=f.inputValue,y=f.isClearable,m=f.isDisabled,C=f.menuIsOpen,x=f.onKeyDown,M=f.tabSelectsValue,I=f.openMenuOnFocus,O=o.state,T=O.focusedOption,k=O.focusedValue,D=O.selectValue;if(!m&&!(typeof x=="function"&&(x(u),u.defaultPrevented))){switch(o.blockOptionHover=!0,u.key){case"ArrowLeft":if(!p||v)return;o.focusValue("previous");break;case"ArrowRight":if(!p||v)return;o.focusValue("next");break;case"Delete":case"Backspace":if(v)return;if(k)o.removeValue(k);else{if(!h)return;p?o.popValue():y&&o.clearValue()}break;case"Tab":if(o.isComposing||u.shiftKey||!C||!M||!T||I&&o.isOptionSelected(T,D))return;o.selectOption(T);break;case"Enter":if(u.keyCode===229)break;if(C){if(!T||o.isComposing)return;o.selectOption(T);break}return;case"Escape":C?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:v}),o.onMenuClose()):y&&g&&o.clearValue();break;case" ":if(v)return;if(!C){o.openMenu("first");break}if(!T)return;o.selectOption(T);break;case"ArrowUp":C?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":C?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!C)return;o.focusOption("pageup");break;case"PageDown":if(!C)return;o.focusOption("pagedown");break;case"Home":if(!C)return;o.focusOption("first");break;case"End":if(!C)return;o.focusOption("last");break;default:return}u.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++SF),o.state.selectValue=D0(r.value),r.menuIsOpen&&o.state.selectValue.length){var s=o.getFocusableOptionsWithIds(),l=o.buildFocusableOptions(),c=l.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=s,o.state.focusedOption=l[c],o.state.focusedOptionId=uh(s,l[c])}return o}return e5(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&N0(this.menuListRef,this.focusedOptionRef),lF()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(o){var s=this.props,l=s.isDisabled,c=s.menuIsOpen,u=this.state.isFocused;(u&&!l&&o.isDisabled||u&&c&&!o.menuIsOpen)&&this.focusInput(),u&&l&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!l&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(N0(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(o,s){this.props.onInputChange(o,s)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var s=this,l=this.state,c=l.selectValue,u=l.isFocused,f=this.buildFocusableOptions(),p=o==="first"?0:f.length-1;if(!this.props.isMulti){var h=f.indexOf(c[0]);h>-1&&(p=h)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:f[p],focusedOptionId:this.getFocusedOptionId(f[p])},function(){return s.onMenuOpen()})}},{key:"focusValue",value:function(o){var s=this.state,l=s.selectValue,c=s.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=l.indexOf(c);c||(u=-1);var f=l.length-1,p=-1;if(l.length){switch(o){case"previous":u===0?p=0:u===-1?p=f:p=u-1;break;case"next":u>-1&&u<f&&(p=u+1);break}this.setState({inputIsHidden:p!==-1,focusedValue:l[p]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",s=this.props.pageSize,l=this.state.focusedOption,c=this.getFocusableOptions();if(c.length){var u=0,f=c.indexOf(l);l||(f=-1),o==="up"?u=f>0?f-1:c.length-1:o==="down"?u=(f+1)%c.length:o==="pageup"?(u=f-s,u<0&&(u=0)):o==="pagedown"?(u=f+s,u>c.length-1&&(u=c.length-1)):o==="last"&&(u=c.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:c[u],focusedValue:null,focusedOptionId:this.getFocusedOptionId(c[u])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(ch):Ye(Ye({},ch),this.props.theme):ch}},{key:"getCommonProps",value:function(){var o=this.clearValue,s=this.cx,l=this.getStyles,c=this.getClassNames,u=this.getValue,f=this.selectOption,p=this.setValue,h=this.props,g=h.isMulti,v=h.isRtl,y=h.options,m=this.hasValue();return{clearValue:o,cx:s,getStyles:l,getClassNames:c,getValue:u,hasValue:m,isMulti:g,isRtl:v,options:y,selectOption:f,selectProps:h,setValue:p,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,s=o.isClearable,l=o.isMulti;return s===void 0?l:s}},{key:"isOptionDisabled",value:function(o,s){return u1(this.props,o,s)}},{key:"isOptionSelected",value:function(o,s){return d1(this.props,o,s)}},{key:"filterOption",value:function(o,s){return f1(this.props,o,s)}},{key:"formatOptionLabel",value:function(o,s){if(typeof this.props.formatOptionLabel=="function"){var l=this.props.inputValue,c=this.state.selectValue;return this.props.formatOptionLabel(o,{context:s,inputValue:l,selectValue:c})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{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 o=this.props,s=o.isDisabled,l=o.isSearchable,c=o.inputId,u=o.inputValue,f=o.tabIndex,p=o.form,h=o.menuIsOpen,g=o.required,v=this.getComponents(),y=v.Input,m=this.state,C=m.inputIsHidden,x=m.ariaSelection,M=this.commonProps,I=c||this.getElementId("input"),O=Ye(Ye(Ye({"aria-autocomplete":"list","aria-expanded":h,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":g,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},h&&{"aria-controls":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?(x==null?void 0:x.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?w.createElement(y,W({},M,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:I,innerRef:this.getInputRef,isDisabled:s,isHidden:C,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:f,form:p,type:"text",value:u},O)):w.createElement(UR,W({id:I,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ru,onFocus:this.onInputFocus,disabled:s,tabIndex:f,inputMode:"none",form:p,value:""},O))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,s=this.getComponents(),l=s.MultiValue,c=s.MultiValueContainer,u=s.MultiValueLabel,f=s.MultiValueRemove,p=s.SingleValue,h=s.Placeholder,g=this.commonProps,v=this.props,y=v.controlShouldRenderValue,m=v.isDisabled,C=v.isMulti,x=v.inputValue,M=v.placeholder,I=this.state,O=I.selectValue,T=I.focusedValue,k=I.isFocused;if(!this.hasValue()||!y)return x?null:w.createElement(h,W({},g,{key:"placeholder",isDisabled:m,isFocused:k,innerProps:{id:this.getElementId("placeholder")}}),M);if(C)return O.map(function(A,j){var E=A===T,R="".concat(o.getOptionLabel(A),"-").concat(o.getOptionValue(A));return w.createElement(l,W({},g,{components:{Container:c,Label:u,Remove:f},isFocused:E,isDisabled:m,key:R,index:j,removeProps:{onClick:function(){return o.removeValue(A)},onTouchEnd:function(){return o.removeValue(A)},onMouseDown:function(B){B.preventDefault()}},data:A}),o.formatOptionLabel(A,"value"))});if(x)return null;var D=O[0];return w.createElement(p,W({},g,{data:D,isDisabled:m}),this.formatOptionLabel(D,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),s=o.ClearIndicator,l=this.commonProps,c=this.props,u=c.isDisabled,f=c.isLoading,p=this.state.isFocused;if(!this.isClearable()||!s||u||!this.hasValue()||f)return null;var h={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return w.createElement(s,W({},l,{innerProps:h,isFocused:p}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),s=o.LoadingIndicator,l=this.commonProps,c=this.props,u=c.isDisabled,f=c.isLoading,p=this.state.isFocused;if(!s||!f)return null;var h={"aria-hidden":"true"};return w.createElement(s,W({},l,{innerProps:h,isDisabled:u,isFocused:p}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),s=o.DropdownIndicator,l=o.IndicatorSeparator;if(!s||!l)return null;var c=this.commonProps,u=this.props.isDisabled,f=this.state.isFocused;return w.createElement(l,W({},c,{isDisabled:u,isFocused:f}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),s=o.DropdownIndicator;if(!s)return null;var l=this.commonProps,c=this.props.isDisabled,u=this.state.isFocused,f={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return w.createElement(s,W({},l,{innerProps:f,isDisabled:c,isFocused:u}))}},{key:"renderMenu",value:function(){var o=this,s=this.getComponents(),l=s.Group,c=s.GroupHeading,u=s.Menu,f=s.MenuList,p=s.MenuPortal,h=s.LoadingMessage,g=s.NoOptionsMessage,v=s.Option,y=this.commonProps,m=this.state.focusedOption,C=this.props,x=C.captureMenuScroll,M=C.inputValue,I=C.isLoading,O=C.loadingMessage,T=C.minMenuHeight,k=C.maxMenuHeight,D=C.menuIsOpen,A=C.menuPlacement,j=C.menuPosition,E=C.menuPortalTarget,R=C.menuShouldBlockScroll,H=C.menuShouldScrollIntoView,B=C.noOptionsMessage,L=C.onMenuScrollToTop,V=C.onMenuScrollToBottom;if(!D)return null;var F=function(re,ie){var K=re.type,se=re.data,ce=re.isDisabled,ee=re.isSelected,te=re.label,le=re.value,pe=m===se,q=ce?void 0:function(){return o.onOptionHover(se)},ne=ce?void 0:function(){return o.selectOption(se)},fe="".concat(o.getElementId("option"),"-").concat(ie),be={id:fe,onClick:ne,onMouseMove:q,onMouseOver:q,tabIndex:-1,role:"option","aria-selected":o.state.isAppleDevice?void 0:ee};return w.createElement(v,W({},y,{innerProps:be,data:se,isDisabled:ce,isSelected:ee,key:fe,label:te,type:K,value:le,isFocused:pe,innerRef:pe?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(re.data,"menu"))},Y;if(this.hasOptions())Y=this.getCategorizedOptions().map(function(de){if(de.type==="group"){var re=de.data,ie=de.options,K=de.index,se="".concat(o.getElementId("group"),"-").concat(K),ce="".concat(se,"-heading");return w.createElement(l,W({},y,{key:se,data:re,options:ie,Heading:c,headingProps:{id:ce,data:de.data},label:o.formatGroupLabel(de.data)}),de.options.map(function(ee){return F(ee,"".concat(K,"-").concat(ee.index))}))}else if(de.type==="option")return F(de,"".concat(de.index))});else if(I){var G=O({inputValue:M});if(G===null)return null;Y=w.createElement(h,y,G)}else{var U=B({inputValue:M});if(U===null)return null;Y=w.createElement(g,y,U)}var z={minMenuHeight:T,maxMenuHeight:k,menuPlacement:A,menuPosition:j,menuShouldScrollIntoView:H},X=w.createElement(I4,W({},y,z),function(de){var re=de.ref,ie=de.placerProps,K=ie.placement,se=ie.maxHeight;return w.createElement(u,W({},y,z,{innerRef:re,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:I,placement:K}),w.createElement(eF,{captureEnabled:x,onTopArrive:L,onBottomArrive:V,lockEnabled:R},function(ce){return w.createElement(f,W({},y,{innerRef:function(te){o.getMenuListRef(te),ce(te)},innerProps:{role:"listbox","aria-multiselectable":y.isMulti,id:o.getElementId("listbox")},isLoading:I,maxHeight:se,focusedOption:m}),Y)}))});return E||j==="fixed"?w.createElement(p,W({},y,{appendTo:E,controlElement:this.controlRef,menuPlacement:A,menuPosition:j}),X):X}},{key:"renderFormField",value:function(){var o=this,s=this.props,l=s.delimiter,c=s.isDisabled,u=s.isMulti,f=s.name,p=s.required,h=this.state.selectValue;if(p&&!this.hasValue()&&!c)return w.createElement(oF,{name:f,onFocus:this.onValueInputFocus});if(!(!f||c))if(u)if(l){var g=h.map(function(m){return o.getOptionValue(m)}).join(l);return w.createElement("input",{name:f,type:"hidden",value:g})}else{var v=h.length>0?h.map(function(m,C){return w.createElement("input",{key:"i-".concat(C),name:f,type:"hidden",value:o.getOptionValue(m)})}):w.createElement("input",{name:f,type:"hidden",value:""});return w.createElement("div",null,v)}else{var y=h[0]?this.getOptionValue(h[0]):"";return w.createElement("input",{name:f,type:"hidden",value:y})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,s=this.state,l=s.ariaSelection,c=s.focusedOption,u=s.focusedValue,f=s.isFocused,p=s.selectValue,h=this.getFocusableOptions();return w.createElement(WR,W({},o,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:c,focusedValue:u,isFocused:f,selectValue:p,focusableOptions:h,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),s=o.Control,l=o.IndicatorsContainer,c=o.SelectContainer,u=o.ValueContainer,f=this.props,p=f.className,h=f.id,g=f.isDisabled,v=f.menuIsOpen,y=this.state.isFocused,m=this.commonProps=this.getCommonProps();return w.createElement(c,W({},m,{className:p,innerProps:{id:h,onKeyDown:this.onKeyDown},isDisabled:g,isFocused:y}),this.renderLiveRegion(),w.createElement(s,W({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:g,isFocused:y,menuIsOpen:v}),w.createElement(u,W({},m,{isDisabled:g}),this.renderPlaceholderOrValue(),this.renderInput()),w.createElement(l,W({},m,{isDisabled:g}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,s){var l=s.prevProps,c=s.clearFocusValueOnUpdate,u=s.inputIsHiddenAfterUpdate,f=s.ariaSelection,p=s.isFocused,h=s.prevWasFocused,g=s.instancePrefix,v=o.options,y=o.value,m=o.menuIsOpen,C=o.inputValue,x=o.isMulti,M=D0(y),I={};if(l&&(y!==l.value||v!==l.options||m!==l.menuIsOpen||C!==l.inputValue)){var O=m?CF(o,M):[],T=m?a1(Wu(o,M),"".concat(g,"-option")):[],k=c?wF(s,M):null,D=xF(s,O),A=uh(T,D);I={selectValue:M,focusedOption:D,focusedOptionId:A,focusableOptionsWithIds:T,focusedValue:k,clearFocusValueOnUpdate:!1}}var j=u!=null&&o!==l?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},E=f,R=p&&h;return p&&!R&&(E={value:Bu(x,M,M[0]||null),options:M,action:"initial-input-focus"},R=!h),(f==null?void 0:f.action)==="initial-input-focus"&&(E=null),Ye(Ye(Ye({},I),j),{},{prevProps:o,ariaSelection:E,prevWasFocused:R})}}]),n}(J.Component);h1.defaultProps=yF;var IF=J.forwardRef(function(e,t){var n=KN(e);return w.createElement(h1,W({ref:t},n))}),m1=IF;const Ke=e=>typeof e=="string",Tl=()=>{let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n},g1=e=>e==null?"":""+e,TF=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},OF=/###/g,b1=e=>e&&e.indexOf("###")>-1?e.replace(OF,"."):e,v1=e=>!e||Ke(e),Ol=(e,t,n)=>{const r=Ke(t)?t.split("."):t;let o=0;for(;o<r.length-1;){if(v1(e))return{};const s=b1(r[o]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++o}return v1(e)?{}:{obj:e,k:b1(r[o])}},y1=(e,t,n)=>{const{obj:r,k:o}=Ol(e,t,Object);if(r!==void 0||t.length===1){r[o]=n;return}let s=t[t.length-1],l=t.slice(0,t.length-1),c=Ol(e,l,Object);for(;c.obj===void 0&&l.length;)s=`${l[l.length-1]}.${s}`,l=l.slice(0,l.length-1),c=Ol(e,l,Object),c&&c.obj&&typeof c.obj[`${c.k}.${s}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${s}`]=n},PF=(e,t,n,r)=>{const{obj:o,k:s}=Ol(e,t,Object);o[s]=o[s]||[],o[s].push(n)},Hu=(e,t)=>{const{obj:n,k:r}=Ol(e,t);if(n)return n[r]},EF=(e,t,n)=>{const r=Hu(e,n);return r!==void 0?r:Hu(t,n)},C1=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?Ke(e[r])||e[r]instanceof String||Ke(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):C1(e[r],t[r],n):e[r]=t[r]);return e},Ws=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var MF={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const DF=e=>Ke(e)?e.replace(/[&<>"'\/]/g,t=>MF[t]):e;class kF{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const AF=[" ",",","?","!",";"],NF=new kF(20),RF=(e,t,n)=>{t=t||"",n=n||"";const r=AF.filter(l=>t.indexOf(l)<0&&n.indexOf(l)<0);if(r.length===0)return!0;const o=NF.getRegExp(`(${r.map(l=>l==="?"?"\\?":l).join("|")})`);let s=!o.test(e);if(!s){const l=e.indexOf(n);l>0&&!o.test(e.substring(0,l))&&(s=!0)}return s},dh=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let o=e;for(let s=0;s<r.length;){if(!o||typeof o!="object")return;let l,c="";for(let u=s;u<r.length;++u)if(u!==s&&(c+=n),c+=r[u],l=o[c],l!==void 0){if(["string","number","boolean"].indexOf(typeof l)>-1&&u<r.length-1)continue;s+=u-s+1;break}o=l}return o},zu=e=>e&&e.replace("_","-"),FF={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Gu{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||FF,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,o){return o&&!this.debug?null:(Ke(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Gu(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Gu(this.logger,t)}}var ho=new Gu;class Yu{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const o=this.observers[r].get(n)||0;this.observers[r].set(n,o+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(l=>{let[c,u]=l;for(let f=0;f<u;f++)c(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(l=>{let[c,u]=l;for(let f=0;f<u;f++)c.apply(c,[t,...r])})}}class w1 extends Yu{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;t.indexOf(".")>-1?c=t.split("."):(c=[t,n],r&&(Array.isArray(r)?c.push(...r):Ke(r)&&s?c.push(...r.split(s)):c.push(r)));const u=Hu(this.data,c);return!u&&!n&&!r&&t.indexOf(".")>-1&&(t=c[0],n=c[1],r=c.slice(2).join(".")),u||!l||!Ke(r)?u:dh(this.data&&this.data[t]&&this.data[t][n],r,s)}addResource(t,n,r,o){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let c=[t,n];r&&(c=c.concat(l?r.split(l):r)),t.indexOf(".")>-1&&(c=t.split("."),o=n,n=c[1]),this.addNamespaces(n),y1(this.data,c,o),s.silent||this.emit("added",t,n,r,o)}addResources(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(Ke(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});o.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,o,s){let l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},c=[t,n];t.indexOf(".")>-1&&(c=t.split("."),o=r,r=n,n=c[1]),this.addNamespaces(n);let u=Hu(this.data,c)||{};l.skipCopy||(r=JSON.parse(JSON.stringify(r))),o?C1(u,r,s):u={...u,...r},y1(this.data,c,u),l.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var x1={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(s=>{this.processors[s]&&(t=this.processors[s].process(t,n,r,o))}),t}};const S1={};class Uu extends Yu{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),TF(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ho.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const l=r&&t.indexOf(r)>-1,c=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!RF(t,r,o);if(l&&!c){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:Ke(s)?[s]:s};const f=t.split(r);(r!==o||r===o&&this.options.ns.indexOf(f[0])>-1)&&(s=f.shift()),t=f.join(o)}return{key:t,namespaces:Ke(s)?[s]:s}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const o=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:l,namespaces:c}=this.extractFromKey(t[t.length-1],n),u=c[c.length-1],f=n.lng||this.language,p=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&f.toLowerCase()==="cimode"){if(p){const O=n.nsSeparator||this.options.nsSeparator;return o?{res:`${u}${O}${l}`,usedKey:l,exactUsedKey:l,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${O}${l}`}return o?{res:l,usedKey:l,exactUsedKey:l,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:l}const h=this.resolve(t,n);let g=h&&h.res;const v=h&&h.usedKey||l,y=h&&h.exactUsedKey||l,m=Object.prototype.toString.apply(g),C=["[object Number]","[object Function]","[object RegExp]"],x=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,M=!this.i18nFormat||this.i18nFormat.handleAsObject,I=!Ke(g)&&typeof g!="boolean"&&typeof g!="number";if(M&&g&&I&&C.indexOf(m)<0&&!(Ke(x)&&Array.isArray(g))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const O=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,{...n,ns:c}):`key '${l} (${this.language})' returned an object instead of string.`;return o?(h.res=O,h.usedParams=this.getUsedParamsDetails(n),h):O}if(s){const O=Array.isArray(g),T=O?[]:{},k=O?y:v;for(const D in g)if(Object.prototype.hasOwnProperty.call(g,D)){const A=`${k}${s}${D}`;T[D]=this.translate(A,{...n,joinArrays:!1,ns:c}),T[D]===A&&(T[D]=g[D])}g=T}}else if(M&&Ke(x)&&Array.isArray(g))g=g.join(x),g&&(g=this.extendTranslation(g,t,n,r));else{let O=!1,T=!1;const k=n.count!==void 0&&!Ke(n.count),D=Uu.hasDefaultValue(n),A=k?this.pluralResolver.getSuffix(f,n.count,n):"",j=n.ordinal&&k?this.pluralResolver.getSuffix(f,n.count,{ordinal:!1}):"",E=k&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),R=E&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${A}`]||n[`defaultValue${j}`]||n.defaultValue;!this.isValidLookup(g)&&D&&(O=!0,g=R),this.isValidLookup(g)||(T=!0,g=l);const B=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&T?void 0:g,L=D&&R!==g&&this.options.updateMissing;if(T||O||L){if(this.logger.log(L?"updateKey":"missingKey",f,u,l,L?R:g),s){const G=this.resolve(l,{...n,keySeparator:!1});G&&G.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let V=[];const F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&F&&F[0])for(let G=0;G<F.length;G++)V.push(F[G]);else this.options.saveMissingTo==="all"?V=this.languageUtils.toResolveHierarchy(n.lng||this.language):V.push(n.lng||this.language);const Y=(G,U,z)=>{const X=D&&z!==g?z:B;this.options.missingKeyHandler?this.options.missingKeyHandler(G,u,U,X,L,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(G,u,U,X,L,n),this.emit("missingKey",G,u,U,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?V.forEach(G=>{const U=this.pluralResolver.getSuffixes(G,n);E&&n[`defaultValue${this.options.pluralSeparator}zero`]&&U.indexOf(`${this.options.pluralSeparator}zero`)<0&&U.push(`${this.options.pluralSeparator}zero`),U.forEach(z=>{Y([G],l+z,n[`defaultValue${z}`]||R)})}):Y(V,l,R))}g=this.extendTranslation(g,t,n,h,r),T&&g===l&&this.options.appendNamespaceToMissingKey&&(g=`${u}:${l}`),(T||O)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${l}`:l,O?g:void 0):g=this.options.parseMissingKeyHandler(g))}return o?(h.res=g,h.usedParams=this.getUsedParamsDetails(n),h):g}extendTranslation(t,n,r,o,s){var l=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const f=Ke(t)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(f){const g=t.match(this.interpolator.nestingRegexp);p=g&&g.length}let h=r.replace&&!Ke(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,r.lng||this.language||o.usedLng,r),f){const g=t.match(this.interpolator.nestingRegexp),v=g&&g.length;p<v&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(r.lng=this.language||o.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var g=arguments.length,v=new Array(g),y=0;y<g;y++)v[y]=arguments[y];return s&&s[0]===v[0]&&!r.context?(l.logger.warn(`It seems you are nesting recursively key: ${v[0]} in key: ${n[0]}`),null):l.translate(...v,n)},r)),r.interpolation&&this.interpolator.reset()}const c=r.postProcess||this.options.postProcess,u=Ke(c)?[c]:c;return t!=null&&u&&u.length&&r.applyPostProcessor!==!1&&(t=x1.handle(u,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o,s,l,c;return Ke(t)&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(r))return;const f=this.extractFromKey(u,n),p=f.key;o=p;let h=f.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const g=n.count!==void 0&&!Ke(n.count),v=g&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),y=n.context!==void 0&&(Ke(n.context)||typeof n.context=="number")&&n.context!=="",m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);h.forEach(C=>{this.isValidLookup(r)||(c=C,!S1[`${m[0]}-${C}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(c)&&(S1[`${m[0]}-${C}`]=!0,this.logger.warn(`key "${o}" for languages "${m.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(x=>{if(this.isValidLookup(r))return;l=x;const M=[p];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(M,p,x,C,n);else{let O;g&&(O=this.pluralResolver.getSuffix(x,n.count,n));const T=`${this.options.pluralSeparator}zero`,k=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(g&&(M.push(p+O),n.ordinal&&O.indexOf(k)===0&&M.push(p+O.replace(k,this.options.pluralSeparator)),v&&M.push(p+T)),y){const D=`${p}${this.options.contextSeparator}${n.context}`;M.push(D),g&&(M.push(D+O),n.ordinal&&O.indexOf(k)===0&&M.push(D+O.replace(k,this.options.pluralSeparator)),v&&M.push(D+T))}}let I;for(;I=M.pop();)this.isValidLookup(r)||(s=I,r=this.getResource(x,C,I,n))}))})}),{res:r,usedKey:o,exactUsedKey:s,usedLng:l,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,o):this.resourceStore.getResource(t,n,r,o)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Ke(t.replace);let o=r?t.replace:t;if(r&&typeof t.count<"u"&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(const s of n)delete o[s]}return o}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const fh=e=>e.charAt(0).toUpperCase()+e.slice(1);class I1{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ho.create("languageUtils")}getScriptPartFromCode(t){if(t=zu(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=zu(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Ke(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let o=Intl.getCanonicalLocales(t)[0];if(o&&this.options.lowerCaseLng&&(o=o.toLowerCase()),o)return o}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(o=>o.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=fh(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=fh(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=fh(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const o=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const o=this.getLanguagePartFromCode(r);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(s=>{if(s===o)return s;if(!(s.indexOf("-")<0&&o.indexOf("-")<0)&&(s.indexOf("-")>0&&o.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===o||s.indexOf(o)===0&&o.length>1))return s})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Ke(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),o=[],s=l=>{l&&(this.isSupportedCode(l)?o.push(l):this.logger.warn(`rejecting language code not found in supportedLngs: ${l}`))};return Ke(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):Ke(t)&&s(this.formatLanguageCode(t)),r.forEach(l=>{o.indexOf(l)<0&&s(this.formatLanguageCode(l))}),o}}let VF=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],LF={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const _F=["v1","v2","v3"],BF=["v4"],T1={zero:0,one:1,two:2,few:3,many:4,other:5},$F=()=>{const e={};return VF.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:LF[t.fc]}})}),e};class WF{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ho.create("pluralResolver"),(!this.options.compatibilityJSON||BF.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=$F(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const r=zu(t==="dev"?"en":t),o=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:o});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let l;try{l=new Intl.PluralRules(r,{type:o})}catch{if(!t.match(/-|_/))return;const u=this.languageUtils.getLanguagePartFromCode(t);l=this.getRule(u,n)}return this.pluralRulesCache[s]=l,l}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(o=>`${n}${o}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((o,s)=>T1[o]-T1[s]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):r.numbers.map(o=>this.getSuffix(t,o,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(t,r);return o?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:this.getSuffixRetroCompatible(o,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let o=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const s=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?`_plural_${o.toString()}`:s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?s():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!_F.includes(this.options.compatibilityJSON)}}const O1=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=EF(e,t,n);return!s&&o&&Ke(n)&&(s=dh(e,n,r),s===void 0&&(s=dh(t,n,r))),s},ph=e=>e.replace(/\$/g,"$$$$");class jF{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ho.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:o,prefix:s,prefixEscaped:l,suffix:c,suffixEscaped:u,formatSeparator:f,unescapeSuffix:p,unescapePrefix:h,nestingPrefix:g,nestingPrefixEscaped:v,nestingSuffix:y,nestingSuffixEscaped:m,nestingOptionsSeparator:C,maxReplaces:x,alwaysFormat:M}=t.interpolation;this.escape=n!==void 0?n:DF,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=s?Ws(s):l||"{{",this.suffix=c?Ws(c):u||"}}",this.formatSeparator=f||",",this.unescapePrefix=p?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=g?Ws(g):v||Ws("$t("),this.nestingSuffix=y?Ws(y):m||Ws(")"),this.nestingOptionsSeparator=C||",",this.maxReplaces=x||1e3,this.alwaysFormat=M!==void 0?M:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,o){let s,l,c;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=v=>{if(v.indexOf(this.formatSeparator)<0){const x=O1(n,u,v,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(x,void 0,r,{...o,...n,interpolationkey:v}):x}const y=v.split(this.formatSeparator),m=y.shift().trim(),C=y.join(this.formatSeparator).trim();return this.format(O1(n,u,m,this.options.keySeparator,this.options.ignoreJSONStructure),C,r,{...o,...n,interpolationkey:m})};this.resetRegExp();const p=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,h=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:v=>ph(v)},{regex:this.regexp,safeValue:v=>this.escapeValue?ph(this.escape(v)):ph(v)}].forEach(v=>{for(c=0;s=v.regex.exec(t);){const y=s[1].trim();if(l=f(y),l===void 0)if(typeof p=="function"){const C=p(t,s,o);l=Ke(C)?C:""}else if(o&&Object.prototype.hasOwnProperty.call(o,y))l="";else if(h){l=s[0];continue}else this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`),l="";else!Ke(l)&&!this.useRawValueToEscape&&(l=g1(l));const m=v.safeValue(l);if(t=t.replace(s[0],m),h?(v.regex.lastIndex+=l.length,v.regex.lastIndex-=s[0].length):v.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,s,l;const c=(u,f)=>{const p=this.nestingOptionsSeparator;if(u.indexOf(p)<0)return u;const h=u.split(new RegExp(`${p}[ ]*{`));let g=`{${h[1]}`;u=h[0],g=this.interpolate(g,l);const v=g.match(/'/g),y=g.match(/"/g);(v&&v.length%2===0&&!y||y.length%2!==0)&&(g=g.replace(/'/g,'"'));try{l=JSON.parse(g),f&&(l={...f,...l})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,m),`${u}${p}${g}`}return l.defaultValue&&l.defaultValue.indexOf(this.prefix)>-1&&delete l.defaultValue,u};for(;o=this.nestingRegexp.exec(t);){let u=[];l={...r},l=l.replace&&!Ke(l.replace)?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;let f=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const p=o[1].split(this.formatSeparator).map(h=>h.trim());o[1]=p.shift(),u=p,f=!0}if(s=n(c.call(this,o[1].trim(),l),l),s&&o[0]===t&&!Ke(s))return s;Ke(s)||(s=g1(s)),s||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),s=""),f&&(s=u.reduce((p,h)=>this.format(p,h,r.lng,{...r,interpolationkey:o[1].trim()}),s.trim())),t=t.replace(o[0],s),this.regexp.lastIndex=0}return t}}const HF=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);t==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(l=>{if(l){const[c,...u]=l.split(":"),f=u.join(":").trim().replace(/^'+|'+$/g,""),p=c.trim();n[p]||(n[p]=f),f==="false"&&(n[p]=!1),f==="true"&&(n[p]=!0),isNaN(f)||(n[p]=parseInt(f,10))}})}return{formatName:t,formatOptions:n}},js=e=>{const t={};return(n,r,o)=>{let s=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(s={...s,[o.interpolationkey]:void 0});const l=r+JSON.stringify(s);let c=t[l];return c||(c=e(zu(r),o),t[l]=c),c(n)}};class zF{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ho.create("formatter"),this.options=t,this.formats={number:js((n,r)=>{const o=new Intl.NumberFormat(n,{...r});return s=>o.format(s)}),currency:js((n,r)=>{const o=new Intl.NumberFormat(n,{...r,style:"currency"});return s=>o.format(s)}),datetime:js((n,r)=>{const o=new Intl.DateTimeFormat(n,{...r});return s=>o.format(s)}),relativetime:js((n,r)=>{const o=new Intl.RelativeTimeFormat(n,{...r});return s=>o.format(s,r.range||"day")}),list:js((n,r)=>{const o=new Intl.ListFormat(n,{...r});return s=>o.format(s)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=js(n)}format(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(c=>c.indexOf(")")>-1)){const c=s.findIndex(u=>u.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,c)].join(this.formatSeparator)}return s.reduce((c,u)=>{const{formatName:f,formatOptions:p}=HF(u);if(this.formats[f]){let h=c;try{const g=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},v=g.locale||g.lng||o.locale||o.lng||r;h=this.formats[f](c,v,{...p,...o,...g})}catch(g){this.logger.warn(g)}return h}else this.logger.warn(`there was no format function for ${f}`);return c},t)}}const GF=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class YF extends Yu{constructor(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=ho.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,o.backend,o)}queueLoad(t,n,r,o){const s={},l={},c={},u={};return t.forEach(f=>{let p=!0;n.forEach(h=>{const g=`${f}|${h}`;!r.reload&&this.store.hasResourceBundle(f,h)?this.state[g]=2:this.state[g]<0||(this.state[g]===1?l[g]===void 0&&(l[g]=!0):(this.state[g]=1,p=!1,l[g]===void 0&&(l[g]=!0),s[g]===void 0&&(s[g]=!0),u[h]===void 0&&(u[h]=!0)))}),p||(c[f]=!0)}),(Object.keys(s).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(s),pending:Object.keys(l),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(u)}}loaded(t,n,r){const o=t.split("|"),s=o[0],l=o[1];n&&this.emit("failedLoading",s,l,n),!n&&r&&this.store.addResourceBundle(s,l,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const c={};this.queue.forEach(u=>{PF(u.loaded,[s],l),GF(u,t),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(f=>{c[f]||(c[f]={});const p=u.loaded[f];p.length&&p.forEach(h=>{c[f][h]===void 0&&(c[f][h]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(u=>!u.done)}read(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,l=arguments.length>5?arguments[5]:void 0;if(!t.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:o,wait:s,callback:l});return}this.readingCalls++;const c=(f,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(f&&p&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,o+1,s*2,l)},s);return}l(f,p)},u=this.backend[r].bind(this.backend);if(u.length===2){try{const f=u(t,n);f&&typeof f.then=="function"?f.then(p=>c(null,p)).catch(c):c(null,f)}catch(f){c(f)}return}return u(t,n,c)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();Ke(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Ke(n)&&(n=[n]);const s=this.queueLoad(t,n,r,o);if(!s.toLoad.length)return s.pending.length||o(),null;s.toLoad.forEach(l=>{this.loadOne(l)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),o=r[0],s=r[1];this.read(o,s,"read",void 0,void 0,(l,c)=>{l&&this.logger.warn(`${n}loading namespace ${s} for language ${o} failed`,l),!l&&c&&this.logger.log(`${n}loaded namespace ${s} for language ${o}`,c),this.loaded(t,l,c)})}saveMissing(t,n,r,o,s){let l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const u={...l,isUpdate:s},f=this.backend.create.bind(this.backend);if(f.length<6)try{let p;f.length===5?p=f(t,n,r,o,u):p=f(t,n,r,o),p&&typeof p.then=="function"?p.then(h=>c(null,h)).catch(c):c(null,p)}catch(p){c(p)}else f(t,n,r,o,c,u)}!t||!t[0]||this.store.addResource(t[0],n,r,o)}}}const P1=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Ke(e[1])&&(t.defaultValue=e[1]),Ke(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),E1=e=>(Ke(e.ns)&&(e.ns=[e.ns]),Ke(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Ke(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Xu=()=>{},UF=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Pl extends Yu{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=E1(t),this.services={},this.logger=ho,this.modules={external:[]},UF(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(Ke(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const o=P1();this.options={...o,...this.options,...E1(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const s=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?ho.init(s(this.modules.logger),this.options):ho.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:typeof Intl<"u"&&(p=zF);const h=new I1(this.options);this.store=new w1(this.options.resources,this.options);const g=this.services;g.logger=ho,g.resourceStore=this.store,g.languageUtils=h,g.pluralResolver=new WF(h,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(g.formatter=s(p),g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new jF(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new YF(s(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",function(v){for(var y=arguments.length,m=new Array(y>1?y-1:0),C=1;C<y;C++)m[C-1]=arguments[C];t.emit(v,...m)}),this.modules.languageDetector&&(g.languageDetector=s(this.modules.languageDetector),g.languageDetector.init&&g.languageDetector.init(g,this.options.detection,this.options)),this.modules.i18nFormat&&(g.i18nFormat=s(this.modules.i18nFormat),g.i18nFormat.init&&g.i18nFormat.init(this)),this.translator=new Uu(this.services,this.options),this.translator.on("*",function(v){for(var y=arguments.length,m=new Array(y>1?y-1:0),C=1;C<y;C++)m[C-1]=arguments[C];t.emit(v,...m)}),this.modules.external.forEach(v=>{v.init&&v.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Xu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(p=>{this[p]=function(){return t.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return t.store[p](...arguments),t}});const u=Tl(),f=()=>{const p=(h,g)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(g),r(h,g)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),u}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xu;const o=Ke(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],l=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(f=>{f!=="cimode"&&s.indexOf(f)<0&&s.push(f)})};o?l(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>l(u)),this.options.preload&&this.options.preload.forEach(c=>l(c)),this.services.backendConnector.load(s,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(t,n,r){const o=Tl();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=Xu),this.services.backendConnector.reload(t,n,s=>{o.resolve(),r(s)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&x1.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const o=Tl();this.emit("languageChanging",t);const s=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},l=(u,f)=>{f?(s(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,o.resolve(function(){return r.t(...arguments)}),n&&n(u,function(){return r.t(...arguments)})},c=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const f=Ke(u)?u:this.services.languageUtils.getBestMatchFromCodes(u);f&&(this.language||s(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(f)),this.loadResources(f,p=>{l(p,f)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(t),o}getFixedT(t,n,r){var o=this;const s=function(l,c){let u;if(typeof c!="object"){for(var f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];u=o.options.overloadTranslationOptionHandler([l,c].concat(p))}else u={...c};u.lng=u.lng||s.lng,u.lngs=u.lngs||s.lngs,u.ns=u.ns||s.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||r||s.keyPrefix);const g=o.options.keySeparator||".";let v;return u.keyPrefix&&Array.isArray(l)?v=l.map(y=>`${u.keyPrefix}${g}${y}`):v=u.keyPrefix?`${u.keyPrefix}${g}${l}`:l,o.t(v,u)};return Ke(t)?s.lng=t:s.lngs=t,s.ns=n,s.keyPrefix=r,s}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const l=(c,u)=>{const f=this.services.backendConnector.state[`${c}|${u}`];return f===-1||f===0||f===2};if(n.precheck){const c=n.precheck(this,l);if(c!==void 0)return c}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(r,t)&&(!o||l(s,t)))}loadNamespaces(t,n){const r=Tl();return this.options.ns?(Ke(t)&&(t=[t]),t.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Tl();Ke(t)&&(t=[t]);const o=this.options.preload||[],s=t.filter(l=>o.indexOf(l)<0&&this.services.languageUtils.isSupportedCode(l));return s.length?(this.options.preload=o.concat(s),this.loadResources(l=>{r.resolve(),n&&n(l)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new I1(P1());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Pl(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xu;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},s=new Pl(o);return(t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(c=>{s[c]=this[c]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r&&(s.store=new w1(this.store.data,o),s.services.resourceStore=s.store),s.translator=new Uu(s.services,o),s.translator.on("*",function(c){for(var u=arguments.length,f=new Array(u>1?u-1:0),p=1;p<u;p++)f[p-1]=arguments[p];s.emit(c,...f)}),s.init(o,n),s.translator.options=o,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Nn=Pl.createInstance();Nn.createInstance=Pl.createInstance,Nn.createInstance,Nn.dir,Nn.init,Nn.loadResources,Nn.reloadResources,Nn.use,Nn.changeLanguage,Nn.getFixedT,Nn.t,Nn.exists,Nn.setDefaultNamespace,Nn.hasLoadedNamespace,Nn.loadNamespaces,Nn.loadLanguages;const XF=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,ZF={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},qF=e=>ZF[e];let M1={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(XF,qF)};const JF=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};M1={...M1,...e}},KF={type:"3rdParty",init(e){JF(e.options.react)}},QF=`
301
- Callback que se dispara cuando cambia el valor del input.
302
-
303
- #### Parámetros
304
- event: \`React.ChangeEvent<HTMLInputElement>\`
305
- - \`event.target.name\`: El nombre del input.
306
- - \`event.target.value\`: El valor actual del input, que debe cumplir con la siguiente interfaz:
307
-
308
- \`\`\`typescript
309
- interface SelectOption {
310
- label: string;
311
- value: string | number;
312
- [key: string]: any;
313
- }
314
- \`\`\`
315
- `,e3=`
316
- Callback que se ejecuta cuando escribimos algo en el buscador.
317
-
318
- #### Parámetros
319
- event: \`React.ChangeEvent<HTMLInputElement>\`
320
- - \`event.target.name\`: El nombre del input.
321
- - \`event.target.value\`: El valor actual del input
322
- `,t3=`
323
- Callback que se ejecuta cuando seleccionamos una opcion del buscador.
324
-
325
- #### Parámetros
326
- event: \`React.ChangeEvent<HTMLInputElement>\`
327
- - \`event.target.name\`: El nombre del input.
328
- - \`event.target.value\`: El valor actual del input, que debe cumplir con la siguiente interfaz:
329
-
330
- \`\`\` typescript
331
- interface SelectOption {
332
- label: string;
333
- value: string | number;
334
- [key: string]: any;
335
- }
336
- \`\`\`
337
- `,n3=`
338
- Callback que se dispara cuando cambia el valor del input.
339
-
340
- #### Parámetros
341
- event: \`React.ChangeEvent<HTMLInputElement>\`
342
- - \`event.target.name\`: El nombre del input.
343
- - \`event.target.value\`: Siempre es "on"
344
- `,r3="\n Callback que se dispara cuando cambia el valor del input.\n \n #### Parámetros\n event: `React.ChangeEvent<HTMLInputElement>`\n - `event.target.name`: El nombre del input.\n - `event.target.value`: El valor actual del input, que debe cumplir con la siguiente interfaz:\n \n ``` typescript\n value: string | number; \n ```\n",o3=`
345
- Funcion que recibe un valor de tipo SelectOption y deberia devolver un valor booleano
346
- Si la opción tiene definida un tooltipMessage se va a mostrar al hacer hover.
347
-
348
- #### Ejemplo
349
- \`\`\` typescript
350
- const isOptionDisabled = (option: SelectOption) => option.value === 2;
351
- \`\`\`
352
-
353
- #### Interfaz
354
- \`\`\`typescript
355
- interface SelectOption {
356
- label: string;
357
- value: string | number;
358
- tooltipMessage?: string;
359
- [key: string]: any;
360
- }
361
- \`\`\`
362
- `,i3=`
363
- #### Ejemplo de uso
364
- \`\`\`typescript
365
- <SelectField
366
- name="productId"
367
- options={[{ label: "1", value: 1 }, { label: "2", value: 2, tooltipMessage: "Este valor no es representativo" }]}
368
- onChange={(event) => handleChange(event.target.name, event.target.value)}
369
- isMultiple
370
- isClearable={false}
371
- label={localize('product')}
372
- isOptionDisabled={(option) => option.value == 2}
373
- rightModifier={shouldShowLoader && <Spinner />}
374
- />
375
- \`\`\`
376
- `,s3=`
377
- #### Ejemplo de uso
378
-
379
- \`\`\` typescript
380
- <FormField
381
- label="Título"
382
- name="textInput"
383
- onChange={(event) => handleChange(event.target.name, event.target.value)}
384
- placeholder="Placeholder"
385
- size="md"
386
- type="text"
387
- isValid={(inputValue) => _.isNumber(inputValue)}
388
- />
389
- \`\`\`
390
- `,a3=`
391
- Funcion que recibe un valor de tipo inputValue y deberia devolver un valor booleano.
392
-
393
- #### Por ejemplo: (inputValue) => _.isNumber(inputValue)
394
-
395
- \`\`\` typescript
396
- type inputValue = string | number;
397
- \`\`\`
398
- `,l3=`
399
- #### Ejemplo de uso
400
-
401
- \`\`\` typescript
402
- <CheckboxInput
403
- items={[
404
- {
405
- id: '1',
406
- label: 'Opción 1'
407
- },
408
- {
409
- id: '2',
410
- label: 'Opción 2'
411
- },
412
- {
413
- disabled: true,
414
- id: '3',
415
- label: 'Opción 3'
416
- }
417
- ]}
418
- name="CheckboxList"
419
- onChange={(event) => handleChange(event.target.name, event.target.value)}
420
- size="lg"
421
- title="Selecciona una opción"
422
- type="checkbox"
423
- />
424
- \`\`\`
425
- `,D1=`
426
- Versión con una sola opción tipo checkbox y un label personalizado:
427
-
428
- \`\`\`typescript
429
- const [checked, setChecked] = React.useState(false)
430
- <CheckboxInput
431
- name="Toggle"
432
- checked={checked}
433
- onChange={setChecked}
434
- label={"Amazon"}
435
- title={locale('syncStockFromChannel')}
436
- />
437
- \`\`\`
438
- `,c3={en:{translation:{}},es:{translation:{noResultsFound:"No se encontraron resultados",reloadPage:"Recargar página",selectPlaceholder:"Seleccionar...",selectOption:"Selecciona una opción",noOptionsMessage:"No hay opciones",noFoundOptions:"No se encontraron resultados",selectedPlural:"Seleccionados",selected:"Seleccionado",title:"Título",password:"Contraseña",selectRequiredText:"Campo obligatorio",exportedIcon:"Icono exportado de Material UI",syncStockFromChannel:'Selecciona qué sincronizar desde "canal"',add:"Agregar",previous:"Anterior",continue:"Continuar",cancel:"Cancelar",save:"Guardar",guide:"Guía",hideSelectedOptionsExplainText:"Oculta la opción seleccionada del menu. Solo puede modificarse si es selección simple",switchInput:{options:"Opciones",option:"Opción",large:"Large Switch",medium:"Medium Switch",small:"Small Switch (Default)"},tooltip:{hoverToSee:"Hover sobre mí para ver el tooltip",basicContent:"Este es el contenido del tooltip",showTooltipWhenHoverButton:"Muestra un tooltip al hacer hover sobre un botón.",showTooltipWhenDisabled:"Solo se muestra cuando el botón está deshabilitado",showTooltipWhenDisabledDescription:"Muestra el tooltip únicamente para un botón deshabilitado.",basicDescription:"Componente de tooltip básico que siempre muestra el tooltip al hacer hover.",overflowDescription:"Componente que detecta automáticamente cuando el contenido se desborda y muestra un tooltip solo cuando es necesario.",componentDescription:"Componentes de tooltip que detectan automáticamente cuando el contenido se desborda y muestran un tooltip. Incluye soporte para maxWidth personalizable.",maxWidthDescription:"Ancho máximo del tooltip (px, %, em, etc.). Por defecto: 600px",clickToSee:"Haz clic para ver el tooltip",clickableTitle:"Título del tooltip",clickableDescription:"Ejemplo de tooltip clickeable con contenido complejo incluyendo título y lista con enlaces.",bulletPoint:"Bullet: Lorem ipsum dolor sit.",linkText:"Link"},description:{checkboxInputReduxFormExample:`
439
- #### Ejemplo de uso con Redux Form - CheckboxInput
440
-
441
- \`\`\`typescript
442
- <Field
443
- name="salesSync"
444
- component={CheckboxInput}
445
- classComponent={'decrease-stock'}
446
- props={{
447
- name: 'cancelSales',
448
- value: this.salesSync().cancelSales,
449
- checked: this.salesSync().cancelSales,
450
- label: this.context.localize('settings.cancelSales')
451
- }}
452
- />
453
- \`\`\`
454
- `,onChangeSelectField:QF,onInputChange:e3,onChangeSearcher:t3,onChangeCheckboxInput:n3,onChangeInput:r3,isOptionDisabled:o3,reduxForm:{input:"Prop de Redux Form. Cuando uses Redux Form, pasa el prop input desde el componente Field."},selectField:{example:i3,defaultValue:"Esta opción debe ser del tipo (string | number)[] Ej: 2 | [2] | [1,2] donde value = 2",disabled:"Campo deshabilitado",disabledOptions:"Opciones deshabilitadas",noOptions:"Sin opciones disponibles",withIcon:"Select con Icono"},actionBar:{example:`
455
- #### Uso básico
456
- \`\`\`typescript
457
- <SaveBar
458
- saveProps={{
459
- onSave: () => handleSave(),
460
- label: 'Save'
461
- }}
462
- cancelProps={{
463
- onCancel: () => handleCancel(),
464
- label: 'Cancel'
465
- }}
466
- />
467
- \`\`\`
468
- #### Con botón de navegación
469
- \`\`\`typescript
470
- <SaveBar
471
- saveProps={{
472
- onSave: () => handleSave(),
473
- label: 'Save',
474
- variant: 'primary'
475
- }}
476
- cancelProps={{
477
- onCancel: () => handleCancel(),
478
- label: 'Cancel'
479
- }}
480
- previousProps={{
481
- onPrevious: () => handlePrevious(),
482
- label: 'Previous'
483
- }}
484
- />
485
- \`\`\`
486
- #### Ejemplo completo
487
- \`\`\`typescript
488
- <SaveBar
489
- saveProps={{
490
- onSave: () => handleSave(),
491
- label: 'Guardar cambios',
492
- variant: 'success',
493
- disabled: false,
494
- onClick: () => {},
495
- }}
496
- cancelProps={{
497
- onCancel: () => handleCancel(),
498
- label: 'Descartar',
499
- }}
500
- previousProps={{
501
- onPrevious: () => handlePrevious(),
502
- label: 'Anterior',
503
- variant: 'primary',
504
- outline: true,
505
- disabled: false,
506
- onClick: () => console.log('Previous clicked'),
507
- }}
508
- />
509
- \`\`\`
510
- `,saveButton:"Botón de guardar",cancelButton:"Botón de cancelar",previousButton:"Botón de anterior",saveButtonProps:"Props para el botón de guardar",cancelButtonProps:"Props para el botón de cancelar",previousButtonProps:"Props para el botón de anterior",withoutBorder:"Elimina el redondeado de la ActionBar",saveChanges:"Guardar cambios",discard:"Descartar",confirm:"Confirmar",verifySaveButtonOnly:"Verificar que solo se renderiza el botón de guardar",verifyInitialRendering:"Verificar renderizado inicial",clickSaveButton:"Hacer clic en botón guardar",clickCancelButton:"Hacer clic en botón cancelar",clickPreviousButton:"Hacer clic en botón anterior",clickSaveButtonOnly:"Hacer clic en el botón de guardar"},formField:{example:s3,isValid:a3},checkboxInput:{example:D1,checkboxInputExample:D1,checkboxInputGroupExample:l3},switchInput:{example:"Example of a single switch component."},icons:{size:"Tamaño del ícono en píxeles"},searcher:{example:`
511
- Note la diferencia entre onChange y onInputChange (oficia de onSearch):
512
-
513
- \`\`\`typescript
514
- <Searcher
515
- label="Search label"
516
- name="Searcher"
517
- onChange={(event) => onSelectOption(event.target.value)}
518
- onInputChange={(event) => handleSearch(event.target.value)}
519
- options={[{ label: 'text', value: 1 }]}
520
- />
521
- \`\`\`
522
- `,exampleOption:"Ejemplo de búsqueda",searchPlaceholder:"Escribí para buscar...",searchLabel:"Buscar opción",noResults:"No se encontraron resultados",writeToSearch:"Escribí para buscar",clearOnSelectDescription:"Limpia el texto del input después de seleccionar una opción",clearOnSelectStoryDescription:"Ejemplo que muestra cómo se borra el texto de entrada después de seleccionar una opción cuando clearOnSelect está habilitado"},breadcrumb:{itemFormat:`
523
- ## Formato de BreadcrumbItem
524
-
525
- El componente Breadcrumb acepta un array de objetos \`BreadcrumbItem\` con las siguientes propiedades:
526
-
527
- ### Propiedades disponibles:
528
-
529
- - **\`text\`** (string, requerido): El texto que se muestra para el item del breadcrumb
530
- - **\`onClick\`** (function, opcional): Función que se ejecuta al hacer click en el item
531
- - **\`isActive\`** (boolean, opcional): Indica si el item está activo. Por defecto, el último item se considera activo
532
- - **\`href\`** (string, opcional): URL del enlace (actualmente no implementado en el renderizado)
533
-
534
- ### Comportamiento:
535
-
536
- - Los items con \`onClick\` se renderizan como botones clickeables
537
- - Los items sin \`onClick\` se renderizan como texto estático
538
- - El último item siempre se considera activo (a menos que se especifique \`isActive: true\` en otro item)
539
- - Cada item se separa automáticamente con el símbolo ">"
540
-
541
- ### Ejemplo de uso:
542
-
543
- \`\`\`tsx
544
- const breadcrumbItems = [
545
- { text: 'Dashboard' },
546
- { text: 'Productos', onClick: () => navigate('/products') },
547
- { text: 'Detalles', isActive: true }
548
- ]
549
-
550
- <Breadcrumb items={breadcrumbItems} />
551
- \`\`\`
552
- `},alert:{message:"Mensaje de éxito, este contenedor se ajusta al contenido, con un ancho máx de 1140 px",infoMessage:"Mensaje de información, este componente se ajusta al ancho del contenedor full width.",dontShowAgain:"No volver a mostrar este mensaje.",customAlert:"Alerta con ícono personalizado"}},headerSection:{edit:"Editar",duplicate:"Duplicate",delete:"Eliminar"},error:{required:"Este campo es obligatorio",notValid:"El valor ingresado es inválido"},copyButton:{copy:"Copiar",copied:"Copiado",textToCopy:"Este texto se copiará automáticamente",textCopied:"Este es el texto que se copiará",copyKey:"Copiar clave",copiedKey:"Clave copiada",custom:"Funcion Custom",running:"Corriendo...",alert:"Función personalizada ejecutada!"},linkWithIcon:{historyChange:"Historial de cambios",edit:"Editar",customAction:"Acción personalizada"},breadcrumb:{historyChanges:"Historial de cambios",products:"Productos",dashboard:"Dashboard",categories:"Categorías",electronics:"Electrónicos",details:"Detalles",page1:"Página 1",page2:"Página 2",page3:"Página 3",home:"Inicio"},datePicker:{name:"Nombre del campo",value:"Valor del campo",size:"Tamaño del componente",disabled:"Deshabilita el componente",required:"Marca el campo como requerido",noErrors:"Oculta los mensajes de error",placeholder:"Texto placeholder",label:"Label que se muestra arriba del input",format:"Formato de fecha que determina automáticamente el tipo de picker: YYYY (años), HH:mm (horas), DD/MM/YYYY (fecha), DD/MM/YYYY HH:mm (fecha y hora)",minDate:"Fecha mínima permitida",maxDate:"Fecha máxima permitida",rightAdornment:"Elemento que se muestra a la derecha del input",meta:"Metadatos para validación (error, touched, etc.)",isValid:"Función para validación personalizada",input:"Input object para integración con Redux Form",onChange:"Callback cuando cambia la fecha",selectDate:"Seleccionar fecha",dateLabel:"Fecha",selectADate:"Selecciona una fecha",requiredDate:"Fecha Requerida",requiredField:"Campo obligatorio",dateAndTime:"Fecha y Hora",dateWithLimits:"Fecha con Límites",onlyFutureDates:"Solo fechas futuras",customFormat:"Formato Personalizado",yearSelector:"Selector de Año",timeSelector:"Selector de Hora",timeSelectorWithSeconds:"Selector de Hora con Segundos",dateTimeSelector:"Selector de Fecha y Hora",selectYear:"Seleccionar año",selectTime:"Seleccionar hora",selectDateTime:"Seleccionar fecha y hora"},dateRangePicker:{size:"Tamaño del componente",disabled:"Deshabilita el componente",required:"Marca el campo como requerido",noErrors:"Oculta los mensajes de error",placeholder:"Texto placeholder",label:"Label que se muestra arriba del input",format:"Formato de fecha (por defecto DD/MM/YYYY)",minDate:"Fecha mínima permitida",maxDate:"Fecha máxima permitida",onChange:"Callback cuando cambia el rango de fechas",selectDateRange:"Seleccionar rango de fechas",dateRangeLabel:"Rango de fechas",disabledRange:"Rango deshabilitado",disabledComponent:"Componente deshabilitado",rangeWithMinMax:"Rango con min/max y deshabilitado",restrictedRange:"Rango restringido y deshabilitado",disabledWithRestrictions:"Story que demuestra la combinación de minDate, maxDate y disabled. El componente está deshabilitado pero también tiene restricciones de fechas.",completelyDisabled:"Story que demuestra el componente completamente deshabilitado usando la propiedad disabled como boolean."},chip:{text:"Texto",title:"Título",onRemove:"Función que se ejecuta al hacer clic en el ícono de cerrar",disabled:"Deshabilita el chip y oculta el ícono de cerrar",variant:"Variante visual del chip que cambia el color de fondo (default, success, error, warning, info)",size:"Tamaño del chip (sm: pequeño, lg: grande, undefined: tamaño por defecto)"},warningModal:{warning:"¡Atención!",dontShowAgain:"No volver a mostrar este mensaje"},tab:{tab1:"Pestaña 1",tab2:"Pestaña 2",tab3:"Pestaña 3"}}}};Nn.use(KF).init({resources:c3,lng:"es",interpolation:{escapeValue:!1},debug:!0});const nn=Nn.t,rn={"producteca-select-field-container":"selectField-module_producteca-select-field-container_wnPdM","producteca-select-field--is-required":"selectField-module_producteca-select-field--is-required_0f07A","producteca-select-field--with-modifier":"selectField-module_producteca-select-field--with-modifier_GN3AL","producteca-select-field-body":"selectField-module_producteca-select-field-body_-gy8S",lg:"selectField-module_lg_adYzi",body:"selectField-module_body_KiYeH","searcher-body":"selectField-module_searcher-body_8Hpy2",md:"selectField-module_md_sCCe1","producteca-select-field__is-clearable":"selectField-module_producteca-select-field__is-clearable_FzZz2","producteca-select-field__search-icon":"selectField-module_producteca-select-field__search-icon_rGbiw","producteca-select-field__is-multiple":"selectField-module_producteca-select-field__is-multiple_G71xD","producteca-select-field--is-clearable":"selectField-module_producteca-select-field--is-clearable_GZGnL","producteca-select-field--is-searchable":"selectField-module_producteca-select-field--is-searchable_YTkm-","producteca-select-field--on-error":"selectField-module_producteca-select-field--on-error_rNJN3","producteca-select-field__input-multiple":"selectField-module_producteca-select-field__input-multiple_K0bLb","option-with-tooltip":"selectField-module_option-with-tooltip_etqky"},u3=Yt(S.jsx("path",{d:"m19 1-5 5v11l5-4.5zM1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5V6c-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6m22 13.5V6c-.6-.45-1.25-.75-2-1v13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5v2c1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5z"}),"AutoStories"),d3=Yt(S.jsx("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V8h16z"}),"CalendarToday"),f3=Yt(S.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel"),p3=Yt(S.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),h3=Yt(S.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle"),k1=Yt(S.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"ClearRounded"),m3=Yt(S.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy"),A1=Yt(S.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),g3=Yt(S.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info"),b3=Yt(S.jsx("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.9 13.98l2.1 2.53 3.1-3.99c.2-.26.6-.26.8.01l3.51 4.68c.25.33.01.8-.4.8H6.02c-.42 0-.65-.48-.39-.81L8.12 14c.19-.26.57-.27.78-.02"}),"InsertPhotoRounded"),v3=Yt(S.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert"),N1=Yt(S.jsx("path",{d:"M15.5 14h-.79l-.28-.27c1.2-1.4 1.82-3.31 1.48-5.34-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.79 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59 2.03.34 3.94-.28 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0s.41-1.08 0-1.49zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"SearchRounded"),y3=Yt(S.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),C3=Yt(S.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff");function Ui({input:e,onChange:t,onBlur:n,transformValue:r=o=>o}){return{handleChange:l=>{if(e){const c=r(l,l);e.onChange(c)}else t&&t(l)},handleBlur:()=>{e&&e.onBlur(),n==null||n()}}}const Zu=e=>{const[t,n]=J.useState(!1),[r,o]=J.useState({top:0,left:0}),s=J.useRef(null),l=e.isDisabled&&!!e.data.tooltipMessage,c=J.useCallback(()=>{if(s.current&&t){const u=s.current.getBoundingClientRect();o({top:u.top,left:u.right+5})}},[t]);return J.useEffect(()=>{if(s.current){const u=s.current.scrollWidth>s.current.offsetWidth;n(l||u)}},[e.label,l]),J.useEffect(()=>{if(t)return c(),window.addEventListener("scroll",c,!0),()=>window.removeEventListener("scroll",c,!0)},[t,c]),S.jsx("div",{className:rn[t?"option-with-tooltip":""],"data-tooltip":l?e.data.tooltipMessage:e.label,style:t?{"--tooltip-top":`${r.top}px`,"--tooltip-left":`${r.left}px`}:void 0,children:S.jsx($u.Option,{...e,children:S.jsxs("div",{className:xe(rn[e.isDisabled?"disabled":""],rn[e.isMulti?"producteca-select-field__input-multiple":""]),children:[e.isMulti&&S.jsx("input",{type:"checkbox",checked:e.isSelected,onChange:St.identity}),S.jsx("label",{ref:s,children:e.label})]})})})},w3=e=>S.jsx($u.MultiValue,{...e,children:S.jsx("span",{children:e.data.label})}),hh=e=>S.jsx($u.SingleValue,{...e,children:S.jsx("span",{children:e.data.label})}),R1=()=>S.jsx("div",{className:rn["producteca-select-field__search-icon"],children:S.jsx($n,{children:S.jsx(N1,{})})}),x3=({optionSelected:e=null})=>{const t=e&&St.isArray(e)&&e.length>0,n=e&&St.isArray(e)&&e.length===1?nn("selected"):nn("selectedPlural");return t?S.jsx("div",{className:rn["producteca-select-field__is-multiple"],children:S.jsxs("span",{children:[e.length," ",n]})}):null},S3=()=>S.jsx("div",{className:rn["producteca-select-field--is-required"],children:nn("selectRequiredText")}),mh=({optionSelected:e,isClearable:t,handleChange:n})=>{const r=e&&St.isArray(e)&&e.length>0,o=!St.isArray(e)&&e&&"value"in e&&e.value;return t&&(r||o)?S.jsx("a",{className:rn["producteca-select-field__is-clearable"],onClick:()=>n(null),children:S.jsx($n,{children:S.jsx(k1,{})})}):null},I3=e=>{const{name:t,label:n,placeholder:r=nn("selectPlaceholder"),noOptionsMessage:o=nn("noFoundOptions"),options:s,size:l="md",hideSelectedOptions:c=!0,isMultiple:u=!1,isSearchable:f=!0,isClearable:p=!0,required:h,disabled:g,rightModifier:v,isOptionDisabled:y,onChange:m,defaultValue:C,input:x,onBlur:M}=e,I=(x==null?void 0:x.value)??e.value,O=St.filter(s,({value:L})=>St.includes(I,L)),[T,k]=J.useState(O||null),[D,A]=J.useState(!1),{handleChange:j,handleBlur:E}=Ui({input:x,onChange:L=>{const V=u?St.map(L,F=>F.value):L==null?void 0:L.value;if(!x){const F={target:{name:t,value:V}};m==null||m(F)}return V},onBlur:M,transformValue:L=>u?St.map(L,F=>F.value):L==null?void 0:L.value}),R=L=>{j(L),k(L),A(!0)};J.useEffect(()=>{if(C&&s.length>0){const L=St.isArray(C)?C:[C],V=St.filter(s,({value:F})=>St.includes(L,F));k(u?V:V[0]||null)}},[C,s]);const H=()=>!h||!D||!St.isEmpty(T),B=u?{Option:Zu,MultiValue:w3}:{Option:Zu,SingleValue:hh};return S.jsxs("div",{className:rn["producteca-select-field-container"],"data-testid":"producteca-select-field-container",children:[n&&S.jsx("label",{htmlFor:t,children:n}),S.jsxs("div",{className:xe(rn[l],rn["producteca-select-field-body"],rn[H()?"":"producteca-select-field--on-error"],rn[f&&!u?"producteca-select-field--is-searchable":""],rn[p?"producteca-select-field--is-clearable":""],rn[v?"producteca-select-field--with-modifier":""]),children:[S.jsxs("div",{className:rn.body,children:[u&&S.jsx(x3,{optionSelected:T}),f&&!u&&S.jsx(R1,{}),S.jsx(m1,{...e,name:t,classNamePrefix:"producteca-select-field",placeholder:r,isDisabled:g,isMulti:u,closeMenuOnSelect:!u,hideSelectedOptions:c&&!u,isClearable:p,isOptionDisabled:y,isSearchable:f&&!u,noOptionsMessage:()=>o,onChange:R,onBlur:E,value:T,options:s,components:B,menuPortalTarget:document.body}),S.jsx(mh,{optionSelected:T,isClearable:p,handleChange:R})]}),!!v&&v]}),!H()&&S.jsx(S3,{})]})},gh=e=>{const{value:t,isValid:n,required:r,meta:{touched:o,error:s}={}}=e,l=n&&!n(t)||o&&s;return!!(r&&!t)||!!l},bh=e=>{const{meta:{touched:t,warning:n}={}}=e;return!!t&&!!n},vh=e=>bh(e)?"warning":gh(e)?"error":null,Hs={warning:"errorMessage-module_warning_bXIaf","Mui-focused":"errorMessage-module_Mui-focused_JfmdQ",message:"errorMessage-module_message_5zSab",error:"errorMessage-module_error_QgQKc"},yh=({validationProps:e})=>{const{meta:t}=e,{error:n,warning:r}=t||{},o=xe(Hs.message,gh(e)&&Hs.error,bh(e)&&Hs.warning);return S.jsxs("div",{className:o,children:[gh(e)&&(n==null?void 0:n.locale),bh(e)&&(r==null?void 0:r.locale)]})},Wo={"form-field":"textInput-module_form-field_6ylpa","input-container":"textInput-module_input-container_YAHtg","with-right-icon":"textInput-module_with-right-icon_K2CQ7","with-left-icon":"textInput-module_with-left-icon_WkTxr",disabled:"textInput-module_disabled_zmiie","text-input-container":"textInput-module_text-input-container_ubBna","text-input":"textInput-module_text-input_9gGzW","right-icon":"textInput-module_right-icon_9Bh6D","left-icon":"textInput-module_left-icon_40v5M",lg:"textInput-module_lg_rvzUN",md:"textInput-module_md_WTZlG",sm:"textInput-module_sm_3H7Tl",title:"textInput-module_title_Y61Pu"},El=e=>{const{isValid:t,onChange:n,meta:r,value:o="",noErrors:s=!1,size:l="md",type:c="text",isClearable:u,max:f,min:p,leftIcon:h,rightIcon:g,input:v,inputRef:y,...m}=e,C=(v==null?void 0:v.value)??o,[x,M]=J.useState(""),I={meta:r,value:C,isValid:t,required:e.required},O=vh(I),T=c==="number"?{max:f,min:p}:{};J.useEffect(()=>{M(C)},[C]);const{handleChange:k,handleBlur:D}=Ui({input:v,onChange:n,transformValue:H=>{const B=H.target.value;return M(B),B}}),A=H=>{k(H)},j=u&&!g&&x?S.jsx($n,{"data-testid":"clear-icon",children:S.jsx(k1,{})}):g,E=u&&!g?()=>A({target:{name:e.name,value:""}}):St.identity,R=l=="sm";return S.jsxs("div",{"data-testid":"text-input-container",className:xe(Wo[l],Wo["text-input-container"],O?Hs[O]:"",h&&!R?Wo["with-left-icon"]:"",j&&!R?Wo["with-right-icon"]:""),children:[!!h&&!R&&S.jsx("div",{className:`${Wo["left-icon"]}`,children:h}),S.jsx("input",{className:"text-input","data-testid":"text-input",value:x?String(x):"",type:c,onChange:A,onBlur:D,ref:y,...T,...m}),!!j&&!R&&S.jsx("div",{className:`${Wo["right-icon"]}`,onClick:E,children:j}),!s&&S.jsx(yh,{validationProps:I})]})},T3=e=>{const[t,n]=J.useState(!1),r=t?"text":"password";return S.jsx(El,{...e,type:r,"data-testid":"password-input",rightIcon:S.jsx(O3,{showPassword:t,setShowPassword:n})})},O3=({showPassword:e,setShowPassword:t})=>S.jsx("div",{"data-testid":"visibility-toggle",onClick:()=>t(!e),children:e?S.jsx(y3,{}):S.jsx(C3,{})}),mo=(e,t)=>e.length!==t.length?!1:t.every(n=>e.includes(n)),Ch=({openTo:e,defaultOpenTo:t,views:n,defaultViews:r})=>{const o=n??r;let s;if(e!=null)s=e;else if(o.includes(t))s=t;else if(o.length>0)s=o[0];else throw new Error("MUI X: The `views` prop must contain at least one view.");return{views:o,openTo:s}},qu=(e,t,n)=>{let r=t;return r=e.setHours(r,e.getHours(n)),r=e.setMinutes(r,e.getMinutes(n)),r=e.setSeconds(r,e.getSeconds(n)),r=e.setMilliseconds(r,e.getMilliseconds(n)),r},Ml=({date:e,disableFuture:t,disablePast:n,maxDate:r,minDate:o,isDateDisabled:s,utils:l,timezone:c})=>{const u=qu(l,l.date(void 0,c),e);n&&l.isBefore(o,u)&&(o=u),t&&l.isAfter(r,u)&&(r=u);let f=e,p=e;for(l.isBefore(e,o)&&(f=o,p=null),l.isAfter(e,r)&&(p&&(p=r),f=null);f||p;){if(f&&l.isAfter(f,r)&&(f=null),p&&l.isBefore(p,o)&&(p=null),f){if(!s(f))return f;f=l.addDays(f,1)}if(p){if(!s(p))return p;p=l.addDays(p,-1)}}return null},P3=(e,t)=>t==null||!e.isValid(t)?null:t,Wn=(e,t,n)=>t==null||!e.isValid(t)?n:t,E3=(e,t,n)=>!e.isValid(t)&&t!=null&&!e.isValid(n)&&n!=null?!0:e.isEqual(t,n),wh=(e,t)=>{const r=[e.startOfYear(t)];for(;r.length<12;){const o=r[r.length-1];r.push(e.addMonths(o,1))}return r},xh=(e,t,n)=>n==="date"?e.startOfDay(e.date(void 0,t)):e.date(void 0,t),Hr=(e,t)=>{const n=e.setHours(e.date(),t==="am"?2:14);return e.format(n,"meridiem")},M3=["year","month","day"],zs=e=>M3.includes(e),Dl=(e,{format:t,views:n},r)=>{if(t!=null)return t;const o=e.formats;return mo(n,["year"])?o.year:mo(n,["month"])?o.month:mo(n,["day"])?o.dayOfMonth:mo(n,["month","year"])?`${o.month} ${o.year}`:mo(n,["day","month"])?`${o.month} ${o.dayOfMonth}`:r?/en/.test(e.getCurrentLocaleCode())?o.normalDateWithWeekday:o.normalDate:o.keyboardDate},D3=(e,t)=>{const n=e.startOfWeek(t);return[0,1,2,3,4,5,6].map(r=>e.addDays(n,r))},F1=["hours","minutes","seconds"],Gs=e=>F1.includes(e),kl=e=>F1.includes(e)||e==="meridiem",k3=(e,t)=>e?t.getHours(e)>=12?"pm":"am":null,Al=(e,t,n)=>n&&(e>=12?"pm":"am")!==t?t==="am"?e-12:e+12:e,A3=(e,t,n,r)=>{const o=Al(r.getHours(e),t,n);return r.setHours(e,o)},V1=(e,t)=>t.getHours(e)*3600+t.getMinutes(e)*60+t.getSeconds(e),Nl=(e,t)=>(n,r)=>e?t.isAfter(n,r):V1(n,t)>V1(r,t),Ju=(e,{format:t,views:n,ampm:r})=>{if(t!=null)return t;const o=e.formats;return mo(n,["hours"])?r?`${o.hours12h} ${o.meridiem}`:o.hours24h:mo(n,["minutes"])?o.minutes:mo(n,["seconds"])?o.seconds:mo(n,["minutes","seconds"])?`${o.minutes}:${o.seconds}`:mo(n,["hours","minutes","seconds"])?r?`${o.hours12h}:${o.minutes}:${o.seconds} ${o.meridiem}`:`${o.hours24h}:${o.minutes}:${o.seconds}`:r?`${o.hours12h}:${o.minutes} ${o.meridiem}`:`${o.hours24h}:${o.minutes}`},zr={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},N3=e=>Math.max(...e.map(t=>zr[t.type]??1)),Rl=(e,t,n)=>{if(t===zr.year)return e.startOfYear(n);if(t===zr.month)return e.startOfMonth(n);if(t===zr.day)return e.startOfDay(n);let r=n;return t<zr.minutes&&(r=e.setMinutes(r,0)),t<zr.seconds&&(r=e.setSeconds(r,0)),t<zr.milliseconds&&(r=e.setMilliseconds(r,0)),r},R3=({props:e,utils:t,granularity:n,timezone:r,getTodayDate:o})=>{let s=o?o():Rl(t,n,xh(t,r));e.minDate!=null&&t.isAfterDay(e.minDate,s)&&(s=Rl(t,n,e.minDate)),e.maxDate!=null&&t.isBeforeDay(e.maxDate,s)&&(s=Rl(t,n,e.maxDate));const l=Nl(e.disableIgnoringDatePartForTimeValidation??!1,t);return e.minTime!=null&&l(e.minTime,s)&&(s=Rl(t,n,e.disableIgnoringDatePartForTimeValidation?e.minTime:qu(t,s,e.minTime))),e.maxTime!=null&&l(s,e.maxTime)&&(s=Rl(t,n,e.disableIgnoringDatePartForTimeValidation?e.maxTime:qu(t,s,e.maxTime))),s},Sh=(e,t)=>{const n=e.formatTokenMap[t];if(n==null)throw new Error([`MUI X: The token "${t}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join(`
553
- `));return typeof n=="string"?{type:n,contentType:n==="meridiem"?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},F3=e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}},Ku=(e,t)=>{const n=[],r=e.date(void 0,"default"),o=e.startOfWeek(r),s=e.endOfWeek(r);let l=o;for(;e.isBefore(l,s);)n.push(l),l=e.addDays(l,1);return n.map(c=>e.formatByString(c,t))},L1=(e,t,n,r)=>{switch(n){case"month":return wh(e,e.date(void 0,t)).map(o=>e.formatByString(o,r));case"weekDay":return Ku(e,r);case"meridiem":{const o=e.date(void 0,t);return[e.startOfDay(o),e.endOfDay(o)].map(s=>e.formatByString(s,r))}default:return[]}},_1="s",V3=["0","1","2","3","4","5","6","7","8","9"],L3=e=>{const t=e.date(void 0);return e.formatByString(e.setSeconds(t,0),_1)==="0"?V3:Array.from({length:10}).map((r,o)=>e.formatByString(e.setSeconds(t,o),_1))},Xi=(e,t)=>{if(t[0]==="0")return e;const n=[];let r="";for(let o=0;o<e.length;o+=1){r+=e[o];const s=t.indexOf(r);s>-1&&(n.push(s.toString()),r="")}return n.join("")},Ih=(e,t)=>t[0]==="0"?e:e.split("").map(n=>t[Number(n)]).join(""),B1=(e,t)=>{const n=Xi(e,t);return n!==" "&&!Number.isNaN(Number(n))},$1=(e,t)=>{let n=e;for(n=Number(n).toString();n.length<t;)n=`0${n}`;return n},W1=(e,t,n,r,o)=>{if(process.env.NODE_ENV!=="production"&&o.type!=="day"&&o.contentType==="digit-with-letter")throw new Error([`MUI X: The token "${o.format}" is a digit format with letter in it.'
554
- This type of format is only supported for 'day' sections`].join(`
555
- `));if(o.type==="day"&&o.contentType==="digit-with-letter"){const l=e.setDate(n.longestMonth,t);return e.formatByString(l,o.format)}let s=t.toString();return o.hasLeadingZerosInInput&&(s=$1(s,o.maxLength)),Ih(s,r)},_3=(e,t,n,r,o,s,l,c)=>{const u=F3(r),f=r==="Home",p=r==="End",h=n.value===""||f||p,g=()=>{const y=o[n.type]({currentDate:l,format:n.format,contentType:n.contentType}),m=M=>W1(e,M,y,s,n),C=n.type==="minutes"&&(c!=null&&c.minutesStep)?c.minutesStep:1;let x;if(h){if(n.type==="year"&&!p&&!f)return e.formatByString(e.date(void 0,t),n.format);u>0||f?x=y.minimum:x=y.maximum}else x=parseInt(Xi(n.value,s),10)+u*C;return x%C!==0&&((u<0||f)&&(x+=C-(C+x)%C),(u>0||p)&&(x-=x%C)),x>y.maximum?m(y.minimum+(x-y.maximum-1)%(y.maximum-y.minimum+1)):x<y.minimum?m(y.maximum-(y.minimum-x-1)%(y.maximum-y.minimum+1)):m(x)},v=()=>{const y=L1(e,t,n.type,n.format);if(y.length===0)return n.value;if(h)return u>0||f?y[0]:y[y.length-1];const x=((y.indexOf(n.value)+u)%y.length+y.length)%y.length;return y[x]};return n.contentType==="digit"||n.contentType==="digit-with-letter"?g():v()},Th=(e,t,n)=>{let r=e.value||e.placeholder;const o=t==="non-input"?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;return t==="non-input"&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(r=Number(Xi(r,n)).toString()),["input-rtl","input-ltr"].includes(t)&&e.contentType==="digit"&&!o&&r.length===1&&(r=`${r}‎`),t==="input-rtl"&&(r=`⁨${r}⁩`),r},j1=(e,t,n,r)=>{if(process.env.NODE_ENV!=="production"&&Sh(e,n).type==="weekDay")throw new Error("changeSectionValueFormat doesn't support week day formats");return e.formatByString(e.parse(t,n),r)},B3=(e,t)=>e.formatByString(e.date(void 0,"system"),t).length===4,H1=(e,t,n,r)=>{if(t!=="digit")return!1;const o=e.date(void 0,"default");switch(n){case"year":return e.lib==="dayjs"&&r==="YY"?!0:e.formatByString(e.setYear(o,1),r).startsWith("0");case"month":return e.formatByString(e.startOfYear(o),r).length>1;case"day":return e.formatByString(e.startOfMonth(o),r).length>1;case"weekDay":return e.formatByString(e.startOfWeek(o),r).length>1;case"hours":return e.formatByString(e.setHours(o,1),r).length>1;case"minutes":return e.formatByString(e.setMinutes(o,1),r).length>1;case"seconds":return e.formatByString(e.setSeconds(o,1),r).length>1;default:throw new Error("Invalid section type")}},$3=(e,t,n)=>{const r=t.some(u=>u.type==="day"),o=[],s=[];for(let u=0;u<t.length;u+=1){const f=t[u];r&&f.type==="weekDay"||(o.push(f.format),s.push(Th(f,"non-input",n)))}const l=o.join(" "),c=s.join(" ");return e.parse(c,l)},W3=e=>e.map(t=>`${t.startSeparator}${t.value||t.placeholder}${t.endSeparator}`).join(""),j3=(e,t,n)=>{const o=e.map(s=>{const l=Th(s,n?"input-rtl":"input-ltr",t);return`${s.startSeparator}${l}${s.endSeparator}`}).join("");return n?`⁦${o}⁩`:o},H3=(e,t,n)=>{const r=e.date(void 0,n),o=e.endOfYear(r),s=e.endOfDay(r),{maxDaysInMonth:l,longestMonth:c}=wh(e,r).reduce((u,f)=>{const p=e.getDaysInMonth(f);return p>u.maxDaysInMonth?{maxDaysInMonth:p,longestMonth:f}:u},{maxDaysInMonth:0,longestMonth:null});return{year:({format:u})=>({minimum:0,maximum:B3(e,u)?9999:99}),month:()=>({minimum:1,maximum:e.getMonth(o)+1}),day:({currentDate:u})=>({minimum:1,maximum:u!=null&&e.isValid(u)?e.getDaysInMonth(u):l,longestMonth:c}),weekDay:({format:u,contentType:f})=>{if(f==="digit"){const p=Ku(e,u).map(Number);return{minimum:Math.min(...p),maximum:Math.max(...p)}}return{minimum:1,maximum:7}},hours:({format:u})=>{const f=e.getHours(s);return Xi(e.formatByString(e.endOfDay(r),u),t)!==f.toString()?{minimum:1,maximum:Number(Xi(e.formatByString(e.startOfDay(r),u),t))}:{minimum:0,maximum:f}},minutes:()=>({minimum:0,maximum:e.getMinutes(s)}),seconds:()=>({minimum:0,maximum:e.getSeconds(s)}),meridiem:()=>({minimum:0,maximum:1}),empty:()=>({minimum:0,maximum:0})}};let z1=!1;const G1=(e,t)=>{if(process.env.NODE_ENV!=="production"&&!z1){const n=["empty"];["date","date-time"].includes(t)&&n.push("weekDay","day","month","year"),["time","date-time"].includes(t)&&n.push("hours","minutes","seconds","meridiem");const r=e.find(o=>!n.includes(o.type));r&&(console.warn(`MUI X: The field component you are using is not compatible with the "${r.type}" date section.`,`The supported date sections are ["${n.join('", "')}"]\`.`),z1=!0)}},z3=(e,t,n,r)=>{switch(t.type){case"year":return e.setYear(r,e.getYear(n));case"month":return e.setMonth(r,e.getMonth(n));case"weekDay":{const o=Ku(e,t.format),s=e.formatByString(n,t.format),l=o.indexOf(s),u=o.indexOf(t.value)-l;return e.addDays(n,u)}case"day":return e.setDate(r,e.getDate(n));case"meridiem":{const o=e.getHours(n)<12,s=e.getHours(r);return o&&s>=12?e.addHours(r,-12):!o&&s<12?e.addHours(r,12):r}case"hours":return e.setHours(r,e.getHours(n));case"minutes":return e.setMinutes(r,e.getMinutes(n));case"seconds":return e.setSeconds(r,e.getSeconds(n));default:return r}},Y1={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8,empty:9},U1=(e,t,n,r,o)=>[...n].sort((s,l)=>Y1[s.type]-Y1[l.type]).reduce((s,l)=>!o||l.modified?z3(e,l,t,s):s,r),G3=()=>navigator.userAgent.toLowerCase().includes("android"),Y3=(e,t)=>{const n={};if(!t)return e.forEach((u,f)=>{const p=f===0?null:f-1,h=f===e.length-1?null:f+1;n[f]={leftIndex:p,rightIndex:h}}),{neighbors:n,startIndex:0,endIndex:e.length-1};const r={},o={};let s=0,l=0,c=e.length-1;for(;c>=0;){l=e.findIndex((u,f)=>{var p;return f>=s&&((p=u.endSeparator)==null?void 0:p.includes(" "))&&u.endSeparator!==" / "}),l===-1&&(l=e.length-1);for(let u=l;u>=s;u-=1)o[u]=c,r[c]=u,c-=1;s=l+1}return e.forEach((u,f)=>{const p=o[f],h=p===0?null:r[p-1],g=p===e.length-1?null:r[p+1];n[f]={leftIndex:h,rightIndex:g}}),{neighbors:n,startIndex:r[0],endIndex:r[e.length-1]}},Oh=(e,t)=>{if(e==null)return null;if(e==="all")return"all";if(typeof e=="string"){const n=t.findIndex(r=>r.type===e);return n===-1?null:n}return e},U3=(e,t)=>{if(e.value)switch(e.type){case"month":{if(e.contentType==="digit")return t.format(t.setMonth(t.date(),Number(e.value)-1),"month");const n=t.parse(e.value,e.format);return n?t.format(n,"month"):void 0}case"day":return e.contentType==="digit"?t.format(t.setDate(t.startOfYear(t.date()),Number(e.value)),"dayOfMonthFull"):e.value;case"weekDay":return;default:return}},X3=(e,t)=>{if(e.value)switch(e.type){case"weekDay":return e.contentType==="letter"?void 0:Number(e.value);case"meridiem":{const n=t.parse(`01:00 ${e.value}`,`${t.formats.hours12h}:${t.formats.minutes} ${e.format}`);return n?t.getHours(n)>=12?1:0:void 0}case"day":return e.contentType==="digit-with-letter"?parseInt(e.value,10):Number(e.value);case"month":{if(e.contentType==="digit")return Number(e.value);const n=t.parse(e.value,e.format);return n?t.getMonth(n)+1:void 0}default:return e.contentType!=="letter"?Number(e.value):void 0}},Z3=["value","referenceDate"],fn={emptyValue:null,getTodayValue:xh,getInitialReferenceValue:e=>{let{value:t,referenceDate:n}=e,r=je(e,Z3);return t!=null&&r.utils.isValid(t)?t:n??R3(r)},cleanValue:P3,areValuesEqual:E3,isSameError:(e,t)=>e===t,hasError:e=>e!=null,defaultErrorState:null,getTimezone:(e,t)=>t==null||!e.isValid(t)?null:e.getTimezone(t),setTimezone:(e,t,n)=>n==null?null:e.setTimezone(n,t)},Ph={updateReferenceValue:(e,t,n)=>t==null||!e.isValid(t)?n:t,getSectionsFromValue:(e,t,n,r)=>!e.isValid(t)&&!!n?n:r(t),getV7HiddenInputValueFromSections:W3,getV6InputValueFromSections:j3,getActiveDateManager:(e,t)=>({date:t.value,referenceDate:t.referenceValue,getSections:n=>n,getNewValuesFromNewActiveDate:n=>({value:n,referenceValue:n==null||!e.isValid(n)?t.referenceValue:n})}),parseValueStr:(e,t,n)=>n(e.trim(),t)},q3=["localeText"],Qu=w.createContext(null);process.env.NODE_ENV!=="production"&&(Qu.displayName="MuiPickersAdapterContext");const Eh=function(t){const{localeText:n}=t,r=je(t,q3),{utils:o,localeText:s}=w.useContext(Qu)??{utils:void 0,localeText:void 0},l=tt({props:r,name:"MuiLocalizationProvider"}),{children:c,dateAdapter:u,dateFormats:f,dateLibInstance:p,adapterLocale:h,localeText:g}=l,v=w.useMemo(()=>W({},g,s,n),[g,s,n]),y=w.useMemo(()=>{if(!u)return o||null;const x=new u({locale:h,formats:f,instance:p});if(!x.isMUIAdapter)throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(`
556
- `));return x},[u,h,f,p,o]),m=w.useMemo(()=>y?{minDate:y.date("1900-01-01T00:00:00.000"),maxDate:y.date("2099-12-31T00:00:00.000")}:null,[y]),C=w.useMemo(()=>({utils:y,defaultDates:m,localeText:v}),[m,y,v]);return S.jsx(Qu.Provider,{value:C,children:c})};process.env.NODE_ENV!=="production"&&(Eh.propTypes={adapterLocale:i.any,children:i.node,dateAdapter:i.func,dateFormats:i.shape({dayOfMonth:i.string,dayOfMonthFull:i.string,fullDate:i.string,fullTime:i.string,fullTime12h:i.string,fullTime24h:i.string,hours12h:i.string,hours24h:i.string,keyboardDate:i.string,keyboardDateTime:i.string,keyboardDateTime12h:i.string,keyboardDateTime24h:i.string,meridiem:i.string,minutes:i.string,month:i.string,monthShort:i.string,normalDate:i.string,normalDateWithWeekday:i.string,seconds:i.string,shortDate:i.string,weekday:i.string,weekdayShort:i.string,year:i.string}),dateLibInstance:i.any,localeText:i.object});const J3=e=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:W({},e)}}}}),Ys=e=>{const{utils:t,formatKey:n,contextTranslation:r,propsTranslation:o}=e;return s=>{const l=s!==null&&t.isValid(s)?t.format(s,n):null;return(o??r)(s,t,l)}},X1={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"Open previous view",openNextView:"Open next view",calendarViewSwitchingButtonAriaLabel:e=>e==="year"?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",startDate:"Start date",startTime:"Start time",endDate:"End date",endTime:"End time",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,n,r)=>`Select ${e}. ${!r&&(t===null||!n.isValid(t))?"No time selected":`Selected time is ${r??n.format(t,"fullTime")}`}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||e!==null&&t.isValid(e)?`Choose date, selected date is ${n??t.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,t,n)=>n||e!==null&&t.isValid(e)?`Choose time, selected time is ${n??t.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>e.contentType==="letter"?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>e.contentType==="letter"?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Year",month:"Month",day:"Day",weekDay:"Week day",hours:"Hours",minutes:"Minutes",seconds:"Seconds",meridiem:"Meridiem",empty:"Empty"},K3=X1;J3(X1);const Zi=()=>{const e=w.useContext(Qu);if(e===null)throw new Error(["MUI X: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join(`
557
- `));if(e.utils===null)throw new Error(["MUI X: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join(`
558
- `));const t=w.useMemo(()=>W({},K3,e.localeText),[e.localeText]);return w.useMemo(()=>W({},e,{localeText:t}),[e,t])},lt=()=>Zi().utils,qi=()=>Zi().defaultDates,Ji=e=>{const t=lt(),n=w.useRef(void 0);return n.current===void 0&&(n.current=t.date(void 0,e)),n.current};function Z1(e){return _e("MuiPickersToolbar",e)}const Q3=Re("MuiPickersToolbar",["root","content"]),e9=["children","className","toolbarTitle","hidden","titleId","isLandscape","classes","landscapeDirection"],t9=e=>{const{classes:t}=e;return Ve({root:["root"],content:["content"]},Z1,t)},n9=ue("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3),variants:[{props:{isLandscape:!0},style:{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"}}]})),r9=ue("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,t)=>t.content})({display:"flex",flexWrap:"wrap",width:"100%",flex:1,justifyContent:"space-between",alignItems:"center",flexDirection:"row",variants:[{props:{isLandscape:!0},style:{justifyContent:"flex-start",alignItems:"flex-start",flexDirection:"column"}},{props:{isLandscape:!0,landscapeDirection:"row"},style:{flexDirection:"row"}}]}),Mh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersToolbar"}),{children:o,className:s,toolbarTitle:l,hidden:c,titleId:u}=r,f=je(r,e9),p=r,h=t9(p);return c?null:S.jsxs(n9,W({ref:n,className:xe(h.root,s),ownerState:p},f,{children:[S.jsx(io,{color:"text.secondary",variant:"overline",id:u,children:l}),S.jsx(r9,{className:h.content,ownerState:p,children:o})]}))}),Cn=()=>Zi().localeText;function o9(e){return _e("MuiDatePickerToolbar",e)}Re("MuiDatePickerToolbar",["root","title"]);const i9=["value","isLandscape","onChange","toolbarFormat","toolbarPlaceholder","views","className","onViewChange","view"],s9=e=>{const{classes:t}=e;return Ve({root:["root"],title:["title"]},o9,t)},a9=ue(Mh,{name:"MuiDatePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),l9=ue(io,{name:"MuiDatePickerToolbar",slot:"Title",overridesResolver:(e,t)=>t.title})({variants:[{props:{isLandscape:!0},style:{margin:"auto 16px auto auto"}}]}),q1=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiDatePickerToolbar"}),{value:o,isLandscape:s,toolbarFormat:l,toolbarPlaceholder:c="––",views:u,className:f}=r,p=je(r,i9),h=lt(),g=Cn(),v=s9(r),y=w.useMemo(()=>{if(!o)return c;const C=Dl(h,{format:l,views:u},!0);return h.formatByString(o,C)},[o,l,c,h,u]),m=r;return S.jsx(a9,W({ref:n,toolbarTitle:g.datePickerToolbarTitle,isLandscape:s,className:xe(v.root,f)},p,{children:S.jsx(l9,{variant:"h4",align:s?"left":"center",ownerState:m,className:v.title,children:y})}))});process.env.NODE_ENV!=="production"&&(q1.propTypes={classes:i.object,className:i.string,disabled:i.bool,hidden:i.bool,isLandscape:i.bool.isRequired,onChange:i.func.isRequired,onViewChange:i.func.isRequired,readOnly:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),titleId:i.string,toolbarFormat:i.string,toolbarPlaceholder:i.node,value:i.object,view:i.oneOf(["day","month","year"]).isRequired,views:i.arrayOf(i.oneOf(["day","month","year"]).isRequired).isRequired});function J1(e,t){const n=lt(),r=qi(),o=tt({props:e,name:t}),s=w.useMemo(()=>{var l;return((l=o.localeText)==null?void 0:l.toolbarTitle)==null?o.localeText:W({},o.localeText,{datePickerToolbarTitle:o.localeText.toolbarTitle})},[o.localeText]);return W({},o,{localeText:s},Ch({views:o.views,openTo:o.openTo,defaultViews:["year","day"],defaultOpenTo:"day"}),{disableFuture:o.disableFuture??!1,disablePast:o.disablePast??!1,minDate:Wn(n,o.minDate,r.minDate),maxDate:Wn(n,o.maxDate,r.maxDate),slots:W({toolbar:q1},o.slots)})}const Us=({props:e,value:t,timezone:n,adapter:r})=>{if(t===null)return null;const{shouldDisableDate:o,shouldDisableMonth:s,shouldDisableYear:l,disablePast:c,disableFuture:u}=e,f=r.utils.date(void 0,n),p=Wn(r.utils,e.minDate,r.defaultDates.minDate),h=Wn(r.utils,e.maxDate,r.defaultDates.maxDate);switch(!0){case!r.utils.isValid(t):return"invalidDate";case!!(o&&o(t)):return"shouldDisableDate";case!!(s&&s(t)):return"shouldDisableMonth";case!!(l&&l(t)):return"shouldDisableYear";case!!(u&&r.utils.isAfterDay(t,f)):return"disableFuture";case!!(c&&r.utils.isBeforeDay(t,f)):return"disablePast";case!!(p&&r.utils.isBeforeDay(t,p)):return"minDate";case!!(h&&r.utils.isAfterDay(t,h)):return"maxDate";default:return null}};Us.valueManager=fn;const Fl=({adapter:e,value:t,timezone:n,props:r})=>{if(t===null)return null;const{minTime:o,maxTime:s,minutesStep:l,shouldDisableTime:c,disableIgnoringDatePartForTimeValidation:u=!1,disablePast:f,disableFuture:p}=r,h=e.utils.date(void 0,n),g=Nl(u,e.utils);switch(!0){case!e.utils.isValid(t):return"invalidDate";case!!(o&&g(o,t)):return"minTime";case!!(s&&g(t,s)):return"maxTime";case!!(p&&e.utils.isAfter(t,h)):return"disableFuture";case!!(f&&e.utils.isBefore(t,h)):return"disablePast";case!!(c&&c(t,"hours")):return"shouldDisableTime-hours";case!!(c&&c(t,"minutes")):return"shouldDisableTime-minutes";case!!(c&&c(t,"seconds")):return"shouldDisableTime-seconds";case!!(l&&e.utils.getMinutes(t)%l!==0):return"minutesStep";default:return null}};Fl.valueManager=fn;const ed=({adapter:e,value:t,timezone:n,props:r})=>{const o=Us({adapter:e,value:t,timezone:n,props:r});return o!==null?o:Fl({adapter:e,value:t,timezone:n,props:r})};ed.valueManager=fn;const Dh=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],kh=["disablePast","disableFuture","minTime","maxTime","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],K1=["minDateTime","maxDateTime"],c9=[...Dh,...kh,...K1],Xs=e=>c9.reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{});function Q1(e){const{props:t,validator:n,value:r,timezone:o,onError:s}=e,l=Zi(),c=w.useRef(n.valueManager.defaultErrorState),u=n({adapter:l,value:r,timezone:o,props:t}),f=n.valueManager.hasError(u);w.useEffect(()=>{s&&!n.valueManager.isSameError(u,c.current)&&s(u,r),c.current=u},[n,s,u,r]);const p=De(h=>n({adapter:l,value:h,timezone:o,props:t}));return{validationError:u,hasValidationError:f,getValidationErrorForNewValue:p}}function u9(e){return _e("MuiPickersPopper",e)}Re("MuiPickersPopper",["root","paper"]);function Zs(e,t){return Array.isArray(t)?t.every(n=>e.indexOf(n)!==-1):e.indexOf(t)!==-1}const d9=(e,t)=>n=>{(n.key==="Enter"||n.key===" ")&&(e(n),n.preventDefault(),n.stopPropagation())},Yn=(e=document)=>{const t=e.activeElement;return t?t.shadowRoot?Yn(t.shadowRoot):t:null},td=e=>Array.from(e.children).indexOf(Yn(document)),Ah="@media (pointer: fine)",f9="@media (prefers-reduced-motion: reduce)",qs=typeof navigator<"u"&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),eC=qs&&qs[1]?parseInt(qs[1],10):null,tC=qs&&qs[2]?parseInt(qs[2],10):null,p9=eC&&eC<10||tC&&tC<13||!1,nC=()=>mu(f9,{defaultMatches:!1})||p9,h9=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],m9=e=>{const{classes:t}=e;return Ve({root:["root"],paper:["paper"]},u9,t)},g9=ue(iu,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({zIndex:e.zIndex.modal})),b9=ue(qa,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,t)=>t.paper})({outline:0,transformOrigin:"top center",variants:[{props:({placement:e})=>["top","top-start","top-end"].includes(e),style:{transformOrigin:"bottom center"}}]});function v9(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function y9(e,t){const n=w.useRef(!1),r=w.useRef(!1),o=w.useRef(null),s=w.useRef(!1);w.useEffect(()=>{if(!e)return;function u(){s.current=!0}return document.addEventListener("mousedown",u,!0),document.addEventListener("touchstart",u,!0),()=>{document.removeEventListener("mousedown",u,!0),document.removeEventListener("touchstart",u,!0),s.current=!1}},[e]);const l=De(u=>{if(!s.current)return;const f=r.current;r.current=!1;const p=kn(o.current);if(!o.current||"clientX"in u&&v9(u,p))return;if(n.current){n.current=!1;return}let h;u.composedPath?h=u.composedPath().indexOf(o.current)>-1:h=!p.documentElement.contains(u.target)||o.current.contains(u.target),!h&&!f&&t(u)}),c=()=>{r.current=!0};return w.useEffect(()=>{if(e){const u=kn(o.current),f=()=>{n.current=!0};return u.addEventListener("touchstart",l),u.addEventListener("touchmove",f),()=>{u.removeEventListener("touchstart",l),u.removeEventListener("touchmove",f)}}},[e,l]),w.useEffect(()=>{if(e){const u=kn(o.current);return u.addEventListener("click",l),()=>{u.removeEventListener("click",l),r.current=!1}}},[e,l]),[o,c,c]}const C9=w.forwardRef((e,t)=>{const{PaperComponent:n,popperPlacement:r,ownerState:o,children:s,paperSlotProps:l,paperClasses:c,onPaperClick:u,onPaperTouchStart:f}=e,p=je(e,h9),h=W({},o,{placement:r}),g=pt({elementType:n,externalSlotProps:l,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:c,ownerState:h});return S.jsx(n,W({},p,g,{onClick:v=>{var y;u(v),(y=g.onClick)==null||y.call(g,v)},onTouchStart:v=>{var y;f(v),(y=g.onTouchStart)==null||y.call(g,v)},ownerState:h,children:s}))});function w9(e){const t=tt({props:e,name:"MuiPickersPopper"}),{anchorEl:n,children:r,containerRef:o=null,shouldRestoreFocus:s,onBlur:l,onDismiss:c,open:u,role:f,placement:p,slots:h,slotProps:g,reduceAnimations:v}=t;w.useEffect(()=>{function V(F){u&&F.key==="Escape"&&c()}return document.addEventListener("keydown",V),()=>{document.removeEventListener("keydown",V)}},[c,u]);const y=w.useRef(null);w.useEffect(()=>{f==="tooltip"||s&&!s()||(u?y.current=Yn(document):y.current&&y.current instanceof HTMLElement&&setTimeout(()=>{y.current instanceof HTMLElement&&y.current.focus()}))},[u,f,s]);const[m,C,x]=y9(u,l??c),M=w.useRef(null),I=Ct(M,o),O=Ct(I,m),T=t,k=m9(T),D=nC(),A=v??D,j=V=>{V.key==="Escape"&&(V.stopPropagation(),c())},E=(h==null?void 0:h.desktopTransition)??A?di:fi,R=(h==null?void 0:h.desktopTrapFocus)??cl,H=(h==null?void 0:h.desktopPaper)??b9,B=(h==null?void 0:h.popper)??g9,L=pt({elementType:B,externalSlotProps:g==null?void 0:g.popper,additionalProps:{transition:!0,role:f,open:u,anchorEl:n,placement:p,onKeyDown:j},className:k.root,ownerState:t});return S.jsx(B,W({},L,{children:({TransitionProps:V,placement:F})=>S.jsx(R,W({open:u,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:f==="tooltip",isEnabled:()=>!0},g==null?void 0:g.desktopTrapFocus,{children:S.jsx(E,W({},V,g==null?void 0:g.desktopTransition,{children:S.jsx(C9,{PaperComponent:H,ownerState:T,popperPlacement:F,ref:O,onPaperClick:C,onPaperTouchStart:x,paperClasses:k.paper,paperSlotProps:g==null?void 0:g.desktopPaper,children:r})}))}))}))}const rC=new Set;function oC(e,t="warning"){if(process.env.NODE_ENV==="production")return;const n=Array.isArray(e)?e.join(`
559
- `):e;rC.has(n)||(rC.add(n),t==="error"?console.error(n):console.warn(n))}const x9=({open:e,onOpen:t,onClose:n})=>{const r=w.useRef(typeof e=="boolean").current,[o,s]=w.useState(!1);w.useEffect(()=>{if(r){if(typeof e!="boolean")throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");s(e)}},[r,e]);const l=w.useCallback(c=>{r||s(c),c&&t&&t(),!c&&n&&n()},[r,t,n]);return{isOpen:o,setIsOpen:l}},Nh=({timezone:e,value:t,defaultValue:n,referenceDate:r,onChange:o,valueManager:s})=>{const l=lt(),c=w.useRef(n),u=t??c.current??s.emptyValue,f=w.useMemo(()=>s.getTimezone(l,u),[l,s,u]),p=De(y=>f==null?y:s.setTimezone(l,f,y));let h;e?h=e:f?h=f:r?h=l.getTimezone(r):h="default";const g=w.useMemo(()=>s.setTimezone(l,h,u),[s,l,h,u]),v=De((y,...m)=>{const C=p(y);o==null||o(C,...m)});return{value:g,handleValueChange:v,timezone:h}},Js=({name:e,timezone:t,value:n,defaultValue:r,referenceDate:o,onChange:s,valueManager:l})=>{const[c,u]=ro({name:e,state:"value",controlled:n,default:r??l.emptyValue}),f=De((p,...h)=>{u(p),s==null||s(p,...h)});return Nh({timezone:t,value:c,defaultValue:void 0,referenceDate:o,onChange:f,valueManager:l})},S9=e=>{const{action:t,hasChanged:n,dateState:r,isControlled:o}=e,s=!o&&!r.hasBeenModifiedSinceMount;return t.name==="setValueFromField"?!0:t.name==="setValueFromAction"?s&&["accept","today","clear"].includes(t.pickerAction)?!0:n(r.lastPublishedValue):t.name==="setValueFromView"&&t.selectionState!=="shallow"||t.name==="setValueFromShortcut"?s?!0:n(r.lastPublishedValue):!1},I9=e=>{const{action:t,hasChanged:n,dateState:r,isControlled:o,closeOnSelect:s}=e,l=!o&&!r.hasBeenModifiedSinceMount;return t.name==="setValueFromAction"?l&&["accept","today","clear"].includes(t.pickerAction)?!0:n(r.lastCommittedValue):t.name==="setValueFromView"&&t.selectionState==="finish"&&s?l?!0:n(r.lastCommittedValue):t.name==="setValueFromShortcut"?t.changeImportance==="accept"&&n(r.lastCommittedValue):!1},T9=e=>{const{action:t,closeOnSelect:n}=e;return t.name==="setValueFromAction"?!0:t.name==="setValueFromView"?t.selectionState==="finish"&&n:t.name==="setValueFromShortcut"?t.changeImportance==="accept":!1},O9=({props:e,valueManager:t,valueType:n,wrapperVariant:r,validator:o})=>{const{onAccept:s,onChange:l,value:c,defaultValue:u,closeOnSelect:f=r==="desktop",timezone:p,referenceDate:h}=e,{current:g}=w.useRef(u),{current:v}=w.useRef(c!==void 0),[y,m]=w.useState(p);process.env.NODE_ENV!=="production"&&(w.useEffect(()=>{v!==(c!==void 0)&&console.error([`MUI X: A component is changing the ${v?"":"un"}controlled value of a picker to be ${v?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled valuefor the lifetime of the component.","The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
560
- `))},[c]),w.useEffect(()=>{!v&&g!==u&&console.error(["MUI X: A component is changing the defaultValue of an uncontrolled picker after being initialized. To suppress this warning opt to use a controlled value."].join(`
561
- `))},[JSON.stringify(g)]));const C=lt(),x=Zi(),{isOpen:M,setIsOpen:I}=x9(e),{timezone:O,value:T,handleValueChange:k}=Nh({timezone:p,value:c,defaultValue:g,referenceDate:h,onChange:l,valueManager:t}),[D,A]=w.useState(()=>{let te;return T!==void 0?te=T:g!==void 0?te=g:te=t.emptyValue,{draft:te,lastPublishedValue:te,lastCommittedValue:te,lastControlledValue:c,hasBeenModifiedSinceMount:!1}}),j=t.getTimezone(C,D.draft);y!==p&&(m(p),p&&j&&p!==j&&A(te=>W({},te,{draft:t.setTimezone(C,p,te.draft)})));const{getValidationErrorForNewValue:E}=Q1({props:e,validator:o,timezone:O,value:D.draft,onError:e.onError}),R=De(te=>{const le={action:te,dateState:D,hasChanged:ve=>!t.areValuesEqual(C,te.value,ve),isControlled:v,closeOnSelect:f},pe=S9(le),q=I9(le),ne=T9(le);A(ve=>W({},ve,{draft:te.value,lastPublishedValue:pe?te.value:ve.lastPublishedValue,lastCommittedValue:q?te.value:ve.lastCommittedValue,hasBeenModifiedSinceMount:!0}));let fe=null;const be=()=>(fe||(fe={validationError:te.name==="setValueFromField"?te.context.validationError:E(te.value)},te.name==="setValueFromShortcut"&&(fe.shortcut=te.shortcut)),fe);pe&&k(te.value,be()),q&&s&&s(te.value,be()),ne&&I(!1)});if(D.lastControlledValue!==c){const te=t.areValuesEqual(C,D.draft,T);A(le=>W({},le,{lastControlledValue:c},te?{}:{lastCommittedValue:T,lastPublishedValue:T,draft:T,hasBeenModifiedSinceMount:!0}))}const H=De(()=>{R({value:t.emptyValue,name:"setValueFromAction",pickerAction:"clear"})}),B=De(()=>{R({value:D.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})}),L=De(()=>{R({value:D.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})}),V=De(()=>{R({value:D.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})}),F=De(()=>{R({value:t.getTodayValue(C,O,n),name:"setValueFromAction",pickerAction:"today"})}),Y=De(te=>{te.preventDefault(),I(!0)}),G=De(te=>{te==null||te.preventDefault(),I(!1)}),U=De((te,le="partial")=>R({name:"setValueFromView",value:te,selectionState:le})),z=De((te,le,pe)=>R({name:"setValueFromShortcut",value:te,changeImportance:le,shortcut:pe})),X=De((te,le)=>R({name:"setValueFromField",value:te,context:le})),de={onClear:H,onAccept:B,onDismiss:L,onCancel:V,onSetToday:F,onOpen:Y,onClose:G},re={value:D.draft,onChange:X},ie=w.useMemo(()=>t.cleanValue(C,D.draft),[C,t,D.draft]),K={value:ie,onChange:U,onClose:G,open:M},ce=W({},de,{value:ie,onChange:U,onSelectShortcut:z,isValid:te=>{const le=o({adapter:x,value:te,timezone:O,props:e});return!t.hasError(le)}}),ee=w.useMemo(()=>({onOpen:Y,onClose:G,open:M}),[M,G,Y]);return{open:M,fieldProps:re,viewProps:K,layoutProps:ce,actions:de,contextValue:ee}};let Rh=!1;function Vl({onChange:e,onViewChange:t,openTo:n,view:r,views:o,autoFocus:s,focusedView:l,onFocusedViewChange:c}){process.env.NODE_ENV!=="production"&&(Rh||(r!=null&&!o.includes(r)&&(console.warn(`MUI X: \`view="${r}"\` is not a valid prop.`,`It must be an element of \`views=["${o.join('", "')}"]\`.`),Rh=!0),r==null&&n!=null&&!o.includes(n)&&(console.warn(`MUI X: \`openTo="${n}"\` is not a valid prop.`,`It must be an element of \`views=["${o.join('", "')}"]\`.`),Rh=!0)));const u=w.useRef(n),f=w.useRef(o),p=w.useRef(o.includes(n)?n:o[0]),[h,g]=ro({name:"useViews",state:"view",controlled:r,default:p.current}),v=w.useRef(s?h:null),[y,m]=ro({name:"useViews",state:"focusedView",controlled:l,default:v.current});w.useEffect(()=>{(u.current&&u.current!==n||f.current&&f.current.some(D=>!o.includes(D)))&&(g(o.includes(n)?n:o[0]),f.current=o,u.current=n)},[n,g,h,o]);const C=o.indexOf(h),x=o[C-1]??null,M=o[C+1]??null,I=De((D,A)=>{m(A?D:j=>D===j?null:j),c==null||c(D,A)}),O=De(D=>{I(D,!0),D!==h&&(g(D),t&&t(D))}),T=De(()=>{M&&O(M)}),k=De((D,A,j)=>{const E=A==="finish",R=j?o.indexOf(j)<o.length-1:!!M;if(e(D,E&&R?"partial":A,j),j&&j!==h){const B=o[o.indexOf(j)+1];B&&O(B)}else E&&T()});return{view:h,setView:O,focusedView:y,setFocusedView:I,nextView:M,previousView:x,defaultView:o.includes(n)?n:o[0],goToNextView:T,setValueAndGoToNextView:k}}const P9=["className","sx"],E9=({props:e,propsFromPickerValue:t,additionalViewProps:n,autoFocusView:r,rendererInterceptor:o,fieldRef:s})=>{const{onChange:l,open:c,onClose:u}=t,{view:f,views:p,openTo:h,onViewChange:g,viewRenderers:v,timezone:y}=e,m=je(e,P9),{view:C,setView:x,defaultView:M,focusedView:I,setFocusedView:O,setValueAndGoToNextView:T}=Vl({view:f,views:p,openTo:h,onChange:l,onViewChange:g,autoFocus:r}),{hasUIView:k,viewModeLookup:D}=w.useMemo(()=>p.reduce((L,V)=>{let F;return v[V]!=null?F="UI":F="field",L.viewModeLookup[V]=F,F==="UI"&&(L.hasUIView=!0),L},{hasUIView:!1,viewModeLookup:{}}),[v,p]),A=w.useMemo(()=>p.reduce((L,V)=>v[V]!=null&&Gs(V)?L+1:L,0),[v,p]),j=D[C],E=De(()=>j==="UI"),[R,H]=w.useState(j==="UI"?C:null);return R!==C&&D[C]==="UI"&&H(C),gn(()=>{j==="field"&&c&&(u(),setTimeout(()=>{var L,V;(L=s==null?void 0:s.current)==null||L.setSelectedSections(C),(V=s==null?void 0:s.current)==null||V.focusField(C)}))},[C]),gn(()=>{if(!c)return;let L=C;j==="field"&&R!=null&&(L=R),L!==M&&D[L]==="UI"&&D[M]==="UI"&&(L=M),L!==C&&x(L),O(L,!0)},[c]),{hasUIView:k,shouldRestoreFocus:E,layoutProps:{views:p,view:R,onViewChange:x},renderCurrentView:()=>{if(R==null)return null;const L=v[R];if(L==null)return null;const V=W({},m,n,t,{views:p,timezone:y,onChange:T,view:R,onViewChange:x,focusedView:I,onFocusedViewChange:O,showViewSwitcher:A>1,timeViewsCount:A});return o?o(v,R,V):L(V)}}};function iC(){return typeof window>"u"?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?Math.abs(window.screen.orientation.angle)===90?"landscape":"portrait":window.orientation&&Math.abs(Number(window.orientation))===90?"landscape":"portrait"}const M9=(e,t)=>{const[n,r]=w.useState(iC);return gn(()=>{const s=()=>{r(iC())};return window.addEventListener("orientationchange",s),()=>{window.removeEventListener("orientationchange",s)}},[]),Zs(e,["hours","minutes","seconds"])?!1:(t||n)==="landscape"},D9=({props:e,propsFromPickerValue:t,propsFromPickerViews:n,wrapperVariant:r})=>{const{orientation:o}=e,s=M9(n.views,o),l=xn();return{layoutProps:W({},n,t,{isLandscape:s,isRtl:l,wrapperVariant:r,disabled:e.disabled,readOnly:e.readOnly})}};function k9(e){const{props:t,pickerValueResponse:n}=e;return w.useMemo(()=>({value:n.viewProps.value,open:n.open,disabled:t.disabled??!1,readOnly:t.readOnly??!1}),[n.viewProps.value,n.open,t.disabled,t.readOnly])}const sC=({props:e,valueManager:t,valueType:n,wrapperVariant:r,additionalViewProps:o,validator:s,autoFocusView:l,rendererInterceptor:c,fieldRef:u})=>{process.env.NODE_ENV!=="production"&&e.renderInput!=null&&oC(["MUI X: The `renderInput` prop has been removed in version 6.0 of the Date and Time Pickers.","You can replace it with the `textField` component slot in most cases.","For more information, please have a look at the migration guide (https://mui.com/x/migration/migration-pickers-v5/#input-renderer-required-in-v5)."]);const f=O9({props:e,valueManager:t,valueType:n,wrapperVariant:r,validator:s}),p=E9({props:e,additionalViewProps:o,autoFocusView:l,fieldRef:u,propsFromPickerValue:f.viewProps,rendererInterceptor:c}),h=D9({props:e,wrapperVariant:r,propsFromPickerValue:f.layoutProps,propsFromPickerViews:p.layoutProps}),g=k9({props:e,pickerValueResponse:f});return{open:f.open,actions:f.actions,fieldProps:f.fieldProps,renderCurrentView:p.renderCurrentView,hasUIView:p.hasUIView,shouldRestoreFocus:p.shouldRestoreFocus,layoutProps:h.layoutProps,contextValue:f.contextValue,ownerState:g}};function aC(e){return _e("MuiPickersLayout",e)}const Gr=Re("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"]),A9=["onAccept","onClear","onCancel","onSetToday","actions"];function lC(e){const{onAccept:t,onClear:n,onCancel:r,onSetToday:o,actions:s}=e,l=je(e,A9),c=Cn();if(s==null||s.length===0)return null;const u=s==null?void 0:s.map(f=>{switch(f){case"clear":return S.jsx(Rs,{onClick:n,children:c.clearButtonLabel},f);case"cancel":return S.jsx(Rs,{onClick:r,children:c.cancelButtonLabel},f);case"accept":return S.jsx(Rs,{onClick:t,children:c.okButtonLabel},f);case"today":return S.jsx(Rs,{onClick:o,children:c.todayButtonLabel},f);default:return null}});return S.jsx(hy,W({},l,{children:u}))}process.env.NODE_ENV!=="production"&&(lC.propTypes={actions:i.arrayOf(i.oneOf(["accept","cancel","clear","today"]).isRequired),disableSpacing:i.bool,onAccept:i.func.isRequired,onCancel:i.func.isRequired,onClear:i.func.isRequired,onSetToday:i.func.isRequired,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});const Ll=36,nd=2,rd=320,N9=280,od=336,cC=232,_l=48,R9=["items","changeImportance","isLandscape","onChange","isValid"],F9=["getValue"];function uC(e){const{items:t,changeImportance:n="accept",onChange:r,isValid:o}=e,s=je(e,R9);if(t==null||t.length===0)return null;const l=t.map(c=>{let{getValue:u}=c,f=je(c,F9);const p=u({isValid:o});return W({},f,{label:f.label,onClick:()=>{r(p,n,f)},disabled:!o(p)})});return S.jsx(Np,W({dense:!0,sx:[{maxHeight:od,maxWidth:200,overflow:"auto"},...Array.isArray(s.sx)?s.sx:[s.sx]]},s,{children:l.map(c=>S.jsx(Sy,{children:S.jsx(Qv,W({},c))},c.id??c.label))}))}process.env.NODE_ENV!=="production"&&(uC.propTypes={changeImportance:i.oneOf(["accept","set"]),className:i.string,component:i.elementType,dense:i.bool,disablePadding:i.bool,isLandscape:i.bool.isRequired,isValid:i.func.isRequired,items:i.arrayOf(i.shape({getValue:i.func.isRequired,id:i.string,label:i.string.isRequired})),onChange:i.func.isRequired,style:i.object,subheader:i.node,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])});function V9(e){return e.view!==null}const L9=e=>{const{classes:t,isLandscape:n}=e;return Ve({root:["root",n&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]},aC,t)},dC=e=>{const{wrapperVariant:t,onAccept:n,onClear:r,onCancel:o,onSetToday:s,view:l,views:c,onViewChange:u,value:f,onChange:p,onSelectShortcut:h,isValid:g,isLandscape:v,disabled:y,readOnly:m,children:C,slots:x,slotProps:M}=e,I=L9(e),O=(x==null?void 0:x.actionBar)??lC,T=pt({elementType:O,externalSlotProps:M==null?void 0:M.actionBar,additionalProps:{onAccept:n,onClear:r,onCancel:o,onSetToday:s,actions:t==="desktop"?[]:["cancel","accept"]},className:I.actionBar,ownerState:W({},e,{wrapperVariant:t})}),k=S.jsx(O,W({},T)),D=x==null?void 0:x.toolbar,A=pt({elementType:D,externalSlotProps:M==null?void 0:M.toolbar,additionalProps:{isLandscape:v,onChange:p,value:f,view:l,onViewChange:u,views:c,disabled:y,readOnly:m},className:I.toolbar,ownerState:W({},e,{wrapperVariant:t})}),j=V9(A)&&D?S.jsx(D,W({},A)):null,E=C,R=x==null?void 0:x.tabs,H=l&&R?S.jsx(R,W({view:l,onViewChange:u,className:I.tabs},M==null?void 0:M.tabs)):null,B=(x==null?void 0:x.shortcuts)??uC,L=pt({elementType:B,externalSlotProps:M==null?void 0:M.shortcuts,additionalProps:{isValid:g,isLandscape:v,onChange:h},className:I.shortcuts,ownerState:{isValid:g,isLandscape:v,onChange:h,wrapperVariant:t}}),V=l&&B?S.jsx(B,W({},L)):null;return{toolbar:j,content:E,tabs:H,actionBar:k,shortcuts:V}},_9=e=>{const{isLandscape:t,classes:n}=e;return Ve({root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]},aC,n)},fC=ue("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${Gr.actionBar}`]:{gridColumn:"1 / 4",gridRow:3},variants:[{props:{isLandscape:!0},style:{[`& .${Gr.toolbar}`]:{gridColumn:1,gridRow:"2 / 3"},[`.${Gr.shortcuts}`]:{gridColumn:"2 / 4",gridRow:1}}},{props:{isLandscape:!0,isRtl:!0},style:{[`& .${Gr.toolbar}`]:{gridColumn:3}}},{props:{isLandscape:!1},style:{[`& .${Gr.toolbar}`]:{gridColumn:"2 / 4",gridRow:1},[`& .${Gr.shortcuts}`]:{gridColumn:1,gridRow:"2 / 3"}}},{props:{isLandscape:!1,isRtl:!0},style:{[`& .${Gr.shortcuts}`]:{gridColumn:3}}}]}),pC=ue("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,t)=>t.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),Fh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersLayout"}),{toolbar:o,content:s,tabs:l,actionBar:c,shortcuts:u}=dC(r),{sx:f,className:p,isLandscape:h,wrapperVariant:g}=r,v=_9(r);return S.jsxs(fC,{ref:n,sx:f,className:xe(v.root,p),ownerState:r,children:[h?u:o,h?o:u,S.jsx(pC,{className:v.contentWrapper,children:g==="desktop"?S.jsxs(w.Fragment,{children:[s,l]}):S.jsxs(w.Fragment,{children:[l,s]})}),c]})});process.env.NODE_ENV!=="production"&&(Fh.propTypes={children:i.node,classes:i.object,className:i.string,disabled:i.bool,isLandscape:i.bool.isRequired,isRtl:i.bool.isRequired,isValid:i.func.isRequired,onAccept:i.func.isRequired,onCancel:i.func.isRequired,onChange:i.func.isRequired,onClear:i.func.isRequired,onClose:i.func.isRequired,onDismiss:i.func.isRequired,onOpen:i.func.isRequired,onSelectShortcut:i.func.isRequired,onSetToday:i.func.isRequired,onViewChange:i.func.isRequired,orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.any,view:i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),views:i.arrayOf(i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]).isRequired).isRequired,wrapperVariant:i.oneOf(["desktop","mobile"])});const B9=w.createContext(null);function hC(e){const{contextValue:t,localeText:n,children:r}=e;return S.jsx(B9.Provider,{value:t,children:S.jsx(Eh,{localeText:n,children:r})})}const $9=["props","getOpenDialogAriaText"],W9=["ownerState"],j9=["ownerState"],Vh=e=>{var be;let{props:t,getOpenDialogAriaText:n}=e,r=je(e,$9);const{slots:o,slotProps:s,className:l,sx:c,format:u,formatDensity:f,enableAccessibleFieldDOMStructure:p,selectedSections:h,onSelectedSectionsChange:g,timezone:v,name:y,label:m,inputRef:C,readOnly:x,disabled:M,autoFocus:I,localeText:O,reduceAnimations:T}=t,k=w.useRef(null),D=w.useRef(null),A=wr(),j=((be=s==null?void 0:s.toolbar)==null?void 0:be.hidden)??!1,{open:E,actions:R,hasUIView:H,layoutProps:B,renderCurrentView:L,shouldRestoreFocus:V,fieldProps:F,contextValue:Y,ownerState:G}=sC(W({},r,{props:t,fieldRef:D,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),U=o.inputAdornment??Op,z=pt({elementType:U,externalSlotProps:s==null?void 0:s.inputAdornment,additionalProps:{position:"end"},ownerState:t}),X=je(z,W9),de=o.openPickerButton??ci,re=pt({elementType:de,externalSlotProps:s==null?void 0:s.openPickerButton,additionalProps:{disabled:M||x,onClick:E?R.onClose:R.onOpen,"aria-label":n(F.value),edge:X.position},ownerState:t}),ie=je(re,j9),K=o.openPickerIcon,se=pt({elementType:K,externalSlotProps:s==null?void 0:s.openPickerIcon,ownerState:G}),ce=o.field,ee=pt({elementType:ce,externalSlotProps:s==null?void 0:s.field,additionalProps:W({},F,j&&{id:A},{readOnly:x,disabled:M,className:l,sx:c,format:u,formatDensity:f,enableAccessibleFieldDOMStructure:p,selectedSections:h,onSelectedSectionsChange:g,timezone:v,label:m,name:y,autoFocus:I&&!t.open,focused:E?!0:void 0},C?{inputRef:C}:{}),ownerState:t});H&&(ee.InputProps=W({},ee.InputProps,{ref:k},!t.disableOpenPicker&&{[`${X.position}Adornment`]:S.jsx(U,W({},X,{children:S.jsx(de,W({},ie,{children:S.jsx(K,W({},se))}))}))}));const te=W({textField:o.textField,clearIcon:o.clearIcon,clearButton:o.clearButton},ee.slots),le=o.layout??Fh;let pe=A;j&&(m?pe=`${A}-label`:pe=void 0);const q=W({},s,{toolbar:W({},s==null?void 0:s.toolbar,{titleId:A}),popper:W({"aria-labelledby":pe},s==null?void 0:s.popper)}),ne=Ct(D,ee.unstableFieldRef);return{renderPicker:()=>S.jsxs(hC,{contextValue:Y,localeText:O,children:[S.jsx(ce,W({},ee,{slots:te,slotProps:q,unstableFieldRef:ne})),S.jsx(w9,W({role:"dialog",placement:"bottom-start",anchorEl:k.current},R,{open:E,slots:o,slotProps:q,shouldRestoreFocus:V,reduceAnimations:T,children:S.jsx(le,W({},B,q==null?void 0:q.layout,{slots:o,slotProps:q,children:L()}))}))]})}},H9=Yt(S.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),z9=Yt(S.jsx("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),G9=Yt(S.jsx("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),mC=Yt(S.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),Y9=Yt(S.jsxs(w.Fragment,{children:[S.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),S.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),U9=Yt(S.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),X9=Yt(S.jsxs(w.Fragment,{children:[S.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),S.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),Z9=Yt(S.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear"),q9=({utils:e,format:t})=>{let n=10,r=t,o=e.expandFormat(t);for(;o!==r;)if(r=o,o=e.expandFormat(r),n-=1,n<0)throw new Error("MUI X: The format expansion seems to be in an infinite loop. Please open an issue with the format passed to the picker component.");return o},J9=({utils:e,expandedFormat:t})=>{const n=[],{start:r,end:o}=e.escapedCharacters,s=new RegExp(`(\\${r}[^\\${o}]*\\${o})+`,"g");let l=null;for(;l=s.exec(t);)n.push({start:l.index,end:s.lastIndex-1});return n},K9=(e,t,n,r)=>{switch(n.type){case"year":return t.fieldYearPlaceholder({digitAmount:e.formatByString(e.date(void 0,"default"),r).length,format:r});case"month":return t.fieldMonthPlaceholder({contentType:n.contentType,format:r});case"day":return t.fieldDayPlaceholder({format:r});case"weekDay":return t.fieldWeekDayPlaceholder({contentType:n.contentType,format:r});case"hours":return t.fieldHoursPlaceholder({format:r});case"minutes":return t.fieldMinutesPlaceholder({format:r});case"seconds":return t.fieldSecondsPlaceholder({format:r});case"meridiem":return t.fieldMeridiemPlaceholder({format:r});default:return r}},Q9=({utils:e,date:t,shouldRespectLeadingZeros:n,localeText:r,localizedDigits:o,now:s,token:l,startSeparator:c})=>{if(l==="")throw new Error("MUI X: Should not call `commitToken` with an empty token");const u=Sh(e,l),f=H1(e,u.contentType,u.type,l),p=n?f:u.contentType==="digit",h=t!=null&&e.isValid(t);let g=h?e.formatByString(t,l):"",v=null;if(p)if(f)v=g===""?e.formatByString(s,l).length:g.length;else{if(u.maxLength==null)throw new Error(`MUI X: The token ${l} should have a 'maxDigitNumber' property on it's adapter`);v=u.maxLength,h&&(g=Ih($1(Xi(g,o),v),o))}return W({},u,{format:l,maxLength:v,value:g,placeholder:K9(e,r,u,l),hasLeadingZerosInFormat:f,hasLeadingZerosInInput:p,startSeparator:c,endSeparator:"",modified:!1})},eV=e=>{var v;const{utils:t,expandedFormat:n,escapedParts:r}=e,o=t.date(void 0),s=[];let l="";const c=Object.keys(t.formatTokenMap).sort((y,m)=>m.length-y.length),u=/^([a-zA-Z]+)/,f=new RegExp(`^(${c.join("|")})*$`),p=new RegExp(`^(${c.join("|")})`),h=y=>r.find(m=>m.start<=y&&m.end>=y);let g=0;for(;g<n.length;){const y=h(g),m=y!=null,C=(v=u.exec(n.slice(g)))==null?void 0:v[1];if(!m&&C!=null&&f.test(C)){let x=C;for(;x.length>0;){const M=p.exec(x)[1];x=x.slice(M.length),s.push(Q9(W({},e,{now:o,token:M,startSeparator:l}))),l=""}g+=C.length}else{const x=n[g];m&&(y==null?void 0:y.start)===g||(y==null?void 0:y.end)===g||(s.length===0?l+=x:s[s.length-1].endSeparator+=x),g+=1}}return s.length===0&&l.length>0&&s.push({type:"empty",contentType:"letter",maxLength:null,format:"",value:"",placeholder:"",hasLeadingZerosInFormat:!1,hasLeadingZerosInInput:!1,startSeparator:l,endSeparator:"",modified:!1}),s},tV=({isRtl:e,formatDensity:t,sections:n})=>n.map(r=>{const o=s=>{let l=s;return e&&l!==null&&l.includes(" ")&&(l=`⁩${l}⁦`),t==="spacious"&&["/",".","-"].includes(l)&&(l=` ${l} `),l};return r.startSeparator=o(r.startSeparator),r.endSeparator=o(r.endSeparator),r}),gC=e=>{let t=q9(e);e.isRtl&&e.enableAccessibleFieldDOMStructure&&(t=t.split(" ").reverse().join(" "));const n=J9(W({},e,{expandedFormat:t})),r=eV(W({},e,{expandedFormat:t,escapedParts:n}));return tV(W({},e,{sections:r}))},nV=e=>{const t=lt(),n=Cn(),r=Zi(),o=xn(),{valueManager:s,fieldValueManager:l,valueType:c,validator:u,internalProps:f,internalProps:{value:p,defaultValue:h,referenceDate:g,onChange:v,format:y,formatDensity:m="dense",selectedSections:C,onSelectedSectionsChange:x,shouldRespectLeadingZeros:M=!1,timezone:I,enableAccessibleFieldDOMStructure:O=!1}}=e,{timezone:T,value:k,handleValueChange:D}=Nh({timezone:I,value:p,defaultValue:h,referenceDate:g,onChange:v,valueManager:s}),A=w.useMemo(()=>L3(t),[t]),j=w.useMemo(()=>H3(t,A,T),[t,A,T]),E=w.useCallback((K,se=null)=>l.getSectionsFromValue(t,K,se,ce=>gC({utils:t,localeText:n,localizedDigits:A,format:y,date:ce,formatDensity:m,shouldRespectLeadingZeros:M,enableAccessibleFieldDOMStructure:O,isRtl:o})),[l,y,n,A,o,M,t,m,O]),[R,H]=w.useState(()=>{const K=E(k);G1(K,c);const se={sections:K,value:k,referenceValue:s.emptyValue,tempValueStrAndroid:null},ce=N3(K),ee=s.getInitialReferenceValue({referenceDate:g,value:k,utils:t,props:f,granularity:ce,timezone:T});return W({},se,{referenceValue:ee})}),[B,L]=ro({controlled:C,default:null,name:"useField",state:"selectedSections"}),V=K=>{L(K),x==null||x(K)},F=w.useMemo(()=>Oh(B,R.sections),[B,R.sections]),Y=F==="all"?0:F,G=({value:K,referenceValue:se,sections:ce})=>{if(H(te=>W({},te,{sections:ce,value:K,referenceValue:se,tempValueStrAndroid:null})),s.areValuesEqual(t,R.value,K))return;const ee={validationError:u({adapter:r,value:K,timezone:T,props:f})};D(K,ee)},U=(K,se)=>{const ce=[...R.sections];return ce[K]=W({},ce[K],{value:se,modified:!0}),ce},z=()=>{G({value:s.emptyValue,referenceValue:R.referenceValue,sections:E(s.emptyValue)})},X=()=>{if(Y==null)return;const K=R.sections[Y],se=l.getActiveDateManager(t,R,K),ee=se.getSections(R.sections).filter(q=>q.value!=="").length===(K.value===""?0:1),te=U(Y,""),le=ee?null:t.getInvalidDate(),pe=se.getNewValuesFromNewActiveDate(le);G(W({},pe,{sections:te}))},de=K=>{const se=(te,le)=>{const pe=t.parse(te,y);if(pe==null||!t.isValid(pe))return null;const q=gC({utils:t,localeText:n,localizedDigits:A,format:y,date:pe,formatDensity:m,shouldRespectLeadingZeros:M,enableAccessibleFieldDOMStructure:O,isRtl:o});return U1(t,pe,q,le,!1)},ce=l.parseValueStr(K,R.referenceValue,se),ee=l.updateReferenceValue(t,ce,R.referenceValue);G({value:ce,referenceValue:ee,sections:E(ce,R.sections)})},re=({activeSection:K,newSectionValue:se,shouldGoToNextSection:ce})=>{ce&&Y<R.sections.length-1&&V(Y+1);const ee=l.getActiveDateManager(t,R,K),te=U(Y,se),le=ee.getSections(te),pe=$3(t,le,A);let q,ne;if(pe!=null&&t.isValid(pe)){const fe=U1(t,pe,le,ee.referenceDate,!0);q=ee.getNewValuesFromNewActiveDate(fe),ne=!0}else q=ee.getNewValuesFromNewActiveDate(pe),ne=(pe!=null&&!t.isValid(pe))!=(ee.date!=null&&!t.isValid(ee.date));return ne?G(W({},q,{sections:te})):H(fe=>W({},fe,q,{sections:te,tempValueStrAndroid:null}))},ie=K=>H(se=>W({},se,{tempValueStrAndroid:K}));return w.useEffect(()=>{const K=E(R.value);G1(K,c),H(se=>W({},se,{sections:K}))},[y,t.locale,o]),w.useEffect(()=>{let K;s.areValuesEqual(t,R.value,k)?K=s.getTimezone(t,R.value)!==s.getTimezone(t,k):K=!0,K&&H(se=>W({},se,{value:k,referenceValue:l.updateReferenceValue(t,k,se.referenceValue),sections:E(k)}))},[k]),{state:R,activeSectionIndex:Y,parsedSelectedSections:F,setSelectedSections:V,clearValue:z,clearActiveSection:X,updateSectionValue:re,updateValueFromValueStr:de,setTempAndroidValueStr:ie,getSectionsFromValue:E,sectionsValueBoundaries:j,localizedDigits:A,timezone:T}},rV=5e3,Ks=e=>e.saveQuery!=null,oV=({sections:e,updateSectionValue:t,sectionsValueBoundaries:n,localizedDigits:r,setTempAndroidValueStr:o,timezone:s})=>{const l=lt(),[c,u]=w.useState(null),f=De(()=>u(null));w.useEffect(()=>{var y;c!=null&&((y=e[c.sectionIndex])==null?void 0:y.type)!==c.sectionType&&f()},[e,c,f]),w.useEffect(()=>{if(c!=null){const y=setTimeout(()=>f(),rV);return()=>{clearTimeout(y)}}return()=>{}},[c,f]);const p=({keyPressed:y,sectionIndex:m},C,x)=>{const M=y.toLowerCase(),I=e[m];if(c!=null&&(!x||x(c.value))&&c.sectionIndex===m){const T=`${c.value}${M}`,k=C(T,I);if(!Ks(k))return u({sectionIndex:m,value:T,sectionType:I.type}),k}const O=C(M,I);return Ks(O)&&!O.saveQuery?(f(),null):(u({sectionIndex:m,value:M,sectionType:I.type}),Ks(O)?null:O)},h=y=>{const m=(M,I,O)=>{const T=I.filter(k=>k.toLowerCase().startsWith(O));return T.length===0?{saveQuery:!1}:{sectionValue:T[0],shouldGoToNextSection:T.length===1}},C=(M,I,O,T)=>{const k=D=>L1(l,s,I.type,D);if(I.contentType==="letter")return m(I.format,k(I.format),M);if(O&&T!=null&&Sh(l,O).contentType==="letter"){const D=k(O),A=m(O,D,M);return Ks(A)?{saveQuery:!1}:W({},A,{sectionValue:T(A.sectionValue,D)})}return{saveQuery:!1}};return p(y,(M,I)=>{switch(I.type){case"month":{const O=T=>j1(l,T,l.formats.month,I.format);return C(M,I,l.formats.month,O)}case"weekDay":{const O=(T,k)=>k.indexOf(T).toString();return C(M,I,l.formats.weekday,O)}case"meridiem":return C(M,I);default:return{saveQuery:!1}}})},g=y=>{const m=(x,M)=>{const I=Xi(x,r),O=Number(I),T=n[M.type]({currentDate:null,format:M.format,contentType:M.contentType});if(O>T.maximum)return{saveQuery:!1};if(O<T.minimum)return{saveQuery:!0};const k=O*10>T.maximum||I.length===T.maximum.toString().length;return{sectionValue:W1(l,O,T,r,M),shouldGoToNextSection:k}};return p(y,(x,M)=>{if(M.contentType==="digit"||M.contentType==="digit-with-letter")return m(x,M);if(M.type==="month"){H1(l,"digit","month","MM");const I=m(x,{type:M.type,format:"MM",hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(Ks(I))return I;const O=j1(l,I.sectionValue,"MM",M.format);return W({},I,{sectionValue:O})}if(M.type==="weekDay"){const I=m(x,M);if(Ks(I))return I;const O=Ku(l,M.format)[Number(I.sectionValue)-1];return W({},I,{sectionValue:O})}return{saveQuery:!1}},x=>B1(x,r))};return{applyCharacterEditing:De(y=>{const m=e[y.sectionIndex],x=B1(y.keyPressed,r)?g(W({},y,{keyPressed:Ih(y.keyPressed,r)})):h(y);if(x==null){o(null);return}t({activeSection:m,newSectionValue:x.sectionValue,shouldGoToNextSection:x.shouldGoToNextSection})}),resetCharacterQuery:f}},iV=e=>{const{internalProps:{disabled:t,readOnly:n=!1},forwardedProps:{sectionListRef:r,onBlur:o,onClick:s,onFocus:l,onInput:c,onPaste:u,focused:f,autoFocus:p=!1},fieldValueManager:h,applyCharacterEditing:g,resetCharacterQuery:v,setSelectedSections:y,parsedSelectedSections:m,state:C,clearActiveSection:x,clearValue:M,updateSectionValue:I,updateValueFromValueStr:O,sectionOrder:T,areAllSectionsEmpty:k,sectionsValueBoundaries:D}=e,A=w.useRef(null),j=Ct(r,A),E=Cn(),R=lt(),H=wr(),[B,L]=w.useState(!1),V=w.useMemo(()=>({syncSelectionToDOM:()=>{if(!A.current)return;const ne=document.getSelection();if(!ne)return;if(m==null){ne.rangeCount>0&&A.current.getRoot().contains(ne.getRangeAt(0).startContainer)&&ne.removeAllRanges(),B&&A.current.getRoot().blur();return}if(!A.current.getRoot().contains(Yn(document)))return;const fe=new window.Range;let be;m==="all"?be=A.current.getRoot():C.sections[m].type==="empty"?be=A.current.getSectionContainer(m):be=A.current.getSectionContent(m),fe.selectNodeContents(be),be.focus(),ne.removeAllRanges(),ne.addRange(fe)},getActiveSectionIndexFromDOM:()=>{const ne=Yn(document);return!ne||!A.current||!A.current.getRoot().contains(ne)?null:A.current.getSectionIndexFromDOMElement(ne)},focusField:(ne=0)=>{if(!A.current||V.getActiveSectionIndexFromDOM()!=null)return;const fe=Oh(ne,C.sections);L(!0),A.current.getSectionContent(fe).focus()},setSelectedSections:ne=>{if(!A.current)return;const fe=Oh(ne,C.sections);L((fe==="all"?0:fe)!==null),y(ne)},isFieldFocused:()=>{const ne=Yn(document);return!!A.current&&A.current.getRoot().contains(ne)}}),[m,y,C.sections,B]),F=De(ne=>{if(!A.current)return;const fe=C.sections[ne];A.current.getSectionContent(ne).innerHTML=fe.value||fe.placeholder,V.syncSelectionToDOM()}),Y=De((ne,...fe)=>{ne.isDefaultPrevented()||!A.current||(L(!0),s==null||s(ne,...fe),m==="all"?setTimeout(()=>{const be=document.getSelection().getRangeAt(0).startOffset;if(be===0){y(T.startIndex);return}let ve=0,he=0;for(;he<be&&ve<C.sections.length;){const ge=C.sections[ve];ve+=1,he+=`${ge.startSeparator}${ge.value||ge.placeholder}${ge.endSeparator}`.length}y(ve-1)}):B?A.current.getRoot().contains(ne.target)||y(T.startIndex):(L(!0),y(T.startIndex)))}),G=De(ne=>{if(c==null||c(ne),!A.current||m!=="all")return;const be=ne.target.textContent??"";A.current.getRoot().innerHTML=C.sections.map(ve=>`${ve.startSeparator}${ve.value||ve.placeholder}${ve.endSeparator}`).join(""),V.syncSelectionToDOM(),be.length===0||be.charCodeAt(0)===10?(v(),M(),y("all")):be.length>1?O(be):(m==="all"&&y(0),g({keyPressed:be,sectionIndex:0}))}),U=De(ne=>{if(u==null||u(ne),n||m!=="all"){ne.preventDefault();return}const fe=ne.clipboardData.getData("text");ne.preventDefault(),v(),O(fe)}),z=De((...ne)=>{if(l==null||l(...ne),B||!A.current)return;L(!0),A.current.getSectionIndexFromDOMElement(Yn(document))!=null||y(T.startIndex)}),X=De((...ne)=>{o==null||o(...ne),setTimeout(()=>{if(!A.current)return;const fe=Yn(document);!A.current.getRoot().contains(fe)&&(L(!1),y(null))})}),de=De(ne=>fe=>{fe.isDefaultPrevented()||y(ne)}),re=De(ne=>{ne.preventDefault()}),ie=De(ne=>()=>{y(ne)}),K=De(ne=>{if(ne.preventDefault(),n||t||typeof m!="number")return;const fe=C.sections[m],be=ne.clipboardData.getData("text"),ve=/^[a-zA-Z]+$/.test(be),he=/^[0-9]+$/.test(be),ge=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(be);fe.contentType==="letter"&&ve||fe.contentType==="digit"&&he||fe.contentType==="digit-with-letter"&&ge?(v(),I({activeSection:fe,newSectionValue:be,shouldGoToNextSection:!0})):!ve&&!he&&(v(),O(be))}),se=De(ne=>{ne.preventDefault(),ne.dataTransfer.dropEffect="none"}),ce=De(ne=>{if(!A.current)return;const fe=ne.target,be=fe.textContent??"",ve=A.current.getSectionIndexFromDOMElement(fe),he=C.sections[ve];if(n||!A.current){F(ve);return}if(be.length===0){if(he.value===""){F(ve);return}const ge=ne.nativeEvent.inputType;if(ge==="insertParagraph"||ge==="insertLineBreak"){F(ve);return}v(),x();return}g({keyPressed:be,sectionIndex:ve}),F(ve)});gn(()=>{if(!(!B||!A.current)){if(m==="all")A.current.getRoot().focus();else if(typeof m=="number"){const ne=A.current.getSectionContent(m);ne&&ne.focus()}}},[m,B]);const ee=w.useMemo(()=>C.sections.reduce((ne,fe)=>(ne[fe.type]=D[fe.type]({currentDate:null,contentType:fe.contentType,format:fe.format}),ne),{}),[D,C.sections]),te=m==="all",le=w.useMemo(()=>C.sections.map((ne,fe)=>{const be=!te&&!t&&!n;return{container:{"data-sectionindex":fe,onClick:de(fe)},content:{tabIndex:te||fe>0?-1:0,contentEditable:!te&&!t&&!n,role:"spinbutton",id:`${H}-${ne.type}`,"aria-labelledby":`${H}-${ne.type}`,"aria-readonly":n,"aria-valuenow":X3(ne,R),"aria-valuemin":ee[ne.type].minimum,"aria-valuemax":ee[ne.type].maximum,"aria-valuetext":ne.value?U3(ne,R):E.empty,"aria-label":E[ne.type],"aria-disabled":t,spellCheck:be?!1:void 0,autoCapitalize:be?"off":void 0,autoCorrect:be?"off":void 0,[parseInt(w.version,10)>=17?"enterKeyHint":"enterkeyhint"]:be?"next":void 0,children:ne.value||ne.placeholder,onInput:ce,onPaste:K,onFocus:ie(fe),onDragOver:se,onMouseUp:re,inputMode:ne.contentType==="letter"?"text":"numeric"},before:{children:ne.startSeparator},after:{children:ne.endSeparator}}}),[C.sections,ie,K,se,ce,de,re,t,n,te,E,R,ee,H]),pe=De(ne=>{O(ne.target.value)}),q=w.useMemo(()=>k?"":h.getV7HiddenInputValueFromSections(C.sections),[k,C.sections,h]);return w.useEffect(()=>{if(A.current==null)throw new Error(["MUI X: The `sectionListRef` prop has not been initialized by `PickersSectionList`","You probably tried to pass a component to the `textField` slot that contains an `<input />` element instead of a `PickersSectionList`.","","If you want to keep using an `<input />` HTML element for the editing, please remove the `enableAccessibleFieldDOMStructure` prop from your picker or field component:","","<DatePicker slots={{ textField: MyCustomTextField }} />","","Learn more about the field accessible DOM structure on the MUI documentation: https://mui.com/x/react-date-pickers/fields/#fields-to-edit-a-single-element"].join(`
562
- `));p&&A.current&&A.current.getSectionContent(T.startIndex).focus()},[]),{interactions:V,returnedValue:{autoFocus:p,readOnly:n,focused:f??B,sectionListRef:j,onBlur:X,onClick:Y,onFocus:z,onInput:G,onPaste:U,enableAccessibleFieldDOMStructure:!0,elements:le,tabIndex:m===0?-1:0,contentEditable:te,value:q,onChange:pe,areAllSectionsEmpty:k}}},Qs=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),sV=(e,t,n)=>{let r=0,o=n?1:0;const s=[];for(let l=0;l<e.length;l+=1){const c=e[l],u=Th(c,n?"input-rtl":"input-ltr",t),f=`${c.startSeparator}${u}${c.endSeparator}`,p=Qs(f).length,h=f.length,g=Qs(u),v=o+(g===""?0:u.indexOf(g[0]))+c.startSeparator.length,y=v+g.length;s.push(W({},c,{start:r,end:r+p,startInInput:v,endInInput:y})),r+=p,o+=h}return s},aV=e=>{const t=xn(),n=w.useRef(void 0),r=w.useRef(void 0),{forwardedProps:{onFocus:o,onClick:s,onPaste:l,onBlur:c,inputRef:u,placeholder:f},internalProps:{readOnly:p=!1,disabled:h=!1},parsedSelectedSections:g,activeSectionIndex:v,state:y,fieldValueManager:m,valueManager:C,applyCharacterEditing:x,resetCharacterQuery:M,updateSectionValue:I,updateValueFromValueStr:O,clearActiveSection:T,clearValue:k,setTempAndroidValueStr:D,setSelectedSections:A,getSectionsFromValue:j,areAllSectionsEmpty:E,localizedDigits:R}=e,H=w.useRef(null),B=Ct(u,H),L=w.useMemo(()=>sV(y.sections,R,t),[y.sections,R,t]),V=w.useMemo(()=>({syncSelectionToDOM:()=>{if(!H.current)return;if(g==null){H.current.scrollLeft&&(H.current.scrollLeft=0);return}if(H.current!==Yn(document))return;const ce=H.current.scrollTop;if(g==="all")H.current.select();else{const ee=L[g],te=ee.type==="empty"?ee.startInInput-ee.startSeparator.length:ee.startInInput,le=ee.type==="empty"?ee.endInInput+ee.endSeparator.length:ee.endInInput;(te!==H.current.selectionStart||le!==H.current.selectionEnd)&&H.current===Yn(document)&&H.current.setSelectionRange(te,le),clearTimeout(r.current),r.current=setTimeout(()=>{H.current&&H.current===Yn(document)&&H.current.selectionStart===H.current.selectionEnd&&(H.current.selectionStart!==te||H.current.selectionEnd!==le)&&V.syncSelectionToDOM()})}H.current.scrollTop=ce},getActiveSectionIndexFromDOM:()=>{const ce=H.current.selectionStart??0,ee=H.current.selectionEnd??0;if(ce===0&&ee===0)return null;const te=ce<=L[0].startInInput?1:L.findIndex(le=>le.startInInput-le.startSeparator.length>ce);return te===-1?L.length-1:te-1},focusField:(ce=0)=>{var ee;Yn(document)!==H.current&&((ee=H.current)==null||ee.focus(),A(ce))},setSelectedSections:ce=>A(ce),isFieldFocused:()=>H.current===Yn(document)}),[H,g,L,A]),F=()=>{const ce=H.current.selectionStart??0;let ee;ce<=L[0].startInInput||ce>=L[L.length-1].endInInput?ee=1:ee=L.findIndex(le=>le.startInInput-le.startSeparator.length>ce);const te=ee===-1?L.length-1:ee-1;A(te)},Y=De((...ce)=>{o==null||o(...ce);const ee=H.current;clearTimeout(n.current),n.current=setTimeout(()=>{!ee||ee!==H.current||v==null&&(ee.value.length&&Number(ee.selectionEnd)-Number(ee.selectionStart)===ee.value.length?A("all"):F())})}),G=De((ce,...ee)=>{ce.isDefaultPrevented()||(s==null||s(ce,...ee),F())}),U=De(ce=>{if(l==null||l(ce),ce.preventDefault(),p||h)return;const ee=ce.clipboardData.getData("text");if(typeof g=="number"){const te=y.sections[g],le=/^[a-zA-Z]+$/.test(ee),pe=/^[0-9]+$/.test(ee),q=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(ee);if(te.contentType==="letter"&&le||te.contentType==="digit"&&pe||te.contentType==="digit-with-letter"&&q){M(),I({activeSection:te,newSectionValue:ee,shouldGoToNextSection:!0});return}if(le||pe)return}M(),O(ee)}),z=De((...ce)=>{c==null||c(...ce),A(null)}),X=De(ce=>{if(p)return;const ee=ce.target.value;if(ee===""){M(),k();return}const te=ce.nativeEvent.data,le=te&&te.length>1,pe=le?te:ee,q=Qs(pe);if(g==="all"&&A(v),v==null||le){O(le?te:q);return}let ne;if(g==="all"&&q.length===1)ne=q;else{const fe=Qs(m.getV6InputValueFromSections(L,R,t));let be=-1,ve=-1;for(let Te=0;Te<fe.length;Te+=1)be===-1&&fe[Te]!==q[Te]&&(be=Te),ve===-1&&fe[fe.length-Te-1]!==q[q.length-Te-1]&&(ve=Te);const he=L[v];if(be<he.start||fe.length-ve-1>he.end)return;const Ce=q.length-fe.length+he.end-Qs(he.endSeparator||"").length;ne=q.slice(he.start+Qs(he.startSeparator||"").length,Ce)}if(ne.length===0){G3()&&D(pe),M(),T();return}x({keyPressed:ne,sectionIndex:v})}),de=w.useMemo(()=>f!==void 0?f:m.getV6InputValueFromSections(j(C.emptyValue),R,t),[f,m,j,C.emptyValue,R,t]),re=w.useMemo(()=>y.tempValueStrAndroid??m.getV6InputValueFromSections(y.sections,R,t),[y.sections,m,y.tempValueStrAndroid,R,t]);w.useEffect(()=>(H.current&&H.current===Yn(document)&&A("all"),()=>{clearTimeout(n.current),clearTimeout(r.current)}),[]);const ie=w.useMemo(()=>v==null||y.sections[v].contentType==="letter"?"text":"numeric",[v,y.sections]),se=!(H.current&&H.current===Yn(document))&&E;return{interactions:V,returnedValue:{readOnly:p,onBlur:z,onClick:G,onFocus:Y,onPaste:U,inputRef:B,enableAccessibleFieldDOMStructure:!1,placeholder:de,inputMode:ie,autoComplete:"off",value:se?"":re,onChange:X}}},Lh=e=>{const t=lt(),{internalProps:n,internalProps:{unstableFieldRef:r,minutesStep:o,enableAccessibleFieldDOMStructure:s=!1,disabled:l=!1,readOnly:c=!1},forwardedProps:{onKeyDown:u,error:f,clearable:p,onClear:h},fieldValueManager:g,valueManager:v,validator:y}=e,m=xn(),C=nV(e),{state:x,activeSectionIndex:M,parsedSelectedSections:I,setSelectedSections:O,clearValue:T,clearActiveSection:k,updateSectionValue:D,setTempAndroidValueStr:A,sectionsValueBoundaries:j,localizedDigits:E,timezone:R}=C,H=oV({sections:x.sections,updateSectionValue:D,sectionsValueBoundaries:j,localizedDigits:E,setTempAndroidValueStr:A,timezone:R}),{resetCharacterQuery:B}=H,L=v.areValuesEqual(t,x.value,v.emptyValue),V=s?iV:aV,F=w.useMemo(()=>Y3(x.sections,m&&!s),[x.sections,m,s]),{returnedValue:Y,interactions:G}=V(W({},e,C,H,{areAllSectionsEmpty:L,sectionOrder:F})),U=De(K=>{if(u==null||u(K),!l)switch(!0){case((K.ctrlKey||K.metaKey)&&String.fromCharCode(K.keyCode)==="A"&&!K.shiftKey&&!K.altKey):{K.preventDefault(),O("all");break}case K.key==="ArrowRight":{if(K.preventDefault(),I==null)O(F.startIndex);else if(I==="all")O(F.endIndex);else{const se=F.neighbors[I].rightIndex;se!==null&&O(se)}break}case K.key==="ArrowLeft":{if(K.preventDefault(),I==null)O(F.endIndex);else if(I==="all")O(F.startIndex);else{const se=F.neighbors[I].leftIndex;se!==null&&O(se)}break}case K.key==="Delete":{if(K.preventDefault(),c)break;I==null||I==="all"?T():k(),B();break}case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(K.key):{if(K.preventDefault(),c||M==null)break;I==="all"&&O(M);const se=x.sections[M],ce=g.getActiveDateManager(t,x,se),ee=_3(t,R,se,K.key,j,E,ce.date,{minutesStep:o});D({activeSection:se,newSectionValue:ee,shouldGoToNextSection:!1});break}}});gn(()=>{G.syncSelectionToDOM()});const{hasValidationError:z}=Q1({props:n,validator:y,timezone:R,value:x.value,onError:n.onError}),X=w.useMemo(()=>f!==void 0?f:z,[z,f]);w.useEffect(()=>{!X&&M==null&&B()},[x.referenceValue,M,X]),w.useEffect(()=>{x.tempValueStrAndroid!=null&&M!=null&&(B(),k())},[x.sections]),w.useImperativeHandle(r,()=>({getSections:()=>x.sections,getActiveSectionIndex:G.getActiveSectionIndexFromDOM,setSelectedSections:G.setSelectedSections,focusField:G.focusField,isFieldFocused:G.isFieldFocused}));const de=De((K,...se)=>{K.preventDefault(),h==null||h(K,...se),T(),G.isFieldFocused()?O(F.startIndex):G.focusField(0)}),re={onKeyDown:U,onClear:de,error:X,clearable:!!(p&&!L&&!c&&!l)},ie={disabled:l,readOnly:c};return W({},e.forwardedProps,re,ie,Y)},lV=["clearable","onClear","InputProps","sx","slots","slotProps"],cV=["ownerState"],_h=e=>{const t=Cn(),{clearable:n,onClear:r,InputProps:o,sx:s,slots:l,slotProps:c}=e,u=je(e,lV),f=(l==null?void 0:l.clearButton)??ci,p=pt({elementType:f,externalSlotProps:c==null?void 0:c.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:t.fieldClearLabel}}),h=je(p,cV),g=(l==null?void 0:l.clearIcon)??Z9,v=pt({elementType:g,externalSlotProps:c==null?void 0:c.clearIcon,ownerState:{}});return W({},u,{InputProps:W({},o,{endAdornment:S.jsxs(w.Fragment,{children:[n&&S.jsx(Op,{position:"end",sx:{marginRight:o!=null&&o.endAdornment?-1:-1.5},children:S.jsx(f,W({},h,{onClick:r,children:S.jsx(g,W({fontSize:"small"},v))}))}),o==null?void 0:o.endAdornment]})}),sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(s)?s:[s]]})},uV=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef","enableAccessibleFieldDOMStructure","disabled","readOnly","dateSeparator"],Bh=(e,t)=>w.useMemo(()=>{const n=W({},e),r={},o=s=>{n.hasOwnProperty(s)&&(r[s]=n[s],delete n[s])};return uV.forEach(o),t==="date"?Dh.forEach(o):t==="time"?kh.forEach(o):t==="date-time"&&(Dh.forEach(o),kh.forEach(o),K1.forEach(o)),{forwardedProps:n,internalProps:r}},[e,t]),dV=e=>{const t=lt(),n=qi();return W({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??t.formats.keyboardDate,minDate:Wn(t,e.minDate,n.minDate),maxDate:Wn(t,e.maxDate,n.maxDate)})},fV=e=>{const t=lt(),r=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.fullTime12h:t.formats.fullTime24h;return W({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??r})},pV=e=>{const t=lt(),n=qi(),o=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.keyboardDateTime12h:t.formats.keyboardDateTime24h;return W({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??o,disableIgnoringDatePartForTimeValidation:!!(e.minDateTime||e.maxDateTime),minDate:Wn(t,e.minDateTime??e.minDate,n.minDate),maxDate:Wn(t,e.maxDateTime??e.maxDate,n.maxDate),minTime:e.minDateTime??e.minTime,maxTime:e.maxDateTime??e.maxTime})},hV=e=>{const t=dV(e),{forwardedProps:n,internalProps:r}=Bh(t,"date");return Lh({forwardedProps:n,internalProps:r,valueManager:fn,fieldValueManager:Ph,validator:Us,valueType:"date"})};function mV(e){return _e("MuiPickersTextField",e)}Re("MuiPickersTextField",["root","focused","disabled","error","required"]);function gV(e){return _e("MuiPickersInputBase",e)}const ea=Re("MuiPickersInputBase",["root","focused","disabled","error","notchedOutline","sectionContent","sectionBefore","sectionAfter","adornedStart","adornedEnd","input"]);function bV(e){return _e("MuiPickersSectionList",e)}const Bl=Re("MuiPickersSectionList",["root","section","sectionContent"]),vV=["slots","slotProps","elements","sectionListRef"],bC=ue("div",{name:"MuiPickersSectionList",slot:"Root",overridesResolver:(e,t)=>t.root})({direction:"ltr /*! @noflip */",outline:"none"}),vC=ue("span",{name:"MuiPickersSectionList",slot:"Section",overridesResolver:(e,t)=>t.section})({}),yC=ue("span",{name:"MuiPickersSectionList",slot:"SectionSeparator",overridesResolver:(e,t)=>t.sectionSeparator})({whiteSpace:"pre"}),CC=ue("span",{name:"MuiPickersSectionList",slot:"SectionContent",overridesResolver:(e,t)=>t.sectionContent})({outline:"none"}),yV=e=>{const{classes:t}=e;return Ve({root:["root"],section:["section"],sectionContent:["sectionContent"]},bV,t)};function wC(e){const{slots:t,slotProps:n,element:r,classes:o}=e,s=(t==null?void 0:t.section)??vC,l=pt({elementType:s,externalSlotProps:n==null?void 0:n.section,externalForwardedProps:r.container,className:o.section,ownerState:{}}),c=(t==null?void 0:t.sectionContent)??CC,u=pt({elementType:c,externalSlotProps:n==null?void 0:n.sectionContent,externalForwardedProps:r.content,additionalProps:{suppressContentEditableWarning:!0},className:o.sectionContent,ownerState:{}}),f=(t==null?void 0:t.sectionSeparator)??yC,p=pt({elementType:f,externalSlotProps:n==null?void 0:n.sectionSeparator,externalForwardedProps:r.before,ownerState:{position:"before"}}),h=pt({elementType:f,externalSlotProps:n==null?void 0:n.sectionSeparator,externalForwardedProps:r.after,ownerState:{position:"after"}});return S.jsxs(s,W({},l,{children:[S.jsx(f,W({},p)),S.jsx(c,W({},u)),S.jsx(f,W({},h))]}))}process.env.NODE_ENV!=="production"&&(wC.propTypes={classes:i.object.isRequired,element:i.shape({after:i.object.isRequired,before:i.object.isRequired,container:i.object.isRequired,content:i.object.isRequired}).isRequired,slotProps:i.object,slots:i.object});const xC=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersSectionList"}),{slots:o,slotProps:s,elements:l,sectionListRef:c}=r,u=je(r,vV),f=yV(r),p=w.useRef(null),h=Ct(n,p),g=m=>{if(!p.current)throw new Error(`MUI X: Cannot call sectionListRef.${m} before the mount of the component.`);return p.current};w.useImperativeHandle(c,()=>({getRoot(){return g("getRoot")},getSectionContainer(m){return g("getSectionContainer").querySelector(`.${Bl.section}[data-sectionindex="${m}"]`)},getSectionContent(m){return g("getSectionContent").querySelector(`.${Bl.section}[data-sectionindex="${m}"] .${Bl.sectionContent}`)},getSectionIndexFromDOMElement(m){const C=g("getSectionIndexFromDOMElement");if(m==null||!C.contains(m))return null;let x=null;return m.classList.contains(Bl.section)?x=m:m.classList.contains(Bl.sectionContent)&&(x=m.parentElement),x==null?null:Number(x.dataset.sectionindex)}}));const v=(o==null?void 0:o.root)??bC,y=pt({elementType:v,externalSlotProps:s==null?void 0:s.root,externalForwardedProps:u,additionalProps:{ref:h,suppressContentEditableWarning:!0},className:f.root,ownerState:{}});return S.jsx(v,W({},y,{children:y.contentEditable?l.map(({content:m,before:C,after:x})=>`${C.children}${m.children}${x.children}`).join(""):S.jsx(w.Fragment,{children:l.map((m,C)=>S.jsx(wC,{slots:o,slotProps:s,element:m,classes:f},C))})}))});process.env.NODE_ENV!=="production"&&(xC.propTypes={classes:i.object,contentEditable:i.bool.isRequired,elements:i.arrayOf(i.shape({after:i.object.isRequired,before:i.object.isRequired,container:i.object.isRequired,content:i.object.isRequired})).isRequired,sectionListRef:i.oneOfType([i.func,i.shape({current:i.shape({getRoot:i.func.isRequired,getSectionContainer:i.func.isRequired,getSectionContent:i.func.isRequired,getSectionIndexFromDOMElement:i.func.isRequired})})]),slotProps:i.object,slots:i.object});const CV=["elements","areAllSectionsEmpty","defaultValue","label","value","onChange","id","autoFocus","endAdornment","startAdornment","renderSuffix","slots","slotProps","contentEditable","tabIndex","onInput","onPaste","onKeyDown","fullWidth","name","readOnly","inputProps","inputRef","sectionListRef"],wV=e=>Math.round(e*1e5)/1e5,id=ue("div",{name:"MuiPickersInputBase",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>W({},e.typography.body1,{color:(e.vars||e).palette.text.primary,cursor:"text",padding:0,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",boxSizing:"border-box",letterSpacing:`${wV(.15/16)}em`,variants:[{props:{fullWidth:!0},style:{width:"100%"}}]})),$h=ue(bC,{name:"MuiPickersInputBase",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})(({theme:e})=>({padding:"4px 0 5px",fontFamily:e.typography.fontFamily,fontSize:"inherit",lineHeight:"1.4375em",flexGrow:1,outline:"none",display:"flex",flexWrap:"nowrap",overflow:"hidden",letterSpacing:"inherit",width:"182px",variants:[{props:{isRtl:!0},style:{textAlign:"right /*! @noflip */"}},{props:{size:"small"},style:{paddingTop:1}},{props:{adornedStart:!1,focused:!1,filled:!1},style:{color:"currentColor",opacity:0}},{props:({adornedStart:t,focused:n,filled:r,label:o})=>!t&&!n&&!r&&o==null,style:e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:e.palette.mode==="light"?.42:.5}}]})),xV=ue(vC,{name:"MuiPickersInputBase",slot:"Section",overridesResolver:(e,t)=>t.section})(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit",letterSpacing:"inherit",lineHeight:"1.4375em",display:"inline-block",whiteSpace:"nowrap"})),SV=ue(CC,{name:"MuiPickersInputBase",slot:"SectionContent",overridesResolver:(e,t)=>t.content})(({theme:e})=>({fontFamily:e.typography.fontFamily,lineHeight:"1.4375em",letterSpacing:"inherit",width:"fit-content",outline:"none"})),IV=ue(yC,{name:"MuiPickersInputBase",slot:"Separator",overridesResolver:(e,t)=>t.separator})(()=>({whiteSpace:"pre",letterSpacing:"inherit"})),TV=ue("input",{name:"MuiPickersInputBase",slot:"Input",overridesResolver:(e,t)=>t.hiddenInput})(W({},kP)),OV=e=>{const{focused:t,disabled:n,error:r,classes:o,fullWidth:s,readOnly:l,color:c,size:u,endAdornment:f,startAdornment:p}=e,h={root:["root",t&&!n&&"focused",n&&"disabled",l&&"readOnly",r&&"error",s&&"fullWidth",`color${Pe(c)}`,u==="small"&&"inputSizeSmall",!!p&&"adornedStart",!!f&&"adornedEnd"],notchedOutline:["notchedOutline"],input:["input"],sectionsContainer:["sectionsContainer"],sectionContent:["sectionContent"],sectionBefore:["sectionBefore"],sectionAfter:["sectionAfter"]};return Ve(h,gV,o)},sd=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersInputBase"}),{elements:o,areAllSectionsEmpty:s,value:l,onChange:c,id:u,endAdornment:f,startAdornment:p,renderSuffix:h,slots:g,slotProps:v,contentEditable:y,tabIndex:m,onInput:C,onPaste:x,onKeyDown:M,name:I,readOnly:O,inputProps:T,inputRef:k,sectionListRef:D}=r,A=je(r,CV),j=w.useRef(null),E=Ct(n,j),R=Ct(T==null?void 0:T.ref,k),H=xn(),B=$r();if(!B)throw new Error("MUI X: PickersInputBase should always be used inside a PickersTextField component");const L=z=>{var X;if(B.disabled){z.stopPropagation();return}(X=B.onFocus)==null||X.call(B,z)};w.useEffect(()=>{B&&B.setAdornedStart(!!p)},[B,p]),w.useEffect(()=>{B&&(s?B.onEmpty():B.onFilled())},[B,s]);const V=W({},r,B,{isRtl:H}),F=OV(V),Y=(g==null?void 0:g.root)||id,G=pt({elementType:Y,externalSlotProps:v==null?void 0:v.root,externalForwardedProps:A,additionalProps:{"aria-invalid":B.error,ref:E},className:F.root,ownerState:V}),U=(g==null?void 0:g.input)||$h;return S.jsxs(Y,W({},G,{children:[p,S.jsx(xC,{sectionListRef:D,elements:o,contentEditable:y,tabIndex:m,className:F.sectionsContainer,onFocus:L,onBlur:B.onBlur,onInput:C,onPaste:x,onKeyDown:M,slots:{root:U,section:xV,sectionContent:SV,sectionSeparator:IV},slotProps:{root:{ownerState:V},sectionContent:{className:ea.sectionContent},sectionSeparator:({position:z})=>({className:z==="before"?ea.sectionBefore:ea.sectionAfter})}}),f,h?h(W({},B)):null,S.jsx(TV,W({name:I,className:F.input,value:l,onChange:c,id:u,"aria-hidden":"true",tabIndex:-1,readOnly:O,required:B.required,disabled:B.disabled},T,{ref:R}))]}))});process.env.NODE_ENV!=="production"&&(sd.propTypes={areAllSectionsEmpty:i.bool.isRequired,className:i.string,component:i.elementType,contentEditable:i.bool.isRequired,elements:i.arrayOf(i.shape({after:i.object.isRequired,before:i.object.isRequired,container:i.object.isRequired,content:i.object.isRequired})).isRequired,endAdornment:i.node,fullWidth:i.bool,id:i.string,inputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none","normal"]),name:i.string,onChange:i.func.isRequired,onClick:i.func.isRequired,onInput:i.func.isRequired,onKeyDown:i.func.isRequired,onPaste:i.func.isRequired,ownerState:i.any,readOnly:i.bool,renderSuffix:i.func,sectionListRef:i.oneOfType([i.func,i.shape({current:i.shape({getRoot:i.func.isRequired,getSectionContainer:i.func.isRequired,getSectionContent:i.func.isRequired,getSectionIndexFromDOMElement:i.func.isRequired})})]),slotProps:i.object,slots:i.object,startAdornment:i.node,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.string.isRequired});function PV(e){return _e("MuiPickersOutlinedInput",e)}const Yr=W({},ea,Re("MuiPickersOutlinedInput",["root","notchedOutline","input"])),EV=["children","className","label","notched","shrink"],MV=ue("fieldset",{name:"MuiPickersOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%",borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),SC=ue("span")(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit"})),DV=ue("legend")(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:{withLabel:!1},style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:{withLabel:!0},style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:{withLabel:!0,notched:!0},style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]}));function kV(e){const{className:t,label:n}=e,r=je(e,EV),o=n!=null&&n!=="",s=W({},e,{withLabel:o});return S.jsx(MV,W({"aria-hidden":!0,className:t},r,{ownerState:s,children:S.jsx(DV,{ownerState:s,children:o?S.jsx(SC,{children:n}):S.jsx(SC,{className:"notranslate",children:"​"})})}))}const AV=["label","autoFocus","ownerState","notched"],NV=ue(id,{name:"MuiPickersOutlinedInput",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{padding:"0 14px",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Yr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Yr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${Yr.focused} .${Yr.notchedOutline}`]:{borderStyle:"solid",borderWidth:2},[`&.${Yr.disabled}`]:{[`& .${Yr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled},"*":{color:(e.vars||e).palette.action.disabled}},[`&.${Yr.error} .${Yr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},variants:Object.keys((e.vars??e).palette).filter(n=>{var r;return((r=(e.vars??e).palette[n])==null?void 0:r.main)??!1}).map(n=>({props:{color:n},style:{[`&.${Yr.focused}:not(.${Yr.error}) .${Yr.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}}))}}),RV=ue($h,{name:"MuiPickersOutlinedInput",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({padding:"16.5px 0",variants:[{props:{size:"small"},style:{padding:"8.5px 0"}}]}),FV=e=>{const{classes:t}=e,r=Ve({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},PV,t);return W({},t,r)},Wh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersOutlinedInput"}),{label:o,ownerState:s,notched:l}=r,c=je(r,AV),u=$r(),f=W({},r,s,u,{color:(u==null?void 0:u.color)||"primary"}),p=FV(f);return S.jsx(sd,W({slots:{root:NV,input:RV},renderSuffix:h=>S.jsx(kV,{shrink:!!(l||h.adornedStart||h.focused||h.filled),notched:!!(l||h.adornedStart||h.focused||h.filled),className:p.notchedOutline,label:o!=null&&o!==""&&(u!=null&&u.required)?S.jsxs(w.Fragment,{children:[o," ","*"]}):o,ownerState:f})},c,{label:o,classes:p,ref:n}))});process.env.NODE_ENV!=="production"&&(Wh.propTypes={areAllSectionsEmpty:i.bool.isRequired,className:i.string,component:i.elementType,contentEditable:i.bool.isRequired,elements:i.arrayOf(i.shape({after:i.object.isRequired,before:i.object.isRequired,container:i.object.isRequired,content:i.object.isRequired})).isRequired,endAdornment:i.node,fullWidth:i.bool,id:i.string,inputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none","normal"]),name:i.string,notched:i.bool,onChange:i.func.isRequired,onClick:i.func.isRequired,onInput:i.func.isRequired,onKeyDown:i.func.isRequired,onPaste:i.func.isRequired,ownerState:i.any,readOnly:i.bool,renderSuffix:i.func,sectionListRef:i.oneOfType([i.func,i.shape({current:i.shape({getRoot:i.func.isRequired,getSectionContainer:i.func.isRequired,getSectionContent:i.func.isRequired,getSectionIndexFromDOMElement:i.func.isRequired})})]),slotProps:i.object,slots:i.object,startAdornment:i.node,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.string.isRequired}),Wh.muiName="Input";function VV(e){return _e("MuiPickersFilledInput",e)}const Ki=W({},ea,Re("MuiPickersFilledInput",["root","underline","input"])),LV=["label","autoFocus","disableUnderline","ownerState"],_V=ue(id,{name:"MuiPickersFilledInput",slot:"Root",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Vc(e)&&e!=="disableUnderline"})(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Ki.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Ki.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s},variants:[...Object.keys((e.vars??e).palette).filter(l=>(e.vars??e).palette[l].main).map(l=>{var c;return{props:{color:l,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(c=(e.vars||e).palette[l])==null?void 0:c.main}`}}}}),{props:{disableUnderline:!1},style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ki.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ki.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ki.disabled}, .${Ki.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Ki.disabled}:before`]:{borderBottomStyle:"dotted"}}},{props:({startAdornment:l})=>!!l,style:{paddingLeft:12}},{props:({endAdornment:l})=>!!l,style:{paddingRight:12}}]}}),BV=ue($h,{name:"MuiPickersFilledInput",slot:"sectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:0}},{props:({endAdornment:e})=>!!e,style:{paddingRight:0}},{props:{hiddenLabel:!0},style:{paddingTop:16,paddingBottom:17}},{props:{hiddenLabel:!0,size:"small"},style:{paddingTop:8,paddingBottom:9}}]}),$V=e=>{const{classes:t,disableUnderline:n}=e,o=Ve({root:["root",!n&&"underline"],input:["input"]},VV,t);return W({},t,o)},jh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersFilledInput"}),{label:o,disableUnderline:s=!1,ownerState:l}=r,c=je(r,LV),u=$r(),f=W({},r,l,u,{color:(u==null?void 0:u.color)||"primary"}),p=$V(f);return S.jsx(sd,W({slots:{root:_V,input:BV},slotProps:{root:{disableUnderline:s}}},c,{label:o,classes:p,ref:n}))});process.env.NODE_ENV!=="production"&&(jh.propTypes={areAllSectionsEmpty:i.bool.isRequired,className:i.string,component:i.elementType,contentEditable:i.bool.isRequired,disableUnderline:i.bool,elements:i.arrayOf(i.shape({after:i.object.isRequired,before:i.object.isRequired,container:i.object.isRequired,content:i.object.isRequired})).isRequired,endAdornment:i.node,fullWidth:i.bool,hiddenLabel:i.bool,id:i.string,inputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none","normal"]),name:i.string,onChange:i.func.isRequired,onClick:i.func.isRequired,onInput:i.func.isRequired,onKeyDown:i.func.isRequired,onPaste:i.func.isRequired,ownerState:i.any,readOnly:i.bool,renderSuffix:i.func,sectionListRef:i.oneOfType([i.func,i.shape({current:i.shape({getRoot:i.func.isRequired,getSectionContainer:i.func.isRequired,getSectionContent:i.func.isRequired,getSectionIndexFromDOMElement:i.func.isRequired})})]),slotProps:i.object,slots:i.object,startAdornment:i.node,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.string.isRequired}),jh.muiName="Input";function WV(e){return _e("MuiPickersFilledInput",e)}const $l=W({},ea,Re("MuiPickersInput",["root","input"])),jV=["label","autoFocus","disableUnderline","ownerState"],HV=ue(id,{name:"MuiPickersInput",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{"label + &":{marginTop:16},variants:[...Object.keys((e.vars??e).palette).filter(r=>(e.vars??e).palette[r].main).map(r=>({props:{color:r},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}})),{props:{disableUnderline:!1},style:{"&::after":{background:"red",left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${$l.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${$l.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${$l.disabled}, .${$l.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${$l.disabled}:before`]:{borderBottomStyle:"dotted"}}}]}}),zV=e=>{const{classes:t,disableUnderline:n}=e,o=Ve({root:["root",!n&&"underline"],input:["input"]},WV,t);return W({},t,o)},Hh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersInput"}),{label:o,disableUnderline:s=!1,ownerState:l}=r,c=je(r,jV),u=$r(),f=W({},r,l,u,{disableUnderline:s,color:(u==null?void 0:u.color)||"primary"}),p=zV(f);return S.jsx(sd,W({slots:{root:HV}},c,{label:o,classes:p,ref:n}))});process.env.NODE_ENV!=="production"&&(Hh.propTypes={areAllSectionsEmpty:i.bool.isRequired,className:i.string,component:i.elementType,contentEditable:i.bool.isRequired,disableUnderline:i.bool,elements:i.arrayOf(i.shape({after:i.object.isRequired,before:i.object.isRequired,container:i.object.isRequired,content:i.object.isRequired})).isRequired,endAdornment:i.node,fullWidth:i.bool,id:i.string,inputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none","normal"]),name:i.string,onChange:i.func.isRequired,onClick:i.func.isRequired,onInput:i.func.isRequired,onKeyDown:i.func.isRequired,onPaste:i.func.isRequired,ownerState:i.any,readOnly:i.bool,renderSuffix:i.func,sectionListRef:i.oneOfType([i.func,i.shape({current:i.shape({getRoot:i.func.isRequired,getSectionContainer:i.func.isRequired,getSectionContent:i.func.isRequired,getSectionIndexFromDOMElement:i.func.isRequired})})]),slotProps:i.object,slots:i.object,startAdornment:i.node,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.string.isRequired}),Hh.muiName="Input";const GV=["onFocus","onBlur","className","color","disabled","error","variant","required","InputProps","inputProps","inputRef","sectionListRef","elements","areAllSectionsEmpty","onClick","onKeyDown","onKeyUp","onPaste","onInput","endAdornment","startAdornment","tabIndex","contentEditable","focused","value","onChange","fullWidth","id","name","helperText","FormHelperTextProps","label","InputLabelProps"],YV={standard:Hh,filled:jh,outlined:Wh},UV=ue(xp,{name:"MuiPickersTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({maxWidth:"100%"}),XV=e=>{const{focused:t,disabled:n,classes:r,required:o}=e;return Ve({root:["root",t&&!n&&"focused",n&&"disabled",o&&"required"]},mV,r)},ad=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersTextField"}),{onFocus:o,onBlur:s,className:l,color:c="primary",disabled:u=!1,error:f=!1,variant:p="outlined",required:h=!1,InputProps:g,inputProps:v,inputRef:y,sectionListRef:m,elements:C,areAllSectionsEmpty:x,onClick:M,onKeyDown:I,onKeyUp:O,onPaste:T,onInput:k,endAdornment:D,startAdornment:A,tabIndex:j,contentEditable:E,focused:R,value:H,onChange:B,fullWidth:L,id:V,name:F,helperText:Y,FormHelperTextProps:G,label:U,InputLabelProps:z}=r,X=je(r,GV),de=w.useRef(null),re=Ct(n,de),ie=wr(V),K=Y&&ie?`${ie}-helper-text`:void 0,se=U&&ie?`${ie}-label`:void 0,ce=W({},r,{color:c,disabled:u,error:f,focused:R,required:h,variant:p}),ee=XV(ce),te=YV[p];return S.jsxs(UV,W({className:xe(ee.root,l),ref:re,focused:R,onFocus:o,onBlur:s,disabled:u,variant:p,error:f,color:c,fullWidth:L,required:h,ownerState:ce},X,{children:[S.jsx(Pp,W({htmlFor:ie,id:se},z,{children:U})),S.jsx(te,W({elements:C,areAllSectionsEmpty:x,onClick:M,onKeyDown:I,onKeyUp:O,onInput:k,onPaste:T,endAdornment:D,startAdornment:A,tabIndex:j,contentEditable:E,value:H,onChange:B,id:ie,fullWidth:L,inputProps:v,inputRef:y,sectionListRef:m,label:U,name:F,role:"group","aria-labelledby":se,"aria-describedby":K,"aria-live":K?"polite":void 0},g)),Y&&S.jsx(Sp,W({id:K},G,{children:Y}))]}))});process.env.NODE_ENV!=="production"&&(ad.propTypes={areAllSectionsEmpty:i.bool.isRequired,className:i.string,color:i.oneOf(["error","info","primary","secondary","success","warning"]),component:i.elementType,contentEditable:i.bool.isRequired,disabled:i.bool.isRequired,elements:i.arrayOf(i.shape({after:i.object.isRequired,before:i.object.isRequired,container:i.object.isRequired,content:i.object.isRequired})).isRequired,endAdornment:i.node,error:i.bool.isRequired,focused:i.bool,FormHelperTextProps:i.object,fullWidth:i.bool,helperText:i.node,hiddenLabel:i.bool,id:i.string,InputLabelProps:i.object,inputProps:i.object,InputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none","normal"]),name:i.string,onBlur:i.func.isRequired,onChange:i.func.isRequired,onClick:i.func.isRequired,onFocus:i.func.isRequired,onInput:i.func.isRequired,onKeyDown:i.func.isRequired,onPaste:i.func.isRequired,readOnly:i.bool,required:i.bool,sectionListRef:i.oneOfType([i.func,i.shape({current:i.shape({getRoot:i.func.isRequired,getSectionContainer:i.func.isRequired,getSectionContent:i.func.isRequired,getSectionIndexFromDOMElement:i.func.isRequired})})]),size:i.oneOf(["medium","small"]),startAdornment:i.node,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.string.isRequired,variant:i.oneOf(["filled","outlined","standard"])});const ZV=["enableAccessibleFieldDOMStructure"],qV=["InputProps","readOnly"],JV=["onPaste","onKeyDown","inputMode","readOnly","InputProps","inputProps","inputRef"],zh=e=>{let{enableAccessibleFieldDOMStructure:t}=e,n=je(e,ZV);if(t){const{InputProps:h,readOnly:g}=n,v=je(n,qV);return W({},v,{InputProps:W({},h??{},{readOnly:g})})}const{onPaste:r,onKeyDown:o,inputMode:s,readOnly:l,InputProps:c,inputProps:u,inputRef:f}=n,p=je(n,JV);return W({},p,{InputProps:W({},c??{},{readOnly:l}),inputProps:W({},u??{},{inputMode:s,onPaste:r,onKeyDown:o,ref:f})})},KV=["slots","slotProps","InputProps","inputProps"],Gh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiDateField"}),{slots:o,slotProps:s,InputProps:l,inputProps:c}=r,u=je(r,KV),f=r,p=(o==null?void 0:o.textField)??(t.enableAccessibleFieldDOMStructure?ad:vl),h=pt({elementType:p,externalSlotProps:s==null?void 0:s.textField,externalForwardedProps:u,additionalProps:{ref:n},ownerState:f});h.inputProps=W({},c,h.inputProps),h.InputProps=W({},l,h.InputProps);const g=hV(h),v=zh(g),y=_h(W({},v,{slots:o,slotProps:s}));return S.jsx(p,W({},y))});process.env.NODE_ENV!=="production"&&(Gh.propTypes={autoFocus:i.bool,className:i.string,clearable:i.bool,color:i.oneOf(["error","info","primary","secondary","success","warning"]),component:i.elementType,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disablePast:i.bool,enableAccessibleFieldDOMStructure:i.bool,focused:i.bool,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),FormHelperTextProps:i.object,fullWidth:i.bool,helperText:i.node,hiddenLabel:i.bool,id:i.string,InputLabelProps:i.object,inputProps:i.object,InputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none","normal"]),maxDate:i.object,minDate:i.object,name:i.string,onBlur:i.func,onChange:i.func,onClear:i.func,onError:i.func,onFocus:i.func,onSelectedSectionsChange:i.func,readOnly:i.bool,referenceDate:i.object,required:i.bool,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableDate:i.func,shouldDisableMonth:i.func,shouldDisableYear:i.func,shouldRespectLeadingZeros:i.bool,size:i.oneOf(["medium","small"]),slotProps:i.object,slots:i.object,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,unstableFieldRef:i.oneOfType([i.func,i.object]),value:i.object,variant:i.oneOf(["filled","outlined","standard"])});const IC=({shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:o,disableFuture:s,disablePast:l,timezone:c})=>{const u=Zi();return w.useCallback(f=>Us({adapter:u,value:f,timezone:c,props:{shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:o,disableFuture:s,disablePast:l}})!==null,[u,e,t,n,r,o,s,l,c])},QV=(e,t,n)=>(r,o)=>{switch(o.type){case"changeMonth":return W({},r,{slideDirection:o.direction,currentMonth:o.newMonth,isMonthSwitchingAnimating:!e});case"changeMonthTimezone":{const s=o.newTimezone;if(n.getTimezone(r.currentMonth)===s)return r;let l=n.setTimezone(r.currentMonth,s);return n.getMonth(l)!==n.getMonth(r.currentMonth)&&(l=n.setMonth(l,n.getMonth(r.currentMonth))),W({},r,{currentMonth:l})}case"finishMonthSwitchingAnimation":return W({},r,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(r.focusedDay!=null&&o.focusedDay!=null&&n.isSameDay(o.focusedDay,r.focusedDay))return r;const s=o.focusedDay!=null&&!t&&!n.isSameMonth(r.currentMonth,o.focusedDay);return W({},r,{focusedDay:o.focusedDay,isMonthSwitchingAnimating:s&&!e&&!o.withoutMonthSwitchingAnimation,currentMonth:s?n.startOfMonth(o.focusedDay):r.currentMonth,slideDirection:o.focusedDay!=null&&n.isAfterDay(o.focusedDay,r.currentMonth)?"left":"right"})}default:throw new Error("missing support")}},eL=e=>{const{value:t,referenceDate:n,disableFuture:r,disablePast:o,disableSwitchToMonthOnDayFocus:s=!1,maxDate:l,minDate:c,onMonthChange:u,reduceAnimations:f,shouldDisableDate:p,timezone:h}=e,g=lt(),v=w.useRef(QV(!!f,s,g)).current,y=w.useMemo(()=>fn.getInitialReferenceValue({value:t,utils:g,timezone:h,props:e,referenceDate:n,granularity:zr.day}),[n,h]),[m,C]=w.useReducer(v,{isMonthSwitchingAnimating:!1,focusedDay:y,currentMonth:g.startOfMonth(y),slideDirection:"left"});w.useEffect(()=>{C({type:"changeMonthTimezone",newTimezone:g.getTimezone(y)})},[y,g]);const x=w.useCallback(k=>{C(W({type:"changeMonth"},k)),u&&u(k.newMonth)},[u]),M=w.useCallback(k=>{const D=k;g.isSameMonth(D,m.currentMonth)||x({newMonth:g.startOfMonth(D),direction:g.isAfterDay(D,m.currentMonth)?"left":"right"})},[m.currentMonth,x,g]),I=IC({shouldDisableDate:p,minDate:c,maxDate:l,disableFuture:r,disablePast:o,timezone:h}),O=w.useCallback(()=>{C({type:"finishMonthSwitchingAnimation"})},[]),T=De((k,D)=>{I(k)||C({type:"changeFocusedDay",focusedDay:k,withoutMonthSwitchingAnimation:D})});return{referenceDate:y,calendarState:m,changeMonth:M,changeFocusedDay:T,isDateDisabled:I,onMonthSwitchingAnimationEnd:O,handleChangeMonth:x}},tL=e=>_e("MuiPickersFadeTransitionGroup",e);Re("MuiPickersFadeTransitionGroup",["root"]);const nL=e=>{const{classes:t}=e;return Ve({root:["root"]},tL,t)},rL=ue(Za,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"block",position:"relative"});function TC(e){const t=tt({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:r,reduceAnimations:o,transKey:s}=t,l=nL(t),c=No();return o?n:S.jsx(rL,{className:xe(l.root,r),children:S.jsx(di,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:c.transitions.duration.enteringScreen,enter:c.transitions.duration.enteringScreen,exit:0},children:n},s)})}function oL(e){return _e("MuiPickersDay",e)}const Qi=Re("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),iL=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],sL=e=>{const{selected:t,disableMargin:n,disableHighlightToday:r,today:o,disabled:s,outsideCurrentMonth:l,showDaysOutsideCurrentMonth:c,classes:u}=e,f=l&&!c;return Ve({root:["root",t&&!f&&"selected",s&&"disabled",!n&&"dayWithMargin",!r&&o&&"today",l&&c&&"dayOutsideMonth",f&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]},oL,u)},OC=({theme:e})=>W({},e.typography.caption,{width:Ll,height:Ll,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:e.transitions.create("background-color",{duration:e.transitions.duration.short}),color:(e.vars||e).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.primary.main,e.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:mt(e.palette.primary.main,e.palette.action.focusOpacity),[`&.${Qi.selected}`]:{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${Qi.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${Qi.disabled}:not(.${Qi.selected})`]:{color:(e.vars||e).palette.text.disabled},[`&.${Qi.disabled}&.${Qi.selected}`]:{opacity:.6},variants:[{props:{disableMargin:!1},style:{margin:`0 ${nd}px`}},{props:{outsideCurrentMonth:!0,showDaysOutsideCurrentMonth:!0},style:{color:(e.vars||e).palette.text.secondary}},{props:{disableHighlightToday:!1,today:!0},style:{[`&:not(.${Qi.selected})`]:{border:`1px solid ${(e.vars||e).palette.text.secondary}`}}}]}),PC=(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},aL=ue(Ro,{name:"MuiPickersDay",slot:"Root",overridesResolver:PC})(OC),lL=ue("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:PC})(({theme:e})=>W({},OC({theme:e}),{opacity:0,pointerEvents:"none"})),Wl=()=>{},EC=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersDay"}),{autoFocus:o=!1,className:s,day:l,disabled:c=!1,disableHighlightToday:u=!1,disableMargin:f=!1,isAnimating:p,onClick:h,onDaySelect:g,onFocus:v=Wl,onBlur:y=Wl,onKeyDown:m=Wl,onMouseDown:C=Wl,onMouseEnter:x=Wl,outsideCurrentMonth:M,selected:I=!1,showDaysOutsideCurrentMonth:O=!1,children:T,today:k=!1}=r,D=je(r,iL),A=W({},r,{autoFocus:o,disabled:c,disableHighlightToday:u,disableMargin:f,selected:I,showDaysOutsideCurrentMonth:O,today:k}),j=sL(A),E=lt(),R=w.useRef(null),H=Ct(R,n);gn(()=>{o&&!c&&!p&&!M&&R.current.focus()},[o,c,p,M]);const B=V=>{C(V),M&&V.preventDefault()},L=V=>{c||g(l),M&&V.currentTarget.focus(),h&&h(V)};return M&&!O?S.jsx(lL,{className:xe(j.root,j.hiddenDaySpacingFiller,s),ownerState:A,role:D.role}):S.jsx(aL,W({className:xe(j.root,s),ref:H,centerRipple:!0,disabled:c,tabIndex:I?0:-1,onKeyDown:V=>m(V,l),onFocus:V=>v(V,l),onBlur:V=>y(V,l),onMouseEnter:V=>x(V,l),onClick:L,onMouseDown:B},D,{ownerState:A,children:T||E.format(l,"dayOfMonth")}))});process.env.NODE_ENV!=="production"&&(EC.propTypes={action:i.oneOfType([i.func,i.shape({current:i.shape({focusVisible:i.func.isRequired})})]),centerRipple:i.bool,classes:i.object,className:i.string,component:i.elementType,day:i.object.isRequired,disabled:i.bool,disableHighlightToday:i.bool,disableMargin:i.bool,disableRipple:i.bool,disableTouchRipple:i.bool,focusRipple:i.bool,focusVisibleClassName:i.string,isAnimating:i.bool,isFirstVisibleCell:i.bool.isRequired,isLastVisibleCell:i.bool.isRequired,onBlur:i.func,onDaySelect:i.func.isRequired,onFocus:i.func,onFocusVisible:i.func,onKeyDown:i.func,onMouseEnter:i.func,outsideCurrentMonth:i.bool.isRequired,selected:i.bool,showDaysOutsideCurrentMonth:i.bool,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tabIndex:i.number,today:i.bool,TouchRippleProps:i.object,touchRippleRef:i.oneOfType([i.func,i.shape({current:i.shape({pulsate:i.func.isRequired,start:i.func.isRequired,stop:i.func.isRequired})})])});const cL=w.memo(EC),uL=e=>_e("MuiPickersSlideTransition",e),Er=Re("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),dL=["children","className","reduceAnimations","slideDirection","transKey","classes"],fL=e=>{const{classes:t,slideDirection:n}=e,r={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:[`slideEnter-${n}`],exitActive:[`slideExitActiveLeft-${n}`]};return Ve(r,uL,t)},pL=ue(Za,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`.${Er["slideEnter-left"]}`]:t["slideEnter-left"]},{[`.${Er["slideEnter-right"]}`]:t["slideEnter-right"]},{[`.${Er.slideEnterActive}`]:t.slideEnterActive},{[`.${Er.slideExit}`]:t.slideExit},{[`.${Er["slideExitActiveLeft-left"]}`]:t["slideExitActiveLeft-left"]},{[`.${Er["slideExitActiveLeft-right"]}`]:t["slideExitActiveLeft-right"]}]})(({theme:e})=>{const t=e.transitions.create("transform",{duration:e.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${Er["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${Er["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${Er.slideEnterActive}`]:{transform:"translate(0%)",transition:t},[`& .${Er.slideExit}`]:{transform:"translate(0%)"},[`& .${Er["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:t,zIndex:0},[`& .${Er["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:t,zIndex:0}}});function hL(e){const t=tt({props:e,name:"MuiPickersSlideTransition"}),{children:n,className:r,reduceAnimations:o,transKey:s}=t,l=je(t,dL),c=fL(t),u=No();if(o)return S.jsx("div",{className:xe(c.root,r),children:n});const f={exit:c.exit,enterActive:c.enterActive,enter:c.enter,exitActive:c.exitActive};return S.jsx(pL,{className:xe(c.root,r),childFactory:p=>w.cloneElement(p,{classNames:f}),role:"presentation",children:S.jsx(op,W({mountOnEnter:!0,unmountOnExit:!0,timeout:u.transitions.duration.complex,classNames:f},l,{children:n}),s)})}const mL=e=>_e("MuiDayCalendar",e);Re("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]);const gL=["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"],bL=["ownerState"],vL=e=>{const{classes:t}=e;return Ve({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},mL,t)},MC=(Ll+nd*2)*6,yL=ue("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),CL=ue("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,t)=>t.header})({display:"flex",justifyContent:"center",alignItems:"center"}),wL=ue(io,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,t)=>t.weekDayLabel})(({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(e.vars||e).palette.text.secondary})),xL=ue(io,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,t)=>t.weekNumberLabel})(({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.palette.text.disabled})),SL=ue(io,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,t)=>t.weekNumber})(({theme:e})=>W({},e.typography.caption,{width:Ll,height:Ll,padding:0,margin:`0 ${nd}px`,color:e.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"})),IL=ue("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,t)=>t.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:MC}),TL=ue(hL,{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,t)=>t.slideTransition})({minHeight:MC}),OL=ue("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,t)=>t.monthContainer})({overflow:"hidden"}),PL=ue("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,t)=>t.weekContainer})({margin:`${nd}px 0`,display:"flex",justifyContent:"center"});function EL(e){let{parentProps:t,day:n,focusableDay:r,selectedDays:o,isDateDisabled:s,currentMonthNumber:l,isViewFocused:c}=e,u=je(e,gL);const{disabled:f,disableHighlightToday:p,isMonthSwitchingAnimating:h,showDaysOutsideCurrentMonth:g,slots:v,slotProps:y,timezone:m}=t,C=lt(),x=Ji(m),M=r!==null&&C.isSameDay(n,r),I=o.some(H=>C.isSameDay(H,n)),O=C.isSameDay(n,x),T=(v==null?void 0:v.day)??cL,k=pt({elementType:T,externalSlotProps:y==null?void 0:y.day,additionalProps:W({disableHighlightToday:p,showDaysOutsideCurrentMonth:g,role:"gridcell",isAnimating:h,"data-timestamp":C.toJsDate(n).valueOf()},u),ownerState:W({},t,{day:n,selected:I})}),D=je(k,bL),A=w.useMemo(()=>f||s(n),[f,s,n]),j=w.useMemo(()=>C.getMonth(n)!==l,[C,n,l]),E=w.useMemo(()=>{const H=C.startOfMonth(C.setMonth(n,l));return g?C.isSameDay(n,C.startOfWeek(H)):C.isSameDay(n,H)},[l,n,g,C]),R=w.useMemo(()=>{const H=C.endOfMonth(C.setMonth(n,l));return g?C.isSameDay(n,C.endOfWeek(H)):C.isSameDay(n,H)},[l,n,g,C]);return S.jsx(T,W({},D,{day:n,disabled:A,autoFocus:c&&M,today:O,outsideCurrentMonth:j,isFirstVisibleCell:E,isLastVisibleCell:R,selected:I,tabIndex:M?0:-1,"aria-selected":I,"aria-current":O?"date":void 0}))}function ML(e){const t=tt({props:e,name:"MuiDayCalendar"}),n=lt(),{onFocusedDayChange:r,className:o,currentMonth:s,selectedDays:l,focusedDay:c,loading:u,onSelectedDaysChange:f,onMonthSwitchingAnimationEnd:p,readOnly:h,reduceAnimations:g,renderLoading:v=()=>S.jsx("span",{children:"..."}),slideDirection:y,TransitionProps:m,disablePast:C,disableFuture:x,minDate:M,maxDate:I,shouldDisableDate:O,shouldDisableMonth:T,shouldDisableYear:k,dayOfWeekFormatter:D=ve=>n.format(ve,"weekdayShort").charAt(0).toUpperCase(),hasFocus:A,onFocusedViewChange:j,gridLabelId:E,displayWeekNumber:R,fixedWeekNumber:H,autoFocus:B,timezone:L}=t,V=Ji(L),F=vL(t),Y=xn(),G=IC({shouldDisableDate:O,shouldDisableMonth:T,shouldDisableYear:k,minDate:M,maxDate:I,disablePast:C,disableFuture:x,timezone:L}),U=Cn(),[z,X]=ro({name:"DayCalendar",state:"hasFocus",controlled:A,default:B??!1}),[de,re]=w.useState(()=>c||V),ie=De(ve=>{h||f(ve)}),K=ve=>{G(ve)||(r(ve),re(ve),j==null||j(!0),X(!0))},se=De((ve,he)=>{switch(ve.key){case"ArrowUp":K(n.addDays(he,-7)),ve.preventDefault();break;case"ArrowDown":K(n.addDays(he,7)),ve.preventDefault();break;case"ArrowLeft":{const ge=n.addDays(he,Y?1:-1),Ce=n.addMonths(he,Y?1:-1),Te=Ml({utils:n,date:ge,minDate:Y?ge:n.startOfMonth(Ce),maxDate:Y?n.endOfMonth(Ce):ge,isDateDisabled:G,timezone:L});K(Te||ge),ve.preventDefault();break}case"ArrowRight":{const ge=n.addDays(he,Y?-1:1),Ce=n.addMonths(he,Y?-1:1),Te=Ml({utils:n,date:ge,minDate:Y?n.startOfMonth(Ce):ge,maxDate:Y?ge:n.endOfMonth(Ce),isDateDisabled:G,timezone:L});K(Te||ge),ve.preventDefault();break}case"Home":K(n.startOfWeek(he)),ve.preventDefault();break;case"End":K(n.endOfWeek(he)),ve.preventDefault();break;case"PageUp":K(n.addMonths(he,1)),ve.preventDefault();break;case"PageDown":K(n.addMonths(he,-1)),ve.preventDefault();break}}),ce=De((ve,he)=>K(he)),ee=De((ve,he)=>{z&&n.isSameDay(de,he)&&(j==null||j(!1))}),te=n.getMonth(s),le=n.getYear(s),pe=w.useMemo(()=>l.filter(ve=>!!ve).map(ve=>n.startOfDay(ve)),[n,l]),q=`${le}-${te}`,ne=w.useMemo(()=>w.createRef(),[q]),fe=w.useMemo(()=>{const ve=n.startOfMonth(s),he=n.endOfMonth(s);return G(de)||n.isAfterDay(de,he)||n.isBeforeDay(de,ve)?Ml({utils:n,date:de,minDate:ve,maxDate:he,disablePast:C,disableFuture:x,isDateDisabled:G,timezone:L}):de},[s,x,C,de,G,n,L]),be=w.useMemo(()=>{const ve=n.getWeekArray(s);let he=n.addMonths(s,1);for(;H&&ve.length<H;){const ge=n.getWeekArray(he),Ce=n.isSameDay(ve[ve.length-1][0],ge[0][0]);ge.slice(Ce?1:0).forEach(Te=>{ve.length<H&&ve.push(Te)}),he=n.addMonths(he,1)}return ve},[s,H,n]);return S.jsxs(yL,{role:"grid","aria-labelledby":E,className:F.root,children:[S.jsxs(CL,{role:"row",className:F.header,children:[R&&S.jsx(xL,{variant:"caption",role:"columnheader","aria-label":U.calendarWeekNumberHeaderLabel,className:F.weekNumberLabel,children:U.calendarWeekNumberHeaderText}),D3(n,V).map((ve,he)=>S.jsx(wL,{variant:"caption",role:"columnheader","aria-label":n.format(ve,"weekday"),className:F.weekDayLabel,children:D(ve)},he.toString()))]}),u?S.jsx(IL,{className:F.loadingContainer,children:v()}):S.jsx(TL,W({transKey:q,onExited:p,reduceAnimations:g,slideDirection:y,className:xe(o,F.slideTransition)},m,{nodeRef:ne,children:S.jsx(OL,{ref:ne,role:"rowgroup",className:F.monthContainer,children:be.map((ve,he)=>S.jsxs(PL,{role:"row",className:F.weekContainer,"aria-rowindex":he+1,children:[R&&S.jsx(SL,{className:F.weekNumber,role:"rowheader","aria-label":U.calendarWeekNumberAriaLabelText(n.getWeekNumber(ve[0])),children:U.calendarWeekNumberText(n.getWeekNumber(ve[0]))}),ve.map((ge,Ce)=>S.jsx(EL,{parentProps:t,day:ge,selectedDays:pe,focusableDay:fe,onKeyDown:se,onFocus:ce,onBlur:ee,onDaySelect:ie,isDateDisabled:G,currentMonthNumber:te,isViewFocused:z,"aria-colindex":Ce+1},ge.toString()))]},`week-${ve[0]}`))})}))]})}function DL(e){return _e("MuiPickersMonth",e)}const ld=Re("MuiPickersMonth",["root","monthButton","disabled","selected"]),kL=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow","slots","slotProps"],AL=e=>{const{disabled:t,selected:n,classes:r}=e;return Ve({root:["root"],monthButton:["monthButton",t&&"disabled",n&&"selected"]},DL,r)},NL=ue("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{monthsPerRow:4},style:{flexBasis:"25%"}}]}),RL=ue("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,t)=>[t.monthButton,{[`&.${ld.disabled}`]:t.disabled},{[`&.${ld.selected}`]:t.selected}]})(({theme:e})=>W({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.action.active,e.palette.action.hoverOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${ld.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${ld.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}})),FL=w.memo(function(t){const n=tt({props:t,name:"MuiPickersMonth"}),{autoFocus:r,className:o,children:s,disabled:l,selected:c,value:u,tabIndex:f,onClick:p,onKeyDown:h,onFocus:g,onBlur:v,"aria-current":y,"aria-label":m,slots:C,slotProps:x}=n,M=je(n,kL),I=w.useRef(null),O=AL(n);gn(()=>{var D;r&&((D=I.current)==null||D.focus())},[r]);const T=(C==null?void 0:C.monthButton)??RL,k=pt({elementType:T,externalSlotProps:x==null?void 0:x.monthButton,additionalProps:{children:s,disabled:l,tabIndex:f,ref:I,type:"button",role:"radio","aria-current":y,"aria-checked":c,"aria-label":m,onClick:D=>p(D,u),onKeyDown:D=>h(D,u),onFocus:D=>g(D,u),onBlur:D=>v(D,u)},ownerState:n,className:O.monthButton});return S.jsx(NL,W({className:xe(O.root,o),ownerState:n},M,{children:S.jsx(T,W({},k))}))});function VL(e){return _e("MuiMonthCalendar",e)}Re("MuiMonthCalendar",["root"]);const LL=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId","slots","slotProps"],_L=e=>{const{classes:t}=e;return Ve({root:["root"]},VL,t)};function BL(e,t){const n=lt(),r=qi(),o=tt({props:e,name:t});return W({disableFuture:!1,disablePast:!1},o,{minDate:Wn(n,o.minDate,r.minDate),maxDate:Wn(n,o.maxDate,r.maxDate)})}const $L=ue("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:rd,boxSizing:"border-box"}),DC=w.forwardRef(function(t,n){const r=BL(t,"MuiMonthCalendar"),{className:o,value:s,defaultValue:l,referenceDate:c,disabled:u,disableFuture:f,disablePast:p,maxDate:h,minDate:g,onChange:v,shouldDisableMonth:y,readOnly:m,autoFocus:C=!1,onMonthFocus:x,hasFocus:M,onFocusedViewChange:I,monthsPerRow:O=3,timezone:T,gridLabelId:k,slots:D,slotProps:A}=r,j=je(r,LL),{value:E,handleValueChange:R,timezone:H}=Js({name:"MonthCalendar",timezone:T,value:s,defaultValue:l,referenceDate:c,onChange:v,valueManager:fn}),B=Ji(H),L=xn(),V=lt(),F=w.useMemo(()=>fn.getInitialReferenceValue({value:E,utils:V,props:r,timezone:H,referenceDate:c,granularity:zr.month}),[]),Y=r,G=_L(Y),U=w.useMemo(()=>V.getMonth(B),[V,B]),z=w.useMemo(()=>E!=null?V.getMonth(E):null,[E,V]),[X,de]=w.useState(()=>z||V.getMonth(F)),[re,ie]=ro({name:"MonthCalendar",state:"hasFocus",controlled:M,default:C??!1}),K=De(q=>{ie(q),I&&I(q)}),se=w.useCallback(q=>{const ne=V.startOfMonth(p&&V.isAfter(B,g)?B:g),fe=V.startOfMonth(f&&V.isBefore(B,h)?B:h),be=V.startOfMonth(q);return V.isBefore(be,ne)||V.isAfter(be,fe)?!0:y?y(be):!1},[f,p,h,g,B,y,V]),ce=De((q,ne)=>{if(m)return;const fe=V.setMonth(E??F,ne);R(fe)}),ee=De(q=>{se(V.setMonth(E??F,q))||(de(q),K(!0),x&&x(q))});w.useEffect(()=>{de(q=>z!==null&&q!==z?z:q)},[z]);const te=De((q,ne)=>{switch(q.key){case"ArrowUp":ee((12+ne-3)%12),q.preventDefault();break;case"ArrowDown":ee((12+ne+3)%12),q.preventDefault();break;case"ArrowLeft":ee((12+ne+(L?1:-1))%12),q.preventDefault();break;case"ArrowRight":ee((12+ne+(L?-1:1))%12),q.preventDefault();break}}),le=De((q,ne)=>{ee(ne)}),pe=De((q,ne)=>{X===ne&&K(!1)});return S.jsx($L,W({ref:n,className:xe(G.root,o),ownerState:Y,role:"radiogroup","aria-labelledby":k},j,{children:wh(V,E??F).map(q=>{const ne=V.getMonth(q),fe=V.format(q,"monthShort"),be=V.format(q,"month"),ve=ne===z,he=u||se(q);return S.jsx(FL,{selected:ve,value:ne,onClick:ce,onKeyDown:te,autoFocus:re&&ne===X,disabled:he,tabIndex:ne===X&&!he?0:-1,onFocus:le,onBlur:pe,"aria-current":U===ne?"date":void 0,"aria-label":be,monthsPerRow:O,slots:D,slotProps:A,children:fe},fe)})}))});process.env.NODE_ENV!=="production"&&(DC.propTypes={autoFocus:i.bool,classes:i.object,className:i.string,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableHighlightToday:i.bool,disablePast:i.bool,gridLabelId:i.string,hasFocus:i.bool,maxDate:i.object,minDate:i.object,monthsPerRow:i.oneOf([3,4]),onChange:i.func,onFocusedViewChange:i.func,onMonthFocus:i.func,readOnly:i.bool,referenceDate:i.object,shouldDisableMonth:i.func,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,value:i.object});function WL(e){return _e("MuiPickersYear",e)}const cd=Re("MuiPickersYear",["root","yearButton","selected","disabled"]),jL=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow","slots","slotProps"],HL=e=>{const{disabled:t,selected:n,classes:r}=e;return Ve({root:["root"],yearButton:["yearButton",t&&"disabled",n&&"selected"]},WL,r)},zL=ue("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{yearsPerRow:4},style:{flexBasis:"25%"}}]}),GL=ue("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,t)=>[t.yearButton,{[`&.${cd.disabled}`]:t.disabled},{[`&.${cd.selected}`]:t.selected}]})(({theme:e})=>W({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})`:mt(e.palette.action.active,e.palette.action.focusOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${cd.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${cd.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}})),YL=w.memo(function(t){const n=tt({props:t,name:"MuiPickersYear"}),{autoFocus:r,className:o,children:s,disabled:l,selected:c,value:u,tabIndex:f,onClick:p,onKeyDown:h,onFocus:g,onBlur:v,"aria-current":y,slots:m,slotProps:C}=n,x=je(n,jL),M=w.useRef(null),I=HL(n);gn(()=>{var k;r&&((k=M.current)==null||k.focus())},[r]);const O=(m==null?void 0:m.yearButton)??GL,T=pt({elementType:O,externalSlotProps:C==null?void 0:C.yearButton,additionalProps:{children:s,disabled:l,tabIndex:f,ref:M,type:"button",role:"radio","aria-current":y,"aria-checked":c,onClick:k=>p(k,u),onKeyDown:k=>h(k,u),onFocus:k=>g(k,u),onBlur:k=>v(k,u)},ownerState:n,className:I.yearButton});return S.jsx(zL,W({className:xe(I.root,o),ownerState:n},x,{children:S.jsx(O,W({},T))}))});function UL(e){return _e("MuiYearCalendar",e)}Re("MuiYearCalendar",["root"]);const XL=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsOrder","yearsPerRow","timezone","gridLabelId","slots","slotProps"],ZL=e=>{const{classes:t}=e;return Ve({root:["root"]},UL,t)};function qL(e,t){const n=lt(),r=qi(),o=tt({props:e,name:t});return W({disablePast:!1,disableFuture:!1},o,{yearsPerRow:o.yearsPerRow??3,minDate:Wn(n,o.minDate,r.minDate),maxDate:Wn(n,o.maxDate,r.maxDate)})}const JL=ue("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:rd,maxHeight:N9,boxSizing:"border-box",position:"relative"}),kC=w.forwardRef(function(t,n){const r=qL(t,"MuiYearCalendar"),{autoFocus:o,className:s,value:l,defaultValue:c,referenceDate:u,disabled:f,disableFuture:p,disablePast:h,maxDate:g,minDate:v,onChange:y,readOnly:m,shouldDisableYear:C,onYearFocus:x,hasFocus:M,onFocusedViewChange:I,yearsOrder:O="asc",yearsPerRow:T,timezone:k,gridLabelId:D,slots:A,slotProps:j}=r,E=je(r,XL),{value:R,handleValueChange:H,timezone:B}=Js({name:"YearCalendar",timezone:k,value:l,defaultValue:c,referenceDate:u,onChange:y,valueManager:fn}),L=Ji(B),V=xn(),F=lt(),Y=w.useMemo(()=>fn.getInitialReferenceValue({value:R,utils:F,props:r,timezone:B,referenceDate:u,granularity:zr.year}),[]),G=r,U=ZL(G),z=w.useMemo(()=>F.getYear(L),[F,L]),X=w.useMemo(()=>R!=null?F.getYear(R):null,[R,F]),[de,re]=w.useState(()=>X||F.getYear(Y)),[ie,K]=ro({name:"YearCalendar",state:"hasFocus",controlled:M,default:o??!1}),se=De(ge=>{K(ge),I&&I(ge)}),ce=w.useCallback(ge=>{if(h&&F.isBeforeYear(ge,L)||p&&F.isAfterYear(ge,L)||v&&F.isBeforeYear(ge,v)||g&&F.isAfterYear(ge,g))return!0;if(!C)return!1;const Ce=F.startOfYear(ge);return C(Ce)},[p,h,g,v,L,C,F]),ee=De((ge,Ce)=>{if(m)return;const Te=F.setYear(R??Y,Ce);H(Te)}),te=De(ge=>{ce(F.setYear(R??Y,ge))||(re(ge),se(!0),x==null||x(ge))});w.useEffect(()=>{re(ge=>X!==null&&ge!==X?X:ge)},[X]);const le=O!=="desc"?T*1:T*-1,pe=V&&O==="asc"||!V&&O==="desc"?-1:1,q=De((ge,Ce)=>{switch(ge.key){case"ArrowUp":te(Ce-le),ge.preventDefault();break;case"ArrowDown":te(Ce+le),ge.preventDefault();break;case"ArrowLeft":te(Ce-pe),ge.preventDefault();break;case"ArrowRight":te(Ce+pe),ge.preventDefault();break}}),ne=De((ge,Ce)=>{te(Ce)}),fe=De((ge,Ce)=>{de===Ce&&se(!1)}),be=w.useRef(null),ve=Ct(n,be);w.useEffect(()=>{if(o||be.current===null)return;const ge=be.current.querySelector('[tabindex="0"]');if(!ge)return;const Ce=ge.offsetHeight,Te=ge.offsetTop,Ee=be.current.clientHeight,Me=be.current.scrollTop,dt=Te+Ce;Ce>Ee||Te<Me||(be.current.scrollTop=dt-Ee/2-Ce/2)},[o]);const he=F.getYearRange([v,g]);return O==="desc"&&he.reverse(),S.jsx(JL,W({ref:ve,className:xe(U.root,s),ownerState:G,role:"radiogroup","aria-labelledby":D},E,{children:he.map(ge=>{const Ce=F.getYear(ge),Te=Ce===X,Ee=f||ce(ge);return S.jsx(YL,{selected:Te,value:Ce,onClick:ee,onKeyDown:q,autoFocus:ie&&Ce===de,disabled:Ee,tabIndex:Ce===de&&!Ee?0:-1,onFocus:ne,onBlur:fe,"aria-current":z===Ce?"date":void 0,yearsPerRow:T,slots:A,slotProps:j,children:F.format(ge,"year")},F.format(ge,"year"))})}))});process.env.NODE_ENV!=="production"&&(kC.propTypes={autoFocus:i.bool,classes:i.object,className:i.string,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableHighlightToday:i.bool,disablePast:i.bool,gridLabelId:i.string,hasFocus:i.bool,maxDate:i.object,minDate:i.object,onChange:i.func,onFocusedViewChange:i.func,onYearFocus:i.func,readOnly:i.bool,referenceDate:i.object,shouldDisableYear:i.func,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,value:i.object,yearsOrder:i.oneOf(["asc","desc"]),yearsPerRow:i.oneOf([3,4])});const KL=e=>_e("MuiPickersCalendarHeader",e),QL=Re("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]);function e_(e){return _e("MuiPickersArrowSwitcher",e)}Re("MuiPickersArrowSwitcher",["root","spacer","button","previousIconButton","nextIconButton","leftArrowIcon","rightArrowIcon"]);const t_=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel","labelId"],n_=["ownerState"],r_=["ownerState"],o_=ue("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),i_=ue("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})(({theme:e})=>({width:e.spacing(3)})),AC=ue(ci,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})({variants:[{props:{hidden:!0},style:{visibility:"hidden"}}]}),s_=e=>{const{classes:t}=e;return Ve({root:["root"],spacer:["spacer"],button:["button"],previousIconButton:["previousIconButton"],nextIconButton:["nextIconButton"],leftArrowIcon:["leftArrowIcon"],rightArrowIcon:["rightArrowIcon"]},e_,t)},NC=w.forwardRef(function(t,n){const r=xn(),o=tt({props:t,name:"MuiPickersArrowSwitcher"}),{children:s,className:l,slots:c,slotProps:u,isNextDisabled:f,isNextHidden:p,onGoToNext:h,nextLabel:g,isPreviousDisabled:v,isPreviousHidden:y,onGoToPrevious:m,previousLabel:C,labelId:x}=o,M=je(o,t_),I=o,O=s_(I),T={isDisabled:f,isHidden:p,goTo:h,label:g},k={isDisabled:v,isHidden:y,goTo:m,label:C},D=(c==null?void 0:c.previousIconButton)??AC,A=pt({elementType:D,externalSlotProps:u==null?void 0:u.previousIconButton,additionalProps:{size:"medium",title:k.label,"aria-label":k.label,disabled:k.isDisabled,edge:"end",onClick:k.goTo},ownerState:W({},I,{hidden:k.isHidden}),className:xe(O.button,O.previousIconButton)}),j=(c==null?void 0:c.nextIconButton)??AC,E=pt({elementType:j,externalSlotProps:u==null?void 0:u.nextIconButton,additionalProps:{size:"medium",title:T.label,"aria-label":T.label,disabled:T.isDisabled,edge:"start",onClick:T.goTo},ownerState:W({},I,{hidden:T.isHidden}),className:xe(O.button,O.nextIconButton)}),R=(c==null?void 0:c.leftArrowIcon)??z9,H=pt({elementType:R,externalSlotProps:u==null?void 0:u.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:I,className:O.leftArrowIcon}),B=je(H,n_),L=(c==null?void 0:c.rightArrowIcon)??G9,V=pt({elementType:L,externalSlotProps:u==null?void 0:u.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:I,className:O.rightArrowIcon}),F=je(V,r_);return S.jsxs(o_,W({ref:n,className:xe(O.root,l),ownerState:I},M,{children:[S.jsx(D,W({},A,{children:r?S.jsx(L,W({},F)):S.jsx(R,W({},B))})),s?S.jsx(io,{variant:"subtitle1",component:"span",id:x,children:s}):S.jsx(i_,{className:O.spacer,ownerState:I}),S.jsx(j,W({},E,{children:r?S.jsx(R,W({},B)):S.jsx(L,W({},F))}))]}))});function a_(e,{disableFuture:t,maxDate:n,timezone:r}){const o=lt();return w.useMemo(()=>{const s=o.date(void 0,r),l=o.startOfMonth(t&&o.isBefore(s,n)?s:n);return!o.isAfter(l,e)},[t,n,e,o,r])}function l_(e,{disablePast:t,minDate:n,timezone:r}){const o=lt();return w.useMemo(()=>{const s=o.date(void 0,r),l=o.startOfMonth(t&&o.isAfter(s,n)?s:n);return!o.isBefore(l,e)},[t,n,e,o,r])}function ud(e,t,n,r){const o=lt(),s=k3(e,o),l=w.useCallback(c=>{const u=e==null?null:A3(e,c,!!t,o);n(u,r??"partial")},[t,e,n,r,o]);return{meridiemMode:s,handleMeridiemChange:l}}const c_=["slots","slotProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone","format"],u_=["ownerState"],d_=e=>{const{classes:t}=e;return Ve({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},KL,t)},f_=ue("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",alignItems:"center",marginTop:12,marginBottom:4,paddingLeft:24,paddingRight:12,maxHeight:40,minHeight:40}),p_=ue("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(({theme:e})=>W({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium})),h_=ue("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,t)=>t.label})({marginRight:6}),m_=ue(ci,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,t)=>t.switchViewButton})({marginRight:"auto",variants:[{props:{view:"year"},style:{[`.${QL.switchViewIcon}`]:{transform:"rotate(180deg)"}}}]}),g_=ue(H9,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,t)=>t.switchViewIcon})(({theme:e})=>({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"})),RC=w.forwardRef(function(t,n){const r=Cn(),o=lt(),s=tt({props:t,name:"MuiPickersCalendarHeader"}),{slots:l,slotProps:c,currentMonth:u,disabled:f,disableFuture:p,disablePast:h,maxDate:g,minDate:v,onMonthChange:y,onViewChange:m,view:C,reduceAnimations:x,views:M,labelId:I,className:O,timezone:T,format:k=`${o.formats.month} ${o.formats.year}`}=s,D=je(s,c_),A=s,j=d_(s),E=(l==null?void 0:l.switchViewButton)??m_,R=pt({elementType:E,externalSlotProps:c==null?void 0:c.switchViewButton,additionalProps:{size:"small","aria-label":r.calendarViewSwitchingButtonAriaLabel(C)},ownerState:A,className:j.switchViewButton}),H=(l==null?void 0:l.switchViewIcon)??g_,B=pt({elementType:H,externalSlotProps:c==null?void 0:c.switchViewIcon,ownerState:A,className:j.switchViewIcon}),L=je(B,u_),V=()=>y(o.addMonths(u,1),"left"),F=()=>y(o.addMonths(u,-1),"right"),Y=a_(u,{disableFuture:p,maxDate:g,timezone:T}),G=l_(u,{disablePast:h,minDate:v,timezone:T}),U=()=>{if(!(M.length===1||!m||f))if(M.length===2)m(M.find(X=>X!==C)||M[0]);else{const X=M.indexOf(C)!==0?0:1;m(M[X])}};if(M.length===1&&M[0]==="year")return null;const z=o.formatByString(u,k);return S.jsxs(f_,W({},D,{ownerState:A,className:xe(j.root,O),ref:n,children:[S.jsxs(p_,{role:"presentation",onClick:U,ownerState:A,"aria-live":"polite",className:j.labelContainer,children:[S.jsx(TC,{reduceAnimations:x,transKey:z,children:S.jsx(h_,{id:I,ownerState:A,className:j.label,children:z})}),M.length>1&&!f&&S.jsx(E,W({},R,{children:S.jsx(H,W({},L))}))]}),S.jsx(di,{in:C==="day",appear:!x,enter:!x,children:S.jsx(NC,{slots:l,slotProps:c,onGoToPrevious:F,isPreviousDisabled:G,previousLabel:r.previousMonth,onGoToNext:V,isNextDisabled:Y,nextLabel:r.nextMonth})})]}))});process.env.NODE_ENV!=="production"&&(RC.propTypes={classes:i.object,className:i.string,currentMonth:i.object.isRequired,disabled:i.bool,disableFuture:i.bool,disablePast:i.bool,format:i.string,labelId:i.string,maxDate:i.object.isRequired,minDate:i.object.isRequired,onMonthChange:i.func.isRequired,onViewChange:i.func,reduceAnimations:i.bool.isRequired,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string.isRequired,view:i.oneOf(["day","month","year"]).isRequired,views:i.arrayOf(i.oneOf(["day","month","year"]).isRequired).isRequired});const dd=ue("div")({overflow:"hidden",width:rd,maxHeight:od,display:"flex",flexDirection:"column",margin:"0 auto"}),b_=e=>_e("MuiDateCalendar",e);Re("MuiDateCalendar",["root","viewTransitionContainer"]);const v_=["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsOrder","yearsPerRow","monthsPerRow","timezone"],y_=e=>{const{classes:t}=e;return Ve({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},b_,t)};function C_(e,t){const n=lt(),r=qi(),o=nC(),s=tt({props:e,name:t});return W({},s,{loading:s.loading??!1,disablePast:s.disablePast??!1,disableFuture:s.disableFuture??!1,openTo:s.openTo??"day",views:s.views??["year","day"],reduceAnimations:s.reduceAnimations??o,renderLoading:s.renderLoading??(()=>S.jsx("span",{children:"..."})),minDate:Wn(n,s.minDate,r.minDate),maxDate:Wn(n,s.maxDate,r.maxDate)})}const w_=ue(dd,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",height:od}),x_=ue(TC,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,t)=>t.viewTransitionContainer})({}),FC=w.forwardRef(function(t,n){const r=lt(),o=wr(),s=C_(t,"MuiDateCalendar"),{autoFocus:l,onViewChange:c,value:u,defaultValue:f,referenceDate:p,disableFuture:h,disablePast:g,onChange:v,onYearChange:y,onMonthChange:m,reduceAnimations:C,shouldDisableDate:x,shouldDisableMonth:M,shouldDisableYear:I,view:O,views:T,openTo:k,className:D,disabled:A,readOnly:j,minDate:E,maxDate:R,disableHighlightToday:H,focusedView:B,onFocusedViewChange:L,showDaysOutsideCurrentMonth:V,fixedWeekNumber:F,dayOfWeekFormatter:Y,slots:G,slotProps:U,loading:z,renderLoading:X,displayWeekNumber:de,yearsOrder:re,yearsPerRow:ie,monthsPerRow:K,timezone:se}=s,ce=je(s,v_),{value:ee,handleValueChange:te,timezone:le}=Js({name:"DateCalendar",timezone:se,value:u,defaultValue:f,referenceDate:p,onChange:v,valueManager:fn}),{view:pe,setView:q,focusedView:ne,setFocusedView:fe,goToNextView:be,setValueAndGoToNextView:ve}=Vl({view:O,views:T,openTo:k,onChange:te,onViewChange:c,autoFocus:l,focusedView:B,onFocusedViewChange:L}),{referenceDate:he,calendarState:ge,changeFocusedDay:Ce,changeMonth:Te,handleChangeMonth:Ee,isDateDisabled:Me,onMonthSwitchingAnimationEnd:dt}=eL({value:ee,referenceDate:p,reduceAnimations:C,onMonthChange:m,minDate:E,maxDate:R,shouldDisableDate:x,disablePast:g,disableFuture:h,timezone:le}),ct=A&&ee||E,it=A&&ee||R,It=`${o}-grid-label`,At=ne!==null,Vt=(G==null?void 0:G.calendarHeader)??RC,sn=pt({elementType:Vt,externalSlotProps:U==null?void 0:U.calendarHeader,additionalProps:{views:T,view:pe,currentMonth:ge.currentMonth,onViewChange:q,onMonthChange:(ke,Qe)=>Ee({newMonth:ke,direction:Qe}),minDate:ct,maxDate:it,disabled:A,disablePast:g,disableFuture:h,reduceAnimations:C,timezone:le,labelId:It},ownerState:s}),In=De(ke=>{const Qe=r.startOfMonth(ke),nt=r.endOfMonth(ke),Jt=Me(ke)?Ml({utils:r,date:ke,minDate:r.isBefore(E,Qe)?Qe:E,maxDate:r.isAfter(R,nt)?nt:R,disablePast:g,disableFuture:h,isDateDisabled:Me,timezone:le}):ke;Jt?(ve(Jt,"finish"),m==null||m(Qe)):(be(),Te(Qe)),Ce(Jt,!0)}),Ue=De(ke=>{const Qe=r.startOfYear(ke),nt=r.endOfYear(ke),Jt=Me(ke)?Ml({utils:r,date:ke,minDate:r.isBefore(E,Qe)?Qe:E,maxDate:r.isAfter(R,nt)?nt:R,disablePast:g,disableFuture:h,isDateDisabled:Me,timezone:le}):ke;Jt?(ve(Jt,"finish"),y==null||y(Jt)):(be(),Te(Qe)),Ce(Jt,!0)}),an=De(ke=>te(ke&&qu(r,ke,ee??he),"finish",pe));w.useEffect(()=>{ee!=null&&r.isValid(ee)&&Te(ee)},[ee]);const Zt=s,qt=y_(Zt),Tn={disablePast:g,disableFuture:h,maxDate:R,minDate:E},Be={disableHighlightToday:H,readOnly:j,disabled:A,timezone:le,gridLabelId:It,slots:G,slotProps:U},Je=w.useRef(pe);w.useEffect(()=>{Je.current!==pe&&(ne===Je.current&&fe(pe,!0),Je.current=pe)},[ne,fe,pe]);const Tt=w.useMemo(()=>[ee],[ee]);return S.jsxs(w_,W({ref:n,className:xe(qt.root,D),ownerState:Zt},ce,{children:[S.jsx(Vt,W({},sn,{slots:G,slotProps:U})),S.jsx(x_,{reduceAnimations:C,className:qt.viewTransitionContainer,transKey:pe,ownerState:Zt,children:S.jsxs("div",{children:[pe==="year"&&S.jsx(kC,W({},Tn,Be,{value:ee,onChange:Ue,shouldDisableYear:I,hasFocus:At,onFocusedViewChange:ke=>fe("year",ke),yearsOrder:re,yearsPerRow:ie,referenceDate:he})),pe==="month"&&S.jsx(DC,W({},Tn,Be,{hasFocus:At,className:D,value:ee,onChange:In,shouldDisableMonth:M,onFocusedViewChange:ke=>fe("month",ke),monthsPerRow:K,referenceDate:he})),pe==="day"&&S.jsx(ML,W({},ge,Tn,Be,{onMonthSwitchingAnimationEnd:dt,onFocusedDayChange:Ce,reduceAnimations:C,selectedDays:Tt,onSelectedDaysChange:an,shouldDisableDate:x,shouldDisableMonth:M,shouldDisableYear:I,hasFocus:At,onFocusedViewChange:ke=>fe("day",ke),showDaysOutsideCurrentMonth:V,fixedWeekNumber:F,dayOfWeekFormatter:Y,displayWeekNumber:de,loading:z,renderLoading:X}))]})})]}))});process.env.NODE_ENV!=="production"&&(FC.propTypes={autoFocus:i.bool,classes:i.object,className:i.string,dayOfWeekFormatter:i.func,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableHighlightToday:i.bool,disablePast:i.bool,displayWeekNumber:i.bool,fixedWeekNumber:i.number,focusedView:i.oneOf(["day","month","year"]),loading:i.bool,maxDate:i.object,minDate:i.object,monthsPerRow:i.oneOf([3,4]),onChange:i.func,onFocusedViewChange:i.func,onMonthChange:i.func,onViewChange:i.func,onYearChange:i.func,openTo:i.oneOf(["day","month","year"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,renderLoading:i.func,shouldDisableDate:i.func,shouldDisableMonth:i.func,shouldDisableYear:i.func,showDaysOutsideCurrentMonth:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,value:i.object,view:i.oneOf(["day","month","year"]),views:i.arrayOf(i.oneOf(["day","month","year"]).isRequired),yearsOrder:i.oneOf(["asc","desc"]),yearsPerRow:i.oneOf([3,4])});const Mr=({view:e,onViewChange:t,views:n,focusedView:r,onFocusedViewChange:o,value:s,defaultValue:l,referenceDate:c,onChange:u,className:f,classes:p,disableFuture:h,disablePast:g,minDate:v,maxDate:y,shouldDisableDate:m,shouldDisableMonth:C,shouldDisableYear:x,reduceAnimations:M,onMonthChange:I,monthsPerRow:O,onYearChange:T,yearsOrder:k,yearsPerRow:D,slots:A,slotProps:j,loading:E,renderLoading:R,disableHighlightToday:H,readOnly:B,disabled:L,showDaysOutsideCurrentMonth:V,dayOfWeekFormatter:F,sx:Y,autoFocus:G,fixedWeekNumber:U,displayWeekNumber:z,timezone:X})=>S.jsx(FC,{view:e,onViewChange:t,views:n.filter(zs),focusedView:r&&zs(r)?r:null,onFocusedViewChange:o,value:s,defaultValue:l,referenceDate:c,onChange:u,className:f,classes:p,disableFuture:h,disablePast:g,minDate:v,maxDate:y,shouldDisableDate:m,shouldDisableMonth:C,shouldDisableYear:x,reduceAnimations:M,onMonthChange:I,monthsPerRow:O,onYearChange:T,yearsOrder:k,yearsPerRow:D,slots:A,slotProps:j,loading:E,renderLoading:R,disableHighlightToday:H,readOnly:B,disabled:L,showDaysOutsideCurrentMonth:V,dayOfWeekFormatter:F,sx:Y,autoFocus:G,fixedWeekNumber:U,displayWeekNumber:z,timezone:X}),VC=w.forwardRef(function(t,n){var f,p;const r=Cn(),o=lt(),s=J1(t,"MuiDesktopDatePicker"),l=W({day:Mr,month:Mr,year:Mr},s.viewRenderers),c=W({},s,{viewRenderers:l,format:Dl(o,s,!1),yearsPerRow:s.yearsPerRow??4,slots:W({openPickerIcon:mC,field:Gh},s.slots),slotProps:W({},s.slotProps,{field:h=>{var g;return W({},ko((g=s.slotProps)==null?void 0:g.field,h),Xs(s),{ref:n})},toolbar:W({hidden:!0},(f=s.slotProps)==null?void 0:f.toolbar)})}),{renderPicker:u}=Vh({props:c,valueManager:fn,valueType:"date",getOpenDialogAriaText:Ys({utils:o,formatKey:"fullDate",contextTranslation:r.openDatePickerDialogue,propsTranslation:(p=c.localeText)==null?void 0:p.openDatePickerDialogue}),validator:Us});return u()});VC.propTypes={autoFocus:i.bool,className:i.string,closeOnSelect:i.bool,dayOfWeekFormatter:i.func,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableHighlightToday:i.bool,disableOpenPicker:i.bool,disablePast:i.bool,displayWeekNumber:i.bool,enableAccessibleFieldDOMStructure:i.any,fixedWeekNumber:i.number,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),inputRef:Rt,label:i.node,loading:i.bool,localeText:i.object,maxDate:i.object,minDate:i.object,monthsPerRow:i.oneOf([3,4]),name:i.string,onAccept:i.func,onChange:i.func,onClose:i.func,onError:i.func,onMonthChange:i.func,onOpen:i.func,onSelectedSectionsChange:i.func,onViewChange:i.func,onYearChange:i.func,open:i.bool,openTo:i.oneOf(["day","month","year"]),orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,renderLoading:i.func,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableDate:i.func,shouldDisableMonth:i.func,shouldDisableYear:i.func,showDaysOutsideCurrentMonth:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,value:i.object,view:i.oneOf(["day","month","year"]),viewRenderers:i.shape({day:i.func,month:i.func,year:i.func}),views:i.arrayOf(i.oneOf(["day","month","year"]).isRequired),yearsOrder:i.oneOf(["asc","desc"]),yearsPerRow:i.oneOf([3,4])};const S_=ue(py)({[`& .${ul.container}`]:{outline:0},[`& .${ul.paper}`]:{outline:0,minWidth:rd}}),I_=ue(my)({"&:first-of-type":{padding:0}});function T_(e){const{children:t,onDismiss:n,open:r,slots:o,slotProps:s}=e,l=(o==null?void 0:o.dialog)??S_,c=(o==null?void 0:o.mobileTransition)??di;return S.jsx(l,W({open:r,onClose:n},s==null?void 0:s.dialog,{TransitionComponent:c,TransitionProps:s==null?void 0:s.mobileTransition,PaperComponent:o==null?void 0:o.mobilePaper,PaperProps:s==null?void 0:s.mobilePaper,children:S.jsx(I_,{children:t})}))}const O_=["props","getOpenDialogAriaText"],Yh=e=>{var X;let{props:t,getOpenDialogAriaText:n}=e,r=je(e,O_);const{slots:o,slotProps:s,className:l,sx:c,format:u,formatDensity:f,enableAccessibleFieldDOMStructure:p,selectedSections:h,onSelectedSectionsChange:g,timezone:v,name:y,label:m,inputRef:C,readOnly:x,disabled:M,localeText:I}=t,O=w.useRef(null),T=wr(),k=((X=s==null?void 0:s.toolbar)==null?void 0:X.hidden)??!1,{open:D,actions:A,layoutProps:j,renderCurrentView:E,fieldProps:R,contextValue:H}=sC(W({},r,{props:t,fieldRef:O,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),B=o.field,L=pt({elementType:B,externalSlotProps:s==null?void 0:s.field,additionalProps:W({},R,k&&{id:T},!(M||x)&&{onClick:A.onOpen,onKeyDown:d9(A.onOpen)},{readOnly:x??!0,disabled:M,className:l,sx:c,format:u,formatDensity:f,enableAccessibleFieldDOMStructure:p,selectedSections:h,onSelectedSectionsChange:g,timezone:v,label:m,name:y},C?{inputRef:C}:{}),ownerState:t});L.inputProps=W({},L.inputProps,{"aria-label":n(R.value)});const V=W({textField:o.textField},L.slots),F=o.layout??Fh;let Y=T;k&&(m?Y=`${T}-label`:Y=void 0);const G=W({},s,{toolbar:W({},s==null?void 0:s.toolbar,{titleId:T}),mobilePaper:W({"aria-labelledby":Y},s==null?void 0:s.mobilePaper)}),U=Ct(O,L.unstableFieldRef);return{renderPicker:()=>S.jsxs(hC,{contextValue:H,localeText:I,children:[S.jsx(B,W({},L,{slots:V,slotProps:G,unstableFieldRef:U})),S.jsx(T_,W({},A,{open:D,slots:o,slotProps:G,children:S.jsx(F,W({},j,G==null?void 0:G.layout,{slots:o,slotProps:G,children:E()}))}))]})}},LC=w.forwardRef(function(t,n){var f,p;const r=Cn(),o=lt(),s=J1(t,"MuiMobileDatePicker"),l=W({day:Mr,month:Mr,year:Mr},s.viewRenderers),c=W({},s,{viewRenderers:l,format:Dl(o,s,!1),slots:W({field:Gh},s.slots),slotProps:W({},s.slotProps,{field:h=>{var g;return W({},ko((g=s.slotProps)==null?void 0:g.field,h),Xs(s),{ref:n})},toolbar:W({hidden:!1},(f=s.slotProps)==null?void 0:f.toolbar)})}),{renderPicker:u}=Yh({props:c,valueManager:fn,valueType:"date",getOpenDialogAriaText:Ys({utils:o,formatKey:"fullDate",contextTranslation:r.openDatePickerDialogue,propsTranslation:(p=c.localeText)==null?void 0:p.openDatePickerDialogue}),validator:Us});return u()});LC.propTypes={autoFocus:i.bool,className:i.string,closeOnSelect:i.bool,dayOfWeekFormatter:i.func,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableHighlightToday:i.bool,disableOpenPicker:i.bool,disablePast:i.bool,displayWeekNumber:i.bool,enableAccessibleFieldDOMStructure:i.any,fixedWeekNumber:i.number,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),inputRef:Rt,label:i.node,loading:i.bool,localeText:i.object,maxDate:i.object,minDate:i.object,monthsPerRow:i.oneOf([3,4]),name:i.string,onAccept:i.func,onChange:i.func,onClose:i.func,onError:i.func,onMonthChange:i.func,onOpen:i.func,onSelectedSectionsChange:i.func,onViewChange:i.func,onYearChange:i.func,open:i.bool,openTo:i.oneOf(["day","month","year"]),orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,renderLoading:i.func,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableDate:i.func,shouldDisableMonth:i.func,shouldDisableYear:i.func,showDaysOutsideCurrentMonth:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,value:i.object,view:i.oneOf(["day","month","year"]),viewRenderers:i.shape({day:i.func,month:i.func,year:i.func}),views:i.arrayOf(i.oneOf(["day","month","year"]).isRequired),yearsOrder:i.oneOf(["asc","desc"]),yearsPerRow:i.oneOf([3,4])};const P_=["desktopModeMediaQuery"],Uh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiDatePicker"}),{desktopModeMediaQuery:o=Ah}=r,s=je(r,P_);return mu(o,{defaultMatches:!0})?S.jsx(VC,W({ref:n},s)):S.jsx(LC,W({ref:n},s))});process.env.NODE_ENV!=="production"&&(Uh.propTypes={autoFocus:i.bool,className:i.string,closeOnSelect:i.bool,dayOfWeekFormatter:i.func,defaultValue:i.object,desktopModeMediaQuery:i.string,disabled:i.bool,disableFuture:i.bool,disableHighlightToday:i.bool,disableOpenPicker:i.bool,disablePast:i.bool,displayWeekNumber:i.bool,enableAccessibleFieldDOMStructure:i.any,fixedWeekNumber:i.number,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),inputRef:Rt,label:i.node,loading:i.bool,localeText:i.object,maxDate:i.object,minDate:i.object,monthsPerRow:i.oneOf([3,4]),name:i.string,onAccept:i.func,onChange:i.func,onClose:i.func,onError:i.func,onMonthChange:i.func,onOpen:i.func,onSelectedSectionsChange:i.func,onViewChange:i.func,onYearChange:i.func,open:i.bool,openTo:i.oneOf(["day","month","year"]),orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,renderLoading:i.func,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableDate:i.func,shouldDisableMonth:i.func,shouldDisableYear:i.func,showDaysOutsideCurrentMonth:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,value:i.object,view:i.oneOf(["day","month","year"]),viewRenderers:i.shape({day:i.func,month:i.func,year:i.func}),views:i.arrayOf(i.oneOf(["day","month","year"]).isRequired),yearsOrder:i.oneOf(["asc","desc"]),yearsPerRow:i.oneOf([3,4])});const E_=e=>{const t=pV(e),{forwardedProps:n,internalProps:r}=Bh(t,"date-time");return Lh({forwardedProps:n,internalProps:r,valueManager:fn,fieldValueManager:Ph,validator:ed,valueType:"date-time"})},M_=["slots","slotProps","InputProps","inputProps"],Xh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiDateTimeField"}),{slots:o,slotProps:s,InputProps:l,inputProps:c}=r,u=je(r,M_),f=r,p=(o==null?void 0:o.textField)??(t.enableAccessibleFieldDOMStructure?ad:vl),h=pt({elementType:p,externalSlotProps:s==null?void 0:s.textField,externalForwardedProps:u,ownerState:f,additionalProps:{ref:n}});h.inputProps=W({},c,h.inputProps),h.InputProps=W({},l,h.InputProps);const g=E_(h),v=zh(g),y=_h(W({},v,{slots:o,slotProps:s}));return S.jsx(p,W({},y))});process.env.NODE_ENV!=="production"&&(Xh.propTypes={ampm:i.bool,autoFocus:i.bool,className:i.string,clearable:i.bool,color:i.oneOf(["error","info","primary","secondary","success","warning"]),component:i.elementType,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disablePast:i.bool,enableAccessibleFieldDOMStructure:i.bool,focused:i.bool,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),FormHelperTextProps:i.object,fullWidth:i.bool,helperText:i.node,hiddenLabel:i.bool,id:i.string,InputLabelProps:i.object,inputProps:i.object,InputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none","normal"]),maxDate:i.object,maxDateTime:i.object,maxTime:i.object,minDate:i.object,minDateTime:i.object,minTime:i.object,minutesStep:i.number,name:i.string,onBlur:i.func,onChange:i.func,onClear:i.func,onError:i.func,onFocus:i.func,onSelectedSectionsChange:i.func,readOnly:i.bool,referenceDate:i.object,required:i.bool,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableDate:i.func,shouldDisableMonth:i.func,shouldDisableTime:i.func,shouldDisableYear:i.func,shouldRespectLeadingZeros:i.bool,size:i.oneOf(["medium","small"]),slotProps:i.object,slots:i.object,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,unstableFieldRef:i.oneOfType([i.func,i.object]),value:i.object,variant:i.oneOf(["filled","outlined","standard"])});function D_(e){return _e("MuiDateTimePickerTabs",e)}Re("MuiDateTimePickerTabs",["root"]);const k_=e=>zs(e)?"date":"time",A_=e=>e==="date"?"day":"hours",N_=e=>{const{classes:t}=e;return Ve({root:["root"]},D_,t)},R_=ue($p,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({boxShadow:`0 -1px 0 0 inset ${(e.vars||e).palette.divider}`,"&:last-child":{boxShadow:`0 1px 0 0 inset ${(e.vars||e).palette.divider}`,[`& .${Su.indicator}`]:{bottom:"auto",top:0}}})),_C=function(t){const n=tt({props:t,name:"MuiDateTimePickerTabs"}),{dateIcon:r=S.jsx(U9,{}),onViewChange:o,timeIcon:s=S.jsx(X9,{}),view:l,hidden:c=typeof window>"u"||window.innerHeight<667,className:u,sx:f}=n,p=Cn(),h=N_(n),g=(v,y)=>{o(A_(y))};return c?null:S.jsxs(R_,{ownerState:n,variant:"fullWidth",value:k_(l),onChange:g,className:xe(u,h.root),sx:f,children:[S.jsx(xu,{value:"date","aria-label":p.dateTableLabel,icon:S.jsx(w.Fragment,{children:r})}),S.jsx(xu,{value:"time","aria-label":p.timeTableLabel,icon:S.jsx(w.Fragment,{children:s})})]})};process.env.NODE_ENV!=="production"&&(_C.propTypes={classes:i.object,className:i.string,dateIcon:i.node,hidden:i.bool,onViewChange:i.func.isRequired,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timeIcon:i.node,view:i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]).isRequired});function F_(e){return _e("MuiPickersToolbarText",e)}const Zh=Re("MuiPickersToolbarText",["root","selected"]),V_=["className","selected","value"],L_=e=>{const{classes:t,selected:n}=e;return Ve({root:["root",n&&"selected"]},F_,t)},__=ue(io,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${Zh.selected}`]:t.selected}]})(({theme:e})=>({transition:e.transitions.create("color"),color:(e.vars||e).palette.text.secondary,[`&.${Zh.selected}`]:{color:(e.vars||e).palette.text.primary}})),qh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersToolbarText"}),{className:o,value:s}=r,l=je(r,V_),c=L_(r);return S.jsx(__,W({ref:n,className:xe(c.root,o),component:"span"},l,{children:s}))}),B_=["align","className","selected","typographyClassName","value","variant","width"],$_=e=>{const{classes:t}=e;return Ve({root:["root"]},Z1,t)},W_=ue(Rs,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,minWidth:16,textTransform:"none"}),ur=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiPickersToolbarButton"}),{align:o,className:s,selected:l,typographyClassName:c,value:u,variant:f,width:p}=r,h=je(r,B_),g=$_(r);return S.jsx(W_,W({variant:"text",ref:n,className:xe(g.root,s)},p?{sx:{width:p}}:{},h,{children:S.jsx(qh,{align:o,className:c,variant:f,value:u,selected:l})}))});function j_(e){return _e("MuiDateTimePickerToolbar",e)}const Jh=Re("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]),H_=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant","toolbarTitle","className"],z_=e=>{const{classes:t,isLandscape:n,isRtl:r}=e;return Ve({root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer",r&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer",r&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",n&&"ampmLandscape"],ampmLabel:["ampmLabel"]},j_,t)},G_=ue(Mh,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({paddingLeft:16,paddingRight:16,justifyContent:"space-around",position:"relative",variants:[{props:{toolbarVariant:"desktop"},style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,[`& .${Q3.content} .${Zh.selected}`]:{color:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightBold}}},{props:{toolbarVariant:"desktop",isLandscape:!0},style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{paddingLeft:24,paddingRight:0}}]})),Y_=ue("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(e,t)=>t.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),U_=ue("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(e,t)=>t.timeContainer})({display:"flex",flexDirection:"row",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{gap:9,marginRight:4,alignSelf:"flex-end"}},{props:({isLandscape:e,toolbarVariant:t})=>e&&t!=="desktop",style:{flexDirection:"column"}},{props:({isLandscape:e,toolbarVariant:t,isRtl:n})=>e&&t!=="desktop"&&n,style:{flexDirection:"column-reverse"}}]}),X_=ue("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:(e,t)=>t.timeDigitsContainer})({display:"flex",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop"},style:{gap:1.5}}]}),BC=ue(qh,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({margin:"0 4px 0 2px",cursor:"default",variants:[{props:{toolbarVariant:"desktop"},style:{margin:0}}]}),Z_=ue("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${Jh.ampmLabel}`]:t.ampmLabel},{[`&.${Jh.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${Jh.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"}}]});function $C(e){const t=tt({props:e,name:"MuiDateTimePickerToolbar"}),{ampm:n,ampmInClock:r,value:o,onChange:s,view:l,isLandscape:c,onViewChange:u,toolbarFormat:f,toolbarPlaceholder:p="––",views:h,disabled:g,readOnly:v,toolbarVariant:y="mobile",toolbarTitle:m,className:C}=t,x=je(t,H_),M=xn(),I=W({},t,{isRtl:M}),O=lt(),{meridiemMode:T,handleMeridiemChange:k}=ud(o,n,s),D=!!(n&&!r),A=y==="desktop",j=Cn(),E=z_(I),R=m??j.dateTimePickerToolbarTitle,H=L=>n?O.format(L,"hours12h"):O.format(L,"hours24h"),B=w.useMemo(()=>o?f?O.formatByString(o,f):O.format(o,"shortDate"):p,[o,f,p,O]);return S.jsxs(G_,W({isLandscape:c,className:xe(E.root,C),toolbarTitle:R},x,{ownerState:I,children:[S.jsxs(Y_,{className:E.dateContainer,ownerState:I,children:[h.includes("year")&&S.jsx(ur,{tabIndex:-1,variant:"subtitle1",onClick:()=>u("year"),selected:l==="year",value:o?O.format(o,"year"):"–"}),h.includes("day")&&S.jsx(ur,{tabIndex:-1,variant:A?"h5":"h4",onClick:()=>u("day"),selected:l==="day",value:B})]}),S.jsxs(U_,{className:E.timeContainer,ownerState:I,children:[S.jsxs(X_,{className:E.timeDigitsContainer,ownerState:I,children:[h.includes("hours")&&S.jsxs(w.Fragment,{children:[S.jsx(ur,{variant:A?"h5":"h3",width:A&&!c?_l:void 0,onClick:()=>u("hours"),selected:l==="hours",value:o?H(o):"--"}),S.jsx(BC,{variant:A?"h5":"h3",value:":",className:E.separator,ownerState:I}),S.jsx(ur,{variant:A?"h5":"h3",width:A&&!c?_l:void 0,onClick:()=>u("minutes"),selected:l==="minutes"||!h.includes("minutes")&&l==="hours",value:o?O.format(o,"minutes"):"--",disabled:!h.includes("minutes")})]}),h.includes("seconds")&&S.jsxs(w.Fragment,{children:[S.jsx(BC,{variant:A?"h5":"h3",value:":",className:E.separator,ownerState:I}),S.jsx(ur,{variant:A?"h5":"h3",width:A&&!c?_l:void 0,onClick:()=>u("seconds"),selected:l==="seconds",value:o?O.format(o,"seconds"):"--"})]})]}),D&&!A&&S.jsxs(Z_,{className:E.ampmSelection,ownerState:I,children:[S.jsx(ur,{variant:"subtitle2",selected:T==="am",typographyClassName:E.ampmLabel,value:Hr(O,"am"),onClick:v?void 0:()=>k("am"),disabled:g}),S.jsx(ur,{variant:"subtitle2",selected:T==="pm",typographyClassName:E.ampmLabel,value:Hr(O,"pm"),onClick:v?void 0:()=>k("pm"),disabled:g})]}),n&&A&&S.jsx(ur,{variant:"h5",onClick:()=>u("meridiem"),selected:l==="meridiem",value:o&&T?Hr(O,T):"--",width:_l})]})]}))}process.env.NODE_ENV!=="production"&&($C.propTypes={ampm:i.bool,ampmInClock:i.bool,classes:i.object,className:i.string,disabled:i.bool,hidden:i.bool,isLandscape:i.bool.isRequired,onChange:i.func.isRequired,onViewChange:i.func.isRequired,readOnly:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),titleId:i.string,toolbarFormat:i.string,toolbarPlaceholder:i.node,toolbarTitle:i.node,toolbarVariant:i.oneOf(["desktop","mobile"]),value:i.object,view:i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),views:i.arrayOf(i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]).isRequired).isRequired});function WC(e,t){var c;const n=lt(),r=qi(),o=tt({props:e,name:t}),s=o.ampm??n.is12HourCycleInCurrentLocale(),l=w.useMemo(()=>{var u;return((u=o.localeText)==null?void 0:u.toolbarTitle)==null?o.localeText:W({},o.localeText,{dateTimePickerToolbarTitle:o.localeText.toolbarTitle})},[o.localeText]);return W({},o,Ch({views:o.views,openTo:o.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:s,localeText:l,orientation:o.orientation??"portrait",disableIgnoringDatePartForTimeValidation:o.disableIgnoringDatePartForTimeValidation??!!(o.minDateTime||o.maxDateTime||o.disablePast||o.disableFuture),disableFuture:o.disableFuture??!1,disablePast:o.disablePast??!1,minDate:Wn(n,o.minDateTime??o.minDate,r.minDate),maxDate:Wn(n,o.maxDateTime??o.maxDate,r.maxDate),minTime:o.minDateTime??o.minTime,maxTime:o.maxDateTime??o.maxTime,slots:W({toolbar:$C,tabs:_C},o.slots),slotProps:W({},o.slotProps,{toolbar:W({ampm:s},(c=o.slotProps)==null?void 0:c.toolbar)})})}const q_=["views","format"],jC=(e,t,n)=>{let{views:r,format:o}=t,s=je(t,q_);if(o)return o;const l=[],c=[];if(r.forEach(p=>{Gs(p)?c.push(p):zs(p)&&l.push(p)}),c.length===0)return Dl(e,W({views:l},s),!1);if(l.length===0)return Ju(e,W({views:c},s));const u=Ju(e,W({views:c},s));return`${Dl(e,W({views:l},s),!1)} ${u}`},J_=(e,t,n)=>n?t.filter(r=>!kl(r)||r==="hours"):e?[...t,"meridiem"]:t,K_=(e,t)=>24*60/((e.hours??1)*(e.minutes??5))<=t;function HC({thresholdToRenderTimeInASingleColumn:e,ampm:t,timeSteps:n,views:r}){const o=e??24,s=W({hours:1,minutes:5,seconds:5},n),l=K_(s,o);return{thresholdToRenderTimeInASingleColumn:o,timeSteps:s,shouldRenderTimeInASingleColumn:l,views:J_(t,r,l)}}function Q_(e){return _e("MuiTimeClock",e)}Re("MuiTimeClock",["root","arrowSwitcher"]);const ta=220,jo=36,jl={x:ta/2,y:ta/2},zC={x:jl.x,y:0},eB=zC.x-jl.x,tB=zC.y-jl.y,nB=e=>e*(180/Math.PI),GC=(e,t,n)=>{const r=t-jl.x,o=n-jl.y,s=Math.atan2(eB,tB)-Math.atan2(r,o);let l=nB(s);l=Math.round(l/e)*e,l%=360;const c=Math.floor(l/e)||0,u=r**2+o**2,f=Math.sqrt(u);return{value:c,distance:f}},rB=(e,t,n=1)=>{const r=n*6;let{value:o}=GC(r,e,t);return o=o*n%60,o},oB=(e,t,n)=>{const{value:r,distance:o}=GC(30,e,t);let s=r||12;return n?s%=12:o<ta/2-jo&&(s+=12,s%=24),s};function iB(e){return _e("MuiClockPointer",e)}Re("MuiClockPointer",["root","thumb"]);const sB=["className","hasSelected","isInner","type","viewValue"],aB=e=>{const{classes:t}=e;return Ve({root:["root"],thumb:["thumb"]},iB,t)},lB=ue("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({width:2,backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px",variants:[{props:{shouldAnimate:!0},style:{transition:e.transitions.create(["transform","height"])}}]})),cB=ue("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({width:4,height:4,backgroundColor:(e.vars||e).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:`calc(50% - ${jo/2}px)`,border:`${(jo-4)/2}px solid ${(e.vars||e).palette.primary.main}`,boxSizing:"content-box",variants:[{props:{hasSelected:!0},style:{backgroundColor:(e.vars||e).palette.primary.main}}]}));function uB(e){const t=tt({props:e,name:"MuiClockPointer"}),{className:n,isInner:r,type:o,viewValue:s}=t,l=je(t,sB),c=w.useRef(o);w.useEffect(()=>{c.current=o},[o]);const u=W({},t,{shouldAnimate:c.current!==o}),f=aB(u),p=()=>{let g=360/(o==="hours"?12:60)*s;return o==="hours"&&s>12&&(g-=360),{height:Math.round((r?.26:.4)*ta),transform:`rotateZ(${g}deg)`}};return S.jsx(lB,W({style:p(),className:xe(f.root,n),ownerState:u},l,{children:S.jsx(cB,{ownerState:u,className:f.thumb})}))}function dB(e){return _e("MuiClock",e)}Re("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText","selected"]);const fB=e=>{const{classes:t,meridiemMode:n}=e;return Ve({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton",n==="am"&&"selected"],pmButton:["pmButton",n==="pm"&&"selected"],meridiemText:["meridiemText"]},dB,t)},pB=ue("div",{name:"MuiClock",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:e.spacing(2)})),hB=ue("div",{name:"MuiClock",slot:"Clock",overridesResolver:(e,t)=>t.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),mB=ue("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({"&:focus":{outline:"none"}}),gB=ue("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(e,t)=>t.squareMask})({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none",variants:[{props:{disabled:!1},style:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}}}]}),bB=ue("div",{name:"MuiClock",slot:"Pin",overridesResolver:(e,t)=>t.pin})(({theme:e})=>({width:6,height:6,borderRadius:"50%",backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"})),YC=(e,t)=>({zIndex:1,bottom:8,paddingLeft:4,paddingRight:4,width:jo,variants:[{props:{meridiemMode:t},style:{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}}]}),vB=ue(ci,{name:"MuiClock",slot:"AmButton",overridesResolver:(e,t)=>t.amButton})(({theme:e})=>W({},YC(e,"am"),{position:"absolute",left:8})),yB=ue(ci,{name:"MuiClock",slot:"PmButton",overridesResolver:(e,t)=>t.pmButton})(({theme:e})=>W({},YC(e,"pm"),{position:"absolute",right:8})),UC=ue(io,{name:"MuiClock",slot:"meridiemText",overridesResolver:(e,t)=>t.meridiemText})({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function CB(e){const t=tt({props:e,name:"MuiClock"}),{ampm:n,ampmInClock:r,autoFocus:o,children:s,value:l,handleMeridiemChange:c,isTimeDisabled:u,meridiemMode:f,minutesStep:p=1,onChange:h,selectedId:g,type:v,viewValue:y,viewRange:[m,C],disabled:x=!1,readOnly:M,className:I}=t,O=t,T=lt(),k=Cn(),D=w.useRef(!1),A=fB(O),j=u(y,v),E=!n&&v==="hours"&&(y<1||y>12),R=(re,ie)=>{x||M||u(re,v)||h(re,ie)},H=(re,ie)=>{let{offsetX:K,offsetY:se}=re;if(K===void 0){const ee=re.target.getBoundingClientRect();K=re.changedTouches[0].clientX-ee.left,se=re.changedTouches[0].clientY-ee.top}const ce=v==="seconds"||v==="minutes"?rB(K,se,p):oB(K,se,!!n);R(ce,ie)},B=re=>{D.current=!0,H(re,"shallow")},L=re=>{D.current&&(H(re,"finish"),D.current=!1),re.preventDefault()},V=re=>{re.buttons>0&&H(re.nativeEvent,"shallow")},F=re=>{D.current&&(D.current=!1),H(re.nativeEvent,"finish")},Y=w.useMemo(()=>v==="hours"?!0:y%5===0,[v,y]),G=v==="minutes"?p:1,U=w.useRef(null);gn(()=>{o&&U.current.focus()},[o]);const z=re=>Math.max(m,Math.min(C,re)),X=re=>(re+(C+1))%(C+1),de=re=>{if(!D.current)switch(re.key){case"Home":R(m,"partial"),re.preventDefault();break;case"End":R(C,"partial"),re.preventDefault();break;case"ArrowUp":R(X(y+G),"partial"),re.preventDefault();break;case"ArrowDown":R(X(y-G),"partial"),re.preventDefault();break;case"PageUp":R(z(y+5),"partial"),re.preventDefault();break;case"PageDown":R(z(y-5),"partial"),re.preventDefault();break;case"Enter":case" ":R(y,"finish"),re.preventDefault();break}};return S.jsxs(pB,{className:xe(A.root,I),children:[S.jsxs(hB,{className:A.clock,children:[S.jsx(gB,{onTouchMove:B,onTouchStart:B,onTouchEnd:L,onMouseUp:F,onMouseMove:V,ownerState:{disabled:x},className:A.squareMask}),!j&&S.jsxs(w.Fragment,{children:[S.jsx(bB,{className:A.pin}),l!=null&&S.jsx(uB,{type:v,viewValue:y,isInner:E,hasSelected:Y})]}),S.jsx(mB,{"aria-activedescendant":g,"aria-label":k.clockLabelText(v,l,T,l==null?null:T.format(l,"fullTime")),ref:U,role:"listbox",onKeyDown:de,tabIndex:0,className:A.wrapper,children:s})]}),n&&r&&S.jsxs(w.Fragment,{children:[S.jsx(vB,{onClick:M?void 0:()=>c("am"),disabled:x||f===null,ownerState:O,className:A.amButton,title:Hr(T,"am"),children:S.jsx(UC,{variant:"caption",className:A.meridiemText,children:Hr(T,"am")})}),S.jsx(yB,{disabled:x||f===null,onClick:M?void 0:()=>c("pm"),ownerState:O,className:A.pmButton,title:Hr(T,"pm"),children:S.jsx(UC,{variant:"caption",className:A.meridiemText,children:Hr(T,"pm")})})]})]})}function wB(e){return _e("MuiClockNumber",e)}const fd=Re("MuiClockNumber",["root","selected","disabled"]),xB=["className","disabled","index","inner","label","selected"],SB=e=>{const{classes:t,selected:n,disabled:r}=e;return Ve({root:["root",n&&"selected",r&&"disabled"]},wB,t)},IB=ue("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${fd.disabled}`]:t.disabled},{[`&.${fd.selected}`]:t.selected}]})(({theme:e})=>({height:jo,width:jo,position:"absolute",left:`calc((100% - ${jo}px) / 2)`,display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(e.vars||e).palette.text.primary,fontFamily:e.typography.fontFamily,"&:focused":{backgroundColor:(e.vars||e).palette.background.paper},[`&.${fd.selected}`]:{color:(e.vars||e).palette.primary.contrastText},[`&.${fd.disabled}`]:{pointerEvents:"none",color:(e.vars||e).palette.text.disabled},variants:[{props:{inner:!0},style:W({},e.typography.body2,{color:(e.vars||e).palette.text.secondary})}]}));function XC(e){const t=tt({props:e,name:"MuiClockNumber"}),{className:n,disabled:r,index:o,inner:s,label:l,selected:c}=t,u=je(t,xB),f=t,p=SB(f),h=o%12/12*Math.PI*2-Math.PI/2,g=(ta-jo-2)/2*(s?.65:1),v=Math.round(Math.cos(h)*g),y=Math.round(Math.sin(h)*g);return S.jsx(IB,W({className:xe(p.root,n),"aria-disabled":r?!0:void 0,"aria-selected":c?!0:void 0,role:"option",style:{transform:`translate(${v}px, ${y+(ta-jo)/2}px`},ownerState:f},u,{children:l}))}const TB=({ampm:e,value:t,getClockNumberText:n,isDisabled:r,selectedId:o,utils:s})=>{const l=t?s.getHours(t):null,c=[],u=e?1:0,f=e?12:23,p=h=>l===null?!1:e?h===12?l===12||l===0:l===h||l-12===h:l===h;for(let h=u;h<=f;h+=1){let g=h.toString();h===0&&(g="00");const v=!e&&(h===0||h>12);g=s.formatNumber(g);const y=p(h);c.push(S.jsx(XC,{id:y?o:void 0,index:h,inner:v,selected:y,disabled:r(h),label:g,"aria-label":n(g)},h))}return c},ZC=({utils:e,value:t,isDisabled:n,getClockNumberText:r,selectedId:o})=>{const s=e.formatNumber;return[[5,s("05")],[10,s("10")],[15,s("15")],[20,s("20")],[25,s("25")],[30,s("30")],[35,s("35")],[40,s("40")],[45,s("45")],[50,s("50")],[55,s("55")],[0,s("00")]].map(([l,c],u)=>{const f=l===t;return S.jsx(XC,{label:c,id:f?o:void 0,index:u+1,inner:!1,disabled:n(l),selected:f,"aria-label":r(c)},l)})},Kh=({value:e,referenceDate:t,utils:n,props:r,timezone:o})=>{const s=w.useMemo(()=>fn.getInitialReferenceValue({value:e,utils:n,props:r,referenceDate:t,granularity:zr.day,timezone:o,getTodayDate:()=>xh(n,o,"date")}),[]);return e??s},OB=["ampm","ampmInClock","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],PB=e=>{const{classes:t}=e;return Ve({root:["root"],arrowSwitcher:["arrowSwitcher"]},Q_,t)},EB=ue(dd,{name:"MuiTimeClock",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",position:"relative"}),MB=ue(NC,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:(e,t)=>t.arrowSwitcher})({position:"absolute",right:12,top:15}),DB=["hours","minutes"],qC=w.forwardRef(function(t,n){const r=lt(),o=tt({props:t,name:"MuiTimeClock"}),{ampm:s=r.is12HourCycleInCurrentLocale(),ampmInClock:l=!1,autoFocus:c,slots:u,slotProps:f,value:p,defaultValue:h,referenceDate:g,disableIgnoringDatePartForTimeValidation:v=!1,maxTime:y,minTime:m,disableFuture:C,disablePast:x,minutesStep:M=1,shouldDisableTime:I,showViewSwitcher:O,onChange:T,view:k,views:D=DB,openTo:A,onViewChange:j,focusedView:E,onFocusedViewChange:R,className:H,disabled:B,readOnly:L,timezone:V}=o,F=je(o,OB),{value:Y,handleValueChange:G,timezone:U}=Js({name:"TimeClock",timezone:V,value:p,defaultValue:h,referenceDate:g,onChange:T,valueManager:fn}),z=Kh({value:Y,referenceDate:g,utils:r,props:o,timezone:U}),X=Cn(),de=Ji(U),{view:re,setView:ie,previousView:K,nextView:se,setValueAndGoToNextView:ce}=Vl({view:k,views:D,openTo:A,onViewChange:j,onChange:G,focusedView:E,onFocusedViewChange:R}),{meridiemMode:ee,handleMeridiemChange:te}=ud(z,s,ce),le=w.useCallback((be,ve)=>{const he=Nl(v,r),ge=ve==="hours"||ve==="minutes"&&D.includes("seconds"),Ce=({start:Ee,end:Me})=>!(m&&he(m,Me)||y&&he(Ee,y)||C&&he(Ee,de)||x&&he(de,ge?Me:Ee)),Te=(Ee,Me=1)=>{if(Ee%Me!==0)return!1;if(I)switch(ve){case"hours":return!I(r.setHours(z,Ee),"hours");case"minutes":return!I(r.setMinutes(z,Ee),"minutes");case"seconds":return!I(r.setSeconds(z,Ee),"seconds");default:return!1}return!0};switch(ve){case"hours":{const Ee=Al(be,ee,s),Me=r.setHours(z,Ee);if(r.getHours(Me)!==Ee)return!0;const dt=r.setSeconds(r.setMinutes(Me,0),0),ct=r.setSeconds(r.setMinutes(Me,59),59);return!Ce({start:dt,end:ct})||!Te(Ee)}case"minutes":{const Ee=r.setMinutes(z,be),Me=r.setSeconds(Ee,0),dt=r.setSeconds(Ee,59);return!Ce({start:Me,end:dt})||!Te(be,M)}case"seconds":{const Ee=r.setSeconds(z,be);return!Ce({start:Ee,end:Ee})||!Te(be)}default:throw new Error("not supported")}},[s,z,v,y,ee,m,M,I,r,C,x,de,D]),pe=wr(),q=w.useMemo(()=>{switch(re){case"hours":{const be=(ge,Ce)=>{const Te=Al(ge,ee,s);ce(r.setHours(z,Te),Ce,"hours")},ve=r.getHours(z);let he;return s?ve>12?he=[12,23]:he=[0,11]:he=[0,23],{onChange:be,viewValue:ve,children:TB({value:Y,utils:r,ampm:s,getClockNumberText:X.hoursClockNumberText,isDisabled:ge=>B||le(ge,"hours"),selectedId:pe}),viewRange:he}}case"minutes":{const be=r.getMinutes(z);return{viewValue:be,onChange:(he,ge)=>{ce(r.setMinutes(z,he),ge,"minutes")},children:ZC({utils:r,value:be,getClockNumberText:X.minutesClockNumberText,isDisabled:he=>B||le(he,"minutes"),selectedId:pe}),viewRange:[0,59]}}case"seconds":{const be=r.getSeconds(z);return{viewValue:be,onChange:(he,ge)=>{ce(r.setSeconds(z,he),ge,"seconds")},children:ZC({utils:r,value:be,getClockNumberText:X.secondsClockNumberText,isDisabled:he=>B||le(he,"seconds"),selectedId:pe}),viewRange:[0,59]}}default:throw new Error("You must provide the type for ClockView")}},[re,r,Y,s,X.hoursClockNumberText,X.minutesClockNumberText,X.secondsClockNumberText,ee,ce,z,le,pe,B]),ne=o,fe=PB(ne);return S.jsxs(EB,W({ref:n,className:xe(fe.root,H),ownerState:ne},F,{children:[S.jsx(CB,W({autoFocus:c??!!E,ampmInClock:l&&D.includes("hours"),value:Y,type:re,ampm:s,minutesStep:M,isTimeDisabled:le,meridiemMode:ee,handleMeridiemChange:te,selectedId:pe,disabled:B,readOnly:L},q)),O&&S.jsx(MB,{className:fe.arrowSwitcher,slots:u,slotProps:f,onGoToPrevious:()=>ie(K),isPreviousDisabled:!K,previousLabel:X.openPreviousView,onGoToNext:()=>ie(se),isNextDisabled:!se,nextLabel:X.openNextView,ownerState:ne})]}))});process.env.NODE_ENV!=="production"&&(qC.propTypes={ampm:i.bool,ampmInClock:i.bool,autoFocus:i.bool,classes:i.object,className:i.string,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disablePast:i.bool,focusedView:i.oneOf(["hours","minutes","seconds"]),maxTime:i.object,minTime:i.object,minutesStep:i.number,onChange:i.func,onFocusedViewChange:i.func,onViewChange:i.func,openTo:i.oneOf(["hours","minutes","seconds"]),readOnly:i.bool,referenceDate:i.object,shouldDisableTime:i.func,showViewSwitcher:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,value:i.object,view:i.oneOf(["hours","minutes","seconds"]),views:i.arrayOf(i.oneOf(["hours","minutes","seconds"]).isRequired)});function kB(e){return _e("MuiDigitalClock",e)}const AB=Re("MuiDigitalClock",["root","list","item"]),NB=["ampm","timeStep","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],RB=e=>{const{classes:t}=e;return Ve({root:["root"],list:["list"],item:["item"]},kB,t)},FB=ue(dd,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})({overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},maxHeight:cC,variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}),VB=ue(bu,{name:"MuiDigitalClock",slot:"List",overridesResolver:(e,t)=>t.list})({padding:0}),LB=ue(vu,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(e,t)=>t.item})(({theme:e})=>({padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:mt(e.palette.primary.main,e.palette.action.focusOpacity)}})),JC=w.forwardRef(function(t,n){const r=lt(),o=w.useRef(null),s=Ct(n,o),l=w.useRef(null),c=tt({props:t,name:"MuiDigitalClock"}),{ampm:u=r.is12HourCycleInCurrentLocale(),timeStep:f=30,autoFocus:p,slots:h,slotProps:g,value:v,defaultValue:y,referenceDate:m,disableIgnoringDatePartForTimeValidation:C=!1,maxTime:x,minTime:M,disableFuture:I,disablePast:O,minutesStep:T=1,shouldDisableTime:k,onChange:D,view:A,openTo:j,onViewChange:E,focusedView:R,onFocusedViewChange:H,className:B,disabled:L,readOnly:V,views:F=["hours"],skipDisabled:Y=!1,timezone:G}=c,U=je(c,NB),{value:z,handleValueChange:X,timezone:de}=Js({name:"DigitalClock",timezone:G,value:v,defaultValue:y,referenceDate:m,onChange:D,valueManager:fn}),re=Cn(),ie=Ji(de),K=w.useMemo(()=>W({},c,{alreadyRendered:!!o.current}),[c]),se=RB(K),ce=(h==null?void 0:h.digitalClockItem)??LB,ee=pt({elementType:ce,externalSlotProps:g==null?void 0:g.digitalClockItem,ownerState:{},className:se.item}),te=Kh({value:z,referenceDate:m,utils:r,props:c,timezone:de}),le=De(he=>X(he,"finish","hours")),{setValueAndGoToNextView:pe}=Vl({view:A,views:F,openTo:j,onViewChange:E,onChange:le,focusedView:R,onFocusedViewChange:H}),q=De(he=>{pe(he,"finish")});w.useEffect(()=>{if(o.current===null)return;const he=o.current.querySelector('[role="listbox"] [role="option"][tabindex="0"], [role="listbox"] [role="option"][aria-selected="true"]');if(!he)return;const ge=he.offsetTop;(p||R)&&he.focus(),o.current.scrollTop=ge-4});const ne=w.useCallback(he=>{const ge=Nl(C,r),Ce=()=>!(M&&ge(M,he)||x&&ge(he,x)||I&&ge(he,ie)||O&&ge(ie,he)),Te=()=>r.getMinutes(he)%T!==0?!1:k?!k(he,"hours"):!0;return!Ce()||!Te()},[C,r,M,x,I,ie,O,T,k]),fe=w.useMemo(()=>{const he=[];let Ce=r.startOfDay(te);for(;r.isSameDay(te,Ce);)he.push(Ce),Ce=r.addMinutes(Ce,f);return he},[te,f,r]),be=fe.findIndex(he=>r.isEqual(he,te)),ve=he=>{switch(he.key){case"PageUp":{const ge=td(l.current)-5,Ce=l.current.children,Te=Math.max(0,ge),Ee=Ce[Te];Ee&&Ee.focus(),he.preventDefault();break}case"PageDown":{const ge=td(l.current)+5,Ce=l.current.children,Te=Math.min(Ce.length-1,ge),Ee=Ce[Te];Ee&&Ee.focus(),he.preventDefault();break}}};return S.jsx(FB,W({ref:s,className:xe(se.root,B),ownerState:K},U,{children:S.jsx(VB,{ref:l,role:"listbox","aria-label":re.timePickerToolbarTitle,className:se.list,onKeyDown:ve,children:fe.map((he,ge)=>{if(Y&&ne(he))return null;const Ce=r.isEqual(he,z),Te=r.format(he,u?"fullTime12h":"fullTime24h"),Ee=be===ge||be===-1&&ge===0?0:-1;return S.jsx(ce,W({onClick:()=>!V&&q(he),selected:Ce,disabled:L||ne(he),disableRipple:V,role:"option","aria-disabled":V,"aria-selected":Ce,tabIndex:Ee},ee,{children:Te}),`${he.valueOf()}-${Te}`)})})}))});process.env.NODE_ENV!=="production"&&(JC.propTypes={ampm:i.bool,autoFocus:i.bool,classes:i.object,className:i.string,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disablePast:i.bool,focusedView:i.oneOf(["hours"]),maxTime:i.object,minTime:i.object,minutesStep:i.number,onChange:i.func,onFocusedViewChange:i.func,onViewChange:i.func,openTo:i.oneOf(["hours"]),readOnly:i.bool,referenceDate:i.object,shouldDisableTime:i.func,skipDisabled:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timeStep:i.number,timezone:i.string,value:i.object,view:i.oneOf(["hours"]),views:i.arrayOf(i.oneOf(["hours"]))});function _B(e){return _e("MuiMultiSectionDigitalClock",e)}const KC=Re("MuiMultiSectionDigitalClock",["root"]);function BB(e){return _e("MuiMultiSectionDigitalClockSection",e)}const $B=Re("MuiMultiSectionDigitalClockSection",["root","item"]),WB=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],jB=e=>{const{classes:t}=e;return Ve({root:["root"],item:["item"]},BB,t)},HB=ue(bu,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({maxHeight:cC,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"&::after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"},variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]})),zB=ue(vu,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(e,t)=>t.item})(({theme:e})=>({padding:8,margin:"2px 4px",width:_l,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mt(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:mt(e.palette.primary.main,e.palette.action.focusOpacity)}})),GB=w.forwardRef(function(t,n){const r=w.useRef(null),o=Ct(n,r),s=w.useRef(null),l=tt({props:t,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:c,onChange:u,className:f,disabled:p,readOnly:h,items:g,active:v,slots:y,slotProps:m,skipDisabled:C}=l,x=je(l,WB),M=w.useMemo(()=>W({},l,{alreadyRendered:!!r.current}),[l]),I=jB(M),O=(y==null?void 0:y.digitalClockSectionItem)??zB;w.useEffect(()=>{if(r.current===null)return;const D=r.current.querySelector('[role="option"][tabindex="0"], [role="option"][aria-selected="true"]');if(v&&c&&D&&D.focus(),!D||s.current===D)return;s.current=D;const A=D.offsetTop;r.current.scrollTop=A-4});const T=g.findIndex(D=>D.isFocused(D.value)),k=D=>{switch(D.key){case"PageUp":{const A=td(r.current)-5,j=r.current.children,E=Math.max(0,A),R=j[E];R&&R.focus(),D.preventDefault();break}case"PageDown":{const A=td(r.current)+5,j=r.current.children,E=Math.min(j.length-1,A),R=j[E];R&&R.focus(),D.preventDefault();break}}};return S.jsx(HB,W({ref:o,className:xe(I.root,f),ownerState:M,autoFocusItem:c&&v,role:"listbox",onKeyDown:k},x,{children:g.map((D,A)=>{var B;const j=(B=D.isDisabled)==null?void 0:B.call(D,D.value),E=p||j;if(C&&E)return null;const R=D.isSelected(D.value),H=T===A||T===-1&&A===0?0:-1;return S.jsx(O,W({onClick:()=>!h&&u(D.value),selected:R,disabled:E,disableRipple:h,role:"option","aria-disabled":h||E||void 0,"aria-label":D.ariaLabel,"aria-selected":R,tabIndex:H,className:I.item},m==null?void 0:m.digitalClockSectionItem,{children:D.label}),D.label)})}))}),YB=({now:e,value:t,utils:n,ampm:r,isDisabled:o,resolveAriaLabel:s,timeStep:l,valueOrReferenceDate:c})=>{const u=t?n.getHours(t):null,f=[],p=(v,y)=>{const m=y??u;return m===null?!1:r?v===12?m===12||m===0:m===v||m-12===v:m===v},h=v=>p(v,n.getHours(c)),g=r?11:23;for(let v=0;v<=g;v+=l){let y=n.format(n.setHours(e,v),r?"hours12h":"hours24h");const m=s(parseInt(y,10).toString());y=n.formatNumber(y),f.push({value:v,label:y,isSelected:p,isDisabled:o,isFocused:h,ariaLabel:m})}return f},QC=({value:e,utils:t,isDisabled:n,timeStep:r,resolveLabel:o,resolveAriaLabel:s,hasValue:l=!0})=>{const c=f=>e===null?!1:l&&e===f,u=f=>e===f;return[...Array.from({length:Math.ceil(60/r)},(f,p)=>{const h=r*p;return{value:h,label:t.formatNumber(o(h)),isDisabled:n,isSelected:c,isFocused:u,ariaLabel:s(h.toString())}})]},UB=["ampm","timeSteps","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],XB=e=>{const{classes:t}=e;return Ve({root:["root"]},_B,t)},ZB=ue(dd,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",flexDirection:"row",width:"100%",borderBottom:`1px solid ${(e.vars||e).palette.divider}`})),ew=w.forwardRef(function(t,n){const r=lt(),o=xn(),s=tt({props:t,name:"MuiMultiSectionDigitalClock"}),{ampm:l=r.is12HourCycleInCurrentLocale(),timeSteps:c,autoFocus:u,slots:f,slotProps:p,value:h,defaultValue:g,referenceDate:v,disableIgnoringDatePartForTimeValidation:y=!1,maxTime:m,minTime:C,disableFuture:x,disablePast:M,minutesStep:I=1,shouldDisableTime:O,onChange:T,view:k,views:D=["hours","minutes"],openTo:A,onViewChange:j,focusedView:E,onFocusedViewChange:R,className:H,disabled:B,readOnly:L,skipDisabled:V=!1,timezone:F}=s,Y=je(s,UB),{value:G,handleValueChange:U,timezone:z}=Js({name:"MultiSectionDigitalClock",timezone:F,value:h,defaultValue:g,referenceDate:v,onChange:T,valueManager:fn}),X=Cn(),de=Ji(z),re=w.useMemo(()=>W({hours:1,minutes:5,seconds:5},c),[c]),ie=Kh({value:G,referenceDate:v,utils:r,props:s,timezone:z}),K=De((Ce,Te,Ee)=>U(Ce,Te,Ee)),se=w.useMemo(()=>!l||!D.includes("hours")||D.includes("meridiem")?D:[...D,"meridiem"],[l,D]),{view:ce,setValueAndGoToNextView:ee,focusedView:te}=Vl({view:k,views:se,openTo:A,onViewChange:j,onChange:K,focusedView:E,onFocusedViewChange:R}),le=De(Ce=>{ee(Ce,"finish","meridiem")}),{meridiemMode:pe,handleMeridiemChange:q}=ud(ie,l,le,"finish"),ne=w.useCallback((Ce,Te)=>{const Ee=Nl(y,r),Me=Te==="hours"||Te==="minutes"&&se.includes("seconds"),dt=({start:it,end:It})=>!(C&&Ee(C,It)||m&&Ee(it,m)||x&&Ee(it,de)||M&&Ee(de,Me?It:it)),ct=(it,It=1)=>{if(it%It!==0)return!1;if(O)switch(Te){case"hours":return!O(r.setHours(ie,it),"hours");case"minutes":return!O(r.setMinutes(ie,it),"minutes");case"seconds":return!O(r.setSeconds(ie,it),"seconds");default:return!1}return!0};switch(Te){case"hours":{const it=Al(Ce,pe,l),It=r.setHours(ie,it);if(r.getHours(It)!==it)return!0;const At=r.setSeconds(r.setMinutes(It,0),0),Vt=r.setSeconds(r.setMinutes(It,59),59);return!dt({start:At,end:Vt})||!ct(it)}case"minutes":{const it=r.setMinutes(ie,Ce),It=r.setSeconds(it,0),At=r.setSeconds(it,59);return!dt({start:It,end:At})||!ct(Ce,I)}case"seconds":{const it=r.setSeconds(ie,Ce);return!dt({start:it,end:it})||!ct(Ce)}default:throw new Error("not supported")}},[l,ie,y,m,pe,C,I,O,r,x,M,de,se]),fe=w.useCallback(Ce=>{switch(Ce){case"hours":return{onChange:Te=>{const Ee=Al(Te,pe,l);ee(r.setHours(ie,Ee),"finish","hours")},items:YB({now:de,value:G,ampm:l,utils:r,isDisabled:Te=>ne(Te,"hours"),timeStep:re.hours,resolveAriaLabel:X.hoursClockNumberText,valueOrReferenceDate:ie})};case"minutes":return{onChange:Te=>{ee(r.setMinutes(ie,Te),"finish","minutes")},items:QC({value:r.getMinutes(ie),utils:r,isDisabled:Te=>ne(Te,"minutes"),resolveLabel:Te=>r.format(r.setMinutes(de,Te),"minutes"),timeStep:re.minutes,hasValue:!!G,resolveAriaLabel:X.minutesClockNumberText})};case"seconds":return{onChange:Te=>{ee(r.setSeconds(ie,Te),"finish","seconds")},items:QC({value:r.getSeconds(ie),utils:r,isDisabled:Te=>ne(Te,"seconds"),resolveLabel:Te=>r.format(r.setSeconds(de,Te),"seconds"),timeStep:re.seconds,hasValue:!!G,resolveAriaLabel:X.secondsClockNumberText})};case"meridiem":{const Te=Hr(r,"am"),Ee=Hr(r,"pm");return{onChange:q,items:[{value:"am",label:Te,isSelected:()=>!!G&&pe==="am",isFocused:()=>!!ie&&pe==="am",ariaLabel:Te},{value:"pm",label:Ee,isSelected:()=>!!G&&pe==="pm",isFocused:()=>!!ie&&pe==="pm",ariaLabel:Ee}]}}default:throw new Error(`Unknown view: ${Ce} found.`)}},[de,G,l,r,re.hours,re.minutes,re.seconds,X.hoursClockNumberText,X.minutesClockNumberText,X.secondsClockNumberText,pe,ee,ie,ne,q]),be=w.useMemo(()=>{if(!o)return se;const Ce=se.filter(Te=>Te!=="meridiem");return Ce.reverse(),se.includes("meridiem")&&Ce.push("meridiem"),Ce},[o,se]),ve=w.useMemo(()=>se.reduce((Ce,Te)=>W({},Ce,{[Te]:fe(Te)}),{}),[se,fe]),he=s,ge=XB(he);return S.jsx(ZB,W({ref:n,className:xe(ge.root,H),ownerState:he,role:"group"},Y,{children:be.map(Ce=>S.jsx(GB,{items:ve[Ce].items,onChange:ve[Ce].onChange,active:ce===Ce,autoFocus:u||te===Ce,disabled:B,readOnly:L,slots:f,slotProps:p,skipDisabled:V,"aria-label":X.selectViewText(Ce)},Ce))}))});process.env.NODE_ENV!=="production"&&(ew.propTypes={ampm:i.bool,autoFocus:i.bool,classes:i.object,className:i.string,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disablePast:i.bool,focusedView:i.oneOf(["hours","meridiem","minutes","seconds"]),maxTime:i.object,minTime:i.object,minutesStep:i.number,onChange:i.func,onFocusedViewChange:i.func,onViewChange:i.func,openTo:i.oneOf(["hours","meridiem","minutes","seconds"]),readOnly:i.bool,referenceDate:i.object,shouldDisableTime:i.func,skipDisabled:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timeSteps:i.shape({hours:i.number,minutes:i.number,seconds:i.number}),timezone:i.string,value:i.object,view:i.oneOf(["hours","meridiem","minutes","seconds"]),views:i.arrayOf(i.oneOf(["hours","meridiem","minutes","seconds"]).isRequired)});const na=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:s,defaultValue:l,referenceDate:c,onChange:u,className:f,classes:p,disableFuture:h,disablePast:g,minTime:v,maxTime:y,shouldDisableTime:m,minutesStep:C,ampm:x,ampmInClock:M,slots:I,slotProps:O,readOnly:T,disabled:k,sx:D,autoFocus:A,showViewSwitcher:j,disableIgnoringDatePartForTimeValidation:E,timezone:R})=>S.jsx(qC,{view:e,onViewChange:t,focusedView:n&&Gs(n)?n:null,onFocusedViewChange:r,views:o.filter(Gs),value:s,defaultValue:l,referenceDate:c,onChange:u,className:f,classes:p,disableFuture:h,disablePast:g,minTime:v,maxTime:y,shouldDisableTime:m,minutesStep:C,ampm:x,ampmInClock:M,slots:I,slotProps:O,readOnly:T,disabled:k,sx:D,autoFocus:A,showViewSwitcher:j,disableIgnoringDatePartForTimeValidation:E,timezone:R}),tw=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:s,defaultValue:l,referenceDate:c,onChange:u,className:f,classes:p,disableFuture:h,disablePast:g,minTime:v,maxTime:y,shouldDisableTime:m,minutesStep:C,ampm:x,slots:M,slotProps:I,readOnly:O,disabled:T,sx:k,autoFocus:D,disableIgnoringDatePartForTimeValidation:A,timeSteps:j,skipDisabled:E,timezone:R})=>S.jsx(JC,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o.filter(Gs),value:s,defaultValue:l,referenceDate:c,onChange:u,className:f,classes:p,disableFuture:h,disablePast:g,minTime:v,maxTime:y,shouldDisableTime:m,minutesStep:C,ampm:x,slots:M,slotProps:I,readOnly:O,disabled:T,sx:k,autoFocus:D,disableIgnoringDatePartForTimeValidation:A,timeStep:j==null?void 0:j.minutes,skipDisabled:E,timezone:R}),pd=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:s,defaultValue:l,referenceDate:c,onChange:u,className:f,classes:p,disableFuture:h,disablePast:g,minTime:v,maxTime:y,shouldDisableTime:m,minutesStep:C,ampm:x,slots:M,slotProps:I,readOnly:O,disabled:T,sx:k,autoFocus:D,disableIgnoringDatePartForTimeValidation:A,timeSteps:j,skipDisabled:E,timezone:R})=>S.jsx(ew,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o.filter(Gs),value:s,defaultValue:l,referenceDate:c,onChange:u,className:f,classes:p,disableFuture:h,disablePast:g,minTime:v,maxTime:y,shouldDisableTime:m,minutesStep:C,ampm:x,slots:M,slotProps:I,readOnly:O,disabled:T,sx:k,autoFocus:D,disableIgnoringDatePartForTimeValidation:A,timeSteps:j,skipDisabled:E,timezone:R}),nw=w.forwardRef(function(t,n){var m;const r=xn(),{toolbar:o,tabs:s,content:l,actionBar:c,shortcuts:u}=dC(t),{sx:f,className:p,isLandscape:h,classes:g}=t,v=c&&(((m=c.props.actions)==null?void 0:m.length)??0)>0,y=W({},t,{isRtl:r});return S.jsxs(fC,{ref:n,className:xe(Gr.root,g==null?void 0:g.root,p),sx:[{[`& .${Gr.tabs}`]:{gridRow:4,gridColumn:"1 / 4"},[`& .${Gr.actionBar}`]:{gridRow:5}},...Array.isArray(f)?f:[f]],ownerState:y,children:[h?u:o,h?o:u,S.jsxs(pC,{className:xe(Gr.contentWrapper,g==null?void 0:g.contentWrapper),sx:{display:"grid"},children:[l,s,v&&S.jsx(dl,{sx:{gridRow:3,gridColumn:"1 / 4"}})]}),c]})});process.env.NODE_ENV!=="production"&&(nw.propTypes={children:i.node,classes:i.object,className:i.string,disabled:i.bool,isLandscape:i.bool.isRequired,isRtl:i.bool.isRequired,isValid:i.func.isRequired,onAccept:i.func.isRequired,onCancel:i.func.isRequired,onChange:i.func.isRequired,onClear:i.func.isRequired,onClose:i.func.isRequired,onDismiss:i.func.isRequired,onOpen:i.func.isRequired,onSelectShortcut:i.func.isRequired,onSetToday:i.func.isRequired,onViewChange:i.func.isRequired,orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),value:i.any,view:i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),views:i.arrayOf(i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]).isRequired).isRequired,wrapperVariant:i.oneOf(["desktop","mobile"])});const qB=["openTo","focusedView","timeViewsCount"],JB=function(t,n,r){var p,h;const{openTo:o,focusedView:s,timeViewsCount:l}=r,c=je(r,qB),u=W({},c,{autoFocus:!1,focusedView:null,sx:[{[`&.${KC.root}`]:{borderBottom:0},[`&.${KC.root}, .${$B.root}, &.${AB.root}`]:{maxHeight:od}}]}),f=kl(n);return S.jsxs(w.Fragment,{children:[(p=t[f?"day":n])==null?void 0:p.call(t,W({},r,{view:f?"day":n,focusedView:s&&zs(s)?s:null,views:r.views.filter(zs),sx:[{gridColumn:1},...u.sx]})),l>0&&S.jsxs(w.Fragment,{children:[S.jsx(dl,{orientation:"vertical",sx:{gridColumn:2}}),(h=t[f?n:"hours"])==null?void 0:h.call(t,W({},u,{view:f?n:"hours",focusedView:s&&kl(s)?s:null,openTo:kl(o)?o:"hours",views:r.views.filter(kl),sx:[{gridColumn:3},...u.sx]}))]})]})},rw=w.forwardRef(function(t,n){var M,I,O,T;const r=Cn(),o=lt(),s=WC(t,"MuiDesktopDateTimePicker"),{shouldRenderTimeInASingleColumn:l,thresholdToRenderTimeInASingleColumn:c,views:u,timeSteps:f}=HC(s),p=l?tw:pd,h=W({day:Mr,month:Mr,year:Mr,hours:p,minutes:p,seconds:p,meridiem:p},s.viewRenderers),g=s.ampmInClock??!0,y=((M=h.hours)==null?void 0:M.name)===pd.name?u:u.filter(k=>k!=="meridiem"),m=l?[]:["accept"],C=W({},s,{viewRenderers:h,format:jC(o,s),views:y,yearsPerRow:s.yearsPerRow??4,ampmInClock:g,timeSteps:f,thresholdToRenderTimeInASingleColumn:c,shouldRenderTimeInASingleColumn:l,slots:W({field:Xh,layout:nw,openPickerIcon:mC},s.slots),slotProps:W({},s.slotProps,{field:k=>{var D;return W({},ko((D=s.slotProps)==null?void 0:D.field,k),Xs(s),{ref:n})},toolbar:W({hidden:!0,ampmInClock:g,toolbarVariant:"desktop"},(I=s.slotProps)==null?void 0:I.toolbar),tabs:W({hidden:!0},(O=s.slotProps)==null?void 0:O.tabs),actionBar:k=>{var D;return W({actions:m},ko((D=s.slotProps)==null?void 0:D.actionBar,k))}})}),{renderPicker:x}=Vh({props:C,valueManager:fn,valueType:"date-time",getOpenDialogAriaText:Ys({utils:o,formatKey:"fullDate",contextTranslation:r.openDatePickerDialogue,propsTranslation:(T=C.localeText)==null?void 0:T.openDatePickerDialogue}),validator:ed,rendererInterceptor:JB});return x()});rw.propTypes={ampm:i.bool,ampmInClock:i.bool,autoFocus:i.bool,className:i.string,closeOnSelect:i.bool,dayOfWeekFormatter:i.func,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableHighlightToday:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disableOpenPicker:i.bool,disablePast:i.bool,displayWeekNumber:i.bool,enableAccessibleFieldDOMStructure:i.any,fixedWeekNumber:i.number,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),inputRef:Rt,label:i.node,loading:i.bool,localeText:i.object,maxDate:i.object,maxDateTime:i.object,maxTime:i.object,minDate:i.object,minDateTime:i.object,minTime:i.object,minutesStep:i.number,monthsPerRow:i.oneOf([3,4]),name:i.string,onAccept:i.func,onChange:i.func,onClose:i.func,onError:i.func,onMonthChange:i.func,onOpen:i.func,onSelectedSectionsChange:i.func,onViewChange:i.func,onYearChange:i.func,open:i.bool,openTo:i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,renderLoading:i.func,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableDate:i.func,shouldDisableMonth:i.func,shouldDisableTime:i.func,shouldDisableYear:i.func,showDaysOutsideCurrentMonth:i.bool,skipDisabled:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),thresholdToRenderTimeInASingleColumn:i.number,timeSteps:i.shape({hours:i.number,minutes:i.number,seconds:i.number}),timezone:i.string,value:i.object,view:i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:i.shape({day:i.func,hours:i.func,meridiem:i.func,minutes:i.func,month:i.func,seconds:i.func,year:i.func}),views:i.arrayOf(i.oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsOrder:i.oneOf(["asc","desc"]),yearsPerRow:i.oneOf([3,4])};const ow=w.forwardRef(function(t,n){var p,h,g;const r=Cn(),o=lt(),s=WC(t,"MuiMobileDateTimePicker"),l=W({day:Mr,month:Mr,year:Mr,hours:na,minutes:na,seconds:na},s.viewRenderers),c=s.ampmInClock??!1,u=W({},s,{viewRenderers:l,format:jC(o,s),ampmInClock:c,slots:W({field:Xh},s.slots),slotProps:W({},s.slotProps,{field:v=>{var y;return W({},ko((y=s.slotProps)==null?void 0:y.field,v),Xs(s),{ref:n})},toolbar:W({hidden:!1,ampmInClock:c},(p=s.slotProps)==null?void 0:p.toolbar),tabs:W({hidden:!1},(h=s.slotProps)==null?void 0:h.tabs)})}),{renderPicker:f}=Yh({props:u,valueManager:fn,valueType:"date-time",getOpenDialogAriaText:Ys({utils:o,formatKey:"fullDate",contextTranslation:r.openDatePickerDialogue,propsTranslation:(g=u.localeText)==null?void 0:g.openDatePickerDialogue}),validator:ed});return f()});ow.propTypes={ampm:i.bool,ampmInClock:i.bool,autoFocus:i.bool,className:i.string,closeOnSelect:i.bool,dayOfWeekFormatter:i.func,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableHighlightToday:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disableOpenPicker:i.bool,disablePast:i.bool,displayWeekNumber:i.bool,enableAccessibleFieldDOMStructure:i.any,fixedWeekNumber:i.number,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),inputRef:Rt,label:i.node,loading:i.bool,localeText:i.object,maxDate:i.object,maxDateTime:i.object,maxTime:i.object,minDate:i.object,minDateTime:i.object,minTime:i.object,minutesStep:i.number,monthsPerRow:i.oneOf([3,4]),name:i.string,onAccept:i.func,onChange:i.func,onClose:i.func,onError:i.func,onMonthChange:i.func,onOpen:i.func,onSelectedSectionsChange:i.func,onViewChange:i.func,onYearChange:i.func,open:i.bool,openTo:i.oneOf(["day","hours","minutes","month","seconds","year"]),orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,renderLoading:i.func,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableDate:i.func,shouldDisableMonth:i.func,shouldDisableTime:i.func,shouldDisableYear:i.func,showDaysOutsideCurrentMonth:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,value:i.object,view:i.oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:i.shape({day:i.func,hours:i.func,minutes:i.func,month:i.func,seconds:i.func,year:i.func}),views:i.arrayOf(i.oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsOrder:i.oneOf(["asc","desc"]),yearsPerRow:i.oneOf([3,4])};const KB=["desktopModeMediaQuery"],iw=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:o=Ah}=r,s=je(r,KB);return mu(o,{defaultMatches:!0})?S.jsx(rw,W({ref:n},s)):S.jsx(ow,W({ref:n},s))});process.env.NODE_ENV!=="production"&&(iw.propTypes={ampm:i.bool,ampmInClock:i.bool,autoFocus:i.bool,className:i.string,closeOnSelect:i.bool,dayOfWeekFormatter:i.func,defaultValue:i.object,desktopModeMediaQuery:i.string,disabled:i.bool,disableFuture:i.bool,disableHighlightToday:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disableOpenPicker:i.bool,disablePast:i.bool,displayWeekNumber:i.bool,enableAccessibleFieldDOMStructure:i.any,fixedWeekNumber:i.number,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),inputRef:Rt,label:i.node,loading:i.bool,localeText:i.object,maxDate:i.object,maxDateTime:i.object,maxTime:i.object,minDate:i.object,minDateTime:i.object,minTime:i.object,minutesStep:i.number,monthsPerRow:i.oneOf([3,4]),name:i.string,onAccept:i.func,onChange:i.func,onClose:i.func,onError:i.func,onMonthChange:i.func,onOpen:i.func,onSelectedSectionsChange:i.func,onViewChange:i.func,onYearChange:i.func,open:i.bool,openTo:i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,renderLoading:i.func,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableDate:i.func,shouldDisableMonth:i.func,shouldDisableTime:i.func,shouldDisableYear:i.func,showDaysOutsideCurrentMonth:i.bool,skipDisabled:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),thresholdToRenderTimeInASingleColumn:i.number,timeSteps:i.shape({hours:i.number,minutes:i.number,seconds:i.number}),timezone:i.string,value:i.object,view:i.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:i.shape({day:i.func,hours:i.func,meridiem:i.func,minutes:i.func,month:i.func,seconds:i.func,year:i.func}),views:i.arrayOf(i.oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsOrder:i.oneOf(["asc","desc"]),yearsPerRow:i.oneOf([3,4])});const QB=e=>{const t=fV(e),{forwardedProps:n,internalProps:r}=Bh(t,"time");return Lh({forwardedProps:n,internalProps:r,valueManager:fn,fieldValueManager:Ph,validator:Fl,valueType:"time"})},e$=["slots","slotProps","InputProps","inputProps"],Qh=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiTimeField"}),{slots:o,slotProps:s,InputProps:l,inputProps:c}=r,u=je(r,e$),f=r,p=(o==null?void 0:o.textField)??(t.enableAccessibleFieldDOMStructure?ad:vl),h=pt({elementType:p,externalSlotProps:s==null?void 0:s.textField,externalForwardedProps:u,ownerState:f,additionalProps:{ref:n}});h.inputProps=W({},c,h.inputProps),h.InputProps=W({},l,h.InputProps);const g=QB(h),v=zh(g),y=_h(W({},v,{slots:o,slotProps:s}));return S.jsx(p,W({},y))});process.env.NODE_ENV!=="production"&&(Qh.propTypes={ampm:i.bool,autoFocus:i.bool,className:i.string,clearable:i.bool,color:i.oneOf(["error","info","primary","secondary","success","warning"]),component:i.elementType,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disablePast:i.bool,enableAccessibleFieldDOMStructure:i.bool,focused:i.bool,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),FormHelperTextProps:i.object,fullWidth:i.bool,helperText:i.node,hiddenLabel:i.bool,id:i.string,InputLabelProps:i.object,inputProps:i.object,InputProps:i.object,inputRef:Rt,label:i.node,margin:i.oneOf(["dense","none","normal"]),maxTime:i.object,minTime:i.object,minutesStep:i.number,name:i.string,onBlur:i.func,onChange:i.func,onClear:i.func,onError:i.func,onFocus:i.func,onSelectedSectionsChange:i.func,readOnly:i.bool,referenceDate:i.object,required:i.bool,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableTime:i.func,shouldRespectLeadingZeros:i.bool,size:i.oneOf(["medium","small"]),slotProps:i.object,slots:i.object,style:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,unstableFieldRef:i.oneOfType([i.func,i.object]),value:i.object,variant:i.oneOf(["filled","outlined","standard"])});function t$(e){return _e("MuiTimePickerToolbar",e)}const Hl=Re("MuiTimePickerToolbar",["root","separator","hourMinuteLabel","hourMinuteLabelLandscape","hourMinuteLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]),n$=["ampm","ampmInClock","value","isLandscape","onChange","view","onViewChange","views","disabled","readOnly","className"],r$=e=>{const{isLandscape:t,classes:n,isRtl:r}=e;return Ve({root:["root"],separator:["separator"],hourMinuteLabel:["hourMinuteLabel",t&&"hourMinuteLabelLandscape",r&&"hourMinuteLabelReverse"],ampmSelection:["ampmSelection",t&&"ampmLandscape"],ampmLabel:["ampmLabel"]},t$,n)},o$=ue(Mh,{name:"MuiTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),i$=ue(qh,{name:"MuiTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({outline:0,margin:"0 4px 0 2px",cursor:"default"}),s$=ue("div",{name:"MuiTimePickerToolbar",slot:"HourMinuteLabel",overridesResolver:(e,t)=>[{[`&.${Hl.hourMinuteLabelLandscape}`]:t.hourMinuteLabelLandscape,[`&.${Hl.hourMinuteLabelReverse}`]:t.hourMinuteLabelReverse},t.hourMinuteLabel]})({display:"flex",justifyContent:"flex-end",alignItems:"flex-end",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{isLandscape:!0},style:{marginTop:"auto"}}]}),a$=ue("div",{name:"MuiTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${Hl.ampmLabel}`]:t.ampmLabel},{[`&.${Hl.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${Hl.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",flexBasis:"100%"}}]});function sw(e){const t=tt({props:e,name:"MuiTimePickerToolbar"}),{ampm:n,ampmInClock:r,value:o,isLandscape:s,onChange:l,view:c,onViewChange:u,views:f,disabled:p,readOnly:h,className:g}=t,v=je(t,n$),y=lt(),m=Cn(),C=xn(),x=!!(n&&!r&&f.includes("hours")),{meridiemMode:M,handleMeridiemChange:I}=ud(o,n,l),O=A=>n?y.format(A,"hours12h"):y.format(A,"hours24h"),T=W({},t,{isRtl:C}),k=r$(T),D=S.jsx(i$,{tabIndex:-1,value:":",variant:"h3",selected:!1,className:k.separator});return S.jsxs(o$,W({landscapeDirection:"row",toolbarTitle:m.timePickerToolbarTitle,isLandscape:s,ownerState:T,className:xe(k.root,g)},v,{children:[S.jsxs(s$,{className:k.hourMinuteLabel,ownerState:T,children:[Zs(f,"hours")&&S.jsx(ur,{tabIndex:-1,variant:"h3",onClick:()=>u("hours"),selected:c==="hours",value:o?O(o):"--"}),Zs(f,["hours","minutes"])&&D,Zs(f,"minutes")&&S.jsx(ur,{tabIndex:-1,variant:"h3",onClick:()=>u("minutes"),selected:c==="minutes",value:o?y.format(o,"minutes"):"--"}),Zs(f,["minutes","seconds"])&&D,Zs(f,"seconds")&&S.jsx(ur,{variant:"h3",onClick:()=>u("seconds"),selected:c==="seconds",value:o?y.format(o,"seconds"):"--"})]}),x&&S.jsxs(a$,{className:k.ampmSelection,ownerState:T,children:[S.jsx(ur,{disableRipple:!0,variant:"subtitle2",selected:M==="am",typographyClassName:k.ampmLabel,value:Hr(y,"am"),onClick:h?void 0:()=>I("am"),disabled:p}),S.jsx(ur,{disableRipple:!0,variant:"subtitle2",selected:M==="pm",typographyClassName:k.ampmLabel,value:Hr(y,"pm"),onClick:h?void 0:()=>I("pm"),disabled:p})]})]}))}process.env.NODE_ENV!=="production"&&(sw.propTypes={ampm:i.bool,ampmInClock:i.bool,classes:i.object,className:i.string,disabled:i.bool,hidden:i.bool,isLandscape:i.bool.isRequired,onChange:i.func.isRequired,onViewChange:i.func.isRequired,readOnly:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),titleId:i.string,toolbarFormat:i.string,toolbarPlaceholder:i.node,value:i.object,view:i.oneOf(["hours","meridiem","minutes","seconds"]).isRequired,views:i.arrayOf(i.oneOf(["hours","meridiem","minutes","seconds"]).isRequired).isRequired});function aw(e,t){var l;const n=lt(),r=tt({props:e,name:t}),o=r.ampm??n.is12HourCycleInCurrentLocale(),s=w.useMemo(()=>{var c;return((c=r.localeText)==null?void 0:c.toolbarTitle)==null?r.localeText:W({},r.localeText,{timePickerToolbarTitle:r.localeText.toolbarTitle})},[r.localeText]);return W({},r,{ampm:o,localeText:s},Ch({views:r.views,openTo:r.openTo,defaultViews:["hours","minutes"],defaultOpenTo:"hours"}),{disableFuture:r.disableFuture??!1,disablePast:r.disablePast??!1,slots:W({toolbar:sw},r.slots),slotProps:W({},r.slotProps,{toolbar:W({ampm:o,ampmInClock:r.ampmInClock},(l=r.slotProps)==null?void 0:l.toolbar)})})}const lw=w.forwardRef(function(t,n){var x,M,I,O;const r=Cn(),o=lt(),s=aw(t,"MuiDesktopTimePicker"),{shouldRenderTimeInASingleColumn:l,views:c,timeSteps:u}=HC(s),f=l?tw:pd,p=W({hours:f,minutes:f,seconds:f,meridiem:f},s.viewRenderers),h=s.ampmInClock??!0,g=l?[]:["accept"],y=((x=p.hours)==null?void 0:x.name)===pd.name?c:c.filter(T=>T!=="meridiem"),m=W({},s,{ampmInClock:h,timeSteps:u,viewRenderers:p,format:Ju(o,s),views:l?["hours"]:y,slots:W({field:Qh,openPickerIcon:Y9},s.slots),slotProps:W({},s.slotProps,{field:T=>{var k;return W({},ko((k=s.slotProps)==null?void 0:k.field,T),Xs(s),{ref:n})},toolbar:W({hidden:!0,ampmInClock:h},(M=s.slotProps)==null?void 0:M.toolbar),actionBar:W({actions:g},(I=s.slotProps)==null?void 0:I.actionBar)})}),{renderPicker:C}=Vh({props:m,valueManager:fn,valueType:"time",getOpenDialogAriaText:Ys({utils:o,formatKey:"fullTime",contextTranslation:r.openTimePickerDialogue,propsTranslation:(O=m.localeText)==null?void 0:O.openTimePickerDialogue}),validator:Fl});return C()});lw.propTypes={ampm:i.bool,ampmInClock:i.bool,autoFocus:i.bool,className:i.string,closeOnSelect:i.bool,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disableOpenPicker:i.bool,disablePast:i.bool,enableAccessibleFieldDOMStructure:i.any,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),inputRef:Rt,label:i.node,localeText:i.object,maxTime:i.object,minTime:i.object,minutesStep:i.number,name:i.string,onAccept:i.func,onChange:i.func,onClose:i.func,onError:i.func,onOpen:i.func,onSelectedSectionsChange:i.func,onViewChange:i.func,open:i.bool,openTo:i.oneOf(["hours","meridiem","minutes","seconds"]),orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableTime:i.func,skipDisabled:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),thresholdToRenderTimeInASingleColumn:i.number,timeSteps:i.shape({hours:i.number,minutes:i.number,seconds:i.number}),timezone:i.string,value:i.object,view:i.oneOf(["hours","meridiem","minutes","seconds"]),viewRenderers:i.shape({hours:i.func,meridiem:i.func,minutes:i.func,seconds:i.func}),views:i.arrayOf(i.oneOf(["hours","minutes","seconds"]).isRequired)};const cw=w.forwardRef(function(t,n){var p,h;const r=Cn(),o=lt(),s=aw(t,"MuiMobileTimePicker"),l=W({hours:na,minutes:na,seconds:na},s.viewRenderers),c=s.ampmInClock??!1,u=W({},s,{ampmInClock:c,viewRenderers:l,format:Ju(o,s),slots:W({field:Qh},s.slots),slotProps:W({},s.slotProps,{field:g=>{var v;return W({},ko((v=s.slotProps)==null?void 0:v.field,g),Xs(s),{ref:n})},toolbar:W({hidden:!1,ampmInClock:c},(p=s.slotProps)==null?void 0:p.toolbar)})}),{renderPicker:f}=Yh({props:u,valueManager:fn,valueType:"time",getOpenDialogAriaText:Ys({utils:o,formatKey:"fullTime",contextTranslation:r.openTimePickerDialogue,propsTranslation:(h=u.localeText)==null?void 0:h.openTimePickerDialogue}),validator:Fl});return f()});cw.propTypes={ampm:i.bool,ampmInClock:i.bool,autoFocus:i.bool,className:i.string,closeOnSelect:i.bool,defaultValue:i.object,disabled:i.bool,disableFuture:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disableOpenPicker:i.bool,disablePast:i.bool,enableAccessibleFieldDOMStructure:i.any,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),inputRef:Rt,label:i.node,localeText:i.object,maxTime:i.object,minTime:i.object,minutesStep:i.number,name:i.string,onAccept:i.func,onChange:i.func,onClose:i.func,onError:i.func,onOpen:i.func,onSelectedSectionsChange:i.func,onViewChange:i.func,open:i.bool,openTo:i.oneOf(["hours","minutes","seconds"]),orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableTime:i.func,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),timezone:i.string,value:i.object,view:i.oneOf(["hours","minutes","seconds"]),viewRenderers:i.shape({hours:i.func,minutes:i.func,seconds:i.func}),views:i.arrayOf(i.oneOf(["hours","minutes","seconds"]).isRequired)};const l$=["desktopModeMediaQuery"],uw=w.forwardRef(function(t,n){const r=tt({props:t,name:"MuiTimePicker"}),{desktopModeMediaQuery:o=Ah}=r,s=je(r,l$);return mu(o,{defaultMatches:!0})?S.jsx(lw,W({ref:n},s)):S.jsx(cw,W({ref:n},s))});process.env.NODE_ENV!=="production"&&(uw.propTypes={ampm:i.bool,ampmInClock:i.bool,autoFocus:i.bool,className:i.string,closeOnSelect:i.bool,defaultValue:i.object,desktopModeMediaQuery:i.string,disabled:i.bool,disableFuture:i.bool,disableIgnoringDatePartForTimeValidation:i.bool,disableOpenPicker:i.bool,disablePast:i.bool,enableAccessibleFieldDOMStructure:i.any,format:i.string,formatDensity:i.oneOf(["dense","spacious"]),inputRef:Rt,label:i.node,localeText:i.object,maxTime:i.object,minTime:i.object,minutesStep:i.number,name:i.string,onAccept:i.func,onChange:i.func,onClose:i.func,onError:i.func,onOpen:i.func,onSelectedSectionsChange:i.func,onViewChange:i.func,open:i.bool,openTo:i.oneOf(["hours","meridiem","minutes","seconds"]),orientation:i.oneOf(["landscape","portrait"]),readOnly:i.bool,reduceAnimations:i.bool,referenceDate:i.object,selectedSections:i.oneOfType([i.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i.number]),shouldDisableTime:i.func,skipDisabled:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),thresholdToRenderTimeInASingleColumn:i.number,timeSteps:i.shape({hours:i.number,minutes:i.number,seconds:i.number}),timezone:i.string,value:i.object,view:i.oneOf(["hours","meridiem","minutes","seconds"]),viewRenderers:i.shape({hours:i.func,meridiem:i.func,minutes:i.func,seconds:i.func}),views:i.arrayOf(i.oneOf(["hours","minutes","seconds"]).isRequired)});var em={exports:{}},dw;function fw(){return dw||(dw=1,function(e,t){(function(n,r){e.exports=r()})(vr,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",l="second",c="minute",u="hour",f="day",p="week",h="month",g="quarter",v="year",y="date",m="Invalid Date",C=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(L){var V=["th","st","nd","rd"],F=L%100;return"["+L+(V[(F-20)%10]||V[F]||V[0])+"]"}},I=function(L,V,F){var Y=String(L);return!Y||Y.length>=V?L:""+Array(V+1-Y.length).join(F)+L},O={s:I,z:function(L){var V=-L.utcOffset(),F=Math.abs(V),Y=Math.floor(F/60),G=F%60;return(V<=0?"+":"-")+I(Y,2,"0")+":"+I(G,2,"0")},m:function L(V,F){if(V.date()<F.date())return-L(F,V);var Y=12*(F.year()-V.year())+(F.month()-V.month()),G=V.clone().add(Y,h),U=F-G<0,z=V.clone().add(Y+(U?-1:1),h);return+(-(Y+(F-G)/(U?G-z:z-G))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:h,y:v,w:p,d:f,D:y,h:u,m:c,s:l,ms:s,Q:g}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},T="en",k={};k[T]=M;var D="$isDayjsObject",A=function(L){return L instanceof H||!(!L||!L[D])},j=function L(V,F,Y){var G;if(!V)return T;if(typeof V=="string"){var U=V.toLowerCase();k[U]&&(G=U),F&&(k[U]=F,G=U);var z=V.split("-");if(!G&&z.length>1)return L(z[0])}else{var X=V.name;k[X]=V,G=X}return!Y&&G&&(T=G),G||!Y&&T},E=function(L,V){if(A(L))return L.clone();var F=typeof V=="object"?V:{};return F.date=L,F.args=arguments,new H(F)},R=O;R.l=j,R.i=A,R.w=function(L,V){return E(L,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var H=function(){function L(F){this.$L=j(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[D]=!0}var V=L.prototype;return V.parse=function(F){this.$d=function(Y){var G=Y.date,U=Y.utc;if(G===null)return new Date(NaN);if(R.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var z=G.match(C);if(z){var X=z[2]-1||0,de=(z[7]||"0").substring(0,3);return U?new Date(Date.UTC(z[1],X,z[3]||1,z[4]||0,z[5]||0,z[6]||0,de)):new Date(z[1],X,z[3]||1,z[4]||0,z[5]||0,z[6]||0,de)}}return new Date(G)}(F),this.init()},V.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},V.$utils=function(){return R},V.isValid=function(){return this.$d.toString()!==m},V.isSame=function(F,Y){var G=E(F);return this.startOf(Y)<=G&&G<=this.endOf(Y)},V.isAfter=function(F,Y){return E(F)<this.startOf(Y)},V.isBefore=function(F,Y){return this.endOf(Y)<E(F)},V.$g=function(F,Y,G){return R.u(F)?this[Y]:this.set(G,F)},V.unix=function(){return Math.floor(this.valueOf()/1e3)},V.valueOf=function(){return this.$d.getTime()},V.startOf=function(F,Y){var G=this,U=!!R.u(Y)||Y,z=R.p(F),X=function(te,le){var pe=R.w(G.$u?Date.UTC(G.$y,le,te):new Date(G.$y,le,te),G);return U?pe:pe.endOf(f)},de=function(te,le){return R.w(G.toDate()[te].apply(G.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(le)),G)},re=this.$W,ie=this.$M,K=this.$D,se="set"+(this.$u?"UTC":"");switch(z){case v:return U?X(1,0):X(31,11);case h:return U?X(1,ie):X(0,ie+1);case p:var ce=this.$locale().weekStart||0,ee=(re<ce?re+7:re)-ce;return X(U?K-ee:K+(6-ee),ie);case f:case y:return de(se+"Hours",0);case u:return de(se+"Minutes",1);case c:return de(se+"Seconds",2);case l:return de(se+"Milliseconds",3);default:return this.clone()}},V.endOf=function(F){return this.startOf(F,!1)},V.$set=function(F,Y){var G,U=R.p(F),z="set"+(this.$u?"UTC":""),X=(G={},G[f]=z+"Date",G[y]=z+"Date",G[h]=z+"Month",G[v]=z+"FullYear",G[u]=z+"Hours",G[c]=z+"Minutes",G[l]=z+"Seconds",G[s]=z+"Milliseconds",G)[U],de=U===f?this.$D+(Y-this.$W):Y;if(U===h||U===v){var re=this.clone().set(y,1);re.$d[X](de),re.init(),this.$d=re.set(y,Math.min(this.$D,re.daysInMonth())).$d}else X&&this.$d[X](de);return this.init(),this},V.set=function(F,Y){return this.clone().$set(F,Y)},V.get=function(F){return this[R.p(F)]()},V.add=function(F,Y){var G,U=this;F=Number(F);var z=R.p(Y),X=function(ie){var K=E(U);return R.w(K.date(K.date()+Math.round(ie*F)),U)};if(z===h)return this.set(h,this.$M+F);if(z===v)return this.set(v,this.$y+F);if(z===f)return X(1);if(z===p)return X(7);var de=(G={},G[c]=r,G[u]=o,G[l]=n,G)[z]||1,re=this.$d.getTime()+F*de;return R.w(re,this)},V.subtract=function(F,Y){return this.add(-1*F,Y)},V.format=function(F){var Y=this,G=this.$locale();if(!this.isValid())return G.invalidDate||m;var U=F||"YYYY-MM-DDTHH:mm:ssZ",z=R.z(this),X=this.$H,de=this.$m,re=this.$M,ie=G.weekdays,K=G.months,se=G.meridiem,ce=function(le,pe,q,ne){return le&&(le[pe]||le(Y,U))||q[pe].slice(0,ne)},ee=function(le){return R.s(X%12||12,le,"0")},te=se||function(le,pe,q){var ne=le<12?"AM":"PM";return q?ne.toLowerCase():ne};return U.replace(x,function(le,pe){return pe||function(q){switch(q){case"YY":return String(Y.$y).slice(-2);case"YYYY":return R.s(Y.$y,4,"0");case"M":return re+1;case"MM":return R.s(re+1,2,"0");case"MMM":return ce(G.monthsShort,re,K,3);case"MMMM":return ce(K,re);case"D":return Y.$D;case"DD":return R.s(Y.$D,2,"0");case"d":return String(Y.$W);case"dd":return ce(G.weekdaysMin,Y.$W,ie,2);case"ddd":return ce(G.weekdaysShort,Y.$W,ie,3);case"dddd":return ie[Y.$W];case"H":return String(X);case"HH":return R.s(X,2,"0");case"h":return ee(1);case"hh":return ee(2);case"a":return te(X,de,!0);case"A":return te(X,de,!1);case"m":return String(de);case"mm":return R.s(de,2,"0");case"s":return String(Y.$s);case"ss":return R.s(Y.$s,2,"0");case"SSS":return R.s(Y.$ms,3,"0");case"Z":return z}return null}(le)||z.replace(":","")})},V.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},V.diff=function(F,Y,G){var U,z=this,X=R.p(Y),de=E(F),re=(de.utcOffset()-this.utcOffset())*r,ie=this-de,K=function(){return R.m(z,de)};switch(X){case v:U=K()/12;break;case h:U=K();break;case g:U=K()/3;break;case p:U=(ie-re)/6048e5;break;case f:U=(ie-re)/864e5;break;case u:U=ie/o;break;case c:U=ie/r;break;case l:U=ie/n;break;default:U=ie}return G?U:R.a(U)},V.daysInMonth=function(){return this.endOf(h).$D},V.$locale=function(){return k[this.$L]},V.locale=function(F,Y){if(!F)return this.$L;var G=this.clone(),U=j(F,Y,!0);return U&&(G.$L=U),G},V.clone=function(){return R.w(this.$d,this)},V.toDate=function(){return new Date(this.valueOf())},V.toJSON=function(){return this.isValid()?this.toISOString():null},V.toISOString=function(){return this.$d.toISOString()},V.toString=function(){return this.$d.toUTCString()},L}(),B=H.prototype;return E.prototype=B,[["$ms",s],["$s",l],["$m",c],["$H",u],["$W",f],["$M",h],["$y",v],["$D",y]].forEach(function(L){B[L[1]]=function(V){return this.$g(V,L[0],L[1])}}),E.extend=function(L,V){return L.$i||(L(V,H,E),L.$i=!0),E},E.locale=j,E.isDayjs=A,E.unix=function(L){return E(1e3*L)},E.en=k[T],E.Ls=k,E.p={},E})}(em)),em.exports}var c$=fw();const jt=Oo(c$);var pw={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(vr,function(){var n="week",r="year";return function(o,s,l){var c=s.prototype;c.week=function(u){if(u===void 0&&(u=null),u!==null)return this.add(7*(u-this.week()),"day");var f=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var p=l(this).startOf(r).add(1,r).date(f),h=l(this).endOf(n);if(p.isBefore(h))return 1}var g=l(this).startOf(r).date(f).startOf(n).subtract(1,"millisecond"),v=this.diff(g,n,!0);return v<0?l(this).startOf("week").week():Math.ceil(v)},c.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(pw);var u$=pw.exports;const d$=Oo(u$);var hw={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(vr,function(){var n={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"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,l=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,u={},f=function(C){return(C=+C)+(C>68?1900:2e3)},p=function(C){return function(x){this[C]=+x}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(C){(this.zone||(this.zone={})).offset=function(x){if(!x||x==="Z")return 0;var M=x.match(/([+-]|\d\d)/g),I=60*M[1]+(+M[2]||0);return I===0?0:M[0]==="+"?-I:I}(C)}],g=function(C){var x=u[C];return x&&(x.indexOf?x:x.s.concat(x.f))},v=function(C,x){var M,I=u.meridiem;if(I){for(var O=1;O<=24;O+=1)if(C.indexOf(I(O,0,x))>-1){M=O>12;break}}else M=C===(x?"pm":"PM");return M},y={A:[c,function(C){this.afternoon=v(C,!1)}],a:[c,function(C){this.afternoon=v(C,!0)}],Q:[o,function(C){this.month=3*(C-1)+1}],S:[o,function(C){this.milliseconds=100*+C}],SS:[s,function(C){this.milliseconds=10*+C}],SSS:[/\d{3}/,function(C){this.milliseconds=+C}],s:[l,p("seconds")],ss:[l,p("seconds")],m:[l,p("minutes")],mm:[l,p("minutes")],H:[l,p("hours")],h:[l,p("hours")],HH:[l,p("hours")],hh:[l,p("hours")],D:[l,p("day")],DD:[s,p("day")],Do:[c,function(C){var x=u.ordinal,M=C.match(/\d+/);if(this.day=M[0],x)for(var I=1;I<=31;I+=1)x(I).replace(/\[|\]/g,"")===C&&(this.day=I)}],w:[l,p("week")],ww:[s,p("week")],M:[l,p("month")],MM:[s,p("month")],MMM:[c,function(C){var x=g("months"),M=(g("monthsShort")||x.map(function(I){return I.slice(0,3)})).indexOf(C)+1;if(M<1)throw new Error;this.month=M%12||M}],MMMM:[c,function(C){var x=g("months").indexOf(C)+1;if(x<1)throw new Error;this.month=x%12||x}],Y:[/[+-]?\d+/,p("year")],YY:[s,function(C){this.year=f(C)}],YYYY:[/\d{4}/,p("year")],Z:h,ZZ:h};function m(C){var x,M;x=C,M=u&&u.formats;for(var I=(C=x.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(E,R,H){var B=H&&H.toUpperCase();return R||M[H]||n[H]||M[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(L,V,F){return V||F.slice(1)})})).match(r),O=I.length,T=0;T<O;T+=1){var k=I[T],D=y[k],A=D&&D[0],j=D&&D[1];I[T]=j?{regex:A,parser:j}:k.replace(/^\[|\]$/g,"")}return function(E){for(var R={},H=0,B=0;H<O;H+=1){var L=I[H];if(typeof L=="string")B+=L.length;else{var V=L.regex,F=L.parser,Y=E.slice(B),G=V.exec(Y)[0];F.call(R,G),E=E.replace(G,"")}}return function(U){var z=U.afternoon;if(z!==void 0){var X=U.hours;z?X<12&&(U.hours+=12):X===12&&(U.hours=0),delete U.afternoon}}(R),R}}return function(C,x,M){M.p.customParseFormat=!0,C&&C.parseTwoDigitYear&&(f=C.parseTwoDigitYear);var I=x.prototype,O=I.parse;I.parse=function(T){var k=T.date,D=T.utc,A=T.args;this.$u=D;var j=A[1];if(typeof j=="string"){var E=A[2]===!0,R=A[3]===!0,H=E||R,B=A[2];R&&(B=A[2]),u=this.$locale(),!E&&B&&(u=M.Ls[B]),this.$d=function(Y,G,U,z){try{if(["x","X"].indexOf(G)>-1)return new Date((G==="X"?1e3:1)*Y);var X=m(G)(Y),de=X.year,re=X.month,ie=X.day,K=X.hours,se=X.minutes,ce=X.seconds,ee=X.milliseconds,te=X.zone,le=X.week,pe=new Date,q=ie||(de||re?1:pe.getDate()),ne=de||pe.getFullYear(),fe=0;de&&!re||(fe=re>0?re-1:pe.getMonth());var be,ve=K||0,he=se||0,ge=ce||0,Ce=ee||0;return te?new Date(Date.UTC(ne,fe,q,ve,he,ge,Ce+60*te.offset*1e3)):U?new Date(Date.UTC(ne,fe,q,ve,he,ge,Ce)):(be=new Date(ne,fe,q,ve,he,ge,Ce),le&&(be=z(be).week(le).toDate()),be)}catch{return new Date("")}}(k,j,D,M),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),H&&k!=this.format(j)&&(this.$d=new Date("")),u={}}else if(j instanceof Array)for(var L=j.length,V=1;V<=L;V+=1){A[1]=j[V-1];var F=M.apply(this,A);if(F.isValid()){this.$d=F.$d,this.$L=F.$L,this.init();break}V===L&&(this.$d=new Date(""))}else O.call(this,T)}}})})(hw);var f$=hw.exports;const tm=Oo(f$);var mw={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(vr,function(){var n={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"};return function(r,o,s){var l=o.prototype,c=l.format;s.en.formats=n,l.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var f=this.$locale().formats,p=function(h,g){return h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(v,y,m){var C=m&&m.toUpperCase();return y||g[m]||n[m]||g[C].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(x,M,I){return M||I.slice(1)})})}(u,f===void 0?{}:f);return c.call(this,p)}}})})(mw);var p$=mw.exports;const h$=Oo(p$);var gw={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(vr,function(){return function(n,r,o){r.prototype.isBetween=function(s,l,c,u){var f=o(s),p=o(l),h=(u=u||"()")[0]==="(",g=u[1]===")";return(h?this.isAfter(f,c):!this.isBefore(f,c))&&(g?this.isBefore(p,c):!this.isAfter(p,c))||(h?this.isBefore(f,c):!this.isAfter(f,c))&&(g?this.isAfter(p,c):!this.isBefore(p,c))}}})})(gw);var m$=gw.exports;const g$=Oo(m$);var bw={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(vr,function(){return function(n,r){var o=r.prototype,s=o.format;o.format=function(l){var c=this,u=this.$locale();if(!this.isValid())return s.bind(this)(l);var f=this.$utils(),p=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(h){switch(h){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return u.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return u.ordinal(c.week(),"W");case"w":case"ww":return f.s(c.week(),h==="w"?1:2,"0");case"W":case"WW":return f.s(c.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return f.s(String(c.$H===0?24:c.$H),h==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return h}});return s.bind(this)(p)}}})})(bw);var b$=bw.exports;const v$=Oo(b$);jt.extend(h$),jt.extend(d$),jt.extend(g$),jt.extend(v$);const y$={YY:"year",YYYY:{sectionType:"year",contentType:"digit",maxLength:4},M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},d:{sectionType:"weekDay",contentType:"digit",maxLength:2},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},C$={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",dayOfMonthFull:"Do",weekday:"dddd",weekdayShort:"dd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},nm=["Missing UTC plugin","To be able to use UTC or timezones, you have to enable the `utc` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join(`
563
- `),vw=["Missing timezone plugin","To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join(`
564
- `),w$=(e,t)=>t?(...n)=>e(...n).locale(t):e;class x${constructor({locale:t,formats:n}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="dayjs",this.dayjs=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=y$,this.setLocaleToValue=r=>{const o=this.getCurrentLocaleCode();return o===r.locale()?r:r.locale(o)},this.hasUTCPlugin=()=>typeof jt.utc<"u",this.hasTimezonePlugin=()=>typeof jt.tz<"u",this.isSame=(r,o,s)=>{const l=this.setTimezone(o,this.getTimezone(r));return r.format(s)===l.format(s)},this.cleanTimezone=r=>{switch(r){case"default":return;case"system":return jt.tz.guess();default:return r}},this.createSystemDate=r=>{if(this.hasUTCPlugin()&&this.hasTimezonePlugin()){const o=jt.tz.guess();return o!=="UTC"?jt.tz(r,o):jt(r)}return jt(r)},this.createUTCDate=r=>{if(!this.hasUTCPlugin())throw new Error(nm);return jt.utc(r)},this.createTZDate=(r,o)=>{if(!this.hasUTCPlugin())throw new Error(nm);if(!this.hasTimezonePlugin())throw new Error(vw);const s=r!==void 0&&!r.endsWith("Z");return jt(r).tz(this.cleanTimezone(o),s)},this.getLocaleFormats=()=>{const r=jt.Ls,o=this.locale||"en";let s=r[o];return s===void 0&&(process.env.NODE_ENV!=="production"&&oC(["MUI X: Your locale has not been found.","Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale.","Or you forget to import the locale from 'dayjs/locale/{localeUsed}'","fallback on English locale."]),s=r.en),s.formats},this.adjustOffset=r=>{if(!this.hasTimezonePlugin())return r;const o=this.getTimezone(r);if(o!=="UTC"){const s=r.tz(this.cleanTimezone(o),!0);if(s.$offset===(r.$offset??0))return r;r.$offset=s.$offset}return r},this.date=(r,o="default")=>{if(r===null)return null;let s;return o==="UTC"?s=this.createUTCDate(r):o==="system"||o==="default"&&!this.hasTimezonePlugin()?s=this.createSystemDate(r):s=this.createTZDate(r,o),this.locale===void 0?s:s.locale(this.locale)},this.getInvalidDate=()=>jt(new Date("Invalid date")),this.getTimezone=r=>{var o;if(this.hasTimezonePlugin()){const s=(o=r.$x)==null?void 0:o.$timezone;if(s)return s}return this.hasUTCPlugin()&&r.isUTC()?"UTC":"system"},this.setTimezone=(r,o)=>{if(this.getTimezone(r)===o)return r;if(o==="UTC"){if(!this.hasUTCPlugin())throw new Error(nm);return r.utc()}if(o==="system")return r.local();if(!this.hasTimezonePlugin()){if(o==="default")return r;throw new Error(vw)}return jt.tz(r,this.cleanTimezone(o))},this.toJsDate=r=>r.toDate(),this.parse=(r,o)=>r===""?null:this.dayjs(r,o,this.locale,!0),this.getCurrentLocaleCode=()=>this.locale||"en",this.is12HourCycleInCurrentLocale=()=>/A|a/.test(this.getLocaleFormats().LT||""),this.expandFormat=r=>{const o=this.getLocaleFormats(),s=l=>l.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(c,u,f)=>u||f.slice(1));return r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(l,c,u)=>{const f=u&&u.toUpperCase();return c||o[u]||s(o[f])})},this.isValid=r=>r==null?!1:r.isValid(),this.format=(r,o)=>this.formatByString(r,this.formats[o]),this.formatByString=(r,o)=>this.dayjs(r).format(o),this.formatNumber=r=>r,this.isEqual=(r,o)=>r===null&&o===null?!0:r===null||o===null?!1:r.toDate().getTime()===o.toDate().getTime(),this.isSameYear=(r,o)=>this.isSame(r,o,"YYYY"),this.isSameMonth=(r,o)=>this.isSame(r,o,"YYYY-MM"),this.isSameDay=(r,o)=>this.isSame(r,o,"YYYY-MM-DD"),this.isSameHour=(r,o)=>r.isSame(o,"hour"),this.isAfter=(r,o)=>r>o,this.isAfterYear=(r,o)=>this.hasUTCPlugin()?!this.isSameYear(r,o)&&r.utc()>o.utc():r.isAfter(o,"year"),this.isAfterDay=(r,o)=>this.hasUTCPlugin()?!this.isSameDay(r,o)&&r.utc()>o.utc():r.isAfter(o,"day"),this.isBefore=(r,o)=>r<o,this.isBeforeYear=(r,o)=>this.hasUTCPlugin()?!this.isSameYear(r,o)&&r.utc()<o.utc():r.isBefore(o,"year"),this.isBeforeDay=(r,o)=>this.hasUTCPlugin()?!this.isSameDay(r,o)&&r.utc()<o.utc():r.isBefore(o,"day"),this.isWithinRange=(r,[o,s])=>r>=o&&r<=s,this.startOfYear=r=>this.adjustOffset(r.startOf("year")),this.startOfMonth=r=>this.adjustOffset(r.startOf("month")),this.startOfWeek=r=>this.adjustOffset(this.setLocaleToValue(r).startOf("week")),this.startOfDay=r=>this.adjustOffset(r.startOf("day")),this.endOfYear=r=>this.adjustOffset(r.endOf("year")),this.endOfMonth=r=>this.adjustOffset(r.endOf("month")),this.endOfWeek=r=>this.adjustOffset(this.setLocaleToValue(r).endOf("week")),this.endOfDay=r=>this.adjustOffset(r.endOf("day")),this.addYears=(r,o)=>this.adjustOffset(o<0?r.subtract(Math.abs(o),"year"):r.add(o,"year")),this.addMonths=(r,o)=>this.adjustOffset(o<0?r.subtract(Math.abs(o),"month"):r.add(o,"month")),this.addWeeks=(r,o)=>this.adjustOffset(o<0?r.subtract(Math.abs(o),"week"):r.add(o,"week")),this.addDays=(r,o)=>this.adjustOffset(o<0?r.subtract(Math.abs(o),"day"):r.add(o,"day")),this.addHours=(r,o)=>this.adjustOffset(o<0?r.subtract(Math.abs(o),"hour"):r.add(o,"hour")),this.addMinutes=(r,o)=>this.adjustOffset(o<0?r.subtract(Math.abs(o),"minute"):r.add(o,"minute")),this.addSeconds=(r,o)=>this.adjustOffset(o<0?r.subtract(Math.abs(o),"second"):r.add(o,"second")),this.getYear=r=>r.year(),this.getMonth=r=>r.month(),this.getDate=r=>r.date(),this.getHours=r=>r.hour(),this.getMinutes=r=>r.minute(),this.getSeconds=r=>r.second(),this.getMilliseconds=r=>r.millisecond(),this.setYear=(r,o)=>this.adjustOffset(r.set("year",o)),this.setMonth=(r,o)=>this.adjustOffset(r.set("month",o)),this.setDate=(r,o)=>this.adjustOffset(r.set("date",o)),this.setHours=(r,o)=>this.adjustOffset(r.set("hour",o)),this.setMinutes=(r,o)=>this.adjustOffset(r.set("minute",o)),this.setSeconds=(r,o)=>this.adjustOffset(r.set("second",o)),this.setMilliseconds=(r,o)=>this.adjustOffset(r.set("millisecond",o)),this.getDaysInMonth=r=>r.daysInMonth(),this.getWeekArray=r=>{const o=this.startOfWeek(this.startOfMonth(r)),s=this.endOfWeek(this.endOfMonth(r));let l=0,c=o;const u=[];for(;c<s;){const f=Math.floor(l/7);u[f]=u[f]||[],u[f].push(c),c=this.addDays(c,1),l+=1}return u},this.getWeekNumber=r=>r.week(),this.getYearRange=([r,o])=>{const s=this.startOfYear(r),l=this.endOfYear(o),c=[];let u=s;for(;this.isBefore(u,l);)c.push(u),u=this.addYears(u,1);return c},this.dayjs=w$(jt,t),this.locale=t,this.formats=W({},C$,n),jt.extend(tm)}getDayOfWeek(t){return t.day()+1}}const es={"date-picker":"datePicker-module_date-picker_utM--",lg:"datePicker-module_lg_lvvw6","date-input":"datePicker-module_date-input_kaWUt",md:"datePicker-module_md_ENhFs",sm:"datePicker-module_sm_RywFd","calendar-icon-container":"datePicker-module_calendar-icon-container_qUmId","clear-icon":"datePicker-module_clear-icon_potHo","calendar-icon":"datePicker-module_calendar-icon_gaSkr","divider-line":"datePicker-module_divider-line_fdFED"},yw={"& .MuiDayCalendar-slideTransition":{minHeight:"200px"},"& .MuiDialogActions-root":{display:"none"},"& .MuiPickersLayout-actionBar":{display:"none"},"& .MuiDateCalendar-root":{height:"min-content !important"},"& .MuiPickersCalendarHeader-label":{fontFamily:"Poppins, Open Sans, Helvetica, Arial, sans-serif",fontSize:"14px",color:"#797979",fontWeight:600,textTransform:"capitalize"},"& .MuiDayCalendar-weekDayLabel":{fontFamily:"Poppins, Open Sans, Helvetica, Arial, sans-serif",fontSize:"12px",color:"#797979",fontWeight:600}},Cw={"& .MuiOutlinedInput-root":{"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#ACACAC"}},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#252525"}},"&.Mui-disabled":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#D7D7D7"}}}},ww={fontFamily:"Poppins, Open Sans, Helvetica, Arial, sans-serif",fontSize:"12px",backgroundColor:"white",color:"#252525",borderRadius:"4px","&.MuiPickersDay-root":{fontSize:"14px",textTransform:"capitalize"},"&.MuiPickersDay-today":{backgroundColor:"white",color:"#252525",border:"1px solid #252525"},"&.Mui-selected":{backgroundColor:"#0066ff",color:"white",border:"none","&:hover":{backgroundColor:"#0066ff",borderColor:"none"},"&:focus":{backgroundColor:"#0066ff",borderColor:"none"}},"&:hover:not(.Mui-selected)":{color:"#252525",backgroundColor:"#EDEDED",borderColor:"none"}},xw={"& .MuiMultiSectionDigitalClock-root":{"& .MuiList-root.MuiList-padding.MuiMultiSectionDigitalClockSection-root":{"&::after":{display:"none"}},"& .MuiButtonBase-root.MuiMenuItem-root.MuiMenuItem-gutters":{fontFamily:"Poppins, Open Sans, Helvetica, Arial, sans-serif",backgroundColor:"white",color:"#252525",borderRadius:"4px",width:"32px",height:"32px",margin:"4px 0 0 4px",fontSize:" 14px","&.Mui-selected":{backgroundColor:"#0066ff",color:"white","&:hover":{backgroundColor:"#0066ff"},"&:focus":{backgroundColor:"#0066ff"}},"&:hover:not(.Mui-selected)":{color:"#252525",backgroundColor:"#EDEDED"}}}},Sw={"& .MuiYearCalendar-root":{"& .MuiPickersYear-root":{"& .MuiPickersYear-yearButton":{fontFamily:"Poppins, Open Sans, Helvetica, Arial, sans-serif",fontSize:"14px",backgroundColor:"white",color:"#252525",borderRadius:"4px","&.Mui-selected":{backgroundColor:"#0066ff",color:"white","&:hover":{backgroundColor:"#0066ff"},"&:focus":{backgroundColor:"#0066ff"}},"&:hover:not(.Mui-selected)":{backgroundColor:"#EDEDED",color:"#252525"}}}}},Iw={"& .MuiPickersPopper-paper":{boxShadow:"0px 5px 5px -3px rgb(205 205 205 / 20%), 0px 8px 14px 1px rgb(165 165 165 / 14%), 0px 3px 14px 2px rgb(219 219 219 / 6%)"}};jt.extend(tm);const Tw=({showClearIcon:e,onClear:t,onOpen:n})=>S.jsxs("div",{className:es["calendar-icon-container"],children:[e&&S.jsx("div",{onClick:t,className:es["clear-icon"],children:S.jsx($n,{children:S.jsx(Ky,{})})}),S.jsx("div",{className:es["divider-line"]}),S.jsx("div",{onClick:n,className:es["calendar-icon"],children:S.jsx($n,{size:"12",children:S.jsx(d3,{})})})]}),Ow=e=>e?/^Y+$/.test(e)?"year":/^[Hhms:]+$/.test(e)?"time":Qn.includes(e,"H")||Qn.includes(e,"h")||Qn.includes(e,"m")||Qn.includes(e,"s")?"dateTime":"date":"date",S$=e=>e||"DD/MM/YYYY",I$=(e,t)=>{if(t)return t;switch(Ow(e)){case"year":return nn("datePicker.selectYear");case"time":return nn("datePicker.selectTime");case"dateTime":return nn("datePicker.selectDateTime");case"date":default:return nn("datePicker.selectDate")}},T$=(e,t)=>{if(!e)return null;if(typeof e=="string"){const n=jt(e,t,!0);return n.isValid()?n:null}return e instanceof Date||typeof e=="number"?jt(e):null},O$=({currentValue:e,finalFormat:t,onChange:n,disabled:r,minDate:o,maxDate:s,placeholder:l,name:c,otherProps:u,onClear:f,onOpen:p,onClose:h,open:g})=>({open:g,value:T$(e,t),onAccept:n,onClose:h,disabled:r,minDate:o?jt(o):void 0,maxDate:s?jt(s):void 0,format:t,slots:{textField:vl},slotProps:{textField:{placeholder:I$(t,l),name:c,onClick:p,variant:"outlined",fullWidth:!0,className:es["date-input"],sx:Cw,InputProps:{style:{cursor:"pointer"},endAdornment:S.jsx(Tw,{showClearIcon:!!e,onClear:f,onOpen:p})},...Qn.omit(u,"type")},layout:{sx:{...yw,...xw,...Sw}},day:{sx:ww},popper:{sx:Iw}}});var P$={exports:{}};(function(e,t){(function(n,r){e.exports=r(fw())})(vr,function(n){function r(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var o=r(n),s={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),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("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{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"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(l){return l+"º"}};return o.default.locale(s,null,!0),s})})(P$);const Pw=e=>{const{meta:t,name:n,value:r=null,disabled:o=!1,required:s=!1,placeholder:l,size:c="md",noErrors:u=!1,label:f,minDate:p,maxDate:h,format:g,isValid:v,onChange:y,input:m,...C}=e,x=S$(g),M=Ow(g),I=(m==null?void 0:m.value)??r,[O,T]=J.useState(I),[k,D]=J.useState(!1),A={meta:t,value:I,isValid:v,required:e.required},j=vh(A);J.useEffect(()=>{T(I)},[I]);const{handleChange:E}=Ui({input:m,onChange:y?F=>{const Y={target:{value:F?F.format(x):"",name:n}};y(Y)}:void 0,transformValue:F=>(T(F),F?F.toDate():null)}),R=F=>{T(F?F.format(x):null),E(F)},H=()=>{T(null),E(null),D(!1)},B=()=>{D(!k)},L=()=>{D(!1)};jt.locale("es");const V=()=>{const F=O$({currentValue:O,finalFormat:x,disabled:o,minDate:p,maxDate:h,placeholder:l,name:n,onChange:R,onClear:H,onOpen:B,onClose:L,open:k,otherProps:C});switch(M){case"year":return S.jsx(Uh,{...F,views:["year"]});case"time":return S.jsx(uw,{...F,views:Qn.includes(x,"s")?["hours","minutes","seconds"]:["hours","minutes"]});case"dateTime":return S.jsx(iw,{...F});case"date":default:return S.jsx(Uh,{...F})}};return S.jsx(Eh,{dateAdapter:x$,adapterLocale:"es",children:S.jsxs("div",{className:xe(es[c],j?Hs[j]:"",es["date-picker"]),children:[S.jsx(V,{}),!u&&S.jsx(yh,{validationProps:A})]})})},E$=({label:e,rightAdornment:t,...n})=>S.jsx(Tm,{type:"date",label:e,rightAdornment:t,...n});function M$(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 rm={},zl={};function ts(e,t){try{const r=(rm[e]||(rm[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return r in zl?zl[r]:Ew(r,r.split(":"))}catch{if(e in zl)return zl[e];const n=e==null?void 0:e.match(D$);return n?Ew(e,n.slice(1)):NaN}}const D$=/([+-]\d\d):?(\d\d)?/;function Ew(e,t){const n=+(t[0]||0),r=+(t[1]||0),o=+(t[2]||0)/60;return zl[e]=n*60+r>0?n*60+r+o:n*60-r-o}class go extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(ts(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)),Dw(this),om(this)):this.setTime(Date.now())}static tz(t,...n){return n.length?new go(...n,t):new go(Date.now(),t)}withTimeZone(t){return new go(+this,t)}getTimezoneOffset(){const t=-ts(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),om(this),+this}[Symbol.for("constructDateFrom")](t){return new go(+new Date(t),this.timeZone)}}const Mw=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!Mw.test(e))return;const t=e.replace(Mw,"$1UTC");go.prototype[t]&&(e.startsWith("get")?go.prototype[e]=function(){return this.internal[t]()}:(go.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),k$(this),+this},go.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),om(this),+this}))});function om(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-ts(e.timeZone,e)*60))}function k$(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()),Dw(e)}function Dw(e){const t=ts(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);const o=-new Date(+e).getTimezoneOffset(),s=-new Date(+r).getTimezoneOffset(),l=o-s,c=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();l&&c&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+l);const u=o-n;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);const f=new Date(+e);f.setUTCSeconds(0);const p=o>0?f.getSeconds():(f.getSeconds()-60)%60,h=Math.round(-(ts(e.timeZone,e)*60))%60;(h||p)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+h),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+h+p));const g=ts(e.timeZone,e),v=g>0?Math.floor(g):Math.ceil(g),m=-new Date(+e).getTimezoneOffset()-v,C=v!==n,x=m-u;if(C&&x){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+x);const M=ts(e.timeZone,e),I=M>0?Math.floor(M):Math.ceil(M),O=v-I;O&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+O),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+O))}}class jn extends go{static tz(t,...n){return n.length?new jn(...n,t):new jn(Date.now(),t)}toISOString(){const[t,n,r]=this.tzComponents(),o=`${t}${n}:${r}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,n,r,o]=this.internal.toUTCString().split(" ");return`${t==null?void 0:t.slice(0,-1)} ${r} ${n} ${o}`}toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[n,r,o]=this.tzComponents();return`${t} GMT${n}${r}${o} (${M$(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"),o=String(Math.abs(t)%60).padStart(2,"0");return[n,r,o]}withTimeZone(t){return new jn(+this,t)}[Symbol.for("constructDateFrom")](t){return new jn(+new Date(t),this.timeZone)}}var ze;(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"})(ze||(ze={}));var on;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(on||(on={}));var Ur;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(Ur||(Ur={}));var dr;(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"})(dr||(dr={}));const kw=6048e5,A$=864e5,Aw=Symbol.for("constructDateFrom");function Sn(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Aw in e?e[Aw](t):e instanceof Date?new e.constructor(t):new Date(t)}function Ht(e,t){return Sn(t||e,e)}function Nw(e,t,n){const r=Ht(e,n==null?void 0:n.in);return isNaN(t)?Sn(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Rw(e,t,n){const r=Ht(e,n==null?void 0:n.in);if(isNaN(t))return Sn(e,NaN);if(!t)return r;const o=r.getDate(),s=Sn(e,r.getTime());s.setMonth(r.getMonth()+t+1,0);const l=s.getDate();return o>=l?s:(r.setFullYear(s.getFullYear(),s.getMonth(),o),r)}let N$={};function Gl(){return N$}function ra(e,t){var c,u,f,p;const n=Gl(),r=(t==null?void 0:t.weekStartsOn)??((u=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((p=(f=n.locale)==null?void 0:f.options)==null?void 0:p.weekStartsOn)??0,o=Ht(e,t==null?void 0:t.in),s=o.getDay(),l=(s<r?7:0)+s-r;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function Yl(e,t){return ra(e,{...t,weekStartsOn:1})}function Fw(e,t){const n=Ht(e,t==null?void 0:t.in),r=n.getFullYear(),o=Sn(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const s=Yl(o),l=Sn(n,0);l.setFullYear(r,0,4),l.setHours(0,0,0,0);const c=Yl(l);return n.getTime()>=s.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function Vw(e){const t=Ht(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 oa(e,...t){const n=Sn.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function Ul(e,t){const n=Ht(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function Lw(e,t,n){const[r,o]=oa(n==null?void 0:n.in,e,t),s=Ul(r),l=Ul(o),c=+s-Vw(s),u=+l-Vw(l);return Math.round((c-u)/A$)}function R$(e,t){const n=Fw(e,t),r=Sn(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Yl(r)}function F$(e,t,n){return Nw(e,t*7,n)}function V$(e,t,n){return Rw(e,t*12,n)}function L$(e,t){let n,r=t==null?void 0:t.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=Sn.bind(null,o));const s=Ht(o,r);(!n||n<s||isNaN(+s))&&(n=s)}),Sn(r,n||NaN)}function _$(e,t){let n,r=t==null?void 0:t.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=Sn.bind(null,o));const s=Ht(o,r);(!n||n>s||isNaN(+s))&&(n=s)}),Sn(r,n||NaN)}function B$(e,t,n){const[r,o]=oa(n==null?void 0:n.in,e,t);return+Ul(r)==+Ul(o)}function _w(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $$(e){return!(!_w(e)&&typeof e!="number"||isNaN(+Ht(e)))}function W$(e,t,n){const[r,o]=oa(n==null?void 0:n.in,e,t),s=r.getFullYear()-o.getFullYear(),l=r.getMonth()-o.getMonth();return s*12+l}function j$(e,t){const n=Ht(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 H$(e,t){const[n,r]=oa(e,t.start,t.end);return{start:n,end:r}}function z$(e,t){const{start:n,end:r}=H$(t==null?void 0:t.in,e);let o=+n>+r;const s=o?+n:+r,l=o?r:n;l.setHours(0,0,0,0),l.setDate(1);let c=1;const u=[];for(;+l<=s;)u.push(Sn(n,l)),l.setMonth(l.getMonth()+c);return o?u.reverse():u}function G$(e,t){const n=Ht(e,t==null?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}function Y$(e,t){const n=Ht(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 Bw(e,t){const n=Ht(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function $w(e,t){var c,u,f,p;const n=Gl(),r=(t==null?void 0:t.weekStartsOn)??((u=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((p=(f=n.locale)==null?void 0:f.options)==null?void 0:p.weekStartsOn)??0,o=Ht(e,t==null?void 0:t.in),s=o.getDay(),l=(s<r?-7:0)+6-(s-r);return o.setDate(o.getDate()+l),o.setHours(23,59,59,999),o}function U$(e,t){return $w(e,{...t,weekStartsOn:1})}const X$={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"}},Z$=(e,t,n)=>{let r;const o=X$[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function ia(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const q$={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},J$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},K$={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Q$={date:ia({formats:q$,defaultWidth:"full"}),time:ia({formats:J$,defaultWidth:"full"}),dateTime:ia({formats:K$,defaultWidth:"full"})},eW={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tW=(e,t,n,r)=>eW[e];function bo(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,c=n!=null&&n.width?String(n.width):l;o=e.formattingValues[c]||e.formattingValues[l]}else{const l=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[c]||e.values[l]}const s=e.argumentCallback?e.argumentCallback(t):t;return o[s]}}const nW={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},rW={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oW={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"]},iW={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"]},sW={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"}},aW={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"}},lW={ordinalNumber:(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"},era:bo({values:nW,defaultWidth:"wide"}),quarter:bo({values:rW,defaultWidth:"wide",argumentCallback:e=>e-1}),month:bo({values:oW,defaultWidth:"wide"}),day:bo({values:iW,defaultWidth:"wide"}),dayPeriod:bo({values:sW,defaultWidth:"wide",formattingValues:aW,defaultFormattingWidth:"wide"})};function vo(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;const l=s[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(c)?uW(c,h=>h.test(l)):cW(c,h=>h.test(l));let f;f=e.valueCallback?e.valueCallback(u):u,f=n.valueCallback?n.valueCallback(f):f;const p=t.slice(l.length);return{value:f,rest:p}}}function cW(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function uW(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Ww(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],s=t.match(e.parsePattern);if(!s)return null;let l=e.valueCallback?e.valueCallback(s[0]):s[0];l=n.valueCallback?n.valueCallback(l):l;const c=t.slice(o.length);return{value:l,rest:c}}}const dW=/^(\d+)(th|st|nd|rd)?/i,fW=/\d+/i,pW={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},hW={any:[/^b/i,/^(a|c)/i]},mW={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gW={any:[/1/i,/2/i,/3/i,/4/i]},bW={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},vW={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]},yW={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},CW={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]},wW={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},xW={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}},SW={ordinalNumber:Ww({matchPattern:dW,parsePattern:fW,valueCallback:e=>parseInt(e,10)}),era:vo({matchPatterns:pW,defaultMatchWidth:"wide",parsePatterns:hW,defaultParseWidth:"any"}),quarter:vo({matchPatterns:mW,defaultMatchWidth:"wide",parsePatterns:gW,defaultParseWidth:"any",valueCallback:e=>e+1}),month:vo({matchPatterns:bW,defaultMatchWidth:"wide",parsePatterns:vW,defaultParseWidth:"any"}),day:vo({matchPatterns:yW,defaultMatchWidth:"wide",parsePatterns:CW,defaultParseWidth:"any"}),dayPeriod:vo({matchPatterns:wW,defaultMatchWidth:"any",parsePatterns:xW,defaultParseWidth:"any"})},im={code:"en-US",formatDistance:Z$,formatLong:Q$,formatRelative:tW,localize:lW,match:SW,options:{weekStartsOn:0,firstWeekContainsDate:1}};function IW(e,t){const n=Ht(e,t==null?void 0:t.in);return Lw(n,Bw(n))+1}function jw(e,t){const n=Ht(e,t==null?void 0:t.in),r=+Yl(n)-+R$(n);return Math.round(r/kw)+1}function Hw(e,t){var p,h,g,v;const n=Ht(e,t==null?void 0:t.in),r=n.getFullYear(),o=Gl(),s=(t==null?void 0:t.firstWeekContainsDate)??((h=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??o.firstWeekContainsDate??((v=(g=o.locale)==null?void 0:g.options)==null?void 0:v.firstWeekContainsDate)??1,l=Sn((t==null?void 0:t.in)||e,0);l.setFullYear(r+1,0,s),l.setHours(0,0,0,0);const c=ra(l,t),u=Sn((t==null?void 0:t.in)||e,0);u.setFullYear(r,0,s),u.setHours(0,0,0,0);const f=ra(u,t);return+n>=+c?r+1:+n>=+f?r:r-1}function TW(e,t){var c,u,f,p;const n=Gl(),r=(t==null?void 0:t.firstWeekContainsDate)??((u=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??n.firstWeekContainsDate??((p=(f=n.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??1,o=Hw(e,t),s=Sn((t==null?void 0:t.in)||e,0);return s.setFullYear(o,0,r),s.setHours(0,0,0,0),ra(s,t)}function zw(e,t){const n=Ht(e,t==null?void 0:t.in),r=+ra(n,t)-+TW(n,t);return Math.round(r/kw)+1}function Ft(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const bi={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Ft(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Ft(n+1,2)},d(e,t){return Ft(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 Ft(e.getHours()%12||12,t.length)},H(e,t){return Ft(e.getHours(),t.length)},m(e,t){return Ft(e.getMinutes(),t.length)},s(e,t){return Ft(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ft(o,t.length)}},sa={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Gw={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(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return bi.y(e,t)},Y:function(e,t,n,r){const o=Hw(e,r),s=o>0?o:1-o;if(t==="YY"){const l=s%100;return Ft(l,2)}return t==="Yo"?n.ordinalNumber(s,{unit:"year"}):Ft(s,t.length)},R:function(e,t){const n=Fw(e);return Ft(n,t.length)},u:function(e,t){const n=e.getFullYear();return Ft(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 Ft(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 Ft(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 bi.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 Ft(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 o=zw(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):Ft(o,t.length)},I:function(e,t,n){const r=jw(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Ft(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):bi.d(e,t)},D:function(e,t,n){const r=IW(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ft(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 o=e.getDay(),s=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return Ft(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),s=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return Ft(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return Ft(o,t.length);case"io":return n.ordinalNumber(o,{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 o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=sa.noon:r===0?o=sa.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=sa.evening:r>=12?o=sa.afternoon:r>=4?o=sa.morning:o=sa.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{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 bi.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):bi.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ft(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ft(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):bi.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):bi.s(e,t)},S:function(e,t){return bi.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Uw(r);case"XXXX":case"XX":return ns(r);case"XXXXX":case"XXX":default:return ns(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Uw(r);case"xxxx":case"xx":return ns(r);case"xxxxx":case"xxx":default:return ns(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Yw(r,":");case"OOOO":default:return"GMT"+ns(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Yw(r,":");case"zzzz":default:return"GMT"+ns(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return Ft(r,t.length)},T:function(e,t,n){return Ft(+e,t.length)}};function Yw(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),s=r%60;return s===0?n+String(o):n+String(o)+t+Ft(s,2)}function Uw(e,t){return e%60===0?(e>0?"-":"+")+Ft(Math.abs(e)/60,2):ns(e,t)}function ns(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ft(Math.trunc(r/60),2),s=Ft(r%60,2);return n+o+t+s}const Xw=(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"})}},Zw=(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"})}},OW={p:Zw,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Xw(e,t);let s;switch(r){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",Xw(r,t)).replace("{{time}}",Zw(o,t))}},PW=/^D+$/,EW=/^Y+$/,MW=["D","DD","YY","YYYY"];function DW(e){return PW.test(e)}function kW(e){return EW.test(e)}function AW(e,t,n){const r=NW(e,t,n);if(console.warn(r),MW.includes(e))throw new RangeError(r)}function NW(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 RW=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,FW=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,VW=/^'([^]*?)'?$/,LW=/''/g,_W=/[a-zA-Z]/;function BW(e,t,n){var p,h,g,v,y,m,C,x;const r=Gl(),o=(n==null?void 0:n.locale)??r.locale??im,s=(n==null?void 0:n.firstWeekContainsDate)??((h=(p=n==null?void 0:n.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((v=(g=r.locale)==null?void 0:g.options)==null?void 0:v.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((m=(y=n==null?void 0:n.locale)==null?void 0:y.options)==null?void 0:m.weekStartsOn)??r.weekStartsOn??((x=(C=r.locale)==null?void 0:C.options)==null?void 0:x.weekStartsOn)??0,c=Ht(e,n==null?void 0:n.in);if(!$$(c))throw new RangeError("Invalid time value");let u=t.match(FW).map(M=>{const I=M[0];if(I==="p"||I==="P"){const O=OW[I];return O(M,o.formatLong)}return M}).join("").match(RW).map(M=>{if(M==="''")return{isToken:!1,value:"'"};const I=M[0];if(I==="'")return{isToken:!1,value:$W(M)};if(Gw[I])return{isToken:!0,value:M};if(I.match(_W))throw new RangeError("Format string contains an unescaped latin alphabet character `"+I+"`");return{isToken:!1,value:M}});o.localize.preprocessor&&(u=o.localize.preprocessor(c,u));const f={firstWeekContainsDate:s,weekStartsOn:l,locale:o};return u.map(M=>{if(!M.isToken)return M.value;const I=M.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&kW(I)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&DW(I))&&AW(I,t,String(e));const O=Gw[I[0]];return O(c,I,o.localize,f)}).join("")}function $W(e){const t=e.match(VW);return t?t[1].replace(LW,"'"):e}function WW(e,t){const n=Ht(e,t==null?void 0:t.in),r=n.getFullYear(),o=n.getMonth(),s=Sn(n,0);return s.setFullYear(r,o+1,0),s.setHours(0,0,0,0),s.getDate()}function jW(e,t){return Ht(e,t==null?void 0:t.in).getMonth()}function HW(e,t){return Ht(e,t==null?void 0:t.in).getFullYear()}function zW(e,t){return+Ht(e)>+Ht(t)}function GW(e,t){return+Ht(e)<+Ht(t)}function YW(e,t,n){const[r,o]=oa(n==null?void 0:n.in,e,t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function UW(e,t,n){const[r,o]=oa(n==null?void 0:n.in,e,t);return r.getFullYear()===o.getFullYear()}function XW(e,t,n){const r=Ht(e,n==null?void 0:n.in),o=r.getFullYear(),s=r.getDate(),l=Sn(e,0);l.setFullYear(o,t,15),l.setHours(0,0,0,0);const c=WW(l);return r.setMonth(t,Math.min(s,c)),r}function ZW(e,t,n){const r=Ht(e,n==null?void 0:n.in);return isNaN(+r)?Sn(e,NaN):(r.setFullYear(t),r)}const qw=5,qW=4;function JW(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,o=t.addDays(e,-r+1),s=t.addDays(o,qw*7-1);return t.getMonth(e)===t.getMonth(s)?qw:qW}function Jw(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 KW(e,t){const n=Jw(e,t),r=JW(e,t);return t.addDays(n,r*7-1)}class Ho{constructor(t,n){this.Date=Date,this.today=()=>{var r;return(r=this.overrides)!=null&&r.today?this.overrides.today():this.options.timeZone?jn.tz(this.options.timeZone):new this.Date},this.newDate=(r,o,s)=>{var l;return(l=this.overrides)!=null&&l.newDate?this.overrides.newDate(r,o,s):this.options.timeZone?new jn(r,o,s,this.options.timeZone):new Date(r,o,s)},this.addDays=(r,o)=>{var s;return(s=this.overrides)!=null&&s.addDays?this.overrides.addDays(r,o):Nw(r,o)},this.addMonths=(r,o)=>{var s;return(s=this.overrides)!=null&&s.addMonths?this.overrides.addMonths(r,o):Rw(r,o)},this.addWeeks=(r,o)=>{var s;return(s=this.overrides)!=null&&s.addWeeks?this.overrides.addWeeks(r,o):F$(r,o)},this.addYears=(r,o)=>{var s;return(s=this.overrides)!=null&&s.addYears?this.overrides.addYears(r,o):V$(r,o)},this.differenceInCalendarDays=(r,o)=>{var s;return(s=this.overrides)!=null&&s.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,o):Lw(r,o)},this.differenceInCalendarMonths=(r,o)=>{var s;return(s=this.overrides)!=null&&s.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,o):W$(r,o)},this.eachMonthOfInterval=r=>{var o;return(o=this.overrides)!=null&&o.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):z$(r)},this.endOfBroadcastWeek=r=>{var o;return(o=this.overrides)!=null&&o.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):KW(r,this)},this.endOfISOWeek=r=>{var o;return(o=this.overrides)!=null&&o.endOfISOWeek?this.overrides.endOfISOWeek(r):U$(r)},this.endOfMonth=r=>{var o;return(o=this.overrides)!=null&&o.endOfMonth?this.overrides.endOfMonth(r):j$(r)},this.endOfWeek=(r,o)=>{var s;return(s=this.overrides)!=null&&s.endOfWeek?this.overrides.endOfWeek(r,o):$w(r,this.options)},this.endOfYear=r=>{var o;return(o=this.overrides)!=null&&o.endOfYear?this.overrides.endOfYear(r):Y$(r)},this.format=(r,o,s)=>{var c;const l=(c=this.overrides)!=null&&c.format?this.overrides.format(r,o,this.options):BW(r,o,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(l):l},this.getISOWeek=r=>{var o;return(o=this.overrides)!=null&&o.getISOWeek?this.overrides.getISOWeek(r):jw(r)},this.getMonth=(r,o)=>{var s;return(s=this.overrides)!=null&&s.getMonth?this.overrides.getMonth(r,this.options):jW(r,this.options)},this.getYear=(r,o)=>{var s;return(s=this.overrides)!=null&&s.getYear?this.overrides.getYear(r,this.options):HW(r,this.options)},this.getWeek=(r,o)=>{var s;return(s=this.overrides)!=null&&s.getWeek?this.overrides.getWeek(r,this.options):zw(r,this.options)},this.isAfter=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isAfter?this.overrides.isAfter(r,o):zW(r,o)},this.isBefore=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isBefore?this.overrides.isBefore(r,o):GW(r,o)},this.isDate=r=>{var o;return(o=this.overrides)!=null&&o.isDate?this.overrides.isDate(r):_w(r)},this.isSameDay=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isSameDay?this.overrides.isSameDay(r,o):B$(r,o)},this.isSameMonth=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isSameMonth?this.overrides.isSameMonth(r,o):YW(r,o)},this.isSameYear=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isSameYear?this.overrides.isSameYear(r,o):UW(r,o)},this.max=r=>{var o;return(o=this.overrides)!=null&&o.max?this.overrides.max(r):L$(r)},this.min=r=>{var o;return(o=this.overrides)!=null&&o.min?this.overrides.min(r):_$(r)},this.setMonth=(r,o)=>{var s;return(s=this.overrides)!=null&&s.setMonth?this.overrides.setMonth(r,o):XW(r,o)},this.setYear=(r,o)=>{var s;return(s=this.overrides)!=null&&s.setYear?this.overrides.setYear(r,o):ZW(r,o)},this.startOfBroadcastWeek=(r,o)=>{var s;return(s=this.overrides)!=null&&s.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):Jw(r,this)},this.startOfDay=r=>{var o;return(o=this.overrides)!=null&&o.startOfDay?this.overrides.startOfDay(r):Ul(r)},this.startOfISOWeek=r=>{var o;return(o=this.overrides)!=null&&o.startOfISOWeek?this.overrides.startOfISOWeek(r):Yl(r)},this.startOfMonth=r=>{var o;return(o=this.overrides)!=null&&o.startOfMonth?this.overrides.startOfMonth(r):G$(r)},this.startOfWeek=(r,o)=>{var s;return(s=this.overrides)!=null&&s.startOfWeek?this.overrides.startOfWeek(r,this.options):ra(r,this.options)},this.startOfYear=r=>{var o;return(o=this.overrides)!=null&&o.startOfYear?this.overrides.startOfYear(r):Bw(r)},this.options={locale:im,...t},this.overrides=n}getDigitMap(){const{numerals:t="latn"}=this.options,n=new Intl.NumberFormat("en-US",{numberingSystem:t}),r={};for(let o=0;o<10;o++)r[o.toString()]=n.format(o);return r}replaceDigits(t){const n=this.getDigitMap();return t.replace(/\d/g,r=>n[r]||r)}formatNumber(t){return this.replaceDigits(t.toString())}}const yo=new Ho;class Kw{constructor(t,n,r=yo){this.date=t,this.displayMonth=n,this.outside=!!(n&&!r.isSameMonth(t,n)),this.dateLib=r}isEqualTo(t){return this.dateLib.isSameDay(t.date,this.date)&&this.dateLib.isSameMonth(t.displayMonth,this.displayMonth)}}class QW{constructor(t,n){this.date=t,this.weeks=n}}class e6{constructor(t,n){this.days=n,this.weekNumber=t}}function zo(e,t,n=!1,r=yo){let{from:o,to:s}=e;const{differenceInCalendarDays:l,isSameDay:c}=r;return o&&s?(l(s,o)<0&&([o,s]=[s,o]),l(t,o)>=(n?1:0)&&l(s,t)>=(n?1:0)):!n&&s?c(s,t):!n&&o?c(o,t):!1}function Qw(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function sm(e){return!!(e&&typeof e=="object"&&"from"in e)}function ex(e){return!!(e&&typeof e=="object"&&"after"in e)}function tx(e){return!!(e&&typeof e=="object"&&"before"in e)}function nx(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function rx(e,t){return Array.isArray(e)&&e.every(t.isDate)}function Go(e,t,n=yo){const r=Array.isArray(t)?t:[t],{isSameDay:o,differenceInCalendarDays:s,isAfter:l}=n;return r.some(c=>{if(typeof c=="boolean")return c;if(n.isDate(c))return o(e,c);if(rx(c,n))return c.includes(e);if(sm(c))return zo(c,e,!1,n);if(nx(c))return Array.isArray(c.dayOfWeek)?c.dayOfWeek.includes(e.getDay()):c.dayOfWeek===e.getDay();if(Qw(c)){const u=s(c.before,e),f=s(c.after,e),p=u>0,h=f<0;return l(c.before,c.after)?h&&p:p||h}return ex(c)?s(e,c.after)>0:tx(c)?s(c.before,e)>0:typeof c=="function"?c(e):!1})}function t6(e,t,n,r,o){const{disabled:s,hidden:l,modifiers:c,showOutsideDays:u,broadcastCalendar:f,today:p}=t,{isSameDay:h,isSameMonth:g,startOfMonth:v,isBefore:y,endOfMonth:m,isAfter:C}=o,x=n&&v(n),M=r&&m(r),I={[on.focused]:[],[on.outside]:[],[on.disabled]:[],[on.hidden]:[],[on.today]:[]},O={};for(const T of e){const{date:k,displayMonth:D}=T,A=!!(D&&!g(k,D)),j=!!(x&&y(k,x)),E=!!(M&&C(k,M)),R=!!(s&&Go(k,s,o)),H=!!(l&&Go(k,l,o))||j||E||!f&&!u&&A||f&&u===!1&&A,B=h(k,p??o.today());A&&I.outside.push(T),R&&I.disabled.push(T),H&&I.hidden.push(T),B&&I.today.push(T),c&&Object.keys(c).forEach(L=>{const V=c==null?void 0:c[L];V&&Go(k,V,o)&&(O[L]?O[L].push(T):O[L]=[T])})}return T=>{const k={[on.focused]:!1,[on.disabled]:!1,[on.hidden]:!1,[on.outside]:!1,[on.today]:!1},D={};for(const A in I){const j=I[A];k[A]=j.some(E=>E===T)}for(const A in O)D[A]=O[A].some(j=>j===T);return{...k,...D}}}function n6(e,t,n={}){return Object.entries(e).filter(([,o])=>o===!0).reduce((o,[s])=>(n[s]?o.push(n[s]):t[on[s]]?o.push(t[on[s]]):t[Ur[s]]&&o.push(t[Ur[s]]),o),[t[ze.Day]])}function r6(e){return J.createElement("button",{...e})}function o6(e){return J.createElement("span",{...e})}function i6(e){const{size:t=24,orientation:n="left",className:r}=e;return J.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},n==="up"&&J.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),n==="down"&&J.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),n==="left"&&J.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),n==="right"&&J.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function s6(e){const{day:t,modifiers:n,...r}=e;return J.createElement("td",{...r})}function a6(e){const{day:t,modifiers:n,...r}=e,o=J.useRef(null);return J.useEffect(()=>{var s;n.focused&&((s=o.current)==null||s.focus())},[n.focused]),J.createElement("button",{ref:o,...r})}function l6(e){const{options:t,className:n,components:r,classNames:o,...s}=e,l=[o[ze.Dropdown],n].join(" "),c=t==null?void 0:t.find(({value:u})=>u===s.value);return J.createElement("span",{"data-disabled":s.disabled,className:o[ze.DropdownRoot]},J.createElement(r.Select,{className:l,...s},t==null?void 0:t.map(({value:u,label:f,disabled:p})=>J.createElement(r.Option,{key:u,value:u,disabled:p},f))),J.createElement("span",{className:o[ze.CaptionLabel],"aria-hidden":!0},c==null?void 0:c.label,J.createElement(r.Chevron,{orientation:"down",size:18,className:o[ze.Chevron]})))}function c6(e){return J.createElement("div",{...e})}function u6(e){return J.createElement("div",{...e})}function d6(e){const{calendarMonth:t,displayIndex:n,...r}=e;return J.createElement("div",{...r},e.children)}function f6(e){const{calendarMonth:t,displayIndex:n,...r}=e;return J.createElement("div",{...r})}function p6(e){return J.createElement("table",{...e})}function h6(e){return J.createElement("div",{...e})}const ox=J.createContext(void 0);function Xl(){const e=J.useContext(ox);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function m6(e){const{components:t}=Xl();return J.createElement(t.Dropdown,{...e})}function g6(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:o,...s}=e,{components:l,classNames:c,labels:{labelPrevious:u,labelNext:f}}=Xl(),p=J.useCallback(g=>{o&&(n==null||n(g))},[o,n]),h=J.useCallback(g=>{r&&(t==null||t(g))},[r,t]);return J.createElement("nav",{...s},J.createElement(l.PreviousMonthButton,{type:"button",className:c[ze.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":u(r),onClick:h},J.createElement(l.Chevron,{disabled:r?void 0:!0,className:c[ze.Chevron],orientation:"left"})),J.createElement(l.NextMonthButton,{type:"button",className:c[ze.NextMonthButton],tabIndex:o?void 0:-1,"aria-disabled":o?void 0:!0,"aria-label":f(o),onClick:p},J.createElement(l.Chevron,{disabled:o?void 0:!0,orientation:"right",className:c[ze.Chevron]})))}function b6(e){const{components:t}=Xl();return J.createElement(t.Button,{...e})}function v6(e){return J.createElement("option",{...e})}function y6(e){const{components:t}=Xl();return J.createElement(t.Button,{...e})}function C6(e){const{rootRef:t,...n}=e;return J.createElement("div",{...n,ref:t})}function w6(e){return J.createElement("select",{...e})}function x6(e){const{week:t,...n}=e;return J.createElement("tr",{...n})}function S6(e){return J.createElement("th",{...e})}function I6(e){return J.createElement("thead",{"aria-hidden":!0},J.createElement("tr",{...e}))}function T6(e){const{week:t,...n}=e;return J.createElement("th",{...n})}function O6(e){return J.createElement("th",{...e})}function P6(e){return J.createElement("tbody",{...e})}function E6(e){const{components:t}=Xl();return J.createElement(t.Dropdown,{...e})}const M6=Object.freeze(Object.defineProperty({__proto__:null,Button:r6,CaptionLabel:o6,Chevron:i6,Day:s6,DayButton:a6,Dropdown:l6,DropdownNav:c6,Footer:u6,Month:d6,MonthCaption:f6,MonthGrid:p6,Months:h6,MonthsDropdown:m6,Nav:g6,NextMonthButton:b6,Option:v6,PreviousMonthButton:y6,Root:C6,Select:w6,Week:x6,WeekNumber:T6,WeekNumberHeader:O6,Weekday:S6,Weekdays:I6,Weeks:P6,YearsDropdown:E6},Symbol.toStringTag,{value:"Module"}));function D6(e){return{...M6,...e}}function k6(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 A6(){const e={};for(const t in ze)e[ze[t]]=`rdp-${ze[t]}`;for(const t in on)e[on[t]]=`rdp-${on[t]}`;for(const t in Ur)e[Ur[t]]=`rdp-${Ur[t]}`;for(const t in dr)e[dr[t]]=`rdp-${dr[t]}`;return e}function ix(e,t,n){return(n??new Ho(t)).format(e,"LLLL y")}const N6=ix;function R6(e,t,n){return(n??new Ho(t)).format(e,"d")}function F6(e,t=yo){return t.format(e,"LLLL")}function V6(e,t=yo){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function L6(){return""}function _6(e,t,n){return(n??new Ho(t)).format(e,"cccccc")}function sx(e,t=yo){return t.format(e,"yyyy")}const B6=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:ix,formatDay:R6,formatMonthCaption:N6,formatMonthDropdown:F6,formatWeekNumber:V6,formatWeekNumberHeader:L6,formatWeekdayName:_6,formatYearCaption:sx,formatYearDropdown:sx},Symbol.toStringTag,{value:"Module"}));function $6(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...B6,...e}}function W6(e,t,n,r,o){const{startOfMonth:s,startOfYear:l,endOfYear:c,eachMonthOfInterval:u,getMonth:f}=o;return u({start:l(e),end:c(e)}).map(g=>{const v=r.formatMonthDropdown(g,o),y=f(g),m=t&&g<s(t)||n&&g>s(n)||!1;return{value:y,label:v,disabled:m}})}function j6(e,t={},n={}){let r={...t==null?void 0:t[ze.Day]};return Object.entries(e).filter(([,o])=>o===!0).forEach(([o])=>{r={...r,...n==null?void 0:n[o]}}),r}function H6(e,t,n){const r=e.today(),o=t?e.startOfISOWeek(r):e.startOfWeek(r),s=[];for(let l=0;l<7;l++){const c=e.addDays(o,l);s.push(c)}return s}function z6(e,t,n,r){if(!e||!t)return;const{startOfYear:o,endOfYear:s,addYears:l,getYear:c,isBefore:u,isSameYear:f}=r,p=o(e),h=s(t),g=[];let v=p;for(;u(v,h)||f(v,h);)g.push(v),v=l(v,1);return g.map(y=>{const m=n.formatYearDropdown(y,r);return{value:c(y),label:m,disabled:!1}})}function ax(e,t,n){return(n??new Ho(t)).format(e,"LLLL y")}const G6=ax;function Y6(e,t,n,r){let o=(r??new Ho(n)).format(e,"PPPP");return t!=null&&t.today&&(o=`Today, ${o}`),o}function lx(e,t,n,r){let o=(r??new Ho(n)).format(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o}const U6=lx;function X6(){return""}function Z6(e){return"Choose the Month"}function q6(e){return"Go to the Next Month"}function J6(e){return"Go to the Previous Month"}function K6(e,t,n){return(n??new Ho(t)).format(e,"cccc")}function Q6(e,t){return`Week ${e}`}function e7(e){return"Week Number"}function t7(e){return"Choose the Year"}const n7=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:G6,labelDay:U6,labelDayButton:lx,labelGrid:ax,labelGridcell:Y6,labelMonthDropdown:Z6,labelNav:X6,labelNext:q6,labelPrevious:J6,labelWeekNumber:Q6,labelWeekNumberHeader:e7,labelWeekday:K6,labelYearDropdown:t7},Symbol.toStringTag,{value:"Module"})),Zl=e=>e instanceof HTMLElement?e:null,am=e=>[...e.querySelectorAll("[data-animated-month]")??[]],r7=e=>Zl(e.querySelector("[data-animated-month]")),lm=e=>Zl(e.querySelector("[data-animated-caption]")),cm=e=>Zl(e.querySelector("[data-animated-weeks]")),o7=e=>Zl(e.querySelector("[data-animated-nav]")),i7=e=>Zl(e.querySelector("[data-animated-weekdays]"));function s7(e,t,{classNames:n,months:r,focused:o,dateLib:s}){const l=J.useRef(null),c=J.useRef(r),u=J.useRef(!1);J.useLayoutEffect(()=>{const f=c.current;if(c.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||f.length===0||r.length!==f.length)return;const p=s.isSameMonth(r[0].date,f[0].date),h=s.isAfter(r[0].date,f[0].date),g=h?n[dr.caption_after_enter]:n[dr.caption_before_enter],v=h?n[dr.weeks_after_enter]:n[dr.weeks_before_enter],y=l.current,m=e.current.cloneNode(!0);if(m instanceof HTMLElement?(am(m).forEach(I=>{if(!(I instanceof HTMLElement))return;const O=r7(I);O&&I.contains(O)&&I.removeChild(O);const T=lm(I);T&&T.classList.remove(g);const k=cm(I);k&&k.classList.remove(v)}),l.current=m):l.current=null,u.current||p||o)return;const C=y instanceof HTMLElement?am(y):[],x=am(e.current);if(x&&x.every(M=>M instanceof HTMLElement)&&C&&C.every(M=>M instanceof HTMLElement)){u.current=!0,e.current.style.isolation="isolate";const M=o7(e.current);M&&(M.style.zIndex="1"),x.forEach((I,O)=>{const T=C[O];if(!T)return;I.style.position="relative",I.style.overflow="hidden";const k=lm(I);k&&k.classList.add(g);const D=cm(I);D&&D.classList.add(v);const A=()=>{u.current=!1,e.current&&(e.current.style.isolation=""),M&&(M.style.zIndex=""),k&&k.classList.remove(g),D&&D.classList.remove(v),I.style.position="",I.style.overflow="",I.contains(T)&&I.removeChild(T)};T.style.pointerEvents="none",T.style.position="absolute",T.style.overflow="hidden",T.setAttribute("aria-hidden","true");const j=i7(T);j&&(j.style.opacity="0");const E=lm(T);E&&(E.classList.add(h?n[dr.caption_before_exit]:n[dr.caption_after_exit]),E.addEventListener("animationend",A));const R=cm(T);R&&R.classList.add(h?n[dr.weeks_before_exit]:n[dr.weeks_after_exit]),I.insertBefore(T,I.firstChild)})}})}function a7(e,t,n,r){const o=e[0],s=e[e.length-1],{ISOWeek:l,fixedWeeks:c,broadcastCalendar:u}=n??{},{addDays:f,differenceInCalendarDays:p,differenceInCalendarMonths:h,endOfBroadcastWeek:g,endOfISOWeek:v,endOfMonth:y,endOfWeek:m,isAfter:C,startOfBroadcastWeek:x,startOfISOWeek:M,startOfWeek:I}=r,O=u?x(o,r):l?M(o):I(o),T=u?g(s):l?v(y(s)):m(y(s)),k=p(T,O),D=h(s,o)+1,A=[];for(let R=0;R<=k;R++){const H=f(O,R);if(t&&C(H,t))break;A.push(H)}const E=(u?35:42)*D;if(c&&A.length<E){const R=E-A.length;for(let H=0;H<R;H++){const B=f(A[A.length-1],1);A.push(B)}}return A}function l7(e){const t=[];return e.reduce((n,r)=>{const o=r.weeks.reduce((s,l)=>[...s,...l.days],t);return[...n,...o]},t)}function c7(e,t,n,r){const{numberOfMonths:o=1}=n,s=[];for(let l=0;l<o;l++){const c=r.addMonths(e,l);if(t&&c>t)break;s.push(c)}return s}function cx(e,t,n,r){const{month:o,defaultMonth:s,today:l=r.today(),numberOfMonths:c=1}=e;let u=o||s||l;const{differenceInCalendarMonths:f,addMonths:p,startOfMonth:h}=r;if(n&&f(n,u)<c-1){const g=-1*(c-1);u=p(n,g)}return t&&f(u,t)<0&&(u=t),h(u)}function u7(e,t,n,r){const{addDays:o,endOfBroadcastWeek:s,endOfISOWeek:l,endOfMonth:c,endOfWeek:u,getISOWeek:f,getWeek:p,startOfBroadcastWeek:h,startOfISOWeek:g,startOfWeek:v}=r,y=e.reduce((m,C)=>{const x=n.broadcastCalendar?h(C,r):n.ISOWeek?g(C):v(C),M=n.broadcastCalendar?s(C):n.ISOWeek?l(c(C)):u(c(C)),I=t.filter(D=>D>=x&&D<=M),O=n.broadcastCalendar?35:42;if(n.fixedWeeks&&I.length<O){const D=t.filter(A=>{const j=O-I.length;return A>M&&A<=o(M,j)});I.push(...D)}const T=I.reduce((D,A)=>{const j=n.ISOWeek?f(A):p(A),E=D.find(H=>H.weekNumber===j),R=new Kw(A,C,r);return E?E.days.push(R):D.push(new e6(j,[R])),D},[]),k=new QW(C,T);return m.push(k),m},[]);return n.reverseMonths?y.reverse():y}function d7(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:o,startOfDay:s,startOfMonth:l,endOfMonth:c,addYears:u,endOfYear:f,newDate:p,today:h}=t,{fromYear:g,toYear:v,fromMonth:y,toMonth:m}=e;!n&&y&&(n=y),!n&&g&&(n=t.newDate(g,0,1)),!r&&m&&(r=m),!r&&v&&(r=p(v,11,31));const C=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=l(n):g?n=p(g,0,1):!n&&C&&(n=o(u(e.today??h(),-100))),r?r=c(r):v?r=p(v,11,31):!r&&C&&(r=f(e.today??h())),[n&&s(n),r&&s(r)]}function f7(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:s=1}=n,{startOfMonth:l,addMonths:c,differenceInCalendarMonths:u}=r,f=o?s:1,p=l(e);if(!t)return c(p,f);if(!(u(t,e)<s))return c(p,f)}function p7(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:s}=n,{startOfMonth:l,addMonths:c,differenceInCalendarMonths:u}=r,f=o?s??1:1,p=l(e);if(!t)return c(p,-f);if(!(u(p,t)<=0))return c(p,-f)}function h7(e){const t=[];return e.reduce((n,r)=>[...n,...r.weeks],t)}function hd(e,t){const[n,r]=J.useState(e);return[t===void 0?n:t,r]}function m7(e,t){const[n,r]=d7(e,t),{startOfMonth:o,endOfMonth:s}=t,l=cx(e,n,r,t),[c,u]=hd(l,e.month?l:void 0);J.useEffect(()=>{const k=cx(e,n,r,t);u(k)},[e.timeZone]);const f=c7(c,r,e,t),p=a7(f,e.endMonth?s(e.endMonth):void 0,e,t),h=u7(f,p,e,t),g=h7(h),v=l7(h),y=p7(c,n,e,t),m=f7(c,r,e,t),{disableNavigation:C,onMonthChange:x}=e,M=k=>g.some(D=>D.days.some(A=>A.isEqualTo(k))),I=k=>{if(C)return;let D=o(k);n&&D<o(n)&&(D=o(n)),r&&D>o(r)&&(D=o(r)),u(D),x==null||x(D)};return{months:h,weeks:g,days:v,navStart:n,navEnd:r,previousMonth:y,nextMonth:m,goToMonth:I,goToDay:k=>{M(k)||I(k.date)}}}var Co;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(Co||(Co={}));function ux(e){return!e[on.disabled]&&!e[on.hidden]&&!e[on.outside]}function g7(e,t,n,r){let o,s=-1;for(const l of e){const c=t(l);ux(c)&&(c[on.focused]&&s<Co.FocusedModifier?(o=l,s=Co.FocusedModifier):r!=null&&r.isEqualTo(l)&&s<Co.LastFocused?(o=l,s=Co.LastFocused):n(l.date)&&s<Co.Selected?(o=l,s=Co.Selected):c[on.today]&&s<Co.Today&&(o=l,s=Co.Today))}return o||(o=e.find(l=>ux(t(l)))),o}function b7(e,t,n,r,o,s,l){const{ISOWeek:c,broadcastCalendar:u}=s,{addDays:f,addMonths:p,addWeeks:h,addYears:g,endOfBroadcastWeek:v,endOfISOWeek:y,endOfWeek:m,max:C,min:x,startOfBroadcastWeek:M,startOfISOWeek:I,startOfWeek:O}=l;let k={day:f,week:h,month:p,year:g,startOfWeek:D=>u?M(D,l):c?I(D):O(D),endOfWeek:D=>u?v(D):c?y(D):m(D)}[e](n,t==="after"?1:-1);return t==="before"&&r?k=C([r,k]):t==="after"&&o&&(k=x([o,k])),k}function dx(e,t,n,r,o,s,l,c=0){if(c>365)return;const u=b7(e,t,n.date,r,o,s,l),f=!!(s.disabled&&Go(u,s.disabled,l)),p=!!(s.hidden&&Go(u,s.hidden,l)),h=u,g=new Kw(u,h,l);return!f&&!p?g:dx(e,t,g,r,o,s,l,c+1)}function v7(e,t,n,r,o){const{autoFocus:s}=e,[l,c]=J.useState(),u=g7(t.days,n,r||(()=>!1),l),[f,p]=J.useState(s?u:void 0);return{isFocusTarget:m=>!!(u!=null&&u.isEqualTo(m)),setFocused:p,focused:f,blur:()=>{c(f),p(void 0)},moveFocus:(m,C)=>{if(!f)return;const x=dx(m,C,f,t.navStart,t.navEnd,e,o);x&&(t.goToDay(x),p(x))}}}function y7(e,t){const{selected:n,required:r,onSelect:o}=e,[s,l]=hd(n,o?n:void 0),c=o?n:s,{isSameDay:u}=t,f=v=>(c==null?void 0:c.some(y=>u(y,v)))??!1,{min:p,max:h}=e;return{selected:c,select:(v,y,m)=>{let C=[...c??[]];if(f(v)){if((c==null?void 0:c.length)===p||r&&(c==null?void 0:c.length)===1)return;C=c==null?void 0:c.filter(x=>!u(x,v))}else(c==null?void 0:c.length)===h?C=[v]:C=[...C,v];return o||l(C),o==null||o(C,v,y,m),C},isSelected:f}}function C7(e,t,n=0,r=0,o=!1,s=yo){const{from:l,to:c}=t||{},{isSameDay:u,isAfter:f,isBefore:p}=s;let h;if(!l&&!c)h={from:e,to:n>0?void 0:e};else if(l&&!c)u(l,e)?o?h={from:l,to:void 0}:h=void 0:p(e,l)?h={from:e,to:l}:h={from:l,to:e};else if(l&&c)if(u(l,e)&&u(c,e))o?h={from:l,to:c}:h=void 0;else if(u(l,e))h={from:l,to:n>0?void 0:e};else if(u(c,e))h={from:e,to:n>0?void 0:e};else if(p(e,l))h={from:e,to:c};else if(f(e,l))h={from:l,to:e};else if(f(e,c))h={from:l,to:e};else throw new Error("Invalid range");if(h!=null&&h.from&&(h!=null&&h.to)){const g=s.differenceInCalendarDays(h.to,h.from);r>0&&g>r?h={from:e,to:void 0}:n>1&&g<n&&(h={from:e,to:void 0})}return h}function w7(e,t,n=yo){const r=Array.isArray(t)?t:[t];let o=e.from;const s=n.differenceInCalendarDays(e.to,e.from),l=Math.min(s,6);for(let c=0;c<=l;c++){if(r.includes(o.getDay()))return!0;o=n.addDays(o,1)}return!1}function fx(e,t,n=yo){return zo(e,t.from,!1,n)||zo(e,t.to,!1,n)||zo(t,e.from,!1,n)||zo(t,e.to,!1,n)}function x7(e,t,n=yo){const r=Array.isArray(t)?t:[t];if(r.filter(c=>typeof c!="function").some(c=>typeof c=="boolean"?c:n.isDate(c)?zo(e,c,!1,n):rx(c,n)?c.some(u=>zo(e,u,!1,n)):sm(c)?c.from&&c.to?fx(e,{from:c.from,to:c.to},n):!1:nx(c)?w7(e,c.dayOfWeek,n):Qw(c)?n.isAfter(c.before,c.after)?fx(e,{from:n.addDays(c.after,1),to:n.addDays(c.before,-1)},n):Go(e.from,c,n)||Go(e.to,c,n):ex(c)||tx(c)?Go(e.from,c,n)||Go(e.to,c,n):!1))return!0;const l=r.filter(c=>typeof c=="function");if(l.length){let c=e.from;const u=n.differenceInCalendarDays(e.to,e.from);for(let f=0;f<=u;f++){if(l.some(p=>p(c)))return!0;c=n.addDays(c,1)}}return!1}function S7(e,t){const{disabled:n,excludeDisabled:r,selected:o,required:s,onSelect:l}=e,[c,u]=hd(o,l?o:void 0),f=l?o:c;return{selected:f,select:(g,v,y)=>{const{min:m,max:C}=e,x=g?C7(g,f,m,C,s,t):void 0;return r&&n&&(x!=null&&x.from)&&x.to&&x7({from:x.from,to:x.to},n,t)&&(x.from=g,x.to=void 0),l||u(x),l==null||l(x,g,v,y),x},isSelected:g=>f&&zo(f,g,!1,t)}}function I7(e,t){const{selected:n,required:r,onSelect:o}=e,[s,l]=hd(n,o?n:void 0),c=o?n:s,{isSameDay:u}=t;return{selected:c,select:(h,g,v)=>{let y=h;return!r&&c&&c&&u(h,c)&&(y=void 0),o||l(y),o==null||o(y,h,g,v),y},isSelected:h=>c?u(c,h):!1}}function T7(e,t){const n=I7(e,t),r=y7(e,t),o=S7(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return o;default:return}}function O7(e){var Tt;let t=e;t.timeZone&&(t={...e},t.today&&(t.today=new jn(t.today,t.timeZone)),t.month&&(t.month=new jn(t.month,t.timeZone)),t.defaultMonth&&(t.defaultMonth=new jn(t.defaultMonth,t.timeZone)),t.startMonth&&(t.startMonth=new jn(t.startMonth,t.timeZone)),t.endMonth&&(t.endMonth=new jn(t.endMonth,t.timeZone)),t.mode==="single"&&t.selected?t.selected=new jn(t.selected,t.timeZone):t.mode==="multiple"&&t.selected?t.selected=(Tt=t.selected)==null?void 0:Tt.map(ke=>new jn(ke,t.timeZone)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?new jn(t.selected.from,t.timeZone):void 0,to:t.selected.to?new jn(t.selected.to,t.timeZone):void 0}));const{components:n,formatters:r,labels:o,dateLib:s,locale:l,classNames:c}=J.useMemo(()=>{const ke={...im,...t.locale};return{dateLib:new Ho({locale:ke,weekStartsOn:t.broadcastCalendar?1:t.weekStartsOn,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},t.dateLib),components:D6(t.components),formatters:$6(t.formatters),labels:{...n7,...t.labels},locale:ke,classNames:{...A6(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.components,t.formatters,t.labels,t.classNames]),{captionLayout:u,mode:f,navLayout:p,numberOfMonths:h=1,onDayBlur:g,onDayClick:v,onDayFocus:y,onDayKeyDown:m,onDayMouseEnter:C,onDayMouseLeave:x,onNextClick:M,onPrevClick:I,showWeekNumber:O,styles:T}=t,{formatCaption:k,formatDay:D,formatMonthDropdown:A,formatWeekNumber:j,formatWeekNumberHeader:E,formatWeekdayName:R,formatYearDropdown:H}=r,B=m7(t,s),{days:L,months:V,navStart:F,navEnd:Y,previousMonth:G,nextMonth:U,goToMonth:z}=B,X=t6(L,t,F,Y,s),{isSelected:de,select:re,selected:ie}=T7(t,s)??{},{blur:K,focused:se,isFocusTarget:ce,moveFocus:ee,setFocused:te}=v7(t,B,X,de??(()=>!1),s),{labelDayButton:le,labelGridcell:pe,labelGrid:q,labelMonthDropdown:ne,labelNav:fe,labelPrevious:be,labelNext:ve,labelWeekday:he,labelWeekNumber:ge,labelWeekNumberHeader:Ce,labelYearDropdown:Te}=o,Ee=J.useMemo(()=>H6(s,t.ISOWeek),[s,t.ISOWeek]),Me=f!==void 0||v!==void 0,dt=J.useCallback(()=>{G&&(z(G),I==null||I(G))},[G,z,I]),ct=J.useCallback(()=>{U&&(z(U),M==null||M(U))},[z,U,M]),it=J.useCallback((ke,Qe)=>nt=>{nt.preventDefault(),nt.stopPropagation(),te(ke),re==null||re(ke.date,Qe,nt),v==null||v(ke.date,Qe,nt)},[re,v,te]),It=J.useCallback((ke,Qe)=>nt=>{te(ke),y==null||y(ke.date,Qe,nt)},[y,te]),At=J.useCallback((ke,Qe)=>nt=>{K(),g==null||g(ke.date,Qe,nt)},[K,g]),Vt=J.useCallback((ke,Qe)=>nt=>{const Jt={ArrowLeft:[nt.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[nt.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[nt.shiftKey?"year":"week","after"],ArrowUp:[nt.shiftKey?"year":"week","before"],PageUp:[nt.shiftKey?"year":"month","before"],PageDown:[nt.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Jt[nt.key]){nt.preventDefault(),nt.stopPropagation();const[Rn,xo]=Jt[nt.key];ee(Rn,xo)}m==null||m(ke.date,Qe,nt)},[ee,m,t.dir]),sn=J.useCallback((ke,Qe)=>nt=>{C==null||C(ke.date,Qe,nt)},[C]),In=J.useCallback((ke,Qe)=>nt=>{x==null||x(ke.date,Qe,nt)},[x]),Ue=J.useCallback(ke=>Qe=>{const nt=Number(Qe.target.value),Jt=s.setMonth(s.startOfMonth(ke),nt);z(Jt)},[s,z]),an=J.useCallback(ke=>Qe=>{const nt=Number(Qe.target.value),Jt=s.setYear(s.startOfMonth(ke),nt);z(Jt)},[s,z]),{className:Zt,style:qt}=J.useMemo(()=>({className:[c[ze.Root],t.className].filter(Boolean).join(" "),style:{...T==null?void 0:T[ze.Root],...t.style}}),[c,t.className,t.style,T]),Tn=k6(t),Be=J.useRef(null);s7(Be,!!t.animate,{classNames:c,months:V,focused:se,dateLib:s});const Je={dayPickerProps:t,selected:ie,select:re,isSelected:de,months:V,nextMonth:U,previousMonth:G,goToMonth:z,getModifiers:X,components:n,classNames:c,styles:T,labels:o,formatters:r};return J.createElement(ox.Provider,{value:Je},J.createElement(n.Root,{rootRef:t.animate?Be:void 0,className:Zt,style:qt,dir:t.dir,id:t.id,lang:t.lang,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],...Tn},J.createElement(n.Months,{className:c[ze.Months],style:T==null?void 0:T[ze.Months]},!t.hideNavigation&&!p&&J.createElement(n.Nav,{"data-animated-nav":t.animate?"true":void 0,className:c[ze.Nav],style:T==null?void 0:T[ze.Nav],"aria-label":fe(),onPreviousClick:dt,onNextClick:ct,previousMonth:G,nextMonth:U}),V.map((ke,Qe)=>{const nt=W6(ke.date,F,Y,r,s),Jt=z6(F,Y,r,s);return J.createElement(n.Month,{"data-animated-month":t.animate?"true":void 0,className:c[ze.Month],style:T==null?void 0:T[ze.Month],key:Qe,displayIndex:Qe,calendarMonth:ke},p==="around"&&!t.hideNavigation&&Qe===0&&J.createElement(n.PreviousMonthButton,{type:"button",className:c[ze.PreviousMonthButton],tabIndex:G?void 0:-1,"aria-disabled":G?void 0:!0,"aria-label":be(G),onClick:dt,"data-animated-button":t.animate?"true":void 0},J.createElement(n.Chevron,{disabled:G?void 0:!0,className:c[ze.Chevron],orientation:t.dir==="rtl"?"right":"left"})),J.createElement(n.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:c[ze.MonthCaption],style:T==null?void 0:T[ze.MonthCaption],calendarMonth:ke,displayIndex:Qe},u!=null&&u.startsWith("dropdown")?J.createElement(n.DropdownNav,{className:c[ze.Dropdowns],style:T==null?void 0:T[ze.Dropdowns]},u==="dropdown"||u==="dropdown-months"?J.createElement(n.MonthsDropdown,{className:c[ze.MonthsDropdown],"aria-label":ne(),classNames:c,components:n,disabled:!!t.disableNavigation,onChange:Ue(ke.date),options:nt,style:T==null?void 0:T[ze.Dropdown],value:s.getMonth(ke.date)}):J.createElement("span",null,A(ke.date,s)),u==="dropdown"||u==="dropdown-years"?J.createElement(n.YearsDropdown,{className:c[ze.YearsDropdown],"aria-label":Te(s.options),classNames:c,components:n,disabled:!!t.disableNavigation,onChange:an(ke.date),options:Jt,style:T==null?void 0:T[ze.Dropdown],value:s.getYear(ke.date)}):J.createElement("span",null,H(ke.date,s)),J.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"}},k(ke.date,s.options,s))):J.createElement(n.CaptionLabel,{className:c[ze.CaptionLabel],role:"status","aria-live":"polite"},k(ke.date,s.options,s))),p==="around"&&!t.hideNavigation&&Qe===h-1&&J.createElement(n.NextMonthButton,{type:"button",className:c[ze.NextMonthButton],tabIndex:U?void 0:-1,"aria-disabled":U?void 0:!0,"aria-label":ve(U),onClick:ct,"data-animated-button":t.animate?"true":void 0},J.createElement(n.Chevron,{disabled:U?void 0:!0,className:c[ze.Chevron],orientation:t.dir==="rtl"?"left":"right"})),Qe===h-1&&p==="after"&&!t.hideNavigation&&J.createElement(n.Nav,{"data-animated-nav":t.animate?"true":void 0,className:c[ze.Nav],style:T==null?void 0:T[ze.Nav],"aria-label":fe(),onPreviousClick:dt,onNextClick:ct,previousMonth:G,nextMonth:U}),J.createElement(n.MonthGrid,{role:"grid","aria-multiselectable":f==="multiple"||f==="range","aria-label":q(ke.date,s.options,s)||void 0,className:c[ze.MonthGrid],style:T==null?void 0:T[ze.MonthGrid]},!t.hideWeekdays&&J.createElement(n.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:c[ze.Weekdays],style:T==null?void 0:T[ze.Weekdays]},O&&J.createElement(n.WeekNumberHeader,{"aria-label":Ce(s.options),className:c[ze.WeekNumberHeader],style:T==null?void 0:T[ze.WeekNumberHeader],scope:"col"},E()),Ee.map((Rn,xo)=>J.createElement(n.Weekday,{"aria-label":he(Rn,s.options,s),className:c[ze.Weekday],key:xo,style:T==null?void 0:T[ze.Weekday],scope:"col"},R(Rn,s.options,s)))),J.createElement(n.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:c[ze.Weeks],style:T==null?void 0:T[ze.Weeks]},ke.weeks.map((Rn,xo)=>J.createElement(n.Week,{className:c[ze.Week],key:Rn.weekNumber,style:T==null?void 0:T[ze.Week],week:Rn},O&&J.createElement(n.WeekNumber,{week:Rn,style:T==null?void 0:T[ze.WeekNumber],"aria-label":ge(Rn.weekNumber,{locale:l}),className:c[ze.WeekNumber],scope:"row",role:"rowheader"},j(Rn.weekNumber,s)),Rn.days.map(pn=>{const{date:Hn}=pn,Ae=X(pn);if(Ae[on.focused]=!Ae.hidden&&!!(se!=null&&se.isEqualTo(pn)),Ae[Ur.selected]=(de==null?void 0:de(Hn))||Ae.selected,sm(ie)){const{from:rt,to:bt}=ie;Ae[Ur.range_start]=!!(rt&&bt&&s.isSameDay(Hn,rt)),Ae[Ur.range_end]=!!(rt&&bt&&s.isSameDay(Hn,bt)),Ae[Ur.range_middle]=zo(ie,Hn,!0,s)}const Fn=j6(Ae,T,t.modifiersStyles),Le=n6(Ae,c,t.modifiersClassNames),We=!Me&&!Ae.hidden?pe(Hn,Ae,s.options,s):void 0;return J.createElement(n.Day,{key:`${s.format(Hn,"yyyy-MM-dd")}_${s.format(pn.displayMonth,"yyyy-MM")}`,day:pn,modifiers:Ae,className:Le.join(" "),style:Fn,role:"gridcell","aria-selected":Ae.selected||void 0,"aria-label":We,"data-day":s.format(Hn,"yyyy-MM-dd"),"data-month":pn.outside?s.format(Hn,"yyyy-MM"):void 0,"data-selected":Ae.selected||void 0,"data-disabled":Ae.disabled||void 0,"data-hidden":Ae.hidden||void 0,"data-outside":pn.outside||void 0,"data-focused":Ae.focused||void 0,"data-today":Ae.today||void 0},!Ae.hidden&&Me?J.createElement(n.DayButton,{className:c[ze.DayButton],style:T==null?void 0:T[ze.DayButton],type:"button",day:pn,modifiers:Ae,disabled:Ae.disabled||void 0,tabIndex:ce(pn)?0:-1,"aria-label":le(Hn,Ae,s.options,s),onClick:it(pn,Ae),onBlur:At(pn,Ae),onFocus:It(pn,Ae),onKeyDown:Vt(pn,Ae),onMouseEnter:sn(pn,Ae),onMouseLeave:In(pn,Ae)},D(Hn,s.options,s)):!Ae.hidden&&D(pn.date,s.options,s))}))))))})),t.footer&&J.createElement(n.Footer,{className:c[ze.Footer],style:T==null?void 0:T[ze.Footer],role:"status","aria-live":"polite"},t.footer)))}function vi(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function px(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function hx(...e){return t=>{let n=!1;const r=e.map(o=>{const s=px(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():px(e[o],null)}}}}function yi(...e){return w.useCallback(hx(...e),e)}function mx(e,t=[]){let n=[];function r(s,l){const c=w.createContext(l),u=n.length;n=[...n,l];const f=h=>{var x;const{scope:g,children:v,...y}=h,m=((x=g==null?void 0:g[e])==null?void 0:x[u])||c,C=w.useMemo(()=>y,Object.values(y));return S.jsx(m.Provider,{value:C,children:v})};f.displayName=s+"Provider";function p(h,g){var m;const v=((m=g==null?void 0:g[e])==null?void 0:m[u])||c,y=w.useContext(v);if(y)return y;if(l!==void 0)return l;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[f,p]}const o=()=>{const s=n.map(l=>w.createContext(l));return function(c){const u=(c==null?void 0:c[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return o.scopeName=e,[r,P7(o,...t)]}function P7(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const l=r.reduce((c,{useScope:u,scopeName:f})=>{const h=u(s)[`__scope${f}`];return{...c,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function gx(e){const t=E7(e),n=w.forwardRef((r,o)=>{const{children:s,...l}=r,c=w.Children.toArray(s),u=c.find(D7);if(u){const f=u.props.children,p=c.map(h=>h===u?w.Children.count(f)>1?w.Children.only(null):w.isValidElement(f)?f.props.children:null:h);return S.jsx(t,{...l,ref:o,children:w.isValidElement(f)?w.cloneElement(f,void 0,p):null})}return S.jsx(t,{...l,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function E7(e){const t=w.forwardRef((n,r)=>{const{children:o,...s}=n;if(w.isValidElement(o)){const l=A7(o),c=k7(s,o.props);return o.type!==w.Fragment&&(c.ref=r?hx(r,l):l),w.cloneElement(o,c)}return w.Children.count(o)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var M7=Symbol("radix.slottable");function D7(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===M7}function k7(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...c)=>{const u=s(...c);return o(...c),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function A7(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var N7=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Yo=N7.reduce((e,t)=>{const n=gx(`Primitive.${t}`),r=w.forwardRef((o,s)=>{const{asChild:l,...c}=o,u=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(u,{...c,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function R7(e,t){e&&bf.flushSync(()=>e.dispatchEvent(t))}function aa(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function F7(e,t=globalThis==null?void 0:globalThis.document){const n=aa(e);w.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var V7="DismissableLayer",um="dismissableLayer.update",L7="dismissableLayer.pointerDownOutside",_7="dismissableLayer.focusOutside",bx,vx=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yx=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:l,onDismiss:c,...u}=e,f=w.useContext(vx),[p,h]=w.useState(null),g=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=w.useState({}),y=yi(t,D=>h(D)),m=Array.from(f.layers),[C]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),x=m.indexOf(C),M=p?m.indexOf(p):-1,I=f.layersWithOutsidePointerEventsDisabled.size>0,O=M>=x,T=W7(D=>{const A=D.target,j=[...f.branches].some(E=>E.contains(A));!O||j||(o==null||o(D),l==null||l(D),D.defaultPrevented||c==null||c())},g),k=j7(D=>{const A=D.target;[...f.branches].some(E=>E.contains(A))||(s==null||s(D),l==null||l(D),D.defaultPrevented||c==null||c())},g);return F7(D=>{M===f.layers.size-1&&(r==null||r(D),!D.defaultPrevented&&c&&(D.preventDefault(),c()))},g),w.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(bx=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),Cx(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=bx)}},[p,g,n,f]),w.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),Cx())},[p,f]),w.useEffect(()=>{const D=()=>v({});return document.addEventListener(um,D),()=>document.removeEventListener(um,D)},[]),S.jsx(Yo.div,{...u,ref:y,style:{pointerEvents:I?O?"auto":"none":void 0,...e.style},onFocusCapture:vi(e.onFocusCapture,k.onFocusCapture),onBlurCapture:vi(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:vi(e.onPointerDownCapture,T.onPointerDownCapture)})});yx.displayName=V7;var B7="DismissableLayerBranch",$7=w.forwardRef((e,t)=>{const n=w.useContext(vx),r=w.useRef(null),o=yi(t,r);return w.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),S.jsx(Yo.div,{...e,ref:o})});$7.displayName=B7;function W7(e,t=globalThis==null?void 0:globalThis.document){const n=aa(e),r=w.useRef(!1),o=w.useRef(()=>{});return w.useEffect(()=>{const s=c=>{if(c.target&&!r.current){let u=function(){wx(L7,n,f,{discrete:!0})};const f={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function j7(e,t=globalThis==null?void 0:globalThis.document){const n=aa(e),r=w.useRef(!1);return w.useEffect(()=>{const o=s=>{s.target&&!r.current&&wx(_7,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Cx(){const e=new CustomEvent(um);document.dispatchEvent(e)}function wx(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?R7(o,s):o.dispatchEvent(s)}var dm=0;function H7(){w.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??xx()),document.body.insertAdjacentElement("beforeend",e[1]??xx()),dm++,()=>{dm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),dm--}},[])}function xx(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var fm="focusScope.autoFocusOnMount",pm="focusScope.autoFocusOnUnmount",Sx={bubbles:!1,cancelable:!0},z7="FocusScope",Ix=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...l}=e,[c,u]=w.useState(null),f=aa(o),p=aa(s),h=w.useRef(null),g=yi(t,m=>u(m)),v=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let m=function(I){if(v.paused||!c)return;const O=I.target;c.contains(O)?h.current=O:Ci(h.current,{select:!0})},C=function(I){if(v.paused||!c)return;const O=I.relatedTarget;O!==null&&(c.contains(O)||Ci(h.current,{select:!0}))},x=function(I){if(document.activeElement===document.body)for(const T of I)T.removedNodes.length>0&&Ci(c)};document.addEventListener("focusin",m),document.addEventListener("focusout",C);const M=new MutationObserver(x);return c&&M.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",C),M.disconnect()}}},[r,c,v.paused]),w.useEffect(()=>{if(c){Px.add(v);const m=document.activeElement;if(!c.contains(m)){const x=new CustomEvent(fm,Sx);c.addEventListener(fm,f),c.dispatchEvent(x),x.defaultPrevented||(G7(q7(Tx(c)),{select:!0}),document.activeElement===m&&Ci(c))}return()=>{c.removeEventListener(fm,f),setTimeout(()=>{const x=new CustomEvent(pm,Sx);c.addEventListener(pm,p),c.dispatchEvent(x),x.defaultPrevented||Ci(m??document.body,{select:!0}),c.removeEventListener(pm,p),Px.remove(v)},0)}}},[c,f,p,v]);const y=w.useCallback(m=>{if(!n&&!r||v.paused)return;const C=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,x=document.activeElement;if(C&&x){const M=m.currentTarget,[I,O]=Y7(M);I&&O?!m.shiftKey&&x===O?(m.preventDefault(),n&&Ci(I,{select:!0})):m.shiftKey&&x===I&&(m.preventDefault(),n&&Ci(O,{select:!0})):x===M&&m.preventDefault()}},[n,r,v.paused]);return S.jsx(Yo.div,{tabIndex:-1,...l,ref:g,onKeyDown:y})});Ix.displayName=z7;function G7(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ci(r,{select:t}),document.activeElement!==n)return}function Y7(e){const t=Tx(e),n=Ox(t,e),r=Ox(t.reverse(),e);return[n,r]}function Tx(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ox(e,t){for(const n of e)if(!U7(n,{upTo:t}))return n}function U7(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function X7(e){return e instanceof HTMLInputElement&&"select"in e}function Ci(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&X7(e)&&t&&e.select()}}var Px=Z7();function Z7(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ex(e,t),e.unshift(t)},remove(t){var n;e=Ex(e,t),(n=e[0])==null||n.resume()}}}function Ex(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function q7(e){return e.filter(t=>t.tagName!=="A")}var wi=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},J7=w[" useId ".trim().toString()]||(()=>{}),K7=0;function Q7(e){const[t,n]=w.useState(J7());return wi(()=>{n(r=>r??String(K7++))},[e]),e||(t?`radix-${t}`:"")}var e8=typeof document<"u",t8=function(){},md=e8?J.useLayoutEffect:t8;function gd(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!gd(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!gd(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Mx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Dx(e,t){const n=Mx(e);return Math.round(t*n)/n}function hm(e){const t=w.useRef(e);return md(()=>{t.current=e}),t}function n8(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:l}={},transform:c=!0,whileElementsMounted:u,open:f}=e,[p,h]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,v]=w.useState(r);gd(g,r)||v(r);const[y,m]=w.useState(null),[C,x]=w.useState(null),M=w.useCallback(G=>{G!==k.current&&(k.current=G,m(G))},[]),I=w.useCallback(G=>{G!==D.current&&(D.current=G,x(G))},[]),O=s||y,T=l||C,k=w.useRef(null),D=w.useRef(null),A=w.useRef(p),j=u!=null,E=hm(u),R=hm(o),H=hm(f),B=w.useCallback(()=>{if(!k.current||!D.current)return;const G={placement:t,strategy:n,middleware:g};R.current&&(G.platform=R.current),i4(k.current,D.current,G).then(U=>{const z={...U,isPositioned:H.current!==!1};L.current&&!gd(A.current,z)&&(A.current=z,bf.flushSync(()=>{h(z)}))})},[g,t,n,R,H]);md(()=>{f===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,h(G=>({...G,isPositioned:!1})))},[f]);const L=w.useRef(!1);md(()=>(L.current=!0,()=>{L.current=!1}),[]),md(()=>{if(O&&(k.current=O),T&&(D.current=T),O&&T){if(E.current)return E.current(O,T,B);B()}},[O,T,B,E,j]);const V=w.useMemo(()=>({reference:k,floating:D,setReference:M,setFloating:I}),[M,I]),F=w.useMemo(()=>({reference:O,floating:T}),[O,T]),Y=w.useMemo(()=>{const G={position:n,left:0,top:0};if(!F.floating)return G;const U=Dx(F.floating,p.x),z=Dx(F.floating,p.y);return c?{...G,transform:"translate("+U+"px, "+z+"px)",...Mx(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:U,top:z}},[n,c,F.floating,p.x,p.y]);return w.useMemo(()=>({...p,update:B,refs:V,elements:F,floatingStyles:Y}),[p,B,V,F,Y])}const r8=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?M0({element:r.current,padding:o}).fn(n):{}:r?M0({element:r,padding:o}).fn(n):{}}}},o8=(e,t)=>({...Q5(e),options:[e,t]}),i8=(e,t)=>({...e4(e),options:[e,t]}),s8=(e,t)=>({...o4(e),options:[e,t]}),a8=(e,t)=>({...t4(e),options:[e,t]}),l8=(e,t)=>({...n4(e),options:[e,t]}),c8=(e,t)=>({...r4(e),options:[e,t]}),u8=(e,t)=>({...r8(e),options:[e,t]});var d8="Arrow",kx=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return S.jsx(Yo.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:S.jsx("polygon",{points:"0,0 30,0 15,10"})})});kx.displayName=d8;var f8=kx;function p8(e){const[t,n]=w.useState(void 0);return wi(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let l,c;if("borderBoxSize"in s){const u=s.borderBoxSize,f=Array.isArray(u)?u[0]:u;l=f.inlineSize,c=f.blockSize}else l=e.offsetWidth,c=e.offsetHeight;n({width:l,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var mm="Popper",[Ax,Nx]=mx(mm),[h8,Rx]=Ax(mm),Fx=e=>{const{__scopePopper:t,children:n}=e,[r,o]=w.useState(null);return S.jsx(h8,{scope:t,anchor:r,onAnchorChange:o,children:n})};Fx.displayName=mm;var Vx="PopperAnchor",Lx=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Rx(Vx,n),l=w.useRef(null),c=yi(t,l);return w.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||l.current)}),r?null:S.jsx(Yo.div,{...o,ref:c})});Lx.displayName=Vx;var gm="PopperContent",[m8,g8]=Ax(gm),_x=w.forwardRef((e,t)=>{var ce,ee,te,le,pe,q;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:h="partial",hideWhenDetached:g=!1,updatePositionStrategy:v="optimized",onPlaced:y,...m}=e,C=Rx(gm,n),[x,M]=w.useState(null),I=yi(t,ne=>M(ne)),[O,T]=w.useState(null),k=p8(O),D=(k==null?void 0:k.width)??0,A=(k==null?void 0:k.height)??0,j=r+(s!=="center"?"-"+s:""),E=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},R=Array.isArray(f)?f:[f],H=R.length>0,B={padding:E,boundary:R.filter(v8),altBoundary:H},{refs:L,floatingStyles:V,placement:F,isPositioned:Y,middlewareData:G}=n8({strategy:"fixed",placement:j,whileElementsMounted:(...ne)=>E0(...ne,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[o8({mainAxis:o+A,alignmentAxis:l}),u&&i8({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?s8():void 0,...B}),u&&a8({...B}),l8({...B,apply:({elements:ne,rects:fe,availableWidth:be,availableHeight:ve})=>{const{width:he,height:ge}=fe.reference,Ce=ne.floating.style;Ce.setProperty("--radix-popper-available-width",`${be}px`),Ce.setProperty("--radix-popper-available-height",`${ve}px`),Ce.setProperty("--radix-popper-anchor-width",`${he}px`),Ce.setProperty("--radix-popper-anchor-height",`${ge}px`)}}),O&&u8({element:O,padding:c}),y8({arrowWidth:D,arrowHeight:A}),g&&c8({strategy:"referenceHidden",...B})]}),[U,z]=Wx(F),X=aa(y);wi(()=>{Y&&(X==null||X())},[Y,X]);const de=(ce=G.arrow)==null?void 0:ce.x,re=(ee=G.arrow)==null?void 0:ee.y,ie=((te=G.arrow)==null?void 0:te.centerOffset)!==0,[K,se]=w.useState();return wi(()=>{x&&se(window.getComputedStyle(x).zIndex)},[x]),S.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:Y?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:K,"--radix-popper-transform-origin":[(le=G.transformOrigin)==null?void 0:le.x,(pe=G.transformOrigin)==null?void 0:pe.y].join(" "),...((q=G.hide)==null?void 0:q.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:S.jsx(m8,{scope:n,placedSide:U,onArrowChange:T,arrowX:de,arrowY:re,shouldHideArrow:ie,children:S.jsx(Yo.div,{"data-side":U,"data-align":z,...m,ref:I,style:{...m.style,animation:Y?void 0:"none"}})})})});_x.displayName=gm;var Bx="PopperArrow",b8={top:"bottom",right:"left",bottom:"top",left:"right"},$x=w.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=g8(Bx,r),l=b8[s.placedSide];return S.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:S.jsx(f8,{...o,ref:n,style:{...o.style,display:"block"}})})});$x.displayName=Bx;function v8(e){return e!==null}var y8=e=>({name:"transformOrigin",options:e,fn(t){var C,x,M;const{placement:n,rects:r,middlewareData:o}=t,l=((C=o.arrow)==null?void 0:C.centerOffset)!==0,c=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[f,p]=Wx(n),h={start:"0%",center:"50%",end:"100%"}[p],g=(((x=o.arrow)==null?void 0:x.x)??0)+c/2,v=(((M=o.arrow)==null?void 0:M.y)??0)+u/2;let y="",m="";return f==="bottom"?(y=l?h:`${g}px`,m=`${-u}px`):f==="top"?(y=l?h:`${g}px`,m=`${r.floating.height+u}px`):f==="right"?(y=`${-u}px`,m=l?h:`${v}px`):f==="left"&&(y=`${r.floating.width+u}px`,m=l?h:`${v}px`),{data:{x:y,y:m}}}});function Wx(e){const[t,n="center"]=e.split("-");return[t,n]}var C8=Fx,jx=Lx,w8=_x,x8=$x,S8="Portal",Hx=w.forwardRef((e,t)=>{var c;const{container:n,...r}=e,[o,s]=w.useState(!1);wi(()=>s(!0),[]);const l=n||o&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return l?Ai.createPortal(S.jsx(Yo.div,{...r,ref:t}),l):null});Hx.displayName=S8;function I8(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var bm=e=>{const{present:t,children:n}=e,r=T8(t),o=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),s=yi(r.ref,O8(o));return typeof n=="function"||r.isPresent?w.cloneElement(o,{ref:s}):null};bm.displayName="Presence";function T8(e){const[t,n]=w.useState(),r=w.useRef(null),o=w.useRef(e),s=w.useRef("none"),l=e?"mounted":"unmounted",[c,u]=I8(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const f=bd(r.current);s.current=c==="mounted"?f:"none"},[c]),wi(()=>{const f=r.current,p=o.current;if(p!==e){const g=s.current,v=bd(f);e?u("MOUNT"):v==="none"||(f==null?void 0:f.display)==="none"?u("UNMOUNT"):u(p&&g!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),wi(()=>{if(t){let f;const p=t.ownerDocument.defaultView??window,h=v=>{const m=bd(r.current).includes(v.animationName);if(v.target===t&&m&&(u("ANIMATION_END"),!o.current)){const C=t.style.animationFillMode;t.style.animationFillMode="forwards",f=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=C)})}},g=v=>{v.target===t&&(s.current=bd(r.current))};return t.addEventListener("animationstart",g),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{p.clearTimeout(f),t.removeEventListener("animationstart",g),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:w.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function bd(e){return(e==null?void 0:e.animationName)||"none"}function O8(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var P8=w[" useInsertionEffect ".trim().toString()]||wi;function E8({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,l]=M8({defaultProp:t,onChange:n}),c=e!==void 0,u=c?e:o;{const p=w.useRef(e!==void 0);w.useEffect(()=>{const h=p.current;h!==c&&console.warn(`${r} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=c},[c,r])}const f=w.useCallback(p=>{var h;if(c){const g=D8(p)?p(e):p;g!==e&&((h=l.current)==null||h.call(l,g))}else s(p)},[c,e,s,l]);return[u,f]}function M8({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),o=w.useRef(n),s=w.useRef(t);return P8(()=>{s.current=t},[t]),w.useEffect(()=>{var l;o.current!==n&&((l=s.current)==null||l.call(s,n),o.current=n)},[n,o]),[n,r,s]}function D8(e){return typeof e=="function"}var k8=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},la=new WeakMap,vd=new WeakMap,yd={},vm=0,zx=function(e){return e&&(e.host||zx(e.parentNode))},A8=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=zx(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},N8=function(e,t,n,r){var o=A8(t,Array.isArray(e)?e:[e]);yd[n]||(yd[n]=new WeakMap);var s=yd[n],l=[],c=new Set,u=new Set(o),f=function(h){!h||c.has(h)||(c.add(h),f(h.parentNode))};o.forEach(f);var p=function(h){!h||u.has(h)||Array.prototype.forEach.call(h.children,function(g){if(c.has(g))p(g);else try{var v=g.getAttribute(r),y=v!==null&&v!=="false",m=(la.get(g)||0)+1,C=(s.get(g)||0)+1;la.set(g,m),s.set(g,C),l.push(g),m===1&&y&&vd.set(g,!0),C===1&&g.setAttribute(n,"true"),y||g.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",g,x)}})};return p(t),c.clear(),vm++,function(){l.forEach(function(h){var g=la.get(h)-1,v=s.get(h)-1;la.set(h,g),s.set(h,v),g||(vd.has(h)||h.removeAttribute(r),vd.delete(h)),v||h.removeAttribute(n)}),vm--,vm||(la=new WeakMap,la=new WeakMap,vd=new WeakMap,yd={})}},R8=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=k8(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),N8(r,o,n,"aria-hidden")):function(){return null}},wo=function(){return wo=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},wo.apply(this,arguments)};function Gx(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function F8(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Cd="right-scroll-bar-position",wd="width-before-scroll-bar",V8="with-scroll-bars-hidden",L8="--removed-body-scroll-bar-size";function ym(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function _8(e,t){var n=J.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var B8=typeof window<"u"?w.useLayoutEffect:w.useEffect,Yx=new WeakMap;function $8(e,t){var n=_8(null,function(r){return e.forEach(function(o){return ym(o,r)})});return B8(function(){var r=Yx.get(n);if(r){var o=new Set(r),s=new Set(e),l=n.current;o.forEach(function(c){s.has(c)||ym(c,null)}),s.forEach(function(c){o.has(c)||ym(c,l)})}Yx.set(n,e)},[e]),n}function W8(e){return e}function j8(e,t){t===void 0&&(t=W8);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var l=t(s,r);return n.push(l),function(){n=n.filter(function(c){return c!==l})}},assignSyncMedium:function(s){for(r=!0;n.length;){var l=n;n=[],l.forEach(s)}n={push:function(c){return s(c)},filter:function(){return n}}},assignMedium:function(s){r=!0;var l=[];if(n.length){var c=n;n=[],c.forEach(s),l=n}var u=function(){var p=l;l=[],p.forEach(s)},f=function(){return Promise.resolve().then(u)};f(),n={push:function(p){l.push(p),f()},filter:function(p){return l=l.filter(p),n}}}};return o}function H8(e){e===void 0&&(e={});var t=j8(null);return t.options=wo({async:!0,ssr:!1},e),t}var Ux=function(e){var t=e.sideCar,n=Gx(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,wo({},n))};Ux.isSideCarExport=!0;function z8(e,t){return e.useMedium(t),Ux}var Xx=H8(),Cm=function(){},xd=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:Cm,onWheelCapture:Cm,onTouchMoveCapture:Cm}),o=r[0],s=r[1],l=e.forwardProps,c=e.children,u=e.className,f=e.removeScrollBar,p=e.enabled,h=e.shards,g=e.sideCar,v=e.noRelative,y=e.noIsolation,m=e.inert,C=e.allowPinchZoom,x=e.as,M=x===void 0?"div":x,I=e.gapMode,O=Gx(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=g,k=$8([n,t]),D=wo(wo({},O),o);return w.createElement(w.Fragment,null,p&&w.createElement(T,{sideCar:Xx,removeScrollBar:f,shards:h,noRelative:v,noIsolation:y,inert:m,setCallbacks:s,allowPinchZoom:!!C,lockRef:n,gapMode:I}),l?w.cloneElement(w.Children.only(c),wo(wo({},D),{ref:k})):w.createElement(M,wo({},D,{className:u,ref:k}),c))});xd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},xd.classNames={fullWidth:wd,zeroRight:Cd};var G8=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Y8(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=G8();return t&&e.setAttribute("nonce",t),e}function U8(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function X8(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Z8=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Y8())&&(U8(t,n),X8(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},q8=function(){var e=Z8();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Zx=function(){var e=q8(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},J8={left:0,top:0,right:0,gap:0},wm=function(e){return parseInt(e||"",10)||0},K8=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[wm(n),wm(r),wm(o)]},Q8=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return J8;var t=K8(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ej=Zx(),ca="data-scroll-locked",tj=function(e,t,n,r){var o=e.left,s=e.top,l=e.right,c=e.gap;return n===void 0&&(n="margin"),`
565
- .`.concat(V8,` {
566
- overflow: hidden `).concat(r,`;
567
- padding-right: `).concat(c,"px ").concat(r,`;
568
- }
569
- body[`).concat(ca,`] {
570
- overflow: hidden `).concat(r,`;
571
- overscroll-behavior: contain;
572
- `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
573
- padding-left: `.concat(o,`px;
574
- padding-top: `).concat(s,`px;
575
- padding-right: `).concat(l,`px;
576
- margin-left:0;
577
- margin-top:0;
578
- margin-right: `).concat(c,"px ").concat(r,`;
579
- `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),`
580
- }
581
-
582
- .`).concat(Cd,` {
583
- right: `).concat(c,"px ").concat(r,`;
584
- }
585
-
586
- .`).concat(wd,` {
587
- margin-right: `).concat(c,"px ").concat(r,`;
588
- }
589
-
590
- .`).concat(Cd," .").concat(Cd,` {
591
- right: 0 `).concat(r,`;
592
- }
593
-
594
- .`).concat(wd," .").concat(wd,` {
595
- margin-right: 0 `).concat(r,`;
596
- }
597
-
598
- body[`).concat(ca,`] {
599
- `).concat(L8,": ").concat(c,`px;
600
- }
601
- `)},qx=function(){var e=parseInt(document.body.getAttribute(ca)||"0",10);return isFinite(e)?e:0},nj=function(){w.useEffect(function(){return document.body.setAttribute(ca,(qx()+1).toString()),function(){var e=qx()-1;e<=0?document.body.removeAttribute(ca):document.body.setAttribute(ca,e.toString())}},[])},rj=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;nj();var s=w.useMemo(function(){return Q8(o)},[o]);return w.createElement(ej,{styles:tj(s,!t,o,n?"":"!important")})},xm=!1;if(typeof window<"u")try{var Sd=Object.defineProperty({},"passive",{get:function(){return xm=!0,!0}});window.addEventListener("test",Sd,Sd),window.removeEventListener("test",Sd,Sd)}catch{xm=!1}var ua=xm?{passive:!1}:!1,oj=function(e){return e.tagName==="TEXTAREA"},Jx=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!oj(e)&&n[t]==="visible")},ij=function(e){return Jx(e,"overflowY")},sj=function(e){return Jx(e,"overflowX")},Kx=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Qx(e,r);if(o){var s=eS(e,r),l=s[1],c=s[2];if(l>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},aj=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},lj=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Qx=function(e,t){return e==="v"?ij(t):sj(t)},eS=function(e,t){return e==="v"?aj(t):lj(t)},cj=function(e,t){return e==="h"&&t==="rtl"?-1:1},uj=function(e,t,n,r,o){var s=cj(e,window.getComputedStyle(t).direction),l=s*r,c=n.target,u=t.contains(c),f=!1,p=l>0,h=0,g=0;do{if(!c)break;var v=eS(e,c),y=v[0],m=v[1],C=v[2],x=m-C-s*y;(y||x)&&Qx(e,c)&&(h+=x,g+=y);var M=c.parentNode;c=M&&M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?M.host:M}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return(p&&Math.abs(h)<1||!p&&Math.abs(g)<1)&&(f=!0),f},Id=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tS=function(e){return[e.deltaX,e.deltaY]},nS=function(e){return e&&"current"in e?e.current:e},dj=function(e,t){return e[0]===t[0]&&e[1]===t[1]},fj=function(e){return`
602
- .block-interactivity-`.concat(e,` {pointer-events: none;}
603
- .allow-interactivity-`).concat(e,` {pointer-events: all;}
604
- `)},pj=0,da=[];function hj(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),o=w.useState(pj++)[0],s=w.useState(Zx)[0],l=w.useRef(e);w.useEffect(function(){l.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=F8([e.lockRef.current],(e.shards||[]).map(nS),!0).filter(Boolean);return m.forEach(function(C){return C.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=w.useCallback(function(m,C){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!l.current.allowPinchZoom;var x=Id(m),M=n.current,I="deltaX"in m?m.deltaX:M[0]-x[0],O="deltaY"in m?m.deltaY:M[1]-x[1],T,k=m.target,D=Math.abs(I)>Math.abs(O)?"h":"v";if("touches"in m&&D==="h"&&k.type==="range")return!1;var A=Kx(D,k);if(!A)return!0;if(A?T=D:(T=D==="v"?"h":"v",A=Kx(D,k)),!A)return!1;if(!r.current&&"changedTouches"in m&&(I||O)&&(r.current=T),!T)return!0;var j=r.current||T;return uj(j,C,m,j==="h"?I:O)},[]),u=w.useCallback(function(m){var C=m;if(!(!da.length||da[da.length-1]!==s)){var x="deltaY"in C?tS(C):Id(C),M=t.current.filter(function(T){return T.name===C.type&&(T.target===C.target||C.target===T.shadowParent)&&dj(T.delta,x)})[0];if(M&&M.should){C.cancelable&&C.preventDefault();return}if(!M){var I=(l.current.shards||[]).map(nS).filter(Boolean).filter(function(T){return T.contains(C.target)}),O=I.length>0?c(C,I[0]):!l.current.noIsolation;O&&C.cancelable&&C.preventDefault()}}},[]),f=w.useCallback(function(m,C,x,M){var I={name:m,delta:C,target:x,should:M,shadowParent:mj(x)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(O){return O!==I})},1)},[]),p=w.useCallback(function(m){n.current=Id(m),r.current=void 0},[]),h=w.useCallback(function(m){f(m.type,tS(m),m.target,c(m,e.lockRef.current))},[]),g=w.useCallback(function(m){f(m.type,Id(m),m.target,c(m,e.lockRef.current))},[]);w.useEffect(function(){return da.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:g}),document.addEventListener("wheel",u,ua),document.addEventListener("touchmove",u,ua),document.addEventListener("touchstart",p,ua),function(){da=da.filter(function(m){return m!==s}),document.removeEventListener("wheel",u,ua),document.removeEventListener("touchmove",u,ua),document.removeEventListener("touchstart",p,ua)}},[]);var v=e.removeScrollBar,y=e.inert;return w.createElement(w.Fragment,null,y?w.createElement(s,{styles:fj(o)}):null,v?w.createElement(rj,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function mj(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const gj=z8(Xx,hj);var rS=w.forwardRef(function(e,t){return w.createElement(xd,wo({},e,{ref:t,sideCar:gj}))});rS.classNames=xd.classNames;var Td="Popover",[oS,uK]=mx(Td,[Nx]),ql=Nx(),[bj,xi]=oS(Td),iS=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:l=!1}=e,c=ql(t),u=w.useRef(null),[f,p]=w.useState(!1),[h,g]=E8({prop:r,defaultProp:o??!1,onChange:s,caller:Td});return S.jsx(C8,{...c,children:S.jsx(bj,{scope:t,contentId:Q7(),triggerRef:u,open:h,onOpenChange:g,onOpenToggle:w.useCallback(()=>g(v=>!v),[g]),hasCustomAnchor:f,onCustomAnchorAdd:w.useCallback(()=>p(!0),[]),onCustomAnchorRemove:w.useCallback(()=>p(!1),[]),modal:l,children:n})})};iS.displayName=Td;var sS="PopoverAnchor",vj=w.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=xi(sS,n),s=ql(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:c}=o;return w.useEffect(()=>(l(),()=>c()),[l,c]),S.jsx(jx,{...s,...r,ref:t})});vj.displayName=sS;var aS="PopoverTrigger",lS=w.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=xi(aS,n),s=ql(n),l=yi(t,o.triggerRef),c=S.jsx(Yo.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":pS(o.open),...r,ref:l,onClick:vi(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:S.jsx(jx,{asChild:!0,...s,children:c})});lS.displayName=aS;var Sm="PopoverPortal",[yj,Cj]=oS(Sm,{forceMount:void 0}),cS=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,s=xi(Sm,t);return S.jsx(yj,{scope:t,forceMount:n,children:S.jsx(bm,{present:n||s.open,children:S.jsx(Hx,{asChild:!0,container:o,children:r})})})};cS.displayName=Sm;var fa="PopoverContent",uS=w.forwardRef((e,t)=>{const n=Cj(fa,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,s=xi(fa,e.__scopePopover);return S.jsx(bm,{present:r||s.open,children:s.modal?S.jsx(xj,{...o,ref:t}):S.jsx(Sj,{...o,ref:t})})});uS.displayName=fa;var wj=gx("PopoverContent.RemoveScroll"),xj=w.forwardRef((e,t)=>{const n=xi(fa,e.__scopePopover),r=w.useRef(null),o=yi(t,r),s=w.useRef(!1);return w.useEffect(()=>{const l=r.current;if(l)return R8(l)},[]),S.jsx(rS,{as:wj,allowPinchZoom:!0,children:S.jsx(dS,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:vi(e.onCloseAutoFocus,l=>{var c;l.preventDefault(),s.current||(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:vi(e.onPointerDownOutside,l=>{const c=l.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0,f=c.button===2||u;s.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:vi(e.onFocusOutside,l=>l.preventDefault(),{checkForDefaultPrevented:!1})})})}),Sj=w.forwardRef((e,t)=>{const n=xi(fa,e.__scopePopover),r=w.useRef(!1),o=w.useRef(!1);return S.jsx(dS,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var l,c;(l=e.onCloseAutoFocus)==null||l.call(e,s),s.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var u,f;(u=e.onInteractOutside)==null||u.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=s.target;((f=n.triggerRef.current)==null?void 0:f.contains(l))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),dS=w.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:p,...h}=e,g=xi(fa,n),v=ql(n);return H7(),S.jsx(Ix,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:S.jsx(yx,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:p,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onDismiss:()=>g.onOpenChange(!1),children:S.jsx(w8,{"data-state":pS(g.open),role:"dialog",id:g.contentId,...v,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),fS="PopoverClose",Ij=w.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=xi(fS,n);return S.jsx(Yo.button,{type:"button",...r,ref:t,onClick:vi(e.onClick,()=>o.onOpenChange(!1))})});Ij.displayName=fS;var Tj="PopoverArrow",Oj=w.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ql(n);return S.jsx(x8,{...o,...r,ref:t})});Oj.displayName=Tj;function pS(e){return e?"open":"closed"}var Pj=iS,Ej=lS,Mj=cS,Dj=uS;const kj={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},Aj=(e,t,n)=>{let r;const o=kj[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},Nj={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},Rj={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Fj={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Vj={date:ia({formats:Nj,defaultWidth:"full"}),time:ia({formats:Rj,defaultWidth:"full"}),dateTime:ia({formats:Fj,defaultWidth:"full"})},Lj={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},_j={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},Bj=(e,t,n,r)=>t.getHours()!==1?_j[e]:Lj[e],$j={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},Wj={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},jj={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},Hj={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},zj={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},Gj={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},Yj={ordinalNumber:(e,t)=>Number(e)+"º",era:bo({values:$j,defaultWidth:"wide"}),quarter:bo({values:Wj,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:bo({values:jj,defaultWidth:"wide"}),day:bo({values:Hj,defaultWidth:"wide"}),dayPeriod:bo({values:zj,defaultWidth:"wide",formattingValues:Gj,defaultFormattingWidth:"wide"})},Uj=/^(\d+)(º)?/i,Xj=/\d+/i,Zj={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},qj={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},Jj={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Kj={any:[/1/i,/2/i,/3/i,/4/i]},Qj={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},eH={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},tH={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},nH={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},rH={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},oH={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},iH={ordinalNumber:Ww({matchPattern:Uj,parsePattern:Xj,valueCallback:function(e){return parseInt(e,10)}}),era:vo({matchPatterns:Zj,defaultMatchWidth:"wide",parsePatterns:qj,defaultParseWidth:"any"}),quarter:vo({matchPatterns:Jj,defaultMatchWidth:"wide",parsePatterns:Kj,defaultParseWidth:"any",valueCallback:e=>e+1}),month:vo({matchPatterns:Qj,defaultMatchWidth:"wide",parsePatterns:eH,defaultParseWidth:"any"}),day:vo({matchPatterns:tH,defaultMatchWidth:"wide",parsePatterns:nH,defaultParseWidth:"any"}),dayPeriod:vo({matchPatterns:rH,defaultMatchWidth:"any",parsePatterns:oH,defaultParseWidth:"any"})},sH={code:"es",formatDistance:Aj,formatLong:Vj,formatRelative:Bj,localize:Yj,match:iH,options:{weekStartsOn:1,firstWeekContainsDate:1}},wn={"date-range-picker":"dateRangePicker-module_date-range-picker_PFF9Q",lg:"dateRangePicker-module_lg_Z5cAW","input-wrapper":"dateRangePicker-module_input-wrapper_hyxTt",md:"dateRangePicker-module_md_U7O4u",sm:"dateRangePicker-module_sm_eQU4f",disabled:"dateRangePicker-module_disabled_O2wo6",focused:"dateRangePicker-module_focused_ZciL9","popover-content":"dateRangePicker-module_popover-content_RKQTm",popoverEnter:"dateRangePicker-module_popoverEnter_LA-QD",popoverExit:"dateRangePicker-module_popoverExit_7P00p",nav:"dateRangePicker-module_nav_wpLSQ",months:"dateRangePicker-module_months_KJVIG",month:"dateRangePicker-module_month_5xEDo","month-caption":"dateRangePicker-module_month-caption_SaiMe",weekdays:"dateRangePicker-module_weekdays_Ifsr6",weekday:"dateRangePicker-module_weekday_2PP3h",week:"dateRangePicker-module_week_t5X3S",day:"dateRangePicker-module_day_wqJov",selected:"dateRangePicker-module_selected_RUsR-","range-middle":"dateRangePicker-module_range-middle_xm-3W","range-start":"dateRangePicker-module_range-start_52uOV","range-end":"dateRangePicker-module_range-end_VR3Y-"};function aH(e){return e&&e.length?e[0]:void 0}var lH=aH;const cH=Oo(lH),Im=(e,t)=>{const n=o=>St.padStart(String(o),2,"0"),r={YYYY:String(e.getFullYear()),MM:n(e.getMonth()+1),DD:n(e.getDate()),HH:n(e.getHours()),mm:n(e.getMinutes()),ss:n(e.getSeconds())};return St.reduce(r,(o,s,l)=>St.replace(o,l,s),t)},uH=e=>{if(!e)return;const t=new Date(e.from);t.setHours(0,0,0);const n=new Date(e.to);return n.setHours(23,59,59),{from:t,to:n}};jt.extend(tm);const dH=e=>{if(e){if(typeof e=="object"&&"from"in e&&"to"in e){const t=e;return{from:pa(t.from),to:pa(t.to)}}if(typeof e=="string"&&e.includes(" - ")){const[t,n]=e.split(" - ");return{from:pa(t.trim()),to:pa(n.trim())}}}},fH=(e,t="DD/MM/YYYY")=>{if(!(e!=null&&e.from))return"";const n=Im(e.from,t),r=e.to?Im(e.to,t):"";return e.from&&e.to?`${n} - ${r}`:n},pa=e=>{if(e){if(e instanceof Date)return e;if(typeof e=="string"){const t=jt(e);return t.isValid()?t.toDate():void 0}if(typeof e=="number")return jt(e).toDate()}},pH=e=>S.jsx("th",{...e,children:cH(e.children)}),hH=(e,t,n)=>{if(e)return!0;const r=pa(t),o=pa(n);if(r&&o)return[{before:r},{after:o}];if(r)return{before:r};if(o)return{after:o}},hS=e=>{const{meta:t,name:n,value:r=null,disabled:o=!1,required:s=!1,placeholder:l,size:c="md",noErrors:u=!1,label:f,format:p="DD/MM/YYYY",isValid:h,onChange:g,input:v,minDate:y,maxDate:m,...C}=e,x=(v==null?void 0:v.value)??r,M={meta:t,value:x,isValid:h,required:e.required},I=vh(M),{handleChange:O,handleBlur:T}=Ui({input:v,onChange:g?B=>{const L={target:{value:uH(B),name:n}};g(L)}:void 0}),k=B=>{O(B),B!=null&&B.from&&(B!=null&&B.to)&&(B==null?void 0:B.from)!==(B==null?void 0:B.to)&&R(!1)},D=()=>{O(void 0)},A=dH(x),j=fH(A,p),[E,R]=J.useState(!1),H=()=>(A==null?void 0:A.from)||(A==null?void 0:A.to)||new Date;return S.jsxs("div",{className:xe(wn["date-range-picker"],wn[c],I?Hs[I]:"",o?wn.disabled:"",E?wn.focused:""),children:[S.jsxs(Pj,{open:E&&!o,onOpenChange:R,children:[S.jsx(Ej,{asChild:!0,children:S.jsxs("div",{className:wn["input-wrapper"],children:[S.jsx("input",{type:"text",name:n,value:j,placeholder:l||p,readOnly:!0,onBlur:T,...C}),S.jsx(Tw,{onOpen:()=>R(!E),showClearIcon:!!j,onClear:D})]})}),S.jsx(Mj,{children:S.jsx(Dj,{className:wn["popover-content"],sideOffset:4,align:"start",side:"bottom",avoidCollisions:!0,collisionPadding:8,children:S.jsx(O7,{mode:"range",locale:sH,selected:A,onSelect:k,numberOfMonths:2,defaultMonth:H(),disabled:hH(o,y,m),className:wn["day-picker"],animate:!0,classNames:{months:wn.months,month:wn.month,month_caption:wn["month-caption"],nav:wn.nav,weekdays:wn.weekdays,weekday:wn.weekday,week:wn.week,day:wn.day,selected:wn.selected,range_start:wn["range-start"],range_middle:wn["range-middle"],range_end:wn["range-end"],disabled:wn.disabled},components:{Weekday:pH}})})})]}),!u&&S.jsx(yh,{validationProps:M})]})},mH=({label:e,rightAdornment:t,value:n,...r})=>S.jsx(Tm,{type:"dateRange",label:e,rightAdornment:t,value:n,...r}),gH=e=>e?{password:T3,text:El,number:El,date:Pw,dateRange:hS}[e]:El,Tm=({label:e,rightAdornment:t,children:n,...r})=>{const o=gH(r.type);return S.jsxs("div",{className:Wo["form-field"],children:[e&&S.jsx("label",{htmlFor:r.name,children:e}),S.jsxs("div",{className:`${Wo["input-container"]}`,children:[S.jsx(o,{...r,children:n}),!!t&&S.jsx("div",{className:`${Wo["right-modifier"]}`,children:t})]})]})},Jl={"checkbox-input-container":"checkboxInput-module_checkbox-input-container_prYRe",title:"checkboxInput-module_title_cvp-g","checkbox-input-items":"checkboxInput-module_checkbox-input-items_AMkaS",disabled:"checkboxInput-module_disabled_3EFy5",lg:"checkboxInput-module_lg_VoVop",md:"checkboxInput-module_md_Nh-Gg",sm:"checkboxInput-module_sm_965vX"},Om=({title:e,name:t,type:n="checkbox",items:r,onChange:o,size:s="lg",input:l,...c})=>{const{handleChange:u,handleBlur:f}=Ui({input:l,onChange:o,transformValue:p=>{const{checked:h,name:g}=p.target;if(l){const v={...l.value};return v[g]=h,v}return p}});return S.jsxs("div",{className:Jl["checkbox-input-container"],children:[e&&S.jsxs("label",{className:Jl.title,children:[" ",e," "]}),S.jsx("div",{className:`${Jl["checkbox-input-items"]} ${Jl[s]}`,children:St.map(r,({id:p,name:h,label:g,disabled:v,checked:y,value:m,...C})=>{const x=p||h||t;return S.jsxs("label",{htmlFor:x,className:`${v?Jl.disabled:""}`,children:[S.jsx("input",{...c,...C,id:x,type:n,name:h||t,checked:l&&h?St.get(l.value,h):y,disabled:v,onChange:u,onBlur:f}),S.jsxs("span",{children:[" ",g," "]})]},x)})})]})},Pm=({name:e,checked:t,onChange:n,label:r,title:o,disabled:s=!1,size:l="lg",input:c,type:u="checkbox",...f})=>{const p={id:`${e}-single`,label:r,checked:t,disabled:s};return S.jsx(Om,{...f,name:e,items:[p],onChange:n,title:o,type:u,size:l,input:c})},bH={loader:"spinner-module_loader_UIupC"},mS=({size:e="lg"})=>S.jsx(Kc,{size:vH(e),className:bH.loader}),vH=e=>({sm:18,lg:60})[e],yH=()=>S.jsx("div",{className:rn["producteca-select-field__search-icon"],children:S.jsx($n,{children:S.jsx(N1,{})})}),CH=e=>{const{name:t,label:n,placeholder:r=nn("selectPlaceholder"),noOptionsMessage:o=nn("noFoundOptions"),options:s,size:l="md",isSearchable:c=!0,isClearable:u=!0,clearOnSelect:f=!1,required:p,disabled:h,rightModifier:g,isOptionDisabled:v,onChange:y,onInputChange:m,input:C,isLoading:x=!1,...M}=e,[I,O]=J.useState(null);J.useEffect(()=>{k(!St.isEmpty(s)||x)},[s,x]);const[T,k]=J.useState(!1),D=E=>{const R={target:{name:t,value:E}};m==null||m(R),k(!St.isEmpty(s)||x)},A=E=>{const R={target:{name:t,value:E==null?void 0:E.value}};O(E),C?C.onChange(E==null?void 0:E.value):y==null||y(R),f&&E&&O(null),k(!1)},j=()=>{C&&C.onBlur(),k(!1)};return S.jsxs("div",{className:rn["producteca-select-field-container"],children:[n&&S.jsx("label",{htmlFor:t,children:n}),S.jsxs("div",{className:xe(rn[l],rn["producteca-select-field-body"],rn[c?"producteca-select-field--is-searchable":""],rn[u?"producteca-select-field--is-clearable":""],rn[g?"producteca-select-field--with-modifier":""]),children:[S.jsxs("div",{className:rn["searcher-body"],children:[c&&S.jsx(yH,{}),S.jsx(m1,{...M,name:t,placeholder:r,classNamePrefix:"producteca-select-field",isDisabled:h,isClearable:u,isOptionDisabled:v,isSearchable:c,noOptionsMessage:()=>x?S.jsx(mS,{size:"sm"}):o,onInputChange:D,onChange:A,onBlur:j,value:I,options:s,components:{Option:Zu,SingleValue:hh},menuPortalTarget:document.body,menuIsOpen:T,onMenuOpen:()=>k(!St.isEmpty(s)||x),onMenuClose:()=>k(!1)}),S.jsx(mh,{isClearable:u,handleChange:()=>{O(null),C&&C.onChange(null)}})]}),!!g&&g]})]})},Uo={"switch-input-container":"switchInput-module_switch-input-container_t9Kpp",title:"switchInput-module_title_lBK2p","switch-input-items":"switchInput-module_switch-input-items_P3RMy","switch-wrapper":"switchInput-module_switch-wrapper_cZvDV","switch-input":"switchInput-module_switch-input_e9PWi","switch-slider":"switchInput-module_switch-slider_ICfGn","switch-label":"switchInput-module_switch-label_Nj-Hh",disabled:"switchInput-module_disabled_yz9dR",lg:"switchInput-module_lg_WMIDO",md:"switchInput-module_md_683sQ",sm:"switchInput-module_sm_sh92j"},Em=({title:e,name:t,items:n,onChange:r,size:o="sm",input:s,...l})=>{const{handleChange:c,handleBlur:u}=Ui({input:s,onChange:r,transformValue:f=>{const{checked:p,name:h}=f.target;if(s){const g={...s.value};return g[h]=p,g}return f}});return S.jsxs("div",{className:Uo["switch-input-container"],"data-testid":"switch-input-container",children:[e&&S.jsxs("label",{className:Uo.title,"data-testid":"switch-title",children:[" ",e," "]}),S.jsx("div",{className:`${Uo["switch-input-items"]} ${Uo[o]}`,"data-testid":"switch-input-items",children:St.map(n,({id:f,name:p,label:h,disabled:g,checked:v,value:y,...m})=>{const C=f||p||t;return S.jsxs("label",{htmlFor:C,className:`${g?Uo.disabled:""}`,"data-testid":`switch-label-${C}`,children:[S.jsxs("div",{className:Uo["switch-wrapper"],children:[S.jsx("input",{...l,...m,id:C,type:"checkbox",name:p||t,checked:s&&p?St.get(s.value,p):v,disabled:g,onChange:c,onBlur:u,className:Uo["switch-input"],"data-testid":`switch-input-${C}`}),S.jsx("span",{className:Uo["switch-slider"]})]}),S.jsxs("span",{className:Uo["switch-label"],children:[" ",h," "]})]},C)})})]})},gS=({name:e,checked:t,onChange:n,label:r,title:o,disabled:s=!1,size:l="sm",input:c,...u})=>{const f={id:`${e}-single`,label:r,checked:t,disabled:s};return S.jsx(Em,{...u,name:e,items:[f],onChange:n,title:o,size:l,input:c})},bS={"empty-state-container":"emptyState-module_empty-state-container_azCks","link-container":"emptyState-module_link-container_kXroF"},wH=S.jsx(e0,{}),xH=({onActionClick:e,icon:t=wH,actionText:n=nn("reloadPage"),text:r=nn("noResultsFound")})=>S.jsxs("div",{className:bS["empty-state-container"],children:[t,S.jsxs("div",{className:bS["link-container"],children:[S.jsx("span",{children:r}),e&&S.jsx("a",{onClick:e,children:n})]})]}),vS={"action-bar":"actionBar-module_action-bar_Y-sjl",fullPage:"actionBar-module_fullPage_A4wiw",modal:"actionBar-module_modal_jZfAJ",page:"actionBar-module_page_Oq8Jb"},yS=({variant:e="page",saveProps:t,cancelProps:n,previousProps:r})=>{const{onCancel:o,label:s=nn("cancel")}=n||{},{onPrevious:l,label:c=nn("previous"),...u}=r||{},{onSave:f,label:p=nn("save"),...h}=t||{};return S.jsxs("div",{className:xe(vS["action-bar"],vS[e]),children:[!!o&&S.jsx(Ri,{size:"md",variant:"link",label:s,onClick:o}),!!l&&S.jsx(Ri,{outline:!0,label:c,onClick:l,...u}),!!f&&S.jsx(Ri,{label:p,onClick:f,...h})]})},SH=({onClick:e,copyText:t=nn("copyButton.copy"),copiedText:n=nn("copyButton.copied"),textToCopy:r,resetTime:o=2e3,...s})=>{const[l,c]=J.useState(!1),[u,f]=J.useState(!1);J.useEffect(()=>{if(l){f(!0);const h=setTimeout(()=>{f(!1)},o/2);return()=>clearTimeout(h)}},[l]);const p=()=>{r&&(c(!0),navigator.clipboard.writeText(r).then(()=>{setTimeout(()=>c(!1),o)}).catch(()=>{c(!1)}))};return S.jsx("div",{onClick:()=>e?e():p(),children:S.jsx(Ri,{className:`copy-btn ${l?"copied":""} ${u?"animating":""}`,outline:!0,label:l?n:t,leftAdornment:S.jsx(IH,{copied:l}),...s})})},IH=({copied:e})=>S.jsxs("div",{className:"copy-btn-icons",children:[S.jsx("div",{className:`copy-icon ${e?"hidden":""}`,children:S.jsx(m3,{})}),S.jsx("div",{className:`check-icon ${e?"":"hidden"}`,children:S.jsx(p3,{})})]}),Kl={"header-section-container":"headerSection-module_header-section-container_M-ZSv",dense:"headerSection-module_dense_f1FWn","header-section":"headerSection-module_header-section_UIh2F",content:"headerSection-module_content_5y2PB",title:"headerSection-module_title_cabYm"},TH=({breadcrumb:e,image:t,dense:n=!1,title:r,subtitle:o,link:s,menuAction:l})=>S.jsxs("div",{className:xe(Kl["header-section-container"],{[Kl.dense]:n||!!e}),children:[!!e&&e,S.jsxs("div",{className:Kl["header-section"],children:[!!t&&t,S.jsxs("div",{className:Kl.content,children:[r&&S.jsx("h3",{className:Kl.title,children:r}),!!o&&o,!!s&&s]}),!!l&&l]})]}),OH={action:"linkWithIcon-module_action_3K4he"},PH={sm:"8",md:"12",lg:"12"},EH=e=>PH[e??"md"],MH=({text:e,icon:t,onClick:n,className:r,size:o="md",otherProps:s={}})=>S.jsxs("div",{className:xe(OH.action,r),onClick:n,children:[t&&S.jsx($n,{color:An("primary","500"),...s,size:EH(o),children:t}),S.jsx(Ri,{variant:"link",label:e,size:o,...s})]}),Mm={"icon-with-identifier":"iconWithIdentifier-module_icon-with-identifier_3-SZE",divider:"iconWithIdentifier-module_divider_fCBSV",identifier:"iconWithIdentifier-module_identifier_kWrOU"},DH=({text:e,showDivider:t=!0,color:n,icon:r})=>S.jsxs("div",{className:xe(Mm["icon-with-identifier"]),children:[!!r&&r,t&&S.jsx("div",{className:Mm.divider}),S.jsx("span",{className:Mm.identifier,style:{color:n},children:e})]}),CS={progressbar:"progressbar-module_progressbar_8ygYR",lg:"progressbar-module_lg_5JGr-",sm:"progressbar-module_sm_LPtUo"},kH=({size:e="lg",progress:t=0,variant:n="determinate"})=>{const[r,o]=J.useState(t);return J.useEffect(()=>{if(n==="buffer"){const s=setInterval(()=>{o(l=>{const c=Math.min(100,l+Math.sqrt(100-l)*.5);return Math.round(c)})},100);return()=>{clearInterval(s)}}else o(t)},[n,t]),S.jsx(xy,{variant:n=="buffer"?"determinate":n,value:r,className:xe(CS.progressbar,CS[e]),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r})},ha={alert:"alert-module_alert_j7ZRS","full-width":"alert-module_full-width_eKIHw",icon:"alert-module_icon_vbZHd",message:"alert-module_message_klR2U",link:"alert-module_link_IrBj3",success:"alert-module_success_AVBKS",error:"alert-module_error_cxg96",warning:"alert-module_warning_zkMaJ",info:"alert-module_info_PBo1l"},AH=({message:e,variant:t="success",className:n,icon:r,fullWidth:o=!1,link:s,...l})=>{const c={success:S.jsx($n,{size:"12",color:An("success","500"),children:S.jsx(h3,{})}),error:S.jsx($n,{size:"12",color:An("error","700"),children:S.jsx(f3,{})}),warning:S.jsx($n,{size:"12",color:An("secondary","500"),children:S.jsx(A1,{})}),info:S.jsx($n,{size:"12",color:An("primary","500"),children:S.jsx(g3,{})})};return S.jsxs("div",{className:xe(ha.alert,ha[t],{[ha["full-width"]]:o},n),...l,children:[S.jsx("div",{className:ha.icon,children:r||c[t]}),S.jsxs("div",{className:ha.message,children:[St.isString(e)?S.jsx("span",{dangerouslySetInnerHTML:{__html:e}}):S.jsxs("span",{children:[" ",e]}),s&&S.jsxs(S.Fragment,{children:[" ",S.jsx("a",{href:s==null?void 0:s.href,className:ha.link,onClick:s==null?void 0:s.onClick,children:s.text})]})]})]})},wS=({children:e})=>{const t=J.useRef(null),[n,r]=J.useState(!1);return J.useEffect(()=>{const o=()=>{t.current&&r(t.current.scrollWidth>t.current.offsetWidth)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),S.jsx(S.Fragment,{children:e(t,n)})},xS=({children:e,content:t,placement:n="top",arrow:r=!1,maxWidth:o="600px",trigger:s="hover",shouldShowTooltip:l=!0,...c})=>{const[u,f]=J.useState(!1),p=J.cloneElement(e,{style:{...e.props.style||{},cursor:"pointer"},...s==="click"&&l&&{onClick:v=>{e.props.onClick&&e.props.onClick(v),f(!u)}}}),h=s==="click"?{open:l?u:!1,onClose:()=>f(!1),disableHoverListener:!0,disableFocusListener:!0,disableTouchListener:!0}:{},g=l?{}:{disableHoverListener:!0,disableFocusListener:!0,disableTouchListener:!0};return S.jsx(zy,{title:l?t:"",placement:n,arrow:r,slots:{transition:jy},slotProps:{popper:{sx:{[`&.${xt.popper} .${xt.tooltip}`]:{fontFamily:"Poppins, Open Sans, Helvetica, Arial, sans-serif",background:"rgba(102, 102, 102, 1)",padding:"9px 9px 8px 12px",fontSize:"12px",fontWeight:"400",color:"white !important",borderRadius:"4px",maxWidth:o},[`&.${xt.popper} .${xt.arrow}`]:{color:"rgba(102, 102, 102, 1)"},[`&.${xt.popper}[data-popper-placement*="top"] .${xt.tooltip}`]:{marginBottom:"8px"},[`&.${xt.popper}[data-popper-placement*="bottom"] .${xt.tooltip}`]:{marginTop:"8px"},[`&.${xt.popper}[data-popper-placement*="left"] .${xt.tooltip}`]:{marginRight:"8px"},[`&.${xt.popper}[data-popper-placement*="right"] .${xt.tooltip}`]:{marginLeft:"8px"}}}},...h,...g,...c,children:p})},NH=({content:e,children:t,...n})=>S.jsx(wS,{children:(r,o)=>{const s=J.cloneElement(t,{ref:r});return o&&e?S.jsx(xS,{content:e,...n,children:s}):s}}),Od={"image-container":"image-module_image-container_ZhlhW",image:"image-module_image_y02P7",error:"image-module_error_QtQOy"},RH=({src:e,className:t,sx:n,alt:r})=>{const[o,s]=J.useState(!1),l=()=>{s(!0)};return o?S.jsx("div",{className:xe(Od["image-container"],t),style:n,children:S.jsx(b3,{className:Od.error})}):S.jsx("div",{className:xe(Od["image-container"],t),style:{...n},children:S.jsx("img",{src:e,alt:r||e,className:Od.image,onError:l})})},SS={breadcrumb:"breadcrumb-module_breadcrumb_r-ILp","breadcrumb-item":"breadcrumb-module_breadcrumb-item_suTUF"},FH=({item:e,index:t,items:n})=>{const r=t===Qn.size(n)-1,o=`${e.text} >`;return e.isActive||r?S.jsx(Ri,{variant:"link",size:"sm",label:o,onClick:e.onClick}):S.jsxs("div",{className:SS["breadcrumb-item"],children:[" ",o," "]})},VH=({items:e,className:t,...n})=>S.jsx("nav",{className:xe(SS.breadcrumb,t),"aria-label":"Breadcrumb",...n,children:Qn.map(e,(r,o)=>S.jsx(FH,{item:r,index:o,items:e},o))}),LH={"& .MuiPopover-paper":{boxShadow:"0px 5px 5px -3px rgb(205 205 205 / 20%), 0px 8px 14px 1px rgb(165 165 165 / 14%), 0px 3px 14px 2px rgb(219 219 219 / 6%)"}},_H={fontFamily:"Poppins, Open Sans, Helvetica, Arial, sans-serif",fontSize:"12px",color:An("grey","900"),"&.Mui-selected":{backgroundColor:"#F2F4F7"},"&.Mui-disabled":{opacity:.5}},BH=48,$H=({items:e,id:t="menu-action-button",maxItemsVisible:n=6,icon:r,...o})=>{const[s,l]=J.useState(null),c=!!s,u=h=>{l(h.currentTarget)},f=()=>{l(null)},p=J.useMemo(()=>({maxHeight:BH*n}),[n]);return S.jsxs("div",{children:[S.jsx(ci,{id:t,"aria-controls":c?`${t}-menu`:void 0,"aria-expanded":c?"true":void 0,"aria-haspopup":"true",onClick:u,children:r??S.jsx($n,{color:An("grey","900"),children:S.jsx(v3,{})})}),S.jsx(Vp,{id:`${t}-menu`,anchorEl:s,open:c,onClose:f,slotProps:{paper:{style:p},list:{"aria-labelledby":t},transition:fi},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},sx:LH,...o,children:Qn.map(e,(h,g)=>S.jsx(vu,{sx:_H,...h,onClick:()=>{var v;f(),(v=h.onClick)==null||v.call(h)},children:h.label},g))})]})},rs={overlay:"warningModal-module_overlay_X5HPw",modal:"warningModal-module_modal_Co-2N",body:"warningModal-module_body_MgD8L","help-container":"warningModal-module_help-container_hsnyD","header-icon":"warningModal-module_header-icon_qOIRS",title:"warningModal-module_title_kZiTR",content:"warningModal-module_content_3IB6x"},WH=S.jsx($n,{size:"32",color:An("secondary","500"),children:S.jsx(A1,{})}),jH=({icon:e,title:t=nn("warningModal.warning"),description:n,confirmLabel:r=nn("continue"),cancelLabel:o=nn("cancel"),onSave:s,onCancel:l,dontShowAgainLabel:c=nn("warningModal.dontShowAgain"),onChangeDontShowAgain:u,onClickGuide:f,...p})=>S.jsx("div",{className:rs.overlay,role:"dialog","aria-modal":"true",...p,children:S.jsxs("div",{className:rs.modal,children:[S.jsxs("div",{className:rs.body,children:[f&&S.jsx("div",{className:rs["help-container"],children:S.jsx($n,{"aria-label":nn("guide"),color:An("primary","500"),onClick:()=>f==null?void 0:f(new MouseEvent("click")),children:S.jsx(u3,{})})}),S.jsxs("div",{className:rs["header-icon"],children:[e||WH,S.jsx("div",{className:rs.title,children:t})]}),S.jsxs("div",{className:rs.content,children:[S.jsxs("span",{children:[" ",n," "]}),u&&S.jsx(Pm,{name:"dont-show-again",label:c,onChange:u})]})]}),S.jsx(yS,{variant:"modal",cancelProps:{onCancel:l,label:o},saveProps:{onSave:s,label:r,variant:"primary",size:"md"}})]})}),ma={tabs:"tabs-module_tabs_UMeM9",list:"tabs-module_list_rsWgV",tab:"tabs-module_tab_qi523",label:"tabs-module_label_gXlYw",active:"tabs-module_active_PvUYu",disabled:"tabs-module_disabled_Lue6Q"},HH=({items:e,value:t,defaultValue:n,onChange:r,className:o=""})=>{const[s,l]=J.useState(n),c=Qn.isUndefined(t)?s:t,u=J.useMemo(()=>{var p;return(p=Qn.find(e,h=>!h.disabled))==null?void 0:p.id},[e]);J.useEffect(()=>{c===void 0&&l(u)},[c,u]);const f=(p,h)=>{var y;const g=String(h),v=Qn.find(e,m=>m.id===g);v!=null&&v.disabled||(t===void 0&&l(g),r==null||r(g),(y=v==null?void 0:v.onClick)==null||y.call(v))};return S.jsx("div",{className:xe(ma.tabs,{[o]:!!o}),children:S.jsx($p,{value:c,onChange:f,className:ma.list,"aria-label":"tabs",sx:zH,children:Qn.map(e,({id:p,label:h,disabled:g})=>S.jsx(xu,{value:p,label:S.jsx("span",{className:ma.label,children:h}),disabled:g,disableRipple:!0,sx:GH,className:xe(ma.tab,{[ma.active]:p===c,[ma.disabled]:g})},p))})})},zH={padding:0,minHeight:0,"& .MuiTabs-list":{gap:"24px",padding:"0 16px"},"& .MuiTabs-indicator":{borderRadius:8}},GH={padding:0,minHeight:0};Ne.ActionBar=yS,Ne.Alert=AH,Ne.Breadcrumb=VH,Ne.Button=Ri,Ne.Categories=$N,Ne.Checkbox=Pm,Ne.CheckboxGroup=Om,Ne.CheckboxInput=Pm,Ne.CheckboxInputGroup=Om,Ne.Chip=jN,Ne.ClearComponent=mh,Ne.ColorOptions=_N,Ne.ColorValues=Jy,Ne.Colors=yl,Ne.CopyButton=SH,Ne.CustomIcon=$n,Ne.DatePicker=E$,Ne.DatePickerInput=Pw,Ne.DateRangePicker=mH,Ne.DateRangePickerInput=hS,Ne.EmptyState=xH,Ne.FileIcon=zN,Ne.FormField=Tm,Ne.HeaderSection=TH,Ne.IconWithIdentifier=DH,Ne.Image=RH,Ne.LinkWithIcon=MH,Ne.MailIcon=HN,Ne.MenuAction=$H,Ne.Option=Zu,Ne.OverflowChecker=wS,Ne.PriceCloseIcon=YN,Ne.PriceDownIcon=GN,Ne.Progressbar=kH,Ne.SearchComponent=R1,Ne.SearchPublication=e0,Ne.Searcher=CH,Ne.SelectField=I3,Ne.Shades=BN,Ne.SingleValue=hh,Ne.Spinner=mS,Ne.Switch=gS,Ne.SwitchGroup=Em,Ne.SwitchInput=gS,Ne.SwitchInputGroup=Em,Ne.Tabs=HH,Ne.TextInput=El,Ne.WarningModal=jH,Ne.WithOverflowTooltip=NH,Ne.WithTooltip=xS,Ne.allColors=Wp,Ne.datePickerDayStyles=ww,Ne.datePickerDigitalClockStyles=xw,Ne.datePickerInputStyles=Cw,Ne.datePickerLayoutStyles=yw,Ne.datePickerPopperStyles=Iw,Ne.datePickerYearStyles=Sw,Ne.formatDate=Im,Ne.getColor=An,Ne.isValidColor=Fs,Ne.useReduxFormField=Ui,Object.defineProperty(Ne,Symbol.toStringTag,{value:"Module"})});
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
+ typeof define === 'function' && define.amd ? define(factory) :
4
+ (global = global || self, global.ProductecaUIKit = factory());
5
+ }(this, (function () { 'use strict';
6
+ export * from './components';
7
+ export * from './styles/colors';
8
+ export * from './hooks/useReduxFormField';
9
+ })));