UNPKG

iobroker.javascript

Version:
1 lines 52.3 kB
"use strict";(self.webpackChunkjs=self.webpackChunkjs||[]).push([[152],{10789:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(58168),o=n(28437),i=(n(95973),n(59887)),a=n(18959),s=n(18590),c=n(70579);const l=function(e){const{children:t,theme:n}=e,l=(0,a.A)(),u=o.useMemo((()=>{const e=null===l?n:function(e,t){if("function"===typeof t)return t(e);return(0,r.A)({},e,t)}(l,n);return null!=e&&(e[s.A]=null!==l),e}),[n,l]);return(0,c.jsx)(i.A.Provider,{value:u,children:t})}},18590:(e,t,n)=>{n.d(t,{A:()=>r});const r="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},59887:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(28437);const o=r.createContext(null)},18959:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(28437),o=n(59887);function i(){return r.useContext(o.A)}},17872:(e,t,n)=>{n.d(t,{A:()=>a});n(28437),n(95973);var r=n(70869),o=n(45527),i=n(70579);const a=function(e){let{styles:t,themeId:n,defaultTheme:a={}}=e;const s=(0,o.A)(a),c="function"===typeof t?t(n&&s[n]||s):t;return(0,i.jsx)(r.A,{styles:c})}},10875:(e,t,n)=>{n.d(t,{A:()=>u,I:()=>l});var r=n(58168),o=n(98587),i=n(28437),a=(n(95973),n(70579));const s=["value"],c=i.createContext();const l=()=>{const e=i.useContext(c);return null!=e&&e},u=function(e){let{value:t}=e,n=(0,o.A)(e,s);return(0,a.jsx)(c.Provider,(0,r.A)({value:null==t||t},n))}},78296:(e,t,n)=>{n.d(t,{A:()=>A});var r=n(98587),o=n(58168),i=n(28437),a=(n(95973),n(58387)),s=n(43216),c=n(32400),l=n(68606),u=n(79644),f=n(52900),d=n(18698),p=n(80315),h=n(89751),m=n(28604),v=n(70579);const y=["component","direction","spacing","divider","children","className","useFlexGap"],g=(0,p.A)(),b=(0,u.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function x(e){return(0,f.A)({props:e,name:"MuiStack",defaultTheme:g})}function w(e,t){const n=i.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(i.cloneElement(t,{key:"separator-".concat(o)})),e)),[])}const S=e=>{let{ownerState:t,theme:n}=e,r=(0,o.A)({display:"flex",flexDirection:"column"},(0,h.NI)({theme:n},(0,h.kW)({values:t.direction,breakpoints:n.breakpoints.values}),(e=>({flexDirection:e}))));if(t.spacing){const e=(0,m.LX)(n),o=Object.keys(n.breakpoints.values).reduce(((e,n)=>(("object"===typeof t.spacing&&null!=t.spacing[n]||"object"===typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e)),{}),i=(0,h.kW)({values:t.direction,base:o}),a=(0,h.kW)({values:t.spacing,base:o});"object"===typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));const c=(n,r)=>{return t.useFlexGap?{gap:(0,m._W)(e,n)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{["margin".concat((o=r?i[r]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]))]:(0,m._W)(e,n)}};var o};r=(0,s.A)(r,(0,h.NI)({theme:n},a,c))}return r=(0,h.iZ)(n.breakpoints,r),r};function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{createStyledComponent:t=b,useThemeProps:n=x,componentName:s="MuiStack"}=e,u=t(S);return i.forwardRef((function(e,t){const i=n(e),f=(0,d.A)(i),{component:p="div",direction:h="column",spacing:m=0,divider:g,children:b,className:x,useFlexGap:S=!1}=f,A=(0,r.A)(f,y),E={direction:h,spacing:m,useFlexGap:S},O=(0,l.A)({root:["root"]},(e=>(0,c.Ay)(s,e)),{});return(0,v.jsx)(u,(0,o.A)({as:p,ownerState:E,ref:t,className:(0,a.A)(O.root,x)},A,{children:g?w(b,g):b}))}))}},38548:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(58168),o=n(28437),i=(n(95973),n(18959)),a=n(10789),s=n(55756),c=n(67082),l=n(10875),u=n(70579);const f={};function d(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return o.useMemo((()=>{const o=e&&t[e]||t;if("function"===typeof n){const a=n(o),s=e?(0,r.A)({},t,{[e]:a}):a;return i?()=>s:s}return e?(0,r.A)({},t,{[e]:n}):(0,r.A)({},t,n)}),[e,t,n,i])}const p=function(e){const{children:t,theme:n,themeId:r}=e,o=(0,c.A)(f),p=(0,i.A)()||f,h=d(r,o,n),m=d(r,p,n,!0),v="rtl"===h.direction;return(0,u.jsx)(a.A,{theme:m,children:(0,u.jsx)(s.T.Provider,{value:h,children:(0,u.jsx)(l.A,{value:v,children:t})})})}},90310:(e,t,n)=>{n.d(t,{Cg:()=>m,E2:()=>a,J1:()=>d,Me:()=>c,Nd:()=>y,Ob:()=>u,X0:()=>l,X4:()=>h,Y9:()=>w,YL:()=>f,a:()=>g,e$:()=>v,eM:()=>p,j4:()=>b,rP:()=>s,tL:()=>x});var r=n(6632),o=n(47040);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,o.A)(e,t,n)}function a(e){e=e.slice(1);const t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", "),")"):""}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(a(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.A)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.A)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}const c=(e,t)=>{try{return(e=>{const t=s(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?"".concat(e,"%"):e)).join(" ")})(e)}catch(n){return e}};function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function u(e){if(0===e.indexOf("#"))return e;const{values:t}=s(e);return"#".concat(t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?"0".concat(t):t}(3===t?Math.round(255*e):e))).join(""))}function f(e){e=s(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let c="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}function d(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(f(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){const n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function h(e,t){return e=s(e),t=i(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 m(e,t,n){try{return h(e,t)}catch(r){return e}}function v(e,t){if(e=s(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function y(e,t,n){try{return v(e,t)}catch(r){return e}}function g(e,t){if(e=s(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}function b(e,t,n){try{return g(e,t)}catch(r){return e}}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return d(e)>.5?v(e,t):g(e,t)}function w(e,t,n){try{return x(e,t)}catch(r){return e}}},30920:(e,t,n)=>{n.d(t,{Ay:()=>g,MC:()=>d});var r=n(58168),o=n(98587),i=n(54984),a=n(43216),s=n(80315),c=n(58812);const l=["ownerState"],u=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const p=(0,s.A)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m(e){let{defaultTheme:t,theme:n,themeId:r}=e;return o=n,0===Object.keys(o).length?t:n[r]||n;var o}function v(e){return e?(t,n)=>n[e]:null}function y(e,t){let{ownerState:n}=t,i=(0,o.A)(t,l);const a="function"===typeof e?e((0,r.A)({ownerState:n},i)):e;if(Array.isArray(a))return a.flatMap((e=>y(e,(0,r.A)({ownerState:n},i))));if(a&&"object"===typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,o.A)(a,u);return e.forEach((e=>{let o=!0;"function"===typeof e.props?o=e.props((0,r.A)({ownerState:n},i,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&i[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,r.A)({ownerState:n},i,n)):e.style))})),t}return a}function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n=p,rootShouldForwardProp:s=d,slotShouldForwardProp:l=d}=e,u=e=>(0,c.A)((0,r.A)({},e,{theme:m((0,r.A)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,function(e){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:g,skipVariantsResolver:b,skipSx:x,overridesResolver:w=v(h(g))}=c,S=(0,o.A)(c,f),A=void 0!==b?b:g&&"Root"!==g&&"root"!==g||!1,E=x||!1;let O=d;"Root"===g||"root"===g?O=s:g?O=l:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(O=void 0);const k=(0,i.default)(e,(0,r.A)({shouldForwardProp:O,label:undefined},S)),C=e=>"function"===typeof e&&e.__emotion_real!==e||(0,a.Q)(e)?o=>y(e,(0,r.A)({},o,{theme:m({theme:o.theme,defaultTheme:n,themeId:t})})):e,j=function(o){let i=C(o);for(var a=arguments.length,s=new Array(a>1?a-1:0),c=1;c<a;c++)s[c-1]=arguments[c];const l=s?s.map(C):[];p&&w&&l.push((e=>{const o=m((0,r.A)({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[p]||!o.components[p].styleOverrides)return null;const i=o.components[p].styleOverrides,a={};return Object.entries(i).forEach((t=>{let[n,i]=t;a[n]=y(i,(0,r.A)({},e,{theme:o}))})),w(e,a)})),p&&!A&&l.push((e=>{var o;const i=m((0,r.A)({},e,{defaultTheme:n,themeId:t}));return y({variants:null==i||null==(o=i.components)||null==(o=o[p])?void 0:o.variants},(0,r.A)({},e,{theme:i}))})),E||l.push(u);const f=l.length-s.length;if(Array.isArray(o)&&f>0){const e=new Array(f).fill("");i=[...o,...e],i.raw=[...o.raw,...e]}const d=k(i,...l);return e.muiName&&(d.muiName=e.muiName),d};return k.withConfig&&(j.withConfig=k.withConfig),j}}},3358:(e,t,n)=>{n.d(t,{A:()=>w});var r=n(58168),o=n(98587),i=n(6632),a=n(28437),s=(n(95973),n(43216)),c=n(70869),l=n(18959),u=n(38548),f=n(70579);const d="mode",p="color-scheme",h="data-color-scheme";function m(e){if("undefined"!==typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function v(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function y(e,t){if("undefined"===typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(r){}return n||t}function g(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:o,supportedColorSchemes:i=[],modeStorageKey:s=d,colorSchemeStorageKey:c=p,storageWindow:l=("undefined"===typeof window?void 0:window)}=e,u=i.join(","),[f,h]=a.useState((()=>{const e=y(s,t),r=y("".concat(c,"-light"),n),i=y("".concat(c,"-dark"),o);return{mode:e,systemMode:m(e),lightColorScheme:r,darkColorScheme:i}})),g=function(e){return v(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(f),b=a.useCallback((e=>{h((n=>{if(e===n.mode)return n;const o=null!=e?e:t;try{localStorage.setItem(s,o)}catch(i){}return(0,r.A)({},n,{mode:o,systemMode:m(o)})}))}),[s,t]),x=a.useCallback((e=>{e?"string"===typeof e?e&&!u.includes(e)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):h((t=>{const n=(0,r.A)({},t);return v(t,(t=>{try{localStorage.setItem("".concat(c,"-").concat(t),e)}catch(r){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):h((t=>{const i=(0,r.A)({},t),a=null===e.light?n:e.light,s=null===e.dark?o:e.dark;if(a)if(u.includes(a)){i.lightColorScheme=a;try{localStorage.setItem("".concat(c,"-light"),a)}catch(l){}}else console.error("`".concat(a,"` does not exist in `theme.colorSchemes`."));if(s)if(u.includes(s)){i.darkColorScheme=s;try{localStorage.setItem("".concat(c,"-dark"),s)}catch(l){}}else console.error("`".concat(s,"` does not exist in `theme.colorSchemes`."));return i})):h((e=>{try{localStorage.setItem("".concat(c,"-light"),n),localStorage.setItem("".concat(c,"-dark"),o)}catch(t){}return(0,r.A)({},e,{lightColorScheme:n,darkColorScheme:o})}))}),[u,c,n,o]),w=a.useCallback((e=>{"system"===f.mode&&h((t=>{const n=null!=e&&e.matches?"dark":"light";return t.systemMode===n?t:(0,r.A)({},t,{systemMode:n})}))}),[f.mode]),S=a.useRef(w);return S.current=w,a.useEffect((()=>{const e=function(){return S.current(...arguments)},t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}}),[]),a.useEffect((()=>{if(l){const e=e=>{const n=e.newValue;"string"!==typeof e.key||!e.key.startsWith(c)||n&&!u.match(n)||(e.key.endsWith("light")&&x({light:n}),e.key.endsWith("dark")&&x({dark:n})),e.key!==s||n&&!["light","dark","system"].includes(n)||b(n||t)};return l.addEventListener("storage",e),()=>{l.removeEventListener("storage",e)}}}),[x,b,s,c,u,t,l]),(0,r.A)({},f,{colorScheme:g,setMode:b,setColorScheme:x})}const b=["colorSchemes","components","generateCssVars","cssVarPrefix"],x="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function w(e){const{themeId:t,theme:n={},attribute:m=h,modeStorageKey:v=d,colorSchemeStorageKey:y=p,defaultMode:w="light",defaultColorScheme:S,disableTransitionOnChange:A=!1,resolveTheme:E,excludeVariablesFromRoot:O}=e;(!n.colorSchemes||"string"===typeof S&&!n.colorSchemes[S]||"object"===typeof S&&!n.colorSchemes[null==S?void 0:S.light]||"object"===typeof S&&!n.colorSchemes[null==S?void 0:S.dark])&&console.error("MUI: `".concat(S,"` does not exist in `theme.colorSchemes`."));const k=a.createContext(void 0);const C="string"===typeof S?S:S.light,j="string"===typeof S?S:S.dark;return{CssVarsProvider:function(e){const{children:i,theme:d=n,modeStorageKey:p=v,colorSchemeStorageKey:h=y,attribute:C=m,defaultMode:j=w,defaultColorScheme:M=S,disableTransitionOnChange:T=A,storageWindow:D=("undefined"===typeof window?void 0:window),documentNode:R=("undefined"===typeof document?void 0:document),colorSchemeNode:I=("undefined"===typeof document?void 0:document.documentElement),colorSchemeSelector:L=":root",disableNestedContext:N=!1,disableStyleSheetGeneration:P=!1}=e,W=a.useRef(!1),V=(0,l.A)(),_=a.useContext(k),F=!!_&&!N,B=d[t],H=B||d,{colorSchemes:K={},components:q={},generateCssVars:U=(()=>({vars:{},css:{}})),cssVarPrefix:G}=H,X=(0,o.A)(H,b),z=Object.keys(K),Y="string"===typeof M?M:M.light,$="string"===typeof M?M:M.dark,{mode:J,setMode:Q,systemMode:Z,lightColorScheme:ee,darkColorScheme:te,colorScheme:ne,setColorScheme:re}=g({supportedColorSchemes:z,defaultLightColorScheme:Y,defaultDarkColorScheme:$,modeStorageKey:p,colorSchemeStorageKey:h,defaultMode:j,storageWindow:D});let oe=J,ie=ne;F&&(oe=_.mode,ie=_.colorScheme);const ae=ie||("dark"===(oe||("system"===j?w:j))?$:Y),{css:se,vars:ce}=U(),le=(0,r.A)({},X,{components:q,colorSchemes:K,cssVarPrefix:G,vars:ce,getColorSchemeSelector:e=>"[".concat(C,'="').concat(e,'"] &')}),ue={},fe={};Object.entries(K).forEach((e=>{let[t,n]=e;const{css:o,vars:i}=U(t);le.vars=(0,s.A)(le.vars,i),t===ae&&(Object.keys(n).forEach((e=>{n[e]&&"object"===typeof n[e]?le[e]=(0,r.A)({},le[e],n[e]):le[e]=n[e]})),le.palette&&(le.palette.colorScheme=t));if(t===("string"===typeof M?M:"dark"===j?M.dark:M.light)){if(O){const e={};O(G).forEach((t=>{e[t]=o[t],delete o[t]})),ue["[".concat(C,'="').concat(t,'"]')]=e}ue["".concat(L,", [").concat(C,'="').concat(t,'"]')]=o}else fe["".concat(":root"===L?"":L,"[").concat(C,'="').concat(t,'"]')]=o})),le.vars=(0,s.A)(le.vars,ce),a.useEffect((()=>{ie&&I&&I.setAttribute(C,ie)}),[ie,C,I]),a.useEffect((()=>{let e;if(T&&W.current&&R){const t=R.createElement("style");t.appendChild(R.createTextNode(x)),R.head.appendChild(t),window.getComputedStyle(R.body),e=setTimeout((()=>{R.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[ie,T,R]),a.useEffect((()=>(W.current=!0,()=>{W.current=!1})),[]);const de=a.useMemo((()=>({allColorSchemes:z,colorScheme:ie,darkColorScheme:te,lightColorScheme:ee,mode:oe,setColorScheme:re,setMode:Q,systemMode:Z})),[z,ie,te,ee,oe,re,Q,Z]);let pe=!0;(P||F&&(null==V?void 0:V.cssVarPrefix)===G)&&(pe=!1);const he=(0,f.jsxs)(a.Fragment,{children:[pe&&(0,f.jsxs)(a.Fragment,{children:[(0,f.jsx)(c.A,{styles:{[L]:se}}),(0,f.jsx)(c.A,{styles:ue}),(0,f.jsx)(c.A,{styles:fe})]}),(0,f.jsx)(u.A,{themeId:B?t:void 0,theme:E?E(le):le,children:i})]});return F?he:(0,f.jsx)(k.Provider,{value:de,children:he})},useColorScheme:()=>{const e=a.useContext(k);if(!e)throw new Error((0,i.A)(19));return e},getInitColorSchemeScript:e=>function(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=d,colorSchemeStorageKey:i=p,attribute:a=h,colorSchemeNode:s="document.documentElement"}=e||{};return(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function() {\ntry {\n var mode = localStorage.getItem('".concat(o,"') || '").concat(t,"';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('").concat(i,"-dark') || '").concat(r,"';\n } else {\n colorScheme = localStorage.getItem('").concat(i,"-light') || '").concat(n,"';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('").concat(i,"-light') || '").concat(n,"';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('").concat(i,"-dark') || '").concat(r,"';\n }\n if (colorScheme) {\n ").concat(s,".setAttribute('").concat(a,"', colorScheme);\n }\n} catch(e){}})();")}},"mui-color-scheme-init")}((0,r.A)({attribute:m,colorSchemeStorageKey:y,defaultMode:w,defaultLightColorScheme:C,defaultDarkColorScheme:j,modeStorageKey:v},e))}}},56469:(e,t,n)=>{function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";function t(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];if(!r.length)return"";const i=r[0];return"string"!==typeof i||i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?", ".concat(i):", var(--".concat(e?"".concat(e,"-"):"").concat(i).concat(t(...r.slice(1)),")")}return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return"var(--".concat(e?"".concat(e,"-"):"").concat(n).concat(t(...o),")")}}n.d(t,{A:()=>r})},48361:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(58168),o=n(59526),i=n(98587),a=n(43216);const s=function(e,t,n){let r=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)]=n:o&&"object"===typeof o&&(o[e]=n):o&&"object"===typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},c=(e,t,n)=>{!function e(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Object.entries(r).forEach((r=>{let[a,s]=r;(!n||n&&!n([...o,a]))&&void 0!==s&&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)},l=(e,t)=>{if("number"===typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:"".concat(t,"px")}return t};function u(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return c(e,((e,t,c)=>{if(("string"===typeof t||"number"===typeof t)&&(!r||!r(e,t))){const r="--".concat(n?"".concat(n,"-"):"").concat(e.join("-"));Object.assign(o,{[r]:l(e,t)}),s(i,e,"var(".concat(r,")"),c),s(a,e,"var(".concat(r,", ").concat(t,")"),c)}}),(e=>"vars"===e[0])),{css:o,vars:i,varsWithDefaults:a}}const f=["colorSchemes","components","defaultColorScheme"];const d=function(e,t){const{colorSchemes:n={},defaultColorScheme:s="light"}=e,c=(0,i.A)(e,f),{vars:l,css:d,varsWithDefaults:p}=u(c,t);let h=p;const m={},{[s]:v}=n,y=(0,i.A)(n,[s].map(o.A));if(Object.entries(y||{}).forEach((e=>{let[n,r]=e;const{vars:o,css:i,varsWithDefaults:s}=u(r,t);h=(0,a.A)(h,s),m[n]={css:i,vars:o}})),v){const{css:e,vars:n,varsWithDefaults:r}=u(v,t);h=(0,a.A)(h,r),m[s]={css:e,vars:n}}return{vars:h,generateCssVars:e=>{var n;if(!e){var o;const n=(0,r.A)({},d);return{css:n,vars:l,selector:(null==t||null==(o=t.getSelector)?void 0:o.call(t,e,n))||":root"}}const i=(0,r.A)({},m[e].css);return{css:i,vars:m[e].vars,selector:(null==t||null==(n=t.getSelector)?void 0:n.call(t,e,i))||":root"}}}}},79644:(e,t,n)=>{n.d(t,{A:()=>r});const r=(0,n(30920).Ay)()},44708:(e,t,n)=>{function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}),(()=>{}))}n.d(t,{A:()=>r})},76440:(e,t,n)=>{function r(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(t),t=setTimeout((()=>{e.apply(this,o)}),n)}return r.clear=()=>{clearTimeout(t)},r}n.d(t,{A:()=>r})},26336:(e,t,n)=>{function r(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}n.d(t,{A:()=>r})},36912:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(28437);function o(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},22144:(e,t,n)=>{function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},46288:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(22144);function o(e){return(0,r.A)(e).defaultView||window}},69184:(e,t,n)=>{function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},41944:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(28437);function o(e){let{controlled:t,default:n,name:o,state:i="value"}=e;const{current:a}=r.useRef(void 0!==t),[s,c]=r.useState(n);return[a?t:s,r.useCallback((e=>{a||c(e)}),[])]}},63844:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(28437);const o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect},24626:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(28437),o=n(63844);const i=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef((function(){return(0,t.current)(...arguments)})).current}},47042:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(28437),o=n(69184);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{(0,o.A)(t,e)}))}),t)}},20992:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(28437);let o=0;const i=r["useId".toString()];function a(e){if(void 0!==i){const t=i();return null!=e?e:t}return function(e){const[t,n]=r.useState(e),i=e||t;return r.useEffect((()=>{null==t&&(o+=1,n("mui-".concat(o)))}),[t]),i}(e)}},40932:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(28437),o=n(31140);let i=!0,a=!1;const s=new o.E,c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!c[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function p(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",f,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,s.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},31140:(e,t,n)=>{n.d(t,{E:()=>a,A:()=>s});var r=n(28437);const o={};const i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function s(){const e=function(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},28747:(e,t,n)=>{function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){return e instanceof r(e).Element||e instanceof Element}function i(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!==typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{n4:()=>ye});var s=Math.max,c=Math.min,l=Math.round;function u(){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 f(){return!/^((?!chrome|android).)*safari/i.test(u())}function d(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,c=1;t&&i(e)&&(s=e.offsetWidth>0&&l(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&l(a.height)/e.offsetHeight||1);var u=(o(e)?r(e):window).visualViewport,d=!f()&&n,p=(a.left+(d&&u?u.offsetLeft:0))/s,h=(a.top+(d&&u?u.offsetTop:0))/c,m=a.width/s,v=a.height/c;return{width:m,height:v,top:h,right:p+m,bottom:h+v,left:p,x:p,y:h}}function p(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function v(e){return d(m(e)).left+p(e).scrollLeft}function y(e){return r(e).getComputedStyle(e)}function g(e){var t=y(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b(e,t,n){void 0===n&&(n=!1);var o=i(t),a=i(t)&&function(e){var t=e.getBoundingClientRect(),n=l(t.width)/e.offsetWidth||1,r=l(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=m(t),c=d(e,a,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!n)&&(("body"!==h(t)||g(s))&&(u=function(e){return e!==r(e)&&i(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:p(e);var t}(t)),i(t)?((f=d(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=v(s))),{x:c.left+u.scrollLeft-f.x,y:c.top+u.scrollTop-f.y,width:c.width,height:c.height}}function x(e){var t=d(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function w(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||m(e)}function S(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:i(e)&&g(e)?e:S(w(e))}function A(e,t){var n;void 0===t&&(t=[]);var o=S(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=r(o),s=i?[a].concat(a.visualViewport||[],g(o)?o:[]):o,c=t.concat(s);return i?c:c.concat(A(w(s)))}function E(e){return["table","td","th"].indexOf(h(e))>=0}function O(e){return i(e)&&"fixed"!==y(e).position?e.offsetParent:null}function k(e){for(var t=r(e),n=O(e);n&&E(n)&&"static"===y(n).position;)n=O(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===y(n).position)?t:n||function(e){var t=/firefox/i.test(u());if(/Trident/i.test(u())&&i(e)&&"fixed"===y(e).position)return null;var n=w(e);for(a(n)&&(n=n.host);i(n)&&["html","body"].indexOf(h(n))<0;){var r=y(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var C="top",j="bottom",M="right",T="left",D="auto",R=[C,j,M,T],I="start",L="end",N="clippingParents",P="viewport",W="popper",V="reference",_=R.reduce((function(e,t){return e.concat([t+"-"+I,t+"-"+L])}),[]),F=[].concat(R,[D]).reduce((function(e,t){return e.concat([t,t+"-"+I,t+"-"+L])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function K(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function G(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?q:i;return function(e,t,n){void 0===n&&(n=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,l={state:i,setOptions:function(n){var c="function"===typeof n?n(i.options):n;u(),i.options=Object.assign({},a,i.options,c),i.scrollParents={reference:o(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(t)};var f=function(e){var t=H(e);return B.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,i.options.modifiers)));return i.orderedModifiers=f.filter((function(e){return e.enabled})),i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"===typeof o){var a=o({state:i,name:t,instance:l,options:r}),c=function(){};s.push(a||c)}})),l.update()},forceUpdate:function(){if(!c){var e=i.elements,t=e.reference,n=e.popper;if(U(t,n)){i.rects={reference:b(t,k(n),"fixed"===i.options.strategy),popper:x(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],a=o.fn,s=o.options,u=void 0===s?{}:s,f=o.name;"function"===typeof a&&(i=a({state:i,options:u,name:f,instance:l})||i)}else i.reset=!1,r=-1}}},update:K((function(){return new Promise((function(e){l.forceUpdate(),e(i)}))})),destroy:function(){u(),c=!0}};if(!U(e,t))return l;function u(){s.forEach((function(e){return e()})),s=[]}return l.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var X={passive:!0};function z(e){return e.split("-")[0]}function Y(e){return e.split("-")[1]}function $(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?z(o):null,a=o?Y(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case C:t={x:s,y:n.y-r.height};break;case j:t={x:s,y:n.y+n.height};break;case M:t={x:n.x+n.width,y:c};break;case T:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=i?$(i):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case I:t[l]=t[l]-(n[u]/2-r[u]/2);break;case L:t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,c=e.position,u=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,p=e.isFixed,h=s.x,v=void 0===h?0:h,g=s.y,b=void 0===g?0:g,x="function"===typeof d?d({x:v,y:b}):{x:v,y:b};v=x.x,b=x.y;var w=s.hasOwnProperty("x"),S=s.hasOwnProperty("y"),A=T,E=C,O=window;if(f){var D=k(n),R="clientHeight",I="clientWidth";if(D===r(n)&&"static"!==y(D=m(n)).position&&"absolute"===c&&(R="scrollHeight",I="scrollWidth"),i===C||(i===T||i===M)&&a===L)E=j,b-=(p&&D===O&&O.visualViewport?O.visualViewport.height:D[R])-o.height,b*=u?1:-1;if(i===T||(i===C||i===j)&&a===L)A=M,v-=(p&&D===O&&O.visualViewport?O.visualViewport.width:D[I])-o.width,v*=u?1:-1}var N,P=Object.assign({position:c},f&&Q),W=!0===d?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:l(n*o)/o||0,y:l(r*o)/o||0}}({x:v,y:b},r(n)):{x:v,y:b};return v=W.x,b=W.y,u?Object.assign({},P,((N={})[E]=S?"0":"",N[A]=w?"0":"",N.transform=(O.devicePixelRatio||1)<=1?"translate("+v+"px, "+b+"px)":"translate3d("+v+"px, "+b+"px, 0)",N)):Object.assign({},P,((t={})[E]=S?b+"px":"",t[A]=w?v+"px":"",t.transform="",t))}const ee={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=F.reduce((function(e,n){return e[n]=function(e,t,n){var r=z(e),o=[T,C].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[T,M].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}};var te={left:"right",right:"left",bottom:"top",top:"bottom"};function ne(e){return e.replace(/left|right|bottom|top/g,(function(e){return te[e]}))}var re={start:"end",end:"start"};function oe(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function ie(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function se(e,t,n){return t===P?ae(function(e,t){var n=r(e),o=m(e),i=n.visualViewport,a=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;var u=f();(u||!u&&"fixed"===t)&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c+v(e),y:l}}(e,n)):o(t)?function(e,t){var n=d(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ae(function(e){var t,n=m(e),r=p(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=s(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+v(e),l=-r.scrollTop;return"rtl"===y(o||n).direction&&(c+=s(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:l}}(m(e)))}function ce(e,t,n,r){var a="clippingParents"===t?function(e){var t=A(w(e)),n=["absolute","fixed"].indexOf(y(e).position)>=0&&i(e)?k(e):e;return o(n)?t.filter((function(e){return o(e)&&ie(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),l=[].concat(a,[n]),u=l[0],f=l.reduce((function(t,n){var o=se(e,n,r);return t.top=s(o.top,t.top),t.right=c(o.right,t.right),t.bottom=c(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),se(e,u,r));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function le(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ue(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,a=n.strategy,s=void 0===a?e.strategy:a,c=n.boundary,l=void 0===c?N:c,u=n.rootBoundary,f=void 0===u?P:u,p=n.elementContext,h=void 0===p?W:p,v=n.altBoundary,y=void 0!==v&&v,g=n.padding,b=void 0===g?0:g,x=le("number"!==typeof b?b:ue(b,R)),w=h===W?V:W,S=e.rects.popper,A=e.elements[y?w:h],E=ce(o(A)?A:A.contextElement||m(e.elements.popper),l,f,s),O=d(e.elements.reference),k=J({reference:O,element:S,strategy:"absolute",placement:i}),T=ae(Object.assign({},S,k)),D=h===W?T:O,I={top:E.top-D.top+x.top,bottom:D.bottom-E.bottom+x.bottom,left:E.left-D.left+x.left,right:D.right-E.right+x.right},L=e.modifiersData.offset;if(h===W&&L){var _=L[i];Object.keys(I).forEach((function(e){var t=[M,j].indexOf(e)>=0?1:-1,n=[C,j].indexOf(e)>=0?"y":"x";I[e]+=_[n]*t}))}return I}function de(e,t,n){return s(e,c(t,n))}const pe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.padding,h=n.tether,m=void 0===h||h,v=n.tetherOffset,y=void 0===v?0:v,g=fe(t,{boundary:u,rootBoundary:f,padding:p,altBoundary:d}),b=z(t.placement),w=Y(t.placement),S=!w,A=$(b),E="x"===A?"y":"x",O=t.modifiersData.popperOffsets,D=t.rects.reference,R=t.rects.popper,L="function"===typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,N="number"===typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(O){if(i){var V,_="y"===A?C:T,F="y"===A?j:M,B="y"===A?"height":"width",H=O[A],K=H+g[_],q=H-g[F],U=m?-R[B]/2:0,G=w===I?D[B]:R[B],X=w===I?-R[B]:-D[B],J=t.elements.arrow,Q=m&&J?x(J):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Z[_],te=Z[F],ne=de(0,D[B],Q[B]),re=S?D[B]/2-U-ne-ee-N.mainAxis:G-ne-ee-N.mainAxis,oe=S?-D[B]/2+U+ne+te+N.mainAxis:X+ne+te+N.mainAxis,ie=t.elements.arrow&&k(t.elements.arrow),ae=ie?"y"===A?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(V=null==P?void 0:P[A])?V:0,ce=H+oe-se,le=de(m?c(K,H+re-se-ae):K,H,m?s(q,ce):q);O[A]=le,W[A]=le-H}if(l){var ue,pe="x"===A?C:T,he="x"===A?j:M,me=O[E],ve="y"===E?"height":"width",ye=me+g[pe],ge=me-g[he],be=-1!==[C,T].indexOf(b),xe=null!=(ue=null==P?void 0:P[E])?ue:0,we=be?ye:me-D[ve]-R[ve]-xe+N.altAxis,Se=be?me+D[ve]+R[ve]-xe-N.altAxis:ge,Ae=m&&be?function(e,t,n){var r=de(e,t,n);return r>n?n:r}(we,me,Se):de(m?we:ye,me,m?Se:ge);O[E]=Ae,W[E]=Ae-me}t.modifiersData[r]=W}},requiresIfExists:["offset"]};const he={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=z(n.placement),c=$(s),l=[T,M].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return le("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ue(e,R))}(o.padding,n),f=x(i),d="y"===c?C:T,p="y"===c?j:M,h=n.rects.reference[l]+n.rects.reference[c]-a[c]-n.rects.popper[l],m=a[c]-n.rects.reference[c],v=k(i),y=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,g=h/2-m/2,b=u[d],w=y-f[l]-u[p],S=y/2-f[l]/2+g,A=de(b,S,w),E=c;n.modifiersData[r]=((t={})[E]=A,t.centerOffset=A-S,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&ie(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function me(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ve(e){return[C,M,j,T].some((function(t){return e[t]>=0}))}var ye=G({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,c=void 0===s||s,l=r(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,X)})),c&&l.addEventListener("resize",n.update,X),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,X)})),c&&l.removeEventListener("resize",n.update,X)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=J({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,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,l={placement:z(t.placement),variation:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Z(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Z(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),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 n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&h(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(r)&&h(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ee,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,y=z(v),g=c||(y===v||!h?[ne(v)]:function(e){if(z(e)===D)return[];var t=ne(e);return[oe(e),t,oe(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat(z(n)===D?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?F:c,u=Y(r),f=u?s?_:_.filter((function(e){return Y(e)===u})):R,d=f.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[z(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,A=!0,E=b[0],O=0;O<b.length;O++){var k=b[O],L=z(k),N=Y(k)===I,P=[C,j].indexOf(L)>=0,W=P?"width":"height",V=fe(t,{placement:k,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),B=P?N?M:T:N?j:C;x[W]>w[W]&&(B=ne(B));var H=ne(B),K=[];if(i&&K.push(V[L]<=0),s&&K.push(V[B]<=0,V[H]<=0),K.every((function(e){return e}))){E=k,A=!1;break}S.set(k,K)}if(A)for(var q=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},U=h?3:1;U>0;U--){if("break"===q(U))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},pe,he,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),c=me(a,r),l=me(s,o,i),u=ve(c),f=ve(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]})},88692:(e,t,n)=>{n.d(t,{Ay:()=>b});var r=n(98587),o=n(25540),i=(n(95973),n(28437)),a=n.n(i),s=n(23479),c=n.n(s);const l=!1;var u=n(88726),f=n(35796),d="unmounted",p="exited",h="entering",m="entered",v="exiting",y=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=p,r.appearStatus=h):o=m:o=t.unmountOnExit||t.mountOnEnter?d:p,r.state={status:o},r.nextCallback=null,r}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===d?{status:p}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==m&&(t=h):n!==h&&n!==m||(t=v)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:c().findDOMNode(this);n&&(0,f.F)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===p&&this.setState({status:d})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[c().findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||l?this.safeSetState({status:m},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:h},(function(){t.props.onEntering(i,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:m},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:c().findDOMNode(this);t&&!l?(this.props.onExit(r),this.safeSetState({status:v},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:p},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:p},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:c().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===d)return null;var t=this.props,n=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,r.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(u.A.Provider,{value:null},"function"===typeof n?n(e,o):a().cloneElement(a().Children.only(n),o))},t}(a().Component);function g(){}y.contextType=u.A,y.propTypes={},y.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},y.UNMOUNTED=d,y.EXITED=p,y.ENTERING=h,y.ENTERED=m,y.EXITING=v;const b=y},92646:(e,t,n)=>{n.d(t,{A:()=>m});var r=n(98587),o=n(58168),i=n(9417),a=n(25540),s=(n(95973),n(28437)),c=n.n(s),l=n(88726);function u(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function f(e,t,n){return null!=n[t]?n[t]:e.props[t]}function d(e,t,n){var r=u(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,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 c in t){if(o[c])for(r=0;r<o[c].length;r++){var l=o[c][r];s[o[c][r]]=n(l)}s[c]=n(c)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,s.isValidElement)(a)){var c=i in t,l=i in r,u=t[i],d=(0,s.isValidElement)(u)&&!u.props.in;!l||c&&!d?l||!c||d?l&&c&&(0,s.isValidElement)(u)&&(o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:u.props.in,exit:f(a,"exit",e),enter:f(a,"enter",e)})):o[i]=(0,s.cloneElement)(a,{in:!1}):o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:f(a,"exit",e),enter:f(a,"enter",e)})}})),o}var p=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},h=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,i.A)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,a.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.