From fee26efd1719a93547dccc6949c9fc0288982c89 Mon Sep 17 00:00:00 2001 From: Steve-xmh <39523898+Steve-xmh@users.noreply.github.com> Date: Fri, 6 Jan 2023 01:02:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=B0=20v1.3.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.css | 2 +- dist/index.js | 130 +++++------------------------------------ dist/manifest.json | 2 +- dist/startup_script.js | 2 +- 4 files changed, 16 insertions(+), 120 deletions(-) diff --git a/dist/index.css b/dist/index.css index dbbe6fe69..7c62c3b7c 100644 --- a/dist/index.css +++ b/dist/index.css @@ -1 +1 @@ -.am-lyrics-settings{margin:0 0 auto;max-width:35rem}.am-lyrics-settings .am-lyric-func-body{user-select:text;margin:1rem 0}#applemusic-like-lyrics-view{overflow:hidden;z-index:1;-webkit-font-smoothing:antialiased;padding:30px;height:calc(100% - 60px);max-height:calc(100% - 60px);max-width:calc(100% - 60px);width:calc(100% - 60px);display:flex;flex-direction:row}#applemusic-like-lyrics-view *{z-index:1}#applemusic-like-lyrics-view .am-lyric-view-loading{flex:1;display:flex;align-items:center;justify-content:center;color:var(--applemusic-like-lyrics-font-color, white)}#applemusic-like-lyrics-view .am-music-info{flex:1;display:flex;overflow:hidden;align-items:center;justify-content:center}#applemusic-like-lyrics-view .am-music-info>*{display:flex;flex-direction:column;color:var(--applemusic-like-lyrics-font-color, white)}#applemusic-like-lyrics-view .am-music-info>* a{color:var(--applemusic-like-lyrics-font-color, white)}#applemusic-like-lyrics-view .am-music-info>* a:hover{opacity:.5}#applemusic-like-lyrics-view .am-music-info>* .am-album-image{display:flex;align-content:center;justify-content:center;align-items:center}#applemusic-like-lyrics-view .am-music-info>* .am-album-image>*>img{border-radius:5%;box-shadow:0 1rem 1rem #0004;overflow:hidden;height:min(50vh,30vw);width:min(50vh,30vw);object-fit:cover}#applemusic-like-lyrics-view .am-music-info>* .am-music-name{font-size:1.5rem;line-height:normal;margin:1rem 0 .25rem;cursor:text;user-select:text;text-align:center;filter:drop-shadow(0 0 4px rgba(0,0,0,.4))}#applemusic-like-lyrics-view .am-music-info>* .am-music-alias{font-size:1.2rem;line-height:normal;margin:1rem 0;opacity:.75;cursor:text;text-align:center;user-select:text;filter:drop-shadow(0 0 4px rgba(0,0,0,.267))}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists{font-size:1rem;line-height:normal;margin:.25rem 0;filter:drop-shadow(0 0 4px rgba(0,0,0,.267));display:flex;align-items:baseline;justify-content:center}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists .am-artists-label{line-height:normal;white-space:nowrap}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists .am-artists a{line-height:normal;opacity:.8;user-select:text;text-overflow:ellipsis}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists .am-artists a:after{content:var(--applemusic-like-lyrics-music-artists-separator, " - ");opacity:.5}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists .am-artists a:last-child:after{content:""}#applemusic-like-lyrics-view .am-music-info>* .am-music-album{font-size:1rem;line-height:normal;margin:.25rem 0;filter:drop-shadow(0 0 4px rgba(0,0,0,.267));display:flex;align-items:baseline;justify-content:center}#applemusic-like-lyrics-view .am-music-info>* .am-music-album .am-album-label{white-space:nowrap}#applemusic-like-lyrics-view .am-music-info>* .am-music-album a{opacity:.8;user-select:text}#applemusic-like-lyrics-view .am-lyric{flex:1;display:flex;flex-direction:column}#applemusic-like-lyrics-view .am-lyric:hover .am-lyric-line{filter:blur(0)!important;opacity:1!important}#applemusic-like-lyrics-view .am-lyric:hover .am-lyric-line>.am-lyric-line-dynamic>*{opacity:1!important}#applemusic-like-lyrics-view .am-lyric:hover .am-lyric-options{opacity:1}#applemusic-like-lyrics-view .am-lyric-options{opacity:0;transition:opacity .75s cubic-bezier(.65,0,.35,1);padding-top:60px}#applemusic-like-lyrics-view .am-lyric-options button{margin:.5rem;background-color:transparent;padding:3px;border:solid 1px var(--applemusic-like-lyrics-font-color, white);color:var(--applemusic-like-lyrics-font-color, white);border-radius:3px}#applemusic-like-lyrics-view .am-lyric-options button.toggled{background-color:var(--applemusic-like-lyrics-font-color, white);color:#000}#applemusic-like-lyrics-view .am-lyric-view{flex:1;overflow:hidden scroll;position:relative;-webkit-mask-image:linear-gradient(rgba(0,0,0,0),#000 10%,#000 80%,rgba(0,0,0,0) 90%,rgba(0,0,0,0))}#applemusic-like-lyrics-view .am-lyric-view>*{padding:50vh 0;position:relative;padding-left:2rem;padding-right:min(30%,5vw,600px)}#applemusic-like-lyrics-view .am-lyric-view.editing{-webkit-mask-image:unset}#applemusic-like-lyrics-view .am-lyric-view.editing>*{padding:0 0 128px;padding-right:min(30%,5vw,600px)}#applemusic-like-lyrics-view .am-lyric-view-no-lyric{height:100%;overflow:hidden;flex:1;display:flex;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center}#applemusic-like-lyrics-view .am-lyric-view-no-lyric>*{padding:50vh 0;position:relative}#applemusic-like-lyrics-view .am-lyric-line-edit{display:flex;align-content:center;justify-content:space-between;align-items:center;margin-bottom:1rem}#applemusic-like-lyrics-view .am-lyric-line-edit>.edit-time{padding:0 1rem}#applemusic-like-lyrics-view .am-lyric-line-edit>.edit-arrow{padding:0 1rem}#applemusic-like-lyrics-view .am-lyric-line-edit>.edit-area{flex:1;display:flex;flex-direction:column}#applemusic-like-lyrics-view .am-lyric-line-edit>.edit-area input{flex-basis:100%;border-radius:2px;max-width:100%;line-height:16px;margin:4px 0;padding:4px 16px;border:solid 1px rgba(255,255,255,.467);background:transparent;color:#fff}#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-line{transform:scale(.66666)}#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-line.am-lyric-line-o0,#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-line.am-lyric-line-selected{transform:scale(1)}#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-dots{transform:scale(.66666)}#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-dots.am-lyric-dots-selected{transform:scale(1)}#applemusic-like-lyrics-view.lyric-hide-passed .am-lyric-line{opacity:.5}#applemusic-like-lyrics-view.lyric-hide-passed .am-lyric-line.am-lyric-line-before{opacity:0}#applemusic-like-lyrics-view.lyric-hide-passed .am-lyric-line.am-lyric-line-selected{opacity:1}#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line,#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line.am-lyric-line-after{filter:blur(4px)}#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line.am-lyric-line-o1{filter:blur(1px)}#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line.am-lyric-line-o2{filter:blur(2px)}#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line.am-lyric-line-o3{filter:blur(3px)}#applemusic-like-lyrics-view.lyric-blur-fade-in-effect .am-lyric-line.am-lyric-line-after{opacity:.1}#applemusic-like-lyrics-view.lyric-blur-fade-in-effect .am-lyric-line.am-lyric-line-o1{opacity:.4}#applemusic-like-lyrics-view.lyric-blur-fade-in-effect .am-lyric-line.am-lyric-line-o2{opacity:.3}#applemusic-like-lyrics-view.lyric-blur-fade-in-effect .am-lyric-line.am-lyric-line-o3{opacity:.2}#applemusic-like-lyrics-view.lyric-auto-font-size .am-lyric-line{font-size:clamp(32px,3vw,4vh)}#applemusic-like-lyrics-view.use-ping-fang-font *{font-family:PingFang SC!important}#applemusic-like-lyrics-view.align-left-music-name .am-music-name,#applemusic-like-lyrics-view.align-left-music-alias .am-music-alias{text-align:left}#applemusic-like-lyrics-view.align-left-music-artists .am-music-artists,#applemusic-like-lyrics-view.align-left-music-album .am-music-album{justify-content:left}#applemusic-like-lyrics-view.hide-left-music-artists-label .am-artists-label,#applemusic-like-lyrics-view.hide-left-music-album-label .am-album-label{display:none}#applemusic-like-lyrics-view .am-lyric-line{font-weight:700;font-size:max(8px,var(--applemusic-like-lyrics-lyric-font-size));margin:max(32px,2vh) 0;transform-origin:left;color:var(--applemusic-like-lyrics-font-color, white);transition:all .75s cubic-bezier(.65,0,.35,1);line-break:loose;word-break:break-word}#applemusic-like-lyrics-view .am-lyric-line>.am-lyric-line-translated,#applemusic-like-lyrics-view .am-lyric-line>.am-lyric-line-roman{opacity:.5}#applemusic-like-lyrics-view .am-lyric-line>.am-lyric-line-dynamic>*{animation-name:am-lyric-word-animation;animation-fill-mode:both;animation-play-state:paused}#applemusic-like-lyrics-view .am-lyric-line:hover:before{content:" ";position:absolute;width:calc(100% + 4rem);left:-2rem;height:calc(100% + 2rem);top:-1rem;border-radius:1rem;background-color:#fff4}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-after>.am-lyric-line-dynamic>*{opacity:.5;animation-name:unset;animation-fill-mode:unset;animation-play-state:unset}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-before{opacity:.5}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-before>.am-lyric-line-dynamic>*{opacity:1;animation-name:unset;animation-fill-mode:unset;animation-play-state:unset}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-o0,#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-selected{filter:blur(0px);opacity:1}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-o0>.am-lyric-line-dynamic>*,#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-selected>.am-lyric-line-dynamic>*{animation-play-state:running}@-moz-keyframes am-lyric-word-animation{0%{opacity:.5}to{opacity:1}}@-webkit-keyframes am-lyric-word-animation{0%{opacity:.5}to{opacity:1}}@-o-keyframes am-lyric-word-animation{0%{opacity:.5}to{opacity:1}}@keyframes am-lyric-word-animation{0%{opacity:.5}to{opacity:1}}#applemusic-like-lyrics-view .am-lyric-dots{height:0px;transition:all .75s cubic-bezier(.65,0,.35,1);transform-origin:left;opacity:0}#applemusic-like-lyrics-view .am-lyric-dots>*{display:inline-block;margin-right:1.5rem;width:2rem;height:2rem;background-color:var(--applemusic-like-lyrics-font-color, white);box-shadow:0 2px 5px #0008;border-radius:1rem}#applemusic-like-lyrics-view .am-lyric-dots.am-lyric-dots-selected{height:32px;opacity:1}.mq-playing .g-hd,.m-winctrl,#main-player,.g-singlec-comment-detail.z-show,.m-pinfo{opacity:1;transition:opacity .5s}.mq-playing .g-hd.hide,.m-winctrl.hide,#main-player.hide,.g-singlec-comment-detail.z-show.hide,.m-pinfo.hide{opacity:0!important}.g-singlec-ct{top:0}.g-single{bottom:0} +.am-lyrics-settings{min-height:100%;max-width:min(100%,700px)}.am-lyrics-settings .am-lyric-func-body{user-select:text;overflow-wrap:break-word;word-break:normal;white-space:break-spaces;text-overflow:ellipsis}#applemusic-like-lyrics-view{overflow:hidden;z-index:1;-webkit-font-smoothing:antialiased;margin:30px;height:calc(100% - 60px);max-height:calc(100% - 60px);max-width:calc(100% - 60px);width:calc(100% - 60px);display:flex;flex-direction:row}#applemusic-like-lyrics-view *{z-index:1}#applemusic-like-lyrics-view .am-lyric-view-loading{flex:1}#applemusic-like-lyrics-view .am-music-info{flex:1;display:flex;overflow:hidden;align-items:center;justify-content:center}#applemusic-like-lyrics-view .am-music-info>*{display:flex;flex-direction:column;color:var(--applemusic-like-lyrics-font-color, white)}#applemusic-like-lyrics-view .am-music-info>* a{color:var(--applemusic-like-lyrics-font-color, white)}#applemusic-like-lyrics-view .am-music-info>* a:hover{opacity:.5}#applemusic-like-lyrics-view .am-music-info>* .am-album-image{display:flex;align-content:center;justify-content:center;align-items:center;position:relative}#applemusic-like-lyrics-view .am-music-info>* .am-album-image>*{border-radius:5%;overflow:hidden;box-shadow:0 0 1rem #0004}#applemusic-like-lyrics-view .am-music-info>* .am-album-image>*>img{border-radius:5%;overflow:hidden;min-height:min(50vh,30vw);min-width:min(50vh,30vw);max-height:min(50vh,30vw);max-width:min(50vh,30vw);height:min(50vh,30vw);width:min(50vh,30vw);object-fit:cover}#applemusic-like-lyrics-view .am-music-info>* .am-music-name{font-size:1.5rem;line-height:normal;margin:1rem 0 .25rem;cursor:text;user-select:text;text-align:center;filter:drop-shadow(0 0 4px rgba(0,0,0,.4))}#applemusic-like-lyrics-view .am-music-info>* .am-music-alias{font-size:1.2rem;line-height:normal;margin:1rem 0;opacity:.75;cursor:text;text-align:center;user-select:text;filter:drop-shadow(0 0 4px rgba(0,0,0,.267))}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists{font-size:1rem;line-height:normal;margin:.25rem 0;filter:drop-shadow(0 0 4px rgba(0,0,0,.267));display:flex;align-items:baseline;justify-content:center}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists .am-artists-label{line-height:normal;white-space:nowrap}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists .am-artists a{line-height:normal;opacity:.8;user-select:text;text-overflow:ellipsis}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists .am-artists a:after{content:var(--applemusic-like-lyrics-music-artists-separator, " - ");opacity:.5}#applemusic-like-lyrics-view .am-music-info>* .am-music-artists .am-artists a:last-child:after{content:""}#applemusic-like-lyrics-view .am-music-info>* .am-music-album{font-size:1rem;line-height:normal;margin:.25rem 0;filter:drop-shadow(0 0 4px rgba(0,0,0,.267));display:flex;align-items:baseline;justify-content:center}#applemusic-like-lyrics-view .am-music-info>* .am-music-album .am-album-label{white-space:nowrap}#applemusic-like-lyrics-view .am-music-info>* .am-music-album a{opacity:.8;user-select:text}#applemusic-like-lyrics-view .am-lyric{flex:1;display:flex;flex-direction:column;filter:drop-shadow(0 0 4px rgba(0,0,0,.267))}#applemusic-like-lyrics-view .am-lyric:hover .am-lyric-line{filter:blur(0)!important;opacity:1!important}#applemusic-like-lyrics-view .am-lyric:hover .am-lyric-line>.am-lyric-line-dynamic>*{opacity:1!important}#applemusic-like-lyrics-view .am-lyric:hover .am-lyric-options{opacity:1}#applemusic-like-lyrics-view .am-lyric-view-error{flex:1}#applemusic-like-lyrics-view .am-lyric-view-error *{overflow-wrap:break-word;margin-bottom:1rem}#applemusic-like-lyrics-view .am-lyric-options{opacity:0;transition:opacity .75s cubic-bezier(.65,0,.35,1);padding-top:60px}#applemusic-like-lyrics-view .am-lyric-options button{margin:.5rem;background-color:transparent;padding:3px;border:solid 1px var(--applemusic-like-lyrics-font-color, white);color:var(--applemusic-like-lyrics-font-color, white);border-radius:3px}#applemusic-like-lyrics-view .am-lyric-options button.toggled{background-color:var(--applemusic-like-lyrics-font-color, white);color:#000}#applemusic-like-lyrics-view .am-lyric-view{flex:1;overflow:hidden scroll;position:relative;-webkit-mask-image:linear-gradient(rgba(0,0,0,0),#000 10%,#000 80%,rgba(0,0,0,0) 90%,rgba(0,0,0,0))}#applemusic-like-lyrics-view .am-lyric-view>*{padding:50vh 0;position:relative;padding-left:2rem;padding-right:min(30%,5vw,600px)}#applemusic-like-lyrics-view .am-lyric-view.editing{-webkit-mask-image:unset}#applemusic-like-lyrics-view .am-lyric-view.editing>*{padding:0 0 128px;padding-right:min(30%,5vw,600px)}#applemusic-like-lyrics-view .am-lyric-view-no-lyric{height:100%;overflow:hidden;flex:1;display:flex;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center}#applemusic-like-lyrics-view .am-lyric-view-no-lyric>*{padding:50vh 0;position:relative}#applemusic-like-lyrics-view .am-lyric-line-edit{display:flex;align-content:center;justify-content:space-between;align-items:center;margin-bottom:1rem}#applemusic-like-lyrics-view .am-lyric-line-edit>.edit-time{padding:0 1rem}#applemusic-like-lyrics-view .am-lyric-line-edit>.edit-arrow{padding:0 1rem}#applemusic-like-lyrics-view .am-lyric-line-edit>.edit-area{flex:1;display:flex;flex-direction:column}#applemusic-like-lyrics-view .am-lyric-line-edit>.edit-area input{flex-basis:100%;border-radius:2px;max-width:100%;line-height:16px;margin:4px 0;padding:4px 16px;border:solid 1px rgba(255,255,255,.467);background:transparent;color:#fff}#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-line{transform:scale(.66666)}#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-line.am-lyric-line-o0,#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-line.am-lyric-line-selected{transform:scale(1)}#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-dots{transform:scale(.66666)}#applemusic-like-lyrics-view.lyric-scale-effect .am-lyric-dots.am-lyric-dots-selected{transform:scale(1)}#applemusic-like-lyrics-view.lyric-hide-passed .am-lyric-line{opacity:.5}#applemusic-like-lyrics-view.lyric-hide-passed .am-lyric-line.am-lyric-line-before{opacity:0}#applemusic-like-lyrics-view.lyric-hide-passed .am-lyric-line.am-lyric-line-selected{opacity:1}#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line,#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line.am-lyric-line-after{filter:blur(4px)}#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line.am-lyric-line-o1{filter:blur(1px)}#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line.am-lyric-line-o2{filter:blur(2px)}#applemusic-like-lyrics-view.lyric-blur-effect .am-lyric-line.am-lyric-line-o3{filter:blur(3px)}#applemusic-like-lyrics-view.lyric-blur-fade-in-effect .am-lyric-line.am-lyric-line-after{opacity:.1}#applemusic-like-lyrics-view.lyric-blur-fade-in-effect .am-lyric-line.am-lyric-line-o1{opacity:.4}#applemusic-like-lyrics-view.lyric-blur-fade-in-effect .am-lyric-line.am-lyric-line-o2{opacity:.3}#applemusic-like-lyrics-view.lyric-blur-fade-in-effect .am-lyric-line.am-lyric-line-o3{opacity:.2}#applemusic-like-lyrics-view.lyric-auto-font-size .am-lyric-line{font-size:clamp(32px,3vw,4vh)}#applemusic-like-lyrics-view.use-ping-fang-font *{font-family:PingFang SC!important}#applemusic-like-lyrics-view.align-left-music-name .am-music-name,#applemusic-like-lyrics-view.align-left-music-alias .am-music-alias{text-align:left}#applemusic-like-lyrics-view.align-left-music-artists .am-music-artists,#applemusic-like-lyrics-view.align-left-music-album .am-music-album{justify-content:left}#applemusic-like-lyrics-view.hide-left-music-artists-label .am-artists-label,#applemusic-like-lyrics-view.hide-left-music-album-label .am-album-label{display:none}#applemusic-like-lyrics-view .am-lyric-line{font-weight:700;font-size:max(8px,var(--applemusic-like-lyrics-lyric-font-size));margin:max(32px,2vh) 0;transform-origin:left;color:var(--applemusic-like-lyrics-font-color, white);transition:all .75s cubic-bezier(.65,0,.35,1);line-break:loose;word-break:break-word}#applemusic-like-lyrics-view .am-lyric-line>.am-lyric-line-translated,#applemusic-like-lyrics-view .am-lyric-line>.am-lyric-line-roman{opacity:.5}#applemusic-like-lyrics-view .am-lyric-line>.am-lyric-line-dynamic>*{animation-name:am-lyric-word-animation;animation-fill-mode:both;animation-play-state:paused}#applemusic-like-lyrics-view .am-lyric-line:hover:before{content:" ";position:absolute;width:calc(100% + 4rem);left:-2rem;height:calc(100% + 2rem);top:-1rem;border-radius:1rem;background-color:#fff4}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-after>.am-lyric-line-dynamic>*{opacity:.5;animation-name:unset;animation-fill-mode:unset;animation-play-state:unset}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-before{opacity:.5}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-before>.am-lyric-line-dynamic>*{opacity:1;animation-name:unset;animation-fill-mode:unset;animation-play-state:unset}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-o0,#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-selected{filter:blur(0px);opacity:1}#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-o0>.am-lyric-line-dynamic>*,#applemusic-like-lyrics-view .am-lyric-line.am-lyric-line-selected>.am-lyric-line-dynamic>*{animation-play-state:running}@-moz-keyframes am-lyric-word-animation{0%{opacity:.5}to{opacity:1}}@-webkit-keyframes am-lyric-word-animation{0%{opacity:.5}to{opacity:1}}@-o-keyframes am-lyric-word-animation{0%{opacity:.5}to{opacity:1}}@keyframes am-lyric-word-animation{0%{opacity:.5}to{opacity:1}}#applemusic-like-lyrics-view .am-lyric-dots{height:0px;transition:all .75s cubic-bezier(.65,0,.35,1);transform-origin:left;opacity:0}#applemusic-like-lyrics-view .am-lyric-dots>*{display:inline-block;margin-right:1.5rem;width:2rem;height:2rem;background-color:var(--applemusic-like-lyrics-font-color, white);box-shadow:0 2px 5px #0008;border-radius:1rem}#applemusic-like-lyrics-view .am-lyric-dots.am-lyric-dots-selected{height:32px;opacity:1}.mq-playing .g-hd,.m-winctrl,#main-player,.g-singlec-comment-detail.z-show,.m-pinfo{opacity:1;transition:opacity .5s}.mq-playing .g-hd.hide,.m-winctrl.hide,#main-player.hide,.g-singlec-comment-detail.z-show.hide,.m-pinfo.hide{opacity:0!important}.g-singlec-ct{top:0}.g-single{bottom:0} diff --git a/dist/index.js b/dist/index.js index d67d2d602..b1ceacf40 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,117 +1,13 @@ -(()=>{var s1=Object.create;var gc=Object.defineProperty;var i1=Object.getOwnPropertyDescriptor;var a1=Object.getOwnPropertyNames;var l1=Object.getPrototypeOf,u1=Object.prototype.hasOwnProperty;var p1=(e,t,r)=>t in e?gc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var rr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var c1=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of a1(t))!u1.call(e,n)&&n!==r&&gc(e,n,{get:()=>t[n],enumerable:!(o=i1(t,n))||o.enumerable});return e};var E=(e,t,r)=>(r=e!=null?s1(l1(e)):{},c1(t||!e||!e.__esModule?gc(r,"default",{value:e,enumerable:!0}):r,e));var jy=(e,t,r)=>(p1(e,typeof t!="symbol"?t+"":t,r),r);var zy=rr(_e=>{"use strict";var vc=Symbol.for("react.element"),Tc=Symbol.for("react.portal"),dl=Symbol.for("react.fragment"),fl=Symbol.for("react.strict_mode"),ml=Symbol.for("react.profiler"),yl=Symbol.for("react.provider"),hl=Symbol.for("react.context"),d1=Symbol.for("react.server_context"),gl=Symbol.for("react.forward_ref"),vl=Symbol.for("react.suspense"),Tl=Symbol.for("react.suspense_list"),Pl=Symbol.for("react.memo"),bl=Symbol.for("react.lazy"),f1=Symbol.for("react.offscreen"),$y;$y=Symbol.for("react.module.reference");function mr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case vc:switch(e=e.type,e){case dl:case ml:case fl:case vl:case Tl:return e;default:switch(e=e&&e.$$typeof,e){case d1:case hl:case gl:case bl:case Pl:case yl:return e;default:return t}}case Tc:return t}}}_e.ContextConsumer=hl;_e.ContextProvider=yl;_e.Element=vc;_e.ForwardRef=gl;_e.Fragment=dl;_e.Lazy=bl;_e.Memo=Pl;_e.Portal=Tc;_e.Profiler=ml;_e.StrictMode=fl;_e.Suspense=vl;_e.SuspenseList=Tl;_e.isAsyncMode=function(){return!1};_e.isConcurrentMode=function(){return!1};_e.isContextConsumer=function(e){return mr(e)===hl};_e.isContextProvider=function(e){return mr(e)===yl};_e.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===vc};_e.isForwardRef=function(e){return mr(e)===gl};_e.isFragment=function(e){return mr(e)===dl};_e.isLazy=function(e){return mr(e)===bl};_e.isMemo=function(e){return mr(e)===Pl};_e.isPortal=function(e){return mr(e)===Tc};_e.isProfiler=function(e){return mr(e)===ml};_e.isStrictMode=function(e){return mr(e)===fl};_e.isSuspense=function(e){return mr(e)===vl};_e.isSuspenseList=function(e){return mr(e)===Tl};_e.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===dl||e===ml||e===fl||e===vl||e===Tl||e===f1||typeof e=="object"&&e!==null&&(e.$$typeof===bl||e.$$typeof===Pl||e.$$typeof===yl||e.$$typeof===hl||e.$$typeof===gl||e.$$typeof===$y||e.getModuleId!==void 0)};_e.typeOf=mr});var xl=rr((I2,Ay)=>{"use strict";Ay.exports=zy()});var Qy=rr(ve=>{"use strict";var _i=Symbol.for("react.element"),m1=Symbol.for("react.portal"),y1=Symbol.for("react.fragment"),h1=Symbol.for("react.strict_mode"),g1=Symbol.for("react.profiler"),v1=Symbol.for("react.provider"),T1=Symbol.for("react.context"),P1=Symbol.for("react.forward_ref"),b1=Symbol.for("react.suspense"),x1=Symbol.for("react.memo"),C1=Symbol.for("react.lazy"),Dy=Symbol.iterator;function E1(e){return e===null||typeof e!="object"?null:(e=Dy&&e[Dy]||e["@@iterator"],typeof e=="function"?e:null)}var Vy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Wy=Object.assign,Hy={};function as(e,t,r){this.props=e,this.context=t,this.refs=Hy,this.updater=r||Vy}as.prototype.isReactComponent={};as.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")};as.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ky(){}Ky.prototype=as.prototype;function bc(e,t,r){this.props=e,this.context=t,this.refs=Hy,this.updater=r||Vy}var xc=bc.prototype=new Ky;xc.constructor=bc;Wy(xc,as.prototype);xc.isPureReactComponent=!0;var Uy=Array.isArray,Gy=Object.prototype.hasOwnProperty,Cc={current:null},qy={key:!0,ref:!0,__self:!0,__source:!0};function Yy(e,t,r){var o,n={},s=null,i=null;if(t!=null)for(o in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)Gy.call(t,o)&&!qy.hasOwnProperty(o)&&(n[o]=t[o]);var a=arguments.length-2;if(a===1)n.children=r;else if(1{"use strict";Xy.exports=Qy()});var Rh=rr(Oe=>{"use strict";var lt=typeof Symbol=="function"&&Symbol.for,Ic=lt?Symbol.for("react.element"):60103,Lc=lt?Symbol.for("react.portal"):60106,Dl=lt?Symbol.for("react.fragment"):60107,Ul=lt?Symbol.for("react.strict_mode"):60108,Bl=lt?Symbol.for("react.profiler"):60114,Vl=lt?Symbol.for("react.provider"):60109,Wl=lt?Symbol.for("react.context"):60110,Mc=lt?Symbol.for("react.async_mode"):60111,Hl=lt?Symbol.for("react.concurrent_mode"):60111,Kl=lt?Symbol.for("react.forward_ref"):60112,Gl=lt?Symbol.for("react.suspense"):60113,tC=lt?Symbol.for("react.suspense_list"):60120,ql=lt?Symbol.for("react.memo"):60115,Yl=lt?Symbol.for("react.lazy"):60116,rC=lt?Symbol.for("react.block"):60121,oC=lt?Symbol.for("react.fundamental"):60117,nC=lt?Symbol.for("react.responder"):60118,sC=lt?Symbol.for("react.scope"):60119;function or(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ic:switch(e=e.type,e){case Mc:case Hl:case Dl:case Bl:case Ul:case Gl:return e;default:switch(e=e&&e.$$typeof,e){case Wl:case Kl:case Yl:case ql:case Vl:return e;default:return t}}case Lc:return t}}}function wh(e){return or(e)===Hl}Oe.AsyncMode=Mc;Oe.ConcurrentMode=Hl;Oe.ContextConsumer=Wl;Oe.ContextProvider=Vl;Oe.Element=Ic;Oe.ForwardRef=Kl;Oe.Fragment=Dl;Oe.Lazy=Yl;Oe.Memo=ql;Oe.Portal=Lc;Oe.Profiler=Bl;Oe.StrictMode=Ul;Oe.Suspense=Gl;Oe.isAsyncMode=function(e){return wh(e)||or(e)===Mc};Oe.isConcurrentMode=wh;Oe.isContextConsumer=function(e){return or(e)===Wl};Oe.isContextProvider=function(e){return or(e)===Vl};Oe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ic};Oe.isForwardRef=function(e){return or(e)===Kl};Oe.isFragment=function(e){return or(e)===Dl};Oe.isLazy=function(e){return or(e)===Yl};Oe.isMemo=function(e){return or(e)===ql};Oe.isPortal=function(e){return or(e)===Lc};Oe.isProfiler=function(e){return or(e)===Bl};Oe.isStrictMode=function(e){return or(e)===Ul};Oe.isSuspense=function(e){return or(e)===Gl};Oe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Dl||e===Hl||e===Bl||e===Ul||e===Gl||e===tC||typeof e=="object"&&e!==null&&(e.$$typeof===Yl||e.$$typeof===ql||e.$$typeof===Vl||e.$$typeof===Wl||e.$$typeof===Kl||e.$$typeof===oC||e.$$typeof===nC||e.$$typeof===sC||e.$$typeof===rC)};Oe.typeOf=or});var _h=rr((fL,kh)=>{"use strict";kh.exports=Rh()});var Fh=rr((mL,jh)=>{"use strict";var jc=_h(),iC={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},aC={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},lC={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Lh={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fc={};Fc[jc.ForwardRef]=lC;Fc[jc.Memo]=Lh;function Oh(e){return jc.isMemo(e)?Lh:Fc[e.$$typeof]||iC}var uC=Object.defineProperty,pC=Object.getOwnPropertyNames,Nh=Object.getOwnPropertySymbols,cC=Object.getOwnPropertyDescriptor,dC=Object.getPrototypeOf,Ih=Object.prototype;function Mh(e,t,r){if(typeof t!="string"){if(Ih){var o=dC(t);o&&o!==Ih&&Mh(e,o,r)}var n=pC(t);Nh&&(n=n.concat(Nh(t)));for(var s=Oh(e),i=Oh(t),a=0;a{"use strict";var RC=$(),kC=Symbol.for("react.element"),_C=Symbol.for("react.fragment"),OC=Object.prototype.hasOwnProperty,NC=RC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,IC={key:!0,ref:!0,__self:!0,__source:!0};function Xh(e,t,r){var o,n={},s=null,i=null;r!==void 0&&(s=""+r),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(o in t)OC.call(t,o)&&!IC.hasOwnProperty(o)&&(n[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps,t)n[o]===void 0&&(n[o]=t[o]);return{$$typeof:kC,type:e,key:s,ref:i,props:n,_owner:NC.current}}Zl.Fragment=_C;Zl.jsx=Xh;Zl.jsxs=Xh});var B=rr((uM,Jh)=>{"use strict";Jh.exports=Zh()});var zg=rr(Le=>{"use strict";function cd(e,t){var r=e.length;e.push(t);e:for(;0>>1,n=e[o];if(0>>1;ouu(a,r))luu(u,a)?(e[o]=u,e[l]=r,o=l):(e[o]=a,e[i]=r,o=i);else if(luu(u,r))e[o]=u,e[l]=r,o=l;else break e}}return t}function uu(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(_g=performance,Le.unstable_now=function(){return _g.now()}):(ld=Date,Og=ld.now(),Le.unstable_now=function(){return ld.now()-Og});var _g,ld,Og,Wr=[],Io=[],MS=1,vr=null,wt=3,du=!1,On=!1,qi=!1,Lg=typeof setTimeout=="function"?setTimeout:null,Mg=typeof clearTimeout=="function"?clearTimeout:null,Ng=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function dd(e){for(var t=Nr(Io);t!==null;){if(t.callback===null)cu(Io);else if(t.startTime<=e)cu(Io),t.sortIndex=t.expirationTime,cd(Wr,t);else break;t=Nr(Io)}}function fd(e){if(qi=!1,dd(e),!On)if(Nr(Wr)!==null)On=!0,yd(md);else{var t=Nr(Io);t!==null&&hd(fd,t.startTime-e)}}function md(e,t){On=!1,qi&&(qi=!1,Mg(Yi),Yi=-1),du=!0;var r=wt;try{for(dd(t),vr=Nr(Wr);vr!==null&&(!(vr.expirationTime>t)||e&&!$g());){var o=vr.callback;if(typeof o=="function"){vr.callback=null,wt=vr.priorityLevel;var n=o(vr.expirationTime<=t);t=Le.unstable_now(),typeof n=="function"?vr.callback=n:vr===Nr(Wr)&&cu(Wr),dd(t)}else cu(Wr);vr=Nr(Wr)}if(vr!==null)var s=!0;else{var i=Nr(Io);i!==null&&hd(fd,i.startTime-t),s=!1}return s}finally{vr=null,wt=r,du=!1}}var fu=!1,pu=null,Yi=-1,jg=5,Fg=-1;function $g(){return!(Le.unstable_now()-Fge||125o?(e.sortIndex=r,cd(Io,e),Nr(Wr)===null&&e===Nr(Io)&&(qi?(Mg(Yi),Yi=-1):qi=!0,hd(fd,r-o))):(e.sortIndex=n,cd(Wr,e),On||du||(On=!0,yd(md))),e};Le.unstable_shouldYield=$g;Le.unstable_wrapCallback=function(e){var t=wt;return function(){var r=wt;wt=t;try{return e.apply(this,arguments)}finally{wt=r}}}});var Dg=rr((rz,Ag)=>{"use strict";Ag.exports=zg()});var KT=rr(ur=>{"use strict";var Gv=$(),ar=Dg();function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ad=Object.prototype.hasOwnProperty,jS=/^[: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]*$/,Ug={},Bg={};function FS(e){return Ad.call(Bg,e)?!0:Ad.call(Ug,e)?!1:jS.test(e)?Bg[e]=!0:(Ug[e]=!0,!1)}function $S(e,t,r,o){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function zS(e,t,r,o){if(t===null||typeof t>"u"||$S(e,t,r,o))return!0;if(o)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Bt(e,t,r,o,n,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=n,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var Pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pt[e]=new Bt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pt[t]=new Bt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pt[e]=new Bt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pt[e]=new Bt(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){Pt[e]=new Bt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pt[e]=new Bt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pt[e]=new Bt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pt[e]=new Bt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pt[e]=new Bt(e,5,!1,e.toLowerCase(),null,!1,!1)});var If=/[\-:]([a-z])/g;function Lf(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(If,Lf);Pt[t]=new Bt(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(If,Lf);Pt[t]=new Bt(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(If,Lf);Pt[t]=new Bt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pt[e]=new Bt(e,1,!1,e.toLowerCase(),null,!1,!1)});Pt.xlinkHref=new Bt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pt[e]=new Bt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Mf(e,t,r,o){var n=Pt.hasOwnProperty(t)?Pt[t]:null;(n!==null?n.type!==0:o||!(2a||n[i]!==s[a]){var l=` -`+n[i].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{vd=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?na(e):""}function AS(e){switch(e.tag){case 5:return na(e.type);case 16:return na("Lazy");case 13:return na("Suspense");case 19:return na("SuspenseList");case 0:case 2:case 15:return e=Td(e.type,!1),e;case 11:return e=Td(e.type.render,!1),e;case 1:return e=Td(e.type,!0),e;default:return""}}function Vd(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 js:return"Fragment";case Ms:return"Portal";case Dd:return"Profiler";case jf:return"StrictMode";case Ud:return"Suspense";case Bd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qv:return(e.displayName||"Context")+".Consumer";case Yv:return(e._context.displayName||"Context")+".Provider";case Ff:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $f:return t=e.displayName||null,t!==null?t:Vd(e.type)||"Memo";case Mo:t=e._payload,e=e._init;try{return Vd(e(t))}catch{}}return null}function DS(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 Vd(t);case 8:return t===jf?"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 qo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Zv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function US(e){var t=Zv(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){o=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(i){o=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yu(e){e._valueTracker||(e._valueTracker=US(e))}function Jv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=Zv(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function Vu(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 Wd(e,t){var r=t.checked;return Ke({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Wg(e,t){var r=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;r=qo(t.value!=null?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function e0(e,t){t=t.checked,t!=null&&Mf(e,"checked",t,!1)}function Hd(e,t){e0(e,t);var r=qo(t.value),o=t.type;if(r!=null)o==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Kd(e,t.type,r):t.hasOwnProperty("defaultValue")&&Kd(e,t.type,qo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hg(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Kd(e,t,r){(t!=="number"||Vu(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var sa=Array.isArray;function Ks(e,t,r,o){if(e=e.options,t){t={};for(var n=0;n"+t.valueOf().toString()+"",t=hu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function va(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var la={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},BS=["Webkit","ms","Moz","O"];Object.keys(la).forEach(function(e){BS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),la[t]=la[e]})});function n0(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||la.hasOwnProperty(e)&&la[e]?(""+t).trim():t+"px"}function s0(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=r.indexOf("--")===0,n=n0(r,t[r],o);r==="float"&&(r="cssFloat"),o?e.setProperty(r,n):e[r]=n}}var VS=Ke({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 Yd(e,t){if(t){if(VS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Qd(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 Xd=null;function zf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zd=null,Gs=null,qs=null;function qg(e){if(e=Fa(e)){if(typeof Zd!="function")throw Error(F(280));var t=e.stateNode;t&&(t=gp(t),Zd(e.stateNode,e.type,t))}}function i0(e){Gs?qs?qs.push(e):qs=[e]:Gs=e}function a0(){if(Gs){var e=Gs,t=qs;if(qs=Gs=null,qg(e),t)for(e=0;e>>=0,e===0?32:31-(ew(e)/tw|0)|0}var gu=64,vu=4194304;function ia(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 Gu(e,t){var r=e.pendingLanes;if(r===0)return 0;var o=0,n=e.suspendedLanes,s=e.pingedLanes,i=r&268435455;if(i!==0){var a=i&~n;a!==0?o=ia(a):(s&=i,s!==0&&(o=ia(s)))}else i=r&~n,i!==0?o=ia(i):s!==0&&(o=ia(s));if(o===0)return 0;if(t!==0&&t!==o&&(t&n)===0&&(n=o&-o,s=t&-t,n>=s||n===16&&(s&4194240)!==0))return t;if((o&4)!==0&&(o|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0r;r++)t.push(e);return t}function Ma(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fr(t),e[t]=r}function sw(e,t){var r=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 o=e.eventTimes;for(e=e.expirationTimes;0=pa),ov=String.fromCharCode(32),nv=!1;function R0(e,t){switch(e){case"keyup":return Lw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function k0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Fs=!1;function jw(e,t){switch(e){case"compositionend":return k0(t);case"keypress":return t.which!==32?null:(nv=!0,ov);case"textInput":return e=t.data,e===ov&&nv?null:e;default:return null}}function Fw(e,t){if(Fs)return e==="compositionend"||!Kf&&R0(e,t)?(e=S0(),Mu=Vf=zo=null,Fs=!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:r,offset:t-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=av(r)}}function I0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?I0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function L0(){for(var e=window,t=Vu();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Vu(e.document)}return t}function Gf(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 Hw(e){var t=L0(),r=e.focusedElem,o=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&I0(r.ownerDocument.documentElement,r)){if(o!==null&&Gf(r)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var n=r.textContent.length,s=Math.min(o.start,n);o=o.end===void 0?s:Math.min(o.end,n),!e.extend&&s>o&&(n=o,o=s,s=n),n=lv(r,s);var i=lv(r,o);n&&i&&(e.rangeCount!==1||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(n.node,n.offset),e.removeAllRanges(),s>o?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,$s=null,nf=null,da=null,sf=!1;function uv(e,t,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;sf||$s==null||$s!==Vu(o)||(o=$s,"selectionStart"in o&&Gf(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),da&&Ea(da,o)||(da=o,o=Qu(nf,"onSelect"),0Ds||(e.current=df[Ds],df[Ds]=null,Ds--)}function Me(e,t){Ds++,df[Ds]=e.current,e.current=t}var Yo={},Ot=Xo(Yo),Qt=Xo(!1),zn=Yo;function Js(e,t){var r=e.type.contextTypes;if(!r)return Yo;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var n={},s;for(s in r)n[s]=t[s];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n),n}function Xt(e){return e=e.childContextTypes,e!=null}function Zu(){ze(Qt),ze(Ot)}function vv(e,t,r){if(Ot.current!==Yo)throw Error(F(168));Me(Ot,t),Me(Qt,r)}function B0(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return r;o=o.getChildContext();for(var n in o)if(!(n in t))throw Error(F(108,DS(e)||"Unknown",n));return Ke({},r,o)}function Ju(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yo,zn=Ot.current,Me(Ot,e),Me(Qt,Qt.current),!0}function Tv(e,t,r){var o=e.stateNode;if(!o)throw Error(F(169));r?(e=B0(e,t,zn),o.__reactInternalMemoizedMergedChildContext=e,ze(Qt),ze(Ot),Me(Ot,e)):ze(Qt),Me(Qt,r)}var lo=null,vp=!1,Od=!1;function V0(e){lo===null?lo=[e]:lo.push(e)}function tR(e){vp=!0,V0(e)}function Zo(){if(!Od&&lo!==null){Od=!0;var e=0,t=Ne;try{var r=lo;for(Ne=1;e>=i,n-=i,uo=1<<32-Fr(t)+n|r<R?(k=x,x=null):k=x.sibling;var w=f(y,x,h[R],P);if(w===null){x===null&&(x=k);break}e&&x&&w.alternate===null&&t(y,x),d=s(w,d,R),C===null?b=w:C.sibling=w,C=w,x=k}if(R===h.length)return r(y,x),De&&Nn(y,R),b;if(x===null){for(;RR?(k=x,x=null):k=x.sibling;var j=f(y,x,w.value,P);if(j===null){x===null&&(x=k);break}e&&x&&j.alternate===null&&t(y,x),d=s(j,d,R),C===null?b=j:C.sibling=j,C=j,x=k}if(w.done)return r(y,x),De&&Nn(y,R),b;if(x===null){for(;!w.done;R++,w=h.next())w=m(y,w.value,P),w!==null&&(d=s(w,d,R),C===null?b=w:C.sibling=w,C=w);return De&&Nn(y,R),b}for(x=o(y,x);!w.done;R++,w=h.next())w=v(x,y,R,w.value,P),w!==null&&(e&&w.alternate!==null&&x.delete(w.key===null?R:w.key),d=s(w,d,R),C===null?b=w:C.sibling=w,C=w);return e&&x.forEach(function(Q){return t(y,Q)}),De&&Nn(y,R),b}function S(y,d,h,P){if(typeof h=="object"&&h!==null&&h.type===js&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case mu:e:{for(var b=h.key,C=d;C!==null;){if(C.key===b){if(b=h.type,b===js){if(C.tag===7){r(y,C.sibling),d=n(C,h.props.children),d.return=y,y=d;break e}}else if(C.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Mo&&wv(b)===C.type){r(y,C.sibling),d=n(C,h.props),d.ref=ea(y,C,h),d.return=y,y=d;break e}r(y,C);break}else t(y,C);C=C.sibling}h.type===js?(d=$n(h.props.children,y.mode,P,h.key),d.return=y,y=d):(P=Bu(h.type,h.key,h.props,null,y.mode,P),P.ref=ea(y,d,h),P.return=y,y=P)}return i(y);case Ms:e:{for(C=h.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){r(y,d.sibling),d=n(d,h.children||[]),d.return=y,y=d;break e}else{r(y,d);break}else t(y,d);d=d.sibling}d=zd(h,y.mode,P),d.return=y,y=d}return i(y);case Mo:return C=h._init,S(y,d,C(h._payload),P)}if(sa(h))return T(y,d,h,P);if(Qi(h))return g(y,d,h,P);_u(y,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,d!==null&&d.tag===6?(r(y,d.sibling),d=n(d,h),d.return=y,y=d):(r(y,d),d=$d(h,y.mode,P),d.return=y,y=d),i(y)):r(y,d)}return S}var ti=X0(!0),Z0=X0(!1),$a={},Yr=Xo($a),ka=Xo($a),_a=Xo($a);function jn(e){if(e===$a)throw Error(F(174));return e}function rm(e,t){switch(Me(_a,t),Me(ka,e),Me(Yr,$a),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qd(t,e)}ze(Yr),Me(Yr,t)}function ri(){ze(Yr),ze(ka),ze(_a)}function J0(e){jn(_a.current);var t=jn(Yr.current),r=qd(t,e.type);t!==r&&(Me(ka,e),Me(Yr,r))}function om(e){ka.current===e&&(ze(Yr),ze(ka))}var We=Xo(0);function sp(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Nd=[];function nm(){for(var e=0;er?r:4,e(!0);var o=Id.transition;Id.transition={};try{e(!1),t()}finally{Ne=r,Id.transition=o}}function yT(){return Er().memoizedState}function sR(e,t,r){var o=Ko(e);if(r={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null},hT(e))gT(t,r);else if(r=G0(e,t,r,o),r!==null){var n=Ut();$r(r,e,o,n),vT(r,t,o)}}function iR(e,t,r){var o=Ko(e),n={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null};if(hT(e))gT(t,n);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,r);if(n.hasEagerState=!0,n.eagerState=a,zr(a,i)){var l=t.interleaved;l===null?(n.next=n,em(t)):(n.next=l.next,l.next=n),t.interleaved=n;return}}catch{}finally{}r=G0(e,t,n,o),r!==null&&(n=Ut(),$r(r,e,o,n),vT(r,t,o))}}function hT(e){var t=e.alternate;return e===He||t!==null&&t===He}function gT(e,t){fa=ip=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function vT(e,t,r){if((r&4194240)!==0){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Df(e,r)}}var ap={readContext:Cr,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useInsertionEffect:Rt,useLayoutEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useMutableSource:Rt,useSyncExternalStore:Rt,useId:Rt,unstable_isNewReconciler:!1},aR={readContext:Cr,useCallback:function(e,t){return Kr().memoizedState=[e,t===void 0?null:t],e},useContext:Cr,useEffect:kv,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,zu(4194308,4,pT.bind(null,t,e),r)},useLayoutEffect:function(e,t){return zu(4194308,4,e,t)},useInsertionEffect:function(e,t){return zu(4,2,e,t)},useMemo:function(e,t){var r=Kr();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var o=Kr();return t=r!==void 0?r(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=sR.bind(null,He,e),[o.memoizedState,e]},useRef:function(e){var t=Kr();return e={current:e},t.memoizedState=e},useState:Rv,useDebugValue:um,useDeferredValue:function(e){return Kr().memoizedState=e},useTransition:function(){var e=Rv(!1),t=e[0];return e=nR.bind(null,e[1]),Kr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=He,n=Kr();if(De){if(r===void 0)throw Error(F(407));r=r()}else{if(r=t(),pt===null)throw Error(F(349));(Dn&30)!==0||rT(o,t,r)}n.memoizedState=r;var s={value:r,getSnapshot:t};return n.queue=s,kv(nT.bind(null,o,s,e),[e]),o.flags|=2048,Ia(9,oT.bind(null,o,s,r,t),void 0,null),r},useId:function(){var e=Kr(),t=pt.identifierPrefix;if(De){var r=po,o=uo;r=(o&~(1<<32-Fr(o)-1)).toString(32)+r,t=":"+t+"R"+r,r=Oa++,0<\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=i.createElement(r,{is:o.is}):(e=i.createElement(r),r==="select"&&(i=e,o.multiple?i.multiple=!0:o.size&&(i.size=o.size))):e=i.createElementNS(e,r),e[Gr]=t,e[Ra]=o,RT(e,t,!1,!1),t.stateNode=e;e:{switch(i=Qd(r,o),r){case"dialog":$e("cancel",e),$e("close",e),n=o;break;case"iframe":case"object":case"embed":$e("load",e),n=o;break;case"video":case"audio":for(n=0;nni&&(t.flags|=128,o=!0,ta(s,!1),t.lanes=4194304)}else{if(!o)if(e=sp(i),e!==null){if(t.flags|=128,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ta(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!De)return kt(t),null}else 2*Xe()-s.renderingStartTime>ni&&r!==1073741824&&(t.flags|=128,o=!0,ta(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(r=s.last,r!==null?r.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Xe(),t.sibling=null,r=We.current,Me(We,o?r&1|2:r&1),t):(kt(t),null);case 22:case 23:return ym(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&(t.mode&1)!==0?(nr&1073741824)!==0&&(kt(t),t.subtreeFlags&6&&(t.flags|=8192)):kt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function yR(e,t){switch(Yf(t),t.tag){case 1:return Xt(t.type)&&Zu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ri(),ze(Qt),ze(Ot),nm(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return om(t),null;case 13:if(ze(We),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));ei()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ze(We),null;case 4:return ri(),null;case 10:return Jf(t.type._context),null;case 22:case 23:return ym(),null;case 24:return null;default:return null}}var Nu=!1,_t=!1,hR=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Ws(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(o){qe(e,t,o)}else r.current=null}function Ef(e,t,r){try{r()}catch(o){qe(e,t,o)}}var $v=!1;function gR(e,t){if(af=qu,e=L0(),Gf(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var n=o.anchorOffset,s=o.focusNode;o=o.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var i=0,a=-1,l=-1,u=0,p=0,m=e,f=null;t:for(;;){for(var v;m!==r||n!==0&&m.nodeType!==3||(a=i+n),m!==s||o!==0&&m.nodeType!==3||(l=i+o),m.nodeType===3&&(i+=m.nodeValue.length),(v=m.firstChild)!==null;)f=m,m=v;for(;;){if(m===e)break t;if(f===r&&++u===n&&(a=i),f===s&&++p===o&&(l=i),(v=m.nextSibling)!==null)break;m=f,f=m.parentNode}m=v}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(lf={focusedElem:e,selectionRange:r},qu=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var T=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(T!==null){var g=T.memoizedProps,S=T.memoizedState,y=t.stateNode,d=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:Lr(t.type,g),S);y.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(P){qe(t,t.return,P)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return T=$v,$v=!1,T}function ma(e,t,r){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var n=o=o.next;do{if((n.tag&e)===e){var s=n.destroy;n.destroy=void 0,s!==void 0&&Ef(t,r,s)}n=n.next}while(n!==o)}}function bp(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var o=r.create;r.destroy=o()}r=r.next}while(r!==t)}}function Sf(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function OT(e){var t=e.alternate;t!==null&&(e.alternate=null,OT(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Gr],delete t[Ra],delete t[cf],delete t[Jw],delete t[eR])),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 NT(e){return e.tag===5||e.tag===3||e.tag===4}function zv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||NT(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 wf(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Xu));else if(o!==4&&(e=e.child,e!==null))for(wf(e,t,r),e=e.sibling;e!==null;)wf(e,t,r),e=e.sibling}function Rf(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(Rf(e,t,r),e=e.sibling;e!==null;)Rf(e,t,r),e=e.sibling}var vt=null,Mr=!1;function Lo(e,t,r){for(r=r.child;r!==null;)IT(e,t,r),r=r.sibling}function IT(e,t,r){if(qr&&typeof qr.onCommitFiberUnmount=="function")try{qr.onCommitFiberUnmount(fp,r)}catch{}switch(r.tag){case 5:_t||Ws(r,t);case 6:var o=vt,n=Mr;vt=null,Lo(e,t,r),vt=o,Mr=n,vt!==null&&(Mr?(e=vt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):vt.removeChild(r.stateNode));break;case 18:vt!==null&&(Mr?(e=vt,r=r.stateNode,e.nodeType===8?_d(e.parentNode,r):e.nodeType===1&&_d(e,r),xa(e)):_d(vt,r.stateNode));break;case 4:o=vt,n=Mr,vt=r.stateNode.containerInfo,Mr=!0,Lo(e,t,r),vt=o,Mr=n;break;case 0:case 11:case 14:case 15:if(!_t&&(o=r.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){n=o=o.next;do{var s=n,i=s.destroy;s=s.tag,i!==void 0&&((s&2)!==0||(s&4)!==0)&&Ef(r,t,i),n=n.next}while(n!==o)}Lo(e,t,r);break;case 1:if(!_t&&(Ws(r,t),o=r.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=r.memoizedProps,o.state=r.memoizedState,o.componentWillUnmount()}catch(a){qe(r,t,a)}Lo(e,t,r);break;case 21:Lo(e,t,r);break;case 22:r.mode&1?(_t=(o=_t)||r.memoizedState!==null,Lo(e,t,r),_t=o):Lo(e,t,r);break;default:Lo(e,t,r)}}function Av(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new hR),t.forEach(function(o){var n=wR.bind(null,e,o);r.has(o)||(r.add(o),o.then(n,n))})}}function Ir(e,t){var r=t.deletions;if(r!==null)for(var o=0;on&&(n=i),o&=~s}if(o=n,o=Xe()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*TR(o/1960))-o,10e?16:e,Ao===null)var o=!1;else{if(e=Ao,Ao=null,pp=0,(xe&6)!==0)throw Error(F(331));var n=xe;for(xe|=4,Z=e.current;Z!==null;){var s=Z,i=s.child;if((Z.flags&16)!==0){var a=s.deletions;if(a!==null){for(var l=0;lXe()-fm?Fn(e,0):dm|=r),Zt(e,t)}function DT(e,t){t===0&&((e.mode&1)===0?t=1:(t=vu,vu<<=1,(vu&130023424)===0&&(vu=4194304)));var r=Ut();e=yo(e,t),e!==null&&(Ma(e,t,r),Zt(e,r))}function SR(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),DT(e,r)}function wR(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,n=e.memoizedState;n!==null&&(r=n.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(F(314))}o!==null&&o.delete(t),DT(e,r)}var UT;UT=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qt.current)Yt=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return Yt=!1,fR(e,t,r);Yt=(e.flags&131072)!==0}else Yt=!1,De&&(t.flags&1048576)!==0&&W0(t,tp,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Au(e,t),e=t.pendingProps;var n=Js(t,Ot.current);Qs(t,r),n=im(null,t,o,e,n,r);var s=am();return t.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Xt(o)?(s=!0,Ju(t)):s=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,tm(t),n.updater=Tp,t.stateNode=n,n._reactInternals=t,gf(t,o,e,r),t=Pf(null,t,o,!0,s,r)):(t.tag=0,De&&s&&qf(t),Dt(null,t,n,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Au(e,t),e=t.pendingProps,n=o._init,o=n(o._payload),t.type=o,n=t.tag=kR(o),e=Lr(o,e),n){case 0:t=Tf(null,t,o,e,r);break e;case 1:t=Mv(null,t,o,e,r);break e;case 11:t=Iv(null,t,o,e,r);break e;case 14:t=Lv(null,t,o,Lr(o.type,e),r);break e}throw Error(F(306,o,""))}return t;case 0:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Lr(o,n),Tf(e,t,o,n,r);case 1:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Lr(o,n),Mv(e,t,o,n,r);case 3:e:{if(ET(t),e===null)throw Error(F(387));o=t.pendingProps,s=t.memoizedState,n=s.element,q0(e,t),np(t,o,null,r);var i=t.memoizedState;if(o=i.element,s.isDehydrated)if(s={element:o,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){n=oi(Error(F(423)),t),t=jv(e,t,o,r,n);break e}else if(o!==n){n=oi(Error(F(424)),t),t=jv(e,t,o,r,n);break e}else for(sr=Vo(t.stateNode.containerInfo.firstChild),ir=t,De=!0,jr=null,r=Z0(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(ei(),o===n){t=ho(e,t,r);break e}Dt(e,t,o,r)}t=t.child}return t;case 5:return J0(t),e===null&&mf(t),o=t.type,n=t.pendingProps,s=e!==null?e.memoizedProps:null,i=n.children,uf(o,n)?i=null:s!==null&&uf(o,s)&&(t.flags|=32),CT(e,t),Dt(e,t,i,r),t.child;case 6:return e===null&&mf(t),null;case 13:return ST(e,t,r);case 4:return rm(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=ti(t,null,o,r):Dt(e,t,o,r),t.child;case 11:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Lr(o,n),Iv(e,t,o,n,r);case 7:return Dt(e,t,t.pendingProps,r),t.child;case 8:return Dt(e,t,t.pendingProps.children,r),t.child;case 12:return Dt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,n=t.pendingProps,s=t.memoizedProps,i=n.value,Me(rp,o._currentValue),o._currentValue=i,s!==null)if(zr(s.value,i)){if(s.children===n.children&&!Qt.current){t=ho(e,t,r);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var l=a.firstContext;l!==null;){if(l.context===o){if(s.tag===1){l=co(-1,r&-r),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var p=u.pending;p===null?l.next=l:(l.next=p.next,p.next=l),u.pending=l}}s.lanes|=r,l=s.alternate,l!==null&&(l.lanes|=r),yf(s.return,r,t),a.lanes|=r;break}l=l.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(F(341));i.lanes|=r,a=i.alternate,a!==null&&(a.lanes|=r),yf(i,r,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Dt(e,t,n.children,r),t=t.child}return t;case 9:return n=t.type,o=t.pendingProps.children,Qs(t,r),n=Cr(n),o=o(n),t.flags|=1,Dt(e,t,o,r),t.child;case 14:return o=t.type,n=Lr(o,t.pendingProps),n=Lr(o.type,n),Lv(e,t,o,n,r);case 15:return bT(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Lr(o,n),Au(e,t),t.tag=1,Xt(o)?(e=!0,Ju(t)):e=!1,Qs(t,r),Q0(t,o,n),gf(t,o,n,r),Pf(null,t,o,!0,e,r);case 19:return wT(e,t,r);case 22:return xT(e,t,r)}throw Error(F(156,t.tag))};function BT(e,t){return m0(e,t)}function RR(e,t,r,o){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function br(e,t,r,o){return new RR(e,t,r,o)}function gm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kR(e){if(typeof e=="function")return gm(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ff)return 11;if(e===$f)return 14}return 2}function Go(e,t){var r=e.alternate;return r===null?(r=br(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Bu(e,t,r,o,n,s){var i=2;if(o=e,typeof e=="function")gm(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case js:return $n(r.children,n,s,t);case jf:i=8,n|=8;break;case Dd:return e=br(12,r,t,n|2),e.elementType=Dd,e.lanes=s,e;case Ud:return e=br(13,r,t,n),e.elementType=Ud,e.lanes=s,e;case Bd:return e=br(19,r,t,n),e.elementType=Bd,e.lanes=s,e;case Xv:return Cp(r,n,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Yv:i=10;break e;case Qv:i=9;break e;case Ff:i=11;break e;case $f:i=14;break e;case Mo:i=16,o=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=br(i,r,t,n),t.elementType=e,t.type=o,t.lanes=s,t}function $n(e,t,r,o){return e=br(7,e,o,t),e.lanes=r,e}function Cp(e,t,r,o){return e=br(22,e,o,t),e.elementType=Xv,e.lanes=r,e.stateNode={isHidden:!1},e}function $d(e,t,r){return e=br(6,e,null,t),e.lanes=r,e}function zd(e,t,r){return t=br(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _R(e,t,r,o,n){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=bd(0),this.expirationTimes=bd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bd(0),this.identifierPrefix=o,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function vm(e,t,r,o,n,s,i,a,l){return e=new _R(e,t,r,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=br(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:o,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},tm(s),e}function OR(e,t,r){var o=3{"use strict";function GT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(GT)}catch(e){console.error(e)}}GT(),qT.exports=KT()});function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[r]=Fy(e[r])}),t}function Ge(e,t,r={clone:!0}){let o=r.clone?c({},e):e;return ro(e)&&ro(t)&&Object.keys(t).forEach(n=>{n!=="__proto__"&&(ro(t[n])&&n in e&&ro(e[n])?o[n]=Ge(e[n],t[n],r):r.clone?o[n]=ro(t[n])?Fy(t[n]):t[n]:o[n]=t[n])}),o}function St(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rr==null?t:function(...n){t.apply(this,n),r.apply(this,n)},()=>{})}function is(e,t=166){let r;function o(...n){let s=()=>{e.apply(this,n)};clearTimeout(r),r=setTimeout(s,t)}return o.clear=()=>{clearTimeout(r)},o}var Zy=E($());function wl(e,t){return Zy.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Ye(e){return e&&e.ownerDocument||document}function Rr(e){return Ye(e).defaultView||window}function dn(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var Rl=E($()),_1=typeof window<"u"?Rl.useLayoutEffect:Rl.useEffect,hr=_1;var ls=E($()),Jy=0;function O1(e){let[t,r]=ls.useState(e),o=e||t;return ls.useEffect(()=>{t==null&&(Jy+=1,r(`mui-${Jy}`))},[t]),o}var eh=ls.useId;function kl(e){if(eh!==void 0){let t=eh();return e??t}return O1(e)}var fn=E($());function us({controlled:e,default:t,name:r,state:o="value"}){let{current:n}=fn.useRef(e!==void 0),[s,i]=fn.useState(t),a=n?e:s,l=fn.useCallback(u=>{n||i(u)},[]);return[a,l]}var _l=E($());function kr(e){let t=_l.useRef(e);return hr(()=>{t.current=e}),_l.useCallback((...r)=>(0,t.current)(...r),[])}var th=E($());function mt(...e){return th.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{dn(r,t)})},e)}var Ol=E($()),Nl=!0,wc=!1,rh,N1={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 I1(e){let{type:t,tagName:r}=e;return!!(r==="INPUT"&&N1[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function L1(e){e.metaKey||e.altKey||e.ctrlKey||(Nl=!0)}function Sc(){Nl=!1}function M1(){this.visibilityState==="hidden"&&wc&&(Nl=!0)}function j1(e){e.addEventListener("keydown",L1,!0),e.addEventListener("mousedown",Sc,!0),e.addEventListener("pointerdown",Sc,!0),e.addEventListener("touchstart",Sc,!0),e.addEventListener("visibilitychange",M1,!0)}function F1(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Nl||I1(t)}function ps(){let e=Ol.useCallback(n=>{n!=null&&j1(n.ownerDocument)},[]),t=Ol.useRef(!1);function r(){return t.current?(wc=!0,window.clearTimeout(rh),rh=window.setTimeout(()=>{wc=!1},100),t.current=!1,!0):!1}function o(n){return F1(n)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:o,onBlur:r,ref:e}}function cs(e){let t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var $1={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Rc=$1;function mn(e,t){let r=c({},t);return Object.keys(e).forEach(o=>{if(o.toString().match(/^(components|slots)$/))r[o]=c({},e[o],r[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){let n=e[o]||{},s=t[o];r[o]={},!s||!Object.keys(s)?r[o]=n:!n||!Object.keys(n)?r[o]=s:(r[o]=c({},s),Object.keys(n).forEach(i=>{r[o][i]=mn(n[i],s[i])}))}else r[o]===void 0&&(r[o]=e[o])}),r}function q(e,t,r){let o={};return Object.keys(e).forEach(n=>{o[n]=e[n].reduce((s,i)=>(i&&(s.push(t(i)),r&&r[i]&&s.push(r[i])),s),[]).join(" ")}),o}var oh=e=>e,z1=()=>{let e=oh;return{configure(t){e=t},generate(t){return e(t)},reset(){e=oh}}},A1=z1(),kc=A1;var D1={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function G(e,t,r="Mui"){let o=D1[t];return o?`${r}-${o}`:`${kc.generate(e)}-${t}`}function K(e,t,r="Mui"){let o={};return t.forEach(n=>{o[n]=G(e,n,r)}),o}function O(e,t){if(e==null)return{};var r={},o=Object.keys(e),n,s;for(s=0;s=0)&&(r[n]=e[n]);return r}var tM=E($());function U1(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Il=U1;var B1=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,V1=Il(function(e){return B1.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),nh=V1;var wo=E($());var Cs=E($());function W1(e){if(e.sheet)return e.sheet;for(var t=0;t0?Qe(vs,--zt):0,hs--,et===10&&(hs=1,Fl--),et}function At(){return et=zt2||gs(et)>3?"":" "}function mh(e,t){for(;--t&&At()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return Ps(e,Li()+(t<6&&gr()==32&&At()==32))}function Nc(e){for(;At();)switch(et){case e:return zt;case 34:case 39:e!==34&&e!==39&&Nc(et);break;case 40:e===41&&Nc(e);break;case 92:At();break}return zt}function yh(e,t){for(;At()&&e+et!==47+10;)if(e+et===42+42&&gr()===47)break;return"/*"+Ps(t,zt-1)+"*"+yn(e===47?e:At())}function hh(e){for(;!gs(gr());)At();return Ps(e,zt)}function Th(e){return zl(Al("",null,null,null,[""],e=$l(e),0,[0],e))}function Al(e,t,r,o,n,s,i,a,l){for(var u=0,p=0,m=i,f=0,v=0,T=0,g=1,S=1,y=1,d=0,h="",P=n,b=s,C=o,x=h;S;)switch(T=d,d=At()){case 40:if(T!=108&&Qe(x,m-1)==58){Ni(x+=be(bs(d),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:x+=bs(d);break;case 9:case 10:case 13:case 32:x+=fh(T);break;case 92:x+=mh(Li()-1,7);continue;case 47:switch(gr()){case 42:case 47:ys(K1(yh(At(),Li()),t,r),l);break;default:x+="/"}break;case 123*g:a[u++]=$t(x)*y;case 125*g:case 59:case 0:switch(d){case 0:case 125:S=0;case 59+p:v>0&&$t(x)-m&&ys(v>32?vh(x+";",o,r,m-1):vh(be(x," ","")+";",o,r,m-2),l);break;case 59:x+=";";default:if(ys(C=gh(x,t,r,u,p,n,a,h,P=[],b=[],m),s),d===123)if(p===0)Al(x,t,C,C,P,s,m,a,b);else switch(f===99&&Qe(x,3)===110?100:f){case 100:case 109:case 115:Al(e,C,C,o&&ys(gh(e,C,C,0,0,n,a,h,n,P=[],m),b),n,b,m,a,o?P:b);break;default:Al(x,C,C,C,[""],b,0,a,b)}}u=p=v=0,g=y=1,h=x="",m=i;break;case 58:m=1+$t(x),v=T;default:if(g<1){if(d==123)--g;else if(d==125&&g++==0&&dh()==125)continue}switch(x+=yn(d),d*g){case 38:y=p>0?1:(x+="\f",-1);break;case 44:a[u++]=($t(x)-1)*y,y=1;break;case 64:gr()===45&&(x+=bs(At())),f=gr(),p=m=$t(h=x+=hh(Li())),d++;break;case 45:T===45&&$t(x)==2&&(g=0)}}return s}function gh(e,t,r,o,n,s,i,a,l,u,p){for(var m=n-1,f=n===0?s:[""],v=ms(f),T=0,g=0,S=0;T0?f[y]+" "+d:be(d,/&\f/g,f[y])))&&(l[S++]=h);return Ii(e,t,r,n===0?ds:a,l,u,p)}function K1(e,t,r){return Ii(e,t,r,Ll,yn(ch()),Eo(e,2,-2),0)}function vh(e,t,r,o){return Ii(e,t,r,fs,Eo(e,0,o),Eo(e,o+1,-1),o)}function hn(e,t){for(var r="",o=ms(e),n=0;n6)switch(Qe(e,t+1)){case 109:if(Qe(e,t+4)!==45)break;case 102:return be(e,/(.+:)(.+)-([^]+)/,"$1"+Ee+"$2-$3$1"+Oi+(Qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ni(e,"stretch")?Eh(be(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qe(e,t+1)!==115)break;case 6444:switch(Qe(e,$t(e)-3-(~Ni(e,"!important")&&10))){case 107:return be(e,":",":"+Ee)+e;case 101:return be(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ee+(Qe(e,14)===45?"inline-":"")+"box$3$1"+Ee+"$2$3$1"+yt+"$2box$3")+e}break;case 5936:switch(Qe(e,t+11)){case 114:return Ee+e+yt+be(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ee+e+yt+be(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ee+e+yt+be(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ee+e+yt+e+e}return e}var Z1=function(t,r,o,n){if(t.length>-1&&!t.return)switch(t.type){case fs:t.return=Eh(t.value,t.length);break;case Ml:return hn([Ts(t,{value:be(t.value,"@","@"+Ee)})],n);case ds:if(t.length)return Oc(t.props,function(s){switch(_c(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hn([Ts(t,{props:[be(s,/:(read-\w+)/,":"+Oi+"$1")]})],n);case"::placeholder":return hn([Ts(t,{props:[be(s,/:(plac\w+)/,":"+Ee+"input-$1")]}),Ts(t,{props:[be(s,/:(plac\w+)/,":"+Oi+"$1")]}),Ts(t,{props:[be(s,/:(plac\w+)/,yt+"input-$1")]})],n)}return""})}},J1=[Z1],eC=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(g){var S=g.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var n=t.stylisPlugins||J1,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(g){for(var S=g.getAttribute("data-emotion").split(" "),y=1;y=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 $h=mC;var yC={animationIterationCount: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},zh=yC;var hC=/[A-Z]|^ms/g,gC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bh=function(t){return t.charCodeAt(1)===45},Ah=function(t){return t!=null&&typeof t!="boolean"},$c=Il(function(e){return Bh(e)?e:e.replace(hC,"-$&").toLowerCase()}),Dh=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(gC,function(o,n,s){return Br={name:n,styles:s,next:Br},n})}return zh[t]!==1&&!Bh(t)&&typeof r=="number"&&r!==0?r+"px":r};function Fi(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Br={name:r.name,styles:r.styles,next:Br},r.name;if(r.styles!==void 0){var o=r.next;if(o!==void 0)for(;o!==void 0;)Br={name:o.name,styles:o.styles,next:Br},o=o.next;var n=r.styles+";";return n}return vC(e,t,r)}case"function":{if(e!==void 0){var s=Br,i=r(e);return Br=s,Fi(e,t,i)}break}case"string":if(!1)var a,l;break}if(t==null)return r;var u=t[r];return u!==void 0?u:r}function vC(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n96?xC:CC},qh=function(t,r,o){var n;if(r){var s=r.shouldForwardProp;n=t.__emotion_forwardProp&&s?function(i){return t.__emotion_forwardProp(i)&&s(i)}:s}return typeof n!="function"&&o&&(n=t.__emotion_forwardProp),n};var EC=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;Mi(r,o,n);var s=Xl(function(){return ji(r,o,n)});return null},SC=function e(t,r){var o=t.__emotion_real===t,n=o&&t.__emotion_base||t,s,i;r!==void 0&&(s=r.label,i=r.target);var a=qh(t,r,o),l=a||Gh(n),u=!l("as");return function(){var p=arguments,m=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&m.push("label:"+s+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{m.push(p[0][0]);for(var f=p.length,v=1;vt(LC(n)?r:n):t})}function Uc(e,t){return Qh(e,t)}var tg=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function MC(e,t){return t?Ge(e,t,{clone:!1}):e}var Ro=MC;var Jl={xs:0,sm:600,md:900,lg:1200,xl:1536},rg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Jl[e]}px)`};function tt(e,t,r){let o=e.theme||{};if(Array.isArray(t)){let s=o.breakpoints||rg;return t.reduce((i,a,l)=>(i[s.up(s.keys[l])]=r(t[l]),i),{})}if(typeof t=="object"){let s=o.breakpoints||rg;return Object.keys(t).reduce((i,a)=>{if(Object.keys(s.values||Jl).indexOf(a)!==-1){let l=s.up(a);i[l]=r(t[a],a)}else{let l=a;i[l]=t[l]}return i},{})}return r(t)}function og(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((o,n)=>{let s=e.up(n);return o[s]={},o},{}))||{}}function ng(e,t){return e.reduce((r,o)=>{let n=r[o];return(!n||Object.keys(n).length===0)&&delete r[o],r},t)}function jC(e,t){if(typeof e!="object")return{};let r={},o=Object.keys(t);return Array.isArray(e)?o.forEach((n,s)=>{s{e[n]!=null&&(r[n]=!0)}),r}function ws({values:e,breakpoints:t,base:r}){let o=r||jC(e,t),n=Object.keys(o);if(n.length===0)return e;let s;return n.reduce((i,a,l)=>(Array.isArray(e)?(i[a]=e[l]!=null?e[l]:e[s],s=l):typeof e=="object"?(i[a]=e[a]!=null?e[a]:e[s],s=a):i[a]=e,i),{})}function Rs(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){let o=`vars.${t}`.split(".").reduce((n,s)=>n&&n[s]?n[s]:null,e);if(o!=null)return o}return t.split(".").reduce((o,n)=>o&&o[n]!=null?o[n]:null,e)}function zi(e,t,r,o=r){let n;return typeof e=="function"?n=e(r):Array.isArray(e)?n=e[r]||o:n=Rs(e,r)||o,t&&(n=t(n,o,e)),n}function FC(e){let{prop:t,cssProperty:r=e.prop,themeKey:o,transform:n}=e,s=i=>{if(i[t]==null)return null;let a=i[t],l=i.theme,u=Rs(l,o)||{};return tt(i,a,m=>{let f=zi(u,n,m);return m===f&&typeof m=="string"&&(f=zi(u,n,`${t}${m==="default"?"":yr(m)}`,m)),r===!1?f:{[r]:f}})};return s.propTypes={},s.filterProps=[t],s}var Pe=FC;function $C(...e){let t=e.reduce((o,n)=>(n.filterProps.forEach(s=>{o[s]=n}),o),{}),r=o=>Object.keys(o).reduce((n,s)=>t[s]?Ro(n,t[s](o)):n,{});return r.propTypes={},r.filterProps=e.reduce((o,n)=>o.concat(n.filterProps),[]),r}var ko=$C;function Bc(e){let t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}var zC={m:"margin",p:"padding"},AC={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},sg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},DC=Bc(e=>{if(e.length>2)if(sg[e])e=sg[e];else return[e];let[t,r]=e.split(""),o=zC[t],n=AC[r]||"";return Array.isArray(n)?n.map(s=>o+s):[o+n]}),Vc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Wc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],ig=[...Vc,...Wc];function gn(e,t,r,o){var n;let s=(n=Rs(e,t,!1))!=null?n:r;return typeof s=="number"?i=>typeof i=="string"?i:s*i:Array.isArray(s)?i=>typeof i=="string"?i:s[i]:typeof s=="function"?s:()=>{}}function Hc(e){return gn(e,"spacing",8,"spacing")}function vn(e,t){if(typeof t=="string"||t==null)return t;let r=Math.abs(t),o=e(r);return t>=0?o:typeof o=="number"?-o:`-${o}`}function UC(e,t){return r=>e.reduce((o,n)=>(o[n]=vn(t,r),o),{})}function BC(e,t,r,o){if(t.indexOf(r)===-1)return null;let n=DC(r),s=UC(n,o),i=e[r];return tt(e,i,s)}function Kc(e,t){let r=Hc(e.theme);return Object.keys(e).map(o=>BC(e,t,o,r)).reduce(Ro,{})}function Be(e){return Kc(e,Vc)}Be.propTypes={};Be.filterProps=Vc;function Ve(e){return Kc(e,Wc)}Ve.propTypes={};Ve.filterProps=Wc;function ag(e){return Kc(e,ig)}ag.propTypes={};ag.filterProps=ig;function _r(e){return typeof e!="number"?e:`${e}px solid`}var VC=Pe({prop:"border",themeKey:"borders",transform:_r}),WC=Pe({prop:"borderTop",themeKey:"borders",transform:_r}),HC=Pe({prop:"borderRight",themeKey:"borders",transform:_r}),KC=Pe({prop:"borderBottom",themeKey:"borders",transform:_r}),GC=Pe({prop:"borderLeft",themeKey:"borders",transform:_r}),qC=Pe({prop:"borderColor",themeKey:"palette"}),YC=Pe({prop:"borderTopColor",themeKey:"palette"}),QC=Pe({prop:"borderRightColor",themeKey:"palette"}),XC=Pe({prop:"borderBottomColor",themeKey:"palette"}),ZC=Pe({prop:"borderLeftColor",themeKey:"palette"}),Ai=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=gn(e.theme,"shape.borderRadius",4,"borderRadius"),r=o=>({borderRadius:vn(t,o)});return tt(e,e.borderRadius,r)}return null};Ai.propTypes={};Ai.filterProps=["borderRadius"];var zM=ko(VC,WC,HC,KC,GC,qC,YC,QC,XC,ZC,Ai);var Di=e=>{if(e.gap!==void 0&&e.gap!==null){let t=gn(e.theme,"spacing",8,"gap"),r=o=>({gap:vn(t,o)});return tt(e,e.gap,r)}return null};Di.propTypes={};Di.filterProps=["gap"];var Ui=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=gn(e.theme,"spacing",8,"columnGap"),r=o=>({columnGap:vn(t,o)});return tt(e,e.columnGap,r)}return null};Ui.propTypes={};Ui.filterProps=["columnGap"];var Bi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=gn(e.theme,"spacing",8,"rowGap"),r=o=>({rowGap:vn(t,o)});return tt(e,e.rowGap,r)}return null};Bi.propTypes={};Bi.filterProps=["rowGap"];var JC=Pe({prop:"gridColumn"}),eE=Pe({prop:"gridRow"}),tE=Pe({prop:"gridAutoFlow"}),rE=Pe({prop:"gridAutoColumns"}),oE=Pe({prop:"gridAutoRows"}),nE=Pe({prop:"gridTemplateColumns"}),sE=Pe({prop:"gridTemplateRows"}),iE=Pe({prop:"gridTemplateAreas"}),aE=Pe({prop:"gridArea"}),WM=ko(Di,Ui,Bi,JC,eE,tE,rE,oE,nE,sE,iE,aE);function Tn(e,t){return t==="grey"?t:e}var lE=Pe({prop:"color",themeKey:"palette",transform:Tn}),uE=Pe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Tn}),pE=Pe({prop:"backgroundColor",themeKey:"palette",transform:Tn}),qM=ko(lE,uE,pE);function Ht(e){return e<=1&&e!==0?`${e*100}%`:e}var cE=Pe({prop:"width",transform:Ht}),eu=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let t=r=>{var o,n,s;return{maxWidth:((o=e.theme)==null||(n=o.breakpoints)==null||(s=n.values)==null?void 0:s[r])||Jl[r]||Ht(r)}};return tt(e,e.maxWidth,t)}return null};eu.filterProps=["maxWidth"];var dE=Pe({prop:"minWidth",transform:Ht}),fE=Pe({prop:"height",transform:Ht}),mE=Pe({prop:"maxHeight",transform:Ht}),yE=Pe({prop:"minHeight",transform:Ht}),JM=Pe({prop:"size",cssProperty:"width",transform:Ht}),e5=Pe({prop:"size",cssProperty:"height",transform:Ht}),hE=Pe({prop:"boxSizing"}),t5=ko(cE,eu,dE,fE,mE,yE,hE);var gE={border:{themeKey:"borders",transform:_r},borderTop:{themeKey:"borders",transform:_r},borderRight:{themeKey:"borders",transform:_r},borderBottom:{themeKey:"borders",transform:_r},borderLeft:{themeKey:"borders",transform:_r},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ai},color:{themeKey:"palette",transform:Tn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Tn},backgroundColor:{themeKey:"palette",transform:Tn},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:Be},mt:{style:Be},mr:{style:Be},mb:{style:Be},ml:{style:Be},mx:{style:Be},my:{style:Be},margin:{style:Be},marginTop:{style:Be},marginRight:{style:Be},marginBottom:{style:Be},marginLeft:{style:Be},marginX:{style:Be},marginY:{style:Be},marginInline:{style:Be},marginInlineStart:{style:Be},marginInlineEnd:{style:Be},marginBlock:{style:Be},marginBlockStart:{style:Be},marginBlockEnd:{style:Be},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:Di},rowGap:{style:Bi},columnGap:{style:Ui},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ht},maxWidth:{style:eu},minWidth:{transform:Ht},height:{transform:Ht},maxHeight:{transform:Ht},minHeight:{transform:Ht},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Vr=gE;function vE(...e){let t=e.reduce((o,n)=>o.concat(Object.keys(n)),[]),r=new Set(t);return e.every(o=>r.size===Object.keys(o).length)}function TE(e,t){return typeof e=="function"?e(t):e}function lg(){function e(r,o,n,s){let i={[r]:o,theme:n},a=s[r];if(!a)return{[r]:o};let{cssProperty:l=r,themeKey:u,transform:p,style:m}=a;if(o==null)return null;let f=Rs(n,u)||{};return m?m(i):tt(i,o,T=>{let g=zi(f,p,T);return T===g&&typeof T=="string"&&(g=zi(f,p,`${r}${T==="default"?"":yr(T)}`,T)),l===!1?g:{[l]:g}})}function t(r){var o;let{sx:n,theme:s={}}=r||{};if(!n)return null;let i=(o=s.unstable_sxConfig)!=null?o:Vr;function a(l){let u=l;if(typeof l=="function")u=l(s);else if(typeof l!="object")return l;if(!u)return null;let p=og(s.breakpoints),m=Object.keys(p),f=p;return Object.keys(u).forEach(v=>{let T=TE(u[v],s);if(T!=null)if(typeof T=="object")if(i[v])f=Ro(f,e(v,T,s,i));else{let g=tt({theme:s},T,S=>({[v]:S}));vE(g,T)?f[v]=t({sx:T,theme:s}):f=Ro(f,g)}else f=Ro(f,e(v,T,s,i))}),ng(m,f)}return Array.isArray(n)?n.map(a):a(n)}return t}var ug=lg();ug.filterProps=["sx"];var _o=ug;var PE=["sx"],bE=e=>{var t,r;let o={systemProps:{},otherProps:{}},n=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Vr;return Object.keys(e).forEach(s=>{n[s]?o.systemProps[s]=e[s]:o.otherProps[s]=e[s]}),o};function Pn(e){let{sx:t}=e,r=O(e,PE),{systemProps:o,otherProps:n}=bE(r),s;return Array.isArray(t)?s=[o,...t]:typeof t=="function"?s=(...i)=>{let a=t(...i);return ro(a)?c({},o,a):o}:s=c({},o,t),c({},n,{sx:s})}function pg(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t{let t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,o)=>r.val-o.val),t.reduce((r,o)=>c({},r,{[o.key]:o.val}),{})};function Gc(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5}=e,n=O(e,CE),s=EE(t),i=Object.keys(s);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-o/100}${r})`}function u(f,v){let T=i.indexOf(v);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r}) and (max-width:${(T!==-1&&typeof t[i[T]]=="number"?t[i[T]]:v)-o/100}${r})`}function p(f){return i.indexOf(f)+1(o.length===0?[1]:o).map(s=>{let i=t(s);return typeof i=="number"?`${i}px`:i}).join(" ");return r.mui=!0,r}var wE=["breakpoints","palette","spacing","shape"];function RE(e={},...t){let{breakpoints:r={},palette:o={},spacing:n,shape:s={}}=e,i=O(e,wE),a=Gc(r),l=qc(n),u=Ge({breakpoints:a,direction:"ltr",components:{},palette:c({mode:"light"},o),spacing:l,shape:c({},cg,s)},i);return u=t.reduce((p,m)=>Ge(p,m),u),u.unstable_sxConfig=c({},Vr,i?.unstable_sxConfig),u.unstable_sx=function(m){return _o({sx:m,theme:this})},u}var Oo=RE;var mg=E($());var dg=E($()),kE=dg.createContext(null),tu=kE;var Yc=E($());function bn(){return Yc.useContext(tu)}var _E=typeof Symbol=="function"&&Symbol.for,fg=_E?Symbol.for("mui.nested"):"__THEME_NESTED__";var yg=E(B());function OE(e,t){return typeof t=="function"?t(e):c({},e,t)}function NE(e){let{children:t,theme:r}=e,o=bn(),n=mg.useMemo(()=>{let s=o===null?r:OE(o,r);return s!=null&&(s[fg]=o!==null),s},[r,o]);return(0,yg.jsx)(tu.Provider,{value:n,children:t})}var ru=NE;function IE(e){return Object.keys(e).length===0}function LE(e=null){let t=bn();return!t||IE(t)?e:t}var hg=LE;var ME=Oo();function jE(e=ME){return hg(e)}var xn=jE;var FE=["variant"];function gg(e){return e.length===0}function ou(e){let{variant:t}=e,r=O(e,FE),o=t||"";return Object.keys(r).sort().forEach(n=>{n==="color"?o+=gg(o)?e[n]:yr(e[n]):o+=`${gg(o)?n:yr(n)}${yr(e[n].toString())}`}),o}var $E=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],zE=["theme"],AE=["theme"];function Vi(e){return Object.keys(e).length===0}function DE(e){return typeof e=="string"&&e.charCodeAt(0)>96}var UE=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,BE=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);let o={};return r.forEach(n=>{let s=ou(n.props);o[s]=n.style}),o},VE=(e,t,r,o)=>{var n,s;let{ownerState:i={}}=e,a=[],l=r==null||(n=r.components)==null||(s=n[o])==null?void 0:s.variants;return l&&l.forEach(u=>{let p=!0;Object.keys(u.props).forEach(m=>{i[m]!==u.props[m]&&e[m]!==u.props[m]&&(p=!1)}),p&&a.push(t[ou(u.props)])}),a};function ks(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var WE=Oo();function nu(e={}){let{defaultTheme:t=WE,rootShouldForwardProp:r=ks,slotShouldForwardProp:o=ks}=e,n=s=>{let i=Vi(s.theme)?t:s.theme;return _o(c({},s,{theme:i}))};return n.__mui_systemSx=!0,(s,i={})=>{tg(s,h=>h.filter(P=>!(P!=null&&P.__mui_systemSx)));let{name:a,slot:l,skipVariantsResolver:u,skipSx:p,overridesResolver:m}=i,f=O(i,$E),v=u!==void 0?u:l&&l!=="Root"||!1,T=p||!1,g,S=ks;l==="Root"?S=r:l?S=o:DE(s)&&(S=void 0);let y=Uc(s,c({shouldForwardProp:S,label:g},f)),d=(h,...P)=>{let b=P?P.map(k=>typeof k=="function"&&k.__emotion_real!==k?w=>{let{theme:j}=w,Q=O(w,zE);return k(c({theme:Vi(j)?t:j},Q))}:k):[],C=h;a&&m&&b.push(k=>{let w=Vi(k.theme)?t:k.theme,j=UE(a,w);if(j){let Q={};return Object.entries(j).forEach(([ee,I])=>{Q[ee]=typeof I=="function"?I(c({},k,{theme:w})):I}),m(k,Q)}return null}),a&&!v&&b.push(k=>{let w=Vi(k.theme)?t:k.theme;return VE(k,BE(a,w),w,a)}),T||b.push(n);let x=b.length-P.length;if(Array.isArray(h)&&x>0){let k=new Array(x).fill("");C=[...h,...k],C.raw=[...h.raw,...k]}else typeof h=="function"&&h.__emotion_real!==h&&(C=k=>{let{theme:w}=k,j=O(k,AE);return h(c({theme:Vi(w)?t:w},j))});return y(C,...b)};return y.withConfig&&(d.withConfig=y.withConfig),d}}function su(e){let{theme:t,name:r,props:o}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?o:mn(t.components[r].defaultProps,o)}function Wi({props:e,name:t,defaultTheme:r}){let o=xn(r);return su({theme:o,name:t,props:e})}function Qc(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function HE(e){e=e.slice(1);let t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&r[0].length===1&&(r=r.map(o=>o+o)),r?`rgb${r.length===4?"a":""}(${r.map((o,n)=>n<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Cn(e){if(e.type)return e;if(e.charAt(0)==="#")return Cn(HE(e));let t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(St(9,e));let o=e.substring(t+1,e.length-1),n;if(r==="color"){if(o=o.split(" "),n=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n)===-1)throw new Error(St(10,n))}else o=o.split(",");return o=o.map(s=>parseFloat(s)),{type:r,values:o,colorSpace:n}}function iu(e){let{type:t,colorSpace:r}=e,{values:o}=e;return t.indexOf("rgb")!==-1?o=o.map((n,s)=>s<3?parseInt(n,10):n):t.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.indexOf("color")!==-1?o=`${r} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function KE(e){e=Cn(e);let{values:t}=e,r=t[0],o=t[1]/100,n=t[2]/100,s=o*Math.min(n,1-n),i=(u,p=(u+r/30)%12)=>n-s*Math.max(Math.min(p-3,9-p,1),-1),a="rgb",l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),iu({type:a,values:l})}function vg(e){e=Cn(e);let t=e.type==="hsl"||e.type==="hsla"?Cn(KE(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Tg(e,t){let r=vg(e),o=vg(t);return(Math.max(r,o)+.05)/(Math.min(r,o)+.05)}function st(e,t){return e=Cn(e),t=Qc(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,iu(e)}function so(e,t){if(e=Cn(e),t=Qc(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 r=0;r<3;r+=1)e.values[r]*=1-t;return iu(e)}function io(e,t){if(e=Cn(e),t=Qc(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return iu(e)}var _j=E($());var au=E(B()),GE={};function qE(e){let t=xn();return(0,au.jsx)(So.Provider,{value:typeof t=="object"?t:GE,children:e.children})}function YE(e){let{children:t,theme:r}=e;return(0,au.jsx)(ru,{theme:r,children:(0,au.jsx)(qE,{children:t})})}var _s=YE;function Xc(e,t){return c({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var QE={black:"#000",white:"#fff"},Os=QE;var XE={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"},Pg=XE;var ZE={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"},En=ZE;var JE={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"},Sn=JE;var eS={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"},Ns=eS;var tS={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"},wn=tS;var rS={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"},Rn=rS;var oS={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"},kn=oS;var nS=["mode","contrastThreshold","tonalOffset"],bg={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:Os.white,default:Os.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}},Zc={text:{primary:Os.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:Os.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 xg(e,t,r,o){let n=o.light||o,s=o.dark||o*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=io(e.main,n):t==="dark"&&(e.dark=so(e.main,s)))}function sS(e="light"){return e==="dark"?{main:wn[200],light:wn[50],dark:wn[400]}:{main:wn[700],light:wn[400],dark:wn[800]}}function iS(e="light"){return e==="dark"?{main:En[200],light:En[50],dark:En[400]}:{main:En[500],light:En[300],dark:En[700]}}function aS(e="light"){return e==="dark"?{main:Sn[500],light:Sn[300],dark:Sn[700]}:{main:Sn[700],light:Sn[400],dark:Sn[800]}}function lS(e="light"){return e==="dark"?{main:Rn[400],light:Rn[300],dark:Rn[700]}:{main:Rn[700],light:Rn[500],dark:Rn[900]}}function uS(e="light"){return e==="dark"?{main:kn[400],light:kn[300],dark:kn[700]}:{main:kn[800],light:kn[500],dark:kn[900]}}function pS(e="light"){return e==="dark"?{main:Ns[400],light:Ns[300],dark:Ns[700]}:{main:"#ed6c02",light:Ns[500],dark:Ns[900]}}function Jc(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:o=.2}=e,n=O(e,nS),s=e.primary||sS(t),i=e.secondary||iS(t),a=e.error||aS(t),l=e.info||lS(t),u=e.success||uS(t),p=e.warning||pS(t);function m(g){return Tg(g,Zc.text.primary)>=r?Zc.text.primary:bg.text.primary}let f=({color:g,name:S,mainShade:y=500,lightShade:d=300,darkShade:h=700})=>{if(g=c({},g),!g.main&&g[y]&&(g.main=g[y]),!g.hasOwnProperty("main"))throw new Error(St(11,S?` (${S})`:"",y));if(typeof g.main!="string")throw new Error(St(12,S?` (${S})`:"",JSON.stringify(g.main)));return xg(g,"light",d,o),xg(g,"dark",h,o),g.contrastText||(g.contrastText=m(g.main)),g},v={dark:Zc,light:bg};return Ge(c({common:c({},Os),mode:t,primary:f({color:s,name:"primary"}),secondary:f({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:p,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:Pg,contrastThreshold:r,getContrastText:m,augmentColor:f,tonalOffset:o},v[t]),n)}var cS=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function dS(e){return Math.round(e*1e5)/1e5}var Cg={textTransform:"uppercase"},Eg='"Roboto", "Helvetica", "Arial", sans-serif';function ed(e,t){let r=typeof t=="function"?t(e):t,{fontFamily:o=Eg,fontSize:n=14,fontWeightLight:s=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:p,pxToRem:m}=r,f=O(r,cS),v=n/14,T=m||(y=>`${y/u*v}rem`),g=(y,d,h,P,b)=>c({fontFamily:o,fontWeight:y,fontSize:T(d),lineHeight:h},o===Eg?{letterSpacing:`${dS(P/d)}em`}:{},b,p),S={h1:g(s,96,1.167,-1.5),h2:g(s,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(a,14,1.75,.4,Cg),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,Cg)};return Ge(c({htmlFontSize:u,pxToRem:T,fontFamily:o,fontSize:n,fontWeightLight:s,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:l},S),f,{clone:!1})}function Ae(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var fS=["none",Ae(0,2,1,-1,0,1,1,0,0,1,3,0),Ae(0,3,1,-2,0,2,2,0,0,1,5,0),Ae(0,3,3,-2,0,3,4,0,0,1,8,0),Ae(0,2,4,-1,0,4,5,0,0,1,10,0),Ae(0,3,5,-1,0,5,8,0,0,1,14,0),Ae(0,3,5,-1,0,6,10,0,0,1,18,0),Ae(0,4,5,-2,0,7,10,1,0,2,16,1),Ae(0,5,5,-3,0,8,10,1,0,3,14,2),Ae(0,5,6,-3,0,9,12,1,0,3,16,2),Ae(0,6,6,-3,0,10,14,1,0,4,18,3),Ae(0,6,7,-4,0,11,15,1,0,4,20,3),Ae(0,7,8,-4,0,12,17,2,0,5,22,4),Ae(0,7,8,-4,0,13,19,2,0,5,24,4),Ae(0,7,9,-4,0,14,21,2,0,5,26,4),Ae(0,8,9,-5,0,15,22,2,0,6,28,5),Ae(0,8,10,-5,0,16,24,2,0,6,30,5),Ae(0,8,11,-5,0,17,26,2,0,6,32,5),Ae(0,9,11,-5,0,18,28,2,0,7,34,6),Ae(0,9,12,-6,0,19,29,2,0,7,36,6),Ae(0,10,13,-6,0,20,31,3,0,8,38,7),Ae(0,10,13,-6,0,21,33,3,0,8,40,7),Ae(0,10,14,-6,0,22,35,3,0,8,42,7),Ae(0,11,14,-7,0,23,36,3,0,9,44,8),Ae(0,11,15,-7,0,24,38,3,0,9,46,8)],Sg=fS;var mS=["duration","easing","delay"],yS={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)"},hS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function wg(e){return`${Math.round(e)}ms`}function gS(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function td(e){let t=c({},yS,e.easing),r=c({},hS,e.duration);return c({getAutoHeightDuration:gS,create:(n=["all"],s={})=>{let{duration:i=r.standard,easing:a=t.easeInOut,delay:l=0}=s,u=O(s,mS);return(Array.isArray(n)?n:[n]).map(p=>`${p} ${typeof i=="string"?i:wg(i)} ${a} ${typeof l=="string"?l:wg(l)}`).join(",")}},e,{easing:t,duration:r})}var vS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Rg=vS;var TS=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function PS(e={},...t){let{mixins:r={},palette:o={},transitions:n={},typography:s={}}=e,i=O(e,TS);if(e.vars)throw new Error(St(18));let a=Jc(o),l=Oo(e),u=Ge(l,{mixins:Xc(l.breakpoints,r),palette:a,shadows:Sg.slice(),typography:ed(a,s),transitions:td(n),zIndex:c({},Rg)});return u=Ge(u,i),u=t.reduce((p,m)=>Ge(p,m),u),u.unstable_sxConfig=c({},Vr,i?.unstable_sxConfig),u.unstable_sx=function(m){return _o({sx:m,theme:this})},u}var Hi=PS;var xS=E($());var bS=Hi(),No=bS;function Or(){return xn(No)}function oe({props:e,name:t}){return Wi({props:e,name:t,defaultTheme:No})}var ht=e=>ks(e)&&e!=="classes",Ki=ks,CS=nu({defaultTheme:No,rootShouldForwardProp:ht}),N=CS;var ES=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},rd=ES;var Up=E($());function SS(e){return typeof e=="string"}var Kt=SS;function od(e,t,r){return e===void 0||Kt(e)?t:c({},t,{ownerState:c({},t.ownerState,r)})}function nd(e,t=[]){if(e===void 0)return{};let r={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!t.includes(o)).forEach(o=>{r[o]=e[o]}),r}function _n(e,t){return typeof e=="function"?e(t):e}function lu(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function sd(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:o,externalForwardedProps:n,className:s}=e;if(!t){let v=A(n?.className,o?.className,s,r?.className),T=c({},r?.style,n?.style,o?.style),g=c({},r,n,o);return v.length>0&&(g.className=v),Object.keys(T).length>0&&(g.style=T),{props:g,internalRef:void 0}}let i=nd(c({},n,o)),a=lu(o),l=lu(n),u=t(i),p=A(u?.className,r?.className,s,n?.className,o?.className),m=c({},u?.style,r?.style,n?.style,o?.style),f=c({},u,r,l,a);return p.length>0&&(f.className=p),Object.keys(m).length>0&&(f.style=m),{props:f,internalRef:u.ref}}var wS=["elementType","externalSlotProps","ownerState"];function Gt(e){var t;let{elementType:r,externalSlotProps:o,ownerState:n}=e,s=O(e,wS),i=_n(o,n),{props:a,internalRef:l}=sd(c({},s,{externalSlotProps:i})),u=mt(l,i?.ref,(t=e.additionalProps)==null?void 0:t.ref);return od(r,c({},a,{ref:u}),n)}var gt=E($());var id=E(B()),kg=E(B()),RS=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function kS(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function _S(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;let t=o=>e.ownerDocument.querySelector(`input[type="radio"]${o}`),r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function OS(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||_S(e))}function NS(e){let t=[],r=[];return Array.from(e.querySelectorAll(RS)).forEach((o,n)=>{let s=kS(o);s===-1||!OS(o)||(s===0?t.push(o):r.push({documentOrder:n,tabIndex:s,node:o}))}),r.sort((o,n)=>o.tabIndex===n.tabIndex?o.documentOrder-n.documentOrder:o.tabIndex-n.tabIndex).map(o=>o.node).concat(t)}function IS(){return!0}function LS(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:n=!1,getTabbable:s=NS,isEnabled:i=IS,open:a}=e,l=gt.useRef(!1),u=gt.useRef(null),p=gt.useRef(null),m=gt.useRef(null),f=gt.useRef(null),v=gt.useRef(!1),T=gt.useRef(null),g=mt(t.ref,T),S=gt.useRef(null);gt.useEffect(()=>{!a||!T.current||(v.current=!r)},[r,a]),gt.useEffect(()=>{if(!a||!T.current)return;let h=Ye(T.current);return T.current.contains(h.activeElement)||(T.current.hasAttribute("tabIndex")||T.current.setAttribute("tabIndex","-1"),v.current&&T.current.focus()),()=>{n||(m.current&&m.current.focus&&(l.current=!0,m.current.focus()),m.current=null)}},[a]),gt.useEffect(()=>{if(!a||!T.current)return;let h=Ye(T.current),P=x=>{let{current:R}=T;if(R!==null){if(!h.hasFocus()||o||!i()||l.current){l.current=!1;return}if(!R.contains(h.activeElement)){if(x&&f.current!==x.target||h.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!v.current)return;let j=[];if((h.activeElement===u.current||h.activeElement===p.current)&&(j=s(T.current)),j.length>0){var k,w;let Q=Boolean(((k=S.current)==null?void 0:k.shiftKey)&&((w=S.current)==null?void 0:w.key)==="Tab"),ee=j[0],I=j[j.length-1];typeof ee!="string"&&typeof I!="string"&&(Q?I.focus():ee.focus())}else R.focus()}}},b=x=>{S.current=x,!(o||!i()||x.key!=="Tab")&&h.activeElement===T.current&&x.shiftKey&&(l.current=!0,p.current&&p.current.focus())};h.addEventListener("focusin",P),h.addEventListener("keydown",b,!0);let C=setInterval(()=>{h.activeElement&&h.activeElement.tagName==="BODY"&&P(null)},50);return()=>{clearInterval(C),h.removeEventListener("focusin",P),h.removeEventListener("keydown",b,!0)}},[r,o,n,i,a,s]);let y=h=>{m.current===null&&(m.current=h.relatedTarget),v.current=!0,f.current=h.target;let P=t.props.onFocus;P&&P(h)},d=h=>{m.current===null&&(m.current=h.relatedTarget),v.current=!0};return(0,kg.jsxs)(gt.Fragment,{children:[(0,id.jsx)("div",{tabIndex:a?0:-1,onFocus:d,ref:u,"data-testid":"sentinelStart"}),gt.cloneElement(t,{ref:g,onFocus:y}),(0,id.jsx)("div",{tabIndex:a?0:-1,onFocus:d,ref:p,"data-testid":"sentinelEnd"})]})}var ad=LS;var Ar=E($()),YT=E(ai());var QT=E(B());function jR(e){return typeof e=="function"?e():e}var FR=Ar.forwardRef(function(t,r){let{children:o,container:n,disablePortal:s=!1}=t,[i,a]=Ar.useState(null),l=mt(Ar.isValidElement(o)?o.ref:null,r);return hr(()=>{s||a(jR(n)||document.body)},[n,s]),hr(()=>{if(i&&!s)return dn(r,i),()=>{dn(r,null)}},[r,i,s]),s?Ar.isValidElement(o)?Ar.cloneElement(o,{ref:l}):o:(0,QT.jsx)(Ar.Fragment,{children:i&&YT.createPortal(o,i)})}),xm=FR;var Nt=E($());function $R(e){let t=Ye(e);return t.body===e?Rr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function li(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function XT(e){return parseInt(Rr(e).getComputedStyle(e).paddingRight,10)||0}function zR(e){let r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,o=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||o}function ZT(e,t,r,o,n){let s=[t,r,...o];[].forEach.call(e.children,i=>{let a=s.indexOf(i)===-1,l=!zR(i);a&&l&&li(i,n)})}function Cm(e,t){let r=-1;return e.some((o,n)=>t(o)?(r=n,!0):!1),r}function AR(e,t){let r=[],o=e.container;if(!t.disableScrollLock){if($R(o)){let i=cs(Ye(o));r.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${XT(o)+i}px`;let a=Ye(o).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${XT(l)+i}px`})}let s;if(o.parentNode instanceof DocumentFragment)s=Ye(o).body;else{let i=o.parentElement,a=Rr(o);s=i?.nodeName==="HTML"&&a.getComputedStyle(i).overflowY==="scroll"?i:o}r.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{r.forEach(({value:s,el:i,property:a})=>{s?i.style.setProperty(a,s):i.style.removeProperty(a)})}}function DR(e){let t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}var za=class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let o=this.modals.indexOf(t);if(o!==-1)return o;o=this.modals.length,this.modals.push(t),t.modalRef&&li(t.modalRef,!1);let n=DR(r);ZT(r,t.mount,t.modalRef,n,!0);let s=Cm(this.containers,i=>i.container===r);return s!==-1?(this.containers[s].modals.push(t),o):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:n}),o)}mount(t,r){let o=Cm(this.containers,s=>s.modals.indexOf(t)!==-1),n=this.containers[o];n.restore||(n.restore=AR(n,r))}remove(t,r=!0){let o=this.modals.indexOf(t);if(o===-1)return o;let n=Cm(this.containers,i=>i.modals.indexOf(t)!==-1),s=this.containers[n];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(o,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&li(t.modalRef,r),ZT(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(n,1);else{let i=s.modals[s.modals.length-1];i.modalRef&&li(i.modalRef,!1)}return o}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};function JT(e){return G("MuiModal",e)}var yz=K("MuiModal",["root","hidden"]);var kp=E(B()),eP=E(B()),UR=["children","classes","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],BR=e=>{let{open:t,exited:r,classes:o}=e;return q({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},JT,o)};function VR(e){return typeof e=="function"?e():e}function WR(e){return e?e.props.hasOwnProperty("in"):!1}var HR=new za,KR=Nt.forwardRef(function(t,r){var o,n;let{children:s,classes:i,closeAfterTransition:a=!1,component:l,container:u,disableAutoFocus:p=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:f=!1,disablePortal:v=!1,disableRestoreFocus:T=!1,disableScrollLock:g=!1,hideBackdrop:S=!1,keepMounted:y=!1,manager:d=HR,onBackdropClick:h,onClose:P,onKeyDown:b,open:C,onTransitionEnter:x,onTransitionExited:R,slotProps:k={},slots:w={}}=t,j=O(t,UR),[Q,ee]=Nt.useState(!C),I=Nt.useRef({}),_=Nt.useRef(null),L=Nt.useRef(null),Y=mt(L,r),X=WR(s),re=(o=t["aria-hidden"])!=null?o:!0,se=()=>Ye(_.current),pe=()=>(I.current.modalRef=L.current,I.current.mountNode=_.current,I.current),U=()=>{d.mount(pe(),{disableScrollLock:g}),L.current&&(L.current.scrollTop=0)},D=kr(()=>{let ke=VR(u)||se().body;d.add(pe(),ke),L.current&&U()}),H=Nt.useCallback(()=>d.isTopModal(pe()),[d]),le=kr(ke=>{_.current=ke,!(!ke||!L.current)&&(C&&H()?U():li(L.current,re))}),ne=Nt.useCallback(()=>{d.remove(pe(),re)},[d,re]);Nt.useEffect(()=>()=>{ne()},[ne]),Nt.useEffect(()=>{C?D():(!X||!a)&&ne()},[C,ne,X,a,D]);let Ce=c({},t,{classes:i,closeAfterTransition:a,disableAutoFocus:p,disableEnforceFocus:m,disableEscapeKeyDown:f,disablePortal:v,disableRestoreFocus:T,disableScrollLock:g,exited:Q,hideBackdrop:S,keepMounted:y}),Re=BR(Ce),ce=()=>{ee(!1),x&&x()},Se=()=>{ee(!0),R&&R(),a&&ne()},ie=ke=>{ke.target===ke.currentTarget&&(h&&h(ke),P&&P(ke,"backdropClick"))},fe=ke=>{b&&b(ke),!(ke.key!=="Escape"||!H())&&(f||(ke.stopPropagation(),P&&P(ke,"escapeKeyDown")))},Te={};s.props.tabIndex===void 0&&(Te.tabIndex="-1"),X&&(Te.onEnter=ki(ce,s.props.onEnter),Te.onExited=ki(Se,s.props.onExited));let Fe=(n=l??w.root)!=null?n:"div",Ie=Gt({elementType:Fe,externalSlotProps:k.root,externalForwardedProps:j,additionalProps:{ref:Y,role:"presentation",onKeyDown:fe},className:Re.root,ownerState:Ce}),ft=w.backdrop,Je=Gt({elementType:ft,externalSlotProps:k.backdrop,additionalProps:{"aria-hidden":!0,onClick:ie,open:C},className:Re.backdrop,ownerState:Ce});return!y&&!C&&(!X||Q)?null:(0,kp.jsx)(xm,{ref:le,container:u,disablePortal:v,children:(0,eP.jsxs)(Fe,c({},Ie,{children:[!S&&ft?(0,kp.jsx)(ft,c({},Je)):null,(0,kp.jsx)(ad,{disableEnforceFocus:m,disableAutoFocus:p,disableRestoreFocus:T,isEnabled:H,open:C,children:Nt.cloneElement(s,Te)})]}))})}),Em=KR;var Ua=E($());function Hn(e){return G("MuiSlider",e)}var GR=K("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]),Kn=GR;var Op=E($());var _p=E(B()),tP=E(B()),qR=e=>{let{open:t}=e;return{offset:A(t&&Kn.valueLabelOpen),circle:Kn.valueLabelCircle,label:Kn.valueLabelLabel}};function ui(e){let{children:t,className:r,value:o}=e,n=qR(e);return Op.cloneElement(t,{className:A(t.props.className)},(0,tP.jsxs)(Op.Fragment,{children:[t.props.children,(0,_p.jsx)("span",{className:A(n.offset,r),"aria-hidden":!0,children:(0,_p.jsx)("span",{className:n.circle,children:(0,_p.jsx)("span",{className:n.label,children:o})})})]}))}var Vt=E($());var YR=2;function nP(e,t){return e-t}function Aa(e,t,r){return e==null?t:Math.min(Math.max(t,e),r)}function rP(e,t){var r;let{index:o}=(r=e.reduce((n,s,i)=>{let a=Math.abs(t-s);return n===null||a({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},ek=e=>e,Lp;function Sm(){return Lp===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Lp=CSS.supports("touch-action","none"):Lp=!0),Lp}function wm(e){let{"aria-labelledby":t,defaultValue:r,disabled:o=!1,disableSwap:n=!1,isRtl:s=!1,marks:i=!1,max:a=100,min:l=0,name:u,onChange:p,onChangeCommitted:m,orientation:f="horizontal",ref:v,scale:T=ek,step:g=1,tabIndex:S,value:y}=e,d=Vt.useRef(),[h,P]=Vt.useState(-1),[b,C]=Vt.useState(-1),[x,R]=Vt.useState(!1),k=Vt.useRef(0),[w,j]=us({controlled:y,default:r??l,name:"Slider"}),Q=p&&((V,te,ue)=>{let me=V.nativeEvent||V,de=new me.constructor(me.type,me);Object.defineProperty(de,"target",{writable:!0,value:{value:te,name:u}}),p(de,te,ue)}),ee=Array.isArray(w),I=ee?w.slice().sort(nP):[w];I=I.map(V=>Aa(V,l,a));let _=i===!0&&g!==null?[...Array(Math.floor((a-l)/g)+1)].map((V,te)=>({value:l+g*te})):i||[],L=_.map(V=>V.value),{isFocusVisibleRef:Y,onBlur:X,onFocus:re,ref:se}=ps(),[pe,U]=Vt.useState(-1),D=Vt.useRef(),H=mt(se,D),le=mt(v,H),ne=V=>te=>{var ue;let me=Number(te.currentTarget.getAttribute("data-index"));re(te),Y.current===!0&&U(me),C(me),V==null||(ue=V.onFocus)==null||ue.call(V,te)},Ce=V=>te=>{var ue;X(te),Y.current===!1&&U(-1),C(-1),V==null||(ue=V.onBlur)==null||ue.call(V,te)};hr(()=>{if(o&&D.current.contains(document.activeElement)){var V;(V=document.activeElement)==null||V.blur()}},[o]),o&&h!==-1&&P(-1),o&&pe!==-1&&U(-1);let Re=V=>te=>{var ue;(ue=V.onChange)==null||ue.call(V,te);let me=Number(te.currentTarget.getAttribute("data-index")),de=I[me],W=L.indexOf(de),M=te.target.valueAsNumber;if(_&&g==null&&(M=M{let{current:ue}=D,{width:me,height:de,bottom:W,left:M}=ue.getBoundingClientRect(),ge;Se.indexOf("vertical")===0?ge=(W-V.y)/de:ge=(V.x-M)/me,Se.indexOf("-reverse")!==-1&&(ge=1-ge);let ye;if(ye=QR(ge,l,a),g)ye=ZR(ye,g,l);else{let eo=rP(L,ye);ye=L[eo]}ye=Aa(ye,l,a);let we=0;if(ee){te?we=ce.current:we=rP(I,ye),n&&(ye=Aa(ye,I[we-1]||-1/0,I[we+1]||1/0));let eo=ye;ye=oP({values:I,newValue:ye,index:we}),n&&te||(we=ye.indexOf(eo),ce.current=we)}return{newValue:ye,activeIndex:we}},fe=kr(V=>{let te=Np(V,d);if(!te)return;if(k.current+=1,V.type==="mousemove"&&V.buttons===0){Te(V);return}let{newValue:ue,activeIndex:me}=ie({finger:te,move:!0});Ip({sliderRef:D,activeIndex:me,setActive:P}),j(ue),!x&&k.current>YR&&R(!0),Q&&ue!==w&&Q(V,ue,me)}),Te=kr(V=>{let te=Np(V,d);if(R(!1),!te)return;let{newValue:ue}=ie({finger:te,move:!0});P(-1),V.type==="touchend"&&C(-1),m&&m(V,ue),d.current=void 0,Ie()}),Fe=kr(V=>{if(o)return;Sm()||V.preventDefault();let te=V.changedTouches[0];te!=null&&(d.current=te.identifier);let ue=Np(V,d);if(ue!==!1){let{newValue:de,activeIndex:W}=ie({finger:ue});Ip({sliderRef:D,activeIndex:W,setActive:P}),j(de),Q&&Q(V,de,W)}k.current=0;let me=Ye(D.current);me.addEventListener("touchmove",fe),me.addEventListener("touchend",Te)}),Ie=Vt.useCallback(()=>{let V=Ye(D.current);V.removeEventListener("mousemove",fe),V.removeEventListener("mouseup",Te),V.removeEventListener("touchmove",fe),V.removeEventListener("touchend",Te)},[Te,fe]);Vt.useEffect(()=>{let{current:V}=D;return V.addEventListener("touchstart",Fe,{passive:Sm()}),()=>{V.removeEventListener("touchstart",Fe,{passive:Sm()}),Ie()}},[Ie,Fe]),Vt.useEffect(()=>{o&&Ie()},[o,Ie]);let ft=V=>te=>{var ue;if((ue=V.onMouseDown)==null||ue.call(V,te),o||te.defaultPrevented||te.button!==0)return;te.preventDefault();let me=Np(te,d);if(me!==!1){let{newValue:W,activeIndex:M}=ie({finger:me});Ip({sliderRef:D,activeIndex:M,setActive:P}),j(W),Q&&Q(te,W,M)}k.current=0;let de=Ye(D.current);de.addEventListener("mousemove",fe),de.addEventListener("mouseup",Te)},Je=Da(ee?I[0]:l,l,a),ke=Da(I[I.length-1],l,a)-Je,jt=(V={})=>{let te={onMouseDown:ft(V||{})},ue=c({},V,te);return c({ref:le},ue)},Et=V=>te=>{var ue;(ue=V.onMouseOver)==null||ue.call(V,te);let me=Number(te.currentTarget.getAttribute("data-index"));C(me)},Ue=V=>te=>{var ue;(ue=V.onMouseLeave)==null||ue.call(V,te),C(-1)};return{active:h,axis:Se,axisProps:JR,dragging:x,focusedThumbIndex:pe,getHiddenInputProps:(V={})=>{var te;let ue={onChange:Re(V||{}),onFocus:ne(V||{}),onBlur:Ce(V||{})},me=c({},V,ue);return c({tabIndex:S,"aria-labelledby":t,"aria-orientation":f,"aria-valuemax":T(a),"aria-valuemin":T(l),name:u,type:"range",min:e.min,max:e.max,step:(te=e.step)!=null?te:void 0,disabled:o},me,{style:c({},Rc,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:jt,getThumbProps:(V={})=>{let te={onMouseOver:Et(V||{}),onMouseLeave:Ue(V||{})};return c({},V,te)},marks:_,open:b,range:ee,trackLeap:ke,trackOffset:Je,values:I}}var vo=E(B()),Rm=E(B()),tk=["aria-label","aria-valuetext","aria-labelledby","className","component","classes","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","slotProps","slots"],sP=e=>e,rk=e=>{let{disabled:t,dragging:r,marked:o,orientation:n,track:s,classes:i}=e;return q({root:["root",t&&"disabled",r&&"dragging",o&&"marked",n==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},Hn,i)},ok=({children:e})=>e,nk=Ua.forwardRef(function(t,r){var o,n,s,i,a,l,u;let{"aria-label":p,"aria-valuetext":m,"aria-labelledby":f,className:v,component:T,classes:g,disableSwap:S=!1,disabled:y=!1,getAriaLabel:d,getAriaValueText:h,marks:P=!1,max:b=100,min:C=0,orientation:x="horizontal",scale:R=sP,step:k=1,track:w="normal",valueLabelDisplay:j="off",valueLabelFormat:Q=sP,isRtl:ee=!1,slotProps:I={},slots:_={}}=t,L=O(t,tk),Y=c({},t,{marks:P,classes:g,disabled:y,isRtl:ee,max:b,min:C,orientation:x,scale:R,step:k,track:w,valueLabelDisplay:j,valueLabelFormat:Q}),{axisProps:X,getRootProps:re,getHiddenInputProps:se,getThumbProps:pe,open:U,active:D,axis:H,range:le,focusedThumbIndex:ne,dragging:Ce,marks:Re,values:ce,trackOffset:Se,trackLeap:ie}=wm(c({},Y,{ref:r}));Y.marked=Re.length>0&&Re.some(W=>W.label),Y.dragging=Ce,Y.focusedThumbIndex=ne;let fe=rk(Y),Te=(o=T??_.root)!=null?o:"span",Fe=Gt({elementType:Te,getSlotProps:re,externalSlotProps:I.root,externalForwardedProps:L,ownerState:Y,className:[fe.root,v]}),Ie=(n=_.rail)!=null?n:"span",ft=Gt({elementType:Ie,externalSlotProps:I.rail,ownerState:Y,className:fe.rail}),Je=(s=_.track)!=null?s:"span",ke=Gt({elementType:Je,externalSlotProps:I.track,additionalProps:{style:c({},X[H].offset(Se),X[H].leap(ie))},ownerState:Y,className:fe.track}),jt=(i=_.thumb)!=null?i:"span",Et=Gt({elementType:jt,getSlotProps:pe,externalSlotProps:I.thumb,ownerState:Y}),Ue=(a=_.valueLabel)!=null?a:ui,fr=Gt({elementType:Ue,externalSlotProps:I.valueLabel,ownerState:Y}),tr=(l=_.mark)!=null?l:"span",V=Gt({elementType:tr,externalSlotProps:I.mark,ownerState:Y,className:fe.mark}),te=(u=_.markLabel)!=null?u:"span",ue=Gt({elementType:te,externalSlotProps:I.markLabel,ownerState:Y}),me=_.input||"input",de=Gt({elementType:me,getSlotProps:se,externalSlotProps:I.input,ownerState:Y});return(0,Rm.jsxs)(Te,c({},Fe,{children:[(0,vo.jsx)(Ie,c({},ft)),(0,vo.jsx)(Je,c({},ke)),Re.filter(W=>W.value>=C&&W.value<=b).map((W,M)=>{let ge=Da(W.value,C,b),ye=X[H].offset(ge),we;return w===!1?we=ce.indexOf(W.value)!==-1:we=w==="normal"&&(le?W.value>=ce[0]&&W.value<=ce[ce.length-1]:W.value<=ce[0])||w==="inverted"&&(le?W.value<=ce[0]||W.value>=ce[ce.length-1]:W.value>=ce[0]),(0,Rm.jsxs)(Ua.Fragment,{children:[(0,vo.jsx)(tr,c({"data-index":M},V,!Kt(tr)&&{markActive:we},{style:c({},ye,V.style),className:A(V.className,we&&fe.markActive)})),W.label!=null?(0,vo.jsx)(te,c({"aria-hidden":!0,"data-index":M},ue,!Kt(te)&&{markLabelActive:we},{style:c({},ye,ue.style),className:A(fe.markLabel,ue.className,we&&fe.markLabelActive),children:W.label})):null]},M)}),ce.map((W,M)=>{let ge=Da(W,C,b),ye=X[H].offset(ge),we=j==="off"?ok:Ue;return(0,vo.jsx)(Ua.Fragment,{children:(0,vo.jsx)(we,c({},!Kt(we)&&{valueLabelFormat:Q,valueLabelDisplay:j,value:typeof Q=="function"?Q(R(W),M):Q,index:M,open:U===M||D===M||j==="on",disabled:y},fr,{className:A(fe.valueLabel,fr.className),children:(0,vo.jsx)(jt,c({"data-index":M,"data-focusvisible":ne===M},Et,{className:A(fe.thumb,Et.className,D===M&&fe.active,ne===M&&fe.focusVisible),style:c({},ye,{pointerEvents:S&&D!==M?"none":void 0},Et.style),children:(0,vo.jsx)(me,c({"data-index":M,"aria-label":d?d(M):p,"aria-valuenow":R(W),"aria-labelledby":f,"aria-valuetext":h?h(R(W),M):m,value:ce[M]},de))}))}))},M)})]}))}),km=nk;var bt=E($());var aP=E(ai());var _m=E(B()),lP=E(B()),sk=["onChange","maxRows","minRows","style","value"];function Mp(e,t){return parseInt(e[t],10)||0}var ik={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function iP(e){return e==null||Object.keys(e).length===0}var ak=bt.forwardRef(function(t,r){let{onChange:o,maxRows:n,minRows:s=1,style:i,value:a}=t,l=O(t,sk),{current:u}=bt.useRef(a!=null),p=bt.useRef(null),m=mt(r,p),f=bt.useRef(null),v=bt.useRef(0),[T,g]=bt.useState({}),S=bt.useCallback(()=>{let b=p.current,x=Rr(b).getComputedStyle(b);if(x.width==="0px")return{};let R=f.current;R.style.width=x.width,R.value=b.value||t.placeholder||"x",R.value.slice(-1)===` -`&&(R.value+=" ");let k=x["box-sizing"],w=Mp(x,"padding-bottom")+Mp(x,"padding-top"),j=Mp(x,"border-bottom-width")+Mp(x,"border-top-width"),Q=R.scrollHeight;R.value="x";let ee=R.scrollHeight,I=Q;s&&(I=Math.max(Number(s)*ee,I)),n&&(I=Math.min(Number(n)*ee,I)),I=Math.max(I,ee);let _=I+(k==="border-box"?w+j:0),L=Math.abs(I-Q)<=1;return{outerHeightStyle:_,overflow:L}},[n,s,t.placeholder]),y=(b,C)=>{let{outerHeightStyle:x,overflow:R}=C;return v.current<20&&(x>0&&Math.abs((b.outerHeightStyle||0)-x)>1||b.overflow!==R)?(v.current+=1,{overflow:R,outerHeightStyle:x}):b},d=bt.useCallback(()=>{let b=S();iP(b)||g(C=>y(C,b))},[S]),h=()=>{let b=S();iP(b)||(0,aP.flushSync)(()=>{g(C=>y(C,b))})};return bt.useEffect(()=>{let b=is(()=>{v.current=0,p.current&&h()}),C=Rr(p.current);C.addEventListener("resize",b);let x;return typeof ResizeObserver<"u"&&(x=new ResizeObserver(b),x.observe(p.current)),()=>{b.clear(),C.removeEventListener("resize",b),x&&x.disconnect()}}),hr(()=>{d()}),bt.useEffect(()=>{v.current=0},[a]),(0,lP.jsxs)(bt.Fragment,{children:[(0,_m.jsx)("textarea",c({value:a,onChange:b=>{v.current=0,u||d(),o&&o(b)},ref:m,rows:s,style:c({height:T.outerHeightStyle,overflow:T.overflow?"hidden":null},i)},l)),(0,_m.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:c({},ik.shadow,i,{padding:0})})]})}),jp=ak;var Jt=E($());var xt=mt;var Ba=kr;var uP=ps;var Ze=E($());function Va(e,t){return Va=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,n){return o.__proto__=n,o},Va(e,t)}function Wa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Va(e,t)}var Ha=E($()),Ka=E(ai());var Om={disabled:!1};var pP=E($()),pi=pP.default.createContext(null);var cP=function(t){return t.scrollTop};var Ga="unmounted",Gn="exited",qn="entering",di="entered",Nm="exiting",To=function(e){Wa(t,e);function t(o,n){var s;s=e.call(this,o,n)||this;var i=n,a=i&&!i.isMounting?o.enter:o.appear,l;return s.appearStatus=null,o.in?a?(l=Gn,s.appearStatus=qn):l=di:o.unmountOnExit||o.mountOnEnter?l=Ga:l=Gn,s.state={status:l},s.nextCallback=null,s}t.getDerivedStateFromProps=function(n,s){var i=n.in;return i&&s.status===Ga?{status:Gn}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(n){var s=null;if(n!==this.props){var i=this.state.status;this.props.in?i!==qn&&i!==di&&(s=qn):(i===qn||i===di)&&(s=Nm)}this.updateStatus(!1,s)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var n=this.props.timeout,s,i,a;return s=i=a=n,n!=null&&typeof n!="number"&&(s=n.exit,i=n.enter,a=n.appear!==void 0?n.appear:i),{exit:s,enter:i,appear:a}},r.updateStatus=function(n,s){if(n===void 0&&(n=!1),s!==null)if(this.cancelNextCallback(),s===qn){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Ka.default.findDOMNode(this);i&&cP(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Gn&&this.setState({status:Ga})},r.performEnter=function(n){var s=this,i=this.props.enter,a=this.context?this.context.isMounting:n,l=this.props.nodeRef?[a]:[Ka.default.findDOMNode(this),a],u=l[0],p=l[1],m=this.getTimeouts(),f=a?m.appear:m.enter;if(!n&&!i||Om.disabled){this.safeSetState({status:di},function(){s.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:qn},function(){s.props.onEntering(u,p),s.onTransitionEnd(f,function(){s.safeSetState({status:di},function(){s.props.onEntered(u,p)})})})},r.performExit=function(){var n=this,s=this.props.exit,i=this.getTimeouts(),a=this.props.nodeRef?void 0:Ka.default.findDOMNode(this);if(!s||Om.disabled){this.safeSetState({status:Gn},function(){n.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Nm},function(){n.props.onExiting(a),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:Gn},function(){n.props.onExited(a)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(n,s){s=this.setNextCallback(s),this.setState(n,s)},r.setNextCallback=function(n){var s=this,i=!0;return this.nextCallback=function(a){i&&(i=!1,s.nextCallback=null,n(a))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},r.onTransitionEnd=function(n,s){this.setNextCallback(s);var i=this.props.nodeRef?this.props.nodeRef.current:Ka.default.findDOMNode(this),a=n==null&&!this.props.addEndListener;if(!i||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=l[0],p=l[1];this.props.addEndListener(u,p)}n!=null&&setTimeout(this.nextCallback,n)},r.render=function(){var n=this.state.status;if(n===Ga)return null;var s=this.props,i=s.children,a=s.in,l=s.mountOnEnter,u=s.unmountOnExit,p=s.appear,m=s.enter,f=s.exit,v=s.timeout,T=s.addEndListener,g=s.onEnter,S=s.onEntering,y=s.onEntered,d=s.onExit,h=s.onExiting,P=s.onExited,b=s.nodeRef,C=O(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ha.default.createElement(pi.Provider,{value:null},typeof i=="function"?i(n,C):Ha.default.cloneElement(Ha.default.Children.only(i),C))},t}(Ha.default.Component);To.contextType=pi;To.propTypes={};function ci(){}To.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ci,onEntering:ci,onEntered:ci,onExit:ci,onExiting:ci,onExited:ci};To.UNMOUNTED=Ga;To.EXITED=Gn;To.ENTERING=qn;To.ENTERED=di;To.EXITING=Nm;var qa=To;function Im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ya=E($());var Sr=E($());function Fp(e,t){var r=function(s){return t&&(0,Sr.isValidElement)(s)?t(s):s},o=Object.create(null);return e&&Sr.Children.map(e,function(n){return n}).forEach(function(n){o[n.key]=r(n)}),o}function lk(e,t){e=e||{},t=t||{};function r(p){return p in t?t[p]:e[p]}var o=Object.create(null),n=[];for(var s in e)s in t?n.length&&(o[s]=n,n=[]):n.push(s);var i,a={};for(var l in t){if(o[l])for(i=0;i{if(!a&&l!=null){let g=setTimeout(l,u);return()=>{clearTimeout(g)}}},[l,a,u]),(0,jm.jsx)("span",{className:f,style:v,children:(0,jm.jsx)("span",{className:T})})}var mP=ck;var dk=K("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),pr=dk;var zp=E(B()),fk=["center","classes","className"],Ap=e=>e,yP,hP,gP,vP,Fm=550,mk=80,yk=no(yP||(yP=Ap` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),hk=no(hP||(hP=Ap` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),gk=no(gP||(gP=Ap` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),vk=N("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Tk=N(mP,{name:"MuiTouchRipple",slot:"Ripple"})(vP||(vP=Ap` - 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; - } -`),pr.rippleVisible,yk,Fm,({theme:e})=>e.transitions.easing.easeInOut,pr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,pr.child,pr.childLeaving,hk,Fm,({theme:e})=>e.transitions.easing.easeInOut,pr.childPulsate,gk,({theme:e})=>e.transitions.easing.easeInOut),Pk=Ze.forwardRef(function(t,r){let o=oe({props:t,name:"MuiTouchRipple"}),{center:n=!1,classes:s={},className:i}=o,a=O(o,fk),[l,u]=Ze.useState([]),p=Ze.useRef(0),m=Ze.useRef(null);Ze.useEffect(()=>{m.current&&(m.current(),m.current=null)},[l]);let f=Ze.useRef(!1),v=Ze.useRef(null),T=Ze.useRef(null),g=Ze.useRef(null);Ze.useEffect(()=>()=>{clearTimeout(v.current)},[]);let S=Ze.useCallback(P=>{let{pulsate:b,rippleX:C,rippleY:x,rippleSize:R,cb:k}=P;u(w=>[...w,(0,zp.jsx)(Tk,{classes:{ripple:A(s.ripple,pr.ripple),rippleVisible:A(s.rippleVisible,pr.rippleVisible),ripplePulsate:A(s.ripplePulsate,pr.ripplePulsate),child:A(s.child,pr.child),childLeaving:A(s.childLeaving,pr.childLeaving),childPulsate:A(s.childPulsate,pr.childPulsate)},timeout:Fm,pulsate:b,rippleX:C,rippleY:x,rippleSize:R},p.current)]),p.current+=1,m.current=k},[s]),y=Ze.useCallback((P={},b={},C=()=>{})=>{let{pulsate:x=!1,center:R=n||b.pulsate,fakeElement:k=!1}=b;if(P?.type==="mousedown"&&f.current){f.current=!1;return}P?.type==="touchstart"&&(f.current=!0);let w=k?null:g.current,j=w?w.getBoundingClientRect():{width:0,height:0,left:0,top:0},Q,ee,I;if(R||P===void 0||P.clientX===0&&P.clientY===0||!P.clientX&&!P.touches)Q=Math.round(j.width/2),ee=Math.round(j.height/2);else{let{clientX:_,clientY:L}=P.touches&&P.touches.length>0?P.touches[0]:P;Q=Math.round(_-j.left),ee=Math.round(L-j.top)}if(R)I=Math.sqrt((2*j.width**2+j.height**2)/3),I%2===0&&(I+=1);else{let _=Math.max(Math.abs((w?w.clientWidth:0)-Q),Q)*2+2,L=Math.max(Math.abs((w?w.clientHeight:0)-ee),ee)*2+2;I=Math.sqrt(_**2+L**2)}P!=null&&P.touches?T.current===null&&(T.current=()=>{S({pulsate:x,rippleX:Q,rippleY:ee,rippleSize:I,cb:C})},v.current=setTimeout(()=>{T.current&&(T.current(),T.current=null)},mk)):S({pulsate:x,rippleX:Q,rippleY:ee,rippleSize:I,cb:C})},[n,S]),d=Ze.useCallback(()=>{y({},{pulsate:!0})},[y]),h=Ze.useCallback((P,b)=>{if(clearTimeout(v.current),P?.type==="touchend"&&T.current){T.current(),T.current=null,v.current=setTimeout(()=>{h(P,b)});return}T.current=null,u(C=>C.length>0?C.slice(1):C),m.current=b},[]);return Ze.useImperativeHandle(r,()=>({pulsate:d,start:y,stop:h}),[d,y,h]),(0,zp.jsx)(vk,c({className:A(pr.root,s.root,i),ref:g},a,{children:(0,zp.jsx)(Mm,{component:null,exit:!0,children:l})}))}),TP=Pk;function PP(e){return G("MuiButtonBase",e)}var bk=K("MuiButtonBase",["root","disabled","focusVisible"]),bP=bk;var xP=E(B()),CP=E(B()),xk=["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"],Ck=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:o,classes:n}=e,i=q({root:["root",t&&"disabled",r&&"focusVisible"]},PP,n);return r&&o&&(i.root+=` ${o}`),i},Ek=N("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"},[`&.${bP.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Sk=Jt.forwardRef(function(t,r){let o=oe({props:t,name:"MuiButtonBase"}),{action:n,centerRipple:s=!1,children:i,className:a,component:l="button",disabled:u=!1,disableRipple:p=!1,disableTouchRipple:m=!1,focusRipple:f=!1,LinkComponent:v="a",onBlur:T,onClick:g,onContextMenu:S,onDragLeave:y,onFocus:d,onFocusVisible:h,onKeyDown:P,onKeyUp:b,onMouseDown:C,onMouseLeave:x,onMouseUp:R,onTouchEnd:k,onTouchMove:w,onTouchStart:j,tabIndex:Q=0,TouchRippleProps:ee,touchRippleRef:I,type:_}=o,L=O(o,xk),Y=Jt.useRef(null),X=Jt.useRef(null),re=xt(X,I),{isFocusVisibleRef:se,onFocus:pe,onBlur:U,ref:D}=uP(),[H,le]=Jt.useState(!1);u&&H&&le(!1),Jt.useImperativeHandle(n,()=>({focusVisible:()=>{le(!0),Y.current.focus()}}),[]);let[ne,Ce]=Jt.useState(!1);Jt.useEffect(()=>{Ce(!0)},[]);let Re=ne&&!p&&!u;Jt.useEffect(()=>{H&&f&&!p&&ne&&X.current.pulsate()},[p,f,H,ne]);function ce(W,M,ge=m){return Ba(ye=>(M&&M(ye),!ge&&X.current&&X.current[W](ye),!0))}let Se=ce("start",C),ie=ce("stop",S),fe=ce("stop",y),Te=ce("stop",R),Fe=ce("stop",W=>{H&&W.preventDefault(),x&&x(W)}),Ie=ce("start",j),ft=ce("stop",k),Je=ce("stop",w),ke=ce("stop",W=>{U(W),se.current===!1&&le(!1),T&&T(W)},!1),jt=Ba(W=>{Y.current||(Y.current=W.currentTarget),pe(W),se.current===!0&&(le(!0),h&&h(W)),d&&d(W)}),Et=()=>{let W=Y.current;return l&&l!=="button"&&!(W.tagName==="A"&&W.href)},Ue=Jt.useRef(!1),fr=Ba(W=>{f&&!Ue.current&&H&&X.current&&W.key===" "&&(Ue.current=!0,X.current.stop(W,()=>{X.current.start(W)})),W.target===W.currentTarget&&Et()&&W.key===" "&&W.preventDefault(),P&&P(W),W.target===W.currentTarget&&Et()&&W.key==="Enter"&&!u&&(W.preventDefault(),g&&g(W))}),tr=Ba(W=>{f&&W.key===" "&&X.current&&H&&!W.defaultPrevented&&(Ue.current=!1,X.current.stop(W,()=>{X.current.pulsate(W)})),b&&b(W),g&&W.target===W.currentTarget&&Et()&&W.key===" "&&!W.defaultPrevented&&g(W)}),V=l;V==="button"&&(L.href||L.to)&&(V=v);let te={};V==="button"?(te.type=_===void 0?"button":_,te.disabled=u):(!L.href&&!L.to&&(te.role="button"),u&&(te["aria-disabled"]=u));let ue=xt(r,D,Y),me=c({},o,{centerRipple:s,component:l,disabled:u,disableRipple:p,disableTouchRipple:m,focusRipple:f,tabIndex:Q,focusVisible:H}),de=Ck(me);return(0,CP.jsxs)(Ek,c({as:V,className:A(de.root,a),ownerState:me,onBlur:ke,onClick:g,onContextMenu:ie,onFocus:jt,onKeyDown:fr,onKeyUp:tr,onMouseDown:Se,onMouseLeave:Fe,onMouseUp:Te,onDragLeave:fe,onTouchEnd:ft,onTouchMove:Je,onTouchStart:Ie,ref:ue,tabIndex:u?-1:Q,type:_},te,L,{children:[i,Re?(0,xP.jsx)(TP,c({ref:re,center:s},ee)):null]}))}),Qn=Sk;var z=yr;function EP(e){return G("MuiButton",e)}var wk=K("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"]),Qa=wk;var SP=E($()),Rk=SP.createContext({}),Dp=Rk;var $m=E(B()),wP=E(B()),kk=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],_k=e=>{let{color:t,disableElevation:r,fullWidth:o,size:n,variant:s,classes:i}=e,a={root:["root",s,`${s}${z(t)}`,`size${z(n)}`,`${s}Size${z(n)}`,t==="inherit"&&"colorInherit",r&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${z(n)}`],endIcon:["endIcon",`iconSize${z(n)}`]},l=q(a,EP,i);return c({},i,l)},RP=e=>c({},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}}),Ok=N(Qn,{shouldForwardProp:e=>ht(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${z(r.color)}`],t[`size${z(r.size)}`],t[`${r.variant}Size${z(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,o;return c({},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":c({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:st(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})`:st(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})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:(e.vars||e).palette.grey.A100,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":c({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Qa.focusVisible}`]:c({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Qa.disabled}`]:c({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="outlined"&&t.color==="secondary"&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},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 ${st(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(o=e.palette).getContrastText)==null?void 0:r.call(o,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],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"},[`&.${Qa.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Qa.disabled}`]:{boxShadow:"none"}}),Nk=N("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,t[`iconSize${z(r.size)}`]]}})(({ownerState:e})=>c({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},RP(e))),Ik=N("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,t[`iconSize${z(r.size)}`]]}})(({ownerState:e})=>c({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},RP(e))),Lk=Up.forwardRef(function(t,r){let o=Up.useContext(Dp),n=mn(o,t),s=oe({props:n,name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:u,disabled:p=!1,disableElevation:m=!1,disableFocusRipple:f=!1,endIcon:v,focusVisibleClassName:T,fullWidth:g=!1,size:S="medium",startIcon:y,type:d,variant:h="text"}=s,P=O(s,kk),b=c({},s,{color:a,component:l,disabled:p,disableElevation:m,disableFocusRipple:f,fullWidth:g,size:S,type:d,variant:h}),C=_k(b),x=y&&(0,$m.jsx)(Nk,{className:C.startIcon,ownerState:b,children:y}),R=v&&(0,$m.jsx)(Ik,{className:C.endIcon,ownerState:b,children:v});return(0,wP.jsxs)(Ok,c({ownerState:b,className:A(o.className,C.root,u),component:l,disabled:p,focusRipple:!f,focusVisibleClassName:A(C.focusVisible,T),ref:r,type:d},P,{classes:C,children:[x,i,R]}))}),fi=Lk;var Bp=E($());function kP(e){return G("MuiButtonGroup",e)}var Mk=K("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]),Po=Mk;var zm=E(B()),jk=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],Fk=(e,t)=>{let{ownerState:r}=e;return[{[`& .${Po.grouped}`]:t.grouped},{[`& .${Po.grouped}`]:t[`grouped${z(r.orientation)}`]},{[`& .${Po.grouped}`]:t[`grouped${z(r.variant)}`]},{[`& .${Po.grouped}`]:t[`grouped${z(r.variant)}${z(r.orientation)}`]},{[`& .${Po.grouped}`]:t[`grouped${z(r.variant)}${z(r.color)}`]},t.root,t[r.variant],r.disableElevation===!0&&t.disableElevation,r.fullWidth&&t.fullWidth,r.orientation==="vertical"&&t.vertical]},$k=e=>{let{classes:t,color:r,disabled:o,disableElevation:n,fullWidth:s,orientation:i,variant:a}=e,l={root:["root",a,i==="vertical"&&"vertical",s&&"fullWidth",n&&"disableElevation"],grouped:["grouped",`grouped${z(i)}`,`grouped${z(a)}`,`grouped${z(a)}${z(i)}`,`grouped${z(a)}${z(r)}`,o&&"disabled"]};return q(l,kP,t)},zk=N("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:Fk})(({theme:e,ownerState:t})=>c({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},t.orientation==="vertical"&&{flexDirection:"column"},{[`& .${Po.grouped}`]:c({minWidth:40,"&:not(:first-of-type)":c({},t.orientation==="horizontal"&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t.orientation==="vertical"&&{borderTopRightRadius:0,borderTopLeftRadius:0},t.variant==="outlined"&&t.orientation==="horizontal"&&{marginLeft:-1},t.variant==="outlined"&&t.orientation==="vertical"&&{marginTop:-1}),"&:not(:last-of-type)":c({},t.orientation==="horizontal"&&{borderTopRightRadius:0,borderBottomRightRadius:0},t.orientation==="vertical"&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},t.variant==="text"&&t.orientation==="horizontal"&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`},t.variant==="text"&&t.orientation==="vertical"&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`},t.variant==="text"&&t.color!=="inherit"&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:st(e.palette[t.color].main,.5)},t.variant==="outlined"&&t.orientation==="horizontal"&&{borderRightColor:"transparent"},t.variant==="outlined"&&t.orientation==="vertical"&&{borderBottomColor:"transparent"},t.variant==="contained"&&t.orientation==="horizontal"&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${Po.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="contained"&&t.orientation==="vertical"&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${Po.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="contained"&&t.color!=="inherit"&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":c({},t.variant==="outlined"&&t.orientation==="horizontal"&&{borderRightColor:"currentColor"},t.variant==="outlined"&&t.orientation==="vertical"&&{borderBottomColor:"currentColor"})}),"&:hover":c({},t.variant==="contained"&&{boxShadow:"none"})},t.variant==="contained"&&{boxShadow:"none"})})),Ak=Bp.forwardRef(function(t,r){let o=oe({props:t,name:"MuiButtonGroup"}),{children:n,className:s,color:i="primary",component:a="div",disabled:l=!1,disableElevation:u=!1,disableFocusRipple:p=!1,disableRipple:m=!1,fullWidth:f=!1,orientation:v="horizontal",size:T="medium",variant:g="outlined"}=o,S=O(o,jk),y=c({},o,{color:i,component:a,disabled:l,disableElevation:u,disableFocusRipple:p,disableRipple:m,fullWidth:f,orientation:v,size:T,variant:g}),d=$k(y),h=Bp.useMemo(()=>({className:d.grouped,color:i,disabled:l,disableElevation:u,disableFocusRipple:p,disableRipple:m,fullWidth:f,size:T,variant:g}),[i,l,u,p,m,f,T,g,d.grouped]);return(0,zm.jsx)(zk,c({as:a,role:"group",className:A(d.root,s),ref:r,ownerState:y},S,{children:(0,zm.jsx)(Dp.Provider,{value:h,children:n})}))}),Am=Ak;var $P=E($());var IP=E($());var Xa=us;var OP=E($());var _P=E($()),Dk=_P.createContext(void 0),mi=Dk;function ot(){return OP.useContext(mi)}function NP(e){return G("PrivateSwitchBase",e)}var j4=K("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var LP=E(B()),MP=E(B()),Uk=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Bk=e=>{let{classes:t,checked:r,disabled:o,edge:n}=e,s={root:["root",r&&"checked",o&&"disabled",n&&`edge${z(n)}`],input:["input"]};return q(s,NP,t)},Vk=N(Qn)(({ownerState:e})=>c({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),Wk=N("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Hk=IP.forwardRef(function(t,r){let{autoFocus:o,checked:n,checkedIcon:s,className:i,defaultChecked:a,disabled:l,disableFocusRipple:u=!1,edge:p=!1,icon:m,id:f,inputProps:v,inputRef:T,name:g,onBlur:S,onChange:y,onFocus:d,readOnly:h,required:P,tabIndex:b,type:C,value:x}=t,R=O(t,Uk),[k,w]=Xa({controlled:n,default:Boolean(a),name:"SwitchBase",state:"checked"}),j=ot(),Q=re=>{d&&d(re),j&&j.onFocus&&j.onFocus(re)},ee=re=>{S&&S(re),j&&j.onBlur&&j.onBlur(re)},I=re=>{if(re.nativeEvent.defaultPrevented)return;let se=re.target.checked;w(se),y&&y(re,se)},_=l;j&&typeof _>"u"&&(_=j.disabled);let L=C==="checkbox"||C==="radio",Y=c({},t,{checked:k,disabled:_,disableFocusRipple:u,edge:p}),X=Bk(Y);return(0,MP.jsxs)(Vk,c({component:"span",className:A(X.root,i),centerRipple:!0,focusRipple:!u,disabled:_,tabIndex:null,role:void 0,onFocus:Q,onBlur:ee,ownerState:Y,ref:r},R,{children:[(0,LP.jsx)(Wk,c({autoFocus:o,checked:n,defaultChecked:a,className:X.input,disabled:_,id:L&&f,name:g,onChange:I,readOnly:h,ref:T,required:P,ownerState:Y,tabIndex:b,type:C},C==="checkbox"&&x===void 0?{}:{value:x},v)),k?s:m]}))}),jP=Hk;function FP(e){return G("MuiSwitch",e)}var Kk=K("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),It=Kk;var Vp=E(B()),zP=E(B()),Gk=["className","color","edge","size","sx"],qk=e=>{let{classes:t,edge:r,size:o,color:n,checked:s,disabled:i}=e,a={root:["root",r&&`edge${z(r)}`,`size${z(o)}`],switchBase:["switchBase",`color${z(n)}`,s&&"checked",i&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=q(a,FP,t);return c({},t,l)},Yk=N("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t[`edge${z(r.edge)}`],t[`size${z(r.size)}`]]}})(({ownerState:e})=>c({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${It.thumb}`]:{width:16,height:16},[`& .${It.switchBase}`]:{padding:4,[`&.${It.checked}`]:{transform:"translateX(16px)"}}})),Qk=N(jP,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.switchBase,{[`& .${It.input}`]:t.input},r.color!=="default"&&t[`color${z(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${It.checked}`]:{transform:"translateX(20px)"},[`&.${It.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${It.checked} + .${It.track}`]:{opacity:.5},[`&.${It.disabled} + .${It.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${It.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>c({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${It.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${It.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?io(e.palette[t.color].main,.62):so(e.palette[t.color].main,.55)}`}},[`&.${It.checked} + .${It.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),Xk=N("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),Zk=N("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),Jk=$P.forwardRef(function(t,r){let o=oe({props:t,name:"MuiSwitch"}),{className:n,color:s="primary",edge:i=!1,size:a="medium",sx:l}=o,u=O(o,Gk),p=c({},o,{color:s,edge:i,size:a}),m=qk(p),f=(0,Vp.jsx)(Zk,{className:m.thumb,ownerState:p});return(0,zP.jsxs)(Yk,{className:A(m.root,n),sx:l,ownerState:p,children:[(0,Vp.jsx)(Qk,c({type:"checkbox",icon:f,checkedIcon:f,ref:r,ownerState:p},u,{classes:c({},m,{root:m.switchBase})})),(0,Vp.jsx)(Xk,{className:m.track,ownerState:p})]})}),Dm=Jk;var tx=E($());var WP=E($());var Lt=E($());function Ct({props:e,states:t,muiFormControl:r}){return t.reduce((o,n)=>(o[n]=e[n],r&&typeof e[n]>"u"&&(o[n]=r[n]),o),{})}var Wp=hr;var y3=E($());var AP=E(B());function e_(e){return(0,AP.jsx)(Ss,c({},e,{defaultTheme:No}))}var Um=e_;function DP(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function yi(e,t=!1){return e&&(DP(e.value)&&e.value!==""||t&&DP(e.defaultValue)&&e.defaultValue!=="")}function UP(e){return e.startAdornment}function BP(e){return G("MuiInputBase",e)}var t_=K("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Dr=t_;var Hp=E(B()),Bm=E(B()),r_=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Xn=(e,t)=>{let{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${z(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Zn=(e,t)=>{let{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},o_=e=>{let{classes:t,color:r,disabled:o,error:n,endAdornment:s,focused:i,formControl:a,fullWidth:l,hiddenLabel:u,multiline:p,readOnly:m,size:f,startAdornment:v,type:T}=e,g={root:["root",`color${z(r)}`,o&&"disabled",n&&"error",l&&"fullWidth",i&&"focused",a&&"formControl",f==="small"&&"sizeSmall",p&&"multiline",v&&"adornedStart",s&&"adornedEnd",u&&"hiddenLabel",m&&"readOnly"],input:["input",o&&"disabled",T==="search"&&"inputTypeSearch",p&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",v&&"inputAdornedStart",s&&"inputAdornedEnd",m&&"readOnly"]};return q(g,BP,t)},Jn=N("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Xn})(({theme:e,ownerState:t})=>c({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Dr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&c({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),es=N("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Zn})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light",o=c({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),n={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return c({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Dr.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus:-ms-input-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Dr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),n_=(0,Hp.jsx)(Um,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),s_=Lt.forwardRef(function(t,r){var o;let n=oe({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:i,autoFocus:a,className:l,components:u={},componentsProps:p={},defaultValue:m,disabled:f,disableInjectingGlobalStyles:v,endAdornment:T,fullWidth:g=!1,id:S,inputComponent:y="input",inputProps:d={},inputRef:h,maxRows:P,minRows:b,multiline:C=!1,name:x,onBlur:R,onChange:k,onClick:w,onFocus:j,onKeyDown:Q,onKeyUp:ee,placeholder:I,readOnly:_,renderSuffix:L,rows:Y,slotProps:X={},slots:re={},startAdornment:se,type:pe="text",value:U}=n,D=O(n,r_),H=d.value!=null?d.value:U,{current:le}=Lt.useRef(H!=null),ne=Lt.useRef(),Ce=Lt.useCallback(de=>{},[]),Re=xt(ne,h,d.ref,Ce),[ce,Se]=Lt.useState(!1),ie=ot(),fe=Ct({props:n,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});fe.focused=ie?ie.focused:ce,Lt.useEffect(()=>{!ie&&f&&ce&&(Se(!1),R&&R())},[ie,f,ce,R]);let Te=ie&&ie.onFilled,Fe=ie&&ie.onEmpty,Ie=Lt.useCallback(de=>{yi(de)?Te&&Te():Fe&&Fe()},[Te,Fe]);Wp(()=>{le&&Ie({value:H})},[H,Ie,le]);let ft=de=>{if(fe.disabled){de.stopPropagation();return}j&&j(de),d.onFocus&&d.onFocus(de),ie&&ie.onFocus?ie.onFocus(de):Se(!0)},Je=de=>{R&&R(de),d.onBlur&&d.onBlur(de),ie&&ie.onBlur?ie.onBlur(de):Se(!1)},ke=(de,...W)=>{if(!le){let M=de.target||ne.current;if(M==null)throw new Error(St(1));Ie({value:M.value})}d.onChange&&d.onChange(de,...W),k&&k(de,...W)};Lt.useEffect(()=>{Ie(ne.current)},[]);let jt=de=>{ne.current&&de.currentTarget===de.target&&ne.current.focus(),w&&w(de)},Et=y,Ue=d;C&&Et==="input"&&(Y?Ue=c({type:void 0,minRows:Y,maxRows:Y},Ue):Ue=c({type:void 0,maxRows:P,minRows:b},Ue),Et=jp);let fr=de=>{Ie(de.animationName==="mui-auto-fill-cancel"?ne.current:{value:"x"})};Lt.useEffect(()=>{ie&&ie.setAdornedStart(Boolean(se))},[ie,se]);let tr=c({},n,{color:fe.color||"primary",disabled:fe.disabled,endAdornment:T,error:fe.error,focused:fe.focused,formControl:ie,fullWidth:g,hiddenLabel:fe.hiddenLabel,multiline:C,size:fe.size,startAdornment:se,type:pe}),V=o_(tr),te=re.root||u.Root||Jn,ue=X.root||p.root||{},me=re.input||u.Input||es;return Ue=c({},Ue,(o=X.input)!=null?o:p.input),(0,Bm.jsxs)(Lt.Fragment,{children:[!v&&n_,(0,Bm.jsxs)(te,c({},ue,!Kt(te)&&{ownerState:c({},tr,ue.ownerState)},{ref:r,onClick:jt},D,{className:A(V.root,ue.className,l),children:[se,(0,Hp.jsx)(mi.Provider,{value:null,children:(0,Hp.jsx)(me,c({ownerState:tr,"aria-invalid":fe.error,"aria-describedby":s,autoComplete:i,autoFocus:a,defaultValue:m,disabled:fe.disabled,id:S,onAnimationStart:fr,name:x,placeholder:I,readOnly:_,required:fe.required,rows:Y,value:H,onKeyDown:Q,onKeyUp:ee,type:pe},Ue,!Kt(me)&&{as:Et,ownerState:c({},tr,Ue.ownerState)},{ref:Re,className:A(V.input,Ue.className),onBlur:Je,onChange:ke,onFocus:ft}))}),T,L?L(c({},fe,{startAdornment:se})):null]}))]})}),ts=s_;function VP(e){return G("MuiInput",e)}var i_=c({},Dr,K("MuiInput",["root","underline","input"])),hi=i_;var HP=E(B()),a_=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],l_=e=>{let{classes:t,disableUnderline:r}=e,n=q({root:["root",!r&&"underline"],input:["input"]},VP,t);return c({},t,n)},u_=N(Jn,{shouldForwardProp:e=>ht(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...Xn(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),c({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${hi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${hi.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main},"&:focus-within:after":{transform:"scaleX(1)"}},"&:before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${hi.disabled}, .${hi.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${hi.disabled}:before`]:{borderBottomStyle:"dotted"}})}),p_=N(es,{name:"MuiInput",slot:"Input",overridesResolver:Zn})({}),KP=WP.forwardRef(function(t,r){var o,n,s,i;let a=oe({props:t,name:"MuiInput"}),{disableUnderline:l,components:u={},componentsProps:p,fullWidth:m=!1,inputComponent:f="input",multiline:v=!1,slotProps:T,slots:g={},type:S="text"}=a,y=O(a,a_),d=l_(a),P={root:{ownerState:{disableUnderline:l}}},b=T??p?Ge(T??p,P):P,C=(o=(n=g.root)!=null?n:u.Root)!=null?o:u_,x=(s=(i=g.input)!=null?i:u.Input)!=null?s:p_;return(0,HP.jsx)(ts,c({slots:{root:C,input:x},slotProps:b,fullWidth:m,inputComponent:f,multiline:v,ref:r,type:S},y,{classes:d}))});KP.muiName="Input";var rs=KP;var qP=E($());function GP(e){return G("MuiFilledInput",e)}var c_=c({},Dr,K("MuiFilledInput",["root","underline","input"])),Jo=c_;var YP=E(B()),d_=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],f_=e=>{let{classes:t,disableUnderline:r}=e,n=q({root:["root",!r&&"underline"],input:["input"]},GP,t);return c({},t,n)},m_=N(Jn,{shouldForwardProp:e=>ht(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...Xn(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;let o=e.palette.mode==="light",n=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return c({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s}},[`&.${Jo.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s},[`&.${Jo.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Jo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Jo.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main},"&:focus-within:after":{transform:"scaleX(1)"}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Jo.disabled}, .${Jo.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Jo.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&c({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),y_=N(es,{name:"MuiFilledInput",slot:"Input",overridesResolver:Zn})(({theme:e,ownerState:t})=>c({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),QP=qP.forwardRef(function(t,r){var o,n,s,i;let a=oe({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:u,fullWidth:p=!1,inputComponent:m="input",multiline:f=!1,slotProps:v,slots:T={},type:g="text"}=a,S=O(a,d_),y=c({},a,{fullWidth:p,inputComponent:m,multiline:f,type:g}),d=f_(a),h={root:{ownerState:y},input:{ownerState:y}},P=v??u?Ge(v??u,h):h,b=(o=(n=T.root)!=null?n:l.Root)!=null?o:m_,C=(s=(i=T.input)!=null?i:l.Input)!=null?s:y_;return(0,YP.jsx)(ts,c({slots:{root:b,input:C},componentsProps:P,fullWidth:p,inputComponent:m,multiline:f,ref:r,type:g},S,{classes:d}))});QP.muiName="Input";var Za=QP;var Kp=E($());var IU=E($());var Ja=E(B()),XP,h_=["children","classes","className","label","notched"],g_=N("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),v_=N("legend")(({ownerState:e,theme:t})=>c({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&c({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function Vm(e){let{className:t,label:r,notched:o}=e,n=O(e,h_),s=r!=null&&r!=="",i=c({},e,{notched:o,withLabel:s});return(0,Ja.jsx)(g_,c({"aria-hidden":!0,className:t,ownerState:i},n,{children:(0,Ja.jsx)(v_,{ownerState:i,children:s?(0,Ja.jsx)("span",{children:r}):XP||(XP=(0,Ja.jsx)("span",{className:"notranslate",children:"\u200B"}))})}))}function ZP(e){return G("MuiOutlinedInput",e)}var T_=c({},Dr,K("MuiOutlinedInput",["root","notchedOutline","input"])),bo=T_;var JP=E(B()),Wm=E(B()),P_=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],b_=e=>{let{classes:t}=e,o=q({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},ZP,t);return c({},t,o)},x_=N(Jn,{shouldForwardProp:e=>ht(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Xn})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return c({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${bo.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${bo.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${bo.focused} .${bo.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${bo.error} .${bo.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${bo.disabled} .${bo.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&c({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),C_=N(Vm,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),E_=N(es,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Zn})(({theme:e,ownerState:t})=>c({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),eb=Kp.forwardRef(function(t,r){var o,n,s,i,a;let l=oe({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:p=!1,inputComponent:m="input",label:f,multiline:v=!1,notched:T,slots:g={},type:S="text"}=l,y=O(l,P_),d=b_(l),h=ot(),P=Ct({props:l,muiFormControl:h,states:["required"]}),b=c({},l,{color:P.color||"primary",disabled:P.disabled,error:P.error,focused:P.focused,formControl:h,fullWidth:p,hiddenLabel:P.hiddenLabel,multiline:v,size:P.size,type:S}),C=(o=(n=g.root)!=null?n:u.Root)!=null?o:x_,x=(s=(i=g.input)!=null?i:u.Input)!=null?s:E_;return(0,Wm.jsx)(ts,c({slots:{root:C,input:x},renderSuffix:R=>(0,Wm.jsx)(C_,{ownerState:b,className:d.notchedOutline,label:f!=null&&f!==""&&P.required?a||(a=(0,JP.jsxs)(Kp.Fragment,{children:[f,"\xA0","*"]})):f,notched:typeof T<"u"?T:Boolean(R.startAdornment||R.filled||R.focused)}),fullWidth:p,inputComponent:m,multiline:v,ref:r,type:S},y,{classes:c({},d,{notchedOutline:null})}))});eb.muiName="Input";var el=eb;var nb=E($());var rb=E($());function tb(e){return G("MuiFormLabel",e)}var S_=K("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),en=S_;var Hm=E(B()),w_=["children","className","color","component","disabled","error","filled","focused","required"],R_=e=>{let{classes:t,color:r,focused:o,disabled:n,error:s,filled:i,required:a}=e,l={root:["root",`color${z(r)}`,n&&"disabled",s&&"error",i&&"filled",o&&"focused",a&&"required"],asterisk:["asterisk",s&&"error"]};return q(l,tb,t)},k_=N("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>c({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>c({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${en.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${en.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${en.error}`]:{color:(e.vars||e).palette.error.main}})),__=N("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${en.error}`]:{color:(e.vars||e).palette.error.main}})),O_=rb.forwardRef(function(t,r){let o=oe({props:t,name:"MuiFormLabel"}),{children:n,className:s,component:i="label"}=o,a=O(o,w_),l=ot(),u=Ct({props:o,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),p=c({},o,{color:u.color||"primary",component:i,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),m=R_(p);return(0,Hm.jsxs)(k_,c({as:i,ownerState:p,className:A(m.root,s),ref:r},a,{children:[n,u.required&&(0,Hm.jsxs)(__,{ownerState:p,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]}))}),Km=O_;function ob(e){return G("MuiInputLabel",e)}var bB=K("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var sb=E(B()),N_=["disableAnimation","margin","shrink","variant","className"],I_=e=>{let{classes:t,formControl:r,size:o,shrink:n,disableAnimation:s,variant:i,required:a}=e,u=q({root:["root",r&&"formControl",!s&&"animated",n&&"shrink",o==="small"&&"sizeSmall",i],asterisk:[a&&"asterisk"]},ob,t);return c({},t,u)},L_=N(Km,{shouldForwardProp:e=>ht(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${en.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,t[r.variant]]}})(({theme:e,ownerState:t})=>c({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&c({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&c({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&c({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))),M_=nb.forwardRef(function(t,r){let o=oe({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,shrink:s,className:i}=o,a=O(o,N_),l=ot(),u=s;typeof u>"u"&&l&&(u=l.filled||l.focused||l.adornedStart);let p=Ct({props:o,muiFormControl:l,states:["size","variant","required"]}),m=c({},o,{disableAnimation:n,formControl:l,shrink:u,size:p.size,variant:p.variant,required:p.required}),f=I_(m);return(0,sb.jsx)(L_,c({"data-shrink":u,ownerState:m,ref:r,className:A(f.root,i)},a,{classes:f}))}),Gm=M_;var wr=E($());var Gp=wl;function ib(e){return G("MuiFormControl",e)}var UB=K("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var qm=E(B()),j_=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],F_=e=>{let{classes:t,margin:r,fullWidth:o}=e,n={root:["root",r!=="none"&&`margin${z(r)}`,o&&"fullWidth"]};return q(n,ib,t)},$_=N("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>c({},t.root,t[`margin${z(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>c({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),z_=wr.forwardRef(function(t,r){let o=oe({props:t,name:"MuiFormControl"}),{children:n,className:s,color:i="primary",component:a="div",disabled:l=!1,error:u=!1,focused:p,fullWidth:m=!1,hiddenLabel:f=!1,margin:v="none",required:T=!1,size:g="medium",variant:S="outlined"}=o,y=O(o,j_),d=c({},o,{color:i,component:a,disabled:l,error:u,fullWidth:m,hiddenLabel:f,margin:v,required:T,size:g,variant:S}),h=F_(d),[P,b]=wr.useState(()=>{let ee=!1;return n&&wr.Children.forEach(n,I=>{if(!Gp(I,["Input","Select"]))return;let _=Gp(I,["Select"])?I.props.input:I;_&&UP(_.props)&&(ee=!0)}),ee}),[C,x]=wr.useState(()=>{let ee=!1;return n&&wr.Children.forEach(n,I=>{!Gp(I,["Input","Select"])||yi(I.props,!0)&&(ee=!0)}),ee}),[R,k]=wr.useState(!1);l&&R&&k(!1);let w=p!==void 0&&!l?p:R,j,Q=wr.useMemo(()=>({adornedStart:P,setAdornedStart:b,color:i,disabled:l,error:u,filled:C,focused:w,fullWidth:m,hiddenLabel:f,size:g,onBlur:()=>{k(!1)},onEmpty:()=>{x(!1)},onFilled:()=>{x(!0)},onFocus:()=>{k(!0)},registerEffect:j,required:T,variant:S}),[P,i,l,u,C,w,m,f,j,T,g,S]);return(0,qm.jsx)(mi.Provider,{value:Q,children:(0,qm.jsx)($_,c({as:a,ownerState:d,className:A(h.root,s),ref:r},y,{children:n}))})}),Ym=z_;var ub=E($());function ab(e){return G("MuiFormHelperText",e)}var A_=K("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Qm=A_;var Xm=E(B()),lb,D_=["children","className","component","disabled","error","filled","focused","margin","required","variant"],U_=e=>{let{classes:t,contained:r,size:o,disabled:n,error:s,filled:i,focused:a,required:l}=e,u={root:["root",n&&"disabled",s&&"error",o&&`size${z(o)}`,r&&"contained",a&&"focused",i&&"filled",l&&"required"]};return q(u,ab,t)},B_=N("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.size&&t[`size${z(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(({theme:e,ownerState:t})=>c({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Qm.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Qm.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),V_=ub.forwardRef(function(t,r){let o=oe({props:t,name:"MuiFormHelperText"}),{children:n,className:s,component:i="p"}=o,a=O(o,D_),l=ot(),u=Ct({props:o,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),p=c({},o,{component:i,contained:u.variant==="filled"||u.variant==="outlined",variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),m=U_(p);return(0,Xm.jsx)(B_,c({as:i,ownerState:p,className:A(m.root,s),ref:r},a,{children:n===" "?lb||(lb=(0,Xm.jsx)("span",{className:"notranslate",children:"\u200B"})):n}))}),Zm=V_;var bi=E($());var je=E($()),PW=E(xl());var tn=Ye;var rn=E($()),H8=E(xl());var er=E($()),HV=E(xl());var qp=E($());var pb=E($()),W_=pb.createContext({}),cb=W_;function db(e){return G("MuiList",e)}var RV=K("MuiList",["root","padding","dense","subheader"]);var fb=E(B()),mb=E(B()),H_=["children","className","component","dense","disablePadding","subheader"],K_=e=>{let{classes:t,disablePadding:r,dense:o,subheader:n}=e;return q({root:["root",!r&&"padding",o&&"dense",n&&"subheader"]},db,t)},G_=N("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>c({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),q_=qp.forwardRef(function(t,r){let o=oe({props:t,name:"MuiList"}),{children:n,className:s,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:u}=o,p=O(o,H_),m=qp.useMemo(()=>({dense:a}),[a]),f=c({},o,{component:i,dense:a,disablePadding:l}),v=K_(f);return(0,mb.jsx)(cb.Provider,{value:m,children:(0,fb.jsxs)(G_,c({as:i,className:A(v.root,s),ref:r,ownerState:f},p,{children:[u,n]}))})}),Jm=q_;var yb=cs;var gb=E(B()),Y_=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function ey(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function hb(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function vb(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function tl(e,t,r,o,n,s){let i=!1,a=n(e,t,t?r:!1);for(;a;){if(a===e.firstChild){if(i)return!1;i=!0}let l=o?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!vb(a,s)||l)a=n(e,a,r);else return a.focus(),!0}return!1}var Q_=er.forwardRef(function(t,r){let{actions:o,autoFocus:n=!1,autoFocusItem:s=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:p,variant:m="selectedMenu"}=t,f=O(t,Y_),v=er.useRef(null),T=er.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Wp(()=>{n&&v.current.focus()},[n]),er.useImperativeHandle(o,()=>({adjustStyleForScrollbar:(h,P)=>{let b=!v.current.style.width;if(h.clientHeight{let P=v.current,b=h.key,C=tn(P).activeElement;if(b==="ArrowDown")h.preventDefault(),tl(P,C,u,l,ey);else if(b==="ArrowUp")h.preventDefault(),tl(P,C,u,l,hb);else if(b==="Home")h.preventDefault(),tl(P,null,u,l,ey);else if(b==="End")h.preventDefault(),tl(P,null,u,l,hb);else if(b.length===1){let x=T.current,R=b.toLowerCase(),k=performance.now();x.keys.length>0&&(k-x.lastTime>500?(x.keys=[],x.repeating=!0,x.previousKeyMatched=!0):x.repeating&&R!==x.keys[0]&&(x.repeating=!1)),x.lastTime=k,x.keys.push(R);let w=C&&!x.repeating&&vb(C,x);x.previousKeyMatched&&(w||tl(P,C,!1,l,ey,x))?h.preventDefault():x.previousKeyMatched=!1}p&&p(h)},S=xt(v,r),y=-1;er.Children.forEach(i,(h,P)=>{!er.isValidElement(h)||h.props.disabled||(m==="selectedMenu"&&h.props.selected||y===-1)&&(y=P)});let d=er.Children.map(i,(h,P)=>{if(P===y){let b={};return s&&(b.autoFocus=!0),h.props.tabIndex===void 0&&m==="selectedMenu"&&(b.tabIndex=0),er.cloneElement(h,b)}return h});return(0,gb.jsx)(Jm,c({role:"menu",ref:S,className:a,onKeyDown:g,tabIndex:n?0:-1},f,{children:d}))}),ty=Q_;var Pb=E($());function Tb(e){return G("MuiPaper",e)}var o6=K("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var bb=E(B()),X_=["className","component","elevation","square","variant"],Z_=e=>{let{square:t,elevation:r,variant:o,classes:n}=e,s={root:["root",o,!t&&"rounded",o==="elevation"&&`elevation${r}`]};return q(s,Tb,n)},J_=N("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return c({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"&&c({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${st("#fff",rd(t.elevation))}, ${st("#fff",rd(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),eO=Pb.forwardRef(function(t,r){let o=oe({props:t,name:"MuiPaper"}),{className:n,component:s="div",elevation:i=1,square:a=!1,variant:l="elevation"}=o,u=O(o,X_),p=c({},o,{component:s,elevation:i,square:a,variant:l}),m=Z_(p);return(0,bb.jsx)(J_,c({as:s,ownerState:p,className:A(m.root,n),ref:r},u))}),os=eO;var Mt=E($());var xb=is;var ry=Rr;var Qr=E($());var Yp=e=>e.scrollTop;function gi(e,t){var r,o;let{timeout:n,easing:s,style:i={}}=e;return{duration:(r=i.transitionDuration)!=null?r:typeof n=="number"?n:n[t.mode]||0,easing:(o=i.transitionTimingFunction)!=null?o:typeof s=="object"?s[t.mode]:s,delay:i.transitionDelay}}var Cb=E(B()),tO=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ny(e){return`scale(${e}, ${e**2})`}var rO={entering:{opacity:1,transform:ny(1)},entered:{opacity:1,transform:"none"}},oy=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Eb=Qr.forwardRef(function(t,r){let{addEndListener:o,appear:n=!0,children:s,easing:i,in:a,onEnter:l,onEntered:u,onEntering:p,onExit:m,onExited:f,onExiting:v,style:T,timeout:g="auto",TransitionComponent:S=qa}=t,y=O(t,tO),d=Qr.useRef(),h=Qr.useRef(),P=Or(),b=Qr.useRef(null),C=xt(b,s.ref,r),x=_=>L=>{if(_){let Y=b.current;L===void 0?_(Y):_(Y,L)}},R=x(p),k=x((_,L)=>{Yp(_);let{duration:Y,delay:X,easing:re}=gi({style:T,timeout:g,easing:i},{mode:"enter"}),se;g==="auto"?(se=P.transitions.getAutoHeightDuration(_.clientHeight),h.current=se):se=Y,_.style.transition=[P.transitions.create("opacity",{duration:se,delay:X}),P.transitions.create("transform",{duration:oy?se:se*.666,delay:X,easing:re})].join(","),l&&l(_,L)}),w=x(u),j=x(v),Q=x(_=>{let{duration:L,delay:Y,easing:X}=gi({style:T,timeout:g,easing:i},{mode:"exit"}),re;g==="auto"?(re=P.transitions.getAutoHeightDuration(_.clientHeight),h.current=re):re=L,_.style.transition=[P.transitions.create("opacity",{duration:re,delay:Y}),P.transitions.create("transform",{duration:oy?re:re*.666,delay:oy?Y:Y||re*.333,easing:X})].join(","),_.style.opacity=0,_.style.transform=ny(.75),m&&m(_)}),ee=x(f),I=_=>{g==="auto"&&(d.current=setTimeout(_,h.current||0)),o&&o(b.current,_)};return Qr.useEffect(()=>()=>{clearTimeout(d.current)},[]),(0,Cb.jsx)(S,c({appear:n,in:a,nodeRef:b,onEnter:k,onEntered:w,onEntering:R,onExit:Q,onExited:ee,onExiting:j,addEndListener:I,timeout:g==="auto"?null:g},y,{children:(_,L)=>Qr.cloneElement(s,c({style:c({opacity:0,transform:ny(.75),visibility:_==="exited"&&!a?"hidden":void 0},rO[_],T,s.props.style),ref:C},L))}))});Eb.muiSupportAuto=!0;var sy=Eb;var Qp=E($());var Rb=E($());var Ti=E($());var Sb=E(B()),oO=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],nO={entering:{opacity:1},entered:{opacity:1}},sO=Ti.forwardRef(function(t,r){let o=Or(),n={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:s,appear:i=!0,children:a,easing:l,in:u,onEnter:p,onEntered:m,onEntering:f,onExit:v,onExited:T,onExiting:g,style:S,timeout:y=n,TransitionComponent:d=qa}=t,h=O(t,oO),P=!0,b=Ti.useRef(null),C=xt(b,a.ref,r),x=_=>L=>{if(_){let Y=b.current;L===void 0?_(Y):_(Y,L)}},R=x(f),k=x((_,L)=>{Yp(_);let Y=gi({style:S,timeout:y,easing:l},{mode:"enter"});_.style.webkitTransition=o.transitions.create("opacity",Y),_.style.transition=o.transitions.create("opacity",Y),p&&p(_,L)}),w=x(m),j=x(g),Q=x(_=>{let L=gi({style:S,timeout:y,easing:l},{mode:"exit"});_.style.webkitTransition=o.transitions.create("opacity",L),_.style.transition=o.transitions.create("opacity",L),v&&v(_)}),ee=x(T);return(0,Sb.jsx)(d,c({appear:i,in:u,nodeRef:P?b:void 0,onEnter:k,onEntered:w,onEntering:R,onExit:Q,onExited:ee,onExiting:j,addEndListener:_=>{s&&s(b.current,_)},timeout:y},h,{children:(_,L)=>Ti.cloneElement(a,c({style:c({opacity:0,visibility:_==="exited"&&!u?"hidden":void 0},nO[_],S,a.props.style),ref:C},L))}))}),iy=sO;function wb(e){return G("MuiBackdrop",e)}var V6=K("MuiBackdrop",["root","invisible"]);var ay=E(B()),iO=["children","component","components","componentsProps","className","invisible","open","slotProps","slots","transitionDuration","TransitionComponent"],aO=e=>{let{classes:t,invisible:r}=e;return q({root:["root",r&&"invisible"]},wb,t)},lO=N("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>c({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),uO=Rb.forwardRef(function(t,r){var o,n,s;let i=oe({props:t,name:"MuiBackdrop"}),{children:a,component:l="div",components:u={},componentsProps:p={},className:m,invisible:f=!1,open:v,slotProps:T={},slots:g={},transitionDuration:S,TransitionComponent:y=iy}=i,d=O(i,iO),h=c({},i,{component:l,invisible:f}),P=aO(h),b=(o=T.root)!=null?o:p.root;return(0,ay.jsx)(y,c({in:v,timeout:S},d,{children:(0,ay.jsx)(lO,c({"aria-hidden":!0},b,{as:(n=(s=g.root)!=null?s:u.Root)!=null?n:l,className:A(P.root,m,b?.className),ownerState:c({},h,b?.ownerState),classes:P,ref:r,children:a}))}))}),ly=uO;var kb=E(B()),pO=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"];var cO=e=>e.classes,dO=N("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>c({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),fO=N(ly,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),mO=Qp.forwardRef(function(t,r){var o,n,s,i,a,l;let u=oe({name:"MuiModal",props:t}),{BackdropComponent:p=fO,BackdropProps:m,closeAfterTransition:f=!1,children:v,component:T,components:g={},componentsProps:S={},disableAutoFocus:y=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:h=!1,disablePortal:P=!1,disableRestoreFocus:b=!1,disableScrollLock:C=!1,hideBackdrop:x=!1,keepMounted:R=!1,slotProps:k,slots:w,theme:j}=u,Q=O(u,pO),[ee,I]=Qp.useState(!0),_={closeAfterTransition:f,disableAutoFocus:y,disableEnforceFocus:d,disableEscapeKeyDown:h,disablePortal:P,disableRestoreFocus:b,disableScrollLock:C,hideBackdrop:x,keepMounted:R},L=c({},u,_,{exited:ee}),Y=cO(L),X=(o=(n=w?.root)!=null?n:g.Root)!=null?o:dO,re=(s=(i=w?.backdrop)!=null?i:g.Backdrop)!=null?s:p,se=(a=k?.root)!=null?a:S.root,pe=(l=k?.backdrop)!=null?l:S.backdrop;return(0,kb.jsx)(Em,c({slots:{root:X,backdrop:re},slotProps:{root:()=>c({},_n(se,L),!Kt(X)&&{as:T,theme:j}),backdrop:()=>c({},m,_n(pe,L))},onTransitionEnter:()=>I(!1),onTransitionExited:()=>I(!0),ref:r},Q,{classes:Y},_,{children:v}))}),uy=mO;function _b(e){return G("MuiPopover",e)}var v8=K("MuiPopover",["root","paper"]);var Xp=E(B()),yO=["onEntering"],hO=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function Ob(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function Nb(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function Ib(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function py(e){return typeof e=="function"?e():e}var gO=e=>{let{classes:t}=e;return q({root:["root"],paper:["paper"]},_b,t)},vO=N(uy,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),TO=N(os,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),PO=Mt.forwardRef(function(t,r){let o=oe({props:t,name:"MuiPopover"}),{action:n,anchorEl:s,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:u,className:p,container:m,elevation:f=8,marginThreshold:v=16,open:T,PaperProps:g={},transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:y=sy,transitionDuration:d="auto",TransitionProps:{onEntering:h}={}}=o,P=O(o.TransitionProps,yO),b=O(o,hO),C=Mt.useRef(),x=xt(C,g.ref),R=c({},o,{anchorOrigin:i,anchorReference:l,elevation:f,marginThreshold:v,PaperProps:g,transformOrigin:S,TransitionComponent:y,transitionDuration:d,TransitionProps:P}),k=gO(R),w=Mt.useCallback(()=>{if(l==="anchorPosition")return a;let se=py(s),U=(se&&se.nodeType===1?se:tn(C.current).body).getBoundingClientRect();return{top:U.top+Ob(U,i.vertical),left:U.left+Nb(U,i.horizontal)}},[s,i.horizontal,i.vertical,a,l]),j=Mt.useCallback(se=>({vertical:Ob(se,S.vertical),horizontal:Nb(se,S.horizontal)}),[S.horizontal,S.vertical]),Q=Mt.useCallback(se=>{let pe={width:se.offsetWidth,height:se.offsetHeight},U=j(pe);if(l==="none")return{top:null,left:null,transformOrigin:Ib(U)};let D=w(),H=D.top-U.vertical,le=D.left-U.horizontal,ne=H+pe.height,Ce=le+pe.width,Re=ry(py(s)),ce=Re.innerHeight-v,Se=Re.innerWidth-v;if(Hce){let ie=ne-ce;H-=ie,U.vertical+=ie}if(leSe){let ie=Ce-Se;le-=ie,U.horizontal+=ie}return{top:`${Math.round(H)}px`,left:`${Math.round(le)}px`,transformOrigin:Ib(U)}},[s,l,w,j,v]),[ee,I]=Mt.useState(T),_=Mt.useCallback(()=>{let se=C.current;if(!se)return;let pe=Q(se);pe.top!==null&&(se.style.top=pe.top),pe.left!==null&&(se.style.left=pe.left),se.style.transformOrigin=pe.transformOrigin,I(!0)},[Q]),L=(se,pe)=>{h&&h(se,pe),_()},Y=()=>{I(!1)};Mt.useEffect(()=>{T&&_()}),Mt.useImperativeHandle(n,()=>T?{updatePosition:()=>{_()}}:null,[T,_]),Mt.useEffect(()=>{if(!T)return;let se=xb(()=>{_()}),pe=ry(s);return pe.addEventListener("resize",se),()=>{se.clear(),pe.removeEventListener("resize",se)}},[s,T,_]);let X=d;d==="auto"&&!y.muiSupportAuto&&(X=void 0);let re=m||(s?tn(py(s)).body:void 0);return(0,Xp.jsx)(vO,c({BackdropProps:{invisible:!0},className:A(k.root,p),container:re,open:T,ref:r,ownerState:R},b,{children:(0,Xp.jsx)(y,c({appear:!0,in:T,onEntering:L,onExited:Y,timeout:X},P,{children:(0,Xp.jsx)(TO,c({elevation:f},g,{ref:x,className:A(k.paper,g.className)},ee?void 0:{style:c({},g.style,{opacity:0})},{ownerState:R,children:u}))}))}))}),cy=PO;function Lb(e){return G("MuiMenu",e)}var U8=K("MuiMenu",["root","paper","list"]);var dy=E(B()),bO=["onEntering"],xO=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],CO={vertical:"top",horizontal:"right"},EO={vertical:"top",horizontal:"left"},SO=e=>{let{classes:t}=e;return q({root:["root"],paper:["paper"],list:["list"]},Lb,t)},wO=N(cy,{shouldForwardProp:e=>ht(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),RO=N(os,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),kO=N(ty,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),_O=rn.forwardRef(function(t,r){let o=oe({props:t,name:"MuiMenu"}),{autoFocus:n=!0,children:s,disableAutoFocusItem:i=!1,MenuListProps:a={},onClose:l,open:u,PaperProps:p={},PopoverClasses:m,transitionDuration:f="auto",TransitionProps:{onEntering:v}={},variant:T="selectedMenu"}=o,g=O(o.TransitionProps,bO),S=O(o,xO),y=Or(),d=y.direction==="rtl",h=c({},o,{autoFocus:n,disableAutoFocusItem:i,MenuListProps:a,onEntering:v,PaperProps:p,transitionDuration:f,TransitionProps:g,variant:T}),P=SO(h),b=n&&!i&&u,C=rn.useRef(null),x=(w,j)=>{C.current&&C.current.adjustStyleForScrollbar(w,y),v&&v(w,j)},R=w=>{w.key==="Tab"&&(w.preventDefault(),l&&l(w,"tabKeyDown"))},k=-1;return rn.Children.map(s,(w,j)=>{!rn.isValidElement(w)||w.props.disabled||(T==="selectedMenu"&&w.props.selected||k===-1)&&(k=j)}),(0,dy.jsx)(wO,c({onClose:l,anchorOrigin:{vertical:"bottom",horizontal:d?"right":"left"},transformOrigin:d?CO:EO,PaperProps:c({component:RO},p,{classes:c({},p.classes,{root:P.paper})}),className:P.root,open:u,ref:r,transitionDuration:f,TransitionProps:c({onEntering:x},g),ownerState:h},S,{classes:m,children:(0,dy.jsx)(kO,c({onKeyDown:R,actions:C,autoFocus:n&&(k===-1||i),autoFocusItem:b,variant:T},a,{className:A(P.list,a.className),children:s}))}))}),Mb=_O;var Jp=E($());function jb(e){return G("MuiNativeSelect",e)}var OO=K("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),Zp=OO;var fy=E(B()),Fb=E(B()),NO=["className","disabled","IconComponent","inputRef","variant"],IO=e=>{let{classes:t,variant:r,disabled:o,multiple:n,open:s}=e,i={select:["select",r,o&&"disabled",n&&"multiple"],icon:["icon",`icon${z(r)}`,s&&"iconOpen",o&&"disabled"]};return q(i,jb,t)},my=({ownerState:e,theme:t})=>c({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":c({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Zp.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),LO=N("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ht,overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.select,t[r.variant],{[`&.${Zp.multiple}`]:t.multiple}]}})(my),yy=({ownerState:e,theme:t})=>c({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Zp.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),MO=N("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${z(r.variant)}`],r.open&&t.iconOpen]}})(yy),jO=Jp.forwardRef(function(t,r){let{className:o,disabled:n,IconComponent:s,inputRef:i,variant:a="standard"}=t,l=O(t,NO),u=c({},t,{disabled:n,variant:a}),p=IO(u);return(0,Fb.jsxs)(Jp.Fragment,{children:[(0,fy.jsx)(LO,c({ownerState:u,className:A(p.select,o),disabled:n,ref:i||r},l)),t.multiple?null:(0,fy.jsx)(MO,{as:s,ownerState:u,className:p.icon})]})}),$b=jO;function zb(e){return G("MuiSelect",e)}var FO=K("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),rl=FO;var Pi=E(B()),Ub=E(B()),Ab,$O=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],zO=N("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`&.${rl.select}`]:t.select},{[`&.${rl.select}`]:t[r.variant]},{[`&.${rl.multiple}`]:t.multiple}]}})(my,{[`&.${rl.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),AO=N("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${z(r.variant)}`],r.open&&t.iconOpen]}})(yy),DO=N("input",{shouldForwardProp:e=>Ki(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Db(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function UO(e){return e==null||typeof e=="string"&&!e.trim()}var BO=e=>{let{classes:t,variant:r,disabled:o,multiple:n,open:s}=e,i={select:["select",r,o&&"disabled",n&&"multiple"],icon:["icon",`icon${z(r)}`,s&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]};return q(i,zb,t)},VO=je.forwardRef(function(t,r){let{"aria-describedby":o,"aria-label":n,autoFocus:s,autoWidth:i,children:a,className:l,defaultOpen:u,defaultValue:p,disabled:m,displayEmpty:f,IconComponent:v,inputRef:T,labelId:g,MenuProps:S={},multiple:y,name:d,onBlur:h,onChange:P,onClose:b,onFocus:C,onOpen:x,open:R,readOnly:k,renderValue:w,SelectDisplayProps:j={},tabIndex:Q,value:ee,variant:I="standard"}=t,_=O(t,$O),[L,Y]=Xa({controlled:ee,default:p,name:"Select"}),[X,re]=Xa({controlled:R,default:u,name:"Select"}),se=je.useRef(null),pe=je.useRef(null),[U,D]=je.useState(null),{current:H}=je.useRef(R!=null),[le,ne]=je.useState(),Ce=xt(r,T),Re=je.useCallback(M=>{pe.current=M,M&&D(M)},[]),ce=U?.parentNode;je.useImperativeHandle(Ce,()=>({focus:()=>{pe.current.focus()},node:se.current,value:L}),[L]),je.useEffect(()=>{u&&X&&U&&!H&&(ne(i?null:ce.clientWidth),pe.current.focus())},[U,i]),je.useEffect(()=>{s&&pe.current.focus()},[s]),je.useEffect(()=>{if(!g)return;let M=tn(pe.current).getElementById(g);if(M){let ge=()=>{getSelection().isCollapsed&&pe.current.focus()};return M.addEventListener("click",ge),()=>{M.removeEventListener("click",ge)}}},[g]);let Se=(M,ge)=>{M?x&&x(ge):b&&b(ge),H||(ne(i?null:ce.clientWidth),re(M))},ie=M=>{M.button===0&&(M.preventDefault(),pe.current.focus(),Se(!0,M))},fe=M=>{Se(!1,M)},Te=je.Children.toArray(a),Fe=M=>{let ge=Te.map(we=>we.props.value).indexOf(M.target.value);if(ge===-1)return;let ye=Te[ge];Y(ye.props.value),P&&P(M,ye)},Ie=M=>ge=>{let ye;if(!!ge.currentTarget.hasAttribute("tabindex")){if(y){ye=Array.isArray(L)?L.slice():[];let we=L.indexOf(M.props.value);we===-1?ye.push(M.props.value):ye.splice(we,1)}else ye=M.props.value;if(M.props.onClick&&M.props.onClick(ge),L!==ye&&(Y(ye),P)){let we=ge.nativeEvent||ge,eo=new we.constructor(we.type,we);Object.defineProperty(eo,"target",{writable:!0,value:{value:ye,name:d}}),P(eo,M)}y||Se(!1,ge)}},ft=M=>{k||[" ","ArrowUp","ArrowDown","Enter"].indexOf(M.key)!==-1&&(M.preventDefault(),Se(!0,M))},Je=U!==null&&X,ke=M=>{!Je&&h&&(Object.defineProperty(M,"target",{writable:!0,value:{value:L,name:d}}),h(M))};delete _["aria-invalid"];let jt,Et,Ue=[],fr=!1,tr=!1;(yi({value:L})||f)&&(w?jt=w(L):fr=!0);let V=Te.map((M,ge,ye)=>{var we,eo,Iy,Ly;if(!je.isValidElement(M))return null;let to;if(y){if(!Array.isArray(L))throw new Error(St(2));to=L.some(cn=>Db(cn,M.props.value)),to&&fr&&Ue.push(M.props.children)}else to=Db(L,M.props.value),to&&fr&&(Et=M.props.children);if(to&&(tr=!0),M.props.value===void 0)return je.cloneElement(M,{"aria-readonly":!0,role:"option"});let n1=()=>{if(L)return to;let cn=ye.find(hc=>{var My;return(hc==null||(My=hc.props)==null?void 0:My.value)!==void 0&&hc.props.disabled!==!0});return M===cn?!0:to};return je.cloneElement(M,{"aria-selected":to?"true":"false",onClick:Ie(M),onKeyUp:cn=>{cn.key===" "&&cn.preventDefault(),M.props.onKeyUp&&M.props.onKeyUp(cn)},role:"option",selected:((we=ye[0])==null||(eo=we.props)==null?void 0:eo.value)===void 0||((Iy=ye[0])==null||(Ly=Iy.props)==null?void 0:Ly.disabled)===!0?n1():to,value:void 0,"data-value":M.props.value})});fr&&(y?Ue.length===0?jt=null:jt=Ue.reduce((M,ge,ye)=>(M.push(ge),ye{let{color:t,fontSize:r,classes:o}=e,n={root:["root",t!=="inherit"&&`color${z(t)}`,`fontSize${z(r)}`]};return q(n,Vb,o)},KO=N("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${z(r.color)}`],t[`fontSize${z(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,o,n,s,i,a,l,u,p,m,f,v,T,g,S,y,d;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(o=r.create)==null?void 0:o.call(r,"fill",{duration:(n=e.transitions)==null||(s=n.duration)==null?void 0:s.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem",large:((p=e.typography)==null||(m=p.pxToRem)==null?void 0:m.call(p,35))||"2.1875rem"}[t.fontSize],color:(f=(v=(e.vars||e).palette)==null||(T=v[t.color])==null?void 0:T.main)!=null?f:{action:(g=(e.vars||e).palette)==null||(S=g.action)==null?void 0:S.active,disabled:(y=(e.vars||e).palette)==null||(d=y.action)==null?void 0:d.disabled,inherit:void 0}[t.color]}}),Gb=Wb.forwardRef(function(t,r){let o=oe({props:t,name:"MuiSvgIcon"}),{children:n,className:s,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:m,viewBox:f="0 0 24 24"}=o,v=O(o,WO),T=c({},o,{color:i,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:f}),g={};p||(g.viewBox=f);let S=HO(T);return(0,Kb.jsxs)(KO,c({as:a,className:A(S.root,s),focusable:"false",color:u,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},g,v,{ownerState:T,children:[n,m?(0,Hb.jsx)("title",{children:m}):null]}))});Gb.muiName="SvgIcon";var ec=Gb;var qb=E(B());function cr(e,t){function r(o,n){return(0,qb.jsx)(ec,c({"data-testid":`${t}Icon`,ref:n},o,{children:e}))}return r.muiName=ec.muiName,tc.memo(tc.forwardRef(r))}var Yb=E(B()),Qb=cr((0,Yb.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var ol=E(B()),Xb,Zb,GO=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],qO=e=>{let{classes:t}=e;return t},hy={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>ht(e)&&e!=="variant",slot:"Root"},YO=N(rs,hy)(""),QO=N(el,hy)(""),XO=N(Za,hy)(""),Jb=bi.forwardRef(function(t,r){let o=oe({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:s,classes:i={},className:a,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:p=Qb,id:m,input:f,inputProps:v,label:T,labelId:g,MenuProps:S,multiple:y=!1,native:d=!1,onClose:h,onOpen:P,open:b,renderValue:C,SelectDisplayProps:x,variant:R="outlined"}=o,k=O(o,GO),w=d?$b:Bb,j=ot(),ee=Ct({props:o,muiFormControl:j,states:["variant"]}).variant||R,I=f||{standard:Xb||(Xb=(0,ol.jsx)(YO,{})),outlined:(0,ol.jsx)(QO,{label:T}),filled:Zb||(Zb=(0,ol.jsx)(XO,{}))}[ee],_=c({},o,{variant:ee,classes:i}),L=qO(_),Y=xt(r,I.ref);return(0,ol.jsx)(bi.Fragment,{children:bi.cloneElement(I,c({inputComponent:w,inputProps:c({children:s,IconComponent:p,variant:ee,type:void 0,multiple:y},d?{id:m}:{autoWidth:n,defaultOpen:l,displayEmpty:u,labelId:g,MenuProps:S,onClose:h,onOpen:P,open:b,renderValue:C,SelectDisplayProps:c({id:m},x)},v,{classes:v?Ge(L,v.classes):L},f?f.props.inputProps:{})},y&&d&&ee==="outlined"?{notched:!0}:{},{ref:Y,className:A(I.props.className,a)},!f&&{variant:ee},k))})});Jb.muiName="Select";var gy=Jb;function ex(e){return G("MuiTextField",e)}var C9=K("MuiTextField",["root"]);var nl=E(B()),rx=E(B()),ZO=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],JO={standard:rs,filled:Za,outlined:el},eN=e=>{let{classes:t}=e;return q({root:["root"]},ex,t)},tN=N(Ym,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),rN=tx.forwardRef(function(t,r){let o=oe({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:s=!1,children:i,className:a,color:l="primary",defaultValue:u,disabled:p=!1,error:m=!1,FormHelperTextProps:f,fullWidth:v=!1,helperText:T,id:g,InputLabelProps:S,inputProps:y,InputProps:d,inputRef:h,label:P,maxRows:b,minRows:C,multiline:x=!1,name:R,onBlur:k,onChange:w,onFocus:j,placeholder:Q,required:ee=!1,rows:I,select:_=!1,SelectProps:L,type:Y,value:X,variant:re="outlined"}=o,se=O(o,ZO),pe=c({},o,{autoFocus:s,color:l,disabled:p,error:m,fullWidth:v,multiline:x,required:ee,select:_,variant:re}),U=eN(pe),D={};re==="outlined"&&(S&&typeof S.shrink<"u"&&(D.notched=S.shrink),D.label=P),_&&((!L||!L.native)&&(D.id=void 0),D["aria-describedby"]=void 0);let H=kl(g),le=T&&H?`${H}-helper-text`:void 0,ne=P&&H?`${H}-label`:void 0,Ce=JO[re],Re=(0,nl.jsx)(Ce,c({"aria-describedby":le,autoComplete:n,autoFocus:s,defaultValue:u,fullWidth:v,multiline:x,name:R,rows:I,maxRows:b,minRows:C,type:Y,value:X,id:H,inputRef:h,onBlur:k,onChange:w,onFocus:j,placeholder:Q,inputProps:y},D,d));return(0,rx.jsxs)(tN,c({className:A(U.root,a),disabled:p,error:m,fullWidth:v,ref:r,required:ee,color:l,variant:re,ownerState:pe},se,{children:[P!=null&&P!==""&&(0,nl.jsx)(Gm,c({htmlFor:H,id:ne},S,{children:P})),_?(0,nl.jsx)(gy,c({"aria-describedby":le,id:H,labelId:ne,value:X,input:Re},L,{children:i})):Re,T&&(0,nl.jsx)(Zm,c({id:le},f,{children:T}))]}))}),rc=rN;var oc=E($());var ox=E($()),oN=ox.createContext(),vy=oN;function nx(e){return G("MuiGrid",e)}var nN=[0,1,2,3,4,5,6,7,8,9,10],sN=["column-reverse","column","row-reverse","row"],iN=["nowrap","wrap-reverse","wrap"],sl=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],aN=K("MuiGrid",["root","container","item","zeroMinWidth",...nN.map(e=>`spacing-xs-${e}`),...sN.map(e=>`direction-xs-${e}`),...iN.map(e=>`wrap-xs-${e}`),...sl.map(e=>`grid-xs-${e}`),...sl.map(e=>`grid-sm-${e}`),...sl.map(e=>`grid-md-${e}`),...sl.map(e=>`grid-lg-${e}`),...sl.map(e=>`grid-xl-${e}`)]),xi=aN;var Ty=E(B()),lN=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Ci(e){let t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function uN({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((o,n)=>{let s={};if(t[n]&&(r=t[n]),!r)return o;if(r===!0)s={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(r==="auto")s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{let i=ws({values:t.columns,breakpoints:e.breakpoints.values}),a=typeof i=="object"?i[n]:i;if(a==null)return o;let l=`${Math.round(r/a*1e8)/1e6}%`,u={};if(t.container&&t.item&&t.columnSpacing!==0){let p=e.spacing(t.columnSpacing);if(p!=="0px"){let m=`calc(${l} + ${Ci(p)})`;u={flexBasis:m,maxWidth:m}}}s=c({flexBasis:l,flexGrow:0,maxWidth:l},u)}return e.breakpoints.values[n]===0?Object.assign(o,s):o[e.breakpoints.up(n)]=s,o},{})}function pN({theme:e,ownerState:t}){let r=ws({values:t.direction,breakpoints:e.breakpoints.values});return tt({theme:e},r,o=>{let n={flexDirection:o};return o.indexOf("column")===0&&(n[`& > .${xi.item}`]={maxWidth:"none"}),n})}function sx({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(n=>{r===""&&t[n]!==0&&(r=n)});let o=Object.keys(e).sort((n,s)=>e[n]-e[s]);return o.slice(0,o.indexOf(r))}function cN({theme:e,ownerState:t}){let{container:r,rowSpacing:o}=t,n={};if(r&&o!==0){let s=ws({values:o,breakpoints:e.breakpoints.values}),i;typeof s=="object"&&(i=sx({breakpoints:e.breakpoints.values,values:s})),n=tt({theme:e},s,(a,l)=>{var u;let p=e.spacing(a);return p!=="0px"?{marginTop:`-${Ci(p)}`,[`& > .${xi.item}`]:{paddingTop:Ci(p)}}:(u=i)!=null&&u.includes(l)?{}:{marginTop:0,[`& > .${xi.item}`]:{paddingTop:0}}})}return n}function dN({theme:e,ownerState:t}){let{container:r,columnSpacing:o}=t,n={};if(r&&o!==0){let s=ws({values:o,breakpoints:e.breakpoints.values}),i;typeof s=="object"&&(i=sx({breakpoints:e.breakpoints.values,values:s})),n=tt({theme:e},s,(a,l)=>{var u;let p=e.spacing(a);return p!=="0px"?{width:`calc(100% + ${Ci(p)})`,marginLeft:`-${Ci(p)}`,[`& > .${xi.item}`]:{paddingLeft:Ci(p)}}:(u=i)!=null&&u.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${xi.item}`]:{paddingLeft:0}}})}return n}function fN(e,t,r={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[r[`spacing-xs-${String(e)}`]];let o=[];return t.forEach(n=>{let s=e[n];Number(s)>0&&o.push(r[`spacing-${n}-${String(s)}`])}),o}var mN=N("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{container:o,direction:n,item:s,spacing:i,wrap:a,zeroMinWidth:l,breakpoints:u}=r,p=[];o&&(p=fN(i,u,t));let m=[];return u.forEach(f=>{let v=r[f];v&&m.push(t[`grid-${f}-${String(v)}`])}),[t.root,o&&t.container,s&&t.item,l&&t.zeroMinWidth,...p,n!=="row"&&t[`direction-xs-${String(n)}`],a!=="wrap"&&t[`wrap-xs-${String(a)}`],...m]}})(({ownerState:e})=>c({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),pN,cN,dN,uN);function yN(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];let r=[];return t.forEach(o=>{let n=e[o];if(Number(n)>0){let s=`spacing-${o}-${String(n)}`;r.push(s)}}),r}var hN=e=>{let{classes:t,container:r,direction:o,item:n,spacing:s,wrap:i,zeroMinWidth:a,breakpoints:l}=e,u=[];r&&(u=yN(s,l));let p=[];l.forEach(f=>{let v=e[f];v&&p.push(`grid-${f}-${String(v)}`)});let m={root:["root",r&&"container",n&&"item",a&&"zeroMinWidth",...u,o!=="row"&&`direction-xs-${String(o)}`,i!=="wrap"&&`wrap-xs-${String(i)}`,...p]};return q(m,nx,t)},gN=oc.forwardRef(function(t,r){let o=oe({props:t,name:"MuiGrid"}),{breakpoints:n}=Or(),s=Pn(o),{className:i,columns:a,columnSpacing:l,component:u="div",container:p=!1,direction:m="row",item:f=!1,rowSpacing:v,spacing:T=0,wrap:g="wrap",zeroMinWidth:S=!1}=s,y=O(s,lN),d=v||T,h=l||T,P=oc.useContext(vy),b=p?a||12:P,C={},x=c({},y);n.keys.forEach(w=>{y[w]!=null&&(C[w]=y[w],delete x[w])});let R=c({},s,{columns:b,container:p,direction:m,item:f,rowSpacing:d,columnSpacing:h,wrap:g,zeroMinWidth:S,spacing:T},C,{breakpoints:n.keys}),k=hN(R);return(0,Ty.jsx)(vy.Provider,{value:b,children:(0,Ty.jsx)(mN,c({ownerState:R,className:A(k.root,i),as:u,ref:r},x))})}),Ei=gN;var nc=E($());var lx=E($());function ix(e){return G("MuiTypography",e)}var c7=K("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var ux=E(B()),vN=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],TN=e=>{let{align:t,gutterBottom:r,noWrap:o,paragraph:n,variant:s,classes:i}=e,a={root:["root",s,e.align!=="inherit"&&`align${z(t)}`,r&&"gutterBottom",o&&"noWrap",n&&"paragraph"]};return q(a,ix,i)},PN=N("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${z(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>c({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),ax={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},bN={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},xN=e=>bN[e]||e,CN=lx.forwardRef(function(t,r){let o=oe({props:t,name:"MuiTypography"}),n=xN(o.color),s=Pn(c({},o,{color:n})),{align:i="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:p=!1,paragraph:m=!1,variant:f="body1",variantMapping:v=ax}=s,T=O(s,vN),g=c({},s,{align:i,color:n,className:a,component:l,gutterBottom:u,noWrap:p,paragraph:m,variant:f,variantMapping:v}),S=l||(m?"p":v[f]||ax[f])||"span",y=TN(g);return(0,ux.jsx)(PN,c({as:S,ref:r,ownerState:g,className:A(y.root,a)},T))}),nt=CN;function px(e){return G("MuiFormControlLabel",e)}var EN=K("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]),il=EN;var cx=E(B()),dx=E(B()),SN=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","slotProps","value"],wN=e=>{let{classes:t,disabled:r,labelPlacement:o,error:n}=e,s={root:["root",r&&"disabled",`labelPlacement${z(o)}`,n&&"error"],label:["label",r&&"disabled"]};return q(s,px,t)},RN=N("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${il.label}`]:t.label},t.root,t[`labelPlacement${z(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>c({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${il.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${il.label}`]:{[`&.${il.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),kN=nc.forwardRef(function(t,r){var o;let n=oe({props:t,name:"MuiFormControlLabel"}),{className:s,componentsProps:i={},control:a,disabled:l,disableTypography:u,label:p,labelPlacement:m="end",slotProps:f={}}=n,v=O(n,SN),T=ot(),g=l;typeof g>"u"&&typeof a.props.disabled<"u"&&(g=a.props.disabled),typeof g>"u"&&T&&(g=T.disabled);let S={disabled:g};["checked","name","onChange","value","inputRef"].forEach(C=>{typeof a.props[C]>"u"&&typeof n[C]<"u"&&(S[C]=n[C])});let y=Ct({props:n,muiFormControl:T,states:["error"]}),d=c({},n,{disabled:g,labelPlacement:m,error:y.error}),h=wN(d),P=(o=f.typography)!=null?o:i.typography,b=p;return b!=null&&b.type!==nt&&!u&&(b=(0,cx.jsx)(nt,c({component:"span"},P,{className:A(h.label,P?.className),children:b}))),(0,dx.jsxs)(RN,c({className:A(h.root,s),ownerState:d,ref:r},v,{children:[nc.cloneElement(a,S),b]}))}),Py=kN;var mx=E($());function fx(e){return G("MuiFormGroup",e)}var K7=K("MuiFormGroup",["root","row","error"]);var yx=E(B()),_N=["className","row"],ON=e=>{let{classes:t,row:r,error:o}=e;return q({root:["root",r&&"row",o&&"error"]},fx,t)},NN=N("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.row&&t.row]}})(({ownerState:e})=>c({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})),IN=mx.forwardRef(function(t,r){let o=oe({props:t,name:"MuiFormGroup"}),{className:n,row:s=!1}=o,i=O(o,_N),a=ot(),l=Ct({props:o,muiFormControl:a,states:["error"]}),u=c({},o,{row:s,error:l.error}),p=ON(u);return(0,yx.jsx)(NN,c({className:A(p.root,n),ownerState:u,ref:r},i))}),Si=IN;var hx=E($());var LN=e=>!e||!Kt(e),al=LN;var gx=E(B()),MN=["component","components","componentsProps","color","size","slotProps","slots"],on=c({},Kn,K("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"])),jN=N("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`color${z(r.color)}`],r.size!=="medium"&&t[`size${z(r.size)}`],r.marked&&t.marked,r.orientation==="vertical"&&t.vertical,r.track==="inverted"&&t.trackInverted,r.track===!1&&t.trackFalse]}})(({theme:e,ownerState:t})=>c({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},t.orientation==="horizontal"&&c({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},t.size==="small"&&{height:2},t.marked&&{marginBottom:20}),t.orientation==="vertical"&&c({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},t.size==="small"&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${on.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${on.dragging}`]:{[`& .${on.thumb}, & .${on.track}`]:{transition:"none"}}}));var FN=N("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>c({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},e.orientation==="horizontal"&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},e.orientation==="vertical"&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},e.track==="inverted"&&{opacity:1}));var $N=N("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?io(e.palette[t.color].main,.62):so(e.palette[t.color].main,.5);return c({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{border:"none"},t.orientation==="horizontal"&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},t.orientation==="vertical"&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},t.track===!1&&{display:"none"},t.track==="inverted"&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:r,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:r})});var zN=N("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.thumb,t[`thumbColor${z(r.color)}`],r.size!=="medium"&&t[`thumbSize${z(r.size)}`]]}})(({theme:e,ownerState:t})=>c({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{width:12,height:12},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-50%, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":c({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},t.size==="small"&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${on.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:st(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${on.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:st(e.palette[t.color].main,.16)}`},[`&.${on.disabled}`]:{"&:hover":{boxShadow:"none"}}}));var AN=N(ui,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>c({[`&.${on.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},t.orientation==="horizontal"&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},t.orientation==="vertical"&&{right:"30px",top:"24px",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",right:"-20%",top:"25%"}},t.size==="small"&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}));var DN=N("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Ki(e)&&e!=="markActive",overridesResolver:(e,t)=>{let{markActive:r}=e;return[t.mark,r&&t.markActive]}})(({theme:e,ownerState:t,markActive:r})=>c({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-1px, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 1px)"},r&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}));var UN=N("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Ki(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t,markLabelActive:r})=>c({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},t.orientation==="horizontal"&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},t.orientation==="vertical"&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},r&&{color:(e.vars||e).palette.text.primary}));var BN=e=>{let{color:t,size:r,classes:o={}}=e;return c({},o,{root:A(o.root,Hn(`color${z(t)}`),o[`color${z(t)}`],r&&[Hn(`size${z(r)}`),o[`size${z(r)}`]]),thumb:A(o.thumb,Hn(`thumbColor${z(t)}`),o[`thumbColor${z(t)}`],r&&[Hn(`thumbSize${z(r)}`),o[`thumbSize${z(r)}`]])})},VN=hx.forwardRef(function(t,r){var o,n,s,i,a,l,u,p,m,f,v,T,g,S,y,d,h,P,b,C,x,R,k;let w=oe({props:t,name:"MuiSlider"}),Q=Or().direction==="rtl",{component:ee="span",components:I={},componentsProps:_={},color:L="primary",size:Y="medium",slotProps:X,slots:re}=w,se=O(w,MN),pe=c({},w,{color:L,size:Y}),U=BN(pe),D=(o=(n=re?.root)!=null?n:I.Root)!=null?o:jN,H=(s=(i=re?.rail)!=null?i:I.Rail)!=null?s:FN,le=(a=(l=re?.track)!=null?l:I.Track)!=null?a:$N,ne=(u=(p=re?.thumb)!=null?p:I.Thumb)!=null?u:zN,Ce=(m=(f=re?.valueLabel)!=null?f:I.ValueLabel)!=null?m:AN,Re=(v=(T=re?.mark)!=null?T:I.Mark)!=null?v:DN,ce=(g=(S=re?.markLabel)!=null?S:I.MarkLabel)!=null?g:UN,Se=(y=re?.input)!=null?y:I.Input,ie=(d=X?.root)!=null?d:_.root,fe=(h=X?.rail)!=null?h:_.rail,Te=(P=X?.track)!=null?P:_.track,Fe=(b=X?.thumb)!=null?b:_.thumb,Ie=(C=X?.valueLabel)!=null?C:_.valueLabel,ft=(x=X?.mark)!=null?x:_.mark,Je=(R=X?.markLabel)!=null?R:_.markLabel,ke=(k=X?.input)!=null?k:_.input;return(0,gx.jsx)(km,c({},se,{isRtl:Q,slots:{root:D,rail:H,track:le,thumb:ne,valueLabel:Ce,mark:Re,markLabel:ce,input:Se},slotProps:c({},_,{root:c({},ie,al(D)&&{as:ee,ownerState:c({},ie?.ownerState,{color:L,size:Y})}),rail:fe,thumb:c({},Fe,al(ne)&&{ownerState:c({},Fe?.ownerState,{color:L,size:Y})}),track:c({},Te,al(le)&&{ownerState:c({},Te?.ownerState,{color:L,size:Y})}),valueLabel:c({},Ie,al(Ce)&&{ownerState:c({},Ie?.ownerState,{color:L,size:Y})}),mark:ft,markLabel:Je,input:ke}),classes:U,ref:r}))}),by=VN;var Mx=E($());function vx(e){return G("MuiAlert",e)}var WN=K("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),xy=WN;var sc=E($());function Tx(e){return G("MuiIconButton",e)}var HN=K("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Px=HN;var bx=E(B()),KN=["edge","children","className","color","disabled","disableFocusRipple","size"],GN=e=>{let{classes:t,disabled:r,color:o,edge:n,size:s}=e,i={root:["root",r&&"disabled",o!=="default"&&`color${z(o)}`,n&&`edge${z(n)}`,`size${z(s)}`]};return q(i,Tx,t)},qN=N(Qn,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${z(r.color)}`],r.edge&&t[`edge${z(r.edge)}`],t[`size${z(r.size)}`]]}})(({theme:e,ownerState:t})=>c({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})`:st(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 r;let o=(r=(e.vars||e).palette)==null?void 0:r[t.color];return c({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&c({color:o?.main},!t.disableRipple&&{"&:hover":c({},o&&{backgroundColor:e.vars?`rgba(${o.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:st(o.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)},{[`&.${Px.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),YN=sc.forwardRef(function(t,r){let o=oe({props:t,name:"MuiIconButton"}),{edge:n=!1,children:s,className:i,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:p="medium"}=o,m=O(o,KN),f=c({},o,{edge:n,color:a,disabled:l,disableFocusRipple:u,size:p}),v=GN(f);return(0,bx.jsx)(qN,c({className:A(v.root,i),centerRipple:!0,focusRipple:!u,disabled:l,ref:r,ownerState:f},m,{children:s}))}),Cy=YN;var HH=E($());var xx=E(B()),Cx=cr((0,xx.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");var qH=E($());var Ex=E(B()),Sx=cr((0,Ex.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined");var XH=E($());var wx=E(B()),Rx=cr((0,wx.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");var eK=E($());var kx=E(B()),_x=cr((0,kx.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");var oK=E($());var Ox=E(B()),Nx=cr((0,Ox.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");var Ur=E(B()),jx=E(B()),QN=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],XN=e=>{let{variant:t,color:r,severity:o,classes:n}=e,s={root:["root",`${t}${z(r||o)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return q(s,vx,n)},ZN=N(os,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${z(r.color||r.severity)}`]]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?so:io,o=e.palette.mode==="light"?io:so,n=t.color||t.severity;return c({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},n&&t.variant==="standard"&&{color:e.vars?e.vars.palette.Alert[`${n}Color`]:r(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:o(e.palette[n].light,.9),[`& .${xy.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}},n&&t.variant==="outlined"&&{color:e.vars?e.vars.palette.Alert[`${n}Color`]:r(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${xy.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}},n&&t.variant==="filled"&&c({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${n}FilledColor`],backgroundColor:e.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[n].dark:e.palette[n].main,color:e.palette.getContrastText(e.palette[n].main)}))}),JN=N("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),e2=N("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Ix=N("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Lx={success:(0,Ur.jsx)(Cx,{fontSize:"inherit"}),warning:(0,Ur.jsx)(Sx,{fontSize:"inherit"}),error:(0,Ur.jsx)(Rx,{fontSize:"inherit"}),info:(0,Ur.jsx)(_x,{fontSize:"inherit"})},t2=Mx.forwardRef(function(t,r){var o,n,s,i,a,l;let u=oe({props:t,name:"MuiAlert"}),{action:p,children:m,className:f,closeText:v="Close",color:T,components:g={},componentsProps:S={},icon:y,iconMapping:d=Lx,onClose:h,role:P="alert",severity:b="success",slotProps:C={},slots:x={},variant:R="standard"}=u,k=O(u,QN),w=c({},u,{color:T,severity:b,variant:R}),j=XN(w),Q=(o=(n=x.closeButton)!=null?n:g.CloseButton)!=null?o:Cy,ee=(s=(i=x.closeIcon)!=null?i:g.CloseIcon)!=null?s:Nx,I=(a=C.closeButton)!=null?a:S.closeButton,_=(l=C.closeIcon)!=null?l:S.closeIcon;return(0,jx.jsxs)(ZN,c({role:P,elevation:0,ownerState:w,className:A(j.root,f),ref:r},k,{children:[y!==!1?(0,Ur.jsx)(JN,{ownerState:w,className:j.icon,children:y||d[b]||Lx[b]}):null,(0,Ur.jsx)(e2,{ownerState:w,className:j.message,children:m}),p!=null?(0,Ur.jsx)(Ix,{ownerState:w,className:j.action,children:p}):null,p==null&&h?(0,Ur.jsx)(Ix,{ownerState:w,className:j.action,children:(0,Ur.jsx)(Q,c({size:"small","aria-label":v,title:v,color:"inherit",onClick:h},I,{children:(0,Ur.jsx)(ee,c({fontSize:"small"},_))}))}):null]}))}),ic=t2;var $x=E($());function Fx(e){return G("MuiAlertTitle",e)}var kK=K("MuiAlertTitle",["root"]);var zx=E(B()),r2=["className"],o2=e=>{let{classes:t}=e;return q({root:["root"]},Fx,t)},n2=N(nt,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2})),s2=$x.forwardRef(function(t,r){let o=oe({props:t,name:"MuiAlertTitle"}),{className:n}=o,s=O(o,r2),i=o,a=o2(i);return(0,zx.jsx)(n2,c({gutterBottom:!0,component:"div",ownerState:i,ref:r,className:A(a.root,n)},s))}),ac=s2;var Wt=E($());var lc=E($());var Ax=()=>{};var ct=Ax,Ey=Ax;var Sy=new Map,dt="applemusic-like-lyrics:";function i2(e,t){let r=localStorage.getItem(`${dt}eapiRequestFuncName`)||"";return ct("\u52A0\u5BC6\u8BF7\u6C42\u51FD\u6570",r),(localStorage.getItem(`${dt}ncmPackageVersion`)||"")!==APP_CONF.packageVersion&&(r="",localStorage.setItem(`${dt}ncmPackageVersion`,APP_CONF.packageVersion)),r===""&&(r=ll()||"",r===""&&(r=ll(!0)||""),localStorage.setItem(`${dt}eapiRequestFuncName`,r)),Dx(r,[e,t])}function ll(e=!1){let t=betterncm.ncm.findApiFunction(r=>r.toString().includes("_bindTokenRequest yidun getToken undefined"));if(t){for(let r in t[1])if(t[1][r]===t[0]){ct("\u67E5\u627E\u5230\u539F\u59CB\u8BF7\u6C42\u51FD\u6570\uFF1A",r,t);let o=r;if(e)return o;for(let n in t[1])if(t[1][n]?.originalFunc?.toString()?.includes(`.${o}(`))return ct("\u67E5\u627E\u5230\u7ED1\u5B9A\u8BF7\u6C42\u51FD\u6570\uFF1A",n,t),n}}return ct("\u67E5\u627E\u8BF7\u6C42\u51FD\u6570\u5931\u8D25"),null}function Dx(e,t){if(!Sy.has(e)){let o=betterncm.ncm.findApiFunction(e);if(o){let[n,s]=o;Sy.set(e,n.bind(s))}}let r=Sy.get(e);if(r)return r.apply(null,t);throw new TypeError(`\u51FD\u6570 ${e} \u672A\u627E\u5230`)}function Ux(e){return new Promise((t,r)=>{i2(`${APP_CONF.domain}/api/song/lyric?os=pc`,{type:"json",query:{id:e,lv:-1,kv:-1,tv:-1,rv:-1,yv:1},onload:t,onerror:r})})}function nn(){return Dx("getPlaying",[])}function a2(e){let t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",r=[];for(let o=0;o{plugin.setConfig(e,r)},[r]),[r,o]}var Vx="1.2.0";var Ry=[];var Kx=E(ai()),J=E(B()),dr=e=>{let[t,r]=Wt.useState(localStorage.getItem(`${dt}${e.settingKey}`)==="true");return Wt.useEffect(()=>{localStorage.setItem(`${dt}${e.settingKey}`,String(t)),sn(Zr)},[t]),(0,J.jsx)(Py,{control:(0,J.jsx)(Dm,{checked:t,onChange:()=>r(!t)}),label:e.label})},Wx=e=>{let[t,r]=Wt.useState(localStorage.getItem(`${dt}${e.settingKey}`)||e.defaultValue);Wt.useEffect(()=>{localStorage.setItem(`${dt}${e.settingKey}`,String(t)),sn(Zr)},[t]);let{onChange:o,...n}=e;return(0,J.jsx)(rc,{value:t,onChange:s=>{o?.(s.target.value),r(s.target.value)},...n})},Hx=e=>{let[t,r]=Wt.useState(Number(localStorage.getItem(`${dt}${e.settingKey}`)));return Wt.useEffect(()=>{localStorage.setItem(`${dt}${e.settingKey}`,String(t)),sn(Zr)},[t]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(nt,{gutterBottom:!0,children:e.label}),(0,J.jsxs)(Ei,{container:!0,spacing:2,alignItems:"center",children:[(0,J.jsx)(Ei,{item:!0}),(0,J.jsx)(Ei,{item:!0,xs:!0,children:(0,J.jsx)(by,{step:e.step,min:e.min,max:e.max,value:t,onChange:(o,n)=>typeof n=="number"&&r(n)})}),(0,J.jsx)(Ei,{item:!0,children:(0,J.jsx)(rs,{size:"small",value:t,onChange:o=>r(o.target.value===""?0:Number(o.target.value))})})]})]})},l2=()=>{let e=Wt.useMemo(()=>APP_CONF.packageVersion,[]),t=Wt.useMemo(()=>Object.keys(loadedPlugins).filter(l=>Ry.includes(l)),[]),r=Wt.useMemo(()=>Object.keys(loadedPlugins).includes("RefinedNowPlaying"),[]),[o,n]=Wt.useState(localStorage.getItem(`${dt}eapiRequestFuncName`)||""),[s,i]=Wt.useState("");return Wt.useEffect(()=>{if(o!==""){let a=betterncm.ncm.findApiFunction(o);a===null?i(""):"originalFunc"in a[0]?i(a[0].originalFunc.toString()):i(a.toString())}else i("");localStorage.setItem(`${dt}eapiRequestFuncName`,o)},[o]),(0,J.jsxs)("div",{className:"am-lyrics-settings",children:[t.length===0?(0,J.jsx)(J.Fragment,{}):(0,J.jsxs)(ic,{severity:"error",children:[(0,J.jsx)(ac,{children:"\u9519\u8BEF\uFF1A\u68C0\u6D4B\u5230\u4E0D\u517C\u5BB9\u7684\u63D2\u4EF6"}),"\u68C0\u6D4B\u5230\u4E0E\u672C\u63D2\u4EF6\u51B2\u7A81\u7684\u5176\u5B83\u63D2\u4EF6\uFF0C\u8BF7\u5378\u8F7D\u4EE5\u4E0B\u63D2\u4EF6\uFF0C\u5426\u5219\u672C\u63D2\u4EF6\u6709\u53EF\u80FD\u4E0D\u80FD\u6B63\u5E38\u5DE5\u4F5C\uFF1A",Ry.map(a=>(0,J.jsxs)("span",{children:[a," "]},a))]}),r?(0,J.jsxs)(ic,{severity:"warning",children:[(0,J.jsx)(ac,{children:"\u8B66\u544A\uFF1A\u68C0\u6D4B\u5230 RefinedNowPlaying \u63D2\u4EF6"}),"\u672C\u63D2\u4EF6\u5C06\u4F1A\u5168\u90E8\u66FF\u6362 RefinedNowPlaying \u7684\u6B4C\u8BCD\u3001\u4E13\u8F91\u56FE\u3001\u97F3\u4E50\u4FE1\u606F\u7B49\u6837\u5F0F\uFF0CRefinedNowPlaying \u4E2D\u7684\u90E8\u5206\u8BBE\u7F6E\u9009\u9879\u5C06\u4F1A\u5931\u6548\u3002"]}):(0,J.jsx)(J.Fragment,{}),(0,J.jsxs)(Si,{children:[(0,J.jsx)(nt,{variant:"h5",children:"\u6B4C\u8BCD\u6837\u5F0F\u8BBE\u7F6E"}),(0,J.jsx)(dr,{settingKey:"lyricBlurEffect",label:"\u6B4C\u8BCD\u6A21\u7CCA\u6548\u679C"}),(0,J.jsx)(dr,{settingKey:"lyricScaleEffect",label:"\u6B4C\u8BCD\u7F29\u653E\u6548\u679C"}),(0,J.jsx)(dr,{settingKey:"lyricHidePassed",label:"\u5DF2\u64AD\u653E\u6B4C\u8BCD\u9690\u85CF\u6548\u679C"}),(0,J.jsx)(dr,{settingKey:"lyricBlurFadeInEffect",label:"\u672A\u64AD\u653E\u6B4C\u8BCD\u6DE1\u5165\u6548\u679C"}),(0,J.jsx)(Wx,{label:"\u5B57\u4F53\u989C\u8272",settingKey:"fontColor",defaultValue:"rgba(255, 255, 255, 1)"}),(0,J.jsx)(dr,{settingKey:"lyricAutoFontSize",label:"\u81EA\u9002\u5E94\u6B4C\u8BCD\u5B57\u4F53\u5927\u5C0F"}),(0,J.jsx)(Hx,{step:1,min:8,max:64,settingKey:"lyricFontSize",label:"\u5B57\u4F53\u5927\u5C0F\uFF08\u50CF\u7D20\uFF09"})]}),(0,J.jsxs)(Si,{children:[(0,J.jsx)(nt,{variant:"h5",children:"\u6B4C\u66F2\u4FE1\u606F\u6837\u5F0F\u8BBE\u7F6E"}),(0,J.jsx)(dr,{settingKey:"alignLeftMusicName",label:"\u6B4C\u540D\u5C45\u5DE6"}),(0,J.jsx)(dr,{settingKey:"alignLeftMusicAlias",label:"\u6B4C\u66F2\u522B\u540D\u5C45\u5DE6"}),(0,J.jsx)(dr,{settingKey:"alignLeftMusicArtists",label:"\u6B4C\u624B\u540D\u5C45\u5DE6"}),(0,J.jsx)(dr,{settingKey:"alignLeftMusicAlbum",label:"\u4E13\u8F91\u540D\u5C45\u5DE6"}),(0,J.jsx)(dr,{settingKey:"hideLeftMusicArtistsLabel",label:"\u9690\u85CF\u6B4C\u624B\u540D\u6807\u7B7E"}),(0,J.jsx)(dr,{settingKey:"hideLeftMusicAlbumLabel",label:"\u9690\u85CF\u4E13\u8F91\u540D\u6807\u7B7E"}),(0,J.jsx)(Wx,{label:"\u6B4C\u624B\u540D\u5206\u9694\u7B26",settingKey:"musicArtistsSeparator",defaultValue:'" - "'})]}),(0,J.jsxs)(Si,{children:[(0,J.jsx)(nt,{variant:"h5",children:"\u5176\u5B83\u6837\u5F0F"}),(0,J.jsx)(dr,{settingKey:"autoHideControlBar",label:"\u9F20\u6807\u9759\u6B62\u65F6\u81EA\u52A8\u9690\u85CF\u64AD\u653E\u680F\u548C\u6807\u9898\u680F"}),(0,J.jsx)(Hx,{step:.5,min:1,max:30,settingKey:"autoHideDuration",label:"\u9F20\u6807\u9759\u6B62\u9690\u85CF\u95F4\u9694\uFF08\u79D2\uFF09"}),(0,J.jsx)(dr,{settingKey:"usePingFangFont",label:"\u64AD\u653E\u9875\u9762\u4F7F\u7528\u82F9\u65B9\u5B57\u4F53\uFF08\u9700\u8981\u7CFB\u7EDF\u5B89\u88C5\uFF09"}),(0,J.jsx)(fi,{variant:"outlined",onClick:()=>{betterncm.ncm.openUrl("https://github.com/paraself/PingFang-Fonts")},children:"\u4F60\u53EF\u4EE5\u5728\u6B64\u4E0B\u8F7D\u5B89\u88C5\u82F9\u65B9\u5B57\u4F53"})]}),(0,J.jsxs)(Si,{children:[(0,J.jsx)(nt,{paragraph:!0,variant:"h5",children:"\u6B4C\u8BCD\u6765\u6E90\u8BBE\u7F6E"}),(0,J.jsx)(nt,{paragraph:!0,variant:"body1",children:"\u5982\u679C\u6B4C\u8BCD\u65E0\u6CD5\u6B63\u786E\u663E\u793A\uFF0C\u6709\u53EF\u80FD\u662F\u65E0\u6CD5\u83B7\u53D6\u7F51\u6613\u4E91\u8BF7\u6C42\u51FD\u6570\uFF0C\u6216\u8005\u627E\u5230\u7684\u51FD\u6570\u5E76\u4E0D\u662F\u7F51\u6613\u4E91\u8BF7\u6C42\u51FD\u6570\uFF0C\u8BF7\u786E\u8BA4\u6B64\u5904\u7684\u51FD\u6570\u540D\u79F0\u662F\u5BF9\u5E94\u4F60\u6240\u4F7F\u7528\u7684\u7F51\u6613\u4E91\u7248\u672C\u7684\u8BF7\u6C42\u51FD\u6570\u3002"}),(0,J.jsx)(nt,{paragraph:!0,variant:"body1",children:"\u5177\u4F53\u53EF\u4EE5\u524D\u5F80\u63D2\u4EF6 Github \u4ED3\u5E93\u67E5\u8BE2\u6216\u5728 BetterNCM \u8BA8\u8BBA\u7FA4\u5185\u8BE2\u95EE\u4F5C\u8005 SteveXMH\u3002"}),(0,J.jsxs)(nt,{paragraph:!0,variant:"body1",style:{userSelect:"text"},children:["\u5F53\u524D\u7F51\u6613\u4E91 core.js \u7248\u672C\uFF1A",e]}),(0,J.jsx)(rc,{variant:"outlined",label:"\u7F51\u6613\u4E91\u8BF7\u6C42\u51FD\u6570\u540D\u79F0",defaultValue:o,value:o,onChange:a=>{n(a.target.value)}}),(0,J.jsx)(nt,{paragraph:!0,variant:"body1",className:"am-lyric-func-body",children:s===""?"\u65E0\u6CD5\u627E\u5230\u8BE5\u51FD\u6570\uFF0C\u6B4C\u8BCD\u5C06\u65E0\u6CD5\u5DE5\u4F5C":`\u5DF2\u627E\u5230\u51FD\u6570\uFF0C\u8BF7\u81EA\u884C\u786E\u5B9A\u662F\u5426\u662F\u7F51\u6613\u4E91\u8BF7\u6C42\u51FD\u6570\uFF1A -${s}`}),(0,J.jsxs)(Am,{variant:"outlined",children:[(0,J.jsx)(fi,{onClick:()=>{let a=ll();n(a||"")},children:"\u5C1D\u8BD5\u641C\u7D22\u8BF7\u6C42\u51FD\u6570\uFF08\u65B9\u5F0F\u4E00\uFF09"}),(0,J.jsx)(fi,{onClick:()=>{let a=ll(!0);n(a||"")},children:"\u5C1D\u8BD5\u641C\u7D22\u8BF7\u6C42\u51FD\u6570\uFF08\u65B9\u5F0F\u4E8C\uFF09"})]})]}),(0,J.jsx)(nt,{paragraph:!0,variant:"h5",children:"\u5173\u4E8E"}),(0,J.jsx)(nt,{variant:"body1",children:"Apple Music-like lyrics"}),(0,J.jsx)(nt,{variant:"body1",children:Vx}),(0,J.jsx)(nt,{variant:"body1",children:"By SteveXMH"}),(0,J.jsx)(fi,{variant:"outlined",onClick:()=>{betterncm.ncm.openUrl("https://github.com/Steve-xmh/applemusic-like-lyrics")},children:"Github"})]})};plugin.onConfig(()=>{let e=document.createElement("div"),t=Hi({palette:{mode:"dark"},typography:{fontFamily:"PingFang SC, sans-serif"}});return(0,Kx.render)((0,J.jsx)(_s,{theme:t,children:(0,J.jsx)(l2,{})}),e),e});var r1=E(ai());var pc={Linear:{None:function(e){return e}},Quadratic:{In:function(e){return e*e},Out:function(e){return e*(2-e)},InOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}},Cubic:{In:function(e){return e*e*e},Out:function(e){return--e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}},Quartic:{In:function(e){return e*e*e*e},Out:function(e){return 1- --e*e*e*e},InOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}},Quintic:{In:function(e){return e*e*e*e*e},Out:function(e){return--e*e*e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}},Sinusoidal:{In:function(e){return 1-Math.sin((1-e)*Math.PI/2)},Out:function(e){return Math.sin(e*Math.PI/2)},InOut:function(e){return .5*(1-Math.sin(Math.PI*(.5-e)))}},Exponential:{In:function(e){return e===0?0:Math.pow(1024,e-1)},Out:function(e){return e===1?1:1-Math.pow(2,-10*e)},InOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)}},Circular:{In:function(e){return 1-Math.sqrt(1-e*e)},Out:function(e){return Math.sqrt(1- --e*e)},InOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}},Elastic:{In:function(e){return e===0?0:e===1?1:-Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI)},Out:function(e){return e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1},InOut:function(e){return e===0?0:e===1?1:(e*=2,e<1?-.5*Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI):.5*Math.pow(2,-10*(e-1))*Math.sin((e-1.1)*5*Math.PI)+1)}},Back:{In:function(e){return e===1?1:e*e*(2.70158*e-1.70158)},Out:function(e){return e===0?0:--e*e*(2.70158*e+1.70158)+1},InOut:function(e){let t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}},Bounce:{In:function(e){return 1-pc.Bounce.Out(1-e)},Out:function(e){return e<.36363636363636365?7.5625*e*e:e<.7272727272727273?7.5625*(e-=.5454545454545454)*e+.75:e<.9090909090909091?7.5625*(e-=.8181818181818182)*e+.9375:7.5625*(e-=.9545454545454546)*e+.984375},InOut:function(e){return e<.5?pc.Bounce.In(e*2)*.5:pc.Bounce.Out(e*2-1)*.5+.5}},generatePow:function(e=4){return e=e1e4?1e4:e,{In:function(t){return t**e},Out:function(t){return 1-(1-t)**e},InOut:function(t){return t<.5?(t*2)**e/2:(1-(2-t*2)**e)/2+.5}}}},wi=pc;var ul;typeof self>"u"&&typeof process<"u"&&process.hrtime?ul=function(){let e=process.hrtime();return e[0]*1e3+e[1]/1e6}:typeof self<"u"&&self.performance!==void 0&&self.performance.now!==void 0?ul=self.performance.now.bind(self.performance):Date.now!==void 0?ul=Date.now:ul=function(){return new Date().getTime()};var an=ul;var ln=class{_tweens={};_tweensAddedDuringUpdate={};getAll(){return Object.keys(this._tweens).map(t=>this._tweens[t])}removeAll(){this._tweens={}}add(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t}remove(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]}update(t=an(),r=!1){let o=Object.keys(this._tweens);if(o.length===0)return!1;for(;o.length>0;){this._tweensAddedDuringUpdate={};for(let n=0;n1?s(e[r],e[r-1],r-o):s(e[n],e[n+1>r?r:n+1],o-n)},Bezier:function(e,t){let r=0,o=e.length-1,n=Math.pow,s=pl.Utils.Bernstein;for(let i=0;i<=o;i++)r+=n(1-t,o-i)*n(t,i)*e[i]*s(o,i);return r},CatmullRom:function(e,t){let r=e.length-1,o=r*t,n=Math.floor(o),s=pl.Utils.CatmullRom;return e[0]===e[r]?(t<0&&(n=Math.floor(o=r*(1+t))),s(e[(n-1+r)%r],e[n],e[(n+1)%r],e[(n+2)%r],o-n)):t<0?e[0]-(s(e[0],e[0],e[1],e[1],-o)-e[0]):t>1?e[r]-(s(e[r],e[r],e[r-1],e[r-1],o-r)-e[r]):s(e[n?n-1:0],e[n],e[r1;o--)r*=o;return e[t]=r,r}}(),CatmullRom:function(e,t,r,o,n){let s=(r-e)*.5,i=(o-t)*.5,a=n*n,l=n*a;return(2*t-2*r+s+i)*l+(-3*t+3*r-2*s-i)*a+s*n+t}}},cc=pl;var ky=class{static nextId(){return ky._nextId++}},un=ky;jy(un,"_nextId",0);var cl=new ln;var _y=class{constructor(t,r=cl){this._object=t;this._group=r}_isPaused=!1;_pauseStart=0;_valuesStart={};_valuesEnd={};_valuesStartRepeat={};_duration=1e3;_initialRepeat=0;_repeat=0;_repeatDelayTime;_yoyo=!1;_isPlaying=!1;_reversed=!1;_delayTime=0;_startTime=0;_easingFunction=wi.Linear.None;_interpolationFunction=cc.Linear;_chainedTweens=[];_onStartCallback;_onStartCallbackFired=!1;_onEveryStartCallback;_onEveryStartCallbackFired=!1;_onUpdateCallback;_onRepeatCallback;_onCompleteCallback;_onStopCallback;_id=un.nextId();_isChainStopped=!1;getId(){return this._id}isPlaying(){return this._isPlaying}isPaused(){return this._isPaused}to(t,r){return this._valuesEnd=Object.create(t),r!==void 0&&(this._duration=r),this}duration(t=1e3){return this._duration=t,this}start(t=an()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(let r in this._valuesStartRepeat)this._swapEndStartRepeatValues(r),this._valuesStart[r]=this._valuesStartRepeat[r]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this}_setupProperties(t,r,o,n){for(let s in o){let i=t[s],a=Array.isArray(i),l=a?"array":typeof i,u=!a&&Array.isArray(o[s]);if(!(l==="undefined"||l==="function")){if(u){let p=o[s];if(p.length===0)continue;p=p.map(this._handleRelativeValue.bind(this,i)),o[s]=[i].concat(p)}if((l==="object"||a)&&i&&!u){r[s]=a?[]:{};for(let p in i)r[s][p]=i[p];n[s]=a?[]:{},this._setupProperties(i,r[s],o[s],n[s])}else typeof r[s]>"u"&&(r[s]=i),a||(r[s]*=1),u?n[s]=o[s].slice().reverse():n[s]=r[s]||0}}}stop(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this}end(){return this._goToEnd=!0,this.update(1/0),this}pause(t=an()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=t,this._group&&this._group.remove(this),this)}resume(t=an()){return!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this)}stopChainedTweens(){for(let t=0,r=this._chainedTweens.length;ts)return!1;r&&this.start(t)}if(this._goToEnd=!1,t1?1:n;let i=this._easingFunction(n);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,i),this._onUpdateCallback&&this._onUpdateCallback(this._object,n),n===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(o in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[o]=="string"&&(this._valuesStartRepeat[o]=this._valuesStartRepeat[o]+parseFloat(this._valuesEnd[o])),this._yoyo&&this._swapEndStartRepeatValues(o),this._valuesStart[o]=this._valuesStartRepeat[o];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(let a=0,l=this._chainedTweens.length;a{let t=ss.useRef(null),r=ss.useRef(null),o=ss.useRef(null),n=ss.useRef(null);return ss.useEffect(()=>{if(t.current&&r.current&&o.current&&e.selected&&e.duration!==0){let s=t.current,i=r.current,a=o.current;s.style.opacity="0.5",i.style.opacity="0.5",a.style.opacity="0.5";let l=new ln,u=p=>{n.current?(l.update(p),requestAnimationFrame(u)):l.removeAll()};new ns({o:.5},l).to({o:1},e.duration/3).onStart(p=>{s.style.opacity=p.o.toString()}).onUpdate(p=>{s.style.opacity=p.o.toString()}).start(),new ns({o:.5},l).delay(e.duration/3).to({o:1},e.duration/3).onStart(p=>{i.style.opacity=p.o.toString()}).onUpdate(p=>{i.style.opacity=p.o.toString()}).start(),new ns({o:.5},l).delay(e.duration/3*2).to({o:1},e.duration/3).onStart(p=>{a.style.opacity=p.o.toString()}).onUpdate(p=>{a.style.opacity=p.o.toString()}).start(),n.current=l,requestAnimationFrame(u)}else n.current&&(n.current.removeAll(),n.current=null);return()=>{n.current&&(n.current.removeAll(),n.current=null)}},[e.selected,e.duration]),e.duration===0?(0,xo.jsx)(xo.Fragment,{}):(0,xo.jsxs)("div",{className:Xr("am-lyric-dots",{"am-lyric-dots-selected":e.selected&&e.duration!==0}),children:[(0,xo.jsx)("div",{ref:t}),(0,xo.jsx)("div",{ref:r}),(0,xo.jsx)("div",{ref:o})]})};function qx(e,t,r,o){let n=Oy(e).map(i=>({time:i.time,originalLyric:i.lyric,duration:0}));Oy(t).forEach(i=>{let a=n.find(l=>l.time===i.time);a&&(a.translatedLyric=i.lyric)}),Oy(r).forEach(i=>{let a=n.find(l=>l.time===i.time);a&&(a.romanLyric=i.lyric)}),n.sort((i,a)=>i.time-a.time),ct("\u539F\u59CB\u6B4C\u8BCD\u89E3\u6790",JSON.parse(JSON.stringify(n)));let s=d2(n);if(ct("\u5904\u7406\u5B8C\u6210\u6B4C\u8BCD\u89E3\u6790",JSON.parse(JSON.stringify(s))),o.trim().length>0)for(let i of o.trim().split(` -`)){let a=i.trim(),l=a.match(u2);if(l){let u=parseInt(l.groups?.time||"0"),p=parseInt(l.groups?.duration||"0");a=l.groups?.line||"";let m=[];for(;a.length>0;){let v=a.match(p2);if(v){let T=parseInt(v.groups?.time||"0"),g=parseInt(v.groups?.duration||"0"),S=parseInt(v.groups?.flag||"0"),y=v.groups?.word;y&&m.push({time:T,duration:g,flag:S,word:y}),a=a.slice(v.index||0+v[0].length)}else break}let f=null;ct("\u9010\u8BCD\u6B4C\u8BCD",u,p,m.map(v=>v.word).join(""));for(let v of s)f?v.originalLyric.trim().length>0&&Math.abs(f.time-u)>Math.abs(v.time-u)&&(f=v):v.originalLyric.trim().length>0&&(f=v);if(f)if(f.dynamicLyric!==void 0&&f.dynamicLyricTime!==void 0&&f.duration!==void 0&&u-f.dynamicLyricTime>=0){let v=u-f.dynamicLyricTime;f.duration=u-f.dynamicLyricTime+p,f.dynamicLyric=[...f.dynamicLyric,{time:u,duration:0,flag:0,word:" "},...m]}else f.dynamicLyric=m,f.dynamicLyricTime=u,f.duration=p}}else for(let i=0;i[0-9]+),(?[0-9]+)\](?.*)/,p2=/^\((?