(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[901],{48711:function(e,t,r){"use strict";r.d(t,{Z:function(){return z}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?m[E]+" "+x:s(x,/&\f/g,m[E])).trim())&&(d[w++]=S);return b(e,t,r,0===i?k:u,d,p,f)}function M(e,t,r,n){return b(e,t,r,R,c(e,0,n),c(e,n+1,-1),n)}var j=function(e,t,r){for(var n=0,o=0;n=o,o=x(),38===n&&12===o&&(t[r]=1),!S(o);)E();return c(v,e,g)},F=function(e,t){var r=-1,n=44;do switch(S(n)){case 0:38===n&&12===x()&&(t[r]=1),e[r]+=j(g-1,t,r);break;case 2:e[r]+=O(n);break;case 4:if(44===n){e[++r]=58===x()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=E());return e},B=function(e,t){var r;return r=F(C(e),t),v="",r},Z=new WeakMap,V=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(r))&&!n){Z.set(e,!0);for(var o=[],i=B(t,o),a=r.props,s=0,l=0;s-1&&!e.return)switch(e.type){case R:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return P+"print-"+t+t;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 P+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return P+t+D+t+T+t+t;case 6828:case 4268:return P+t+T+t+t;case 6165:return P+t+T+"flex-"+t+t;case 5187:return P+t+s(t,/(\w+).+(:[^]+)/,P+"box-$1$2"+T+"flex-$1$2")+t;case 5443:return P+t+T+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return P+t+T+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return P+t+T+s(t,"shrink","negative")+t;case 5292:return P+t+T+s(t,"basis","preferred-size")+t;case 6060:return P+"box-"+s(t,"-grow","")+P+t+T+s(t,"grow","positive")+t;case 4554:return P+s(t,/([^-])(transform)/g,"$1"+P+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,P+"$1"),/(image-set)/,P+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,P+"box-pack:$3"+T+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+P+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,P+"$1$2")+t;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(d(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+P+"$2-$3$1"+D+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+P)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+P+(45===u(t,14)?"inline-":"")+"box$3$1"+P+"$2$3$1"+T+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return P+t+T+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return P+t+T+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return P+t+T+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return P+t+T+t+t}return t}(e.value,e.length);break;case I:return _([w(e,{value:s(e.value,"@","@"+P)})],n);case k:if(e.length){var o,i;return o=e.props,i=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return _([w(e,{props:[s(t,/:(read-\w+)/,":"+D+"$1")]})],n);case"::placeholder":return _([w(e,{props:[s(t,/:(plac\w+)/,":"+P+"input-$1")]}),w(e,{props:[s(t,/:(plac\w+)/,":"+D+"$1")]}),w(e,{props:[s(t,/:(plac\w+)/,T+"input-$1")]})],n)}return""},o.map(i).join("")}}}],z=function(e){var t,r,o,a,m,w,T=e.key;if("css"===T){var D=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(D,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var P=e.stylisPlugins||U,k={},R=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+T+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r2||S(y)>3?"":" "}(N);break;case 92:$+=function(e,t){for(var r;--t&&E()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return r=g+(t<6&&32==x()&&32==E()),c(v,e,r)}(g-1,7);continue;case 47:switch(x()){case 42:case 47:p(b(D=function(e,t){for(;E();)if(e+y===57)break;else if(e+y===84&&47===x())break;return"/*"+c(v,t,g-1)+"*"+i(47===e?e:E())}(E(),g),r,n,A,i(y),c(D,2,-2),0),T);break;default:$+="/"}break;case 123*j:C[P++]=d($)*B;case 125*j:case 59:case 0:switch(Z){case 0:case 125:F=0;case 59+k:-1==B&&($=s($,/\f/g,"")),_>0&&d($)-R&&p(_>32?M($+";",o,n,R-1):M(s($," ","")+";",o,n,R-2),T);break;case 59:$+=";";default:if(p(z=L($,r,n,P,k,a,C,V,q=[],U=[],R),m),123===Z){if(0===k)e($,r,z,z,q,m,R,C,U);else switch(99===I&&110===u($,3)?100:I){case 100:case 108:case 109:case 115:e(t,z,z,o&&p(L(t,z,z,0,0,a,C,V,a,q=[],R),U),a,U,R,C,o?q:U);break;default:e($,z,z,z,[""],U,0,C,U)}}}P=k=_=0,j=B=1,V=$="",R=w;break;case 58:R=1+d($),_=N;default:if(j<1){if(123==Z)--j;else if(125==Z&&0==j++&&125==(y=g>0?u(v,--g):0,h--,10===y&&(h=1,f--),y))continue}switch($+=i(Z),Z*j){case 38:B=k>0?1:($+="\f",-1);break;case 44:C[P++]=(d($)-1)*B,B=1;break;case 64:45===x()&&($+=O(E())),I=x(),k=R=d(V=$+=function(e){for(;!S(x());)E();return c(v,e,g)}(g)),Z++;break;case 45:45===N&&2==d($)&&(j=0)}}return m}("",null,null,null,[""],t=C(t=e),0,[0],t),v="",r),I)};m=function(e,t,r,n){w=r,j(e?e+"{"+t.styles+"}":t.styles),n&&(F.inserted[t.name]=!0)};var F={key:T,sheet:new n({key:T,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:k,registered:{},insert:m};return F.sheet.hydrate(R),F}},45042:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return n}})},87685:function(e,t,r){"use strict";r.d(t,{E:function(){return m},T:function(){return c},c:function(){return f},h:function(){return d},w:function(){return u}});var n=r(67294),o=r(48711),i=r(70444),a=r(85662),s=r(27278),l=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);l.Provider;var u=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(l),r)})},c=n.createContext({}),d={}.hasOwnProperty,p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",f=function(e,t){var r={};for(var n in t)d.call(t,n)&&(r[n]=t[n]);return r[p]=e,r},h=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,i.hC)(t,r,n),(0,s.L)(function(){return(0,i.My)(t,r,n)}),null},m=u(function(e,t,r){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var s=e[p],l=[o],u="";"string"==typeof e.className?u=(0,i.fp)(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var f=(0,a.O)(l,void 0,n.useContext(c));u+=t.key+"-"+f.name;var m={};for(var g in e)d.call(e,g)&&"css"!==g&&g!==p&&(m[g]=e[g]);return m.className=u,r&&(m.ref=r),n.createElement(n.Fragment,null,n.createElement(h,{cache:t,serialized:f,isStringTag:"string"==typeof s}),n.createElement(s,m))})},70917:function(e,t,r){"use strict";r.d(t,{F4:function(){return f},iv:function(){return p},xB:function(){return d}});var n,o,i=r(87685),a=r(67294),s=r(70444),l=r(27278),u=r(85662);r(48711),r(8679);var c=function(e,t){var r=arguments;if(null==t||!i.h.call(t,"css"))return a.createElement.apply(void 0,r);var n=r.length,o=Array(n);o[0]=i.E,o[1]=(0,i.c)(e,t);for(var s=2;s=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+u,styles:a,next:n}}},27278:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return s}});var n,o=r(67294),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},70444:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{My:function(){return i},fp:function(){return n},hC:function(){return o}});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},85364:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=function(e,t,r){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...r}}}},14142:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(56535);function o(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},94780:function(e,t,r){"use strict";function n(e,t,r){let n={};for(let o in e){let i=e[o],a="",s=!0;for(let e=0;e{e.apply(this,o)},t)}return n.clear=()=>{clearTimeout(r)},n}r.d(t,{Z:function(){return n}})},4953:function(e,t,r){"use strict";r.d(t,{P:function(){return i},Z:function(){return function e(t,r,a={clone:!0}){let s=a.clone?{...t}:t;return i(t)&&i(r)&&Object.keys(r).forEach(l=>{n.isValidElement(r[l])||(0,o.iY)(r[l])?s[l]=r[l]:i(r[l])&&Object.prototype.hasOwnProperty.call(t,l)&&i(t[l])?s[l]=e(t[l],r[l],a):a.clone?s[l]=i(r[l])?function e(t){if(n.isValidElement(t)||(0,o.iY)(t)||!i(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[l]):r[l]:s[l]=r[l]}),s}}});var n=r(67294),o=r(79593);function i(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},99113:function(e,t){"use strict";t.Z=function(e,t=[]){if(void 0===e)return{};let r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}},56535:function(e,t,r){"use strict";function n(e,...t){let r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}r.d(t,{Z:function(){return n}})},27621:function(e,t,r){"use strict";let n;r.d(t,{ZP:function(){return s}});let o=e=>e,i=(n=o,{configure(e){n=e},generate:e=>n(e),reset(){n=o}}),a={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function s(e,t,r="Mui"){let n=a[t];return n?`${r}-${n}`:`${i.generate(e)}-${t}`}},1588:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(27621);function o(e,t,r="Mui"){let o={};return t.forEach(t=>{o[t]=(0,n.ZP)(e,t,r)}),o}},57907:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294);function o(e){return parseInt(n.version,10)>=19?e?.props?.ref||null:e?.ref||null}},29726:function(e,t,r){"use strict";function n(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}r.d(t,{Z:function(){return n}})},55120:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(90512),o=r(99113),i=function(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t},a=function(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:a,externalForwardedProps:s,className:l}=e;if(!t){let e=(0,n.Z)(r?.className,l,s?.className,a?.className),t={...r?.style,...s?.style,...a?.style},o={...r,...s,...a};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let u=(0,o.Z)({...s,...a}),c=i(a),d=i(s),p=t(u),f=(0,n.Z)(p?.className,r?.className,l,s?.className,a?.className),h={...p?.style,...r?.style,...s?.style,...a?.style},m={...p,...r,...d,...c};return f.length>0&&(m.className=f),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:p.ref}}},82690:function(e,t,r){"use strict";function n(e){return e&&e.ownerDocument||document}r.d(t,{Z:function(){return n}})},74161:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(82690);function o(e){return(0,n.Z)(e).defaultView||window}},65610:function(e,t){"use strict";t.Z=function(e,t,r){return"function"==typeof e?e(t,r):e}},35971:function(e,t,r){"use strict";r.d(t,{Z:function(){return function e(t,r){let n={...r};for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if("components"===o||"slots"===o)n[o]={...t[o],...n[o]};else if("componentsProps"===o||"slotProps"===o){let i=t[o],a=r[o];if(a){if(i)for(let t in n[o]={...a},i)Object.prototype.hasOwnProperty.call(i,t)&&(n[o][t]=e(i[t],a[t]));else n[o]=a}else n[o]=i||{}}else void 0===n[o]&&(n[o]=t[o])}return n}}})},19032:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294);function o({controlled:e,default:t,name:r,state:o="value"}){let{current:i}=n.useRef(void 0!==e),[a,s]=n.useState(t),l=n.useCallback(e=>{i||s(e)},[]);return[i?e:a,l]}},73546:function(e,t,r){"use strict";var n=r(67294);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;t.Z=o},59948:function(e,t,r){"use strict";var n=r(67294),o=r(73546);t.Z=function(e){let t=n.useRef(e);return(0,o.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},33703:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294);function o(...e){let t=n.useRef(void 0),r=n.useCallback(t=>{let r=e.map(e=>{if(null==e)return null;if("function"==typeof e){let r=e(t);return"function"==typeof r?r:()=>{e(null)}}return e.current=t,()=>{e.current=null}});return()=>{r.forEach(e=>e?.())}},e);return n.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}},92996:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n,o=r(67294);let i=0,a={...n||(n=r.t(o,2))}.useId;function s(e){if(void 0!==a){let t=a();return e??t}return function(e){let[t,r]=o.useState(e),n=e||t;return o.useEffect(()=>{null==t&&(i+=1,r(`mui-${i}`))},[t]),n}(e)}},49230:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67294);let o={};function i(e,t){let r=n.useRef(o);return r.current===o&&(r.current=e(t)),r}},82963:function(e,t,r){"use strict";var n=r(33703),o=r(85364),i=r(55120),a=r(65610);t.Z=function(e){let{elementType:t,externalSlotProps:r,ownerState:s,skipResolvingSlotProps:l=!1,...u}=e,c=l?{}:(0,a.Z)(r,s),{props:d,internalRef:p}=(0,i.Z)({...u,externalSlotProps:c}),f=(0,n.Z)(p,c?.ref,e.additionalProps?.ref);return(0,o.Z)(t,{...d,ref:f},s)}},10012:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(49230),o=r(67294);let i=[];class a{static create(){return new a}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function s(){var e;let t=(0,n.Z)(a.create).current;return e=t.disposeEffect,o.useEffect(e,i),t}},10586:function(e,t,r){"use strict";r.d(t,{y:function(){return E}});var n=r(87462),o=r(27484),i=r.n(o),a=r(55183),s=r.n(a),l=r(10285),u=r.n(l),c=r(56176),d=r.n(c),p=r(66607),f=r.n(p),h=r(28734),m=r.n(h);i().extend(d()),i().extend(s()),i().extend(f()),i().extend(m());let g={YY:"year",YYYY:{sectionType:"year",contentType:"digit",maxLength:4},M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},d:{sectionType:"weekDay",contentType:"digit",maxLength:2},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},y={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",dayOfMonthFull:"Do",weekday:"dddd",weekdayShort:"dd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},v="Missing UTC plugin\nTo be able to use UTC or timezones, you have to enable the `utc` plugin\nFind more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc",b="Missing timezone plugin\nTo be able to use timezones, you have to enable both the `utc` and the `timezone` plugin\nFind more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone",w=(e,t)=>t?(...r)=>e(...r).locale(t):e;class E{constructor({locale:e,formats:t}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="dayjs",this.dayjs=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=g,this.setLocaleToValue=e=>{let t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasUTCPlugin=()=>void 0!==i().utc,this.hasTimezonePlugin=()=>void 0!==i().tz,this.isSame=(e,t,r)=>{let n=this.setTimezone(t,this.getTimezone(e));return e.format(r)===n.format(r)},this.cleanTimezone=e=>{switch(e){case"default":return;case"system":return i().tz.guess();default:return e}},this.createSystemDate=e=>{if(this.hasUTCPlugin()&&this.hasTimezonePlugin()){let t=i().tz.guess();if("UTC"!==t)return i().tz(e,t)}return i()(e)},this.createUTCDate=e=>{if(!this.hasUTCPlugin())throw Error(v);return i().utc(e)},this.createTZDate=(e,t)=>{if(!this.hasUTCPlugin())throw Error(v);if(!this.hasTimezonePlugin())throw Error(b);let r=void 0!==e&&!e.endsWith("Z");return i()(e).tz(this.cleanTimezone(t),r)},this.getLocaleFormats=()=>{let e=i().Ls,t=e[this.locale||"en"];return void 0===t&&(t=e.en),t.formats},this.adjustOffset=e=>{if(!this.hasTimezonePlugin())return e;let t=this.getTimezone(e);if("UTC"!==t){let r=e.tz(this.cleanTimezone(t),!0);if(r.$offset===(e.$offset??0))return e;e.$offset=r.$offset}return e},this.date=(e,t="default")=>{let r;return null===e?null:(r="UTC"===t?this.createUTCDate(e):"system"!==t&&("default"!==t||this.hasTimezonePlugin())?this.createTZDate(e,t):this.createSystemDate(e),void 0===this.locale)?r:r.locale(this.locale)},this.getInvalidDate=()=>i()(new Date("Invalid date")),this.getTimezone=e=>{if(this.hasTimezonePlugin()){let t=e.$x?.$timezone;if(t)return t}return this.hasUTCPlugin()&&e.isUTC()?"UTC":"system"},this.setTimezone=(e,t)=>{if(this.getTimezone(e)===t)return e;if("UTC"===t){if(!this.hasUTCPlugin())throw Error(v);return e.utc()}if("system"===t)return e.local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw Error(b)}return i().tz(e,this.cleanTimezone(t))},this.toJsDate=e=>e.toDate(),this.parse=(e,t)=>""===e?null:this.dayjs(e,t,this.locale,!0),this.getCurrentLocaleCode=()=>this.locale||"en",this.is12HourCycleInCurrentLocale=()=>/A|a/.test(this.getLocaleFormats().LT||""),this.expandFormat=e=>{let t=this.getLocaleFormats(),r=e=>e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(e,t,r)=>t||r.slice(1));return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(e,n,o)=>{let i=o&&o.toUpperCase();return n||t[o]||r(t[i])})},this.isValid=e=>null!=e&&e.isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>this.dayjs(e).format(t),this.formatNumber=e=>e,this.isEqual=(e,t)=>null===e&&null===t||null!==e&&null!==t&&e.toDate().getTime()===t.toDate().getTime(),this.isSameYear=(e,t)=>this.isSame(e,t,"YYYY"),this.isSameMonth=(e,t)=>this.isSame(e,t,"YYYY-MM"),this.isSameDay=(e,t)=>this.isSame(e,t,"YYYY-MM-DD"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e>t,this.isAfterYear=(e,t)=>this.hasUTCPlugin()?!this.isSameYear(e,t)&&e.utc()>t.utc():e.isAfter(t,"year"),this.isAfterDay=(e,t)=>this.hasUTCPlugin()?!this.isSameDay(e,t)&&e.utc()>t.utc():e.isAfter(t,"day"),this.isBefore=(e,t)=>ethis.hasUTCPlugin()?!this.isSameYear(e,t)&&e.utc()this.hasUTCPlugin()?!this.isSameDay(e,t)&&e.utc()e>=t&&e<=r,this.startOfYear=e=>this.adjustOffset(e.startOf("year")),this.startOfMonth=e=>this.adjustOffset(e.startOf("month")),this.startOfWeek=e=>this.adjustOffset(this.setLocaleToValue(e).startOf("week")),this.startOfDay=e=>this.adjustOffset(e.startOf("day")),this.endOfYear=e=>this.adjustOffset(e.endOf("year")),this.endOfMonth=e=>this.adjustOffset(e.endOf("month")),this.endOfWeek=e=>this.adjustOffset(this.setLocaleToValue(e).endOf("week")),this.endOfDay=e=>this.adjustOffset(e.endOf("day")),this.addYears=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"year"):e.add(t,"year")),this.addMonths=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"month"):e.add(t,"month")),this.addWeeks=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"week"):e.add(t,"week")),this.addDays=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"day"):e.add(t,"day")),this.addHours=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"hour"):e.add(t,"hour")),this.addMinutes=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"minute"):e.add(t,"minute")),this.addSeconds=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"second"):e.add(t,"second")),this.getYear=e=>e.year(),this.getMonth=e=>e.month(),this.getDate=e=>e.date(),this.getHours=e=>e.hour(),this.getMinutes=e=>e.minute(),this.getSeconds=e=>e.second(),this.getMilliseconds=e=>e.millisecond(),this.setYear=(e,t)=>this.adjustOffset(e.set("year",t)),this.setMonth=(e,t)=>this.adjustOffset(e.set("month",t)),this.setDate=(e,t)=>this.adjustOffset(e.set("date",t)),this.setHours=(e,t)=>this.adjustOffset(e.set("hour",t)),this.setMinutes=(e,t)=>this.adjustOffset(e.set("minute",t)),this.setSeconds=(e,t)=>this.adjustOffset(e.set("second",t)),this.setMilliseconds=(e,t)=>this.adjustOffset(e.set("millisecond",t)),this.getDaysInMonth=e=>e.daysInMonth(),this.getWeekArray=e=>{let t=this.startOfWeek(this.startOfMonth(e)),r=this.endOfWeek(this.endOfMonth(e)),n=0,o=t,i=[];for(;oe.week(),this.getYearRange=([e,t])=>{let r=this.startOfYear(e),n=this.endOfYear(t),o=[],i=r;for(;this.isBefore(i,n);)o.push(i),i=this.addYears(i,1);return o},this.dayjs=w(i(),e),this.locale=e,this.formats=(0,n.Z)({},y,t),i().extend(u())}getDayOfWeek(e){return e.day()+1}}},39318:function(e,t,r){"use strict";r.d(t,{M:function(){return lB}});var n,o,i,a,s,l,u,c=r(87462),d=r(63366),p=r(67294),f=r.t(p,2),h=r(73546),m=r(75505),g=r(13907);let y={...f}.useSyncExternalStore;function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{themeId:t}=e;return function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,g.Z)();n&&t&&(n=n[t]||n);let o=void 0!==window.matchMedia,{defaultMatches:i=!1,matchMedia:a=o?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:l=!1}=(0,m.Z)({name:"MuiUseMediaQuery",props:r,theme:n}),u="function"==typeof e?e(n):e;return(u=u.replace(/^@media( ?)/m,"")).includes("print")&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."),(void 0!==y?function(e,t,r,n,o){let i=p.useCallback(()=>t,[t]),a=p.useMemo(()=>{if(o&&r)return()=>r(e).matches;if(null!==n){let{matches:t}=n(e);return()=>t}return i},[i,e,n,o,r]),[s,l]=p.useMemo(()=>{if(null===r)return[i,()=>()=>{}];let t=r(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[i,r,e]);return y(l,s,a)}:function(e,t,r,n,o){let[i,a]=p.useState(()=>o&&r?r(e).matches:n?n(e).matches:t);return(0,h.Z)(()=>{if(!r)return;let t=r(e),n=()=>{a(t.matches)};return n(),t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}},[e,r]),i})(u,i,a,s,l)}}v();let b=v({themeId:r(15412).Z});var w=r(79783),E=r(45697),x=r.n(E),S=r(65610);let C=x().oneOfType([x().func,x().object]),O=(e,t)=>e.length===t.length&&t.every(t=>e.includes(t)),T=({openTo:e,defaultOpenTo:t,views:r,defaultViews:n})=>{let o;let i=r??n;if(null!=e)o=e;else if(i.includes(t))o=t;else if(i.length>0)o=i[0];else throw Error("MUI X: The `views` prop must contain at least one view.");return{views:i,openTo:o}},D=(e,t,r)=>{let n=t;return n=e.setHours(n,e.getHours(r)),n=e.setMinutes(n,e.getMinutes(r)),n=e.setSeconds(n,e.getSeconds(r)),n=e.setMilliseconds(n,e.getMilliseconds(r))},P=({date:e,disableFuture:t,disablePast:r,maxDate:n,minDate:o,isDateDisabled:i,utils:a,timezone:s})=>{let l=D(a,a.date(void 0,s),e);r&&a.isBefore(o,l)&&(o=l),t&&a.isAfter(n,l)&&(n=l);let u=e,c=e;for(a.isBefore(e,o)&&(u=o,c=null),a.isAfter(e,n)&&(c&&(c=n),u=null);u||c;){if(u&&a.isAfter(u,n)&&(u=null),c&&a.isBefore(c,o)&&(c=null),u){if(!i(u))return u;u=a.addDays(u,1)}if(c){if(!i(c))return c;c=a.addDays(c,-1)}}return null},A=(e,t,r)=>null!=t&&e.isValid(t)?t:r,k=(e,t)=>{let r=[e.startOfYear(t)];for(;r.length<12;){let t=r[r.length-1];r.push(e.addMonths(t,1))}return r},R=(e,t,r)=>"date"===r?e.startOfDay(e.date(void 0,t)):e.date(void 0,t),I=["year","month","day"],_=e=>I.includes(e),N=(e,{format:t,views:r},n)=>{if(null!=t)return t;let o=e.formats;return O(r,["year"])?o.year:O(r,["month"])?o.month:O(r,["day"])?o.dayOfMonth:O(r,["month","year"])?`${o.month} ${o.year}`:O(r,["day","month"])?`${o.month} ${o.dayOfMonth}`:n?/en/.test(e.getCurrentLocaleCode())?o.normalDateWithWeekday:o.normalDate:o.keyboardDate},L=(e,t)=>{let r=e.startOfWeek(t);return[0,1,2,3,4,5,6].map(t=>e.addDays(r,t))},M=["hours","minutes","seconds"],j=e=>M.includes(e),F=(e,t)=>3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e),B=(e,t)=>(r,n)=>e?t.isAfter(r,n):F(r,t)>F(n,t),Z={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},V=e=>Math.max(...e.map(e=>Z[e.type]??1)),q=(e,t,r)=>{if(t===Z.year)return e.startOfYear(r);if(t===Z.month)return e.startOfMonth(r);if(t===Z.day)return e.startOfDay(r);let n=r;return t{let i=o?o():q(t,r,R(t,n));null!=e.minDate&&t.isAfterDay(e.minDate,i)&&(i=q(t,r,e.minDate)),null!=e.maxDate&&t.isBeforeDay(e.maxDate,i)&&(i=q(t,r,e.maxDate));let a=B(e.disableIgnoringDatePartForTimeValidation??!1,t);return null!=e.minTime&&a(e.minTime,i)&&(i=q(t,r,e.disableIgnoringDatePartForTimeValidation?e.minTime:D(t,i,e.minTime))),null!=e.maxTime&&a(i,e.maxTime)&&(i=q(t,r,e.disableIgnoringDatePartForTimeValidation?e.maxTime:D(t,i,e.maxTime))),i},z=(e,t)=>{let r=e.formatTokenMap[t];if(null==r)throw Error(`MUI X: The token "${t}" is not supported by the Date and Time Pickers. Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported.`);return"string"==typeof r?{type:r,contentType:"meridiem"===r?"letter":"digit",maxLength:void 0}:{type:r.sectionType,contentType:r.contentType,maxLength:r.maxLength}},$=e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return -1;case"PageUp":return 5;case"PageDown":return -5;default:return 0}},H=(e,t)=>{let r=[],n=e.date(void 0,"default"),o=e.startOfWeek(n),i=e.endOfWeek(n),a=o;for(;e.isBefore(a,i);)r.push(a),a=e.addDays(a,1);return r.map(r=>e.formatByString(r,t))},G=(e,t,r,n)=>{switch(r){case"month":return k(e,e.date(void 0,t)).map(t=>e.formatByString(t,n));case"weekDay":return H(e,n);case"meridiem":{let r=e.date(void 0,t);return[e.startOfDay(r),e.endOfDay(r)].map(t=>e.formatByString(t,n))}default:return[]}},W=["0","1","2","3","4","5","6","7","8","9"],K=e=>{let t=e.date(void 0);return"0"===e.formatByString(e.setSeconds(t,0),"s")?W:Array.from({length:10}).map((r,n)=>e.formatByString(e.setSeconds(t,n),"s"))},Y=(e,t)=>{if("0"===t[0])return e;let r=[],n="";for(let o=0;o-1&&(r.push(i.toString()),n="")}return r.join("")},Q=(e,t)=>"0"===t[0]?e:e.split("").map(e=>t[Number(e)]).join(""),J=(e,t)=>{let r=Y(e,t);return" "!==r&&!Number.isNaN(Number(r))},X=(e,t)=>{let r=e;for(r=Number(r).toString();r.length{if("day"===o.type&&"digit-with-letter"===o.contentType){let n=e.setDate(r.longestMonth,t);return e.formatByString(n,o.format)}let i=t.toString();return o.hasLeadingZerosInInput&&(i=X(i,o.maxLength)),Q(i,n)},et=(e,t,r,n,o,i,a,s)=>{let l=$(n),u="Home"===n,c="End"===n,d=""===r.value||u||c;return"digit"===r.contentType||"digit-with-letter"===r.contentType?(()=>{let n;let p=o[r.type]({currentDate:a,format:r.format,contentType:r.contentType}),f="minutes"===r.type&&s?.minutesStep?s.minutesStep:1;if(d){if("year"===r.type&&!c&&!u)return e.formatByString(e.date(void 0,t),r.format);n=l>0||u?p.minimum:p.maximum}else n=parseInt(Y(r.value,i),10)+l*f;return ee(e,(n%f!=0&&((l<0||u)&&(n+=f-(f+n)%f),(l>0||c)&&(n-=n%f)),n>p.maximum)?p.minimum+(n-p.maximum-1)%(p.maximum-p.minimum+1):n{let n=G(e,t,r.type,r.format);if(0===n.length)return r.value;if(d)return l>0||u?n[0]:n[n.length-1];let o=((n.indexOf(r.value)+l)%n.length+n.length)%n.length;return n[o]})()},er=(e,t,r)=>{let n=e.value||e.placeholder,o="non-input"===t?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;return"non-input"===t&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(n=Number(Y(n,r)).toString()),["input-rtl","input-ltr"].includes(t)&&"digit"===e.contentType&&!o&&1===n.length&&(n=`${n}\u200e`),"input-rtl"===t&&(n=`\u2068${n}\u2069`),n},en=(e,t,r,n)=>e.formatByString(e.parse(t,r),n),eo=(e,t)=>4===e.formatByString(e.date(void 0,"system"),t).length,ei=(e,t,r,n)=>{if("digit"!==t)return!1;let o=e.date(void 0,"default");switch(r){case"year":if("dayjs"===e.lib&&"YY"===n)return!0;return e.formatByString(e.setYear(o,1),n).startsWith("0");case"month":return e.formatByString(e.startOfYear(o),n).length>1;case"day":return e.formatByString(e.startOfMonth(o),n).length>1;case"weekDay":return e.formatByString(e.startOfWeek(o),n).length>1;case"hours":return e.formatByString(e.setHours(o,1),n).length>1;case"minutes":return e.formatByString(e.setMinutes(o,1),n).length>1;case"seconds":return e.formatByString(e.setSeconds(o,1),n).length>1;default:throw Error("Invalid section type")}},ea=(e,t,r)=>{let n=t.some(e=>"day"===e.type),o=[],i=[];for(let e=0;e{let n=e.date(void 0,r),o=e.endOfYear(n),i=e.endOfDay(n),{maxDaysInMonth:a,longestMonth:s}=k(e,n).reduce((t,r)=>{let n=e.getDaysInMonth(r);return n>t.maxDaysInMonth?{maxDaysInMonth:n,longestMonth:r}:t},{maxDaysInMonth:0,longestMonth:null});return{year:({format:t})=>({minimum:0,maximum:eo(e,t)?9999:99}),month:()=>({minimum:1,maximum:e.getMonth(o)+1}),day:({currentDate:t})=>({minimum:1,maximum:null!=t&&e.isValid(t)?e.getDaysInMonth(t):a,longestMonth:s}),weekDay:({format:t,contentType:r})=>{if("digit"===r){let r=H(e,t).map(Number);return{minimum:Math.min(...r),maximum:Math.max(...r)}}return{minimum:1,maximum:7}},hours:({format:r})=>{let o=e.getHours(i);return Y(e.formatByString(e.endOfDay(n),r),t)!==o.toString()?{minimum:1,maximum:Number(Y(e.formatByString(e.startOfDay(n),r),t))}:{minimum:0,maximum:o}},minutes:()=>({minimum:0,maximum:e.getMinutes(i)}),seconds:()=>({minimum:0,maximum:e.getSeconds(i)}),meridiem:()=>({minimum:0,maximum:1}),empty:()=>({minimum:0,maximum:0})}},el=(e,t)=>{},eu=(e,t,r,n)=>{switch(t.type){case"year":return e.setYear(n,e.getYear(r));case"month":return e.setMonth(n,e.getMonth(r));case"weekDay":{let n=H(e,t.format),o=e.formatByString(r,t.format),i=n.indexOf(o),a=n.indexOf(t.value);return e.addDays(r,a-i)}case"day":return e.setDate(n,e.getDate(r));case"meridiem":{let t=12>e.getHours(r),o=e.getHours(n);if(t&&o>=12)return e.addHours(n,-12);if(!t&&o<12)return e.addHours(n,12);return n}case"hours":return e.setHours(n,e.getHours(r));case"minutes":return e.setMinutes(n,e.getMinutes(r));case"seconds":return e.setSeconds(n,e.getSeconds(r));default:return n}},ec={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8,empty:9},ed=(e,t,r,n,o)=>[...r].sort((e,t)=>ec[e.type]-ec[t.type]).reduce((r,n)=>!o||n.modified?eu(e,n,t,r):r,n),ep=()=>navigator.userAgent.toLowerCase().includes("android"),ef=(e,t)=>{let r={};if(!t)return e.forEach((t,n)=>{let o=n===e.length-1?null:n+1;r[n]={leftIndex:0===n?null:n-1,rightIndex:o}}),{neighbors:r,startIndex:0,endIndex:e.length-1};let n={},o={},i=0,a=0,s=e.length-1;for(;s>=0;){-1===(a=e.findIndex((e,t)=>t>=i&&e.endSeparator?.includes(" ")&&" / "!==e.endSeparator))&&(a=e.length-1);for(let e=a;e>=i;e-=1)o[e]=s,n[s]=e,s-=1;i=a+1}return e.forEach((t,i)=>{let a=o[i],s=0===a?null:n[a-1],l=a===e.length-1?null:n[a+1];r[i]={leftIndex:s,rightIndex:l}}),{neighbors:r,startIndex:n[0],endIndex:n[e.length-1]}},eh=(e,t)=>{if(null==e)return null;if("all"===e)return"all";if("string"==typeof e){let r=t.findIndex(t=>t.type===e);return -1===r?null:r}return e},em=(e,t)=>{if(e.value)switch(e.type){case"month":{if("digit"===e.contentType)return t.format(t.setMonth(t.date(),Number(e.value)-1),"month");let r=t.parse(e.value,e.format);return r?t.format(r,"month"):void 0}case"day":return"digit"===e.contentType?t.format(t.setDate(t.startOfYear(t.date()),Number(e.value)),"dayOfMonthFull"):e.value;default:return}},eg=(e,t)=>{if(e.value)switch(e.type){case"weekDay":if("letter"===e.contentType)return;return Number(e.value);case"meridiem":{let r=t.parse(`01:00 ${e.value}`,`${t.formats.hours12h}:${t.formats.minutes} ${e.format}`);if(r)return t.getHours(r)>=12?1:0;return}case"day":return"digit-with-letter"===e.contentType?parseInt(e.value,10):Number(e.value);case"month":{if("digit"===e.contentType)return Number(e.value);let r=t.parse(e.value,e.format);return r?t.getMonth(r)+1:void 0}default:return"letter"!==e.contentType?Number(e.value):void 0}},ey=["value","referenceDate"],ev={emptyValue:null,getTodayValue:R,getInitialReferenceValue:e=>{let{value:t,referenceDate:r}=e,n=(0,d.Z)(e,ey);return null!=t&&n.utils.isValid(t)?t:null!=r?r:U(n)},cleanValue:(e,t)=>null!=t&&e.isValid(t)?t:null,areValuesEqual:(e,t,r)=>!(e.isValid(t)||null==t||e.isValid(r))&&null!=r||e.isEqual(t,r),isSameError:(e,t)=>e===t,hasError:e=>null!=e,defaultErrorState:null,getTimezone:(e,t)=>null!=t&&e.isValid(t)?e.getTimezone(t):null,setTimezone:(e,t,r)=>null==r?null:e.setTimezone(r,t)},eb={updateReferenceValue:(e,t,r)=>null!=t&&e.isValid(t)?t:r,getSectionsFromValue:(e,t,r,n)=>!e.isValid(t)&&r?r:n(t),getV7HiddenInputValueFromSections:e=>e.map(e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`).join(""),getV6InputValueFromSections:(e,t,r)=>{let n=e.map(e=>{let n=er(e,r?"input-rtl":"input-ltr",t);return`${e.startSeparator}${n}${e.endSeparator}`}).join("");return r?`\u2066${n}\u2069`:n},getActiveDateManager:(e,t)=>({date:t.value,referenceDate:t.referenceValue,getSections:e=>e,getNewValuesFromNewActiveDate:r=>({value:r,referenceValue:null!=r&&e.isValid(r)?r:t.referenceValue})}),parseValueStr:(e,t,r)=>r(e.trim(),t)};var ew=r(50720);let eE=e=>{let{utils:t,formatKey:r,contextTranslation:n,propsTranslation:o}=e;return e=>{let i=null!==e&&t.isValid(e)?t.format(e,r):null;return(o??n)(e,t,i)}},ex={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"Open previous view",openNextView:"Open next view",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",startDate:"Start date",startTime:"Start time",endDate:"End date",endTime:"End time",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,r,n)=>`Select ${e}. ${n||null!==t&&r.isValid(t)?`Selected time is ${n??r.format(t,"fullTime")}`:"No time selected"}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,r)=>r||null!==e&&t.isValid(e)?`Choose date, selected date is ${r??t.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,t,r)=>r||null!==e&&t.isValid(e)?`Choose time, selected time is ${r??t.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Year",month:"Month",day:"Day",weekDay:"Week day",hours:"Hours",minutes:"Minutes",seconds:"Seconds",meridiem:"Meridiem",empty:"Empty"};(0,c.Z)({},ex);let eS=()=>{let e=p.useContext(ew.y);if(null===e)throw Error("MUI X: Can not find the date and time pickers localization context.\nIt looks like you forgot to wrap your component in LocalizationProvider.\nThis can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package");if(null===e.utils)throw Error("MUI X: Can not find the date and time pickers adapter from its localization context.\nIt looks like you forgot to pass a `dateAdapter` to your LocalizationProvider.");let t=p.useMemo(()=>(0,c.Z)({},ex,e.localeText),[e.localeText]);return p.useMemo(()=>(0,c.Z)({},e,{localeText:t}),[e,t])},eC=()=>eS().utils,eO=()=>eS().defaultDates,eT=e=>{let t=eC(),r=p.useRef(void 0);return void 0===r.current&&(r.current=t.date(void 0,e)),r.current};var eD=r(90512),eP=r(14104),eA=r(6709),ek=r(94780),eR=r(27621),eI=r(1588);function e_(e){return(0,eR.ZP)("MuiPickersToolbar",e)}(0,eI.Z)("MuiPickersToolbar",["root","content"]);var eN=r(85893);let eL=["children","className","toolbarTitle","hidden","titleId","isLandscape","classes","landscapeDirection"],eM=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"],content:["content"]},e_,t)},ej=(0,eA.ZP)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3),variants:[{props:{isLandscape:!0},style:{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"}}]})),eF=(0,eA.ZP)("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,t)=>t.content})({display:"flex",flexWrap:"wrap",width:"100%",flex:1,justifyContent:"space-between",alignItems:"center",flexDirection:"row",variants:[{props:{isLandscape:!0},style:{justifyContent:"flex-start",alignItems:"flex-start",flexDirection:"column"}},{props:{isLandscape:!0,landscapeDirection:"row"},style:{flexDirection:"row"}}]}),eB=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiPickersToolbar"}),{children:n,className:o,toolbarTitle:i,hidden:a,titleId:s}=r,l=(0,d.Z)(r,eL),u=eM(r);return a?null:(0,eN.jsxs)(ej,(0,c.Z)({ref:t,className:(0,eD.Z)(u.root,o),ownerState:r},l,{children:[(0,eN.jsx)(eP.Z,{color:"text.secondary",variant:"overline",id:s,children:i}),(0,eN.jsx)(eF,{className:u.content,ownerState:r,children:n})]}))}),eZ=()=>eS().localeText;function eV(e){return(0,eR.ZP)("MuiDatePickerToolbar",e)}(0,eI.Z)("MuiDatePickerToolbar",["root","title"]);let eq=["value","isLandscape","onChange","toolbarFormat","toolbarPlaceholder","views","className","onViewChange","view"],eU=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"],title:["title"]},eV,t)},ez=(0,eA.ZP)(eB,{name:"MuiDatePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),e$=(0,eA.ZP)(eP.Z,{name:"MuiDatePickerToolbar",slot:"Title",overridesResolver:(e,t)=>t.title})({variants:[{props:{isLandscape:!0},style:{margin:"auto 16px auto auto"}}]}),eH=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiDatePickerToolbar"}),{value:n,isLandscape:o,toolbarFormat:i,toolbarPlaceholder:a="––",views:s,className:l}=r,u=(0,d.Z)(r,eq),f=eC(),h=eZ(),m=eU(r),g=p.useMemo(()=>{if(!n)return a;let e=N(f,{format:i,views:s},!0);return f.formatByString(n,e)},[n,i,a,f,s]);return(0,eN.jsx)(ez,(0,c.Z)({ref:t,toolbarTitle:h.datePickerToolbarTitle,isLandscape:o,className:(0,eD.Z)(m.root,l)},u,{children:(0,eN.jsx)(e$,{variant:"h4",align:o?"left":"center",ownerState:r,className:m.title,children:g})}))});function eG(e,t){let r=eC(),n=eO(),o=(0,w.Z)({props:e,name:t}),i=p.useMemo(()=>o.localeText?.toolbarTitle==null?o.localeText:(0,c.Z)({},o.localeText,{datePickerToolbarTitle:o.localeText.toolbarTitle}),[o.localeText]);return(0,c.Z)({},o,{localeText:i},T({views:o.views,openTo:o.openTo,defaultViews:["year","day"],defaultOpenTo:"day"}),{disableFuture:o.disableFuture??!1,disablePast:o.disablePast??!1,minDate:A(r,o.minDate,n.minDate),maxDate:A(r,o.maxDate,n.maxDate),slots:(0,c.Z)({toolbar:eH},o.slots)})}let eW=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],eK=["disablePast","disableFuture","minTime","maxTime","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],eY=["minDateTime","maxDateTime"],eQ=[...eW,...eK,...eY],eJ=e=>eQ.reduce((t,r)=>(e.hasOwnProperty(r)&&(t[r]=e[r]),t),{}),eX=({props:e,value:t,timezone:r,adapter:n})=>{if(null===t)return null;let{shouldDisableDate:o,shouldDisableMonth:i,shouldDisableYear:a,disablePast:s,disableFuture:l}=e,u=n.utils.date(void 0,r),c=A(n.utils,e.minDate,n.defaultDates.minDate),d=A(n.utils,e.maxDate,n.defaultDates.maxDate);switch(!0){case!n.utils.isValid(t):return"invalidDate";case!!(o&&o(t)):return"shouldDisableDate";case!!(i&&i(t)):return"shouldDisableMonth";case!!(a&&a(t)):return"shouldDisableYear";case!!(l&&n.utils.isAfterDay(t,u)):return"disableFuture";case!!(s&&n.utils.isBeforeDay(t,u)):return"disablePast";case!!(c&&n.utils.isBeforeDay(t,c)):return"minDate";case!!(d&&n.utils.isAfterDay(t,d)):return"maxDate";default:return null}};eX.valueManager=ev;var e0=r(82963),e1=r(19189),e2=r(31944),e3=r(35899),e5=r(2273),e4=r(14744);function e6(e){return(0,eR.ZP)("MuiInputAdornment",e)}let e8=(0,eI.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),e9=e=>{let{classes:t,disablePointerEvents:r,hiddenLabel:n,position:o,size:i,variant:a}=e,s={root:["root",r&&"disablePointerEvents",o&&"position".concat((0,e1.Z)(o)),a,n&&"hiddenLabel",i&&"size".concat((0,e1.Z)(i))]};return(0,ek.Z)(s,e6,t)},e7=(0,eA.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["position".concat((0,e1.Z)(r.position))],!0===r.disablePointerEvents&&t.disablePointerEvents,t[r.variant]]}})((0,e5.Z)(e=>{let{theme:t}=e;return{display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active,variants:[{props:{variant:"filled"},style:{["&.".concat(e8.positionStart,"&:not(.").concat(e8.hiddenLabel,")")]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}})),te=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiInputAdornment"}),{children:n,className:o,component:i="div",disablePointerEvents:a=!1,disableTypography:s=!1,position:u,variant:c,...d}=r,f=(0,e3.Z)()||{},h=c;c&&f.variant,f&&!h&&(h=f.variant);let m={...r,hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:a,position:u,variant:h},g=e9(m);return(0,eN.jsx)(e2.Z.Provider,{value:null,children:(0,eN.jsx)(e7,{as:i,ownerState:m,className:(0,eD.Z)(g.root,o),ref:t,...d,children:"string"!=typeof n||s?(0,eN.jsxs)(p.Fragment,{children:["start"===u?l||(l=(0,eN.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,n]}):(0,eN.jsx)(eP.Z,{color:"textSecondary",children:n})})})});var tt=r(92996),tr=tt.Z,tn=r(3318),to=r(62657),ti=r(20650),ta=r(37340),ts=r(70917);function tl(e){return(0,eR.ZP)("MuiCircularProgress",e)}function tu(){let e=(0,ta._)(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"]);return tu=function(){return e},e}function tc(){let e=(0,ta._)(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: -126px;\n }\n"]);return tc=function(){return e},e}function td(){let e=(0,ta._)(["\n animation: "," 1.4s linear infinite;\n "]);return td=function(){return e},e}function tp(){let e=(0,ta._)(["\n animation: "," 1.4s ease-in-out infinite;\n "]);return tp=function(){return e},e}(0,eI.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);let tf=(0,ts.F4)(tu()),th=(0,ts.F4)(tc()),tm="string"!=typeof tf?(0,ts.iv)(td(),tf):null,tg="string"!=typeof th?(0,ts.iv)(tp(),th):null,ty=e=>{let{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,"color".concat((0,e1.Z)(n))],svg:["svg"],circle:["circle","circle".concat((0,e1.Z)(r)),o&&"circleDisableShrink"]};return(0,ek.Z)(i,tl,t)},tv=(0,eA.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t["color".concat((0,e1.Z)(r.color))]]}})((0,e5.Z)(e=>{let{theme:t}=e;return{display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:tm||{animation:"".concat(tf," 1.4s linear infinite")}},...Object.entries(t.palette).filter((0,to.Z)()).map(e=>{let[r]=e;return{props:{color:r},style:{color:(t.vars||t).palette[r].main}}})]}})),tb=(0,eA.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),tw=(0,eA.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.circle,t["circle".concat((0,e1.Z)(r.variant))],r.disableShrink&&t.circleDisableShrink]}})((0,e5.Z)(e=>{let{theme:t}=e;return{stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&!t.disableShrink},style:tg||{animation:"".concat(th," 1.4s ease-in-out infinite")}}]}})),tE=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiCircularProgress"}),{className:n,color:o="primary",disableShrink:i=!1,size:a=40,style:s,thickness:l=3.6,value:u=0,variant:c="indeterminate",...d}=r,p={...r,color:o,disableShrink:i,size:a,thickness:l,value:u,variant:c},f=ty(p),h={},m={},g={};if("determinate"===c){let e=2*Math.PI*((44-l)/2);h.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(u),h.strokeDashoffset="".concat(((100-u)/100*e).toFixed(3),"px"),m.transform="rotate(-90deg)"}return(0,eN.jsx)(tv,{className:(0,eD.Z)(f.root,n),style:{width:a,height:a,...m,...s},ownerState:p,ref:t,role:"progressbar",...g,...d,children:(0,eN.jsx)(tb,{className:f.svg,ownerState:p,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44),children:(0,eN.jsx)(tw,{className:f.circle,style:h,ownerState:p,cx:44,cy:44,r:(44-l)/2,fill:"none",strokeWidth:l})})})});function tx(e){return(0,eR.ZP)("MuiIconButton",e)}let tS=(0,eI.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),tC=e=>{let{classes:t,disabled:r,color:n,edge:o,size:i,loading:a}=e,s={root:["root",a&&"loading",r&&"disabled","default"!==n&&"color".concat((0,e1.Z)(n)),o&&"edge".concat((0,e1.Z)(o)),"size".concat((0,e1.Z)(i))],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return(0,ek.Z)(s,tx,t)},tO=(0,eA.ZP)(ti.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.loading&&t.loading,"default"!==r.color&&t["color".concat((0,e1.Z)(r.color))],r.edge&&t["edge".concat((0,e1.Z)(r.edge))],t["size".concat((0,e1.Z)(r.size))]]}})((0,e5.Z)(e=>{let{theme:t}=e;return{textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,tn.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]}}),(0,e5.Z)(e=>{let{theme:t}=e;return{variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter((0,to.Z)()).map(e=>{let[r]=e;return{props:{color:r},style:{color:(t.vars||t).palette[r].main}}}),...Object.entries(t.palette).filter((0,to.Z)()).map(e=>{let[r]=e;return{props:{color:r},style:{"--IconButton-hoverBg":t.vars?"rgba(".concat((t.vars||t).palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,tn.Fq)((t.vars||t).palette[r].main,t.palette.action.hoverOpacity)}}}),{props:{size:"small"},style:{padding:5,fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:t.typography.pxToRem(28)}}],["&.".concat(tS.disabled)]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled},["&.".concat(tS.loading)]:{color:"transparent"}}})),tT=(0,eA.ZP)("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(e=>{let{theme:t}=e;return{display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(t.vars||t).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]}}),tD=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiIconButton"}),{edge:n=!1,children:o,className:i,color:a="default",disabled:s=!1,disableFocusRipple:l=!1,size:u="medium",id:c,loading:d=null,loadingIndicator:p,...f}=r,h=tr(c),m=null!=p?p:(0,eN.jsx)(tE,{"aria-labelledby":h,color:"inherit",size:16}),g={...r,edge:n,color:a,disabled:s,disableFocusRipple:l,loading:d,loadingIndicator:m,size:u},y=tC(g);return(0,eN.jsxs)(tO,{id:d?h:c,className:(0,eD.Z)(y.root,i),centerRipple:!0,focusRipple:!l,disabled:s||d,ref:t,...f,ownerState:g,children:["boolean"==typeof d&&(0,eN.jsx)("span",{className:y.loadingWrapper,style:{display:"contents"},children:(0,eN.jsx)(tT,{className:y.loadingIndicator,ownerState:g,children:d&&m})}),o]})});var tP=r(33703),tA=r(47032),tk=r(44749),tR=r(41762),tI=r(11614),t_=r(82690);function tN(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function tL(e){var t=tN(e).Element;return e instanceof t||e instanceof Element}function tM(e){var t=tN(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tj(e){if("undefined"==typeof ShadowRoot)return!1;var t=tN(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var tF=Math.max,tB=Math.min,tZ=Math.round;function tV(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function tq(){return!/^((?!chrome|android).)*safari/i.test(tV())}function tU(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&tM(e)&&(o=e.offsetWidth>0&&tZ(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&tZ(n.height)/e.offsetHeight||1);var a=(tL(e)?tN(e):window).visualViewport,s=!tq()&&r,l=(n.left+(s&&a?a.offsetLeft:0))/o,u=(n.top+(s&&a?a.offsetTop:0))/i,c=n.width/o,d=n.height/i;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function tz(e){var t=tN(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function t$(e){return e?(e.nodeName||"").toLowerCase():null}function tH(e){return((tL(e)?e.ownerDocument:e.document)||window.document).documentElement}function tG(e){return tU(tH(e)).left+tz(e).scrollLeft}function tW(e){return tN(e).getComputedStyle(e)}function tK(e){var t=tW(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function tY(e){var t=tU(e),r=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function tQ(e){return"html"===t$(e)?e:e.assignedSlot||e.parentNode||(tj(e)?e.host:null)||tH(e)}function tJ(e,t){void 0===t&&(t=[]);var r,n=function e(t){return["html","body","#document"].indexOf(t$(t))>=0?t.ownerDocument.body:tM(t)&&tK(t)?t:e(tQ(t))}(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=tN(n),a=o?[i].concat(i.visualViewport||[],tK(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(tJ(tQ(a)))}function tX(e){return tM(e)&&"fixed"!==tW(e).position?e.offsetParent:null}function t0(e){for(var t=tN(e),r=tX(e);r&&["table","td","th"].indexOf(t$(r))>=0&&"static"===tW(r).position;)r=tX(r);return r&&("html"===t$(r)||"body"===t$(r)&&"static"===tW(r).position)?t:r||function(e){var t=/firefox/i.test(tV());if(/Trident/i.test(tV())&&tM(e)&&"fixed"===tW(e).position)return null;var r=tQ(e);for(tj(r)&&(r=r.host);tM(r)&&0>["html","body"].indexOf(t$(r));){var n=tW(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var t1="bottom",t2="right",t3="left",t5="auto",t4=["top",t1,t2,t3],t6="start",t8="viewport",t9="popper",t7=t4.reduce(function(e,t){return e.concat([t+"-"+t6,t+"-end"])},[]),re=[].concat(t4,[t5]).reduce(function(e,t){return e.concat([t,t+"-"+t6,t+"-end"])},[]),rt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],rr={placement:"bottom",modifiers:[],strategy:"absolute"};function rn(){for(var e=arguments.length,t=Array(e),r=0;r=0?"x":"y"}function rl(e){var t,r=e.reference,n=e.element,o=e.placement,i=o?ri(o):null,a=o?ra(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(i){case"top":t={x:s,y:r.y-n.height};break;case t1:t={x:s,y:r.y+r.height};break;case t2:t={x:r.x+r.width,y:l};break;case t3:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var u=i?rs(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case t6:t[u]=t[u]-(r[c]/2-n[c]/2);break;case"end":t[u]=t[u]+(r[c]/2-n[c]/2)}}return t}var ru={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rc(e){var t,r,n,o,i,a,s,l=e.popper,u=e.popperRect,c=e.placement,d=e.variation,p=e.offsets,f=e.position,h=e.gpuAcceleration,m=e.adaptive,g=e.roundOffsets,y=e.isFixed,v=p.x,b=void 0===v?0:v,w=p.y,E=void 0===w?0:w,x="function"==typeof g?g({x:b,y:E}):{x:b,y:E};b=x.x,E=x.y;var S=p.hasOwnProperty("x"),C=p.hasOwnProperty("y"),O=t3,T="top",D=window;if(m){var P=t0(l),A="clientHeight",k="clientWidth";P===tN(l)&&"static"!==tW(P=tH(l)).position&&"absolute"===f&&(A="scrollHeight",k="scrollWidth"),("top"===c||(c===t3||c===t2)&&"end"===d)&&(T=t1,E-=(y&&P===D&&D.visualViewport?D.visualViewport.height:P[A])-u.height,E*=h?1:-1),(c===t3||("top"===c||c===t1)&&"end"===d)&&(O=t2,b-=(y&&P===D&&D.visualViewport?D.visualViewport.width:P[k])-u.width,b*=h?1:-1)}var R=Object.assign({position:f},m&&ru),I=!0===g?(t={x:b,y:E},r=tN(l),n=t.x,o=t.y,{x:tZ(n*(i=r.devicePixelRatio||1))/i||0,y:tZ(o*i)/i||0}):{x:b,y:E};return(b=I.x,E=I.y,h)?Object.assign({},R,((s={})[T]=C?"0":"",s[O]=S?"0":"",s.transform=1>=(D.devicePixelRatio||1)?"translate("+b+"px, "+E+"px)":"translate3d("+b+"px, "+E+"px, 0)",s)):Object.assign({},R,((a={})[T]=C?E+"px":"",a[O]=S?b+"px":"",a.transform="",a))}var rd={left:"right",right:"left",bottom:"top",top:"bottom"};function rp(e){return e.replace(/left|right|bottom|top/g,function(e){return rd[e]})}var rf={start:"end",end:"start"};function rh(e){return e.replace(/start|end/g,function(e){return rf[e]})}function rm(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&tj(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function rg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ry(e,t,r){var n,o,i,a,s,l,u,c,d,p;return t===t8?rg(function(e,t){var r=tN(e),n=tH(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var u=tq();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+tG(e),y:l}}(e,r)):tL(t)?((n=tU(t,!1,"fixed"===r)).top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n):rg((o=tH(e),a=tH(o),s=tz(o),l=null==(i=o.ownerDocument)?void 0:i.body,u=tF(a.scrollWidth,a.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),c=tF(a.scrollHeight,a.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),d=-s.scrollLeft+tG(o),p=-s.scrollTop,"rtl"===tW(l||a).direction&&(d+=tF(a.clientWidth,l?l.clientWidth:0)-u),{width:u,height:c,x:d,y:p}))}function rv(){return{top:0,right:0,bottom:0,left:0}}function rb(e){return Object.assign({},rv(),e)}function rw(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function rE(e,t){void 0===t&&(t={});var r,n,o,i,a,s,l,u,c=t,d=c.placement,p=void 0===d?e.placement:d,f=c.strategy,h=void 0===f?e.strategy:f,m=c.boundary,g=c.rootBoundary,y=c.elementContext,v=void 0===y?t9:y,b=c.altBoundary,w=c.padding,E=void 0===w?0:w,x=rb("number"!=typeof E?E:rw(E,t4)),S=e.rects.popper,C=e.elements[void 0!==b&&b?v===t9?"reference":t9:v],O=(r=tL(C)?C:C.contextElement||tH(e.elements.popper),n=void 0===m?"clippingParents":m,o=void 0===g?t8:g,l=(s=[].concat("clippingParents"===n?(i=tJ(tQ(r)),tL(a=["absolute","fixed"].indexOf(tW(r).position)>=0&&tM(r)?t0(r):r)?i.filter(function(e){return tL(e)&&rm(e,a)&&"body"!==t$(e)}):[]):[].concat(n),[o]))[0],(u=s.reduce(function(e,t){var n=ry(r,t,h);return e.top=tF(n.top,e.top),e.right=tB(n.right,e.right),e.bottom=tB(n.bottom,e.bottom),e.left=tF(n.left,e.left),e},ry(r,l,h))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),T=tU(e.elements.reference),D=rl({reference:T,element:S,strategy:"absolute",placement:p}),P=rg(Object.assign({},S,D)),A=v===t9?P:T,k={top:O.top-A.top+x.top,bottom:A.bottom-O.bottom+x.bottom,left:O.left-A.left+x.left,right:A.right-O.right+x.right},R=e.modifiersData.offset;if(v===t9&&R){var I=R[p];Object.keys(k).forEach(function(e){var t=[t2,t1].indexOf(e)>=0?1:-1,r=["top",t1].indexOf(e)>=0?"y":"x";k[e]+=I[r]*t})}return k}function rx(e,t,r){return tF(e,tB(t,r))}function rS(e,t,r){return void 0===r&&(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 rC(e){return["top",t2,t1,t3].some(function(t){return e[t]>=0})}var rO=(i=void 0===(o=(n={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=void 0===o||o,a=n.resize,s=void 0===a||a,l=tN(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",r.update,ro)}),s&&l.addEventListener("resize",r.update,ro),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",r.update,ro)}),s&&l.removeEventListener("resize",r.update,ro)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=rl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=r.adaptive,i=r.roundOffsets,a=void 0===i||i,s={placement:ri(t.placement),variation:ra(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===n||n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,rc(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,rc(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];tM(o)&&t$(o)&&(Object.assign(o.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(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(e){var n=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});tM(n)&&t$(n)&&(Object.assign(n.style,i),Object.keys(o).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=void 0===o?[0,0]:o,a=re.reduce(function(e,r){var n,o,a,s,l,u;return e[r]=(n=t.rects,a=[t3,"top"].indexOf(o=ri(r))>=0?-1:1,l=(s="function"==typeof i?i(Object.assign({},n,{placement:r})):i)[0],u=s[1],l=l||0,u=(u||0)*a,[t3,t2].indexOf(o)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0===a||a,l=r.fallbackPlacements,u=r.padding,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,f=r.flipVariations,h=void 0===f||f,m=r.allowedAutoPlacements,g=t.options.placement,y=ri(g)===g,v=l||(y||!h?[rp(g)]:function(e){if(ri(e)===t5)return[];var t=rp(e);return[rh(e),t,rh(t)]}(g)),b=[g].concat(v).reduce(function(e,r){var n,o,i,a,s,l,p,f,g,y,v,b;return e.concat(ri(r)===t5?(o=(n={placement:r,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}).placement,i=n.boundary,a=n.rootBoundary,s=n.padding,l=n.flipVariations,f=void 0===(p=n.allowedAutoPlacements)?re:p,0===(v=(y=(g=ra(o))?l?t7:t7.filter(function(e){return ra(e)===g}):t4).filter(function(e){return f.indexOf(e)>=0})).length&&(v=y),Object.keys(b=v.reduce(function(e,r){return e[r]=rE(t,{placement:r,boundary:i,rootBoundary:a,padding:s})[ri(r)],e},{})).sort(function(e,t){return b[e]-b[t]})):r)},[]),w=t.rects.reference,E=t.rects.popper,x=new Map,S=!0,C=b[0],O=0;O=0,k=A?"width":"height",R=rE(t,{placement:T,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),I=A?P?t2:t3:P?t1:"top";w[k]>E[k]&&(I=rp(I));var _=rp(I),N=[];if(i&&N.push(R[D]<=0),s&&N.push(R[I]<=0,R[_]<=0),N.every(function(e){return e})){C=T,S=!1;break}x.set(T,N)}if(S)for(var L=h?3:1,M=function(e){var t=b.find(function(t){var r=x.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},j=L;j>0&&"break"!==M(j);j--);t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=r.altAxis,a=r.boundary,s=r.rootBoundary,l=r.altBoundary,u=r.padding,c=r.tether,d=void 0===c||c,p=r.tetherOffset,f=void 0===p?0:p,h=rE(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:l}),m=ri(t.placement),g=ra(t.placement),y=!g,v=rs(m),b="x"===v?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,x=t.rects.popper,S="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,C="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(w){if(void 0===o||o){var D,P="y"===v?"top":t3,A="y"===v?t1:t2,k="y"===v?"height":"width",R=w[v],I=R+h[P],_=R-h[A],N=d?-x[k]/2:0,L=g===t6?E[k]:x[k],M=g===t6?-x[k]:-E[k],j=t.elements.arrow,F=d&&j?tY(j):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:rv(),Z=B[P],V=B[A],q=rx(0,E[k],F[k]),U=y?E[k]/2-N-q-Z-C.mainAxis:L-q-Z-C.mainAxis,z=y?-E[k]/2+N+q+V+C.mainAxis:M+q+V+C.mainAxis,$=t.elements.arrow&&t0(t.elements.arrow),H=$?"y"===v?$.clientTop||0:$.clientLeft||0:0,G=null!=(D=null==O?void 0:O[v])?D:0,W=rx(d?tB(I,R+U-G-H):I,R,d?tF(_,R+z-G):_);w[v]=W,T[v]=W-R}if(void 0!==i&&i){var K,Y,Q="x"===v?"top":t3,J="x"===v?t1:t2,X=w[b],ee="y"===b?"height":"width",et=X+h[Q],er=X-h[J],en=-1!==["top",t3].indexOf(m),eo=null!=(Y=null==O?void 0:O[b])?Y:0,ei=en?et:X-E[ee]-x[ee]-eo+C.altAxis,ea=en?X+E[ee]+x[ee]-eo-C.altAxis:er,es=d&&en?(K=rx(ei,X,ea))>ea?ea:K:rx(d?ei:et,X,d?ea:er);w[b]=es,T[b]=es-X}t.modifiersData[n]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r,n=e.state,o=e.name,i=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,l=ri(n.placement),u=rs(l),c=[t3,t2].indexOf(l)>=0?"height":"width";if(a&&s){var d=rb("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:rw(t,t4)),p=tY(a),f="y"===u?"top":t3,h="y"===u?t1:t2,m=n.rects.reference[c]+n.rects.reference[u]-s[u]-n.rects.popper[c],g=s[u]-n.rects.reference[u],y=t0(a),v=y?"y"===u?y.clientHeight||0:y.clientWidth||0:0,b=d[f],w=v-p[c]-d[h],E=v/2-p[c]/2+(m/2-g/2),x=rx(b,E,w);n.modifiersData[o]=((r={})[u]=x,r.centerOffset=x-E,r)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&rm(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=rE(t,{elementContext:"reference"}),s=rE(t,{altBoundary:!0}),l=rS(a,n),u=rS(s,o,i),c=rC(l),d=rC(u);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:o,s=void 0===(a=n.defaultOptions)?rr:a,function(e,t,r){void 0===r&&(r=s);var n,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},rr,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,c={state:a,setOptions:function(r){var n,o,u,p,f,h="function"==typeof r?r(a.options):r;d(),a.options=Object.assign({},s,a.options,h),a.scrollParents={reference:tL(e)?tJ(e):e.contextElement?tJ(e.contextElement):[],popper:tJ(t)};var m=(o=Object.keys(n=[].concat(i,a.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return n[e]}),u=new Map,p=new Set,f=[],o.forEach(function(e){u.set(e.name,e)}),o.forEach(function(e){p.has(e.name)||function e(t){p.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!p.has(t)){var r=u.get(t);r&&e(r)}}),f.push(t)}(e)}),rt.reduce(function(e,t){return e.concat(f.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=m.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=e.effect;if("function"==typeof n){var o=n({state:a,name:t,instance:c,options:void 0===r?{}:r});l.push(o||function(){})}}),c.update()},forceUpdate:function(){if(!u){var e,t,r,n,o,i,s,l,d,p,f,h,m=a.elements,g=m.reference,y=m.popper;if(rn(g,y)){a.rects={reference:(t=t0(y),r="fixed"===a.options.strategy,n=tM(t),l=tM(t)&&(i=tZ((o=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=tZ(o.height)/t.offsetHeight||1,1!==i||1!==s),d=tH(t),p=tU(g,l,r),f={scrollLeft:0,scrollTop:0},h={x:0,y:0},(n||!n&&!r)&&(("body"!==t$(t)||tK(d))&&(f=(e=t)!==tN(e)&&tM(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:tz(e)),tM(t)?(h=tU(t,!0),h.x+=t.clientLeft,h.y+=t.clientTop):d&&(h.x=tG(d))),{x:p.left+f.scrollLeft-h.x,y:p.top+f.scrollTop-h.y,width:p.width,height:p.height}),popper:tY(y)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var v=0;v{let{classes:t}=e;return(0,ek.Z)({root:["root"]},rD,t)},rk={},rR=p.forwardRef(function(e,t){var r;let{anchorEl:n,children:o,direction:i,disablePortal:a,modifiers:s,open:l,placement:u,popperOptions:c,popperRef:d,slotProps:f={},slots:m={},TransitionProps:g,ownerState:y,...v}=e,b=p.useRef(null),w=(0,tP.Z)(b,t),E=p.useRef(null),x=(0,tP.Z)(E,d),S=p.useRef(x);(0,h.Z)(()=>{S.current=x},[x]),p.useImperativeHandle(d,()=>E.current,[]);let C=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,i),[O,T]=p.useState(C),[D,P]=p.useState(rP(n));p.useEffect(()=>{E.current&&E.current.forceUpdate()}),p.useEffect(()=>{n&&P(rP(n))},[n]),(0,h.Z)(()=>{if(!D||!l)return;let e=e=>{T(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:t=>{let{state:r}=t;e(r)}}];null!=s&&(t=t.concat(s)),c&&null!=c.modifiers&&(t=t.concat(c.modifiers));let r=rO(D,b.current,{placement:C,...c,modifiers:t});return S.current(r),()=>{r.destroy(),S.current(null)}},[D,a,s,l,c,C]);let A={placement:O};null!==g&&(A.TransitionProps=g);let k=rA(e),R=null!==(r=m.root)&&void 0!==r?r:"div",I=(0,e0.Z)({elementType:R,externalSlotProps:f.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:k.root});return(0,eN.jsx)(R,{...I,children:"function"==typeof o?o(A):o})}),rI=p.forwardRef(function(e,t){let r;let{anchorEl:n,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:u,open:c,placement:d="bottom",popperOptions:f=rk,popperRef:h,style:m,transition:g=!1,slotProps:y={},slots:v={},...b}=e,[w,E]=p.useState(!0);if(!l&&!c&&(!g||w))return null;if(i)r=i;else if(n){let e=rP(n);r=e&&void 0!==e.nodeType?(0,t_.Z)(e).body:(0,t_.Z)(null).body}let x=!c&&l&&(!g||w)?"none":void 0,S=g?{in:c,onEnter:()=>{E(!1)},onExited:()=>{E(!0)}}:void 0;return(0,eN.jsx)(rT.Z,{disablePortal:s,container:r,children:(0,eN.jsx)(rR,{anchorEl:n,direction:a,disablePortal:s,modifiers:u,ref:t,open:g?!w:c,placement:d,popperOptions:f,popperRef:h,slotProps:y,slots:v,...b,style:{position:"fixed",top:0,left:0,display:x,...m},TransitionProps:S,children:o})})}),r_=(0,eA.ZP)(rI,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),rN=p.forwardRef(function(e,t){var r;let n=(0,tI.V)(),{anchorEl:o,component:i,components:a,componentsProps:s,container:l,disablePortal:u,keepMounted:c,modifiers:d,open:p,placement:f,popperOptions:h,popperRef:m,transition:g,slots:y,slotProps:v,...b}=(0,e4.i)({props:e,name:"MuiPopper"}),w=null!==(r=null==y?void 0:y.root)&&void 0!==r?r:null==a?void 0:a.Root,E={anchorEl:o,container:l,disablePortal:u,keepMounted:c,modifiers:d,open:p,placement:f,popperOptions:h,popperRef:m,transition:g,...b};return(0,eN.jsx)(r_,{as:i,direction:n?"rtl":"ltr",slots:{root:w},slotProps:null!=v?v:s,...E,ref:t})});var rL=r(30387),rM=r(59948);function rj(e){return(0,eR.ZP)("MuiPickersPopper",e)}(0,eI.Z)("MuiPickersPopper",["root","paper"]);let rF=(e,t)=>r=>{("Enter"===r.key||" "===r.key)&&(e(r),r.preventDefault(),r.stopPropagation()),t&&t(r)},rB=(e=document)=>{let t=e.activeElement;return t?t.shadowRoot?rB(t.shadowRoot):t:null},rZ="undefined"!=typeof navigator&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),rV=rZ&&rZ[1]?parseInt(rZ[1],10):null,rq=rZ&&rZ[2]?parseInt(rZ[2],10):null,rU=rV&&rV<10||rq&&rq<13||!1,rz=()=>b("@media (prefers-reduced-motion: reduce)",{defaultMatches:!1})||rU,r$=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],rH=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"],paper:["paper"]},rj,t)},rG=(0,eA.ZP)(rN,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({zIndex:e.zIndex.modal})),rW=(0,eA.ZP)(tR.Z,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,t)=>t.paper})({outline:0,transformOrigin:"top center",variants:[{props:({placement:e})=>["top","top-start","top-end"].includes(e),style:{transformOrigin:"bottom center"}}]}),rK=p.forwardRef((e,t)=>{let{PaperComponent:r,popperPlacement:n,ownerState:o,children:i,paperSlotProps:a,paperClasses:s,onPaperClick:l,onPaperTouchStart:u}=e,p=(0,d.Z)(e,r$),f=(0,c.Z)({},o,{placement:n}),h=(0,e0.Z)({elementType:r,externalSlotProps:a,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:s,ownerState:f});return(0,eN.jsx)(r,(0,c.Z)({},p,h,{onClick:e=>{l(e),h.onClick?.(e)},onTouchStart:e=>{u(e),h.onTouchStart?.(e)},ownerState:f,children:i}))});function rY(e){let t=(0,w.Z)({props:e,name:"MuiPickersPopper"}),{anchorEl:r,children:n,containerRef:o=null,shouldRestoreFocus:i,onBlur:a,onDismiss:s,open:l,role:u,placement:d,slots:f,slotProps:h,reduceAnimations:m}=t;p.useEffect(()=>{function e(e){l&&"Escape"===e.key&&s()}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[s,l]);let g=p.useRef(null);p.useEffect(()=>{"tooltip"!==u&&(!i||i())&&(l?g.current=rB(document):g.current&&g.current instanceof HTMLElement&&setTimeout(()=>{g.current instanceof HTMLElement&&g.current.focus()}))},[l,u,i]);let[y,v,b]=function(e,t){let r=p.useRef(!1),n=p.useRef(!1),o=p.useRef(null),i=p.useRef(!1);p.useEffect(()=>{if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),()=>{document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),i.current=!1};function t(){i.current=!0}},[e]);let a=(0,rM.Z)(e=>{if(!i.current)return;let a=n.current;n.current=!1;let s=(0,t_.Z)(o.current);if(o.current&&(!("clientX"in e)||!(s.documentElement.clientWidth-1:!s.documentElement.contains(e.target)||o.current.contains(e.target))||a||t(e)}}),s=()=>{n.current=!0};return p.useEffect(()=>{if(e){let e=(0,t_.Z)(o.current),t=()=>{r.current=!0};return e.addEventListener("touchstart",a),e.addEventListener("touchmove",t),()=>{e.removeEventListener("touchstart",a),e.removeEventListener("touchmove",t)}}},[e,a]),p.useEffect(()=>{if(e){let e=(0,t_.Z)(o.current);return e.addEventListener("click",a),()=>{e.removeEventListener("click",a),n.current=!1}}},[e,a]),[o,s,s]}(l,a??s),E=p.useRef(null),x=(0,tP.Z)(E,o),S=(0,tP.Z)(x,y),C=rH(t),O=rz(),T=f?.desktopTransition??m??O?tk.Z:tA.Z,D=f?.desktopTrapFocus??rL.Z,P=f?.desktopPaper??rW,A=f?.popper??rG,k=(0,e0.Z)({elementType:A,externalSlotProps:h?.popper,additionalProps:{transition:!0,role:u,open:l,anchorEl:r,placement:d,onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),s())}},className:C.root,ownerState:t});return(0,eN.jsx)(A,(0,c.Z)({},k,{children:({TransitionProps:e,placement:r})=>(0,eN.jsx)(D,(0,c.Z)({open:l,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===u,isEnabled:()=>!0},h?.desktopTrapFocus,{children:(0,eN.jsx)(T,(0,c.Z)({},e,h?.desktopTransition,{children:(0,eN.jsx)(rK,{PaperComponent:P,ownerState:t,popperPlacement:r,ref:S,onPaperClick:v,onPaperTouchStart:b,paperClasses:C.paper,paperSlotProps:h?.desktopPaper,children:n})}))}))}))}let rQ=({open:e,onOpen:t,onClose:r})=>{let n=p.useRef("boolean"==typeof e).current,[o,i]=p.useState(!1);return p.useEffect(()=>{if(n){if("boolean"!=typeof e)throw Error("You must not mix controlling and uncontrolled mode for `open` prop");i(e)}},[n,e]),{isOpen:o,setIsOpen:p.useCallback(e=>{n||i(e),e&&t&&t(),!e&&r&&r()},[n,t,r])}};function rJ(e){let{props:t,validator:r,value:n,timezone:o,onError:i}=e,a=eS(),s=p.useRef(r.valueManager.defaultErrorState),l=r({adapter:a,value:n,timezone:o,props:t}),u=r.valueManager.hasError(l);return p.useEffect(()=>{i&&!r.valueManager.isSameError(l,s.current)&&i(l,n),s.current=l},[r,i,l,n]),{validationError:l,hasValidationError:u,getValidationErrorForNewValue:(0,rM.Z)(e=>r({adapter:a,value:e,timezone:o,props:t}))}}var rX=r(19032);let r0=({timezone:e,value:t,defaultValue:r,referenceDate:n,onChange:o,valueManager:i})=>{let a;let s=eC(),l=p.useRef(r),u=t??l.current??i.emptyValue,c=p.useMemo(()=>i.getTimezone(s,u),[s,i,u]),d=(0,rM.Z)(e=>null==c?e:i.setTimezone(s,c,e));return a=e||c||(n?s.getTimezone(n):"default"),{value:p.useMemo(()=>i.setTimezone(s,a,u),[i,s,a,u]),handleValueChange:(0,rM.Z)((e,...t)=>{let r=d(e);o?.(r,...t)}),timezone:a}},r1=({name:e,timezone:t,value:r,defaultValue:n,referenceDate:o,onChange:i,valueManager:a})=>{let[s,l]=(0,rX.Z)({name:e,state:"value",controlled:r,default:n??a.emptyValue});return r0({timezone:t,value:s,defaultValue:void 0,referenceDate:o,onChange:(0,rM.Z)((e,...t)=>{l(e),i?.(e,...t)}),valueManager:a})},r2=e=>{let{action:t,hasChanged:r,dateState:n,isControlled:o}=e,i=!o&&!n.hasBeenModifiedSinceMount;return"setValueFromField"===t.name||("setValueFromAction"===t.name?!!(i&&["accept","today","clear"].includes(t.pickerAction))||r(n.lastPublishedValue):("setValueFromView"===t.name&&"shallow"!==t.selectionState||"setValueFromShortcut"===t.name)&&(!!i||r(n.lastPublishedValue)))},r3=e=>{let{action:t,hasChanged:r,dateState:n,isControlled:o,closeOnSelect:i}=e,a=!o&&!n.hasBeenModifiedSinceMount;return"setValueFromAction"===t.name?!!(a&&["accept","today","clear"].includes(t.pickerAction))||r(n.lastCommittedValue):"setValueFromView"===t.name&&"finish"===t.selectionState&&i?!!a||r(n.lastCommittedValue):"setValueFromShortcut"===t.name&&"accept"===t.changeImportance&&r(n.lastCommittedValue)},r5=e=>{let{action:t,closeOnSelect:r}=e;return"setValueFromAction"===t.name||("setValueFromView"===t.name?"finish"===t.selectionState&&r:"setValueFromShortcut"===t.name&&"accept"===t.changeImportance)},r4=({props:e,valueManager:t,valueType:r,wrapperVariant:n,validator:o})=>{let{onAccept:i,onChange:a,value:s,defaultValue:l,closeOnSelect:u="desktop"===n,timezone:d,referenceDate:f}=e,{current:h}=p.useRef(l),{current:m}=p.useRef(void 0!==s),[g,y]=p.useState(d),v=eC(),b=eS(),{isOpen:w,setIsOpen:E}=rQ(e),{timezone:x,value:S,handleValueChange:C}=r0({timezone:d,value:s,defaultValue:h,referenceDate:f,onChange:a,valueManager:t}),[O,T]=p.useState(()=>{let e;return{draft:e=void 0!==S?S:void 0!==h?h:t.emptyValue,lastPublishedValue:e,lastCommittedValue:e,lastControlledValue:s,hasBeenModifiedSinceMount:!1}}),D=t.getTimezone(v,O.draft);g!==d&&(y(d),d&&D&&d!==D&&T(e=>(0,c.Z)({},e,{draft:t.setTimezone(v,d,e.draft)})));let{getValidationErrorForNewValue:P}=rJ({props:e,validator:o,timezone:x,value:O.draft,onError:e.onError}),A=(0,rM.Z)(e=>{let r={action:e,dateState:O,hasChanged:r=>!t.areValuesEqual(v,e.value,r),isControlled:m,closeOnSelect:u},n=r2(r),o=r3(r),a=r5(r);T(t=>(0,c.Z)({},t,{draft:e.value,lastPublishedValue:n?e.value:t.lastPublishedValue,lastCommittedValue:o?e.value:t.lastCommittedValue,hasBeenModifiedSinceMount:!0}));let s=null,l=()=>(s||(s={validationError:"setValueFromField"===e.name?e.context.validationError:P(e.value)},"setValueFromShortcut"!==e.name||(s.shortcut=e.shortcut)),s);n&&C(e.value,l()),o&&i&&i(e.value,l()),a&&E(!1)});if(O.lastControlledValue!==s){let e=t.areValuesEqual(v,O.draft,S);T(t=>(0,c.Z)({},t,{lastControlledValue:s},e?{}:{lastCommittedValue:S,lastPublishedValue:S,draft:S,hasBeenModifiedSinceMount:!0}))}let k=(0,rM.Z)(()=>{A({value:t.emptyValue,name:"setValueFromAction",pickerAction:"clear"})}),R=(0,rM.Z)(()=>{A({value:O.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})}),I=(0,rM.Z)(()=>{A({value:O.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})}),_=(0,rM.Z)(()=>{A({value:O.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})}),N=(0,rM.Z)(()=>{A({value:t.getTodayValue(v,x,r),name:"setValueFromAction",pickerAction:"today"})}),L=(0,rM.Z)(e=>{e.preventDefault(),E(!0)}),M=(0,rM.Z)(e=>{e?.preventDefault(),E(!1)}),j=(0,rM.Z)((e,t="partial")=>A({name:"setValueFromView",value:e,selectionState:t})),F=(0,rM.Z)((e,t,r)=>A({name:"setValueFromShortcut",value:e,changeImportance:t,shortcut:r})),B=(0,rM.Z)((e,t)=>A({name:"setValueFromField",value:e,context:t})),Z={onClear:k,onAccept:R,onDismiss:I,onCancel:_,onSetToday:N,onOpen:L,onClose:M},V={value:O.draft,onChange:B},q=p.useMemo(()=>t.cleanValue(v,O.draft),[v,t,O.draft]),U=(0,c.Z)({},Z,{value:q,onChange:j,onSelectShortcut:F,isValid:r=>{let n=o({adapter:b,value:r,timezone:x,props:e});return!t.hasError(n)}}),z=p.useMemo(()=>({onOpen:L,onClose:M,open:w}),[w,M,L]);return{open:w,fieldProps:V,viewProps:{value:q,onChange:j,onClose:M,open:w},layoutProps:U,actions:Z,contextValue:z}};function r6({onChange:e,onViewChange:t,openTo:r,view:n,views:o,autoFocus:i,focusedView:a,onFocusedViewChange:s}){let l=p.useRef(r),u=p.useRef(o),c=p.useRef(o.includes(r)?r:o[0]),[d,f]=(0,rX.Z)({name:"useViews",state:"view",controlled:n,default:c.current}),h=p.useRef(i?d:null),[m,g]=(0,rX.Z)({name:"useViews",state:"focusedView",controlled:a,default:h.current});p.useEffect(()=>{(l.current&&l.current!==r||u.current&&u.current.some(e=>!o.includes(e)))&&(f(o.includes(r)?r:o[0]),u.current=o,l.current=r)},[r,f,d,o]);let y=o.indexOf(d),v=o[y-1]??null,b=o[y+1]??null,w=(0,rM.Z)((e,t)=>{t?g(e):g(t=>e===t?null:t),s?.(e,t)}),E=(0,rM.Z)(e=>{w(e,!0),e!==d&&(f(e),t&&t(e))}),x=(0,rM.Z)(()=>{b&&E(b)}),S=(0,rM.Z)((t,r,n)=>{let i="finish"===r,a=n?o.indexOf(n){let{onChange:a,open:s,onClose:l}=t,{view:u,views:f,openTo:m,onViewChange:g,viewRenderers:y,timezone:v}=e,b=(0,d.Z)(e,r8),{view:w,setView:E,defaultView:x,focusedView:S,setFocusedView:C,setValueAndGoToNextView:O}=r6({view:u,views:f,openTo:m,onChange:a,onViewChange:g,autoFocus:n}),{hasUIView:T,viewModeLookup:D}=p.useMemo(()=>f.reduce((e,t)=>{let r;return r=null!=y[t]?"UI":"field",e.viewModeLookup[t]=r,"UI"===r&&(e.hasUIView=!0),e},{hasUIView:!1,viewModeLookup:{}}),[y,f]),P=p.useMemo(()=>f.reduce((e,t)=>null!=y[t]&&j(t)?e+1:e,0),[y,f]),A=D[w],k=(0,rM.Z)(()=>"UI"===A),[R,I]=p.useState("UI"===A?w:null);return R!==w&&"UI"===D[w]&&I(w),(0,h.Z)(()=>{"field"===A&&s&&(l(),setTimeout(()=>{i?.current?.setSelectedSections(w),i?.current?.focusField(w)}))},[w]),(0,h.Z)(()=>{if(!s)return;let e=w;"field"===A&&null!=R&&(e=R),e!==x&&"UI"===D[e]&&"UI"===D[x]&&(e=x),e!==w&&E(e),C(e,!0)},[s]),{hasUIView:T,shouldRestoreFocus:k,layoutProps:{views:f,view:R,onViewChange:E},renderCurrentView:()=>{if(null==R)return null;let e=y[R];if(null==e)return null;let n=(0,c.Z)({},b,r,t,{views:f,timezone:v,onChange:O,view:R,onViewChange:E,focusedView:S,onFocusedViewChange:C,showViewSwitcher:P>1,timeViewsCount:P});return o?o(y,R,n):e(n)}}},r7=p.createContext(),ne=()=>p.useContext(r7)??!1;function nt(){return"undefined"==typeof window?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait":window.orientation&&90===Math.abs(Number(window.orientation))?"landscape":"portrait"}let nr=(e,t)=>{var r;let[n,o]=p.useState(nt);return(0,h.Z)(()=>{let e=()=>{o(nt())};return window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)}},[]),(Array.isArray(r=["hours","minutes","seconds"])?!r.every(t=>-1!==e.indexOf(t)):-1===e.indexOf(r))&&"landscape"===(t||n)},nn=({props:e,propsFromPickerValue:t,propsFromPickerViews:r,wrapperVariant:n})=>{let{orientation:o}=e,i=nr(r.views,o),a=ne();return{layoutProps:(0,c.Z)({},r,t,{isLandscape:i,isRtl:a,wrapperVariant:n,disabled:e.disabled,readOnly:e.readOnly})}},no=({props:e,valueManager:t,valueType:r,wrapperVariant:n,additionalViewProps:o,validator:i,autoFocusView:a,rendererInterceptor:s,fieldRef:l})=>{let u=r4({props:e,valueManager:t,valueType:r,wrapperVariant:n,validator:i}),c=r9({props:e,additionalViewProps:o,autoFocusView:a,fieldRef:l,propsFromPickerValue:u.viewProps,rendererInterceptor:s}),d=nn({props:e,wrapperVariant:n,propsFromPickerValue:u.layoutProps,propsFromPickerViews:c.layoutProps}),f=function(e){let{props:t,pickerValueResponse:r}=e;return p.useMemo(()=>({value:r.viewProps.value,open:r.open,disabled:t.disabled??!1,readOnly:t.readOnly??!1}),[r.viewProps.value,r.open,t.disabled,t.readOnly])}({props:e,pickerValueResponse:u});return{open:u.open,actions:u.actions,fieldProps:u.fieldProps,renderCurrentView:c.renderCurrentView,hasUIView:c.hasUIView,shouldRestoreFocus:c.shouldRestoreFocus,layoutProps:d.layoutProps,contextValue:u.contextValue,ownerState:f}};function ni(e){return(0,eR.ZP)("MuiPickersLayout",e)}let na=(0,eI.Z)("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"]);var ns=r(35971),nl=r(29924);function nu(e){return(0,eR.ZP)("MuiButton",e)}let nc=(0,eI.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),nd=p.createContext({}),np=p.createContext(void 0),nf=e=>{let{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,loading:a,loadingPosition:s,classes:l}=e,u={root:["root",a&&"loading",i,"".concat(i).concat((0,e1.Z)(t)),"size".concat((0,e1.Z)(o)),"".concat(i,"Size").concat((0,e1.Z)(o)),"color".concat((0,e1.Z)(t)),r&&"disableElevation",n&&"fullWidth",a&&"loadingPosition".concat((0,e1.Z)(s))],startIcon:["icon","startIcon","iconSize".concat((0,e1.Z)(o))],endIcon:["icon","endIcon","iconSize".concat((0,e1.Z)(o))],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},c=(0,ek.Z)(u,nu,l);return{...l,...c}},nh=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],nm=(0,eA.ZP)(ti.Z,{shouldForwardProp:e=>(0,nl.Z)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t["".concat(r.variant).concat((0,e1.Z)(r.color))],t["size".concat((0,e1.Z)(r.size))],t["".concat(r.variant,"Size").concat((0,e1.Z)(r.size))],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})((0,e5.Z)(e=>{let{theme:t}=e,r="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],n="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},["&.".concat(nc.disabled)]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},["&.".concat(nc.focusVisible)]:{boxShadow:(t.vars||t).shadows[6]},["&.".concat(nc.disabled)]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",["&.".concat(nc.disabled)]:{border:"1px solid ".concat((t.vars||t).palette.action.disabledBackground)}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter((0,to.Z)()).map(e=>{let[r]=e;return{props:{color:r},style:{"--variant-textColor":(t.vars||t).palette[r].main,"--variant-outlinedColor":(t.vars||t).palette[r].main,"--variant-outlinedBorder":t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / 0.5)"):(0,tn.Fq)(t.palette[r].main,.5),"--variant-containedColor":(t.vars||t).palette[r].contrastText,"--variant-containedBg":(t.vars||t).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[r].dark,"--variant-textBg":t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,tn.Fq)(t.palette[r].main,t.palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[r].main,"--variant-outlinedBg":t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,tn.Fq)(t.palette[r].main,t.palette.action.hoverOpacity)}}}}}),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:r,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,tn.Fq)(t.palette.text.primary,t.palette.action.hoverOpacity),"--variant-outlinedBg":t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,tn.Fq)(t.palette.text.primary,t.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},["&.".concat(nc.focusVisible)]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&.".concat(nc.disabled)]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),["&.".concat(nc.loading)]:{color:"transparent"}}}]}})),ng=(0,eA.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t["iconSize".concat((0,e1.Z)(r.size))]]}})(e=>{let{theme:t}=e;return{display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...nh]}}),ny=(0,eA.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t["iconSize".concat((0,e1.Z)(r.size))]]}})(e=>{let{theme:t}=e;return{display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...nh]}}),nv=(0,eA.ZP)("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(e=>{let{theme:t}=e;return{display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]}}),nb=(0,eA.ZP)("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),nw=p.forwardRef(function(e,t){let r=p.useContext(nd),n=p.useContext(np),o=(0,ns.Z)(r,e),i=(0,e4.i)({props:o,name:"MuiButton"}),{children:a,color:s="primary",component:l="button",className:u,disabled:c=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:h,focusVisibleClassName:m,fullWidth:g=!1,id:y,loading:v=null,loadingIndicator:b,loadingPosition:w="center",size:E="medium",startIcon:x,type:S,variant:C="text",...O}=i,T=tr(y),D=null!=b?b:(0,eN.jsx)(tE,{"aria-labelledby":T,color:"inherit",size:16}),P={...i,color:s,component:l,disabled:c,disableElevation:d,disableFocusRipple:f,fullWidth:g,loading:v,loadingIndicator:D,loadingPosition:w,size:E,type:S,variant:C},A=nf(P),k=(x||v&&"start"===w)&&(0,eN.jsx)(ng,{className:A.startIcon,ownerState:P,children:x||(0,eN.jsx)(nb,{className:A.loadingIconPlaceholder,ownerState:P})}),R=(h||v&&"end"===w)&&(0,eN.jsx)(ny,{className:A.endIcon,ownerState:P,children:h||(0,eN.jsx)(nb,{className:A.loadingIconPlaceholder,ownerState:P})}),I="boolean"==typeof v?(0,eN.jsx)("span",{className:A.loadingWrapper,style:{display:"contents"},children:v&&(0,eN.jsx)(nv,{className:A.loadingIndicator,ownerState:P,children:D})}):null;return(0,eN.jsxs)(nm,{ownerState:P,className:(0,eD.Z)(r.className,A.root,u,n||""),component:l,disabled:c||v,focusRipple:!f,focusVisibleClassName:(0,eD.Z)(A.focusVisible,m),ref:t,type:S,id:v?T:y,...O,classes:A,children:[k,"end"!==w&&I,a,"end"===w&&I,R]})});function nE(e){return(0,eR.ZP)("MuiDialogActions",e)}(0,eI.Z)("MuiDialogActions",["root","spacing"]);let nx=e=>{let{classes:t,disableSpacing:r}=e;return(0,ek.Z)({root:["root",!r&&"spacing"]},nE,t)},nS=(0,eA.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:e=>{let{ownerState:t}=e;return!t.disableSpacing},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),nC=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiDialogActions"}),{className:n,disableSpacing:o=!1,...i}=r,a={...r,disableSpacing:o},s=nx(a);return(0,eN.jsx)(nS,{className:(0,eD.Z)(s.root,n),ownerState:a,ref:t,...i})}),nO=["onAccept","onClear","onCancel","onSetToday","actions"];function nT(e){let{onAccept:t,onClear:r,onCancel:n,onSetToday:o,actions:i}=e,a=(0,d.Z)(e,nO),s=eZ();if(null==i||0===i.length)return null;let l=i?.map(e=>{switch(e){case"clear":return eN.jsx(nw,{onClick:r,children:s.clearButtonLabel},e);case"cancel":return eN.jsx(nw,{onClick:n,children:s.cancelButtonLabel},e);case"accept":return eN.jsx(nw,{onClick:t,children:s.okButtonLabel},e);case"today":return eN.jsx(nw,{onClick:o,children:s.todayButtonLabel},e);default:return null}});return(0,eN.jsx)(nC,(0,c.Z)({},a,{children:l}))}var nD=r(27471),nP=r(64877),nA=r(43866),nk=r(90538),nR=r(25173);function nI(e){return(0,eR.ZP)("MuiListItem",e)}(0,eI.Z)("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);let n_=(0,eI.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function nN(e){return(0,eR.ZP)("MuiListItemSecondaryAction",e)}(0,eI.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);let nL=e=>{let{disableGutters:t,classes:r}=e;return(0,ek.Z)({root:["root",t&&"disableGutters"]},nN,r)},nM=(0,eA.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:e=>{let{ownerState:t}=e;return t.disableGutters},style:{right:0}}]}),nj=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiListItemSecondaryAction"}),{className:n,...o}=r,i=p.useContext(nR.Z),a={...r,disableGutters:i.disableGutters},s=nL(a);return(0,eN.jsx)(nM,{className:(0,eD.Z)(s.root,n),ownerState:a,ref:t,...o})});nj.muiName="ListItemSecondaryAction";let nF=e=>{let{alignItems:t,classes:r,dense:n,disableGutters:o,disablePadding:i,divider:a,hasSecondaryAction:s}=e;return(0,ek.Z)({root:["root",n&&"dense",!o&&"gutters",!i&&"padding",a&&"divider","flex-start"===t&&"alignItemsFlexStart",s&&"secondaryAction"],container:["container"]},nI,r)},nB=(0,eA.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.hasSecondaryAction&&t.secondaryAction]}})((0,e5.Z)(e=>{let{theme:t}=e;return{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:e=>{let{ownerState:t}=e;return!t.disablePadding},style:{paddingTop:8,paddingBottom:8}},{props:e=>{let{ownerState:t}=e;return!t.disablePadding&&t.dense},style:{paddingTop:4,paddingBottom:4}},{props:e=>{let{ownerState:t}=e;return!t.disablePadding&&!t.disableGutters},style:{paddingLeft:16,paddingRight:16}},{props:e=>{let{ownerState:t}=e;return!t.disablePadding&&!!t.secondaryAction},style:{paddingRight:48}},{props:e=>{let{ownerState:t}=e;return!!t.secondaryAction},style:{["& > .".concat(n_.root)]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:e=>{let{ownerState:t}=e;return t.divider},style:{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"}},{props:e=>{let{ownerState:t}=e;return t.button},style:{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:e=>{let{ownerState:t}=e;return t.hasSecondaryAction},style:{paddingRight:48}}]}})),nZ=(0,eA.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),nV=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiListItem"}),{alignItems:n="center",children:o,className:i,component:a,components:s={},componentsProps:l={},ContainerComponent:u="li",ContainerProps:{className:c,...d}={},dense:f=!1,disableGutters:h=!1,disablePadding:m=!1,divider:g=!1,secondaryAction:y,slotProps:v={},slots:b={},...w}=r,E=p.useContext(nR.Z),x=p.useMemo(()=>({dense:f||E.dense||!1,alignItems:n,disableGutters:h}),[n,E.dense,f,h]),S=p.useRef(null),C=p.Children.toArray(o),O=C.length&&(0,nA.Z)(C[C.length-1],["ListItemSecondaryAction"]),T={...r,alignItems:n,dense:x.dense,disableGutters:h,disablePadding:m,divider:g,hasSecondaryAction:O},D=nF(T),P=(0,nk.Z)(S,t),A=b.root||s.Root||nB,k=v.root||l.root||{},R={className:(0,eD.Z)(D.root,k.className,i),...w},I=a||"li";return O?(I=R.component||a?I:"div","li"===u&&("li"===I?I="div":"li"===R.component&&(R.component="div")),(0,eN.jsx)(nR.Z.Provider,{value:x,children:(0,eN.jsxs)(nZ,{as:u,className:(0,eD.Z)(D.container,c),ref:P,ownerState:T,...d,children:[(0,eN.jsx)(A,{...k,...!(0,nP.Z)(A)&&{as:I,ownerState:{...T,...k.ownerState}},...R,children:C}),C.pop()]})})):(0,eN.jsx)(nR.Z.Provider,{value:x,children:(0,eN.jsxs)(A,{...k,as:I,ref:P,...!(0,nP.Z)(A)&&{ownerState:{...T,...k.ownerState}},...R,children:[C,y&&(0,eN.jsx)(nj,{children:y})]})})});var nq=r(65041),nU=(0,nq.Z)((0,eN.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function nz(e){return(0,eR.ZP)("MuiChip",e)}let n$=(0,eI.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),nH=e=>{let{classes:t,disabled:r,size:n,color:o,iconColor:i,onDelete:a,clickable:s,variant:l}=e,u={root:["root",l,r&&"disabled","size".concat((0,e1.Z)(n)),"color".concat((0,e1.Z)(o)),s&&"clickable",s&&"clickableColor".concat((0,e1.Z)(o)),a&&"deletable",a&&"deletableColor".concat((0,e1.Z)(o)),"".concat(l).concat((0,e1.Z)(o))],label:["label","label".concat((0,e1.Z)(n))],avatar:["avatar","avatar".concat((0,e1.Z)(n)),"avatarColor".concat((0,e1.Z)(o))],icon:["icon","icon".concat((0,e1.Z)(n)),"iconColor".concat((0,e1.Z)(i))],deleteIcon:["deleteIcon","deleteIcon".concat((0,e1.Z)(n)),"deleteIconColor".concat((0,e1.Z)(o)),"deleteIcon".concat((0,e1.Z)(l),"Color").concat((0,e1.Z)(o))]};return(0,ek.Z)(u,nz,t)},nG=(0,eA.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{color:n,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=r;return[{["& .".concat(n$.avatar)]:t.avatar},{["& .".concat(n$.avatar)]:t["avatar".concat((0,e1.Z)(s))]},{["& .".concat(n$.avatar)]:t["avatarColor".concat((0,e1.Z)(n))]},{["& .".concat(n$.icon)]:t.icon},{["& .".concat(n$.icon)]:t["icon".concat((0,e1.Z)(s))]},{["& .".concat(n$.icon)]:t["iconColor".concat((0,e1.Z)(o))]},{["& .".concat(n$.deleteIcon)]:t.deleteIcon},{["& .".concat(n$.deleteIcon)]:t["deleteIcon".concat((0,e1.Z)(s))]},{["& .".concat(n$.deleteIcon)]:t["deleteIconColor".concat((0,e1.Z)(n))]},{["& .".concat(n$.deleteIcon)]:t["deleteIcon".concat((0,e1.Z)(l),"Color").concat((0,e1.Z)(n))]},t.root,t["size".concat((0,e1.Z)(s))],t["color".concat((0,e1.Z)(n))],i&&t.clickable,i&&"default"!==n&&t["clickableColor".concat((0,e1.Z)(n),")")],a&&t.deletable,a&&"default"!==n&&t["deletableColor".concat((0,e1.Z)(n))],t[l],t["".concat(l).concat((0,e1.Z)(n))]]}})((0,e5.Z)(e=>{let{theme:t}=e,r="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return{maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",["&.".concat(n$.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},["& .".concat(n$.avatar)]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:r,fontSize:t.typography.pxToRem(12)},["& .".concat(n$.avatarColorPrimary)]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},["& .".concat(n$.avatarColorSecondary)]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},["& .".concat(n$.avatarSmall)]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},["& .".concat(n$.icon)]:{marginLeft:5,marginRight:-6},["& .".concat(n$.deleteIcon)]:{WebkitTapHighlightColor:"transparent",color:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / 0.26)"):(0,tn.Fq)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / 0.4)"):(0,tn.Fq)(t.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,["& .".concat(n$.icon)]:{fontSize:18,marginLeft:4,marginRight:-4},["& .".concat(n$.deleteIcon)]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(t.palette).filter((0,to.Z)(["contrastText"])).map(e=>{let[r]=e;return{props:{color:r},style:{backgroundColor:(t.vars||t).palette[r].main,color:(t.vars||t).palette[r].contrastText,["& .".concat(n$.deleteIcon)]:{color:t.vars?"rgba(".concat(t.vars.palette[r].contrastTextChannel," / 0.7)"):(0,tn.Fq)(t.palette[r].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[r].contrastText}}}}}),{props:e=>e.iconColor===e.color,style:{["& .".concat(n$.icon)]:{color:t.vars?t.vars.palette.Chip.defaultIconColor:r}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{["& .".concat(n$.icon)]:{color:"inherit"}}},{props:{onDelete:!0},style:{["&.".concat(n$.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,tn.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}}},...Object.entries(t.palette).filter((0,to.Z)(["dark"])).map(e=>{let[r]=e;return{props:{color:r,onDelete:!0},style:{["&.".concat(n$.focusVisible)]:{background:(t.vars||t).palette[r].dark}}}}),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,tn.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},["&.".concat(n$.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,tn.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}}},...Object.entries(t.palette).filter((0,to.Z)(["dark"])).map(e=>{let[r]=e;return{props:{color:r,clickable:!0},style:{["&:hover, &.".concat(n$.focusVisible)]:{backgroundColor:(t.vars||t).palette[r].dark}}}}),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:t.vars?"1px solid ".concat(t.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]),["&.".concat(n$.clickable,":hover")]:{backgroundColor:(t.vars||t).palette.action.hover},["&.".concat(n$.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["& .".concat(n$.avatar)]:{marginLeft:4},["& .".concat(n$.avatarSmall)]:{marginLeft:2},["& .".concat(n$.icon)]:{marginLeft:4},["& .".concat(n$.iconSmall)]:{marginLeft:2},["& .".concat(n$.deleteIcon)]:{marginRight:5},["& .".concat(n$.deleteIconSmall)]:{marginRight:3}}},...Object.entries(t.palette).filter((0,to.Z)()).map(e=>{let[r]=e;return{props:{variant:"outlined",color:r},style:{color:(t.vars||t).palette[r].main,border:"1px solid ".concat(t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / 0.7)"):(0,tn.Fq)(t.palette[r].main,.7)),["&.".concat(n$.clickable,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,tn.Fq)(t.palette[r].main,t.palette.action.hoverOpacity)},["&.".concat(n$.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / ").concat(t.vars.palette.action.focusOpacity,")"):(0,tn.Fq)(t.palette[r].main,t.palette.action.focusOpacity)},["& .".concat(n$.deleteIcon)]:{color:t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / 0.7)"):(0,tn.Fq)(t.palette[r].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[r].main}}}}})]}})),nW=(0,eA.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:r}=e,{size:n}=r;return[t.label,t["label".concat((0,e1.Z)(n))]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function nK(e){return"Backspace"===e.key||"Delete"===e.key}let nY=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiChip"}),{avatar:n,className:o,clickable:i,color:a="default",component:s,deleteIcon:l,disabled:u=!1,icon:c,label:d,onClick:f,onDelete:h,onKeyDown:m,onKeyUp:g,size:y="medium",variant:v="filled",tabIndex:b,skipFocusWhenDisabled:w=!1,...E}=r,x=p.useRef(null),S=(0,nk.Z)(x,t),C=e=>{e.stopPropagation(),h&&h(e)},O=!1!==i&&!!f||i,T=O||h?ti.Z:s||"div",D={...r,component:T,disabled:u,size:y,color:a,iconColor:p.isValidElement(c)&&c.props.color||a,onDelete:!!h,clickable:O,variant:v},P=nH(D),A=T===ti.Z?{component:s||"div",focusVisibleClassName:P.focusVisible,...h&&{disableRipple:!0}}:{},k=null;h&&(k=l&&p.isValidElement(l)?p.cloneElement(l,{className:(0,eD.Z)(l.props.className,P.deleteIcon),onClick:C}):(0,eN.jsx)(nU,{className:(0,eD.Z)(P.deleteIcon),onClick:C}));let R=null;n&&p.isValidElement(n)&&(R=p.cloneElement(n,{className:(0,eD.Z)(P.avatar,n.props.className)}));let I=null;return c&&p.isValidElement(c)&&(I=p.cloneElement(c,{className:(0,eD.Z)(P.icon,c.props.className)})),(0,eN.jsxs)(nG,{as:T,className:(0,eD.Z)(P.root,o),disabled:!!O&&!!u||void 0,onClick:f,onKeyDown:e=>{e.currentTarget===e.target&&nK(e)&&e.preventDefault(),m&&m(e)},onKeyUp:e=>{e.currentTarget===e.target&&h&&nK(e)&&h(e),g&&g(e)},ref:S,tabIndex:w&&u?-1:b,ownerState:D,...A,...E,children:[R||I,(0,eN.jsx)(nW,{className:(0,eD.Z)(P.label),ownerState:D,children:d}),k]})}),nQ=["items","changeImportance","isLandscape","onChange","isValid"],nJ=["getValue"];function nX(e){let{items:t,changeImportance:r="accept",onChange:n,isValid:o}=e,i=(0,d.Z)(e,nQ);if(null==t||0===t.length)return null;let a=t.map(e=>{let{getValue:t}=e,i=(0,d.Z)(e,nJ),a=t({isValid:o});return(0,c.Z)({},i,{label:i.label,onClick:()=>{n(a,r,i)},disabled:!o(a)})});return(0,eN.jsx)(nD.Z,(0,c.Z)({dense:!0,sx:[{maxHeight:336,maxWidth:200,overflow:"auto"},...Array.isArray(i.sx)?i.sx:[i.sx]]},i,{children:a.map(e=>(0,eN.jsx)(nV,{children:(0,eN.jsx)(nY,(0,c.Z)({},e))},e.id??e.label))}))}let n0=e=>{let{classes:t,isLandscape:r}=e;return(0,ek.Z)({root:["root",r&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]},ni,t)};var n1=e=>{let{wrapperVariant:t,onAccept:r,onClear:n,onCancel:o,onSetToday:i,view:a,views:s,onViewChange:l,value:u,onChange:d,onSelectShortcut:p,isValid:f,isLandscape:h,disabled:m,readOnly:g,children:y,slots:v,slotProps:b}=e,w=n0(e),E=v?.actionBar??nT,x=(0,e0.Z)({elementType:E,externalSlotProps:b?.actionBar,additionalProps:{onAccept:r,onClear:n,onCancel:o,onSetToday:i,actions:"desktop"===t?[]:["cancel","accept"]},className:w.actionBar,ownerState:(0,c.Z)({},e,{wrapperVariant:t})}),S=(0,eN.jsx)(E,(0,c.Z)({},x)),C=v?.toolbar,O=(0,e0.Z)({elementType:C,externalSlotProps:b?.toolbar,additionalProps:{isLandscape:h,onChange:d,value:u,view:a,onViewChange:l,views:s,disabled:m,readOnly:g},className:w.toolbar,ownerState:(0,c.Z)({},e,{wrapperVariant:t})}),T=null!==O.view&&C?(0,eN.jsx)(C,(0,c.Z)({},O)):null,D=v?.tabs,P=a&&D?(0,eN.jsx)(D,(0,c.Z)({view:a,onViewChange:l,className:w.tabs},b?.tabs)):null,A=v?.shortcuts??nX,k=(0,e0.Z)({elementType:A,externalSlotProps:b?.shortcuts,additionalProps:{isValid:f,isLandscape:h,onChange:p},className:w.shortcuts,ownerState:{isValid:f,isLandscape:h,onChange:p,wrapperVariant:t}});return{toolbar:T,content:y,tabs:P,actionBar:S,shortcuts:a&&A?(0,eN.jsx)(A,(0,c.Z)({},k)):null}};let n2=e=>{let{isLandscape:t,classes:r}=e;return(0,ek.Z)({root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]},ni,r)},n3=(0,eA.ZP)("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${na.actionBar}`]:{gridColumn:"1 / 4",gridRow:3},variants:[{props:{isLandscape:!0},style:{[`& .${na.toolbar}`]:{gridColumn:1,gridRow:"2 / 3"},[`.${na.shortcuts}`]:{gridColumn:"2 / 4",gridRow:1}}},{props:{isLandscape:!0,isRtl:!0},style:{[`& .${na.toolbar}`]:{gridColumn:3}}},{props:{isLandscape:!1},style:{[`& .${na.toolbar}`]:{gridColumn:"2 / 4",gridRow:1},[`& .${na.shortcuts}`]:{gridColumn:1,gridRow:"2 / 3"}}},{props:{isLandscape:!1,isRtl:!0},style:{[`& .${na.shortcuts}`]:{gridColumn:3}}}]}),n5=(0,eA.ZP)("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,t)=>t.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),n4=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiPickersLayout"}),{toolbar:n,content:o,tabs:i,actionBar:a,shortcuts:s}=n1(r),{sx:l,className:u,isLandscape:c,wrapperVariant:d}=r,f=n2(r);return(0,eN.jsxs)(n3,{ref:t,sx:l,className:(0,eD.Z)(f.root,u),ownerState:r,children:[c?s:n,c?n:s,(0,eN.jsx)(n5,{className:f.contentWrapper,children:"desktop"===d?(0,eN.jsxs)(p.Fragment,{children:[o,i]}):(0,eN.jsxs)(p.Fragment,{children:[i,o]})}),a]})}),n6=p.createContext(null);function n8(e){let{contextValue:t,localeText:r,children:n}=e;return(0,eN.jsx)(n6.Provider,{value:t,children:(0,eN.jsx)(ew._,{localeText:r,children:n})})}let n9=["props","getOpenDialogAriaText"],n7=["ownerState"],oe=["ownerState"],ot=e=>{let{props:t,getOpenDialogAriaText:r}=e,n=(0,d.Z)(e,n9),{slots:o,slotProps:i,className:a,sx:s,format:l,formatDensity:u,enableAccessibleFieldDOMStructure:f,selectedSections:h,onSelectedSectionsChange:m,timezone:g,name:y,label:v,inputRef:b,readOnly:w,disabled:E,autoFocus:x,localeText:S,reduceAnimations:C}=t,O=p.useRef(null),T=p.useRef(null),D=(0,tt.Z)(),P=i?.toolbar?.hidden??!1,{open:A,actions:k,hasUIView:R,layoutProps:I,renderCurrentView:_,shouldRestoreFocus:N,fieldProps:L,contextValue:M,ownerState:j}=no((0,c.Z)({},n,{props:t,fieldRef:T,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),F=o.inputAdornment??te,B=(0,e0.Z)({elementType:F,externalSlotProps:i?.inputAdornment,additionalProps:{position:"end"},ownerState:t}),Z=(0,d.Z)(B,n7),V=o.openPickerButton??tD,q=(0,e0.Z)({elementType:V,externalSlotProps:i?.openPickerButton,additionalProps:{disabled:E||w,onClick:A?k.onClose:k.onOpen,"aria-label":r(L.value),edge:Z.position},ownerState:t}),U=(0,d.Z)(q,oe),z=o.openPickerIcon,$=(0,e0.Z)({elementType:z,externalSlotProps:i?.openPickerIcon,ownerState:j}),H=o.field,G=(0,e0.Z)({elementType:H,externalSlotProps:i?.field,additionalProps:(0,c.Z)({},L,P&&{id:D},{readOnly:w,disabled:E,className:a,sx:s,format:l,formatDensity:u,enableAccessibleFieldDOMStructure:f,selectedSections:h,onSelectedSectionsChange:m,timezone:g,label:v,name:y,autoFocus:x&&!t.open,focused:!!A||void 0},b?{inputRef:b}:{}),ownerState:t});R&&(G.InputProps=(0,c.Z)({},G.InputProps,{ref:O},!t.disableOpenPicker&&{[`${Z.position}Adornment`]:(0,eN.jsx)(F,(0,c.Z)({},Z,{children:(0,eN.jsx)(V,(0,c.Z)({},U,{children:(0,eN.jsx)(z,(0,c.Z)({},$))}))}))}));let W=(0,c.Z)({textField:o.textField,clearIcon:o.clearIcon,clearButton:o.clearButton},G.slots),K=o.layout??n4,Y=D;P&&(Y=v?`${D}-label`:void 0);let Q=(0,c.Z)({},i,{toolbar:(0,c.Z)({},i?.toolbar,{titleId:D}),popper:(0,c.Z)({"aria-labelledby":Y},i?.popper)}),J=(0,tP.Z)(T,G.unstableFieldRef);return{renderPicker:()=>(0,eN.jsxs)(n8,{contextValue:M,localeText:S,children:[(0,eN.jsx)(H,(0,c.Z)({},G,{slots:W,slotProps:Q,unstableFieldRef:J})),(0,eN.jsx)(rY,(0,c.Z)({role:"dialog",placement:"bottom-start",anchorEl:O.current},k,{open:A,slots:o,slotProps:Q,shouldRestoreFocus:N,reduceAnimations:C,children:(0,eN.jsx)(K,(0,c.Z)({},I,Q?.layout,{slots:o,slotProps:Q,children:_()}))}))]})}},or=(0,nq.Z)((0,eN.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),on=(0,nq.Z)((0,eN.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),oo=(0,nq.Z)((0,eN.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),oi=(0,nq.Z)((0,eN.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar");(0,nq.Z)((0,eN.jsxs)(p.Fragment,{children:[(0,eN.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,eN.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),(0,nq.Z)((0,eN.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),(0,nq.Z)((0,eN.jsxs)(p.Fragment,{children:[(0,eN.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,eN.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time");let oa=(0,nq.Z)((0,eN.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");var os=r(50430),ol=r(54357),ou=r(94860),oc=r(31348),od=r(13355),op=r(26453);function of(e){return(0,eR.ZP)("MuiFormHelperText",e)}let oh=(0,eI.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),om=e=>{let{classes:t,contained:r,size:n,disabled:o,error:i,filled:a,focused:s,required:l}=e,u={root:["root",o&&"disabled",i&&"error",n&&"size".concat((0,e1.Z)(n)),r&&"contained",s&&"focused",a&&"filled",l&&"required"]};return(0,ek.Z)(u,of,t)},og=(0,eA.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.size&&t["size".concat((0,e1.Z)(r.size))],r.contained&&t.contained,r.filled&&t.filled]}})((0,e5.Z)(e=>{let{theme:t}=e;return{color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,["&.".concat(oh.disabled)]:{color:(t.vars||t).palette.text.disabled},["&.".concat(oh.error)]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:e=>{let{ownerState:t}=e;return t.contained},style:{marginLeft:14,marginRight:14}}]}})),oy=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiFormHelperText"}),{children:n,className:o,component:i="p",disabled:a,error:s,filled:l,focused:c,margin:d,required:p,variant:f,...h}=r,m=(0,e3.Z)(),g=(0,op.Z)({props:r,muiFormControl:m,states:["variant","size","disabled","error","filled","focused","required"]}),y={...r,component:i,contained:"filled"===g.variant||"outlined"===g.variant,variant:g.variant,size:g.size,disabled:g.disabled,error:g.error,filled:g.filled,focused:g.focused,required:g.required};delete y.ownerState;let v=om(y);return(0,eN.jsx)(og,{as:i,className:(0,eD.Z)(v.root,o),ref:t,...h,ownerState:y,children:" "===n?u||(u=(0,eN.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):n})});var ov=r(11805);function ob(e){return(0,eR.ZP)("MuiTextField",e)}(0,eI.Z)("MuiTextField",["root"]);var ow=r(16945);let oE={standard:os.Z,filled:ol.Z,outlined:ou.Z},ox=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"]},ob,t)},oS=(0,eA.ZP)(od.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),oC=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:o=!1,children:i,className:a,color:s="primary",defaultValue:l,disabled:u=!1,error:c=!1,FormHelperTextProps:d,fullWidth:p=!1,helperText:f,id:h,InputLabelProps:m,inputProps:g,InputProps:y,inputRef:v,label:b,maxRows:w,minRows:E,multiline:x=!1,name:S,onBlur:C,onChange:O,onFocus:T,placeholder:D,required:P=!1,rows:A,select:k=!1,SelectProps:R,slots:I={},slotProps:_={},type:N,value:L,variant:M="outlined",...j}=r,F={...r,autoFocus:o,color:s,disabled:u,error:c,fullWidth:p,multiline:x,required:P,select:k,variant:M},B=ox(F),Z=(0,tt.Z)(h),V=f&&Z?"".concat(Z,"-helper-text"):void 0,q=b&&Z?"".concat(Z,"-label"):void 0,U=oE[M],z={slots:I,slotProps:{input:y,inputLabel:m,htmlInput:g,formHelperText:d,select:R,..._}},$={},H=z.slotProps.inputLabel;"outlined"===M&&(H&&void 0!==H.shrink&&($.notched=H.shrink),$.label=b),k&&(R&&R.native||($.id=void 0),$["aria-describedby"]=void 0);let[G,W]=(0,ow.Z)("root",{elementType:oS,shouldForwardComponentProp:!0,externalForwardedProps:{...z,...j},ownerState:F,className:(0,eD.Z)(B.root,a),ref:t,additionalProps:{disabled:u,error:c,fullWidth:p,required:P,color:s,variant:M}}),[K,Y]=(0,ow.Z)("input",{elementType:U,externalForwardedProps:z,additionalProps:$,ownerState:F}),[Q,J]=(0,ow.Z)("inputLabel",{elementType:oc.Z,externalForwardedProps:z,ownerState:F}),[X,ee]=(0,ow.Z)("htmlInput",{elementType:"input",externalForwardedProps:z,ownerState:F}),[et,er]=(0,ow.Z)("formHelperText",{elementType:oy,externalForwardedProps:z,ownerState:F}),[en,eo]=(0,ow.Z)("select",{elementType:ov.Z,externalForwardedProps:z,ownerState:F}),ei=(0,eN.jsx)(K,{"aria-describedby":V,autoComplete:n,autoFocus:o,defaultValue:l,fullWidth:p,multiline:x,name:S,rows:A,maxRows:w,minRows:E,type:N,value:L,id:Z,inputRef:v,onBlur:C,onChange:O,onFocus:T,placeholder:D,inputProps:ee,slots:{input:I.htmlInput?X:void 0},...Y});return(0,eN.jsxs)(G,{...W,children:[null!=b&&""!==b&&(0,eN.jsx)(Q,{htmlFor:Z,id:q,...J,children:b}),k?(0,eN.jsx)(en,{"aria-describedby":V,id:Z,labelId:q,value:L,input:ei,...eo,children:i}):ei,f&&(0,eN.jsx)(et,{id:V,...er,children:f})]})}),oO=({utils:e,format:t})=>{let r=10,n=t,o=e.expandFormat(t);for(;o!==n;)if(n=o,o=e.expandFormat(n),(r-=1)<0)throw Error("MUI X: The format expansion seems to be in an infinite loop. Please open an issue with the format passed to the picker component.");return o},oT=({utils:e,expandedFormat:t})=>{let r=[],{start:n,end:o}=e.escapedCharacters,i=RegExp(`(\\${n}[^\\${o}]*\\${o})+`,"g"),a=null;for(;a=i.exec(t);)r.push({start:a.index,end:i.lastIndex-1});return r},oD=(e,t,r,n)=>{switch(r.type){case"year":return t.fieldYearPlaceholder({digitAmount:e.formatByString(e.date(void 0,"default"),n).length,format:n});case"month":return t.fieldMonthPlaceholder({contentType:r.contentType,format:n});case"day":return t.fieldDayPlaceholder({format:n});case"weekDay":return t.fieldWeekDayPlaceholder({contentType:r.contentType,format:n});case"hours":return t.fieldHoursPlaceholder({format:n});case"minutes":return t.fieldMinutesPlaceholder({format:n});case"seconds":return t.fieldSecondsPlaceholder({format:n});case"meridiem":return t.fieldMeridiemPlaceholder({format:n});default:return n}},oP=({utils:e,date:t,shouldRespectLeadingZeros:r,localeText:n,localizedDigits:o,now:i,token:a,startSeparator:s})=>{if(""===a)throw Error("MUI X: Should not call `commitToken` with an empty token");let l=z(e,a),u=ei(e,l.contentType,l.type,a),d=r?u:"digit"===l.contentType,p=null!=t&&e.isValid(t),f=p?e.formatByString(t,a):"",h=null;if(d){if(u)h=""===f?e.formatByString(i,a).length:f.length;else{if(null==l.maxLength)throw Error(`MUI X: The token ${a} should have a 'maxDigitNumber' property on it's adapter`);h=l.maxLength,p&&(f=Q(X(Y(f,o),h),o))}}return(0,c.Z)({},l,{format:a,maxLength:h,value:f,placeholder:oD(e,n,l,a),hasLeadingZerosInFormat:u,hasLeadingZerosInInput:d,startSeparator:s,endSeparator:"",modified:!1})},oA=e=>{let{utils:t,expandedFormat:r,escapedParts:n}=e,o=t.date(void 0),i=[],a="",s=Object.keys(t.formatTokenMap).sort((e,t)=>t.length-e.length),l=/^([a-zA-Z]+)/,u=RegExp(`^(${s.join("|")})*$`),d=RegExp(`^(${s.join("|")})`),p=e=>n.find(t=>t.start<=e&&t.end>=e),f=0;for(;f0;){let r=d.exec(t)[1];t=t.slice(r.length),i.push(oP((0,c.Z)({},e,{now:o,token:r,startSeparator:a}))),a=""}f+=s.length}else{let e=r[f];n&&t?.start===f||t?.end===f||(0===i.length?a+=e:i[i.length-1].endSeparator+=e),f+=1}}return 0===i.length&&a.length>0&&i.push({type:"empty",contentType:"letter",maxLength:null,format:"",value:"",placeholder:"",hasLeadingZerosInFormat:!1,hasLeadingZerosInInput:!1,startSeparator:a,endSeparator:"",modified:!1}),i},ok=({isRtl:e,formatDensity:t,sections:r})=>r.map(r=>{let n=r=>{let n=r;return e&&null!==n&&n.includes(" ")&&(n=`\u2069${n}\u2066`),"spacious"===t&&["/",".","-"].includes(n)&&(n=` ${n} `),n};return r.startSeparator=n(r.startSeparator),r.endSeparator=n(r.endSeparator),r}),oR=e=>{let t=oO(e);e.isRtl&&e.enableAccessibleFieldDOMStructure&&(t=t.split(" ").reverse().join(" "));let r=oT((0,c.Z)({},e,{expandedFormat:t})),n=oA((0,c.Z)({},e,{expandedFormat:t,escapedParts:r}));return ok((0,c.Z)({},e,{sections:n}))},oI=e=>{let t=eC(),r=eZ(),n=eS(),o=ne(),{valueManager:i,fieldValueManager:a,valueType:s,validator:l,internalProps:u,internalProps:{value:d,defaultValue:f,referenceDate:h,onChange:m,format:g,formatDensity:y="dense",selectedSections:v,onSelectedSectionsChange:b,shouldRespectLeadingZeros:w=!1,timezone:E,enableAccessibleFieldDOMStructure:x=!1}}=e,{timezone:S,value:C,handleValueChange:O}=r0({timezone:E,value:d,defaultValue:f,referenceDate:h,onChange:m,valueManager:i}),T=p.useMemo(()=>K(t),[t]),D=p.useMemo(()=>es(t,T,S),[t,T,S]),P=p.useCallback((e,n=null)=>a.getSectionsFromValue(t,e,n,e=>oR({utils:t,localeText:r,localizedDigits:T,format:g,date:e,formatDensity:y,shouldRespectLeadingZeros:w,enableAccessibleFieldDOMStructure:x,isRtl:o})),[a,g,r,T,o,w,t,y,x]),[A,k]=p.useState(()=>{let e=P(C);el(e,s);let r={sections:e,value:C,referenceValue:i.emptyValue,tempValueStrAndroid:null},n=V(e),o=i.getInitialReferenceValue({referenceDate:h,value:C,utils:t,props:u,granularity:n,timezone:S});return(0,c.Z)({},r,{referenceValue:o})}),[R,I]=(0,rX.Z)({controlled:v,default:null,name:"useField",state:"selectedSections"}),_=e=>{I(e),b?.(e)},N=p.useMemo(()=>eh(R,A.sections),[R,A.sections]),L="all"===N?0:N,M=({value:e,referenceValue:r,sections:o})=>{if(k(t=>(0,c.Z)({},t,{sections:o,value:e,referenceValue:r,tempValueStrAndroid:null})),i.areValuesEqual(t,A.value,e))return;let a={validationError:l({adapter:n,value:e,timezone:S,props:u})};O(e,a)},j=(e,t)=>{let r=[...A.sections];return r[e]=(0,c.Z)({},r[e],{value:t,modified:!0}),r};return p.useEffect(()=>{let e=P(A.value);el(e,s),k(t=>(0,c.Z)({},t,{sections:e}))},[g,t.locale,o]),p.useEffect(()=>{i.areValuesEqual(t,A.value,C)&&i.getTimezone(t,A.value)===i.getTimezone(t,C)||k(e=>(0,c.Z)({},e,{value:C,referenceValue:a.updateReferenceValue(t,C,e.referenceValue),sections:P(C)}))},[C]),{state:A,activeSectionIndex:L,parsedSelectedSections:N,setSelectedSections:_,clearValue:()=>{M({value:i.emptyValue,referenceValue:A.referenceValue,sections:P(i.emptyValue)})},clearActiveSection:()=>{if(null==L)return;let e=A.sections[L],r=a.getActiveDateManager(t,A,e),n=r.getSections(A.sections).filter(e=>""!==e.value).length===(""===e.value?0:1),o=j(L,""),i=n?null:t.getInvalidDate(),s=r.getNewValuesFromNewActiveDate(i);M((0,c.Z)({},s,{sections:o}))},updateSectionValue:({activeSection:e,newSectionValue:r,shouldGoToNextSection:n})=>{let o,i;n&&L(0,c.Z)({},e,o,{sections:l,tempValueStrAndroid:null}))},updateValueFromValueStr:e=>{let n=a.parseValueStr(e,A.referenceValue,(e,n)=>{let i=t.parse(e,g);if(null==i||!t.isValid(i))return null;let a=oR({utils:t,localeText:r,localizedDigits:T,format:g,date:i,formatDensity:y,shouldRespectLeadingZeros:w,enableAccessibleFieldDOMStructure:x,isRtl:o});return ed(t,i,a,n,!1)}),i=a.updateReferenceValue(t,n,A.referenceValue);M({value:n,referenceValue:i,sections:P(n,A.sections)})},setTempAndroidValueStr:e=>k(t=>(0,c.Z)({},t,{tempValueStrAndroid:e})),getSectionsFromValue:P,sectionsValueBoundaries:D,localizedDigits:T,timezone:S}},o_=e=>null!=e.saveQuery,oN=({sections:e,updateSectionValue:t,sectionsValueBoundaries:r,localizedDigits:n,setTempAndroidValueStr:o,timezone:i})=>{let a=eC(),[s,l]=p.useState(null),u=(0,rM.Z)(()=>l(null));p.useEffect(()=>{null!=s&&e[s.sectionIndex]?.type!==s.sectionType&&u()},[e,s,u]),p.useEffect(()=>{if(null!=s){let e=setTimeout(()=>u(),5e3);return()=>{clearTimeout(e)}}return()=>{}},[s,u]);let d=({keyPressed:t,sectionIndex:r},n,o)=>{let i=t.toLowerCase(),a=e[r];if(null!=s&&(!o||o(s.value))&&s.sectionIndex===r){let e=`${s.value}${i}`,t=n(e,a);if(!o_(t))return l({sectionIndex:r,value:e,sectionType:a.type}),t}let c=n(i,a);return o_(c)&&!c.saveQuery?(u(),null):(l({sectionIndex:r,value:i,sectionType:a.type}),o_(c))?null:c},f=e=>{let t=(e,t,r)=>{let n=t.filter(e=>e.toLowerCase().startsWith(r));return 0===n.length?{saveQuery:!1}:{sectionValue:n[0],shouldGoToNextSection:1===n.length}},r=(e,r,n,o)=>{let s=e=>G(a,i,r.type,e);if("letter"===r.contentType)return t(r.format,s(r.format),e);if(n&&null!=o&&"letter"===z(a,n).contentType){let r=s(n),i=t(n,r,e);return o_(i)?{saveQuery:!1}:(0,c.Z)({},i,{sectionValue:o(i.sectionValue,r)})}return{saveQuery:!1}};return d(e,(e,t)=>{switch(t.type){case"month":return r(e,t,a.formats.month,e=>en(a,e,a.formats.month,t.format));case"weekDay":return r(e,t,a.formats.weekday,(e,t)=>t.indexOf(e).toString());case"meridiem":return r(e,t);default:return{saveQuery:!1}}})},h=e=>{let t=(e,t)=>{let o=Y(e,n),i=Number(o),s=r[t.type]({currentDate:null,format:t.format,contentType:t.contentType});if(i>s.maximum)return{saveQuery:!1};if(is.maximum||o.length===s.maximum.toString().length;return{sectionValue:ee(a,i,s,n,t),shouldGoToNextSection:l}};return d(e,(e,r)=>{if("digit"===r.contentType||"digit-with-letter"===r.contentType)return t(e,r);if("month"===r.type){let n=ei(a,"digit","month","MM"),o=t(e,{type:r.type,format:"MM",hasLeadingZerosInFormat:n,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(o_(o))return o;let i=en(a,o.sectionValue,"MM",r.format);return(0,c.Z)({},o,{sectionValue:i})}if("weekDay"===r.type){let n=t(e,r);if(o_(n))return n;let o=H(a,r.format)[Number(n.sectionValue)-1];return(0,c.Z)({},n,{sectionValue:o})}return{saveQuery:!1}},e=>J(e,n))};return{applyCharacterEditing:(0,rM.Z)(r=>{let i=e[r.sectionIndex],a=J(r.keyPressed,n)?h((0,c.Z)({},r,{keyPressed:Q(r.keyPressed,n)})):f(r);if(null==a){o(null);return}t({activeSection:i,newSectionValue:a.sectionValue,shouldGoToNextSection:a.shouldGoToNextSection})}),resetCharacterQuery:u}},oL=e=>{let{internalProps:{disabled:t,readOnly:r=!1},forwardedProps:{sectionListRef:n,onBlur:o,onClick:i,onFocus:a,onInput:s,onPaste:l,focused:u,autoFocus:c=!1},fieldValueManager:d,applyCharacterEditing:f,resetCharacterQuery:m,setSelectedSections:g,parsedSelectedSections:y,state:v,clearActiveSection:b,clearValue:w,updateSectionValue:E,updateValueFromValueStr:x,sectionOrder:S,areAllSectionsEmpty:C,sectionsValueBoundaries:O}=e,T=p.useRef(null),D=(0,tP.Z)(n,T),P=eZ(),A=eC(),k=(0,tt.Z)(),[R,I]=p.useState(!1),_=p.useMemo(()=>({syncSelectionToDOM:()=>{let e;if(!T.current)return;let t=document.getSelection();if(!t)return;if(null==y){t.rangeCount>0&&T.current.getRoot().contains(t.getRangeAt(0).startContainer)&&t.removeAllRanges(),R&&T.current.getRoot().blur();return}if(!T.current.getRoot().contains(rB(document)))return;let r=new window.Range;e="all"===y?T.current.getRoot():"empty"===v.sections[y].type?T.current.getSectionContainer(y):T.current.getSectionContent(y),r.selectNodeContents(e),e.focus(),t.removeAllRanges(),t.addRange(r)},getActiveSectionIndexFromDOM:()=>{let e=rB(document);return e&&T.current&&T.current.getRoot().contains(e)?T.current.getSectionIndexFromDOMElement(e):null},focusField:(e=0)=>{if(!T.current||null!=_.getActiveSectionIndexFromDOM())return;let t=eh(e,v.sections);I(!0),T.current.getSectionContent(t).focus()},setSelectedSections:e=>{if(!T.current)return;let t=eh(e,v.sections);I(null!==("all"===t?0:t)),g(e)},isFieldFocused:()=>{let e=rB(document);return!!T.current&&T.current.getRoot().contains(e)}}),[y,g,v.sections,R]),N=(0,rM.Z)(e=>{if(!T.current)return;let t=v.sections[e];T.current.getSectionContent(e).innerHTML=t.value||t.placeholder,_.syncSelectionToDOM()}),L=(0,rM.Z)((e,...t)=>{!e.isDefaultPrevented()&&T.current&&(I(!0),i?.(e,...t),"all"===y?setTimeout(()=>{let e=document.getSelection().getRangeAt(0).startOffset;if(0===e){g(S.startIndex);return}let t=0,r=0;for(;r{if(s?.(e),!T.current||"all"!==y)return;let t=e.target.textContent??"";T.current.getRoot().innerHTML=v.sections.map(e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`).join(""),_.syncSelectionToDOM(),0===t.length||10===t.charCodeAt(0)?(m(),w(),g("all")):t.length>1?x(t):("all"===y&&g(0),f({keyPressed:t,sectionIndex:0}))}),j=(0,rM.Z)(e=>{if(l?.(e),r||"all"!==y){e.preventDefault();return}let t=e.clipboardData.getData("text");e.preventDefault(),m(),x(t)}),F=(0,rM.Z)((...e)=>{a?.(...e),!R&&T.current&&(I(!0),null!=T.current.getSectionIndexFromDOMElement(rB(document))||g(S.startIndex))}),B=(0,rM.Z)((...e)=>{o?.(...e),setTimeout(()=>{if(!T.current)return;let e=rB(document);T.current.getRoot().contains(e)||(I(!1),g(null))})}),Z=(0,rM.Z)(e=>t=>{t.isDefaultPrevented()||g(e)}),V=(0,rM.Z)(e=>{e.preventDefault()}),q=(0,rM.Z)(e=>()=>{g(e)}),U=(0,rM.Z)(e=>{if(e.preventDefault(),r||t||"number"!=typeof y)return;let n=v.sections[y],o=e.clipboardData.getData("text"),i=/^[a-zA-Z]+$/.test(o),a=/^[0-9]+$/.test(o),s=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(o);"letter"===n.contentType&&i||"digit"===n.contentType&&a||"digit-with-letter"===n.contentType&&s?(m(),E({activeSection:n,newSectionValue:o,shouldGoToNextSection:!0})):i||a||(m(),x(o))}),z=(0,rM.Z)(e=>{e.preventDefault(),e.dataTransfer.dropEffect="none"}),$=(0,rM.Z)(e=>{if(!T.current)return;let t=e.target,n=t.textContent??"",o=T.current.getSectionIndexFromDOMElement(t),i=v.sections[o];if(r||!T.current){N(o);return}if(0===n.length){if(""===i.value){N(o);return}let t=e.nativeEvent.inputType;if("insertParagraph"===t||"insertLineBreak"===t){N(o);return}m(),b();return}f({keyPressed:n,sectionIndex:o}),N(o)});(0,h.Z)(()=>{if(R&&T.current){if("all"===y)T.current.getRoot().focus();else if("number"==typeof y){let e=T.current.getSectionContent(y);e&&e.focus()}}},[y,R]);let H=p.useMemo(()=>v.sections.reduce((e,t)=>(e[t.type]=O[t.type]({currentDate:null,contentType:t.contentType,format:t.format}),e),{}),[O,v.sections]),G="all"===y,W=p.useMemo(()=>v.sections.map((e,n)=>{let o=!G&&!t&&!r;return{container:{"data-sectionindex":n,onClick:Z(n)},content:{tabIndex:G||n>0?-1:0,contentEditable:!G&&!t&&!r,role:"spinbutton",id:`${k}-${e.type}`,"aria-labelledby":`${k}-${e.type}`,"aria-readonly":r,"aria-valuenow":eg(e,A),"aria-valuemin":H[e.type].minimum,"aria-valuemax":H[e.type].maximum,"aria-valuetext":e.value?em(e,A):P.empty,"aria-label":P[e.type],"aria-disabled":t,spellCheck:!o&&void 0,autoCapitalize:o?"off":void 0,autoCorrect:o?"off":void 0,[parseInt(p.version,10)>=17?"enterKeyHint":"enterkeyhint"]:o?"next":void 0,children:e.value||e.placeholder,onInput:$,onPaste:U,onFocus:q(n),onDragOver:z,onMouseUp:V,inputMode:"letter"===e.contentType?"text":"numeric"},before:{children:e.startSeparator},after:{children:e.endSeparator}}}),[v.sections,q,U,z,$,Z,V,t,r,G,P,A,H,k]),K=(0,rM.Z)(e=>{x(e.target.value)}),Y=p.useMemo(()=>C?"":d.getV7HiddenInputValueFromSections(v.sections),[C,v.sections,d]);return p.useEffect(()=>{if(null==T.current)throw Error("MUI X: The `sectionListRef` prop has not been initialized by `PickersSectionList`\nYou probably tried to pass a component to the `textField` slot that contains an `` element instead of a `PickersSectionList`.\n\nIf you want to keep using an `` HTML element for the editing, please remove the `enableAccessibleFieldDOMStructure` prop from your picker or field component:\n\n\n\nLearn more about the field accessible DOM structure on the MUI documentation: https://mui.com/x/react-date-pickers/fields/#fields-to-edit-a-single-element");c&&T.current&&T.current.getSectionContent(S.startIndex).focus()},[]),{interactions:_,returnedValue:{autoFocus:c,readOnly:r,focused:u??R,sectionListRef:D,onBlur:B,onClick:L,onFocus:F,onInput:M,onPaste:j,enableAccessibleFieldDOMStructure:!0,elements:W,tabIndex:0===y?-1:0,contentEditable:G,value:Y,onChange:K,areAllSectionsEmpty:C}}},oM=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),oj=(e,t,r)=>{let n=0,o=r?1:0,i=[];for(let a=0;a{let t=ne(),r=p.useRef(void 0),n=p.useRef(void 0),{forwardedProps:{onFocus:o,onClick:i,onPaste:a,onBlur:s,inputRef:l,placeholder:u},internalProps:{readOnly:c=!1,disabled:d=!1},parsedSelectedSections:f,activeSectionIndex:h,state:m,fieldValueManager:g,valueManager:y,applyCharacterEditing:v,resetCharacterQuery:b,updateSectionValue:w,updateValueFromValueStr:E,clearActiveSection:x,clearValue:S,setTempAndroidValueStr:C,setSelectedSections:O,getSectionsFromValue:T,areAllSectionsEmpty:D,localizedDigits:P}=e,A=p.useRef(null),k=(0,tP.Z)(l,A),R=p.useMemo(()=>oj(m.sections,P,t),[m.sections,P,t]),I=p.useMemo(()=>({syncSelectionToDOM:()=>{if(!A.current)return;if(null==f){A.current.scrollLeft&&(A.current.scrollLeft=0);return}if(A.current!==rB(document))return;let e=A.current.scrollTop;if("all"===f)A.current.select();else{let e=R[f],t="empty"===e.type?e.startInInput-e.startSeparator.length:e.startInInput,r="empty"===e.type?e.endInInput+e.endSeparator.length:e.endInInput;(t!==A.current.selectionStart||r!==A.current.selectionEnd)&&A.current===rB(document)&&A.current.setSelectionRange(t,r),clearTimeout(n.current),n.current=setTimeout(()=>{A.current&&A.current===rB(document)&&A.current.selectionStart===A.current.selectionEnd&&(A.current.selectionStart!==t||A.current.selectionEnd!==r)&&I.syncSelectionToDOM()})}A.current.scrollTop=e},getActiveSectionIndexFromDOM:()=>{let e=A.current.selectionStart??0,t=A.current.selectionEnd??0;if(0===e&&0===t)return null;let r=e<=R[0].startInInput?1:R.findIndex(t=>t.startInInput-t.startSeparator.length>e);return -1===r?R.length-1:r-1},focusField:(e=0)=>{rB(document)!==A.current&&(A.current?.focus(),O(e))},setSelectedSections:e=>O(e),isFieldFocused:()=>A.current===rB(document)}),[A,f,R,O]),_=()=>{let e;let t=A.current.selectionStart??0;O(-1===(e=t<=R[0].startInInput?1:t>=R[R.length-1].endInInput?1:R.findIndex(e=>e.startInInput-e.startSeparator.length>t))?R.length-1:e-1)},N=(0,rM.Z)((...e)=>{o?.(...e);let t=A.current;clearTimeout(r.current),r.current=setTimeout(()=>{t&&t===A.current&&null==h&&(t.value.length&&Number(t.selectionEnd)-Number(t.selectionStart)===t.value.length?O("all"):_())})}),L=(0,rM.Z)((e,...t)=>{e.isDefaultPrevented()||(i?.(e,...t),_())}),M=(0,rM.Z)(e=>{if(a?.(e),e.preventDefault(),c||d)return;let t=e.clipboardData.getData("text");if("number"==typeof f){let e=m.sections[f],r=/^[a-zA-Z]+$/.test(t),n=/^[0-9]+$/.test(t),o=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(t);if("letter"===e.contentType&&r||"digit"===e.contentType&&n||"digit-with-letter"===e.contentType&&o){b(),w({activeSection:e,newSectionValue:t,shouldGoToNextSection:!0});return}if(r||n)return}b(),E(t)}),j=(0,rM.Z)((...e)=>{s?.(...e),O(null)}),F=(0,rM.Z)(e=>{let r;if(c)return;let n=e.target.value;if(""===n){b(),S();return}let o=e.nativeEvent.data,i=o&&o.length>1,a=i?o:n,s=oM(a);if("all"===f&&O(h),null==h||i){E(i?o:s);return}if("all"===f&&1===s.length)r=s;else{let e=oM(g.getV6InputValueFromSections(R,P,t)),n=-1,o=-1;for(let t=0;ti.end)return;let a=s.length-e.length+i.end-oM(i.endSeparator||"").length;r=s.slice(i.start+oM(i.startSeparator||"").length,a)}if(0===r.length){ep()&&C(a),b(),x();return}v({keyPressed:r,sectionIndex:h})}),B=p.useMemo(()=>void 0!==u?u:g.getV6InputValueFromSections(T(y.emptyValue),P,t),[u,g,T,y.emptyValue,P,t]),Z=p.useMemo(()=>m.tempValueStrAndroid??g.getV6InputValueFromSections(m.sections,P,t),[m.sections,g,m.tempValueStrAndroid,P,t]);return p.useEffect(()=>(A.current&&A.current===rB(document)&&O("all"),()=>{clearTimeout(r.current),clearTimeout(n.current)}),[]),{interactions:I,returnedValue:{readOnly:c,onBlur:j,onClick:L,onFocus:N,onPaste:M,inputRef:k,enableAccessibleFieldDOMStructure:!1,placeholder:B,inputMode:p.useMemo(()=>null==h||"letter"===m.sections[h].contentType?"text":"numeric",[h,m.sections]),autoComplete:"off",value:!(A.current&&A.current===rB(document))&&D?"":Z,onChange:F}}},oB=e=>{let t=eC(),{internalProps:r,internalProps:{unstableFieldRef:n,minutesStep:o,enableAccessibleFieldDOMStructure:i=!1,disabled:a=!1,readOnly:s=!1},forwardedProps:{onKeyDown:l,error:u,clearable:d,onClear:f},fieldValueManager:m,valueManager:g,validator:y}=e,v=ne(),b=oI(e),{state:w,activeSectionIndex:E,parsedSelectedSections:x,setSelectedSections:S,clearValue:C,clearActiveSection:O,updateSectionValue:T,setTempAndroidValueStr:D,sectionsValueBoundaries:P,localizedDigits:A,timezone:k}=b,R=oN({sections:w.sections,updateSectionValue:T,sectionsValueBoundaries:P,localizedDigits:A,setTempAndroidValueStr:D,timezone:k}),{resetCharacterQuery:I}=R,_=g.areValuesEqual(t,w.value,g.emptyValue),N=i?oL:oF,L=p.useMemo(()=>ef(w.sections,v&&!i),[w.sections,v,i]),{returnedValue:M,interactions:j}=N((0,c.Z)({},e,b,R,{areAllSectionsEmpty:_,sectionOrder:L})),F=(0,rM.Z)(e=>{if(l?.(e),!a)switch(!0){case(e.ctrlKey||e.metaKey)&&"A"===String.fromCharCode(e.keyCode)&&!e.shiftKey&&!e.altKey:e.preventDefault(),S("all");break;case"ArrowRight"===e.key:if(e.preventDefault(),null==x)S(L.startIndex);else if("all"===x)S(L.endIndex);else{let e=L.neighbors[x].rightIndex;null!==e&&S(e)}break;case"ArrowLeft"===e.key:if(e.preventDefault(),null==x)S(L.endIndex);else if("all"===x)S(L.startIndex);else{let e=L.neighbors[x].leftIndex;null!==e&&S(e)}break;case"Delete"===e.key:if(e.preventDefault(),s)break;null==x||"all"===x?C():O(),I();break;case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(e.key):{if(e.preventDefault(),s||null==E)break;"all"===x&&S(E);let r=w.sections[E],n=m.getActiveDateManager(t,w,r),i=et(t,k,r,e.key,P,A,n.date,{minutesStep:o});T({activeSection:r,newSectionValue:i,shouldGoToNextSection:!1})}}});(0,h.Z)(()=>{j.syncSelectionToDOM()});let{hasValidationError:B}=rJ({props:r,validator:y,timezone:k,value:w.value,onError:r.onError}),Z=p.useMemo(()=>void 0!==u?u:B,[B,u]);p.useEffect(()=>{Z||null!=E||I()},[w.referenceValue,E,Z]),p.useEffect(()=>{null!=w.tempValueStrAndroid&&null!=E&&(I(),O())},[w.sections]),p.useImperativeHandle(n,()=>({getSections:()=>w.sections,getActiveSectionIndex:j.getActiveSectionIndexFromDOM,setSelectedSections:j.setSelectedSections,focusField:j.focusField,isFieldFocused:j.isFieldFocused}));let V=(0,rM.Z)((e,...t)=>{e.preventDefault(),f?.(e,...t),C(),j.isFieldFocused()?S(L.startIndex):j.focusField(0)});return(0,c.Z)({},e.forwardedProps,{onKeyDown:F,onClear:V,error:Z,clearable:!!(d&&!_&&!s&&!a)},{disabled:a,readOnly:s},M)},oZ=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef","enableAccessibleFieldDOMStructure","disabled","readOnly","dateSeparator"],oV=(e,t)=>p.useMemo(()=>{let r=(0,c.Z)({},e),n={},o=e=>{r.hasOwnProperty(e)&&(n[e]=r[e],delete r[e])};return oZ.forEach(o),"date"===t?eW.forEach(o):"time"===t?eK.forEach(o):"date-time"===t&&(eW.forEach(o),eK.forEach(o),eY.forEach(o)),{forwardedProps:r,internalProps:n}},[e,t]),oq=e=>{let t=eC(),r=eO();return(0,c.Z)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??t.formats.keyboardDate,minDate:A(t,e.minDate,r.minDate),maxDate:A(t,e.maxDate,r.maxDate)})},oU=e=>{let{forwardedProps:t,internalProps:r}=oV(oq(e),"date");return oB({forwardedProps:t,internalProps:r,valueManager:ev,fieldValueManager:eb,validator:eX,valueType:"date"})},oz=["clearable","onClear","InputProps","sx","slots","slotProps"],o$=["ownerState"],oH=e=>{let t=eZ(),{clearable:r,onClear:n,InputProps:o,sx:i,slots:a,slotProps:s}=e,l=(0,d.Z)(e,oz),u=a?.clearButton??tD,f=(0,e0.Z)({elementType:u,externalSlotProps:s?.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:t.fieldClearLabel}}),h=(0,d.Z)(f,o$),m=a?.clearIcon??oa,g=(0,e0.Z)({elementType:m,externalSlotProps:s?.clearIcon,ownerState:{}});return(0,c.Z)({},l,{InputProps:(0,c.Z)({},o,{endAdornment:(0,eN.jsxs)(p.Fragment,{children:[r&&(0,eN.jsx)(te,{position:"end",sx:{marginRight:o?.endAdornment?-1:-1.5},children:(0,eN.jsx)(u,(0,c.Z)({},h,{onClick:n,children:(0,eN.jsx)(m,(0,c.Z)({fontSize:"small"},g))}))}),o?.endAdornment]})}),sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(i)?i:[i]]})};function oG(e){return(0,eR.ZP)("MuiPickersTextField",e)}function oW(e){return(0,eR.ZP)("MuiPickersInputBase",e)}(0,eI.Z)("MuiPickersTextField",["root","focused","disabled","error","required"]);let oK=(0,eI.Z)("MuiPickersInputBase",["root","focused","disabled","error","notchedOutline","sectionContent","sectionBefore","sectionAfter","adornedStart","adornedEnd","input"]);function oY(e){return(0,eR.ZP)("MuiPickersOutlinedInput",e)}let oQ=(0,c.Z)({},oK,(0,eI.Z)("MuiPickersOutlinedInput",["root","notchedOutline","input"])),oJ=["children","className","label","notched","shrink"],oX=(0,eA.ZP)("fieldset",{name:"MuiPickersOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%",borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),o0=(0,eA.ZP)("span")(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit"})),o1=(0,eA.ZP)("legend")(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:{withLabel:!1},style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:{withLabel:!0},style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:{withLabel:!0,notched:!0},style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]}));function o2(e){let{className:t,label:r}=e,n=(0,d.Z)(e,oJ),o=null!=r&&""!==r,i=(0,c.Z)({},e,{withLabel:o});return(0,eN.jsx)(oX,(0,c.Z)({"aria-hidden":!0,className:t},n,{ownerState:i,children:(0,eN.jsx)(o1,{ownerState:i,children:o?(0,eN.jsx)(o0,{children:r}):(0,eN.jsx)(o0,{className:"notranslate",children:"​"})})}))}var o3=r(14142);function o5(e){return(0,eR.ZP)("MuiPickersSectionList",e)}let o4=(0,eI.Z)("MuiPickersSectionList",["root","section","sectionContent"]),o6=["slots","slotProps","elements","sectionListRef"],o8=(0,eA.ZP)("div",{name:"MuiPickersSectionList",slot:"Root",overridesResolver:(e,t)=>t.root})({direction:"ltr /*! @noflip */",outline:"none"}),o9=(0,eA.ZP)("span",{name:"MuiPickersSectionList",slot:"Section",overridesResolver:(e,t)=>t.section})({}),o7=(0,eA.ZP)("span",{name:"MuiPickersSectionList",slot:"SectionSeparator",overridesResolver:(e,t)=>t.sectionSeparator})({whiteSpace:"pre"}),ie=(0,eA.ZP)("span",{name:"MuiPickersSectionList",slot:"SectionContent",overridesResolver:(e,t)=>t.sectionContent})({outline:"none"}),it=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"],section:["section"],sectionContent:["sectionContent"]},o5,t)};function ir(e){let{slots:t,slotProps:r,element:n,classes:o}=e,i=t?.section??o9,a=(0,e0.Z)({elementType:i,externalSlotProps:r?.section,externalForwardedProps:n.container,className:o.section,ownerState:{}}),s=t?.sectionContent??ie,l=(0,e0.Z)({elementType:s,externalSlotProps:r?.sectionContent,externalForwardedProps:n.content,additionalProps:{suppressContentEditableWarning:!0},className:o.sectionContent,ownerState:{}}),u=t?.sectionSeparator??o7,d=(0,e0.Z)({elementType:u,externalSlotProps:r?.sectionSeparator,externalForwardedProps:n.before,ownerState:{position:"before"}}),p=(0,e0.Z)({elementType:u,externalSlotProps:r?.sectionSeparator,externalForwardedProps:n.after,ownerState:{position:"after"}});return(0,eN.jsxs)(i,(0,c.Z)({},a,{children:[(0,eN.jsx)(u,(0,c.Z)({},d)),(0,eN.jsx)(s,(0,c.Z)({},l)),(0,eN.jsx)(u,(0,c.Z)({},p))]}))}let io=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiPickersSectionList"}),{slots:n,slotProps:o,elements:i,sectionListRef:a}=r,s=(0,d.Z)(r,o6),l=it(r),u=p.useRef(null),f=(0,tP.Z)(t,u),h=e=>{if(!u.current)throw Error(`MUI X: Cannot call sectionListRef.${e} before the mount of the component.`);return u.current};p.useImperativeHandle(a,()=>({getRoot:()=>h("getRoot"),getSectionContainer:e=>h("getSectionContainer").querySelector(`.${o4.section}[data-sectionindex="${e}"]`),getSectionContent:e=>h("getSectionContent").querySelector(`.${o4.section}[data-sectionindex="${e}"] .${o4.sectionContent}`),getSectionIndexFromDOMElement(e){let t=h("getSectionIndexFromDOMElement");if(null==e||!t.contains(e))return null;let r=null;return(e.classList.contains(o4.section)?r=e:e.classList.contains(o4.sectionContent)&&(r=e.parentElement),null==r)?null:Number(r.dataset.sectionindex)}}));let m=n?.root??o8,g=(0,e0.Z)({elementType:m,externalSlotProps:o?.root,externalForwardedProps:s,additionalProps:{ref:f,suppressContentEditableWarning:!0},className:l.root,ownerState:{}});return(0,eN.jsx)(m,(0,c.Z)({},g,{children:g.contentEditable?i.map(({content:e,before:t,after:r})=>`${t.children}${e.children}${r.children}`).join(""):(0,eN.jsx)(p.Fragment,{children:i.map((e,t)=>(0,eN.jsx)(ir,{slots:n,slotProps:o,element:e,classes:l},t))})}))}),ii=["elements","areAllSectionsEmpty","defaultValue","label","value","onChange","id","autoFocus","endAdornment","startAdornment","renderSuffix","slots","slotProps","contentEditable","tabIndex","onInput","onPaste","onKeyDown","fullWidth","name","readOnly","inputProps","inputRef","sectionListRef"],ia=e=>Math.round(1e5*e)/1e5,is=(0,eA.ZP)("div",{name:"MuiPickersInputBase",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>(0,c.Z)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,cursor:"text",padding:0,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",boxSizing:"border-box",letterSpacing:`${ia(.15/16)}em`,variants:[{props:{fullWidth:!0},style:{width:"100%"}}]})),il=(0,eA.ZP)(o8,{name:"MuiPickersInputBase",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})(({theme:e})=>({padding:"4px 0 5px",fontFamily:e.typography.fontFamily,fontSize:"inherit",lineHeight:"1.4375em",flexGrow:1,outline:"none",display:"flex",flexWrap:"nowrap",overflow:"hidden",letterSpacing:"inherit",width:"182px",variants:[{props:{isRtl:!0},style:{textAlign:"right /*! @noflip */"}},{props:{size:"small"},style:{paddingTop:1}},{props:{adornedStart:!1,focused:!1,filled:!1},style:{color:"currentColor",opacity:0}},{props:({adornedStart:e,focused:t,filled:r,label:n})=>!e&&!t&&!r&&null==n,style:e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:"light"===e.palette.mode?.42:.5}}]})),iu=(0,eA.ZP)(o9,{name:"MuiPickersInputBase",slot:"Section",overridesResolver:(e,t)=>t.section})(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit",letterSpacing:"inherit",lineHeight:"1.4375em",display:"inline-block",whiteSpace:"nowrap"})),ic=(0,eA.ZP)(ie,{name:"MuiPickersInputBase",slot:"SectionContent",overridesResolver:(e,t)=>t.content})(({theme:e})=>({fontFamily:e.typography.fontFamily,lineHeight:"1.4375em",letterSpacing:"inherit",width:"fit-content",outline:"none"})),id=(0,eA.ZP)(o7,{name:"MuiPickersInputBase",slot:"Separator",overridesResolver:(e,t)=>t.separator})(()=>({whiteSpace:"pre",letterSpacing:"inherit"})),ip=(0,eA.ZP)("input",{name:"MuiPickersInputBase",slot:"Input",overridesResolver:(e,t)=>t.hiddenInput})((0,c.Z)({},{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"})),ih=e=>{let{focused:t,disabled:r,error:n,classes:o,fullWidth:i,readOnly:a,color:s,size:l,endAdornment:u,startAdornment:c}=e,d={root:["root",t&&!r&&"focused",r&&"disabled",a&&"readOnly",n&&"error",i&&"fullWidth",`color${(0,o3.Z)(s)}`,"small"===l&&"inputSizeSmall",!!c&&"adornedStart",!!u&&"adornedEnd"],notchedOutline:["notchedOutline"],input:["input"],sectionsContainer:["sectionsContainer"],sectionContent:["sectionContent"],sectionBefore:["sectionBefore"],sectionAfter:["sectionAfter"]};return(0,ek.Z)(d,oW,o)},im=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiPickersInputBase"}),{elements:n,areAllSectionsEmpty:o,value:i,onChange:a,id:s,endAdornment:l,startAdornment:u,renderSuffix:f,slots:h,slotProps:m,contentEditable:g,tabIndex:y,onInput:v,onPaste:b,onKeyDown:E,name:x,readOnly:S,inputProps:C,inputRef:O,sectionListRef:T}=r,D=(0,d.Z)(r,ii),P=p.useRef(null),A=(0,tP.Z)(t,P),k=(0,tP.Z)(C?.ref,O),R=ne(),I=(0,e3.Z)();if(!I)throw Error("MUI X: PickersInputBase should always be used inside a PickersTextField component");p.useEffect(()=>{I&&I.setAdornedStart(!!u)},[I,u]),p.useEffect(()=>{I&&(o?I.onEmpty():I.onFilled())},[I,o]);let _=(0,c.Z)({},r,I,{isRtl:R}),N=ih(_),L=h?.root||is,M=(0,e0.Z)({elementType:L,externalSlotProps:m?.root,externalForwardedProps:D,additionalProps:{"aria-invalid":I.error,ref:A},className:N.root,ownerState:_}),j=h?.input||il;return(0,eN.jsxs)(L,(0,c.Z)({},M,{children:[u,(0,eN.jsx)(io,{sectionListRef:T,elements:n,contentEditable:g,tabIndex:y,className:N.sectionsContainer,onFocus:e=>{if(I.disabled){e.stopPropagation();return}I.onFocus?.(e)},onBlur:I.onBlur,onInput:v,onPaste:b,onKeyDown:E,slots:{root:j,section:iu,sectionContent:ic,sectionSeparator:id},slotProps:{root:{ownerState:_},sectionContent:{className:oK.sectionContent},sectionSeparator:({position:e})=>({className:"before"===e?oK.sectionBefore:oK.sectionAfter})}}),l,f?f((0,c.Z)({},I)):null,(0,eN.jsx)(ip,(0,c.Z)({name:x,className:N.input,value:i,onChange:a,id:s,"aria-hidden":"true",tabIndex:-1,readOnly:S,required:I.required,disabled:I.disabled},C,{ref:k}))]}))}),ig=["label","autoFocus","ownerState","notched"],iy=(0,eA.ZP)(is,{name:"MuiPickersOutlinedInput",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{padding:"0 14px",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${oQ.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${oQ.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${oQ.focused} .${oQ.notchedOutline}`]:{borderStyle:"solid",borderWidth:2},[`&.${oQ.disabled}`]:{[`& .${oQ.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled},"*":{color:(e.vars||e).palette.action.disabled}},[`&.${oQ.error} .${oQ.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},variants:Object.keys((e.vars??e).palette).filter(t=>(e.vars??e).palette[t]?.main??!1).map(t=>({props:{color:t},style:{[`&.${oQ.focused}:not(.${oQ.error}) .${oQ.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}}))}}),iv=(0,eA.ZP)(il,{name:"MuiPickersOutlinedInput",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({padding:"16.5px 0",variants:[{props:{size:"small"},style:{padding:"8.5px 0"}}]}),ib=e=>{let{classes:t}=e,r=(0,ek.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},oY,t);return(0,c.Z)({},t,r)},iw=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiPickersOutlinedInput"}),{label:n,ownerState:o,notched:i}=r,a=(0,d.Z)(r,ig),s=(0,e3.Z)(),l=(0,c.Z)({},r,o,s,{color:s?.color||"primary"}),u=ib(l);return(0,eN.jsx)(im,(0,c.Z)({slots:{root:iy,input:iv},renderSuffix:e=>(0,eN.jsx)(o2,{shrink:!!(i||e.adornedStart||e.focused||e.filled),notched:!!(i||e.adornedStart||e.focused||e.filled),className:u.notchedOutline,label:null!=n&&""!==n&&s?.required?(0,eN.jsxs)(p.Fragment,{children:[n," ","*"]}):n,ownerState:l})},a,{label:n,classes:u,ref:t}))});iw.muiName="Input";var iE=r(79593);function ix(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function iS(e,t,r={clone:!0}){let n=r.clone?{...e}:e;return ix(e)&&ix(t)&&Object.keys(t).forEach(o=>{p.isValidElement(t[o])||(0,iE.iY)(t[o])?n[o]=t[o]:ix(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ix(e[o])?n[o]=iS(e[o],t[o],r):r.clone?n[o]=ix(t[o])?function e(t){if(p.isValidElement(t)||(0,iE.iY)(t)||!ix(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(t[o]):t[o]:n[o]=t[o]}),n}let iC=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};var iO={borderRadius:4};let iT={xs:0,sm:600,md:900,lg:1200,xl:1536},iD={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${iT[e]}px)`},iP={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:iT[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function iA(e,t,r){let n=e.theme||{};if(Array.isArray(t)){let e=n.breakpoints||iD;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=n.breakpoints||iD;return Object.keys(t).reduce((o,i)=>{var a;if(a=e.keys,"@"===i||i.startsWith("@")&&(a.some(e=>i.startsWith(`@${e}`))||i.match(/^@\d/))){let e=function(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}(n.containerQueries?n:iP,i);e&&(o[e]=r(t[i],i))}else Object.keys(e.values||iT).includes(i)?o[e.up(i)]=r(t[i],i):o[i]=t[i];return o},{})}return r(t)}function ik(e){if("string"!=typeof e)throw Error(function(e){let t=new URL("https://mui.com/production-error/?code=7");return[].forEach(e=>t.searchParams.append("args[]",e)),`Minified MUI error #7; visit ${t} for the full message.`}(0));return e.charAt(0).toUpperCase()+e.slice(1)}function iR(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function iI(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:iR(e,r)||n,t&&(o=t(o,n,e)),o}var i_=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;let i=e[t],a=iR(e.theme,n)||{};return iA(e,i,e=>{let n=iI(a,o,e);return(e===n&&"string"==typeof e&&(n=iI(a,o,`${t}${"default"===e?"":ik(e)}`,e)),!1===r)?n:{[r]:n}})};return i.propTypes={},i.filterProps=[t],i},iN=function(e,t){return t?iS(e,t,{clone:!1}):e};let iL={m:"margin",p:"padding"},iM={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ij={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},iF=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!ij[e])return[e];e=ij[e]}let[t,r]=e.split(""),n=iL[t],o=iM[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),iB=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],iZ=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],iV=[...iB,...iZ];function iq(e,t,r,n){let o=iR(e,t,!0)??r;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;let t=o[Math.abs(e)];return e>=0?t:"number"==typeof t?-t:"string"==typeof t&&t.startsWith("var(")?`calc(-1 * ${t})`:`-${t}`}:"function"==typeof o?o:()=>void 0}function iU(e){return iq(e,"spacing",8,"spacing")}function iz(e,t){return"string"==typeof t||null==t?t:e(t)}function i$(e,t){let r=iU(e.theme);return Object.keys(e).map(n=>(function(e,t,r,n){var o;if(!t.includes(r))return null;let i=(o=iF(r),e=>o.reduce((t,r)=>(t[r]=iz(n,e),t),{})),a=e[r];return iA(e,a,i)})(e,t,n,r)).reduce(iN,{})}function iH(e){return i$(e,iB)}function iG(e){return i$(e,iZ)}function iW(e){return i$(e,iV)}iH.propTypes={},iH.filterProps=iB,iG.propTypes={},iG.filterProps=iZ,iW.propTypes={},iW.filterProps=iV;var iK=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?iN(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};function iY(e){return"number"!=typeof e?e:`${e}px solid`}function iQ(e,t){return i_({prop:e,themeKey:"borders",transform:t})}let iJ=iQ("border",iY),iX=iQ("borderTop",iY),i0=iQ("borderRight",iY),i1=iQ("borderBottom",iY),i2=iQ("borderLeft",iY),i3=iQ("borderColor"),i5=iQ("borderTopColor"),i4=iQ("borderRightColor"),i6=iQ("borderBottomColor"),i8=iQ("borderLeftColor"),i9=iQ("outline",iY),i7=iQ("outlineColor"),ae=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=iq(e.theme,"shape.borderRadius",4,"borderRadius");return iA(e,e.borderRadius,e=>({borderRadius:iz(t,e)}))}return null};ae.propTypes={},ae.filterProps=["borderRadius"],iK(iJ,iX,i0,i1,i2,i3,i5,i4,i6,i8,ae,i9,i7);let at=e=>{if(void 0!==e.gap&&null!==e.gap){let t=iq(e.theme,"spacing",8,"gap");return iA(e,e.gap,e=>({gap:iz(t,e)}))}return null};at.propTypes={},at.filterProps=["gap"];let ar=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=iq(e.theme,"spacing",8,"columnGap");return iA(e,e.columnGap,e=>({columnGap:iz(t,e)}))}return null};ar.propTypes={},ar.filterProps=["columnGap"];let an=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=iq(e.theme,"spacing",8,"rowGap");return iA(e,e.rowGap,e=>({rowGap:iz(t,e)}))}return null};an.propTypes={},an.filterProps=["rowGap"];let ao=i_({prop:"gridColumn"}),ai=i_({prop:"gridRow"}),aa=i_({prop:"gridAutoFlow"}),as=i_({prop:"gridAutoColumns"}),al=i_({prop:"gridAutoRows"}),au=i_({prop:"gridTemplateColumns"});function ac(e,t){return"grey"===t?t:e}function ad(e){return e<=1&&0!==e?`${100*e}%`:e}iK(at,ar,an,ao,ai,aa,as,al,au,i_({prop:"gridTemplateRows"}),i_({prop:"gridTemplateAreas"}),i_({prop:"gridArea"})),iK(i_({prop:"color",themeKey:"palette",transform:ac}),i_({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ac}),i_({prop:"backgroundColor",themeKey:"palette",transform:ac}));let ap=i_({prop:"width",transform:ad}),af=e=>void 0!==e.maxWidth&&null!==e.maxWidth?iA(e,e.maxWidth,t=>{let r=e.theme?.breakpoints?.values?.[t]||iT[t];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:ad(t)}}):null;af.filterProps=["maxWidth"];let ah=i_({prop:"minWidth",transform:ad}),am=i_({prop:"height",transform:ad}),ag=i_({prop:"maxHeight",transform:ad}),ay=i_({prop:"minHeight",transform:ad});i_({prop:"size",cssProperty:"width",transform:ad}),i_({prop:"size",cssProperty:"height",transform:ad}),iK(ap,af,ah,am,ag,ay,i_({prop:"boxSizing"}));var av={border:{themeKey:"borders",transform:iY},borderTop:{themeKey:"borders",transform:iY},borderRight:{themeKey:"borders",transform:iY},borderBottom:{themeKey:"borders",transform:iY},borderLeft:{themeKey:"borders",transform:iY},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:iY},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ae},color:{themeKey:"palette",transform:ac},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ac},backgroundColor:{themeKey:"palette",transform:ac},p:{style:iG},pt:{style:iG},pr:{style:iG},pb:{style:iG},pl:{style:iG},px:{style:iG},py:{style:iG},padding:{style:iG},paddingTop:{style:iG},paddingRight:{style:iG},paddingBottom:{style:iG},paddingLeft:{style:iG},paddingX:{style:iG},paddingY:{style:iG},paddingInline:{style:iG},paddingInlineStart:{style:iG},paddingInlineEnd:{style:iG},paddingBlock:{style:iG},paddingBlockStart:{style:iG},paddingBlockEnd:{style:iG},m:{style:iH},mt:{style:iH},mr:{style:iH},mb:{style:iH},ml:{style:iH},mx:{style:iH},my:{style:iH},margin:{style:iH},marginTop:{style:iH},marginRight:{style:iH},marginBottom:{style:iH},marginLeft:{style:iH},marginX:{style:iH},marginY:{style:iH},marginInline:{style:iH},marginInlineStart:{style:iH},marginInlineEnd:{style:iH},marginBlock:{style:iH},marginBlockStart:{style:iH},marginBlockEnd:{style:iH},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:at},rowGap:{style:an},columnGap:{style:ar},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ad},maxWidth:{style:af},minWidth:{transform:ad},height:{transform:ad},maxHeight:{transform:ad},minHeight:{transform:ad},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};let ab=function(){function e(e,t,r,n){let o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};let{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};let c=iR(r,s)||{};return u?u(o):iA(o,t,t=>{let r=iI(c,l,t);return(t===r&&"string"==typeof t&&(r=iI(c,l,`${e}${"default"===t?"":ik(t)}`,t)),!1===a)?r:{[a]:r}})}return function t(r){let{sx:n,theme:o={}}=r||{};if(!n)return null;let i=o.unstable_sxConfig??av;function a(r){var n;let a=r;if("function"==typeof r)a=r(o);else if("object"!=typeof r)return r;if(!a)return null;let s=function(e={}){return e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{})||{}}(o.breakpoints),l=Object.keys(s),u=s;return Object.keys(a).forEach(r=>{var n;let s="function"==typeof(n=a[r])?n(o):n;if(null!=s){if("object"==typeof s){if(i[r])u=iN(u,e(r,s,o,i));else{let e=iA({theme:o},s,e=>({[r]:e}));(function(...e){let t=new Set(e.reduce((e,t)=>e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)})(e,s)?u[r]=t({sx:s,theme:o}):u=iN(u,e)}}else u=iN(u,e(r,s,o,i))}}),function(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{let r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{let n=t[r];return delete e[r],e[r]=n,e},{...t}):t}(o,(n=u,l.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},n)))}return Array.isArray(n)?n.map(a):a(n)}}();function aw(e,t){if(this.vars){if(!this.colorSchemes?.[e]||"function"!=typeof this.getColorSchemeSelector)return{};let r=this.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return this.palette.mode===e?t:{}}function aE(e){return(0,eR.ZP)("MuiPickersFilledInput",e)}ab.filterProps=["sx"],function(e={}){let{breakpoints:t={},palette:r={},spacing:n,shape:o={},...i}=e,a=function(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=iC(t),a=Object.keys(i);function s(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function l(e){let o="number"==typeof t[e]?t[e]:e;return`@media (max-width:${o-n/100}${r})`}function u(e,o){let i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return{keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}(n),l=iS({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:s,shape:{...iO,...o}},i);(l=function(e){let t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{let o=t(e.breakpoints.not(...r),n);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}let n={},o=e=>(r(n,e),n);return r(o),{...e,containerQueries:o}}(l)).applyStyles=aw,(l=[].reduce((e,t)=>iS(e,t),l)).unstable_sxConfig={...av,...i?.unstable_sxConfig},l.unstable_sx=function(e){return ab({sx:e,theme:this})}}();let ax=(0,c.Z)({},oK,(0,eI.Z)("MuiPickersFilledInput",["root","underline","input"])),aS=["label","autoFocus","disableUnderline","ownerState"],aC=(0,eA.ZP)(is,{name:"MuiPickersFilledInput",slot:"Root",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"disableUnderline"!==e})(({theme:e})=>{let t="light"===e.palette.mode,r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${ax.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${ax.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"},variants:[...Object.keys((e.vars??e).palette).filter(t=>(e.vars??e).palette[t].main).map(t=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:{disableUnderline:!1},style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ax.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ax.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)"}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ax.disabled}, .${ax.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${ax.disabled}:before`]:{borderBottomStyle:"dotted"}}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:12}},{props:({endAdornment:e})=>!!e,style:{paddingRight:12}}]}}),aO=(0,eA.ZP)(il,{name:"MuiPickersFilledInput",slot:"sectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:0}},{props:({endAdornment:e})=>!!e,style:{paddingRight:0}},{props:{hiddenLabel:!0},style:{paddingTop:16,paddingBottom:17}},{props:{hiddenLabel:!0,size:"small"},style:{paddingTop:8,paddingBottom:9}}]}),aT=e=>{let{classes:t,disableUnderline:r}=e,n=(0,ek.Z)({root:["root",!r&&"underline"],input:["input"]},aE,t);return(0,c.Z)({},t,n)},aD=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiPickersFilledInput"}),{label:n,disableUnderline:o=!1,ownerState:i}=r,a=(0,d.Z)(r,aS),s=(0,e3.Z)(),l=aT((0,c.Z)({},r,i,s,{color:s?.color||"primary"}));return(0,eN.jsx)(im,(0,c.Z)({slots:{root:aC,input:aO},slotProps:{root:{disableUnderline:o}}},a,{label:n,classes:l,ref:t}))});function aP(e){return(0,eR.ZP)("MuiPickersFilledInput",e)}aD.muiName="Input";let aA=(0,c.Z)({},oK,(0,eI.Z)("MuiPickersInput",["root","input"])),ak=["label","autoFocus","disableUnderline","ownerState"],aR=(0,eA.ZP)(is,{name:"MuiPickersInput",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{"label + &":{marginTop:16},variants:[...Object.keys((e.vars??e).palette).filter(t=>(e.vars??e).palette[t].main).map(t=>({props:{color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}})),{props:{disableUnderline:!1},style:{"&::after":{background:"red",left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${aA.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${aA.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${aA.disabled}, .${aA.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${aA.disabled}:before`]:{borderBottomStyle:"dotted"}}}]}}),aI=e=>{let{classes:t,disableUnderline:r}=e,n=(0,ek.Z)({root:["root",!r&&"underline"],input:["input"]},aP,t);return(0,c.Z)({},t,n)},a_=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiPickersInput"}),{label:n,disableUnderline:o=!1,ownerState:i}=r,a=(0,d.Z)(r,ak),s=(0,e3.Z)(),l=aI((0,c.Z)({},r,i,s,{disableUnderline:o,color:s?.color||"primary"}));return(0,eN.jsx)(im,(0,c.Z)({slots:{root:aR}},a,{label:n,classes:l,ref:t}))});a_.muiName="Input";let aN=["onFocus","onBlur","className","color","disabled","error","variant","required","InputProps","inputProps","inputRef","sectionListRef","elements","areAllSectionsEmpty","onClick","onKeyDown","onKeyUp","onPaste","onInput","endAdornment","startAdornment","tabIndex","contentEditable","focused","value","onChange","fullWidth","id","name","helperText","FormHelperTextProps","label","InputLabelProps"],aL={standard:a_,filled:aD,outlined:iw},aM=(0,eA.ZP)(od.Z,{name:"MuiPickersTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({maxWidth:"100%"}),aj=e=>{let{focused:t,disabled:r,classes:n,required:o}=e;return(0,ek.Z)({root:["root",t&&!r&&"focused",r&&"disabled",o&&"required"]},oG,n)},aF=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiPickersTextField"}),{onFocus:n,onBlur:o,className:i,color:a="primary",disabled:s=!1,error:l=!1,variant:u="outlined",required:f=!1,InputProps:h,inputProps:m,inputRef:g,sectionListRef:y,elements:v,areAllSectionsEmpty:b,onClick:E,onKeyDown:x,onKeyUp:S,onPaste:C,onInput:O,endAdornment:T,startAdornment:D,tabIndex:P,contentEditable:A,focused:k,value:R,onChange:I,fullWidth:_,id:N,name:L,helperText:M,FormHelperTextProps:j,label:F,InputLabelProps:B}=r,Z=(0,d.Z)(r,aN),V=p.useRef(null),q=(0,tP.Z)(t,V),U=(0,tt.Z)(N),z=M&&U?`${U}-helper-text`:void 0,$=F&&U?`${U}-label`:void 0,H=(0,c.Z)({},r,{color:a,disabled:s,error:l,focused:k,required:f,variant:u}),G=aj(H),W=aL[u];return(0,eN.jsxs)(aM,(0,c.Z)({className:(0,eD.Z)(G.root,i),ref:q,focused:k,onFocus:n,onBlur:o,disabled:s,variant:u,error:l,color:a,fullWidth:_,required:f,ownerState:H},Z,{children:[(0,eN.jsx)(oc.Z,(0,c.Z)({htmlFor:U,id:$},B,{children:F})),(0,eN.jsx)(W,(0,c.Z)({elements:v,areAllSectionsEmpty:b,onClick:E,onKeyDown:x,onKeyUp:S,onInput:O,onPaste:C,endAdornment:T,startAdornment:D,tabIndex:P,contentEditable:A,value:R,onChange:I,id:U,fullWidth:_,inputProps:m,inputRef:g,sectionListRef:y,label:F,name:L,role:"group","aria-labelledby":$,"aria-describedby":z,"aria-live":z?"polite":void 0},h)),M&&(0,eN.jsx)(oy,(0,c.Z)({id:z},j,{children:M}))]}))}),aB=["enableAccessibleFieldDOMStructure"],aZ=["InputProps","readOnly"],aV=["onPaste","onKeyDown","inputMode","readOnly","InputProps","inputProps","inputRef"],aq=e=>{let{enableAccessibleFieldDOMStructure:t}=e,r=(0,d.Z)(e,aB);if(t){let{InputProps:e,readOnly:t}=r,n=(0,d.Z)(r,aZ);return(0,c.Z)({},n,{InputProps:(0,c.Z)({},e??{},{readOnly:t})})}let{onPaste:n,onKeyDown:o,inputMode:i,readOnly:a,InputProps:s,inputProps:l,inputRef:u}=r,p=(0,d.Z)(r,aV);return(0,c.Z)({},p,{InputProps:(0,c.Z)({},s??{},{readOnly:a}),inputProps:(0,c.Z)({},l??{},{inputMode:i,onPaste:n,onKeyDown:o,ref:u})})},aU=["slots","slotProps","InputProps","inputProps"],az=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiDateField"}),{slots:n,slotProps:o,InputProps:i,inputProps:a}=r,s=(0,d.Z)(r,aU),l=n?.textField??(e.enableAccessibleFieldDOMStructure?aF:oC),u=(0,e0.Z)({elementType:l,externalSlotProps:o?.textField,externalForwardedProps:s,additionalProps:{ref:t},ownerState:r});u.inputProps=(0,c.Z)({},a,u.inputProps),u.InputProps=(0,c.Z)({},i,u.InputProps);let p=aq(oU(u)),f=oH((0,c.Z)({},p,{slots:n,slotProps:o}));return(0,eN.jsx)(l,(0,c.Z)({},f))}),a$=({shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:r,minDate:n,maxDate:o,disableFuture:i,disablePast:a,timezone:s})=>{let l=eS();return p.useCallback(u=>null!==eX({adapter:l,value:u,timezone:s,props:{shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:r,minDate:n,maxDate:o,disableFuture:i,disablePast:a}}),[l,e,t,r,n,o,i,a,s])},aH=(e,t,r)=>(n,o)=>{switch(o.type){case"changeMonth":return(0,c.Z)({},n,{slideDirection:o.direction,currentMonth:o.newMonth,isMonthSwitchingAnimating:!e});case"changeMonthTimezone":{let e=o.newTimezone;if(r.getTimezone(n.currentMonth)===e)return n;let t=r.setTimezone(n.currentMonth,e);return r.getMonth(t)!==r.getMonth(n.currentMonth)&&(t=r.setMonth(t,r.getMonth(n.currentMonth))),(0,c.Z)({},n,{currentMonth:t})}case"finishMonthSwitchingAnimation":return(0,c.Z)({},n,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(null!=n.focusedDay&&null!=o.focusedDay&&r.isSameDay(o.focusedDay,n.focusedDay))return n;let i=null!=o.focusedDay&&!t&&!r.isSameMonth(n.currentMonth,o.focusedDay);return(0,c.Z)({},n,{focusedDay:o.focusedDay,isMonthSwitchingAnimating:i&&!e&&!o.withoutMonthSwitchingAnimation,currentMonth:i?r.startOfMonth(o.focusedDay):n.currentMonth,slideDirection:null!=o.focusedDay&&r.isAfterDay(o.focusedDay,n.currentMonth)?"left":"right"})}default:throw Error("missing support")}},aG=e=>{let{value:t,referenceDate:r,disableFuture:n,disablePast:o,disableSwitchToMonthOnDayFocus:i=!1,maxDate:a,minDate:s,onMonthChange:l,reduceAnimations:u,shouldDisableDate:d,timezone:f}=e,h=eC(),m=p.useRef(aH(!!u,i,h)).current,g=p.useMemo(()=>ev.getInitialReferenceValue({value:t,utils:h,timezone:f,props:e,referenceDate:r,granularity:Z.day}),[r,f]),[y,v]=p.useReducer(m,{isMonthSwitchingAnimating:!1,focusedDay:g,currentMonth:h.startOfMonth(g),slideDirection:"left"});p.useEffect(()=>{v({type:"changeMonthTimezone",newTimezone:h.getTimezone(g)})},[g,h]);let b=p.useCallback(e=>{v((0,c.Z)({type:"changeMonth"},e)),l&&l(e.newMonth)},[l]),w=p.useCallback(e=>{h.isSameMonth(e,y.currentMonth)||b({newMonth:h.startOfMonth(e),direction:h.isAfterDay(e,y.currentMonth)?"left":"right"})},[y.currentMonth,b,h]),E=a$({shouldDisableDate:d,minDate:s,maxDate:a,disableFuture:n,disablePast:o,timezone:f}),x=p.useCallback(()=>{v({type:"finishMonthSwitchingAnimation"})},[]);return{referenceDate:g,calendarState:y,changeMonth:w,changeFocusedDay:(0,rM.Z)((e,t)=>{E(e)||v({type:"changeFocusedDay",focusedDay:e,withoutMonthSwitchingAnimation:t})}),isDateDisabled:E,onMonthSwitchingAnimationEnd:x,handleChangeMonth:b}};var aW=r(89747),aK=r(74333);let aY=e=>(0,eR.ZP)("MuiPickersFadeTransitionGroup",e);(0,eI.Z)("MuiPickersFadeTransitionGroup",["root"]);let aQ=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"]},aY,t)},aJ=(0,eA.ZP)(aW.Z,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"block",position:"relative"});function aX(e){let t=(0,w.Z)({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:r,className:n,reduceAnimations:o,transKey:i}=t,a=aQ(t),s=(0,aK.Z)();return o?r:(0,eN.jsx)(aJ,{className:(0,eD.Z)(a.root,n),children:(0,eN.jsx)(tk.Z,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:s.transitions.duration.enteringScreen,enter:s.transitions.duration.enteringScreen,exit:0},children:r},i)})}function a0(e){return(0,eR.ZP)("MuiPickersDay",e)}let a1=(0,eI.Z)("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),a2=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],a3=e=>{let{selected:t,disableMargin:r,disableHighlightToday:n,today:o,disabled:i,outsideCurrentMonth:a,showDaysOutsideCurrentMonth:s,classes:l}=e,u=a&&!s;return(0,ek.Z)({root:["root",t&&!u&&"selected",i&&"disabled",!r&&"dayWithMargin",!n&&o&&"today",a&&s&&"dayOutsideMonth",u&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]},a0,l)},a5=({theme:e})=>(0,c.Z)({},e.typography.caption,{width:36,height:36,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:e.transitions.create("background-color",{duration:e.transitions.duration.short}),color:(e.vars||e).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,tn.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,tn.Fq)(e.palette.primary.main,e.palette.action.focusOpacity),[`&.${a1.selected}`]:{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${a1.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${a1.disabled}:not(.${a1.selected})`]:{color:(e.vars||e).palette.text.disabled},[`&.${a1.disabled}&.${a1.selected}`]:{opacity:.6},variants:[{props:{disableMargin:!1},style:{margin:"0 2px"}},{props:{outsideCurrentMonth:!0,showDaysOutsideCurrentMonth:!0},style:{color:(e.vars||e).palette.text.secondary}},{props:{disableHighlightToday:!1,today:!0},style:{[`&:not(.${a1.selected})`]:{border:`1px solid ${(e.vars||e).palette.text.secondary}`}}}]}),a4=(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableMargin&&t.dayWithMargin,!r.disableHighlightToday&&r.today&&t.today,!r.outsideCurrentMonth&&r.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,r.outsideCurrentMonth&&!r.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},a6=(0,eA.ZP)(ti.Z,{name:"MuiPickersDay",slot:"Root",overridesResolver:a4})(a5),a8=(0,eA.ZP)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:a4})(({theme:e})=>(0,c.Z)({},a5({theme:e}),{opacity:0,pointerEvents:"none"})),a9=()=>{},a7=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiPickersDay"}),{autoFocus:n=!1,className:o,day:i,disabled:a=!1,disableHighlightToday:s=!1,disableMargin:l=!1,isAnimating:u,onClick:f,onDaySelect:m,onFocus:g=a9,onBlur:y=a9,onKeyDown:v=a9,onMouseDown:b=a9,onMouseEnter:E=a9,outsideCurrentMonth:x,selected:S=!1,showDaysOutsideCurrentMonth:C=!1,children:O,today:T=!1}=r,D=(0,d.Z)(r,a2),P=(0,c.Z)({},r,{autoFocus:n,disabled:a,disableHighlightToday:s,disableMargin:l,selected:S,showDaysOutsideCurrentMonth:C,today:T}),A=a3(P),k=eC(),R=p.useRef(null),I=(0,tP.Z)(R,t);return((0,h.Z)(()=>{!n||a||u||x||R.current.focus()},[n,a,u,x]),x&&!C)?(0,eN.jsx)(a8,{className:(0,eD.Z)(A.root,A.hiddenDaySpacingFiller,o),ownerState:P,role:D.role}):(0,eN.jsx)(a6,(0,c.Z)({className:(0,eD.Z)(A.root,o),ref:I,centerRipple:!0,disabled:a,tabIndex:S?0:-1,onKeyDown:e=>v(e,i),onFocus:e=>g(e,i),onBlur:e=>y(e,i),onMouseEnter:e=>E(e,i),onClick:e=>{a||m(i),x&&e.currentTarget.focus(),f&&f(e)},onMouseDown:e=>{b(e),x&&e.preventDefault()}},D,{ownerState:P,children:O||k.format(i,"dayOfMonth")}))}),se=p.memo(a7);var st=r(75068);function sr(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var sn=r(98885),so=r(59391),si=function(e,t){return e&&t&&t.split(" ").forEach(function(t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=sr(e.className,t):e.setAttribute("class",sr(e.className&&e.className.baseVal||"",t))})},sa=function(e){function t(){for(var t,r=arguments.length,n=Array(r),o=0;o(0,eR.ZP)("MuiPickersSlideTransition",e),sl=(0,eI.Z)("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),su=["children","className","reduceAnimations","slideDirection","transKey","classes"],sc=e=>{let{classes:t,slideDirection:r}=e,n={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:[`slideEnter-${r}`],exitActive:[`slideExitActiveLeft-${r}`]};return(0,ek.Z)(n,ss,t)},sd=(0,eA.ZP)(aW.Z,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`.${sl["slideEnter-left"]}`]:t["slideEnter-left"]},{[`.${sl["slideEnter-right"]}`]:t["slideEnter-right"]},{[`.${sl.slideEnterActive}`]:t.slideEnterActive},{[`.${sl.slideExit}`]:t.slideExit},{[`.${sl["slideExitActiveLeft-left"]}`]:t["slideExitActiveLeft-left"]},{[`.${sl["slideExitActiveLeft-right"]}`]:t["slideExitActiveLeft-right"]}]})(({theme:e})=>{let t=e.transitions.create("transform",{duration:e.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${sl["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${sl["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${sl.slideEnterActive}`]:{transform:"translate(0%)",transition:t},[`& .${sl.slideExit}`]:{transform:"translate(0%)"},[`& .${sl["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:t,zIndex:0},[`& .${sl["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:t,zIndex:0}}}),sp=e=>(0,eR.ZP)("MuiDayCalendar",e);(0,eI.Z)("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]);let sf=["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"],sh=["ownerState"],sm=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},sp,t)},sg=(0,eA.ZP)("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),sy=(0,eA.ZP)("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,t)=>t.header})({display:"flex",justifyContent:"center",alignItems:"center"}),sv=(0,eA.ZP)(eP.Z,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,t)=>t.weekDayLabel})(({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(e.vars||e).palette.text.secondary})),sb=(0,eA.ZP)(eP.Z,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,t)=>t.weekNumberLabel})(({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.palette.text.disabled})),sw=(0,eA.ZP)(eP.Z,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,t)=>t.weekNumber})(({theme:e})=>(0,c.Z)({},e.typography.caption,{width:36,height:36,padding:0,margin:"0 2px",color:e.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"})),sE=(0,eA.ZP)("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,t)=>t.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:240}),sx=(0,eA.ZP)(function(e){let t=(0,w.Z)({props:e,name:"MuiPickersSlideTransition"}),{children:r,className:n,reduceAnimations:o,transKey:i}=t,a=(0,d.Z)(t,su),s=sc(t),l=(0,aK.Z)();if(o)return(0,eN.jsx)("div",{className:(0,eD.Z)(s.root,n),children:r});let u={exit:s.exit,enterActive:s.enterActive,enter:s.enter,exitActive:s.exitActive};return(0,eN.jsx)(sd,{className:(0,eD.Z)(s.root,n),childFactory:e=>p.cloneElement(e,{classNames:u}),role:"presentation",children:(0,eN.jsx)(sa,(0,c.Z)({mountOnEnter:!0,unmountOnExit:!0,timeout:l.transitions.duration.complex,classNames:u},a,{children:r}),i)})},{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,t)=>t.slideTransition})({minHeight:240}),sS=(0,eA.ZP)("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,t)=>t.monthContainer})({overflow:"hidden"}),sC=(0,eA.ZP)("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,t)=>t.weekContainer})({margin:"2px 0",display:"flex",justifyContent:"center"});function sO(e){let{parentProps:t,day:r,focusableDay:n,selectedDays:o,isDateDisabled:i,currentMonthNumber:a,isViewFocused:s}=e,l=(0,d.Z)(e,sf),{disabled:u,disableHighlightToday:f,isMonthSwitchingAnimating:h,showDaysOutsideCurrentMonth:m,slots:g,slotProps:y,timezone:v}=t,b=eC(),w=eT(v),E=null!==n&&b.isSameDay(r,n),x=o.some(e=>b.isSameDay(e,r)),S=b.isSameDay(r,w),C=g?.day??se,O=(0,e0.Z)({elementType:C,externalSlotProps:y?.day,additionalProps:(0,c.Z)({disableHighlightToday:f,showDaysOutsideCurrentMonth:m,role:"gridcell",isAnimating:h,"data-timestamp":b.toJsDate(r).valueOf()},l),ownerState:(0,c.Z)({},t,{day:r,selected:x})}),T=(0,d.Z)(O,sh),D=p.useMemo(()=>u||i(r),[u,i,r]),P=p.useMemo(()=>b.getMonth(r)!==a,[b,r,a]),A=p.useMemo(()=>{let e=b.startOfMonth(b.setMonth(r,a));return m?b.isSameDay(r,b.startOfWeek(e)):b.isSameDay(r,e)},[a,r,m,b]),k=p.useMemo(()=>{let e=b.endOfMonth(b.setMonth(r,a));return m?b.isSameDay(r,b.endOfWeek(e)):b.isSameDay(r,e)},[a,r,m,b]);return(0,eN.jsx)(C,(0,c.Z)({},T,{day:r,disabled:D,autoFocus:s&&E,today:S,outsideCurrentMonth:P,isFirstVisibleCell:A,isLastVisibleCell:k,selected:x,tabIndex:E?0:-1,"aria-selected":x,"aria-current":S?"date":void 0}))}function sT(e){let t=(0,w.Z)({props:e,name:"MuiDayCalendar"}),r=eC(),{onFocusedDayChange:n,className:o,currentMonth:i,selectedDays:a,focusedDay:s,loading:l,onSelectedDaysChange:u,onMonthSwitchingAnimationEnd:d,readOnly:f,reduceAnimations:h,renderLoading:m=()=>(0,eN.jsx)("span",{children:"..."}),slideDirection:g,TransitionProps:y,disablePast:v,disableFuture:b,minDate:E,maxDate:x,shouldDisableDate:S,shouldDisableMonth:C,shouldDisableYear:O,dayOfWeekFormatter:T=e=>r.format(e,"weekdayShort").charAt(0).toUpperCase(),hasFocus:D,onFocusedViewChange:A,gridLabelId:k,displayWeekNumber:R,fixedWeekNumber:I,autoFocus:_,timezone:N}=t,M=eT(N),j=sm(t),F=ne(),B=a$({shouldDisableDate:S,shouldDisableMonth:C,shouldDisableYear:O,minDate:E,maxDate:x,disablePast:v,disableFuture:b,timezone:N}),Z=eZ(),[V,q]=(0,rX.Z)({name:"DayCalendar",state:"hasFocus",controlled:D,default:_??!1}),[U,z]=p.useState(()=>s||M),$=(0,rM.Z)(e=>{f||u(e)}),H=e=>{B(e)||(n(e),z(e),A?.(!0),q(!0))},G=(0,rM.Z)((e,t)=>{switch(e.key){case"ArrowUp":H(r.addDays(t,-7)),e.preventDefault();break;case"ArrowDown":H(r.addDays(t,7)),e.preventDefault();break;case"ArrowLeft":{let n=r.addDays(t,F?1:-1),o=r.addMonths(t,F?1:-1);H(P({utils:r,date:n,minDate:F?n:r.startOfMonth(o),maxDate:F?r.endOfMonth(o):n,isDateDisabled:B,timezone:N})||n),e.preventDefault();break}case"ArrowRight":{let n=r.addDays(t,F?-1:1),o=r.addMonths(t,F?-1:1);H(P({utils:r,date:n,minDate:F?r.startOfMonth(o):n,maxDate:F?n:r.endOfMonth(o),isDateDisabled:B,timezone:N})||n),e.preventDefault();break}case"Home":H(r.startOfWeek(t)),e.preventDefault();break;case"End":H(r.endOfWeek(t)),e.preventDefault();break;case"PageUp":H(r.addMonths(t,1)),e.preventDefault();break;case"PageDown":H(r.addMonths(t,-1)),e.preventDefault()}}),W=(0,rM.Z)((e,t)=>H(t)),K=(0,rM.Z)((e,t)=>{V&&r.isSameDay(U,t)&&A?.(!1)}),Y=r.getMonth(i),Q=r.getYear(i),J=p.useMemo(()=>a.filter(e=>!!e).map(e=>r.startOfDay(e)),[r,a]),X=`${Q}-${Y}`,ee=p.useMemo(()=>p.createRef(),[X]),et=p.useMemo(()=>{let e=r.startOfMonth(i),t=r.endOfMonth(i);return B(U)||r.isAfterDay(U,t)||r.isBeforeDay(U,e)?P({utils:r,date:U,minDate:e,maxDate:t,disablePast:v,disableFuture:b,isDateDisabled:B,timezone:N}):U},[i,b,v,U,B,r,N]),er=p.useMemo(()=>{let e=r.getWeekArray(i),t=r.addMonths(i,1);for(;I&&e.length{e.length(0,eN.jsx)(sv,{variant:"caption",role:"columnheader","aria-label":r.format(e,"weekday"),className:j.weekDayLabel,children:T(e)},t.toString()))]}),l?(0,eN.jsx)(sE,{className:j.loadingContainer,children:m()}):(0,eN.jsx)(sx,(0,c.Z)({transKey:X,onExited:d,reduceAnimations:h,slideDirection:g,className:(0,eD.Z)(o,j.slideTransition)},y,{nodeRef:ee,children:(0,eN.jsx)(sS,{ref:ee,role:"rowgroup",className:j.monthContainer,children:er.map((e,n)=>(0,eN.jsxs)(sC,{role:"row",className:j.weekContainer,"aria-rowindex":n+1,children:[R&&(0,eN.jsx)(sw,{className:j.weekNumber,role:"rowheader","aria-label":Z.calendarWeekNumberAriaLabelText(r.getWeekNumber(e[0])),children:Z.calendarWeekNumberText(r.getWeekNumber(e[0]))}),e.map((e,r)=>(0,eN.jsx)(sO,{parentProps:t,day:e,selectedDays:J,focusableDay:et,onKeyDown:G,onFocus:W,onBlur:K,onDaySelect:$,isDateDisabled:B,currentMonthNumber:Y,isViewFocused:V,"aria-colindex":r+1},e.toString()))]},`week-${e[0]}`))})}))]})}function sD(e){return(0,eR.ZP)("MuiPickersMonth",e)}let sP=(0,eI.Z)("MuiPickersMonth",["root","monthButton","disabled","selected"]),sA=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow","slots","slotProps"],sk=e=>{let{disabled:t,selected:r,classes:n}=e;return(0,ek.Z)({root:["root"],monthButton:["monthButton",t&&"disabled",r&&"selected"]},sD,n)},sR=(0,eA.ZP)("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{monthsPerRow:4},style:{flexBasis:"25%"}}]}),sI=(0,eA.ZP)("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,t)=>[t.monthButton,{[`&.${sP.disabled}`]:t.disabled},{[`&.${sP.selected}`]:t.selected}]})(({theme:e})=>(0,c.Z)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,tn.Fq)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,tn.Fq)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${sP.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${sP.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}})),s_=p.memo(function(e){let t=(0,w.Z)({props:e,name:"MuiPickersMonth"}),{autoFocus:r,className:n,children:o,disabled:i,selected:a,value:s,tabIndex:l,onClick:u,onKeyDown:f,onFocus:m,onBlur:g,"aria-current":y,"aria-label":v,slots:b,slotProps:E}=t,x=(0,d.Z)(t,sA),S=p.useRef(null),C=sk(t);(0,h.Z)(()=>{r&&S.current?.focus()},[r]);let O=b?.monthButton??sI,T=(0,e0.Z)({elementType:O,externalSlotProps:E?.monthButton,additionalProps:{children:o,disabled:i,tabIndex:l,ref:S,type:"button",role:"radio","aria-current":y,"aria-checked":a,"aria-label":v,onClick:e=>u(e,s),onKeyDown:e=>f(e,s),onFocus:e=>m(e,s),onBlur:e=>g(e,s)},ownerState:t,className:C.monthButton});return(0,eN.jsx)(sR,(0,c.Z)({className:(0,eD.Z)(C.root,n),ownerState:t},x,{children:(0,eN.jsx)(O,(0,c.Z)({},T))}))});function sN(e){return(0,eR.ZP)("MuiMonthCalendar",e)}(0,eI.Z)("MuiMonthCalendar",["root"]);let sL=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId","slots","slotProps"],sM=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"]},sN,t)},sj=(0,eA.ZP)("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:320,boxSizing:"border-box"}),sF=p.forwardRef(function(e,t){let r=function(e,t){let r=eC(),n=eO(),o=(0,w.Z)({props:e,name:t});return(0,c.Z)({disableFuture:!1,disablePast:!1},o,{minDate:A(r,o.minDate,n.minDate),maxDate:A(r,o.maxDate,n.maxDate)})}(e,"MuiMonthCalendar"),{className:n,value:o,defaultValue:i,referenceDate:a,disabled:s,disableFuture:l,disablePast:u,maxDate:f,minDate:h,onChange:m,shouldDisableMonth:g,readOnly:y,autoFocus:v=!1,onMonthFocus:b,hasFocus:E,onFocusedViewChange:x,monthsPerRow:S=3,timezone:C,gridLabelId:O,slots:T,slotProps:D}=r,P=(0,d.Z)(r,sL),{value:R,handleValueChange:I,timezone:_}=r1({name:"MonthCalendar",timezone:C,value:o,defaultValue:i,referenceDate:a,onChange:m,valueManager:ev}),N=eT(_),L=ne(),M=eC(),j=p.useMemo(()=>ev.getInitialReferenceValue({value:R,utils:M,props:r,timezone:_,referenceDate:a,granularity:Z.month}),[]),F=sM(r),B=p.useMemo(()=>M.getMonth(N),[M,N]),V=p.useMemo(()=>null!=R?M.getMonth(R):null,[R,M]),[q,U]=p.useState(()=>V||M.getMonth(j)),[z,$]=(0,rX.Z)({name:"MonthCalendar",state:"hasFocus",controlled:E,default:v??!1}),H=(0,rM.Z)(e=>{$(e),x&&x(e)}),G=p.useCallback(e=>{let t=M.startOfMonth(u&&M.isAfter(N,h)?N:h),r=M.startOfMonth(l&&M.isBefore(N,f)?N:f),n=M.startOfMonth(e);return!!(M.isBefore(n,t)||M.isAfter(n,r))||!!g&&g(n)},[l,u,f,h,N,g,M]),W=(0,rM.Z)((e,t)=>{y||I(M.setMonth(R??j,t))}),K=(0,rM.Z)(e=>{!G(M.setMonth(R??j,e))&&(U(e),H(!0),b&&b(e))});p.useEffect(()=>{U(e=>null!==V&&e!==V?V:e)},[V]);let Y=(0,rM.Z)((e,t)=>{switch(e.key){case"ArrowUp":K((12+t-3)%12),e.preventDefault();break;case"ArrowDown":K((12+t+3)%12),e.preventDefault();break;case"ArrowLeft":K((12+t+(L?1:-1))%12),e.preventDefault();break;case"ArrowRight":K((12+t+(L?-1:1))%12),e.preventDefault()}}),Q=(0,rM.Z)((e,t)=>{K(t)}),J=(0,rM.Z)((e,t)=>{q===t&&H(!1)});return(0,eN.jsx)(sj,(0,c.Z)({ref:t,className:(0,eD.Z)(F.root,n),ownerState:r,role:"radiogroup","aria-labelledby":O},P,{children:k(M,R??j).map(e=>{let t=M.getMonth(e),r=M.format(e,"monthShort"),n=M.format(e,"month"),o=s||G(e);return(0,eN.jsx)(s_,{selected:t===V,value:t,onClick:W,onKeyDown:Y,autoFocus:z&&t===q,disabled:o,tabIndex:t!==q||o?-1:0,onFocus:Q,onBlur:J,"aria-current":B===t?"date":void 0,"aria-label":n,monthsPerRow:S,slots:T,slotProps:D,children:r},r)})}))});function sB(e){return(0,eR.ZP)("MuiPickersYear",e)}let sZ=(0,eI.Z)("MuiPickersYear",["root","yearButton","selected","disabled"]),sV=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow","slots","slotProps"],sq=e=>{let{disabled:t,selected:r,classes:n}=e;return(0,ek.Z)({root:["root"],yearButton:["yearButton",t&&"disabled",r&&"selected"]},sB,n)},sU=(0,eA.ZP)("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{yearsPerRow:4},style:{flexBasis:"25%"}}]}),sz=(0,eA.ZP)("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,t)=>[t.yearButton,{[`&.${sZ.disabled}`]:t.disabled},{[`&.${sZ.selected}`]:t.selected}]})(({theme:e})=>(0,c.Z)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})`:(0,tn.Fq)(e.palette.action.active,e.palette.action.focusOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,tn.Fq)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${sZ.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${sZ.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}})),s$=p.memo(function(e){let t=(0,w.Z)({props:e,name:"MuiPickersYear"}),{autoFocus:r,className:n,children:o,disabled:i,selected:a,value:s,tabIndex:l,onClick:u,onKeyDown:f,onFocus:m,onBlur:g,"aria-current":y,slots:v,slotProps:b}=t,E=(0,d.Z)(t,sV),x=p.useRef(null),S=sq(t);(0,h.Z)(()=>{r&&x.current?.focus()},[r]);let C=v?.yearButton??sz,O=(0,e0.Z)({elementType:C,externalSlotProps:b?.yearButton,additionalProps:{children:o,disabled:i,tabIndex:l,ref:x,type:"button",role:"radio","aria-current":y,"aria-checked":a,onClick:e=>u(e,s),onKeyDown:e=>f(e,s),onFocus:e=>m(e,s),onBlur:e=>g(e,s)},ownerState:t,className:S.yearButton});return(0,eN.jsx)(sU,(0,c.Z)({className:(0,eD.Z)(S.root,n),ownerState:t},E,{children:(0,eN.jsx)(C,(0,c.Z)({},O))}))});function sH(e){return(0,eR.ZP)("MuiYearCalendar",e)}(0,eI.Z)("MuiYearCalendar",["root"]);let sG=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsOrder","yearsPerRow","timezone","gridLabelId","slots","slotProps"],sW=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"]},sH,t)},sK=(0,eA.ZP)("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:320,maxHeight:280,boxSizing:"border-box",position:"relative"}),sY=p.forwardRef(function(e,t){let r=function(e,t){let r=eC(),n=eO(),o=(0,w.Z)({props:e,name:t});return(0,c.Z)({disablePast:!1,disableFuture:!1},o,{yearsPerRow:o.yearsPerRow??3,minDate:A(r,o.minDate,n.minDate),maxDate:A(r,o.maxDate,n.maxDate)})}(e,"MuiYearCalendar"),{autoFocus:n,className:o,value:i,defaultValue:a,referenceDate:s,disabled:l,disableFuture:u,disablePast:f,maxDate:h,minDate:m,onChange:g,readOnly:y,shouldDisableYear:v,onYearFocus:b,hasFocus:E,onFocusedViewChange:x,yearsOrder:S="asc",yearsPerRow:C,timezone:O,gridLabelId:T,slots:D,slotProps:P}=r,k=(0,d.Z)(r,sG),{value:R,handleValueChange:I,timezone:_}=r1({name:"YearCalendar",timezone:O,value:i,defaultValue:a,referenceDate:s,onChange:g,valueManager:ev}),N=eT(_),L=ne(),M=eC(),j=p.useMemo(()=>ev.getInitialReferenceValue({value:R,utils:M,props:r,timezone:_,referenceDate:s,granularity:Z.year}),[]),F=sW(r),B=p.useMemo(()=>M.getYear(N),[M,N]),V=p.useMemo(()=>null!=R?M.getYear(R):null,[R,M]),[q,U]=p.useState(()=>V||M.getYear(j)),[z,$]=(0,rX.Z)({name:"YearCalendar",state:"hasFocus",controlled:E,default:n??!1}),H=(0,rM.Z)(e=>{$(e),x&&x(e)}),G=p.useCallback(e=>!!(f&&M.isBeforeYear(e,N)||u&&M.isAfterYear(e,N)||m&&M.isBeforeYear(e,m)||h&&M.isAfterYear(e,h))||!!v&&v(M.startOfYear(e)),[u,f,h,m,N,v,M]),W=(0,rM.Z)((e,t)=>{y||I(M.setYear(R??j,t))}),K=(0,rM.Z)(e=>{G(M.setYear(R??j,e))||(U(e),H(!0),b?.(e))});p.useEffect(()=>{U(e=>null!==V&&e!==V?V:e)},[V]);let Y="desc"!==S?1*C:-1*C,Q=L&&"asc"===S||!L&&"desc"===S?-1:1,J=(0,rM.Z)((e,t)=>{switch(e.key){case"ArrowUp":K(t-Y),e.preventDefault();break;case"ArrowDown":K(t+Y),e.preventDefault();break;case"ArrowLeft":K(t-Q),e.preventDefault();break;case"ArrowRight":K(t+Q),e.preventDefault()}}),X=(0,rM.Z)((e,t)=>{K(t)}),ee=(0,rM.Z)((e,t)=>{q===t&&H(!1)}),et=p.useRef(null),er=(0,tP.Z)(t,et);p.useEffect(()=>{if(n||null===et.current)return;let e=et.current.querySelector('[tabindex="0"]');if(!e)return;let t=e.offsetHeight,r=e.offsetTop,o=et.current.clientHeight,i=et.current.scrollTop;t>o||r{let t=M.getYear(e),r=l||G(e);return(0,eN.jsx)(s$,{selected:t===V,value:t,onClick:W,onKeyDown:J,autoFocus:z&&t===q,disabled:r,tabIndex:t!==q||r?-1:0,onFocus:X,onBlur:ee,"aria-current":B===t?"date":void 0,yearsPerRow:C,slots:D,slotProps:P,children:M.format(e,"year")},M.format(e,"year"))})}))});function sQ(e){return(0,eR.ZP)("MuiPickersArrowSwitcher",e)}(0,eI.Z)("MuiPickersArrowSwitcher",["root","spacer","button","previousIconButton","nextIconButton","leftArrowIcon","rightArrowIcon"]);let sJ=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel","labelId"],sX=["ownerState"],s0=["ownerState"],s1=(0,eA.ZP)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),s2=(0,eA.ZP)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})(({theme:e})=>({width:e.spacing(3)})),s3=(0,eA.ZP)(tD,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})({variants:[{props:{hidden:!0},style:{visibility:"hidden"}}]}),s5=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"],spacer:["spacer"],button:["button"],previousIconButton:["previousIconButton"],nextIconButton:["nextIconButton"],leftArrowIcon:["leftArrowIcon"],rightArrowIcon:["rightArrowIcon"]},sQ,t)},s4=p.forwardRef(function(e,t){let r=ne(),n=(0,w.Z)({props:e,name:"MuiPickersArrowSwitcher"}),{children:o,className:i,slots:a,slotProps:s,isNextDisabled:l,isNextHidden:u,onGoToNext:p,nextLabel:f,isPreviousDisabled:h,isPreviousHidden:m,onGoToPrevious:g,previousLabel:y,labelId:v}=n,b=(0,d.Z)(n,sJ),E=s5(n),x=a?.previousIconButton??s3,S=(0,e0.Z)({elementType:x,externalSlotProps:s?.previousIconButton,additionalProps:{size:"medium",title:y,"aria-label":y,disabled:h,edge:"end",onClick:g},ownerState:(0,c.Z)({},n,{hidden:m}),className:(0,eD.Z)(E.button,E.previousIconButton)}),C=a?.nextIconButton??s3,O=(0,e0.Z)({elementType:C,externalSlotProps:s?.nextIconButton,additionalProps:{size:"medium",title:f,"aria-label":f,disabled:l,edge:"start",onClick:p},ownerState:(0,c.Z)({},n,{hidden:u}),className:(0,eD.Z)(E.button,E.nextIconButton)}),T=a?.leftArrowIcon??on,D=(0,e0.Z)({elementType:T,externalSlotProps:s?.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:n,className:E.leftArrowIcon}),P=(0,d.Z)(D,sX),A=a?.rightArrowIcon??oo,k=(0,e0.Z)({elementType:A,externalSlotProps:s?.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:n,className:E.rightArrowIcon}),R=(0,d.Z)(k,s0);return(0,eN.jsxs)(s1,(0,c.Z)({ref:t,className:(0,eD.Z)(E.root,i),ownerState:n},b,{children:[(0,eN.jsx)(x,(0,c.Z)({},S,{children:r?(0,eN.jsx)(A,(0,c.Z)({},R)):(0,eN.jsx)(T,(0,c.Z)({},P))})),o?(0,eN.jsx)(eP.Z,{variant:"subtitle1",component:"span",id:v,children:o}):(0,eN.jsx)(s2,{className:E.spacer,ownerState:n}),(0,eN.jsx)(C,(0,c.Z)({},O,{children:r?(0,eN.jsx)(T,(0,c.Z)({},P)):(0,eN.jsx)(A,(0,c.Z)({},R))}))]}))}),s6=e=>(0,eR.ZP)("MuiPickersCalendarHeader",e),s8=(0,eI.Z)("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]),s9=["slots","slotProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone","format"],s7=["ownerState"],le=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},s6,t)},lt=(0,eA.ZP)("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",alignItems:"center",marginTop:12,marginBottom:4,paddingLeft:24,paddingRight:12,maxHeight:40,minHeight:40}),lr=(0,eA.ZP)("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(({theme:e})=>(0,c.Z)({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium})),ln=(0,eA.ZP)("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,t)=>t.label})({marginRight:6}),lo=(0,eA.ZP)(tD,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,t)=>t.switchViewButton})({marginRight:"auto",variants:[{props:{view:"year"},style:{[`.${s8.switchViewIcon}`]:{transform:"rotate(180deg)"}}}]}),li=(0,eA.ZP)(or,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,t)=>t.switchViewIcon})(({theme:e})=>({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"})),la=p.forwardRef(function(e,t){let r=eZ(),n=eC(),o=(0,w.Z)({props:e,name:"MuiPickersCalendarHeader"}),{slots:i,slotProps:a,currentMonth:s,disabled:l,disableFuture:u,disablePast:f,maxDate:h,minDate:m,onMonthChange:g,onViewChange:y,view:v,reduceAnimations:b,views:E,labelId:x,className:S,timezone:C,format:O=`${n.formats.month} ${n.formats.year}`}=o,T=(0,d.Z)(o,s9),D=le(o),P=i?.switchViewButton??lo,A=(0,e0.Z)({elementType:P,externalSlotProps:a?.switchViewButton,additionalProps:{size:"small","aria-label":r.calendarViewSwitchingButtonAriaLabel(v)},ownerState:o,className:D.switchViewButton}),k=i?.switchViewIcon??li,R=(0,e0.Z)({elementType:k,externalSlotProps:a?.switchViewIcon,ownerState:o,className:D.switchViewIcon}),I=(0,d.Z)(R,s7),_=function(e,{disableFuture:t,maxDate:r,timezone:n}){let o=eC();return p.useMemo(()=>{let i=o.date(void 0,n),a=o.startOfMonth(t&&o.isBefore(i,r)?i:r);return!o.isAfter(a,e)},[t,r,e,o,n])}(s,{disableFuture:u,maxDate:h,timezone:C}),N=function(e,{disablePast:t,minDate:r,timezone:n}){let o=eC();return p.useMemo(()=>{let i=o.date(void 0,n),a=o.startOfMonth(t&&o.isAfter(i,r)?i:r);return!o.isBefore(a,e)},[t,r,e,o,n])}(s,{disablePast:f,minDate:m,timezone:C});if(1===E.length&&"year"===E[0])return null;let L=n.formatByString(s,O);return(0,eN.jsxs)(lt,(0,c.Z)({},T,{ownerState:o,className:(0,eD.Z)(D.root,S),ref:t,children:[(0,eN.jsxs)(lr,{role:"presentation",onClick:()=>{if(1!==E.length&&y&&!l){if(2===E.length)y(E.find(e=>e!==v)||E[0]);else{let e=0!==E.indexOf(v)?0:1;y(E[e])}}},ownerState:o,"aria-live":"polite",className:D.labelContainer,children:[(0,eN.jsx)(aX,{reduceAnimations:b,transKey:L,children:(0,eN.jsx)(ln,{id:x,ownerState:o,className:D.label,children:L})}),E.length>1&&!l&&(0,eN.jsx)(P,(0,c.Z)({},A,{children:(0,eN.jsx)(k,(0,c.Z)({},I))}))]}),(0,eN.jsx)(tk.Z,{in:"day"===v,appear:!b,enter:!b,children:(0,eN.jsx)(s4,{slots:i,slotProps:a,onGoToPrevious:()=>g(n.addMonths(s,-1),"right"),isPreviousDisabled:N,previousLabel:r.previousMonth,onGoToNext:()=>g(n.addMonths(s,1),"left"),isNextDisabled:_,nextLabel:r.nextMonth})})]}))}),ls=(0,eA.ZP)("div")({overflow:"hidden",width:320,maxHeight:336,display:"flex",flexDirection:"column",margin:"0 auto"}),ll=e=>(0,eR.ZP)("MuiDateCalendar",e);(0,eI.Z)("MuiDateCalendar",["root","viewTransitionContainer"]);let lu=["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsOrder","yearsPerRow","monthsPerRow","timezone"],lc=e=>{let{classes:t}=e;return(0,ek.Z)({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},ll,t)},ld=(0,eA.ZP)(ls,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",height:336}),lp=(0,eA.ZP)(aX,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,t)=>t.viewTransitionContainer})({}),lf=p.forwardRef(function(e,t){let r=eC(),n=(0,tt.Z)(),o=function(e,t){let r=eC(),n=eO(),o=rz(),i=(0,w.Z)({props:e,name:t});return(0,c.Z)({},i,{loading:i.loading??!1,disablePast:i.disablePast??!1,disableFuture:i.disableFuture??!1,openTo:i.openTo??"day",views:i.views??["year","day"],reduceAnimations:i.reduceAnimations??o,renderLoading:i.renderLoading??(()=>(0,eN.jsx)("span",{children:"..."})),minDate:A(r,i.minDate,n.minDate),maxDate:A(r,i.maxDate,n.maxDate)})}(e,"MuiDateCalendar"),{autoFocus:i,onViewChange:a,value:s,defaultValue:l,referenceDate:u,disableFuture:f,disablePast:h,onChange:m,onYearChange:g,onMonthChange:y,reduceAnimations:v,shouldDisableDate:b,shouldDisableMonth:E,shouldDisableYear:x,view:S,views:C,openTo:O,className:T,disabled:k,readOnly:R,minDate:I,maxDate:_,disableHighlightToday:N,focusedView:L,onFocusedViewChange:M,showDaysOutsideCurrentMonth:j,fixedWeekNumber:F,dayOfWeekFormatter:B,slots:Z,slotProps:V,loading:q,renderLoading:U,displayWeekNumber:z,yearsOrder:$,yearsPerRow:H,monthsPerRow:G,timezone:W}=o,K=(0,d.Z)(o,lu),{value:Y,handleValueChange:Q,timezone:J}=r1({name:"DateCalendar",timezone:W,value:s,defaultValue:l,referenceDate:u,onChange:m,valueManager:ev}),{view:X,setView:ee,focusedView:et,setFocusedView:er,goToNextView:en,setValueAndGoToNextView:eo}=r6({view:S,views:C,openTo:O,onChange:Q,onViewChange:a,autoFocus:i,focusedView:L,onFocusedViewChange:M}),{referenceDate:ei,calendarState:ea,changeFocusedDay:es,changeMonth:el,handleChangeMonth:eu,isDateDisabled:ec,onMonthSwitchingAnimationEnd:ed}=aG({value:Y,referenceDate:u,reduceAnimations:v,onMonthChange:y,minDate:I,maxDate:_,shouldDisableDate:b,disablePast:h,disableFuture:f,timezone:J}),ep=k&&Y||I,ef=k&&Y||_,eh=`${n}-grid-label`,em=null!==et,eg=Z?.calendarHeader??la,ey=(0,e0.Z)({elementType:eg,externalSlotProps:V?.calendarHeader,additionalProps:{views:C,view:X,currentMonth:ea.currentMonth,onViewChange:ee,onMonthChange:(e,t)=>eu({newMonth:e,direction:t}),minDate:ep,maxDate:ef,disabled:k,disablePast:h,disableFuture:f,reduceAnimations:v,timezone:J,labelId:eh},ownerState:o}),eb=(0,rM.Z)(e=>{let t=r.startOfMonth(e),n=r.endOfMonth(e),o=ec(e)?P({utils:r,date:e,minDate:r.isBefore(I,t)?t:I,maxDate:r.isAfter(_,n)?n:_,disablePast:h,disableFuture:f,isDateDisabled:ec,timezone:J}):e;o?(eo(o,"finish"),y?.(t)):(en(),el(t)),es(o,!0)}),ew=(0,rM.Z)(e=>{let t=r.startOfYear(e),n=r.endOfYear(e),o=ec(e)?P({utils:r,date:e,minDate:r.isBefore(I,t)?t:I,maxDate:r.isAfter(_,n)?n:_,disablePast:h,disableFuture:f,isDateDisabled:ec,timezone:J}):e;o?(eo(o,"finish"),g?.(o)):(en(),el(t)),es(o,!0)}),eE=(0,rM.Z)(e=>e?Q(D(r,e,Y??ei),"finish",X):Q(e,"finish",X));p.useEffect(()=>{null!=Y&&r.isValid(Y)&&el(Y)},[Y]);let ex=lc(o),eS={disablePast:h,disableFuture:f,maxDate:_,minDate:I},eT={disableHighlightToday:N,readOnly:R,disabled:k,timezone:J,gridLabelId:eh,slots:Z,slotProps:V},eP=p.useRef(X);p.useEffect(()=>{eP.current!==X&&(et===eP.current&&er(X,!0),eP.current=X)},[et,er,X]);let eA=p.useMemo(()=>[Y],[Y]);return(0,eN.jsxs)(ld,(0,c.Z)({ref:t,className:(0,eD.Z)(ex.root,T),ownerState:o},K,{children:[(0,eN.jsx)(eg,(0,c.Z)({},ey,{slots:Z,slotProps:V})),(0,eN.jsx)(lp,{reduceAnimations:v,className:ex.viewTransitionContainer,transKey:X,ownerState:o,children:(0,eN.jsxs)("div",{children:["year"===X&&(0,eN.jsx)(sY,(0,c.Z)({},eS,eT,{value:Y,onChange:ew,shouldDisableYear:x,hasFocus:em,onFocusedViewChange:e=>er("year",e),yearsOrder:$,yearsPerRow:H,referenceDate:ei})),"month"===X&&(0,eN.jsx)(sF,(0,c.Z)({},eS,eT,{hasFocus:em,className:T,value:Y,onChange:eb,shouldDisableMonth:E,onFocusedViewChange:e=>er("month",e),monthsPerRow:G,referenceDate:ei})),"day"===X&&(0,eN.jsx)(sT,(0,c.Z)({},ea,eS,eT,{onMonthSwitchingAnimationEnd:ed,onFocusedDayChange:es,reduceAnimations:v,selectedDays:eA,onSelectedDaysChange:eE,shouldDisableDate:b,shouldDisableMonth:E,shouldDisableYear:x,hasFocus:em,onFocusedViewChange:e=>er("day",e),showDaysOutsideCurrentMonth:j,fixedWeekNumber:F,dayOfWeekFormatter:B,displayWeekNumber:z,loading:q,renderLoading:U}))]})})]}))}),lh=({view:e,onViewChange:t,views:r,focusedView:n,onFocusedViewChange:o,value:i,defaultValue:a,referenceDate:s,onChange:l,className:u,classes:c,disableFuture:d,disablePast:p,minDate:f,maxDate:h,shouldDisableDate:m,shouldDisableMonth:g,shouldDisableYear:y,reduceAnimations:v,onMonthChange:b,monthsPerRow:w,onYearChange:E,yearsOrder:x,yearsPerRow:S,slots:C,slotProps:O,loading:T,renderLoading:D,disableHighlightToday:P,readOnly:A,disabled:k,showDaysOutsideCurrentMonth:R,dayOfWeekFormatter:I,sx:N,autoFocus:L,fixedWeekNumber:M,displayWeekNumber:j,timezone:F})=>(0,eN.jsx)(lf,{view:e,onViewChange:t,views:r.filter(_),focusedView:n&&_(n)?n:null,onFocusedViewChange:o,value:i,defaultValue:a,referenceDate:s,onChange:l,className:u,classes:c,disableFuture:d,disablePast:p,minDate:f,maxDate:h,shouldDisableDate:m,shouldDisableMonth:g,shouldDisableYear:y,reduceAnimations:v,onMonthChange:b,monthsPerRow:w,onYearChange:E,yearsOrder:x,yearsPerRow:S,slots:C,slotProps:O,loading:T,renderLoading:D,disableHighlightToday:P,readOnly:A,disabled:k,showDaysOutsideCurrentMonth:R,dayOfWeekFormatter:I,sx:N,autoFocus:L,fixedWeekNumber:M,displayWeekNumber:j,timezone:F}),lm=p.forwardRef(function(e,t){let r=eZ(),n=eC(),o=eG(e,"MuiDesktopDatePicker"),i=(0,c.Z)({day:lh,month:lh,year:lh},o.viewRenderers),a=(0,c.Z)({},o,{viewRenderers:i,format:N(n,o,!1),yearsPerRow:o.yearsPerRow??4,slots:(0,c.Z)({openPickerIcon:oi,field:az},o.slots),slotProps:(0,c.Z)({},o.slotProps,{field:e=>(0,c.Z)({},(0,S.Z)(o.slotProps?.field,e),eJ(o),{ref:t}),toolbar:(0,c.Z)({hidden:!0},o.slotProps?.toolbar)})}),{renderPicker:s}=ot({props:a,valueManager:ev,valueType:"date",getOpenDialogAriaText:eE({utils:n,formatKey:"fullDate",contextTranslation:r.openDatePickerDialogue,propsTranslation:a.localeText?.openDatePickerDialogue}),validator:eX});return s()});function lg(e){return(0,eR.ZP)("MuiDialogContent",e)}lm.propTypes={autoFocus:x().bool,className:x().string,closeOnSelect:x().bool,dayOfWeekFormatter:x().func,defaultValue:x().object,disabled:x().bool,disableFuture:x().bool,disableHighlightToday:x().bool,disableOpenPicker:x().bool,disablePast:x().bool,displayWeekNumber:x().bool,enableAccessibleFieldDOMStructure:x().any,fixedWeekNumber:x().number,format:x().string,formatDensity:x().oneOf(["dense","spacious"]),inputRef:C,label:x().node,loading:x().bool,localeText:x().object,maxDate:x().object,minDate:x().object,monthsPerRow:x().oneOf([3,4]),name:x().string,onAccept:x().func,onChange:x().func,onClose:x().func,onError:x().func,onMonthChange:x().func,onOpen:x().func,onSelectedSectionsChange:x().func,onViewChange:x().func,onYearChange:x().func,open:x().bool,openTo:x().oneOf(["day","month","year"]),orientation:x().oneOf(["landscape","portrait"]),readOnly:x().bool,reduceAnimations:x().bool,referenceDate:x().object,renderLoading:x().func,selectedSections:x().oneOfType([x().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),x().number]),shouldDisableDate:x().func,shouldDisableMonth:x().func,shouldDisableYear:x().func,showDaysOutsideCurrentMonth:x().bool,slotProps:x().object,slots:x().object,sx:x().oneOfType([x().arrayOf(x().oneOfType([x().func,x().object,x().bool])),x().func,x().object]),timezone:x().string,value:x().object,view:x().oneOf(["day","month","year"]),viewRenderers:x().shape({day:x().func,month:x().func,year:x().func}),views:x().arrayOf(x().oneOf(["day","month","year"]).isRequired),yearsOrder:x().oneOf(["asc","desc"]),yearsPerRow:x().oneOf([3,4])},(0,eI.Z)("MuiDialogContent",["root","dividers"]);let ly=(0,eI.Z)("MuiDialogTitle",["root"]),lv=e=>{let{classes:t,dividers:r}=e;return(0,ek.Z)({root:["root",r&&"dividers"]},lg,t)},lb=(0,eA.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})((0,e5.Z)(e=>{let{theme:t}=e;return{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:e=>{let{ownerState:t}=e;return t.dividers},style:{padding:"16px 24px",borderTop:"1px solid ".concat((t.vars||t).palette.divider),borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}},{props:e=>{let{ownerState:t}=e;return!t.dividers},style:{[".".concat(ly.root," + &")]:{paddingTop:0}}}]}})),lw=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiDialogContent"}),{className:n,dividers:o=!1,...i}=r,a={...r,dividers:o},s=lv(a);return(0,eN.jsx)(lb,{className:(0,eD.Z)(s.root,n),ownerState:a,ref:t,...i})});var lE=r(21811);function lx(e){return(0,eR.ZP)("MuiDialog",e)}let lS=(0,eI.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),lC=p.createContext({});var lO=r(40645);let lT=(0,eA.ZP)(lO.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),lD=e=>{let{classes:t,scroll:r,maxWidth:n,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container","scroll".concat((0,e1.Z)(r))],paper:["paper","paperScroll".concat((0,e1.Z)(r)),"paperWidth".concat((0,e1.Z)(String(n))),o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,ek.Z)(a,lx,t)},lP=(0,eA.ZP)(lE.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),lA=(0,eA.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.container,t["scroll".concat((0,e1.Z)(r.scroll))]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),lk=(0,eA.ZP)(tR.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.paper,t["scrollPaper".concat((0,e1.Z)(r.scroll))],t["paperWidth".concat((0,e1.Z)(String(r.maxWidth)))],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})((0,e5.Z)(e=>{let{theme:t}=e;return{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:e=>{let{ownerState:t}=e;return!t.maxWidth},style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):"max(".concat(t.breakpoints.values.xs).concat(t.breakpoints.unit,", 444px)"),["&.".concat(lS.paperScrollBody)]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(t.breakpoints.values).filter(e=>"xs"!==e).map(e=>({props:{maxWidth:e},style:{maxWidth:"".concat(t.breakpoints.values[e]).concat(t.breakpoints.unit),["&.".concat(lS.paperScrollBody)]:{[t.breakpoints.down(t.breakpoints.values[e]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:e=>{let{ownerState:t}=e;return t.fullWidth},style:{width:"calc(100% - 64px)"}},{props:e=>{let{ownerState:t}=e;return t.fullScreen},style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,["&.".concat(lS.paperScrollBody)]:{margin:0,maxWidth:"100%"}}}]}})),lR=p.forwardRef(function(e,t){let r=(0,e4.i)({props:e,name:"MuiDialog"}),n=(0,aK.Z)(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":a,"aria-modal":s=!0,BackdropComponent:l,BackdropProps:u,children:c,className:d,disableEscapeKeyDown:f=!1,fullScreen:h=!1,fullWidth:m=!1,maxWidth:g="sm",onBackdropClick:y,onClick:v,onClose:b,open:w,PaperComponent:E=tR.Z,PaperProps:x={},scroll:S="paper",slots:C={},slotProps:O={},TransitionComponent:T=tk.Z,transitionDuration:D=o,TransitionProps:P,...A}=r,k={...r,disableEscapeKeyDown:f,fullScreen:h,fullWidth:m,maxWidth:g,scroll:S},R=lD(k),I=p.useRef(),_=(0,tt.Z)(a),N=p.useMemo(()=>({titleId:_}),[_]),L={slots:{transition:T,...C},slotProps:{transition:P,paper:x,backdrop:u,...O}},[M,j]=(0,ow.Z)("root",{elementType:lP,shouldForwardComponentProp:!0,externalForwardedProps:L,ownerState:k,className:(0,eD.Z)(R.root,d),ref:t}),[F,B]=(0,ow.Z)("backdrop",{elementType:lT,shouldForwardComponentProp:!0,externalForwardedProps:L,ownerState:k}),[Z,V]=(0,ow.Z)("paper",{elementType:lk,shouldForwardComponentProp:!0,externalForwardedProps:L,ownerState:k,className:(0,eD.Z)(R.paper,x.className)}),[q,U]=(0,ow.Z)("container",{elementType:lA,externalForwardedProps:L,ownerState:k,className:(0,eD.Z)(R.container)}),[z,$]=(0,ow.Z)("transition",{elementType:tk.Z,externalForwardedProps:L,ownerState:k,additionalProps:{appear:!0,in:w,timeout:D,role:"presentation"}});return(0,eN.jsx)(M,{closeAfterTransition:!0,slots:{backdrop:F},slotProps:{backdrop:{transitionDuration:D,as:l,...B}},disableEscapeKeyDown:f,onClose:b,open:w,onClick:e=>{v&&v(e),I.current&&(I.current=null,y&&y(e),b&&b(e,"backdropClick"))},...j,...A,children:(0,eN.jsx)(z,{...$,children:(0,eN.jsx)(q,{onMouseDown:e=>{I.current=e.target===e.currentTarget},...U,children:(0,eN.jsx)(Z,{as:E,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":_,"aria-modal":s,...V,children:(0,eN.jsx)(lC.Provider,{value:N,children:c})})})})})}),lI=(0,eA.ZP)(lR)({[`& .${lS.container}`]:{outline:0},[`& .${lS.paper}`]:{outline:0,minWidth:320}}),l_=(0,eA.ZP)(lw)({"&:first-of-type":{padding:0}});function lN(e){let{children:t,onDismiss:r,open:n,slots:o,slotProps:i}=e,a=o?.dialog??lI,s=o?.mobileTransition??tk.Z;return(0,eN.jsx)(a,(0,c.Z)({open:n,onClose:r},i?.dialog,{TransitionComponent:s,TransitionProps:i?.mobileTransition,PaperComponent:o?.mobilePaper,PaperProps:i?.mobilePaper,children:(0,eN.jsx)(l_,{children:t})}))}let lL=["props","getOpenDialogAriaText"],lM=e=>{let{props:t,getOpenDialogAriaText:r}=e,n=(0,d.Z)(e,lL),{slots:o,slotProps:i,className:a,sx:s,format:l,formatDensity:u,enableAccessibleFieldDOMStructure:f,selectedSections:h,onSelectedSectionsChange:m,timezone:g,name:y,label:v,inputRef:b,readOnly:w,disabled:E,localeText:x}=t,S=p.useRef(null),C=(0,tt.Z)(),O=i?.toolbar?.hidden??!1,{open:T,actions:D,layoutProps:P,renderCurrentView:A,fieldProps:k,contextValue:R}=no((0,c.Z)({},n,{props:t,fieldRef:S,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),I=o.field,_=(0,e0.Z)({elementType:I,externalSlotProps:i?.field,additionalProps:(0,c.Z)({},k,O&&{id:C},!(E||w)&&{onClick:D.onOpen,onKeyDown:rF(D.onOpen)},{readOnly:w??!0,disabled:E,className:a,sx:s,format:l,formatDensity:u,enableAccessibleFieldDOMStructure:f,selectedSections:h,onSelectedSectionsChange:m,timezone:g,label:v,name:y},b?{inputRef:b}:{}),ownerState:t});_.inputProps=(0,c.Z)({},_.inputProps,{"aria-label":r(k.value)});let N=(0,c.Z)({textField:o.textField},_.slots),L=o.layout??n4,M=C;O&&(M=v?`${C}-label`:void 0);let j=(0,c.Z)({},i,{toolbar:(0,c.Z)({},i?.toolbar,{titleId:C}),mobilePaper:(0,c.Z)({"aria-labelledby":M},i?.mobilePaper)}),F=(0,tP.Z)(S,_.unstableFieldRef);return{renderPicker:()=>(0,eN.jsxs)(n8,{contextValue:R,localeText:x,children:[(0,eN.jsx)(I,(0,c.Z)({},_,{slots:N,slotProps:j,unstableFieldRef:F})),(0,eN.jsx)(lN,(0,c.Z)({},D,{open:T,slots:o,slotProps:j,children:(0,eN.jsx)(L,(0,c.Z)({},P,j?.layout,{slots:o,slotProps:j,children:A()}))}))]})}},lj=p.forwardRef(function(e,t){let r=eZ(),n=eC(),o=eG(e,"MuiMobileDatePicker"),i=(0,c.Z)({day:lh,month:lh,year:lh},o.viewRenderers),a=(0,c.Z)({},o,{viewRenderers:i,format:N(n,o,!1),slots:(0,c.Z)({field:az},o.slots),slotProps:(0,c.Z)({},o.slotProps,{field:e=>(0,c.Z)({},(0,S.Z)(o.slotProps?.field,e),eJ(o),{ref:t}),toolbar:(0,c.Z)({hidden:!1},o.slotProps?.toolbar)})}),{renderPicker:s}=lM({props:a,valueManager:ev,valueType:"date",getOpenDialogAriaText:eE({utils:n,formatKey:"fullDate",contextTranslation:r.openDatePickerDialogue,propsTranslation:a.localeText?.openDatePickerDialogue}),validator:eX});return s()});lj.propTypes={autoFocus:x().bool,className:x().string,closeOnSelect:x().bool,dayOfWeekFormatter:x().func,defaultValue:x().object,disabled:x().bool,disableFuture:x().bool,disableHighlightToday:x().bool,disableOpenPicker:x().bool,disablePast:x().bool,displayWeekNumber:x().bool,enableAccessibleFieldDOMStructure:x().any,fixedWeekNumber:x().number,format:x().string,formatDensity:x().oneOf(["dense","spacious"]),inputRef:C,label:x().node,loading:x().bool,localeText:x().object,maxDate:x().object,minDate:x().object,monthsPerRow:x().oneOf([3,4]),name:x().string,onAccept:x().func,onChange:x().func,onClose:x().func,onError:x().func,onMonthChange:x().func,onOpen:x().func,onSelectedSectionsChange:x().func,onViewChange:x().func,onYearChange:x().func,open:x().bool,openTo:x().oneOf(["day","month","year"]),orientation:x().oneOf(["landscape","portrait"]),readOnly:x().bool,reduceAnimations:x().bool,referenceDate:x().object,renderLoading:x().func,selectedSections:x().oneOfType([x().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),x().number]),shouldDisableDate:x().func,shouldDisableMonth:x().func,shouldDisableYear:x().func,showDaysOutsideCurrentMonth:x().bool,slotProps:x().object,slots:x().object,sx:x().oneOfType([x().arrayOf(x().oneOfType([x().func,x().object,x().bool])),x().func,x().object]),timezone:x().string,value:x().object,view:x().oneOf(["day","month","year"]),viewRenderers:x().shape({day:x().func,month:x().func,year:x().func}),views:x().arrayOf(x().oneOf(["day","month","year"]).isRequired),yearsOrder:x().oneOf(["asc","desc"]),yearsPerRow:x().oneOf([3,4])};let lF=["desktopModeMediaQuery"],lB=p.forwardRef(function(e,t){let r=(0,w.Z)({props:e,name:"MuiDatePicker"}),{desktopModeMediaQuery:n="@media (pointer: fine)"}=r,o=(0,d.Z)(r,lF);return b(n,{defaultMatches:!0})?(0,eN.jsx)(lm,(0,c.Z)({ref:t},o)):(0,eN.jsx)(lj,(0,c.Z)({ref:t},o))})},50720:function(e,t,r){"use strict";r.d(t,{_:function(){return c},y:function(){return u}});var n=r(87462),o=r(63366),i=r(67294),a=r(79783),s=r(85893);let l=["localeText"],u=i.createContext(null),c=function(e){let{localeText:t}=e,r=(0,o.Z)(e,l),{utils:c,localeText:d}=i.useContext(u)??{utils:void 0,localeText:void 0},{children:p,dateAdapter:f,dateFormats:h,dateLibInstance:m,adapterLocale:g,localeText:y}=(0,a.Z)({props:r,name:"MuiLocalizationProvider"}),v=i.useMemo(()=>(0,n.Z)({},y,d,t),[y,d,t]),b=i.useMemo(()=>{if(!f)return c||null;let e=new f({locale:g,formats:h,instance:m});if(!e.isMUIAdapter)throw Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(` `));return e},[f,g,h,m,c]),w=i.useMemo(()=>b?{minDate:b.date("1900-01-01T00:00:00.000"),maxDate:b.date("2099-12-31T00:00:00.000")}:null,[b]),E=i.useMemo(()=>({utils:b,defaultDates:w,localeText:v}),[w,b,v]);return(0,s.jsx)(u.Provider,{value:E,children:p})}},73961:function(e,t,r){"use strict";t.mm=t.$m=void 0;var n=r(11363);Object.defineProperty(t,"$m",{enumerable:!0,get:function(){return n.GraphQLRequestClient}}),Object.defineProperty(t,"mm",{enumerable:!0,get:function(){return n.getEdgeProxyContentUrl}})},50898:function(e,t,r){"use strict";t.J=void 0;var n=r(7424);Object.defineProperty(t,"J",{enumerable:!0,get:function(){return n.SiteResolver}})},97854:function(e,t,r){"use strict";r.d(t,{Q:function(){return n}});class n{constructor(e){this.config=e,this.DEFAULT_EXPORT_NAME="Default",this.components=new Map([...e.components])}getModuleFactory(){return e=>{let t=this.components.get(e);return t?t.module?t.module():t:null}}getComponentFactory({isEditing:e}={}){return(t,r)=>{let n=this.components.get(t);return n?n.element?n.element(e):r&&r!==this.DEFAULT_EXPORT_NAME?n[r]:n.Default||n.default||n:null}}}},3689:function(e,t,r){"use strict";r.r(t),r.d(t,{getServerSideProps:function(){return u},getStaticProps:function(){return l}});var n=r(64153),o=r(91946),i=r(61539),a=r(34155),s=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};let l=e=>s(void 0,void 0,void 0,function*(){if(a.env.JSS_MODE===i.QU.DISCONNECTED)return null;let t=e.params||{};return yield(0,n.uW)(t)}),u=e=>s(void 0,void 0,void 0,function*(){if(a.env.JSS_MODE===i.QU.DISCONNECTED)return null;let t=e.params||{};return yield(0,n.uW)(t)});t.default=o.P},18205:function(e,t,r){"use strict";r.d(t,{T5:function(){return a},VG:function(){return i},ho:function(){return o}});var n=r(67294);let o=(0,n.createContext)({});function i(e){if(e)return(0,n.useContext)(o)[e]}let a=({children:e,value:t})=>n.createElement(o.Provider,{value:t},e)},5416:function(e,t,r){"use strict";r.r(t),r.d(t,{getServerSideProps:function(){return u},getStaticProps:function(){return l}});var n=r(80263),o=r(37194),i=r(61539),a=r(34155),s=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};let l=(e,t)=>s(void 0,void 0,void 0,function*(){if(a.env.JSS_MODE===i.QU.DISCONNECTED)return null;let r=e.params||{};return yield(0,n.f4)(r,t.sitecore.context.pageState)}),u=(e,t)=>s(void 0,void 0,void 0,function*(){if(a.env.JSS_MODE===i.QU.DISCONNECTED)return null;let r=e.params||{};return yield(0,n.f4)(r,t.sitecore.context.pageState)});t.default=o.N},94506:function(e,t,r){"use strict";r.d(t,{r:function(){return y}});var n=r(67294),o=r(45697),i=r.n(o),a=r(41664),s=r.n(a),l=r(81085),u=r(30368),c=r(32454),d=r(82796),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let f=(0,l.K)((0,u.c)((0,n.forwardRef)((e,t)=>{var{field:r,editable:o=!0,showLinkTextWithChildrenPresent:i}=e,a=p(e,["field","editable","showLinkTextWithChildrenPresent"]);let s=a.children;if(!r||!r.editableFirstPart&&(0,d.isFieldValueEmpty)(r))return null;let l=[];if(o&&r.editableFirstPart){let e=Object.assign(Object.assign({className:"sc-link-wrapper",dangerouslySetInnerHTML:{__html:r.editableFirstPart+r.editableLastPart}},a),{key:"editable"});if(delete e.children,l.push(n.createElement("span",Object.assign({},e))),!s)return l[0]}let u=r.href?r:r.value;if(!u)return null;let c="anchor"!==u.linktype&&u.anchor?`#${u.anchor}`:"",f=u.querystring?`?${u.querystring}`:"",h={href:`${u.href}${f}${c}`,className:u.class,title:u.title,target:u.target};"_blank"!==h.target||h.rel||(h.rel="noopener noreferrer");let m=i||!s?u.text||u.href:null;return l.push(n.createElement("a",Object.assign(Object.assign(Object.assign({},h),a),{key:"link",ref:t}),m,s)),n.createElement(n.Fragment,null,l)}),{defaultEmptyFieldEditingComponent:c.M,isForwardRef:!0}),!0),h={field:i().oneOfType([i().shape({href:i().oneOfType([i().string.isRequired,i().oneOf([null]).isRequired])}),i().shape({value:i().object,editableFirstPart:i().string,editableLastPart:i().string})]).isRequired,editable:i().bool,showLinkTextWithChildrenPresent:i().bool,emptyFieldEditingComponent:i().oneOfType([i().object,i().func])};f.propTypes=h,f.displayName="Link";var m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let g=/^\/.*\.\w+$/,y=(0,n.forwardRef)((e,t)=>{let{field:r,editable:o=!0,children:i,internalLinkMatcher:a=/^\//g,showLinkTextWithChildrenPresent:l}=e,u=m(e,["field","editable","children","internalLinkMatcher","showLinkTextWithChildrenPresent"]);if(!r||!r.editable&&!r.value&&!r.href&&!r.metadata)return null;let c=r.href?r:r.value,{href:d,querystring:p,anchor:h}=c||{},y=o&&(r.editable||r.metadata);if(d&&!y){let r=l||!i?c.text||c.href:null,o=a.test(d),f=g.test(d);if(o&&!f)return delete u.emptyFieldEditingComponent,n.createElement(s(),Object.assign({href:{pathname:d,query:p,hash:h},key:"link",locale:!1,title:c.title,target:c.target,className:c.class,prefetch:e.prefetch},u,{ref:t}),r,i)}let v=Object.assign({},e);return delete v.internalLinkMatcher,delete v.prefetch,n.createElement(f,Object.assign({},v,{ref:t}))});y.displayName="NextLink",y.propTypes=Object.assign({internalLinkMatcher:i().instanceOf(RegExp)},h)},24147:function(e,t,r){"use strict";r.d(t,{o:function(){return g}});var n=r(39585),o=r(45697),i=r.n(o),a=r(67294),s=r(81085),l=r(21201),u=r(87383),c=r(25675),d=r.n(c),p=r(30368),f=r(32454),h=r(82796),m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let g=(0,s.K)((0,p.c)(e=>{var t,{editable:r=!0,imageParams:o,field:i,mediaUrlPrefix:s,fill:c,priority:p}=e,f=m(e,["editable","imageParams","field","mediaUrlPrefix","fill","priority"]);let g=a.useContext(l.sy);if(f.src)throw Error("Detected src prop. If you wish to use src, use next/image directly.");if(!i||!i.editable&&(0,h.isFieldValueEmpty)(i))return null;if(r&&i.editable)return(0,u.Y)(i,o,s,f);let y=i.src?i:i.value;if(!y)return null;let v=f.unoptimized||(null===(t=g.context)||void 0===t?void 0:t.pageState)!==h.LayoutServicePageState.Normal,b=Object.assign(Object.assign(Object.assign({},y),f),{fill:c,priority:p,src:n.mediaApi.updateImageUrl(y.src,o,s),unoptimized:v}),w=Object.assign(Object.assign({},b),{src:n.mediaApi.replaceMediaUrlPrefix(b.src,s)});return(w.fill&&(delete w.width,delete w.height),b)?a.createElement(d(),Object.assign({alt:""},w)):null},{defaultEmptyFieldEditingComponent:f.w}));g.propTypes={field:i().oneOfType([i().shape({src:i().string.isRequired}),i().shape({value:i().object,editable:i().string})]),editable:i().bool,mediaUrlPrefix:i().instanceOf(RegExp),imageParams:i().objectOf(i().oneOfType([i().number.isRequired,i().string.isRequired]).isRequired),emptyFieldEditingComponent:i().oneOfType([i().object,i().func])},g.displayName="NextImage"},13929:function(e,t,r){"use strict";r.d(t,{V:function(){return P}});var n=r(67294),o=r(45697),i=r.n(o),a=r(49081),s=r(82796),l=r(61539),u=r(2835);let c={backgroundImage:"linear-gradient(45deg, #ffffff 25%, #dcdcdc 25%, #dcdcdc 50%, #ffffff 50%, #ffffff 75%, #dcdcdc 75%, #dcdcdc 100%)",backgroundSize:"3px 3px",display:"flex",justifyContent:"center",alignItems:"center",padding:"30px",color:"#aaa"},d=()=>n.createElement("div",{style:c},"The component is hidden");var p=r(80263),f=r(37194),h=r(64153),m=r(91946),g=r(58920);let y=({rendering:e,placeholderName:t,children:r})=>{let o;let i=(t,r,n)=>{let o=n?"placeholder":"rendering",i={type:"text/sitecore",chrometype:o,className:"scpm",kind:t};if(t===g.MetadataKind.Open){if("placeholder"===o&&n){let t="";for(let o of Object.keys(e.placeholders)){if(n===o){t=r?`${n}_${r}`:`${n}_${g.DEFAULT_PLACEHOLDER_UID}`;break}if((0,s.isDynamicPlaceholder)(o)&&(0,s.getDynamicPlaceholderPattern)(o).test(n)){t=r?`${o}_${r}`:`${o}_${g.DEFAULT_PLACEHOLDER_UID}`;break}}i.id=t}else i.id=r}return i};return n.createElement(n.Fragment,null,(o=e.uid,n.createElement(n.Fragment,null,n.createElement("code",Object.assign({},i(g.MetadataKind.Open,o,t))),r,n.createElement("code",Object.assign({},i(g.MetadataKind.Close,o,t))))))};var v=r(32862);class b extends n.Component{constructor(e){super(e),this.defaultErrorMessage="There was a problem loading this section.",this.defaultLoadingMessage="Loading component...",this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){var r,n;this.showErrorDetails()&&console.error(`An error occurred in component ${null===(r=this.props.rendering)||void 0===r?void 0:r.componentName} (${null===(n=this.props.rendering)||void 0===n?void 0:n.uid}): `),console.error({error:e,errorInfo:t})}isInDevMode(){return!1}showErrorDetails(){var e,t;return this.isInDevMode()||(null===(e=this.props.sitecoreContext)||void 0===e?void 0:e.pageState)===s.LayoutServicePageState.Edit||(null===(t=this.props.sitecoreContext)||void 0===t?void 0:t.pageState)===s.LayoutServicePageState.Preview}render(){var e;return this.state.error?this.props.errorComponent?n.createElement(this.props.errorComponent,{error:this.state.error}):this.showErrorDetails()?n.createElement("div",null,n.createElement("div",{className:"sc-jss-placeholder-error"},"A rendering error occurred in component"," ",n.createElement("em",null,null===(e=this.props.rendering)||void 0===e?void 0:e.componentName),n.createElement("br",null),"Error: ",n.createElement("em",null,this.state.error.message||JSON.stringify(this.state.error)))):n.createElement("div",null,n.createElement("div",{className:"sc-jss-placeholder-error"},this.defaultErrorMessage)):this.props.isDynamic?this.props.children:n.createElement(n.Suspense,{fallback:n.createElement("h4",null,this.props.componentLoadingMessage||this.defaultLoadingMessage)},this.props.children)}}var w=(0,v.p)()(b),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};class x extends n.Component{constructor(e){super(e),this.nodeRefs=[],this.state={},this.addRef=this.addRef.bind(this),this.updateKeyAttributes=this.updateKeyAttributes.bind(this),this.createRawElement=this.createRawElement.bind(this)}static getPlaceholderDataFromRenderingData(e,t,r){let n;let o=t.slice();return((null==e?void 0:e.placeholders)&&Object.keys(e.placeholders).forEach(t=>{let n=(0,s.isDynamicPlaceholder)(t)?(0,s.getDynamicPlaceholderPattern)(t):null;n&&n.test(o)&&(r===s.EditMode.Metadata?o=t:(e.placeholders[o]=e.placeholders[t],delete e.placeholders[t]))}),n=e&&e.placeholders&&Object.keys(e.placeholders).length>0?e.placeholders[o]:null)?n:(console.warn(`Placeholder '${o}' was not found in the current rendering data`,JSON.stringify(e,null,2)),[])}componentDidMount(){this.updateKeyAttributes()}componentDidUpdate(){this.updateKeyAttributes()}componentDidCatch(e){this.setState({error:e})}getSXAParams(e){return e.params?e.params.FieldNames&&{styles:`${e.params.GridParameters||""} ${e.params.Styles||""}`}:{}}getComponentsForRenderingData(e){var t;let r=this.props,{name:o,fields:i,params:u,missingComponentComponent:c,hiddenRenderingComponent:g}=r,v=E(r,["name","fields","params","missingComponentComponent","hiddenRenderingComponent"]),b=e.map((e,t)=>{var r,b;let E;let x=e.uid?e.uid:`component-${t}`,S={key:x},C=!1;if(!e.componentName&&e.name)return this.createRawElement(e,S);e.componentName===l.kb?(E=null!=g?g:d,C=!0):e.componentName?E=this.getComponentForRendering(e):(E=()=>n.createElement(n.Fragment,null),C=!0),E||(e.componentName===p.a8?E=p.Py:e.componentName===f.u?E=f.N:e.componentName===h.bu?E=h.YM:e.componentName!==m.w||(E=m.P)),E||(console.error(`Placeholder ${o} contains unknown component ${e.componentName}. Ensure that a React component exists for it, and that it is registered in your componentFactory.js.`),E=null!=c?c:a.V,C=!0);let O=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S),v),(i||e.fields)&&{fields:Object.assign(Object.assign({},i),e.fields)}),(u||e.params)&&{params:Object.assign(Object.assign(Object.assign({},u),e.params),this.getSXAParams(e))}),{rendering:e}),T=n.createElement(E,this.props.modifyComponentProps?this.props.modifyComponentProps(O):O);if(!C){let o="text/sitecore"===T.props.type?T.props.type:"",i=e.componentName===m.w,a=!!(null===(r=E.render)||void 0===r?void 0:r.preload);T=n.createElement(w,Object.assign({key:T.type+"-"+t,errorComponent:this.props.errorComponent,componentLoadingMessage:this.props.componentLoadingMessage,type:o,isDynamic:a||i},T.props),T)}return(null===(b=this.props.sitecoreContext)||void 0===b?void 0:b.editMode)===s.EditMode.Metadata?n.createElement(y,{key:x,rendering:e},T):T}).filter(e=>e);return(null===(t=this.props.sitecoreContext)||void 0===t?void 0:t.editMode)===s.EditMode.Metadata?[n.createElement(y,{key:this.props.rendering.uid,placeholderName:o,rendering:this.props.rendering},b)]:b}getComponentForRendering(e){var t;let r=this.props.componentFactory;return r&&"function"==typeof r?(null===(t=e.params)||void 0===t?void 0:t.FieldNames)?r(e.componentName,e.params.FieldNames):r(e.componentName):(console.warn(`No componentFactory was available to service request for component ${e}`),null)}addRef(e){this.nodeRefs.push(e)}createRawElement(e,t){if(!e.name)return console.error('"elem.name" is undefined in "createRawElement". Something is likely wrong with your component data. Ensure that your components have a name.'),null;let r=(0,u.WF)(e.attributes),o=Object.assign(Object.assign(Object.assign({},t),r),{dangerouslySetInnerHTML:e.contents?{__html:e.contents}:void 0});return!Array.isArray(r)&&r&&"placeholder"===r.chrometype&&(o.phkey=e.attributes.key,o.ref=this.addRef),n.createElement(e.name,o)}updateKeyAttributes(){this.nodeRefs&&this.nodeRefs.forEach(e=>{if(e&&e.getAttribute){let t=e.getAttribute("phkey");t&&e.setAttribute("key",t)}})}}x.propTypes={rendering:i().oneOfType([i().object,i().object]).isRequired,fields:i().objectOf(i().oneOfType([i().object,i().object]).isRequired),params:i().objectOf(i().string.isRequired),missingComponentComponent:i().oneOfType([i().object,i().func]),hiddenRenderingComponent:i().oneOfType([i().object,i().func]),errorComponent:i().oneOfType([i().object,i().func]),modifyComponentProps:i().func,sitecoreContext:i().object};var S=r(21201);class C extends x{constructor(e){super(e),this.isEmpty=!1}componentDidMount(){super.componentDidMount(),this.isEmpty&&g.HorizonEditor.isActive()&&g.HorizonEditor.resetChromes()}renderEmptyPlaceholder(e){return n.createElement("div",{className:"sc-jss-empty-placeholder"},e)}render(){var e;let t=Object.assign({},this.props);if(delete t.componentFactory,this.state.error)return t.errorComponent?n.createElement(t.errorComponent,{error:this.state.error}):n.createElement("div",{className:"sc-jss-placeholder-error"},"A rendering error occurred: ",this.state.error.message,".");let r=t.rendering,o=x.getPlaceholderDataFromRenderingData(r,this.props.name,null===(e=this.props.sitecoreContext)||void 0===e?void 0:e.editMode);this.isEmpty=o.every(e=>!e.componentName&&void 0!==e.name);let i=this.getComponentsForRenderingData(o);if(this.props.renderEmpty&&this.isEmpty){let e=this.props.renderEmpty(i);return i.length?this.renderEmptyPlaceholder(e):e}if(i.length&&this.isEmpty)return this.renderEmptyPlaceholder(i);if(this.props.render)return this.props.render(i,o,t);{if(!this.props.renderEach)return i;let e=this.props.renderEach;return i.map((t,r)=>t&&t.props&&"text/sitecore"===t.props.type?t:e(t,r))}}}C.propTypes=x.propTypes;let O=function(e){function t(t){let r=(0,n.useContext)(S.R7);return n.createElement(e,Object.assign({},t,{componentFactory:t.componentFactory||r}))}return t.displayName=`withComponentFactory(${e.displayName||e.name||"Anonymous"})`,t}(C),T=(0,v.p)()(O);var D=r(18205);let P=e=>{let t=(0,n.useContext)(D.ho);return n.createElement(T,Object.assign({},e,{modifyComponentProps:e=>{if(!e.rendering.uid)return e;let r=t[e.rendering.uid];return Object.assign(Object.assign({},e),r)}}))}},21768:function(e,t,r){"use strict";r.d(t,{H:function(){return g}});var n=r(67294),o=r(45697),i=r.n(o),a=r(11163),s=r(81085),l=r(30368),u=r(32454),c=r(82796),d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let p=(0,s.K)((0,l.c)((0,n.forwardRef)((e,t)=>{var{field:r,tag:o="div",editable:i=!0}=e,a=d(e,["field","tag","editable"]);if(!r||!r.editable&&(0,c.isFieldValueEmpty)(r))return null;let s=Object.assign({dangerouslySetInnerHTML:{__html:r.editable&&i?r.editable:r.value},ref:t},a);return n.createElement(o||"div",s)}),{defaultEmptyFieldEditingComponent:u.M,isForwardRef:!0}),!0),f={field:i().shape({value:i().string,editable:i().string,metadata:i().objectOf(i().any)}),tag:i().string,editable:i().bool,emptyFieldEditingComponent:i().oneOfType([i().object,i().func])};p.propTypes=f,p.displayName="RichText";var h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let m={},g=e=>{let{internalLinksSelector:t='a[href^="/"]',prefetchLinks:r=!0,editable:o=!0}=e,i=h(e,["internalLinksSelector","prefetchLinks","editable"]),s=e.field&&e.field.value,l=o&&e.field&&(e.field.editable||e.field.metadata),u=(0,a.useRouter)(),c=(0,n.useRef)(null);(0,n.useEffect)(()=>{s&&!l&&f()},[s]);let d=e=>{if(!e.currentTarget)return;e.preventDefault();let t=e.currentTarget.href;u.push(t,t,{locale:!1})},f=()=>{let e=c.current,n=e&&e.querySelectorAll(t);n&&n.length&&n.forEach(e=>{if("_blank"===e.target)return;let t=()=>{u.prefetch(e.pathname,void 0,{locale:!1}),m[e.pathname]=!0};if(!m[e.pathname]&&!1!==r&&(!0===r&&t(),"hover"===r)){let r=()=>{t(),e.removeEventListener("mouseover",r)};e.addEventListener("mouseover",r,!1)}e.addEventListener("click",d,!1)})};return n.createElement(p,Object.assign({ref:c,editable:o},i))};g.propTypes=Object.assign({internalLinksSelector:i().string},f),g.displayName="NextRichText"},64153:function(e,t,r){"use strict";r.d(t,{YM:function(){return u},bu:function(){return s},uW:function(){return c}});var n=r(67294),o=r(2835),i=r(49081),a=r(64351);let s="BYOCComponent",l=e=>{var t;return n.createElement("div",null,"A rendering error occurred: ",null===(t=e.error)||void 0===t?void 0:t.message,".")};class u extends n.Component{constructor(e){super(e),this.state={}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){this.setState({error:e})}render(){var e,t,r;let s=this.props;if(this.state.error)return this.props.errorComponent?n.createElement(this.props.errorComponent,{error:this.state.error}):n.createElement(l,{error:this.state.error});let{ComponentName:u}=s.params||{};if(!u){let e={errorOverride:"BYOC: The ComponentName for this rendering is missing"};return s.missingComponentComponent?n.createElement(this.props.missingComponentComponent,Object.assign({},e)):n.createElement(i.V,Object.assign({},e))}let c={rendering:{componentName:u},errorOverride:"BYOC: This component was not registered."},d=this.props.missingComponentComponent?n.createElement(this.props.missingComponentComponent,Object.assign({},c)):n.createElement(i.V,Object.assign({},c)),p=this.props.errorComponent,f={};if(null===(e=s.params)||void 0===e?void 0:e.ComponentProps)try{f=null!==(t=JSON.parse(s.params.ComponentProps))&&void 0!==t?t:{}}catch(e){return console.error(`Parsing props for ${u} component from rendering params failed. Error: ${e}`),p?n.createElement(p,{error:e}):n.createElement(l,{error:e})}let h=Object.assign(Object.assign({},s.fetchedData),{_:(0,o.jw)(null!==(r=s.fields)&&void 0!==r?r:{})});return n.createElement(a.Jp,Object.assign({},s.rendering,{componentName:u,clientFallback:d,datasources:h},f))}}function c(e){var t,r,n,o;return t=this,r=void 0,n=void 0,o=function*(){let t=e.ComponentDataOverride?JSON.parse(e.ComponentDataOverride):{};return{fetchedData:yield a.sY.fetch(t||{})}},new(n||(n=Promise))(function(e,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof n?r:new n(function(e){e(r)})).then(a,s)}l((o=o.apply(t,r||[])).next())})}},91946:function(e,t,r){"use strict";r.d(t,{P:function(){return a},w:function(){return i}});var n=r(64153),o=r(67294);let i="BYOCWrapper",a=e=>{var t,r,i;let a=null===(r=null===(t=e.params)||void 0===t?void 0:t.styles)||void 0===r?void 0:r.trimEnd(),s=null===(i=e.params)||void 0===i?void 0:i.RenderingIdentifier;return o.createElement("div",{className:a||void 0,id:s||void 0},o.createElement("div",{className:"component-content"},o.createElement(n.YM,Object.assign({},e))))}},32454:function(e,t,r){"use strict";r.d(t,{M:function(){return o},w:function(){return i}});var n=r(67294);let o=()=>n.createElement("span",null,"[No text in field]"),i=()=>n.createElement("img",{alt:"",src:'data:image/svg+xml,%3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 240 240" style="enable-background:new 0 0 240 240;" xml:space="preserve"%3E%3Cstyle type="text/css"%3E .st0%7Bfill:none;%7D .st1%7Bfill:%23969696;%7D .st2%7Bfill:%23FFFFFF;%7D .st3%7Bfill:%23FFFFFF;stroke:%23FFFFFF;stroke-width:0.75;stroke-miterlimit:10;%7D%0A%3C/style%3E%3Cg%3E%3Crect class="st0" width="240" height="240"/%3E%3Cg%3E%3Cg%3E%3Crect x="20" y="20" class="st1" width="200" height="200"/%3E%3C/g%3E%3Cg%3E%3Ccircle class="st2" cx="174" cy="67" r="14"/%3E%3Cpath class="st2" d="M174,54c7.17,0,13,5.83,13,13s-5.83,13-13,13s-13-5.83-13-13S166.83,54,174,54 M174,52 c-8.28,0-15,6.72-15,15s6.72,15,15,15s15-6.72,15-15S182.28,52,174,52L174,52z"/%3E%3C/g%3E%3Cpolyline class="st3" points="29.5,179.25 81.32,122.25 95.41,137.75 137.23,91.75 209.5,179.75 "/%3E%3C/g%3E%3C/g%3E%3C/svg%3E',className:"scEmptyImage",style:{minWidth:"48px",minHeight:"48px",maxWidth:"400px",maxHeight:"400px",cursor:"pointer"}})},33889:function(e,t,r){"use strict";r.d(t,{M:function(){return s}});var n=r(67294),o=r(82796),i=r(32862),a=r(58920);let s=()=>{let{sitecoreContext:{pageState:e,editMode:t,clientData:r,clientScripts:s}}=(0,i.z)();if(e===o.LayoutServicePageState.Normal||e===o.LayoutServicePageState.Preview)return n.createElement(n.Fragment,null);if(t===o.EditMode.Metadata){let e=Object.assign(Object.assign({},r),(0,a.getJssPagesClientData)());return n.createElement(n.Fragment,null,null==s?void 0:s.map((e,t)=>n.createElement("script",{src:e,key:t})),Object.keys(e).map(t=>n.createElement("script",{key:t,id:t,type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(e[t])}})))}return n.createElement(n.Fragment,null)}},80263:function(e,t,r){"use strict";r.d(t,{Py:function(){return u},a8:function(){return l},f4:function(){return c}});var n=r(67294),o=r(64351),i=r(82796),a=r(2835),s=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};let l="FEaaSComponent",u=e=>{var t,r,i,s,l,u,c;let d=(null===(t=e.params)||void 0===t?void 0:t.ComponentRevision)||e.revisionFallback;if(!e.template&&(!e.params||!e.params.LibraryId||!e.params.ComponentId||!e.params.ComponentVersion||!e.params.ComponentHostName||!d))return null;let p=Object.assign(Object.assign({},e.fetchedData),{_:(0,a.jw)(null!==(r=e.fields)&&void 0!==r?r:{})});return n.createElement(o.wA,{data:p,template:e.template,cdn:null===(i=e.params)||void 0===i?void 0:i.ComponentHostName,library:null===(s=e.params)||void 0===s?void 0:s.LibraryId,version:null===(l=e.params)||void 0===l?void 0:l.ComponentVersion,component:null===(u=e.params)||void 0===u?void 0:u.ComponentId,instance:null===(c=e.params)||void 0===c?void 0:c.ComponentInstanceId,revision:d,fetch:[]})};function c(e,t,r){return s(this,void 0,void 0,function*(){let n=t&&t!==i.LayoutServicePageState.Normal?"staged":"published",a=r||d(e,n),l="",u={},c=e.ComponentDataOverride?JSON.parse(e.ComponentDataOverride):{};try{l=yield function(e,t,r){return s(this,void 0,void 0,function*(){try{let{template:t}=yield o.hj(e);return t}catch(n){throw console.error(`Fetch FEAAS component from ${e} failed. Ensure the component revision "${t.ComponentRevision||r}" is present`),n}})}(a,e,n),u=yield function(e){return s(this,void 0,void 0,function*(){try{return yield o.sY.fetch(e||{})}catch(e){throw console.error("Fetch FEAAS component data settings failed"),e}})}(c)}catch(e){console.error(e)}return{fetchedData:u,revisionFallback:n,template:l}})}let d=(e,t)=>{let r=e.ComponentRevision||t,n=e.ComponentHostName.startsWith("https://")?e.ComponentHostName:`https://${e.ComponentHostName}`;return`${n}/components/${e.LibraryId}/${e.ComponentId}/${e.ComponentVersion}/${r}`}},37194:function(e,t,r){"use strict";r.d(t,{N:function(){return a},u:function(){return i}});var n=r(80263),o=r(67294);let i="FEaaSWrapper",a=e=>{var t,r;let i=`component feaas ${null===(t=e.params)||void 0===t?void 0:t.styles}`.trimEnd(),a=null===(r=e.params)||void 0===r?void 0:r.RenderingIdentifier;return o.createElement("div",{className:i,id:a||void 0},o.createElement("div",{className:"component-content"},o.createElement(n.Py,Object.assign({},e))))}},87383:function(e,t,r){"use strict";r.d(t,{E:function(){return g},Y:function(){return m}});var n=r(39585),o=r(45697),i=r.n(o),a=r(67294),s=r(2835),l=r(81085),u=r(30368),c=r(32454),d=r(82796),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let f=(e,...t)=>a.createElement("span",Object.assign({className:"sc-image-wrapper"},t,{dangerouslySetInnerHTML:{__html:e}})),h=(e,t,r)=>{var{src:o,srcSet:i}=e,a=p(e,["src","srcSet"]);if(!o)return null;(0,s.yn)(a);let l=Object.assign({},a),u=n.mediaApi.updateImageUrl(o,t,r);return i&&(l.srcSet=n.mediaApi.getSrcSet(u,i,t,r)),l.src=u,l},m=(e,t,r,o)=>{let i=n.mediaApi.findEditorImageTag(e.editable);if(!i)return f(e.editable);let a=h(Object.assign(Object.assign({},(0,s.WF)(i.attrs)),o),t,r);if(!a)return f(e.editable);let l=``;return f(e.editable.replace(i.imgTag,l))},g=(0,l.K)((0,u.c)(e=>{var{editable:t=!0,imageParams:r,field:n,mediaUrlPrefix:o}=e,i=p(e,["editable","imageParams","field","mediaUrlPrefix"]);if(!n||!n.editable&&(0,d.isFieldValueEmpty)(n))return null;if(t&&n.editable)return m(n,r,o,i);let s=n.src?n:n.value;if(!s)return null;s.metadata&&delete s.metadata;let l=h(Object.assign(Object.assign({},s),i),r,o);return l?a.createElement("img",Object.assign({},l)):null},{defaultEmptyFieldEditingComponent:c.w}));g.propTypes={field:i().oneOfType([i().shape({src:i().string}),i().shape({value:i().object,editable:i().string})]),editable:i().bool,mediaUrlPrefix:i().instanceOf(RegExp),imageParams:i().objectOf(i().oneOfType([i().number.isRequired,i().string.isRequired]).isRequired),emptyFieldEditingComponent:i().oneOfType([i().object,i().func])},g.displayName="Image"},49081:function(e,t,r){"use strict";r.d(t,{V:function(){return a}});var n=r(45697),o=r.n(n),i=r(67294);let a=e=>{let t=e.rendering&&e.rendering.componentName?e.rendering.componentName:"Unnamed Component";e.errorOverride||console.log(`Component props for unimplemented '${t}' component`,e);let r=e.errorOverride||"JSS component is missing React implementation. See the developer console for more information.";return i.createElement("div",{style:{background:"darkorange",outline:"5px solid orange",padding:"10px",color:"white",maxWidth:"500px"}},i.createElement("h2",null,t),i.createElement("p",null,r))};a.propTypes={rendering:o().shape({componentName:o().string})},a.displayName="MissingComponent"},72433:function(e,t,r){"use strict";r.d(t,{x:function(){return d}});var n=r(67294),o=r(81085),i=r(30368),a=r(32454),s=r(45697),l=r.n(s),u=r(82796),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let d=(0,o.K)((0,i.c)(e=>{var{field:t,tag:r,editable:o=!0,encode:i=!0}=e,a=c(e,["field","tag","editable","encode"]);if(!t||!t.editable&&(0,u.isFieldValueEmpty)(t))return null;i||(o=!1);let s=t.editable&&o,l=s?t.editable||"":void 0===t.value?"":t.value;if(!t.editable&&"string"==typeof l){let e=String(l).split("\n");if(e.length){let t=[];e.forEach((r,o)=>{let i=o===e.length-1;t.push(r),i||t.push(n.createElement("br",{key:o}))}),l=t}}let d=s||!i,p=null,f=Object.assign({},a);return(d?f.dangerouslySetInnerHTML={__html:l}:p=l,r||d)?n.createElement(r||"span",f,p):n.createElement(n.Fragment,null,p)},{defaultEmptyFieldEditingComponent:a.M}));d.propTypes={field:l().shape({value:l().oneOfType([l().string,l().number]),editable:l().string,metadata:l().objectOf(l().any)}),tag:l().string,editable:l().bool,encode:l().bool,emptyFieldEditingComponent:l().oneOfType([l().object,l().func])},d.displayName="Text"},62099:function(e,t,r){"use strict";r.d(t,{C:function(){return a}});var n=r(67294),o=r(32862);let i=()=>n.createElement("div",{className:"sc-jss-editing-error",role:"alert"},"Datasource is required. Please choose a content item for this component.");function a(e){return function(t){return function(r){var a,s;let{sitecoreContext:l}=(0,o.z)(),u=null!==(a=null==e?void 0:e.editingErrorComponent)&&void 0!==a?a:i;return(null===(s=r.rendering)||void 0===s?void 0:s.dataSource)?n.createElement(t,Object.assign({},r)):l.pageEditing?n.createElement(u,null):null}}}},30368:function(e,t,r){"use strict";r.d(t,{c:function(){return i}});var n=r(67294),o=r(82796);function i(e,t){let r=e=>{var r;let{editable:n=!0}=e;return(null===(r=e.field)||void 0===r?void 0:r.metadata)&&n&&(0,o.isFieldValueEmpty)(e.field)?e.emptyFieldEditingComponent||t.defaultEmptyFieldEditingComponent:null};return t.isForwardRef?(0,n.forwardRef)((t,o)=>{let i=r(t);return n.createElement(n.Fragment,null,i&&n.createElement(i,null)||n.createElement(e,Object.assign({},t,{ref:o})))}):t=>{let o=r(t);return n.createElement(n.Fragment,null,o&&n.createElement(o,null)||n.createElement(e,Object.assign({},t)))}}},81085:function(e,t,r){"use strict";r.d(t,{K:function(){return l}});var n=r(67294),o=r(45697),i=r.n(o),a=r(58920);let s=e=>{let t=JSON.stringify(e.metadata),r={type:"text/sitecore",chrometype:"field",className:"scpm"},o=Object.assign(Object.assign({},r),{kind:a.MetadataKind.Open}),i=Object.assign(Object.assign({},r),{kind:a.MetadataKind.Close});return n.createElement(n.Fragment,null,n.createElement("code",Object.assign({},o),t),e.children,n.createElement("code",Object.assign({},i)))};function l(e,t=!1){return t?(0,n.forwardRef)((t,r)=>{var o;let{editable:i=!0}=t,a=null===(o=t.field)||void 0===o?void 0:o.metadata;return a&&i?n.createElement(s,{metadata:a},n.createElement(e,Object.assign({},t,{ref:r}))):n.createElement(e,Object.assign({},t,{ref:r}))}):t=>{var r;let{editable:o=!0}=t,i=null===(r=t.field)||void 0===r?void 0:r.metadata;return i&&o?n.createElement(s,{metadata:i},n.createElement(e,Object.assign({},t))):n.createElement(e,Object.assign({},t))}}s.displayName="FieldMetadata",s.propTypes={metadata:i().object.isRequired,children:i().node.isRequired}},32862:function(e,t,r){"use strict";r.d(t,{p:function(){return i},z:function(){return a}});var n=r(67294),o=r(21201);function i(e){return function(t){return function(r){return n.createElement(o.sy.Consumer,null,o=>n.createElement(t,Object.assign({},r,{sitecoreContext:o.context,api:o.api,updateSitecoreContext:e&&e.updatable&&o.setContext})))}}}function a(e){let t=n.useContext(o.sy),r=null==e?void 0:e.updatable;return{api:t.api,sitecoreContext:t.context,updateSitecoreContext:r?t.setContext:void 0}}},2835:function(e,t,r){"use strict";r.d(t,{No:function(){return c},WF:function(){return l},jw:function(){return d},yn:function(){return u}});var n=r(82796),o=r(73469),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let a=e=>e.replace(/^.|-./g,(e,t)=>0===t?e.toLowerCase():e.substr(1).toUpperCase()),s=(e="")=>{let t=(0,o.Qc)(e,{preserveNumbers:!0});return Object.keys(t).reduce((e,r)=>(e[a(r)]=t[r],e),{})},l=e=>e?Object.keys(e).reduce((t,r)=>{switch(r){case"class":t.className=e.class;break;case"style":t.style=s(e.style);break;default:t[r]=e[r]}return t},{}):[],u=e=>{if(e.class){if(e.className){let t=e.className;t+=` ${e.class}`,e.className=t}else e.className=e.class;delete e.class}},c=e=>{let{className:t}=e,r=Object.entries(i(e,["className"])).map(([e,t])=>{if("object"==typeof t){let r=JSON.stringify(t).replace(/"|{|}/g,"").replace(/,/g,";");return`${e}="${r}"`}return`${e}="${t}"`});return t&&r.push(`class="${t}"`),r.join(" ")},d=e=>Object.entries(e).reduce((t,[r])=>(t[r]=(0,n.getFieldValue)(e,r),t),{})},24559:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryCacheClient=void 0;let n=r(7113),o=Object.freeze({cacheTimeout:60,cacheEnabled:!0});class i{constructor(e){var t;this.options=e,this.cache=new n.Cache,this.options.cacheTimeout=(null!==(t=this.options.cacheTimeout)&&void 0!==t?t:o.cacheTimeout)*1e3,void 0===this.options.cacheEnabled&&(this.options.cacheEnabled=o.cacheEnabled)}getCacheValue(e){return this.options.cacheEnabled?this.cache.get(e):null}setCacheValue(e,t){return this.options.cacheEnabled?this.cache.put(e,t,this.options.cacheTimeout):t}}t.MemoryCacheClient=i},51027:function(e,t){"use strict";function r(e,t,r){if(!e.click||e.click.startsWith("javascript:")||e.click.startsWith("chrome:")||!t)return Object.assign({isDivider:!1,type:e.type||null,header:e.header||"",icon:e.icon||"",tooltip:e.tooltip||""},e);{let n=e.click,o={},i=e.click.indexOf("(");if(i>=0){let t=e.click.indexOf(")");if(t<0)throw Error('Message with arguments must end with ")".');o=e.click.substring(i+1,t).split(",").map(e=>e.trim()).reduce((e,t)=>{let r=t.split("=");return r.length<2?e[r[0]]="":e[r[0]]=r[1],e},{}),n=e.click.substring(0,i)}o.id=t,e.parameters&&Object.keys(e.parameters).forEach(t=>{var r;o[t]=(null===(r=e.parameters[t])||void 0===r?void 0:r.toString())||""}),r&&Object.keys(r).forEach(e=>{var t;o[e]=(null===(t=r[e])||void 0===t?void 0:t.toString())||""});let a=Object.keys(o).map(e=>`${e}=${o[e]}`).join(", "),s=`${n}(${a})`;return{isDivider:!1,click:`javascript:Sitecore.PageModes.PageEditor.postRequest('${s}',null,false)`,header:e.header||"",icon:e.icon||"",tooltip:e.tooltip||"",type:e.type||null}}}Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultEditFrameButtons=t.DefaultEditFrameButton=t.DefaultEditFrameButtonIds=void 0,t.mapButtonToCommand=function(e,n,o){if("|"===e||e.isDivider)return{click:"chrome:dummy",header:"Separator",icon:"",isDivider:!0,tooltip:null,type:"separator"};if(void 0!==e.click)return r(e,n,o);{let i=e.fields.join("|");return r(Object.assign({click:`webedit:fieldeditor(command=${t.DefaultEditFrameButtonIds.edit},fields=${i})`},e),n,o)}},t.commandBuilder=r,t.DefaultEditFrameButtonIds={edit:"{70C4EED5-D4CD-4D7D-9763-80C42504F5E7}"},t.DefaultEditFrameButton={insert:{header:"Insert New",icon:"/~/icon/Office/16x16/insert_from_template.png",click:"webedit:new",tooltip:"Insert a new item"},editRelatedItem:{header:"Edit the related item",icon:"/~/icon/Office/16x16/cubes.png",click:"webedit:open",tooltip:"Edit the related item in the Content Editor."},edit:{header:"Edit Item",icon:"/~/icon/people/16x16/cubes_blue.png",fields:["Title","Text"],tooltip:"Edit the item fields."}},t.DefaultEditFrameButtons=[t.DefaultEditFrameButton.editRelatedItem,t.DefaultEditFrameButton.insert,t.DefaultEditFrameButton.edit]},91227:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLEditingService=t.dictionaryQuery=t.query=void 0;let i=o(r(56907)),a=r(82796),s=r(25733);t.query=` query EditingQuery( $siteName: String! $itemId: String! $language: String! $version: String $after: String $pageSize: Int = 1000 ) { item(path: $itemId, language: $language, version: $version) { rendered } site { siteInfo(site: $siteName) { dictionary(language: $language, first: $pageSize, after: $after) { results { key value } pageInfo { endCursor hasNext } } } } } `,t.dictionaryQuery=` query EditingDictionaryQuery( $siteName: String! $language: String! $after: String $pageSize: Int = 1000 ) { site { siteInfo(site: $siteName) { dictionary(language: $language, first: $pageSize, after: $after) { results { key value } pageInfo { endCursor hasNext } } } } } `;class l{constructor(e){this.serviceConfig=e,this.graphQLClient=this.getGraphQLClient()}fetchEditingData(e){return n(this,arguments,void 0,function*({siteName:e,itemId:r,language:n,version:o,layoutKind:l=s.LayoutKind.Final}){var u,c,d,p,f;if(i.default.editing("fetching editing data for %s %s %s %s",e,r,n,o,l),!e)throw RangeError("The site name must be a non-empty string");if(!n)throw RangeError("The language must be a non-empty string");let h={},m=[],g=!0,y="",v=yield this.graphQLClient.request(t.query,{siteName:e,itemId:r,version:o,language:n},{headers:{sc_layoutKind:l}});for((null===(c=null===(u=null==v?void 0:v.site)||void 0===u?void 0:u.siteInfo)||void 0===c?void 0:c.dictionary)?(m=v.site.siteInfo.dictionary.results,g=v.site.siteInfo.dictionary.pageInfo.hasNext,y=v.site.siteInfo.dictionary.pageInfo.endCursor):g=!1;g;){let r=yield this.graphQLClient.request(t.dictionaryQuery,{siteName:e,language:n,after:y});(null===(p=null===(d=null==r?void 0:r.site)||void 0===d?void 0:d.siteInfo)||void 0===p?void 0:p.dictionary)?(m=m.concat(r.site.siteInfo.dictionary.results),g=r.site.siteInfo.dictionary.pageInfo.hasNext,y=r.site.siteInfo.dictionary.pageInfo.endCursor):g=!1}return m.forEach(e=>h[e.key]=e.value),{layoutData:(null===(f=null==v?void 0:v.item)||void 0===f?void 0:f.rendered)||{sitecore:{context:{pageEditing:!0,language:n,editMode:a.EditMode.Metadata},route:null}},dictionary:h}})}getGraphQLClient(){if(!this.serviceConfig.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.serviceConfig.clientFactory({debugger:i.default.editing,headers:{sc_editMode:"true"}})}}t.GraphQLEditingService=l},58920:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MetadataKind=t.LayoutKind=t.mapButtonToCommand=t.DefaultEditFrameButtonIds=t.DefaultEditFrameButtons=t.DefaultEditFrameButton=t.PAGES_EDITING_MARKER=t.QUERY_PARAM_EDITING_SECRET=t.EDITING_ALLOWED_ORIGINS=t.getJssPagesClientData=t.handleEditorAnchors=t.resetEditorChromes=t.isEditorActive=t.HorizonEditor=t.ExperienceEditor=t.DEFAULT_PLACEHOLDER_UID=t.GraphQLEditingService=void 0;var n=r(91227);Object.defineProperty(t,"GraphQLEditingService",{enumerable:!0,get:function(){return n.GraphQLEditingService}});var o=r(27526);Object.defineProperty(t,"DEFAULT_PLACEHOLDER_UID",{enumerable:!0,get:function(){return o.DEFAULT_PLACEHOLDER_UID}}),Object.defineProperty(t,"ExperienceEditor",{enumerable:!0,get:function(){return o.ExperienceEditor}}),Object.defineProperty(t,"HorizonEditor",{enumerable:!0,get:function(){return o.HorizonEditor}}),Object.defineProperty(t,"isEditorActive",{enumerable:!0,get:function(){return o.isEditorActive}}),Object.defineProperty(t,"resetEditorChromes",{enumerable:!0,get:function(){return o.resetEditorChromes}}),Object.defineProperty(t,"handleEditorAnchors",{enumerable:!0,get:function(){return o.handleEditorAnchors}}),Object.defineProperty(t,"getJssPagesClientData",{enumerable:!0,get:function(){return o.getJssPagesClientData}}),Object.defineProperty(t,"EDITING_ALLOWED_ORIGINS",{enumerable:!0,get:function(){return o.EDITING_ALLOWED_ORIGINS}}),Object.defineProperty(t,"QUERY_PARAM_EDITING_SECRET",{enumerable:!0,get:function(){return o.QUERY_PARAM_EDITING_SECRET}}),Object.defineProperty(t,"PAGES_EDITING_MARKER",{enumerable:!0,get:function(){return o.PAGES_EDITING_MARKER}});var i=r(51027);Object.defineProperty(t,"DefaultEditFrameButton",{enumerable:!0,get:function(){return i.DefaultEditFrameButton}}),Object.defineProperty(t,"DefaultEditFrameButtons",{enumerable:!0,get:function(){return i.DefaultEditFrameButtons}}),Object.defineProperty(t,"DefaultEditFrameButtonIds",{enumerable:!0,get:function(){return i.DefaultEditFrameButtonIds}}),Object.defineProperty(t,"mapButtonToCommand",{enumerable:!0,get:function(){return i.mapButtonToCommand}});var a=r(25733);Object.defineProperty(t,"LayoutKind",{enumerable:!0,get:function(){return a.LayoutKind}}),Object.defineProperty(t,"MetadataKind",{enumerable:!0,get:function(){return a.MetadataKind}})},25733:function(e,t){"use strict";var r,n,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t.MetadataKind=t.LayoutKind=void 0,(o=r||(t.LayoutKind=r={})).Final="final",o.Shared="shared",(i=n||(t.MetadataKind=n={})).Open="open",i.Close="close"},27526:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getJssPagesClientData=t.handleEditorAnchors=t.resetEditorChromes=t.isEditorActive=t.HorizonEditor=t.ChromeRediscoveryGlobalFunctionName=t.ExperienceEditor=t.EDITING_ALLOWED_ORIGINS=t.PAGES_EDITING_MARKER=t.QUERY_PARAM_EDITING_SECRET=t.DEFAULT_PLACEHOLDER_UID=void 0;let o=n(r(53641));t.DEFAULT_PLACEHOLDER_UID="00000000-0000-0000-0000-000000000000",t.QUERY_PARAM_EDITING_SECRET="secret",t.PAGES_EDITING_MARKER="jss-hrz-editing",t.EDITING_ALLOWED_ORIGINS=["https://pages.sitecorecloud.io"];class i{static isActive(){if((0,o.default)())return!1;let e=window.Sitecore;return!!(e&&e.PageModes&&e.PageModes.ChromeManager)}static resetChromes(){(0,o.default)()||window.Sitecore.PageModes.ChromeManager.resetChromes()}}t.ExperienceEditor=i,t.ChromeRediscoveryGlobalFunctionName={name:"Sitecore.Horizon.ResetChromes"};class a{static isActive(){return!(0,o.default)()&&(window.location.search.indexOf("sc_headless_mode=edit")>-1||!!window.document.getElementById(t.PAGES_EDITING_MARKER))}static resetChromes(){!(0,o.default)()&&window[t.ChromeRediscoveryGlobalFunctionName.name]&&window[t.ChromeRediscoveryGlobalFunctionName.name]()}}t.HorizonEditor=a,t.isEditorActive=()=>i.isActive()||a.isActive(),t.resetEditorChromes=()=>{i.isActive()?i.resetChromes():a.isActive()&&a.resetChromes()},t.handleEditorAnchors=()=>{if(!window||!i.isActive())return;let e=document.querySelector("body"),t=new MutationObserver(e=>{e.forEach(e=>{let t=document.querySelectorAll('.scChromeDropDown > a[href="#"], .scChromeDropDown > a[href="#!"], a[onclick]');"childList"===e.type&&t.forEach(e=>{e.href="javascript:void(0);"})})});e&&t.observe(e,{childList:!0,subtree:!0})},t.getJssPagesClientData=()=>{let e={};return e[t.PAGES_EDITING_MARKER]={},e}},95349:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLRequestClient=t.DefaultRetryStrategy=void 0;let i=r(20852),a=o(r(84564)),s=o(r(56907)),l=o(r(3627));class u{constructor(e={}){this.statusCodes=e.statusCodes||[429],this.errorCodes=e.errorCodes||["ECONNRESET","ETIMEDOUT","EPROTO"],this.factor=e.factor||2}shouldRetry(e,t,r){var n;let o=(null===(n=e.response)||void 0===n?void 0:n.status)!==void 0&&this.statusCodes.includes(e.response.status),i=void 0!==e.code&&this.errorCodes.includes(e.code);return r>0&&t<=r&&(o||i)}getDelay(e,t){var r;let n=null===(r=e.response)||void 0===r?void 0:r.headers,o=null==n?void 0:n.get("Retry-After");return null!=o&&""!==o.trim()?1e3*Number.parseFloat(o):1e3*Math.pow(this.factor,t-1)}}t.DefaultRetryStrategy=u;class c{constructor(e,t={}){var r;if(this.endpoint=e,this.headers={},t.apiKey&&(this.headers.sc_apikey=t.apiKey),t.headers&&(this.headers=Object.assign(Object.assign({},this.headers),t.headers)),!e||!(0,a.default)(e).hostname)throw Error(`Invalid GraphQL endpoint '${e}'. Verify that 'layoutServiceHost' property in 'scjssconfig.json' file or appropriate environment variable is set`);this.timeout=t.timeout,this.retries=null!==(r=t.retries)&&void 0!==r?r:3,this.retryStrategy=t.retryStrategy||new u({statusCodes:[429,502,503,504,520,521,522,523,524]}),this.client=new i.GraphQLClient(e,{headers:this.headers,fetch:t.fetch}),this.debug=t.debugger||s.default.http}static createClientFactory({endpoint:e,apiKey:t}){return (r={})=>new c(e,Object.assign(Object.assign({},r),{apiKey:t}))}request(e,t,r){return n(this,void 0,void 0,function*(){let o=1,i=()=>n(this,void 0,void 0,function*(){this.debug("request: %o",{url:this.endpoint,headers:Object.assign(Object.assign({},this.headers),null==r?void 0:r.headers),query:e,variables:t});let a=Date.now(),s=[this.client.request(e,t,null==r?void 0:r.headers)];return this.timeout&&(this.abortTimeout=new l.default(this.timeout),s.push(this.abortTimeout.start)),Promise.race(s).then(e=>{var t;return null===(t=this.abortTimeout)||void 0===t||t.clear(),this.debug("response in %dms: %o",Date.now()-a,e),Promise.resolve(e)},e=>n(this,void 0,void 0,function*(){var t,r;null===(t=this.abortTimeout)||void 0===t||t.clear(),this.debug("response error: %o",e.response||e.message||e);let n=(null===(r=e.response)||void 0===r?void 0:r.status)||e.code;if(!this.retryStrategy.shouldRetry(e,o,this.retries))return Promise.reject(e);{let t=this.retryStrategy.getDelay(e,o);return this.debug("Error: %s. Retrying in %dms (attempt %d).",n,t,o),o++,new Promise(e=>setTimeout(e,t)).then(i)}}))});return i()})}}t.GraphQLRequestClient=c},7690:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.languageError=t.siteNameError=void 0,t.getAppRootId=function(e,r,a,s){return n(this,void 0,void 0,function*(){var n,l,u,c,d,p;if(!r)throw RangeError(t.siteNameError);if(!a)throw RangeError(t.languageError);let f=yield e.request(i,{jssAppTemplateId:s||o.SitecoreTemplateId.JssApp,siteName:r,language:a});return((null===(u=null===(l=null===(n=null==f?void 0:f.layout)||void 0===n?void 0:n.homePage)||void 0===l?void 0:l.rootItem)||void 0===u?void 0:u.length)||"en"===a||(f=yield e.request(i,{jssAppTemplateId:s||o.SitecoreTemplateId.JssApp,siteName:r,language:"en"})),null===(p=null===(d=null===(c=null==f?void 0:f.layout)||void 0===c?void 0:c.homePage)||void 0===d?void 0:d.rootItem)||void 0===p?void 0:p.length)?f.layout.homePage.rootItem[0].id:null})};let o=r(63204);t.siteNameError="The site name must be a non-empty string",t.languageError="The language must be a non-empty string";let i=` query AppRootQuery($jssAppTemplateId: String!, $siteName: String!, $language: String!) { layout(site: $siteName, routePath: "/", language: $language) { homePage: item { rootItem: ancestors(includeTemplateIDs: [$jssAppTemplateId]) { id } } } } `},14007:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEdgeProxyFormsUrl=t.getEdgeProxyContentUrl=void 0;let n=r(63204),o=e=>e.endsWith("/")?e.slice(0,-1):e;t.getEdgeProxyContentUrl=(e,t=n.SITECORE_EDGE_URL_DEFAULT)=>`${o(t)}/v1/content/api/graphql/v1?sitecoreContextId=${e}`,t.getEdgeProxyFormsUrl=(e,t,r=n.SITECORE_EDGE_URL_DEFAULT)=>`${o(r)}/v1/forms/publisher/${t}?sitecoreContextId=${e}`},56489:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEdgeProxyFormsUrl=t.getEdgeProxyContentUrl=t.SearchQueryService=t.GraphQLRequestClient=t.DefaultRetryStrategy=t.getAppRootId=void 0;var n=r(7690);Object.defineProperty(t,"getAppRootId",{enumerable:!0,get:function(){return n.getAppRootId}});var o=r(95349);Object.defineProperty(t,"DefaultRetryStrategy",{enumerable:!0,get:function(){return o.DefaultRetryStrategy}}),Object.defineProperty(t,"GraphQLRequestClient",{enumerable:!0,get:function(){return o.GraphQLRequestClient}});var i=r(64578);Object.defineProperty(t,"SearchQueryService",{enumerable:!0,get:function(){return i.SearchQueryService}});var a=r(14007);Object.defineProperty(t,"getEdgeProxyContentUrl",{enumerable:!0,get:function(){return a.getEdgeProxyContentUrl}}),Object.defineProperty(t,"getEdgeProxyFormsUrl",{enumerable:!0,get:function(){return a.getEdgeProxyFormsUrl}})},64578:function(e,t){"use strict";var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.SearchQueryService=void 0;class n{constructor(e){this.client=e}fetch(e,t){return r(this,void 0,void 0,function*(){var r;if(!t.rootItemId||!t.language)throw RangeError('"rootItemId" and "language" must be non-empty strings');let n=[],o=!0,i="";for(;o;){let a=yield this.client.request(e,Object.assign(Object.assign({},t),{after:i}));n=n.concat(null===(r=null==a?void 0:a.search)||void 0===r?void 0:r.results),o=a.search.pageInfo.hasNext,i=a.search.pageInfo.endCursor}return n})}}t.SearchQueryService=n},39585:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.mediaApi=void 0;let a=i(r(79409));t.mediaApi=a},79409:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getSrcSet=t.updateImageUrl=t.replaceMediaUrlPrefix=t.getRequiredParams=t.findEditorImageTag=void 0;let o=n(r(21540)),i=n(r(84564)),a=/]+)\/>/i,s=/([^=\s]+)(="([^"]*)")?/gi,l=/\/([-~]{1})\/media\//i;t.findEditorImageTag=e=>{let t=e.match(a);if(!t||t.length<2)return null;let r={},n=s.exec(t[1]);for(;null!==n;)r[n[1]]=(0,o.default)(n[3]),n=s.exec(t[1]);return{imgTag:t[0],attrs:r}},t.getRequiredParams=e=>{let{rev:t,db:r,la:n,vs:o,ts:i}=e;return{rev:t,db:r,la:n,vs:o,ts:i}},t.replaceMediaUrlPrefix=(e,t=l)=>{let r=(0,i.default)(e,{},!0),n=t.exec(r.pathname);return n&&n.length>1&&r.set("pathname",r.pathname.replace(t,`/${n[1]}/jssmedia/`)),r.toString()},t.updateImageUrl=(e,r,n=l)=>{if(!r||0===Object.keys(r).length)return e;"undefined"==typeof window||window.global||(window.global={});let o=(0,i.default)((0,t.replaceMediaUrlPrefix)(e,n),{},!0),a=(0,t.getRequiredParams)(o.query),s=Object.assign({},r);return Object.entries(a).forEach(([e,t])=>{t&&(s[e]=t)}),o.set("query",s),o.toString()},t.getSrcSet=(e,r,n,o)=>r.map(r=>{let i=Object.assign(Object.assign({},n),r),a=i.w||i.mw;return a?`${(0,t.updateImageUrl)(e,i,o)} ${a}w`:null}).filter(e=>e).join(", ")},46178:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLPersonalizeService=void 0;let i=o(r(56907)),a=r(18996),s=r(24559);class l{constructor(e){this.config=e,this.config.timeout=e.timeout||400,this.graphQLClient=this.getGraphQLClient(),this.cache=this.getCacheClient()}get query(){return` query($siteName: String!, $language: String!, $itemPath: String!) { layout(site: $siteName, routePath: $itemPath, language: $language) { item { id version personalization { variantIds } } } } `}getPersonalizeInfo(e,t,r){return n(this,void 0,void 0,function*(){var n;i.default.personalize("fetching personalize info for %s %s %s",r,e,t);let o=this.getCacheKey(e,t,r),s=this.cache.getCacheValue(o);if(!s)try{s=yield this.graphQLClient.request(this.query,{siteName:r,itemPath:e,language:t}),this.cache.setCacheValue(o,s)}catch(e){if((0,a.isTimeoutError)(e))return;throw e}return(null===(n=null==s?void 0:s.layout)||void 0===n?void 0:n.item)?{pageId:s.layout.item.id,variantIds:s.layout.item.personalization.variantIds}:void 0})}getCacheClient(){var e,t;return new s.MemoryCacheClient({cacheEnabled:null===(e=this.config.cacheEnabled)||void 0===e||e,cacheTimeout:null!==(t=this.config.cacheTimeout)&&void 0!==t?t:10})}getCacheKey(e,t,r){return`${r}-${e}-${t}`}getGraphQLClient(){if(!this.config.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.config.clientFactory({debugger:i.default.personalize,fetch:this.config.fetch,timeout:this.config.timeout})}}t.GraphQLPersonalizeService=l},3151:function(e,t,r){"use strict";t.sn=void 0,r(48709),r(46178);var n=r(76189);Object.defineProperty(t,"sn",{enumerable:!0,get:function(){return n.CdpHelper}})},48709:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.personalizeLayout=function(e,t,r){var n;e.sitecore.context.variantId=t;let i=(null===(n=e.sitecore.route)||void 0===n?void 0:n.placeholders)||{};if(0===Object.keys(i).length)return;let s=e.sitecore.context.pageEditing&&e.sitecore.context.editMode===o.EditMode.Metadata;return i&&Object.keys(i).forEach(e=>{i[e]=a(i[e],[t,...r||[]],s)}),i},t.personalizePlaceholder=a,t.personalizeComponent=s;let n=r(63204),o=r(6722),i=e=>Object.assign(Object.assign({},e),{componentName:n.HIDDEN_RENDERING_NAME,experiences:{}});function a(e,t,r){return e.map(e=>{if(void 0!==e.experiences)return s(e,t,r);if(e.placeholders){let n=e.placeholders;Object.keys(n).forEach(e=>{n[e]=a(n[e],t,r)})}return e}).filter(Boolean)}function s(e,t,r){let n=Object.keys(e.experiences).find(e=>t.includes(e)),o=n&&e.experiences[n];if(o||e.componentName){if(o&&null===o.componentName&&null===o.dataSource){if(!r)return null;e=i(e)}else o&&(e=o)}else{if(!r)return null;e=i(e)}return e.experiences&&(e.experiences={}),e.placeholders&&Object.keys(null==e?void 0:e.placeholders).forEach(r=>{e.placeholders&&(e.placeholders[r]=a(e.placeholders[r],t))}),e}},76189:function(e,t){"use strict";function r(e){let r={variantId:t.DEFAULT_VARIANT,componentVariantIds:[]};return e.forEach(e=>{var t;e.includes("_")?null===(t=r.componentVariantIds)||void 0===t||t.push(e):r.variantId=e}),r}Object.defineProperty(t,"__esModule",{value:!0}),t.CdpHelper=t.VARIANT_PREFIX=t.DEFAULT_VARIANT=void 0,t.getPersonalizedRewrite=function(e,r){let n=e.startsWith("/")?e:"/"+e;return`${r.map(e=>`/${t.VARIANT_PREFIX}${e}`).join("")}${n}`},t.getPersonalizedRewriteData=function(e){let n=e.split("/"),o=[];return n.forEach(e=>{let r=e.match(`${t.VARIANT_PREFIX}(.*$)`);r&&o.push(r[1])}),r(o)},t.getGroomedVariantIds=r,t.normalizePersonalizedRewrite=function(e){if(!e.includes(t.VARIANT_PREFIX))return e;let r=e.split("/");return(r=r.filter(e=>!e.includes(t.VARIANT_PREFIX))).join("/")||"/"},t.DEFAULT_VARIANT="_default",t.VARIANT_PREFIX="_variantId_";class n{static getPageVariantId(e,r,n,o){let i=e.replace(/[{}-]/g,""),a=r.replace("-","_"),s=o?`${this.normalizeScope(o)}_`:"",l=n;return n&&n!==t.DEFAULT_VARIANT||(l="default"),`${s}${i}_${a}_${l}`.toLowerCase()}static getPageFriendlyId(e,t,r){let n=e.replace(/[{}-]/g,""),o=t.replace("-","_"),i=r?`${this.normalizeScope(r)}_`:"";return`embedded_${i}${n}_${o}`.toLowerCase()}static getComponentFriendlyId(e,t,r,n){let o=e.replace(/[{}-]/g,""),i=t.replace(/[{}-]/g,""),a=r.replace("-","_"),s=n?`${this.normalizeScope(n)}_`:"";return`component_${s}${o}_${i}_${a}*`.toLowerCase()}static normalizeScope(e){return(null==e?void 0:e.replace(/[^a-zA-Z0-9]+/g,""))||""}}t.CdpHelper=n},37678:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLErrorPagesService=void 0;let i=r(63204),a=o(r(56907)),s=` query ErrorPagesQuery($siteName: String!, $language: String!) { site { siteInfo(site: $siteName) { errorHandling(language: $language) { notFoundPage { rendered } notFoundPagePath serverErrorPage { rendered } serverErrorPagePath } } } } `;class l{constructor(e){this.options=e,this.graphQLClient=this.getGraphQLClient()}get query(){return s}fetchErrorPages(){return n(this,void 0,void 0,function*(){let e=this.options.siteName,t=this.options.language;if(!e)throw Error(i.siteNameError);return this.graphQLClient.request(this.query,{siteName:e,language:t}).then(e=>e.site.siteInfo?e.site.siteInfo.errorHandling:null).catch(e=>Promise.reject(e))})}getGraphQLClient(){if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:a.default.errorpages,retries:this.options.retries,retryStrategy:this.options.retryStrategy})}}t.GraphQLErrorPagesService=l},99938:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLRedirectsService=t.REDIRECT_TYPE_SERVER_TRANSFER=t.REDIRECT_TYPE_302=t.REDIRECT_TYPE_301=void 0;let i=r(63204),a=o(r(56907)),s=r(24559);t.REDIRECT_TYPE_301="REDIRECT_301",t.REDIRECT_TYPE_302="REDIRECT_302",t.REDIRECT_TYPE_SERVER_TRANSFER="SERVER_TRANSFER";let l=` query RedirectsQuery($siteName: String!) { site { siteInfo(site: $siteName) { redirects { pattern target redirectType isQueryStringPreserved locale } } } } `;class u{constructor(e){this.options=e,this.graphQLClient=this.getGraphQLClient(),this.cache=this.getCacheClient()}get query(){return l}fetchRedirects(e){return n(this,void 0,void 0,function*(){var t,r;if(!e)throw Error(i.siteNameError);let n=`redirects-${e}`,o=this.cache.getCacheValue(n);return o||(o=yield this.graphQLClient.request(this.query,{siteName:e}),this.cache.setCacheValue(n,o)),(null===(r=null===(t=null==o?void 0:o.site)||void 0===t?void 0:t.siteInfo)||void 0===r?void 0:r.redirects)||[]})}getGraphQLClient(){if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:a.default.redirects,fetch:this.options.fetch})}getCacheClient(){var e,t;return new s.MemoryCacheClient({cacheEnabled:null===(e=this.options.cacheEnabled)||void 0===e||e,cacheTimeout:null!==(t=this.options.cacheTimeout)&&void 0!==t?t:10})}}t.GraphQLRedirectsService=u},83484:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLRobotsService=void 0;let i=r(63204),a=o(r(56907)),s=` query RobotsQuery($siteName: String!) { site { siteInfo(site: $siteName) { robots } } } `;class l{constructor(e){this.options=e,this.graphQLClient=this.getGraphQLClient()}get query(){return s}fetchRobots(){return n(this,void 0,void 0,function*(){let e=this.options.siteName;if(!e)throw Error(i.siteNameError);let t=this.graphQLClient.request(this.query,{siteName:e});try{return t.then(e=>{var t,r;return null===(r=null===(t=null==e?void 0:e.site)||void 0===t?void 0:t.siteInfo)||void 0===r?void 0:r.robots})}catch(e){return Promise.reject(e)}})}getGraphQLClient(){if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:a.default.robots})}}t.GraphQLRobotsService=l},88692:function(e,t,r){"use strict";var n=r(34155),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLSiteInfoService=void 0;let a=i(r(56907)),s=r(24559),l=` query { site { siteInfoCollection { name hostName: hostname language } } } `;class u{constructor(e){this.config=e,this.graphQLClient=this.getGraphQLClient(),this.cache=this.getCacheClient()}get siteQuery(){return l}fetchSiteInfo(){return o(this,void 0,void 0,function*(){let e=this.cache.getCacheValue(this.getCacheKey());if(e)return e;if(n.env.SITECORE)return a.default.multisite("Skipping site information fetch (building on XM Cloud)"),[];let t=yield this.fetchWithSiteQuery();return this.cache.setCacheValue(this.getCacheKey(),t),t})}fetchWithSiteQuery(){return o(this,void 0,void 0,function*(){var e,t;let r=yield this.graphQLClient.request(this.siteQuery);return null===(t=null===(e=null==r?void 0:r.site)||void 0===e?void 0:e.siteInfoCollection)||void 0===t?void 0:t.reduce((e,t)=>("website"!==t.name&&e.push({name:t.name,hostName:t.hostName,language:t.language}),e),[])})}getCacheClient(){var e,t;return new s.MemoryCacheClient({cacheEnabled:null===(e=this.config.cacheEnabled)||void 0===e||e,cacheTimeout:null!==(t=this.config.cacheTimeout)&&void 0!==t?t:10})}getGraphQLClient(){if(!this.config.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.config.clientFactory({debugger:a.default.multisite})}getCacheKey(){return"siteinfo-service-cache"}}t.GraphQLSiteInfoService=u},88277:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLSitemapXmlService=void 0;let i=r(63204),a=o(r(56907)),s="sitemap",l=` query SitemapQuery($siteName: String!) { site { siteInfo(site: $siteName) { sitemap } } } `;class u{constructor(e){this.options=e,this.graphQLClient=this.getGraphQLClient()}get query(){return l}fetchSitemaps(){return n(this,void 0,void 0,function*(){let e=this.options.siteName;if(!e)throw Error(i.siteNameError);let t=this.graphQLClient.request(this.query,{siteName:e});try{return t.then(e=>e.site.siteInfo.sitemap)}catch(e){return Promise.reject(e)}})}getSitemap(e){return n(this,void 0,void 0,function*(){let t;if(void 0!==e){if(""===e)t=`${s}.xml`;else{let r=e.startsWith("-")?e.slice(1):e;t=`${s}-${r}.xml`}return(yield this.fetchSitemaps()).find(e=>e.includes(t))}})}getGraphQLClient(){if(!this.options.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.options.clientFactory({debugger:a.default.sitemap})}}t.GraphQLSitemapXmlService=u},39520:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteResolver=t.normalizeSiteRewrite=t.getSiteRewriteData=t.getSiteRewrite=t.GraphQLSiteInfoService=t.GraphQLErrorPagesService=t.GraphQLSitemapXmlService=t.GraphQLRedirectsService=t.REDIRECT_TYPE_SERVER_TRANSFER=t.REDIRECT_TYPE_302=t.REDIRECT_TYPE_301=t.GraphQLRobotsService=void 0;var n=r(83484);Object.defineProperty(t,"GraphQLRobotsService",{enumerable:!0,get:function(){return n.GraphQLRobotsService}});var o=r(99938);Object.defineProperty(t,"REDIRECT_TYPE_301",{enumerable:!0,get:function(){return o.REDIRECT_TYPE_301}}),Object.defineProperty(t,"REDIRECT_TYPE_302",{enumerable:!0,get:function(){return o.REDIRECT_TYPE_302}}),Object.defineProperty(t,"REDIRECT_TYPE_SERVER_TRANSFER",{enumerable:!0,get:function(){return o.REDIRECT_TYPE_SERVER_TRANSFER}}),Object.defineProperty(t,"GraphQLRedirectsService",{enumerable:!0,get:function(){return o.GraphQLRedirectsService}});var i=r(88277);Object.defineProperty(t,"GraphQLSitemapXmlService",{enumerable:!0,get:function(){return i.GraphQLSitemapXmlService}});var a=r(37678);Object.defineProperty(t,"GraphQLErrorPagesService",{enumerable:!0,get:function(){return a.GraphQLErrorPagesService}});var s=r(88692);Object.defineProperty(t,"GraphQLSiteInfoService",{enumerable:!0,get:function(){return s.GraphQLSiteInfoService}});var l=r(63085);Object.defineProperty(t,"getSiteRewrite",{enumerable:!0,get:function(){return l.getSiteRewrite}}),Object.defineProperty(t,"getSiteRewriteData",{enumerable:!0,get:function(){return l.getSiteRewriteData}}),Object.defineProperty(t,"normalizeSiteRewrite",{enumerable:!0,get:function(){return l.normalizeSiteRewrite}});var u=r(27607);Object.defineProperty(t,"SiteResolver",{enumerable:!0,get:function(){return u.SiteResolver}})},27607:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteResolver=void 0;let r=/\||,|;/g;class n{constructor(e){this.sites=e,this.getByHost=e=>{for(let[t,r]of this.getHostMap())if(this.matchesPattern(e,t))return r;throw Error(`Could not resolve site for host ${e}`)},this.getByName=e=>{let t=this.sites.find(t=>t.name.toLocaleLowerCase()===e.toLocaleLowerCase());if(!t)throw Error(`Could not resolve site for name ${e}`);return t},this.getHostMap=()=>{let e=new Map;return this.sites.forEach(t=>{t.hostName.replace(/\s/g,"").toLocaleLowerCase().split(r).forEach(r=>{e.has(r)||e.set(r,t)})}),new Map(Array.from(e).sort((e,t)=>e[0].length===t[0].length?(e[0].match(/\*/g)||[]).length-(t[0].match(/\*/g)||[]).length:t[0].length-e[0].length))}}matchesPattern(e,t){let r=t.replace(/\./g,"\\.").replace(/\*/g,".*"),n=RegExp(`^${r}$`,"gi");return!!e.match(n)}}t.SiteResolver=n},63085:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SITE_PREFIX=void 0,t.getSiteRewrite=function(e,r){let n=e.startsWith("/")?e:"/"+e;return`/${t.SITE_PREFIX}${r.siteName}${n}`},t.getSiteRewriteData=function(e,r){let n={siteName:r},o=(e.endsWith("/")?e:e+"/").match(`${t.SITE_PREFIX}(.*?)\\/`);return o&&""!==o[1]&&(n.siteName=o[1]),n},t.normalizeSiteRewrite=function(e){let r=e.match(`${t.SITE_PREFIX}.*?(?:\\/|$)`);return null===r?e:e.replace(r[0],"")},t.SITE_PREFIX="_site_"},75145:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tryParseEnvValue=void 0,t.tryParseEnvValue=(e,t)=>{if(!e)return t;if(e.startsWith("{")&&e.endsWith("}"))try{return JSON.parse(e)}catch(t){console.warn("Parsing of env variable failed"),console.warn(`Attempted to parse ${e}`)}return t}},18996:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mapButtonToCommand=t.DefaultEditFrameButtonIds=t.DefaultEditFrameButtons=t.DefaultEditFrameButton=t.handleEditorAnchors=t.resetEditorChromes=t.isEditorActive=t.HorizonEditor=t.ExperienceEditor=t.tryParseEnvValue=t.mergeURLSearchParams=t.escapeNonSpecialQuestionMarks=t.areURLSearchParamsEqual=t.isRegexOrUrl=t.getAllowedOriginsFromEnv=t.enforceCors=t.isTimeoutError=t.isAbsoluteUrl=t.resolveUrl=t.isServer=void 0;var o=r(53641);Object.defineProperty(t,"isServer",{enumerable:!0,get:function(){return n(o).default}});var i=r(13449);Object.defineProperty(t,"resolveUrl",{enumerable:!0,get:function(){return i.resolveUrl}}),Object.defineProperty(t,"isAbsoluteUrl",{enumerable:!0,get:function(){return i.isAbsoluteUrl}}),Object.defineProperty(t,"isTimeoutError",{enumerable:!0,get:function(){return i.isTimeoutError}}),Object.defineProperty(t,"enforceCors",{enumerable:!0,get:function(){return i.enforceCors}}),Object.defineProperty(t,"getAllowedOriginsFromEnv",{enumerable:!0,get:function(){return i.getAllowedOriginsFromEnv}}),Object.defineProperty(t,"isRegexOrUrl",{enumerable:!0,get:function(){return i.isRegexOrUrl}}),Object.defineProperty(t,"areURLSearchParamsEqual",{enumerable:!0,get:function(){return i.areURLSearchParamsEqual}}),Object.defineProperty(t,"escapeNonSpecialQuestionMarks",{enumerable:!0,get:function(){return i.escapeNonSpecialQuestionMarks}}),Object.defineProperty(t,"mergeURLSearchParams",{enumerable:!0,get:function(){return i.mergeURLSearchParams}});var a=r(75145);Object.defineProperty(t,"tryParseEnvValue",{enumerable:!0,get:function(){return a.tryParseEnvValue}});var s=r(27526);Object.defineProperty(t,"ExperienceEditor",{enumerable:!0,get:function(){return s.ExperienceEditor}}),Object.defineProperty(t,"HorizonEditor",{enumerable:!0,get:function(){return s.HorizonEditor}}),Object.defineProperty(t,"isEditorActive",{enumerable:!0,get:function(){return s.isEditorActive}}),Object.defineProperty(t,"resetEditorChromes",{enumerable:!0,get:function(){return s.resetEditorChromes}}),Object.defineProperty(t,"handleEditorAnchors",{enumerable:!0,get:function(){return s.handleEditorAnchors}});var l=r(51027);Object.defineProperty(t,"DefaultEditFrameButton",{enumerable:!0,get:function(){return l.DefaultEditFrameButton}}),Object.defineProperty(t,"DefaultEditFrameButtons",{enumerable:!0,get:function(){return l.DefaultEditFrameButtons}}),Object.defineProperty(t,"DefaultEditFrameButtonIds",{enumerable:!0,get:function(){return l.DefaultEditFrameButtonIds}}),Object.defineProperty(t,"mapButtonToCommand",{enumerable:!0,get:function(){return l.mapButtonToCommand}})},11363:function(e,t,r){e.exports=r(56489)},3112:function(e){"use strict";e.exports="object"==typeof self?self.FormData:window.FormData},98683:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(34823),i=n(r(3112)),a=r(24277),s=function(e){return o.isExtractableFile(e)||null!==e&&"object"==typeof e&&"function"==typeof e.pipe};t.default=function(e,t,r,n){void 0===n&&(n=a.defaultJsonSerializer);var l=o.extractFiles({query:e,variables:t,operationName:r},"",s),u=l.clone,c=l.files;if(0===c.size){if(!Array.isArray(e))return n.stringify(u);if(void 0!==t&&!Array.isArray(t))throw Error("Cannot create request body with given variable type, array expected");var d=e.reduce(function(e,r,n){return e.push({query:r,variables:t?t[n]:void 0}),e},[]);return n.stringify(d)}var p=new("undefined"==typeof FormData?i.default:FormData);p.append("operations",n.stringify(u));var f={},h=0;return c.forEach(function(e){f[++h]=e}),p.append("map",n.stringify(f)),h=0,c.forEach(function(e,t){p.append(""+ ++h,t)}),p}},24277:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultJsonSerializer=void 0,t.defaultJsonSerializer={parse:JSON.parse,stringify:JSON.stringify}},99031:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLWebSocketClient=t.gql=t.resolveRequestDocument=t.batchRequests=t.request=t.rawRequest=t.GraphQLClient=t.ClientError=void 0;var d=a(r(54098)),p=r(33140),f=r(25826),h=c(r(98683)),m=r(24277),g=r(53737),y=r(55045);Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return y.ClientError}});var v=function(e){var t,r={};return e&&("undefined"!=typeof Headers&&e instanceof Headers||e instanceof d.Headers?(t={},e.forEach(function(e,r){t[r]=e}),r=t):Array.isArray(e)?e.forEach(function(e){var t=e[0],n=e[1];r[t]=n}):r=e),r},b=function(e){return e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim()},w=function(e){var t=e.query,r=e.variables,n=e.operationName,o=e.jsonSerializer;if(!Array.isArray(t)){var i=["query="+encodeURIComponent(b(t))];return r&&i.push("variables="+encodeURIComponent(o.stringify(r))),n&&i.push("operationName="+encodeURIComponent(n)),i.join("&")}if(void 0!==r&&!Array.isArray(r))throw Error("Cannot create query with given variable type, array expected");var a=t.reduce(function(e,t,n){return e.push({query:b(t),variables:r?o.stringify(r[n]):void 0}),e},[]);return"query="+encodeURIComponent(o.stringify(a))},E=function(e){var t=e.url,r=e.query,o=e.variables,i=e.operationName,a=e.headers,u=e.fetch,c=e.fetchOptions;return s(void 0,void 0,void 0,function(){var e;return l(this,function(s){switch(s.label){case 0:return e=h.default(r,o,i,c.jsonSerializer),[4,u(t,n({method:"POST",headers:n(n({},"string"==typeof e?{"Content-Type":"application/json"}:{}),a),body:e},c))];case 1:return[2,s.sent()]}})})},x=function(e){var t=e.url,r=e.query,o=e.variables,i=e.operationName,a=e.headers,u=e.fetch,c=e.fetchOptions;return s(void 0,void 0,void 0,function(){return l(this,function(e){switch(e.label){case 0:return[4,u(t+"?"+w({query:r,variables:o,operationName:i,jsonSerializer:c.jsonSerializer}),n({method:"GET",headers:a},c))];case 1:return[2,e.sent()]}})})},S=function(){function e(e,t){this.url=e,this.options=t||{}}return e.prototype.rawRequest=function(e,t,r){return s(this,void 0,void 0,function(){var o,i,a,s,c,p,f,h,m,y;return l(this,function(l){return o=g.parseRawRequestArgs(e,t,r),a=(i=this.options).headers,c=void 0===(s=i.fetch)?d.default:s,f=void 0===(p=i.method)?"POST":p,h=u(i,["headers","fetch","method"]),m=this.url,void 0!==o.signal&&(h.signal=o.signal),y=D(o.query).operationName,[2,C({url:m,query:o.query,variables:o.variables,headers:n(n({},v(P(a))),v(o.requestHeaders)),operationName:y,fetch:c,method:f,fetchOptions:h})]})})},e.prototype.request=function(e,t,r){return s(this,void 0,void 0,function(){var o,i,a,s,c,p,f,h,m,y,b,w;return l(this,function(l){switch(l.label){case 0:return o=g.parseRequestArgs(e,t,r),a=(i=this.options).headers,c=void 0===(s=i.fetch)?d.default:s,f=void 0===(p=i.method)?"POST":p,h=u(i,["headers","fetch","method"]),m=this.url,void 0!==o.signal&&(h.signal=o.signal),b=(y=D(o.document)).query,w=y.operationName,[4,C({url:m,query:b,variables:o.variables,headers:n(n({},v(P(a))),v(o.requestHeaders)),operationName:w,fetch:c,method:f,fetchOptions:h})];case 1:return[2,l.sent().data]}})})},e.prototype.batchRequests=function(e,t){return s(this,void 0,void 0,function(){var r,o,i,a,s,c,p,f,h;return l(this,function(l){switch(l.label){case 0:return r=g.parseBatchRequestArgs(e,t),i=(o=this.options).headers,s=void 0===(a=o.fetch)?d.default:a,p=void 0===(c=o.method)?"POST":c,f=u(o,["headers","fetch","method"]),h=this.url,void 0!==r.signal&&(f.signal=r.signal),[4,C({url:h,query:r.documents.map(function(e){return D(e.document).query}),variables:r.documents.map(function(e){return e.variables}),headers:n(n({},v(P(i))),v(r.requestHeaders)),operationName:void 0,fetch:s,method:p,fetchOptions:f})];case 1:return[2,l.sent().data]}})})},e.prototype.setHeaders=function(e){return this.options.headers=e,this},e.prototype.setHeader=function(e,t){var r,n=this.options.headers;return n?n[e]=t:this.options.headers=((r={})[e]=t,r),this},e.prototype.setEndpoint=function(e){return this.url=e,this},e}();function C(e){var t=e.url,r=e.query,o=e.variables,i=e.headers,a=e.operationName,c=e.fetch,d=e.method,p=void 0===d?"POST":d,f=e.fetchOptions;return s(this,void 0,void 0,function(){var e,d,h,g,v,b,w,S,C,O,T;return l(this,function(D){switch(D.label){case 0:return e="POST"===p.toUpperCase()?E:x,d=Array.isArray(r),[4,e({url:t,query:r,variables:o,operationName:a,headers:i,fetch:c,fetchOptions:f})];case 1:return[4,function(e,t){return void 0===t&&(t=m.defaultJsonSerializer),s(this,void 0,void 0,function(){var r,n,o;return l(this,function(i){switch(i.label){case 0:if(e.headers.forEach(function(e,t){"content-type"===t.toLowerCase()&&(r=e)}),!(r&&r.toLowerCase().startsWith("application/json")))return[3,2];return o=(n=t).parse,[4,e.text()];case 1:return[2,o.apply(n,[i.sent()])];case 2:return[2,e.text()]}})})}(h=D.sent(),f.jsonSerializer)];case 2:if(g=D.sent(),v=d&&Array.isArray(g)?!g.some(function(e){return!e.data}):!!g.data,b=!g.errors||"all"===f.errorPolicy||"ignore"===f.errorPolicy,h.ok&&b&&v)return w=h.headers,S=h.status,g.errors,C=u(g,["errors"]),O="ignore"===f.errorPolicy?C:g,[2,n(n({},d?{data:O}:O),{headers:w,status:S})];throw T="string"==typeof g?{error:g}:g,new y.ClientError(n(n({},T),{status:h.status,headers:h.headers}),{query:r,variables:o})}})})}function O(e,t,r,o){return s(this,void 0,void 0,function(){var i;return l(this,function(a){return[2,new S((i=g.parseRequestExtendedArgs(e,t,r,o)).url).request(n({},i))]})})}function T(e){var t,r=void 0,n=e.definitions.filter(function(e){return"OperationDefinition"===e.kind});return 1===n.length&&(r=null===(t=n[0].name)||void 0===t?void 0:t.value),r}function D(e){if("string"==typeof e){var t=void 0;try{var r=p.parse(e);t=T(r)}catch(e){}return{query:e,operationName:t}}var n=T(e);return{query:f.print(e),operationName:n}}function P(e){return"function"==typeof e?e():e}t.GraphQLClient=S,t.rawRequest=function(e,t,r,o){return s(this,void 0,void 0,function(){var i;return l(this,function(a){return[2,new S((i=g.parseRawRequestExtendedArgs(e,t,r,o)).url).rawRequest(n({},i))]})})},t.request=O,t.batchRequests=function(e,t,r){return s(this,void 0,void 0,function(){var o;return l(this,function(i){return[2,new S((o=g.parseBatchRequestsExtendedArgs(e,t,r)).url).batchRequests(n({},o))]})})},t.default=O,t.resolveRequestDocument=D,t.gql=function(e){for(var t=[],r=1;re.loc).filter(e=>null!=e));this.source=null!=c?c:null==m?void 0:null===(i=m[0])||void 0===i?void 0:i.source,this.positions=null!=d?d:null==m?void 0:m.map(e=>e.start),this.locations=d&&c?d.map(e=>(0,o.getLocation)(c,e)):null==m?void 0:m.map(e=>(0,o.getLocation)(e.source,e.start));let g=(0,n.isObjectLike)(null==f?void 0:f.extensions)?null==f?void 0:f.extensions:void 0;this.extensions=null!==(l=null!=h?h:g)&&void 0!==l?l:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,a):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+(0,i.printLocation)(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+(0,i.printSourceLocation)(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function s(e){return void 0===e||0===e.length?void 0:e}t.GraphQLError=a},5163:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.syntaxError=function(e,t,r){return new n.GraphQLError(`Syntax Error: ${r}`,{source:e,positions:[t]})};var n=r(67140)},19566:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.devAssert=function(e,t){if(!e)throw Error(t)}},96647:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inspect=function(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";let n=Math.min(10,t.length),o=t.length-n,i=[];for(let o=0;o1&&i.push(`... ${o} more items`),"["+i.join(", ")+"]"}(t,n);return function(t,r){let n=Object.entries(t);return 0===n.length?"{}":r.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]":"{ "+n.map(([t,n])=>t+": "+e(n,r)).join(", ")+" }"}(t,n)}(t,r);default:return String(t)}}(e,[])}},56957:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.instanceOf=void 0;var n=r(96647);let o=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var r;let o=t.prototype[Symbol.toStringTag];if(o===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(r=e.constructor)||void 0===r?void 0:r.name)){let t=(0,n.inspect)(e);throw Error(`Cannot use ${o} "${t}" from another module or realm. Ensure that there is only one instance of "graphql" in the node_modules directory. If different versions of "graphql" are the dependencies of other relied on modules, use "resolutions" to ensure only one version is installed. https://yarnpkg.com/en/docs/selective-version-resolutions Duplicate "graphql" modules cannot be used at the same time since different versions may have different capabilities and behavior. The data from one version used in the function from another could produce confusing and spurious results.`)}}return!1};t.instanceOf=o},93834:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.invariant=function(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}},60069:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObjectLike=function(e){return"object"==typeof e&&null!==e}},17629:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.Token=t.QueryDocumentKeys=t.OperationTypeNode=t.Location=void 0,t.isNode=function(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)};class o{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}t.Location=o;class i{constructor(e,t,r,n,o,i){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=o,this.value=i,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}t.Token=i;let a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=a;let s=new Set(Object.keys(a));t.OperationTypeNode=r,(n=r||(t.OperationTypeNode=r={})).QUERY="query",n.MUTATION="mutation",n.SUBSCRIPTION="subscription"},18627:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringLines=function(e){var t,r;let o=Number.MAX_SAFE_INTEGER,i=null,a=-1;for(let t=0;t0===t?e:e.slice(o)).slice(null!==(t=i)&&void 0!==t?t:0,a+1)},t.isPrintableAsBlockString=function(e){if(""===e)return!0;let t=!0,r=!1,n=!0,o=!1;for(let i=0;i1&&o.slice(1).every(e=>0===e.length||(0,n.isWhiteSpace)(e.charCodeAt(0))),s=r.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,d=!(null!=t&&t.minimize)&&(!i||e.length>70||c||a||s),p="",f=i&&(0,n.isWhiteSpace)(e.charCodeAt(0));return(d&&!f||a)&&(p+="\n"),p+=r,(d||c)&&(p+="\n"),'"""'+p+'"""'};var n=r(37551)},37551:function(e,t){"use strict";function r(e){return e>=48&&e<=57}function n(e){return e>=97&&e<=122||e>=65&&e<=90}Object.defineProperty(t,"__esModule",{value:!0}),t.isDigit=r,t.isLetter=n,t.isNameContinue=function(e){return n(e)||r(e)||95===e},t.isNameStart=function(e){return n(e)||95===e},t.isWhiteSpace=function(e){return 9===e||32===e}},74675:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.DirectiveLocation=void 0,t.DirectiveLocation=r,(n=r||(t.DirectiveLocation=r={})).QUERY="QUERY",n.MUTATION="MUTATION",n.SUBSCRIPTION="SUBSCRIPTION",n.FIELD="FIELD",n.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",n.FRAGMENT_SPREAD="FRAGMENT_SPREAD",n.INLINE_FRAGMENT="INLINE_FRAGMENT",n.VARIABLE_DEFINITION="VARIABLE_DEFINITION",n.SCHEMA="SCHEMA",n.SCALAR="SCALAR",n.OBJECT="OBJECT",n.FIELD_DEFINITION="FIELD_DEFINITION",n.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",n.INTERFACE="INTERFACE",n.UNION="UNION",n.ENUM="ENUM",n.ENUM_VALUE="ENUM_VALUE",n.INPUT_OBJECT="INPUT_OBJECT",n.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"},6062:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.Kind=void 0,t.Kind=r,(n=r||(t.Kind=r={})).NAME="Name",n.DOCUMENT="Document",n.OPERATION_DEFINITION="OperationDefinition",n.VARIABLE_DEFINITION="VariableDefinition",n.SELECTION_SET="SelectionSet",n.FIELD="Field",n.ARGUMENT="Argument",n.FRAGMENT_SPREAD="FragmentSpread",n.INLINE_FRAGMENT="InlineFragment",n.FRAGMENT_DEFINITION="FragmentDefinition",n.VARIABLE="Variable",n.INT="IntValue",n.FLOAT="FloatValue",n.STRING="StringValue",n.BOOLEAN="BooleanValue",n.NULL="NullValue",n.ENUM="EnumValue",n.LIST="ListValue",n.OBJECT="ObjectValue",n.OBJECT_FIELD="ObjectField",n.DIRECTIVE="Directive",n.NAMED_TYPE="NamedType",n.LIST_TYPE="ListType",n.NON_NULL_TYPE="NonNullType",n.SCHEMA_DEFINITION="SchemaDefinition",n.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",n.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",n.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",n.FIELD_DEFINITION="FieldDefinition",n.INPUT_VALUE_DEFINITION="InputValueDefinition",n.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",n.UNION_TYPE_DEFINITION="UnionTypeDefinition",n.ENUM_TYPE_DEFINITION="EnumTypeDefinition",n.ENUM_VALUE_DEFINITION="EnumValueDefinition",n.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",n.DIRECTIVE_DEFINITION="DirectiveDefinition",n.SCHEMA_EXTENSION="SchemaExtension",n.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",n.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",n.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",n.UNION_TYPE_EXTENSION="UnionTypeExtension",n.ENUM_TYPE_EXTENSION="EnumTypeExtension",n.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"},70100:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0,t.isPunctuatorTokenKind=function(e){return e===s.TokenKind.BANG||e===s.TokenKind.DOLLAR||e===s.TokenKind.AMP||e===s.TokenKind.PAREN_L||e===s.TokenKind.PAREN_R||e===s.TokenKind.SPREAD||e===s.TokenKind.COLON||e===s.TokenKind.EQUALS||e===s.TokenKind.AT||e===s.TokenKind.BRACKET_L||e===s.TokenKind.BRACKET_R||e===s.TokenKind.BRACE_L||e===s.TokenKind.PIPE||e===s.TokenKind.BRACE_R};var n=r(5163),o=r(17629),i=r(18627),a=r(37551),s=r(87123);class l{constructor(e){let t=new o.Token(s.TokenKind.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.TokenKind.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,o=r.length,l=t;for(;l=0&&e<=55295||e>=57344&&e<=1114111}function c(e,t){return d(e.charCodeAt(t))&&p(e.charCodeAt(t+1))}function d(e){return e>=55296&&e<=56319}function p(e){return e>=56320&&e<=57343}function f(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return s.TokenKind.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function h(e,t,r,n,i){let a=e.line,s=1+r-e.lineStart;return new o.Token(t,r,n,a,s,i)}function m(e,t,r){if(!(0,a.isDigit)(r))throw(0,n.syntaxError)(e.source,t,`Invalid number, expected digit but got: ${f(e,t)}.`);let o=e.source.body,i=t+1;for(;(0,a.isDigit)(o.charCodeAt(i));)++i;return i}function g(e,t){return y(e.charCodeAt(t))<<12|y(e.charCodeAt(t+1))<<8|y(e.charCodeAt(t+2))<<4|y(e.charCodeAt(t+3))}function y(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}t.Lexer=l},6671:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocation=function(e,t){let r=0,i=1;for(let a of e.body.matchAll(o)){if("number"==typeof a.index||(0,n.invariant)(!1),a.index>=t)break;r=a.index+a[0].length,i+=1}return{line:i,column:t+1-r}};var n=r(93834);let o=/\r\n|[\n\r]/g},33140:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0,t.parse=function(e,t){let r=new c(e,t),n=r.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:r.tokenCount}),n},t.parseConstValue=function(e,t){let r=new c(e,t);r.expectToken(u.TokenKind.SOF);let n=r.parseConstValueLiteral();return r.expectToken(u.TokenKind.EOF),n},t.parseType=function(e,t){let r=new c(e,t);r.expectToken(u.TokenKind.SOF);let n=r.parseTypeReference();return r.expectToken(u.TokenKind.EOF),n},t.parseValue=function(e,t){let r=new c(e,t);r.expectToken(u.TokenKind.SOF);let n=r.parseValueLiteral(!1);return r.expectToken(u.TokenKind.EOF),n};var n=r(5163),o=r(17629),i=r(74675),a=r(6062),s=r(70100),l=r(1916),u=r(87123);class c{constructor(e,t={}){let r=(0,l.isSource)(e)?e:new l.Source(e);this._lexer=new s.Lexer(r),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(u.TokenKind.NAME);return this.node(e,{kind:a.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:a.Kind.DOCUMENT,definitions:this.many(u.TokenKind.SOF,this.parseDefinition,u.TokenKind.EOF)})}parseDefinition(){if(this.peek(u.TokenKind.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===u.TokenKind.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw(0,n.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e;let t=this._lexer.token;if(this.peek(u.TokenKind.BRACE_L))return this.node(t,{kind:a.Kind.OPERATION_DEFINITION,operation:o.OperationTypeNode.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseOperationType();return this.peek(u.TokenKind.NAME)&&(e=this.parseName()),this.node(t,{kind:a.Kind.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(u.TokenKind.NAME);switch(e.value){case"query":return o.OperationTypeNode.QUERY;case"mutation":return o.OperationTypeNode.MUTATION;case"subscription":return o.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(u.TokenKind.PAREN_L,this.parseVariableDefinition,u.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:a.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(u.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(u.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(u.TokenKind.DOLLAR),this.node(e,{kind:a.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:a.Kind.SELECTION_SET,selections:this.many(u.TokenKind.BRACE_L,this.parseSelection,u.TokenKind.BRACE_R)})}parseSelection(){return this.peek(u.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t;let r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(u.TokenKind.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:a.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(u.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(u.TokenKind.PAREN_L,t,u.TokenKind.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(u.TokenKind.COLON),this.node(t,{kind:a.Kind.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(u.TokenKind.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(u.TokenKind.NAME)?this.node(e,{kind:a.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:a.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:a.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:a.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case u.TokenKind.BRACKET_L:return this.parseList(e);case u.TokenKind.BRACE_L:return this.parseObject(e);case u.TokenKind.INT:return this.advanceLexer(),this.node(t,{kind:a.Kind.INT,value:t.value});case u.TokenKind.FLOAT:return this.advanceLexer(),this.node(t,{kind:a.Kind.FLOAT,value:t.value});case u.TokenKind.STRING:case u.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case u.TokenKind.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:a.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:a.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:a.Kind.NULL});default:return this.node(t,{kind:a.Kind.ENUM,value:t.value})}case u.TokenKind.DOLLAR:if(e){if(this.expectToken(u.TokenKind.DOLLAR),this._lexer.token.kind===u.TokenKind.NAME){let e=this._lexer.token.value;throw(0,n.syntaxError)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:a.Kind.STRING,value:e.value,block:e.kind===u.TokenKind.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:a.Kind.LIST,values:this.any(u.TokenKind.BRACKET_L,()=>this.parseValueLiteral(e),u.TokenKind.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:a.Kind.OBJECT,fields:this.any(u.TokenKind.BRACE_L,()=>this.parseObjectField(e),u.TokenKind.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(u.TokenKind.COLON),this.node(t,{kind:a.Kind.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(u.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(u.TokenKind.AT),this.node(t,{kind:a.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let t=this._lexer.token;if(this.expectOptionalToken(u.TokenKind.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(u.TokenKind.BRACKET_R),e=this.node(t,{kind:a.Kind.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(u.TokenKind.BANG)?this.node(t,{kind:a.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:a.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(u.TokenKind.STRING)||this.peek(u.TokenKind.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(u.TokenKind.BRACE_L,this.parseOperationTypeDefinition,u.TokenKind.BRACE_R);return this.node(e,{kind:a.Kind.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(u.TokenKind.COLON);let r=this.parseNamedType();return this.node(e,{kind:a.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:a.Kind.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:a.Kind.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:i})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(u.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(u.TokenKind.BRACE_L,this.parseFieldDefinition,u.TokenKind.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(u.TokenKind.COLON);let o=this.parseTypeReference(),i=this.parseConstDirectives();return this.node(e,{kind:a.Kind.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:i})}parseArgumentDefs(){return this.optionalMany(u.TokenKind.PAREN_L,this.parseInputValueDef,u.TokenKind.PAREN_R)}parseInputValueDef(){let e;let t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(u.TokenKind.COLON);let o=this.parseTypeReference();this.expectOptionalToken(u.TokenKind.EQUALS)&&(e=this.parseConstValueLiteral());let i=this.parseConstDirectives();return this.node(t,{kind:a.Kind.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:e,directives:i})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:a.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:i})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(e,{kind:a.Kind.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(u.TokenKind.EQUALS)?this.delimitedMany(u.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(e,{kind:a.Kind.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:o})}parseEnumValuesDefinition(){return this.optionalMany(u.TokenKind.BRACE_L,this.parseEnumValueDefinition,u.TokenKind.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:a.Kind.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,n.syntaxError)(this._lexer.source,this._lexer.token.start,`${d(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),n=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(e,{kind:a.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(u.TokenKind.BRACE_L,this.parseInputValueDef,u.TokenKind.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===u.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(u.TokenKind.BRACE_L,this.parseOperationTypeDefinition,u.TokenKind.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:a.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:a.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:a.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:a.Kind.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:a.Kind.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:a.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(u.TokenKind.AT);let r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let i=this.parseDirectiveLocations();return this.node(e,{kind:a.Kind.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:i})}parseDirectiveLocations(){return this.delimitedMany(u.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(i.DirectiveLocation,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new o.Location(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,n.syntaxError)(this._lexer.source,t.start,`Expected ${p(e)}, found ${d(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===u.TokenKind.NAME&&t.value===e)this.advanceLexer();else throw(0,n.syntaxError)(this._lexer.source,t.start,`Expected "${e}", found ${d(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===u.TokenKind.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return(0,n.syntaxError)(this._lexer.source,t.start,`Unexpected ${d(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==u.TokenKind.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,n.syntaxError)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function d(e){let t=e.value;return p(e.kind)+(null!=t?` "${t}"`:"")}function p(e){return(0,s.isPunctuatorTokenKind)(e)?`"${e}"`:e}t.Parser=c},77351:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printLocation=function(e){return o(e.source,(0,n.getLocation)(e.source,e.start))},t.printSourceLocation=o;var n=r(6671);function o(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,o=t.line-1,a=e.locationOffset.line-1,s=t.line+a,l=1===t.line?r:0,u=t.column+l,c=`${e.name}:${s}:${u} `,d=n.split(/\r\n|[\n\r]/g),p=d[o];if(p.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return c+i([[`${s-1} |`,d[o-1]],[`${s} |`,p],["|","^".padStart(u)],[`${s+1} |`,d[o+1]]])}function i(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}},71891:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printString=function(e){return`"${e.replace(r,n)}"`};let r=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function n(e){return o[e.charCodeAt(0)]}let o=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"]},25826:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(e){return(0,i.visit)(e,a)};var n=r(18627),o=r(71891),i=r(85108);let a={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>s(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=u("(",s(e.variableDefinitions,", "),")"),r=s([e.operation,s([e.name,t]),s(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+u(" = ",r)+u(" ",s(n," "))},SelectionSet:{leave:({selections:e})=>l(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:o}){let i=u("",e,": ")+t,a=i+u("(",s(r,", "),")");return a.length>80&&(a=i+u("(\n",c(s(r,"\n")),"\n)")),s([a,s(n," "),o]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+u(" ",s(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>s(["...",u("on ",e),s(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:o})=>`fragment ${e}${u("(",s(r,", "),")")} on ${t} ${u("",s(n," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.printBlockString)(e):(0,o.printString)(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+s(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+s(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+u("(",s(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>u("",e,"\n")+s(["schema",s(t," "),l(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>u("",e,"\n")+s(["scalar",t,s(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:o})=>u("",e,"\n")+s(["type",t,u("implements ",s(r," & ")),s(n," "),l(o)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:o})=>u("",e,"\n")+t+(d(r)?u("(\n",c(s(r,"\n")),"\n)"):u("(",s(r,", "),")"))+": "+n+u(" ",s(o," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:o})=>u("",e,"\n")+s([t+": "+r,u("= ",n),s(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:o})=>u("",e,"\n")+s(["interface",t,u("implements ",s(r," & ")),s(n," "),l(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>u("",e,"\n")+s(["union",t,s(r," "),u("= ",s(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>u("",e,"\n")+s(["enum",t,s(r," "),l(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>u("",e,"\n")+s([t,s(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>u("",e,"\n")+s(["input",t,s(r," "),l(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:o})=>u("",e,"\n")+"directive @"+t+(d(r)?u("(\n",c(s(r,"\n")),"\n)"):u("(",s(r,", "),")"))+(n?" repeatable":"")+" on "+s(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>s(["extend schema",s(e," "),l(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>s(["extend scalar",e,s(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>s(["extend type",e,u("implements ",s(t," & ")),s(r," "),l(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>s(["extend interface",e,u("implements ",s(t," & ")),s(r," "),l(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>s(["extend union",e,s(t," "),u("= ",s(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>s(["extend enum",e,s(t," "),l(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>s(["extend input",e,s(t," "),l(r)]," ")}};function s(e,t=""){var r;return null!==(r=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==r?r:""}function l(e){return u("{\n",c(s(e,"\n")),"\n}")}function u(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function c(e){return u(" ",e.replace(/\n/g,"\n "))}function d(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}},1916:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Source=void 0,t.isSource=function(e){return(0,i.instanceOf)(e,a)};var n=r(19566),o=r(96647),i=r(56957);class a{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,n.devAssert)(!1,`Body must be a string. Received: ${(0,o.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,n.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}t.Source=a},87123:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.TokenKind=void 0,t.TokenKind=r,(n=r||(t.TokenKind=r={})).SOF="",n.EOF="",n.BANG="!",n.DOLLAR="$",n.AMP="&",n.PAREN_L="(",n.PAREN_R=")",n.SPREAD="...",n.COLON=":",n.EQUALS="=",n.AT="@",n.BRACKET_L="[",n.BRACKET_R="]",n.BRACE_L="{",n.PIPE="|",n.BRACE_R="}",n.NAME="Name",n.INT="Int",n.FLOAT="Float",n.STRING="String",n.BLOCK_STRING="BlockString",n.COMMENT="Comment"},85108:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BREAK=void 0,t.getEnterLeaveForKind=l,t.getVisitFn=function(e,t,r){let{enter:n,leave:o}=l(e,t);return r?o:n},t.visit=function(e,t,r=i.QueryDocumentKeys){let u,c,d;let p=new Map;for(let e of Object.values(a.Kind))p.set(e,l(t,e));let f=Array.isArray(e),h=[e],m=-1,g=[],y=e,v=[],b=[];do{var w,E,x;let e;let a=++m===h.length,l=a&&0!==g.length;if(a){if(c=0===b.length?void 0:v[v.length-1],y=d,d=b.pop(),l){if(f){y=y.slice();let e=0;for(let[t,r]of g){let n=t-e;null===r?(y.splice(n,1),e++):y[n]=r}}else for(let[e,t]of(y={...y},g))y[e]=t}m=u.index,h=u.keys,g=u.edits,f=u.inArray,u=u.prev}else if(d){if(null==(y=d[c=f?m:h[m]]))continue;v.push(c)}if(!Array.isArray(y)){(0,i.isNode)(y)||(0,n.devAssert)(!1,`Invalid AST Node: ${(0,o.inspect)(y)}.`);let r=a?null===(w=p.get(y.kind))||void 0===w?void 0:w.leave:null===(E=p.get(y.kind))||void 0===E?void 0:E.enter;if((e=null==r?void 0:r.call(t,y,c,d,v,b))===s)break;if(!1===e){if(!a){v.pop();continue}}else if(void 0!==e&&(g.push([c,e]),!a)){if((0,i.isNode)(e))y=e;else{v.pop();continue}}}void 0===e&&l&&g.push([c,y]),a?v.pop():(u={inArray:f,index:m,keys:h,edits:g,prev:u},h=(f=Array.isArray(y))?y:null!==(x=r[y.kind])&&void 0!==x?x:[],m=-1,g=[],d&&b.push(d),d=y)}while(void 0!==u);return 0!==g.length?g[g.length-1][1]:e},t.visitInParallel=function(e){let t=Array(e.length).fill(null),r=Object.create(null);for(let n of Object.values(a.Kind)){let o=!1,i=Array(e.length).fill(void 0),a=Array(e.length).fill(void 0);for(let t=0;t0?a-4:a;for(r=0;r>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,s=n-o;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(e,t,r){"use strict";let n=r(79742),o=r(80645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=0|h(e,t),n=a(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(j(e,Uint8Array)){let t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return s.from(n,t,r);let o=function(e){var t;if(s.isBuffer(e)){let t=0|f(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|f(e))}function d(e){let t=e.length<0?0:0|f(e.length),r=a(t);for(let n=0;n=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return L(e).length;default:if(o)return n?-1:N(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,r){let o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let o="";for(let n=t;n2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,o){let i,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let n=-1;for(i=r;is&&(r=s-l),i=r;i>=0;i--){let r=!0;for(let n=0;n239?4:t>223?3:t>191?2:1;if(o+a<=r){let r,n,s,l;switch(a){case 1:t<128&&(i=t);break;case 2:(192&(r=e[o+1]))==128&&(l=(31&t)<<6|63&r)>127&&(i=l);break;case 3:r=e[o+1],n=e[o+2],(192&r)==128&&(192&n)==128&&(l=(15&t)<<12|(63&r)<<6|63&n)>2047&&(l<55296||l>57343)&&(i=l);break;case 4:r=e[o+1],n=e[o+2],s=e[o+3],(192&r)==128&&(192&n)==128&&(192&s)==128&&(l=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s)>65535&&l<1114112&&(i=l)}}null===i?(i=65533,a=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=a}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let r="",n=0;for(;nr)throw RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function x(e,t,r,n,o){k(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function S(e,t,r,n,o){k(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r+7]=i,i>>=8,e[r+6]=i,i>>=8,e[r+5]=i,i>>=8,e[r+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function C(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function O(e,t,r,n,i){return t=+t,r>>>=0,i||C(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function T(e,t,r,n,i){return t=+t,r>>>=0,i||C(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(j(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),j(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,i=Math.min(r,n);on.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(n,o)):Uint8Array.prototype.set.call(n,t,o);else if(s.isBuffer(t))t.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=t.length}return n},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tr&&(e+=" ... "),""},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,o){if(j(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;let i=o-n,a=r-t,l=Math.min(i,a),u=this.slice(n,o),c=e.slice(t,r);for(let e=0;e>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-t;if((void 0===r||r>p)&&(r=p),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let f=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let o;r=Number(r)||0;let i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;let a=t.length;for(n>a/2&&(n=a/2),o=0;o>8,o.push(r%256),o.push(n);return o}(e,this.length-c),this,c,d);default:if(f)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),f=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],o=1,i=0;for(;++i>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e+--t],o=1;for(;t>0&&(o*=256);)n+=this[e+--t]*o;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&I(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+16777216*this[++e],o=this[++e]+256*this[++e]+65536*this[++e]+16777216*r;return BigInt(n)+(BigInt(o)<>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&I(e,this.length-8);let n=16777216*t+65536*this[++e]+256*this[++e]+this[++e],o=16777216*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],o=1,i=0;for(;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=t,o=1,i=this[e+--n];for(;n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=B(function(e){R(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&I(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&I(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||w(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;E(this,e,t,r,n,0)}let o=1,i=0;for(this[t]=255&e;++i>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;E(this,e,t,r,n,0)}let o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigUInt64LE=B(function(e,t=0){return x(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=B(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let o=0,i=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let o=r-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigInt64LE=B(function(e,t=0){return x(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=B(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,t,r){return O(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return O(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return T(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return T(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function k(e,t,r,n,o,i){if(e>r||e3?0===t||t===BigInt(0)?`>= 0${o} and < 2${o} ** ${(i+1)*8}${o}`:`>= -(2${o} ** ${(i+1)*8-1}${o}) and < 2 ** ${(i+1)*8-1}${o}`:`>= ${t}${o} and <= ${r}${o}`,new D.ERR_OUT_OF_RANGE("value",n,e)}R(o,"offset"),(void 0===n[o]||void 0===n[o+i])&&I(o,n.length-(i+1))}function R(e,t){if("number"!=typeof e)throw new D.ERR_INVALID_ARG_TYPE(t,"number",e)}function I(e,t,r){if(Math.floor(e)!==e)throw R(e,r),new D.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new D.ERR_BUFFER_OUT_OF_BOUNDS;throw new D.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}P("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),P("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),P("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>4294967296?o=A(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=A(o)),o+="n"),n+=` It must be ${t}. Received ${o}`},RangeError);let _=/[^+/0-9A-Za-z-_]/g;function N(e,t){let r;t=t||1/0;let n=e.length,o=null,i=[];for(let a=0;a55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function L(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(_,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,r,n){let o;for(o=0;o=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function j(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let F=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function B(e){return"undefined"==typeof BigInt?Z:e}function Z(){throw Error("BigInt not supported")}},25730:function(e,t,r){"use strict";var n=r(58612),o=r(1768),i=r(68928),a=r(59770);e.exports=a||n.call(i,o)},93192:function(e,t,r){"use strict";var n=r(58612),o=r(1768),i=r(25730);e.exports=function(){return i(n,o,arguments)}},1768:function(e){"use strict";e.exports=Function.prototype.apply},68928:function(e){"use strict";e.exports=Function.prototype.call},40319:function(e,t,r){"use strict";var n=r(58612),o=r(14453),i=r(68928),a=r(25730);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return a(n,i,e)}},59770:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},55559:function(e,t,r){"use strict";var n=r(67771),o=r(24429),i=r(40319),a=r(93192);e.exports=function(e){var t=i(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},o?o(e.exports,"apply",{value:a}):e.exports.apply=a},17379:function(e,t,r){"use strict";var n=r(40210),o=r(40319),i=o([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o([r]):r}},54098:function(e,t,r){var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,o=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();(function(e){var t=void 0!==o&&o||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(n.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(e){return e&&i.indexOf(Object.prototype.toString.call(e))>-1};function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n.iterable&&(t[Symbol.iterator]=function(){return t}),t}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function d(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(TypeError("Already read"));e.bodyUsed=!0}}function p(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function f(e){var t=new FileReader,r=p(t);return t.readAsArrayBuffer(e),r}function h(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this.bodyUsed=this.bodyUsed,this._bodyInit=e,e){if("string"==typeof e)this._bodyText=e;else if(n.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(n.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else{var t;n.arrayBuffer&&n.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=h(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||a(e))?this._bodyArrayBuffer=h(e):this._bodyText=e=Object.prototype.toString.call(e)}}else this._noBody=!0,this._bodyText="";!this.headers.get("content-type")&&("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return d(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(n.blob)return this.blob().then(f);throw Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n,o,i=d(this);if(i)return i;if(this._bodyBlob)return e=this._bodyBlob,r=p(t=new FileReader),o=(n=/charset=([A-Za-z0-9_-]+)/.exec(e.type))?n[1]:"utf-8",t.readAsText(e,o),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=Array(t.length),n=0;n-1?o:n),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal||function(){if("AbortController"in t)return new AbortController().signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),("GET"===this.method||"HEAD"===this.method)&&("no-store"===r.cache||"no-cache"===r.cache)){var a=/([?&])_=[^&]*/;a.test(this.url)?this.url=this.url.replace(a,"$1_="+new Date().getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+new Date().getTime()}}function v(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function b(e,t){if(!(this instanceof b))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},m.call(y.prototype),m.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var e=new b(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var w=[301,302,303,307,308];b.redirect=function(e,t){if(-1===w.indexOf(t))throw RangeError("Invalid status code");return new b(null,{status:t,headers:{location:e}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function E(r,o){return new Promise(function(i,a){var u=new y(r,o);if(u.signal&&u.signal.aborted)return a(new e.DOMException("Aborted","AbortError"));var d=new XMLHttpRequest;function p(){d.abort()}if(d.onload=function(){var e,t,r={statusText:d.statusText,headers:(e=d.getAllResponseHeaders()||"",t=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();try{t.append(n,o)}catch(e){console.warn("Response "+e.message)}}}),t)};0===u.url.indexOf("file://")&&(d.status<200||d.status>599)?r.status=200:r.status=d.status,r.url="responseURL"in d?d.responseURL:r.headers.get("X-Request-URL");var n="response"in d?d.response:d.responseText;setTimeout(function(){i(new b(n,r))},0)},d.onerror=function(){setTimeout(function(){a(TypeError("Network request failed"))},0)},d.ontimeout=function(){setTimeout(function(){a(TypeError("Network request timed out"))},0)},d.onabort=function(){setTimeout(function(){a(new e.DOMException("Aborted","AbortError"))},0)},d.open(u.method,function(e){try{return""===e&&t.location.href?t.location.href:e}catch(t){return e}}(u.url),!0),"include"===u.credentials?d.withCredentials=!0:"omit"===u.credentials&&(d.withCredentials=!1),"responseType"in d&&(n.blob?d.responseType="blob":n.arrayBuffer&&(d.responseType="arraybuffer")),o&&"object"==typeof o.headers&&!(o.headers instanceof c||t.Headers&&o.headers instanceof t.Headers)){var f=[];Object.getOwnPropertyNames(o.headers).forEach(function(e){f.push(s(e)),d.setRequestHeader(e,l(o.headers[e]))}),u.headers.forEach(function(e,t){-1===f.indexOf(t)&&d.setRequestHeader(t,e)})}else u.headers.forEach(function(e,t){d.setRequestHeader(t,e)});u.signal&&(u.signal.addEventListener("abort",p),d.onreadystatechange=function(){4===d.readyState&&u.signal.removeEventListener("abort",p)}),d.send(void 0===u._bodyInit?null:u._bodyInit)})}E.polyfill=!0,t.fetch||(t.fetch=E,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=E,Object.defineProperty(e,"__esModule",{value:!0})})({}),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var i=n.fetch?n:o;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},27484:function(e){var t;t=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",o="week",i="month",a="quarter",s="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},f="en",h={};h[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||"th")+"]"}};var m="$isDayjsObject",g=function(e){return e instanceof w||!(!e||!e[m])},y=function e(t,r,n){var o;if(!t)return f;if("string"==typeof t){var i=t.toLowerCase();h[i]&&(o=i),r&&(h[i]=r,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;h[s]=t,o=s}return!n&&o&&(f=o),o||!n&&f},v=function(e,t){if(g(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new w(r)},b={s:p,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+p(Math.floor(r/60),2,"0")+":"+p(r%60,2,"0")},m:function e(t,r){if(t.date()68?1900:2e3)},l=function(e){return function(t){this[e]=+t}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),r=60*t[1]+(+t[2]||0);return 0===r?0:"+"===t[0]?-r:r}(e)}],c=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var r,n=a.meridiem;if(n){for(var o=1;o<=24;o+=1)if(e.indexOf(n(o,0,t))>-1){r=o>12;break}}else r=e===(t?"pm":"PM");return r},p={A:[i,function(e){this.afternoon=d(e,!1)}],a:[i,function(e){this.afternoon=d(e,!0)}],Q:[r,function(e){this.month=3*(e-1)+1}],S:[r,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,l("seconds")],ss:[o,l("seconds")],m:[o,l("minutes")],mm:[o,l("minutes")],H:[o,l("hours")],h:[o,l("hours")],HH:[o,l("hours")],hh:[o,l("hours")],D:[o,l("day")],DD:[n,l("day")],Do:[i,function(e){var t=a.ordinal,r=e.match(/\d+/);if(this.day=r[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],w:[o,l("week")],ww:[n,l("week")],M:[o,l("month")],MM:[n,l("month")],MMM:[i,function(e){var t=c("months"),r=(c("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(r<1)throw Error();this.month=r%12||r}],MMMM:[i,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,l("year")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\d{4}/,l("year")],Z:u,ZZ:u};return function(r,n,o){o.p.customParseFormat=!0,r&&r.parseTwoDigitYear&&(s=r.parseTwoDigitYear);var i=n.prototype,l=i.parse;i.parse=function(r){var n=r.date,i=r.utc,s=r.args;this.$u=i;var u=s[1];if("string"==typeof u){var c=!0===s[2],d=!0===s[3],f=s[2];d&&(f=s[2]),a=this.$locale(),!c&&f&&(a=o.Ls[f]),this.$d=function(r,n,o,i){try{if(["x","X"].indexOf(n)>-1)return new Date(("X"===n?1e3:1)*r);var s=(function(r){var n,o;n=r,o=a&&a.formats;for(var i=(r=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,r,n){var i=n&&n.toUpperCase();return r||o[n]||e[n]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,r){return t||r.slice(1)})})).match(t),s=i.length,l=0;l0?u-1:v.getMonth());var x,S=d||0,C=f||0,O=h||0,T=m||0;return g?new Date(Date.UTC(w,E,b,S,C,O,T+60*g.offset*1e3)):o?new Date(Date.UTC(w,E,b,S,C,O,T)):(x=new Date(w,E,b,S,C,O,T),y&&(x=i(x).week(y).toDate()),x)}catch(e){return new Date("")}}(n,u,i,o),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),(c||d)&&n!=this.format(u)&&(this.$d=new Date("")),a={}}else if(u instanceof Array)for(var h=u.length,m=1;m<=h;m+=1){s[1]=u[m-1];var g=o.apply(this,s);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}m===h&&(this.$d=new Date(""))}else l.call(this,r)}}},e.exports=t()},66607:function(e){var t;t=function(){return function(e,t,r){t.prototype.isBetween=function(e,t,n,o){var i=r(e),a=r(t),s="("===(o=o||"()")[0],l=")"===o[1];return(s?this.isAfter(i,n):!this.isBefore(i,n))&&(l?this.isBefore(a,n):!this.isAfter(a,n))||(s?this.isBefore(i,n):!this.isAfter(i,n))&&(l?this.isAfter(a,n):!this.isBefore(a,n))}}},e.exports=t()},56176:function(e){var t;t=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,r,n){var o=r.prototype,i=o.format;n.en.formats=e,o.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var r,n,o=this.$locale().formats,a=(r=t,n=void 0===o?{}:o,r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,r,o){var i=o&&o.toUpperCase();return r||n[o]||e[o]||n[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,r){return t||r.slice(1)})}));return i.call(this,a)}}},e.exports=t()},55183:function(e){var t;t=function(){"use strict";var e="week",t="year";return function(r,n,o){var i=n.prototype;i.week=function(r){if(void 0===r&&(r=null),null!==r)return this.add(7*(r-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(n),a=o(this).endOf(e);if(i.isBefore(a))return 1}var s=o(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}},e.exports=t()},69496:function(e){"use strict";e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=void 0,o=void 0,i=void 0,a=[];return function(){var l,u="function"==typeof t?t():t,c=new Date().getTime(),d=!n||c-n>u;n=c;for(var p=arguments.length,f=Array(p),h=0;h3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(n)n(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===s&&d?d.enumerable:!s,value:r,writable:null===l&&d?d.writable:!l});else if(!c&&(s||l||u))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},96504:function(e,t,r){"use strict";var n,o=r(40319),i=r(27296);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!n&&i&&i(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},62988:function(e,t,r){var n=r(61755),o=r(26665).each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var r=this;this.listener=function(e){r.mql=e.currentTarget||e,r.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,function(r,n){if(r.equals(e))return r.destroy(),!t.splice(n,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,function(t){t[e]()})}},e.exports=i},38177:function(e,t,r){var n=r(62988),o=r(26665),i=o.each,a=o.isFunction,s=o.isArray;function l(){if(!window.matchMedia)throw Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,r){var o=this.queries,l=r&&this.browserIsIncapable;return o[e]||(o[e]=new n(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),i(t,function(t){a(t)&&(t={match:t}),o[e].addHandler(t)}),this},unregister:function(e,t){var r=this.queries[e];return r&&(t?r.removeHandler(t):(r.clear(),delete this.queries[e])),this}},e.exports=l},61755:function(e){function t(e){this.options=e,e.deferSetup||this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},26665:function(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var r=0,n=e.length;r0&&a.length>o&&!a.warned){a.warned=!0;var o,i,a,u=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,console&&console.warn&&console.warn(u)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=c.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=Array(e.length),r=0;r0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else for(var u=l.length,c=h(l,u),r=0;r=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},i.prototype.listenerCount=f,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},72445:function(e){"use strict";e.exports=function(e){var t=e.uri,r=e.name,n=e.type;this.uri=t,this.name=r,this.type=n}},40804:function(e,t,r){"use strict";var n=r(51268);e.exports=function e(t,r,o){void 0===r&&(r=""),void 0===o&&(o=n);var i,a=new Map;function s(e,t){var r=a.get(t);r?r.push.apply(r,e):a.set(t,e)}if(o(t))i=null,s([r],t);else{var l=r?r+".":"";if("undefined"!=typeof FileList&&t instanceof FileList)i=Array.prototype.map.call(t,function(e,t){return s([""+l+t],e),null});else if(Array.isArray(t))i=t.map(function(t,r){var n=e(t,""+l+r,o);return n.files.forEach(s),n.clone});else if(t&&t.constructor===Object)for(var u in i={},t){var c=e(t[u],""+l+u,o);c.files.forEach(s),i[u]=c.clone}else i=t}return{clone:i,files:a}}},34823:function(e,t,r){"use strict";t.ReactNativeFile=r(72445),t.extractFiles=r(40804),t.isExtractableFile=r(51268)},51268:function(e,t,r){"use strict";var n=r(72445);e.exports=function(e){return"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||e instanceof n}},64063:function(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!=o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!=o--;){var n,o,i,a=i[o];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},94029:function(e,t,r){"use strict";var n=r(95320),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,r){for(var n=0,o=e.length;n=3&&(i=r),"[object Array]"===o.call(e))?a(e,t,i):"string"==typeof e?s(e,t,i):l(e,t,i)}},17648:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===U(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=H(e),n=r.length>0?r[0]:"",o=G("%"+n+"%",t),i=o.name,a=o.value,s=!1,l=o.alias;l&&(n=l[0],Z(r,B([0,1],l)));for(var d=1,p=!0;d=r.length){var g=E(a,f);a=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[f]}else p=F(a,f),a=a[f];p&&!s&&(_[i]=a)}}return a}},68899:function(e,t,r){"use strict";var n=r(68892);e.exports=n.getPrototypeOf||null},10443:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},81618:function(e,t,r){"use strict";var n=r(10443),o=r(68899),i=r(96504);e.exports=n?function(e){return n(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},34979:function(e){var t;t=function(){if("undefined"!=typeof window&&"undefined"!=typeof document){var e=document;return function(t){var n,o=0,i=[];for(n=e.querySelectorAll("[data-gifffer]");o0?b=(v=(v=parseInt(v.toString().replace("%","")))/100*x)/S:b.toString().indexOf("%")>0&&(v=(b=(b=parseInt(b.toString().replace("%","")))/100*x)*S),m={w:v,h:b},t.push(i),i.addEventListener("click",function(){clearTimeout(h),y?(y=!1,i.appendChild(c),i.removeChild(d),i.appendChild(a),d=null):(y=!0,(d=document.createElement("IMG")).setAttribute("style","width:100%;height:100%;"),d.setAttribute("data-uri",Math.floor(1e5*Math.random())+1),setTimeout(function(){d.src=o},0),i.removeChild(c),i.removeChild(a),i.appendChild(d),parseInt(u)>0&&(h=setTimeout(function(){y=!1,i.appendChild(c),i.removeChild(d),i.appendChild(a),d=null},u)))}),a.width=m.w,a.height=m.h,a.getContext("2d").drawImage(e,0,0,m.w,m.h),i.appendChild(a),i.setAttribute("style","position:relative;cursor:pointer;width:"+m.w+"px;height:"+m.h+"px;background:none;border:none;padding:0;"),a.style.width="100%",a.style.height="100%",s.toString().indexOf("%")>0&&l.toString().indexOf("%")>0?(i.style.width=s,i.style.height=l):s.toString().indexOf("%")>0?(i.style.width=s,i.style.height="inherit"):l.toString().indexOf("%")>0?(i.style.width="inherit",i.style.height=l):(i.style.width=m.w+"px",i.style.height=m.h+"px")}},e.src=o})(n[o],i,t);return i}}function t(e){var t="";for(prop in e)t+=prop+":"+e[prop]+";";return t}function r(r,n,o,i,a){var s,l=e.createElement("BUTTON"),u=o.getAttribute("class"),c=o.getAttribute("id"),d=a&&a.playButtonStyles?t(a.playButtonStyles):"width:60px;height:60px;border-radius:30px;background:rgba(0, 0, 0, 0.3);position:absolute;top:50%;left:50%;margin:-30px",p=a&&a.playButtonIconStyles?t(a.playButtonIconStyles):"width: 0;height: 0;border-top: 14px solid transparent;border-bottom: 14px solid transparent;border-left: 14px solid rgba(0, 0, 0, 0.5);position: absolute;left: 26px;top: 16px";u&&l.setAttribute("class",o.getAttribute("class")),c&&l.setAttribute("id",o.getAttribute("id")),l.setAttribute("style","position:relative;cursor:pointer;background:none;border:none;padding:0;"),l.setAttribute("aria-hidden","true");var f=e.createElement("DIV");f.setAttribute("class","gifffer-play-button"),f.setAttribute("style",d);var h=e.createElement("DIV");return h.setAttribute("style",p),f.appendChild(h),i&&((s=e.createElement("p")).setAttribute("class","gifffer-alt"),s.setAttribute("style","border:0;clip:rect(0 0 0 0);height:1px;overflow:hidden;padding:0;position:absolute;width:1px;"),s.innerText=i+", image"),l.appendChild(f),o.parentNode.replaceChild(l,o),i&&l.parentNode.insertBefore(s,l.nextSibling),{c:l,p:f}}},e.exports=t()},40690:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},27296:function(e,t,r){"use strict";var n=r(40690);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},31044:function(e,t,r){"use strict";var n=r(24429),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},41405:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(55419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},55419:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},96410:function(e,t,r){"use strict";var n=r(55419);e.exports=function(){return n()&&!!Symbol.toStringTag}},48824:function(e,t,r){"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=r(58612);e.exports=i.call(n,o)},86492:function(e,t,r){var n,o,i,a,s,l,u,c,d,p,f,h,m,g,y,v,b,w,E,x,S,C,O,T,D,P,A,k;(e=r.nmd(e))&&e.exports,(o="object"==typeof r.g&&r.g).global===o||o.window,i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,u={"\xad":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp","\xa0":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","‥":"nldr","…":"mldr","\xb7":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","\xb4":"acute","˜":"tilde","^":"Hat","\xaf":"macr","˘":"breve","˙":"dot","\xa8":"die","˚":"ring","˝":"dblac","\xb8":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","€":"euro","\xb9":"sup1","\xbd":"half","⅓":"frac13","\xbc":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","\xb2":"sup2","⅔":"frac23","⅖":"frac25","\xb3":"sup3","\xbe":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","\uD835\uDCB6":"ascr","\uD835\uDD52":"aopf","\uD835\uDD1E":"afr","\uD835\uDD38":"Aopf","\uD835\uDD04":"Afr","\uD835\uDC9C":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","\uD835\uDCB7":"bscr","\uD835\uDD53":"bopf","\uD835\uDD1F":"bfr","\uD835\uDD39":"Bopf",ℬ:"Bscr","\uD835\uDD05":"Bfr","\uD835\uDD20":"cfr","\uD835\uDCB8":"cscr","\uD835\uDD54":"copf",ℭ:"Cfr","\uD835\uDC9E":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","\uD835\uDD21":"dfr",ⅆ:"dd","\uD835\uDD55":"dopf","\uD835\uDCB9":"dscr","\uD835\uDC9F":"Dscr","\uD835\uDD07":"Dfr",ⅅ:"DD","\uD835\uDD3B":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr","\uD835\uDD22":"efr","\uD835\uDD56":"eopf",ℰ:"Escr","\uD835\uDD08":"Efr","\uD835\uDD3C":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","\uD835\uDD23":"ffr","\uD835\uDD57":"fopf","\uD835\uDCBB":"fscr","\uD835\uDD09":"Ffr","\uD835\uDD3D":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","\uD835\uDD58":"gopf","\uD835\uDD24":"gfr","\uD835\uDCA2":"Gscr","\uD835\uDD3E":"Gopf","\uD835\uDD0A":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","\uD835\uDD25":"hfr",ℎ:"planckh","\uD835\uDCBD":"hscr","\uD835\uDD59":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","\uD835\uDD5A":"iopf","\uD835\uDD26":"ifr","\uD835\uDCBE":"iscr",ⅈ:"ii","\uD835\uDD40":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","\uD835\uDCBF":"jscr","\uD835\uDD5B":"jopf","\uD835\uDD27":"jfr","\uD835\uDCA5":"Jscr","\uD835\uDD0D":"Jfr","\uD835\uDD41":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath","\uD835\uDD5C":"kopf","\uD835\uDCC0":"kscr","\uD835\uDD28":"kfr","\uD835\uDCA6":"Kscr","\uD835\uDD42":"Kopf","\uD835\uDD0E":"Kfr",ķ:"kcedil",Ķ:"Kcedil","\uD835\uDD29":"lfr","\uD835\uDCC1":"lscr",ℓ:"ell","\uD835\uDD5D":"lopf",ℒ:"Lscr","\uD835\uDD0F":"Lfr","\uD835\uDD43":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","\uD835\uDD2A":"mfr","\uD835\uDD5E":"mopf","\uD835\uDCC2":"mscr","\uD835\uDD10":"Mfr","\uD835\uDD44":"Mopf",ℳ:"Mscr","\uD835\uDD2B":"nfr","\uD835\uDD5F":"nopf","\uD835\uDCC3":"nscr",ℕ:"Nopf","\uD835\uDCA9":"Nscr","\uD835\uDD11":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","\uD835\uDD60":"oopf","\uD835\uDD2C":"ofr",ℴ:"oscr","\uD835\uDCAA":"Oscr","\uD835\uDD12":"Ofr","\uD835\uDD46":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","\uD835\uDD2D":"pfr","\uD835\uDCC5":"pscr","\uD835\uDD61":"popf",ℙ:"Popf","\uD835\uDD13":"Pfr","\uD835\uDCAB":"Pscr","\uD835\uDD62":"qopf","\uD835\uDD2E":"qfr","\uD835\uDCC6":"qscr","\uD835\uDCAC":"Qscr","\uD835\uDD14":"Qfr",ℚ:"Qopf",ĸ:"kgreen","\uD835\uDD2F":"rfr","\uD835\uDD63":"ropf","\uD835\uDCC7":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","\uD835\uDD64":"sopf","\uD835\uDCC8":"sscr","\uD835\uDD30":"sfr","\uD835\uDD4A":"Sopf","\uD835\uDD16":"Sfr","\uD835\uDCAE":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","\uD835\uDD31":"tfr","\uD835\uDCC9":"tscr","\uD835\uDD65":"topf","\uD835\uDCAF":"Tscr","\uD835\uDD17":"Tfr","\uD835\uDD4B":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","\uD835\uDCCA":"uscr","\uD835\uDD66":"uopf","\uD835\uDD32":"ufr","\uD835\uDD4C":"Uopf","\uD835\uDD18":"Ufr","\uD835\uDCB0":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","\uD835\uDD33":"vfr","\uD835\uDD67":"vopf","\uD835\uDCCB":"vscr","\uD835\uDD19":"Vfr","\uD835\uDD4D":"Vopf","\uD835\uDCB1":"Vscr","\uD835\uDD68":"wopf","\uD835\uDCCC":"wscr","\uD835\uDD34":"wfr","\uD835\uDCB2":"Wscr","\uD835\uDD4E":"Wopf","\uD835\uDD1A":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","\uD835\uDD35":"xfr","\uD835\uDCCD":"xscr","\uD835\uDD69":"xopf","\uD835\uDD4F":"Xopf","\uD835\uDD1B":"Xfr","\uD835\uDCB3":"Xscr","\uD835\uDD36":"yfr","\uD835\uDCCE":"yscr","\uD835\uDD6A":"yopf","\uD835\uDCB4":"Yscr","\uD835\uDD1C":"Yfr","\uD835\uDD50":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","\uD835\uDCCF":"zscr","\uD835\uDD37":"zfr","\uD835\uDD6B":"zopf",ℨ:"Zfr",ℤ:"Zopf","\uD835\uDCB5":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},c=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"\xe1",Aacute:"\xc1",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"а",Acy:"А",aelig:"\xe6",AElig:"\xc6",af:"⁡",afr:"\uD835\uDD1E",Afr:"\uD835\uDD04",agrave:"\xe0",Agrave:"\xc0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"\uD835\uDD52",Aopf:"\uD835\uDD38",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"\xe5",Aring:"\xc5",ascr:"\uD835\uDCB6",Ascr:"\uD835\uDC9C",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",Bfr:"\uD835\uDD05",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"\uD835\uDD53",Bopf:"\uD835\uDD39",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\uD835\uDD20",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"\uD835\uDD54",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"\xa9",COPY:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"\uD835\uDCB8",Cscr:"\uD835\uDC9E",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",Dfr:"\uD835\uDD07",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",Dopf:"\uD835\uDD3B",dot:"˙",Dot:"\xa8",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",Dscr:"\uD835\uDC9F",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"\xe9",Eacute:"\xc9",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"\xea",Ecirc:"\xca",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",Efr:"\uD835\uDD08",eg:"⪚",egrave:"\xe8",Egrave:"\xc8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"\uD835\uDD56",Eopf:"\uD835\uDD3C",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",Ffr:"\uD835\uDD09",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",Fopf:"\uD835\uDD3D",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",Gfr:"\uD835\uDD0A",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",Gopf:"\uD835\uDD3E",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"\uD835\uDCA2",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"\uD835\uDCBD",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"\xed",Iacute:"\xcd",ic:"⁣",icirc:"\xee",Icirc:"\xce",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",Ifr:"ℑ",igrave:"\xec",Igrave:"\xcc",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"\uD835\uDD5A",Iopf:"\uD835\uDD40",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"\xef",Iuml:"\xcf",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"\uD835\uDD27",Jfr:"\uD835\uDD0D",jmath:"ȷ",jopf:"\uD835\uDD5B",Jopf:"\uD835\uDD41",jscr:"\uD835\uDCBF",Jscr:"\uD835\uDCA5",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"\uD835\uDD28",Kfr:"\uD835\uDD0E",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"\uD835\uDD5C",Kopf:"\uD835\uDD42",kscr:"\uD835\uDCC0",Kscr:"\uD835\uDCA6",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",Lfr:"\uD835\uDD0F",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",Lopf:"\uD835\uDD43",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"\uD835\uDD2A",Mfr:"\uD835\uDD10",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",Mopf:"\uD835\uDD44",mp:"∓",mscr:"\uD835\uDCC2",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",Nfr:"\uD835\uDD11",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:"\xa0",nopf:"\uD835\uDD5F",Nopf:"ℕ",not:"\xac",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",Nscr:"\uD835\uDCA9",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"\xf3",Oacute:"\xd3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",Ocirc:"\xd4",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"\uD835\uDD2C",Ofr:"\uD835\uDD12",ogon:"˛",ograve:"\xf2",Ograve:"\xd2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",Oopf:"\uD835\uDD46",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"\uD835\uDCAA",oslash:"\xf8",Oslash:"\xd8",osol:"⊘",otilde:"\xf5",Otilde:"\xd5",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"\xf6",Ouml:"\xd6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",Pfr:"\uD835\uDD13",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",popf:"\uD835\uDD61",Popf:"ℙ",pound:"\xa3",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",Pscr:"\uD835\uDCAB",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"\uD835\uDD2E",Qfr:"\uD835\uDD14",qint:"⨌",qopf:"\uD835\uDD62",Qopf:"ℚ",qprime:"⁗",qscr:"\uD835\uDCC6",Qscr:"\uD835\uDCAC",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",REG:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"\uD835\uDCC7",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",Sfr:"\uD835\uDD16",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",Sopf:"\uD835\uDD4A",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",Sscr:"\uD835\uDCAE",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",Tfr:"\uD835\uDD17",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",THORN:"\xde",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",Topf:"\uD835\uDD4B",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",Tscr:"\uD835\uDCAF",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"\xfa",Uacute:"\xda",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"\xfb",Ucirc:"\xdb",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",Ufr:"\uD835\uDD18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"\uD835\uDD66",Uopf:"\uD835\uDD4C",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"\uD835\uDCCA",Uscr:"\uD835\uDCB0",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",Uuml:"\xdc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"\uD835\uDD33",Vfr:"\uD835\uDD19",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",Vopf:"\uD835\uDD4D",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",Vscr:"\uD835\uDCB1",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",Wfr:"\uD835\uDD1A",wopf:"\uD835\uDD68",Wopf:"\uD835\uDD4E",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",Wscr:"\uD835\uDCB2",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",Xfr:"\uD835\uDD1B",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",Xopf:"\uD835\uDD4F",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"\uD835\uDCCD",Xscr:"\uD835\uDCB3",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",Yacute:"\xdd",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"\xa5",yfr:"\uD835\uDD36",Yfr:"\uD835\uDD1C",yicy:"ї",YIcy:"Ї",yopf:"\uD835\uDD6A",Yopf:"\uD835\uDD50",yscr:"\uD835\uDCCE",Yscr:"\uD835\uDCB4",yucy:"ю",YUcy:"Ю",yuml:"\xff",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"\uD835\uDD37",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",Zopf:"ℤ",zscr:"\uD835\uDCCF",Zscr:"\uD835\uDCB5",zwj:"‍",zwnj:"‌"},g={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},y={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},v=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],b=String.fromCharCode,w=({}).hasOwnProperty,E=function(e,t){return w.call(e,t)},x=function(e,t){for(var r=-1,n=e.length;++r=55296&&e<=57343||e>1114111?(t&&D("character reference outside the permissible Unicode range"),"�"):E(y,e)?(t&&D("disallowed character reference"),y[e]):(t&&x(v,e)&&D("disallowed character reference"),e>65535&&(e-=65536,r+=b(e>>>10&1023|55296),e=56320|1023&e),r+=b(e))},O=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},T=function(e){return"&#"+e+";"},D=function(e){throw Error("Parse error: "+e)},(P=function(e,t){(t=S(t,P.options)).strict&&f.test(e)&&D("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,o=t.allowUnsafeSymbols,d=t.decimal?T:O,p=function(e){return d(e.charCodeAt(0))};return r?(e=e.replace(a,function(e){return n&&E(u,e)?"&"+u[e]+";":p(e)}),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(l,function(e){return"&"+u[e]+";"}))):n?(o||(e=e.replace(c,function(e){return"&"+u[e]+";"})),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,function(e){return"&"+u[e]+";"})):o||(e=e.replace(c,p)),e.replace(i,function(e){return d((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536)}).replace(s,p)}).options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1},(A=function(e,t){var r=(t=S(t,A.options)).strict;return r&&p.test(e)&&D("malformed character reference"),e.replace(h,function(e,n,o,i,a,s,l,u,c){var d,p;return n?m[p=n]:o?(p=o,i&&t.isAttributeValue)?(r&&"="==i&&D("`&` did not start a character reference"),e):(r&&D("named character reference was not terminated by a semicolon"),g[p]+(i||"")):a?(d=s,r&&!d&&D("character reference was not terminated by a semicolon"),C(parseInt(a,10),r)):l?(d=u,r&&!d&&D("character reference was not terminated by a semicolon"),C(parseInt(l,16),r)):(r&&D("named character reference was not terminated by a semicolon"),e)})}).options={isAttributeValue:!1,strict:!1},k={version:"1.2.0",encode:P,decode:A,escape:function(e){return e.replace(c,function(e){return d[e]})},unescape:A},void 0!==(n=(function(){return k}).call(t,r,t,e))&&(e.exports=n)},8679:function(e,t,r){"use strict";var n=r(21296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=f(r);o&&o!==h&&e(t,o,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g>1,c=-7,d=r?o-1:0,p=r?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-c)-1,f>>=-c,c+=s;c>0;i=256*i+e[t+d],d+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),i-=u}return(f?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,l,u=8*i-o-1,c=(1<>1,p=23===o?5960464477539062e-23:0,f=n?0:i-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[r+f]=255&s,f+=h,s/=256,o-=8);for(a=a<0;e[r+f]=255&a,f+=h,a/=256,u-=8);e[r+f-h]|=128*m}},35717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},82584:function(e,t,r){"use strict";var n=r(96410)(),o=r(17379)("Object.prototype.toString"),i=function(e){return(!n||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"callee"in e&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},95320:function(e){"use strict";var t,r,n=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},o(function(){throw 42},null,t)}catch(e){e!==r&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(e){try{var t=n.call(e);return i.test(t)}catch(e){return!1}},s=function(e){try{if(a(e))return!1;return n.call(e),!0}catch(e){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),d=function(){return!1};if("object"==typeof document){var p=document.all;l.call(p)===l.call(document.all)&&(d=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=o?function(e){if(d(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{o(e,null,t)}catch(e){if(e!==r)return!1}return!a(e)&&s(e)}:function(e){if(d(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(u)return s(e);if(a(e))return!1;var t=l.call(e);return!!("[object Function]"===t||"[object GeneratorFunction]"===t||/^\[object HTML/.test(t))&&s(e)}},48662:function(e,t,r){"use strict";var n,o=r(17379),i=r(79246)(/^\s*(?:function)?\*/),a=r(96410)(),s=r(81618),l=o("Object.prototype.toString"),u=o("Function.prototype.toString"),c=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!=typeof e)return!1;if(i(u(e)))return!0;if(!a)return"[object GeneratorFunction]"===l(e);if(!s)return!1;if(void 0===n){var t=c();n=!!t&&s(t)}return s(e)===n}},98420:function(e,t,r){"use strict";var n,o=r(17379),i=r(96410)(),a=r(48824),s=r(27296);if(i){var l=o("RegExp.prototype.exec"),u={},c=function(){throw u},d={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(d[Symbol.toPrimitive]=c),n=function(e){if(!e||"object"!=typeof e)return!1;var t=s(e,"lastIndex");if(!(t&&a(t,"value")))return!1;try{l(e,d)}catch(e){return e===u}}}else{var p=o("Object.prototype.toString");n=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"[object RegExp]"===p(e)}}e.exports=n},85692:function(e,t,r){"use strict";var n=r(86430);e.exports=function(e){return!!n(e)}},47798:function(e){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},80973:function(e,t,r){var n=r(71169),o=function(e){var t="",r=Object.keys(e);return r.forEach(function(o,i){var a,s=e[o];a=o=n(o),/[height|width]$/.test(a)&&"number"==typeof s&&(s+="px"),!0===s?t+=o:!1===s?t+="not "+o:t+="("+o+": "+s+")",i=t||r<0||d&&n>=i}function w(){var e,r,n,o=m();if(b(o))return E(o);s=setTimeout(w,(e=o-l,r=o-u,n=t-e,d?h(n,i-r):n))}function E(e){return(s=void 0,p&&n)?v(e):(n=o=void 0,a)}function x(){var e,r=m(),i=b(r);if(n=arguments,o=this,l=r,i){if(void 0===s)return u=e=l,s=setTimeout(w,t),c?v(e):a;if(d)return s=setTimeout(w,t),v(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=y(t)||0,g(r)&&(c=!!r.leading,i=(d="maxWait"in r)?f(y(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),x.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=l=o=s=void 0},x.flush=function(){return void 0===s?a:E(m())},x}},21540:function(e,t,r){var n,o=1/0,i=/&(?:amp|lt|gt|quot|#39|#96);/g,a=RegExp(i.source),s="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,l="object"==typeof self&&self&&self.Object===Object&&self,u=s||l||Function("return this")(),c=(n={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},function(e){return null==n?void 0:n[e]}),d=Object.prototype.toString,p=u.Symbol,f=p?p.prototype:void 0,h=f?f.toString:void 0;e.exports=function(e){var t;return(e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==d.call(t))return h?h.call(e):"";var t,r=e+"";return"0"==r&&1/e==-o?"-0":r}(t))&&a.test(e)?e.replace(i,c):e}},59738:function(e){"use strict";e.exports=Math.abs},76329:function(e){"use strict";e.exports=Math.floor},43678:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},52264:function(e){"use strict";e.exports=Math.max},55730:function(e){"use strict";e.exports=Math.min},20707:function(e){"use strict";e.exports=Math.pow},63862:function(e){"use strict";e.exports=Math.round},29550:function(e,t,r){"use strict";var n=r(43678);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},30845:function(e,t,r){"use strict";r.r(t);var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var r,o,i=0;i=Date.now())return o&&t++,a.value;o&&r++,n--,delete e[i]}else o&&r++;return null},this.size=function(){return n},this.memsize=function(){var t,r=0;for(t in e)r++;return r},this.debug=function(e){o=e},this.hits=function(){return t},this.misses=function(){return r},this.keys=function(){return Object.keys(e)},this.exportJson=function(){var t={};for(var r in e){var n=e[r];t[r]={value:n.value,expire:n.expire||"NaN"}}return JSON.stringify(t)},this.importJson=function(t,r){var n=JSON.parse(t),i=Date.now(),a=r&&r.skipDuplicates;for(var s in n)if(n.hasOwnProperty(s)){if(a&&e[s]){o&&console.log("Skipping duplicate imported key '%s'",s);continue}var l=n[s],u=l.expire-i;if(u<=0){this.del(s);continue}u=u>0?u:void 0,this.put(s,l.value,u)}return this.size()}}e.exports=new t,e.exports.Cache=t},60878:function(e,t,r){"use strict";e.exports=r(73128)},73128:function(e,t,r){"use strict";var n=r(67294),o=n&&"object"==typeof n&&"default"in n?n.default:n;function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}!function(e,t){void 0===t&&(t={});var r=t.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('.multiSelectContainer,.multiSelectContainer *,.multiSelectContainer :after,.multiSelectContainer :before{box-sizing:border-box}.multiSelectContainer{position:relative;text-align:left;width:100%}.disable_ms{opacity:.5;pointer-events:none}.display-none{display:none}.searchWrapper{border:1px solid #ccc;border-radius:4px;min-height:22px;padding:5px;position:relative}.multiSelectContainer input{background:transparent;border:none;margin-top:3px}.multiSelectContainer input:focus{outline:none}.chip{align-items:center;background:#0096fb;border-radius:11px;color:#fff;display:inline-flex;font-size:13px;line-height:19px;margin-bottom:5px;margin-right:5px;padding:4px 10px}.chip,.singleChip{white-space:nowrap}.singleChip{background:none;border-radius:none;color:inherit}.singleChip i{display:none}.closeIcon{cursor:pointer;float:right;height:13px;margin-left:5px;width:13px}.optionListContainer{background:#fff;border-radius:4px;margin-top:1px;position:absolute;width:100%;z-index:2}.multiSelectContainer ul{border:1px solid #ccc;border-radius:4px;display:block;margin:0;max-height:250px;overflow-y:auto;padding:0}.multiSelectContainer li{padding:10px}.multiSelectContainer li:hover{background:#0096fb;color:#fff;cursor:pointer}.checkbox{margin-right:10px}.disableSelection{opacity:.5;pointer-events:none}.highlightOption{background:#0096fb;color:#fff}.displayBlock{display:block}.displayNone{display:none}.notFound{display:block;padding:10px}.singleSelect{padding-right:20px}li.groupHeading{color:#908e8e;padding:5px 15px;pointer-events:none}li.groupChildEle{padding-left:30px}.icon_down_dir{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:14px}.icon_down_dir:before{content:"\\e803"}.custom-close{display:flex}');var s={circle:"data:image/svg+xml,%3Csvg%20height%3D%22512px%22%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512px%22%20xml%3Aspace%3D%22preserve%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20.st0%7B%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%23fff%3B%20%20%20%20%20%20%20%20%7D%20%3C%2Fstyle%3E%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z%20%20%20%20M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8%20%20%20l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76%20%20%20l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7%20%20%20c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",circle2:"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2096%2096%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20.st0%7B%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%23fff%3B%20%20%20%20%20%20%20%20%7D%20%3C%2Fstyle%3E%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M48%2C0A48%2C48%2C0%2C1%2C0%2C96%2C48%2C48.0512%2C48.0512%2C0%2C0%2C0%2C48%2C0Zm0%2C84A36%2C36%2C0%2C1%2C1%2C84%2C48%2C36.0393%2C36.0393%2C0%2C0%2C1%2C48%2C84Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M64.2422%2C31.7578a5.9979%2C5.9979%2C0%2C0%2C0-8.4844%2C0L48%2C39.5156l-7.7578-7.7578a5.9994%2C5.9994%2C0%2C0%2C0-8.4844%2C8.4844L39.5156%2C48l-7.7578%2C7.7578a5.9994%2C5.9994%2C0%2C1%2C0%2C8.4844%2C8.4844L48%2C56.4844l7.7578%2C7.7578a5.9994%2C5.9994%2C0%2C0%2C0%2C8.4844-8.4844L56.4844%2C48l7.7578-7.7578A5.9979%2C5.9979%2C0%2C0%2C0%2C64.2422%2C31.7578Z%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",close:"data:image/svg+xml,%3Csvg%20height%3D%22135.467mm%22%20style%3D%22shape-rendering%3AgeometricPrecision%3B%20text-rendering%3AgeometricPrecision%3B%20image-rendering%3AoptimizeQuality%3B%20fill-rule%3Aevenodd%3B%20clip-rule%3Aevenodd%22%20viewBox%3D%220%200%2013547%2013547%22%20width%3D%22135.467mm%22%20xml%3Aspace%3D%22preserve%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20%20%20%20%20.fil0%20%7Bfill%3Anone%7D%20%20%20%20%20%20%20%20%20%20%20%20.fil1%20%7Bfill%3A%23fff%7D%20%20%20%20%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Ebene_x0020_1%22%3E%20%20%20%20%20%20%20%20%3Cpolygon%20class%3D%22fil0%22%20points%3D%220%2C0%2013547%2C0%2013547%2C13547%200%2C13547%20%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22fil1%22%20d%3D%22M714%2012832l12118%200%200%20-12117%20-12118%200%200%2012117zm4188%20-2990l1871%20-1871%201871%201871%201197%20-1197%20-1871%20-1871%201871%20-1871%20-1197%20-1197%20-1871%201871%20-1871%20-1871%20-1197%201197%201871%201871%20-1871%201871%201197%201197z%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",cancel:"data:image/svg+xml,%3Csvg%20height%3D%22512px%22%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512px%22%20xml%3Aspace%3D%22preserve%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20.st0%7B%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%23fff%3B%20%20%20%20%20%20%20%20%7D%20%3C%2Fstyle%3E%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M443.6%2C387.1L312.4%2C255.4l131.5-130c5.4-5.4%2C5.4-14.2%2C0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7%2C0-7.2%2C1.5-9.8%2C4%20%20L256%2C197.8L124.9%2C68.3c-2.6-2.6-6.1-4-9.8-4c-3.7%2C0-7.2%2C1.5-9.8%2C4L68%2C105.9c-5.4%2C5.4-5.4%2C14.2%2C0%2C19.6l131.5%2C130L68.4%2C387.1%20%20c-2.6%2C2.6-4.1%2C6.1-4.1%2C9.8c0%2C3.7%2C1.4%2C7.2%2C4.1%2C9.8l37.4%2C37.6c2.7%2C2.7%2C6.2%2C4.1%2C9.8%2C4.1c3.5%2C0%2C7.1-1.3%2C9.8-4.1L256%2C313.1l130.7%2C131.1%20%20c2.7%2C2.7%2C6.2%2C4.1%2C9.8%2C4.1c3.5%2C0%2C7.1-1.3%2C9.8-4.1l37.4-37.6c2.6-2.6%2C4.1-6.1%2C4.1-9.8C447.7%2C393.2%2C446.2%2C389.7%2C443.6%2C387.1z%22%2F%3E%3C%2Fsvg%3E"};function l(e){var t,r,i=n.useRef(null);return r=e.outsideClick,n.useEffect(function(){function e(e){t.current&&!t.current.contains(e.target)&&r()}return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[t=i]),o.createElement("div",{ref:i},e.children)}var u=function(e){function t(t){var r;return(r=e.call(this,t)||this).state={inputValue:"",options:t.options,filteredOptions:t.options,unfilteredOptions:t.options,selectedValues:Object.assign([],t.selectedValues),preSelectedValues:Object.assign([],t.selectedValues),toggleOptionsList:!1,highlightOption:t.avoidHighlightFirstOption?-1:0,showCheckbox:t.showCheckbox,keepSearchTerm:t.keepSearchTerm,groupedObject:[],closeIconType:s[t.closeIcon]||s.circle},r.optionTimeout=null,r.searchWrapper=o.createRef(),r.searchBox=o.createRef(),r.onChange=r.onChange.bind(a(r)),r.onKeyPress=r.onKeyPress.bind(a(r)),r.onFocus=r.onFocus.bind(a(r)),r.onBlur=r.onBlur.bind(a(r)),r.renderMultiselectContainer=r.renderMultiselectContainer.bind(a(r)),r.renderSelectedList=r.renderSelectedList.bind(a(r)),r.onRemoveSelectedItem=r.onRemoveSelectedItem.bind(a(r)),r.toggelOptionList=r.toggelOptionList.bind(a(r)),r.onArrowKeyNavigation=r.onArrowKeyNavigation.bind(a(r)),r.onSelectItem=r.onSelectItem.bind(a(r)),r.filterOptionsByInput=r.filterOptionsByInput.bind(a(r)),r.removeSelectedValuesFromOptions=r.removeSelectedValuesFromOptions.bind(a(r)),r.isSelectedValue=r.isSelectedValue.bind(a(r)),r.fadeOutSelection=r.fadeOutSelection.bind(a(r)),r.isDisablePreSelectedValues=r.isDisablePreSelectedValues.bind(a(r)),r.renderGroupByOptions=r.renderGroupByOptions.bind(a(r)),r.renderNormalOption=r.renderNormalOption.bind(a(r)),r.listenerCallback=r.listenerCallback.bind(a(r)),r.resetSelectedValues=r.resetSelectedValues.bind(a(r)),r.getSelectedItems=r.getSelectedItems.bind(a(r)),r.getSelectedItemsCount=r.getSelectedItemsCount.bind(a(r)),r.hideOnClickOutside=r.hideOnClickOutside.bind(a(r)),r.onCloseOptionList=r.onCloseOptionList.bind(a(r)),r.isVisible=r.isVisible.bind(a(r)),r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e);var r=t.prototype;return r.initialSetValue=function(){var e=this.props,t=e.groupBy,r=this.state.options;e.showCheckbox||e.singleSelect||this.removeSelectedValuesFromOptions(!1),t&&this.groupByOptions(r)},r.resetSelectedValues=function(){var e=this,t=this.state.unfilteredOptions;return new Promise(function(r){e.setState({selectedValues:[],preSelectedValues:[],options:t,filteredOptions:t},function(){r(),e.initialSetValue()})})},r.getSelectedItems=function(){return this.state.selectedValues},r.getSelectedItemsCount=function(){return this.state.selectedValues.length},r.componentDidMount=function(){this.initialSetValue(),this.searchWrapper.current.addEventListener("click",this.listenerCallback)},r.componentDidUpdate=function(e){var t=this.props,r=t.options,n=t.selectedValues,o=e.selectedValues;JSON.stringify(e.options)!==JSON.stringify(r)&&this.setState({options:r,filteredOptions:r,unfilteredOptions:r},this.initialSetValue),JSON.stringify(o)!==JSON.stringify(n)&&this.setState({selectedValues:Object.assign([],n),preSelectedValues:Object.assign([],n)},this.initialSetValue)},r.listenerCallback=function(){this.searchBox.current.focus()},r.componentWillUnmount=function(){this.optionTimeout&&clearTimeout(this.optionTimeout),this.searchWrapper.current.removeEventListener("click",this.listenerCallback)},r.removeSelectedValuesFromOptions=function(e){var t=this.props,r=t.isObject,n=t.displayValue,o=t.groupBy,i=this.state,a=i.selectedValues,s=void 0===a?[]:a,l=i.unfilteredOptions;if(!e&&o&&this.groupByOptions(i.options),s.length||e){if(r){var u=l.filter(function(e){return -1===s.findIndex(function(t){return t[n]===e[n]})});return o&&this.groupByOptions(u),void this.setState({options:u,filteredOptions:u},this.filterOptionsByInput)}var c=l.filter(function(e){return -1===s.indexOf(e)});this.setState({options:c,filteredOptions:c},this.filterOptionsByInput)}},r.groupByOptions=function(e){var t=this.props.groupBy,r=e.reduce(function(e,r){var n=r[t]||"Others";return e[n]=e[n]||[],e[n].push(r),e},Object.create({}));this.setState({groupedObject:r})},r.onChange=function(e){var t=this.props.onSearch;this.setState({inputValue:e.target.value},this.filterOptionsByInput),t&&t(e.target.value)},r.onKeyPress=function(e){var t=this.props.onKeyPressFn;t&&t(e,e.target.value)},r.filterOptionsByInput=function(){var e,t=this,r=this.state,n=r.inputValue,o=this.props,i=o.displayValue;e=r.filteredOptions.filter(o.isObject?function(e){return t.matchValues(e[i],n)}:function(e){return t.matchValues(e,n)}),this.groupByOptions(e),this.setState({options:e})},r.matchValues=function(e,t){return this.props.caseSensitiveSearch?e.indexOf(t)>-1:e.toLowerCase?e.toLowerCase().indexOf(t.toLowerCase())>-1:e.toString().indexOf(t)>-1},r.onArrowKeyNavigation=function(e){var t=this.state,r=t.options,n=t.highlightOption,o=t.toggleOptionsList,i=t.selectedValues;if(8!==e.keyCode||t.inputValue||this.props.disablePreSelectedValues||!i.length||this.onRemoveSelectedItem(i.length-1),r.length){if(38===e.keyCode)this.setState(n>0?function(e){return{highlightOption:e.highlightOption-1}}:{highlightOption:r.length-1});else if(40===e.keyCode)this.setState(n0:n.filter(function(t){return t===e}).length>0},r.renderOptionList=function(){var e=this.props,t=e.groupBy,r=e.style,n=e.emptyRecordMsg,i=e.loadingMessage,a=void 0===i?"loading...":i,s=this.state.options;return e.loading?o.createElement("ul",{className:"optionContainer",style:r.optionContainer},"string"==typeof a&&o.createElement("span",{style:r.loadingMessage,className:"notFound"},a),"string"!=typeof a&&a):o.createElement("ul",{className:"optionContainer",style:r.optionContainer},0===s.length&&o.createElement("span",{style:r.notFound,className:"notFound"},n),t?this.renderGroupByOptions():this.renderNormalOption())},r.renderGroupByOptions=function(){var e=this,t=this.props,r=t.isObject,n=void 0!==r&&r,i=t.displayValue,a=t.showCheckbox,s=t.style,l=t.singleSelect,u=this.state.groupedObject;return Object.keys(u).map(function(t){return o.createElement(o.Fragment,{key:t},o.createElement("li",{className:"groupHeading",style:s.groupHeading},t),u[t].map(function(t,r){var u=e.isSelectedValue(t);return o.createElement("li",{key:"option"+r,style:s.option,className:"groupChildEle option "+(u?"selected":"")+" "+(e.fadeOutSelection(t)?"disableSelection":"")+" "+(e.isDisablePreSelectedValues(t)?"disableSelection":""),onClick:function(){return e.onSelectItem(t)}},a&&!l&&o.createElement("input",{type:"checkbox",className:"checkbox",readOnly:!0,checked:u}),e.props.optionValueDecorator(n?t[i]:(t||"").toString(),t))}))})},r.renderNormalOption=function(){var e=this,t=this.props,r=t.isObject,n=void 0!==r&&r,i=t.displayValue,a=t.showCheckbox,s=t.style,l=t.singleSelect,u=this.state.highlightOption;return this.state.options.map(function(t,r){var c=e.isSelectedValue(t);return o.createElement("li",{key:"option"+r,style:s.option,className:"option "+(c?"selected":"")+" "+(u===r?"highlightOption highlight":"")+" "+(e.fadeOutSelection(t)?"disableSelection":"")+" "+(e.isDisablePreSelectedValues(t)?"disableSelection":""),onClick:function(){return e.onSelectItem(t)}},a&&!l&&o.createElement("input",{type:"checkbox",readOnly:!0,className:"checkbox",checked:c}),e.props.optionValueDecorator(n?t[i]:(t||"").toString(),t))})},r.renderSelectedList=function(){var e=this,t=this.props,r=t.isObject,n=void 0!==r&&r,i=t.displayValue,a=t.style,s=t.singleSelect,l=t.customCloseIcon,u=this.state,c=u.closeIconType;return u.selectedValues.map(function(t,r){return o.createElement("span",{className:"chip "+(s&&"singleChip")+" "+(e.isDisablePreSelectedValues(t)&&"disableSelection"),key:r,style:a.chips},e.props.selectedValueDecorator(n?t[i]:(t||"").toString(),t),!e.isDisablePreSelectedValues(t)&&(l?o.createElement("i",{className:"custom-close",onClick:function(){return e.onRemoveSelectedItem(t)}},l):o.createElement("img",{className:"icon_cancel closeIcon",src:c,onClick:function(){return e.onRemoveSelectedItem(t)}})))})},r.isDisablePreSelectedValues=function(e){var t=this.props,r=t.displayValue,n=this.state.preSelectedValues;return!(!t.disablePreSelectedValues||!n.length)&&(t.isObject?n.filter(function(t){return t[r]===e[r]}).length>0:n.filter(function(t){return t===e}).length>0)},r.fadeOutSelection=function(e){var t=this.props,r=t.selectionLimit;if(!t.singleSelect){var n=this.state.selectedValues;return -1!=r&&r==n.length&&(r==n.length?!t.showCheckbox||!this.isSelectedValue(e):void 0)}},r.toggelOptionList=function(){this.setState({toggleOptionsList:!this.state.toggleOptionsList,highlightOption:this.props.avoidHighlightFirstOption?-1:0})},r.onCloseOptionList=function(){this.setState({toggleOptionsList:!1,highlightOption:this.props.avoidHighlightFirstOption?-1:0,inputValue:""})},r.onFocus=function(){this.state.toggleOptionsList?clearTimeout(this.optionTimeout):this.toggelOptionList()},r.onBlur=function(){this.setState({inputValue:""},this.filterOptionsByInput),this.optionTimeout=setTimeout(this.onCloseOptionList,250)},r.isVisible=function(e){return!!e&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},r.hideOnClickOutside=function(){var e=this,t=document.getElementsByClassName("multiselect-container")[0];document.addEventListener("click",function(r){t&&!t.contains(r.target)&&e.isVisible(t)&&e.toggelOptionList()})},r.renderMultiselectContainer=function(){var e=this.state,t=e.inputValue,r=e.toggleOptionsList,n=e.selectedValues,i=this.props,a=i.placeholder,s=i.style,l=i.singleSelect,u=i.id,c=i.name,d=i.hidePlaceholder,p=i.disable,f=i.showArrow,h=i.customArrow;return o.createElement("div",{className:"multiselect-container multiSelectContainer "+(p?"disable_ms":"")+" "+(i.className||""),id:u||"multiselectContainerReact",style:s.multiselectContainer},o.createElement("div",{className:"search-wrapper searchWrapper "+(l?"singleSelect":""),ref:this.searchWrapper,style:s.searchBox,onClick:l?this.toggelOptionList:function(){}},!i.hideSelectedList&&this.renderSelectedList(),o.createElement("input",{type:"text",ref:this.searchBox,className:"searchBox "+(l&&n.length?"display-none":""),id:(u||"search")+"_input",name:(c||"search_name")+"_input",onChange:this.onChange,onKeyPress:this.onKeyPress,value:t,onFocus:this.onFocus,onBlur:this.onBlur,placeholder:l&&n.length||d&&n.length?"":a,onKeyDown:this.onArrowKeyNavigation,style:s.inputField,autoComplete:"off",disabled:l||p}),(l||f)&&o.createElement(o.Fragment,null,h?o.createElement("span",{className:"icon_down_dir"},h):o.createElement("img",{src:"data:image/svg+xml,%3Csvg%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20width%3D%2232%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%20%20%3Cg%20id%3D%22background%22%3E%20%20%20%20%20%20%20%20%3Crect%20fill%3D%22none%22%20height%3D%2232%22%20width%3D%2232%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20id%3D%22arrow_x5F_down%22%3E%20%20%20%20%20%20%20%20%3Cpolygon%20points%3D%222.002%2C10%2016.001%2C24%2030.002%2C10%20%20%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",className:"icon_cancel icon_down_dir"}))),o.createElement("div",{className:"optionListContainer "+(r?"displayBlock":"displayNone"),onMouseDown:function(e){e.preventDefault()}},this.renderOptionList()))},r.render=function(){return o.createElement(l,{outsideClick:this.onCloseOptionList},this.renderMultiselectContainer())},t}(o.Component);u.defaultProps={options:[],disablePreSelectedValues:!1,selectedValues:[],isObject:!0,displayValue:"model",showCheckbox:!1,selectionLimit:-1,placeholder:"Select",groupBy:"",style:{},emptyRecordMsg:"No Options Available",onSelect:function(){},onRemove:function(){},onKeyPressFn:function(){},closeIcon:"circle2",singleSelect:!1,caseSensitiveSearch:!1,id:"",name:"",closeOnSelect:!0,avoidHighlightFirstOption:!1,hidePlaceholder:!1,showArrow:!1,keepSearchTerm:!1,customCloseIcon:"",className:"",customArrow:void 0,selectedValueDecorator:function(e){return e},optionValueDecorator:function(e){return e}},t.default=u},40645:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(67294),o=r(90512),i=r(94780),a=r(6709),s=r(14744),l=r(16945),u=r(44749),c=r(1588),d=r(27621);function p(e){return(0,d.ZP)("MuiBackdrop",e)}(0,c.Z)("MuiBackdrop",["root","invisible"]);var f=r(85893);let h=e=>{let{classes:t,invisible:r}=e;return(0,i.Z)({root:["root",r&&"invisible"]},p,t)},m=(0,a.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]});var g=n.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiBackdrop"}),{children:n,className:i,component:a="div",invisible:c=!1,open:d,components:p={},componentsProps:g={},slotProps:y={},slots:v={},TransitionComponent:b,transitionDuration:w,...E}=r,x={...r,component:a,invisible:c},S=h(x),C={slots:{transition:b,root:p.Root,...v},slotProps:{...g,...y}},[O,T]=(0,l.Z)("root",{elementType:m,externalForwardedProps:C,className:(0,o.Z)(S.root,i),ownerState:x}),[D,P]=(0,l.Z)("transition",{elementType:u.Z,externalForwardedProps:C,ownerState:x});return(0,f.jsx)(D,{in:d,timeout:w,...E,...P,children:(0,f.jsx)(O,{"aria-hidden":!0,...T,classes:S,ref:t,children:n})})})},20650:function(e,t,r){"use strict";r.d(t,{Z:function(){return M}});var n=r(67294),o=r(90512),i=r(94780);function a(e){try{return e.matches(":focus-visible")}catch(e){}return!1}var s=r(6709),l=r(14744),u=r(90538),c=r(59948).Z,d=r(49230);class p{static create(){return new p}static use(){let e=(0,d.Z)(p.create).current,[t,r]=n.useState(!1);return e.shouldMount=t,e.setShouldMount=r,n.useEffect(e.mountEffect,[t]),e}mount(){return this.mounted||(this.mounted=function(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(){for(var e=arguments.length,t=Array(e),r=0;r{var e;return null===(e=this.ref.current)||void 0===e?void 0:e.start(...t)})}stop(){for(var e=arguments.length,t=Array(e),r=0;r{var e;return null===(e=this.ref.current)||void 0===e?void 0:e.stop(...t)})}pulsate(){for(var e=arguments.length,t=Array(e),r=0;r{var e;return null===(e=this.ref.current)||void 0===e?void 0:e.pulsate(...t)})}constructor(){this.mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())},this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}}var f=r(37340),h=r(89747),m=r(10012),g=r(70917),y=r(85893),v=r(1588);let b=(0,v.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);function w(){let e=(0,f._)(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"]);return w=function(){return e},e}function E(){let e=(0,f._)(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"]);return E=function(){return e},e}function x(){let e=(0,f._)(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"]);return x=function(){return e},e}function S(){let e=(0,f._)(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]);return S=function(){return e},e}let C=(0,g.F4)(w()),O=(0,g.F4)(E()),T=(0,g.F4)(x()),D=(0,s.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),P=(0,s.ZP)(function(e){let{className:t,classes:r,pulsate:i=!1,rippleX:a,rippleY:s,rippleSize:l,in:u,onExited:c,timeout:d}=e,[p,f]=n.useState(!1),h=(0,o.Z)(t,r.ripple,r.rippleVisible,i&&r.ripplePulsate),m=(0,o.Z)(r.child,p&&r.childLeaving,i&&r.childPulsate);return u||p||f(!0),n.useEffect(()=>{if(!u&&null!=c){let e=setTimeout(c,d);return()=>{clearTimeout(e)}}},[c,u,d]),(0,y.jsx)("span",{className:h,style:{width:l,height:l,top:-(l/2)+s,left:-(l/2)+a},children:(0,y.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})(S(),b.rippleVisible,C,550,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},b.ripplePulsate,e=>{let{theme:t}=e;return t.transitions.duration.shorter},b.child,b.childLeaving,O,550,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},b.childPulsate,T,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),A=n.forwardRef(function(e,t){let{center:r=!1,classes:i={},className:a,...s}=(0,l.i)({props:e,name:"MuiTouchRipple"}),[u,c]=n.useState([]),d=n.useRef(0),p=n.useRef(null);n.useEffect(()=>{p.current&&(p.current(),p.current=null)},[u]);let f=n.useRef(!1),g=(0,m.Z)(),v=n.useRef(null),w=n.useRef(null),E=n.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:s}=e;c(e=>[...e,(0,y.jsx)(P,{classes:{ripple:(0,o.Z)(i.ripple,b.ripple),rippleVisible:(0,o.Z)(i.rippleVisible,b.rippleVisible),ripplePulsate:(0,o.Z)(i.ripplePulsate,b.ripplePulsate),child:(0,o.Z)(i.child,b.child),childLeaving:(0,o.Z)(i.childLeaving,b.childLeaving),childPulsate:(0,o.Z)(i.childPulsate,b.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},d.current)]),d.current+=1,p.current=s},[i]),x=n.useCallback(function(){let e,t,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},{pulsate:s=!1,center:l=r||i.pulsate,fakeElement:u=!1}=i;if((null==o?void 0:o.type)==="mousedown"&&f.current){f.current=!1;return}(null==o?void 0:o.type)==="touchstart"&&(f.current=!0);let c=u?null:w.current,d=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!l&&void 0!==o&&(0!==o.clientX||0!==o.clientY)&&(o.clientX||o.touches)){let{clientX:r,clientY:n}=o.touches&&o.touches.length>0?o.touches[0]:o;e=Math.round(r-d.left),t=Math.round(n-d.top)}else e=Math.round(d.width/2),t=Math.round(d.height/2);l?(n=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(n+=1):n=Math.sqrt((2*Math.max(Math.abs((c?c.clientWidth:0)-e),e)+2)**2+(2*Math.max(Math.abs((c?c.clientHeight:0)-t),t)+2)**2),(null==o?void 0:o.touches)?null===v.current&&(v.current=()=>{E({pulsate:s,rippleX:e,rippleY:t,rippleSize:n,cb:a})},g.start(80,()=>{v.current&&(v.current(),v.current=null)})):E({pulsate:s,rippleX:e,rippleY:t,rippleSize:n,cb:a})},[r,E,g]),S=n.useCallback(()=>{x({},{pulsate:!0})},[x]),C=n.useCallback((e,t)=>{if(g.clear(),(null==e?void 0:e.type)==="touchend"&&v.current){v.current(),v.current=null,g.start(0,()=>{C(e,t)});return}v.current=null,c(e=>e.length>0?e.slice(1):e),p.current=t},[g]);return n.useImperativeHandle(t,()=>({pulsate:S,start:x,stop:C}),[S,x,C]),(0,y.jsx)(D,{className:(0,o.Z)(b.root,i.root,a),ref:w,...s,children:(0,y.jsx)(h.Z,{component:null,exit:!0,children:u})})});var k=r(27621);function R(e){return(0,k.ZP)("MuiButtonBase",e)}let I=(0,v.Z)("MuiButtonBase",["root","disabled","focusVisible"]),_=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=(0,i.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},R,o);return r&&n&&(a.root+=" ".concat(n)),a},N=(0,s.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(I.disabled)]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function L(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return c(o=>(r&&r(o),n||e[t](o),!0))}var M=n.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:s=!1,children:d,className:f,component:h="button",disabled:m=!1,disableRipple:g=!1,disableTouchRipple:v=!1,focusRipple:b=!1,focusVisibleClassName:w,LinkComponent:E="a",onBlur:x,onClick:S,onContextMenu:C,onDragLeave:O,onFocus:T,onFocusVisible:D,onKeyDown:P,onKeyUp:k,onMouseDown:R,onMouseLeave:I,onMouseUp:M,onTouchEnd:j,onTouchMove:F,onTouchStart:B,tabIndex:Z=0,TouchRippleProps:V,touchRippleRef:q,type:U,...z}=r,$=n.useRef(null),H=p.use(),G=(0,u.Z)(H.ref,q),[W,K]=n.useState(!1);m&&W&&K(!1),n.useImperativeHandle(i,()=>({focusVisible:()=>{K(!0),$.current.focus()}}),[]);let Y=H.shouldMount&&!g&&!m;n.useEffect(()=>{W&&b&&!g&&H.pulsate()},[g,b,W,H]);let Q=L(H,"start",R,v),J=L(H,"stop",C,v),X=L(H,"stop",O,v),ee=L(H,"stop",M,v),et=L(H,"stop",e=>{W&&e.preventDefault(),I&&I(e)},v),er=L(H,"start",B,v),en=L(H,"stop",j,v),eo=L(H,"stop",F,v),ei=L(H,"stop",e=>{a(e.target)||K(!1),x&&x(e)},!1),ea=c(e=>{$.current||($.current=e.currentTarget),a(e.target)&&(K(!0),D&&D(e)),T&&T(e)}),es=()=>{let e=$.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},el=c(e=>{b&&!e.repeat&&W&&" "===e.key&&H.stop(e,()=>{H.start(e)}),e.target===e.currentTarget&&es()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&es()&&"Enter"===e.key&&!m&&(e.preventDefault(),S&&S(e))}),eu=c(e=>{b&&" "===e.key&&W&&!e.defaultPrevented&&H.stop(e,()=>{H.pulsate(e)}),k&&k(e),S&&e.target===e.currentTarget&&es()&&" "===e.key&&!e.defaultPrevented&&S(e)}),ec=h;"button"===ec&&(z.href||z.to)&&(ec=E);let ed={};"button"===ec?(ed.type=void 0===U?"button":U,ed.disabled=m):(z.href||z.to||(ed.role="button"),m&&(ed["aria-disabled"]=m));let ep=(0,u.Z)(t,$),ef={...r,centerRipple:s,component:h,disabled:m,disableRipple:g,disableTouchRipple:v,focusRipple:b,tabIndex:Z,focusVisible:W},eh=_(ef);return(0,y.jsxs)(N,{as:ec,className:(0,o.Z)(eh.root,f),ownerState:ef,onBlur:ei,onClick:S,onContextMenu:J,onFocus:ea,onKeyDown:el,onKeyUp:eu,onMouseDown:Q,onMouseLeave:et,onMouseUp:ee,onDragLeave:X,onTouchEnd:en,onTouchMove:eo,onTouchStart:er,ref:ep,tabIndex:m?-1:Z,type:U,...ed,...z,children:[d,Y?(0,y.jsx)(A,{ref:G,center:s,...V}):null]})})},14744:function(e,t,r){"use strict";r.d(t,{i:function(){return a}});var n=r(67294),o=r(35971);r(85893);let i=n.createContext(void 0);function a(e){return function(e){let{props:t,name:r}=e;return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let i=t.components[r];return i.defaultProps?(0,o.Z)(i.defaultProps,n):i.styleOverrides||i.variants?n:(0,o.Z)(i,n)}({props:t,name:r,theme:{components:n.useContext(i)}})}(e)}},44749:function(e,t,r){"use strict";var n=r(67294),o=r(98885),i=r(57907),a=r(74333),s=r(68356),l=r(90538),u=r(85893);let c={entering:{opacity:1},entered:{opacity:1}},d=n.forwardRef(function(e,t){let r=(0,a.Z)(),d={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:p,appear:f=!0,children:h,easing:m,in:g,onEnter:y,onEntered:v,onEntering:b,onExit:w,onExited:E,onExiting:x,style:S,timeout:C=d,TransitionComponent:O=o.ZP,...T}=e,D=n.useRef(null),P=(0,l.Z)(D,(0,i.Z)(h),t),A=e=>t=>{if(e){let r=D.current;void 0===t?e(r):e(r,t)}},k=A(b),R=A((e,t)=>{(0,s.n)(e);let n=(0,s.C)({style:S,timeout:C,easing:m},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),y&&y(e,t)}),I=A(v),_=A(x),N=A(e=>{let t=(0,s.C)({style:S,timeout:C,easing:m},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),w&&w(e)}),L=A(E);return(0,u.jsx)(O,{appear:f,in:g,nodeRef:D,onEnter:R,onEntered:I,onEntering:k,onExit:N,onExited:L,onExiting:_,addEndListener:e=>{p&&p(D.current,e)},timeout:C,...T,children:(e,t)=>{let{ownerState:r,...o}=t;return n.cloneElement(h,{style:{opacity:0,visibility:"exited"!==e||g?void 0:"hidden",...c[e],...S,...h.props.style},ref:P,...o})}})});t.Z=d},54357:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(67294),o=r(4953),i=r(94780),a=r(70270),s=r(29924),l=r(6709),u=r(2273),c=r(62657),d=r(14744),p=r(1588),f=r(27621);function h(e){return(0,f.ZP)("MuiFilledInput",e)}let m={...r(39161).Z,...(0,p.Z)("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])};var g=r(19189),y=r(85893);let v=e=>{let{classes:t,disableUnderline:r,startAdornment:n,endAdornment:o,size:a,hiddenLabel:s,multiline:l}=e,u={root:["root",!r&&"underline",n&&"adornedStart",o&&"adornedEnd","small"===a&&"size".concat((0,g.Z)(a)),s&&"hiddenLabel",l&&"multiline"],input:["input"]},c=(0,i.Z)(u,h,t);return{...t,...c}},b=(0,l.ZP)(a.Ej,{shouldForwardProp:e=>(0,s.Z)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...(0,a.Gx)(e,t),!r.disableUnderline&&t.underline]}})((0,u.Z)(e=>{let{theme:t}=e,r="light"===t.palette.mode,n=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n}},["&.".concat(m.focused)]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n},["&.".concat(m.disabled)]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"},variants:[{props:e=>{let{ownerState:t}=e;return!t.disableUnderline},style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},["&.".concat(m.focused,":after")]:{transform:"scaleX(1) translateX(0)"},["&.".concat(m.error)]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:"1px solid ".concat(t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / ").concat(t.vars.opacity.inputUnderline,")"):r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)"),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},["&:hover:not(.".concat(m.disabled,", .").concat(m.error,"):before")]:{borderBottom:"1px solid ".concat((t.vars||t).palette.text.primary)},["&.".concat(m.disabled,":before")]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter((0,c.Z)()).map(e=>{var r;let[n]=e;return{props:{disableUnderline:!1,color:n},style:{"&::after":{borderBottom:"2px solid ".concat(null===(r=(t.vars||t).palette[n])||void 0===r?void 0:r.main)}}}}),{props:e=>{let{ownerState:t}=e;return t.startAdornment},style:{paddingLeft:12}},{props:e=>{let{ownerState:t}=e;return t.endAdornment},style:{paddingRight:12}},{props:e=>{let{ownerState:t}=e;return t.multiline},style:{padding:"25px 12px 8px"}},{props:e=>{let{ownerState:t,size:r}=e;return t.multiline&&"small"===r},style:{paddingTop:21,paddingBottom:4}},{props:e=>{let{ownerState:t}=e;return t.multiline&&t.hiddenLabel},style:{paddingTop:16,paddingBottom:17}},{props:e=>{let{ownerState:t}=e;return t.multiline&&t.hiddenLabel&&"small"===t.size},style:{paddingTop:8,paddingBottom:9}}]}})),w=(0,l.ZP)(a.ni,{name:"MuiFilledInput",slot:"Input",overridesResolver:a._o})((0,u.Z)(e=>{let{theme:t}=e;return{paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:e=>{let{ownerState:t}=e;return t.hiddenLabel},style:{paddingTop:16,paddingBottom:17}},{props:e=>{let{ownerState:t}=e;return t.startAdornment},style:{paddingLeft:0}},{props:e=>{let{ownerState:t}=e;return t.endAdornment},style:{paddingRight:0}},{props:e=>{let{ownerState:t}=e;return t.hiddenLabel&&"small"===t.size},style:{paddingTop:8,paddingBottom:9}},{props:e=>{let{ownerState:t}=e;return t.multiline},style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}})),E=n.forwardRef(function(e,t){var r,n,i,s;let l=(0,d.i)({props:e,name:"MuiFilledInput"}),{disableUnderline:u=!1,components:c={},componentsProps:p,fullWidth:f=!1,hiddenLabel:h,inputComponent:m="input",multiline:g=!1,slotProps:E,slots:x={},type:S="text",...C}=l,O={...l,disableUnderline:u,fullWidth:f,inputComponent:m,multiline:g,type:S},T=v(l),D={root:{ownerState:O},input:{ownerState:O}},P=(null!=E?E:p)?(0,o.Z)(D,null!=E?E:p):D,A=null!==(n=null!==(r=x.root)&&void 0!==r?r:c.Root)&&void 0!==n?n:b,k=null!==(s=null!==(i=x.input)&&void 0!==i?i:c.Input)&&void 0!==s?s:w;return(0,y.jsx)(a.ZP,{slots:{root:A,input:k},slotProps:P,fullWidth:f,inputComponent:m,multiline:g,ref:t,type:S,...C,classes:T})});E.muiName="Input";var x=E},13355:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var n=r(67294),o=r(90512),i=r(94780),a=r(6709),s=r(14744),l=r(29895),u=r(19189),c=r(43866),d=r(31944),p=r(1588),f=r(27621);function h(e){return(0,f.ZP)("MuiFormControl",e)}(0,p.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var m=r(85893);let g=e=>{let{classes:t,margin:r,fullWidth:n}=e,o={root:["root","none"!==r&&"margin".concat((0,u.Z)(r)),n&&"fullWidth"]};return(0,i.Z)(o,h,t)},y=(0,a.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["margin".concat((0,u.Z)(r.margin))],r.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]});var v=n.forwardRef(function(e,t){let r;let i=(0,s.i)({props:e,name:"MuiFormControl"}),{children:a,className:u,color:p="primary",component:f="div",disabled:h=!1,error:v=!1,focused:b,fullWidth:w=!1,hiddenLabel:E=!1,margin:x="none",required:S=!1,size:C="medium",variant:O="outlined",...T}=i,D={...i,color:p,component:f,disabled:h,error:v,fullWidth:w,hiddenLabel:E,margin:x,required:S,size:C,variant:O},P=g(D),[A,k]=n.useState(()=>{let e=!1;return a&&n.Children.forEach(a,t=>{if(!(0,c.Z)(t,["Input","Select"]))return;let r=(0,c.Z)(t,["Select"])?t.props.input:t;r&&(0,l.B7)(r.props)&&(e=!0)}),e}),[R,I]=n.useState(()=>{let e=!1;return a&&n.Children.forEach(a,t=>{(0,c.Z)(t,["Input","Select"])&&((0,l.vd)(t.props,!0)||(0,l.vd)(t.props.inputProps,!0))&&(e=!0)}),e}),[_,N]=n.useState(!1);h&&_&&N(!1);let L=void 0===b||h?_:b;n.useRef(!1);let M=n.useCallback(()=>{I(!0)},[]),j=n.useCallback(()=>{I(!1)},[]),F=n.useMemo(()=>({adornedStart:A,setAdornedStart:k,color:p,disabled:h,error:v,filled:R,focused:L,fullWidth:w,hiddenLabel:E,size:C,onBlur:()=>{N(!1)},onFocus:()=>{N(!0)},onEmpty:j,onFilled:M,registerEffect:r,required:S,variant:O}),[A,p,h,v,R,L,w,E,r,j,M,S,C,O]);return(0,m.jsx)(d.Z.Provider,{value:F,children:(0,m.jsx)(y,{as:f,ownerState:D,className:(0,o.Z)(P.root,u),ref:t,...T,children:a})})})},31944:function(e,t,r){"use strict";let n=r(67294).createContext(void 0);t.Z=n},26453:function(e,t,r){"use strict";function n(e){let{props:t,states:r,muiFormControl:n}=e;return r.reduce((e,r)=>(e[r]=t[r],n&&void 0===t[r]&&(e[r]=n[r]),e),{})}r.d(t,{Z:function(){return n}})},35899:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67294),o=r(31944);function i(){return n.useContext(o.Z)}},40596:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(67294),o=r(90512),i=r(94780),a=r(35899),s=r(6709),l=r(2273),u=r(14744),c=r(14104),d=r(19189),p=r(1588),f=r(27621);function h(e){return(0,f.ZP)("MuiFormControlLabel",e)}let m=(0,p.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var g=r(26453),y=r(16945),v=r(85893);let b=e=>{let{classes:t,disabled:r,labelPlacement:n,error:o,required:a}=e,s={root:["root",r&&"disabled","labelPlacement".concat((0,d.Z)(n)),o&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,i.Z)(s,h,t)},w=(0,s.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{["& .".concat(m.label)]:t.label},t.root,t["labelPlacement".concat((0,d.Z)(r.labelPlacement))]]}})((0,l.Z)(e=>{let{theme:t}=e;return{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,["&.".concat(m.disabled)]:{cursor:"default"},["& .".concat(m.label)]:{["&.".concat(m.disabled)]:{color:(t.vars||t).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:e=>{let{labelPlacement:t}=e;return"start"===t||"top"===t||"bottom"===t},style:{marginLeft:16}}]}})),E=(0,s.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,l.Z)(e=>{let{theme:t}=e;return{["&.".concat(m.error)]:{color:(t.vars||t).palette.error.main}}}));var x=n.forwardRef(function(e,t){var r;let i=(0,u.i)({props:e,name:"MuiFormControlLabel"}),{checked:s,className:l,componentsProps:d={},control:p,disabled:f,disableTypography:h,inputRef:m,label:x,labelPlacement:S="end",name:C,onChange:O,required:T,slots:D={},slotProps:P={},value:A,...k}=i,R=(0,a.Z)(),I=null!==(r=null!=f?f:p.props.disabled)&&void 0!==r?r:null==R?void 0:R.disabled,_=null!=T?T:p.props.required,N={disabled:I,required:_};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===p.props[e]&&void 0!==i[e]&&(N[e]=i[e])});let L=(0,g.Z)({props:i,muiFormControl:R,states:["error"]}),M={...i,disabled:I,labelPlacement:S,required:_,error:L.error},j=b(M),F={slots:D,slotProps:{...d,...P}},[B,Z]=(0,y.Z)("typography",{elementType:c.Z,externalForwardedProps:F,ownerState:M}),V=x;return null==V||V.type===c.Z||h||(V=(0,v.jsx)(B,{component:"span",...Z,className:(0,o.Z)(j.label,null==Z?void 0:Z.className),children:V})),(0,v.jsxs)(w,{className:(0,o.Z)(j.root,l),ownerState:M,ref:t,...k,children:[n.cloneElement(p,N),_?(0,v.jsxs)("div",{children:[V,(0,v.jsxs)(E,{ownerState:M,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):V]})})},59177:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(67294),o=r(90512),i=r(94780),a=r(6709),s=r(14744),l=r(1588),u=r(27621);function c(e){return(0,u.ZP)("MuiFormGroup",e)}(0,l.Z)("MuiFormGroup",["root","row","error"]);var d=r(35899),p=r(26453),f=r(85893);let h=e=>{let{classes:t,row:r,error:n}=e;return(0,i.Z)({root:["root",r&&"row",n&&"error"]},c,t)},m=(0,a.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]});var g=n.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiFormGroup"}),{className:n,row:i=!1,...a}=r,l=(0,d.Z)(),u=(0,p.Z)({props:r,muiFormControl:l,states:["error"]}),c={...r,row:i,error:u.error},g=h(c);return(0,f.jsx)(m,{className:(0,o.Z)(g.root,n),ownerState:c,ref:t,...a})})},47032:function(e,t,r){"use strict";var n=r(67294),o=r(10012),i=r(57907),a=r(98885),s=r(74333),l=r(68356),u=r(90538),c=r(85893);function d(e){return"scale(".concat(e,", ").concat(e**2,")")}let p={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},f="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),h=n.forwardRef(function(e,t){let{addEndListener:r,appear:h=!0,children:m,easing:g,in:y,onEnter:v,onEntered:b,onEntering:w,onExit:E,onExited:x,onExiting:S,style:C,timeout:O="auto",TransitionComponent:T=a.ZP,...D}=e,P=(0,o.Z)(),A=n.useRef(),k=(0,s.Z)(),R=n.useRef(null),I=(0,u.Z)(R,(0,i.Z)(m),t),_=e=>t=>{if(e){let r=R.current;void 0===t?e(r):e(r,t)}},N=_(w),L=_((e,t)=>{let r;(0,l.n)(e);let{duration:n,delay:o,easing:i}=(0,l.C)({style:C,timeout:O,easing:g},{mode:"enter"});"auto"===O?(r=k.transitions.getAutoHeightDuration(e.clientHeight),A.current=r):r=n,e.style.transition=[k.transitions.create("opacity",{duration:r,delay:o}),k.transitions.create("transform",{duration:f?r:.666*r,delay:o,easing:i})].join(","),v&&v(e,t)}),M=_(b),j=_(S),F=_(e=>{let t;let{duration:r,delay:n,easing:o}=(0,l.C)({style:C,timeout:O,easing:g},{mode:"exit"});"auto"===O?(t=k.transitions.getAutoHeightDuration(e.clientHeight),A.current=t):t=r,e.style.transition=[k.transitions.create("opacity",{duration:t,delay:n}),k.transitions.create("transform",{duration:f?t:.666*t,delay:f?n:n||.333*t,easing:o})].join(","),e.style.opacity=0,e.style.transform=d(.75),E&&E(e)}),B=_(x);return(0,c.jsx)(T,{appear:h,in:y,nodeRef:R,onEnter:L,onEntered:M,onEntering:N,onExit:F,onExited:B,onExiting:j,addEndListener:e=>{"auto"===O&&P.start(A.current||0,e),r&&r(R.current,e)},timeout:"auto"===O?null:O,...D,children:(e,t)=>{let{ownerState:r,...o}=t;return n.cloneElement(m,{style:{opacity:0,transform:d(.75),visibility:"exited"!==e||y?void 0:"hidden",...p[e],...C,...m.props.style},ref:I,...o})}})});h&&(h.muiSupportAuto=!0),t.Z=h},50430:function(e,t,r){"use strict";r.d(t,{Z:function(){return E}});var n=r(67294),o=r(94780),i=r(4953),a=r(70270),s=r(29924),l=r(6709),u=r(2273),c=r(62657),d=r(14744),p=r(1588),f=r(27621);function h(e){return(0,f.ZP)("MuiInput",e)}let m={...r(39161).Z,...(0,p.Z)("MuiInput",["root","underline","input"])};var g=r(85893);let y=e=>{let{classes:t,disableUnderline:r}=e,n=(0,o.Z)({root:["root",!r&&"underline"],input:["input"]},h,t);return{...t,...n}},v=(0,l.ZP)(a.Ej,{shouldForwardProp:e=>(0,s.Z)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...(0,a.Gx)(e,t),!r.disableUnderline&&t.underline]}})((0,u.Z)(e=>{let{theme:t}=e,r="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(r="rgba(".concat(t.vars.palette.common.onBackgroundChannel," / ").concat(t.vars.opacity.inputUnderline,")")),{position:"relative",variants:[{props:e=>{let{ownerState:t}=e;return t.formControl},style:{"label + &":{marginTop:16}}},{props:e=>{let{ownerState:t}=e;return!t.disableUnderline},style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},["&.".concat(m.focused,":after")]:{transform:"scaleX(1) translateX(0)"},["&.".concat(m.error)]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:"1px solid ".concat(r),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},["&:hover:not(.".concat(m.disabled,", .").concat(m.error,"):before")]:{borderBottom:"2px solid ".concat((t.vars||t).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(r)}},["&.".concat(m.disabled,":before")]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter((0,c.Z)()).map(e=>{let[r]=e;return{props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:"2px solid ".concat((t.vars||t).palette[r].main)}}}})]}})),b=(0,l.ZP)(a.ni,{name:"MuiInput",slot:"Input",overridesResolver:a._o})({}),w=n.forwardRef(function(e,t){var r,n,o,s;let l=(0,d.i)({props:e,name:"MuiInput"}),{disableUnderline:u=!1,components:c={},componentsProps:p,fullWidth:f=!1,inputComponent:h="input",multiline:m=!1,slotProps:w,slots:E={},type:x="text",...S}=l,C=y(l),O={root:{ownerState:{disableUnderline:u}}},T=(null!=w?w:p)?(0,i.Z)(null!=w?w:p,O):O,D=null!==(n=null!==(r=E.root)&&void 0!==r?r:c.Root)&&void 0!==n?n:v,P=null!==(s=null!==(o=E.input)&&void 0!==o?o:c.Input)&&void 0!==s?s:b;return(0,g.jsx)(a.ZP,{slots:{root:D,input:P},slotProps:T,fullWidth:f,inputComponent:h,multiline:m,ref:t,type:x,...S,classes:C})});w.muiName="Input";var E=w},70270:function(e,t,r){"use strict";r.d(t,{ni:function(){return L},Ej:function(){return N},ZP:function(){return j},_o:function(){return I},Gx:function(){return R}});var n,o=r(56535),i=r(67294),a=r(90512),s=r(94780),l=r(33703),u=r(74161),c=r(59948),d=r(73546),p=r(39336),f=r(85893);function h(e){return parseInt(e,10)||0}let m={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function g(e){return function(e){for(let t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}let y=i.forwardRef(function(e,t){let{onChange:r,maxRows:n,minRows:o=1,style:a,value:s,...y}=e,{current:v}=i.useRef(null!=s),b=i.useRef(null),w=(0,l.Z)(t,b),E=i.useRef(null),x=i.useRef(null),S=i.useCallback(()=>{let t=b.current,r=x.current;if(!t||!r)return;let i=(0,u.Z)(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=i.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");let a=i.boxSizing,s=h(i.paddingBottom)+h(i.paddingTop),l=h(i.borderBottomWidth)+h(i.borderTopWidth),c=r.scrollHeight;r.value="x";let d=r.scrollHeight,p=c;return o&&(p=Math.max(Number(o)*d,p)),n&&(p=Math.min(Number(n)*d,p)),{outerHeightStyle:(p=Math.max(p,d))+("border-box"===a?s+l:0),overflowing:1>=Math.abs(p-c)}},[n,o,e.placeholder]),C=(0,c.Z)(()=>{let e=b.current,t=S();if(!e||!t||g(t))return!1;let r=t.outerHeightStyle;return null!=E.current&&E.current!==r}),O=i.useCallback(()=>{let e=b.current,t=S();if(!e||!t||g(t))return;let r=t.outerHeightStyle;E.current!==r&&(E.current=r,e.style.height="".concat(r,"px")),e.style.overflow=t.overflowing?"hidden":""},[S]),T=i.useRef(-1);return(0,d.Z)(()=>{let e;let t=(0,p.Z)(O),r=null==b?void 0:b.current;if(!r)return;let n=(0,u.Z)(r);return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(()=>{C()&&(e.unobserve(r),cancelAnimationFrame(T.current),O(),T.current=requestAnimationFrame(()=>{e.observe(r)}))})).observe(r),()=>{t.clear(),cancelAnimationFrame(T.current),n.removeEventListener("resize",t),e&&e.disconnect()}},[S,O,C]),(0,d.Z)(()=>{O()}),(0,f.jsxs)(i.Fragment,{children:[(0,f.jsx)("textarea",{value:s,onChange:e=>{v||O(),r&&r(e)},ref:w,rows:o,style:a,...y}),(0,f.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:x,tabIndex:-1,style:{...m,...a,paddingTop:0,paddingBottom:0}})]})});var v=r(64877),b=r(26453),w=r(31944),E=r(35899),x=r(6709),S=r(64009),C=r(2273),O=r(14744),T=r(19189),D=r(90538),P=r(19640),A=r(29895),k=r(39161);let R=(e,t)=>{let{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t["color".concat((0,T.Z)(r.color))],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},I=(e,t)=>{let{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},_=e=>{let{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:u,hiddenLabel:c,multiline:d,readOnly:p,size:f,startAdornment:h,type:m}=e,g={root:["root","color".concat((0,T.Z)(r)),n&&"disabled",o&&"error",u&&"fullWidth",a&&"focused",l&&"formControl",f&&"medium"!==f&&"size".concat((0,T.Z)(f)),d&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",n&&"disabled","search"===m&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return(0,s.Z)(g,k.u,t)},N=(0,x.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:R})((0,C.Z)(e=>{let{theme:t}=e;return{...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",["&.".concat(k.Z.disabled)]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:e=>{let{ownerState:t}=e;return t.multiline},style:{padding:"4px 0 5px"}},{props:e=>{let{ownerState:t,size:r}=e;return t.multiline&&"small"===r},style:{paddingTop:1}},{props:e=>{let{ownerState:t}=e;return t.fullWidth},style:{width:"100%"}}]}})),L=(0,x.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:I})((0,C.Z)(e=>{let{theme:t}=e,r="light"===t.palette.mode,n={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},o={opacity:"0 !important"},i=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},["label[data-shrink=false] + .".concat(k.Z.formControl," &")]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},["&.".concat(k.Z.disabled)]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:e=>{let{ownerState:t}=e;return!t.disableInjectingGlobalStyles},style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:e=>{let{ownerState:t}=e;return t.multiline},style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),M=(0,S.zY)({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}});var j=i.forwardRef(function(e,t){var r;let s=(0,O.i)({props:e,name:"MuiInputBase"}),{"aria-describedby":l,autoComplete:u,autoFocus:c,className:d,color:p,components:h={},componentsProps:m={},defaultValue:g,disabled:x,disableInjectingGlobalStyles:S,endAdornment:C,error:T,fullWidth:k=!1,id:R,inputComponent:I="input",inputProps:j={},inputRef:F,margin:B,maxRows:Z,minRows:V,multiline:q=!1,name:U,onBlur:z,onChange:$,onClick:H,onFocus:G,onKeyDown:W,onKeyUp:K,placeholder:Y,readOnly:Q,renderSuffix:J,rows:X,size:ee,slotProps:et={},slots:er={},startAdornment:en,type:eo="text",value:ei,...ea}=s,es=null!=j.value?j.value:ei,{current:el}=i.useRef(null!=es),eu=i.useRef(),ec=i.useCallback(e=>{},[]),ed=(0,D.Z)(eu,F,j.ref,ec),[ep,ef]=i.useState(!1),eh=(0,E.Z)(),em=(0,b.Z)({props:s,muiFormControl:eh,states:["color","disabled","error","hiddenLabel","size","required","filled"]});em.focused=eh?eh.focused:ep,i.useEffect(()=>{!eh&&x&&ep&&(ef(!1),z&&z())},[eh,x,ep,z]);let eg=eh&&eh.onFilled,ey=eh&&eh.onEmpty,ev=i.useCallback(e=>{(0,A.vd)(e)?eg&&eg():ey&&ey()},[eg,ey]);(0,P.Z)(()=>{el&&ev({value:es})},[es,ev,el]),i.useEffect(()=>{ev(eu.current)},[]);let eb=I,ew=j;q&&"input"===eb&&(ew=X?{type:void 0,minRows:X,maxRows:X,...ew}:{type:void 0,maxRows:Z,minRows:V,...ew},eb=y),i.useEffect(()=>{eh&&eh.setAdornedStart(!!en)},[eh,en]);let eE={...s,color:em.color||"primary",disabled:em.disabled,endAdornment:C,error:em.error,focused:em.focused,formControl:eh,fullWidth:k,hiddenLabel:em.hiddenLabel,multiline:q,size:em.size,startAdornment:en,type:eo},ex=_(eE),eS=er.root||h.Root||N,eC=et.root||m.root||{},eO=er.input||h.Input||L;return ew={...ew,...null!==(r=et.input)&&void 0!==r?r:m.input},(0,f.jsxs)(i.Fragment,{children:[!S&&"function"==typeof M&&(n||(n=(0,f.jsx)(M,{}))),(0,f.jsxs)(eS,{...eC,ref:t,onClick:e=>{eu.current&&e.currentTarget===e.target&&eu.current.focus(),H&&H(e)},...ea,...!(0,v.Z)(eS)&&{ownerState:{...eE,...eC.ownerState}},className:(0,a.Z)(ex.root,eC.className,d,Q&&"MuiInputBase-readOnly"),children:[en,(0,f.jsx)(w.Z.Provider,{value:null,children:(0,f.jsx)(eO,{"aria-invalid":em.error,"aria-describedby":l,autoComplete:u,autoFocus:c,defaultValue:g,disabled:em.disabled,id:R,onAnimationStart:e=>{ev("mui-auto-fill-cancel"===e.animationName?eu.current:{value:"x"})},name:U,placeholder:Y,readOnly:Q,required:em.required,rows:X,value:es,onKeyDown:W,onKeyUp:K,type:eo,...ew,...!(0,v.Z)(eO)&&{as:eb,ownerState:{...eE,...ew.ownerState}},ref:ed,className:(0,a.Z)(ex.input,ew.className,Q&&"MuiInputBase-readOnly"),onBlur:e=>{z&&z(e),j.onBlur&&j.onBlur(e),eh&&eh.onBlur?eh.onBlur(e):ef(!1)},onChange:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{G&&G(e),j.onFocus&&j.onFocus(e),eh&&eh.onFocus?eh.onFocus(e):ef(!0)}})}),C,J?J({...em,startAdornment:en}):null]})]})})},39161:function(e,t,r){"use strict";r.d(t,{u:function(){return i}});var n=r(1588),o=r(27621);function i(e){return(0,o.ZP)("MuiInputBase",e)}let a=(0,n.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);t.Z=a},29895:function(e,t,r){"use strict";function n(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function o(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(n(e.value)&&""!==e.value||t&&n(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}r.d(t,{B7:function(){return i},vd:function(){return o}})},31348:function(e,t,r){"use strict";r.d(t,{Z:function(){return T}});var n=r(67294),o=r(94780),i=r(90512),a=r(26453),s=r(35899),l=r(19189),u=r(6709),c=r(2273),d=r(62657),p=r(14744),f=r(1588),h=r(27621);function m(e){return(0,h.ZP)("MuiFormLabel",e)}let g=(0,f.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var y=r(85893);let v=e=>{let{classes:t,color:r,focused:n,disabled:i,error:a,filled:s,required:u}=e,c={root:["root","color".concat((0,l.Z)(r)),i&&"disabled",a&&"error",s&&"filled",n&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return(0,o.Z)(c,m,t)},b=(0,u.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"secondary"===r.color&&t.colorSecondary,r.filled&&t.filled]}})((0,c.Z)(e=>{let{theme:t}=e;return{color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter((0,d.Z)()).map(e=>{let[r]=e;return{props:{color:r},style:{["&.".concat(g.focused)]:{color:(t.vars||t).palette[r].main}}}}),{props:{},style:{["&.".concat(g.disabled)]:{color:(t.vars||t).palette.text.disabled},["&.".concat(g.error)]:{color:(t.vars||t).palette.error.main}}}]}})),w=(0,u.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,c.Z)(e=>{let{theme:t}=e;return{["&.".concat(g.error)]:{color:(t.vars||t).palette.error.main}}})),E=n.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiFormLabel"}),{children:n,className:o,color:l,component:u="label",disabled:c,error:d,filled:f,focused:h,required:m,...g}=r,E=(0,s.Z)(),x=(0,a.Z)({props:r,muiFormControl:E,states:["color","required","focused","disabled","error","filled"]}),S={...r,color:x.color||"primary",component:u,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},C=v(S);return(0,y.jsxs)(b,{as:u,ownerState:S,className:(0,i.Z)(C.root,o),ref:t,...g,children:[n,x.required&&(0,y.jsxs)(w,{ownerState:S,"aria-hidden":!0,className:C.asterisk,children:[" ","*"]})]})});var x=r(29924);function S(e){return(0,h.ZP)("MuiInputLabel",e)}(0,f.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);let C=e=>{let{classes:t,formControl:r,size:n,shrink:i,disableAnimation:a,variant:s,required:u}=e,c={root:["root",r&&"formControl",!a&&"animated",i&&"shrink",n&&"normal"!==n&&"size".concat((0,l.Z)(n)),s],asterisk:[u&&"asterisk"]},d=(0,o.Z)(c,S,t);return{...t,...d}},O=(0,u.ZP)(E,{shouldForwardProp:e=>(0,x.Z)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{["& .".concat(g.asterisk)]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})((0,c.Z)(e=>{let{theme:t}=e;return{display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:e=>{let{ownerState:t}=e;return t.formControl},style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:e=>{let{ownerState:t}=e;return t.shrink},style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:e=>{let{ownerState:t}=e;return!t.disableAnimation},style:{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:e=>{let{variant:t,ownerState:r}=e;return"filled"===t&&r.shrink},style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:e=>{let{variant:t,ownerState:r,size:n}=e;return"filled"===t&&r.shrink&&"small"===n},style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:e=>{let{variant:t,ownerState:r}=e;return"outlined"===t&&r.shrink},style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}}));var T=n.forwardRef(function(e,t){let r=(0,p.i)({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,margin:o,shrink:l,variant:u,className:c,...d}=r,f=(0,s.Z)(),h=l;void 0===h&&f&&(h=f.filled||f.focused||f.adornedStart);let m=(0,a.Z)({props:r,muiFormControl:f,states:["size","variant","required","focused"]}),g={...r,disableAnimation:n,formControl:f,shrink:h,size:m.size,variant:m.variant,required:m.required,focused:m.focused},v=C(g);return(0,y.jsx)(O,{"data-shrink":h,ref:t,className:(0,i.Z)(v.root,c),...d,ownerState:g,classes:v})})},27471:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var n=r(67294),o=r(90512),i=r(94780),a=r(6709),s=r(14744),l=r(25173),u=r(1588),c=r(27621);function d(e){return(0,c.ZP)("MuiList",e)}(0,u.Z)("MuiList",["root","padding","dense","subheader"]);var p=r(85893);let f=e=>{let{classes:t,disablePadding:r,dense:n,subheader:o}=e;return(0,i.Z)({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},d,t)},h=(0,a.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:e=>{let{ownerState:t}=e;return!t.disablePadding},style:{paddingTop:8,paddingBottom:8}},{props:e=>{let{ownerState:t}=e;return t.subheader},style:{paddingTop:0}}]});var m=n.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiList"}),{children:i,className:a,component:u="ul",dense:c=!1,disablePadding:d=!1,subheader:m,...g}=r,y=n.useMemo(()=>({dense:c}),[c]),v={...r,component:u,dense:c,disablePadding:d},b=f(v);return(0,p.jsx)(l.Z.Provider,{value:y,children:(0,p.jsxs)(h,{as:u,className:(0,o.Z)(b.root,a),ref:t,ownerState:v,...g,children:[m,i]})})})},25173:function(e,t,r){"use strict";let n=r(67294).createContext({});t.Z=n},71305:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(67294),o=r(90512),i=r(94780),a=r(3318),s=r(29924),l=r(6709),u=r(2273),c=r(14744),d=r(25173),p=r(20650),f=r(19640),h=r(90538),m=r(1588);let g=(0,m.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),y=(0,m.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),v=(0,m.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);var b=r(27621);function w(e){return(0,b.ZP)("MuiMenuItem",e)}let E=(0,m.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var x=r(85893);let S=e=>{let{disabled:t,dense:r,divider:n,disableGutters:o,selected:a,classes:s}=e,l=(0,i.Z)({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",a&&"selected"]},w,s);return{...s,...l}},C=(0,l.ZP)(p.Z,{shouldForwardProp:e=>(0,s.Z)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((0,u.Z)(e=>{let{theme:t}=e;return{...t.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(E.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,a.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(E.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,a.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(E.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,a.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,a.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(E.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(E.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["& + .".concat(g.root)]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},["& + .".concat(g.inset)]:{marginLeft:52},["& .".concat(v.root)]:{marginTop:0,marginBottom:0},["& .".concat(v.inset)]:{paddingLeft:36},["& .".concat(y.root)]:{minWidth:36},variants:[{props:e=>{let{ownerState:t}=e;return!t.disableGutters},style:{paddingLeft:16,paddingRight:16}},{props:e=>{let{ownerState:t}=e;return t.divider},style:{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"}},{props:e=>{let{ownerState:t}=e;return!t.dense},style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:e=>{let{ownerState:t}=e;return t.dense},style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,["& .".concat(y.root," svg")]:{fontSize:"1.25rem"}}}]}}));var O=n.forwardRef(function(e,t){let r;let i=(0,c.i)({props:e,name:"MuiMenuItem"}),{autoFocus:a=!1,component:s="li",dense:l=!1,divider:u=!1,disableGutters:p=!1,focusVisibleClassName:m,role:g="menuitem",tabIndex:y,className:v,...b}=i,w=n.useContext(d.Z),E=n.useMemo(()=>({dense:l||w.dense||!1,disableGutters:p}),[w.dense,l,p]),O=n.useRef(null);(0,f.Z)(()=>{a&&O.current&&O.current.focus()},[a]);let T={...i,dense:E.dense,divider:u,disableGutters:p},D=S(i),P=(0,h.Z)(O,t);return i.disabled||(r=void 0!==y?y:-1),(0,x.jsx)(d.Z.Provider,{value:E,children:(0,x.jsx)(C,{ref:P,role:g,tabIndex:r,component:s,focusVisibleClassName:(0,o.Z)(D.focusVisible,m),className:(0,o.Z)(D.root,v),...b,ownerState:T,classes:D})})})},21811:function(e,t,r){"use strict";r.d(t,{Z:function(){return L}});var n=r(67294),o=r(90512),i=r(94780),a=r(30387),s=r(16758),l=r(6709),u=r(2273),c=r(14744),d=r(40645),p=r(33703),f=r(82690),h=r(59948);function m(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}var g=r(99113),y=r(74161),v=r(29726);function b(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function w(e){return parseInt((0,y.Z)(e).getComputedStyle(e).paddingRight,10)||0}function E(e,t,r,n,o){let i=[t,r,...n];[].forEach.call(e.children,e=>{let t=!i.includes(e),r=!function(e){let t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&b(e,o)})}function x(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}class S{add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&b(e.modalRef,!1);let n=function(e){let t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);E(t,e.mount,e.modalRef,n,!0);let o=x(this.containers,e=>e.container===t);return -1!==o?this.containers[o].modals.push(e):this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r}mount(e,t){let r=x(this.containers,t=>t.modals.includes(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){let r=[],n=e.container;if(!t.disableScrollLock){let e;if(function(e){let t=(0,f.Z)(e);return t.body===e?(0,y.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){let e=(0,v.Z)((0,y.Z)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight="".concat(w(n)+e,"px");let t=(0,f.Z)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight="".concat(w(t)+e,"px")})}if(n.parentNode instanceof DocumentFragment)e=(0,f.Z)(n).body;else{let t=n.parentElement,r=(0,y.Z)(n);e=(null==t?void 0:t.nodeName)==="HTML"&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(e=>{let{value:t,el:r,property:n}=e;t?r.style.setProperty(n,t):r.style.removeProperty(n)})}}(n,t))}remove(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=this.modals.indexOf(e);if(-1===r)return r;let n=x(this.containers,t=>t.modals.includes(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&b(e.modalRef,t),E(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{let e=o.modals[o.modals.length-1];e.modalRef&&b(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}constructor(){this.modals=[],this.containers=[]}}let C=()=>{},O=new S;var T=function(e){let{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:d}=e,y=n.useRef({}),v=n.useRef(null),w=n.useRef(null),E=(0,p.Z)(w,d),[x,S]=n.useState(!c),T=!!l&&l.props.hasOwnProperty("in"),D=!0;("false"===e["aria-hidden"]||!1===e["aria-hidden"])&&(D=!1);let P=()=>(0,f.Z)(v.current),A=()=>(y.current.modalRef=w.current,y.current.mount=v.current,y.current),k=()=>{O.mount(A(),{disableScrollLock:o}),w.current&&(w.current.scrollTop=0)},R=(0,h.Z)(()=>{let e=("function"==typeof t?t():t)||P().body;O.add(A(),e),w.current&&k()}),I=()=>O.isTopModal(A()),_=(0,h.Z)(e=>{v.current=e,e&&(c&&I()?k():w.current&&b(w.current,D))}),N=n.useCallback(()=>{O.remove(A(),D)},[D]);n.useEffect(()=>()=>{N()},[N]),n.useEffect(()=>{c?R():T&&i||N()},[c,N,T,i,R]);let L=e=>t=>{var n;null===(n=e.onKeyDown)||void 0===n||n.call(e,t),"Escape"===t.key&&229!==t.which&&I()&&!r&&(t.stopPropagation(),u&&u(t,"escapeKeyDown"))},M=e=>t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,g.Z)(e);delete r.onTransitionEnter,delete r.onTransitionExited;let n={...r,...t};return{role:"presentation",...n,onKeyDown:L(n),ref:E}},getBackdropProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":!0,...e,onClick:M(e),open:c}},getTransitionProps:()=>{var e,t;return{onEnter:m(()=>{S(!1),a&&a()},null!==(e=null==l?void 0:l.props.onEnter)&&void 0!==e?e:C),onExited:m(()=>{S(!0),s&&s(),i&&N()},null!==(t=null==l?void 0:l.props.onExited)&&void 0!==t?t:C)}},rootRef:E,portalRef:_,isTopModal:I,exited:x,hasTransition:T}},D=r(1588),P=r(27621);function A(e){return(0,P.ZP)("MuiModal",e)}(0,D.Z)("MuiModal",["root","hidden","backdrop"]);var k=r(16945),R=r(85893);let I=e=>{let{open:t,exited:r,classes:n}=e;return(0,i.Z)({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},A,n)},_=(0,l.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((0,u.Z)(e=>{let{theme:t}=e;return{position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:e=>{let{ownerState:t}=e;return!t.open&&t.exited},style:{visibility:"hidden"}}]}})),N=(0,l.ZP)(d.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1});var L=n.forwardRef(function(e,t){let r=(0,c.i)({name:"MuiModal",props:e}),{BackdropComponent:i=N,BackdropProps:l,classes:u,className:d,closeAfterTransition:p=!1,children:f,container:h,component:m,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:w=!1,disablePortal:E=!1,disableRestoreFocus:x=!1,disableScrollLock:S=!1,hideBackdrop:C=!1,keepMounted:O=!1,onBackdropClick:D,onClose:P,onTransitionEnter:A,onTransitionExited:L,open:M,slotProps:j={},slots:F={},theme:B,...Z}=r,V={...r,closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:b,disableEscapeKeyDown:w,disablePortal:E,disableRestoreFocus:x,disableScrollLock:S,hideBackdrop:C,keepMounted:O},{getRootProps:q,getBackdropProps:U,getTransitionProps:z,portalRef:$,isTopModal:H,exited:G,hasTransition:W}=T({...V,rootRef:t}),K={...V,exited:G},Y=I(K),Q={};if(void 0===f.props.tabIndex&&(Q.tabIndex="-1"),W){let{onEnter:e,onExited:t}=z();Q.onEnter=e,Q.onExited=t}let J={slots:{root:g.Root,backdrop:g.Backdrop,...F},slotProps:{...y,...j}},[X,ee]=(0,k.Z)("root",{ref:t,elementType:_,externalForwardedProps:{...J,...Z,component:m},getSlotProps:q,ownerState:K,className:(0,o.Z)(d,null==Y?void 0:Y.root,!K.open&&K.exited&&(null==Y?void 0:Y.hidden))}),[et,er]=(0,k.Z)("backdrop",{ref:null==l?void 0:l.ref,elementType:i,externalForwardedProps:J,shouldForwardComponentProp:!0,additionalProps:l,getSlotProps:e=>U({...e,onClick:t=>{D&&D(t),(null==e?void 0:e.onClick)&&e.onClick(t)}}),className:(0,o.Z)(null==l?void 0:l.className,null==Y?void 0:Y.backdrop),ownerState:K});return O||M||W&&!G?(0,R.jsx)(s.Z,{ref:$,container:h,disablePortal:E,children:(0,R.jsxs)(X,{...ee,children:[!C&&i?(0,R.jsx)(et,{...er}):null,(0,R.jsx)(a.Z,{disableEnforceFocus:b,disableAutoFocus:v,disableRestoreFocus:x,isEnabled:H,open:M,children:n.cloneElement(f,Q)})]})}):null})},94860:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var n,o=r(67294),i=r(94780),a=r(29924),s=r(6709),l=r(2273),u=r(85893);let c=(0,s.ZP)("fieldset",{shouldForwardProp:a.Z})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),d=(0,s.ZP)("legend",{shouldForwardProp:a.Z})((0,l.Z)(e=>{let{theme:t}=e;return{float:"unset",width:"auto",overflow:"hidden",variants:[{props:e=>{let{ownerState:t}=e;return!t.withLabel},style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:e=>{let{ownerState:t}=e;return t.withLabel},style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:e=>{let{ownerState:t}=e;return t.withLabel&&t.notched},style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]}}));var p=r(35899),f=r(26453),h=r(62657),m=r(14744),g=r(1588),y=r(27621);function v(e){return(0,y.ZP)("MuiOutlinedInput",e)}let b={...r(39161).Z,...(0,g.Z)("MuiOutlinedInput",["root","notchedOutline","input"])};var w=r(70270),E=r(16945);let x=e=>{let{classes:t}=e,r=(0,i.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},v,t);return{...t,...r}},S=(0,s.ZP)(w.Ej,{shouldForwardProp:e=>(0,a.Z)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:w.Gx})((0,l.Z)(e=>{let{theme:t}=e,r="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(t.vars||t).shape.borderRadius,["&:hover .".concat(b.notchedOutline)]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{["&:hover .".concat(b.notchedOutline)]:{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):r}},["&.".concat(b.focused," .").concat(b.notchedOutline)]:{borderWidth:2},variants:[...Object.entries(t.palette).filter((0,h.Z)()).map(e=>{let[r]=e;return{props:{color:r},style:{["&.".concat(b.focused," .").concat(b.notchedOutline)]:{borderColor:(t.vars||t).palette[r].main}}}}),{props:{},style:{["&.".concat(b.error," .").concat(b.notchedOutline)]:{borderColor:(t.vars||t).palette.error.main},["&.".concat(b.disabled," .").concat(b.notchedOutline)]:{borderColor:(t.vars||t).palette.action.disabled}}},{props:e=>{let{ownerState:t}=e;return t.startAdornment},style:{paddingLeft:14}},{props:e=>{let{ownerState:t}=e;return t.endAdornment},style:{paddingRight:14}},{props:e=>{let{ownerState:t}=e;return t.multiline},style:{padding:"16.5px 14px"}},{props:e=>{let{ownerState:t,size:r}=e;return t.multiline&&"small"===r},style:{padding:"8.5px 14px"}}]}})),C=(0,s.ZP)(function(e){let{children:t,classes:r,className:o,label:i,notched:a,...s}=e,l=null!=i&&""!==i,p={...e,notched:a,withLabel:l};return(0,u.jsx)(c,{"aria-hidden":!0,className:o,ownerState:p,...s,children:(0,u.jsx)(d,{ownerState:p,children:l?(0,u.jsx)("span",{children:i}):n||(n=(0,u.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((0,l.Z)(e=>{let{theme:t}=e,r="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):r}})),O=(0,s.ZP)(w.ni,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:w._o})((0,l.Z)(e=>{let{theme:t}=e;return{padding:"16.5px 14px",...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:e=>{let{ownerState:t}=e;return t.multiline},style:{padding:0}},{props:e=>{let{ownerState:t}=e;return t.startAdornment},style:{paddingLeft:0}},{props:e=>{let{ownerState:t}=e;return t.endAdornment},style:{paddingRight:0}}]}})),T=o.forwardRef(function(e,t){var r,n,i,a;let s=(0,m.i)({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:c=!1,inputComponent:d="input",label:h,multiline:g=!1,notched:y,slots:v={},slotProps:b={},type:T="text",...D}=s,P=x(s),A=(0,p.Z)(),k=(0,f.Z)({props:s,muiFormControl:A,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),R={...s,color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:A,fullWidth:c,hiddenLabel:k.hiddenLabel,multiline:g,size:k.size,type:T},I=null!==(n=null!==(r=v.root)&&void 0!==r?r:l.Root)&&void 0!==n?n:S,_=null!==(a=null!==(i=v.input)&&void 0!==i?i:l.Input)&&void 0!==a?a:O,[N,L]=(0,E.Z)("notchedOutline",{elementType:C,className:P.notchedOutline,shouldForwardComponentProp:!0,ownerState:R,externalForwardedProps:{slots:v,slotProps:b},additionalProps:{label:null!=h&&""!==h&&k.required?(0,u.jsxs)(o.Fragment,{children:[h," ","*"]}):h}});return(0,u.jsx)(w.ZP,{slots:{root:I,input:_},slotProps:b,renderSuffix:e=>(0,u.jsx)(N,{...L,notched:void 0!==y?y:!!(e.startAdornment||e.filled||e.focused)}),fullWidth:c,inputComponent:d,multiline:g,ref:t,type:T,...D,classes:{...P,notchedOutline:null}})});T.muiName="Input";var D=T},41762:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var n=r(67294),o=r(90512),i=r(94780),a=r(3318),s=r(6709),l=r(74333),u=r(2273),c=r(14744),d=r(14123),p=r(1588),f=r(27621);function h(e){return(0,f.ZP)("MuiPaper",e)}(0,p.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var m=r(85893);let g=e=>{let{square:t,elevation:r,variant:n,classes:o}=e;return(0,i.Z)({root:["root",n,!t&&"rounded","elevation"===n&&"elevation".concat(r)]},h,o)},y=(0,s.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t["elevation".concat(r.elevation)]]}})((0,u.Z)(e=>{let{theme:t}=e;return{backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:e=>{let{ownerState:t}=e;return!t.square},style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:"1px solid ".concat((t.vars||t).palette.divider)}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}}));var v=n.forwardRef(function(e,t){var r;let n=(0,c.i)({props:e,name:"MuiPaper"}),i=(0,l.Z)(),{className:s,component:u="div",elevation:p=1,square:f=!1,variant:h="elevation",...v}=n,b={...n,component:u,elevation:p,square:f,variant:h},w=g(b);return(0,m.jsx)(y,{as:u,ownerState:b,className:(0,o.Z)(w.root,s),ref:t,...v,style:{..."elevation"===h&&{"--Paper-shadow":(i.vars||i).shadows[p],...i.vars&&{"--Paper-overlay":null===(r=i.vars.overlays)||void 0===r?void 0:r[p]},...!i.vars&&"dark"===i.palette.mode&&{"--Paper-overlay":"linear-gradient(".concat((0,a.Fq)("#fff",(0,d.Z)(p)),", ").concat((0,a.Fq)("#fff",(0,d.Z)(p)),")")}},...v.style}})})},16758:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(67294),o=r(73935),i=r(33703),a=r(57907),s=r(73546);function l(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var u=n.forwardRef(function(e,t){let{children:r,container:u,disablePortal:c=!1}=e,[d,p]=n.useState(null),f=(0,i.Z)(n.isValidElement(r)?(0,a.Z)(r):null,t);return((0,s.Z)(()=>{!c&&p(("function"==typeof u?u():u)||document.body)},[u,c]),(0,s.Z)(()=>{if(d&&!c)return l(t,d),()=>{l(t,null)}},[t,d,c]),c)?n.isValidElement(r)?n.cloneElement(r,{ref:f}):r:d?o.createPortal(r,d):d})},11805:function(e,t,r){"use strict";r.d(t,{Z:function(){return eR}});var n,o=r(67294),i=r(90512),a=r(4953),s=r(94780),l=r(57907),u=r(56535),c=r(92996),d=r(82690).Z,p=r(19189),f=r(11614),h=r(82963),m=r(27471),g=r(29726).Z,y=r(90538),v=r(19640),b=r(74161).Z,w=r(85893);function E(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function x(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function S(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),0!==(r=r.trim().toLowerCase()).length&&(t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join("")))}function C(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}let t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&S(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}let O=o.forwardRef(function(e,t){let{actions:r,autoFocus:n=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:p="selectedMenu",...f}=e,h=o.useRef(null),O=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,v.Z)(()=>{n&&h.current.focus()},[n]),o.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,t)=>{let{direction:r}=t,n=!h.current.style.width;if(e.clientHeight{if(!o.isValidElement(e)){D===t&&(D+=1)>=a.length&&(D=-1);return}e.props.disabled||("selectedMenu"===p&&e.props.selected?D=t:-1!==D||(D=t)),D===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(D+=1)>=a.length&&(D=-1)});let P=o.Children.map(a,(e,t)=>{if(t===D){let t={};return i&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===p&&(t.tabIndex=0),o.cloneElement(e,t)}return e});return(0,w.jsx)(m.Z,{role:"menu",ref:T,className:s,onKeyDown:e=>{let t=h.current,r=e.key;if(e.ctrlKey||e.metaKey||e.altKey){c&&c(e);return}let n=d(t).activeElement;if("ArrowDown"===r)e.preventDefault(),C(t,n,u,l,E);else if("ArrowUp"===r)e.preventDefault(),C(t,n,u,l,x);else if("Home"===r)e.preventDefault(),C(t,null,u,l,E);else if("End"===r)e.preventDefault(),C(t,null,u,l,x);else if(1===r.length){let o=O.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);let s=n&&!o.repeating&&S(n,o);o.previousKeyMatched&&(s||C(t,n,!1,l,E,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:n?0:-1,...f,children:P})});var T=r(64877),D=r(6709),P=r(14744),A=r(39336).Z,k=r(47032),R=r(21811),I=r(41762),_=r(1588),N=r(27621);function L(e){return(0,N.ZP)("MuiPopover",e)}(0,_.Z)("MuiPopover",["root","paper"]);var M=r(16945);function j(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function F(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function B(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?"".concat(e,"px"):e).join(" ")}function Z(e){return"function"==typeof e?e():e}let V=e=>{let{classes:t}=e;return(0,s.Z)({root:["root"],paper:["paper"]},L,t)},q=(0,D.ZP)(R.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),U=(0,D.ZP)(I.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),z=o.forwardRef(function(e,t){let r=(0,P.i)({props:e,name:"MuiPopover"}),{action:n,anchorEl:a,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:u="anchorEl",children:c,className:p,container:f,elevation:h=8,marginThreshold:m=16,open:g,PaperProps:y={},slots:v={},slotProps:E={},transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:S,transitionDuration:C="auto",TransitionProps:O={},disableScrollLock:D=!1,...R}=r,I=o.useRef(),_={...r,anchorOrigin:s,anchorReference:u,elevation:h,marginThreshold:m,transformOrigin:x,TransitionComponent:S,transitionDuration:C,TransitionProps:O},N=V(_),L=o.useCallback(()=>{if("anchorPosition"===u)return l;let e=Z(a),t=(e&&1===e.nodeType?e:d(I.current).body).getBoundingClientRect();return{top:t.top+j(t,s.vertical),left:t.left+F(t,s.horizontal)}},[a,s.horizontal,s.vertical,l,u]),z=o.useCallback(e=>({vertical:j(e,x.vertical),horizontal:F(e,x.horizontal)}),[x.horizontal,x.vertical]),$=o.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},r=z(t);if("none"===u)return{top:null,left:null,transformOrigin:B(r)};let n=L(),o=n.top-r.vertical,i=n.left-r.horizontal,s=o+t.height,l=i+t.width,c=b(Z(a)),d=c.innerHeight-m,p=c.innerWidth-m;if(null!==m&&od){let e=s-d;o-=e,r.vertical+=e}if(null!==m&&ip){let e=l-p;i-=e,r.horizontal+=e}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:B(r)}},[a,u,L,z,m]),[H,G]=o.useState(g),W=o.useCallback(()=>{let e=I.current;if(!e)return;let t=$(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,G(!0)},[$]);o.useEffect(()=>(D&&window.addEventListener("scroll",W),()=>window.removeEventListener("scroll",W)),[a,D,W]);let K=()=>{W()},Y=()=>{G(!1)};o.useEffect(()=>{g&&W()}),o.useImperativeHandle(n,()=>g?{updatePosition:()=>{W()}}:null,[g,W]),o.useEffect(()=>{if(!g)return;let e=A(()=>{W()}),t=b(Z(a));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[a,g,W]);let Q=C,J={slots:{transition:S,...v},slotProps:{transition:O,paper:y,...E}},[X,ee]=(0,M.Z)("transition",{elementType:k.Z,externalForwardedProps:J,ownerState:_,getSlotProps:e=>({...e,onEntering:(t,r)=>{var n;null===(n=e.onEntering)||void 0===n||n.call(e,t,r),K()},onExited:t=>{var r;null===(r=e.onExited)||void 0===r||r.call(e,t),Y()}}),additionalProps:{appear:!0,in:g}});"auto"!==C||X.muiSupportAuto||(Q=void 0);let et=f||(a?d(Z(a)).body:void 0),[er,{slots:en,slotProps:eo,...ei}]=(0,M.Z)("root",{ref:t,elementType:q,externalForwardedProps:{...J,...R},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:v.backdrop},slotProps:{backdrop:function(e,t){if(!e)return t;if("function"==typeof e||"function"==typeof t)return r=>{let n="function"==typeof t?t(r):t,o="function"==typeof e?e({...r,...n}):e,a=(0,i.Z)(null==r?void 0:r.className,null==n?void 0:n.className,null==o?void 0:o.className);return{...n,...o,...!!a&&{className:a},...(null==n?void 0:n.style)&&(null==o?void 0:o.style)&&{style:{...n.style,...o.style}},...(null==n?void 0:n.sx)&&(null==o?void 0:o.sx)&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(o.sx)?o.sx:[o.sx]]}}};let r=(0,i.Z)(null==t?void 0:t.className,null==e?void 0:e.className);return{...t,...e,...!!r&&{className:r},...(null==t?void 0:t.style)&&(null==e?void 0:e.style)&&{style:{...t.style,...e.style}},...(null==t?void 0:t.sx)&&(null==e?void 0:e.sx)&&{sx:[...Array.isArray(t.sx)?t.sx:[t.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}("function"==typeof E.backdrop?E.backdrop(_):E.backdrop,{invisible:!0})},container:et,open:g},ownerState:_,className:(0,i.Z)(N.root,p)}),[ea,es]=(0,M.Z)("paper",{ref:I,className:N.paper,elementType:U,externalForwardedProps:J,shouldForwardComponentProp:!0,additionalProps:{elevation:h,style:H?void 0:{opacity:0}},ownerState:_});return(0,w.jsx)(er,{...ei,...!(0,T.Z)(er)&&{slots:en,slotProps:eo,disableScrollLock:D},children:(0,w.jsx)(X,{...ee,timeout:Q,children:(0,w.jsx)(ea,{...es,children:c})})})});var $=r(29924);function H(e){return(0,N.ZP)("MuiMenu",e)}(0,_.Z)("MuiMenu",["root","paper","list"]);let G={vertical:"top",horizontal:"right"},W={vertical:"top",horizontal:"left"},K=e=>{let{classes:t}=e;return(0,s.Z)({root:["root"],paper:["paper"],list:["list"]},H,t)},Y=(0,D.ZP)(z,{shouldForwardProp:e=>(0,$.Z)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Q=(0,D.ZP)(U,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),J=(0,D.ZP)(O,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),X=o.forwardRef(function(e,t){let r=(0,P.i)({props:e,name:"MuiMenu"}),{autoFocus:n=!0,children:a,className:s,disableAutoFocusItem:l=!1,MenuListProps:u={},onClose:c,open:d,PaperProps:p={},PopoverClasses:m,transitionDuration:g="auto",TransitionProps:{onEntering:y,...v}={},variant:b="selectedMenu",slots:E={},slotProps:x={},...S}=r,C=(0,f.V)(),O={...r,autoFocus:n,disableAutoFocusItem:l,MenuListProps:u,onEntering:y,PaperProps:p,transitionDuration:g,TransitionProps:v,variant:b},T=K(O),D=n&&!l&&d,A=o.useRef(null),k=(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,{direction:C?"rtl":"ltr"}),y&&y(e,t)},R=e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},I=-1;o.Children.map(a,(e,t)=>{o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===b&&e.props.selected?I=t:-1!==I||(I=t)))});let _={slots:E,slotProps:{list:u,transition:v,paper:p,...x}},N=(0,h.Z)({elementType:E.root,externalSlotProps:x.root,ownerState:O,className:[T.root,s]}),[L,j]=(0,M.Z)("paper",{className:T.paper,elementType:Q,externalForwardedProps:_,shouldForwardComponentProp:!0,ownerState:O}),[F,B]=(0,M.Z)("list",{className:(0,i.Z)(T.list,u.className),elementType:J,shouldForwardComponentProp:!0,externalForwardedProps:_,getSlotProps:e=>({...e,onKeyDown:t=>{var r;R(t),null===(r=e.onKeyDown)||void 0===r||r.call(e,t)}}),ownerState:O}),Z="function"==typeof _.slotProps.transition?_.slotProps.transition(O):_.slotProps.transition;return(0,w.jsx)(Y,{onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?G:W,slots:{root:E.root,paper:L,backdrop:E.backdrop,...E.transition&&{transition:E.transition}},slotProps:{root:N,paper:j,backdrop:"function"==typeof x.backdrop?x.backdrop(O):x.backdrop,transition:{...Z,onEntering:function(){for(var e,t=arguments.length,r=Array(t),n=0;n{let{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e,l={select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon","icon".concat((0,p.Z)(r)),i&&"iconOpen",n&&"disabled"]};return(0,s.Z)(l,ee,t)},en=(0,D.ZP)("select")(e=>{let{theme:t}=e;return{MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},["&.".concat(et.disabled)]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:e=>{let{ownerState:t}=e;return"filled"!==t.variant&&"outlined"!==t.variant},style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}}]}}),eo=(0,D.ZP)(en,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:$.Z,overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{["&.".concat(et.multiple)]:t.multiple}]}})({}),ei=(0,D.ZP)("svg")(e=>{let{theme:t}=e;return{position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,["&.".concat(et.disabled)]:{color:(t.vars||t).palette.action.disabled},variants:[{props:e=>{let{ownerState:t}=e;return t.open},style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]}}),ea=(0,D.ZP)(ei,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t["icon".concat((0,p.Z)(r.variant))],r.open&&t.iconOpen]}})({}),es=o.forwardRef(function(e,t){let{className:r,disabled:n,error:a,IconComponent:s,inputRef:l,variant:u="standard",...c}=e,d={...e,disabled:n,variant:u,error:a},p=er(d);return(0,w.jsxs)(o.Fragment,{children:[(0,w.jsx)(eo,{ownerState:d,className:(0,i.Z)(p.select,r),disabled:n,ref:l||t,...c}),e.multiple?null:(0,w.jsx)(ea,{as:s,ownerState:d,className:p.icon})]})});var el=r(29895),eu=r(77959),ec=r(89620);function ed(e){return(0,N.ZP)("MuiSelect",e)}let ep=(0,_.Z)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),ef=(0,D.ZP)(en,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{["&.".concat(ep.select)]:t.select},{["&.".concat(ep.select)]:t[r.variant]},{["&.".concat(ep.error)]:t.error},{["&.".concat(ep.multiple)]:t.multiple}]}})({["&.".concat(ep.select)]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),eh=(0,D.ZP)(ei,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t["icon".concat((0,p.Z)(r.variant))],r.open&&t.iconOpen]}})({}),em=(0,D.ZP)("input",{shouldForwardProp:e=>(0,eu.Z)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function eg(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}let ey=e=>{let{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e,l={select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon","icon".concat((0,p.Z)(r)),i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return(0,s.Z)(l,ed,t)},ev=o.forwardRef(function(e,t){var r,a;let s,l,p;let{"aria-describedby":f,"aria-label":h,autoFocus:m,autoWidth:g,children:v,className:b,defaultOpen:E,defaultValue:x,disabled:S,displayEmpty:C,error:O=!1,IconComponent:T,inputRef:D,labelId:P,MenuProps:A={},multiple:k,name:R,onBlur:I,onChange:_,onClose:N,onFocus:L,onOpen:M,open:j,readOnly:F,renderValue:B,required:Z,SelectDisplayProps:V={},tabIndex:q,type:U,value:z,variant:$="standard",...H}=e,[G,W]=(0,ec.Z)({controlled:z,default:x,name:"Select"}),[K,Y]=(0,ec.Z)({controlled:j,default:E,name:"Select"}),Q=o.useRef(null),J=o.useRef(null),[ee,et]=o.useState(null),{current:er}=o.useRef(null!=j),[en,eo]=o.useState(),ei=(0,y.Z)(t,D),ea=o.useCallback(e=>{J.current=e,e&&et(e)},[]),es=null==ee?void 0:ee.parentNode;o.useImperativeHandle(ei,()=>({focus:()=>{J.current.focus()},node:Q.current,value:G}),[G]),o.useEffect(()=>{E&&K&&ee&&!er&&(eo(g?null:es.clientWidth),J.current.focus())},[ee,g]),o.useEffect(()=>{m&&J.current.focus()},[m]),o.useEffect(()=>{if(!P)return;let e=d(J.current).getElementById(P);if(e){let t=()=>{getSelection().isCollapsed&&J.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[P]);let eu=(e,t)=>{e?M&&M(t):N&&N(t),er||(eo(g?null:es.clientWidth),Y(e))},ed=o.Children.toArray(v),ep=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(k){r=Array.isArray(G)?G.slice():[];let t=G.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),G!==r&&(W(r),_)){let n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:R}}),_(o,e)}k||eu(!1,t)}},ev=null!==ee&&K;delete H["aria-invalid"];let eb=[],ew=!1;((0,el.vd)({value:G})||C)&&(B?s=B(G):ew=!0);let eE=ed.map(e=>{let t;if(!o.isValidElement(e))return null;if(k){if(!Array.isArray(G))throw Error((0,u.Z)(2));(t=G.some(t=>eg(t,e.props.value)))&&ew&&eb.push(e.props.children)}else(t=eg(G,e.props.value))&&ew&&(l=e.props.children);return o.cloneElement(e,{"aria-selected":t?"true":"false",onClick:ep(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});ew&&(s=k?0===eb.length?null:eb.reduce((e,t,r)=>(e.push(t),r{!F&&[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),eu(!0,e))},onMouseDown:S||F?null:e=>{0===e.button&&(e.preventDefault(),J.current.focus(),eu(!0,e))},onBlur:e=>{!ev&&I&&(Object.defineProperty(e,"target",{writable:!0,value:{value:G,name:R}}),I(e))},onFocus:L,...V,ownerState:eC,className:(0,i.Z)(V.className,eO.select,b),id:eS,children:null!=(a=s)&&("string"!=typeof a||a.trim())?s:n||(n=(0,w.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))}),(0,w.jsx)(em,{"aria-invalid":O,value:Array.isArray(G)?G.join(","):G,name:R,ref:Q,"aria-hidden":!0,onChange:e=>{let t=ed.find(t=>t.props.value===e.target.value);void 0!==t&&(W(t.props.value),_&&_(e,t))},tabIndex:-1,disabled:S,className:eO.nativeInput,autoFocus:m,required:Z,...H,ownerState:eC}),(0,w.jsx)(eh,{as:T,className:eO.icon,ownerState:eC}),(0,w.jsx)(X,{id:"menu-".concat(R||""),anchorEl:es,open:ev,onClose:e=>{eu(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...A,slotProps:{...A.slotProps,list:{"aria-labelledby":P,role:"listbox","aria-multiselectable":k?"true":void 0,disableListWrap:!0,id:eD,...A.MenuListProps},paper:{...eT,style:{minWidth:ex,...null!=eT?eT.style:null}}},children:eE})]})});var eb=r(26453),ew=r(35899),eE=(0,r(65041).Z)((0,w.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),ex=r(50430),eS=r(54357),eC=r(94860);let eO=e=>{let{classes:t}=e,r=(0,s.Z)({root:["root"]},ed,t);return{...t,...r}},eT={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,$.Z)(e)&&"variant"!==e,slot:"Root"},eD=(0,D.ZP)(ex.Z,eT)(""),eP=(0,D.ZP)(eC.Z,eT)(""),eA=(0,D.ZP)(eS.Z,eT)(""),ek=o.forwardRef(function(e,t){let r=(0,P.i)({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:s,classes:u={},className:c,defaultOpen:d=!1,displayEmpty:p=!1,IconComponent:f=eE,id:h,input:m,inputProps:g,label:v,labelId:b,MenuProps:E,multiple:x=!1,native:S=!1,onClose:C,onOpen:O,open:T,renderValue:D,SelectDisplayProps:A,variant:k="outlined",...R}=r,I=S?es:ev,_=(0,ew.Z)(),N=(0,eb.Z)({props:r,muiFormControl:_,states:["variant","error"]}),L=N.variant||k,M={...r,variant:L,classes:u},j=eO(M),{root:F,...B}=j,Z=m||({standard:(0,w.jsx)(eD,{ownerState:M}),outlined:(0,w.jsx)(eP,{label:v,ownerState:M}),filled:(0,w.jsx)(eA,{ownerState:M})})[L],V=(0,y.Z)(t,(0,l.Z)(Z));return(0,w.jsx)(o.Fragment,{children:o.cloneElement(Z,{inputComponent:I,inputProps:{children:s,error:N.error,IconComponent:f,variant:L,type:void 0,multiple:x,...S?{id:h}:{autoWidth:n,defaultOpen:d,displayEmpty:p,labelId:b,MenuProps:E,onClose:C,onOpen:O,open:T,renderValue:D,SelectDisplayProps:{id:h,...A}},...g,classes:g?(0,a.Z)(B,g.classes):B,...m?m.props.inputProps:{}},...(x&&S||p)&&"outlined"===L?{notched:!0}:{},ref:V,className:(0,i.Z)(Z.props.className,c,j.root),...!m&&{variant:L},...R})})});ek.muiName="Select";var eR=ek},332:function(e,t,r){"use strict";r.d(t,{Z:function(){return I}});var n=r(67294),o=r(90512),i=r(94780),a=r(3318),s=r(19189),l=r(62657),u=r(29924),c=r(6709),d=r(89620),p=r(35899),f=r(20650),h=r(1588),m=r(27621);function g(e){return(0,m.ZP)("PrivateSwitchBase",e)}(0,h.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var y=r(16945),v=r(85893);let b=e=>{let{classes:t,checked:r,disabled:n,edge:o}=e,a={root:["root",r&&"checked",n&&"disabled",o&&"edge".concat((0,s.Z)(o))],input:["input"]};return(0,i.Z)(a,g,t)},w=(0,c.ZP)(f.Z)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:e=>{let{edge:t,ownerState:r}=e;return"start"===t&&"small"!==r.size},style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:e=>{let{edge:t,ownerState:r}=e;return"end"===t&&"small"!==r.size},style:{marginRight:-12}}]}),E=(0,c.ZP)("input",{shouldForwardProp:u.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),x=n.forwardRef(function(e,t){let{autoFocus:r,checked:n,checkedIcon:o,defaultChecked:i,disabled:a,disableFocusRipple:s=!1,edge:l=!1,icon:u,id:c,inputProps:f,inputRef:h,name:m,onBlur:g,onChange:x,onFocus:S,readOnly:C,required:O=!1,tabIndex:T,type:D,value:P,slots:A={},slotProps:k={},...R}=e,[I,_]=(0,d.Z)({controlled:n,default:!!i,name:"SwitchBase",state:"checked"}),N=(0,p.Z)(),L=e=>{S&&S(e),N&&N.onFocus&&N.onFocus(e)},M=e=>{g&&g(e),N&&N.onBlur&&N.onBlur(e)},j=e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;_(t),x&&x(e,t)},F=a;N&&void 0===F&&(F=N.disabled);let B="checkbox"===D||"radio"===D,Z={...e,checked:I,disabled:F,disableFocusRipple:s,edge:l},V=b(Z),q={slots:A,slotProps:{input:f,...k}},[U,z]=(0,y.Z)("root",{ref:t,elementType:w,className:V.root,shouldForwardComponentProp:!0,externalForwardedProps:{...q,component:"span",...R},getSlotProps:e=>({...e,onFocus:t=>{var r;null===(r=e.onFocus)||void 0===r||r.call(e,t),L(t)},onBlur:t=>{var r;null===(r=e.onBlur)||void 0===r||r.call(e,t),M(t)}}),ownerState:Z,additionalProps:{centerRipple:!0,focusRipple:!s,disabled:F,role:void 0,tabIndex:null}}),[$,H]=(0,y.Z)("input",{ref:h,elementType:E,className:V.input,externalForwardedProps:q,getSlotProps:e=>({onChange:t=>{var r;null===(r=e.onChange)||void 0===r||r.call(e,t),j(t)}}),ownerState:Z,additionalProps:{autoFocus:r,checked:n,defaultChecked:i,disabled:F,id:B?c:void 0,name:m,readOnly:C,required:O,tabIndex:T,type:D,..."checkbox"===D&&void 0===P?{}:{value:P}}});return(0,v.jsxs)(U,{...z,children:[(0,v.jsx)($,{...H}),I?o:u]})});var S=r(2273),C=r(14744);function O(e){return(0,m.ZP)("MuiSwitch",e)}let T=(0,h.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),D=e=>{let{classes:t,edge:r,size:n,color:o,checked:a,disabled:l}=e,u={root:["root",r&&"edge".concat((0,s.Z)(r)),"size".concat((0,s.Z)(n))],switchBase:["switchBase","color".concat((0,s.Z)(o)),a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=(0,i.Z)(u,O,t);return{...t,...c}},P=(0,c.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t["edge".concat((0,s.Z)(r.edge))],t["size".concat((0,s.Z)(r.size))]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,["& .".concat(T.thumb)]:{width:16,height:16},["& .".concat(T.switchBase)]:{padding:4,["&.".concat(T.checked)]:{transform:"translateX(16px)"}}}}]}),A=(0,c.ZP)(x,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.switchBase,{["& .".concat(T.input)]:t.input},"default"!==r.color&&t["color".concat((0,s.Z)(r.color))]]}})((0,S.Z)(e=>{let{theme:t}=e;return{position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:"".concat("light"===t.palette.mode?t.palette.common.white:t.palette.grey[300]),transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),["&.".concat(T.checked)]:{transform:"translateX(20px)"},["&.".concat(T.disabled)]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:"".concat("light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600])},["&.".concat(T.checked," + .").concat(T.track)]:{opacity:.5},["&.".concat(T.disabled," + .").concat(T.track)]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:"".concat("light"===t.palette.mode?.12:.2)},["& .".concat(T.input)]:{left:"-100%",width:"300%"}}}),(0,S.Z)(e=>{let{theme:t}=e;return{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,a.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter((0,l.Z)(["light"])).map(e=>{let[r]=e;return{props:{color:r},style:{["&.".concat(T.checked)]:{color:(t.vars||t).palette[r].main,"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,a.Fq)(t.palette[r].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(T.disabled)]:{color:t.vars?t.vars.palette.Switch["".concat(r,"DisabledColor")]:"".concat("light"===t.palette.mode?(0,a.$n)(t.palette[r].main,.62):(0,a._j)(t.palette[r].main,.55))}},["&.".concat(T.checked," + .").concat(T.track)]:{backgroundColor:(t.vars||t).palette[r].main}}}})]}})),k=(0,c.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,S.Z)(e=>{let{theme:t}=e;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:"".concat("light"===t.palette.mode?t.palette.common.black:t.palette.common.white),opacity:t.vars?t.vars.opacity.switchTrack:"".concat("light"===t.palette.mode?.38:.3)}})),R=(0,c.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,S.Z)(e=>{let{theme:t}=e;return{boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}}));var I=n.forwardRef(function(e,t){let r=(0,C.i)({props:e,name:"MuiSwitch"}),{className:n,color:i="primary",edge:a=!1,size:s="medium",sx:l,slots:u={},slotProps:c={},...d}=r,p={...r,color:i,edge:a,size:s},f=D(p),h={slots:u,slotProps:c},[m,g]=(0,y.Z)("root",{className:(0,o.Z)(f.root,n),elementType:P,externalForwardedProps:h,ownerState:p,additionalProps:{sx:l}}),[b,w]=(0,y.Z)("thumb",{className:f.thumb,elementType:R,externalForwardedProps:h,ownerState:p}),E=(0,v.jsx)(b,{...w}),[x,S]=(0,y.Z)("track",{className:f.track,elementType:k,externalForwardedProps:h,ownerState:p});return(0,v.jsxs)(m,{...g,children:[(0,v.jsx)(A,{type:"checkbox",icon:E,checkedIcon:E,ref:t,ownerState:p,...d,classes:{...f,root:f.switchBase},slots:{...u.switchBase&&{root:u.switchBase},...u.input&&{input:u.input}},slotProps:{...c.switchBase&&{root:"function"==typeof c.switchBase?c.switchBase(p):c.switchBase},...c.input&&{input:"function"==typeof c.input?c.input(p):c.input}}}),(0,v.jsx)(x,{...S})]})})},14104:function(e,t,r){"use strict";r.d(t,{Z:function(){return E}});var n=r(67294),o=r(90512),i=r(94780),a=r(64009),s=r(6709),l=r(2273),u=r(14744),c=r(19189),d=r(62657),p=r(1588),f=r(27621);function h(e){return(0,f.ZP)("MuiTypography",e)}(0,p.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var m=r(85893);let g={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},y=(0,a.u7)(),v=e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:a,classes:s}=e,l={root:["root",a,"inherit"!==e.align&&"align".concat((0,c.Z)(t)),r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,i.Z)(l,h,s)},b=(0,s.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t["align".concat((0,c.Z)(r.align))],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((0,l.Z)(e=>{var t;let{theme:r}=e;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(r.typography).filter(e=>{let[t,r]=e;return"inherit"!==t&&r&&"object"==typeof r}).map(e=>{let[t,r]=e;return{props:{variant:t},style:r}}),...Object.entries(r.palette).filter((0,d.Z)()).map(e=>{let[t]=e;return{props:{color:t},style:{color:(r.vars||r).palette[t].main}}}),...Object.entries((null===(t=r.palette)||void 0===t?void 0:t.text)||{}).filter(e=>{let[,t]=e;return"string"==typeof t}).map(e=>{let[t]=e;return{props:{color:"text".concat((0,c.Z)(t))},style:{color:(r.vars||r).palette.text[t]}}}),{props:e=>{let{ownerState:t}=e;return"inherit"!==t.align},style:{textAlign:"var(--Typography-textAlign)"}},{props:e=>{let{ownerState:t}=e;return t.noWrap},style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:e=>{let{ownerState:t}=e;return t.gutterBottom},style:{marginBottom:"0.35em"}},{props:e=>{let{ownerState:t}=e;return t.paragraph},style:{marginBottom:16}}]}})),w={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"};var E=n.forwardRef(function(e,t){let{color:r,...n}=(0,u.i)({props:e,name:"MuiTypography"}),i=!g[r],a=y({...n,...i&&{color:r}}),{align:s="inherit",className:l,component:c,gutterBottom:d=!1,noWrap:p=!1,paragraph:f=!1,variant:h="body1",variantMapping:E=w,...x}=a,S={...a,align:s,color:r,className:l,component:c,gutterBottom:d,noWrap:p,paragraph:f,variant:h,variantMapping:E},C=c||(f?"p":E[h]||w[h])||"span",O=v(S);return(0,m.jsx)(b,{as:C,ref:t,className:(0,o.Z)(O.root,l),...x,ownerState:S,style:{..."inherit"!==s&&{"--Typography-textAlign":s},...x.style}})})},30387:function(e,t,r){"use strict";var n=r(67294),o=r(33703),i=r(57907),a=r(82690),s=r(85893);function l(e){let t=[],r=[];return Array.from(e.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((e,n)=>{let o=function(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1===o||e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!1;let t=t=>e.ownerDocument.querySelector('input[type="radio"]'.concat(t)),r=t('[name="'.concat(e.name,'"]:checked'));return r||(r=t('[name="'.concat(e.name,'"]'))),r!==e}(e)||(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function u(){return!0}t.Z=function(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:c=!1,disableRestoreFocus:d=!1,getTabbable:p=l,isEnabled:f=u,open:h}=e,m=n.useRef(!1),g=n.useRef(null),y=n.useRef(null),v=n.useRef(null),b=n.useRef(null),w=n.useRef(!1),E=n.useRef(null),x=(0,o.Z)((0,i.Z)(t),E),S=n.useRef(null);n.useEffect(()=>{h&&E.current&&(w.current=!r)},[r,h]),n.useEffect(()=>{if(!h||!E.current)return;let e=(0,a.Z)(E.current);return!E.current.contains(e.activeElement)&&(E.current.hasAttribute("tabIndex")||E.current.setAttribute("tabIndex","-1"),w.current&&E.current.focus()),()=>{d||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}},[h]),n.useEffect(()=>{if(!h||!E.current)return;let e=(0,a.Z)(E.current),t=t=>{S.current=t,!c&&f()&&"Tab"===t.key&&e.activeElement===E.current&&t.shiftKey&&(m.current=!0,y.current&&y.current.focus())},r=()=>{let t=E.current;if(null===t)return;if(!e.hasFocus()||!f()||m.current){m.current=!1;return}if(t.contains(e.activeElement)||c&&e.activeElement!==g.current&&e.activeElement!==y.current)return;if(e.activeElement!==b.current)b.current=null;else if(null!==b.current)return;if(!w.current)return;let r=[];if((e.activeElement===g.current||e.activeElement===y.current)&&(r=p(E.current)),r.length>0){var n,o;let e=!!((null===(n=S.current)||void 0===n?void 0:n.shiftKey)&&(null===(o=S.current)||void 0===o?void 0:o.key)==="Tab"),t=r[0],i=r[r.length-1];"string"!=typeof t&&"string"!=typeof i&&(e?i.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);let n=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()},50);return()=>{clearInterval(n),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[r,c,d,f,h,p]);let C=e=>{null===v.current&&(v.current=e.relatedTarget),w.current=!0};return(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)("div",{tabIndex:h?0:-1,onFocus:C,ref:g,"data-testid":"sentinelStart"}),n.cloneElement(t,{ref:x,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),w.current=!0,b.current=e.target;let r=t.props.onFocus;r&&r(e)}}),(0,s.jsx)("div",{tabIndex:h?0:-1,onFocus:C,ref:y,"data-testid":"sentinelEnd"})]})}},73212:function(e,t,r){"use strict";r.d(t,{ZP:function(){return y},nf:function(){return v},bu:function(){return w}});var n=r(87462),o=r(87685),i=r(85662),a=r(27278),s=r(70444),l=r(67294),u=r(45042),c=/^((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)-.*))$/,d=(0,u.Z)(function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),p=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:p},h=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},m=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,s.hC)(t,r,n),(0,a.L)(function(){return(0,s.My)(t,r,n)}),null},g=(function e(t,r){var a,u,c=t.__emotion_real===t,d=c&&t.__emotion_base||t;void 0!==r&&(a=r.label,u=r.target);var p=h(t,r,c),g=p||f(d),y=!g("as");return function(){var v=arguments,b=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&b.push("label:"+a+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{var w=v[0];b.push(w[0]);for(var E=v.length,x=1;x{let e=n.useContext(o);return null!=e&&e}},99746:function(e,t,r){"use strict";r.d(t,{L7:function(){return u},VO:function(){return o},W8:function(){return l},k9:function(){return s}});var n=r(11088);let o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>"@media (min-width:".concat(o[e],"px)")},a={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:o[t]||t;return"number"==typeof r&&(r="".concat(r,"px")),e?"@container ".concat(e," (min-width:").concat(r,")"):"@container (min-width:".concat(r,")")}})};function s(e,t,r){let s=e.theme||{};if(Array.isArray(t)){let e=s.breakpoints||i;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=s.breakpoints||i;return Object.keys(t).reduce((i,l)=>{if((0,n.WX)(e.keys,l)){let e=(0,n.ue)(s.containerQueries?s:a,l);e&&(i[e]=r(t[l],l))}else Object.keys(e.values||o).includes(l)?i[e.up(l)]=r(t[l],l):i[l]=t[l];return i},{})}return r(t)}function l(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null===(e=t.keys)||void 0===e?void 0:e.reduce((e,r)=>(e[t.up(r)]={},e),{}))||{}}function u(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}},3318:function(e,t,r){"use strict";r.d(t,{Fq:function(){return p},_j:function(){return h},mi:function(){return d},ve:function(){return u},$n:function(){return g},zp:function(){return f},LR:function(){return s},q8:function(){return m},fk:function(){return v},ux:function(){return y}});var n=r(56535);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function i(e){let t;if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);let t=RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", "),")"):""}(e));let r=e.indexOf("("),o=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw Error((0,n.Z)(9,e));let a=e.substring(r+1,e.length-1);if("color"===o){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(t))throw Error((0,n.Z)(10,t))}else a=a.split(",");return{type:o,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}let a=e=>{let t=i(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?"".concat(e,"%"):e).join(" ")},s=(e,t)=>{try{return a(e)}catch(t){return e}};function l(e){let{type:t,colorSpace:r}=e,{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),n=t.includes("color")?"".concat(r," ").concat(n.join(" ")):"".concat(n.join(", ")),"".concat(t,"(").concat(n,")")}function u(e){let{values:t}=e=i(e),r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-a*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}function c(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(u(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function d(e,t){let r=c(e),n=c(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function p(e,t){return e=i(e),t=o(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,l(e)}function f(e,t,r){try{return p(e,t)}catch(t){return e}}function h(e,t){if(e=i(e),t=o(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function m(e,t,r){try{return h(e,t)}catch(t){return e}}function g(e,t){if(e=i(e),t=o(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}function y(e,t,r){try{return g(e,t)}catch(t){return e}}function v(e,t,r){try{return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return c(e)>.5?h(e,t):g(e,t)}(e,t)}catch(t){return e}}},65508:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(61247);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,n.hB)({spacing:e});if(e.mui)return e;let r=function(){for(var e=arguments.length,r=Array(e),n=0;n{let r=t(e);return"number"==typeof r?"".concat(r,"px"):r}).join(" ")};return r.mui=!0,r}},18134:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(4953);let o=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};var i=r(11088),a={borderRadius:4},s=r(65508),l=r(73543),u=r(37859);function c(e,t){if(this.vars){var r;if(!(null===(r=this.colorSchemes)||void 0===r?void 0:r[e])||"function"!=typeof this.getColorSchemeSelector)return{};let n=this.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n="*:where(".concat(n.replace(/\s*&$/,""),") &")),{[n]:t})}return this.palette.mode===e?t:{}}var d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t=arguments.length,r=Array(t>1?t-1:0),d=1;d(0,n.Z)(e,t),b)).unstable_sxConfig={...u.Z,...null==g?void 0:g.unstable_sxConfig},b.unstable_sx=function(e){return(0,l.Z)({sx:e,theme:this})},b}},11088:function(e,t,r){"use strict";function n(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{var r,n;let o=/min-width:\s*([0-9.]+)/;return+((null===(r=e.match(o))||void 0===r?void 0:r[1])||0)-+((null===(n=t.match(o))||void 0===n?void 0:n[1])||0)});return r.length?r.reduce((e,r)=>{let n=t[r];return delete e[r],e[r]=n,e},{...t}):t}function o(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith("@".concat(e)))||!!t.match(/^@\d/))}function i(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function a(e){let t=(e,t)=>e.replace("@media",t?"@container ".concat(t):"@container");function r(r,n){r.up=function(){for(var r=arguments.length,o=Array(r),i=0;i").replace("and","or"):a}}let n={},o=e=>(r(n,e),n);return r(o),{...e,containerQueries:o}}r.d(t,{WX:function(){return o},ZP:function(){return a},ar:function(){return n},ue:function(){return i}})},1945:function(e,t,r){"use strict";var n=r(4953);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},86909:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(73212);function o(e){let{variants:t,...r}=e,o={variants:t,style:(0,n.bu)(r),isProcessed:!0};return o.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,n.bu)(e.style))}),o}},61247:function(e,t,r){"use strict";r.d(t,{hB:function(){return h},eI:function(){return f},NA:function(){return m},e6:function(){return y},o3:function(){return v}});var n=r(99746),o=r(73902),i=r(1945);let a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}let[t,r]=e.split(""),n=a[t],o=s[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...c,...d];function f(e,t,r,n){var i;let a=null!==(i=(0,o.DW)(e,t,!0))&&void 0!==i?i:r;return"number"==typeof a||"string"==typeof a?e=>"string"==typeof e?e:"string"==typeof a?"calc(".concat(e," * ").concat(a,")"):a*e:Array.isArray(a)?e=>{if("string"==typeof e)return e;let t=a[Math.abs(e)];return e>=0?t:"number"==typeof t?-t:"-".concat(t)}:"function"==typeof a?a:()=>void 0}function h(e){return f(e,"spacing",8,"spacing")}function m(e,t){return"string"==typeof t||null==t?t:e(t)}function g(e,t){let r=h(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){var i;if(!t.includes(r))return null;let a=(i=u(r),e=>i.reduce((t,r)=>(t[r]=m(o,e),t),{})),s=e[r];return(0,n.k9)(e,s,a)})(e,t,o,r)).reduce(i.Z,{})}function y(e){return g(e,c)}function v(e){return g(e,d)}function b(e){return g(e,p)}y.propTypes={},y.filterProps=c,v.propTypes={},v.filterProps=d,b.propTypes={},b.filterProps=p},73902:function(e,t,r){"use strict";r.d(t,{DW:function(){return i},Jq:function(){return a}});var n=r(14142),o=r(99746);function i(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r="vars.".concat(t).split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r){let n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"==typeof e?e(r):Array.isArray(e)?e[r]||o:i(e,r)||o,t&&(n=t(n,o,e)),n}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=i(e.theme,s)||{};return(0,o.k9)(e,u,e=>{let o=a(c,l,e);return(e===o&&"string"==typeof e&&(o=a(c,l,"".concat(t).concat("default"===e?"":(0,n.Z)(e)),e)),!1===r)?o:{[r]:o}})};return u.propTypes={},u.filterProps=[t],u}},37859:function(e,t,r){"use strict";r.d(t,{Z:function(){return Z}});var n=r(61247),o=r(73902),i=r(1945),a=function(){for(var e=arguments.length,t=Array(e),r=0;r(t.filterProps.forEach(r=>{e[r]=t}),e),{}),o=e=>Object.keys(e).reduce((t,r)=>n[r]?(0,i.Z)(t,n[r](e)):t,{});return o.propTypes={},o.filterProps=t.reduce((e,t)=>e.concat(t.filterProps),[]),o},s=r(99746);function l(e){return"number"!=typeof e?e:"".concat(e,"px solid")}function u(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let c=u("border",l),d=u("borderTop",l),p=u("borderRight",l),f=u("borderBottom",l),h=u("borderLeft",l),m=u("borderColor"),g=u("borderTopColor"),y=u("borderRightColor"),v=u("borderBottomColor"),b=u("borderLeftColor"),w=u("outline",l),E=u("outlineColor"),x=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,s.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};x.propTypes={},x.filterProps=["borderRadius"],a(c,d,p,f,h,m,g,y,v,b,x,w,E);let S=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,s.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};S.propTypes={},S.filterProps=["gap"];let C=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,s.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["columnGap"];let O=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,s.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};O.propTypes={},O.filterProps=["rowGap"];let T=(0,o.ZP)({prop:"gridColumn"}),D=(0,o.ZP)({prop:"gridRow"}),P=(0,o.ZP)({prop:"gridAutoFlow"}),A=(0,o.ZP)({prop:"gridAutoColumns"}),k=(0,o.ZP)({prop:"gridAutoRows"}),R=(0,o.ZP)({prop:"gridTemplateColumns"});function I(e,t){return"grey"===t?t:e}function _(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}a(S,C,O,T,D,P,A,k,R,(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"})),a((0,o.ZP)({prop:"color",themeKey:"palette",transform:I}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:I}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:I}));let N=(0,o.ZP)({prop:"width",transform:_}),L=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,s.k9)(e,e.maxWidth,t=>{var r,n,o,i,a;let l=(null===(o=e.theme)||void 0===o?void 0:null===(n=o.breakpoints)||void 0===n?void 0:null===(r=n.values)||void 0===r?void 0:r[t])||s.VO[t];return l?(null===(a=e.theme)||void 0===a?void 0:null===(i=a.breakpoints)||void 0===i?void 0:i.unit)!=="px"?{maxWidth:"".concat(l).concat(e.theme.breakpoints.unit)}:{maxWidth:l}:{maxWidth:_(t)}}):null;L.filterProps=["maxWidth"];let M=(0,o.ZP)({prop:"minWidth",transform:_}),j=(0,o.ZP)({prop:"height",transform:_}),F=(0,o.ZP)({prop:"maxHeight",transform:_}),B=(0,o.ZP)({prop:"minHeight",transform:_});(0,o.ZP)({prop:"size",cssProperty:"width",transform:_}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:_}),a(N,L,M,j,F,B,(0,o.ZP)({prop:"boxSizing"}));var Z={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:x},color:{themeKey:"palette",transform:I},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:I},backgroundColor:{themeKey:"palette",transform:I},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:S},rowGap:{style:O},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_},maxWidth:{style:L},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},73543:function(e,t,r){"use strict";var n=r(14142),o=r(1945),i=r(73902),a=r(99746),s=r(11088),l=r(37859);let u=function(){function e(e,t,r,o){let s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:d,style:p}=l;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let f=(0,i.DW)(r,c)||{};return p?p(s):(0,a.k9)(s,t,t=>{let r=(0,i.Jq)(f,d,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(f,d,"".concat(e).concat("default"===t?"":(0,n.Z)(t)),t)),!1===u)?r:{[u]:r}})}return function t(r){var n;let{sx:i,theme:u={}}=r||{};if(!i)return null;let c=null!==(n=u.unstable_sxConfig)&&void 0!==n?n:l.Z;function d(r){let n=r;if("function"==typeof r)n=r(u);else if("object"!=typeof r)return r;if(!n)return null;let i=(0,a.W8)(u.breakpoints),l=Object.keys(i),d=i;return Object.keys(n).forEach(r=>{var i;let s="function"==typeof(i=n[r])?i(u):i;if(null!=s){if("object"==typeof s){if(c[r])d=(0,o.Z)(d,e(r,s,u,c));else{let e=(0,a.k9)({theme:u},s,e=>({[r]:e}));(function(){for(var e=arguments.length,t=Array(e),r=0;re.concat(Object.keys(t)),[]));return t.every(e=>n.size===Object.keys(e).length)})(e,s)?d[r]=t({sx:s,theme:u}):d=(0,o.Z)(d,e)}}else d=(0,o.Z)(d,e(r,s,u,c))}}),(0,s.ar)(u,(0,a.L7)(l,d))}return Array.isArray(i)?i.map(d):d(i)}}();u.filterProps=["sx"],t.Z=u},20022:function(e,t,r){"use strict";var n=r(18134),o=r(13907);let i=(0,n.Z)();t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},75505:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(35971);function o(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}},13907:function(e,t,r){"use strict";var n=r(67294),o=r(87685);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=n.useContext(o.T);return t&&0!==Object.keys(t).length?t:e}},36153:function(e,t,r){"use strict";r.d(t,{Z:function(){return et}});var n=r(56535),o=r(4953),i=r(3318),a={black:"#000",white:"#fff"},s={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},l={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},u={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},c={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},d={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},p={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},f={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function h(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.white,default:a.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let m=h();function g(){return{text:{primary:a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let y=g();function v(e,t,r,n){let o=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,i.$n)(e.main,o):"dark"===t&&(e.dark=(0,i._j)(e.main,a)))}function b(e){let t;let{mode:r="light",contrastThreshold:b=3,tonalOffset:w=.2,...E}=e,x=e.primary||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:d[200],light:d[50],dark:d[400]}:{main:d[700],light:d[400],dark:d[800]}}(r),S=e.secondary||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:l[200],light:l[50],dark:l[400]}:{main:l[500],light:l[300],dark:l[700]}}(r),C=e.error||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:u[500],light:u[300],dark:u[700]}:{main:u[700],light:u[400],dark:u[800]}}(r),O=e.info||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:p[400],light:p[300],dark:p[700]}:{main:p[700],light:p[500],dark:p[900]}}(r),T=e.success||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:f[400],light:f[300],dark:f[700]}:{main:f[800],light:f[500],dark:f[900]}}(r),D=e.warning||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:c[400],light:c[300],dark:c[700]}:{main:"#ed6c02",light:c[500],dark:c[900]}}(r);function P(e){return(0,i.mi)(e,y.text.primary)>=b?y.text.primary:m.text.primary}let A=e=>{let{color:t,name:r,mainShade:o=500,lightShade:i=300,darkShade:a=700}=e;if(!(t={...t}).main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw Error((0,n.Z)(11,r?" (".concat(r,")"):"",o));if("string"!=typeof t.main)throw Error((0,n.Z)(12,r?" (".concat(r,")"):"",JSON.stringify(t.main)));return v(t,"light",i,w),v(t,"dark",a,w),t.contrastText||(t.contrastText=P(t.main)),t};return"light"===r?t=h():"dark"===r&&(t=g()),(0,o.Z)({common:{...a},mode:r,primary:A({color:x,name:"primary"}),secondary:A({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:C,name:"error"}),warning:A({color:D,name:"warning"}),info:A({color:O,name:"info"}),success:A({color:T,name:"success"}),grey:s,contrastThreshold:b,getContrastText:P,augmentColor:A,tonalOffset:w,...t},E)}var w=r(65508),E=r(61247);let x=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=r:o&&"object"==typeof o&&(o[e]=r):o&&"object"==typeof o&&(o[e]||(o[e]=n.includes(e)?[]:{}),o=o[e])})},S=(e,t,r)=>{!function e(n){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Object.entries(n).forEach(n=>{let[a,s]=n;r&&(!r||r([...o,a]))||null==s||("object"==typeof s&&Object.keys(s).length>0?e(s,[...o,a],Array.isArray(s)?[...i,a]:i):t([...o,a],s,i))})}(e)},C=(e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:"".concat(t,"px"):t;function O(e,t){let{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return S(e,(e,t,s)=>{if(("string"==typeof t||"number"==typeof t)&&(!n||!n(e,t))){let n="--".concat(r?"".concat(r,"-"):"").concat(e.join("-")),l=C(e,t);Object.assign(o,{[n]:l}),x(i,e,"var(".concat(n,")"),s),x(a,e,"var(".concat(n,", ").concat(l,")"),s)}},e=>"vars"===e[0]),{css:o,vars:i,varsWithDefaults:a}}var T=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{getSelector:r=function(t,r){let n=i;if("class"===i&&(n=".%s"),"data"===i&&(n="[data-%s]"),(null==i?void 0:i.startsWith("data-"))&&!i.includes("%s")&&(n="[".concat(i,'="%s"]')),t){if("media"===n){var o,s;if(e.defaultColorScheme===t)return":root";let n=(null===(s=a[t])||void 0===s?void 0:null===(o=s.palette)||void 0===o?void 0:o.mode)||t;return{["@media (prefers-color-scheme: ".concat(n,")")]:{":root":r}}}if(n)return e.defaultColorScheme===t?":root, ".concat(n.replace("%s",String(t))):n.replace("%s",String(t))}return":root"},disableCssColorScheme:n,colorSchemeSelector:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...u}=e,{vars:c,css:d,varsWithDefaults:p}=O(u,t),f=p,h={},{[l]:m,...g}=a;if(Object.entries(g||{}).forEach(e=>{let[r,n]=e,{vars:i,css:a,varsWithDefaults:s}=O(n,t);f=(0,o.Z)(f,s),h[r]={css:a,vars:i}}),m){let{css:e,vars:r,varsWithDefaults:n}=O(m,t);f=(0,o.Z)(f,n),h[l]={css:e,vars:r}}return{vars:f,generateThemeVars:()=>{let e={...c};return Object.entries(h).forEach(t=>{let[,{vars:r}]=t;e=(0,o.Z)(e,r)}),e},generateStyleSheets:()=>{let t=[],o=e.defaultColorScheme||"light";function i(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}i(r(void 0,{...d}),d);let{[o]:s,...l}=h;if(s){var u,c;let{css:e}=s,t=null===(c=a[o])||void 0===c?void 0:null===(u=c.palette)||void 0===u?void 0:u.mode,l=!n&&t?{colorScheme:t,...e}:{...e};i(r(o,{...l}),l)}return Object.entries(l).forEach(e=>{var t,o;let[s,{css:l}]=e,u=null===(o=a[s])||void 0===o?void 0:null===(t=o.palette)||void 0===t?void 0:t.mode,c=!n&&u?{colorScheme:u,...l}:{...l};i(r(s,{...c}),c)}),t}}},D=r(37859),P=r(73543),A=r(18134);let k={textTransform:"uppercase"},R='"Roboto", "Helvetica", "Arial", sans-serif';function I(){for(var e=arguments.length,t=Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t={...e};return!function e(t){let r=Object.entries(t);for(let n=0;n0&&void 0!==arguments[0]?arguments[0]:{};for(var t,r=arguments.length,i=Array(r>1?r-1:0),a=1;a"".concat(e/u*f,"rem")),m=(e,t,n,o,i)=>({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n,...r===R?{letterSpacing:"".concat(Math.round(o/t*1e5)/1e5,"em")}:{},...i,...c}),g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,k),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,k),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,o.Z)({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:n,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l,...g},p,{clone:!1})}(m,p),transitions:function(e){let t={...N,...e.easing},r={...L,...e.duration};return{getAutoHeightDuration:j,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0,...s}=n;return(Array.isArray(e)?e:[e]).map(e=>"".concat(e," ").concat("string"==typeof o?o:M(o)," ").concat(i," ").concat("string"==typeof a?a:M(a))).join(",")},...e,easing:t,duration:r}}(d),zIndex:{...F}});return y=(0,o.Z)(y,h),(y=i.reduce((e,t)=>(0,o.Z)(e,t),y)).unstable_sxConfig={...D.Z,...null==h?void 0:h.unstable_sxConfig},y.unstable_sx=function(e){return(0,P.Z)({sx:e,theme:this})},y.toRuntimeSource=B,y},V=r(14123);let q=[...Array(25)].map((e,t)=>{if(0===t)return"none";let r=(0,V.Z)(t);return"linear-gradient(rgba(255 255 255 / ".concat(r,"), rgba(255 255 255 / ").concat(r,"))")});function U(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function z(e){return"dark"===e?q:[]}function $(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!(null===(t=e[1])||void 0===t?void 0:t.match(/(mode|contrastThreshold|tonalOffset)/))}var H=e=>[...[...Array(25)].map((t,r)=>"--".concat(e?"".concat(e,"-"):"","overlays-").concat(r)),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkBg"),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkColor")],G=e=>(t,r)=>{let n=e.rootSelector||":root",o=e.colorSchemeSelector,i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),(null==o?void 0:o.startsWith("data-"))&&!o.includes("%s")&&(i="[".concat(o,'="%s"]')),e.defaultColorScheme===t){if("dark"===t){let o={};return(H(e.cssVarPrefix).forEach(e=>{o[e]=r[e],delete r[e]}),"media"===i)?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:o}}:i?{[i.replace("%s",t)]:o,["".concat(n,", ").concat(i.replace("%s",t))]:r}:{[n]:{...r,...o}}}if(i&&"media"!==i)return"".concat(n,", ").concat(i.replace("%s",String(t)))}else if(t){if("media"===i)return{["@media (prefers-color-scheme: ".concat(String(t),")")]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function W(e,t,r){!e[t]&&r&&(e[t]=r)}function K(e){return"string"==typeof e&&e.startsWith("hsl")?(0,i.ve)(e):e}function Y(e,t){"".concat(t,"Channel") in e||(e["".concat(t,"Channel")]=(0,i.LR)(K(e[t]),"MUI: Can't create `palette.".concat(t,"Channel` because `palette.").concat(t,"` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().")+"\n"+"To suppress this warning, you need to explicitly provide the `palette.".concat(t,'Channel` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.')))}let Q=e=>{try{return e()}catch(e){}},J=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mui";return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{};for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{};for(var t,r=arguments.length,a=Array(r>1?r-1:0),s=1;s{let[r,n]=e;"object"==typeof n&&(t[r]="".concat(n.fontStyle?"".concat(n.fontStyle," "):"").concat(n.fontVariant?"".concat(n.fontVariant," "):"").concat(n.fontWeight?"".concat(n.fontWeight," "):"").concat(n.fontStretch?"".concat(n.fontStretch," "):"").concat(n.fontSize||"").concat(n.lineHeight?"/".concat(n.lineHeight," "):"").concat(n.fontFamily||""))}),t}(k.typography),...k.font},spacing:"number"==typeof(t=m.spacing)?"".concat(t,"px"):"string"==typeof t||"function"==typeof t||Array.isArray(t)?t:"8px"};Object.keys(R.colorSchemes).forEach(e=>{let t=R.colorSchemes[e].palette,r=e=>{let r=e.split("-"),n=r[1],o=r[2];return v(e,t[n][o])};if("light"===t.mode&&(W(t.common,"background","#fff"),W(t.common,"onBackground","#000")),"dark"===t.mode&&(W(t.common,"background","#000"),W(t.common,"onBackground","#fff")),function(e,t){t.forEach(t=>{e[t]||(e[t]={})})}(t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===t.mode){W(t.Alert,"errorColor",(0,i.q8)(t.error.light,.6)),W(t.Alert,"infoColor",(0,i.q8)(t.info.light,.6)),W(t.Alert,"successColor",(0,i.q8)(t.success.light,.6)),W(t.Alert,"warningColor",(0,i.q8)(t.warning.light,.6)),W(t.Alert,"errorFilledBg",r("palette-error-main")),W(t.Alert,"infoFilledBg",r("palette-info-main")),W(t.Alert,"successFilledBg",r("palette-success-main")),W(t.Alert,"warningFilledBg",r("palette-warning-main")),W(t.Alert,"errorFilledColor",Q(()=>t.getContrastText(t.error.main))),W(t.Alert,"infoFilledColor",Q(()=>t.getContrastText(t.info.main))),W(t.Alert,"successFilledColor",Q(()=>t.getContrastText(t.success.main))),W(t.Alert,"warningFilledColor",Q(()=>t.getContrastText(t.warning.main))),W(t.Alert,"errorStandardBg",(0,i.ux)(t.error.light,.9)),W(t.Alert,"infoStandardBg",(0,i.ux)(t.info.light,.9)),W(t.Alert,"successStandardBg",(0,i.ux)(t.success.light,.9)),W(t.Alert,"warningStandardBg",(0,i.ux)(t.warning.light,.9)),W(t.Alert,"errorIconColor",r("palette-error-main")),W(t.Alert,"infoIconColor",r("palette-info-main")),W(t.Alert,"successIconColor",r("palette-success-main")),W(t.Alert,"warningIconColor",r("palette-warning-main")),W(t.AppBar,"defaultBg",r("palette-grey-100")),W(t.Avatar,"defaultBg",r("palette-grey-400")),W(t.Button,"inheritContainedBg",r("palette-grey-300")),W(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),W(t.Chip,"defaultBorder",r("palette-grey-400")),W(t.Chip,"defaultAvatarColor",r("palette-grey-700")),W(t.Chip,"defaultIconColor",r("palette-grey-700")),W(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),W(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),W(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),W(t.LinearProgress,"primaryBg",(0,i.ux)(t.primary.main,.62)),W(t.LinearProgress,"secondaryBg",(0,i.ux)(t.secondary.main,.62)),W(t.LinearProgress,"errorBg",(0,i.ux)(t.error.main,.62)),W(t.LinearProgress,"infoBg",(0,i.ux)(t.info.main,.62)),W(t.LinearProgress,"successBg",(0,i.ux)(t.success.main,.62)),W(t.LinearProgress,"warningBg",(0,i.ux)(t.warning.main,.62)),W(t.Skeleton,"bg","rgba(".concat(r("palette-text-primaryChannel")," / 0.11)")),W(t.Slider,"primaryTrack",(0,i.ux)(t.primary.main,.62)),W(t.Slider,"secondaryTrack",(0,i.ux)(t.secondary.main,.62)),W(t.Slider,"errorTrack",(0,i.ux)(t.error.main,.62)),W(t.Slider,"infoTrack",(0,i.ux)(t.info.main,.62)),W(t.Slider,"successTrack",(0,i.ux)(t.success.main,.62)),W(t.Slider,"warningTrack",(0,i.ux)(t.warning.main,.62));let e=(0,i.fk)(t.background.default,.8);W(t.SnackbarContent,"bg",e),W(t.SnackbarContent,"color",Q(()=>t.getContrastText(e))),W(t.SpeedDialAction,"fabHoverBg",(0,i.fk)(t.background.paper,.15)),W(t.StepConnector,"border",r("palette-grey-400")),W(t.StepContent,"border",r("palette-grey-400")),W(t.Switch,"defaultColor",r("palette-common-white")),W(t.Switch,"defaultDisabledColor",r("palette-grey-100")),W(t.Switch,"primaryDisabledColor",(0,i.ux)(t.primary.main,.62)),W(t.Switch,"secondaryDisabledColor",(0,i.ux)(t.secondary.main,.62)),W(t.Switch,"errorDisabledColor",(0,i.ux)(t.error.main,.62)),W(t.Switch,"infoDisabledColor",(0,i.ux)(t.info.main,.62)),W(t.Switch,"successDisabledColor",(0,i.ux)(t.success.main,.62)),W(t.Switch,"warningDisabledColor",(0,i.ux)(t.warning.main,.62)),W(t.TableCell,"border",(0,i.ux)((0,i.zp)(t.divider,1),.88)),W(t.Tooltip,"bg",(0,i.zp)(t.grey[700],.92))}if("dark"===t.mode){W(t.Alert,"errorColor",(0,i.ux)(t.error.light,.6)),W(t.Alert,"infoColor",(0,i.ux)(t.info.light,.6)),W(t.Alert,"successColor",(0,i.ux)(t.success.light,.6)),W(t.Alert,"warningColor",(0,i.ux)(t.warning.light,.6)),W(t.Alert,"errorFilledBg",r("palette-error-dark")),W(t.Alert,"infoFilledBg",r("palette-info-dark")),W(t.Alert,"successFilledBg",r("palette-success-dark")),W(t.Alert,"warningFilledBg",r("palette-warning-dark")),W(t.Alert,"errorFilledColor",Q(()=>t.getContrastText(t.error.dark))),W(t.Alert,"infoFilledColor",Q(()=>t.getContrastText(t.info.dark))),W(t.Alert,"successFilledColor",Q(()=>t.getContrastText(t.success.dark))),W(t.Alert,"warningFilledColor",Q(()=>t.getContrastText(t.warning.dark))),W(t.Alert,"errorStandardBg",(0,i.q8)(t.error.light,.9)),W(t.Alert,"infoStandardBg",(0,i.q8)(t.info.light,.9)),W(t.Alert,"successStandardBg",(0,i.q8)(t.success.light,.9)),W(t.Alert,"warningStandardBg",(0,i.q8)(t.warning.light,.9)),W(t.Alert,"errorIconColor",r("palette-error-main")),W(t.Alert,"infoIconColor",r("palette-info-main")),W(t.Alert,"successIconColor",r("palette-success-main")),W(t.Alert,"warningIconColor",r("palette-warning-main")),W(t.AppBar,"defaultBg",r("palette-grey-900")),W(t.AppBar,"darkBg",r("palette-background-paper")),W(t.AppBar,"darkColor",r("palette-text-primary")),W(t.Avatar,"defaultBg",r("palette-grey-600")),W(t.Button,"inheritContainedBg",r("palette-grey-800")),W(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),W(t.Chip,"defaultBorder",r("palette-grey-700")),W(t.Chip,"defaultAvatarColor",r("palette-grey-300")),W(t.Chip,"defaultIconColor",r("palette-grey-300")),W(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),W(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),W(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),W(t.LinearProgress,"primaryBg",(0,i.q8)(t.primary.main,.5)),W(t.LinearProgress,"secondaryBg",(0,i.q8)(t.secondary.main,.5)),W(t.LinearProgress,"errorBg",(0,i.q8)(t.error.main,.5)),W(t.LinearProgress,"infoBg",(0,i.q8)(t.info.main,.5)),W(t.LinearProgress,"successBg",(0,i.q8)(t.success.main,.5)),W(t.LinearProgress,"warningBg",(0,i.q8)(t.warning.main,.5)),W(t.Skeleton,"bg","rgba(".concat(r("palette-text-primaryChannel")," / 0.13)")),W(t.Slider,"primaryTrack",(0,i.q8)(t.primary.main,.5)),W(t.Slider,"secondaryTrack",(0,i.q8)(t.secondary.main,.5)),W(t.Slider,"errorTrack",(0,i.q8)(t.error.main,.5)),W(t.Slider,"infoTrack",(0,i.q8)(t.info.main,.5)),W(t.Slider,"successTrack",(0,i.q8)(t.success.main,.5)),W(t.Slider,"warningTrack",(0,i.q8)(t.warning.main,.5));let e=(0,i.fk)(t.background.default,.98);W(t.SnackbarContent,"bg",e),W(t.SnackbarContent,"color",Q(()=>t.getContrastText(e))),W(t.SpeedDialAction,"fabHoverBg",(0,i.fk)(t.background.paper,.15)),W(t.StepConnector,"border",r("palette-grey-600")),W(t.StepContent,"border",r("palette-grey-600")),W(t.Switch,"defaultColor",r("palette-grey-300")),W(t.Switch,"defaultDisabledColor",r("palette-grey-600")),W(t.Switch,"primaryDisabledColor",(0,i.q8)(t.primary.main,.55)),W(t.Switch,"secondaryDisabledColor",(0,i.q8)(t.secondary.main,.55)),W(t.Switch,"errorDisabledColor",(0,i.q8)(t.error.main,.55)),W(t.Switch,"infoDisabledColor",(0,i.q8)(t.info.main,.55)),W(t.Switch,"successDisabledColor",(0,i.q8)(t.success.main,.55)),W(t.Switch,"warningDisabledColor",(0,i.q8)(t.warning.main,.55)),W(t.TableCell,"border",(0,i.q8)((0,i.zp)(t.divider,1),.68)),W(t.Tooltip,"bg",(0,i.zp)(t.grey[700],.92))}Y(t.background,"default"),Y(t.background,"paper"),Y(t.common,"background"),Y(t.common,"onBackground"),Y(t,"divider"),Object.keys(t).forEach(e=>{let r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&W(t[e],"mainChannel",(0,i.LR)(K(r.main))),r.light&&W(t[e],"lightChannel",(0,i.LR)(K(r.light))),r.dark&&W(t[e],"darkChannel",(0,i.LR)(K(r.dark))),r.contrastText&&W(t[e],"contrastTextChannel",(0,i.LR)(K(r.contrastText))),"text"===e&&(Y(t[e],"primary"),Y(t[e],"secondary")),"action"===e&&(r.active&&Y(t[e],"active"),r.selected&&Y(t[e],"selected")))})});let I={prefix:d,disableCssColorScheme:c,shouldSkipGeneratingVar:p,getSelector:G(R=a.reduce((e,t)=>(0,o.Z)(e,t),R))},{vars:_,generateThemeVars:N,generateStyleSheets:L}=T(R,I);return R.vars=_,Object.entries(R.colorSchemes[R.defaultColorScheme]).forEach(e=>{let[t,r]=e;R[t]=r}),R.generateThemeVars=N,R.generateStyleSheets=L,R.generateSpacing=function(){return(0,w.Z)(m.spacing,(0,E.hB)(this))},R.getColorSchemeSelector=function(e){return"media"===f?"@media (prefers-color-scheme: ".concat(e,")"):f?f.startsWith("data-")&&!f.includes("%s")?"[".concat(f,'="').concat(e,'"] &'):"class"===f?".".concat(e," &"):"data"===f?"[data-".concat(e,"] &"):"".concat(f.replace("%s",e)," &"):"&"},R.spacing=R.generateSpacing(),R.shouldSkipGeneratingVar=p,R.unstable_sxConfig={...D.Z,...null==m?void 0:m.unstable_sxConfig},R.unstable_sx=function(e){return(0,P.Z)({sx:e,theme:this})},R.toRuntimeSource=B,R}({...d,colorSchemes:h,defaultColorScheme:p,..."boolean"!=typeof l&&l},...r)}()},14123:function(e,t,r){"use strict";function n(e){return Math.round(10*(e<1?5.11916*e**2:4.5*Math.log(e+1)+2))/1e3}r.d(t,{Z:function(){return n}})},15412:function(e,t){"use strict";t.Z="$$material"},29924:function(e,t,r){"use strict";var n=r(77959);t.Z=e=>(0,n.Z)(e)&&"classes"!==e},77959:function(e,t){"use strict";t.Z=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},6709:function(e,t,r){"use strict";r.d(t,{ZP:function(){return m}});var n=r(73212),o=r(4953),i=r(18134),a=r(73543),s=r(86909);let l=(0,i.Z)();function u(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function c(e,t){let r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>c(e,t));if(Array.isArray(null==r?void 0:r.variants)){let t;if(r.isProcessed)t=r.style;else{let{variants:e,...n}=r;t=n}return d(e,r.variants,[t])}return(null==r?void 0:r.isProcessed)?r.style:r}function d(e,t){let r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];e:for(let i=0;i0&&void 0!==arguments[0]?arguments[0]:{},{themeId:t,defaultTheme:r=l,rootShouldForwardProp:i=u,slotShouldForwardProp:p=u}=e;function f(e){e.theme=!function(e){for(let t in e)return!1;return!0}(e.theme)?e.theme[t]||e.theme:r}return function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.nf)(e,e=>e.filter(e=>e!==a.Z));let{name:l,slot:h,skipVariantsResolver:m,skipSx:g,overridesResolver:y=(t=h?h.charAt(0).toLowerCase()+h.slice(1):h)?(e,r)=>r[t]:null,...v}=r,b=void 0!==m?m:h&&"Root"!==h&&"root"!==h||!1,w=g||!1,E=u;"Root"===h||"root"===h?E=i:h?E=p:"string"==typeof e&&e.charCodeAt(0)>96&&(E=void 0);let x=(0,n.ZP)(e,{shouldForwardProp:E,label:void 0,...v}),S=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return c(t,e)};if((0,o.P)(e)){let t=(0,s.Z)(e);return t.variants?function(e){return c(e,t)}:t.style}return e},C=function(){for(var t=arguments.length,r=Array(t),n=0;ne.scrollTop;function o(e,t){var r,n;let{timeout:o,easing:i,style:a={}}=e;return{duration:null!==(r=a.transitionDuration)&&void 0!==r?r:"number"==typeof o?o:o[t.mode]||0,easing:null!==(n=a.transitionTimingFunction)&&void 0!==n?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}},19189:function(e,t,r){"use strict";var n=r(14142);t.Z=n.Z},62657:function(e,t,r){"use strict";function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t=>{let[,r]=t;return r&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if("string"!=typeof e.main)return!1;for(let r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(r,e)}}r.d(t,{Z:function(){return n}})},65041:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(67294),o=r(90512),i=r(94780),a=r(19189),s=r(6709),l=r(2273),u=r(14744),c=r(1588),d=r(27621);function p(e){return(0,d.ZP)("MuiSvgIcon",e)}(0,c.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var f=r(85893);let h=e=>{let{color:t,fontSize:r,classes:n}=e,o={root:["root","inherit"!==t&&"color".concat((0,a.Z)(t)),"fontSize".concat((0,a.Z)(r))]};return(0,i.Z)(o,p,n)},m=(0,s.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t["color".concat((0,a.Z)(r.color))],t["fontSize".concat((0,a.Z)(r.fontSize))]]}})((0,l.Z)(e=>{var t,r,n,o,i,a,s,l,u,c,d,p,f,h,m,g,y,v;let{theme:b}=e;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:null===(o=b.transitions)||void 0===o?void 0:null===(n=o.create)||void 0===n?void 0:n.call(o,"fill",{duration:null===(r=(null!==(m=b.vars)&&void 0!==m?m:b).transitions)||void 0===r?void 0:null===(t=r.duration)||void 0===t?void 0:t.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:(null===(a=b.typography)||void 0===a?void 0:null===(i=a.pxToRem)||void 0===i?void 0:i.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:(null===(l=b.typography)||void 0===l?void 0:null===(s=l.pxToRem)||void 0===s?void 0:s.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:(null===(c=b.typography)||void 0===c?void 0:null===(u=c.pxToRem)||void 0===u?void 0:u.call(c,35))||"2.1875rem"}},...Object.entries((null!==(g=b.vars)&&void 0!==g?g:b).palette).filter(e=>{let[,t]=e;return t&&t.main}).map(e=>{var t,r,n;let[o]=e;return{props:{color:o},style:{color:null===(r=(null!==(n=b.vars)&&void 0!==n?n:b).palette)||void 0===r?void 0:null===(t=r[o])||void 0===t?void 0:t.main}}}),{props:{color:"action"},style:{color:null===(p=(null!==(y=b.vars)&&void 0!==y?y:b).palette)||void 0===p?void 0:null===(d=p.action)||void 0===d?void 0:d.active}},{props:{color:"disabled"},style:{color:null===(h=(null!==(v=b.vars)&&void 0!==v?v:b).palette)||void 0===h?void 0:null===(f=h.action)||void 0===f?void 0:f.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),g=n.forwardRef(function(e,t){let r=(0,u.i)({props:e,name:"MuiSvgIcon"}),{children:i,className:a,color:s="inherit",component:l="svg",fontSize:c="medium",htmlColor:d,inheritViewBox:p=!1,titleAccess:g,viewBox:y="0 0 24 24",...v}=r,b=n.isValidElement(i)&&"svg"===i.type,w={...r,color:s,component:l,fontSize:c,instanceFontSize:e.fontSize,inheritViewBox:p,viewBox:y,hasSvgAsChild:b},E={};p||(E.viewBox=y);let x=h(w);return(0,f.jsxs)(m,{as:l,className:(0,o.Z)(x.root,a),focusable:"false",color:d,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t,...E,...v,...b&&i.props,ownerState:w,children:[b?i.props.children:i,g?(0,f.jsx)("title",{children:g}):null]})});function y(e,t){function r(r,n){return(0,f.jsx)(g,{"data-testid":"".concat(t,"Icon"),ref:n,...r,children:e})}return r.muiName=g.muiName,n.memo(n.forwardRef(r))}g.muiName="SvgIcon"},64877:function(e,t){"use strict";t.Z=function(e){return"string"==typeof e}},43866:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294),o=function(e,t){return n.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}},2273:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(86909);let o={theme:void 0};var i=function(e){let t,r;return function(i){let a=t;return(void 0===a||i.theme!==r)&&(o.theme=i.theme,t=a=(0,n.Z)(e(o)),r=i.theme),a}}},89620:function(e,t,r){"use strict";var n=r(19032);t.Z=n.Z},19640:function(e,t,r){"use strict";var n=r(73546);t.Z=n.Z},90538:function(e,t,r){"use strict";var n=r(33703);t.Z=n.Z},16945:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(33703),o=r(85364),i=r(65610),a=r(55120);function s(e,t){let{className:r,elementType:s,ownerState:l,externalForwardedProps:u,internalForwardedProps:c,shouldForwardComponentProp:d=!1,...p}=t,{component:f,slots:h={[e]:void 0},slotProps:m={[e]:void 0},...g}=u,y=h[e]||s,v=(0,i.Z)(m[e],l),{props:{component:b,...w},internalRef:E}=(0,a.Z)({className:r,...p,externalForwardedProps:"root"===e?g:void 0,externalSlotProps:v}),x=(0,n.Z)(E,null==v?void 0:v.ref,t.ref),S="root"===e?b||f:b,C=(0,o.Z)(y,{..."root"===e&&!f&&!h[e]&&c,..."root"!==e&&!h[e]&&c,...w,...S&&!d&&{as:S},...S&&d&&{component:S},ref:x},l);return[y,C]}},64009:function(e,t,r){"use strict";r.d(t,{zY:function(){return m},u7:function(){return g}}),r(67294);var n=r(4953),o=r(37859);let i=e=>{var t,r;let n={systemProps:{},otherProps:{}},i=null!==(r=null==e?void 0:null===(t=e.theme)||void 0===t?void 0:t.unstable_sxConfig)&&void 0!==r?r:o.Z;return Object.keys(e).forEach(t=>{i[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function a(e){let t;let{sx:r,...o}=e,{systemProps:a,otherProps:s}=i(o);return t=Array.isArray(r)?[a,...r]:"function"==typeof r?function(){for(var e=arguments.length,t=Array(e),o=0;ot(null==e||0===Object.keys(e).length?r:e):t;return(0,l.jsx)(s.xB,{styles:n})}var c=r(20022),d=function(e){let{styles:t,themeId:r,defaultTheme:n={}}=e,o=(0,c.Z)(n),i="function"==typeof t?t(r&&o[r]||o):t;return(0,l.jsx)(u,{styles:i})},p=r(36153),f=r(15412),h=function(e){return(0,l.jsx)(d,{...e,defaultTheme:p.Z,themeId:f.Z})};function m(e){return function(t){return(0,l.jsx)(h,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}function g(){return a}},7415:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(34991).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23781:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorage}});let n=r(7415);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34991:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return i}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let o=globalThis.AsyncLocalStorage;function i(){return o?new o:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64906:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return u.ServerInsertedHTMLContext},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},useParams:function(){return f},usePathname:function(){return d},useRouter:function(){return p},useSearchParams:function(){return c},useSelectedLayoutSegment:function(){return m},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return u.useServerInsertedHTML}});let n=r(67294),o=r(56555),i=r(85948),a=r(9749),s=r(99418),l=r(69066),u=r(54515);function c(){let e=(0,n.useContext)(i.SearchParamsContext);return(0,n.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function d(){return(0,n.useContext)(i.PathnameContext)}function p(){let e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function f(){return(0,n.useContext)(i.PathParamsContext)}function h(e){void 0===e&&(e="children");let t=(0,n.useContext)(o.LayoutRouterContext);return t?function e(t,r,n,o){let i;if(void 0===n&&(n=!0),void 0===o&&(o=[]),n)i=t[1][r];else{var l;let e=t[1];i=null!=(l=e.children)?l:Object.values(e)[0]}if(!i)return o;let u=i[0],c=(0,a.getSegmentValue)(u);return!c||c.startsWith(s.PAGE_SEGMENT_KEY)?o:(o.push(c),e(i,r,!1,o))}(t.tree,e):null}function m(e){void 0===e&&(e="children");let t=h(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===s.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69066:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return n.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect}});let n=r(3249),o=r(46788);class i extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new i}delete(){throw new i}set(){throw new i}sort(){throw new i}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46788:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return o},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36554:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3249:function(e,t,r){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return u},getRedirectStatusCodeFromError:function(){return m},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return f},isRedirectError:function(){return p},permanentRedirect:function(){return d},redirect:function(){return c}});let i=r(19826),a=r(23781),s=r(36554),l="NEXT_REDIRECT";function u(e,t,r){void 0===r&&(r=s.RedirectStatusCode.TemporaryRedirect);let n=Error(l);n.digest=l+";"+t+";"+e+";"+r+";";let o=i.requestAsyncStorage.getStore();return o&&(n.mutableCookies=o.mutableCookies),n}function c(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw u(e,t,(null==r?void 0:r.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.TemporaryRedirect)}function d(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw u(e,t,(null==r?void 0:r.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.PermanentRedirect)}function p(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,o]=e.digest.split(";",4),i=Number(o);return t===l&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(i)&&i in s.RedirectStatusCode}function f(e){return p(e)?e.digest.split(";",3)[2]:null}function h(e){if(!p(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function m(e){if(!p(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=n||(n={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81549:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(34991).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19826:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return n.requestAsyncStorage}});let n=r(81549);function o(e){let t=n.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9749:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91068:function(e,t){"use strict";var r,n,o,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return p},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return f}});let a="refresh",s="navigate",l="restore",u="server-patch",c="prefetch",d="fast-refresh",p="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=r||(r={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(i=n||(n={})).fresh="fresh",i.reusable="reusable",i.expired="expired",i.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37504:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});let n=r(81131);function o(e,t,o,i){{let a=r(78913).normalizeLocalePath,s=r(22871).detectDomainLocale,l=t||a(e,o).detectedLocale,u=s(i,void 0,l);if(u){let t="http"+(u.http?"":"s")+"://",r=l===u.defaultLocale?"":"/"+l;return""+t+u.domain+(0,n.normalizePathTrailingSlash)(""+r+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28822:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(10260),o=r(77697),i=r(85893),a=o._(r(67294)),s=n._(r(73935)),l=n._(r(68869)),u=r(28283),c=r(50169),d=r(26186);r(92507);let p=r(4827),f=n._(r(407)),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,r,n,o,i,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function g(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:o,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:p,placeholder:f,loading:h,unoptimized:y,fill:v,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:E,setShowAltText:x,sizesInput:S,onLoad:C,onError:O,...T}=e;return(0,i.jsx)("img",{...T,...g(p),loading:h,width:l,height:s,decoding:u,"data-nimg":v?"fill":"1",className:c,style:d,sizes:o,srcSet:n,src:r,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(O&&(e.src=e.src),e.complete&&m(e,f,b,w,E,y,S))},[r,f,b,w,E,O,y,S,t]),onLoad:e=>{m(e.currentTarget,f,b,w,E,y,S)},onError:e=>{x(!0),"empty"!==f&&E(!0),O&&O(e)}})});function v(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...g(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,i.jsx)(l.default,{children:(0,i.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(p.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),o=(0,a.useMemo)(()=>{var e;let t=h||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),o=t.deviceSizes.sort((e,t)=>e-t),i=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:o,qualities:i}},[n]),{onLoad:s,onLoadingComplete:l}=e,m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[b,w]=(0,a.useState)(!1),[E,x]=(0,a.useState)(!1),{props:S,meta:C}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:o,blurComplete:b,showAltText:E});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y,{...S,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:x,sizesInput:e.sizes,ref:t}),C.priority?(0,i.jsx)(v,{isAppRouter:!r,imgAttributes:S}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15501:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let n=r(10260),o=r(85893),i=n._(r(67294)),a=r(15078),s=r(78199),l=r(42996),u=r(53158),c=r(99101),d=r(4827),p=r(56555),f=r(42906),h=r(37504),m=r(47562),g=r(91068),y=new Set;function v(e,t,r,n,o,i){if(i||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let o=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(y.has(o))return;y.add(o)}(async()=>i?e.prefetch(t,o):e.prefetch(t,r,n))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let w=i.default.forwardRef(function(e,t){let r,n;let{href:l,as:y,children:w,prefetch:E=null,passHref:x,replace:S,shallow:C,scroll:O,locale:T,onClick:D,onMouseEnter:P,onTouchStart:A,legacyBehavior:k=!1,...R}=e;r=w,k&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let I=i.default.useContext(d.RouterContext),_=i.default.useContext(p.AppRouterContext),N=null!=I?I:_,L=!I,M=!1!==E,j=null===E?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:F,as:B}=i.default.useMemo(()=>{if(!I){let e=b(l);return{href:e,as:y?b(y):e}}let[e,t]=(0,a.resolveHref)(I,l,!0);return{href:e,as:y?(0,a.resolveHref)(I,y):t||e}},[I,l,y]),Z=i.default.useRef(F),V=i.default.useRef(B);k&&(n=i.default.Children.only(r));let q=k?n&&"object"==typeof n&&n.ref:t,[U,z,$]=(0,f.useIntersection)({rootMargin:"200px"}),H=i.default.useCallback(e=>{(V.current!==B||Z.current!==F)&&($(),V.current=B,Z.current=F),U(e),q&&("function"==typeof q?q(e):"object"==typeof q&&(q.current=e))},[B,q,F,$,U]);i.default.useEffect(()=>{N&&z&&M&&v(N,F,B,{locale:T},{kind:j},L)},[B,F,z,T,M,null==I?void 0:I.locale,N,L,j]);let G={ref:H,onClick(e){k||"function"!=typeof D||D(e),k&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),N&&!e.defaultPrevented&&function(e,t,r,n,o,a,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let p=()=>{let e=null==l||l;"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:a,locale:u,scroll:e}):t[o?"replace":"push"](n||r,{scroll:e})};c?i.default.startTransition(p):p()}(e,N,F,B,S,C,O,T,L)},onMouseEnter(e){k||"function"!=typeof P||P(e),k&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),N&&(M||!L)&&v(N,F,B,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:j},L)},onTouchStart:function(e){k||"function"!=typeof A||A(e),k&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),N&&(M||!L)&&v(N,F,B,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:j},L)}};if((0,u.isAbsoluteUrl)(B))G.href=B;else if(!k||x||"a"===n.type&&!("href"in n.props)){let e=void 0!==T?T:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,h.getDomainLocale)(B,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);G.href=t||(0,m.addBasePath)((0,c.addLocale)(B,e,null==I?void 0:I.defaultLocale))}return k?i.default.cloneElement(n,G):(0,o.jsx)("a",{...R,...G,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78913:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let n=(e,t)=>r(17006).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42906:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(67294),o=r(14443),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,u=l||!i,[c,d]=(0,n.useState)(!1),p=(0,n.useRef)(null),f=(0,n.useCallback)(e=>{p.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(u||c)return;let e=p.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:o,elements:i}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let o=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:o},s.push(r),a.set(r,t),t}(r);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,o.requestIdleCallback)(()=>d(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,r,t,c,p.current]),[f,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(92507);let n=r(6189),o=r(50169);function i(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r,s;let l,u,c,{src:d,sizes:p,unoptimized:f=!1,priority:h=!1,loading:m,className:g,quality:y,width:v,height:b,fill:w=!1,style:E,overrideSrc:x,onLoad:S,onLoadingComplete:C,placeholder:O="empty",blurDataURL:T,fetchPriority:D,decoding:P="async",layout:A,objectFit:k,objectPosition:R,lazyBoundary:I,lazyRoot:_,...N}=e,{imgConf:L,showAltText:M,blurComplete:j,defaultLoader:F}=t,B=L||o.imageConfigDefault;if("allSizes"in B)l=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),n=null==(r=B.qualities)?void 0:r.sort((e,t)=>e-t);l={...B,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===F)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let Z=N.loader||F;delete N.loader,delete N.srcSet;let V="__next_img_default"in Z;if(V){if("custom"===l.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=Z;Z=t=>{let{config:r,...n}=t;return e(n)}}if(A){"fill"===A&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];e&&(E={...E,...e});let t={responsive:"100vw",fill:"100vw"}[A];t&&!p&&(p=t)}let q="",U=a(v),z=a(b);if("object"==typeof(s=d)&&(i(s)||void 0!==s.src)){let e=i(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(u=e.blurWidth,c=e.blurHeight,T=T||e.blurDataURL,q=e.src,!w){if(U||z){if(U&&!z){let t=U/e.width;z=Math.round(e.height*t)}else if(!U&&z){let t=z/e.height;U=Math.round(e.width*t)}}else U=e.width,z=e.height}}let $=!h&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:q)||d.startsWith("data:")||d.startsWith("blob:"))&&(f=!0,$=!1),l.unoptimized&&(f=!0),V&&d.endsWith(".svg")&&!l.dangerouslyAllowSVG&&(f=!0),h&&(D="high");let H=a(y),G=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:k,objectPosition:R}:{},M?{}:{color:"transparent"},E),W=j||"empty"===O?null:"blur"===O?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:U,heightInt:z,blurWidth:u,blurHeight:c,blurDataURL:T||"",objectFit:G.objectFit})+'")':'url("'+O+'")',K=W?{backgroundSize:G.objectFit||"cover",backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:W}:{},Y=function(e){let{config:t,src:r,unoptimized:n,width:o,quality:i,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:o}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:i,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:s({config:t,src:r,quality:i,width:l[c]})}}({config:l,src:d,unoptimized:f,width:U,quality:H,sizes:p,loader:Z});return{props:{...N,loading:$?"lazy":m,fetchPriority:D,width:U,height:z,decoding:P,className:g,style:{...G,...K},sizes:Y.sizes,srcSet:Y.srcSet,src:x||Y.src},meta:{unoptimized:f,priority:h,placeholder:O,fill:w}}}},6189:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:o,blurDataURL:i,objectFit:a}=e,s=n?40*n:t,l=o?40*o:r,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},14141:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(10260),o=r(28283),i=r(28822),a=n._(r(407));function s(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=i.Image},407:function(e,t){"use strict";function r(e){var t;let{config:r,src:n,width:o,quality:i}=e,a=i||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",o=0):o=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),i=s,a=0;continue}}else if(2===n.length||1===n.length){n="",o=0,i=s,a=0;continue}}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),o=s-i-1;i=s,a=0}else 46===r&&-1!==a?++a:a=-1}return n}var n={resolve:function(){for(var e,n,o="",i=!1,a=arguments.length-1;a>=-1&&!i;a--)a>=0?n=arguments[a]:(void 0===e&&(e=""),n=e),t(n),0!==n.length&&(o=n+"/"+o,i=47===n.charCodeAt(0));return(o=r(o,!i),i)?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return(0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&o&&(e+="/"),n)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var o=1;ou){if(47===r.charCodeAt(s+d))return r.slice(s+d+1);if(0===d)return r.slice(s+d)}else a>u&&(47===e.charCodeAt(o+d)?c=d:0===d&&(c=0));break}var p=e.charCodeAt(o+d);if(p!==r.charCodeAt(s+d))break;47===p&&(c=d)}var f="";for(d=o+c+1;d<=i;++d)(d===i||47===e.charCodeAt(d))&&(0===f.length?f+="..":f+="/..");return f.length>0?f+r.slice(s+c):(s+=c,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,o=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(r=e.charCodeAt(a))){if(!i){o=a;break}}else i=!1;return -1===o?n?"/":".":n&&1===o?"//":e.slice(0,o)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,o=0,i=-1,a=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!a){o=n+1;break}}else -1===l&&(a=!1,l=n+1),s>=0&&(u===r.charCodeAt(s)?-1==--s&&(i=n):(s=-1,i=l))}return o===i?i=l:-1===i&&(i=e.length),e.slice(o,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){o=n+1;break}}else -1===i&&(a=!1,i=n+1);return -1===i?"":e.slice(o,i)},extname:function(e){t(e);for(var r=-1,n=0,o=-1,i=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!i){n=s+1;break}continue}-1===o&&(i=!1,o=s+1),46===l?-1===r?r=s:1!==a&&(a=1):-1!==r&&(a=-1)}return -1===r||-1===o||0===a||1===a&&r===o-1&&r===n+1?"":e.slice(r,o)},format:function(e){var t,r;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+r:t+"/"+r:r},parse:function(e){t(e);var r,n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var o=e.charCodeAt(0),i=47===o;i?(n.root="/",r=1):r=0;for(var a=-1,s=0,l=-1,u=!0,c=e.length-1,d=0;c>=r;--c){if(47===(o=e.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===o?-1===a?a=c:1!==d&&(d=1):-1!==a&&(d=-1)}return -1===a||-1===l||0===d||1===d&&a===l-1&&a===s+1?-1!==l&&(0===s&&i?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(s,l)):(0===s&&i?(n.name=e.slice(1,a),n.base=e.slice(1,l)):(n.name=e.slice(s,a),n.base=e.slice(s,l)),n.ext=e.slice(a,l)),s>0?n.dir=e.slice(0,s-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab="//";var o=n(114);e.exports=o}()},99647:function(e,t,r){var n=r(34155);"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),({189:function(){!function(e,t){"use strict";if(!e.setImmediate){var r,o,i,a,s,l=1,u={},c=!1,d=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);(p=p&&p.setTimeout?p:e,"[object process]"===({}).toString.call(e.process))?s=function(e){n.nextTick(function(){h(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(r="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&h(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),s=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},s=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(a=d.documentElement,s=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):s=function(e){setTimeout(h,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var t=Array(arguments.length-1),r=0;rString(e)),r>2)?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){var o,i,a,s;let l,u;if("string"==typeof t&&(o="not ",t.substr(0,o.length)===o)?(l="must not be",t=t.replace(/^not /,"")):l="must be",i=" argument",(void 0===a||a>e.length)&&(a=e.length),e.substring(a-i.length,a)===i)u=`The ${e} ${l} ${n(t,"type")}`;else{let r=("number"!=typeof s&&(s=0),s+1>e.length||-1===e.indexOf(".",s))?"argument":"property";u=`The "${e}" ${r} ${l} ${n(t,"type")}`}return u+`. Received type ${typeof r}`},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,r){"use strict";var o=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var i=r(709),a=r(337);r(782)(c,i);for(var s=o(a.prototype),l=0;l0){if("string"==typeof t||d.objectMode||Object.getPrototypeOf(t)===p.prototype||(u=t,t=p.from(u)),n)d.endEmitted?S(e,new x):P(e,d,t,!0);else if(d.ended)S(e,new w);else{if(d.destroyed)return!1;d.reading=!1,d.decoder&&!r?(t=d.decoder.write(t),d.objectMode||0!==t.length?P(e,d,t,!1):I(e,d)):P(e,d,t,!1)}}else n||(d.reading=!1,I(e,d))}return!d.ended&&(d.lengtht.highWaterMark){var r;t.highWaterMark=((r=e)>=1073741824?r=1073741824:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function k(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(R,e))}function R(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,j(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(_,e,t))}function _(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function L(e){a("readable nexttick read 0"),e.read(0)}function M(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function F(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function B(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(Z,t,e))}function Z(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function V(e,t){for(var r=0,n=e.length;r=r.highWaterMark:r.length>0)||r.ended))return a("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?B(this):k(this),null;if(0===(e=A(e,r))&&r.ended)return 0===r.length&&B(this),null;var o=r.needReadable;return a("need readable",o),(0===r.length||r.length-e0?F(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&B(this)),null!==t&&this.emit("data",t),t},T.prototype._read=function(e){S(this,new E("_read()"))},T.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,a("pipe count=%d opts=%j",o.pipesCount,t);var i=t&&!1===t.end||e===n.stdout||e===n.stderr?m:s;function s(){a("onend"),e.end()}o.endEmitted?n.nextTick(i):r.once("end",i),e.on("unpipe",function t(n,i){a("onunpipe"),n===r&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,a("cleanup"),e.removeListener("close",f),e.removeListener("finish",h),e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",t),r.removeListener("end",s),r.removeListener("end",m),r.removeListener("data",d),u=!0,o.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l())});var l=function(){var e=r._readableState;a("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&c(r,"data")&&(e.flowing=!0,j(r))};e.on("drain",l);var u=!1;function d(t){a("ondata");var n=e.write(t);a("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==V(o.pipes,e))&&!u&&(a("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function p(t){a("onerror",t),m(),e.removeListener("error",p),0===c(e,"error")&&S(e,t)}function f(){e.removeListener("finish",h),m()}function h(){a("onfinish"),e.removeListener("close",f),m()}function m(){a("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",f),e.once("finish",h),e.emit("pipe",r),o.flowing||(a("pipe resume"),r.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"!==e||o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,a("on readable",o.length,o.reading),o.length?k(this):o.reading||n.nextTick(L,this)),r},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,t){var r=d.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(N,this),r},T.prototype.removeAllListeners=function(e){var t=d.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&n.nextTick(N,this),t},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(M,this,e))),e.paused=!1,this},T.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",function(){if(a("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){a("wrapped data"),r.decoder&&(o=r.decoder.write(o)),(!r.objectMode||null!=o)&&(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i-1))throw new x(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),T.prototype._write=function(e,t,r){r(new g("_write()"))},T.prototype._writev=null,T.prototype.end=function(e,t,r){var o,i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(o=r,i.ending=!0,I(this,i),o&&(i.finished?n.nextTick(o):this.once("finish",o)),i.ended=!0,this.writable=!1),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),T.prototype.destroy=p.destroy,T.prototype._undestroy=p.undestroy,T.prototype._destroy=function(e,t){t(e)}},871:function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i,a=r(698),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),d=Symbol("lastPromise"),p=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var r=e[f].read();null!==r&&(e[d]=null,e[s]=null,e[l]=null,t(h(r,!1)))}}function g(e){n.nextTick(m,e)}var y=Object.getPrototypeOf(function(){}),v=Object.setPrototypeOf((o(i={get stream(){return this[f]},next:function(){var e,t,r=this,o=this[u];if(null!==o)return Promise.reject(o);if(this[c])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise(function(e,t){n.nextTick(function(){r[u]?t(r[u]):e(h(void 0,!0))})});var i=this[d];if(i)t=new Promise((e=this,function(t,r){i.then(function(){if(e[c]){t(h(void 0,!0));return}e[p](t,r)},r)}));else{var a=this[f].read();if(null!==a)return Promise.resolve(h(a,!1));t=new Promise(this[p])}return this[d]=t,t}},Symbol.asyncIterator,function(){return this}),o(i,"return",function(){var e=this;return new Promise(function(t,r){e[f].destroy(null,function(e){if(e){r(e);return}t(h(void 0,!0))})})}),i),y);e.exports=function(e){var t,r=Object.create(v,(o(t={},f,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,p,{value:function(e,t){var n=r[f].read();n?(r[d]=null,r[s]=null,r[l]=null,e(h(n,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[d]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[d]=null,r[s]=null,r[l]=null,t(e)),r[u]=e;return}var n=r[s];null!==n&&(r[d]=null,r[s]=null,r[l]=null,n(h(void 0,!0))),r[c]=!0}),e.on("readable",g.bind(null,r)),r}},379:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var o=r(300).Buffer,i=r(837).inspect,a=i&&i.custom||"inspect";e.exports=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return e=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,r,n=o.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=i.data,r=a,o.prototype.copy.call(t,n,r),a+=i.data.length,i=i.next;return n}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),0==(e-=i)){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0==(e-=a)){a===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(a));break}++n}return this.length-=n,t}},{key:a,value:function(e,t){return i(this,function(e){for(var t=1;t0,u=s=function(e){t||(t=e),e&&f.forEach(l),g||(f.forEach(l),p(t))},d=!1,s=function(){d||(d=!0,u.apply(void 0,arguments))},h=!1,e.on("close",function(){h=!0}),void 0===n&&(n=r(698)),n(e,{readable:g,writable:i},function(e){if(e)return s(e);h=!0,s()}),m=!1,function(t){if(!h&&!m){if(m=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();s(t||new a("pipe"))}}});return c.reduce(u)}},776:function(e,t,r){"use strict";var n=r(646).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,o){var i=null!=t.highWaterMark?t.highWaterMark:o?t[r]:null;if(null!=i){if(!(isFinite(i)&&Math.floor(i)===i)||i<0)throw new n(o?r:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}}},678:function(e,t,r){e.exports=r(781)},55:function(e,t,r){var n=r(300),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},173:function(e,t,r){e.exports=o;var n=r(361).EventEmitter;function o(){n.call(this)}r(782)(o,n),o.Readable=r(709),o.Writable=r(337),o.Duplex=r(403),o.Transform=r(170),o.PassThrough=r(889),o.finished=r(698),o.pipeline=r(442),o.Stream=o,o.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",o),e.removeListener("drain",i),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},704:function(e,t,r){"use strict";var n=r(55).Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:this.write=p,this.end=f;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(o>0&&(e.lastNeed=o-1),o):--n=0?(o>0&&(e.lastNeed=o-2),o):--n=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},769:function(e){e.exports=function(e,r){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}};function t(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},300:function(e){"use strict";e.exports=r(48764)},361:function(e){"use strict";e.exports=r(17187)},781:function(e){"use strict";e.exports=r(17187).EventEmitter},837:function(e){"use strict";e.exports=r(89539)}},o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}},a=!0;try{t[e](n,n.exports,i),a=!1}finally{a&&delete o[e]}return n.exports}i.ab="//";var a=i(173);e.exports=a}()},602:function(e,t,r){!function(){var t={845:function(e,t,n){var o=void 0!==r.g&&r.g||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(505),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==r.g&&r.g.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==r.g&&r.g.clearImmediate||this&&this.clearImmediate},505:function(e){"use strict";e.exports=r(99647)}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}},a=!0;try{t[e].call(i.exports,i,i.exports,o),a=!1}finally{a&&delete n[e]}return i.exports}o.ab="//";var i=o(845);e.exports=i}()},9008:function(e,t,r){e.exports=r(68869)},25675:function(e,t,r){e.exports=r(14141)},41664:function(e,t,r){e.exports=r(15501)},39332:function(e,t,r){e.exports=r(64906)},11163:function(e,t,r){e.exports=r(13510)},4298:function(e,t,r){e.exports=r(87118)},13017:function(e,t,r){"use strict";var n=r(47798);e.exports=function(e,t){if(!n(e)&&"function"!=typeof e)return{};var r={};if("string"==typeof t)return t in e&&(r[t]=e[t]),r;for(var o=t.length,i=-1;++i=0||(o[r]=e[r]);return o}(e,l));return i.createElement("div",u({},t,{ref:this.handleRecaptchaRef}))},t}(i.Component);p.displayName="ReCAPTCHA",p.propTypes={sitekey:s().string.isRequired,onChange:s().func,grecaptcha:s().object,theme:s().oneOf(["dark","light"]),type:s().oneOf(["image","audio"]),tabindex:s().number,onExpired:s().func,onErrored:s().func,size:s().oneOf(["compact","normal","invisible"]),stoken:s().string,hl:s().string,badge:s().oneOf(["bottomright","bottomleft","inline"]),isolated:s().bool},p.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var f=r(8679),h=r.n(f);function m(){return(m=Object.assign||function(e){for(var t=1;t-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=g[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===o.removeOnUnmount&&delete g[e])},a.render=function(){var t=o.globalName,r=this.props,n=(r.asyncScriptOnLoad,r.forwardedRef),a=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(a[t]=void 0!==window[t]?window[t]:void 0),a.ref=n,(0,i.createElement)(e,a)},r}(i.Component),a=(0,i.forwardRef)(function(e,t){return(0,i.createElement)(r,m({},e,{forwardedRef:t}))});return a.displayName="AsyncScriptLoader("+t+")",a.propTypes={asyncScriptOnLoad:s().func},h()(a,e)})(p)},79593:function(e,t){"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");var r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");Symbol.for("react.provider");var i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=(Symbol.for("react.view_transition"),Symbol.for("react.client.reference"));t.iY=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===n||e===l||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===a||e.$$typeof===i||e.$$typeof===s||e.$$typeof===p||void 0!==e.getModuleId)}},60722:function(e,t,r){var n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},d=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),p=(e,t,r)=>(u(e,"symbol"!=typeof t?t+"":t,r),r),f={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(f,{default:()=>v}),e.exports=c(o({},"__esModule",{value:!0}),f);var h=d(r(67294)),m=d(r(69590)),g=r(85741),y=r(38045);class v extends h.Component{constructor(){super(...arguments),p(this,"mounted",!1),p(this,"isReady",!1),p(this,"isPlaying",!1),p(this,"isLoading",!0),p(this,"loadOnReady",null),p(this,"startOnPlay",!0),p(this,"seekOnPlay",null),p(this,"onDurationCalled",!1),p(this,"handlePlayerMount",e=>{if(this.player){this.progress();return}this.player=e,this.player.load(this.props.url),this.progress()}),p(this,"getInternalPlayer",e=>this.player?this.player[e]:null),p(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){let e=this.getCurrentTime()||0,t=this.getSecondsLoaded(),r=this.getDuration();if(r){let n={playedSeconds:e,played:e/r};null!==t&&(n.loadedSeconds=t,n.loaded=t/r),(n.playedSeconds!==this.prevPlayed||n.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(n),this.prevPlayed=n.playedSeconds,this.prevLoaded=n.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),p(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;let{onReady:e,playing:t,volume:r,muted:n}=this.props;e(),n||null===r||this.player.setVolume(r),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):t&&this.player.play(),this.handleDurationCheck()}),p(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;let{onStart:e,onPlay:t,playbackRate:r}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&1!==r&&this.player.setPlaybackRate(r),e(),this.startOnPlay=!1),t(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),p(this,"handlePause",e=>{this.isPlaying=!1,this.isLoading||this.props.onPause(e)}),p(this,"handleEnded",()=>{let{activePlayer:e,loop:t,onEnded:r}=this.props;e.loopOnEnded&&t&&this.seekTo(0),t||(this.isPlaying=!1,r())}),p(this,"handleError",(...e)=>{this.isLoading=!1,this.props.onError(...e)}),p(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);let e=this.getDuration();e?this.onDurationCalled||(this.props.onDuration(e),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),p(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}componentDidUpdate(e){if(!this.player)return;let{url:t,playing:r,volume:n,muted:o,playbackRate:i,pip:a,loop:s,activePlayer:l,disableDeferredLoading:u}=this.props;if(!(0,m.default)(e.url,t)){if(this.isLoading&&!l.forceLoad&&!u&&!(0,y.isMediaStream)(t)){console.warn(`ReactPlayer: the attempt to load ${t} is being deferred until the player has loaded`),this.loadOnReady=t;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(t,this.isReady)}e.playing||!r||this.isPlaying||this.player.play(),e.playing&&!r&&this.isPlaying&&this.player.pause(),!e.pip&&a&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!a&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==n&&null!==n&&this.player.setVolume(n),e.muted!==o&&(o?this.player.mute():(this.player.unmute(),null!==n&&setTimeout(()=>this.player.setVolume(n)))),e.playbackRate!==i&&this.player.setPlaybackRate&&this.player.setPlaybackRate(i),e.loop!==s&&this.player.setLoop&&this.player.setLoop(s)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(e,t,r){if(!this.isReady){0!==e&&(this.seekOnPlay=e,setTimeout(()=>{this.seekOnPlay=null},5e3));return}if(t?"fraction"===t:e>0&&e<1){let t=this.player.getDuration();if(!t){console.warn("ReactPlayer: could not seek using fraction –\xa0duration not yet available");return}this.player.seekTo(t*e,r);return}this.player.seekTo(e,r)}render(){let e=this.props.activePlayer;return e?h.default.createElement(e,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}p(v,"displayName","Player"),p(v,"propTypes",g.propTypes),p(v,"defaultProps",g.defaultProps)},70390:function(e,t,r){var n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},d=(e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),p=(e,t,r)=>(u(e,"symbol"!=typeof t?t+"":t,r),r),f={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(f,{createReactPlayer:()=>D}),e.exports=c(o({},"__esModule",{value:!0}),f);var h=d(r(67294)),m=d(r(9996)),g=d(r(30845)),y=d(r(69590)),v=r(85741),b=r(38045),w=d(r(60722));let E=(0,b.lazy)(()=>r.e(664).then(r.t.bind(r,83855,23))),x="undefined"!=typeof window&&window.document&&"undefined"!=typeof document,S=void 0!==r.g&&r.g.window&&r.g.window.document,C=Object.keys(v.propTypes),O=x||S?h.Suspense:()=>null,T=[],D=(e,t)=>{var r;return r=class extends h.Component{constructor(){super(...arguments),p(this,"state",{showPreview:!!this.props.light}),p(this,"references",{wrapper:e=>{this.wrapper=e},player:e=>{this.player=e}}),p(this,"handleClickPreview",e=>{this.setState({showPreview:!1}),this.props.onClickPreview(e)}),p(this,"showPreview",()=>{this.setState({showPreview:!0})}),p(this,"getDuration",()=>this.player?this.player.getDuration():null),p(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),p(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),p(this,"getInternalPlayer",(e="player")=>this.player?this.player.getInternalPlayer(e):null),p(this,"seekTo",(e,t,r)=>{if(!this.player)return null;this.player.seekTo(e,t,r)}),p(this,"handleReady",()=>{this.props.onReady(this)}),p(this,"getActivePlayer",(0,g.default)(r=>{for(let t of[...T,...e])if(t.canPlay(r))return t;return t||null})),p(this,"getConfig",(0,g.default)((e,t)=>{let{config:r}=this.props;return m.default.all([v.defaultProps.config,v.defaultProps.config[t]||{},r,r[t]||{}])})),p(this,"getAttributes",(0,g.default)(e=>(0,b.omit)(this.props,C))),p(this,"renderActivePlayer",e=>{if(!e)return null;let t=this.getActivePlayer(e);if(!t)return null;let r=this.getConfig(e,t.key);return h.default.createElement(w.default,{...this.props,key:t.key,ref:this.references.player,config:r,activePlayer:t.lazyPlayer||t,onReady:this.handleReady})})}shouldComponentUpdate(e,t){return!(0,y.default)(this.props,e)||!(0,y.default)(this.state,t)}componentDidUpdate(e){let{light:t}=this.props;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}renderPreview(e){if(!e)return null;let{light:t,playIcon:r,previewTabIndex:n,oEmbedUrl:o,previewAriaLabel:i}=this.props;return h.default.createElement(E,{url:e,light:t,playIcon:r,previewTabIndex:n,previewAriaLabel:i,oEmbedUrl:o,onClick:this.handleClickPreview})}render(){let{url:e,style:t,width:r,height:n,fallback:o,wrapper:i}=this.props,{showPreview:a}=this.state,s=this.getAttributes(e),l="string"==typeof i?this.references.wrapper:void 0;return h.default.createElement(i,{ref:l,style:{...t,width:r,height:n},...s},h.default.createElement(O,{fallback:o},a?this.renderPreview(e):this.renderActivePlayer(e)))}},p(r,"displayName","ReactPlayer"),p(r,"propTypes",v.propTypes),p(r,"defaultProps",v.defaultProps),p(r,"addCustomPlayer",e=>{T.push(e)}),p(r,"removeCustomPlayers",()=>{T.length=0}),p(r,"canPlay",t=>{for(let r of[...T,...e])if(r.canPlay(t))return!0;return!1}),p(r,"canEnablePIP",t=>{for(let r of[...T,...e])if(r.canEnablePIP&&r.canEnablePIP(t))return!0;return!1}),r}},22004:function(e,t,r){let n,o,i;var a=Object.create,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))d.call(e,o)||o===r||s(e,o,{get:()=>t[o],enumerable:!(n=l(t,o))||n.enumerable});return e},f={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(f,{default:()=>y}),e.exports=p(s({},"__esModule",{value:!0}),f);var h=(i=null!=(n=r(86497))?a(c(n)):{},p(!o&&n&&n.__esModule?i:s(i,"default",{value:n,enumerable:!0}),n)),m=r(70390);let g=h.default[h.default.length-1];var y=(0,m.createReactPlayer)(h.default,g)},71776:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(s,{AUDIO_EXTENSIONS:()=>S,DASH_EXTENSIONS:()=>T,FLV_EXTENSIONS:()=>D,HLS_EXTENSIONS:()=>O,MATCH_URL_DAILYMOTION:()=>b,MATCH_URL_FACEBOOK:()=>f,MATCH_URL_FACEBOOK_WATCH:()=>h,MATCH_URL_KALTURA:()=>x,MATCH_URL_MIXCLOUD:()=>w,MATCH_URL_MUX:()=>p,MATCH_URL_SOUNDCLOUD:()=>c,MATCH_URL_STREAMABLE:()=>m,MATCH_URL_TWITCH_CHANNEL:()=>v,MATCH_URL_TWITCH_VIDEO:()=>y,MATCH_URL_VIDYARD:()=>E,MATCH_URL_VIMEO:()=>d,MATCH_URL_WISTIA:()=>g,MATCH_URL_YOUTUBE:()=>u,VIDEO_EXTENSIONS:()=>C,canPlay:()=>A}),e.exports=((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of i(t))a.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(s=o(t,l))||s.enumerable});return e})(n({},"__esModule",{value:!0}),s);var l=r(38045);let u=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,c=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,d=/vimeo\.com\/(?!progressive_redirect).+/,p=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,f=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,h=/^https?:\/\/fb\.watch\/.+$/,m=/streamable\.com\/([a-z0-9]+)$/,g=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,y=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,v=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,b=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,w=/mixcloud\.com\/([^/]+\/[^/]+)/,E=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,x=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/,S=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,C=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,O=/\.(m3u8)($|\?)/i,T=/\.(mpd)($|\?)/i,D=/\.(flv)($|\?)/i,P=e=>{if(e instanceof Array){for(let t of e)if("string"==typeof t&&P(t)||P(t.src))return!0;return!1}return!!((0,l.isMediaStream)(e)||(0,l.isBlobUrl)(e))||S.test(e)||C.test(e)||O.test(e)||T.test(e)||D.test(e)},A={youtube:e=>e instanceof Array?e.every(e=>u.test(e)):u.test(e),soundcloud:e=>c.test(e)&&!S.test(e),vimeo:e=>d.test(e)&&!C.test(e)&&!O.test(e),mux:e=>p.test(e),facebook:e=>f.test(e)||h.test(e),streamable:e=>m.test(e),wistia:e=>g.test(e),twitch:e=>y.test(e)||v.test(e),dailymotion:e=>b.test(e),mixcloud:e=>w.test(e),vidyard:e=>E.test(e),kaltura:e=>x.test(e),file:P}},86497:function(e,t,r){var n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(s,{default:()=>c}),e.exports=((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of i(t))a.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(s=o(t,l))||s.enumerable});return e})(n({},"__esModule",{value:!0}),s);var l=r(38045),u=r(71776),c=[{key:"youtube",name:"YouTube",canPlay:u.canPlay.youtube,lazyPlayer:(0,l.lazy)(()=>r.e(439).then(r.t.bind(r,60356,23)))},{key:"soundcloud",name:"SoundCloud",canPlay:u.canPlay.soundcloud,lazyPlayer:(0,l.lazy)(()=>r.e(125).then(r.t.bind(r,72648,23)))},{key:"vimeo",name:"Vimeo",canPlay:u.canPlay.vimeo,lazyPlayer:(0,l.lazy)(()=>r.e(743).then(r.t.bind(r,80868,23)))},{key:"mux",name:"Mux",canPlay:u.canPlay.mux,lazyPlayer:(0,l.lazy)(()=>r.e(258).then(r.t.bind(r,58376,23)))},{key:"facebook",name:"Facebook",canPlay:u.canPlay.facebook,lazyPlayer:(0,l.lazy)(()=>r.e(121).then(r.t.bind(r,31972,23)))},{key:"streamable",name:"Streamable",canPlay:u.canPlay.streamable,lazyPlayer:(0,l.lazy)(()=>r.e(546).then(r.t.bind(r,50993,23)))},{key:"wistia",name:"Wistia",canPlay:u.canPlay.wistia,lazyPlayer:(0,l.lazy)(()=>r.e(55).then(r.t.bind(r,8018,23)))},{key:"twitch",name:"Twitch",canPlay:u.canPlay.twitch,lazyPlayer:(0,l.lazy)(()=>r.e(216).then(r.t.bind(r,29482,23)))},{key:"dailymotion",name:"DailyMotion",canPlay:u.canPlay.dailymotion,lazyPlayer:(0,l.lazy)(()=>r.e(596).then(r.t.bind(r,36807,23)))},{key:"mixcloud",name:"Mixcloud",canPlay:u.canPlay.mixcloud,lazyPlayer:(0,l.lazy)(()=>r.e(667).then(r.t.bind(r,50143,23)))},{key:"vidyard",name:"Vidyard",canPlay:u.canPlay.vidyard,lazyPlayer:(0,l.lazy)(()=>r.e(965).then(r.t.bind(r,36596,23)))},{key:"kaltura",name:"Kaltura",canPlay:u.canPlay.kaltura,lazyPlayer:(0,l.lazy)(()=>r.e(261).then(r.t.bind(r,73911,23)))},{key:"file",name:"FilePlayer",canPlay:u.canPlay.file,canEnablePIP:e=>u.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,l.supportsWebKitPresentationMode)())&&!u.AUDIO_EXTENSIONS.test(e),lazyPlayer:(0,l.lazy)(()=>r.e(11).then(r.t.bind(r,14926,23)))}]},85741:function(e,t,r){let n,o,i;var a=Object.create,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))d.call(e,o)||o===r||s(e,o,{get:()=>t[o],enumerable:!(n=l(t,o))||n.enumerable});return e},f={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(f,{defaultProps:()=>O,propTypes:()=>S}),e.exports=p(s({},"__esModule",{value:!0}),f);let{string:h,bool:m,number:g,array:y,oneOfType:v,shape:b,object:w,func:E,node:x}=(i=null!=(n=r(45697))?a(c(n)):{},p(!o&&n&&n.__esModule?i:s(i,"default",{value:n,enumerable:!0}),n)).default,S={url:v([h,y,w]),playing:m,loop:m,controls:m,volume:g,muted:m,playbackRate:g,width:v([h,g]),height:v([h,g]),style:w,progressInterval:g,playsinline:m,pip:m,stopOnUnmount:m,light:v([m,h,w]),playIcon:x,previewTabIndex:g,previewAriaLabel:h,fallback:x,oEmbedUrl:h,wrapper:v([h,E,b({render:E.isRequired})]),config:b({soundcloud:b({options:w}),youtube:b({playerVars:w,embedOptions:w,onUnstarted:E}),facebook:b({appId:h,version:h,playerId:h,attributes:w}),dailymotion:b({params:w}),vimeo:b({playerOptions:w,title:h}),mux:b({attributes:w,version:h}),file:b({attributes:w,tracks:y,forceVideo:m,forceAudio:m,forceHLS:m,forceSafariHLS:m,forceDisableHls:m,forceDASH:m,forceFLV:m,hlsOptions:w,hlsVersion:h,dashVersion:h,flvVersion:h}),wistia:b({options:w,playerId:h,customControls:y}),mixcloud:b({options:w}),twitch:b({options:w,playerId:h}),vidyard:b({options:w})}),onReady:E,onStart:E,onPlay:E,onPause:E,onBuffer:E,onBufferEnd:E,onEnded:E,onError:E,onDuration:E,onSeek:E,onPlaybackRateChange:E,onPlaybackQualityChange:E,onProgress:E,onClickPreview:E,onEnablePIP:E,onDisablePIP:E},C=()=>{},O={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:C},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:C,onStart:C,onPlay:C,onPause:C,onBuffer:C,onBufferEnd:C,onEnded:C,onError:C,onDuration:C,onSeek:C,onPlaybackRateChange:C,onPlaybackQualityChange:C,onProgress:C,onClickPreview:C,onEnablePIP:C,onDisablePIP:C}},38045:function(e,t,r){var n=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||o(e,s,{get:()=>t[s],enumerable:!(n=i(t,s))||n.enumerable});return e},c=(e,t,r)=>(r=null!=e?n(s(e)):{},u(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),d={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(d,{callPlayer:()=>k,getConfig:()=>P,getSDK:()=>D,isBlobUrl:()=>I,isMediaStream:()=>R,lazy:()=>m,omit:()=>A,parseEndTime:()=>x,parseStartTime:()=>E,queryString:()=>C,randomString:()=>S,supportsWebKitPresentationMode:()=>_}),e.exports=u(o({},"__esModule",{value:!0}),d);var p=c(r(67294)),f=c(r(49090)),h=c(r(9996));let m=e=>p.default.lazy(async()=>{let t=await e();return"function"==typeof t.default?t:t.default}),g=/[?&#](?:start|t)=([0-9hms]+)/,y=/[?&#]end=([0-9hms]+)/,v=/(\d+)(h|m|s)/g,b=/^\d+$/;function w(e,t){if(e instanceof Array)return;let r=e.match(t);if(r){let e=r[1];if(e.match(v))return function(e){let t=0,r=v.exec(e);for(;null!==r;){let[,n,o]=r;"h"===o&&(t+=3600*parseInt(n,10)),"m"===o&&(t+=60*parseInt(n,10)),"s"===o&&(t+=parseInt(n,10)),r=v.exec(e)}return t}(e);if(b.test(e))return parseInt(e)}}function E(e){return w(e,g)}function x(e){return w(e,y)}function S(){return Math.random().toString(36).substr(2,5)}function C(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function O(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}let T={},D=function(e,t,r=null,n=()=>!0,o=f.default){let i=O(t);return i&&n(i)?Promise.resolve(i):new Promise((n,i)=>{if(T[e]){T[e].push({resolve:n,reject:i});return}T[e]=[{resolve:n,reject:i}];let a=t=>{T[e].forEach(e=>e.resolve(t))};if(r){let e=window[r];window[r]=function(){e&&e(),a(O(t))}}o(e,n=>{n?(T[e].forEach(e=>e.reject(n)),T[e]=null):r||a(O(t))})})};function P(e,t){return(0,h.default)(t.config,e.config)}function A(e,...t){let r=[].concat(...t),n={};for(let t of Object.keys(e))-1===r.indexOf(t)&&(n[t]=e[t]);return n}function k(e,...t){if(!this.player||!this.player[e]){let t=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c \u2013 `;return this.player?this.player[e]||(t+="The method was not available"):t+="The player was not available",console.warn(t,"font-weight: bold",""),null}return this.player[e](...t)}function R(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream}function I(e){return/^blob:/.test(e)}function _(e=document.createElement("video")){let t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t}},8205:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var o=s(r(67294)),i=s(r(93967)),a=r(15518);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t=w&&f<=v:f===w}),x={message:"dots",index:g,slidesToScroll:c,currentSlide:f},S=this.clickHandler.bind(this,x);m=m.concat(o.default.createElement("li",{key:g,className:E},o.default.cloneElement(this.props.customPaging(g),{onClick:S})))}return o.default.cloneElement(this.props.appendDots(m),function(e){for(var t=1;t0&&(t.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var r=g({listRef:t.list,trackRef:t.track},t.props);t.updateState(r,!0,function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")}),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default(function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout(function(){return t.onWindowResized()},t.props.speed))):t.onWindowResized()}),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)}),w(v(t),"componentWillUnmount",function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach(function(e){return clearTimeout(e)}),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()}),w(v(t),"componentDidUpdate",function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var r=(0,s.getOnDemandLazySlides)(g(g({},t.props),t.state));r.length>0&&(t.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(r)}}),t.props.onLazyLoad&&t.props.onLazyLoad(r))}t.adaptHeight();var o=g(g({listRef:t.list,trackRef:t.track},t.props),t.state),i=t.didPropsChange(e);i&&t.updateState(o,i,function(){t.state.currentSlide>=n.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:n.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")})}),w(v(t),"onWindowResized",function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,i.default)(function(){return t.resizeWindow(e)},50),t.debouncedResize()}),w(v(t),"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(t.track&&t.track.node){var r=g(g({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(r,e,function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")}),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}}),w(v(t),"updateState",function(e,r,o){var i=(0,s.initializedState)(e);e=g(g(g({},e),i),{},{slideIndex:i.currentSlide});var a=(0,s.getTrackLeft)(e);e=g(g({},e),{},{left:a});var l=(0,s.getTrackCSS)(e);(r||n.default.Children.count(t.props.children)!==n.default.Children.count(e.children))&&(i.trackStyle=l),t.setState(i,o)}),w(v(t),"ssrInit",function(){if(t.props.variableWidth){var e=0,r=0,o=[],i=(0,s.getPreClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,s.getPostClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach(function(t){o.push(t.props.style.width),e+=t.props.style.width});for(var l=0;l=r&&t.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=o,e.onerror=function(){o(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))})}),w(v(t),"progressiveLazyLoad",function(){for(var e=[],r=g(g({},t.props),t.state),n=t.state.currentSlide;nt.state.lazyLoadedList.indexOf(n)){e.push(n);break}for(var o=t.state.currentSlide-1;o>=-(0,s.getPreClones)(r);o--)if(0>t.state.lazyLoadedList.indexOf(o)){e.push(o);break}e.length>0?(t.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)}),w(v(t),"slideHandler",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.props,o=n.asNavFor,i=n.beforeChange,a=n.onLazyLoad,l=n.speed,u=n.afterChange,c=t.state.currentSlide,d=(0,s.slideHandler)(g(g(g({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!r})),p=d.state,f=d.nextState;if(p){i&&i(c,p.currentSlide);var h=p.lazyLoadedList.filter(function(e){return 0>t.state.lazyLoadedList.indexOf(e)});a&&h.length>0&&a(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),u&&u(c),delete t.animationEndCallback),t.setState(p,function(){o&&t.asNavForIndex!==e&&(t.asNavForIndex=e,o.innerSlider.slideHandler(e)),f&&(t.animationEndCallback=setTimeout(function(){var e=f.animating,r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(f,["animating"]);t.setState(r,function(){t.callbackTimers.push(setTimeout(function(){return t.setState({animating:e})},10)),u&&u(p.currentSlide),delete t.animationEndCallback})},l))})}}),w(v(t),"changeSlide",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=g(g({},t.props),t.state),o=(0,s.changeSlide)(n,e);if((0===o||o)&&(!0===r?t.slideHandler(o,r):t.slideHandler(o),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var i=t.list.querySelectorAll(".slick-current");i[0]&&i[0].focus()}}),w(v(t),"clickHandler",function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0}),w(v(t),"keyHandler",function(e){var r=(0,s.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==r&&t.changeSlide({message:r})}),w(v(t),"selectHandler",function(e){t.changeSlide(e)}),w(v(t),"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),w(v(t),"enableBodyScroll",function(){window.ontouchmove=null}),w(v(t),"swipeStart",function(e){t.props.verticalSwiping&&t.disableBodyScroll();var r=(0,s.swipeStart)(e,t.props.swipe,t.props.draggable);""!==r&&t.setState(r)}),w(v(t),"swipeMove",function(e){var r=(0,s.swipeMove)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));r&&(r.swiping&&(t.clickable=!1),t.setState(r))}),w(v(t),"swipeEnd",function(e){var r=(0,s.swipeEnd)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(r){var n=r.triggerSlideHandler;delete r.triggerSlideHandler,t.setState(r),void 0!==n&&(t.slideHandler(n),t.props.verticalSwiping&&t.enableBodyScroll())}}),w(v(t),"touchEnd",function(e){t.swipeEnd(e),t.clickable=!0}),w(v(t),"slickPrev",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"previous"})},0))}),w(v(t),"slickNext",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"next"})},0))}),w(v(t),"slickGoTo",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},r)},0))}),w(v(t),"play",function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,s.canGoNext)(g(g({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)}),w(v(t),"autoPlay",function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var r=t.state.autoplaying;if("update"===e){if("hovered"===r||"focused"===r||"paused"===r)return}else if("leave"===e){if("paused"===r||"focused"===r)return}else if("blur"===e&&("paused"===r||"hovered"===r))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})}),w(v(t),"pause",function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var r=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?("hovered"===r||"playing"===r)&&t.setState({autoplaying:"focused"}):"playing"===r&&t.setState({autoplaying:"hovered"})}),w(v(t),"onDotsOver",function(){return t.props.autoplay&&t.pause("hovered")}),w(v(t),"onDotsLeave",function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")}),w(v(t),"onTrackOver",function(){return t.props.autoplay&&t.pause("hovered")}),w(v(t),"onTrackLeave",function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")}),w(v(t),"onSlideFocus",function(){return t.props.autoplay&&t.pause("focused")}),w(v(t),"onSlideBlur",function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")}),w(v(t),"render",function(){var e,r,o,i=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=g(g({},t.props),t.state),p=(0,s.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),f=t.props.pauseOnHover;if(p=g(g({},p),{},{onMouseEnter:f?t.onTrackOver:null,onMouseLeave:f?t.onTrackLeave:null,onMouseOver:f?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var m=(0,s.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;m=g(g({},m),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=n.default.createElement(u.Dots,m)}var v=(0,s.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);v.clickHandler=t.changeSlide,t.props.arrows&&(r=n.default.createElement(c.PrevArrow,v),o=n.default.createElement(c.NextArrow,v));var b=null;t.props.vertical&&(b={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var E=g(g({},b),w),x=t.props.touchMove,S={className:"slick-list",style:E,onClick:t.clickHandler,onMouseDown:x?t.swipeStart:null,onMouseMove:t.state.dragging&&x?t.swipeMove:null,onMouseUp:x?t.swipeEnd:null,onMouseLeave:t.state.dragging&&x?t.swipeEnd:null,onTouchStart:x?t.swipeStart:null,onTouchMove:t.state.dragging&&x?t.swipeMove:null,onTouchEnd:x?t.touchEnd:null,onTouchCancel:t.state.dragging&&x?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},C={className:i,dir:"ltr",style:t.props.style};return t.props.unslick&&(S={className:"slick-list"},C={className:i}),n.default.createElement("div",C,t.props.unslick?"":r,n.default.createElement("div",h({ref:t.listRefHandler},S),n.default.createElement(l.Track,h({ref:t.trackRefHandler},p),t.props.children)),t.props.unslick?"":o,t.props.unslick?"":e)}),t.list=null,t.track=null,t.state=g(g({},o.default),{},{currentSlide:t.props.initialSlide,slideCount:n.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var t,r=t.ssrInit();return t.state=g(g({},t.state),r),t}return r=[{key:"didPropsChange",value:function(e){for(var t=!1,r=0,o=Object.keys(this.props);r1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,r)}),g(h(t),"slickPause",function(){return t.innerSlider.pause("paused")}),g(h(t),"slickPlay",function(){return t.innerSlider.autoPlay("play")}),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return r=[{key:"media",value:function(e,t){y.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(r,n){var o;o=0===n?(0,a.default)({minWidth:0,maxWidth:r}):(0,a.default)({minWidth:t[n-1]+1,maxWidth:r}),(0,l.canUseDOM)()&&e.media(o,function(){e.setState({breakpoint:r})})});var r=(0,a.default)({minWidth:t.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(r,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){y.unregister(e.query,e.handler)})}},{key:"render",value:function(){var e,t,r=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===r.state.breakpoint}))[0].settings?"unslick":p(p(p({},s.default),this.props),t[0].settings):p(p({},s.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var n=o.default.Children.toArray(this.props.children);n=n.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a=[],l=null,u=0;u=n.length));m+=1)h.push(o.default.cloneElement(n[m],{key:100*u+10*f+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(o.default.createElement("div",{key:10*u+f},h))}e.variableWidth?a.push(o.default.createElement("div",{key:u,style:{width:l}},d)):a.push(o.default.createElement("div",{key:u},d))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return o.default.createElement("div",{className:g},n)}return a.length<=e.slidesToShow&&(e.unslick=!0),o.default.createElement(i.InnerSlider,c({style:this.props.style,ref:this.innerSliderRefHandler},e),a)}}],function(e,t){for(var r=0;r=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),r=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},g=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},y=function(e,t){return e.key||t},v=function(e){var t,r=[],n=[],s=[],l=o.default.Children.count(e.children),u=(0,a.lazyStartIndex)(e),c=(0,a.lazyEndIndex)(e);return(o.default.Children.forEach(e.children,function(d,p){var h,v={message:"children",index:p,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};h=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(p)>=0?d:o.default.createElement("div",null);var b=g(f(f({},e),{},{index:p})),w=h.props.className||"",E=m(f(f({},e),{},{index:p}));if(r.push(o.default.cloneElement(h,{key:"original"+y(h,p),"data-index":p,className:(0,i.default)(E,w),tabIndex:"-1","aria-hidden":!E["slick-active"],style:f(f({outline:"none"},h.props.style||{}),b),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(v)}})),e.infinite&&!1===e.fade){var x=l-p;x<=(0,a.getPreClones)(e)&&l!==e.slidesToShow&&((t=-x)>=u&&(h=d),E=m(f(f({},e),{},{index:t})),n.push(o.default.cloneElement(h,{key:"precloned"+y(h,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(E,w),"aria-hidden":!E["slick-active"],style:f(f({},h.props.style||{}),b),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(v)}}))),l!==e.slidesToShow&&((t=l+p)e.lazyLoadedList.indexOf(o)&&t.push(o);return t};t.getOnDemandLazySlides=u,t.getRequiredLazySlides=function(e){for(var t=[],r=c(e),n=d(e),o=r;o0?1:0):0};t.lazySlidesOnLeft=p;var f=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=f;var h=function(e){return e&&e.offsetWidth||0};t.getWidth=h;var m=function(e){return e&&e.offsetHeight||0};t.getHeight=m;var g=function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(t=e.startX-e.curX,(r=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315)?"left":r>=135&&r<=225?"right":!0===n?r>=35&&r<=135?"up":"down":"vertical"};t.getSwipeDirection=g;var y=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t};t.canGoNext=y,t.extractObject=function(e,t){var r={};return t.forEach(function(t){return r[t]=e[t]}),r},t.initializedState=function(e){var t,r=o.default.Children.count(e.children),n=e.listRef,i=Math.ceil(h(n)),s=Math.ceil(h(e.trackRef&&e.trackRef.node));if(e.vertical)t=i;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=i/100),t=Math.ceil((i-l)/e.slidesToShow)}var c=n&&m(n.querySelector('[data-index="0"]')),d=c*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=r-1-e.initialSlide);var f=e.lazyLoadedList||[],g=u(a(a({},e),{},{currentSlide:p,lazyLoadedList:f})),y={slideCount:r,slideWidth:t,listWidth:i,trackWidth:s,currentSlide:p,slideHeight:c,listHeight:d,lazyLoadedList:f=f.concat(g)};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y},t.slideHandler=function(e){var t=e.waitForAnimate,r=e.animating,n=e.fade,o=e.infinite,i=e.index,l=e.slideCount,c=e.lazyLoad,d=e.currentSlide,p=e.centerMode,f=e.slidesToScroll,h=e.slidesToShow,m=e.useCSS,g=e.lazyLoadedList;if(t&&r)return{};var v,b,w,E=i,O={},T={},D=o?i:s(i,0,l-1);if(n){if(!o&&(i<0||i>=l))return{};i<0?E=i+l:i>=l&&(E=i-l),c&&0>g.indexOf(E)&&(g=g.concat(E)),O={animating:!0,currentSlide:E,lazyLoadedList:g,targetSlide:E},T={animating:!1,targetSlide:E}}else v=E,E<0?(v=E+l,o?l%f!=0&&(v=l-l%f):v=0):!y(e)&&E>d?E=v=d:p&&E>=l?(E=o?l:l-1,v=o?0:l-1):E>=l&&(v=E-l,o?l%f!=0&&(v=0):v=l-h),!o&&E+h>=l&&(v=l-h),b=C(a(a({},e),{},{slideIndex:E})),w=C(a(a({},e),{},{slideIndex:v})),o||(b===w&&(E=v),b=w),c&&(g=g.concat(u(a(a({},e),{},{currentSlide:E})))),m?(O={animating:!0,currentSlide:v,trackStyle:S(a(a({},e),{},{left:b})),lazyLoadedList:g,targetSlide:D},T={animating:!1,currentSlide:v,trackStyle:x(a(a({},e),{},{left:w})),swipeLeft:null,targetSlide:D}):O={currentSlide:v,trackStyle:x(a(a({},e),{},{left:w})),lazyLoadedList:g,targetSlide:D};return{state:O,nextState:T}},t.changeSlide=function(e,t){var r,n,o,i,s=e.slidesToScroll,l=e.slidesToShow,u=e.slideCount,c=e.currentSlide,d=e.targetSlide,p=e.lazyLoad,f=e.infinite;if(r=u%s!=0?0:(u-c)%s,"previous"===t.message)i=c-(o=0===r?s:l-r),p&&!f&&(i=-1==(n=c-o)?u-1:n),f||(i=d-s);else if("next"===t.message)i=c+(o=0===r?s:r),p&&!f&&(i=(c+s)%u+r),f||(i=d+s);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,f){var h=P(a(a({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===h?i-=u:i10)return{scrolling:!0};s&&(E.swipeLength=k);var R=(u?-1:1)*(E.curX>E.startX?1:-1);s&&(R=E.curY>E.startY?1:-1);var I=Math.ceil(v/b),_=g(t.touchObject,s),N=E.swipeLength;return!w&&(0===c&&("right"===_||"down"===_)||c+1>=I&&("left"===_||"up"===_)||!y(t)&&("left"===_||"up"===_))&&(N=E.swipeLength*d,!1===p&&f&&(f(_),P.edgeDragged=!0)),!h&&S&&(S(_),P.swiped=!0),D=o?A+O/T*N*R:u?A-N*R:A+N*R,s&&(D=A+N*R),P=a(a({},P),{},{touchObject:E,swipeLeft:D,trackStyle:x(a(a({},t),{},{left:D}))}),Math.abs(E.curX-E.startX)<.8*Math.abs(E.curY-E.startY)||E.swipeLength>10&&(P.swiping=!0,l(e)),P}},t.swipeEnd=function(e,t){var r=t.dragging,n=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,u=t.verticalSwiping,c=t.listHeight,d=t.swipeToSlide,p=t.scrolling,f=t.onSwipe,h=t.targetSlide,m=t.currentSlide,y=t.infinite;if(!r)return n&&l(e),{};var v=u?c/s:i/s,E=g(o,u),x={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p||!o.swipeLength)return x;if(o.swipeLength>v){l(e),f&&f(E);var O,T,D=y?m:h;switch(E){case"left":case"up":T=D+w(t),O=d?b(t,T):T,x.currentDirection=0;break;case"right":case"down":T=D-w(t),O=d?b(t,T):T,x.currentDirection=1;break;default:O=D}x.triggerSlideHandler=O}else{var P=C(t);x.trackStyle=S(a(a({},t),{},{left:P}))}return x};var v=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,r=e.infinite?-1*e.slidesToShow:0,n=e.infinite?-1*e.slidesToShow:0,o=[];rr[r.length-1])t=r[r.length-1];else for(var o in r){if(t-1*e.swipeLeft)return r=n,!1}else if(n.offsetLeft-t+h(n)/2>-1*e.swipeLeft)return r=n,!1;return!0}),!r)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(r.dataset.index-o)||1};t.getSlideCount=w;var E=function(e,t){return t.reduce(function(t,r){return t&&e.hasOwnProperty(r)},!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=E;var x=function(e){E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,r,n=e.slideCount+2*e.slidesToShow;e.vertical?r=n*e.slideHeight:t=D(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=a(a({},o),{},{WebkitTransform:i,transform:s,msTransform:l})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),r&&(o.height=r),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o};t.getTrackCSS=x;var S=function(e){E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=x(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=S;var C=function(e){if(e.unslick)return 0;E(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,r=e.trackRef,n=e.infinite,o=e.centerMode,i=e.slideCount,a=e.slidesToShow,s=e.slidesToScroll,l=e.slideWidth,u=e.listWidth,c=e.variableWidth,d=e.slideHeight,p=e.fade,f=e.vertical,h=0,m=0;if(p||1===e.slideCount)return 0;var g=0;if(n?(g=-O(e),i%s!=0&&t+s>i&&(g=-(t>i?a-(t-i):i%s)),o&&(g+=parseInt(a/2))):(i%s!=0&&t+s>i&&(g=a-i%s),o&&(g=parseInt(a/2))),h=g*l,m=g*d,y=f?-(t*d*1)+m:-(t*l*1)+h,!0===c){var y,v,b,w=r&&r.node;if(b=t+O(e),y=(v=w&&w.childNodes[b])?-1*v.offsetLeft:0,!0===o){b=n?t+O(e):t,v=w&&w.children[b],y=0;for(var x=0;xe.currentSlide?e.targetSlide>e.currentSlide+A(e)?"left":"right":e.targetSlide0&&(i+=1),n&&t%2==0&&(i+=1),i}return n?0:t-1};t.slidesOnRight=A;var k=function(e){var t=e.slidesToShow,r=e.centerMode,n=e.rtl,o=e.centerPadding;if(r){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),n||t%2!=0||(i+=1),i}return n?t-1:0};t.slidesOnLeft=k,t.canUseDOM=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}},98885:function(e,t,r){"use strict";r.d(t,{ZP:function(){return y}});var n=r(63366),o=r(75068),i=r(67294),a=r(73935),s={disabled:!1},l=r(220),u=r(59391),c="unmounted",d="exited",p="entering",f="entered",h="exiting",m=function(e){function t(t,r){n=e.call(this,t,r)||this;var n,o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=d,n.appearStatus=p):o=f:o=t.unmountOnExit||t.mountOnEnter?c:d,n.state={status:o},n.nextCallback=null,n}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:d}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==p&&r!==f&&(t=p):(r===p||r===f)&&(t=h)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);r&&(0,u.Q)(r)}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:c})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[a.findDOMNode(this),n],i=o[0],l=o[1],u=this.getTimeouts(),c=n?u.appear:u.enter;if(!e&&!r||s.disabled){this.safeSetState({status:f},function(){t.props.onEntered(i)});return}this.props.onEnter(i,l),this.safeSetState({status:p},function(){t.props.onEntering(i,l),t.onTransitionEnd(c,function(){t.safeSetState({status:f},function(){t.props.onEntered(i,l)})})})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:a.findDOMNode(this);if(!t||s.disabled){this.safeSetState({status:d},function(){e.props.onExited(n)});return}this.props.onExit(n),this.safeSetState({status:h},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:d},function(){e.props.onExited(n)})})})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(!r||n){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],s=o[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)},r.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,r=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(l.Z.Provider,{value:null},"function"==typeof r?r(e,o):i.cloneElement(i.Children.only(r),o))},t}(i.Component);function g(){}m.contextType=l.Z,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},m.UNMOUNTED=c,m.EXITED=d,m.ENTERING=p,m.ENTERED=f,m.EXITING=h;var y=m},89747:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(63366),o=r(87462),i=r(75068),a=r(67294),s=r(220);function l(e,t){var r=Object.create(null);return e&&a.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,a.isValidElement)(e)?t(e):e}),r}function u(e,t,r){return null!=r[t]?r[t]:e.props[t]}var c=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},d=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}(0,i.Z)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?l(e.children,function(t){return(0,a.cloneElement)(t,{onExited:i.bind(null,t),in:!0,appear:u(t,"appear",e),enter:u(t,"enter",e),exit:u(t,"exit",e)})}):(Object.keys(n=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;s.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var r=0,n=Object.keys(t);r0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,E=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var r=new b(t,u.getInstance(),this);w.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});var x=void 0!==i.ResizeObserver?i.ResizeObserver:E;t.default=x},89509:function(e,t,r){var n=r(48764),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},79246:function(e,t,r){"use strict";var n=r(17379),o=r(98420),i=n("RegExp.prototype.exec"),a=r(14453);e.exports=function(e){if(!o(e))throw new a("`regex` must be a RegExp");return function(t){return null!==i(e,t)}}},95385:function(e,t){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"===n?(C(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=E.TEXT):(b(n)&&(this.state=E.SGML_DECL_QUOTED),this.sgmlDecl+=n);continue;case E.SGML_DECL_QUOTED:n===this.q&&(this.state=E.SGML_DECL,this.q=""),this.sgmlDecl+=n;continue;case E.DOCTYPE:">"===n?(this.state=E.TEXT,C(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=n,"["===n?this.state=E.DOCTYPE_DTD:b(n)&&(this.state=E.DOCTYPE_QUOTED,this.q=n));continue;case E.DOCTYPE_QUOTED:this.doctype+=n,n===this.q&&(this.q="",this.state=E.DOCTYPE);continue;case E.DOCTYPE_DTD:"]"===n?(this.doctype+=n,this.state=E.DOCTYPE):"<"===n?(this.state=E.OPEN_WAKA,this.startTagPosition=this.position):b(n)?(this.doctype+=n,this.state=E.DOCTYPE_DTD_QUOTED,this.q=n):this.doctype+=n;continue;case E.DOCTYPE_DTD_QUOTED:this.doctype+=n,n===this.q&&(this.state=E.DOCTYPE_DTD,this.q="");continue;case E.COMMENT:"-"===n?this.state=E.COMMENT_ENDING:this.comment+=n;continue;case E.COMMENT_ENDING:"-"===n?(this.state=E.COMMENT_ENDED,this.comment=T(this.opt,this.comment),this.comment&&C(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+n,this.state=E.COMMENT);continue;case E.COMMENT_ENDED:">"!==n?(A(this,"Malformed comment"),this.comment+="--"+n,this.state=E.COMMENT):this.doctype&&!0!==this.doctype?this.state=E.DOCTYPE_DTD:this.state=E.TEXT;continue;case E.CDATA:"]"===n?this.state=E.CDATA_ENDING:this.cdata+=n;continue;case E.CDATA_ENDING:"]"===n?this.state=E.CDATA_ENDING_2:(this.cdata+="]"+n,this.state=E.CDATA);continue;case E.CDATA_ENDING_2:">"===n?(this.cdata&&C(this,"oncdata",this.cdata),C(this,"onclosecdata"),this.cdata="",this.state=E.TEXT):"]"===n?this.cdata+="]":(this.cdata+="]]"+n,this.state=E.CDATA);continue;case E.PROC_INST:"?"===n?this.state=E.PROC_INST_ENDING:v(n)?this.state=E.PROC_INST_BODY:this.procInstName+=n;continue;case E.PROC_INST_BODY:!this.procInstBody&&v(n)||("?"===n?this.state=E.PROC_INST_ENDING:this.procInstBody+=n);continue;case E.PROC_INST_ENDING:">"===n?(C(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=E.TEXT):(this.procInstBody+="?"+n,this.state=E.PROC_INST_BODY);continue;case E.OPEN_TAG:w(m,n)?this.tagName+=n:(function(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,r=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(r.ns=t.ns),e.attribList.length=0,C(e,"onopentagstart",r)}(this),">"===n?I(this):"/"===n?this.state=E.OPEN_TAG_SLASH:(v(n)||A(this,"Invalid character in tag name"),this.state=E.ATTRIB));continue;case E.OPEN_TAG_SLASH:">"===n?(I(this,!0),_(this)):(A(this,"Forward-slash in opening tag not followed by >"),this.state=E.ATTRIB);continue;case E.ATTRIB:v(n)||(">"===n?I(this):"/"===n?this.state=E.OPEN_TAG_SLASH:w(h,n)?(this.attribName=n,this.attribValue="",this.state=E.ATTRIB_NAME):A(this,"Invalid attribute name"));continue;case E.ATTRIB_NAME:"="===n?this.state=E.ATTRIB_VALUE:">"===n?(A(this,"Attribute without value"),this.attribValue=this.attribName,R(this),I(this)):v(n)?this.state=E.ATTRIB_NAME_SAW_WHITE:w(m,n)?this.attribName+=n:A(this,"Invalid attribute name");continue;case E.ATTRIB_NAME_SAW_WHITE:"="===n?this.state=E.ATTRIB_VALUE:v(n)||(A(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",C(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===n?I(this):w(h,n)?(this.attribName=n,this.state=E.ATTRIB_NAME):(A(this,"Invalid attribute name"),this.state=E.ATTRIB));continue;case E.ATTRIB_VALUE:v(n)||(b(n)?(this.q=n,this.state=E.ATTRIB_VALUE_QUOTED):(this.opt.unquotedAttributeValues||D(this,"Unquoted attribute value"),this.state=E.ATTRIB_VALUE_UNQUOTED,this.attribValue=n));continue;case E.ATTRIB_VALUE_QUOTED:if(n!==this.q){"&"===n?this.state=E.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=n;continue}R(this),this.q="",this.state=E.ATTRIB_VALUE_CLOSED;continue;case E.ATTRIB_VALUE_CLOSED:v(n)?this.state=E.ATTRIB:">"===n?I(this):"/"===n?this.state=E.OPEN_TAG_SLASH:w(h,n)?(A(this,"No whitespace between attributes"),this.attribName=n,this.attribValue="",this.state=E.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case E.ATTRIB_VALUE_UNQUOTED:if(!(">"===(i=n)||v(i))){"&"===n?this.state=E.ATTRIB_VALUE_ENTITY_U:this.attribValue+=n;continue}R(this),">"===n?I(this):this.state=E.ATTRIB;continue;case E.CLOSE_TAG:this.tagName?">"===n?_(this):w(m,n)?this.tagName+=n:this.script?(this.script+=""===n?_(this):A(this,"Invalid characters in closing tag");continue;case E.TEXT_ENTITY:case E.ATTRIB_VALUE_ENTITY_Q:case E.ATTRIB_VALUE_ENTITY_U:switch(this.state){case E.TEXT_ENTITY:a=E.TEXT,l="textNode";break;case E.ATTRIB_VALUE_ENTITY_Q:a=E.ATTRIB_VALUE_QUOTED,l="attribValue";break;case E.ATTRIB_VALUE_ENTITY_U:a=E.ATTRIB_VALUE_UNQUOTED,l="attribValue"}if(";"===n){var i,a,l,u=function(e){var t,r=e.entity,n=r.toLowerCase(),o="";return e.ENTITIES[r]?e.ENTITIES[r]:e.ENTITIES[n]?e.ENTITIES[n]:("#"===(r=n).charAt(0)&&(o="x"===r.charAt(1)?(t=parseInt(r=r.slice(2),16)).toString(16):(t=parseInt(r=r.slice(1),10)).toString(10)),r=r.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==r)?(A(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t)}(this);this.opt.unparsedEntities&&!Object.values(e.XML_ENTITIES).includes(u)?(this.entity="",this.state=a,this.write(u)):(this[l]+=u,this.entity="",this.state=a)}else w(this.entity.length?y:g,n)?this.entity+=n:(A(this,"Invalid character in entity name"),this[l]+="&"+this.entity+n,this.entity="",this.state=a);continue;default:throw Error(this,"Unknown state: "+this.state)}return this.position>=this.bufferCheckPosition&&function(t){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),n=0,o=0,i=s.length;or)switch(s[o]){case"textNode":O(t);break;case"cdata":C(t,"oncdata",t.cdata),t.cdata="";break;case"script":C(t,"onscript",t.script),t.script="";break;default:D(t,"Max buffer length exceeded: "+s[o])}n=Math.max(n,a)}var l=e.MAX_BUFFER_LENGTH-n;t.bufferCheckPosition=l+t.position}(this),this},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){O(this),""!==this.cdata&&(C(this,"oncdata",this.cdata),this.cdata=""),""!==this.script&&(C(this,"onscript",this.script),this.script="")}};try{a=r(79681).Stream}catch(e){a=function(){}}a||(a=function(){});var u=e.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});function c(e,t){if(!(this instanceof c))return new c(e,t);a.apply(this),this._parser=new l(e,t),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit("end")},this._parser.onerror=function(e){r.emit("error",e),r._parser.error=null},this._decoder=null,u.forEach(function(e){Object.defineProperty(r,"on"+e,{get:function(){return r._parser["on"+e]},set:function(t){if(!t)return r.removeAllListeners(e),r._parser["on"+e]=t,t;r.on(e,t)},enumerable:!0,configurable:!1})})}c.prototype=Object.create(a.prototype,{constructor:{value:c}}),c.prototype.write=function(e){if("function"==typeof n&&"function"==typeof n.isBuffer&&n.isBuffer(e)){if(!this._decoder){var t=r(32553).s;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},c.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},c.prototype.on=function(e,t){var r=this;return r._parser["on"+e]||-1===u.indexOf(e)||(r._parser["on"+e]=function(){var t=1==arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),r.emit.apply(r,t)}),a.prototype.on.call(r,e,t)};var d="http://www.w3.org/XML/1998/namespace",p="http://www.w3.org/2000/xmlns/",f={xml:d,xmlns:p},h=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,g=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,y=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function v(e){return" "===e||"\n"===e||"\r"===e||" "===e}function b(e){return'"'===e||"'"===e}function w(e,t){return e.test(t)}var E=0;for(var x in e.STATE={BEGIN:E++,BEGIN_WHITESPACE:E++,TEXT:E++,TEXT_ENTITY:E++,OPEN_WAKA:E++,SGML_DECL:E++,SGML_DECL_QUOTED:E++,DOCTYPE:E++,DOCTYPE_QUOTED:E++,DOCTYPE_DTD:E++,DOCTYPE_DTD_QUOTED:E++,COMMENT_STARTING:E++,COMMENT:E++,COMMENT_ENDING:E++,COMMENT_ENDED:E++,CDATA:E++,CDATA_ENDING:E++,CDATA_ENDING_2:E++,PROC_INST:E++,PROC_INST_BODY:E++,PROC_INST_ENDING:E++,OPEN_TAG:E++,OPEN_TAG_SLASH:E++,ATTRIB:E++,ATTRIB_NAME:E++,ATTRIB_NAME_SAW_WHITE:E++,ATTRIB_VALUE:E++,ATTRIB_VALUE_QUOTED:E++,ATTRIB_VALUE_CLOSED:E++,ATTRIB_VALUE_UNQUOTED:E++,ATTRIB_VALUE_ENTITY_Q:E++,ATTRIB_VALUE_ENTITY_U:E++,CLOSE_TAG:E++,CLOSE_TAG_SAW_WHITE:E++,SCRIPT:E++,SCRIPT_ENDING:E++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach(function(t){var r=e.ENTITIES[t],n="number"==typeof r?String.fromCharCode(r):r;e.ENTITIES[t]=n}),e.STATE)e.STATE[e.STATE[x]]=x;function S(e,t,r){e[t]&&e[t](r)}function C(e,t,r){e.textNode&&O(e),S(e,t,r)}function O(e){e.textNode=T(e.opt,e.textNode),e.textNode&&S(e,"ontext",e.textNode),e.textNode=""}function T(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function D(e,t){return O(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=Error(t),e.error=t,S(e,"onerror",t),e}function P(e){return e.sawRoot&&!e.closedRoot&&A(e,"Unclosed root tag"),e.state!==E.BEGIN&&e.state!==E.BEGIN_WHITESPACE&&e.state!==E.TEXT&&D(e,"Unexpected end"),O(e),e.c="",e.closed=!0,S(e,"onend"),l.call(e,e.strict,e.opt),e}function A(e,t){if("object"!=typeof e||!(e instanceof l))throw Error("bad call to strictFail");e.strict&&D(e,t)}function k(e,t){var r=0>e.indexOf(":")?["",e]:e.split(":"),n=r[0],o=r[1];return t&&"xmlns"===e&&(n="xmlns",o=""),{prefix:n,local:o}}function R(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue="";return}if(e.opt.xmlns){var t=k(e.attribName,!0),r=t.prefix,n=t.local;if("xmlns"===r){if("xml"===n&&e.attribValue!==d)A(e,"xml: prefix must be bound to "+d+"\nActual: "+e.attribValue);else if("xmlns"===n&&e.attribValue!==p)A(e,"xmlns: prefix must be bound to "+p+"\nActual: "+e.attribValue);else{var o=e.tag,i=e.tags[e.tags.length-1]||e;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[n]=e.attribValue}}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,C(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}function I(e,t){if(e.opt.xmlns){var r=e.tag,n=k(e.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(A(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),r.uri=n.prefix);var o=e.tags[e.tags.length-1]||e;r.ns&&o.ns!==r.ns&&Object.keys(r.ns).forEach(function(t){C(e,"onopennamespace",{prefix:t,uri:r.ns[t]})});for(var i=0,a=e.attribList.length;i",e.tagName="",e.state=E.SCRIPT;return}C(e,"onscript",e.script),e.script=""}var t=e.tags.length,r=e.tagName;e.strict||(r=r[e.looseCase]());for(var n=r;t--;)if(e.tags[t].name!==n)A(e,"Unexpected close tag");else break;if(t<0){A(e,"Unmatched closing tag: "+e.tagName),e.textNode+="",e.state=E.TEXT;return}e.tagName=r;for(var o=e.tags.length;o-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,C(e,"onclosetag",e.tagName);var a={};for(var s in i.ns)a[s]=i.ns[s];var l=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==l.ns&&Object.keys(i.ns).forEach(function(t){var r=i.ns[t];C(e,"onclosenamespace",{prefix:t,uri:r})})}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=E.TEXT}function N(e,t){"<"===t?(e.state=E.OPEN_WAKA,e.startTagPosition=e.position):v(t)||(A(e,"Non-whitespace before first tag."),e.textNode=t,e.state=E.TEXT)}function L(e,t){var r="";return t1114111||o(l)!==l)throw RangeError("Invalid code point: "+l);l<=65535?n.push(l):(l-=65536,e=(l>>10)+55296,r=l%1024+56320,n.push(e,r)),(i+1===a||n.length>16384)&&(s+=t.apply(null,n),n.length=0)}return s},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:i,configurable:!0,writable:!0}):String.fromCodePoint=i)}(t)},67771:function(e,t,r){"use strict";var n=r(40210),o=r(12296),i=r(31044)(),a=r(27296),s=r(14453),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},96774:function(e){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(o>0&&(e.lastNeed=o-1),o):--n=0?(o>0&&(e.lastNeed=o-2),o):--n=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},73469:function(e){e.exports.Qc=function(e,t){var r=(t=t||{}).preserveNumbers,n={};return(function(e){for(var t,r=[],n=0,o=/url\([^\)]+$/,i="";n-1&&!e.return)switch(e.type){case f:e.return=function e(t,r,n){var o;switch(o=r,45^E(t,0)?(((o<<2^E(t,0))<<2^E(t,1))<<2^E(t,2))<<2^E(t,3):0){case 5103:return c+"print-"+t+t;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 c+t+t;case 4789:return u+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return c+t+u+t+l+t+t;case 5936:switch(E(t,r+11)){case 114:return c+t+l+b(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return c+t+l+b(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return c+t+l+b(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return c+t+l+t+t;case 6165:return c+t+l+"flex-"+t+t;case 5187:return c+t+b(t,/(\w+).+(:[^]+)/,c+"box-$1$2"+l+"flex-$1$2")+t;case 5443:return c+t+l+"flex-item-"+b(t,/flex-|-self/g,"")+(v(t,/flex-|baseline/)?"":l+"grid-row-"+b(t,/flex-|-self/g,""))+t;case 4675:return c+t+l+"flex-line-pack"+b(t,/align-content|flex-|-self/g,"")+t;case 5548:return c+t+l+b(t,"shrink","negative")+t;case 5292:return c+t+l+b(t,"basis","preferred-size")+t;case 6060:return c+"box-"+b(t,"-grow","")+c+t+l+b(t,"grow","positive")+t;case 4554:return c+b(t,/([^-])(transform)/g,"$1"+c+"$2")+t;case 6187:return b(b(b(t,/(zoom-|grab)/,c+"$1"),/(image-set)/,c+"$1"),t,"")+t;case 5495:case 3959:return b(t,/(image-set\([^]*)/,c+"$1$`$1");case 4968:return b(b(t,/(.+:)(flex-)?(.*)/,c+"box-pack:$3"+l+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+c+t+t;case 4200:if(!v(t,/flex-|baseline/))return l+"grid-column-align"+x(t,r)+t;break;case 2592:case 3360:return l+b(t,"template-","")+t;case 4384:case 3616:if(n&&n.some(function(e,t){return r=t,v(e.props,/grid-\w+-end/)}))return~w(t+(n=n[r].value),"span",0)?t:l+b(t,"-start","")+t+l+"grid-row-span:"+(~w(n,"span",0)?v(n,/\d+/):+v(n,/\d+/)-+v(t,/\d+/))+";";return l+b(t,"-start","")+t;case 4896:case 4128:return n&&n.some(function(e){return v(e.props,/grid-\w+-start/)})?t:l+b(b(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return b(t,/(.+)-inline(.+)/,c+"$1$2")+t;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(S(t)-1-r>6)switch(E(t,r+1)){case 109:if(45!==E(t,r+4))break;case 102:return b(t,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+u+(108==E(t,r+3)?"$3":"$2-$3"))+t;case 115:return~w(t,"stretch",0)?e(b(t,"stretch","fill-available"),r,n)+t:t}break;case 5152:case 5920:return b(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,r,n,o,i,a,s){return l+r+":"+n+s+(o?l+r+"-span:"+(i?a:+a-+n)+s:"")+t});case 4949:if(121===E(t,r+6))return b(t,":",":"+c)+t;break;case 6444:switch(E(t,45===E(t,14)?18:11)){case 120:return b(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+c+(45===E(t,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+l+"$2box$3")+t;case 100:return b(t,":",":"+l)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return b(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,r);return;case h:return B([_(e,{value:b(e.value,"@","@"+c)})],n);case p:if(e.length){var o,i;return o=r=e.props,i=function(t){switch(v(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":N(_(e,{props:[b(t,/:(read-\w+)/,":"+u+"$1")]})),N(_(e,{props:[t]})),y(e,{props:O(r,n)});break;case"::placeholder":N(_(e,{props:[b(t,/:(plac\w+)/,":"+c+"input-$1")]})),N(_(e,{props:[b(t,/:(plac\w+)/,":"+u+"$1")]})),N(_(e,{props:[b(t,/:(plac\w+)/,l+"input-$1")]})),N(_(e,{props:[t]})),y(e,{props:O(r,n)})}return""},o.map(i).join("")}}}function q(e,t,r,n,o,i,a,s,l,u,c,d){for(var f=o-1,h=0===o?i:[""],g=h.length,y=0,v=0,w=0;y0?h[E]+" "+S:b(S,/&\f/g,h[E])).trim())&&(l[w++]=C);return I(e,t,r,0===o?p:s,l,u,c,d)}function U(e,t,r,n,o){return I(e,t,r,f,x(e,0,n),x(e,n+1,-1),n,o)}var z={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$=r(34155),H=void 0!==$&&void 0!==$.env&&($.env.REACT_APP_SC_ATTR||$.env.SC_ATTR)||"data-styled",G="active",W="data-styled-version",K="6.1.19",Y="/*!sc*/\n",Q="undefined"!=typeof window&&"undefined"!=typeof document,J=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==$&&void 0!==$.env&&void 0!==$.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==$.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==$.env.REACT_APP_SC_DISABLE_SPEEDY&&$.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==$&&void 0!==$.env&&void 0!==$.env.SC_DISABLE_SPEEDY&&""!==$.env.SC_DISABLE_SPEEDY&&"false"!==$.env.SC_DISABLE_SPEEDY&&$.env.SC_DISABLE_SPEEDY),X=Object.freeze([]),ee=Object.freeze({}),et=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),er=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,en=/(^-|-$)/g;function eo(e){return e.replace(er,"-").replace(en,"")}var ei=/(a)(d)/gi,ea=function(e){return String.fromCharCode(e+(e>25?39:97))};function es(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=ea(t%52)+r;return(ea(t%52)+r).replace(ei,"$1-$2")}var el,eu=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ec=function(e){return eu(5381,e)};function ed(e){return"string"==typeof e}var ep="function"==typeof Symbol&&Symbol.for,ef=ep?Symbol.for("react.memo"):60115,eh=ep?Symbol.for("react.forward_ref"):60112,em={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},eg={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ey={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ev=((el={})[eh]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},el[ef]=ey,el);function eb(e){return("type"in e&&e.type.$$typeof)===ef?ey:"$$typeof"in e?ev[e.$$typeof]:em}var ew=Object.defineProperty,eE=Object.getOwnPropertyNames,ex=Object.getOwnPropertySymbols,eS=Object.getOwnPropertyDescriptor,eC=Object.getPrototypeOf,eO=Object.prototype;function eT(e){return"function"==typeof e}function eD(e){return"object"==typeof e&&"styledComponentId"in e}function eP(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function eA(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n0?" Args: ".concat(t.join(", ")):""))}var e_=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw eI(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),n+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(Y)}}})(o);return n}(o)})}return e.registerId=function(e){return ej(e)},e.prototype.rehydrate=function(){!this.server&&Q&&eU(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(n(n({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,r;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,r=e.target,new e_(e.isServer?new eG(r):t?new e$(r):new eH(r))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(ej(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(ej(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(ej(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eQ=/&/g,eJ=/^\s*\/\/.*$/gm;function eX(e){var t,r,n,o=void 0===e?ee:e,i=o.options,a=void 0===i?ee:i,s=o.plugins,l=void 0===s?X:s,u=function(e,n,o){return o.startsWith(r)&&o.endsWith(r)&&o.replaceAll(r,"").length>0?".".concat(t):e},c=l.slice();c.push(function(e){e.type===p&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(eQ,r).replace(n,u))}),a.prefix&&c.push(V),c.push(Z);var f=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,r=o,n=RegExp("\\".concat(r,"\\b"),"g");var l,u,p,f,h,y,v=e.replace(eJ,""),O=(h=function e(t,r,n,o,i,a,s,l,u){for(var c,p=0,f=0,h=s,y=0,v=0,O=0,P=1,_=1,N=1,B=0,Z="",V=i,z=a,$=o,H=Z;_;)switch(O=B,B=L()){case 40:if(108!=O&&58==E(H,h-1)){-1!=w(H+=b(F(B),"&","&\f"),"&\f",m(p?l[p-1]:0))&&(N=-1);break}case 34:case 39:case 91:H+=F(B);break;case 9:case 10:case 13:case 32:H+=function(e){for(;k=M();)if(k<33)L();else break;return j(e)>2||j(k)>3?"":" "}(O);break;case 92:H+=function(e,t){for(var r;--t&&L()&&!(k<48)&&!(k>102)&&(!(k>57)||!(k<65))&&(!(k>70)||!(k<97)););return r=A+(t<6&&32==M()&&32==L()),x(R,e,r)}(A-1,7);continue;case 47:switch(M()){case 42:case 47:C(I(c=function(e,t){for(;L();)if(e+k===57)break;else if(e+k===84&&47===M())break;return"/*"+x(R,t,A-1)+"*"+g(47===e?e:L())}(L(),A),r,n,d,g(k),x(c,2,-2),0,u),u);break;default:H+="/"}break;case 123*P:l[p++]=S(H)*N;case 125*P:case 59:case 0:switch(B){case 0:case 125:_=0;case 59+f:-1==N&&(H=b(H,/\f/g,"")),v>0&&S(H)-h&&C(v>32?U(H+";",o,n,h-1,u):U(b(H," ","")+";",o,n,h-2,u),u);break;case 59:H+=";";default:if(C($=q(H,r,n,p,f,i,l,Z,V=[],z=[],h,a),a),123===B){if(0===f)e(H,r,$,$,V,a,h,l,z);else switch(99===y&&110===E(H,3)?100:y){case 100:case 108:case 109:case 115:e(t,$,$,o&&C(q(t,$,$,0,0,i,l,Z,i,V=[],h,z),z),i,z,h,l,o?V:z);break;default:e(H,$,$,$,[""],z,0,l,z)}}}p=f=v=0,P=N=1,Z=H="",h=s;break;case 58:h=1+S(H),v=O;default:if(P<1){if(123==B)--P;else if(125==B&&0==P++&&125==(k=A>0?E(R,--A):0,D--,10===k&&(D=1,T--),k))continue}switch(H+=g(B),B*P){case 38:N=f>0?1:(H+="\f",-1);break;case 44:l[p++]=(S(H)-1)*N,N=1;break;case 64:45===M()&&(H+=F(L())),y=M(),f=h=S(Z=H+=function(e){for(;!j(M());)L();return x(R,e,A)}(A)),B++;break;case 45:45===O&&2==S(H)&&(P=0)}}return a}("",null,null,null,[""],(f=p=i||o?"".concat(i," ").concat(o," { ").concat(v," }"):v,T=D=1,P=S(R=f),A=0,p=[]),0,[0],p),R="",h);a.namespace&&(O=function e(t,r){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(r," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(r," ")),t.props=t.props.map(function(e){return"".concat(r," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,r)),t})}(O,a.namespace));var _=[];return B(O,(u=(l=c.concat((y=function(e){return _.push(e)},function(e){!e.root&&(e=e.return)&&y(e)}))).length,function(e,t,r,n){for(var o="",i=0;i="A"&&n<="Z"?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var e9=function(e){return null==e||!1===e||""===e},e7=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!e9(n)&&(Array.isArray(n)&&n.isCss||eT(n)?t.push("".concat(e8(r),":"),n,";"):ek(n)?t.push.apply(t,o(o(["".concat(r," {")],e7(n),!1),["}"],!1)):t.push("".concat(e8(r),": ").concat(null==n||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||r in z||r.startsWith("--")?String(n).trim():"".concat(n,"px"),";")))}return t};function te(e,t,r,n){return e9(e)?[]:eD(e)?[".".concat(e.styledComponentId)]:eT(e)?!eT(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:te(e(t),t,r,n):e instanceof e6?r?(e.inject(r,n),[e.getName(n)]):[e]:ek(e)?e7(e):Array.isArray(e)?Array.prototype.concat.apply(X,e.map(function(e){return te(e,t,r,n)})):[e.toString()]}function tt(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var a=r(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}n=eP(n,i),this.staticRulesId=i}}else{for(var s=eu(this.baseHash,r.hash),l="",u=0;u>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,r(l,".".concat(p),void 0,this.componentId)),n=eP(n,p)}}return n},e}(),to=i.createContext(void 0);to.Consumer;var ti={};function ta(e,t,r){var o,a,s,l,u=eD(e),c=!ed(e),d=t.attrs,p=void 0===d?X:d,f=t.componentId,h=void 0===f?(o=t.displayName,a=t.parentComponentId,ti[s="string"!=typeof o?"sc":eo(o)]=(ti[s]||0)+1,l="".concat(s,"-").concat(es(ec(K+s+ti[s])>>>0)),a?"".concat(a,"-").concat(l):l):f,m=t.displayName,g=void 0===m?ed(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):m,y=t.displayName&&t.componentId?"".concat(eo(t.displayName),"-").concat(t.componentId):t.componentId||h,v=u&&e.attrs?e.attrs.concat(p).filter(Boolean):p,b=t.shouldForwardProp;if(u&&e.shouldForwardProp){var w=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return w(e,t)&&E(e,t)}}else b=w}var x=new tn(r,y,u?e.componentStyle:void 0);function S(e,t){return function(e,t,r){var o,a,s=e.attrs,l=e.componentStyle,u=e.defaultProps,c=e.foldedComponentIds,d=e.styledComponentId,p=e.target,f=i.useContext(to),h=e5(),m=e.shouldForwardProp||h.shouldForwardProp,g=(void 0===(o=u)&&(o=ee),t.theme!==o.theme&&t.theme||f||o.theme||ee),y=function(e,t,r){for(var o,i=n(n({},t),{className:void 0,theme:r}),a=0;a2&&eY.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=r.nc,o=eA([n&&'nonce="'.concat(n,'"'),"".concat(H,'="true"'),"".concat(W,'="').concat(K,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw eI(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw eI(2);var t,o=e.instance.toString();if(!o)return[];var a=((t={})[H]="",t[W]=K,t.dangerouslySetInnerHTML={__html:o},t),s=r.nc;return s&&(a.nonce=s),[i.createElement("style",n({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new eY({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw eI(2);return i.createElement(e4,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw eI(3)}}()},88388:function(e,t,r){"use strict";r.d(t,{KW:function(){return D},Wq:function(){return P},ht:function(){return T}});var n='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',o="undefined"==typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!o&&Element.prototype.getRootNode?function(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},s=function e(t,r){void 0===r&&(r=!0);var n,o=null==t?void 0:null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||r&&t&&e(t.parentNode)},l=function(e){var t,r=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r},u=function(e,t,r){if(s(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(n));return t&&i.call(e,n)&&o.unshift(e),o=o.filter(r)},c=function e(t,r,o){for(var a=[],l=Array.from(t);l.length;){var u=l.shift();if(!s(u,!1)){if("SLOT"===u.tagName){var c=u.assignedElements(),d=e(c.length?c:u.children,!0,o);o.flatten?a.push.apply(a,d):a.push({scopeParent:u,candidates:d})}else{i.call(u,n)&&o.filter(u)&&(r||!t.includes(u))&&a.push(u);var p=u.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(u),f=!s(p,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(u));if(p&&f){var h=e(!0===p?u.children:p.children,!0,o);o.flatten?a.push.apply(a,h):a.push({scopeParent:u,candidates:h})}else l.unshift.apply(l,u.children)}}}return a},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},p=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||l(e))&&!d(e)?0:e.tabIndex},f=function(e,t){var r=p(e);return r<0&&t&&!d(e)?0:r},h=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},m=function(e){return"INPUT"===e.tagName},g=function(e,t){for(var r=0;rsummary:first-of-type")?e.parentElement:e;if(i.call(o,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return b(e)}else{if("function"==typeof n){for(var s=e;e;){var l=e.parentElement,u=a(e);if(l&&!l.shadowRoot&&!0===n(l))return b(e);e=e.assignedSlot?e.assignedSlot:l||u===e.ownerDocument?l:u.host}e=s}if(v(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1},E=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;rp(t))&&!!x(e,t)},C=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},O=function e(t){var r=[],n=[];return t.forEach(function(t,o){var i=!!t.scopeParent,a=i?t.scopeParent:t,s=f(a,i),l=i?e(t.candidates):a;0===s?i?r.push.apply(r,l):r.push(a):n.push({documentOrder:o,tabIndex:s,item:t,isScope:i,content:l})}),n.sort(h).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(r)},T=function(e,t){return O((t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:S.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:C}):u(e,t.includeContainer,S.bind(null,t)))},D=function(e,t){return(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:x.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):u(e,t.includeContainer,x.bind(null,t))},P=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i.call(e,n)&&S(t,e)}},84564:function(e,t,r){"use strict";var n=r(47418),o=r(57129),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function d(e){return(e||"").toString().replace(i,"")}var p=[["#","hash"],["?","query"],function(e,t){return m(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function h(e){"undefined"!=typeof window?t=window:void 0!==r.g?t=r.g:"undefined"!=typeof self?t=self:t={};var t,n,o=t.location||{},i={},a=typeof(e=e||o);if("blob:"===e.protocol)i=new y(unescape(e.pathname),{});else if("string"===a)for(n in i=new y(e,{}),f)delete i[n];else if("object"===a){for(n in e)n in f||(i[n]=e[n]);void 0===i.slashes&&(i.slashes=s.test(e.href))}return i}function m(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=d(e)).replace(a,""),t=t||{};var r,n=u.exec(e),o=n[1]?n[1].toLowerCase():"",i=!!n[2],s=!!n[3],l=0;return i?s?(r=n[2]+n[3]+n[4],l=n[2].length+n[3].length):(r=n[2]+n[4],l=n[2].length):s?(r=n[3]+n[4],l=n[3].length):r=n[4],"file:"===o?l>=2&&(r=r.slice(2)):m(o)?r=n[4]:o?i&&(r=r.slice(2)):l>=2&&m(t.protocol)&&(r=n[4]),{protocol:o,slashes:i||m(o),slashesCount:l,rest:r}}function y(e,t,r){if(e=(e=d(e)).replace(a,""),!(this instanceof y))return new y(e,t,r);var i,s,l,u,f,v,b=p.slice(),w=typeof t,E=0;for("object"!==w&&"string"!==w&&(r=t,t=null),r&&"function"!=typeof r&&(r=o.parse),i=!(s=g(e||"",t=h(t))).protocol&&!s.slashes,this.slashes=s.slashes||i&&t.slashes,this.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||c.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!m(this.protocol)))&&(b[3]=[/(.*)/,"pathname"]);E=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),p(n,e,n.depth)}function c(e,t){var r=u.styles[t];return r?"\x1b["+u.colors[r][0]+"m"+e+"\x1b["+u.colors[r][1]+"m":e}function d(e,t){return e}function p(e,r,n){if(e.customInspect&&r&&O(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var o,i,a,s,l,u=r.inspect(n,e);return b(u)||(u=p(e,u,n)),u}var c=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return v(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}(e,r);if(c)return c;var d=Object.keys(r),x=(s={},d.forEach(function(e,t){s[e]=!0}),s);if(e.showHidden&&(d=Object.getOwnPropertyNames(r)),C(r)&&(d.indexOf("message")>=0||d.indexOf("description")>=0))return f(r);if(0===d.length){if(O(r)){var T=r.name?": "+r.name:"";return e.stylize("[Function"+T+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(C(r))return f(r)}var D="",P=!1,k=["{","}"];return(m(r)&&(P=!0,k=["[","]"]),O(r)&&(D=" [Function"+(r.name?": "+r.name:"")+"]"),E(r)&&(D=" "+RegExp.prototype.toString.call(r)),S(r)&&(D=" "+Date.prototype.toUTCString.call(r)),C(r)&&(D=" "+f(r)),0!==d.length||P&&0!=r.length)?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=P?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?i[0]+(""===o?"":o+"\n ")+" "+l.join(",\n ")+" "+i[1]:i[0]+o+" "+l.join(", ")+" "+i[1]):k[0]+D+k[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,o,i){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),A(n,o)||(a="["+o+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=y(r)?p(e,l.value,null):p(e,l.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),w(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function w(e){return void 0===e}function E(e){return x(e)&&"[object RegExp]"===T(e)}function x(e){return"object"==typeof e&&null!==e}function S(e){return x(e)&&"[object Date]"===T(e)}function C(e){return x(e)&&("[object Error]"===T(e)||e instanceof Error)}function O(e){return"function"==typeof e}function T(e){return Object.prototype.toString.call(e)}function D(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()]){if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){}}return a[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(55955),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=w,t.isRegExp=E,t.types.isRegExp=E,t.isObject=x,t.isDate=S,t.types.isDate=S,t.isError=C,t.types.isNativeError=C,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(20384);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[D((e=new Date).getHours()),D(e.getMinutes()),D(e.getSeconds())].join(":"),[e.getDate(),P[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(35717),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var k="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(k&&e[k]){var t=e[k];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,k,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),o=[],i=0;i-1?t:"Object"===t&&y(e)}return s?g(e):null}},50306:function(e,t){(function(){"use strict";t.stripBOM=function(e){return"\uFEFF"===e[0]?e.substring(1):e}}).call(this)},34096:function(e,t,r){(function(){"use strict";var e,n,o,i,a,s={}.hasOwnProperty;e=r(5532),n=r(38381).defaults,i=function(e){return"string"==typeof e&&(e.indexOf("&")>=0||e.indexOf(">")>=0||e.indexOf("<")>=0)},a=function(e){return""},o=function(e){return e.replace("]]>","]]]]>")},t.Builder=function(){function t(e){var t,r,o;for(t in this.options={},r=n["0.2"])s.call(r,t)&&(o=r[t],this.options[t]=o);for(t in e)s.call(e,t)&&(o=e[t],this.options[t]=o)}return t.prototype.buildObject=function(t){var r,o,l,u,c,d;return r=this.options.attrkey,o=this.options.charkey,1===Object.keys(t).length&&this.options.rootName===n["0.2"].rootName?(c=Object.keys(t)[0],t=t[c]):c=this.options.rootName,d=this,l=function(e,t){var n,u,c,p,f,h;if("object"!=typeof t)d.options.cdata&&i(t)?e.raw(a(t)):e.txt(t);else if(Array.isArray(t)){for(p in t)if(s.call(t,p))for(f in u=t[p])c=u[f],e=l(e.ele(f),c).up()}else for(f in t)if(s.call(t,f)){if(u=t[f],f===r){if("object"==typeof u)for(n in u)h=u[n],e=e.att(n,h)}else if(f===o)e=d.options.cdata&&i(u)?e.raw(a(u)):e.txt(u);else if(Array.isArray(u))for(p in u)s.call(u,p)&&(e="string"==typeof(c=u[p])?d.options.cdata&&i(c)?e.ele(f).raw(a(c)).up():e.ele(f,c).up():l(e.ele(f),c).up());else"object"==typeof u?e=l(e.ele(f),u).up():"string"==typeof u&&d.options.cdata&&i(u)?e=e.ele(f).raw(a(u)).up():(null==u&&(u=""),e=e.ele(f,u.toString()).up())}return e},u=e.create(c,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),l(u,t).end(this.options.renderOpts)},t}()}).call(this)},38381:function(e,t){(function(){t.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},99082:function(e,t,r){(function(){"use strict";var e,n,o,i,a,s,l,u,c,d=function(e,t){return function(){return e.apply(t,arguments)}},p=function(e,t){for(var r in t)f.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},f={}.hasOwnProperty;u=r(36099),i=r(17187),e=r(50306),l=r(7526),c=r(602).setImmediate,n=r(38381).defaults,a=function(e){return"object"==typeof e&&null!=e&&0===Object.keys(e).length},s=function(e,t,r){var n,o;for(n=0,o=e.length;n0&&(l[d.options.childkey]=c),c=l}return n.length>0?d.assignOrPush(m,u,c):(d.options.explicitRoot&&(h=c,o(c={},u,h)),d.resultObject=c,d.saxParser.ended=!0,d.emit("end",d.resultObject))}),p=this,r=function(e){var r,o;if(o=n[n.length-1])return o[t]+=e,p.options.explicitChildren&&p.options.preserveChildrenOrder&&p.options.charsAsChildren&&(p.options.includeWhiteChars||""!==e.replace(/\\n/g,"").trim())&&(o[p.options.childkey]=o[p.options.childkey]||[],(r={"#name":"__text__"})[t]=e,p.options.normalize&&(r[t]=r[t].replace(/\s{2,}/g," ").trim()),o[p.options.childkey].push(r)),o},this.saxParser.ontext=r,this.saxParser.oncdata=function(e){var t;if(t=r(e))return t.cdata=!0}},i.prototype.parseString=function(t,r){null!=r&&"function"==typeof r&&(this.on("end",function(e){return this.reset(),r(null,e)}),this.on("error",function(e){return this.reset(),r(e)}));try{if(t=t.toString(),""===t.trim())return this.emit("end",null),!0;if(t=e.stripBOM(t),this.options.async)return this.remaining=t,c(this.processAsync),this.saxParser;return this.saxParser.write(t).close()}catch(e){if(!(this.saxParser.errThrown||this.saxParser.ended))return this.emit("error",e),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw e}},i.prototype.parseStringPromise=function(e){var t;return new Promise((t=this,function(r,n){return t.parseString(e,function(e,t){return e?n(e):r(t)})}))},i}(i),t.parseString=function(e,r,n){var o,i;return null!=n?("function"==typeof n&&(o=n),"object"==typeof r&&(i=r)):("function"==typeof r&&(o=r),i={}),new t.Parser(i).parseString(e,o)},t.parseStringPromise=function(e,r){var n;return"object"==typeof r&&(n=r),new t.Parser(n).parseStringPromise(e)}}).call(this)},7526:function(e,t){(function(){"use strict";var e;e=new RegExp(/(?!xmlns)^.*:/),t.normalize=function(e){return e.toLowerCase()},t.firstCharLowerCase=function(e){return e.charAt(0).toLowerCase()+e.slice(1)},t.stripPrefix=function(t){return t.replace(e,"")},t.parseNumbers=function(e){return isNaN(e)||(e=e%1==0?parseInt(e,10):parseFloat(e)),e},t.parseBooleans=function(e){return/^(?:true|false)$/i.test(e)&&(e="true"===e.toLowerCase()),e}}).call(this)},5055:function(e,t,r){(function(){"use strict";var e,n,o,i,a=function(e,t){for(var r in t)s.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},s={}.hasOwnProperty;n=r(38381),e=r(34096),o=r(99082),i=r(7526),t.defaults=n.defaults,t.processors=i,t.ValidationError=function(e){function t(e){this.message=e}return a(t,e),t}(Error),t.Builder=e.Builder,t.Parser=o.Parser,t.parseString=o.parseString,t.parseStringPromise=o.parseStringPromise}).call(this)},17557:function(e){(function(){e.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},39335:function(e){(function(){e.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},78369:function(e){(function(){var t,r,n,o,i,a,s,l=[].slice,u={}.hasOwnProperty;t=function(){var e,t,r,n,o,a;if(a=arguments[0],o=2<=arguments.length?l.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(e=0,r=o.length;e":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},e.prototype.isEqualNode=function(e){return e.namespaceURI===this.namespaceURI&&e.prefix===this.prefix&&e.localName===this.localName&&e.value===this.value},e}()}).call(this)},66170:function(e,t,r){(function(){var t,n,o=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(39335),n=r(6488),e.exports=function(e){function r(e,n){if(r.__super__.constructor.call(this,e),null==n)throw Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=t.CData,this.value=this.stringify.cdata(n)}return o(r,e),r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(e){return this.options.writer.cdata(this,this.options.writer.filterOptions(e))},r}(n)}).call(this)},6488:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)o.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},o={}.hasOwnProperty;t=r(32026),e.exports=function(e){function t(e){t.__super__.constructor.call(this,e),this.value=""}return n(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.value},set:function(e){return this.value=e||""}}),Object.defineProperty(t.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(e){return this.value=e||""}}),t.prototype.clone=function(){return Object.create(this)},t.prototype.substringData=function(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.appendData=function(e){throw Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.insertData=function(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.deleteData=function(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.replaceData=function(e,t,r){throw Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isEqualNode=function(e){return!!t.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&e.data===this.data},t}(t)}).call(this)},62096:function(e,t,r){(function(){var t,n,o=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(39335),n=r(6488),e.exports=function(e){function r(e,n){if(r.__super__.constructor.call(this,e),null==n)throw Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=t.Comment,this.value=this.stringify.comment(n)}return o(r,e),r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(e){return this.options.writer.comment(this,this.options.writer.filterOptions(e))},r}(n)}).call(this)},30383:function(e,t,r){(function(){var t,n;t=r(93933),n=r(66210),e.exports=function(){function e(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new t,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(e.prototype,"parameterNames",{get:function(){return new n(Object.keys(this.defaultParams))}}),e.prototype.getParameter=function(e){return this.params.hasOwnProperty(e)?this.params[e]:null},e.prototype.canSetParameter=function(e,t){return!0},e.prototype.setParameter=function(e,t){return null!=t?this.params[e]=t:delete this.params[e]},e}()}).call(this)},93933:function(e){(function(){e.exports=function(){function e(){}return e.prototype.handleError=function(e){throw Error(e)},e}()}).call(this)},91770:function(e){(function(){e.exports=function(){function e(){}return e.prototype.hasFeature=function(e,t){return!0},e.prototype.createDocumentType=function(e,t,r){throw Error("This DOM method is not implemented.")},e.prototype.createDocument=function(e,t,r){throw Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(e){throw Error("This DOM method is not implemented.")},e.prototype.getFeature=function(e,t){throw Error("This DOM method is not implemented.")},e}()}).call(this)},66210:function(e){(function(){e.exports=function(){function e(e){this.arr=e||[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(e){return this.arr[e]||null},e.prototype.contains=function(e){return -1!==this.arr.indexOf(e)},e}()}).call(this)},51179:function(e,t,r){(function(){var t,n,o=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=r(32026),t=r(39335),e.exports=function(e){function r(e,n,o,i,a,s){if(r.__super__.constructor.call(this,e),null==n)throw Error("Missing DTD element name. "+this.debugInfo());if(null==o)throw Error("Missing DTD attribute name. "+this.debugInfo(n));if(!i)throw Error("Missing DTD attribute type. "+this.debugInfo(n));if(!a)throw Error("Missing DTD attribute default. "+this.debugInfo(n));if(0!==a.indexOf("#")&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(s&&!a.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.name(n),this.type=t.AttributeDeclaration,this.attributeName=this.stringify.name(o),this.attributeType=this.stringify.dtdAttType(i),s&&(this.defaultValue=this.stringify.dtdAttDefault(s)),this.defaultValueType=a}return o(r,e),r.prototype.toString=function(e){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(e))},r}(n)}).call(this)},36347:function(e,t,r){(function(){var t,n,o=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=r(32026),t=r(39335),e.exports=function(e){function r(e,n,o){if(r.__super__.constructor.call(this,e),null==n)throw Error("Missing DTD element name. "+this.debugInfo());o||(o="(#PCDATA)"),Array.isArray(o)&&(o="("+o.join(",")+")"),this.name=this.stringify.name(n),this.type=t.ElementDeclaration,this.value=this.stringify.dtdElementValue(o)}return o(r,e),r.prototype.toString=function(e){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(e))},r}(n)}).call(this)},99078:function(e,t,r){(function(){var t,n,o,i=function(e,t){for(var r in t)a.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty;o=r(78369).isObject,n=r(32026),t=r(39335),e.exports=function(e){function r(e,n,i,a){if(r.__super__.constructor.call(this,e),null==i)throw Error("Missing DTD entity name. "+this.debugInfo(i));if(null==a)throw Error("Missing DTD entity value. "+this.debugInfo(i));if(this.pe=!!n,this.name=this.stringify.name(i),this.type=t.EntityDeclaration,o(a)){if(!a.pubID&&!a.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(i));if(a.pubID&&!a.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(i));if(this.internal=!1,null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(i))}else this.value=this.stringify.dtdEntityValue(a),this.internal=!0}return i(r,e),Object.defineProperty(r.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(r.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(r.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(r.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(r.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(r.prototype,"xmlVersion",{get:function(){return null}}),r.prototype.toString=function(e){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(e))},r}(n)}).call(this)},44777:function(e,t,r){(function(){var t,n,o=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=r(32026),t=r(39335),e.exports=function(e){function r(e,n,o){if(r.__super__.constructor.call(this,e),null==n)throw Error("Missing DTD notation name. "+this.debugInfo(n));if(!o.pubID&&!o.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.name(n),this.type=t.NotationDeclaration,null!=o.pubID&&(this.pubID=this.stringify.dtdPubID(o.pubID)),null!=o.sysID&&(this.sysID=this.stringify.dtdSysID(o.sysID))}return o(r,e),Object.defineProperty(r.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(r.prototype,"systemId",{get:function(){return this.sysID}}),r.prototype.toString=function(e){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(e))},r}(n)}).call(this)},59077:function(e,t,r){(function(){var t,n,o,i=function(e,t){for(var r in t)a.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty;o=r(78369).isObject,n=r(32026),t=r(39335),e.exports=function(e){function r(e,n,i,a){var s;r.__super__.constructor.call(this,e),o(n)&&(n=(s=n).version,i=s.encoding,a=s.standalone),n||(n="1.0"),this.type=t.Declaration,this.version=this.stringify.xmlVersion(n),null!=i&&(this.encoding=this.stringify.xmlEncoding(i)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return i(r,e),r.prototype.toString=function(e){return this.options.writer.declaration(this,this.options.writer.filterOptions(e))},r}(n)}).call(this)},86544:function(e,t,r){(function(){var t,n,o,i,a,s,l,u,c=function(e,t){for(var r in t)d.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},d={}.hasOwnProperty;u=r(78369).isObject,l=r(32026),t=r(39335),n=r(51179),i=r(99078),o=r(36347),a=r(44777),s=r(40663),e.exports=function(e){function r(e,n,o){var i,a,s,l,c,d;if(r.__super__.constructor.call(this,e),this.type=t.DocType,e.children){for(a=0,s=(l=e.children).length;a=0;)this.up();return this.onEnd()},e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},e.prototype.openNode=function(e){var r,o,i,a;if(!e.isOpen){if(this.root||0!==this.currentLevel||e.type!==t.Element||(this.root=e),o="",e.type===t.Element){for(i in this.writerOptions.state=n.OpenTag,o=this.writer.indent(e,this.writerOptions,this.currentLevel)+"<"+e.name,a=e.attribs)O.call(a,i)&&(r=a[i],o+=this.writer.attribute(r,this.writerOptions,this.currentLevel));o+=(e.children?">":"/>")+this.writer.endline(e,this.writerOptions,this.currentLevel),this.writerOptions.state=n.InsideTag}else this.writerOptions.state=n.OpenTag,o=this.writer.indent(e,this.writerOptions,this.currentLevel)+""),o+=this.writer.endline(e,this.writerOptions,this.currentLevel);return this.onData(o,this.currentLevel),e.isOpen=!0}},e.prototype.closeNode=function(e){var r;if(!e.isClosed)return r="",this.writerOptions.state=n.CloseTag,r=e.type===t.Element?this.writer.indent(e,this.writerOptions,this.currentLevel)+""+this.writer.endline(e,this.writerOptions,this.currentLevel):this.writer.indent(e,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(e,this.writerOptions,this.currentLevel),this.writerOptions.state=n.None,this.onData(r,this.currentLevel),e.isClosed=!0},e.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},e.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},e.prototype.ele=function(){return this.element.apply(this,arguments)},e.prototype.nod=function(e,t,r){return this.node(e,t,r)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},e.prototype.dtd=function(e,t,r){return this.doctype(e,t,r)},e.prototype.e=function(e,t,r){return this.element(e,t,r)},e.prototype.n=function(e,t,r){return this.node(e,t,r)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.att=function(){return this.currentNode&&this.currentNode.type===t.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.a=function(){return this.currentNode&&this.currentNode.type===t.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e}()}).call(this)},78833:function(e,t,r){(function(){var t,n,o=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=r(32026),t=r(39335),e.exports=function(e){function r(e){r.__super__.constructor.call(this,e),this.type=t.Dummy}return o(r,e),r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(e){return""},r}(n)}).call(this)},20072:function(e,t,r){(function(){var t,n,o,i,a,s,l,u,c=function(e,t){for(var r in t)d.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},d={}.hasOwnProperty;l=(u=r(78369)).isObject,s=u.isFunction,a=u.getValue,i=r(32026),t=r(39335),n=r(72750),o=r(40663),e.exports=function(e){function r(e,n,o){var i,a,s,l;if(r.__super__.constructor.call(this,e),null==n)throw Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(n),this.type=t.Element,this.attribs={},this.schemaTypeInfo=null,null!=o&&this.attribute(o),e.type===t.Document&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this,e.children)){for(a=0,s=(l=e.children).length;a=o;t=0<=o?++n:--n)if(!this.attribs[t].isEqualNode(e.attribs[t]))return!1;return!0},r}(i)}).call(this)},40663:function(e){(function(){e.exports=function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.getNamedItem=function(e){return this.nodes[e]},e.prototype.setNamedItem=function(e){var t;return t=this.nodes[e.nodeName],this.nodes[e.nodeName]=e,t||null},e.prototype.removeNamedItem=function(e){var t;return t=this.nodes[e],delete this.nodes[e],t||null},e.prototype.item=function(e){return this.nodes[Object.keys(this.nodes)[e]]||null},e.prototype.getNamedItemNS=function(e,t){throw Error("This DOM method is not implemented.")},e.prototype.setNamedItemNS=function(e){throw Error("This DOM method is not implemented.")},e.prototype.removeNamedItemNS=function(e,t){throw Error("This DOM method is not implemented.")},e}()}).call(this)},32026:function(e,t,r){(function(){var t,n,o,i,a,s,l,u,c,d,p,f,h,m,g,y,v,b={}.hasOwnProperty;y=(v=r(78369)).isObject,g=v.isFunction,m=v.isEmpty,h=v.getValue,u=null,o=null,i=null,a=null,s=null,p=null,f=null,d=null,l=null,n=null,c=null,t=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,u||(u=r(20072),o=r(66170),i=r(62096),a=r(59077),s=r(86544),p=r(79406),f=r(43595),d=r(19181),l=r(78833),n=r(39335),c=r(82390),r(40663),t=r(17557))}return Object.defineProperty(e.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new c(this.children)),this.childNodeList}}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e-1]||null}}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e+1]||null}}),Object.defineProperty(e.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(e.prototype,"textContent",{get:function(){var e,t,r,o,i;if(this.nodeType!==n.Element&&this.nodeType!==n.DocumentFragment)return null;for(t=0,i="",r=(o=this.children).length;t":(null!=(r=this.parent)?r.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},e.prototype.ele=function(e,t,r){return this.element(e,t,r)},e.prototype.nod=function(e,t,r){return this.node(e,t,r)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},e.prototype.e=function(e,t,r){return this.element(e,t,r)},e.prototype.n=function(e,t,r){return this.node(e,t,r)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(e){return this.importDocument(e)},e.prototype.replaceChild=function(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.removeChild=function(e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.appendChild=function(e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.hasChildNodes=function(){return 0!==this.children.length},e.prototype.cloneNode=function(e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.normalize=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isSupported=function(e,t){return!0},e.prototype.hasAttributes=function(){return 0!==this.attribs.length},e.prototype.compareDocumentPosition=function(e){var r;return this===e?0:this.document()!==e.document()?(r=t.Disconnected|t.ImplementationSpecific,.5>Math.random()?r|=t.Preceding:r|=t.Following,r):this.isAncestor(e)?t.Contains|t.Preceding:this.isDescendant(e)?t.Contains|t.Following:this.isPreceding(e)?t.Preceding:t.Following},e.prototype.isSameNode=function(e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupPrefix=function(e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isDefaultNamespace=function(e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupNamespaceURI=function(e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(e){var t,r,n;if(e.nodeType!==this.nodeType||e.children.length!==this.children.length)return!1;for(t=r=0,n=this.children.length-1;0<=n?r<=n:r>=n;t=0<=n?++r:--r)if(!this.children[t].isEqualNode(e.children[t]))return!1;return!0},e.prototype.getFeature=function(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setUserData=function(e,t,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getUserData=function(e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.contains=function(e){return!!e&&(e===this||this.isDescendant(e))},e.prototype.isDescendant=function(e){var t,r,n,o;for(r=0,n=(o=this.children).length;rr},e.prototype.treePosition=function(e){var t,r;return(r=0,t=!1,this.foreachTreeNode(this.document(),function(n){if(r++,!t&&n===e)return t=!0}),t)?r:-1},e.prototype.foreachTreeNode=function(e,t){var r,n,o,i,a;for(e||(e=this.document()),n=0,o=(i=e.children).length;n0){for(this.stream.write(" ["),this.stream.write(this.endline(e,t,r)),t.state=n.InsideTag,i=0,a=(s=e.children).length;i"),this.stream.write(this.endline(e,t,r)),t.state=n.None,this.closeNode(e,t,r)},r.prototype.element=function(e,r,o){var i,s,l,u,c,d,p,f,h;for(p in o||(o=0),this.openNode(e,r,o),r.state=n.OpenTag,this.stream.write(this.indent(e,r,o)+"<"+e.name),f=e.attribs)a.call(f,p)&&(i=f[p],this.attribute(i,r,o));if(u=0===(l=e.children.length)?null:e.children[0],0===l||e.children.every(function(e){return(e.type===t.Text||e.type===t.Raw)&&""===e.value}))r.allowEmpty?(this.stream.write(">"),r.state=n.CloseTag,this.stream.write("")):(r.state=n.CloseTag,this.stream.write(r.spaceBeforeSlash+"/>"));else if(r.pretty&&1===l&&(u.type===t.Text||u.type===t.Raw)&&null!=u.value)this.stream.write(">"),r.state=n.InsideTag,r.suppressPrettyCount++,this.writeChildNode(u,r,o+1),r.suppressPrettyCount--,r.state=n.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(e,r,o)),r.state=n.InsideTag,c=0,d=(h=e.children).length;c")}return this.stream.write(this.endline(e,r,o)),r.state=n.None,this.closeNode(e,r,o)},r.prototype.processingInstruction=function(e,t,n){return this.stream.write(r.__super__.processingInstruction.call(this,e,t,n))},r.prototype.raw=function(e,t,n){return this.stream.write(r.__super__.raw.call(this,e,t,n))},r.prototype.text=function(e,t,n){return this.stream.write(r.__super__.text.call(this,e,t,n))},r.prototype.dtdAttList=function(e,t,n){return this.stream.write(r.__super__.dtdAttList.call(this,e,t,n))},r.prototype.dtdElement=function(e,t,n){return this.stream.write(r.__super__.dtdElement.call(this,e,t,n))},r.prototype.dtdEntity=function(e,t,n){return this.stream.write(r.__super__.dtdEntity.call(this,e,t,n))},r.prototype.dtdNotation=function(e,t,n){return this.stream.write(r.__super__.dtdNotation.call(this,e,t,n))},r}(o)}).call(this)},26434:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)o.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},o={}.hasOwnProperty;t=r(60751),e.exports=function(e){function t(e){t.__super__.constructor.call(this,e)}return n(t,e),t.prototype.document=function(e,t){var r,n,o,i,a;for(n=0,t=this.filterOptions(t),i="",o=(a=e.children).length;n","]]]]>"),this.assertLegalChar(e))},e.prototype.comment=function(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/--/))throw Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},e.prototype.raw=function(e){return this.options.noValidation?e:""+e||""},e.prototype.attValue=function(e){return this.options.noValidation?e:this.assertLegalChar(this.attEscape(e=""+e||""))},e.prototype.insTarget=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.insValue=function(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/\?>/))throw Error("Invalid processing instruction value: "+e);return this.assertLegalChar(e)},e.prototype.xmlVersion=function(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/1\.[0-9]+/))throw Error("Invalid version number: "+e);return e},e.prototype.xmlEncoding=function(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+e);return this.assertLegalChar(e)},e.prototype.xmlStandalone=function(e){return this.options.noValidation?e:e?"yes":"no"},e.prototype.dtdPubID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdSysID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdElementValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdAttType=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdAttDefault=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdEntityValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdNData=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(e){var t,r;if(this.options.noValidation)return e;if(t="","1.0"===this.options.version){if(t=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=e.match(t))throw Error("Invalid character in string: "+e+" at index "+r.index)}else if("1.1"===this.options.version&&(t=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=e.match(t)))throw Error("Invalid character in string: "+e+" at index "+r.index);return e},e.prototype.assertLegalName=function(e){var t;if(this.options.noValidation)return e;if(this.assertLegalChar(e),t=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!e.match(t))throw Error("Invalid character in name");return e},e.prototype.textEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(//g,">").replace(/\r/g," "))},e.prototype.attEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/0)return Array(n).join(t.indent);return""},e.prototype.endline=function(e,t,r){return!t.pretty||t.suppressPrettyCount?"":t.newline},e.prototype.attribute=function(e,t,r){var n;return this.openAttribute(e,t,r),n=" "+e.name+'="'+e.value+'"',this.closeAttribute(e,t,r),n},e.prototype.cdata=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+""+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.comment=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+""+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.declaration=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+""+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.docType=function(e,t,r){var o,i,a,s,l;if(r||(r=0),this.openNode(e,t,r),t.state=n.OpenTag,s=this.indent(e,t,r)+"0){for(s+=" ["+this.endline(e,t,r),t.state=n.InsideTag,i=0,a=(l=e.children).length;i"+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),s},e.prototype.element=function(e,r,o){var a,s,l,u,c,d,p,f,h,m,g,y,v,b;for(h in o||(o=0),m=!1,g="",this.openNode(e,r,o),r.state=n.OpenTag,g+=this.indent(e,r,o)+"<"+e.name,y=e.attribs)i.call(y,h)&&(a=y[h],g+=this.attribute(a,r,o));if(u=0===(l=e.children.length)?null:e.children[0],0===l||e.children.every(function(e){return(e.type===t.Text||e.type===t.Raw)&&""===e.value}))r.allowEmpty?(g+=">",r.state=n.CloseTag,g+=""+this.endline(e,r,o)):(r.state=n.CloseTag,g+=r.spaceBeforeSlash+"/>"+this.endline(e,r,o));else if(r.pretty&&1===l&&(u.type===t.Text||u.type===t.Raw)&&null!=u.value)g+=">",r.state=n.InsideTag,r.suppressPrettyCount++,m=!0,g+=this.writeChildNode(u,r,o+1),r.suppressPrettyCount--,m=!1,r.state=n.CloseTag,g+=""+this.endline(e,r,o);else{if(r.dontPrettyTextNodes){for(c=0,p=(v=e.children).length;c"+this.endline(e,r,o),r.state=n.InsideTag,d=0,f=(b=e.children).length;d",m&&r.suppressPrettyCount--,g+=this.endline(e,r,o),r.state=n.None}return this.closeNode(e,r,o),g},e.prototype.writeChildNode=function(e,r,n){switch(e.type){case t.CData:return this.cdata(e,r,n);case t.Comment:return this.comment(e,r,n);case t.Element:return this.element(e,r,n);case t.Raw:return this.raw(e,r,n);case t.Text:return this.text(e,r,n);case t.ProcessingInstruction:return this.processingInstruction(e,r,n);case t.Dummy:return"";case t.Declaration:return this.declaration(e,r,n);case t.DocType:return this.docType(e,r,n);case t.AttributeDeclaration:return this.dtdAttList(e,r,n);case t.ElementDeclaration:return this.dtdElement(e,r,n);case t.EntityDeclaration:return this.dtdEntity(e,r,n);case t.NotationDeclaration:return this.dtdNotation(e,r,n);default:throw Error("Unknown XML node type: "+e.constructor.name)}},e.prototype.processingInstruction=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+""+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.raw=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r),t.state=n.InsideTag,o+=e.value,t.state=n.CloseTag,o+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.text=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r),t.state=n.InsideTag,o+=e.value,t.state=n.CloseTag,o+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.dtdAttList=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+""+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.dtdElement=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+""+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.dtdEntity=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+""+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.dtdNotation=function(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+""+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o},e.prototype.openNode=function(e,t,r){},e.prototype.closeNode=function(e,t,r){},e.prototype.openAttribute=function(e,t,r){},e.prototype.closeAttribute=function(e,t,r){},e}()}).call(this)},5532:function(e,t,r){(function(){var t,n,o,i,a,s,l,u,c,d;u=(d=r(78369)).assign,c=d.isFunction,o=r(91770),i=r(66934),a=r(79227),l=r(26434),s=r(81996),t=r(39335),n=r(30594),e.exports.create=function(e,t,r,n){var o,a;if(null==e)throw Error("Root element needs a name.");return a=(o=new i(n=u({},t,r,n))).element(e),n.headless||(o.declaration(n),(null!=n.pubID||null!=n.sysID)&&o.dtd(n)),a},e.exports.begin=function(e,t,r){var n;return(c(e)&&(t=(n=[e,t])[0],r=n[1],e={}),t)?new a(e,t,r):new i(e)},e.exports.stringWriter=function(e){return new l(e)},e.exports.streamWriter=function(e,t){return new s(e,t)},e.exports.implementation=new o,e.exports.nodeType=t,e.exports.writerState=n}).call(this)},63083:function(e,t,r){"use strict";var n=r(89908),o="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t=65&&o<=90&&"function"==typeof t}(o,i)?e[o]=i:e[o]=function(e,t){return r=>{if(null!=r&&"object"==typeof r&&"nativeEvent"in r){c(r);let n=t(r);return r.baseUIHandlerPrevented||e?.(r),n}let n=t(r);return e?.(r),n}}(e[o],i)}}return e}(e,t)}function l(e){return"function"==typeof e}function u(e,t){return l(e)?e(t):e??o}function c(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}},11242:function(e,t,r){"use strict";r.d(t,{Q:function(){return l}});var n=r(67294),o=r(73686),i=r(36136),a=r(37546),s=r(25154);let l=n.forwardRef(function(e,t){let{className:r,render:l,...u}=e,{open:c}=(0,i.h)(),{arrowRef:d,side:p,align:f,arrowUncentered:h,arrowStyles:m}=(0,o.t)(),g=n.useMemo(()=>({open:c,side:p,align:f,uncentered:h}),[c,p,f,h]);return(0,s.E)("div",e,{state:g,ref:[t,d],props:[{style:m,"aria-hidden":!0},u],customStyleHookMapping:a.SD})})},83567:function(e,t,r){"use strict";r.d(t,{N:function(){return u}});var n=r(67294),o=r(36136),i=r(37546),a=r(63285),s=r(25154);let l={...i.SD,...a.l},u=n.forwardRef(function(e,t){let{className:r,render:i,...a}=e,{open:u,mounted:c,transitionStatus:d,openReason:p}=(0,o.h)(),f=n.useMemo(()=>({open:u,transitionStatus:d}),[u,d]);return(0,s.E)("div",e,{state:f,ref:t,props:[{role:"presentation",hidden:!c,style:{pointerEvents:"trigger-hover"===p?"none":void 0,userSelect:"none",WebkitUserSelect:"none"}},a],customStyleHookMapping:l})})},4887:function(e,t,r){"use strict";r.d(t,{x:function(){return a}});var n=r(67294),o=r(36136),i=r(25154);let a=n.forwardRef(function(e,t){let{render:r,className:n,...a}=e,{setOpen:s}=(0,o.h)();return(0,i.E)("button",e,{ref:t,props:[{onClick(e){s(!1,e.nativeEvent,"close-press")}},a]})})},89779:function(e,t,r){"use strict";r.d(t,{E:function(){return c}});var n=r(67294),o=r.t(n,2),i=r(36136),a=r(97145);let s=0,l={...o}.useId;var u=r(25154);let c=n.forwardRef(function(e,t){let{render:r,className:o,...c}=e,{setDescriptionId:d}=(0,i.h)(),p=function(e,t){if(void 0!==l){let r=l();return e??(t?`${t}-${r}`:r)}return function(e,t="mui"){let[r,o]=n.useState(e),i=e||r;return n.useEffect(()=>{null==r&&(s+=1,o(`${t}-${s}`))},[r,t]),i}(e,t)}(c.id,"base-ui");return(0,a.Xj)(()=>(d(p),()=>{d(void 0)}),[d,p]),(0,u.E)("p",e,{ref:t,props:[{id:p},c]})})},78121:function(e,t,r){"use strict";r.d(t,{w:function(){return f}});var n=r(67294),o=r(93075),i=r(36136),a=r(73686),s=r(37546),l=r(63285),u=r(29379),c=r(25154),d=r(85893);let p={...s.SD,...l.l},f=n.forwardRef(function(e,t){let{className:r,render:s,initialFocus:l,finalFocus:f,...h}=e,{open:m,instantType:g,transitionStatus:y,popupProps:v,titleId:b,descriptionId:w,popupRef:E,mounted:x,openReason:S,onOpenChangeComplete:C,modal:O}=(0,i.h)(),T=(0,a.t)();(0,u.s)({open:m,ref:E,onComplete(){m&&C?.(!0)}});let{props:D,resolvedInitialFocus:P}=function(e){let{titleId:t,descriptionId:r,initialFocus:o}=e,{popupRef:a,openMethod:s}=(0,i.h)(),l=n.useMemo(()=>({"aria-labelledby":t,"aria-describedby":r}),[t,r]),u=n.useCallback(e=>"touch"===e?a:0,[a]),c=n.useMemo(()=>null==o?u(s??""):"function"==typeof o?o(s??""):o,[u,o,s]);return n.useMemo(()=>({props:l,resolvedInitialFocus:c}),[l,c])}({titleId:b,descriptionId:w,initialFocus:l}),A=n.useMemo(()=>({open:m,side:T.side,align:T.align,instant:g,transitionStatus:y}),[m,T.side,T.align,g,y]),k=(0,c.E)("div",e,{state:A,ref:[t,E],props:[v,D,{style:"starting"===y?{transition:"none"}:{}},h],customStyleHookMapping:p});return(0,d.jsx)(o.wD,{context:T.context,modal:"trap-focus"===O,disabled:!x||"trigger-hover"===S,initialFocus:P,returnFocus:f,children:k})})},94571:function(e,t,r){"use strict";r.d(t,{i:function(){return s}}),r(67294);var n=r(93075),o=r(36136),i=r(45050),a=r(85893);function s(e){let{children:t,keepMounted:r=!1,container:s}=e,{mounted:l}=(0,o.h)();return l||r?(0,a.jsx)(i._.Provider,{value:r,children:(0,a.jsx)(n.ll,{root:s,children:t})}):null}},45050:function(e,t,r){"use strict";r.d(t,{_:function(){return o},w:function(){return i}});var n=r(67294);let o=n.createContext(void 0);function i(){let e=n.useContext(o);if(void 0===e)throw Error("Base UI: is missing.");return e}},35687:function(e,t,r){"use strict";r.d(t,{N:function(){return C}});var n=r(67294),o=r(93075),i=r(36136),a=r(1371),s=r(29545),l=r(71347),u=r(97145);let c=n.createContext(void 0);var d=r(21126),p=r(21965);function f(e,t,r){let n="inline-start"===e||"inline-end"===e;return({top:"top",right:n?r?"inline-start":"inline-end":"right",bottom:"bottom",left:n?r?"inline-end":"inline-start":"left"})[t]}function h(e,t,r){let{rects:n,placement:o}=e;return{side:f(t,(0,l.k3)(o),r),align:(0,l.hp)(o)||"center",anchor:{width:n.reference.width,height:n.reference.height},positioner:{width:n.floating.width,height:n.floating.height}}}function m(e){return null!=e&&"current"in e}var g=r(73686),y=r(37546),v=r(45050),b=r(6199),w=r(85893);let E=n.forwardRef(function(e,t){let r;let{cutout:n,...o}=e;if(n){let e=n?.getBoundingClientRect();r=`polygon( 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, ${e.left}px ${e.top}px, ${e.left}px ${e.bottom}px, ${e.right}px ${e.bottom}px, ${e.right}px ${e.top}px, ${e.left}px ${e.top}px )`}return(0,w.jsx)("div",{ref:t,role:"presentation","data-floating-ui-inert":!0,...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:r}})});var x=r(25154),S=r(59e3);let C=n.forwardRef(function(e,t){var r;let{render:C,className:O,anchor:T,positionMethod:D="absolute",side:P="bottom",align:A="center",sideOffset:k=0,alignOffset:R=0,collisionBoundary:I="clipping-ancestors",collisionPadding:_=5,arrowPadding:N=5,sticky:L=!1,trackAnchor:M=!0,collisionAvoidance:j=S.OP,...F}=e,{floatingRootContext:B,open:Z,mounted:V,setPositionerElement:q,modal:U,openReason:z,openMethod:$}=(0,i.h)(),H=(0,v.w)(),G=(0,o.jV)(),W=function(e){let{open:t,mounted:r}=(0,i.h)(),g=function(e){let{anchor:t,positionMethod:r="absolute",side:i="bottom",sideOffset:g=0,align:y="center",alignOffset:v=0,collisionBoundary:b,collisionPadding:w=5,sticky:E=!1,arrowPadding:x=5,trackAnchor:S=!0,keepMounted:C=!1,floatingRootContext:O,mounted:T,collisionAvoidance:D,shiftCrossAxis:P=!1,nodeId:A,adaptiveOrigin:k}=e,R=D.side||"flip",I=D.align||"flip",_=D.fallbackAxisSide||"end",N="function"==typeof t?t:void 0,L=(0,p.$)(N),M=N?L:t,j=(0,d.I)(t),F="rtl"===function(e=!0){let t=n.useContext(c);if(void 0===t&&!e)throw Error("Base UI: DirectionContext is missing.");return t?.direction??"ltr"}(),B={top:"top",right:"right",bottom:"bottom",left:"left","inline-end":F?"left":"right","inline-start":F?"right":"left"}[i],Z="center"===y?B:`${B}-${y}`,V={boundary:"clipping-ancestors"===b?"clippingAncestors":b,padding:w},q=n.useRef(null),U=(0,d.I)(g),z=(0,d.I)(v),$=[(0,a.cv)(e=>{let t=h(e,i,F),r="function"==typeof U.current?U.current(t):U.current,n="function"==typeof z.current?z.current(t):z.current;return{mainAxis:r,crossAxis:n,alignmentAxis:n}},["function"!=typeof g?g:0,"function"!=typeof v?v:0,F,i])],H="none"===I&&"shift"!==R,G=!H&&(E||P||"shift"===R),W="none"===R?null:(0,a.RR)({...V,mainAxis:!P&&"flip"===R,crossAxis:"flip"===I&&"alignment",fallbackAxisSideDirection:_}),K=H?null:(0,a.uY)(e=>{let t=(0,u.Me)(e.elements.floating).documentElement;return{...V,rootBoundary:P?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:"none"!==I,crossAxis:G,limiter:E||P?void 0:(0,a.dr)(()=>{if(!q.current)return{};let{height:e}=q.current.getBoundingClientRect();return{offset:e/2+("number"==typeof w?w:0)}})}},[V,E,P,w,I]);"shift"===R||"shift"===I||"center"===y?$.push(K,W):$.push(W,K),$.push((0,a.dp)({...V,apply({elements:{floating:e},rects:{reference:t},availableWidth:r,availableHeight:n}){Object.entries({"--available-width":`${r}px`,"--available-height":`${n}px`,"--anchor-width":`${t.width}px`,"--anchor-height":`${t.height}px`}).forEach(([t,r])=>{e.style.setProperty(t,r)})}}),(0,a.x7)(()=>({element:q.current||document.createElement("div"),padding:x}),[x]),(0,a.Cp)(),{name:"transformOrigin",fn(e){let{elements:t,middlewareData:r,placement:n,rects:o,y:a}=e,s=(0,l.k3)(n),u=(0,l.Qq)(s),c=q.current,d=r.arrow?.x||0,p=r.arrow?.y||0,f=c?.clientWidth||0,m=c?.clientHeight||0,y=d+f/2,v=p+m/2,b=Math.abs(r.shift?.y||0),w=o.reference.height/2,E=b>("function"==typeof g?g(h(e,i,F)):g),x={top:`${y}px calc(100% + ${g}px)`,bottom:`${y}px ${-g}px`,left:`calc(100% + ${g}px) ${v}px`,right:`${-g}px ${v}px`}[s],S=`${y}px ${o.reference.y+w-a}px`;return t.floating.style.setProperty("--transform-origin",G&&"y"===u&&E?S:x),{}}},k);let Y=O;!T&&O&&(Y={...O,elements:{reference:null,floating:null,domReference:null}});let Q=n.useMemo(()=>({elementResize:S&&"undefined"!=typeof ResizeObserver,layoutShift:S&&"undefined"!=typeof IntersectionObserver}),[S]),{refs:J,elements:X,x:ee,y:et,middlewareData:er,update:en,placement:eo,context:ei,isPositioned:ea,floatingStyles:es}=(0,o.YF)({rootContext:Y,placement:Z,middleware:$,strategy:r,whileElementsMounted:C?void 0:(...e)=>(0,s.Me)(...e,Q),nodeId:A}),{sideX:el,sideY:eu}=er.adaptiveOrigin||{},ec=n.useMemo(()=>k?{position:r,[el]:`${ee}px`,[eu]:`${et}px`}:es,[k,el,eu,r,ee,et,es]),ed=n.useRef(null);(0,u.Xj)(()=>{if(!T)return;let e=j.current,t="function"==typeof e?e():e,r=(m(t)?t.current:t)||null;J.setPositionReference(r),ed.current=r},[T,J,M,j]),n.useEffect(()=>{if(!T)return;let e=j.current;"function"!=typeof e&&m(e)&&e.current!==ed.current&&(J.setPositionReference(e.current),ed.current=e.current)},[T,J,M,j]),n.useEffect(()=>{if(C&&T&&X.domReference&&X.floating)return(0,s.Me)(X.domReference,X.floating,en,Q)},[C,T,X,en,Q]);let ep=f(i,(0,l.k3)(eo),F),ef=(0,l.hp)(eo)||"center",eh=!!er.hide?.referenceHidden,em=n.useMemo(()=>({position:"absolute",top:er.arrow?.y,left:er.arrow?.x}),[er.arrow]),eg=er.arrow?.centerOffset!==0;return n.useMemo(()=>({positionerStyles:ec,arrowStyles:em,arrowRef:q,arrowUncentered:eg,side:ep,align:ef,anchorHidden:eh,refs:J,context:ei,isPositioned:ea,update:en}),[ec,em,q,eg,ep,ef,eh,J,ei,ea,en])}(e),y=n.useMemo(()=>{let e={};return t||(e.pointerEvents="none"),{role:"presentation",hidden:!r,style:{...g.positionerStyles,...e}}},[t,r,g.positionerStyles]);return n.useMemo(()=>({props:y,...g}),[y,g])}({anchor:T,floatingRootContext:B,positionMethod:D,mounted:V,side:P,sideOffset:k,align:A,alignOffset:R,arrowPadding:N,collisionBoundary:I,collisionPadding:_,sticky:L,trackAnchor:M,keepMounted:H,nodeId:G,collisionAvoidance:j}),K=n.useMemo(()=>({open:Z,side:W.side,align:W.align,anchorHidden:W.anchorHidden}),[Z,W.side,W.align,W.anchorHidden]),Y=(0,x.E)("div",e,{state:K,props:[W.props,F],ref:[t,q],customStyleHookMapping:y.SD});return(0,w.jsxs)(g.e.Provider,{value:W,children:[V&&!0===U&&"trigger-hover"!==z&&"touch"!==$&&(0,w.jsx)(E,{inert:(r=!Z,(0,b.c)(19)?r:r?"true":void 0)}),(0,w.jsx)(o.mN,{id:G,children:Y})]})})},73686:function(e,t,r){"use strict";r.d(t,{e:function(){return o},t:function(){return i}});var n=r(67294);let o=n.createContext(void 0);function i(){let e=n.useContext(o);if(void 0===e)throw Error("Base UI: PopoverPositionerContext is missing. PopoverPositioner parts must be placed within .");return e}},21075:function(e,t,r){"use strict";r.d(t,{P:function(){return T}});var n=r(67294),o=r(73935),i=r(93075),a=r(97145),s=r(4218);let l={};var u=r(86561),c=r(21965),d=r(29379),p=r(59e3);let f=function(){if("undefined"==typeof navigator)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints}}(),h="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),m="MacIntel"===f.platform&&f.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(f.platform),g="undefined"!=typeof navigator&&/firefox/i.test((0,a.ij)());var y=r(37317);let v={},b={},w="";class E{lockCount=0;restore=null;timeoutLock=u.V.create();timeoutUnlock=u.V.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(0===this.lockCount||null!==this.restore)return;let t=m||g&&!function(e){if("undefined"==typeof document)return!1;let t=(0,a.Me)(e);return(0,y.Jj)(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=t?function(e){let t=(0,a.Me)(e).documentElement,r=t.style.overflow;return t.style.overflow="hidden",()=>{t.style.overflow=r}}(e):function(e){let t=(0,a.Me)(e),r=t.documentElement,n=t.body,o=(0,y.Jj)(r),i=0,l=0,u=s.$.create();if(h&&(o.visualViewport?.scale??1)!==1)return()=>{};function c(){let e=o.getComputedStyle(r),t=o.getComputedStyle(n);i=r.scrollTop,l=r.scrollLeft,v={overflowY:r.style.overflowY,overflowX:r.style.overflowX},w=r.style.scrollBehavior,b={position:n.style.position,height:n.style.height,width:n.style.width,boxSizing:n.style.boxSizing,overflowY:n.style.overflowY,overflowX:n.style.overflowX,scrollBehavior:n.style.scrollBehavior};let a=e.scrollbarGutter?.includes("stable"),s=r.scrollHeight>r.clientHeight,u=r.scrollWidth>r.clientWidth,c="scroll"===e.overflowY||"scroll"===t.overflowY,d="scroll"===e.overflowX||"scroll"===t.overflowX,p=Math.max(0,o.innerWidth-r.clientWidth),f=Math.max(0,o.innerHeight-r.clientHeight),h=parseFloat(t.marginTop)+parseFloat(t.marginBottom),m=parseFloat(t.marginLeft)+parseFloat(t.marginRight);Object.assign(r.style,{overflowY:!a&&(s||c)?"scroll":"hidden",overflowX:!a&&(u||d)?"scroll":"hidden"}),Object.assign(n.style,{position:"relative",height:h||f?`calc(100dvh - ${h+f}px)`:"100dvh",width:m||p?`calc(100vw - ${m+p}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),n.scrollTop=i,n.scrollLeft=l,r.setAttribute("data-base-ui-scroll-locked",""),r.style.scrollBehavior="unset"}function d(){Object.assign(r.style,v),Object.assign(n.style,b),r.scrollTop=i,r.scrollLeft=l,r.removeAttribute("data-base-ui-scroll-locked"),r.style.scrollBehavior=w}function p(){d(),u.request(c)}return c(),o.addEventListener("resize",p),()=>{u.cancel(),d(),o.removeEventListener("resize",p)}}(e)}}let x=new E;var S=r(36136),C=r(85893);function O({props:e}){let{open:t,onOpenChange:r,defaultOpen:f=!1,delay:m=300,closeDelay:g=0,openOnHover:y=!1,onOpenChangeComplete:v,modal:b=!1}=e,[w,E]=n.useState(),[O,T]=n.useState(),[D,P]=n.useState(),[A,k]=n.useState(null),[R,I]=n.useState(null),[_,N]=n.useState(null),[L,M]=n.useState(!0),j=n.useRef(null),F=(0,u.K)(),[B,Z]=function({controlled:e,default:t,name:r,state:o="value"}){let{current:i}=n.useRef(void 0!==e),[a,s]=n.useState(t),l=n.useCallback(e=>{i||s(e)},[]);return[i?e:a,l]}({controlled:t,default:f,name:"Popover",state:"open"}),{mounted:V,setMounted:q,transitionStatus:U}=function(e,t=!1){let[r,o]=n.useState(e&&t?"idle":void 0),[i,l]=n.useState(e);return e&&!i&&(l(!0),o("starting")),!e&&i&&"ending"!==r&&o("ending"),e||i||"ending"!==r||o(void 0),(0,a.Xj)(()=>{if(!e||t)return;let r=s.$.request(()=>{o(void 0)});return()=>{s.$.cancel(r)}},[t,e]),(0,a.Xj)(()=>{if(!e||!t)return;e&&i&&"idle"!==r&&o("starting");let n=s.$.request(()=>{o("idle")});return()=>{s.$.cancel(n)}},[t,e,i,o,r]),n.useMemo(()=>({mounted:i,setMounted:l,transitionStatus:r}),[i,r])}(B);!function(e){let{enabled:t=!0,mounted:r,open:n,referenceElement:o=null}=e;(0,a.Xj)(()=>{if(h&&r&&!n){let e=(0,a.Me)(o),t=e.body.style.userSelect,r=e.body.style.webkitUserSelect;return e.body.style.userSelect="none",e.body.style.webkitUserSelect="none",()=>{e.body.style.userSelect=t,e.body.style.webkitUserSelect=r}}},[r,n,o]),(0,a.Xj)(()=>{if(t)return x.acquire(o)},[t,o])}({enabled:B&&!0===b&&"trigger-hover"!==_,mounted:V,open:B,referenceElement:R});let z=(0,c.$)(()=>{q(!1),M(!0),N(null),v?.(!1)});(0,d.s)({enabled:!e.actionsRef,open:B,ref:j,onComplete(){B||z()}}),n.useImperativeHandle(e.actionsRef,()=>({unmount:z}),[z]),n.useEffect(()=>{B||F.clear()},[F,B]);let $=(0,c.$)((e,t,n)=>{let i="trigger-hover"===n,a="trigger-press"===n&&0===t.detail,s=!e&&("escape-key"===n||null==n);function l(){r?.(e,t,n),Z(e),e&&N(n??null)}i?(M(!0),F.start(p.EL,()=>{M(!1)}),o.flushSync(l)):l(),a||s?E(a?"click":"dismiss"):E(void 0)}),H=(0,i.$Y)({elements:{reference:A,floating:R},open:B,onOpenChange(e,t,r){$(e,t,function(e){if(e)return({"focus-out":"focus-out","escape-key":"escape-key","outside-press":"outside-press","list-navigation":"list-navigation",click:"trigger-press",hover:"trigger-hover",focus:"trigger-focus","reference-press":"trigger-press","safe-polygon":"trigger-hover","ancestor-scroll":void 0})[e]}(r))}}),{openMethod:G,triggerProps:W}=function(e){let[t,r]=n.useState(null);e||null===t||r(null);let{onClick:o,onPointerDown:i}=function(e){let t=n.useRef(""),r=n.useCallback(e=>{e.defaultPrevented||(t.current=e.pointerType)},[]);return{onClick:n.useCallback(r=>{if(0===r.detail){e(r,"keyboard");return}"pointerType"in r&&e(r,r.pointerType),e(r,t.current),t.current=""},[e]),onPointerDown:r}}(n.useCallback((t,n)=>{e||r(n)},[e,r]));return n.useMemo(()=>({openMethod:t,triggerProps:{onClick:o,onPointerDown:i}}),[t,o,i])}(B),K=(0,i.XI)(H,{enabled:y&&("touch"!==G||"trigger-press"!==_),mouseOnly:!0,move:!1,handleClose:(0,i.xp)({blockPointerEvents:!0}),restMs:m,delay:{close:g}}),Y=function(e,t={}){let{open:r,onOpenChange:o,dataRef:i}=e,{enabled:u=!0,event:c="click",toggle:d=!0,ignoreMouse:p=!1,stickIfOpen:f=!0}=t,h=n.useRef(void 0),m=(0,s.p)(),g=n.useMemo(()=>({onPointerDown(e){h.current=e.pointerType},onMouseDown(e){let t=h.current,n=e.nativeEvent;if(0!==e.button||"click"===c||(0,a.r)(t,!0)&&p)return;let s=!(r&&d&&(!i.current.openEvent||!f||"click"===i.current.openEvent.type||"mousedown"===i.current.openEvent.type));m.request(()=>{o(s,n,"click")})},onClick(e){let t=h.current;if("mousedown"===c&&t){h.current=void 0;return}(0,a.r)(t,!0)&&p||o(!(r&&d&&(!i.current.openEvent||!f||"click"===i.current.openEvent.type||"mousedown"===i.current.openEvent.type)),e.nativeEvent,"click")},onKeyDown(){h.current=void 0}}),[i,c,p,o,r,f,d,m]);return n.useMemo(()=>u?{reference:g}:l,[u,g])}(H,{stickIfOpen:L}),Q=(0,i.bQ)(H),J=(0,i.qs)(H),{getReferenceProps:X,getFloatingProps:ee}=(0,i.NI)([K,Y,Q,J]),et=n.useMemo(()=>({open:B,setOpen:$,mounted:V,setMounted:q,transitionStatus:U,setTriggerElement:k,positionerElement:R,setPositionerElement:I,popupRef:j,titleId:O,setTitleId:T,descriptionId:D,setDescriptionId:P,triggerProps:X(W),popupProps:ee(),floatingRootContext:H,instantType:w,openMethod:G,openReason:_,onOpenChangeComplete:v,openOnHover:y,delay:m,closeDelay:g,modal:b}),[B,$,V,q,U,R,O,D,X,W,ee,H,w,G,_,v,y,m,g,b]);return(0,C.jsx)(S.Z.Provider,{value:et,children:e.children})}function T(e){return(0,S.h)(!0)?(0,C.jsx)(O,{props:e}):(0,C.jsx)(i.RB,{children:(0,C.jsx)(O,{props:e})})}},36136:function(e,t,r){"use strict";r.d(t,{Z:function(){return o},h:function(){return i}});var n=r(67294);let o=n.createContext(void 0);function i(e){let t=n.useContext(o);if(void 0===t&&!e)throw Error("Base UI: PopoverRootContext is missing. Popover parts must be placed within .");return t}},69201:function(e,t,r){"use strict";r.d(t,{x:function(){return f}});var n=r(67294),o=r(36136),i=r(42270),a=r(3672),s=r(97145),l=r(21965);let u=n.createContext(void 0),c=new Set(["button","submit","reset"]);var d=r(37546),p=r(25154);let f=n.forwardRef(function(e,t){let{render:r,className:f,disabled:h=!1,...m}=e,{open:g,setTriggerElement:y,triggerProps:v,openReason:b}=(0,o.h)(),w=n.useMemo(()=>({disabled:h,open:g}),[h,g]),{getButtonProps:E,buttonRef:x}=function(e={}){let{buttonRef:t,disabled:r=!1,focusableWhenDisabled:o,tabIndex:d=0,type:p="button",elementName:f}=e,h=n.useRef(null),{rootElementName:m,updateRootElementName:g}=function(e){let{rootElementName:t=""}=e,[r,o]=n.useState(t.toUpperCase());return{rootElementName:r,updateRootElementName:n.useCallback(e=>{o(e?.tagName??"")},[])}}({rootElementName:f}),y=void 0!==function(e=!1){let t=n.useContext(u);if(void 0===t&&!e)throw Error("Base UI: CompositeRootContext is missing. Composite parts must be placed within .");return t}(!0),v=(0,l.$)(()=>{let e=h.current;return"BUTTON"===m||"INPUT"===m&&c.has(e?.type)}),b=(0,l.$)(()=>{let e=h.current;return!!("A"===m&&e?.href)}),w=(0,i.c)(g,t,h),E=n.useMemo(()=>{let e={};return void 0===d||y||(e.tabIndex=d),"BUTTON"===m||"INPUT"===m?o||y?e["aria-disabled"]=r:y||(e.disabled=r):""!==m&&("A"!==m?(e.role="button",y||(e.tabIndex=d??0)):d&&!y&&(e.tabIndex=d),r&&(e["aria-disabled"]=r,y||(e.tabIndex=o?d??0:-1))),e},[r,m,o,y,d]);return(0,s.Xj)(()=>{let e=h.current;e instanceof HTMLButtonElement&&y&&r&&void 0===E.disabled&&e.disabled&&(e.disabled=!1)},[r,E.disabled,y]),{getButtonProps:n.useCallback((e={})=>{let{onClick:t,onMouseDown:n,onKeyUp:i,onKeyDown:s,onPointerDown:l,...u}=e;return(0,a.dG)({type:"BUTTON"===m||"INPUT"===m?p:void 0,onClick(e){if(r){e.preventDefault();return}t?.(e)},onMouseDown(e){r||n?.(e)},onKeyDown(e){(r&&o&&"Tab"!==e.key||e.target===e.currentTarget&&!v()&&" "===e.key)&&e.preventDefault(),r||((0,a.QK)(e),s?.(e)),!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||v()||b()||"Enter"!==e.key||r||(t?.(e),e.preventDefault()))},onKeyUp(e){r||((0,a.QK)(e),i?.(e)),!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||v()||r||" "!==e.key||t?.(e))},onPointerDown(e){if(r){e.preventDefault();return}l?.(e)},ref:w},E,u)},[E,r,m,o,v,b,w,p]),buttonRef:w}}({disabled:h,buttonRef:t}),S=n.useMemo(()=>({open:e=>e&&"trigger-press"===b?d.oL.open(e):d.wC.open(e)}),[b]);return(0,p.E)("button",e,{state:w,ref:[x,y],props:[v,m,E],customStyleHookMapping:S})})},59e3:function(e,t,r){"use strict";r.d(t,{EL:function(){return n},OP:function(){return o}});let n=500,o={fallbackAxisSide:"end"}},77045:function(e,t,r){"use strict";function n(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}r.d(t,{P:function(){return n}})},37546:function(e,t,r){"use strict";r.d(t,{SD:function(){return m},oL:function(){return h},wC:function(){return f}});var n,o,i=r(63285);let a=((n={}).open="data-open",n.closed="data-closed",n[n.startingStyle=i.C.startingStyle]="startingStyle",n[n.endingStyle=i.C.endingStyle]="endingStyle",n.anchorHidden="data-anchor-hidden",n),s=((o={}).popupOpen="data-popup-open",o.pressed="data-pressed",o),l={[s.popupOpen]:""},u={[s.popupOpen]:"",[s.pressed]:""},c={[a.open]:""},d={[a.closed]:""},p={[a.anchorHidden]:""},f={open:e=>e?l:null},h={open:e=>e?u:null},m={open:e=>e?c:d,anchorHidden:e=>e?p:null}},6199:function(e,t,r){"use strict";r.d(t,{c:function(){return o}});let n=parseInt(r(67294).version,10);function o(e){return n>=e}},63285:function(e,t,r){"use strict";var n;r.d(t,{C:function(){return o},l:function(){return s}});let o=((n={}).startingStyle="data-starting-style",n.endingStyle="data-ending-style",n),i={[o.startingStyle]:""},a={[o.endingStyle]:""},s={transitionStatus:e=>"starting"===e?i:"ending"===e?a:null}},4218:function(e,t,r){"use strict";r.d(t,{$:function(){return s},p:function(){return l}});var n=r(69172),o=r(24870);class i{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let r=0;r=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}}let a=new i;class s{static create(){return new s}static request(e){return a.request(e)}static cancel(e){return a.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=a.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(a.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}function l(){let e=(0,n.A)(s.create).current;return(0,o.F)(e.disposeEffect),e}},21965:function(e,t,r){"use strict";r.d(t,{$:function(){return s}});var n,o=r(67294),i=r(69172);let a=(n||(n=r.t(o,2)))[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)]||(e=>e());function s(e){let t=(0,i.A)(l).current;return t.next=e,a(t.effect),t.trampoline}function l(){let e={next:void 0,callback:u,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function u(){throw Error("Cannot call an event handler while rendering.")}},42270:function(e,t,r){"use strict";r.d(t,{c:function(){return o},n:function(){return i}});var n=r(69172);function o(e,t,r,o){let i=(0,n.A)(a).current;return(i.refs[0]!==e||i.refs[1]!==t||i.refs[2]!==r||i.refs[3]!==o)&&s(i,[e,t,r,o]),i.callback}function i(...e){let t=(0,n.A)(a).current;return(t.refs.length!==e.length||t.refs.some((t,r)=>t!==e[r]))&&s(t,e),t.callback}function a(){return{callback:null,cleanup:null,refs:[]}}function s(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=r=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=r){let n=Array(t.length).fill(null);for(let e=0;e{for(let e=0;e{t.current=t.next}};return t}},69172:function(e,t,r){"use strict";r.d(t,{A:function(){return i}});var n=r(67294);let o={};function i(e,t){let r=n.useRef(o);return r.current===o&&(r.current=e(t)),r}},24870:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});var n=r(67294);let o=[];function i(e){n.useEffect(e,o)}},29379:function(e,t,r){"use strict";r.d(t,{s:function(){return u}});var n=r(67294),o=r(73935),i=r(21965),a=r(86561),s=r(4218),l=r(21126);function u(e){let{enabled:t=!0,open:r,ref:u,onComplete:c}=e,d=(0,l.I)(r),p=(0,i.$)(c),f=function(e,t=!1){let r=(0,s.p)(),n=(0,a.K)();return(0,i.$)((i,a=null)=>{r.cancel(),n.clear();let s=e.current;s&&("function"!=typeof s.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED?i():r.request(()=>{function e(){s&&Promise.allSettled(s.getAnimations().map(e=>e.finished)).then(()=>{null!=a&&a.aborted||o.flushSync(i)})}t?n.start(0,e):e()}))})}(u,r);n.useEffect(()=>{t&&f(()=>{r===d.current&&p()})},[t,r,p,f,d])}},25154:function(e,t,r){"use strict";r.d(t,{E:function(){return d}});var n=r(67294),o=r(42270),i=r(6199),a=r(3672),s=r(77045),l=r(85893);let u={},c=e=>e;function d(e,t,r={}){let i=t.render,d=function(e,t={}){let r;let{className:i,render:l}=e,{propGetter:d=c,state:f=u,ref:h,props:m,disableStyleHooks:g,customStyleHookMapping:y,enabled:v=!0}=t,b=v?"function"==typeof i?i(f):i:void 0;!0!==g&&(r=n.useMemo(()=>v?function(e,t){let r={};for(let n in e){let o=e[n];if(t?.hasOwnProperty(n)){let e=t[n](o);null!=e&&Object.assign(r,e);continue}!0===o?r[`data-${n.toLowerCase()}`]="":o&&(r[`data-${n.toLowerCase()}`]=o.toString())}return r}(f,y):u,[f,y,v]));let w=v?d((0,s.P)(r,Array.isArray(m)?(0,a.wu)(m):m)??u):u;return(v?Array.isArray(h)?w.ref=(0,o.n)(w.ref,p(l),...h):w.ref=(0,o.c)(w.ref,p(l),h):(0,o.c)(null,null),v)?(void 0!==b&&(w.className=b),w):u}(t,r);return!1===r.enabled?null:function(e,t,r,o){if(t){if("function"==typeof t)return t(r,o);let e=(0,a.dG)(r,t.props);return e.ref=r.ref,n.cloneElement(t,e)}if(e&&"string"==typeof e)return"button"===e?(0,l.jsx)("button",{type:"button",...r}):"img"===e?(0,l.jsx)("img",{alt:"",...r}):n.createElement(e,r);throw Error("Need either element or render to be defined")}(e,i,d,r.state??u)}function p(e){return e&&"function"!=typeof e?(0,i.c)(19)?e.props.ref:e.ref:null}},86561:function(e,t,r){"use strict";r.d(t,{K:function(){return a},V:function(){return i}});var n=r(69172),o=r(24870);class i{static create(){return new i}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}function a(){let e=(0,n.A)(i.create).current;return(0,o.F)(e.disposeEffect),e}},29545:function(e,t,r){"use strict";r.d(t,{x7:function(){return I},Me:function(){return T},oo:function(){return N},RR:function(){return A},Cp:function(){return R},dr:function(){return _},cv:function(){return D},uY:function(){return P},dp:function(){return k}});var n=r(71347);function o(e,t,r){let o,{reference:i,floating:a}=e,s=(0,n.Qq)(t),l=(0,n.Wh)(t),u=(0,n.I4)(l),c=(0,n.k3)(t),d="y"===s,p=i.x+i.width/2-a.width/2,f=i.y+i.height/2-a.height/2,h=i[u]/2-a[u]/2;switch(c){case"top":o={x:p,y:i.y-a.height};break;case"bottom":o={x:p,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:f};break;case"left":o={x:i.x-a.width,y:f};break;default:o={x:i.x,y:i.y}}switch((0,n.hp)(t)){case"start":o[l]-=h*(r&&d?-1:1);break;case"end":o[l]+=h*(r&&d?-1:1)}return o}let i=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),u=await (null==s.isRTL?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:p}=o(c,n,u),f=n,h={},m=0;for(let r=0;re[t]>=0)}async function u(e,t){let{placement:r,platform:o,elements:i}=e,a=await (null==o.isRTL?void 0:o.isRTL(i.floating)),s=(0,n.k3)(r),l=(0,n.hp)(r),u="y"===(0,n.Qq)(r),c=["left","top"].includes(s)?-1:1,d=a&&u?-1:1,p=(0,n.ku)(t,e),{mainAxis:f,crossAxis:h,alignmentAxis:m}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&"number"==typeof m&&(h="end"===l?-1*m:m),u?{x:h*d,y:f*c}:{x:f*c,y:h*d}}var c=r(37317);function d(e){let t=(0,c.Dx)(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=(0,c.Re)(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:o,l=(0,n.NM)(r)!==a||(0,n.NM)(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function p(e){return(0,c.kK)(e)?e:e.contextElement}function f(e){let t=p(e);if(!(0,c.Re)(t))return(0,n.ze)(1);let r=t.getBoundingClientRect(),{width:o,height:i,$:a}=d(t),s=(a?(0,n.NM)(r.width):r.width)/o,l=(a?(0,n.NM)(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}let h=(0,n.ze)(0);function m(e){let t=(0,c.Jj)(e);return(0,c.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:h}function g(e,t,r,o){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let a=e.getBoundingClientRect(),s=p(e),l=(0,n.ze)(1);t&&(o?(0,c.kK)(o)&&(l=f(o)):l=f(e));let u=(void 0===(i=r)&&(i=!1),o&&(!i||o===(0,c.Jj)(s))&&i)?m(s):(0,n.ze)(0),d=(a.left+u.x)/l.x,h=(a.top+u.y)/l.y,g=a.width/l.x,y=a.height/l.y;if(s){let e=(0,c.Jj)(s),t=o&&(0,c.kK)(o)?(0,c.Jj)(o):o,r=e,n=(0,c.wK)(r);for(;n&&o&&t!==r;){let e=f(n),t=n.getBoundingClientRect(),o=(0,c.Dx)(n),i=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,a=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;d*=e.x,h*=e.y,g*=e.x,y*=e.y,d+=i,h+=a,r=(0,c.Jj)(n),n=(0,c.wK)(r)}}return(0,n.JB)({width:g,height:y,x:d,y:h})}function y(e,t){let r=(0,c.Lw)(e).scrollLeft;return t?t.left+r:g((0,c.tF)(e)).left+r}function v(e,t,r){void 0===r&&(r=!1);let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:y(e,n)),y:n.top+t.scrollTop}}function b(e,t,r){let o;if("viewport"===t)o=function(e,t){let r=(0,c.Jj)(e),n=(0,c.tF)(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;let e=(0,c.Pf)();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t)o=function(e){let t=(0,c.tF)(e),r=(0,c.Lw)(e),o=e.ownerDocument.body,i=(0,n.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=(0,n.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+y(e),l=-r.scrollTop;return"rtl"===(0,c.Dx)(o).direction&&(s+=(0,n.Fp)(t.clientWidth,o.clientWidth)-i),{width:i,height:a,x:s,y:l}}((0,c.tF)(e));else if((0,c.kK)(t))o=function(e,t){let r=g(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,a=(0,c.Re)(e)?f(e):(0,n.ze)(1),s=e.clientWidth*a.x;return{width:s,height:e.clientHeight*a.y,x:i*a.x,y:o*a.y}}(t,r);else{let r=m(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return(0,n.JB)(o)}function w(e){return"static"===(0,c.Dx)(e).position}function E(e,t){if(!(0,c.Re)(e)||"fixed"===(0,c.Dx)(e).position)return null;if(t)return t(e);let r=e.offsetParent;return(0,c.tF)(e)===r&&(r=r.ownerDocument.body),r}function x(e,t){let r=(0,c.Jj)(e);if((0,c.tR)(e))return r;if(!(0,c.Re)(e)){let t=(0,c.Ow)(e);for(;t&&!(0,c.Py)(t);){if((0,c.kK)(t)&&!w(t))return t;t=(0,c.Ow)(t)}return r}let n=E(e,t);for(;n&&(0,c.Ze)(n)&&w(n);)n=E(n,t);return n&&(0,c.Py)(n)&&w(n)&&!(0,c.hT)(n)?r:n||(0,c.gQ)(e)||r}let S=async function(e){let t=this.getOffsetParent||x,r=this.getDimensions,o=await r(e.floating);return{reference:function(e,t,r){let o=(0,c.Re)(t),i=(0,c.tF)(t),a="fixed"===r,s=g(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=(0,n.ze)(0);if(o||!o&&!a){if(("body"!==(0,c.wk)(t)||(0,c.ao)(i))&&(l=(0,c.Lw)(t)),o){let e=g(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=y(i))}a&&!o&&i&&(u.x=y(i));let d=!i||o||a?(0,n.ze)(0):v(i,l);return{x:s.left+l.scrollLeft-u.x-d.x,y:s.top+l.scrollTop-u.y-d.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},C={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e,a="fixed"===i,s=(0,c.tF)(o),l=!!t&&(0,c.tR)(t.floating);if(o===s||l&&a)return r;let u={scrollLeft:0,scrollTop:0},d=(0,n.ze)(1),p=(0,n.ze)(0),h=(0,c.Re)(o);if((h||!h&&!a)&&(("body"!==(0,c.wk)(o)||(0,c.ao)(s))&&(u=(0,c.Lw)(o)),(0,c.Re)(o))){let e=g(o);d=f(o),p.x=e.x+o.clientLeft,p.y=e.y+o.clientTop}let m=!s||h||a?(0,n.ze)(0):v(s,u,!0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+p.x+m.x,y:r.y*d.y-u.scrollTop*d.y+p.y+m.y}},getDocumentElement:c.tF,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e,a=[..."clippingAncestors"===r?(0,c.tR)(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=(0,c.Kx)(e,[],!1).filter(e=>(0,c.kK)(e)&&"body"!==(0,c.wk)(e)),o=null,i="fixed"===(0,c.Dx)(e).position,a=i?(0,c.Ow)(e):e;for(;(0,c.kK)(a)&&!(0,c.Py)(a);){let t=(0,c.Dx)(a),r=(0,c.hT)(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,c.ao)(a)&&!r&&function e(t,r){let n=(0,c.Ow)(t);return!(n===r||!(0,c.kK)(n)||(0,c.Py)(n))&&("fixed"===(0,c.Dx)(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):o=t,a=(0,c.Ow)(a)}return t.set(e,n),n}(t,this._c):[].concat(r),o],s=a[0],l=a.reduce((e,r)=>{let o=b(t,r,i);return e.top=(0,n.Fp)(o.top,e.top),e.right=(0,n.VV)(o.right,e.right),e.bottom=(0,n.VV)(o.bottom,e.bottom),e.left=(0,n.Fp)(o.left,e.left),e},b(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:x,getElementRects:S,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=d(e);return{width:t,height:r}},getScale:f,isElement:c.kK,isRTL:function(e){return"rtl"===(0,c.Dx)(e).direction}};function O(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function T(e,t,r,o){let i;void 0===o&&(o={});let{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,f=p(e),h=a||s?[...f?(0,c.Kx)(f):[],...(0,c.Kx)(t)]:[];h.forEach(e=>{a&&e.addEventListener("scroll",r,{passive:!0}),s&&e.addEventListener("resize",r)});let m=f&&u?function(e,t){let r,o=null,i=(0,c.tF)(e);function a(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}return!function s(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),a();let c=e.getBoundingClientRect(),{left:d,top:p,width:f,height:h}=c;if(l||t(),!f||!h)return;let m=(0,n.GW)(p),g=(0,n.GW)(i.clientWidth-(d+f)),y={rootMargin:-m+"px "+-g+"px "+-(0,n.GW)(i.clientHeight-(p+h))+"px "+-(0,n.GW)(d)+"px",threshold:(0,n.Fp)(0,(0,n.VV)(1,u))||1},v=!0;function b(t){let n=t[0].intersectionRatio;if(n!==u){if(!v)return s();n?s(!1,n):r=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==n||O(c,e.getBoundingClientRect())||s(),v=!1}try{o=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(b,y)}o.observe(e)}(!0),a}(f,r):null,y=-1,v=null;l&&(v=new ResizeObserver(e=>{let[n]=e;n&&n.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),r()}),f&&!d&&v.observe(f),v.observe(t));let b=d?g(e):null;return d&&function t(){let n=g(e);b&&!O(b,n)&&r(),b=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",r),s&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(i)}}let D=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:i,placement:a,middlewareData:s}=t,l=await u(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},P=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=(0,n.ku)(e,t),d={x:r,y:o},p=await a(t,c),f=(0,n.Qq)((0,n.k3)(i)),h=(0,n.Rn)(f),m=d[h],g=d[f];if(s){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",r=m+p[e],o=m-p[t];m=(0,n.uZ)(r,m,o)}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=g+p[e],o=g-p[t];g=(0,n.uZ)(r,g,o)}let y=u.fn({...t,[h]:m,[f]:g});return{...y,data:{x:y.x-r,y:y.y-o,enabled:{[h]:s,[f]:l}}}}}},A=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o,i,s,l;let{placement:u,middlewareData:c,rects:d,initialPlacement:p,platform:f,elements:h}=t,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:y,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:w=!0,...E}=(0,n.ku)(e,t);if(null!=(r=c.arrow)&&r.alignmentOffset)return{};let x=(0,n.k3)(u),S=(0,n.Qq)(p),C=(0,n.k3)(p)===p,O=await (null==f.isRTL?void 0:f.isRTL(h.floating)),T=y||(C||!w?[(0,n.pw)(p)]:(0,n.gy)(p)),D="none"!==b;!y&&D&&T.push(...(0,n.KX)(p,w,b,O));let P=[p,...T],A=await a(t,E),k=[],R=(null==(o=c.flip)?void 0:o.overflows)||[];if(m&&k.push(A[x]),g){let e=(0,n.i8)(u,d,O);k.push(A[e[0]],A[e[1]])}if(R=[...R,{placement:u,overflows:k}],!k.every(e=>e<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=P[e];if(t&&(!("alignment"===g&&S!==(0,n.Qq)(t))||R.every(e=>e.overflows[0]>0&&(0,n.Qq)(e.placement)===S)))return{data:{index:e,overflows:R},reset:{placement:t}};let r=null==(s=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:s.placement;if(!r)switch(v){case"bestFit":{let e=null==(l=R.filter(e=>{if(D){let t=(0,n.Qq)(e.placement);return t===S||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(r=e);break}case"initialPlacement":r=p}if(u!==r)return{reset:{placement:r}}}return{}}}},k=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,o;let i,s;let{placement:l,rects:u,platform:c,elements:d}=t,{apply:p=()=>{},...f}=(0,n.ku)(e,t),h=await a(t,f),m=(0,n.k3)(l),g=(0,n.hp)(l),y="y"===(0,n.Qq)(l),{width:v,height:b}=u.floating;"top"===m||"bottom"===m?(i=m,s=g===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(s=m,i="end"===g?"top":"bottom");let w=b-h.top-h.bottom,E=v-h.left-h.right,x=(0,n.VV)(b-h[i],w),S=(0,n.VV)(v-h[s],E),C=!t.middlewareData.shift,O=x,T=S;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(T=E),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(O=w),C&&!g){let e=(0,n.Fp)(h.left,0),t=(0,n.Fp)(h.right,0),r=(0,n.Fp)(h.top,0),o=(0,n.Fp)(h.bottom,0);y?T=v-2*(0!==e||0!==t?e+t:(0,n.Fp)(h.left,h.right)):O=b-2*(0!==r||0!==o?r+o:(0,n.Fp)(h.top,h.bottom))}await p({...t,availableWidth:T,availableHeight:O});let D=await c.getDimensions(d.floating);return v!==D.width||b!==D.height?{reset:{rects:!0}}:{}}}},R=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:o="referenceHidden",...i}=(0,n.ku)(e,t);switch(o){case"referenceHidden":{let e=s(await a(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{let e=s(await a(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}},I=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:o,placement:i,rects:a,platform:s,elements:l,middlewareData:u}=t,{element:c,padding:d=0}=(0,n.ku)(e,t)||{};if(null==c)return{};let p=(0,n.yd)(d),f={x:r,y:o},h=(0,n.Wh)(i),m=(0,n.I4)(h),g=await s.getDimensions(c),y="y"===h,v=y?"clientHeight":"clientWidth",b=a.reference[m]+a.reference[h]-f[h]-a.floating[m],w=f[h]-a.reference[h],E=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),x=E?E[v]:0;x&&await (null==s.isElement?void 0:s.isElement(E))||(x=l.floating[v]||a.floating[m]);let S=x/2-g[m]/2-1,C=(0,n.VV)(p[y?"top":"left"],S),O=(0,n.VV)(p[y?"bottom":"right"],S),T=x-g[m]-O,D=x/2-g[m]/2+(b/2-w/2),P=(0,n.uZ)(C,D,T),A=!u.arrow&&null!=(0,n.hp)(i)&&D!==P&&a.reference[m]/2-(Dr&&(h=r)}if(c){var v,b;let e="y"===f?"width":"height",t=["top","left"].includes((0,n.k3)(i)),r=a.reference[p]-a.floating[e]+(t&&(null==(v=s.offset)?void 0:v[p])||0)+(t?0:y.crossAxis),o=a.reference[p]+a.reference[e]+(t?0:(null==(b=s.offset)?void 0:b[p])||0)-(t?y.crossAxis:0);mo&&(m=o)}return{[f]:h,[p]:m}}}},N=(e,t,r)=>{let n=new Map,o={platform:C,...r},a={...o.platform,_c:n};return i(e,t,{...o,platform:a})}},1371:function(e,t,r){"use strict";r.d(t,{Cp:function(){return v},RR:function(){return g},YF:function(){return d},cv:function(){return f},dp:function(){return y},dr:function(){return m},uY:function(){return h},x7:function(){return b}});var n=r(29545),o=r(67294),i=r(73935),a="undefined"!=typeof document?o.useLayoutEffect:function(){};function s(e,t){let r,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function l(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let r=l(e);return Math.round(t*r)/r}function c(e){let t=o.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:d=[],platform:p,elements:{reference:f,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=e,[v,b]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[w,E]=o.useState(d);s(w,d)||E(d);let[x,S]=o.useState(null),[C,O]=o.useState(null),T=o.useCallback(e=>{e!==k.current&&(k.current=e,S(e))},[]),D=o.useCallback(e=>{e!==R.current&&(R.current=e,O(e))},[]),P=f||x,A=h||C,k=o.useRef(null),R=o.useRef(null),I=o.useRef(v),_=null!=g,N=c(g),L=c(p),M=c(y),j=o.useCallback(()=>{if(!k.current||!R.current)return;let e={placement:t,strategy:r,middleware:w};L.current&&(e.platform=L.current),(0,n.oo)(k.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};F.current&&!s(I.current,t)&&(I.current=t,i.flushSync(()=>{b(t)}))})},[w,t,r,L,M]);a(()=>{!1===y&&I.current.isPositioned&&(I.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[y]);let F=o.useRef(!1);a(()=>(F.current=!0,()=>{F.current=!1}),[]),a(()=>{if(P&&(k.current=P),A&&(R.current=A),P&&A){if(N.current)return N.current(P,A,j);j()}},[P,A,j,N,_]);let B=o.useMemo(()=>({reference:k,floating:R,setReference:T,setFloating:D}),[T,D]),Z=o.useMemo(()=>({reference:P,floating:A}),[P,A]),V=o.useMemo(()=>{let e={position:r,left:0,top:0};if(!Z.floating)return e;let t=u(Z.floating,v.x),n=u(Z.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+n+"px)",...l(Z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,m,Z.floating,v.x,v.y]);return o.useMemo(()=>({...v,update:j,refs:B,elements:Z,floatingStyles:V}),[v,j,B,Z,V])}let p=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:o}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,n.x7)({element:r.current,padding:o}).fn(t):{}:r?(0,n.x7)({element:r,padding:o}).fn(t):{}}}),f=(e,t)=>({...(0,n.cv)(e),options:[e,t]}),h=(e,t)=>({...(0,n.uY)(e),options:[e,t]}),m=(e,t)=>({...(0,n.dr)(e),options:[e,t]}),g=(e,t)=>({...(0,n.RR)(e),options:[e,t]}),y=(e,t)=>({...(0,n.dp)(e),options:[e,t]}),v=(e,t)=>({...(0,n.Cp)(e),options:[e,t]}),b=(e,t)=>({...p(e),options:[e,t]})},97145:function(e,t,r){"use strict";r.d(t,{AW:function(){return d},C1:function(){return w},El:function(){return b},G6:function(){return l},II:function(){return D},Ie:function(){return y},MM:function(){return x},Me:function(){return g},N6:function(){return L},NX:function(){return M},Pe:function(){return h},Tv:function(){return k},U9:function(){return f},Xj:function(){return T},Zj:function(){return S},cr:function(){return C},dE:function(){return N},e8:function(){return _},ex:function(){return m},iW:function(){return A},ij:function(){return s},k0:function(){return I},p7:function(){return E},r:function(){return O},r3:function(){return p},zd:function(){return v}});var n,o=r(37317),i=r(67294),a=r(88388);function s(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:r}=e;return t+"/"+r}).join(" "):navigator.userAgent}function l(){return/apple/i.test(navigator.vendor)}function u(){let e=/android/i;return e.test(function(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}())||e.test(s())}let c="data-floating-ui-focusable";function d(e){let t=e.activeElement;for(;(null==(r=t)||null==(r=r.shadowRoot)?void 0:r.activeElement)!=null;){var r;t=t.shadowRoot.activeElement}return t}function p(e,t){if(!e||!t)return!1;let r=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&(0,o.Zq)(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function f(e){return"composedPath"in e?e.composedPath()[0]:e.target}function h(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function m(e){return e.matches("html,body")}function g(e){return(null==e?void 0:e.ownerDocument)||document}function y(e){return!!e&&"combobox"===e.getAttribute("role")&&(0,o.Re)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function v(e){return e?e.hasAttribute(c)?e:e.querySelector("["+c+"]")||e:null}function b(e,t){let r=e.filter(e=>{var r;return e.parentId===t&&(null==(r=e.context)?void 0:r.open)}),n=r;for(;n.length;)n=e.filter(e=>{var t;return null==(t=n)?void 0:t.some(t=>{var r;return e.parentId===t.id&&(null==(r=e.context)?void 0:r.open)})}),r=r.concat(n);return r}function w(e,t){var r;let n=[],o=null==(r=e.find(e=>e.id===t))?void 0:r.parentId;for(;o;){let t=e.find(e=>e.id===o);o=null==t?void 0:t.parentId,t&&(n=n.concat(t))}return n}function E(e){e.preventDefault(),e.stopPropagation()}function x(e){return"nativeEvent"in e}function S(e){return 0===e.mozInputSource&&!!e.isTrusted||(u()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function C(e){return!s().includes("jsdom/")&&(!u()&&0===e.width&&0===e.height||u()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function O(e,t){let r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}var T="undefined"!=typeof document?i.useLayoutEffect:function(){};function D(e){let t=i.useRef(e);return T(()=>{t.current=e}),t}let P={...n||(n=r.t(i,2))}.useInsertionEffect||(e=>e());function A(e){let t=i.useRef(()=>{});return P(()=>{t.current=e}),i.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function R(e,t){let r=(0,a.ht)(e,k()),n=r.length;if(0===n)return;let o=d(g(e)),i=r.indexOf(o);return r[-1===i?1===t?0:n-1:i+t]}function I(e){return R(g(e).body,1)||e}function _(e){return R(g(e).body,-1)||e}function N(e,t){let r=t||e.currentTarget,n=e.relatedTarget;return!n||!p(r,n)}function L(e){(0,a.ht)(e,k()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function M(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}},37317:function(e,t,r){"use strict";function n(){return"undefined"!=typeof window}function o(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!n()&&(e instanceof Node||e instanceof i(e).Node)}function l(e){return!!n()&&(e instanceof Element||e instanceof i(e).Element)}function u(e){return!!n()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function c(e){return!!n()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function d(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function p(e){return["table","td","th"].includes(o(e))}function f(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function h(e){let t=g(),r=l(e)?v(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function m(e){let t=w(e);for(;u(t)&&!y(t);){if(h(t))return t;if(f(t))break;t=w(t)}return null}function g(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function y(e){return["html","body","#document"].includes(o(e))}function v(e){return i(e).getComputedStyle(e)}function b(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function w(e){if("html"===o(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||a(e);return c(t)?t.host:t}function E(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}r.d(t,{Dx:function(){return v},Jj:function(){return i},Kx:function(){return function e(t,r,n){var o;void 0===r&&(r=[]),void 0===n&&(n=!0);let a=function e(t){let r=w(t);return y(r)?t.ownerDocument?t.ownerDocument.body:t.body:u(r)&&d(r)?r:e(r)}(t),s=a===(null==(o=t.ownerDocument)?void 0:o.body),l=i(a);if(s){let t=E(l);return r.concat(l,l.visualViewport||[],d(a)?a:[],t&&n?e(t):[])}return r.concat(a,e(a,[],n))}},Lw:function(){return b},Ow:function(){return w},Pf:function(){return g},Py:function(){return y},Re:function(){return u},Ze:function(){return p},Zq:function(){return c},ao:function(){return d},gQ:function(){return m},hT:function(){return h},kK:function(){return l},tF:function(){return a},tR:function(){return f},wK:function(){return E},wk:function(){return o}})},71347:function(e,t,r){"use strict";r.d(t,{Fp:function(){return i},GW:function(){return s},I4:function(){return g},JB:function(){return O},KX:function(){return x},NM:function(){return a},Qq:function(){return y},Rn:function(){return m},VV:function(){return o},Wh:function(){return v},gy:function(){return w},hp:function(){return h},i8:function(){return b},k3:function(){return f},ku:function(){return p},mA:function(){return n},pw:function(){return S},uZ:function(){return d},yd:function(){return C},ze:function(){return l}});let n=["top","right","bottom","left"],o=Math.min,i=Math.max,a=Math.round,s=Math.floor,l=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function d(e,t,r){return i(e,o(t,r))}function p(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(f(e))?"y":"x"}function v(e){return m(y(e))}function b(e,t,r){void 0===r&&(r=!1);let n=h(e),o=v(e),i=g(o),a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=S(a)),[a,S(a)]}function w(e){let t=S(e);return[E(e),t,E(t)]}function E(e){return e.replace(/start|end/g,e=>c[e])}function x(e,t,r,n){let o=h(e),i=function(e,t,r){let n=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(r)return t?o:n;return t?n:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(e),"start"===r,n);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(E)))),i}function S(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function C(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function O(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}},25360:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var n=r(67294),o=r(85893);function i(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,i){let a=n.createContext(i),s=r.length;r=[...r,i];let l=t=>{let{scope:r,children:i,...l}=t,u=r?.[e]?.[s]||a,c=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(u.Provider,{value:c,children:i})};return l.displayName=t+"Provider",[l,function(r,o){let l=o?.[e]?.[s]||a,u=n.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},49858:function(e,t,r){"use strict";r.d(t,{z:function(){return a}});var n=r(67294);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var i=r(9981),a=e=>{let t,r;let{present:a,children:l}=e,u=function(e){var t,r;let[o,a]=n.useState(),l=n.useRef(null),u=n.useRef(e),c=n.useRef("none"),[d,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,i.b)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,o=s(t);e?p("MOUNT"):"none"===o||t?.display==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,i.b)(()=>{if(o){let e;let t=o.ownerDocument.defaultView??window,r=r=>{let n=s(l.current).includes(CSS.escape(r.animationName));if(r.target===o&&n&&(p("ANIMATION_END"),!u.current)){let r=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=r)})}},n=e=>{e.target===o&&(c.current=s(l.current))};return o.addEventListener("animationstart",n),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",n),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(a),c="function"==typeof l?l({present:u.isPresent}):n.Children.only(l),d=function(...e){return n.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{let{children:r,...i}=e,s=o.Children.toArray(r),u=s.find(l);if(u){let e=u.props.children,r=s.map(t=>t!==u?t:o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null);return(0,o.createElement)(a,(0,n.Z)({},i,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,r):null)}return(0,o.createElement)(a,(0,n.Z)({},i,{ref:t}),r)});i.displayName="Slot";let a=(0,o.forwardRef)((e,t)=>{let{children:r,...n}=e;return(0,o.isValidElement)(r)?(0,o.cloneElement)(r,{...function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{i(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props),ref:t?function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(t,r.ref):r.ref}):o.Children.count(r)>1?o.Children.only(null):null});a.displayName="SlotClone";let s=({children:e})=>(0,o.createElement)(o.Fragment,null,e);function l(e){return(0,o.isValidElement)(e)&&e.type===s}let u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=(0,o.forwardRef)((e,r)=>{let{asChild:a,...s}=e,l=a?i:t;return(0,o.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,o.createElement)(l,(0,n.Z)({},s,{ref:r}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})},77342:function(e,t,r){"use strict";r.d(t,{T:function(){return s}});var n,o=r(67294),i=r(9981),a=(n||(n=r.t(o,2)))[" useInsertionEffect ".trim().toString()]||i.b;function s({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[i,s,l]=function({defaultProp:e,onChange:t}){let[r,n]=o.useState(e),i=o.useRef(r),s=o.useRef(t);return a(()=>{s.current=t},[t]),o.useEffect(()=>{i.current!==r&&(s.current?.(r),i.current=r)},[r,i]),[r,n,s]}({defaultProp:t,onChange:r}),u=void 0!==e,c=u?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,n])}return[c,o.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else s(t)},[u,e,s,l])]}Symbol("RADIX:SYNC_STATE")},9981:function(e,t,r){"use strict";r.d(t,{b:function(){return o}});var n=r(67294),o=globalThis?.document?n.useLayoutEffect:()=>{}},22944:function(e,t,r){"use strict";r.d(t,{F:function(){return L}});var n=r(67294);let o="undefined"!=typeof document?n.useLayoutEffect:()=>{};function i(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function a(e){let t=(0,n.useRef)({isFocused:!1,observer:null});o(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let r=function(e){let t=(0,n.useRef)(null);return o(()=>{t.current=e},[e]),(0,n.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}(t=>{null==e||e(t)});return(0,n.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(i(e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function s(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function l(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function u(e){let t=null;return()=>(null==t&&(t=e()),t)}let c=u(function(){return l(/^Mac/i)}),d=u(function(){return l(/^iPhone/i)}),p=u(function(){return l(/^iPad/i)||c()&&navigator.maxTouchPoints>1}),f=u(function(){return d()||p()});u(function(){return c()||f()}),u(function(){return s(/AppleWebKit/i)&&!h()});let h=u(function(){return s(/Chrome/i)}),m=u(function(){return s(/Android/i)});u(function(){return s(/Firefox/i)});var g=r(78837);let y=null,v=new Set,b=new Map,w=!1,E=!1,x={Tab:!0,Escape:!0};function S(e,t){for(let r of v)r(e,t)}function C(e){w=!0,e.metaKey||!c()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(y="keyboard",S("keyboard",e))}function O(e){y="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(w=!0,S("pointer",e))}function T(e){(0===e.mozInputSource&&e.isTrusted||(m()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(w=!0,y="virtual")}function D(e){e.target!==window&&e.target!==document&&e.isTrusted&&(w||E||(y="virtual",S("virtual",e)),w=!1,E=!1)}function P(){w=!1,E=!0}function A(e){if("undefined"==typeof window||"undefined"==typeof document||b.get((0,g.kR)(e)))return;let t=(0,g.kR)(e),r=(0,g.r3)(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){w=!0,n.apply(this,arguments)},r.addEventListener("keydown",C,!0),r.addEventListener("keyup",C,!0),r.addEventListener("click",T,!0),t.addEventListener("focus",D,!0),t.addEventListener("blur",P,!1),"undefined"!=typeof PointerEvent&&(r.addEventListener("pointerdown",O,!0),r.addEventListener("pointermove",O,!0),r.addEventListener("pointerup",O,!0)),t.addEventListener("beforeunload",()=>{k(e)},{once:!0}),b.set(t,{focus:n})}let k=(e,t)=>{let r=(0,g.kR)(e),n=(0,g.r3)(e);t&&n.removeEventListener("DOMContentLoaded",t),b.has(r)&&(r.HTMLElement.prototype.focus=b.get(r).focus,n.removeEventListener("keydown",C,!0),n.removeEventListener("keyup",C,!0),n.removeEventListener("click",T,!0),r.removeEventListener("focus",D,!0),r.removeEventListener("blur",P,!1),"undefined"!=typeof PointerEvent&&(n.removeEventListener("pointerdown",O,!0),n.removeEventListener("pointermove",O,!0),n.removeEventListener("pointerup",O,!0)),b.delete(r))};function R(){return"pointer"!==y}"undefined"!=typeof document&&function(e){let t;let r=(0,g.r3)(void 0);"loading"!==r.readyState?A(void 0):(t=()=>{A(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>k(e,t)}();let I=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var _=r(6445),N=r(36116);function L(e={}){var t,r,o;let{autoFocus:s=!1,isTextInput:l,within:u}=e,c=(0,n.useRef)({isFocused:!1,isFocusVisible:s||R()}),[d,p]=(0,n.useState)(!1),[f,h]=(0,n.useState)(()=>c.current.isFocused&&c.current.isFocusVisible),m=(0,n.useCallback)(()=>h(c.current.isFocused&&c.current.isFocusVisible),[]),y=(0,n.useCallback)(e=>{c.current.isFocused=e,p(e),m()},[m]);t=e=>{c.current.isFocusVisible=e,m()},r=[],o={isTextInput:l},A(),(0,n.useEffect)(()=>{let e=(e,r)=>{(function(e,t,r){let n=(0,g.r3)(null==r?void 0:r.target),o="undefined"!=typeof window?(0,g.kR)(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?(0,g.kR)(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?(0,g.kR)(null==r?void 0:r.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?(0,g.kR)(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||n.activeElement instanceof o&&!I.has(n.activeElement.type)||n.activeElement instanceof i||n.activeElement instanceof a&&n.activeElement.isContentEditable)&&"keyboard"===t&&r instanceof s&&!x[r.key])})(!!(null==o?void 0:o.isTextInput),e,r)&&t(R())};return v.add(e),()=>{v.delete(e)}},r);let{focusProps:b}=function(e){let{isDisabled:t,onFocus:r,onBlur:o,onFocusChange:i}=e,s=(0,n.useCallback)(e=>{if(e.target===e.currentTarget)return o&&o(e),i&&i(!1),!0},[o,i]),l=a(s),u=(0,n.useCallback)(e=>{let t=(0,g.r3)(e.target),n=t?(0,_.vY)(t):(0,_.vY)();e.target===e.currentTarget&&n===(0,_.NI)(e.nativeEvent)&&(r&&r(e),i&&i(!0),l(e))},[i,r,l]);return{focusProps:{onFocus:!t&&(r||i||o)?u:void 0,onBlur:!t&&(o||i)?s:void 0}}}({isDisabled:u,onFocusChange:y}),{focusWithinProps:w}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:o,onFocusWithinChange:s}=e,l=(0,n.useRef)({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:c}=(0,N.x)(),d=(0,n.useCallback)(e=>{e.currentTarget.contains(e.target)&&l.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(l.current.isFocusWithin=!1,c(),r&&r(e),s&&s(!1))},[r,s,l,c]),p=a(d),f=(0,n.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=(0,g.r3)(e.target),r=(0,_.vY)(t);if(!l.current.isFocusWithin&&r===(0,_.NI)(e.nativeEvent)){o&&o(e),s&&s(!0),l.current.isFocusWithin=!0,p(e);let r=e.currentTarget;u(t,"focus",e=>{if(l.current.isFocusWithin&&!(0,_.bE)(r,e.target)){let n=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});Object.defineProperty(n,"target",{value:r}),Object.defineProperty(n,"currentTarget",{value:r}),d(i(n))}},{capture:!0})}},[o,s,p,u,d]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:f,onBlur:d}}}({isDisabled:!u,onFocusWithinChange:y});return{isFocused:d,isFocusVisible:f,focusProps:u?w:b}}},18419:function(e,t,r){"use strict";r.d(t,{X:function(){return d}});var n=r(36116),o=r(78837),i=r(6445),a=r(67294);let s=!1,l=0;function u(e){"touch"===e.pointerType&&(s=!0,setTimeout(()=>{s=!1},50))}function c(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",u),l++,()=>{--l>0||"undefined"==typeof PointerEvent||document.removeEventListener("pointerup",u)}}function d(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:l,isDisabled:u}=e,[d,p]=(0,a.useState)(!1),f=(0,a.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,a.useEffect)(c,[]);let{addGlobalListener:h,removeAllGlobalListeners:m}=(0,n.x)(),{hoverProps:g,triggerHoverEnd:y}=(0,a.useMemo)(()=>{let e=(e,a)=>{if(f.pointerType=a,u||"touch"===a||f.isHovered||!e.currentTarget.contains(e.target))return;f.isHovered=!0;let s=e.currentTarget;f.target=s,h((0,o.r3)(e.target),"pointerover",e=>{f.isHovered&&f.target&&!(0,i.bE)(f.target,e.target)&&n(e,e.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:a}),r&&r(!0),p(!0)},n=(e,t)=>{let n=f.target;f.pointerType="",f.target=null,"touch"!==t&&f.isHovered&&n&&(f.isHovered=!1,m(),l&&l({type:"hoverend",target:n,pointerType:t}),r&&r(!1),p(!1))},a={};return"undefined"!=typeof PointerEvent&&(a.onPointerEnter=t=>{s&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!u&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}),{hoverProps:a,triggerHoverEnd:n}},[t,r,l,u,f,h,m]);return(0,a.useEffect)(()=>{u&&y({currentTarget:f.target},f.pointerType)},[u]),{hoverProps:g,isHovered:d}}},6445:function(e,t,r){"use strict";function n(e,t){return!!t&&!!e&&e.contains(t)}r.d(t,{vY:function(){return o},NI:function(){return i},bE:function(){return n}}),r(78837);let o=(e=document)=>e.activeElement;function i(e){return e.target}},78837:function(e,t,r){"use strict";r.d(t,{Zq:function(){return i},kR:function(){return o},r3:function(){return n}});let n=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:n(e).defaultView||window;function i(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},36116:function(e,t,r){"use strict";r.d(t,{x:function(){return o}});var n=r(67294);function o(){let e=(0,n.useRef)(new Map),t=(0,n.useCallback)((t,r,n,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:i,options:o}),t.addEventListener(r,i,o)},[]),r=(0,n.useCallback)((t,r,n,o)=>{var i;let a=(null===(i=e.current.get(n))||void 0===i?void 0:i.fn)||n;t.removeEventListener(r,a,o),e.current.delete(n)},[]),o=(0,n.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,n.useEffect)(()=>o,[o]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:o}}},74730:function(e,t,r){"use strict";r.d(t,{J:function(){return n},M:function(){return o}});let n=(e={})=>"undefined"!=typeof window?window:e,o=(e={})=>"undefined"!=typeof document?document:e},96553:function(e,t,r){"use strict";function n(e,t,r){let n;return function(...o){let i=this,a=r&&!n;clearTimeout(n),n=setTimeout(function(){n=null,r||e.apply(i,o)},t),a&&e.apply(i,o)}}r.d(t,{D:function(){return n}})},80187:function(e,t,r){"use strict";r.d(t,{K:function(){return n},y:function(){return o}});let n=e=>e&&"object"==typeof e&&!Array.isArray(e),o=()=>"undefined"==typeof document||!document.createElement},26448:function(e,t,r){"use strict";var n,o;r.d(t,{Yd:function(){return l}}),(o=n||(n={}))[o.NONE=0]="NONE",o[o.ERROR=1]="ERROR",o[o.WARN=2]="WARN",o[o.INFO=3]="INFO",o[o.DEBUG=4]="DEBUG",o[o.TRACE=5]="TRACE";let i={none:n.NONE,error:n.ERROR,warn:n.WARN,info:n.INFO,debug:n.DEBUG,trace:n.TRACE},a="Sitecore Search SDK";class s{constructor(e,t=n.NONE,r=a){Object.defineProperty(this,"NONE",{enumerable:!0,configurable:!0,writable:!0,value:n.NONE}),Object.defineProperty(this,"ERROR",{enumerable:!0,configurable:!0,writable:!0,value:n.ERROR}),Object.defineProperty(this,"WARN",{enumerable:!0,configurable:!0,writable:!0,value:n.WARN}),Object.defineProperty(this,"INFO",{enumerable:!0,configurable:!0,writable:!0,value:n.INFO}),Object.defineProperty(this,"DEBUG",{enumerable:!0,configurable:!0,writable:!0,value:n.DEBUG}),Object.defineProperty(this,"TRACE",{enumerable:!0,configurable:!0,writable:!0,value:n.TRACE}),Object.defineProperty(this,"transports",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"logLevel",{enumerable:!0,configurable:!0,writable:!0,value:n.NONE}),Object.defineProperty(this,"namespace",{enumerable:!0,configurable:!0,writable:!0,value:a}),this.transports=e,this.namespace=r,this.setLogLevel(t)}setLogLevel(e){if("string"!=typeof e)this.logLevel=e;else if(i[e])this.logLevel=i[e];else throw Error(`Logger :: Invalid logLevel (${e})`)}send(e,t,...r){try{this.logLevel>=e&&this.transports.forEach(e=>{e[t](this.namespace," ::: ",...r)})}catch(e){console.error(e)}}error(...e){return this.send(n.ERROR,"error",...e)}warn(...e){return this.send(n.WARN,"warn",...e)}info(...e){return this.send(n.INFO,"info",...e)}debug(...e){return this.send(n.DEBUG,"debug",...e)}trace(...e){return this.send(n.TRACE,"log",...e)}}let l=new s([console])},49853:function(e,t,r){"use strict";r.d(t,{E:function(){return function e(t,r,{mutate:o=!1}={}){let i=o?t:Object.assign({},t);return(0,n.K)(t)&&(0,n.K)(r)&&Object.keys(r).forEach(o=>{(0,n.K)(r[o])&&o in t?i[o]=e(t[o],r[o]):Object.assign(i,{[o]:r[o]})}),i}}});var n=r(80187)},67241:function(e,t,r){"use strict";r.d(t,{$c:function(){return a},FD:function(){return o},lN:function(){return n},o3:function(){return s},xs:function(){return i}}),r(76908),r(13017);let n=e=>e.length?e[e.length-1]:void 0,o=e=>0===Object.keys(e||{}).length,i=e=>void 0===e,a=e=>String.fromCharCode(e<10?e+48:e<36?e+87:e+29),s=e=>{try{if(e)return JSON.parse(e);return""}catch(t){return e}}},76908:function(e,t,r){"use strict";r.d(t,{$s:function(){return u},E2:function(){return d},Hn:function(){return c}});let n=e=>{let t=typeof e;return null!==e&&("object"===t||"function"===t)},o=new Set(["__proto__","prototype","constructor"]),i=new Set("0123456789");function a(e){let t=[],r="",n="start",a=!1;for(let s of e)switch(s){case"\\":if("index"===n)throw Error("Invalid character in an index");if("indexEnd"===n)throw Error("Invalid character after an index");a&&(r+=s),n="property",a=!a;break;case".":if("index"===n)throw Error("Invalid character in an index");if("indexEnd"===n){n="property";break}if(a){a=!1,r+=s;break}if(o.has(r))return[];t.push(r),r="",n="property";break;case"[":if("index"===n)throw Error("Invalid character in an index");if("indexEnd"===n){n="index";break}if(a){a=!1,r+=s;break}if("property"===n){if(o.has(r))return[];t.push(r),r=""}n="index";break;case"]":if("index"===n){t.push(Number.parseInt(r,10)),r="",n="indexEnd";break}if("indexEnd"===n)throw Error("Invalid character after an index");default:if("index"===n&&!i.has(s))throw Error("Invalid character in an index");if("indexEnd"===n)throw Error("Invalid character after an index");"start"===n&&(n="property"),a&&(a=!1,r+="\\"),r+=s}switch(a&&(r+="\\"),n){case"property":if(o.has(r))return[];t.push(r);break;case"index":throw Error("Index was not closed");case"start":t.push("")}return t}function s(e,t){if("number"!=typeof t&&Array.isArray(e)){let r=Number.parseInt(t,10);return Number.isInteger(r)&&e[r]===e[t]}return!1}function l(e,t){if(s(e,t))throw Error("Cannot use string index")}function u(e,t,r){if(!n(e)||"string"!=typeof t)return void 0===r?e:r;let o=a(t);if(0===o.length)return r;for(let t=0;t{let t=new s(e);return t.setAppearance({}),t.setAppearanceTemplates({}),t.setAppearanceVariables({}),t};class u extends s{constructor(){super(...arguments),Object.defineProperty(this,"facetTypeFiltersType",{enumerable:!0,configurable:!0,writable:!0,value:"or"})}buildFacetTypeFilters(e,t="or"){if(0!==e.length)return{type:t,values:e}}setSearchFacetTypeFilterType(e){return this.facetTypeFiltersType=e,this}getSearchFacetTypeFilterType(){return this.facetTypeFiltersType}setSearchFacetType(e,t){let r=this.getSearchFacetTypes()||[];return r.find(({name:t})=>t===e)?this.setSearchFacetTypes(r.map(r=>r.name===e?{...t,name:e}:r)):this.setSearchFacetTypes([...r,{...t,name:e}]),this}updateSearchFacetType(e,t){let r=this.getSearchFacetTypes()||[];return this.setSearchFacetType(e,{...r.find(({name:t})=>t===e),...t}),this}addSearchFacetTypeFilter(e,t,r="or"){let n=this.getSearchFacetTypes()||[],o=n.find(({name:t})=>t===e)?.filter?.values||[];return this.updateSearchFacetType(e,{filter:this.buildFacetTypeFilters([...o,t],r)}),this}resetSearchFacetTypeFilter(e){return this.updateSearchFacetType(e,{filter:void 0}),this}removeSearchFacetTypeFilter(e,t){let r=this.getSearchFacetTypes()||[],n=r.find(({name:t})=>t===e)?.filter?.values||[];return this.updateSearchFacetType(e,{filter:this.buildFacetTypeFilters(n.filter(e=>!function e(t,r){if(typeof t!=typeof r)return!1;if("object"==typeof t){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;for(let n=0;n{this.updateSearchFacetType(e,{filter:void 0})}),this}}let c={[n.L.RECOMMENDATION]:e=>{let t=new s(e);return t.setRecommendationsContent({}),t},[n.L.SEARCH_RESULTS]:e=>{let t=new u(e);return t.setSearchContent({}),t.setSearchFacetAll(!0),t.setSearchOffset(0),t.setSearchSortChoices(!0),t},[n.L.PREVIEW_SEARCH]:e=>{let t=new s(e);return t.setSearchContent({}),t},[n.L.QUESTIONS]:e=>{let t=new u(e);return t.setQuestionsRelatedQuestionsLimit(5),t.setQuestionsExactAnswer({}),t},[n.L.CONTENT_BLOCK]:l,[n.L.HTML_BLOCK]:l,[n.L.SEO]:l,[n.L.BANNER]:l},d=(e,t)=>{if(c[e])return c[e](t);throw Error(`Invalid widget type: "${e}"`)};var p=r(92416),f=r(55365),h=r(64661),m=r(26448),g=r(67241),y=r(49853),v=r(30302);let b=async(e,{items:t,actionSubtype:r="conversion"})=>x(e,"cart",{actionSubtype:r,items:t}),w=async(e,t)=>x(e,"wishlist",t),E=async(e,t)=>{let{orderId:r,orderTotal:n,orderSubtotal:o,coupon:i,items:a,actionSubtype:s="conversion",store:l}=t;if(!(0,v.BY)(r)){m.Yd.warn("trackEvent :::","Transaction orderId is not defined");return}return x(e,"order_confirm",{items:a,transaction:(0,v.Y1)(r,n,o,i,l),actionSubtype:s})},x=async(e,t,{review:r,transaction:n,items:o,customAttributes:i,actionSubtype:a})=>{if(!t){m.Yd.warn("trackEvent :::","Event name is not defined");return}let s=[];e&&o&&(s=(0,v.rn)(e,o));let l={name:t,action:"add",action_sub_type:a,value:{entities:s,transaction:n,review:r,custom_attributes:i,context:p.Z.toJson()}};return(0,v.j)(l)},S=async(e,{items:t,actionSubtype:r})=>{let n=[];if(e&&t&&(n=(0,v.rn)(e,t))&&!(0,v.ON)(n)){m.Yd.warn("trackEvent :::","A field is missing on one or more of the items provided");return}let o={action:"view",name:"cart",action_sub_type:r,value:{entities:n,context:p.Z.toJson()}};return(0,v.j)(o)},C=async(e,t)=>{if(!e||(0,g.FD)(e)){m.Yd.warn("trackEvent :::","User information is empty or not complete");return}let r=(0,y.E)(p.Z.toJson(),{user:{...e.id?{cuid:e.id}:{},...e.eid?{eid:e.eid}:{},...e.email?{email:e.email}:{},...e.fbid?{fbid:e.fbid}:{},...e.address?{address:e.address}:{}}});return(0,v.j)({action:"identify",name:"login",action_sub_type:t,value:{context:r}})};var O=r(70196),T=r(22694),D=r(51462),P=r(5693),A=r(43419);let k=e=>{let{type:t,options:{setupRequest:r=()=>{}}={}}=P.Z.get(e)||{},n=t?d(t,e):new s(e);return n.setRfkId(e),r(n),n};class R extends A.x{constructor(){super(),Object.defineProperty(this,"context",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.setContext(p.Z.get()),D.Z.subscribe(this)}getContext(){return this.context}setContext(e){this.context=e,this.context.addListener(this)}toggleTrackConsent(e){let t=(0,f.n5)();e?t.user_id?this.context.setUserId(t?.user_id):this.context.setUserUuid((0,f.n5)().uuid):((0,f._V)(),(0,h.Tp)(!1),t?.user_id&&this.context.setUserId(t?.user_id))}handleAction(e){switch(e.type){case T.Z.INITIALIZE:this.initialize();break;case T.Z.ADD_TO_CART:{let{entity:t,items:r}=e.payload;b(t,{items:r});break}case T.Z.ADD_TO_WISHLIST:{let{entity:t,items:r}=e.payload;w(t,{items:r});break}case T.Z.USER_LOGIN:{let{id:t,email:r}=e.payload;C({id:t,email:r});break}case T.Z.CART_STATUS:{let{entity:t,items:r}=e.payload;S(t,{items:r});break}case T.Z.ORDER_CONFIRM:{let{entity:t,items:r,orderId:n,orderTotal:o,orderSubtotal:i,coupon:a}=e.payload;E(t,{orderId:n,orderTotal:o,orderSubtotal:i,coupon:a,items:r});break}case T.Z.WIDGET_APPEAR:{let{rfkId:t,entity:r,items:n,request:o}=e.payload;(0,O.SB)(t,r,{...n.length>0?{items:n}:void 0,request:o})}}}onChange(e,t,r){this.initialized&&D.Z.dispatch({type:T.Z.PAGE_CONTEXT_CHANGED,payload:{context:this.context}})}}var I=new R},98357:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});class n extends Error{constructor({_requestId:e,_canceled:t,...r}){super("Request canceled"),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="AbortError",this.response=r}getResponse(){return this.response}}},51462:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(26448);let o=[],i=[];class a{static addActionHandler(e){o.push(e)}static removeActionHandler(e){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}static subscribe(e){o.push(e)}static unsubscribe(e){let t=o.indexOf(e);-1!==t&&o.splice(t,1)}static dispatch(e){n.Yd.debug("dispatcher ::: dispatch",`[${e.type}]`,e.payload),o.forEach(t=>{t.handleAction(e)}),i.forEach(t=>{t.handleAction(e)})}}},5693:function(e,t,r){"use strict";var n=r(49853);let o=(e,t)=>`${e}${t?`@${t}`:""}`;t.Z={widgetTypesConfigMapping:{},widgetsConfigMapping:{},setWidgetType(e,t){(0,n.E)(this.widgetTypesConfigMapping,{[e]:t},{mutate:!0})},getType(e){let{type:t}=this.widgetsConfigMapping[o(e)]||{};return t},set(e,t,r){"string"==typeof t?this.widgetsConfigMapping[o(e,t)]=r:this.widgetsConfigMapping[o(e)]=t},update(e,t,r){"string"==typeof t?(0,n.E)(this.getOrCreate(e,t),r,{mutate:!0}):(0,n.E)(this.getOrCreate(e),r,{mutate:!0})},get(e,t){let r=this.widgetsConfigMapping[o(e,t)],i=this.widgetsConfigMapping[o(e)];if(!i&&!r)return;let a=(0,n.E)(i||{},r||{}),{component:s,options:l}=this.getForType(e)||{},{component:u=s,options:c}=a;return{...a,component:u,options:c?(0,n.E)(l||{},c):l}},getWidgetIds(){return Object.keys(this.widgetsConfigMapping)},getByType(e){return this.widgetTypesConfigMapping[e]||void 0},getForType(e){let t=this.getType(e);return t?this.getByType(t):void 0},getOrCreate(e,t){return this.widgetsConfigMapping[o(e,t)]||(this.widgetsConfigMapping[o(e,t)]={}),this.widgetsConfigMapping[o(e,t)]},getMetadata(e){let{metadata:t}=this.widgetsConfigMapping[o(e)]||{};return t},setMetadata(e,t){Object.assign(this.getOrCreate(e),{metadata:t}),this.setType(e,t.type)},updateMetadata(e,t){(0,n.E)(this.getOrCreate(e),{metadata:t},{mutate:!0}),this.setType(e,t.type)},setType(e,t){this.getType(e)||Object.assign(this.getOrCreate(e),{type:t})}}},79989:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(26448),o=r(64661),i=r(30302);let a=(0,r(74730).J)();class s{constructor(e){Object.defineProperty(this,"cache",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=e,this.cache={},a.RFK_CACHE||(a.RFK_CACHE={}),a.RFK_CACHE[e]=this.cache}hashKey(e){let t,r,n=0;for(t=0,r=e.length;t(Array.isArray(e[r])?t[r]=e[r].map(e=>this.sortObjectKeys(e)):"object"==typeof e[r]?t[r]=this.sortObjectKeys(e[r]):t[r]=e[r],t),{})}createKey(e){let t=JSON.stringify(this.sortObjectKeys(e));return(0,o.wL)("debug")?(n.Yd.debug("cache ::: createKey",e),t):String(this.hashKey(t))}has(e){return e in this.cache}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}delete(e){delete this.cache[e]}all(){return this.cache}clear(){this.cache={},window.RFK_CACHE[this.name]=this.cache}getName(){return this.name}}let l={sitecore:{async getAuthHeader(){let{apiKey:e}=(0,o.dS)();return Promise.resolve(e)}},oc:{getAuthHeader:async()=>r.e(708).then(r.bind(r,29818)).then(e=>e.Tokens).then(e=>{let t=e?.GetIdentityToken();if(!t)throw n.Yd.error("Could not found an Order Cloud Cloud logged user."),Error("Could not found an Order Cloud Cloud logged user.");return n.Yd.info("Using existing Order Cloud Token."),`Bearer ${t}`}).catch(e=>{throw n.Yd.error("Could not import Ordercloud SDK.",e),Error("Could not import Ordercloud SDK.")})}},u=async()=>{let{connector:e="oc"}=(0,o.dS)();return{"Content-Type":"application/json",Authorization:await l[e].getAuthHeader()||""}},c=new s("api-adapter"),d={cache:!0};class p{static async trackEvent(e){let t=(0,i.QE)(e),{eventUrl:r,apiKey:a}=(0,o.dS)();try{return(await fetch(r,{method:"POST",headers:{"Content-Type":"application/json",Authorization:a},body:JSON.stringify(t)})).json()}catch(e){return n.Yd.error(e),n.Yd.error("There was a problem on the service call"),e.message||null}}static async callApiWithoutCache(e,t){try{let r=await fetch(e,t),n=await r.json();return Promise.resolve(n)}catch(e){return n.Yd.error(e),n.Yd.error("There was a problem on the service call"),e.message||null}}static async callApiWithCache(e,t){let r=c.createKey(t);if(c.has(r))return c.get(r);let n=await p.callApiWithoutCache(e,t);return c.set(r,n),n}static async callApi(e,t=d){let{searchUrl:r}=(0,o.dS)(),n={method:"POST",headers:await u(),body:JSON.stringify(e),signal:t.signal};return t.cache?p.callApiWithCache(r,n):p.callApiWithoutCache(r,n)}static clearCache(){c.clear()}}},37423:function(e,t,r){"use strict";var n=r(79989);let o=null,i=async(e,t)=>a(e.toJson(),t),a=async(e,t)=>{if(!o)return Promise.reject(Error("No data processor configured"));try{let r=await n.Z.callApi(e,{cache:!1,...t}),i=o.validateResponse(r,e);if(i)return Promise.reject(i);return Promise.resolve(o.processResponse(r,e))}catch(e){return Promise.reject(e)}};t.Z={get:a,run:i,setProcessor:e=>{o=e},getProcessor:()=>o}},55365:function(e,t,r){"use strict";r.d(t,{n5:function(){return h},_V:function(){return m}});var n=r(67241),o=r(64661);let i=Date.now();var a=r(21175),s=r(61214);let l={},u=()=>{let{domainId:e,customerKey:t}=(0,o.dS)();return t?(0,a._Y)(t):e},c=()=>{let e=s.Z.get("__ruid");if(e)return e;e=("xx-xx-4x-1"+"pc"[0]+"-").replace(/[x]/g,()=>(0,n.$c)(36*Math.random()|0));for(let t=0;t<5;t++)e+=("0000"+(1679615*Math.random()|0).toString(36)).slice(-4);let t=u()+"-"+e+"-"+i;return s.Z.set("__ruid",t),t},d=(e,t)=>{let r=e.split(".");return r.length>3&&(t&&(r[1]=r[2],r[2]=i,r[3]=1*r[3]+1),4===r.length&&(r[4]=1),5===r.length&&(r[5]=1),r[4]=1*r[4]+1,r[5]=1+(t?0:1*r[5]),e=r.join(".")),e},p=()=>{let e=0,t=s.Z.get("__rutma");return s.Z.get("__rutmb")||(s.Z.set("__rutmb",u(),18e5),e=1),t=t?d(t,e):`${c()}.${i}.${i}.1.1.1`,s.Z.set("__rutma",t,18e5),t},f=()=>{let{domainHash:e}=(0,o.dS)();l.domainHashCkey=e,l.domainHash=l.domainHashCkey,l.domainRoot=(0,o.K7)();let t=p(),r=t.split(".");return l.uid=r[0],l.usetLastDigit=(0,n.lN)(r[0]),l.previousSessionStartTime=parseInt(r[1]),l.currentSessionStartTime=parseInt(r[2]),l.visitCount=parseInt(r[3]),l.pageViewCount=parseInt(r[4]),l.visitPageCount=parseInt(r[5]),l.utma=t,l},h=()=>{let e=(0,o.wL)("userId");if(e)return{user_id:e};let{uid:t}=f();return{uuid:t}},m=()=>{s.Z.remove("__ruid"),s.Z.remove("__rutma"),s.Z.remove("__rutmb"),s.Z.remove("__ec")}},64661:function(e,t,r){"use strict";r.d(t,{wL:function(){return y},K7:function(){return w},dS:function(){return v},qG:function(){return h},v6:function(){return g},Tp:function(){return b}});var n=r(74730),o=r(26448);let i={staging:"https://discover-staging.sitecore-staging.cloud",prod:"https://discover.sitecorecloud.io",prodEu:"https://discover-euc1.sitecorecloud.io",apse2:"https://discover-apse2.sitecorecloud.io"},a={australiaEast:"https://australiaeast-integrations.ordercloud.io",europeWest:"https://westeurope-integrations.ordercloud.io",japanEast:"https://japaneast-integrations.ordercloud.io",usEast:"https://useast-integrations.ordercloud.io",usWest:"https://uswest-integrations.ordercloud.io",usWestQa:"https://uswest-integrations.ordercloud-qa.com"},s="/event/{{key}}/v4/publish",l=(e,t,r)=>({useAccessToken:!0,apiDomain:a[e],searchUrl:`${a[e]}${"/api/v1/search/{{domain}}".replace("{{domain}}",r)}`,eventUrl:`${i[t]}${s.replace("{{key}}",r)}`});var u={build:(e,t)=>{let r=Object.assign({},e,t),{orderCloudRegion:n="usWest",env:o="prod",discoverDomainId:i}=t;if(!i)throw Error("{discoverDomainId} has not been provided.");return r.domainId=i,r.connector="oc",Object.assign(r,l(n,o,i))}},c=r(21175);let d=(e,t,r,n)=>t?{apiDomain:n,searchUrl:`${n}${"/discover/v2/{{key}}".replace("{{key}}",(0,c._Y)(e))}`,eventUrl:`${n}${s.replace("{{key}}",e)}`}:{apiDomain:r,searchUrl:`${r}/api/discover/v2`,eventUrl:`${r}/api/event/v4/publish`};var p=(e,t)=>{let r=Object.assign({},e,t),{env:n="prod",customerKey:o=""}=r,{serviceHost:a,apiKey:s}=t,l=h(o);if(!l)throw Error(`Invalid customerKey: "${o}". It should match the following pattern: (\\d+)-(\\d+). Example: 11111-2222222`);let[u,c]=l;if(Object.assign(r,{domainId:u,domainHash:c}),r.connector="sitecore",!s&&!a)throw Error('Invalid configuration: "apiKey" has not been set but not serviceHost provided. Please, review your domain configuration');return Object.assign(r,d(o,s,a,i[n]))},f=(e,t)=>("useToken"in t&&void 0!==t.useToken&&o.Yd.warn('Parameter "useToken" has been deprecated'),t.customerKey)?p(e,t):u.build(e,t);let h=e=>{if(e){let t=e.match(/^(\d+)-(\d+)$/);if(t)return[t[1],t[2]]}return null},m={apiDomain:"",apiKey:"",clientId:"",connector:"sitecore",customerKey:"",debug:!1,domainHash:"",domainId:"",env:"prod",eventUrl:"",orderCloudRegion:"usWest",publicSuffix:!1,searchUrl:"",tokenDomain:"",tokenUrl:"",trackConsent:!0,useAccessToken:!1,userId:null},g=e=>{m=f(m,e)},y=e=>m[e],v=()=>m,b=e=>{m.trackConsent=e},w=()=>{let e=(0,n.J)({location:{hostname:""}}),{publicSuffix:t}=v();return t?e.location.hostname:e.location.hostname.split(".").reverse().splice(0,2).reverse().join(".")}},70458:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(51207),o=r(95635);let i=(0,n.N)(o.Z);class a extends i{}},95635:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n={name:"Context",file:"context",buildInterface:!0,properties:{browser:{type:"model",model:{name:"ContextBrowser",file:"browser",properties:{user_agent:{},device:{},app_type:{}}}},campaign:{type:"model",model:{name:"ContextCampaign",properties:{utm_source:{},utm_medium:{},utm_campaign:{},utm_term:{},utm_content:{}}}},geo:{type:"model",model:{name:"ContextGeo",properties:{ip:{},location:{type:"model",model:{name:"ContextGeoLocation",properties:{lat:{required:!0},lon:{required:!0}}}}}}},ids:{type:"map",model:{name:"ContextEntityIds",properties:{__constructor__:{type:"array",name:"entityIds"}}},mapKey:"entity",mapKeyType:"Entity"},locale:{type:"model",model:{name:"ContextLocale",properties:{country:{required:!0},language:{required:!0}}}},page:{type:"model",model:{name:"ContextPage",properties:{uri:{required:!0},custom:{}}}},store:{type:"model",model:{name:"ContextStore",properties:{group_id:{},id:{required:!0}}}},time:{type:"model",model:{name:"ContextTime",properties:{epoch:{}}}},user:{type:"model",model:{name:"ContextUser",properties:{user_id:{name:"id"},uuid:{required:!0},groups:{type:"array",name:"groups"},custom:{}}}}}}},92416:function(e,t,r){"use strict";var n=r(70458);class o{static get(){return this.context}static toJson(){if(this.context){let e=this.context.toJson();return{...e.browser?{browser:e.browser}:{},...e.geo?{geo:e.geo}:{},...e.store?{store:e.store}:{},...e.page?{page:{...e.page,...e.locale?{...e.locale.country?{locale_country:e.locale.country}:{},...e.locale.language?{locale_language:e.locale.language}:{}}:{}}}:{},...e.user?{user:e.user}:{}}}return{}}}Object.defineProperty(o,"context",{enumerable:!0,configurable:!0,writable:!0,value:new n.Z}),t.Z=o},30302:function(e,t,r){"use strict";r.d(t,{BY:function(){return d},ON:function(){return u},QE:function(){return g},UW:function(){return m},Y1:function(){return f},Ye:function(){return c},fk:function(){return h},j:function(){return l},rn:function(){return p}});var n=r(26448),o=r(67241),i=r(79989),a=r(55365),s=r(64661);let l=async e=>{let{trackConsent:t}=(0,s.dS)();if(n.Yd.debug("trackEvent ",`Consent: ${t} `,g(e)),!t)return;let r={...e,...(0,a.n5)(),client_time_ms:Date.now()};return n.Yd.debug("trackEvent","Sending: ",JSON.stringify(r,null,4)),await i.Z.trackEvent(r)},u=e=>!e.find(({id:e,entity_type:t})=>(0,o.xs)(e)||(0,o.xs)(t)),c=e=>!e.find(({facetId:e})=>(0,o.xs)(e)),d=e=>!(0,o.xs)(e),p=(e,t)=>t.map(({id:t,entitySubtype:r,attributes:n,variant:i,uri:a,sourceId:s,price:l,finalPrice:u,quantity:c})=>({id:t,entity_type:e,...r?{entity_subtype:r}:{},...n&&!(0,o.FD)(n)?{attributes:n}:{},...l?{price:l}:{},...c?{quantity:c}:{},...u?{final_price:u}:{},...i?{variant:i}:{},...a?{uri:a}:{},...s?{source_id:s}:{}})),f=(e,t,r,n,o)=>({order_id:e,...t?{order_total:t}:{},...r?{order_subtotal:r}:{},...n?{coupon:n}:{},...o?{store:o}:{}}),h=({keyword:e,advancedQueryText:t,modifiedKeyword:r,numResults:n,totalResults:o,numRequested:i,pageSize:a,pageNumber:s,redirectUrl:l})=>({...e?{keyword:e}:{keyword:""},...t?{advanced_query_text:t}:{},...r?{modified_keyword:r}:{},...n?{num_results:n}:{},...o?{total_results:o}:{},...i?{num_requested:i}:{},...a?{page_size:a}:{},...s?{page_number:s}:{},...l?{redirect_url:l}:{}}),m=e=>e.map(({facetId:e,facetValue:t,startValue:r,endValue:n,facetValueId:o,valueIndex:i,facetIndex:a,facetTitle:s,displayName:l})=>({name:e,title:s,...l?{display_name:l}:{},...e?{field:e}:{},...o?{value:[o]}:t?{value:[t]}:{},...r?{start_value:r}:{},...n?{end_value:n}:{},...t?{display_name:[t]}:{},...i||0===i?{value_position:[i]}:{},...a||0===a?{facet_position:a}:{}}));function g(e){let t={};for(let r in e){let n=e[r];if(null!=n&&!("object"==typeof n&&0===Object.keys(n).length&&!Array.isArray(n))&&void 0!==n){if(Array.isArray(n)){let e=[];for(let t=0;t0||Array.isArray(t))&&e.push(t)}else e.push(r)}}e.length>0&&(t[r]=e)}else if("object"==typeof n&&Object.keys(n).length>0){let e=g(n);(Object.keys(e).length>0||Array.isArray(e))&&(t[r]=e)}else t[r]=n}}return t}},70196:function(e,t,r){"use strict";r.d(t,{SB:function(){return u},dr:function(){return l},up:function(){return s}});var n=r(26448),o=r(67241),i=r(92416),a=r(30302);let s=async(e,t,{actionCause:r,index:s,request:l,items:u})=>{let c=[];if(t&&u&&(c=(0,a.rn)(t,u))&&!(0,a.ON)(c)){n.Yd.warn("trackEvent :::","A field is missing on one or more of the items provided");return}if(r&&"entity"===r&&(0,o.xs)(s)){n.Yd.warn("trackEvent :::","Field index is mandatory for widget click entity events and is having invalid/missing value");return}let d={name:"widget",action:"click",action_cause:r,value:{entity:t,rfk_id:e,index:s,entities:c,request:l,context:i.Z.toJson()}};return(0,a.j)(d)},l=async(e,t,{index:r,request:n,filters:o})=>{let s={name:"widget",action:"click",action_cause:"filter",value:{rfk_id:e,entity:t,index:r,request:n,filters:o,context:i.Z.toJson()}};return(0,a.j)(s)},u=async(e,t,{request:r,items:o}={})=>{let s=[];if(t&&o&&(s=(0,a.rn)(t,o))&&!(0,a.ON)(s)){n.Yd.warn("trackEvent :::","A field is missing on one or more of the items provided");return}let l={action:"view",name:"widget",value:{entity:t,rfk_id:e,request:r,entities:s,context:i.Z.toJson()}};return(0,a.j)(l)}},47754:function(e,t,r){"use strict";r.d(t,{Ob:function(){return i},Yy:function(){return a},p:function(){return o},qn:function(){return n}});class n{}class o extends n{constructor(e,t,r=[]){super(),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"values",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.type=e,this.name=t,this.values=r}add(e){this.values.push(e)}getName(){return this.name}getType(){return this.type}getValues(){return this.values}toJson(){return{type:this.type,name:this.name,values:this.values}}}class i extends n{constructor(e,t,r){super(),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.type=e,this.name=t,this.value=r}getType(){return this.type}getName(){return this.name}getValue(){return this.value}toJson(){return{type:this.type,name:this.name,value:this.value}}}class a extends n{constructor(e,t){super(),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"filters",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.type=e,this.filters=t}add(e){this.filters.push(e)}get(){return this.filters}getType(){return this.type}toJson(){return{type:this.type,filters:this.filters.map(e=>e.toJson())}}}},32657:function(e,t,r){"use strict";r.d(t,{$Q:function(){return o},BB:function(){return a},Cn:function(){return i}});var n=r(47754);class o extends n.Yy{constructor(e=[]){super("or",e)}}class i extends n.Yy{constructor(e=[]){super("and",e)}}class a extends n.qn{constructor(e){super(),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"filter",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.type="not",this.filter=e}get(){return this.filter}getType(){return this.type}toJson(){return{type:this.type,filter:this.filter}}}},24681:function(e,t,r){"use strict";r.d(t,{T:function(){return o}});var n=r(47754);class o extends n.p{constructor(e,t=[]){super("anyOf",e,t)}}},20353:function(e,t,r){"use strict";r.d(t,{VV:function(){return i},d9:function(){return a},og:function(){return o}});var n=r(47754);class o extends n.Ob{constructor(e,t){super("lte",e,t)}}class i extends n.Ob{constructor(e,t){super("eq",e,t)}}class a extends n.Ob{constructor(e,t){super("gte",e,t)}}},21175:function(e,t,r){"use strict";r.d(t,{_Y:function(){return n}});let n=e=>{let t=e.split("-");return 2===t.length&&t[1]||""}},51207:function(e,t,r){"use strict";r.d(t,{N:function(){return E}});let n=e=>{let t=e.split("_");return`${t[0]}${t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}`},o=(e,t,r="")=>{let o=n(t);return`${e}${o[0].toUpperCase()+o.slice(1)}${r}`};var i=r(76908);function a(e,t){let r={};if(Array.isArray(t))for(let n of t){let t=Object.getOwnPropertyDescriptor(e,n);t?.enumerable&&Object.defineProperty(r,n,t)}else for(let n of Reflect.ownKeys(e)){let o=Object.getOwnPropertyDescriptor(e,n);if(o.enumerable){let i=e[n];t(n,i,e)&&Object.defineProperty(r,n,o)}}return r}var s=r(49853);let l=e=>{if("object"!=typeof e||null===e)return e;let t=Array.isArray(e)?[]:{};for(let r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=l(e[r]));return t};var u=r(13017);class c{constructor(){Object.defineProperty(this,"listeners",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"props",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"dataSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:{}})}takeSnapshot(){return this.dataSnapshot=JSON.parse(JSON.stringify(this.data)),this}restoreSnapshot(){return this.data=JSON.parse(JSON.stringify(this.dataSnapshot)),this.onChange("@restore-snapshot",null),this}set(e,t,r){if(e in this.props){let n=this.getPropExportKey(e,r);if(this.get(e,void 0)!==t){let r=this.props[e];void 0===t?this.removeKey(r.parent?.key,r.keyPath[0]):(0,i.Hn)(this.data,n,t),this.onChange(e,t)}}return this}get(e,t,r){return e in this.props?(0,i.$s)(this.data,this.getPropExportKey(e,r),t):t}resetValue(e,t){if(e in this.props){let r=this.props[e],n=r.initialValue?r.initialValue():void 0;return void 0===n&&t&&r.parent&&"map"===r.parent.type?this.removeKey(r.parent.key,t):this.set(e,n,t)}return this}getMapExportKey(e,t){return e.map(e=>"#KEY#"===e?t:e)}getPropExportKey(e,t){if(e in this.props){let r=this.props[e].exportKey;return t?this.getMapExportKey(r,t).join("."):r.join(".")}return""}getValue(e,t,r){return e in this.props?this.get(e,t,r):t}setValue(e,t,r){return e in this.props?"array"===this.props[e].type&&0===t.length?this.resetValue(e,r):this.set(e,t,r):this}removeKey(e,t){if(!e)return this.data=function(e,t){if(Array.isArray(t)){let r=new Set(t);return a(e,e=>!r.has(e))}return a(e,(e,r,n)=>!t(e,r,n))}(this.data,[t]),this;let r=this.getValue(e,{});return(0,i.E2)(r,"string"==typeof t?t:`[${t}]`),0===Object.keys(r).length&&(r=void 0),this.setValue(e,r)}updateValue(e,t,r){return this.setValue(e,(0,s.E)(this.getValue(e,{},r),t),r)}addValue(e,t,r){return e in this.props&&"array"===this.props[e].type?this.setValue(e,this.getValue(e,[],r).concat(t),r):this}removeValue(e,t,r=e=>e!==t,n){return e in this.props&&"array"===this.props[e].type&&this.setValue(e,this.getValue(e,[],n).filter(e=>r(e,t)),n),this}load(e,t=!1){return this.data=e.toJson(),t&&this.onChange("load","load"),this}transformJson(e){return e}toJson(...e){return 0===Object.keys(this.data).length?this.transformJson(void 0):0===e.length?this.transformJson(l(this.data)):this.transformJson(u(l(this.data),e))}onChange(e,t){this.listeners.forEach(r=>{r.onChange(this,e,t)})}addListeners(e){e.forEach(e=>this.addListener(e))}addListener(e){this.listeners.find(t=>t===e)||this.listeners.push(e)}removeListener(e){this.listeners=this.listeners.filter(t=>t!==e)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let m=e=>e.replace(/s$/,"").replace(/ie$/,"y"),g=(e,t,r)=>{let{name:n=e}=t;return r?`${r.key}.${n}`:n},y=(e,t,r,n)=>("__constructor__"===t&&(e=g(t,n,r?.parent||null)),e.replace(/\./g,"_")),v=(e,t,r)=>{let{exportKey:n=[e],getter:i,setter:a}=r,s=t?.type==="map",l=g(e,r,t),u=t?`${t.accessProp}.${e}`:e,c=[...s?["#KEY#"]:[],..."__constructor__"===e?[]:n],d=t?.exportKey?.concat(...c)||c,p=y(l,e,t,r),f=i||o("get",p),h=a||o("set",p);return{config:{...r,key:l,accessProp:u,exportKey:d,keyPath:c,getter:f,setter:h,parent:t},key:l,methodKey:p}},b=(e,{parent:t},r,n=0)=>{if(t?.type==="map"){if(e.lengtht[r]),e[0]]}return e},w=(e,t,r,n,a)=>{let s={};return Object.keys(t).forEach(l=>{let{key:u,methodKey:c,config:d,config:{accessProp:p,exportKey:f,setter:h,getter:g,type:y,model:E,initialValue:x}}=v(l,e,t[l]),S={type:y,...a};s[u]=d;let C=x?x():void 0;if(void 0===C||u.includes("#KEY#")||(0,i.Hn)(r,f.join("."),C),n.push({typeOptions:S,prop:p,key:g,value:function(...e){return this.getValue(u,...b(e,S,1,1))}}),n.push({typeOptions:S,prop:p,key:h,value:function(...e){return this.setValue(u,...b(e,S,1))}}),n.push({typeOptions:S,prop:p,key:o("reset",c),value:function(...e){return this.resetValue(u,...b(e,S,0))}}),"array"===y){let e=m(c);n.push({typeOptions:S,prop:p,key:o("add",e),value:function(...e){return this.addValue(u,...b(e,S,1))}}),n.push({typeOptions:S,prop:p,key:o("remove",e),value:function(...e){return this.removeValue(u,...b(e,S,2,1))}})}else"model"===y&&E?(Object.assign(s,w(d,E.properties,r,n,a)),n.push({typeOptions:S,prop:p,key:o("update",c),value:function(...e){return this.updateValue(u,...b(e,S,1))}})):"map"===y&&E&&Object.assign(s,w(d,E.properties,r,n,{parent:d,...a}))}),s},E=e=>{let{name:t,properties:r={}}=e,n={},o=[],i=w(null,r,n,o);!function(e,t){if("function"!=typeof t&&null!==t)throw 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&&d(e,t)}(s,c);let a=function(e){let t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){let r;let n=p(e);return r=t?Reflect.construct(n,arguments,p(this).constructor):n.apply(this,arguments),function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}(s);function s(...e){let t=a.call.apply(a,[this].concat(e));return h(t,"listeners",[]),h(t,"props",i),h(t,"data",JSON.parse(JSON.stringify(n))),t}return o&&function(e,t){for(let r=0;r+r.expiryTime&&(this.remove(e),r=void 0),r&&r.value}remove(e){localStorage.removeItem(e)}}class c{static init(e){n=e&&(0,o.J)().localStorage?new u:new l}static set(e,t,r){n.set(e,t,r||3e5)}static get(e){let t=n.get(e),r=t?(0,i.o3)(t):{};return"undefined"===t&&(t=void 0),t&&r?r:t}static remove(e){n.remove(e)}}var d=c},17867:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n,o,i={name:"Content",properties:{fields:{type:"array"}}},a={name:"SearchFilter",properties:{type:{},name:{required:!0},values:{type:"array",required:!0}}},s={name:"Rule",properties:{behaviors:{},blacklist:{type:"model",model:{name:"Blacklist",properties:{filter:{type:"model",model:a,required:!0}}}},boost:{type:"array",model:{name:"Boost",properties:{filter:{type:"model",model:a,required:!0},slots:{type:"array",required:!0}}}},bury:{type:"model",model:{name:"Bury",properties:{filter:{type:"model",model:a,required:!0}}}},include:{type:"array",model:{name:"Include",properties:{filter:{type:"model",model:a,required:!0},slots:{type:"array",required:!0}}}},pin:{type:"array",model:{name:"Pin",properties:{id:{required:!0},slot:{type:"array",required:!0}}}}}},l={name:"FacetSort",properties:{name:{required:!0},order:{required:!0}}};(o=n||(n={})).HARD_FILTERS="hard_filters",o.OTHER_FACET_VALUES="other_facet_values",o.OWN_VALUES="own_values";var u={name:"WidgetItem",buildInterface:!0,properties:{entity:{required:!0},rfk_id:{required:!0,name:"rfkId"},recommendations:{type:"model",model:{name:"Recommendations",properties:{content:{type:"model",model:i},filter:{type:"model",model:a},recipe:{type:"model",model:{name:"RecommendationsRecipe",properties:{id:{},version:{}}}},limit:{},rule:{type:"model",model:s}}}},questions:{type:"model",model:{name:"Questions",properties:{keyphrase:{},exact_answer:{type:"model",model:{name:"ExactAnswer",properties:{query_types:{type:"array"}}}},related_questions:{type:"model",model:{name:"RelatedQuestions",properties:{limit:{},offset:{}}}}}}},rfk_flags:{type:"array",name:"rfkFlags"},search:{type:"model",model:{name:"Search",properties:{sort:{type:"model",model:{name:"Sort",properties:{choices:{},value:{type:"model",model:{name:"SortItem",properties:{name:{required:!0},order:{}}},exportKey:["value[0]"],name:"criteria"}}}},content:{type:"model",model:i},facet:{type:"model",model:{name:"Facet",properties:{all:{},max:{},sort:{type:"model",model:l},types:{type:"array",model:{name:"FacetType",properties:{after:{},exclude:{type:"array"},filter:{},filtering_options:{type:"array"},keyphrase:{},max:{},min_count:{},name:{required:!0},sort:{type:"array",model:l}}}}}}},filter:{},group_by:{},limit:{},offset:{},personalization:{type:"model",model:{name:"Personalization",properties:{algorithm:{},fields:{type:"array"},ids:{type:"array"}}}},query:{type:"model",model:{name:"Query",properties:{highlight:{type:"model",model:{name:"Highlight",properties:{fields:{type:"array",required:!0},fragment_size:{},post_tag:{type:"string"},pre_tag:{type:"string"}}}},keyphrase:{required:!0},operator:{},relevance:{type:"array",model:{name:"Relevance",properties:{analyzer:{required:!0},name:{required:!0},weight:{}}}}}}},ranking:{type:"array",model:{name:"Ranking",properties:{name:{required:!0},weight:{}}}},response_context:{type:"model",model:{name:"ResponseContext",properties:{}},merge:!0},rule:{type:"model",model:s},suggestion:{type:"array",model:{name:"Suggestion",properties:{exclude:{},keyphrase_fallback:{},max:{},name:{required:!0}}}},swatch:{type:"model",model:{name:"Swatch",properties:{fields:{type:"array"},group_by:{},max:{}}}}}}},sources:{type:"array"},appearance:{type:"model",model:{name:"Appearance",properties:{templates:{type:"model",model:{name:"Templates",properties:{sections:{type:"array"},devices:{type:"array"},keep_variables:{},keep_original_css:{}}}},variables:{type:"model",model:{name:"Variables",properties:{sections:{type:"array"}}}}}}}}}},65077:function(e,t,r){"use strict";r.d(t,{T:function(){return o}});var n=r(67294);let o=(0,n.createContext)({}),i=(0,n.createContext)({});t.Z=i},45099:function(e,t,r){"use strict";let n,o;r.d(t,{ZP:function(){return ey}});var i,a,s,l,u,c=r(67294),d=r(74730),p=r(26448),f=r(37423);let h=e=>(e.errors||[]).length>0;class m{validateResponse(e,t){return e&&h(e)?e:null}processResponse(e,t){return e}}var g=r(64661),y=r(61214);let v=(e,{processor:t=new m}={})=>{(0,g.v6)(e);let{useStorage:r=!1}=e;y.Z.init(r),t&&f.Z.setProcessor(t)};var b=r(22694),w=r(12237),E=r(5693);class x extends m{processResponse(e){return e.widgets?.forEach(({rfk_id:e,type:t,variation_id:r,used_in:n})=>{E.Z.setMetadata(e,{rfkId:e,type:t,variationId:r,usedIn:n})}),e}}let S=e=>{v(e,{processor:new x})},C=()=>{let{trackConsent:e}=(0,g.dS)();w.ZP.toggleTrackConsent(e),w.ZP.getContext().setBrowserUserAgent((0,d.J)({navigator:{userAgent:""}}).navigator.userAgent)},O=!1,T=()=>{O||(C(),O=!0,w.ZP.getDispatcher().dispatch({type:b.Z.INITIALIZE,payload:{options:{}}}))},D=(e,t)=>{p.Yd.debug("setWidgetType",`Type: ${e}`,`Mapping: ${JSON.stringify(t)}`),E.Z.setWidgetType(e,t)};var P=r(32161);let A=console;var k=r(30081),R=r(72379);class I{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,P.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:P.sk?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class _ extends I{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||A,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let r=(0,P.oE)(this.state.data,e,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(P.ZT).catch(P.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,P.Kp)(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var r,n,o,i;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(o=this.retryer)||o.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let a=(0,P.G9)(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);let u={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};l(u),null==(r=this.options.behavior)||r.onFetch(u),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(n=u.fetchOptions)?void 0:n.meta))&&this.dispatch({type:"fetch",meta:null==(i=u.fetchOptions)?void 0:i.meta});let c=e=>{if((0,R.DV)(e)&&e.silent||this.dispatch({type:"error",error:e}),!(0,R.DV)(e)){var t,r,n,o;null==(t=(r=this.cache.config).onError)||t.call(r,e,this),null==(n=(o=this.cache.config).onSettled)||n.call(o,this.state.data,e,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,R.Mz)({fn:u.fetchFn,abort:null==a?void 0:a.abort.bind(a),onSuccess:e=>{var t,r,n,o;if(void 0===e){c(Error(this.queryHash+" data is undefined"));return}this.setData(e),null==(t=(r=this.cache.config).onSuccess)||t.call(r,e,this),null==(n=(o=this.cache.config).onSettled)||n.call(o,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:c,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var r,n;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:(0,R.Kw)(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(n=e.dataUpdatedAt)?n:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let o=e.error;if((0,R.DV)(o)&&o.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};return{...t,error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),k.V.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}var N=r(33989);class L extends N.l{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,r){var n;let o=t.queryKey,i=null!=(n=t.queryHash)?n:(0,P.Rm)(o,t),a=this.get(i);return a||(a=new _({cache:this,logger:e.getLogger(),queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(o)}),this.add(a)),a}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){k.V.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[r]=(0,P.I6)(e,t);return void 0===r.exact&&(r.exact=!0),this.queries.find(e=>(0,P._x)(r,e))}findAll(e,t){let[r]=(0,P.I6)(e,t);return Object.keys(r).length>0?this.queries.filter(e=>(0,P._x)(r,e)):this.queries}notify(e){k.V.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){k.V.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){k.V.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class M extends I{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||A,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){var e,t,r,n,o,i,a,s,l,u,c,d,p,f,h,m,g,y,v,b;let w="loading"===this.state.status;try{if(!w){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(l=(u=this.mutationCache.config).onMutate)?void 0:l.call(u,this.state.variables,this));let e=await (null==(c=(d=this.options).onMutate)?void 0:c.call(d,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}let p=await (()=>{var e;return this.retryer=(0,R.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise})();return await (null==(e=(t=this.mutationCache.config).onSuccess)?void 0:e.call(t,p,this.state.variables,this.state.context,this)),await (null==(r=(n=this.options).onSuccess)?void 0:r.call(n,p,this.state.variables,this.state.context)),await (null==(o=(i=this.mutationCache.config).onSettled)?void 0:o.call(i,p,null,this.state.variables,this.state.context,this)),await (null==(a=(s=this.options).onSettled)?void 0:a.call(s,p,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:p}),p}catch(e){try{throw await (null==(p=(f=this.mutationCache.config).onError)?void 0:p.call(f,e,this.state.variables,this.state.context,this)),await (null==(h=(m=this.options).onError)?void 0:h.call(m,e,this.state.variables,this.state.context)),await (null==(g=(y=this.mutationCache.config).onSettled)?void 0:g.call(y,void 0,e,this.state.variables,this.state.context,this)),await (null==(v=(b=this.options).onSettled)?void 0:v.call(b,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,R.Kw)(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),k.V.batch(()=>{this.observers.forEach(t=>{t.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}class j extends N.l{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,r){let n=new M({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(n),n}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){k.V.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>(0,P.X7)(e,t))}findAll(e){return this.mutations.filter(t=>(0,P.X7)(e,t))}notify(e){k.V.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{let e=this.mutations.filter(e=>e.state.isPaused);return k.V.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(P.ZT)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}var F=r(15761),B=r(96474);function Z(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}class V{constructor(e={}){this.queryCache=e.queryCache||new L,this.mutationCache=e.mutationCache||new j,this.logger=e.logger||A,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=F.j.subscribe(()=>{F.j.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=B.N.subscribe(()=>{B.N.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){let[r]=(0,P.I6)(e,t);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data}ensureQueryData(e,t,r){let n=(0,P._v)(e,t,r),o=this.getQueryData(n.queryKey);return o?Promise.resolve(o):this.fetchQuery(n)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let n=this.queryCache.find(e),o=null==n?void 0:n.state.data,i=(0,P.SE)(t,o);if(void 0===i)return;let a=(0,P._v)(e),s=this.defaultQueryOptions(a);return this.queryCache.build(this,s).setData(i,{...r,manual:!0})}setQueriesData(e,t,r){return k.V.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state}removeQueries(e,t){let[r]=(0,P.I6)(e,t),n=this.queryCache;k.V.batch(()=>{n.findAll(r).forEach(e=>{n.remove(e)})})}resetQueries(e,t,r){let[n,o]=(0,P.I6)(e,t,r),i=this.queryCache,a={type:"active",...n};return k.V.batch(()=>(i.findAll(n).forEach(e=>{e.reset()}),this.refetchQueries(a,o)))}cancelQueries(e,t,r){let[n,o={}]=(0,P.I6)(e,t,r);return void 0===o.revert&&(o.revert=!0),Promise.all(k.V.batch(()=>this.queryCache.findAll(n).map(e=>e.cancel(o)))).then(P.ZT).catch(P.ZT)}invalidateQueries(e,t,r){let[n,o]=(0,P.I6)(e,t,r);return k.V.batch(()=>{var e,t;if(this.queryCache.findAll(n).forEach(e=>{e.invalidate()}),"none"===n.refetchType)return Promise.resolve();let r={...n,type:null!=(e=null!=(t=n.refetchType)?t:n.type)?e:"active"};return this.refetchQueries(r,o)})}refetchQueries(e,t,r){let[n,o]=(0,P.I6)(e,t,r),i=Promise.all(k.V.batch(()=>this.queryCache.findAll(n).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...o,cancelRefetch:null==(t=null==o?void 0:o.cancelRefetch)||t,meta:{refetchPage:n.refetchPage}})}))).then(P.ZT);return null!=o&&o.throwOnError||(i=i.catch(P.ZT)),i}fetchQuery(e,t,r){let n=(0,P._v)(e,t,r),o=this.defaultQueryOptions(n);void 0===o.retry&&(o.retry=!1);let i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)}prefetchQuery(e,t,r){return this.fetchQuery(e,t,r).then(P.ZT).catch(P.ZT)}fetchInfiniteQuery(e,t,r){let n=(0,P._v)(e,t,r);return n.behavior={onFetch:e=>{e.fetchFn=()=>{var t,r,n,o,i,a,s;let l;let u=null==(t=e.fetchOptions)?void 0:null==(r=t.meta)?void 0:r.refetchPage,c=null==(n=e.fetchOptions)?void 0:null==(o=n.meta)?void 0:o.fetchMore,d=null==c?void 0:c.pageParam,p=(null==c?void 0:c.direction)==="forward",f=(null==c?void 0:c.direction)==="backward",h=(null==(i=e.state.data)?void 0:i.pages)||[],m=(null==(a=e.state.data)?void 0:a.pageParams)||[],g=m,y=!1,v=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>{var t,r;return null!=(t=e.signal)&&t.aborted?y=!0:null==(r=e.signal)||r.addEventListener("abort",()=>{y=!0}),e.signal}})},b=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),w=(e,t,r,n)=>(g=n?[t,...g]:[...g,t],n?[r,...e]:[...e,r]),E=(t,r,n,o)=>{if(y)return Promise.reject("Cancelled");if(void 0===n&&!r&&t.length)return Promise.resolve(t);let i={queryKey:e.queryKey,pageParam:n,meta:e.options.meta};return v(i),Promise.resolve(b(i)).then(e=>w(t,n,e,o))};if(h.length){if(p){let t=void 0!==d,r=t?d:Z(e.options,h);l=E(h,t,r)}else if(f){let t=void 0!==d,r=t?d:null==(s=e.options).getPreviousPageParam?void 0:s.getPreviousPageParam(h[0],h);l=E(h,t,r,!0)}else{g=[];let t=void 0===e.options.getNextPageParam;l=!u||!h[0]||u(h[0],0,h)?E([],t,m[0]):Promise.resolve(w([],m[0],h[0]));for(let r=1;r{if(!u||!h[r]||u(h[r],r,h)){let o=t?m[r]:Z(e.options,n);return E(n,t,o)}return Promise.resolve(w(n,m[r],h[r]))})}}else l=E([]);return l.then(e=>({pages:e,pageParams:g}))}}},this.fetchQuery(n)}prefetchInfiniteQuery(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(P.ZT).catch(P.ZT)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let r=this.queryDefaults.find(t=>(0,P.yF)(e)===(0,P.yF)(t.queryKey));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>(0,P.to)(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let r=this.mutationDefaults.find(t=>(0,P.yF)(e)===(0,P.yF)(t.mutationKey));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>(0,P.to)(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=(0,P.Rm)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}var q=r(25769);class U{constructor(){Object.defineProperty(this,"containerHandled",{enumerable:!0,configurable:!0,writable:!0,value:!1}),w.ZP.register(this)}handleAction(e){switch(e.type){case b.Z.PAGE_CONTAINER_READY:this.containerHandled||(this.containerHandled=this.handlePageContainerReadyAction(e.payload));break;case b.Z.FOUND_WIDGETS:{let{widgets:t=[]}=e.payload;t.forEach(({rfkId:e,entity:t,node:r})=>{this.handleAddWidget(e,t,r)})}}}handlePageContainerReadyAction(e){return!0}handleAddWidget(e,t,r){}}var z=r(80187);let $='[data-rfkid="rfkid_container"]',H=()=>document.querySelector($);var G={start:()=>{if(n)return;let e=H();(n=new MutationObserver(t=>{let r=[];t.forEach(t=>{t.addedNodes.forEach(t=>{let n=t.dataset.rfkid,o=t.dataset.entity;t.nodeType===Node.ELEMENT_NODE&&(!e||!e.contains(t))&&n&&o&&r.push({rfkId:n,entity:o,node:t})})}),Object.keys(r).length>0&&w.ZP.getDispatcher().dispatch({type:b.Z.FOUND_WIDGETS,payload:{widgets:r}})})).observe(document.body,{subtree:!0,childList:!0,characterData:!0})}};let W=e=>{let{autoIncludeNewWidgets:t=!1,autoIncludeWidgets:r=!0,uri:n}=e||{};if((0,z.y)()){n&&w.ZP.getContext().setPageUri(n),T();return}if(w.ZP.getContext().setPageUri(n||window.location.pathname),t&&G.start(),r){let e=Array.from(document.querySelectorAll(`:not(${$}) > [data-rfkid]:not(${$})`)).filter((e,t,r)=>r.indexOf(e)===t).map(e=>({rfkId:e.dataset.rfkid,entity:e.dataset.entity,node:e}));e.length&&setTimeout(()=>{w.ZP.getDispatcher().dispatch({type:b.Z.FOUND_WIDGETS,payload:{widgets:e}})},0)}T()},K=(e,t)=>{};var Y=r(8490),Q={keyphrase:(e,t)=>t.keyphrase&&e.setSearchQueryKeyphrase(t.keyphrase),suggestionsList:(e,t)=>t.suggestionsList&&e.setSearchSuggestion(t.suggestionsList.map(({suggestion:e,max:t=3})=>({name:e,max:t}))),itemsPerPage:(e,t)=>e.setSearchLimit(t.itemsPerPage)};(i=s||(s={})).ITEM_CLICKED="search/ITEM_CLICKED",i.SUGGESTION_CLICKED="search/SUGGESTION_CLICKED",i.SUGGESTION_ADDED="search/SUGGESTION_ADDED",i.SUGGESTION_REMOVED="search/SUGGESTION_REMOVED",i.KEYPHRASE_CHANGED="search/KEYPHRASE_CHANGED";let J={onItemClick:s.ITEM_CLICKED,onSuggestionClick:s.SUGGESTION_CLICKED,onSuggestionAdded:s.SUGGESTION_ADDED,onSuggestionRemoved:s.SUGGESTION_REMOVED,onKeyphraseChange:s.KEYPHRASE_CHANGED};var X={itemsPerPage:(e,t)=>e.setRecommendationsLimit(t.itemsPerPage)};(a=l||(l={})).ITEM_CLICKED="recommendation/ITEM_CLICKED",a.NAVIGATION_NEXT="recommendation/NAVIGATION_NEXT",a.NAVIGATION_PREV="recommendation/NAVIGATION_PREV";let ee={onNavigationNext:l.NAVIGATION_NEXT,onNavigationPrev:l.NAVIGATION_PREV,onItemClick:l.ITEM_CLICKED};var et={keyphrase:(e,t)=>t.keyphrase&&e.setQuestionsKeyphrase(t.keyphrase),relatedQuestions:(e,t)=>t.relatedQuestions&&e.setQuestionsRelatedQuestionsLimit(t.relatedQuestions)};(u||(u={})).KEYPHRASE_CHANGED="questions/KEYPHRASE_CHANGED";let er={onKeyphraseChanged:u.KEYPHRASE_CHANGED};var en={keyphrase:(e,t)=>t.keyphrase&&e.setSearchQueryKeyphrase(t.keyphrase),page:(e,t)=>e.setSearchOffset((t.itemsPerPage??e.getSearchLimit())*((t.page??1)-1)||0),itemsPerPage:(e,t)=>e.setSearchLimit(t.itemsPerPage),sortType:(e,t)=>e.setSearchSortCriteriaName(t.sortType)},eo=r(85007);let ei={onKeyphraseChange:eo.e.KEYPHRASE_CHANGED,onClearFilters:eo.e.CLEAR_FILTERS,onResultsPerPageChange:eo.e.RESULTS_PER_PAGE_CHANGED,onPageNumberChange:eo.e.PAGE_NUMBER_CHANGED,onItemClick:eo.e.ITEM_CLICKED,onSortChange:eo.e.SORT_CHANGED,onFacetClick:eo.e.FACET_CLICKED,onFilterClick:eo.e.FILTER_CLICKED,onRemoveFilter:eo.e.REMOVE_FILTER};var ea=r(4687),es=r(45299);let el={component:ea.Z,options:{state:{}}},eu=(e,t)=>D(e,t);var ec=()=>{eu(Y.L.CONTENT_BLOCK,el),eu(Y.L.HTML_BLOCK,el),eu(Y.L.BANNER,el),eu(Y.L.SEO,{...el,component:es.Z}),eu(Y.L.PREVIEW_SEARCH,{options:{propStateMapping:Q,actionProps:J,state:{}}}),eu(Y.L.RECOMMENDATION,{options:{propStateMapping:X,actionProps:ee,state:{}}}),eu(Y.L.QUESTIONS,{options:{propStateMapping:et,actionProps:er,state:{}}}),eu(Y.L.SEARCH_RESULTS,{options:{propStateMapping:en,actionProps:ei,state:{selectedFacets:{},page:1}}})};class ed{constructor(){Object.defineProperty(this,"widgets",{enumerable:!0,configurable:!0,writable:!0,value:{}})}getWidgetComponentConfig(e,t){let r=E.Z.get(e,t);if(r&&r.type&&r.component)return r}getWidget(e,t){if(!this.widgets[e]){let r=this.getWidgetComponentConfig(e,t);r&&(this.widgets[e]=this.doSetup({...r,entity:t},e))}return this.widgets[e]}setup(e,t){return this.getWidget(e,t)}}var ep=ed,ef=r(80507);class eh extends ep{doSetup({type:e,entity:t,component:r}){return(0,ef.Zg)(r,e,t)}}let em=(...e)=>{ec(),K(new U,new eh),W(...e)},eg=e=>(!o&&e?o=e:o||(o=new V({defaultOptions:{queries:{retry:!1,keepPreviousData:!0,refetchOnWindowFocus:!1}}})),o);var ey=({apiKey:e,children:t,clientId:r,customerKey:n,debug:o,discoverDomainId:i,env:a="prod",orderCloudRegion:s,publicSuffix:l=!1,requestMiddleware:u,serviceHost:d,trackConsent:p=!0,uri:f,useAccessToken:h,useStorage:m,useToken:g,userId:y,...v})=>((0,c.useMemo)(()=>{S({apiKey:e,clientId:r,customerKey:n,debug:o,discoverDomainId:i,env:a,orderCloudRegion:s,publicSuffix:l,requestMiddleware:u,serviceHost:d,trackConsent:p,useAccessToken:h,useStorage:m,useToken:g,userId:y}),em({uri:f,autoIncludeWidgets:!1,autoIncludeNewWidgets:!1})},[]),(0,c.useEffect)(()=>{w.ZP.toggleTrackConsent(p)},[p]),(0,c.createElement)(q.aH,{...v,client:eg(v.client)},t))},80507:function(e,t,r){"use strict";r.d(t,{Zg:function(){return eh}});var n=r(26448),o=r(8490),i=r(67294),a=r(51462),s=r(65077),l=r(28224);let u=()=>Math.random().toString(36).substring(2,9),c=({rfkId:e,entity:t,children:r})=>{let n=(0,i.useMemo)(()=>u(),[]),o=(0,i.useCallback)(r=>a.Z.dispatch({...r,payload:{rfkId:e,instanceId:n,entity:t,...r.payload}}),[e,t,n]),l=(0,i.useMemo)(()=>({rfkId:e,instanceId:n,dispatch:o,entity:t}),[e,o,t,n]);return(0,i.createElement)(s.T.Provider,{value:l},r)};var d=e=>{let{children:t}=e,r=(0,l.Z)();return r?.rfkId===e.rfkId?(0,i.createElement)(i.Fragment,{},t||null):(0,i.createElement)(c,e,t)},p=r(49853),f=r(12237),h=r(5693),m=r(22694);let g=(e,t,r)=>{Object.keys(r).forEach(n=>{"function"==typeof e[n]&&e[n](t,r)})},y=(e,t,r={})=>{let{options:{propStateMapping:n=null,props:{initial:o={}}={}}={}}=h.Z.get(e)||{};n&&g(n,t,(0,p.E)(o,r))};var v={visibility:{threshold:.2,triggerOnce:!0}},b=r(96553),w=r(51207),E={name:"Ordercloud",buildInterface:!0,file:"ocContext",properties:{sellerId:{type:"string"},requiredInventoryLocations:{type:"array",name:"requiredInventoryLocations"}}};let x=(0,w.N)(E);class S extends x{}var C=r(43419);class O extends C.x{constructor(){super(),Object.defineProperty(this,"ocContext",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.setContext(new S),a.Z.subscribe(this)}setContext(e){this.ocContext=e,this.ocContext.addListener(this)}getContext(){return this.ocContext}handleAction(e){switch(e.type){case m.Z.OC_CONTEXT_CHANGED:n.Yd.info("OC Context changed");break;case m.Z.INITIALIZE:this.initialize()}}onChange(e,t,r){this.initialized&&a.Z.dispatch({type:m.Z.OC_CONTEXT_CHANGED,payload:{context:this.ocContext}})}}var T=new O,D=r(69496),P=r(64661),A=r(98357);let k=(e,t)=>(e.cancel=()=>{t.abort()},e);var R=r(37423);let I=()=>String(Date.now().toString(32)+Math.random().toString(16)).replace(/\./g,"");var _={async getData(e,t){let r=new AbortController,n={...t,signal:r.signal,abortController:r};return k(this.fetch(e.toJson(),n),r)},async fetch(e,t){let r=I(),n=f.ZP.getContext(),o=(0,p.E)({context:n.toJson()},e);a.Z.dispatch({type:m.Z.REQUEST,payload:{requestId:r,request:e,pageContext:n,payload:o}});try{let i=await R.Z.get(o,{signal:t?.signal});return a.Z.dispatch({type:m.Z.REQUEST_SUCCESS,payload:{requestId:r,request:e,pageContext:n,payload:o,response:i}}),{_requestId:r,...i}}catch(t){return a.Z.dispatch({type:m.Z.REQUEST_FAIL,payload:{error:t,requestId:r,request:e,pageContext:n,payload:o}}),Promise.reject(t)}}},N=r(95635);let L={name:"Widget",properties:{items:{type:"array",model:r(17867).Z}}};var M={context:{type:"model",model:N.Z},rfk_flags:{type:"array",name:"rfkFlags"},widget:{type:"model",model:L}};let j={name:"OCSearchRequest",file:"OCSearchRequest",buildInterface:!0,properties:{...M,ordercloud:{type:"model",model:E,setter:"setOrderCloudContext",getter:"getOrderCloudContext"}}},F=(0,w.N)(j);class B extends F{getWidgetInfo(e){return this.getWidgetItems()?.find(t=>t.rfk_id&&t.rfk_id===e)}addWidgets(e){return e.forEach(e=>this.addWidgetItem(e)),this}}let Z={name:"SearchRequest",file:"SearchRequest",buildInterface:!0,properties:{...M}},V=(0,w.N)(Z);class q extends V{getWidgetInfo(e){return this.getWidgetItems()?.find(t=>t.rfk_id&&t.rfk_id===e)}addWidgets(e){return e.forEach(e=>this.addWidgetItem(e)),this}}var U=()=>{let{connector:e}=(0,P.dS)();if("oc"===e){n.Yd.info("Using OC Request");let e=new B;return e.setOrderCloudContext(T.getContext().toJson()),e}return n.Yd.info("Using default Request"),new q};let z=({rfkId:e,entity:t})=>`${e}@${t}`,$=(e,t,r,n)=>{e.has(t)||e.set(t,new Map([[r,{}]])),e.get(t).set(r,n)},H=e=>{let t=new Map;return e.slice().reverse().forEach(([e,r])=>{let{rfkId:n,instanceId:o,payload:i}=e,a=z(e);t.get(a)?.get(o||"")?r.abortController.abort():$(t,a,o||"",{...i,rfk_id:n})}),t},G=(e,t)=>{let{payload:r}=e,n=U();return n.addWidgetItem(r),e.context&&n.setContext(e.context.toJson()),_.fetch(n.toJson(),t)},W=async e=>{let t=U(),r=Array.from(H(e.filter(([e,t])=>!t.signal.aborted)).values()).map(e=>Array.from(e.values())).flat();t.addWidgets(r),e[0][0].context&&t.setContext(e[0][0].context.toJson());let{requestMiddleware:n}=(0,P.dS)();n&&await n();let o=await _.fetch(t.toJson());return e.map(([,{abortController:e}])=>e.signal.aborted?Object.assign({},o,{_canceled:!0}):o)},K={},Y=e=>(K[e]||(K[e]=D(W,250,{accumulate:!0})),K[e]),Q=(e,t)=>Y(t.groupBy)(e,t),J=(e,t)=>{if(t?.debounceBy)return`debounceBy@${t.debounceBy}`;let r=e.context?.toJson();return r?JSON.stringify(r):"default"};var X={async getWidgetData(e,t){let{rfkId:r,entity:n,request:o}=e,i=f.ZP.getContext(),s=o.toJson();a.Z.dispatch({type:m.Z.WIDGET_DATA_REQUEST,payload:{...e,pageContext:i,payload:s}});try{let o=await this.fetchWidgetData({...e,payload:s},t);if(o._canceled)return a.Z.dispatch({type:m.Z.WIDGET_DATA_REQUEST_CANCELED,payload:{...e,pageContext:i,payload:s}}),Promise.reject(new A.Z(o));let{_requestId:l,...u}=o,{widgets:c=[]}=u,d=c.find(({rfk_id:e,entity:t})=>e===r&&t===n);if(!d)throw Error(`Response processing error: could not find ${r} in response`);return a.Z.dispatch({type:m.Z.WIDGET_DATA_REQUEST_SUCCESS,payload:{...e,pageContext:i,response:d,payload:s,requestId:l}}),d}catch(t){return a.Z.dispatch({type:m.Z.WIDGET_DATA_REQUEST_FAIL,payload:{error:t,...e,pageContext:i,payload:s}}),Promise.reject(t)}},fetchWidgetData(e,t){let r=new AbortController,n={...t,signal:r.signal,abortController:r,groupBy:J(e,t)};return t?.signal?.addEventListener("abort",()=>{r.abort()}),k(t?.debounce?Q(e,n):G(e,n),r)}},ee=r(70458);let et=(e,t,...r)=>[t.getRfkId(),e,f.ZP.getContext().toJson(),t.toJson(),T.getContext().toJson(),...r];class er{constructor(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"context",{enumerable:!0,configurable:!0,writable:!0,value:new ee.Z}),Object.defineProperty(this,"ocContext",{enumerable:!0,configurable:!0,writable:!0,value:new S}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"debounced",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"debounceBy",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"widgetRequest",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lastResponse",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"enabled",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"enabledChangeListeners",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"destroyListeners",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.widgetRequest=t,this.instanceId=e}onUpdate(e){let t=(0,b.D)(()=>{e()},50),r={handleAction(e){switch(e.type){case m.Z.OC_CONTEXT_CHANGED:case m.Z.PAGE_CONTEXT_CHANGED:t()}}};f.ZP.register(r);let n={onChange(e,r,n){t()}};this.getRequest().addListener(n),this.getContext().addListener(n),this.getOCContext().addListener(n);let o=e=>{e&&t()};this.enabledChangeListeners.push(o),this.destroyListeners.push(()=>{f.ZP.unregister(r),this.getRequest().removeListener(n),this.getContext().removeListener(n),this.getOCContext().removeListener(n),this.enabledChangeListeners=this.enabledChangeListeners.filter(e=>e!==o)})}destroy(){this.destroyListeners.forEach(e=>{e()}),this.destroyListeners=[]}getContext(){return this.context}getOCContext(){return this.ocContext}getRequest(){return this.widgetRequest}getKey(){return et(this.instanceId,this.widgetRequest,this.context.toJson())}getLastResponse(){return this.lastResponse}getRequestContext(){return(0,p.E)(f.ZP.getContext().toJson(),this.context.toJson())}getRequestOCContext(){return(0,p.E)(T.getContext().toJson(),this.ocContext.toJson())}setDebounced(e){this.debounced=e}isDebounced(){return this.debounced}setDebounceBy(...e){this.debounceBy=e.join("#")}getDebounceBy(){return this.debounceBy}fetch(e={}){return this.run(e)}run(e={}){let t={rfkId:this.getRequest().getRfkId(),entity:this.getRequest().getEntity(),instanceId:this.instanceId,request:this.getRequest(),context:this.getContext(),ocContext:this.getOCContext()};return X.getWidgetData(t,{debounceBy:this.getDebounceBy(),debounce:this.isDebounced(),...e}).then(e=>(this.lastResponse=e,e))}setEnabled(e){e!==this.enabled&&(this.enabled=e,this.enabledChangeListeners.forEach(t=>{t(e)}))}toggleEnabled(){this.setEnabled(!this.enabled)}isEnabled(){return this.enabled}getInstanceId(){return this.instanceId}}let en=(e,t,r)=>{e({type:t,payload:r})},eo=(e,t)=>{let{actionProps:r={}}=t;return Object.keys(r).reduce((t,n)=>({...t,[n]:en.bind(null,e,r[n])}),{})},ei=({dispatch:e,entity:t,instanceId:r,rfkId:n})=>{let o={},i={},a=!1,s=(0,f.QS)(n);s.setEntity(t);let l=new er(r,s),u=(0,p.E)(v,h.Z.get(n,t)?.options),c=eo(e,u),d=(e,t)=>Object.fromEntries(Object.entries(t).filter(([t,r])=>e[t]!==r)),g=e=>{Object.assign(o,"function"==typeof e?e():e)},b=e=>{y(l.getRequest().getRfkId(),l.getRequest(),o),e&&e(l),l.getRequest().takeSnapshot()},w=e=>{Object.assign(i,e)};return{actions:c,options:u,query:l,state:o,config:i,updateState:i=>{let a=d(o,i);Object.assign(o,i),e({type:m.Z.WIDGET_STATE_CHANGED,payload:{rfkId:n,entity:t,instanceId:r,state:a}})},initialize:e=>{a||(g(e.state),b(e.query),w(e.config),a=!0)},isInitialized:()=>a}};var ea=({children:e})=>{let{rfkId:t,entity:r,dispatch:n,instanceId:o}=(0,l.Z)(),a=(0,i.useRef)();return a.current||(a.current=ei({dispatch:n,entity:r,instanceId:o,rfkId:t})),(0,i.useEffect)(()=>(n({type:m.Z.LOAD,payload:{rfkId:t,entity:r,instanceId:o}}),()=>{n({type:m.Z.UNLOAD,payload:{rfkId:t,entity:r,instanceId:o}})}),[n,t,r,o]),(0,i.createElement)(s.Z.Provider,{value:a.current},e)};let es=(...e)=>(t,r)=>e.reduceRight((e,t)=>(0,i.createElement)(t,r,e),t),el=(e,t)=>(0,i.createElement)(e,t);var eu=r(4687),ec=r(45299);let ed=(e,t,r)=>{if(!0===e.__wrapped)throw Error(`Seems you are trying to wrap an already wrapped Widget component (entity: ${t})`);return r.__wrapped=!0,r},ep=(e,t,r,n)=>ed(t,r,o=>{let{rfkId:a}=o;return(0,i.useMemo)(()=>{h.Z.setType(a,e)},[a]),n(o,{rfkId:a,entity:r},t)}),ef=(e,t,r)=>es(d,ea)(el(r,e),t),eh=(e,t,r)=>(n.Yd.debug("widget",e&&e.name,t),ep(t,e,r,ef));eh(eu.Z,o.L.BANNER,"content"),eh(eu.Z,o.L.HTML_BLOCK,"content"),eh(ec.Z,o.L.SEO,"content")},28224:function(e,t,r){"use strict";var n=r(67294),o=r(65077);t.Z=()=>(0,n.useContext)(o.T)},26666:function(e,t,r){"use strict";let n;r.d(t,{Z:function(){return A}});var o=r(67294),i=r(98357),a=r(25769),s=r(32161),l=r(30081),u=r(15761),c=r(33989),d=r(72379);class p extends c.l{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),f(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return h(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return h(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let r=this.options,n=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),(0,s.VS)(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();let o=this.hasListeners();o&&m(this.currentQuery,n,this.options,r)&&this.executeFetch(),this.updateResult(t),o&&(this.currentQuery!==n||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();let i=this.computeRefetchInterval();o&&(this.currentQuery!==n||this.options.enabled!==r.enabled||i!==this.currentRefetchInterval)&&this.updateRefetchInterval(i)}getOptimisticResult(e){let t=this.client.getQueryCache().build(this.client,e),r=this.createResult(t,e);return e.keepPreviousData||(void 0!==e.placeholderData?!r.isPlaceholderData:(0,s.VS)(this.getCurrentResult(),r))||(this.currentResult=r,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),r}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(r=>{Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),e[r])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(s.ZT)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),s.sk||this.currentResult.isStale||!(0,s.PN)(this.options.staleTime))return;let e=(0,s.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e+1)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!s.sk&&!1!==this.options.enabled&&(0,s.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||u.j.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let r;let n=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,l=this.currentResultOptions,u=e!==n,c=u?e.state:this.currentQueryInitialState,p=u?this.currentResult:this.previousQueryResult,{state:h}=e,{dataUpdatedAt:y,error:v,errorUpdatedAt:b,fetchStatus:w,status:E}=h,x=!1,S=!1;if(t._optimisticResults){let r=this.hasListeners(),i=!r&&f(e,t),a=r&&m(e,n,t,o);(i||a)&&(w=(0,d.Kw)(e.options.networkMode)?"fetching":"paused",y||(E="loading")),"isRestoring"===t._optimisticResults&&(w="idle")}if(t.keepPreviousData&&!h.dataUpdatedAt&&null!=p&&p.isSuccess&&"error"!==E)r=p.data,y=p.dataUpdatedAt,E=p.status,x=!0;else if(t.select&&void 0!==h.data){if(i&&h.data===(null==a?void 0:a.data)&&t.select===this.selectFn)r=this.selectResult;else try{this.selectFn=t.select,r=t.select(h.data),r=(0,s.oE)(null==i?void 0:i.data,r,t),this.selectResult=r,this.selectError=null}catch(e){this.selectError=e}}else r=h.data;if(void 0!==t.placeholderData&&void 0===r&&"loading"===E){let e;if(null!=i&&i.isPlaceholderData&&t.placeholderData===(null==l?void 0:l.placeholderData))e=i.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(E="success",r=(0,s.oE)(null==i?void 0:i.data,e,t),S=!0)}this.selectError&&(v=this.selectError,r=this.selectResult,b=Date.now(),E="error");let C="fetching"===w,O="loading"===E,T="error"===E;return{status:E,fetchStatus:w,isLoading:O,isSuccess:"success"===E,isError:T,isInitialLoading:O&&C,data:r,dataUpdatedAt:y,error:v,errorUpdatedAt:b,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>c.dataUpdateCount||h.errorUpdateCount>c.errorUpdateCount,isFetching:C,isRefetching:C&&!O,isLoadingError:T&&0===h.dataUpdatedAt,isPaused:"paused"===w,isPlaceholderData:S,isPreviousData:x,isRefetchError:T&&0!==h.dataUpdatedAt,isStale:g(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){let t=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,s.VS)(r,t))return;this.currentResult=r;let n={cache:!0};(null==e?void 0:e.listeners)!==!1&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;if("all"===r||!r&&!this.trackedProps.size)return!0;let n=new Set(null!=r?r:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some(e=>this.currentResult[e]!==t[e]&&n.has(e))})()&&(n.listeners=!0),this.notify({...n,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||(0,d.DV)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){l.V.batch(()=>{var t,r,n,o,i,a,s,l;e.onSuccess?(null==(t=(r=this.options).onSuccess)||t.call(r,this.currentResult.data),null==(n=(o=this.options).onSettled)||n.call(o,this.currentResult.data,null)):e.onError&&(null==(i=(a=this.options).onError)||i.call(a,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function f(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)||e.state.dataUpdatedAt>0&&h(e,t,t.refetchOnMount)}function h(e,t,r){if(!1!==t.enabled){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&g(e,t)}return!1}function m(e,t,r,n){return!1!==r.enabled&&(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status)&&g(e,r)}function g(e,t){return e.isStaleByTime(t.staleTime)}let y=r(61688).useSyncExternalStore,v=o.createContext((n=!1,{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n})),b=()=>o.useContext(v),w=o.createContext(!1),E=()=>o.useContext(w);w.Provider;let x=(e,t)=>{(e.suspense||e.useErrorBoundary)&&!t.isReset()&&(e.retryOnMount=!1)},S=e=>{o.useEffect(()=>{e.clearReset()},[e])},C=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>{var o;return e.isError&&!t.isReset()&&!e.isFetching&&(o=[e.error,n],"function"==typeof r?r(...o):!!r)},O=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},T=(e,t)=>e.isLoading&&e.isFetching&&!t,D=(e,t,r)=>(null==e?void 0:e.suspense)&&T(t,r),P=(e,t,r)=>t.fetchOptimistic(e).then(({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)}).catch(t=>{r.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)});var A=e=>{var t;let[r,n]=(0,o.useState)(()=>e.getKey()),u=(0,a.NL)();return(0,o.useEffect)(()=>(e.onUpdate(()=>{n(e.getKey())}),()=>{u.cancelQueries({queryKey:e.getKey(),exact:!0}),e.destroy()}),[e,u]),t={queryKey:r,queryFn:t=>e.run({signal:t.signal}).catch(e=>e instanceof i.Z?u.cancelQueries({queryKey:t.queryKey,exact:!0}).then(()=>null):Promise.reject(e)),refetchOnMount:!1,enabled:e.isEnabled()},function(e,t){let r=(0,a.NL)({context:e.context}),n=E(),i=b(),s=r.defaultQueryOptions(e);s._optimisticResults=n?"isRestoring":"optimistic",s.onError&&(s.onError=l.V.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=l.V.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=l.V.batchCalls(s.onSettled)),O(s),x(s,i),S(i);let[u]=o.useState(()=>new t(r,s)),c=u.getOptimisticResult(s);if(y(o.useCallback(e=>{let t=n?()=>void 0:u.subscribe(l.V.batchCalls(e));return u.updateResult(),t},[u,n]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),o.useEffect(()=>{u.setOptions(s,{listeners:!1})},[s,u]),D(s,c,n))throw P(s,u,i);if(C({result:c,errorResetBoundary:i,useErrorBoundary:s.useErrorBoundary,query:u.getCurrentQuery()}))throw c.error;return s.notifyOnChangeProps?c:u.trackResult(c)}((0,s._v)(t,void 0,void 0),p)}},42576:function(e,t,r){"use strict";var n=r(67294),o=r(65077);t.Z=()=>(0,n.useContext)(o.Z)},23423:function(e,t,r){"use strict";r.d(t,{Z:function(){return E}});var n=r(67294),o=r(42576);function i(){return(i=Object.assign||function(e){for(var t=1;t=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(r=o.get(t.target))||r.forEach(function(e){e(i,t)})})},e);n=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:i,elements:o},s.set(t,r)}return r}(r),a=i.id,d=i.observer,p=i.elements,f=p.get(e)||[];return p.has(e)||p.set(e,f),f.push(t),d.observe(e),function(){f.splice(f.indexOf(t),1),0===f.length&&(p.delete(e),d.unobserve(e)),0===p.size&&(d.disconnect(),s.delete(a))}}var p=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function f(e){return"function"!=typeof e.children}var h=function(e){function t(t){var r;return(r=e.call(this,t)||this).node=null,r._unobserveCb=null,r.handleNode=function(e){!r.node||(r.unobserve(),e||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=e||null,r.observeNode()},r.handleChange=function(e,t){e&&r.props.triggerOnce&&r.unobserve(),f(r.props)||r.setState({inView:e,entry:t}),r.props.onChange&&r.props.onChange(e,t)},r.state={inView:!!t.initialInView,entry:void 0},r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e);var r=t.prototype;return r.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},r.componentWillUnmount=function(){this.unobserve(),this.node=null},r.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,r=e.root,n=e.rootMargin,o=e.trackVisibility,i=e.delay,a=e.fallbackInView;this._unobserveCb=d(this.node,this.handleChange,{threshold:t,root:r,rootMargin:n,trackVisibility:o,delay:i},a)}},r.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},r.render=function(){if(!f(this.props)){var e=this.state,t=e.inView,r=e.entry;return this.props.children({inView:t,entry:r,ref:this.handleNode})}var o=this.props,a=o.children,s=o.as,l=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(o,p);return n.createElement(s||"div",i({ref:this.handleNode},l),a)},t}(n.Component);h.displayName="InView",h.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1};var m=r(22694),g=r(69372),y=r(28224),v=()=>(0,o.Z)().query;let b=(e,t)=>{if(!t)return;let r=t.getLastResponse(),n=r?.content||[];e({type:m.Z.WIDGET_APPEAR,payload:{items:n.map(({id:e,source_id:t})=>({id:e,sourceId:t})),request:(0,g.d)(t)}})};var w=()=>{var e,t,r,i,a,s,l,u,c,p,f,h,m,g,w,E,x;let{dispatch:S}=(0,y.Z)(),{options:{visibility:C={}}={}}=(0,o.Z)(),O=v(),T=O.getLastResponse(),{triggerOnce:D=!0}=C,P=(0,n.useRef)(!0),{ref:A,inView:k,entry:R}=(r=(t={...C,triggerOnce:D}).threshold,i=t.delay,a=t.trackVisibility,s=t.rootMargin,l=t.root,u=t.triggerOnce,c=t.skip,p=t.initialInView,f=t.fallbackInView,h=n.useRef(),g=(m=n.useState({inView:!!p}))[0],w=m[1],E=n.useCallback(function(e){void 0!==h.current&&(h.current(),h.current=void 0),!c&&e&&(h.current=d(e,function(e,t){w({inView:e,entry:t}),t.isIntersecting&&u&&h.current&&(h.current(),h.current=void 0)},{root:l,rootMargin:s,threshold:r,trackVisibility:a,delay:i},f))},[Array.isArray(r)?r.toString():r,l,s,u,c,a,f,i]),(0,n.useEffect)(function(){h.current||!g.entry||u||c||w({inView:!!p})}),(x=[E,g.inView,g.entry]).ref=x[0],x.inView=x[1],x.entry=x[2],x),I=(0,n.useCallback)(()=>{b(S,O)},[S]);return(0,n.useEffect)(()=>{P.current&&k&&T&&(P.current=!D,b(S,O))},[S,k,R,D,T]),{ref:A,inView:k,entry:R,trigger:I}},E=()=>{let{options:e}=(0,o.Z)(),{visibility:{onInView:t,onUpdate:r}={}}=e,{ref:i,inView:a,entry:s}=w();return(0,n.useEffect)(()=>{a&&t&&t(s),r&&r(a,s)},[a,s,r,t]),i}},35064:function(e,t,r){"use strict";var n=r(67294),o=r(22694),i=r(12237),a=r(28224),s=r(42576);let l=(e,t)=>{let r={};for(let n in e)"request"!==n&&"response"!==n&&Object.defineProperty(r,n,{get:()=>(t[n]=!0,e[n])});return r},u=(e,t)=>{let r=Object.fromEntries(Object.entries(e).filter(([e])=>t[e]));return 0===Object.keys(r).length?null:r};t.Z=()=>{let e=(0,s.Z)(),{rfkId:t,instanceId:r}=(0,a.Z)(),[c,d]=(0,n.useState)(e.state),p=(0,n.useRef)({});return(0,n.useEffect)(()=>{let e={handleAction(e){if(e.type===o.Z.WIDGET_STATE_CHANGED){let{rfkId:n,instanceId:o=null,state:i}=e.payload;if(n===t&&r===o){let e=u(i,p.current);e&&d(t=>({...t,...e}))}}}};return i.ZP.register(e),()=>i.ZP.unregister(e)},[t,r]),l(c,p.current)}},69372:function(e,t,r){"use strict";r.d(t,{d:function(){return n}});let n=e=>{let t=e.getRequest().getSearchLimit()?e.getRequest().getSearchLimit():e.getLastResponse()?.limit,r=t?Math.floor((e.getRequest().getSearchOffset()||0)/t+1):0;return{keyword:e.getRequest().getSearchQueryKeyphrase()||"",pageNumber:isNaN(r)?void 0:r,pageSize:t,numRequested:t,numResults:e.getLastResponse()?.content?.length,totalResults:e.getLastResponse()?.total_item}}},99131:function(e,t,r){"use strict";var n=r(28224),o=r(26666),i=r(42576),a=r(23423),s=r(35064);t.Z=function(e){let{rfkId:t,dispatch:r}=(0,n.Z)(),l=(0,i.Z)();l.isInitialized()||l.initialize(e||{});let{query:u,options:c,actions:d}=l,p=(0,s.Z)(),f=(0,o.Z)(u);return{widgetRef:(0,a.Z)(),rfkId:t,state:p,queryResult:f,actions:d,options:c,dispatch:r,query:u}}},4687:function(e,t,r){"use strict";var n=r(67294),o=r(23668),i=r(99131);t.Z=({initializer:e})=>{let{rfkId:t,widgetRef:r,queryResult:{data:{appearance:{css_names:a=[],templates:{html:{devices:{[o.qi.DESKTOP]:{content:s=null}={}}={}}={},css:{devices:{[o.qi.DESKTOP]:{content:l=null}={}}={}}={}}={}}={}}={}}}=(0,i.Z)({query:e||(()=>{})}),u=(0,n.useRef)(null);return(0,n.useLayoutEffect)(()=>{if(u.current&&l){var e;let r;e=u.current,(r=document.querySelector(`[data-rfk-id-style=${t}]`))||((r=document.createElement("style")).setAttribute("type","text/css"),r.dataset.rfkIdStyle=t,e.parentNode?.appendChild(r)),r.innerHTML=l}return()=>{!function(e){let t=document.querySelector(`[data-rfk-id-style=${e}]`);t&&t.remove()}(t)}},[t,l]),(0,n.useLayoutEffect)(()=>{u.current&&s&&(u.current.innerHTML=s)},[s]),(0,n.createElement)("div",{ref:r,"data-rfkid":t,className:a.join(" ")},(0,n.createElement)("div",{ref:u}))}},45299:function(e,t,r){"use strict";var n=r(67294),o=r(23668),i=r(99131);t.Z=()=>{let{queryResult:{data:{appearance:{templates:{html:{devices:{[o.qi.DESKTOP]:{content:e=null}={}}={}}={}}={}}={}}={}}}=(0,i.Z)();return(0,n.useLayoutEffect)(()=>{e&&document.head.insertAdjacentHTML("afterbegin",e)},[e]),null}},12239:function(e,t,r){"use strict";r.d(t,{Z:function(){return en}});var n=r(26448),o=r(22694),i=r(30302),a=r(70196);let s=async(e,t,{index:r,items:o,...s})=>{if(!e){n.Yd.warn("trackEvent :::","Widget's rfkId mandatory field is empty");return}return await (0,a.up)(e,t,{actionCause:"entity",index:r,request:(0,i.fk)(s),items:o})},l=async(e,t,{index:r,filters:o,...s})=>{if(!e){n.Yd.warn("trackEvent :::","Widget's rfkId mandatory field is empty");return}if(o&&!(0,i.Ye)(o)){n.Yd.warn("trackEvent :::","Filter's name is not defined");return}return await (0,a.dr)(e,t,{index:r,request:(0,i.fk)(s),filters:(0,i.UW)(o)})};var u=r(85007),c=r(28224),d=r(26666),p=r(42576),f=r(67294),h=r(12237);let m=(e,t)=>{let r=(0,f.useRef)(t),n=(0,f.useRef)(e);return r.current!==t&&(r.current.length!==t.length||r.current.some((e,r)=>e!==t[r]))&&(r.current=t,n.current=e),n};var g=(e,t)=>{let{rfkId:r,instanceId:n}=(0,c.Z)(),o=m(e,t);(0,f.useEffect)(()=>{let e={handleAction(e){let{rfkId:t,instanceId:i}=e.payload;t&&(t!==r||i!==n)||o.current(e)}};return h.ZP.register(e),()=>h.ZP.unregister(e)},[r,n,o])};let y=(e,t)=>{switch(t.type){case o.Z.WIDGET_DATA_REQUEST_SUCCESS:{let{response:r}=t.payload;return{...e,response:r}}case o.Z.WIDGET_DATA_REQUEST:{let{request:r}=t.payload;return{...e,request:r}}default:return e}};var v=(e,t)=>{let r=(0,p.Z)(),{rfkId:n,instanceId:o}=(0,c.Z)(),i=m(e,t);(0,f.useEffect)(()=>{let e={handleAction(e){let{rfkId:t,instanceId:a=null}=e.payload;if(t===n&&o===a){let t=i.current(y(r.state,e),e);t!==r.state&&r.updateState(t)}}};return h.ZP.register(e),()=>h.ZP.unregister(e)},[n,o,r,i])},b=r(23423),w=r(35064),E=r(69372);class x{static buildItem(e,t){let{facetId:r,facetValueId:n,type:o,facetValueText:i}=t;if("text"===o){if(i)return{type:"eq",value:i};let{facet:t=[]}=e.getLastResponse()||{},{value:o=[]}=t.find(({name:e})=>e===r)||{};return{type:"eq",value:o.find(({id:e})=>e===n)?.text||""}}return n}}class S{getCurrentFacetInfo(e,t){let{facetId:r}=t,{facet:n=[]}=e.getLastResponse()||{},{value:o=[],label:i=""}=n.find(({name:e})=>e===r)||{};return{facetValues:o,facetTitle:i}}}class C extends S{process(e,t,r){let{facetId:n,facetValueId:o,facetIndex:i,facetValueIndex:a,silentTracking:s,checked:u}=r,{facetValues:c,facetTitle:d}=this.getCurrentFacetInfo(t,r),p=c.find(({id:e})=>e===o)?.text||"";s||l(e,t.getRequest().getEntity(),{filters:[{facetId:n,facetValueId:o,facetValue:p,valueIndex:a,facetIndex:i,facetTitle:d}],...(0,E.d)(t)}),t.getRequest().setSearchOffset(0),u?t.getRequest().addSearchFacetTypeFilter(n,x.buildItem(t,r)):t.getRequest().removeSearchFacetTypeFilter(n,x.buildItem(t,r))}}class O extends S{process(e,t,r){let{facetId:n,min:o,max:i,facetIndex:a,silentTracking:s}=r;if(t.getRequest().resetSearchFacetTypeFilter(n),void 0!==o||void 0!==i){t.getRequest().addSearchFacetTypeFilter(n,{value:o,type:"gte"},"and"),t.getRequest().addSearchFacetTypeFilter(n,{value:i,type:"lte"},"and");let{facetTitle:u}=this.getCurrentFacetInfo(t,r);s||l(e,t.getRequest().getEntity(),{filters:[{facetId:n,...void 0!==o?{startValue:o.toString()}:{},...void 0!==i?{endValue:i.toString()}:{},facetValue:`${o} - ${i}`,valueIndex:0,facetIndex:a,facetTitle:u}]})}}}let T=new C,D={range:new O,valueId:T,text:T};var P=function(e,t){let{type:r,rfkId:o}=t,i=D[r];i?i.process(o,e,t):n.Yd.warn(`${r} has not a valid action handler`)};class A{}var k=A;class R extends k{process(e,t){let{facetId:r}=t;e.getRequest().removeSearchFacetTypeFilter(r,x.buildItem(e,t))}}class I extends k{process(e,t){let{facetId:r}=t;e.getRequest().resetSearchFacetTypeFilter(r)}}let _=new R,N={range:new I,valueId:_,text:_};var L=function(e,t){let{type:r}=t,o=N[r];o?o.process(e,t):n.Yd.warn(`${r} has not a valid action handler`)},M=r(75045);class j{run(e,t){if("min"in t||"max"in t){let{min:r,max:n,facetId:o}=t;return e.getRequest().addSearchFacetTypeFilter(o,{value:r,type:"gte"},"and").addSearchFacetTypeFilter(o,{value:n,type:"lte"},"and"),!0}return n.Yd.error("Type range expected properties min or max to be present on the initial state for selected facets. Since none of them has been provided, initializer will not run."),!1}}class F{run(e,t){if("facetValueId"in t){let{facetId:r,facetValueId:n}=t;return e.getRequest().addSearchFacetTypeFilter(r,n),!0}return n.Yd.error("Type valueId expected property facetValueId to be present on the initial state for selected facets. Since it has not been provided, initializer will not run."),!1}}class B{run(e,t){if("facetValueText"in t){let{facetId:r,facetValueText:n}=t;return e.getRequest().addSearchFacetTypeFilter(r,{value:n,type:"eq"}),!0}return n.Yd.error("Type text expected property facetValueText to be present on the initial state for selected facets. Since it has not been provided, initializer will not run."),!1}}let Z={range:new j,valueId:new F,text:new B};var V=e=>{let{query:t,state:{selectedFacets:r=[]},config:o={}}=e;r.forEach(e=>{let r=(0,M.aJ)(o,e.facetId),i=Z[r];if(!i)return n.Yd.warn(`Facet type ${r} is not supported.`);i.run(t,e)})};class q{process(e,t,r){let{facetId:n,min:o,max:i}=r,a=e.findIndex(e=>e.facetId===n),s=[...e],l=(0,M.Qh)(t,n);return a>-1?s[a]={...s[a],min:o,max:i,facetLabel:l?l.label:s[a].facetLabel}:s.push({min:o,max:i,facetId:n,facetLabel:l?l.label:""}),s}}class U{process(e,t,r){let{facetId:n,facetValueId:o,checked:i}=r,a=this.findPreviousValueIndex(e,n,o,t);if(!i&&a>-1)return e.filter((e,t)=>t!==a);let s=[...e],l=(0,M.Qh)(t,n),u=(0,M.rm)(t,n,o);return i&&-1===a&&s.push(this.buildNewItem(l,u,n,o)),s}}class z extends U{findPreviousValueIndex(e,t,r,n){return(0,M.BN)(e,t,r,n)}buildNewItem(e,t,r,n){return{facetId:r,facetValueId:n,facetValueText:t?.text,facetLabel:e?e.label:"",valueLabel:t?t.text:""}}}class $ extends U{buildNewItem(e,t,r,n){return{facetId:r,facetValueId:n,facetLabel:e?e.label:"",valueLabel:t?t.text:""}}findPreviousValueIndex(e,t,r){return(0,M.WX)(e,t,r)}}let H={range:new q,valueId:new $,text:new z};var G=(e,t)=>{let{selectedFacets:r=[],response:o}=e,{type:i}=t,a=H[i];return a?{...e,page:1,selectedFacets:a.process(r,o,t)}:(n.Yd.warn(`${i} has not a valid action reducer. No reduce transformation applied.`),{...e,selectedFacets:r})};class W{process(e,t){return e.filter(e=>e.facetId!==t.facetId)}}class K{process(e,t){let r=(0,M.WX)(e,t.facetId,t.facetValueId);return e.filter((e,t)=>t!==r)}}class Y{process(e,t,r){let{facetId:n,facetValueText:o}=t,i=e.findIndex(e=>e.facetId===n&&e.facetValueText===o);return e.filter((e,t)=>t!==i)}}let Q={valueId:new K,range:new W,text:new Y};var J=(e,t)=>{let{selectedFacets:r=[],response:o}=e,{type:i}=t,a=Q[i];return a?{...e,page:1,selectedFacets:a.process(r,t,o)}:(n.Yd.warn(`${i} has not a valid reducer for REMOVE_FILTER action. No reduce transformation applied.`),{...e,page:1})};let X=(e,t)=>e.some(e=>{if(!e.facetLabel)return!0;let r=(0,M.Qh)(t,e.facetId),n=r?.value?.find(t=>M.mV(t,e));return!!(n&&n.text&&!e.valueLabel)}),ee=(e,t)=>{let r=t.value.find(t=>(0,M.mV)(t,e));return{...e,facetValueId:r?r.id:e.facetValueId,facetLabel:t.label||e.facetLabel,valueLabel:r?r.text:e.valueLabel}};var et=e=>{let{selectedFacets:t=[],response:r}=e;return X(t,r)?{...e,selectedFacets:t.map(e=>{let t=(0,M.Qh)(r,e.facetId);return t?ee(e,t):e})}:e};let er=(e,t)=>{switch(t.type){case o.Z.WIDGET_DATA_REQUEST_SUCCESS:return et(e);case u.e.FILTER_CLICKED:case u.e.REMOVE_FILTER:return J(e,t.payload);case u.e.FACET_CLICKED:return G(e,t.payload);case u.e.SORT_CHANGED:return{...e,page:1,sortType:t.payload.name};case u.e.PAGE_NUMBER_CHANGED:return{...e,page:t.payload.page};case u.e.RESULTS_PER_PAGE_CHANGED:return{...e,page:1,itemsPerPage:t.payload.numItems};case u.e.KEYPHRASE_CHANGED:return{...e,page:1,keyphrase:t.payload.keyphrase,selectedFacets:[]};case u.e.CLEAR_FILTERS:return{...e,page:1,selectedFacets:[]};default:return e}};var en=function(e){let{rfkId:t,dispatch:r}=(0,c.Z)(),o=(0,p.Z)();o.isInitialized()||(o.initialize(e||{}),V(o));let{query:i,options:a,actions:l}=o,f=(0,w.Z)(),h=(0,d.Z)(i),m=(0,b.Z)();return v(er,[]),g(e=>{switch(e.type){case u.e.FACET_CLICKED:P(i,e.payload);break;case u.e.FILTER_CLICKED:case u.e.REMOVE_FILTER:L(i,e.payload);break;case u.e.ITEM_CLICKED:{let{index:r,id:n,entity:o,sourceId:a}=e.payload;s(t,o,{index:r,items:[{id:n,sourceId:a}],...(0,E.d)(i)});break}case u.e.SORT_CHANGED:i.getRequest().resetSearchSortCriteria().setSearchSortCriteriaName(e.payload.name).setSearchOffset(0);break;case u.e.PAGE_NUMBER_CHANGED:{let r=i.getRequest().getSearchLimit()??i.getLastResponse()?.limit;void 0===r?n.Yd.warn(`Widget "${t}" has triggered a onPageNumberChanged action and there is no itemsPerPage state or query search limit defined`):i.getRequest().setSearchOffset(r*(e.payload.page-1));break}case u.e.RESULTS_PER_PAGE_CHANGED:i.getRequest().setSearchLimit(e.payload.numItems).setSearchOffset(0);break;case u.e.KEYPHRASE_CHANGED:i.getRequest().resetSearchFacetTypeFilters().setSearchOffset(0),e.payload.keyphrase?i.getRequest().setSearchQueryKeyphrase(e.payload.keyphrase):i.getRequest().resetSearchQueryKeyphrase();break;case u.e.CLEAR_FILTERS:i.getRequest().resetSearchFacetTypeFilters().setSearchOffset(0)}},[t,i]),{widgetRef:m,rfkId:t,state:f,queryResult:h,actions:l,options:a,dispatch:r,query:i}}},45661:function(e,t,r){"use strict";var n=r(42576),o=r(35064),i=r(75045);t.Z=()=>{let{config:e}=(0,n.Z)(),{selectedFacets:t=[]}=(0,o.Z)();return t.map(t=>{let r=(0,i.aJ)(e,t.facetId);return{...t,valueLabel:t.valueLabel||t?.facetValueText||"",type:r}})}},75045:function(e,t,r){"use strict";function n(e,t){return e?.facet?.find(({name:e})=>e===t)}function o(e,t,r){let o=n(e,t);if(o)return o.value.find(({id:e})=>r===e)}function i(e,t){let{facets:r={}}=e,{type:n}=r[t]||{};return n||e.defaultFacetType||"valueId"}r.d(t,{Qh:function(){return n},rm:function(){return o},mV:function(){return a},BN:function(){return l},WX:function(){return s},aJ:function(){return i}});let a=(e,t)=>"facetValueId"in t&&e.id===t.facetValueId||"facetValueText"in t&&e.text===t.facetValueText;function s(e,t,r){return e.findIndex(e=>r&&e.facetId===t&&e.facetValueId===r)}function l(e,t,r,n){if(void 0!==r){let i=o(n,t,r);if(i)return e.findIndex(e=>e.facetId===t&&e.facetValueText===i.text)}return -1}},25769:function(e,t,r){"use strict";r.d(t,{NL:function(){return s},aH:function(){return l}});var n=r(67294);let o=n.createContext(void 0),i=n.createContext(!1);function a(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=o),window.ReactQueryClientContext):o)}let s=({context:e}={})=>{let t=n.useContext(a(e,n.useContext(i)));if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},l=({client:e,children:t,context:r,contextSharing:o=!1})=>{n.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);let s=a(r,o);return n.createElement(i.Provider,{value:!r&&o},n.createElement(s.Provider,{value:e},t))}},69202:function(e,t,r){"use strict";r.d(t,{M5:function(){return tx},VY:function(){return tZ},r$:function(){return tj},h4:function(){return tF},ck:function(){return tq},Bl:function(){return tz},Tq:function(){return t$},CO:function(){return tU},fC:function(){return tM},xz:function(){return tB},Gs:function(){return tV},Sy:function(){return tT}});var n=r(85893),o=r(67294),i=r.t(o,2),a=r(25360);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,n=e.map(e=>{let n=s(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{let{children:r,...n}=e;if(o.isValidElement(r)){let e,i;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,s=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(s.ref=t?l(t,a):a),o.cloneElement(r,s)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=o.forwardRef((e,r)=>{let{children:i,...a}=e,s=o.Children.toArray(i),l=s.find(p);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,n.jsx)(t,{...a,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,i):null})}return(0,n.jsx)(t,{...a,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}var d=Symbol("radix.slottable");function p(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}function f(e){let t=e+"CollectionProvider",[r,i]=(0,a.b)(t),[s,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,i=o.useRef(null),a=o.useRef(new Map).current;return(0,n.jsx)(s,{scope:t,itemMap:a,collectionRef:i,children:r})};d.displayName=t;let p=e+"CollectionSlot",f=c(p),h=o.forwardRef((e,t)=>{let{scope:r,children:o}=e,i=u(t,l(p,r).collectionRef);return(0,n.jsx)(f,{ref:i,children:o})});h.displayName=p;let m=e+"CollectionItemSlot",g="data-radix-collection-item",y=c(m),v=o.forwardRef((e,t)=>{let{scope:r,children:i,...a}=e,s=o.useRef(null),c=u(t,s),d=l(m,r);return o.useEffect(()=>(d.itemMap.set(s,{ref:s,...a}),()=>void d.itemMap.delete(s))),(0,n.jsx)(y,{[g]:"",ref:c,children:i})});return v.displayName=m,[{Provider:d,Slot:h,ItemSlot:v},function(t){let r=l(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}function h(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function m(...e){return t=>{let r=!1,n=e.map(e=>{let n=h(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{let r=function(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){let e,i;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,s=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(s.ref=t?m(t,a):a),o.cloneElement(r,s)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=o.forwardRef((e,r)=>{let{children:i,...a}=e,s=o.Children.toArray(i),l=s.find(b);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,n.jsx)(t,{...a,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,i):null})}return(0,n.jsx)(t,{...a,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}(`Primitive.${t}`),i=o.forwardRef((e,o)=>{let{asChild:i,...a}=e,s=i?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(s,{...a,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),E=r(9981);function x(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function S(...e){return t=>{let r=!1,n=e.map(e=>{let n=x(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{let r=function(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){let e,i;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,s=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(s.ref=t?S(t,a):a),o.cloneElement(r,s)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=o.forwardRef((e,r)=>{let{children:i,...a}=e,s=o.Children.toArray(i),l=s.find(O);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,n.jsx)(t,{...a,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,i):null})}return(0,n.jsx)(t,{...a,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}(`Primitive.${t}`),i=o.forwardRef((e,o)=>{let{asChild:i,...a}=e,s=i?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(s,{...a,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),D=r(49858),P=i[" useId ".trim().toString()]||(()=>void 0),A=0;function k(e){let[t,r]=o.useState(P());return(0,E.b)(()=>{e||r(e=>e??String(A++))},[e]),e||(t?`radix-${t}`:"")}var R="Collapsible",[I,_]=(0,a.b)(R),[N,L]=I(R),M=o.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:i,defaultOpen:a,disabled:s,onOpenChange:l,...u}=e,[c,d]=(0,y.T)({prop:i,defaultProp:a??!1,onChange:l,caller:R});return(0,n.jsx)(N,{scope:r,disabled:s,contentId:k(),open:c,onOpenToggle:o.useCallback(()=>d(e=>!e),[d]),children:(0,n.jsx)(T.div,{"data-state":q(c),"data-disabled":s?"":void 0,...u,ref:t})})});M.displayName=R;var j="CollapsibleTrigger",F=o.forwardRef((e,t)=>{let{__scopeCollapsible:r,...o}=e,i=L(j,r);return(0,n.jsx)(T.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":q(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...o,ref:t,onClick:g(e.onClick,i.onOpenToggle)})});F.displayName=j;var B="CollapsibleContent",Z=o.forwardRef((e,t)=>{let{forceMount:r,...o}=e,i=L(B,e.__scopeCollapsible);return(0,n.jsx)(D.z,{present:r||i.open,children:({present:e})=>(0,n.jsx)(V,{...o,ref:t,present:e})})});Z.displayName=B;var V=o.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:i,children:a,...s}=e,l=L(B,r),[u,c]=o.useState(i),d=o.useRef(null),p=function(...e){return o.useCallback(S(...e),e)}(t,d),f=o.useRef(0),h=f.current,m=o.useRef(0),g=m.current,y=l.open||u,v=o.useRef(y),b=o.useRef(void 0);return o.useEffect(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,E.b)(()=>{let e=d.current;if(e){b.current=b.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();f.current=t.height,m.current=t.width,v.current||(e.style.transitionDuration=b.current.transitionDuration,e.style.animationName=b.current.animationName),c(i)}},[l.open,i]),(0,n.jsx)(T.div,{"data-state":q(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!y,...s,ref:p,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:y&&a})});function q(e){return e?"open":"closed"}var U=o.createContext(void 0),z="Accordion",$=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[H,G,W]=f(z),[K,Y]=(0,a.b)(z,[W,_]),Q=_(),J=o.forwardRef((e,t)=>{let{type:r,...o}=e;return(0,n.jsx)(H.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,n.jsx)(eo,{...o,ref:t}):(0,n.jsx)(en,{...o,ref:t})})});J.displayName=z;var[X,ee]=K(z),[et,er]=K(z,{collapsible:!1}),en=o.forwardRef((e,t)=>{let{value:r,defaultValue:i,onValueChange:a=()=>{},collapsible:s=!1,...l}=e,[u,c]=(0,y.T)({prop:r,defaultProp:i??"",onChange:a,caller:z});return(0,n.jsx)(X,{scope:e.__scopeAccordion,value:o.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:o.useCallback(()=>s&&c(""),[s,c]),children:(0,n.jsx)(et,{scope:e.__scopeAccordion,collapsible:s,children:(0,n.jsx)(es,{...l,ref:t})})})}),eo=o.forwardRef((e,t)=>{let{value:r,defaultValue:i,onValueChange:a=()=>{},...s}=e,[l,u]=(0,y.T)({prop:r,defaultProp:i??[],onChange:a,caller:z}),c=o.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=o.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,n.jsx)(X,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:d,children:(0,n.jsx)(et,{scope:e.__scopeAccordion,collapsible:!0,children:(0,n.jsx)(es,{...s,ref:t})})})}),[ei,ea]=K(z),es=o.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:i,dir:a,orientation:s="vertical",...l}=e,u=function(...e){return o.useCallback(m(...e),e)}(o.useRef(null),t),c=G(r),d="ltr"===function(e){let t=o.useContext(U);return e||t||"ltr"}(a),p=g(e.onKeyDown,e=>{if(!$.includes(e.key))return;let t=e.target,r=c().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),o=r.length;if(-1===n)return;e.preventDefault();let i=n,a=o-1,l=()=>{(i=n+1)>a&&(i=0)},u=()=>{(i=n-1)<0&&(i=a)};switch(e.key){case"Home":i=0;break;case"End":i=a;break;case"ArrowRight":"horizontal"===s&&(d?l():u());break;case"ArrowDown":"vertical"===s&&l();break;case"ArrowLeft":"horizontal"===s&&(d?u():l());break;case"ArrowUp":"vertical"===s&&u()}let p=i%o;r[p].ref.current?.focus()});return(0,n.jsx)(ei,{scope:r,disabled:i,direction:a,orientation:s,children:(0,n.jsx)(H.Slot,{scope:r,children:(0,n.jsx)(w.div,{...l,"data-orientation":s,ref:u,onKeyDown:i?void 0:p})})})}),el="AccordionItem",[eu,ec]=K(el),ed=o.forwardRef((e,t)=>{let{__scopeAccordion:r,value:o,...i}=e,a=ea(el,r),s=ee(el,r),l=Q(r),u=k(),c=o&&s.value.includes(o)||!1,d=a.disabled||e.disabled;return(0,n.jsx)(eu,{scope:r,open:c,disabled:d,triggerId:u,children:(0,n.jsx)(M,{"data-orientation":a.orientation,"data-state":ev(c),...l,...i,ref:t,disabled:d,open:c,onOpenChange:e=>{e?s.onItemOpen(o):s.onItemClose(o)}})})});ed.displayName=el;var ep="AccordionHeader",ef=o.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,i=ea(z,r),a=ec(ep,r);return(0,n.jsx)(w.h3,{"data-orientation":i.orientation,"data-state":ev(a.open),"data-disabled":a.disabled?"":void 0,...o,ref:t})});ef.displayName=ep;var eh="AccordionTrigger",em=o.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,i=ea(z,r),a=ec(eh,r),s=er(eh,r),l=Q(r);return(0,n.jsx)(H.ItemSlot,{scope:r,children:(0,n.jsx)(F,{"aria-disabled":a.open&&!s.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...l,...o,ref:t})})});em.displayName=eh;var eg="AccordionContent",ey=o.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,i=ea(z,r),a=ec(eg,r),s=Q(r);return(0,n.jsx)(Z,{role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation,...s,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ev(e){return e?"open":"closed"}function eb(...e){return o.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}function ew(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...e)=>t.current?.(...e),[])}function eE(e){let[t,r,n]=f(e+"CollectionIndex");return[t,function(e,t){let n=r(t);return o.useCallback(()=>n().findIndex(({ref:t})=>t.current===e.current),[n,e])},n]}function ex(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function eS(...e){return t=>{let r=!1,n=e.map(e=>{let n=ex(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{let r=function(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){let e,i;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,s=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(s.ref=t?eS(t,a):a),o.cloneElement(r,s)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=o.forwardRef((e,r)=>{let{children:i,...a}=e,s=o.Children.toArray(i),l=s.find(eT);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,n.jsx)(t,{...a,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,i):null})}return(0,n.jsx)(t,{...a,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}(`Primitive.${t}`),i=o.forwardRef((e,o)=>{let{asChild:i,...a}=e,s=i?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(s,{...a,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),eP="Checkbox",[eA,ek]=(0,a.b)(eP),[eR,eI]=eA(eP);function e_(e){let{__scopeCheckbox:t,checked:r,children:i,defaultChecked:a,disabled:s,form:l,name:u,onCheckedChange:c,required:d,value:p="on",internal_do_not_use_render:f}=e,[h,m]=(0,y.T)({prop:r,defaultProp:a??!1,onChange:c,caller:eP}),[g,v]=o.useState(null),[b,w]=o.useState(null),E=o.useRef(!1),x=!g||!!l||!!g.closest("form"),S={checked:h,disabled:s,setChecked:m,control:g,setControl:v,name:u,form:l,value:p,hasConsumerStoppedPropagationRef:E,required:d,defaultChecked:!eV(a)&&a,isFormControl:x,bubbleInput:b,setBubbleInput:w};return(0,n.jsx)(eR,{scope:t,...S,children:"function"==typeof f?f(S):i})}var eN="CheckboxTrigger",eL=o.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:r,...i},a)=>{let{control:s,value:l,disabled:u,checked:c,required:d,setControl:p,setChecked:f,hasConsumerStoppedPropagationRef:h,isFormControl:m,bubbleInput:y}=eI(eN,e),v=eC(a,p),b=o.useRef(c);return o.useEffect(()=>{let e=s?.form;if(e){let t=()=>f(b.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[s,f]),(0,n.jsx)(eD.button,{type:"button",role:"checkbox","aria-checked":eV(c)?"mixed":c,"aria-required":d,"data-state":eq(c),"data-disabled":u?"":void 0,disabled:u,value:l,...i,ref:v,onKeyDown:g(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:g(r,e=>{f(e=>!!eV(e)||!e),y&&m&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})})});eL.displayName=eN;var eM=o.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:o,checked:i,defaultChecked:a,required:s,disabled:l,value:u,onCheckedChange:c,form:d,...p}=e;return(0,n.jsx)(e_,{__scopeCheckbox:r,checked:i,defaultChecked:a,disabled:l,required:s,onCheckedChange:c,name:o,form:d,value:u,internal_do_not_use_render:({isFormControl:e})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eL,{...p,ref:t,__scopeCheckbox:r}),e&&(0,n.jsx)(eZ,{__scopeCheckbox:r})]})})});eM.displayName=eP;var ej="CheckboxIndicator",eF=o.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:o,...i}=e,a=eI(ej,r);return(0,n.jsx)(D.z,{present:o||eV(a.checked)||!0===a.checked,children:(0,n.jsx)(eD.span,{"data-state":eq(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});eF.displayName=ej;var eB="CheckboxBubbleInput",eZ=o.forwardRef(({__scopeCheckbox:e,...t},r)=>{let{control:i,hasConsumerStoppedPropagationRef:a,checked:s,defaultChecked:l,required:u,disabled:c,name:d,value:p,form:f,bubbleInput:h,setBubbleInput:m}=eI(eB,e),g=eC(r,m),y=function(e){let t=o.useRef({value:e,previous:e});return o.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(s),v=function(e){let[t,r]=o.useState(void 0);return(0,E.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(i);o.useEffect(()=>{if(!h)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!a.current;if(y!==s&&e){let r=new Event("click",{bubbles:t});h.indeterminate=eV(s),e.call(h,!eV(s)&&s),h.dispatchEvent(r)}},[h,y,s,a]);let b=o.useRef(!eV(s)&&s);return(0,n.jsx)(eD.input,{type:"checkbox","aria-hidden":!0,defaultChecked:l??b.current,required:u,disabled:c,name:d,value:p,form:f,...t,tabIndex:-1,ref:g,style:{...t.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function eV(e){return"indeterminate"===e}function eq(e){return eV(e)?"indeterminate":e?"checked":"unchecked"}function eU(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}eZ.displayName=eB;var ez=Symbol("radix.slottable");function e$(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===ez}var eH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=function(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){let e,i;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,s=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(s.ref=t?function(...e){return t=>{let r=!1,n=e.map(e=>{let n=eU(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=o.forwardRef((e,r)=>{let{children:i,...a}=e,s=o.Children.toArray(i),l=s.find(e$);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,n.jsx)(t,{...a,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,i):null})}return(0,n.jsx)(t,{...a,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}(`Primitive.${t}`),i=o.forwardRef((e,o)=>{let{asChild:i,...a}=e,s=i?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(s,{...a,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),eG=o.forwardRef((e,t)=>(0,n.jsx)(eH.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));eG.displayName="Label";var eW=r(85614);function eK(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var eY=Symbol("radix.slottable");function eQ(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eY}var eJ=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=function(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){let e,i;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,s=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(s.ref=t?function(...e){return t=>{let r=!1,n=e.map(e=>{let n=eK(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=o.forwardRef((e,r)=>{let{children:i,...a}=e,s=o.Children.toArray(i),l=s.find(eQ);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,n.jsx)(t,{...a,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,i):null})}return(0,n.jsx)(t,{...a,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}(`Primitive.${t}`),i=o.forwardRef((e,o)=>{let{asChild:i,...a}=e,s=i?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(s,{...a,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),eX="Toggle",e0=o.forwardRef((e,t)=>{let{pressed:r,defaultPressed:o,onPressedChange:i,...a}=e,[s,l]=(0,y.T)({prop:r,onChange:i,defaultProp:o??!1,caller:eX});return(0,n.jsx)(eJ.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...a,ref:t,onClick:g(e.onClick,()=>{e.disabled||l(!s)})})});e0.displayName=eX;let e1="FacetValueList",[e2,e3,e5]=eE(e1),e4="FacetValueListItem",[e6,e8]=(0,a.b)(e4),[e9,e7]=(0,a.b)(e1,[e5,e8]),[te,tt]=e9(e1),tr=o.forwardRef(({__scopeFacetValueList:e,facetId:t,onFacetClick:r,orientation:o="vertical",...i},a)=>(0,n.jsx)(e2.Provider,{scope:e,children:(0,n.jsx)(te,{scope:e,onFacetClick:r,facetId:t,children:(0,n.jsx)(e2.Slot,{scope:e,children:(0,n.jsx)(eW.WV.ul,{"data-orientation":o,...i,ref:a})})})}));tr.displayName=e1;let[tn,to]=e6(e4),ti=o.forwardRef((e,t)=>{let{__scopeFacetValueList:r,defaultSelected:i,facetValueId:a,selected:s,...l}=e,{facetId:u,onFacetClick:c=()=>{}}=tt(e4,r),d=o.useRef(null),p=eb(t,d),f=e3(d,r),h=ew(e=>{c({facetId:u,facetValueId:a,facetValueIndex:f(),checked:e})}),[m=!1,g]=(0,y.T)({prop:s,defaultProp:i,onChange:h});return(0,n.jsx)(tn,{scope:r,onFacetItemChange:g,selected:m,id:a,children:(0,n.jsx)(e2.ItemSlot,{scope:r,children:(0,n.jsx)(eW.WV.li,{"data-state":m?"selected":"unselected",ref:p,...l})})})});ti.displayName=e4;let ta="FacetValueListItemLabel",ts=o.forwardRef((e,t)=>{let{__scopeFacetValueList:r,...o}=e,{id:i}=to(ta,r);return(0,n.jsx)(eG,{htmlFor:i,...o,ref:t})});ts.displayName=ta;let tl="FacetValueListItemCheckbox",tu=o.forwardRef((e,t)=>{let{__scopeFacetValueList:r,...o}=e,{id:i,selected:a,onFacetItemChange:s}=to(tl,r);return(0,n.jsx)(eM,{checked:a,id:i,onCheckedChange:s,ref:t,...o})});tu.displayName=tl,eF.displayName="FacetValueListItemCheckboxIndicator";let tc="FacetValueListItemToggle",td=o.forwardRef((e,t)=>{let{__scopeFacetValueList:r,...o}=e,{id:i,selected:a,onFacetItemChange:s}=to(tc,r);return(0,n.jsx)(e0,{pressed:a,id:i,onPressedChange:s,ref:t,...o})});td.displayName=tc;let tp="AccordionFacets",[tf,th,tm]=eE(tp),[tg,ty]=(0,a.b)(tp,[Y,tm,e7]),tv=Y(),tb=e7(),[tw,tE]=tg(tp),tx=o.forwardRef((e,t)=>{let{__scopeAccordionFacets:r,defaultFacetTypesExpandedList:o,facetTypesExpandedList:i,onFacetTypesExpandedListChange:a,onFacetValueClick:s=()=>{},...l}=e,u=tv(r);return(0,n.jsx)(tf.Provider,{scope:r,children:(0,n.jsx)(tw,{scope:r,onFacetValueClick:s,children:(0,n.jsx)(tf.Slot,{scope:r,children:(0,n.jsx)(J,{...u,defaultValue:o,onValueChange:a,type:"multiple",ref:t,value:i,...l})})})})});tx.displayName=tp;let tS="AccordionFacet",[tC]=(0,a.b)(tS),[tO,tT]=tC(tS),tD=o.forwardRef((e,t)=>{let{__scopeAccordionFacets:r,facetId:i,...a}=e,s=tv(r),l=o.useRef(null),u=eb(t,l),c=th(l,r),{onFacetValueClick:d}=tE(tS,r),p=ew(({facetId:e,...t})=>{d({facetId:e,facetIndex:c(),...t})});return(0,n.jsx)(tO,{scope:r,facetId:i,onFacetItemClick:p,children:(0,n.jsx)(tf.ItemSlot,{scope:r,children:(0,n.jsx)(ed,{...s,value:i,...a,ref:u})})})});tD.displayName=tS;let tP=o.forwardRef((e,t)=>{let{__scopeAccordionFacets:r,...o}=e,i=tv(r);return(0,n.jsx)(ey,{...i,...o,ref:t})});tP.displayName="AccordionFacetContent";let tA="AccordionFacetValueList",tk=e=>{let{__scopeAccordionFacets:t,...r}=e,o=tb(t),{facetId:i,onFacetItemClick:a}=tT(tA,t);return(0,n.jsx)(tr,{...o,...r,facetId:i,onFacetClick:a})};tk.displayName=tA;let tR=o.forwardRef((e,t)=>{let{__scopeAccordionFacets:r,...o}=e,i=tb(r);return(0,n.jsx)(ti,{...i,...o,ref:t})});tR.displayName="AccordionFacetValueListItem";let tI=o.forwardRef((e,t)=>{let{__scopeAccordionFacets:r,...o}=e,i=tb(r);return(0,n.jsx)(ts,{...i,...o,ref:t})});tI.displayName="AccordionFacetValueListItemLabel";let t_=o.forwardRef((e,t)=>{let{__scopeAccordionFacets:r,...o}=e,i=tb(r);return(0,n.jsx)(tu,{...i,...o,ref:t})});t_.displayName="AccordionFacetValueListItemCheckbox",eF.displayName="AccordionFacetValueListItemCheckboxIndicator",o.forwardRef((e,t)=>{let{__scopeAccordionFacets:r,...o}=e,i=tb(r);return(0,n.jsx)(td,{...i,...o,ref:t})}).displayName="AccordionFacetValueListItemItemToggle";let tN=o.forwardRef((e,t)=>{let{__scopeAccordionFacets:r,...o}=e,i=tv(r);return(0,n.jsx)(ef,{...i,...o,ref:t})});tN.displayName="AccordionFacetHeader";let tL=o.forwardRef((e,t)=>{let{__scopeAccordionFacets:r,...o}=e,i=tv(r);return(0,n.jsx)(em,{...i,...o,ref:t})});tL.displayName="AccordionFacetTrigger";let tM=tx,tj=tD,tF=tN,tB=tL,tZ=tP,tV=tk,tq=tR,tU=tI,tz=t_,t$=eF},21010:function(e,t,r){"use strict";r.d(t,{_i:function(){return k},T3:function(){return R},iY:function(){return I},kX:function(){return A},fC:function(){return P}});var n=r(85893),o=r(67294),i=r(25360),a=r(85614),s=r(77342);let l=(e,t)=>{let r=[];for(let n=1;n<=e;n++)r.push({page:n,isCurrent:n===t});return r};var u=({onPageChange:e,totalPages:t=0,defaultCurrentPage:r,currentPage:n})=>{let[i=n||r||1,a]=(0,s.T)({prop:n,defaultProp:r,onChange:e}),[u,c]=(0,o.useState)(()=>l(t,i));(0,o.useEffect)(()=>{i>t&&a(t)},[i]),(0,o.useEffect)(()=>{c(l(t,i))},[t,i]);let d=i1,f=p?i-1:i,h=d?i+1:i;return{currentPage:i,totalPages:t,pages:u,hasPrev:p,hasNext:d,setPage:a,prevPage:f,nextPage:h}};let c=(e,t)=>({"data-current":e===t}),d="Pagination",[p,f]=(0,i.b)(d),[h,m]=p(d),g=e=>`#${e}`,y=o.forwardRef((e,t)=>{let{__scopePagination:r,totalPages:o,currentPage:i,defaultCurrentPage:s,onPageChange:l,href:c=g,...d}=e,p=u({totalPages:o,currentPage:i,defaultCurrentPage:s,onPageChange:l});return(0,n.jsx)(h,{scope:r,...p,hrefFunc:c,children:(0,n.jsx)(a.WV.nav,{"aria-label":"pagination",...d,ref:t})})});y.displayName=d;let v="PaginationFirstPage";o.forwardRef((e,t)=>{let{__scopePagination:r,children:i,...s}=e,{hrefFunc:l,currentPage:u,setPage:d}=m(v,r),p=(0,o.useCallback)(e=>{s.onClick?.(e),d(1)},[d,s.onClick]);return(0,n.jsx)(a.WV.a,{ref:t,"aria-disabled":1===u,...c(1,u),"data-page":1,href:l(1),...s,onClick:p,children:"function"==typeof i?i(1):i})}).displayName=v;let b="PaginationLastPage";o.forwardRef((e,t)=>{let{__scopePagination:r,children:i,...s}=e,{hrefFunc:l,totalPages:u,currentPage:d,setPage:p}=m(b,r),f=(0,o.useCallback)(e=>{s.onClick?.(e),p(u)},[p,u,s.onClick]);return(0,n.jsx)(a.WV.a,{ref:t,"aria-disabled":u===d,...c(u,d),"data-page":u,href:l(u),...s,onClick:f,children:"function"==typeof i?i(u):i})}).displayName=b;let w="PaginationPrevPage",E=o.forwardRef((e,t)=>{let{__scopePagination:r,children:i,...s}=e,{currentPage:l,prevPage:u,hrefFunc:d,setPage:p}=m(w,r),f=(0,o.useCallback)(e=>{s.onClick?.(e),p(u)},[s.onClick,p,u]);return(0,n.jsx)(a.WV.a,{ref:t,"aria-disabled":u===l,...c(u,l),"data-page":u,href:d(u),...s,onClick:f,children:"function"==typeof i?i(u):i})});E.displayName=w;let x="PaginationNextPage",S=o.forwardRef((e,t)=>{let{__scopePagination:r,children:i,...s}=e,{currentPage:l,nextPage:u,hrefFunc:d,setPage:p}=m(x,r),f=(0,o.useCallback)(e=>{s.onClick?.(e),p(u)},[s.onClick,p,u]);return(0,n.jsx)(a.WV.a,{ref:t,"aria-disabled":u===l,...c(u,l),"data-page":u,href:d(u),...s,onClick:f,children:"function"==typeof i?i(u):i})});S.displayName=x;let C="PaginationPages",O=o.forwardRef((e,t)=>{let{__scopePagination:r,children:o,...i}=e,s=m(C,r);return(0,n.jsx)(a.WV.div,{ref:t,...i,children:"function"==typeof o?o(s):o})});O.displayName=C;let T="PaginationPage",D=o.forwardRef((e,t)=>{let{__scopePagination:r,page:i,...s}=e,{currentPage:l,setPage:u,hrefFunc:d}=m(T,r),p=(0,o.useCallback)(e=>{s.onClick?.(e),u(i)},[s.onClick,u,i]);return(0,n.jsx)(a.WV.a,{ref:t,...i===l?{"aria-current":"page"}:{},...c(i,l),"data-page":i,href:d(i),...s,onClick:p})});D.displayName=T,o.forwardRef((e,t)=>{let{__scopePagination:r,...o}=e;return(0,n.jsx)(a.WV.span,{ref:t,...o})}).displayName="PaginationTruncate";let P=y,A=E,k=S,R=D,I=O},63885:function(e,t,r){"use strict";r.d(t,{u:function(){return o}});let n=(e,t)=>Array.from({length:t-e+1},(t,r)=>e+r);function o(e,t){let{currentPage:r,totalPages:o}=e,{boundaryCount:i=1,siblingCount:a=1}=t,s=n(1,Math.min(i,o)),l=n(Math.max(o-i+1,i+1),o),u=Math.max(Math.min(r-a,o-i-2*a-1),i+2),c=Math.min(Math.max(r+a,i+2*a+2),l.length>0?l[0]-2:o-1);return[...s,...u>i+2?["start-ellipsis"]:i+1i?[o-i]:[],...l].map(e=>"number"==typeof e?{type:"page",page:e}:{type:e})}},94139:function(e,t,r){"use strict";r.d(t,{Ee:function(){return b},fC:function(){return v}});var n=r(85893),o=r(67294),i=r(25360),a=r(85614);let s="ArticleCard",l="ArticleCardImage",u="ArticleCardTitle",c="ArticleCardContent",d="ArticleCardId",[p,f]=(0,i.b)(s,[]),[h,m]=p(s),g=e=>{let{__scopeArticleCard:t,children:r,article:o,...i}=e;return(0,n.jsx)(h,{article:o,scope:t,children:(0,n.jsx)(a.WV.div,{...i,children:r})})};g.displayName=s;let y=o.forwardRef((e,t)=>{let{src:r,__scopeArticleCard:o,...i}=e,s=m(l,o);return(0,n.jsx)(a.WV.img,{src:r||s.article?.image_url,...i,ref:t})});y.displayName=l,o.forwardRef((e,t)=>{let{asTitle:r="h2",children:o,__scopeArticleCard:i,...s}=e,l=m(u,i),c=a.WV[r];return(0,n.jsx)(c,{...s,ref:t,children:o||l.article?.title})}).displayName=u,o.forwardRef((e,t)=>{let{children:r,__scopeArticleCard:o,...i}=e,{article:{id:s=""}={}}=m(d,o);return(0,n.jsx)(a.WV.div,{...i,ref:t,children:r||s})}).displayName=d,o.forwardRef((e,t)=>{let{children:r,__scopeArticleCard:o,...i}=e,s=m(c,o);return(0,n.jsx)(a.WV.div,{...i,ref:t,children:r||(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y,{})," ",s.article?.description," "]})})}).displayName=c,o.forwardRef((e,t)=>{let{children:r,__scopeArticleCard:o,...i}=e,s=m("ArticleCardSubtitle",o);return(0,n.jsx)(a.WV.div,{...i,ref:t,children:r||s.article?.subtitle})});let v=g,b=y},43784:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(85893),o=r(42576),i=r(35064),a=r(75045);let s={valueId:{isSelectedFacet:(e,t,r)=>e.some(e=>"facetValueId"in e&&e.facetId===t&&e.facetValueId===r)},text:{isSelectedFacet:(e,t,r,n)=>{let o=(0,a.rm)(n,t,r);return!!o&&!!o.text&&e.some(e=>"facetValueText"in e&&e.facetId===t&&e.facetValueText===o.text)}},range:{isSelectedFacet:()=>!1}};var l=(e,t)=>{let{config:r,state:{response:n}={}}=(0,o.Z)(),l=(0,a.aJ)(r,e),{selectedFacets:u=[]}=(0,i.Z)(),c=s[l]?s[l]:void 0;return void 0!==c&&c.isSelectedFacet(u,e,t,n)},u=r(69202),c=e=>{let{__scopeAccordionFacets:t}=e,{facetId:r}=u.Sy("AccordionFacet",t),o=l(r,e.facetValueId);return(0,n.jsx)(u.ck,{selected:o,...e})}},97368:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(85893),o=r(67294),i=r(42576),a=()=>{let{config:e}=(0,i.Z)();return e},s=r(75045),l=r(69202),u=o.forwardRef((e,t)=>{let{onFacetValueClick:r=()=>{},...o}=e,i=a();return(0,n.jsx)(l.M5,{...o,ref:t,onFacetValueClick:e=>r({...e,type:(0,s.aJ)(i,e.facetId)})})})},85007:function(e,t,r){"use strict";var n,o;r.d(t,{e:function(){return n}}),(o=n||(n={})).FACET_CLICKED="searchResults/FACET_CLICKED",o.FILTER_CLICKED="searchResults/FILTER_CLICKED",o.REMOVE_FILTER="searchResults/REMOVE_FILTER",o.SORT_CHANGED="searchResults/SORT_CHANGED",o.PAGE_NUMBER_CHANGED="searchResults/PAGE_NUMBER_CHANGED",o.ITEM_CLICKED="searchResults/ITEM_CLICKED",o.RESULTS_PER_PAGE_CHANGED="searchResults/RESULTS_PER_PAGE_CHANGED",o.KEYPHRASE_CHANGED="searchResults/KEYPHRASE_CHANGED",o.CLEAR_FILTERS="searchResults/CLEAR_FILTERS"},15761:function(e,t,r){"use strict";r.d(t,{j:function(){return a}});var n=r(33989),o=r(32161);class i extends n.l{constructor(){super(),this.setup=e=>{if(!o.sk&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}let a=new i},30081:function(e,t,r){"use strict";r.d(t,{V:function(){return o}});var n=r(32161);let o=function(){let e=[],t=0,r=e=>{e()},o=e=>{e()},i=o=>{t?e.push(o):(0,n.A4)(()=>{r(o)})},a=()=>{let t=e;e=[],t.length&&(0,n.A4)(()=>{o(()=>{t.forEach(e=>{r(e)})})})};return{batch:e=>{let r;t++;try{r=e()}finally{--t||a()}return r},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{o=e}}}()},96474:function(e,t,r){"use strict";r.d(t,{N:function(){return s}});var n=r(33989),o=r(32161);let i=["online","offline"];class a extends n.l{constructor(){super(),this.setup=e=>{if(!o.sk&&window.addEventListener){let t=()=>e();return i.forEach(e=>{window.addEventListener(e,t,!1)}),()=>{i.forEach(e=>{window.removeEventListener(e,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}let s=new a},72379:function(e,t,r){"use strict";r.d(t,{DV:function(){return u},Kw:function(){return s},Mz:function(){return c}});var n=r(15761),o=r(96474),i=r(32161);function a(e){return Math.min(1e3*2**e,3e4)}function s(e){return(null!=e?e:"online")!=="online"||o.N.isOnline()}class l{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function u(e){return e instanceof l}function c(e){let t,r,u,c=!1,d=0,p=!1,f=new Promise((e,t)=>{r=e,u=t}),h=()=>!n.j.isFocused()||"always"!==e.networkMode&&!o.N.isOnline(),m=n=>{p||(p=!0,null==e.onSuccess||e.onSuccess(n),null==t||t(),r(n))},g=r=>{p||(p=!0,null==e.onError||e.onError(r),null==t||t(),u(r))},y=()=>new Promise(r=>{t=e=>{let t=p||!h();return t&&r(e),t},null==e.onPause||e.onPause()}).then(()=>{t=void 0,p||null==e.onContinue||e.onContinue()}),v=()=>{let t;if(!p){try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(m).catch(t=>{var r,n;if(p)return;let o=null!=(r=e.retry)?r:3,s=null!=(n=e.retryDelay)?n:a,l="function"==typeof s?s(d,t):s,u=!0===o||"number"==typeof o&&d{if(h())return y()}).then(()=>{c?g(t):v()})})}};return s(e.networkMode)?v():y().then(v),{promise:f,cancel:t=>{p||(g(new l(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?f:Promise.resolve(),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1}}}},33989:function(e,t,r){"use strict";r.d(t,{l:function(){return n}});class n{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){let t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},32161:function(e,t,r){"use strict";r.d(t,{A4:function(){return x},G9:function(){return S},Gh:function(){return E},I6:function(){return u},Kp:function(){return s},PN:function(){return a},Rm:function(){return p},SE:function(){return i},VS:function(){return g},X7:function(){return d},ZT:function(){return o},_v:function(){return l},_x:function(){return c},oE:function(){return C},sk:function(){return n},to:function(){return h},yF:function(){return f}});let n="undefined"==typeof window||"Deno"in window;function o(){}function i(e,t){return"function"==typeof e?e(t):e}function a(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t,r){return w(e)?"function"==typeof t?{...r,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function u(e,t,r){return w(e)?[{...t,queryKey:e},r]:[e||{},t]}function c(e,t){let{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(w(a)){if(n){if(t.queryHash!==p(a,t.options))return!1}else{if(!m(t.queryKey,a))return!1}}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(void 0===o||o===t.state.fetchStatus)&&(!i||!!i(t))}function d(e,t){let{exact:r,fetching:n,predicate:o,mutationKey:i}=e;if(w(i)){if(!t.options.mutationKey)return!1;if(r){if(f(t.options.mutationKey)!==f(i))return!1}else{if(!m(t.options.mutationKey,i))return!1}}return("boolean"!=typeof n||"loading"===t.state.status===n)&&(!o||!!o(t))}function p(e,t){return((null==t?void 0:t.queryKeyHashFn)||f)(e)}function f(e){return JSON.stringify(e,(e,t)=>v(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function h(e,t){return m(e,t)}function m(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(r=>!m(e[r],t[r]))}function g(e,t){if(e&&!t||t&&!e)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function y(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function v(e){if(!b(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!(b(r)&&r.hasOwnProperty("isPrototypeOf"))}function b(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){return Array.isArray(e)}function E(e){return new Promise(t=>{setTimeout(t,e)})}function x(e){E(0).then(e)}function S(){if("function"==typeof AbortController)return new AbortController}function C(e,t,r){return null!=r.isDataEqual&&r.isDataEqual(e,t)?e:"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let n=y(t)&&y(r);if(n||v(t)&&v(r)){let o=n?t.length:Object.keys(t).length,i=n?r:Object.keys(r),a=i.length,s=n?[]:{},l=0;for(let o=0;o{},renderFallbackValue:null,...e},[r]=n.useState(()=>({current:(0,o.W_)(t)})),[i,a]=n.useState(()=>r.current.initialState);return r.current.setOptions(t=>({...t,...e,state:{...i,...e.state},onStateChange:t=>{a(t),null==e.onStateChange||e.onStateChange(t)}})),r.current}},27060:function(e,t,r){"use strict";function n(e,t){return"function"==typeof e?e(t):e}function o(e,t){return r=>{t.setState(t=>({...t,[e]:n(r,t[e])}))}}function i(e){return e instanceof Function}function a(e,t,r){let n,o=[];return i=>{let a,s;r.key&&r.debug&&(a=Date.now());let l=e(i);if(!(l.length!==o.length||l.some((e,t)=>o[t]!==e)))return n;if(o=l,r.key&&r.debug&&(s=Date.now()),n=t(...l),null==r||null==r.onChange||r.onChange(n),r.key&&r.debug&&null!=r&&r.debug()){let e=Math.round((Date.now()-a)*100)/100,t=Math.round((Date.now()-s)*100)/100,n=t/16,o=(e,t)=>{for(e=String(e);e.length{var r;return null!=(r=null==e?void 0:e.debugAll)?r:e[t]},key:!1,onChange:n}}r.d(t,{G_:function(){return H},W_:function(){return U},sC:function(){return z},tj:function(){return G},vL:function(){return $}});let l="debugHeaders";function u(e,t,r){var n;let o={id:null!=(n=r.id)?n:t.id,column:t,index:r.index,isPlaceholder:!!r.isPlaceholder,placeholderId:r.placeholderId,depth:r.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{let e=[],t=r=>{r.subHeaders&&r.subHeaders.length&&r.subHeaders.map(t),e.push(r)};return t(o),e},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach(t=>{null==t.createHeader||t.createHeader(o,e)}),o}function c(e,t,r,n){var o,i;let a=0,s=function(e,t){void 0===t&&(t=1),a=Math.max(a,t),e.filter(e=>e.getIsVisible()).forEach(e=>{var r;null!=(r=e.columns)&&r.length&&s(e.columns,t+1)},0)};s(e);let l=[],c=(e,t)=>{let o={depth:t,id:[n,`${t}`].filter(Boolean).join("_"),headers:[]},i=[];e.forEach(e=>{let a;let s=[...i].reverse()[0],l=e.column.depth===o.depth,c=!1;if(l&&e.column.parent?a=e.column.parent:(a=e.column,c=!0),s&&(null==s?void 0:s.column)===a)s.subHeaders.push(e);else{let o=u(r,a,{id:[n,t,a.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:c,placeholderId:c?`${i.filter(e=>e.column===a).length}`:void 0,depth:t,index:i.length});o.subHeaders.push(e),i.push(o)}o.headers.push(e),e.headerGroup=o}),l.push(o),t>0&&c(i,t-1)};c(t.map((e,t)=>u(r,e,{depth:a,index:t})),a-1),l.reverse();let d=e=>e.filter(e=>e.column.getIsVisible()).map(e=>{let t=0,r=0,n=[0];return e.subHeaders&&e.subHeaders.length?(n=[],d(e.subHeaders).forEach(e=>{let{colSpan:r,rowSpan:o}=e;t+=r,n.push(o)})):t=1,r+=Math.min(...n),e.colSpan=t,e.rowSpan=r,{colSpan:t,rowSpan:r}});return d(null!=(o=null==(i=l[0])?void 0:i.headers)?o:[]),l}let d=(e,t,r,n,o,i,l)=>{let u={id:t,index:n,original:r,depth:o,parentId:l,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(u._valuesCache.hasOwnProperty(t))return u._valuesCache[t];let r=e.getColumn(t);if(null!=r&&r.accessorFn)return u._valuesCache[t]=r.accessorFn(u.original,n),u._valuesCache[t]},getUniqueValues:t=>{if(u._uniqueValuesCache.hasOwnProperty(t))return u._uniqueValuesCache[t];let r=e.getColumn(t);return null!=r&&r.accessorFn?(r.columnDef.getUniqueValues?u._uniqueValuesCache[t]=r.columnDef.getUniqueValues(u.original,n):u._uniqueValuesCache[t]=[u.getValue(t)],u._uniqueValuesCache[t]):void 0},renderValue:t=>{var r;return null!=(r=u.getValue(t))?r:e.options.renderFallbackValue},subRows:null!=i?i:[],getLeafRows:()=>(function(e,t){let r=[],n=e=>{e.forEach(e=>{r.push(e);let o=t(e);null!=o&&o.length&&n(o)})};return n(e),r})(u.subRows,e=>e.subRows),getParentRow:()=>u.parentId?e.getRow(u.parentId,!0):void 0,getParentRows:()=>{let e=[],t=u;for(;;){let r=t.getParentRow();if(!r)break;e.push(r),t=r}return e.reverse()},getAllCells:a(()=>[e.getAllLeafColumns()],t=>t.map(t=>(function(e,t,r,n){let o={id:`${t.id}_${r.id}`,row:t,column:r,getValue:()=>t.getValue(n),renderValue:()=>{var t;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},getContext:a(()=>[e,r,t,o],(e,t,r,n)=>({table:e,column:t,row:r,cell:n,getValue:n.getValue,renderValue:n.renderValue}),s(e.options,"debugCells","cell.getContext"))};return e._features.forEach(n=>{null==n.createCell||n.createCell(o,r,t,e)},{}),o})(e,u,t,t.id)),s(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:a(()=>[u.getAllCells()],e=>e.reduce((e,t)=>(e[t.column.id]=t,e),{}),s(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t{var n,o;let i=null==r||null==(n=r.toString())?void 0:n.toLowerCase();return!!(null==(o=e.getValue(t))||null==(o=o.toString())||null==(o=o.toLowerCase())?void 0:o.includes(i))};p.autoRemove=e=>x(e);let f=(e,t,r)=>{var n;return!!(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.includes(r))};f.autoRemove=e=>x(e);let h=(e,t,r)=>{var n;return(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.toLowerCase())===(null==r?void 0:r.toLowerCase())};h.autoRemove=e=>x(e);let m=(e,t,r)=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(r)};m.autoRemove=e=>x(e);let g=(e,t,r)=>!r.some(r=>{var n;return!(null!=(n=e.getValue(t))&&n.includes(r))});g.autoRemove=e=>x(e)||!(null!=e&&e.length);let y=(e,t,r)=>r.some(r=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(r)});y.autoRemove=e=>x(e)||!(null!=e&&e.length);let v=(e,t,r)=>e.getValue(t)===r;v.autoRemove=e=>x(e);let b=(e,t,r)=>e.getValue(t)==r;b.autoRemove=e=>x(e);let w=(e,t,r)=>{let[n,o]=r,i=e.getValue(t);return i>=n&&i<=o};w.resolveFilterValue=e=>{let[t,r]=e,n="number"!=typeof t?parseFloat(t):t,o="number"!=typeof r?parseFloat(r):r,i=null===t||Number.isNaN(n)?-1/0:n,a=null===r||Number.isNaN(o)?1/0:o;if(i>a){let e=i;i=a,a=e}return[i,a]},w.autoRemove=e=>x(e)||x(e[0])&&x(e[1]);let E={includesString:p,includesStringSensitive:f,equalsString:h,arrIncludes:m,arrIncludesAll:g,arrIncludesSome:y,equals:v,weakEquals:b,inNumberRange:w};function x(e){return null==e||""===e}function S(e,t,r){return!!e&&!!e.autoRemove&&e.autoRemove(t,r)||void 0===t||"string"==typeof t&&!t}let C={sum:(e,t,r)=>r.reduce((t,r)=>{let n=r.getValue(e);return t+("number"==typeof n?n:0)},0),min:(e,t,r)=>{let n;return r.forEach(t=>{let r=t.getValue(e);null!=r&&(n>r||void 0===n&&r>=r)&&(n=r)}),n},max:(e,t,r)=>{let n;return r.forEach(t=>{let r=t.getValue(e);null!=r&&(n=r)&&(n=r)}),n},extent:(e,t,r)=>{let n,o;return r.forEach(t=>{let r=t.getValue(e);null!=r&&(void 0===n?r>=r&&(n=o=r):(n>r&&(n=r),o{let r=0,n=0;if(t.forEach(t=>{let o=t.getValue(e);null!=o&&(o=+o)>=o&&(++r,n+=o)}),r)return n/r},median:(e,t)=>{if(!t.length)return;let r=t.map(t=>t.getValue(e));if(!(Array.isArray(r)&&r.every(e=>"number"==typeof e)))return;if(1===r.length)return r[0];let n=Math.floor(r.length/2),o=r.sort((e,t)=>e-t);return r.length%2!=0?o[n]:(o[n-1]+o[n])/2},unique:(e,t)=>Array.from(new Set(t.map(t=>t.getValue(e))).values()),uniqueCount:(e,t)=>new Set(t.map(t=>t.getValue(e))).size,count:(e,t)=>t.length},O=()=>({left:[],right:[]}),T={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},D=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),P=null;function A(e){return"touchstart"===e.type}function k(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}let R=()=>({pageIndex:0,pageSize:10}),I=()=>({top:[],bottom:[]}),_=(e,t,r,n,o)=>{var i;let a=o.getRow(t,!0);r?(a.getCanMultiSelect()||Object.keys(e).forEach(t=>delete e[t]),a.getCanSelect()&&(e[t]=!0)):delete e[t],n&&null!=(i=a.subRows)&&i.length&&a.getCanSelectSubRows()&&a.subRows.forEach(t=>_(e,t.id,r,n,o))};function N(e,t){let r=e.getState().rowSelection,n=[],o={},i=function(e,t){return e.map(e=>{var t;let a=L(e,r);if(a&&(n.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:i(e.subRows)}),a)return e}).filter(Boolean)};return{rows:i(t.rows),flatRows:n,rowsById:o}}function L(e,t){var r;return null!=(r=t[e.id])&&r}function M(e,t,r){var n;if(!(null!=(n=e.subRows)&&n.length))return!1;let o=!0,i=!1;return e.subRows.forEach(e=>{if((!i||o)&&(e.getCanSelect()&&(L(e,t)?i=!0:o=!1),e.subRows&&e.subRows.length)){let r=M(e,t);"all"===r?i=!0:("some"===r&&(i=!0),o=!1)}}),o?"all":!!i&&"some"}let j=/([0-9]+)/gm;function F(e,t){return e===t?0:e>t?1:-1}function B(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Z(e,t){let r=e.split(j).filter(Boolean),n=t.split(j).filter(Boolean);for(;r.length&&n.length;){let e=r.shift(),t=n.shift(),o=parseInt(e,10),i=parseInt(t,10),a=[o,i].sort();if(isNaN(a[0])){if(e>t)return 1;if(t>e)return -1;continue}if(isNaN(a[1]))return isNaN(o)?-1:1;if(o>i)return 1;if(i>o)return -1}return r.length-n.length}let V={alphanumeric:(e,t,r)=>Z(B(e.getValue(r)).toLowerCase(),B(t.getValue(r)).toLowerCase()),alphanumericCaseSensitive:(e,t,r)=>Z(B(e.getValue(r)),B(t.getValue(r))),text:(e,t,r)=>F(B(e.getValue(r)).toLowerCase(),B(t.getValue(r)).toLowerCase()),textCaseSensitive:(e,t,r)=>F(B(e.getValue(r)),B(t.getValue(r))),datetime:(e,t,r)=>{let n=e.getValue(r),o=t.getValue(r);return n>o?1:nF(e.getValue(r),t.getValue(r))},q=[{createTable:e=>{e.getHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,r,n,o)=>{var i,a;let s=null!=(i=null==n?void 0:n.map(e=>r.find(t=>t.id===e)).filter(Boolean))?i:[],l=null!=(a=null==o?void 0:o.map(e=>r.find(t=>t.id===e)).filter(Boolean))?a:[];return c(t,[...s,...r.filter(e=>!(null!=n&&n.includes(e.id))&&!(null!=o&&o.includes(e.id))),...l],e)},s(e.options,l,"getHeaderGroups")),e.getCenterHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,r,n,o)=>c(t,r=r.filter(e=>!(null!=n&&n.includes(e.id))&&!(null!=o&&o.includes(e.id))),e,"center"),s(e.options,l,"getCenterHeaderGroups")),e.getLeftHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,r,n)=>{var o;return c(t,null!=(o=null==n?void 0:n.map(e=>r.find(t=>t.id===e)).filter(Boolean))?o:[],e,"left")},s(e.options,l,"getLeftHeaderGroups")),e.getRightHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,r,n)=>{var o;return c(t,null!=(o=null==n?void 0:n.map(e=>r.find(t=>t.id===e)).filter(Boolean))?o:[],e,"right")},s(e.options,l,"getRightHeaderGroups")),e.getFooterGroups=a(()=>[e.getHeaderGroups()],e=>[...e].reverse(),s(e.options,l,"getFooterGroups")),e.getLeftFooterGroups=a(()=>[e.getLeftHeaderGroups()],e=>[...e].reverse(),s(e.options,l,"getLeftFooterGroups")),e.getCenterFooterGroups=a(()=>[e.getCenterHeaderGroups()],e=>[...e].reverse(),s(e.options,l,"getCenterFooterGroups")),e.getRightFooterGroups=a(()=>[e.getRightHeaderGroups()],e=>[...e].reverse(),s(e.options,l,"getRightFooterGroups")),e.getFlatHeaders=a(()=>[e.getHeaderGroups()],e=>e.map(e=>e.headers).flat(),s(e.options,l,"getFlatHeaders")),e.getLeftFlatHeaders=a(()=>[e.getLeftHeaderGroups()],e=>e.map(e=>e.headers).flat(),s(e.options,l,"getLeftFlatHeaders")),e.getCenterFlatHeaders=a(()=>[e.getCenterHeaderGroups()],e=>e.map(e=>e.headers).flat(),s(e.options,l,"getCenterFlatHeaders")),e.getRightFlatHeaders=a(()=>[e.getRightHeaderGroups()],e=>e.map(e=>e.headers).flat(),s(e.options,l,"getRightFlatHeaders")),e.getCenterLeafHeaders=a(()=>[e.getCenterFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),s(e.options,l,"getCenterLeafHeaders")),e.getLeftLeafHeaders=a(()=>[e.getLeftFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),s(e.options,l,"getLeftLeafHeaders")),e.getRightLeafHeaders=a(()=>[e.getRightFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),s(e.options,l,"getRightLeafHeaders")),e.getLeafHeaders=a(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(e,t,r)=>{var n,o,i,a,s,l;return[...null!=(n=null==(o=e[0])?void 0:o.headers)?n:[],...null!=(i=null==(a=t[0])?void 0:a.headers)?i:[],...null!=(s=null==(l=r[0])?void 0:l.headers)?s:[]].map(e=>e.getLeafHeaders()).flat()},s(e.options,l,"getLeafHeaders"))}},{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:o("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=r=>{e.getCanHide()&&t.setColumnVisibility(t=>({...t,[e.id]:null!=r?r:!e.getIsVisible()}))},e.getIsVisible=()=>{var r,n;let o=e.columns;return null==(r=o.length?o.some(e=>e.getIsVisible()):null==(n=t.getState().columnVisibility)?void 0:n[e.id])||r},e.getCanHide=()=>{var r,n;return(null==(r=e.columnDef.enableHiding)||r)&&(null==(n=t.options.enableHiding)||n)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=a(()=>[e.getAllCells(),t.getState().columnVisibility],e=>e.filter(e=>e.column.getIsVisible()),s(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=a(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(e,t,r)=>[...e,...t,...r],s(t.options,"debugRows","getVisibleCells"))},createTable:e=>{let t=(t,r)=>a(()=>[r(),r().filter(e=>e.getIsVisible()).map(e=>e.id).join("_")],e=>e.filter(e=>null==e.getIsVisible?void 0:e.getIsVisible()),s(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var r;e.setColumnVisibility(t?{}:null!=(r=e.initialState.columnVisibility)?r:{})},e.toggleAllColumnsVisible=t=>{var r;t=null!=(r=t)?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((e,r)=>({...e,[r.id]:t||!(null!=r.getCanHide&&r.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(e=>!(null!=e.getIsVisible&&e.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(e=>null==e.getIsVisible?void 0:e.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var r;e.toggleAllColumnsVisible(null==(r=t.target)?void 0:r.checked)}}},{getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:o("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=a(e=>[k(t,e)],t=>t.findIndex(t=>t.id===e.id),s(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=r=>{var n;return(null==(n=k(t,r)[0])?void 0:n.id)===e.id},e.getIsLastColumn=r=>{var n;let o=k(t,r);return(null==(n=o[o.length-1])?void 0:n.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var r;e.setColumnOrder(t?[]:null!=(r=e.initialState.columnOrder)?r:[])},e._getOrderColumnsFn=a(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(e,t,r)=>n=>{let o=[];if(null!=e&&e.length){let t=[...e],r=[...n];for(;r.length&&t.length;){let e=t.shift(),n=r.findIndex(t=>t.id===e);n>-1&&o.push(r.splice(n,1)[0])}o=[...o,...r]}else o=n;return function(e,t,r){if(!(null!=t&&t.length)||!r)return e;let n=e.filter(e=>!t.includes(e.id));return"remove"===r?n:[...t.map(t=>e.find(e=>e.id===t)).filter(Boolean),...n]}(o,t,r)},s(e.options,"debugTable","_getOrderColumnsFn"))}},{getInitialState:e=>({columnPinning:O(),...e}),getDefaultOptions:e=>({onColumnPinningChange:o("columnPinning",e)}),createColumn:(e,t)=>{e.pin=r=>{let n=e.getLeafColumns().map(e=>e.id).filter(Boolean);t.setColumnPinning(e=>{var t,o,i,a,s,l;return"right"===r?{left:(null!=(i=null==e?void 0:e.left)?i:[]).filter(e=>!(null!=n&&n.includes(e))),right:[...(null!=(a=null==e?void 0:e.right)?a:[]).filter(e=>!(null!=n&&n.includes(e))),...n]}:"left"===r?{left:[...(null!=(s=null==e?void 0:e.left)?s:[]).filter(e=>!(null!=n&&n.includes(e))),...n],right:(null!=(l=null==e?void 0:e.right)?l:[]).filter(e=>!(null!=n&&n.includes(e)))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter(e=>!(null!=n&&n.includes(e))),right:(null!=(o=null==e?void 0:e.right)?o:[]).filter(e=>!(null!=n&&n.includes(e)))}})},e.getCanPin=()=>e.getLeafColumns().some(e=>{var r,n,o;return(null==(r=e.columnDef.enablePinning)||r)&&(null==(n=null!=(o=t.options.enableColumnPinning)?o:t.options.enablePinning)||n)}),e.getIsPinned=()=>{let r=e.getLeafColumns().map(e=>e.id),{left:n,right:o}=t.getState().columnPinning,i=r.some(e=>null==n?void 0:n.includes(e)),a=r.some(e=>null==o?void 0:o.includes(e));return i?"left":!!a&&"right"},e.getPinnedIndex=()=>{var r,n;let o=e.getIsPinned();return o?null!=(r=null==(n=t.getState().columnPinning)||null==(n=n[o])?void 0:n.indexOf(e.id))?r:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=a(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(e,t,r)=>{let n=[...null!=t?t:[],...null!=r?r:[]];return e.filter(e=>!n.includes(e.column.id))},s(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=a(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"left"})),s(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=a(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"right"})),s(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var r,n;return e.setColumnPinning(t?O():null!=(r=null==(n=e.initialState)?void 0:n.columnPinning)?r:O())},e.getIsSomeColumnsPinned=t=>{var r,n,o;let i=e.getState().columnPinning;return t?!!(null==(r=i[t])?void 0:r.length):!!((null==(n=i.left)?void 0:n.length)||(null==(o=i.right)?void 0:o.length))},e.getLeftLeafColumns=a(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),s(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=a(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),s(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=a(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(e,t,r)=>{let n=[...null!=t?t:[],...null!=r?r:[]];return e.filter(e=>!n.includes(e.id))},s(e.options,"debugColumns","getCenterLeafColumns"))}},{createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},{getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:o("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{let r=t.getCoreRowModel().flatRows[0],n=null==r?void 0:r.getValue(e.id);return"string"==typeof n?E.includesString:"number"==typeof n?E.inNumberRange:"boolean"==typeof n||null!==n&&"object"==typeof n?E.equals:Array.isArray(n)?E.arrIncludes:E.weakEquals},e.getFilterFn=()=>{var r,n;return i(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(r=null==(n=t.options.filterFns)?void 0:n[e.columnDef.filterFn])?r:E[e.columnDef.filterFn]},e.getCanFilter=()=>{var r,n,o;return(null==(r=e.columnDef.enableColumnFilter)||r)&&(null==(n=t.options.enableColumnFilters)||n)&&(null==(o=t.options.enableFilters)||o)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var r;return null==(r=t.getState().columnFilters)||null==(r=r.find(t=>t.id===e.id))?void 0:r.value},e.getFilterIndex=()=>{var r,n;return null!=(r=null==(n=t.getState().columnFilters)?void 0:n.findIndex(t=>t.id===e.id))?r:-1},e.setFilterValue=r=>{t.setColumnFilters(t=>{var o,i;let a=e.getFilterFn(),s=null==t?void 0:t.find(t=>t.id===e.id),l=n(r,s?s.value:void 0);if(S(a,l,e))return null!=(o=null==t?void 0:t.filter(t=>t.id!==e.id))?o:[];let u={id:e.id,value:l};return s?null!=(i=null==t?void 0:t.map(t=>t.id===e.id?u:t))?i:[]:null!=t&&t.length?[...t,u]:[u]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{let r=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange(e=>{var o;return null==(o=n(t,e))?void 0:o.filter(e=>{let t=r.find(t=>t.id===e.id);return!(t&&S(t.getFilterFn(),e.value,t))})})},e.resetColumnFilters=t=>{var r,n;e.setColumnFilters(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.columnFilters)?r:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel)?e.getPreFilteredRowModel():e._getFilteredRowModel()}},{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:o("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var r;let n=null==(r=e.getCoreRowModel().flatRows[0])||null==(r=r._getAllCellsByColumnId()[t.id])?void 0:r.getValue();return"string"==typeof n||"number"==typeof n}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var r,n,o,i;return(null==(r=e.columnDef.enableGlobalFilter)||r)&&(null==(n=t.options.enableGlobalFilter)||n)&&(null==(o=t.options.enableFilters)||o)&&(null==(i=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||i)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>E.includesString,e.getGlobalFilterFn=()=>{var t,r;let{globalFilterFn:n}=e.options;return i(n)?n:"auto"===n?e.getGlobalAutoFilterFn():null!=(t=null==(r=e.options.filterFns)?void 0:r[n])?t:E[n]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:o("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{let r=t.getFilteredRowModel().flatRows.slice(10),n=!1;for(let t of r){let r=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(r))return V.datetime;if("string"==typeof r&&(n=!0,r.split(j).length>1))return V.alphanumeric}return n?V.text:V.basic},e.getAutoSortDir=()=>{let r=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==r?void 0:r.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var r,n;if(!e)throw Error();return i(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(r=null==(n=t.options.sortingFns)?void 0:n[e.columnDef.sortingFn])?r:V[e.columnDef.sortingFn]},e.toggleSorting=(r,n)=>{let o=e.getNextSortingOrder(),i=null!=r;t.setSorting(a=>{let s;let l=null==a?void 0:a.find(t=>t.id===e.id),u=null==a?void 0:a.findIndex(t=>t.id===e.id),c=[],d=i?r:"desc"===o;if("toggle"!=(s=null!=a&&a.length&&e.getCanMultiSort()&&n?l?"toggle":"add":null!=a&&a.length&&u!==a.length-1?"replace":l?"toggle":"replace")||i||o||(s="remove"),"add"===s){var p;(c=[...a,{id:e.id,desc:d}]).splice(0,c.length-(null!=(p=t.options.maxMultiSortColCount)?p:Number.MAX_SAFE_INTEGER))}else c="toggle"===s?a.map(t=>t.id===e.id?{...t,desc:d}:t):"remove"===s?a.filter(t=>t.id!==e.id):[{id:e.id,desc:d}];return c})},e.getFirstSortDir=()=>{var r,n;return(null!=(r=null!=(n=e.columnDef.sortDescFirst)?n:t.options.sortDescFirst)?r:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=r=>{var n,o;let i=e.getFirstSortDir(),a=e.getIsSorted();return a?(a===i||null!=(n=t.options.enableSortingRemoval)&&!n||!!r&&null!=(o=t.options.enableMultiRemove)&&!o)&&("desc"===a?"asc":"desc"):i},e.getCanSort=()=>{var r,n;return(null==(r=e.columnDef.enableSorting)||r)&&(null==(n=t.options.enableSorting)||n)&&!!e.accessorFn},e.getCanMultiSort=()=>{var r,n;return null!=(r=null!=(n=e.columnDef.enableMultiSort)?n:t.options.enableMultiSort)?r:!!e.accessorFn},e.getIsSorted=()=>{var r;let n=null==(r=t.getState().sorting)?void 0:r.find(t=>t.id===e.id);return!!n&&(n.desc?"desc":"asc")},e.getSortIndex=()=>{var r,n;return null!=(r=null==(n=t.getState().sorting)?void 0:n.findIndex(t=>t.id===e.id))?r:-1},e.clearSorting=()=>{t.setSorting(t=>null!=t&&t.length?t.filter(t=>t.id!==e.id):[])},e.getToggleSortingHandler=()=>{let r=e.getCanSort();return n=>{r&&(null==n.persist||n.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(n))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var r,n;e.setSorting(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.sorting)?r:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel)?e.getPreSortedRowModel():e._getSortedRowModel()}},{getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,r;return null!=(t=null==(r=e.getValue())||null==r.toString?void 0:r.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:o("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(t=>null!=t&&t.includes(e.id)?t.filter(t=>t!==e.id):[...null!=t?t:[],e.id])},e.getCanGroup=()=>{var r,n;return(null==(r=e.columnDef.enableGrouping)||r)&&(null==(n=t.options.enableGrouping)||n)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var r;return null==(r=t.getState().grouping)?void 0:r.includes(e.id)},e.getGroupedIndex=()=>{var r;return null==(r=t.getState().grouping)?void 0:r.indexOf(e.id)},e.getToggleGroupingHandler=()=>{let t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{let r=t.getCoreRowModel().flatRows[0],n=null==r?void 0:r.getValue(e.id);return"number"==typeof n?C.sum:"[object Date]"===Object.prototype.toString.call(n)?C.extent:void 0},e.getAggregationFn=()=>{var r,n;if(!e)throw Error();return i(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(r=null==(n=t.options.aggregationFns)?void 0:n[e.columnDef.aggregationFn])?r:C[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var r,n;e.setGrouping(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.grouping)?r:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel)?e.getPreGroupedRowModel():e._getGroupedRowModel()},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=r=>{if(e._groupingValuesCache.hasOwnProperty(r))return e._groupingValuesCache[r];let n=t.getColumn(r);return null!=n&&n.columnDef.getGroupingValue?(e._groupingValuesCache[r]=n.columnDef.getGroupingValue(e.original),e._groupingValuesCache[r]):e.getValue(r)},e._groupingValuesCache={}},createCell:(e,t,r,n)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===r.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!(null!=(t=r.subRows)&&t.length)}}},{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:o("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,r=!1;e._autoResetExpanded=()=>{var n,o;if(!t){e._queue(()=>{t=!0});return}if(null!=(n=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?n:!e.options.manualExpanding){if(r)return;r=!0,e._queue(()=>{e.resetExpanded(),r=!1})}},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var r,n;e.setExpanded(t?{}:null!=(r=null==(n=e.initialState)?void 0:n.expanded)?r:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(e=>e.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{let t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{let t=e.getState().expanded;return"boolean"==typeof t?!0===t:!(!Object.keys(t).length||e.getRowModel().flatRows.some(e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(e=>{let r=e.split(".");t=Math.max(t,r.length)}),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel)?e.getPreExpandedRowModel():e._getExpandedRowModel()},createRow:(e,t)=>{e.toggleExpanded=r=>{t.setExpanded(n=>{var o;let i=!0===n||!!(null!=n&&n[e.id]),a={};if(!0===n?Object.keys(t.getRowModel().rowsById).forEach(e=>{a[e]=!0}):a=n,r=null!=(o=r)?o:!i,!i&&r)return{...a,[e.id]:!0};if(i&&!r){let{[e.id]:t,...r}=a;return r}return n})},e.getIsExpanded=()=>{var r;let n=t.getState().expanded;return!!(null!=(r=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?r:!0===n||(null==n?void 0:n[e.id]))},e.getCanExpand=()=>{var r,n,o;return null!=(r=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?r:(null==(n=t.options.enableExpanding)||n)&&!!(null!=(o=e.subRows)&&o.length)},e.getIsAllParentsExpanded=()=>{let r=!0,n=e;for(;r&&n.parentId;)r=(n=t.getRow(n.parentId,!0)).getIsExpanded();return r},e.getToggleExpandedHandler=()=>{let t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{...R(),...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:o("pagination",e)}),createTable:e=>{let t=!1,r=!1;e._autoResetPageIndex=()=>{var n,o;if(!t){e._queue(()=>{t=!0});return}if(null!=(n=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?n:!e.options.manualPagination){if(r)return;r=!0,e._queue(()=>{e.resetPageIndex(),r=!1})}},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange(e=>n(t,e)),e.resetPagination=t=>{var r;e.setPagination(t?R():null!=(r=e.initialState.pagination)?r:R())},e.setPageIndex=t=>{e.setPagination(r=>{let o=n(t,r.pageIndex);return o=Math.max(0,Math.min(o,void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1)),{...r,pageIndex:o}})},e.resetPageIndex=t=>{var r,n;e.setPageIndex(t?0:null!=(r=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageIndex)?r:0)},e.resetPageSize=t=>{var r,n;e.setPageSize(t?10:null!=(r=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageSize)?r:10)},e.setPageSize=t=>{e.setPagination(e=>{let r=Math.max(1,n(t,e.pageSize)),o=Math.floor(e.pageSize*e.pageIndex/r);return{...e,pageIndex:o,pageSize:r}})},e.setPageCount=t=>e.setPagination(r=>{var o;let i=n(t,null!=(o=e.options.pageCount)?o:-1);return"number"==typeof i&&(i=Math.max(-1,i)),{...r,pageCount:i}}),e.getPageOptions=a(()=>[e.getPageCount()],e=>{let t=[];return e&&e>0&&(t=[...Array(e)].fill(null).map((e,t)=>t)),t},s(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{let{pageIndex:t}=e.getState().pagination,r=e.getPageCount();return -1===r||0!==r&&te.setPageIndex(e=>e-1),e.nextPage=()=>e.setPageIndex(e=>e+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel)?e.getPrePaginationRowModel():e._getPaginationRowModel(),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},{getInitialState:e=>({rowPinning:I(),...e}),getDefaultOptions:e=>({onRowPinningChange:o("rowPinning",e)}),createRow:(e,t)=>{e.pin=(r,n,o)=>{let i=n?e.getLeafRows().map(e=>{let{id:t}=e;return t}):[],a=new Set([...o?e.getParentRows().map(e=>{let{id:t}=e;return t}):[],e.id,...i]);t.setRowPinning(e=>{var t,n,o,i,s,l;return"bottom"===r?{top:(null!=(o=null==e?void 0:e.top)?o:[]).filter(e=>!(null!=a&&a.has(e))),bottom:[...(null!=(i=null==e?void 0:e.bottom)?i:[]).filter(e=>!(null!=a&&a.has(e))),...Array.from(a)]}:"top"===r?{top:[...(null!=(s=null==e?void 0:e.top)?s:[]).filter(e=>!(null!=a&&a.has(e))),...Array.from(a)],bottom:(null!=(l=null==e?void 0:e.bottom)?l:[]).filter(e=>!(null!=a&&a.has(e)))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter(e=>!(null!=a&&a.has(e))),bottom:(null!=(n=null==e?void 0:e.bottom)?n:[]).filter(e=>!(null!=a&&a.has(e)))}})},e.getCanPin=()=>{var r;let{enableRowPinning:n,enablePinning:o}=t.options;return"function"==typeof n?n(e):null==(r=null!=n?n:o)||r},e.getIsPinned=()=>{let r=[e.id],{top:n,bottom:o}=t.getState().rowPinning,i=r.some(e=>null==n?void 0:n.includes(e)),a=r.some(e=>null==o?void 0:o.includes(e));return i?"top":!!a&&"bottom"},e.getPinnedIndex=()=>{var r,n;let o=e.getIsPinned();if(!o)return -1;let i=null==(r="top"===o?t.getTopRows():t.getBottomRows())?void 0:r.map(e=>{let{id:t}=e;return t});return null!=(n=null==i?void 0:i.indexOf(e.id))?n:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var r,n;return e.setRowPinning(t?I():null!=(r=null==(n=e.initialState)?void 0:n.rowPinning)?r:I())},e.getIsSomeRowsPinned=t=>{var r,n,o;let i=e.getState().rowPinning;return t?!!(null==(r=i[t])?void 0:r.length):!!((null==(n=i.top)?void 0:n.length)||(null==(o=i.bottom)?void 0:o.length))},e._getPinnedRows=(t,r,n)=>{var o;return(null==(o=e.options.keepPinnedRows)||o?(null!=r?r:[]).map(t=>{let r=e.getRow(t,!0);return r.getIsAllParentsExpanded()?r:null}):(null!=r?r:[]).map(e=>t.find(t=>t.id===e))).filter(Boolean).map(e=>({...e,position:n}))},e.getTopRows=a(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,r)=>e._getPinnedRows(t,r,"top"),s(e.options,"debugRows","getTopRows")),e.getBottomRows=a(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,r)=>e._getPinnedRows(t,r,"bottom"),s(e.options,"debugRows","getBottomRows")),e.getCenterRows=a(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(e,t,r)=>{let n=new Set([...null!=t?t:[],...null!=r?r:[]]);return e.filter(e=>!n.has(e.id))},s(e.options,"debugRows","getCenterRows"))}},{getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:o("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var r;return e.setRowSelection(t?{}:null!=(r=e.initialState.rowSelection)?r:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(r=>{t=void 0!==t?t:!e.getIsAllRowsSelected();let n={...r},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach(e=>{e.getCanSelect()&&(n[e.id]=!0)}):o.forEach(e=>{delete n[e.id]}),n})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(r=>{let n=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...r};return e.getRowModel().rows.forEach(t=>{_(o,t.id,n,!0,e)}),o}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=a(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,r)=>Object.keys(t).length?N(e,r):{rows:[],flatRows:[],rowsById:{}},s(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=a(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,r)=>Object.keys(t).length?N(e,r):{rows:[],flatRows:[],rowsById:{}},s(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=a(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,r)=>Object.keys(t).length?N(e,r):{rows:[],flatRows:[],rowsById:{}},s(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{let t=e.getFilteredRowModel().flatRows,{rowSelection:r}=e.getState(),n=!!(t.length&&Object.keys(r).length);return n&&t.some(e=>e.getCanSelect()&&!r[e.id])&&(n=!1),n},e.getIsAllPageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows.filter(e=>e.getCanSelect()),{rowSelection:r}=e.getState(),n=!!t.length;return n&&t.some(e=>!r[e.id])&&(n=!1),n},e.getIsSomeRowsSelected=()=>{var t;let r=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return r>0&&r{let t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter(e=>e.getCanSelect()).some(e=>e.getIsSelected()||e.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(r,n)=>{let o=e.getIsSelected();t.setRowSelection(i=>{var a;if(r=void 0!==r?r:!o,e.getCanSelect()&&o===r)return i;let s={...i};return _(s,e.id,r,null==(a=null==n?void 0:n.selectChildren)||a,t),s})},e.getIsSelected=()=>{let{rowSelection:r}=t.getState();return L(e,r)},e.getIsSomeSelected=()=>{let{rowSelection:r}=t.getState();return"some"===M(e,r)},e.getIsAllSubRowsSelected=()=>{let{rowSelection:r}=t.getState();return"all"===M(e,r)},e.getCanSelect=()=>{var r;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(r=t.options.enableRowSelection)||r},e.getCanSelectSubRows=()=>{var r;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(r=t.options.enableSubRowSelection)||r},e.getCanMultiSelect=()=>{var r;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(r=t.options.enableMultiRowSelection)||r},e.getToggleSelectedHandler=()=>{let t=e.getCanSelect();return r=>{var n;t&&e.toggleSelected(null==(n=r.target)?void 0:n.checked)}}}},{getDefaultColumnDef:()=>T,getInitialState:e=>({columnSizing:{},columnSizingInfo:D(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:o("columnSizing",e),onColumnSizingInfoChange:o("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var r,n,o;let i=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(r=e.columnDef.minSize)?r:T.minSize,null!=(n=null!=i?i:e.columnDef.size)?n:T.size),null!=(o=e.columnDef.maxSize)?o:T.maxSize)},e.getStart=a(e=>[e,k(t,e),t.getState().columnSizing],(t,r)=>r.slice(0,e.getIndex(t)).reduce((e,t)=>e+t.getSize(),0),s(t.options,"debugColumns","getStart")),e.getAfter=a(e=>[e,k(t,e),t.getState().columnSizing],(t,r)=>r.slice(e.getIndex(t)+1).reduce((e,t)=>e+t.getSize(),0),s(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing(t=>{let{[e.id]:r,...n}=t;return n})},e.getCanResize=()=>{var r,n;return(null==(r=e.columnDef.enableResizing)||r)&&(null==(n=t.options.enableColumnResizing)||n)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0,r=e=>{if(e.subHeaders.length)e.subHeaders.forEach(r);else{var n;t+=null!=(n=e.column.getSize())?n:0}};return r(e),t},e.getStart=()=>{if(e.index>0){let t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=r=>{let n=t.getColumn(e.column.id),o=null==n?void 0:n.getCanResize();return i=>{if(!n||!o||(null==i.persist||i.persist(),A(i)&&i.touches&&i.touches.length>1))return;let a=e.getSize(),s=e?e.getLeafHeaders().map(e=>[e.column.id,e.column.getSize()]):[[n.id,n.getSize()]],l=A(i)?Math.round(i.touches[0].clientX):i.clientX,u={},c=(e,r)=>{"number"==typeof r&&(t.setColumnSizingInfo(e=>{var n,o;let i="rtl"===t.options.columnResizeDirection?-1:1,a=(r-(null!=(n=null==e?void 0:e.startOffset)?n:0))*i,s=Math.max(a/(null!=(o=null==e?void 0:e.startSize)?o:0),-.999999);return e.columnSizingStart.forEach(e=>{let[t,r]=e;u[t]=Math.round(100*Math.max(r+r*s,0))/100}),{...e,deltaOffset:a,deltaPercentage:s}}),("onChange"===t.options.columnResizeMode||"end"===e)&&t.setColumnSizing(e=>({...e,...u})))},d=e=>c("move",e),p=e=>{c("end",e),t.setColumnSizingInfo(e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},f=r||("undefined"!=typeof document?document:null),h={moveHandler:e=>d(e.clientX),upHandler:e=>{null==f||f.removeEventListener("mousemove",h.moveHandler),null==f||f.removeEventListener("mouseup",h.upHandler),p(e.clientX)}},m={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==f||f.removeEventListener("touchmove",m.moveHandler),null==f||f.removeEventListener("touchend",m.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),p(null==(t=e.touches[0])?void 0:t.clientX)}},g=!!function(){if("boolean"==typeof P)return P;let e=!1;try{let t=()=>{};window.addEventListener("test",t,{get passive(){return e=!0,!1}}),window.removeEventListener("test",t)}catch(t){e=!1}return P=e}()&&{passive:!1};A(i)?(null==f||f.addEventListener("touchmove",m.moveHandler,g),null==f||f.addEventListener("touchend",m.upHandler,g)):(null==f||f.addEventListener("mousemove",h.moveHandler,g),null==f||f.addEventListener("mouseup",h.upHandler,g)),t.setColumnSizingInfo(e=>({...e,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:n.id}))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var r;e.setColumnSizing(t?{}:null!=(r=e.initialState.columnSizing)?r:{})},e.resetHeaderSizeInfo=t=>{var r;e.setColumnSizingInfo(t?D():null!=(r=e.initialState.columnSizingInfo)?r:D())},e.getTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getHeaderGroups()[0])?void 0:r.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getLeftTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getLeftHeaderGroups()[0])?void 0:r.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getCenterTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getCenterHeaderGroups()[0])?void 0:r.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getRightTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getRightHeaderGroups()[0])?void 0:r.headers.reduce((e,t)=>e+t.getSize(),0))?t:0}}}];function U(e){var t,r;let o=[...q,...null!=(t=e._features)?t:[]],i={_features:o},l=i._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(i)),{}),u=e=>i.options.mergeOptions?i.options.mergeOptions(l,e):{...l,...e},c={...null!=(r=e.initialState)?r:{}};i._features.forEach(e=>{var t;c=null!=(t=null==e.getInitialState?void 0:e.getInitialState(c))?t:c});let d=[],p=!1,f={_features:o,options:{...l,...e},initialState:c,_queue:e=>{d.push(e),p||(p=!0,Promise.resolve().then(()=>{for(;d.length;)d.shift()();p=!1}).catch(e=>setTimeout(()=>{throw e})))},reset:()=>{i.setState(i.initialState)},setOptions:e=>{let t=n(e,i.options);i.options=u(t)},getState:()=>i.options.state,setState:e=>{null==i.options.onStateChange||i.options.onStateChange(e)},_getRowId:(e,t,r)=>{var n;return null!=(n=null==i.options.getRowId?void 0:i.options.getRowId(e,t,r))?n:`${r?[r.id,t].join("."):t}`},getCoreRowModel:()=>(i._getCoreRowModel||(i._getCoreRowModel=i.options.getCoreRowModel(i)),i._getCoreRowModel()),getRowModel:()=>i.getPaginationRowModel(),getRow:(e,t)=>{let r=(t?i.getPrePaginationRowModel():i.getRowModel()).rowsById[e];if(!r&&!(r=i.getCoreRowModel().rowsById[e]))throw Error();return r},_getDefaultColumnDef:a(()=>[i.options.defaultColumn],e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{let t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,r;return null!=(t=null==(r=e.renderValue())||null==r.toString?void 0:r.toString())?t:null},...i._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef()),{}),...e}},s(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>i.options.columns,getAllColumns:a(()=>[i._getColumnDefs()],e=>{let t=function(e,r,n){return void 0===n&&(n=0),e.map(e=>{let o=function(e,t,r,n){var o,i;let l;let u={...e._getDefaultColumnDef(),...t},c=u.accessorKey,d=null!=(o=null!=(i=u.id)?i:c?"function"==typeof String.prototype.replaceAll?c.replaceAll(".","_"):c.replace(/\./g,"_"):void 0)?o:"string"==typeof u.header?u.header:void 0;if(u.accessorFn?l=u.accessorFn:c&&(l=c.includes(".")?e=>{let t=e;for(let e of c.split(".")){var r;t=null==(r=t)?void 0:r[e]}return t}:e=>e[u.accessorKey]),!d)throw Error();let p={id:`${String(d)}`,accessorFn:l,parent:n,depth:r,columnDef:u,columns:[],getFlatColumns:a(()=>[!0],()=>{var e;return[p,...null==(e=p.columns)?void 0:e.flatMap(e=>e.getFlatColumns())]},s(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:a(()=>[e._getOrderColumnsFn()],e=>{var t;return null!=(t=p.columns)&&t.length?e(p.columns.flatMap(e=>e.getLeafColumns())):[p]},s(e.options,"debugColumns","column.getLeafColumns"))};for(let t of e._features)null==t.createColumn||t.createColumn(p,e);return p}(i,e,n,r);return o.columns=e.columns?t(e.columns,o,n+1):[],o})};return t(e)},s(e,"debugColumns","getAllColumns")),getAllFlatColumns:a(()=>[i.getAllColumns()],e=>e.flatMap(e=>e.getFlatColumns()),s(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:a(()=>[i.getAllFlatColumns()],e=>e.reduce((e,t)=>(e[t.id]=t,e),{}),s(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:a(()=>[i.getAllColumns(),i._getOrderColumnsFn()],(e,t)=>t(e.flatMap(e=>e.getLeafColumns())),s(e,"debugColumns","getAllLeafColumns")),getColumn:e=>i._getAllFlatColumnsById()[e]};Object.assign(i,f);for(let e=0;ea(()=>[e.options.data],t=>{let r={rows:[],flatRows:[],rowsById:{}},n=function(t,o,i){void 0===o&&(o=0);let a=[];for(let l=0;le._autoResetPageIndex()))}function $(){return e=>a(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,r,n)=>{var o,i;let a,s;if(!t.rows.length||!(null!=r&&r.length)&&!n){for(let e=0;e{var r;let n=e.getColumn(t.id);if(!n)return;let o=n.getFilterFn();o&&l.push({id:t.id,filterFn:o,resolvedValue:null!=(r=null==o.resolveFilterValue?void 0:o.resolveFilterValue(t.value))?r:t.value})});let c=(null!=r?r:[]).map(e=>e.id),p=e.getGlobalFilterFn(),f=e.getAllLeafColumns().filter(e=>e.getCanGlobalFilter());n&&p&&f.length&&(c.push("__global__"),f.forEach(e=>{var t;u.push({id:e.id,filterFn:p,resolvedValue:null!=(t=null==p.resolveFilterValue?void 0:p.resolveFilterValue(n))?t:n})}));for(let e=0;e{r.columnFiltersMeta[t]=e})}if(u.length){for(let e=0;e{r.columnFiltersMeta[t]=e})){r.columnFilters.__global__=!0;break}}!0!==r.columnFilters.__global__&&(r.columnFilters.__global__=!1)}}return o=t.rows,i=e=>{for(let t=0;te._autoResetPageIndex()))}function H(e){return e=>a(()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded],(t,r)=>{let n;if(!r.rows.length)return r;let{pageSize:o,pageIndex:i}=t,{rows:a,flatRows:s,rowsById:l}=r,u=o*i;a=a.slice(u,u+o),(n=e.options.paginateExpandedRows?{rows:a,flatRows:s,rowsById:l}:function(e){let t=[],r=e=>{var n;t.push(e),null!=(n=e.subRows)&&n.length&&e.getIsExpanded()&&e.subRows.forEach(r)};return e.rows.forEach(r),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}({rows:a,flatRows:s,rowsById:l})).flatRows=[];let c=e=>{n.flatRows.push(e),e.subRows.length&&e.subRows.forEach(c)};return n.rows.forEach(c),n},s(e.options,"debugTable","getPaginationRowModel"))}function G(){return e=>a(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,r)=>{if(!r.rows.length||!(null!=t&&t.length))return r;let n=e.getState().sorting,o=[],i=n.filter(t=>{var r;return null==(r=e.getColumn(t.id))?void 0:r.getCanSort()}),a={};i.forEach(t=>{let r=e.getColumn(t.id);r&&(a[t.id]={sortUndefined:r.columnDef.sortUndefined,invertSorting:r.columnDef.invertSorting,sortingFn:r.getSortingFn()})});let s=e=>{let t=e.map(e=>({...e}));return t.sort((e,t)=>{for(let n=0;n{var t;o.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=s(e.subRows))}),t};return{rows:s(r.rows),flatRows:o,rowsById:r.rowsById}},s(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}},81323:function(e,t,r){"use strict";r.d(t,{D5:function(){return P},Jx:function(){return Z},Sx:function(){return k},kY:function(){return R},un:function(){return h}});var n=r(67294),o=r(73935),i=r(64063);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;tgoogle.maps.importLibrary(e)))}static serializeParams(e){return[e.v,e.key,e.language,e.region,e.authReferrerPolicy,e.solutionChannel].join("/")}static initImportLibrary(e){if(window.google||(window.google={}),window.google.maps||(window.google.maps={}),window.google.maps.importLibrary){console.error("[google-maps-api-loader-internal]: initImportLibrary must only be called once");return}let t=null,r=()=>t||(t=new Promise((t,r)=>{var n;let o=document.createElement("script"),i=new URLSearchParams;for(let[t,r]of Object.entries(e)){let e=t.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase());i.set(e,String(r))}i.set("loading","async"),i.set("callback","__googleMapsCallback__"),o.async=!0,o.src="https://maps.googleapis.com/maps/api/js?"+i.toString(),o.nonce=(null==(n=document.querySelector("script[nonce]"))?void 0:n.nonce)||"",o.onerror=()=>{this.loadingStatus=u.FAILED,this.notifyLoadingStatusListeners(),r(Error("The Google Maps JavaScript API could not load."))},window.__googleMapsCallback__=()=>{this.loadingStatus=u.LOADED,this.notifyLoadingStatusListeners(),t()},window.gm_authFailure=()=>{this.loadingStatus=u.AUTH_FAILURE,this.notifyLoadingStatusListeners()},this.loadingStatus=u.LOADING,this.notifyLoadingStatusListeners(),document.head.append(o)}));google.maps.importLibrary=e=>r().then(()=>google.maps.importLibrary(e))}static notifyLoadingStatusListeners(){for(let e of this.listeners)e(this.loadingStatus)}}c.loadingStatus=u.NOT_LOADED,c.serializedApiParams=void 0,c.listeners=[];let d=["onLoad","onError","apiKey","version","libraries"],p=["children"],f=n.createContext(null),h=e=>{let{children:t}=e,r=s(e,p),{mapInstances:o,addMapInstance:i,removeMapInstance:u,clearMapInstances:h}=function(){let[e,t]=(0,n.useState)({});return{mapInstances:e,addMapInstance:(e,r="default")=>{t(t=>a({},t,{[r]:e}))},removeMapInstance:(e="default")=>{t(t=>s(t,[e].map(l)))},clearMapInstances:()=>{t({})}}}(),{status:m,loadedLibraries:g,importLibrary:y}=function(e){let{onLoad:t,onError:r,apiKey:o,version:i,libraries:l=[]}=e,u=s(e,d),[p,f]=(0,n.useState)(c.loadingStatus),[h,m]=(0,n.useReducer)((e,t)=>e[t.name]?e:a({},e,{[t.name]:t.value}),{}),g=(0,n.useMemo)(()=>null==l?void 0:l.join(","),[l]),y=(0,n.useMemo)(()=>JSON.stringify(a({apiKey:o,version:i},u)),[o,i,u]),v=(0,n.useCallback)(async e=>{var t;if(h[e])return h[e];if(!(null!=(t=google)&&null!=(t=t.maps)&&t.importLibrary))throw Error("[api-provider-internal] importLibrary was called before google.maps.importLibrary was defined.");let r=await window.google.maps.importLibrary(e);return m({name:e,value:r}),r},[h]);return(0,n.useEffect)(()=>{(async()=>{try{let e=a({key:o},u);for(let t of(i&&(e.v=i),(null==g?void 0:g.length)>0&&(e.libraries=g),(void 0===e.channel||e.channel<0||e.channel>999)&&delete e.channel,void 0===e.solutionChannel?e.solutionChannel="GMP_visgl_rgmlibrary_v1_default":""===e.solutionChannel&&delete e.solutionChannel,await c.load(e,e=>f(e)),["core","maps",...l]))await v(t);t&&t()}catch(e){r?r(e):console.error(" failed to load the Google Maps JavaScript API",e)}})()},[o,g,y]),{status:p,loadedLibraries:h,importLibrary:v}}(r),v=(0,n.useMemo)(()=>({mapInstances:o,addMapInstance:i,removeMapInstance:u,clearMapInstances:h,status:m,loadedLibraries:g,importLibrary:y}),[o,i,u,h,m,g,y]);return n.createElement(f.Provider,{value:v},t)},m={onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onContextmenu:"contextmenu",onDblclick:"dblclick",onDrag:"drag",onDragend:"dragend",onDragstart:"dragstart",onHeadingChanged:"heading_changed",onIdle:"idle",onIsFractionalZoomEnabledChanged:"isfractionalzoomenabled_changed",onMapCapabilitiesChanged:"mapcapabilities_changed",onMapTypeIdChanged:"maptypeid_changed",onMousemove:"mousemove",onMouseout:"mouseout",onMouseover:"mouseover",onProjectionChanged:"projection_changed",onRenderingTypeChanged:"renderingtype_changed",onTilesLoaded:"tilesloaded",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed",onCameraChanged:"bounds_changed"},g=["bounds_changed","center_changed","heading_changed","tilt_changed","zoom_changed"],y=["click","contextmenu","dblclick","mousemove","mouseout","mouseover"],v=Object.keys(m),b=new Set(["backgroundColor","clickableIcons","controlSize","disableDefaultUI","disableDoubleClickZoom","draggable","draggableCursor","draggingCursor","fullscreenControl","fullscreenControlOptions","gestureHandling","headingInteractionEnabled","isFractionalZoomEnabled","keyboardShortcuts","mapTypeControl","mapTypeControlOptions","mapTypeId","maxZoom","minZoom","noClear","panControl","panControlOptions","restriction","rotateControl","rotateControlOptions","scaleControl","scaleControlOptions","scrollwheel","streetView","streetViewControl","streetViewControlOptions","styles","tiltInteractionEnabled","zoomControl","zoomControlOptions"]);function w(){var e;return(null==(e=(0,n.useContext)(f))?void 0:e.status)||u.NOT_LOADED}function E(e){return e&&"object"==typeof e&&"lat"in e&&"lng"in e&&Number.isFinite(e.lat)&&Number.isFinite(e.lng)?e:e.toJSON()}let x=()=>n.createElement("div",{style:{position:"absolute",top:0,left:0,bottom:0,right:0,zIndex:999,display:"flex",flexFlow:"column nowrap",textAlign:"center",justifyContent:"center",fontSize:".8rem",color:"rgba(0,0,0,0.6)",background:"#dddddd",padding:"1rem 1.5rem"}},n.createElement("h2",null,"Error: AuthFailure"),n.createElement("p",null,"A problem with your API key prevents the map from rendering correctly. Please make sure the value of the ",n.createElement("code",null,"APIProvider.apiKey")," prop is correct. Check the error-message in the console for further details."));function S(){return w()===u.LOADED}let C=["id","defaultBounds","defaultCenter","defaultZoom","defaultHeading","defaultTilt","reuseMaps","renderingType","colorScheme"],O=["padding"];class T{static has(e){return this.entries[e]&&this.entries[e].length>0}static pop(e){return this.entries[e]&&this.entries[e].pop()||null}static push(e,t){this.entries[e]||(this.entries[e]=[]),this.entries[e].push(t)}}T.entries={};let D=n.createContext(null),P=e=>{let{children:t,id:r,className:o,style:l}=e,c=(0,n.useContext)(f),d=w();if(!c)throw Error(" can only be used inside an component.");let[p,h,P]=function(e,t){let r=S(),[o,i]=(0,n.useState)(null),[l,u]=function(){let[e,t]=(0,n.useState)(null);return[e,(0,n.useCallback)(e=>t(e),[t])]}(),c=function(e){let t=function(){let[,e]=(0,n.useReducer)(e=>e+1,0);return e}(),r=(0,n.useRef)({center:{lat:0,lng:0},heading:0,tilt:0,zoom:0});return(0,n.useEffect)(()=>{if(!e)return;let n=google.maps.event.addListener(e,"bounds_changed",()=>{(function(e,t){let r=e.getCenter(),n=e.getZoom(),o=e.getHeading()||0,i=e.getTilt()||0,a=e.getBounds();r&&a&&Number.isFinite(n)||console.warn("[useTrackedCameraState] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),Object.assign(t.current,{center:(null==r?void 0:r.toJSON())||{lat:0,lng:0},zoom:n||0,heading:o,tilt:i})})(e,r),t()});return()=>n.remove()},[e,t]),r}(o),{id:d,defaultBounds:p,defaultCenter:f,defaultZoom:h,defaultHeading:m,defaultTilt:g,reuseMaps:y,renderingType:v,colorScheme:b}=e,w=s(e,C),E=void 0!==e.zoom||void 0!==e.defaultZoom,x=void 0!==e.center||void 0!==e.defaultCenter;for(let e of(p||E&&x||console.warn(" component is missing configuration. You have to provide zoom and center (via the `zoom`/`defaultZoom` and `center`/`defaultCenter` props) or specify the region to show using `defaultBounds`. See https://visgl.github.io/react-google-maps/docs/api-reference/components/map#required"),!w.center&&f&&(w.center=f),!w.zoom&&Number.isFinite(h)&&(w.zoom=h),!w.heading&&Number.isFinite(m)&&(w.heading=m),!w.tilt&&Number.isFinite(g)&&(w.tilt=g),Object.keys(w)))void 0===w[e]&&delete w[e];let D=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{let n,o;if(!l||!r)return;let{addMapInstance:u,removeMapInstance:f}=t,{mapId:h}=e,m=`${h||"default"}:${v||"default"}:${b||"LIGHT"}`;if(y&&T.has(m)?(n=(o=T.pop(m)).getDiv(),l.appendChild(n),o.setOptions(w),setTimeout(()=>o.setCenter(o.getCenter()),0)):((n=document.createElement("div")).style.height="100%",l.appendChild(n),o=new google.maps.Map(n,a({},w,v?{renderingType:v}:{},b?{colorScheme:b}:{}))),i(o),u(o,d),p){let{padding:e}=p,t=s(p,O);o.fitBounds(t,e)}else E&&x||o.fitBounds({east:180,west:-180,south:-90,north:90});if(D.current){let{mapId:e,cameraState:t}=D.current;e!==h&&o.setOptions(t)}return()=>{D.current={mapId:h,cameraState:c.current},n.remove(),y?T.push(m,o):google.maps.event.clearInstanceListeners(o),i(null),f(d)}},[l,r,d,e.mapId,e.renderingType,e.colorScheme]),[o,u,c]}(e,c);!function(e,t,r){let o=r.center?E(r.center):null,i=null,a=null;o&&Number.isFinite(o.lat)&&Number.isFinite(o.lng)&&(i=o.lat,a=o.lng);let s=Number.isFinite(r.zoom)?r.zoom:null,l=Number.isFinite(r.heading)?r.heading:null,u=Number.isFinite(r.tilt)?r.tilt:null;(0,n.useLayoutEffect)(()=>{if(!e)return;let r={},n=!1;null!==i&&null!==a&&(t.current.center.lat!==i||t.current.center.lng!==a)&&(r.center={lat:i,lng:a},n=!0),null!==s&&t.current.zoom!==s&&(r.zoom=s,n=!0),null!==l&&t.current.heading!==l&&(r.heading=l,n=!0),null!==u&&t.current.tilt!==u&&(r.tilt=u,n=!0),n&&e.moveCamera(r)})}(p,P,e),function(e,t){for(let r of v){let o=t[r],i=m[r];(0,n.useEffect)(()=>{if(!e||!o)return;let t=google.maps.event.addListener(e,i,t=>{o(function(e,t,r){let n={type:e,map:t,detail:{},stoppable:!1,stop:()=>{}};if(g.includes(e)){let e=t.getCenter(),r=t.getZoom(),o=t.getHeading()||0,i=t.getTilt()||0,a=t.getBounds();return e&&a&&Number.isFinite(r)||console.warn("[createEvent] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),n.detail={center:(null==e?void 0:e.toJSON())||{lat:0,lng:0},zoom:r||0,heading:o,tilt:i,bounds:(null==a?void 0:a.toJSON())||{north:90,east:180,south:-90,west:-180}},n}if(y.includes(e)){var o;if(!r)throw Error("[createEvent] mouse events must provide a srcEvent");return n.domEvent=r.domEvent,n.stoppable=!0,n.stop=()=>r.stop(),n.detail={latLng:(null==(o=r.latLng)?void 0:o.toJSON())||null,placeId:r.placeId},n}return n}(i,e,t))});return()=>t.remove()},[e,i,o])}}(p,e),function(e,t){let r={};for(let e of Object.keys(t))b.has(e)&&(r[e]=t[e]);!function(e,t){let r=(0,n.useRef)(void 0);r.current&&i(t,r.current)||(r.current=t),(0,n.useEffect)(e,r.current)}(()=>{e&&e.setOptions(r)},[r])}(p,e);let A=function(e,t){let{viewport:r,viewState:o}=t;return(0,n.useLayoutEffect)(()=>{if(!e||!o)return;let{latitude:t,longitude:r,bearing:n,pitch:i,zoom:a}=o;e.moveCamera({center:{lat:t,lng:r},heading:n,tilt:i,zoom:a+1})},[e,o]),!!r}(p,e),k=!!e.controlled;(0,n.useEffect)(()=>{if(p)return A&&p.setOptions({disableDefaultUI:!0}),(A||k)&&p.setOptions({gestureHandling:"none",keyboardShortcuts:!1}),()=>{p.setOptions({gestureHandling:e.gestureHandling,keyboardShortcuts:e.keyboardShortcuts})}},[p,A,k,e.gestureHandling,e.keyboardShortcuts]);let R=e.center?E(e.center):null,I=null,_=null;R&&Number.isFinite(R.lat)&&Number.isFinite(R.lng)&&(I=R.lat,_=R.lng);let N=(0,n.useMemo)(()=>{var t,r,n,o,i;return{center:{lat:null!=(t=I)?t:0,lng:null!=(r=_)?r:0},zoom:null!=(n=e.zoom)?n:0,heading:null!=(o=e.heading)?o:0,tilt:null!=(i=e.tilt)?i:0}},[I,_,e.zoom,e.heading,e.tilt]);(0,n.useLayoutEffect)(()=>{if(!p||!k)return;p.moveCamera(N);let e=p.addListener("bounds_changed",()=>{p.moveCamera(N)});return()=>e.remove()},[p,k,N]);let L=(0,n.useMemo)(()=>a({width:"100%",height:"100%",position:"relative",zIndex:A?-1:0},l),[l,A]),M=(0,n.useMemo)(()=>({map:p}),[p]);return d===u.AUTH_FAILURE?n.createElement("div",{style:a({position:"relative"},o?{}:L),className:o},n.createElement(x,null)):n.createElement("div",a({ref:h,"data-testid":"map",style:o?void 0:L,className:o},r?{id:r}:{}),p?n.createElement(D.Provider,{value:M},t):null)};P.deckGLViewProps=!0;let A=new Set,k=(e=null)=>{let t=(0,n.useContext)(f),{map:r}=(0,n.useContext)(D)||{};if(null===t)return!function(...e){let t=JSON.stringify(e);A.has(t)||(A.add(t),console.error(...e))}("useMap(): failed to retrieve APIProviderContext. Make sure that the component exists and that the component you are calling `useMap()` from is a sibling of the ."),null;let{mapInstances:o}=t;return null!==e?o[e]||null:r||o.default||null};function R(e){let t=S(),r=(0,n.useContext)(f);return(0,n.useEffect)(()=>{t&&r&&r.importLibrary(e)},[t,r,e]),(null==r?void 0:r.loadedLibraries[e])||null}function I(e,t,r){(0,n.useEffect)(()=>{if(!e||!t||!r)return;let n=google.maps.event.addListener(e,t,r);return()=>n.remove()},[e,t,r])}function _(e,t,r){(0,n.useEffect)(()=>{e&&(e[t]=r)},[e,t,r])}function N(e,t,r){(0,n.useEffect)(()=>{if(e&&t&&r)return e.addEventListener(t,r),()=>e.removeEventListener(t,r)},[e,t,r])}function L(e){return e.nodeType===Node.ELEMENT_NODE}let M=n.createContext(null),j={BOTTOM:["50%","100%"]},F=({children:e,styles:t,className:r,anchorPoint:o})=>{let[i,a]=null!=o?o:j.BOTTOM,s=`-${i}`,l=`-${a}`;i.trimStart().startsWith("-")&&(s=i.substring(1)),a.trimStart().startsWith("-")&&(l=a.substring(1));let u=`translate(50%, 100%) translate(${s}, ${l})`;return n.createElement("div",{style:{transform:u}},n.createElement("div",{className:r,style:t},e))};(0,n.forwardRef)((e,t)=>{let{children:r,style:i,className:a,anchorPoint:s}=e,[l,u]=function(e){let[t,r]=(0,n.useState)(null),[o,i]=(0,n.useState)(null),a=k(),s=R("marker"),{children:l,onClick:u,className:c,onMouseEnter:d,onMouseLeave:p,onDrag:f,onDragStart:h,onDragEnd:m,collisionBehavior:g,clickable:y,draggable:v,position:b,title:w,zIndex:E}=e,x=n.Children.count(l);return(0,n.useEffect)(()=>{if(!a||!s)return;let e=new s.AdvancedMarkerElement;e.map=a,r(e);let t=null;return x>0&&((t=document.createElement("div")).isCustomMarker=!0,e.content=t,i(t)),()=>{var n;e.map=null,null==(n=t)||n.remove(),r(null),i(null)}},[a,s,x]),(0,n.useEffect)(()=>{null!=t&&t.content&&L(t.content)&&!(x>0)&&(t.content.className=null!=c?c:"")},[t,c,x]),_(t,"position",b),_(t,"title",null!=w?w:""),_(t,"zIndex",E),_(t,"collisionBehavior",g),(0,n.useEffect)(()=>{t&&(void 0!==v?t.gmpDraggable=v:f||h||m?t.gmpDraggable=!0:t.gmpDraggable=!1)},[t,v,f,m,h]),(0,n.useEffect)(()=>{if(!t)return;let e=void 0!==y||!!u||!!d||!!p;t.gmpClickable=e,e&&null!=t&&t.content&&L(t.content)&&(t.content.style.pointerEvents="none",t.content.firstElementChild&&(t.content.firstElementChild.style.pointerEvents="all"))},[t,y,u,d,p]),I(t,"click",u),I(t,"drag",f),I(t,"dragstart",h),I(t,"dragend",m),N(null==t?void 0:t.element,"mouseenter",d),N(null==t?void 0:t.element,"mouseleave",p),[t,o]}(e),c=(0,n.useMemo)(()=>l?{marker:l}:null,[l]);return((0,n.useImperativeHandle)(t,()=>l,[l]),u)?n.createElement(M.Provider,{value:c},(0,o.createPortal)(n.createElement(F,{anchorPoint:s,styles:i,className:a},r),u)):null});let B=["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut"],Z=(0,n.forwardRef)((e,t)=>{let r=function(e){let[t,r]=(0,n.useState)(null),o=k(),{onClick:i,onDrag:a,onDragStart:l,onDragEnd:u,onMouseOver:c,onMouseOut:d}=e,p=s(e,B),{position:f,draggable:h}=p;return(0,n.useEffect)(()=>{if(!o){void 0===o&&console.error(" has to be inside a Map component.");return}let e=new google.maps.Marker(p);return e.setMap(o),r(e),()=>{e.setMap(null),r(null)}},[o]),(0,n.useEffect)(()=>{if(!t)return;let e=google.maps.event;return i&&e.addListener(t,"click",i),a&&e.addListener(t,"drag",a),l&&e.addListener(t,"dragstart",l),u&&e.addListener(t,"dragend",u),c&&e.addListener(t,"mouseover",c),d&&e.addListener(t,"mouseout",d),t.setDraggable(!!h),()=>{e.clearInstanceListeners(t)}},[t,h,i,a,l,u,c,d]),(0,n.useEffect)(()=>{t&&p&&t.setOptions(p)},[t,p]),(0,n.useEffect)(()=>{!h&&f&&t&&t.setPosition(f)},[h,f,t]),t}(e);return(0,n.useImperativeHandle)(t,()=>r,[r]),n.createElement(n.Fragment,null)})},87066:function(e,t,r){"use strict";let n,o,i,a,s;r.d(t,{default:function(){return tm}});var l,u,c,d,p,f={};function h(e,t){return function(){return e.apply(t,arguments)}}r.r(f),r.d(f,{hasBrowserEnv:function(){return ev},hasStandardBrowserEnv:function(){return ew},hasStandardBrowserWebWorkerEnv:function(){return eE},navigator:function(){return eb},origin:function(){return ex}});var m=r(34155);let{toString:g}=Object.prototype,{getPrototypeOf:y}=Object,{iterator:v,toStringTag:b}=Symbol,w=(n=Object.create(null),e=>{let t=g.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),E=e=>(e=e.toLowerCase(),t=>w(t)===e),x=e=>t=>typeof t===e,{isArray:S}=Array,C=x("undefined"),O=E("ArrayBuffer"),T=x("string"),D=x("function"),P=x("number"),A=e=>null!==e&&"object"==typeof e,k=e=>{if("object"!==w(e))return!1;let t=y(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(b in e)&&!(v in e)},R=E("Date"),I=E("File"),_=E("Blob"),N=E("FileList"),L=E("URLSearchParams"),[M,j,F,B]=["ReadableStream","Request","Response","Headers"].map(E);function Z(e,t,{allOwnKeys:r=!1}={}){let n,o;if(null!=e){if("object"!=typeof e&&(e=[e]),S(e))for(n=0,o=e.length;n0;)if(t===(r=n[o]).toLowerCase())return r;return null}let q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,U=e=>!C(e)&&e!==q,z=(o="undefined"!=typeof Uint8Array&&y(Uint8Array),e=>o&&e instanceof o),$=E("HTMLFormElement"),H=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),G=E("RegExp"),W=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};Z(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)},K=E("AsyncFunction"),Y=(l="function"==typeof setImmediate,u=D(q.postMessage),l?setImmediate:u?(c=`axios@${Math.random()}`,d=[],q.addEventListener("message",({source:e,data:t})=>{e===q&&t===c&&d.length&&d.shift()()},!1),e=>{d.push(e),q.postMessage(c,"*")}):e=>setTimeout(e)),Q="undefined"!=typeof queueMicrotask?queueMicrotask.bind(q):void 0!==m&&m.nextTick||Y;var J={isArray:S,isArrayBuffer:O,isBuffer:function(e){return null!==e&&!C(e)&&null!==e.constructor&&!C(e.constructor)&&D(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||D(e.append)&&("formdata"===(t=w(e))||"object"===t&&D(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&O(e.buffer)},isString:T,isNumber:P,isBoolean:e=>!0===e||!1===e,isObject:A,isPlainObject:k,isReadableStream:M,isRequest:j,isResponse:F,isHeaders:B,isUndefined:C,isDate:R,isFile:I,isBlob:_,isRegExp:G,isFunction:D,isStream:e=>A(e)&&D(e.pipe),isURLSearchParams:L,isTypedArray:z,isFileList:N,forEach:Z,merge:function e(){let{caseless:t}=U(this)&&this||{},r={},n=(n,o)=>{let i=t&&V(r,o)||o;k(r[i])&&k(n)?r[i]=e(r[i],n):k(n)?r[i]=e({},n):S(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e(Z(t,(t,n)=>{r&&D(t)?e[n]=h(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a;let s={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==r&&y(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:w,kindOfTest:E,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(S(e))return e;let t=e.length;if(!P(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=(e&&e[v]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:$,hasOwnProperty:H,hasOwnProp:H,reduceDescriptors:W,freezeMethods:e=>{W(e,(t,r)=>{if(D(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(D(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(S(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:V,global:q,isContextDefined:U,isSpecCompliantForm:function(e){return!!(e&&D(e.append)&&"FormData"===e[b]&&e[v])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(A(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let o=S(e)?[]:{};return Z(e,(e,t)=>{let i=r(e,n+1);C(i)||(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:K,isThenable:e=>e&&(A(e)||D(e))&&D(e.then)&&D(e.catch),setImmediate:Y,asap:Q,isIterable:e=>null!=e&&D(e[v])};function X(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}J.inherits(X,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}});let ee=X.prototype,et={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{et[e]={value:e}}),Object.defineProperties(X,et),Object.defineProperty(ee,"isAxiosError",{value:!0}),X.from=(e,t,r,n,o,i)=>{let a=Object.create(ee);return J.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),X.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var er=r(48764).Buffer;function en(e){return J.isPlainObject(e)||J.isArray(e)}function eo(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function ei(e,t,r){return e?e.concat(t).map(function(e,t){return e=eo(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let ea=J.toFlatObject(J,{},null,function(e){return/^is[A-Z]/.test(e)});var es=function(e,t,r){if(!J.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=J.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!J.isUndefined(t[e])})).metaTokens,o=r.visitor||u,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(o))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(J.isDate(e))return e.toISOString();if(J.isBoolean(e))return e.toString();if(!s&&J.isBlob(e))throw new X("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(e)||J.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):er.from(e):e}function u(e,r,o){let s=e;if(e&&!o&&"object"==typeof e){if(J.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var u;if(J.isArray(e)&&(u=e,J.isArray(u)&&!u.some(en))||(J.isFileList(e)||J.endsWith(r,"[]"))&&(s=J.toArray(e)))return r=eo(r),s.forEach(function(e,n){J.isUndefined(e)||null===e||t.append(!0===a?ei([r],n,i):null===a?r:r+"[]",l(e))}),!1}}return!!en(e)||(t.append(ei(o,r,i),l(e)),!1)}let c=[],d=Object.assign(ea,{defaultVisitor:u,convertValue:l,isVisitable:en});if(!J.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!J.isUndefined(r)){if(-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),J.forEach(r,function(r,i){!0===(!(J.isUndefined(r)||null===r)&&o.call(t,r,J.isString(i)?i.trim():i,n,d))&&e(r,n?n.concat(i):[i])}),c.pop()}}(e),t};function el(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function eu(e,t){this._pairs=[],e&&es(e,this,t)}let ec=eu.prototype;function ed(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ep(e,t,r){let n;if(!t)return e;let o=r&&r.encode||ed;J.isFunction(r)&&(r={serialize:r});let i=r&&r.serialize;if(n=i?i(t,r):J.isURLSearchParams(t)?t.toString():new eu(t,r).toString(o)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}ec.append=function(e,t){this._pairs.push([e,t])},ec.toString=function(e){let t=e?function(t){return e.call(this,t,el)}:el;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ef{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){J.forEach(this.handlers,function(t){null!==t&&e(t)})}}var eh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},em="undefined"!=typeof URLSearchParams?URLSearchParams:eu,eg="undefined"!=typeof FormData?FormData:null,ey="undefined"!=typeof Blob?Blob:null;let ev="undefined"!=typeof window&&"undefined"!=typeof document,eb="object"==typeof navigator&&navigator||void 0,ew=ev&&(!eb||0>["ReactNative","NativeScript","NS"].indexOf(eb.product)),eE="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ex=ev&&window.location.href||"http://localhost";var eS={...f,isBrowser:!0,classes:{URLSearchParams:em,FormData:eg,Blob:ey},protocols:["http","https","file","blob","url","data"]},eC=function(e){if(J.isFormData(e)&&J.isFunction(e.entries)){let t={};return J.forEachEntry(e,(e,r)=>{!function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;let a=Number.isFinite(+i),s=o>=t.length;return(i=!i&&J.isArray(n)?n.length:i,s)?J.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r:(n[i]&&J.isObject(n[i])||(n[i]=[]),e(t,r,n[i],o)&&J.isArray(n[i])&&(n[i]=function(e){let t,r;let n={},o=Object.keys(e),i=o.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let eO={transitional:eh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=J.isObject(e);if(i&&J.isHTMLForm(e)&&(e=new FormData(e)),J.isFormData(e))return o?JSON.stringify(eC(e)):e;if(J.isArrayBuffer(e)||J.isBuffer(e)||J.isStream(e)||J.isFile(e)||J.isBlob(e)||J.isReadableStream(e))return e;if(J.isArrayBufferView(e))return e.buffer;if(J.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1){var a,s;return(a=e,s=this.formSerializer,es(a,new eS.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return eS.isNode&&J.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},s))).toString()}if((r=J.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return es(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,r){if(J.isString(e))try{return(0,JSON.parse)(e),J.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eO.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(J.isResponse(e)||J.isReadableStream(e))return e;if(e&&J.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw X.from(e,X.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eS.classes.FormData,Blob:eS.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{eO.headers[e]={}});let eT=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eD=e=>{let t,r,n;let o={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||o[t]&&eT[t]||("set-cookie"===t?o[t]?o[t].push(r):o[t]=[r]:o[t]=o[t]?o[t]+", "+r:r)}),o};let eP=Symbol("internals");function eA(e){return e&&String(e).trim().toLowerCase()}function ek(e){return!1===e||null==e?e:J.isArray(e)?e.map(ek):String(e)}let eR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eI(e,t,r,n,o){if(J.isFunction(n))return n.call(this,t,r);if(o&&(t=r),J.isString(t)){if(J.isString(n))return -1!==t.indexOf(n);if(J.isRegExp(n))return n.test(t)}}class e_{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function o(e,t,r){let o=eA(t);if(!o)throw Error("header name must be a non-empty string");let i=J.findKey(n,o);i&&void 0!==n[i]&&!0!==r&&(void 0!==r||!1===n[i])||(n[i||t]=ek(e))}let i=(e,t)=>J.forEach(e,(e,r)=>o(e,r,t));if(J.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(J.isString(e)&&(e=e.trim())&&!eR(e))i(eD(e),t);else if(J.isObject(e)&&J.isIterable(e)){let r={},n,o;for(let t of e){if(!J.isArray(t))throw TypeError("Object iterator must return a key-value pair");r[o=t[0]]=(n=r[o])?J.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(r,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=eA(e)){let r=J.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(J.isFunction(t))return t.call(this,e,r);if(J.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eA(e)){let r=J.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eI(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function o(e){if(e=eA(e)){let o=J.findKey(r,e);o&&(!t||eI(r,r[o],o,t))&&(delete r[o],n=!0)}}return J.isArray(e)?e.forEach(o):o(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let o=t[r];(!e||eI(this,this[o],o,e,!0))&&(delete this[o],n=!0)}return n}normalize(e){let t=this,r={};return J.forEach(this,(n,o)=>{let i=J.findKey(r,o);if(i){t[i]=ek(n),delete t[o];return}let a=e?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(o).trim();a!==o&&delete t[o],t[a]=ek(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return J.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&J.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[eP]=this[eP]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=eA(e);t[n]||(!function(e,t){let r=J.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[n]=!0)}return J.isArray(e)?e.forEach(n):n(e),this}}function eN(e,t){let r=this||eO,n=t||r,o=e_.from(n.headers),i=n.data;return J.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function eL(e){return!!(e&&e.__CANCEL__)}function eM(e,t,r){X.call(this,null==e?"canceled":e,X.ERR_CANCELED,t,r),this.name="CanceledError"}function ej(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new X("Request failed with status code "+r.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}e_.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),J.reduceDescriptors(e_.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),J.freezeMethods(e_),J.inherits(eM,X,{__CANCEL__:!0});var eF=function(e,t){let r;let n=Array(e=e||10),o=Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=o[a];r||(r=l),n[i]=s,o[i]=l;let c=a,d=0;for(;c!==i;)d+=n[c++],c%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),l-r{o=i,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),s=t-o;s>=i?a(e,t):(r=e,n||(n=setTimeout(()=>{n=null,a(r)},i-s)))},()=>r&&a(r)]};let eZ=(e,t,r=3)=>{let n=0,o=eF(50,250);return eB(r=>{let i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,l=o(s);n=i,e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},eV=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},eq=e=>(...t)=>J.asap(()=>e(...t));var eU=eS.hasStandardBrowserEnv?(i=new URL(eS.origin),a=eS.navigator&&/(msie|trident)/i.test(eS.navigator.userAgent),e=>(e=new URL(e,eS.origin),i.protocol===e.protocol&&i.host===e.host&&(a||i.port===e.port))):()=>!0,ez=eS.hasStandardBrowserEnv?{write(e,t,r,n,o,i){let a=[e+"="+encodeURIComponent(t)];J.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),J.isString(n)&&a.push("path="+n),J.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function e$(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||!1==r)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eH=e=>e instanceof e_?{...e}:e;function eG(e,t){t=t||{};let r={};function n(e,t,r,n){return J.isPlainObject(e)&&J.isPlainObject(t)?J.merge.call({caseless:n},e,t):J.isPlainObject(t)?J.merge({},t):J.isArray(t)?t.slice():t}function o(e,t,r,o){return J.isUndefined(t)?J.isUndefined(e)?void 0:n(void 0,e,r,o):n(e,t,r,o)}function i(e,t){if(!J.isUndefined(t))return n(void 0,t)}function a(e,t){return J.isUndefined(t)?J.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}let l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>o(eH(e),eH(t),r,!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(n){let i=l[n]||o,a=i(e[n],t[n],n);J.isUndefined(a)&&i!==s||(r[n]=a)}),r}var eW=e=>{let t;let r=eG({},e),{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=r;if(r.headers=s=e_.from(s),r.url=ep(e$(r.baseURL,r.url,r.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),J.isFormData(n)){if(eS.hasStandardBrowserEnv||eS.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(t=s.getContentType())){let[e,...r]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...r].join("; "))}}if(eS.hasStandardBrowserEnv&&(o&&J.isFunction(o)&&(o=o(r)),o||!1!==o&&eU(r.url))){let e=i&&a&&ez.read(a);e&&s.set(i,e)}return r},eK="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,o,i,a,s;let l=eW(e),u=l.data,c=e_.from(l.headers).normalize(),{responseType:d,onUploadProgress:p,onDownloadProgress:f}=l;function h(){a&&a(),s&&s(),l.cancelToken&&l.cancelToken.unsubscribe(n),l.signal&&l.signal.removeEventListener("abort",n)}let m=new XMLHttpRequest;function g(){if(!m)return;let n=e_.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());ej(function(e){t(e),h()},function(e){r(e),h()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:e,request:m}),m=null}m.open(l.method.toUpperCase(),l.url,!0),m.timeout=l.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(r(new X("Request aborted",X.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new X("Network Error",X.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",n=l.transitional||eh;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),r(new X(t,n.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,m)),m=null},void 0===u&&c.setContentType(null),"setRequestHeader"in m&&J.forEach(c.toJSON(),function(e,t){m.setRequestHeader(t,e)}),J.isUndefined(l.withCredentials)||(m.withCredentials=!!l.withCredentials),d&&"json"!==d&&(m.responseType=l.responseType),f&&([i,s]=eZ(f,!0),m.addEventListener("progress",i)),p&&m.upload&&([o,a]=eZ(p),m.upload.addEventListener("progress",o),m.upload.addEventListener("loadend",a)),(l.cancelToken||l.signal)&&(n=t=>{m&&(r(!t||t.type?new eM(null,e,m):t),m.abort(),m=null)},l.cancelToken&&l.cancelToken.subscribe(n),l.signal&&(l.signal.aborted?n():l.signal.addEventListener("abort",n)));let y=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l.url);if(y&&-1===eS.protocols.indexOf(y)){r(new X("Unsupported protocol "+y+":",X.ERR_BAD_REQUEST,e));return}m.send(u||null)})},eY=(e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController,o=function(e){if(!r){r=!0,a();let t=e instanceof Error?e:this.reason;n.abort(t instanceof X?t:new eM(t instanceof Error?t.message:t))}},i=t&&setTimeout(()=>{i=null,o(new X(`timeout ${t} of ms exceeded`,X.ETIMEDOUT))},t),a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));let{signal:s}=n;return s.unsubscribe=()=>J.asap(a),s}};let eQ=function*(e,t){let r,n=e.byteLength;if(!t||n{let o;let i=eJ(e,t),a=0,s=e=>{!o&&(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await i.next();if(t){s(),e.close();return}let o=n.byteLength;if(r){let e=a+=o;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},e1="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,e2=e1&&"function"==typeof ReadableStream,e3=e1&&("function"==typeof TextEncoder?(s=new TextEncoder,e=>s.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),e5=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e4=e2&&e5(()=>{let e=!1,t=new Request(eS.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),e6=e2&&e5(()=>J.isReadableStream(new Response("").body)),e8={stream:e6&&(e=>e.body)};e1&&(p=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{e8[e]||(e8[e]=J.isFunction(p[e])?t=>t[e]():(t,r)=>{throw new X(`Response type '${e}' is not supported`,X.ERR_NOT_SUPPORT,r)})}));let e9=async e=>{if(null==e)return 0;if(J.isBlob(e))return e.size;if(J.isSpecCompliantForm(e)){let t=new Request(eS.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return J.isArrayBufferView(e)||J.isArrayBuffer(e)?e.byteLength:(J.isURLSearchParams(e)&&(e+=""),J.isString(e))?(await e3(e)).byteLength:void 0},e7=async(e,t)=>{let r=J.toFiniteNumber(e.getContentLength());return null==r?e9(t):r},te={http:null,xhr:eK,fetch:e1&&(async e=>{let t,r,{url:n,method:o,data:i,signal:a,cancelToken:s,timeout:l,onDownloadProgress:u,onUploadProgress:c,responseType:d,headers:p,withCredentials:f="same-origin",fetchOptions:h}=eW(e);d=d?(d+"").toLowerCase():"text";let m=eY([a,s&&s.toAbortSignal()],l),g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});try{if(c&&e4&&"get"!==o&&"head"!==o&&0!==(r=await e7(p,i))){let e,t=new Request(n,{method:"POST",body:i,duplex:"half"});if(J.isFormData(i)&&(e=t.headers.get("content-type"))&&p.setContentType(e),t.body){let[e,n]=eV(r,eZ(eq(c)));i=e0(t.body,65536,e,n)}}J.isString(f)||(f=f?"include":"omit");let a="credentials"in Request.prototype;t=new Request(n,{...h,signal:m,method:o.toUpperCase(),headers:p.normalize().toJSON(),body:i,duplex:"half",credentials:a?f:void 0});let s=await fetch(t,h),l=e6&&("stream"===d||"response"===d);if(e6&&(u||l&&g)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=s[t]});let t=J.toFiniteNumber(s.headers.get("content-length")),[r,n]=u&&eV(t,eZ(eq(u),!0))||[];s=new Response(e0(s.body,65536,r,()=>{n&&n(),g&&g()}),e)}d=d||"text";let y=await e8[J.findKey(e8,d)||"text"](s,e);return!l&&g&&g(),await new Promise((r,n)=>{ej(r,n,{data:y,headers:e_.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:t})})}catch(r){if(g&&g(),r&&"TypeError"===r.name&&/Load failed|fetch/i.test(r.message))throw Object.assign(new X("Network Error",X.ERR_NETWORK,e,t),{cause:r.cause||r});throw X.from(r,r&&r.code,e,t)}})};J.forEach(te,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let tt=e=>`- ${e}`,tr=e=>J.isFunction(e)||null===e||!1===e;var tn=e=>{let t,r;let{length:n}=e=J.isArray(e)?e:[e],o={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new X("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(tt).join("\n"):" "+tt(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function to(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eM(null,e)}function ti(e){return to(e),e.headers=e_.from(e.headers),e.data=eN.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tn(e.adapter||eO.adapter)(e).then(function(t){return to(e),t.data=eN.call(e,e.transformResponse,t),t.headers=e_.from(t.headers),t},function(t){return!eL(t)&&(to(e),t&&t.response&&(t.response.data=eN.call(e,e.transformResponse,t.response),t.response.headers=e_.from(t.response.headers))),Promise.reject(t)})}let ta="1.10.0",ts={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ts[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let tl={};ts.transitional=function(e,t,r){function n(e,t){return"[Axios v"+ta+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new X(n(o," has been removed"+(t?" in "+t:"")),X.ERR_DEPRECATED);return t&&!tl[o]&&(tl[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},ts.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var tu={assertOptions:function(e,t,r){if("object"!=typeof e)throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),o=n.length;for(;o-- >0;){let i=n[o],a=t[i];if(a){let t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new X("option "+i+" must be "+r,X.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new X("Unknown option "+i,X.ERR_BAD_OPTION)}},validators:ts};let tc=tu.validators;class td{constructor(e){this.defaults=e||{},this.interceptors={request:new ef,response:new ef}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:o,paramsSerializer:i,headers:a}=t=eG(this.defaults,t);void 0!==o&&tu.assertOptions(o,{silentJSONParsing:tc.transitional(tc.boolean),forcedJSONParsing:tc.transitional(tc.boolean),clarifyTimeoutError:tc.transitional(tc.boolean)},!1),null!=i&&(J.isFunction(i)?t.paramsSerializer={serialize:i}:tu.assertOptions(i,{encode:tc.function,serialize:tc.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),tu.assertOptions(t,{baseUrl:tc.spelling("baseURL"),withXsrfToken:tc.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&J.merge(a.common,a[t.method]);a&&J.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=e_.concat(s,a);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[ti.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,c),n=e.length,r=Promise.resolve(t);d{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new eM(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new tp(function(t){e=t}),cancel:e}}}let tf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tf).forEach(([e,t])=>{tf[t]=e});let th=function e(t){let r=new td(t),n=h(td.prototype.request,r);return J.extend(n,td.prototype,r,{allOwnKeys:!0}),J.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eG(t,r))},n}(eO);th.Axios=td,th.CanceledError=eM,th.CancelToken=tp,th.isCancel=eL,th.VERSION=ta,th.toFormData=es,th.AxiosError=X,th.Cancel=th.CanceledError,th.all=function(e){return Promise.all(e)},th.spread=function(e){return function(t){return e.apply(null,t)}},th.isAxiosError=function(e){return J.isObject(e)&&!0===e.isAxiosError},th.mergeConfig=eG,th.AxiosHeaders=e_,th.formToJSON=e=>eC(J.isHTMLForm(e)?new FormData(e):e),th.getAdapter=tn,th.HttpStatusCode=tf,th.default=th;var tm=th},90512:function(e,t,r){"use strict";t.Z=function(){for(var e,t,r=0,n="",o=arguments.length;r120){for(var h=Math.floor(c/80),m=c%80,g=[],y=0;y0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack)?(Object.defineProperty(f(x),"stack",{value:u.stack,writable:!0,configurable:!0}),p(x)):(Error.captureStackTrace?Error.captureStackTrace(f(x),l):Object.defineProperty(f(x),"stack",{value:Error().stack,writable:!0,configurable:!0}),x)}return r=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){switch(A(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":if(null===e)return"null";return function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var r,n,o=[].concat(t,[e]),i="function"==typeof(r=e[String(S)])?r:"function"==typeof e.inspect?e.inspect:void 0;if(void 0!==i){var a=i.call(e);if(a!==e)return"string"==typeof a?a:k(a,o)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,o=[],i=0;i1&&o.push("... ".concat(n," more items")),"["+o.join(", ")+"]"}(e,o);return 0===(n=Object.keys(e)).length?"{}":o.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]":"{ "+n.map(function(t){var r=k(e[t],o);return t+": "+r}).join(", ")+" }"}(e,t);default:return String(e)}}function R(e,t){if(!e)throw Error(t)}var I=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||R(0,"Body must be a string. Received: ".concat(k(e,[]),".")),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||R(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||R(0,"column in locationOffset is 1-indexed and must be positive.")}return function(e,t){for(var r=0;r31||9===i));return new T(P.COMMENT,t,s,r,n,o,a.slice(t+1,s))}(r,i,s,l,t);case 36:return new T(P.DOLLAR,i,i+1,s,l,t);case 38:return new T(P.AMP,i,i+1,s,l,t);case 40:return new T(P.PAREN_L,i,i+1,s,l,t);case 41:return new T(P.PAREN_R,i,i+1,s,l,t);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return new T(P.SPREAD,i,i+3,s,l,t);break;case 58:return new T(P.COLON,i,i+1,s,l,t);case 61:return new T(P.EQUALS,i,i+1,s,l,t);case 64:return new T(P.AT,i,i+1,s,l,t);case 91:return new T(P.BRACKET_L,i,i+1,s,l,t);case 93:return new T(P.BRACKET_R,i,i+1,s,l,t);case 123:return new T(P.BRACE_L,i,i+1,s,l,t);case 124:return new T(P.PIPE,i,i+1,s,l,t);case 125:return new T(P.BRACE_R,i,i+1,s,l,t);case 34:if(34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2))return function(e,t,r,n,o,i){for(var a=e.body,s=t+3,l=s,u=0,c="";so&&N(t[i-1]);)--i;return t.slice(o,i).join("\n")}(c));if(u<32&&9!==u&&10!==u&&13!==u)throw E(e,s,"Invalid character within String: ".concat(M(u),"."));10===u?(++s,++i.line,i.lineStart=s):13===u?(10===a.charCodeAt(s+1)?s+=2:++s,++i.line,i.lineStart=s):92===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(c+=a.slice(l,s)+'"""',s+=4,l=s):++s}throw E(e,s,"Unterminated string.")}(r,i,s,l,t,e);return function(e,t,r,n,o){for(var i=e.body,a=t+1,s=a,l=0,u="";a=48&&l<=57)throw E(e,u,"Invalid number, unexpected digit after 0: ".concat(M(l),"."))}else u=j(e,u,l),l=s.charCodeAt(u);if(46===l&&(c=!0,l=s.charCodeAt(++u),u=j(e,u,l),l=s.charCodeAt(u)),(69===l||101===l)&&(c=!0,(43===(l=s.charCodeAt(++u))||45===l)&&(l=s.charCodeAt(++u)),u=j(e,u,l),l=s.charCodeAt(u)),46===l||95===(a=l)||a>=65&&a<=90||a>=97&&a<=122)throw E(e,u,"Invalid number, expected digit but got: ".concat(M(l),"."));return new T(c?P.FLOAT:P.INT,t,u,n,o,i,s.slice(t,u))}(r,i,a,s,l,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,o){for(var i=e.body,a=i.length,s=t+1,l=0;s!==a&&!isNaN(l=i.charCodeAt(s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new T(P.NAME,t,s,r,n,o,i.slice(t,s))}(r,i,s,l,t)}throw E(r,i,a<32&&9!==a&&10!==a&&13!==a?"Cannot contain the invalid character ".concat(M(a),"."):39===a?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(M(a),"."))}var u=e.line,c=1+i-e.lineStart;return new T(P.EOF,o,o,u,c,t)}(this,t);while(t.kind===P.COMMENT);return t},e}();function M(e){return isNaN(e)?P.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function j(e,t,r){var n=e.body,o=t,i=r;if(i>=48&&i<=57){do i=n.charCodeAt(++o);while(i>=48&&i<=57);return o}throw E(e,o,"Invalid number, expected digit but got: ".concat(M(i),"."))}function F(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var B=function(){function e(e,t){var r=e instanceof I?e:new I(e);this._lexer=new L(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(P.NAME);return{kind:x.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:x.DOCUMENT,definitions:this.many(P.SOF,this.parseDefinition,P.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(P.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else if(this.peek(P.BRACE_L))return this.parseOperationDefinition();else if(this.peekDescription())return this.parseTypeSystemDefinition();throw this.unexpected()},t.parseOperationDefinition=function(){var e,t=this._lexer.token;if(this.peek(P.BRACE_L))return{kind:x.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var r=this.parseOperationType();return this.peek(P.NAME)&&(e=this.parseName()),{kind:x.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseOperationType=function(){var e=this.expectToken(P.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(P.PAREN_L,this.parseVariableDefinition,P.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:x.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(P.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(P.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(P.DOLLAR),{kind:x.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:x.SELECTION_SET,selections:this.many(P.BRACE_L,this.parseSelection,P.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(P.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(P.COLON)?(e=n,t=this.parseName()):t=n,{kind:x.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(P.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(P.PAREN_L,t,P.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(P.COLON),{kind:x.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:x.ARGUMENT,name:this.parseName(),value:(this.expectToken(P.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(P.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(P.NAME)?{kind:x.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:x.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return(this.expectKeyword("fragment"),(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)===!0)?{kind:x.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:x.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case P.BRACKET_L:return this.parseList(e);case P.BRACE_L:return this.parseObject(e);case P.INT:return this._lexer.advance(),{kind:x.INT,value:t.value,loc:this.loc(t)};case P.FLOAT:return this._lexer.advance(),{kind:x.FLOAT,value:t.value,loc:this.loc(t)};case P.STRING:case P.BLOCK_STRING:return this.parseStringLiteral();case P.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:x.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:x.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:x.NULL,loc:this.loc(t)};default:return{kind:x.ENUM,value:t.value,loc:this.loc(t)}}case P.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:x.STRING,value:e.value,block:e.kind===P.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:x.LIST,values:this.any(P.BRACKET_L,function(){return t.parseValueLiteral(e)},P.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:x.OBJECT,fields:this.any(P.BRACE_L,function(){return t.parseObjectField(e)},P.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(P.COLON),{kind:x.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(P.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(P.AT),{kind:x.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return(this.expectOptionalToken(P.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(P.BRACKET_R),e={kind:x.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(P.BANG))?{kind:x.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:x.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===P.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(P.STRING)||this.peek(P.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(P.BRACE_L,this.parseOperationTypeDefinition,P.BRACE_R);return{kind:x.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(P.COLON);var r=this.parseNamedType();return{kind:x.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:x.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:x.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:i,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if((null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)===!0){var t=[];this.expectOptionalToken(P.AMP);do t.push(this.parseNamedType());while(this.expectOptionalToken(P.AMP)||this.peek(P.NAME));return t}return this.delimitedMany(P.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)===!0&&this.peek(P.BRACE_L)&&this._lexer.lookahead().kind===P.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(P.BRACE_L,this.parseFieldDefinition,P.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(P.COLON);var o=this.parseTypeReference(),i=this.parseDirectives(!0);return{kind:x.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:i,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(P.PAREN_L,this.parseInputValueDef,P.PAREN_R)},t.parseInputValueDef=function(){var e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(P.COLON);var o=this.parseTypeReference();this.expectOptionalToken(P.EQUALS)&&(e=this.parseValueLiteral(!0));var i=this.parseDirectives(!0);return{kind:x.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:e,directives:i,loc:this.loc(t)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:x.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:i,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:x.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(P.EQUALS)?this.delimitedMany(P.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:x.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(P.BRACE_L,this.parseEnumValueDefinition,P.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:x.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:x.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(P.BRACE_L,this.parseInputValueDef,P.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===P.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(P.BRACE_L,this.parseOperationTypeDefinition,P.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:x.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:x.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:x.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:x.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:x.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:x.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:x.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(P.AT);var r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var i=this.parseDirectiveLocations();return{kind:x.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:i,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(P.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==_[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if((null===(t=this._options)||void 0===t?void 0:t.noLocation)!==!0)return new O(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw E(this._lexer.source,t.start,"Expected ".concat(V(e),", found ").concat(Z(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind===P.NAME&&t.value===e)this._lexer.advance();else throw E(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(Z(t),"."))},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===P.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return E(this._lexer.source,t.start,"Unexpected ".concat(Z(t),"."))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r},e}();function Z(e){var t=e.value;return V(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function V(e){return e===P.BANG||e===P.DOLLAR||e===P.AMP||e===P.PAREN_L||e===P.PAREN_R||e===P.SPREAD||e===P.COLON||e===P.EQUALS||e===P.AT||e===P.BRACKET_L||e===P.BRACKET_R||e===P.BRACE_L||e===P.PIPE||e===P.BRACE_R?'"'.concat(e,'"'):e}var q={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},U=Object.freeze({}),z={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return H(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=W("(",H(e.variableDefinitions,", "),")"),o=H(e.directives," "),i=e.selectionSet;return r||o||n||"query"!==t?H([t,H([r,n]),o,i]," "):i},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,o=e.directives;return t+": "+r+W(" = ",n)+W(" ",H(o," "))},SelectionSet:function(e){return G(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,o=e.directives,i=e.selectionSet,a=W("",t,": ")+r,s=a+W("(",H(n,", "),")");return s.length>80&&(s=a+W("(\n",K(H(n,"\n")),"\n)")),H([s,H(o," "),i]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+W(" ",H(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return H(["...",W("on ",t),H(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,o=e.directives,i=e.selectionSet;return"fragment ".concat(t).concat(W("(",H(n,", "),")")," ")+"on ".concat(r," ").concat(W("",H(o," ")," "))+i},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),o=" "===e[0]||" "===e[0],i='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||i||a||r,l="";return s&&!(n&&o)&&(l+="\n"+t),l+=t?e.replace(/\n/g,"\n"+t):e,s&&(l+="\n"),'"""'+l.replace(/"""/g,'\\"""')+'"""'}(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+H(e.values,", ")+"]"},ObjectValue:function(e){return"{"+H(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+W("(",H(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:$(function(e){var t=e.directives,r=e.operationTypes;return H(["schema",H(t," "),G(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:$(function(e){return H(["scalar",e.name,H(e.directives," ")]," ")}),ObjectTypeDefinition:$(function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return H(["type",t,W("implements ",H(r," & ")),H(n," "),G(o)]," ")}),FieldDefinition:$(function(e){var t=e.name,r=e.arguments,n=e.type,o=e.directives;return t+(Q(r)?W("(\n",K(H(r,"\n")),"\n)"):W("(",H(r,", "),")"))+": "+n+W(" ",H(o," "))}),InputValueDefinition:$(function(e){var t=e.name,r=e.type,n=e.defaultValue,o=e.directives;return H([t+": "+r,W("= ",n),H(o," ")]," ")}),InterfaceTypeDefinition:$(function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return H(["interface",t,W("implements ",H(r," & ")),H(n," "),G(o)]," ")}),UnionTypeDefinition:$(function(e){var t=e.name,r=e.directives,n=e.types;return H(["union",t,H(r," "),n&&0!==n.length?"= "+H(n," | "):""]," ")}),EnumTypeDefinition:$(function(e){var t=e.name,r=e.directives,n=e.values;return H(["enum",t,H(r," "),G(n)]," ")}),EnumValueDefinition:$(function(e){return H([e.name,H(e.directives," ")]," ")}),InputObjectTypeDefinition:$(function(e){var t=e.name,r=e.directives,n=e.fields;return H(["input",t,H(r," "),G(n)]," ")}),DirectiveDefinition:$(function(e){var t=e.name,r=e.arguments,n=e.repeatable,o=e.locations;return"directive @"+t+(Q(r)?W("(\n",K(H(r,"\n")),"\n)"):W("(",H(r,", "),")"))+(n?" repeatable":"")+" on "+H(o," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return H(["extend schema",H(t," "),G(r)]," ")},ScalarTypeExtension:function(e){return H(["extend scalar",e.name,H(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return H(["extend type",t,W("implements ",H(r," & ")),H(n," "),G(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return H(["extend interface",t,W("implements ",H(r," & ")),H(n," "),G(o)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return H(["extend union",t,H(r," "),n&&0!==n.length?"= "+H(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return H(["extend enum",t,H(r," "),G(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return H(["extend input",t,H(r," "),G(n)]," ")}};function $(e){return function(t){return H([t.description,e(t)],"\n")}}function H(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter(function(e){return e}).join(r))&&void 0!==t?t:""}function G(e){return W("{\n",K(H(e,"\n")),"\n}")}function W(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+r:""}function K(e){return W(" ",e.replace(/\n/g,"\n "))}function Y(e){return -1!==e.indexOf("\n")}function Q(e){return null!=e&&e.some(Y)}let J=e=>{let t;let r=e.definitions.filter(e=>"OperationDefinition"===e.kind);return 1===r.length&&(t=r[0]?.name?.value),t},X=e=>{if("string"==typeof e){let t;try{let r=new B(e,void 0).parseDocument();t=J(r)}catch(e){}return{query:e,operationName:t}}let t=J(e);return{query:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:q,n=void 0,o=Array.isArray(e),i=[e],a=-1,s=[],l=void 0,u=void 0,c=void 0,d=[],p=[],f=e;do{var h,m=++a===i.length,g=m&&0!==s.length;if(m){if(u=0===p.length?void 0:d[d.length-1],l=c,c=p.pop(),g){if(o)l=l.slice();else{for(var y={},v=0,b=Object.keys(l);v{this.socketState.acknowledged=!1,this.socketState.subscriptions={},e.send(new en("connection_init",t?await t():null).text)}),e.addEventListener("close",e=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}}),e.addEventListener("error",e=>{console.error(e)}),e.addEventListener("message",t=>{try{let a=function(e,t=e=>e){return en.parse(e,t)}(t.data);switch(a.type){case"connection_ack":this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,r&&r(a.payload));return;case ee:o?o(a.payload).then(t=>e.send(ei(t).text)):e.send(ei(null).text);return;case et:i&&i(a.payload);return}if(!this.socketState.acknowledged||void 0===a.id||null===a.id||!this.socketState.subscriptions[a.id])return;let{query:s,variables:l,subscriber:u}=this.socketState.subscriptions[a.id];switch(a.type){case"next":!a.payload.errors&&a.payload.data&&u.next&&u.next(a.payload.data),a.payload.errors&&u.error&&u.error(new n({...a.payload,status:200},{query:s,variables:l}));return;case"error":u.error&&u.error(new n({errors:a.payload,status:200},{query:s,variables:l}));return;case er:u.complete&&u.complete(),delete this.socketState.subscriptions[a.id];return}}catch(t){console.error(t),e.close(1006)}e.close(4400,"Unknown graphql-ws message.")})}makeSubscribe(e,t,r,n){let o=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[o]={query:e,variables:n,subscriber:r},this.socket.send(new en("subscribe",{query:e,operationName:t,variables:n},o).text),()=>{this.socket.send(new en(er,void 0,o).text),delete this.socketState.subscriptions[o]}}rawRequest(e,t){return new Promise((r,n)=>{let o;this.rawSubscribe(e,{next:(e,t)=>o={data:e,extensions:t},error:n,complete:()=>r(o)},t)})}request(e,t){return new Promise((r,n)=>{let o;this.subscribe(e,{next:e=>o=e,error:n,complete:()=>r(o)},t)})}subscribe(e,t,r){let{query:n,operationName:o}=X(e);return this.makeSubscribe(n,o,t,r)}rawSubscribe(e,t,r){return this.makeSubscribe(e,void 0,t,r)}ping(e){this.socket.send(new en(ee,e,void 0).text)}close(){this.socket.close(1e3)}}function ei(e){return new en(et,e,void 0)}eo.PROTOCOL="graphql-transport-ws";let ea=(e,...t)=>e.reduce((e,r,n)=>`${e}${r}${n in t?String(t[n]):""}`,"")},42584:function(e,t,r){"use strict";let n,o,i,a,s,l,u,c;r.d(t,{Vq:function(){return te}});var d,p,f,h,m,g=r(67294),y=r.t(g,2),v=r(28280),b=r(39273);function w(e,t,r,n){let o=(0,b.E)(r);(0,g.useEffect)(()=>{function r(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)},[e,t,n])}class E extends Map{get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}constructor(e){super(),this.factory=e}}var x=r(62502),S=Object.defineProperty,C=(e,t,r)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,O=(e,t,r)=>(C(e,"symbol"!=typeof t?t+"":t,r),r),T=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},D=(e,t,r)=>(T(e,t,"read from private field"),r?r.call(e):t.get(e)),P=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},A=(e,t,r,n)=>(T(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);class k{dispose(){this.disposables.dispose()}get state(){return D(this,f)}subscribe(e,t){let r={selector:e,callback:t,current:e(D(this,f))};return D(this,m).add(r),this.disposables.add(()=>{D(this,m).delete(r)})}on(e,t){return D(this,h).get(e).add(t),this.disposables.add(()=>{D(this,h).get(e).delete(t)})}send(e){let t=this.reduce(D(this,f),e);if(t!==D(this,f)){for(let e of(A(this,f,t),D(this,m))){let t=e.selector(D(this,f));R(e.current,t)||(e.current=t,e.callback(t))}for(let t of D(this,h).get(e.type))t(D(this,f),e)}}constructor(e){P(this,f,{}),P(this,h,new E(()=>new Set)),P(this,m,new Set),O(this,"disposables",(0,x.k)()),A(this,f,e)}}function R(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&I(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&I(e.entries(),t.entries()):!!(_(e)&&_(t))&&I(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function I(e,t){for(;;){let r=e.next(),n=t.next();if(r.done&&n.done)return!0;if(r.done||n.done||!Object.is(r.value,n.value))return!1}}function _(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}f=new WeakMap,h=new WeakMap,m=new WeakMap;var N=r(28400),L=Object.defineProperty,M=(e,t,r)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,j=(e,t,r)=>(M(e,"symbol"!=typeof t?t+"":t,r),r),F=((n=F||{})[n.Push=0]="Push",n[n.Pop=1]="Pop",n);let B={0(e,t){let r=t.id,n=e.stack,o=e.stack.indexOf(r);if(-1!==o){let t=e.stack.slice();return t.splice(o,1),t.push(r),n=t,{...e,stack:n}}return{...e,stack:[...e.stack,r]}},1(e,t){let r=t.id,n=e.stack.indexOf(r);if(-1===n)return e;let o=e.stack.slice();return o.splice(n,1),{...e,stack:o}}};class Z extends k{static new(){return new Z({stack:[]})}reduce(e,t){return(0,N.E)(t.type,B,e,t)}constructor(){super(...arguments),j(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),j(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}}let V=new E(()=>Z.new());var q=r(31103),U=r(90178);function z(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R;return(0,q.useSyncExternalStoreWithSelector)((0,U.z)(t=>e.subscribe($,t)),(0,U.z)(()=>e.state),(0,U.z)(()=>e.state),(0,U.z)(t),r)}function $(e){return e}var H=r(56427);function G(e,t){let r=(0,g.useId)(),n=V.get(t),[o,i]=z(n,(0,g.useCallback)(e=>[n.selectors.isTop(e,r),n.selectors.inStack(e,r)],[n,r]));return(0,H.e)(()=>{if(e)return n.actions.push(r),()=>n.actions.pop(r)},[n,e,r]),!!e&&(!i||o)}var W=r(46854);let K=new Map,Y=new Map;function Q(e){var t;let r=null!=(t=Y.get(e))?t:0;return Y.set(e,r+1),0!==r||(K.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let r=null!=(t=Y.get(e))?t:1;if(1===r?Y.delete(e):Y.set(e,r-1),1!==r)return;let n=K.get(e);n&&(null===n["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,K.delete(e))})(e)}var J=r(22329),X=r(21939);function ee(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function et(){return ee()||/Android/gi.test(window.navigator.userAgent)}function er(e,t,r,n){let o=(0,b.E)(r);(0,g.useEffect)(()=>{if(e)return document.addEventListener(t,r,n),()=>document.removeEventListener(t,r,n);function r(e){o.current(e)}},[e,t,n])}function en(e,t,r,n){let o=(0,b.E)(r);(0,g.useEffect)(()=>{if(e)return window.addEventListener(t,r,n),()=>window.removeEventListener(t,r,n);function r(e){o.current(e)}},[e,t,n])}function eo(){for(var e=arguments.length,t=Array(e),r=0;r(0,W.r)(...t),[...t])}var ei=r(47287);let ea=(0,g.createContext)(null);function es(e){let{children:t,node:r}=e,[n,o]=(0,g.useState)(null),i=el(null!=r?r:n);return g.createElement(ea.Provider,{value:i},t,null===i&&g.createElement(ei._,{features:ei.x.Hidden,ref:e=>{var t,r;if(e){for(let n of null!=(r=null==(t=(0,W.r)(e))?void 0:t.querySelectorAll("html > *, body > *"))?r:[])if(n!==document.body&&n!==document.head&&J.kK(n)&&null!=n&&n.contains(e)){o(n);break}}}}))}function el(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,g.useContext)(ea))?e:t}let eu=(d=()=>new Map,p={PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:(0,x.k)(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT(e){let t,{doc:r,d:n,meta:o}=e,i={doc:r,d:n,meta:function(e){let t={};for(let r of e)Object.assign(t,r(t));return t}(o)},a=[ee()?{before(e){let{doc:t,d:r,meta:n}=e;function o(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}r.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,x.k)();e.style(t.documentElement,"scrollBehavior","auto"),r.add(()=>r.microTask(()=>e.dispose()))}let n=null!=(e=window.scrollY)?e:window.pageYOffset,i=null;r.addEventListener(t,"click",e=>{if(J.sP(e.target))try{let r=e.target.closest("a");if(!r)return;let{hash:n}=new URL(r.href),a=t.querySelector(n);J.sP(a)&&!o(a)&&(i=a)}catch(e){}},!0),r.addEventListener(t,"touchstart",e=>{if(J.sP(e.target)&&J.nR(e.target)){if(o(e.target)){let t=e.target;for(;t.parentElement&&o(t.parentElement);)t=t.parentElement;r.style(t,"overscrollBehavior","contain")}else r.style(e.target,"touchAction","none")}}),r.addEventListener(t,"touchmove",e=>{if(J.sP(e.target)&&!J.LL(e.target)){if(o(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),r.add(()=>{var e;n!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,n),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{},{before(e){var r;let{doc:n}=e,o=n.documentElement;t=Math.max(0,(null!=(r=n.defaultView)?r:window).innerWidth-o.clientWidth)},after(e){let{doc:r,d:n}=e,o=r.documentElement,i=Math.max(0,o.clientWidth-o.offsetWidth),a=Math.max(0,t-i);n.style(o,"paddingRight","".concat(a,"px"))}},{before(e){let{doc:t,d:r}=e;r.style(t.documentElement,"overflow","hidden")}}];a.forEach(e=>{let{before:t}=e;return null==t?void 0:t(i)}),a.forEach(e=>{let{after:t}=e;return null==t?void 0:t(i)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}},o=d(),i=new Set,{getSnapshot:()=>o,subscribe:e=>(i.add(e),()=>i.delete(e)),dispatch(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;ne()))}});eu.subscribe(()=>{let e=eu.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&eu.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&eu.dispatch("TEARDOWN",r)}});var ec=r(34550);function ed(){let e;let t=(e="undefined"==typeof document,(0,y.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[r,n]=g.useState(ec.O.isHandoffComplete);return r&&!1===ec.O.isHandoffComplete&&n(!1),g.useEffect(()=>{!0!==r&&n(!0)},[r]),g.useEffect(()=>ec.O.handoff(),[]),!t&&r}var ep=r(94448),ef=r(24649),eh=r(46490);let em=(0,g.createContext)(!1);function eg(e){return g.createElement(em.Provider,{value:e.force},e.children)}var ey=r(90633);let ev=(0,g.createContext)(void 0),eb=(0,g.createContext)(null);eb.displayName="DescriptionContext";let ew=Object.assign((0,ey.yV)(function(e,t){let r=(0,g.useId)(),n=(0,g.useContext)(ev),{id:o="headlessui-description-".concat(r),...i}=e,a=function e(){let t=(0,g.useContext)(eb);if(null===t){let t=Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),s=(0,ep.T)(t);(0,H.e)(()=>a.register(o),[o,a.register]);let l=n||!1,u=(0,g.useMemo)(()=>({...a.slot,disabled:l}),[a.slot,l]),c={ref:s,...a.props,id:o};return(0,ey.L6)()({ourProps:c,theirProps:i,slot:u,defaultTag:"p",name:a.name||"Description"})}),{});var eE=r(49126),ex=r(74771),eS=r(4387);function eC(e){let t=(0,U.z)(e),r=(0,g.useRef)(!1);(0,g.useEffect)(()=>(r.current=!1,()=>{r.current=!0,(0,eS.Y)(()=>{r.current&&t()})}),[t])}var eO=((a=eO||{})[a.Forwards=0]="Forwards",a[a.Backwards=1]="Backwards",a);function eT(e,t){let r=(0,g.useRef)([]),n=(0,U.z)(e);(0,g.useEffect)(()=>{let e=[...r.current];for(let[o,i]of t.entries())if(r.current[o]!==i){let o=n(t,e);return r.current=t,o}},[n,...t])}let eD=[];function eP(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)J.kK(r.current)&&t.add(r.current);return t}!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!J.sP(e.target)||e.target===document.body||eD[0]===e.target)return;let t=e.target;t=t.closest(X.y),eD.unshift(null!=t?t:e.target),(eD=eD.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var eA=((s=eA||{})[s.None=0]="None",s[s.InitialFocus=1]="InitialFocus",s[s.TabLock=2]="TabLock",s[s.FocusLock=4]="FocusLock",s[s.RestoreFocus=8]="RestoreFocus",s[s.AutoFocus=16]="AutoFocus",s);let ek=Object.assign((0,ey.yV)(function(e,t){let r,n=(0,g.useRef)(null),o=(0,ep.T)(n,t),{initialFocus:i,initialFocusFallback:a,containers:s,features:l=15,...u}=e;ed()||(l=0);let c=eo(n);!function(e,t){let{ownerDocument:r}=t,n=!!(8&e),o=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,g.useRef)(eD.slice());return eT((e,r)=>{let[n]=e,[o]=r;!0===o&&!1===n&&(0,eS.Y)(()=>{t.current.splice(0)}),!1===o&&!0===n&&(t.current=eD.slice())},[e,eD,t]),(0,U.z)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(n);eT(()=>{n||(null==r?void 0:r.activeElement)===(null==r?void 0:r.body)&&(0,X.C5)(o())},[n]),eC(()=>{n&&(0,X.C5)(o())})}(l,{ownerDocument:c});let d=function(e,t){let{ownerDocument:r,container:n,initialFocus:o,initialFocusFallback:i}=t,a=(0,g.useRef)(null),s=G(!!(1&e),"focus-trap#initial-focus"),l=(0,ex.t)();return eT(()=>{if(0===e)return;if(!s){null!=i&&i.current&&(0,X.C5)(i.current);return}let t=n.current;t&&(0,eS.Y)(()=>{if(!l.current)return;let n=null==r?void 0:r.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===n){a.current=n;return}}else if(t.contains(n)){a.current=n;return}if(null!=o&&o.current)(0,X.C5)(o.current);else{if(16&e){if((0,X.jA)(t,X.TO.First|X.TO.AutoFocus)!==X.fE.Error)return}else if((0,X.jA)(t,X.TO.First)!==X.fE.Error)return;if(null!=i&&i.current&&((0,X.C5)(i.current),(null==r?void 0:r.activeElement)===i.current))return;console.warn("There are no focusable elements inside the ")}a.current=null==r?void 0:r.activeElement})},[i,s,e]),a}(l,{ownerDocument:c,container:n,initialFocus:i,initialFocusFallback:a});!function(e,t){let{ownerDocument:r,container:n,containers:o,previousActiveElement:i}=t,a=(0,ex.t)(),s=!!(4&e);w(null==r?void 0:r.defaultView,"focus",e=>{if(!s||!a.current)return;let t=eP(o);J.Re(n.current)&&t.add(n.current);let r=i.current;if(!r)return;let l=e.target;J.Re(l)?eR(t,l)?(i.current=l,(0,X.C5)(l)):(e.preventDefault(),e.stopPropagation(),(0,X.C5)(r)):(0,X.C5)(i.current)},!0)}(l,{ownerDocument:c,container:n,containers:s,previousActiveElement:d});let p=(r=(0,g.useRef)(0),en(!0,"keydown",e=>{"Tab"===e.key&&(r.current=e.shiftKey?1:0)},!0),r),f=(0,U.z)(e=>{if(!J.Re(n.current))return;let t=n.current;(0,N.E)(p.current,{[eO.Forwards]:()=>{(0,X.jA)(t,X.TO.First,{skipElements:[e.relatedTarget,a]})},[eO.Backwards]:()=>{(0,X.jA)(t,X.TO.Last,{skipElements:[e.relatedTarget,a]})}})}),h=G(!!(2&l),"focus-trap#tab-lock"),m=(0,eE.G)(),y=(0,g.useRef)(!1),v=(0,ey.L6)();return g.createElement(g.Fragment,null,h&&g.createElement(ei._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:ei.x.Focusable}),v({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(y.current=!0,m.requestAnimationFrame(()=>{y.current=!1}))},onBlur(e){if(!(4&l))return;let t=eP(s);J.Re(n.current)&&t.add(n.current);let r=e.relatedTarget;J.sP(r)&&"true"!==r.dataset.headlessuiFocusGuard&&(eR(t,r)||(y.current?(0,X.jA)(n.current,(0,N.E)(p.current,{[eO.Forwards]:()=>X.TO.Next,[eO.Backwards]:()=>X.TO.Previous})|X.TO.WrapAround,{relativeTo:e.target}):J.sP(e.target)&&(0,X.C5)(e.target)))}},theirProps:u,defaultTag:"div",name:"FocusTrap"}),h&&g.createElement(ei._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:ei.x.Focusable}))}),{features:eA});function eR(e,t){for(let r of e)if(r.contains(t))return!0;return!1}var eI=r(73935);let e_=g.Fragment,eN=(0,ey.yV)(function(e,t){let{ownerDocument:r=null,...n}=e,o=(0,g.useRef)(null),i=(0,ep.T)((0,ep.h)(e=>{o.current=e}),t),a=eo(o),s=null!=r?r:a,l=function(e){let t=(0,g.useContext)(em),r=(0,g.useContext)(eM),[n,o]=(0,g.useState)(()=>{var n;if(!t&&null!==r)return null!=(n=r.current)?n:null;if(ec.O.isServer)return null;let o=null==e?void 0:e.getElementById("headlessui-portal-root");if(o)return o;if(null===e)return null;let i=e.createElement("div");return i.setAttribute("id","headlessui-portal-root"),e.body.appendChild(i)});return(0,g.useEffect)(()=>{null!==n&&(null!=e&&e.body.contains(n)||null==e||e.body.appendChild(n))},[n,e]),(0,g.useEffect)(()=>{t||null!==r&&o(r.current)},[r,o,t]),n}(s),[u]=(0,g.useState)(()=>{var e;return ec.O.isServer?null:null!=(e=null==s?void 0:s.createElement("div"))?e:null}),c=(0,g.useContext)(ej),d=ed();(0,H.e)(()=>{!l||!u||l.contains(u)||(u.setAttribute("data-headlessui-portal",""),l.appendChild(u))},[l,u]),(0,H.e)(()=>{if(u&&c)return c.register(u)},[c,u]),eC(()=>{var e;l&&u&&(J.UG(u)&&l.contains(u)&&l.removeChild(u),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l)))});let p=(0,ey.L6)();return d&&l&&u?(0,eI.createPortal)(p({ourProps:{ref:i},theirProps:n,slot:{},defaultTag:e_,name:"Portal"}),u):null}),eL=g.Fragment,eM=(0,g.createContext)(null),ej=(0,g.createContext)(null),eF=(0,ey.yV)(function(e,t){let r=(0,ep.T)(t),{enabled:n=!0,ownerDocument:o,...i}=e,a=(0,ey.L6)();return n?g.createElement(eN,{...i,ownerDocument:o,ref:r}):a({ourProps:{ref:r},theirProps:i,slot:{},defaultTag:e_,name:"Portal"})}),eB=(0,ey.yV)(function(e,t){let{target:r,...n}=e,o={ref:(0,ep.T)(t)},i=(0,ey.L6)();return g.createElement(eM.Provider,{value:r},i({ourProps:o,theirProps:n,defaultTag:eL,name:"Popover.Group"}))}),eZ=Object.assign(eF,{Group:eB});var eV=r(44831),eq=r(75711);function eU(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:eK)!==g.Fragment||1===g.Children.count(e.children)}let ez=(0,g.createContext)(null);ez.displayName="TransitionContext";var e$=((l=e$||{}).Visible="visible",l.Hidden="hidden",l);let eH=(0,g.createContext)(null);function eG(e){return"children"in e?eG(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function eW(e,t){let r=(0,b.E)(e),n=(0,g.useRef)([]),o=(0,ex.t)(),i=(0,eE.G)(),a=(0,U.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ey.l4.Hidden,a=n.current.findIndex(t=>{let{el:r}=t;return r===e});-1!==a&&((0,N.E)(t,{[ey.l4.Unmount](){n.current.splice(a,1)},[ey.l4.Hidden](){n.current[a].state="hidden"}}),i.microTask(()=>{var e;!eG(n)&&o.current&&(null==(e=r.current)||e.call(r))}))}),s=(0,U.z)(e=>{let t=n.current.find(t=>{let{el:r}=t;return r===e});return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>a(e,ey.l4.Unmount)}),l=(0,g.useRef)([]),u=(0,g.useRef)(Promise.resolve()),c=(0,g.useRef)({enter:[],leave:[]}),d=(0,U.z)((e,r,n)=>{l.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter(t=>{let[r]=t;return r!==e})),null==t||t.chains.current[r].push([e,new Promise(e=>{l.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(c.current[r].map(e=>{let[t,r]=e;return r})).then(()=>e())})]),"enter"===r?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>n(r)):n(r)}),p=(0,U.z)((e,t,r)=>{Promise.all(c.current[t].splice(0).map(e=>{let[t,r]=e;return r})).then(()=>{var e;null==(e=l.current.shift())||e()}).then(()=>r(t))});return(0,g.useMemo)(()=>({children:n,register:s,unregister:a,onStart:d,onStop:p,wait:u,chains:c}),[s,a,n,d,p,c,u])}eH.displayName="NestingContext";let eK=g.Fragment,eY=ey.VN.RenderStrategy,eQ=(0,ey.yV)(function(e,t){let{show:r,appear:n=!1,unmount:o=!0,...i}=e,a=(0,g.useRef)(null),s=eU(e),l=(0,ep.T)(...s?[a,t]:null===t?[]:[t]);ed();let u=(0,eh.oJ)();if(void 0===r&&null!==u&&(r=(u&eh.ZM.Open)===eh.ZM.Open),void 0===r)throw Error("A is used but it is missing a `show={true | false}` prop.");let[c,d]=(0,g.useState)(r?"visible":"hidden"),p=eW(()=>{r||d("hidden")}),[f,h]=(0,g.useState)(!0),m=(0,g.useRef)([r]);(0,H.e)(()=>{!1!==f&&m.current[m.current.length-1]!==r&&(m.current.push(r),h(!1))},[m,r]);let y=(0,g.useMemo)(()=>({show:r,appear:n,initial:f}),[r,n,f]);(0,H.e)(()=>{r?d("visible"):eG(p)||null===a.current||d("hidden")},[r,p]);let v={unmount:o},b=(0,U.z)(()=>{var t;f&&h(!1),null==(t=e.beforeEnter)||t.call(e)}),w=(0,U.z)(()=>{var t;f&&h(!1),null==(t=e.beforeLeave)||t.call(e)}),E=(0,ey.L6)();return g.createElement(eH.Provider,{value:p},g.createElement(ez.Provider,{value:y},E({ourProps:{...v,as:g.Fragment,children:g.createElement(eJ,{ref:l,...v,...i,beforeEnter:b,beforeLeave:w})},theirProps:{},defaultTag:g.Fragment,features:eY,visible:"visible"===c,name:"Transition"})))}),eJ=(0,ey.yV)(function(e,t){var r,n;let{transition:o=!0,beforeEnter:i,afterEnter:a,beforeLeave:s,afterLeave:l,enter:u,enterFrom:c,enterTo:d,entered:p,leave:f,leaveFrom:h,leaveTo:m,...y}=e,[v,b]=(0,g.useState)(null),w=(0,g.useRef)(null),E=eU(e),x=(0,ep.T)(...E?[w,t,b]:null===t?[]:[t]),S=null==(r=y.unmount)||r?ey.l4.Unmount:ey.l4.Hidden,{show:C,appear:O,initial:T}=function(){let e=(0,g.useContext)(ez);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),[D,P]=(0,g.useState)(C?"visible":"hidden"),A=function(){let e=(0,g.useContext)(eH);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),{register:k,unregister:R}=A;(0,H.e)(()=>k(w),[k,w]),(0,H.e)(()=>{if(S===ey.l4.Hidden&&w.current){if(C&&"visible"!==D){P("visible");return}return(0,N.E)(D,{hidden:()=>R(w),visible:()=>k(w)})}},[D,w,k,R,C,S]);let I=ed();(0,H.e)(()=>{if(E&&I&&"visible"===D&&null===w.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[w,D,I,E]);let _=T&&!O,L=O&&C&&T,M=(0,g.useRef)(!1),j=eW(()=>{M.current||(P("hidden"),R(w))},A),F=(0,U.z)(e=>{M.current=!0,j.onStart(w,e?"enter":"leave",e=>{"enter"===e?null==i||i():"leave"===e&&(null==s||s())})}),B=(0,U.z)(e=>{let t=e?"enter":"leave";M.current=!1,j.onStop(w,t,e=>{"enter"===e?null==a||a():"leave"===e&&(null==l||l())}),"leave"!==t||eG(j)||(P("hidden"),R(w))});(0,g.useEffect)(()=>{E&&o||(F(C),B(C))},[C,E,o]);let Z=!(!o||!E||!I||_),[,V]=(0,eV.Y)(Z,v,C,{start:F,end:B}),q=(0,ey.oA)({ref:x,className:(null==(n=(0,eq.A)(y.className,L&&u,L&&c,V.enter&&u,V.enter&&V.closed&&c,V.enter&&!V.closed&&d,V.leave&&f,V.leave&&!V.closed&&h,V.leave&&V.closed&&m,!V.transition&&C&&p))?void 0:n.trim())||void 0,...(0,eV.X)(V)}),z=0;"visible"===D&&(z|=eh.ZM.Open),"hidden"===D&&(z|=eh.ZM.Closed),C&&"hidden"===D&&(z|=eh.ZM.Opening),C||"visible"!==D||(z|=eh.ZM.Closing);let $=(0,ey.L6)();return g.createElement(eH.Provider,{value:j},g.createElement(eh.up,{value:z},$({ourProps:q,theirProps:y,defaultTag:eK,features:eY,visible:"visible"===D,name:"Transition.Child"})))}),eX=(0,ey.yV)(function(e,t){let r=null!==(0,g.useContext)(ez),n=null!==(0,eh.oJ)();return g.createElement(g.Fragment,null,!r&&n?g.createElement(eQ,{ref:t,...e}):g.createElement(eJ,{ref:t,...e}))}),e0=Object.assign(eQ,{Child:eX,Root:eQ});var e1=((u=e1||{})[u.Open=0]="Open",u[u.Closed=1]="Closed",u),e2=((c=e2||{})[c.SetTitleId=0]="SetTitleId",c);let e3={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},e5=(0,g.createContext)(null);function e4(e){let t=(0,g.useContext)(e5);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,e4),t}return t}function e6(e,t){return(0,N.E)(t.type,e3,e,t)}e5.displayName="DialogContext";let e8=(0,ey.yV)(function(e,t){var r;let n,o,i,a,s,l,u,c,d,p,f=(0,g.useId)(),{id:h="headlessui-dialog-".concat(f),open:m,onClose:y,initialFocus:E,role:S="dialog",autoFocus:C=!0,__demoMode:O=!1,unmount:T=!1,...D}=e,P=(0,g.useRef)(!1);S="dialog"===S||"alertdialog"===S?S:(P.current||(P.current=!0,console.warn("Invalid role [".concat(S,"] passed to . Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let A=(0,eh.oJ)();void 0===m&&null!==A&&(m=(A&eh.ZM.Open)===eh.ZM.Open);let k=(0,g.useRef)(null),R=(0,ep.T)(k,t),I=eo(k),_=m?0:1,[N,L]=(0,g.useReducer)(e6,{titleId:null,descriptionId:null,panelRef:(0,g.createRef)()}),M=(0,U.z)(()=>y(!1)),j=(0,U.z)(e=>L({type:0,id:e})),F=!!ed()&&0===_,[B,Z]=(n=(0,g.useContext)(ej),o=(0,g.useRef)([]),i=(0,U.z)(e=>(o.current.push(e),n&&n.register(e),()=>a(e))),a=(0,U.z)(e=>{let t=o.current.indexOf(e);-1!==t&&o.current.splice(t,1),n&&n.unregister(e)}),s=(0,g.useMemo)(()=>({register:i,unregister:a,portals:o}),[i,a,o]),[o,(0,g.useMemo)(()=>function(e){let{children:t}=e;return g.createElement(ej.Provider,{value:s},t)},[s])]),q=el(),{resolveContainers:$}=function(){let{defaultContainers:e=[],portals:t,mainTreeNode:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=eo(r),o=(0,U.z)(()=>{var o,i;let a=[];for(let t of e)null!==t&&(J.kK(t)?a.push(t):"current"in t&&J.kK(t.current)&&a.push(t.current));if(null!=t&&t.current)for(let e of t.current)a.push(e);for(let e of null!=(o=null==n?void 0:n.querySelectorAll("html > *, body > *"))?o:[])e!==document.body&&e!==document.head&&J.kK(e)&&"headlessui-portal-root"!==e.id&&(r&&(e.contains(r)||e.contains(null==(i=null==r?void 0:r.getRootNode())?void 0:i.host))||a.some(t=>e.contains(t))||a.push(e));return a});return{resolveContainers:o,contains:(0,U.z)(e=>o().some(t=>t.contains(e)))}}({mainTreeNode:q,portals:B,defaultContainers:[{get current(){var K;return null!=(K=N.panelRef.current)?K:k.current}}]}),Y=null!==A&&(A&eh.ZM.Closing)===eh.ZM.Closing;!function(e){let{allowed:t,disallowed:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=G(e,"inert-others");(0,H.e)(()=>{var e,o;if(!n)return;let i=(0,x.k)();for(let t of null!=(e=null==r?void 0:r())?e:[])t&&i.add(Q(t));let a=null!=(o=null==t?void 0:t())?o:[];for(let e of a){if(!e)continue;let t=(0,W.r)(e);if(!t)continue;let r=e.parentElement;for(;r&&r!==t.body;){for(let e of r.children)a.some(t=>e.contains(t))||i.add(Q(e));r=r.parentElement}}return i.dispose},[n,t,r])}(!O&&!Y&&F,{allowed:(0,U.z)(()=>{var e,t;return[null!=(t=null==(e=k.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,U.z)(()=>{var e;return[null!=(e=null==q?void 0:q.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let ee=V.get(null);(0,H.e)(()=>{if(F)return ee.actions.push(h),()=>ee.actions.pop(h)},[ee,h,F]);let ei=z(ee,(0,g.useCallback)(e=>ee.selectors.isTop(e,h),[ee,h]));r=e=>{e.preventDefault(),M()},l=(0,b.E)(r),u=(0,g.useCallback)(function(e,t){if(e.defaultPrevented)return;let r=t(e);if(null!==r&&r.getRootNode().contains(r)&&r.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}($))if(null!==t&&(t.contains(r)||e.composed&&e.composedPath().includes(t)))return;return(0,X.sP)(r,X.tJ.Loose)||-1===r.tabIndex||e.preventDefault(),l.current(e,r)}},[l,$]),c=(0,g.useRef)(null),er(ei,"pointerdown",e=>{var t,r;et()||(c.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),er(ei,"pointerup",e=>{if(et()||!c.current)return;let t=c.current;return c.current=null,u(e,()=>t)},!0),d=(0,g.useRef)({x:0,y:0}),er(ei,"touchstart",e=>{d.current.x=e.touches[0].clientX,d.current.y=e.touches[0].clientY},!0),er(ei,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-d.current.x)>=30||Math.abs(t.y-d.current.y)>=30))return u(e,()=>J.sP(e.target)?e.target:null)},!0),en(ei,"blur",e=>u(e,()=>J.jQ(window.document.activeElement)?window.document.activeElement:null),!0),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof document?document.defaultView:null,r=arguments.length>2?arguments[2]:void 0,n=G(e,"escape");w(t,"keydown",e=>{n&&(e.defaultPrevented||e.key===v.R.Escape&&r(e))})}(ei,null==I?void 0:I.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),M()}),function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];!function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),n=(0,g.useSyncExternalStore)(eu.subscribe,eu.getSnapshot,eu.getSnapshot),o=t?n.get(t):void 0;o&&o.count,(0,H.e)(()=>{if(!(!t||!e))return eu.dispatch("PUSH",t,r),()=>eu.dispatch("POP",t,r)},[e,t])}(G(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}})}(!O&&!Y&&F,I,$),p=(0,b.E)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&M()}),(0,g.useEffect)(()=>{if(!F)return;let e=null===k?null:J.Re(k)?k:k.current;if(!e)return;let t=(0,x.k)();if("undefined"!=typeof ResizeObserver){let r=new ResizeObserver(()=>p.current(e));r.observe(e),t.add(()=>r.disconnect())}if("undefined"!=typeof IntersectionObserver){let r=new IntersectionObserver(()=>p.current(e));r.observe(e),t.add(()=>r.disconnect())}return()=>t.dispose()},[k,p,F]);let[ea,es]=function(){let[e,t]=(0,g.useState)([]);return[e.length>0?e.join(" "):void 0,(0,g.useMemo)(()=>function(e){let r=(0,U.z)(e=>(t(t=>[...t,e]),()=>t(t=>{let r=t.slice(),n=r.indexOf(e);return -1!==n&&r.splice(n,1),r}))),n=(0,g.useMemo)(()=>({register:r,slot:e.slot,name:e.name,props:e.props,value:e.value}),[r,e.slot,e.name,e.props,e.value]);return g.createElement(eb.Provider,{value:n},e.children)},[t])]}(),ec=(0,g.useMemo)(()=>[{dialogState:_,close:M,setTitleId:j,unmount:T},N],[_,N,M,j,T]),em=(0,g.useMemo)(()=>({open:0===_}),[_]),ev={ref:R,id:h,role:S,tabIndex:-1,"aria-modal":O?void 0:0===_||void 0,"aria-labelledby":N.titleId,"aria-describedby":ea,unmount:T},ew=!function(){var e;let[t]=(0,g.useState)(()=>"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[r,n]=(0,g.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,H.e)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){n(e.matches)}},[t]),r}(),eE=eA.None;F&&!O&&(eE|=eA.RestoreFocus,eE|=eA.TabLock,C&&(eE|=eA.AutoFocus),ew&&(eE|=eA.InitialFocus));let ex=(0,ey.L6)();return g.createElement(eh.uu,null,g.createElement(eg,{force:!0},g.createElement(eZ,null,g.createElement(e5.Provider,{value:ec},g.createElement(eB,{target:k},g.createElement(eg,{force:!1},g.createElement(es,{slot:em},g.createElement(Z,null,g.createElement(ek,{initialFocus:E,initialFocusFallback:k,containers:$,features:eE},g.createElement(ef.Z,{value:M},ex({ourProps:ev,theirProps:D,slot:em,defaultTag:e9,features:e7,visible:0===_,name:"Dialog"})))))))))))}),e9="div",e7=ey.VN.RenderStrategy|ey.VN.Static,te=Object.assign((0,ey.yV)(function(e,t){let{transition:r=!1,open:n,...o}=e,i=(0,eh.oJ)(),a=e.hasOwnProperty("open")||null!==i,s=e.hasOwnProperty("onClose");if(!a&&!s)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!s)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!i&&"boolean"!=typeof e.open)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(e.open));if("function"!=typeof e.onClose)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(e.onClose));return(void 0!==n||r)&&!o.static?g.createElement(es,null,g.createElement(e0,{show:n,transition:r,unmount:o.unmount},g.createElement(e8,{ref:t,...o}))):g.createElement(es,null,g.createElement(e8,{ref:t,open:n,...o}))}),{Panel:(0,ey.yV)(function(e,t){let r=(0,g.useId)(),{id:n="headlessui-dialog-panel-".concat(r),transition:o=!1,...i}=e,[{dialogState:a,unmount:s},l]=e4("Dialog.Panel"),u=(0,ep.T)(t,l.panelRef),c=(0,g.useMemo)(()=>({open:0===a}),[a]),d=(0,U.z)(e=>{e.stopPropagation()}),p=o?eX:g.Fragment,f=(0,ey.L6)();return g.createElement(p,{...o?{unmount:s}:{}},f({ourProps:{ref:u,id:n,onClick:d},theirProps:i,slot:c,defaultTag:"div",name:"Dialog.Panel"}))}),Title:((0,ey.yV)(function(e,t){let{transition:r=!1,...n}=e,[{dialogState:o,unmount:i}]=e4("Dialog.Backdrop"),a=(0,g.useMemo)(()=>({open:0===o}),[o]),s=r?eX:g.Fragment,l=(0,ey.L6)();return g.createElement(s,{...r?{unmount:i}:{}},l({ourProps:{ref:t,"aria-hidden":!0},theirProps:n,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))}),(0,ey.yV)(function(e,t){let r=(0,g.useId)(),{id:n="headlessui-dialog-title-".concat(r),...o}=e,[{dialogState:i,setTitleId:a}]=e4("Dialog.Title"),s=(0,ep.T)(t);(0,g.useEffect)(()=>(a(n),()=>a(null)),[n,a]);let l=(0,g.useMemo)(()=>({open:0===i}),[i]);return(0,ey.L6)()({ourProps:{ref:s,id:n},theirProps:o,slot:l,defaultTag:"h2",name:"Dialog.Title"})})),Description:ew})},17900:function(e,t,r){"use strict";let n,o;r.d(t,{pJ:function(){return I}});var i,a=r(22944),s=r(18419),l=r(67294),u=r(41758),c=r(90178),d=r(92935),p=r(94448),f=r(44831),h=r(24649),m=r(46490),g=r(22329),y=r(28400),v=r(46854),b=r(90633);let w=null!=(i=l.startTransition)?i:function(e){e()};var E=r(28280),x=((n=x||{})[n.Open=0]="Open",n[n.Closed=1]="Closed",n),S=((o=S||{})[o.ToggleDisclosure=0]="ToggleDisclosure",o[o.CloseDisclosure=1]="CloseDisclosure",o[o.SetButtonId=2]="SetButtonId",o[o.SetPanelId=3]="SetPanelId",o[o.SetButtonElement=4]="SetButtonElement",o[o.SetPanelElement=5]="SetPanelElement",o);let C={0:e=>({...e,disclosureState:(0,y.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId},4:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},5:(e,t)=>e.panelElement===t.element?e:{...e,panelElement:t.element}},O=(0,l.createContext)(null);function T(e){let t=(0,l.useContext)(O);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,T),t}return t}O.displayName="DisclosureContext";let D=(0,l.createContext)(null);D.displayName="DisclosureAPIContext";let P=(0,l.createContext)(null);function A(e,t){return(0,y.E)(t.type,C,e,t)}P.displayName="DisclosurePanelContext";let k=l.Fragment,R=b.VN.RenderStrategy|b.VN.Static,I=Object.assign((0,b.yV)(function(e,t){let{defaultOpen:r=!1,...n}=e,o=(0,l.useRef)(null),i=(0,p.T)(t,(0,p.h)(e=>{o.current=e},void 0===e.as||e.as===l.Fragment)),a=(0,l.useReducer)(A,{disclosureState:r?0:1,buttonElement:null,panelElement:null,buttonId:null,panelId:null}),[{disclosureState:s,buttonId:u},d]=a,f=(0,c.z)(e=>{d({type:1});let t=(0,v.r)(o);if(!t||!u)return;let r=e?g.sP(e)?e:"current"in e&&g.sP(e.current)?e.current:t.getElementById(u):t.getElementById(u);null==r||r.focus()}),w=(0,l.useMemo)(()=>({close:f}),[f]),E=(0,l.useMemo)(()=>({open:0===s,close:f}),[s,f]),x=(0,b.L6)();return l.createElement(O.Provider,{value:a},l.createElement(D.Provider,{value:w},l.createElement(h.Z,{value:f},l.createElement(m.up,{value:(0,y.E)(s,{0:m.ZM.Open,1:m.ZM.Closed})},x({ourProps:{ref:i},theirProps:n,slot:E,defaultTag:k,name:"Disclosure"})))))}),{Button:(0,b.yV)(function(e,t){let r=(0,l.useId)(),{id:n="headlessui-disclosure-button-".concat(r),disabled:o=!1,autoFocus:i=!1,...f}=e,[h,m]=T("Disclosure.Button"),y=(0,l.useContext)(P),v=null!==y&&y===h.panelId,w=(0,l.useRef)(null),x=(0,p.T)(w,t,(0,c.z)(e=>{if(!v)return m({type:4,element:e})}));(0,l.useEffect)(()=>{if(!v)return m({type:2,buttonId:n}),()=>{m({type:2,buttonId:null})}},[n,m,v]);let S=(0,c.z)(e=>{var t;if(v){if(1===h.disclosureState)return;switch(e.key){case E.R.Space:case E.R.Enter:e.preventDefault(),e.stopPropagation(),m({type:0}),null==(t=h.buttonElement)||t.focus()}}else switch(e.key){case E.R.Space:case E.R.Enter:e.preventDefault(),e.stopPropagation(),m({type:0})}}),C=(0,c.z)(e=>{e.key===E.R.Space&&e.preventDefault()}),O=(0,c.z)(e=>{var t;(function(e){let t=e.parentElement,r=null;for(;t&&!g.zO(t);)g.CD(t)&&(r=t),t=t.parentElement;let n=(null==t?void 0:t.getAttribute("disabled"))==="";return!(n&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(g.CD(t))return!1;t=t.previousElementSibling}return!0}(r))&&n})(e.currentTarget)||o||(v?(m({type:0}),null==(t=h.buttonElement)||t.focus()):m({type:0}))}),{isFocusVisible:D,focusProps:A}=(0,a.F)({autoFocus:i}),{isHovered:k,hoverProps:R}=(0,s.X)({isDisabled:o}),{pressed:I,pressProps:_}=(0,u.x)({disabled:o}),N=(0,l.useMemo)(()=>({open:0===h.disclosureState,hover:k,active:I,disabled:o,focus:D,autofocus:i}),[h,k,I,D,o,i]),L=(0,d.f)(e,h.buttonElement),M=v?(0,b.dG)({ref:x,type:L,disabled:o||void 0,autoFocus:i,onKeyDown:S,onClick:O},A,R,_):(0,b.dG)({ref:x,id:n,type:L,"aria-expanded":0===h.disclosureState,"aria-controls":h.panelElement?h.panelId:void 0,disabled:o||void 0,autoFocus:i,onKeyDown:S,onKeyUp:C,onClick:O},A,R,_);return(0,b.L6)()({ourProps:M,theirProps:f,slot:N,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,b.yV)(function(e,t){let r=(0,l.useId)(),{id:n="headlessui-disclosure-panel-".concat(r),transition:o=!1,...i}=e,[a,s]=T("Disclosure.Panel"),{close:u}=function e(t){let r=(0,l.useContext)(D);if(null===r){let r=Error("<".concat(t," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(r,e),r}return r}("Disclosure.Panel"),[d,h]=(0,l.useState)(null),g=(0,p.T)(t,(0,c.z)(e=>{w(()=>s({type:5,element:e}))}),h);(0,l.useEffect)(()=>(s({type:3,panelId:n}),()=>{s({type:3,panelId:null})}),[n,s]);let y=(0,m.oJ)(),[v,E]=(0,f.Y)(o,d,null!==y?(y&m.ZM.Open)===m.ZM.Open:0===a.disclosureState),x=(0,l.useMemo)(()=>({open:0===a.disclosureState,close:u}),[a.disclosureState,u]),S={ref:g,id:n,...(0,f.X)(E)},C=(0,b.L6)();return l.createElement(m.uu,null,l.createElement(P.Provider,{value:a.panelId},C({ourProps:S,theirProps:i,slot:x,defaultTag:"div",features:R,visible:v,name:"Disclosure.Panel"})))})})},28280:function(e,t,r){"use strict";let n;r.d(t,{R:function(){return o}});var o=((n=o||{}).Space=" ",n.Enter="Enter",n.Escape="Escape",n.Backspace="Backspace",n.Delete="Delete",n.ArrowLeft="ArrowLeft",n.ArrowUp="ArrowUp",n.ArrowRight="ArrowRight",n.ArrowDown="ArrowDown",n.Home="Home",n.End="End",n.PageUp="PageUp",n.PageDown="PageDown",n.Tab="Tab",n)},81074:function(e,t,r){"use strict";let n,o,i;r.d(t,{OK:function(){return q},v0:function(){return F},td:function(){return B},x4:function(){return V},nP:function(){return Z}});var a=r(22944),s=r(18419),l=r(67294),u=r(41758),c=r(90178),d=r(56427),p=r(39273),f=r(92935),h=r(94448),m=r(74771),g=r(47287);function y(e){let{onFocus:t}=e,[r,n]=(0,l.useState)(!0),o=(0,m.t)();return r?l.createElement(g._,{as:"button",type:"button",features:g.x.Focusable,onFocus:e=>{e.preventDefault();let r,i=50;r=requestAnimationFrame(function e(){if(i--<=0){r&&cancelAnimationFrame(r);return}if(t()){if(cancelAnimationFrame(r),!o.current)return;n(!1);return}r=requestAnimationFrame(e)})}}):null}var v=r(21939),b=r(28400),w=r(4387),E=r(46854),x=r(90633);let S=l.createContext(null);function C(e){let{children:t}=e,r=l.useRef({groups:new Map,get(e,t){var r;let n=this.groups.get(e);n||(n=new Map,this.groups.set(e,n));let o=null!=(r=n.get(t))?r:0;return n.set(t,o+1),[Array.from(n.keys()).indexOf(t),function(){let e=n.get(t);e>1?n.set(t,e-1):n.delete(t)}]}});return l.createElement(S.Provider,{value:r},t)}function O(e){let t=l.useContext(S);if(!t)throw Error("You must wrap your component in a ");let r=l.useId(),[n,o]=t.current.get(e,r);return l.useEffect(()=>o,[]),n}var T=r(28280),D=((n=D||{})[n.Forwards=0]="Forwards",n[n.Backwards=1]="Backwards",n),P=((o=P||{})[o.Less=-1]="Less",o[o.Equal=0]="Equal",o[o.Greater=1]="Greater",o),A=((i=A||{})[i.SetSelectedIndex=0]="SetSelectedIndex",i[i.RegisterTab=1]="RegisterTab",i[i.UnregisterTab=2]="UnregisterTab",i[i.RegisterPanel=3]="RegisterPanel",i[i.UnregisterPanel=4]="UnregisterPanel",i);let k={0(e,t){var r;let n=(0,v.z2)(e.tabs,e=>e.current),o=(0,v.z2)(e.panels,e=>e.current),i=n.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),a={...e,tabs:n,panels:o};if(t.index<0||t.index>n.length-1){let r=(0,b.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,b.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===i.length)return a;let o=(0,b.E)(r,{0:()=>n.indexOf(i[0]),1:()=>n.indexOf(i[i.length-1])});return{...a,selectedIndex:-1===o?e.selectedIndex:o}}let s=n.slice(0,t.index),l=[...n.slice(t.index),...s].find(e=>i.includes(e));if(!l)return a;let u=null!=(r=n.indexOf(l))?r:e.selectedIndex;return -1===u&&(u=e.selectedIndex),{...a,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],n=(0,v.z2)([...e.tabs,t.tab],e=>e.current),o=e.selectedIndex;return e.info.current.isControlled||-1===(o=n.indexOf(r))&&(o=e.selectedIndex),{...e,tabs:n,selectedIndex:o}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,v.z2)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},R=(0,l.createContext)(null);function I(e){let t=(0,l.useContext)(R);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,I),t}return t}R.displayName="TabsDataContext";let _=(0,l.createContext)(null);function N(e){let t=(0,l.useContext)(_);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,N),t}return t}function L(e,t){return(0,b.E)(t.type,k,e,t)}_.displayName="TabsActionsContext";let M=x.VN.RenderStrategy|x.VN.Static,j=(0,x.yV)(function(e,t){var r,n;let o=(0,l.useId)(),{id:i="headlessui-tabs-tab-".concat(o),disabled:p=!1,autoFocus:m=!1,...g}=e,{orientation:y,activation:S,selectedIndex:C,tabs:D,panels:P}=I("Tab"),A=N("Tab"),k=I("Tab"),[R,_]=(0,l.useState)(null),L=(0,l.useRef)(null),M=(0,h.T)(L,t,_);(0,d.e)(()=>A.registerTab(L),[A,L]);let j=O("tabs"),F=D.indexOf(L);-1===F&&(F=j);let B=F===C,Z=(0,c.z)(e=>{var t;let r=e();if(r===v.fE.Success&&"auto"===S){let e=null==(t=(0,E.r)(L))?void 0:t.activeElement,r=k.tabs.findIndex(t=>t.current===e);-1!==r&&A.change(r)}return r}),V=(0,c.z)(e=>{let t=D.map(e=>e.current).filter(Boolean);if(e.key===T.R.Space||e.key===T.R.Enter){e.preventDefault(),e.stopPropagation(),A.change(F);return}switch(e.key){case T.R.Home:case T.R.PageUp:return e.preventDefault(),e.stopPropagation(),Z(()=>(0,v.jA)(t,v.TO.First));case T.R.End:case T.R.PageDown:return e.preventDefault(),e.stopPropagation(),Z(()=>(0,v.jA)(t,v.TO.Last))}if(Z(()=>(0,b.E)(y,{vertical:()=>e.key===T.R.ArrowUp?(0,v.jA)(t,v.TO.Previous|v.TO.WrapAround):e.key===T.R.ArrowDown?(0,v.jA)(t,v.TO.Next|v.TO.WrapAround):v.fE.Error,horizontal:()=>e.key===T.R.ArrowLeft?(0,v.jA)(t,v.TO.Previous|v.TO.WrapAround):e.key===T.R.ArrowRight?(0,v.jA)(t,v.TO.Next|v.TO.WrapAround):v.fE.Error}))===v.fE.Success)return e.preventDefault()}),q=(0,l.useRef)(!1),U=(0,c.z)(()=>{var e;q.current||(q.current=!0,null==(e=L.current)||e.focus({preventScroll:!0}),A.change(F),(0,w.Y)(()=>{q.current=!1}))}),z=(0,c.z)(e=>{e.preventDefault()}),{isFocusVisible:$,focusProps:H}=(0,a.F)({autoFocus:m}),{isHovered:G,hoverProps:W}=(0,s.X)({isDisabled:p}),{pressed:K,pressProps:Y}=(0,u.x)({disabled:p}),Q=(0,l.useMemo)(()=>({selected:B,hover:G,active:K,focus:$,autofocus:m,disabled:p}),[B,G,$,K,m,p]),J=(0,x.dG)({ref:M,onKeyDown:V,onMouseDown:z,onClick:U,id:i,role:"tab",type:(0,f.f)(e,R),"aria-controls":null==(n=null==(r=P[F])?void 0:r.current)?void 0:n.id,"aria-selected":B,tabIndex:B?0:-1,disabled:p||void 0,autoFocus:m},H,W,Y);return(0,x.L6)()({ourProps:J,theirProps:g,slot:Q,defaultTag:"button",name:"Tabs.Tab"})}),F=(0,x.yV)(function(e,t){let{defaultIndex:r=0,vertical:n=!1,manual:o=!1,onChange:i,selectedIndex:a=null,...s}=e,u=n?"vertical":"horizontal",f=o?"manual":"auto",m=null!==a,g=(0,p.E)({isControlled:m}),b=(0,h.T)(t),[w,E]=(0,l.useReducer)(L,{info:g,selectedIndex:null!=a?a:r,tabs:[],panels:[]}),S=(0,l.useMemo)(()=>({selectedIndex:w.selectedIndex}),[w.selectedIndex]),O=(0,p.E)(i||(()=>{})),T=(0,p.E)(w.tabs),D=(0,l.useMemo)(()=>({orientation:u,activation:f,...w}),[u,f,w]),P=(0,c.z)(e=>(E({type:1,tab:e}),()=>E({type:2,tab:e}))),A=(0,c.z)(e=>(E({type:3,panel:e}),()=>E({type:4,panel:e}))),k=(0,c.z)(e=>{I.current!==e&&O.current(e),m||E({type:0,index:e})}),I=(0,p.E)(m?e.selectedIndex:w.selectedIndex),N=(0,l.useMemo)(()=>({registerTab:P,registerPanel:A,change:k}),[]);(0,d.e)(()=>{E({type:0,index:null!=a?a:r})},[a]),(0,d.e)(()=>{if(void 0===I.current||w.tabs.length<=0)return;let e=(0,v.z2)(w.tabs,e=>e.current);e.some((e,t)=>w.tabs[t]!==e)&&k(e.indexOf(w.tabs[I.current]))});let M=(0,x.L6)();return l.createElement(C,null,l.createElement(_.Provider,{value:N},l.createElement(R.Provider,{value:D},D.tabs.length<=0&&l.createElement(y,{onFocus:()=>{var e,t;for(let r of T.current)if((null==(e=r.current)?void 0:e.tabIndex)===0)return null==(t=r.current)||t.focus(),!0;return!1}}),M({ourProps:{ref:b},theirProps:s,slot:S,defaultTag:"div",name:"Tabs"}))))}),B=(0,x.yV)(function(e,t){let{orientation:r,selectedIndex:n}=I("Tab.List"),o=(0,h.T)(t),i=(0,l.useMemo)(()=>({selectedIndex:n}),[n]);return(0,x.L6)()({ourProps:{ref:o,role:"tablist","aria-orientation":r},theirProps:e,slot:i,defaultTag:"div",name:"Tabs.List"})}),Z=(0,x.yV)(function(e,t){let{selectedIndex:r}=I("Tab.Panels"),n=(0,h.T)(t),o=(0,l.useMemo)(()=>({selectedIndex:r}),[r]);return(0,x.L6)()({ourProps:{ref:n},theirProps:e,slot:o,defaultTag:"div",name:"Tabs.Panels"})}),V=(0,x.yV)(function(e,t){var r,n,o,i;let s=(0,l.useId)(),{id:u="headlessui-tabs-panel-".concat(s),tabIndex:c=0,...p}=e,{selectedIndex:f,tabs:m,panels:y}=I("Tab.Panel"),v=N("Tab.Panel"),b=(0,l.useRef)(null),w=(0,h.T)(b,t);(0,d.e)(()=>v.registerPanel(b),[v,b]);let E=O("panels"),S=y.indexOf(b);-1===S&&(S=E);let C=S===f,{isFocusVisible:T,focusProps:D}=(0,a.F)(),P=(0,l.useMemo)(()=>({selected:C,focus:T}),[C,T]),A=(0,x.dG)({ref:w,id:u,role:"tabpanel","aria-labelledby":null==(n=null==(r=m[S])?void 0:r.current)?void 0:n.id,tabIndex:C?c:-1},D),k=(0,x.L6)();return C||null!=(o=p.unmount)&&!o||null!=(i=p.static)&&i?k({ourProps:A,theirProps:p,slot:P,defaultTag:"div",features:M,visible:C,name:"Tabs.Panel"}):l.createElement(g._,{"aria-hidden":"true",...A})}),q=Object.assign(j,{Group:F,List:B,Panels:Z,Panel:V})},41758:function(e,t,r){"use strict";r.d(t,{x:function(){return s}});var n=r(67294),o=r(46854),i=r(49126),a=r(90178);function s(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,n.useRef)(null),[r,s]=(0,n.useState)(!1),l=(0,i.G)(),u=(0,a.z)(()=>{t.current=null,s(!1),l.dispose()}),c=(0,a.z)(e=>{if(l.dispose(),null===t.current){t.current=e.currentTarget,s(!0);{let r=(0,o.r)(e.currentTarget);l.addEventListener(r,"pointerup",u,!1),l.addEventListener(r,"pointermove",e=>{if(t.current){var r,n;let o,i;s((o=e.width/2,i=e.height/2,r={top:e.clientY-i,right:e.clientX+o,bottom:e.clientY+i,left:e.clientX-o},n=t.current.getBoundingClientRect(),!(!r||!n||r.rightn.right||r.bottomn.bottom)))}},!1),l.addEventListener(r,"pointercancel",u,!1)}}});return{pressed:r,pressProps:e?{}:{onPointerDown:c,onPointerUp:u,onClick:u}}}},49126:function(e,t,r){"use strict";r.d(t,{G:function(){return i}});var n=r(67294),o=r(62502);function i(){let[e]=(0,n.useState)(o.k);return(0,n.useEffect)(()=>()=>e.dispose(),[e]),e}},90178:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});var n=r(67294),o=r(39273);let i=function(e){let t=(0,o.E)(e);return n.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n(e.current=!0,()=>{e.current=!1}),[]),e}},56427:function(e,t,r){"use strict";r.d(t,{e:function(){return i}});var n=r(67294),o=r(34550);let i=(e,t)=>{o.O.isServer?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)}},39273:function(e,t,r){"use strict";r.d(t,{E:function(){return i}});var n=r(67294),o=r(56427);function i(e){let t=(0,n.useRef)(e);return(0,o.e)(()=>{t.current=e},[e]),t}},92935:function(e,t,r){"use strict";r.d(t,{f:function(){return o}});var n=r(67294);function o(e,t){return(0,n.useMemo)(()=>{var r;if(e.type)return e.type;let n=null!=(r=e.as)?r:"button";if("string"==typeof n&&"button"===n.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}},94448:function(e,t,r){"use strict";r.d(t,{T:function(){return s},h:function(){return a}});var n=r(67294),o=r(90178);let i=Symbol();function a(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[i]:t})}function s(){for(var e=arguments.length,t=Array(e),r=0;r{a.current=t},[t]);let s=(0,o.z)(e=>{for(let t of a.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[i]))?void 0:s}},44831:function(e,t,r){"use strict";let n;r.d(t,{X:function(){return p},Y:function(){return f}});var o,i,a=r(67294),s=r(62502),l=r(49126),u=r(56427),c=r(34155);void 0!==c&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(o=null==c?void 0:c.env)?void 0:o.NODE_ENV)==="test"&&void 0===(null==(i=null==Element?void 0:Element.prototype)?void 0:i.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var d=((n=d||{})[n.None=0]="None",n[n.Closed=1]="Closed",n[n.Enter=2]="Enter",n[n.Leave=4]="Leave",n);function p(e){let t={};for(let r in e)!0===e[r]&&(t["data-".concat(r)]="");return t}function f(e,t,r,n){let[o,i]=(0,a.useState)(r),{hasFlag:c,addFlag:d,removeFlag:p}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,r]=(0,a.useState)(e),n=(0,a.useCallback)(e=>r(e),[t]),o=(0,a.useCallback)(e=>r(t=>t|e),[t]),i=(0,a.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:n,addFlag:o,hasFlag:i,removeFlag:(0,a.useCallback)(e=>r(t=>t&~e),[r]),toggleFlag:(0,a.useCallback)(e=>r(t=>t^e),[r])}}(e&&o?3:0),f=(0,a.useRef)(!1),h=(0,a.useRef)(!1),m=(0,l.G)();return(0,u.e)(()=>{var o;if(e){if(r&&i(!0),!t){r&&d(3);return}return null==(o=null==n?void 0:n.start)||o.call(n,r),function(e,t){let{prepare:r,run:n,done:o,inFlight:i}=t,a=(0,s.k)();return function(e,t){let{inFlight:r,prepare:n}=t;if(null!=r&&r.current){n();return}let o=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=o}(e,{prepare:r,inFlight:i}),a.nextFrame(()=>{n(),a.requestAnimationFrame(()=>{a.add(function(e,t){var r,n;let o=(0,s.k)();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let a=null!=(n=null==(r=e.getAnimations)?void 0:r.call(e).filter(e=>e instanceof CSSTransition))?n:[];return 0===a.length?t():Promise.allSettled(a.map(e=>e.finished)).then(()=>{i||t()}),o.dispose}(e,o))})}),a.dispose}(t,{inFlight:f,prepare(){h.current?h.current=!1:h.current=f.current,f.current=!0,h.current||(r?(d(3),p(4)):(d(4),p(2)))},run(){h.current?r?(p(3),d(4)):(p(4),d(3)):r?p(1):d(1)},done(){var e;h.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(f.current=!1,p(7),r||i(!1),null==(e=null==n?void 0:n.end)||e.call(n,r))}})}},[e,r,t,m]),e?[o,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},24649:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67294);let o=(0,n.createContext)(()=>{});function i(e){let{value:t,children:r}=e;return n.createElement(o.Provider,{value:t},r)}},47287:function(e,t,r){"use strict";let n;r.d(t,{_:function(){return a},x:function(){return i}});var o=r(90633),i=((n=i||{})[n.None=1]="None",n[n.Focusable=2]="Focusable",n[n.Hidden=4]="Hidden",n);let a=(0,o.yV)(function(e,t){var r;let{features:n=1,...i}=e,a={ref:t,"aria-hidden":(2&n)==2||(null!=(r=i["aria-hidden"])?r:void 0),hidden:(4&n)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}};return(0,o.L6)()({ourProps:a,theirProps:i,slot:{},defaultTag:"span",name:"Hidden"})})},46490:function(e,t,r){"use strict";let n;r.d(t,{ZM:function(){return a},oJ:function(){return s},up:function(){return l},uu:function(){return u}});var o=r(67294);let i=(0,o.createContext)(null);i.displayName="OpenClosedContext";var a=((n=a||{})[n.Open=1]="Open",n[n.Closed=2]="Closed",n[n.Closing=4]="Closing",n[n.Opening=8]="Opening",n);function s(){return(0,o.useContext)(i)}function l(e){let{value:t,children:r}=e;return o.createElement(i.Provider,{value:t},r)}function u(e){let{children:t}=e;return o.createElement(i.Provider,{value:null},t)}},75711:function(e,t,r){"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}r.d(t,{A:function(){return n}})},62502:function(e,t,r){"use strict";r.d(t,{k:function(){return function e(){let t=[],r={addEventListener:(e,t,n,o)=>(e.addEventListener(t,n,o),r.add(()=>e.removeEventListener(t,n,o))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),n=0;ncancelAnimationFrame(o))},nextFrame(){for(var e=arguments.length,t=Array(e),n=0;nr.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),n=0;nclearTimeout(o))},microTask(){for(var e=arguments.length,t=Array(e),o=0;o{i.current&&t[0]()}),r.add(()=>{i.current=!1})},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add(()=>{Object.assign(e.style,{[t]:n})})},group(t){let r=e();return t(r),this.add(()=>r.dispose())},add:e=>(t.includes(e)||t.push(e),()=>{let r=t.indexOf(e);if(r>=0)for(let e of t.splice(r,1))e()}),dispose(){for(let e of t.splice(0))e()}};return r}}});var n=r(4387)},22329:function(e,t,r){"use strict";function n(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function o(e){return n(e)&&"tagName"in e}function i(e){return o(e)&&"accessKey"in e}function a(e){return o(e)&&"tabIndex"in e}function s(e){return o(e)&&"style"in e}function l(e){return i(e)&&"IFRAME"===e.nodeName}function u(e){return i(e)&&"INPUT"===e.nodeName}function c(e){return i(e)&&"FIELDSET"===e.nodeName}function d(e){return i(e)&&"LEGEND"===e.nodeName}r.d(t,{CD:function(){return d},LL:function(){return u},Re:function(){return i},UG:function(){return n},jQ:function(){return l},kK:function(){return o},nR:function(){return s},sP:function(){return a},zO:function(){return c}})},34550:function(e,t,r){"use strict";r.d(t,{O:function(){return s}});var n=Object.defineProperty,o=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,i=(e,t,r)=>(o(e,"symbol"!=typeof t?t+"":t,r),r);class a{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}}let s=new a},21939:function(e,t,r){"use strict";let n,o,i,a,s;r.d(t,{C5:function(){return v},TO:function(){return p},fE:function(){return f},jA:function(){return w},sP:function(){return g},tJ:function(){return m},y:function(){return c},z2:function(){return b}});var l=r(28400),u=r(46854);let c=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(","),d=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var p=((n=p||{})[n.First=1]="First",n[n.Previous=2]="Previous",n[n.Next=4]="Next",n[n.Last=8]="Last",n[n.WrapAround=16]="WrapAround",n[n.NoScroll=32]="NoScroll",n[n.AutoFocus=64]="AutoFocus",n),f=((o=f||{})[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o),h=((i=h||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i),m=((a=m||{})[a.Strict=0]="Strict",a[a.Loose=1]="Loose",a);function g(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,u.r)(e))?void 0:t.body)&&(0,l.E)(r,{0:()=>e.matches(c),1(){let t=e;for(;null!==t;){if(t.matches(c))return!0;t=t.parentElement}return!1}})}var y=((s=y||{})[s.Keyboard=0]="Keyboard",s[s.Mouse=1]="Mouse",s);function v(e){null==e||e.focus({preventScroll:!0})}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,r)=>{let n=t(e),o=t(r);if(null===n||null===o)return 0;let i=n.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function w(e,t){var r,n,o;let{sorted:i=!0,relativeTo:a=null,skipElements:s=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?i?b(e):e:64&t?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(c)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e);s.length>0&&u.length>1&&(u=u.filter(e=>!s.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),a=null!=a?a:l.activeElement;let p=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(a))-1;if(4&t)return Math.max(0,u.indexOf(a))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=32&t?{preventScroll:!0}:{},m=0,g=u.length,y;do{if(m>=g||m+g<=0)return 0;let e=f+m;if(16&t)e=(e+g)%g;else{if(e<0)return 3;if(e>=g)return 1}null==(y=u[e])||y.focus(h),m+=p}while(y!==l.activeElement);return 6&t&&null!=(o=null==(n=null==(r=y)?void 0:r.matches)?void 0:n.call(r,"textarea,input"))&&o&&y.select(),2}"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},28400:function(e,t,r){"use strict";function n(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(a,n),a}r.d(t,{E:function(){return n}})},4387:function(e,t,r){"use strict";function n(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}r.d(t,{Y:function(){return n}})},46854:function(e,t,r){"use strict";r.d(t,{r:function(){return o}});var n=r(34550);function o(e){var t,r;return n.O.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?null!=(r=null==(t=e.current)?void 0:t.ownerDocument)?r:document:null:document}},90633:function(e,t,r){"use strict";let n,o;r.d(t,{L6:function(){return c},VN:function(){return l},dG:function(){return h},l4:function(){return u},oA:function(){return g},yV:function(){return m}});var i=r(67294),a=r(75711),s=r(28400),l=((n=l||{})[n.None=0]="None",n[n.RenderStrategy=1]="RenderStrategy",n[n.Static=2]="Static",n),u=((o=u||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function c(){let e,t;let r=(e=(0,i.useRef)([]),t=(0,i.useCallback)(t=>{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)},[]),function(){for(var r=arguments.length,n=Array(r),o=0;onull==e))return e.current=n,t});return(0,i.useCallback)(e=>(function(e){let{ourProps:t,theirProps:r,slot:n,defaultTag:o,features:i,visible:a=!0,name:l,mergeRefs:u}=e;u=null!=u?u:p;let c=f(r,t);if(a)return d(c,n,o,l,u);let h=null!=i?i:0;if(2&h){let{static:e=!1,...t}=c;if(e)return d(t,n,o,l,u)}if(1&h){let{unmount:e=!0,...t}=c;return(0,s.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,o,l,u)})}return d(c,n,o,l,u)})({mergeRefs:r,...e}),[r])}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,{as:s=r,children:l,refName:u="ref",...c}=y(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},p="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let h={};if(t){let e=!1,r=[];for(let[n,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&r.push(n.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())));if(e)for(let e of(h["data-headlessui-state"]=r.join(" "),r))h["data-".concat(e)]=""}if(s===i.Fragment&&(Object.keys(g(c)).length>0||Object.keys(g(h)).length>0)){if(!(0,i.isValidElement)(p)||Array.isArray(p)&&p.length>1){if(Object.keys(g(c)).length>0)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(n,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(g(c)).concat(Object.keys(g(h))).map(e=>" - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>" - ".concat(e)).join("\n")].join("\n"))}else{let e=p.props,t=null==e?void 0:e.className,r="function"==typeof t?function(){for(var e=arguments.length,r=Array(e),n=0;n="19"?p.props.ref:p.ref,d.ref)},r?{className:r}:{}))}}return(0,i.createElement)(s,Object.assign({},y(c,["ref"]),s!==i.Fragment&&d,s!==i.Fragment&&h),p)}function p(){for(var e=arguments.length,t=Array(e),r=0;rnull==e)?void 0:e=>{for(let r of t)null!=r&&("function"==typeof r?r(e):r.current=e)}}function f(){for(var e=arguments.length,t=Array(e),r=0;r{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in o)Object.assign(n,{[e](t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:[],r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}},37340:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:function(){return n}})}}]);