diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..c2720e8 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,59 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ['main'] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: 'pages' + cancel-in-progress: true + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Build + run: npm run build + env: + VITE_APP_1: ${{ secrets.VITE_APP_1 }} + + - name: Setup Pages + uses: actions/configure-pages@v4 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload dist folder + path: './dist' + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/dist/assets/279-removebg-preview-DylIsIXo.png b/dist/assets/279-removebg-preview-DylIsIXo.png new file mode 100644 index 0000000..7e81914 Binary files /dev/null and b/dist/assets/279-removebg-preview-DylIsIXo.png differ diff --git a/dist/assets/705204-Cc6xpFZt.jpg b/dist/assets/705204-Cc6xpFZt.jpg new file mode 100644 index 0000000..4f15552 Binary files /dev/null and b/dist/assets/705204-Cc6xpFZt.jpg differ diff --git a/dist/assets/GretaSansStdReg-Dkruaf3B.ttf b/dist/assets/GretaSansStdReg-Dkruaf3B.ttf new file mode 100644 index 0000000..e64b09b Binary files /dev/null and b/dist/assets/GretaSansStdReg-Dkruaf3B.ttf differ diff --git a/dist/assets/Hulk1TEST-Tiiazf4n.png b/dist/assets/Hulk1TEST-Tiiazf4n.png new file mode 100644 index 0000000..21afadd Binary files /dev/null and b/dist/assets/Hulk1TEST-Tiiazf4n.png differ diff --git a/dist/assets/Hulk1TEST2-DWVEZkZB.png b/dist/assets/Hulk1TEST2-DWVEZkZB.png new file mode 100644 index 0000000..be49e06 Binary files /dev/null and b/dist/assets/Hulk1TEST2-DWVEZkZB.png differ diff --git a/dist/assets/IronMan1TEST-DtaZikhe.png b/dist/assets/IronMan1TEST-DtaZikhe.png new file mode 100644 index 0000000..e574cce Binary files /dev/null and b/dist/assets/IronMan1TEST-DtaZikhe.png differ diff --git a/dist/assets/IronMan1TEST2-BiJuaV7s.png b/dist/assets/IronMan1TEST2-BiJuaV7s.png new file mode 100644 index 0000000..596d3ce Binary files /dev/null and b/dist/assets/IronMan1TEST2-BiJuaV7s.png differ diff --git a/dist/assets/batman1-DCoTpiwQ.png b/dist/assets/batman1-DCoTpiwQ.png new file mode 100644 index 0000000..399e2f5 Binary files /dev/null and b/dist/assets/batman1-DCoTpiwQ.png differ diff --git a/dist/assets/batman2NoBG-B1Qj_5sH.png b/dist/assets/batman2NoBG-B1Qj_5sH.png new file mode 100644 index 0000000..64c894a Binary files /dev/null and b/dist/assets/batman2NoBG-B1Qj_5sH.png differ diff --git a/dist/assets/cc-high-resolution-logo-color-on-transparent-background-DVOd2ZUx.png b/dist/assets/cc-high-resolution-logo-color-on-transparent-background-DVOd2ZUx.png new file mode 100644 index 0000000..366fede Binary files /dev/null and b/dist/assets/cc-high-resolution-logo-color-on-transparent-background-DVOd2ZUx.png differ diff --git a/dist/assets/index-8wczIkAJ.css b/dist/assets/index-8wczIkAJ.css new file mode 100644 index 0000000..08ec610 --- /dev/null +++ b/dist/assets/index-8wczIkAJ.css @@ -0,0 +1 @@ +.modalContent::-webkit-scrollbar-track{box-shadow:inset 0 0;border-radius:15px}.closeModalButton{color:#fff;z-index:999;position:absolute;top:0;right:0;width:70px;height:25px;border:none;border-radius:4px;background-color:#c00;font-size:1.4rem;font-family:GretaSansStdReg;clip-path:polygon(10% 0,90% 0,100% 100%,0% 100%);transform:translateY(-95%);cursor:pointer}.closeModalButton:hover{background-color:#a10101}.modalList{position:absolute;transform:translate(-110%);list-style-type:none;display:flex;flex-direction:column;gap:16px}.modalList li{height:100px;width:11.5vw;max-width:240px;border-radius:5px;color:#fff;font-family:Oswald,sans-serif;font-size:2rem;letter-spacing:.02rem;background-color:#2654aa;transition:all ease-out .218s;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.modalList li:hover{background-color:#3371e6}.modalList p{z-index:1;text-shadow:3px -1px 9px rgba(0,0,0,.44)}.modalLiImageWrapper{width:100%;height:auto;position:absolute;right:0;display:flex;justify-content:end;align-items:start}.modalLiImage{position:relative;width:50%;height:auto;transition:opacity ease-in-out .218s}.modalContent::-webkit-scrollbar-thumb{border-radius:1px}.modal-active{overflow:hidden}.modalOverlay{position:fixed;width:100%;height:100%;background-color:#00000060;z-index:998;display:flex;justify-content:center;align-items:center}.modalContainer{position:fixed;width:1200px;height:fit-content;background-color:#eaedff;border:solid 1px #3372e6b2;border-radius:10px}.modalContent{overflow-y:scroll;height:700px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:24px;padding:24px}@keyframes bounce{0%{transform:translateY(0)}to{transform:translateY(-6px)}}.dot{animation:bounce 1s infinite alternate}.dot:nth-child(2){animation-delay:.4s}.dot:nth-child(3){animation-delay:.8s}.modalContainer header{transform:translate(-2%,-100%);position:absolute;background-color:#3371e6;display:flex;justify-content:center;width:100%;top:0;border-radius:10px;gap:16px}.searchIcon{width:16px;height:auto;fill:#000000af;transition:all .218s}.arrowIconSmall{width:8px;height:auto;fill:#393c3f;transition:all .218s}.dotsMenuList:hover .arrowIconSmall{transform:rotate(90deg)}.modalTextInput{height:32px;border-radius:10px;padding:2px;border:1px solid transparent;outline:none;transition:all .218s;font-family:roboto,sans-serif;font-weight:500;font-size:1rem;color:#000;background-color:#e8f0fe}.modalInputWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:fit-content}.modalSearchButton{position:absolute;right:1%;border-radius:10px;padding:4px;border:1px solid transparent;transition:all .218s;font-family:roboto,sans-serif;cursor:pointer;background-color:#e8f0fe83}.modalSearchButton:hover .searchIcon{fill:#3371e6}.modalComic{position:relative;width:17.64%;height:fit-content;display:flex;flex-direction:column;margin:0 3.9px;cursor:pointer}.modalComic:hover .modalComicTitle{color:#c40000}.modalComic:hover .modalComicCover{transform:translateY(-4%);box-shadow:0 5px 20px -10px #000c}.modalComicCover{width:100%;height:auto;position:relative;transition:all .218s;aspect-ratio:175 / 269}.modalComicTitle{width:fit-content;font-family:roboto,sans-serif;font-weight:500;font-size:1rem;position:relative;color:#000000d8;transition:all .218s;margin-top:4px}.modalFolder{position:relative;width:258px;height:258px;background-color:#bfd5ff;border:solid 1px rgb(234,237,255);border-radius:8%;transition:all .218s;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;padding:8px}.folderIcon,.folderIconAdd{width:184px;height:auto;transition:all .218s}.dotsIconFolder{width:8px;height:auto;position:relative;opacity:0;transition:all .218s}.trashIcon,.penIcon,.arrowIcon{width:16px;height:auto;fill:#393c3f;transition:all .218s}.warningIcon{position:relative;right:0;width:16px;fill:#393c3f}.arrowIcon{width:14px}.dotsWrapper{position:absolute;transform:translate(-10%,30%);top:0;right:0;width:32px;border-radius:6px;display:flex;justify-content:center;align-items:center;transition:all .218s;opacity:1}.dotsWrapper:hover{background-color:#ffffff5b}.modalFolderWrapper:hover .modalFolder{border:solid 1px rgb(116,163,235);transform:translateY(-1.358%);box-shadow:0 5px 20px -10px #0000008c;background-color:#b7cdf7}.modalFolderWrapper:hover .dotsIconFolder{opacity:1}.folderName{position:relative;font-family:GretaSansStdReg;font-size:2rem;color:#fff;word-wrap:break-word}.modalTextInput:focus{border:1px solid rgb(116,163,235)}.folderButtonsContainer{width:100%;padding-top:16px;display:flex;justify-content:space-between}.folderButton{background-color:#3371e6;color:#fff;border:none;padding:8px;border-radius:15px;font-family:roboto,sans-serif;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .218s}.folderButton:hover{transform:scale(1.09)}.dotsMenu{position:absolute;height:fit-content;width:120px;max-width:120px;background-color:#eaedff;border-radius:10px;border:solid 1px #3372e6b2;padding:5px;transition:all .118s;max-height:200px;overflow:auto}.dotsMenuList li{font-family:roboto,sans-serif;font-weight:500;color:#393c3f;padding:6px;transition:all .218s;border-radius:5px;position:relative;display:flex}.liSpacer{justify-content:space-between}.dotsMenuList li:hover{background-color:#6a798a31}.dotsIconComic{width:5.5px;height:auto;position:absolute;fill:#393c3f}.infoSpacer{position:relative;width:20px;height:20px;margin-top:4px;display:flex;justify-content:center;align-items:center;padding:1px;background-color:transparent;border-radius:4px;transition:all .218s;border:none}.infoSpacer:hover{background-color:#00000036}.infoSpacer:hover .trashIcon{fill:#000;transform:scale(1.1)}.flao p:hover{text-decoration:underline}@keyframes ComicIntro{0%{transform:rotate(0) scale(2) translateY(48%);opacity:0}to{transform:rotate(-22.5deg) scale(2) translateY(0);opacity:36%}}@keyframes ComicIntroPortrait{0%{transform:rotate(0) translateY(38%);opacity:0}to{transform:rotate(-12deg) translateY(0);opacity:100%}}.modalActiveComic{border-top:8px solid #e6c300;position:relative;width:62%;height:fit-content}.creators p:not(:first-child):before{content:", "}.modalActiveComicBg{position:absolute;width:50%;height:fit-content;z-index:-1;filter:grayscale(100%);opacity:36%;transform:rotate(-22.5deg) scale(2);right:0;bottom:0;animation:ComicIntro 1s ease 0s 1}.activeComicInfo{display:flex;flex-direction:column;width:100%;justify-content:space-between;height:auto;gap:16px;padding-right:.7%}.activeComicInfo .title{border-top:8px solid #e6c300;width:fit-content;font-size:2.5rem}.activeComicContent{position:relative;display:flex;height:auto;overflow:hidden;margin-top:24px;width:100%}.spacer{width:1%;height:100%;position:relative;border-top:8px solid #e6c300}.infoWrapper{width:100%;height:fit-content;position:relative;display:flex;justify-content:space-between}.activeComicFloatingText{position:absolute;display:flex;justify-content:start;align-items:center;text-wrap:nowrap;transition:all .218s;width:100%}.activeComicFloatingText .title{width:fit-content;font-size:1rem}.activeComicFloatingText .title:hover{text-decoration:underline;cursor:pointer}@media screen and (max-width: 600px){.modalContainer{width:95%;transform:translateY(-5%)}.modalContent{justify-content:center;height:60vh}.modalList{transform:translateY(110%);flex-direction:row;bottom:0;z-index:1}.modalList li{height:8vh;width:46vw}.modalFolder{width:100%;height:100%}.modalFolderWrapper{height:22%;width:45%}.folderIcon,.folderIconAdd{width:65%}.dotsIconFolder{opacity:1;width:20%}.folderName{font-size:1.2rem}.modalComic{width:45.16%;margin:0}.modalContainer header{transform:translate(1%,-100%);height:7vh}.modalInputWrapper{width:70%}}@media only screen and (min-device-width: 600px) and (max-device-width: 1280px){.modalContainer{width:95%}.modalContent{justify-content:center;height:68vh}.modalList{transform:translateY(110%);flex-direction:row;bottom:0;width:100%;justify-content:center;z-index:1}.modalList li{height:8vh;width:30vw}.modalList .dots{display:none}.dotsIconFolder{opacity:1;width:20%}.modalComic{width:30.96%;margin:0}.modalContainer header{transform:translate(.4%,-100%)}}@media only screen and (min-device-width: 481px) and (max-device-width: 1400px) and (orientation:landscape){.modalComic{width:22.99%;margin:0}.modalList li{height:8vh;width:30vw}.modalList{transform:translateY(110%);flex-direction:row;bottom:0;width:100%;justify-content:center;z-index:1}.dotsIconFolder{opacity:1;width:20%}}@media only screen and (min-device-width: 320px) and (max-device-width: 1280px) and (orientation:portrait){.activeComicContent{flex-direction:column;height:fit-content;align-items:center;margin-top:24px;width:100%}.modalActiveComic{border-top:none;width:88%}.spacer{display:none}.modalActiveComicBg{position:absolute;width:100%;filter:grayscale(0%);opacity:100%;transform:rotate(-12deg);display:flex;justify-content:center;animation:ComicIntroPortrait 1s ease 0s 1}.modalActiveComicBg .modalComicCover{width:100%;filter:grayscale(100%);opacity:36%;transform:scale(1.5)}.activeComicInfo{padding:0 1%;width:88%}}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}@font-face{font-family:GretaSansStdReg;src:url(/Comic-Corner/assets/GretaSansStdReg-Dkruaf3B.ttf) format("truetype")}*{padding:0;margin:0}html{scroll-behavior:smooth}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#2267e7;border-radius:15px}::-webkit-scrollbar-thumb:hover{background:#2a5bb4}::-webkit-scrollbar-thumb:active{background-color:#2854a5}::-webkit-scrollbar-track{box-shadow:inset 0 0 5px gray;border-radius:15px}a{text-decoration:none}.headerContainer{z-index:2;overflow:hidden}.logoContainer{display:flex;align-items:center;justify-content:center;height:fit-content}.logoContainer p{font-family:Poppins,sans-serif;color:#fff;font-weight:600}header{align-items:center;justify-content:space-around;height:70px;display:flex;background-color:#3371e6;position:relative;z-index:1}.imgLogo{width:100%;max-width:80px;height:auto;margin-left:-10px}.linkContainer a{color:#fff;font-family:Oswald,sans-serif;font-size:1.2rem;letter-spacing:.02rem;transition:all 1s}.linkContainer a:not(:last-child){margin-right:56px}.linkContainer a:hover{cursor:pointer}.linkContainer{display:flex;position:relative;width:fit-content;align-items:center;justify-content:center}.linkContainer a:after{display:block;content:"";border-bottom:2px solid rgb(211,211,211);transform:scaleX(0);transition:transform .25s ease-in-out}.linkContainer a.line:after{transform-origin:100% 50%}.linkContainer a.line:hover:after{transform:scaleX(1);transform-origin:0% 50%}.mainContainer{align-items:center;display:flex;flex-direction:column;position:relative}.effectContainer{display:flex;align-items:center;justify-content:center;background-color:#000;overflow:hidden;box-shadow:-1px 9px 25px 8px #00000073,inset 0 70px 88px -32px #ff030357;width:79.5vw}.bannerContainer{display:flex;align-items:center;justify-content:center;width:80%;height:auto;position:relative;z-index:0;overflow:hidden}.banner{width:70%;height:auto;z-index:5;position:relative}.header{z-index:33;position:absolute}.content{display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden;margin-bottom:16vh;position:relative;z-index:1}.content h1{border-top:solid #e6c300}.title{display:flex;align-items:center;justify-content:flex-start;width:80%;font-weight:900;font-family:GretaSansStdReg;text-transform:uppercase;letter-spacing:.03rem;font-size:1.5rem;opacity:.8}.middle{display:flex;width:100%;height:466px;justify-content:space-evenly;align-items:center;overflow:scroll;cursor:grab;overflow-y:hidden;gap:56px}.middle.active{cursor:grabbing}.comic{border:10px solid black;width:250px;height:auto;border-color:transparent;position:relative;transition:all .25s;scroll-snap-align:end;rotate:-2deg}.comic button{position:absolute;top:0;right:5px;font-family:roboto,sans-serif;font-size:1rem;color:#fff;background-color:#3371e6;border:1px solid white;border-radius:100%;padding:5px;opacity:0;transition:opacity .15s ease-in-out;cursor:pointer;box-shadow:inset 10px 10px 28px -14px #00000059}.comic:hover button{opacity:1}.comic button:hover{color:#3371e6;background-color:#fff}.comic p{text-align:start}.comic:hover .comicCover{transform:translateY(-5%)}.comic:hover p{color:#c40000}.comicCover{width:250px;height:auto;z-index:1;transition:all .218s;margin-bottom:.3rem;box-shadow:10px 10px 21px #00000054;-webkit-user-drag:none}.middle p{font-family:roboto,sans-serif;font-weight:500;font-size:1rem;position:absolute;color:#646464;transition:all .15s ease-in-out}#loading{color:#000;text-align:end;font-size:3rem;text-transform:uppercase;font-family:Oswald,sans-serif;font-style:italic;display:flex}.newsContainer{rotate:-2deg;background-color:#3371e6;width:100%;height:auto;display:flex;flex-direction:column;align-items:center;justify-content:space-around;margin-bottom:16vh}.heroContainer{border:2px solid white;border-radius:110px;width:220px;height:500px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:10px 10px 33px -6px #0000005c;transition:all .25s ease-in-out}.heroContainer:hover{box-shadow:inset 10px 10px 33px -6px #0000005c}.heroContainer:hover .heroImageB{transform:translateY(-8%) scale(1.2);opacity:1}.heroContainer:hover .heroImageA{opacity:0}.heroImageA{transform:translateY(5%);width:260%;height:auto;position:relative;transition:all .25s ease-in-out}.heroImageB{width:100%;max-width:431.25px;height:auto;position:absolute;opacity:0;transition:all .25s ease-in-out}.sideA{display:flex;margin-bottom:-160px;rotate:2deg}.dots{width:40%;height:auto;position:absolute;opacity:10%;user-drag:none;-webkit-user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;z-index:-1}.Top{left:0;top:0}.Bottom{rotate:180deg;right:0;bottom:0}.heroTitle{position:absolute;top:0;font-family:oswald,sans-serif;font-size:1.3rem;color:#fff;margin-top:16px;rotate:2px;letter-spacing:.02rem;box-shadow:10px 10px 33px -6px #0000005c;text-transform:uppercase}.heroContext{display:flex;flex-direction:column;text-transform:uppercase;position:absolute;text-align:center;rotate:2deg;font-family:oswald,sans-serif;font-size:3rem;letter-spacing:.02rem;color:#ffc14d;font-weight:900;text-shadow:-20px 15px 25px rgba(0,0,0,.45)}.heroImageBatman{width:100%;max-width:575px;height:auto;position:absolute;opacity:0;transition:all .25s ease-in-out}.heroContainer:hover .heroImageBatman{transform:translateY(-8%) scale(1.1);opacity:1}footer{width:100%;height:72px;background-color:#000;color:gray;text-align:center;margin-top:-16vh}@media screen and (max-width: 600px){@keyframes MenuActive{0%{transform:translate(50%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes MenuUnactive{0%{transform:translate(0);opacity:1}to{transform:translate(50%);opacity:0}}::-webkit-scrollbar-track{box-shadow:inset 0 0 gray}header{justify-content:space-between;padding:0 2%}header a{font-size:1rem;letter-spacing:.02rem;position:relative}.linkContainer a:not(:last-child){margin-right:0}.linkContainer a{font-size:1.5rem}.effectContainer{width:159.5vw}.mainContainer{overflow:hidden}.title{font-size:1.5rem}.content{align-items:flex-start}.comicCover{width:140px}.comic{border:5px solid black;border-color:transparent}.comic p{position:absolute;font-size:.8rem}.middle{height:300px;scroll-snap-type:x mandatory;gap:8%}.heroContainer{width:82.5px;height:187.5px;z-index:1}.newsContainer{height:90vh}.heroContext{z-index:2}.heroImageBatman{max-width:287.5px}.heroImageB{max-width:215.62px}.dots{width:100vw}}@media only screen and (max-width: 1050px){.comicCover{width:140px}.comic{border:1px solid black;border-color:transparent}.comic p{position:absolute;font-size:.8rem}.middle,.middle2{height:300px;scroll-snap-type:x mandatory}} diff --git a/dist/assets/index-bbbbVG8K.js b/dist/assets/index-bbbbVG8K.js new file mode 100644 index 0000000..9fc0101 --- /dev/null +++ b/dist/assets/index-bbbbVG8K.js @@ -0,0 +1,47 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function ha(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ya={exports:{}},Ho={},va={exports:{}},I={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var jr=Symbol.for("react.element"),vd=Symbol.for("react.portal"),gd=Symbol.for("react.fragment"),wd=Symbol.for("react.strict_mode"),Sd=Symbol.for("react.profiler"),xd=Symbol.for("react.provider"),Cd=Symbol.for("react.context"),Ed=Symbol.for("react.forward_ref"),kd=Symbol.for("react.suspense"),Nd=Symbol.for("react.memo"),jd=Symbol.for("react.lazy"),Vs=Symbol.iterator;function Td(e){return e===null||typeof e!="object"?null:(e=Vs&&e[Vs]||e["@@iterator"],typeof e=="function"?e:null)}var ga={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wa=Object.assign,Sa={};function Fn(e,t,n){this.props=e,this.context=t,this.refs=Sa,this.updater=n||ga}Fn.prototype.isReactComponent={};Fn.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")};Fn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xa(){}xa.prototype=Fn.prototype;function Ui(e,t,n){this.props=e,this.context=t,this.refs=Sa,this.updater=n||ga}var Hi=Ui.prototype=new xa;Hi.constructor=Ui;wa(Hi,Fn.prototype);Hi.isPureReactComponent=!0;var $s=Array.isArray,Ca=Object.prototype.hasOwnProperty,Vi={current:null},Ea={key:!0,ref:!0,__self:!0,__source:!0};function ka(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)Ca.call(t,r)&&!Ea.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,Y=T[D];if(0>>1;Do($t,O))feo(wt,$t)?(T[D]=wt,T[fe]=O,D=fe):(T[D]=$t,T[He]=O,D=He);else if(feo(wt,O))T[D]=wt,T[fe]=O,D=fe;else break e}}return E}function o(T,E){var O=T.sortIndex-E.sortIndex;return O!==0?O:T.id-E.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],a=[],f=1,h=null,y=3,x=!1,v=!1,w=!1,F=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(T){for(var E=n(a);E!==null;){if(E.callback===null)r(a);else if(E.startTime<=T)r(a),E.sortIndex=E.expirationTime,t(u,E);else break;E=n(a)}}function S(T){if(w=!1,p(T),!v)if(n(u)!==null)v=!0,lt(j);else{var E=n(a);E!==null&>(S,E.startTime-T)}}function j(T,E){v=!1,w&&(w=!1,m(R),R=-1),x=!0;var O=y;try{for(p(E),h=n(u);h!==null&&(!(h.expirationTime>E)||T&&!X());){var D=h.callback;if(typeof D=="function"){h.callback=null,y=h.priorityLevel;var Y=D(h.expirationTime<=E);E=e.unstable_now(),typeof Y=="function"?h.callback=Y:h===n(u)&&r(u),p(E)}else r(u);h=n(u)}if(h!==null)var it=!0;else{var He=n(a);He!==null&>(S,He.startTime-E),it=!1}return it}finally{h=null,y=O,x=!1}}var k=!1,N=null,R=-1,$=5,M=-1;function X(){return!(e.unstable_now()-M<$)}function Je(){if(N!==null){var T=e.unstable_now();M=T;var E=!0;try{E=N(!0,T)}finally{E?ot():(k=!1,N=null)}}else k=!1}var ot;if(typeof d=="function")ot=function(){d(Je)};else if(typeof MessageChannel<"u"){var Vt=new MessageChannel,Dn=Vt.port2;Vt.port1.onmessage=Je,ot=function(){Dn.postMessage(null)}}else ot=function(){F(Je,0)};function lt(T){N=T,k||(k=!0,ot())}function gt(T,E){R=F(function(){T(e.unstable_now())},E)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){v||x||(v=!0,lt(j))},e.unstable_forceFrameRate=function(T){0>T||125D?(T.sortIndex=O,t(a,T),n(u)===null&&T===n(a)&&(w?(m(R),R=-1):w=!0,gt(S,O-D))):(T.sortIndex=Y,t(u,T),v||x||(v=!0,lt(j))),T},e.unstable_shouldYield=X,e.unstable_wrapCallback=function(T){var E=y;return function(){var O=y;y=E;try{return T.apply(this,arguments)}finally{y=O}}}})(Ra);_a.exports=Ra;var Dd=_a.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Bd=P,Le=Dd;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hl=Object.prototype.hasOwnProperty,Ud=/^[: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]*$/,Qs={},Ks={};function Hd(e){return Hl.call(Ks,e)?!0:Hl.call(Qs,e)?!1:Ud.test(e)?Ks[e]=!0:(Qs[e]=!0,!1)}function Vd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function $d(e,t,n,r){if(t===null||typeof t>"u"||Vd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Se(e,t,n,r,o,l,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=i}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new Se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new Se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new Se(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){ce[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new Se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new Se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new Se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Wi=/[\-:]([a-z])/g;function Qi(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(Wi,Qi);ce[t]=new Se(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(Wi,Qi);ce[t]=new Se(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(Wi,Qi);ce[t]=new Se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ki(e,t,n,r){var o=ce.hasOwnProperty(t)?ce[t]:null;(o!==null?o.type!==0:r||!(2s||o[i]!==l[s]){var u=` +`+o[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{fl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Xn(e):""}function Wd(e){switch(e.tag){case 5:return Xn(e.type);case 16:return Xn("Lazy");case 13:return Xn("Suspense");case 19:return Xn("SuspenseList");case 0:case 2:case 15:return e=dl(e.type,!1),e;case 11:return e=dl(e.type.render,!1),e;case 1:return e=dl(e.type,!0),e;default:return""}}function Ql(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 an:return"Fragment";case un:return"Portal";case Vl:return"Profiler";case Yi:return"StrictMode";case $l:return"Suspense";case Wl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Oa:return(e.displayName||"Context")+".Consumer";case La:return(e._context.displayName||"Context")+".Provider";case Gi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xi:return t=e.displayName||null,t!==null?t:Ql(e.type)||"Memo";case Ct:t=e._payload,e=e._init;try{return Ql(e(t))}catch{}}return null}function Qd(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 Ql(t);case 8:return t===Yi?"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 It(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ma(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Kd(e){var t=Ma(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Dr(e){e._valueTracker||(e._valueTracker=Kd(e))}function za(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ma(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function mo(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 Kl(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Gs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=It(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ia(e,t){t=t.checked,t!=null&&Ki(e,"checked",t,!1)}function Yl(e,t){Ia(e,t);var n=It(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Gl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Gl(e,t.type,It(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Xs(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Gl(e,t,n){(t!=="number"||mo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var qn=Array.isArray;function Sn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Br.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ar(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var bn={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},Yd=["Webkit","ms","Moz","O"];Object.keys(bn).forEach(function(e){Yd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bn[t]=bn[e]})});function Ua(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||bn.hasOwnProperty(e)&&bn[e]?(""+t).trim():t+"px"}function Ha(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Ua(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Gd=Z({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 Jl(e,t){if(t){if(Gd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Zl(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 bl=null;function qi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ei=null,xn=null,Cn=null;function Zs(e){if(e=Rr(e)){if(typeof ei!="function")throw Error(C(280));var t=e.stateNode;t&&(t=Ko(t),ei(e.stateNode,e.type,t))}}function Va(e){xn?Cn?Cn.push(e):Cn=[e]:xn=e}function $a(){if(xn){var e=xn,t=Cn;if(Cn=xn=null,Zs(e),t)for(e=0;e>>=0,e===0?32:31-(lp(e)/ip|0)|0}var Ur=64,Hr=4194304;function Jn(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 go(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~o;s!==0?r=Jn(s):(l&=i,l!==0&&(r=Jn(l)))}else i=n&~o,i!==0?r=Jn(i):l!==0&&(r=Jn(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Tr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ke(t),e[t]=n}function cp(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=tr),su=" ",uu=!1;function ac(e,t){switch(e){case"keyup":return Dp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var cn=!1;function Up(e,t){switch(e){case"compositionend":return cc(t);case"keypress":return t.which!==32?null:(uu=!0,su);case"textInput":return e=t.data,e===su&&uu?null:e;default:return null}}function Hp(e,t){if(cn)return e==="compositionend"||!os&&ac(e,t)?(e=sc(),no=ts=jt=null,cn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=du(n)}}function mc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hc(){for(var e=window,t=mo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=mo(e.document)}return t}function ls(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 qp(e){var t=hc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&mc(n.ownerDocument.documentElement,n)){if(r!==null&&ls(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=pu(n,l);var i=pu(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,fn=null,ii=null,rr=null,si=!1;function mu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;si||fn==null||fn!==mo(r)||(r=fn,"selectionStart"in r&&ls(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),rr&&hr(rr,r)||(rr=r,r=xo(ii,"onSelect"),0mn||(e.current=pi[mn],pi[mn]=null,mn--)}function W(e,t){mn++,pi[mn]=e.current,e.current=t}var At={},he=Bt(At),Ee=Bt(!1),Zt=At;function Tn(e,t){var n=e.type.contextTypes;if(!n)return At;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ke(e){return e=e.childContextTypes,e!=null}function Eo(){K(Ee),K(he)}function xu(e,t,n){if(he.current!==At)throw Error(C(168));W(he,t),W(Ee,n)}function kc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(C(108,Qd(e)||"Unknown",o));return Z({},n,r)}function ko(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||At,Zt=he.current,W(he,e),W(Ee,Ee.current),!0}function Cu(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=kc(e,t,Zt),r.__reactInternalMemoizedMergedChildContext=e,K(Ee),K(he),W(he,e)):K(Ee),W(Ee,n)}var at=null,Yo=!1,jl=!1;function Nc(e){at===null?at=[e]:at.push(e)}function u1(e){Yo=!0,Nc(e)}function Ut(){if(!jl&&at!==null){jl=!0;var e=0,t=V;try{var n=at;for(V=1;e>=i,o-=i,ct=1<<32-Ke(t)+o|n<R?($=N,N=null):$=N.sibling;var M=y(m,N,p[R],S);if(M===null){N===null&&(N=$);break}e&&N&&M.alternate===null&&t(m,N),d=l(M,d,R),k===null?j=M:k.sibling=M,k=M,N=$}if(R===p.length)return n(m,N),G&&Wt(m,R),j;if(N===null){for(;RR?($=N,N=null):$=N.sibling;var X=y(m,N,M.value,S);if(X===null){N===null&&(N=$);break}e&&N&&X.alternate===null&&t(m,N),d=l(X,d,R),k===null?j=X:k.sibling=X,k=X,N=$}if(M.done)return n(m,N),G&&Wt(m,R),j;if(N===null){for(;!M.done;R++,M=p.next())M=h(m,M.value,S),M!==null&&(d=l(M,d,R),k===null?j=M:k.sibling=M,k=M);return G&&Wt(m,R),j}for(N=r(m,N);!M.done;R++,M=p.next())M=x(N,m,R,M.value,S),M!==null&&(e&&M.alternate!==null&&N.delete(M.key===null?R:M.key),d=l(M,d,R),k===null?j=M:k.sibling=M,k=M);return e&&N.forEach(function(Je){return t(m,Je)}),G&&Wt(m,R),j}function F(m,d,p,S){if(typeof p=="object"&&p!==null&&p.type===an&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Ar:e:{for(var j=p.key,k=d;k!==null;){if(k.key===j){if(j=p.type,j===an){if(k.tag===7){n(m,k.sibling),d=o(k,p.props.children),d.return=m,m=d;break e}}else if(k.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===Ct&&Nu(j)===k.type){n(m,k.sibling),d=o(k,p.props),d.ref=Qn(m,k,p),d.return=m,m=d;break e}n(m,k);break}else t(m,k);k=k.sibling}p.type===an?(d=qt(p.props.children,m.mode,S,p.key),d.return=m,m=d):(S=co(p.type,p.key,p.props,null,m.mode,S),S.ref=Qn(m,d,p),S.return=m,m=S)}return i(m);case un:e:{for(k=p.key;d!==null;){if(d.key===k)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(m,d.sibling),d=o(d,p.children||[]),d.return=m,m=d;break e}else{n(m,d);break}else t(m,d);d=d.sibling}d=Ml(p,m.mode,S),d.return=m,m=d}return i(m);case Ct:return k=p._init,F(m,d,k(p._payload),S)}if(qn(p))return v(m,d,p,S);if(Un(p))return w(m,d,p,S);Gr(m,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(m,d.sibling),d=o(d,p),d.return=m,m=d):(n(m,d),d=Fl(p,m.mode,S),d.return=m,m=d),i(m)):n(m,d)}return F}var Rn=Rc(!0),Pc=Rc(!1),To=Bt(null),_o=null,vn=null,as=null;function cs(){as=vn=_o=null}function fs(e){var t=To.current;K(To),e._currentValue=t}function yi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function kn(e,t){_o=e,as=vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ce=!0),e.firstContext=null)}function Be(e){var t=e._currentValue;if(as!==e)if(e={context:e,memoizedValue:t,next:null},vn===null){if(_o===null)throw Error(C(308));vn=e,_o.dependencies={lanes:0,firstContext:e}}else vn=vn.next=e;return t}var Yt=null;function ds(e){Yt===null?Yt=[e]:Yt.push(e)}function Lc(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,ds(t)):(n.next=o.next,o.next=n),t.interleaved=n,ht(e,r)}function ht(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Et=!1;function ps(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Oc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function dt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ot(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,B&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ht(e,n)}return o=r.interleaved,o===null?(t.next=t,ds(r)):(t.next=o.next,o.next=t),r.interleaved=t,ht(e,n)}function oo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Zi(e,n)}}function ju(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?o=l=i:l=l.next=i,n=n.next}while(n!==null);l===null?o=l=t:l=l.next=t}else o=l=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ro(e,t,n,r){var o=e.updateQueue;Et=!1;var l=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var u=s,a=u.next;u.next=null,i===null?l=a:i.next=a,i=u;var f=e.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==i&&(s===null?f.firstBaseUpdate=a:s.next=a,f.lastBaseUpdate=u))}if(l!==null){var h=o.baseState;i=0,f=a=u=null,s=l;do{var y=s.lane,x=s.eventTime;if((r&y)===y){f!==null&&(f=f.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,w=s;switch(y=t,x=n,w.tag){case 1:if(v=w.payload,typeof v=="function"){h=v.call(x,h,y);break e}h=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=w.payload,y=typeof v=="function"?v.call(x,h,y):v,y==null)break e;h=Z({},h,y);break e;case 2:Et=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,y=o.effects,y===null?o.effects=[s]:y.push(s))}else x={eventTime:x,lane:y,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(a=f=x,u=h):f=f.next=x,i|=y;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;y=s,s=y.next,y.next=null,o.lastBaseUpdate=y,o.shared.pending=null}}while(!0);if(f===null&&(u=h),o.baseState=u,o.firstBaseUpdate=a,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else l===null&&(o.shared.lanes=0);tn|=i,e.lanes=i,e.memoizedState=h}}function Tu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=_l.transition;_l.transition={};try{e(!1),t()}finally{V=n,_l.transition=r}}function Xc(){return Ue().memoizedState}function d1(e,t,n){var r=Mt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qc(e))Jc(t,n);else if(n=Lc(e,t,n,r),n!==null){var o=ge();Ye(n,e,r,o),Zc(n,t,r)}}function p1(e,t,n){var r=Mt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qc(e))Jc(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,s=l(i,n);if(o.hasEagerState=!0,o.eagerState=s,Xe(s,i)){var u=t.interleaved;u===null?(o.next=o,ds(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=Lc(e,t,o,r),n!==null&&(o=ge(),Ye(n,e,r,o),Zc(n,t,r))}}function qc(e){var t=e.alternate;return e===J||t!==null&&t===J}function Jc(e,t){or=Lo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Zi(e,n)}}var Oo={readContext:Be,useCallback:de,useContext:de,useEffect:de,useImperativeHandle:de,useInsertionEffect:de,useLayoutEffect:de,useMemo:de,useReducer:de,useRef:de,useState:de,useDebugValue:de,useDeferredValue:de,useTransition:de,useMutableSource:de,useSyncExternalStore:de,useId:de,unstable_isNewReconciler:!1},m1={readContext:Be,useCallback:function(e,t){return be().memoizedState=[e,t===void 0?null:t],e},useContext:Be,useEffect:Ru,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,io(4194308,4,Wc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return io(4194308,4,e,t)},useInsertionEffect:function(e,t){return io(4,2,e,t)},useMemo:function(e,t){var n=be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=d1.bind(null,J,e),[r.memoizedState,e]},useRef:function(e){var t=be();return e={current:e},t.memoizedState=e},useState:_u,useDebugValue:xs,useDeferredValue:function(e){return be().memoizedState=e},useTransition:function(){var e=_u(!1),t=e[0];return e=f1.bind(null,e[1]),be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=J,o=be();if(G){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),se===null)throw Error(C(349));en&30||Ic(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,Ru(Dc.bind(null,r,l,e),[e]),r.flags|=2048,Er(9,Ac.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=be(),t=se.identifierPrefix;if(G){var n=ft,r=ct;n=(r&~(1<<32-Ke(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[et]=t,e[gr]=r,af(e,t,!1,!1),t.stateNode=e;e:{switch(i=Zl(n,r),n){case"dialog":Q("cancel",e),Q("close",e),o=r;break;case"iframe":case"object":case"embed":Q("load",e),o=r;break;case"video":case"audio":for(o=0;oOn&&(t.flags|=128,r=!0,Kn(l,!1),t.lanes=4194304)}else{if(!r)if(e=Po(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Kn(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!G)return pe(t),null}else 2*te()-l.renderingStartTime>On&&n!==1073741824&&(t.flags|=128,r=!0,Kn(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=te(),t.sibling=null,n=q.current,W(q,r?n&1|2:n&1),t):(pe(t),null);case 22:case 23:return Ts(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_e&1073741824&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function C1(e,t){switch(ss(t),t.tag){case 1:return ke(t.type)&&Eo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Pn(),K(Ee),K(he),ys(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return hs(t),null;case 13:if(K(q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));_n()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(q),null;case 4:return Pn(),null;case 10:return fs(t.type._context),null;case 22:case 23:return Ts(),null;case 24:return null;default:return null}}var qr=!1,me=!1,E1=typeof WeakSet=="function"?WeakSet:Set,_=null;function gn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){b(e,t,r)}else n.current=null}function Ni(e,t,n){try{n()}catch(r){b(e,t,r)}}var Uu=!1;function k1(e,t){if(ui=wo,e=hc(),ls(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,a=0,f=0,h=e,y=null;t:for(;;){for(var x;h!==n||o!==0&&h.nodeType!==3||(s=i+o),h!==l||r!==0&&h.nodeType!==3||(u=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(x=h.firstChild)!==null;)y=h,h=x;for(;;){if(h===e)break t;if(y===n&&++a===o&&(s=i),y===l&&++f===r&&(u=i),(x=h.nextSibling)!==null)break;h=y,y=h.parentNode}h=x}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ai={focusedElem:e,selectionRange:n},wo=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var w=v.memoizedProps,F=v.memoizedState,m=t.stateNode,d=m.getSnapshotBeforeUpdate(t.elementType===t.type?w:$e(t.type,w),F);m.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(S){b(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return v=Uu,Uu=!1,v}function lr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&Ni(t,n,l)}o=o.next}while(o!==r)}}function qo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ji(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function df(e){var t=e.alternate;t!==null&&(e.alternate=null,df(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[et],delete t[gr],delete t[di],delete t[i1],delete t[s1])),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 pf(e){return e.tag===5||e.tag===3||e.tag===4}function Hu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pf(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 Ti(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Co));else if(r!==4&&(e=e.child,e!==null))for(Ti(e,t,n),e=e.sibling;e!==null;)Ti(e,t,n),e=e.sibling}function _i(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(_i(e,t,n),e=e.sibling;e!==null;)_i(e,t,n),e=e.sibling}var ue=null,We=!1;function St(e,t,n){for(n=n.child;n!==null;)mf(e,t,n),n=n.sibling}function mf(e,t,n){if(tt&&typeof tt.onCommitFiberUnmount=="function")try{tt.onCommitFiberUnmount(Vo,n)}catch{}switch(n.tag){case 5:me||gn(n,t);case 6:var r=ue,o=We;ue=null,St(e,t,n),ue=r,We=o,ue!==null&&(We?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(We?(e=ue,n=n.stateNode,e.nodeType===8?Nl(e.parentNode,n):e.nodeType===1&&Nl(e,n),pr(e)):Nl(ue,n.stateNode));break;case 4:r=ue,o=We,ue=n.stateNode.containerInfo,We=!0,St(e,t,n),ue=r,We=o;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&Ni(n,t,i),o=o.next}while(o!==r)}St(e,t,n);break;case 1:if(!me&&(gn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){b(n,t,s)}St(e,t,n);break;case 21:St(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,St(e,t,n),me=r):St(e,t,n);break;default:St(e,t,n)}}function Vu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new E1),t.forEach(function(r){var o=F1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ve(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=te()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*j1(r/1960))-r,10e?16:e,Tt===null)var r=!1;else{if(e=Tt,Tt=null,zo=0,B&6)throw Error(C(331));var o=B;for(B|=4,_=e.current;_!==null;){var l=_,i=l.child;if(_.flags&16){var s=l.deletions;if(s!==null){for(var u=0;ute()-Ns?Xt(e,0):ks|=n),Ne(e,t)}function Cf(e,t){t===0&&(e.mode&1?(t=Hr,Hr<<=1,!(Hr&130023424)&&(Hr=4194304)):t=1);var n=ge();e=ht(e,t),e!==null&&(Tr(e,t,n),Ne(e,n))}function O1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cf(e,n)}function F1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),Cf(e,n)}var Ef;Ef=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ee.current)Ce=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ce=!1,S1(e,t,n);Ce=!!(e.flags&131072)}else Ce=!1,G&&t.flags&1048576&&jc(t,jo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;so(e,t),e=t.pendingProps;var o=Tn(t,he.current);kn(t,n),o=gs(null,t,r,e,o,n);var l=ws();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ke(r)?(l=!0,ko(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ps(t),o.updater=Xo,t.stateNode=o,o._reactInternals=t,gi(t,r,e,n),t=xi(null,t,r,!0,l,n)):(t.tag=0,G&&l&&is(t),ve(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(so(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=z1(r),e=$e(r,e),o){case 0:t=Si(null,t,r,e,n);break e;case 1:t=Au(null,t,r,e,n);break e;case 11:t=zu(null,t,r,e,n);break e;case 14:t=Iu(null,t,r,$e(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$e(r,o),Si(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$e(r,o),Au(e,t,r,o,n);case 3:e:{if(lf(t),e===null)throw Error(C(387));r=t.pendingProps,l=t.memoizedState,o=l.element,Oc(e,t),Ro(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=Ln(Error(C(423)),t),t=Du(e,t,r,n,o);break e}else if(r!==o){o=Ln(Error(C(424)),t),t=Du(e,t,r,n,o);break e}else for(Re=Lt(t.stateNode.containerInfo.firstChild),Pe=t,G=!0,Qe=null,n=Pc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(_n(),r===o){t=yt(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return Fc(t),e===null&&hi(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,ci(r,o)?i=null:l!==null&&ci(r,l)&&(t.flags|=32),of(e,t),ve(e,t,i,n),t.child;case 6:return e===null&&hi(t),null;case 13:return sf(e,t,n);case 4:return ms(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Rn(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$e(r,o),zu(e,t,r,o,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,W(To,r._currentValue),r._currentValue=i,l!==null)if(Xe(l.value,i)){if(l.children===o.children&&!Ee.current){t=yt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){i=l.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=dt(-1,n&-n),u.tag=2;var a=l.updateQueue;if(a!==null){a=a.shared;var f=a.pending;f===null?u.next=u:(u.next=f.next,f.next=u),a.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),yi(l.return,n,t),s.lanes|=n;break}u=u.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(C(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),yi(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}ve(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,kn(t,n),o=Be(o),r=r(o),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,o=$e(r,t.pendingProps),o=$e(r.type,o),Iu(e,t,r,o,n);case 15:return nf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$e(r,o),so(e,t),t.tag=1,ke(r)?(e=!0,ko(t)):e=!1,kn(t,n),bc(t,r,o),gi(t,r,o,n),xi(null,t,r,!0,e,n);case 19:return uf(e,t,n);case 22:return rf(e,t,n)}throw Error(C(156,t.tag))};function kf(e,t){return qa(e,t)}function M1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ie(e,t,n,r){return new M1(e,t,n,r)}function Rs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function z1(e){if(typeof e=="function")return Rs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Gi)return 11;if(e===Xi)return 14}return 2}function zt(e,t){var n=e.alternate;return n===null?(n=Ie(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function co(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")Rs(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case an:return qt(n.children,o,l,t);case Yi:i=8,o|=8;break;case Vl:return e=Ie(12,n,t,o|2),e.elementType=Vl,e.lanes=l,e;case $l:return e=Ie(13,n,t,o),e.elementType=$l,e.lanes=l,e;case Wl:return e=Ie(19,n,t,o),e.elementType=Wl,e.lanes=l,e;case Fa:return Zo(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case La:i=10;break e;case Oa:i=9;break e;case Gi:i=11;break e;case Xi:i=14;break e;case Ct:i=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Ie(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function qt(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Zo(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=Fa,e.lanes=n,e.stateNode={isHidden:!1},e}function Fl(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Ml(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function I1(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ml(0),this.expirationTimes=ml(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ml(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ps(e,t,n,r,o,l,i,s,u){return e=new I1(e,t,n,s,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ie(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ps(l),e}function A1(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_f)}catch(e){console.error(e)}}_f(),Ta.exports=Oe;var V1=Ta.exports,qu=V1;Ul.createRoot=qu.createRoot,Ul.hydrateRoot=qu.hydrateRoot;const $1="/Comic-Corner/assets/cc-high-resolution-logo-color-on-transparent-background-DVOd2ZUx.png",rt="/Comic-Corner/assets/279-removebg-preview-DylIsIXo.png",W1=()=>{const[e,t]=P.useState(!1),[n,r]=P.useState(1),o=c.jsx("svg",{style:{opacity:n,transition:"all .218s"},onClick:()=>a(),className:"folderIconAdd",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:c.jsx("path",{fill:"#74a3eb",d:"M512 416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H192c20.1 0 39.1 9.5 51.2 25.6l19.2 25.6c6 8.1 15.5 12.8 25.6 12.8H448c35.3 0 64 28.7 64 64V416zM232 376c0 13.3 10.7 24 24 24s24-10.7 24-24V312h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H280V200c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H168c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"})}),{folderNameRef:l,handleUpdate:i,modalFolders:s}=Ht(),u=()=>{t(!1),r(0),setTimeout(()=>{r(1)},100)},a=()=>{t(!0),r(0),setTimeout(()=>{r(1)},100)};return c.jsxs(c.Fragment,{children:[s,c.jsx("div",{className:"modalFolderWrapper",children:c.jsxs("div",{className:"modalFolder",title:"Add Folder",children:[c.jsx("button",{onClick:()=>console.log("882858640be5e1c7df0e46bdf4f238d5&hash=1ee6551d88ceb97e0cddf39e827dfe29"),children:"sdsad"}),e?c.jsx(c.Fragment,{children:c.jsxs("div",{style:{paddingTop:"16px",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",opacity:n,transition:"all .218s",padding:"1rem"},children:[c.jsx("input",{style:{width:"98.2%"},autoComplete:"off",className:"modalTextInput",id:"folderName",name:"folderName",placeholder:"Folder Name",type:"text",ref:l}),c.jsxs("div",{className:"folderButtonsContainer",children:[c.jsx("button",{className:"folderButton",onClick:()=>u(),style:{backgroundColor:"white",color:"#3371e6",border:"1px solid #3371e6"},children:"Cancel"}),c.jsx("button",{className:"folderButton",onClick:()=>i(t),children:"Confirm"})]})]})}):o]})})]})};function Rf(e,t){return function(){return e.apply(t,arguments)}}const{toString:Q1}=Object.prototype,{getPrototypeOf:Ms}=Object,rl=(e=>t=>{const n=Q1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),qe=e=>(e=e.toLowerCase(),t=>rl(t)===e),ol=e=>t=>typeof t===e,{isArray:In}=Array,Nr=ol("undefined");function K1(e){return e!==null&&!Nr(e)&&e.constructor!==null&&!Nr(e.constructor)&&De(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Pf=qe("ArrayBuffer");function Y1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Pf(e.buffer),t}const G1=ol("string"),De=ol("function"),Lf=ol("number"),ll=e=>e!==null&&typeof e=="object",X1=e=>e===!0||e===!1,fo=e=>{if(rl(e)!=="object")return!1;const t=Ms(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},q1=qe("Date"),J1=qe("File"),Z1=qe("Blob"),b1=qe("FileList"),em=e=>ll(e)&&De(e.pipe),tm=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||De(e.append)&&((t=rl(e))==="formdata"||t==="object"&&De(e.toString)&&e.toString()==="[object FormData]"))},nm=qe("URLSearchParams"),[rm,om,lm,im]=["ReadableStream","Request","Response","Headers"].map(qe),sm=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),In(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Ff=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Mf=e=>!Nr(e)&&e!==Ff;function Fi(){const{caseless:e}=Mf(this)&&this||{},t={},n=(r,o)=>{const l=e&&Of(t,o)||o;fo(t[l])&&fo(r)?t[l]=Fi(t[l],r):fo(r)?t[l]=Fi({},r):In(r)?t[l]=r.slice():t[l]=r};for(let r=0,o=arguments.length;r(Lr(t,(o,l)=>{n&&De(o)?e[l]=Rf(o,n):e[l]=o},{allOwnKeys:r}),e),am=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),cm=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},fm=(e,t,n,r)=>{let o,l,i;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),l=o.length;l-- >0;)i=o[l],(!r||r(i,e,t))&&!s[i]&&(t[i]=e[i],s[i]=!0);e=n!==!1&&Ms(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},dm=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},pm=e=>{if(!e)return null;if(In(e))return e;let t=e.length;if(!Lf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},mm=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ms(Uint8Array)),hm=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const l=o.value;t.call(e,l[0],l[1])}},ym=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},vm=qe("HTMLFormElement"),gm=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Ju=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),wm=qe("RegExp"),zf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Lr(n,(o,l)=>{let i;(i=t(o,l,e))!==!1&&(r[l]=i||o)}),Object.defineProperties(e,r)},Sm=e=>{zf(e,(t,n)=>{if(De(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(De(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xm=(e,t)=>{const n={},r=o=>{o.forEach(l=>{n[l]=!0})};return In(e)?r(e):r(String(e).split(t)),n},Cm=()=>{},Em=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,zl="abcdefghijklmnopqrstuvwxyz",Zu="0123456789",If={DIGIT:Zu,ALPHA:zl,ALPHA_DIGIT:zl+zl.toUpperCase()+Zu},km=(e=16,t=If.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Nm(e){return!!(e&&De(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jm=e=>{const t=new Array(10),n=(r,o)=>{if(ll(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const l=In(r)?[]:{};return Lr(r,(i,s)=>{const u=n(i,o+1);!Nr(u)&&(l[s]=u)}),t[o]=void 0,l}}return r};return n(e,0)},Tm=qe("AsyncFunction"),_m=e=>e&&(ll(e)||De(e))&&De(e.then)&&De(e.catch),g={isArray:In,isArrayBuffer:Pf,isBuffer:K1,isFormData:tm,isArrayBufferView:Y1,isString:G1,isNumber:Lf,isBoolean:X1,isObject:ll,isPlainObject:fo,isReadableStream:rm,isRequest:om,isResponse:lm,isHeaders:im,isUndefined:Nr,isDate:q1,isFile:J1,isBlob:Z1,isRegExp:wm,isFunction:De,isStream:em,isURLSearchParams:nm,isTypedArray:mm,isFileList:b1,forEach:Lr,merge:Fi,extend:um,trim:sm,stripBOM:am,inherits:cm,toFlatObject:fm,kindOf:rl,kindOfTest:qe,endsWith:dm,toArray:pm,forEachEntry:hm,matchAll:ym,isHTMLForm:vm,hasOwnProperty:Ju,hasOwnProp:Ju,reduceDescriptors:zf,freezeMethods:Sm,toObjectSet:xm,toCamelCase:gm,noop:Cm,toFiniteNumber:Em,findKey:Of,global:Ff,isContextDefined:Mf,ALPHABET:If,generateString:km,isSpecCompliantForm:Nm,toJSONObject:jm,isAsyncFn:Tm,isThenable:_m};function z(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}g.inherits(z,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:g.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Af=z.prototype,Df={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Df[e]={value:e}});Object.defineProperties(z,Df);Object.defineProperty(Af,"isAxiosError",{value:!0});z.from=(e,t,n,r,o,l)=>{const i=Object.create(Af);return g.toFlatObject(e,i,function(u){return u!==Error.prototype},s=>s!=="isAxiosError"),z.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,l&&Object.assign(i,l),i};const Rm=null;function Mi(e){return g.isPlainObject(e)||g.isArray(e)}function Bf(e){return g.endsWith(e,"[]")?e.slice(0,-2):e}function bu(e,t,n){return e?e.concat(t).map(function(o,l){return o=Bf(o),!n&&l?"["+o+"]":o}).join(n?".":""):t}function Pm(e){return g.isArray(e)&&!e.some(Mi)}const Lm=g.toFlatObject(g,{},null,function(t){return/^is[A-Z]/.test(t)});function il(e,t,n){if(!g.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=g.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,F){return!g.isUndefined(F[w])});const r=n.metaTokens,o=n.visitor||f,l=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&g.isSpecCompliantForm(t);if(!g.isFunction(o))throw new TypeError("visitor must be a function");function a(v){if(v===null)return"";if(g.isDate(v))return v.toISOString();if(!u&&g.isBlob(v))throw new z("Blob is not supported. Use a Buffer instead.");return g.isArrayBuffer(v)||g.isTypedArray(v)?u&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,w,F){let m=v;if(v&&!F&&typeof v=="object"){if(g.endsWith(w,"{}"))w=r?w:w.slice(0,-2),v=JSON.stringify(v);else if(g.isArray(v)&&Pm(v)||(g.isFileList(v)||g.endsWith(w,"[]"))&&(m=g.toArray(v)))return w=Bf(w),m.forEach(function(p,S){!(g.isUndefined(p)||p===null)&&t.append(i===!0?bu([w],S,l):i===null?w:w+"[]",a(p))}),!1}return Mi(v)?!0:(t.append(bu(F,w,l),a(v)),!1)}const h=[],y=Object.assign(Lm,{defaultVisitor:f,convertValue:a,isVisitable:Mi});function x(v,w){if(!g.isUndefined(v)){if(h.indexOf(v)!==-1)throw Error("Circular reference detected in "+w.join("."));h.push(v),g.forEach(v,function(m,d){(!(g.isUndefined(m)||m===null)&&o.call(t,m,g.isString(d)?d.trim():d,w,y))===!0&&x(m,w?w.concat(d):[d])}),h.pop()}}if(!g.isObject(e))throw new TypeError("data must be an object");return x(e),t}function ea(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function zs(e,t){this._pairs=[],e&&il(e,this,t)}const Uf=zs.prototype;Uf.append=function(t,n){this._pairs.push([t,n])};Uf.toString=function(t){const n=t?function(r){return t.call(this,r,ea)}:ea;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Om(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Hf(e,t,n){if(!t)return e;const r=n&&n.encode||Om,o=n&&n.serialize;let l;if(o?l=o(t,n):l=g.isURLSearchParams(t)?t.toString():new zs(t,n).toString(r),l){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ta{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){g.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Vf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Fm=typeof URLSearchParams<"u"?URLSearchParams:zs,Mm=typeof FormData<"u"?FormData:null,zm=typeof Blob<"u"?Blob:null,Im={isBrowser:!0,classes:{URLSearchParams:Fm,FormData:Mm,Blob:zm},protocols:["http","https","file","blob","url","data"]},Is=typeof window<"u"&&typeof document<"u",Am=(e=>Is&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Dm=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Bm=Is&&window.location.href||"http://localhost",Um=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Is,hasStandardBrowserEnv:Am,hasStandardBrowserWebWorkerEnv:Dm,origin:Bm},Symbol.toStringTag,{value:"Module"})),Ge={...Um,...Im};function Hm(e,t){return il(e,new Ge.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,l){return Ge.isNode&&g.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Vm(e){return g.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $m(e){const t={},n=Object.keys(e);let r;const o=n.length;let l;for(r=0;r=n.length;return i=!i&&g.isArray(o)?o.length:i,u?(g.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!s):((!o[i]||!g.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],l)&&g.isArray(o[i])&&(o[i]=$m(o[i])),!s)}if(g.isFormData(e)&&g.isFunction(e.entries)){const n={};return g.forEachEntry(e,(r,o)=>{t(Vm(r),o,n,0)}),n}return null}function Wm(e,t,n){if(g.isString(e))try{return(t||JSON.parse)(e),g.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Or={transitional:Vf,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,l=g.isObject(t);if(l&&g.isHTMLForm(t)&&(t=new FormData(t)),g.isFormData(t))return o?JSON.stringify($f(t)):t;if(g.isArrayBuffer(t)||g.isBuffer(t)||g.isStream(t)||g.isFile(t)||g.isBlob(t)||g.isReadableStream(t))return t;if(g.isArrayBufferView(t))return t.buffer;if(g.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Hm(t,this.formSerializer).toString();if((s=g.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return il(s?{"files[]":t}:t,u&&new u,this.formSerializer)}}return l||o?(n.setContentType("application/json",!1),Wm(t)):t}],transformResponse:[function(t){const n=this.transitional||Or.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(g.isResponse(t)||g.isReadableStream(t))return t;if(t&&g.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(i)throw s.name==="SyntaxError"?z.from(s,z.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ge.classes.FormData,Blob:Ge.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};g.forEach(["delete","get","head","post","put","patch"],e=>{Or.headers[e]={}});const Qm=g.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Km=e=>{const t={};let n,r,o;return e&&e.split(` +`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Qm[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},na=Symbol("internals");function Gn(e){return e&&String(e).trim().toLowerCase()}function po(e){return e===!1||e==null?e:g.isArray(e)?e.map(po):String(e)}function Ym(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Gm=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Il(e,t,n,r,o){if(g.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!g.isString(t)){if(g.isString(r))return t.indexOf(r)!==-1;if(g.isRegExp(r))return r.test(t)}}function Xm(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function qm(e,t){const n=g.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,l,i){return this[r].call(this,t,o,l,i)},configurable:!0})})}class je{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function l(s,u,a){const f=Gn(u);if(!f)throw new Error("header name must be a non-empty string");const h=g.findKey(o,f);(!h||o[h]===void 0||a===!0||a===void 0&&o[h]!==!1)&&(o[h||u]=po(s))}const i=(s,u)=>g.forEach(s,(a,f)=>l(a,f,u));if(g.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(g.isString(t)&&(t=t.trim())&&!Gm(t))i(Km(t),n);else if(g.isHeaders(t))for(const[s,u]of t.entries())l(u,s,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Gn(t),t){const r=g.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Ym(o);if(g.isFunction(n))return n.call(this,o,r);if(g.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Gn(t),t){const r=g.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Il(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function l(i){if(i=Gn(i),i){const s=g.findKey(r,i);s&&(!n||Il(r,r[s],s,n))&&(delete r[s],o=!0)}}return g.isArray(t)?t.forEach(l):l(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const l=n[r];(!t||Il(this,this[l],l,t,!0))&&(delete this[l],o=!0)}return o}normalize(t){const n=this,r={};return g.forEach(this,(o,l)=>{const i=g.findKey(r,l);if(i){n[i]=po(o),delete n[l];return}const s=t?Xm(l):String(l).trim();s!==l&&delete n[l],n[s]=po(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return g.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&g.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[na]=this[na]={accessors:{}}).accessors,o=this.prototype;function l(i){const s=Gn(i);r[s]||(qm(o,i),r[s]=!0)}return g.isArray(t)?t.forEach(l):l(t),this}}je.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);g.reduceDescriptors(je.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});g.freezeMethods(je);function Al(e,t){const n=this||Or,r=t||n,o=je.from(r.headers);let l=r.data;return g.forEach(e,function(s){l=s.call(n,l,o.normalize(),t?t.status:void 0)}),o.normalize(),l}function Wf(e){return!!(e&&e.__CANCEL__)}function An(e,t,n){z.call(this,e??"canceled",z.ERR_CANCELED,t,n),this.name="CanceledError"}g.inherits(An,z,{__CANCEL__:!0});function Qf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new z("Request failed with status code "+n.status,[z.ERR_BAD_REQUEST,z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Jm(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Zm(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,l=0,i;return t=t!==void 0?t:1e3,function(u){const a=Date.now(),f=r[l];i||(i=a),n[o]=u,r[o]=a;let h=l,y=0;for(;h!==o;)y+=n[h++],h=h%e;if(o=(o+1)%e,o===l&&(l=(l+1)%e),a-ir)return o&&(clearTimeout(o),o=null),n=s,e.apply(null,arguments);o||(o=setTimeout(()=>(o=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const Do=(e,t,n=3)=>{let r=0;const o=Zm(50,250);return bm(l=>{const i=l.loaded,s=l.lengthComputable?l.total:void 0,u=i-r,a=o(u),f=i<=s;r=i;const h={loaded:i,total:s,progress:s?i/s:void 0,bytes:u,rate:a||void 0,estimated:a&&s&&f?(s-i)/a:void 0,event:l,lengthComputable:s!=null};h[t?"download":"upload"]=!0,e(h)},n)},eh=Ge.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(l){let i=l;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const s=g.isString(i)?o(i):i;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),th=Ge.hasStandardBrowserEnv?{write(e,t,n,r,o,l){const i=[e+"="+encodeURIComponent(t)];g.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),g.isString(r)&&i.push("path="+r),g.isString(o)&&i.push("domain="+o),l===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function nh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rh(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Kf(e,t){return e&&!nh(t)?rh(e,t):t}const ra=e=>e instanceof je?{...e}:e;function rn(e,t){t=t||{};const n={};function r(a,f,h){return g.isPlainObject(a)&&g.isPlainObject(f)?g.merge.call({caseless:h},a,f):g.isPlainObject(f)?g.merge({},f):g.isArray(f)?f.slice():f}function o(a,f,h){if(g.isUndefined(f)){if(!g.isUndefined(a))return r(void 0,a,h)}else return r(a,f,h)}function l(a,f){if(!g.isUndefined(f))return r(void 0,f)}function i(a,f){if(g.isUndefined(f)){if(!g.isUndefined(a))return r(void 0,a)}else return r(void 0,f)}function s(a,f,h){if(h in t)return r(a,f);if(h in e)return r(void 0,a)}const u={url:l,method:l,data:l,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(a,f)=>o(ra(a),ra(f),!0)};return g.forEach(Object.keys(Object.assign({},e,t)),function(f){const h=u[f]||o,y=h(e[f],t[f],f);g.isUndefined(y)&&h!==s||(n[f]=y)}),n}const Yf=e=>{const t=rn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:l,headers:i,auth:s}=t;t.headers=i=je.from(i),t.url=Hf(Kf(t.baseURL,t.url),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let u;if(g.isFormData(n)){if(Ge.hasStandardBrowserEnv||Ge.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[a,...f]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...f].join("; "))}}if(Ge.hasStandardBrowserEnv&&(r&&g.isFunction(r)&&(r=r(t)),r||r!==!1&&eh(t.url))){const a=o&&l&&th.read(l);a&&i.set(o,a)}return t},oh=typeof XMLHttpRequest<"u",lh=oh&&function(e){return new Promise(function(n,r){const o=Yf(e);let l=o.data;const i=je.from(o.headers).normalize();let{responseType:s}=o,u;function a(){o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let f=new XMLHttpRequest;f.open(o.method.toUpperCase(),o.url,!0),f.timeout=o.timeout;function h(){if(!f)return;const x=je.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),w={data:!s||s==="text"||s==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:x,config:e,request:f};Qf(function(m){n(m),a()},function(m){r(m),a()},w),f=null}"onloadend"in f?f.onloadend=h:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(h)},f.onabort=function(){f&&(r(new z("Request aborted",z.ECONNABORTED,o,f)),f=null)},f.onerror=function(){r(new z("Network Error",z.ERR_NETWORK,o,f)),f=null},f.ontimeout=function(){let v=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const w=o.transitional||Vf;o.timeoutErrorMessage&&(v=o.timeoutErrorMessage),r(new z(v,w.clarifyTimeoutError?z.ETIMEDOUT:z.ECONNABORTED,o,f)),f=null},l===void 0&&i.setContentType(null),"setRequestHeader"in f&&g.forEach(i.toJSON(),function(v,w){f.setRequestHeader(w,v)}),g.isUndefined(o.withCredentials)||(f.withCredentials=!!o.withCredentials),s&&s!=="json"&&(f.responseType=o.responseType),typeof o.onDownloadProgress=="function"&&f.addEventListener("progress",Do(o.onDownloadProgress,!0)),typeof o.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Do(o.onUploadProgress)),(o.cancelToken||o.signal)&&(u=x=>{f&&(r(!x||x.type?new An(null,e,f):x),f.abort(),f=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const y=Jm(o.url);if(y&&Ge.protocols.indexOf(y)===-1){r(new z("Unsupported protocol "+y+":",z.ERR_BAD_REQUEST,e));return}f.send(l||null)})},ih=(e,t)=>{let n=new AbortController,r;const o=function(u){if(!r){r=!0,i();const a=u instanceof Error?u:this.reason;n.abort(a instanceof z?a:new An(a instanceof Error?a.message:a))}};let l=t&&setTimeout(()=>{o(new z(`timeout ${t} of ms exceeded`,z.ETIMEDOUT))},t);const i=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(u=>{u&&(u.removeEventListener?u.removeEventListener("abort",o):u.unsubscribe(o))}),e=null)};e.forEach(u=>u&&u.addEventListener&&u.addEventListener("abort",o));const{signal:s}=n;return s.unsubscribe=i,[s,()=>{l&&clearTimeout(l),l=null}]},sh=function*(e,t){let n=e.byteLength;if(!t||n{const l=uh(e,t,o);let i=0;return new ReadableStream({type:"bytes",async pull(s){const{done:u,value:a}=await l.next();if(u){s.close(),r();return}let f=a.byteLength;n&&n(i+=f),s.enqueue(new Uint8Array(a))},cancel(s){return r(s),l.return()}},{highWaterMark:2})},la=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},sl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Gf=sl&&typeof ReadableStream=="function",zi=sl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ah=Gf&&(()=>{let e=!1;const t=new Request(Ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),ia=64*1024,Ii=Gf&&!!(()=>{try{return g.isReadableStream(new Response("").body)}catch{}})(),Bo={stream:Ii&&(e=>e.body)};sl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Bo[t]&&(Bo[t]=g.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new z(`Response type '${t}' is not supported`,z.ERR_NOT_SUPPORT,r)})})})(new Response);const ch=async e=>{if(e==null)return 0;if(g.isBlob(e))return e.size;if(g.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(g.isArrayBufferView(e))return e.byteLength;if(g.isURLSearchParams(e)&&(e=e+""),g.isString(e))return(await zi(e)).byteLength},fh=async(e,t)=>{const n=g.toFiniteNumber(e.getContentLength());return n??ch(t)},dh=sl&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:l,timeout:i,onDownloadProgress:s,onUploadProgress:u,responseType:a,headers:f,withCredentials:h="same-origin",fetchOptions:y}=Yf(e);a=a?(a+"").toLowerCase():"text";let[x,v]=o||l||i?ih([o,l],i):[],w,F;const m=()=>{!w&&setTimeout(()=>{x&&x.unsubscribe()}),w=!0};let d;try{if(u&&ah&&n!=="get"&&n!=="head"&&(d=await fh(f,r))!==0){let k=new Request(t,{method:"POST",body:r,duplex:"half"}),N;g.isFormData(r)&&(N=k.headers.get("content-type"))&&f.setContentType(N),k.body&&(r=oa(k.body,ia,la(d,Do(u)),null,zi))}g.isString(h)||(h=h?"cors":"omit"),F=new Request(t,{...y,signal:x,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",withCredentials:h});let p=await fetch(F);const S=Ii&&(a==="stream"||a==="response");if(Ii&&(s||S)){const k={};["status","statusText","headers"].forEach(R=>{k[R]=p[R]});const N=g.toFiniteNumber(p.headers.get("content-length"));p=new Response(oa(p.body,ia,s&&la(N,Do(s,!0)),S&&m,zi),k)}a=a||"text";let j=await Bo[g.findKey(Bo,a)||"text"](p,e);return!S&&m(),v&&v(),await new Promise((k,N)=>{Qf(k,N,{data:j,headers:je.from(p.headers),status:p.status,statusText:p.statusText,config:e,request:F})})}catch(p){throw m(),p&&p.name==="TypeError"&&/fetch/i.test(p.message)?Object.assign(new z("Network Error",z.ERR_NETWORK,e,F),{cause:p.cause||p}):z.from(p,p&&p.code,e,F)}}),Ai={http:Rm,xhr:lh,fetch:dh};g.forEach(Ai,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const sa=e=>`- ${e}`,ph=e=>g.isFunction(e)||e===null||e===!1,Xf={getAdapter:e=>{e=g.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let l=0;l`adapter ${s} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?l.length>1?`since : +`+l.map(sa).join(` +`):" "+sa(l[0]):"as no adapter specified";throw new z("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Ai};function Dl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new An(null,e)}function ua(e){return Dl(e),e.headers=je.from(e.headers),e.data=Al.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xf.getAdapter(e.adapter||Or.adapter)(e).then(function(r){return Dl(e),r.data=Al.call(e,e.transformResponse,r),r.headers=je.from(r.headers),r},function(r){return Wf(r)||(Dl(e),r&&r.response&&(r.response.data=Al.call(e,e.transformResponse,r.response),r.response.headers=je.from(r.response.headers))),Promise.reject(r)})}const qf="1.7.2",As={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{As[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const aa={};As.transitional=function(t,n,r){function o(l,i){return"[Axios v"+qf+"] Transitional option '"+l+"'"+i+(r?". "+r:"")}return(l,i,s)=>{if(t===!1)throw new z(o(i," has been removed"+(n?" in "+n:"")),z.ERR_DEPRECATED);return n&&!aa[i]&&(aa[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,i,s):!0}};function mh(e,t,n){if(typeof e!="object")throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const l=r[o],i=t[l];if(i){const s=e[l],u=s===void 0||i(s,l,e);if(u!==!0)throw new z("option "+l+" must be "+u,z.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new z("Unknown option "+l,z.ERR_BAD_OPTION)}}const Di={assertOptions:mh,validators:As},xt=Di.validators;class Jt{constructor(t){this.defaults=t,this.interceptors={request:new ta,response:new ta}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const l=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=rn(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:l}=n;r!==void 0&&Di.assertOptions(r,{silentJSONParsing:xt.transitional(xt.boolean),forcedJSONParsing:xt.transitional(xt.boolean),clarifyTimeoutError:xt.transitional(xt.boolean)},!1),o!=null&&(g.isFunction(o)?n.paramsSerializer={serialize:o}:Di.assertOptions(o,{encode:xt.function,serialize:xt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=l&&g.merge(l.common,l[n.method]);l&&g.forEach(["delete","get","head","post","put","patch","common"],v=>{delete l[v]}),n.headers=je.concat(i,l);const s=[];let u=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(u=u&&w.synchronous,s.unshift(w.fulfilled,w.rejected))});const a=[];this.interceptors.response.forEach(function(w){a.push(w.fulfilled,w.rejected)});let f,h=0,y;if(!u){const v=[ua.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,a),y=v.length,f=Promise.resolve(n);h{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](o);r._listeners=null}),this.promise.then=o=>{let l;const i=new Promise(s=>{r.subscribe(s),l=s}).then(o);return i.cancel=function(){r.unsubscribe(l)},i},t(function(l,i,s){r.reason||(r.reason=new An(l,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ds(function(o){t=o}),cancel:t}}}function hh(e){return function(n){return e.apply(null,n)}}function yh(e){return g.isObject(e)&&e.isAxiosError===!0}const Bi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Bi).forEach(([e,t])=>{Bi[t]=e});function Jf(e){const t=new Jt(e),n=Rf(Jt.prototype.request,t);return g.extend(n,Jt.prototype,t,{allOwnKeys:!0}),g.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Jf(rn(e,o))},n}const ee=Jf(Or);ee.Axios=Jt;ee.CanceledError=An;ee.CancelToken=Ds;ee.isCancel=Wf;ee.VERSION=qf;ee.toFormData=il;ee.AxiosError=z;ee.Cancel=ee.CanceledError;ee.all=function(t){return Promise.all(t)};ee.spread=hh;ee.isAxiosError=yh;ee.mergeConfig=rn;ee.AxiosHeaders=je;ee.formToJSON=e=>$f(g.isHTMLForm(e)?new FormData(e):e);ee.getAdapter=Xf.getAdapter;ee.HttpStatusCode=Bi;ee.default=ee;var Bs={};Bs.match=Ch;Bs.parse=Zf;var vh=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,gh=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,wh=/^(?:(min|max)-)?(.+)/,Sh=/(em|rem|px|cm|mm|in|pt|pc)?$/,xh=/(dpi|dpcm|dppx)?$/;function Ch(e,t){return Zf(e).some(function(n){var r=n.inverse,o=n.type==="all"||t.type===n.type;if(o&&r||!(o||r))return!1;var l=n.expressions.every(function(i){var s=i.feature,u=i.modifier,a=i.value,f=t[s];if(!f)return!1;switch(s){case"orientation":case"scan":return f.toLowerCase()===a.toLowerCase();case"width":case"height":case"device-width":case"device-height":a=da(a),f=da(f);break;case"resolution":a=fa(a),f=fa(f);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":a=ca(a),f=ca(f);break;case"grid":case"color":case"color-index":case"monochrome":a=parseInt(a,10)||1,f=parseInt(f,10)||0;break}switch(u){case"min":return f>=a;case"max":return f<=a;default:return f===a}});return l&&!r||!l&&r})}function Zf(e){return e.split(",").map(function(t){t=t.trim();var n=t.match(vh),r=n[1],o=n[2],l=n[3]||"",i={};return i.inverse=!!r&&r.toLowerCase()==="not",i.type=o?o.toLowerCase():"all",l=l.match(/\([^\)]+\)/g)||[],i.expressions=l.map(function(s){var u=s.match(gh),a=u[1].toLowerCase().match(wh);return{modifier:a[1],feature:a[2],value:u[2]}}),i})}function ca(e){var t=Number(e),n;return t||(n=e.match(/^(\d+)\s*\/\s*(\d+)$/),t=n[1]/n[2]),t}function fa(e){var t=parseFloat(e),n=String(e).match(xh)[1];switch(n){case"dpcm":return t/2.54;case"dppx":return t*96;default:return t}}function da(e){var t=parseFloat(e),n=String(e).match(Sh)[1];switch(n){case"em":return t*16;case"rem":return t*16;case"cm":return t*96/2.54;case"mm":return t*96/2.54/10;case"in":return t*96;case"pt":return t*72;case"pc":return t*72/12;default:return t}}var Eh=Bs.match,pa=typeof window<"u"?window.matchMedia:null;function kh(e,t,n){var r=this,o;pa&&!n&&(o=pa.call(window,e)),o?(this.matches=o.matches,this.media=o.media,o.addListener(s)):(this.matches=Eh(e,t),this.media=e),this.addListener=l,this.removeListener=i,this.dispose=u;function l(a){o&&o.addListener(a)}function i(a){o&&o.removeListener(a)}function s(a){r.matches=a.matches,r.media=a.media}function u(){o&&o.removeListener(s)}}function Nh(e,t,n){return new kh(e,t,n)}var jh=Nh;const Th=ha(jh);var _h=/[A-Z]/g,Rh=/^ms-/,Bl={};function Ph(e){return"-"+e.toLowerCase()}function bf(e){if(Bl.hasOwnProperty(e))return Bl[e];var t=e.replace(_h,Ph);return Bl[e]=Rh.test(t)?"-"+t:t}function Lh(e,t){if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(let l=0;l`not ${e}`,Hh=(e,t)=>{const n=bf(e);return typeof t=="number"&&(t=`${t}px`),t===!0?n:t===!1?Uh(n):`(${n}: ${t})`},Vh=e=>e.join(" and "),$h=e=>{const t=[];return Object.keys(Bh.all).forEach(n=>{const r=e[n];r!=null&&t.push(Hh(n,r))}),Vh(t)},Wh=P.createContext(void 0),Qh=e=>e.query||$h(e),ma=e=>e?Object.keys(e).reduce((n,r)=>(n[bf(r)]=e[r],n),{}):void 0,ld=()=>{const e=P.useRef(!1);return P.useEffect(()=>{e.current=!0},[]),e.current},Kh=e=>{const t=P.useContext(Wh),n=()=>ma(e)||ma(t),[r,o]=P.useState(n);return P.useEffect(()=>{const l=n();Lh(r,l)||o(l)},[e,t]),r},Yh=e=>{const t=()=>Qh(e),[n,r]=P.useState(t);return P.useEffect(()=>{const o=t();n!==o&&r(o)},[e]),n},Gh=(e,t)=>{const n=()=>Th(e,t||{},!!t),[r,o]=P.useState(n),l=ld();return P.useEffect(()=>{if(l){const i=n();return o(i),()=>{i&&i.dispose()}}},[e,t]),r},Xh=e=>{const[t,n]=P.useState(e.matches);return P.useEffect(()=>{const r=o=>{n(o.matches)};return e.addListener(r),n(e.matches),()=>{e.removeListener(r)}},[e]),t},Uo=(e,t,n)=>{const r=Kh(t),o=Yh(e);if(!o)throw new Error("Invalid or missing MediaQuery!");const l=Gh(o,r),i=Xh(l),s=ld();return P.useEffect(()=>{s&&n&&n(i)},[i]),P.useEffect(()=>()=>{l&&l.dispose()},[]),i},id=({imgSrc:e})=>{const[t,n]=P.useState(!0),r=()=>{n(!1)},o=c.jsxs("svg",{style:{position:"absolute",opacity:t?"1":"0"},xmlns:"http://www.w3.org/2000/svg",version:"1.0",viewBox:"0 0 2000 1250",children:[c.jsx("path",{fill:"#404040",d:"M817.8 312.7c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m14 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m374 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m-363 101c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m374 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-398 524c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m13 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m360 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m13 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5"}),c.jsx("path",{fill:"gray",d:`M822.8 312.7c1.8.2 4.5.2 6 0s0-.4-3.3-.4-4.5.2-2.7.4m373 0c1.7.2 4.7.2 6.5 0 1.7-.2.3-.4-3.3-.4s-5 .2-3.2.4m-393 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m46 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m327 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m46 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m-428 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m373 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m66 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-152.9 38c-1.3 1.6-1.2 1.7.4.4.9-.7 1.7-1.5 1.7-1.7 0-.8-.8-.3-2.1 1.3m-256.1 61c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m22.5 0c.9.2 2.3.2 3 0 .6-.3-.1-.5-1.8-.5-1.6 0-2.2.2-1.2.5m350.5 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m23.5 0c.9.2 2.3.2 3 0 .6-.3-.1-.5-1.8-.5-1.6 0-2.2.2-1.2.5m-359.5 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m373 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-89.9 22-3.4 3.8 3.8-3.4c2-1.9 3.7-3.6 3.7-3.8 0-.8-.8 0-4.1 3.4m-484.8 8.9c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m373 2c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m-374 7c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m373 2c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m-373.9 9.9c0 1.6.2 2.2.5 1.2.2-.9.2-2.3 0-3-.3-.6-.5.1-.5 1.8m373 4.5c0 1.9.2 2.7.5 1.7.2-.9.2-2.5 0-3.5-.3-.9-.5-.1-.5 1.8m-278.1 5.6c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m373.4 149.9c0 82.5.1 116.1.2 74.7.2-41.5.2-109 0-150-.1-41.1-.2-7.2-.2 75.3M752.1 777.6c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m278.1 8.9c0 1.6.2 2.2.5 1.2.2-.9.2-2.3 0-3-.3-.6-.5.1-.5 1.8m-373 4.5c0 1.4.2 1.9.5 1.2.2-.6.2-1.8 0-2.5-.3-.6-.5-.1-.5 1.3m373.9 8.6c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m1 8c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m-373 2c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m158.7 31.1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m33 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m341 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m32 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5M1069.5 891c2.7 2.7 5.1 5 5.4 5s-1.7-2.3-4.4-5c-2.7-2.8-5.1-5-5.4-5s1.7 2.2 4.4 5M701 895.4c0 .2.8 1 1.8 1.7 1.5 1.3 1.6 1.2.3-.4s-2.1-2.1-2.1-1.3m92.8\r + 40.3c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m67 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m373 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-431 1c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m46 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m328 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m45.5 0c.9.2 2.3.2 3 0 .6-.3-.1-.5-1.8-.5-1.6 0-2.2.2-1.2.5m-398 1c1.5.2 3.7.2 5 0 1.2-.2 0-.4-2.8-.4-2.70-3.8.2-2.2.4m373 0c1.5.2 3.7.2 5 0 1.2-.2 0-.4-2.8-.4-2.7 0-3.8.2-2.2.4`}),c.jsx("path",{fill:"#BFBFBF",d:`M806.3 313.7c.9.2 2.3.2 3 0 .6-.3-.1-.5-1.8-.5-1.6 0-2.2.2-1.2.5m38.5 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m335 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m38 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m-361 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m373 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-441 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m76 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-148.9 30c-1.3 1.6-1.2 1.7.4.4.9-.7 1.7-1.5 1.7-1.7 0-.8-.8-.3-2.1 1.3m-4.5 3.5-1.9 2.3 2.3-1.9c2.1-1.8 2.7-2.6 1.9-2.6-.2 0-1.2 1-2.3 2.2m372 1-1.9 2.3 2.3-1.9c2.1-1.8 2.7-2.6 1.9-2.6-.2 0-1.2 1-2.3 2.2m-383.9 10-8 8.3 8.3-8c4.5-4.4 8.2-8.1 8.2-8.2 0-.8-1.1.3-8.5 7.9m372.5.5-6.5 6.8 6.8-6.5c3.7-3.5 6.7-6.6 6.7-6.7 0-.8-1 .2-7 6.4m-9.6 10.5-1.9 2.3 2.3-1.9c2.1-1.8 2.7-2.6 1.9-2.6-.2 0-1.2 1-2.3 2.2m-374 1-1.9 2.3 2.3-1.9c2.1-1.8 2.7-2.6 1.9-2.6-.2 0-1.2 1-2.3 2.2m132.4 41.5c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m30.5 0c.9.2 2.3.2 3 0 .6-.3-.1-.5-1.8-.5-1.6 0-2.2.2-1.2.5m342.5 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m31 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m-361 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m373 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-458.9 15c-1.3 1.6-1.2 1.7.4.4.9-.7 1.7-1.5 1.7-1.7 0-.8-.8-.3-2.1 1.3m371.5 1.5-1.9 2.3 2.3-1.9c2.1-1.8 2.7-2.6 1.9-2.6-.2 0-1.2 1-2.3 2.2m-379 5-2.9 3.3 3.3-2.9c3-2.8 3.7-3.6 2.9-3.6-.2 0-1.6 1.5-3.3 3.2m368.5 5.5c-1.3 1.6-1.2 1.7.4.4.9-.7 1.7-1.5 1.7-1.7 0-.8-.8-.3-2.1 1.3m-105.8.9c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m-375 15c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m373.1 2.4c0 1.4.2 1.9.5 1.2.2-.6.2-1.8 0-2.5-.3-.6-.5-.1-.5 1.3m-374 12c0 1.9.2 2.7.5 1.7.2-.9.2-2.5 0-3.5-.3-.9-.5-.1-.5 1.8m94.9 1.6c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5\r + 1.3m278.2 7.9c0 4.4.2 6.1.4 3.7.2-2.3.2-5.9 0-8-.2-2-.4-.1-.4 4.3m94.8-5.9c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m-94.8 302.9c0 3.3.2 4.5.4 2.7s.2-4.5 0-6-.4 0-.4 3.3m94.9-.5c0 1.4.2 1.9.5 1.2.2-.6.2-1.8 0-2.5-.3-.6-.5-.1-.5 1.3m-373.1 2.6c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m-94.9 5.4c0 1.9.2 2.7.5 1.7.2-.9.2-2.5 0-3.5-.3-.9-.5-.1-.5 1.8m374 10c0 1.4.2 1.9.5 1.2.2-.6.2-1.8 0-2.5-.3-.6-.5-.1-.5 1.3m-373 3c0 1.4.2 1.9.5 1.2.2-.6.2-1.8 0-2.5-.3-.6-.5-.1-.5 1.3m478.8 15.4c0 .2.8 1 1.8 1.7 1.5 1.3 1.6 1.2.3-.4s-2.1-2.1-2.1-1.3M769.5 821c2.1 2.2 4.1 4 4.4 4s-1.3-1.8-3.4-4-4.1-4-4.4-4 1.3 1.8 3.4 4m373.5.5c1.3 1.4 2.6 2.5 2.8 2.5.3 0-.5-1.1-1.8-2.5s-2.6-2.5-2.8-2.5c-.3 0 .5 1.1 1.8 2.5m-272.2 17.2c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-7 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m94.3.9c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m278.7-.9c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-422 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m40 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m334 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m39 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-396 1c1.7.2 4.7.2 6.5 0 1.7-.2.3-.4-3.3-.4s-5 .2-3.2.4m374 0c1.8.2 4.5.2 6 0s0-.4-3.3-.4-4.5.2-2.7.4m130.3 27.9c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3M688 881.4c0 .2.8 1 1.8 1.7 1.5 1.3 1.6 1.2.3-.4s-2.1-2.1-2.1-1.3m375.5 2.6c1 1.1 2 2 2.3 2s-.3-.9-1.3-2-2-2-2.3-2 .3.9 1.3 2m-367 7c2.1 2.2 4.1 4 4.4 4s-1.3-1.8-3.4-4-4.1-4-4.4-4 1.3 1.8 3.4 4m269.6-1.4c0 1.1.3 1.4.6.6.3-.7.2-1.6-.1-1.9-.3-.4-.6.2-.5 1.3m110.4 7.4c1 1.1 2 2 2.3 2s-.3-.9-1.3-2-2-2-2.3-2 .3.9 1.3 2m-371 2c1 1.1 2 2 2.3 2s-.3-.9-1.3-2-2-2-2.3-2 .3.9 1.3 2m375.5 1.4c0 .2.8 1 1.8 1.7 1.5 1.3 1.6 1.2.3-.4s-2.1-2.1-2.1-1.3m-368 4c0 .2.8 1 1.8 1.7 1.5 1.3 1.6 1.2.3-.4s-2.1-2.1-2.1-1.3m160.8 29.3c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m282 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-289 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m373 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-382 1c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m373 0c.7.3 1.6.2 1.9-.1.4-.3-.2-.6-1.3-.5-1.1 0-1.4.3-.6.6m-424 1c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m38 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m335 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5m38 0c.6.2 1.8.2 2.5 0 .6-.3.1-.5-1.3-.5s-1.9.2-1.2.5`}),c.jsx("path",{fill:"#FFF",d:"M806 313.6c-46.5 4.2-79.6 19.3-108.6 49.6-23 24-33.5 48.8-38.6 91.3-1.9 16-1.9 331.1 0 346.5 3.7 29.4 11.9 53.7 25 73.4 10.2 15.5 31.5 33.3 51.9 43.5 42.5 21.2 101.8 24.7 167.8 10.1 27-6 65.5-18.1 65.5-20.6 0-.8-3.1-20.8-7-44.4-3.8-23.6-7-43.1-7-43.3 0-.3-9.6 2-21.2 4.9-46.5 11.7-62.8 14.9-84.5 16.4-53.8 3.7-84.2-11.4-95-47.5-1.6-5.6-1.8-15.5-2.1-162.5-.2-138.6-.1-157.3 1.3-163.5 5.4-24.5 25.5-44 53-51.7 7.2-2 10.3-2.2 31.5-2.2 17.6 0 26.4.4 35 1.7 13.7 2.1 30.8 6.1 40.4 9.3 3.8 1.3 7.2 2.1 7.5 1.8s6.5-19.5 13.7-42.7l13.1-42.2-2.6-1.4c-5-2.8-20.4-9.2-30.4-12.7-26.5-9.2-51.3-13.4-82.7-13.9-11.8-.1-23.5-.1-26 .1m368.7.4c-21.1 2.3-45.7 8.9-61.1 16.7-13.2 6.6-27.6 17.3-39.7 29.3-30.6 30.5-40.4 57.5-43 118.5-1.5 35.2-.6 309.6 1 322 5.9 44.1 20.8 75.7 45.4 96.4 34.2 28.7 76.9 41.6 131.7 39.7 38.4-1.2 72.6-7.8 116.7-22.3 15.6-5.2 17.2-5.9 16.8-7.8-.3-1.1-3.4-20-7-42s-6.7-41.1-7-42.6l-.6-2.5-20.7 5.2c-32.1 8.1-55.5 13.2-69.2 15-16.6 2.2-43.4 2.2-55.8 0-30.1-5.3-48.6-21.6-54.9-48.6-1.7-7-1.8-17.7-1.8-164.5v-157l2.8-7.9c3.8-10.7 6.9-15.8 15-24.3 11.7-12.3 26-19.8 43.8-22.9 7.5-1.3 13.4-1.5 29.4-1.1 27.3.8 46.3 3.8 68.1 10.8 5.3 1.7 9.7 2.9 9.8 2.7s6-19 13-41.8c7.1-22.8 13-42 13.3-42.6.2-.6-3.7-3-8.6-5.2-23.7-11.1-47.4-17.9-75.1-21.8-12.8-1.8-50.2-2.6-62.3-1.4"})]});return c.jsxs("div",{style:{transition:"all .218s",width:"100%",backgroundColor:t?"#202020":"transparent",zIndex:"-2"},children:[o,c.jsx("img",{className:"modalComicCover",src:e,alt:"Comic Cover",onLoad:r,style:{opacity:t?"0":"1",zIndex:"-1"}})]})},qh=()=>{const e=Uo({query:"(max-width: 1366px)"}),t=Uo({query:"(orientation: portrait)"}),{handleGoToActiveComic:n,comicFolders:r,handleAddToFolder:o}=Ht(),[l,i]=P.useState([]),[s,u]=P.useState(0),[a,f]=P.useState(!1),[h,y]=P.useState(!1),[x,v]=P.useState(),[w,F]=P.useState(!1),[m,d]=P.useState(()=>{const E=localStorage.getItem("Last Search");return E||"https://gateway.marvel.com/v1/public/comics?format=comic&formatType=comic&noVariants=true&dateDescriptor=thisWeek&limit=99&ts=1&apikey="}),[p,S]=P.useState({comicName:"",comicYear:""}),j=c.jsx("svg",{className:"searchIcon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:c.jsx("path",{d:"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"})}),k=c.jsx("svg",{className:"dotsIconComic",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 512",children:c.jsx("path",{d:"M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"})}),N=c.jsx("svg",{className:"arrowIconSmall",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 512",children:c.jsx("path",{d:"M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z"})}),R=c.jsx("div",{children:c.jsxs("svg",{className:"warningIcon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:[c.jsx("title",{children:"Comic Already Added"}),c.jsx("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"})]})}),$=P.useRef(),M=P.useRef(),X=P.useRef();P.useEffect(()=>{localStorage.setItem("Last Search",m)},[m]);const Je=()=>{p.comicYear!==""&&(p.comicYear="startYear="+p.comicYear),d(`https://gateway.marvel.com/v1/public/comics?format=comic&formatType=comic&noVariants=true&titleStartsWith=${p.comicName}&limit=100&${p.comicYear}&ts=1&apikey=`),S({comicName:$.current.value,comicYear:M.current.value})},ot=(E,O)=>{E.stopPropagation(),y(!!(e||t)),clearTimeout(X.current),setTimeout(()=>{u(1)},30),v(O),f(!a),X.current=setTimeout(()=>{u(0),setTimeout(()=>{f(!1)},99)},1640)},Vt=E=>{E.stopPropagation(),clearTimeout(X.current),setTimeout(()=>{u(1)},910),X.current=setTimeout(()=>{f(!1)},1e3)},Dn=(E,O)=>{E.stopPropagation(),clearTimeout(X.current),v(O),f(!0),u(1)},lt=E=>{E.key==="Enter"&&Je()},gt=E=>{let O=E.target.name,D=E.target.value.replace(/ /g,"+");S(Y=>({...Y,[O]:D}))};P.useEffect(()=>{F(!0),ee.get(m+"882858640be5e1c7df0e46bdf4f238d5&hash=1ee6551d88ceb97e0cddf39e827dfe29").then(E=>{i(E.data.data.results)}).catch(E=>{console.log(E)}).finally(()=>{F(!1)})},[m]);const T=l.map(E=>{const O=r.ComicFolders.map((D,Y)=>{const it=D.folderName,He=D.folderContents.map((fe,wt)=>fe.title),$t=E.creators.items.map((fe,wt)=>fe);return c.jsxs("li",{onClick:fe=>o(fe,E.thumbnail.path+".jpg",E.title,E.description,E.pageCount,fe.target.innerText,$t,E.urls[0].url,f),id:it,className:"liSpacer",children:[it,He.includes(E.title)&&R]},Y)});return c.jsxs("div",{onClick:()=>n(E.thumbnail.path+".jpg",E.title,E.description,E.pageCount,E.creators.items,E.urls[0].url,1),className:"modalComic",children:[c.jsx(id,{imgSrc:E.thumbnail.path+".jpg"}),c.jsxs("div",{className:"infoWrapper",children:[c.jsx("p",{className:"modalComicTitle",children:E.title}),c.jsxs("div",{onClick:D=>ot(D,E.title),className:"infoSpacer",children:[k,a&&x===E.title&&c.jsx(c.Fragment,{children:c.jsx("div",{style:{opacity:s,bottom:"0",right:"0",transform:"translateY(-21px)"},className:"dotsMenu",onMouseEnter:D=>Dn(D,E.title),onMouseLeave:D=>Vt(D),children:c.jsxs("ul",{className:"dotsMenuList",style:{listStyleType:"none"},children:[h&&[O],c.jsxs("li",{style:{gap:"8px"},onMouseEnter:()=>y(!0),children:[N," Add To "]})]})})})]})]}),c.jsx("h1",{style:{opacity:"0",fontSize:"0rem"},children:"Easter Egg"})]},E.id)});return c.jsxs(c.Fragment,{children:[c.jsxs("header",{style:{overflow:"hidden"},children:[c.jsx("img",{className:"dots Top",src:rt,alt:"dots"}),c.jsxs("div",{className:"modalInputWrapper",children:[c.jsx("input",{onKeyDown:E=>lt(E),style:{width:"280px"},className:"modalTextInput",name:"comicName",id:"comicName",type:"text",placeholder:"Search Comics",ref:$,onChange:gt}),c.jsx("button",{className:"modalSearchButton",onClick:Je,children:j})]}),c.jsx("input",{onKeyDown:E=>lt(E),style:{width:"55px"},className:"modalTextInput",name:"comicYear",id:"comicYear",type:"number",min:"1930",max:"2050",placeholder:"Year",ref:M,onChange:gt})]}),w?c.jsx("div",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:c.jsxs("div",{id:"loading",children:["Loading",c.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"fit-content",marginLeft:"8px"},children:[c.jsx("p",{className:"dot",children:"."}),c.jsx("p",{className:"dot",children:"."}),c.jsx("p",{className:"dot",children:"."})]})]})}):c.jsxs(c.Fragment,{children:[l.length===0?c.jsx("div",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:c.jsx("p",{id:"loading",children:"No Results Found"})}):T,c.jsx("img",{style:{opacity:"4%"},className:"dots Top",src:rt,alt:"dots"}),c.jsx("img",{style:{opacity:"4%"},className:"dots Bottom",src:rt,alt:"dots"})]})]})},Jh=()=>{const{activeFolderContent:e,setActiveContent:t,menuContent:n,arrowIcon:r}=Ht();return c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",marginBottom:"-14px"},className:"activeComicFloatingText",children:[r," ",c.jsx("p",{onClick:()=>t(n[0]),className:"title",children:"Go Back"})]}),e,c.jsxs("div",{children:[c.jsx("img",{style:{opacity:"4%"},className:"dots Bottom",src:rt,alt:"dots"}),c.jsx("img",{style:{opacity:"4%"},className:"dots Top",src:rt,alt:"dots"})]})]})},Zh=()=>{const{activeComicContent:e}=Ht();return e},bh="/Comic-Corner/assets/IronMan1TEST-DtaZikhe.png",e0="/Comic-Corner/assets/IronMan1TEST2-BiJuaV7s.png",t0="/Comic-Corner/assets/Hulk1TEST-Tiiazf4n.png",n0="/Comic-Corner/assets/Hulk1TEST2-DWVEZkZB.png",sd=P.createContext(),r0=({children:e})=>{const[t,n]=P.useState(!1),[r,o]=P.useState(()=>{const L=localStorage.getItem("Folder Id Counter");return L?parseInt(L,10):-1}),[l,i]=P.useState(0),[s,u]=P.useState(0),[a,f]=P.useState([0]),[h,y]=P.useState([]),[x,v]=P.useState([]),[w,F]=P.useState(),[m,d]=P.useState(!1),[p,S]=P.useState(!1),[j,k]=P.useState(0),[N,R]=P.useState(()=>{const L=localStorage.getItem("Comic Folders");return L?JSON.parse(L):{ComicFolders:[]}}),$=P.useRef(),M=P.useRef(),X=P.useRef(),Je=c.jsx("svg",{className:"folderIcon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:c.jsx("path",{fill:"#74a3eb",d:"M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"})}),ot=c.jsx("svg",{className:"dotsIconFolder",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 512",children:c.jsx("path",{fill:"#74a3eb",d:"M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"})}),Vt=c.jsx("svg",{className:"trashIcon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:c.jsx("path",{d:"M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"})}),Dn=c.jsx("svg",{className:"penIcon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:c.jsx("path",{fill:"#393c3f",d:"M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"})}),lt=c.jsx("svg",{style:{fill:"black"},className:"arrowIcon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:c.jsx("path",{d:"M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"})}),gt=c.jsx("svg",{style:{transform:"rotate(180deg)",fill:"black"},className:"arrowIcon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:c.jsx("path",{d:"M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"})});P.useEffect(()=>{localStorage.setItem("Folder Id Counter",r)},[r]),P.useEffect(()=>{T(0)},[]);const T=L=>{i(L),f(E[L])},E=[c.jsx(W1,{},"1"),c.jsx(qh,{},"2"),c.jsx(Zh,{},"3"),c.jsx(Jh,{},"4")],O=[{name:"Your Comics",image:bh,imageNoBg:e0,visible:1},{name:"Browse Comics",image:t0,imageNoBg:n0,visible:1},{name:"ActiveComic",image:"",imageNoBg:"",visible:"none"},{name:"ActiveFolder",image:"",imageNoBg:"",visible:"none"}],D=(L,U)=>({backgroundColor:l===L||s===L?"#3371e6":"#2654aa",scale:l===L||s===L?"1.1":"1",display:U}),Y=L=>({width:l===L?"60%":"50%"}),it=O.map((L,U)=>c.jsxs("li",{style:D(U,L.visible),onClick:()=>T(U),onMouseEnter:()=>u(U),onMouseLeave:()=>u(null),children:[c.jsx("p",{children:L.name}),c.jsx("img",{style:{opacity:"10%",width:"50%"},className:"dots Bottom",src:rt,alt:"dots"}),c.jsx("div",{className:"modalLiImageWrapper",children:c.jsx("img",{className:"modalLiImage",src:l===U||s===U?L.imageNoBg:L.image,style:Y(U),alt:L.image})})]},U));P.useEffect(()=>{localStorage.setItem("Comic Folders",JSON.stringify(N))},[N]);const He=(L,U)=>{L.stopPropagation(),clearTimeout(X.current),setTimeout(()=>{k(1)},30),F(U),d(!m),S(!1),X.current=setTimeout(()=>{k(0),setTimeout(()=>{d(!1)},99)},1640)},$t=L=>{L.stopPropagation(),clearTimeout(X.current),X.current=setTimeout(()=>{F(null),d(!1)},1e3)},fe=(L,U)=>{L.stopPropagation(),clearTimeout(X.current),F(U),d(!0)},wt=L=>{let U=$.current.value;o(le=>le+1),R(le=>({...le,ComicFolders:[...le.ComicFolders,{folderContents:[],id:r,folderName:U}]})),L(!1)},ud=(L,U,le,Te,A,st,Bn,ul,Fr)=>{L.stopPropagation(),R(Mr=>({...Mr,ComicFolders:Mr.ComicFolders.map(zr=>zr.folderName===st?{...zr,folderContents:[...zr.folderContents,{image:U,title:le,creators:Bn,description:Te,pageCount:A,marvelLink:ul}]}:zr)})),Fr(!1)},ad=L=>{p===!1&&(f(E[E.length-1]),y(L))},Hs=(L,U,le,Te,A,st,Bn)=>{n(!0);const ul=A.map((Fr,Mr)=>c.jsxs("p",{style:{textTransform:"capitalize"},children:[c.jsx("span",{className:"modalComicTitle",children:Fr.name})," - ",Fr.role]},Mr));f(E[E.length-2]),v(c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",marginBottom:"-24px",width:"100%",display:"flex",justifyContent:"space-between"},className:"activeComicFloatingText",children:[" ",c.jsxs("p",{onClick:()=>f(E[Bn]),style:{fontSize:"1rem"},className:"title",children:[lt," Go Back"]})," ",c.jsxs("a",{rel:"noreferrer",href:st,target:"_blank",style:{color:"inherit"},className:"title",children:["Marvel site ",gt]})]}),c.jsxs("div",{className:"activeComicContent",children:[c.jsx("div",{className:"modalActiveComic",children:c.jsx("img",{className:"modalComicCover",src:L,alt:"Comic Cover"})}),c.jsx("div",{className:"spacer"}),c.jsxs("div",{className:"activeComicInfo",children:[c.jsx("div",{className:"modalActiveComicBg",children:c.jsx("img",{className:"modalComicCover",src:L,alt:"Comic Background"})}),c.jsx("h1",{className:"title",children:U}),c.jsxs("div",{children:[c.jsx("p",{style:{fontSize:"1rem",border:"none"},className:"title",children:"Creators:"}),c.jsxs("div",{style:{fontWeight:"400"},className:"modalComicTitle",children:[ul," "]})]}),c.jsxs("div",{children:[c.jsx("p",{style:{fontSize:"1rem",border:"none"},className:"title",children:"Pages:"}),c.jsx("p",{style:{fontWeight:"400"},className:"modalComicTitle",children:Te})]}),c.jsx("p",{className:"modalComicTitle",children:le})]})]})]}))},cd=(L,U)=>{L.stopPropagation(),S(!p),d(!1),setTimeout(()=>{M.current.value=U},1)},fd=(L,U,le)=>{L.stopPropagation(),S(!p),R(Te=>({...Te,ComicFolders:Te.ComicFolders.map(A=>A.id===U?{...A,folderName:le}:A)}))},dd=(L,U)=>{U.stopPropagation(),R(le=>({ComicFolders:le.ComicFolders.filter(Te=>Te.id!==L.id)})),d(!m)},pd=(L,U,le,Te)=>{L.stopPropagation(),R(A=>(A.ComicFolders[le][U]=A.ComicFolders[le][U].filter(st=>st.title!==Te.title),{ComicFolders:A.ComicFolders})),y(A=>A.filter(st=>st.props.title!==Te.title))},md=N.ComicFolders.map((L,U)=>{const le=Object.keys(L)[0],Te=L[le].map((A,st)=>c.jsxs("div",{onClick:()=>Hs(A.image,A.title,A.description,A.pageCount,A.creators,A.marvelLink,3),title:A.title,className:"modalComic",children:[c.jsx(id,{imgSrc:A.image}),c.jsxs("div",{className:"infoWrapper",children:[c.jsx("p",{className:"modalComicTitle",children:A.title}),c.jsx("button",{title:"Delete Comic",style:{cursor:"pointer"},onClick:Bn=>pd(Bn,le,U,A),className:"infoSpacer",children:Vt})]})]},st));return c.jsx("div",{className:"modalFolderWrapper",onClick:()=>ad(Te),children:c.jsx("div",{className:"modalFolder",children:p&&w===L.id?c.jsx(c.Fragment,{children:c.jsxs("div",{style:{paddingTop:"16px",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",opacity:"1",transition:"all .218s"},children:[c.jsx("input",{style:{width:"98.2%"},autoComplete:"off",className:"modalTextInput",id:"folderRename",name:"folderRename",placeholder:"Folder Name",type:"text",ref:M}),c.jsxs("div",{className:"folderButtonsContainer",children:[c.jsx("button",{className:"folderButton",onClick:()=>S(!1),style:{backgroundColor:"white",color:"#3371e6",border:"1px solid #3371e6"},children:"Cancel"}),c.jsx("button",{className:"folderButton",onClick:A=>fd(A,L.id,M.current.value),children:"Confirm"})]})]})}):c.jsxs(c.Fragment,{children:[c.jsx("div",{style:{position:"absolute",width:"180px",height:"auto",textWrap:"wrap",textAlign:"center"},children:c.jsx("p",{className:"folderName",children:L.folderName})}),Je,c.jsxs("div",{onClick:A=>He(A,L.id),className:"dotsWrapper",children:[ot,m&&w===L.id&&c.jsx("div",{style:{opacity:j,right:"0",top:"0",transform:"translateY(32px)"},className:"dotsMenu",onMouseLeave:A=>$t(A),onMouseEnter:A=>fe(A,L.id),children:c.jsxs("ul",{className:"dotsMenuList",style:{listStyleType:"none"},children:[c.jsxs("li",{style:{gap:"8px"},onClick:A=>cd(A,L.folderName),children:[" ",Dn," Rename "]}),c.jsxs("li",{style:{gap:"8px"},onClick:A=>dd(L,A),children:[" ",Vt," Delete "]})]})})]})]})})},U)}),hd=()=>{n(!0)},yd=()=>{n(!1)};return c.jsx(sd.Provider,{value:{handleCloseModal:yd,handleOpenModal:hd,showModal:t,comicFolders:N,setComicFolders:R,folderNameRef:$,handleUpdate:wt,modalFolders:md,activeContent:a,setActiveContent:f,activeMenu:l,setActiveMenu:i,menuContent:E,menuItemsMap:it,activeFolderContent:h,activeComicContent:x,handleGoToActiveComic:Hs,handleAddToFolder:ud,arrowIcon:lt},children:e})},Ht=()=>P.useContext(sd);function o0(){const[e,t]=P.useState(!1),[n,r]=P.useState(),[o,l]=P.useState(),{handleOpenModal:i}=Ht();P.useEffect(()=>{const a=()=>{e===!0?(r("MenuUnactive .518s ease 0s 1"),setTimeout(()=>{t(!1)},458)):(r("MenuActive .518s ease 0s 1"),t(!0))};l(e===!1?c.jsx("svg",{onClick:()=>a(),style:{width:"8%"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:c.jsx("path",{fill:"#ffffff",d:"M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"})}):c.jsx("svg",{onClick:()=>a(),style:{width:"6%"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:c.jsx("path",{fill:"#ffffff",d:"M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"})}))},[e]);const s=Uo({query:"(max-width: 600px)"}),u=()=>({position:s?"absolute":"relative",width:"100%",zIndex:"1",backgroundColor:"#2653a8",display:"flex",justifyContent:"center",animation:n});return c.jsxs("div",{className:"headerContainer",children:[c.jsxs("header",{children:[c.jsx("img",{className:"dots Top",src:rt,alt:"dots"}),c.jsxs("div",{className:"logoContainer",children:[c.jsxs("p",{children:["Comic",c.jsx("br",{}),"  Corner"]}),c.jsx("img",{className:"imgLogo",src:$1,alt:"sitelogo"})]}),s?o:c.jsxs("div",{className:"linkContainer",children:[c.jsx("a",{className:"line",href:"#A",children:"Latest Releases"}),c.jsx("a",{className:"line",href:"#B",children:"Comic Spotlight"}),c.jsx("a",{className:"line",href:"#C",children:"News"}),c.jsx("a",{onClick:i,className:"line",children:"Your Comics"})]})]}),e&&c.jsxs("div",{className:"headerContainer",style:u(),children:[c.jsx("img",{className:"dots Top",src:rt,alt:"dots"}),c.jsxs("div",{className:"linkContainer",style:{flexDirection:"column"},children:[c.jsx("a",{className:"line",href:"#A",children:"Latest Releases"}),c.jsx("a",{className:"line",href:"#B",children:"Comic Spotlight"}),c.jsx("a",{className:"line",href:"#C",children:"News"}),c.jsx("a",{onClick:i,className:"line",children:"Your Comics"})]})]})]})}const l0="/Comic-Corner/assets/705204-Cc6xpFZt.jpg";function i0(){return c.jsx(c.Fragment,{children:c.jsxs("div",{className:"mainContainer",children:[c.jsxs("div",{className:"effectContainer",children:[c.jsx("h1",{}),c.jsx("div",{className:"bannerContainer",children:c.jsx("img",{className:"banner",src:l0,alt:"banner"})})]}),c.jsx("h1",{style:{opacity:"0",fontSize:"2.5rem"},children:"Title"})]})})}const s0="/Comic-Corner/assets/batman1-DCoTpiwQ.png",u0="/Comic-Corner/assets/batman2NoBG-B1Qj_5sH.png",a0="/Comic-Corner/assets/spiderman1-Bc-MrO31.png",c0="/Comic-Corner/assets/spiderman2NoBG-DjdMq545.png",f0="/Comic-Corner/assets/john1-Db6YG2H8.png",d0="/Comic-Corner/assets/john2NoBG-ClPRsKH1.png",p0="/Comic-Corner/assets/joker1-C-1uDBYH.png",m0="/Comic-Corner/assets/joker2NoBG-CDdc9MCY.png",h0="/Comic-Corner/assets/punisher%201-CKqGb34v.png",y0="/Comic-Corner/assets/punisher%202NoBG-BBiGlmDI.png",v0="/Comic-Corner/assets/venom1-BHEzzfuv.png",g0="/Comic-Corner/assets/venom2NoBG-BZSia5gU.png";function w0(){return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"content",id:"A",children:[c.jsx("div",{className:"title",children:c.jsx("h1",{children:"Latest Releases"})}),c.jsx(S0,{}),c.jsx("h1",{style:{opacity:"0"},children:"Hidden Text"})]}),c.jsxs("div",{className:"content",id:"B",children:[c.jsx("div",{className:"title",children:c.jsx("h1",{children:"Comic Spotlight"})}),c.jsx(x0,{}),c.jsx("h1",{style:{opacity:"0"},children:"Hidden Text"})]}),c.jsxs("div",{className:"content",id:"C",children:[c.jsx("div",{className:"title",children:c.jsx("h1",{children:"News"})}),c.jsx(C0,{})]})]})}function S0(){const[e,t]=P.useState([]),n=P.useRef(),{handleGoToActiveComic:r}=Ht();return P.useEffect(()=>{let o=!1,l,i;const s=n.current,u=y=>{o=!0,s.classList.add("active"),l=y.pageX-s.offsetLeft,i=s.scrollLeft},a=()=>{o=!1,s.classList.remove("active")},f=()=>{o=!1,s.classList.remove("active")},h=y=>{if(!o)return;y.preventDefault();const v=(y.pageX-s.offsetLeft-l)*.8;s.scrollLeft=i-v};return s.addEventListener("mousedown",u),s.addEventListener("mouseleave",a),s.addEventListener("mouseup",f),s.addEventListener("mousemove",h),()=>{s.removeEventListener("mousedown",u),s.removeEventListener("mouseleave",a),s.removeEventListener("mouseup",f),s.removeEventListener("mousemove",a)}},[]),P.useEffect(()=>{const o="882858640be5e1c7df0e46bdf4f238d5&hash=1ee6551d88ceb97e0cddf39e827dfe29";console.log("API Key: "+o),ee.get("https://gateway.marvel.com/v1/public/comics?format=comic&formatType=comic&noVariants=true&dateDescriptor=thisWeek&limit=48&ts=1&apikey="+o).then(l=>{t(l.data.data.results)})},[]),c.jsx("div",{className:"middle",ref:n,children:e.length>0?e.map(o=>c.jsxs("div",{className:"comic",children:[c.jsx("img",{draggable:"false",src:o.thumbnail.path+".jpg",className:"comicCover",alt:"Comic Cover"}),c.jsx("p",{style:{userSelect:"none"},children:o.title}),c.jsx("button",{onClick:()=>r(o.thumbnail.path+".jpg",o.title,o.description,o.pageCount,o.creators.items,o.urls[0].url,0),children:"View"}),c.jsx("h1",{style:{opacity:"0",fontSize:"1rem"},children:"Easter Egg"})]},o.id)):c.jsx("p",{id:"loading",children:"Loading..."})})}function x0(){const[e,t]=P.useState([]),n=P.useRef(),{handleGoToActiveComic:r}=Ht();return P.useEffect(()=>{let o=!1,l,i;const s=n.current,u=y=>{o=!0,s.classList.add("active"),l=y.pageX-s.offsetLeft,i=s.scrollLeft},a=()=>{o=!1,s.classList.remove("active")},f=()=>{o=!1,s.classList.remove("active")},h=y=>{if(!o)return;y.preventDefault();const v=(y.pageX-s.offsetLeft-l)*.8;s.scrollLeft=i-v};return s.addEventListener("mousedown",u),s.addEventListener("mouseleave",a),s.addEventListener("mouseup",f),s.addEventListener("mousemove",h),()=>{s.removeEventListener("mousedown",u),s.removeEventListener("mouseleave",a),s.removeEventListener("mouseup",f),s.removeEventListener("mousemove",a)}},[]),P.useEffect(()=>{const o="882858640be5e1c7df0e46bdf4f238d5&hash=1ee6551d88ceb97e0cddf39e827dfe29";console.log("API Keyy: "+o),ee.get("https://gateway.marvel.com/v1/public/comics?format=comic&formatType=comic&noVariants=true&titleStartsWith=ULTIMATE+SPIDER-MAN&startYear=2024&limit=99&ts=1&apikey="+o).then(l=>{t(l.data.data.results)})},[]),c.jsx("div",{className:"middle",ref:n,children:e.length>0?e.map(o=>c.jsxs("div",{className:"comic",children:[c.jsx("img",{draggable:"false",src:o.thumbnail.path+".jpg",className:"comicCover",alt:"Comic Cover"}),c.jsx("p",{style:{userSelect:"none"},children:o.title}),c.jsx("button",{onClick:()=>r(o.thumbnail.path+".jpg",o.title,o.description,o.pageCount,o.creators.items,o.urls[0].url,0),children:"View"}),c.jsx("h1",{style:{opacity:"0",fontSize:"1rem"},children:"Easter Egg"})]},o.id)):c.jsx("p",{id:"loading",children:"Loading..."})})}function C0(){return c.jsxs("div",{className:"newsContainer",children:[c.jsx("img",{src:rt,className:"dots Top",alt:"dots"}),c.jsx("img",{src:rt,className:"dots Bottom",alt:"dots"}),c.jsx("p",{className:"heroTitle",children:"New Upcoming Superhero video Game!"}),c.jsxs("div",{className:"heroContext",children:[c.jsxs("p",{children:["Choose",c.jsx("br",{})]}),c.jsxs("p",{style:{marginBottom:"-32px",marginTop:"-40px"},children:[c.jsx("span",{style:{fontSize:"1.8rem"},children:"your"}),c.jsx("br",{})]}),c.jsx("p",{style:{fontSize:"4rem"},children:"Menthor"})]}),c.jsxs("div",{className:"sideA",children:[c.jsxs("div",{className:"heroContainer",style:{marginRight:"60vw"},children:[c.jsx("img",{src:h0,className:"heroImageA",style:{transform:"translateX(5%) translateY(6%)"},alt:"punisher1"}),c.jsx("img",{src:y0,className:"heroImageB",alt:"punisher2"})]}),c.jsxs("div",{className:"heroContainer",children:[c.jsx("img",{src:f0,className:"heroImageA",alt:"constantine1"}),c.jsx("img",{src:d0,className:"heroImageB",alt:"constantine2"})]})]}),c.jsxs("div",{className:"sideA",children:[c.jsxs("div",{className:"heroContainer",style:{marginRight:"30vw"},children:[c.jsx("img",{src:v0,className:"heroImageA",style:{transform:"translateX(5%) translateY(5%)"},alt:"venom1"}),c.jsx("img",{src:g0,className:"heroImageB",alt:"venom2"})]}),c.jsxs("div",{className:"heroContainer",children:[c.jsx("img",{src:a0,className:"heroImageA",style:{transform:"translateX(-3%) translateY(4%)"},alt:"spiderman1"}),c.jsx("img",{src:c0,className:"heroImageB",alt:"spiderman2"})]})]}),c.jsxs("div",{className:"sideA",style:{marginBottom:"0px"},children:[c.jsxs("div",{className:"heroContainer",style:{marginRight:"60vw"},children:[c.jsx("img",{src:p0,className:"heroImageA",alt:"joker1"}),c.jsx("img",{src:m0,className:"heroImageBatman",alt:"joker2"})]}),c.jsxs("div",{className:"heroContainer",children:[c.jsx("img",{src:s0,className:"heroImageA",alt:"batman1"}),c.jsx("img",{src:u0,className:"heroImageBatman",alt:"batman2"})]})]})]})}function E0(){return c.jsx("footer",{children:c.jsx("p",{children:"ComicCorner ™"})})}const k0=()=>{const{handleCloseModal:e,showModal:t,menuItemsMap:n,activeContent:r}=Ht(),o=Uo({query:"(max-width: 600px)"});t?document.body.classList.add("modal-active"):document.body.classList.remove("modal-active");const l=()=>({transform:o&&r.key==="2"?"translateY( -9.5vh)":r.key==="2"?"translateY( -375%)":"translateY( -95%)"});return c.jsx(c.Fragment,{children:t&&c.jsx("div",{className:"modalOverlay",children:c.jsxs("div",{className:"modalContainer",children:[c.jsx("button",{style:l(),className:"closeModalButton",onClick:e,children:c.jsx("p",{children:"X"})}),c.jsx("ul",{className:"modalList",children:n}),c.jsx("div",{className:"modalContent",style:{gap:r.key==="3"?"0px":""},children:r})]})})})};function N0(){return c.jsxs(c.Fragment,{children:[c.jsx(k0,{}),c.jsx(o0,{}),c.jsx(i0,{}),c.jsx(w0,{}),c.jsx(E0,{})]})}const j0=Ul.createRoot(document.getElementById("root"));j0.render(c.jsx(r0,{children:c.jsx(N0,{})})); diff --git a/dist/assets/john1-Db6YG2H8.png b/dist/assets/john1-Db6YG2H8.png new file mode 100644 index 0000000..8d9c7b7 Binary files /dev/null and b/dist/assets/john1-Db6YG2H8.png differ diff --git a/dist/assets/john2NoBG-ClPRsKH1.png b/dist/assets/john2NoBG-ClPRsKH1.png new file mode 100644 index 0000000..95d570f Binary files /dev/null and b/dist/assets/john2NoBG-ClPRsKH1.png differ diff --git a/dist/assets/joker1-C-1uDBYH.png b/dist/assets/joker1-C-1uDBYH.png new file mode 100644 index 0000000..358fd68 Binary files /dev/null and b/dist/assets/joker1-C-1uDBYH.png differ diff --git a/dist/assets/joker2NoBG-CDdc9MCY.png b/dist/assets/joker2NoBG-CDdc9MCY.png new file mode 100644 index 0000000..a40ac2a Binary files /dev/null and b/dist/assets/joker2NoBG-CDdc9MCY.png differ diff --git a/dist/assets/punisher 1-CKqGb34v.png b/dist/assets/punisher 1-CKqGb34v.png new file mode 100644 index 0000000..8ff8fa1 Binary files /dev/null and b/dist/assets/punisher 1-CKqGb34v.png differ diff --git a/dist/assets/punisher 2NoBG-BBiGlmDI.png b/dist/assets/punisher 2NoBG-BBiGlmDI.png new file mode 100644 index 0000000..903d576 Binary files /dev/null and b/dist/assets/punisher 2NoBG-BBiGlmDI.png differ diff --git a/dist/assets/spiderman1-Bc-MrO31.png b/dist/assets/spiderman1-Bc-MrO31.png new file mode 100644 index 0000000..9950f38 Binary files /dev/null and b/dist/assets/spiderman1-Bc-MrO31.png differ diff --git a/dist/assets/spiderman2NoBG-DjdMq545.png b/dist/assets/spiderman2NoBG-DjdMq545.png new file mode 100644 index 0000000..cb3109e Binary files /dev/null and b/dist/assets/spiderman2NoBG-DjdMq545.png differ diff --git a/dist/assets/venom1-BHEzzfuv.png b/dist/assets/venom1-BHEzzfuv.png new file mode 100644 index 0000000..74b094e Binary files /dev/null and b/dist/assets/venom1-BHEzzfuv.png differ diff --git a/dist/assets/venom2NoBG-BZSia5gU.png b/dist/assets/venom2NoBG-BZSia5gU.png new file mode 100644 index 0000000..6bed0d4 Binary files /dev/null and b/dist/assets/venom2NoBG-BZSia5gU.png differ diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..8c1bb80 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,23 @@ + + + + + + + + + + + Comic Corner + + + + + + + + + +
+ +