diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..6cde369 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +ac.yunyoujun.cn diff --git a/assets/Rc-m7NUryRJ.js b/assets/Rc-m7NUryRJ.js new file mode 100644 index 0000000..c3ba2ad --- /dev/null +++ b/assets/Rc-m7NUryRJ.js @@ -0,0 +1 @@ +import{u as t,j as e,R as o}from"./index-ZfFhc1zW.js";const r=()=>(t(),e.jsx(o,{}));export{r as default}; diff --git a/assets/ac.svg b/assets/ac.svg new file mode 100644 index 0000000..86b4318 --- /dev/null +++ b/assets/ac.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/audio/ac-work.m4a b/assets/audio/ac-work.m4a new file mode 100644 index 0000000..7dc65f6 Binary files /dev/null and b/assets/audio/ac-work.m4a differ diff --git a/assets/audio/ac-work.mp3 b/assets/audio/ac-work.mp3 new file mode 100644 index 0000000..2c8e4ca Binary files /dev/null and b/assets/audio/ac-work.mp3 differ diff --git a/assets/audio/air-extractor-fan.m4a b/assets/audio/air-extractor-fan.m4a new file mode 100644 index 0000000..569ff40 Binary files /dev/null and b/assets/audio/air-extractor-fan.m4a differ diff --git a/assets/audio/air-extractor-fan.mp3 b/assets/audio/air-extractor-fan.mp3 new file mode 100644 index 0000000..00294cd Binary files /dev/null and b/assets/audio/air-extractor-fan.mp3 differ diff --git a/assets/audio/di.m4a b/assets/audio/di.m4a new file mode 100644 index 0000000..6140ec6 Binary files /dev/null and b/assets/audio/di.m4a differ diff --git a/assets/audio/di.mp3 b/assets/audio/di.mp3 new file mode 100644 index 0000000..d880f69 Binary files /dev/null and b/assets/audio/di.mp3 differ diff --git a/assets/fonts/digital-7-mono.ttf b/assets/fonts/digital-7-mono.ttf new file mode 100644 index 0000000..a481b97 Binary files /dev/null and b/assets/fonts/digital-7-mono.ttf differ diff --git a/assets/index-1pPCHjpc.css b/assets/index-1pPCHjpc.css new file mode 100644 index 0000000..fba1d0a --- /dev/null +++ b/assets/index-1pPCHjpc.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--ac-bg-color: transparent;--ac-text-color: #141414}html.dark{--ac-bg-color: #121212;--ac-text-color: #fafafa}@font-face{font-family:Digital-7 Mono;src:url(/assets/fonts/digital-7-mono.ttf) format("truetype")}.font-digit{font-family:Digital-7 Mono}.ac-text{color:var(--ac-text-color)}body{margin:0;min-height:90vh;background-color:var(--ac-bg-color);color:var(--ac-text-color);transition:background-color .2s;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-ic-round-ac-unit{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 11h-3.17l2.54-2.54a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0L15 11h-2V9l3.95-3.95c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0L13 6.17V3c0-.55-.45-1-1-1s-1 .45-1 1v3.17L8.46 3.63a.996.996 0 0 0-1.41 0c-.39.39-.39 1.03 0 1.42L11 9v2H9L5.05 7.05c-.39-.39-1.03-.39-1.42 0a.996.996 0 0 0 0 1.41L6.17 11H3c-.55 0-1 .45-1 1s.45 1 1 1h3.17l-2.54 2.54a.996.996 0 0 0 0 1.41c.39.39 1.03.39 1.42 0L9 13h2v2l-3.95 3.95c-.39.39-.39 1.03 0 1.42c.39.39 1.02.39 1.41 0L11 17.83V21c0 .55.45 1 1 1s1-.45 1-1v-3.17l2.54 2.54c.39.39 1.02.39 1.41 0c.39-.39.39-1.03 0-1.42L13 15v-2h2l3.95 3.95c.39.39 1.03.39 1.42 0a.996.996 0 0 0 0-1.41L17.83 13H21c.55 0 1-.45 1-1s-.45-1-1-1'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-ic-round-wb-sunny{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m6.05 4.14l-.39-.39a.993.993 0 0 0-1.4 0l-.01.01a.984.984 0 0 0 0 1.4l.39.39c.39.39 1.01.39 1.4 0l.01-.01a.984.984 0 0 0 0-1.4M3.01 10.5H1.99c-.55 0-.99.44-.99.99v.01c0 .55.44.99.99.99H3c.56.01 1-.43 1-.98v-.01c0-.56-.44-1-.99-1m9-9.95H12c-.56 0-1 .44-1 .99v.96c0 .55.44.99.99.99H12c.56.01 1-.43 1-.98v-.97c0-.55-.44-.99-.99-.99m7.74 3.21c-.39-.39-1.02-.39-1.41-.01l-.39.39a.984.984 0 0 0 0 1.4l.01.01c.39.39 1.02.39 1.4 0l.39-.39a.984.984 0 0 0 0-1.4m-1.81 15.1l.39.39a.996.996 0 1 0 1.41-1.41l-.39-.39a.993.993 0 0 0-1.4 0c-.4.4-.4 1.02-.01 1.41M20 11.49v.01c0 .55.44.99.99.99H22c.55 0 .99-.44.99-.99v-.01c0-.55-.44-.99-.99-.99h-1.01c-.55 0-.99.44-.99.99M12 5.5c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6s-2.69-6-6-6m-.01 16.95H12c.55 0 .99-.44.99-.99v-.96c0-.55-.44-.99-.99-.99h-.01c-.55 0-.99.44-.99.99v.96c0 .55.44.99.99.99m-7.74-3.21c.39.39 1.02.39 1.41 0l.39-.39a.993.993 0 0 0 0-1.4l-.01-.01a.996.996 0 0 0-1.41 0l-.39.39c-.38.4-.38 1.02.01 1.41'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-ic\:outline-emoji-objects{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 3c-.46 0-.93.04-1.4.14c-2.76.53-4.96 2.76-5.48 5.52c-.48 2.61.48 5.01 2.22 6.56c.43.38.66.91.66 1.47V19c0 1.1.9 2 2 2h.28a1.98 1.98 0 0 0 3.44 0H14c1.1 0 2-.9 2-2v-2.31c0-.55.22-1.09.64-1.46A6.956 6.956 0 0 0 19 10c0-3.87-3.13-7-7-7m2 14h-4v-1h4zm-4 2v-1h4v1zm5.31-5.26c-.09.08-.16.18-.24.26H8.92c-.08-.09-.15-.19-.24-.27c-1.32-1.18-1.91-2.94-1.59-4.7c.36-1.94 1.96-3.55 3.89-3.93c.34-.07.68-.1 1.02-.1c2.76 0 5 2.24 5 5c0 1.43-.61 2.79-1.69 3.74'/%3E%3Cpath fill='currentColor' d='M11.5 11h1v3h-1z'/%3E%3Cpath fill='currentColor' d='m9.672 9.58l.707-.706l2.122 2.121l-.707.707z'/%3E%3Cpath fill='currentColor' d='m12.208 11.712l-.707-.707l2.121-2.121l.707.707z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-ic\:round-power-settings-new{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 3c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1m5.14 2.86a.99.99 0 0 0-.01 1.39c1.13 1.2 1.83 2.8 1.87 4.57c.09 3.83-3.08 7.13-6.91 7.17A6.981 6.981 0 0 1 5 12c0-1.84.71-3.51 1.87-4.76c.37-.39.37-1-.01-1.38a.993.993 0 0 0-1.43.02A8.92 8.92 0 0 0 3 11.74c-.14 4.88 3.83 9.1 8.71 9.25c5.1.16 9.29-3.93 9.29-9c0-2.37-.92-4.51-2.42-6.11c-.38-.41-1.04-.42-1.44-.02'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-cloud{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6.5 20q-2.28 0-3.89-1.57Q1 16.85 1 14.58q0-1.95 1.17-3.48q1.18-1.53 3.08-1.95q.63-2.3 2.5-3.72Q9.63 4 12 4q2.93 0 4.96 2.04Q19 8.07 19 11q1.73.2 2.86 1.5q1.14 1.28 1.14 3q0 1.88-1.31 3.19T18.5 20Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-earth{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-github{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-loading{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-sina-weibo{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.82 13.87c1.07 0 1.95.87 1.95 1.95a1.95 1.95 0 0 1-1.95 1.95c-1.08 0-1.95-.88-1.95-1.95c0-1.08.87-1.95 1.95-1.95M14.5 3.34l.68-.03c3.76 0 6.82 3.06 6.82 6.82l-.05.82l-1.19-.37l.02-.45c0-3.09-2.51-5.6-5.6-5.6l-.35.01zm.82 2.89c2.06.07 3.73 1.77 3.76 3.83l-1.24-.38c-.19-1.12-1.06-2-2.17-2.18zM2 15.41c-.03-.61.07-2.77 2.95-5.44c3.4-3.16 4.87-2.92 4.87-2.92s3.18-.3 1.24 3.41h.07c.47-.5 1.49-1.25 3.56-1.46c2.08-.21 2.08 1.5 1.81 2.7c1.88.94 3.06 2.33 3.06 3.88c0 2.82-3.93 5.11-8.78 5.11h-.28c-3.5 0-6.5-1.27-7.79-3.1c-.46-.62-.71-1.3-.71-2.01zm7.82-3.49c-3.23 0-5.85 1.75-5.85 3.9s2.62 3.9 5.85 3.9c3.23 0 5.85-1.75 5.85-3.9s-2.62-3.9-5.85-3.9'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-telegram{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M9.78 18.65l.28-4.23l7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3L3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-triangle-small-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8 9h8l-4 7'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-triangle-small-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8 15h8l-4-7'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-twitter{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-mdi-wechat{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.5 4C5.36 4 2 6.69 2 10c0 1.89 1.08 3.56 2.78 4.66L4 17l2.5-1.5c.89.31 1.87.5 2.91.5A5.22 5.22 0 0 1 9 14c0-3.31 3.13-6 7-6c.19 0 .38 0 .56.03C15.54 5.69 12.78 4 9.5 4m-3 2.5a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m5 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1M16 9c-3.31 0-6 2.24-6 5s2.69 5 6 5c.67 0 1.31-.08 1.91-.25L20 20l-.62-1.87C20.95 17.22 22 15.71 22 14c0-2.76-2.69-5-6-5m-2 2.5a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m4 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.absolute{position:absolute}.relative{position:relative}.right-2{right:.5rem}.right-8{right:2rem}.top-32{top:8rem}.top-6{top:1.5rem}.m-2{margin:.5rem}.m-6{margin:1.5rem}.m-auto{margin:auto}.mx,[mx=""]{margin-left:1rem;margin-right:1rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-20{margin-left:5rem;margin-right:5rem}.my,.my-4,[my-4=""]{margin-top:1rem;margin-bottom:1rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}[mx~="0.8"]{margin-left:.2rem;margin-right:.2rem}[mx~="2"]{margin-left:.5rem;margin-right:.5rem}[my~="0"]{margin-top:0;margin-bottom:0}[my~="2"]{margin-top:.5rem;margin-bottom:.5rem}.ms{margin-inline-start:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-28{margin-top:7rem}.mt-8{margin-top:2rem}.block{display:block}[size~="1.2"]{width:.3rem;height:.3rem}[size~="1.5"]{width:.375rem;height:.375rem}[size~="2"]{width:.5rem;height:.5rem}[size~="4"]{width:1rem;height:1rem}.h-0{height:0}.h-1{height:.25rem}.h-10{height:2.5rem}.h-38{height:9.5rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.max-w-600px{max-width:600px}.w-1{width:.25rem}.w-16,[w-16=""]{width:4rem}.w-full{width:100%}.flex,[flex=""]{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.border{border-width:1px}.rounded-full{border-radius:9999px}.rounded-lg,[rounded-lg=""]{border-radius:.5rem}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.px,[px=""]{padding-left:1rem;padding-right:1rem}.pt-6{padding-top:1.5rem}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-8xl{font-size:6rem;line-height:1}.text-lg,[text-lg=""]{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}[color~=black]{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}[color~=white]{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.op-80,.opacity-80,[op-80=""]{opacity:.8}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hot-color{filter:saturate(110%)}.cold-color{filter:saturate(90%)}.rc-button{margin:8px!important}.ac-temperature{text-shadow:0 0 2px rgba(0,0,0,.1)}.wind-effect{opacity:.3}:root{--ac-c-text-dot: black}.text-dot{background-color:var(--ac-c-text-dot)}.energy-label-level{margin-top:2px;height:3px}.energy-saving-label{color:#000;opacity:.8;position:absolute;top:10px;left:63px;background-color:#4caf50;padding:12px;border-radius:2px;transform:scale(.22);transform-origin:left top}.energy-saving-label_bg{padding:10px;width:200px;border-radius:15px;background-color:#fafafa;display:flex;flex-direction:column;justify-content:center;align-items:center}.energy-saving-label_title{font-size:20px;display:block;margin:2px auto}.energy-saving-label_description{font-size:12px}.adsense-text-link{color:#63a5ef;text-decoration:none;cursor:pointer}.adsense-logo{margin-bottom:10px;font-size:3.5rem}.adsense-logo.animated{animation:iconAnimate 1.5s ease-in-out infinite}@keyframes iconAnimate{0%,to{transform:scale(1)}10%,30%{transform:scale(.9)}20%,40%,60%,80%{transform:scale(1.1)}50%,70%{transform:scale(1.1)}} diff --git a/assets/index-ZfFhc1zW.js b/assets/index-ZfFhc1zW.js new file mode 100644 index 0000000..24e22a9 --- /dev/null +++ b/assets/index-ZfFhc1zW.js @@ -0,0 +1,164 @@ +function j0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mm={exports:{}},wa={},Am={exports:{}},H={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ji=Symbol.for("react.element"),M0=Symbol.for("react.portal"),A0=Symbol.for("react.fragment"),I0=Symbol.for("react.strict_mode"),z0=Symbol.for("react.profiler"),D0=Symbol.for("react.provider"),B0=Symbol.for("react.context"),F0=Symbol.for("react.forward_ref"),U0=Symbol.for("react.suspense"),W0=Symbol.for("react.memo"),V0=Symbol.for("react.lazy"),ud=Symbol.iterator;function H0(e){return e===null||typeof e!="object"?null:(e=ud&&e[ud]||e["@@iterator"],typeof e=="function"?e:null)}var Im={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zm=Object.assign,Dm={};function go(e,t,n){this.props=e,this.context=t,this.refs=Dm,this.updater=n||Im}go.prototype.isReactComponent={};go.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};go.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Bm(){}Bm.prototype=go.prototype;function mc(e,t,n){this.props=e,this.context=t,this.refs=Dm,this.updater=n||Im}var hc=mc.prototype=new Bm;hc.constructor=mc;zm(hc,go.prototype);hc.isPureReactComponent=!0;var cd=Array.isArray,Fm=Object.prototype.hasOwnProperty,vc={current:null},Um={key:!0,ref:!0,__self:!0,__source:!0};function Wm(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Fm.call(t,r)&&!Um.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,J=_[X];if(0>>1;Xo(Se,M))yeo(Be,Se)?(_[X]=Be,_[ye]=M,X=ye):(_[X]=Se,_[te]=M,X=te);else if(yeo(Be,M))_[X]=Be,_[ye]=M,X=ye;else break e}}return j}function o(_,j){var M=_.sortIndex-j.sortIndex;return M!==0?M:_.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],c=1,f=null,d=3,y=!1,g=!1,h=!1,S=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(_){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=_)r(u),j.sortIndex=j.expirationTime,t(s,j);else break;j=n(u)}}function x(_){if(h=!1,v(_),!g)if(n(s)!==null)g=!0,I(C);else{var j=n(u);j!==null&&F(x,j.startTime-_)}}function C(_,j){g=!1,h&&(h=!1,m(R),R=-1),y=!0;var M=d;try{for(v(j),f=n(s);f!==null&&(!(f.expirationTime>j)||_&&!N());){var X=f.callback;if(typeof X=="function"){f.callback=null,d=f.priorityLevel;var J=X(f.expirationTime<=j);j=e.unstable_now(),typeof J=="function"?f.callback=J:f===n(s)&&r(s),v(j)}else r(s);f=n(s)}if(f!==null)var Ke=!0;else{var te=n(u);te!==null&&F(x,te.startTime-j),Ke=!1}return Ke}finally{f=null,d=M,y=!1}}var b=!1,E=null,R=-1,$=5,P=-1;function N(){return!(e.unstable_now()-P<$)}function z(){if(E!==null){var _=e.unstable_now();P=_;var j=!0;try{j=E(!0,_)}finally{j?D():(b=!1,E=null)}}else b=!1}var D;if(typeof p=="function")D=function(){p(z)};else if(typeof MessageChannel<"u"){var U=new MessageChannel,A=U.port2;U.port1.onmessage=z,D=function(){A.postMessage(null)}}else D=function(){S(z,0)};function I(_){E=_,b||(b=!0,D())}function F(_,j){R=S(function(){_(e.unstable_now())},j)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(_){_.callback=null},e.unstable_continueExecution=function(){g||y||(g=!0,I(C))},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(_){switch(d){case 1:case 2:case 3:var j=3;break;default:j=d}var M=d;d=j;try{return _()}finally{d=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,j){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var M=d;d=_;try{return j()}finally{d=M}},e.unstable_scheduleCallback=function(_,j,M){var X=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0X?(_.sortIndex=M,t(u,_),n(s)===null&&_===n(u)&&(h?(m(R),R=-1):h=!0,F(x,M-X))):(_.sortIndex=J,t(s,_),g||y||(g=!0,I(C))),_},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(_){var j=d;return function(){var M=d;d=j;try{return _.apply(this,arguments)}finally{d=M}}}})(Gm);Km.exports=Gm;var ny=Km.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ym=w,at=ny;function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qs=Object.prototype.hasOwnProperty,ry=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,dd={},pd={};function oy(e){return Qs.call(pd,e)?!0:Qs.call(dd,e)?!1:ry.test(e)?pd[e]=!0:(dd[e]=!0,!1)}function iy(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ly(e,t,n,r){if(t===null||typeof t>"u"||iy(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function He(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var Le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Le[e]=new He(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Le[t]=new He(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Le[e]=new He(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Le[e]=new He(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Le[e]=new He(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Le[e]=new He(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Le[e]=new He(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Le[e]=new He(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Le[e]=new He(e,5,!1,e.toLowerCase(),null,!1,!1)});var yc=/[\-:]([a-z])/g;function xc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(yc,xc);Le[t]=new He(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(yc,xc);Le[t]=new He(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(yc,xc);Le[t]=new He(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Le[e]=new He(e,1,!1,e.toLowerCase(),null,!1,!1)});Le.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Le[e]=new He(e,1,!1,e.toLowerCase(),null,!0,!0)});function wc(e,t,n,r){var o=Le.hasOwnProperty(t)?Le[t]:null;(o!==null?o.type!==0:r||!(2a||o[l]!==i[a]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{gs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wo(e):""}function ay(e){switch(e.tag){case 5:return Wo(e.type);case 16:return Wo("Lazy");case 13:return Wo("Suspense");case 19:return Wo("SuspenseList");case 0:case 2:case 15:return e=ys(e.type,!1),e;case 11:return e=ys(e.type.render,!1),e;case 1:return e=ys(e.type,!0),e;default:return""}}function eu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ar:return"Fragment";case Mr:return"Portal";case qs:return"Profiler";case Sc:return"StrictMode";case Js:return"Suspense";case Zs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qm:return(e.displayName||"Context")+".Consumer";case Qm:return(e._context.displayName||"Context")+".Provider";case kc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ec:return t=e.displayName||null,t!==null?t:eu(e.type)||"Memo";case Rn:t=e._payload,e=e._init;try{return eu(e(t))}catch{}}return null}function sy(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return eu(t);case 8:return t===Sc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Kn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Zm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function uy(e){var t=Zm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Xi(e){e._valueTracker||(e._valueTracker=uy(e))}function eh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Zm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Al(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function tu(e,t){var n=t.checked;return ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Kn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function th(e,t){t=t.checked,t!=null&&wc(e,"checked",t,!1)}function nu(e,t){th(e,t);var n=Kn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ru(e,t.type,n):t.hasOwnProperty("defaultValue")&&ru(e,t.type,Kn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function vd(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ru(e,t,n){(t!=="number"||Al(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vo=Array.isArray;function Gr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Qi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ui(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},cy=["Webkit","ms","Moz","O"];Object.keys(Xo).forEach(function(e){cy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xo[t]=Xo[e]})});function ih(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Xo.hasOwnProperty(e)&&Xo[e]?(""+t).trim():t+"px"}function lh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ih(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var fy=ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function lu(e,t){if(t){if(fy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function au(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var su=null;function Cc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var uu=null,Yr=null,Xr=null;function xd(e){if(e=Ii(e)){if(typeof uu!="function")throw Error(T(280));var t=e.stateNode;t&&(t=ba(t),uu(e.stateNode,e.type,t))}}function ah(e){Yr?Xr?Xr.push(e):Xr=[e]:Yr=e}function sh(){if(Yr){var e=Yr,t=Xr;if(Xr=Yr=null,xd(e),t)for(e=0;e>>=0,e===0?32:31-(ky(e)/Ey|0)|0}var qi=64,Ji=4194304;function Ho(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Bl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~o;a!==0?r=Ho(a):(i&=l,i!==0&&(r=Ho(i)))}else l=n&~o,l!==0?r=Ho(l):i!==0&&(r=Ho(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Mi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-At(t),e[t]=n}function Oy(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=qo),Rd=" ",Td=!1;function Rh(e,t){switch(e){case"keyup":return t1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Th(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ir=!1;function r1(e,t){switch(e){case"compositionend":return Th(t);case"keypress":return t.which!==32?null:(Td=!0,Rd);case"textInput":return e=t.data,e===Rd&&Td?null:e;default:return null}}function o1(e,t){if(Ir)return e==="compositionend"||!Nc&&Rh(e,t)?(e=Ph(),wl=Tc=Ln=null,Ir=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ld(n)}}function Lh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Lh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jh(){for(var e=window,t=Al();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Al(e.document)}return t}function Lc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function p1(e){var t=jh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Lh(n.ownerDocument.documentElement,n)){if(r!==null&&Lc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=jd(n,i);var l=jd(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,zr=null,hu=null,Zo=null,vu=!1;function Md(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;vu||zr==null||zr!==Al(r)||(r=zr,"selectionStart"in r&&Lc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Zo&&hi(Zo,r)||(Zo=r,r=Wl(hu,"onSelect"),0Fr||(e.current=ku[Fr],ku[Fr]=null,Fr--)}function ee(e,t){Fr++,ku[Fr]=e.current,e.current=t}var Gn={},De=Xn(Gn),Xe=Xn(!1),mr=Gn;function oo(e,t){var n=e.type.contextTypes;if(!n)return Gn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Qe(e){return e=e.childContextTypes,e!=null}function Hl(){oe(Xe),oe(De)}function Ud(e,t,n){if(De.current!==Gn)throw Error(T(168));ee(De,t),ee(Xe,n)}function Wh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(T(108,sy(e)||"Unknown",o));return ce({},n,r)}function Kl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gn,mr=De.current,ee(De,e),ee(Xe,Xe.current),!0}function Wd(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=Wh(e,t,mr),r.__reactInternalMemoizedMergedChildContext=e,oe(Xe),oe(De),ee(De,e)):oe(Xe),ee(Xe,n)}var sn=null,Pa=!1,Ns=!1;function Vh(e){sn===null?sn=[e]:sn.push(e)}function b1(e){Pa=!0,Vh(e)}function Qn(){if(!Ns&&sn!==null){Ns=!0;var e=0,t=Q;try{var n=sn;for(Q=1;e>=l,o-=l,un=1<<32-At(t)+o|n<R?($=E,E=null):$=E.sibling;var P=d(m,E,v[R],x);if(P===null){E===null&&(E=$);break}e&&E&&P.alternate===null&&t(m,E),p=i(P,p,R),b===null?C=P:b.sibling=P,b=P,E=$}if(R===v.length)return n(m,E),ae&&Jn(m,R),C;if(E===null){for(;RR?($=E,E=null):$=E.sibling;var N=d(m,E,P.value,x);if(N===null){E===null&&(E=$);break}e&&E&&N.alternate===null&&t(m,E),p=i(N,p,R),b===null?C=N:b.sibling=N,b=N,E=$}if(P.done)return n(m,E),ae&&Jn(m,R),C;if(E===null){for(;!P.done;R++,P=v.next())P=f(m,P.value,x),P!==null&&(p=i(P,p,R),b===null?C=P:b.sibling=P,b=P);return ae&&Jn(m,R),C}for(E=r(m,E);!P.done;R++,P=v.next())P=y(E,m,R,P.value,x),P!==null&&(e&&P.alternate!==null&&E.delete(P.key===null?R:P.key),p=i(P,p,R),b===null?C=P:b.sibling=P,b=P);return e&&E.forEach(function(z){return t(m,z)}),ae&&Jn(m,R),C}function S(m,p,v,x){if(typeof v=="object"&&v!==null&&v.type===Ar&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Yi:e:{for(var C=v.key,b=p;b!==null;){if(b.key===C){if(C=v.type,C===Ar){if(b.tag===7){n(m,b.sibling),p=o(b,v.props.children),p.return=m,m=p;break e}}else if(b.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Rn&&Qd(C)===b.type){n(m,b.sibling),p=o(b,v.props),p.ref=jo(m,b,v),p.return=m,m=p;break e}n(m,b);break}else t(m,b);b=b.sibling}v.type===Ar?(p=fr(v.props.children,m.mode,x,v.key),p.return=m,m=p):(x=Rl(v.type,v.key,v.props,null,m.mode,x),x.ref=jo(m,p,v),x.return=m,m=x)}return l(m);case Mr:e:{for(b=v.key;p!==null;){if(p.key===b)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(m,p.sibling),p=o(p,v.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Bs(v,m.mode,x),p.return=m,m=p}return l(m);case Rn:return b=v._init,S(m,p,b(v._payload),x)}if(Vo(v))return g(m,p,v,x);if(To(v))return h(m,p,v,x);il(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(m,p.sibling),p=o(p,v),p.return=m,m=p):(n(m,p),p=Ds(v,m.mode,x),p.return=m,m=p),l(m)):n(m,p)}return S}var lo=Jh(!0),Zh=Jh(!1),zi={},Zt=Xn(zi),xi=Xn(zi),wi=Xn(zi);function ar(e){if(e===zi)throw Error(T(174));return e}function Uc(e,t){switch(ee(wi,t),ee(xi,e),ee(Zt,zi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:iu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=iu(t,e)}oe(Zt),ee(Zt,t)}function ao(){oe(Zt),oe(xi),oe(wi)}function ev(e){ar(wi.current);var t=ar(Zt.current),n=iu(t,e.type);t!==n&&(ee(xi,e),ee(Zt,n))}function Wc(e){xi.current===e&&(oe(Zt),oe(xi))}var se=Xn(0);function Jl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ls=[];function Vc(){for(var e=0;en?n:4,e(!0);var r=js.transition;js.transition={};try{e(!1),t()}finally{Q=n,js.transition=r}}function vv(){return Ct().memoizedState}function T1(e,t,n){var r=Wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},gv(e))yv(t,n);else if(n=Yh(e,t,n,r),n!==null){var o=We();It(n,e,r,o),xv(n,t,r)}}function _1(e,t,n){var r=Wn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(gv(e))yv(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,a=i(l,n);if(o.hasEagerState=!0,o.eagerState=a,Dt(a,l)){var s=t.interleaved;s===null?(o.next=o,Bc(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Yh(e,t,o,r),n!==null&&(o=We(),It(n,e,r,o),xv(n,t,r))}}function gv(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function yv(e,t){ei=Zl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pc(e,n)}}var ea={readContext:Et,useCallback:je,useContext:je,useEffect:je,useImperativeHandle:je,useInsertionEffect:je,useLayoutEffect:je,useMemo:je,useReducer:je,useRef:je,useState:je,useDebugValue:je,useDeferredValue:je,useTransition:je,useMutableSource:je,useSyncExternalStore:je,useId:je,unstable_isNewReconciler:!1},$1={readContext:Et,useCallback:function(e,t){return Kt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:Jd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Cl(4194308,4,fv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Cl(4,2,e,t)},useMemo:function(e,t){var n=Kt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Kt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=T1.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=Kt();return e={current:e},t.memoizedState=e},useState:qd,useDebugValue:Xc,useDeferredValue:function(e){return Kt().memoizedState=e},useTransition:function(){var e=qd(!1),t=e[0];return e=R1.bind(null,e[1]),Kt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,o=Kt();if(ae){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),Oe===null)throw Error(T(349));vr&30||rv(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Jd(iv.bind(null,r,i,e),[e]),r.flags|=2048,Ei(9,ov.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Kt(),t=Oe.identifierPrefix;if(ae){var n=cn,r=un;n=(r&~(1<<32-At(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Si++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Qt]=t,e[yi]=r,Rv(e,t,!1,!1),t.stateNode=e;e:{switch(l=au(n,r),n){case"dialog":ne("cancel",e),ne("close",e),o=r;break;case"iframe":case"object":case"embed":ne("load",e),o=r;break;case"video":case"audio":for(o=0;ouo&&(t.flags|=128,r=!0,Mo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Jl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Mo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!ae)return Me(t),null}else 2*ve()-i.renderingStartTime>uo&&n!==1073741824&&(t.flags|=128,r=!0,Mo(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ve(),t.sibling=null,n=se.current,ee(se,r?n&1|2:n&1),t):(Me(t),null);case 22:case 23:return tf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?nt&1073741824&&(Me(t),t.subtreeFlags&6&&(t.flags|=8192)):Me(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function D1(e,t){switch(Mc(t),t.tag){case 1:return Qe(t.type)&&Hl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ao(),oe(Xe),oe(De),Vc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Wc(t),null;case 13:if(oe(se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));io()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return oe(se),null;case 4:return ao(),null;case 10:return Dc(t.type._context),null;case 22:case 23:return tf(),null;case 24:return null;default:return null}}var al=!1,ze=!1,B1=typeof WeakSet=="function"?WeakSet:Set,L=null;function Hr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){pe(e,t,r)}else n.current=null}function ju(e,t,n){try{n()}catch(r){pe(e,t,r)}}var ap=!1;function F1(e,t){if(gu=Fl,e=jh(),Lc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,a=-1,s=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var y;f!==n||o!==0&&f.nodeType!==3||(a=l+o),f!==i||r!==0&&f.nodeType!==3||(s=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(y=f.firstChild)!==null;)d=f,f=y;for(;;){if(f===e)break t;if(d===n&&++u===o&&(a=l),d===i&&++c===r&&(s=l),(y=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=y}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(yu={focusedElem:e,selectionRange:n},Fl=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var h=g.memoizedProps,S=g.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?h:Nt(t.type,h),S);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(x){pe(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return g=ap,ap=!1,g}function ti(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&ju(t,n,i)}o=o.next}while(o!==r)}}function Ta(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Mu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function $v(e){var t=e.alternate;t!==null&&(e.alternate=null,$v(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qt],delete t[yi],delete t[Su],delete t[E1],delete t[C1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Nv(e){return e.tag===5||e.tag===3||e.tag===4}function sp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Nv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Au(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vl));else if(r!==4&&(e=e.child,e!==null))for(Au(e,t,n),e=e.sibling;e!==null;)Au(e,t,n),e=e.sibling}function Iu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Iu(e,t,n),e=e.sibling;e!==null;)Iu(e,t,n),e=e.sibling}var _e=null,Lt=!1;function On(e,t,n){for(n=n.child;n!==null;)Lv(e,t,n),n=n.sibling}function Lv(e,t,n){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(Sa,n)}catch{}switch(n.tag){case 5:ze||Hr(n,t);case 6:var r=_e,o=Lt;_e=null,On(e,t,n),_e=r,Lt=o,_e!==null&&(Lt?(e=_e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):_e.removeChild(n.stateNode));break;case 18:_e!==null&&(Lt?(e=_e,n=n.stateNode,e.nodeType===8?$s(e.parentNode,n):e.nodeType===1&&$s(e,n),pi(e)):$s(_e,n.stateNode));break;case 4:r=_e,o=Lt,_e=n.stateNode.containerInfo,Lt=!0,On(e,t,n),_e=r,Lt=o;break;case 0:case 11:case 14:case 15:if(!ze&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&ju(n,t,l),o=o.next}while(o!==r)}On(e,t,n);break;case 1:if(!ze&&(Hr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){pe(n,t,a)}On(e,t,n);break;case 21:On(e,t,n);break;case 22:n.mode&1?(ze=(r=ze)||n.memoizedState!==null,On(e,t,n),ze=r):On(e,t,n);break;default:On(e,t,n)}}function up(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new B1),t.forEach(function(r){var o=Q1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function $t(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*W1(r/1960))-r,10e?16:e,jn===null)var r=!1;else{if(e=jn,jn=null,ra=0,K&6)throw Error(T(331));var o=K;for(K|=4,L=e.current;L!==null;){var i=L,l=i.child;if(L.flags&16){var a=i.deletions;if(a!==null){for(var s=0;sve()-Zc?cr(e,0):Jc|=n),qe(e,t)}function Fv(e,t){t===0&&(e.mode&1?(t=Ji,Ji<<=1,!(Ji&130023424)&&(Ji=4194304)):t=1);var n=We();e=hn(e,t),e!==null&&(Mi(e,t,n),qe(e,n))}function X1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Fv(e,n)}function Q1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(T(314))}r!==null&&r.delete(t),Fv(e,n)}var Uv;Uv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xe.current)Ye=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ye=!1,I1(e,t,n);Ye=!!(e.flags&131072)}else Ye=!1,ae&&t.flags&1048576&&Hh(t,Yl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;bl(e,t),e=t.pendingProps;var o=oo(t,De.current);qr(t,n),o=Kc(null,t,r,e,o,n);var i=Gc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qe(r)?(i=!0,Kl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Fc(t),o.updater=Oa,t.stateNode=o,o._reactInternals=t,Ou(t,r,e,n),t=_u(null,t,r,!0,i,n)):(t.tag=0,ae&&i&&jc(t),Ue(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(bl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=J1(r),e=Nt(r,e),o){case 0:t=Tu(null,t,r,e,n);break e;case 1:t=op(null,t,r,e,n);break e;case 11:t=np(null,t,r,e,n);break e;case 14:t=rp(null,t,r,Nt(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Nt(r,o),Tu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Nt(r,o),op(e,t,r,o,n);case 3:e:{if(bv(t),e===null)throw Error(T(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Xh(e,t),ql(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=so(Error(T(423)),t),t=ip(e,t,r,n,o);break e}else if(r!==o){o=so(Error(T(424)),t),t=ip(e,t,r,n,o);break e}else for(ot=Bn(t.stateNode.containerInfo.firstChild),it=t,ae=!0,jt=null,n=Zh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(io(),r===o){t=vn(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return ev(t),e===null&&Cu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,xu(r,o)?l=null:i!==null&&xu(r,i)&&(t.flags|=32),Cv(e,t),Ue(e,t,l,n),t.child;case 6:return e===null&&Cu(t),null;case 13:return Pv(e,t,n);case 4:return Uc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=lo(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Nt(r,o),np(e,t,r,o,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,ee(Xl,r._currentValue),r._currentValue=l,i!==null)if(Dt(i.value,l)){if(i.children===o.children&&!Xe.current){t=vn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=dn(-1,n&-n),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),bu(i.return,n,t),a.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(T(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),bu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Ue(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,qr(t,n),o=Et(o),r=r(o),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,o=Nt(r,t.pendingProps),o=Nt(r.type,o),rp(e,t,r,o,n);case 15:return kv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Nt(r,o),bl(e,t),t.tag=1,Qe(r)?(e=!0,Kl(t)):e=!1,qr(t,n),qh(t,r,o),Ou(t,r,o,n),_u(null,t,r,!0,e,n);case 19:return Ov(e,t,n);case 22:return Ev(e,t,n)}throw Error(T(156,t.tag))};function Wv(e,t){return hh(e,t)}function q1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wt(e,t,n,r){return new q1(e,t,n,r)}function rf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function J1(e){if(typeof e=="function")return rf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===kc)return 11;if(e===Ec)return 14}return 2}function Vn(e,t){var n=e.alternate;return n===null?(n=wt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Rl(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")rf(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Ar:return fr(n.children,o,i,t);case Sc:l=8,o|=8;break;case qs:return e=wt(12,n,t,o|2),e.elementType=qs,e.lanes=i,e;case Js:return e=wt(13,n,t,o),e.elementType=Js,e.lanes=i,e;case Zs:return e=wt(19,n,t,o),e.elementType=Zs,e.lanes=i,e;case Jm:return $a(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qm:l=10;break e;case qm:l=9;break e;case kc:l=11;break e;case Ec:l=14;break e;case Rn:l=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=wt(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function fr(e,t,n,r){return e=wt(7,e,r,t),e.lanes=n,e}function $a(e,t,n,r){return e=wt(22,e,r,t),e.elementType=Jm,e.lanes=n,e.stateNode={isHidden:!1},e}function Ds(e,t,n){return e=wt(6,e,null,t),e.lanes=n,e}function Bs(e,t,n){return t=wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Z1(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ws(0),this.expirationTimes=ws(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ws(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function of(e,t,n,r,o,i,l,a,s){return e=new Z1(e,t,n,a,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=wt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fc(i),e}function ex(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gv)}catch(e){console.error(e)}}Gv(),Hm.exports=ut;var uf=Hm.exports;const cl=xa(uf);var gp=uf;Xs.createRoot=gp.createRoot,Xs.hydrateRoot=gp.hydrateRoot;var cf={};Object.defineProperty(cf,"__esModule",{value:!0});var ix=function(t){console.warn("[react-gtm]",t)};cf.default=ix;var lx=cf,ax=sx(lx);function sx(e){return e&&e.__esModule?e:{default:e}}var ux={tags:function(t){var n=t.id,r=t.events,o=t.dataLayer,i=t.dataLayerName,l=t.preview,a=t.auth,s=">m_auth="+a,u=">m_preview="+l;n||(0,ax.default)("GTM Id is required");var c=` + `,f=` + (function(w,d,s,l,i){w[l]=w[l]||[]; + w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', `+JSON.stringify(r).slice(1,-1)+`}); + var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:''; + j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'`+s+u+`>m_cookies_win=x'; + f.parentNode.insertBefore(j,f); + })(window,document,'script','`+i+"','"+n+"');",d=this.dataLayer(o,i);return{iframe:c,script:f,dataLayerVar:d}},dataLayer:function(t,n){return` + window.`+n+" = window."+n+` || []; + window.`+n+".push("+JSON.stringify(t)+")"}},cx=ux,fx=cx,yp=dx(fx);function dx(e){return e&&e.__esModule?e:{default:e}}var px={dataScript:function(t){var n=document.createElement("script");return n.innerHTML=t,n},gtm:function(t){var n=yp.default.tags(t),r=function(){var a=document.createElement("noscript");return a.innerHTML=n.iframe,a},o=function(){var a=document.createElement("script");return a.innerHTML=n.script,a},i=this.dataScript(n.dataLayerVar);return{noScript:r,script:o,dataScript:i}},initialize:function(t){var n=t.gtmId,r=t.events,o=r===void 0?{}:r,i=t.dataLayer,l=t.dataLayerName,a=l===void 0?"dataLayer":l,s=t.auth,u=s===void 0?"":s,c=t.preview,f=c===void 0?"":c,d=this.gtm({id:n,events:o,dataLayer:i||void 0,dataLayerName:a,auth:u,preview:f});i&&document.head.appendChild(d.dataScript),document.head.insertBefore(d.script(),document.head.childNodes[0]),document.body.insertBefore(d.noScript(),document.body.childNodes[0])},dataLayer:function(t){var n=t.dataLayer,r=t.dataLayerName,o=r===void 0?"dataLayer":r;if(window[o])return window[o].push(n);var i=yp.default.dataLayer(n,o),l=this.dataScript(i);document.head.insertBefore(l,document.head.childNodes[0])}},mx=px,hx=mx,vx=gx(hx);function gx(e){return e&&e.__esModule?e:{default:e}}var yx=vx.default;const xx=xa(yx);/** + * @remix-run/router v1.15.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function la(){return la=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function ff(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Sx(){return Math.random().toString(36).substr(2,8)}function wp(e,t){return{usr:e.state,key:e.key,idx:t}}function Uu(e,t,n,r){return n===void 0&&(n=null),la({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Aa(t):t,{state:n,key:t&&t.key||r||Sx()})}function Yv(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Aa(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function kx(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,l=o.history,a=Mn.Pop,s=null,u=c();u==null&&(u=0,l.replaceState(la({},l.state,{idx:u}),""));function c(){return(l.state||{idx:null}).idx}function f(){a=Mn.Pop;let S=c(),m=S==null?null:S-u;u=S,s&&s({action:a,location:h.location,delta:m})}function d(S,m){a=Mn.Push;let p=Uu(h.location,S,m);n&&n(p,S),u=c()+1;let v=wp(p,u),x=h.createHref(p);try{l.pushState(v,"",x)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(x)}i&&s&&s({action:a,location:h.location,delta:1})}function y(S,m){a=Mn.Replace;let p=Uu(h.location,S,m);n&&n(p,S),u=c();let v=wp(p,u),x=h.createHref(p);l.replaceState(v,"",x),i&&s&&s({action:a,location:h.location,delta:0})}function g(S){let m=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof S=="string"?S:Yv(S);return Bt(m,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,m)}let h={get action(){return a},get location(){return e(o,l)},listen(S){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(xp,f),s=S,()=>{o.removeEventListener(xp,f),s=null}},createHref(S){return t(o,S)},createURL:g,encodeLocation(S){let m=g(S);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:y,go(S){return l.go(S)}};return h}var Sp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Sp||(Sp={}));function Ex(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Aa(t):t,o=qv(r.pathname||"/",n);if(o==null)return null;let i=Xv(e);Cx(i);let l=null;for(let a=0;l==null&&a{let s={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};s.relativePath.startsWith("/")&&(Bt(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Zr([r,s.relativePath]),c=n.concat(s);i.children&&i.children.length>0&&(Bt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Xv(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:$x(u,i.index),routesMeta:c})};return e.forEach((i,l)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,l);else for(let s of Qv(i.path))o(i,l,s)}),t}function Qv(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let l=Qv(r.join("/")),a=[];return a.push(...l.map(s=>s===""?i:[i,s].join("/"))),o&&a.push(...l),a.map(s=>e.startsWith("/")&&s===""?"/":s)}function Cx(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Nx(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const bx=/^:[\w-]+$/,Px=3,Ox=2,Rx=1,Tx=10,_x=-2,kp=e=>e==="*";function $x(e,t){let n=e.split("/"),r=n.length;return n.some(kp)&&(r+=_x),t&&(r+=Ox),n.filter(o=>!kp(o)).reduce((o,i)=>o+(bx.test(i)?Px:i===""?Rx:Tx),r)}function Nx(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Lx(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let l=0;l{let{paramName:d,isOptional:y}=c;if(d==="*"){let h=a[f]||"";l=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}const g=a[f];return y&&!g?u[d]=void 0:u[d]=Ix(g||"",d),u},{}),pathname:i,pathnameBase:l,pattern:e}}function Mx(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ff(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,s)=>(r.push({paramName:a,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Ax(e){try{return decodeURI(e)}catch(t){return ff(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ix(e,t){try{return decodeURIComponent(e)}catch(n){return ff(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function qv(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const Zr=e=>e.join("/").replace(/\/\/+/g,"/"),zx=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function Dx(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Jv=["post","put","patch","delete"];new Set(Jv);const Bx=["get",...Jv];new Set(Bx);/** + * React Router v6.22.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function aa(){return aa=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},S,{params:Object.assign({},a,S.params),pathname:Zr([s,o.encodeLocation?o.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?s:Zr([s,o.encodeLocation?o.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,n,r);return t&&h?w.createElement(Ia.Provider,{value:{location:aa({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Mn.Pop}},h):h}function Kx(){let e=ew(),t=Dx(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const Gx=w.createElement(Kx,null);class Yx extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?w.createElement(za.Provider,{value:this.props.routeContext},w.createElement(eg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Xx(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(Fx);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(za.Provider,{value:t},r)}function Qx(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let l=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=l.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id]));c>=0||Bt(!1),l=l.slice(0,Math.min(l.length,c+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?l=l.slice(0,u+1):l=[l[0]];break}}}return l.reduceRight((c,f,d)=>{let y,g=!1,h=null,S=null;n&&(y=a&&f.route.id?a[f.route.id]:void 0,h=f.route.errorElement||Gx,s&&(u<0&&d===0?(tw("route-fallback",!1),g=!0,S=null):u===d&&(g=!0,S=f.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,d+1)),p=()=>{let v;return y?v=h:g?v=S:f.route.Component?v=w.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=c,w.createElement(Xx,{match:f,routeContext:{outlet:c,matches:m,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?w.createElement(Yx,{location:n.location,revalidation:n.revalidation,component:h,error:y,children:p(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):p()},null)}var Wu=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Wu||{});function qx(e){let t=w.useContext(Ux);return t||Bt(!1),t}function Jx(e){let t=w.useContext(za);return t||Bt(!1),t}function Zx(e){let t=Jx(),n=t.matches[t.matches.length-1];return n.route.id||Bt(!1),n.route.id}function ew(){var e;let t=w.useContext(eg),n=qx(Wu.UseRouteError),r=Zx(Wu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}const Ep={};function tw(e,t,n){!t&&!Ep[e]&&(Ep[e]=!0)}function nw(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Mn.Pop,navigator:i,static:l=!1,future:a}=e;df()&&Bt(!1);let s=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:s,navigator:i,static:l,future:aa({v7_relativeSplatPath:!1},a)}),[s,a,i,l]);typeof r=="string"&&(r=Aa(r));let{pathname:c="/",search:f="",hash:d="",state:y=null,key:g="default"}=r,h=w.useMemo(()=>{let S=qv(c,s);return S==null?null:{location:{pathname:S,search:f,hash:d,state:y,key:g},navigationType:o}},[s,c,f,d,y,g,o]);return h==null?null:w.createElement(Zv.Provider,{value:u},w.createElement(Ia.Provider,{children:n,value:h}))}new Promise(()=>{});/** + * React Router DOM v6.22.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */const rw="6";try{window.__reactRouterVersion=rw}catch{}const ow="startTransition",Cp=Ml[ow];function iw(e){let{basename:t,children:n,future:r,window:o}=e,i=w.useRef();i.current==null&&(i.current=wx({window:o,v5Compat:!0}));let l=i.current,[a,s]=w.useState({action:l.action,location:l.location}),{v7_startTransition:u}=r||{},c=w.useCallback(f=>{u&&Cp?Cp(()=>s(f)):s(f)},[s,u]);return w.useLayoutEffect(()=>l.listen(c),[l,c]),w.createElement(nw,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:l,future:r})}var bp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(bp||(bp={}));var Pp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Pp||(Pp={}));const lw="air-conditioner",tg="云空调,便携小空调",aw="pnpm@8.15.1",sw="module",uw="0.1.3",Vu={url:"https://www.yunyoujun.cn",email:"me@yunyoujun.cn",name:"YunYouJun"},cw={dev:"vite",build:"vite build",serve:"vite preview",lint:'eslint "**/*.{tsx,ts,js}"',"lint:fix":'eslint "**/*.{tsx,ts,js}" --fix',typecheck:"tsc --noEmit"},fw={production:[">0.2%","not dead","not op_mini all"],development:["last 1 chrome version","last 1 firefox version","last 1 safari version"]},pf={type:"git",url:"https://github.com/YunYouJun/air-conditioner"},dw="https://ac.yunyoujun.cn/",pw={react:"^18.2.0","react-dom":"^18.2.0","react-ga":"^3.3.1","react-gtm-module":"2.0.11","react-router-dom":"^6.22.0",sass:"^1.70.0","web-vitals":"^3.5.2"},mw={"@antfu/eslint-config":"^2.6.3","@emotion/react":"^11.11.3","@emotion/styled":"^11.11.0","@iconify-json/ic":"^1.1.17","@iconify-json/mdi":"^1.1.64","@mui/material":"^5.15.7","@types/node":"^20.11.16","@types/react":"^18.2.52","@types/react-dom":"^18.2.18","@types/react-gtm-module":"2.0.3","@types/react-router-dom":"^5.3.3","@vitejs/plugin-react":"^4.2.1",eslint:"^8.56.0","react-transition-group":"^4.4.5",typescript:"^5.3.3",unocss:"^0.58.4","usehooks-ts":"^2.12.1",vite:"^5.0.12","vite-plugin-pages":"^0.32.0","vite-plugin-pwa":"^0.17.5"},fl={name:lw,description:tg,packageManager:aw,type:sw,version:uw,private:!0,author:Vu,scripts:cw,browserslist:fw,repository:pf,homepage:dw,dependencies:pw,devDependencies:mw},hw={black:"#000",white:"#fff"},bi=hw,vw={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"},er=vw,gw={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"},_r=gw,yw={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"},tr=yw,xw={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"},$r=xw,ww={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"},nr=ww,Sw={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"},Io=Sw,kw={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"},Ew=kw;function co(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=0)&&(n[o]=e[o]);return n}function sa(){return sa=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?$e(wo,--et):0,fo--,xe===10&&(fo=1,Ba--),xe}function lt(){return xe=et2||Oi(xe)>3?"":" "}function Dw(e,t){for(;--t&<()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return Di(e,Tl()+(t<6&&en()==32&<()==32))}function Ku(e){for(;lt();)switch(xe){case e:return et;case 34:case 39:e!==34&&e!==39&&Ku(xe);break;case 40:e===41&&Ku(e);break;case 92:lt();break}return et}function Bw(e,t){for(;lt()&&e+xe!==57;)if(e+xe===84&&en()===47)break;return"/*"+Di(t,et-1)+"*"+Da(e===47?e:lt())}function Fw(e){for(;!Oi(en());)lt();return Di(e,et)}function Uw(e){return ag($l("",null,null,null,[""],e=lg(e),0,[0],e))}function $l(e,t,n,r,o,i,l,a,s){for(var u=0,c=0,f=l,d=0,y=0,g=0,h=1,S=1,m=1,p=0,v="",x=o,C=i,b=r,E=v;S;)switch(g=p,p=lt()){case 40:if(g!=108&&$e(E,f-1)==58){Hu(E+=Y(_l(p),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:E+=_l(p);break;case 9:case 10:case 13:case 32:E+=zw(g);break;case 92:E+=Dw(Tl()-1,7);continue;case 47:switch(en()){case 42:case 47:dl(Ww(Bw(lt(),Tl()),t,n),s);break;default:E+="/"}break;case 123*h:a[u++]=Gt(E)*m;case 125*h:case 59:case 0:switch(p){case 0:case 125:S=0;case 59+c:m==-1&&(E=Y(E,/\f/g,"")),y>0&&Gt(E)-f&&dl(y>32?Rp(E+";",r,n,f-1):Rp(Y(E," ","")+";",r,n,f-2),s);break;case 59:E+=";";default:if(dl(b=Op(E,t,n,u,c,o,a,v,x=[],C=[],f),i),p===123)if(c===0)$l(E,t,b,b,x,i,f,a,C);else switch(d===99&&$e(E,3)===110?100:d){case 100:case 108:case 109:case 115:$l(e,b,b,r&&dl(Op(e,b,b,0,0,o,a,v,o,x=[],f),C),o,C,f,a,r?x:C);break;default:$l(E,b,b,b,[""],C,0,a,C)}}u=c=y=0,h=m=1,v=E="",f=l;break;case 58:f=1+Gt(E),y=g;default:if(h<1){if(p==123)--h;else if(p==125&&h++==0&&Iw()==125)continue}switch(E+=Da(p),p*h){case 38:m=c>0?1:(E+="\f",-1);break;case 44:a[u++]=(Gt(E)-1)*m,m=1;break;case 64:en()===45&&(E+=_l(lt())),d=en(),c=f=Gt(v=E+=Fw(Tl())),p++;break;case 45:g===45&&Gt(E)==2&&(h=0)}}return i}function Op(e,t,n,r,o,i,l,a,s,u,c){for(var f=o-1,d=o===0?i:[""],y=yf(d),g=0,h=0,S=0;g0?d[m]+" "+p:Y(p,/&\f/g,d[m])))&&(s[S++]=v);return Fa(e,t,n,o===0?vf:a,s,u,c)}function Ww(e,t,n){return Fa(e,t,n,ng,Da(Aw()),Pi(e,2,-2),0)}function Rp(e,t,n,r){return Fa(e,t,n,gf,Pi(e,0,r),Pi(e,r+1,-1),r)}function eo(e,t){for(var n="",r=yf(e),o=0;o6)switch($e(e,t+1)){case 109:if($e(e,t+4)!==45)break;case 102:return Y(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+ua+($e(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Hu(e,"stretch")?sg(Y(e,"stretch","fill-available"),t)+e:e}break;case 4949:if($e(e,t+1)!==115)break;case 6444:switch($e(e,Gt(e)-3-(~Hu(e,"!important")&&10))){case 107:return Y(e,":",":"+G)+e;case 101:return Y(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+($e(e,14)===45?"inline-":"")+"box$3$1"+G+"$2$3$1"+Ae+"$2box$3")+e}break;case 5936:switch($e(e,t+11)){case 114:return G+e+Ae+Y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+Ae+Y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+Ae+Y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return G+e+Ae+e+e}return e}var Jw=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case gf:t.return=sg(t.value,t.length);break;case rg:return eo([zo(t,{value:Y(t.value,"@","@"+G)})],o);case vf:if(t.length)return Mw(t.props,function(i){switch(jw(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return eo([zo(t,{props:[Y(i,/:(read-\w+)/,":"+ua+"$1")]})],o);case"::placeholder":return eo([zo(t,{props:[Y(i,/:(plac\w+)/,":"+G+"input-$1")]}),zo(t,{props:[Y(i,/:(plac\w+)/,":"+ua+"$1")]}),zo(t,{props:[Y(i,/:(plac\w+)/,Ae+"input-$1")]})],o)}return""})}},Zw=[Jw],eS=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var S=h.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||Zw,i={},l,a=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var S=h.getAttribute("data-emotion").split(" "),m=1;m=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var hg={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},dS=/[A-Z]|^ms/g,pS=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vg=function(t){return t.charCodeAt(1)===45},_p=function(t){return t!=null&&typeof t!="boolean"},Fs=hf(function(e){return vg(e)?e:e.replace(dS,"-$&").toLowerCase()}),$p=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(pS,function(r,o,i){return Yt={name:o,styles:i,next:Yt},o})}return hg[t]!==1&&!vg(t)&&typeof n=="number"&&n!==0?n+"px":n};function Ri(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Yt={name:n.name,styles:n.styles,next:Yt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Yt={name:r.name,styles:r.styles,next:Yt},r=r.next;var o=n.styles+";";return o}return mS(e,t,n)}case"function":{if(e!==void 0){var i=Yt,l=n(e);return Yt=i,Ri(e,t,l)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function mS(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?bS:PS},Ip=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},OS=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return pg(n,r,o),yS(function(){return fS(n,r,o)}),null},RS=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var a=Ip(t,n,r),s=a||Ap(o),u=!s("as");return function(){var c=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var d=c.length,y=1;y{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Nn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Eg(e){if(!Nn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Eg(e[n])}),t}function zt(e,t,n={clone:!0}){const r=n.clone?O({},e):e;return Nn(e)&&Nn(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Nn(t[o])&&o in e&&Nn(e[o])?r[o]=zt(e[o],t[o],n):n.clone?r[o]=Nn(t[o])?Eg(t[o]):t[o]:r[o]=t[o])}),r}function V(e){if(typeof e!="string")throw new Error(co(7));return e.charAt(0).toUpperCase()+e.slice(1)}function oi(e){return e&&e.ownerDocument||document}function Yu(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const _i=typeof window<"u"?w.useLayoutEffect:w.useEffect;let zp=0;function IS(e){const[t,n]=w.useState(e),r=e||t;return w.useEffect(()=>{t==null&&(zp+=1,n(`mui-${zp}`))},[t]),r}const Dp=Ml.useId;function zS(e){if(Dp!==void 0){const t=Dp();return e??t}return IS(e)}function DS({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=w.useRef(e!==void 0),[i,l]=w.useState(t),a=o?e:i,s=w.useCallback(u=>{o||l(u)},[]);return[a,s]}function fn(e){const t=w.useRef(e);return _i(()=>{t.current=e}),w.useRef((...n)=>(0,t.current)(...n)).current}function gn(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Yu(n,t)})},e)}const Bp={};function BS(e,t){const n=w.useRef(Bp);return n.current===Bp&&(n.current=e(t)),n}const FS=[];function US(e){w.useEffect(e,FS)}class Bi{constructor(){this.currentId=0,this.clear=()=>{this.currentId!==0&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new Bi}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,n()},t)}}function sr(){const e=BS(Bi.create).current;return US(e.disposeEffect),e}let Ja=!0,Xu=!1;const WS=new Bi,VS={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 HS(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&VS[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function KS(e){e.metaKey||e.altKey||e.ctrlKey||(Ja=!0)}function Ws(){Ja=!1}function GS(){this.visibilityState==="hidden"&&Xu&&(Ja=!0)}function YS(e){e.addEventListener("keydown",KS,!0),e.addEventListener("mousedown",Ws,!0),e.addEventListener("pointerdown",Ws,!0),e.addEventListener("touchstart",Ws,!0),e.addEventListener("visibilitychange",GS,!0)}function XS(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Ja||HS(t)}function Cg(){const e=w.useCallback(o=>{o!=null&&YS(o.ownerDocument)},[]),t=w.useRef(!1);function n(){return t.current?(Xu=!0,WS.start(100,()=>{Xu=!1}),t.current=!1,!0):!1}function r(o){return XS(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Ef(e,t){const n=O({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=O({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=O({},i),Object.keys(o).forEach(l=>{n[r][l]=Ef(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Ft(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const a=t(l);a!==""&&i.push(a),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}const Fp=e=>e,QS=()=>{let e=Fp;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Fp}}},qS=QS(),bg={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 Ut(e,t,n="Mui"){const r=bg[t];return r?`${n}-${r}`:`${qS.generate(e)}-${t}`}function Wt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ut(e,o,n)}),r}function JS(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const ZS=["values","unit","step"],e2=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>O({},n,{[r.key]:r.val}),{})};function t2(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ie(e,ZS),i=e2(t),l=Object.keys(i);function a(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function u(d,y){const g=l.indexOf(y);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:y)-r/100}${n})`}function c(d){return l.indexOf(d)+1`@media (min-width:${Cf[e]}px)`};function yn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Up;return t.reduce((l,a,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||Up;return Object.keys(t).reduce((l,a)=>{if(Object.keys(i.values||Cf).indexOf(a)!==-1){const s=i.up(a);l[s]=n(t[a],a)}else{const s=a;l[s]=t[s]}return l},{})}return n(t)}function o2(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function i2(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Za(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function ca(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Za(e,n)||r,t&&(o=t(o,r,e)),o}function ge(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const a=l[t],s=l.theme,u=Za(s,r)||{};return yn(l,a,f=>{let d=ca(u,o,f);return f===d&&typeof f=="string"&&(d=ca(u,o,`${t}${f==="default"?"":V(f)}`,f)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function l2(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const a2={m:"margin",p:"padding"},s2={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Wp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u2=l2(e=>{if(e.length>2)if(Wp[e])e=Wp[e];else return[e];const[t,n]=e.split(""),r=a2[t],o=s2[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),bf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Pf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...bf,...Pf];function Fi(e,t,n,r){var o;const i=(o=Za(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function Pg(e){return Fi(e,"spacing",8)}function Ui(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function c2(e,t){return n=>e.reduce((r,o)=>(r[o]=Ui(t,n),r),{})}function f2(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=u2(n),i=c2(o,r),l=e[n];return yn(e,l,i)}function Og(e,t){const n=Pg(e.theme);return Object.keys(e).map(r=>f2(e,t,r,n)).reduce(ii,{})}function fe(e){return Og(e,bf)}fe.propTypes={};fe.filterProps=bf;function de(e){return Og(e,Pf)}de.propTypes={};de.filterProps=Pf;function d2(e=8){if(e.mui)return e;const t=Pg({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function es(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?ii(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function xt(e){return typeof e!="number"?e:`${e}px solid`}function Ot(e,t){return ge({prop:e,themeKey:"borders",transform:t})}const p2=Ot("border",xt),m2=Ot("borderTop",xt),h2=Ot("borderRight",xt),v2=Ot("borderBottom",xt),g2=Ot("borderLeft",xt),y2=Ot("borderColor"),x2=Ot("borderTopColor"),w2=Ot("borderRightColor"),S2=Ot("borderBottomColor"),k2=Ot("borderLeftColor"),E2=Ot("outline",xt),C2=Ot("outlineColor"),ts=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Fi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Ui(t,r)});return yn(e,e.borderRadius,n)}return null};ts.propTypes={};ts.filterProps=["borderRadius"];es(p2,m2,h2,v2,g2,y2,x2,w2,S2,k2,ts,E2,C2);const ns=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Fi(e.theme,"spacing",8),n=r=>({gap:Ui(t,r)});return yn(e,e.gap,n)}return null};ns.propTypes={};ns.filterProps=["gap"];const rs=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Fi(e.theme,"spacing",8),n=r=>({columnGap:Ui(t,r)});return yn(e,e.columnGap,n)}return null};rs.propTypes={};rs.filterProps=["columnGap"];const os=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Fi(e.theme,"spacing",8),n=r=>({rowGap:Ui(t,r)});return yn(e,e.rowGap,n)}return null};os.propTypes={};os.filterProps=["rowGap"];const b2=ge({prop:"gridColumn"}),P2=ge({prop:"gridRow"}),O2=ge({prop:"gridAutoFlow"}),R2=ge({prop:"gridAutoColumns"}),T2=ge({prop:"gridAutoRows"}),_2=ge({prop:"gridTemplateColumns"}),$2=ge({prop:"gridTemplateRows"}),N2=ge({prop:"gridTemplateAreas"}),L2=ge({prop:"gridArea"});es(ns,rs,os,b2,P2,O2,R2,T2,_2,$2,N2,L2);function to(e,t){return t==="grey"?t:e}const j2=ge({prop:"color",themeKey:"palette",transform:to}),M2=ge({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:to}),A2=ge({prop:"backgroundColor",themeKey:"palette",transform:to});es(j2,M2,A2);function rt(e){return e<=1&&e!==0?`${e*100}%`:e}const I2=ge({prop:"width",transform:rt}),Of=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Cf[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:rt(n)}};return yn(e,e.maxWidth,t)}return null};Of.filterProps=["maxWidth"];const z2=ge({prop:"minWidth",transform:rt}),D2=ge({prop:"height",transform:rt}),B2=ge({prop:"maxHeight",transform:rt}),F2=ge({prop:"minHeight",transform:rt});ge({prop:"size",cssProperty:"width",transform:rt});ge({prop:"size",cssProperty:"height",transform:rt});const U2=ge({prop:"boxSizing"});es(I2,Of,z2,D2,B2,F2,U2);const W2={border:{themeKey:"borders",transform:xt},borderTop:{themeKey:"borders",transform:xt},borderRight:{themeKey:"borders",transform:xt},borderBottom:{themeKey:"borders",transform:xt},borderLeft:{themeKey:"borders",transform:xt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:xt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ts},color:{themeKey:"palette",transform:to},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:to},backgroundColor:{themeKey:"palette",transform:to},p:{style:de},pt:{style:de},pr:{style:de},pb:{style:de},pl:{style:de},px:{style:de},py:{style:de},padding:{style:de},paddingTop:{style:de},paddingRight:{style:de},paddingBottom:{style:de},paddingLeft:{style:de},paddingX:{style:de},paddingY:{style:de},paddingInline:{style:de},paddingInlineStart:{style:de},paddingInlineEnd:{style:de},paddingBlock:{style:de},paddingBlockStart:{style:de},paddingBlockEnd:{style:de},m:{style:fe},mt:{style:fe},mr:{style:fe},mb:{style:fe},ml:{style:fe},mx:{style:fe},my:{style:fe},margin:{style:fe},marginTop:{style:fe},marginRight:{style:fe},marginBottom:{style:fe},marginLeft:{style:fe},marginX:{style:fe},marginY:{style:fe},marginInline:{style:fe},marginInlineStart:{style:fe},marginInlineEnd:{style:fe},marginBlock:{style:fe},marginBlockStart:{style:fe},marginBlockEnd:{style:fe},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:ns},rowGap:{style:os},columnGap:{style:rs},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:rt},maxWidth:{style:Of},minWidth:{transform:rt},height:{transform:rt},maxHeight:{transform:rt},minHeight:{transform:rt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Rf=W2;function V2(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function H2(e,t){return typeof e=="function"?e(t):e}function K2(){function e(n,r,o,i){const l={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:s=n,themeKey:u,transform:c,style:f}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const d=Za(o,u)||{};return f?f(l):yn(l,r,g=>{let h=ca(d,c,g);return g===h&&typeof g=="string"&&(h=ca(d,c,`${n}${g==="default"?"":V(g)}`,g)),s===!1?h:{[s]:h}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:Rf;function a(s){let u=s;if(typeof s=="function")u=s(i);else if(typeof s!="object")return s;if(!u)return null;const c=o2(i.breakpoints),f=Object.keys(c);let d=c;return Object.keys(u).forEach(y=>{const g=H2(u[y],i);if(g!=null)if(typeof g=="object")if(l[y])d=ii(d,e(y,g,i,l));else{const h=yn({theme:i},g,S=>({[y]:S}));V2(h,g)?d[y]=t({sx:g,theme:i}):d=ii(d,h)}else d=ii(d,e(y,g,i,l))}),i2(f,d)}return Array.isArray(o)?o.map(a):a(o)}return t}const is=K2();is.filterProps=["sx"];function G2(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const Y2=["breakpoints","palette","spacing","shape"];function Tf(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=ie(e,Y2),a=t2(n),s=d2(o);let u=zt({breakpoints:a,direction:"ltr",components:{},palette:O({mode:"light"},r),spacing:s,shape:O({},r2,i)},l);return u.applyStyles=G2,u=t.reduce((c,f)=>zt(c,f),u),u.unstable_sxConfig=O({},Rf,l==null?void 0:l.unstable_sxConfig),u.unstable_sx=function(f){return is({sx:f,theme:this})},u}function X2(e){return Object.keys(e).length===0}function Rg(e=null){const t=w.useContext(yg);return!t||X2(t)?e:t}const Q2=Tf();function Tg(e=Q2){return Rg(e)}function _g(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{o==="color"?r+=Vp(r)?e[o]:V(e[o]):r+=`${Vp(r)?o:V(o)}${V(e[o].toString())}`}),r}const J2=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Z2(e){return Object.keys(e).length===0}function ek(e){return typeof e=="string"&&e.charCodeAt(0)>96}const tk=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,fa=e=>{let t=0;const n={};return e&&e.forEach(r=>{let o="";typeof r.props=="function"?(o=`callback${t}`,t+=1):o=$g(r.props),n[o]=r.style}),n},nk=(e,t)=>{let n=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants),fa(n)},da=(e,t,n)=>{const{ownerState:r={}}=e,o=[];let i=0;return n&&n.forEach(l=>{let a=!0;if(typeof l.props=="function"){const s=O({},e,r);a=l.props(s)}else Object.keys(l.props).forEach(s=>{r[s]!==l.props[s]&&e[s]!==l.props[s]&&(a=!1)});a&&(typeof l.props=="function"?o.push(t[`callback${i}`]):o.push(t[$g(l.props)])),typeof l.props=="function"&&(i+=1)}),o},rk=(e,t,n,r)=>{var o;const i=n==null||(o=n.components)==null||(o=o[r])==null?void 0:o.variants;return da(e,t,i)};function Nl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ok=Tf(),ik=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ll({defaultTheme:e,theme:t,themeId:n}){return Z2(t)?e:t[n]||t}function lk(e){return e?(t,n)=>n[e]:null}const Hp=({styledArg:e,props:t,defaultTheme:n,themeId:r})=>{const o=e(O({},t,{theme:Ll(O({},t,{defaultTheme:n,themeId:r}))}));let i;if(o&&o.variants&&(i=o.variants,delete o.variants),i){const l=da(t,fa(i),i);return[o,...l]}return o};function ak(e={}){const{themeId:t,defaultTheme:n=ok,rootShouldForwardProp:r=Nl,slotShouldForwardProp:o=Nl}=e,i=l=>is(O({},l,{theme:Ll(O({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,a={})=>{AS(l,x=>x.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:s,slot:u,skipVariantsResolver:c,skipSx:f,overridesResolver:d=lk(ik(u))}=a,y=ie(a,J2),g=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,h=f||!1;let S,m=Nl;u==="Root"||u==="root"?m=r:u?m=o:ek(l)&&(m=void 0);const p=MS(l,O({shouldForwardProp:m,label:S},y)),v=(x,...C)=>{const b=C?C.map(P=>{if(typeof P=="function"&&P.__emotion_real!==P)return N=>Hp({styledArg:P,props:N,defaultTheme:n,themeId:t});if(Nn(P)){let N=P,z;return P&&P.variants&&(z=P.variants,delete N.variants,N=D=>{let U=P;return da(D,fa(z),z).forEach(I=>{U=zt(U,I)}),U}),N}return P}):[];let E=x;if(Nn(x)){let P;x&&x.variants&&(P=x.variants,delete E.variants,E=N=>{let z=x;return da(N,fa(P),P).forEach(U=>{z=zt(z,U)}),z})}else typeof x=="function"&&x.__emotion_real!==x&&(E=P=>Hp({styledArg:x,props:P,defaultTheme:n,themeId:t}));s&&d&&b.push(P=>{const N=Ll(O({},P,{defaultTheme:n,themeId:t})),z=tk(s,N);if(z){const D={};return Object.entries(z).forEach(([U,A])=>{D[U]=typeof A=="function"?A(O({},P,{theme:N})):A}),d(P,D)}return null}),s&&!g&&b.push(P=>{const N=Ll(O({},P,{defaultTheme:n,themeId:t}));return rk(P,nk(s,N),N,s)}),h||b.push(i);const R=b.length-C.length;if(Array.isArray(x)&&R>0){const P=new Array(R).fill("");E=[...x,...P],E.raw=[...x.raw,...P]}const $=p(E,...b);return l.muiName&&($.muiName=l.muiName),$};return p.withConfig&&(v.withConfig=p.withConfig),v}}function sk(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Ef(t.components[n].defaultProps,r)}function uk({props:e,name:t,defaultTheme:n,themeId:r}){let o=Tg(n);return r&&(o=o[r]||o),sk({theme:o,name:t,props:e})}function _f(e,t=0,n=1){return JS(e,t,n)}function ck(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function xr(e){if(e.type)return e;if(e.charAt(0)==="#")return xr(ck(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(co(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(co(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function ls(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function fk(e){e=xr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(a+="a",s.push(t[3])),ls({type:a,values:s})}function Qu(e){e=xr(e);let t=e.type==="hsl"||e.type==="hsla"?xr(fk(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function dk(e,t){const n=Qu(e),r=Qu(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function qt(e,t){return e=xr(e),t=_f(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ls(e)}function pa(e,t){if(e=xr(e),t=_f(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ls(e)}function ma(e,t){if(e=xr(e),t=_f(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ls(e)}function pk(e,t=.15){return Qu(e)>.5?pa(e,t):ma(e,t)}function mk(e,t){return O({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const hk=["mode","contrastThreshold","tonalOffset"],Kp={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:bi.white,default:bi.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}},Vs={text:{primary:bi.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:bi.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}};function Gp(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ma(e.main,o):t==="dark"&&(e.dark=pa(e.main,i)))}function vk(e="light"){return e==="dark"?{main:tr[200],light:tr[50],dark:tr[400]}:{main:tr[700],light:tr[400],dark:tr[800]}}function gk(e="light"){return e==="dark"?{main:_r[200],light:_r[50],dark:_r[400]}:{main:_r[500],light:_r[300],dark:_r[700]}}function yk(e="light"){return e==="dark"?{main:er[500],light:er[300],dark:er[700]}:{main:er[700],light:er[400],dark:er[800]}}function xk(e="light"){return e==="dark"?{main:$r[400],light:$r[300],dark:$r[700]}:{main:$r[700],light:$r[500],dark:$r[900]}}function wk(e="light"){return e==="dark"?{main:nr[400],light:nr[300],dark:nr[700]}:{main:nr[800],light:nr[500],dark:nr[900]}}function Sk(e="light"){return e==="dark"?{main:Io[400],light:Io[300],dark:Io[700]}:{main:"#ed6c02",light:Io[500],dark:Io[900]}}function kk(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ie(e,hk),i=e.primary||vk(t),l=e.secondary||gk(t),a=e.error||yk(t),s=e.info||xk(t),u=e.success||wk(t),c=e.warning||Sk(t);function f(h){return dk(h,Vs.text.primary)>=n?Vs.text.primary:Kp.text.primary}const d=({color:h,name:S,mainShade:m=500,lightShade:p=300,darkShade:v=700})=>{if(h=O({},h),!h.main&&h[m]&&(h.main=h[m]),!h.hasOwnProperty("main"))throw new Error(co(11,S?` (${S})`:"",m));if(typeof h.main!="string")throw new Error(co(12,S?` (${S})`:"",JSON.stringify(h.main)));return Gp(h,"light",p,r),Gp(h,"dark",v,r),h.contrastText||(h.contrastText=f(h.main)),h},y={dark:Vs,light:Kp};return zt(O({common:O({},bi),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:u,name:"success"}),grey:Ew,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},y[t]),o)}const Ek=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ck(e){return Math.round(e*1e5)/1e5}const Yp={textTransform:"uppercase"},Xp='"Roboto", "Helvetica", "Arial", sans-serif';function bk(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Xp,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=n,d=ie(n,Ek),y=o/14,g=f||(m=>`${m/u*y}rem`),h=(m,p,v,x,C)=>O({fontFamily:r,fontWeight:m,fontSize:g(p),lineHeight:v},r===Xp?{letterSpacing:`${Ck(x/p)}em`}:{},C,c),S={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(l,48,1.167,0),h4:h(l,34,1.235,.25),h5:h(l,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(l,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(l,16,1.5,.15),body2:h(l,14,1.43,.15),button:h(a,14,1.75,.4,Yp),caption:h(l,12,1.66,.4),overline:h(l,12,2.66,1,Yp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return zt(O({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:a,fontWeightBold:s},S),d,{clone:!1})}const Pk=.2,Ok=.14,Rk=.12;function le(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Pk})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ok})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Rk})`].join(",")}const Tk=["none",le(0,2,1,-1,0,1,1,0,0,1,3,0),le(0,3,1,-2,0,2,2,0,0,1,5,0),le(0,3,3,-2,0,3,4,0,0,1,8,0),le(0,2,4,-1,0,4,5,0,0,1,10,0),le(0,3,5,-1,0,5,8,0,0,1,14,0),le(0,3,5,-1,0,6,10,0,0,1,18,0),le(0,4,5,-2,0,7,10,1,0,2,16,1),le(0,5,5,-3,0,8,10,1,0,3,14,2),le(0,5,6,-3,0,9,12,1,0,3,16,2),le(0,6,6,-3,0,10,14,1,0,4,18,3),le(0,6,7,-4,0,11,15,1,0,4,20,3),le(0,7,8,-4,0,12,17,2,0,5,22,4),le(0,7,8,-4,0,13,19,2,0,5,24,4),le(0,7,9,-4,0,14,21,2,0,5,26,4),le(0,8,9,-5,0,15,22,2,0,6,28,5),le(0,8,10,-5,0,16,24,2,0,6,30,5),le(0,8,11,-5,0,17,26,2,0,6,32,5),le(0,9,11,-5,0,18,28,2,0,7,34,6),le(0,9,12,-6,0,19,29,2,0,7,36,6),le(0,10,13,-6,0,20,31,3,0,8,38,7),le(0,10,13,-6,0,21,33,3,0,8,40,7),le(0,10,14,-6,0,22,35,3,0,8,42,7),le(0,11,14,-7,0,23,36,3,0,9,44,8),le(0,11,15,-7,0,24,38,3,0,9,46,8)],_k=["duration","easing","delay"],$k={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Nk={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Qp(e){return`${Math.round(e)}ms`}function Lk(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function jk(e){const t=O({},$k,e.easing),n=O({},Nk,e.duration);return O({getAutoHeightDuration:Lk,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:a=t.easeInOut,delay:s=0}=i;return ie(i,_k),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof l=="string"?l:Qp(l)} ${a} ${typeof s=="string"?s:Qp(s)}`).join(",")}},e,{easing:t,duration:n})}const Mk={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ak=Mk,Ik=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function zk(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=ie(e,Ik);if(e.vars)throw new Error(co(18));const a=kk(r),s=Tf(e);let u=zt(s,{mixins:mk(s.breakpoints,n),palette:a,shadows:Tk.slice(),typography:bk(a,i),transitions:jk(o),zIndex:O({},Ak)});return u=zt(u,l),u=t.reduce((c,f)=>zt(c,f),u),u.unstable_sxConfig=O({},Rf,l==null?void 0:l.unstable_sxConfig),u.unstable_sx=function(f){return is({sx:f,theme:this})},u}const Dk=zk(),$f=Dk;function Nf(){const e=Tg($f);return e[mf]||e}function Rt({props:e,name:t}){return uk({props:e,name:t,defaultTheme:$f,themeId:mf})}const Lf=e=>Nl(e)&&e!=="classes",me=ak({themeId:mf,defaultTheme:$f,rootShouldForwardProp:Lf}),Bk=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},qp=Bk;function Fk(e){return Ut("MuiSvgIcon",e)}Wt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Uk=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Wk=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${V(t)}`,`fontSize${V(n)}`]};return Ft(o,Fk,r)},Vk=me("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${V(n.color)}`],t[`fontSize${V(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,l,a,s,u,c,f,d,y,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(l=i.pxToRem)==null?void 0:l.call(i,20))||"1.25rem",medium:((a=e.typography)==null||(s=a.pxToRem)==null?void 0:s.call(a,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:(f=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?f:{action:(y=(e.vars||e).palette)==null||(y=y.action)==null?void 0:y.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),qu=w.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:l="inherit",component:a="svg",fontSize:s="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,y=ie(r,Uk),g=w.isValidElement(o)&&o.type==="svg",h=O({},r,{color:l,component:a,fontSize:s,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:g}),S={};c||(S.viewBox=d);const m=Wk(h);return k.jsxs(Vk,O({as:a,className:re(m.root,i),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},S,y,g&&o.props,{ownerState:h,children:[g?o.props.children:o,f?k.jsx("title",{children:f}):null]}))});qu.muiName="SvgIcon";function Wi(e,t){function n(r,o){return k.jsx(qu,O({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=qu.muiName,w.memo(w.forwardRef(n))}function Ng(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function Ju(e,t){return Ju=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Ju(e,t)}function Lg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ju(e,t)}const Jp={disabled:!1},ha=Pe.createContext(null);var Hk=function(t){return t.scrollTop},Go="unmounted",rr="exited",or="entering",jr="entered",Zu="exiting",Sn=function(e){Lg(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var l=o,a=l&&!l.isMounting?r.enter:r.appear,s;return i.appearStatus=null,r.in?a?(s=rr,i.appearStatus=or):s=jr:r.unmountOnExit||r.mountOnEnter?s=Go:s=rr,i.state={status:s},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var l=o.in;return l&&i.status===Go?{status:rr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var l=this.state.status;this.props.in?l!==or&&l!==jr&&(i=or):(l===or||l===jr)&&(i=Zu)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,l,a;return i=l=a=o,o!=null&&typeof o!="number"&&(i=o.exit,l=o.enter,a=o.appear!==void 0?o.appear:l),{exit:i,enter:l,appear:a}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===or){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:cl.findDOMNode(this);l&&Hk(l)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===rr&&this.setState({status:Go})},n.performEnter=function(o){var i=this,l=this.props.enter,a=this.context?this.context.isMounting:o,s=this.props.nodeRef?[a]:[cl.findDOMNode(this),a],u=s[0],c=s[1],f=this.getTimeouts(),d=a?f.appear:f.enter;if(!o&&!l||Jp.disabled){this.safeSetState({status:jr},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:or},function(){i.props.onEntering(u,c),i.onTransitionEnd(d,function(){i.safeSetState({status:jr},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,l=this.getTimeouts(),a=this.props.nodeRef?void 0:cl.findDOMNode(this);if(!i||Jp.disabled){this.safeSetState({status:rr},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Zu},function(){o.props.onExiting(a),o.onTransitionEnd(l.exit,function(){o.safeSetState({status:rr},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,l=!0;return this.nextCallback=function(a){l&&(l=!1,i.nextCallback=null,o(a))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var l=this.props.nodeRef?this.props.nodeRef.current:cl.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!l||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],u=s[0],c=s[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Go)return null;var i=this.props,l=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var a=Ng(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Pe.createElement(ha.Provider,{value:null},typeof l=="function"?l(o,a):Pe.cloneElement(Pe.Children.only(l),a))},t}(Pe.Component);Sn.contextType=ha;Sn.propTypes={};function Lr(){}Sn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Lr,onEntering:Lr,onEntered:Lr,onExit:Lr,onExiting:Lr,onExited:Lr};Sn.UNMOUNTED=Go;Sn.EXITED=rr;Sn.ENTERING=or;Sn.ENTERED=jr;Sn.EXITING=Zu;const jg=Sn;function Kk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jf(e,t){var n=function(i){return t&&w.isValidElement(i)?t(i):i},r=Object.create(null);return e&&w.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function Gk(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,a={};for(var s in t){if(r[s])for(l=0;le.scrollTop;function Zp(e,t){var n,r;const{timeout:o,easing:i,style:l={}}=e;return{duration:(n=l.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=l.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:l.transitionDelay}}function eE(e){return Ut("MuiPaper",e)}Wt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const tE=["className","component","elevation","square","variant"],nE=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ft(i,eE,o)},rE=me("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return O({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&O({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${qt("#fff",qp(t.elevation))}, ${qt("#fff",qp(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),oE=w.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:l=1,square:a=!1,variant:s="elevation"}=r,u=ie(r,tE),c=O({},r,{component:i,elevation:l,square:a,variant:s}),f=nE(c);return k.jsx(rE,O({as:i,ownerState:c,className:re(f.root,o),ref:n},u))}),Mg=oE;function iE(e){return typeof e=="string"}function Yo(e,t,n){return e===void 0||iE(e)?t:O({},t,{ownerState:O({},t.ownerState,n)})}const lE={disableDefaultClasses:!1},aE=w.createContext(lE);function sE(e){const{disableDefaultClasses:t}=w.useContext(aE);return n=>t?"":e(n)}function ec(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function uE(e,t,n){return typeof e=="function"?e(t,n):e}function em(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function cE(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const y=re(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=O({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),h=O({},n,o,r);return y.length>0&&(h.className=y),Object.keys(g).length>0&&(h.style=g),{props:h,internalRef:void 0}}const l=ec(O({},o,r)),a=em(r),s=em(o),u=t(l),c=re(u==null?void 0:u.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),f=O({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=O({},u,n,s,a);return c.length>0&&(d.className=c),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}const fE=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ag(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=ie(e,fE),a=i?{}:uE(r,o),{props:s,internalRef:u}=cE(O({},l,{externalSlotProps:a})),c=gn(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return Yo(n,O({},s,{ref:c}),o)}function dE(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:l,in:a,onExited:s,timeout:u}=e,[c,f]=w.useState(!1),d=re(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),y={width:l,height:l,top:-(l/2)+i,left:-(l/2)+o},g=re(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&f(!0),w.useEffect(()=>{if(!a&&s!=null){const h=setTimeout(s,u);return()=>{clearTimeout(h)}}},[s,a,u]),k.jsx("span",{className:d,style:y,children:k.jsx("span",{className:g})})}const vt=Wt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),pE=["center","classes","className"];let as=e=>e,tm,nm,rm,om;const tc=550,mE=80,hE=kf(tm||(tm=as` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),vE=kf(nm||(nm=as` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),gE=kf(rm||(rm=as` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),yE=me("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),xE=me(dE,{name:"MuiTouchRipple",slot:"Ripple"})(om||(om=as` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),vt.rippleVisible,hE,tc,({theme:e})=>e.transitions.easing.easeInOut,vt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,vt.child,vt.childLeaving,vE,tc,({theme:e})=>e.transitions.easing.easeInOut,vt.childPulsate,gE,({theme:e})=>e.transitions.easing.easeInOut),wE=w.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,a=ie(r,pE),[s,u]=w.useState([]),c=w.useRef(0),f=w.useRef(null);w.useEffect(()=>{f.current&&(f.current(),f.current=null)},[s]);const d=w.useRef(!1),y=sr(),g=w.useRef(null),h=w.useRef(null),S=w.useCallback(x=>{const{pulsate:C,rippleX:b,rippleY:E,rippleSize:R,cb:$}=x;u(P=>[...P,k.jsx(xE,{classes:{ripple:re(i.ripple,vt.ripple),rippleVisible:re(i.rippleVisible,vt.rippleVisible),ripplePulsate:re(i.ripplePulsate,vt.ripplePulsate),child:re(i.child,vt.child),childLeaving:re(i.childLeaving,vt.childLeaving),childPulsate:re(i.childPulsate,vt.childPulsate)},timeout:tc,pulsate:C,rippleX:b,rippleY:E,rippleSize:R},c.current)]),c.current+=1,f.current=$},[i]),m=w.useCallback((x={},C={},b=()=>{})=>{const{pulsate:E=!1,center:R=o||C.pulsate,fakeElement:$=!1}=C;if((x==null?void 0:x.type)==="mousedown"&&d.current){d.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(d.current=!0);const P=$?null:h.current,N=P?P.getBoundingClientRect():{width:0,height:0,left:0,top:0};let z,D,U;if(R||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)z=Math.round(N.width/2),D=Math.round(N.height/2);else{const{clientX:A,clientY:I}=x.touches&&x.touches.length>0?x.touches[0]:x;z=Math.round(A-N.left),D=Math.round(I-N.top)}if(R)U=Math.sqrt((2*N.width**2+N.height**2)/3),U%2===0&&(U+=1);else{const A=Math.max(Math.abs((P?P.clientWidth:0)-z),z)*2+2,I=Math.max(Math.abs((P?P.clientHeight:0)-D),D)*2+2;U=Math.sqrt(A**2+I**2)}x!=null&&x.touches?g.current===null&&(g.current=()=>{S({pulsate:E,rippleX:z,rippleY:D,rippleSize:U,cb:b})},y.start(mE,()=>{g.current&&(g.current(),g.current=null)})):S({pulsate:E,rippleX:z,rippleY:D,rippleSize:U,cb:b})},[o,S,y]),p=w.useCallback(()=>{m({},{pulsate:!0})},[m]),v=w.useCallback((x,C)=>{if(y.clear(),(x==null?void 0:x.type)==="touchend"&&g.current){g.current(),g.current=null,y.start(0,()=>{v(x,C)});return}g.current=null,u(b=>b.length>0?b.slice(1):b),f.current=C},[y]);return w.useImperativeHandle(n,()=>({pulsate:p,start:m,stop:v}),[p,m,v]),k.jsx(yE,O({className:re(vt.root,i.root,l),ref:h},a,{children:k.jsx(Jk,{component:null,exit:!0,children:s})}))}),SE=wE;function kE(e){return Ut("MuiButtonBase",e)}const EE=Wt("MuiButtonBase",["root","disabled","focusVisible"]),CE=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],bE=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=Ft({root:["root",t&&"disabled",n&&"focusVisible"]},kE,o);return n&&r&&(l.root+=` ${r}`),l},PE=me("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"},[`&.${EE.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),OE=w.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:a,component:s="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:y="a",onBlur:g,onClick:h,onContextMenu:S,onDragLeave:m,onFocus:p,onFocusVisible:v,onKeyDown:x,onKeyUp:C,onMouseDown:b,onMouseLeave:E,onMouseUp:R,onTouchEnd:$,onTouchMove:P,onTouchStart:N,tabIndex:z=0,TouchRippleProps:D,touchRippleRef:U,type:A}=r,I=ie(r,CE),F=w.useRef(null),_=w.useRef(null),j=gn(_,U),{isFocusVisibleRef:M,onFocus:X,onBlur:J,ref:Ke}=Cg(),[te,Se]=w.useState(!1);u&&te&&Se(!1),w.useImperativeHandle(o,()=>({focusVisible:()=>{Se(!0),F.current.focus()}}),[]);const[ye,Be]=w.useState(!1);w.useEffect(()=>{Be(!0)},[]);const Te=ye&&!c&&!u;w.useEffect(()=>{te&&d&&!c&&ye&&_.current.pulsate()},[c,d,te,ye]);function he(B,ht,Co=f){return fn(Pn=>(ht&&ht(Pn),!Co&&_.current&&_.current[B](Pn),!0))}const kn=he("start",b),dt=he("stop",S),Eo=he("stop",m),Cr=he("stop",R),br=he("stop",B=>{te&&B.preventDefault(),E&&E(B)}),pt=he("start",N),En=he("stop",$),Pr=he("stop",P),rn=he("stop",B=>{J(B),M.current===!1&&Se(!1),g&&g(B)},!1),Or=fn(B=>{F.current||(F.current=B.currentTarget),X(B),M.current===!0&&(Se(!0),v&&v(B)),p&&p(B)}),Fe=()=>{const B=F.current;return s&&s!=="button"&&!(B.tagName==="A"&&B.href)},Vt=w.useRef(!1),on=fn(B=>{d&&!Vt.current&&te&&_.current&&B.key===" "&&(Vt.current=!0,_.current.stop(B,()=>{_.current.start(B)})),B.target===B.currentTarget&&Fe()&&B.key===" "&&B.preventDefault(),x&&x(B),B.target===B.currentTarget&&Fe()&&B.key==="Enter"&&!u&&(B.preventDefault(),h&&h(B))}),Cn=fn(B=>{d&&B.key===" "&&_.current&&te&&!B.defaultPrevented&&(Vt.current=!1,_.current.stop(B,()=>{_.current.pulsate(B)})),C&&C(B),h&&B.target===B.currentTarget&&Fe()&&B.key===" "&&!B.defaultPrevented&&h(B)});let Tt=s;Tt==="button"&&(I.href||I.to)&&(Tt=y);const mt={};Tt==="button"?(mt.type=A===void 0?"button":A,mt.disabled=u):(!I.href&&!I.to&&(mt.role="button"),u&&(mt["aria-disabled"]=u));const ln=gn(n,Ke,F),bn=O({},r,{centerRipple:i,component:s,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:z,focusVisible:te}),Rr=bE(bn);return k.jsxs(PE,O({as:Tt,className:re(Rr.root,a),ownerState:bn,onBlur:rn,onClick:h,onContextMenu:dt,onFocus:Or,onKeyDown:on,onKeyUp:Cn,onMouseDown:kn,onMouseLeave:br,onMouseUp:Cr,onDragLeave:Eo,onTouchEnd:En,onTouchMove:Pr,onTouchStart:pt,ref:ln,tabIndex:u?-1:z,type:A},mt,I,{children:[l,Te?k.jsx(SE,O({ref:j,center:i},D)):null]}))}),Af=OE;function RE(e){return Ut("MuiAlert",e)}const TE=Wt("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),im=TE;function _E(e){return Ut("MuiIconButton",e)}const $E=Wt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),NE=["edge","children","className","color","disabled","disableFocusRipple","size"],LE=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,l={root:["root",n&&"disabled",r!=="default"&&`color${V(r)}`,o&&`edge${V(o)}`,`size${V(i)}`]};return Ft(l,_E,t)},jE=me(Af,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${V(n.color)}`],n.edge&&t[`edge${V(n.edge)}`],t[`size${V(n.size)}`]]}})(({theme:e,ownerState:t})=>O({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:qt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return O({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&O({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":O({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:qt(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${$E.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),ME=w.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:l,color:a="default",disabled:s=!1,disableFocusRipple:u=!1,size:c="medium"}=r,f=ie(r,NE),d=O({},r,{edge:o,color:a,disabled:s,disableFocusRipple:u,size:c}),y=LE(d);return k.jsx(jE,O({className:re(y.root,l),centerRipple:!0,focusRipple:!u,disabled:s,ref:n,ownerState:d},f,{children:i}))}),Ig=ME,AE=Wi(k.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),IE=Wi(k.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),zE=Wi(k.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.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"}),"ErrorOutline"),DE=Wi(k.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),BE=Wi(k.jsx("path",{d:"M19 6.41L17.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"}),"Close"),FE=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],UE=e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`${t}${V(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Ft(i,RE,o)},WE=me(Mg,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${V(n.color||n.severity)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?pa:ma,r=e.palette.mode==="light"?ma:pa,o=t.color||t.severity;return O({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&t.variant==="standard"&&{color:e.vars?e.vars.palette.Alert[`${o}Color`]:n(e.palette[o].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${o}StandardBg`]:r(e.palette[o].light,.9),[`& .${im.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}},o&&t.variant==="outlined"&&{color:e.vars?e.vars.palette.Alert[`${o}Color`]:n(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${im.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}},o&&t.variant==="filled"&&O({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${o}FilledColor`],backgroundColor:e.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[o].dark:e.palette[o].main,color:e.palette.getContrastText(e.palette[o].main)}))}),VE=me("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),HE=me("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),lm=me("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),am={success:k.jsx(AE,{fontSize:"inherit"}),warning:k.jsx(IE,{fontSize:"inherit"}),error:k.jsx(zE,{fontSize:"inherit"}),info:k.jsx(DE,{fontSize:"inherit"})},KE=w.forwardRef(function(t,n){var r,o,i,l,a,s;const u=Rt({props:t,name:"MuiAlert"}),{action:c,children:f,className:d,closeText:y="Close",color:g,components:h={},componentsProps:S={},icon:m,iconMapping:p=am,onClose:v,role:x="alert",severity:C="success",slotProps:b={},slots:E={},variant:R="standard"}=u,$=ie(u,FE),P=O({},u,{color:g,severity:C,variant:R}),N=UE(P),z=(r=(o=E.closeButton)!=null?o:h.CloseButton)!=null?r:Ig,D=(i=(l=E.closeIcon)!=null?l:h.CloseIcon)!=null?i:BE,U=(a=b.closeButton)!=null?a:S.closeButton,A=(s=b.closeIcon)!=null?s:S.closeIcon;return k.jsxs(WE,O({role:x,elevation:0,ownerState:P,className:re(N.root,d),ref:n},$,{children:[m!==!1?k.jsx(VE,{ownerState:P,className:N.icon,children:m||p[C]||am[C]}):null,k.jsx(HE,{ownerState:P,className:N.message,children:f}),c!=null?k.jsx(lm,{ownerState:P,className:N.action,children:c}):null,c==null&&v?k.jsx(lm,{ownerState:P,className:N.action,children:k.jsx(z,O({size:"small","aria-label":y,title:y,color:"inherit",onClick:v},U,{children:k.jsx(D,O({fontSize:"small"},A))}))}):null]}))}),GE=KE,zg="base";function YE(e){return`${zg}--${e}`}function XE(e,t){return`${zg}-${e}-${t}`}function Dg(e,t){const n=bg[t];return n?YE(n):XE(e,t)}function QE(e,t){const n={};return t.forEach(r=>{n[r]=Dg(e,r)}),n}function sm(e){return e.substring(2).toLowerCase()}function qE(e,t){return t.documentElement.clientWidth(setTimeout(()=>{s.current=!0},0),()=>{s.current=!1}),[]);const c=gn(t.ref,a),f=fn(g=>{const h=u.current;u.current=!1;const S=oi(a.current);if(!s.current||!a.current||"clientX"in g&&qE(g,S))return;if(l.current){l.current=!1;return}let m;g.composedPath?m=g.composedPath().indexOf(a.current)>-1:m=!S.documentElement.contains(g.target)||a.current.contains(g.target),!m&&(n||!h)&&o(g)}),d=g=>h=>{u.current=!0;const S=t.props[g];S&&S(h)},y={ref:c};return i!==!1&&(y[i]=d(i)),w.useEffect(()=>{if(i!==!1){const g=sm(i),h=oi(a.current),S=()=>{l.current=!0};return h.addEventListener(g,f),h.addEventListener("touchmove",S),()=>{h.removeEventListener(g,f),h.removeEventListener("touchmove",S)}}},[f,i]),r!==!1&&(y[r]=d(r)),w.useEffect(()=>{if(r!==!1){const g=sm(r),h=oi(a.current);return h.addEventListener(g,f),()=>{h.removeEventListener(g,f)}}},[f,r]),k.jsx(w.Fragment,{children:w.cloneElement(t,y)})}var Je="top",bt="bottom",Pt="right",Ze="left",If="auto",Vi=[Je,bt,Pt,Ze],po="start",$i="end",ZE="clippingParents",Bg="viewport",Do="popper",eC="reference",um=Vi.reduce(function(e,t){return e.concat([t+"-"+po,t+"-"+$i])},[]),Fg=[].concat(Vi,[If]).reduce(function(e,t){return e.concat([t,t+"-"+po,t+"-"+$i])},[]),tC="beforeRead",nC="read",rC="afterRead",oC="beforeMain",iC="main",lC="afterMain",aC="beforeWrite",sC="write",uC="afterWrite",cC=[tC,nC,rC,oC,iC,lC,aC,sC,uC];function nn(e){return e?(e.nodeName||"").toLowerCase():null}function st(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function wr(e){var t=st(e).Element;return e instanceof t||e instanceof Element}function kt(e){var t=st(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function zf(e){if(typeof ShadowRoot>"u")return!1;var t=st(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function fC(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!kt(i)||!nn(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(l){var a=o[l];a===!1?i.removeAttribute(l):i.setAttribute(l,a===!0?"":a)}))})}function dC(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=l.reduce(function(s,u){return s[u]="",s},{});!kt(o)||!nn(o)||(Object.assign(o.style,a),Object.keys(i).forEach(function(s){o.removeAttribute(s)}))})}}const pC={name:"applyStyles",enabled:!0,phase:"write",fn:fC,effect:dC,requires:["computeStyles"]};function tn(e){return e.split("-")[0]}var dr=Math.max,va=Math.min,mo=Math.round;function nc(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Ug(){return!/^((?!chrome|android).)*safari/i.test(nc())}function ho(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&kt(e)&&(o=e.offsetWidth>0&&mo(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&mo(r.height)/e.offsetHeight||1);var l=wr(e)?st(e):window,a=l.visualViewport,s=!Ug()&&n,u=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,f=r.width/o,d=r.height/i;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function Df(e){var t=ho(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 Wg(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&zf(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function xn(e){return st(e).getComputedStyle(e)}function mC(e){return["table","td","th"].indexOf(nn(e))>=0}function qn(e){return((wr(e)?e.ownerDocument:e.document)||window.document).documentElement}function ss(e){return nn(e)==="html"?e:e.assignedSlot||e.parentNode||(zf(e)?e.host:null)||qn(e)}function cm(e){return!kt(e)||xn(e).position==="fixed"?null:e.offsetParent}function hC(e){var t=/firefox/i.test(nc()),n=/Trident/i.test(nc());if(n&&kt(e)){var r=xn(e);if(r.position==="fixed")return null}var o=ss(e);for(zf(o)&&(o=o.host);kt(o)&&["html","body"].indexOf(nn(o))<0;){var i=xn(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Hi(e){for(var t=st(e),n=cm(e);n&&mC(n)&&xn(n).position==="static";)n=cm(n);return n&&(nn(n)==="html"||nn(n)==="body"&&xn(n).position==="static")?t:n||hC(e)||t}function Bf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function li(e,t,n){return dr(e,va(t,n))}function vC(e,t,n){var r=li(e,t,n);return r>n?n:r}function Vg(){return{top:0,right:0,bottom:0,left:0}}function Hg(e){return Object.assign({},Vg(),e)}function Kg(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var gC=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Hg(typeof t!="number"?t:Kg(t,Vi))};function yC(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,l=n.modifiersData.popperOffsets,a=tn(n.placement),s=Bf(a),u=[Ze,Pt].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!l)){var f=gC(o.padding,n),d=Df(i),y=s==="y"?Je:Ze,g=s==="y"?bt:Pt,h=n.rects.reference[c]+n.rects.reference[s]-l[s]-n.rects.popper[c],S=l[s]-n.rects.reference[s],m=Hi(i),p=m?s==="y"?m.clientHeight||0:m.clientWidth||0:0,v=h/2-S/2,x=f[y],C=p-d[c]-f[g],b=p/2-d[c]/2+v,E=li(x,b,C),R=s;n.modifiersData[r]=(t={},t[R]=E,t.centerOffset=E-b,t)}}function xC(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Wg(t.elements.popper,o)&&(t.elements.arrow=o))}const wC={name:"arrow",enabled:!0,phase:"main",fn:yC,effect:xC,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vo(e){return e.split("-")[1]}var SC={top:"auto",right:"auto",bottom:"auto",left:"auto"};function kC(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:mo(n*o)/o||0,y:mo(r*o)/o||0}}function fm(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,l=e.offsets,a=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=l.x,y=d===void 0?0:d,g=l.y,h=g===void 0?0:g,S=typeof c=="function"?c({x:y,y:h}):{x:y,y:h};y=S.x,h=S.y;var m=l.hasOwnProperty("x"),p=l.hasOwnProperty("y"),v=Ze,x=Je,C=window;if(u){var b=Hi(n),E="clientHeight",R="clientWidth";if(b===st(n)&&(b=qn(n),xn(b).position!=="static"&&a==="absolute"&&(E="scrollHeight",R="scrollWidth")),b=b,o===Je||(o===Ze||o===Pt)&&i===$i){x=bt;var $=f&&b===C&&C.visualViewport?C.visualViewport.height:b[E];h-=$-r.height,h*=s?1:-1}if(o===Ze||(o===Je||o===bt)&&i===$i){v=Pt;var P=f&&b===C&&C.visualViewport?C.visualViewport.width:b[R];y-=P-r.width,y*=s?1:-1}}var N=Object.assign({position:a},u&&SC),z=c===!0?kC({x:y,y:h},st(n)):{x:y,y:h};if(y=z.x,h=z.y,s){var D;return Object.assign({},N,(D={},D[x]=p?"0":"",D[v]=m?"0":"",D.transform=(C.devicePixelRatio||1)<=1?"translate("+y+"px, "+h+"px)":"translate3d("+y+"px, "+h+"px, 0)",D))}return Object.assign({},N,(t={},t[x]=p?h+"px":"",t[v]=m?y+"px":"",t.transform="",t))}function EC(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,l=i===void 0?!0:i,a=n.roundOffsets,s=a===void 0?!0:a,u={placement:tn(t.placement),variation:vo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,fm(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,fm(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const CC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:EC,data:{}};var pl={passive:!0};function bC(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,l=r.resize,a=l===void 0?!0:l,s=st(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,pl)}),a&&s.addEventListener("resize",n.update,pl),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,pl)}),a&&s.removeEventListener("resize",n.update,pl)}}const PC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bC,data:{}};var OC={left:"right",right:"left",bottom:"top",top:"bottom"};function jl(e){return e.replace(/left|right|bottom|top/g,function(t){return OC[t]})}var RC={start:"end",end:"start"};function dm(e){return e.replace(/start|end/g,function(t){return RC[t]})}function Ff(e){var t=st(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Uf(e){return ho(qn(e)).left+Ff(e).scrollLeft}function TC(e,t){var n=st(e),r=qn(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;var u=Ug();(u||!u&&t==="fixed")&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a+Uf(e),y:s}}function _C(e){var t,n=qn(e),r=Ff(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=dr(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=dr(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+Uf(e),s=-r.scrollTop;return xn(o||n).direction==="rtl"&&(a+=dr(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:l,x:a,y:s}}function Wf(e){var t=xn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Gg(e){return["html","body","#document"].indexOf(nn(e))>=0?e.ownerDocument.body:kt(e)&&Wf(e)?e:Gg(ss(e))}function ai(e,t){var n;t===void 0&&(t=[]);var r=Gg(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=st(r),l=o?[i].concat(i.visualViewport||[],Wf(r)?r:[]):r,a=t.concat(l);return o?a:a.concat(ai(ss(l)))}function rc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $C(e,t){var n=ho(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function pm(e,t,n){return t===Bg?rc(TC(e,n)):wr(t)?$C(t,n):rc(_C(qn(e)))}function NC(e){var t=ai(ss(e)),n=["absolute","fixed"].indexOf(xn(e).position)>=0,r=n&&kt(e)?Hi(e):e;return wr(r)?t.filter(function(o){return wr(o)&&Wg(o,r)&&nn(o)!=="body"}):[]}function LC(e,t,n,r){var o=t==="clippingParents"?NC(e):[].concat(t),i=[].concat(o,[n]),l=i[0],a=i.reduce(function(s,u){var c=pm(e,u,r);return s.top=dr(c.top,s.top),s.right=va(c.right,s.right),s.bottom=va(c.bottom,s.bottom),s.left=dr(c.left,s.left),s},pm(e,l,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Yg(e){var t=e.reference,n=e.element,r=e.placement,o=r?tn(r):null,i=r?vo(r):null,l=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,s;switch(o){case Je:s={x:l,y:t.y-n.height};break;case bt:s={x:l,y:t.y+t.height};break;case Pt:s={x:t.x+t.width,y:a};break;case Ze:s={x:t.x-n.width,y:a};break;default:s={x:t.x,y:t.y}}var u=o?Bf(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case po:s[u]=s[u]-(t[c]/2-n[c]/2);break;case $i:s[u]=s[u]+(t[c]/2-n[c]/2);break}}return s}function Ni(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,l=i===void 0?e.strategy:i,a=n.boundary,s=a===void 0?ZE:a,u=n.rootBoundary,c=u===void 0?Bg:u,f=n.elementContext,d=f===void 0?Do:f,y=n.altBoundary,g=y===void 0?!1:y,h=n.padding,S=h===void 0?0:h,m=Hg(typeof S!="number"?S:Kg(S,Vi)),p=d===Do?eC:Do,v=e.rects.popper,x=e.elements[g?p:d],C=LC(wr(x)?x:x.contextElement||qn(e.elements.popper),s,c,l),b=ho(e.elements.reference),E=Yg({reference:b,element:v,strategy:"absolute",placement:o}),R=rc(Object.assign({},v,E)),$=d===Do?R:b,P={top:C.top-$.top+m.top,bottom:$.bottom-C.bottom+m.bottom,left:C.left-$.left+m.left,right:$.right-C.right+m.right},N=e.modifiersData.offset;if(d===Do&&N){var z=N[o];Object.keys(P).forEach(function(D){var U=[Pt,bt].indexOf(D)>=0?1:-1,A=[Je,bt].indexOf(D)>=0?"y":"x";P[D]+=z[A]*U})}return P}function jC(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,l=n.padding,a=n.flipVariations,s=n.allowedAutoPlacements,u=s===void 0?Fg:s,c=vo(r),f=c?a?um:um.filter(function(g){return vo(g)===c}):Vi,d=f.filter(function(g){return u.indexOf(g)>=0});d.length===0&&(d=f);var y=d.reduce(function(g,h){return g[h]=Ni(e,{placement:h,boundary:o,rootBoundary:i,padding:l})[tn(h)],g},{});return Object.keys(y).sort(function(g,h){return y[g]-y[h]})}function MC(e){if(tn(e)===If)return[];var t=jl(e);return[dm(e),t,dm(t)]}function AC(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,l=n.altAxis,a=l===void 0?!0:l,s=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,y=n.flipVariations,g=y===void 0?!0:y,h=n.allowedAutoPlacements,S=t.options.placement,m=tn(S),p=m===S,v=s||(p||!g?[jl(S)]:MC(S)),x=[S].concat(v).reduce(function(te,Se){return te.concat(tn(Se)===If?jC(t,{placement:Se,boundary:c,rootBoundary:f,padding:u,flipVariations:g,allowedAutoPlacements:h}):Se)},[]),C=t.rects.reference,b=t.rects.popper,E=new Map,R=!0,$=x[0],P=0;P=0,A=U?"width":"height",I=Ni(t,{placement:N,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),F=U?D?Pt:Ze:D?bt:Je;C[A]>b[A]&&(F=jl(F));var _=jl(F),j=[];if(i&&j.push(I[z]<=0),a&&j.push(I[F]<=0,I[_]<=0),j.every(function(te){return te})){$=N,R=!1;break}E.set(N,j)}if(R)for(var M=g?3:1,X=function(Se){var ye=x.find(function(Be){var Te=E.get(Be);if(Te)return Te.slice(0,Se).every(function(he){return he})});if(ye)return $=ye,"break"},J=M;J>0;J--){var Ke=X(J);if(Ke==="break")break}t.placement!==$&&(t.modifiersData[r]._skip=!0,t.placement=$,t.reset=!0)}}const IC={name:"flip",enabled:!0,phase:"main",fn:AC,requiresIfExists:["offset"],data:{_skip:!1}};function mm(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function hm(e){return[Je,Pt,bt,Ze].some(function(t){return e[t]>=0})}function zC(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,l=Ni(t,{elementContext:"reference"}),a=Ni(t,{altBoundary:!0}),s=mm(l,r),u=mm(a,o,i),c=hm(s),f=hm(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const DC={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:zC};function BC(e,t,n){var r=tn(e),o=[Ze,Je].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=i[0],a=i[1];return l=l||0,a=(a||0)*o,[Ze,Pt].indexOf(r)>=0?{x:a,y:l}:{x:l,y:a}}function FC(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,l=Fg.reduce(function(c,f){return c[f]=BC(f,t.rects,i),c},{}),a=l[t.placement],s=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=l}const UC={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:FC};function WC(e){var t=e.state,n=e.name;t.modifiersData[n]=Yg({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const VC={name:"popperOffsets",enabled:!0,phase:"read",fn:WC,data:{}};function HC(e){return e==="x"?"y":"x"}function KC(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,l=n.altAxis,a=l===void 0?!1:l,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,y=d===void 0?!0:d,g=n.tetherOffset,h=g===void 0?0:g,S=Ni(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:c}),m=tn(t.placement),p=vo(t.placement),v=!p,x=Bf(m),C=HC(x),b=t.modifiersData.popperOffsets,E=t.rects.reference,R=t.rects.popper,$=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,P=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(b){if(i){var D,U=x==="y"?Je:Ze,A=x==="y"?bt:Pt,I=x==="y"?"height":"width",F=b[x],_=F+S[U],j=F-S[A],M=y?-R[I]/2:0,X=p===po?E[I]:R[I],J=p===po?-R[I]:-E[I],Ke=t.elements.arrow,te=y&&Ke?Df(Ke):{width:0,height:0},Se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Vg(),ye=Se[U],Be=Se[A],Te=li(0,E[I],te[I]),he=v?E[I]/2-M-Te-ye-P.mainAxis:X-Te-ye-P.mainAxis,kn=v?-E[I]/2+M+Te+Be+P.mainAxis:J+Te+Be+P.mainAxis,dt=t.elements.arrow&&Hi(t.elements.arrow),Eo=dt?x==="y"?dt.clientTop||0:dt.clientLeft||0:0,Cr=(D=N==null?void 0:N[x])!=null?D:0,br=F+he-Cr-Eo,pt=F+kn-Cr,En=li(y?va(_,br):_,F,y?dr(j,pt):j);b[x]=En,z[x]=En-F}if(a){var Pr,rn=x==="x"?Je:Ze,Or=x==="x"?bt:Pt,Fe=b[C],Vt=C==="y"?"height":"width",on=Fe+S[rn],Cn=Fe-S[Or],Tt=[Je,Ze].indexOf(m)!==-1,mt=(Pr=N==null?void 0:N[C])!=null?Pr:0,ln=Tt?on:Fe-E[Vt]-R[Vt]-mt+P.altAxis,bn=Tt?Fe+E[Vt]+R[Vt]-mt-P.altAxis:Cn,Rr=y&&Tt?vC(ln,Fe,bn):li(y?ln:on,Fe,y?bn:Cn);b[C]=Rr,z[C]=Rr-Fe}t.modifiersData[r]=z}}const GC={name:"preventOverflow",enabled:!0,phase:"main",fn:KC,requiresIfExists:["offset"]};function YC(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function XC(e){return e===st(e)||!kt(e)?Ff(e):YC(e)}function QC(e){var t=e.getBoundingClientRect(),n=mo(t.width)/e.offsetWidth||1,r=mo(t.height)/e.offsetHeight||1;return n!==1||r!==1}function qC(e,t,n){n===void 0&&(n=!1);var r=kt(t),o=kt(t)&&QC(t),i=qn(t),l=ho(e,o,n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((nn(t)!=="body"||Wf(i))&&(a=XC(t)),kt(t)?(s=ho(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Uf(i))),{x:l.left+a.scrollLeft-s.x,y:l.top+a.scrollTop-s.y,width:l.width,height:l.height}}function JC(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var l=[].concat(i.requires||[],i.requiresIfExists||[]);l.forEach(function(a){if(!n.has(a)){var s=t.get(a);s&&o(s)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function ZC(e){var t=JC(e);return cC.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function eb(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function tb(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var vm={placement:"bottom",modifiers:[],strategy:"absolute"};function gm(){for(var e=arguments.length,t=new Array(e),n=0;n{i||a(ib(o)||document.body)},[o,i]),_i(()=>{if(l&&!i)return Yu(n,l),()=>{Yu(n,null)}},[n,l,i]),i){if(w.isValidElement(r)){const u={ref:s};return w.cloneElement(r,u)}return k.jsx(w.Fragment,{children:r})}return k.jsx(w.Fragment,{children:l&&uf.createPortal(r,l)})}),Xg="Popper";function ab(e){return Dg(Xg,e)}QE(Xg,["root"]);const sb=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],ub=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function cb(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function oc(e){return typeof e=="function"?e():e}function fb(e){return e.nodeType!==void 0}const db=()=>Ft({root:["root"]},sE(ab)),pb={},mb=w.forwardRef(function(t,n){var r;const{anchorEl:o,children:i,direction:l,disablePortal:a,modifiers:s,open:u,placement:c,popperOptions:f,popperRef:d,slotProps:y={},slots:g={},TransitionProps:h}=t,S=ie(t,sb),m=w.useRef(null),p=gn(m,n),v=w.useRef(null),x=gn(v,d),C=w.useRef(x);_i(()=>{C.current=x},[x]),w.useImperativeHandle(d,()=>v.current,[]);const b=cb(c,l),[E,R]=w.useState(b),[$,P]=w.useState(oc(o));w.useEffect(()=>{v.current&&v.current.forceUpdate()}),w.useEffect(()=>{o&&P(oc(o))},[o]),_i(()=>{if(!$||!u)return;const A=_=>{R(_.placement)};let I=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:_})=>{A(_)}}];s!=null&&(I=I.concat(s)),f&&f.modifiers!=null&&(I=I.concat(f.modifiers));const F=ob($,m.current,O({placement:b},f,{modifiers:I}));return C.current(F),()=>{F.destroy(),C.current(null)}},[$,a,s,u,f,b]);const N={placement:E};h!==null&&(N.TransitionProps=h);const z=db(),D=(r=g.root)!=null?r:"div",U=Ag({elementType:D,externalSlotProps:y.root,externalForwardedProps:S,additionalProps:{role:"tooltip",ref:p},ownerState:t,className:z.root});return k.jsx(D,O({},U,{children:typeof i=="function"?i(N):i}))}),hb=w.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:l="ltr",disablePortal:a=!1,keepMounted:s=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:d=pb,popperRef:y,style:g,transition:h=!1,slotProps:S={},slots:m={}}=t,p=ie(t,ub),[v,x]=w.useState(!0),C=()=>{x(!1)},b=()=>{x(!0)};if(!s&&!c&&(!h||v))return null;let E;if(i)E=i;else if(r){const P=oc(r);E=P&&fb(P)?oi(P).body:oi(null).body}const R=!c&&s&&(!h||v)?"none":void 0,$=h?{in:c,onEnter:C,onExited:b}:void 0;return k.jsx(lb,{disablePortal:a,container:E,children:k.jsx(mb,O({anchorEl:r,direction:l,disablePortal:a,modifiers:u,ref:n,open:h?!v:c,placement:f,popperOptions:d,popperRef:y,slotProps:S,slots:m},p,{style:O({position:"fixed",top:0,left:0,display:R},g),TransitionProps:$,children:o}))})});function vb(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:o,resumeHideDuration:i}=e,l=sr();w.useEffect(()=>{if(!o)return;function m(p){p.defaultPrevented||(p.key==="Escape"||p.key==="Esc")&&(r==null||r(p,"escapeKeyDown"))}return document.addEventListener("keydown",m),()=>{document.removeEventListener("keydown",m)}},[o,r]);const a=fn((m,p)=>{r==null||r(m,p)}),s=fn(m=>{!r||m==null||l.start(m,()=>{a(null,"timeout")})});w.useEffect(()=>(o&&s(t),l.clear),[o,t,s,l]);const u=m=>{r==null||r(m,"clickaway")},c=l.clear,f=w.useCallback(()=>{t!=null&&s(i??t*.5)},[t,i,s]),d=m=>p=>{const v=m.onBlur;v==null||v(p),f()},y=m=>p=>{const v=m.onFocus;v==null||v(p),c()},g=m=>p=>{const v=m.onMouseEnter;v==null||v(p),c()},h=m=>p=>{const v=m.onMouseLeave;v==null||v(p),f()};return w.useEffect(()=>{if(!n&&o)return window.addEventListener("focus",f),window.addEventListener("blur",c),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",c)}},[n,o,f,c]),{getRootProps:(m={})=>{const p=O({},ec(e),ec(m));return O({role:"presentation"},m,p,{onBlur:d(p),onFocus:y(p),onMouseEnter:g(p),onMouseLeave:h(p)})},onClickAway:u}}const gb=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],yb=me(hb,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),xb=w.forwardRef(function(t,n){var r;const o=Rg(),i=Rt({props:t,name:"MuiPopper"}),{anchorEl:l,component:a,components:s,componentsProps:u,container:c,disablePortal:f,keepMounted:d,modifiers:y,open:g,placement:h,popperOptions:S,popperRef:m,transition:p,slots:v,slotProps:x}=i,C=ie(i,gb),b=(r=v==null?void 0:v.root)!=null?r:s==null?void 0:s.Root,E=O({anchorEl:l,container:c,disablePortal:f,keepMounted:d,modifiers:y,open:g,placement:h,popperOptions:S,popperRef:m,transition:p},C);return k.jsx(yb,O({as:a,direction:o==null?void 0:o.direction,slots:{root:b},slotProps:x??u},E,{ref:n}))}),Qg=xb;function wb(e){return Ut("MuiButton",e)}const Sb=Wt("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),ml=Sb,kb=w.createContext({}),Eb=kb,Cb=w.createContext(void 0),bb=Cb,Pb=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Ob=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:l}=e,a={root:["root",i,`${i}${V(t)}`,`size${V(o)}`,`${i}Size${V(o)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${V(o)}`],endIcon:["endIcon",`iconSize${V(o)}`]},s=Ft(a,wb,l);return O({},l,s)},qg=e=>O({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Rb=me(Af,{shouldForwardProp:e=>Lf(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${V(n.color)}`],t[`size${V(n.size)}`],t[`${n.variant}Size${V(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return O({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":O({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:qt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:qt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:qt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":O({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ml.focusVisible}`]:O({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ml.disabled}`]:O({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${qt(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ml.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ml.disabled}`]:{boxShadow:"none"}}),Tb=me("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${V(n.size)}`]]}})(({ownerState:e})=>O({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},qg(e))),_b=me("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${V(n.size)}`]]}})(({ownerState:e})=>O({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},qg(e))),$b=w.forwardRef(function(t,n){const r=w.useContext(Eb),o=w.useContext(bb),i=Ef(r,t),l=Rt({props:i,name:"MuiButton"}),{children:a,color:s="primary",component:u="button",className:c,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:y=!1,endIcon:g,focusVisibleClassName:h,fullWidth:S=!1,size:m="medium",startIcon:p,type:v,variant:x="text"}=l,C=ie(l,Pb),b=O({},l,{color:s,component:u,disabled:f,disableElevation:d,disableFocusRipple:y,fullWidth:S,size:m,type:v,variant:x}),E=Ob(b),R=p&&k.jsx(Tb,{className:E.startIcon,ownerState:b,children:p}),$=g&&k.jsx(_b,{className:E.endIcon,ownerState:b,children:g}),P=o||"";return k.jsxs(Rb,O({ownerState:b,className:re(r.className,E.root,c,P),component:u,disabled:f,focusRipple:!y,focusVisibleClassName:re(E.focusVisible,h),ref:n,type:v},C,{classes:E,children:[R,a,$]}))}),Nb=$b;function Lb(e){return Ut("MuiFab",e)}const jb=Wt("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),ym=jb,Mb=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],Ab=e=>{const{color:t,variant:n,classes:r,size:o}=e,i={root:["root",n,`size${V(o)}`,t==="inherit"?"colorInherit":t]},l=Ft(i,Lb,r);return O({},r,l)},Ib=me(Af,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>Lf(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${V(n.size)}`],n.color==="inherit"&&t.colorInherit,t[V(n.size)],t[n.color]]}})(({theme:e,ownerState:t})=>{var n,r;return O({},e.typography.button,{minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${ym.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},t.size==="small"&&{width:40,height:40},t.size==="medium"&&{width:48,height:48},t.variant==="extended"&&{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},t.variant==="extended"&&t.size==="small"&&{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34},t.variant==="extended"&&t.size==="medium"&&{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40},t.color==="inherit"&&{color:"inherit"})},({theme:e,ownerState:t})=>O({},t.color!=="inherit"&&t.color!=="default"&&(e.vars||e).palette[t.color]!=null&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}}),({theme:e})=>({[`&.${ym.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})),zb=w.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiFab"}),{children:o,className:i,color:l="default",component:a="button",disabled:s=!1,disableFocusRipple:u=!1,focusVisibleClassName:c,size:f="large",variant:d="circular"}=r,y=ie(r,Mb),g=O({},r,{color:l,component:a,disabled:s,disableFocusRipple:u,size:f,variant:d}),h=Ab(g);return k.jsx(Ib,O({className:re(h.root,i),component:a,disabled:s,focusRipple:!u,focusVisibleClassName:re(h.focusVisible,c),ownerState:g,ref:n},y,{classes:h,children:o}))}),Db=zb,Bb=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ic(e){return`scale(${e}, ${e**2})`}const Fb={entering:{opacity:1,transform:ic(1)},entered:{opacity:1,transform:"none"}},Hs=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Jg=w.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:l,in:a,onEnter:s,onEntered:u,onEntering:c,onExit:f,onExited:d,onExiting:y,style:g,timeout:h="auto",TransitionComponent:S=jg}=t,m=ie(t,Bb),p=sr(),v=w.useRef(),x=Nf(),C=w.useRef(null),b=gn(C,i.ref,n),E=A=>I=>{if(A){const F=C.current;I===void 0?A(F):A(F,I)}},R=E(c),$=E((A,I)=>{Zk(A);const{duration:F,delay:_,easing:j}=Zp({style:g,timeout:h,easing:l},{mode:"enter"});let M;h==="auto"?(M=x.transitions.getAutoHeightDuration(A.clientHeight),v.current=M):M=F,A.style.transition=[x.transitions.create("opacity",{duration:M,delay:_}),x.transitions.create("transform",{duration:Hs?M:M*.666,delay:_,easing:j})].join(","),s&&s(A,I)}),P=E(u),N=E(y),z=E(A=>{const{duration:I,delay:F,easing:_}=Zp({style:g,timeout:h,easing:l},{mode:"exit"});let j;h==="auto"?(j=x.transitions.getAutoHeightDuration(A.clientHeight),v.current=j):j=I,A.style.transition=[x.transitions.create("opacity",{duration:j,delay:F}),x.transitions.create("transform",{duration:Hs?j:j*.666,delay:Hs?F:F||j*.333,easing:_})].join(","),A.style.opacity=0,A.style.transform=ic(.75),f&&f(A)}),D=E(d),U=A=>{h==="auto"&&p.start(v.current||0,A),r&&r(C.current,A)};return k.jsx(S,O({appear:o,in:a,nodeRef:C,onEnter:$,onEntered:P,onEntering:R,onExit:z,onExited:D,onExiting:N,addEndListener:U,timeout:h==="auto"?null:h},m,{children:(A,I)=>w.cloneElement(i,O({style:O({opacity:0,transform:ic(.75),visibility:A==="exited"&&!a?"hidden":void 0},Fb[A],g,i.props.style),ref:b},I))}))});Jg.muiSupportAuto=!0;const lc=Jg;function Ub(e){return Ut("MuiSnackbarContent",e)}Wt("MuiSnackbarContent",["root","message","action"]);const Wb=["action","className","message","role"],Vb=e=>{const{classes:t}=e;return Ft({root:["root"],action:["action"],message:["message"]},Ub,t)},Hb=me(Mg,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=pk(e.palette.background.default,t);return O({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),Kb=me("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Gb=me("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Yb=w.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiSnackbarContent"}),{action:o,className:i,message:l,role:a="alert"}=r,s=ie(r,Wb),u=r,c=Vb(u);return k.jsxs(Hb,O({role:a,square:!0,elevation:6,className:re(c.root,i),ownerState:u,ref:n},s,{children:[k.jsx(Kb,{className:c.message,ownerState:u,children:l}),o?k.jsx(Gb,{className:c.action,ownerState:u,children:o}):null]}))}),Xb=Yb;function Qb(e){return Ut("MuiSnackbar",e)}Wt("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const qb=["onEnter","onExited"],Jb=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],Zb=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${V(n.vertical)}${V(n.horizontal)}`]};return Ft(r,Qb,t)},xm=me("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${V(n.anchorOrigin.vertical)}${V(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return O({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:O({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),eP=w.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiSnackbar"}),o=Nf(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:a,horizontal:s}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:c,className:f,ClickAwayListenerProps:d,ContentProps:y,disableWindowBlurListener:g=!1,message:h,open:S,TransitionComponent:m=lc,transitionDuration:p=i,TransitionProps:{onEnter:v,onExited:x}={}}=r,C=ie(r.TransitionProps,qb),b=ie(r,Jb),E=O({},r,{anchorOrigin:{vertical:a,horizontal:s},autoHideDuration:u,disableWindowBlurListener:g,TransitionComponent:m,transitionDuration:p}),R=Zb(E),{getRootProps:$,onClickAway:P}=vb(O({},E)),[N,z]=w.useState(!0),D=Ag({elementType:xm,getSlotProps:$,externalForwardedProps:b,ownerState:E,additionalProps:{ref:n},className:[R.root,f]}),U=I=>{z(!0),x&&x(I)},A=(I,F)=>{z(!1),v&&v(I,F)};return!S&&N?null:k.jsx(JE,O({onClickAway:P},d,{children:k.jsx(xm,O({},D,{children:k.jsx(m,O({appear:!0,in:S,timeout:p,direction:a==="top"?"down":"up",onEnter:A,onExited:U},C,{children:c||k.jsx(Xb,O({message:h,action:l},y))}))}))}))}),tP=eP;function nP(e){return Ut("MuiTooltip",e)}const rP=Wt("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),An=rP,oP=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function iP(e){return Math.round(e*1e5)/1e5}const lP=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${V(i.split("-")[0])}`],arrow:["arrow"]};return Ft(l,nP,t)},aP=me(Qg,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>O({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${An.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${An.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${An.arrow}`]:O({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${An.arrow}`]:O({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),sP=me("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${V(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>O({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:qt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${iP(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${An.popper}[data-popper-placement*="left"] &`]:O({transformOrigin:"right center"},t.isRtl?O({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):O({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${An.popper}[data-popper-placement*="right"] &`]:O({transformOrigin:"left center"},t.isRtl?O({marginRight:"14px"},t.touch&&{marginRight:"24px"}):O({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${An.popper}[data-popper-placement*="top"] &`]:O({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${An.popper}[data-popper-placement*="bottom"] &`]:O({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),uP=me("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:qt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let hl=!1;const wm=new Bi;let Bo={x:0,y:0};function vl(e,t){return n=>{t&&t(n),e(n)}}const cP=w.forwardRef(function(t,n){var r,o,i,l,a,s,u,c,f,d,y,g,h,S,m,p,v,x,C;const b=Rt({props:t,name:"MuiTooltip"}),{arrow:E=!1,children:R,components:$={},componentsProps:P={},describeChild:N=!1,disableFocusListener:z=!1,disableHoverListener:D=!1,disableInteractive:U=!1,disableTouchListener:A=!1,enterDelay:I=100,enterNextDelay:F=0,enterTouchDelay:_=700,followCursor:j=!1,id:M,leaveDelay:X=0,leaveTouchDelay:J=1500,onClose:Ke,onOpen:te,open:Se,placement:ye="bottom",PopperComponent:Be,PopperProps:Te={},slotProps:he={},slots:kn={},title:dt,TransitionComponent:Eo=lc,TransitionProps:Cr}=b,br=ie(b,oP),pt=w.isValidElement(R)?R:k.jsx("span",{children:R}),En=Nf(),Pr=En.direction==="rtl",[rn,Or]=w.useState(),[Fe,Vt]=w.useState(null),on=w.useRef(!1),Cn=U||j,Tt=sr(),mt=sr(),ln=sr(),bn=sr(),[Rr,B]=DS({controlled:Se,default:!1,name:"Tooltip",state:"open"});let ht=Rr;const Co=zS(M),Pn=w.useRef(),bo=fn(()=>{Pn.current!==void 0&&(document.body.style.WebkitUserSelect=Pn.current,Pn.current=void 0),bn.clear()});w.useEffect(()=>bo,[bo]);const Qf=W=>{wm.clear(),hl=!0,B(!0),te&&!ht&&te(W)},Ki=fn(W=>{wm.start(800+X,()=>{hl=!1}),B(!1),Ke&&ht&&Ke(W),Tt.start(En.transitions.duration.shortest,()=>{on.current=!1})}),fs=W=>{on.current&&W.type!=="touchstart"||(rn&&rn.removeAttribute("title"),mt.clear(),ln.clear(),I||hl&&F?mt.start(hl?F:I,()=>{Qf(W)}):Qf(W))},qf=W=>{mt.clear(),ln.start(X,()=>{Ki(W)})},{isFocusVisibleRef:Jf,onBlur:k0,onFocus:E0,ref:C0}=Cg(),[,Zf]=w.useState(!1),ed=W=>{k0(W),Jf.current===!1&&(Zf(!1),qf(W))},td=W=>{rn||Or(W.currentTarget),E0(W),Jf.current===!0&&(Zf(!0),fs(W))},nd=W=>{on.current=!0;const tt=pt.props;tt.onTouchStart&&tt.onTouchStart(W)},rd=fs,od=qf,b0=W=>{nd(W),ln.clear(),Tt.clear(),bo(),Pn.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",bn.start(_,()=>{document.body.style.WebkitUserSelect=Pn.current,fs(W)})},P0=W=>{pt.props.onTouchEnd&&pt.props.onTouchEnd(W),bo(),ln.start(J,()=>{Ki(W)})};w.useEffect(()=>{if(!ht)return;function W(tt){(tt.key==="Escape"||tt.key==="Esc")&&Ki(tt)}return document.addEventListener("keydown",W),()=>{document.removeEventListener("keydown",W)}},[Ki,ht]);const O0=gn(pt.ref,C0,Or,n);!dt&&dt!==0&&(ht=!1);const ds=w.useRef(),R0=W=>{const tt=pt.props;tt.onMouseMove&&tt.onMouseMove(W),Bo={x:W.clientX,y:W.clientY},ds.current&&ds.current.update()},Po={},ps=typeof dt=="string";N?(Po.title=!ht&&ps&&!D?dt:null,Po["aria-describedby"]=ht?Co:null):(Po["aria-label"]=ps?dt:null,Po["aria-labelledby"]=ht&&!ps?Co:null);const _t=O({},Po,br,pt.props,{className:re(br.className,pt.props.className),onTouchStart:nd,ref:O0},j?{onMouseMove:R0}:{}),Oo={};A||(_t.onTouchStart=b0,_t.onTouchEnd=P0),D||(_t.onMouseOver=vl(rd,_t.onMouseOver),_t.onMouseLeave=vl(od,_t.onMouseLeave),Cn||(Oo.onMouseOver=rd,Oo.onMouseLeave=od)),z||(_t.onFocus=vl(td,_t.onFocus),_t.onBlur=vl(ed,_t.onBlur),Cn||(Oo.onFocus=td,Oo.onBlur=ed));const T0=w.useMemo(()=>{var W;let tt=[{name:"arrow",enabled:!!Fe,options:{element:Fe,padding:4}}];return(W=Te.popperOptions)!=null&&W.modifiers&&(tt=tt.concat(Te.popperOptions.modifiers)),O({},Te.popperOptions,{modifiers:tt})},[Fe,Te]),Ro=O({},b,{isRtl:Pr,arrow:E,disableInteractive:Cn,placement:ye,PopperComponentProp:Be,touch:on.current}),ms=lP(Ro),id=(r=(o=kn.popper)!=null?o:$.Popper)!=null?r:aP,ld=(i=(l=(a=kn.transition)!=null?a:$.Transition)!=null?l:Eo)!=null?i:lc,ad=(s=(u=kn.tooltip)!=null?u:$.Tooltip)!=null?s:sP,sd=(c=(f=kn.arrow)!=null?f:$.Arrow)!=null?c:uP,_0=Yo(id,O({},Te,(d=he.popper)!=null?d:P.popper,{className:re(ms.popper,Te==null?void 0:Te.className,(y=(g=he.popper)!=null?g:P.popper)==null?void 0:y.className)}),Ro),$0=Yo(ld,O({},Cr,(h=he.transition)!=null?h:P.transition),Ro),N0=Yo(ad,O({},(S=he.tooltip)!=null?S:P.tooltip,{className:re(ms.tooltip,(m=(p=he.tooltip)!=null?p:P.tooltip)==null?void 0:m.className)}),Ro),L0=Yo(sd,O({},(v=he.arrow)!=null?v:P.arrow,{className:re(ms.arrow,(x=(C=he.arrow)!=null?C:P.arrow)==null?void 0:x.className)}),Ro);return k.jsxs(w.Fragment,{children:[w.cloneElement(pt,_t),k.jsx(id,O({as:Be??Qg,placement:ye,anchorEl:j?{getBoundingClientRect:()=>({top:Bo.y,left:Bo.x,right:Bo.x,bottom:Bo.y,width:0,height:0})}:rn,popperRef:ds,open:rn?ht:!1,id:Co,transition:!0},Oo,_0,{popperOptions:T0,children:({TransitionProps:W})=>k.jsx(ld,O({timeout:En.transitions.duration.shorter},W,$0,{children:k.jsxs(ad,O({},N0,{children:[dt,E?k.jsx(sd,O({},L0,{ref:Vt})):null]}))}))}))]})}),fP=cP,dP=[{type:"github",color:"inherit",icon:"i-mdi-github",label:"GitHub: YunYouJun",href:"https://github.com/YunYouJun"},{type:"telegram",color:"#1da1f2",icon:"i-mdi-telegram",label:"Telegram Channel",href:"https://t.me/elpsycn"},{type:"weibo",color:"#DB2828",icon:"i-mdi-sina-weibo",label:"微博:机智的云游君",href:"http://weibo.com/jizhideyunyoujun"},{type:"twitter",color:"#1da1f2",icon:"i-mdi-twitter",label:"Twitter: YunYouJun",href:"https://twitter.com/YunYouJun"},{type:"wechat",color:"#1AAD19",icon:"i-mdi-wechat",label:"微信公众号:云游君",href:"https://cdn.yunyoujun.cn/img/about/white-qrcode-and-search.jpg"},{type:"blog",color:"#6435C9",icon:"i-mdi-earth",label:"博客:yunyoujun.cn",href:"http://www.yunyoujun.cn"}],pP=()=>k.jsxs("div",{className:"opacity-80 text-xs text-center mt-8",children:[k.jsxs("div",{className:"ac-text flex justify-center items-center m-2",children:["© ",k.jsx("a",{href:pf.url,target:"_blank",rel:"noreferrer",children:"Yun Air Conditioner"}),k.jsx("a",{className:"inline-flex",href:"https://sponsors.yunyoujun.cn",target:"_blank",rel:"noreferrer",style:{color:"#0078e7"},children:k.jsx("div",{className:"i-mdi-cloud text-sm mx-1"})}),k.jsxs("a",{href:Vu.url,target:"_blank",rel:"noreferrer",children:["云游君 @",Vu.name]})]}),k.jsx("p",{children:`2019 - ${new Date().getFullYear()}`}),k.jsx("div",{className:"text-center",children:dP.map(e=>k.jsx(fP,{title:e.label,arrow:!0,children:k.jsx(Ig,{sx:{color:e.color},href:e.href,target:"_blank",children:k.jsx("div",{className:`${e.icon} text-lg`})})},e.type))})]}),mP="modulepreload",hP=function(e){return"/"+e},Sm={},Zg=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");o=Promise.all(n.map(l=>{if(l=hP(l),l in Sm)return;Sm[l]=!0;const a=l.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!r)for(let f=i.length-1;f>=0;f--){const d=i[f];if(d.href===l&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":mP,a||(c.as="script",c.crossOrigin=""),c.href=l,document.head.appendChild(c),a)return new Promise((f,d)=>{c.addEventListener("load",f),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(i=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i})};function Z(e){console.warn("[react-ga]",e)}function ac(e){"@babel/helpers - typeof";return ac=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ac(e)}var vP=["to","target"];function km(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Em(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yP(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function xP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(e)}function Vf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bm="_blank",bP=1,Sr=function(e){SP(n,e);var t=kP(n);function n(){var r;xP(this,n);for(var o=arguments.length,i=new Array(o),l=0;l0&&n+t.length!==r.length&&t.search(TP)>-1&&r.charAt(n-2)!==":"&&(r.charAt(n+t.length)!=="-"||r.charAt(n-1)==="-")&&r.charAt(n-1).search(/[^\s-]/)<0?t.toLowerCase():t.substr(1).search(/[A-Z]|\../)>-1?t:t.charAt(0).toUpperCase()+t.substr(1)})}function $P(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,r=e||"";return t&&(r=_P(e)),n&&(r=RP(r)),r}function NP(e){return e.substring(0,1)==="/"?e.substring(1):e}var Pm=!1;function LP(e){if(!Pm){Pm=!0;var t="https://www.google-analytics.com/analytics.js";e&&e.gaAddress?t=e.gaAddress:e&&e.debug&&(t="https://www.google-analytics.com/analytics_debug.js");var n=e&&e.onerror;(function(r,o,i,l,a,s,u){r.GoogleAnalyticsObject=a,r[a]=r[a]||function(){(r[a].q=r[a].q||[]).push(arguments)},r[a].l=1*new Date,s=o.createElement(i),u=o.getElementsByTagName(i)[0],s.async=1,s.src=l,s.onerror=n,u.parentNode.insertBefore(s,u)})(window,document,"script",t,"ga")}}function be(e){console.info("[react-ga]",e)}var Ks=[];const ya={calls:Ks,ga:function(){for(var t=arguments.length,n=new Array(t),r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function AP(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function Om(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function IP(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||typeof document>"u",Mt=!1,n0=!0,r0=!1,o0=!0,i0=!0,no=function(){var t;return r0?ya.ga.apply(ya,arguments):t0?!1:window.ga?(t=window).ga.apply(t,arguments):Z("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually")};function Hn(e){return $P(e,n0,i0)}function cs(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&(no.apply(void 0,t),Mt&&(be("called ga('arguments');"),be("with arguments: ".concat(JSON.stringify(t))))),window.ga}function s0(e,t){if(!e){Z("`fieldsObject` is required in .set()");return}if(Li(e)!=="object"){Z("Expected `fieldsObject` arg to be an Object");return}Object.keys(e).length===0&&Z("empty `fieldsObject` given to .set()"),cs(t,"set",e),Mt&&(be("called ga('set', fieldsObject);"),be("with fieldsObject: ".concat(JSON.stringify(e))))}function So(e,t){cs(t,"send",e),Mt&&(be("called ga('send', fieldObject);"),be("with fieldObject: ".concat(JSON.stringify(e))),be("with trackers: ".concat(JSON.stringify(t))))}function u0(e,t,n){if(!e){Z("path is required in .pageview()");return}var r=us(e);if(r===""){Z("path cannot be an empty string in .pageview()");return}var o={};if(n&&(o.title=n),typeof Ie=="function"&&(cs(t,"send",IP({hitType:"pageview",page:r},o)),Mt)){be("called ga('send', 'pageview', path);");var i="";n&&(i=" and title: ".concat(n)),be("with path: ".concat(r).concat(i))}}function c0(e,t){if(!e){Z("modalName is required in .modalview(modalName)");return}var n=NP(us(e));if(n===""){Z("modalName cannot be an empty string or a single / in .modalview()");return}if(typeof Ie=="function"){var r="/modal/".concat(n);cs(t,"send","pageview",r),Mt&&(be("called ga('send', 'pageview', path);"),be("with path: ".concat(r)))}}function f0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.category,n=e.variable,r=e.value,o=e.label,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(typeof Ie=="function"){if(!t||!n||typeof r!="number"){Z("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number");return}var l={hitType:"timing",timingCategory:Hn(t),timingVar:Hn(n),timingValue:r};o&&(l.timingLabel=Hn(o)),So(l,i)}}function d0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.category,n=e.action,r=e.label,o=e.value,i=e.nonInteraction,l=e.transport,a=MP(e,jP),s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;if(typeof Ie=="function"){if(!t||!n){Z("args.category AND args.action are required in event()");return}var u={hitType:"event",eventCategory:Hn(t),eventAction:Hn(n)};r&&(u.eventLabel=Hn(r)),typeof o<"u"&&(typeof o!="number"?Z("Expected `args.value` arg to be a Number."):u.eventValue=o),typeof i<"u"&&(typeof i!="boolean"?Z("`args.nonInteraction` must be a boolean."):u.nonInteraction=i),typeof l<"u"&&(typeof l!="string"?Z("`args.transport` must be a string."):(["beacon","xhr","image"].indexOf(l)===-1&&Z("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),u.transport=l)),Object.keys(a).filter(function(c){return c.substr(0,9)==="dimension"}).forEach(function(c){u[c]=a[c]}),Object.keys(a).filter(function(c){return c.substr(0,6)==="metric"}).forEach(function(c){u[c]=a[c]}),So(u,s)}}function p0(e,t){var n=e.description,r=e.fatal;if(typeof Ie=="function"){var o={hitType:"exception"};n&&(o.exDescription=Hn(n)),typeof r<"u"&&(typeof r!="boolean"?Z("`args.fatal` must be a boolean."):o.exFatal=r),So(o,t)}}var m0={require:function(t,n,r){if(typeof Ie=="function"){if(!t){Z("`name` is required in .require()");return}var o=us(t);if(o===""){Z("`name` cannot be an empty string in .require()");return}var i=r?"".concat(r,".require"):"require";if(n){if(Li(n)!=="object"){Z("Expected `options` arg to be an Object");return}Object.keys(n).length===0&&Z("Empty `options` given to .require()"),Ie(i,o,n),Mt&&be("called ga('require', '".concat(o,"', ").concat(JSON.stringify(n)))}else Ie(i,o),Mt&&be("called ga('require', '".concat(o,"');"))}},execute:function(t,n){for(var r,o,i=arguments.length,l=new Array(i>2?i-2:0),a=2;a{o.current=t},[t]),w.useEffect(()=>{var i;const l=(i=n==null?void 0:n.current)!==null&&i!==void 0?i:window;if(!(l&&l.addEventListener))return;const a=s=>{o.current(s)};return l.addEventListener(e,a,r),()=>{l.removeEventListener(e,a,r)}},[e,n,r])}function qP(e){const t=w.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return Kf(()=>{t.current=e},[e]),w.useCallback((...n)=>t.current(...n),[t])}const Gs=typeof window>"u";function v0(e,t,n={}){let{initializeWithValue:r=!0}=n;Gs&&(r=!1);const o=w.useCallback(f=>n.serializer?n.serializer(f):JSON.stringify(f),[n]),i=w.useCallback(f=>{if(n.deserializer)return n.deserializer(f);if(f==="undefined")return;const d=t instanceof Function?t():t;let y;try{y=JSON.parse(f)}catch(g){return console.error("Error parsing JSON:",g),d}return y},[n,t]),l=w.useCallback(()=>{const f=t instanceof Function?t():t;if(Gs)return f;try{const d=window.localStorage.getItem(e);return d?i(d):f}catch(d){return console.warn(`Error reading localStorage key “${e}”:`,d),f}},[t,e,i]),[a,s]=w.useState(()=>{if(r)return l()}),u=qP(f=>{Gs&&console.warn(`Tried setting localStorage key “${e}” even though environment is not a client`);try{const d=f instanceof Function?f(l()):f;window.localStorage.setItem(e,o(d)),s(d),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))}catch(d){console.warn(`Error setting localStorage key “${e}”:`,d)}});w.useEffect(()=>{s(l())},[e]);const c=w.useCallback(f=>{f!=null&&f.key&&f.key!==e||s(l())},[e,l]);return $m("storage",c),$m("local-storage",c),[a,u]}const JP=typeof window>"u";function ZP(e,t){var n,r;const o=typeof t=="boolean"?t:(n=t==null?void 0:t.defaultValue)!==null&&n!==void 0?n:!1;let i=typeof t=="boolean"?void 0:(r=t==null?void 0:t.initializeWithValue)!==null&&r!==void 0?r:void 0;JP&&(i=!1);const[l,a]=w.useState(()=>i?s(e):o),s=c=>typeof window<"u"?window.matchMedia(c).matches:o;function u(){a(s(e))}return Kf(()=>{const c=window.matchMedia(e);return u(),c.addListener?c.addListener(u):c.addEventListener("change",u),()=>{c.removeListener?c.removeListener(u):c.removeEventListener("change",u)}},[e]),l}function eO(){const e=w.useRef(!0);return e.current?(e.current=!1,!0):e.current}function tO(e,t){const n=eO();w.useEffect(()=>{if(!n)return e()},t)}const nO="(prefers-color-scheme: dark)",Ys="usehooks-ts-dark-mode";function rO(e,t=Ys){var n,r,o,i;const l=typeof e=="boolean"?e:(n=e==null?void 0:e.defaultValue)!==null&&n!==void 0?n:!1,a=typeof e=="boolean"?t??Ys:(r=e==null?void 0:e.localStorageKey)!==null&&r!==void 0?r:Ys,s=typeof e=="boolean"?void 0:(o=e==null?void 0:e.initializeWithValue)!==null&&o!==void 0?o:void 0,u=ZP(nO),[c,f]=v0(a,(i=l??u)!==null&&i!==void 0?i:!1,{initializeWithValue:s});return tO(()=>{f(u)},[u]),{isDarkMode:c,toggle:()=>{f(d=>!d)},enable:()=>{f(!0)},disable:()=>{f(!1)},set:d=>{f(d)}}}function oO(){const{isDarkMode:e,toggle:t}=rO();return w.useEffect(()=>{e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[e]),{isDark:e,toggleDark:t}}var iO={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const lO=e=>k.jsx("a",{className:"adsense-text-link",href:h0,target:"_blank",onClick:()=>{QP()},rel:"noreferrer",children:e.text||"喜马拉雅"}),aO=()=>{const{toggleDark:e}=oO();return k.jsxs("div",{className:"m-6 text-center flex justify-center items-center",children:[k.jsx("div",{className:"i-ic:outline-emoji-objects text-xl cursor-pointer",style:{color:"#f3a83b"},onClick:e}),"Tip: 为你的夏日带去",iO.VITE_DISABLE_ADSENSE?"清凉":k.jsx(lO,{text:"清凉"}),"!"]})};function sO(){const e=document.getElementById("di");e&&e.play()}const Fo=e=>k.jsx(Db,{className:`rc-button ${e.className}`,...e,onClick:()=>{sO(),e.onClick&&e.onClick()}}),Gf=w.createContext(void 0);Gf.displayName="toast";const uO={open:!1,message:"",severity:"error"};function cO(e,t){switch(t.type){case"message":return{...e,message:t.message};case"open":return{...e,open:t.open};case"severity":return{...e,severity:t.severity};case"update":return{...e,...t.payload};default:throw new Error("Unexpected Toast Action")}}const fO=({children:e})=>{const[t,n]=w.useReducer(cO,uO);return k.jsx(Gf.Provider,{value:{state:t,dispatch:n},children:e})};function Yf(){const e=w.useContext(Gf);if(e===void 0)throw new Error("useToast must be used within a ToastProvider");return e}const g0="ac:state",y0={mode:"cold",status:!1,temperature:26},x0=w.createContext(void 0),dO=e=>{const[t,n]=v0(g0,y0);function r(l,a){let s={...l};switch(a.type){case"increment":s.temperature+=1;break;case"decrement":s.temperature-=1;break;case"toggleStatus":s.status=!s.status;break;case"status":s.status=a.status;break;case"mode":s.mode=a.mode;break;case"update":s={...l,...a.payload};break;default:throw new Error("Unexpected Ac Action")}return n(s),s}const[o,i]=w.useReducer(r,t);return k.jsx(x0.Provider,{value:{state:o,dispatch:i},children:e.children})};function ko(){const e=w.useContext(x0);if(e===void 0)throw new Error("useAcCtx must be used within a AcProvider");return e}function pO(){const{state:e,dispatch:t}=ko(),{dispatch:n}=Yf();return{toggleStatus(){t({type:"toggleStatus"})},toggleMode(r){t({type:"mode",mode:r});const o=e.temperature,i=26,l=20,a=(s,u)=>`建议将空调的制${s==="cold"?"冷":"热"}温度调至 ${u} 度以${s==="cold"?"上":"下"},为节能减排贡献一份力量!`;r==="cold"&&ol&&n({type:"update",payload:{message:a("hot",l),open:!0,severity:"success"}})}}}const mO=e=>{const{items:t,children:n}=e;return k.jsx(k.Fragment,{children:t.reduceRight((r,o)=>k.jsx(o,{children:r}),n)})},hO=31,vO=16;function gO(){const{state:e,dispatch:t}=ko(),{dispatch:n}=Yf();return{increase:()=>{e.temperature{e.temperature>vO?t({type:"decrement"}):n({type:"update",payload:{message:"已经是最小温度啦!",open:!0,severity:"error"}})}}}function Xf(e){return"https://fastly.jsdelivr.net/gh/YunYouJun/air-conditioner/public"+e.startsWith("/")?e.slice(1):e}let cc,fc,dc;function yO(){const e=document.getElementById("ac-work");e.load(),e.play(),cc=setTimeout(()=>{xO()},8e3)}const pc=2,w0=56;function xO(){const e=document.getElementById("air-extractor-fan");e.load(),e.play(),fc=setTimeout(()=>{dc=setInterval(()=>{e.currentTime=pc},w0*1e3)},pc*1e3)}function wO(e){if(e){document.getElementById("ac-work").load();const t=document.getElementById("air-extractor-fan");cc&&clearTimeout(cc),fc&&clearTimeout(fc),dc&&clearInterval(dc),t.currentTime=pc+w0}else yO()}const SO=Xf("/assets/audio/di.m4a"),kO=Xf("/assets/audio/ac-work.m4a"),EO=Xf("/assets/audio/air-extractor-fan.m4a"),CO=()=>{const{toggleStatus:e,toggleMode:t}=pO(),{state:n}=ko(),{increase:r,decrease:o}=gO();return k.jsxs("div",{className:"flex my-6 flex-col items-center",children:[k.jsx("audio",{id:"di",src:SO,preload:"auto"}),k.jsx("audio",{id:"ac-work",src:kO,preload:"auto"}),k.jsx("audio",{id:"air-extractor-fan",src:EO,preload:"auto"}),k.jsxs("div",{children:[" ",k.jsx(Fo,{"aria-label":"cold",style:{color:"white",backgroundColor:tr[700]},onClick:()=>{t("cold")},children:k.jsx("div",{className:"i-ic-round-ac-unit text-2xl"})}),k.jsx(Fo,{"aria-label":"add",onClick:()=>{wO(n.status),e()},style:{backgroundColor:n.status?er[600]:nr[600],color:"white"},children:k.jsx("div",{className:"i-ic:round-power-settings-new text-2xl"})}),k.jsx(Fo,{"aria-label":"hot",style:{backgroundColor:"orange",color:"white"},onClick:()=>{t("hot")},children:k.jsx("div",{className:"i-ic-round-wb-sunny text-2xl"})})]}),k.jsx(Fo,{"aria-label":"add",onClick:r,children:k.jsx("div",{className:"i-mdi-triangle-small-up text-4xl"})}),k.jsx(Fo,{"aria-label":"reduce",onClick:o,children:k.jsx("div",{className:"i-mdi-triangle-small-down text-4xl"})})]})},S0=300,bO={transition:`opacity ${S0}ms ease-in-out`,opacity:0},PO={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0},unmounted:{opacity:0}},Nm=e=>{const t=w.useRef(null);return k.jsx(jg,{nodeRef:t,in:e.in,timeout:S0,children:n=>k.jsx("div",{ref:t,style:{...bO,...PO[n]},children:e.children})})},OO=()=>{const{state:e}=ko();return k.jsxs("h4",{className:"text-4xl text-center",children:[k.jsx("span",{className:"font-digit ac-temperature",children:e.temperature}),k.jsx("small",{className:"font-digit",children:"°C"})]})},RO=Pe.forwardRef((e,t)=>k.jsxs("div",{ref:t,className:"absolute top-6 right-8",style:{color:pr.display},children:[k.jsxs("h6",{className:"text-left text-sm",children:[k.jsx("span",{children:e.mode==="cold"?"❄":"☀️"}),"️️"]}),k.jsx(OO,{})]})),Uo=e=>{const{color:t,size:n,mx:r,my:o,num:i}=e,a=[...Array.from({length:i}).keys()].map(s=>k.jsx("span",{className:"text-dot rounded-full",style:{width:n,height:n,margin:`${o||0}px ${r}px`}},s));return k.jsx("div",{className:"flex justify-center",style:{"--ac-c-text-dot":t},children:a})},TO=()=>k.jsxs("div",{className:"absolute p-1",style:{backgroundColor:"#4ea5f5",borderRadius:2,top:10,left:10,height:70,width:50},children:[k.jsx(Uo,{num:6,size:4,mx:2,my:0,color:"white"}),k.jsxs("div",{className:"my-1 h-7 w-full bg-white",style:{padding:"2px 8px"},children:[k.jsxs("div",{className:"flex",children:[k.jsx("div",{style:{backgroundColor:"green",width:"40%"}}),k.jsx("div",{style:{marginLeft:"40%",height:3,borderTop:1.5,borderRight:2,borderBottom:1.5,borderLeft:0,borderTopColor:"transparent",borderRightColor:"green",borderBottomColor:"transparent",borderLeftColor:"transparent",borderStyle:"solid"}}),k.jsx("div",{style:{backgroundColor:"green",width:"10%"}})]}),k.jsx("div",{className:"energy-label-level",style:{backgroundColor:"lightgreen",width:"50%"}}),k.jsx("div",{className:"energy-label-level",style:{backgroundColor:"#ffc107",width:"60%"}}),k.jsx("div",{className:"energy-label-level",style:{backgroundColor:"orange",width:"70%"}}),k.jsx("div",{className:"energy-label-level",style:{backgroundColor:"red",width:"80%"}})]}),k.jsxs("div",{className:"w-full h-5 bg-white",style:{marginBottom:2,paddingTop:.8},children:[k.jsx(Uo,{num:11,size:2,mx:.8,my:2,color:"black"}),k.jsx("div",{className:"w-full h-0",style:{borderTop:"1px solid",margin:"0.8px 0"}}),k.jsx(Uo,{num:9,size:1.5,mx:.8,my:2,color:"black"}),k.jsx(Uo,{num:10,size:1.2,mx:.8,my:0,color:"black"})]}),k.jsx(Uo,{num:8,size:2,mx:.8,my:0,color:"white"})]}),Lm={link:"https://home.yunle.fun",icon:"i-mdi:home-lightbulb-outline"};function _O(){return k.jsx("a",{className:"adsense-link",href:Lm.link,target:"_blank",rel:"noreferrer",children:k.jsx("div",{className:"energy-saving-label",children:k.jsxs("div",{className:"energy-saving-label_bg",children:[k.jsx("span",{className:"energy-saving-label_title",children:"节能产品  惠民工程"}),k.jsx("div",{className:`${Lm.icon} adsense-logo flex rounded-lg w-16 my-4 op-80`}),k.jsx("span",{className:"energy-saving-label_description",children:"推广上限价格:XXXX 元"}),k.jsx("span",{className:"energy-saving-label_description",children:"政府补助金额:XXXX 元"}),k.jsx("span",{className:"energy-saving-label_description",children:"补助上限价格:XXXX 元"})]})})})}var $O={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const pr={border:"#e0e0e0",display:"#cccccc",wind:"#bbbbbb"},NO=e=>k.jsx("div",{className:"bg-white h-38 shadow relative",style:{border:`1px solid ${pr.border}`,borderRadius:10,borderBottomLeftRadius:20,borderBottomRightRadius:20},...e}),LO=()=>k.jsx("div",{className:"text-center mt-28",children:k.jsx("a",{className:"block",href:pf.url,title:tg,target:"_blank",rel:"noreferrer noopener",children:k.jsx("img",{className:"m-auto",style:{width:12},src:"/yun-logo.svg",alt:"logo"})})}),jO=()=>k.jsx("div",{className:"mt-1",style:{border:`1px solid ${pr.border}`}}),MO=e=>{const t={backgroundColor:e.status?"#38F709":pr.border};return k.jsx("div",{className:"absolute h-1 w-1 rounded-full top-32 right-2",style:{backgroundColor:t.backgroundColor||"transparent"}})},AO=Pe.forwardRef((e,t)=>k.jsxs("div",{ref:t,className:"wind-effect flex justify-center my-5",children:[k.jsx("div",{className:"wind-line h-10 w-1",style:{backgroundColor:pr.wind,transform:"rotate(10deg)"}}),k.jsx("div",{className:"wind-line h-10 w-1 mx-20",style:{backgroundColor:pr.wind}}),k.jsx("div",{className:"wind-line h-10 w-1",style:{backgroundColor:pr.wind,transform:"rotate(-10deg)"}})]})),IO=e=>k.jsxs("div",{children:[k.jsxs(NO,{children:[k.jsx(Nm,{in:e.status,children:k.jsx(RO,{mode:e.mode})}),k.jsx(LO,{}),k.jsx(jO,{}),k.jsx(MO,{status:e.status}),k.jsx(TO,{titleLength:6}),$O.VITE_DISABLE_ADSENSE?null:k.jsx(_O,{})]}),k.jsx(Nm,{in:e.status,children:k.jsx(AO,{})})]}),zO=Pe.forwardRef((e,t)=>k.jsx(GE,{elevation:6,ref:t,variant:"filled",...e})),DO=e=>{const{state:t,dispatch:n}=Yf();return k.jsx(tP,{anchorOrigin:{vertical:"bottom",horizontal:"center"},open:t.open,autoHideDuration:6e3,onClose:()=>{n({type:"open",open:!1})},children:k.jsx(zO,{onClose:()=>{n({type:"open",open:!1})},severity:e.severity||t.severity||"error",style:{width:"100%",minWidth:318},children:t.message})})};function BO(){const{dispatch:e}=ko();w.useEffect(()=>{function t(n){n.key===g0&&e({type:"update",payload:n.newValue?JSON.parse(n.newValue):y0})}return window.addEventListener("storage",t),()=>{window.removeEventListener("storage",t)}},[e])}const FO=()=>{const{state:e}=ko();BO();function t(){return e.status?e.mode==="hot"?"hot-color":"cold-color":""}return k.jsxs("div",{className:`max-w-600px m-auto ${t()}`,children:[k.jsxs("div",{className:"pt-6",children:[k.jsx("h1",{className:"text-center text-3xl",children:"便携小空调"}),k.jsx(aO,{}),k.jsx(IO,{status:e.status,temperature:e.temperature,mode:e.mode}),k.jsx("div",{className:"text-center",children:k.jsx("div",{className:"mt-2",children:k.jsx(Nb,{variant:"outlined",onClick:()=>{window.open("/rc","_blank","width=300, height=400")},children:"独立遥控器"})})}),k.jsx(CO,{})]}),k.jsx(DO,{})]})},UO=Pe.lazy(()=>Zg(()=>import("./Rc-m7NUryRJ.js"),__vite__mapDeps([]))),WO=[{caseSensitive:!1,path:"Rc",element:Pe.createElement(UO)},{caseSensitive:!1,path:"/",element:Pe.createElement(FO)}];function jm(e,t,n="#0078E7",r="☁️"){console.log(`%c ${r} ${e} %c ${t}`,`color: white; background: ${n}; padding:5px 0;`,`padding:4px;border:1px solid ${n};`)}function VO(){return k.jsx("p",{className:"text-center",children:k.jsx("div",{className:"i-mdi-loading animate-spin m-auto text-8xl mt-20"})})}function HO(){return k.jsx(w.Suspense,{fallback:k.jsx(VO,{}),children:Vx(WO)})}const KO=()=>(w.useEffect(()=>{jm(fl.name,fl.repository.url),jm(`@${fl.author.name}`,fl.author.url)},[]),k.jsx("main",{className:"p-2",children:k.jsxs("div",{className:"max-w-600px m-auto",children:[k.jsx(iw,{children:k.jsx(HO,{})}),k.jsx(pP,{})]})}));function GO(e){e&&e instanceof Function&&Zg(()=>import("./web-vitals-BptxjviT.js"),__vite__mapDeps([])).then(({getCLS:t,getFID:n,getFCP:r,getLCP:o,getTTFB:i})=>{t(e),n(e),r(e),o(e),i(e)})}const YO={gtmId:"GTM-NFMC9GL"};xx.initialize(YO);Xs.createRoot(document.getElementById("root")).render(k.jsx(Pe.StrictMode,{children:k.jsx(mO,{items:[dO,fO],children:k.jsx(KO,{})})}));GO();export{CO as R,k as j,BO as u}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/web-vitals-BptxjviT.js b/assets/web-vitals-BptxjviT.js new file mode 100644 index 0000000..ec1bd78 --- /dev/null +++ b/assets/web-vitals-BptxjviT.js @@ -0,0 +1 @@ +var v,y,U,L,D,V=-1,m=function(t){addEventListener("pageshow",function(n){n.persisted&&(V=n.timeStamp,t(n))},!0)},M=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},S=function(){var t=M();return t&&t.activationStart||0},f=function(t,n){var r=M(),i="navigate";return V>=0?i="back-forward-cache":r&&(document.prerendering||S()>0?i="prerender":document.wasDiscarded?i="restore":r.type&&(i=r.type.replace(/_/g,"-"))),{name:t,value:n===void 0?-1:n,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:i}},g=function(t,n,r){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var i=new PerformanceObserver(function(e){Promise.resolve().then(function(){n(e.getEntries())})});return i.observe(Object.assign({type:t,buffered:!0},r||{})),i}}catch{}},d=function(t,n,r,i){var e,a;return function(c){n.value>=0&&(c||i)&&((a=n.value-(e||0))||e===void 0)&&(e=n.value,n.delta=a,n.rating=function(u,o){return u>o[1]?"poor":u>o[0]?"needs-improvement":"good"}(n.value,r),t(n))}},k=function(t){requestAnimationFrame(function(){return requestAnimationFrame(function(){return t()})})},P=function(t){var n=function(r){r.type!=="pagehide"&&document.visibilityState!=="hidden"||t(r)};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},B=function(t){var n=!1;return function(r){n||(t(r),n=!0)}},h=-1,R=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},w=function(t){document.visibilityState==="hidden"&&h>-1&&(h=t.type==="visibilitychange"?t.timeStamp:0,nn())},H=function(){addEventListener("visibilitychange",w,!0),addEventListener("prerenderingchange",w,!0)},nn=function(){removeEventListener("visibilitychange",w,!0),removeEventListener("prerenderingchange",w,!0)},x=function(){return h<0&&(h=R(),H(),m(function(){setTimeout(function(){h=R(),H()},0)})),{get firstHiddenTime(){return h}}},E=function(t){document.prerendering?addEventListener("prerenderingchange",function(){return t()},!0):t()},O=[1800,3e3],tn=function(t,n){n=n||{},E(function(){var r,i=x(),e=f("FCP"),a=g("paint",function(c){c.forEach(function(u){u.name==="first-contentful-paint"&&(a.disconnect(),u.startTimei.value&&(i.value=e,i.entries=a,r())},u=g("layout-shift",c);u&&(r=d(t,i,q,n.reportAllChanges),P(function(){c(u.takeRecords()),r(!0)}),m(function(){e=0,i=f("CLS",0),r=d(t,i,q,n.reportAllChanges),k(function(){return r()})}),setTimeout(r,0))}))},T={passive:!0,capture:!0},en=new Date,j=function(t,n){v||(v=n,y=t,U=new Date,X(removeEventListener),W())},W=function(){if(y>=0&&y1e12?new Date:performance.now())-t.timeStamp;t.type=="pointerdown"?function(r,i){var e=function(){j(r,i),c()},a=function(){c()},c=function(){removeEventListener("pointerup",e,T),removeEventListener("pointercancel",a,T)};addEventListener("pointerup",e,T),addEventListener("pointercancel",a,T)}(n,t):j(n,t)}},X=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach(function(n){return t(n,rn,T)})},_=[100,300],sn=function(t,n){n=n||{},E(function(){var r,i=x(),e=f("FID"),a=function(o){o.startTimen.latency){if(r)r.entries.push(t),r.latency=Math.max(r.latency,t.duration);else{var i={id:t.interactionId,latency:t.duration,entries:[t]};F[i.id]=i,l.push(i)}l.sort(function(e,a){return a.latency-e.latency}),l.splice(10).forEach(function(e){delete F[e.id]})}},fn=function(t,n){n=n||{},E(function(){var r;on();var i,e=f("INP"),a=function(u){u.forEach(function(p){p.interactionId&&J(p),p.entryType==="first-input"&&!l.some(function(b){return b.entries.some(function(N){return p.duration===N.duration&&p.startTime===N.startTime})})&&J(p)});var o,s=(o=Math.min(l.length-1,Math.floor(G()/50)),l[o]);s&&s.latency!==e.value&&(e.value=s.latency,e.entries=s.entries,i())},c=g("event",a,{durationThreshold:(r=n.durationThreshold)!==null&&r!==void 0?r:40});i=d(t,e,z,n.reportAllChanges),c&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&c.observe({type:"first-input",buffered:!0}),P(function(){a(c.takeRecords()),e.value<0&&G()>0&&(e.value=0,e.entries=[]),i(!0)}),m(function(){l=[],$=Z(),e=f("INP"),i=d(t,e,z,n.reportAllChanges)}))})},K=[2500,4e3],A={},dn=function(t,n){n=n||{},E(function(){var r,i=x(),e=f("LCP"),a=function(o){var s=o[o.length-1];s&&s.startTimeperformance.now())return;r.value=Math.max(a-S(),0),r.entries=[e],i(!0),m(function(){r=f("TTFB",0),(i=d(t,r,Q,n.reportAllChanges))(!0)})}})};export{q as CLSThresholds,O as FCPThresholds,_ as FIDThresholds,z as INPThresholds,K as LCPThresholds,Q as TTFBThresholds,un as getCLS,tn as getFCP,sn as getFID,fn as getINP,dn as getLCP,ln as getTTFB,un as onCLS,tn as onFCP,sn as onFID,fn as onINP,dn as onLCP,ln as onTTFB}; diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..a68cf3d --- /dev/null +++ b/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/images/ximalaya-logo-with-banner.png b/images/ximalaya-logo-with-banner.png new file mode 100644 index 0000000..4341021 Binary files /dev/null and b/images/ximalaya-logo-with-banner.png differ diff --git a/images/ximalaya-logo.png b/images/ximalaya-logo.png new file mode 100644 index 0000000..bf80a43 Binary files /dev/null and b/images/ximalaya-logo.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..25340f2 --- /dev/null +++ b/index.html @@ -0,0 +1,31 @@ + + + + + + + + + + + 便携小空调 - 为你的夏日带去清凉! + + + + + + +
+ + + diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 0000000..74c06c5 --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"便携小空调","short_name":"云空调","start_url":".","display":"standalone","background_color":"#ffffff","lang":"en","scope":"/","theme_color":"#000000","icons":[{"src":"favicon.svg","type":"image/png","sizes":"64x64"}]} diff --git a/registerSW.js b/registerSW.js new file mode 100644 index 0000000..d42ac9e --- /dev/null +++ b/registerSW.js @@ -0,0 +1 @@ +if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('/sw.js', { scope: '/' })})} \ No newline at end of file diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..349360b --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Allow: / diff --git a/sw.js b/sw.js new file mode 100644 index 0000000..66677d7 --- /dev/null +++ b/sw.js @@ -0,0 +1 @@ +if(!self.define){let e,s={};const i=(i,r)=>(i=new URL(i+".js",r).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(r,n)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),c={module:{uri:t},exports:o,require:l};s[t]=Promise.all(r.map((e=>c[e]||l(e)))).then((e=>(n(...e),o)))}}define(["./workbox-f3e6b16a"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/index-1pPCHjpc.css",revision:null},{url:"assets/index-ZfFhc1zW.js",revision:null},{url:"assets/Rc-m7NUryRJ.js",revision:null},{url:"assets/web-vitals-BptxjviT.js",revision:null},{url:"index.html",revision:"bf3dfa126b2a2940dcc18a6f9a22658c"},{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"favicon.svg",revision:"2f580ef4a0c82db16f97a31b8d7d6f67"},{url:"robots.txt",revision:"e232f8308190c040e3711172d401a8ac"},{url:"manifest.webmanifest",revision:"49b5c2c0de825be91249b1ceb5374f04"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))})); diff --git a/workbox-f3e6b16a.js b/workbox-f3e6b16a.js new file mode 100644 index 0000000..8c012bc --- /dev/null +++ b/workbox-f3e6b16a.js @@ -0,0 +1 @@ +define(["exports"],(function(t){"use strict";try{self["workbox:core:7.0.0"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:7.0.0"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);function h(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}return a().registerRoute(o),o}const u={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=t=>[u.prefix,t,u.suffix].filter((t=>t&&t.length>0)).join("-"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:7.0.0"]&&_()}catch(t){}function p(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class y{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class g{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let R;async function m(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===R){const t=new Response("");if("body"in t)try{new Response(t.body),R=!0}catch(t){R=!1}R=!1}return R}()?i.body:await i.blob();return new Response(c,o)}function v(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class q{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const U=new Set;try{self["workbox:strategies:7.0.0"]&&_()}catch(t){}function L(t){return"string"==typeof t?new Request(t):t}class b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new q,this.R=[],this.m=[...t.plugins],this.v=new Map;for(const t of this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=L(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=L(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=L(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=v(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===v(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of U)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=L(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.v.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.R.push(t),t}async doneWaiting(){let t;for(;t=this.R.shift();)await t}destroy(){this.p.resolve(null)}async q(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class C{constructor(t={}){this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async U(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this._(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async L(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}class E extends C{constructor(t={}){t.cacheName=f(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(E.copyRedirectedCacheableResponsesPlugin)}async _(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.O(t,e):await this.N(t,e))}async N(t,e){let n;const i=e.params||{};if(!this.C)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.k(),await e.cachePut(t,n.clone()))}return n}async O(t,e){this.k();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}k(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==E.copyRedirectedCacheableResponsesPlugin&&(n===E.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(E.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}E.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},E.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await m(t):t};class O{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.K=new Map,this.P=new Map,this.T=new Map,this.l=new E({cacheName:f(t),plugins:[...e,new g({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=p(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.K.has(i)&&this.K.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.K.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.K.set(i,t),this.P.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return d(t,(async()=>{const e=new y;this.strategy.plugins.push(e);for(const[e,s]of this.K){const n=this.T.get(s),i=this.P.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return d(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.K.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.K}getCachedURLs(){return[...this.K.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.K.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let x;const N=()=>(x||(x=new O),x);class k extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.NavigationRoute=class extends i{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super((t=>this.j(t)),t),this.M=e,this.S=s}j({url:t,request:e}){if(e&&"navigate"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.S)if(t.test(s))return!1;return!!this.M.some((t=>t.test(s)))}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=f();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.clientsClaim=function(){self.addEventListener("activate",(()=>self.clients.claim()))},t.createHandlerBoundToURL=function(t){return N().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){N().precache(t)}(t),function(t){const e=N();h(new k(e,t))}(e)},t.registerRoute=h})); diff --git a/yun-logo.svg b/yun-logo.svg new file mode 100644 index 0000000..3f02149 --- /dev/null +++ b/yun-logo.svg @@ -0,0 +1,15 @@ + + + + Logo + Created with Sketch. + + + + + + \ No newline at end of file