commit 8aa5f7802f5fb5e92a98ef6af0b4ae025ecdb435 Author: yuchenglong Date: Thu Nov 20 10:00:02 2025 +0800 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/dist/assets/QR-58b44157.png b/dist/assets/QR-58b44157.png new file mode 100644 index 0000000..43484d5 Binary files /dev/null and b/dist/assets/QR-58b44157.png differ diff --git a/dist/assets/avatar-46c46ce7.png b/dist/assets/avatar-46c46ce7.png new file mode 100644 index 0000000..68e0990 Binary files /dev/null and b/dist/assets/avatar-46c46ce7.png differ diff --git a/dist/assets/back-button-49793580.png b/dist/assets/back-button-49793580.png new file mode 100644 index 0000000..f946f17 Binary files /dev/null and b/dist/assets/back-button-49793580.png differ diff --git a/dist/assets/bg-8c252c22.png b/dist/assets/bg-8c252c22.png new file mode 100644 index 0000000..ff76ebd Binary files /dev/null and b/dist/assets/bg-8c252c22.png differ diff --git a/dist/assets/button-62769f6e.png b/dist/assets/button-62769f6e.png new file mode 100644 index 0000000..bbf0c07 Binary files /dev/null and b/dist/assets/button-62769f6e.png differ diff --git a/dist/assets/button-loading-801352b2.png b/dist/assets/button-loading-801352b2.png new file mode 100644 index 0000000..43f6809 Binary files /dev/null and b/dist/assets/button-loading-801352b2.png differ diff --git a/dist/assets/confirm-button-11508f4a.png b/dist/assets/confirm-button-11508f4a.png new file mode 100644 index 0000000..0f21bc0 Binary files /dev/null and b/dist/assets/confirm-button-11508f4a.png differ diff --git a/dist/assets/icon-104ead59.png b/dist/assets/icon-104ead59.png new file mode 100644 index 0000000..fa87245 Binary files /dev/null and b/dist/assets/icon-104ead59.png differ diff --git a/dist/assets/idcard-555945da.png b/dist/assets/idcard-555945da.png new file mode 100644 index 0000000..a4a9b40 Binary files /dev/null and b/dist/assets/idcard-555945da.png differ diff --git a/dist/assets/index-0c3a5195.css b/dist/assets/index-0c3a5195.css new file mode 100644 index 0000000..754c29e --- /dev/null +++ b/dist/assets/index-0c3a5195.css @@ -0,0 +1 @@ +:root{font-family:Inter,Avenir,Helvetica,Arial,sans-serif;font-size:16px;line-height:24px;font-weight:400;color:#0f0f0f;background-color:#f6f6f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html,body,#root{height:100%;margin:0}body{display:flex;align-items:center;justify-content:center;background:#ffffff}.app-container{position:relative;width:1080px;height:1920px;overflow:hidden}.global-background{position:absolute;top:0;left:0;width:1080px;height:1920px;background:url(./bg-8c252c22.png) 100% no-repeat;background-size:100% 100%;pointer-events:none;z-index:1}.global-header{display:flex;flex-direction:row;justify-content:space-between;width:927px;height:84px;margin:98px 0 0 82px;pointer-events:auto}.header-logo{width:248px;height:84px}.header-title{width:442px;height:53px;overflow-wrap:break-word;color:#fff;font-size:56px;font-family:NotoSansCJKsc-Medium;font-weight:500;text-align:center;white-space:nowrap;line-height:56px;margin-top:17px}.header-time{width:286px;height:24px;overflow-wrap:break-word;color:#fff;font-size:31px;font-family:NotoSansCJKsc-Medium;font-weight:500;text-align:center;white-space:nowrap;line-height:31px;margin:32px 0 0 724px;pointer-events:auto}.content-area{position:relative;width:100%;height:100%;z-index:2;pointer-events:auto}.container{margin:0;padding-top:10vh;display:flex;flex-direction:column;justify-content:center;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:.75s}.logo.tauri:hover{filter:drop-shadow(0 0 2em #24c8db)}.row{display:flex;justify-content:center}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}h1{text-align:center}input,button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;color:#0f0f0f;background-color:#fff;transition:border-color .25s;box-shadow:0 2px 2px #0003}button{cursor:pointer}button:hover{border-color:#396cd8}button:active{border-color:#396cd8;background-color:#e8e8e8}input,button{outline:none}#greet-input{margin-right:5px}@media (prefers-color-scheme: dark){:root{color:#f6f6f6;background-color:#2f2f2f}a:hover{color:#24c8db}input,button{color:#fff;background-color:#0f0f0f98}button:active{background-color:#0f0f0f69}}.u1-root{display:flex;position:relative;flex-direction:column;align-items:center;margin-top:45%;width:100%;height:100%}.u1-title{overflow-wrap:break-word;color:#002d5d;font-size:88px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;line-height:114px}.u1-instruction{width:374px;height:33px;overflow-wrap:break-word;color:#002d5d;font-size:34px;font-family:NotoSansCJKsc-Medium;font-weight:500;text-align:left;white-space:nowrap;line-height:44px;margin-bottom:20%}.u1-decor-line{margin-top:3%;margin-bottom:3%}.u1-button-text-wrapper{display:flex;height:108px;width:594px;background:url(./button-62769f6e.png) 100% no-repeat;background-size:100% 100%;align-items:center;justify-content:center}.u1-button-text{width:192px;height:48px;overflow-wrap:break-word;color:#fff;font-size:49px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;white-space:nowrap;line-height:49px}.u1-semicircle{position:absolute;left:27%;transform:translate(-50%);top:810px;width:578px;height:588px;z-index:-1}.long-button{position:relative;width:594px;height:108px;background:url(./button-62769f6e.png) center center no-repeat;background-size:100% 100%;border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;transition:transform .15s ease,opacity .15s ease}.long-button:hover{transform:translateY(-2px)}.long-button:active{transform:translateY(0)}.long-button-text{height:48px;overflow-wrap:break-word;color:#fff;font-size:49px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;white-space:nowrap;line-height:43px}.long-button-loading{position:relative;width:594px;height:108px;background:url(./button-loading-801352b2.png) center center no-repeat;background-size:100% 100%;border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;transition:transform .15s ease,opacity .15s ease}.long-button-loading:hover{transform:translateY(-2px)}.long-button-loading:active{transform:translateY(0)}.long-button-loading-text{height:48px;overflow-wrap:break-word;color:#fff;font-size:49px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;white-space:nowrap;line-height:43px}.decor-line{margin-top:3%;margin-bottom:3%}.u2-root{display:flex;position:relative;flex-direction:column;align-items:center;margin-top:45%;width:100%;height:100%}.u2-title{width:875px;height:60px;overflow-wrap:break-word;color:#002d5d;font-size:57px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;white-space:nowrap}.u2-info-card{position:relative;margin:40px auto 0;width:896px;height:607px;background:url(./u2-card-8ae8ba13.png) 100% no-repeat;background-size:100% 100%;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;padding:40px 48px}.u2-avatar{max-width:290px;height:auto;margin-right:40px}.u2-details-list{display:flex;flex-direction:column;gap:18px}.u2-detail-row{display:flex;flex-direction:row;align-items:center}.u2-detail-bar{width:6px;height:39px;background:rgba(0,45,93,.9);border-radius:3px;margin-right:20px}.u2-detail-text{color:#002d5d;font-size:35px;font-family:NotoSansCJKsc-Regular;line-height:42px}.u2-user-details{width:435px;height:auto;overflow-wrap:break-word;color:#002d5d;font-size:35px;font-family:NotoSansCJKsc-Regular;font-weight:400;text-align:left;line-height:42px;margin-top:24px}.u2-decor-1{position:absolute;left:249px;top:452px;width:398px;height:209px}.u2-decor-2{position:absolute;left:381px;top:-47px;width:124px;height:260px}.u2-instruction{margin-top:24px;margin-bottom:15%;color:#002d5d;font-size:24px;text-align:center}.u2-asterisk{color:red;margin-right:8px;font-weight:700;font-size:24px;vertical-align:baseline}.u2-confirm-section{width:896px;margin:32px auto 0;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.u2-semicircle{position:absolute;left:27%;transform:translate(-50%);top:810px;width:578px;height:588px;z-index:-1}.back-button{position:relative;width:395px;height:112px;background:url(./back-button-49793580.png) center center no-repeat;background-size:100% 100%;border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;transition:transform .2s ease,opacity .2s ease}.back-button:hover{transform:scale(1.02);opacity:.9}.back-button:active{transform:scale(.98)}.back-button-text{width:99px;height:49px;overflow-wrap:break-word;color:#002d5d;font-size:51px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;white-space:nowrap;line-height:51px}.confirm-button{position:relative;width:395px;height:112px;background:url(./confirm-button-11508f4a.png) center center no-repeat;background-size:100% 100%;border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;transition:transform .2s ease,opacity .2s ease}.confirm-button:hover{transform:scale(1.02);opacity:.9}.confirm-button:active{transform:scale(.98)}.confirm-button-text{width:151px;height:49px;overflow-wrap:break-word;color:#fff;font-size:51px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;white-space:nowrap;line-height:51px}.u3-root{display:flex;position:relative;flex-direction:column;align-items:center;margin-top:45%;width:100%;height:100%}.u3-title{width:690px;height:88px;overflow-wrap:break-word;color:#002d5d;font-size:92px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:left;white-space:nowrap}.u3-text{width:628px;overflow-wrap:break-word;color:#002d5d;font-size:57px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:left;line-height:80px;text-align:center}.u3-instruction{width:393px;height:34px;overflow-wrap:break-word;color:#002d5d;font-size:35px;font-family:NotoSansCJKsc-Medium;font-weight:500;text-align:left;white-space:nowrap;line-height:46px;margin-bottom:100px}.u3-confirm-section{width:896px;margin:32px 0;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.u3-qrcode{width:284px;height:284px;margin:40px 0}.u3-success-img{width:358px;height:358px;margin:110px 0}.u4-root{display:flex;position:relative;flex-direction:column;align-items:center;margin-top:45%;width:100%;height:100%}.u4-title{width:690px;height:88px;color:#002d5d;font-size:92px;font-family:NotoSansCJKsc-Bold;font-weight:700}.u4-text{width:628px;overflow-wrap:break-word;color:#002d5d;font-size:57px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:left;line-height:80px;text-align:center}.u4-subtitle{width:496px;height:35px;overflow-wrap:break-word;color:#002d5d;font-size:35px;font-family:NotoSansCJKsc-Medium;font-weight:500;text-align:left;white-space:nowrap;margin-top:5%;margin-bottom:18%}.u4-card-grid{width:100%;display:flex;justify-content:center}.u4-card{width:445px;min-height:526px;background-image:url(./u4-card-2168368b.png);background-repeat:no-repeat;background-size:100% 100%;background-color:transparent;border-radius:16px;padding:80px;box-sizing:border-box;display:flex;flex-direction:column;gap:30px;cursor:pointer}.u4-card:hover{transform:translateY(-6px)}.u4-card.selected{box-shadow:0 10px 26px #0b2a522e;border:2px solid rgba(214,30,54,.15)}.u4-card-header{display:flex;align-items:center;gap:12px}.u4-radio{width:34px;height:34px;display:block;object-fit:contain}.u4-card-title{font-size:36px;color:#002d5df2;font-weight:700}.u4-card-body{display:flex;flex-direction:column;gap:12px;margin-left:20px}.u4-detail-row{display:flex;align-items:flex-start;gap:12px}.u4-detail-bar{width:6px;height:39px;background:rgba(0,45,93,.9);border-radius:3px}.u4-detail-text{color:#002d5df2;font-size:30px;line-height:39px}.u4-confirm-wrapper{margin-top:12px}.ui6-table-container{width:754px;max-height:881px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none}.ui6-table-container::-webkit-scrollbar{display:none}.ui6-table{width:754px;border-collapse:collapse;background-color:#fff}.ui6-table-header{color:#002d5d;font-size:32px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;padding:10px;border:1px solid rgba(0,45,93,.2);background-color:#e9f2f5;position:sticky;top:0;z-index:10}.ui6-table-dept{width:200px;background-color:#b12651;color:#fff}.ui6-table-project{width:554px;background-color:#053875;color:#fff}.ui6-table-row{border-bottom:2px solid #d3d3d3;border-right:2px solid #d3d3d3}.ui6-table-dept-cell{color:#000;background-color:#daeef2;font-size:24px;font-family:NotoSansCJKsc-Medium;font-weight:500;padding-left:20px;border-right:2px solid #d3d3d3;border-left:2px solid #d3d3d3}.ui6-table-project-cell{color:#000;font-size:24px;padding:0;font-family:NotoSansCJKsc-Regular;text-align:left}.ui6-project-item{border-bottom:2px solid #d3d3d3;line-height:1.5}.ui6-project-item:last-child{border-bottom:none}.basic-root{display:flex;position:relative;flex-direction:column;align-items:center;margin-top:36%;width:100%;height:100%}.basic-white-block{width:1036px;height:1414px;background-color:#fff;background:linear-gradient(to bottom,#ffffff 0%,transparent 80%);border-radius:20px}.basic-title{height:50px;overflow-wrap:break-word;color:#002d5d;font-size:52px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;white-space:nowrap;line-height:91px;margin-bottom:33px}.basic-content{display:flex;flex-direction:column;align-items:center;width:100%;height:100%;padding:50px 0;box-sizing:border-box}.basic-confirm-section{width:896px;position:fixed;bottom:112px;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.basic-paragraph{width:919px;height:auto;overflow-wrap:break-word;color:#002d5d;font-size:28px;font-family:NotoSansCJKsc-Medium;font-weight:500;text-align:center;line-height:26px;margin:0 0 53px}.ui7-text-wrapper{height:623px;width:975px;border:2px solid #000;border-radius:30px;color:#000;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none}.ui7-text-wrapper::-webkit-scrollbar{display:none}.ui7-text-content{padding:32px 42px}.ui7-text-content .paragraph_1{font-family:NotoSansCJKsc-Medium;font-weight:500;font-size:20px;line-height:0}.ui7-text_4{width:393px;height:35px;overflow-wrap:break-word;color:#002d5d;font-size:32px;font-family:NotoSansCJKsc-Medium;font-weight:500;text-align:center;white-space:nowrap;line-height:46px;margin:12px 0 22px}.ui7-signature-wrapper{height:338px;width:975px;border-radius:30px;background-color:#fff;box-shadow:0 0 10px #0000001a;color:#000;display:flex;justify-content:center;align-items:center;position:relative}.ui7-signature-canvas{width:100%;height:100%;cursor:crosshair;touch-action:none;image-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translateZ(0);will-change:contents}.ui7-clear-button{position:absolute;top:10px;right:10px;padding:8px 16px;background-color:transparent;box-shadow:none;border:none;outline:none;color:#000;cursor:pointer;font-size:14px;font-family:NotoSansCJKsc-Regular;transition:none}.ui7-clear-button:hover{color:#000;border:none;outline:none}.ui7-clear-button:focus{border:none;outline:none}.ui7-clear-button:active{border:none;outline:none;background-color:transparent}.wait-button{position:relative;width:395px;height:112px;background:url(./wait-button-bf05d764.png) center center no-repeat;background-size:100% 100%;border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;transition:transform .2s ease,opacity .2s ease}.wait-button:hover{transform:scale(1.02);opacity:.9}.wait-button:active{transform:scale(.98)}.wait-button-text{width:151px;height:49px;overflow-wrap:break-word;color:#e0e0e0;font-size:51px;font-family:NotoSansCJKsc-Bold;font-weight:700;text-align:center;white-space:nowrap;line-height:51px} diff --git a/dist/assets/index-d39aadb6.js b/dist/assets/index-d39aadb6.js new file mode 100644 index 0000000..938b2c2 --- /dev/null +++ b/dist/assets/index-d39aadb6.js @@ -0,0 +1,42 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function df(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _a={exports:{}},El={},Ia={exports:{}},_={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var cr=Symbol.for("react.element"),pf=Symbol.for("react.portal"),hf=Symbol.for("react.fragment"),mf=Symbol.for("react.strict_mode"),vf=Symbol.for("react.profiler"),yf=Symbol.for("react.provider"),gf=Symbol.for("react.context"),wf=Symbol.for("react.forward_ref"),xf=Symbol.for("react.suspense"),kf=Symbol.for("react.memo"),Sf=Symbol.for("react.lazy"),vu=Symbol.iterator;function Ef(e){return e===null||typeof e!="object"?null:(e=vu&&e[vu]||e["@@iterator"],typeof e=="function"?e:null)}var Da={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Aa=Object.assign,Oa={};function mn(e,t,n){this.props=e,this.context=t,this.refs=Oa,this.updater=n||Da}mn.prototype.isReactComponent={};mn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};mn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Fa(){}Fa.prototype=mn.prototype;function vi(e,t,n){this.props=e,this.context=t,this.refs=Oa,this.updater=n||Da}var yi=vi.prototype=new Fa;yi.constructor=vi;Aa(yi,mn.prototype);yi.isPureReactComponent=!0;var yu=Array.isArray,Ua=Object.prototype.hasOwnProperty,gi={current:null},Ba={key:!0,ref:!0,__self:!0,__source:!0};function Wa(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Ua.call(t,r)&&!Ba.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,J=j[Y];if(0>>1;Yl(Ql,M))Ctl(wr,Ql)?(j[Y]=wr,j[Ct]=M,Y=Ct):(j[Y]=Ql,j[Et]=M,Y=Et);else if(Ctl(wr,M))j[Y]=wr,j[Ct]=M,Y=Ct;else break e}}return z}function l(j,z){var M=j.sortIndex-z.sortIndex;return M!==0?M:j.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var a=[],s=[],p=1,h=null,m=3,w=!1,x=!1,k=!1,C=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(j){for(var z=n(s);z!==null;){if(z.callback===null)r(s);else if(z.startTime<=j)r(s),z.sortIndex=z.expirationTime,t(a,z);else break;z=n(s)}}function y(j){if(k=!1,f(j),!x)if(n(a)!==null)x=!0,Hl(E);else{var z=n(s);z!==null&&$l(y,z.startTime-j)}}function E(j,z){x=!1,k&&(k=!1,d(L),L=-1),w=!0;var M=m;try{for(f(z),h=n(a);h!==null&&(!(h.expirationTime>z)||j&&!fe());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,m=h.priorityLevel;var J=Y(h.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?h.callback=J:h===n(a)&&r(a),f(z)}else r(a);h=n(a)}if(h!==null)var gr=!0;else{var Et=n(s);Et!==null&&$l(y,Et.startTime-z),gr=!1}return gr}finally{h=null,m=M,w=!1}}var N=!1,P=null,L=-1,I=5,T=-1;function fe(){return!(e.unstable_now()-Tj||125Y?(j.sortIndex=M,t(s,j),n(a)===null&&j===n(s)&&(k?(d(L),L=-1):k=!0,$l(y,M-Y))):(j.sortIndex=J,t(a,j),x||w||(x=!0,Hl(E))),j},e.unstable_shouldYield=fe,e.unstable_wrapCallback=function(j){var z=m;return function(){var M=m;m=z;try{return j.apply(this,arguments)}finally{m=M}}}})(Ya);Qa.exports=Ya;var If=Qa.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Df=g,xe=If;function S(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),So=Object.prototype.hasOwnProperty,Af=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,wu={},xu={};function Of(e){return So.call(xu,e)?!0:So.call(wu,e)?!1:Af.test(e)?xu[e]=!0:(wu[e]=!0,!1)}function Ff(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Uf(e,t,n,r){if(t===null||typeof t>"u"||Ff(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ce(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ne[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var xi=/[\-:]([a-z])/g;function ki(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xi,ki);ne[t]=new ce(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(xi,ki);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(xi,ki);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function Si(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var a=` +`+l[i].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=i&&0<=u);break}}}finally{Gl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_n(e):""}function Bf(e){switch(e.tag){case 5:return _n(e.type);case 16:return _n("Lazy");case 13:return _n("Suspense");case 19:return _n("SuspenseList");case 0:case 2:case 15:return e=Xl(e.type,!1),e;case 11:return e=Xl(e.type.render,!1),e;case 1:return e=Xl(e.type,!0),e;default:return""}}function Ro(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $t:return"Fragment";case Ht:return"Portal";case Eo:return"Profiler";case Ei:return"StrictMode";case Co:return"Suspense";case No:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Xa:return(e.displayName||"Context")+".Consumer";case Ga:return(e._context.displayName||"Context")+".Provider";case Ci:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ni:return t=e.displayName||null,t!==null?t:Ro(e.type)||"Memo";case rt:t=e._payload,e=e._init;try{return Ro(e(t))}catch{}}return null}function Wf(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ro(t);case 8:return t===Ei?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function yt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ja(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Vf(e){var t=Ja(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sr(e){e._valueTracker||(e._valueTracker=Vf(e))}function qa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ja(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function qr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Po(e,t){var n=t.checked;return $({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Su(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=yt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ba(e,t){t=t.checked,t!=null&&Si(e,"checked",t,!1)}function jo(e,t){ba(e,t);var n=yt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Lo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Lo(e,t.type,yt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Eu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Lo(e,t,n){(t!=="number"||qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var In=Array.isArray;function tn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Er.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Zn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var On={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Hf=["Webkit","ms","Moz","O"];Object.keys(On).forEach(function(e){Hf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),On[t]=On[e]})});function rs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||On.hasOwnProperty(e)&&On[e]?(""+t).trim():t+"px"}function ls(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=rs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var $f=$({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Mo(e,t){if(t){if($f[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function _o(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Io=null;function Ri(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Do=null,nn=null,rn=null;function Ru(e){if(e=pr(e)){if(typeof Do!="function")throw Error(S(280));var t=e.stateNode;t&&(t=jl(t),Do(e.stateNode,e.type,t))}}function os(e){nn?rn?rn.push(e):rn=[e]:nn=e}function is(){if(nn){var e=nn,t=rn;if(rn=nn=null,Ru(e),t)for(e=0;e>>=0,e===0?32:31-(td(e)/nd|0)|0}var Cr=64,Nr=4194304;function Dn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function nl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Dn(u):(o&=i,o!==0&&(r=Dn(o)))}else i=n&~l,i!==0?r=Dn(i):o!==0&&(r=Dn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ie(t),e[t]=n}function id(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Un),Du=String.fromCharCode(32),Au=!1;function Rs(e,t){switch(e){case"keyup":return Id.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ps(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qt=!1;function Ad(e,t){switch(e){case"compositionend":return Ps(t);case"keypress":return t.which!==32?null:(Au=!0,Du);case"textInput":return e=t.data,e===Du&&Au?null:e;default:return null}}function Od(e,t){if(Qt)return e==="compositionend"||!Ii&&Rs(e,t)?(e=Cs(),Wr=zi=ut=null,Qt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Bu(n)}}function zs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ms(){for(var e=window,t=qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=qr(e.document)}return t}function Di(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Yd(e){var t=Ms(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&zs(n.ownerDocument.documentElement,n)){if(r!==null&&Di(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Wu(n,o);var i=Wu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Yt=null,Wo=null,Wn=null,Vo=!1;function Vu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vo||Yt==null||Yt!==qr(r)||(r=Yt,"selectionStart"in r&&Di(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Wn&&bn(Wn,r)||(Wn=r,r=ol(Wo,"onSelect"),0Xt||(e.current=Go[Xt],Go[Xt]=null,Xt--)}function O(e,t){Xt++,Go[Xt]=e.current,e.current=t}var gt={},ie=xt(gt),he=xt(!1),_t=gt;function sn(e,t){var n=e.type.contextTypes;if(!n)return gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function me(e){return e=e.childContextTypes,e!=null}function ul(){U(he),U(ie)}function Xu(e,t,n){if(ie.current!==gt)throw Error(S(168));O(ie,t),O(he,n)}function Ws(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,Wf(e)||"Unknown",l));return $({},n,r)}function al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gt,_t=ie.current,O(ie,e),O(he,he.current),!0}function Ku(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Ws(e,t,_t),r.__reactInternalMemoizedMergedChildContext=e,U(he),U(ie),O(ie,e)):U(he),O(he,n)}var $e=null,Ll=!1,so=!1;function Vs(e){$e===null?$e=[e]:$e.push(e)}function lp(e){Ll=!0,Vs(e)}function kt(){if(!so&&$e!==null){so=!0;var e=0,t=A;try{var n=$e;for(A=1;e>=i,l-=i,Qe=1<<32-Ie(t)+l|n<L?(I=P,P=null):I=P.sibling;var T=m(d,P,f[L],y);if(T===null){P===null&&(P=I);break}e&&P&&T.alternate===null&&t(d,P),c=o(T,c,L),N===null?E=T:N.sibling=T,N=T,P=I}if(L===f.length)return n(d,P),B&&Nt(d,L),E;if(P===null){for(;LL?(I=P,P=null):I=P.sibling;var fe=m(d,P,T.value,y);if(fe===null){P===null&&(P=I);break}e&&P&&fe.alternate===null&&t(d,P),c=o(fe,c,L),N===null?E=fe:N.sibling=fe,N=fe,P=I}if(T.done)return n(d,P),B&&Nt(d,L),E;if(P===null){for(;!T.done;L++,T=f.next())T=h(d,T.value,y),T!==null&&(c=o(T,c,L),N===null?E=T:N.sibling=T,N=T);return B&&Nt(d,L),E}for(P=r(d,P);!T.done;L++,T=f.next())T=w(P,d,L,T.value,y),T!==null&&(e&&T.alternate!==null&&P.delete(T.key===null?L:T.key),c=o(T,c,L),N===null?E=T:N.sibling=T,N=T);return e&&P.forEach(function(xn){return t(d,xn)}),B&&Nt(d,L),E}function C(d,c,f,y){if(typeof f=="object"&&f!==null&&f.type===$t&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case kr:e:{for(var E=f.key,N=c;N!==null;){if(N.key===E){if(E=f.type,E===$t){if(N.tag===7){n(d,N.sibling),c=l(N,f.props.children),c.return=d,d=c;break e}}else if(N.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===rt&&bu(E)===N.type){n(d,N.sibling),c=l(N,f.props),c.ref=Pn(d,N,f),c.return=d,d=c;break e}n(d,N);break}else t(d,N);N=N.sibling}f.type===$t?(c=Mt(f.props.children,d.mode,y,f.key),c.return=d,d=c):(y=Xr(f.type,f.key,f.props,null,d.mode,y),y.ref=Pn(d,c,f),y.return=d,d=y)}return i(d);case Ht:e:{for(N=f.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){n(d,c.sibling),c=l(c,f.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=go(f,d.mode,y),c.return=d,d=c}return i(d);case rt:return N=f._init,C(d,c,N(f._payload),y)}if(In(f))return x(d,c,f,y);if(Sn(f))return k(d,c,f,y);Mr(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,f),c.return=d,d=c):(n(d,c),c=yo(f,d.mode,y),c.return=d,d=c),i(d)):n(d,c)}return C}var fn=Ys(!0),Zs=Ys(!1),fl=xt(null),dl=null,qt=null,Ui=null;function Bi(){Ui=qt=dl=null}function Wi(e){var t=fl.current;U(fl),e._currentValue=t}function Jo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function on(e,t){dl=e,Ui=qt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pe=!0),e.firstContext=null)}function Pe(e){var t=e._currentValue;if(Ui!==e)if(e={context:e,memoizedValue:t,next:null},qt===null){if(dl===null)throw Error(S(308));qt=e,dl.dependencies={lanes:0,firstContext:e}}else qt=qt.next=e;return t}var Lt=null;function Vi(e){Lt===null?Lt=[e]:Lt.push(e)}function Gs(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Vi(t)):(n.next=l.next,l.next=n),t.interleaved=n,Je(e,r)}function Je(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var lt=!1;function Hi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xs(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ze(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Je(e,n)}return l=r.interleaved,l===null?(t.next=t,Vi(r)):(t.next=l.next,l.next=t),r.interleaved=t,Je(e,n)}function Hr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ji(e,n)}}function ea(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pl(e,t,n,r){var l=e.updateQueue;lt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var a=u,s=a.next;a.next=null,i===null?o=s:i.next=s,i=a;var p=e.alternate;p!==null&&(p=p.updateQueue,u=p.lastBaseUpdate,u!==i&&(u===null?p.firstBaseUpdate=s:u.next=s,p.lastBaseUpdate=a))}if(o!==null){var h=l.baseState;i=0,p=s=a=null,u=o;do{var m=u.lane,w=u.eventTime;if((r&m)===m){p!==null&&(p=p.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var x=e,k=u;switch(m=t,w=n,k.tag){case 1:if(x=k.payload,typeof x=="function"){h=x.call(w,h,m);break e}h=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=k.payload,m=typeof x=="function"?x.call(w,h,m):x,m==null)break e;h=$({},h,m);break e;case 2:lt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[u]:m.push(u))}else w={eventTime:w,lane:m,tag:u.tag,payload:u.payload,callback:u.callback,next:null},p===null?(s=p=w,a=h):p=p.next=w,i|=m;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;m=u,u=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(1);if(p===null&&(a=h),l.baseState=a,l.firstBaseUpdate=s,l.lastBaseUpdate=p,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);At|=i,e.lanes=i,e.memoizedState=h}}function ta(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=fo.transition;fo.transition={};try{e(!1),t()}finally{A=n,fo.transition=r}}function dc(){return je().memoizedState}function ap(e,t,n){var r=mt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},pc(e))hc(t,n);else if(n=Gs(e,t,n,r),n!==null){var l=ae();De(n,e,r,l),mc(n,t,r)}}function sp(e,t,n){var r=mt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(pc(e))hc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Ae(u,i)){var a=t.interleaved;a===null?(l.next=l,Vi(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=Gs(e,t,l,r),n!==null&&(l=ae(),De(n,e,r,l),mc(n,t,r))}}function pc(e){var t=e.alternate;return e===V||t!==null&&t===V}function hc(e,t){Vn=ml=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ji(e,n)}}var vl={readContext:Pe,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},cp={readContext:Pe,useCallback:function(e,t){return Fe().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:ra,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qr(4194308,4,uc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qr(4,2,e,t)},useMemo:function(e,t){var n=Fe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Fe();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ap.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=Fe();return e={current:e},t.memoizedState=e},useState:na,useDebugValue:Ji,useDeferredValue:function(e){return Fe().memoizedState=e},useTransition:function(){var e=na(!1),t=e[0];return e=up.bind(null,e[1]),Fe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,l=Fe();if(B){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),b===null)throw Error(S(349));Dt&30||bs(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,ra(tc.bind(null,r,o,e),[e]),r.flags|=2048,ur(9,ec.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Fe(),t=b.identifierPrefix;if(B){var n=Ye,r=Qe;n=(r&~(1<<32-Ie(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=or++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ue]=t,e[nr]=r,Nc(e,t,!1,!1),t.stateNode=e;e:{switch(i=_o(n,r),n){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;lhn&&(t.flags|=128,r=!0,jn(o,!1),t.lanes=4194304)}else{if(!r)if(e=hl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),jn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!B)return le(t),null}else 2*Z()-o.renderingStartTime>hn&&n!==1073741824&&(t.flags|=128,r=!0,jn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Z(),t.sibling=null,n=W.current,O(W,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return ru(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ye&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function gp(e,t){switch(Oi(t),t.tag){case 1:return me(t.type)&&ul(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return dn(),U(he),U(ie),Yi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qi(t),null;case 13:if(U(W),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));cn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(W),null;case 4:return dn(),null;case 10:return Wi(t.type._context),null;case 22:case 23:return ru(),null;case 24:return null;default:return null}}var Ir=!1,oe=!1,wp=typeof WeakSet=="function"?WeakSet:Set,R=null;function bt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Q(e,t,r)}else n.current=null}function ii(e,t,n){try{n()}catch(r){Q(e,t,r)}}var ha=!1;function xp(e,t){if(Ho=rl,e=Ms(),Di(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,a=-1,s=0,p=0,h=e,m=null;t:for(;;){for(var w;h!==n||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(a=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(w=h.firstChild)!==null;)m=h,h=w;for(;;){if(h===e)break t;if(m===n&&++s===l&&(u=i),m===o&&++p===r&&(a=i),(w=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=w}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for($o={focusedElem:e,selectionRange:n},rl=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var k=x.memoizedProps,C=x.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?k:ze(t.type,k),C);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(y){Q(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return x=ha,ha=!1,x}function Hn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&ii(t,n,o)}l=l.next}while(l!==r)}}function Ml(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ui(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function jc(e){var t=e.alternate;t!==null&&(e.alternate=null,jc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[nr],delete t[Zo],delete t[np],delete t[rp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Lc(e){return e.tag===5||e.tag===3||e.tag===4}function ma(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ai(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=il));else if(r!==4&&(e=e.child,e!==null))for(ai(e,t,n),e=e.sibling;e!==null;)ai(e,t,n),e=e.sibling}function si(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(si(e,t,n),e=e.sibling;e!==null;)si(e,t,n),e=e.sibling}var ee=null,Me=!1;function nt(e,t,n){for(n=n.child;n!==null;)Tc(e,t,n),n=n.sibling}function Tc(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(Cl,n)}catch{}switch(n.tag){case 5:oe||bt(n,t);case 6:var r=ee,l=Me;ee=null,nt(e,t,n),ee=r,Me=l,ee!==null&&(Me?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Me?(e=ee,n=n.stateNode,e.nodeType===8?ao(e.parentNode,n):e.nodeType===1&&ao(e,n),Jn(e)):ao(ee,n.stateNode));break;case 4:r=ee,l=Me,ee=n.stateNode.containerInfo,Me=!0,nt(e,t,n),ee=r,Me=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&ii(n,t,i),l=l.next}while(l!==r)}nt(e,t,n);break;case 1:if(!oe&&(bt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Q(n,t,u)}nt(e,t,n);break;case 21:nt(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,nt(e,t,n),oe=r):nt(e,t,n);break;default:nt(e,t,n)}}function va(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new wp),t.forEach(function(r){var l=Lp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Te(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sp(r/1960))-r,10e?16:e,at===null)var r=!1;else{if(e=at,at=null,wl=0,D&6)throw Error(S(331));var l=D;for(D|=4,R=e.current;R!==null;){var o=R,i=o.child;if(R.flags&16){var u=o.deletions;if(u!==null){for(var a=0;aZ()-tu?zt(e,0):eu|=n),ve(e,t)}function Fc(e,t){t===0&&(e.mode&1?(t=Nr,Nr<<=1,!(Nr&130023424)&&(Nr=4194304)):t=1);var n=ae();e=Je(e,t),e!==null&&(fr(e,t,n),ve(e,n))}function jp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Fc(e,n)}function Lp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),Fc(e,n)}var Uc;Uc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||he.current)pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pe=!1,vp(e,t,n);pe=!!(e.flags&131072)}else pe=!1,B&&t.flags&1048576&&Hs(t,cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Yr(e,t),e=t.pendingProps;var l=sn(t,ie.current);on(t,n),l=Gi(null,t,r,e,l,n);var o=Xi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,me(r)?(o=!0,al(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Hi(t),l.updater=zl,t.stateNode=l,l._reactInternals=t,bo(t,r,e,n),t=ni(null,t,r,!0,o,n)):(t.tag=0,B&&o&&Ai(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Yr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=zp(r),e=ze(r,e),l){case 0:t=ti(null,t,r,e,n);break e;case 1:t=fa(null,t,r,e,n);break e;case 11:t=sa(null,t,r,e,n);break e;case 14:t=ca(null,t,r,ze(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),ti(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),fa(e,t,r,l,n);case 3:e:{if(Sc(t),e===null)throw Error(S(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Xs(e,t),pl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=pn(Error(S(423)),t),t=da(e,t,r,n,l);break e}else if(r!==l){l=pn(Error(S(424)),t),t=da(e,t,r,n,l);break e}else for(ge=dt(t.stateNode.containerInfo.firstChild),we=t,B=!0,_e=null,n=Zs(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(cn(),r===l){t=qe(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return Ks(t),e===null&&Ko(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Qo(r,l)?i=null:o!==null&&Qo(r,o)&&(t.flags|=32),kc(e,t),ue(e,t,i,n),t.child;case 6:return e===null&&Ko(t),null;case 13:return Ec(e,t,n);case 4:return $i(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=fn(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),sa(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,O(fl,r._currentValue),r._currentValue=i,o!==null)if(Ae(o.value,i)){if(o.children===l.children&&!he.current){t=qe(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Ze(-1,n&-n),a.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var p=s.pending;p===null?a.next=a:(a.next=p.next,p.next=a),s.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Jo(o.return,n,t),u.lanes|=n;break}a=a.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(S(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Jo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,on(t,n),l=Pe(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=ze(r,t.pendingProps),l=ze(r.type,l),ca(e,t,r,l,n);case 15:return wc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Yr(e,t),t.tag=1,me(r)?(e=!0,al(t)):e=!1,on(t,n),vc(t,r,l),bo(t,r,l,n),ni(null,t,r,!0,e,n);case 19:return Cc(e,t,n);case 22:return xc(e,t,n)}throw Error(S(156,t.tag))};function Bc(e,t){return ps(e,t)}function Tp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(e,t,n,r){return new Tp(e,t,n,r)}function ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zp(e){if(typeof e=="function")return ou(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ci)return 11;if(e===Ni)return 14}return 2}function vt(e,t){var n=e.alternate;return n===null?(n=Ne(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")ou(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case $t:return Mt(n.children,l,o,t);case Ei:i=8,l|=8;break;case Eo:return e=Ne(12,n,t,l|2),e.elementType=Eo,e.lanes=o,e;case Co:return e=Ne(13,n,t,l),e.elementType=Co,e.lanes=o,e;case No:return e=Ne(19,n,t,l),e.elementType=No,e.lanes=o,e;case Ka:return Il(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ga:i=10;break e;case Xa:i=9;break e;case Ci:i=11;break e;case Ni:i=14;break e;case rt:i=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Ne(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Mt(e,t,n,r){return e=Ne(7,e,r,t),e.lanes=n,e}function Il(e,t,n,r){return e=Ne(22,e,r,t),e.elementType=Ka,e.lanes=n,e.stateNode={isHidden:!1},e}function yo(e,t,n){return e=Ne(6,e,null,t),e.lanes=n,e}function go(e,t,n){return t=Ne(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Mp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Jl(0),this.expirationTimes=Jl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function iu(e,t,n,r,l,o,i,u,a){return e=new Mp(e,t,n,u,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ne(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hi(o),e}function _p(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($c)}catch(e){console.error(e)}}$c(),$a.exports=ke;var Fp=$a.exports,Ca=Fp;ko.createRoot=Ca.createRoot,ko.hydrateRoot=Ca.hydrateRoot;const Up="modulepreload",Bp=function(e,t){return new URL(e,t).href},Na={},Wp=function(t,n,r){if(!n||n.length===0)return t();const l=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=Bp(o,r),o in Na)return;Na[o]=!0;const i=o.endsWith(".css"),u=i?'[rel="stylesheet"]':"";if(!!r)for(let p=l.length-1;p>=0;p--){const h=l[p];if(h.href===o&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${u}`))return;const s=document.createElement("link");if(s.rel=i?"stylesheet":Up,i||(s.as="script",s.crossOrigin=""),s.href=o,document.head.appendChild(s),i)return new Promise((p,h)=>{s.addEventListener("load",p),s.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})};var Ra="popstate";function Vp(e={}){function t(l,o){let{pathname:i="/",search:u="",hash:a=""}=Bt(l.location.hash.substring(1));return!i.startsWith("/")&&!i.startsWith(".")&&(i="/"+i),hi("",{pathname:i,search:u,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(l,o){let i=l.document.querySelector("base"),u="";if(i&&i.getAttribute("href")){let a=l.location.href,s=a.indexOf("#");u=s===-1?a:a.slice(0,s)}return u+"#"+(typeof o=="string"?o:sr(o))}function r(l,o){Le(l.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return $p(t,n,r,e)}function H(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Le(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Hp(){return Math.random().toString(36).substring(2,10)}function Pa(e,t){return{usr:e.state,key:e.key,idx:t}}function hi(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Bt(t):t,state:n,key:t&&t.key||r||Hp()}}function sr({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 Bt(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}function $p(e,t,n,r={}){let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,u="POP",a=null,s=p();s==null&&(s=0,i.replaceState({...i.state,idx:s},""));function p(){return(i.state||{idx:null}).idx}function h(){u="POP";let C=p(),d=C==null?null:C-s;s=C,a&&a({action:u,location:k.location,delta:d})}function m(C,d){u="PUSH";let c=hi(k.location,C,d);n&&n(c,C),s=p()+1;let f=Pa(c,s),y=k.createHref(c);try{i.pushState(f,"",y)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;l.location.assign(y)}o&&a&&a({action:u,location:k.location,delta:1})}function w(C,d){u="REPLACE";let c=hi(k.location,C,d);n&&n(c,C),s=p();let f=Pa(c,s),y=k.createHref(c);i.replaceState(f,"",y),o&&a&&a({action:u,location:k.location,delta:0})}function x(C){return Qp(C)}let k={get action(){return u},get location(){return e(l,i)},listen(C){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(Ra,h),a=C,()=>{l.removeEventListener(Ra,h),a=null}},createHref(C){return t(l,C)},createURL:x,encodeLocation(C){let d=x(C);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:m,replace:w,go(C){return i.go(C)}};return k}function Qp(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),H(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:sr(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Qc(e,t,n="/"){return Yp(e,t,n,!1)}function Yp(e,t,n,r){let l=typeof t=="string"?Bt(t):t,o=be(l.pathname||"/",n);if(o==null)return null;let i=Yc(e);Zp(i);let u=null;for(let a=0;u==null&&a{let p={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:u,route:i};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&a)return;H(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let h=Ge([r,p.relativePath]),m=n.concat(p);i.children&&i.children.length>0&&(H(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Yc(i.children,t,m,h,a)),!(i.path==null&&!i.index)&&t.push({path:h,score:eh(h,i.index),routesMeta:m})};return e.forEach((i,u)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,u);else for(let s of Zc(i.path))o(i,u,!0,s)}),t}function Zc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=Zc(r.join("/")),u=[];return u.push(...i.map(a=>a===""?o:[o,a].join("/"))),l&&u.push(...i),u.map(a=>e.startsWith("/")&&a===""?"/":a)}function Zp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:th(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Gp=/^:[\w-]+$/,Xp=3,Kp=2,Jp=1,qp=10,bp=-2,ja=e=>e==="*";function eh(e,t){let n=e.split("/"),r=n.length;return n.some(ja)&&(r+=bp),t&&(r+=Kp),n.filter(l=>!ja(l)).reduce((l,o)=>l+(Gp.test(o)?Xp:o===""?Jp:qp),r)}function th(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function nh(e,t,n=!1){let{routesMeta:r}=e,l={},o="/",i=[];for(let u=0;u{if(p==="*"){let x=u[m]||"";i=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const w=u[m];return h&&!w?s[p]=void 0:s[p]=(w||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:i,pattern:e}}function rh(e,t=!1,n=!0){Le(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,u,a)=>(r.push({paramName:u,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function lh(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Le(!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 be(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)||"/"}var oh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ih=e=>oh.test(e);function uh(e,t="/"){let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Bt(e):e,o;if(n)if(ih(n))o=n;else{if(n.includes("//")){let i=n;n=n.replace(/\/\/+/g,"/"),Le(!1,`Pathnames cannot have embedded double slashes - normalizing ${i} -> ${n}`)}n.startsWith("/")?o=La(n.substring(1),"/"):o=La(n,t)}else o=t;return{pathname:o,search:ch(r),hash:fh(l)}}function La(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function wo(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 ah(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Gc(e){let t=ah(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Xc(e,t,n,r=!1){let l;typeof e=="string"?l=Bt(e):(l={...e},H(!l.pathname||!l.pathname.includes("?"),wo("?","pathname","search",l)),H(!l.pathname||!l.pathname.includes("#"),wo("#","pathname","hash",l)),H(!l.search||!l.search.includes("#"),wo("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,u;if(i==null)u=n;else{let h=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),h-=1;l.pathname=m.join("/")}u=h>=0?t[h]:"/"}let a=uh(l,u),s=i&&i!=="/"&&i.endsWith("/"),p=(o||i===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(s||p)&&(a.pathname+="/"),a}var Ge=e=>e.join("/").replace(/\/\/+/g,"/"),sh=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ch=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,fh=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function dh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Kc=["POST","PUT","PATCH","DELETE"];new Set(Kc);var ph=["GET",...Kc];new Set(ph);var gn=g.createContext(null);gn.displayName="DataRouter";var Ul=g.createContext(null);Ul.displayName="DataRouterState";g.createContext(!1);var Jc=g.createContext({isTransitioning:!1});Jc.displayName="ViewTransition";var hh=g.createContext(new Map);hh.displayName="Fetchers";var mh=g.createContext(null);mh.displayName="Await";var Ve=g.createContext(null);Ve.displayName="Navigation";var mr=g.createContext(null);mr.displayName="Location";var tt=g.createContext({outlet:null,matches:[],isDataRoute:!1});tt.displayName="Route";var cu=g.createContext(null);cu.displayName="RouteError";function vh(e,{relative:t}={}){H(vr(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=g.useContext(Ve),{hash:l,pathname:o,search:i}=yr(e,{relative:t}),u=o;return n!=="/"&&(u=o==="/"?n:Ge([n,o])),r.createHref({pathname:u,search:i,hash:l})}function vr(){return g.useContext(mr)!=null}function St(){return H(vr(),"useLocation() may be used only in the context of a component."),g.useContext(mr).location}var qc="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function bc(e){g.useContext(Ve).static||g.useLayoutEffect(e)}function Wt(){let{isDataRoute:e}=g.useContext(tt);return e?Lh():yh()}function yh(){H(vr(),"useNavigate() may be used only in the context of a component.");let e=g.useContext(gn),{basename:t,navigator:n}=g.useContext(Ve),{matches:r}=g.useContext(tt),{pathname:l}=St(),o=JSON.stringify(Gc(r)),i=g.useRef(!1);return bc(()=>{i.current=!0}),g.useCallback((a,s={})=>{if(Le(i.current,qc),!i.current)return;if(typeof a=="number"){n.go(a);return}let p=Xc(a,JSON.parse(o),l,s.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Ge([t,p.pathname])),(s.replace?n.replace:n.push)(p,s.state,s)},[t,n,o,l,e])}g.createContext(null);function yr(e,{relative:t}={}){let{matches:n}=g.useContext(tt),{pathname:r}=St(),l=JSON.stringify(Gc(n));return g.useMemo(()=>Xc(e,JSON.parse(l),r,t==="path"),[e,l,r,t])}function gh(e,t){return ef(e,t)}function ef(e,t,n,r,l){var c;H(vr(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=g.useContext(Ve),{matches:i}=g.useContext(tt),u=i[i.length-1],a=u?u.params:{},s=u?u.pathname:"/",p=u?u.pathnameBase:"/",h=u&&u.route;{let f=h&&h.path||"";tf(s,!h||f.endsWith("*")||f.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${s}" (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. + +Please change the parent to .`)}let m=St(),w;if(t){let f=typeof t=="string"?Bt(t):t;H(p==="/"||((c=f.pathname)==null?void 0:c.startsWith(p)),`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 "${p}" but pathname "${f.pathname}" was given in the \`location\` prop.`),w=f}else w=m;let x=w.pathname||"/",k=x;if(p!=="/"){let f=p.replace(/^\//,"").split("/");k="/"+x.replace(/^\//,"").split("/").slice(f.length).join("/")}let C=Qc(e,{pathname:k});Le(h||C!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),Le(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.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 d=Eh(C&&C.map(f=>Object.assign({},f,{params:Object.assign({},a,f.params),pathname:Ge([p,o.encodeLocation?o.encodeLocation(f.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:f.pathname]),pathnameBase:f.pathnameBase==="/"?p:Ge([p,o.encodeLocation?o.encodeLocation(f.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:f.pathnameBase])})),i,n,r,l);return t&&d?g.createElement(mr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},d):d}function wh(){let e=jh(),t=dh(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)",l={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},i=null;return console.error("Error handled by React Router default ErrorBoundary:",e),i=g.createElement(g.Fragment,null,g.createElement("p",null,"馃捒 Hey developer 馃憢"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:o},"ErrorBoundary")," or"," ",g.createElement("code",{style:o},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),n?g.createElement("pre",{style:l},n):null,i)}var xh=g.createElement(wh,null),kh=class extends g.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||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?g.createElement(tt.Provider,{value:this.props.routeContext},g.createElement(cu.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Sh({routeContext:e,match:t,children:n}){let r=g.useContext(gn);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),g.createElement(tt.Provider,{value:e},n)}function Eh(e,t=[],n=null,r=null,l=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,i=n==null?void 0:n.errors;if(i!=null){let p=o.findIndex(h=>h.route.id&&(i==null?void 0:i[h.route.id])!==void 0);H(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,p+1))}let u=!1,a=-1;if(n)for(let p=0;p=0?o=o.slice(0,a+1):o=[o[0]];break}}}let s=n&&r?(p,h)=>{var m,w;r(p,{location:n.location,params:((w=(m=n.matches)==null?void 0:m[0])==null?void 0:w.params)??{},errorInfo:h})}:void 0;return o.reduceRight((p,h,m)=>{let w,x=!1,k=null,C=null;n&&(w=i&&h.route.id?i[h.route.id]:void 0,k=h.route.errorElement||xh,u&&(a<0&&m===0?(tf("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,C=null):a===m&&(x=!0,C=h.route.hydrateFallbackElement||null)));let d=t.concat(o.slice(0,m+1)),c=()=>{let f;return w?f=k:x?f=C:h.route.Component?f=g.createElement(h.route.Component,null):h.route.element?f=h.route.element:f=p,g.createElement(Sh,{match:h,routeContext:{outlet:p,matches:d,isDataRoute:n!=null},children:f})};return n&&(h.route.ErrorBoundary||h.route.errorElement||m===0)?g.createElement(kh,{location:n.location,revalidation:n.revalidation,component:k,error:w,children:c(),routeContext:{outlet:null,matches:d,isDataRoute:!0},onError:s}):c()},null)}function fu(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ch(e){let t=g.useContext(gn);return H(t,fu(e)),t}function Nh(e){let t=g.useContext(Ul);return H(t,fu(e)),t}function Rh(e){let t=g.useContext(tt);return H(t,fu(e)),t}function du(e){let t=Rh(e),n=t.matches[t.matches.length-1];return H(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Ph(){return du("useRouteId")}function jh(){var r;let e=g.useContext(cu),t=Nh("useRouteError"),n=du("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Lh(){let{router:e}=Ch("useNavigate"),t=du("useNavigate"),n=g.useRef(!1);return bc(()=>{n.current=!0}),g.useCallback(async(l,o={})=>{Le(n.current,qc),n.current&&(typeof l=="number"?e.navigate(l):await e.navigate(l,{fromRouteId:t,...o}))},[e,t])}var Ta={};function tf(e,t,n){!t&&!Ta[e]&&(Ta[e]=!0,Le(!1,n))}g.memo(Th);function Th({routes:e,future:t,state:n,unstable_onError:r}){return ef(e,void 0,n,r,t)}function Pt(e){H(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function zh({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:l,static:o=!1}){H(!vr(),"You cannot render a inside another . You should never have more than one in your app.");let i=e.replace(/^\/*/,"/"),u=g.useMemo(()=>({basename:i,navigator:l,static:o,future:{}}),[i,l,o]);typeof n=="string"&&(n=Bt(n));let{pathname:a="/",search:s="",hash:p="",state:h=null,key:m="default"}=n,w=g.useMemo(()=>{let x=be(a,i);return x==null?null:{location:{pathname:x,search:s,hash:p,state:h,key:m},navigationType:r}},[i,a,s,p,h,m,r]);return Le(w!=null,` is not able to match the URL "${a}${s}${p}" because it does not start with the basename, so the won't render anything.`),w==null?null:g.createElement(Ve.Provider,{value:u},g.createElement(mr.Provider,{children:t,value:w}))}function Mh({children:e,location:t}){return gh(mi(e),t)}function mi(e,t=[]){let n=[];return g.Children.forEach(e,(r,l)=>{if(!g.isValidElement(r))return;let o=[...t,l];if(r.type===g.Fragment){n.push.apply(n,mi(r.props.children,o));return}H(r.type===Pt,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),H(!r.props.index||!r.props.children,"An index route cannot have child routes.");let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=mi(r.props.children,o)),n.push(i)}),n}var Kr="get",Jr="application/x-www-form-urlencoded";function Bl(e){return e!=null&&typeof e.tagName=="string"}function _h(e){return Bl(e)&&e.tagName.toLowerCase()==="button"}function Ih(e){return Bl(e)&&e.tagName.toLowerCase()==="form"}function Dh(e){return Bl(e)&&e.tagName.toLowerCase()==="input"}function Ah(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Oh(e,t){return e.button===0&&(!t||t==="_self")&&!Ah(e)}var Or=null;function Fh(){if(Or===null)try{new FormData(document.createElement("form"),0),Or=!1}catch{Or=!0}return Or}var Uh=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function xo(e){return e!=null&&!Uh.has(e)?(Le(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Jr}"`),null):e}function Bh(e,t){let n,r,l,o,i;if(Ih(e)){let u=e.getAttribute("action");r=u?be(u,t):null,n=e.getAttribute("method")||Kr,l=xo(e.getAttribute("enctype"))||Jr,o=new FormData(e)}else if(_h(e)||Dh(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a + + +
+ + {showWaitButton ? ( + + ) : ( + + )} +
+ + + + ); +}; + +export default UI6; diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..33c8e3d --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": [ + "ES2020", + "DOM", + "DOM.Iterable" + ], + "module": "ESNext", + "skipLibCheck": true, + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": [ + "src" + ] +} \ No newline at end of file diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..0bef6c9 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,11 @@ +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [react()], + base: "./", // 纭繚璧勬簮璺緞鏄浉瀵圭殑锛屼互渚垮湪 Electron 涓姞杞 + server: { + port: 5173, + }, +});