@eclass/ui-kit 1.51.7 → 1.51.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/Icons/AcademicRecord.d.ts +6 -0
- package/dist/atoms/Icons/Accessibility.d.ts +3 -0
- package/dist/atoms/Icons/AlertInfo.d.ts +6 -0
- package/dist/atoms/Icons/Alerts/ErrorColor.d.ts +6 -0
- package/dist/atoms/Icons/Alerts/ErrorWhite.d.ts +6 -0
- package/dist/atoms/Icons/Alerts/InfoColor.d.ts +6 -0
- package/dist/atoms/Icons/Alerts/InfoWhite.d.ts +6 -0
- package/dist/atoms/Icons/Alerts/SuccessColor.d.ts +6 -0
- package/dist/atoms/Icons/Alerts/SuccessWhite.d.ts +6 -0
- package/dist/atoms/Icons/Alerts/WarningColor.d.ts +6 -0
- package/dist/atoms/Icons/Alerts/WarningWhite.d.ts +6 -0
- package/dist/atoms/Icons/Alerts/index.d.ts +8 -0
- package/dist/atoms/Icons/ArrowRight.d.ts +6 -0
- package/dist/atoms/Icons/Base.d.ts +15 -0
- package/dist/atoms/Icons/Calendar.d.ts +6 -0
- package/dist/atoms/Icons/Certificate.d.ts +6 -0
- package/dist/atoms/Icons/CircularCheck.d.ts +6 -0
- package/dist/atoms/Icons/CircularInformation.d.ts +6 -0
- package/dist/atoms/Icons/Clock.d.ts +6 -0
- package/dist/atoms/Icons/Close.d.ts +6 -0
- package/dist/atoms/Icons/DiagonalArrow.d.ts +6 -0
- package/dist/atoms/Icons/Download.d.ts +6 -0
- package/dist/atoms/Icons/GoAhead.d.ts +6 -0
- package/dist/atoms/Icons/GoBack.d.ts +6 -0
- package/dist/atoms/Icons/Loader.d.ts +6 -0
- package/dist/atoms/Icons/Multimedia.d.ts +6 -0
- package/dist/atoms/Icons/Password.d.ts +6 -0
- package/dist/atoms/Icons/Pen.d.ts +6 -0
- package/dist/atoms/Icons/PlusSign.d.ts +6 -0
- package/dist/atoms/Icons/Profile.d.ts +6 -0
- package/dist/atoms/Icons/Schedule.d.ts +6 -0
- package/dist/atoms/Icons/TextBubble.d.ts +6 -0
- package/dist/atoms/Icons/TinyAlertError.d.ts +6 -0
- package/dist/atoms/Icons/TinyAlertInfo.d.ts +6 -0
- package/dist/atoms/Icons/TinyAlertSuccess.d.ts +6 -0
- package/dist/atoms/Icons/TinyAlertWarning.d.ts +6 -0
- package/dist/atoms/Icons/TrashCan.d.ts +6 -0
- package/dist/atoms/Icons/index.d.ts +25 -0
- package/dist/atoms/Label/Label.d.ts +13 -0
- package/dist/atoms/Progress/Progress.d.ts +10 -0
- package/dist/atoms/Ripples/Ripples.d.ts +11 -0
- package/dist/atoms/TinyAlert/TinyAlert.d.ts +16 -0
- package/dist/atoms/index.d.ts +5 -0
- package/dist/eclass-ui-kit.es.js +35823 -0
- package/dist/eclass-ui-kit.es.js.map +1 -0
- package/dist/eclass-ui-kit.umd.js +563 -0
- package/dist/eclass-ui-kit.umd.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/molecules/Buttons/Btn.d.ts +43 -0
- package/dist/molecules/Buttons/BtnLink.d.ts +18 -0
- package/dist/molecules/Buttons/BtnPrimary.d.ts +24 -0
- package/dist/molecules/Buttons/BtnSecondary.d.ts +24 -0
- package/dist/molecules/Buttons/BtnTertiary.d.ts +31 -0
- package/dist/molecules/Tooltip/NewTooltip.d.ts +14 -0
- package/dist/molecules/UserWay/UserWay.d.ts +2 -0
- package/dist/molecules/UserWay/UserWayCookie.d.ts +1 -0
- package/dist/molecules/index.d.ts +8 -0
- package/dist/organisms/Alerts/Alert.d.ts +17 -0
- package/dist/organisms/Alerts/FlashNotification.d.ts +16 -0
- package/dist/organisms/Alerts/index.d.ts +3 -0
- package/dist/organisms/Alerts/types.d.ts +74 -0
- package/dist/organisms/Alerts/utils/alertStates.d.ts +45 -0
- package/dist/organisms/Alerts/utils/handleTime.d.ts +1 -0
- package/dist/organisms/Alerts/utils/useFlashNotification.d.ts +18 -0
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.d.ts +3 -0
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/Components/Empty.d.ts +4 -0
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/Components/Events.d.ts +30 -0
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/Components/GoToCalendar.d.ts +8 -0
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/Components/Header.d.ts +5 -0
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/Icons/CalendarButtonIcon.d.ts +2 -0
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/Icons/NoEventsIcon.d.ts +2 -0
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/services/parseEvents.d.ts +8 -0
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown.d.ts +3 -0
- package/dist/organisms/Calendar/Dropdown/types.d.ts +49 -0
- package/dist/organisms/Calendar/EventsList/EventsList.d.ts +12 -0
- package/dist/organisms/Calendar/EventsList/NotificationIcon.d.ts +2 -0
- package/dist/organisms/Calendar/index.d.ts +2 -0
- package/dist/organisms/CourseList/Boxes/BoxImage.d.ts +14 -0
- package/dist/organisms/CourseList/Boxes/BoxTraditional.d.ts +12 -0
- package/dist/organisms/CourseList/Boxes/Boxes.d.ts +9 -0
- package/dist/organisms/CourseList/Boxes/index.d.ts +1 -0
- package/dist/organisms/CourseList/CourseList.d.ts +16 -0
- package/dist/organisms/CourseList/components/CourseStatus.d.ts +15 -0
- package/dist/organisms/CourseList/components/DateStatus.d.ts +9 -0
- package/dist/organisms/CourseList/components/Footer.d.ts +6 -0
- package/dist/organisms/CourseList/components/Header.d.ts +5 -0
- package/dist/organisms/CourseList/components/IconSelection.d.ts +7 -0
- package/dist/organisms/CourseList/components/Modal/PaymentModal.d.ts +11 -0
- package/dist/organisms/CourseList/components/Modal/index.d.ts +1 -0
- package/dist/organisms/CourseList/components/Section.d.ts +5 -0
- package/dist/organisms/CourseList/components/index.d.ts +3 -0
- package/dist/organisms/CourseList/index.d.ts +3 -0
- package/dist/organisms/CourseList/types.d.ts +42 -0
- package/dist/organisms/CourseList/utils/dataFake.d.ts +47 -0
- package/dist/organisms/CourseList/utils/index.d.ts +3 -0
- package/dist/organisms/CourseList/utils/isCourseActive.d.ts +10 -0
- package/dist/organisms/CourseList/utils/maxWidthCoursesList.d.ts +13 -0
- package/dist/organisms/Events/Eventos.d.ts +3 -0
- package/dist/organisms/Events/EventsTypes.d.ts +17 -0
- package/dist/organisms/Events/Icons/Calendar.d.ts +6 -0
- package/dist/organisms/Events/Icons/Clock.d.ts +6 -0
- package/dist/organisms/Events/Icons/index.d.ts +2 -0
- package/dist/organisms/Events/TypeBox/LargeBox.d.ts +3 -0
- package/dist/organisms/Events/TypeBox/SmallBox.d.ts +3 -0
- package/dist/organisms/Events/TypeBox/index.d.ts +2 -0
- package/dist/organisms/Events/index.d.ts +1 -0
- package/dist/organisms/ModalAlert/ModalAlert.d.ts +6 -0
- package/dist/organisms/ModalAlert/index.d.ts +1 -0
- package/dist/organisms/ModalAlert/types.d.ts +25 -0
- package/dist/organisms/Resources/Icons/Avi.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Csv.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Doc.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Docx.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Gif.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Icons.d.ts +6 -0
- package/dist/organisms/Resources/Icons/Jpeg.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Jpg.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Mkv.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Mp3.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Mp4.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Pdf.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Png.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Ppt.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Pptx.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Url.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Wav.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Xls.d.ts +2 -0
- package/dist/organisms/Resources/Icons/Xlsx.d.ts +2 -0
- package/dist/organisms/Resources/Icons/index.d.ts +19 -0
- package/dist/organisms/Resources/Resources.d.ts +12 -0
- package/dist/organisms/Resources/StandardBackground.d.ts +6 -0
- package/dist/organisms/Resources/index.d.ts +1 -0
- package/dist/organisms/index.d.ts +6 -0
- package/dist/services/index.d.ts +1 -0
- package/dist/services/uniqueId.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/theme/colors.d.ts +48 -0
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/styles.d.ts +48 -0
- package/dist/theme/typography.d.ts +11 -0
- package/dist/theme/utils.d.ts +68 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -0
- package/dist/vite-env.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
(function(ue,A){typeof exports=="object"&&typeof module!="undefined"?A(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],A):(ue=typeof globalThis!="undefined"?globalThis:ue||self,A(ue["@eclass/ui-kit"]={},ue.React))})(this,function(ue,A){"use strict";function h7(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function v7(e){if(e&&e.__esModule)return e;var t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var x=v7(A),Kr=h7(A),m7=!1;function g7(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 y7(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 b7=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!m7:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(y7(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=g7(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},e}(),at="-ms-",jl="-moz-",de="-webkit-",uv="comm",nd="rule",id="decl",x7="@import",cv="@keyframes",w7="@layer",C7=Math.abs,Wl=String.fromCharCode,S7=Object.assign;function k7(e,t){return Qe(e,0)^45?(((t<<2^Qe(e,0))<<2^Qe(e,1))<<2^Qe(e,2))<<2^Qe(e,3):0}function dv(e){return e.trim()}function E7(e,t){return(e=t.exec(e))?e[0]:e}function fe(e,t,r){return e.replace(t,r)}function od(e,t){return e.indexOf(t)}function Qe(e,t){return e.charCodeAt(t)|0}function Ao(e,t,r){return e.slice(t,r)}function sr(e){return e.length}function ad(e){return e.length}function Ul(e,t){return t.push(e),e}function _7(e,t){return e.map(t).join("")}var Zl=1,xi=1,fv=0,mt=0,Ue=0,wi="";function Gl(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Zl,column:xi,length:a,return:""}}function Fo(e,t){return S7(Gl("",null,null,"",null,null,0),e,{length:-e.length},t)}function T7(){return Ue}function P7(){return Ue=mt>0?Qe(wi,--mt):0,xi--,Ue===10&&(xi=1,Zl--),Ue}function Tt(){return Ue=mt<fv?Qe(wi,mt++):0,xi++,Ue===10&&(xi=1,Zl++),Ue}function ur(){return Qe(wi,mt)}function Yl(){return mt}function Io(e,t){return Ao(wi,e,t)}function Do(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 pv(e){return Zl=xi=1,fv=sr(wi=e),mt=0,[]}function hv(e){return wi="",e}function Kl(e){return dv(Io(mt-1,ld(e===91?e+2:e===40?e+1:e)))}function M7(e){for(;(Ue=ur())&&Ue<33;)Tt();return Do(e)>2||Do(Ue)>3?"":" "}function O7(e,t){for(;--t&&Tt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Io(e,Yl()+(t<6&&ur()==32&&Tt()==32))}function ld(e){for(;Tt();)switch(Ue){case e:return mt;case 34:case 39:e!==34&&e!==39&&ld(Ue);break;case 40:e===41&&ld(e);break;case 92:Tt();break}return mt}function L7(e,t){for(;Tt()&&e+Ue!==47+10;)if(e+Ue===42+42&&ur()===47)break;return"/*"+Io(t,mt-1)+"*"+Wl(e===47?e:Tt())}function A7(e){for(;!Do(ur());)Tt();return Io(e,mt)}function F7(e){return hv(ql("",null,null,null,[""],e=pv(e),0,[0],e))}function ql(e,t,r,n,i,o,a,l,s){for(var u=0,c=0,p=a,f=0,h=0,m=0,y=1,v=1,g=1,b=0,w="",C=i,k=o,_=n,E=w;v;)switch(m=b,b=Tt()){case 40:if(m!=108&&Qe(E,p-1)==58){od(E+=fe(Kl(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:E+=Kl(b);break;case 9:case 10:case 13:case 32:E+=M7(m);break;case 92:E+=O7(Yl()-1,7);continue;case 47:switch(ur()){case 42:case 47:Ul(I7(L7(Tt(),Yl()),t,r),s);break;default:E+="/"}break;case 123*y:l[u++]=sr(E)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:g==-1&&(E=fe(E,/\f/g,"")),h>0&&sr(E)-p&&Ul(h>32?mv(E+";",n,r,p-1):mv(fe(E," ","")+";",n,r,p-2),s);break;case 59:E+=";";default:if(Ul(_=vv(E,t,r,u,c,i,l,w,C=[],k=[],p),o),b===123)if(c===0)ql(E,t,_,_,C,o,p,l,k);else switch(f===99&&Qe(E,3)===110?100:f){case 100:case 108:case 109:case 115:ql(e,_,_,n&&Ul(vv(e,_,_,0,0,i,l,w,i,C=[],p),k),i,k,p,l,n?C:k);break;default:ql(E,_,_,_,[""],k,0,l,k)}}u=c=h=0,y=g=1,w=E="",p=a;break;case 58:p=1+sr(E),h=m;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&P7()==125)continue}switch(E+=Wl(b),b*y){case 38:g=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(sr(E)-1)*g,g=1;break;case 64:ur()===45&&(E+=Kl(Tt())),f=ur(),c=p=sr(w=E+=A7(Yl())),b++;break;case 45:m===45&&sr(E)==2&&(y=0)}}return o}function vv(e,t,r,n,i,o,a,l,s,u,c){for(var p=i-1,f=i===0?o:[""],h=ad(f),m=0,y=0,v=0;m<n;++m)for(var g=0,b=Ao(e,p+1,p=C7(y=a[m])),w=e;g<h;++g)(w=dv(y>0?f[g]+" "+b:fe(b,/&\f/g,f[g])))&&(s[v++]=w);return Gl(e,t,r,i===0?nd:l,s,u,c)}function I7(e,t,r){return Gl(e,t,r,uv,Wl(T7()),Ao(e,2,-2),0)}function mv(e,t,r,n){return Gl(e,t,r,id,Ao(e,0,n),Ao(e,n+1,-1),n)}function Ci(e,t){for(var r="",n=ad(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function D7(e,t,r,n){switch(e.type){case w7:if(e.children.length)break;case x7:case id:return e.return=e.return||e.value;case uv:return"";case cv:return e.return=e.value+"{"+Ci(e.children,n)+"}";case nd:e.value=e.props.join(",")}return sr(r=Ci(e.children,n))?e.return=e.value+"{"+r+"}":""}function R7(e){var t=ad(e);return function(r,n,i,o){for(var a="",l=0;l<t;l++)a+=e[l](r,n,i,o)||"";return a}}function V7(e){return function(t){t.root||(t=t.return)&&e(t)}}function gv(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var $7=function(t,r,n){for(var i=0,o=0;i=o,o=ur(),i===38&&o===12&&(r[n]=1),!Do(o);)Tt();return Io(t,mt)},B7=function(t,r){var n=-1,i=44;do switch(Do(i)){case 0:i===38&&ur()===12&&(r[n]=1),t[n]+=$7(mt-1,r,n);break;case 2:t[n]+=Kl(i);break;case 4:if(i===44){t[++n]=ur()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Wl(i)}while(i=Tt());return t},N7=function(t,r){return hv(B7(pv(t),r))},yv=new WeakMap,z7=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!yv.get(n))&&!i){yv.set(t,!0);for(var o=[],a=N7(r,o),l=n.props,s=0,u=0;s<a.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=o[s]?a[s].replace(/&\f/g,l[c]):l[c]+" "+a[s]}}},H7=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function bv(e,t){switch(k7(e,t)){case 5103:return de+"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 de+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return de+e+jl+e+at+e+e;case 6828:case 4268:return de+e+at+e+e;case 6165:return de+e+at+"flex-"+e+e;case 5187:return de+e+fe(e,/(\w+).+(:[^]+)/,de+"box-$1$2"+at+"flex-$1$2")+e;case 5443:return de+e+at+"flex-item-"+fe(e,/flex-|-self/,"")+e;case 4675:return de+e+at+"flex-line-pack"+fe(e,/align-content|flex-|-self/,"")+e;case 5548:return de+e+at+fe(e,"shrink","negative")+e;case 5292:return de+e+at+fe(e,"basis","preferred-size")+e;case 6060:return de+"box-"+fe(e,"-grow","")+de+e+at+fe(e,"grow","positive")+e;case 4554:return de+fe(e,/([^-])(transform)/g,"$1"+de+"$2")+e;case 6187:return fe(fe(fe(e,/(zoom-|grab)/,de+"$1"),/(image-set)/,de+"$1"),e,"")+e;case 5495:case 3959:return fe(e,/(image-set\([^]*)/,de+"$1$`$1");case 4968:return fe(fe(e,/(.+:)(flex-)?(.*)/,de+"box-pack:$3"+at+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+de+e+e;case 4095:case 3583:case 4068:case 2532:return fe(e,/(.+)-inline(.+)/,de+"$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(sr(e)-1-t>6)switch(Qe(e,t+1)){case 109:if(Qe(e,t+4)!==45)break;case 102:return fe(e,/(.+:)(.+)-([^]+)/,"$1"+de+"$2-$3$1"+jl+(Qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~od(e,"stretch")?bv(fe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qe(e,t+1)!==115)break;case 6444:switch(Qe(e,sr(e)-3-(~od(e,"!important")&&10))){case 107:return fe(e,":",":"+de)+e;case 101:return fe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+de+(Qe(e,14)===45?"inline-":"")+"box$3$1"+de+"$2$3$1"+at+"$2box$3")+e}break;case 5936:switch(Qe(e,t+11)){case 114:return de+e+at+fe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return de+e+at+fe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return de+e+at+fe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return de+e+at+e+e}return e}var j7=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case id:t.return=bv(t.value,t.length);break;case cv:return Ci([Fo(t,{value:fe(t.value,"@","@"+de)})],i);case nd:if(t.length)return _7(t.props,function(o){switch(E7(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ci([Fo(t,{props:[fe(o,/:(read-\w+)/,":"+jl+"$1")]})],i);case"::placeholder":return Ci([Fo(t,{props:[fe(o,/:(plac\w+)/,":"+de+"input-$1")]}),Fo(t,{props:[fe(o,/:(plac\w+)/,":"+jl+"$1")]}),Fo(t,{props:[fe(o,/:(plac\w+)/,at+"input-$1")]})],i)}return""})}},W7=[j7],U7=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var v=y.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||W7,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var v=y.getAttribute("data-emotion").split(" "),g=1;g<v.length;g++)o[v[g]]=!0;l.push(y)});var s,u=[z7,H7];{var c,p=[D7,V7(function(y){c.insert(y)})],f=R7(u.concat(i,p)),h=function(v){return Ci(F7(v),f)};s=function(v,g,b,w){c=b,h(v?v+"{"+g.styles+"}":g.styles),w&&(m.inserted[g.name]=!0)}}var m={key:r,sheet:new b7({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return m.sheet.hydrate(l),m};function Vn(){return Vn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vn.apply(null,arguments)}var xv=function(t){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=t(n);return r.set(n,i),i}},Xl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wv={exports:{}},ve={};/** @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 Ye=typeof Symbol=="function"&&Symbol.for,sd=Ye?Symbol.for("react.element"):60103,ud=Ye?Symbol.for("react.portal"):60106,Ql=Ye?Symbol.for("react.fragment"):60107,Jl=Ye?Symbol.for("react.strict_mode"):60108,es=Ye?Symbol.for("react.profiler"):60114,ts=Ye?Symbol.for("react.provider"):60109,rs=Ye?Symbol.for("react.context"):60110,cd=Ye?Symbol.for("react.async_mode"):60111,ns=Ye?Symbol.for("react.concurrent_mode"):60111,is=Ye?Symbol.for("react.forward_ref"):60112,os=Ye?Symbol.for("react.suspense"):60113,Z7=Ye?Symbol.for("react.suspense_list"):60120,as=Ye?Symbol.for("react.memo"):60115,ls=Ye?Symbol.for("react.lazy"):60116,G7=Ye?Symbol.for("react.block"):60121,Y7=Ye?Symbol.for("react.fundamental"):60117,K7=Ye?Symbol.for("react.responder"):60118,q7=Ye?Symbol.for("react.scope"):60119;function Pt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case sd:switch(e=e.type,e){case cd:case ns:case Ql:case es:case Jl:case os:return e;default:switch(e=e&&e.$$typeof,e){case rs:case is:case ls:case as:case ts:return e;default:return t}}case ud:return t}}}function Cv(e){return Pt(e)===ns}ve.AsyncMode=cd,ve.ConcurrentMode=ns,ve.ContextConsumer=rs,ve.ContextProvider=ts,ve.Element=sd,ve.ForwardRef=is,ve.Fragment=Ql,ve.Lazy=ls,ve.Memo=as,ve.Portal=ud,ve.Profiler=es,ve.StrictMode=Jl,ve.Suspense=os,ve.isAsyncMode=function(e){return Cv(e)||Pt(e)===cd},ve.isConcurrentMode=Cv,ve.isContextConsumer=function(e){return Pt(e)===rs},ve.isContextProvider=function(e){return Pt(e)===ts},ve.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===sd},ve.isForwardRef=function(e){return Pt(e)===is},ve.isFragment=function(e){return Pt(e)===Ql},ve.isLazy=function(e){return Pt(e)===ls},ve.isMemo=function(e){return Pt(e)===as},ve.isPortal=function(e){return Pt(e)===ud},ve.isProfiler=function(e){return Pt(e)===es},ve.isStrictMode=function(e){return Pt(e)===Jl},ve.isSuspense=function(e){return Pt(e)===os},ve.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ql||e===ns||e===es||e===Jl||e===os||e===Z7||typeof e=="object"&&e!==null&&(e.$$typeof===ls||e.$$typeof===as||e.$$typeof===ts||e.$$typeof===rs||e.$$typeof===is||e.$$typeof===Y7||e.$$typeof===K7||e.$$typeof===q7||e.$$typeof===G7)},ve.typeOf=Pt,wv.exports=ve;var Sv=wv.exports,X7={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Q7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kv={};kv[Sv.ForwardRef]=X7,kv[Sv.Memo]=Q7;var J7=!0;function eb(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}var Ev=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||J7===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},_v=function(t,r,n){Ev(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function tb(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&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 rb={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},nb=!1,ib=/[A-Z]|^ms/g,ob=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Tv=function(t){return t.charCodeAt(1)===45},Pv=function(t){return t!=null&&typeof t!="boolean"},dd=gv(function(e){return Tv(e)?e:e.replace(ib,"-$&").toLowerCase()}),Mv=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ob,function(n,i,o){return cr={name:i,styles:o,next:cr},i})}return rb[t]!==1&&!Tv(t)&&typeof r=="number"&&r!==0?r+"px":r},ab="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ro(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return cr={name:i.name,styles:i.styles,next:cr},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)cr={name:a.name,styles:a.styles,next:cr},a=a.next;var l=o.styles+";";return l}return lb(e,t,r)}case"function":{if(e!==void 0){var s=cr,u=r(e);return cr=s,Ro(e,t,u)}break}}var c=r;if(t==null)return c;var p=t[c];return p!==void 0?p:c}function lb(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Ro(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var l=a;t!=null&&t[l]!==void 0?n+=o+"{"+t[l]+"}":Pv(l)&&(n+=dd(o)+":"+Mv(o,l)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&nb)throw new Error(ab);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Pv(a[s])&&(n+=dd(o)+":"+Mv(o,a[s])+";");else{var u=Ro(e,t,a);switch(o){case"animation":case"animationName":{n+=dd(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}}return n}var Ov=/label:\s*([^\s;{]+)\s*(;|$)/g,cr;function fd(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";cr=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Ro(r,t,o);else{var a=o;i+=a[0]}for(var l=1;l<e.length;l++)if(i+=Ro(r,t,e[l]),n){var s=o;i+=s[l]}Ov.lastIndex=0;for(var u="",c;(c=Ov.exec(i))!==null;)u+="-"+c[1];var p=tb(i)+u;return{name:p,styles:i,next:cr}}var Lv=A.createContext(typeof HTMLElement!="undefined"?U7({key:"css"}):null);Lv.Provider;var Av=function(t){return A.forwardRef(function(r,n){var i=A.useContext(Lv);return t(r,i,n)})},Vo=A.createContext({}),sb=function(t,r){if(typeof r=="function"){var n=r(t);return n}return Vn({},t,r)},ub=xv(function(e){return xv(function(t){return sb(e,t)})}),cb=function(t){var r=A.useContext(Vo);return t.theme!==r&&(r=ub(r)(t.theme)),A.createElement(Vo.Provider,{value:r},t.children)},Fv=x["useInsertionEffect"]?x["useInsertionEffect"]:A.useLayoutEffect,pd=Av(function(e,t){var r=e.styles,n=fd([r],void 0,A.useContext(Vo)),i=A.useRef();return Fv(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",o),a.hydrate([s])),i.current=[a,l],function(){a.flush()}},[t]),Fv(function(){var o=i.current,a=o[0],l=o[1];if(l){o[1]=!1;return}if(n.next!==void 0&&_v(t,n.next,!0),a.tags.length){var s=a.tags[a.tags.length-1].nextElementSibling;a.before=s,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function db(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return fd(t)}var Si=function(){var t=db.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},fb=function(){return x.createElement(pd,{styles:`
|
|
9
|
+
html {
|
|
10
|
+
line-height: 1.5;
|
|
11
|
+
-webkit-text-size-adjust: 100%;
|
|
12
|
+
font-family: system-ui, sans-serif;
|
|
13
|
+
-webkit-font-smoothing: antialiased;
|
|
14
|
+
text-rendering: optimizeLegibility;
|
|
15
|
+
-moz-osx-font-smoothing: grayscale;
|
|
16
|
+
touch-action: manipulation;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
body {
|
|
20
|
+
position: relative;
|
|
21
|
+
min-height: 100%;
|
|
22
|
+
font-feature-settings: 'kern';
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
*,
|
|
26
|
+
*::before,
|
|
27
|
+
*::after {
|
|
28
|
+
border-width: 0;
|
|
29
|
+
border-style: solid;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
main {
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
hr {
|
|
38
|
+
border-top-width: 1px;
|
|
39
|
+
box-sizing: content-box;
|
|
40
|
+
height: 0;
|
|
41
|
+
overflow: visible;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
pre,
|
|
45
|
+
code,
|
|
46
|
+
kbd,
|
|
47
|
+
samp {
|
|
48
|
+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
49
|
+
font-size: 1em;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
a {
|
|
53
|
+
background-color: transparent;
|
|
54
|
+
color: inherit;
|
|
55
|
+
text-decoration: inherit;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
abbr[title] {
|
|
59
|
+
border-bottom: none;
|
|
60
|
+
text-decoration: underline;
|
|
61
|
+
-webkit-text-decoration: underline dotted;
|
|
62
|
+
text-decoration: underline dotted;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
b,
|
|
66
|
+
strong {
|
|
67
|
+
font-weight: bold;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
small {
|
|
71
|
+
font-size: 80%;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
sub,
|
|
75
|
+
sup {
|
|
76
|
+
font-size: 75%;
|
|
77
|
+
line-height: 0;
|
|
78
|
+
position: relative;
|
|
79
|
+
vertical-align: baseline;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
sub {
|
|
83
|
+
bottom: -0.25em;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
sup {
|
|
87
|
+
top: -0.5em;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
img {
|
|
91
|
+
border-style: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
button,
|
|
95
|
+
input,
|
|
96
|
+
optgroup,
|
|
97
|
+
select,
|
|
98
|
+
textarea {
|
|
99
|
+
font-family: inherit;
|
|
100
|
+
font-size: 100%;
|
|
101
|
+
line-height: 1.15;
|
|
102
|
+
margin: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
button,
|
|
106
|
+
input {
|
|
107
|
+
overflow: visible;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
button,
|
|
111
|
+
select {
|
|
112
|
+
text-transform: none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
button::-moz-focus-inner,
|
|
116
|
+
[type="button"]::-moz-focus-inner,
|
|
117
|
+
[type="reset"]::-moz-focus-inner,
|
|
118
|
+
[type="submit"]::-moz-focus-inner {
|
|
119
|
+
border-style: none;
|
|
120
|
+
padding: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
fieldset {
|
|
124
|
+
padding: 0.35em 0.75em 0.625em;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
legend {
|
|
128
|
+
box-sizing: border-box;
|
|
129
|
+
color: inherit;
|
|
130
|
+
display: table;
|
|
131
|
+
max-width: 100%;
|
|
132
|
+
padding: 0;
|
|
133
|
+
white-space: normal;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
progress {
|
|
137
|
+
vertical-align: baseline;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
textarea {
|
|
141
|
+
overflow: auto;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
[type="checkbox"],
|
|
145
|
+
[type="radio"] {
|
|
146
|
+
box-sizing: border-box;
|
|
147
|
+
padding: 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
[type="number"]::-webkit-inner-spin-button,
|
|
151
|
+
[type="number"]::-webkit-outer-spin-button {
|
|
152
|
+
-webkit-appearance: none !important;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
input[type="number"] {
|
|
156
|
+
-moz-appearance: textfield;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[type="search"] {
|
|
160
|
+
-webkit-appearance: textfield;
|
|
161
|
+
outline-offset: -2px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[type="search"]::-webkit-search-decoration {
|
|
165
|
+
-webkit-appearance: none !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
::-webkit-file-upload-button {
|
|
169
|
+
-webkit-appearance: button;
|
|
170
|
+
font: inherit;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
details {
|
|
174
|
+
display: block;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
summary {
|
|
178
|
+
display: list-item;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
template {
|
|
182
|
+
display: none;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
[hidden] {
|
|
186
|
+
display: none !important;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
body,
|
|
190
|
+
blockquote,
|
|
191
|
+
dl,
|
|
192
|
+
dd,
|
|
193
|
+
h1,
|
|
194
|
+
h2,
|
|
195
|
+
h3,
|
|
196
|
+
h4,
|
|
197
|
+
h5,
|
|
198
|
+
h6,
|
|
199
|
+
hr,
|
|
200
|
+
figure,
|
|
201
|
+
p,
|
|
202
|
+
pre {
|
|
203
|
+
margin: 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
button {
|
|
207
|
+
background: transparent;
|
|
208
|
+
padding: 0;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
fieldset {
|
|
212
|
+
margin: 0;
|
|
213
|
+
padding: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
ol,
|
|
217
|
+
ul {
|
|
218
|
+
margin: 0;
|
|
219
|
+
padding: 0;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
textarea {
|
|
223
|
+
resize: vertical;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
button,
|
|
227
|
+
[role="button"] {
|
|
228
|
+
cursor: pointer;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
button::-moz-focus-inner {
|
|
232
|
+
border: 0 !important;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
table {
|
|
236
|
+
border-collapse: collapse;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
h1,
|
|
240
|
+
h2,
|
|
241
|
+
h3,
|
|
242
|
+
h4,
|
|
243
|
+
h5,
|
|
244
|
+
h6 {
|
|
245
|
+
font-size: inherit;
|
|
246
|
+
font-weight: inherit;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
button,
|
|
250
|
+
input,
|
|
251
|
+
optgroup,
|
|
252
|
+
select,
|
|
253
|
+
textarea {
|
|
254
|
+
padding: 0;
|
|
255
|
+
line-height: inherit;
|
|
256
|
+
color: inherit;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
img,
|
|
260
|
+
svg,
|
|
261
|
+
video,
|
|
262
|
+
canvas,
|
|
263
|
+
audio,
|
|
264
|
+
iframe,
|
|
265
|
+
embed,
|
|
266
|
+
object {
|
|
267
|
+
display: block;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
img,
|
|
271
|
+
video {
|
|
272
|
+
max-width: 100%;
|
|
273
|
+
height: auto;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
[data-js-focus-visible] :focus:not([data-focus-visible-added]) {
|
|
277
|
+
outline: none;
|
|
278
|
+
box-shadow: none;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
select::-ms-expand {
|
|
282
|
+
display: none;
|
|
283
|
+
}
|
|
284
|
+
`})},pb=fb,hd={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",p="[object Date]",f="[object Error]",h="[object Function]",m="[object GeneratorFunction]",y="[object Map]",v="[object Number]",g="[object Null]",b="[object Object]",w="[object Proxy]",C="[object RegExp]",k="[object Set]",_="[object String]",E="[object Undefined]",M="[object WeakMap]",O="[object ArrayBuffer]",V="[object DataView]",Z="[object Float32Array]",G="[object Float64Array]",U="[object Int8Array]",Y="[object Int16Array]",Q="[object Int32Array]",J="[object Uint8Array]",ie="[object Uint8ClampedArray]",we="[object Uint16Array]",he="[object Uint32Array]",ye=/[\\^$.*+?()[\]{}|]/g,I=/^\[object .+?Constructor\]$/,L=/^(?:0|[1-9]\d*)$/,R={};R[Z]=R[G]=R[U]=R[Y]=R[Q]=R[J]=R[ie]=R[we]=R[he]=!0,R[l]=R[s]=R[O]=R[c]=R[V]=R[p]=R[f]=R[h]=R[y]=R[v]=R[b]=R[C]=R[k]=R[_]=R[M]=!1;var N=typeof Xl=="object"&&Xl&&Xl.Object===Object&&Xl,H=typeof self=="object"&&self&&self.Object===Object&&self,ne=N||H||Function("return this")(),ce=t&&!t.nodeType&&t,be=ce&&!0&&e&&!e.nodeType&&e,je=be&&be.exports===ce,Gr=je&&N.process,Xe=function(){try{var S=be&&be.require&&be.require("util").types;return S||Gr&&Gr.binding&&Gr.binding("util")}catch{}}(),oe=Xe&&Xe.isTypedArray;function We(S,P,F){switch(F.length){case 0:return S.call(P);case 1:return S.call(P,F[0]);case 2:return S.call(P,F[0],F[1]);case 3:return S.call(P,F[0],F[1],F[2])}return S.apply(P,F)}function _t(S,P){for(var F=-1,K=Array(S);++F<S;)K[F]=P(F);return K}function $l(S){return function(P){return S(P)}}function hi(S,P){return S==null?void 0:S[P]}function Kc(S,P){return function(F){return S(P(F))}}var Xh=Array.prototype,Qh=Function.prototype,Kt=Object.prototype,Rn=ne["__core-js_shared__"],vi=Qh.toString,qt=Kt.hasOwnProperty,Mo=function(){var S=/[^.]+$/.exec(Rn&&Rn.keys&&Rn.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),Bl=Kt.toString,qc=vi.call(Object),Xc=RegExp("^"+vi.call(qt).replace(ye,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mi=je?ne.Buffer:void 0,X6=ne.Symbol,Q6=ne.Uint8Array,J6=mi?mi.allocUnsafe:void 0,e7=Kc(Object.getPrototypeOf,Object),t7=Object.create,kz=Kt.propertyIsEnumerable,Ez=Xh.splice,gi=X6?X6.toStringTag:void 0,Qc=function(){try{var S=tv(Object,"defineProperty");return S({},"",{}),S}catch{}}(),_z=mi?mi.isBuffer:void 0,r7=Math.max,Tz=Date.now,n7=tv(ne,"Map"),Nl=tv(Object,"create"),Pz=function(){function S(){}return function(P){if(!bi(P))return{};if(t7)return t7(P);S.prototype=P;var F=new S;return S.prototype=void 0,F}}();function yi(S){var P=-1,F=S==null?0:S.length;for(this.clear();++P<F;){var K=S[P];this.set(K[0],K[1])}}function Mz(){this.__data__=Nl?Nl(null):{},this.size=0}function Oz(S){var P=this.has(S)&&delete this.__data__[S];return this.size-=P?1:0,P}function Lz(S){var P=this.__data__;if(Nl){var F=P[S];return F===n?void 0:F}return qt.call(P,S)?P[S]:void 0}function Az(S){var P=this.__data__;return Nl?P[S]!==void 0:qt.call(P,S)}function Fz(S,P){var F=this.__data__;return this.size+=this.has(S)?0:1,F[S]=Nl&&P===void 0?n:P,this}yi.prototype.clear=Mz,yi.prototype.delete=Oz,yi.prototype.get=Lz,yi.prototype.has=Az,yi.prototype.set=Fz;function Yr(S){var P=-1,F=S==null?0:S.length;for(this.clear();++P<F;){var K=S[P];this.set(K[0],K[1])}}function Iz(){this.__data__=[],this.size=0}function Dz(S){var P=this.__data__,F=Jc(P,S);if(F<0)return!1;var K=P.length-1;return F==K?P.pop():Ez.call(P,F,1),--this.size,!0}function Rz(S){var P=this.__data__,F=Jc(P,S);return F<0?void 0:P[F][1]}function Vz(S){return Jc(this.__data__,S)>-1}function $z(S,P){var F=this.__data__,K=Jc(F,S);return K<0?(++this.size,F.push([S,P])):F[K][1]=P,this}Yr.prototype.clear=Iz,Yr.prototype.delete=Dz,Yr.prototype.get=Rz,Yr.prototype.has=Vz,Yr.prototype.set=$z;function Oo(S){var P=-1,F=S==null?0:S.length;for(this.clear();++P<F;){var K=S[P];this.set(K[0],K[1])}}function Bz(){this.size=0,this.__data__={hash:new yi,map:new(n7||Yr),string:new yi}}function Nz(S){var P=td(this,S).delete(S);return this.size-=P?1:0,P}function zz(S){return td(this,S).get(S)}function Hz(S){return td(this,S).has(S)}function jz(S,P){var F=td(this,S),K=F.size;return F.set(S,P),this.size+=F.size==K?0:1,this}Oo.prototype.clear=Bz,Oo.prototype.delete=Nz,Oo.prototype.get=zz,Oo.prototype.has=Hz,Oo.prototype.set=jz;function Lo(S){var P=this.__data__=new Yr(S);this.size=P.size}function Wz(){this.__data__=new Yr,this.size=0}function Uz(S){var P=this.__data__,F=P.delete(S);return this.size=P.size,F}function Zz(S){return this.__data__.get(S)}function Gz(S){return this.__data__.has(S)}function Yz(S,P){var F=this.__data__;if(F instanceof Yr){var K=F.__data__;if(!n7||K.length<r-1)return K.push([S,P]),this.size=++F.size,this;F=this.__data__=new Oo(K)}return F.set(S,P),this.size=F.size,this}Lo.prototype.clear=Wz,Lo.prototype.delete=Uz,Lo.prototype.get=Zz,Lo.prototype.has=Gz,Lo.prototype.set=Yz;function Kz(S,P){var F=iv(S),K=!F&&nv(S),se=!F&&!K&&s7(S),Ce=!F&&!K&&!se&&c7(S),Ae=F||K||se||Ce,ae=Ae?_t(S.length,String):[],Fe=ae.length;for(var Xt in S)(P||qt.call(S,Xt))&&!(Ae&&(Xt=="length"||se&&(Xt=="offset"||Xt=="parent")||Ce&&(Xt=="buffer"||Xt=="byteLength"||Xt=="byteOffset")||a7(Xt,Fe)))&&ae.push(Xt);return ae}function Jh(S,P,F){(F!==void 0&&!rd(S[P],F)||F===void 0&&!(P in S))&&ev(S,P,F)}function qz(S,P,F){var K=S[P];(!(qt.call(S,P)&&rd(K,F))||F===void 0&&!(P in S))&&ev(S,P,F)}function Jc(S,P){for(var F=S.length;F--;)if(rd(S[F][0],P))return F;return-1}function ev(S,P,F){P=="__proto__"&&Qc?Qc(S,P,{configurable:!0,enumerable:!0,value:F,writable:!0}):S[P]=F}var Xz=cH();function ed(S){return S==null?S===void 0?E:g:gi&&gi in Object(S)?dH(S):gH(S)}function i7(S){return zl(S)&&ed(S)==l}function Qz(S){if(!bi(S)||vH(S))return!1;var P=av(S)?Xc:I;return P.test(wH(S))}function Jz(S){return zl(S)&&u7(S.length)&&!!R[ed(S)]}function eH(S){if(!bi(S))return mH(S);var P=l7(S),F=[];for(var K in S)K=="constructor"&&(P||!qt.call(S,K))||F.push(K);return F}function o7(S,P,F,K,se){S!==P&&Xz(P,function(Ce,Ae){if(se||(se=new Lo),bi(Ce))tH(S,P,Ae,F,o7,K,se);else{var ae=K?K(rv(S,Ae),Ce,Ae+"",S,P,se):void 0;ae===void 0&&(ae=Ce),Jh(S,Ae,ae)}},d7)}function tH(S,P,F,K,se,Ce,Ae){var ae=rv(S,F),Fe=rv(P,F),Xt=Ae.get(Fe);if(Xt){Jh(S,F,Xt);return}var Rt=Ce?Ce(ae,Fe,F+"",S,P,Ae):void 0,Hl=Rt===void 0;if(Hl){var lv=iv(Fe),sv=!lv&&s7(Fe),p7=!lv&&!sv&&c7(Fe);Rt=Fe,lv||sv||p7?iv(ae)?Rt=ae:CH(ae)?Rt=lH(ae):sv?(Hl=!1,Rt=iH(Fe,!0)):p7?(Hl=!1,Rt=aH(Fe,!0)):Rt=[]:SH(Fe)||nv(Fe)?(Rt=ae,nv(ae)?Rt=kH(ae):(!bi(ae)||av(ae))&&(Rt=fH(Fe))):Hl=!1}Hl&&(Ae.set(Fe,Rt),se(Rt,Fe,K,Ce,Ae),Ae.delete(Fe)),Jh(S,F,Rt)}function rH(S,P){return bH(yH(S,P,f7),S+"")}var nH=Qc?function(S,P){return Qc(S,"toString",{configurable:!0,enumerable:!1,value:_H(P),writable:!0})}:f7;function iH(S,P){if(P)return S.slice();var F=S.length,K=J6?J6(F):new S.constructor(F);return S.copy(K),K}function oH(S){var P=new S.constructor(S.byteLength);return new Q6(P).set(new Q6(S)),P}function aH(S,P){var F=P?oH(S.buffer):S.buffer;return new S.constructor(F,S.byteOffset,S.length)}function lH(S,P){var F=-1,K=S.length;for(P||(P=Array(K));++F<K;)P[F]=S[F];return P}function sH(S,P,F,K){var se=!F;F||(F={});for(var Ce=-1,Ae=P.length;++Ce<Ae;){var ae=P[Ce],Fe=K?K(F[ae],S[ae],ae,F,S):void 0;Fe===void 0&&(Fe=S[ae]),se?ev(F,ae,Fe):qz(F,ae,Fe)}return F}function uH(S){return rH(function(P,F){var K=-1,se=F.length,Ce=se>1?F[se-1]:void 0,Ae=se>2?F[2]:void 0;for(Ce=S.length>3&&typeof Ce=="function"?(se--,Ce):void 0,Ae&&pH(F[0],F[1],Ae)&&(Ce=se<3?void 0:Ce,se=1),P=Object(P);++K<se;){var ae=F[K];ae&&S(P,ae,K,Ce)}return P})}function cH(S){return function(P,F,K){for(var se=-1,Ce=Object(P),Ae=K(P),ae=Ae.length;ae--;){var Fe=Ae[S?ae:++se];if(F(Ce[Fe],Fe,Ce)===!1)break}return P}}function td(S,P){var F=S.__data__;return hH(P)?F[typeof P=="string"?"string":"hash"]:F.map}function tv(S,P){var F=hi(S,P);return Qz(F)?F:void 0}function dH(S){var P=qt.call(S,gi),F=S[gi];try{S[gi]=void 0;var K=!0}catch{}var se=Bl.call(S);return K&&(P?S[gi]=F:delete S[gi]),se}function fH(S){return typeof S.constructor=="function"&&!l7(S)?Pz(e7(S)):{}}function a7(S,P){var F=typeof S;return P=P==null?a:P,!!P&&(F=="number"||F!="symbol"&&L.test(S))&&S>-1&&S%1==0&&S<P}function pH(S,P,F){if(!bi(F))return!1;var K=typeof P;return(K=="number"?ov(F)&&a7(P,F.length):K=="string"&&P in F)?rd(F[P],S):!1}function hH(S){var P=typeof S;return P=="string"||P=="number"||P=="symbol"||P=="boolean"?S!=="__proto__":S===null}function vH(S){return!!Mo&&Mo in S}function l7(S){var P=S&&S.constructor,F=typeof P=="function"&&P.prototype||Kt;return S===F}function mH(S){var P=[];if(S!=null)for(var F in Object(S))P.push(F);return P}function gH(S){return Bl.call(S)}function yH(S,P,F){return P=r7(P===void 0?S.length-1:P,0),function(){for(var K=arguments,se=-1,Ce=r7(K.length-P,0),Ae=Array(Ce);++se<Ce;)Ae[se]=K[P+se];se=-1;for(var ae=Array(P+1);++se<P;)ae[se]=K[se];return ae[P]=F(Ae),We(S,this,ae)}}function rv(S,P){if(!(P==="constructor"&&typeof S[P]=="function")&&P!="__proto__")return S[P]}var bH=xH(nH);function xH(S){var P=0,F=0;return function(){var K=Tz(),se=o-(K-F);if(F=K,se>0){if(++P>=i)return arguments[0]}else P=0;return S.apply(void 0,arguments)}}function wH(S){if(S!=null){try{return vi.call(S)}catch{}try{return S+""}catch{}}return""}function rd(S,P){return S===P||S!==S&&P!==P}var nv=i7(function(){return arguments}())?i7:function(S){return zl(S)&&qt.call(S,"callee")&&!kz.call(S,"callee")},iv=Array.isArray;function ov(S){return S!=null&&u7(S.length)&&!av(S)}function CH(S){return zl(S)&&ov(S)}var s7=_z||TH;function av(S){if(!bi(S))return!1;var P=ed(S);return P==h||P==m||P==u||P==w}function u7(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=a}function bi(S){var P=typeof S;return S!=null&&(P=="object"||P=="function")}function zl(S){return S!=null&&typeof S=="object"}function SH(S){if(!zl(S)||ed(S)!=b)return!1;var P=e7(S);if(P===null)return!0;var F=qt.call(P,"constructor")&&P.constructor;return typeof F=="function"&&F instanceof F&&vi.call(F)==qc}var c7=oe?$l(oe):Jz;function kH(S){return sH(S,d7(S))}function d7(S){return ov(S)?Kz(S,!0):eH(S)}var EH=uH(function(S,P,F,K){o7(S,P,F,K)});function _H(S){return function(){return S}}function f7(S){return S}function TH(){return!1}e.exports=EH})(hd,hd.exports);var Vt=hd.exports;function hb(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function vb(e,t,r,n){if(t==null)return n;if(!n){var i=e.find(function(s){return r(s).toLowerCase().startsWith(t.toLowerCase())});return i}var o=e.filter(function(s){return r(s).toLowerCase().startsWith(t.toLowerCase())});if(o.length>0){var a;if(o.includes(n)){var l=o.indexOf(n);return a=l+1,a===o.length&&(a=0),o[a]}return a=e.indexOf(o[0]),e[a]}return n}function $n(e){return typeof e=="number"}function vd(e){return Array.isArray(e)}function qr(e){return typeof e=="function"}function mb(e){return typeof e=="undefined"||e===void 0}function gt(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!vd(e)}function gb(e){return gt(e)&&Object.keys(e).length===0}function ss(e){return Object.prototype.toString.call(e)==="[object String]"}function Iv(e){return/^var\(--.+\)$/.test(e)}var _r=!1;function us(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function Dv(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function yb(e,t,r,n){var i=typeof t=="string"?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return e===void 0?r:e}var bb=function(t){var r=new WeakMap,n=function(o,a,l,s){if(typeof o=="undefined")return t(o,a,l);r.has(o)||r.set(o,new Map);var u=r.get(o);if(u.has(a))return u.get(a);var c=t(o,a,l,s);return u.set(a,c),c};return n},cs=bb(yb);function Rv(e,t){var r={};return Object.keys(e).forEach(function(n){var i=e[n],o=t(i,n,e);o&&(r[n]=i)}),r}var md=function(t){return Rv(t,function(r){return r!=null})},gd=function(t){return Object.keys(t)},ds=function(t){return t.reduce(function(r,n){var i=n[0],o=n[1];return r[i]=o,r},{})},xb=function(t,r,n){var i,o;return(i=(o=t.__cssMap[r+"."+n])==null?void 0:o.varRef)!=null?i:n};function wb(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function fs(e){if(e==null)return e;var t=wb(e),r=t.unitless;return r||$n(e)?e+"px":e}var Vv=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},yd=function(t){return ds(Object.entries(t).sort(Vv))};function $v(e){var t=yd(e);return Object.assign(Object.values(t),t)}function Cb(e){var t=Object.keys(yd(e));return new Set(t)}function Sb(e){var t;if(!e)return e;e=(t=fs(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return $n(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function ps(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+fs(e)+")"),t&&r.push("and","(max-width: "+fs(t)+")"),r.join(" ")}function kb(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=$v(e),n=Object.entries(e).sort(Vv).map(function(a,l,s){var u,c=a[0],p=a[1],f=(u=s[l+1])!=null?u:[],h=f[1];return h=parseFloat(h)>0?Sb(h):void 0,{breakpoint:c,minW:p,maxW:h,maxWQuery:ps(null,h),minWQuery:ps(p),minMaxQuery:ps(p,h)}}),i=Cb(e),o=Array.from(i.values());return{keys:i,normalized:r,isResponsive:function(l){var s=Object.keys(l);return s.length>0&&s.every(function(u){return i.has(u)})},asObject:yd(e),asArray:$v(e),details:n,media:[null].concat(r.map(function(a){return ps(a)}).slice(1)),toArrayValue:function(l){if(!gt(l))throw new Error("toArrayValue: value must be an object");for(var s=o.map(function(u){var c;return(c=l[u])!=null?c:null});hb(s)===null;)s.pop();return s},toObjectValue:function(l){if(!Array.isArray(l))throw new Error("toObjectValue: value must be an array");return l.reduce(function(s,u,c){var p=o[c];return p!=null&&u!=null&&(s[p]=u),s},{})}}}function bd(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function $o(e){var t;if(!bd(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function Eb(e){var t,r;return bd(e)&&(t=(r=Bn(e))==null?void 0:r.defaultView)!=null?t:window}function Bn(e){var t;return bd(e)&&(t=e.ownerDocument)!=null?t:document}function _b(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Xr=_b(),hs=function(t){return t?"":void 0},Ee=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")};function Tb(e){var t=Bn(e);return t==null?void 0:t.activeElement}function Pb(e,t){return e?e===t||e.contains(t):!1}function Bv(e){var t=e.key,r=e.keyCode,n=r>=37&&r<=40&&t.indexOf("Arrow")!==0,i=n?"Arrow"+t:t;return i}function Nv(e){return e.button!==0}var zv=function(t){return t.hasAttribute("tabindex")},Mb=function(t){return zv(t)&&t.tabIndex===-1};function Ob(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function Lb(e){return $o(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function xd(e){var t=$o(e)?Bn(e):document;return t.activeElement===e}function Hv(e){return e.parentElement&&Hv(e.parentElement)?!0:e.hidden}function Ab(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function jv(e){if(!$o(e)||Hv(e)||Ob(e))return!1;var t=e.localName,r=["input","select","textarea","button"];if(r.indexOf(t)>=0)return!0;var n={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in n?n[t]():Ab(e)?!0:zv(e)}function Fb(e){return e?$o(e)&&jv(e)&&!Mb(e):!1}var Ib=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],Db=Ib.join();function Rb(e){var t=Array.from(e.querySelectorAll(Db));return t.unshift(e),t.filter(jv).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function Wv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Vb(e,t){if(!!e){if(typeof e=="string")return Wv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wv(e,t)}}function $b(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Vb(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
285
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return qr(e)?e.apply(void 0,r):e}function yt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.some(function(o){return o==null||o(i),i==null?void 0:i.defaultPrevented})}}function Bb(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.forEach(function(o){o==null||o(i)})}}function Nb(e){var t;return function(){if(e){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t=e.apply(this,i),e=null}return t}}var Bo=function(){},Uv=Nb(function(e){return function(){var t=e.condition,r=e.message;t&&_r&&console.warn(r)}}),zb=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(i){return r.reduce(function(o,a){return a(o)},i)}};function ki(e,t){t===void 0&&(t={});var r=t,n=r.isActive,i=n===void 0?xd:n,o=r.nextTick,a=r.preventScroll,l=a===void 0?!0:a,s=r.selectTextIfInput,u=s===void 0?!0:s;if(!e||i(e))return-1;function c(){if(!e){Uv({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}if(Hb())e.focus({preventScroll:l});else if(e.focus(),l){var p=jb(e);Wb(p)}Lb(e)&&u&&e.select()}return o?requestAnimationFrame(c):(c(),-1)}var vs=null;function Hb(){if(vs==null){vs=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return vs=!0,!0}})}catch{}}return vs}function jb(e){for(var t,r=Bn(e),n=(t=r.defaultView)!=null?t:window,i=e.parentNode,o=[],a=r.scrollingElement||r.documentElement;i instanceof n.HTMLElement&&i!==a;)(i.offsetHeight<i.scrollHeight||i.offsetWidth<i.scrollWidth)&&o.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),i=i.parentNode;return a instanceof n.HTMLElement&&o.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),o}function Wb(e){for(var t=$b(e),r;!(r=t()).done;){var n=r.value,i=n.element,o=n.scrollTop,a=n.scrollLeft;i.scrollTop=o,i.scrollLeft=a}}function wd(e,t){return t===void 0&&(t=1/0),!gt(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce(function(r,n){var i=n[0],o=n[1];return gt(o)||vd(o)?Object.entries(wd(o,t-1)).forEach(function(a){var l=a[0],s=a[1];r[i+"."+l]=s}):r[i]=o,r},{})}function Ub(e){var t=e.hasBeenSelected,r=e.isLazy,n=e.isSelected,i=e.lazyBehavior,o=i===void 0?"unmount":i;return!!(!r||n||o==="keepMounted"&&t)}function Zb(e,t,r){return(e-t)*100/(r-t)}Object.freeze(["base","sm","md","lg","xl","2xl"]);function Zv(e,t){return vd(e)?e.map(function(r){return r===null?null:t(r)}):gt(e)?gd(e).reduce(function(r,n){return r[n]=t(e[n]),r},{}):e!=null?t(e):null}function Gb(e,t){if(e!=null){if(qr(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function dr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){t.forEach(function(i){return Gb(i,n)})}}function Tr(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,l=x.createContext(void 0);l.displayName=a;function s(){var u=x.useContext(l);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,s),c}return u}return[l.Provider,s,l]}function Gv(e){return x.Children.toArray(e).filter(function(t){return x.isValidElement(t)})}var No=Xr?x.useLayoutEffect:x.useEffect;function ms(e,t){t===void 0&&(t=[]);var r=x.useRef(e);return No(function(){r.current=e}),x.useCallback(function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r.current==null?void 0:r.current.apply(r,i)},t)}function Cd(e,t,r,n){var i=ms(t);return x.useEffect(function(){var o,a=(o=Mt(r))!=null?o:document;if(!!t)return a.addEventListener(e,i,n),function(){a.removeEventListener(e,i,n)}},[e,r,n,i,t]),function(){var o,a=(o=Mt(r))!=null?o:document;a.removeEventListener(e,i,n)}}function Yb(e){var t=e.isOpen,r=e.ref,n=A.useState(t),i=n[0],o=n[1],a=A.useState(!1),l=a[0],s=a[1];A.useEffect(function(){l||(o(t),s(!0))},[t,l,i]),Cd("animationend",function(){o(t)},function(){return r.current});var u=t?!1:!i;return{present:!u,onComplete:function(){var p,f=Eb(r.current),h=new f.CustomEvent("animationend",{bubbles:!0});(p=r.current)==null||p.dispatchEvent(h)}}}function Kb(e,t){var r=e!==void 0,n=r&&typeof e!="undefined"?e:t;return[r,n]}function gs(){return gs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gs.apply(this,arguments)}var qb={current:1},Yv=x.createContext(qb),Xb=x.memo(function(e){var t=e.children;return x.createElement(Yv.Provider,{value:{current:1}},t)}),Qb=function(t){return t.current++};function ys(e,t){var r=x.useContext(Yv),n=x.useState(r.current),i=n[0],o=n[1];return x.useEffect(function(){o(Qb(r))},[r]),x.useMemo(function(){return e||[t,i].filter(Boolean).join("-")},[e,t,i])}function Kv(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=ys(e);return x.useMemo(function(){return r.map(function(o){return o+"-"+i})},[i,r])}function Sd(e){e===void 0&&(e={});var t=e,r=t.onClose,n=t.onOpen,i=t.isOpen,o=t.id,a=ms(n),l=ms(r),s=x.useState(e.defaultIsOpen||!1),u=s[0],c=s[1],p=Kb(i,u),f=p[0],h=p[1],m=ys(o,"disclosure"),y=x.useCallback(function(){f||c(!1),l==null||l()},[f,l]),v=x.useCallback(function(){f||c(!0),a==null||a()},[f,a]),g=x.useCallback(function(){var b=h?y:v;b()},[h,v,y]);return{isOpen:!!h,onOpen:v,onClose:y,onToggle:g,isControlled:f,getButtonProps:function(w){return w===void 0&&(w={}),gs({},w,{"aria-expanded":"true","aria-controls":m,onClick:yt(w.onClick,g)})},getDisclosureProps:function(w){return w===void 0&&(w={}),gs({},w,{hidden:!h,id:m})}}}var kd=function(t,r){var n=x.useRef(!1);return x.useEffect(function(){if(n.current)return t();n.current=!0},r),n.current};function Jb(e){var t=e.current;if(!t)return!1;var r=Tb(t);return!r||Pb(t,r)?!1:!!Fb(r)}function ex(e,t){var r=t.shouldFocus,n=t.visible,i=t.focusRef,o=r&&!n;kd(function(){if(!!o&&!Jb(e)){var a=(i==null?void 0:i.current)||e.current;a&&ki(a,{nextTick:!0})}},[o,e,i])}function qv(e,t){return t===void 0&&(t=[]),x.useEffect(function(){return function(){return e()}},t)}function Xv(){var e=x.useRef(!1),t=x.useState(0),r=t[0],n=t[1];return qv(function(){e.current=!0}),x.useCallback(function(){e.current||n(r+1)},[r])}function tx(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function rx(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return x.useMemo(function(){return t.every(function(n){return n==null})?null:function(n){t.forEach(function(i){i&&tx(i,n)})}},t)}function nx(e){var t=e.ref,r=e.handler,n=e.enabled,i=n===void 0?!0:n,o=ms(r),a=A.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),l=a.current;A.useEffect(function(){if(!!i){var s=function(h){Ed(h,t)&&(l.isPointerDown=!0)},u=function(h){if(l.ignoreEmulatedMouseEvents){l.ignoreEmulatedMouseEvents=!1;return}l.isPointerDown&&r&&Ed(h,t)&&(l.isPointerDown=!1,o(h))},c=function(h){l.ignoreEmulatedMouseEvents=!0,r&&l.isPointerDown&&Ed(h,t)&&(l.isPointerDown=!1,o(h))},p=Bn(t.current);return p.addEventListener("mousedown",s,!0),p.addEventListener("mouseup",u,!0),p.addEventListener("touchstart",s,!0),p.addEventListener("touchend",c,!0),function(){p.removeEventListener("mousedown",s,!0),p.removeEventListener("mouseup",u,!0),p.removeEventListener("touchstart",s,!0),p.removeEventListener("touchend",c,!0)}}},[r,t,o,l,i])}function Ed(e,t){var r,n=e.target;if(e.button>0)return!1;if(n){var i=Bn(n);if(!i.body.contains(n))return!1}return!((r=t.current)!=null&&r.contains(n))}function ix(e){var t=e.key;return t.length===1||t.length>1&&/[^a-zA-Z0-9]/.test(t)}function ox(e){e===void 0&&(e={});var t=e,r=t.timeout,n=r===void 0?300:r,i=t.preventDefault,o=i===void 0?function(){return!0}:i,a=x.useState([]),l=a[0],s=a[1],u=x.useRef(),c=function(){u.current&&(clearTimeout(u.current),u.current=null)},p=function(){c(),u.current=setTimeout(function(){s([]),u.current=null},n)};x.useEffect(function(){return c},[]);function f(h){return function(m){if(m.key==="Backspace"){var y=[].concat(l);y.pop(),s(y);return}if(ix(m)){var v=l.concat(m.key);o(m)&&(m.preventDefault(),m.stopPropagation()),s(v),h(v.join("")),p()}}}return f}var _d={exports:{}},$t={};/*
|
|
286
|
+
object-assign
|
|
287
|
+
(c) Sindre Sorhus
|
|
288
|
+
@license MIT
|
|
289
|
+
*/var Qv=Object.getOwnPropertySymbols,ax=Object.prototype.hasOwnProperty,lx=Object.prototype.propertyIsEnumerable;function sx(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ux(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var cx=ux()?Object.assign:function(e,t){for(var r,n=sx(e),i,o=1;o<arguments.length;o++){r=Object(arguments[o]);for(var a in r)ax.call(r,a)&&(n[a]=r[a]);if(Qv){i=Qv(r);for(var l=0;l<i.length;l++)lx.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n},Jv={exports:{}},em={};/** @license React v0.20.2
|
|
290
|
+
* scheduler.production.min.js
|
|
291
|
+
*
|
|
292
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
293
|
+
*
|
|
294
|
+
* This source code is licensed under the MIT license found in the
|
|
295
|
+
* LICENSE file in the root directory of this source tree.
|
|
296
|
+
*/(function(e){var t,r,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var s=null,u=null,c=function(){if(s!==null)try{var I=e.unstable_now();s(!0,I),s=null}catch(L){throw setTimeout(c,0),L}};t=function(I){s!==null?setTimeout(t,0,I):(s=I,setTimeout(c,0))},r=function(I,L){u=setTimeout(I,L)},n=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if(typeof console!="undefined"){var h=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof h!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,y=null,v=-1,g=5,b=0;e.unstable_shouldYield=function(){return e.unstable_now()>=b},i=function(){},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<I?Math.floor(1e3/I):5};var w=new MessageChannel,C=w.port2;w.port1.onmessage=function(){if(y!==null){var I=e.unstable_now();b=I+g;try{y(!0,I)?C.postMessage(null):(m=!1,y=null)}catch(L){throw C.postMessage(null),L}}else m=!1},t=function(I){y=I,m||(m=!0,C.postMessage(null))},r=function(I,L){v=p(function(){I(e.unstable_now())},L)},n=function(){f(v),v=-1}}function k(I,L){var R=I.length;I.push(L);e:for(;;){var N=R-1>>>1,H=I[N];if(H!==void 0&&0<M(H,L))I[N]=L,I[R]=H,R=N;else break e}}function _(I){return I=I[0],I===void 0?null:I}function E(I){var L=I[0];if(L!==void 0){var R=I.pop();if(R!==L){I[0]=R;e:for(var N=0,H=I.length;N<H;){var ne=2*(N+1)-1,ce=I[ne],be=ne+1,je=I[be];if(ce!==void 0&&0>M(ce,R))je!==void 0&&0>M(je,ce)?(I[N]=je,I[be]=R,N=be):(I[N]=ce,I[ne]=R,N=ne);else if(je!==void 0&&0>M(je,R))I[N]=je,I[be]=R,N=be;else break e}}return L}return null}function M(I,L){var R=I.sortIndex-L.sortIndex;return R!==0?R:I.id-L.id}var O=[],V=[],Z=1,G=null,U=3,Y=!1,Q=!1,J=!1;function ie(I){for(var L=_(V);L!==null;){if(L.callback===null)E(V);else if(L.startTime<=I)E(V),L.sortIndex=L.expirationTime,k(O,L);else break;L=_(V)}}function we(I){if(J=!1,ie(I),!Q)if(_(O)!==null)Q=!0,t(he);else{var L=_(V);L!==null&&r(we,L.startTime-I)}}function he(I,L){Q=!1,J&&(J=!1,n()),Y=!0;var R=U;try{for(ie(L),G=_(O);G!==null&&(!(G.expirationTime>L)||I&&!e.unstable_shouldYield());){var N=G.callback;if(typeof N=="function"){G.callback=null,U=G.priorityLevel;var H=N(G.expirationTime<=L);L=e.unstable_now(),typeof H=="function"?G.callback=H:G===_(O)&&E(O),ie(L)}else E(O);G=_(O)}if(G!==null)var ne=!0;else{var ce=_(V);ce!==null&&r(we,ce.startTime-L),ne=!1}return ne}finally{G=null,U=R,Y=!1}}var ye=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){Q||Y||(Q=!0,t(he))},e.unstable_getCurrentPriorityLevel=function(){return U},e.unstable_getFirstCallbackNode=function(){return _(O)},e.unstable_next=function(I){switch(U){case 1:case 2:case 3:var L=3;break;default:L=U}var R=U;U=L;try{return I()}finally{U=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=ye,e.unstable_runWithPriority=function(I,L){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var R=U;U=I;try{return L()}finally{U=R}},e.unstable_scheduleCallback=function(I,L,R){var N=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?N+R:N):R=N,I){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=R+H,I={id:Z++,callback:L,priorityLevel:I,startTime:R,expirationTime:H,sortIndex:-1},R>N?(I.sortIndex=R,k(V,I),_(O)===null&&I===_(V)&&(J?n():J=!0,r(we,R-N))):(I.sortIndex=H,k(O,I),Q||Y||(Q=!0,t(he))),I},e.unstable_wrapCallback=function(I){var L=U;return function(){var R=U;U=L;try{return I.apply(this,arguments)}finally{U=R}}}})(em),Jv.exports=em;/** @license React v17.0.2
|
|
297
|
+
* react-dom.production.min.js
|
|
298
|
+
*
|
|
299
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
300
|
+
*
|
|
301
|
+
* This source code is licensed under the MIT license found in the
|
|
302
|
+
* LICENSE file in the root directory of this source tree.
|
|
303
|
+
*/var bs=Kr.default,Oe=cx,Ke=Jv.exports;function W(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!bs)throw Error(W(227));var tm=new Set,zo={};function Nn(e,t){Ei(e,t),Ei(e+"Capture",t)}function Ei(e,t){for(zo[e]=t,e=0;e<t.length;e++)tm.add(t[e])}var Pr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),dx=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,rm=Object.prototype.hasOwnProperty,nm={},im={};function fx(e){return rm.call(im,e)?!0:rm.call(nm,e)?!1:dx.test(e)?im[e]=!0:(nm[e]=!0,!1)}function px(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function hx(e,t,r,n){if(t===null||typeof t=="undefined"||px(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ft(e,t,r,n,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Je={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Je[e]=new ft(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Je[t]=new ft(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Je[e]=new ft(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Je[e]=new ft(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Je[e]=new ft(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Je[e]=new ft(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Je[e]=new ft(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Je[e]=new ft(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Je[e]=new ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var Td=/[\-:]([a-z])/g;function Pd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Td,Pd);Je[t]=new ft(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Td,Pd);Je[t]=new ft(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Td,Pd);Je[t]=new ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Je[e]=new ft(e,1,!1,e.toLowerCase(),null,!1,!1)}),Je.xlinkHref=new ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Je[e]=new ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function Md(e,t,r,n){var i=Je.hasOwnProperty(t)?Je[t]:null,o=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");o||(hx(t,r,i,n)&&(r=null),n||i===null?fx(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var zn=bs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ho=60103,Hn=60106,Qr=60107,Od=60108,jo=60114,Ld=60109,Ad=60110,xs=60112,Wo=60113,ws=60120,Cs=60115,Fd=60116,Id=60121,Dd=60128,om=60129,Rd=60130,Vd=60131;if(typeof Symbol=="function"&&Symbol.for){var qe=Symbol.for;Ho=qe("react.element"),Hn=qe("react.portal"),Qr=qe("react.fragment"),Od=qe("react.strict_mode"),jo=qe("react.profiler"),Ld=qe("react.provider"),Ad=qe("react.context"),xs=qe("react.forward_ref"),Wo=qe("react.suspense"),ws=qe("react.suspense_list"),Cs=qe("react.memo"),Fd=qe("react.lazy"),Id=qe("react.block"),qe("react.scope"),Dd=qe("react.opaque.id"),om=qe("react.debug_trace_mode"),Rd=qe("react.offscreen"),Vd=qe("react.legacy_hidden")}var am=typeof Symbol=="function"&&Symbol.iterator;function Uo(e){return e===null||typeof e!="object"?null:(e=am&&e[am]||e["@@iterator"],typeof e=="function"?e:null)}var $d;function Zo(e){if($d===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);$d=t&&t[1]||""}return`
|
|
304
|
+
`+$d+e}var Bd=!1;function Ss(e,t){if(!e||Bd)return"";Bd=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var n=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){n=s}e.call(t.prototype)}else{try{throw Error()}catch(s){n=s}e()}}catch(s){if(s&&n&&typeof s.stack=="string"){for(var i=s.stack.split(`
|
|
305
|
+
`),o=n.stack.split(`
|
|
306
|
+
`),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(a!==1||l!==1)do if(a--,l--,0>l||i[a]!==o[l])return`
|
|
307
|
+
`+i[a].replace(" at new "," at ");while(1<=a&&0<=l);break}}}finally{Bd=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Zo(e):""}function vx(e){switch(e.tag){case 5:return Zo(e.type);case 16:return Zo("Lazy");case 13:return Zo("Suspense");case 19:return Zo("SuspenseList");case 0:case 2:case 15:return e=Ss(e.type,!1),e;case 11:return e=Ss(e.type.render,!1),e;case 22:return e=Ss(e.type._render,!1),e;case 1:return e=Ss(e.type,!0),e;default:return""}}function _i(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qr:return"Fragment";case Hn:return"Portal";case jo:return"Profiler";case Od:return"StrictMode";case Wo:return"Suspense";case ws:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ad:return(e.displayName||"Context")+".Consumer";case Ld:return(e._context.displayName||"Context")+".Provider";case xs:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Cs:return _i(e.type);case Id:return _i(e._render);case Fd:t=e._payload,e=e._init;try{return _i(e(t))}catch{}}return null}function Jr(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function lm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mx(e){var t=lm(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ks(e){e._valueTracker||(e._valueTracker=mx(e))}function sm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=lm(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Es(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function Nd(e,t){var r=t.checked;return Oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function um(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Jr(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function cm(e,t){t=t.checked,t!=null&&Md(e,"checked",t,!1)}function zd(e,t){cm(e,t);var r=Jr(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Hd(e,t.type,r):t.hasOwnProperty("defaultValue")&&Hd(e,t.type,Jr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function dm(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Hd(e,t,r){(t!=="number"||Es(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function gx(e){var t="";return bs.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function jd(e,t){return e=Oe({children:void 0},t),(t=gx(t.children))&&(e.children=t),e}function Ti(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Jr(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Wd(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(W(91));return Oe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function fm(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(W(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(W(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Jr(r)}}function pm(e,t){var r=Jr(t.value),n=Jr(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function hm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Ud={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function vm(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Zd(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?vm(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var _s,mm=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if(e.namespaceURI!==Ud.svg||"innerHTML"in e)e.innerHTML=t;else{for(_s=_s||document.createElement("div"),_s.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_s.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Go(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Yo={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},yx=["Webkit","ms","Moz","O"];Object.keys(Yo).forEach(function(e){yx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yo[t]=Yo[e]})});function gm(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Yo.hasOwnProperty(e)&&Yo[e]?(""+t).trim():t+"px"}function ym(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=gm(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var bx=Oe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Gd(e,t){if(t){if(bx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(62))}}function Yd(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Kd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qd=null,Pi=null,Mi=null;function bm(e){if(e=pa(e)){if(typeof qd!="function")throw Error(W(280));var t=e.stateNode;t&&(t=Ws(t),qd(e.stateNode,e.type,t))}}function xm(e){Pi?Mi?Mi.push(e):Mi=[e]:Pi=e}function wm(){if(Pi){var e=Pi,t=Mi;if(Mi=Pi=null,bm(e),t)for(e=0;e<t.length;e++)bm(t[e])}}function Xd(e,t){return e(t)}function Cm(e,t,r,n,i){return e(t,r,n,i)}function Qd(){}var Sm=Xd,jn=!1,Jd=!1;function ef(){(Pi!==null||Mi!==null)&&(Qd(),wm())}function xx(e,t,r){if(Jd)return e(t,r);Jd=!0;try{return Sm(e,t,r)}finally{Jd=!1,ef()}}function Ko(e,t){var r=e.stateNode;if(r===null)return null;var n=Ws(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(W(231,t,typeof r));return r}var tf=!1;if(Pr)try{var qo={};Object.defineProperty(qo,"passive",{get:function(){tf=!0}}),window.addEventListener("test",qo,qo),window.removeEventListener("test",qo,qo)}catch{tf=!1}function wx(e,t,r,n,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var Xo=!1,Ts=null,Ps=!1,rf=null,Cx={onError:function(e){Xo=!0,Ts=e}};function Sx(e,t,r,n,i,o,a,l,s){Xo=!1,Ts=null,wx.apply(Cx,arguments)}function kx(e,t,r,n,i,o,a,l,s){if(Sx.apply(this,arguments),Xo){if(Xo){var u=Ts;Xo=!1,Ts=null}else throw Error(W(198));Ps||(Ps=!0,rf=u)}}function Wn(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function km(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Em(e){if(Wn(e)!==e)throw Error(W(188))}function Ex(e){var t=e.alternate;if(!t){if(t=Wn(e),t===null)throw Error(W(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var o=i.alternate;if(o===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return Em(i),e;if(o===n)return Em(i),t;o=o.sibling}throw Error(W(188))}if(r.return!==n.return)r=i,n=o;else{for(var a=!1,l=i.child;l;){if(l===r){a=!0,r=i,n=o;break}if(l===n){a=!0,n=i,r=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===r){a=!0,r=o,n=i;break}if(l===n){a=!0,n=o,r=i;break}l=l.sibling}if(!a)throw Error(W(189))}}if(r.alternate!==n)throw Error(W(190))}if(r.tag!==3)throw Error(W(188));return r.stateNode.current===r?e:t}function _m(e){if(e=Ex(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Tm(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var Pm,nf,Mm,Om,of=!1,fr=[],en=null,tn=null,rn=null,Qo=new Map,Jo=new Map,ea=[],Lm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function af(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function Am(e,t){switch(e){case"focusin":case"focusout":en=null;break;case"dragenter":case"dragleave":tn=null;break;case"mouseover":case"mouseout":rn=null;break;case"pointerover":case"pointerout":Qo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jo.delete(t.pointerId)}}function ta(e,t,r,n,i,o){return e===null||e.nativeEvent!==o?(e=af(t,r,n,i,o),t!==null&&(t=pa(t),t!==null&&nf(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function _x(e,t,r,n,i){switch(t){case"focusin":return en=ta(en,e,t,r,n,i),!0;case"dragenter":return tn=ta(tn,e,t,r,n,i),!0;case"mouseover":return rn=ta(rn,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return Qo.set(o,ta(Qo.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,Jo.set(o,ta(Jo.get(o)||null,e,t,r,n,i)),!0}return!1}function Tx(e){var t=Un(e.target);if(t!==null){var r=Wn(t);if(r!==null){if(t=r.tag,t===13){if(t=km(r),t!==null){e.blockedOn=t,Om(e.lanePriority,function(){Ke.unstable_runWithPriority(e.priority,function(){Mm(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ms(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=ff(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=pa(r),t!==null&&nf(t),e.blockedOn=r,!1;t.shift()}return!0}function Fm(e,t,r){Ms(e)&&r.delete(t)}function Px(){for(of=!1;0<fr.length;){var e=fr[0];if(e.blockedOn!==null){e=pa(e.blockedOn),e!==null&&Pm(e);break}for(var t=e.targetContainers;0<t.length;){var r=ff(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&fr.shift()}en!==null&&Ms(en)&&(en=null),tn!==null&&Ms(tn)&&(tn=null),rn!==null&&Ms(rn)&&(rn=null),Qo.forEach(Fm),Jo.forEach(Fm)}function ra(e,t){e.blockedOn===t&&(e.blockedOn=null,of||(of=!0,Ke.unstable_scheduleCallback(Ke.unstable_NormalPriority,Px)))}function Im(e){function t(i){return ra(i,e)}if(0<fr.length){ra(fr[0],e);for(var r=1;r<fr.length;r++){var n=fr[r];n.blockedOn===e&&(n.blockedOn=null)}}for(en!==null&&ra(en,e),tn!==null&&ra(tn,e),rn!==null&&ra(rn,e),Qo.forEach(t),Jo.forEach(t),r=0;r<ea.length;r++)n=ea[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<ea.length&&(r=ea[0],r.blockedOn===null);)Tx(r),r.blockedOn===null&&ea.shift()}function Os(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Oi={animationend:Os("Animation","AnimationEnd"),animationiteration:Os("Animation","AnimationIteration"),animationstart:Os("Animation","AnimationStart"),transitionend:Os("Transition","TransitionEnd")},lf={},Dm={};Pr&&(Dm=document.createElement("div").style,"AnimationEvent"in window||(delete Oi.animationend.animation,delete Oi.animationiteration.animation,delete Oi.animationstart.animation),"TransitionEvent"in window||delete Oi.transitionend.transition);function Ls(e){if(lf[e])return lf[e];if(!Oi[e])return e;var t=Oi[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Dm)return lf[e]=t[r];return e}var Rm=Ls("animationend"),Vm=Ls("animationiteration"),$m=Ls("animationstart"),Bm=Ls("transitionend"),Nm=new Map,sf=new Map,Mx=["abort","abort",Rm,"animationEnd",Vm,"animationIteration",$m,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Bm,"transitionEnd","waiting","waiting"];function uf(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),sf.set(n,t),Nm.set(n,i),Nn(i,[n])}}var Ox=Ke.unstable_now;Ox();var Se=8;function Li(e){if((1&e)!==0)return Se=15,1;if((2&e)!==0)return Se=14,2;if((4&e)!==0)return Se=13,4;var t=24&e;return t!==0?(Se=12,t):(e&32)!==0?(Se=11,32):(t=192&e,t!==0?(Se=10,t):(e&256)!==0?(Se=9,256):(t=3584&e,t!==0?(Se=8,t):(e&4096)!==0?(Se=7,4096):(t=4186112&e,t!==0?(Se=6,t):(t=62914560&e,t!==0?(Se=5,t):e&67108864?(Se=4,67108864):(e&134217728)!==0?(Se=3,134217728):(t=805306368&e,t!==0?(Se=2,t):(1073741824&e)!==0?(Se=1,1073741824):(Se=8,e))))))}function Lx(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Ax(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(W(358,e))}}function na(e,t){var r=e.pendingLanes;if(r===0)return Se=0;var n=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(o!==0)n=o,i=Se=15;else if(o=r&134217727,o!==0){var s=o&~a;s!==0?(n=Li(s),i=Se):(l&=o,l!==0&&(n=Li(l),i=Se))}else o=r&~a,o!==0?(n=Li(o),i=Se):l!==0&&(n=Li(l),i=Se);if(n===0)return 0;if(n=31-nn(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&a)===0){if(Li(t),i<=Se)return t;Se=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-nn(t),i=1<<r,n|=e[r],t&=~i;return n}function zm(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function As(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Ai(24&~t),e===0?As(10,t):e;case 10:return e=Ai(192&~t),e===0?As(8,t):e;case 8:return e=Ai(3584&~t),e===0&&(e=Ai(4186112&~t),e===0&&(e=512)),e;case 2:return t=Ai(805306368&~t),t===0&&(t=268435456),t}throw Error(W(358,e))}function Ai(e){return e&-e}function cf(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Fs(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-nn(t),e[t]=r}var nn=Math.clz32?Math.clz32:Dx,Fx=Math.log,Ix=Math.LN2;function Dx(e){return e===0?32:31-(Fx(e)/Ix|0)|0}var Rx=Ke.unstable_UserBlockingPriority,Vx=Ke.unstable_runWithPriority,Is=!0;function $x(e,t,r,n){jn||Qd();var i=df,o=jn;jn=!0;try{Cm(i,e,t,r,n)}finally{(jn=o)||ef()}}function Bx(e,t,r,n){Vx(Rx,df.bind(null,e,t,r,n))}function df(e,t,r,n){if(Is){var i;if((i=(t&4)===0)&&0<fr.length&&-1<Lm.indexOf(e))e=af(null,e,t,r,n),fr.push(e);else{var o=ff(e,t,r,n);if(o===null)i&&Am(e,n);else{if(i){if(-1<Lm.indexOf(e)){e=af(o,e,t,r,n),fr.push(e);return}if(_x(o,e,t,r,n))return;Am(e,n)}g2(e,t,n,null,r)}}}}function ff(e,t,r,n){var i=Kd(n);if(i=Un(i),i!==null){var o=Wn(i);if(o===null)i=null;else{var a=o.tag;if(a===13){if(i=km(o),i!==null)return i;i=null}else if(a===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return g2(e,t,n,i,r),null}var on=null,pf=null,Ds=null;function Hm(){if(Ds)return Ds;var e,t=pf,r=t.length,n,i="value"in on?on.value:on.textContent,o=i.length;for(e=0;e<r&&t[e]===i[e];e++);var a=r-e;for(n=1;n<=a&&t[r-n]===i[o-n];n++);return Ds=i.slice(e,1<n?1-n:void 0)}function Rs(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Vs(){return!0}function jm(){return!1}function Ot(e){function t(r,n,i,o,a){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Vs:jm,this.isPropagationStopped=jm,this}return Oe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Vs)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Vs)},persist:function(){},isPersistent:Vs}),t}var Fi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hf=Ot(Fi),ia=Oe({},Fi,{view:0,detail:0}),Nx=Ot(ia),vf,mf,oa,$s=Oe({},ia,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==oa&&(oa&&e.type==="mousemove"?(vf=e.screenX-oa.screenX,mf=e.screenY-oa.screenY):mf=vf=0,oa=e),vf)},movementY:function(e){return"movementY"in e?e.movementY:mf}}),Wm=Ot($s),zx=Oe({},$s,{dataTransfer:0}),Hx=Ot(zx),jx=Oe({},ia,{relatedTarget:0}),gf=Ot(jx),Wx=Oe({},Fi,{animationName:0,elapsedTime:0,pseudoElement:0}),Ux=Ot(Wx),Zx=Oe({},Fi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gx=Ot(Zx),Yx=Oe({},Fi,{data:0}),Um=Ot(Yx),Kx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qx={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Xx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Xx[e])?!!t[e]:!1}function yf(){return Qx}var Jx=Oe({},ia,{key:function(e){if(e.key){var t=Kx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Rs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?qx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yf,charCode:function(e){return e.type==="keypress"?Rs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),e9=Ot(Jx),t9=Oe({},$s,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zm=Ot(t9),r9=Oe({},ia,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yf}),n9=Ot(r9),i9=Oe({},Fi,{propertyName:0,elapsedTime:0,pseudoElement:0}),o9=Ot(i9),a9=Oe({},$s,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),l9=Ot(a9),s9=[9,13,27,32],bf=Pr&&"CompositionEvent"in window,aa=null;Pr&&"documentMode"in document&&(aa=document.documentMode);var u9=Pr&&"TextEvent"in window&&!aa,Gm=Pr&&(!bf||aa&&8<aa&&11>=aa),Ym=String.fromCharCode(32),Km=!1;function qm(e,t){switch(e){case"keyup":return s9.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ii=!1;function c9(e,t){switch(e){case"compositionend":return Xm(t);case"keypress":return t.which!==32?null:(Km=!0,Ym);case"textInput":return e=t.data,e===Ym&&Km?null:e;default:return null}}function d9(e,t){if(Ii)return e==="compositionend"||!bf&&qm(e,t)?(e=Hm(),Ds=pf=on=null,Ii=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Gm&&t.locale!=="ko"?null:t.data;default:return null}}var f9={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Qm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!f9[e.type]:t==="textarea"}function Jm(e,t,r,n){xm(n),t=Ns(t,"onChange"),0<t.length&&(r=new hf("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var la=null,sa=null;function p9(e){f2(e,0)}function Bs(e){var t=Bi(e);if(sm(t))return e}function h9(e,t){if(e==="change")return t}var e2=!1;if(Pr){var xf;if(Pr){var wf="oninput"in document;if(!wf){var t2=document.createElement("div");t2.setAttribute("oninput","return;"),wf=typeof t2.oninput=="function"}xf=wf}else xf=!1;e2=xf&&(!document.documentMode||9<document.documentMode)}function r2(){la&&(la.detachEvent("onpropertychange",n2),sa=la=null)}function n2(e){if(e.propertyName==="value"&&Bs(sa)){var t=[];if(Jm(t,sa,e,Kd(e)),e=p9,jn)e(t);else{jn=!0;try{Xd(e,t)}finally{jn=!1,ef()}}}}function v9(e,t,r){e==="focusin"?(r2(),la=t,sa=r,la.attachEvent("onpropertychange",n2)):e==="focusout"&&r2()}function m9(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Bs(sa)}function g9(e,t){if(e==="click")return Bs(t)}function y9(e,t){if(e==="input"||e==="change")return Bs(t)}function b9(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bt=typeof Object.is=="function"?Object.is:b9,x9=Object.prototype.hasOwnProperty;function ua(e,t){if(Bt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!x9.call(t,r[n])||!Bt(e[r[n]],t[r[n]]))return!1;return!0}function i2(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o2(e,t){var r=i2(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=i2(r)}}function a2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?a2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function l2(){for(var e=window,t=Es();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Es(e.document)}return t}function Cf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var w9=Pr&&"documentMode"in document&&11>=document.documentMode,Di=null,Sf=null,ca=null,kf=!1;function s2(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;kf||Di==null||Di!==Es(n)||(n=Di,"selectionStart"in n&&Cf(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ca&&ua(ca,n)||(ca=n,n=Ns(Sf,"onSelect"),0<n.length&&(t=new hf("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Di)))}uf("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),uf("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),uf(Mx,2);for(var u2="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ef=0;Ef<u2.length;Ef++)sf.set(u2[Ef],0);Ei("onMouseEnter",["mouseout","mouseover"]),Ei("onMouseLeave",["mouseout","mouseover"]),Ei("onPointerEnter",["pointerout","pointerover"]),Ei("onPointerLeave",["pointerout","pointerover"]),Nn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Nn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Nn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Nn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Nn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Nn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var da="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),c2=new Set("cancel close invalid load scroll toggle".split(" ").concat(da));function d2(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,kx(n,t,void 0,e),e.currentTarget=null}function f2(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var l=n[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;d2(i,l,u),o=s}else for(a=0;a<n.length;a++){if(l=n[a],s=l.instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;d2(i,l,u),o=s}}}if(Ps)throw e=rf,Ps=!1,rf=null,e}function _e(e,t){var r=S2(t),n=e+"__bubble";r.has(n)||(m2(t,e,2,!1),r.add(n))}var p2="_reactListening"+Math.random().toString(36).slice(2);function h2(e){e[p2]||(e[p2]=!0,tm.forEach(function(t){c2.has(t)||v2(t,!1,e,null),v2(t,!0,e,null)}))}function v2(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=r;if(e==="selectionchange"&&r.nodeType!==9&&(o=r.ownerDocument),n!==null&&!t&&c2.has(e)){if(e!=="scroll")return;i|=2,o=n}var a=S2(o),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(i|=4),m2(o,e,i,t),a.add(l))}function m2(e,t,r,n){var i=sf.get(t);switch(i===void 0?2:i){case 0:i=$x;break;case 1:i=Bx;break;default:i=df}r=i.bind(null,t,r,e),i=void 0,!tf||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function g2(e,t,r,n,i){var o=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=n.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;a=a.return}for(;l!==null;){if(a=Un(l),a===null)return;if(s=a.tag,s===5||s===6){n=o=a;continue e}l=l.parentNode}}n=n.return}xx(function(){var u=o,c=Kd(r),p=[];e:{var f=Nm.get(e);if(f!==void 0){var h=hf,m=e;switch(e){case"keypress":if(Rs(r)===0)break e;case"keydown":case"keyup":h=e9;break;case"focusin":m="focus",h=gf;break;case"focusout":m="blur",h=gf;break;case"beforeblur":case"afterblur":h=gf;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Wm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Hx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=n9;break;case Rm:case Vm:case $m:h=Ux;break;case Bm:h=o9;break;case"scroll":h=Nx;break;case"wheel":h=l9;break;case"copy":case"cut":case"paste":h=Gx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Zm}var y=(t&4)!==0,v=!y&&e==="scroll",g=y?f!==null?f+"Capture":null:f;y=[];for(var b=u,w;b!==null;){w=b;var C=w.stateNode;if(w.tag===5&&C!==null&&(w=C,g!==null&&(C=Ko(b,g),C!=null&&y.push(fa(b,C,w)))),v)break;b=b.return}0<y.length&&(f=new h(f,m,null,r,c),p.push({event:f,listeners:y}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&(t&16)===0&&(m=r.relatedTarget||r.fromElement)&&(Un(m)||m[$i]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(m=r.relatedTarget||r.toElement,h=u,m=m?Un(m):null,m!==null&&(v=Wn(m),m!==v||m.tag!==5&&m.tag!==6)&&(m=null)):(h=null,m=u),h!==m)){if(y=Wm,C="onMouseLeave",g="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(y=Zm,C="onPointerLeave",g="onPointerEnter",b="pointer"),v=h==null?f:Bi(h),w=m==null?f:Bi(m),f=new y(C,b+"leave",h,r,c),f.target=v,f.relatedTarget=w,C=null,Un(c)===u&&(y=new y(g,b+"enter",m,r,c),y.target=w,y.relatedTarget=v,C=y),v=C,h&&m)t:{for(y=h,g=m,b=0,w=y;w;w=Ri(w))b++;for(w=0,C=g;C;C=Ri(C))w++;for(;0<b-w;)y=Ri(y),b--;for(;0<w-b;)g=Ri(g),w--;for(;b--;){if(y===g||g!==null&&y===g.alternate)break t;y=Ri(y),g=Ri(g)}y=null}else y=null;h!==null&&y2(p,f,h,y,!1),m!==null&&v!==null&&y2(p,v,m,y,!0)}}e:{if(f=u?Bi(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var k=h9;else if(Qm(f))if(e2)k=y9;else{k=m9;var _=v9}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=g9);if(k&&(k=k(e,u))){Jm(p,k,r,c);break e}_&&_(e,f,u),e==="focusout"&&(_=f._wrapperState)&&_.controlled&&f.type==="number"&&Hd(f,"number",f.value)}switch(_=u?Bi(u):window,e){case"focusin":(Qm(_)||_.contentEditable==="true")&&(Di=_,Sf=u,ca=null);break;case"focusout":ca=Sf=Di=null;break;case"mousedown":kf=!0;break;case"contextmenu":case"mouseup":case"dragend":kf=!1,s2(p,r,c);break;case"selectionchange":if(w9)break;case"keydown":case"keyup":s2(p,r,c)}var E;if(bf)e:{switch(e){case"compositionstart":var M="onCompositionStart";break e;case"compositionend":M="onCompositionEnd";break e;case"compositionupdate":M="onCompositionUpdate";break e}M=void 0}else Ii?qm(e,r)&&(M="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(M="onCompositionStart");M&&(Gm&&r.locale!=="ko"&&(Ii||M!=="onCompositionStart"?M==="onCompositionEnd"&&Ii&&(E=Hm()):(on=c,pf="value"in on?on.value:on.textContent,Ii=!0)),_=Ns(u,M),0<_.length&&(M=new Um(M,e,null,r,c),p.push({event:M,listeners:_}),E?M.data=E:(E=Xm(r),E!==null&&(M.data=E)))),(E=u9?c9(e,r):d9(e,r))&&(u=Ns(u,"onBeforeInput"),0<u.length&&(c=new Um("onBeforeInput","beforeinput",null,r,c),p.push({event:c,listeners:u}),c.data=E))}f2(p,t)})}function fa(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Ns(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Ko(e,r),o!=null&&n.unshift(fa(e,o,i)),o=Ko(e,t),o!=null&&n.push(fa(e,o,i))),e=e.return}return n}function Ri(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function y2(e,t,r,n,i){for(var o=t._reactName,a=[];r!==null&&r!==n;){var l=r,s=l.alternate,u=l.stateNode;if(s!==null&&s===n)break;l.tag===5&&u!==null&&(l=u,i?(s=Ko(r,o),s!=null&&a.unshift(fa(r,s,l))):i||(s=Ko(r,o),s!=null&&a.push(fa(r,s,l)))),r=r.return}a.length!==0&&e.push({event:t,listeners:a})}function zs(){}var _f=null,Tf=null;function b2(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Pf(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var x2=typeof setTimeout=="function"?setTimeout:void 0,C9=typeof clearTimeout=="function"?clearTimeout:void 0;function Mf(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Vi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function w2(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Of=0;function S9(e){return{$$typeof:Dd,toString:e,valueOf:e}}var Hs=Math.random().toString(36).slice(2),an="__reactFiber$"+Hs,js="__reactProps$"+Hs,$i="__reactContainer$"+Hs,C2="__reactEvents$"+Hs;function Un(e){var t=e[an];if(t)return t;for(var r=e.parentNode;r;){if(t=r[$i]||r[an]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=w2(e);e!==null;){if(r=e[an])return r;e=w2(e)}return t}e=r,r=e.parentNode}return null}function pa(e){return e=e[an]||e[$i],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Bi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(W(33))}function Ws(e){return e[js]||null}function S2(e){var t=e[C2];return t===void 0&&(t=e[C2]=new Set),t}var Lf=[],Ni=-1;function ln(e){return{current:e}}function Te(e){0>Ni||(e.current=Lf[Ni],Lf[Ni]=null,Ni--)}function De(e,t){Ni++,Lf[Ni]=e.current,e.current=t}var sn={},lt=ln(sn),bt=ln(!1),Zn=sn;function zi(e,t){var r=e.type.contextTypes;if(!r)return sn;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function xt(e){return e=e.childContextTypes,e!=null}function Us(){Te(bt),Te(lt)}function k2(e,t,r){if(lt.current!==sn)throw Error(W(168));De(lt,t),De(bt,r)}function E2(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(W(108,_i(t)||"Unknown",i));return Oe({},r,n)}function Zs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sn,Zn=lt.current,De(lt,e),De(bt,bt.current),!0}function _2(e,t,r){var n=e.stateNode;if(!n)throw Error(W(169));r?(e=E2(e,t,Zn),n.__reactInternalMemoizedMergedChildContext=e,Te(bt),Te(lt),De(lt,e)):Te(bt),De(bt,r)}var Af=null,Gn=null,k9=Ke.unstable_runWithPriority,Ff=Ke.unstable_scheduleCallback,If=Ke.unstable_cancelCallback,E9=Ke.unstable_shouldYield,T2=Ke.unstable_requestPaint,Df=Ke.unstable_now,_9=Ke.unstable_getCurrentPriorityLevel,Gs=Ke.unstable_ImmediatePriority,P2=Ke.unstable_UserBlockingPriority,M2=Ke.unstable_NormalPriority,O2=Ke.unstable_LowPriority,L2=Ke.unstable_IdlePriority,Rf={},T9=T2!==void 0?T2:function(){},Mr=null,Ys=null,Vf=!1,A2=Df(),st=1e4>A2?Df:function(){return Df()-A2};function Hi(){switch(_9()){case Gs:return 99;case P2:return 98;case M2:return 97;case O2:return 96;case L2:return 95;default:throw Error(W(332))}}function F2(e){switch(e){case 99:return Gs;case 98:return P2;case 97:return M2;case 96:return O2;case 95:return L2;default:throw Error(W(332))}}function Yn(e,t){return e=F2(e),k9(e,t)}function ha(e,t,r){return e=F2(e),Ff(e,t,r)}function pr(){if(Ys!==null){var e=Ys;Ys=null,If(e)}I2()}function I2(){if(!Vf&&Mr!==null){Vf=!0;var e=0;try{var t=Mr;Yn(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),Mr=null}catch(r){throw Mr!==null&&(Mr=Mr.slice(e+1)),Ff(Gs,pr),r}finally{Vf=!1}}}var P9=zn.ReactCurrentBatchConfig;function Qt(e,t){if(e&&e.defaultProps){t=Oe({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Ks=ln(null),qs=null,ji=null,Xs=null;function $f(){Xs=ji=qs=null}function Bf(e){var t=Ks.current;Te(Ks),e.type._context._currentValue=t}function D2(e,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t){if(r===null||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,r!==null&&(r.childLanes|=t);e=e.return}}function Wi(e,t){qs=e,Xs=ji=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Jt=!0),e.firstContext=null)}function Nt(e,t){if(Xs!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Xs=e,t=1073741823),t={context:e,observedBits:t,next:null},ji===null){if(qs===null)throw Error(W(308));ji=t,qs.dependencies={lanes:0,firstContext:t,responders:null}}else ji=ji.next=t;return e._currentValue}var un=!1;function Nf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function R2(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function dn(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function V2(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=a:o=o.next=a,r=r.next}while(r!==null);o===null?i=o=t:o=o.next=t}else i=o=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function va(e,t,r,n){var i=e.updateQueue;un=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,a===null?o=u:a.next=u,a=s;var c=e.alternate;if(c!==null){c=c.updateQueue;var p=c.lastBaseUpdate;p!==a&&(p===null?c.firstBaseUpdate=u:p.next=u,c.lastBaseUpdate=s)}}if(o!==null){p=i.baseState,a=0,c=u=s=null;do{l=o.lane;var f=o.eventTime;if((n&l)===l){c!==null&&(c=c.next={eventTime:f,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var h=e,m=o;switch(l=t,f=r,m.tag){case 1:if(h=m.payload,typeof h=="function"){p=h.call(f,p,l);break e}p=h;break e;case 3:h.flags=h.flags&-4097|64;case 0:if(h=m.payload,l=typeof h=="function"?h.call(f,p,l):h,l==null)break e;p=Oe({},p,l);break e;case 2:un=!0}}o.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[o]:l.push(o))}else f={eventTime:f,lane:l,tag:o.tag,payload:o.payload,callback:o.callback,next:null},c===null?(u=c=f,s=p):c=c.next=f,a|=l;if(o=o.next,o===null){if(l=i.shared.pending,l===null)break;o=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);c===null&&(s=p),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,Ta|=a,e.lanes=a,e.memoizedState=p}}function $2(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(W(191,i));i.call(n)}}}var B2=new bs.Component().refs;function Qs(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Oe({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Js={isMounted:function(e){return(e=e._reactInternals)?Wn(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Lt(),i=hn(e),o=cn(n,i);o.payload=t,r!=null&&(o.callback=r),dn(e,o),vn(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Lt(),i=hn(e),o=cn(n,i);o.tag=1,o.payload=t,r!=null&&(o.callback=r),dn(e,o),vn(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Lt(),n=hn(e),i=cn(r,n);i.tag=2,t!=null&&(i.callback=t),dn(e,i),vn(e,n,r)}};function N2(e,t,r,n,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,o,a):t.prototype&&t.prototype.isPureReactComponent?!ua(r,n)||!ua(i,o):!0}function z2(e,t,r){var n=!1,i=sn,o=t.contextType;return typeof o=="object"&&o!==null?o=Nt(o):(i=xt(t)?Zn:lt.current,n=t.contextTypes,o=(n=n!=null)?zi(e,i):sn),t=new t(r,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Js,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function H2(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Js.enqueueReplaceState(t,t.state,null)}function zf(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=B2,Nf(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Nt(o):(o=xt(t)?Zn:lt.current,i.context=zi(e,o)),va(e,r,i,n),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Qs(e,t,o,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Js.enqueueReplaceState(i,i.state,null),va(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var eu=Array.isArray;function ma(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(W(309));var n=r.stateNode}if(!n)throw Error(W(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=n.refs;a===B2&&(a=n.refs={}),o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(W(284));if(!r._owner)throw Error(W(290,e))}return e}function tu(e,t){if(e.type!=="textarea")throw Error(W(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function j2(e){function t(v,g){if(e){var b=v.lastEffect;b!==null?(b.nextEffect=g,v.lastEffect=g):v.firstEffect=v.lastEffect=g,g.nextEffect=null,g.flags=8}}function r(v,g){if(!e)return null;for(;g!==null;)t(v,g),g=g.sibling;return null}function n(v,g){for(v=new Map;g!==null;)g.key!==null?v.set(g.key,g):v.set(g.index,g),g=g.sibling;return v}function i(v,g){return v=yn(v,g),v.index=0,v.sibling=null,v}function o(v,g,b){return v.index=b,e?(b=v.alternate,b!==null?(b=b.index,b<g?(v.flags=2,g):b):(v.flags=2,g)):g}function a(v){return e&&v.alternate===null&&(v.flags=2),v}function l(v,g,b,w){return g===null||g.tag!==6?(g=S0(b,v.mode,w),g.return=v,g):(g=i(g,b),g.return=v,g)}function s(v,g,b,w){return g!==null&&g.elementType===b.type?(w=i(g,b.props),w.ref=ma(v,g,b),w.return=v,w):(w=bu(b.type,b.key,b.props,null,v.mode,w),w.ref=ma(v,g,b),w.return=v,w)}function u(v,g,b,w){return g===null||g.tag!==4||g.stateNode.containerInfo!==b.containerInfo||g.stateNode.implementation!==b.implementation?(g=k0(b,v.mode,w),g.return=v,g):(g=i(g,b.children||[]),g.return=v,g)}function c(v,g,b,w,C){return g===null||g.tag!==7?(g=Qi(b,v.mode,w,C),g.return=v,g):(g=i(g,b),g.return=v,g)}function p(v,g,b){if(typeof g=="string"||typeof g=="number")return g=S0(""+g,v.mode,b),g.return=v,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ho:return b=bu(g.type,g.key,g.props,null,v.mode,b),b.ref=ma(v,null,g),b.return=v,b;case Hn:return g=k0(g,v.mode,b),g.return=v,g}if(eu(g)||Uo(g))return g=Qi(g,v.mode,b,null),g.return=v,g;tu(v,g)}return null}function f(v,g,b,w){var C=g!==null?g.key:null;if(typeof b=="string"||typeof b=="number")return C!==null?null:l(v,g,""+b,w);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ho:return b.key===C?b.type===Qr?c(v,g,b.props.children,w,C):s(v,g,b,w):null;case Hn:return b.key===C?u(v,g,b,w):null}if(eu(b)||Uo(b))return C!==null?null:c(v,g,b,w,null);tu(v,b)}return null}function h(v,g,b,w,C){if(typeof w=="string"||typeof w=="number")return v=v.get(b)||null,l(g,v,""+w,C);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Ho:return v=v.get(w.key===null?b:w.key)||null,w.type===Qr?c(g,v,w.props.children,C,w.key):s(g,v,w,C);case Hn:return v=v.get(w.key===null?b:w.key)||null,u(g,v,w,C)}if(eu(w)||Uo(w))return v=v.get(b)||null,c(g,v,w,C,null);tu(g,w)}return null}function m(v,g,b,w){for(var C=null,k=null,_=g,E=g=0,M=null;_!==null&&E<b.length;E++){_.index>E?(M=_,_=null):M=_.sibling;var O=f(v,_,b[E],w);if(O===null){_===null&&(_=M);break}e&&_&&O.alternate===null&&t(v,_),g=o(O,g,E),k===null?C=O:k.sibling=O,k=O,_=M}if(E===b.length)return r(v,_),C;if(_===null){for(;E<b.length;E++)_=p(v,b[E],w),_!==null&&(g=o(_,g,E),k===null?C=_:k.sibling=_,k=_);return C}for(_=n(v,_);E<b.length;E++)M=h(_,v,E,b[E],w),M!==null&&(e&&M.alternate!==null&&_.delete(M.key===null?E:M.key),g=o(M,g,E),k===null?C=M:k.sibling=M,k=M);return e&&_.forEach(function(V){return t(v,V)}),C}function y(v,g,b,w){var C=Uo(b);if(typeof C!="function")throw Error(W(150));if(b=C.call(b),b==null)throw Error(W(151));for(var k=C=null,_=g,E=g=0,M=null,O=b.next();_!==null&&!O.done;E++,O=b.next()){_.index>E?(M=_,_=null):M=_.sibling;var V=f(v,_,O.value,w);if(V===null){_===null&&(_=M);break}e&&_&&V.alternate===null&&t(v,_),g=o(V,g,E),k===null?C=V:k.sibling=V,k=V,_=M}if(O.done)return r(v,_),C;if(_===null){for(;!O.done;E++,O=b.next())O=p(v,O.value,w),O!==null&&(g=o(O,g,E),k===null?C=O:k.sibling=O,k=O);return C}for(_=n(v,_);!O.done;E++,O=b.next())O=h(_,v,E,O.value,w),O!==null&&(e&&O.alternate!==null&&_.delete(O.key===null?E:O.key),g=o(O,g,E),k===null?C=O:k.sibling=O,k=O);return e&&_.forEach(function(Z){return t(v,Z)}),C}return function(v,g,b,w){var C=typeof b=="object"&&b!==null&&b.type===Qr&&b.key===null;C&&(b=b.props.children);var k=typeof b=="object"&&b!==null;if(k)switch(b.$$typeof){case Ho:e:{for(k=b.key,C=g;C!==null;){if(C.key===k){switch(C.tag){case 7:if(b.type===Qr){r(v,C.sibling),g=i(C,b.props.children),g.return=v,v=g;break e}break;default:if(C.elementType===b.type){r(v,C.sibling),g=i(C,b.props),g.ref=ma(v,C,b),g.return=v,v=g;break e}}r(v,C);break}else t(v,C);C=C.sibling}b.type===Qr?(g=Qi(b.props.children,v.mode,w,b.key),g.return=v,v=g):(w=bu(b.type,b.key,b.props,null,v.mode,w),w.ref=ma(v,g,b),w.return=v,v=w)}return a(v);case Hn:e:{for(C=b.key;g!==null;){if(g.key===C)if(g.tag===4&&g.stateNode.containerInfo===b.containerInfo&&g.stateNode.implementation===b.implementation){r(v,g.sibling),g=i(g,b.children||[]),g.return=v,v=g;break e}else{r(v,g);break}else t(v,g);g=g.sibling}g=k0(b,v.mode,w),g.return=v,v=g}return a(v)}if(typeof b=="string"||typeof b=="number")return b=""+b,g!==null&&g.tag===6?(r(v,g.sibling),g=i(g,b),g.return=v,v=g):(r(v,g),g=S0(b,v.mode,w),g.return=v,v=g),a(v);if(eu(b))return m(v,g,b,w);if(Uo(b))return y(v,g,b,w);if(k&&tu(v,b),typeof b=="undefined"&&!C)switch(v.tag){case 1:case 22:case 0:case 11:case 15:throw Error(W(152,_i(v.type)||"Component"))}return r(v,g)}}var ru=j2(!0),W2=j2(!1),ga={},hr=ln(ga),ya=ln(ga),ba=ln(ga);function Kn(e){if(e===ga)throw Error(W(174));return e}function Hf(e,t){switch(De(ba,t),De(ya,e),De(hr,ga),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zd(t,e)}Te(hr),De(hr,t)}function Ui(){Te(hr),Te(ya),Te(ba)}function U2(e){Kn(ba.current);var t=Kn(hr.current),r=Zd(t,e.type);t!==r&&(De(ya,e),De(hr,r))}function jf(e){ya.current===e&&(Te(hr),Te(ya))}var Re=ln(0);function nu(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Or=null,fn=null,vr=!1;function Z2(e,t){var r=jt(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function G2(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Wf(e){if(vr){var t=fn;if(t){var r=t;if(!G2(e,t)){if(t=Vi(r.nextSibling),!t||!G2(e,t)){e.flags=e.flags&-1025|2,vr=!1,Or=e;return}Z2(Or,r)}Or=e,fn=Vi(t.firstChild)}else e.flags=e.flags&-1025|2,vr=!1,Or=e}}function Y2(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Or=e}function iu(e){if(e!==Or)return!1;if(!vr)return Y2(e),vr=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Pf(t,e.memoizedProps))for(t=fn;t;)Z2(e,t),t=Vi(t.nextSibling);if(Y2(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(W(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){fn=Vi(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}fn=null}}else fn=Or?Vi(e.stateNode.nextSibling):null;return!0}function Uf(){fn=Or=null,vr=!1}var Zi=[];function Zf(){for(var e=0;e<Zi.length;e++)Zi[e]._workInProgressVersionPrimary=null;Zi.length=0}var xa=zn.ReactCurrentDispatcher,zt=zn.ReactCurrentBatchConfig,wa=0,ze=null,ut=null,et=null,ou=!1,Ca=!1;function wt(){throw Error(W(321))}function Gf(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Bt(e[r],t[r]))return!1;return!0}function Yf(e,t,r,n,i,o){if(wa=o,ze=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,xa.current=e===null||e.memoizedState===null?O9:L9,e=r(n,i),Ca){o=0;do{if(Ca=!1,!(25>o))throw Error(W(301));o+=1,et=ut=null,t.updateQueue=null,xa.current=A9,e=r(n,i)}while(Ca)}if(xa.current=uu,t=ut!==null&&ut.next!==null,wa=0,et=ut=ze=null,ou=!1,t)throw Error(W(300));return e}function qn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?ze.memoizedState=et=e:et=et.next=e,et}function Xn(){if(ut===null){var e=ze.alternate;e=e!==null?e.memoizedState:null}else e=ut.next;var t=et===null?ze.memoizedState:et.next;if(t!==null)et=t,ut=e;else{if(e===null)throw Error(W(310));ut=e,e={memoizedState:ut.memoizedState,baseState:ut.baseState,baseQueue:ut.baseQueue,queue:ut.queue,next:null},et===null?ze.memoizedState=et=e:et=et.next=e}return et}function mr(e,t){return typeof t=="function"?t(e):t}function Sa(e){var t=Xn(),r=t.queue;if(r===null)throw Error(W(311));r.lastRenderedReducer=e;var n=ut,i=n.baseQueue,o=r.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}n.baseQueue=i=o,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=a=o=null,s=i;do{var u=s.lane;if((wa&u)===u)l!==null&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),n=s.eagerReducer===e?s.eagerState:e(n,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};l===null?(a=l=c,o=n):l=l.next=c,ze.lanes|=u,Ta|=u}s=s.next}while(s!==null&&s!==i);l===null?o=n:l.next=a,Bt(n,t.memoizedState)||(Jt=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function ka(e){var t=Xn(),r=t.queue;if(r===null)throw Error(W(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(i!==null){r.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Bt(o,t.memoizedState)||(Jt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function K2(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===n:(e=e.mutableReadLanes,(e=(wa&e)===e)&&(t._workInProgressVersionPrimary=n,Zi.push(t))),e)return r(t._source);throw Zi.push(t),Error(W(350))}function q2(e,t,r,n){var i=pt;if(i===null)throw Error(W(349));var o=t._getVersion,a=o(t._source),l=xa.current,s=l.useState(function(){return K2(i,t,r)}),u=s[1],c=s[0];s=et;var p=e.memoizedState,f=p.refs,h=f.getSnapshot,m=p.source;p=p.subscribe;var y=ze;return e.memoizedState={refs:f,source:t,subscribe:n},l.useEffect(function(){f.getSnapshot=r,f.setSnapshot=u;var v=o(t._source);if(!Bt(a,v)){v=r(t._source),Bt(c,v)||(u(v),v=hn(y),i.mutableReadLanes|=v&i.pendingLanes),v=i.mutableReadLanes,i.entangledLanes|=v;for(var g=i.entanglements,b=v;0<b;){var w=31-nn(b),C=1<<w;g[w]|=v,b&=~C}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var v=f.getSnapshot,g=f.setSnapshot;try{g(v(t._source));var b=hn(y);i.mutableReadLanes|=b&i.pendingLanes}catch(w){g(function(){throw w})}})},[t,n]),Bt(h,r)&&Bt(m,t)&&Bt(p,n)||(e={pending:null,dispatch:null,lastRenderedReducer:mr,lastRenderedState:c},e.dispatch=u=Qf.bind(null,ze,e),s.queue=e,s.baseQueue=null,c=K2(i,t,r),s.memoizedState=s.baseState=c),c}function X2(e,t,r){var n=Xn();return q2(n,e,t,r)}function Ea(e){var t=qn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:mr,lastRenderedState:e},e=e.dispatch=Qf.bind(null,ze,e),[t.memoizedState,e]}function au(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=ze.updateQueue,t===null?(t={lastEffect:null},ze.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function Q2(e){var t=qn();return e={current:e},t.memoizedState=e}function lu(){return Xn().memoizedState}function Kf(e,t,r,n){var i=qn();ze.flags|=e,i.memoizedState=au(1|t,r,void 0,n===void 0?null:n)}function qf(e,t,r,n){var i=Xn();n=n===void 0?null:n;var o=void 0;if(ut!==null){var a=ut.memoizedState;if(o=a.destroy,n!==null&&Gf(n,a.deps)){au(t,r,o,n);return}}ze.flags|=e,i.memoizedState=au(1|t,r,o,n)}function J2(e,t){return Kf(516,4,e,t)}function su(e,t){return qf(516,4,e,t)}function eg(e,t){return qf(4,2,e,t)}function tg(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function rg(e,t,r){return r=r!=null?r.concat([e]):null,qf(4,2,tg.bind(null,t,e),r)}function Xf(){}function ng(e,t){var r=Xn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Gf(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function ig(e,t){var r=Xn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Gf(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function M9(e,t){var r=Hi();Yn(98>r?98:r,function(){e(!0)}),Yn(97<r?97:r,function(){var n=zt.transition;zt.transition=1;try{e(!1),t()}finally{zt.transition=n}})}function Qf(e,t,r){var n=Lt(),i=hn(e),o={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(a===null?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===ze||a!==null&&a===ze)Ca=ou=!0;else{if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,s=a(l,r);if(o.eagerReducer=a,o.eagerState=s,Bt(s,l))return}catch{}finally{}vn(e,i,n)}}var uu={readContext:Nt,useCallback:wt,useContext:wt,useEffect:wt,useImperativeHandle:wt,useLayoutEffect:wt,useMemo:wt,useReducer:wt,useRef:wt,useState:wt,useDebugValue:wt,useDeferredValue:wt,useTransition:wt,useMutableSource:wt,useOpaqueIdentifier:wt,unstable_isNewReconciler:!1},O9={readContext:Nt,useCallback:function(e,t){return qn().memoizedState=[e,t===void 0?null:t],e},useContext:Nt,useEffect:J2,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Kf(4,2,tg.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Kf(4,2,e,t)},useMemo:function(e,t){var r=qn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=qn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Qf.bind(null,ze,e),[n.memoizedState,e]},useRef:Q2,useState:Ea,useDebugValue:Xf,useDeferredValue:function(e){var t=Ea(e),r=t[0],n=t[1];return J2(function(){var i=zt.transition;zt.transition=1;try{n(e)}finally{zt.transition=i}},[e]),r},useTransition:function(){var e=Ea(!1),t=e[0];return e=M9.bind(null,e[1]),Q2(e),[e,t]},useMutableSource:function(e,t,r){var n=qn();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},q2(n,e,t,r)},useOpaqueIdentifier:function(){if(vr){var e=!1,t=S9(function(){throw e||(e=!0,r("r:"+(Of++).toString(36))),Error(W(355))}),r=Ea(t)[1];return(ze.mode&2)===0&&(ze.flags|=516,au(5,function(){r("r:"+(Of++).toString(36))},void 0,null)),t}return t="r:"+(Of++).toString(36),Ea(t),t},unstable_isNewReconciler:!1},L9={readContext:Nt,useCallback:ng,useContext:Nt,useEffect:su,useImperativeHandle:rg,useLayoutEffect:eg,useMemo:ig,useReducer:Sa,useRef:lu,useState:function(){return Sa(mr)},useDebugValue:Xf,useDeferredValue:function(e){var t=Sa(mr),r=t[0],n=t[1];return su(function(){var i=zt.transition;zt.transition=1;try{n(e)}finally{zt.transition=i}},[e]),r},useTransition:function(){var e=Sa(mr)[0];return[lu().current,e]},useMutableSource:X2,useOpaqueIdentifier:function(){return Sa(mr)[0]},unstable_isNewReconciler:!1},A9={readContext:Nt,useCallback:ng,useContext:Nt,useEffect:su,useImperativeHandle:rg,useLayoutEffect:eg,useMemo:ig,useReducer:ka,useRef:lu,useState:function(){return ka(mr)},useDebugValue:Xf,useDeferredValue:function(e){var t=ka(mr),r=t[0],n=t[1];return su(function(){var i=zt.transition;zt.transition=1;try{n(e)}finally{zt.transition=i}},[e]),r},useTransition:function(){var e=ka(mr)[0];return[lu().current,e]},useMutableSource:X2,useOpaqueIdentifier:function(){return ka(mr)[0]},unstable_isNewReconciler:!1},F9=zn.ReactCurrentOwner,Jt=!1;function Ct(e,t,r,n){t.child=e===null?W2(t,null,r,n):ru(t,e.child,r,n)}function og(e,t,r,n,i){r=r.render;var o=t.ref;return Wi(t,i),n=Yf(e,t,r,n,o,i),e!==null&&!Jt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Lr(e,t,i)):(t.flags|=1,Ct(e,t,n,i),t.child)}function ag(e,t,r,n,i,o){if(e===null){var a=r.type;return typeof a=="function"&&!w0(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,lg(e,t,a,n,i,o)):(e=bu(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}return a=e.child,(i&o)===0&&(i=a.memoizedProps,r=r.compare,r=r!==null?r:ua,r(i,n)&&e.ref===t.ref)?Lr(e,t,o):(t.flags|=1,e=yn(a,n),e.ref=t.ref,e.return=t,t.child=e)}function lg(e,t,r,n,i,o){if(e!==null&&ua(e.memoizedProps,n)&&e.ref===t.ref)if(Jt=!1,(o&i)!==0)(e.flags&16384)!==0&&(Jt=!0);else return t.lanes=e.lanes,Lr(e,t,o);return e0(e,t,r,n,o)}function Jf(e,t,r){var n=t.pendingProps,i=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},yu(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},yu(t,o!==null?o.baseLanes:r);else return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},yu(t,e),null;else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,yu(t,n);return Ct(e,t,i,r),t.child}function sg(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function e0(e,t,r,n,i){var o=xt(r)?Zn:lt.current;return o=zi(t,o),Wi(t,i),r=Yf(e,t,r,n,o,i),e!==null&&!Jt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Lr(e,t,i)):(t.flags|=1,Ct(e,t,r,i),t.child)}function ug(e,t,r,n,i){if(xt(r)){var o=!0;Zs(t)}else o=!1;if(Wi(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),z2(t,r,n),zf(t,r,n,i),n=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=r.contextType;typeof u=="object"&&u!==null?u=Nt(u):(u=xt(r)?Zn:lt.current,u=zi(t,u));var c=r.getDerivedStateFromProps,p=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==n||s!==u)&&H2(t,a,n,u),un=!1;var f=t.memoizedState;a.state=f,va(t,n,a,i),s=t.memoizedState,l!==n||f!==s||bt.current||un?(typeof c=="function"&&(Qs(t,r,c,n),s=t.memoizedState),(l=un||N2(t,r,l,n,f,s,u))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4)):(typeof a.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=s),a.props=n,a.state=s,a.context=u,n=l):(typeof a.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{a=t.stateNode,R2(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Qt(t.type,l),a.props=u,p=t.pendingProps,f=a.context,s=r.contextType,typeof s=="object"&&s!==null?s=Nt(s):(s=xt(r)?Zn:lt.current,s=zi(t,s));var h=r.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==p||f!==s)&&H2(t,a,n,s),un=!1,f=t.memoizedState,a.state=f,va(t,n,a,i);var m=t.memoizedState;l!==p||f!==m||bt.current||un?(typeof h=="function"&&(Qs(t,r,h,n),m=t.memoizedState),(u=un||N2(t,r,u,n,f,m,s))?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,m,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,m,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=m),a.props=n,a.state=m,a.context=s,n=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),n=!1)}return t0(e,t,r,n,o,i)}function t0(e,t,r,n,i,o){sg(e,t);var a=(t.flags&64)!==0;if(!n&&!a)return i&&_2(t,r,!1),Lr(e,t,o);n=t.stateNode,F9.current=t;var l=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&a?(t.child=ru(t,e.child,null,o),t.child=ru(t,null,l,o)):Ct(e,t,l,o),t.memoizedState=n.state,i&&_2(t,r,!0),t.child}function cg(e){var t=e.stateNode;t.pendingContext?k2(e,t.pendingContext,t.pendingContext!==t.context):t.context&&k2(e,t.context,!1),Hf(e,t.containerInfo)}var cu={dehydrated:null,retryLane:0};function dg(e,t,r){var n=t.pendingProps,i=Re.current,o=!1,a;return(a=(t.flags&64)!==0)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),De(Re,i&1),e===null?(n.fallback!==void 0&&Wf(t),e=n.children,i=n.fallback,o?(e=fg(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=cu,e):typeof n.unstable_expectedLoadTime=="number"?(e=fg(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=cu,t.lanes=33554432,e):(r=C0({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?o?(n=hg(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=cu,n):(r=pg(e,t,n.children,r),t.memoizedState=null,r):o?(n=hg(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=cu,n):(r=pg(e,t,n.children,r),t.memoizedState=null,r)}function fg(e,t,r,n){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},(i&2)===0&&o!==null?(o.childLanes=0,o.pendingProps=t):o=C0(t,i,0,null),r=Qi(r,i,n,null),o.return=e,r.return=e,o.sibling=r,e.child=o,r}function pg(e,t,r,n){var i=e.child;return e=i.sibling,r=yn(i,{mode:"visible",children:r}),(t.mode&2)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function hg(e,t,r,n,i){var o=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:r};return(o&2)===0&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=l,a=r.lastEffect,a!==null?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):r=yn(a,l),e!==null?n=yn(e,n):(n=Qi(n,o,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function vg(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),D2(e.return,t)}function r0(e,t,r,n,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i,a.lastEffect=o)}function mg(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(Ct(e,t,n.children,r),n=Re.current,(n&2)!==0)n=n&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&vg(e,r);else if(e.tag===19)vg(e,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(De(Re,n),(t.mode&2)===0)t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&nu(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),r0(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&nu(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}r0(t,!0,r,null,o,t.lastEffect);break;case"together":r0(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Lr(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Ta|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(W(153));if(t.child!==null){for(e=t.child,r=yn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=yn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var gg,n0,yg,bg;gg=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},n0=function(){},yg=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Kn(hr.current);var o=null;switch(r){case"input":i=Nd(e,i),n=Nd(e,n),o=[];break;case"option":i=jd(e,i),n=jd(e,n),o=[];break;case"select":i=Oe({},i,{value:void 0}),n=Oe({},n,{value:void 0}),o=[];break;case"textarea":i=Wd(e,i),n=Wd(e,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=zs)}Gd(r,n);var a;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(zo.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in n){var s=n[u];if(l=i!=null?i[u]:void 0,n.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(r||(r={}),r[a]=s[a])}else r||(o||(o=[]),o.push(u,r)),r=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(zo.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&_e("scroll",e),o||l===s||(o=[])):typeof s=="object"&&s!==null&&s.$$typeof===Dd?s.toString():(o=o||[]).push(u,s))}r&&(o=o||[]).push("style",r);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},bg=function(e,t,r,n){r!==n&&(t.flags|=4)};function _a(e,t){if(!vr)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function I9(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return xt(t.type)&&Us(),null;case 3:return Ui(),Te(bt),Te(lt),Zf(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(iu(t)?t.flags|=4:n.hydrate||(t.flags|=256)),n0(t),null;case 5:jf(t);var i=Kn(ba.current);if(r=t.type,e!==null&&t.stateNode!=null)yg(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(W(166));return null}if(e=Kn(hr.current),iu(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[an]=t,n[js]=o,r){case"dialog":_e("cancel",n),_e("close",n);break;case"iframe":case"object":case"embed":_e("load",n);break;case"video":case"audio":for(e=0;e<da.length;e++)_e(da[e],n);break;case"source":_e("error",n);break;case"img":case"image":case"link":_e("error",n),_e("load",n);break;case"details":_e("toggle",n);break;case"input":um(n,o),_e("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},_e("invalid",n);break;case"textarea":fm(n,o),_e("invalid",n)}Gd(r,o),e=null;for(var a in o)o.hasOwnProperty(a)&&(i=o[a],a==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):zo.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&_e("scroll",n));switch(r){case"input":ks(n),dm(n,o,!0);break;case"textarea":ks(n),hm(n);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(n.onclick=zs)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(a=i.nodeType===9?i:i.ownerDocument,e===Ud.html&&(e=vm(r)),e===Ud.html?r==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[an]=t,e[js]=n,gg(e,t,!1,!1),t.stateNode=e,a=Yd(r,n),r){case"dialog":_e("cancel",e),_e("close",e),i=n;break;case"iframe":case"object":case"embed":_e("load",e),i=n;break;case"video":case"audio":for(i=0;i<da.length;i++)_e(da[i],e);i=n;break;case"source":_e("error",e),i=n;break;case"img":case"image":case"link":_e("error",e),_e("load",e),i=n;break;case"details":_e("toggle",e),i=n;break;case"input":um(e,n),i=Nd(e,n),_e("invalid",e);break;case"option":i=jd(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=Oe({},n,{value:void 0}),_e("invalid",e);break;case"textarea":fm(e,n),i=Wd(e,n),_e("invalid",e);break;default:i=n}Gd(r,i);var l=i;for(o in l)if(l.hasOwnProperty(o)){var s=l[o];o==="style"?ym(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&mm(e,s)):o==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&Go(e,s):typeof s=="number"&&Go(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(zo.hasOwnProperty(o)?s!=null&&o==="onScroll"&&_e("scroll",e):s!=null&&Md(e,o,s,a))}switch(r){case"input":ks(e),dm(e,n,!1);break;case"textarea":ks(e),hm(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Jr(n.value));break;case"select":e.multiple=!!n.multiple,o=n.value,o!=null?Ti(e,!!n.multiple,o,!1):n.defaultValue!=null&&Ti(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=zs)}b2(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)bg(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(W(166));r=Kn(ba.current),Kn(hr.current),iu(t)?(n=t.stateNode,r=t.memoizedProps,n[an]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[an]=t,t.stateNode=n)}return null;case 13:return Te(Re),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&iu(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Re.current&1)!==0?tt===0&&(tt=3):((tt===0||tt===3)&&(tt=4),pt===null||(Ta&134217727)===0&&(Yi&134217727)===0||qi(pt,ct))),(n||r)&&(t.flags|=4),null);case 4:return Ui(),n0(t),e===null&&h2(t.stateNode.containerInfo),null;case 10:return Bf(t),null;case 17:return xt(t.type)&&Us(),null;case 19:if(Te(Re),n=t.memoizedState,n===null)return null;if(o=(t.flags&64)!==0,a=n.rendering,a===null)if(o)_a(n,!1);else{if(tt!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(a=nu(e),a!==null){for(t.flags|=64,_a(n,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)o=r,e=n,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return De(Re,Re.current&1|2),t.child}e=e.sibling}n.tail!==null&&st()>h0&&(t.flags|=64,o=!0,_a(n,!1),t.lanes=33554432)}else{if(!o)if(e=nu(a),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),_a(n,!0),n.tail===null&&n.tailMode==="hidden"&&!a.alternate&&!vr)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*st()-n.renderingStartTime>h0&&r!==1073741824&&(t.flags|=64,o=!0,_a(n,!1),t.lanes=33554432);n.isBackwards?(a.sibling=t.child,t.child=a):(r=n.last,r!==null?r.sibling=a:t.child=a,n.last=a)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=st(),r.sibling=null,t=Re.current,De(Re,o?t&1|2:t&1),r):null;case 23:case 24:return x0(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(W(156,t.tag))}function D9(e){switch(e.tag){case 1:xt(e.type)&&Us();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Ui(),Te(bt),Te(lt),Zf(),t=e.flags,(t&64)!==0)throw Error(W(285));return e.flags=t&-4097|64,e;case 5:return jf(e),null;case 13:return Te(Re),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Te(Re),null;case 4:return Ui(),null;case 10:return Bf(e),null;case 23:case 24:return x0(),null;default:return null}}function i0(e,t){try{var r="",n=t;do r+=vx(n),n=n.return;while(n);var i=r}catch(o){i=`
|
|
308
|
+
Error generating stack: `+o.message+`
|
|
309
|
+
`+o.stack}return{value:e,source:t,stack:i}}function o0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var R9=typeof WeakMap=="function"?WeakMap:Map;function xg(e,t,r){r=cn(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){pu||(pu=!0,v0=n),o0(e,t)},r}function wg(e,t,r){r=cn(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return o0(e,t),n(i)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(gr===null?gr=new Set([this]):gr.add(this),o0(e,t));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),r}var V9=typeof WeakSet=="function"?WeakSet:Set;function Cg(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){gn(e,r)}else t.current=null}function $9(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Qt(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Mf(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(W(163))}function B9(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;n=i.next,i=i.tag,(i&4)!==0&&(i&1)!==0&&(Vg(r,e),G9(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Qt(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&$2(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}$2(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&b2(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&Im(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(W(163))}function Sg(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,n.style.display=gm("display",i)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function kg(e,t){if(Gn&&typeof Gn.onCommitFiberUnmount=="function")try{Gn.onCommitFiberUnmount(Af,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,i!==void 0)if((n&4)!==0)Vg(t,r);else{n=t;try{i()}catch(o){gn(n,o)}}r=r.next}while(r!==e)}break;case 1:if(Cg(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){gn(t,o)}break;case 5:Cg(t);break;case 4:Pg(e,t)}}function Eg(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function _g(e){return e.tag===5||e.tag===3||e.tag===4}function Tg(e){e:{for(var t=e.return;t!==null;){if(_g(t))break e;t=t.return}throw Error(W(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(W(161))}r.flags&16&&(Go(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||_g(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?a0(e,r,t):l0(e,r,t)}function a0(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=zs));else if(n!==4&&(e=e.child,e!==null))for(a0(e,t,r),e=e.sibling;e!==null;)a0(e,t,r),e=e.sibling}function l0(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(l0(e,t,r),e=e.sibling;e!==null;)l0(e,t,r),e=e.sibling}function Pg(e,t){for(var r=t,n=!1,i,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(W(160));switch(i=n.stateNode,n.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var a=e,l=r,s=l;;)if(kg(a,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(a=i,l=r.stateNode,a.nodeType===8?a.parentNode.removeChild(l):a.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(kg(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function s0(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)===3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var i=e!==null?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[js]=n,e==="input"&&n.type==="radio"&&n.name!=null&&cm(r,n),Yd(e,i),t=Yd(e,n),i=0;i<o.length;i+=2){var a=o[i],l=o[i+1];a==="style"?ym(r,l):a==="dangerouslySetInnerHTML"?mm(r,l):a==="children"?Go(r,l):Md(r,a,l,t)}switch(e){case"input":zd(r,n);break;case"textarea":pm(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,o=n.value,o!=null?Ti(r,!!n.multiple,o,!1):e!==!!n.multiple&&(n.defaultValue!=null?Ti(r,!!n.multiple,n.defaultValue,!0):Ti(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(W(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,Im(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(p0=st(),Sg(t.child,!0)),Mg(t);return;case 19:Mg(t);return;case 17:return;case 23:case 24:Sg(t,t.memoizedState!==null);return}throw Error(W(163))}function Mg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new V9),t.forEach(function(n){var i=q9.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function N9(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var z9=Math.ceil,du=zn.ReactCurrentDispatcher,u0=zn.ReactCurrentOwner,re=0,pt=null,Ze=null,ct=0,Qn=0,c0=ln(0),tt=0,fu=null,Gi=0,Ta=0,Yi=0,d0=0,f0=null,p0=0,h0=1/0;function Ki(){h0=st()+500}var q=null,pu=!1,v0=null,gr=null,pn=!1,Pa=null,Ma=90,m0=[],g0=[],Ar=null,Oa=0,y0=null,hu=-1,Fr=0,vu=0,La=null,mu=!1;function Lt(){return(re&48)!==0?st():hu!==-1?hu:hu=st()}function hn(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Hi()===99?1:2;if(Fr===0&&(Fr=Gi),P9.transition!==0){vu!==0&&(vu=f0!==null?f0.pendingLanes:0),e=Fr;var t=4186112&~vu;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Hi(),(re&4)!==0&&e===98?e=As(12,Fr):(e=Lx(e),e=As(e,Fr)),e}function vn(e,t,r){if(50<Oa)throw Oa=0,y0=null,Error(W(185));if(e=gu(e,t),e===null)return null;Fs(e,t,r),e===pt&&(Yi|=t,tt===4&&qi(e,ct));var n=Hi();t===1?(re&8)!==0&&(re&48)===0?b0(e):(Ht(e,r),re===0&&(Ki(),pr())):((re&4)===0||n!==98&&n!==99||(Ar===null?Ar=new Set([e]):Ar.add(e)),Ht(e,r)),f0=e}function gu(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}function Ht(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-nn(a),s=1<<l,u=o[l];if(u===-1){if((s&n)===0||(s&i)!==0){u=t,Li(s);var c=Se;o[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(n=na(e,e===pt?ct:0),t=Se,n===0)r!==null&&(r!==Rf&&If(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Rf&&If(r)}t===15?(r=b0.bind(null,e),Mr===null?(Mr=[r],Ys=Ff(Gs,I2)):Mr.push(r),r=Rf):t===14?r=ha(99,b0.bind(null,e)):(r=Ax(t),r=ha(r,Og.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function Og(e){if(hu=-1,vu=Fr=0,(re&48)!==0)throw Error(W(327));var t=e.callbackNode;if(mn()&&e.callbackNode!==t)return null;var r=na(e,e===pt?ct:0);if(r===0)return null;var n=r,i=re;re|=16;var o=Ig();(pt!==e||ct!==n)&&(Ki(),Xi(e,n));do try{W9();break}catch(l){Fg(e,l)}while(1);if($f(),du.current=o,re=i,Ze!==null?n=0:(pt=null,ct=0,n=tt),(Gi&Yi)!==0)Xi(e,0);else if(n!==0){if(n===2&&(re|=64,e.hydrate&&(e.hydrate=!1,Mf(e.containerInfo)),r=zm(e),r!==0&&(n=Aa(e,r))),n===1)throw t=fu,Xi(e,0),qi(e,r),Ht(e,st()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(W(345));case 2:Jn(e);break;case 3:if(qi(e,r),(r&62914560)===r&&(n=p0+500-st(),10<n)){if(na(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Lt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=x2(Jn.bind(null,e),n);break}Jn(e);break;case 4:if(qi(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var a=31-nn(r);o=1<<a,a=n[a],a>i&&(i=a),r&=~o}if(r=i,r=st()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*z9(r/1960))-r,10<r){e.timeoutHandle=x2(Jn.bind(null,e),r);break}Jn(e);break;case 5:Jn(e);break;default:throw Error(W(329))}}return Ht(e,st()),e.callbackNode===t?Og.bind(null,e):null}function qi(e,t){for(t&=~d0,t&=~Yi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-nn(t),n=1<<r;e[r]=-1,t&=~n}}function b0(e){if((re&48)!==0)throw Error(W(327));if(mn(),e===pt&&(e.expiredLanes&ct)!==0){var t=ct,r=Aa(e,t);(Gi&Yi)!==0&&(t=na(e,t),r=Aa(e,t))}else t=na(e,0),r=Aa(e,t);if(e.tag!==0&&r===2&&(re|=64,e.hydrate&&(e.hydrate=!1,Mf(e.containerInfo)),t=zm(e),t!==0&&(r=Aa(e,t))),r===1)throw r=fu,Xi(e,0),qi(e,t),Ht(e,st()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Jn(e),Ht(e,st()),null}function H9(){if(Ar!==null){var e=Ar;Ar=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Ht(t,st())})}pr()}function Lg(e,t){var r=re;re|=1;try{return e(t)}finally{re=r,re===0&&(Ki(),pr())}}function Ag(e,t){var r=re;re&=-2,re|=8;try{return e(t)}finally{re=r,re===0&&(Ki(),pr())}}function yu(e,t){De(c0,Qn),Qn|=t,Gi|=t}function x0(){Qn=c0.current,Te(c0)}function Xi(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,C9(r)),Ze!==null)for(r=Ze.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&Us();break;case 3:Ui(),Te(bt),Te(lt),Zf();break;case 5:jf(n);break;case 4:Ui();break;case 13:Te(Re);break;case 19:Te(Re);break;case 10:Bf(n);break;case 23:case 24:x0()}r=r.return}pt=e,Ze=yn(e.current,null),ct=Qn=Gi=t,tt=0,fu=null,d0=Yi=Ta=0}function Fg(e,t){do{var r=Ze;try{if($f(),xa.current=uu,ou){for(var n=ze.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}ou=!1}if(wa=0,et=ut=ze=null,Ca=!1,u0.current=null,r===null||r.return===null){tt=1,fu=t,Ze=null;break}e:{var o=e,a=r.return,l=r,s=t;if(t=ct,l.flags|=2048,l.firstEffect=l.lastEffect=null,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s;if((l.mode&2)===0){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var p=(Re.current&1)!==0,f=a;do{var h;if(h=f.tag===13){var m=f.memoizedState;if(m!==null)h=m.dehydrated!==null;else{var y=f.memoizedProps;h=y.fallback===void 0?!1:y.unstable_avoidThisFallback!==!0?!0:!p}}if(h){var v=f.updateQueue;if(v===null){var g=new Set;g.add(u),f.updateQueue=g}else v.add(u);if((f.mode&2)===0){if(f.flags|=64,l.flags|=16384,l.flags&=-2981,l.tag===1)if(l.alternate===null)l.tag=17;else{var b=cn(-1,1);b.tag=2,dn(l,b)}l.lanes|=1;break e}s=void 0,l=t;var w=o.pingCache;if(w===null?(w=o.pingCache=new R9,s=new Set,w.set(u,s)):(s=w.get(u),s===void 0&&(s=new Set,w.set(u,s))),!s.has(l)){s.add(l);var C=K9.bind(null,o,u,l);u.then(C,C)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(f!==null);s=Error((_i(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
310
|
+
|
|
311
|
+
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}tt!==5&&(tt=2),s=i0(s,l),f=a;do{switch(f.tag){case 3:o=s,f.flags|=4096,t&=-t,f.lanes|=t;var k=xg(f,o,t);V2(f,k);break e;case 1:o=s;var _=f.type,E=f.stateNode;if((f.flags&64)===0&&(typeof _.getDerivedStateFromError=="function"||E!==null&&typeof E.componentDidCatch=="function"&&(gr===null||!gr.has(E)))){f.flags|=4096,t&=-t,f.lanes|=t;var M=wg(f,o,t);V2(f,M);break e}}f=f.return}while(f!==null)}Rg(r)}catch(O){t=O,Ze===r&&r!==null&&(Ze=r=r.return);continue}break}while(1)}function Ig(){var e=du.current;return du.current=uu,e===null?uu:e}function Aa(e,t){var r=re;re|=16;var n=Ig();pt===e&&ct===t||Xi(e,t);do try{j9();break}catch(i){Fg(e,i)}while(1);if($f(),re=r,du.current=n,Ze!==null)throw Error(W(261));return pt=null,ct=0,tt}function j9(){for(;Ze!==null;)Dg(Ze)}function W9(){for(;Ze!==null&&!E9();)Dg(Ze)}function Dg(e){var t=Bg(e.alternate,e,Qn);e.memoizedProps=e.pendingProps,t===null?Rg(e):Ze=t,u0.current=null}function Rg(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=I9(r,t,Qn),r!==null){Ze=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(Qn&1073741824)!==0||(r.mode&4)===0){for(var n=0,i=r.child;i!==null;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(r=D9(t),r!==null){r.flags&=2047,Ze=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){Ze=t;return}Ze=t=e}while(t!==null);tt===0&&(tt=5)}function Jn(e){var t=Hi();return Yn(99,U9.bind(null,e,t)),null}function U9(e,t){do mn();while(Pa!==null);if((re&48)!==0)throw Error(W(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(W(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<o;){var s=31-nn(o),u=1<<s;i[s]=0,a[s]=-1,l[s]=-1,o&=~u}if(Ar!==null&&(n&24)===0&&Ar.has(e)&&Ar.delete(e),e===pt&&(Ze=pt=null,ct=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=re,re|=32,u0.current=null,_f=Is,a=l2(),Cf(a)){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&u.rangeCount!==0){l=u.anchorNode,o=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var c=0,p=-1,f=-1,h=0,m=0,y=a,v=null;t:for(;;){for(var g;y!==l||o!==0&&y.nodeType!==3||(p=c+o),y!==s||u!==0&&y.nodeType!==3||(f=c+u),y.nodeType===3&&(c+=y.nodeValue.length),(g=y.firstChild)!==null;)v=y,y=g;for(;;){if(y===a)break t;if(v===l&&++h===o&&(p=c),v===s&&++m===u&&(f=c),(g=y.nextSibling)!==null)break;y=v,v=y.parentNode}y=g}l=p===-1||f===-1?null:{start:p,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;Tf={focusedElem:a,selectionRange:l},Is=!1,La=null,mu=!1,q=n;do try{Z9()}catch(O){if(q===null)throw Error(W(330));gn(q,O),q=q.nextEffect}while(q!==null);La=null,q=n;do try{for(a=e;q!==null;){var b=q.flags;if(b&16&&Go(q.stateNode,""),b&128){var w=q.alternate;if(w!==null){var C=w.ref;C!==null&&(typeof C=="function"?C(null):C.current=null)}}switch(b&1038){case 2:Tg(q),q.flags&=-3;break;case 6:Tg(q),q.flags&=-3,s0(q.alternate,q);break;case 1024:q.flags&=-1025;break;case 1028:q.flags&=-1025,s0(q.alternate,q);break;case 4:s0(q.alternate,q);break;case 8:l=q,Pg(a,l);var k=l.alternate;Eg(l),k!==null&&Eg(k)}q=q.nextEffect}}catch(O){if(q===null)throw Error(W(330));gn(q,O),q=q.nextEffect}while(q!==null);if(C=Tf,w=l2(),b=C.focusedElem,a=C.selectionRange,w!==b&&b&&b.ownerDocument&&a2(b.ownerDocument.documentElement,b)){for(a!==null&&Cf(b)&&(w=a.start,C=a.end,C===void 0&&(C=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(C,b.value.length)):(C=(w=b.ownerDocument||document)&&w.defaultView||window,C.getSelection&&(C=C.getSelection(),l=b.textContent.length,k=Math.min(a.start,l),a=a.end===void 0?k:Math.min(a.end,l),!C.extend&&k>a&&(l=a,a=k,k=l),l=o2(b,k),o=o2(b,a),l&&o&&(C.rangeCount!==1||C.anchorNode!==l.node||C.anchorOffset!==l.offset||C.focusNode!==o.node||C.focusOffset!==o.offset)&&(w=w.createRange(),w.setStart(l.node,l.offset),C.removeAllRanges(),k>a?(C.addRange(w),C.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),C.addRange(w)))))),w=[],C=b;C=C.parentNode;)C.nodeType===1&&w.push({element:C,left:C.scrollLeft,top:C.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<w.length;b++)C=w[b],C.element.scrollLeft=C.left,C.element.scrollTop=C.top}Is=!!_f,Tf=_f=null,e.current=r,q=n;do try{for(b=e;q!==null;){var _=q.flags;if(_&36&&B9(b,q.alternate,q),_&128){w=void 0;var E=q.ref;if(E!==null){var M=q.stateNode;switch(q.tag){case 5:w=M;break;default:w=M}typeof E=="function"?E(w):E.current=w}}q=q.nextEffect}}catch(O){if(q===null)throw Error(W(330));gn(q,O),q=q.nextEffect}while(q!==null);q=null,T9(),re=i}else e.current=r;if(pn)pn=!1,Pa=e,Ma=t;else for(q=n;q!==null;)t=q.nextEffect,q.nextEffect=null,q.flags&8&&(_=q,_.sibling=null,_.stateNode=null),q=t;if(n=e.pendingLanes,n===0&&(gr=null),n===1?e===y0?Oa++:(Oa=0,y0=e):Oa=0,r=r.stateNode,Gn&&typeof Gn.onCommitFiberRoot=="function")try{Gn.onCommitFiberRoot(Af,r,void 0,(r.current.flags&64)===64)}catch{}if(Ht(e,st()),pu)throw pu=!1,e=v0,v0=null,e;return(re&8)!==0||pr(),null}function Z9(){for(;q!==null;){var e=q.alternate;mu||La===null||((q.flags&8)!==0?Tm(q,La)&&(mu=!0):q.tag===13&&N9(e,q)&&Tm(q,La)&&(mu=!0));var t=q.flags;(t&256)!==0&&$9(e,q),(t&512)===0||pn||(pn=!0,ha(97,function(){return mn(),null})),q=q.nextEffect}}function mn(){if(Ma!==90){var e=97<Ma?97:Ma;return Ma=90,Yn(e,Y9)}return!1}function G9(e,t){m0.push(t,e),pn||(pn=!0,ha(97,function(){return mn(),null}))}function Vg(e,t){g0.push(t,e),pn||(pn=!0,ha(97,function(){return mn(),null}))}function Y9(){if(Pa===null)return!1;var e=Pa;if(Pa=null,(re&48)!==0)throw Error(W(331));var t=re;re|=32;var r=g0;g0=[];for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1],a=i.destroy;if(i.destroy=void 0,typeof a=="function")try{a()}catch(s){if(o===null)throw Error(W(330));gn(o,s)}}for(r=m0,m0=[],n=0;n<r.length;n+=2){i=r[n],o=r[n+1];try{var l=i.create;i.destroy=l()}catch(s){if(o===null)throw Error(W(330));gn(o,s)}}for(l=e.current.firstEffect;l!==null;)e=l.nextEffect,l.nextEffect=null,l.flags&8&&(l.sibling=null,l.stateNode=null),l=e;return re=t,pr(),!0}function $g(e,t,r){t=i0(r,t),t=xg(e,t,1),dn(e,t),t=Lt(),e=gu(e,1),e!==null&&(Fs(e,1,t),Ht(e,t))}function gn(e,t){if(e.tag===3)$g(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){$g(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(gr===null||!gr.has(n))){e=i0(t,e);var i=wg(r,e,1);if(dn(r,i),i=Lt(),r=gu(r,1),r!==null)Fs(r,1,i),Ht(r,i);else if(typeof n.componentDidCatch=="function"&&(gr===null||!gr.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function K9(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Lt(),e.pingedLanes|=e.suspendedLanes&r,pt===e&&(ct&r)===r&&(tt===4||tt===3&&(ct&62914560)===ct&&500>st()-p0?Xi(e,0):d0|=r),Ht(e,t)}function q9(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=Hi()===99?1:2:(Fr===0&&(Fr=Gi),t=Ai(62914560&~Fr),t===0&&(t=4194304))),r=Lt(),e=gu(e,t),e!==null&&(Fs(e,t,r),Ht(e,r))}var Bg;Bg=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||bt.current)Jt=!0;else if((r&n)!==0)Jt=(e.flags&16384)!==0;else{switch(Jt=!1,t.tag){case 3:cg(t),Uf();break;case 5:U2(t);break;case 1:xt(t.type)&&Zs(t);break;case 4:Hf(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;De(Ks,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?dg(e,t,r):(De(Re,Re.current&1),t=Lr(e,t,r),t!==null?t.sibling:null);De(Re,Re.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return mg(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),De(Re,Re.current),n)break;return null;case 23:case 24:return t.lanes=0,Jf(e,t,r)}return Lr(e,t,r)}else Jt=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=zi(t,lt.current),Wi(t,r),i=Yf(null,t,n,e,i,r),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,xt(n)){var o=!0;Zs(t)}else o=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Nf(t);var a=n.getDerivedStateFromProps;typeof a=="function"&&Qs(t,n,a,e),i.updater=Js,t.stateNode=i,i._reactInternals=t,zf(t,n,e,r),t=t0(null,t,n,!0,o,r)}else t.tag=0,Ct(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=Q9(i),e=Qt(i,e),o){case 0:t=e0(null,t,i,e,r);break e;case 1:t=ug(null,t,i,e,r);break e;case 11:t=og(null,t,i,e,r);break e;case 14:t=ag(null,t,i,Qt(i.type,e),n,r);break e}throw Error(W(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),e0(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),ug(e,t,n,i,r);case 3:if(cg(t),n=t.updateQueue,e===null||n===null)throw Error(W(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,R2(e,t),va(t,n,null,r),n=t.memoizedState.element,n===i)Uf(),t=Lr(e,t,r);else{if(i=t.stateNode,(o=i.hydrate)&&(fn=Vi(t.stateNode.containerInfo.firstChild),Or=t,o=vr=!0),o){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)o=e[i],o._workInProgressVersionPrimary=e[i+1],Zi.push(o);for(r=W2(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else Ct(e,t,n,r),Uf();t=t.child}return t;case 5:return U2(t),e===null&&Wf(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Pf(n,i)?a=null:o!==null&&Pf(n,o)&&(t.flags|=16),sg(e,t),Ct(e,t,a,r),t.child;case 6:return e===null&&Wf(t),null;case 13:return dg(e,t,r);case 4:return Hf(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ru(t,null,n,r):Ct(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),og(e,t,n,i,r);case 7:return Ct(e,t,t.pendingProps,r),t.child;case 8:return Ct(e,t,t.pendingProps.children,r),t.child;case 12:return Ct(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value;var l=t.type._context;if(De(Ks,l._currentValue),l._currentValue=o,a!==null)if(l=a.value,o=Bt(l,o)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,o):1073741823)|0,o===0){if(a.children===i.children&&!bt.current){t=Lr(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){a=l.child;for(var u=s.firstContext;u!==null;){if(u.context===n&&(u.observedBits&o)!==0){l.tag===1&&(u=cn(-1,r&-r),u.tag=2,dn(l,u)),l.lanes|=r,u=l.alternate,u!==null&&(u.lanes|=r),D2(l.return,r),s.lanes|=r;break}u=u.next}}else a=l.tag===10&&l.type===t.type?null:l.child;if(a!==null)a.return=l;else for(a=l;a!==null;){if(a===t){a=null;break}if(l=a.sibling,l!==null){l.return=a.return,a=l;break}a=a.return}l=a}Ct(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps,n=o.children,Wi(t,r),i=Nt(i,o.unstable_observedBits),n=n(i),t.flags|=1,Ct(e,t,n,r),t.child;case 14:return i=t.type,o=Qt(i,t.pendingProps),o=Qt(i.type,o),ag(e,t,i,o,n,r);case 15:return lg(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,xt(n)?(e=!0,Zs(t)):e=!1,Wi(t,r),z2(t,n,i),zf(t,n,i,r),t0(null,t,n,!0,e,r);case 19:return mg(e,t,r);case 23:return Jf(e,t,r);case 24:return Jf(e,t,r)}throw Error(W(156,t.tag))};function X9(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function jt(e,t,r,n){return new X9(e,t,r,n)}function w0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Q9(e){if(typeof e=="function")return w0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xs)return 11;if(e===Cs)return 14}return 2}function yn(e,t){var r=e.alternate;return r===null?(r=jt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function bu(e,t,r,n,i,o){var a=2;if(n=e,typeof e=="function")w0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Qr:return Qi(r.children,i,o,t);case om:a=8,i|=16;break;case Od:a=8,i|=1;break;case jo:return e=jt(12,r,t,i|8),e.elementType=jo,e.type=jo,e.lanes=o,e;case Wo:return e=jt(13,r,t,i),e.type=Wo,e.elementType=Wo,e.lanes=o,e;case ws:return e=jt(19,r,t,i),e.elementType=ws,e.lanes=o,e;case Rd:return C0(r,i,o,t);case Vd:return e=jt(24,r,t,i),e.elementType=Vd,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ld:a=10;break e;case Ad:a=9;break e;case xs:a=11;break e;case Cs:a=14;break e;case Fd:a=16,n=null;break e;case Id:a=22;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=jt(a,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function Qi(e,t,r,n){return e=jt(7,e,n,t),e.lanes=r,e}function C0(e,t,r,n){return e=jt(23,e,n,t),e.elementType=Rd,e.lanes=r,e}function S0(e,t,r){return e=jt(6,e,null,t),e.lanes=r,e}function k0(e,t,r){return t=jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function J9(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=cf(0),this.expirationTimes=cf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cf(0),this.mutableSourceEagerHydrationData=null}function ew(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Hn,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function xu(e,t,r,n){var i=t.current,o=Lt(),a=hn(i);e:if(r){r=r._reactInternals;t:{if(Wn(r)!==r||r.tag!==1)throw Error(W(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(xt(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(W(171))}if(r.tag===1){var s=r.type;if(xt(s)){r=E2(r,s,l);break e}}r=l}else r=sn;return t.context===null?t.context=r:t.pendingContext=r,t=cn(o,a),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),dn(i,t),vn(i,a,o),a}function E0(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ng(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function _0(e,t){Ng(e,t),(e=e.alternate)&&Ng(e,t)}function tw(){return null}function T0(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new J9(e,t,r!=null&&r.hydrate===!0),t=jt(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,Nf(t),e[$i]=r.current,h2(e.nodeType===8?e.parentNode:e),n)for(e=0;e<n.length;e++){t=n[e];var i=t._getVersion;i=i(t._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}T0.prototype.render=function(e){xu(e,this._internalRoot,null,null)},T0.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;xu(null,e,null,function(){t[$i]=null})};function Fa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function rw(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new T0(e,0,t?{hydrate:!0}:void 0)}function wu(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if(typeof i=="function"){var l=i;i=function(){var u=E0(a);l.call(u)}}xu(t,a,e,i)}else{if(o=r._reactRootContainer=rw(r,n),a=o._internalRoot,typeof i=="function"){var s=i;i=function(){var u=E0(a);s.call(u)}}Ag(function(){xu(t,a,e,i)})}return E0(a)}Pm=function(e){if(e.tag===13){var t=Lt();vn(e,4,t),_0(e,4)}},nf=function(e){if(e.tag===13){var t=Lt();vn(e,67108864,t),_0(e,67108864)}},Mm=function(e){if(e.tag===13){var t=Lt(),r=hn(e);vn(e,r,t),_0(e,r)}},Om=function(e,t){return t()},qd=function(e,t,r){switch(t){case"input":if(zd(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=Ws(n);if(!i)throw Error(W(90));sm(n),zd(n,i)}}}break;case"textarea":pm(e,r);break;case"select":t=r.value,t!=null&&Ti(e,!!r.multiple,t,!1)}},Xd=Lg,Cm=function(e,t,r,n,i){var o=re;re|=4;try{return Yn(98,e.bind(null,t,r,n,i))}finally{re=o,re===0&&(Ki(),pr())}},Qd=function(){(re&49)===0&&(H9(),mn())},Sm=function(e,t){var r=re;re|=2;try{return e(t)}finally{re=r,re===0&&(Ki(),pr())}};function zg(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fa(t))throw Error(W(200));return ew(e,t,null,r)}var nw={Events:[pa,Bi,Ws,xm,wm,mn,{current:!1}]},Ia={findFiberByHostInstance:Un,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},iw={bundleType:Ia.bundleType,version:Ia.version,rendererPackageName:Ia.rendererPackageName,rendererConfig:Ia.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:zn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=_m(e),e===null?null:e.stateNode},findFiberByHostInstance:Ia.findFiberByHostInstance||tw,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cu.isDisabled&&Cu.supportsFiber)try{Af=Cu.inject(iw),Gn=Cu}catch{}}$t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nw,$t.createPortal=zg,$t.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(W(188)):Error(W(268,Object.keys(e)));return e=_m(t),e=e===null?null:e.stateNode,e},$t.flushSync=function(e,t){var r=re;if((r&48)!==0)return e(t);re|=1;try{if(e)return Yn(99,e.bind(null,t))}finally{re=r,pr()}},$t.hydrate=function(e,t,r){if(!Fa(t))throw Error(W(200));return wu(null,e,t,!0,r)},$t.render=function(e,t,r){if(!Fa(t))throw Error(W(200));return wu(null,e,t,!1,r)},$t.unmountComponentAtNode=function(e){if(!Fa(e))throw Error(W(40));return e._reactRootContainer?(Ag(function(){wu(null,null,e,!1,function(){e._reactRootContainer=null,e[$i]=null})}),!0):!1},$t.unstable_batchedUpdates=Lg,$t.unstable_createPortal=function(e,t){return zg(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},$t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Fa(r))throw Error(W(200));if(e==null||e._reactInternals===void 0)throw Error(W(38));return wu(e,t,r,!1,n)},$t.version="17.0.2";function Hg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Hg)}catch(e){console.error(e)}}Hg(),_d.exports=$t;var jg=Tr({strict:!1,name:"PortalManagerContext"}),ow=jg[0],aw=jg[1];function lw(e){var t=e.children,r=e.zIndex;return x.createElement(ow,{value:{zIndex:r}},t)}function P0(){return P0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P0.apply(this,arguments)}function sw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var uw=["containerRef"],Wg=Tr({strict:!1,name:"PortalContext"}),Ug=Wg[0],cw=Wg[1],M0="chakra-portal",dw=".chakra-portal",fw=function(t){return x.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children)},pw=function(t){var r=t.appendToParentPortal,n=t.children,i=x.useRef(null),o=x.useRef(null),a=Xv(),l=cw(),s=aw();No(function(){if(!!i.current){var c=i.current.ownerDocument,p=r&&l!=null?l:c.body;if(!!p){o.current=c.createElement("div"),o.current.className=M0,p.appendChild(o.current),a();var f=o.current;return function(){p.contains(f)&&p.removeChild(f)}}}},[]);var u=s!=null&&s.zIndex?x.createElement(fw,{zIndex:s==null?void 0:s.zIndex},n):n;return o.current?_d.exports.createPortal(x.createElement(Ug,{value:o.current},u),o.current):x.createElement("span",{ref:i})},hw=function(t){var r=t.children,n=t.containerRef,i=t.appendToParentPortal,o=n.current,a=o!=null?o:Xr?document.body:void 0,l=x.useMemo(function(){var u=o==null?void 0:o.ownerDocument.createElement("div");return u&&(u.className=M0),u},[o]),s=Xv();return No(function(){s()},[]),No(function(){if(!(!l||!a))return a.appendChild(l),function(){a.removeChild(l)}},[l,a]),a&&l?_d.exports.createPortal(x.createElement(Ug,{value:i?l:null},r),l):null};function Da(e){var t=e.containerRef,r=sw(e,uw);return t?x.createElement(hw,P0({containerRef:t},r)):x.createElement(pw,r)}Da.defaultProps={appendToParentPortal:!0},Da.className=M0,Da.selector=dw;var Su={exports:{}},Ra={};/** @license React v17.0.2
|
|
312
|
+
* react-jsx-runtime.production.min.js
|
|
313
|
+
*
|
|
314
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
315
|
+
*
|
|
316
|
+
* This source code is licensed under the MIT license found in the
|
|
317
|
+
* LICENSE file in the root directory of this source tree.
|
|
318
|
+
*/var vw=Kr.default,Zg=60103;if(Ra.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var Gg=Symbol.for;Zg=Gg("react.element"),Ra.Fragment=Gg("react.fragment")}var mw=vw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,gw=Object.prototype.hasOwnProperty,yw={key:!0,ref:!0,__self:!0,__source:!0};function Yg(e,t,r){var n,i={},o=null,a=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(n in t)gw.call(t,n)&&!yw.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:Zg,type:e,key:o,ref:a,props:i,_owner:mw.current}}Ra.jsx=Yg,Ra.jsxs=Yg,Su.exports=Ra;const d=Su.exports.jsx,$=Su.exports.jsxs,Ir=Su.exports.Fragment;var bw={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},Kg=bw,Ji=function(){},xw={document:Kg,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Ji,removeEventListener:Ji,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:Ji,removeListener:Ji}},requestAnimationFrame:function(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout!="undefined"&&clearTimeout(t)},setTimeout:function(){return 0},clearTimeout:Ji,setInterval:function(){return 0},clearInterval:Ji},ww=xw,Cw={window:ww,document:Kg},qg=Xr?{window,document}:Cw,Xg=A.createContext(qg);function Qg(){return A.useContext(Xg)}function Sw(e){var t=e.children,r=e.environment,n=A.useState(null),i=n[0],o=n[1],a=A.useMemo(function(){var s,u=i==null?void 0:i.ownerDocument,c=i==null?void 0:i.ownerDocument.defaultView,p=u?{document:u,window:c}:void 0,f=(s=r!=null?r:p)!=null?s:qg;return f},[i,r]),l=!i&&!r;return $(Xg.Provider,{value:a,children:[t,l&&d("span",{ref:function(u){u&&o(u)}})]})}var ku={light:"chakra-ui-light",dark:"chakra-ui-dark"},kw={classList:{add:Bo,remove:Bo}},Ew=function(t){return Xr?t.body:kw};function _w(e,t){var r=Ew(t);r.classList.add(e?ku.dark:ku.light),r.classList.remove(e?ku.light:ku.dark)}function Tw(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var Jg={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function Pw(e){var t,r=(t=Tw(Jg.dark))!=null?t:e==="dark";return r?"dark":"light"}function Mw(e){if(!("matchMedia"in window))return Bo;var t=window.matchMedia(Jg.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var e5={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},set:function(t){Xr&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",t),document.documentElement.setAttribute("data-theme",t))}},t5=function(){return typeof Storage!="undefined"},r5="chakra-ui-color-mode",Ow={get:function(t){if(!t5())return t;try{var r=localStorage.getItem(r5);return r!=null?r:t}catch{return t}},set:function(t){if(!!t5())try{localStorage.setItem(r5,t)}catch{}},type:"localStorage"},n5=x.createContext({}),i5=function(){var t=x.useContext(n5);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function Lw(e){var t=e.value,r=e.children,n=e.options,i=n.useSystemColorMode,o=n.initialColorMode,a=e.colorModeManager,l=a===void 0?Ow:a,s=o==="dark"?"dark":"light",u=x.useState(l.type==="cookie"?l.get(s):s),c=u[0],p=u[1],f=Qg(),h=f.document;x.useEffect(function(){if(Xr&&l.type==="localStorage"){var g=Pw(s);if(i)return p(g);var b=e5.get(),w=l.get();return p(b||w||(o==="system"?g:s))}},[l,i,s,o]),x.useEffect(function(){var g=c==="dark";_w(g,h),e5.set(g?"dark":"light")},[c,h]);var m=x.useCallback(function(g,b){if(b===void 0&&(b=!1),!b)l.set(g);else if(l.get()&&!i)return;p(g)},[l,i]),y=x.useCallback(function(){m(c==="light"?"dark":"light")},[c,m]);x.useEffect(function(){var g=i||o==="system",b;return g&&(b=Mw(m)),function(){b&&g&&b()}},[m,i,o]);var v=x.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?Bo:y,setColorMode:t?Bo:m}},[c,m,y,t]);return x.createElement(n5.Provider,{value:v},r)}function Va(){return Va=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Va.apply(this,arguments)}var Aw=function(t,r){return function(n){var i=String(r),o=t?t+"."+i:i;return gt(n.__cssMap)&&o in n.__cssMap?n.__cssMap[o].varRef:r}};function $a(e){var t=e.scale,r=e.transform,n=e.compose,i=function(a,l){var s,u=Aw(t,a)(l),c=(s=r==null?void 0:r(u,l))!=null?s:u;return n&&(c=n(c,l)),c};return i}function er(e,t){return function(r){var n={property:r,scale:e};return n.transform=$a({scale:e,transform:t}),n}}var Fw=function(t){var r=t.rtl,n=t.ltr;return function(i){return i.direction==="rtl"?r:n}};function Iw(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:Fw(t),transform:r?$a({scale:r,compose:n}):n}}var O0,L0,o5=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Dw(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(o5).join(" ")}function Rw(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(o5).join(" ")}var Vw={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},$w={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Bw(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Nw={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},a5="& > :not(style) ~ :not(style)",zw=(O0={},O0[a5]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},O0),Hw=(L0={},L0[a5]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},L0);function Eu(e,t){return Eu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Eu(e,t)}function jw(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}}),t&&Eu(e,t)}function A0(){A0=function(i,o){return new r(i,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(i,o,a){var l=new RegExp(i,o);return t.set(l,a||t.get(i)),Eu(l,r.prototype)}jw(r,RegExp),r.prototype.exec=function(i){var o=e.exec.call(this,i);return o&&(o.groups=n(o,this)),o},r.prototype[Symbol.replace]=function(i,o){if(typeof o=="string"){var a=t.get(this);return e[Symbol.replace].call(this,i,o.replace(/\$<([^>]+)>/g,function(s,u){return"$"+a[u]}))}else if(typeof o=="function"){var l=this;return e[Symbol.replace].call(this,i,function(){var s=arguments;return typeof s[s.length-1]!="object"&&(s=[].slice.call(s),s.push(n(s,l))),o.apply(this,s)})}else return e[Symbol.replace].call(this,i,o)};function n(i,o){var a=t.get(o);return Object.keys(a).reduce(function(l,s){return l[s]=i[a[s]],l},Object.create(null))}return A0.apply(this,arguments)}var F0={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Ww=new Set(Object.values(F0)),l5=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Uw=function(t){return t.trim()};function Zw(e,t){var r,n;if(e==null||l5.has(e))return e;var i=A0(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),o=(r=(n=i.exec(e))==null?void 0:n.groups)!=null?r:{},a=o.type,l=o.values;if(!a||!l)return e;var s=a.includes("-gradient")?a:a+"-gradient",u=l.split(",").map(Uw).filter(Boolean),c=u[0],p=u.slice(1);if((p==null?void 0:p.length)===0)return e;var f=c in F0?F0[c]:c;p.unshift(f);var h=p.map(function(m){if(Ww.has(m))return m;var y=m.indexOf(" "),v=y!==-1?[m.substr(0,y),m.substr(y+1)]:[m],g=v[0],b=v[1],w=s5(b)?b:b&&b.split(" "),C="colors."+g,k=C in t.__cssMap?t.__cssMap[C].varRef:g;return w?[k].concat(Array.isArray(w)?w:[w]).join(" "):k});return s+"("+h.join(", ")+")"}var s5=function(t){return ss(t)&&t.includes("(")&&t.includes(")")},Gw=function(t,r){return Zw(t,r!=null?r:{})},Yw=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},yr=function(t){return function(r){return t+"("+r+")"}},me={filter:function(t){return t!=="auto"?t:Vw},backdropFilter:function(t){return t!=="auto"?t:$w},ring:function(t){return Bw(me.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?Dw():t==="auto-gpu"?Rw():t},px:function(t){if(t==null)return t;var r=Yw(t),n=r.unitless;return n||$n(t)?t+"px":t},fraction:function(t){return!$n(t)||t>1?t:t*100+"%"},float:function(t,r){var n={left:"right",right:"left"};return r.direction==="rtl"?n[t]:t},degree:function(t){if(Iv(t)||t==null)return t;var r=ss(t)&&!t.endsWith("deg");return $n(t)||r?t+"deg":t},gradient:Gw,blur:yr("blur"),opacity:yr("opacity"),brightness:yr("brightness"),contrast:yr("contrast"),dropShadow:yr("drop-shadow"),grayscale:yr("grayscale"),hueRotate:yr("hue-rotate"),invert:yr("invert"),saturate:yr("saturate"),sepia:yr("sepia"),bgImage:function(t){if(t==null)return t;var r=s5(t)||l5.has(t);return r?t:"url("+t+")"},outline:function(t){var r=String(t)==="0"||String(t)==="none";return t!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection:function(t){var r,n=(r=Nw[t])!=null?r:{},i=n.space,o=n.divide,a={flexDirection:t};return i&&(a[i]=1),o&&(a[o]=1),a}},T={borderWidths:er("borderWidths"),borderStyles:er("borderStyles"),colors:er("colors"),borders:er("borders"),radii:er("radii",me.px),space:er("space",me.px),spaceT:er("space",me.px),degreeT:function(t){return{property:t,transform:me.degree}},prop:function(t,r,n){return Va({property:t,scale:r},r&&{transform:$a({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:er("sizes",me.px),sizesT:er("sizes",me.fraction),shadows:er("shadows"),logical:Iw,blur:er("blur",me.blur)},_u={background:T.colors("background"),backgroundColor:T.colors("backgroundColor"),backgroundImage:T.propT("backgroundImage",me.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:me.bgClip},bgSize:T.prop("backgroundSize"),bgPosition:T.prop("backgroundPosition"),bg:T.colors("background"),bgColor:T.colors("backgroundColor"),bgPos:T.prop("backgroundPosition"),bgRepeat:T.prop("backgroundRepeat"),bgAttachment:T.prop("backgroundAttachment"),bgGradient:T.propT("backgroundImage",me.gradient),bgClip:{transform:me.bgClip}};Object.assign(_u,{bgImage:_u.backgroundImage,bgImg:_u.backgroundImage});var pe={border:T.borders("border"),borderWidth:T.borderWidths("borderWidth"),borderStyle:T.borderStyles("borderStyle"),borderColor:T.colors("borderColor"),borderRadius:T.radii("borderRadius"),borderTop:T.borders("borderTop"),borderBlockStart:T.borders("borderBlockStart"),borderTopLeftRadius:T.radii("borderTopLeftRadius"),borderStartStartRadius:T.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:T.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:T.radii("borderTopRightRadius"),borderStartEndRadius:T.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:T.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:T.borders("borderRight"),borderInlineEnd:T.borders("borderInlineEnd"),borderBottom:T.borders("borderBottom"),borderBlockEnd:T.borders("borderBlockEnd"),borderBottomLeftRadius:T.radii("borderBottomLeftRadius"),borderBottomRightRadius:T.radii("borderBottomRightRadius"),borderLeft:T.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:T.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:T.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:T.borders(["borderLeft","borderRight"]),borderInline:T.borders("borderInline"),borderY:T.borders(["borderTop","borderBottom"]),borderBlock:T.borders("borderBlock"),borderTopWidth:T.borderWidths("borderTopWidth"),borderBlockStartWidth:T.borderWidths("borderBlockStartWidth"),borderTopColor:T.colors("borderTopColor"),borderBlockStartColor:T.colors("borderBlockStartColor"),borderTopStyle:T.borderStyles("borderTopStyle"),borderBlockStartStyle:T.borderStyles("borderBlockStartStyle"),borderBottomWidth:T.borderWidths("borderBottomWidth"),borderBlockEndWidth:T.borderWidths("borderBlockEndWidth"),borderBottomColor:T.colors("borderBottomColor"),borderBlockEndColor:T.colors("borderBlockEndColor"),borderBottomStyle:T.borderStyles("borderBottomStyle"),borderBlockEndStyle:T.borderStyles("borderBlockEndStyle"),borderLeftWidth:T.borderWidths("borderLeftWidth"),borderInlineStartWidth:T.borderWidths("borderInlineStartWidth"),borderLeftColor:T.colors("borderLeftColor"),borderInlineStartColor:T.colors("borderInlineStartColor"),borderLeftStyle:T.borderStyles("borderLeftStyle"),borderInlineStartStyle:T.borderStyles("borderInlineStartStyle"),borderRightWidth:T.borderWidths("borderRightWidth"),borderInlineEndWidth:T.borderWidths("borderInlineEndWidth"),borderRightColor:T.colors("borderRightColor"),borderInlineEndColor:T.colors("borderInlineEndColor"),borderRightStyle:T.borderStyles("borderRightStyle"),borderInlineEndStyle:T.borderStyles("borderInlineEndStyle"),borderTopRadius:T.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:T.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:T.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:T.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(pe,{rounded:pe.borderRadius,roundedTop:pe.borderTopRadius,roundedTopLeft:pe.borderTopLeftRadius,roundedTopRight:pe.borderTopRightRadius,roundedTopStart:pe.borderStartStartRadius,roundedTopEnd:pe.borderStartEndRadius,roundedBottom:pe.borderBottomRadius,roundedBottomLeft:pe.borderBottomLeftRadius,roundedBottomRight:pe.borderBottomRightRadius,roundedBottomStart:pe.borderEndStartRadius,roundedBottomEnd:pe.borderEndEndRadius,roundedLeft:pe.borderLeftRadius,roundedRight:pe.borderRightRadius,roundedStart:pe.borderInlineStartRadius,roundedEnd:pe.borderInlineEndRadius,borderStart:pe.borderInlineStart,borderEnd:pe.borderInlineEnd,borderTopStartRadius:pe.borderStartStartRadius,borderTopEndRadius:pe.borderStartEndRadius,borderBottomStartRadius:pe.borderEndStartRadius,borderBottomEndRadius:pe.borderEndEndRadius,borderStartRadius:pe.borderInlineStartRadius,borderEndRadius:pe.borderInlineEndRadius,borderStartWidth:pe.borderInlineStartWidth,borderEndWidth:pe.borderInlineEndWidth,borderStartColor:pe.borderInlineStartColor,borderEndColor:pe.borderInlineEndColor,borderStartStyle:pe.borderInlineStartStyle,borderEndStyle:pe.borderInlineEndStyle});var Kw={color:T.colors("color"),textColor:T.colors("color"),fill:T.colors("fill"),stroke:T.colors("stroke")},I0={boxShadow:T.shadows("boxShadow"),mixBlendMode:!0,blendMode:T.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:T.prop("backgroundBlendMode"),opacity:!0};Object.assign(I0,{shadow:I0.boxShadow});var qw={filter:{transform:me.filter},blur:T.blur("--chakra-blur"),brightness:T.propT("--chakra-brightness",me.brightness),contrast:T.propT("--chakra-contrast",me.contrast),hueRotate:T.degreeT("--chakra-hue-rotate"),invert:T.propT("--chakra-invert",me.invert),saturate:T.propT("--chakra-saturate",me.saturate),dropShadow:T.propT("--chakra-drop-shadow",me.dropShadow),backdropFilter:{transform:me.backdropFilter},backdropBlur:T.blur("--chakra-backdrop-blur"),backdropBrightness:T.propT("--chakra-backdrop-brightness",me.brightness),backdropContrast:T.propT("--chakra-backdrop-contrast",me.contrast),backdropHueRotate:T.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:T.propT("--chakra-backdrop-invert",me.invert),backdropSaturate:T.propT("--chakra-backdrop-saturate",me.saturate)},Tu={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:me.flexDirection},experimental_spaceX:{static:zw,transform:$a({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:Hw,transform:$a({scale:"space",transform:function(t){return t!=null?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:T.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:T.space("gap"),rowGap:T.space("rowGap"),columnGap:T.space("columnGap")};Object.assign(Tu,{flexDir:Tu.flexDirection});var u5={gridGap:T.space("gridGap"),gridColumnGap:T.space("gridColumnGap"),gridRowGap:T.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},Xw={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:me.outline},outlineOffset:!0,outlineColor:T.colors("outlineColor")},Wt={width:T.sizesT("width"),inlineSize:T.sizesT("inlineSize"),height:T.sizes("height"),blockSize:T.sizes("blockSize"),boxSize:T.sizes(["width","height"]),minWidth:T.sizes("minWidth"),minInlineSize:T.sizes("minInlineSize"),minHeight:T.sizes("minHeight"),minBlockSize:T.sizes("minBlockSize"),maxWidth:T.sizes("maxWidth"),maxInlineSize:T.sizes("maxInlineSize"),maxHeight:T.sizes("maxHeight"),maxBlockSize:T.sizes("maxBlockSize"),d:T.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:T.propT("float",me.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Wt,{w:Wt.width,h:Wt.height,minW:Wt.minWidth,maxW:Wt.maxWidth,minH:Wt.minHeight,maxH:Wt.maxHeight,overscroll:Wt.overscrollBehavior,overscrollX:Wt.overscrollBehaviorX,overscrollY:Wt.overscrollBehaviorY});var Qw={listStyleType:!0,listStylePosition:!0,listStylePos:T.prop("listStylePosition"),listStyleImage:!0,listStyleImg:T.prop("listStyleImage")},Jw={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},eC={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},D0=function(t,r,n){var i={},o=cs(t,r,{});for(var a in o){var l=a in n&&n[a]!=null;l||(i[a]=o[a])}return i},tC={srOnly:{transform:function(t){return t===!0?Jw:t==="focusable"?eC:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return D0(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return D0(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return D0(r,t,n)}}},Ba={position:!0,pos:T.prop("position"),zIndex:T.prop("zIndex","zIndices"),inset:T.spaceT("inset"),insetX:T.spaceT(["left","right"]),insetInline:T.spaceT("insetInline"),insetY:T.spaceT(["top","bottom"]),insetBlock:T.spaceT("insetBlock"),top:T.spaceT("top"),insetBlockStart:T.spaceT("insetBlockStart"),bottom:T.spaceT("bottom"),insetBlockEnd:T.spaceT("insetBlockEnd"),left:T.spaceT("left"),insetInlineStart:T.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:T.spaceT("right"),insetInlineEnd:T.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Ba,{insetStart:Ba.insetInlineStart,insetEnd:Ba.insetInlineEnd});var rC={ring:{transform:me.ring},ringColor:T.colors("--chakra-ring-color"),ringOffset:T.prop("--chakra-ring-offset-width"),ringOffsetColor:T.colors("--chakra-ring-offset-color"),ringInset:T.prop("--chakra-ring-inset")},Pe={margin:T.spaceT("margin"),marginTop:T.spaceT("marginTop"),marginBlockStart:T.spaceT("marginBlockStart"),marginRight:T.spaceT("marginRight"),marginInlineEnd:T.spaceT("marginInlineEnd"),marginBottom:T.spaceT("marginBottom"),marginBlockEnd:T.spaceT("marginBlockEnd"),marginLeft:T.spaceT("marginLeft"),marginInlineStart:T.spaceT("marginInlineStart"),marginX:T.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:T.spaceT("marginInline"),marginY:T.spaceT(["marginTop","marginBottom"]),marginBlock:T.spaceT("marginBlock"),padding:T.space("padding"),paddingTop:T.space("paddingTop"),paddingBlockStart:T.space("paddingBlockStart"),paddingRight:T.space("paddingRight"),paddingBottom:T.space("paddingBottom"),paddingBlockEnd:T.space("paddingBlockEnd"),paddingLeft:T.space("paddingLeft"),paddingInlineStart:T.space("paddingInlineStart"),paddingInlineEnd:T.space("paddingInlineEnd"),paddingX:T.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:T.space("paddingInline"),paddingY:T.space(["paddingTop","paddingBottom"]),paddingBlock:T.space("paddingBlock")};Object.assign(Pe,{m:Pe.margin,mt:Pe.marginTop,mr:Pe.marginRight,me:Pe.marginInlineEnd,marginEnd:Pe.marginInlineEnd,mb:Pe.marginBottom,ml:Pe.marginLeft,ms:Pe.marginInlineStart,marginStart:Pe.marginInlineStart,mx:Pe.marginX,my:Pe.marginY,p:Pe.padding,pt:Pe.paddingTop,py:Pe.paddingY,px:Pe.paddingX,pb:Pe.paddingBottom,pl:Pe.paddingLeft,ps:Pe.paddingInlineStart,paddingStart:Pe.paddingInlineStart,pr:Pe.paddingRight,pe:Pe.paddingInlineEnd,paddingEnd:Pe.paddingInlineEnd});var nC={textDecorationColor:T.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:T.shadows("textShadow")},iC={clipPath:!0,transform:T.propT("transform",me.transform),transformOrigin:!0,translateX:T.spaceT("--chakra-translate-x"),translateY:T.spaceT("--chakra-translate-y"),skewX:T.degreeT("--chakra-skew-x"),skewY:T.degreeT("--chakra-skew-y"),scaleX:T.prop("--chakra-scale-x"),scaleY:T.prop("--chakra-scale-y"),scale:T.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:T.degreeT("--chakra-rotate")},oC={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:T.prop("transitionDuration","transition.duration"),transitionProperty:T.prop("transitionProperty","transition.property"),transitionTimingFunction:T.prop("transitionTimingFunction","transition.easing")},aC={fontFamily:T.prop("fontFamily","fonts"),fontSize:T.prop("fontSize","fontSizes",me.px),fontWeight:T.prop("fontWeight","fontWeights"),lineHeight:T.prop("lineHeight","lineHeights"),letterSpacing:T.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(t){if(t===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},lC={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:T.spaceT("scrollMargin"),scrollMarginTop:T.spaceT("scrollMarginTop"),scrollMarginBottom:T.spaceT("scrollMarginBottom"),scrollMarginLeft:T.spaceT("scrollMarginLeft"),scrollMarginRight:T.spaceT("scrollMarginRight"),scrollMarginX:T.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:T.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:T.spaceT("scrollPadding"),scrollPaddingTop:T.spaceT("scrollPaddingTop"),scrollPaddingBottom:T.spaceT("scrollPaddingBottom"),scrollPaddingLeft:T.spaceT("scrollPaddingLeft"),scrollPaddingRight:T.spaceT("scrollPaddingRight"),scrollPaddingX:T.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:T.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function c5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function sC(e,t){if(!!e){if(typeof e=="string")return c5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c5(e,t)}}function uC(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=sC(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
319
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var rt={hover:function(t,r){return t+":hover "+r+", "+t+"[data-hover] "+r},focus:function(t,r){return t+":focus "+r+", "+t+"[data-focus] "+r},focusVisible:function(t,r){return t+":focus-visible "+r},focusWithin:function(t,r){return t+":focus-within "+r},active:function(t,r){return t+":active "+r+", "+t+"[data-active] "+r},disabled:function(t,r){return t+":disabled "+r+", "+t+"[data-disabled] "+r},invalid:function(t,r){return t+":invalid "+r+", "+t+"[data-invalid] "+r},checked:function(t,r){return t+":checked "+r+", "+t+"[data-checked] "+r},indeterminate:function(t,r){return t+":indeterminate "+r+", "+t+"[aria-checked=mixed] "+r+", "+t+"[data-indeterminate] "+r},readOnly:function(t,r){return t+":read-only "+r+", "+t+"[readonly] "+r+", "+t+"[data-read-only] "+r},expanded:function(t,r){return t+":read-only "+r+", "+t+"[aria-expanded=true] "+r+", "+t+"[data-expanded] "+r},placeholderShown:function(t,r){return t+":placeholder-shown "+r}},bn=function(t){return d5(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},Dr=function(t){return d5(function(r){return t(r,"~ &")},"[data-peer]",".peer")},d5=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(t).join(", ")},Na={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_disabled:"&[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:bn(rt.hover),_peerHover:Dr(rt.hover),_groupFocus:bn(rt.focus),_peerFocus:Dr(rt.focus),_groupFocusVisible:bn(rt.focusVisible),_peerFocusVisible:Dr(rt.focusVisible),_groupActive:bn(rt.active),_peerActive:Dr(rt.active),_groupDisabled:bn(rt.disabled),_peerDisabled:Dr(rt.disabled),_groupInvalid:bn(rt.invalid),_peerInvalid:Dr(rt.invalid),_groupChecked:bn(rt.checked),_peerChecked:Dr(rt.checked),_groupFocusWithin:bn(rt.focusWithin),_peerFocusWithin:Dr(rt.focusWithin),_peerPlaceholderShown:Dr(rt.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},cC=gd(Na),R0=Vt({},_u,pe,Kw,Tu,Wt,qw,rC,Xw,u5,tC,Ba,I0,Pe,lC,aC,nC,iC,Qw,oC);Object.assign({},Pe,Wt,Tu,u5,Ba);var dC=[].concat(gd(R0),cC),fC=Va({},R0,Na),pC=function(t){return t in fC},hC=function(t){return function(r){if(!r.__breakpoints)return t;var n=r.__breakpoints,i=n.isResponsive,o=n.toArrayValue,a=n.media,l={};for(var s in t){var u=Mt(t[s],r);if(u!=null){if(u=gt(u)&&i(u)?o(u):u,!Array.isArray(u)){l[s]=u;continue}for(var c=u.slice(0,a.length).length,p=0;p<c;p+=1){var f=a==null?void 0:a[p];if(!f){l[s]=u[p];continue}l[f]=l[f]||{},u[p]!=null&&(l[f][s]=u[p])}}}return l}},vC=function(t,r){return t.startsWith("--")&&ss(r)&&!Iv(r)},mC=function(t,r){var n,i;if(r==null)return r;var o=function(p){var f,h;return(f=t.__cssMap)==null||(h=f[p])==null?void 0:h.varRef},a=function(p){var f;return(f=o(p))!=null?f:p},l=r.split(",").map(function(c){return c.trim()}),s=l[0],u=l[1];return r=(n=(i=o(s))!=null?i:a(u))!=null?n:a(r),r};function gC(e){var t=e.configs,r=t===void 0?{}:t,n=e.pseudos,i=n===void 0?{}:n,o=e.theme,a=function l(s,u){u===void 0&&(u=!1);var c=Mt(s,o),p=hC(c)(o),f={};for(var h in p){var m,y,v,g,b,w=p[h],C=Mt(w,o);h in i&&(h=i[h]),vC(h,C)&&(C=mC(o,C));var k=r[h];if(k===!0&&(k={property:h}),gt(C)){var _;f[h]=(_=f[h])!=null?_:{},f[h]=Vt({},f[h],l(C,!0));continue}var E=(m=(y=k)==null||y.transform==null?void 0:y.transform(C,o,c))!=null?m:C;E=(v=k)!=null&&v.processResult?l(E,!0):E;var M=Mt((g=k)==null?void 0:g.property,o);if(!u&&(b=k)!=null&&b.static){var O=Mt(k.static,o);f=Vt({},f,O)}if(M&&Array.isArray(M)){for(var V=uC(M),Z;!(Z=V()).done;){var G=Z.value;f[G]=E}continue}if(M){M==="&"&>(E)?f=Vt({},f,E):f[M]=E;continue}if(gt(E)){f=Vt({},f,E);continue}f[h]=E}return f};return a}var f5=function(t){return function(r){var n=gC({theme:r,pseudos:Na,configs:R0});return n(t)}};function p5(e){return gt(e)&&e.reference?e.reference:String(e)}var Pu=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(p5).join(" "+t+" ").replace(/calc/g,"")},h5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Pu.apply(void 0,["+"].concat(r))+")"},v5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Pu.apply(void 0,["-"].concat(r))+")"},V0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Pu.apply(void 0,["*"].concat(r))+")"},m5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Pu.apply(void 0,["/"].concat(r))+")"},g5=function(t){var r=p5(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:V0(r,-1)},ei=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return ei(h5.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return ei(v5.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return ei(V0.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return ei(m5.apply(void 0,[e].concat(n)))},negate:function(){return ei(g5(e))},toString:function(){return e.toString()}}},{add:h5,subtract:v5,multiply:V0,divide:m5,negate:g5});function yC(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function y5(e){var t=yC(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function bC(e,t){return t===void 0&&(t=""),[t,y5(e)].filter(Boolean).join("-")}function xC(e,t){return"var("+y5(e)+(t?", "+t:"")+")"}function wC(e,t){return t===void 0&&(t=""),"--"+bC(e,t)}function CC(e,t,r){var n=wC(e,r);return{variable:n,reference:xC(n,t)}}function b5(e,t){return CC(String(e).replace(/\./g,"-"),void 0,t)}function SC(e,t){for(var r={},n={},i=function(){var u=a[o],c=u[0],p=u[1],f=p.isSemantic,h=p.value,m=b5(c,t==null?void 0:t.cssVarPrefix),y=m.variable,v=m.reference;if(!f){if(c.startsWith("space")){var g=c.split("."),b=g[0],w=g.slice(1),C=b+".-"+w.join("."),k=ei.negate(h),_=ei.negate(v);n[C]={value:k,var:y,varRef:_}}return r[y]=h,n[c]={value:h,var:y,varRef:v},"continue"}var E=function(V){var Z=String(c).split(".")[0],G=[Z,V].join("."),U=e[G];if(!U)return V;var Y=b5(G,t==null?void 0:t.cssVarPrefix),Q=Y.reference;return Q},M=gt(h)?h:{default:h};r=Vt(r,Object.entries(M).reduce(function(O,V){var Z,G,U=V[0],Y=V[1],Q=E(Y);if(U==="default")return O[y]=Q,O;var J=(Z=Na==null?void 0:Na[U])!=null?Z:U;return O[J]=(G={},G[y]=Q,G),O},{})),n[c]={value:v,var:y,varRef:v}},o=0,a=Object.entries(e);o<a.length;o++)var l=i();return{cssVars:r,cssMap:n}}function kC(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var EC=["__cssMap","__cssVars","__breakpoints"],_C=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function TC(e){var t=_C;return Dv(e,t)}function PC(e){return e.semanticTokens}function MC(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=kC(e,EC);return t}function OC(e){var t,r,n=e.tokens,i=e.semanticTokens,o=Object.entries((t=wd(n))!=null?t:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!1,value:u};return[s,c]}),a=Object.entries((r=wd(i,1))!=null?r:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!0,value:u};return[s,c]});return ds([].concat(o,a))}function LC(e){var t,r=MC(e),n=TC(r),i=PC(r),o=OC({tokens:n,semanticTokens:i}),a=(t=r.config)==null?void 0:t.cssVarPrefix,l=SC(o,{cssVarPrefix:a}),s=l.cssMap,u=l.cssVars,c={"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"};return Object.assign(r,{__cssVars:Va({},c,u),__cssMap:s,__breakpoints:kb(r.breakpoints)}),r}var AC=typeof Element!="undefined",FC=typeof Map=="function",IC=typeof Set=="function",DC=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Mu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Mu(e[n],t[n]))return!1;return!0}var o;if(FC&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!Mu(n.value[1],t.get(n.value[0])))return!1;return!0}if(IC&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(DC&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;if(AC&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!Mu(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var RC=function(t,r){try{return Mu(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},VC=/^((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)-.*))$/,$C=gv(function(e){return VC.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),BC=$C,NC=function(t){return t!=="theme"},x5=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?BC:NC},w5=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},zC=x["useInsertionEffect"]?x["useInsertionEffect"]:function(t){t()};function HC(e){zC(e)}var jC=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ev(r,n,i),HC(function(){return _v(r,n,i)}),null},WC=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var l=w5(t,r,n),s=l||x5(i),u=!s("as");return function(){var c=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&p.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)p.push.apply(p,c);else{p.push(c[0][0]);for(var f=c.length,h=1;h<f;h++)p.push(c[h],c[0][h])}var m=Av(function(y,v,g){var b=u&&y.as||i,w="",C=[],k=y;if(y.theme==null){k={};for(var _ in y)k[_]=y[_];k.theme=A.useContext(Vo)}typeof y.className=="string"?w=eb(v.registered,C,y.className):y.className!=null&&(w=y.className+" ");var E=fd(p.concat(C),v.registered,k);w+=v.key+"-"+E.name,a!==void 0&&(w+=" "+a);var M=u&&l===void 0?x5(b):s,O={};for(var V in y)u&&V==="as"||M(V)&&(O[V]=y[V]);return O.className=w,O.ref=g,A.createElement(A.Fragment,null,A.createElement(jC,{cache:v,serialized:E,isStringTag:typeof b=="string"}),A.createElement(b,O))});return m.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=p,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(y,v){return e(y,Vn({},r,v,{shouldForwardProp:w5(m,v,!0)})).apply(void 0,p)},m}},UC=["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"],$0=WC.bind();UC.forEach(function(e){$0[e]=$0(e)});function B0(){return B0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},B0.apply(this,arguments)}var ZC=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,o=x.useMemo(function(){return LC(n)},[n]);return x.createElement(cb,{theme:o},x.createElement(GC,{root:r}),i)},GC=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return x.createElement(pd,{styles:function(a){var l;return l={},l[i]=a.__cssVars,l}})};function N0(){var e=x.useContext(Vo);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var C5=Tr({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),S5=C5[0],tr=C5[1],YC=function(){var t=i5(),r=t.colorMode;return x.createElement(pd,{styles:function(i){var o=cs(i,"styles.global"),a=Mt(o,{theme:i,colorMode:r});if(!!a){var l=f5(a)(i);return l}}})};function Rr(e){return us(e,["styleConfig","size","variant","colorScheme"])}function KC(){var e=i5(),t=N0();return B0({},e,{theme:t})}function z0(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var qC=new Set([].concat(dC,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),XC=new Set(["htmlWidth","htmlHeight","htmlSize"]),QC=function(t){return XC.has(t)||!qC.has(t)},JC=["theme","css","__css","sx"],eS=["baseStyle"],tS=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,o=n.__css,a=n.sx,l=z0(n,JC),s=Rv(l,function(f,h){return pC(h)}),u=Mt(r,n),c=Object.assign({},o,u,md(s),a),p=f5(c)(n.theme);return i?[p,i]:p}};function H0(e,t){var r=t!=null?t:{},n=r.baseStyle,i=z0(r,eS);i.shouldForwardProp||(i.shouldForwardProp=QC);var o=tS({baseStyle:n});return $0(e,i)(o)}function ge(e){return x.forwardRef(e)}var rS=["styleConfig"];function xn(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,o=i.styleConfig,a=z0(i,rS),l=KC(),s=l.theme,u=l.colorMode,c=cs(s,"components."+e),p=o||c,f=Vt({theme:s,colorMode:u},(n=p==null?void 0:p.defaultProps)!=null?n:{},md(us(a,["children"]))),h=A.useRef({});if(p){var m,y,v,g,b,w,C=Mt((m=p.baseStyle)!=null?m:{},f),k=Mt((y=(v=p.variants)==null?void 0:v[f.variant])!=null?y:{},f),_=Mt((g=(b=p.sizes)==null?void 0:b[f.size])!=null?g:{},f),E=Vt({},C,_,k);(w=r)!=null&&w.isMultiPart&&p.parts&&p.parts.forEach(function(O){var V;E[O]=(V=E[O])!=null?V:{}});var M=RC(h.current,E);M||(h.current=E)}return h.current}function j0(e,t){return xn(e,t,{isMultiPart:!0})}function nS(){var e=new Map;return new Proxy(H0,{apply:function(r,n,i){return H0.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,H0(n)),e.get(n)}})}var ee=nS(),iS=function(t){var r=t.children,n=t.colorModeManager,i=t.portalZIndex,o=t.resetCSS,a=o===void 0?!0:o,l=t.theme,s=l===void 0?{}:l,u=t.environment,c=t.cssVarsRoot,p=x.createElement(Sw,{environment:u},r);return x.createElement(Xb,null,x.createElement(ZC,{theme:s,cssVarsRoot:c},x.createElement(Lw,{colorModeManager:n,options:s.config},a&&x.createElement(pb,null),x.createElement(YC,null),i?x.createElement(lw,{zIndex:i},p):p)))},k5={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};function He(){return He=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},He.apply(this,arguments)}var oS={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem"},aS={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},E5=He({},k5,oS,{container:aS});function nt(e,t){lS(e)&&(e="100%");var r=sS(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Ou(e){return Math.min(1,Math.max(0,e))}function lS(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function sS(e){return typeof e=="string"&&e.indexOf("%")!==-1}function _5(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Lu(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ti(e){return e.length===1?"0"+e:String(e)}function uS(e,t,r){return{r:nt(e,255)*255,g:nt(t,255)*255,b:nt(r,255)*255}}function T5(e,t,r){e=nt(e,255),t=nt(t,255),r=nt(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=0,l=(n+i)/2;if(n===i)a=0,o=0;else{var s=n-i;switch(a=l>.5?s/(2-n-i):s/(n+i),n){case e:o=(t-r)/s+(t<r?6:0);break;case t:o=(r-e)/s+2;break;case r:o=(e-t)/s+4;break}o/=6}return{h:o,s:a,l}}function W0(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function cS(e,t,r){var n,i,o;if(e=nt(e,360),t=nt(t,100),r=nt(r,100),t===0)i=r,o=r,n=r;else{var a=r<.5?r*(1+t):r+t-r*t,l=2*r-a;n=W0(l,a,e+1/3),i=W0(l,a,e),o=W0(l,a,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function P5(e,t,r){e=nt(e,255),t=nt(t,255),r=nt(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=n,l=n-i,s=n===0?0:l/n;if(n===i)o=0;else{switch(n){case e:o=(t-r)/l+(t<r?6:0);break;case t:o=(r-e)/l+2;break;case r:o=(e-t)/l+4;break}o/=6}return{h:o,s,v:a}}function dS(e,t,r){e=nt(e,360)*6,t=nt(t,100),r=nt(r,100);var n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),l=r*(1-(1-i)*t),s=n%6,u=[r,a,o,o,l,r][s],c=[l,r,r,a,o,o][s],p=[o,o,l,r,r,a][s];return{r:u*255,g:c*255,b:p*255}}function M5(e,t,r,n){var i=[ti(Math.round(e).toString(16)),ti(Math.round(t).toString(16)),ti(Math.round(r).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function fS(e,t,r,n,i){var o=[ti(Math.round(e).toString(16)),ti(Math.round(t).toString(16)),ti(Math.round(r).toString(16)),ti(pS(n))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function pS(e){return Math.round(parseFloat(e)*255).toString(16)}function O5(e){return At(e)/255}function At(e){return parseInt(e,16)}function hS(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var U0={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function vS(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,l=!1;return typeof e=="string"&&(e=yS(e)),typeof e=="object"&&(Vr(e.r)&&Vr(e.g)&&Vr(e.b)?(t=uS(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Vr(e.h)&&Vr(e.s)&&Vr(e.v)?(n=Lu(e.s),i=Lu(e.v),t=dS(e.h,n,i),a=!0,l="hsv"):Vr(e.h)&&Vr(e.s)&&Vr(e.l)&&(n=Lu(e.s),o=Lu(e.l),t=cS(e.h,n,o),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=_5(r),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var mS="[-\\+]?\\d+%?",gS="[-\\+]?\\d*\\.\\d+%?",wn="(?:".concat(gS,")|(?:").concat(mS,")"),Z0="[\\s|\\(]+(".concat(wn,")[,|\\s]+(").concat(wn,")[,|\\s]+(").concat(wn,")\\s*\\)?"),G0="[\\s|\\(]+(".concat(wn,")[,|\\s]+(").concat(wn,")[,|\\s]+(").concat(wn,")[,|\\s]+(").concat(wn,")\\s*\\)?"),rr={CSS_UNIT:new RegExp(wn),rgb:new RegExp("rgb"+Z0),rgba:new RegExp("rgba"+G0),hsl:new RegExp("hsl"+Z0),hsla:new RegExp("hsla"+G0),hsv:new RegExp("hsv"+Z0),hsva:new RegExp("hsva"+G0),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function yS(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(U0[e])e=U0[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=rr.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=rr.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=rr.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=rr.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=rr.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=rr.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=rr.hex8.exec(e),r?{r:At(r[1]),g:At(r[2]),b:At(r[3]),a:O5(r[4]),format:t?"name":"hex8"}:(r=rr.hex6.exec(e),r?{r:At(r[1]),g:At(r[2]),b:At(r[3]),format:t?"name":"hex"}:(r=rr.hex4.exec(e),r?{r:At(r[1]+r[1]),g:At(r[2]+r[2]),b:At(r[3]+r[3]),a:O5(r[4]+r[4]),format:t?"name":"hex8"}:(r=rr.hex3.exec(e),r?{r:At(r[1]+r[1]),g:At(r[2]+r[2]),b:At(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Vr(e){return Boolean(rr.CSS_UNIT.exec(String(e)))}var za=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=hS(t)),this.originalInput=t;var i=vS(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,i,o=t.r/255,a=t.g/255,l=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=_5(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=P5(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=P5(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=T5(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=T5(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),M5(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),fS(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(nt(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(nt(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+M5(this.r,this.g,this.b,!1),r=0,n=Object.entries(U0);r<n.length;r++){var i=n[r],o=i[0],a=i[1];if(t===a)return o}return!1},e.prototype.toString=function(t){var r=Boolean(t);t=t!=null?t:this.format;var n=!1,i=this.a<1&&this.a>=0,o=!r&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=Ou(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=Ou(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=Ou(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=Ou(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),i=new e(t).toRgb(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,o=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,i=r.s,o=r.v,a=[],l=1/t;t--;)a.push(new e({h:n,s:i,v:o})),o=(o+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),i=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,i=[this],o=360/t,a=1;a<t;a++)i.push(new e({h:(n+a*o)%360,s:r.s,l:r.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function L5(e){if(e===void 0&&(e={}),e.count!==void 0&&e.count!==null){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(L5(e));return e.count=t,r}var n=bS(e.hue,e.seed),i=xS(n,e),o=wS(n,i,e),a={h:n,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new za(a)}function bS(e,t){var r=SS(e),n=Au(r,t);return n<0&&(n=360+n),n}function xS(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return Au([0,100],t.seed);var r=A5(e).saturationRange,n=r[0],i=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=i-10;break;case"light":i=55;break}return Au([n,i],t.seed)}function wS(e,t,r){var n=CS(e,t),i=100;switch(r.luminosity){case"dark":i=n+20;break;case"light":n=(i+n)/2;break;case"random":n=0,i=100;break}return Au([n,i],r.seed)}function CS(e,t){for(var r=A5(e).lowerBounds,n=0;n<r.length-1;n++){var i=r[n][0],o=r[n][1],a=r[n+1][0],l=r[n+1][1];if(t>=i&&t<=a){var s=(l-o)/(a-i),u=o-s*i;return s*t+u}}return 0}function SS(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=I5.find(function(a){return a.name===e});if(r){var n=F5(r);if(n.hueRange)return n.hueRange}var i=new za(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function A5(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=I5;t<r.length;t++){var n=r[t],i=F5(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function Au(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(n+i*(r-n))}function F5(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,i]}}var I5=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],Ge=function(t,r,n){var i=cs(t,"colors."+r,r),o=new za(i),a=o.isValid;return a?i:n},kS=function(t){return function(r){var n=Ge(r,t),i=new za(n).isDark();return i?"dark":"light"}},ES=function(t){return function(r){return kS(t)(r)==="dark"}},eo=function(t,r){return function(n){var i=Ge(n,t);return new za(i).setAlpha(r).toRgbString()}};function D5(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient(
|
|
320
|
+
45deg,
|
|
321
|
+
`+t+` 25%,
|
|
322
|
+
transparent 25%,
|
|
323
|
+
transparent 50%,
|
|
324
|
+
`+t+` 50%,
|
|
325
|
+
`+t+` 75%,
|
|
326
|
+
transparent 75%,
|
|
327
|
+
transparent
|
|
328
|
+
)`,backgroundSize:e+" "+e}}function _S(e){var t=L5().toHexString();return!e||gb(e)?t:e.string&&e.colors?PS(e.string,e.colors):e.string&&!e.colors?TS(e.string):e.colors&&!e.string?MS(e.colors):t}function TS(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;for(var n="#",i=0;i<3;i+=1){var o=t>>i*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function PS(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r=r&r;return r=(r%t.length+t.length)%t.length,t[r]}function MS(e){return e[Math.floor(Math.random()*e.length)]}function B(e,t){return function(r){return r.colorMode==="dark"?t:e}}function Ha(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return t?t==="vertical"?r:n:{}}function Y0(){return Y0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y0.apply(this,arguments)}var OS=function(t){return Uv({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),Y0({base:"0em"},t)};function R5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LS(e,t,r){return t&&R5(e.prototype,t),r&&R5(e,r),e}var AS=function(){function e(t){var r=this;this.map={},this.called=!1,this.assert=function(){if(!r.called){r.called=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")},this.parts=function(){r.assert();for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];r.map[s]=r.toPart(s)}return r},this.extend=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];s in r.map||(r.map[s]=r.toPart(s))}return r},this.toPart=function(n){var i=["container","root"].includes(n!=null?n:"")?[r.name]:[r.name,n],o=i.filter(Boolean).join("__"),a="chakra-"+o,l={className:a,selector:"."+a,toString:function(){return n}};return l},this.__type={}}return LS(e,[{key:"selectors",get:function(){var r=ds(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.selector]}));return r}},{key:"classNames",get:function(){var r=ds(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.className]}));return r}},{key:"keys",get:function(){return Object.keys(this.map)}}]),e}();function xe(e){return new AS(e)}function V5(e){return gt(e)&&e.reference?e.reference:String(e)}var Fu=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(V5).join(" "+t+" ").replace(/calc/g,"")},$5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Fu.apply(void 0,["+"].concat(r))+")"},B5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Fu.apply(void 0,["-"].concat(r))+")"},K0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Fu.apply(void 0,["*"].concat(r))+")"},N5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Fu.apply(void 0,["/"].concat(r))+")"},z5=function(t){var r=V5(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:K0(r,-1)},$r=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return $r($5.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return $r(B5.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return $r(K0.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return $r(N5.apply(void 0,[e].concat(n)))},negate:function(){return $r(z5(e))},toString:function(){return e.toString()}}},{add:$5,subtract:B5,multiply:K0,divide:N5,negate:z5});function FS(e){return!Number.isInteger(parseFloat(e.toString()))}function IS(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function H5(e){var t=IS(e.toString());return t.includes("\\.")?e:FS(e)?t.replace(".","\\."):e}function DS(e,t){return t===void 0&&(t=""),[t,H5(e)].filter(Boolean).join("-")}function RS(e,t){return"var("+H5(e)+(t?", "+t:"")+")"}function VS(e,t){return t===void 0&&(t=""),"--"+DS(e,t)}function Ft(e,t){var r=VS(e,t==null?void 0:t.prefix);return{variable:r,reference:RS(r,$S(t==null?void 0:t.fallback))}}function $S(e){return typeof e=="string"?e:e==null?void 0:e.reference}var BS=xe("accordion").parts("root","container","button","panel").extend("icon"),NS=xe("alert").parts("title","description","container").extend("icon"),zS=xe("avatar").parts("label","badge","container").extend("excessLabel","group"),HS=xe("breadcrumb").parts("link","item","container").extend("separator");xe("button").parts();var jS=xe("checkbox").parts("control","icon","container").extend("label");xe("progress").parts("track","filledTrack").extend("label");var WS=xe("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),US=xe("editable").parts("preview","input","textarea"),ZS=xe("form").parts("container","requiredIndicator","helperText"),GS=xe("formError").parts("text","icon"),YS=xe("input").parts("addon","field","element"),KS=xe("list").parts("container","item","icon"),qS=xe("menu").parts("button","list","item").extend("groupTitle","command","divider"),XS=xe("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),QS=xe("numberinput").parts("root","field","stepperGroup","stepper");xe("pininput").parts("field");var JS=xe("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),ek=xe("progress").parts("label","filledTrack","track"),tk=xe("radio").parts("container","control","label"),rk=xe("select").parts("field","icon"),nk=xe("slider").parts("container","track","thumb","filledTrack"),ik=xe("stat").parts("container","label","helpText","number","icon"),ok=xe("switch").parts("container","track","thumb"),ak=xe("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),lk=xe("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),sk=xe("tag").parts("container","label","closeButton"),j5={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},uk={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},ck={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},dk={pt:2,px:4,pb:5},fk={fontSize:"1.25em"},pk={root:{},container:uk,button:ck,panel:dk,icon:fk},hk={parts:BS.keys,baseStyle:pk},vk={container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}};function q0(e){var t=e.theme,r=e.colorScheme,n=Ge(t,r+".100",r),i=eo(r+".200",.16)(t);return B(n,i)(e)}var mk=function(t){var r=t.colorScheme;return{container:{bg:q0(t)},icon:{color:B(r+".500",r+".200")(t)}}},gk=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:B(r+".500",r+".200")(t),bg:q0(t)},icon:{color:B(r+".500",r+".200")(t)}}},yk=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:B(r+".500",r+".200")(t),bg:q0(t)},icon:{color:B(r+".500",r+".200")(t)}}},bk=function(t){var r=t.colorScheme;return{container:{bg:B(r+".500",r+".200")(t),color:B("white","gray.900")(t)}}},xk={subtle:mk,"left-accent":gk,"top-accent":yk,solid:bk},wk={variant:"subtle",colorScheme:"blue"},Ck={parts:NS.keys,baseStyle:vk,variants:xk,defaultProps:wk},Sk=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:B("white","gray.800")(t)}},kk=function(t){return{bg:B("gray.200","whiteAlpha.400")(t)}},Ek=function(t){var r=t.name,n=t.theme,i=r?_S({string:r}):"gray.400",o=ES(i)(n),a="white";o||(a="gray.800");var l=B("white","gray.800")(t);return{bg:i,color:a,borderColor:l,verticalAlign:"top"}},_k=function(t){return{badge:Sk(t),excessLabel:kk(t),container:Ek(t)}};function Cn(e){var t=E5[e];return{container:{width:e,height:e,fontSize:"calc("+(t!=null?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(t!=null?t:e)+" / 2.5)",lineHeight:e!=="100%"?t!=null?t:e:void 0}}}var Tk={"2xs":Cn("4"),xs:Cn("6"),sm:Cn("8"),md:Cn("12"),lg:Cn("16"),xl:Cn("24"),"2xl":Cn("32"),full:Cn("100%")},Pk={size:"md"},Mk={parts:zS.keys,baseStyle:_k,sizes:Tk,defaultProps:Pk},Ok={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},Lk=function(t){var r=t.colorScheme,n=t.theme,i=eo(r+".500",.6)(n);return{bg:B(r+".500",i)(t),color:B("white","whiteAlpha.800")(t)}},Ak=function(t){var r=t.colorScheme,n=t.theme,i=eo(r+".200",.16)(n);return{bg:B(r+".100",i)(t),color:B(r+".800",r+".200")(t)}},Fk=function(t){var r=t.colorScheme,n=t.theme,i=eo(r+".200",.8)(n),o=Ge(n,r+".500"),a=B(o,i)(t);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}},Ik={solid:Lk,subtle:Ak,outline:Fk},Dk={variant:"subtle",colorScheme:"gray"},to={baseStyle:Ok,variants:Ik,defaultProps:Dk},Rk={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},Vk={link:Rk},$k={parts:HS.keys,baseStyle:Vk},Bk={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},W5=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:B("inherit","whiteAlpha.900")(t),_hover:{bg:B("gray.100","whiteAlpha.200")(t)},_active:{bg:B("gray.200","whiteAlpha.300")(t)}};var i=eo(r+".200",.12)(n),o=eo(r+".200",.24)(n);return{color:B(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:B(r+".50",i)(t)},_active:{bg:B(r+".100",o)(t)}}},Nk=function(t){var r=t.colorScheme,n=B("gray.200","whiteAlpha.300")(t);return He({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},W5(t))},zk={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Hk=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=B("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:B("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:B("gray.300","whiteAlpha.400")(t)}}}var o=(r=zk[n])!=null?r:{},a=o.bg,l=a===void 0?n+".500":a,s=o.color,u=s===void 0?"white":s,c=o.hoverBg,p=c===void 0?n+".600":c,f=o.activeBg,h=f===void 0?n+".700":f,m=B(l,n+".200")(t);return{bg:m,color:B(u,"gray.800")(t),_hover:{bg:B(p,n+".300")(t),_disabled:{bg:m}},_active:{bg:B(h,n+".400")(t)}}},jk=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:B(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:B(r+".700",r+".500")(t)}}},Wk={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},Uk={ghost:W5,outline:Nk,solid:Hk,link:jk,unstyled:Wk},Zk={lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},Gk={variant:"solid",size:"md",colorScheme:"gray"},Yk={baseStyle:Bk,variants:Uk,sizes:Zk,defaultProps:Gk},Kk=function(t){var r=t.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:B(r+".500",r+".200")(t),borderColor:B(r+".500",r+".200")(t),color:B("white","gray.900")(t),_hover:{bg:B(r+".600",r+".300")(t),borderColor:B(r+".600",r+".300")(t)},_disabled:{borderColor:B("gray.200","transparent")(t),bg:B("gray.200","whiteAlpha.300")(t),color:B("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:B(r+".500",r+".200")(t),borderColor:B(r+".500",r+".200")(t),color:B("white","gray.900")(t)},_disabled:{bg:B("gray.100","whiteAlpha.100")(t),borderColor:B("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:B("red.500","red.300")(t)}}},qk={_disabled:{cursor:"not-allowed"}},Xk={userSelect:"none",_disabled:{opacity:.4}},Qk={transitionProperty:"transform",transitionDuration:"normal"},Jk=function(t){return{icon:Qk,container:qk,control:Kk(t),label:Xk}},eE={sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},tE={size:"md",colorScheme:"blue"},Iu={parts:jS.keys,baseStyle:Jk,sizes:eE,defaultProps:tE},Du,Ru,Vu,ja=Ft("close-button-size"),rE=function(t){var r=B("blackAlpha.100","whiteAlpha.100")(t),n=B("blackAlpha.200","whiteAlpha.200")(t);return{w:[ja.reference],h:[ja.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:n},_focus:{boxShadow:"outline"}}},nE={lg:(Du={},Du[ja.variable]="40px",Du.fontSize="16px",Du),md:(Ru={},Ru[ja.variable]="32px",Ru.fontSize="12px",Ru),sm:(Vu={},Vu[ja.variable]="24px",Vu.fontSize="10px",Vu)},iE={size:"md"},oE={baseStyle:rE,sizes:nE,defaultProps:iE},aE=to.variants,lE=to.defaultProps,sE={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},uE={baseStyle:sE,variants:aE,defaultProps:lE},cE={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},dE={baseStyle:cE},fE={opacity:.6,borderColor:"inherit"},pE={borderStyle:"solid"},hE={borderStyle:"dashed"},vE={solid:pE,dashed:hE},mE={variant:"solid"},gE={baseStyle:fE,variants:vE,defaultProps:mE};function ro(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var yE={bg:"blackAlpha.600",zIndex:"overlay"},bE={display:"flex",zIndex:"modal",justifyContent:"center"},xE=function(t){var r=t.isFullHeight;return He({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:B("white","gray.700")(t),color:"inherit",boxShadow:B("lg","dark-lg")(t)})},wE={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},CE={position:"absolute",top:2,insetEnd:3},SE={px:6,py:2,flex:1,overflow:"auto"},kE={px:6,py:4},EE=function(t){return{overlay:yE,dialogContainer:bE,dialog:xE(t),header:wE,closeButton:CE,body:SE,footer:kE}},_E={xs:ro("xs"),sm:ro("md"),md:ro("lg"),lg:ro("2xl"),xl:ro("4xl"),full:ro("full")},TE={size:"xs"},PE={parts:WS.keys,baseStyle:EE,sizes:_E,defaultProps:TE},ME={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},OE={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},LE={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},AE={preview:ME,input:OE,textarea:LE},FE={parts:US.keys,baseStyle:AE},IE=function(t){return{marginStart:1,color:B("red.500","red.300")(t)}},DE=function(t){return{mt:2,color:B("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},RE=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:IE(t),helperText:DE(t)}},VE={parts:ZS.keys,baseStyle:RE},$E=function(t){return{color:B("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},BE=function(t){return{marginEnd:"0.5em",color:B("red.500","red.300")(t)}},NE=function(t){return{text:$E(t),icon:BE(t)}},zE={parts:GS.keys,baseStyle:NE},HE={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},jE={baseStyle:HE},WE={fontFamily:"heading",fontWeight:"bold"},UE={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},ZE={size:"xl"},GE={baseStyle:WE,sizes:UE,defaultProps:ZE},YE={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},Sn={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},KE={lg:{field:Sn.lg,addon:Sn.lg},md:{field:Sn.md,addon:Sn.md},sm:{field:Sn.sm,addon:Sn.sm},xs:{field:Sn.xs,addon:Sn.xs}};function X0(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||B("blue.500","blue.300")(e),errorBorderColor:r||B("red.500","red.300")(e)}}var qE=function(t){var r=t.theme,n=X0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:B("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Ge(r,o),boxShadow:"0 0 0 1px "+Ge(r,o)},_focus:{zIndex:1,borderColor:Ge(r,i),boxShadow:"0 0 0 1px "+Ge(r,i)}},addon:{border:"1px solid",borderColor:B("inherit","whiteAlpha.50")(t),bg:B("gray.100","whiteAlpha.300")(t)}}},XE=function(t){var r=t.theme,n=X0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:B("gray.100","whiteAlpha.50")(t),_hover:{bg:B("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Ge(r,o)},_focus:{bg:"transparent",borderColor:Ge(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:B("gray.100","whiteAlpha.50")(t)}}},QE=function(t){var r=t.theme,n=X0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ge(r,o),boxShadow:"0px 1px 0px 0px "+Ge(r,o)},_focus:{borderColor:Ge(r,i),boxShadow:"0px 1px 0px 0px "+Ge(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},JE={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},e_={outline:qE,filled:XE,flushed:QE,unstyled:JE},t_={size:"md",variant:"outline"},Le={parts:YS.keys,baseStyle:YE,sizes:KE,variants:e_,defaultProps:t_},r_=function(t){return{bg:B("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},n_={baseStyle:r_},i_={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},o_={baseStyle:i_},a_={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},l_={container:{},item:{},icon:a_},s_={parts:KS.keys,baseStyle:l_},u_=function(t){return{bg:B("#fff","gray.700")(t),boxShadow:B("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},c_=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:B("gray.100","whiteAlpha.100")(t)},_active:{bg:B("gray.200","whiteAlpha.200")(t)},_expanded:{bg:B("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},d_={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},f_={opacity:.6},p_={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},h_={transitionProperty:"common",transitionDuration:"normal"},v_=function(t){return{button:h_,list:u_(t),item:c_(t),groupTitle:d_,command:f_,divider:p_}},m_={parts:qS.keys,baseStyle:v_},g_={bg:"blackAlpha.600",zIndex:"modal"},y_=function(t){var r=t.isCentered,n=t.scrollBehavior;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},b_=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:B("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:B("lg","dark-lg")(t)}},x_={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},w_={position:"absolute",top:2,insetEnd:3},C_=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},S_={px:6,py:4},k_=function(t){return{overlay:g_,dialogContainer:y_(t),dialog:b_(t),header:x_,closeButton:w_,body:C_(t),footer:S_}};function nr(e){return e==="full"?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var E_={xs:nr("xs"),sm:nr("sm"),md:nr("md"),lg:nr("lg"),xl:nr("xl"),"2xl":nr("2xl"),"3xl":nr("3xl"),"4xl":nr("4xl"),"5xl":nr("5xl"),"6xl":nr("6xl"),full:nr("full")},__={size:"md"},T_={parts:XS.keys,baseStyle:k_,sizes:E_,defaultProps:__},$u,U5,Z5,P_=Le.variants,M_=Le.defaultProps,Q0=Ft("number-input-stepper-width"),G5=Ft("number-input-input-padding"),O_=$r(Q0).add("0.5rem").toString(),L_=($u={},$u[Q0.variable]="24px",$u[G5.variable]=O_,$u),A_=(U5=(Z5=Le.baseStyle)==null?void 0:Z5.field)!=null?U5:{},F_={width:[Q0.reference]},I_=function(t){return{borderStart:"1px solid",borderStartColor:B("inherit","whiteAlpha.300")(t),color:B("inherit","whiteAlpha.800")(t),_active:{bg:B("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},D_=function(t){return{root:L_,field:A_,stepperGroup:F_,stepper:I_(t)}};function Bu(e){var t,r,n=Le.sizes[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",a=j5.fontSizes[o.toString()];return{field:He({},n.field,{paddingInlineEnd:G5.reference,verticalAlign:"top"}),stepper:{fontSize:$r(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var R_={xs:Bu("xs"),sm:Bu("sm"),md:Bu("md"),lg:Bu("lg")},V_={parts:QS.keys,baseStyle:D_,sizes:R_,variants:P_,defaultProps:M_},Y5,$_=He({},Le.baseStyle.field,{textAlign:"center"}),B_={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},N_={outline:function(t){var r;return(r=Le.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Le.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Le.variants.filled(t).field)!=null?r:{}},unstyled:(Y5=Le.variants.unstyled.field)!=null?Y5:{}},z_=Le.defaultProps,H_={baseStyle:$_,sizes:B_,variants:N_,defaultProps:z_},J0=Ft("popper-bg"),j_=Ft("popper-arrow-bg"),W_=Ft("popper-arrow-shadow-color"),U_={zIndex:10},Z_=function(t){var r,n=B("white","gray.700")(t),i=B("gray.200","whiteAlpha.300")(t);return r={},r[J0.variable]="colors."+n,r.bg=J0.reference,r[j_.variable]=J0.reference,r[W_.variable]="colors."+i,r.width="xs",r.border="1px solid",r.borderColor="inherit",r.borderRadius="md",r.boxShadow="sm",r.zIndex="inherit",r._focus={outline:0,boxShadow:"outline"},r},G_={px:3,py:2,borderBottomWidth:"1px"},Y_={px:3,py:2},K_={px:3,py:2,borderTopWidth:"1px"},q_={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},X_=function(t){return{popper:U_,content:Z_(t),header:G_,body:Y_,footer:K_,arrow:{},closeButton:q_}},Q_={parts:JS.keys,baseStyle:X_};function J_(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,o=B(D5(),D5("1rem","rgba(0,0,0,0.1)"))(e),a=B(t+".500",t+".200")(e),l=`linear-gradient(
|
|
329
|
+
to right,
|
|
330
|
+
transparent 0%,
|
|
331
|
+
`+Ge(r,a)+` 50%,
|
|
332
|
+
transparent 100%
|
|
333
|
+
)`,s=!n&&i;return He({},s&&o,n?{bgImage:l}:{bgColor:a})}var eT={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},tT=function(t){return{bg:B("gray.100","whiteAlpha.300")(t)}},rT=function(t){return He({transitionProperty:"common",transitionDuration:"slow"},J_(t))},nT=function(t){return{label:eT,filledTrack:rT(t),track:tT(t)}},iT={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},oT={size:"md",colorScheme:"blue"},aT={parts:ek.keys,sizes:iT,baseStyle:nT,defaultProps:oT},lT=function(t){var r=Iu.baseStyle(t),n=r.control,i=n===void 0?{}:n;return He({},i,{borderRadius:"full",_checked:He({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},sT=function(t){return{label:Iu.baseStyle(t).label,container:Iu.baseStyle(t).container,control:lT(t)}},uT={md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},cT={size:"md",colorScheme:"blue"},dT={parts:tk.keys,baseStyle:sT,sizes:uT,defaultProps:cT},fT=function(t){return He({},Le.baseStyle.field,{bg:B("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:B("white","gray.700")(t)}})},pT={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},hT=function(t){return{field:fT(t),icon:pT}},Nu={paddingInlineEnd:"2rem"},vT=Vt({},Le.sizes,{lg:{field:Nu},md:{field:Nu},sm:{field:Nu},xs:{field:Nu,icon:{insetEnd:"0.25rem"}}}),mT={parts:rk.keys,baseStyle:hT,sizes:vT,variants:Le.variants,defaultProps:Le.defaultProps},gT=function(t,r){return Si({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},yT=function(t){var r=B("gray.100","gray.800")(t),n=B("gray.400","gray.600")(t),i=t.startColor,o=i===void 0?r:i,a=t.endColor,l=a===void 0?n:a,s=t.speed,u=t.theme,c=Ge(u,o),p=Ge(u,l);return{opacity:.7,borderRadius:"2px",borderColor:c,background:p,animation:s+"s linear infinite alternate "+gT(c,p)}},bT={baseStyle:yT},xT=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:B("white","gray.700")(t)}}},wT={baseStyle:xT};function CT(e){return Ha({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}var ST=function(t){var r=t.orientation;return He({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Ha({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},kT=function(t){return{overflow:"hidden",borderRadius:"sm",bg:B("gray.200","whiteAlpha.200")(t),_disabled:{bg:B("gray.300","whiteAlpha.300")(t)}}},ET=function(t){return He({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},CT(t))},_T=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:B(r+".500",r+".200")(t)}},TT=function(t){return{container:ST(t),track:kT(t),thumb:ET(t),filledTrack:_T(t)}},PT=function(t){return{thumb:{w:"16px",h:"16px"},track:Ha({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},MT=function(t){return{thumb:{w:"14px",h:"14px"},track:Ha({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},OT=function(t){return{thumb:{w:"10px",h:"10px"},track:Ha({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},LT={lg:PT,md:MT,sm:OT},AT={size:"md",colorScheme:"blue"},FT={parts:nk.keys,sizes:LT,baseStyle:TT,defaultProps:AT},ep,tp,rp,np,ip,ri=Ft("spinner-size"),IT={width:[ri.reference],height:[ri.reference]},DT={xs:(ep={},ep[ri.variable]="0.75rem",ep),sm:(tp={},tp[ri.variable]="1rem",tp),md:(rp={},rp[ri.variable]="1.5rem",rp),lg:(np={},np[ri.variable]="2rem",np),xl:(ip={},ip[ri.variable]="3rem",ip)},RT={size:"md"},VT={baseStyle:IT,sizes:DT,defaultProps:RT},$T={fontWeight:"medium"},BT={opacity:.8,marginBottom:2},NT={verticalAlign:"baseline",fontWeight:"semibold"},zT={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},HT={container:{},label:$T,helpText:BT,number:NT,icon:zT},jT={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},WT={size:"md"},UT={parts:ik.keys,baseStyle:HT,sizes:jT,defaultProps:WT},zu,Hu,ju,Wa=Ft("switch-track-width"),ni=Ft("switch-track-height"),op=Ft("switch-track-diff"),ZT=$r.subtract(Wa,ni),ap=Ft("switch-thumb-x"),GT=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Wa.reference],height:[ni.reference],transitionProperty:"common",transitionDuration:"fast",bg:B("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:B(r+".500",r+".200")(t)}}},YT={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ni.reference],height:[ni.reference],_checked:{transform:"translateX("+ap.reference+")"}},KT=function(t){var r,n;return{container:(n={},n[op.variable]=ZT,n[ap.variable]=op.reference,n._rtl=(r={},r[ap.variable]=$r(op).negate().toString(),r),n),track:GT(t),thumb:YT}},qT={sm:{container:(zu={},zu[Wa.variable]="1.375rem",zu[ni.variable]="0.75rem",zu)},md:{container:(Hu={},Hu[Wa.variable]="1.875rem",Hu[ni.variable]="1rem",Hu)},lg:{container:(ju={},ju[Wa.variable]="2.875rem",ju[ni.variable]="1.5rem",ju)}},XT={size:"md",colorScheme:"blue"},QT={parts:ok.keys,baseStyle:KT,sizes:qT,defaultProps:XT},JT={table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}},Wu={"&[data-is-numeric=true]":{textAlign:"end"}},eP=function(t){var r=t.colorScheme;return{th:He({color:B("gray.600","gray.400")(t),borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},Wu),td:He({borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},Wu),caption:{color:B("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},tP=function(t){var r=t.colorScheme;return{th:He({color:B("gray.600","gray.400")(t),borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},Wu),td:He({borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},Wu),caption:{color:B("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:B(r+".100",r+".700")(t)},td:{background:B(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},rP={simple:eP,striped:tP,unstyled:{}},nP={sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},iP={variant:"simple",size:"md",colorScheme:"gray"},oP={parts:ak.keys,baseStyle:JT,variants:rP,sizes:nP,defaultProps:iP},aP=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},lP=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},sP=function(t){var r=t.align,n=r===void 0?"start":r,i=t.orientation,o={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:o[n],flexDirection:i==="vertical"?"column":"row"}},uP={p:4},cP=function(t){return{root:aP(t),tab:lP(t),tablist:sP(t),tabpanel:uP}},dP={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},fP=function(t){var r,n,i=t.colorScheme,o=t.orientation,a=o==="vertical",l=o==="vertical"?"borderStart":"borderBottom",s=a?"marginStart":"marginBottom";return{tablist:(r={},r[l]="2px solid",r.borderColor="inherit",r),tab:(n={},n[l]="2px solid",n.borderColor="transparent",n[s]="-2px",n._selected={color:B(i+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:B("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},pP=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:B(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:B("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},hP=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:B("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:B("#fff","gray.800")(t),color:B(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},vP=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Ge(n,r+".700"),bg:Ge(n,r+".100")}}}},mP=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:B("gray.600","inherit")(t),_selected:{color:B("#fff","gray.800")(t),bg:B(r+".600",r+".300")(t)}}}},gP={},yP={line:fP,enclosed:pP,"enclosed-colored":hP,"soft-rounded":vP,"solid-rounded":mP,unstyled:gP},bP={size:"md",variant:"line",colorScheme:"blue"},xP={parts:lk.keys,baseStyle:cP,sizes:dP,variants:yP,defaultProps:bP},wP={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},CP={lineHeight:1.2,overflow:"visible"},SP={fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},kP={container:wP,label:CP,closeButton:SP},EP={sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},_P={subtle:function(t){return{container:to.variants.subtle(t)}},solid:function(t){return{container:to.variants.solid(t)}},outline:function(t){return{container:to.variants.outline(t)}}},TP={size:"md",variant:"subtle",colorScheme:"gray"},PP={parts:sk.keys,variants:_P,baseStyle:kP,sizes:EP,defaultProps:TP},K5,q5,X5,Q5,J5,MP=He({},Le.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),OP={outline:function(t){var r;return(r=Le.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Le.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Le.variants.filled(t).field)!=null?r:{}},unstyled:(K5=Le.variants.unstyled.field)!=null?K5:{}},LP={xs:(q5=Le.sizes.xs.field)!=null?q5:{},sm:(X5=Le.sizes.sm.field)!=null?X5:{},md:(Q5=Le.sizes.md.field)!=null?Q5:{},lg:(J5=Le.sizes.lg.field)!=null?J5:{}},AP={size:"md",variant:"outline"},FP={baseStyle:MP,sizes:LP,variants:OP,defaultProps:AP},lp=Ft("tooltip-bg"),IP=Ft("popper-arrow-bg"),DP=function(t){var r,n=B("gray.700","gray.300")(t);return r={},r[lp.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[lp.reference],r[IP.variable]=[lp.reference],r.color=B("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},RP={baseStyle:DP},VP=Object.freeze({__proto__:null,Accordion:hk,Alert:Ck,Avatar:Mk,Badge:to,Breadcrumb:$k,Button:Yk,Checkbox:Iu,CloseButton:oE,Code:uE,Container:dE,Divider:gE,Drawer:PE,Editable:FE,Form:VE,FormError:zE,FormLabel:jE,Heading:GE,Input:Le,Kbd:n_,Link:o_,List:s_,Menu:m_,Modal:T_,NumberInput:V_,PinInput:H_,Popover:Q_,Progress:aT,Radio:dT,Select:mT,Skeleton:bT,SkipLink:wT,Slider:FT,Spinner:VT,Stat:UT,Switch:QT,Table:oP,Tabs:xP,Tag:PP,Textarea:FP,Tooltip:RP}),$P={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},BP=OS({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),NP={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},zP={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},HP={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},jP={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},WP={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},UP={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},ZP={property:jP,easing:WP,duration:UP},GP={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},YP={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},KP=He({breakpoints:BP,zIndices:GP,radii:zP,blur:YP,colors:NP},j5,{sizes:E5,shadows:HP,space:k5,borders:$P,transition:ZP}),qP={global:function(t){return{body:{fontFamily:"body",color:B("gray.800","whiteAlpha.900")(t),bg:B("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:B("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:B("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},XP=qP,QP=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function JP(e){return gt(e)?QP.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var eM="ltr",tM={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},e4=He({direction:eM},KP,{components:VP,styles:XP,config:tM});function Ua(){return Ua=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ua.apply(this,arguments)}function rM(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var nM=["as","viewBox","color","focusable","children","className","__css"],t4={path:x.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},x.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),x.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),x.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Ve=ge(function(e,t){var r=e.as,n=e.viewBox,i=e.color,o=i===void 0?"currentColor":i,a=e.focusable,l=a===void 0?!1:a,s=e.children,u=e.className,c=e.__css,p=rM(e,nM),f=Ee("chakra-icon",u),h=Ua({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o},c),m={ref:t,focusable:l,className:f,__css:h},y=n!=null?n:t4.viewBox;if(r&&typeof r!="string")return x.createElement(ee.svg,Ua({as:r},m,p));var v=s!=null?s:t4.path;return x.createElement(ee.svg,Ua({verticalAlign:"middle",viewBox:y},m,p),v)}),sp=function(e,t){return sp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},sp(e,t)};function r4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");sp(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var j=function(){return j=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},j.apply(this,arguments)};function It(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function iM(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $e(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function ir(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Br=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},Za={measureLayout:Br(["layout","layoutId","drag"]),animation:Br(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Br(["exit"]),drag:Br(["drag","dragControls"]),focus:Br(["whileFocus"]),hover:Br(["whileHover","onHoverStart","onHoverEnd"]),tap:Br(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Br(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Br(["whileInView","onViewportEnter","onViewportLeave"])};function oM(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Za.projectionNodeConstructor=e[t]:Za[t].Component=e[t])}var aM=function(){},Uu=function(){},n4=A.createContext({strict:!1}),i4=Object.keys(Za),lM=i4.length;function sM(e,t,r){var n=[];if(A.useContext(n4),!t)return null;for(var i=0;i<lM;i++){var o=i4[i],a=Za[o],l=a.isEnabled,s=a.Component;l(e)&&s&&n.push(x.createElement(s,j({key:o},e,{visualElement:t})))}return n}var up=A.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Zu=A.createContext({});function uM(){return A.useContext(Zu).visualElement}var Ga=A.createContext(null),Ya=typeof window!="undefined",Gu=Ya?A.useLayoutEffect:A.useEffect,cp={current:null},o4=!1;function cM(){if(o4=!0,typeof window!="undefined")if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return cp.current=e.matches};e.addListener(t),t()}else cp.current=!1}function dM(){!o4&&cM();var e=$e(A.useState(cp.current),1),t=e[0];return t}function fM(){var e=dM(),t=A.useContext(up).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function pM(e,t,r,n){var i=A.useContext(n4),o=uM(),a=A.useContext(Ga),l=fM(),s=A.useRef(void 0);n||(n=i.renderer),!s.current&&n&&(s.current=n(e,{visualState:t,parent:o,props:r,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:l}));var u=s.current;return Gu(function(){u==null||u.syncRender()}),A.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),Gu(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function no(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function hM(e,t,r){return A.useCallback(function(n){var i;n&&((i=e.mount)===null||i===void 0||i.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):no(r)&&(r.current=n))},[t])}function a4(e){return Array.isArray(e)}function or(e){return typeof e=="string"||a4(e)}function vM(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function mM(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function l4(e,t,r,n,i){var o;return n===void 0&&(n={}),i===void 0&&(i={}),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),typeof t=="string"&&(t=(o=e.variants)===null||o===void 0?void 0:o[t]),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),t}function Yu(e,t,r){var n=e.getProps();return l4(n,t,r!=null?r:n.custom,vM(e),mM(e))}function Ku(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||or(e.initial)||or(e.animate)||or(e.whileHover)||or(e.whileDrag)||or(e.whileTap)||or(e.whileFocus)||or(e.exit)}function s4(e){return Boolean(Ku(e)||e.variants)}function gM(e,t){if(Ku(e)){var r=e.initial,n=e.animate;return{initial:r===!1||or(r)?r:void 0,animate:or(n)?n:void 0}}return e.inherit!==!1?t:{}}function yM(e){var t=gM(e,A.useContext(Zu)),r=t.initial,n=t.animate;return A.useMemo(function(){return{initial:r,animate:n}},[u4(r),u4(n)])}function u4(e){return Array.isArray(e)?e.join(" "):e}function Ka(e){var t=A.useRef(null);return t.current===null&&(t.current=e()),t.current}const c4=1/60*1e3,bM=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),d4=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(bM()),c4);function xM(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const p=c&&i,f=p?t:r;return u&&a.add(s),f.indexOf(s)===-1&&(f.push(s),p&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(s),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const wM=40;let dp=!0,qa=!1,fp=!1;const io={delta:0,timestamp:0},Xa=["read","update","preRender","render","postRender"],qu=Xa.reduce((e,t)=>(e[t]=xM(()=>qa=!0),e),{}),br=Xa.reduce((e,t)=>{const r=qu[t];return e[t]=(n,i=!1,o=!1)=>(qa||SM(),r.schedule(n,i,o)),e},{}),Qa=Xa.reduce((e,t)=>(e[t]=qu[t].cancel,e),{}),pp=Xa.reduce((e,t)=>(e[t]=()=>qu[t].process(io),e),{}),CM=e=>qu[e].process(io),f4=e=>{qa=!1,io.delta=dp?c4:Math.max(Math.min(e-io.timestamp,wM),1),io.timestamp=e,fp=!0,Xa.forEach(CM),fp=!1,qa&&(dp=!1,d4(f4))},SM=()=>{qa=!0,dp=!0,fp||d4(f4)},hp=()=>io,Xu=(e,t,r)=>Math.min(Math.max(r,e),t),vp=.001,kM=.01,p4=10,EM=.05,_M=1;function TM({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;aM(e<=p4*1e3);let a=1-t;a=Xu(EM,_M,a),e=Xu(kM,p4,e/1e3),a<1?(i=u=>{const c=u*a,p=c*e,f=c-r,h=mp(u,a),m=Math.exp(-p);return vp-f/h*m},o=u=>{const p=u*a*e,f=p*r+r,h=Math.pow(a,2)*Math.pow(u,2)*e,m=Math.exp(-p),y=mp(Math.pow(u,2),a);return(-i(u)+vp>0?-1:1)*((f-h)*m)/y}):(i=u=>{const c=Math.exp(-u*e),p=(u-r)*e+1;return-vp+c*p},o=u=>{const c=Math.exp(-u*e),p=(r-u)*(e*e);return c*p});const l=5/e,s=MM(i,o,l);if(e=e*1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(s,2)*n;return{stiffness:u,damping:a*2*Math.sqrt(n*u),duration:e}}}const PM=12;function MM(e,t,r){let n=r;for(let i=1;i<PM;i++)n=n-e(n)/t(n);return n}function mp(e,t){return e*Math.sqrt(1-t*t)}const OM=["duration","bounce"],LM=["stiffness","damping","mass"];function h4(e,t){return t.some(r=>e[r]!==void 0)}function AM(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!h4(e,LM)&&h4(e,OM)){const r=TM(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function gp(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,o=It(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:p,isResolvedFromDuration:f}=AM(o),h=v4,m=v4;function y(){const v=c?-(c/1e3):0,g=r-t,b=s/(2*Math.sqrt(l*u)),w=Math.sqrt(l/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(r-t)/100,.4)),b<1){const C=mp(w,b);h=k=>{const _=Math.exp(-b*w*k);return r-_*((v+b*w*g)/C*Math.sin(C*k)+g*Math.cos(C*k))},m=k=>{const _=Math.exp(-b*w*k);return b*w*_*(Math.sin(C*k)*(v+b*w*g)/C+g*Math.cos(C*k))-_*(Math.cos(C*k)*(v+b*w*g)-C*g*Math.sin(C*k))}}else if(b===1)h=C=>r-Math.exp(-w*C)*(g+(v+w*g)*C);else{const C=w*Math.sqrt(b*b-1);h=k=>{const _=Math.exp(-b*w*k),E=Math.min(C*k,300);return r-_*((v+b*w*g)*Math.sinh(E)+C*g*Math.cosh(E))/C}}}return y(),{next:v=>{const g=h(v);if(f)a.done=v>=p;else{const b=m(v)*1e3,w=Math.abs(b)<=n,C=Math.abs(r-g)<=i;a.done=w&&C}return a.value=a.done?r:g,a},flipTarget:()=>{c=-c,[t,r]=[r,t],y()}}}gp.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const v4=e=>0,Ja=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Be=(e,t,r)=>-r*e+r*t+e,m4=(e,t)=>r=>Math.max(Math.min(r,t),e),el=e=>e%1?Number(e.toFixed(5)):e,tl=/(-)?([\d]*\.?[\d])+/g,yp=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,FM=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function rl(e){return typeof e=="string"}const ii={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},nl=Object.assign(Object.assign({},ii),{transform:m4(0,1)}),Qu=Object.assign(Object.assign({},ii),{default:1}),il=e=>({test:t=>rl(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),kn=il("deg"),xr=il("%"),te=il("px"),IM=il("vh"),DM=il("vw"),g4=Object.assign(Object.assign({},xr),{parse:e=>xr.parse(e)/100,transform:e=>xr.transform(e*100)}),bp=(e,t)=>r=>Boolean(rl(r)&&FM.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),y4=(e,t,r)=>n=>{if(!rl(n))return n;const[i,o,a,l]=n.match(tl);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},oi={test:bp("hsl","hue"),parse:y4("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+xr.transform(el(t))+", "+xr.transform(el(r))+", "+el(nl.transform(n))+")"},RM=m4(0,255),xp=Object.assign(Object.assign({},ii),{transform:e=>Math.round(RM(e))}),En={test:bp("rgb","red"),parse:y4("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+xp.transform(e)+", "+xp.transform(t)+", "+xp.transform(r)+", "+el(nl.transform(n))+")"};function VM(e){let t="",r="",n="",i="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),i=e.substr(4,1),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const wp={test:bp("#"),parse:VM,transform:En.transform},ht={test:e=>En.test(e)||wp.test(e)||oi.test(e),parse:e=>En.test(e)?En.parse(e):oi.test(e)?oi.parse(e):wp.parse(e),transform:e=>rl(e)?e:e.hasOwnProperty("red")?En.transform(e):oi.transform(e)},b4="${c}",x4="${n}";function $M(e){var t,r,n,i;return isNaN(e)&&rl(e)&&((r=(t=e.match(tl))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((i=(n=e.match(yp))===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0)>0}function w4(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(yp);n&&(r=n.length,e=e.replace(yp,b4),t.push(...n.map(ht.parse)));const i=e.match(tl);return i&&(e=e.replace(tl,x4),t.push(...i.map(ii.parse))),{values:t,numColors:r,tokenised:e}}function C4(e){return w4(e).values}function S4(e){const{values:t,numColors:r,tokenised:n}=w4(e),i=t.length;return o=>{let a=n;for(let l=0;l<i;l++)a=a.replace(l<r?b4:x4,l<r?ht.transform(o[l]):el(o[l]));return a}}const BM=e=>typeof e=="number"?0:e;function NM(e){const t=C4(e);return S4(e)(t.map(BM))}const Nr={test:$M,parse:C4,createTransformer:S4,getAnimatableNone:NM},zM=new Set(["brightness","contrast","saturate","opacity"]);function HM(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(tl)||[];if(!n)return e;const i=r.replace(n,"");let o=zM.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}const jM=/([a-z-]*)\(.*?\)/g,Cp=Object.assign(Object.assign({},Nr),{getAnimatableNone:e=>{const t=e.match(jM);return t?t.map(HM).join(" "):e}});function Sp(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function k4({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{const l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;i=Sp(s,l,e+1/3),o=Sp(s,l,e),a=Sp(s,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}const WM=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},UM=[wp,En,oi],E4=e=>UM.find(t=>t.test(e)),_4=(e,t)=>{let r=E4(e),n=E4(t),i=r.parse(e),o=n.parse(t);r===oi&&(i=k4(i),r=En),n===oi&&(o=k4(o),n=En);const a=Object.assign({},i);return l=>{for(const s in a)s!=="alpha"&&(a[s]=WM(i[s],o[s],l));return a.alpha=Be(i.alpha,o.alpha,l),r.transform(a)}},kp=e=>typeof e=="number",ZM=(e,t)=>r=>t(e(r)),Ju=(...e)=>e.reduce(ZM);function T4(e,t){return kp(e)?r=>Be(e,t,r):ht.test(e)?_4(e,t):O4(e,t)}const P4=(e,t)=>{const r=[...e],n=r.length,i=e.map((o,a)=>T4(o,t[a]));return o=>{for(let a=0;a<n;a++)r[a]=i[a](o);return r}},GM=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=T4(e[i],t[i]));return i=>{for(const o in n)r[o]=n[o](i);return r}};function M4(e){const t=Nr.parse(e),r=t.length;let n=0,i=0,o=0;for(let a=0;a<r;a++)n||typeof t[a]=="number"?n++:t[a].hue!==void 0?o++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:o}}const O4=(e,t)=>{const r=Nr.createTransformer(t),n=M4(e),i=M4(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Ju(P4(n.parsed,i.parsed),r):a=>`${a>0?t:e}`},YM=(e,t)=>r=>Be(e,t,r);function KM(e){if(typeof e=="number")return YM;if(typeof e=="string")return ht.test(e)?_4:O4;if(Array.isArray(e))return P4;if(typeof e=="object")return GM}function qM(e,t,r){const n=[],i=r||KM(e[0]),o=e.length-1;for(let a=0;a<o;a++){let l=i(e[a],e[a+1]);if(t){const s=Array.isArray(t)?t[a]:t;l=Ju(s,l)}n.push(l)}return n}function XM([e,t],[r]){return n=>r(Ja(e,t,n))}function QM(e,t){const r=e.length,n=r-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[n]&&(o=n-1,a=!0),!a){let s=1;for(;s<r&&!(e[s]>i||s===n);s++);o=s-1}const l=Ja(e[o],e[o+1],i);return t[o](l)}}function L4(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const o=e.length;Uu(o===t.length),Uu(!n||!Array.isArray(n)||n.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=qM(t,n,i),l=o===2?XM(e,a):QM(e,a);return r?s=>l(Xu(e[0],e[o-1],s)):l}const ec=e=>t=>1-e(1-t),Ep=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,JM=e=>t=>Math.pow(t,e),A4=e=>t=>t*t*((e+1)*t-e),eO=e=>{const t=A4(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},F4=1.525,tO=4/11,rO=8/11,nO=9/10,_p=e=>e,Tp=JM(2),iO=ec(Tp),I4=Ep(Tp),D4=e=>1-Math.sin(Math.acos(e)),Pp=ec(D4),oO=Ep(Pp),Mp=A4(F4),aO=ec(Mp),lO=Ep(Mp),sO=eO(F4),uO=4356/361,cO=35442/1805,dO=16061/1805,tc=e=>{if(e===1||e===0)return e;const t=e*e;return e<tO?7.5625*t:e<rO?9.075*t-9.9*e+3.4:e<nO?uO*t-cO*e+dO:10.8*e*e-20.52*e+10.72},fO=ec(tc),pO=e=>e<.5?.5*(1-tc(1-e*2)):.5*tc(e*2-1)+.5;function hO(e,t){return e.map(()=>t||I4).splice(0,e.length-1)}function vO(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function mO(e,t){return e.map(r=>r*t)}function rc({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],l=mO(n&&n.length===a.length?n:vO(a),i);function s(){return L4(l,a,{ease:Array.isArray(r)?r:hO(a,r)})}let u=s();return{next:c=>(o.value=u(c),o.done=c>=i,o),flipTarget:()=>{a.reverse(),u=s()}}}function gO({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let l=r*e;const s=t+l,u=o===void 0?s:o(s);return u!==s&&(l=u-t),{next:c=>{const p=-l*Math.exp(-c/n);return a.done=!(p>i||p<-i),a.value=a.done?u:u+p,a},flipTarget:()=>{}}}const R4={keyframes:rc,spring:gp,decay:gO};function yO(e){if(Array.isArray(e.to))return rc;if(R4[e.type])return R4[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?rc:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?gp:rc}const V4=1/60*1e3,bO=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),$4=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(bO()),V4);function xO(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const p=c&&i,f=p?t:r;return u&&a.add(s),f.indexOf(s)===-1&&(f.push(s),p&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(s),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const wO=40;let Op=!0,ol=!1,Lp=!1;const oo={delta:0,timestamp:0},al=["read","update","preRender","render","postRender"],nc=al.reduce((e,t)=>(e[t]=xO(()=>ol=!0),e),{}),CO=al.reduce((e,t)=>{const r=nc[t];return e[t]=(n,i=!1,o=!1)=>(ol||EO(),r.schedule(n,i,o)),e},{}),SO=al.reduce((e,t)=>(e[t]=nc[t].cancel,e),{});al.reduce((e,t)=>(e[t]=()=>nc[t].process(oo),e),{});const kO=e=>nc[e].process(oo),B4=e=>{ol=!1,oo.delta=Op?V4:Math.max(Math.min(e-oo.timestamp,wO),1),oo.timestamp=e,Lp=!0,al.forEach(kO),Lp=!1,ol&&(Op=!1,$4(B4))},EO=()=>{ol=!0,Op=!0,Lp||$4(B4)},_O=()=>oo;function N4(e,t,r=0){return e-t-r}function TO(e,t,r=0,n=!0){return n?N4(t+-e,t,r):t-(e-t)+r}function PO(e,t,r,n){return n?e>=t+r:e<=-r}const MO=e=>{const t=({delta:r})=>e(r);return{start:()=>CO.update(t,!0),stop:()=>SO.update(t)}};function z4(e){var t,r,{from:n,autoplay:i=!0,driver:o=MO,elapsed:a=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:p,onComplete:f,onRepeat:h,onUpdate:m}=e,y=It(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=y,g,b=0,w=y.duration,C,k=!1,_=!0,E;const M=yO(y);!((r=(t=M).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(E=L4([0,100],[n,v],{clamp:!1}),n=0,v=100);const O=M(Object.assign(Object.assign({},y),{from:n,to:v}));function V(){b++,s==="reverse"?(_=b%2===0,a=TO(a,w,u,_)):(a=N4(a,w,u),s==="mirror"&&O.flipTarget()),k=!1,h&&h()}function Z(){g.stop(),f&&f()}function G(Y){if(_||(Y=-Y),a+=Y,!k){const Q=O.next(Math.max(0,a));C=Q.value,E&&(C=E(C)),k=_?Q.done:a<=0}m==null||m(C),k&&(b===0&&(w!=null||(w=a)),b<l?PO(a,w,u,_)&&V():Z())}function U(){c==null||c(),g=o(G),g.start()}return i&&U(),{stop:()=>{p==null||p(),g.stop()}}}function H4(e,t){return t?e*(1e3/t):0}function OO({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:p,onComplete:f,onStop:h}){let m;function y(w){return r!==void 0&&w<r||n!==void 0&&w>n}function v(w){return r===void 0?n:n===void 0||Math.abs(r-w)<Math.abs(n-w)?r:n}function g(w){m==null||m.stop(),m=z4(Object.assign(Object.assign({},w),{driver:c,onUpdate:C=>{var k;p==null||p(C),(k=w.onUpdate)===null||k===void 0||k.call(w,C)},onComplete:f,onStop:h}))}function b(w){g(Object.assign({type:"spring",stiffness:a,damping:l,restDelta:s},w))}if(y(e))b({from:e,velocity:t,to:v(e)});else{let w=i*t+e;typeof u!="undefined"&&(w=u(w));const C=v(w),k=C===r?-1:1;let _,E;const M=O=>{_=E,E=O,t=H4(O-_,_O().delta),(k===1&&O>C||k===-1&&O<C)&&b({from:O,to:C,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:s,modifyTarget:u,onUpdate:y(w)?M:void 0})}return{stop:()=>m==null?void 0:m.stop()}}const Ap=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),j4=e=>Ap(e)&&e.hasOwnProperty("z"),ic=(e,t)=>Math.abs(e-t);function W4(e,t){if(kp(e)&&kp(t))return ic(e,t);if(Ap(e)&&Ap(t)){const r=ic(e.x,t.x),n=ic(e.y,t.y),i=j4(e)&&j4(t)?ic(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const U4=(e,t)=>1-3*t+3*e,Z4=(e,t)=>3*t-6*e,G4=e=>3*e,oc=(e,t,r)=>((U4(t,r)*e+Z4(t,r))*e+G4(t))*e,Y4=(e,t,r)=>3*U4(t,r)*e*e+2*Z4(t,r)*e+G4(t),LO=1e-7,AO=10;function FO(e,t,r,n,i){let o,a,l=0;do a=t+(r-t)/2,o=oc(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>LO&&++l<AO);return a}const IO=8,DO=.001;function RO(e,t,r,n){for(let i=0;i<IO;++i){const o=Y4(t,r,n);if(o===0)return t;t-=(oc(t,r,n)-e)/o}return t}const ac=11,lc=1/(ac-1);function VO(e,t,r,n){if(e===t&&r===n)return _p;const i=new Float32Array(ac);for(let a=0;a<ac;++a)i[a]=oc(a*lc,e,r);function o(a){let l=0,s=1;const u=ac-1;for(;s!==u&&i[s]<=a;++s)l+=lc;--s;const c=(a-i[s])/(i[s+1]-i[s]),p=l+c*lc,f=Y4(p,e,r);return f>=DO?RO(a,p,e,r):f===0?p:FO(a,l,l+lc,e,r)}return a=>a===0||a===1?a:oc(o(a),t,n)}function Fp(e,t){e.indexOf(t)===-1&&e.push(t)}function Ip(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var ll=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return Fp(this.subscriptions,t),function(){return Ip(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,r,n);else for(var o=0;o<i;o++){var a=this.subscriptions[o];a&&a(t,r,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),$O=function(e){return!isNaN(parseFloat(e))},BO=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new ll,this.velocityUpdateSubscribers=new ll,this.renderSubscribers=new ll,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var o=hp(),a=o.delta,l=o.timestamp;r.lastUpdated!==l&&(r.timeDelta=a,r.lastUpdated=l,br.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),i&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return br.postRender(r.velocityCheck)},this.velocityCheck=function(n){var i=n.timestamp;i!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=$O(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,r){r===void 0&&(r=!0),!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?H4(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var r=this;return this.stop(),new Promise(function(n){r.hasAnimated=!0,r.stopAnimation=t(n)}).then(function(){return r.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function ao(e){return new BO(e)}var zr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},sc=function(e){return e*1e3},NO={linear:_p,easeIn:Tp,easeInOut:I4,easeOut:iO,circIn:D4,circInOut:oO,circOut:Pp,backIn:Mp,backInOut:lO,backOut:aO,anticipate:sO,bounceIn:fO,bounceInOut:pO,bounceOut:tc},K4=function(e){if(Array.isArray(e)){Uu(e.length===4);var t=$e(e,4),r=t[0],n=t[1],i=t[2],o=t[3];return VO(r,n,i,o)}else if(typeof e=="string")return NO[e];return e},zO=function(e){return Array.isArray(e)&&typeof e[0]!="number"},q4=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Nr.test(t)&&!t.startsWith("url("))},sl=function(e){return Array.isArray(e)},ai=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},uc=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},Dp=function(){return{type:"keyframes",ease:"linear",duration:.3}},HO=function(e){return{type:"keyframes",duration:.8,values:e}},X4={x:ai,y:ai,z:ai,rotate:ai,rotateX:ai,rotateY:ai,rotateZ:ai,scaleX:uc,scaleY:uc,scale:uc,opacity:Dp,backgroundColor:Dp,color:Dp,default:uc},jO=function(e,t){var r;return sl(t)?r=HO:r=X4[e]||X4.default,j({to:t},r(t))},Q4=j(j({},ii),{transform:Math.round}),J4={borderWidth:te,borderTopWidth:te,borderRightWidth:te,borderBottomWidth:te,borderLeftWidth:te,borderRadius:te,radius:te,borderTopLeftRadius:te,borderTopRightRadius:te,borderBottomRightRadius:te,borderBottomLeftRadius:te,width:te,maxWidth:te,height:te,maxHeight:te,size:te,top:te,right:te,bottom:te,left:te,padding:te,paddingTop:te,paddingRight:te,paddingBottom:te,paddingLeft:te,margin:te,marginTop:te,marginRight:te,marginBottom:te,marginLeft:te,rotate:kn,rotateX:kn,rotateY:kn,rotateZ:kn,scale:Qu,scaleX:Qu,scaleY:Qu,scaleZ:Qu,skew:kn,skewX:kn,skewY:kn,distance:te,translateX:te,translateY:te,translateZ:te,x:te,y:te,z:te,perspective:te,transformPerspective:te,opacity:nl,originX:g4,originY:g4,originZ:te,zIndex:Q4,fillOpacity:nl,strokeOpacity:nl,numOctaves:Q4},WO=j(j({},J4),{color:ht,backgroundColor:ht,outlineColor:ht,fill:ht,stroke:ht,borderColor:ht,borderTopColor:ht,borderRightColor:ht,borderBottomColor:ht,borderLeftColor:ht,filter:Cp,WebkitFilter:Cp}),Rp=function(e){return WO[e]};function Vp(e,t){var r,n=Rp(e);return n!==Cp&&(n=Nr),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var UO={current:!1},ZO=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},e3=function(e){return sl(e)?e[e.length-1]||0:e};function GO(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=It(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function YO(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,o=e.loop,a=It(e,["ease","times","yoyo","flip","loop"]),l=j({},a);return r&&(l.offset=r),a.duration&&(l.duration=sc(a.duration)),a.repeatDelay&&(l.repeatDelay=sc(a.repeatDelay)),t&&(l.ease=zO(t)?t.map(K4):K4(t)),a.type==="tween"&&(l.type="keyframes"),(n||o||i)&&(n?l.repeatType="reverse":o?l.repeatType="loop":i&&(l.repeatType="mirror"),l.repeat=o||n||i||a.repeat),a.type!=="spring"&&(l.type="keyframes"),l}function KO(e,t){var r,n,i=$p(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function qO(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=ir([],$e(e.to),!1),e.to[0]=e.from),e}function XO(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),qO(t),GO(e)||(e=j(j({},e),jO(r,t.to))),j(j({},t),YO(e))}function QO(e,t,r,n,i){var o,a=$p(n,e),l=(o=a.from)!==null&&o!==void 0?o:t.get(),s=q4(e,r);l==="none"&&s&&typeof r=="string"?l=Vp(e,r):t3(l)&&typeof r=="string"?l=r3(r):!Array.isArray(r)&&t3(r)&&typeof l=="string"&&(r=r3(l));var u=q4(e,l);function c(){var f={from:l,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(h){return t.set(h)}};return a.type==="inertia"||a.type==="decay"?OO(j(j({},f),a)):z4(j(j({},XO(a,f,e)),{onUpdate:function(h){var m;f.onUpdate(h),(m=a.onUpdate)===null||m===void 0||m.call(a,h)},onComplete:function(){var h;f.onComplete(),(h=a.onComplete)===null||h===void 0||h.call(a)}}))}function p(){var f,h,m=e3(r);return t.set(m),i(),(f=a==null?void 0:a.onUpdate)===null||f===void 0||f.call(a,m),(h=a==null?void 0:a.onComplete)===null||h===void 0||h.call(a),{stop:function(){}}}return!u||!s||a.type===!1?p:c}function t3(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function r3(e){return typeof e=="number"?0:Vp("",e)}function $p(e,t){return e[t]||e.default||e}function Bp(e,t,r,n){return n===void 0&&(n={}),UO.current&&(n={type:!1}),t.start(function(i){var o,a,l=QO(e,t,r,n,i),s=KO(n,e),u=function(){return a=l()};return s?o=window.setTimeout(u,sc(s)):u(),function(){clearTimeout(o),a==null||a.stop()}})}function JO(e,t,r){r===void 0&&(r={});var n=zr(e)?e:ao(e);return Bp("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var n3=["TopLeft","TopRight","BottomLeft","BottomRight"],eL=n3.length,i3=function(e){return typeof e=="string"?parseFloat(e):e},o3=function(e){return typeof e=="number"||te.test(e)};function tL(e,t,r,n,i,o){var a,l,s,u;i?(e.opacity=Be(0,(a=r.opacity)!==null&&a!==void 0?a:1,rL(n)),e.opacityExit=Be((l=t.opacity)!==null&&l!==void 0?l:1,0,nL(n))):o&&(e.opacity=Be((s=t.opacity)!==null&&s!==void 0?s:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<eL;c++){var p="border".concat(n3[c],"Radius"),f=a3(t,p),h=a3(r,p);if(!(f===void 0&&h===void 0)){f||(f=0),h||(h=0);var m=f===0||h===0||o3(f)===o3(h);m?(e[p]=Math.max(Be(i3(f),i3(h),n),0),(xr.test(h)||xr.test(f))&&(e[p]+="%")):e[p]=h}}(t.rotate||r.rotate)&&(e.rotate=Be(t.rotate||0,r.rotate||0,n))}function a3(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var rL=l3(0,.5,Pp),nL=l3(.5,.95,_p);function l3(e,t,r){return function(n){return n<e?0:n>t?1:r(Ja(e,t,n))}}function s3(e,t){e.min=t.min,e.max=t.max}function wr(e,t){s3(e.x,t.x),s3(e.y,t.y)}function Np(e){return e===void 0||e===1}function u3(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!Np(t)||!Np(r)||!Np(n)}function _n(e){return u3(e)||c3(e.x)||c3(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function c3(e){return e&&e!=="0%"}function cc(e,t,r){var n=e-r,i=t*n;return r+i}function d3(e,t,r,n,i){return i!==void 0&&(e=cc(e,i,n)),cc(e,r,n)+t}function zp(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=d3(e.min,t,r,n,i),e.max=d3(e.max,t,r,n,i)}function f3(e,t){var r=t.x,n=t.y;zp(e.x,r.translate,r.scale,r.originPoint),zp(e.y,n.translate,n.scale,n.originPoint)}function iL(e,t,r,n){var i,o;n===void 0&&(n=!1);var a=r.length;if(!!a){t.x=t.y=1;for(var l,s,u=0;u<a;u++)l=r[u],s=l.projectionDelta,((o=(i=l.instance)===null||i===void 0?void 0:i.style)===null||o===void 0?void 0:o.display)!=="contents"&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&so(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,f3(e,s)),n&&_n(l.latestValues)&&so(e,l.latestValues))}}function lo(e,t){e.min=e.min+t,e.max=e.max+t}function p3(e,t,r){var n=$e(r,3),i=n[0],o=n[1],a=n[2],l=t[a]!==void 0?t[a]:.5,s=Be(e.min,e.max,l);zp(e,t[i],t[o],s,t.scale)}var oL=["x","scaleX","originX"],aL=["y","scaleY","originY"];function so(e,t){p3(e.x,t,oL),p3(e.y,t,aL)}function Hr(e){return e.max-e.min}function h3(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),W4(e,t)<r}function v3(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Be(t.min,t.max,e.origin),e.scale=Hr(r)/Hr(t),(h3(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Be(r.min,r.max,e.origin)-e.originPoint,(h3(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ul(e,t,r,n){v3(e.x,t.x,r.x,n==null?void 0:n.originX),v3(e.y,t.y,r.y,n==null?void 0:n.originY)}function m3(e,t,r){e.min=r.min+t.min,e.max=e.min+Hr(t)}function lL(e,t,r){m3(e.x,t.x,r.x),m3(e.y,t.y,r.y)}function g3(e,t,r){e.min=t.min-r.min,e.max=e.min+Hr(t)}function cl(e,t,r){g3(e.x,t.x,r.x),g3(e.y,t.y,r.y)}function y3(e,t,r,n,i){return e-=t,e=cc(e,1/r,n),i!==void 0&&(e=cc(e,1/i,n)),e}function sL(e,t,r,n,i,o,a){if(t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5),o===void 0&&(o=e),a===void 0&&(a=e),xr.test(t)){t=parseFloat(t);var l=Be(a.min,a.max,t/100);t=l-a.min}if(typeof t=="number"){var s=Be(o.min,o.max,n);e===o&&(s-=t),e.min=y3(e.min,t,r,s,i),e.max=y3(e.max,t,r,s,i)}}function b3(e,t,r,n,i){var o=$e(r,3),a=o[0],l=o[1],s=o[2];sL(e,t[a],t[l],t[s],t.scale,n,i)}var uL=["x","scaleX","originX"],cL=["y","scaleY","originY"];function x3(e,t,r,n){b3(e.x,t,uL,r==null?void 0:r.x,n==null?void 0:n.x),b3(e.y,t,cL,r==null?void 0:r.y,n==null?void 0:n.y)}var w3=function(){return{translate:0,scale:1,origin:0,originPoint:0}},dl=function(){return{x:w3(),y:w3()}},C3=function(){return{min:0,max:0}},dt=function(){return{x:C3(),y:C3()}};function S3(e){return e.translate===0&&e.scale===1}function k3(e){return S3(e.x)&&S3(e.y)}function E3(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var dL=function(){function e(){this.members=[]}return e.prototype.add=function(t){Fp(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(Ip(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var r=this.members[this.members.length-1];r&&this.promote(r)}},e.prototype.relegate=function(t){var r=this.members.findIndex(function(a){return t===a});if(r===0)return!1;for(var n,i=r;i>=0;i--){var o=this.members[i];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1},e.prototype.promote=function(t,r){var n,i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues,t.snapshot.isShared=!0),!((n=t.root)===null||n===void 0)&&n.isUpdating&&(t.isLayoutDirty=!0);var o=t.options.crossfade;o===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var r,n,i,o,a;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),dc={};function fL(e){Object.assign(dc,e)}var pL="translate3d(0px, 0px, 0) scale(1, 1)";function _3(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(r){var a=r.rotate,l=r.rotateX,s=r.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),l&&(o+="rotateX(".concat(l,"deg) ")),s&&(o+="rotateY(".concat(s,"deg) "))}return o+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"),o===pL?"none":o}function Cr(e){return[e("x"),e("y")]}var Hp=["","X","Y","Z"],hL=["translate","scale","rotate","skew"],fl=["transformPerspective","x","y","z"];hL.forEach(function(e){return Hp.forEach(function(t){return fl.push(e+t)})});function vL(e,t){return fl.indexOf(e)-fl.indexOf(t)}var mL=new Set(fl);function pl(e){return mL.has(e)}var gL=new Set(["originX","originY","originZ"]);function T3(e){return gL.has(e)}var yL=function(e,t){return e.depth-t.depth},bL=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){Fp(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){Ip(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(yL),this.isDirty=!1,this.children.forEach(t)},e}();function fc(e){var t=zr(e)?e.get():e;return ZO(t)?t.toValue():t}var P3=1e3,hl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function M3(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.resetTransform;return function(){function o(a,l,s){var u=this;l===void 0&&(l={}),s===void 0&&(s=r==null?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){u.isUpdating&&(u.isUpdating=!1,u.clearAllSnapshots())},this.updateProjection=function(){u.nodes.forEach(EL),u.nodes.forEach(_L)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=a,this.latestValues=l,this.root=s?s.root||s:this,this.path=s?ir(ir([],$e(s.path),!1),[s],!1):[],this.parent=s,this.depth=s?s.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(var c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new bL)}return o.prototype.addEventListener=function(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new ll),this.eventHandlers.get(a).add(l)},o.prototype.notifyListeners=function(a){for(var l=[],s=1;s<arguments.length;s++)l[s-1]=arguments[s];var u=this.eventHandlers.get(a);u==null||u.notify.apply(u,ir([],$e(l),!1))},o.prototype.hasListeners=function(a){return this.eventHandlers.has(a)},o.prototype.registerPotentialNode=function(a,l){this.potentialNodes.set(a,l)},o.prototype.mount=function(a,l){var s=this,u;if(l===void 0&&(l=!1),!this.instance){this.isSVG=a instanceof SVGElement&&a.tagName!=="svg",this.instance=a;var c=this.options,p=c.layoutId,f=c.layout,h=c.visualElement;if(h&&!h.getInstance()&&h.mount(a),this.root.nodes.add(this),(u=this.parent)===null||u===void 0||u.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(f||p)&&(this.isLayoutDirty=!0),t){var m,y=function(){return s.root.updateBlockedByResize=!1};t(a,function(){s.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(y,250),hl.hasAnimatedSinceResize&&(hl.hasAnimatedSinceResize=!1,s.nodes.forEach(kL))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&h&&(p||f)&&this.addEventListener("didUpdate",function(v){var g,b,w,C,k,_=v.delta,E=v.hasLayoutChanged,M=v.hasRelativeTargetChanged,O=v.layout;if(s.isTreeAnimationBlocked()){s.target=void 0,s.relativeTarget=void 0;return}var V=(b=(g=s.options.transition)!==null&&g!==void 0?g:h.getDefaultTransition())!==null&&b!==void 0?b:LL,Z=h.getProps().onLayoutAnimationComplete,G=!s.targetLayout||!E3(s.targetLayout,O)||M,U=!E&&M;if(((w=s.resumeFrom)===null||w===void 0?void 0:w.instance)||U||E&&(G||!s.currentAnimation)){s.resumeFrom&&(s.resumingFrom=s.resumeFrom,s.resumingFrom.resumingFrom=void 0),s.setAnimationOrigin(_,U);var Y=j(j({},$p(V,"layout")),{onComplete:Z});h.shouldReduceMotion&&(Y.delay=0,Y.type=!1),s.startAnimation(Y)}else!E&&s.animationProgress===0&&s.finishAnimation(),s.isLead()&&((k=(C=s.options).onExitComplete)===null||k===void 0||k.call(C));s.targetLayout=O})}},o.prototype.unmount=function(){var a,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,Qa.preRender(this.updateProjection)},o.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},o.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},o.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},o.prototype.isTreeAnimationBlocked=function(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1},o.prototype.startUpdate=function(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(TL))},o.prototype.willUpdate=function(a){var l,s,u;if(a===void 0&&(a=!0),this.root.isUpdateBlocked()){(s=(l=this.options).onExitComplete)===null||s===void 0||s.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var c=0;c<this.path.length;c++){var p=this.path[c];p.shouldResetTransform=!0,p.updateScroll()}var f=this.options,h=f.layoutId,m=f.layout;if(!(h===void 0&&!m)){var y=(u=this.options.visualElement)===null||u===void 0?void 0:u.getProps().transformTemplate;this.prevTransformTemplateValue=y==null?void 0:y(this.latestValues,""),this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}}},o.prototype.didUpdate=function(){var a=this.isUpdateBlocked();if(a){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(O3);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(AL),this.potentialNodes.clear()),this.nodes.forEach(SL),this.nodes.forEach(xL),this.nodes.forEach(wL),this.clearAllSnapshots(),pp.update(),pp.preRender(),pp.render())},o.prototype.clearAllSnapshots=function(){this.nodes.forEach(CL),this.sharedNodes.forEach(PL)},o.prototype.scheduleUpdateProjection=function(){br.preRender(this.updateProjection,!1,!0)},o.prototype.scheduleCheckAfterUnmount=function(){var a=this;br.postRender(function(){a.isLayoutDirty?a.root.didUpdate():a.root.checkUpdateFailed()})},o.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var a=this.measure(),l=this.removeTransform(this.removeElementScroll(a));I3(l),this.snapshot={measured:a,layout:l,latestValues:{}}}},o.prototype.updateLayout=function(){var a;if(!!this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var l=0;l<this.path.length;l++){var s=this.path[l];s.updateScroll()}var u=this.measure();I3(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(a=this.options.visualElement)===null||a===void 0||a.notifyLayoutMeasure(this.layout.actual,c==null?void 0:c.actual)}},o.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=n(this.instance))},o.prototype.resetTransform=function(){var a;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!k3(this.projectionDelta),u=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate,c=u==null?void 0:u(this.latestValues,""),p=c!==this.prevTransformTemplateValue;l&&(s||_n(this.latestValues)||p)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},o.prototype.measure=function(){var a=this.options.visualElement;if(!a)return dt();var l=a.measureViewportBox(),s=this.root.scroll;return s&&(lo(l.x,s.x),lo(l.y,s.y)),l},o.prototype.removeElementScroll=function(a){var l=dt();wr(l,a);for(var s=0;s<this.path.length;s++){var u=this.path[s],c=u.scroll,p=u.options;u!==this.root&&c&&p.layoutScroll&&(lo(l.x,c.x),lo(l.y,c.y))}return l},o.prototype.applyTransform=function(a,l){l===void 0&&(l=!1);var s=dt();wr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&so(s,{x:-c.scroll.x,y:-c.scroll.y}),_n(c.latestValues)&&so(s,c.latestValues)}return _n(this.latestValues)&&so(s,this.latestValues),s},o.prototype.removeTransform=function(a){var l,s=dt();wr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!_n(c.latestValues)){u3(c.latestValues)&&c.updateSnapshot();var p=dt(),f=c.measure();wr(p,f),x3(s,c.latestValues,(l=c.snapshot)===null||l===void 0?void 0:l.layout,p)}}return _n(this.latestValues)&&x3(s,this.latestValues),s},o.prototype.setTargetDelta=function(a){this.targetDelta=a,this.root.scheduleUpdateProjection()},o.prototype.setOptions=function(a){var l;this.options=j(j(j({},this.options),a),{crossfade:(l=a.crossfade)!==null&&l!==void 0?l:!0})},o.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},o.prototype.resolveTargetDelta=function(){var a,l=this.options,s=l.layout,u=l.layoutId;!this.layout||!(s||u)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=dt(),this.relativeTargetOrigin=dt(),cl(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),wr(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=dt(),this.targetWithTransforms=dt()),this.relativeTarget&&this.relativeTargetOrigin&&((a=this.relativeParent)===null||a===void 0?void 0:a.target)?lL(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):wr(this.target,this.layout.actual),f3(this.target,this.targetDelta)):wr(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=dt(),this.relativeTargetOrigin=dt(),cl(this.relativeTargetOrigin,this.target,this.relativeParent.target),wr(this.relativeTarget,this.relativeTargetOrigin)))))},o.prototype.getClosestProjectingParent=function(){if(!(!this.parent||_n(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},o.prototype.calcProjection=function(){var a,l=this.options,s=l.layout,u=l.layoutId;if(this.isTreeAnimating=Boolean(((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(s||u))){var c=this.getLead();wr(this.layoutCorrected,this.layout.actual),iL(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var p=c.target;if(!!p){this.projectionDelta||(this.projectionDelta=dl(),this.projectionDeltaWithTransform=dl());var f=this.treeScale.x,h=this.treeScale.y,m=this.projectionTransform;ul(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=_3(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==f||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}}},o.prototype.hide=function(){this.isVisible=!1},o.prototype.show=function(){this.isVisible=!0},o.prototype.scheduleRender=function(a){var l,s,u;a===void 0&&(a=!0),(s=(l=this.options).scheduleRender)===null||s===void 0||s.call(l),a&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},o.prototype.setAnimationOrigin=function(a,l){var s=this,u;l===void 0&&(l=!1);var c=this.snapshot,p=(c==null?void 0:c.latestValues)||{},f=j({},this.latestValues),h=dl();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=dt(),y=c==null?void 0:c.isShared,v=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,g=Boolean(y&&!v&&this.options.crossfade===!0&&!this.path.some(OL));this.animationProgress=0,this.mixTargetDelta=function(b){var w,C=b/1e3;L3(h.x,a.x,C),L3(h.y,a.y,C),s.setTargetDelta(h),s.relativeTarget&&s.relativeTargetOrigin&&s.layout&&((w=s.relativeParent)===null||w===void 0?void 0:w.layout)&&(cl(m,s.layout.actual,s.relativeParent.layout.actual),ML(s.relativeTarget,s.relativeTargetOrigin,m,C)),y&&(s.animationValues=f,tL(f,p,s.latestValues,C,g,v)),s.root.scheduleUpdateProjection(),s.scheduleRender(),s.animationProgress=C},this.mixTargetDelta(0)},o.prototype.startAnimation=function(a){var l=this,s,u;(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(Qa.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=br.update(function(){hl.hasAnimatedSinceResize=!0,l.currentAnimation=JO(0,P3,j(j({},a),{onUpdate:function(c){var p;l.mixTargetDelta(c),(p=a.onUpdate)===null||p===void 0||p.call(a,c)},onComplete:function(){var c;(c=a.onComplete)===null||c===void 0||c.call(a),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},o.prototype.completeAnimation=function(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},o.prototype.finishAnimation=function(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,P3),this.currentAnimation.stop()),this.completeAnimation()},o.prototype.applyTransformsToTarget=function(){var a=this.getLead(),l=a.targetWithTransforms,s=a.target,u=a.layout,c=a.latestValues;!l||!s||!u||(wr(l,s),so(l,c),ul(this.projectionDeltaWithTransform,this.layoutCorrected,l,c))},o.prototype.registerSharedNode=function(a,l){var s,u,c;this.sharedNodes.has(a)||this.sharedNodes.set(a,new dL);var p=this.sharedNodes.get(a);p.add(l),l.promote({transition:(s=l.options.initialPromotionConfig)===null||s===void 0?void 0:s.transition,preserveFollowOpacity:(c=(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||c===void 0?void 0:c.call(u,l)})},o.prototype.isLead=function(){var a=this.getStack();return a?a.lead===this:!0},o.prototype.getLead=function(){var a,l=this.options.layoutId;return l?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this},o.prototype.getPrevLead=function(){var a,l=this.options.layoutId;return l?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0},o.prototype.getStack=function(){var a=this.options.layoutId;if(a)return this.root.sharedNodes.get(a)},o.prototype.promote=function(a){var l=a===void 0?{}:a,s=l.needsReset,u=l.transition,c=l.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,c),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},o.prototype.relegate=function(){var a=this.getStack();return a?a.relegate(this):!1},o.prototype.resetRotation=function(){var a=this.options.visualElement;if(!!a){for(var l=!1,s={},u=0;u<Hp.length;u++){var c=Hp[u],p="rotate"+c;!a.getStaticValue(p)||(l=!0,s[p]=a.getStaticValue(p),a.setStaticValue(p,0))}if(!!l){a==null||a.syncRender();for(var p in s)a.setStaticValue(p,s[p]);a.scheduleRender()}}},o.prototype.getProjectionStyles=function(a){var l,s,u,c,p,f;a===void 0&&(a={});var h={};if(!this.instance||this.isSVG)return h;if(this.isVisible)h.visibility="";else return{visibility:"hidden"};var m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=fc(a.pointerEvents)||"",h.transform=m?m(this.latestValues,""):"none",h;var y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){var v={};return this.options.layoutId&&(v.opacity=(s=this.latestValues.opacity)!==null&&s!==void 0?s:1,v.pointerEvents=fc(a.pointerEvents)||""),this.hasProjected&&!_n(this.latestValues)&&(v.transform=m?m({},""):"none",this.hasProjected=!1),v}var g=y.animationValues||y.latestValues;this.applyTransformsToTarget(),h.transform=_3(this.projectionDeltaWithTransform,this.treeScale,g),m&&(h.transform=m(g,h.transform));var b=this.projectionDelta,w=b.x,C=b.y;h.transformOrigin="".concat(w.origin*100,"% ").concat(C.origin*100,"% 0"),y.animationValues?h.opacity=y===this?(c=(u=g.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:h.opacity=y===this?(p=g.opacity)!==null&&p!==void 0?p:"":(f=g.opacityExit)!==null&&f!==void 0?f:0;for(var k in dc)if(g[k]!==void 0){var _=dc[k],E=_.correct,M=_.applyTo,O=E(g[k],y);if(M)for(var V=M.length,Z=0;Z<V;Z++)h[M[Z]]=O;else h[k]=O}return this.options.layoutId&&(h.pointerEvents=y===this?fc(a.pointerEvents)||"":"none"),h},o.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},o.prototype.resetTree=function(){this.root.nodes.forEach(function(a){var l;return(l=a.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(O3),this.root.sharedNodes.clear()},o}()}function xL(e){e.updateLayout()}function wL(e){var t,r,n,i,o=(r=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&r!==void 0?r:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var a=e.layout,l=a.actual,s=a.measured;e.options.animationType==="size"?Cr(function(b){var w=o.isShared?o.measured[b]:o.layout[b],C=Hr(w);w.min=l[b].min,w.max=w.min+C}):e.options.animationType==="position"&&Cr(function(b){var w=o.isShared?o.measured[b]:o.layout[b],C=Hr(l[b]);w.max=w.min+C});var u=dl();ul(u,l,o.layout);var c=dl();o.isShared?ul(c,e.applyTransform(s,!0),o.measured):ul(c,l,o.layout);var p=!k3(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var h=e.relativeParent,m=h.snapshot,y=h.layout;if(m&&y){var v=dt();cl(v,o.layout,m.layout);var g=dt();cl(g,l,y.actual),E3(v,g)||(f=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:o,delta:c,layoutDelta:u,hasLayoutChanged:p,hasRelativeTargetChanged:f})}else e.isLead()&&((i=(n=e.options).onExitComplete)===null||i===void 0||i.call(n));e.options.transition=void 0}function CL(e){e.clearSnapshot()}function O3(e){e.clearMeasurements()}function SL(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function kL(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function EL(e){e.resolveTargetDelta()}function _L(e){e.calcProjection()}function TL(e){e.resetRotation()}function PL(e){e.removeLeadSnapshot()}function L3(e,t,r){e.translate=Be(t.translate,0,r),e.scale=Be(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function A3(e,t,r,n){e.min=Be(t.min,r.min,n),e.max=Be(t.max,r.max,n)}function ML(e,t,r,n){A3(e.x,t.x,r.x,n),A3(e.y,t.y,r.y,n)}function OL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var LL={duration:.45,ease:[.4,0,.1,1]};function AL(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var i=r&&r!==e.root?r.instance:document,o=i.querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function F3(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function I3(e){F3(e.x),F3(e.y)}var FL=1;function IL(){return Ka(function(){if(hl.hasEverUpdated)return FL++})}var jp=A.createContext({}),D3=A.createContext({});function DL(e,t,r,n){var i,o=t.layoutId,a=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=A.useContext(D3);!n||!r||(r==null?void 0:r.projection)||(r.projection=new n(e,r.getLatestValues(),(i=r.parent)===null||i===void 0?void 0:i.projection),r.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:Boolean(l)||s&&no(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var RL=function(e){r4(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var r=this.props,n=r.visualElement,i=r.props;n&&n.setProps(i)},t.prototype.render=function(){return this.props.children},t}(Kr.default.Component);function VL(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,o=e.useVisualState,a=e.Component;t&&oM(t);function l(s,u){var c=$L(s);s=j(j({},s),{layoutId:c});var p=A.useContext(up),f=null,h=yM(s),m=p.isStatic?void 0:IL(),y=o(s,p.isStatic);return!p.isStatic&&Ya&&(h.visualElement=pM(a,y,j(j({},p),s),r),DL(m,s,h.visualElement,n||Za.projectionNodeConstructor),f=sM(s,h.visualElement)),x.createElement(RL,{visualElement:h.visualElement,props:j(j({},p),s)},f,x.createElement(Zu.Provider,{value:h},i(a,s,m,hM(y,h.visualElement,u),y,p.isStatic,h.visualElement)))}return A.forwardRef(l)}function $L(e){var t,r=e.layoutId,n=(t=A.useContext(jp))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function BL(e){function t(n,i){return i===void 0&&(i={}),VL(e(n,i))}if(typeof Proxy=="undefined")return t;var r=new Map;return new Proxy(t,{get:function(n,i){return r.has(i)||r.set(i,t(i)),r.get(i)}})}var NL=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Wp(e){return typeof e!="string"||e.includes("-")?!1:!!(NL.indexOf(e)>-1||/[A-Z]/.test(e))}function R3(e,t){var r=t.layout,n=t.layoutId;return pl(e)||T3(e)||(r||n!==void 0)&&(!!dc[e]||e==="opacity")}var zL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function HL(e,t,r,n){var i=e.transform,o=e.transformKeys,a=t.enableHardwareAcceleration,l=a===void 0?!0:a,s=t.allowTransformNone,u=s===void 0?!0:s,c="";o.sort(vL);for(var p=!1,f=o.length,h=0;h<f;h++){var m=o[h];c+="".concat(zL[m]||m,"(").concat(i[m],") "),m==="z"&&(p=!0)}return!p&&l?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function jL(e){var t=e.originX,r=t===void 0?"50%":t,n=e.originY,i=n===void 0?"50%":n,o=e.originZ,a=o===void 0?0:o;return"".concat(r," ").concat(i," ").concat(a)}function V3(e){return e.startsWith("--")}var WL=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function Up(e,t,r,n){var i,o=e.style,a=e.vars,l=e.transform,s=e.transformKeys,u=e.transformOrigin;s.length=0;var c=!1,p=!1,f=!0;for(var h in t){var m=t[h];if(V3(h)){a[h]=m;continue}var y=J4[h],v=WL(m,y);if(pl(h)){if(c=!0,l[h]=v,s.push(h),!f)continue;m!==((i=y.default)!==null&&i!==void 0?i:0)&&(f=!1)}else T3(h)?(u[h]=v,p=!0):o[h]=v}c?o.transform=HL(e,r,f,n):n?o.transform=n({},""):!t.transform&&o.transform&&(o.transform="none"),p&&(o.transformOrigin=jL(u))}var Zp=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function $3(e,t,r){for(var n in t)!zr(t[n])&&!R3(n,r)&&(e[n]=t[n])}function UL(e,t,r){var n=e.transformTemplate;return A.useMemo(function(){var i=Zp();Up(i,t,{enableHardwareAcceleration:!r},n);var o=i.vars,a=i.style;return j(j({},o),a)},[t])}function ZL(e,t,r){var n=e.style||{},i={};return $3(i,n,e),Object.assign(i,UL(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function GL(e,t,r){var n={},i=ZL(e,t,r);return Boolean(e.drag)&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),n.style=i,n}var YL=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function pc(e){return YL.has(e)}var B3=function(e){return!pc(e)};function KL(e){!e||(B3=function(t){return t.startsWith("on")?!pc(t):e(t)})}try{KL(require("@emotion/is-prop-valid").default)}catch{}function qL(e,t,r){var n={};for(var i in e)(B3(i)||r===!0&&pc(i)||!t&&!pc(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function N3(e,t,r){return typeof e=="string"?e:te.transform(t+r*e)}function XL(e,t,r){var n=N3(t,e.x,e.width),i=N3(r,e.y,e.height);return"".concat(n," ").concat(i)}var QL={offset:"stroke-dashoffset",array:"stroke-dasharray"},JL={offset:"strokeDashoffset",array:"strokeDasharray"};function eA(e,t,r,n,i){r===void 0&&(r=1),n===void 0&&(n=0),i===void 0&&(i=!0),e.pathLength=1;var o=i?QL:JL;e[o.offset]=te.transform(-n);var a=te.transform(t),l=te.transform(r);e[o.array]="".concat(a," ").concat(l)}function Gp(e,t,r,n){var i=t.attrX,o=t.attrY,a=t.originX,l=t.originY,s=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,p=t.pathOffset,f=p===void 0?0:p,h=It(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);Up(e,h,r,n),e.attrs=e.style,e.style={};var m=e.attrs,y=e.style,v=e.dimensions;m.transform&&(v&&(y.transform=m.transform),delete m.transform),v&&(a!==void 0||l!==void 0||y.transform)&&(y.transformOrigin=XL(v,a!==void 0?a:.5,l!==void 0?l:.5)),i!==void 0&&(m.x=i),o!==void 0&&(m.y=o),s!==void 0&&eA(m,s,c,f,!1)}var z3=function(){return j(j({},Zp()),{attrs:{}})};function tA(e,t){var r=A.useMemo(function(){var i=z3();return Gp(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),j(j({},i.attrs),{style:j({},i.style)})},[t]);if(e.style){var n={};$3(n,e.style,e),r.style=j(j({},n),r.style)}return r}function rA(e){e===void 0&&(e=!1);var t=function(r,n,i,o,a,l){var s=a.latestValues,u=Wp(r)?tA:GL,c=u(n,s,l),p=qL(n,typeof r=="string",e),f=j(j(j({},p),c),{ref:o});return i&&(f["data-projection-id"]=i),A.createElement(r,f)};return t}var nA=/([a-z])([A-Z])/g,iA="$1-$2",H3=function(e){return e.replace(nA,iA).toLowerCase()};function j3(e,t,r,n){var i=t.style,o=t.vars;Object.assign(e.style,i,n&&n.getProjectionStyles(r));for(var a in o)e.style.setProperty(a,o[a])}var W3=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function U3(e,t){j3(e,t);for(var r in t.attrs)e.setAttribute(W3.has(r)?r:H3(r),t.attrs[r])}function Yp(e){var t=e.style,r={};for(var n in t)(zr(t[n])||R3(n,e))&&(r[n]=t[n]);return r}function Z3(e){var t=Yp(e);for(var r in e)if(zr(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function Kp(e){return typeof e=="object"&&typeof e.start=="function"}function G3(e,t,r,n){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,a=e.onMount,l={latestValues:oA(t,r,n,i),renderState:o()};return a&&(l.mount=function(s){return a(t,s,l)}),l}var Y3=function(e){return function(t,r){var n=A.useContext(Zu),i=A.useContext(Ga);return r?G3(e,t,n,i):Ka(function(){return G3(e,t,n,i)})}};function oA(e,t,r,n){var i={},o=(r==null?void 0:r.initial)===!1,a=n(e);for(var l in a)i[l]=fc(a[l]);var s=e.initial,u=e.animate,c=Ku(e),p=s4(e);t&&p&&!c&&e.inherit!==!1&&(s!=null||(s=t.initial),u!=null||(u=t.animate));var f=o||s===!1,h=f?u:s;if(h&&typeof h!="boolean"&&!Kp(h)){var m=Array.isArray(h)?h:[h];m.forEach(function(y){var v=l4(e,y);if(!!v){var g=v.transitionEnd;v.transition;var b=It(v,["transitionEnd","transition"]);for(var w in b){var C=b[w];if(Array.isArray(C)){var k=f?C.length-1:0;C=C[k]}C!==null&&(i[w]=C)}for(var w in g)i[w]=g[w]}})}return i}var aA={useVisualState:Y3({scrapeMotionValuesFromProps:Z3,createRenderState:z3,onMount:function(e,t,r){var n=r.renderState,i=r.latestValues;try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}Gp(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),U3(t,n)}})},lA={useVisualState:Y3({scrapeMotionValuesFromProps:Yp,createRenderState:Zp})};function sA(e,t,r,n,i){var o=t.forwardMotionProps,a=o===void 0?!1:o,l=Wp(e)?aA:lA;return j(j({},l),{preloadedFeatures:r,useRender:rA(a),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var ke;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(ke||(ke={}));function qp(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function Xp(e,t,r,n){A.useEffect(function(){var i=e.current;if(r&&i)return qp(i,t,r,n)},[e,t,r,n])}function uA(e){var t=e.whileFocus,r=e.visualElement,n=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ke.Focus,!0)},i=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ke.Focus,!1)};Xp(r,"focus",t?n:void 0),Xp(r,"blur",t?i:void 0)}function K3(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function q3(e){var t=!!e.touches;return t}function cA(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var dA={pageX:0,pageY:0};function fA(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||dA;return{x:n[t+"X"],y:n[t+"Y"]}}function pA(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Qp(e,t){return t===void 0&&(t="page"),{point:q3(e)?fA(e,t):pA(e,t)}}var X3=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,Qp(n))};return t?cA(r):r},hA=function(){return Ya&&window.onpointerdown===null},vA=function(){return Ya&&window.ontouchstart===null},mA=function(){return Ya&&window.onmousedown===null},gA={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},yA={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Q3(e){return hA()?e:vA()?yA[e]:mA()?gA[e]:e}function uo(e,t,r,n){return qp(e,Q3(t),X3(r,t==="pointerdown"),n)}function hc(e,t,r,n){return Xp(e,Q3(t),r&&X3(r,t==="pointerdown"),n)}function J3(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var e8=J3("dragHorizontal"),t8=J3("dragVertical");function r8(e){var t=!1;if(e==="y")t=t8();else if(e==="x")t=e8();else{var r=e8(),n=t8();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function n8(){var e=r8(!0);return e?(e(),!1):!0}function i8(e,t,r){return function(n,i){var o;!K3(n)||n8()||((o=e.animationState)===null||o===void 0||o.setActive(ke.Hover,t),r==null||r(n,i))}}function bA(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;hc(i,"pointerenter",t||n?i8(i,!0,t):void 0),hc(i,"pointerleave",r||n?i8(i,!1,r):void 0)}var o8=function(e,t){return t?e===t?!0:o8(e,t.parentElement):!1};function Jp(e){return A.useEffect(function(){return function(){return e()}},[])}function xA(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,o=e.visualElement,a=t||r||n||i,l=A.useRef(!1),s=A.useRef(null);function u(){var m;(m=s.current)===null||m===void 0||m.call(s),s.current=null}function c(){var m;return u(),l.current=!1,(m=o.animationState)===null||m===void 0||m.setActive(ke.Tap,!1),!n8()}function p(m,y){!c()||(o8(o.getInstance(),m.target)?t==null||t(m,y):n==null||n(m,y))}function f(m,y){!c()||n==null||n(m,y)}function h(m,y){var v;u(),!l.current&&(l.current=!0,s.current=Ju(uo(window,"pointerup",p),uo(window,"pointercancel",f)),(v=o.animationState)===null||v===void 0||v.setActive(ke.Tap,!0),r==null||r(m,y))}hc(o,"pointerdown",a?h:void 0),Jp(u)}var e1=new WeakMap,t1=new WeakMap,wA=function(e){var t;(t=e1.get(e.target))===null||t===void 0||t(e)},CA=function(e){e.forEach(wA)};function SA(e){var t=e.root,r=It(e,["root"]),n=t||document;t1.has(n)||t1.set(n,{});var i=t1.get(n),o=JSON.stringify(r);return i[o]||(i[o]=new IntersectionObserver(CA,j({root:t},r))),i[o]}function kA(e,t,r){var n=SA(t);return e1.set(e,r),n.observe(e),function(){e1.delete(e),n.unobserve(e)}}function EA(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,o=e.viewport,a=o===void 0?{}:o,l=A.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||i);a.once&&l.current.hasEnteredView&&(s=!1);var u=typeof IntersectionObserver=="undefined"?PA:TA;u(s,l.current,t,a)}var _A={some:0,all:1};function TA(e,t,r,n){var i=n.root,o=n.margin,a=n.amount,l=a===void 0?"some":a,s=n.once;A.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:o,threshold:typeof l=="number"?l:_A[l]},c=function(p){var f,h=p.isIntersecting;if(t.isInView!==h&&(t.isInView=h,!(s&&!h&&t.hasEnteredView))){h&&(t.hasEnteredView=!0),(f=r.animationState)===null||f===void 0||f.setActive(ke.InView,h);var m=r.getProps(),y=h?m.onViewportEnter:m.onViewportLeave;y==null||y(p)}};return kA(r.getInstance(),u,c)}},[e,i,o,l])}function PA(e,t,r,n){var i=n.fallback,o=i===void 0?!0:i;A.useEffect(function(){!e||!o||requestAnimationFrame(function(){var a;t.hasEnteredView=!0;var l=r.getProps().onViewportEnter;l==null||l(null),(a=r.animationState)===null||a===void 0||a.setActive(ke.InView,!0)})},[e])}var Tn=function(e){return function(t){return e(t),null}},MA={inView:Tn(EA),tap:Tn(xA),focus:Tn(uA),hover:Tn(bA)},OA=0,LA=function(){return OA++},a8=function(){return Ka(LA)};function r1(){var e=A.useContext(Ga);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=a8();A.useEffect(function(){return n(i)},[]);var o=function(){return r==null?void 0:r(i)};return!t&&r?[!1,o]:[!0]}function l8(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var AA=function(e){return/^\-?\d*\.?\d+$/.test(e)},FA=function(e){return/^0[^.\s]+$/.test(e)},s8=function(e){return function(t){return t.test(e)}},IA={test:function(e){return e==="auto"},parse:function(e){return e}},u8=[ii,te,xr,kn,DM,IM,IA],vl=function(e){return u8.find(s8(e))},DA=ir(ir([],$e(u8),!1),[ht,Nr],!1),RA=function(e){return DA.find(s8(e))};function VA(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ao(r))}function $A(e,t){var r=Yu(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,o=i===void 0?{}:i;n.transition;var a=It(n,["transitionEnd","transition"]);a=j(j({},a),o);for(var l in a){var s=e3(a[l]);VA(e,l,s)}}function BA(e,t,r){var n,i,o,a,l=Object.keys(t).filter(function(h){return!e.hasValue(h)}),s=l.length;if(!!s)for(var u=0;u<s;u++){var c=l[u],p=t[c],f=null;Array.isArray(p)&&(f=p[0]),f===null&&(f=(i=(n=r[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&i!==void 0?i:t[c]),f!=null&&(typeof f=="string"&&(AA(f)||FA(f))?f=parseFloat(f):!RA(f)&&Nr.test(p)&&(f=Vp(c,p)),e.addValue(c,ao(f)),(o=(a=r)[c])!==null&&o!==void 0||(a[c]=f),e.setBaseTarget(c,f))}}function NA(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function zA(e,t,r){var n,i,o={};for(var a in e)o[a]=(n=NA(a,t))!==null&&n!==void 0?n:(i=r.getValue(a))===null||i===void 0?void 0:i.get();return o}function HA(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(a){return n1(e,a,r)});n=Promise.all(i)}else if(typeof t=="string")n=n1(e,t,r);else{var o=typeof t=="function"?Yu(e,t,r.custom):t;n=c8(e,o,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function n1(e,t,r){var n;r===void 0&&(r={});var i=Yu(e,t,r.custom),o=(i||{}).transition,a=o===void 0?e.getDefaultTransition()||{}:o;r.transitionOverride&&(a=r.transitionOverride);var l=i?function(){return c8(e,i,r)}:function(){return Promise.resolve()},s=!((n=e.variantChildren)===null||n===void 0)&&n.size?function(h){h===void 0&&(h=0);var m=a.delayChildren,y=m===void 0?0:m,v=a.staggerChildren,g=a.staggerDirection;return jA(e,t,y+h,v,g,r)}:function(){return Promise.resolve()},u=a.when;if(u){var c=$e(u==="beforeChildren"?[l,s]:[s,l],2),p=c[0],f=c[1];return p().then(f)}else return Promise.all([l(),s(r.delay)])}function c8(e,t,r){var n,i=r===void 0?{}:r,o=i.delay,a=o===void 0?0:o,l=i.transitionOverride,s=i.type,u=e.makeTargetAnimatable(t),c=u.transition,p=c===void 0?e.getDefaultTransition():c,f=u.transitionEnd,h=It(u,["transition","transitionEnd"]);l&&(p=l);var m=[],y=s&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[s]);for(var v in h){var g=e.getValue(v),b=h[v];if(!(!g||b===void 0||y&&UA(y,v))){var w=j({delay:a},p);e.shouldReduceMotion&&pl(v)&&(w=j(j({},w),{type:!1,delay:0}));var C=Bp(v,g,b,w);m.push(C)}}return Promise.all(m).then(function(){f&&$A(e,f)})}function jA(e,t,r,n,i,o){r===void 0&&(r=0),n===void 0&&(n=0),i===void 0&&(i=1);var a=[],l=(e.variantChildren.size-1)*n,s=i===1?function(u){return u===void 0&&(u=0),u*n}:function(u){return u===void 0&&(u=0),l-u*n};return Array.from(e.variantChildren).sort(WA).forEach(function(u,c){a.push(n1(u,t,j(j({},o),{delay:r+s(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function WA(e,t){return e.sortNodePosition(t)}function UA(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var i1=[ke.Animate,ke.InView,ke.Focus,ke.Hover,ke.Tap,ke.Drag,ke.Exit],ZA=ir([],$e(i1),!1).reverse(),GA=i1.length;function YA(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return HA(e,n,i)}))}}function KA(e){var t=YA(e),r=XA(),n={},i=!0,o=function(c,p){var f=Yu(e,p);if(f){f.transition;var h=f.transitionEnd,m=It(f,["transition","transitionEnd"]);c=j(j(j({},c),m),h)}return c};function a(c){return n[c]!==void 0}function l(c){t=c(e)}function s(c,p){for(var f,h=e.getProps(),m=e.getVariantContext(!0)||{},y=[],v=new Set,g={},b=1/0,w=function(E){var M=ZA[E],O=r[M],V=(f=h[M])!==null&&f!==void 0?f:m[M],Z=or(V),G=M===p?O.isActive:null;G===!1&&(b=E);var U=V===m[M]&&V!==h[M]&&Z;if(U&&i&&e.manuallyAnimateOnMount&&(U=!1),O.protectedKeys=j({},g),!O.isActive&&G===null||!V&&!O.prevProp||Kp(V)||typeof V=="boolean")return"continue";var Y=qA(O.prevProp,V),Q=Y||M===p&&O.isActive&&!U&&Z||E>b&&Z,J=Array.isArray(V)?V:[V],ie=J.reduce(o,{});G===!1&&(ie={});var we=O.prevResolvedValues,he=we===void 0?{}:we,ye=j(j({},he),ie),I=function(H){Q=!0,v.delete(H),O.needsAnimating[H]=!0};for(var L in ye){var R=ie[L],N=he[L];g.hasOwnProperty(L)||(R!==N?sl(R)&&sl(N)?!l8(R,N)||Y?I(L):O.protectedKeys[L]=!0:R!==void 0?I(L):v.add(L):R!==void 0&&v.has(L)?I(L):O.protectedKeys[L]=!0)}O.prevProp=V,O.prevResolvedValues=ie,O.isActive&&(g=j(j({},g),ie)),i&&e.blockInitialAnimation&&(Q=!1),Q&&!U&&y.push.apply(y,ir([],$e(J.map(function(H){return{animation:H,options:j({type:M},c)}})),!1))},C=0;C<GA;C++)w(C);if(n=j({},g),v.size){var k={};v.forEach(function(E){var M=e.getBaseTarget(E);M!==void 0&&(k[E]=M)}),y.push({animation:k})}var _=Boolean(y.length);return i&&h.initial===!1&&!e.manuallyAnimateOnMount&&(_=!1),i=!1,_?t(y):Promise.resolve()}function u(c,p,f){var h;if(r[c].isActive===p)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(v){var g;return(g=v.animationState)===null||g===void 0?void 0:g.setActive(c,p)}),r[c].isActive=p;var m=s(f,c);for(var y in r)r[y].protectedKeys={};return m}return{isAnimated:a,animateChanges:s,setActive:u,setAnimateFunction:l,getState:function(){return r}}}function qA(e,t){return typeof t=="string"?t!==e:a4(t)?!l8(t,e):!1}function li(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function XA(){var e;return e={},e[ke.Animate]=li(!0),e[ke.InView]=li(),e[ke.Hover]=li(),e[ke.Tap]=li(),e[ke.Drag]=li(),e[ke.Focus]=li(),e[ke.Exit]=li(),e}var QA={animation:Tn(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=KA(t)),Kp(r)&&A.useEffect(function(){return r.subscribe(t)},[r])}),exit:Tn(function(e){var t=e.custom,r=e.visualElement,n=$e(r1(),2),i=n[0],o=n[1],a=A.useContext(Ga);A.useEffect(function(){var l,s;r.isPresent=i;var u=(l=r.animationState)===null||l===void 0?void 0:l.setActive(ke.Exit,!i,{custom:(s=a==null?void 0:a.custom)!==null&&s!==void 0?s:t});!i&&(u==null||u.then(o))},[i])})},d8=function(){function e(t,r,n){var i=this,o=n===void 0?{}:n,a=o.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var f=a1(i.lastMoveEventInfo,i.history),h=i.startEvent!==null,m=W4(f.offset,{x:0,y:0})>=3;if(!(!h&&!m)){var y=f.point,v=hp().timestamp;i.history.push(j(j({},y),{timestamp:v}));var g=i.handlers,b=g.onStart,w=g.onMove;h||(b&&b(i.lastMoveEvent,f),i.startEvent=i.lastMoveEvent),w&&w(i.lastMoveEvent,f)}}},this.handlePointerMove=function(f,h){if(i.lastMoveEvent=f,i.lastMoveEventInfo=o1(h,i.transformPagePoint),K3(f)&&f.buttons===0){i.handlePointerUp(f,h);return}br.update(i.updatePoint,!0)},this.handlePointerUp=function(f,h){i.end();var m=i.handlers,y=m.onEnd,v=m.onSessionEnd,g=a1(o1(h,i.transformPagePoint),i.history);i.startEvent&&y&&y(f,g),v&&v(f,g)},!(q3(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=a;var l=Qp(t),s=o1(l,this.transformPagePoint),u=s.point,c=hp().timestamp;this.history=[j(j({},u),{timestamp:c})];var p=r.onSessionStart;p&&p(t,a1(s,this.history)),this.removeListeners=Ju(uo(window,"pointermove",this.handlePointerMove),uo(window,"pointerup",this.handlePointerUp),uo(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Qa.update(this.updatePoint)},e}();function o1(e,t){return t?{point:t(e.point)}:e}function f8(e,t){return{x:e.x-t.x,y:e.y-t.y}}function a1(e,t){var r=e.point;return{point:r,delta:f8(r,p8(t)),offset:f8(r,JA(t)),velocity:eF(t,.1)}}function JA(e){return e[0]}function p8(e){return e[e.length-1]}function eF(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=p8(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>sc(t)));)r--;if(!n)return{x:0,y:0};var o=(i.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function tF(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?Be(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Be(i,e,r.max):Math.min(e,i)),e}function h8(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function rF(e,t){var r=t.top,n=t.left,i=t.bottom,o=t.right;return{x:h8(e.x,n,o),y:h8(e.y,r,i)}}function v8(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=$e([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function nF(e,t){return{x:v8(e.x,t.x),y:v8(e.y,t.y)}}function iF(e,t){var r=.5,n=Hr(e),i=Hr(t);return i>n?r=Ja(t.min,t.max-n,e.min):n>i&&(r=Ja(e.min,e.max-i,t.min)),Xu(0,1,r)}function oF(e,t){var r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var l1=.35;function aF(e){return e===void 0&&(e=l1),e===!1?e=0:e===!0&&(e=l1),{x:m8(e,"left","right"),y:m8(e,"top","bottom")}}function m8(e,t,r){return{min:g8(e,t),max:g8(e,r)}}function g8(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function y8(e){var t=e.top,r=e.left,n=e.right,i=e.bottom;return{x:{min:r,max:n},y:{min:t,max:i}}}function lF(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function sF(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function b8(e,t){return y8(sF(e.getBoundingClientRect(),t))}function uF(e,t,r){var n=b8(e,r),i=t.scroll;return i&&(lo(n.x,i.x),lo(n.y,i.y)),n}var cF=new WeakMap,dF=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=dt(),this.visualElement=t}return e.prototype.start=function(t,r){var n=this,i=r===void 0?{}:r,o=i.snapToCursor,a=o===void 0?!1:o;if(this.visualElement.isPresent!==!1){var l=function(p){n.stopAnimation(),a&&n.snapToCursor(Qp(p,"page").point)},s=function(p,f){var h,m=n.getProps(),y=m.drag,v=m.dragPropagation,g=m.onDragStart;y&&!v&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=r8(y),!n.openGlobalLock)||(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Cr(function(b){var w,C,k=n.getAxisMotionValue(b).get()||0;if(xr.test(k)){var _=(C=(w=n.visualElement.projection)===null||w===void 0?void 0:w.layout)===null||C===void 0?void 0:C.actual[b];if(_){var E=Hr(_);k=E*(parseFloat(k)/100)}}n.originPoint[b]=k}),g==null||g(p,f),(h=n.visualElement.animationState)===null||h===void 0||h.setActive(ke.Drag,!0))},u=function(p,f){var h=n.getProps(),m=h.dragPropagation,y=h.dragDirectionLock,v=h.onDirectionLock,g=h.onDrag;if(!(!m&&!n.openGlobalLock)){var b=f.offset;if(y&&n.currentDirection===null){n.currentDirection=fF(b),n.currentDirection!==null&&(v==null||v(n.currentDirection));return}n.updateAxis("x",f.point,b),n.updateAxis("y",f.point,b),n.visualElement.syncRender(),g==null||g(p,f)}},c=function(p,f){return n.stop(p,f)};this.panSession=new d8(t,{onSessionStart:l,onStart:s,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,r){var n=this.isDragging;if(this.cancel(),!!n){var i=r.velocity;this.startAnimation(i);var o=this.getProps().onDragEnd;o==null||o(t,r)}},e.prototype.cancel=function(){var t,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var n=this.getProps().dragPropagation;!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(ke.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!vc(t,i,this.currentDirection))){var o=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=tF(a,this.constraints[t],this.elastic[t])),o.set(a)}},e.prototype.resolveConstraints=function(){var t=this,r=this.getProps(),n=r.dragConstraints,i=r.dragElastic,o=(this.visualElement.projection||{}).layout,a=this.constraints;n&&no(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=rF(o.actual,n):this.constraints=!1,this.elastic=aF(i),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Cr(function(l){t.getAxisMotionValue(l)&&(t.constraints[l]=oF(o.actual[l],t.constraints[l]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!no(r))return!1;var i=r.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var a=uF(i,o.root,this.visualElement.getTransformPagePoint()),l=nF(o.layout.actual,a);if(n){var s=n(lF(l));this.hasMutatedConstraints=!!s,s&&(l=y8(s))}return l},e.prototype.startAnimation=function(t){var r=this,n=this.getProps(),i=n.drag,o=n.dragMomentum,a=n.dragElastic,l=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},p=Cr(function(f){var h;if(!!vc(f,i,r.currentDirection)){var m=(h=c==null?void 0:c[f])!==null&&h!==void 0?h:{};s&&(m={min:0,max:0});var y=a?200:1e6,v=a?40:1e7,g=j(j({type:"inertia",velocity:o?t[f]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},l),m);return r.startAxisValueAnimation(f,g)}});return Promise.all(p).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return Bp(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;Cr(function(r){return t.getAxisMotionValue(r).stop()})},e.prototype.getAxisMotionValue=function(t){var r,n,i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])!==null&&n!==void 0?n:0)},e.prototype.snapToCursor=function(t){var r=this;Cr(function(n){var i=r.getProps().drag;if(!!vc(n,i,r.currentDirection)){var o=r.visualElement.projection,a=r.getAxisMotionValue(n);if(o&&o.layout){var l=o.layout.actual[n],s=l.min,u=l.max;a.set(t[n]-Be(s,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,r,n=this.getProps(),i=n.drag,o=n.dragConstraints,a=this.visualElement.projection;if(!(!no(o)||!a||!this.constraints)){this.stopAnimation();var l={x:0,y:0};Cr(function(u){var c=t.getAxisMotionValue(u);if(c){var p=c.get();l[u]=iF({min:p,max:p},t.constraints[u])}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",(r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout(),this.resolveConstraints(),Cr(function(u){if(!!vc(u,i,null)){var c=t.getAxisMotionValue(u),p=t.constraints[u],f=p.min,h=p.max;c.set(Be(f,h,l[u]))}})}},e.prototype.addListeners=function(){var t=this,r;cF.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=uo(n,"pointerdown",function(u){var c=t.getProps(),p=c.drag,f=c.dragListener,h=f===void 0?!0:f;p&&h&&t.start(u)}),o=function(){var u=t.getProps().dragConstraints;no(u)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,l=a.addEventListener("measure",o);a&&!a.layout&&((r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout()),o();var s=qp(window,"resize",function(){t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,p=u.hasLayoutChanged;t.isDragging&&p&&(Cr(function(f){var h=t.getAxisMotionValue(f);!h||(t.originPoint[f]+=c[f].translate,h.set(h.get()+c[f].translate))}),t.visualElement.syncRender())}),function(){s(),i(),l()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),r=t.drag,n=r===void 0?!1:r,i=t.dragDirectionLock,o=i===void 0?!1:i,a=t.dragPropagation,l=a===void 0?!1:a,s=t.dragConstraints,u=s===void 0?!1:s,c=t.dragElastic,p=c===void 0?l1:c,f=t.dragMomentum,h=f===void 0?!0:f;return j(j({},t),{drag:n,dragDirectionLock:o,dragPropagation:l,dragConstraints:u,dragElastic:p,dragMomentum:h})},e}();function vc(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function fF(e,t){t===void 0&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}function pF(e){var t=e.dragControls,r=e.visualElement,n=Ka(function(){return new dF(r)});A.useEffect(function(){return t&&t.subscribe(n)},[n,t]),A.useEffect(function(){return n.addListeners()},[n])}function hF(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,o=e.visualElement,a=t||r||n||i,l=A.useRef(null),s=A.useContext(up).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(p,f){l.current=null,n&&n(p,f)}};A.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(p){l.current=new d8(p,u,{transformPagePoint:s})}hc(o,"pointerdown",a&&c),Jp(function(){return l.current&&l.current.end()})}var vF={pan:Tn(hF),drag:Tn(pF)},mc=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function mF(){var e=mc.map(function(){return new ll}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){mc.forEach(function(i){var o,a="on"+i,l=n[a];(o=t[i])===null||o===void 0||o.call(t),l&&(t[i]=r[a](l))})}};return e.forEach(function(n,i){r["on"+mc[i]]=function(o){return n.add(o)},r["notify"+mc[i]]=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return n.notify.apply(n,ir([],$e(o),!1))}}),r}function gF(e,t,r){var n;for(var i in t){var o=t[i],a=r[i];if(zr(o))e.addValue(i,o);else if(zr(a))e.addValue(i,ao(o));else if(a!==o)if(e.hasValue(i)){var l=e.getValue(i);!l.hasAnimated&&l.set(o)}else e.addValue(i,ao((n=e.getStaticValue(i))!==null&&n!==void 0?n:o))}for(var i in r)t[i]===void 0&&e.removeValue(i);return t}var x8=function(e){var t=e.treeType,r=t===void 0?"":t,n=e.build,i=e.getBaseTarget,o=e.makeTargetAnimatable,a=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(f,h){var m=f.parent,y=f.props,v=f.presenceId,g=f.blockInitialAnimation,b=f.visualState,w=f.shouldReduceMotion;h===void 0&&(h={});var C=!1,k=b.latestValues,_=b.renderState,E,M=mF(),O=new Map,V=new Map,Z={},G=j({},k),U;function Y(){!E||!C||(Q(),l(E,_,y.style,R.projection))}function Q(){n(R,_,k,h,y)}function J(){M.notifyUpdate(k)}function ie(N,H){var ne=H.onChange(function(be){k[N]=be,y.onUpdate&&br.update(J,!1,!0)}),ce=H.onRenderRequest(R.scheduleRender);V.set(N,function(){ne(),ce()})}var we=p(y);for(var he in we){var ye=we[he];k[he]!==void 0&&zr(ye)&&ye.set(k[he],!1)}var I=Ku(y),L=s4(y),R=j(j({treeType:r,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,presenceId:v,shouldReduceMotion:w,variantChildren:L?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(m==null?void 0:m.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(E)},mount:function(N){C=!0,E=R.current=N,R.projection&&R.projection.mount(N),L&&m&&!I&&(U=m==null?void 0:m.addVariantChild(R)),O.forEach(function(H,ne){return ie(ne,H)}),m==null||m.children.add(R),R.setProps(y)},unmount:function(){var N;(N=R.projection)===null||N===void 0||N.unmount(),Qa.update(J),Qa.render(Y),V.forEach(function(H){return H()}),U==null||U(),m==null||m.children.delete(R),M.clearAllListeners(),E=void 0,C=!1},addVariantChild:function(N){var H,ne=R.getClosestVariantNode();if(ne)return(H=ne.variantChildren)===null||H===void 0||H.add(N),function(){return ne.variantChildren.delete(N)}},sortNodePosition:function(N){return!c||r!==N.treeType?0:c(R.getInstance(),N.getInstance())},getClosestVariantNode:function(){return L?R:m==null?void 0:m.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return E},getStaticValue:function(N){return k[N]},setStaticValue:function(N,H){return k[N]=H},getLatestValues:function(){return k},setVisibility:function(N){R.isVisible!==N&&(R.isVisible=N,R.scheduleRender())},makeTargetAnimatable:function(N,H){return H===void 0&&(H=!0),o(R,N,y,H)},measureViewportBox:function(){return a(E,y)},addValue:function(N,H){R.hasValue(N)&&R.removeValue(N),O.set(N,H),k[N]=H.get(),ie(N,H)},removeValue:function(N){var H;O.delete(N),(H=V.get(N))===null||H===void 0||H(),V.delete(N),delete k[N],u(N,_)},hasValue:function(N){return O.has(N)},getValue:function(N,H){var ne=O.get(N);return ne===void 0&&H!==void 0&&(ne=ao(H),R.addValue(N,ne)),ne},forEachValue:function(N){return O.forEach(N)},readValue:function(N){var H;return(H=k[N])!==null&&H!==void 0?H:s(E,N,h)},setBaseTarget:function(N,H){G[N]=H},getBaseTarget:function(N){if(i){var H=i(y,N);if(H!==void 0&&!zr(H))return H}return G[N]}},M),{build:function(){return Q(),_},scheduleRender:function(){br.render(Y,!1,!0)},syncRender:Y,setProps:function(N){(N.transformTemplate||y.transformTemplate)&&R.scheduleRender(),y=N,M.updatePropListeners(N),Z=gF(R,p(y),Z)},getProps:function(){return y},getVariant:function(N){var H;return(H=y.variants)===null||H===void 0?void 0:H[N]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function(N){if(N===void 0&&(N=!1),N)return m==null?void 0:m.getVariantContext();if(!I){var H=(m==null?void 0:m.getVariantContext())||{};return y.initial!==void 0&&(H.initial=y.initial),H}for(var ne={},ce=0;ce<yF;ce++){var be=w8[ce],je=y[be];(or(je)||je===!1)&&(ne[be]=je)}return ne}});return R}},w8=ir(["initial"],$e(i1),!1),yF=w8.length;function s1(e){return typeof e=="string"&&e.startsWith("var(--")}var C8=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function bF(e){var t=C8.exec(e);if(!t)return[,];var r=$e(t,3),n=r[1],i=r[2];return[n,i]}function u1(e,t,r){var n=$e(bF(e),2),i=n[0],o=n[1];if(!!i){var a=window.getComputedStyle(t).getPropertyValue(i);return a?a.trim():s1(o)?u1(o,t):o}}function xF(e,t,r){var n,i=It(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:r};r&&(r=j({},r)),e.forEachValue(function(u){var c=u.get();if(!!s1(c)){var p=u1(c,o);p&&u.set(p)}});for(var a in i){var l=i[a];if(!!s1(l)){var s=u1(l,o);!s||(i[a]=s,r&&((n=r[a])!==null&&n!==void 0||(r[a]=l)))}}return{target:i,transitionEnd:r}}var wF=new Set(["width","height","top","left","right","bottom","x","y"]),S8=function(e){return wF.has(e)},CF=function(e){return Object.keys(e).some(S8)},k8=function(e,t){e.set(t,!1),e.set(t)},E8=function(e){return e===ii||e===te},_8;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(_8||(_8={}));var T8=function(e,t){return parseFloat(e.split(", ")[t])},P8=function(e,t){return function(r,n){var i=n.transform;if(i==="none"||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return T8(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?T8(a[1],e):0}},SF=new Set(["x","y","z"]),kF=fl.filter(function(e){return!SF.has(e)});function EF(e){var t=[];return kF.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var M8={width:function(e,t){var r=e.x,n=t.paddingLeft,i=n===void 0?"0":n,o=t.paddingRight,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},height:function(e,t){var r=e.y,n=t.paddingTop,i=n===void 0?"0":n,o=t.paddingBottom,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:P8(4,13),y:P8(5,14)},_F=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),a=o.display,l={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(function(u){l[u]=M8[u](n,o)}),t.syncRender();var s=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);k8(c,l[u]),e[u]=M8[u](s,o)}),e},TF=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=j({},t),n=j({},n);var i=Object.keys(t).filter(S8),o=[],a=!1,l=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var p=r[u],f=vl(p),h=t[u],m;if(sl(h)){var y=h.length,v=h[0]===null?1:0;p=h[v],f=vl(p);for(var g=v;g<y;g++)m?Uu(vl(h[g])===m):m=vl(h[g])}else m=vl(h);if(f!==m)if(E8(f)&&E8(m)){var b=c.get();typeof b=="string"&&c.set(parseFloat(b)),typeof h=="string"?t[u]=parseFloat(h):Array.isArray(h)&&m===te&&(t[u]=h.map(parseFloat))}else(f==null?void 0:f.transform)&&(m==null?void 0:m.transform)&&(p===0||h===0)?p===0?c.set(m.transform(p)):t[u]=f.transform(h):(a||(o=EF(e),a=!0),l.push(u),n[u]=n[u]!==void 0?n[u]:t[u],k8(c,h))}}),l.length){var s=_F(t,e,l);return o.length&&o.forEach(function(u){var c=$e(u,2),p=c[0],f=c[1];e.getValue(p).set(f)}),e.syncRender(),{target:s,transitionEnd:n}}else return{target:t,transitionEnd:n}};function PF(e,t,r,n){return CF(t)?TF(e,t,r,n):{target:t,transitionEnd:n}}var MF=function(e,t,r,n){var i=xF(e,t,n);return t=i.target,n=i.transitionEnd,PF(e,t,r,n)};function OF(e){return window.getComputedStyle(e)}var O8={treeType:"dom",readValueFromInstance:function(e,t){if(pl(t)){var r=Rp(t);return r&&r.default||0}else{var n=OF(e);return(V3(t)?n.getPropertyValue(t):n[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var r;return(r=e.style)===null||r===void 0?void 0:r[t]},measureViewportBox:function(e,t){var r=t.transformPagePoint;return b8(e,r)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var i=r.transformValues;n===void 0&&(n=!0);var o=t.transition,a=t.transitionEnd,l=It(t,["transition","transitionEnd"]),s=zA(l,o||{},e);if(i&&(a&&(a=i(a)),l&&(l=i(l)),s&&(s=i(s))),n){BA(e,l,s);var u=MF(e,l,s,a);a=u.transitionEnd,l=u.target}return j({transition:o,transitionEnd:a},l)},scrapeMotionValuesFromProps:Yp,build:function(e,t,r,n,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),Up(t,r,n,i.transformTemplate)},render:j3},LF=x8(O8),AF=x8(j(j({},O8),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return pl(t)?((r=Rp(t))===null||r===void 0?void 0:r.default)||0:(t=W3.has(t)?t:H3(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Z3,build:function(e,t,r,n,i){Gp(t,r,n,i.transformTemplate)},render:U3})),FF=function(e,t){return Wp(e)?AF(t,{enableHardwareAcceleration:!1}):LF(t,{enableHardwareAcceleration:!0})};function L8(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ml={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(te.test(e))e=parseFloat(e);else return e;var r=L8(e,t.target.x),n=L8(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},A8="_$css",IF={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,o=e.includes("var("),a=[];o&&(e=e.replace(C8,function(y){return a.push(y),A8}));var l=Nr.parse(e);if(l.length>5)return i;var s=Nr.createTransformer(e),u=typeof l[0]!="number"?1:0,c=n.x.scale*r.x,p=n.y.scale*r.y;l[0+u]/=c,l[1+u]/=p;var f=Be(c,p,.5);typeof l[2+u]=="number"&&(l[2+u]/=f),typeof l[3+u]=="number"&&(l[3+u]/=f);var h=s(l);if(o){var m=0;h=h.replace(A8,function(){var y=a[m];return m++,y})}return h}},DF=function(e){r4(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this,n=this.props,i=n.visualElement,o=n.layoutGroup,a=n.switchLayoutGroup,l=n.layoutId,s=i.projection;fL(VF),s&&(o!=null&&o.group&&o.group.add(s),(a==null?void 0:a.register)&&l&&a.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",function(){r.safeToRemove()}),s.setOptions(j(j({},s.options),{onExitComplete:function(){return r.safeToRemove()}}))),hl.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(r){var n=this,i=this.props,o=i.layoutDependency,a=i.visualElement,l=i.drag,s=i.isPresent,u=a.projection;return u&&(u.isPresent=s,l||r.layoutDependency!==o||o===void 0?u.willUpdate():this.safeToRemove(),r.isPresent!==s&&(s?u.promote():u.relegate()||br.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||n.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var r=this.props.visualElement.projection;r&&(r.root.didUpdate(),!r.currentAnimation&&r.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var r=this.props,n=r.visualElement,i=r.layoutGroup,o=r.switchLayoutGroup,a=n.projection;a&&(a.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(a),o!=null&&o.deregister&&o.deregister(a))},t.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},t.prototype.render=function(){return null},t}(Kr.default.Component);function RF(e){var t=$e(r1(),2),r=t[0],n=t[1],i=A.useContext(jp);return d(DF,{...j({},e,{layoutGroup:i,switchLayoutGroup:A.useContext(D3),isPresent:r,safeToRemove:n})})}var VF={borderRadius:j(j({},ml),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ml,borderTopRightRadius:ml,borderBottomLeftRadius:ml,borderBottomRightRadius:ml,boxShadow:IF},$F={measureLayout:RF},BF=M3({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),c1={current:void 0},NF=M3({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!c1.current){var e=new BF(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),c1.current=e}return c1.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),zF=j(j(j(j({},QA),MA),vF),$F),gl=BL(function(e,t){return sA(e,t,zF,FF,NF)});function F8(){var e=A.useRef(!1);return Gu(function(){return e.current=!0,function(){e.current=!1}},[]),e}function HF(){var e=F8(),t=$e(A.useState(0),2),r=t[0],n=t[1],i=A.useCallback(function(){e.current&&n(r+1)},[r]),o=A.useCallback(function(){return br.postRender(i)},[i]);return[o,r]}var d1=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,o=e.custom,a=e.presenceAffectsLayout,l=Ka(jF),s=a8(),u=A.useMemo(function(){return{id:s,initial:r,isPresent:n,custom:o,onExitComplete:function(c){var p,f;l.set(c,!0);try{for(var h=iM(l.values()),m=h.next();!m.done;m=h.next()){var y=m.value;if(!y)return}}catch(v){p={error:v}}finally{try{m&&!m.done&&(f=h.return)&&f.call(h)}finally{if(p)throw p.error}}i==null||i()},register:function(c){return l.set(c,!1),function(){return l.delete(c)}}}},a?void 0:[n]);return A.useMemo(function(){l.forEach(function(c,p){return l.set(p,!1)})},[n]),x.useEffect(function(){!n&&!l.size&&(i==null||i())},[n]),x.createElement(Ga.Provider,{value:u},t)};function jF(){return new Map}var co=function(e){return e.key||""};function WF(e,t){e.forEach(function(r){var n=co(r);t.set(n,r)})}function UF(e){var t=[];return A.Children.forEach(e,function(r){A.isValidElement(r)&&t.push(r)}),t}var f1=function(e){var t=e.children,r=e.custom,n=e.initial,i=n===void 0?!0:n,o=e.onExitComplete,a=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=l===void 0?!0:l,u=$e(HF(),1),c=u[0],p=A.useContext(jp).forceRender;p&&(c=p);var f=F8(),h=UF(t),m=h,y=new Set,v=A.useRef(m),g=A.useRef(new Map).current,b=A.useRef(!0);if(Gu(function(){b.current=!1,WF(h,g),v.current=m}),Jp(function(){b.current=!0,g.clear(),y.clear()}),b.current)return x.createElement(x.Fragment,null,m.map(function(M){return x.createElement(d1,{key:co(M),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s},M)}));m=ir([],$e(m),!1);for(var w=v.current.map(co),C=h.map(co),k=w.length,_=0;_<k;_++){var E=w[_];C.indexOf(E)===-1&&y.add(E)}return a&&y.size&&(m=[]),y.forEach(function(M){if(C.indexOf(M)===-1){var O=g.get(M);if(!!O){var V=w.indexOf(M),Z=function(){g.delete(M),y.delete(M);var G=v.current.findIndex(function(U){return U.key===M});if(v.current.splice(G,1),!y.size){if(v.current=h,f.current===!1)return;c(),o&&o()}};m.splice(V,0,x.createElement(d1,{key:co(O),isPresent:!1,onExitComplete:Z,custom:r,presenceAffectsLayout:s},O))}}}),m=m.map(function(M){var O=M.key;return y.has(O)?M:x.createElement(d1,{key:co(M),isPresent:!0,presenceAffectsLayout:s},M)}),x.createElement(x.Fragment,null,y.size?m:m.map(function(M){return A.cloneElement(M)}))};function ZF(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ut(){return Ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ut.apply(this,arguments)}var p1={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},yl={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function h1(e){var t,r=(t=e==null?void 0:e.direction)!=null?t:"right";switch(r){case"right":return yl.slideRight;case"left":return yl.slideLeft;case"bottom":return yl.slideDown;case"top":return yl.slideUp;default:return yl.slideRight}}var si={enter:{duration:.2,ease:p1.easeOut},exit:{duration:.1,ease:p1.easeIn}},jr={enter:function(t,r){return Ut({},t,{delay:$n(r)?r:r==null?void 0:r.enter})},exit:function(t,r){return Ut({},t,{delay:$n(r)?r:r==null?void 0:r.exit})}},GF={enter:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:1,transition:(r=i==null?void 0:i.enter)!=null?r:jr.enter(si.enter,a),transitionEnd:o==null?void 0:o.enter}},exit:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:0,transition:(r=i==null?void 0:i.exit)!=null?r:jr.exit(si.exit,a),transitionEnd:o==null?void 0:o.exit}}},YF={initial:"exit",animate:"enter",exit:"exit",variants:GF},KF={exit:function(t){var r,n=t.reverse,i=t.initialScale,o=t.transition,a=t.transitionEnd,l=t.delay;return Ut({opacity:0},n?{scale:i,transitionEnd:a==null?void 0:a.exit}:{transitionEnd:Ut({scale:i},a==null?void 0:a.exit)},{transition:(r=o==null?void 0:o.exit)!=null?r:jr.exit(si.exit,l)})},enter:function(t){var r,n=t.transitionEnd,i=t.transition,o=t.delay;return{opacity:1,scale:1,transition:(r=i==null?void 0:i.enter)!=null?r:jr.enter(si.enter,o),transitionEnd:n==null?void 0:n.enter}}},qF={initial:"exit",animate:"enter",exit:"exit",variants:KF},XF=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],I8={exit:{duration:.15,ease:p1.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},QF={exit:function(t){var r,n=t.direction,i=t.transition,o=t.transitionEnd,a=t.delay,l=h1({direction:n}),s=l.exit;return Ut({},s,{transition:(r=i==null?void 0:i.exit)!=null?r:jr.exit(I8.exit,a),transitionEnd:o==null?void 0:o.exit})},enter:function(t){var r,n=t.direction,i=t.transitionEnd,o=t.transition,a=t.delay,l=h1({direction:n}),s=l.enter;return Ut({},s,{transition:(r=o==null?void 0:o.enter)!=null?r:jr.enter(I8.enter,a),transitionEnd:i==null?void 0:i.enter})}},JF=x.forwardRef(function(e,t){var r=e.direction,n=r===void 0?"right":r,i=e.style,o=e.unmountOnExit,a=e.in,l=e.className,s=e.transition,u=e.transitionEnd,c=e.delay,p=ZF(e,XF),f=h1({direction:n}),h=Object.assign({position:"fixed"},f.position,i),m=o?a&&o:!0,y=a||o?"enter":"exit",v={transitionEnd:u,transition:s,direction:n,delay:c};return x.createElement(f1,{custom:v},m&&x.createElement(gl.div,Ut({},p,{ref:t,initial:"exit",className:Ee("chakra-slide",l),animate:y,exit:"exit",custom:v,variants:QF,style:h})))}),eI={initial:function(t){var r,n=t.offsetX,i=t.offsetY,o=t.transition,a=t.transitionEnd,l=t.delay;return{opacity:0,x:n,y:i,transition:(r=o==null?void 0:o.exit)!=null?r:jr.exit(si.exit,l),transitionEnd:a==null?void 0:a.exit}},enter:function(t){var r,n=t.transition,i=t.transitionEnd,o=t.delay;return{opacity:1,x:0,y:0,transition:(r=n==null?void 0:n.enter)!=null?r:jr.enter(si.enter,o),transitionEnd:i==null?void 0:i.enter}},exit:function(t){var r,n=t.offsetY,i=t.offsetX,o=t.transition,a=t.transitionEnd,l=t.reverse,s=t.delay,u={x:i,y:n};return Ut({opacity:0,transition:(r=o==null?void 0:o.exit)!=null?r:jr.exit(si.exit,s)},l?Ut({},u,{transitionEnd:a==null?void 0:a.exit}):{transitionEnd:Ut({},u,a==null?void 0:a.exit)})}},D8={initial:"initial",animate:"enter",exit:"exit",variants:eI};function v1(){return v1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v1.apply(this,arguments)}function R8(e){return e.sort(function(t,r){var n=t.compareDocumentPosition(r);if(n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var tI=function(t){return typeof t=="object"&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE};function V8(e,t,r){var n=e+1;return r&&n>=t&&(n=0),n}function $8(e,t,r){var n=e-1;return r&&n<0&&(n=t),n}var m1=typeof window!="undefined"?A.useLayoutEffect:A.useEffect,gc=function(t){return t},rI=function(){var t=this;this.descendants=new Map,this.register=function(r){if(r!=null)return tI(r)?t.registerNode(r):function(n){t.registerNode(n,r)}},this.unregister=function(r){t.descendants.delete(r);var n=R8(Array.from(t.descendants.keys()));t.assignIndex(n)},this.destroy=function(){t.descendants.clear()},this.assignIndex=function(r){t.descendants.forEach(function(n){var i=r.indexOf(n.node);n.index=i,n.node.dataset.index=n.index.toString()})},this.count=function(){return t.descendants.size},this.enabledCount=function(){return t.enabledValues().length},this.values=function(){var r=Array.from(t.descendants.values());return r.sort(function(n,i){return n.index-i.index})},this.enabledValues=function(){return t.values().filter(function(r){return!r.disabled})},this.item=function(r){if(t.count()!==0)return t.values()[r]},this.enabledItem=function(r){if(t.enabledCount()!==0)return t.enabledValues()[r]},this.first=function(){return t.item(0)},this.firstEnabled=function(){return t.enabledItem(0)},this.last=function(){return t.item(t.descendants.size-1)},this.lastEnabled=function(){var r=t.enabledValues().length-1;return t.enabledItem(r)},this.indexOf=function(r){var n,i;return r&&(n=(i=t.descendants.get(r))==null?void 0:i.index)!=null?n:-1},this.enabledIndexOf=function(r){return r==null?-1:t.enabledValues().findIndex(function(n){return n.node.isSameNode(r)})},this.next=function(r,n){n===void 0&&(n=!0);var i=V8(r,t.count(),n);return t.item(i)},this.nextEnabled=function(r,n){n===void 0&&(n=!0);var i=t.item(r);if(!!i){var o=t.enabledIndexOf(i.node),a=V8(o,t.enabledCount(),n);return t.enabledItem(a)}},this.prev=function(r,n){n===void 0&&(n=!0);var i=$8(r,t.count()-1,n);return t.item(i)},this.prevEnabled=function(r,n){n===void 0&&(n=!0);var i=t.item(r);if(!!i){var o=t.enabledIndexOf(i.node),a=$8(o,t.enabledCount()-1,n);return t.enabledItem(a)}},this.registerNode=function(r,n){if(!(!r||t.descendants.has(r))){var i=Array.from(t.descendants.keys()).concat(r),o=R8(i);n!=null&&n.disabled&&(n.disabled=!!n.disabled);var a=v1({node:r,index:-1},n);t.descendants.set(r,a),t.assignIndex(o)}}};function nI(){var e=A.useRef(new rI);return m1(function(){return function(){return e.current.destroy()}}),e.current}var B8=Tr({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),iI=B8[0],N8=B8[1];function oI(e){var t=N8(),r=A.useState(-1),n=r[0],i=r[1],o=A.useRef(null);m1(function(){return function(){!o.current||t.unregister(o.current)}},[]),m1(function(){if(!!o.current){var l=Number(o.current.dataset.index);n!=l&&!Number.isNaN(l)&&i(l)}});var a=gc(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(o.current),register:dr(a,o)}}function aI(){var e=gc(iI),t=function(){return gc(N8())},r=function(o){return oI(o)},n=function(){return nI()};return[e,t,n,r]}function ui(){return ui=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ui.apply(this,arguments)}function z8(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function lI(e){var t=e.loading,r=e.src,n=e.srcSet,i=e.onLoad,o=e.onError,a=e.crossOrigin,l=e.sizes,s=e.ignoreFallback,u=A.useState("pending"),c=u[0],p=u[1];A.useEffect(function(){p(r?"loading":"pending")},[r]);var f=A.useRef(),h=A.useCallback(function(){if(!!r){m();var y=new Image;y.src=r,a&&(y.crossOrigin=a),n&&(y.srcset=n),l&&(y.sizes=l),t&&(y.loading=t),y.onload=function(v){m(),p("loaded"),i==null||i(v)},y.onerror=function(v){m(),p("failed"),o==null||o(v)},f.current=y}},[r,a,n,l,i,o,t]),m=function(){f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return No(function(){if(!s)return c==="loading"&&h(),function(){m()}},[c,h,s]),s?"loaded":c}var sI=["htmlWidth","htmlHeight","alt"],uI=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],H8=x.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,o=z8(e,sI);return x.createElement("img",ui({width:r,height:n,ref:t,alt:i},o))}),cI=ge(function(e,t){var r=e.fallbackSrc,n=e.fallback,i=e.src,o=e.srcSet,a=e.align,l=e.fit,s=e.loading,u=e.ignoreFallback,c=e.crossOrigin,p=z8(e,uI),f=s!=null||u||r===void 0&&n===void 0,h=lI(ui({},e,{ignoreFallback:f})),m=ui({ref:t,objectFit:l,objectPosition:a},f?p:us(p,["onError","onLoad"]));return h!=="loaded"?n||x.createElement(ee.img,ui({as:H8,className:"chakra-image__placeholder",src:r},m)):x.createElement(ee.img,ui({as:H8,src:i,srcSet:o,crossOrigin:c,loading:s,className:"chakra-image"},m))}),j8={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},W8=ee("span",{baseStyle:j8});ee("input",{baseStyle:j8});function yc(){return yc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yc.apply(this,arguments)}function dI(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var fI=["label","thickness","speed","emptyColor","className"],pI=Si({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),hI=ge(function(e,t){var r=xn("Spinner",e),n=Rr(e),i=n.label,o=i===void 0?"Loading...":i,a=n.thickness,l=a===void 0?"2px":a,s=n.speed,u=s===void 0?"0.45s":s,c=n.emptyColor,p=c===void 0?"transparent":c,f=n.className,h=dI(n,fI),m=Ee("chakra-spinner",f),y=yc({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:p,borderLeftColor:p,animation:pI+" "+u+" linear infinite"},r);return x.createElement(ee.div,yc({ref:t,__css:y,className:m},h),o&&x.createElement(W8,null,o))});function g1(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Pn(){return Pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pn.apply(this,arguments)}var vI=Tr({strict:!1,name:"ButtonGroupContext"}),mI=vI[1],gI=["label","placement","spacing","children","className","__css"],U8=function(t){var r=t.label,n=t.placement,i=t.spacing,o=i===void 0?"0.5rem":i,a=t.children,l=a===void 0?x.createElement(hI,{color:"currentColor",width:"1em",height:"1em"}):a,s=t.className,u=t.__css,c=g1(t,gI),p=Ee("chakra-button__spinner",s),f=n==="start"?"marginEnd":"marginStart",h=x.useMemo(function(){var m;return Pn((m={display:"flex",alignItems:"center",position:r?"relative":"absolute"},m[f]=r?o:0,m.fontSize="1em",m.lineHeight="normal",m),u)},[u,r,f,o]);return x.createElement(ee.div,Pn({className:p},c,{__css:h}),l)},yI=["children","className"],Z8=function(t){var r=t.children,n=t.className,i=g1(t,yI),o=x.isValidElement(r)?x.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,a=Ee("chakra-button__icon",n);return x.createElement(ee.span,Pn({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:a}),o)};function bI(e){var t=x.useState(!e),r=t[0],n=t[1],i=x.useCallback(function(a){!a||n(a.tagName==="BUTTON")},[]),o=r?"button":void 0;return{ref:i,type:o}}var xI=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],y1=ge(function(e,t){var r=mI(),n=xn("Button",Pn({},r,e)),i=Rr(e),o=i.isDisabled,a=o===void 0?r==null?void 0:r.isDisabled:o,l=i.isLoading,s=i.isActive,u=i.isFullWidth,c=i.children,p=i.leftIcon,f=i.rightIcon,h=i.loadingText,m=i.iconSpacing,y=m===void 0?"0.5rem":m,v=i.type,g=i.spinner,b=i.spinnerPlacement,w=b===void 0?"start":b,C=i.className,k=i.as,_=g1(i,xI),E=x.useMemo(function(){var G,U=Vt({},(G=n==null?void 0:n._focus)!=null?G:{},{zIndex:1});return Pn({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:u?"100%":"auto"},n,!!r&&{_focus:U})},[n,r,u]),M=bI(k),O=M.ref,V=M.type,Z={rightIcon:f,leftIcon:p,iconSpacing:y,children:c};return x.createElement(ee.button,Pn({disabled:a||l,ref:rx(t,O),as:k,type:v!=null?v:V,"data-active":hs(s),"data-loading":hs(l),__css:E,className:Ee("chakra-button",C)},_),l&&w==="start"&&x.createElement(U8,{className:"chakra-button__spinner--start",label:h,placement:"start",spacing:y},g),l?h||x.createElement(ee.span,{opacity:0},x.createElement(G8,Z)):x.createElement(G8,Z),l&&w==="end"&&x.createElement(U8,{className:"chakra-button__spinner--end",label:h,placement:"end",spacing:y},g))});function G8(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return x.createElement(x.Fragment,null,t&&x.createElement(Z8,{marginEnd:i},t),n,r&&x.createElement(Z8,{marginStart:i},r))}function wI(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function bl(){return bl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bl.apply(this,arguments)}var CI=["children","isDisabled","__css"],SI=function(t){return x.createElement(Ve,bl({focusable:"false","aria-hidden":!0},t),x.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))},kI=ge(function(e,t){var r=xn("CloseButton",e),n=Rr(e),i=n.children,o=n.isDisabled,a=n.__css,l=wI(n,CI),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return x.createElement(ee.button,bl({type:"button","aria-label":"Close",ref:t,disabled:o,__css:bl({},s,r,a)},l),i||x.createElement(SI,{width:"1em",height:"1em"}))});function vt(){return vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vt.apply(this,arguments)}function Mn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var X=ee("div"),Y8=ee("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}}),EI=["direction","align","justify","wrap","basis","grow","shrink"],xl=ge(function(e,t){var r=e.direction,n=e.align,i=e.justify,o=e.wrap,a=e.basis,l=e.grow,s=e.shrink,u=Mn(e,EI),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:o,flexBasis:a,flexGrow:l,flexShrink:s};return x.createElement(ee.div,vt({ref:t,__css:c},u))}),_I=["className"],TI=ge(function(e,t){var r=xn("Heading",e),n=Rr(e);n.className;var i=Mn(n,_I);return x.createElement(ee.h2,vt({ref:t,className:Ee("chakra-heading",e.className)},i,{__css:r}))}),PI=["className","isExternal"],bc=ge(function(e,t){var r=xn("Link",e),n=Rr(e),i=n.className,o=n.isExternal,a=Mn(n,PI);return x.createElement(ee.a,vt({target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:Ee("chakra-link",i)},a,{__css:r}))}),MI=["children","styleType","stylePosition","spacing"],K8=Tr({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),OI=K8[0],LI=K8[1],AI=ge(function(e,t){var r,n=j0("List",e),i=Rr(e),o=i.children,a=i.styleType,l=a===void 0?"none":a,s=i.stylePosition,u=i.spacing,c=Mn(i,MI),p=Gv(o),f="& > *:not(style) ~ *:not(style)",h=u?(r={},r[f]={mt:u},r):{};return x.createElement(OI,{value:n},x.createElement(ee.ul,vt({ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:vt({},n.container,h)},c),p))}),FI=ge(function(e,t){var r=LI();return x.createElement(ee.li,vt({ref:t},e,{__css:r.item}))});ee("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var b1="& > *:not(style) ~ *:not(style)";function II(e){var t,r=e.spacing,n=e.direction,i={column:{marginTop:r,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:r},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:r,marginStart:0},"row-reverse":{marginTop:0,marginEnd:r,marginBottom:0,marginStart:0}};return t={flexDirection:n},t[b1]=Zv(n,function(o){return i[o]}),t}function DI(e){var t=e.spacing,r=e.direction,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Zv(r,function(i){return n[i]})}}var RI=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],VI=function(t){return x.createElement(ee.div,vt({className:"chakra-stack__item"},t,{__css:vt({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},x1=ge(function(e,t){var r,n=e.isInline,i=e.direction,o=e.align,a=e.justify,l=e.spacing,s=l===void 0?"0.5rem":l,u=e.wrap,c=e.children,p=e.divider,f=e.className,h=e.shouldWrapChildren,m=Mn(e,RI),y=n?"row":i!=null?i:"column",v=x.useMemo(function(){return II({direction:y,spacing:s})},[y,s]),g=x.useMemo(function(){return DI({spacing:s,direction:y})},[s,y]),b=!!p,w=!h&&!b,C=Gv(c),k=w?C:C.map(function(E,M){var O=typeof E.key!="undefined"?E.key:M,V=M+1===C.length,Z=x.createElement(VI,{key:O},E),G=h?Z:E;if(!b)return G;var U=x.cloneElement(p,{__css:g}),Y=V?null:U;return x.createElement(x.Fragment,{key:O},G,Y)}),_=Ee("chakra-stack",f);return x.createElement(ee.div,vt({ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:v.flexDirection,flexWrap:u,className:_,__css:b?{}:(r={},r[b1]=v[b1],r)},m),k)}),$I=ge(function(e,t){return x.createElement(x1,vt({align:"center"},e,{direction:"row",ref:t}))}),BI=["className","align","decoration","casing"],it=ge(function(e,t){var r=xn("Text",e),n=Rr(e);n.className,n.align,n.decoration,n.casing;var i=Mn(n,BI),o=md({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return x.createElement(ee.p,vt({ref:t,className:Ee("chakra-text",e.className)},o,i,{__css:r}))}),NI=["isExternal","target","rel","className"],zI=["className"],q8=ge(function(e,t){var r=e.isExternal,n=e.target,i=e.rel,o=e.className,a=Mn(e,NI);return x.createElement(ee.a,vt({},a,{ref:t,className:Ee("chakra-linkbox__overlay",o),rel:r?"noopener noreferrer":i,target:r?"_blank":n,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%"}}}))}),HI=ge(function(e,t){var r=e.className,n=Mn(e,zI);return x.createElement(ee.div,vt({ref:t,position:"relative"},n,{className:Ee("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title], button":{position:"relative",zIndex:1}}}))}),jI=Xr?x.useLayoutEffect:x.useEffect;function w1(e){var t=Qg(),r=Array.isArray(e)?e:[e],n=Xr&&"matchMedia"in t.window,i=x.useState(r.map(function(l){return n?!!t.window.matchMedia(l).matches:!1})),o=i[0],a=i[1];return jI(function(){if(!!n){var l=r.map(function(u){return t.window.matchMedia(u)}),s=l.map(function(u,c){var p=function(h){var m=l.findIndex(function(y){return y.media===h.media});a(function(y){var v=y.map(function(g){return g});return v[m]=h.matches,v})};return typeof l[c].addEventListener=="function"?l[c].addEventListener("change",p):l[c].addListener(p),p});return function(){l.forEach(function(u,c){typeof l[c].removeEventListener=="function"?l[c].removeEventListener("change",s[c]):l[c].removeListener(s[c])})}}},[]),o}function xc(){return xc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xc.apply(this,arguments)}function WI(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function UI(){var e=x.useRef(new Map),t=e.current,r=x.useCallback(function(i,o,a,l){e.current.set(a,{type:o,el:i,options:l}),i.addEventListener(o,a,l)},[]),n=x.useCallback(function(i,o,a,l){i.removeEventListener(o,a,l),e.current.delete(a)},[]);return x.useEffect(function(){return function(){t.forEach(function(i,o){n(i.el,i.type,o,i.options)})}},[n,t]),{add:r,remove:n}}var ZI=["ref","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","onMouseOver","onMouseLeave"];function C1(e){var t=e.target,r=t.tagName,n=t.isContentEditable;return r!=="INPUT"&&r!=="TEXTAREA"&&n!==!0}function GI(e){e===void 0&&(e={});var t=e,r=t.ref,n=t.isDisabled,i=t.isFocusable,o=t.clickOnEnter,a=o===void 0?!0:o,l=t.clickOnSpace,s=l===void 0?!0:l,u=t.onMouseDown,c=t.onMouseUp,p=t.onClick,f=t.onKeyDown,h=t.onKeyUp,m=t.tabIndex,y=t.onMouseOver,v=t.onMouseLeave,g=WI(t,ZI),b=x.useState(!0),w=b[0],C=b[1],k=x.useState(!1),_=k[0],E=k[1],M=UI(),O=function(R){!R||R.tagName!=="BUTTON"&&C(!1)},V=w?m:m||0,Z=n&&!i,G=x.useCallback(function(L){if(n){L.stopPropagation(),L.preventDefault();return}var R=L.currentTarget;R.focus(),p==null||p(L)},[n,p]),U=x.useCallback(function(L){_&&C1(L)&&(L.preventDefault(),L.stopPropagation(),E(!1),M.remove(document,"keyup",U,!1))},[_,M]),Y=x.useCallback(function(L){if(f==null||f(L),!(n||L.defaultPrevented||L.metaKey)&&!(!C1(L.nativeEvent)||w)){var R=a&&L.key==="Enter",N=s&&L.key===" ";if(N&&(L.preventDefault(),E(!0)),R){L.preventDefault();var H=L.currentTarget;H.click()}M.add(document,"keyup",U,!1)}},[n,w,f,a,s,M,U]),Q=x.useCallback(function(L){if(h==null||h(L),!(n||L.defaultPrevented||L.metaKey)&&!(!C1(L.nativeEvent)||w)){var R=s&&L.key===" ";if(R){L.preventDefault(),E(!1);var N=L.currentTarget;N.click()}}},[s,w,n,h]),J=x.useCallback(function(L){L.button===0&&(E(!1),M.remove(document,"mouseup",J,!1))},[M]),ie=x.useCallback(function(L){if(!Nv(L)){if(n){L.stopPropagation(),L.preventDefault();return}w||E(!0);var R=L.currentTarget;R.focus({preventScroll:!0}),M.add(document,"mouseup",J,!1),u==null||u(L)}},[n,w,u,M,J]),we=x.useCallback(function(L){Nv(L)||(w||E(!1),c==null||c(L))},[c,w]),he=x.useCallback(function(L){if(n){L.preventDefault();return}y==null||y(L)},[n,y]),ye=x.useCallback(function(L){_&&(L.preventDefault(),E(!1)),v==null||v(L)},[_,v]),I=dr(r,O);return w?xc({},g,{ref:I,type:"button","aria-disabled":Z?void 0:n,disabled:Z,onClick:G,onMouseDown:u,onMouseUp:c,onKeyUp:h,onKeyDown:f,onMouseOver:y,onMouseLeave:v}):xc({},g,{ref:I,role:"button","data-active":hs(_),"aria-disabled":n?"true":void 0,tabIndex:Z?void 0:V,onClick:G,onMouseDown:ie,onMouseUp:we,onKeyUp:Q,onKeyDown:Y,onMouseOver:he,onMouseLeave:ye})}var St="top",Zt="bottom",Gt="right",kt="left",S1="auto",wl=[St,Zt,Gt,kt],fo="start",Cl="end",YI="clippingParents",X8="viewport",Sl="popper",KI="reference",Q8=wl.reduce(function(e,t){return e.concat([t+"-"+fo,t+"-"+Cl])},[]),J8=[].concat(wl,[S1]).reduce(function(e,t){return e.concat([t,t+"-"+fo,t+"-"+Cl])},[]),qI="beforeRead",XI="read",QI="afterRead",JI="beforeMain",eD="main",tD="afterMain",rD="beforeWrite",nD="write",iD="afterWrite",oD=[qI,XI,QI,JI,eD,tD,rD,nD,iD];function Sr(e){return e?(e.nodeName||"").toLowerCase():null}function Dt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ci(e){var t=Dt(e).Element;return e instanceof t||e instanceof Element}function Yt(e){var t=Dt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function k1(e){if(typeof ShadowRoot=="undefined")return!1;var t=Dt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function aD(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!Yt(o)||!Sr(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function lD(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=a.reduce(function(s,u){return s[u]="",s},{});!Yt(i)||!Sr(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(s){i.removeAttribute(s)}))})}}var sD={name:"applyStyles",enabled:!0,phase:"write",fn:aD,effect:lD,requires:["computeStyles"]};function kr(e){return e.split("-")[0]}var di=Math.max,wc=Math.min,po=Math.round;function E1(){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 ey(){return!/^((?!chrome|android).)*safari/i.test(E1())}function ho(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&Yt(e)&&(i=e.offsetWidth>0&&po(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&po(n.height)/e.offsetHeight||1);var a=ci(e)?Dt(e):window,l=a.visualViewport,s=!ey()&&r,u=(n.left+(s&&l?l.offsetLeft:0))/i,c=(n.top+(s&&l?l.offsetTop:0))/o,p=n.width/i,f=n.height/o;return{width:p,height:f,top:c,right:u+p,bottom:c+f,left:u,x:u,y:c}}function _1(e){var t=ho(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function ty(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&k1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Wr(e){return Dt(e).getComputedStyle(e)}function uD(e){return["table","td","th"].indexOf(Sr(e))>=0}function On(e){return((ci(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cc(e){return Sr(e)==="html"?e:e.assignedSlot||e.parentNode||(k1(e)?e.host:null)||On(e)}function ry(e){return!Yt(e)||Wr(e).position==="fixed"?null:e.offsetParent}function cD(e){var t=/firefox/i.test(E1()),r=/Trident/i.test(E1());if(r&&Yt(e)){var n=Wr(e);if(n.position==="fixed")return null}var i=Cc(e);for(k1(i)&&(i=i.host);Yt(i)&&["html","body"].indexOf(Sr(i))<0;){var o=Wr(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function kl(e){for(var t=Dt(e),r=ry(e);r&&uD(r)&&Wr(r).position==="static";)r=ry(r);return r&&(Sr(r)==="html"||Sr(r)==="body"&&Wr(r).position==="static")?t:r||cD(e)||t}function T1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function El(e,t,r){return di(e,wc(t,r))}function dD(e,t,r){var n=El(e,t,r);return n>r?r:n}function ny(){return{top:0,right:0,bottom:0,left:0}}function iy(e){return Object.assign({},ny(),e)}function oy(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var fD=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,iy(typeof t!="number"?t:oy(t,wl))};function pD(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,l=kr(r.placement),s=T1(l),u=[kt,Gt].indexOf(l)>=0,c=u?"height":"width";if(!(!o||!a)){var p=fD(i.padding,r),f=_1(o),h=s==="y"?St:kt,m=s==="y"?Zt:Gt,y=r.rects.reference[c]+r.rects.reference[s]-a[s]-r.rects.popper[c],v=a[s]-r.rects.reference[s],g=kl(o),b=g?s==="y"?g.clientHeight||0:g.clientWidth||0:0,w=y/2-v/2,C=p[h],k=b-f[c]-p[m],_=b/2-f[c]/2+w,E=El(C,_,k),M=s;r.modifiersData[n]=(t={},t[M]=E,t.centerOffset=E-_,t)}}function hD(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!ty(t.elements.popper,i)||(t.elements.arrow=i))}var vD={name:"arrow",enabled:!0,phase:"main",fn:pD,effect:hD,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vo(e){return e.split("-")[1]}var mD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gD(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:po(r*i)/i||0,y:po(n*i)/i||0}}function ay(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,p=e.isFixed,f=a.x,h=f===void 0?0:f,m=a.y,y=m===void 0?0:m,v=typeof c=="function"?c({x:h,y}):{x:h,y};h=v.x,y=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),w=kt,C=St,k=window;if(u){var _=kl(r),E="clientHeight",M="clientWidth";if(_===Dt(r)&&(_=On(r),Wr(_).position!=="static"&&l==="absolute"&&(E="scrollHeight",M="scrollWidth")),_=_,i===St||(i===kt||i===Gt)&&o===Cl){C=Zt;var O=p&&_===k&&k.visualViewport?k.visualViewport.height:_[E];y-=O-n.height,y*=s?1:-1}if(i===kt||(i===St||i===Zt)&&o===Cl){w=Gt;var V=p&&_===k&&k.visualViewport?k.visualViewport.width:_[M];h-=V-n.width,h*=s?1:-1}}var Z=Object.assign({position:l},u&&mD),G=c===!0?gD({x:h,y},Dt(r)):{x:h,y};if(h=G.x,y=G.y,s){var U;return Object.assign({},Z,(U={},U[C]=b?"0":"",U[w]=g?"0":"",U.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",U))}return Object.assign({},Z,(t={},t[C]=b?y+"px":"",t[w]=g?h+"px":"",t.transform="",t))}function yD(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,l=r.roundOffsets,s=l===void 0?!0:l,u={placement:kr(t.placement),variation:vo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ay(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ay(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var bD={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yD,data:{}},Sc={passive:!0};function xD(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,l=a===void 0?!0:a,s=Dt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",r.update,Sc)}),l&&s.addEventListener("resize",r.update,Sc),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",r.update,Sc)}),l&&s.removeEventListener("resize",r.update,Sc)}}var wD={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:xD,data:{}},CD={left:"right",right:"left",bottom:"top",top:"bottom"};function kc(e){return e.replace(/left|right|bottom|top/g,function(t){return CD[t]})}var SD={start:"end",end:"start"};function ly(e){return e.replace(/start|end/g,function(t){return SD[t]})}function P1(e){var t=Dt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function M1(e){return ho(On(e)).left+P1(e).scrollLeft}function kD(e,t){var r=Dt(e),n=On(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;var u=ey();(u||!u&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l+M1(e),y:s}}function ED(e){var t,r=On(e),n=P1(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=di(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=di(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+M1(e),s=-n.scrollTop;return Wr(i||r).direction==="rtl"&&(l+=di(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:s}}function O1(e){var t=Wr(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function sy(e){return["html","body","#document"].indexOf(Sr(e))>=0?e.ownerDocument.body:Yt(e)&&O1(e)?e:sy(Cc(e))}function _l(e,t){var r;t===void 0&&(t=[]);var n=sy(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Dt(n),a=i?[o].concat(o.visualViewport||[],O1(n)?n:[]):n,l=t.concat(a);return i?l:l.concat(_l(Cc(a)))}function L1(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _D(e,t){var r=ho(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function uy(e,t,r){return t===X8?L1(kD(e,r)):ci(t)?_D(t,r):L1(ED(On(e)))}function TD(e){var t=_l(Cc(e)),r=["absolute","fixed"].indexOf(Wr(e).position)>=0,n=r&&Yt(e)?kl(e):e;return ci(n)?t.filter(function(i){return ci(i)&&ty(i,n)&&Sr(i)!=="body"}):[]}function PD(e,t,r,n){var i=t==="clippingParents"?TD(e):[].concat(t),o=[].concat(i,[r]),a=o[0],l=o.reduce(function(s,u){var c=uy(e,u,n);return s.top=di(c.top,s.top),s.right=wc(c.right,s.right),s.bottom=wc(c.bottom,s.bottom),s.left=di(c.left,s.left),s},uy(e,a,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function cy(e){var t=e.reference,r=e.element,n=e.placement,i=n?kr(n):null,o=n?vo(n):null,a=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(i){case St:s={x:a,y:t.y-r.height};break;case Zt:s={x:a,y:t.y+t.height};break;case Gt:s={x:t.x+t.width,y:l};break;case kt:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var u=i?T1(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case fo:s[u]=s[u]-(t[c]/2-r[c]/2);break;case Cl:s[u]=s[u]+(t[c]/2-r[c]/2);break}}return s}function Tl(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,a=o===void 0?e.strategy:o,l=r.boundary,s=l===void 0?YI:l,u=r.rootBoundary,c=u===void 0?X8:u,p=r.elementContext,f=p===void 0?Sl:p,h=r.altBoundary,m=h===void 0?!1:h,y=r.padding,v=y===void 0?0:y,g=iy(typeof v!="number"?v:oy(v,wl)),b=f===Sl?KI:Sl,w=e.rects.popper,C=e.elements[m?b:f],k=PD(ci(C)?C:C.contextElement||On(e.elements.popper),s,c,a),_=ho(e.elements.reference),E=cy({reference:_,element:w,strategy:"absolute",placement:i}),M=L1(Object.assign({},w,E)),O=f===Sl?M:_,V={top:k.top-O.top+g.top,bottom:O.bottom-k.bottom+g.bottom,left:k.left-O.left+g.left,right:O.right-k.right+g.right},Z=e.modifiersData.offset;if(f===Sl&&Z){var G=Z[i];Object.keys(V).forEach(function(U){var Y=[Gt,Zt].indexOf(U)>=0?1:-1,Q=[St,Zt].indexOf(U)>=0?"y":"x";V[U]+=G[Q]*Y})}return V}function MD(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,u=s===void 0?J8:s,c=vo(n),p=c?l?Q8:Q8.filter(function(m){return vo(m)===c}):wl,f=p.filter(function(m){return u.indexOf(m)>=0});f.length===0&&(f=p);var h=f.reduce(function(m,y){return m[y]=Tl(e,{placement:y,boundary:i,rootBoundary:o,padding:a})[kr(y)],m},{});return Object.keys(h).sort(function(m,y){return h[m]-h[y]})}function OD(e){if(kr(e)===S1)return[];var t=kc(e);return[ly(e),t,ly(t)]}function LD(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!0:a,s=r.fallbackPlacements,u=r.padding,c=r.boundary,p=r.rootBoundary,f=r.altBoundary,h=r.flipVariations,m=h===void 0?!0:h,y=r.allowedAutoPlacements,v=t.options.placement,g=kr(v),b=g===v,w=s||(b||!m?[kc(v)]:OD(v)),C=[v].concat(w).reduce(function(N,H){return N.concat(kr(H)===S1?MD(t,{placement:H,boundary:c,rootBoundary:p,padding:u,flipVariations:m,allowedAutoPlacements:y}):H)},[]),k=t.rects.reference,_=t.rects.popper,E=new Map,M=!0,O=C[0],V=0;V<C.length;V++){var Z=C[V],G=kr(Z),U=vo(Z)===fo,Y=[St,Zt].indexOf(G)>=0,Q=Y?"width":"height",J=Tl(t,{placement:Z,boundary:c,rootBoundary:p,altBoundary:f,padding:u}),ie=Y?U?Gt:kt:U?Zt:St;k[Q]>_[Q]&&(ie=kc(ie));var we=kc(ie),he=[];if(o&&he.push(J[G]<=0),l&&he.push(J[ie]<=0,J[we]<=0),he.every(function(N){return N})){O=Z,M=!1;break}E.set(Z,he)}if(M)for(var ye=m?3:1,I=function(H){var ne=C.find(function(ce){var be=E.get(ce);if(be)return be.slice(0,H).every(function(je){return je})});if(ne)return O=ne,"break"},L=ye;L>0;L--){var R=I(L);if(R==="break")break}t.placement!==O&&(t.modifiersData[n]._skip=!0,t.placement=O,t.reset=!0)}}var AD={name:"flip",enabled:!0,phase:"main",fn:LD,requiresIfExists:["offset"],data:{_skip:!1}};function dy(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function fy(e){return[St,Gt,Zt,kt].some(function(t){return e[t]>=0})}function FD(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Tl(t,{elementContext:"reference"}),l=Tl(t,{altBoundary:!0}),s=dy(a,n),u=dy(l,i,o),c=fy(s),p=fy(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var ID={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:FD};function DD(e,t,r){var n=kr(e),i=[kt,St].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[kt,Gt].indexOf(n)>=0?{x:l,y:a}:{x:a,y:l}}function RD(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=J8.reduce(function(c,p){return c[p]=DD(p,t.rects,o),c},{}),l=a[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}var VD={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:RD};function $D(e){var t=e.state,r=e.name;t.modifiersData[r]=cy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var BD={name:"popperOffsets",enabled:!0,phase:"read",fn:$D,data:{}};function ND(e){return e==="x"?"y":"x"}function zD(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!1:a,s=r.boundary,u=r.rootBoundary,c=r.altBoundary,p=r.padding,f=r.tether,h=f===void 0?!0:f,m=r.tetherOffset,y=m===void 0?0:m,v=Tl(t,{boundary:s,rootBoundary:u,padding:p,altBoundary:c}),g=kr(t.placement),b=vo(t.placement),w=!b,C=T1(g),k=ND(C),_=t.modifiersData.popperOffsets,E=t.rects.reference,M=t.rects.popper,O=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,V=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),Z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,G={x:0,y:0};if(!!_){if(o){var U,Y=C==="y"?St:kt,Q=C==="y"?Zt:Gt,J=C==="y"?"height":"width",ie=_[C],we=ie+v[Y],he=ie-v[Q],ye=h?-M[J]/2:0,I=b===fo?E[J]:M[J],L=b===fo?-M[J]:-E[J],R=t.elements.arrow,N=h&&R?_1(R):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ny(),ne=H[Y],ce=H[Q],be=El(0,E[J],N[J]),je=w?E[J]/2-ye-be-ne-V.mainAxis:I-be-ne-V.mainAxis,Gr=w?-E[J]/2+ye+be+ce+V.mainAxis:L+be+ce+V.mainAxis,Xe=t.elements.arrow&&kl(t.elements.arrow),oe=Xe?C==="y"?Xe.clientTop||0:Xe.clientLeft||0:0,We=(U=Z==null?void 0:Z[C])!=null?U:0,_t=ie+je-We-oe,$l=ie+Gr-We,hi=El(h?wc(we,_t):we,ie,h?di(he,$l):he);_[C]=hi,G[C]=hi-ie}if(l){var Kc,Xh=C==="x"?St:kt,Qh=C==="x"?Zt:Gt,Kt=_[k],Rn=k==="y"?"height":"width",vi=Kt+v[Xh],qt=Kt-v[Qh],Mo=[St,kt].indexOf(g)!==-1,Bl=(Kc=Z==null?void 0:Z[k])!=null?Kc:0,qc=Mo?vi:Kt-E[Rn]-M[Rn]-Bl+V.altAxis,Xc=Mo?Kt+E[Rn]+M[Rn]-Bl-V.altAxis:qt,mi=h&&Mo?dD(qc,Kt,Xc):El(h?qc:vi,Kt,h?Xc:qt);_[k]=mi,G[k]=mi-Kt}t.modifiersData[n]=G}}var HD={name:"preventOverflow",enabled:!0,phase:"main",fn:zD,requiresIfExists:["offset"]};function jD(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function WD(e){return e===Dt(e)||!Yt(e)?P1(e):jD(e)}function UD(e){var t=e.getBoundingClientRect(),r=po(t.width)/e.offsetWidth||1,n=po(t.height)/e.offsetHeight||1;return r!==1||n!==1}function ZD(e,t,r){r===void 0&&(r=!1);var n=Yt(t),i=Yt(t)&&UD(t),o=On(t),a=ho(e,i,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((Sr(t)!=="body"||O1(o))&&(l=WD(t)),Yt(t)?(s=ho(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=M1(o))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function GD(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&i(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function YD(e){var t=GD(e);return oD.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function KD(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function qD(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var py={placement:"bottom",modifiers:[],strategy:"absolute"};function hy(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function XD(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?py:i;return function(l,s,u){u===void 0&&(u=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},py,o),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},p=[],f=!1,h={state:c,setOptions:function(g){var b=typeof g=="function"?g(c.options):g;y(),c.options=Object.assign({},o,c.options,b),c.scrollParents={reference:ci(l)?_l(l):l.contextElement?_l(l.contextElement):[],popper:_l(s)};var w=YD(qD([].concat(n,c.options.modifiers)));return c.orderedModifiers=w.filter(function(C){return C.enabled}),m(),h.update()},forceUpdate:function(){if(!f){var g=c.elements,b=g.reference,w=g.popper;if(!!hy(b,w)){c.rects={reference:ZD(b,kl(w),c.options.strategy==="fixed"),popper:_1(w)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(V){return c.modifiersData[V.name]=Object.assign({},V.data)});for(var C=0;C<c.orderedModifiers.length;C++){if(c.reset===!0){c.reset=!1,C=-1;continue}var k=c.orderedModifiers[C],_=k.fn,E=k.options,M=E===void 0?{}:E,O=k.name;typeof _=="function"&&(c=_({state:c,options:M,name:O,instance:h})||c)}}}},update:KD(function(){return new Promise(function(v){h.forceUpdate(),v(c)})}),destroy:function(){y(),f=!0}};if(!hy(l,s))return h;h.setOptions(u).then(function(v){!f&&u.onFirstUpdate&&u.onFirstUpdate(v)});function m(){c.orderedModifiers.forEach(function(v){var g=v.name,b=v.options,w=b===void 0?{}:b,C=v.effect;if(typeof C=="function"){var k=C({state:c,name:g,instance:h,options:w}),_=function(){};p.push(k||_)}})}function y(){p.forEach(function(v){return v()}),p=[]}return h}}var QD=[wD,BD,bD,sD,VD,AD,HD,vD,ID],JD=XD({defaultModifiers:QD});function eR(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ar(){return ar=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ar.apply(this,arguments)}var mo=function(t,r){return{var:t,varRef:r?"var("+t+", "+r+")":"var("+t+")"}},ot={arrowShadowColor:mo("--popper-arrow-shadow-color"),arrowSize:mo("--popper-arrow-size","8px"),arrowSizeHalf:mo("--popper-arrow-size-half"),arrowBg:mo("--popper-arrow-bg"),transformOrigin:mo("--popper-transform-origin"),arrowOffset:mo("--popper-arrow-offset")};function tR(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var rR={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},nR=function(t){return rR[t]},vy={scroll:!0,resize:!0};function iR(e){var t;return typeof e=="object"?t={enabled:!0,options:ar({},vy,e)}:t={enabled:e,options:vy},t}var oR={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var r=t.state;r.styles.popper.width=r.rects.reference.width+"px"},effect:function(t){var r=t.state;return function(){var n=r.elements.reference;r.elements.popper.style.width=n.offsetWidth+"px"}}},aR={name:"transformOrigin",enabled:!0,phase:"write",fn:function(t){var r=t.state;my(r)},effect:function(t){var r=t.state;return function(){my(r)}}},my=function(t){t.elements.popper.style.setProperty(ot.transformOrigin.var,nR(t.placement))},lR={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:function(t){var r=t.state;sR(r)}},sR=function(t){var r;if(!!t.placement){var n=uR(t.placement);if((r=t.elements)!=null&&r.arrow&&n){var i,o;Object.assign(t.elements.arrow.style,(i={},i[n.property]=n.value,i.width=ot.arrowSize.varRef,i.height=ot.arrowSize.varRef,i.zIndex=-1,i));var a=(o={},o[ot.arrowSizeHalf.var]="calc("+ot.arrowSize.varRef+" / 2)",o[ot.arrowOffset.var]="calc("+ot.arrowSizeHalf.varRef+" * -1)",o);for(var l in a)t.elements.arrow.style.setProperty(l,a[l])}}},uR=function(t){if(t.startsWith("top"))return{property:"bottom",value:ot.arrowOffset.varRef};if(t.startsWith("bottom"))return{property:"top",value:ot.arrowOffset.varRef};if(t.startsWith("left"))return{property:"right",value:ot.arrowOffset.varRef};if(t.startsWith("right"))return{property:"left",value:ot.arrowOffset.varRef}},cR={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:function(t){var r=t.state;gy(r)},effect:function(t){var r=t.state;return function(){gy(r)}}},gy=function(t){if(!!t.elements.arrow){var r=t.elements.arrow.querySelector("[data-popper-arrow-inner]");!r||Object.assign(r.style,{transform:"rotate(45deg)",background:ot.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:tR(t.placement)})}},dR={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},fR={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function pR(e,t){var r,n;t===void 0&&(t="ltr");var i=((r=dR[e])==null?void 0:r[t])||e;return t==="ltr"?i:(n=fR[e])!=null?n:i}var hR=["size","shadowColor","bg","style"];function yy(e){e===void 0&&(e={});var t=e,r=t.enabled,n=r===void 0?!0:r,i=t.modifiers,o=t.placement,a=o===void 0?"bottom":o,l=t.strategy,s=l===void 0?"absolute":l,u=t.arrowPadding,c=u===void 0?8:u,p=t.eventListeners,f=p===void 0?!0:p,h=t.offset,m=t.gutter,y=m===void 0?8:m,v=t.flip,g=v===void 0?!0:v,b=t.boundary,w=b===void 0?"clippingParents":b,C=t.preventOverflow,k=C===void 0?!0:C,_=t.matchWidth,E=t.direction,M=E===void 0?"ltr":E,O=A.useRef(null),V=A.useRef(null),Z=A.useRef(null),G=pR(a,M),U=A.useRef(function(){}),Y=A.useCallback(function(){!n||!O.current||!V.current||(U.current==null||U.current(),Z.current=JD(O.current,V.current,{placement:G,modifiers:[cR,lR,aR,ar({},oR,{enabled:!!_}),ar({name:"eventListeners"},iR(f)),{name:"arrow",options:{padding:c}},{name:"offset",options:{offset:h!=null?h:[0,y]}},{name:"flip",enabled:!!g,options:{padding:8}},{name:"preventOverflow",enabled:!!k,options:{boundary:w}}].concat(i!=null?i:[]),strategy:s}),Z.current.forceUpdate(),U.current=Z.current.destroy)},[G,n,i,_,f,c,h,y,g,k,w,s]);A.useEffect(function(){return function(){if(!O.current&&!V.current){var I;(I=Z.current)==null||I.destroy(),Z.current=null}}},[]);var Q=A.useCallback(function(I){O.current=I,Y()},[Y]),J=A.useCallback(function(I,L){return I===void 0&&(I={}),L===void 0&&(L=null),ar({},I,{ref:dr(Q,L)})},[Q]),ie=A.useCallback(function(I){V.current=I,Y()},[Y]),we=A.useCallback(function(I,L){return I===void 0&&(I={}),L===void 0&&(L=null),ar({},I,{ref:dr(ie,L),style:ar({},I.style,{position:s,minWidth:"max-content",inset:"0 auto auto 0"})})},[s,ie]),he=A.useCallback(function(I,L){I===void 0&&(I={}),L===void 0&&(L=null);var R=I;R.size,R.shadowColor,R.bg,R.style;var N=eR(R,hR);return ar({},N,{ref:L,"data-popper-arrow":"",style:vR(I)})},[]),ye=A.useCallback(function(I,L){return I===void 0&&(I={}),L===void 0&&(L=null),ar({},I,{ref:L,"data-popper-arrow-inner":""})},[]);return{update:function(){var L;(L=Z.current)==null||L.update()},forceUpdate:function(){var L;(L=Z.current)==null||L.forceUpdate()},transformOrigin:ot.transformOrigin.varRef,referenceRef:Q,popperRef:ie,getPopperProps:we,getArrowProps:he,getArrowInnerProps:ye,getReferenceProps:J}}function vR(e){var t=e.size,r=e.shadowColor,n=e.bg,i=e.style,o=ar({},i,{position:"absolute"});return t&&(o["--popper-arrow-size"]=t),r&&(o["--popper-arrow-shadow-color"]=r),n&&(o["--popper-arrow-bg"]=n),o}function Ie(){return Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ie.apply(this,arguments)}function Er(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var mR=["id","closeOnSelect","closeOnBlur","autoSelect","isLazy","isOpen","defaultIsOpen","onClose","onOpen","placement","lazyBehavior","direction","computePositionOnMount"],gR=["onMouseEnter","onMouseMove","onMouseLeave","onClick","isDisabled","isFocusable","closeOnSelect","type"],yR=["type","isChecked"],Ec=aI(),bR=Ec[0],xR=Ec[1],wR=Ec[2],CR=Ec[3],by=Tr({strict:!1,name:"MenuContext"}),SR=by[0],Pl=by[1];function kR(e){e===void 0&&(e={});var t=e,r=t.id,n=t.closeOnSelect,i=n===void 0?!0:n,o=t.closeOnBlur,a=o===void 0?!0:o,l=t.autoSelect,s=l===void 0?!0:l,u=t.isLazy,c=t.isOpen,p=t.defaultIsOpen,f=t.onClose,h=t.onOpen,m=t.placement,y=m===void 0?"bottom-start":m,v=t.lazyBehavior,g=v===void 0?"unmount":v,b=t.direction,w=t.computePositionOnMount,C=w===void 0?!1:w,k=Er(t,mR),_=x.useRef(null),E=x.useRef(null),M=wR(),O=x.useCallback(function(){ki(_.current,{nextTick:!0,selectTextIfInput:!1})},[]),V=x.useCallback(function(){var Xe=setTimeout(function(){var oe=M.firstEnabled();oe&&I(oe.index)});ce.current.add(Xe)},[M]),Z=x.useCallback(function(){var Xe=setTimeout(function(){var oe=M.lastEnabled();oe&&I(oe.index)});ce.current.add(Xe)},[M]),G=x.useCallback(function(){h==null||h(),s?V():O()},[s,V,O,h]),U=Sd({isOpen:c,defaultIsOpen:p,onClose:f,onOpen:G}),Y=U.isOpen,Q=U.onOpen,J=U.onClose,ie=U.onToggle;nx({enabled:Y&&a,ref:_,handler:function(oe){var We;(We=E.current)!=null&&We.contains(oe.target)||J()}});var we=yy(Ie({},k,{enabled:Y||C,placement:y,direction:b})),he=x.useState(-1),ye=he[0],I=he[1];kd(function(){Y||I(-1)},[Y]),ex(_,{focusRef:E,visible:Y,shouldFocus:!0});var L=Yb({isOpen:Y,ref:_}),R=Kv(r,"menu-button","menu-list"),N=R[0],H=R[1],ne=x.useCallback(function(){Q(),O()},[Q,O]),ce=x.useRef(new Set([]));qv(function(){ce.current.forEach(function(Xe){return clearTimeout(Xe)}),ce.current.clear()});var be=x.useCallback(function(){Q(),V()},[V,Q]),je=x.useCallback(function(){Q(),Z()},[Q,Z]),Gr=x.useCallback(function(){var Xe,oe,We=Bn(_.current),_t=(Xe=_.current)==null?void 0:Xe.contains(We.activeElement),$l=Y&&!_t;if(!!$l){var hi=(oe=M.item(ye))==null?void 0:oe.node;hi&&ki(hi,{selectTextIfInput:!1,preventScroll:!1})}},[Y,ye,M]);return{openAndFocusMenu:ne,openAndFocusFirstItem:be,openAndFocusLastItem:je,onTransitionEnd:Gr,unstable__animationState:L,descendants:M,popper:we,buttonId:N,menuId:H,forceUpdate:we.forceUpdate,orientation:"vertical",isOpen:Y,onToggle:ie,onOpen:Q,onClose:J,menuRef:_,buttonRef:E,focusedIndex:ye,closeOnSelect:i,closeOnBlur:a,autoSelect:s,setFocusedIndex:I,isLazy:u,lazyBehavior:g}}function ER(e,t){e===void 0&&(e={}),t===void 0&&(t=null);var r=Pl(),n=r.onToggle,i=r.popper,o=r.openAndFocusFirstItem,a=r.openAndFocusLastItem,l=x.useCallback(function(s){var u=Bv(s),c={Enter:o,ArrowDown:o,ArrowUp:a},p=c[u];p&&(s.preventDefault(),s.stopPropagation(),p(s))},[o,a]);return Ie({},e,{ref:dr(r.buttonRef,t,i.referenceRef),id:r.buttonId,"data-active":hs(r.isOpen),"aria-expanded":r.isOpen,"aria-haspopup":"menu","aria-controls":r.menuId,onClick:yt(e.onClick,n),onKeyDown:yt(e.onKeyDown,l)})}function A1(e){var t;return $o(e)&&!!((t=e.getAttribute("role"))!=null&&t.startsWith("menuitem"))}function _R(e,t){e===void 0&&(e={}),t===void 0&&(t=null);var r=Pl();if(!r)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");var n=r.focusedIndex,i=r.setFocusedIndex,o=r.menuRef,a=r.isOpen,l=r.onClose,s=r.menuId,u=r.isLazy,c=r.lazyBehavior,p=r.unstable__animationState,f=xR(),h=ox({preventDefault:function(b){return b.key!==" "&&A1(b.target)}}),m=x.useCallback(function(g){var b=Bv(g),w={Tab:function(E){return E.preventDefault()},Escape:l,ArrowDown:function(){var E=f.nextEnabled(n);E&&i(E.index)},ArrowUp:function(){var E=f.prevEnabled(n);E&&i(E.index)}},C=w[b];if(C){g.preventDefault(),C(g);return}var k=h(function(_){var E=vb(f.values(),_,function(O){var V,Z;return(V=O==null||(Z=O.node)==null?void 0:Z.textContent)!=null?V:""},f.item(n));if(E){var M=f.indexOf(E.node);i(M)}});A1(g.target)&&k(g)},[f,n,h,l,i]),y=x.useRef(!1);a&&(y.current=!0);var v=Ub({hasBeenSelected:y.current,isLazy:u,lazyBehavior:c,isSelected:p.present});return Ie({},e,{ref:dr(o,t),children:v?e.children:null,tabIndex:-1,role:"menu",id:s,style:Ie({},e.style,{transformOrigin:"var(--popper-transform-origin)"}),"aria-orientation":"vertical",onKeyDown:yt(e.onKeyDown,m)})}function TR(e){e===void 0&&(e={});var t=Pl(),r=t.popper,n=t.isOpen;return r.getPopperProps(Ie({},e,{style:Ie({visibility:n?"visible":"hidden"},e.style)}))}function PR(e,t){e===void 0&&(e={}),t===void 0&&(t=null);var r=e,n=r.onMouseEnter,i=r.onMouseMove,o=r.onMouseLeave,a=r.onClick,l=r.isDisabled,s=r.isFocusable,u=r.closeOnSelect,c=r.type,p=Er(r,gR),f=Pl(),h=f.setFocusedIndex,m=f.focusedIndex,y=f.closeOnSelect,v=f.onClose,g=f.menuRef,b=f.isOpen,w=f.menuId,C=x.useRef(null),k=w+"-menuitem-"+ys(),_=CR({disabled:l&&!s}),E=_.index,M=_.register,O=x.useCallback(function(J){n==null||n(J),!l&&h(E)},[h,E,l,n]),V=x.useCallback(function(J){i==null||i(J),C.current&&!xd(C.current)&&O(J)},[O,i]),Z=x.useCallback(function(J){o==null||o(J),!l&&h(-1)},[h,l,o]),G=x.useCallback(function(J){a==null||a(J),!!A1(J.currentTarget)&&(u!=null?u:y)&&v()},[v,a,y,u]),U=E===m,Y=l&&!s;kd(function(){!b||(U&&!Y&&C.current?ki(C.current,{nextTick:!0,selectTextIfInput:!1,preventScroll:!1}):g.current&&!xd(g.current)&&ki(g.current,{preventScroll:!1}))},[U,Y,g,b]);var Q=GI({onClick:G,onMouseEnter:O,onMouseMove:V,onMouseLeave:Z,ref:dr(M,C,t),isDisabled:l,isFocusable:s});return Ie({},p,Q,{type:c!=null?c:Q.type,id:k,role:"menuitem",tabIndex:U?0:-1})}function MR(e,t){e===void 0&&(e={}),t===void 0&&(t=null);var r=e,n=r.type,i=n===void 0?"radio":n,o=r.isChecked,a=Er(r,yR),l=PR(a,t);return Ie({},l,{role:"menuitem"+i,"aria-checked":o})}var OR=["descendants"],LR=["children","as"],AR=["rootProps"],FR=["type"],IR=["icon","iconSpacing"],DR=["title","children","className"],RR=["className","children"],VR=function(t){var r=t.children,n=j0("Menu",t),i=Rr(t),o=N0(),a=o.direction,l=kR(Ie({},i,{direction:a})),s=l.descendants,u=Er(l,OR),c=x.useMemo(function(){return u},[u]),p=c.isOpen,f=c.onClose,h=c.forceUpdate;return x.createElement(bR,{value:s},x.createElement(SR,{value:c},x.createElement(S5,{value:n},Mt(r,{isOpen:p,onClose:f,forceUpdate:h}))))},$R=ge(function(e,t){var r=tr();return x.createElement(ee.button,Ie({ref:t},e,{__css:Ie({display:"inline-flex",appearance:"none",alignItems:"center",outline:0},r.button)}))}),BR=ge(function(e,t){e.children;var r=e.as,n=Er(e,LR),i=ER(n,t),o=r||$R;return x.createElement(o,Ie({},i,{className:Ee("chakra-menu__menu-button",e.className)}),x.createElement(ee.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0}},e.children))}),NR={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}};function zR(e){var t=gl;return"custom"in t&&typeof t.custom=="function"?t.custom(e):t(e)}var HR=zR(ee.div),jR=ge(function(e,t){var r,n,i=e.rootProps,o=Er(e,AR),a=Pl(),l=a.isOpen,s=a.onTransitionEnd,u=a.unstable__animationState,c=_R(o,t),p=TR(i),f=tr();return x.createElement(ee.div,Ie({},p,{__css:{zIndex:(r=e.zIndex)!=null?r:(n=f.list)==null?void 0:n.zIndex}}),x.createElement(HR,Ie({},c,{onUpdate:s,onAnimationComplete:Bb(u.onComplete,c.onAnimationComplete),className:Ee("chakra-menu__menu-list",c.className),variants:NR,initial:!1,animate:l?"enter":"exit",__css:Ie({outline:0},f.list)})))}),WR=ge(function(e,t){var r=e.type,n=Er(e,FR),i=tr(),o=n.as||r?r!=null?r:void 0:"button",a=x.useMemo(function(){return Ie({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0},i.item)},[i.item]);return x.createElement(ee.button,Ie({ref:t,type:o},n,{__css:a}))}),UR=function(t){return x.createElement("svg",Ie({viewBox:"0 0 14 14",width:"1em",height:"1em"},t),x.createElement("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))},ZR=ge(function(e,t){var r=e.icon,n=e.iconSpacing,i=n===void 0?"0.75rem":n,o=Er(e,IR),a=MR(o,t);return x.createElement(WR,Ie({},a,{className:Ee("chakra-menu__menuitem-option",o.className)}),r!==null&&x.createElement(YR,{fontSize:"0.8em",marginEnd:i,opacity:e.isChecked?1:0},r||x.createElement(UR,null)),x.createElement("span",{style:{flex:1}},a.children))});ZR.id="MenuItemOption";var GR=ge(function(e,t){var r=e.title,n=e.children,i=e.className,o=Er(e,DR),a=Ee("chakra-menu__group__title",i),l=tr();return x.createElement("div",{ref:t,className:"chakra-menu__group",role:"group"},r&&x.createElement(ee.p,Ie({className:a},o,{__css:l.groupTitle}),r),n)}),YR=function(t){var r=t.className,n=t.children,i=Er(t,RR),o=x.Children.only(n),a=x.isValidElement(o)?x.cloneElement(o,{focusable:"false","aria-hidden":!0,className:Ee("chakra-menu__icon",o.props.className)}):null,l=Ee("chakra-menu__icon-wrapper",r);return x.createElement(ee.span,Ie({className:l},i,{__css:{flexShrink:0}}),a)};function KR(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var xy={exports:{}},qR="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",XR=qR,QR=XR;function wy(){}function Cy(){}Cy.resetWarningCache=wy;var JR=function(){function e(n,i,o,a,l,s){if(s!==QR){var u=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 u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Cy,resetWarningCache:wy};return r.PropTypes=r,r};xy.exports=JR();var _c=xy.exports,F1="data-focus-lock",Sy="data-focus-lock-disabled",eV="data-no-focus-lock",tV="data-autofocus-inside";function I1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function rV(e,t){var r=A.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}var nV=typeof window!="undefined"?x.useLayoutEffect:x.useEffect,ky=new WeakMap;function Ey(e,t){var r=rV(t||null,function(n){return e.forEach(function(i){return I1(i,n)})});return nV(function(){var n=ky.get(r);if(n){var i=new Set(n),o=new Set(e),a=r.current;i.forEach(function(l){o.has(l)||I1(l,null)}),o.forEach(function(l){i.has(l)||I1(l,a)})}ky.set(r,e)},[e]),r}var D1={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function _y(e){return e}function Ty(e,t){t===void 0&&(t=_y);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(o){var a=t(o,n);return r.push(a),function(){r=r.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(n=!0;r.length;){var a=r;r=[],a.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var a=[];if(r.length){var l=r;r=[],l.forEach(o),a=r}var s=function(){var c=a;a=[],c.forEach(o)},u=function(){return Promise.resolve().then(s)};u(),r={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),r}}}};return i}function R1(e,t){return t===void 0&&(t=_y),Ty(e,t)}function Py(e){e===void 0&&(e={});var t=Ty(null);return t.options=j({async:!0,ssr:!1},e),t}var My=function(e){var t=e.sideCar,r=It(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return x.createElement(n,j({},r))};My.isSideCarExport=!0;function iV(e,t){return e.useMedium(t),My}var Oy=R1({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),Ly=R1(),oV=R1(),aV=Py({async:!0}),lV=[],V1=x.forwardRef(function(t,r){var n,i=x.useState(),o=i[0],a=i[1],l=x.useRef(),s=x.useRef(!1),u=x.useRef(null),c=t.children,p=t.disabled,f=t.noFocusGuards,h=t.persistentFocus,m=t.crossFrame,y=t.autoFocus;t.allowTextSelection;var v=t.group,g=t.className,b=t.whiteList,w=t.shards,C=w===void 0?lV:w,k=t.as,_=k===void 0?"div":k,E=t.lockProps,M=E===void 0?{}:E,O=t.sideCar,V=t.returnFocus,Z=t.onActivation,G=t.onDeactivation,U=x.useState({}),Y=U[0],Q=x.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&Z&&Z(l.current),s.current=!0},[Z]),J=x.useCallback(function(){s.current=!1,G&&G(l.current)},[G]),ie=x.useCallback(function(H){var ne=u.current;if(Boolean(V)&&ne&&ne.focus){var ce=typeof V=="object"?V:void 0;u.current=null,H?Promise.resolve().then(function(){return ne.focus(ce)}):ne.focus(ce)}},[V]),we=x.useCallback(function(H){s.current&&Oy.useMedium(H)},[]),he=Ly.useMedium,ye=x.useCallback(function(H){l.current!==H&&(l.current=H,a(H))},[]),I=Vn((n={},n[Sy]=p&&"disabled",n[F1]=v,n),M),L=f!==!0,R=L&&f!=="tail",N=Ey([r,ye]);return x.createElement(x.Fragment,null,L&&[x.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:p?-1:0,style:D1}),x.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:p?-1:1,style:D1})],!p&&x.createElement(O,{id:Y,sideCar:aV,observed:o,disabled:p,persistentFocus:h,crossFrame:m,autoFocus:y,whiteList:b,shards:C,onActivation:Q,onDeactivation:J,returnFocus:ie}),x.createElement(_,Vn({ref:N},I,{className:g,onBlur:he,onFocus:we}),c),R&&x.createElement("div",{"data-focus-guard":!0,tabIndex:p?-1:0,style:D1}))});V1.propTypes={},V1.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var Ay=V1;function $1(e,t){return $1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},$1(e,t)}function sV(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$1(e,t)}function Ml(e){return Ml=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},Ml(e)}function uV(e,t){if(Ml(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ml(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cV(e){var t=uV(e,"string");return Ml(t)=="symbol"?t:t+""}function dV(e,t,r){return(t=cV(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fV(e,t){function r(n){return n.displayName||n.name||"Component"}return function(i){var o=[],a;function l(){a=e(o.map(function(u){return u.props})),t(a)}var s=function(u){sV(c,u);function c(){return u.apply(this,arguments)||this}c.peek=function(){return a};var p=c.prototype;return p.componentDidMount=function(){o.push(this),l()},p.componentDidUpdate=function(){l()},p.componentWillUnmount=function(){var h=o.indexOf(this);o.splice(h,1),l()},p.render=function(){return d(i,{...this.props})},c}(A.PureComponent);return dV(s,"displayName","SideEffect("+r(i)+")"),s}}var Ln=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},B1=function(e){return Array.isArray(e)?e:[e]},pV=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var i=n+1;i<r;i+=1){var o=e[n].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(a,l){return!t.has(l)})},Fy=function(e){return e.parentNode?Fy(e.parentNode):e},N1=function(e){var t=B1(e);return t.filter(Boolean).reduce(function(r,n){var i=n.getAttribute(F1);return r.push.apply(r,i?pV(Ln(Fy(n).querySelectorAll("["+F1+'="'+i+'"]:not(['+Sy+'="disabled"])'))):[n]),r},[])},hV=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},vV=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!hV(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},Iy=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=vV(t,Iy.bind(void 0,e));return e.set(t,n),n},mV=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},z1=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},Tc=function(e){return!z1(e)},gV=function(e){return Boolean(e)},yV=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},Dy=function(e,t,r){return Ln(e).map(function(n,i){return{node:n,index:i,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!t||n.tabIndex>=0}).sort(yV)},bV=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],H1=bV.join(","),xV=H1+", [data-focus-guard]",j1=function(e,t){return e.reduce(function(r,n){return r.concat(Ln(n.querySelectorAll(t?xV:H1)),n.parentNode?Ln(n.parentNode.querySelectorAll(H1)).filter(function(i){return i===n}):[])},[])},wV=function(e){var t=e.querySelectorAll("["+tV+"]");return Ln(t).map(function(r){return j1([r])}).reduce(function(r,n){return r.concat(n)},[])},W1=function(e,t){return Ln(e).filter(function(r){return Iy(t,r)}).filter(function(r){return mV(r)})},U1=function(e,t,r){return Dy(W1(j1(e,r),t),!0,r)},Ry=function(e,t){return Dy(W1(j1(e),t),!1)},CV=function(e,t){return W1(wV(e),t)},Z1=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Z1(e.parentNode,t),t},G1=function(e,t){for(var r=Z1(e),n=Z1(t),i=0;i<r.length;i+=1){var o=r[i];if(n.indexOf(o)>=0)return o}return!1},Vy=function(e,t,r){var n=B1(e),i=B1(t),o=n[0],a=!1;return i.filter(Boolean).forEach(function(l){a=G1(a||l,l)||a,r.filter(Boolean).forEach(function(s){var u=G1(o,s);u&&(!a||u.contains(a)?a=u:a=G1(u,a))})}),a},SV=function(e,t){return e.reduce(function(r,n){return r.concat(CV(n,t))},[])},kV=function(e){var t=N1(e).filter(Tc),r=Vy(e,e,t),n=new Map,i=U1([r],n,!0),o=U1(t,n).filter(function(a){var l=a.node;return Tc(l)}).map(function(a){var l=a.node;return l});return i.map(function(a){var l=a.node,s=a.index;return{node:l,index:s,lockItem:o.indexOf(l)>=0,guard:z1(l)}})},EV=function(e){return e===document.activeElement},_V=function(e){return Boolean(Ln(e.querySelectorAll("iframe")).some(function(t){return EV(t)}))},$y=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:N1(e).reduce(function(r,n){return r||n.contains(t)||_V(n)},!1)},TV=function(){return document&&Ln(document.querySelectorAll("["+eV+"]")).some(function(e){return e.contains(document.activeElement)})},By=function(e){return e.tagName==="INPUT"&&e.type==="radio"},PV=function(e,t){return t.filter(By).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},Y1=function(e,t){return By(e)&&e.name?PV(e,t):e},MV=function(e){var t=new Set;return e.forEach(function(r){return t.add(Y1(r,e))}),e.filter(function(r){return t.has(r)})},Ny=function(e){return e[0]&&e.length>1?Y1(e[0],e):e[0]},zy=function(e,t){return e.length>1?e.indexOf(Y1(e[t],e)):t},Hy="NEW_FOCUS",OV=function(e,t,r,n){var i=e.length,o=e[0],a=e[i-1],l=z1(r);if(!(e.indexOf(r)>=0)){var s=t.indexOf(r),u=n?t.indexOf(n):s,c=n?e.indexOf(n):-1,p=s-u,f=t.indexOf(o),h=t.indexOf(a),m=MV(t),y=m.indexOf(r)-(n?m.indexOf(n):s),v=zy(e,0),g=zy(e,i-1);if(s===-1||c===-1)return Hy;if(!p&&c>=0)return c;if(s<=f&&l&&Math.abs(p)>1)return g;if(s>=h&&l&&Math.abs(p)>1)return v;if(p&&Math.abs(y)>1)return c;if(s<=f)return g;if(s>h)return v;if(p)return Math.abs(p)>1?c:(i+c+p)%i}},LV=function(e){return function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},AV=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(gV)},FV=function(e,t){var r=document&&document.activeElement,n=N1(e).filter(Tc),i=Vy(r||e,e,n),o=new Map,a=Ry(n,o),l=U1(n,o).filter(function(h){var m=h.node;return Tc(m)});if(!(!l[0]&&(l=a,!l[0]))){var s=Ry([i],o).map(function(h){var m=h.node;return m}),u=AV(s,l),c=u.map(function(h){var m=h.node;return m}),p=OV(c,s,r,t);if(p===Hy){var f=a.map(function(h){var m=h.node;return m}).filter(LV(SV(n,o)));return{node:f&&f.length?Ny(f):Ny(c)}}return p===void 0?p:u[p]}},IV=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},K1=0,q1=!1,DV=function(e,t){var r=FV(e,t);if(!q1&&r){if(K1>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),q1=!0,setTimeout(function(){q1=!1},1);return}K1++,IV(r.node),K1--}},jy=DV;function Wy(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var RV=function(){return document&&document.activeElement===document.body},VV=function(){return RV()||TV()},go=null,yo=null,bo=null,Ol=!1,$V=function(){return!0},BV=function(t){return(go.whiteList||$V)(t)},NV=function(t,r){bo={observerNode:t,portaledElement:r}},zV=function(t){return bo&&bo.portaledElement===t};function Uy(e,t,r,n){var i=null,o=e;do{var a=n[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=r)!==t);i&&(i.node.tabIndex=0)}var HV=function(t){return t&&"current"in t?t.current:t},jV=function(t){return t?Boolean(Ol):Ol==="meanwhile"},Pc=function(){var t=!1;if(go){var r=go,n=r.observed,i=r.persistentFocus,o=r.autoFocus,a=r.shards,l=r.crossFrame,s=n||bo&&bo.portaledElement,u=document&&document.activeElement;if(s){var c=[s].concat(a.map(HV).filter(Boolean));if((!u||BV(u))&&(i||jV(l)||!VV()||!yo&&o)&&(s&&!($y(c)||zV(u))&&(document&&!yo&&u&&!o?(u.blur&&u.blur(),document.body.focus()):(t=jy(c,yo),bo={})),Ol=!1,yo=document&&document.activeElement),document){var p=document&&document.activeElement,f=kV(c),h=f.map(function(m){var y=m.node;return y}).indexOf(p);h>-1&&(f.filter(function(m){var y=m.guard,v=m.node;return y&&v.dataset.focusAutoGuard}).forEach(function(m){var y=m.node;return y.removeAttribute("tabIndex")}),Uy(h,f.length,1,f),Uy(h,-1,-1,f))}}}return t},Zy=function(t){Pc()&&t&&(t.stopPropagation(),t.preventDefault())},X1=function(){return Wy(Pc)},WV=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||NV(n,r)},UV=function(){return null},Gy=function(){Ol="just",setTimeout(function(){Ol="meanwhile"},0)},ZV=function(){document.addEventListener("focusin",Zy,!0),document.addEventListener("focusout",X1),window.addEventListener("blur",Gy)},GV=function(){document.removeEventListener("focusin",Zy,!0),document.removeEventListener("focusout",X1),window.removeEventListener("blur",Gy)};function YV(e){return e.filter(function(t){var r=t.disabled;return!r})}function KV(e){var t=e.slice(-1)[0];t&&!go&&ZV();var r=go,n=r&&t&&t.id===r.id;go=t,r&&!n&&(r.onDeactivation(),e.filter(function(i){var o=i.id;return o===r.id}).length||r.returnFocus(!t)),t?(yo=null,(!n||r.observed!==t.observed)&&t.onActivation(),Pc(),Wy(Pc)):(GV(),yo=null)}Oy.assignSyncMedium(WV),Ly.assignMedium(X1),oV.assignMedium(function(e){return e({moveFocusInside:jy,focusInside:$y})});var qV=fV(YV,KV)(UV),Yy=x.forwardRef(function(t,r){return x.createElement(Ay,Vn({sideCar:qV,ref:r},t))}),Ky=Ay.propTypes||{};Ky.sideCar,KR(Ky,["sideCar"]),Yy.propTypes={};var XV=Yy,QV=function(t){var r=t.initialFocusRef,n=t.finalFocusRef,i=t.contentRef,o=t.restoreFocus,a=t.children,l=t.isDisabled,s=t.autoFocus,u=t.persistentFocus,c=t.lockFocusAcrossFrames,p=x.useCallback(function(){if(r!=null&&r.current)r.current.focus();else if(i!=null&&i.current){var m=Rb(i.current);m.length===0&&ki(i.current,{nextTick:!0})}},[r,i]),f=x.useCallback(function(){var m;n==null||(m=n.current)==null||m.focus()},[n]),h=o&&!n;return x.createElement(XV,{crossFrame:c,persistentFocus:u,autoFocus:s,disabled:l,onActivation:p,onDeactivation:f,returnFocus:h},a)};/*! *****************************************************************************
|
|
334
|
+
Copyright (c) Microsoft Corporation.
|
|
335
|
+
|
|
336
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
337
|
+
purpose with or without fee is hereby granted.
|
|
338
|
+
|
|
339
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
340
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
341
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
342
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
343
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
344
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
345
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
346
|
+
***************************************************************************** */var xo=function(){return xo=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},xo.apply(this,arguments)};function JV(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var Mc="right-scroll-bar-position",Oc="width-before-scroll-bar",e$="with-scroll-bars-hidden",t$="--removed-body-scroll-bar-size",qy=Py(),Q1=function(){},Lc=x.forwardRef(function(e,t){var r=x.useRef(null),n=x.useState({onScrollCapture:Q1,onWheelCapture:Q1,onTouchMoveCapture:Q1}),i=n[0],o=n[1],a=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,c=e.enabled,p=e.shards,f=e.sideCar,h=e.noIsolation,m=e.inert,y=e.allowPinchZoom,v=e.as,g=v===void 0?"div":v,b=JV(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=f,C=Ey([r,t]),k=xo({},b,i);return x.createElement(x.Fragment,null,c&&x.createElement(w,{sideCar:qy,removeScrollBar:u,shards:p,noIsolation:h,inert:m,setCallbacks:o,allowPinchZoom:!!y,lockRef:r}),a?x.cloneElement(x.Children.only(l),xo({},k,{ref:C})):x.createElement(g,xo({},k,{className:s,ref:C}),l))});Lc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Lc.classNames={fullWidth:Oc,zeroRight:Mc};var r$=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function n$(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r$();return t&&e.setAttribute("nonce",t),e}function i$(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function o$(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var a$=function(){var e=0,t=null;return{add:function(r){e==0&&(t=n$())&&(i$(t,r),o$(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},l$=function(){var e=a$();return function(t,r){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Xy=function(){var e=l$(),t=function(r){var n=r.styles,i=r.dynamic;return e(n,i),null};return t},s$={left:0,top:0,right:0,gap:0},J1=function(e){return parseInt(e||"",10)||0},u$=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[J1(r),J1(n),J1(i)]},c$=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return s$;var t=u$(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},d$=Xy(),wo="data-scroll-locked",f$=function(e,t,r,n){var i=e.left,o=e.top,a=e.right,l=e.gap;return r===void 0&&(r="margin"),`
|
|
347
|
+
.`.concat(e$,` {
|
|
348
|
+
overflow: hidden `).concat(n,`;
|
|
349
|
+
padding-right: `).concat(l,"px ").concat(n,`;
|
|
350
|
+
}
|
|
351
|
+
body[`).concat(wo,`] {
|
|
352
|
+
overflow: hidden `).concat(n,`;
|
|
353
|
+
overscroll-behavior: contain;
|
|
354
|
+
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
|
355
|
+
padding-left: `.concat(i,`px;
|
|
356
|
+
padding-top: `).concat(o,`px;
|
|
357
|
+
padding-right: `).concat(a,`px;
|
|
358
|
+
margin-left:0;
|
|
359
|
+
margin-top:0;
|
|
360
|
+
margin-right: `).concat(l,"px ").concat(n,`;
|
|
361
|
+
`),r==="padding"&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.`).concat(Mc,` {
|
|
365
|
+
right: `).concat(l,"px ").concat(n,`;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.`).concat(Oc,` {
|
|
369
|
+
margin-right: `).concat(l,"px ").concat(n,`;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.`).concat(Mc," .").concat(Mc,` {
|
|
373
|
+
right: 0 `).concat(n,`;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.`).concat(Oc," .").concat(Oc,` {
|
|
377
|
+
margin-right: 0 `).concat(n,`;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
body[`).concat(wo,`] {
|
|
381
|
+
`).concat(t$,": ").concat(l,`px;
|
|
382
|
+
}
|
|
383
|
+
`)},Qy=function(){var e=parseInt(document.body.getAttribute(wo)||"0",10);return isFinite(e)?e:0},p$=function(){x.useEffect(function(){return document.body.setAttribute(wo,(Qy()+1).toString()),function(){var e=Qy()-1;e<=0?document.body.removeAttribute(wo):document.body.setAttribute(wo,e.toString())}},[])},h$=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n;p$();var o=x.useMemo(function(){return c$(i)},[i]);return x.createElement(d$,{styles:f$(o,!t,i,r?"":"!important")})},v$=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},m$=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},Jy=function(e,t){var r=t;do{var n=e6(e,r);if(n){var i=t6(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},g$=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},y$=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},e6=function(e,t){return e==="v"?v$(t):m$(t)},t6=function(e,t){return e==="v"?g$(t):y$(t)},b$=function(e,t,r,n,i){var o=n,a=r.target,l=t.contains(a),s=!1,u=o>0,c=0,p=0;do{var f=t6(e,a),h=f[0],m=f[1],y=f[2],v=m-y-h;(h||v)&&e6(e,a)&&(c+=v,p+=h),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(u&&(i&&c===0||!i&&o>c)||!u&&(i&&p===0||!i&&-o>p))&&(s=!0),s},eh=!1;if(typeof window!="undefined")try{var Ac=Object.defineProperty({},"passive",{get:function(){return eh=!0,!0}});window.addEventListener("test",Ac,Ac),window.removeEventListener("test",Ac,Ac)}catch{eh=!1}var Co=eh?{passive:!1}:!1,Fc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},r6=function(e){return[e.deltaX,e.deltaY]},n6=function(e){return e&&"current"in e?e.current:e},x$=function(e,t){return e[0]===t[0]&&e[1]===t[1]},w$=function(e){return`
|
|
384
|
+
.block-interactivity-`+e+` {pointer-events: none;}
|
|
385
|
+
.allow-interactivity-`+e+` {pointer-events: all;}
|
|
386
|
+
`},C$=0,So=[];function S$(e){var t=x.useRef([]),r=x.useRef([0,0]),n=x.useRef(),i=x.useState(C$++)[0],o=x.useState(function(){return Xy()})[0],a=x.useRef(e);x.useEffect(function(){a.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(n6)).filter(Boolean);return y.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),y.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=x.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!a.current.allowPinchZoom;var g=Fc(y),b=r.current,w="deltaX"in y?y.deltaX:b[0]-g[0],C="deltaY"in y?y.deltaY:b[1]-g[1],k,_=y.target,E=Math.abs(w)>Math.abs(C)?"h":"v",M=Jy(E,_);if(!M)return!0;if(M?k=E:(k=E==="v"?"h":"v",M=Jy(E,_)),!M)return!1;if(!n.current&&"changedTouches"in y&&(w||C)&&(n.current=k),!k)return!0;var O=n.current||k;return b$(O,v,y,O==="h"?w:C,!0)},[]),s=x.useCallback(function(y){var v=y;if(!(!So.length||So[So.length-1]!==o)){var g="deltaY"in v?r6(v):Fc(v),b=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&x$(k.delta,g)})[0];if(b&&b.should){v.preventDefault();return}if(!b){var w=(a.current.shards||[]).map(n6).filter(Boolean).filter(function(k){return k.contains(v.target)}),C=w.length>0?l(v,w[0]):!a.current.noIsolation;C&&v.preventDefault()}}},[]),u=x.useCallback(function(y,v,g,b){var w={name:y,delta:v,target:g,should:b};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),c=x.useCallback(function(y){r.current=Fc(y),n.current=void 0},[]),p=x.useCallback(function(y){u(y.type,r6(y),y.target,l(y,e.lockRef.current))},[]),f=x.useCallback(function(y){u(y.type,Fc(y),y.target,l(y,e.lockRef.current))},[]);x.useEffect(function(){return So.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",s,Co),document.addEventListener("touchmove",s,Co),document.addEventListener("touchstart",c,Co),function(){So=So.filter(function(y){return y!==o}),document.removeEventListener("wheel",s,Co),document.removeEventListener("touchmove",s,Co),document.removeEventListener("touchstart",c,Co)}},[]);var h=e.removeScrollBar,m=e.inert;return x.createElement(x.Fragment,null,m?x.createElement(o,{styles:w$(i)}):null,h?x.createElement(h$,{gapMode:"margin"}):null)}var k$=iV(qy,S$),i6=x.forwardRef(function(e,t){return x.createElement(Lc,xo({},e,{ref:t,sideCar:k$}))});i6.classNames=Lc.classNames;var E$=i6,_$=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ko=new WeakMap,Ic=new WeakMap,Dc={},th=0,o6=function(e){return e&&(e.host||o6(e.parentNode))},T$=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=o6(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},P$=function(e,t,r,n){var i=T$(t,Array.isArray(e)?e:[e]);Dc[r]||(Dc[r]=new WeakMap);var o=Dc[r],a=[],l=new Set,s=new Set(i),u=function(p){!p||l.has(p)||(l.add(p),u(p.parentNode))};i.forEach(u);var c=function(p){!p||s.has(p)||Array.prototype.forEach.call(p.children,function(f){if(l.has(f))c(f);else try{var h=f.getAttribute(n),m=h!==null&&h!=="false",y=(ko.get(f)||0)+1,v=(o.get(f)||0)+1;ko.set(f,y),o.set(f,v),a.push(f),y===1&&m&&Ic.set(f,!0),v===1&&f.setAttribute(r,"true"),m||f.setAttribute(n,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return c(t),l.clear(),th++,function(){a.forEach(function(p){var f=ko.get(p)-1,h=o.get(p)-1;ko.set(p,f),o.set(p,h),f||(Ic.has(p)||p.removeAttribute(n),Ic.delete(p)),h||p.removeAttribute(r)}),th--,th||(ko=new WeakMap,ko=new WeakMap,Ic=new WeakMap,Dc={})}},M$=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||_$(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),P$(n,i,r,"aria-hidden")):function(){return null}};function An(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Me(){return Me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Me.apply(this,arguments)}var O$=["preset"],L$={slideInBottom:Me({},D8,{custom:{offsetY:16,reverse:!0}}),slideInRight:Me({},D8,{custom:{offsetX:16,reverse:!0}}),scale:Me({},qF,{custom:{initialScale:.95,reverse:!0}}),none:{}},A$=ee(gl.section),F$=x.forwardRef(function(e,t){var r=e.preset,n=An(e,O$),i=L$[r];return x.createElement(A$,Me({ref:t},i,n))}),I$=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),rh=new I$;function D$(e,t){A.useEffect(function(){return t&&rh.add(e),function(){rh.remove(e)}},[t,e])}function R$(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,o=i===void 0?!0:i,a=e.closeOnEsc,l=a===void 0?!0:a,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,p=e.onEsc,f=A.useRef(null),h=A.useRef(null),m=Kv(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=m[0],v=m[1],g=m[2];V$(f,t&&u),D$(f,t);var b=A.useRef(null),w=A.useCallback(function(Y){b.current=Y.target},[]),C=A.useCallback(function(Y){Y.key==="Escape"&&(Y.stopPropagation(),l&&(r==null||r()),p==null||p())},[l,r,p]),k=A.useState(!1),_=k[0],E=k[1],M=A.useState(!1),O=M[0],V=M[1],Z=A.useCallback(function(Y,Q){return Y===void 0&&(Y={}),Q===void 0&&(Q=null),Me({role:"dialog"},Y,{ref:dr(Q,f),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":_?v:void 0,"aria-describedby":O?g:void 0,onClick:yt(Y.onClick,function(J){return J.stopPropagation()})})},[g,O,y,v,_]),G=A.useCallback(function(Y){Y.stopPropagation(),b.current===Y.target&&(!rh.isTopModal(f)||(o&&(r==null||r()),c==null||c()))},[r,o,c]),U=A.useCallback(function(Y,Q){return Y===void 0&&(Y={}),Q===void 0&&(Q=null),Me({},Y,{ref:dr(Q,h),onClick:yt(Y.onClick,G),onKeyDown:yt(Y.onKeyDown,C),onMouseDown:yt(Y.onMouseDown,w)})},[C,w,G]);return{isOpen:t,onClose:r,headerId:v,bodyId:g,setBodyMounted:V,setHeaderMounted:E,dialogRef:f,overlayRef:h,getDialogProps:Z,getDialogContainerProps:U}}function V$(e,t){var r=e.current;A.useEffect(function(){if(!(!e.current||!t))return M$(e.current)},[t,e,r])}var $$=["className","children","containerProps"],B$=["className","transition"],N$=["className"],z$=["className"],H$=["className"],j$=["onClick","className"],a6=Tr({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),W$=a6[0],Fn=a6[1],Ll=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,o=t.trapFocus,a=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,p=t.preserveScrollBarGap,f=t.motionPreset,h=t.lockFocusAcrossFrames,m=t.onCloseComplete,y=j0("Modal",t),v=R$(t),g=Me({},v,{autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:p,motionPreset:f,lockFocusAcrossFrames:h});return x.createElement(W$,{value:g},x.createElement(S5,{value:y},x.createElement(f1,{onExitComplete:m},g.isOpen&&x.createElement(Da,r,n))))};Ll.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},_r&&(Ll.displayName="Modal");var U$=ee(gl.div),nh=ge(function(e,t){var r=e.className,n=e.children,i=e.containerProps,o=An(e,$$),a=Fn(),l=a.getDialogProps,s=a.getDialogContainerProps,u=l(o,t),c=s(i),p=Ee("chakra-modal__content",r),f=tr(),h=Me({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=Me({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),y=Fn(),v=y.motionPreset;return x.createElement(l6,null,x.createElement(ee.div,Me({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),x.createElement(F$,Me({preset:v,className:p},u,{__css:h}),n)))});_r&&(nh.displayName="ModalContent");function l6(e){var t=Fn(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,o=t.initialFocusRef,a=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,p=t.lockFocusAcrossFrames,f=r1(),h=f[0],m=f[1];return x.useEffect(function(){!h&&m&&setTimeout(m)},[h,m]),x.createElement(QV,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:p},x.createElement(E$,{removeScrollBar:!c,allowPinchZoom:l,enabled:a,forwardProps:!0},e.children))}var ih=ge(function(e,t){var r=e.className;e.transition;var n=An(e,B$),i=Ee("chakra-modal__overlay",r),o=tr(),a=Me({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},o.overlay),l=Fn(),s=l.motionPreset,u=s==="none"?{}:YF;return x.createElement(U$,Me({},u,{__css:a,ref:t,className:i},n))});_r&&(ih.displayName="ModalOverlay");var oh=ge(function(e,t){var r=e.className,n=An(e,N$),i=Fn(),o=i.headerId,a=i.setHeaderMounted;x.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ee("chakra-modal__header",r),s=tr(),u=Me({flex:0},s.header);return x.createElement(ee.header,Me({ref:t,className:l,id:o},n,{__css:u}))});_r&&(oh.displayName="ModalHeader");var ah=ge(function(e,t){var r=e.className,n=An(e,z$),i=Fn(),o=i.bodyId,a=i.setBodyMounted;x.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ee("chakra-modal__body",r),s=tr();return x.createElement(ee.div,Me({ref:t,className:l,id:o},n,{__css:s.body}))});_r&&(ah.displayName="ModalBody");var lh=ge(function(e,t){var r=e.className,n=An(e,H$),i=Ee("chakra-modal__footer",r),o=tr(),a=Me({display:"flex",alignItems:"center",justifyContent:"flex-end"},o.footer);return x.createElement(ee.footer,Me({ref:t},n,{__css:a,className:i}))});_r&&(lh.displayName="ModalFooter");var s6=ge(function(e,t){var r=e.onClick,n=e.className,i=An(e,j$),o=Fn(),a=o.onClose,l=Ee("chakra-modal__close-btn",n),s=tr();return x.createElement(kI,Me({ref:t,__css:s.closeButton,className:l,onClick:yt(r,function(u){u.stopPropagation(),a()})},i))});_r&&(s6.displayName="ModalCloseButton");var Z$=["className","children"],G$=Tr(),Y$=G$[1],K$=ee(JF),q$=ge(function(e,t){var r=e.className,n=e.children,i=An(e,Z$),o=Fn(),a=o.getDialogProps,l=o.getDialogContainerProps,s=o.isOpen,u=a(i,t),c=l(),p=Ee("chakra-modal__content",r),f=tr(),h=Me({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=Me({display:"flex",width:"100vw",height:"100vh",position:"fixed",left:0,top:0},f.dialogContainer),y=Y$(),v=y.placement;return x.createElement(ee.div,Me({},c,{className:"chakra-modal__content-container",__css:m}),x.createElement(l6,null,x.createElement(K$,Me({direction:v,in:s,className:p},u,{__css:h}),n)))});_r&&(q$.displayName="DrawerContent");function u6(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Eo(){return Eo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Eo.apply(this,arguments)}var X$=Si({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),Q$=Si({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});Si({"0%":{left:"-40%"},"100%":{left:"100%"}}),Si({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function J$(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,o=e.valueText,a=e.getValueText,l=e.isIndeterminate,s=Zb(r,n,i),u=function(){if(r!=null)return qr(a)?a(r,s):o};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var eB=["size","isIndeterminate"],tB=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],c6=function(t){return x.createElement(ee.circle,Eo({cx:50,cy:50,r:42,fill:"transparent"},t))},rB=function(t){var r=t.size,n=t.isIndeterminate,i=u6(t,eB);return x.createElement(ee.svg,Eo({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?Q$+" 2s linear infinite":void 0}},i))},nB=function(t){var r,n=t.size,i=n===void 0?"48px":n,o=t.max,a=o===void 0?100:o,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,p=t.value,f=t.capIsRound,h=t.children,m=t.thickness,y=m===void 0?"10px":m,v=t.color,g=v===void 0?"#0078d4":v,b=t.trackColor,w=b===void 0?"#edebe9":b,C=t.isIndeterminate,k=u6(t,tB),_=J$({min:s,max:a,value:p,valueText:u,getValueText:c,isIndeterminate:C}),E=C?void 0:((r=_.percent)!=null?r:0)*2.64,M=mb(E)?void 0:E+" "+(264-E),O=C?{css:{animation:X$+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:M,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},V={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return x.createElement(ee.div,Eo({className:"chakra-progress"},_.bind,k,{__css:V}),x.createElement(rB,{size:i,isIndeterminate:C},x.createElement(c6,{stroke:w,strokeWidth:y,className:"chakra-progress__track"}),x.createElement(c6,Eo({stroke:g,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:_.value===0&&!C?0:void 0},O))),h)};ee("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function lr(){return lr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lr.apply(this,arguments)}function d6(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var iB={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},oB=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function aB(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,o=i===void 0?0:i,a=t.closeOnClick,l=a===void 0?!0:a,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,p=t.onOpen,f=t.onClose,h=t.placement,m=t.id,y=t.isOpen,v=t.defaultIsOpen,g=t.arrowSize,b=g===void 0?10:g,w=t.arrowShadowColor,C=t.arrowPadding,k=t.modifiers,_=t.isDisabled,E=t.gutter,M=t.offset,O=t.direction,V=d6(t,oB),Z=Sd({isOpen:y,defaultIsOpen:v,onOpen:p,onClose:f}),G=Z.isOpen,U=Z.onOpen,Y=Z.onClose,Q=yy({enabled:G,placement:h,arrowPadding:C,modifiers:k,gutter:E,offset:M,direction:O}),J=Q.referenceRef,ie=Q.getPopperProps,we=Q.getArrowInnerProps,he=Q.getArrowProps,ye=ys(m,"tooltip"),I=x.useRef(null),L=x.useRef(),R=x.useRef(),N=x.useCallback(function(){_||(L.current=window.setTimeout(U,n))},[_,U,n]),H=x.useCallback(function(){L.current&&clearTimeout(L.current),R.current=window.setTimeout(Y,o)},[o,Y]),ne=x.useCallback(function(){l&&H()},[l,H]),ce=x.useCallback(function(){s&&H()},[s,H]),be=x.useCallback(function(oe){G&&oe.key==="Escape"&&H()},[G,H]);Cd("keydown",c?be:void 0),x.useEffect(function(){return function(){clearTimeout(L.current),clearTimeout(R.current)}},[]),Cd("mouseleave",H,function(){return I.current});var je=x.useCallback(function(oe,We){oe===void 0&&(oe={}),We===void 0&&(We=null);var _t=lr({},oe,{ref:dr(I,We,J),onMouseEnter:yt(oe.onMouseEnter,N),onClick:yt(oe.onClick,ne),onMouseDown:yt(oe.onMouseDown,ce),onFocus:yt(oe.onFocus,N),onBlur:yt(oe.onBlur,H),"aria-describedby":G?ye:void 0});return _t},[N,H,ce,G,ye,ne,J]),Gr=x.useCallback(function(oe,We){var _t;return oe===void 0&&(oe={}),We===void 0&&(We=null),ie(lr({},oe,{style:lr({},oe.style,(_t={},_t[ot.arrowSize.var]=b?fs(b):void 0,_t[ot.arrowShadowColor.var]=w,_t))}),We)},[ie,b,w]),Xe=x.useCallback(function(oe,We){oe===void 0&&(oe={}),We===void 0&&(We=null);var _t=lr({ref:We},V,oe,{id:ye,role:"tooltip",style:lr({},oe.style,{position:"relative",transformOrigin:ot.transformOrigin.varRef})});return _t},[V,ye]);return{isOpen:G,show:N,hide:H,getTriggerProps:je,getTooltipProps:Xe,getTooltipPositionerProps:Gr,getArrowProps:he,getArrowInnerProps:we}}var lB=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],sB=ee(gl.div),uB=ge(function(e,t){var r,n,i=xn("Tooltip",e),o=Rr(e),a=N0(),l=o.children,s=o.label,u=o.shouldWrapChildren,c=o["aria-label"],p=o.hasArrow,f=o.bg,h=o.portalProps,m=o.background,y=o.backgroundColor,v=o.bgColor,g=d6(o,lB),b=(r=(n=m!=null?m:y)!=null?n:f)!=null?r:v;b&&(i.bg=b,i[ot.arrowBg.var]=xb(a,"colors",b));var w=aB(lr({},g,{direction:a.direction})),C=ss(l)||u,k;if(C)k=x.createElement(ee.span,lr({tabIndex:0},w.getTriggerProps()),l);else{var _=x.Children.only(l);k=x.cloneElement(_,w.getTriggerProps(_.props,_.ref))}var E=!!c,M=w.getTooltipProps({},t),O=E?us(M,["role","id"]):M,V=Dv(M,["role","id"]);return s?x.createElement(x.Fragment,null,k,x.createElement(f1,null,w.isOpen&&x.createElement(Da,h,x.createElement(ee.div,lr({},w.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),x.createElement(sB,lr({variants:iB},O,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,E&&x.createElement(W8,V,c),p&&x.createElement(ee.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},x.createElement(ee.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):x.createElement(x.Fragment,null,l)}),cB=iS;cB.defaultProps={theme:e4};function dB(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),i=t[t.length-1];return JP(i)&&n.length>1?n=n.slice(0,n.length-1):i=e4,zb.apply(void 0,n.map(function(o){return function(a){return qr(o)?o(a):fB(a,o)}}))(i)}function fB(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Vt.apply(void 0,[{}].concat(t,[f6]))}function f6(e,t,r,n){if((qr(e)||qr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=qr(e)?e.apply(void 0,arguments):e,o=qr(t)?t.apply(void 0,arguments):t;return Vt({},i,o,f6)}}const Rc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},fi={main:Rc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:Rc.deepSkyBlue,veryLightBlue:Rc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:Rc.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},pB={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},Al="solid .063rem",hB={borders:{normal:`${Al} ${fi.neutral.darkCharcoal}`,light:`${Al} ${fi.neutral.platinum}`,active:`${Al} ${fi.main.deepSkyBlue}`,success:`${Al} ${fi.alert.jadeGreen}`,error:`${Al} ${fi.alert.red}`,white:`solid .125rem ${fi.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var AH="",FH="",IH="",DH="",RH="";const vB=dB({colors:fi,...hB,...{fonts:{body:"Roboto",outstanding:"Lora"}},styles:pB}),D=e=>`var(--chakra-${e})`;function Fl({children:e,bg:t=D("colors-icon-ripeMango"),color:r=D("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const o={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return d(X,{bg:t,borderRadius:o[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:o[n].fontWeight,lineHeight:".875rem",m:i,p:o[n].p,children:e})}function p6({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),d(nB,{size:"1rem",value:t,thickness:"1rem",color:D("colors-main-deepSkyBlue"),trackColor:D("colors-neutral-platinum")})}var mB=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),_o=globalThis&&globalThis.__assign||function(){return _o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},_o.apply(this,arguments)},gB=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},yB={position:"relative",display:"inline-flex",overflow:"hidden"},bB=function(e){e===void 0&&(e={});var t;return t=function(r){mB(n,r);function n(i){var o=r.call(this,i)||this;return o.timer=0,o.onClick=function(a){var l=o.props,s=l.during,u=l.onClick,c=l.color;a.stopPropagation();var p=a.pageX,f=a.pageY,h=a.currentTarget,m=h.getBoundingClientRect(),y=p-(m.left+window.scrollX),v=f-(m.top+window.scrollY),g=Math.max(m.width,m.height);o.setState(function(b){return{rippleStyle:_o({},b.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){o.timer=setTimeout(function(){o.setState(function(b){return{rippleStyle:_o({},b.rippleStyle,{opacity:0,transform:"scale("+g/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(a)},o.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},o}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,o=i.children;i.during,i.color,i.onClick;var a=i.className,l=gB(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Kr.default.createElement("div",_o({},l,{className:("react-ripples "+a).trim(),style:yB,onClick:this.onClick}),o,Kr.default.createElement("s",{style:s}))},n}(Kr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:_c.number,color:_c.string,onClick:_c.func,className:_c.string},t.defaultProps=_o({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},sh=globalThis&&globalThis.__assign||function(){return sh=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},sh.apply(this,arguments)},xB=function(e){return function(t){return Kr.default.createElement(e,sh({},t))}},h6=xB(bB());function To({children:e,color:t="rgba(204,204,204,0.2)"}){return d(h6,{during:1e3,color:t,children:d(X,{children:e})})}function le({w:e="1rem",h:t="1rem",color:r=D("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:o,title:a}){return $(Ve,{w:e,h:t,viewBox:i,color:r,m:n,"aria-label":" ","aria-hidden":!0,children:[$("title",{children:["icon",a&&`-${a}`]}),o]})}function uh(e){return $(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[d("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),d("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),d("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}uh.displayName="AcademicRecord";function ch(e){return d(le,{...e,children:$("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),d("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),d("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),d("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),d("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}ch.displayName="ArrowRight";function Ne(){return Math.random().toString(36).slice(2,9)}function dh(e){const t=`clip-${Ne()}`;return $(le,{...e,children:[$("g",{clipPath:`url(#${t})`,children:[d("mask",{id:`mask-${t}`,style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:d("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),d("g",{mask:`url(#mask-${t})`,children:d("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),d("defs",{children:d("clipPath",{id:t,children:d("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}dh.displayName="ArrowRight";function fh(e){return $(le,{...e,children:[d("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),d("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]})}fh.displayName="Certificate";function ph(e){return d(le,{...e,children:d("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})})}ph.displayName="CircularCheck";function Vc(e){return d(le,{...e,children:d("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})})}Vc.displayName="CircularInformation";function $c(e){return $(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[d("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),d("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}$c.displayName="Download";function hh(e){return d(le,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:d("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})})}hh.displayName="GoAhead";function vh(e){return d(le,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:d("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}vh.displayName="GoBack";function mh(e){return $(le,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[d("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),d("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),d("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),d("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]})}mh.displayName="Multimedia";function v6({fill:e="#fff"}){return d("div",{className:"loaderAsync","data-testid":"loaderAsync",children:$("svg",{id:Ne(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[d("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),d("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),d("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),d("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function gh(e){return d(le,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:d("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})})}gh.displayName="Profile";function yh(e){return $(le,{...e,children:[d("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),d("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),d("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),d("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),d("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),d("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),d("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}yh.displayName="Schedule";function bh(e){return $(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),d("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),d("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]})}bh.displayName="TinyAlertInfo";function xh(e){const t=`clip${Ne()}`;return $(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[$("g",{clipPath:`url(#${t})`,children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),d("defs",{children:d("clipPath",{id:t,children:d("rect",{width:"12px",height:"12px",fill:"white"})})})]})}xh.displayName="TinyAlertError";function wh(e){return $(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),d("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),d("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]})}wh.displayName="TinyAlertWarning";function Ch(e){const t=`clip${Ne()}`;return $(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[$("g",{clipPath:`url(#${t})`,children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),d("defs",{children:d("clipPath",{id:t,children:d("rect",{width:"12",height:"12",fill:"white"})})})]})}Ch.displayName="TinyAlertSuccess";function Sh(e){return d(le,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})})}Sh.displayName="Password";function kh(e){return $(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[d("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),d("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]})}kh.displayName="Pen";function Eh(e){return d(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})})}Eh.displayName="PlusSign";function _h(e){return $(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[d("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),d("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}_h.displayName="TrashCan";function Th(e){return d(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:d("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})})}Th.displayName="TextBubble";function Ph(e){return d(le,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:$("svg",{fill:"none",children:[d("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),d("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),d("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),d("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),d("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}Ph.displayName="ErrorWhite";function Mh(e){return d(le,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:$("svg",{fill:"none",children:[d("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),d("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),d("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),d("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),d("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),d("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}Mh.displayName="InfoWhite";function Oh(e){return d(le,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:$("svg",{fill:"none",children:[d("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),d("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),d("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),d("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),d("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}Oh.displayName="SuccessWhite";function Lh(e){return d(le,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:$("svg",{fill:"none",children:[d("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),d("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),d("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),d("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),d("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}Lh.displayName="WarningWhite";function Ah(e){return d(le,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:$("svg",{fill:"none",children:[d("path",{d:"M22.142 44.1878C34.0945 44.1878 43.784 34.4984 43.784 22.5458C43.784 10.5933 34.0945 0.903809 22.142 0.903809C10.1895 0.903809 0.5 10.5933 0.5 22.5458C0.5 34.4984 10.1895 44.1878 22.142 44.1878Z",fill:"#F9DFDF"}),d("path",{d:"M19 24.1409C19.8284 24.1409 20.5 23.4693 20.5 22.6409C20.5 21.8124 19.8284 21.1409 19 21.1409C18.1716 21.1409 17.5 21.8124 17.5 22.6409C17.5 23.4693 18.1716 24.1409 19 24.1409Z",fill:"#CC0000"}),d("path",{d:"M24 24.1409C24.8284 24.1409 25.5 23.4693 25.5 22.6409C25.5 21.8124 24.8284 21.1409 24 21.1409C23.1716 21.1409 22.5 21.8124 22.5 22.6409C22.5 23.4693 23.1716 24.1409 24 24.1409Z",fill:"#CC0000"}),d("path",{d:"M29 24.1409C29.8284 24.1409 30.5 23.4693 30.5 22.6409C30.5 21.8124 29.8284 21.1409 29 21.1409C28.1716 21.1409 27.5 21.8124 27.5 22.6409C27.5 23.4693 28.1716 24.1409 29 24.1409Z",fill:"#CC0000"}),d("path",{d:"M44.178 13.9239C41.157 8.67487 35.491 5.14087 29 5.14087C19.335 5.14087 11.5 12.9759 11.5 22.6409C11.5 32.3059 19.335 40.1409 29 40.1409C35.108 40.1409 40.484 37.0119 43.615 32.2699",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.0862 15.7271C37.0625 14.7508 38.6455 14.7508 39.6218 15.7271L43.7105 19.8158L47.7992 15.7271C48.7755 14.7508 50.3585 14.7508 51.3348 15.7271C52.3111 16.7034 52.3111 18.2863 51.3348 19.2626L47.246 23.3514L51.3348 27.4401C52.3111 28.4164 52.3111 29.9993 51.3348 30.9756C50.3585 31.952 48.7755 31.952 47.7992 30.9756L43.7105 26.8869L39.6218 30.9756C38.6455 31.952 37.0625 31.952 36.0862 30.9756C35.1099 29.9993 35.1099 28.4164 36.0862 27.4401L40.175 23.3514L36.0862 19.2626C35.1099 18.2863 35.1099 16.7034 36.0862 15.7271Z",fill:"#CC0000"})]})})}Ah.displayName="ErrorColor";function Fh(e){return d(le,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:$("svg",{fill:"none",children:[d("path",{d:"M21.642 44.2349C33.5945 44.2349 43.284 34.5455 43.284 22.5929C43.284 10.6404 33.5945 0.950928 21.642 0.950928C9.68945 0.950928 0 10.6404 0 22.5929C0 34.5455 9.68945 44.2349 21.642 44.2349Z",fill:"#E0EEFA"}),d("path",{d:"M18.5 24.188C19.3284 24.188 20 23.5164 20 22.688C20 21.8596 19.3284 21.188 18.5 21.188C17.6716 21.188 17 21.8596 17 22.688C17 23.5164 17.6716 24.188 18.5 24.188Z",fill:"#0189FF"}),d("path",{d:"M23.5 24.188C24.3284 24.188 25 23.5164 25 22.688C25 21.8596 24.3284 21.188 23.5 21.188C22.6716 21.188 22 21.8596 22 22.688C22 23.5164 22.6716 24.188 23.5 24.188Z",fill:"#0189FF"}),d("path",{d:"M28.5 24.188C29.3284 24.188 30 23.5164 30 22.688C30 21.8596 29.3284 21.188 28.5 21.188C27.6716 21.188 27 21.8596 27 22.688C27 23.5164 27.6716 24.188 28.5 24.188Z",fill:"#0189FF"}),d("path",{d:"M43.678 13.971C40.657 8.72199 34.991 5.18799 28.5 5.18799C18.835 5.18799 11 13.023 11 22.688C11 32.353 18.835 40.188 28.5 40.188C34.608 40.188 39.984 37.059 43.115 32.317",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21.188H50C50.2652 21.188 50.5196 21.2933 50.7071 21.4809C50.8946 21.6684 51 21.9228 51 22.188V29.233H51.237C51.4908 29.2411 51.7316 29.3477 51.9082 29.5301C52.0849 29.7125 52.1837 29.9565 52.1837 30.2105C52.1837 30.4645 52.0849 30.7085 51.9082 30.8909C51.7316 31.0733 51.4908 31.1799 51.237 31.188H46.977C46.7232 31.1799 46.4824 31.0733 46.3058 30.8909C46.1291 30.7085 46.0303 30.4645 46.0303 30.2105C46.0303 29.9565 46.1291 29.7125 46.3058 29.5301C46.4824 29.3477 46.7232 29.2411 46.977 29.233H47V23.311C46.7348 23.311 46.4804 23.2056 46.2929 23.0181C46.1054 22.8306 46 22.5762 46 22.311V22.188C46 21.9228 46.1054 21.6684 46.2929 21.4809C46.4804 21.2933 46.7348 21.188 47 21.188Z",fill:"#0189FF"}),d("path",{d:"M49 19.188C50.3807 19.188 51.5 18.0687 51.5 16.688C51.5 15.3073 50.3807 14.188 49 14.188C47.6193 14.188 46.5 15.3073 46.5 16.688C46.5 18.0687 47.6193 19.188 49 19.188Z",fill:"#0189FF"})]})})}Fh.displayName="InfoColor";function Ih(e){return d(le,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:$("svg",{fill:"none",children:[d("path",{d:"M21.642 44.0469C33.5945 44.0469 43.284 34.3575 43.284 22.4049C43.284 10.4524 33.5945 0.762939 21.642 0.762939C9.68945 0.762939 0 10.4524 0 22.4049C0 34.3575 9.68945 44.0469 21.642 44.0469Z",fill:"#E9F6EC"}),d("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.7762C57.0011 13.7525 57.0011 15.3354 56.0248 16.3117L44.3118 28.0247C43.8429 28.4936 43.207 28.7569 42.544 28.7569C41.881 28.7569 41.2451 28.4936 40.7762 28.0247L34.2322 21.4807C33.2559 20.5044 33.2559 18.9215 34.2322 17.9452C35.2085 16.9689 36.7915 16.9689 37.7678 17.9452L42.544 22.7214L52.4892 12.7762C53.4655 11.7999 55.0485 11.7999 56.0248 12.7762Z",fill:"#28A745"}),d("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#28A745"}),d("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#28A745"}),d("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#28A745"})]})})}Ih.displayName="SuccessColor";function Dh(e){return d(le,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:$("svg",{fill:"none",children:[d("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),d("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),d("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),d("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),d("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}Dh.displayName="WarningColor";function Rh(e){return d(le,{...e,title:"close",children:d("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:d("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}Rh.displayName="Close";function Vh(e){return d(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:d("path",{d:"M9.207 5.793L3 12L4.414 13.414L10.621 7.207L13.414 10V3H6.414L9.207 5.793Z",fill:"#0189FF"})})}Vh.displayName="Download";var wB=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:uh,AlertInfo:ch,ArrowRight:dh,Certificate:fh,CircularCheck:ph,CircularInformation:Vc,Download:$c,GoAhead:hh,GoBack:vh,Multimedia:mh,Loader:v6,Profile:gh,Schedule:yh,TinyAlertInfo:bh,TinyAlertError:xh,TinyAlertWarning:wh,TinyAlertSuccess:Ch,Password:Sh,Pen:kh,PlusSign:Eh,TrashCan:_h,TextBubble:Th,ErrorWhite:Ph,InfoWhite:Mh,SuccessWhite:Oh,WarningWhite:Lh,ErrorColor:Ah,InfoColor:Fh,SuccessColor:Ih,WarningColor:Dh,Close:Rh,DiagonalArrow:Vh},Symbol.toStringTag,{value:"Module"}));function m6({status:e,text:t,margin:r="0"}){const n={success:{icon:d(Ch,{}),text:"Success",bg:D("colors-alert-ice"),color:D("colors-neutral-darkCharcoal")},error:{icon:d(xh,{}),text:"Error",bg:D("colors-alert-veryLightPinkThree"),color:D("colors-neutral-darkCharcoal")},info:{icon:d(bh,{}),text:"Info",bg:D("colors-alert-veryLightBlue"),color:D("colors-neutral-darkCharcoal")},warning:{icon:d(wh,{}),text:"Warning",bg:D("colors-alert-pale"),color:D("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:D("colors-main-blueGrey"),color:D("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:D("colors-main-ziggurat"),color:D("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:D("colors-neutral-cultured"),color:D("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:D("colors-neutral-white")}};return n[e]?$(X,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&d(X,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),d(X,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}m6.displayName="TinyAlert";function Bc({ariaLabel:e,bg:t,borderColorActive:r=[D("colors-main-deepSkyBlue"),D("colors-neutral-white")],children:n,color:i=D("colors-neutral-white"),disabled:o=!1,fillLoader:a=D("colors-neutral-white"),id:l=void 0,isFullWidth:s=!1,isLoading:u=!1,leftIcon:c,m:p="0",onClick:f,rightIcon:h,role:m="button",rounded:y=!1,size:v="regular",touchDark:g=!1,type:b="button",tabIndex:w=0}){var V,Z,G;let C=n!=null?n:null;!n&&!h&&!c&&(C="Button");const k=".75rem",_=y?"12px":D("radii-small"),E=(V=t==null?void 0:t.main)!=null?V:D("colors-main-deepSkyBlue"),M=g?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",O=!n&&(h!=null?h:c)?"onlyIcon":"";return d(X,{margin:p,sx:{".react-ripples":{borderRadius:_,display:`${s?"grid":"inline-flex!important"}`}},children:d(h6,{color:M,children:d(y1,{"aria-label":e,id:l,role:m,bg:E,borderRadius:_,color:i,className:O,disabled:o&&u?!1:o,fontWeight:"500",fontSize:v==="regular"?"medium":"small",height:"auto",iconSpacing:D("space-xs"),isActive:!1,isLoading:u,isFullWidth:s,lineHeight:"initial",leftIcon:c,minHeight:v==="regular"?"2.813rem":"2rem",minWidth:v==="regular"?"9rem":"auto",onClick:U=>{!u&&!o&&(f==null||f(U))},position:"relative",paddingTop:v==="regular"?k:D(O?"space-xs":"space-xxs"),paddingBottom:v==="regular"?k:D(O?"space-xs":"space-xxs"),paddingLeft:D(v==="regular"?"space-s":"space-xs"),paddingRight:D(v==="regular"?"space-s":"space-xs"),rightIcon:h,type:b,size:v==="regular"?"md":"sm",spinner:d(v6,{fill:a}),tabIndex:o||u?-1:w,_active:{bg:(Z=t==null?void 0:t.main)!=null?Z:D("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${r[0]}, inset 0 0 0 4px ${r[1]}`},_hover:{bg:(G=t==null?void 0:t.hover)!=null?G:D("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:C})})})}Bc.displayName="Btn";function $h({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:p="button",tabIndex:f,id:h}){return d(Bc,{ariaLabel:e,id:h,disabled:r,isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,type:p,tabIndex:f,children:t})}$h.displayName="BtnPrimary";function Bh({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:p="button",tabIndex:f,id:h}){return d(Bc,{ariaLabel:e,id:h,bg:{main:D("colors-main-veryLightBlue"),hover:D("colors-main-linkWater")},borderColorActive:[D("colors-main-deepSkyBlue"),D("colors-neutral-white")],color:D("colors-main-deepSkyBlue"),disabled:r,fillLoader:D("colors-main-deepSkyBlue"),isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,touchDark:!0,type:p,tabIndex:f,children:t})}Bh.displayName="BtnSecondary";function g6({ariaLabel:e,activeWhenPress:t=!1,children:r,id:n,iconStatus:i="multimedia",iconCustom:o,m:a="0",onClick:l,onMouseEnter:s,onMouseLeave:u,rightIcon:c,role:p="button",type:f="button",tabIndex:h,withoutColor:m=!1}){const y=D("colors-neutral-gray"),v=D("colors-main-deepSkyBlue"),g=D("colors-neutral-white"),b=m?D("colors-main-blueGrey"):v,w={ahead:d(hh,{color:b}),answer:d(Th,{color:b}),back:d(vh,{color:b}),delete:d(_h,{color:b}),download:d($c,{color:b}),edit:d(kh,{color:b}),more:d(Eh,{color:b}),multimedia:d(mh,{color:b}),password:d(Sh,{color:b}),record:d(uh,{color:b}),noIcon:d(Ir,{})};let C;return w[i]&&i!=="noIcon"&&(C=w[i]),o&&(C=o),d(y1,{"aria-label":e,id:n,role:p,type:f,tabIndex:h,background:"transparent",borderRadius:"12px",color:y,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",gap:"0.5rem",height:"24px",lineHeight:"16px",leftIcon:c?void 0:C,rightIcon:c?C:void 0,m:a,onClick:l,onMouseEnter:s,onMouseLeave:u,paddingTop:D("space-xxs"),paddingBottom:D("space-xxs"),paddingLeft:D("space-xs"),paddingRight:D("space-xs"),textDecorationLine:"underline",_hover:{color:`${v}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${v}, inset 0 0 0 4px ${g}`},_focus:{color:t?`${v} !important`:"inherit",boxShadow:"none"},_active:{bg:"transparent"},sx:{">span":{mr:0}},children:r})}g6.displayName="BtnTertiary";function Il({as:e="a",ariaLabel:t,children:r,fontSize:n="0.875rem",href:i="",id:o,m:a="0",onClick:l,role:s="link",tabIndex:u,textDecorationLine:c=!0}){const p={button:{onClick:l},a:{href:i,target:"_blank"}};return d(X,{as:e,"aria-label":t,id:o,role:s,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",color:D("colors-main-deepSkyBlue"),fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:n,lineHeight:"1rem",onClick:l,padding:".25em",tabIndex:u,textDecorationLine:c?"underline":"none",width:"fit-content",m:a,_hover:{color:D("colors-neutral-darkCharcoal"),cursor:"pointer"},...p[e],children:r})}Il.displayName="BtnLink";const y6=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:o="200px",placement:a="bottom",isOpen:l,sx:s})=>d(uB,{isOpen:l,sx:{bg:D("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:o,padding:"8px",".chakra-tooltip__arrow":{bg:`${D("colors-neutral-darkCharcoal")} !important`},...s},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:a,children:d("span",{children:e})});function CB(e){return d(le,{...e,children:d("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM8 5C8.82843 5 9.5 4.32843 9.5 3.5C9.5 2.67157 8.82843 2 8 2C7.17157 2 6.5 2.67157 6.5 3.5C6.5 4.32843 7.17157 5 8 5ZM2.96967 5.96967C3.11032 5.82902 3.30109 5.75 3.5 5.75H12.5C12.6989 5.75 12.8897 5.82902 13.0303 5.96967C13.171 6.11032 13.25 6.30109 13.25 6.5C13.25 6.69891 13.171 6.88968 13.0303 7.03033C12.8897 7.17098 12.6989 7.25 12.5 7.25H10.25V13.25C10.25 13.4489 10.171 13.6397 10.0303 13.7803C9.88968 13.921 9.69891 14 9.5 14C9.30109 14 9.11032 13.921 8.96967 13.7803C8.82902 13.6397 8.75 13.4489 8.75 13.25V10.25H7.25V13.25C7.25 13.4489 7.17098 13.6397 7.03033 13.7803C6.88968 13.921 6.69891 14 6.5 14C6.30109 14 6.11032 13.921 5.96967 13.7803C5.82902 13.6397 5.75 13.4489 5.75 13.25V7.25H3.5C3.30109 7.25 3.11032 7.17098 2.96967 7.03033C2.82902 6.88968 2.75 6.69891 2.75 6.5C2.75 6.30109 2.82902 6.11032 2.96967 5.96967Z",fill:"white"})})})}function SB(){const e=()=>{const t=document.getElementById("userWayTrigger");t!=null&&t.click&&t.click()};return d(X,{as:"button",alignItems:"center",bg:D("colors-main-blueGrey"),borderRadius:"100%",border:"1px solid transparent",display:"flex",height:"30px",id:"UserWayButton",justifyContent:"center",padding:"0 8px",width:"30px",_hover:{background:"rgba(96, 121, 142, 0.8)"},onClick:e,children:d(CB,{})})}function kB(){var r;const e="userwayData",t=(r=document.cookie.split("; ").find(n=>n.startsWith(`${e}=`)))==null?void 0:r.split("=")[1];if(t)try{const n=JSON.parse(decodeURIComponent(t));for(const[i,o]of Object.entries(n))localStorage.setItem(i,o);console.log("UserWay data restored to localStorage:",n)}catch(n){console.error("Error parsing UserWay data from cookie:",n)}window.addEventListener("beforeunload",()=>{const n={};for(const a in localStorage)a.startsWith("userway-")&&(n[a]=localStorage.getItem(a));const i=JSON.stringify(n),o=new Date;o.setTime(o.getTime()+24*60*60*1e3),document.cookie=`${e}=${encodeURIComponent(i)};expires=${o.toUTCString()};path=/`})}const EB=4;function b6(){var a;const{background:e,labels:t,logo:r,logoAlt:n,Profile:i,soonCourse:o}=x.useContext(Nc);return $(X,{as:"header",height:"8.75rem",borderBottom:D("borders-light"),pos:"relative",_before:{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundImage:`url(${e!=null?e:""})`,backgroundSize:"cover",backgroundPosition:"center",opacity:(a=o==null?void 0:o.show)!=null&&a?.3:1,zIndex:0},children:[$(X,{p:"1rem",display:"flex",gap:"0.625rem",position:"absolute",zIndex:2,children:[(i==null?void 0:i.id)!==EB&&d(Fl,{bg:D("colors-neutral-white"),m:"0 0 .625rem 0",children:$(xl,{children:[d(gh,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&d(x1,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:t.map((l,s)=>d(Fl,{bg:l.id==="NEW"?D("colors-secondary-pumpkin"):void 0,children:l.text},s))}),(o==null?void 0:o.show)&&(o==null?void 0:o.text)&&d(x1,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:d(Fl,{children:o.text})})]}),r!==void 0&&r.length>0&&d(Y8,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:D("borders-light"),bg:D("colors-neutral-white"),overflow:"hidden",borderRadius:D("radii-small"),w:"6.25rem",zIndex:2,children:d(cI,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}b6.displayName="Header";function Nh({date:e}){return e==null||e.length===0?null:d(it,{fontSize:".75rem",color:D("colors-neutral-darkCharcoal"),m:"0",children:e})}Nh.displayName="DateStatus";function x6({type:e,progressValue:t=0}){switch(e){case"schedule":return d(yh,{});case"certificate":return d(fh,{});case"circularCheck":return d(ph,{});case"progress":return d(p6,{value:t});case"circularInformation":return d(Vc,{});case"info":return d(Vc,{});default:return null}}const _B=7;function w6({progress:e,status:t}){return $(Ir,{children:[$(xl,{children:[d(x6,{type:e.icon,progressValue:e.progress}),d(it,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===_B&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&d(Fl,{size:"sm",bg:e.isApproved?D("colors-alert-jadeGreen"):D("colors-alert-red"),color:D("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function C6(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=x.useContext(Nc);return n==null?null:$(X,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&$($I,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?d(X,{h:".5rem",w:"1px",bg:D("colors-neutral-silverSand"),alignSelf:"center"}):d(Ir,{}),children:[d(Nh,{date:t.init}),d(Nh,{date:t.end})]}),d(TI,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),d(xl,{mt:"1rem",justify:"space-between",children:d(w6,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&d(AI,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:D("borders-light"),children:r.map((o,a)=>{var l;return $(FI,{display:"flex",children:[d(x6,{type:o.icon}),d(X,{display:"inline-block",ml:".625rem",children:o.href!==void 0&&((l=o.href)==null?void 0:l.length)>0?d(bc,{isExternal:!0,href:o.href,color:D("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:o.text}):d(it,{m:"0",color:D("colors-neutral-gray"),fontSize:".75rem",children:o.text})})]},a)})})]})}C6.displayName="Section";const z={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},S6={noHabilitado:{...z,id:1,hasFinanzeFreezed:!1,status:{...z.status,id:1,name:"noHabilitado"},progress:{...z.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:null,action:{...z.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...z,id:2,hasFinanzeFreezed:!1,status:{...z.status,id:1,name:"noHabilitado"},progress:{...z.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:null,action:{...z.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...z,id:3,hasFinanzeFreezed:!1,status:{...z.status,id:1,name:"noHabilitado"},progress:{...z.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:null,action:{...z.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...z,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:4,hasFinanzeFreezed:!1,status:{...z.status,id:2,name:"preInscripcion"},progress:{...z.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...z,id:5,hasFinanzeFreezed:!1,logo:"",status:{...z.status,id:2,name:"preInscripcion"},progress:{...z.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...z,background:"https://cdn.eclass.com/img/cursos/default2.png",id:6,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...z,id:7,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!0},information:[],action:{...z.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]},noDisponible:{...z,id:8,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...z.status,id:4,name:"no disponible"},progress:{...z.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...z,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:9,hasFinanzeFreezed:!1,status:{...z.status,id:4,name:"no disponible"},progress:{...z.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,enabled:!1},labels:[]},noDisponible3:{...z,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:10,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...z.status,id:4,name:"no disponible"},progress:{...z.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,enabled:!1},labels:[]},activado:{...z,id:11,hasFinanzeFreezed:!1,status:{...z.status,id:5,name:"disponible"},progress:{...z.progress,label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...z,id:12,hasFinanzeFreezed:!1,logo:"",status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.progress,label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...z,id:13,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.progress,label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...z,id:14,hasFinanzeFreezed:!1,status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.progress,label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...z,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:15,hasFinanzeFreezed:!1,status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.progress,label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...z,id:16,hasFinanzeFreezed:!0,status:{...z.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...z.progress,label:"Has completado un 25% de tu curso",icon:"progress",progress:25},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...z,id:17,hasFinanzeFreezed:!1,status:{...z.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...z.progress,label:"Has completado un 100% de tu curso",icon:"progress",progress:100},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ir a mi curso"},labels:[]},pendiente:{...z,background:"https://cdn.eclass.com/img/cursos/default3.png",id:18,hasFinanzeFreezed:!1,status:{...z.status,id:8,name:"pendiente"},progress:{...z.progress,label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ir a mi curso"},labels:[]},terminado:{...z,id:19,hasFinanzeFreezed:!1,status:{...z.status,id:7,name:"QUALIFIED"},progress:{...z.progress,label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ir a mi curso"},labels:[]},terminado2:{...z,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:20,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...z.status,id:7,name:"QUALIFIED"},progress:{...z.progress,label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ir a mi curso"},labels:[]},terminado3:{...z,id:21,hasFinanzeFreezed:!1,logo:"",status:{...z.status,id:9,name:"terminado"},progress:{...z.progress,label:"Curso finalizado",icon:"circularCheck"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ir a mi curso"},labels:[]},proximamente:{...z,id:22,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[]},proximamente2:{...z,id:23,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]}},TB=Object.keys(S6).map(e=>S6[e]),k6=4,Dl=(e,t=k6)=>e||t!==k6;function PB(e=4){const t=e*T6+_6*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function MB({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const o={backgroundColor:"transparent"};function a(){return d(ih,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=x.useState(d(a,{}));return x.useEffect(()=>{n&&s(d(a,{}))},[n]),$(Ll,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,$(nh,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[$(oh,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[d(ch,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),d(s6,{size:"md",color:D("colors-main-blueGrey"),_hover:o,_focus:o,_active:o}),d(ah,{p:"1rem 2rem 2rem 2rem",children:d(it,{align:"center",children:i.body})}),d(lh,{justifyContent:"center",borderTop:"1px solid",borderTopColor:D("colors-neutral-platinum"),p:"1rem",children:d(y1,{onClick:r,color:D("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:o,_focus:o,_active:o,children:i.buttonName})})]})]})}Ll.displayName="Modal";function E6({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=x.useContext(Nc),{isOpen:i,onOpen:o,onClose:a}=Sd(),[l,s]=x.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),o()};return t==null?null:$(Y8,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:D("colors-neutral-platinum"),children:[Dl(t.enabled,r==null?void 0:r.id)?$(Ir,{children:[n&&e?d(X,{color:D("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):d(it,{color:D("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&d(dh,{color:D("colors-main-deepSkyBlue")})]}):d(it,{fontWeight:"500",lineHeight:"1.172rem",color:D("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&d(MB,{isOpen:i,onClose:a,showOverlay:l,onOpen:o,modalPaymentText:e})]})}E6.displayName="Footer";const Nc=x.createContext({});function OB({enabled:e,children:t}){return e?d(To,{children:t}):d(Ir,{children:t})}function zh({data:e,modalPaymentText:t}){var n,i,o,a,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${D("colors-neutral-silverSand")}`};return d(Nc.Provider,{value:e,children:d(HI,{as:"article",border:D("borders-light"),borderRadius:D("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:d(OB,{enabled:Dl((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(o=e.Profile)==null?void 0:o.id),children:$(xl,{direction:"column",justify:"space-between",h:"100%",children:[$(X,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&Dl((l=(a=e.action)==null?void 0:a.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&d(q8,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),d(b6,{}),d(C6,{})]}),d(E6,{modalPaymentText:t})]})})})})}zh.displayName="BoxTraditional";function LB({enabled:e,children:t}){return e?d(To,{children:t}):d(Ir,{children:t})}function Hh({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var a,l,s,u,c,p,f,h,m;const o={large:"286px",small:"197px"};return d(LB,{enabled:Dl((l=(a=r==null?void 0:r.action)==null?void 0:a.enabled)!=null?l:!1,(s=r==null?void 0:r.Profile)==null?void 0:s.id),children:$(X,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:D("colors-neutral-white"),cursor:"pointer",height:o[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:i,justifyContent:"end",textAlign:"left"},children:[!(r!=null&&r.hasFinanzeFreezed)&&Dl((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(p=r==null?void 0:r.Profile)==null?void 0:p.id)&&d(q8,{href:(f=r==null?void 0:r.action)==null?void 0:f.href,isExternal:(h=r==null?void 0:r.action)==null?void 0:h.targetBlank}),$(X,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[d(X,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(m=r==null?void 0:r.information)==null?void 0:m.map((y,v)=>y.icon==="certificate"&&d(X,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:y.text},v))]})]})})}Hh.displayName="BoxImage";const AB=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var a,l;const n={data:t,modalPaymentText:r},i={data:t,backgroundImg:(a=t.background)!=null?a:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:d(zh,{...n}),TRADITIONAL_LANDSCAPE:d(zh,{...n}),IMAGE_LARGE:d(Hh,{...i}),IMAGE_SMALL:d(Hh,{...i,size:"small"})}[e]},_6=1.25,T6=17.8125;function P6({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:d(X,{display:"grid",gridColumnGap:`${_6}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${T6}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>d(AB,{data:i,type:n,modalPaymentText:t},i.id))})}P6.displayName="CourseList";const jh={success:{icon:d(Oh,{}),bg:D("colors-alert-ice"),id:"success"},error:{icon:d(Ph,{}),bg:D("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:d(Mh,{}),bg:D("colors-alert-veryLightBlue"),id:"info"},warning:{icon:d(Lh,{}),bg:D("colors-alert-pale"),id:"warning"}},FB={success:{icon:d(Ih,{}),bg:D("colors-alert-ice"),id:"success"},error:{icon:d(Ah,{}),bg:D("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:d(Fh,{}),bg:D("colors-alert-veryLightBlue"),id:"info"},warning:{icon:d(Dh,{}),bg:D("colors-alert-pale"),id:"warning"}};function M6({children:e,canDismiss:t=!1,buttonText:r,buttonIcon:n,buttonLink:i=!1,fullWidth:o=!1,isFlash:a=!1,onClick:l,state:s,m:u,endTextLink:c,onClickLink:p}){const[f]=w1("(max-width: 425px)"),h=()=>{l&&l()};let m;return r&&(m=i?"link":"normal"),$(X,{className:a?"flashNotification":"e_alert",alignItems:f?"unset":"center",backgroundColor:jh[s].bg,borderRadius:"8px",display:"flex",flexFlow:f?"column":"row",gap:a?"":"16px",justifyContent:f?"":"space-between",margin:u,width:o?"100%":"fit-content",maxWidth:o?"none":"796px",p:"1rem",pr:t?"1.75rem":"1rem",position:"relative",children:[$(X,{display:"flex",gap:"10px",className:"alertContent",sx:{".linkButton":{fontSize:"16px"},a:{fontWeight:"500",color:D("colors-main-deepSkyBlue"),textDecoration:"underline"},"a:hover":{color:D("colors-neutral-darkCharcoal")}},children:[d(X,{className:"iconContainer",sx:{svg:{width:"auto"}},children:jh[s].icon}),$(X,{display:"flex",alignItems:"center",children:[$(X,{as:"p",alignSelf:"center",fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",color:D("colors-neutral-darkCharcoal"),children:[e,c&&p&&d(Il,{onClick:p,children:c})]}),m==="link"&&d(Il,{onClick:h,children:r})]})]}),m==="normal"&&d($h,{isFullWidth:!!f,leftIcon:n,onClick:h,children:r}),t&&d(X,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:l,children:d(Rh,{})})]})}let IB={data:""},DB=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||IB,RB=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,VB=/\/\*[^]*?\*\/| +/g,O6=/\n+/g,In=(e,t)=>{let r="",n="",i="";for(let o in e){let a=e[o];o[0]=="@"?o[1]=="i"?r=o+" "+a+";":n+=o[1]=="f"?In(a,o):o+"{"+In(a,o[1]=="k"?"":t)+"}":typeof a=="object"?n+=In(a,t?t.replace(/([^,])+/g,l=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,l):l?l+" "+s:s)):o):a!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=In.p?In.p(o,a):o+":"+a+";")}return r+(t&&i?t+"{"+i+"}":i)+n},Ur={},L6=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+L6(e[r]);return t}return e},$B=(e,t,r,n,i)=>{let o=L6(e),a=Ur[o]||(Ur[o]=(s=>{let u=0,c=11;for(;u<s.length;)c=101*c+s.charCodeAt(u++)>>>0;return"go"+c})(o));if(!Ur[a]){let s=o!==e?e:(u=>{let c,p,f=[{}];for(;c=RB.exec(u.replace(VB,""));)c[4]?f.shift():c[3]?(p=c[3].replace(O6," ").trim(),f.unshift(f[0][p]=f[0][p]||{})):f[0][c[1]]=c[2].replace(O6," ").trim();return f[0]})(e);Ur[a]=In(i?{["@keyframes "+a]:s}:s,r?"":"."+a)}let l=r&&Ur.g?Ur.g:null;return r&&(Ur.g=Ur[a]),((s,u,c,p)=>{p?u.data=u.data.replace(p,s):u.data.indexOf(s)===-1&&(u.data=c?s+u.data:u.data+s)})(Ur[a],t,n,l),a},BB=(e,t,r)=>e.reduce((n,i,o)=>{let a=t[o];if(a&&a.call){let l=a(r),s=l&&l.props&&l.props.className||/^go/.test(l)&&l;a=s?"."+s:l&&typeof l=="object"?l.props?"":In(l,""):l===!1?"":l}return n+i+(a==null?"":a)},"");function zc(e){let t=this||{},r=e.call?e(t.p):e;return $B(r.unshift?r.raw?BB(r,[].slice.call(arguments,1),t.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(t.p):i),{}):r,DB(t.target),t.g,t.o,t.k)}let A6,Wh,Uh;zc.bind({g:1});let Zr=zc.bind({k:1});function NB(e,t,r,n){In.p=t,A6=e,Wh=r,Uh=n}function Dn(e,t){let r=this||{};return function(){let n=arguments;function i(o,a){let l=Object.assign({},o),s=l.className||i.className;r.p=Object.assign({theme:Wh&&Wh()},l),r.o=/ *go\d+/.test(s),l.className=zc.apply(r,n)+(s?" "+s:""),t&&(l.ref=a);let u=e;return e[0]&&(u=l.as||e,delete l.as),Uh&&u[0]&&Uh(l),A6(u,l)}return t?t(i):i}}var zB=e=>typeof e=="function",Hc=(e,t)=>zB(e)?e(t):e,HB=(()=>{let e=0;return()=>(++e).toString()})(),F6=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),jB=20,jc=new Map,WB=1e3,I6=e=>{if(jc.has(e))return;let t=setTimeout(()=>{jc.delete(e),pi({type:4,toastId:e})},WB);jc.set(e,t)},UB=e=>{let t=jc.get(e);t&&clearTimeout(t)},Zh=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,jB)};case 1:return t.toast.id&&UB(t.toast.id),{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case 2:let{toast:r}=t;return e.toasts.find(o=>o.id===r.id)?Zh(e,{type:1,toast:r}):Zh(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?I6(n):e.toasts.forEach(o=>{I6(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,visible:!1}:o)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+i}))}}},Wc=[],Uc={toasts:[],pausedAt:void 0},pi=e=>{Uc=Zh(Uc,e),Wc.forEach(t=>{t(Uc)})},ZB={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},GB=(e={})=>{let[t,r]=A.useState(Uc);A.useEffect(()=>(Wc.push(r),()=>{let i=Wc.indexOf(r);i>-1&&Wc.splice(i,1)}),[t]);let n=t.toasts.map(i=>{var o,a;return{...e,...e[i.type],...i,duration:i.duration||((o=e[i.type])==null?void 0:o.duration)||(e==null?void 0:e.duration)||ZB[i.type],style:{...e.style,...(a=e[i.type])==null?void 0:a.style,...i.style}}});return{...t,toasts:n}},YB=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||HB()}),Rl=e=>(t,r)=>{let n=YB(t,e,r);return pi({type:2,toast:n}),n.id},Et=(e,t)=>Rl("blank")(e,t);Et.error=Rl("error"),Et.success=Rl("success"),Et.loading=Rl("loading"),Et.custom=Rl("custom"),Et.dismiss=e=>{pi({type:3,toastId:e})},Et.remove=e=>pi({type:4,toastId:e}),Et.promise=(e,t,r)=>{let n=Et.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(i=>(Et.success(Hc(t.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{Et.error(Hc(t.error,i),{id:n,...r,...r==null?void 0:r.error})}),e};var KB=(e,t)=>{pi({type:1,toast:{id:e,height:t}})},qB=()=>{pi({type:5,time:Date.now()})},XB=e=>{let{toasts:t,pausedAt:r}=GB(e);A.useEffect(()=>{if(r)return;let o=Date.now(),a=t.map(l=>{if(l.duration===1/0)return;let s=(l.duration||0)+l.pauseDuration-(o-l.createdAt);if(s<0){l.visible&&Et.dismiss(l.id);return}return setTimeout(()=>Et.dismiss(l.id),s)});return()=>{a.forEach(l=>l&&clearTimeout(l))}},[t,r]);let n=A.useCallback(()=>{r&&pi({type:6,time:Date.now()})},[r]),i=A.useCallback((o,a)=>{let{reverseOrder:l=!1,gutter:s=8,defaultPosition:u}=a||{},c=t.filter(h=>(h.position||u)===(o.position||u)&&h.height),p=c.findIndex(h=>h.id===o.id),f=c.filter((h,m)=>m<p&&h.visible).length;return c.filter(h=>h.visible).slice(...l?[f+1]:[0,f]).reduce((h,m)=>h+(m.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:KB,startPause:qB,endPause:n,calculateOffset:i}}},QB=Zr`
|
|
387
|
+
from {
|
|
388
|
+
transform: scale(0) rotate(45deg);
|
|
389
|
+
opacity: 0;
|
|
390
|
+
}
|
|
391
|
+
to {
|
|
392
|
+
transform: scale(1) rotate(45deg);
|
|
393
|
+
opacity: 1;
|
|
394
|
+
}`,JB=Zr`
|
|
395
|
+
from {
|
|
396
|
+
transform: scale(0);
|
|
397
|
+
opacity: 0;
|
|
398
|
+
}
|
|
399
|
+
to {
|
|
400
|
+
transform: scale(1);
|
|
401
|
+
opacity: 1;
|
|
402
|
+
}`,eN=Zr`
|
|
403
|
+
from {
|
|
404
|
+
transform: scale(0) rotate(90deg);
|
|
405
|
+
opacity: 0;
|
|
406
|
+
}
|
|
407
|
+
to {
|
|
408
|
+
transform: scale(1) rotate(90deg);
|
|
409
|
+
opacity: 1;
|
|
410
|
+
}`,tN=Dn("div")`
|
|
411
|
+
width: 20px;
|
|
412
|
+
opacity: 0;
|
|
413
|
+
height: 20px;
|
|
414
|
+
border-radius: 10px;
|
|
415
|
+
background: ${e=>e.primary||"#ff4b4b"};
|
|
416
|
+
position: relative;
|
|
417
|
+
transform: rotate(45deg);
|
|
418
|
+
|
|
419
|
+
animation: ${QB} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
420
|
+
forwards;
|
|
421
|
+
animation-delay: 100ms;
|
|
422
|
+
|
|
423
|
+
&:after,
|
|
424
|
+
&:before {
|
|
425
|
+
content: '';
|
|
426
|
+
animation: ${JB} 0.15s ease-out forwards;
|
|
427
|
+
animation-delay: 150ms;
|
|
428
|
+
position: absolute;
|
|
429
|
+
border-radius: 3px;
|
|
430
|
+
opacity: 0;
|
|
431
|
+
background: ${e=>e.secondary||"#fff"};
|
|
432
|
+
bottom: 9px;
|
|
433
|
+
left: 4px;
|
|
434
|
+
height: 2px;
|
|
435
|
+
width: 12px;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
&:before {
|
|
439
|
+
animation: ${eN} 0.15s ease-out forwards;
|
|
440
|
+
animation-delay: 180ms;
|
|
441
|
+
transform: rotate(90deg);
|
|
442
|
+
}
|
|
443
|
+
`,rN=Zr`
|
|
444
|
+
from {
|
|
445
|
+
transform: rotate(0deg);
|
|
446
|
+
}
|
|
447
|
+
to {
|
|
448
|
+
transform: rotate(360deg);
|
|
449
|
+
}
|
|
450
|
+
`,nN=Dn("div")`
|
|
451
|
+
width: 12px;
|
|
452
|
+
height: 12px;
|
|
453
|
+
box-sizing: border-box;
|
|
454
|
+
border: 2px solid;
|
|
455
|
+
border-radius: 100%;
|
|
456
|
+
border-color: ${e=>e.secondary||"#e0e0e0"};
|
|
457
|
+
border-right-color: ${e=>e.primary||"#616161"};
|
|
458
|
+
animation: ${rN} 1s linear infinite;
|
|
459
|
+
`,iN=Zr`
|
|
460
|
+
from {
|
|
461
|
+
transform: scale(0) rotate(45deg);
|
|
462
|
+
opacity: 0;
|
|
463
|
+
}
|
|
464
|
+
to {
|
|
465
|
+
transform: scale(1) rotate(45deg);
|
|
466
|
+
opacity: 1;
|
|
467
|
+
}`,oN=Zr`
|
|
468
|
+
0% {
|
|
469
|
+
height: 0;
|
|
470
|
+
width: 0;
|
|
471
|
+
opacity: 0;
|
|
472
|
+
}
|
|
473
|
+
40% {
|
|
474
|
+
height: 0;
|
|
475
|
+
width: 6px;
|
|
476
|
+
opacity: 1;
|
|
477
|
+
}
|
|
478
|
+
100% {
|
|
479
|
+
opacity: 1;
|
|
480
|
+
height: 10px;
|
|
481
|
+
}`,aN=Dn("div")`
|
|
482
|
+
width: 20px;
|
|
483
|
+
opacity: 0;
|
|
484
|
+
height: 20px;
|
|
485
|
+
border-radius: 10px;
|
|
486
|
+
background: ${e=>e.primary||"#61d345"};
|
|
487
|
+
position: relative;
|
|
488
|
+
transform: rotate(45deg);
|
|
489
|
+
|
|
490
|
+
animation: ${iN} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
491
|
+
forwards;
|
|
492
|
+
animation-delay: 100ms;
|
|
493
|
+
&:after {
|
|
494
|
+
content: '';
|
|
495
|
+
box-sizing: border-box;
|
|
496
|
+
animation: ${oN} 0.2s ease-out forwards;
|
|
497
|
+
opacity: 0;
|
|
498
|
+
animation-delay: 200ms;
|
|
499
|
+
position: absolute;
|
|
500
|
+
border-right: 2px solid;
|
|
501
|
+
border-bottom: 2px solid;
|
|
502
|
+
border-color: ${e=>e.secondary||"#fff"};
|
|
503
|
+
bottom: 6px;
|
|
504
|
+
left: 6px;
|
|
505
|
+
height: 10px;
|
|
506
|
+
width: 6px;
|
|
507
|
+
}
|
|
508
|
+
`,lN=Dn("div")`
|
|
509
|
+
position: absolute;
|
|
510
|
+
`,sN=Dn("div")`
|
|
511
|
+
position: relative;
|
|
512
|
+
display: flex;
|
|
513
|
+
justify-content: center;
|
|
514
|
+
align-items: center;
|
|
515
|
+
min-width: 20px;
|
|
516
|
+
min-height: 20px;
|
|
517
|
+
`,uN=Zr`
|
|
518
|
+
from {
|
|
519
|
+
transform: scale(0.6);
|
|
520
|
+
opacity: 0.4;
|
|
521
|
+
}
|
|
522
|
+
to {
|
|
523
|
+
transform: scale(1);
|
|
524
|
+
opacity: 1;
|
|
525
|
+
}`,cN=Dn("div")`
|
|
526
|
+
position: relative;
|
|
527
|
+
transform: scale(0.6);
|
|
528
|
+
opacity: 0.4;
|
|
529
|
+
min-width: 20px;
|
|
530
|
+
animation: ${uN} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
531
|
+
forwards;
|
|
532
|
+
`,dN=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?x.createElement(cN,null,t):t:r==="blank"?null:x.createElement(sN,null,x.createElement(nN,{...n}),r!=="loading"&&x.createElement(lN,null,r==="error"?x.createElement(tN,{...n}):x.createElement(aN,{...n})))},fN=e=>`
|
|
533
|
+
0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
|
|
534
|
+
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
535
|
+
`,pN=e=>`
|
|
536
|
+
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
537
|
+
100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
|
|
538
|
+
`,hN="0%{opacity:0;} 100%{opacity:1;}",vN="0%{opacity:1;} 100%{opacity:0;}",mN=Dn("div")`
|
|
539
|
+
display: flex;
|
|
540
|
+
align-items: center;
|
|
541
|
+
background: #fff;
|
|
542
|
+
color: #363636;
|
|
543
|
+
line-height: 1.3;
|
|
544
|
+
will-change: transform;
|
|
545
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
|
|
546
|
+
max-width: 350px;
|
|
547
|
+
pointer-events: auto;
|
|
548
|
+
padding: 8px 10px;
|
|
549
|
+
border-radius: 8px;
|
|
550
|
+
`,gN=Dn("div")`
|
|
551
|
+
display: flex;
|
|
552
|
+
justify-content: center;
|
|
553
|
+
margin: 4px 10px;
|
|
554
|
+
color: inherit;
|
|
555
|
+
flex: 1 1 auto;
|
|
556
|
+
white-space: pre-line;
|
|
557
|
+
`,yN=(e,t)=>{let r=e.includes("top")?1:-1,[n,i]=F6()?[hN,vN]:[fN(r),pN(r)];return{animation:t?`${Zr(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Zr(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},bN=x.memo(({toast:e,position:t,style:r,children:n})=>{let i=e.height?yN(e.position||t||"top-center",e.visible):{opacity:0},o=x.createElement(dN,{toast:e}),a=x.createElement(gN,{...e.ariaProps},Hc(e.message,e));return x.createElement(mN,{className:e.className,style:{...i,...r,...e.style}},typeof n=="function"?n({icon:o,message:a}):x.createElement(x.Fragment,null,o,a))});NB(x.createElement);var xN=({id:e,className:t,style:r,onHeightUpdate:n,children:i})=>{let o=x.useCallback(a=>{if(a){let l=()=>{let s=a.getBoundingClientRect().height;n(e,s)};l(),new MutationObserver(l).observe(a,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return x.createElement("div",{ref:o,className:t,style:r},i)},wN=(e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:F6()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...i}},CN=zc`
|
|
558
|
+
z-index: 9999;
|
|
559
|
+
> * {
|
|
560
|
+
pointer-events: auto;
|
|
561
|
+
}
|
|
562
|
+
`,Zc=16,SN=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:s}=XB(r);return x.createElement("div",{style:{position:"fixed",zIndex:9999,top:Zc,left:Zc,right:Zc,bottom:Zc,pointerEvents:"none",...o},className:a,onMouseEnter:s.startPause,onMouseLeave:s.endPause},l.map(u=>{let c=u.position||t,p=s.calculateOffset(u,{reverseOrder:e,gutter:n,defaultPosition:t}),f=wN(c,p);return x.createElement(xN,{id:u.id,key:u.id,onHeightUpdate:s.updateHeight,className:u.visible?CN:"",style:f},u.type==="custom"?Hc(u.message,u):i?i(u):x.createElement(bN,{toast:u,position:c}))}))};const D6=e=>{function t(n){var o,a;return(a=(o=n.match(/(\w+)/g))==null?void 0:o.length)!=null?a:0}let r=3e3;return e&&t(e)>5&&(r=6e3),r};function kN({message:e,state:t,show:r,m:n}){const i=A.useCallback(()=>{Et(o=>d(M6,{isFlash:!0,state:t,canDismiss:!0,onClick:()=>Et.dismiss(o.id),children:e}),{duration:D6(e),id:jh[t].id})},[e,t]);return A.useEffect(()=>{r&&i()},[r,i]),d(X,{children:d(SN,{toastOptions:{className:"toastContainer",style:{background:"transparent",boxShadow:"none"}}})})}const EN=({state:e,message:t})=>{const[r,n]=A.useState(!1);return A.useEffect(()=>{if(r){const o=setTimeout(()=>{n(!1)},D6(t));return()=>clearTimeout(o)}},[t,r]),{show:r,active:()=>{r||n(!0)},config:{state:e,message:t}}};function R6({showModal:e,typeAlert:t,title:r,description:n,optionsButton:i,top:o}){const[a]=w1("(min-width: 650px)"),l={content:{top:o}},s=i.length>1;return $(Ll,{id:"modal-alert",isOpen:e,onClose:()=>{},closeOnEsc:!1,closeOnOverlayClick:!1,size:a?"xl":"sm",isCentered:!1,children:[d(ih,{bg:"rgba(0, 0, 0, 0.5)",position:"fixed",top:"0",left:"0",right:"0",bottom:"0",zIndex:"998"}),$(nh,{zIndex:"999",sx:l.content,children:[$(X,{alignItems:"center",justifyContent:"center",textAlign:"center",py:"2rem",borderBottom:"1px solid #E6E6E6",children:[d(X,{display:"flex",justifyContent:"center",children:FB[t].icon}),d(oh,{py:"1rem",children:r}),d(ah,{py:"0.5rem",px:"2rem",children:n})]}),d(lh,{justifyContent:"center",padding:"0",children:i.map((u,c)=>d(X,{width:"99%",textAlign:"center",padding:"1rem",borderLeftWidth:s&&u.id===i[1].id?"1px":"0",borderLeftColor:"#E6E6E6",onClick:()=>u.action(),children:d(Il,{textDecorationLine:!1,fontSize:"1rem",children:u.label})},c))})]})]})}R6.displayName="ModalAlert";const V6=({color:e="white"})=>$(Ve,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M15 2.5H13V0.5H11V2.5H9V0.5H7V2.5H5V0.5H3V2.5H1C0.447 2.5 0 2.947 0 3.5V15.5C0 16.053 0.447 16.5 1 16.5H15C15.553 16.5 16 16.053 16 15.5V3.5C16 2.947 15.553 2.5 15 2.5ZM14 14.5H2V5.5H14V14.5Z",fill:e}),d("path",{d:"M6 7.5H4V9.5H6V7.5Z",fill:e}),d("path",{d:"M9 7.5H7V9.5H9V7.5Z",fill:e}),d("path",{d:"M6 10.5H4V12.5H6V10.5Z",fill:e}),d("path",{d:"M9 10.5H7V12.5H9V10.5Z",fill:e}),d("path",{d:"M12 7.5H10V9.5H12V7.5Z",fill:e}),d("path",{d:"M12 10.5H10V12.5H12V10.5Z",fill:e})]}),$6=({color:e="white"})=>d(Ve,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8.5C0 4.1 3.6 0.5 8 0.5C12.4 0.5 16 4.1 16 8.5C16 12.9 12.4 16.5 8 16.5C3.6 16.5 0 12.9 0 8.5ZM7 9.5H12V7.5H9V4.5H7V9.5Z",fill:e})}),_N=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l,isMobile:s})=>{const u={boxShadow:`0 2px 7px 0 ${D("colors-neutral-silverSand")}`};return d(bc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,w:"fit-content",h:"fit-content",transition:"box-shadow .3s",borderRadius:D("radii-big"),_active:u,_hover:u,_focus:u,children:d(To,{children:$(xl,{cursor:"pointer",w:"fit-content",display:s?"block":"flex",children:[d(X,{width:"285px",height:s?"140px":"168px",bgImage:`url(${a})`,backgroundSize:"cover",borderRadius:s?"8px 8px 0px 0px":"8px 0 0 8px"}),$(X,{width:s?"285px":"305px",minHeight:s?"160px":"168px",borderRadius:s?"0 0 8px 8px":"0 8px 8px 0",border:D("borders-light"),display:"flex",flexDirection:"column",cursor:"pointer",children:[$(X,{width:"inherit",height:"100%",padding:"16px",color:"#555555",gap:"16px",display:"grid",children:[d(it,{fontWeight:"700",m:"0px",p:"0px",children:t}),$(X,{display:"flex",alignItems:"center",gap:"4px",children:[d(V6,{color:D("colors-main-ziggurat")}),d(it,{fontWeight:"400",m:"0px",p:"0px",children:r}),d(it,{color:D("borders-light"),m:"0px",p:"0px",children:"|"}),d($6,{color:D("colors-main-ziggurat")}),d(it,{m:"0px",p:"0px",children:n})]})]}),d(X,{borderTop:`${D("borders-light")}`,width:"100%",height:"50px",padding:"12px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:D("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})]})})},e)},TN=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l})=>{const s={boxShadow:`0 2px 7px 0 ${D("colors-neutral-silverSand")}`};return d(bc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,transition:"box-shadow .3s",_active:s,_hover:s,_focus:s,width:"286px",height:"247px",borderRadius:D("radii-big"),children:d(To,{children:$(X,{width:"286px",height:"247px",borderRadius:D("radii-big"),border:D("borders-light"),justifyContent:"center",textAlign:"center",display:"flex",flexDirection:"column",cursor:"pointer",children:[d(X,{flex:"1",bgImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${a})`,backgroundSize:"cover",borderRadius:"8px 8px 0 0",margin:"0",display:"grid",alignItems:"flex-end",children:$(X,{color:D("colors-neutral-white"),padding:"16px",textAlign:"initial",fontFamily:"Roboto",fontSize:"16px",lineHeight:"21px",display:"grid",gap:"8px",children:[d(it,{fontWeight:"700",m:"0px",children:t}),$(X,{display:"flex",alignItems:"center",gap:"4px",children:[d(V6,{}),d(it,{fontWeight:"400",m:"0px",children:r}),d(it,{m:"0px",children:"|"}),d($6,{}),d(it,{m:"0px",children:n})]})]})}),d(X,{width:"100%",height:"50px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:D("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})})},e)},PN=({typeEvent:e,itemsEvent:t})=>e==="LARGE_EVENTS"?d(_N,{...t}):d(TN,{...t}),MN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3696)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.4375 50.3125L27.7812 47.9063H23.625L23.1875 50.3125H19.4688L23.625 37.8438H28.2188L32.375 50.3125H28.4375ZM27.125 45.2813L26.6875 43.3125C26.4688 42.875 26.4688 42.2188 26.25 41.5625C26.0313 40.9063 26.0313 40.25 25.8125 40.0312C25.8125 40.25 25.5938 40.9063 25.5938 41.5625C25.5938 42.2188 25.1563 43.5312 24.5 45.5H27.125V45.2813Z",fill:"white"}),d("path",{d:"M40.6875 37.8438H44.4062L40.25 50.3125H36.3125L32.1562 37.8438H35.875L37.625 44.1875C38.0625 45.5 38.0625 46.5938 38.2813 47.0313C38.2813 46.5938 38.5 46.1562 38.5 45.5C38.5 44.8438 38.7188 44.4063 38.7188 44.1875L40.6875 37.8438Z",fill:"white"}),d("path",{d:"M45.7188 50.3125V37.8438H49.2188V50.3125H45.7188Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},ON=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3654)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M25.1563 40.4688C24.2813 40.4688 23.625 40.9062 23.1875 41.5625C22.75 42.2188 22.5313 43.0938 22.5313 44.1875C22.5313 46.5938 23.4063 47.6875 25.375 47.6875C26.0313 47.6875 26.4688 47.6875 26.9063 47.4688C27.3438 47.25 28 47.0312 28.4375 46.8125V49.6563C27.3438 50.0938 26.25 50.3125 24.9375 50.3125C22.9687 50.3125 21.6562 49.875 20.5625 48.5625C19.4687 47.25 19.0312 45.9375 19.0312 43.75C19.0312 42.4375 19.25 41.3437 19.6875 40.25C20.125 39.1562 20.7813 38.5 21.875 38.0625C22.9688 37.625 23.8438 37.1875 25.1563 37.1875C26.4688 37.1875 27.7813 37.4062 29.0938 38.0625L28 40.6875C27.5625 40.4688 27.125 40.25 26.6875 40.25C26.25 40.25 25.5938 40.4688 25.1563 40.4688Z",fill:"white"}),d("path",{d:"M39.1562 46.5938C39.1562 47.4688 38.9375 48.125 38.5 48.5625C38.0625 49 37.625 49.6562 36.75 49.875C35.875 50.0938 35.2188 50.3125 34.125 50.3125C33.25 50.3125 32.5938 50.3125 31.9375 50.0938C31.2813 49.875 30.8438 49.875 30.1875 49.4375V46.375C30.8438 46.8125 31.5 47.0313 32.1562 47.25C32.8125 47.4688 33.4688 47.4688 34.125 47.4688C34.5625 47.4688 35 47.4688 35.2188 47.25C35.4375 47.0313 35.6562 46.8125 35.6562 46.5938C35.6562 46.375 35.6563 46.375 35.4375 46.1563C35.2188 45.9375 35.2187 46.1563 35 45.9375C34.7812 45.7188 34.3437 45.5 33.25 45.0625C32.375 44.625 31.7187 44.4063 31.5 43.9688C31.2812 43.5313 30.8437 43.3125 30.625 42.875C30.4062 42.4375 30.4062 42 30.4062 41.3438C30.4062 40.25 30.8437 39.375 31.7187 38.7188C32.5937 38.0625 33.6875 37.8438 35.2188 37.8438C36.5313 37.8438 37.8437 38.0625 39.1562 38.7188L38.0625 41.3438C36.9687 40.9063 35.875 40.4688 35 40.4688C34.5625 40.4688 34.3438 40.4688 34.125 40.6875C33.9063 40.9063 33.9062 41.125 33.9062 41.3438C33.9062 41.5625 34.125 41.7813 34.3437 42C34.5625 42.2188 35.2188 42.4375 36.3125 43.0938C37.4063 43.5313 38.0625 44.1875 38.5 44.625C38.9375 45.0625 39.1562 45.7188 39.1562 46.5938Z",fill:"white"}),d("path",{d:"M48.125 37.8438H51.8438L47.6875 50.3125H43.75L39.5938 37.8438H43.3125L45.0625 44.1875C45.5 45.5 45.5 46.5938 45.7187 47.0313C45.7187 46.5938 45.9375 46.1562 45.9375 45.5C45.9375 44.8438 46.1562 44.4063 46.1562 44.1875L48.125 37.8438Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},LN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3668)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M27.7812 43.75C27.7812 45.9375 27.125 47.4688 26.0312 48.5625C24.9375 49.6563 23.4062 50.3125 21.2187 50.3125H17.2812V37.8438H21.6562C23.625 37.8438 25.1562 38.2813 26.25 39.375C27.3438 40.4688 27.7812 41.7813 27.7812 43.75ZM24.2813 43.9688C24.2813 42.875 24.0625 42 23.625 41.3438C23.1875 40.6875 22.5312 40.4688 21.6562 40.4688H20.5625V47.4688H21.2187C22.3125 47.4688 22.9687 47.25 23.4062 46.5938C23.8437 45.9375 24.2813 45.0625 24.2813 43.9688Z",fill:"white"}),d("path",{d:"M41.7813 43.9688C41.7813 46.1562 41.3437 47.6875 40.25 48.7812C39.1562 49.875 37.625 50.5312 35.6562 50.5312C33.6875 50.5312 32.1562 49.875 31.0625 48.7812C29.9687 47.6875 29.5312 46.1562 29.5312 43.9688C29.5312 41.7812 29.9687 40.25 31.0625 39.1562C32.1562 38.0625 33.6875 37.4062 35.6562 37.4062C37.625 37.4062 39.1562 37.8437 40.25 38.9375C41.3437 40.0312 41.7813 42 41.7813 43.9688ZM33.25 43.9688C33.25 46.375 34.125 47.6875 35.875 47.6875C36.75 47.6875 37.4062 47.4687 37.8437 46.8125C38.2812 46.1562 38.5 45.2812 38.5 43.9688C38.5 42.6562 38.2812 41.7812 37.8437 41.125C37.4062 40.4687 36.75 40.25 35.875 40.25C34.125 40.4687 33.25 41.5625 33.25 43.9688Z",fill:"white"}),d("path",{d:"M49.6563 40.4688C48.7813 40.4688 48.125 40.9062 47.6875 41.5625C47.25 42.2188 47.0313 43.0938 47.0313 44.1875C47.0313 46.5938 47.9062 47.6875 49.875 47.6875C50.5312 47.6875 50.9688 47.6875 51.4063 47.4688C51.8438 47.25 52.5 47.0312 52.9375 46.8125V49.6563C51.8438 50.0938 50.75 50.3125 49.4375 50.3125C47.4688 50.3125 46.1563 49.875 45.0625 48.5625C43.9688 47.25 43.5312 45.9375 43.5312 43.75C43.5312 42.4375 43.75 41.3437 44.1875 40.25C44.625 39.1562 45.2813 38.5 46.375 38.0625C47.4688 37.625 48.3438 37.1875 49.6563 37.1875C50.9688 37.1875 52.2813 37.4062 53.5938 38.0625L52.5 41.125C52.0625 40.9062 51.625 40.6875 51.1875 40.6875C50.75 40.6875 50.0938 40.4688 49.6563 40.4688Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},AN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3752)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M21.6562 43.75C21.6562 45.9375 21 47.4688 19.9063 48.5625C18.8125 49.6563 17.0625 50.3125 15.0938 50.3125H10.9375V37.8438H15.3125C17.2812 37.8438 18.8125 38.2813 19.9063 39.375C21 40.4688 21.6562 41.7813 21.6562 43.75ZM18.1563 43.9688C18.1563 42.875 17.9375 42 17.5 41.3438C17.0625 40.6875 16.1875 40.4688 15.3125 40.4688H14.2188V47.4688H14.875C15.9688 47.4688 16.625 47.25 17.0625 46.5938C17.5 45.9375 18.1563 45.0625 18.1563 43.9688Z",fill:"white"}),d("path",{d:"M35.4375 43.9688C35.4375 46.1562 35 47.6875 33.9062 48.7812C32.8125 49.875 31.2812 50.5312 29.3125 50.5312C27.3437 50.5312 25.8125 49.875 24.7187 48.7812C23.625 47.6875 23.1875 46.1562 23.1875 43.9688C23.1875 41.7812 23.625 40.25 24.7187 39.1562C25.8125 38.0625 27.3437 37.4062 29.3125 37.4062C31.2812 37.4062 32.8125 37.8437 33.9062 38.9375C35 40.0312 35.4375 42 35.4375 43.9688ZM26.9062 43.9688C26.9062 46.375 27.7812 47.6875 29.5312 47.6875C30.4062 47.6875 31.0625 47.4687 31.5 46.8125C31.9375 46.1562 32.1562 45.2812 32.1562 43.9688C32.1562 42.6562 31.9375 41.7812 31.5 41.125C31.0625 40.4687 30.4062 40.25 29.5312 40.25C27.7812 40.4687 26.9062 41.5625 26.9062 43.9688Z",fill:"white"}),d("path",{d:"M43.3125 40.4687C42.4375 40.4687 41.7812 40.9062 41.3437 41.5625C40.9062 42.2187 40.6875 43.0938 40.6875 44.1875C40.6875 46.5938 41.5625 47.6875 43.5312 47.6875C44.1875 47.6875 44.625 47.6875 45.0625 47.4688C45.5 47.25 46.1562 47.0312 46.5937 46.8125V49.6562C45.5 50.0938 44.4063 50.3125 43.0938 50.3125C41.125 50.3125 39.8125 49.875 38.7188 48.5625C37.625 47.25 37.1875 46.1562 37.1875 44.1875C37.1875 42.875 37.4062 41.7812 37.8437 40.6875C38.2812 39.5937 38.9375 38.9375 40.0312 38.5C41.125 38.0625 42 37.625 43.3125 37.625C44.625 37.625 45.9375 37.8437 47.25 38.5L46.1563 41.125C45.7188 40.9062 45.2812 40.6875 44.8438 40.6875C44.4062 40.6875 43.75 40.4687 43.3125 40.4687Z",fill:"white"}),d("path",{d:"M60.375 50.3125H56.4375L54.0313 46.375L51.625 50.3125H47.9062L52.0625 43.9688L48.125 37.8438H51.8438L54.0313 41.7813L56.2188 37.8438H60.1563L56.2188 44.1875L60.375 50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},FN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3597)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M27.125 43.0938H32.5937V49.875C31.0625 50.3125 29.5312 50.5312 27.7812 50.5312C25.8125 50.5312 24.2812 49.875 23.4062 48.7812C22.5312 47.6875 21.875 46.1562 21.875 43.9688C21.875 42 22.5313 40.4687 23.625 39.1562C24.7188 37.8437 26.4688 37.4062 28.4375 37.4062C29.3125 37.4062 29.9688 37.4063 30.625 37.625C31.2812 37.8438 31.9375 38.0625 32.375 38.2812L31.2812 40.9063C30.4062 40.4688 29.3125 40.25 28.2187 40.25C27.125 40.25 26.4687 40.4687 26.0312 41.125C25.5937 41.7812 25.1562 42.6562 25.1562 43.9688C25.1562 45.0625 25.375 45.9375 25.8125 46.5937C26.25 47.25 26.9063 47.4688 28 47.4688C28.4375 47.4688 28.875 47.4688 29.3125 47.25V45.2813H27.125V43.0938Z",fill:"white"}),d("path",{d:"M35 50.3125V37.8438H38.5V50.3125H35Z",fill:"white"}),d("path",{d:"M44.4062 50.3125H41.125V37.8438H48.5625V40.4688H44.4062V42.875H48.125V45.5H44.4062V50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},IN=({type:e})=>{switch(e){case"avi":return d(MN,{});case"csv":return d(ON,{});case"doc":return d(LN,{});case"docx":return d(AN,{});case"gif":return d(FN,{});case"jpeg":return d(DN,{});case"jpg":return d(RN,{});case"png":return d(zN,{});case"pdf":return d(NN,{});case"ppt":return d(HN,{});case"pptx":return d(jN,{});case"xls":return d(UN,{});case"xlsx":return d(ZN,{});case"mp3":return d($N,{});case"wav":return d(WN,{});case"mp4":return d(BN,{});case"mkv":return d(VN,{});case"url":return d(GN,{});default:return null}},DN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3582)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M17.0625 54.25C16.4063 54.25 15.9688 54.25 15.3125 54.0313V51.4063C15.5312 51.4063 15.75 51.4063 15.9688 51.625C16.1875 51.8438 16.4063 51.625 16.625 51.625C17.2813 51.625 17.5 51.4063 17.7188 51.1875C17.9375 50.9688 18.1563 50.3125 18.1563 49.4375V37.8438H21.6562V49.2188C21.6562 50.9688 21.2187 52.2812 20.5625 53.1562C19.9062 54.0312 18.375 54.25 17.0625 54.25Z",fill:"white"}),d("path",{d:"M33.2502 41.7813C33.2502 43.0938 32.8127 44.1875 31.9377 45.0625C31.0627 45.9375 29.969 46.1563 28.4377 46.1563H27.5627V50.3125H24.2815V37.8438H28.6565C30.1877 37.8438 31.5002 38.2812 32.1565 38.9375C32.8127 39.5938 33.2502 40.4688 33.2502 41.7813ZM27.5627 43.3125H28.219C28.6565 43.3125 29.094 43.0938 29.5315 42.875C29.969 42.6563 29.969 42.2188 29.969 41.7813C29.969 40.9063 29.5315 40.4688 28.6565 40.4688H27.7815V43.3125H27.5627Z",fill:"white"}),d("path",{d:"M50.0937 43.0938H55.5625V49.875C54.0312 50.3125 52.5 50.5312 50.75 50.5312C48.7813 50.5312 47.25 49.875 46.375 48.7812C45.5 47.6875 44.8438 46.1562 44.8438 43.9688C44.8438 42 45.5 40.4687 46.5937 39.1562C47.6875 37.8437 49.4375 37.4062 51.4062 37.4062C52.2812 37.4062 52.9375 37.4063 53.5938 37.625C54.25 37.8438 54.9062 38.0625 55.3437 38.2812L54.25 40.9063C53.375 40.4688 52.2812 40.25 51.1875 40.25C50.0937 40.25 49.4375 40.4687 49 41.125C48.5625 41.7812 48.125 42.875 48.125 44.1875C48.125 45.2813 48.3437 46.1562 48.7812 46.8125C49.2187 47.4687 49.875 47.6875 50.9687 47.6875C51.4062 47.6875 51.8437 47.6875 52.2812 47.4688V45.5H50.0937V43.0938Z",fill:"white"}),d("path",{d:"M42.4375 50.3125H35V37.8438H42.4375V40.4688H38.5V42.4375H42.2187V45.0625H38.5V47.4688H42.4375V50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},RN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3525)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M20.3438 54.25C19.6875 54.25 19.25 54.25 18.5938 54.0313V51.4063C18.8125 51.4063 19.0313 51.4063 19.25 51.625C19.4688 51.8438 19.6875 51.625 19.9063 51.625C20.5625 51.625 20.7813 51.4063 21 51.1875C21.2188 50.9688 21.4375 50.3125 21.4375 49.4375V37.8438H24.9375V49.2188C24.9375 50.9688 24.5 52.2812 23.8437 53.1562C23.1875 54.0312 21.6563 54.25 20.3438 54.25Z",fill:"white"}),d("path",{d:"M36.5313 41.7813C36.5313 43.0938 36.0938 44.1875 35.2188 45.0625C34.3438 45.9375 33.25 46.1563 31.7187 46.1563H30.8438V50.3125H27.5625V37.8438H31.9375C33.4688 37.8438 34.7813 38.2812 35.4375 38.9375C36.0938 39.5937 36.5313 40.4688 36.5313 41.7813ZM30.8438 43.3125H31.5C31.9375 43.3125 32.375 43.0938 32.8125 42.875C33.25 42.6563 33.25 42.2188 33.25 41.7813C33.25 40.9063 32.8125 40.4688 31.9375 40.4688H31.0625V43.3125H30.8438Z",fill:"white"}),d("path",{d:"M43.5312 43.0938H49V49.875C47.4687 50.3125 45.9375 50.5312 44.1875 50.5312C42.2188 50.5312 40.6875 49.875 39.8125 48.7812C38.9375 47.6875 38.2812 46.1562 38.2812 43.9688C38.2812 42 38.9375 40.4687 40.0312 39.1562C41.125 37.8437 42.875 37.4062 44.8438 37.4062C45.7188 37.4062 46.375 37.4063 47.0312 37.625C47.6875 37.8438 48.3437 38.0625 48.7812 38.2812L47.6875 40.9063C46.8125 40.4688 45.7187 40.25 44.625 40.25C43.5312 40.25 42.875 40.4687 42.4375 41.125C42 41.7812 41.5625 42.875 41.5625 44.1875C41.5625 45.2813 41.7812 46.1562 42.2187 46.8125C42.6562 47.4687 43.3125 47.6875 44.4062 47.6875C44.8437 47.6875 45.2812 47.6875 45.7187 47.4688V45.5H43.5312V43.0938Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},VN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3710)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M21.2188 50.3125L18.5938 41.3438C18.8125 42.875 18.8125 43.9688 18.8125 44.8438V50.3125H15.75V37.8438H20.3438L22.9688 46.8125L25.5938 37.8438H30.1875V50.3125H27.125V44.8438C27.125 44.625 27.125 44.1875 27.125 43.9688C27.125 43.75 27.125 42.875 27.3438 41.3438L24.5 50.3125H21.2188Z",fill:"white"}),d("path",{d:"M43.3125 50.3125H39.5938L37.1875 45.5L36.0938 46.1563V50.3125H32.8125V37.8438H36.3125V43.3125C36.5313 42.875 36.75 42.4375 37.4063 41.7813L40.0312 37.8438H43.75L39.8125 43.5313L43.3125 50.3125Z",fill:"white"}),d("path",{d:"M51.8438 37.8438H55.5625L51.4063 50.3125H47.4688L43.3125 37.8438H47.0313L48.7812 44.1875C49.2188 45.5 49.2188 46.5938 49.4375 47.0313C49.4375 46.5938 49.6563 46.1562 49.6563 45.5C49.6563 44.8438 49.875 44.4063 49.875 44.1875L51.8438 37.8438Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},$N=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3724)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M22.75 50.3125L20.125 41.3438C20.3437 42.875 20.3438 43.9688 20.3438 44.8438V50.3125H17.2812V37.8438H21.875L24.5 46.8125L27.125 37.8438H31.7188V50.3125H28.4375V44.8438C28.4375 44.625 28.4375 44.1875 28.4375 43.9688C28.4375 43.75 28.4375 42.875 28.6563 41.3438L25.8125 50.3125H22.75Z",fill:"white"}),d("path",{d:"M43.3125 41.7813C43.3125 43.0938 42.875 44.1875 42 45.0625C41.125 45.9375 40.0313 46.1563 38.5 46.1563H37.625V50.3125H34.3438V37.8438H38.7188C40.25 37.8438 41.5625 38.2812 42.2187 38.9375C42.875 39.5938 43.3125 40.4688 43.3125 41.7813ZM37.625 43.3125H38.2813C38.7188 43.3125 39.1563 43.0938 39.5938 42.875C40.0313 42.6563 40.0312 42.2188 40.0312 41.7813C40.0312 40.9063 39.5938 40.4688 38.7188 40.4688H37.8437V43.3125H37.625Z",fill:"white"}),d("path",{d:"M52.9375 40.4688C52.9375 41.3438 52.7188 42 52.2813 42.4375C51.8438 42.875 51.1875 43.5312 50.3125 43.75C52.5 43.9688 53.375 45.0625 53.375 46.8125C53.375 47.9062 52.9375 48.7813 52.0625 49.6563C51.1875 50.5313 49.875 50.75 48.125 50.75C47.4688 50.75 46.8125 50.75 46.1563 50.5313C45.5 50.3125 45.0625 50.3125 44.4062 50.0937V47.25C44.8438 47.4688 45.5 47.6875 46.1563 47.9062C46.8125 48.125 47.25 48.125 47.6875 48.125C48.3438 48.125 49 48.125 49.2188 47.9062C49.4375 47.6875 49.6563 47.4688 49.6563 47.0312C49.6563 46.5938 49.6563 46.375 49.4375 46.1563C49.2188 45.9375 49 45.9375 48.5625 45.7187C48.125 45.5 47.6875 45.5 47.0313 45.5H46.1563V42.875H47.0313C48.7813 42.875 49.6563 42.4375 49.6563 41.5625C49.6563 41.125 49.4375 40.9063 49.2188 40.9063C49 40.9063 48.5625 40.6875 48.125 40.6875C47.25 40.6875 46.5938 40.9062 45.7188 41.5625L44.4062 39.375C45.0625 38.9375 45.7188 38.5 46.375 38.5C47.0313 38.5 47.9062 38.2812 48.7812 38.2812C50.0938 38.2812 51.1875 38.5 51.8438 39.1562C52.5 39.8125 52.9375 39.5938 52.9375 40.4688Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},BN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3682)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M22.75 50.3125L20.125 41.3438C20.3437 42.875 20.3438 43.9688 20.3438 44.8438V50.3125H17.2812V37.8438H21.875L24.5 46.8125L27.125 37.8438H31.7188V50.3125H28.4375V44.8438C28.4375 44.625 28.4375 44.1875 28.4375 43.9688C28.4375 43.75 28.4375 42.875 28.6563 41.3438L25.8125 50.3125H22.75Z",fill:"white"}),d("path",{d:"M43.3125 41.7813C43.3125 43.0938 42.875 44.1875 42 45.0625C41.125 45.9375 40.0313 46.1563 38.5 46.1563H37.625V50.3125H34.3438V37.8438H38.7188C40.25 37.8438 41.5625 38.2812 42.2187 38.9375C42.875 39.5938 43.3125 40.4688 43.3125 41.7813ZM37.625 43.3125H38.2813C38.7188 43.3125 39.1563 43.0938 39.5938 42.875C40.0313 42.6563 40.0312 42.2188 40.0312 41.7813C40.0312 40.9063 39.5938 40.4688 38.7188 40.4688H37.8437V43.3125H37.625Z",fill:"white"}),d("path",{d:"M53.8125 47.9063H52.5V50.3125H49.2187V47.9063H44.1875V45.5L49.4375 37.8438H52.5V45.5H53.8125V47.9063ZM49.2187 45.2813V43.75C49.2187 43.5313 49.2187 43.0938 49.2187 42.6563C49.2187 42.2188 49.2187 42 49.2187 42C49 42.4375 48.7812 42.875 48.5625 43.3125L47.25 45.2813H49.2187Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},NN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3625)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.7503 41.7923C28.7503 43.1879 28.3391 44.2664 27.5166 45.0276C26.6941 45.7889 25.5238 46.1673 24.0078 46.1673H23.0584V50.3126H19.6831V37.8198H24.0078C25.585 37.8198 26.7706 38.1633 27.5625 38.8545C28.3544 39.5458 28.7503 40.5214 28.7503 41.7923ZM23.0584 43.4176H23.6731C24.1806 43.4176 24.5831 43.2754 24.8828 42.9911C25.1825 42.7067 25.3312 42.313 25.3312 41.812C25.3312 40.9676 24.8653 40.5476 23.9291 40.5476H23.0584V43.4176Z",fill:"white"}),d("path",{d:"M41.3438 43.8005C41.3438 45.8851 40.7706 47.4929 39.6222 48.6195C38.4738 49.7461 36.8616 50.3126 34.7812 50.3126H30.7388V37.8198H35.0634C37.0694 37.8198 38.6181 38.3317 39.7075 39.3576C40.7969 40.3836 41.3438 41.8645 41.3438 43.8005ZM37.8416 43.9208C37.8416 42.7767 37.6141 41.9279 37.1613 41.3745C36.7084 40.8211 36.0216 40.5454 35.0984 40.5454H34.1162V47.5433H34.8687C35.8947 47.5433 36.645 47.2458 37.1241 46.6508C37.6031 46.0558 37.8416 45.1458 37.8416 43.9208Z",fill:"white"}),d("path",{d:"M46.9066 50.3126H43.5816V37.8198H50.9644V40.528H46.9066V42.9123H50.6494V45.6204H46.9066V50.3126Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},zN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3568)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M26.0312 41.7813C26.0312 43.0938 25.5938 44.1875 24.7188 45.0625C23.8438 45.9375 22.75 46.1563 21.2187 46.1563H20.3438V50.3125H17.0625V37.8438H21.4375C22.9688 37.8438 24.2812 38.2812 24.9375 38.9375C25.5937 39.5938 26.0312 40.4688 26.0312 41.7813ZM20.3438 43.3125H21C21.4375 43.3125 21.875 43.0938 22.3125 42.875C22.75 42.6563 22.75 42.2188 22.75 41.7813C22.75 40.9063 22.3125 40.4688 21.4375 40.4688H20.3438V43.3125Z",fill:"white"}),d("path",{d:"M40.0312 50.3125H35.6562L31.0625 41.5625C31.0625 42.875 31.2813 43.9688 31.2813 44.625V50.3125H28.2188V37.8438H32.5938L37.1875 46.5938C37.1875 45.2812 36.9688 44.4063 36.9688 43.5313V37.8438H40.0312V50.3125Z",fill:"white"}),d("path",{d:"M47.6875 43.0938H53.1562V49.875C51.625 50.3125 50.0938 50.5312 48.3438 50.5312C46.375 50.5312 44.8438 49.875 43.9688 48.7812C43.0938 47.6875 42.4375 46.1562 42.4375 43.9688C42.4375 42 43.0938 40.4687 44.1875 39.1562C45.2813 37.8437 47.0312 37.4062 49 37.4062C49.875 37.4062 50.5312 37.4063 51.1875 37.625C51.8438 37.8438 52.5 38.0625 52.9375 38.2812L51.8438 40.9063C50.9688 40.4688 49.875 40.25 48.7812 40.25C47.6875 40.25 47.0312 40.4687 46.5937 41.125C46.1562 41.7812 45.7188 42.6562 45.7188 43.9688C45.7188 45.0625 45.9375 45.9375 46.375 46.5937C46.8125 47.25 47.4688 47.4688 48.5625 47.4688C49 47.4688 49.4375 47.4688 49.875 47.25V45.2813H47.6875V43.0938Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},HN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3539)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.875 41.7813C28.875 43.0938 28.4375 44.1875 27.5625 45.0625C26.6875 45.9375 25.5938 46.1563 24.0625 46.1563H22.9688V50.3125H19.6875V37.8438H24.0625C25.5938 37.8438 26.9062 38.2812 27.5625 38.9375C28.2187 39.5938 28.875 40.4688 28.875 41.7813ZM22.9688 43.3125H23.625C24.0625 43.3125 24.5 43.0938 24.9375 42.875C25.375 42.6563 25.375 42.2188 25.375 41.7813C25.375 40.9063 24.9375 40.4688 24.0625 40.4688H22.9688V43.3125Z",fill:"white"}),d("path",{d:"M39.8122 41.7813C39.8122 43.0938 39.3747 44.1875 38.4997 45.0625C37.6247 45.9375 36.5309 46.1563 34.9997 46.1563H34.1247V50.3125H30.8434V37.8438H35.2184C36.7497 37.8438 38.0622 38.2812 38.7184 38.9375C39.3747 39.5938 39.8122 40.4688 39.8122 41.7813ZM34.1247 43.3125H34.7809C35.2184 43.3125 35.6559 43.0938 36.0934 42.875C36.5309 42.6563 36.5309 42.2188 36.5309 41.7813C36.5309 40.9063 36.0934 40.4688 35.2184 40.4688H34.3434V43.3125H34.1247Z",fill:"white"}),d("path",{d:"M47.2499 50.3125H43.9686V40.6875H40.9061V37.8438H50.3124V40.6875H47.2499V50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},jN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3553)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M22.9688 41.7813C22.9688 43.0938 22.5312 44.1875 21.6562 45.0625C20.7812 45.9375 19.6875 46.1563 18.1562 46.1563H17.0625V50.3125H13.7812V37.8438H18.1562C19.6875 37.8438 21 38.2812 21.6562 38.9375C22.3125 39.5938 22.9688 40.4688 22.9688 41.7813ZM17.0625 43.3125H17.7188C18.1563 43.3125 18.5937 43.0938 19.0312 42.875C19.4687 42.6563 19.4687 42.2188 19.4687 41.7813C19.4687 40.9063 19.0312 40.4688 18.1562 40.4688H17.0625V43.3125Z",fill:"white"}),d("path",{d:"M33.9063 41.7813C33.9063 43.0938 33.4688 44.1875 32.5938 45.0625C31.7188 45.9375 30.625 46.1563 29.0938 46.1563H28.2188V50.3125H24.9375V37.8438H29.3125C30.8438 37.8438 32.1563 38.2812 32.8125 38.9375C33.4688 39.5938 33.9063 40.4688 33.9063 41.7813ZM28.2188 43.3125H28.875C29.3125 43.3125 29.75 43.0938 30.1875 42.875C30.625 42.6563 30.625 42.2188 30.625 41.7813C30.625 40.9063 30.1875 40.4688 29.3125 40.4688H28.4375V43.3125H28.2188Z",fill:"white"}),d("path",{d:"M41.3437 50.3125H38.0625V40.6875H35V37.8438H44.4062V40.6875H41.3437V50.3125Z",fill:"white"}),d("path",{d:"M57.5312 50.3125H53.5937L51.1875 46.375L48.7812 50.3125H45.0625L49.2187 43.9688L45.2813 37.8438H49L51.1875 41.7813L53.375 37.8438H57.3125L53.375 44.1875L57.5312 50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},WN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3738)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.2187 50.3125H24.2812L23.1875 44.8438C23.1875 44.625 22.9688 44.1875 22.9688 43.5313C22.9688 42.875 22.75 42.2188 22.75 41.7813C22.75 42.2188 22.5312 42.6563 22.5312 43.0938C22.5312 43.5313 22.3125 44.1875 22.3125 44.625C22.3125 45.0625 21.6562 47.0313 20.7812 50.3125H16.8437L13.7812 37.8438H17.0625L18.375 44.1875C18.5937 45.5 18.8125 46.5938 19.0312 47.4688C19.0312 46.8125 19.25 46.1563 19.4687 45.0625C19.6875 43.9688 19.9063 43.3125 19.9063 42.6563L21 37.8438H24.0625L25.1562 42.6563C25.375 43.3125 25.5938 44.1875 25.8125 45.2813C26.0312 46.375 26.0312 47.0313 26.25 47.4688C26.25 46.8125 26.4688 45.7188 26.9062 44.1875L28.2187 37.8438H31.5L28.2187 50.3125Z",fill:"white"}),d("path",{d:"M40.6875 50.3125L40.0312 47.9063H35.875L35.4375 50.3125H31.7188L35.875 37.8438H40.4688L44.625 50.3125H40.6875ZM39.375 45.2813L38.9375 43.3125C38.7187 42.875 38.7188 42.2188 38.5 41.5625C38.2813 40.9063 38.2812 40.25 38.0625 40.0312C38.0625 40.25 37.8437 40.9063 37.8437 41.5625C37.8437 42.2188 37.4062 43.5312 36.75 45.5H39.375V45.2813Z",fill:"white"}),d("path",{d:"M52.7188 37.8438H56.4375L52.5 50.3125H48.5625L44.4062 37.8438H48.125L49.875 44.1875C50.3125 45.5 50.3125 46.5938 50.5313 47.0313C50.5313 46.5938 50.75 46.1562 50.75 45.5C50.75 44.8438 50.9688 44.4063 50.9688 44.1875L52.7188 37.8438Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},UN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3611)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M32.1563 50.3125H28.4375L26.0312 46.375L23.4063 50.3125H19.6875L23.8438 43.9688L19.9062 37.8438H23.625L25.8125 41.7813L28 37.8438H31.9375L28 44.1875L32.1563 50.3125Z",fill:"white"}),d("path",{d:"M33.6873 50.3125V37.8438H36.9685V47.6875H41.781V50.3125H33.6873Z",fill:"white"}),d("path",{d:"M52.0624 46.5937C52.0624 47.4687 51.8436 48.125 51.4061 48.5625C50.9686 49 50.5311 49.6562 49.6561 49.875C48.7811 50.0937 48.1249 50.3125 47.0311 50.3125C46.1561 50.3125 45.4999 50.3125 44.8436 50.0937C44.1874 49.875 43.7499 49.875 43.0936 49.4375V46.375C43.7499 46.8125 44.4061 47.0312 45.0624 47.25C45.7186 47.4687 46.3749 47.4688 47.0311 47.4688C47.4686 47.4688 47.9061 47.4687 48.1249 47.25C48.3436 47.0312 48.5624 46.8125 48.5624 46.5937C48.5624 46.375 48.5624 46.375 48.3436 46.1562C48.1249 45.9375 48.1249 45.9375 47.9061 45.7187C47.6874 45.5 47.2499 45.2812 46.1561 44.8437C45.2811 44.4062 44.6249 44.1875 44.4061 43.75C44.1874 43.3125 43.7499 43.0937 43.5311 42.6562C43.3124 42.2187 43.3124 41.7812 43.3124 41.125C43.3124 40.0312 43.7499 39.1562 44.6249 38.5C45.4999 37.8437 46.5936 37.625 48.1249 37.625C49.4374 37.625 50.7499 37.8437 52.0624 38.5L50.9686 41.125C49.8749 40.6875 48.7811 40.25 47.9061 40.25C47.4686 40.25 47.2499 40.25 47.0311 40.4687C46.8124 40.6875 46.8124 40.9062 46.8124 41.125C46.8124 41.3437 47.0311 41.5625 47.2499 41.7812C47.4686 42 48.1249 42.2187 49.2186 42.875C50.3124 43.3125 50.9686 43.9687 51.4061 44.4062C51.8436 44.8437 52.0624 45.7187 52.0624 46.5937Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},ZN=()=>{const e=`clip${Ne()}`;return $(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3171_3639)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M24.7188 50.3125H21L18.5938 46.375L15.9688 50.3125H12.25L16.4062 43.9688L12.4687 37.8438H16.1875L18.375 41.7813L20.5625 37.8438H24.5L20.5625 44.1875L24.7188 50.3125Z",fill:"white"}),d("path",{d:"M26.25 50.3125V37.8438H29.5312V47.6875H34.3438V50.3125H26.25Z",fill:"white"}),d("path",{d:"M44.625 46.5937C44.625 47.4687 44.4063 48.125 43.9688 48.5625C43.5313 49 43.0938 49.6562 42.2188 49.875C41.3438 50.0937 40.6875 50.3125 39.5938 50.3125C38.7188 50.3125 38.0625 50.3125 37.4063 50.0937C36.75 49.875 36.3125 49.875 35.6562 49.4375V46.375C36.3125 46.8125 36.9688 47.0312 37.625 47.25C38.2813 47.4687 38.9375 47.4688 39.5938 47.4688C40.0313 47.4688 40.4688 47.4687 40.6875 47.25C40.9063 47.0312 41.125 46.8125 41.125 46.5937C41.125 46.375 41.125 46.375 40.9063 46.1562C40.6875 45.9375 40.6875 45.9375 40.4688 45.7187C40.25 45.5 39.8125 45.2812 38.7188 44.8437C37.8438 44.4062 37.1875 44.1875 36.9688 43.75C36.75 43.3125 36.3125 43.0937 36.0938 42.6562C35.875 42.2187 35.875 41.7812 35.875 41.125C35.875 40.0312 36.3125 39.1562 37.1875 38.5C38.0625 37.8437 39.1563 37.625 40.6875 37.625C42 37.625 43.3125 37.8437 44.625 38.5L43.5313 41.125C42.4375 40.6875 41.3438 40.25 40.4688 40.25C40.0313 40.25 39.8125 40.25 39.5938 40.4687C39.375 40.6875 39.375 40.9062 39.375 41.125C39.375 41.3437 39.5938 41.5625 39.8125 41.7812C40.0313 42 40.6875 42.2187 41.7813 42.875C42.875 43.3125 43.5313 43.9687 43.9688 44.4062C44.4063 44.8437 44.625 45.7187 44.625 46.5937Z",fill:"white"}),d("path",{d:"M57.75 50.3125H53.8125L51.4062 46.375L49 50.3125H45.2812L49.4375 43.9688L45.5 37.8438H49.2187L51.4062 41.7813L53.5937 37.8438H57.5312L53.5937 44.1875L57.75 50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},GN=()=>$(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M38.5416 22.1768L33.6394 27.0768C33.5081 27.2102 33.4206 27.3611 33.2938 27.4989C35.6231 27.8201 37.785 28.8895 39.4537 30.5461C41.5013 32.5997 42.6511 35.3812 42.6511 38.2811C42.6511 41.181 41.5013 43.9626 39.4537 46.0161L27.4225 58.0474C25.3711 60.0988 22.5887 61.2513 19.6875 61.2513C16.7863 61.2513 14.004 60.0988 11.9525 58.0474C9.90105 55.9959 8.74856 53.2136 8.74856 50.3124C8.74856 47.4112 9.90105 44.6288 11.9525 42.5774L17.1697 37.3602C16.4134 34.4991 16.2423 31.5149 16.6666 28.5861L7.31281 37.9377C4.03084 41.2197 2.18705 45.671 2.18705 50.3124C2.18705 54.9538 4.03084 59.4051 7.31281 62.6871C10.5948 65.969 15.0461 67.8128 19.6875 67.8128C24.3289 67.8128 28.7802 65.969 32.0622 62.6871L44.0934 50.6558C46.1231 48.6313 47.6235 46.1386 48.4627 43.3975C49.3018 40.6563 49.4538 37.7508 48.9052 34.9371C48.3567 32.1233 47.1245 29.4877 45.3172 27.2625C43.5099 25.0372 41.183 23.2907 38.5416 22.1768Z",fill:"white"}),d("path",{d:"M37.9378 7.31274L25.9066 19.344C23.8769 21.3685 22.3765 23.8612 21.5373 26.6023C20.6982 29.3435 20.5462 32.249 21.0948 35.0627C21.6433 37.8765 22.8755 40.5121 24.6828 42.7373C26.4901 44.9626 28.817 46.7091 31.4584 47.8231L36.3606 42.9231C36.4919 42.7896 36.5947 42.6409 36.715 42.5009C34.3823 42.1823 32.2168 41.1127 30.5462 39.4537C28.4987 37.4001 27.3489 34.6186 27.3489 31.7187C27.3489 28.8188 28.4987 26.0372 30.5462 23.9837L42.5775 11.9524C44.629 9.90098 47.4113 8.74848 50.3125 8.74848C51.749 8.74848 53.1715 9.03143 54.4987 9.58116C55.8258 10.1309 57.0317 10.9367 58.0475 11.9524C59.0633 12.9682 59.869 14.1741 60.4188 15.5013C60.9685 16.8284 61.2514 18.2509 61.2514 19.6874C61.2514 21.1239 60.9685 22.5464 60.4188 23.8736C59.869 25.2008 59.0633 26.4067 58.0475 27.4224L52.8347 32.6331C53.5939 35.4851 53.7732 38.4605 53.3619 41.3831L62.6872 32.0577C65.9081 28.7633 67.6999 24.3316 67.6737 19.7243C67.6476 15.117 65.8055 10.7059 62.5473 7.44827C59.2891 4.19066 54.8777 2.34937 50.2704 2.324C45.6631 2.29862 41.2317 4.09121 37.9378 7.31274Z",fill:"white"})]}),YN=({colorFill:e})=>{const t=`clip${Ne()}`;return $("svg",{width:"285",height:"139",viewBox:"0 0 285 139",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[$("g",{clipPath:"url(#clip0_3257_1585)",children:[d("rect",{width:"285",height:"139",fill:e}),d("path",{opacity:"0.2",d:"M335.794 126.97C335.598 127.095 335.394 127.206 335.178 127.304C332.361 128.577 328.837 127.078 327.309 123.953C314.975 98.7512 292.415 78.0666 269.833 71.2542C260.582 68.4618 247.36 66.9169 236.854 75.3544C223.824 85.8458 226.087 115.23 228.082 141.156C229.969 165.653 231.608 186.993 220.594 193.985C219.953 194.391 219.273 194.748 218.543 195.056C206.274 200.23 182.57 192.261 107.538 83.7917C105.555 80.9251 105.989 77.1581 108.508 75.3735C111.028 73.5889 114.677 74.4684 116.658 77.3319C146.815 120.925 171.063 151.682 188.736 168.743C205.61 185.033 211.76 184.259 213.242 183.634C219.603 180.949 217.96 159.621 216.514 140.804C214.296 112.002 211.783 79.3557 229.191 65.3468C240.074 56.572 255.237 54.5108 271.865 59.5262C297.79 67.3495 323.558 90.825 337.51 119.333C338.918 122.219 338.137 125.484 335.794 126.97Z",fill:"white"}),d("path",{opacity:"0.2",d:"M225.02 31.4635C227.693 30.696 230.537 30.772 233.152 31.6809L240.58 34.2811C241.227 34.5043 241.931 34.5167 242.59 34.3165C243.248 34.1164 243.826 33.7141 244.239 33.1683L248.388 27.6392C250.11 25.3689 252.516 23.6958 255.256 22.8636C257.996 22.0314 260.926 22.0836 263.621 23.0126L271.049 25.6128C271.696 25.836 272.401 25.8484 273.059 25.6483C273.717 25.4481 274.295 25.0458 274.709 24.5001L278.858 18.971C280.579 16.7006 282.985 15.0275 285.725 14.1953C288.465 13.3631 291.396 13.4154 294.091 14.3444L301.518 16.9445C302.165 17.1677 302.869 17.1801 303.527 16.9801C304.185 16.78 304.763 16.3779 305.176 15.8324L309.327 10.3027C311.048 8.03236 313.454 6.35924 316.194 5.52706C318.934 4.69488 321.865 4.7471 324.56 5.67612L331.987 8.27626C332.607 8.49344 333.177 8.82977 333.663 9.26594C334.15 9.70212 334.544 10.2296 334.823 10.8181C335.102 11.4066 335.26 12.0445 335.288 12.6953C335.317 13.3461 335.215 13.997 334.988 14.6107C334.524 15.8536 333.583 16.8685 332.37 17.4338C331.157 17.9992 329.771 18.0694 328.513 17.6289L321.086 15.0287C320.438 14.8073 319.734 14.7964 319.076 14.9976C318.418 15.1988 317.841 15.6017 317.428 16.1477L313.28 21.6788C311.557 23.9484 309.151 25.6209 306.412 26.453C303.672 27.2851 300.741 27.2334 298.047 26.3054L290.619 23.7053C289.97 23.4807 289.264 23.4676 288.604 23.6678C287.944 23.8681 287.365 24.2712 286.95 24.8183L282.802 30.3495C281.08 32.619 278.674 34.2915 275.934 35.1236C273.194 35.9558 270.264 35.9041 267.569 34.9761L260.142 32.3759C259.494 32.153 258.79 32.1406 258.132 32.3403C257.473 32.5401 256.895 32.9416 256.481 33.4866L252.333 39.0178C250.611 41.2873 248.205 42.9598 245.465 43.7919C242.725 44.624 239.795 44.5723 237.1 43.6443L229.674 41.0347C229.027 40.8118 228.323 40.7994 227.664 40.9991C227.006 41.1988 226.428 41.6004 226.014 42.1454L221.865 47.6766C221.065 48.7411 219.875 49.4534 218.552 49.6583C217.23 49.8633 215.883 49.5443 214.804 48.7709C214.274 48.387 213.826 47.9029 213.487 47.3463C213.148 46.7896 212.924 46.1715 212.827 45.5273C212.731 44.883 212.765 44.2254 212.926 43.5922C213.088 42.959 213.374 42.3625 213.768 41.8372L217.919 36.3075C219.685 33.9659 222.182 32.2626 225.02 31.4635Z",fill:"white"}),d("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M62.5 167.961C78.771 167.961 91.9612 154.771 91.9612 138.5C91.9612 122.229 78.771 109.039 62.5 109.039C46.229 109.039 33.0388 122.229 33.0388 138.5C33.0388 154.771 46.229 167.961 62.5 167.961ZM62.5 183C87.0767 183 107 163.077 107 138.5C107 113.923 87.0767 94 62.5 94C37.9233 94 18 113.923 18 138.5C18 163.077 37.9233 183 62.5 183Z",fill:"white"}),d("path",{opacity:"0.2",d:"M-59.9428 95.7098C-60.6472 95.4213 -61.3193 95.0119 -61.9264 94.4852C-64.9185 91.8878 -65.2379 87.3663 -62.6372 84.3909L50.6575 -45.219L66.0579 59.2779L174.017 18.8183C177.728 17.4303 181.869 19.3013 183.276 22.9985C184.677 26.6991 182.807 30.8245 179.1 32.2138L54.4444 78.9283L40.9914 -12.3506L-51.7958 93.7987C-53.8693 96.1704 -57.1693 96.847 -59.9428 95.7098Z",fill:"white"})]}),d("defs",{children:d("clipPath",{id:t,children:d("rect",{width:"285",height:"139",fill:"white"})})})]})},KN=({id:e,resourceType:t,resourceTitle:r,resourceDetail:n,resourceTextDownload:i,resourceLink:o,targetBlank:a})=>{const l={boxShadow:`0 2px 7px 0 ${D("colors-neutral-silverSand")}`},s=()=>({jpeg:"#FFBC27",jpg:"#FFBC27",png:"#FFBC27",gif:"#FFBC27",ppt:"#FF7A14",pptx:"#FF7A14",doc:"#0189FF",docx:"#0189FF",csv:"#28A745",xls:"#28A745",xlsx:"#28A745",pdf:"#CC0000",mp4:"#56CCF2",avi:"#56CCF2",mkv:"#56CCF2",mp3:"#9B51E0",wav:"#9B51E0",url:"#1E2DFF"})[t]||"#FFBC27";return d(bc,{href:o,target:a?"_blank":"_self",rel:a?"noopener noreferrer":void 0,transition:"box-shadow 0.3s",_active:l,_hover:l,_focus:l,cursor:"pointer",borderRadius:D("radii-big"),border:D("borders-light"),overflow:"hidden",children:$(To,{children:[$(X,{width:"285px",height:"139px",justifyContent:"center",textAlign:"center",alignItems:"center",display:"grid",padding:"1rem",children:[d(IN,{type:t}),d(X,{position:"absolute",width:"100%",height:"100%",zIndex:"-1",top:"0px",left:"0px",opacity:"0.8",children:d(YN,{colorFill:s()})})]}),$(X,{width:"285px",height:"auto",justifyContent:"center",textAlign:"center",display:"grid",gap:"8px",padding:"1rem",children:[d(X,{children:d(it,{fontFamily:"Roboto",fontWeight:"700",lineHeight:"21px",fontSize:"16px",color:"#555555",m:"0px",children:r})}),d(X,{children:d(it,{fontFamily:"Roboto",fontWeight:"400",lineHeight:"14px",fontSize:"12px",color:"#555555",m:"0px",children:n})}),d(X,{display:"flex",alignItems:"center",justifyContent:"center",children:$(it,{fontFamily:"Roboto",fontWeight:"500",fontSize:"14px",lineHeight:"16px",color:D("colors-neutral-gray"),textDecoration:"underline",gap:"8px",display:"flex",m:"0px",children:[t==="url"?d(Vh,{color:D("colors-main-deepSkyBlue")}):d($c,{color:D("colors-main-deepSkyBlue")}),i]})})]})]})})},B6=6e4,N6=36e5,z6=Symbol.for("constructDateFrom");function Gc(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&z6 in e?e[z6](t):e instanceof Date?new e.constructor(t):new Date(t)}function Po(e,t){return Gc(t||e,e)}function qN(e,t,r){const n=Po(e,r==null?void 0:r.in);return isNaN(t)?Gc((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function XN(e,...t){const r=Gc.bind(null,e||t.find(n=>typeof n=="object"));return t.map(r)}function Gh(e,t){const r=Po(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function H6(e,t,r){const[n,i]=XN(r==null?void 0:r.in,e,t);return+Gh(n)==+Gh(i)}function QN(e,t){return+Po(e)>+Po(t)}function j6(e,t){var u;const r=()=>Gc(t==null?void 0:t.in,NaN),n=(u=t==null?void 0:t.additionalDigits)!=null?u:2,i=rz(e);let o;if(i.date){const c=nz(i.date,n);o=iz(c.restDateString,c.year)}if(!o||isNaN(+o))return r();const a=+o;let l=0,s;if(i.time&&(l=oz(i.time),isNaN(l)))return r();if(i.timezone){if(s=az(i.timezone),isNaN(s))return r()}else{const c=new Date(a+l),p=Po(0,t==null?void 0:t.in);return p.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),p.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),p}return Po(a+l+s,t==null?void 0:t.in)}const Yc={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},JN=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ez=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,tz=/^([+-])(\d{2})(?::?(\d{2}))?$/;function rz(e){const t={},r=e.split(Yc.dateTimeDelimiter);let n;if(r.length>2)return t;if(/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],Yc.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Yc.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length))),n){const i=Yc.timezone.exec(n);i?(t.time=n.replace(i[1],""),t.timezone=i[1]):t.time=n}return t}function nz(e,t){const r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};const i=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((n[1]||n[2]).length)}}function iz(e,t){if(t===null)return new Date(NaN);const r=e.match(JN);if(!r)return new Date(NaN);const n=!!r[4],i=Vl(r[1]),o=Vl(r[2])-1,a=Vl(r[3]),l=Vl(r[4]),s=Vl(r[5])-1;if(n)return dz(t,l,s)?lz(t,l,s):new Date(NaN);{const u=new Date(0);return!uz(t,o,a)||!cz(t,i)?new Date(NaN):(u.setUTCFullYear(t,o,Math.max(i,a)),u)}}function Vl(e){return e?parseInt(e):1}function oz(e){const t=e.match(ez);if(!t)return NaN;const r=Yh(t[1]),n=Yh(t[2]),i=Yh(t[3]);return fz(r,n,i)?r*N6+n*B6+i*1e3:NaN}function Yh(e){return e&&parseFloat(e.replace(",","."))||0}function az(e){if(e==="Z")return 0;const t=e.match(tz);if(!t)return 0;const r=t[1]==="+"?-1:1,n=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return pz(n,i)?r*(n*N6+i*B6):NaN}function lz(e,t,r){const n=new Date(0);n.setUTCFullYear(e,0,4);const i=n.getUTCDay()||7,o=(t-1)*7+r+1-i;return n.setUTCDate(n.getUTCDate()+o),n}const sz=[31,null,31,30,31,30,31,31,30,31,30,31];function W6(e){return e%400===0||e%4===0&&e%100!==0}function uz(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(sz[t]||(W6(e)?29:28))}function cz(e,t){return t>=1&&t<=(W6(e)?366:365)}function dz(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}function fz(e,t,r){return e===24?t===0&&r===0:r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}function pz(e,t){return t>=0&&t<=59}const U6="todayEvents",Kh="seenEvents",Z6="hasNewEvents",hz=(e,t)=>{const[r,n]=A.useState([]),[i,o]=A.useState([]),[a,l]=A.useState([]),[s,u]=A.useState(!1);return A.useEffect(()=>{var _,E;const f=j6(t),h=Gh(f),m=qN(h,1),y=JSON.parse((_=localStorage.getItem(U6))!=null?_:"[]"),v=JSON.parse((E=localStorage.getItem(Kh))!=null?E:"[]");let g=!1;const b=[],w=[],C=[];e.forEach(M=>{const O=j6(M.start);if(H6(O,h)){const V=v.includes(M.id);V||(g=!0,y.includes(M.id)||y.push(M.id)),b.push({...M,isNew:!V})}else H6(O,m)?w.push(M):QN(O,h)&&C.push(M)}),n(b),o(w);let k=[...C];C.length>5&&(k=k.slice(0,5)),l(k),u(g),localStorage.setItem(U6,JSON.stringify(y)),localStorage.setItem(Z6,JSON.stringify(g))},[e,t]),{today:r,tomorrow:i,next:a,hasNew:s,closeAndMarkSeen:()=>{var m;const f=JSON.parse((m=localStorage.getItem(Kh))!=null?m:"[]"),h=Array.from(new Set([...f,...r.map(y=>y.id)]));localStorage.setItem(Kh,JSON.stringify(h)),localStorage.setItem(Z6,JSON.stringify(!1)),setTimeout(()=>{n(r.map(y=>({...y,isNew:!1})))},300),u(!1)},empty:!1}},vz=()=>$("svg",{width:"16px",height:"16px",fill:"none",children:[d("path",{fill:"#fff",d:"M15 2h-2V0h-2v2H9V0H7v2H5V0H3v2H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1Zm-1 12H2V5h12v9Z"}),d("path",{fill:"#fff",d:"M6 7H4v2h2V7ZM9 7H7v2h2V7ZM6 10H4v2h2v-2ZM9 10H7v2h2v-2ZM12 7h-2v2h2V7ZM12 10h-2v2h2v-2Z"})]}),G6=()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8px",height:"9px",fill:"none",className:"notification",children:d("circle",{cx:"4px",cy:"4.5px",r:"4px",fill:"#FF7A14"})}),mz=({hasNew:e,text:t,tooltipDisabled:r})=>{var n;return d(y6,{label:t!=null?t:"Calendario",m:"2px 0 0 0",isDisabled:r,children:$(BR,{background:(n=D("colors-main-blueGrey"))!=null?n:"#60798E",border:"1px solid transparent",borderRadius:"100%",height:"30px",width:"30px",position:"relative",sx:{">span":{lineHeight:"0",justifyItems:"center",alignContent:"center"},".notification":{position:"absolute",top:"-1px",right:"-1px"}},children:[d(vz,{}),e&&d(G6,{})]})})},gz=({text:e,isMobile:t})=>{var r,n,i;return $(Ir,{children:[d(X,{as:"header",bg:(r=D("colors-neutral-davysGrey"))!=null?r:"#5C5C5C",borderRadius:t?"none":"10px 10px 0 0",color:(n=D("colors-neutral-white"))!=null?n:"#FFFFFF",fontSize:"14px",fontWeight:"500",lineHeight:"normal",padding:"16px",position:"absolute",width:t?"100vw":"100%",top:0,zIndex:"1",children:e!=null?e:"Pr\xF3ximas fechas importantes de tus cursos"}),d(X,{className:"arrow","aria-hidden":!0,borderBottom:(i=`12px solid ${D("colors-neutral-davysGrey")}`)!=null?i:"12px solid #5C5C5C",borderLeft:"14px solid transparent",borderRight:"14px solid transparent",display:t?"none":"block",height:"0",position:"fixed",right:t?"71px":"-437px",top:t?"54px":"-9px",width:"0"})]})},yz=()=>$("svg",{width:"197px",height:"197px",fill:"none",children:[$("g",{clipPath:"url(#a)",children:[d("path",{fill:"#F4F4F4",d:"M98.5 197c54.4 0 98.5-44.1 98.5-98.5S152.9 0 98.5 0 0 44.1 0 98.5 44.1 197 98.5 197Z"}),d("rect",{width:"74px",height:"29px",x:"106px",y:"12px",fill:"#FF554D",rx:"5px"}),d("rect",{width:"40px",height:"6px",x:"125px",y:"24px",fill:"#08044F",rx:"3px"}),d("rect",{width:"6px",height:"6px",x:"114px",y:"24px",fill:"#08044F",rx:"3px"}),d("rect",{width:"106px",height:"29px",x:"11px",y:"159px",fill:"#1EBDAF",rx:"5px"}),d("rect",{width:"67px",height:"6px",x:"21px",y:"170px",fill:"#08044F",rx:"3px"}),d("rect",{width:"6px",height:"6px",x:"99px",y:"170px",fill:"#08044F",rx:"3px"}),d("rect",{width:"123px",height:"82px",x:"37px",y:"66px",fill:"#0189FF",rx:"5px"}),d("rect",{width:"16px",height:"6px",x:"131px",y:"93px",fill:"#F4F4F4",rx:"3px"}),d("rect",{width:"16px",height:"6px",x:"131px",y:"110px",fill:"#F4F4F4",rx:"3px"}),d("path",{stroke:"#FFBC27",strokeLinecap:"round",strokeWidth:"13px",d:"M68.5 56.5v19M132.5 56.5v19"}),d("rect",{width:"16px",height:"6px",x:"50px",y:"93px",fill:"#F4F4F4",rx:"3px"}),d("rect",{width:"16px",height:"6px",x:"50px",y:"110px",fill:"#F4F4F4",rx:"3px"}),d("rect",{width:"16px",height:"6px",x:"50px",y:"127px",fill:"#F4F4F4",rx:"3px"}),d("rect",{width:"16px",height:"6px",x:"77px",y:"93px",fill:"#F4F4F4",rx:"3px"}),d("rect",{width:"16px",height:"6px",x:"104px",y:"93px",fill:"#F4F4F4",rx:"3px"}),d("rect",{width:"16px",height:"6px",x:"104px",y:"110px",fill:"#F4F4F4",rx:"3px"}),d("rect",{width:"16px",height:"6px",x:"104px",y:"127px",fill:"#F4F4F4",rx:"3px"})]}),d("defs",{children:d("clipPath",{id:"a",children:d("path",{fill:"#fff",d:"M0 0h197v197H0z"})})})]}),bz=({text:e})=>$(X,{alignItems:"center",display:"flex",flexDirection:"column",gap:"24px",padding:"104px 0px 64px",children:[d(yz,{}),d(X,{fontSize:"20px",fontWeight:"700",color:D("colors-neutral-darkCharcoal")||"#2F2F2F",children:e!=null?e:"A\xFAn no tienes eventos en tu calendario"})]});function Y6(e){return d(le,{...e,title:"Calendar",children:$("g",{fill:"#B0CFE0",children:[d("path",{fill:"#B0CFE0",d:"M15 2h-2V0h-2v2H9V0H7v2H5V0H3v2H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zm-1 12H2V5h12v9z"}),d("path",{d:"M4 7h2v2H4zM7 7h2v2H7zM4 10h2v2H4zM7 10h2v2H7zM10 7h2v2h-2zM10 10h2v2h-2z"})]})})}Y6.displayName="Calendar";function K6(e){return d(le,{...e,title:"Clock",children:d("path",{fill:"#B0CFE0",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm4 9H7V4h2v3h3v2z"})})}K6.displayName="Clock";const q6=({hasNotification:e,isDropdown:t,name:r,courseName:n,color:i,text:o,date:a,hours:l})=>{var c,p;const s=(c=`1px solid ${D("colors-neutral-platinum")}`)!=null?c:"1px solid #E8E8E8";return d(X,{className:"eventsList",borderTop:s,padding:"16px 24px",children:$(X,{display:"flex",flexDirection:"column",gap:"8px",children:[$(X,{lineHeight:"21px",display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"16px",children:[r," ",e&&d(G6,{})]}),$(X,{display:"flex",lineHeight:"19px",fontSize:"14px",sx:{svg:{marginRight:"4px"},span:{verticalAlign:"middle"}},children:[$(X,{paddingRight:"8px",borderRight:s,children:[d(Y6,{}),d("span",{children:a})]}),$(X,{paddingLeft:"8px",children:[d(K6,{}),d("span",{children:l})]})]}),t&&$(X,{display:"flex",alignItems:"center",gap:"4px",lineHeight:"19px",children:[d(X,{h:"10px",w:"10px",bg:i||"#82504A",borderRadius:"50%",display:"block",alignSelf:"flex-start",mt:"4px"}),$(X,{as:"span",color:(p=D("colors-neutral-gray"))!=null?p:"#808080",fontSize:"14px",children:[$("strong",{children:[o!=null?o:"Curso",":"]})," ",n]})]})]})})},xz=({events:e,text:t,redirecToCalendar:r,isMobile:n,colors:i})=>{var s,u,c,p,f,h,m,y;const{today:o,tomorrow:a,next:l}=e;return $(X,{borderRadius:"10px",color:"#1C1818",h:n?"auto":"552px",overflowY:"scroll",pb:"32px",sx:{".calendar-events-group":{borderBottom:(s=`1px solid ${D("colors-neutral-platinum")}`)!=null?s:"1px solid #E8E8E8"}},children:[r&&d(X,{sx:{button:{p:"8px ",fontSize:"14px",lineHeight:"14px",minW:"fit-content",minH:"fit-content"}},children:d(Bh,{onClick:r,m:"72px 0 0 24px",id:"RedirectButton",children:(u=t==null?void 0:t.buttonCalendar)!=null?u:"Ir a Mi Calendario"})}),d(qh,{colors:i,text:t.course,title:(p=(c=t==null?void 0:t.events)==null?void 0:c.today)!=null?p:"Hoy",events:o}),d(qh,{colors:i,text:t.course,title:(h=(f=t==null?void 0:t.events)==null?void 0:f.tomorrow)!=null?h:"Ma\xF1ana",events:a}),d(qh,{colors:i,text:t.course,title:(y=(m=t==null?void 0:t.events)==null?void 0:m.next)!=null?y:"Pr\xF3ximos",events:l})]})},qh=({title:e,events:t,text:r,colors:n})=>{var i;return!t||t&&t.length===0?d(Ir,{}):d(X,{className:"calendar-events-group",_focus:{background:"none !important",border:(i=`1px solid ${D("colors-icon-deepSkyBlue")}`)!=null?i:"1px solid #0189FF"},sx:{".chakra-menu__menuitem > div":{w:"100%"}},children:d(GR,{title:e,children:t.map(o=>{var a;return d(X,{bg:(a=D("colors-neutral-white"))!=null?a:"#FFFFFF",border:"none",cursor:"default",padding:"0",_hover:{boxShadow:"none !important",cursor:"default !important",bg:"none !important"},_focus:{background:"none !important",boxShadow:"none !important"},children:d(q6,{name:o.associated_resource.name||"",courseName:o.course.name,date:o.formatedDate.start,hours:o.formatedDate.hours,color:o.course_id&&(n==null?void 0:n[o.course_id]),text:r,hasNotification:o.isNew,isDropdown:!0},o.id)},o.id)})})})},wz=({events:e,loading:t,text:r,now:n,redirectToCalendar:i,courseColors:o,m:a})=>{const[l]=w1("(max-width: 577px)"),{closeAndMarkSeen:s,empty:u,hasNew:c,...p}=hz(e,n),[f,h]=A.useState(!1),[m,y]=A.useState(!1);return A.useEffect(()=>{if(m)h(!0);else{const g=setTimeout(()=>h(!1),300);return()=>clearTimeout(g)}},[m]),A.useEffect(()=>{const g=document.getElementById("ViewContainer");if(g)g.style.display=m?"none":"";else{const b=document.querySelector(".main");if(!b)return;const w=b.firstElementChild;if(!w||!(w instanceof HTMLElement))return;const C=w.querySelector("header.header");if(!C)return;const k=C.nextElementSibling;if(!k||!(k instanceof HTMLElement))return;k.style.display=m?"none":""}},[m]),d(X,{zIndex:4,className:"calendarDropdown",m:a,position:"relative",sx:{">div":{position:l?"fixed !important":"absolute",left:l?"0 !important":"auto",top:l?"62px !important":"auto",transform:l?"none !important":"translate3d(-409px, 38px, 0px) !important"},".chakra-menu__menu-list":{padding:"0",position:"absolute",width:l?"100vw":"500px",maxHeight:l?"calc(100vh - 62px)":"auto",overflowY:l?"auto":"hidden",background:"white",borderRadius:l?"0":"10px",boxShadow:l?"none":"rgba(47, 47, 47, 0.2) -1px 6px 40px 0px",animation:"none !important",transition:"none !important",transform:"none !important",opacity:"1 !important"},".chakra-menu__group__title":{fontSize:"18px",fontWeight:"700",lineHeight:"31px",margin:"32px 0 0",padding:"0 0 8px 24px"},".react-ripples":{width:"inherit"}},children:d(VR,{autoSelect:!1,onOpen:()=>y(!0),onClose:()=>{s(),y(!1)},children:$(Ir,{children:[d(mz,{hasNew:c!=null?c:!1,text:(r==null?void 0:r.tooltip)||"Ir a Mi Calendario",tooltipDisabled:f}),$(jR,{children:[d(gz,{text:(r==null?void 0:r.header)||"Pr\xF3ximas fechas importantes de tus cursos",isMobile:l}),t?d(Cz,{text:(r==null?void 0:r.loading)||"Cargando"}):e.length===0||u?d(bz,{text:(r==null?void 0:r.empty)||"A\xFAn no tienes eventos en tu calendario"}):d(xz,{colors:o,events:p,text:r,redirecToCalendar:i,isMobile:l})]})]})})})},Cz=({text:e})=>d("div",{children:e!=null?e:"Loading..."}),Sz=({redirectToCalendar:e,text:t,courseColors:r,now:n,events:i,loading:o,m:a})=>{const s=new Date(n).toISOString();return d(wz,{m:a,events:i,loading:o,now:s,courseColors:r,redirectToCalendar:e,text:t})};ue.Alert=M6,ue.Btn=Bc,ue.BtnLink=Il,ue.BtnPrimary=$h,ue.BtnSecondary=Bh,ue.BtnTertiary=g6,ue.CalendarDropdown=Sz,ue.CourseList=P6,ue.CourseStatus=w6,ue.Eventos=PN,ue.EventsList=q6,ue.FlashNotification=kN,ue.Icons=wB,ue.Label=Fl,ue.ModalAlert=R6,ue.NewTooltip=y6,ue.Progress=p6,ue.Resources=KN,ue.Ripples=To,ue.TinyAlert=m6,ue.UserWay=SB,ue.UserWayCookie=kB,ue.dataFake=TB,ue.maxWidthCoursesList=PB,ue.theme=vB,ue.useFlashNotification=EN,ue.vars=D,Object.defineProperties(ue,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
563
|
+
//# sourceMappingURL=eclass-ui-kit.umd.js.map
|