diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index feab45a..8b98cdd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,12 +13,9 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Set environment variable - run: echo "AUTH_TOKEN=${{ secrets.GH_API_KEY }}" >> $GITHUB_ENV - - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: gh-pages - publish_dir: ./dist + publish_dir: ./build diff --git a/babel.config.json b/babel.config.json new file mode 100644 index 0000000..5a70e34 --- /dev/null +++ b/babel.config.json @@ -0,0 +1,12 @@ +{ + "presets": [ + "@babel/preset-env", + "@babel/preset-typescript", + [ + "@babel/preset-react", + { + "runtime": "automatic" + } + ] + ] +} diff --git a/build/4f79c7fafd25c3002842.svg b/build/4f79c7fafd25c3002842.svg new file mode 100644 index 0000000..fe96247 --- /dev/null +++ b/build/4f79c7fafd25c3002842.svg @@ -0,0 +1,4 @@ + + + + diff --git a/dist/assets/Roboto-Bold-B2n1BHly.woff2 b/build/6cd35edfbc0d7a417131.woff2 similarity index 100% rename from dist/assets/Roboto-Bold-B2n1BHly.woff2 rename to build/6cd35edfbc0d7a417131.woff2 diff --git a/build/79c879ba62b8c1d4a12e.svg b/build/79c879ba62b8c1d4a12e.svg new file mode 100644 index 0000000..3a6cdf8 --- /dev/null +++ b/build/79c879ba62b8c1d4a12e.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/assets/user-logo-DQByK6QW.svg b/build/96a74902d342e68398a1.svg similarity index 100% rename from dist/assets/user-logo-DQByK6QW.svg rename to build/96a74902d342e68398a1.svg diff --git a/dist/assets/Roboto-Regular-56L6iL-I.woff2 b/build/a25806274237d06e00a6.woff2 similarity index 100% rename from dist/assets/Roboto-Regular-56L6iL-I.woff2 rename to build/a25806274237d06e00a6.woff2 diff --git a/build/c410233389a1e4104d3b.svg b/build/c410233389a1e4104d3b.svg new file mode 100644 index 0000000..d123ec0 --- /dev/null +++ b/build/c410233389a1e4104d3b.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/build/css/main.0fdc0399.css b/build/css/main.0fdc0399.css new file mode 100644 index 0000000..86807d7 --- /dev/null +++ b/build/css/main.0fdc0399.css @@ -0,0 +1,43 @@ +.fJkS95iosNF5iEilDiOQ{fill:#518581}.QtMrk8xf6jPEr2u2R972{fill:#afadb5}.YYDozKFhxWAqAnxLPKoe{fill:var(--text-primary)}.fJkS95iosNF5iEilDiOQ{fill:#ff9432}.rmcOkvqxeBy9kICaCy1g{stroke:#518581}.dEfaxKlvwk2JGJny37ii{stroke:#afadb5}.xV3_11jw2cC9UisHSNwx{stroke:var(--text-primary)} +.kAYDswAvA1AJoAzRV4rY{width:100%}.GRggPQ1rZgvcyCxPPgvw{border:none;height:100%;width:100%;display:block;padding:14px 12px;border-radius:6px;background-color:var(--input-bg);color:var(--text-primary)}.GRggPQ1rZgvcyCxPPgvw:focus{outline:none;border:1px solid #518581}.GRggPQ1rZgvcyCxPPgvw:disabled{background-color:#fff}.oYmXiXL5Sf6H3JTbpBcW{height:52px;position:relative;width:100%}.o73PkyM7_jYMYZreLhfw{position:absolute;right:12px;bottom:50%;transform:translateY(50%)} +.tfH6XxKoJ5RNHy71p3JQ{position:relative}.X8d_PFLvHo9kXwsiz5De{box-sizing:border-box;color:#afadb5;border-radius:6px;background-color:var(--input-bg)}.G9p5nfaNYvImPYc9O2H0{box-shadow:0 4px 10px rgba(0,0,0,.25);position:absolute;background-color:var(--input-bg);width:100%;top:calc(100% + 8px)}.g1kHmht5mOZaDvxuSo0W{display:flex;align-items:center;padding:14px 12px;color:var(--text-primary);cursor:pointer}.Y8eC2vhHNKDlpniQXf3A{color:#518581}.Y8eC2vhHNKDlpniQXf3A:hover{color:#afadb5}.X8d_PFLvHo9kXwsiz5De:focus{color:#151411}.X8d_PFLvHo9kXwsiz5De:checked{color:#afadb5}.X8d_PFLvHo9kXwsiz5De:disabled{color:#151411;opacity:.8} +.j4ycrrEYXGNDvNx6UcaB{z-index:2;width:30%}@media(max-width: 61.25rem){.j4ycrrEYXGNDvNx6UcaB{width:50%}}@media(max-width: 35.625rem){.j4ycrrEYXGNDvNx6UcaB{width:100%}} +.PkUinbEv0d5ZeozvVMEx{width:100%;display:flex;flex-direction:column;gap:20px;margin-bottom:36px} +@keyframes AckVx22tOKuvpKtqVRt2{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.nEUlsqYnsEu945pEytjk{fill:#518581;animation:AckVx22tOKuvpKtqVRt2 2s linear infinite;margin:auto}.QVQyMXAEFfLIF24ZZTIC{width:60px;height:60px}.rOMVspHpRkQZSeG1EyKx{width:48px;height:48px}.jo9UiAd2v11VIiB8nrni{width:24px;height:24px} +.b_aG7bzo5aM2mIR7O3BA{display:flex;align-items:center;justify-content:space-between;cursor:pointer;border:none;outline:none;background-color:#1f883d;color:#fff;padding:14px 20px;transition:.2s;border-radius:6px}.b_aG7bzo5aM2mIR7O3BA:hover{background-color:#86aaa7}.xJtxeg7TzKTmtTzYl81T:hover{background-color:#518581}.fyF3Q9Pqj26QCMVeJQFg:disabled{background-color:#518581}.b_aG7bzo5aM2mIR7O3BA:active{background-color:#08531d}.b_aG7bzo5aM2mIR7O3BA:disabled{background-color:#d9d9d9}.b_aG7bzo5aM2mIR7O3BA:disabled:hover{background-color:#d9d9d9} +.XF3csXyoIU629j2l4mPA{display:flex;align-items:center;justify-content:space-between;gap:20px}.QK9fV3TK9X_iCPK9FhWQ{z-index:1} +.Ka5fPsYxacZl4ePmhDIN{-webkit-box-orient:vertical;overflow:hidden;color:inherit}.KNMMibJCg2xw12AVAk0J{color:#518581}.K8SFZOvp5hQ3knn4woW6{color:#afadb5}.W8k76chJqQ9tKDqxqzGv{color:var(--text-primary)}.mtl4rjHSTNU_VAkSpYc3{font-size:12px;line-height:16px}.Jh9KOHISf4desSIf5_Kz{font-size:14px;line-height:18px}.eYYEaSEUuxnNQPVOR8Yf{font-size:16px;line-height:20px}.erRarltR19mAqYa_fyFe{font-size:18px;line-height:22px}.fsqRJuwm8uLKpLZxwvDN{font-size:20px;line-height:24px}.rRFfPQmj4w2rdU6iHBvI{font-size:clamp(1.75rem,1.4166666667rem + 1.4814814815vw,2.75rem);line-height:clamp(2rem,1.6666666667rem + 1.4814814815vw,3rem);text-align:center}.HiZsCnmN9E8vYDC9Ni_g{font-size:clamp(0.875rem,0.8333333333rem + 0.1851851852vw,1rem);margin:0}.g5c6FaQqBxaJNzQi_c_o{font-weight:400}.GaJhEbOPSW6F3FV6S8lS{font-weight:500}.JQ_U5uvDRaSLLC4FeVmn{font-weight:700} +.wXtLhPLKNmOlVIbs7UAm{border-radius:50%} +.a5ocFuOT9KNU75Ybcchu{border:1px solid #d9d9d9;border-radius:6px;padding:12px 14px;background-color:var(--card-background);height:100%;transition:.2s}.lPI5ymyiRuR9zd0sduBn{display:flex;align-items:center;gap:12px}.a5ocFuOT9KNU75Ybcchu:hover{box-shadow:0 4px 10px rgba(0,0,0,.25)}.HNOwmFvC2rg5nrv9KwUQ{margin:0;margin-bottom:4px}.SXQfgH4TxlPRMJ2eFeVn{display:flex;align-items:center;gap:6px}.mloeXFIEpwhM0WCBHQhw{width:8px;height:8px;border-radius:50%}.Rbrd3HFT4QpyXQ28dLb_{border:1px solid #d9d9d9;border-radius:20px;padding:4px 14px}.tGBGAXZxrDYIf3txwusN{margin:0} +.yMFcdPZnP5eQFnfQBAND{margin-bottom:24px;width:100%}.e1QEYk63D0x0fyMIU_aS{display:grid;grid-template-columns:repeat(3, 1fr);gap:14px}@media(max-width: 40.625rem){.e1QEYk63D0x0fyMIU_aS{grid-template-columns:repeat(1, 1fr)}} +.D8WW6HDnkKOTfMUkRRDB{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}._RkLPlxF6GaCCS9a6MJT{cursor:pointer}.sepfeUIwnpSzRGTtdZHg:disabled{cursor:auto}.Dw8JswjfAF3p8WuDovrd{transform:rotate(180deg)}.Kd372dg58p2MjlIzBb2l{height:38px}.QxUbXoMwYqmjTLhucOft{margin:0}.ZflM936PrQyOEbkgW9O2{width:42px;height:100%}@media(max-width: 30rem){.ZflM936PrQyOEbkgW9O2{width:2.375rem}}.lADI069D1hLFvue8LaDr{background-color:#1f883d;color:#fff} +.t3s26QVSgcFUkHVBkvzg{width:360px;transition:.2s;border-radius:6px;height:100%;background-color:var(--card-background)}.t3s26QVSgcFUkHVBkvzg:hover{box-shadow:0 4px 10px rgba(0,0,0,.25)}.qAAdtrqF0s8BZJnbuUHA{display:block;width:100%;height:348px;background-color:#d9d9d9;border-top-left-radius:6px;border-top-right-radius:6px}.dvXxU4NG31BDNd51MRkU{padding:24px 12px}.rOYO55tDMjaL0CqJdppg{display:flex;align-items:center;margin-top:20px;justify-content:space-between}.JJaIwiO_gZ02P4SzZTMP{margin:8px 0}.qd6yvPCVIllmofRExp1H,.pagCkcGUly88oD4EOe3v{margin-top:0} +.mLMVBzIysyJ3Erg1iZQo{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:5rem;margin-bottom:40px}.x56m5wgI_7RCeuzEmm6g{display:flex;align-items:center;gap:15px}.VRyZKjfiwcBto8ATj8gR{display:flex;align-items:center;gap:4px}.Ol3S0C0d9CkI6WIAXK54{text-decoration:none}@media(max-width: 83.75rem){.mLMVBzIysyJ3Erg1iZQo{gap:2.5rem}} +.H6VCEbQq522fJE99xCAU{margin-bottom:60px}.JwaLrhTuCmM5E2spuJGq{margin-right:auto}.ntH18PSv9lDZqcRat3i2{justify-content:start} + +.eWzdOgLAMjIObbX8D8mo{display:flex;align-items:center;justify-content:space-between;border:1px solid #d9d9d9;border-radius:6px;background-color:var(--card-background);padding:14px;transition:.2s}.KSxqmHBMS3mmpVLPI2hr{display:flex;align-items:center;gap:14px}.eWzdOgLAMjIObbX8D8mo:hover{box-shadow:0 4px 10px rgba(0,0,0,.25)} +.Wf0vr4UK9j09ZM8T3Va8{width:100%;margin-bottom:40px;display:flex;flex-direction:column;gap:20px} +.hfTXuSxE1YFNxojn4EQR{width:20px;height:20px;position:relative;display:inline-block;box-sizing:border-box;background-color:#fff;border:1px solid #d9d9d9}.aQ1h_OjvJYwkuWxCTqgJ{appearance:none}.hfTXuSxE1YFNxojn4EQR:hover{border:1px solid #518581}.eRTT7RKJbsV1jkTjel0d{display:none;position:absolute;top:-1px;left:-1px}.aQ1h_OjvJYwkuWxCTqgJ:checked+.eRTT7RKJbsV1jkTjel0d{display:block}.XxgkyIY4WMuichBtPEad{background-color:hsla(0,0%,100%,.5019607843);border:1px solid hsla(0,0%,100%,0)}.XxgkyIY4WMuichBtPEad:hover{background-color:hsla(0,0%,100%,.5019607843);border:1px solid hsla(0,0%,100%,0)}.QfZG5iSbyYkVBkqFWyng .lcDPpEO9uopoXDUFH3tK{stroke:rgba(0,0,0,.2)} +.uCOo9HuJQOOOQF8oaJIw{height:90vh}.dy8Ub8OBcO15zV5WrZS7{background-color:var(--card-background)}.fTNpKCVWgcUMQarQzOrD{display:block;margin-bottom:12px;border:1px solid #d9d9d9;border-radius:6px}.bPUKWfxOjFf6iLA0pV8X{display:flex;align-items:center;text-align:left;gap:8px;margin-bottom:14px}.bH8U3nu_nzo2Npu8Qx3Q{flex-shrink:0} +.xPH0qC4MFXgN6CunGYZV{height:90vh} +.w4xUK5mGjdc7WDoK_wR3{display:flex;align-items:center;gap:8px;cursor:pointer}.EFKUafsXtSvQdgNN97z0{border-radius:50%}.Bf926UGnW_uwbjlZIo2G{margin:0} +.WvBmOlfQ86hqLSV7z21_{display:flex;flex-direction:column;gap:8px;margin-bottom:38px}.L40Mk8_Mh5DFHTajlU1S{display:flex;gap:2px}.f3yhSH2eLRwCLMpZkqkr{margin:0;line-height:22px}.WheS45BMg69Tb91uon9_{vertical-align:sub;text-align:center;background-color:#d9d9d9;border-radius:50%;padding:0px 5px;padding-bottom:20px;height:16px}.No44PVJcpptGfP3Zq67b{font-size:10px;line-height:10px;color:rgba(0,0,0,.62)} +.QN89xHhl2y29FSJzGH8O{margin-bottom:38px}.PxBrygBo8qRFy4UEQlxh{margin:0;line-height:22px;margin-bottom:8px}.OtWkN2gEE0JKHN4sPv0Y{display:flex;align-items:center;width:300px;column-gap:20px;row-gap:4px;flex-wrap:wrap}.y6SD9mHdJOIX6DAcE7ai{display:flex;align-items:center;width:300px;height:10px;border-radius:6px;overflow:hidden;gap:2px;margin-bottom:8px}.SLR2fkambmgEhBUcfsT2{width:8px;height:8px;border-radius:50%}.pDbU1z1LPI5ld_8aBHXd{display:flex;align-items:center;gap:5px} +.Yqvgc9ujwLwIAbnH3noZ{border:1px solid #d9d9d9;border-radius:4px;max-width:900px;color:var(--text-primary)}.J2pItUpyIOT2x4dcsCMg{margin:16px}.cOt9FSYCtGWwiDgltPty{margin:32px}.cOt9FSYCtGWwiDgltPty img{max-width:100%}.cOt9FSYCtGWwiDgltPty pre{background-color:var(--body-background);padding:16px;border-radius:4px;width:100%;overflow-x:auto}@media(max-width: 500px){.cOt9FSYCtGWwiDgltPty{margin:22px}}@media(max-width: 400px){.cOt9FSYCtGWwiDgltPty{word-break:break-all}} +.CcvO5hcTURXeY5hBQQEb{display:flex;align-items:center;gap:8px}.jObwfxL9HGpOIxZo8SXr{color:#0080ff;text-decoration:none} +.SmOo5jWkAjmTKKr3qiPp{display:flex;align-items:center;gap:8px}.WuobFusEJvVFHNC8ITih{display:flex;align-items:center} +.nAHMoaGJhVoDstTqTO6g{display:flex;flex-direction:column;gap:8px;margin-bottom:20px} +.EXhW1wG_btsOkzn3PLOP{display:flex;align-items:center;justify-content:left;gap:16px}.xJ6RzMe8tA9hWuQp24Lg{width:40px;height:40px;border-radius:6px}.pz29mkDTLVykt_QmIJrK{transform:rotate(90deg)}.nDiRQYwJSzek9a4fyAVe{cursor:pointer} +.lkGNKeuA6HuDG8YnjymA{background-color:#daedff;border-radius:20px;color:#06c;padding:4px 16px}.rtRECbgPNa30Vol9AylQ{margin:0} +.Tn2CYZ_YKTJvOdrosRib{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px} +.Nbrhc11l18wkwHKWiuDV{padding-bottom:80px;min-height:100vh}.uxYI7YpvBC16FPZyFKtw{display:flex;gap:5rem}@media(max-width: 37.5rem){.uxYI7YpvBC16FPZyFKtw{gap:2.5rem}}@media(max-width: 34.375rem){.uxYI7YpvBC16FPZyFKtw{flex-direction:column;row-gap:0.3125rem}} + +.Mc2YkCqycRZBU49ZrDMZ{padding:40px 0 80px 0;margin-top:40px;display:flex;justify-content:space-between;gap:20px}._4jWM90p8vml9HFtprYr{display:flex;flex-direction:column}.d9YN9tZUHtadPudqbeKj{display:flex;flex-direction:column;align-items:end}.gZNvSOGc6UA8m9v_itWE{display:flex;align-items:center;gap:12px;margin-bottom:14px}@media(max-width: 1250px){.Mc2YkCqycRZBU49ZrDMZ{flex-direction:column;justify-content:center;align-items:center}} + +.DEpEvFXm0ho8aaf9Ct5W{display:flex;align-items:center;justify-content:space-between;padding-left:100px;padding-right:100px;border-bottom:2px solid #d9d9d9;background-color:var(--body-background)}.uY6JrQynwy0ON9TjPs9S,.mWBOHF5FlXiphmf6967i{display:flex;align-items:center;justify-content:space-between;gap:14px}.cWStqWIQeXVICFX8MzJ8{display:flex;align-items:center;gap:2.5rem}.DGkFHK2RJ8RgNTQ8p58t{display:none}@media(max-width: 90rem){.DEpEvFXm0ho8aaf9Ct5W{padding-left:3.125rem;padding-right:3.125rem}}@media(max-width: 28.75rem){.DEpEvFXm0ho8aaf9Ct5W{padding-left:1.25rem;padding-right:1.25rem}}@media(max-width: 37.5rem){.NdvOIQqpge4Ogb5aBji6{display:none}.cWStqWIQeXVICFX8MzJ8{gap:1.25rem}} + +.vSd8sJ2l5JdlM1J5ELou{background-color:var(--body-background);width:320px;border-radius:6px}.qpSwKPerbJBQaUfGYFBb{transform:rotate(45deg);align-self:flex-start;cursor:pointer;font-size:30px;color:gray}.C7RfzsLO7t_s8h7aLZKM{padding:20px}.TVLlqh7B9xc5PCiJHdSN{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:20px}.jvkUqQCEHdw8vs5N89Jw{display:flex;align-items:center;gap:10px}.M8COpvLv8d_P4sJ6brKe{list-style:none;padding:0;margin:0}.mdYOUscRiNZi7gbQSbht{display:block;padding:10px 0;text-decoration:none}.mdYOUscRiNZi7gbQSbht:hover{background-color:#f0f0f0}.mdYOUscRiNZi7gbQSbht:hover{color:#518581} +.YCV5wMKgJsPz78jGpiPF{position:fixed;top:0;height:100%;z-index:1001;right:-360px;transition:.5s}.iNeyc0vAcuEEDq_hmTR4{display:flex;align-items:center;gap:10px}.Rh0MzRYOKU5jOig4jHwE{right:0}.L3K_ADVb86xa37IjdBzt{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:1000}.PqSzW6rs0IDgW20eKfVk{display:none} +.KSjUh4GhWxaLniZGySEa{max-width:1440px;margin:0 auto;min-height:100vh}.KF6pB8gk0zrXz_ylFpWn{background-color:var(--body-background)}.lMygak1Ek_sVOG4Syo_Q{background-color:var(--background-accent)} +@font-face{font-family:"Roboto";src:url(../a25806274237d06e00a6.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"Roboto";src:url(../fc0337b9cf1cce2e6e1e.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:"Roboto";src:url(../6cd35edfbc0d7a417131.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}html,body{font-family:"Roboto";margin:0;padding:0}*{padding:0;box-sizing:border-box}button{background:none;border:none}.link{text-decoration:none;color:#000}.noMarginText{margin:0}.flex-container{margin-left:100px;margin-right:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:1440px}.container{margin-left:100px;margin-right:100px;margin-top:0;max-width:1440px}.form{text-align:center;background-color:var(--card-background);border-radius:6px;padding:24px 100px;border:1px solid #d9d9d9}@media(max-width: 720px){.form{padding:24px 30px}}@media(max-width: 90rem){.flex-container,.container{margin-left:3.125rem;margin-right:3.125rem}}@media(max-width: 28.75rem){.flex-container,.container{margin-left:1.25rem;margin-right:1.25rem}} +:root{--body-background-light: #f6f8fa;--background-accent-light: #ffffff;--card-background-light: #ffffff;--text-primary-light: #000000;--input-bg-light: #ffffff;--body-background-dark: #222521;--background-accent-dark: #30342e;--card-background-dark: #363c33;--text-primary-dark: #e0eee1;--input-bg-dark: #151714}[data-theme=light]{--body-background: var(--body-background-light);--background-accent: var(--background-accent-light);--card-background: var(--card-background-light);--text-primary: var(--text-primary-light);--input-bg: var(--input-bg-light)}[data-theme=dark]{--body-background: var(--body-background-dark);--background-accent: var(--background-accent-dark);--text-primary: var(--text-primary-dark);--card-background: var(--card-background-dark);--input-bg: var(--input-bg-dark)} diff --git a/build/d4001b01be80f1503bb5.svg b/build/d4001b01be80f1503bb5.svg new file mode 100644 index 0000000..619fc83 --- /dev/null +++ b/build/d4001b01be80f1503bb5.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/dist/assets/Roboto-Medium--cGQoWUT.woff2 b/build/fc0337b9cf1cce2e6e1e.woff2 similarity index 100% rename from dist/assets/Roboto-Medium--cGQoWUT.woff2 rename to build/fc0337b9cf1cce2e6e1e.woff2 diff --git a/build/index.html b/build/index.html new file mode 100644 index 0000000..e864dc3 --- /dev/null +++ b/build/index.html @@ -0,0 +1 @@ +Github Client
\ No newline at end of file diff --git a/build/main.89547ac4772b53d6d648.js b/build/main.89547ac4772b53d6d648.js new file mode 100644 index 0000000..41957b6 --- /dev/null +++ b/build/main.89547ac4772b53d6d648.js @@ -0,0 +1,2 @@ +/*! For license information please see main.89547ac4772b53d6d648.js.LICENSE.txt */ +(()=>{var e={76:e=>{"use strict";e.exports=Function.prototype.call},251:(e,t)=>{t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<>1,c=-7,f=n?o-1:0,h=n?-1:1,d=e[t+f];for(f+=h,i=d&(1<<-c)-1,d>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=h,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=h,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=u}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,u=8*i-o-1,c=(1<>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?h/l:h*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&s,d+=p,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=p,a/=256,u-=8);e[n+d-p]|=128*g}},414:e=>{"use strict";e.exports=Math.round},453:(e,t,n)=>{"use strict";var r,o=n(9612),i=n(9383),a=n(1237),s=n(9290),l=n(9538),u=n(8068),c=n(9675),f=n(5345),h=n(1514),d=n(8968),p=n(6188),g=n(8002),m=n(5880),y=n(414),v=n(3093),b=Function,w=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},_=n(5795),S=n(655),k=function(){throw new c},x=_?function(){try{return k}catch(e){try{return _(arguments,"callee").get}catch(e){return k}}}():k,E=n(4039)(),O=n(3628),P=n(1064),C=n(8648),T=n(1002),A=n(76),I={},j="undefined"!=typeof Uint8Array&&O?O(Uint8Array):r,R={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":E&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":I,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&O?O(O([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&E&&O?O((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&E&&O?O((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&O?O(""[Symbol.iterator]()):r,"%Symbol%":E?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":x,"%TypedArray%":j,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":A,"%Function.prototype.apply%":T,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":P,"%Math.abs%":h,"%Math.floor%":d,"%Math.max%":p,"%Math.min%":g,"%Math.pow%":m,"%Math.round%":y,"%Math.sign%":v,"%Reflect.getPrototypeOf%":C};if(O)try{null.error}catch(e){var L=O(O(e));R["%Error.prototype%"]=L}var N=function e(t){var n;if("%AsyncFunction%"===t)n=w("async function () {}");else if("%GeneratorFunction%"===t)n=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=w("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&O&&(n=O(o.prototype))}return R[t]=n,n},D={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},M=n(6743),F=n(9957),B=M.call(A,Array.prototype.concat),U=M.call(T,Array.prototype.splice),z=M.call(A,String.prototype.replace),V=M.call(A,String.prototype.slice),H=M.call(A,RegExp.prototype.exec),$=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,G=function(e,t){var n,r=e;if(F(D,r)&&(r="%"+(n=D[r])[0]+"%"),F(R,r)){var o=R[r];if(o===I&&(o=N(r)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===H(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=V(e,0,1),n=V(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return z(e,$,(function(e,t,n,o){r[r.length]=n?z(o,W,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=G("%"+r+"%",t),i=o.name,a=o.value,s=!1,l=o.alias;l&&(r=l[0],U(n,B([0,1],l)));for(var f=1,h=!0;f=n.length){var m=_(a,d);a=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:a[d]}else h=F(a,d),a=a[d];h&&!s&&(R[i]=a)}}return a}},507:(e,t,n)=>{"use strict";var r=n(453),o=n(6556),i=n(8859),a=n(9675),s=r("%Map%",!0),l=o("Map.prototype.get",!0),u=o("Map.prototype.set",!0),c=o("Map.prototype.has",!0),f=o("Map.prototype.delete",!0),h=o("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){if(e){var n=f(e,t);return 0===h(e)&&(e=void 0),n}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,n){e||(e=new s),u(e,t,n)}};return t}},655:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},920:(e,t,n)=>{"use strict";var r=n(9675),o=n(8859),i=n(4803),a=n(507),s=n(2271)||a||i;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(6221)},1002:e=>{"use strict";e.exports=Function.prototype.apply},1064:(e,t,n)=>{"use strict";var r=n(9612);e.exports=r.getPrototypeOf||null},1133:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n};var o=r(n(9788))},1237:e=>{"use strict";e.exports=EvalError},1247:(e,t,n)=>{"use strict";var r=n(9982),o=n(6540),i=n(961);function a(e){var t="https://react.dev/errors/"+e;if(1)":-1--o||l[r]!==u[o]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{j=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?I(n):""}function L(e){switch(e.tag){case 26:case 27:case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 15:return R(e.type,!1);case 11:return R(e.type.render,!1);case 1:return R(e.type,!0);default:return""}}function N(e){try{var t="";do{t+=L(e),e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function D(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function M(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function F(e){if(D(e)!==e)throw Error(a(188))}function B(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=B(e)))return t;e=e.sibling}return null}var U=Array.isArray,z=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},H=[],$=-1;function W(e){return{current:e}}function G(e){0>$||(e.current=H[$],H[$]=null,$--)}function q(e,t){$++,H[$]=e.current,e.current=t}var K=W(null),J=W(null),Q=W(null),Y=W(null);function X(e,t){switch(q(Q,t),q(J,e),q(K,null),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?Jc(t):0;break;default:if(t=(e=8===e?t.parentNode:t).tagName,e=e.namespaceURI)t=Qc(e=Jc(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}G(K),q(K,t)}function Z(){G(K),G(J),G(Q)}function ee(e){null!==e.memoizedState&&q(Y,e);var t=K.current,n=Qc(t,e.type);t!==n&&(q(J,e),q(K,n))}function te(e){J.current===e&&(G(K),G(J)),Y.current===e&&(G(Y),Df._currentValue=V)}var ne=Object.prototype.hasOwnProperty,re=r.unstable_scheduleCallback,oe=r.unstable_cancelCallback,ie=r.unstable_shouldYield,ae=r.unstable_requestPaint,se=r.unstable_now,le=r.unstable_getCurrentPriorityLevel,ue=r.unstable_ImmediatePriority,ce=r.unstable_UserBlockingPriority,fe=r.unstable_NormalPriority,he=r.unstable_LowPriority,de=r.unstable_IdlePriority,pe=r.log,ge=r.unstable_setDisableYieldValue,me=null,ye=null;function ve(e){if("function"==typeof pe&&ge(e),ye&&"function"==typeof ye.setStrictMode)try{ye.setStrictMode(me,e)}catch(e){}}var be=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(we(e)/_e|0)|0},we=Math.log,_e=Math.LN2,Se=128,ke=4194304;function xe(e){var t=42&e;if(0!==t)return t;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:return 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 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ee(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=e.warmLanes;e=0!==e.finishedLanes;var s=134217727&n;return 0!==s?0!=(n=s&~o)?r=xe(n):0!=(i&=s)?r=xe(i):e||0!=(a=s&~a)&&(r=xe(a)):0!=(s=n&~o)?r=xe(s):0!==i?r=xe(i):e||0!=(a=n&~a)&&(r=xe(a)),0===r?0:0===t||t===r||t&o||!((o=r&-r)>=(a=t&-t)||32===o&&4194176&a)?r:t}function Oe(e,t){return!(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Pe(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 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 t+5e3;default:return-1}}function Ce(){var e=Se;return!(4194176&(Se<<=1))&&(Se=128),e}function Te(){var e=ke;return!(62914560&(ke<<=1))&&(ke=4194304),e}function Ae(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ie(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function je(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-be(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194218&n}function Re(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-be(n),o=1<=_n),xn=String.fromCharCode(32),En=!1;function On(e,t){switch(e){case"keyup":return-1!==bn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Cn=!1,Tn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function An(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Tn[e.type]:"textarea"===t}function In(e,t,n,r){It?jt?jt.push(r):jt=[r]:It=r,0<(t=Nc(t,"onChange")).length&&(n=new Yt("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var jn=null,Rn=null;function Ln(e){Pc(e,0)}function Nn(e){if(ft(Ke(e)))return e}function Dn(e,t){if("change"===e)return t}var Mn=!1;if(tt){var Fn;if(tt){var Bn="oninput"in document;if(!Bn){var Un=document.createElement("div");Un.setAttribute("oninput","return;"),Bn="function"==typeof Un.oninput}Fn=Bn}else Fn=!1;Mn=Fn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Jn(r)}}function Yn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Yn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Xn(e){for(var t=ht((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=ht((e=t.contentWindow).document)}return t}function Zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function er(e,t){var n=Xn(t);t=e.focusedElem;var r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Yn(t.ownerDocument.documentElement,t)){if(null!==r&&Zn(t))if(e=r.start,void 0===(n=r.end)&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if((n=(e=t.ownerDocument||document)&&e.defaultView||window).getSelection){n=n.getSelection();var o=t.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!n.extend&&i>r&&(o=r,r=i,i=o),o=Qn(t,i);var a=Qn(t,r);o&&a&&(1!==n.rangeCount||n.anchorNode!==o.node||n.anchorOffset!==o.offset||n.focusNode!==a.node||n.focusOffset!==a.offset)&&((e=e.createRange()).setStart(o.node,o.offset),n.removeAllRanges(),i>r?(n.addRange(e),n.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),n.addRange(e)))}for(e=[],n=t;n=n.parentNode;)1===n.nodeType&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t=document.documentMode,nr=null,rr=null,or=null,ir=!1;function ar(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ir||null==nr||nr!==ht(r)||(r="selectionStart"in(r=nr)&&Zn(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},or&&Kn(or,r)||(or=r,0<(r=Nc(rr,"onSelect")).length&&(t=new Yt("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nr)))}function sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var lr={animationend:sr("Animation","AnimationEnd"),animationiteration:sr("Animation","AnimationIteration"),animationstart:sr("Animation","AnimationStart"),transitionrun:sr("Transition","TransitionRun"),transitionstart:sr("Transition","TransitionStart"),transitioncancel:sr("Transition","TransitionCancel"),transitionend:sr("Transition","TransitionEnd")},ur={},cr={};function fr(e){if(ur[e])return ur[e];if(!lr[e])return e;var t,n=lr[e];for(t in n)if(n.hasOwnProperty(t)&&t in cr)return ur[e]=n[t];return e}tt&&(cr=document.createElement("div").style,"AnimationEvent"in window||(delete lr.animationend.animation,delete lr.animationiteration.animation,delete lr.animationstart.animation),"TransitionEvent"in window||delete lr.transitionend.transition);var hr=fr("animationend"),dr=fr("animationiteration"),pr=fr("animationstart"),gr=fr("transitionrun"),mr=fr("transitionstart"),yr=fr("transitioncancel"),vr=fr("transitionend"),br=new Map,wr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function _r(e,t){br.set(e,t),Ze(t,[e])}var Sr=[],kr=0,xr=0;function Er(){for(var e=kr,t=xr=kr=0;t>=a,o-=a,zr=1<<32-be(t)+o|n<h?(d=f,f=null):d=f.sibling;var p=y(o,f,s[h],l);if(null===p){null===f&&(f=d);break}e&&f&&null===p.alternate&&t(o,f),a=i(p,a,h),null===c?u=p:c.sibling=p,c=p,f=d}if(h===s.length)return n(o,f),Jr&&Hr(o,h),u;if(null===f){for(;hd?(p=h,h=null):p=h.sibling;var b=y(o,h,g.value,u);if(null===b){null===h&&(h=p);break}e&&h&&null===b.alternate&&t(o,h),s=i(b,s,d),null===f?c=b:f.sibling=b,f=b,h=p}if(g.done)return n(o,h),Jr&&Hr(o,d),c;if(null===h){for(;!g.done;d++,g=l.next())null!==(g=m(o,g.value,u))&&(s=i(g,s,d),null===f?c=g:f.sibling=g,f=g);return Jr&&Hr(o,d),c}for(h=r(h);!g.done;d++,g=l.next())null!==(g=v(h,o,d,g.value,u))&&(e&&null!==g.alternate&&h.delete(null===g.key?d:g.key),s=i(g,s,d),null===f?c=g:f.sibling=g,f=g);return e&&h.forEach((function(e){return t(o,e)})),Jr&&Hr(o,d),c}(f,h,d=_.call(d),p)}if("function"==typeof d.then)return b(f,h,mo(d),p);if(d.$$typeof===g)return b(f,h,Es(f,d),p);vo(f,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==h&&6===h.tag?(n(f,h.sibling),(p=o(h,d)).return=f,f=p):(n(f,h),(p=zl(d,f.mode,p)).return=f,f=p),s(f)):n(f,h)}return function(e,t,n,r){try{go=0;var o=b(e,t,n,r);return po=null,o}catch(t){if(t===io)throw t;var i=Ll(29,t,null,e.mode);return i.lanes=r,i.return=e,i}}}var _o=wo(!0),So=wo(!1),ko=W(null),xo=W(0);function Eo(e,t){q(xo,e=lu),q(ko,t),lu=e|t.baseLanes}function Oo(){q(xo,lu),q(ko,ko.current)}function Po(){lu=xo.current,G(ko),G(xo)}var Co=W(null),To=null;function Ao(e){var t=e.alternate;q(Lo,1&Lo.current),q(Co,e),null===To&&(null===t||null!==ko.current||null!==t.memoizedState)&&(To=e)}function Io(e){if(22===e.tag){if(q(Lo,Lo.current),q(Co,e),null===To){var t=e.alternate;null!==t&&null!==t.memoizedState&&(To=e)}}else jo()}function jo(){q(Lo,Lo.current),q(Co,Co.current)}function Ro(e){G(Co),To===e&&(To=null),G(Lo)}var Lo=W(0);function No(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Do="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach((function(e){return e()}))}},Mo=r.unstable_scheduleCallback,Fo=r.unstable_NormalPriority,Bo={$$typeof:g,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Uo(){return{controller:new Do,data:new Map,refCount:0}}function zo(e){e.refCount--,0===e.refCount&&Mo(Fo,(function(){e.controller.abort()}))}var Vo=null,Ho=0,$o=0,Wo=null;function Go(){if(0==--Ho&&null!==Vo){null!==Wo&&(Wo.status="fulfilled");var e=Vo;Vo=null,$o=0,Wo=null;for(var t=0;ti?i:8;var a,s,l,u=T.T,c={};T.T=c,wa(e,!1,t,n);try{var f=o(),h=T.S;null!==h&&h(c,f),null!==f&&"object"==typeof f&&"function"==typeof f.then?ba(e,t,(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},f.then((function(){l.status="fulfilled",l.value=a;for(var e=0;e title"))),Wc(i,r,n),i[Me]=e,Qe(i),r=i;break e;case"link":var s=Pf("link","href",o).get(r+(n.href||""));if(s)for(var l=0;l<\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?o.createElement(n,{is:r.is}):o.createElement(n)}}e[Me]=t,e[Fe]=r;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)e.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(Wc(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Hl(t)}}return ql(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Hl(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(e=Q.current,no(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=qr))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[Me]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||zc(e.nodeValue,n)))||Zr(t)}else(e=Kc(e).createTextNode(r))[Me]=t,t.stateNode=e}return ql(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=no(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(a(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(a(317));o[Me]=t}else ro(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ql(t),o=!1}else null!==Qr&&(Ru(Qr),Qr=null),o=!0;if(!o)return 256&t.flags?(Ro(t),t):(Ro(t),null)}if(Ro(t),128&t.flags)return t.lanes=n,t;if(n=null!==r,e=null!==e&&null!==e.memoizedState,n){o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool);var i=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(i=r.memoizedState.cachePool.pool),i!==o&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),Wl(t,t.updateQueue),ql(t),null;case 4:return Z(),null===e&&Ic(t.stateNode.containerInfo),ql(t),null;case 10:return vs(t.type),ql(t),null;case 19:if(G(Lo),null===(o=t.memoizedState))return ql(t),null;if(r=!!(128&t.flags),null===(i=o.rendering))if(r)Gl(o,!1);else{if(0!==uu||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=No(e))){for(t.flags|=128,Gl(o,!1),e=i.updateQueue,t.updateQueue=e,Wl(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Ml(n,e),n=n.sibling;return q(Lo,1&Lo.current|2),t.child}e=e.sibling}null!==o.tail&&se()>bu&&(t.flags|=128,r=!0,Gl(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=No(i))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Wl(t,e),Gl(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!Jr)return ql(t),null}else 2*se()-o.renderingStartTime>bu&&536870912!==n&&(t.flags|=128,r=!0,Gl(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=o.last)?e.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=se(),t.sibling=null,e=Lo.current,q(Lo,r?1&e|2:1&e),t):(ql(t),null);case 22:case 23:return Ro(t),Po(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(ql(t),6&t.subtreeFlags&&(t.flags|=8192)):ql(t),null!==(n=t.updateQueue)&&Wl(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&G(Ko),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),vs(Bo),ql(t),null;case 25:return null}throw Error(a(156,t.tag))}function Jl(e,t){switch(Gr(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return vs(Bo),Z(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return te(t),null;case 13:if(Ro(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ro()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return G(Lo),null;case 4:return Z(),null;case 10:return vs(t.type),null;case 22:case 23:return Ro(t),Po(),null!==e&&G(Ko),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return vs(Bo),null;default:return null}}function Ql(e,t){switch(Gr(t),t.tag){case 3:vs(Bo),Z();break;case 26:case 27:case 5:te(t);break;case 4:Z();break;case 13:Ro(t);break;case 19:G(Lo);break;case 10:vs(t.type);break;case 22:case 23:Ro(t),Po(),null!==e&&G(Ko);break;case 24:vs(Bo)}}var Yl={getCacheForType:function(e){var t=xs(Bo),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},Xl="function"==typeof WeakMap?WeakMap:Map,Zl=0,eu=null,tu=null,nu=0,ru=0,ou=null,iu=!1,au=!1,su=!1,lu=0,uu=0,cu=0,fu=0,hu=0,du=0,pu=0,gu=null,mu=null,yu=!1,vu=0,bu=1/0,wu=null,_u=null,Su=!1,ku=null,xu=0,Eu=0,Ou=null,Pu=0,Cu=null;function Tu(){return 2&Zl&&0!==nu?nu&-nu:null!==T.T?0!==$o?$o:wc():Ne()}function Au(){0===du&&(du=536870912&nu&&!Jr?536870912:Ce());var e=Co.current;return null!==e&&(e.flags|=32),du}function Iu(e,t,n){(e===eu&&2===ru||null!==e.cancelPendingCommit)&&(Bu(e,0),Du(e,nu,du,!1)),Ie(e,n),2&Zl&&e===eu||(e===eu&&(!(2&Zl)&&(fu|=n),4===uu&&Du(e,nu,du,!1)),pc(e))}function ju(e,t,n){if(6&Zl)throw Error(a(327));for(var r=!n&&!(60&t)&&!(t&e.expiredLanes)||Oe(e,t),o=r?function(e,t){var n=Zl;Zl|=2;var r=zu(),o=Vu();eu!==e||nu!==t?(wu=null,bu=se()+500,Bu(e,t)):au=Oe(e,t);e:for(;;)try{if(0!==ru&&null!==tu){t=tu;var i=ou;t:switch(ru){case 1:ru=0,ou=null,Ju(e,t,i,1);break;case 2:if(lo(i)){ru=0,ou=null,Ku(t);break}t=function(){2===ru&&eu===e&&(ru=7),pc(e)},i.then(t,t);break e;case 3:ru=7;break e;case 4:ru=5;break e;case 7:lo(i)?(ru=0,ou=null,Ku(t)):(ru=0,ou=null,Ju(e,t,i,7));break;case 5:var s=null;switch(tu.tag){case 26:s=tu.memoizedState;case 5:case 27:var l=tu;if(!s||Tf(s)){ru=0,ou=null;var u=l.sibling;if(null!==u)tu=u;else{var c=l.return;null!==c?(tu=c,Qu(c)):tu=null}break t}}ru=0,ou=null,Ju(e,t,i,5);break;case 6:ru=0,ou=null,Ju(e,t,i,6);break;case 8:Fu(),uu=6;break e;default:throw Error(a(462))}}Gu();break}catch(t){Uu(e,t)}return ms=gs=null,T.H=r,T.A=o,Zl=n,null!==tu?0:(eu=null,nu=0,Er(),uu)}(e,t):$u(e,t,!0),i=r;;){if(0===o){au&&!r&&Du(e,t,0,!1);break}if(6===o)Du(e,t,0,!iu);else{if(n=e.current.alternate,i&&!Nu(n)){o=$u(e,t,!1),i=!1;continue}if(2===o){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=0!=(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=gu;var u=l.current.memoizedState.isDehydrated;if(u&&(Bu(l,s).flags|=256),2!==(s=$u(l,s,!1))){if(su&&!u){l.errorRecoveryDisabledLanes|=i,fu|=i,o=4;break e}i=mu,mu=o,null!==i&&Ru(i)}o=s}if(i=!1,2!==o)continue}}if(1===o){Bu(e,0),Du(e,t,0,!0);break}e:{switch(r=e,o){case 0:case 1:throw Error(a(345));case 4:if((4194176&t)===t){Du(r,t,du,!iu);break e}break;case 2:mu=null;break;case 3:case 5:break;default:throw Error(a(329))}if(r.finishedWork=n,r.finishedLanes=t,(62914560&t)===t&&10<(i=vu+300-se())){if(Du(r,t,du,!iu),0!==Ee(r,0))break e;r.timeoutHandle=Zc(Lu.bind(null,r,n,mu,wu,yu,t,du,fu,pu,iu,2,-0,0),i)}else Lu(r,n,mu,wu,yu,t,du,fu,pu,iu,0,-0,0)}}break}pc(e)}function Ru(e){null===mu?mu=e:mu.push.apply(mu,e)}function Lu(e,t,n,r,o,i,s,l,u,c,f,h,d){var p=t.subtreeFlags;if((8192&p||!(16785408&~p))&&(Af={stylesheets:null,count:0,unsuspend:If},Pl(t),null!==(t=function(){if(null===Af)throw Error(a(475));var e=Af;return e.stylesheets&&0===e.count&&Lf(e,e.stylesheets),0n?32:n,T.T=null,null===ku)var i=!1;else{n=Ou,Ou=null;var s=ku,l=xu;if(ku=null,xu=0,6&Zl)throw Error(a(331));var u=Zl;if(Zl|=4,Al(s.current),Sl(s,s.current,l,n),Zl=u,gc(0,!1),ye&&"function"==typeof ye.onPostCommitFiberRoot)try{ye.onPostCommitFiberRoot(me,s)}catch(e){}i=!0}return i}finally{z.p=o,T.T=r,Zu(e,t)}}return!1}function tc(e,t,n){t=Rr(n,t),null!==(e=Is(e,t=Ba(e.stateNode,t,2),2))&&(Ie(e,2),pc(e))}function nc(e,t,n){if(3===e.tag)tc(e,e,n);else for(;null!==t;){if(3===t.tag){tc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===_u||!_u.has(r))){e=Rr(n,e),null!==(r=Is(t,n=Ua(2),2))&&(za(n,r,t,e),Ie(r,2),pc(r));break}}t=t.return}}function rc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Xl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(su=!0,o.add(n),e=oc.bind(null,e,t,n),t.then(e,e))}function oc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,eu===e&&(nu&n)===n&&(4===uu||3===uu&&(62914560&nu)===nu&&300>se()-vu?!(2&Zl)&&Bu(e,0):hu|=n,pu===nu&&(pu=0)),pc(e)}function ic(e,t){0===t&&(t=Te()),null!==(e=Cr(e,t))&&(Ie(e,t),pc(e))}function ac(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ic(e,n)}function sc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}null!==r&&r.delete(t),ic(e,n)}var lc=null,uc=null,cc=!1,fc=!1,hc=!1,dc=0;function pc(e){var t;e!==uc&&null===e.next&&(null===uc?lc=uc=e:uc=uc.next=e),fc=!0,cc||(cc=!0,t=mc,nf((function(){6&Zl?re(ue,t):t()})))}function gc(e,t){if(!hc&&fc){hc=!0;do{for(var n=!1,r=lc;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var i=0;else{var a=r.suspendedLanes,s=r.pingedLanes;i=(1<<31-be(42|e)+1)-1,i=201326677&(i&=o&~(a&~s))?201326677&i|1:i?2|i:0}0!==i&&(n=!0,bc(r,i))}else i=nu,!(3&(i=Ee(r,r===eu?i:0)))||Oe(r,i)||(n=!0,bc(r,i));r=r.next}}while(n);hc=!1}}function mc(){fc=cc=!1;var e,t=0;0!==dc&&(((e=window.event)&&"popstate"===e.type?e!==Xc&&(Xc=e,!0):(Xc=null,!1))&&(t=dc),dc=0);for(var n=se(),r=null,o=lc;null!==o;){var i=o.next,a=yc(o,n);0===a?(o.next=null,null===r?lc=i:r.next=i,null===i&&(uc=r)):(r=o,(0!==t||3&a)&&(fc=!0)),o=i}gc(t,!1)}function yc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=-62914561&e.pendingLanes;0 title"):null)}function Tf(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Af=null;function If(){}function jf(){if(this.count--,0===this.count)if(this.stylesheets)Lf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Rf=null;function Lf(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Rf=new Map,t.forEach(Nf,e),Rf=null,jf.call(e))}function Nf(e,t){if(!(4&t.state.loading)){var n=Rf.get(e);if(n)var r=n.get(null);else{n=new Map,Rf.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},1514:e=>{"use strict";e.exports=Math.abs},2271:(e,t,n)=>{"use strict";var r=n(453),o=n(6556),i=n(8859),a=n(507),s=n(9675),l=r("%WeakMap%",!0),u=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),h=o("WeakMap.prototype.delete",!0);e.exports=l?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+i(e))},delete:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return h(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return l&&n&&("object"==typeof n||"function"==typeof n)&&e?u(e,n):t&&t.get(n)},has:function(n){return l&&n&&("object"==typeof n||"function"==typeof n)&&e?f(e,n):!!t&&t.has(n)},set:function(n,r){l&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new l),c(e,n,r)):a&&(t||(t=a()),t.set(n,r))}};return n}:a},2634:()=>{},2642:(e,t,n)=>{"use strict";var r=n(7720),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},u=function(e,t,n,i){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,u=n.depth>0&&/(\[[^[\]]*])/.exec(a),c=u?a.slice(0,u.index):a,f=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;f.push(c)}for(var h=0;n.depth>0&&null!==(u=s.exec(a))&&h0&&"[]"===e[e.length-1]){var a=e.slice(0,-1).join("");i=Array.isArray(t)&&t[a]?t[a].length:0}for(var s=o?t:l(t,n,i),u=e.length-1;u>=0;--u){var c,f=e[u];if("[]"===f&&n.parseArrays)c=n.allowEmptyArrays&&(""===s||n.strictNullHandling&&null===s)?[]:r.combine([],s);else{c=n.plainObjects?{__proto__:null}:{};var h="["===f.charAt(0)&&"]"===f.charAt(f.length-1)?f.slice(1,-1):f,d=n.decodeDotInKeys?h.replace(/%2E/g,"."):h,p=parseInt(d,10);n.parseArrays||""!==d?!isNaN(p)&&f!==d&&String(p)===d&&p>=0&&n.parseArrays&&p<=n.arrayLimit?(c=[])[p]=s:"__proto__"!==d&&(c[d]=s):c={0:s}}s=c}return s}(f,t,n,i)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return n.plainObjects?{__proto__:null}:{};for(var c="string"==typeof e?function(e,t){var n={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;u=u.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,t.throwOnLimitExceeded?c+1:c);if(t.throwOnLimitExceeded&&f.length>c)throw new RangeError("Parameter limit exceeded. Only "+c+" parameter"+(1===c?"":"s")+" allowed.");var h,d=-1,p=t.charset;if(t.charsetSentinel)for(h=0;h-1&&(m=i(m)?[m]:m);var w=o.call(n,g);w&&"combine"===t.duplicates?n[g]=r.combine(n[g],m):w&&"last"!==t.duplicates||(n[g]=m)}return n}(e,n):e,f=n.plainObjects?{__proto__:null}:{},h=Object.keys(c),d=0;d{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,f=arguments[0],h=1,d=arguments.length,p=!1;for("boolean"==typeof f&&(p=f,f=arguments[1]||{},h=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});h{"use strict";var r=n(4459);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},3126:(e,t,n)=>{"use strict";var r=n(6743),o=n(9675),i=n(76),a=n(3144);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return a(r,i,e)}},3144:(e,t,n)=>{"use strict";var r=n(6743),o=n(1002),i=n(76),a=n(7119);e.exports=a||r.call(i,o)},3628:(e,t,n)=>{"use strict";var r=n(8648),o=n(1064),i=n(7176);e.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},4039:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(1333);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},4459:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},4477:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,o=e[r];if(!(0>>1;ri(l,n))ui(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(ui(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],f=1,h=null,d=3,p=!1,g=!1,m=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function _(e){if(m=!1,w(e),!g)if(null!==r(u))g=!0,I();else{var t=r(c);null!==t&&j(_,t.startTime-e)}}var S,k=!1,x=-1,E=5,O=-1;function P(){return!(t.unstable_now()-Oe&&P());){var a=h.callback;if("function"==typeof a){h.callback=null,d=h.priorityLevel;var s=a(h.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){h.callback=s,w(e),n=!0;break t}h===r(u)&&o(u),w(e)}else o(u);h=r(u)}if(null!==h)n=!0;else{var l=r(c);null!==l&&j(_,l.startTime-e),n=!1}}break e}finally{h=null,d=i,p=!1}n=void 0}}finally{n?S():k=!1}}}if("function"==typeof b)S=function(){b(C)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,A=T.port2;T.port1.onmessage=C,S=function(){A.postMessage(null)}}else S=function(){y(C,0)};function I(){k||(k=!0,S())}function j(e,n){x=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||p||(g=!0,I())},t.unstable_forceFrameRate=function(e){0>e||125a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(m?(v(x),x=-1):m=!0,j(_,i-a))):(e.sortIndex=s,n(u,e),g||p||(g=!0,I())),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}},4765:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},4803:(e,t,n)=>{"use strict";var r=n(8859),o=n(9675),i=function(e,t,n){for(var r,o=e;null!=(r=o.next);o=r)if(r.key===t)return o.next=r.next,n||(r.next=e.next,e.next=r),r};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){var n=e&&e.next,r=function(e,t){if(e)return i(e,t,!0)}(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return function(e,t){if(e){var n=i(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!i(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},4848:(e,t,n)=>{"use strict";e.exports=n(9698)},5229:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(1133)),o=n(8917);function i(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)})),n):n}i.default=i,e.exports=i},5338:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(1247)},5345:e=>{"use strict";e.exports=URIError},5373:(e,t,n)=>{"use strict";var r=n(8636),o=n(2642),i=n(4765);e.exports={formats:i,parse:o,stringify:r}},5795:(e,t,n)=>{"use strict";var r=n(6549);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},5880:e=>{"use strict";e.exports=Math.pow},6188:e=>{"use strict";e.exports=Math.max},6221:(e,t,n)=>{"use strict";var r=n(6540);function o(e){var t="https://react.dev/errors/"+e;if(1{"use strict";e.exports=n(9869)},6549:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},6556:(e,t,n)=>{"use strict";var r=n(453),o=n(3126),i=o([r("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o([n]):n}},6743:(e,t,n)=>{"use strict";var r=n(9353);e.exports=Function.prototype.bind||r},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},7176:(e,t,n)=>{"use strict";var r,o=n(3126),i=n(5795);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!r&&i&&i(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},7526:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=s(e),a=i[0],l=i[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),c=0,f=l>0?a-4:a;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,u=r-o;su?u:s+a));return 1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var o,i,a=[],s=t;s>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},7720:(e,t,n)=>{"use strict";var r=n(4765),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=l?s.slice(c,c+l):s,h=[],d=0;d=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===r.RFC1738&&(40===p||41===p)?h[h.length]=f.charAt(d):p<128?h[h.length]=a[p]:p<2048?h[h.length]=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?h[h.length]=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(d+=1,p=65536+((1023&p)<<10|1023&f.charCodeAt(d)),h[h.length]=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}u+=h.join("")}return u},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r{"use strict";e.exports=Math.min},8068:e=>{"use strict";e.exports=SyntaxError},8232:(e,t)=>{"use strict";Object.prototype.toString},8287:(e,t,n)=>{"use strict";const r=n(7526),o=n(251),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=l,t.IS=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let r=s(n);const o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(J(e,Uint8Array)){const t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(J(e,ArrayBuffer)||e&&J(e.buffer,ArrayBuffer))return d(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(J(e,SharedArrayBuffer)||e&&J(e.buffer,SharedArrayBuffer)))return d(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);const o=function(e){if(l.isBuffer(e)){const t=0|p(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||Q(e.length)?s(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return c(e),s(e<0?0:0|p(e))}function h(e){const t=e.length<0?0:0|p(e.length),n=s(t);for(let r=0;r=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||J(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(e).length;default:if(o)return r?-1:G(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Q(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){let i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let r=-1;for(i=n;is&&(n=s-l),i=n;i>=0;i--){let n=!0;for(let r=0;ro&&(r=o):r=o;const i=t.length;let a;for(r>i/2&&(r=i/2),a=0;a>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function O(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(i=t);break;case 2:n=e[o+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(i=l));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(i=l))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){const t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rr.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,o){if(J(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(i,a),u=this.slice(r,o),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":case"latin1":case"binary":return S(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const P=4096;function C(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;or)&&(n=r);let o="";for(let r=t;rn)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function L(e,t,n,r,o){V(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function N(e,t,n,r,o){V(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function D(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,i){return t=+t,n>>>=0,i||D(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,i){return t=+t,n>>>=0,i||D(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||j(e,t,this.length);let r=this[e],o=1,i=0;for(;++i>>=0,t>>>=0,n||j(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=X((function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||j(e,t,this.length);let r=this[e],o=1,i=0;for(;++i=o&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||j(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||j(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=X((function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||j(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||R(this,e,t,n,Math.pow(2,8*n)-1,0);let o=1,i=0;for(this[t]=255&e;++i>>=0,n>>>=0,r||R(this,e,t,n,Math.pow(2,8*n)-1,0);let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=X((function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=X((function(e,t=0){return N(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let o=0,i=1,a=0;for(this[t]=255&e;++o>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let o=n-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i|0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=X((function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=X((function(e,t=0){return N(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function V(e,t,n,r,o,i){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new B.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){H(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||$(t,e.length-(n+1))}(r,o,i)}function H(e,t){if("number"!=typeof e)throw new B.ERR_INVALID_ARG_TYPE(t,"number",e)}function $(e,t,n){if(Math.floor(e)!==e)throw H(e,n),new B.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new B.ERR_BUFFER_OUT_OF_BOUNDS;throw new B.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}U("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),U("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),U("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=z(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=z(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function G(e,t){let n;t=t||1/0;const r=e.length;let o=null;const i=[];for(let a=0;a55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function q(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,n,r){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function J(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}const Y=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function X(e){return"undefined"==typeof BigInt?Z:e}function Z(){throw new Error("BigInt not supported")}},8493:(e,t,n)=>{"use strict";var r=n(6540),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return s((function(){o.value=n,o.getSnapshot=t,u(o)&&c({inst:o})}),[e,n,t]),a((function(){return u(o)&&c({inst:o}),e((function(){u(o)&&c({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},8636:(e,t,n)=>{"use strict";var r=n(920),o=n(7720),i=n(4765),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},p={},g=function e(t,n,i,a,s,u,f,h,g,m,y,v,b,w,_,S,k,x){for(var E,O=t,P=x,C=0,T=!1;void 0!==(P=P.get(p))&&!T;){var A=P.get(t);if(C+=1,void 0!==A){if(A===C)throw new RangeError("Cyclic object value");T=!0}void 0===P.get(p)&&(C=0)}if("function"==typeof m?O=m(n,O):O instanceof Date?O=b(O):"comma"===i&&l(O)&&(O=o.maybeMap(O,(function(e){return e instanceof Date?b(e):e}))),null===O){if(u)return g&&!S?g(n,d.encoder,k,"key",w):n;O=""}if("string"==typeof(E=O)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(O))return g?[_(S?n:g(n,d.encoder,k,"key",w))+"="+_(g(O,d.encoder,k,"value",w))]:[_(n)+"="+_(String(O))];var I,j=[];if(void 0===O)return j;if("comma"===i&&l(O))S&&g&&(O=o.maybeMap(O,g)),I=[{value:O.length>0?O.join(",")||null:void 0}];else if(l(m))I=m;else{var R=Object.keys(O);I=y?R.sort(y):R}var L=h?String(n).replace(/\./g,"%2E"):String(n),N=a&&l(O)&&1===O.length?L+"[]":L;if(s&&l(O)&&0===O.length)return N+"[]";for(var D=0;D0?_+w:""}},8648:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},8859:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,S=RegExp.prototype.test,k=Array.prototype.concat,x=Array.prototype.join,E=Array.prototype.slice,O=Math.floor,P="function"==typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,A="function"==typeof Symbol&&"object"==typeof Symbol.iterator,I="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function L(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var o=String(r),i=v.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var N=n(2634),D=N.custom,M=W(D)?D:null,F={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function U(e,t,n){var r=n.quoteStyle||t,o=F[r];return o+e+o}function z(e){return b.call(String(e),/"/g,""")}function V(e){return!I||!("object"==typeof e&&(I in e||void 0!==e[I]))}function H(e){return"[object Array]"===K(e)&&V(e)}function $(e){return"[object RegExp]"===K(e)&&V(e)}function W(e){if(A)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,o,s){var l=r||{};if(q(l,"quoteStyle")&&!q(F,l.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=!q(l,"customInspect")||l.customInspect;if("boolean"!=typeof g&&"symbol"!==g)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Q(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return w?L(t,S):S}if("bigint"==typeof t){var O=String(t)+"n";return w?L(t,O):O}var C=void 0===l.depth?5:l.depth;if(void 0===o&&(o=0),o>=C&&C>0&&"object"==typeof t)return H(t)?"[Array]":"[Object]";var D,B=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=x.call(Array(e.indent+1)," ")}return{base:n,prev:x.call(Array(t+1),n)}}(l,o);if(void 0===s)s=[];else if(J(s,t)>=0)return"[Circular]";function G(t,n,r){if(n&&(s=E.call(s)).push(n),r){var i={depth:l.depth};return q(l,"quoteStyle")&&(i.quoteStyle=l.quoteStyle),e(t,i,o+1,s)}return e(t,l,o+1,s)}if("function"==typeof t&&!$(t)){var Y=function(e){if(e.name)return e.name;var t=y.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),re=ne(t,G);return"[Function"+(Y?": "+Y:" (anonymous)")+"]"+(re.length>0?" { "+x.call(re,", ")+" }":"")}if(W(t)){var oe=A?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||A?oe:X(oe)}if((D=t)&&"object"==typeof D&&("undefined"!=typeof HTMLElement&&D instanceof HTMLElement||"string"==typeof D.nodeName&&"function"==typeof D.getAttribute)){for(var ie="<"+_.call(String(t.nodeName)),ae=t.attributes||[],se=0;se"}if(H(t)){if(0===t.length)return"[]";var le=ne(t,G);return B&&!function(e){for(var t=0;t=0)return!1;return!0}(le)?"["+te(le,B)+"]":"[ "+x.call(le,", ")+" ]"}if(function(e){return"[object Error]"===K(e)&&V(e)}(t)){var ue=ne(t,G);return"cause"in Error.prototype||!("cause"in t)||j.call(t,"cause")?0===ue.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(ue,", ")+" }":"{ ["+String(t)+"] "+x.call(k.call("[cause]: "+G(t.cause),ue),", ")+" }"}if("object"==typeof t&&g){if(M&&"function"==typeof t[M]&&N)return N(t,{depth:C-o});if("symbol"!==g&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return a&&a.call(t,(function(e,n){ce.push(G(n,t,!0)+" => "+G(e,t))})),ee("Map",i.call(t),ce,B)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var fe=[];return c&&c.call(t,(function(e){fe.push(G(e,t))})),ee("Set",u.call(t),fe,B)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if(function(e){return"[object Number]"===K(e)&&V(e)}(t))return X(G(Number(t)));if(function(e){if(!e||"object"!=typeof e||!P)return!1;try{return P.call(e),!0}catch(e){}return!1}(t))return X(G(P.call(t)));if(function(e){return"[object Boolean]"===K(e)&&V(e)}(t))return X(p.call(t));if(function(e){return"[object String]"===K(e)&&V(e)}(t))return X(G(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n.g&&t===n.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===K(e)&&V(e)}(t)&&!$(t)){var he=ne(t,G),de=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",ge=!de&&I&&Object(t)===t&&I in t?v.call(K(t),8,-1):pe?"Object":"",me=(de||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ge||pe?"["+x.call(k.call([],ge||[],pe||[]),": ")+"] ":"");return 0===he.length?me+"{}":B?me+"{"+te(he,B)+"}":me+"{ "+x.call(he,", ")+" }"}return String(t)};var G=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return G.call(e,t)}function K(e){return g.call(e)}function J(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Q(v.call(e,0,t.maxStringLength),t)+r}var o=B[t.quoteStyle||"single"];return o.lastIndex=0,U(b.call(b.call(e,o,"\\$1"),/[\x00-\x1f]/g,Y),"single",t)}function Y(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function X(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function ee(e,t,n,r){return e+" ("+t+") {"+(r?te(n,r):x.call(n,", "))+"}"}function te(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+x.call(e,","+n)+"\n"+t.prev}function ne(e,t){var n=H(e),r=[];if(n){r.length=e.length;for(var o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(i,l)).replace(r,s))}},8968:e=>{"use strict";e.exports=Math.floor},9290:e=>{"use strict";e.exports=RangeError},9353:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r{"use strict";e.exports=Error},9538:e=>{"use strict";e.exports=ReferenceError},9612:e=>{"use strict";e.exports=Object},9675:e=>{"use strict";e.exports=TypeError},9698:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var f=1,h=1;function d(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function p(){var e={line:f,column:h};return function(t){return t.position=new g(e),b(),t}}function g(e){this.start=e,this.end={line:f,column:h},this.source=l.source}g.prototype.content=e;var m=[];function y(t){var n=new Error(l.source+":"+f+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=f,n.column=h,n.source=e,!l.silent)throw n;m.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function b(){v(r)}function w(e){var t;for(e=e||[];t=_();)!1!==t&&e.push(t);return e}function _(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return h+=2,d(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function S(){var e=p(),n=v(o);if(n){if(_(),!v(i))return y("property missing ':'");var r=v(a),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return v(s),l}}return b(),function(){var e,t=[];for(w(t);e=S();)!1!==e&&(t.push(e),w(t));return t}()}},9869:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("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")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v;w.constructor=b,g(w,y.prototype),w.isPureReactComponent=!0;var _=Array.isArray,S={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function x(e,t,r,o,i,a){return r=a.ref,{$$typeof:n,type:e,key:t,ref:void 0!==r?r:null,props:a}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var O=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function C(){}function T(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c=!1;if(null===e)c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case h:return T((c=e._init)(e._payload),t,o,i,a)}}if(c)return a=a(e),c=""===i?"."+P(e,0):i,_(a)?(o="",null!=c&&(o=c.replace(O,"$&/")+"/"),T(a,t,o,"",(function(e){return e}))):null!=a&&(E(a)&&(l=a,u=o+(null==a.key||e&&e.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+c,a=x(l.type,u,void 0,0,0,l.props)),t.push(a)),1;c=0;var f,p=""===i?".":i+":";if(_(e))for(var g=0;g{"use strict";e.exports=n(8493)},9957:(e,t,n)=>{"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(6743);e.exports=i.call(r,o)},9982:(e,t,n)=>{"use strict";e.exports=n(4477)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>ec,hasStandardBrowserEnv:()=>nc,hasStandardBrowserWebWorkerEnv:()=>rc,navigator:()=>tc,origin:()=>oc});var t={};n.r(t),n.d(t,{boolean:()=>$b,booleanish:()=>Wb,commaOrSpaceSeparated:()=>Qb,commaSeparated:()=>Jb,number:()=>qb,overloadedBoolean:()=>Gb,spaceSeparated:()=>Kb});var r={};n.r(r),n.d(r,{attentionMarkers:()=>OS,contentInitial:()=>wS,disable:()=>PS,document:()=>bS,flow:()=>SS,flowInitial:()=>_S,insideSpan:()=>ES,string:()=>kS,text:()=>xS});var o=n(6942),i=n.n(o),a=n(6540),s=(0,a.createContext)(null),l=function(){return(0,a.useContext)(s)},u=function(){var e=(0,a.useContext)(s);return null==e?void 0:e.pageStore.filters},c=n(4848),f=function(e){var t=e.className,n=e.width,r=void 0===n?"24":n,o=e.height,i=void 0===o?"24":o,a=e.viewBox,s=void 0===a?"0 0 24 24":a,l=e.children;return(0,c.jsx)("svg",{className:t,width:r,height:i,viewBox:s,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:l})};const h={"icon__fill-accent":"fJkS95iosNF5iEilDiOQ","icon__fill-secondary":"QtMrk8xf6jPEr2u2R972","icon__fill-primary":"YYDozKFhxWAqAnxLPKoe","icon__stroke-accent":"rmcOkvqxeBy9kICaCy1g","icon__stroke-secondary":"dEfaxKlvwk2JGJny37ii","icon__stroke-primary":"xV3_11jw2cC9UisHSNwx"};function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var p=["color"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;tr&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue&&zt(l,e),l.diffValue=0}for(;o--;){var u=n[o];1===u.diffValue&&(u.diffValue=0,f=e,(c=u).observers_.add(f),c.lowestObserverState_>f.dependenciesState_&&(c.lowestObserverState_=f.dependenciesState_))}var c,f;r!==kt.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),Nt(r),o}function At(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)zt(t[n],e);e.dependenciesState_=kt.NOT_TRACKING_}function It(e){var t=jt();try{return e()}finally{Rt(t)}}function jt(){var e=Ut.trackingDerivation;return Ut.trackingDerivation=null,e}function Rt(e){Ut.trackingDerivation=e}function Lt(e){var t=Ut.allowStateReads;return Ut.allowStateReads=e,t}function Nt(e){Ut.allowStateReads=e}function Dt(e){if(e.dependenciesState_!==kt.UP_TO_DATE_){e.dependenciesState_=kt.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=kt.UP_TO_DATE_}}var Mt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Ft=!0,Bt=!1,Ut=function(){var e=I();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Mt).version&&(Ft=!1),Ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Mt):(setTimeout((function(){Bt||T(35)}),1),new Mt)}();function zt(e,t){e.observers_.delete(t),0===e.observers_.size&&Vt(e)}function Vt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Ut.pendingUnobservations.push(e))}function Ht(){Ut.inBatch++}function $t(){if(0==--Ut.inBatch){Qt();for(var e=Ut.pendingUnobservations,t=0;t0&&Vt(e),!1)}function Gt(e){e.lowestObserverState_!==kt.STALE_&&(e.lowestObserverState_=kt.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===kt.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=kt.STALE_})))}var qt=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=kt.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=xt.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,Ut.pendingReactions.push(this),Qt())},t.runReaction_=function(){if(!this.isDisposed){Ht(),this.isScheduled=!1;var e=Ut.trackingContext;if(Ut.trackingContext=this,Ct(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}Ut.trackingContext=e,$t()}},t.track=function(e){if(!this.isDisposed){Ht(),this.isRunning=!0;var t=Ut.trackingContext;Ut.trackingContext=this;var n=Tt(this,e,void 0);Ut.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&At(this),Pt(n)&&this.reportExceptionInDerivation_(n.cause),$t()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Ut.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";Ut.suppressReactionErrors||console.error(n,e),Ut.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(Ht(),At(this),$t()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[ve]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},le(e,[{key:"isDisposed",get:function(){return oe(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=ie(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return oe(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=ie(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return oe(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=ie(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return oe(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=ie(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return oe(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=ie(this.flags_,e.diffValueMask_,1===t)}}])}();qt.isDisposedMask_=1,qt.isScheduledMask_=2,qt.isTrackPendingMask_=4,qt.isRunningMask_=8,qt.diffValueMask_=16;var Kt=100,Jt=function(e){return e()};function Qt(){Ut.inBatch>0||Ut.isRunningReactions||Jt(Yt)}function Yt(){Ut.isRunningReactions=!0;for(var e=Ut.pendingReactions,t=0;e.length>0;){++t===Kt&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r",t,e):H(n)?mt(t,n,e):ye(n)?(e?rn:tn).decorate_20223_(t,n):$(n)?me(t,n,e?rn:tn):$(t)?ge(Oe(e?en:Zt,{name:t,autoAction:e})):void 0}}var sn=an(!1);Object.assign(sn,tn);var ln=an(!0);function un(e){return yt(e.name,!1,e,this,void 0)}function cn(e){return H(e)&&!0===e.isMobxAction}function fn(e,t){var n,r,o,i;void 0===t&&(t=M);var a,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var l=dn(t),u=!1;a=new qt(s,(function(){u||(u=!0,l((function(){u=!1,a.isDisposed||a.track(c)})))}),t.onError,t.requiresObservable)}else a=new qt(s,(function(){this.track(c)}),t.onError,t.requiresObservable);function c(){e(a)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}Object.assign(ln,rn),sn.bound=ge(nn),ln.bound=ge(on);var hn=function(e){return e()};function dn(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:hn}function pn(e,t,n){var r,o,i;void 0===n&&(n=M);var a,s,l,u=null!=(r=n.name)?r:"Reaction",c=sn(u,n.onError?(a=n.onError,s=t,function(){try{return s.apply(this,arguments)}catch(e){a.call(this,e)}}):t),f=!n.scheduler&&!n.delay,h=dn(n),d=!0,p=!1,g=n.compareStructural?Se.structural:n.equals||Se.default,m=new qt(u,(function(){d||f?y():p||(p=!0,h(y))}),n.onError,n.requiresObservable);function y(){if(p=!1,!m.isDisposed){var t=!1,r=l;m.track((function(){var n=function(e,t){var n=vt(e);try{return t()}finally{bt(n)}}(!1,(function(){return e(m)}));t=d||!g(l,n),l=n})),(d&&n.fireImmediately||!d&&t)&&c(l,r,m),d=!1}}return null!=(o=n)&&null!=(o=o.signal)&&o.aborted||m.schedule_(),m.getDisposer_(null==(i=n)?void 0:i.signal)}var gn="onBO",mn="onBUO";function yn(e,t,n){return vn(mn,e,t,n)}function vn(e,t,n,r){var o="function"==typeof r?Rr(t,n):Rr(t),i=H(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var bn="always";function wn(e){!0===e.isolateGlobalState&&function(){if((Ut.pendingReactions.length||Ut.inBatch||Ut.isRunningReactions)&&T(36),Bt=!0,Ft){var e=I();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),Ut=new Mt}}();var t,n,r=e.useProxies,o=e.enforceActions;if(void 0!==r&&(Ut.useProxies=r===bn||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(Ut.verifyProxies=!0),void 0!==o){var i=o===bn?bn:"observed"===o;Ut.enforceActions=i,Ut.allowStateChanges=!0!==i&&i!==bn}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(Ut[t]=!!e[t])})),Ut.allowStateReads=!Ut.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=Jt,Jt=function(e){return t((function(){return n(e)}))})}function _n(e,t,n,r){var o=re(t);return Dr((function(){var t=yr(e,r)[ve];ee(o).forEach((function(e){t.extend_(e,o[e],!n||!(e in n)||n[e])}))})),e}function Sn(e){var t={name:e.name_};return e.observing_&&e.observing_.length>0&&(t.dependencies=function(e){return Array.from(new Set(e))}(e.observing_).map(Sn)),t}var kn=0;function xn(){this.message="FLOW_CANCELLED"}xn.prototype=Object.create(Error.prototype);var En=Ie("flow"),On=Ie("flow.bound",{bound:!0}),Pn=Object.assign((function(e,t){if(ye(t))return En.decorate_20223_(e,t);if($(t))return me(e,t,En);var n=e,r=n.name||"",o=function(){var e,t=arguments,o=++kn,i=sn(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=sn(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}c(t)}function u(e){var t;a=void 0;try{t=sn(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}c(t)}function c(e){if(!H(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,u);e.then(c,n)}e=n,l(void 0)}));return s.cancel=sn(r+" - runid: "+o+" - cancel",(function(){try{a&&Cn(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(V,V),Cn(n),e(new xn)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),En);function Cn(e){H(e.cancel)&&e.cancel()}function Tn(e){return!0===(null==e?void 0:e.isMobXFlow)}function An(e){return function(e,t){return!!e&&(void 0!==t?!!wr(e)&&e[ve].values_.has(t):wr(e)||!!e[ve]||we(e)||Xt(e)||Et(e))}(e)}function In(e,t,n){return e.set(t,n),n}function jn(e,t){if(null==e||"object"!=typeof e||e instanceof Date||!An(e))return e;if(_t(e)||Et(e))return jn(e.get(),t);if(t.has(e))return t.get(e);if(rr(e)){var n=In(t,e,new Array(e.length));return e.forEach((function(e,r){n[r]=jn(e,t)})),n}if(hr(e)){var r=In(t,e,new Set);return e.forEach((function(e){r.add(jn(e,t))})),r}if(lr(e)){var o=In(t,e,new Map);return e.forEach((function(e,n){o.set(n,jn(e,t))})),o}var i=In(t,e,{});return function(e){if(wr(e))return e[ve].ownKeys_();T(38)}(e).forEach((function(n){N.propertyIsEnumerable.call(e,n)&&(i[n]=jn(e[n],t))})),i}function Rn(e,t){return jn(e,new Map)}function Ln(e,t){void 0===t&&(t=void 0),Ht();try{return e.apply(t)}finally{$t()}}function Nn(e){return e[ve]}Pn.bound=ge(On);var Dn={has:function(e,t){return Nn(e).has_(t)},get:function(e,t){return Nn(e).get_(t)},set:function(e,t,n){var r;return!!$(t)&&(null==(r=Nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!$(t)&&(null==(n=Nn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=Nn(e).defineProperty_(t,n))||r},ownKeys:function(e){return Nn(e).ownKeys_()},preventExtensions:function(e){T(13)}};function Mn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function Fn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),z((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Bn(e,t){var n=jt();try{for(var r=[].concat(e.interceptors_||[]),o=0,i=r.length;o0}function zn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),z((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Vn(e,t){var n=jt(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o0?e.map(this.dehancer):e},t.intercept_=function(e){return Fn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),zn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&T("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r0&&Ir(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=D),Mn(this)){var i=Bn(this,{object:this.proxy_,type:Gn,index:e,removedCount:t,added:n});if(!i)return D;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(o,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&T(17,e,n.length),e2?n-2:0),o=2;o-1&&(this.splice(n,1),!0)}};function Xn(e,t){"function"==typeof Array.prototype[e]&&(Yn[e]=t(e))}function Zn(e){return function(){var t=this[ve];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function er(e){return function(t,n){var r=this,o=this[ve];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function tr(e){return function(){var t=this,n=this[ve];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}Xn("at",Zn),Xn("concat",Zn),Xn("flat",Zn),Xn("includes",Zn),Xn("indexOf",Zn),Xn("join",Zn),Xn("lastIndexOf",Zn),Xn("slice",Zn),Xn("toString",Zn),Xn("toLocaleString",Zn),Xn("toSorted",Zn),Xn("toSpliced",Zn),Xn("with",Zn),Xn("every",er),Xn("filter",er),Xn("find",er),Xn("findIndex",er),Xn("findLast",er),Xn("findLastIndex",er),Xn("flatMap",er),Xn("forEach",er),Xn("map",er),Xn("some",er),Xn("toReversed",er),Xn("reduce",tr),Xn("reduceRight",tr);var nr=Q("ObservableArrayAdministration",Jn);function rr(e){return W(e)&&nr(e[ve])}var or={},ir="add",ar="delete",sr=function(){function e(e,t,n){var r=this;void 0===t&&(t=ke),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[ve]=or,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,H(Map)||T(18),Dr((function(){r.keysAtom_=_e("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Ut.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new wt(this.has_(e),xe,"ObservableMap.key?",!1);this.hasMap_.set(e,r),yn(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Mn(this)){var r=Bn(this,{type:n?qn:ir,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,Mn(this)&&!Bn(this,{type:ar,object:this,name:e}))return!1;if(this.has_(e)){var n=Un(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:ar,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return Ln((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&Vn(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Ut.UNCHANGED){var r=Un(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:qn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&Vn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,Ln((function(){var r,o=new wt(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=Un(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:ir,object:this,name:e,newValue:t}:null;r&&Vn(this,o)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return ur({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return ur({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=ue(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return lr(e)&&(e=new Map(e)),Ln((function(){var n,r,o;G(e)?function(e){var t=Object.keys(e);if(!Z)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return N.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):Y(e)?(n=e,r=Object.getPrototypeOf(n),o=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(o)&&T(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&T(20,e)})),this},t.clear=function(){var e=this;Ln((function(){It((function(){for(var t,n=ue(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return Ln((function(){for(var n,r=function(e){if(Y(e)||lr(e))return e;if(Array.isArray(e))return new Map(e);if(G(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return T(21,e)}(e),o=new Map,i=!1,a=ue(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))i=!0;else{var l=t.data_.get(s);o.set(s,l)}}for(var u,c=ue(r.entries());!(u=c()).done;){var f=u.value,h=f[0],d=f[1],p=t.data_.has(h);if(t.set(h,d),t.data_.has(h)){var g=t.data_.get(h);o.set(h,g),p||(i=!0)}}if(!i)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var m=t.data_.keys(),y=o.keys(),v=m.next(),b=y.next();!v.done;){if(v.value!==b.value){t.keysAtom_.reportChanged();break}v=m.next(),b=y.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return zn(this,e)},t.intercept_=function(e){return Fn(this,e)},le(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),lr=Q("ObservableMap",sr);function ur(e){return e[Symbol.toStringTag]="MapIterator",Hr(e)}var cr={},fr=function(){function e(e,t,n){var r=this;void 0===t&&(t=ke),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[ve]=cr,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,H(Set)||T(22),this.enhancer_=function(e,r){return t(e,r,n)},Dr((function(){r.atom_=_e(r.name_),e&&r.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Ln((function(){It((function(){for(var t,n=ue(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=ue(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,Mn(this)){var n=Bn(this,{type:ir,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){Ln((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var r=Un(this),o=r?{observableKind:"set",debugObjectName:this.name_,type:ir,object:this,newValue:e}:null;r&&Vn(this,o)}return this},t.delete=function(e){var t=this;if(Mn(this)&&!Bn(this,{type:ar,object:this,oldValue:e}))return!1;if(this.has(e)){var n=Un(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:ar,object:this,oldValue:e}:null;return Ln((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&Vn(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=this.values();return dr({next:function(){var t=e.next(),n=t.value,r=t.done;return r?{value:void 0,done:r}:{value:[n,n],done:r}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return dr({next:function(){var n=t.next(),r=n.value,o=n.done;return o?{value:void 0,done:o}:{value:e.dehanceValue_(r),done:o}}})},t.intersection=function(e){return X(e)&&!hr(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return X(e)&&!hr(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return X(e)&&!hr(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return X(e)&&!hr(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return hr(e)&&(e=new Set(e)),Ln((function(){Array.isArray(e)||X(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&T("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return zn(this,e)},t.intercept_=function(e){return Fn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},le(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),hr=Q("ObservableSet",fr);function dr(e){return e[Symbol.toStringTag]="SetIterator",Hr(e)}var pr=Object.create(null),gr="remove",mr=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=We),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new be("ObservableObject.keys"),this.isPlainObject_=G(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof St)return n.set(t),!0;if(Mn(this)){var r=Bn(this,{type:qn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==Ut.UNCHANGED){var o=Un(this),i=o?{type:qn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&Vn(this,i)}return!0},t.get_=function(e){return Ut.trackingDerivation&&!ne(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),ne(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!Ut.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new wt(e in this.target_,xe,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[pe])&&n[e])return;T(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==N;){var o=R(r,e);if(o){var i=t.make_(this,e,o,r);if(0===i)return;if(1===i)break}r=Object.getPrototypeOf(r)}_r(this,0,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var o=n.extend_(this,e,t,r);return o&&_r(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{Ht();var r=this.delete_(e);if(!r)return r;if(Mn(this)){var o=Bn(this,{object:this.proxy_||this.target_,name:e,type:ir,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=ce({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else L(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{$t()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{Ht();var o=this.delete_(e);if(!o)return o;if(Mn(this)){var i=Bn(this,{object:this.proxy_||this.target_,name:e,type:ir,newValue:t});if(!i)return null;t=i.newValue}var a=br(e),s={configurable:!Ut.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else L(this.target_,e,s);var l=new wt(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{$t()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{Ht();var r=this.delete_(e);if(!r)return r;if(Mn(this)&&!Bn(this,{object:this.proxy_||this.target_,name:e,type:ir,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=br(e),i={configurable:!Ut.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else L(this.target_,e,i);this.values_.set(e,new St(t)),this.notifyPropertyAddition_(e,void 0)}finally{$t()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!ne(this.target_,e))return!0;if(Mn(this)&&!Bn(this,{object:this.proxy_||this.target_,name:e,type:gr}))return null;try{var n;Ht();var r,o=Un(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=R(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof wt&&(a=i.value_),Gt(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o){var s={type:gr,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&Vn(this,s)}}finally{$t()}return!0},t.observe_=function(e,t){return zn(this,e)},t.intercept_=function(e){return Fn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=Un(this);if(r){var o=r?{type:ir,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&Vn(this,o)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),ee(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function yr(e,t){var n;if(ne(e,ve))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new mr(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Ge(e):void 0}(t));return K(e,ve,o),e}var vr=Q("ObservableObjectAdministration",mr);function br(e){return pr[e]||(pr[e]={get:function(){return this[ve].getObservablePropValue_(e)},set:function(t){return this[ve].setObservablePropValue_(e,t)}})}function wr(e){return!!W(e)&&vr(e[ve])}function _r(e,t,n){var r;null==(r=e.target_[pe])||delete r[n]}var Sr,kr,xr=Tr(0),Er=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Or=0,Pr=function(){};Sr=Pr,kr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Sr.prototype,kr):void 0!==Sr.prototype.__proto__?Sr.prototype.__proto__=kr:Sr.prototype=kr;var Cr=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,Dr((function(){var e=new Jn(r,n,o,!0);e.proxy_=i,J(i,ve,e),t&&t.length&&i.spliceWithArray(0,0,t),Er&&Object.defineProperty(i,"0",xr)})),i}fe(t,e);var n=t.prototype;return n.concat=function(){this[ve].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;nOr){for(var t=Or;t=0&&n++}e=zr(e),t=zr(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,u=t.constructor;if(l!==u&&!(H(l)&&l instanceof l&&H(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return o[c]===t;if(r.push(e),o.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!Ur(e[c],t[c],n-1,r,o))return!1}else{var f=Object.keys(e),h=f.length;if(Object.keys(t).length!==h)return!1;for(var d=0;d=e&&(t.finalize(r.value),t.registrations.delete(o))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),Yr=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:Qr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),Xr=n(9888);function Zr(e){e.reaction=new qt("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}var eo="function"==typeof Symbol&&Symbol.for,to=null!==(Jr=null===(Kr=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===Kr?void 0:Kr.configurable)&&void 0!==Jr&&Jr,no=eo?Symbol.for("react.forward_ref"):"function"==typeof a.forwardRef&&(0,a.forwardRef)((function(e){return null})).$$typeof,ro=eo?Symbol.for("react.memo"):"function"==typeof a.memo&&(0,a.memo)((function(e){return null})).$$typeof;function oo(e,t){var n;if(ro&&e.$$typeof===ro)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var r=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,o=e,i=e.displayName||e.name;if(no&&e.$$typeof===no&&(r=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s,l,u=function(e,t){return function(e,t){void 0===t&&(t="observed");var n=a.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Yr.unregister(r),r.onStoreChange=e,r.reaction||(Zr(r),r.stateVersion=Symbol()),function(){var e;r.onStoreChange=null,null===(e=r.reaction)||void 0===e||e.dispose(),r.reaction=null}},getSnapshot:function(){return r.stateVersion}};n.current=r}var o,i,s=n.current;if(s.reaction||(Zr(s),Yr.register(n,s,s)),a.useDebugValue(s.reaction,qr),(0,Xr.useSyncExternalStore)(s.subscribe,s.getSnapshot,s.getSnapshot),s.reaction.track((function(){try{o=e()}catch(e){i=e}})),i)throw i;return o}((function(){return o(e,t)}),i)};return u.displayName=e.displayName,to&&Object.defineProperty(u,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(u.contextTypes=e.contextTypes),r&&(u=(0,a.forwardRef)(u)),u=(0,a.memo)(u),s=e,l=u,Object.keys(s).forEach((function(e){io[e]||Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(s,e))})),u}var io={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};!function(e){e||(e=Gr),wn({reactionScheduler:e})}(Wr.unstable_batchedUpdates),Yr.finalizeAllImmediately;var ao=oo((function(){var e=l(),t=u(),n=null==e?void 0:e.pageStore,r=(0,a.useCallback)((function(e){return 0===e.length?"Type":e.map((function(e){return e.value})).join(", ")}),[]);return(0,c.jsx)(C,{className:"j4ycrrEYXGNDvNx6UcaB",options:null==e?void 0:e.options,value:null!=t&&t.filter?[{key:null==t?void 0:t.filter,value:null==t?void 0:t.filter}]:[],onChange:function(e){var r,o=null===(r=e.at(-1))||void 0===r?void 0:r.key;o&&(null==t||t.setFilter(o)),fn((function(){null==n||n.pagination.setPage(1)}))},getTitle:r})}));const so=n.p+"79c879ba62b8c1d4a12e.svg",lo={loader:"nEUlsqYnsEu945pEytjk",rotate:"AckVx22tOKuvpKtqVRt2","loader__size-l":"QVQyMXAEFfLIF24ZZTIC","loader__size-m":"rOMVspHpRkQZSeG1EyKx","loader__size-s":"jo9UiAd2v11VIiB8nrni"};var uo=function(e){var t=e.size,n=void 0===t?"l":t,r=e.className;return(0,c.jsx)("div",{className:i()(lo.loader,lo["loader__size-".concat(n)],r),children:(0,c.jsx)("svg",{viewBox:"0 0 60 60",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"M33.3741 44.6155C25.3022 46.4791 17.2479 41.4462 15.3843 33.3742C13.5207 25.3023 18.5536 17.248 26.6256 15.3844C34.6975 13.5209 42.7518 18.5538 44.6154 26.6257L49.4873 25.501C47.0025 14.7384 36.2634 8.02783 25.5008 10.5126C14.7382 12.9973 8.02771 23.7364 10.5124 34.499C12.9972 45.2616 23.7363 51.9721 34.4989 49.4874L33.3741 44.6155Z"})})})};function co(e){return co="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},co(e)}var fo=["loading","children","disabled","className"];function ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function po(e){for(var t=1;t{throw TypeError(e)}),Ro=(e,t,n)=>(((e,t)=>{t.has(e)||jo("Cannot read from private field")})(e,t),n?n.call(e):t.get(e)),Lo="popstate";function No(e={}){return function(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s="POP",l=null,u=c();function c(){return(a.state||{idx:null}).idx}function f(){s="POP";let e=c(),t=null==e?null:e-u;u=e,l&&l({action:s,location:d.location,delta:t})}function h(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"==typeof e?e:Uo(e);return n=n.replace(/ $/,"%20"),Do(t,`No window.location.(origin|href) available to create URL for href: ${n}`),new URL(n,t)}null==u&&(u=0,a.replaceState({...a.state,idx:u},""));let d={get action(){return s},get location(){return e(o,a)},listen(e){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Lo,f),l=e,()=>{o.removeEventListener(Lo,f),l=null}},createHref:e=>t(o,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s="PUSH";let r=Bo(d.location,e,t);n&&n(r,e),u=c()+1;let f=Fo(r,u),h=d.createHref(r);try{a.pushState(f,"",h)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(h)}i&&l&&l({action:s,location:d.location,delta:1})},replace:function(e,t){s="REPLACE";let r=Bo(d.location,e,t);n&&n(r,e),u=c();let o=Fo(r,u),f=d.createHref(r);a.replaceState(o,"",f),i&&l&&l({action:s,location:d.location,delta:0})},go:e=>a.go(e)};return d}((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=zo(e.location.hash.substring(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),Bo("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:Uo(t))}),(function(e,t){Mo("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}),e)}function Do(e,t){if(!1===e||null==e)throw new Error(t)}function Mo(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function Fo(e,t){return{usr:e.state,key:e.key,idx:t}}function Bo(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?zo(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function Uo({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function zo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}var Vo=class{constructor(e){var t,n,r;if(t=this,n=yo,r=new Map,n.has(t)?jo("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,r),e)for(let[t,n]of e)this.set(t,n)}get(e){if(Ro(this,yo).has(e))return Ro(this,yo).get(e);if(void 0!==e.defaultValue)return e.defaultValue;throw new Error("No value found for context")}set(e,t){Ro(this,yo).set(e,t)}};yo=new WeakMap;var Ho=new Set(["lazy","caseSensitive","path","id","index","children"]),$o=new Set(["lazy","caseSensitive","path","id","index","unstable_middleware","children"]);function Wo(e,t,n=[],r={}){return e.map(((e,o)=>{let i=[...n,String(o)],a="string"==typeof e.id?e.id:i.join("-");if(Do(!0!==e.index||!e.children,"Cannot specify children on an index route"),Do(!r[a],`Found a route id collision on id "${a}". Route id's must be globally unique within Data Router usages`),function(e){return!0===e.index}(e)){let n={...e,...t(e),id:a};return r[a]=n,n}{let n={...e,...t(e),id:a,children:void 0};return r[a]=n,e.children&&(n.children=Wo(e.children,t,i,r)),n}}))}function Go(e,t,n="/"){return qo(e,t,n,!1)}function qo(e,t,n,r){let o=si(("string"==typeof t?zo(t):t).pathname||"/",n);if(null==o)return null;let i=Ko(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(Do(a.relativePath.startsWith(r),`Absolute route path "${a.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),a.relativePath=a.relativePath.slice(r.length));let s=hi([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(Do(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${s}".`),Ko(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:ri(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of Jo(e.path))o(e,t,n);else o(e,t)})),t}function Jo(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=Jo(r.join("/")),s=[];return s.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}var Qo=/^:[\w-]+$/,Yo=3,Xo=2,Zo=1,ei=10,ti=-2,ni=e=>"*"===e;function ri(e,t){let n=e.split("/"),r=n.length;return n.some(ni)&&(r+=ti),t&&(r+=Xo),n.filter((e=>!ni(e))).reduce(((e,t)=>e+(Qo.test(t)?Yo:""===t?Zo:ei)),r)}function oi(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",a=[];for(let e=0;e(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce(((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=s[r]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const o=s[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function ai(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return Mo(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function si(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function li(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function ui(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function ci(e){let t=ui(e);return t.map(((e,n)=>n===t.length-1?e.pathname:e.pathnameBase))}function fi(e,t,n,r=!1){let o;"string"==typeof e?o=zo(e):(o={...e},Do(!o.pathname||!o.pathname.includes("?"),li("?","pathname","search",o)),Do(!o.pathname||!o.pathname.includes("#"),li("#","pathname","hash",o)),Do(!o.search||!o.search.includes("#"),li("#","search","hash",o)));let i,a=""===e||""===o.pathname,s=a?"/":o.pathname;if(null==s)i=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}i=e>=0?t[e]:"/"}let l=function(e,t="/"){let{pathname:n,search:r="",hash:o=""}="string"==typeof e?zo(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:pi(r),hash:gi(o)}}(o,i),u=s&&"/"!==s&&s.endsWith("/"),c=(a||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!u&&!c||(l.pathname+="/"),l}var hi=e=>e.join("/").replace(/\/\/+/g,"/"),di=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),pi=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",gi=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",mi=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function yi(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var vi=["POST","PUT","PATCH","DELETE"],bi=new Set(vi),wi=["GET",...vi],_i=new Set(wi),Si=new Set([301,302,303,307,308]),ki=new Set([307,308]),xi={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ei={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Oi={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Pi=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ci=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),Ti="remix-router-transitions",Ai=Symbol("ResetLoaderData");function Ii(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement;Do(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let r,o,i,a=e.mapRouteProperties||Ci,s={},l=Wo(e.routes,a,void 0,s),u=e.basename||"/",c=e.dataStrategy||Gi,f={unstable_middleware:!1,...e.future},h=null,d=new Set,p=null,g=null,m=null,y=null!=e.hydrationData,v=Go(l,e.history.location,u),b=!1,w=null;if(null==v&&!e.patchRoutesOnNavigation){let t=ia(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=oa(l);v=n,w={[r.id]:t}}if(v&&!e.hydrationData&&ce(v,l,e.history.location.pathname).active&&(v=null),v)if(v.some((e=>e.route.lazy)))o=!1;else if(v.some((e=>e.route.loader))){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=v.findIndex((e=>void 0!==n[e.route.id]));o=v.slice(0,e+1).every((e=>!Di(e.route,t,n)))}else o=v.every((e=>!Di(e.route,t,n)))}else o=!0;else{o=!1,v=[];let t=ce(null,l,e.history.location.pathname);t.active&&t.matches&&(b=!0,v=t.matches)}let _,S,k={historyAction:e.history.action,location:e.history.location,matches:v,initialized:o,navigation:xi,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||w,fetchers:new Map,blockers:new Map},x="POP",E=!1,O=!1,P=new Map,C=null,T=!1,A=!1,I=new Set,j=new Map,R=0,L=-1,N=new Map,D=new Set,M=new Map,F=new Map,B=new Set,U=new Map,z=null;function V(e,t={}){k={...k,...e};let n=[],r=[];k.fetchers.forEach(((e,t)=>{"idle"===e.state&&(B.has(t)?n.push(t):r.push(t))})),B.forEach((e=>{k.fetchers.has(e)||j.has(e)||n.push(e)})),[...d].forEach((e=>e(k,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync}))),n.forEach((e=>Z(e))),r.forEach((e=>k.fetchers.delete(e)))}function H(t,n,{flushSync:o}={}){let i,a=null!=k.actionData&&null!=k.navigation.formMethod&&da(k.navigation.formMethod)&&"loading"===k.navigation.state&&!0!==t.state?._isRedirect;i=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:a?k.actionData:null;let s=n.loaderData?ta(k.loaderData,n.loaderData,n.matches||[],n.errors):k.loaderData,u=k.blockers;u.size>0&&(u=new Map(u),u.forEach(((e,t)=>u.set(t,Oi))));let c,f=!0===E||null!=k.navigation.formMethod&&da(k.navigation.formMethod)&&!0!==t.state?._isRedirect;if(r&&(l=r,r=void 0),T||"POP"===x||("PUSH"===x?e.history.push(t,t.state):"REPLACE"===x&&e.history.replace(t,t.state)),"POP"===x){let e=P.get(k.location.pathname);e&&e.has(t.pathname)?c={currentLocation:k.location,nextLocation:t}:P.has(t.pathname)&&(c={currentLocation:t,nextLocation:k.location})}else if(O){let e=P.get(k.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),P.set(k.location.pathname,e)),c={currentLocation:k.location,nextLocation:t}}V({...n,actionData:i,loaderData:s,historyAction:x,location:t,initialized:!0,navigation:xi,revalidation:"idle",restoreScrollPosition:ue(t,n.matches||k.matches),preventScrollReset:f,blockers:u},{viewTransitionOpts:c,flushSync:!0===o}),x="POP",E=!1,O=!1,T=!1,A=!1,z?.resolve(),z=null}async function $(t,n,o){_&&_.abort(),_=null,x=t,T=!0===(o&&o.startUninterruptedRevalidation),function(e,t){if(p&&m){let n=le(e,t);p[n]=m()}}(k.location,k.matches),E=!0===(o&&o.preventScrollReset),O=!0===(o&&o.enableViewTransition);let i=r||l,a=o&&o.overrideNavigation,s=o?.initialHydration&&k.matches&&k.matches.length>0&&!b?k.matches:Go(i,n,u),c=!0===(o&&o.flushSync);if(s&&k.initialized&&!A&&(f=k.location,h=n,f.pathname===h.pathname&&f.search===h.search&&(""===f.hash?""!==h.hash:f.hash===h.hash||""!==h.hash))&&!(o&&o.submission&&da(o.submission.formMethod)))return void H(n,{matches:s},{flushSync:c});var f,h;let d=ce(s,i,n.pathname);if(d.active&&d.matches&&(s=d.matches),!s){let{error:e,notFoundMatches:t,route:r}=se(n.pathname);return void H(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:c})}_=new AbortController;let g,y=Yi(e.history,n,_.signal,o&&o.submission),v=new Vo(e.unstable_getContext?await e.unstable_getContext():void 0);if(o&&o.pendingError)g=[ra(s).route.id,{type:"error",error:o.pendingError}];else if(o&&o.submission&&da(o.submission.formMethod)){let t=await async function(e,t,n,r,o,i,a={}){J();let s,l=function(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}(t,n);if(V({navigation:l},{flushSync:!0===a.flushSync}),i){let n=await fe(r,t.pathname,e.signal);if("aborted"===n.type)return{shortCircuited:!0};if("error"===n.type){let e=ra(n.partialMatches).route.id;return{matches:n.partialMatches,pendingActionResult:[e,{type:"error",error:n.error}]}}if(!n.matches){let{notFoundMatches:e,error:n,route:r}=se(t.pathname);return{matches:e,pendingActionResult:[r.id,{type:"error",error:n}]}}r=n.matches}let c=ga(r,t);if(c.route.action||c.route.lazy){let t=await q("action",e,[c],r,o,null);if(s=t[c.route.id],!s)for(let e of r)if(t[e.route.id]){s=t[e.route.id];break}if(e.signal.aborted)return{shortCircuited:!0}}else s={type:"error",error:ia(405,{method:e.method,pathname:t.pathname,routeId:c.route.id})};if(ca(s)){let t;return t=a&&null!=a.replace?a.replace:Qi(s.response.headers.get("Location"),new URL(e.url),u)===k.location.pathname+k.location.search,await G(e,s,!0,{submission:n,replace:t}),{shortCircuited:!0}}if(ua(s)){let e=ra(r,c.route.id);return!0!==(a&&a.replace)&&(x="PUSH"),{matches:r,pendingActionResult:[e.route.id,s]}}return{matches:r,pendingActionResult:[c.route.id,s]}}(y,n,o.submission,s,v,d.active,{replace:o.replace,flushSync:c});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(ua(r)&&yi(r.error)&&404===r.error.status)return _=null,void H(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}s=t.matches||s,g=t.pendingActionResult,a=ya(n,o.submission),c=!1,d.active=!1,y=Yi(e.history,y.url,y.signal)}let{shortCircuited:w,matches:S,loaderData:P,errors:C}=await async function(t,n,o,i,a,s,c,f,h,d,p,g){let m=s||ya(n,c),y=c||f||ma(m),v=!T&&!d;if(a){if(v){let e=W(g);V({navigation:m,...void 0!==e?{actionData:e}:{}},{flushSync:p})}let e=await fe(o,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=ra(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=se(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}o=e.matches}let b=r||l,[w,S]=Ni(e.history,k,o,y,n,!0===d,A,I,B,M,D,b,u,g);if(L=++R,0===w.length&&0===S.length){let e=ne();return H(n,{matches:o,loaderData:{},errors:g&&ua(g[1])?{[g[0]]:g[1].error}:null,...na(g),...e?{fetchers:new Map(k.fetchers)}:{}},{flushSync:p}),{shortCircuited:!0}}if(v){let e={};if(!a){e.navigation=m;let t=W(g);void 0!==t&&(e.actionData=t)}S.length>0&&(e.fetchers=function(e){return e.forEach((e=>{let t=k.fetchers.get(e.key),n=va(void 0,t?t.data:void 0);k.fetchers.set(e.key,n)})),new Map(k.fetchers)}(S)),V(e,{flushSync:p})}S.forEach((e=>{ee(e.key),e.controller&&j.set(e.key,e.controller)}));let x=()=>S.forEach((e=>ee(e.key)));_&&_.signal.addEventListener("abort",x);let{loaderResults:E,fetcherResults:O}=await K(o,w,S,t,i);if(t.signal.aborted)return{shortCircuited:!0};_&&_.signal.removeEventListener("abort",x),S.forEach((e=>j.delete(e.key)));let P=aa(E);if(P)return await G(t,P.result,!0,{replace:h}),{shortCircuited:!0};if(P=aa(O),P)return D.add(P.key),await G(t,P.result,!0,{replace:h}),{shortCircuited:!0};let{loaderData:C,errors:N}=ea(k,o,E,g,S,O);d&&k.errors&&(N={...k.errors,...N});let F=ne(),U=re(L);return{matches:o,loaderData:C,errors:N,...F||U||S.length>0?{fetchers:new Map(k.fetchers)}:{}}}(y,n,s,v,d.active,a,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,o&&!0===o.initialHydration,c,g);w||(_=null,H(n,{matches:S||s,...na(g),loaderData:P,errors:C}))}function W(e){return e&&!ua(e[1])?{[e[0]]:e[1].data}:k.actionData?0===Object.keys(k.actionData).length?null:k.actionData:void 0}async function G(r,o,i,{submission:a,fetcherSubmission:s,preventScrollReset:l,replace:c}={}){o.response.headers.has("X-Remix-Revalidate")&&(A=!0);let f=o.response.headers.get("Location");Do(f,"Expected a Location header on the redirect Response"),f=Qi(f,new URL(r.url),u);let h=Bo(k.location,f,{_isRedirect:!0});if(n){let n=!1;if(o.response.headers.has("X-Remix-Reload-Document"))n=!0;else if(Pi.test(f)){const r=e.history.createURL(f);n=r.origin!==t.location.origin||null==si(r.pathname,u)}if(n)return void(c?t.location.replace(f):t.location.assign(f))}_=null;let d=!0===c||o.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:p,formAction:g,formEncType:m}=k.navigation;!a&&!s&&p&&g&&m&&(a=ma(k.navigation));let y=a||s;if(ki.has(o.response.status)&&y&&da(y.formMethod))await $(d,h,{submission:{...y,formAction:f},preventScrollReset:l||E,enableViewTransition:i?O:void 0});else{let e=ya(h,a);await $(d,h,{overrideNavigation:e,fetcherSubmission:s,preventScrollReset:l||E,enableViewTransition:i?O:void 0})}}async function q(e,t,n,r,o,i){let l,f={};try{l=await async function(e,t,n,r,o,i,a,s,l){let u=function(e,t,n){let r=e.map((({route:e})=>{if("object"==typeof e.lazy&&e.lazy.unstable_middleware)return Vi({key:"unstable_middleware",route:e,manifest:t,mapRouteProperties:n})})).filter($i);return r.length>0?Promise.all(r):void 0}(o,a,s),c=o.map((e=>function(e,t,n,r){let o=n[e.id];if(Do(o,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if("function"==typeof e.lazy){let t=Hi.get(o);if(t)return{lazyRoutePromise:t,lazyHandlerPromise:t};let n=(async()=>{Do("function"==typeof e.lazy,"No lazy route function found");let t=await e.lazy(),n={};for(let e in t){let r=t[e];if(void 0===r)continue;let a=(i=e,$o.has(i)),s=void 0!==o[e]&&"hasErrorBoundary"!==e;a?Mo(!a,"Route property "+e+" is not a supported property to be returned from a lazy route function. This property will be ignored."):s?Mo(!s,`Route "${o.id}" has a static property "${e}" defined but its lazy function is also returning a value for this property. The lazy route property "${e}" will be ignored.`):n[e]=r}var i;Object.assign(o,n),Object.assign(o,{...r(o),lazy:void 0})})();return Hi.set(o,n),{lazyRoutePromise:n,lazyHandlerPromise:n}}let i,a=Object.keys(e.lazy),s=[];for(let o of a){let a=Vi({key:o,route:e,manifest:n,mapRouteProperties:r});a&&(s.push(a),o===t&&(i=a))}return{lazyRoutePromise:Promise.all(s).then((()=>{})),lazyHandlerPromise:i}}(e.route,t,a,s)));u&&await u;let f=o.map(((e,o)=>{let{lazyRoutePromise:i,lazyHandlerPromise:a}=c[o],s=r.some((t=>t.route.id===e.route.id));return{...e,shouldLoad:s,resolve:async r=>(r&&"GET"===n.method&&(e.route.lazy||e.route.loader)&&(s=!0),s?async function({type:e,request:t,match:n,lazyHandlerPromise:r,lazyRoutePromise:o,handlerOverride:i,scopedContext:a}){let s,l,u=r=>{let o,s=new Promise(((e,t)=>o=t));l=()=>o(),t.signal.addEventListener("abort",l);let u=o=>"function"!=typeof r?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${e}" [routeId: ${n.route.id}]`)):r({request:t,params:n.params,context:a},...void 0!==o?[o]:[]),c=(async()=>{try{return{type:"data",result:await(i?i((e=>u(e))):u())}}catch(e){return{type:"error",result:e}}})();return Promise.race([c,s])};try{let i=n.route[e];if(r||o)if(i){let e,[t]=await Promise.all([u(i).catch((t=>{e=t})),r,o]);if(void 0!==e)throw e;s=t}else{if(await r,i=n.route[e],!i){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw ia(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:"data",result:void 0}}[s]=await Promise.all([u(i),o])}else{if(!i){let e=new URL(t.url);throw ia(404,{pathname:e.pathname+e.search})}s=await u(i)}}catch(e){return{type:"error",result:e}}finally{l&&t.signal.removeEventListener("abort",l)}return s}({type:t,request:n,match:e,lazyHandlerPromise:a,lazyRoutePromise:i,handlerOverride:r,scopedContext:l}):Promise.resolve({type:"data",result:void 0}))}})),h=await e({matches:f,request:n,params:o[0].params,fetcherKey:i,context:l}),d=c.flatMap((e=>Object.values(e).filter($i)));try{await Promise.all(d)}catch(e){}return h}(c,e,t,n,r,i,s,a,o)}catch(e){return n.forEach((t=>{f[t.route.id]={type:"error",error:e}})),f}for(let[e,n]of Object.entries(l))if(la(n)){let o=n.result;f[e]={type:"redirect",response:Ji(o,t,e,r,u)}}else f[e]=await Ki(n);return f}async function K(t,n,r,o,i){let a=q("loader",o,n,t,i,null),s=Promise.all(r.map((async t=>{if(t.matches&&t.match&&t.controller){let n=(await q("loader",Yi(e.history,t.path,t.controller.signal),[t.match],t.matches,i,t.key))[t.match.route.id];return{[t.key]:n}}return Promise.resolve({[t.key]:{type:"error",error:ia(404,{pathname:t.path})}})}))),l=await a,u=(await s).reduce(((e,t)=>Object.assign(e,t)),{});return{loaderResults:l,fetcherResults:u}}function J(){A=!0,M.forEach(((e,t)=>{j.has(t)&&I.add(t),ee(t)}))}function Q(e,t,n={}){k.fetchers.set(e,t),V({fetchers:new Map(k.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function Y(e,t,n,r={}){let o=ra(k.matches,t);Z(e),V({errors:{[o.route.id]:n},fetchers:new Map(k.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function X(e){return F.set(e,(F.get(e)||0)+1),B.has(e)&&B.delete(e),k.fetchers.get(e)||Ei}function Z(e){let t=k.fetchers.get(e);!j.has(e)||t&&"loading"===t.state&&N.has(e)||ee(e),M.delete(e),N.delete(e),D.delete(e),B.delete(e),I.delete(e),k.fetchers.delete(e)}function ee(e){let t=j.get(e);t&&(t.abort(),j.delete(e))}function te(e){for(let t of e){let e=ba(X(t).data);k.fetchers.set(t,e)}}function ne(){let e=[],t=!1;for(let n of D){let r=k.fetchers.get(n);Do(r,`Expected fetcher: ${n}`),"loading"===r.state&&(D.delete(n),e.push(n),t=!0)}return te(e),t}function re(e){let t=[];for(let[n,r]of N)if(r0}function oe(e){k.blockers.delete(e),U.delete(e)}function ie(e,t){let n=k.blockers.get(e)||Oi;Do("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,`Invalid blocker state transition: ${n.state} -> ${t.state}`);let r=new Map(k.blockers);r.set(e,t),V({blockers:r})}function ae({currentLocation:e,nextLocation:t,historyAction:n}){if(0===U.size)return;U.size>1&&Mo(!1,"A router only supports one blocker at a time");let r=Array.from(U.entries()),[o,i]=r[r.length-1],a=k.blockers.get(o);return a&&"proceeding"===a.state?void 0:i({currentLocation:e,nextLocation:t,historyAction:n})?o:void 0}function se(e){let t=ia(404,{pathname:e}),n=r||l,{matches:o,route:i}=oa(n);return{notFoundMatches:o,route:i,error:t}}function le(e,t){return g&&g(e,t.map((e=>function(e,t){let{route:n,pathname:r,params:o}=e;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}(e,k.loaderData))))||e.key}function ue(e,t){if(p){let n=le(e,t),r=p[n];if("number"==typeof r)return r}return null}function ce(t,n,r){if(e.patchRoutesOnNavigation){if(!t)return{active:!0,matches:qo(n,r,u,!0)||[]};if(Object.keys(t[0].params).length>0)return{active:!0,matches:qo(n,r,u,!0)}}return{active:!1,matches:null}}async function fe(t,n,o,i){if(!e.patchRoutesOnNavigation)return{type:"success",matches:t};let c=t;for(;;){let t=null==r,f=r||l,h=s;try{await e.patchRoutesOnNavigation({signal:o,path:n,matches:c,fetcherKey:i,patch:(e,t)=>{o.aborted||Bi(e,t,f,h,a)}})}catch(e){return{type:"error",error:e,partialMatches:c}}finally{t&&!o.aborted&&(l=[...l])}if(o.aborted)return{type:"aborted"};let d=Go(f,n,u);if(d)return{type:"success",matches:d};let p=qo(f,n,u,!0);if(!p||c.length===p.length&&c.every(((e,t)=>e.route.id===p[t].route.id)))return{type:"success",matches:null};c=p}}return i={get basename(){return u},get future(){return f},get state(){return k},get routes(){return l},get window(){return t},initialize:function(){if(h=e.history.listen((({action:t,location:n,delta:r})=>{if(S)return S(),void(S=void 0);Mo(0===U.size||null!=r,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=ae({currentLocation:k.location,nextLocation:n,historyAction:t});if(o&&null!=r){let t=new Promise((e=>{S=e}));return e.history.go(-1*r),void ie(o,{state:"blocked",location:n,proceed(){ie(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then((()=>e.history.go(r)))},reset(){let e=new Map(k.blockers);e.set(o,Oi),V({blockers:e})}})}return $(t,n)})),n){!function(e,t){try{let n=e.sessionStorage.getItem(Ti);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(e){}}(t,P);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(Ti,JSON.stringify(n))}catch(e){Mo(!1,`Failed to save applied view transitions in sessionStorage (${e}).`)}}}(t,P);t.addEventListener("pagehide",e),C=()=>t.removeEventListener("pagehide",e)}return k.initialized||$("POP",k.location,{initialHydration:!0}),i},subscribe:function(e){return d.add(e),()=>d.delete(e)},enableScrollRestoration:function(e,t,n){if(p=e,m=t,g=n||null,!y&&k.navigation===xi){y=!0;let e=ue(k.location,k.matches);null!=e&&V({restoreScrollPosition:e})}return()=>{p=null,m=null,g=null}},navigate:async function t(n,r){if("number"==typeof n)return void e.history.go(n);let o=ji(k.location,k.matches,u,n,r?.fromRouteId,r?.relative),{path:i,submission:a,error:s}=Ri(!1,o,r),l=k.location,c=Bo(k.location,i,r&&r.state);c={...c,...e.history.encodeLocation(c)};let f=r&&null!=r.replace?r.replace:void 0,h="PUSH";!0===f?h="REPLACE":!1===f||null!=a&&da(a.formMethod)&&a.formAction===k.location.pathname+k.location.search&&(h="REPLACE");let d=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,p=!0===(r&&r.flushSync),g=ae({currentLocation:l,nextLocation:c,historyAction:h});g?ie(g,{state:"blocked",location:c,proceed(){ie(g,{state:"proceeding",proceed:void 0,reset:void 0,location:c}),t(n,r)},reset(){let e=new Map(k.blockers);e.set(g,Oi),V({blockers:e})}}):await $(h,c,{submission:a,pendingError:s,preventScrollReset:d,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:p})},fetch:async function(t,n,o,i){ee(t);let a=!0===(i&&i.flushSync),s=r||l,c=ji(k.location,k.matches,u,o,n,i?.relative),f=Go(s,c,u),h=ce(f,s,c);if(h.active&&h.matches&&(f=h.matches),!f)return void Y(t,n,ia(404,{pathname:c}),{flushSync:a});let{path:d,submission:p,error:g}=Ri(!0,c,i);if(g)return void Y(t,n,g,{flushSync:a});let m=ga(f,d),y=new Vo(e.unstable_getContext?await e.unstable_getContext():void 0),v=!0===(i&&i.preventScrollReset);p&&da(p.formMethod)?await async function(t,n,o,i,a,s,c,f,h,d){function p(e){if(!e.route.action&&!e.route.lazy){let e=ia(405,{method:d.formMethod,pathname:o,routeId:n});return Y(t,n,e,{flushSync:f}),!0}return!1}if(J(),M.delete(t),!c&&p(i))return;let g=k.fetchers.get(t);Q(t,function(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}(d,g),{flushSync:f});let m=new AbortController,y=Yi(e.history,o,m.signal,d);if(c){let e=await fe(a,o,y.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void Y(t,n,e.error,{flushSync:f});if(!e.matches)return void Y(t,n,ia(404,{pathname:o}),{flushSync:f});if(p(i=ga(a=e.matches,o)))return}j.set(t,m);let v=R,b=(await q("action",y,[i],a,s,t))[i.route.id];if(y.signal.aborted)return void(j.get(t)===m&&j.delete(t));if(B.has(t)){if(ca(b)||ua(b))return void Q(t,ba(void 0))}else{if(ca(b))return j.delete(t),L>v?void Q(t,ba(void 0)):(D.add(t),Q(t,va(d)),G(y,b,!1,{fetcherSubmission:d,preventScrollReset:h}));if(ua(b))return void Y(t,n,b.error)}let w=k.navigation.location||k.location,S=Yi(e.history,w,m.signal),E=r||l,O="idle"!==k.navigation.state?Go(E,k.navigation.location,u):k.matches;Do(O,"Didn't find any matches after fetcher action");let P=++R;N.set(t,P);let C=va(d,b.data);k.fetchers.set(t,C);let[T,F]=Ni(e.history,k,O,d,w,!1,A,I,B,M,D,E,u,[i.route.id,b]);F.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,n=k.fetchers.get(t),r=va(void 0,n?n.data:void 0);k.fetchers.set(t,r),ee(t),e.controller&&j.set(t,e.controller)})),V({fetchers:new Map(k.fetchers)});let U=()=>F.forEach((e=>ee(e.key)));m.signal.addEventListener("abort",U);let{loaderResults:z,fetcherResults:$}=await K(O,T,F,S,s);if(m.signal.aborted)return;m.signal.removeEventListener("abort",U),N.delete(t),j.delete(t),F.forEach((e=>j.delete(e.key)));let W=aa(z);if(W)return G(S,W.result,!1,{preventScrollReset:h});if(W=aa($),W)return D.add(W.key),G(S,W.result,!1,{preventScrollReset:h});let{loaderData:X,errors:Z}=ea(k,O,z,void 0,F,$);if(k.fetchers.has(t)){let e=ba(b.data);k.fetchers.set(t,e)}re(P),"loading"===k.navigation.state&&P>L?(Do(x,"Expected pending action"),_&&_.abort(),H(k.navigation.location,{matches:O,loaderData:X,errors:Z,fetchers:new Map(k.fetchers)})):(V({errors:Z,loaderData:ta(k.loaderData,X,O,Z),fetchers:new Map(k.fetchers)}),A=!1)}(t,n,d,m,f,y,h.active,a,v,p):(M.set(t,{routeId:n,path:d}),await async function(t,n,r,o,i,a,s,l,u,c){let f=k.fetchers.get(t);Q(t,va(c,f?f.data:void 0),{flushSync:l});let h=new AbortController,d=Yi(e.history,r,h.signal);if(s){let e=await fe(i,r,d.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void Y(t,n,e.error,{flushSync:l});if(!e.matches)return void Y(t,n,ia(404,{pathname:r}),{flushSync:l});o=ga(i=e.matches,r)}j.set(t,h);let p=R,g=(await q("loader",d,[o],i,a,t))[o.route.id];if(j.get(t)===h&&j.delete(t),!d.signal.aborted){if(!B.has(t))return ca(g)?L>p?void Q(t,ba(void 0)):(D.add(t),void await G(d,g,!1,{preventScrollReset:u})):void(ua(g)?Y(t,n,g.error):Q(t,ba(g.data)));Q(t,ba(void 0))}}(t,n,d,m,f,y,h.active,a,v,p))},revalidate:function(){z||(z=function(){let e,t,n=new Promise(((r,o)=>{e=async e=>{r(e);try{await n}catch(e){}},t=async e=>{o(e);try{await n}catch(e){}}}));return{promise:n,resolve:e,reject:t}}()),J(),V({revalidation:"loading"});let e=z.promise;return"submitting"===k.navigation.state?e:"idle"===k.navigation.state?($(k.historyAction,k.location,{startUninterruptedRevalidation:!0}),e):($(x||k.historyAction,k.navigation.location,{overrideNavigation:k.navigation,enableViewTransition:!0===O}),e)},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:X,deleteFetcher:function(e){let t=(F.get(e)||0)-1;t<=0?(F.delete(e),B.add(e)):F.set(e,t),V({fetchers:new Map(k.fetchers)})},dispose:function(){h&&h(),C&&C(),d.clear(),_&&_.abort(),k.fetchers.forEach(((e,t)=>Z(t))),k.blockers.forEach(((e,t)=>oe(t)))},getBlocker:function(e,t){let n=k.blockers.get(e)||Oi;return U.get(e)!==t&&U.set(e,t),n},deleteBlocker:oe,patchRoutes:function(e,t){let n=null==r;Bi(e,t,r||l,s,a),n&&(l=[...l],V({}))},_internalFetchControllers:j,_internalSetRoutes:function(e){s={},r=Wo(e,a,void 0,s)}},i}function ji(e,t,n,r,o,i){let a,s;if(o){a=[];for(let e of t)if(a.push(e),e.route.id===o){s=e;break}}else a=t,s=t[t.length-1];let l=fi(r||".",ci(a),si(e.pathname,n)||e.pathname,"path"===i);if(null==r&&(l.search=e.search,l.hash=e.hash),(null==r||""===r||"."===r)&&s){let e=pa(l.search);if(s.route.index&&!e)l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index";else if(!s.route.index&&e){let e=new URLSearchParams(l.search),t=e.getAll("index");e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let n=e.toString();l.search=n?`?${n}`:""}}return"/"!==n&&(l.pathname="/"===l.pathname?n:hi([n,l.pathname])),Uo(l)}function Ri(e,t,n){if(!n||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(n))return{path:t};if(n.formMethod&&(r=n.formMethod,!_i.has(r.toUpperCase())))return{path:t,error:ia(405,{method:n.formMethod})};var r;let o,i,a=()=>({path:t,error:ia(400,{type:"invalid-body"})}),s=(n.formMethod||"get").toUpperCase(),l=sa(t);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!da(s))return a();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce(((e,[t,n])=>`${e}${t}=${n}\n`),""):String(n.body);return{path:t,submission:{formMethod:s,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!da(s))return a();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:s,formAction:l,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return a()}}}if(Do("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=Xi(n.formData),i=n.formData;else if(n.body instanceof FormData)o=Xi(n.body),i=n.body;else if(n.body instanceof URLSearchParams)o=n.body,i=Zi(o);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=Zi(o)}catch(e){return a()}let u={formMethod:s,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(da(u.formMethod))return{path:t,submission:u};let c=zo(t);return e&&c.search&&pa(c.search)&&o.append("index",""),c.search=`?${o}`,{path:Uo(c),submission:u}}function Li(e,t,n=!1){let r=e.findIndex((e=>e.route.id===t));return r>=0?e.slice(0,n?r+1:r):e}function Ni(e,t,n,r,o,i,a,s,l,u,c,f,h,d){let p=d?ua(d[1])?d[1].error:d[1].data:void 0,g=e.createURL(t.location),m=e.createURL(o),y=n;i&&t.errors?y=Li(n,Object.keys(t.errors)[0],!0):d&&ua(d[1])&&(y=Li(n,d[0]));let v=d?d[1].statusCode:void 0,b=v&&v>=400,w=y.filter(((e,n)=>{let{route:o}=e;if(o.lazy)return!0;if(null==o.loader)return!1;if(i)return Di(o,t.loaderData,t.errors);if(function(e,t,n){let r=!t||n.route.id!==t.route.id,o=!e.hasOwnProperty(n.route.id);return r||o}(t.loaderData,t.matches[n],e))return!0;let s=t.matches[n],l=e;return Fi(e,{currentUrl:g,currentParams:s.params,nextUrl:m,nextParams:l.params,...r,actionResult:p,actionStatus:v,defaultShouldRevalidate:!b&&(a||g.pathname+g.search===m.pathname+m.search||g.search!==m.search||Mi(s,l))})})),_=[];return u.forEach(((e,o)=>{if(i||!n.some((t=>t.route.id===e.routeId))||l.has(o))return;let u=Go(f,e.path,h);if(!u)return void _.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let d=t.fetchers.get(o),y=ga(u,e.path),w=!1;c.has(o)?w=!1:s.has(o)?(s.delete(o),w=!0):w=d&&"idle"!==d.state&&void 0===d.data?a:Fi(y,{currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:m,nextParams:n[n.length-1].params,...r,actionResult:p,actionStatus:v,defaultShouldRevalidate:!b&&a}),w&&_.push({key:o,routeId:e.routeId,path:e.path,matches:u,match:y,controller:new AbortController})})),[w,_]}function Di(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=null!=t&&void 0!==t[e.id],o=null!=n&&void 0!==n[e.id];return!(!r&&o)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!o)}function Mi(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Fi(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function Bi(e,t,n,r,o){let i;if(e){let t=r[e];Do(t,`No route found to patch children into: routeId = ${e}`),t.children||(t.children=[]),i=t.children}else i=n;let a=Wo(t.filter((e=>!i.some((t=>Ui(e,t))))),o,[e||"_","patch",String(i?.length||"0")],r);i.push(...a)}function Ui(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every(((e,n)=>t.children?.some((t=>Ui(e,t))))))}var zi=new WeakMap,Vi=({key:e,route:t,manifest:n,mapRouteProperties:r})=>{let o=n[t.id];if(Do(o,"No route found in manifest"),!o.lazy||"object"!=typeof o.lazy)return;let i=o.lazy[e];if(!i)return;let a=zi.get(o);a||(a={},zi.set(o,a));let s=a[e];if(s)return s;let l=(async()=>{let t=function(e){return Ho.has(e)}(e),n=void 0!==o[e]&&"hasErrorBoundary"!==e;if(t)Mo(!t,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),a[e]=Promise.resolve();else if(n)Mo(!1,`Route "${o.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let t=await i();null!=t&&(Object.assign(o,{[e]:t}),Object.assign(o,r(o)))}"object"==typeof o.lazy&&(o.lazy[e]=void 0,Object.values(o.lazy).every((e=>void 0===e))&&(o.lazy=void 0))})();return a[e]=l,l},Hi=new WeakMap;function $i(e){return void 0!==e}async function Wi(e){let t=e.matches.filter((e=>e.shouldLoad)),n={};return(await Promise.all(t.map((e=>e.resolve())))).forEach(((e,r)=>{n[t[r].route.id]=e})),n}async function Gi(e){return e.matches.some((e=>e.route.unstable_middleware))?async function(e,t,n,r){let{matches:o,request:i,params:a,context:s}=e,l={handlerResult:void 0};try{let e=o.flatMap((e=>e.route.unstable_middleware?e.route.unstable_middleware.map((t=>[e.route.id,t])):[])),r=await qi({request:i,params:a,context:s},e,t,l,n);return t?r:l.handlerResult}catch(e){if(!l.middlewareError)throw e;let n=await r(l.middlewareError.error,l.middlewareError.routeId);return t||!l.handlerResult?n:Object.assign(l.handlerResult,n)}}(e,!1,(()=>Wi(e)),((e,t)=>({[t]:{type:"error",result:e}}))):Wi(e)}async function qi(e,t,n,r,o,i=0){let{request:a}=e;if(a.signal.aborted){if(a.signal.reason)throw a.signal.reason;throw new Error(`Request aborted without an \`AbortSignal.reason\`: ${a.method} ${a.url}`)}let s=t[i];if(!s)return r.handlerResult=await o(),r.handlerResult;let l,[u,c]=s,f=!1,h=async()=>{if(f)throw new Error("You may only call `next()` once per middleware");f=!0;let a=await qi(e,t,n,r,o,i+1);if(n)return l=a,l};try{let t=await c({request:e.request,params:e.params,context:e.context},h);return f?void 0===t?l:t:h()}catch(e){throw r.middlewareError?r.middlewareError.error!==e&&(r.middlewareError={routeId:u,error:e}):r.middlewareError={routeId:u,error:e},e}}async function Ki(e){let{result:t,type:n}=e;if(ha(t)){let e;try{let n=t.headers.get("Content-Type");e=n&&/\bapplication\/json\b/.test(n)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:"error",error:e}}return"error"===n?{type:"error",error:new mi(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:"data",data:e,statusCode:t.status,headers:t.headers}}return"error"===n?fa(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:new mi(t.init?.status||500,void 0,t.data),statusCode:yi(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:yi(t)?t.status:void 0}:fa(t)?{type:"data",data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function Ji(e,t,n,r,o){let i=e.headers.get("Location");if(Do(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!Pi.test(i)){let a=r.slice(0,r.findIndex((e=>e.route.id===n))+1);i=ji(new URL(t.url),a,o,i),e.headers.set("Location",i)}return e}function Qi(e,t,n){if(Pi.test(e)){let r=e,o=r.startsWith("//")?new URL(t.protocol+r):new URL(r),i=null!=si(o.pathname,n);if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function Yi(e,t,n,r){let o=e.createURL(sa(t)).toString(),i={signal:n};if(r&&da(r.formMethod)){let{formMethod:e,formEncType:t}=r;i.method=e.toUpperCase(),"application/json"===t?(i.headers=new Headers({"Content-Type":t}),i.body=JSON.stringify(r.json)):"text/plain"===t?i.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?i.body=Xi(r.formData):i.body=r.formData}return new Request(o,i)}function Xi(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function Zi(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function ea(e,t,n,r,o,i){let{loaderData:a,errors:s}=function(e,t,n,r=!1,o=!1){let i,a={},s=null,l=!1,u={},c=n&&ua(n[1])?n[1].error:void 0;return e.forEach((n=>{if(!(n.route.id in t))return;let f=n.route.id,h=t[f];if(Do(!ca(h),"Cannot handle redirect results in processLoaderData"),ua(h)){let t=h.error;if(void 0!==c&&(t=c,c=void 0),s=s||{},o)s[f]=t;else{let n=ra(e,f);null==s[n.route.id]&&(s[n.route.id]=t)}r||(a[f]=Ai),l||(l=!0,i=yi(h.error)?h.error.status:500),h.headers&&(u[f]=h.headers)}else a[f]=h.data,h.statusCode&&200!==h.statusCode&&!l&&(i=h.statusCode),h.headers&&(u[f]=h.headers)})),void 0!==c&&n&&(s={[n[0]]:c},a[n[0]]=void 0),{loaderData:a,errors:s,statusCode:i||200,loaderHeaders:u}}(t,n,r);return o.forEach((t=>{let{key:n,match:r,controller:o}=t,a=i[n];if(Do(a,"Did not find corresponding fetcher result"),!o||!o.signal.aborted)if(ua(a)){let t=ra(e.matches,r?.route.id);s&&s[t.route.id]||(s={...s,[t.route.id]:a.error}),e.fetchers.delete(n)}else if(ca(a))Do(!1,"Unhandled fetcher revalidation redirect");else{let t=ba(a.data);e.fetchers.set(n,t)}})),{loaderData:a,errors:s}}function ta(e,t,n,r){let o=Object.entries(t).filter((([,e])=>e!==Ai)).reduce(((e,[t,n])=>(e[t]=n,e)),{});for(let i of n){let n=i.route.id;if(!t.hasOwnProperty(n)&&e.hasOwnProperty(n)&&i.route.loader&&(o[n]=e[n]),r&&r.hasOwnProperty(n))break}return o}function na(e){return e?ua(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function ra(e,t){return(t?e.slice(0,e.findIndex((e=>e.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function oa(e){let t=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function ia(e,{pathname:t,routeId:n,method:r,type:o,message:i}={}){let a="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(a="Bad Request",r&&t&&n?s=`You made a ${r} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(a="Forbidden",s=`Route "${n}" does not match URL "${t}"`):404===e?(a="Not Found",s=`No route matches URL "${t}"`):405===e&&(a="Method Not Allowed",r&&t&&n?s=`You made a ${r.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:r&&(s=`Invalid request method "${r.toUpperCase()}"`)),new mi(e||500,a,new Error(s),!0)}function aa(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(ca(r))return{key:n,result:r}}}function sa(e){return Uo({..."string"==typeof e?zo(e):e,hash:""})}function la(e){return ha(e.result)&&Si.has(e.result.status)}function ua(e){return"error"===e.type}function ca(e){return"redirect"===(e&&e.type)}function fa(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function ha(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function da(e){return bi.has(e.toUpperCase())}function pa(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function ga(e,t){let n="string"==typeof t?zo(t).search:t.search;if(e[e.length-1].route.index&&pa(n||""))return e[e.length-1];let r=ui(e);return r[r.length-1]}function ma(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:a}=e;if(t&&n&&r)return null!=o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function ya(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function va(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function ba(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}var wa=a.createContext(null);wa.displayName="DataRouter";var _a=a.createContext(null);_a.displayName="DataRouterState";var Sa=a.createContext({isTransitioning:!1});Sa.displayName="ViewTransition";var ka=a.createContext(new Map);ka.displayName="Fetchers",a.createContext(null).displayName="Await";var xa=a.createContext(null);xa.displayName="Navigation";var Ea=a.createContext(null);Ea.displayName="Location";var Oa=a.createContext({outlet:null,matches:[],isDataRoute:!1});Oa.displayName="Route";var Pa=a.createContext(null);function Ca(){return null!=a.useContext(Ea)}function Ta(){return Do(Ca(),"useLocation() may be used only in the context of a component."),a.useContext(Ea).location}Pa.displayName="RouteError";var Aa="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ia(e){a.useContext(xa).static||a.useLayoutEffect(e)}function ja(){let{isDataRoute:e}=a.useContext(Oa);return e?function(){let{router:e}=function(e){let t=a.useContext(wa);return Do(t,za(e)),t}("useNavigate"),t=Va("useNavigate"),n=a.useRef(!1);return Ia((()=>{n.current=!0})),a.useCallback((async(r,o={})=>{Mo(n.current,Aa),n.current&&("number"==typeof r?e.navigate(r):await e.navigate(r,{fromRouteId:t,...o}))}),[e,t])}():function(){Do(Ca(),"useNavigate() may be used only in the context of a component.");let e=a.useContext(wa),{basename:t,navigator:n}=a.useContext(xa),{matches:r}=a.useContext(Oa),{pathname:o}=Ta(),i=JSON.stringify(ci(r)),s=a.useRef(!1);Ia((()=>{s.current=!0}));let l=a.useCallback(((r,a={})=>{if(Mo(s.current,Aa),!s.current)return;if("number"==typeof r)return void n.go(r);let l=fi(r,JSON.parse(i),o,"path"===a.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:hi([t,l.pathname])),(a.replace?n.replace:n.push)(l,a.state,a)}),[t,n,i,o,e]);return l}()}var Ra=a.createContext(null);function La(){let{matches:e}=a.useContext(Oa),t=e[e.length-1];return t?t.params:{}}function Na(e,{relative:t}={}){let{matches:n}=a.useContext(Oa),{pathname:r}=Ta(),o=JSON.stringify(ci(n));return a.useMemo((()=>fi(e,JSON.parse(o),r,"path"===t)),[e,o,r,t])}function Da(e,t,n,r){Do(Ca(),"useRoutes() may be used only in the context of a component.");let{navigator:o,static:i}=a.useContext(xa),{matches:s}=a.useContext(Oa),l=s[s.length-1],u=l?l.params:{},c=l?l.pathname:"/",f=l?l.pathnameBase:"/",h=l&&l.route;{let e=h&&h.path||"";$a(c,!h||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${c}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent to .`)}let d,p=Ta();if(t){let e="string"==typeof t?zo(t):t;Do("/"===f||e.pathname?.startsWith(f),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=p;let g=d.pathname||"/",m=g;if("/"!==f){let e=f.replace(/^\//,"").split("/");m="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let y=!i&&n&&n.matches&&n.matches.length>0?n.matches:Go(e,{pathname:m});Mo(h||null!=y,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),Mo(null==y||void 0!==y[y.length-1].route.element||void 0!==y[y.length-1].route.Component||void 0!==y[y.length-1].route.lazy,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let v=function(e,t=[],n=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let r=e,o=n?.errors;if(null!=o){let e=r.findIndex((e=>e.route.id&&void 0!==o?.[e.route.id]));Do(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),r=r.slice(0,Math.min(r.length,e+1))}let i=!1,s=-1;if(n)for(let e=0;e=0?r.slice(0,s+1):[r[0]];break}}}return r.reduceRight(((e,l,u)=>{let c,f=!1,h=null,d=null;n&&(c=o&&l.route.id?o[l.route.id]:void 0,h=l.route.errorElement||Fa,i&&(s<0&&0===u?($a("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),f=!0,d=null):s===u&&(f=!0,d=l.route.hydrateFallbackElement||null)));let p=t.concat(r.slice(0,u+1)),g=()=>{let t;return t=c?h:f?d:l.route.Component?a.createElement(l.route.Component,null):l.route.element?l.route.element:e,a.createElement(Ua,{match:l,routeContext:{outlet:e,matches:p,isDataRoute:null!=n},children:t})};return n&&(l.route.ErrorBoundary||l.route.errorElement||0===u)?a.createElement(Ba,{location:n.location,revalidation:n.revalidation,component:h,error:c,children:g(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):g()}),null)}(y&&y.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:hi([f,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:hi([f,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,n,r);return t&&v?a.createElement(Ea.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...d},navigationType:"POP"}},v):v}function Ma(){let e=function(){let e=a.useContext(Pa),t=function(e){let t=a.useContext(_a);return Do(t,za(e)),t}("useRouteError"),n=Va("useRouteError");return void 0!==e?e:t.errors?.[n]}(),t=yi(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=a.createElement(a.Fragment,null,a.createElement("p",null,"💿 Hey developer 👋"),a.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",a.createElement("code",{style:i},"ErrorBoundary")," or"," ",a.createElement("code",{style:i},"errorElement")," prop on your route.")),a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),n?a.createElement("pre",{style:o},n):null,s)}var Fa=a.createElement(Ma,null),Ba=class extends a.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?a.createElement(Oa.Provider,{value:this.props.routeContext},a.createElement(Pa.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ua({routeContext:e,match:t,children:n}){let r=a.useContext(wa);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),a.createElement(Oa.Provider,{value:e},n)}function za(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Va(e){let t=function(e){let t=a.useContext(Oa);return Do(t,za(e)),t}(e),n=t.matches[t.matches.length-1];return Do(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var Ha={};function $a(e,t,n){t||Ha[e]||(Ha[e]=!0,Mo(!1,n))}var Wa={};function Ga(e,t){e||Wa[t]||(Wa[t]=!0,console.warn(t))}function qa(e){let t={hasErrorBoundary:e.hasErrorBoundary||null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&(e.element&&Mo(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:a.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&Mo(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:a.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&Mo(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:a.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var Ka=class{constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}};function Ja({router:e,flushSync:t}){let[n,r]=a.useState(e.state),[o,i]=a.useState(),[s,l]=a.useState({isTransitioning:!1}),[u,c]=a.useState(),[f,h]=a.useState(),[d,p]=a.useState(),g=a.useRef(new Map),m=a.useCallback(((n,{deletedFetchers:o,flushSync:s,viewTransitionOpts:d})=>{n.fetchers.forEach(((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)})),o.forEach((e=>g.current.delete(e))),Ga(!1===s||null!=t,'You provided the `flushSync` option to a router update, but you are not using the `` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let m=null!=e.window&&null!=e.window.document&&"function"==typeof e.window.document.startViewTransition;if(Ga(null==d||m,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),d&&m){if(t&&s){t((()=>{f&&(u&&u.resolve(),f.skipTransition()),l({isTransitioning:!0,flushSync:!0,currentLocation:d.currentLocation,nextLocation:d.nextLocation})}));let o=e.window.document.startViewTransition((()=>{t((()=>r(n)))}));return o.finished.finally((()=>{t((()=>{c(void 0),h(void 0),i(void 0),l({isTransitioning:!1})}))})),void t((()=>h(o)))}f?(u&&u.resolve(),f.skipTransition(),p({state:n,currentLocation:d.currentLocation,nextLocation:d.nextLocation})):(i(n),l({isTransitioning:!0,flushSync:!1,currentLocation:d.currentLocation,nextLocation:d.nextLocation}))}else t&&s?t((()=>r(n))):a.startTransition((()=>r(n)))}),[e.window,t,f,u]);a.useLayoutEffect((()=>e.subscribe(m)),[e,m]),a.useEffect((()=>{s.isTransitioning&&!s.flushSync&&c(new Ka)}),[s]),a.useEffect((()=>{if(u&&o&&e.window){let t=o,n=u.promise,s=e.window.document.startViewTransition((async()=>{a.startTransition((()=>r(t))),await n}));s.finished.finally((()=>{c(void 0),h(void 0),i(void 0),l({isTransitioning:!1})})),h(s)}}),[o,u,e.window]),a.useEffect((()=>{u&&o&&n.location.key===o.location.key&&u.resolve()}),[u,f,n.location,o]),a.useEffect((()=>{!s.isTransitioning&&d&&(i(d.state),l({isTransitioning:!0,flushSync:!1,currentLocation:d.currentLocation,nextLocation:d.nextLocation}),p(void 0))}),[s.isTransitioning,d]);let y=a.useMemo((()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:t=>e.navigate(t),push:(t,n,r)=>e.navigate(t,{state:n,preventScrollReset:r?.preventScrollReset}),replace:(t,n,r)=>e.navigate(t,{replace:!0,state:n,preventScrollReset:r?.preventScrollReset})})),[e]),v=e.basename||"/",b=a.useMemo((()=>({router:e,navigator:y,static:!1,basename:v})),[e,y,v]);return a.createElement(a.Fragment,null,a.createElement(wa.Provider,{value:b},a.createElement(_a.Provider,{value:n},a.createElement(ka.Provider,{value:g.current},a.createElement(Sa.Provider,{value:s},a.createElement(Za,{basename:v,location:n.location,navigationType:n.historyAction,navigator:y},a.createElement(Qa,{routes:e.routes,future:e.future,state:n})))))),null)}var Qa=a.memo((function({routes:e,future:t,state:n}){return Da(e,void 0,n,t)}));function Ya({to:e,replace:t,state:n,relative:r}){Do(Ca()," may be used only in the context of a component.");let{static:o}=a.useContext(xa);Mo(!o," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:i}=a.useContext(Oa),{pathname:s}=Ta(),l=ja(),u=fi(e,ci(i),s,"path"===r),c=JSON.stringify(u);return a.useEffect((()=>{l(JSON.parse(c),{replace:t,state:n,relative:r})}),[l,c,r,t,n]),null}function Xa(e){return function(e){let t=a.useContext(Oa).outlet;return t?a.createElement(Ra.Provider,{value:e},t):t}(e.context)}function Za({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1}){Do(!Ca(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=a.useMemo((()=>({basename:s,navigator:o,static:i,future:{}})),[s,o,i]);"string"==typeof n&&(n=zo(n));let{pathname:u="/",search:c="",hash:f="",state:h=null,key:d="default"}=n,p=a.useMemo((()=>{let e=si(u,s);return null==e?null:{location:{pathname:e,search:c,hash:f,state:h,key:d},navigationType:r}}),[s,u,c,f,h,d,r]);return Mo(null!=p,` is not able to match the URL "${u}${c}${f}" because it does not start with the basename, so the won't render anything.`),null==p?null:a.createElement(xa.Provider,{value:l},a.createElement(Ea.Provider,{children:t,value:p}))}a.Component;var es="get",ts="application/x-www-form-urlencoded";function ns(e){return null!=e&&"string"==typeof e.tagName}var rs=null,os=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function is(e){return null==e||os.has(e)?e:(Mo(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${ts}"`),null)}function as(e,t){if(!1===e||null==e)throw new Error(t)}function ss(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function ls(e,t,n,r,o,i){let a=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===i?t.filter(((e,t)=>a(e,t)||s(e,t))):"data"===i?t.filter(((t,i)=>{let l=r.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(a(t,i)||s(t,i))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0})):[]}function us(e,t,{includeHydrateFallback:n}={}){return r=e.map((e=>{let r=t.routes[e.route.id];if(!r)return[];let o=[r.module];return r.clientActionModule&&(o=o.concat(r.clientActionModule)),r.clientLoaderModule&&(o=o.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(o=o.concat(r.hydrateFallbackModule)),r.imports&&(o=o.concat(r.imports)),o})).flat(1),[...new Set(r)];var r}function cs(){let e=a.useContext(wa);return as(e,"You must render this element inside a element"),e}function fs(){let e=a.useContext(_a);return as(e,"You must render this element inside a element"),e}Symbol("SingleFetchRedirect"),a.Component;var hs=a.createContext(void 0);function ds(){let e=a.useContext(hs);return as(e,"You must render this element inside a element"),e}function ps(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function gs({page:e,...t}){let{router:n}=cs(),r=a.useMemo((()=>Go(n.routes,e,n.basename)),[n.routes,e,n.basename]);return r?a.createElement(ys,{page:e,matches:r,...t}):null}function ms(e){let{manifest:t,routeModules:n}=ds(),[r,o]=a.useState([]);return a.useEffect((()=>{let r=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce(((e,o)=>{if(t&&(null==(i=o)||"string"!=typeof i.page)&&"script"===o.as&&o.href&&r.has(o.href))return e;var i;let a=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(o));return n.has(a)||(n.add(a),e.push({key:a,link:o})),e}),[])}((await Promise.all(e.map((async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}(r,n);return e.links?e.links():[]}return[]})))).flat(1).filter(ss).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"})))}(e,t,n).then((e=>{r||o(e)})),()=>{r=!0}}),[e,t,n]),r}function ys({page:e,matches:t,...n}){let r=Ta(),{manifest:o,routeModules:i}=ds(),{basename:s}=cs(),{loaderData:l,matches:u}=fs(),c=a.useMemo((()=>ls(e,t,u,o,r,"data")),[e,t,u,o,r]),f=a.useMemo((()=>ls(e,t,u,o,r,"assets")),[e,t,u,o,r]),h=a.useMemo((()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,a=!1;if(t.forEach((e=>{let t=o.routes[e.route.id];t&&t.hasLoader&&(!c.some((t=>t.route.id===e.route.id))&&e.route.id in l&&i[e.route.id]?.shouldRevalidate||t.hasClientLoader?a=!0:n.add(e.route.id))})),0===n.size)return[];let u=function(e,t){let n="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===n.pathname?n.pathname="_root.data":t&&"/"===si(n.pathname,t)?n.pathname=`${t.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}(e,s);return a&&n.size>0&&u.searchParams.set("_routes",t.filter((e=>n.has(e.route.id))).map((e=>e.route.id)).join(",")),[u.pathname+u.search]}),[s,l,r,o,c,t,e,i]),d=a.useMemo((()=>us(f,o)),[f,o]),p=ms(f);return a.createElement(a.Fragment,null,h.map((e=>a.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n}))),d.map((e=>a.createElement("link",{key:e,rel:"modulepreload",href:e,...n}))),p.map((({key:e,link:t})=>a.createElement("link",{key:e,...t}))))}hs.displayName="FrameworkContext";function vs(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}var bs="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{bs&&(window.__reactRouterVersion="7.5.0")}catch(e){}function ws(){let e=window?.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:_s(e.errors)}),e}function _s(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)n[e]=new mi(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let o=new t(r.message);o.stack="",n[e]=o}catch(e){}}if(null==n[e]){let t=new Error(r.message);t.stack="",n[e]=t}}else n[e]=r;return n}var Ss=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ks=a.forwardRef((function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:o,replace:i,state:s,target:l,to:u,preventScrollReset:c,viewTransition:f,...h},d){let p,{basename:g}=a.useContext(xa),m="string"==typeof u&&Ss.test(u),y=!1;if("string"==typeof u&&m&&(p=u,bs))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),n=si(t.pathname,g);t.origin===e.origin&&null!=n?u=n+t.search+t.hash:y=!0}catch(e){Mo(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let v=function(e,{relative:t}={}){Do(Ca(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=a.useContext(xa),{hash:o,pathname:i,search:s}=Na(e,{relative:t}),l=i;return"/"!==n&&(l="/"===i?n:hi([n,i])),r.createHref({pathname:l,search:s,hash:o})}(u,{relative:r}),[b,w,_]=function(e,t){let n=a.useContext(hs),[r,o]=a.useState(!1),[i,s]=a.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:c,onMouseLeave:f,onTouchStart:h}=t,d=a.useRef(null);a.useEffect((()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver((e=>{e.forEach((e=>{s(e.isIntersecting)}))}),{threshold:.5});return d.current&&e.observe(d.current),()=>{e.disconnect()}}}),[e]),a.useEffect((()=>{if(r){let e=setTimeout((()=>{s(!0)}),100);return()=>{clearTimeout(e)}}}),[r]);let p=()=>{o(!0)},g=()=>{o(!1),s(!1)};return n?"intent"!==e?[i,d,{}]:[i,d,{onFocus:ps(l,p),onBlur:ps(u,g),onMouseEnter:ps(c,p),onMouseLeave:ps(f,g),onTouchStart:ps(h,p)}]:[!1,d,{}]}(n,h),S=function(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:i,viewTransition:s}={}){let l=ja(),u=Ta(),c=Na(e,{relative:i});return a.useCallback((a=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(a,t)){a.preventDefault();let t=void 0!==n?n:Uo(u)===Uo(c);l(e,{replace:t,state:r,preventScrollReset:o,relative:i,viewTransition:s})}}),[u,l,c,n,r,t,e,o,i,s])}(u,{replace:i,state:s,target:l,preventScrollReset:c,relative:r,viewTransition:f}),k=a.createElement("a",{...h,..._,href:p||v,onClick:y||o?e:function(t){e&&e(t),t.defaultPrevented||S(t)},ref:vs(d,w),target:l,"data-discover":m||"render"!==t?void 0:"true"});return b&&!m?a.createElement(a.Fragment,null,k,a.createElement(gs,{page:v})):k}));ks.displayName="Link";var xs=a.forwardRef((function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:o,to:i,viewTransition:s,children:l,...u},c){let f=Na(i,{relative:u.relative}),h=Ta(),d=a.useContext(_a),{navigator:p,basename:g}=a.useContext(xa),m=null!=d&&function(e,t={}){let n=a.useContext(Sa);Do(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Os("useViewTransitionState"),o=Na(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=si(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=si(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=ii(o.pathname,s)||null!=ii(o.pathname,i)}(f)&&!0===s,y=p.encodeLocation?p.encodeLocation(f).pathname:f.pathname,v=h.pathname,b=d&&d.navigation&&d.navigation.location?d.navigation.location.pathname:null;t||(v=v.toLowerCase(),b=b?b.toLowerCase():null,y=y.toLowerCase()),b&&g&&(b=si(b,g)||b);const w="/"!==y&&y.endsWith("/")?y.length-1:y.length;let _,S=v===y||!r&&v.startsWith(y)&&"/"===v.charAt(w),k=null!=b&&(b===y||!r&&b.startsWith(y)&&"/"===b.charAt(y.length)),x={isActive:S,isPending:k,isTransitioning:m},E=S?e:void 0;_="function"==typeof n?n(x):[n,S?"active":null,k?"pending":null,m?"transitioning":null].filter(Boolean).join(" ");let O="function"==typeof o?o(x):o;return a.createElement(ks,{...u,"aria-current":E,className:_,ref:c,style:O,to:i,viewTransition:s},"function"==typeof l?l(x):l)}));xs.displayName="NavLink";var Es=a.forwardRef((({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:i,method:s=es,action:l,onSubmit:u,relative:c,preventScrollReset:f,viewTransition:h,...d},p)=>{let g=function(){let{router:e}=Os("useSubmit"),{basename:t}=a.useContext(xa),n=Va("useRouteId");return a.useCallback((async(r,o={})=>{let{action:i,method:a,encType:s,formData:l,body:u}=function(e,t){let n,r,o,i,a;if(ns(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");r=a?si(a,t):null,n=e.getAttribute("method")||es,o=is(e.getAttribute("enctype"))||ts,i=new FormData(e)}else if(function(e){return ns(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return ns(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a