From bae8bd4a014bb1a72f34d2ba1af4fc8a54ac141e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=BE=99?= Date: Mon, 6 Apr 2026 18:36:14 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=86=E7=B1=BB=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=90=8E=E5=85=B3=E9=97=AD=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/dist/assets/index-CoDTdT-2.css | 1 + frontend/dist/assets/index-kg_FzRi-.js | 45 ++++++++++++++++++++++++ frontend/dist/favicon.svg | 10 ++++++ frontend/dist/fonts/Inter-Bold.woff2 | 1 + frontend/dist/fonts/Inter-Medium.woff2 | 1 + frontend/dist/fonts/Inter-Regular.woff2 | 1 + frontend/dist/fonts/Inter-SemiBold.woff2 | 1 + frontend/dist/index.html | 23 ++++++++++++ frontend/src/App.jsx | 3 +- 9 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 frontend/dist/assets/index-CoDTdT-2.css create mode 100644 frontend/dist/assets/index-kg_FzRi-.js create mode 100644 frontend/dist/favicon.svg create mode 100644 frontend/dist/fonts/Inter-Bold.woff2 create mode 100644 frontend/dist/fonts/Inter-Medium.woff2 create mode 100644 frontend/dist/fonts/Inter-Regular.woff2 create mode 100644 frontend/dist/fonts/Inter-SemiBold.woff2 create mode 100644 frontend/dist/index.html diff --git a/frontend/dist/assets/index-CoDTdT-2.css b/frontend/dist/assets/index-CoDTdT-2.css new file mode 100644 index 0000000..2102465 --- /dev/null +++ b/frontend/dist/assets/index-CoDTdT-2.css @@ -0,0 +1 @@ +*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%}body{font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,-apple-system,sans-serif;font-size:14px;line-height:1.6;color:#333;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;-webkit-font-smoothing:antialiased}.app{display:flex;min-height:100vh}.sidebar{width:240px;background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-right:1px solid rgba(255,255,255,.2);display:flex;flex-direction:column;flex-shrink:0}.sidebar-header{padding:20px;border-bottom:1px solid rgba(0,0,0,.05)}.logo{display:flex;align-items:center;gap:10px}.logo-icon{width:36px;height:36px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px}.logo-text{font-size:16px;font-weight:600;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.categories-section{flex:1;overflow-y:auto;padding:16px 12px}.categories-title{font-size:11px;font-weight:600;color:#999;text-transform:uppercase;letter-spacing:.5px;padding:0 8px;margin-bottom:8px}.category-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;cursor:pointer;transition:all .2s ease;margin-bottom:4px;color:#666;font-size:13px;flex:1;min-width:0}.category-item:hover{background:#667eea14;color:#667eea}.category-item.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.category-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:#0000000a;font-size:14px;flex-shrink:0}.category-item.active .category-icon{background:#fff3}.category-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-count{font-size:11px;padding:2px 6px;background:#0000000f;border-radius:10px;flex-shrink:0}.category-item.active .category-count{background:#fff3}.category-item-wrapper{display:flex;align-items:center;gap:4px}.category-edit-btn{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#999;cursor:pointer;border-radius:4px;opacity:0;transition:all .2s ease;flex-shrink:0}.category-item-wrapper:hover .category-edit-btn{opacity:1}.category-edit-btn:hover{background:#667eea1a;color:#667eea}.sidebar-footer{padding:16px;border-top:1px solid rgba(0,0,0,.05);display:flex;flex-direction:column;gap:8px}.add-btn{width:100%;height:40px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:13px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:all .2s ease;box-shadow:0 4px 12px #667eea4d}.add-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px #667eea66}.add-btn.secondary{background:#fffffff2;color:#667eea;border:1.5px solid #667eea;box-shadow:none}.add-btn.secondary:hover{background:#667eea;color:#fff}.main-content{flex:1;padding:32px;overflow-y:auto}.search-bar{max-width:600px;margin-bottom:32px;position:relative}.search-input{width:100%;height:48px;padding:0 20px 0 48px;background:#fffffff2;border:2px solid transparent;border-radius:24px;font-size:14px;color:#333;box-shadow:0 4px 20px #0000001a;transition:all .2s ease}.search-input:focus{outline:none;border-color:#667eea80;box-shadow:0 4px 25px #667eea33}.search-icon{position:absolute;left:18px;top:50%;transform:translateY(-50%);color:#999}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.2)}.section-count{font-size:13px;font-weight:400;opacity:.8}.website-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}.site-card{position:relative;background:#fff;border-radius:16px;padding:20px;min-height:140px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 20px #00000014;overflow:hidden}.site-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);opacity:0;transition:opacity .3s ease}.site-card:hover{transform:translateY(-6px);box-shadow:0 16px 50px #667eea40}.site-card:hover:before{opacity:1}.site-card:hover .card-bottom-actions{opacity:1}.card-bottom-actions{position:absolute;bottom:12px;left:12px;right:12px;display:flex;gap:6px;justify-content:flex-end;align-items:center;opacity:0;transition:opacity .2s ease}.site-card:hover .external-icon{opacity:0}.card-icon{width:52px;height:52px;background:linear-gradient(135deg,#f5f7fa,#e4e8ec);border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;transition:all .3s ease}.site-card:hover .card-icon{transform:scale(1.05);background:linear-gradient(135deg,#667eea15,#764ba215)}.card-icon img{width:28px;height:28px;-o-object-fit:contain;object-fit:contain}.card-icon svg{width:26px;height:26px;color:#667eea}.card-name{font-size:14px;font-weight:600;color:#1a1a1a;margin-bottom:4px;padding-right:80px}.card-desc{font-size:12px;color:#888;padding-right:80px}.card-category{position:absolute;top:12px;right:12px;display:inline-block;padding:4px 10px;background:linear-gradient(135deg,#667eea20,#764ba220);border-radius:6px;font-size:11px;font-weight:500;color:#667eea}.card-favorite{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:#f5f5f5;color:#ccc;cursor:pointer;border-radius:8px;padding:0;transition:all .2s ease}.card-favorite:hover,.card-favorite.active{color:#fbbf24;background:#fef3c7}.card-actions{position:absolute;bottom:12px;right:12px;display:flex;gap:4px;padding:4px;background:#fffffff2;border-radius:10px;box-shadow:0 2px 10px #0000001a;opacity:0;transition:all .2s ease}.action-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:#f5f5f5;color:#888;cursor:pointer;border-radius:8px;transition:all .2s ease}.action-btn:hover{border-color:#667eea;color:#667eea;transform:scale(1.05)}.action-btn.delete:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}.external-icon{position:absolute;bottom:14px;right:14px;color:#ccc;opacity:0;transition:all .2s ease}.empty-state{text-align:center;padding:80px 40px;background:#fffffff2;border-radius:24px;box-shadow:0 8px 40px #0000001a}.empty-icon{width:100px;height:100px;margin:0 auto 24px;background:linear-gradient(135deg,#667eea15,#764ba215);border-radius:50%;display:flex;align-items:center;justify-content:center}.empty-icon svg{width:44px;height:44px;color:#667eea}.empty-title{font-size:20px;font-weight:600;color:#1a1a1a;margin-bottom:8px}.empty-desc{font-size:14px;color:#888;margin-bottom:28px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:24px}.modal{background:#fff;border-radius:20px;padding:28px;width:100%;max-width:420px;box-shadow:0 25px 80px #00000040}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-title{font-size:18px;font-weight:600;color:#1a1a1a}.modal-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:#f5f5f5;color:#888;cursor:pointer;border-radius:8px;transition:all .2s ease}.modal-close:hover{background:#eee;color:#333}.form-group{margin-bottom:18px}.form-label{display:block;font-size:13px;font-weight:500;color:#555;margin-bottom:8px}.form-input{width:100%;height:44px;padding:0 14px;border:2px solid #f0f0f0;border-radius:10px;font-size:14px;color:#333;transition:all .2s ease}.form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-select{width:100%;height:44px;padding:0 14px;border:2px solid #f0f0f0;border-radius:10px;font-size:14px;color:#333;background:#fff;cursor:pointer;transition:all .2s ease}.form-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-checkbox{display:flex;align-items:center;gap:10px;font-size:14px;color:#555;cursor:pointer}.form-checkbox input{width:18px;height:18px;accent-color:#667eea}.color-picker{width:100%;height:44px;padding:4px;border:2px solid #f0f0f0;border-radius:10px;cursor:pointer;background:#fff}.icon-picker{display:flex;flex-wrap:wrap;gap:8px}.icon-option{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:2px solid #f0f0f0;border-radius:10px;background:#fff;color:#666;cursor:pointer;transition:all .2s ease}.icon-option:hover{border-color:#667eea;color:#667eea}.icon-option.selected{border-color:#667eea;background:linear-gradient(135deg,#667eea10,#764ba210);color:#667eea}.form-actions{display:flex;gap:12px;margin-top:28px}.form-actions .btn{flex:1;height:46px;border-radius:12px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-cancel{background:#f5f5f5;border:none;color:#666}.btn-cancel:hover{background:#eee}.btn-submit{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff;box-shadow:0 4px 12px #667eea4d}.btn-submit:hover{transform:translateY(-1px);box-shadow:0 6px 16px #667eea66}.btn-submit:disabled{opacity:.5;cursor:not-allowed;transform:none}.category-form{padding-bottom:16px;border-bottom:1px solid #f0f0f0;margin-bottom:16px}.form-row{display:flex;gap:8px;margin-bottom:12px}.form-row .form-input{flex:1}.color-picker-row{display:flex;gap:8px;flex-wrap:wrap}.color-option{width:32px;height:32px;border-radius:8px;border:2px solid transparent;cursor:pointer;transition:all .2s ease}.color-option:hover{transform:scale(1.1)}.color-option.selected{border-color:#333;box-shadow:0 0 0 2px #fff}.category-list{max-height:300px;overflow-y:auto}.category-list-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:8px;transition:background .2s ease}.category-list-item:hover{background:#f5f5f5}.category-list-info{display:flex;align-items:center;gap:8px}.category-list-color{width:12px;height:12px;border-radius:50%}.category-list-name{font-size:13px;color:#333}.category-list-count{font-size:11px;color:#999}.category-list-actions{display:flex;gap:4px}.category-list-actions button{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#999;cursor:pointer;border-radius:4px;transition:all .2s ease}.category-list-actions button:hover{background:#e0e0e0;color:#333}.category-list-actions button:last-child:hover{background:#fee;color:#f44}.loading{display:flex;align-items:center;justify-content:center;min-height:300px}.spinner{width:32px;height:32px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 768px){.app{flex-direction:column}.sidebar{width:100%;max-height:40vh;border-right:none;border-bottom:1px solid rgba(255,255,255,.2)}.categories-section{display:flex;flex-wrap:wrap;gap:8px;padding:12px}.categories-title{display:none}.category-item{margin:0;padding:8px 12px;background:#0000000a;border-radius:8px}.category-count{display:none}.sidebar-footer{padding:12px}.add-btn span{display:none}.main-content{padding:20px}.search-bar{margin-bottom:20px}.search-input{height:42px}.website-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.site-card{padding:18px 16px}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#00000026;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#00000040} diff --git a/frontend/dist/assets/index-kg_FzRi-.js b/frontend/dist/assets/index-kg_FzRi-.js new file mode 100644 index 0000000..6fc2ab1 --- /dev/null +++ b/frontend/dist/assets/index-kg_FzRi-.js @@ -0,0 +1,45 @@ +(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 ta={exports:{}},Al={},na={exports:{}},z={};/** + * @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 vr=Symbol.for("react.element"),Mf=Symbol.for("react.portal"),Uf=Symbol.for("react.fragment"),If=Symbol.for("react.strict_mode"),Bf=Symbol.for("react.profiler"),$f=Symbol.for("react.provider"),Hf=Symbol.for("react.context"),Wf=Symbol.for("react.forward_ref"),Vf=Symbol.for("react.suspense"),Qf=Symbol.for("react.memo"),Kf=Symbol.for("react.lazy"),js=Symbol.iterator;function qf(e){return e===null||typeof e!="object"?null:(e=js&&e[js]||e["@@iterator"],typeof e=="function"?e:null)}var ra={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},la=Object.assign,oa={};function Pn(e,t,n){this.props=e,this.context=t,this.refs=oa,this.updater=n||ra}Pn.prototype.isReactComponent={};Pn.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")};Pn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ia(){}ia.prototype=Pn.prototype;function Ri(e,t,n){this.props=e,this.context=t,this.refs=oa,this.updater=n||ra}var Pi=Ri.prototype=new ia;Pi.constructor=Ri;la(Pi,Pn.prototype);Pi.isPureReactComponent=!0;var Rs=Array.isArray,sa=Object.prototype.hasOwnProperty,Ti={current:null},ua={key:!0,ref:!0,__self:!0,__source:!0};function aa(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)sa.call(t,r)&&!ua.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1>>1,$=N[M];if(0>>1;Ml(H,A))ce<$&&0>l(bt,H)?(N[M]=bt,N[ce]=A,M=ce):(N[M]=H,N[D]=A,M=D);else if(ce<$&&0>l(bt,A))N[M]=bt,N[ce]=A,M=ce;else break e}}return L}function l(N,L){var A=N.sortIndex-L.sortIndex;return A!==0?A:N.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],a=[],d=1,m=null,g=3,k=!1,y=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(N){for(var L=n(a);L!==null;){if(L.callback===null)r(a);else if(L.startTime<=N)r(a),L.sortIndex=L.expirationTime,t(u,L);else break;L=n(a)}}function x(N){if(S=!1,h(N),!y)if(n(u)!==null)y=!0,ee(_);else{var L=n(a);L!==null&&ht(x,L.startTime-N)}}function _(N,L){y=!1,S&&(S=!1,p(T),T=-1),k=!0;var A=g;try{for(h(L),m=n(u);m!==null&&(!(m.expirationTime>L)||N&&!ne());){var M=m.callback;if(typeof M=="function"){m.callback=null,g=m.priorityLevel;var $=M(m.expirationTime<=L);L=e.unstable_now(),typeof $=="function"?m.callback=$:m===n(u)&&r(u),h(L)}else r(u);m=n(u)}if(m!==null)var w=!0;else{var D=n(a);D!==null&&ht(x,D.startTime-L),w=!1}return w}finally{m=null,g=A,k=!1}}var R=!1,j=null,T=-1,I=5,F=-1;function ne(){return!(e.unstable_now()-FN||125M?(N.sortIndex=A,t(a,N),n(u)===null&&N===n(a)&&(S?(p(T),T=-1):S=!0,ht(x,A-M))):(N.sortIndex=$,t(u,N),y||k||(y=!0,ee(_))),N},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(N){var L=g;return function(){var A=g;g=L;try{return N.apply(this,arguments)}finally{g=A}}}})(ha);pa.exports=ha;var od=pa.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 id=ge,Fe=od;function E(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"),Lo=Object.prototype.hasOwnProperty,sd=/^[: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]*$/,Ts={},Os={};function ud(e){return Lo.call(Os,e)?!0:Lo.call(Ts,e)?!1:sd.test(e)?Os[e]=!0:(Ts[e]=!0,!1)}function ad(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 cd(e,t,n,r){if(t===null||typeof t>"u"||ad(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Se(e,t,n,r,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 ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ae[e]=new Se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ae[t]=new Se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ae[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ae[e]=new Se(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ae[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ae[e]=new Se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ae[e]=new Se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ae[e]=new Se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ae[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Li=/[\-:]([a-z])/g;function Ai(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(Li,Ai);ae[t]=new Se(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Li,Ai);ae[t]=new Se(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Li,Ai);ae[t]=new Se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ae[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)});ae.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ae[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)});function Fi(e,t,n,r){var l=ae.hasOwnProperty(t)?ae[t]:null;(l!==null?l.type!==0:r||!(2s||l[i]!==o[s]){var u=` +`+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{no=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hn(e):""}function fd(e){switch(e.tag){case 5:return Hn(e.type);case 16:return Hn("Lazy");case 13:return Hn("Suspense");case 19:return Hn("SuspenseList");case 0:case 2:case 15:return e=ro(e.type,!1),e;case 11:return e=ro(e.type.render,!1),e;case 1:return e=ro(e.type,!0),e;default:return""}}function Do(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 rn:return"Fragment";case nn:return"Portal";case Ao:return"Profiler";case zi:return"StrictMode";case Fo:return"Suspense";case zo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ga:return(e.displayName||"Context")+".Consumer";case ya:return(e._context.displayName||"Context")+".Provider";case Di:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mi:return t=e.displayName||null,t!==null?t:Do(e.type)||"Memo";case yt:t=e._payload,e=e._init;try{return Do(e(t))}catch{}}return null}function dd(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 Do(t);case 8:return t===zi?"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 Tt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function wa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pd(e){var t=wa(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 Tr(e){e._valueTracker||(e._valueTracker=pd(e))}function xa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=wa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ul(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 Mo(e,t){var n=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function As(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Tt(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 Sa(e,t){t=t.checked,t!=null&&Fi(e,"checked",t,!1)}function Uo(e,t){Sa(e,t);var n=Tt(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")?Io(e,t.type,n):t.hasOwnProperty("defaultValue")&&Io(e,t.type,Tt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fs(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 Io(e,t,n){(t!=="number"||ul(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wn=Array.isArray;function mn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function nr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Kn={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},hd=["Webkit","ms","Moz","O"];Object.keys(Kn).forEach(function(e){hd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kn[t]=Kn[e]})});function _a(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Kn.hasOwnProperty(e)&&Kn[e]?(""+t).trim():t+"px"}function Na(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=_a(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var md=J({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 Ho(e,t){if(t){if(md[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Wo(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 Vo=null;function Ui(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qo=null,yn=null,gn=null;function Ms(e){if(e=Sr(e)){if(typeof Qo!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Ul(t),Qo(e.stateNode,e.type,t))}}function ja(e){yn?gn?gn.push(e):gn=[e]:yn=e}function Ra(){if(yn){var e=yn,t=gn;if(gn=yn=null,Ms(e),t)for(e=0;e>>=0,e===0?32:31-(Nd(e)/jd|0)|0}var Lr=64,Ar=4194304;function Vn(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 dl(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 s=i&~l;s!==0?r=Vn(s):(o&=i,o!==0&&(r=Vn(o)))}else i=n&~l,i!==0?r=Vn(i):o!==0&&(r=Vn(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 wr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Xe(t),e[t]=n}function Od(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=Xn),Ks=" ",qs=!1;function Xa(e,t){switch(e){case"keyup":return op.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ja(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ln=!1;function sp(e,t){switch(e){case"compositionend":return Ja(t);case"keypress":return t.which!==32?null:(qs=!0,Ks);case"textInput":return e=t.data,e===Ks&&qs?null:e;default:return null}}function up(e,t){if(ln)return e==="compositionend"||!Ki&&Xa(e,t)?(e=Ka(),Yr=Wi=xt=null,ln=!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=Gs(n)}}function ba(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ba(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ec(){for(var e=window,t=ul();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ul(e.document)}return t}function qi(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 gp(e){var t=ec(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ba(n.ownerDocument.documentElement,n)){if(r!==null&&qi(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=Zs(n,o);var i=Zs(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,on=null,Go=null,Yn=null,Zo=!1;function bs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zo||on==null||on!==ul(r)||(r=on,"selectionStart"in r&&qi(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}),Yn&&ur(Yn,r)||(Yn=r,r=ml(Go,"onSelect"),0an||(e.current=li[an],li[an]=null,an--)}function W(e,t){an++,li[an]=e.current,e.current=t}var Ot={},me=At(Ot),Ce=At(!1),Vt=Ot;function kn(e,t){var n=e.type.contextTypes;if(!n)return Ot;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 _e(e){return e=e.childContextTypes,e!=null}function gl(){Q(Ce),Q(me)}function iu(e,t,n){if(me.current!==Ot)throw Error(E(168));W(me,t),W(Ce,n)}function ac(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(E(108,dd(e)||"Unknown",l));return J({},n,r)}function vl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ot,Vt=me.current,W(me,e),W(Ce,Ce.current),!0}function su(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=ac(e,t,Vt),r.__reactInternalMemoizedMergedChildContext=e,Q(Ce),Q(me),W(me,e)):Q(Ce),W(Ce,n)}var lt=null,Il=!1,vo=!1;function cc(e){lt===null?lt=[e]:lt.push(e)}function Pp(e){Il=!0,cc(e)}function Ft(){if(!vo&<!==null){vo=!0;var e=0,t=B;try{var n=lt;for(B=1;e>=i,l-=i,it=1<<32-Xe(t)+l|n<T?(I=j,j=null):I=j.sibling;var F=g(p,j,h[T],x);if(F===null){j===null&&(j=I);break}e&&j&&F.alternate===null&&t(p,j),f=o(F,f,T),R===null?_=F:R.sibling=F,R=F,j=I}if(T===h.length)return n(p,j),K&&zt(p,T),_;if(j===null){for(;TT?(I=j,j=null):I=j.sibling;var ne=g(p,j,F.value,x);if(ne===null){j===null&&(j=I);break}e&&j&&ne.alternate===null&&t(p,j),f=o(ne,f,T),R===null?_=ne:R.sibling=ne,R=ne,j=I}if(F.done)return n(p,j),K&&zt(p,T),_;if(j===null){for(;!F.done;T++,F=h.next())F=m(p,F.value,x),F!==null&&(f=o(F,f,T),R===null?_=F:R.sibling=F,R=F);return K&&zt(p,T),_}for(j=r(p,j);!F.done;T++,F=h.next())F=k(j,p,T,F.value,x),F!==null&&(e&&F.alternate!==null&&j.delete(F.key===null?T:F.key),f=o(F,f,T),R===null?_=F:R.sibling=F,R=F);return e&&j.forEach(function(ye){return t(p,ye)}),K&&zt(p,T),_}function C(p,f,h,x){if(typeof h=="object"&&h!==null&&h.type===rn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Pr:e:{for(var _=h.key,R=f;R!==null;){if(R.key===_){if(_=h.type,_===rn){if(R.tag===7){n(p,R.sibling),f=l(R,h.props.children),f.return=p,p=f;break e}}else if(R.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===yt&&cu(_)===R.type){n(p,R.sibling),f=l(R,h.props),f.ref=Un(p,R,h),f.return=p,p=f;break e}n(p,R);break}else t(p,R);R=R.sibling}h.type===rn?(f=Ht(h.props.children,p.mode,x,h.key),f.return=p,p=f):(x=ll(h.type,h.key,h.props,null,p.mode,x),x.ref=Un(p,f,h),x.return=p,p=x)}return i(p);case nn:e:{for(R=h.key;f!==null;){if(f.key===R)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(p,f.sibling),f=l(f,h.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=No(h,p.mode,x),f.return=p,p=f}return i(p);case yt:return R=h._init,C(p,f,R(h._payload),x)}if(Wn(h))return y(p,f,h,x);if(An(h))return S(p,f,h,x);Br(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(n(p,f.sibling),f=l(f,h),f.return=p,p=f):(n(p,f),f=_o(h,p.mode,x),f.return=p,p=f),i(p)):n(p,f)}return C}var Cn=hc(!0),mc=hc(!1),Sl=At(null),kl=null,dn=null,Gi=null;function Zi(){Gi=dn=kl=null}function bi(e){var t=Sl.current;Q(Sl),e._currentValue=t}function si(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 wn(e,t){kl=e,Gi=dn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ee=!0),e.firstContext=null)}function He(e){var t=e._currentValue;if(Gi!==e)if(e={context:e,memoizedValue:t,next:null},dn===null){if(kl===null)throw Error(E(308));dn=e,kl.dependencies={lanes:0,firstContext:e}}else dn=dn.next=e;return t}var Ut=null;function es(e){Ut===null?Ut=[e]:Ut.push(e)}function yc(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,es(t)):(n.next=l.next,l.next=n),t.interleaved=n,ft(e,r)}function ft(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 gt=!1;function ts(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gc(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 ut(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Nt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,ft(e,n)}return l=r.interleaved,l===null?(t.next=t,es(r)):(t.next=l.next,l.next=t),r.interleaved=t,ft(e,n)}function Zr(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,Bi(e,n)}}function fu(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 El(e,t,n,r){var l=e.updateQueue;gt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,a=u.next;u.next=null,i===null?o=a:i.next=a,i=u;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==i&&(s===null?d.firstBaseUpdate=a:s.next=a,d.lastBaseUpdate=u))}if(o!==null){var m=l.baseState;i=0,d=a=u=null,s=o;do{var g=s.lane,k=s.eventTime;if((r&g)===g){d!==null&&(d=d.next={eventTime:k,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,S=s;switch(g=t,k=n,S.tag){case 1:if(y=S.payload,typeof y=="function"){m=y.call(k,m,g);break e}m=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=S.payload,g=typeof y=="function"?y.call(k,m,g):y,g==null)break e;m=J({},m,g);break e;case 2:gt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,g=l.effects,g===null?l.effects=[s]:g.push(s))}else k={eventTime:k,lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(a=d=k,u=m):d=d.next=k,i|=g;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;g=s,s=g.next,g.next=null,l.lastBaseUpdate=g,l.shared.pending=null}}while(!0);if(d===null&&(u=m),l.baseState=u,l.firstBaseUpdate=a,l.lastBaseUpdate=d,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);qt|=i,e.lanes=i,e.memoizedState=m}}function du(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=xo.transition;xo.transition={};try{e(!1),t()}finally{B=n,xo.transition=r}}function Fc(){return We().memoizedState}function Ap(e,t,n){var r=Rt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},zc(e))Dc(t,n);else if(n=yc(e,t,n,r),n!==null){var l=we();Je(n,e,r,l),Mc(n,t,r)}}function Fp(e,t,n){var r=Rt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(zc(e))Dc(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,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,Ye(s,i)){var u=t.interleaved;u===null?(l.next=l,es(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=yc(e,t,l,r),n!==null&&(l=we(),Je(n,e,r,l),Mc(n,t,r))}}function zc(e){var t=e.alternate;return e===X||t!==null&&t===X}function Dc(e,t){Gn=_l=!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,Bi(e,n)}}var Nl={readContext:He,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},zp={readContext:He,useCallback:function(e,t){return be().memoizedState=[e,t===void 0?null:t],e},useContext:He,useEffect:hu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,el(4194308,4,Pc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return el(4194308,4,e,t)},useInsertionEffect:function(e,t){return el(4,2,e,t)},useMemo:function(e,t){var n=be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ap.bind(null,X,e),[r.memoizedState,e]},useRef:function(e){var t=be();return e={current:e},t.memoizedState=e},useState:pu,useDebugValue:as,useDeferredValue:function(e){return be().memoizedState=e},useTransition:function(){var e=pu(!1),t=e[0];return e=Lp.bind(null,e[1]),be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=X,l=be();if(K){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),ie===null)throw Error(E(349));Kt&30||Sc(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,hu(Ec.bind(null,r,o,e),[e]),r.flags|=2048,yr(9,kc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=be(),t=ie.identifierPrefix;if(K){var n=st,r=it;n=(r&~(1<<32-Xe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=hr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[et]=t,e[fr]=r,qc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Wo(n,r),n){case"dialog":V("cancel",e),V("close",e),l=r;break;case"iframe":case"object":case"embed":V("load",e),l=r;break;case"video":case"audio":for(l=0;ljn&&(t.flags|=128,r=!0,In(o,!1),t.lanes=4194304)}else{if(!r)if(e=Cl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),In(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!K)return de(t),null}else 2*Z()-o.renderingStartTime>jn&&n!==1073741824&&(t.flags|=128,r=!0,In(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=q.current,W(q,r?n&1|2:n&1),t):(de(t),null);case 22:case 23:return ms(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Oe&1073741824&&(de(t),t.subtreeFlags&6&&(t.flags|=8192)):de(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Wp(e,t){switch(Ji(t),t.tag){case 1:return _e(t.type)&&gl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _n(),Q(Ce),Q(me),ls(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return rs(t),null;case 13:if(Q(q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));En()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Q(q),null;case 4:return _n(),null;case 10:return bi(t.type._context),null;case 22:case 23:return ms(),null;case 24:return null;default:return null}}var Hr=!1,pe=!1,Vp=typeof WeakSet=="function"?WeakSet:Set,P=null;function pn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Y(e,t,r)}else n.current=null}function yi(e,t,n){try{n()}catch(r){Y(e,t,r)}}var _u=!1;function Qp(e,t){if(bo=pl,e=ec(),qi(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,s=-1,u=-1,a=0,d=0,m=e,g=null;t:for(;;){for(var k;m!==n||l!==0&&m.nodeType!==3||(s=i+l),m!==o||r!==0&&m.nodeType!==3||(u=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(k=m.firstChild)!==null;)g=m,m=k;for(;;){if(m===e)break t;if(g===n&&++a===l&&(s=i),g===o&&++d===r&&(u=i),(k=m.nextSibling)!==null)break;m=g,g=m.parentNode}m=k}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ei={focusedElem:e,selectionRange:n},pl=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var S=y.memoizedProps,C=y.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?S:Qe(t.type,S),C);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(x){Y(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return y=_u,_u=!1,y}function Zn(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&&yi(t,n,o)}l=l.next}while(l!==r)}}function Hl(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 gi(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 Yc(e){var t=e.alternate;t!==null&&(e.alternate=null,Yc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[et],delete t[fr],delete t[ri],delete t[jp],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 Gc(e){return e.tag===5||e.tag===3||e.tag===4}function Nu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gc(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 vi(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=yl));else if(r!==4&&(e=e.child,e!==null))for(vi(e,t,n),e=e.sibling;e!==null;)vi(e,t,n),e=e.sibling}function wi(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(wi(e,t,n),e=e.sibling;e!==null;)wi(e,t,n),e=e.sibling}var se=null,Ke=!1;function mt(e,t,n){for(n=n.child;n!==null;)Zc(e,t,n),n=n.sibling}function Zc(e,t,n){if(tt&&typeof tt.onCommitFiberUnmount=="function")try{tt.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:pe||pn(n,t);case 6:var r=se,l=Ke;se=null,mt(e,t,n),se=r,Ke=l,se!==null&&(Ke?(e=se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):se.removeChild(n.stateNode));break;case 18:se!==null&&(Ke?(e=se,n=n.stateNode,e.nodeType===8?go(e.parentNode,n):e.nodeType===1&&go(e,n),ir(e)):go(se,n.stateNode));break;case 4:r=se,l=Ke,se=n.stateNode.containerInfo,Ke=!0,mt(e,t,n),se=r,Ke=l;break;case 0:case 11:case 14:case 15:if(!pe&&(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)&&yi(n,t,i),l=l.next}while(l!==r)}mt(e,t,n);break;case 1:if(!pe&&(pn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Y(n,t,s)}mt(e,t,n);break;case 21:mt(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,mt(e,t,n),pe=r):mt(e,t,n);break;default:mt(e,t,n)}}function ju(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Vp),t.forEach(function(r){var l=eh.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ve(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*qp(r/1960))-r,10e?16:e,St===null)var r=!1;else{if(e=St,St=null,Pl=0,U&6)throw Error(E(331));var l=U;for(U|=4,P=e.current;P!==null;){var o=P,i=o.child;if(P.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uZ()-ps?$t(e,0):ds|=n),Ne(e,t)}function sf(e,t){t===0&&(e.mode&1?(t=Ar,Ar<<=1,!(Ar&130023424)&&(Ar=4194304)):t=1);var n=we();e=ft(e,t),e!==null&&(wr(e,t,n),Ne(e,n))}function bp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),sf(e,n)}function eh(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(E(314))}r!==null&&r.delete(t),sf(e,n)}var uf;uf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ce.current)Ee=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ee=!1,$p(e,t,n);Ee=!!(e.flags&131072)}else Ee=!1,K&&t.flags&1048576&&fc(t,xl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;tl(e,t),e=t.pendingProps;var l=kn(t,me.current);wn(t,n),l=is(null,t,r,e,l,n);var o=ss();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,_e(r)?(o=!0,vl(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,ts(t),l.updater=$l,t.stateNode=l,l._reactInternals=t,ai(t,r,e,n),t=di(null,t,r,!0,o,n)):(t.tag=0,K&&o&&Xi(t),ve(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(tl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=nh(r),e=Qe(r,e),l){case 0:t=fi(null,t,r,e,n);break e;case 1:t=ku(null,t,r,e,n);break e;case 11:t=xu(null,t,r,e,n);break e;case 14:t=Su(null,t,r,Qe(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Qe(r,l),fi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Qe(r,l),ku(e,t,r,l,n);case 3:e:{if(Vc(t),e===null)throw Error(E(387));r=t.pendingProps,o=t.memoizedState,l=o.element,gc(e,t),El(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=Nn(Error(E(423)),t),t=Eu(e,t,r,n,l);break e}else if(r!==l){l=Nn(Error(E(424)),t),t=Eu(e,t,r,n,l);break e}else for(Le=_t(t.stateNode.containerInfo.firstChild),Ae=t,K=!0,qe=null,n=mc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(En(),r===l){t=dt(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return vc(t),e===null&&ii(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,ti(r,l)?i=null:o!==null&&ti(r,o)&&(t.flags|=32),Wc(e,t),ve(e,t,i,n),t.child;case 6:return e===null&&ii(t),null;case 13:return Qc(e,t,n);case 4:return ns(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Cn(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Qe(r,l),xu(e,t,r,l,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,W(Sl,r._currentValue),r._currentValue=i,o!==null)if(Ye(o.value,i)){if(o.children===l.children&&!Ce.current){t=dt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=ut(-1,n&-n),u.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var d=a.pending;d===null?u.next=u:(u.next=d.next,d.next=u),a.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),si(o.return,n,t),s.lanes|=n;break}u=u.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(E(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),si(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}ve(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,wn(t,n),l=He(l),r=r(l),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,l=Qe(r,t.pendingProps),l=Qe(r.type,l),Su(e,t,r,l,n);case 15:return $c(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Qe(r,l),tl(e,t),t.tag=1,_e(r)?(e=!0,vl(t)):e=!1,wn(t,n),Uc(t,r,l),ai(t,r,l,n),di(null,t,r,!0,e,n);case 19:return Kc(e,t,n);case 22:return Hc(e,t,n)}throw Error(E(156,t.tag))};function af(e,t){return za(e,t)}function th(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 Be(e,t,n,r){return new th(e,t,n,r)}function gs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nh(e){if(typeof e=="function")return gs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Di)return 11;if(e===Mi)return 14}return 2}function Pt(e,t){var n=e.alternate;return n===null?(n=Be(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 ll(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")gs(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case rn:return Ht(n.children,l,o,t);case zi:i=8,l|=8;break;case Ao:return e=Be(12,n,t,l|2),e.elementType=Ao,e.lanes=o,e;case Fo:return e=Be(13,n,t,l),e.elementType=Fo,e.lanes=o,e;case zo:return e=Be(19,n,t,l),e.elementType=zo,e.lanes=o,e;case va:return Vl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ya:i=10;break e;case ga:i=9;break e;case Di:i=11;break e;case Mi:i=14;break e;case yt:i=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Be(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Ht(e,t,n,r){return e=Be(7,e,r,t),e.lanes=n,e}function Vl(e,t,n,r){return e=Be(22,e,r,t),e.elementType=va,e.lanes=n,e.stateNode={isHidden:!1},e}function _o(e,t,n){return e=Be(6,e,null,t),e.lanes=n,e}function No(e,t,n){return t=Be(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function rh(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=oo(0),this.expirationTimes=oo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oo(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function vs(e,t,n,r,l,o,i,s,u){return e=new rh(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Be(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ts(o),e}function lh(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pf)}catch(e){console.error(e)}}pf(),da.exports=ze;var ah=da.exports,zu=ah;Oo.createRoot=zu.createRoot,Oo.hydrateRoot=zu.hydrateRoot;function hf(e,t){return function(){return e.apply(t,arguments)}}const{toString:ch}=Object.prototype,{getPrototypeOf:ks}=Object,{iterator:Jl,toStringTag:mf}=Symbol,Yl=(e=>t=>{const n=ch.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ge=e=>(e=e.toLowerCase(),t=>Yl(t)===e),Gl=e=>t=>typeof t===e,{isArray:Ln}=Array,Rn=Gl("undefined");function Er(e){return e!==null&&!Rn(e)&&e.constructor!==null&&!Rn(e.constructor)&&je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const yf=Ge("ArrayBuffer");function fh(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&yf(e.buffer),t}const dh=Gl("string"),je=Gl("function"),gf=Gl("number"),Cr=e=>e!==null&&typeof e=="object",ph=e=>e===!0||e===!1,ol=e=>{if(Yl(e)!=="object")return!1;const t=ks(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(mf in e)&&!(Jl in e)},hh=e=>{if(!Cr(e)||Er(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},mh=Ge("Date"),yh=Ge("File"),gh=e=>!!(e&&typeof e.uri<"u"),vh=e=>e&&typeof e.getParts<"u",wh=Ge("Blob"),xh=Ge("FileList"),Sh=e=>Cr(e)&&je(e.pipe);function kh(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Du=kh(),Mu=typeof Du.FormData<"u"?Du.FormData:void 0,Eh=e=>{let t;return e&&(Mu&&e instanceof Mu||je(e.append)&&((t=Yl(e))==="formdata"||t==="object"&&je(e.toString)&&e.toString()==="[object FormData]"))},Ch=Ge("URLSearchParams"),[_h,Nh,jh,Rh]=["ReadableStream","Request","Response","Headers"].map(Ge),Ph=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _r(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,l;if(typeof e!="object"&&(e=[e]),Ln(e))for(r=0,l=e.length;r0;)if(l=n[r],t===l.toLowerCase())return l;return null}const Bt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,wf=e=>!Rn(e)&&e!==Bt;function Ci(){const{caseless:e,skipUndefined:t}=wf(this)&&this||{},n={},r=(l,o)=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const i=e&&vf(n,o)||o;ol(n[i])&&ol(l)?n[i]=Ci(n[i],l):ol(l)?n[i]=Ci({},l):Ln(l)?n[i]=l.slice():(!t||!Rn(l))&&(n[i]=l)};for(let l=0,o=arguments.length;l(_r(t,(l,o)=>{n&&je(l)?Object.defineProperty(e,o,{value:hf(l,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{value:l,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),Oh=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Lh=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Ah=(e,t,n,r)=>{let l,o,i;const s={};if(t=t||{},e==null)return t;do{for(l=Object.getOwnPropertyNames(e),o=l.length;o-- >0;)i=l[o],(!r||r(i,e,t))&&!s[i]&&(t[i]=e[i],s[i]=!0);e=n!==!1&&ks(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Fh=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},zh=e=>{if(!e)return null;if(Ln(e))return e;let t=e.length;if(!gf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Dh=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ks(Uint8Array)),Mh=(e,t)=>{const r=(e&&e[Jl]).call(e);let l;for(;(l=r.next())&&!l.done;){const o=l.value;t.call(e,o[0],o[1])}},Uh=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ih=Ge("HTMLFormElement"),Bh=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,l){return r.toUpperCase()+l}),Uu=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),$h=Ge("RegExp"),xf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};_r(n,(l,o)=>{let i;(i=t(l,o,e))!==!1&&(r[o]=i||l)}),Object.defineProperties(e,r)},Hh=e=>{xf(e,(t,n)=>{if(je(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(je(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Wh=(e,t)=>{const n={},r=l=>{l.forEach(o=>{n[o]=!0})};return Ln(e)?r(e):r(String(e).split(t)),n},Vh=()=>{},Qh=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Kh(e){return!!(e&&je(e.append)&&e[mf]==="FormData"&&e[Jl])}const qh=e=>{const t=new Array(10),n=(r,l)=>{if(Cr(r)){if(t.indexOf(r)>=0)return;if(Er(r))return r;if(!("toJSON"in r)){t[l]=r;const o=Ln(r)?[]:{};return _r(r,(i,s)=>{const u=n(i,l+1);!Rn(u)&&(o[s]=u)}),t[l]=void 0,o}}return r};return n(e,0)},Xh=Ge("AsyncFunction"),Jh=e=>e&&(Cr(e)||je(e))&&je(e.then)&&je(e.catch),Sf=((e,t)=>e?setImmediate:t?((n,r)=>(Bt.addEventListener("message",({source:l,data:o})=>{l===Bt&&o===n&&r.length&&r.shift()()},!1),l=>{r.push(l),Bt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",je(Bt.postMessage)),Yh=typeof queueMicrotask<"u"?queueMicrotask.bind(Bt):typeof process<"u"&&process.nextTick||Sf,Gh=e=>e!=null&&je(e[Jl]),v={isArray:Ln,isArrayBuffer:yf,isBuffer:Er,isFormData:Eh,isArrayBufferView:fh,isString:dh,isNumber:gf,isBoolean:ph,isObject:Cr,isPlainObject:ol,isEmptyObject:hh,isReadableStream:_h,isRequest:Nh,isResponse:jh,isHeaders:Rh,isUndefined:Rn,isDate:mh,isFile:yh,isReactNativeBlob:gh,isReactNative:vh,isBlob:wh,isRegExp:$h,isFunction:je,isStream:Sh,isURLSearchParams:Ch,isTypedArray:Dh,isFileList:xh,forEach:_r,merge:Ci,extend:Th,trim:Ph,stripBOM:Oh,inherits:Lh,toFlatObject:Ah,kindOf:Yl,kindOfTest:Ge,endsWith:Fh,toArray:zh,forEachEntry:Mh,matchAll:Uh,isHTMLForm:Ih,hasOwnProperty:Uu,hasOwnProp:Uu,reduceDescriptors:xf,freezeMethods:Hh,toObjectSet:Wh,toCamelCase:Bh,noop:Vh,toFiniteNumber:Qh,findKey:vf,global:Bt,isContextDefined:wf,isSpecCompliantForm:Kh,toJSONObject:qh,isAsyncFn:Xh,isThenable:Jh,setImmediate:Sf,asap:Yh,isIterable:Gh};let O=class kf extends Error{static from(t,n,r,l,o,i){const s=new kf(t.message,n||t.code,r,l,o);return s.cause=t,s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),i&&Object.assign(s,i),s}constructor(t,n,r,l,o){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),l&&(this.request=l),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:v.toJSONObject(this.config),code:this.code,status:this.status}}};O.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";O.ERR_BAD_OPTION="ERR_BAD_OPTION";O.ECONNABORTED="ECONNABORTED";O.ETIMEDOUT="ETIMEDOUT";O.ERR_NETWORK="ERR_NETWORK";O.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";O.ERR_DEPRECATED="ERR_DEPRECATED";O.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";O.ERR_BAD_REQUEST="ERR_BAD_REQUEST";O.ERR_CANCELED="ERR_CANCELED";O.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";O.ERR_INVALID_URL="ERR_INVALID_URL";const Zh=null;function _i(e){return v.isPlainObject(e)||v.isArray(e)}function Ef(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function jo(e,t,n){return e?e.concat(t).map(function(l,o){return l=Ef(l),!n&&o?"["+l+"]":l}).join(n?".":""):t}function bh(e){return v.isArray(e)&&!e.some(_i)}const em=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function Zl(e,t,n){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=v.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,C){return!v.isUndefined(C[S])});const r=n.metaTokens,l=n.visitor||d,o=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(t);if(!v.isFunction(l))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(v.isDate(y))return y.toISOString();if(v.isBoolean(y))return y.toString();if(!u&&v.isBlob(y))throw new O("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(y)||v.isTypedArray(y)?u&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,S,C){let p=y;if(v.isReactNative(t)&&v.isReactNativeBlob(y))return t.append(jo(C,S,o),a(y)),!1;if(y&&!C&&typeof y=="object"){if(v.endsWith(S,"{}"))S=r?S:S.slice(0,-2),y=JSON.stringify(y);else if(v.isArray(y)&&bh(y)||(v.isFileList(y)||v.endsWith(S,"[]"))&&(p=v.toArray(y)))return S=Ef(S),p.forEach(function(h,x){!(v.isUndefined(h)||h===null)&&t.append(i===!0?jo([S],x,o):i===null?S:S+"[]",a(h))}),!1}return _i(y)?!0:(t.append(jo(C,S,o),a(y)),!1)}const m=[],g=Object.assign(em,{defaultVisitor:d,convertValue:a,isVisitable:_i});function k(y,S){if(!v.isUndefined(y)){if(m.indexOf(y)!==-1)throw Error("Circular reference detected in "+S.join("."));m.push(y),v.forEach(y,function(p,f){(!(v.isUndefined(p)||p===null)&&l.call(t,p,v.isString(f)?f.trim():f,S,g))===!0&&k(p,S?S.concat(f):[f])}),m.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return k(e),t}function Iu(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Es(e,t){this._pairs=[],e&&Zl(e,this,t)}const Cf=Es.prototype;Cf.append=function(t,n){this._pairs.push([t,n])};Cf.toString=function(t){const n=t?function(r){return t.call(this,r,Iu)}:Iu;return this._pairs.map(function(l){return n(l[0])+"="+n(l[1])},"").join("&")};function tm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function _f(e,t,n){if(!t)return e;const r=n&&n.encode||tm,l=v.isFunction(n)?{serialize:n}:n,o=l&&l.serialize;let i;if(o?i=o(t,l):i=v.isURLSearchParams(t)?t.toString():new Es(t,l).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Bu{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){v.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Cs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},nm=typeof URLSearchParams<"u"?URLSearchParams:Es,rm=typeof FormData<"u"?FormData:null,lm=typeof Blob<"u"?Blob:null,om={isBrowser:!0,classes:{URLSearchParams:nm,FormData:rm,Blob:lm},protocols:["http","https","file","blob","url","data"]},_s=typeof window<"u"&&typeof document<"u",Ni=typeof navigator=="object"&&navigator||void 0,im=_s&&(!Ni||["ReactNative","NativeScript","NS"].indexOf(Ni.product)<0),sm=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",um=_s&&window.location.href||"http://localhost",am=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:_s,hasStandardBrowserEnv:im,hasStandardBrowserWebWorkerEnv:sm,navigator:Ni,origin:um},Symbol.toStringTag,{value:"Module"})),he={...am,...om};function cm(e,t){return Zl(e,new he.classes.URLSearchParams,{visitor:function(n,r,l,o){return he.isNode&&v.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function fm(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function dm(e){const t={},n=Object.keys(e);let r;const l=n.length;let o;for(r=0;r=n.length;return i=!i&&v.isArray(l)?l.length:i,u?(v.hasOwnProp(l,i)?l[i]=[l[i],r]:l[i]=r,!s):((!l[i]||!v.isObject(l[i]))&&(l[i]=[]),t(n,r,l[i],o)&&v.isArray(l[i])&&(l[i]=dm(l[i])),!s)}if(v.isFormData(e)&&v.isFunction(e.entries)){const n={};return v.forEachEntry(e,(r,l)=>{t(fm(r),l,n,0)}),n}return null}function pm(e,t,n){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Nr={transitional:Cs,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",l=r.indexOf("application/json")>-1,o=v.isObject(t);if(o&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return l?JSON.stringify(Nf(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t)||v.isReadableStream(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return cm(t,this.formSerializer).toString();if((s=v.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Zl(s?{"files[]":t}:t,u&&new u,this.formSerializer)}}return o||l?(n.setContentType("application/json",!1),pm(t)):t}],transformResponse:[function(t){const n=this.transitional||Nr.transitional,r=n&&n.forcedJSONParsing,l=this.responseType==="json";if(v.isResponse(t)||v.isReadableStream(t))return t;if(t&&v.isString(t)&&(r&&!this.responseType||l)){const i=!(n&&n.silentJSONParsing)&&l;try{return JSON.parse(t,this.parseReviver)}catch(s){if(i)throw s.name==="SyntaxError"?O.from(s,O.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:he.classes.FormData,Blob:he.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch"],e=>{Nr.headers[e]={}});const hm=v.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),mm=e=>{const t={};let n,r,l;return e&&e.split(` +`).forEach(function(i){l=i.indexOf(":"),n=i.substring(0,l).trim().toLowerCase(),r=i.substring(l+1).trim(),!(!n||t[n]&&hm[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},$u=Symbol("internals");function $n(e){return e&&String(e).trim().toLowerCase()}function il(e){return e===!1||e==null?e:v.isArray(e)?e.map(il):String(e).replace(/[\r\n]+$/,"")}function ym(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const gm=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ro(e,t,n,r,l){if(v.isFunction(r))return r.call(this,t,n);if(l&&(t=n),!!v.isString(t)){if(v.isString(r))return t.indexOf(r)!==-1;if(v.isRegExp(r))return r.test(t)}}function vm(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function wm(e,t){const n=v.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(l,o,i){return this[r].call(this,t,l,o,i)},configurable:!0})})}let Re=class{constructor(t){t&&this.set(t)}set(t,n,r){const l=this;function o(s,u,a){const d=$n(u);if(!d)throw new Error("header name must be a non-empty string");const m=v.findKey(l,d);(!m||l[m]===void 0||a===!0||a===void 0&&l[m]!==!1)&&(l[m||u]=il(s))}const i=(s,u)=>v.forEach(s,(a,d)=>o(a,d,u));if(v.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(v.isString(t)&&(t=t.trim())&&!gm(t))i(mm(t),n);else if(v.isObject(t)&&v.isIterable(t)){let s={},u,a;for(const d of t){if(!v.isArray(d))throw TypeError("Object iterator must return a key-value pair");s[a=d[0]]=(u=s[a])?v.isArray(u)?[...u,d[1]]:[u,d[1]]:d[1]}i(s,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=$n(t),t){const r=v.findKey(this,t);if(r){const l=this[r];if(!n)return l;if(n===!0)return ym(l);if(v.isFunction(n))return n.call(this,l,r);if(v.isRegExp(n))return n.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=$n(t),t){const r=v.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ro(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let l=!1;function o(i){if(i=$n(i),i){const s=v.findKey(r,i);s&&(!n||Ro(r,r[s],s,n))&&(delete r[s],l=!0)}}return v.isArray(t)?t.forEach(o):o(t),l}clear(t){const n=Object.keys(this);let r=n.length,l=!1;for(;r--;){const o=n[r];(!t||Ro(this,this[o],o,t,!0))&&(delete this[o],l=!0)}return l}normalize(t){const n=this,r={};return v.forEach(this,(l,o)=>{const i=v.findKey(r,o);if(i){n[i]=il(l),delete n[o];return}const s=t?vm(o):String(o).trim();s!==o&&delete n[o],n[s]=il(l),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return v.forEach(this,(r,l)=>{r!=null&&r!==!1&&(n[l]=t&&v.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(l=>r.set(l)),r}static accessor(t){const r=(this[$u]=this[$u]={accessors:{}}).accessors,l=this.prototype;function o(i){const s=$n(i);r[s]||(wm(l,i),r[s]=!0)}return v.isArray(t)?t.forEach(o):o(t),this}};Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);v.reduceDescriptors(Re.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});v.freezeMethods(Re);function Po(e,t){const n=this||Nr,r=t||n,l=Re.from(r.headers);let o=r.data;return v.forEach(e,function(s){o=s.call(n,o,l.normalize(),t?t.status:void 0)}),l.normalize(),o}function jf(e){return!!(e&&e.__CANCEL__)}let jr=class extends O{constructor(t,n,r){super(t??"canceled",O.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function Rf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new O("Request failed with status code "+n.status,[O.ERR_BAD_REQUEST,O.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function xm(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Sm(e,t){e=e||10;const n=new Array(e),r=new Array(e);let l=0,o=0,i;return t=t!==void 0?t:1e3,function(u){const a=Date.now(),d=r[o];i||(i=a),n[l]=u,r[l]=a;let m=o,g=0;for(;m!==l;)g+=n[m++],m=m%e;if(l=(l+1)%e,l===o&&(o=(o+1)%e),a-i{n=d,l=null,o&&(clearTimeout(o),o=null),e(...a)};return[(...a)=>{const d=Date.now(),m=d-n;m>=r?i(a,d):(l=a,o||(o=setTimeout(()=>{o=null,i(l)},r-m)))},()=>l&&i(l)]}const Ll=(e,t,n=3)=>{let r=0;const l=Sm(50,250);return km(o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,u=i-r,a=l(u),d=i<=s;r=i;const m={loaded:i,total:s,progress:s?i/s:void 0,bytes:u,rate:a||void 0,estimated:a&&s&&d?(s-i)/a:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(m)},n)},Hu=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Wu=e=>(...t)=>v.asap(()=>e(...t)),Em=he.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,he.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(he.origin),he.navigator&&/(msie|trident)/i.test(he.navigator.userAgent)):()=>!0,Cm=he.hasStandardBrowserEnv?{write(e,t,n,r,l,o,i){if(typeof document>"u")return;const s=[`${e}=${encodeURIComponent(t)}`];v.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),v.isString(r)&&s.push(`path=${r}`),v.isString(l)&&s.push(`domain=${l}`),o===!0&&s.push("secure"),v.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function _m(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Nm(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Pf(e,t,n){let r=!_m(t);return e&&(r||n==!1)?Nm(e,t):t}const Vu=e=>e instanceof Re?{...e}:e;function Jt(e,t){t=t||{};const n={};function r(a,d,m,g){return v.isPlainObject(a)&&v.isPlainObject(d)?v.merge.call({caseless:g},a,d):v.isPlainObject(d)?v.merge({},d):v.isArray(d)?d.slice():d}function l(a,d,m,g){if(v.isUndefined(d)){if(!v.isUndefined(a))return r(void 0,a,m,g)}else return r(a,d,m,g)}function o(a,d){if(!v.isUndefined(d))return r(void 0,d)}function i(a,d){if(v.isUndefined(d)){if(!v.isUndefined(a))return r(void 0,a)}else return r(void 0,d)}function s(a,d,m){if(m in t)return r(a,d);if(m in e)return r(void 0,a)}const u={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(a,d,m)=>l(Vu(a),Vu(d),m,!0)};return v.forEach(Object.keys({...e,...t}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;const m=v.hasOwnProp(u,d)?u[d]:l,g=m(e[d],t[d],d);v.isUndefined(g)&&m!==s||(n[d]=g)}),n}const Tf=e=>{const t=Jt({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:l,xsrfCookieName:o,headers:i,auth:s}=t;if(t.headers=i=Re.from(i),t.url=_f(Pf(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),v.isFormData(n)){if(he.hasStandardBrowserEnv||he.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(v.isFunction(n.getHeaders)){const u=n.getHeaders(),a=["content-type","content-length"];Object.entries(u).forEach(([d,m])=>{a.includes(d.toLowerCase())&&i.set(d,m)})}}if(he.hasStandardBrowserEnv&&(r&&v.isFunction(r)&&(r=r(t)),r||r!==!1&&Em(t.url))){const u=l&&o&&Cm.read(o);u&&i.set(l,u)}return t},jm=typeof XMLHttpRequest<"u",Rm=jm&&function(e){return new Promise(function(n,r){const l=Tf(e);let o=l.data;const i=Re.from(l.headers).normalize();let{responseType:s,onUploadProgress:u,onDownloadProgress:a}=l,d,m,g,k,y;function S(){k&&k(),y&&y(),l.cancelToken&&l.cancelToken.unsubscribe(d),l.signal&&l.signal.removeEventListener("abort",d)}let C=new XMLHttpRequest;C.open(l.method.toUpperCase(),l.url,!0),C.timeout=l.timeout;function p(){if(!C)return;const h=Re.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),_={data:!s||s==="text"||s==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:h,config:e,request:C};Rf(function(j){n(j),S()},function(j){r(j),S()},_),C=null}"onloadend"in C?C.onloadend=p:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(p)},C.onabort=function(){C&&(r(new O("Request aborted",O.ECONNABORTED,e,C)),C=null)},C.onerror=function(x){const _=x&&x.message?x.message:"Network Error",R=new O(_,O.ERR_NETWORK,e,C);R.event=x||null,r(R),C=null},C.ontimeout=function(){let x=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const _=l.transitional||Cs;l.timeoutErrorMessage&&(x=l.timeoutErrorMessage),r(new O(x,_.clarifyTimeoutError?O.ETIMEDOUT:O.ECONNABORTED,e,C)),C=null},o===void 0&&i.setContentType(null),"setRequestHeader"in C&&v.forEach(i.toJSON(),function(x,_){C.setRequestHeader(_,x)}),v.isUndefined(l.withCredentials)||(C.withCredentials=!!l.withCredentials),s&&s!=="json"&&(C.responseType=l.responseType),a&&([g,y]=Ll(a,!0),C.addEventListener("progress",g)),u&&C.upload&&([m,k]=Ll(u),C.upload.addEventListener("progress",m),C.upload.addEventListener("loadend",k)),(l.cancelToken||l.signal)&&(d=h=>{C&&(r(!h||h.type?new jr(null,e,C):h),C.abort(),C=null)},l.cancelToken&&l.cancelToken.subscribe(d),l.signal&&(l.signal.aborted?d():l.signal.addEventListener("abort",d)));const f=xm(l.url);if(f&&he.protocols.indexOf(f)===-1){r(new O("Unsupported protocol "+f+":",O.ERR_BAD_REQUEST,e));return}C.send(o||null)})},Pm=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,l;const o=function(a){if(!l){l=!0,s();const d=a instanceof Error?a:this.reason;r.abort(d instanceof O?d:new jr(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,o(new O(`timeout of ${t}ms exceeded`,O.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:u}=r;return u.unsubscribe=()=>v.asap(s),u}},Tm=function*(e,t){let n=e.byteLength;if(n{const l=Om(e,t);let o=0,i,s=u=>{i||(i=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:a,value:d}=await l.next();if(a){s(),u.close();return}let m=d.byteLength;if(n){let g=o+=m;n(g)}u.enqueue(new Uint8Array(d))}catch(a){throw s(a),a}},cancel(u){return s(u),l.return()}},{highWaterMark:2})},Ku=64*1024,{isFunction:Qr}=v,Am=(({Request:e,Response:t})=>({Request:e,Response:t}))(v.global),{ReadableStream:qu,TextEncoder:Xu}=v.global,Ju=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Fm=e=>{e=v.merge.call({skipUndefined:!0},Am,e);const{fetch:t,Request:n,Response:r}=e,l=t?Qr(t):typeof fetch=="function",o=Qr(n),i=Qr(r);if(!l)return!1;const s=l&&Qr(qu),u=l&&(typeof Xu=="function"?(y=>S=>y.encode(S))(new Xu):async y=>new Uint8Array(await new n(y).arrayBuffer())),a=o&&s&&Ju(()=>{let y=!1;const S=new qu,C=new n(he.origin,{body:S,method:"POST",get duplex(){return y=!0,"half"}}).headers.has("Content-Type");return S.cancel(),y&&!C}),d=i&&s&&Ju(()=>v.isReadableStream(new r("").body)),m={stream:d&&(y=>y.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(y=>{!m[y]&&(m[y]=(S,C)=>{let p=S&&S[y];if(p)return p.call(S);throw new O(`Response type '${y}' is not supported`,O.ERR_NOT_SUPPORT,C)})});const g=async y=>{if(y==null)return 0;if(v.isBlob(y))return y.size;if(v.isSpecCompliantForm(y))return(await new n(he.origin,{method:"POST",body:y}).arrayBuffer()).byteLength;if(v.isArrayBufferView(y)||v.isArrayBuffer(y))return y.byteLength;if(v.isURLSearchParams(y)&&(y=y+""),v.isString(y))return(await u(y)).byteLength},k=async(y,S)=>{const C=v.toFiniteNumber(y.getContentLength());return C??g(S)};return async y=>{let{url:S,method:C,data:p,signal:f,cancelToken:h,timeout:x,onDownloadProgress:_,onUploadProgress:R,responseType:j,headers:T,withCredentials:I="same-origin",fetchOptions:F}=Tf(y),ne=t||fetch;j=j?(j+"").toLowerCase():"text";let ye=Pm([f,h&&h.toAbortSignal()],x),Pe=null;const Te=ye&&ye.unsubscribe&&(()=>{ye.unsubscribe()});let Zt;try{if(R&&a&&C!=="get"&&C!=="head"&&(Zt=await k(T,p))!==0){let M=new n(S,{method:"POST",body:p,duplex:"half"}),$;if(v.isFormData(p)&&($=M.headers.get("content-type"))&&T.setContentType($),M.body){const[w,D]=Hu(Zt,Ll(Wu(R)));p=Qu(M.body,Ku,w,D)}}v.isString(I)||(I=I?"include":"omit");const ee=o&&"credentials"in n.prototype,ht={...F,signal:ye,method:C.toUpperCase(),headers:T.normalize().toJSON(),body:p,duplex:"half",credentials:ee?I:void 0};Pe=o&&new n(S,ht);let N=await(o?ne(Pe,F):ne(S,ht));const L=d&&(j==="stream"||j==="response");if(d&&(_||L&&Te)){const M={};["status","statusText","headers"].forEach(H=>{M[H]=N[H]});const $=v.toFiniteNumber(N.headers.get("content-length")),[w,D]=_&&Hu($,Ll(Wu(_),!0))||[];N=new r(Qu(N.body,Ku,w,()=>{D&&D(),Te&&Te()}),M)}j=j||"text";let A=await m[v.findKey(m,j)||"text"](N,y);return!L&&Te&&Te(),await new Promise((M,$)=>{Rf(M,$,{data:A,headers:Re.from(N.headers),status:N.status,statusText:N.statusText,config:y,request:Pe})})}catch(ee){throw Te&&Te(),ee&&ee.name==="TypeError"&&/Load failed|fetch/i.test(ee.message)?Object.assign(new O("Network Error",O.ERR_NETWORK,y,Pe,ee&&ee.response),{cause:ee.cause||ee}):O.from(ee,ee&&ee.code,y,Pe,ee&&ee.response)}}},zm=new Map,Of=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:l}=t,o=[r,l,n];let i=o.length,s=i,u,a,d=zm;for(;s--;)u=o[s],a=d.get(u),a===void 0&&d.set(u,a=s?new Map:Fm(t)),d=a;return a};Of();const Ns={http:Zh,xhr:Rm,fetch:{get:Of}};v.forEach(Ns,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Yu=e=>`- ${e}`,Dm=e=>v.isFunction(e)||e===null||e===!1;function Mm(e,t){e=v.isArray(e)?e:[e];const{length:n}=e;let r,l;const o={};for(let i=0;i`adapter ${u} `+(a===!1?"is not supported by the environment":"is not available in the build"));let s=n?i.length>1?`since : +`+i.map(Yu).join(` +`):" "+Yu(i[0]):"as no adapter specified";throw new O("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return l}const Lf={getAdapter:Mm,adapters:Ns};function To(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new jr(null,e)}function Gu(e){return To(e),e.headers=Re.from(e.headers),e.data=Po.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Lf.getAdapter(e.adapter||Nr.adapter,e)(e).then(function(r){return To(e),r.data=Po.call(e,e.transformResponse,r),r.headers=Re.from(r.headers),r},function(r){return jf(r)||(To(e),r&&r.response&&(r.response.data=Po.call(e,e.transformResponse,r.response),r.response.headers=Re.from(r.response.headers))),Promise.reject(r)})}const Af="1.14.0",bl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{bl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Zu={};bl.transitional=function(t,n,r){function l(o,i){return"[Axios v"+Af+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,s)=>{if(t===!1)throw new O(l(i," has been removed"+(n?" in "+n:"")),O.ERR_DEPRECATED);return n&&!Zu[i]&&(Zu[i]=!0,console.warn(l(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,s):!0}};bl.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Um(e,t,n){if(typeof e!="object")throw new O("options must be an object",O.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let l=r.length;for(;l-- >0;){const o=r[l],i=t[o];if(i){const s=e[o],u=s===void 0||i(s,o,e);if(u!==!0)throw new O("option "+o+" must be "+u,O.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new O("Unknown option "+o,O.ERR_BAD_OPTION)}}const sl={assertOptions:Um,validators:bl},Me=sl.validators;let Wt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Bu,response:new Bu}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const o=l.stack?l.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Jt(this.defaults,n);const{transitional:r,paramsSerializer:l,headers:o}=n;r!==void 0&&sl.assertOptions(r,{silentJSONParsing:Me.transitional(Me.boolean),forcedJSONParsing:Me.transitional(Me.boolean),clarifyTimeoutError:Me.transitional(Me.boolean),legacyInterceptorReqResOrdering:Me.transitional(Me.boolean)},!1),l!=null&&(v.isFunction(l)?n.paramsSerializer={serialize:l}:sl.assertOptions(l,{encode:Me.function,serialize:Me.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),sl.assertOptions(n,{baseUrl:Me.spelling("baseURL"),withXsrfToken:Me.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&v.merge(o.common,o[n.method]);o&&v.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Re.concat(i,o);const s=[];let u=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen=="function"&&S.runWhen(n)===!1)return;u=u&&S.synchronous;const C=n.transitional||Cs;C&&C.legacyInterceptorReqResOrdering?s.unshift(S.fulfilled,S.rejected):s.push(S.fulfilled,S.rejected)});const a=[];this.interceptors.response.forEach(function(S){a.push(S.fulfilled,S.rejected)});let d,m=0,g;if(!u){const y=[Gu.bind(this),void 0];for(y.unshift(...s),y.push(...a),g=y.length,d=Promise.resolve(n);m{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](l);r._listeners=null}),this.promise.then=l=>{let o;const i=new Promise(s=>{r.subscribe(s),o=s}).then(l);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,s){r.reason||(r.reason=new jr(o,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ff(function(l){t=l}),cancel:t}}};function Bm(e){return function(n){return e.apply(null,n)}}function $m(e){return v.isObject(e)&&e.isAxiosError===!0}const ji={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ji).forEach(([e,t])=>{ji[t]=e});function zf(e){const t=new Wt(e),n=hf(Wt.prototype.request,t);return v.extend(n,Wt.prototype,t,{allOwnKeys:!0}),v.extend(n,t,null,{allOwnKeys:!0}),n.create=function(l){return zf(Jt(e,l))},n}const b=zf(Nr);b.Axios=Wt;b.CanceledError=jr;b.CancelToken=Im;b.isCancel=jf;b.VERSION=Af;b.toFormData=Zl;b.AxiosError=O;b.Cancel=b.CanceledError;b.all=function(t){return Promise.all(t)};b.spread=Bm;b.isAxiosError=$m;b.mergeConfig=Jt;b.AxiosHeaders=Re;b.formToJSON=e=>Nf(v.isHTMLForm(e)?new FormData(e):e);b.getAdapter=Lf.getAdapter;b.HttpStatusCode=ji;b.default=b;const{Axios:Xm,AxiosError:Jm,CanceledError:Ym,isCancel:Gm,CancelToken:Zm,VERSION:bm,all:ey,Cancel:ty,isAxiosError:ny,spread:ry,toFormData:ly,AxiosHeaders:oy,HttpStatusCode:iy,formToJSON:sy,getAdapter:uy,mergeConfig:ay}=b,Hm="/api",ot=b.create({baseURL:Hm,timeout:1e4,headers:{"Content-Type":"application/json"}}),Kr={getAll:()=>ot.get("/categories"),create:e=>ot.post("/categories",e),update:(e,t)=>ot.put(`/categories/${e}`,t),delete:e=>ot.delete(`/categories/${e}`)},tn={getAll:e=>{const t=e?{category_id:e}:{};return ot.get("/websites",{params:t})},create:e=>ot.post("/websites",e),update:(e,t)=>ot.put(`/websites/${e}`,t),delete:e=>ot.delete(`/websites/${e}`),click:e=>ot.post(`/websites/${e}/click`)},bu=["book","briefcase","code","dollar-sign","edit","folder","globe","heart","home","layers","link","map-pin","message-circle","monitor","music","package","settings","shopping-cart","star","tool","truck","video","zap"],Wm=["#667eea","#764ba2","#f56565","#ed8936","#ecc94b","#48bb78","#38b2ac","#4299e1","#9f7aea","#ed64a6"],G=({name:e,size:t=16})=>{const n={bookmark:c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("path",{d:"M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"})}),search:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("circle",{cx:"11",cy:"11",r:"8"}),c.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]}),plus:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),c.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]}),folder:c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"})}),star:c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"})}),globe:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("circle",{cx:"12",cy:"12",r:"10"}),c.jsx("line",{x1:"2",y1:"12",x2:"22",y2:"12"})]}),edit:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("path",{d:"M12 20h9"}),c.jsx("path",{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"})]}),trash:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("polyline",{points:"3 6 5 6 21 6"}),c.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]}),x:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),c.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),grip:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("circle",{cx:"9",cy:"6",r:"1"}),c.jsx("circle",{cx:"15",cy:"6",r:"1"}),c.jsx("circle",{cx:"9",cy:"12",r:"1"}),c.jsx("circle",{cx:"15",cy:"12",r:"1"}),c.jsx("circle",{cx:"9",cy:"18",r:"1"}),c.jsx("circle",{cx:"15",cy:"18",r:"1"})]}),book:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),c.jsx("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"})]}),briefcase:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("rect",{x:"2",y:"7",width:"20",height:"14",rx:"2"}),c.jsx("path",{d:"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"})]}),code:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("polyline",{points:"16 18 22 12 16 6"}),c.jsx("polyline",{points:"8 6 2 12 8 18"})]}),"dollar-sign":c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"23"}),c.jsx("path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"})]}),heart:c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"})}),home:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("path",{d:"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),c.jsx("polyline",{points:"9 22 9 12 15 12 15 22"})]}),layers:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("polygon",{points:"12 2 2 7 12 12 22 7 12 2"}),c.jsx("polyline",{points:"2 17 12 22 22 17"}),c.jsx("polyline",{points:"2 12 12 17 22 12"})]}),link:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),c.jsx("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})]}),"map-pin":c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),c.jsx("circle",{cx:"12",cy:"10",r:"3"})]}),"message-circle":c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("path",{d:"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"})}),monitor:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2"}),c.jsx("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),c.jsx("line",{x1:"12",y1:"17",x2:"12",y2:"21"})]}),music:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("path",{d:"M9 18V5l12-2v13"}),c.jsx("circle",{cx:"6",cy:"18",r:"3"}),c.jsx("circle",{cx:"18",cy:"16",r:"3"})]}),package:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("line",{x1:"16.5",y1:"9.4",x2:"7.5",y2:"4.21"}),c.jsx("path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"}),c.jsx("polyline",{points:"3.27 6.96 12 12.01 20.73 6.96"}),c.jsx("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"})]}),settings:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("circle",{cx:"12",cy:"12",r:"3"}),c.jsx("path",{d:"M12 1v2m0 18v2M4.22 4.22l1.42 1.42m12.72 12.72l1.42 1.42M1 12h2m18 0h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"})]}),"shopping-cart":c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("circle",{cx:"9",cy:"21",r:"1"}),c.jsx("circle",{cx:"20",cy:"21",r:"1"}),c.jsx("path",{d:"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"})]}),tool:c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"})}),truck:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("rect",{x:"1",y:"3",width:"15",height:"13"}),c.jsx("polygon",{points:"16 8 20 8 20 16 16 16 16 8"}),c.jsx("circle",{cx:"5.5",cy:"18.5",r:"2.5"}),c.jsx("circle",{cx:"18.5",cy:"18.5",r:"2.5"})]}),video:c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[c.jsx("polygon",{points:"23 7 16 12 23 5 23 19 16 19 16 12 23 7"}),c.jsx("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2"})]}),zap:c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"})})};return n[e]||n.globe};function Vm(){var $;const[e,t]=ge.useState([]),[n,r]=ge.useState([]),[l,o]=ge.useState(null),[i,s]=ge.useState(""),[u,a]=ge.useState({show:!1,type:"website",data:null}),[d,m]=ge.useState(!1),[g,k]=ge.useState({name:"",icon:"folder",color:"#667eea",sort_order:0}),[y,S]=ge.useState(null),[C,p]=ge.useState(!0),[f,h]=ge.useState(!1),[x,_]=ge.useState({name:"",url:"",icon:"",description:"",category_id:"",is_favorite:!1});ge.useEffect(()=>{R()},[]);const R=async()=>{p(!0);try{const[w,D]=await Promise.all([Kr.getAll(),tn.getAll()]);t(w.data||[]),r(D.data||[])}catch(w){console.error(w)}p(!1)},j=n.filter(w=>{const D=l===null||w.category_id===l,H=i.toLowerCase().trim(),ce=!H||w.name&&w.name.toLowerCase().includes(H)||w.description&&w.description.toLowerCase().includes(H);return D&&ce}),T=j.filter(w=>w.is_favorite),I=j.filter(w=>!w.is_favorite),F=w=>n.filter(D=>D.category_id===w).length,ne=(w=null)=>{_(w?{name:w.name,url:w.url,icon:w.icon||"",description:w.description||"",category_id:w.category_id||"",is_favorite:!!w.is_favorite}:{name:"",url:"",icon:"",description:"",category_id:l||"",is_favorite:!1}),a({show:!0,type:"website",data:w})},ye=()=>a({...u,show:!1,data:null}),Pe=()=>m(!0),Te=()=>{m(!1),S(null),k({name:"",icon:"folder",color:"#667eea",sort_order:0})},Zt=w=>{S(w),k({name:w.name,icon:w.icon||"folder",color:w.color||"#667eea",sort_order:w.sort_order||0})},ee=async()=>{if(!f){h(!0);try{const w={name:g.name,icon:g.icon,color:g.color,sort_order:parseInt(g.sort_order)||0};if(y)await Kr.update(y.id,w),t(e.map(D=>D.id===y.id?{...D,...w}:D));else{const H=(await Kr.create(w)).data;t([...e,H])}k({name:"",icon:"folder",color:"#667eea",sort_order:0}),S(null)}catch(w){console.error(w)}finally{h(!1)}}},ht=async w=>{var D;if(confirm("确定删除该分类?该分类下的网站将变为未分类状态。")){(D=e.find(H=>H.id===w))==null||D.name,t(e.filter(H=>H.id!==w)),r(n.map(H=>H.category_id===w?{...H,category_id:null,category:null}:H)),l===w&&o(null);try{await Kr.delete(w)}catch{R()}}},N=async()=>{var w;if(!f){h(!0);try{const D={...x,category_id:x.category_id||null},H=(w=e.find(ce=>ce.id===x.category_id))==null?void 0:w.name;if(u.data)await tn.update(u.data.id,D),r(n.map(ce=>ce.id===u.data.id?{...ce,...D,category:H?{name:H}:null}:ce));else{const bt={...(await tn.create(D)).data,category:H?{name:H}:null};r([...n,bt])}ye()}catch{}finally{h(!1)}}},L=async w=>{if(confirm("确定删除?")){r(n.filter(D=>D.id!==w));try{await tn.delete(w)}catch{R()}}},A=async w=>{try{await tn.update(w.id,{is_favorite:!w.is_favorite}),R()}catch{}},M=async w=>{try{await tn.click(w.id)}catch{}window.open(w.url,"_blank")};return C?c.jsx("div",{className:"loading",children:c.jsx("div",{className:"spinner"})}):c.jsxs("div",{className:"app",children:[c.jsxs("aside",{className:"sidebar",children:[c.jsx("div",{className:"sidebar-header",children:c.jsxs("div",{className:"logo",children:[c.jsx("div",{className:"logo-icon",children:c.jsx(G,{name:"bookmark"})}),c.jsx("span",{className:"logo-text",children:"EasyNavi"})]})}),c.jsxs("div",{className:"categories-section",children:[c.jsx("div",{className:"categories-title",children:"分类"}),c.jsxs("div",{className:`category-item ${l===null?"active":""}`,onClick:()=>o(null),children:[c.jsx("div",{className:"category-icon",children:c.jsx(G,{name:"globe",size:14})}),c.jsx("span",{className:"category-name",children:"全部网站"}),c.jsx("span",{className:"category-count",children:n.length})]}),e.map(w=>c.jsxs("div",{className:`category-item ${l===w.id?"active":""}`,onClick:()=>o(w.id),children:[c.jsx("div",{className:"category-icon",children:c.jsx(G,{name:w.icon||"folder",size:14})}),c.jsx("span",{className:"category-name",children:w.name}),c.jsx("span",{className:"category-count",children:F(w.id)})]},w.id))]}),c.jsxs("div",{className:"sidebar-footer",children:[c.jsxs("button",{className:"add-btn secondary",onClick:Pe,children:[c.jsx(G,{name:"folder",size:14}),c.jsx("span",{children:"添加分类"})]}),c.jsxs("button",{className:"add-btn",onClick:()=>ne(),children:[c.jsx(G,{name:"plus",size:14}),c.jsx("span",{children:"添加网站"})]})]})]}),c.jsxs("main",{className:"main-content",children:[c.jsxs("div",{className:"search-bar",children:[c.jsx(G,{name:"search",size:18,className:"search-icon"}),c.jsx("input",{className:"search-input",placeholder:"搜索网站名称或描述...",value:i,onChange:w=>s(w.target.value)})]}),T.length>0&&c.jsxs("div",{style:{marginBottom:36},children:[c.jsx("div",{className:"section-header",children:c.jsxs("div",{className:"section-title",children:[c.jsx(G,{name:"star",size:18})," 我的收藏 ",c.jsxs("span",{className:"section-count",children:["(",T.length,")"]})]})}),c.jsx("div",{className:"website-grid",children:T.map(w=>c.jsx(ea,{site:w,onClick:()=>M(w),onToggleFav:()=>A(w),onEdit:()=>ne(w),onDelete:()=>L(w.id)},w.id))})]}),I.length>0&&c.jsxs("div",{style:{marginBottom:36},children:[c.jsx("div",{className:"section-header",children:c.jsxs("div",{className:"section-title",children:[l?($=e.find(w=>w.id===l))==null?void 0:$.name:"全部网站",c.jsxs("span",{className:"section-count",children:["(",I.length,")"]})]})}),c.jsx("div",{className:"website-grid",children:I.map(w=>c.jsx(ea,{site:w,onClick:()=>M(w),onToggleFav:()=>A(w),onEdit:()=>ne(w),onDelete:()=>L(w.id)},w.id))})]}),j.length===0&&c.jsxs("div",{className:"empty-state",children:[c.jsx("div",{className:"empty-icon",children:c.jsx(G,{name:"globe",size:44})}),c.jsx("div",{className:"empty-title",children:i?"没有找到匹配的网站":"暂无网站"}),c.jsx("div",{className:"empty-desc",children:i?"尝试其他关键词":"点击左侧「添加网站」开始收藏"}),!i&&c.jsxs("button",{className:"add-btn",onClick:()=>ne(),children:[c.jsx(G,{name:"plus",size:14}),c.jsx("span",{children:"添加网站"})]})]})]}),u.show&&c.jsx("div",{className:"modal-overlay",onClick:ye,children:c.jsxs("div",{className:"modal",onClick:w=>w.stopPropagation(),children:[c.jsxs("div",{className:"modal-header",children:[c.jsx("div",{className:"modal-title",children:u.data?"编辑网站":"添加网站"}),c.jsx("button",{className:"modal-close",onClick:ye,children:c.jsx(G,{name:"x",size:16})})]}),c.jsxs("div",{className:"form-group",children:[c.jsx("label",{className:"form-label",children:"名称 *"}),c.jsx("input",{className:"form-input",value:x.name,onChange:w=>_({...x,name:w.target.value}),placeholder:"网站名称"})]}),c.jsxs("div",{className:"form-group",children:[c.jsx("label",{className:"form-label",children:"链接 *"}),c.jsx("input",{className:"form-input",value:x.url,onChange:w=>_({...x,url:w.target.value}),placeholder:"https://..."})]}),c.jsxs("div",{className:"form-group",children:[c.jsx("label",{className:"form-label",children:"图标(可选)"}),c.jsxs("div",{className:"icon-picker",children:[c.jsx("button",{type:"button",className:`icon-option ${x.icon?"":"selected"}`,onClick:()=>_({...x,icon:""}),children:c.jsx(G,{name:"globe",size:16})}),bu.map(w=>c.jsx("button",{type:"button",className:`icon-option ${x.icon===w?"selected":""}`,onClick:()=>_({...x,icon:w}),children:c.jsx(G,{name:w,size:16})},w))]})]}),c.jsxs("div",{className:"form-group",children:[c.jsx("label",{className:"form-label",children:"描述"}),c.jsx("input",{className:"form-input",value:x.description||"",onChange:w=>_({...x,description:w.target.value}),placeholder:"简短描述"})]}),c.jsxs("div",{className:"form-group",children:[c.jsx("label",{className:"form-label",children:"分类"}),c.jsxs("select",{className:"form-select",value:x.category_id,onChange:w=>_({...x,category_id:w.target.value}),children:[c.jsx("option",{value:"",children:"未分类"}),e.map(w=>c.jsx("option",{value:w.id,children:w.name},w.id))]})]}),c.jsx("div",{className:"form-group",children:c.jsxs("label",{className:"form-checkbox",children:[c.jsx("input",{type:"checkbox",checked:x.is_favorite,onChange:w=>_({...x,is_favorite:w.target.checked})}),"收藏"]})}),c.jsxs("div",{className:"form-actions",children:[c.jsx("button",{type:"button",className:"btn btn-cancel",onClick:ye,children:"取消"}),c.jsx("button",{type:"button",className:"btn btn-submit",onClick:N,disabled:f,children:f?"保存中...":u.data?"保存":"添加"})]})]})}),d&&c.jsx("div",{className:"modal-overlay",onClick:Te,children:c.jsxs("div",{className:"modal",style:{maxWidth:"500px"},onClick:w=>w.stopPropagation(),children:[c.jsxs("div",{className:"modal-header",children:[c.jsx("div",{className:"modal-title",children:"分类管理"}),c.jsx("button",{className:"modal-close",onClick:Te,children:c.jsx(G,{name:"x",size:16})})]}),c.jsxs("div",{className:"category-form",children:[c.jsxs("div",{className:"form-group",children:[c.jsx("label",{className:"form-label",children:"分类名称 *"}),c.jsx("input",{className:"form-input",value:g.name,onChange:w=>k({...g,name:w.target.value}),placeholder:"输入分类名称"})]}),c.jsxs("div",{className:"form-group",children:[c.jsx("label",{className:"form-label",children:"排序(数字越小越靠前)"}),c.jsx("input",{type:"number",className:"form-input",value:g.sort_order,onChange:w=>k({...g,sort_order:w.target.value}),placeholder:"0"})]}),c.jsxs("div",{className:"form-group",children:[c.jsx("label",{className:"form-label",children:"图标"}),c.jsx("div",{className:"icon-picker",children:bu.map(w=>c.jsx("button",{type:"button",className:`icon-option ${g.icon===w?"selected":""}`,onClick:()=>k({...g,icon:w}),children:c.jsx(G,{name:w,size:16})},w))})]}),c.jsxs("div",{className:"form-group",children:[c.jsx("label",{className:"form-label",children:"颜色"}),c.jsx("div",{className:"color-picker-row",children:Wm.map(w=>c.jsx("button",{type:"button",className:`color-option ${g.color===w?"selected":""}`,style:{background:w},onClick:()=>k({...g,color:w})},w))})]}),c.jsxs("div",{className:"form-actions",style:{marginTop:"20px"},children:[c.jsx("button",{type:"button",className:"btn btn-cancel",onClick:()=>{S(null),k({name:"",icon:"folder",color:"#667eea",sort_order:0})},children:"取消"}),c.jsx("button",{type:"button",className:"btn btn-submit",onClick:ee,disabled:f||!g.name,children:y?"保存修改":"添加分类"})]})]}),c.jsx("div",{className:"category-list",children:e.map(w=>c.jsxs("div",{className:"category-list-item",children:[c.jsxs("div",{className:"category-list-info",children:[c.jsx("span",{className:"category-list-color",style:{background:w.color||"#667eea"}}),c.jsx(G,{name:w.icon||"folder",size:14}),c.jsx("span",{className:"category-list-name",children:w.name}),c.jsxs("span",{className:"category-list-count",children:["(",F(w.id),")"]})]}),c.jsxs("div",{className:"category-list-actions",children:[c.jsx("button",{onClick:()=>Zt(w),children:c.jsx(G,{name:"edit",size:14})}),c.jsx("button",{onClick:()=>ht(w.id),children:c.jsx(G,{name:"trash",size:14})})]})]},w.id))})]})})]})}function ea({site:e,onClick:t,onToggleFav:n,onEdit:r,onDelete:l}){return c.jsxs("div",{className:"site-card",onClick:t,children:[e.category&&c.jsx("span",{className:"card-category",children:e.category.name}),c.jsx("div",{className:"card-icon",children:e.icon&&e.icon.startsWith("http")?c.jsx("img",{src:e.icon,alt:""}):c.jsx(G,{name:e.icon||"globe",size:26})}),c.jsx("div",{className:"card-name",children:e.name}),e.description&&c.jsx("div",{className:"card-desc",children:e.description}),c.jsxs("div",{className:"card-bottom-actions",children:[c.jsx("button",{className:`card-favorite ${e.is_favorite?"active":""}`,onClick:o=>{o.stopPropagation(),n()},children:c.jsx(G,{name:"star",size:15})}),c.jsx("button",{className:"action-btn",onClick:o=>{o.stopPropagation(),r()},children:c.jsx(G,{name:"edit",size:13})}),c.jsx("button",{className:"action-btn delete",onClick:o=>{o.stopPropagation(),l()},children:c.jsx(G,{name:"trash",size:13})})]})]})}Oo.createRoot(document.getElementById("root")).render(c.jsx(Zf.StrictMode,{children:c.jsx(Vm,{})})); diff --git a/frontend/dist/favicon.svg b/frontend/dist/favicon.svg new file mode 100644 index 0000000..5d3fa17 --- /dev/null +++ b/frontend/dist/favicon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/frontend/dist/fonts/Inter-Bold.woff2 b/frontend/dist/fonts/Inter-Bold.woff2 new file mode 100644 index 0000000..2285bc7 --- /dev/null +++ b/frontend/dist/fonts/Inter-Bold.woff2 @@ -0,0 +1 @@ +Couldn't find the requested file /fonts/Inter-Bold.woff2 in inter-font. \ No newline at end of file diff --git a/frontend/dist/fonts/Inter-Medium.woff2 b/frontend/dist/fonts/Inter-Medium.woff2 new file mode 100644 index 0000000..afad75e --- /dev/null +++ b/frontend/dist/fonts/Inter-Medium.woff2 @@ -0,0 +1 @@ +Couldn't find the requested file /fonts/Inter-Medium.woff2 in inter-font. \ No newline at end of file diff --git a/frontend/dist/fonts/Inter-Regular.woff2 b/frontend/dist/fonts/Inter-Regular.woff2 new file mode 100644 index 0000000..150e6ce --- /dev/null +++ b/frontend/dist/fonts/Inter-Regular.woff2 @@ -0,0 +1 @@ +Couldn't find the requested file /fonts/Inter-Regular.woff2 in inter-font. \ No newline at end of file diff --git a/frontend/dist/fonts/Inter-SemiBold.woff2 b/frontend/dist/fonts/Inter-SemiBold.woff2 new file mode 100644 index 0000000..9868bdf --- /dev/null +++ b/frontend/dist/fonts/Inter-SemiBold.woff2 @@ -0,0 +1 @@ +Couldn't find the requested file /fonts/Inter-SemiBold.woff2 in inter-font. \ No newline at end of file diff --git a/frontend/dist/index.html b/frontend/dist/index.html new file mode 100644 index 0000000..36316bb --- /dev/null +++ b/frontend/dist/index.html @@ -0,0 +1,23 @@ + + + + + + + 导航收藏夹 + + + + + +
+ + diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 6028e76..8014714 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -133,8 +133,7 @@ function App() { const newCat = res.data setCategories([...categories, newCat]) } - setCategoryForm({ name: '', icon: 'folder', color: '#667eea', sort_order: 0 }) - setEditingCategory(null) + closeCategoryModal() } catch (e) { console.error(e) } finally { setSaving(false) }