@kanmon-hq/tollgate-ui 0.0.5 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -5
- package/dist/api/client.d.ts +20 -3
- package/dist/components/TollgateConsole.ce.vue.d.ts +0 -1
- package/dist/config.d.ts +33 -0
- package/dist/tollgate-ui.js +2906 -2440
- package/dist/tollgate-ui.umd.cjs +64 -34
- package/dist/types/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/tollgate-ui.umd.cjs
CHANGED
|
@@ -1,143 +1,173 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(ye,ue){typeof exports=="object"&&typeof module<"u"?ue(exports):typeof define=="function"&&define.amd?define(["exports"],ue):(ye=typeof globalThis<"u"?globalThis:ye||self,ue(ye.TollgateUI={}))})(this,(function(ye){"use strict";var Iu=Object.defineProperty;var Pu=(ye,ue,xt)=>ue in ye?Iu(ye,ue,{enumerable:!0,configurable:!0,writable:!0,value:xt}):ye[ue]=xt;var er=(ye,ue,xt)=>Pu(ye,typeof ue!="symbol"?ue+"":ue,xt);var ue=typeof document<"u"?document.currentScript:null;/**
|
|
2
2
|
* @vue/shared v3.5.43
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
|
-
**/function
|
|
5
|
+
**/function xt(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const ee={},At=[],We=()=>{},Br=()=>!1,gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bs=e=>e.startsWith("onUpdate:"),fe=Object.assign,tr=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Bn=Object.prototype.hasOwnProperty,q=(e,t)=>Bn.call(e,t),O=Array.isArray,yt=e=>Jt(e)==="[object Map]",It=e=>Jt(e)==="[object Set]",qr=e=>Jt(e)==="[object Date]",U=e=>typeof e=="function",ne=e=>typeof e=="string",Ge=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Wr=e=>(X(e)||U(e))&&U(e.then)&&U(e.catch),Gr=Object.prototype.toString,Jt=e=>Gr.call(e),qn=e=>Jt(e).slice(8,-1),ms=e=>Jt(e)==="[object Object]",sr=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=xt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xs=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Wn=/-\w/g,Ie=xs(e=>e.replace(Wn,t=>t.slice(1).toUpperCase())),Gn=/\B([A-Z])/g,Le=xs(e=>e.replace(Gn,"-$1").toLowerCase()),Jr=xs(e=>e.charAt(0).toUpperCase()+e.slice(1)),rr=xs(e=>e?`on${Jr(e)}`:""),Je=(e,t)=>!Object.is(e,t),ys=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Xr=(e,t,s,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:s})},vs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Yr=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Zr;const ws=()=>Zr||(Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _s(e){if(O(e)){const t={};for(let s=0;s<e.length;s++){const r=e[s],o=ne(r)?Zn(r):_s(r);if(o)for(const n in o)t[n]=o[n]}return t}else if(ne(e)||X(e))return e}const Jn=/;(?![^(]*\))/g,Xn=/:([^]+)/,Yn=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function Zn(e){const t={};return e.replace(Yn,s=>s.startsWith("/*")?"":s).split(Jn).forEach(s=>{if(s){const r=s.split(Xn);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ne(e){let t="";if(ne(e))t=e;else if(O(e))for(let s=0;s<e.length;s++){const r=Ne(e[s]);r&&(t+=r+" ")}else if(X(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Qn=xt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Qr(e){return!!e||e===""}function ei(e,t,s){if(e.length!==t.length)return!1;let r=!0;for(let o=0;r&&o<e.length;o++)r=vt(e[o],t[o],s);return r}function eo(e,t,s){if(e.size!==t.size)return!1;const r=Array.from(t),o=new Uint8Array(r.length);for(const n of e){let i=-1;for(let l=0;l<r.length;l++)if(!o[l]&&vt(n,r[l],s)){i=l;break}if(i<0)return!1;o[i]=1}return!0}function ti(e,t,s){let r=yt(e),o=yt(t);if(r||o||(r=It(e),o=It(t),r||o))return r&&o?eo(e,t,s):!1;const n=Object.keys(e).length,i=Object.keys(t).length;if(n!==i)return!1;for(const l in e){const c=e.hasOwnProperty(l),h=t.hasOwnProperty(l);if(c&&!h||!c&&h||!vt(e[l],t[l],s))return!1}return String(e)===String(t)}function to(e,t,s,r){s||(s=[new Map,new Map]);const[o,n]=s;if(o.has(e)||n.has(t))return o.get(e)===t&&n.get(t)===e;o.set(e,t),n.set(t,e);const i=r(e,t,s);return o.delete(e),n.delete(t),i}function vt(e,t,s){if(e===t)return!0;let r=qr(e),o=qr(t);return r||o?r&&o?e.getTime()===t.getTime():!1:(r=Ge(e),o=Ge(t),r||o?e===t:(r=O(e),o=O(t),r||o?r&&o?to(e,t,s,ei):!1:(r=X(e),o=X(t),r||o?!r||!o?!1:to(e,t,s,ti):String(e)===String(t))))}function si(e,t){return e.findIndex(s=>vt(s,t))}const so=e=>!!(e&&e.__v_isRef===!0),$=e=>ne(e)?e:e==null?"":O(e)||X(e)&&(e.toString===Gr||!U(e.toString))?so(e)?$(e.value):JSON.stringify(e,ro,2):String(e),ro=(e,t)=>so(t)?ro(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[r,o],n)=>(s[or(r,n)+" =>"]=o,s),{})}:It(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>or(s))}:Ge(t)?or(t):X(t)&&!O(t)&&!ms(t)?String(t):t,or=(e,t="")=>{var s;return Ge(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
|
|
6
6
|
* @vue/reactivity v3.5.43
|
|
7
7
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
8
|
* @license MIT
|
|
9
|
-
**/let ce;class Jn{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ce&&(ce.active?(this.parent=ce,this.index=(ce.scopes||(ce.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const r=this.scopes.slice();for(t=0,s=r.length;t<s;t++)r[t].pause()}for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes){const o=this.scopes.slice();for(t=0,s=o.length;t<s;t++)o[t].resume()}const r=this.effects.slice();for(t=0,s=r.length;t<s;t++)r[t].resume()}}run(t){if(this._active){const s=ce;try{return ce=this,t()}finally{ce=s}}}on(){++this._on===1&&(this.prevScope=ce,ce=this)}off(){if(this._on>0&&--this._on===0){if(ce===this)ce=this.prevScope;else{let t=ce;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,r;for(s=0,r=this.effects.length;s<r;s++)this.effects[s].stop();for(this.effects.length=0,s=0,r=this.cleanups.length;s<r;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const o=this.scopes.slice();for(s=0,r=o.length;s<r;s++)o[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Gn(){return ce}let Q;const Gs=new WeakSet;class Wr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ce&&(ce.active?ce.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Gs.has(this)&&(Gs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,eo(this),Yr(this);const t=Q,s=Ve;Q=this,Ve=!0;try{return this.fn()}finally{Xr(this),Q=t,Ve=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Qs(t);this.deps=this.depsTail=void 0,eo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Gs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Zs(this)&&this.run()}get dirty(){return Zs(this)}}let Jr=0,Lt,Dt;function Gr(e,t=!1){if(e.flags|=8,t){e.next=Dt,Dt=e;return}e.next=Lt,Lt=e}function Ys(){Jr++}function Xs(){if(--Jr>0)return;if(Dt){let t=Dt;for(Dt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Lt;){let t=Lt;for(Lt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=s}}if(e)throw e}function Yr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xr(e){let t,s=e.depsTail,r=s;for(;r;){const o=r.prevDep;r.version===-1?(r===s&&(s=o),Qs(r),Yn(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=s}function Zs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Zr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ut)||(e.globalVersion=Ut,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Zs(e))))return;e.flags|=2;const t=e.dep,s=Q,r=Ve;Q=e,Ve=!0;try{Yr(e);const o=e.fn(e._value);(t.version===0||Le(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Q=s,Ve=r,Xr(e),e.flags&=-3}}function Qs(e,t=!1){const{dep:s,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),s.subs===e&&(s.subs=r,!r&&s.computed)){s.computed.flags&=-5;for(let n=s.computed.deps;n;n=n.nextDep)Qs(n,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Yn(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ve=!0;const Qr=[];function De(){Qr.push(Ve),Ve=!1}function Ue(){const e=Qr.pop();Ve=e===void 0?!0:e}function eo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=Q;Q=void 0;try{t()}finally{Q=s}}}let Ut=0;class Xn{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class er{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Q||!Ve||Q===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Q)s=this.activeLink=new Xn(Q,this),Q.deps?(s.prevDep=Q.depsTail,Q.depsTail.nextDep=s,Q.depsTail=s):Q.deps=Q.depsTail=s,to(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const r=s.nextDep;r.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=r),s.prevDep=Q.depsTail,s.nextDep=void 0,Q.depsTail.nextDep=s,Q.depsTail=s,Q.deps===s&&(Q.deps=r)}return s}trigger(t){this.version++,Ut++,this.notify(t)}notify(t){Ys();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Xs()}}}function to(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)to(r)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const tr=new WeakMap,bt=Symbol(""),sr=Symbol(""),Ht=Symbol("");function he(e,t,s){if(Ve&&Q){let r=tr.get(e);r||tr.set(e,r=new Map);let o=r.get(s);o||(r.set(s,o=new er),o.map=r,o.key=s),o.track()}}function Ze(e,t,s,r,o,n){const i=tr.get(e);if(!i){Ut++;return}const l=a=>{a&&a.trigger()};if(Ys(),t==="clear")i.forEach(l);else{const a=R(e),h=a&&Bs(s);if(a&&s==="length"){const p=Number(r);i.forEach((b,T)=>{(T==="length"||T===Ht||!$e(T)&&T>=p)&&l(b)})}else switch((s!==void 0||i.has(void 0))&&l(i.get(s)),h&&l(i.get(Ht)),t){case"add":a?h&&l(i.get("length")):(l(i.get(bt)),at(e)&&l(i.get(sr)));break;case"delete":a||(l(i.get(bt)),at(e)&&l(i.get(sr)));break;case"set":at(e)&&l(i.get(bt));break}}Xs()}function Tt(e){const t=z(e);return t===e||(he(t,"iterate",Ht),Ee(e))?t:ze(e)?dt(e)?t.map(s=>ut(Re(s))):t.map(ut):t.map(Re)}function gs(e){return he(e=z(e),"iterate",Ht),e}function He(e,t){return ze(e)?ut(dt(e)?Re(t):t):Re(t)}const Zn={__proto__:null,[Symbol.iterator](){return rr(this,Symbol.iterator,e=>He(this,e))},concat(...e){return Tt(this).concat(...e.map(t=>R(t)?Tt(t):t))},entries(){return rr(this,"entries",e=>(e[1]=He(this,e[1]),e))},every(e,t){return Qe(this,"every",e,t,void 0,arguments)},filter(e,t){return Qe(this,"filter",e,t,s=>s.map(r=>He(this,r)),arguments)},find(e,t){return Qe(this,"find",e,t,s=>He(this,s),arguments)},findIndex(e,t){return Qe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qe(this,"findLast",e,t,s=>He(this,s),arguments)},findLastIndex(e,t){return Qe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qe(this,"forEach",e,t,void 0,arguments)},includes(...e){return or(this,"includes",e)},indexOf(...e){return or(this,"indexOf",e)},join(e){return Tt(this).join(e)},lastIndexOf(...e){return or(this,"lastIndexOf",e)},map(e,t){return Qe(this,"map",e,t,void 0,arguments)},pop(){return zt(this,"pop")},push(...e){return zt(this,"push",e)},reduce(e,...t){return so(this,"reduce",e,t)},reduceRight(e,...t){return so(this,"reduceRight",e,t)},shift(){return zt(this,"shift")},some(e,t){return Qe(this,"some",e,t,void 0,arguments)},splice(...e){return zt(this,"splice",e)},toReversed(){return Tt(this).toReversed()},toSorted(e){return Tt(this).toSorted(e)},toSpliced(...e){return Tt(this).toSpliced(...e)},unshift(...e){return zt(this,"unshift",e)},values(){return rr(this,"values",e=>He(this,e))}};function rr(e,t,s){const r=gs(e),o=r[t]();return r!==e&&!Ee(e)&&(o._next=o.next,o.next=()=>{const n=o._next();return n.done||(n.value=s(n.value)),n}),o}const Qn=Array.prototype;function Qe(e,t,s,r,o,n){const i=gs(e),l=i!==e&&!Ee(e),a=i[t];if(a!==Qn[t]){const b=a.apply(e,n);return l?Re(b):b}let h=s;i!==e&&(l?h=function(b,T){return s.call(this,He(e,b),T,e)}:s.length>2&&(h=function(b,T){return s.call(this,b,T,e)}));const p=a.call(i,h,r);return l&&o?o(p):p}function so(e,t,s,r){const o=gs(e),n=o!==e&&!Ee(e);let i=s,l=!1;o!==e&&(n?(l=r.length===0,i=function(h,p,b){return l&&(l=!1,h=He(e,h)),s.call(this,h,He(e,p),b,e)}):s.length>3&&(i=function(h,p,b){return s.call(this,h,p,b,e)}));const a=o[t](i,...r);return l?He(e,a):a}function or(e,t,s){const r=z(e);he(r,"iterate",Ht);const o=r[t](...s);return(o===-1||o===!1)&&ar(s[0])?(s[0]=z(s[0]),r[t](...s)):o}function zt(e,t,s=[]){De(),Ys();const r=z(e)[t].apply(e,s);return Xs(),Ue(),r}const ei=ge("__proto__,__v_isRef,__isVue"),ro=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($e));function ti(e){$e(e)||(e=String(e));const t=z(this);return he(t,"has",e),t.hasOwnProperty(e)}class oo{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,r){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,n=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return n;if(s==="__v_raw")return r===(o?n?uo:co:n?ao:lo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=R(t);if(!o){let a;if(i&&(a=Zn[s]))return a;if(s==="hasOwnProperty")return ti}const l=Reflect.get(t,s,de(t)?t:r);if(($e(s)?ro.has(s):ei(s))||(o||he(t,"get",s),n))return l;if(de(l)){const a=i&&Bs(s)?l:l.value;return o&&W(a)?lr(a):a}return W(l)?o?lr(l):ir(l):l}}class no extends oo{constructor(t=!1){super(!1,t)}set(t,s,r,o){let n=t[s];const i=R(t)&&Bs(s);if(!this._isShallow){const h=ze(n);if(!Ee(r)&&!ze(r)&&(n=z(n),r=z(r)),!i&&de(n)&&!de(r))return h||(n.value=r),!0}const l=i?Number(s)<t.length:B(t,s),a=Reflect.set(t,s,r,de(t)?t:o);return t===z(o)&&a&&(l?Le(r,n)&&Ze(t,"set",s,r):Ze(t,"add",s,r)),a}deleteProperty(t,s){const r=B(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&r&&Ze(t,"delete",s,void 0),o}has(t,s){const r=Reflect.has(t,s);return(!$e(s)||!ro.has(s))&&he(t,"has",s),r}ownKeys(t){return he(t,"iterate",R(t)?"length":bt),Reflect.ownKeys(t)}}class io extends oo{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const si=new no,ri=new io,oi=new no(!0),ni=new io(!0),nr=e=>e,bs=e=>Reflect.getPrototypeOf(e);function ii(e,t,s){return function(...r){const o=this.__v_raw,n=z(o),i=at(n),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,h=o[e](...r),p=s?nr:t?ut:Re;return!t&&he(n,"iterate",a?sr:bt),ne(Object.create(h),{next(){const{value:b,done:T}=h.next();return T?{value:b,done:T}:{value:l?[p(b[0]),p(b[1])]:p(b),done:T}}})}}function ms(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function li(e,t){const s={get(o){const n=this.__v_raw,i=z(n),l=z(o);e||(Le(o,l)&&he(i,"get",o),he(i,"get",l));const{has:a}=bs(i),h=t?nr:e?ut:Re;if(a.call(i,o))return h(n.get(o));if(a.call(i,l))return h(n.get(l));n!==i&&n.get(o)},get size(){const o=this.__v_raw;return!e&&he(z(o),"iterate",bt),o.size},has(o){const n=this.__v_raw,i=z(n),l=z(o);return e||(Le(o,l)&&he(i,"has",o),he(i,"has",l)),o===l?n.has(o):n.has(o)||n.has(l)},forEach(o,n){const i=this,l=i.__v_raw,a=z(l),h=t?nr:e?ut:Re;return!e&&he(a,"iterate",bt),l.forEach((p,b)=>o.call(n,h(p),h(b),i))}};return ne(s,e?{add:ms("add"),set:ms("set"),delete:ms("delete"),clear:ms("clear")}:{add(o){const n=z(this),i=bs(n),l=z(o),a=!t&&!Ee(o)&&!ze(o)?l:o;return i.has.call(n,a)||Le(o,a)&&i.has.call(n,o)||Le(l,a)&&i.has.call(n,l)||(n.add(a),Ze(n,"add",a,a)),this},set(o,n){!t&&!Ee(n)&&!ze(n)&&(n=z(n));const i=z(this),{has:l,get:a}=bs(i);let h=l.call(i,o);h||(o=z(o),h=l.call(i,o));const p=a.call(i,o);return i.set(o,n),h?Le(n,p)&&Ze(i,"set",o,n):Ze(i,"add",o,n),this},delete(o){const n=z(this),{has:i,get:l}=bs(n);let a=i.call(n,o);a||(o=z(o),a=i.call(n,o)),l&&l.call(n,o);const h=n.delete(o);return a&&Ze(n,"delete",o,void 0),h},clear(){const o=z(this),n=o.size!==0,i=o.clear();return n&&Ze(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=ii(o,e,t)}),s}function xs(e,t){const s=li(e,t);return(r,o,n)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(B(s,o)&&o in r?s:r,o,n)}const ai={get:xs(!1,!1)},ci={get:xs(!1,!0)},di={get:xs(!0,!1)},ui={get:xs(!0,!0)},lo=new WeakMap,ao=new WeakMap,co=new WeakMap,uo=new WeakMap;function fi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ir(e){return ze(e)?e:ys(e,!1,si,ai,lo)}function pi(e){return ys(e,!1,oi,ci,ao)}function lr(e){return ys(e,!0,ri,di,co)}function $d(e){return ys(e,!0,ni,ui,uo)}function ys(e,t,s,r,o){if(!W(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const n=o.get(e);if(n)return n;const i=fi(Fn(e));if(i===0)return e;const l=new Proxy(e,i===2?r:s);return o.set(e,l),l}function dt(e){return ze(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function ze(e){return!!(e&&e.__v_isReadonly)}function Ee(e){return!!(e&&e.__v_isShallow)}function ar(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function hi(e){return!B(e,"__v_skip")&&Object.isExtensible(e)&&$r(e,"__v_skip",!0),e}const Re=e=>W(e)?ir(e):e,ut=e=>W(e)?lr(e):e;function de(e){return e?e.__v_isRef===!0:!1}function ie(e){return gi(e,!1)}function gi(e,t){return de(e)?e:new bi(e,t)}class bi{constructor(t,s){this.dep=new er,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:z(t),this._value=s?t:Re(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,r=this.__v_isShallow||Ee(t)||ze(t);t=r?t:z(t),Le(t,s)&&(this._rawValue=t,this._value=r?t:Re(t),this.dep.trigger())}}function q(e){return de(e)?e.value:e}const mi={get:(e,t,s)=>t==="__v_raw"?e:q(Reflect.get(e,t,s)),set:(e,t,s,r)=>{const o=e[t];return de(o)&&!de(s)?(o.value=s,!0):Reflect.set(e,t,s,r)}};function fo(e){return dt(e)?e:new Proxy(e,mi)}class xi{constructor(t,s,r){this.fn=t,this.setter=s,this._value=void 0,this.dep=new er(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ut-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Q!==this)return Gr(this,!0),!0}get value(){const t=this.dep.track();return Zr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function yi(e,t,s=!1){let r,o;return V(e)?r=e:(r=e.get,o=e.set),new xi(r,o,s)}const vs={},ws=new WeakMap;let mt;function vi(e,t=!1,s=mt){if(s){let r=ws.get(s);r||ws.set(s,r=[]),r.push(e)}}function wi(e,t,s=H){const{immediate:r,deep:o,once:n,scheduler:i,augmentJob:l,call:a}=s,h=I=>o?I:Ee(I)||o===!1||o===0?et(I,1):et(I);let p,b,T,P,$=!1,M=!1;if(de(e)?(b=()=>e.value,$=Ee(e)):dt(e)?(b=()=>h(e),$=!0):R(e)?(M=!0,$=e.some(I=>dt(I)||Ee(I)),b=()=>e.map(I=>{if(de(I))return I.value;if(dt(I))return h(I);if(V(I))return a?a(I,2):I()})):V(e)?t?b=a?()=>a(e,2):e:b=()=>{if(T){De();try{T()}finally{Ue()}}const I=mt;mt=p;try{return a?a(e,3,[P]):e(P)}finally{mt=I}}:b=Ke,t&&o){const I=b,te=o===!0?1/0:o;b=()=>et(I(),te)}const ee=Gn(),G=()=>{p.stop(),ee&&ee.active&&qs(ee.effects,p)};if(n&&t){const I=t;t=(...te)=>{const Ce=I(...te);return G(),Ce}}let K=M?new Array(e.length).fill(vs):vs;const j=I=>{if(!(!(p.flags&1)||!p.dirty&&!I))if(t){const te=p.run();if(I||o||$||(M?te.some((Ce,se)=>Le(Ce,K[se])):Le(te,K))){T&&T();const Ce=mt;mt=p;try{const se=[te,K===vs?void 0:M&&K[0]===vs?[]:K,P];K=te,a?a(t,3,se):t(...se)}finally{mt=Ce}}}else p.run()};return l&&l(j),p=new Wr(b),p.scheduler=i?()=>i(j,!1):j,P=I=>vi(I,!1,p),T=p.onStop=()=>{const I=ws.get(p);if(I){if(a)a(I,4);else for(const te of I)te();ws.delete(p)}},t?r?j(!0):K=p.run():i?i(j.bind(null,!0),!0):p.run(),G.pause=p.pause.bind(p),G.resume=p.resume.bind(p),G.stop=G,G}function et(e,t=1/0,s){if(t<=0||!W(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,de(e))et(e.value,t,s);else if(R(e))for(let r=0;r<e.length;r++)et(e[r],t,s);else if(gt(e)||at(e))e.forEach(r=>{et(r,t,s)});else if(cs(e)){for(const r in e)et(e[r],t,s);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&et(e[r],t,s)}return e}/**
|
|
9
|
+
**/let ge;class ri{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ge&&(ge.active?(this.parent=ge,this.index=(ge.scopes||(ge.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const r=this.scopes.slice();for(t=0,s=r.length;t<s;t++)r[t].pause()}for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes){const o=this.scopes.slice();for(t=0,s=o.length;t<s;t++)o[t].resume()}const r=this.effects.slice();for(t=0,s=r.length;t<s;t++)r[t].resume()}}run(t){if(this._active){const s=ge;try{return ge=this,t()}finally{ge=s}}}on(){++this._on===1&&(this.prevScope=ge,ge=this)}off(){if(this._on>0&&--this._on===0){if(ge===this)ge=this.prevScope;else{let t=ge;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,r;for(s=0,r=this.effects.length;s<r;s++)this.effects[s].stop();for(this.effects.length=0,s=0,r=this.cleanups.length;s<r;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const o=this.scopes.slice();for(s=0,r=o.length;s<r;s++)o[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function oi(){return ge}let te;const nr=new WeakSet;class oo{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ge&&(ge.active?ge.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,nr.has(this)&&(nr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||io(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,fo(this),lo(this);const t=te,s=He;te=this,He=!0;try{return this.fn()}finally{ao(this),te=t,He=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)cr(t);this.deps=this.depsTail=void 0,fo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?nr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ar(this)&&this.run()}get dirty(){return ar(this)}}let no=0,Yt,Zt;function io(e,t=!1){if(e.flags|=8,t){e.next=Zt,Zt=e;return}e.next=Yt,Yt=e}function ir(){no++}function lr(){if(--no>0)return;if(Zt){let t=Zt;for(Zt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Yt;){let t=Yt;for(Yt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=s}}if(e)throw e}function lo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ao(e){let t,s=e.depsTail,r=s;for(;r;){const o=r.prevDep;r.version===-1?(r===s&&(s=o),cr(r),ni(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=s}function ar(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(co(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function co(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qt)||(e.globalVersion=Qt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ar(e))))return;e.flags|=2;const t=e.dep,s=te,r=He;te=e,He=!0;try{lo(e);const o=e.fn(e._value);(t.version===0||Je(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{te=s,He=r,ao(e),e.flags&=-3}}function cr(e,t=!1){const{dep:s,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),s.subs===e&&(s.subs=r,!r&&s.computed)){s.computed.flags&=-5;for(let n=s.computed.deps;n;n=n.nextDep)cr(n,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function ni(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let He=!0;const uo=[];function Xe(){uo.push(He),He=!1}function Ye(){const e=uo.pop();He=e===void 0?!0:e}function fo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=te;te=void 0;try{t()}finally{te=s}}}let Qt=0;class ii{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class dr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!te||!He||te===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==te)s=this.activeLink=new ii(te,this),te.deps?(s.prevDep=te.depsTail,te.depsTail.nextDep=s,te.depsTail=s):te.deps=te.depsTail=s,po(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const r=s.nextDep;r.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=r),s.prevDep=te.depsTail,s.nextDep=void 0,te.depsTail.nextDep=s,te.depsTail=s,te.deps===s&&(te.deps=r)}return s}trigger(t){this.version++,Qt++,this.notify(t)}notify(t){ir();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{lr()}}}function po(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)po(r)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const ur=new WeakMap,Pt=Symbol(""),fr=Symbol(""),es=Symbol("");function ve(e,t,s){if(He&&te){let r=ur.get(e);r||ur.set(e,r=new Map);let o=r.get(s);o||(r.set(s,o=new dr),o.map=r,o.key=s),o.track()}}function lt(e,t,s,r,o,n){const i=ur.get(e);if(!i){Qt++;return}const l=c=>{c&&c.trigger()};if(ir(),t==="clear")i.forEach(l);else{const c=O(e),h=c&&sr(s);if(c&&s==="length"){const p=Number(r);i.forEach((m,A)=>{(A==="length"||A===es||!Ge(A)&&A>=p)&&l(m)})}else switch((s!==void 0||i.has(void 0))&&l(i.get(s)),h&&l(i.get(es)),t){case"add":c?h&&l(i.get("length")):(l(i.get(Pt)),yt(e)&&l(i.get(fr)));break;case"delete":c||(l(i.get(Pt)),yt(e)&&l(i.get(fr)));break;case"set":yt(e)&&l(i.get(Pt));break}}lr()}function $t(e){const t=H(e);return t===e||(ve(t,"iterate",es),Ve(e))?t:Qe(e)?wt(e)?t.map(s=>_t($e(s))):t.map(_t):t.map($e)}function ks(e){return ve(e=H(e),"iterate",es),e}function Ze(e,t){return Qe(e)?_t(wt(e)?$e(t):t):$e(t)}const li={__proto__:null,[Symbol.iterator](){return pr(this,Symbol.iterator,e=>Ze(this,e))},concat(...e){return $t(this).concat(...e.map(t=>O(t)?$t(t):t))},entries(){return pr(this,"entries",e=>(e[1]=Ze(this,e[1]),e))},every(e,t){return at(this,"every",e,t,void 0,arguments)},filter(e,t){return at(this,"filter",e,t,s=>s.map(r=>Ze(this,r)),arguments)},find(e,t){return at(this,"find",e,t,s=>Ze(this,s),arguments)},findIndex(e,t){return at(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return at(this,"findLast",e,t,s=>Ze(this,s),arguments)},findLastIndex(e,t){return at(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return at(this,"forEach",e,t,void 0,arguments)},includes(...e){return hr(this,"includes",e)},indexOf(...e){return hr(this,"indexOf",e)},join(e){return $t(this).join(e)},lastIndexOf(...e){return hr(this,"lastIndexOf",e)},map(e,t){return at(this,"map",e,t,void 0,arguments)},pop(){return ts(this,"pop")},push(...e){return ts(this,"push",e)},reduce(e,...t){return ho(this,"reduce",e,t)},reduceRight(e,...t){return ho(this,"reduceRight",e,t)},shift(){return ts(this,"shift")},some(e,t){return at(this,"some",e,t,void 0,arguments)},splice(...e){return ts(this,"splice",e)},toReversed(){return $t(this).toReversed()},toSorted(e){return $t(this).toSorted(e)},toSpliced(...e){return $t(this).toSpliced(...e)},unshift(...e){return ts(this,"unshift",e)},values(){return pr(this,"values",e=>Ze(this,e))}};function pr(e,t,s){const r=ks(e),o=r[t]();return r!==e&&!Ve(e)&&(o._next=o.next,o.next=()=>{const n=o._next();return n.done||(n.value=s(n.value)),n}),o}const ai=Array.prototype;function at(e,t,s,r,o,n){const i=ks(e),l=i!==e&&!Ve(e),c=i[t];if(c!==ai[t]){const m=c.apply(e,n);return l?$e(m):m}let h=s;i!==e&&(l?h=function(m,A){return s.call(this,Ze(e,m),A,e)}:s.length>2&&(h=function(m,A){return s.call(this,m,A,e)}));const p=c.call(i,h,r);return l&&o?o(p):p}function ho(e,t,s,r){const o=ks(e),n=o!==e&&!Ve(e);let i=s,l=!1;o!==e&&(n?(l=r.length===0,i=function(h,p,m){return l&&(l=!1,h=Ze(e,h)),s.call(this,h,Ze(e,p),m,e)}):s.length>3&&(i=function(h,p,m){return s.call(this,h,p,m,e)}));const c=o[t](i,...r);return l?Ze(e,c):c}function hr(e,t,s){const r=H(e);ve(r,"iterate",es);const o=r[t](...s);return(o===-1||o===!1)&&xr(s[0])?(s[0]=H(s[0]),r[t](...s)):o}function ts(e,t,s=[]){Xe(),ir();const r=H(e)[t].apply(e,s);return lr(),Ye(),r}const ci=xt("__proto__,__v_isRef,__isVue"),go=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge));function di(e){Ge(e)||(e=String(e));const t=H(this);return ve(t,"has",e),t.hasOwnProperty(e)}class bo{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,r){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,n=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return n;if(s==="__v_raw")return r===(o?n?_o:wo:n?vo:yo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=O(t);if(!o){let c;if(i&&(c=li[s]))return c;if(s==="hasOwnProperty")return di}const l=Reflect.get(t,s,be(t)?t:r);if((Ge(s)?go.has(s):ci(s))||(o||ve(t,"get",s),n))return l;if(be(l)){const c=i&&sr(s)?l:l.value;return o&&X(c)?mr(c):c}return X(l)?o?mr(l):br(l):l}}class mo extends bo{constructor(t=!1){super(!1,t)}set(t,s,r,o){let n=t[s];const i=O(t)&&sr(s);if(!this._isShallow){const h=Qe(n);if(!Ve(r)&&!Qe(r)&&(n=H(n),r=H(r)),!i&&be(n)&&!be(r))return h||(n.value=r),!0}const l=i?Number(s)<t.length:q(t,s),c=Reflect.set(t,s,r,be(t)?t:o);return t===H(o)&&c&&(l?Je(r,n)&<(t,"set",s,r):lt(t,"add",s,r)),c}deleteProperty(t,s){const r=q(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&r&<(t,"delete",s,void 0),o}has(t,s){const r=Reflect.has(t,s);return(!Ge(s)||!go.has(s))&&ve(t,"has",s),r}ownKeys(t){return ve(t,"iterate",O(t)?"length":Pt),Reflect.ownKeys(t)}}class xo extends bo{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const ui=new mo,fi=new xo,pi=new mo(!0),hi=new xo(!0),gr=e=>e,Ss=e=>Reflect.getPrototypeOf(e);function gi(e,t,s){return function(...r){const o=this.__v_raw,n=H(o),i=yt(n),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,h=o[e](...r),p=s?gr:t?_t:$e;return!t&&ve(n,"iterate",c?fr:Pt),fe(Object.create(h),{next(){const{value:m,done:A}=h.next();return A?{value:m,done:A}:{value:l?[p(m[0]),p(m[1])]:p(m),done:A}}})}}function Cs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bi(e,t){const s={get(o){const n=this.__v_raw,i=H(n),l=H(o);e||(Je(o,l)&&ve(i,"get",o),ve(i,"get",l));const{has:c}=Ss(i),h=t?gr:e?_t:$e;if(c.call(i,o))return h(n.get(o));if(c.call(i,l))return h(n.get(l));n!==i&&n.get(o)},get size(){const o=this.__v_raw;return!e&&ve(H(o),"iterate",Pt),o.size},has(o){const n=this.__v_raw,i=H(n),l=H(o);return e||(Je(o,l)&&ve(i,"has",o),ve(i,"has",l)),o===l?n.has(o):n.has(o)||n.has(l)},forEach(o,n){const i=this,l=i.__v_raw,c=H(l),h=t?gr:e?_t:$e;return!e&&ve(c,"iterate",Pt),l.forEach((p,m)=>o.call(n,h(p),h(m),i))}};return fe(s,e?{add:Cs("add"),set:Cs("set"),delete:Cs("delete"),clear:Cs("clear")}:{add(o){const n=H(this),i=Ss(n),l=H(o),c=!t&&!Ve(o)&&!Qe(o)?l:o;return i.has.call(n,c)||Je(o,c)&&i.has.call(n,o)||Je(l,c)&&i.has.call(n,l)||(n.add(c),lt(n,"add",c,c)),this},set(o,n){!t&&!Ve(n)&&!Qe(n)&&(n=H(n));const i=H(this),{has:l,get:c}=Ss(i);let h=l.call(i,o);h||(o=H(o),h=l.call(i,o));const p=c.call(i,o);return i.set(o,n),h?Je(n,p)&<(i,"set",o,n):lt(i,"add",o,n),this},delete(o){const n=H(this),{has:i,get:l}=Ss(n);let c=i.call(n,o);c||(o=H(o),c=i.call(n,o)),l&&l.call(n,o);const h=n.delete(o);return c&<(n,"delete",o,void 0),h},clear(){const o=H(this),n=o.size!==0,i=o.clear();return n&<(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=gi(o,e,t)}),s}function Ts(e,t){const s=bi(e,t);return(r,o,n)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(q(s,o)&&o in r?s:r,o,n)}const mi={get:Ts(!1,!1)},xi={get:Ts(!1,!0)},yi={get:Ts(!0,!1)},vi={get:Ts(!0,!0)},yo=new WeakMap,vo=new WeakMap,wo=new WeakMap,_o=new WeakMap;function wi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function br(e){return Qe(e)?e:As(e,!1,ui,mi,yo)}function _i(e){return As(e,!1,pi,xi,vo)}function mr(e){return As(e,!0,fi,yi,wo)}function Eu(e){return As(e,!0,hi,vi,_o)}function As(e,t,s,r,o){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const n=o.get(e);if(n)return n;const i=wi(qn(e));if(i===0)return e;const l=new Proxy(e,i===2?r:s);return o.set(e,l),l}function wt(e){return Qe(e)?wt(e.__v_raw):!!(e&&e.__v_isReactive)}function Qe(e){return!!(e&&e.__v_isReadonly)}function Ve(e){return!!(e&&e.__v_isShallow)}function xr(e){return e?!!e.__v_raw:!1}function H(e){const t=e&&e.__v_raw;return t?H(t):e}function ki(e){return!q(e,"__v_skip")&&Object.isExtensible(e)&&Xr(e,"__v_skip",!0),e}const $e=e=>X(e)?br(e):e,_t=e=>X(e)?mr(e):e;function be(e){return e?e.__v_isRef===!0:!1}function z(e){return Si(e,!1)}function Si(e,t){return be(e)?e:new Ci(e,t)}class Ci{constructor(t,s){this.dep=new dr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:H(t),this._value=s?t:$e(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,r=this.__v_isShallow||Ve(t)||Qe(t);t=r?t:H(t),Je(t,s)&&(this._rawValue=t,this._value=r?t:$e(t),this.dep.trigger())}}function N(e){return be(e)?e.value:e}const Ti={get:(e,t,s)=>t==="__v_raw"?e:N(Reflect.get(e,t,s)),set:(e,t,s,r)=>{const o=e[t];return be(o)&&!be(s)?(o.value=s,!0):Reflect.set(e,t,s,r)}};function ko(e){return wt(e)?e:new Proxy(e,Ti)}class Ai{constructor(t,s,r){this.fn=t,this.setter=s,this._value=void 0,this.dep=new dr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return io(this,!0),!0}get value(){const t=this.dep.track();return co(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ii(e,t,s=!1){let r,o;return U(e)?r=e:(r=e.get,o=e.set),new Ai(r,o,s)}const Is={},Ps=new WeakMap;let Mt;function Pi(e,t=!1,s=Mt){if(s){let r=Ps.get(s);r||Ps.set(s,r=[]),r.push(e)}}function Mi(e,t,s=ee){const{immediate:r,deep:o,once:n,scheduler:i,augmentJob:l,call:c}=s,h=P=>o?P:Ve(P)||o===!1||o===0?ct(P,1):ct(P);let p,m,A,I,W=!1,V=!1;if(be(e)?(m=()=>e.value,W=Ve(e)):wt(e)?(m=()=>h(e),W=!0):O(e)?(V=!0,W=e.some(P=>wt(P)||Ve(P)),m=()=>e.map(P=>{if(be(P))return P.value;if(wt(P))return h(P);if(U(P))return c?c(P,2):P()})):U(e)?t?m=c?()=>c(e,2):e:m=()=>{if(A){Xe();try{A()}finally{Ye()}}const P=Mt;Mt=p;try{return c?c(e,3,[I]):e(I)}finally{Mt=P}}:m=We,t&&o){const P=m,Z=o===!0?1/0:o;m=()=>ct(P(),Z)}const ae=oi(),re=()=>{p.stop(),ae&&ae.active&&tr(ae.effects,p)};if(n&&t){const P=t;t=(...Z)=>{const Ae=P(...Z);return re(),Ae}}let D=V?new Array(e.length).fill(Is):Is;const B=P=>{if(!(!(p.flags&1)||!p.dirty&&!P))if(t){const Z=p.run();if(P||o||W||(V?Z.some((Ae,me)=>Je(Ae,D[me])):Je(Z,D))){A&&A();const Ae=Mt;Mt=p;try{const me=[Z,D===Is?void 0:V&&D[0]===Is?[]:D,I];D=Z,c?c(t,3,me):t(...me)}finally{Mt=Ae}}}else p.run()};return l&&l(B),p=new oo(m),p.scheduler=i?()=>i(B,!1):B,I=P=>Pi(P,!1,p),A=p.onStop=()=>{const P=Ps.get(p);if(P){if(c)c(P,4);else for(const Z of P)Z();Ps.delete(p)}},t?r?B(!0):D=p.run():i?i(B.bind(null,!0),!0):p.run(),re.pause=p.pause.bind(p),re.resume=p.resume.bind(p),re.stop=re,re}function ct(e,t=1/0,s){if(t<=0||!X(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,be(e))ct(e.value,t,s);else if(O(e))for(let r=0;r<e.length;r++)ct(e[r],t,s);else if(It(e)||yt(e))e.forEach(r=>{ct(r,t,s)});else if(ms(e)){for(const r in e)ct(e[r],t,s);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ct(e[r],t,s)}return e}/**
|
|
10
10
|
* @vue/runtime-core v3.5.43
|
|
11
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
12
|
* @license MIT
|
|
13
|
-
**/const
|
|
13
|
+
**/const ss=[];let yr=!1;function Ru(e,...t){if(yr)return;yr=!0,Xe();const s=ss.length?ss[ss.length-1].component:null,r=s&&s.appContext.config.warnHandler,o=Ei();if(r)Ft(r,s,11,[e+t.map(n=>{var i,l;return(l=(i=n.toString)==null?void 0:i.call(n))!=null?l:JSON.stringify(n)}).join(""),s&&s.proxy,o.map(({vnode:n})=>`at <${vn(s,n.type)}>`).join(`
|
|
14
14
|
`),o]);else{const n=[`[Vue warn]: ${e}`,...t];o.length&&n.push(`
|
|
15
|
-
`,...
|
|
16
|
-
`],...Ci(s))}),t}function Ci({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${cn(e.component,e.type,r)}`,n=">"+s;return e.props?[o,...Si(e.props),n]:[o+n]}function Si(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(r=>{t.push(...po(r,e[r]))}),s.length>3&&t.push(" ..."),t}function po(e,t,s){return oe(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:de(t)?(t=po(e,z(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):V(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=z(t),s?t:[`${e}=`,t])}function Pt(e,t,s,r){try{return r?e(...r):e()}catch(o){_s(o,t,s)}}function Fe(e,t,s,r){if(V(e)){const o=Pt(e,t,s,r);return o&&Vr(o)&&o.catch(n=>{_s(n,t,s)}),o}if(R(e)){const o=[];for(let n=0;n<e.length;n++)o.push(Fe(e[n],t,s,r));return o}}function _s(e,t,s,r=!0){const o=t?t.vnode:null,{errorHandler:n,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||H;if(t){let l=t.parent;const a=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const p=l.ec;if(p){for(let b=0;b<p.length;b++)if(p[b](e,a,h)===!1)return}l=l.parent}if(n){De(),Pt(n,null,10,[e,a,h]),Ue();return}}Ai(e,s,o,r,i)}function Ai(e,t,s,r=!0,o=!1){if(o)throw e;console.error(e)}const be=[];let qe=-1;const It=[];let ft=null,Mt=0;const ho=Promise.resolve();let ks=null;function dr(e){const t=ks||ho;return e?t.then(this?e.bind(this):e):t}function Ti(e){let t=qe+1,s=be.length;for(;t<s;){const r=t+s>>>1,o=be[r],n=Bt(o);n<e||n===e&&o.flags&2?t=r+1:s=r}return t}function ur(e){if(!(e.flags&1)){const t=Bt(e),s=be[be.length-1];!s||!(e.flags&2)&&t>=Bt(s)?be.push(e):be.splice(Ti(t),0,e),e.flags|=1,go()}}function go(){ks||(ks=ho.then(xo))}function Pi(e){if(!R(e))ft&&e.id===-1?ft.splice(Mt+1,0,e):e.flags&1||(It.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)It.push(e[t]);go()}function bo(e,t,s=qe+1){for(;s<be.length;s++){const r=be[s];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;be.splice(s,1),s--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function mo(e){if(It.length){const t=[...new Set(It)].sort((s,r)=>Bt(s)-Bt(r));if(It.length=0,ft){for(let s=0;s<t.length;s++)ft.push(t[s]);return}for(ft=t,Mt=0;Mt<ft.length;Mt++){const s=ft[Mt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ft=null,Mt=0}}const Bt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xo(e){try{for(qe=0;qe<be.length;qe++){const t=be[qe];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Pt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;qe<be.length;qe++){const t=be[qe];t&&(t.flags&=-2)}qe=-1,be.length=0,mo(),ks=null,(be.length||It.length)&&xo()}}let Oe=null,yo=null;function Cs(e){const t=Oe;return Oe=e,yo=e&&e.type.__scopeId||null,t}function Ii(e,t=Oe,s){if(!t||e._n)return e;const r=(...o)=>{r._d&&Rs(-1);const n=Cs(t),i=vt.length;let l;try{l=e(...o)}finally{for(let a=vt.length;a>i;a--)tn();Cs(n),r._d&&Rs(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function je(e,t){if(Oe===null)return e;const s=Fs(Oe),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[n,i,l,a=H]=t[o];n&&(V(n)&&(n={mounted:n,updated:n}),n.deep&&et(i),r.push({dir:n,instance:s,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function xt(e,t,s,r){const o=e.dirs,n=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];n&&(l.oldValue=n[i].value);let a=l.dir[r];a&&(De(),Fe(a,s,8,[e.el,l,e,t]),Ue())}}function Mi(e,t){if(ye){let s=ye.provides;const r=ye.parent&&ye.parent.provides;r===s&&(s=ye.provides=Object.create(r)),s[e]=t}}function Ss(e,t,s=!1){const r=Al();if(r||Rt){let o=Rt?Rt._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&V(t)?t.call(r&&r.proxy):t}}const Ei=Symbol.for("v-scx"),Ri=()=>Ss(Ei);function Et(e,t,s){return vo(e,t,s)}function vo(e,t,s=H){const{immediate:r,deep:o,flush:n,once:i}=s,l=ne({},s),a=t&&r||!t&&n!=="post";let h;if(rs){if(n==="sync"){const P=Ri();h=P.__watcherHandles||(P.__watcherHandles=[])}else if(!a){const P=()=>{};return P.stop=Ke,P.resume=Ke,P.pause=Ke,P}}const p=ye;l.call=(P,$,M)=>Fe(P,p,$,M);let b=!1;n==="post"?l.scheduler=P=>{_e(P,p&&p.suspense)}:n!=="sync"&&(b=!0,l.scheduler=(P,$)=>{$?P():ur(P)}),l.augmentJob=P=>{t&&(P.flags|=4),b&&(P.flags|=2,p&&(P.id=p.uid,P.i=p))};const T=wi(e,t,l);return rs&&(h?h.push(T):a&&T()),T}function Oi(e,t,s){const r=this.proxy,o=oe(e)?e.includes(".")?wo(r,e):()=>r[e]:e.bind(r,r);let n;V(t)?n=t:(n=t.handler,s=t);const i=ss(this),l=vo(o,n.bind(r),s);return i(),l}function wo(e,t){const s=t.split(".");return()=>{let r=e;for(let o=0;o<s.length&&r;o++)r=r[s[o]];return r}}const ji=Symbol("_vte"),As=e=>e.__isTeleport,fr=Symbol("_leaveCb");function Ni(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==st){t=s;break}}return t}function _o(e){if(!hr(e))return As(e.type)&&e.children?Ni(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&V(s.default))return s.default()}}function pr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;pr(As(s.type)&&_o(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ko(e,t){return V(e)?ne({name:e.name},t,{setup:e}):e}function Co(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function So(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Ts=new WeakMap;function Wt(e,t,s,r,o=!1){if(R(e)){e.forEach((M,ee)=>Wt(M,t&&(R(t)?t[ee]:t),s,r,o));return}if(Jt(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Wt(e,t,s,r.component.subTree);return}const n=r.shapeFlag&4?Fs(r.component):r.el,i=o?null:n,{i:l,r:a}=e,h=t&&t.r,p=l.refs===H?l.refs={}:l.refs,b=l.setupState,T=z(b),P=b===H?jr:M=>So(p,M)?!1:B(T,M),$=(M,ee)=>!(ee&&So(p,ee));if(h!=null&&h!==a){if(Ao(t),oe(h))p[h]=null,P(h)&&(b[h]=null);else if(de(h)){const M=t;$(h,M.k)&&(h.value=null),M.k&&(p[M.k]=null)}}if(V(a))Pt(a,l,12,[i,p]);else{const M=oe(a),ee=de(a);if(M||ee){const G=()=>{if(e.f){const K=M?P(a)?b[a]:p[a]:$()||!e.k?a.value:p[e.k];if(o)R(K)&&qs(K,n);else if(R(K))K.includes(n)||K.push(n);else if(M)p[a]=[n],P(a)&&(b[a]=p[a]);else{const j=[n];$(a,e.k)&&(a.value=j),e.k&&(p[e.k]=j)}}else M?(p[a]=i,P(a)&&(b[a]=i)):ee&&($(a,e.k)&&(a.value=i),e.k&&(p[e.k]=i))};if(i){const K=()=>{G(),Ts.delete(e)};K.id=-1,Ts.set(e,K),_e(K,s)}else Ao(e),G()}}}function Ao(e){const t=Ts.get(e);t&&(t.flags|=8,Ts.delete(e))}ps().requestIdleCallback,ps().cancelIdleCallback;const Jt=e=>!!e.type.__asyncLoader,hr=e=>e.type.__isKeepAlive;function Vi(e,t){To(e,"a",t)}function Fi(e,t){To(e,"da",t)}function To(e,t,s=ye){const r=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ps(t,r,s),s){let o=s.parent;for(;o&&o.parent;)hr(o.parent.vnode)&&Ki(r,t,s,o),o=o.parent}}function Ki(e,t,s,r){const o=Ps(t,e,r,!0);Io(()=>{qs(r[t],o)},s)}function Ps(e,t,s=ye,r=!1){if(s){const o=s[e]||(s[e]=[]),n=t.__weh||(t.__weh=(...i)=>{De();const l=ss(s),a=Fe(t,s,e,i);return l(),Ue(),a});return r?o.unshift(n):o.push(n),n}}const tt=e=>(t,s=ye)=>{(!rs||e==="sp")&&Ps(e,(...r)=>t(...r),s)},$i=tt("bm"),Po=tt("m"),Li=tt("bu"),Di=tt("u"),Ui=tt("bum"),Io=tt("um"),Hi=tt("sp"),zi=tt("rtg"),qi=tt("rtc");function Bi(e,t=ye){Ps("ec",e,t)}const Wi=Symbol.for("v-ndc");function Gt(e,t,s,r){let o;const n=s,i=R(e);if(i||oe(e)){const l=i&&dt(e);let a=!1,h=!1;l&&(a=!Ee(e),h=ze(e),e=gs(e)),o=new Array(e.length);for(let p=0,b=e.length;p<b;p++)o[p]=t(a?h?ut(Re(e[p])):Re(e[p]):e[p],p,void 0,n)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,n)}else if(W(e))if(e[Symbol.iterator])o=Array.from(e,(l,a)=>t(l,a,void 0,n));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,h=l.length;a<h;a++){const p=l[a];o[a]=t(e[p],p,a,n)}}else o=[];return o}const gr=e=>e?nn(e)?Fs(e):gr(e.parent):null,Yt=ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>gr(e.parent),$root:e=>gr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Oo(e),$forceUpdate:e=>e.f||(e.f=()=>{ur(e.update)}),$nextTick:e=>e.n||(e.n=dr.bind(e.proxy)),$watch:e=>Oi.bind(e)}),br=(e,t)=>e!==H&&!e.__isScriptSetup&&B(e,t),Ji={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:r,data:o,props:n,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const T=i[t];if(T!==void 0)switch(T){case 1:return r[t];case 2:return o[t];case 4:return s[t];case 3:return n[t]}else{if(br(r,t))return i[t]=1,r[t];if(o!==H&&B(o,t))return i[t]=2,o[t];if(B(n,t))return i[t]=3,n[t];if(s!==H&&B(s,t))return i[t]=4,s[t];mr&&(i[t]=0)}}const h=Yt[t];let p,b;if(h)return t==="$attrs"&&he(e.attrs,"get",""),h(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(s!==H&&B(s,t))return i[t]=4,s[t];if(b=a.config.globalProperties,B(b,t))return b[t]},set({_:e},t,s){const{data:r,setupState:o,ctx:n}=e;return br(o,t)?(o[t]=s,!0):r!==H&&B(r,t)?(r[t]=s,!0):B(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(n[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:r,appContext:o,props:n,type:i}},l){let a;return!!(s[l]||e!==H&&l[0]!=="$"&&B(e,l)||br(t,l)||B(n,l)||B(r,l)||B(Yt,l)||B(o.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:B(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Mo(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let mr=!0;function Gi(e){const t=Oo(e),s=e.proxy,r=e.ctx;mr=!1,t.beforeCreate&&Eo(t.beforeCreate,e,"bc");const{data:o,computed:n,methods:i,watch:l,provide:a,inject:h,created:p,beforeMount:b,mounted:T,beforeUpdate:P,updated:$,activated:M,deactivated:ee,beforeDestroy:G,beforeUnmount:K,destroyed:j,unmounted:I,render:te,renderTracked:Ce,renderTriggered:se,errorCaptured:Te,serverPrefetch:pt,expose:nt,inheritAttrs:St,components:Nt,directives:Vt,filters:ns}=t;if(h&&Yi(h,r,null),i)for(const re in i){const Y=i[re];V(Y)&&(r[re]=Y.bind(s))}if(o){const re=o.call(s,s);W(re)&&(e.data=ir(re))}if(mr=!0,n)for(const re in n){const Y=n[re],it=V(Y)?Y.bind(s,s):V(Y.get)?Y.get.bind(s,s):Ke,Ft=!V(Y)&&V(Y.set)?Y.set.bind(s):Ke,lt=_t({get:it,set:Ft});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>lt.value,set:Pe=>lt.value=Pe})}if(l)for(const re in l)Ro(l[re],r,s,re);if(a){const re=V(a)?a.call(s):a;Reflect.ownKeys(re).forEach(Y=>{Mi(Y,re[Y])})}p&&Eo(p,e,"c");function ue(re,Y){R(Y)?Y.forEach(it=>re(it.bind(s))):Y&&re(Y.bind(s))}if(ue($i,b),ue(Po,T),ue(Li,P),ue(Di,$),ue(Vi,M),ue(Fi,ee),ue(Bi,Te),ue(qi,Ce),ue(zi,se),ue(Ui,K),ue(Io,I),ue(Hi,pt),R(nt))if(nt.length){const re=e.exposed||(e.exposed={});nt.forEach(Y=>{Object.defineProperty(re,Y,{get:()=>s[Y],set:it=>s[Y]=it,enumerable:!0})})}else e.exposed||(e.exposed={});te&&e.render===Ke&&(e.render=te),St!=null&&(e.inheritAttrs=St),Nt&&(e.components=Nt),Vt&&(e.directives=Vt),pt&&Co(e)}function Yi(e,t,s=Ke){R(e)&&(e=xr(e));for(const r in e){const o=e[r];let n;W(o)?"default"in o?n=Ss(o.from||r,o.default,!0):n=Ss(o.from||r):n=Ss(o),de(n)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>n.value,set:i=>n.value=i}):t[r]=n}}function Eo(e,t,s){Fe(R(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ro(e,t,s,r){let o=r.includes(".")?wo(s,r):()=>s[r];if(oe(e)){const n=t[e];V(n)&&Et(o,n)}else if(V(e))Et(o,e.bind(s));else if(W(e))if(R(e))e.forEach(n=>Ro(n,t,s,r));else{const n=V(e.handler)?e.handler.bind(s):t[e.handler];V(n)&&Et(o,n,e)}}function Oo(e){const t=e.type,{mixins:s,extends:r}=t,{mixins:o,optionsCache:n,config:{optionMergeStrategies:i}}=e.appContext,l=n.get(t);let a;return l?a=l:!o.length&&!s&&!r?a=t:(a={},o.length&&o.forEach(h=>Is(a,h,i,!0)),Is(a,t,i)),W(t)&&n.set(t,a),a}function Is(e,t,s,r=!1){const{mixins:o,extends:n}=t;n&&Is(e,n,s,!0),o&&o.forEach(i=>Is(e,i,s,!0));for(const i in t)if(!(r&&i==="expose")){const l=Xi[i]||s&&s[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Xi={data:jo,props:No,emits:No,methods:Xt,computed:Xt,beforeCreate:me,created:me,beforeMount:me,mounted:me,beforeUpdate:me,updated:me,beforeDestroy:me,beforeUnmount:me,destroyed:me,unmounted:me,activated:me,deactivated:me,errorCaptured:me,serverPrefetch:me,components:Xt,directives:Xt,watch:Qi,provide:jo,inject:Zi};function jo(e,t){return t?e?function(){return ne(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Zi(e,t){return Xt(xr(e),xr(t))}function xr(e){if(R(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function me(e,t){return e?[...new Set([].concat(e,t))]:t}function Xt(e,t){return e?ne(Object.create(null),e,t):t}function No(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:ne(Object.create(null),Mo(e),Mo(t??{})):t}function Qi(e,t){if(!e)return t;if(!t)return e;const s=ne(Object.create(null),e);for(const r in t)s[r]=me(e[r],t[r]);return s}function Vo(){return{app:null,config:{isNativeTag:jr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let el=0;function tl(e,t){return function(r,o=null){V(r)||(r=ne({},r)),o!=null&&!W(o)&&(o=null);const n=Vo(),i=new WeakSet,l=[];let a=!1;const h=n.app={_uid:el++,_component:r,_props:o,_container:null,_context:n,_instance:null,version:Nl,get config(){return n.config},set config(p){},use(p,...b){return i.has(p)||(p&&V(p.install)?(i.add(p),p.install(h,...b)):V(p)&&(i.add(p),p(h,...b))),h},mixin(p){return n.mixins.includes(p)||n.mixins.push(p),h},component(p,b){return b?(n.components[p]=b,h):n.components[p]},directive(p,b){return b?(n.directives[p]=b,h):n.directives[p]},mount(p,b,T){if(!a){const P=h._ceVNode||F(r,o);return P.appContext=n,T===!0?T="svg":T===!1&&(T=void 0),e(P,p,T),a=!0,h._container=p,p.__vue_app__=h,Fs(P.component)}},onUnmount(p){l.push(p)},unmount(){a&&(Fe(l,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(p,b){return n.provides[p]=b,h},runWithContext(p){const b=Rt;Rt=h;try{return p()}finally{Rt=b}}};return h}}let Rt=null;const sl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${we(t)}Modifiers`]||e[`${Me(t)}Modifiers`];function rl(e,t,...s){if(e.isUnmounted)return;const r=e.vnode.props||H;let o=s;const n=t.startsWith("update:"),i=n&&sl(r,t.slice(7));i&&(i.trim&&(o=s.map(p=>oe(p)?p.trim():p)),i.number&&(o=o.map(fs)));let l,a=r[l=Ws(t)]||r[l=Ws(we(t))];!a&&n&&(a=r[l=Ws(Me(t))]),a&&Fe(a,e,6,o);const h=r[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(h,e,6,o)}}const ol=new WeakMap;function Fo(e,t,s=!1){const r=s?ol:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const n=e.emits;let i={},l=!1;if(!V(e)){const a=h=>{const p=Fo(h,t,!0);p&&(l=!0,ne(i,p))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!n&&!l?(W(e)&&r.set(e,null),null):(R(n)?n.forEach(a=>i[a]=null):ne(i,n),W(e)&&r.set(e,i),i)}function Ms(e,t){return!e||!ls(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),B(e,t[0].toLowerCase()+t.slice(1))||B(e,Me(t))||B(e,t))}function Dd(){}function Ko(e){const{type:t,vnode:s,proxy:r,withProxy:o,propsOptions:[n],slots:i,attrs:l,emit:a,render:h,renderCache:p,props:b,data:T,setupState:P,ctx:$,inheritAttrs:M}=e,ee=Cs(e);let G,K;try{if(s.shapeFlag&4){const I=o||r,te=I;G=Be(h.call(te,I,p,b,P,T,$)),K=l}else{const I=t;G=Be(I.length>1?I(b,{attrs:l,slots:i,emit:a}):I(b,null)),K=t.props?l:nl(l)}}catch(I){vt.length=0,_s(I,e,1),G=F(st)}let j=G;if(K&&M!==!1){const I=Object.keys(K),{shapeFlag:te}=j;I.length&&te&7&&(n&&I.some(as)&&(K=il(K,n)),j=Ot(j,K,!1,!0))}if(s.dirs&&(j=Ot(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(s.dirs):s.dirs),s.transition){const I=As(j.type)&&_o(j)||j;pr(I,s.transition)}return G=j,Cs(ee),G}const nl=e=>{let t;for(const s in e)(s==="class"||s==="style"||ls(s))&&((t||(t={}))[s]=e[s]);return t},il=(e,t)=>{const s={};for(const r in e)(!as(r)||!(r.slice(9)in t))&&(s[r]=e[r]);return s};function ll(e,t,s){const{props:r,children:o,component:n}=e,{props:i,children:l,patchFlag:a}=t,h=n.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return r?$o(r,i,h):!!i;if(a&8){const p=t.dynamicProps;for(let b=0;b<p.length;b++){const T=p[b];if(Lo(i,r,T)&&!Ms(h,T))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?$o(r,i,h):!0:!!i;return!1}function $o(e,t,s){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const n=r[o];if(Lo(t,e,n)&&!Ms(s,n))return!0}return!1}function Lo(e,t,s){const r=e[s],o=t[s];return s==="style"&&W(r)&&W(o)?!ct(r,o):r!==o}function al({vnode:e,parent:t,suspense:s},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=r)}const Do={},Uo=()=>Object.create(Do),Ho=e=>Object.getPrototypeOf(e)===Do;function cl(e,t,s,r=!1){const o={},n=Uo();e.propsDefaults=Object.create(null),zo(e,t,o,n);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);s?e.props=r?o:pi(o):e.type.props?e.props=o:e.props=n,e.attrs=n}function dl(e,t,s,r){const{props:o,attrs:n,vnode:{patchFlag:i}}=e,l=z(o),[a]=e.propsOptions;let h=!1;if((r||i>0)&&!(i&16)){if(i&8){const p=e.vnode.dynamicProps;for(let b=0;b<p.length;b++){let T=p[b];if(Ms(e.emitsOptions,T))continue;const P=t[T];if(a)if(B(n,T))P!==n[T]&&(n[T]=P,h=!0);else{const $=we(T);o[$]=yr(a,l,$,P,e,!1)}else P!==n[T]&&(n[T]=P,h=!0)}}}else{zo(e,t,o,n)&&(h=!0);let p;for(const b in l)(!t||!B(t,b)&&((p=Me(b))===b||!B(t,p)))&&(a?s&&(s[b]!==void 0||s[p]!==void 0)&&(o[b]=yr(a,l,b,void 0,e,!0)):delete o[b]);if(n!==l)for(const b in n)(!t||!B(t,b))&&(delete n[b],h=!0)}h&&Ze(e.attrs,"set","")}function zo(e,t,s,r){const[o,n]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if($t(a))continue;const h=t[a];let p;o&&B(o,p=we(a))?!n||!n.includes(p)?s[p]=h:(l||(l={}))[p]=h:Ms(e.emitsOptions,a)||(!(a in r)||h!==r[a])&&(r[a]=h,i=!0)}if(n){const a=z(s),h=l||H;for(let p=0;p<n.length;p++){const b=n[p];s[b]=yr(o,a,b,h[b],e,!B(h,b))}}return i}function yr(e,t,s,r,o,n){const i=e[s];if(i!=null){const l=B(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&V(a)){const{propsDefaults:h}=o;if(s in h)r=h[s];else{const p=ss(o);r=h[s]=a.call(null,t),p()}}else r=a;o.ce&&o.ce._setProp(s,r)}i[0]&&(n&&!l?r=!1:i[1]&&(r===""||r===Me(s))&&(r=!0))}return r}const ul=new WeakMap;function qo(e,t,s=!1){const r=s?ul:t.propsCache,o=r.get(e);if(o)return o;const n=e.props,i={},l=[];let a=!1;if(!V(e)){const p=b=>{a=!0;const[T,P]=qo(b,t,!0);ne(i,T),P&&l.push(...P)};!s&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!n&&!a)return W(e)&&r.set(e,ht),ht;if(R(n))for(let p=0;p<n.length;p++){const b=we(n[p]);Bo(b)&&(i[b]=H)}else if(n)for(const p in n){const b=we(p);if(Bo(b)){const T=n[p],P=i[b]=R(T)||V(T)?{type:T}:ne({},T),$=P.type;let M=!1,ee=!0;if(R($))for(let G=0;G<$.length;++G){const K=$[G],j=V(K)&&K.name;if(j==="Boolean"){M=!0;break}else j==="String"&&(ee=!1)}else M=V($)&&$.name==="Boolean";P[0]=M,P[1]=ee,(M||B(P,"default"))&&l.push(b)}}const h=[i,l];return W(e)&&r.set(e,h),h}function Bo(e){return e[0]!=="$"&&!$t(e)}const vr=e=>e==="_"||e==="_ctx"||e==="$stable",wr=e=>R(e)?e.map(Be):[Be(e)],fl=(e,t,s)=>{if(t._n)return t;const r=Ii((...o)=>wr(t(...o)),s);return r._c=!1,r},Wo=(e,t,s)=>{const r=e._ctx;for(const o in e){if(vr(o))continue;const n=e[o];if(V(n))t[o]=fl(o,n,r);else if(n!=null){const i=wr(n);t[o]=()=>i}}},Jo=(e,t)=>{const s=wr(t);e.slots.default=()=>s},Go=(e,t,s)=>{for(const r in t)(s||!vr(r))&&(e[r]=t[r])},pl=(e,t,s)=>{const r=e.slots=Uo();if(e.vnode.shapeFlag&32){const o=t._;o?(Go(r,t,s),s&&$r(r,"_",o,!0)):Wo(t,r)}else t&&Jo(e,t)},hl=(e,t,s)=>{const{vnode:r,slots:o}=e;let n=!0,i=H;if(r.shapeFlag&32){const l=t._;l?s&&l===1?n=!1:Go(o,t,s):(n=!t.$stable,Wo(t,o)),i=t}else t&&(Jo(e,t),i={default:1});if(n)for(const l in o)!vr(l)&&i[l]==null&&delete o[l]},_e=yl;function gl(e){return bl(e)}function bl(e,t){const s=ps();s.__VUE__=!0;const{insert:r,remove:o,patchProp:n,createElement:i,createText:l,createComment:a,setText:h,setElementText:p,parentNode:b,nextSibling:T,setScopeId:P=Ke,insertStaticContent:$}=e,M=(c,u,g,w=null,m=null,y=null,S=void 0,k=null,_=!!u.dynamicChildren)=>{if(c===u)return;c&&!es(c,u)&&(w=f(c),Pe(c,m,y,!0),c=null),u.patchFlag===-2&&(_=!1,u.dynamicChildren=null),u.dynamicChildren&&c&&c.dynamicChildren&&c.dynamicChildren.hasOnce&&(u.dynamicChildren===ht&&(u.dynamicChildren=[]),u.dynamicChildren.hasOnce=!0);const{type:x,ref:O,shapeFlag:A}=u;switch(x){case Es:ee(c,u,g,w);break;case st:G(c,u,g,w);break;case kr:c==null&&K(u,g,w,S);break;case ke:Nt(c,u,g,w,m,y,S,k,_);break;default:A&1?te(c,u,g,w,m,y,S,k,_):A&6?Vt(c,u,g,w,m,y,S,k,_):(A&64||A&128)&&x.process(c,u,g,w,m,y,S,k,_,ve)}O!=null&&m?Wt(O,c&&c.ref,y,u||c,!u):O==null&&c&&c.ref!=null&&Wt(c.ref,null,y,c,!0)},ee=(c,u,g,w)=>{if(c==null)r(u.el=l(u.children),g,w);else{const m=u.el=c.el;u.children!==c.children&&h(m,u.children)}},G=(c,u,g,w)=>{c==null?r(u.el=a(u.children||""),g,w):u.el=c.el},K=(c,u,g,w)=>{[c.el,c.anchor]=$(c.children,u,g,w,c.el,c.anchor)},j=({el:c,anchor:u},g,w)=>{let m;for(;c&&c!==u;)m=T(c),r(c,g,w),c=m;r(u,g,w)},I=({el:c,anchor:u})=>{let g;for(;c&&c!==u;)g=T(c),o(c),c=g;o(u)},te=(c,u,g,w,m,y,S,k,_)=>{if(u.type==="svg"?S="svg":u.type==="math"&&(S="mathml"),c==null)Ce(u,g,w,m,y,S,k,_);else{const x=c.el&&c.el._isVueCE?c.el:null;try{x&&x._beginPatch(),pt(c,u,m,y,S,k,_)}finally{x&&x._endPatch()}}},Ce=(c,u,g,w,m,y,S,k)=>{let _,x;const{props:O,shapeFlag:A,transition:E,dirs:N}=c;if(_=c.el=i(c.type,y,O&&O.is,O),A&8?p(_,c.children):A&16&&Te(c.children,_,null,w,m,_r(c,y),S,k),N&&xt(c,null,w,"created"),se(_,c,c.scopeId,S,w),O){for(const Z in O)Z!=="value"&&!$t(Z)&&n(_,Z,null,O[Z],y,w);"value"in O&&n(_,"value",null,O.value,y),(x=O.onVnodeBeforeMount)&&We(x,w,c)}N&&xt(c,null,w,"beforeMount");const U=ml(m,E);U&&E.beforeEnter(_),r(_,u,g),((x=O&&O.onVnodeMounted)||U||N)&&_e(()=>{try{x&&We(x,w,c),U&&E.enter(_),N&&xt(c,null,w,"mounted")}finally{}},m)},se=(c,u,g,w,m)=>{if(g&&P(c,g),w)for(let y=0;y<w.length;y++)P(c,w[y]);if(m){let y=m.subTree;if(u===y||en(y.type)&&(y.ssContent===u||y.ssFallback===u)){const S=m.vnode;se(c,S,S.scopeId,S.slotScopeIds,m.parent)}}},Te=(c,u,g,w,m,y,S,k,_=0)=>{for(let x=_;x<c.length;x++){const O=c[x]=k?rt(c[x]):Be(c[x]);M(null,O,u,g,w,m,y,S,k)}},pt=(c,u,g,w,m,y,S)=>{const k=u.el=c.el;let{patchFlag:_,dynamicChildren:x,dirs:O}=u;_|=c.patchFlag&16;const A=c.props||H,E=u.props||H;let N;if(g&&yt(g,!1),(N=E.onVnodeBeforeUpdate)&&We(N,g,u,c),O&&xt(u,c,g,"beforeUpdate"),g&&yt(g,!0),x&&(!c.dynamicChildren||c.dynamicChildren.length!==x.length)&&(_=0,S=!1,x=null),(A.innerHTML&&E.innerHTML==null||A.textContent&&E.textContent==null)&&p(k,""),x?nt(c.dynamicChildren,x,k,g,w,_r(u,m),y):S||Y(c,u,k,null,g,w,_r(u,m),y,!1),_>0){if(_&16)St(k,A,E,g,m);else if(_&2&&A.class!==E.class&&n(k,"class",null,E.class,m),_&4&&n(k,"style",A.style,E.style,m),_&8){const U=u.dynamicProps;for(let Z=0;Z<U.length;Z++){const X=U[Z],ae=A[X],fe=E[X];(fe!==ae||X==="value")&&n(k,X,ae,fe,m,g)}}_&1&&c.children!==u.children&&p(k,u.children)}else!S&&x==null&&St(k,A,E,g,m);((N=E.onVnodeUpdated)||O)&&_e(()=>{N&&We(N,g,u,c),O&&xt(u,c,g,"updated")},w)},nt=(c,u,g,w,m,y,S)=>{for(let k=0;k<u.length;k++){const _=c[k],x=u[k],O=_.el&&(_.type===ke||!es(_,x)||_.shapeFlag&198)?b(_.el):g;M(_,x,O,null,w,m,y,S,!0)}},St=(c,u,g,w,m)=>{if(u!==g){if(u!==H)for(const y in u)!$t(y)&&!(y in g)&&n(c,y,u[y],null,m,w);for(const y in g){if($t(y))continue;const S=g[y],k=u[y];S!==k&&y!=="value"&&n(c,y,k,S,m,w)}"value"in g&&n(c,"value",u.value,g.value,m)}},Nt=(c,u,g,w,m,y,S,k,_)=>{const x=u.el=c?c.el:l(""),O=u.anchor=c?c.anchor:l("");let{patchFlag:A,dynamicChildren:E,slotScopeIds:N}=u;N&&(k=k?k.concat(N):N),c==null?(r(x,g,w),r(O,g,w),Te(u.children||[],g,O,m,y,S,k,_)):A>0&&A&64&&E&&c.dynamicChildren&&c.dynamicChildren.length===E.length?(nt(c.dynamicChildren,E,g,m,y,S,k),(u.key!=null||m&&u===m.subTree)&&Yo(c,u,!0)):Y(c,u,g,O,m,y,S,k,_)},Vt=(c,u,g,w,m,y,S,k,_)=>{u.slotScopeIds=k,c==null?u.shapeFlag&512?m.ctx.activate(u,g,w,S,_):ns(u,g,w,m,y,S,_):At(c,u,_)},ns=(c,u,g,w,m,y,S)=>{const k=c.component=Sl(c,w,m);if(hr(c)&&(k.ctx.renderer=ve),Tl(k,!1,S),k.asyncDep){if(m&&m.registerDep(k,ue,S),!c.el){const _=k.subTree=F(st);G(null,_,u,g),c.placeholder=_.el}}else ue(k,c,u,g,m,y,S)},At=(c,u,g)=>{const w=u.component=c.component;if(ll(c,u,g))if(w.asyncDep&&!w.asyncResolved){u.el=c.el,re(w,u,g);return}else w.next=u,w.update();else u.el=c.el,w.vnode=u},ue=(c,u,g,w,m,y,S)=>{const k=()=>{if(c.isMounted){let{next:A,bu:E,u:N,parent:U,vnode:Z}=c;{const Ye=Xo(c);if(Ye){A&&(A.el=Z.el,re(c,A,S)),Ye.asyncDep.then(()=>{_e(()=>{c.isUnmounted||x()},m)});return}}let X=A,ae;yt(c,!1),A?(A.el=Z.el,re(c,A,S)):A=Z,E&&us(E),(ae=A.props&&A.props.onVnodeBeforeUpdate)&&We(ae,U,A,Z),yt(c,!0);const fe=Ko(c),Ge=c.subTree;c.subTree=fe,M(Ge,fe,b(Ge.el),f(Ge),c,m,y),A.el=fe.el,X===null&&al(c,fe.el),N&&_e(N,m),(ae=A.props&&A.props.onVnodeUpdated)&&_e(()=>We(ae,U,A,Z),m)}else{let A;const{el:E,props:N}=u,{bm:U,m:Z,parent:X,root:ae,type:fe}=c,Ge=Jt(u);yt(c,!1),U&&us(U),!Ge&&(A=N&&N.onVnodeBeforeMount)&&We(A,X,u),yt(c,!0);{ae.ce&&ae.ce._hasShadowRoot()&&ae.ce._injectChildStyle(fe,c.parent?c.parent.type:void 0);const Ye=c.subTree=Ko(c);M(null,Ye,g,w,c,m,y),u.el=Ye.el}if(Z&&_e(Z,m),!Ge&&(A=N&&N.onVnodeMounted)){const Ye=u;_e(()=>We(A,X,Ye),m)}(u.shapeFlag&256||X&&Jt(X.vnode)&&X.vnode.shapeFlag&256)&&c.a&&_e(c.a,m),c.isMounted=!0,u=g=w=null}};c.scope.on();const _=c.effect=new Wr(k);c.scope.off();const x=c.update=_.run.bind(_),O=c.job=_.runIfDirty.bind(_);O.i=c,O.id=c.uid,_.scheduler=()=>ur(O),yt(c,!0),x()},re=(c,u,g)=>{u.component=c;const w=c.vnode.props;c.vnode=u,c.next=null,dl(c,u.props,w,g),hl(c,u.children,g),De(),bo(c),Ue()},Y=(c,u,g,w,m,y,S,k,_=!1)=>{const x=c&&c.children,O=c?c.shapeFlag:0,A=u.children,{patchFlag:E,shapeFlag:N}=u;if(E>0){if(E&128){Ft(x,A,g,w,m,y,S,k,_);return}else if(E&256){it(x,A,g,w,m,y,S,k,_);return}}N&8?(O&16&&C(x,m,y),A!==x&&p(g,A)):O&16?N&16?Ft(x,A,g,w,m,y,S,k,_):C(x,m,y,!0):(O&8&&p(g,""),N&16&&Te(A,g,w,m,y,S,k,_))},it=(c,u,g,w,m,y,S,k,_)=>{c=c||ht,u=u||ht;const x=c.length,O=u.length,A=Math.min(x,O);let E;for(E=0;E<A;E++){const N=u[E]=_?rt(u[E]):Be(u[E]);M(c[E],N,g,null,m,y,S,k,_)}x>O?C(c,m,y,!0,!1,A):Te(u,g,w,m,y,S,k,_,A)},Ft=(c,u,g,w,m,y,S,k,_)=>{let x=0;const O=u.length;let A=c.length-1,E=O-1;for(;x<=A&&x<=E;){const N=c[x],U=u[x]=_?rt(u[x]):Be(u[x]);if(es(N,U))M(N,U,g,null,m,y,S,k,_);else break;x++}for(;x<=A&&x<=E;){const N=c[A],U=u[E]=_?rt(u[E]):Be(u[E]);if(es(N,U))M(N,U,g,null,m,y,S,k,_);else break;A--,E--}if(x>A){if(x<=E){const N=E+1,U=N<O?u[N].el:w;for(;x<=E;)M(null,u[x]=_?rt(u[x]):Be(u[x]),g,U,m,y,S,k,_),x++}}else if(x>E)for(;x<=A;)Pe(c[x],m,y,!0),x++;else{const N=x,U=x,Z=new Map;for(x=U;x<=E;x++){const Ie=u[x]=_?rt(u[x]):Be(u[x]);Ie.key!=null&&Z.set(Ie.key,x)}let X,ae=0;const fe=E-U+1;let Ge=!1,Ye=0;const is=new Array(fe);for(x=0;x<fe;x++)is[x]=0;for(x=N;x<=A;x++){const Ie=c[x];if(ae>=fe){Pe(Ie,m,y,!0);continue}let Xe;if(Ie.key!=null)Xe=Z.get(Ie.key);else for(X=U;X<=E;X++)if(is[X-U]===0&&es(Ie,u[X])){Xe=X;break}Xe===void 0?Pe(Ie,m,y,!0):(is[Xe-U]=x+1,Xe>=Ye?Ye=Xe:Ge=!0,M(Ie,u[Xe],g,null,m,y,S,k,_),ae++)}const On=Ge?xl(is):ht;for(X=On.length-1,x=fe-1;x>=0;x--){const Ie=U+x,Xe=u[Ie],jn=u[Ie+1],Nn=Ie+1<O?jn.el||Qo(jn):w;is[x]===0?M(null,Xe,g,Nn,m,y,S,k,_):Ge&&(X<0||x!==On[X]?lt(Xe,g,Nn,2):X--)}}},lt=(c,u,g,w,m=null)=>{const{el:y,type:S,transition:k,children:_,shapeFlag:x}=c;if(x&6){lt(c.component.subTree,u,g,w);return}if(x&128){c.suspense.move(u,g,w);return}if(x&64){S.move(c,u,g,ve);return}if(S===ke){r(y,u,g);for(let A=0;A<_.length;A++)lt(_[A],u,g,w);r(c.anchor,u,g);return}if(S===kr){j(c,u,g);return}if(w!==2&&x&1&&k)if(w===0)k.persisted&&!y[fr]?r(y,u,g):(k.beforeEnter(y),r(y,u,g),_e(()=>k.enter(y),m));else{const{leave:A,delayLeave:E,afterLeave:N}=k,U=()=>{c.ctx.isUnmounted?o(y):r(y,u,g)},Z=()=>{const X=y._isLeaving||!!y[fr];y._isLeaving&&y[fr](!0),k.persisted&&!X?U():A(y,()=>{U(),N&&N()})};E?E(y,U,Z):Z()}else r(y,u,g)},Pe=(c,u,g,w=!1,m=!1)=>{const{type:y,props:S,ref:k,children:_,dynamicChildren:x,shapeFlag:O,patchFlag:A,dirs:E,cacheIndex:N,memo:U}=c;if((A===-2||x&&x.hasOnce)&&(m=!1),k!=null&&(De(),Wt(k,null,g,c,!0),Ue()),N!=null&&(!c.ctx||c.ctx===u)&&(u.renderCache[N]=void 0),O&256){u.ctx.deactivate(c);return}const Z=O&1&&E,X=!Jt(c);let ae;if(X&&(ae=S&&S.onVnodeBeforeUnmount)&&We(ae,u,c),O&6)Or(c.component,g,w);else{if(O&128){c.suspense.unmount(g,w);return}Z&&xt(c,null,u,"beforeUnmount"),O&64?c.type.remove(c,u,g,ve,w):x&&!x.hasOnce&&(y!==ke||A>0&&A&64)?C(x,u,g,!1,!0):(y===ke&&A&384||!m&&O&16)&&C(_,u,g),w&&Hs(c)}const fe=U!=null&&N==null;(X&&(ae=S&&S.onVnodeUnmounted)||Z||fe)&&_e(()=>{ae&&We(ae,u,c),Z&&xt(c,null,u,"unmounted"),fe&&(c.el=null)},g)},Hs=c=>{const{type:u,el:g,anchor:w,transition:m}=c;if(u===ke){Rr(g,w);return}if(u===kr){I(c),m&&!m.persisted&&m.afterLeave&&m.afterLeave();return}const y=()=>{o(g),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:S,delayLeave:k}=m,_=()=>S(g,y);k?k(c.el,y,_):_()}else y()},Rr=(c,u)=>{let g;for(;c!==u;)g=T(c),o(c),c=g;o(u)},Or=(c,u,g)=>{const{bum:w,scope:m,job:y,subTree:S,um:k,m:_,a:x}=c;Zo(_),Zo(x),w&&us(w),m.stop(),y?(y.flags|=8,Pe(S,c,u,g)):c.vnode.el&&S&&(S.transition=c.vnode.transition,Pe(S,c,u,g)),k&&_e(k,u),_e(()=>{c.isUnmounted=!0},u)},C=(c,u,g,w=!1,m=!1,y=0)=>{for(let S=y;S<c.length;S++)Pe(c[S],u,g,w,m)},f=c=>{if(c.shapeFlag&6)return f(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=T(c.anchor||c.el),g=u&&u[ji];return g?T(g):u};let v=!1;const Se=(c,u,g)=>{let w;c==null?u._vnode&&(Pe(u._vnode,null,null,!0),w=u._vnode.component):M(u._vnode||null,c,u,null,null,null,g),u._vnode=c,v||(v=!0,bo(w),mo(),v=!1)},ve={p:M,um:Pe,m:lt,r:Hs,mt:ns,mc:Te,pc:Y,pbc:nt,n:f,o:e};return{render:Se,hydrate:void 0,createApp:tl(Se)}}function _r({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function yt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ml(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yo(e,t,s=!1){const r=e.children,o=t.children;if(R(r)&&R(o))for(let n=0;n<r.length;n++){const i=r[n];let l=o[n];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[n]=rt(o[n]),l.el=i.el),!s&&l.patchFlag!==-2&&Yo(i,l)),l.type===Es&&(l.patchFlag===-1&&(l=o[n]=rt(l)),l.el=i.el),l.type===st&&!l.el&&(l.el=i.el)}}function xl(e){const t=e.slice(),s=[0];let r,o,n,i,l;const a=e.length;for(r=0;r<a;r++){const h=e[r];if(h!==0){if(o=s[s.length-1],e[o]<h){t[r]=o,s.push(r);continue}for(n=0,i=s.length-1;n<i;)l=n+i>>1,e[s[l]]<h?n=l+1:i=l;h<e[s[n]]&&(n>0&&(t[r]=s[n-1]),s[n]=r)}}for(n=s.length,i=s[n-1];n-- >0;)s[n]=i,i=t[i];return s}function Xo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Xo(t)}function Zo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Qo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Qo(t.subTree):null}const en=e=>e.__isSuspense;function yl(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Pi(e)}const ke=Symbol.for("v-fgt"),Es=Symbol.for("v-txt"),st=Symbol.for("v-cmt"),kr=Symbol.for("v-stc"),vt=[];let Ae=null;function D(e=!1){vt.push(Ae=e?null:[])}function tn(){vt.pop(),Ae=vt[vt.length-1]||null}let Zt=1;function Rs(e,t=!1){Zt+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function sn(e){return e.dynamicChildren=Zt>0?Ae||ht:null,tn(),Zt>0&&Ae&&Ae.push(e),e}function J(e,t,s,r,o,n){return sn(d(e,t,s,r,o,n,!0))}function Qt(e,t,s,r,o){return sn(F(e,t,s,r,o,!0))}function Os(e){return e?e.__v_isVNode===!0:!1}function es(e,t){return e.type===t.type&&e.key===t.key}const rn=({key:e})=>e??null,js=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||de(e)||V(e)?{i:Oe,r:e,k:t,f:!!s}:e:null);function d(e,t=null,s=null,r=0,o=null,n=e===ke?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rn(t),ref:t&&js(t),scopeId:yo,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Oe};return l?(Ns(a,s),n&128&&e.normalize(a)):s&&(a.shapeFlag|=oe(s)?8:16),Zt>0&&!i&&Ae&&(a.patchFlag>0||n&6)&&a.patchFlag!==32&&Ae.push(a),a}const F=vl;function vl(e,t=null,s=null,r=0,o=null,n=!1){if((!e||e===Wi)&&(e=st),Os(e)){const l=Ot(e,t,!0);return s&&Ns(l,s),Zt>0&&!n&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(jl(e)&&(e=e.__vccOpts),t){t=wl(t);let{class:l,style:a}=t;l&&!oe(l)&&(t.class=Ne(l)),W(a)&&(ar(a)&&!R(a)&&(a=ne({},a)),t.style=hs(a))}const i=oe(e)?1:en(e)?128:As(e)?64:W(e)?4:V(e)?2:0;return d(e,t,s,r,o,i,n,!0)}function wl(e){return e?ar(e)||Ho(e)?ne({},e):e:null}function Ot(e,t,s=!1,r=!1){const{props:o,ref:n,patchFlag:i,children:l,transition:a}=e,h=t?_l(o||{},t):o,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&rn(h),ref:t&&t.ref?s&&n?R(n)?n.concat(js(t)):[n,js(t)]:js(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ke?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ot(e.ssContent),ssFallback:e.ssFallback&&Ot(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return a&&r&&pr(p,a.clone(p)),p}function wt(e=" ",t=0){return F(Es,null,e,t)}function xe(e="",t=!1){return t?(D(),Qt(st,null,e)):F(st,null,e)}function Be(e){return e==null||typeof e=="boolean"?F(st):R(e)?F(ke,null,e.slice()):Os(e)?rt(e):F(Es,null,String(e))}function rt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ot(e)}function Ns(e,t){let s=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Ns(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!Ho(t)?t._ctx=Oe:o===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(V(t)){if(r&65){Ns(e,{default:t});return}t={default:t,_ctx:Oe},s=32}else t=String(t),r&64?(s=16,t=[wt(t)]):s=8;e.children=t,e.shapeFlag|=s}function _l(...e){const t={};for(let s=0;s<e.length;s++){const r=e[s];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ne([t.class,r.class]));else if(o==="style")t.style=hs([t.style,r.style]);else if(ls(o)){const n=t[o],i=r[o];i&&n!==i&&!(R(n)&&n.includes(i))?t[o]=n?[].concat(n,i):i:i==null&&n==null&&!as(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function We(e,t,s,r=null){Fe(e,t,7,[s,r])}const kl=Vo();let Cl=0;function Sl(e,t,s){const r=e.type,o=(t?t.appContext:e.appContext)||kl,n={uid:Cl++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Jn(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qo(r,o),emitsOptions:Fo(r,o),emit:null,emitted:null,propsDefaults:H,inheritAttrs:r.inheritAttrs,ctx:H,data:H,props:H,attrs:H,slots:H,refs:H,setupState:H,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=rl.bind(null,n),e.ce&&e.ce(n),n}let ye=null;const Al=()=>ye||Oe;let Vs,ts;{const e=ps(),t=(s,r)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(r),n=>{o.length>1?o.forEach(i=>i(n)):o[0](n)}};Vs=t("__VUE_INSTANCE_SETTERS__",s=>ye=s),ts=t("__VUE_SSR_SETTERS__",s=>rs=s)}const ss=e=>{const t=ye;return Vs(e),e.scope.on(),()=>{e.scope.off(),Vs(t)}},on=()=>{ye&&ye.scope.off(),Vs(null)};function nn(e){return e.vnode.shapeFlag&4}let rs=!1;function Tl(e,t=!1,s=!1){t&&ts(t);const{props:r,children:o}=e.vnode,n=nn(e);cl(e,r,n,t),pl(e,o,s||t);const i=n?Pl(e,t):void 0;return t&&ts(!1),i}function Pl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ji);const{setup:r}=s;if(r){De();const o=e.setupContext=r.length>1?Ml(e):null,n=ss(e),i=Pt(r,e,0,[e.props,o]),l=Vr(i);if(Ue(),n(),(l||e.sp)&&!Jt(e)&&Co(e),l){if(i.then(on,on),t)return i.then(a=>{ts(!0);try{ln(e,a,t)}finally{ts(!1)}}).catch(a=>{_s(a,e,0)});e.asyncDep=i}else ln(e,i)}else an(e)}function ln(e,t,s){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:W(t)&&(e.setupState=fo(t)),an(e)}function an(e,t,s){const r=e.type;e.render||(e.render=r.render||Ke);{const o=ss(e);De();try{Gi(e)}finally{Ue(),o()}}}const Il={get(e,t){return he(e,"get",""),e[t]}};function Ml(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Il),slots:e.slots,emit:e.emit,expose:t}}function Fs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(fo(hi(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Yt)return Yt[s](e)},has(t,s){return s in t||s in Yt}})):e.proxy}const El=/(?:^|[-_])\w/g,Rl=e=>e.replace(El,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ol(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function cn(e,t,s=!1){let r=Ol(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e){const o=n=>{for(const i in n)if(n[i]===t)return i};r=o(e.components)||e.parent&&o(e.parent.type.components)||o(e.appContext.components)}return r?Rl(r):s?"App":"Anonymous"}function jl(e){return V(e)&&"__vccOpts"in e}const _t=(e,t)=>yi(e,t,rs);function Cr(e,t,s){try{Rs(-1);const r=arguments.length;return r===2?W(t)&&!R(t)?Os(t)?F(e,null,[t]):F(e,t):F(e,null,t):(r>3?s=Array.prototype.slice.call(arguments,2):r===3&&Os(s)&&(s=[s]),F(e,t,s))}finally{Rs(1)}}const Nl="3.5.43";/**
|
|
15
|
+
`,...Ri(o)),console.warn(...n)}Ye(),yr=!1}function Ei(){let e=ss[ss.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Ri(e){const t=[];return e.forEach((s,r)=>{t.push(...r===0?[]:[`
|
|
16
|
+
`],...Oi(s))}),t}function Oi({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${vn(e.component,e.type,r)}`,n=">"+s;return e.props?[o,...ji(e.props),n]:[o+n]}function ji(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(r=>{t.push(...So(r,e[r]))}),s.length>3&&t.push(" ..."),t}function So(e,t,s){return ne(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:be(t)?(t=So(e,H(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):U(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=H(t),s?t:[`${e}=`,t])}function Ft(e,t,s,r){try{return r?e(...r):e()}catch(o){Ms(o,t,s)}}function Be(e,t,s,r){if(U(e)){const o=Ft(e,t,s,r);return o&&Wr(o)&&o.catch(n=>{Ms(n,t,s)}),o}if(O(e)){const o=[];for(let n=0;n<e.length;n++)o.push(Be(e[n],t,s,r));return o}}function Ms(e,t,s,r=!0){const o=t?t.vnode:null,{errorHandler:n,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ee;if(t){let l=t.parent;const c=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const p=l.ec;if(p){for(let m=0;m<p.length;m++)if(p[m](e,c,h)===!1)return}l=l.parent}if(n){Xe(),Ft(n,null,10,[e,c,h]),Ye();return}}Ni(e,s,o,r,i)}function Ni(e,t,s,r=!0,o=!1){if(o)throw e;console.error(e)}const _e=[];let et=-1;const Kt=[];let kt=null,Dt=0;const Co=Promise.resolve();let Es=null;function vr(e){const t=Es||Co;return e?t.then(this?e.bind(this):e):t}function Ui(e){let t=et+1,s=_e.length;for(;t<s;){const r=t+s>>>1,o=_e[r],n=rs(o);n<e||n===e&&o.flags&2?t=r+1:s=r}return t}function wr(e){if(!(e.flags&1)){const t=rs(e),s=_e[_e.length-1];!s||!(e.flags&2)&&t>=rs(s)?_e.push(e):_e.splice(Ui(t),0,e),e.flags|=1,To()}}function To(){Es||(Es=Co.then(Po))}function Li(e){if(!O(e))kt&&e.id===-1?kt.splice(Dt+1,0,e):e.flags&1||(Kt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Kt.push(e[t]);To()}function Ao(e,t,s=et+1){for(;s<_e.length;s++){const r=_e[s];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;_e.splice(s,1),s--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Io(e){if(Kt.length){const t=[...new Set(Kt)].sort((s,r)=>rs(s)-rs(r));if(Kt.length=0,kt){for(let s=0;s<t.length;s++)kt.push(t[s]);return}for(kt=t,Dt=0;Dt<kt.length;Dt++){const s=kt[Dt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}kt=null,Dt=0}}const rs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Po(e){try{for(et=0;et<_e.length;et++){const t=_e[et];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ft(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;et<_e.length;et++){const t=_e[et];t&&(t.flags&=-2)}et=-1,_e.length=0,Io(),Es=null,(_e.length||Kt.length)&&Po()}}let Fe=null,Mo=null;function Rs(e){const t=Fe;return Fe=e,Mo=e&&e.type.__scopeId||null,t}function Vi(e,t=Fe,s){if(!t||e._n)return e;const r=(...o)=>{r._d&&Fs(-1);const n=Rs(t),i=jt.length;let l;try{l=e(...o)}finally{for(let c=jt.length;c>i;c--)pn();Rs(n),r._d&&Fs(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function ke(e,t){if(Fe===null)return e;const s=Bs(Fe),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[n,i,l,c=ee]=t[o];n&&(U(n)&&(n={mounted:n,updated:n}),n.deep&&ct(i),r.push({dir:n,instance:s,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Et(e,t,s,r){const o=e.dirs,n=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];n&&(l.oldValue=n[i].value);let c=l.dir[r];c&&(Xe(),Be(c,s,8,[e.el,l,e,t]),Ye())}}function $i(e,t){if(Te){let s=Te.provides;const r=Te.parent&&Te.parent.provides;r===s&&(s=Te.provides=Object.create(r)),s[e]=t}}function Os(e,t,s=!1){const r=Nl();if(r||Ht){let o=Ht?Ht._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&U(t)?t.call(r&&r.proxy):t}}const Fi=Symbol.for("v-scx"),Ki=()=>Os(Fi);function Rt(e,t,s){return Eo(e,t,s)}function Eo(e,t,s=ee){const{immediate:r,deep:o,flush:n,once:i}=s,l=fe({},s),c=t&&r||!t&&n!=="post";let h;if(fs){if(n==="sync"){const I=Ki();h=I.__watcherHandles||(I.__watcherHandles=[])}else if(!c){const I=()=>{};return I.stop=We,I.resume=We,I.pause=We,I}}const p=Te;l.call=(I,W,V)=>Be(I,p,W,V);let m=!1;n==="post"?l.scheduler=I=>{Pe(I,p&&p.suspense)}:n!=="sync"&&(m=!0,l.scheduler=(I,W)=>{W?I():wr(I)}),l.augmentJob=I=>{t&&(I.flags|=4),m&&(I.flags|=2,p&&(I.id=p.uid,I.i=p))};const A=Mi(e,t,l);return fs&&(h?h.push(A):c&&A()),A}function Di(e,t,s){const r=this.proxy,o=ne(e)?e.includes(".")?Ro(r,e):()=>r[e]:e.bind(r,r);let n;U(t)?n=t:(n=t.handler,s=t);const i=us(this),l=Eo(o,n.bind(r),s);return i(),l}function Ro(e,t){const s=t.split(".");return()=>{let r=e;for(let o=0;o<s.length&&r;o++)r=r[s[o]];return r}}const zi=Symbol("_vte"),js=e=>e.__isTeleport,_r=Symbol("_leaveCb");function Hi(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==ut){t=s;break}}return t}function Oo(e){if(!Sr(e))return js(e.type)&&e.children?Hi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&U(s.default))return s.default()}}function kr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;kr(js(s.type)&&Oo(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function jo(e,t){return U(e)?fe({name:e.name},t,{setup:e}):e}function No(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Uo(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Ns=new WeakMap;function os(e,t,s,r,o=!1){if(O(e)){e.forEach((V,ae)=>os(V,t&&(O(t)?t[ae]:t),s,r,o));return}if(ns(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&os(e,t,s,r.component.subTree);return}const n=r.shapeFlag&4?Bs(r.component):r.el,i=o?null:n,{i:l,r:c}=e,h=t&&t.r,p=l.refs===ee?l.refs={}:l.refs,m=l.setupState,A=H(m),I=m===ee?Br:V=>Uo(p,V)?!1:q(A,V),W=(V,ae)=>!(ae&&Uo(p,ae));if(h!=null&&h!==c){if(Lo(t),ne(h))p[h]=null,I(h)&&(m[h]=null);else if(be(h)){const V=t;W(h,V.k)&&(h.value=null),V.k&&(p[V.k]=null)}}if(U(c))Ft(c,l,12,[i,p]);else{const V=ne(c),ae=be(c);if(V||ae){const re=()=>{if(e.f){const D=V?I(c)?m[c]:p[c]:W()||!e.k?c.value:p[e.k];if(o)O(D)&&tr(D,n);else if(O(D))D.includes(n)||D.push(n);else if(V)p[c]=[n],I(c)&&(m[c]=p[c]);else{const B=[n];W(c,e.k)&&(c.value=B),e.k&&(p[e.k]=B)}}else V?(p[c]=i,I(c)&&(m[c]=i)):ae&&(W(c,e.k)&&(c.value=i),e.k&&(p[e.k]=i))};if(i){const D=()=>{re(),Ns.delete(e)};D.id=-1,Ns.set(e,D),Pe(D,s)}else Lo(e),re()}}}function Lo(e){const t=Ns.get(e);t&&(t.flags|=8,Ns.delete(e))}ws().requestIdleCallback,ws().cancelIdleCallback;const ns=e=>!!e.type.__asyncLoader,Sr=e=>e.type.__isKeepAlive;function Bi(e,t){Vo(e,"a",t)}function qi(e,t){Vo(e,"da",t)}function Vo(e,t,s=Te){const r=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Us(t,r,s),s){let o=s.parent;for(;o&&o.parent;)Sr(o.parent.vnode)&&Wi(r,t,s,o),o=o.parent}}function Wi(e,t,s,r){const o=Us(t,e,r,!0);Fo(()=>{tr(r[t],o)},s)}function Us(e,t,s=Te,r=!1){if(s){const o=s[e]||(s[e]=[]),n=t.__weh||(t.__weh=(...i)=>{Xe();const l=us(s),c=Be(t,s,e,i);return l(),Ye(),c});return r?o.unshift(n):o.push(n),n}}const dt=e=>(t,s=Te)=>{(!fs||e==="sp")&&Us(e,(...r)=>t(...r),s)},Gi=dt("bm"),$o=dt("m"),Ji=dt("bu"),Xi=dt("u"),Yi=dt("bum"),Fo=dt("um"),Zi=dt("sp"),Qi=dt("rtg"),el=dt("rtc");function tl(e,t=Te){Us("ec",e,t)}const sl=Symbol.for("v-ndc");function zt(e,t,s,r){let o;const n=s,i=O(e);if(i||ne(e)){const l=i&&wt(e);let c=!1,h=!1;l&&(c=!Ve(e),h=Qe(e),e=ks(e)),o=new Array(e.length);for(let p=0,m=e.length;p<m;p++)o[p]=t(c?h?_t($e(e[p])):$e(e[p]):e[p],p,void 0,n)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,n)}else if(X(e))if(e[Symbol.iterator])o=Array.from(e,(l,c)=>t(l,c,void 0,n));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,h=l.length;c<h;c++){const p=l[c];o[c]=t(e[p],p,c,n)}}else o=[];return o}const Cr=e=>e?mn(e)?Bs(e):Cr(e.parent):null,is=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Cr(e.parent),$root:e=>Cr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ho(e),$forceUpdate:e=>e.f||(e.f=()=>{wr(e.update)}),$nextTick:e=>e.n||(e.n=vr.bind(e.proxy)),$watch:e=>Di.bind(e)}),Tr=(e,t)=>e!==ee&&!e.__isScriptSetup&&q(e,t),rl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:r,data:o,props:n,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const A=i[t];if(A!==void 0)switch(A){case 1:return r[t];case 2:return o[t];case 4:return s[t];case 3:return n[t]}else{if(Tr(r,t))return i[t]=1,r[t];if(o!==ee&&q(o,t))return i[t]=2,o[t];if(q(n,t))return i[t]=3,n[t];if(s!==ee&&q(s,t))return i[t]=4,s[t];Ar&&(i[t]=0)}}const h=is[t];let p,m;if(h)return t==="$attrs"&&ve(e.attrs,"get",""),h(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(s!==ee&&q(s,t))return i[t]=4,s[t];if(m=c.config.globalProperties,q(m,t))return m[t]},set({_:e},t,s){const{data:r,setupState:o,ctx:n}=e;return Tr(o,t)?(o[t]=s,!0):r!==ee&&q(r,t)?(r[t]=s,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(n[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:r,appContext:o,props:n,type:i}},l){let c;return!!(s[l]||e!==ee&&l[0]!=="$"&&q(e,l)||Tr(t,l)||q(n,l)||q(r,l)||q(is,l)||q(o.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:q(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Ko(e){return O(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ar=!0;function ol(e){const t=Ho(e),s=e.proxy,r=e.ctx;Ar=!1,t.beforeCreate&&Do(t.beforeCreate,e,"bc");const{data:o,computed:n,methods:i,watch:l,provide:c,inject:h,created:p,beforeMount:m,mounted:A,beforeUpdate:I,updated:W,activated:V,deactivated:ae,beforeDestroy:re,beforeUnmount:D,destroyed:B,unmounted:P,render:Z,renderTracked:Ae,renderTriggered:me,errorCaptured:he,serverPrefetch:Ee,expose:ot,inheritAttrs:St,components:nt,directives:gt,filters:bt}=t;if(h&&nl(h,r,null),i)for(const Q in i){const G=i[Q];U(G)&&(r[Q]=G.bind(s))}if(o){const Q=o.call(s,s);X(Q)&&(e.data=br(Q))}if(Ar=!0,n)for(const Q in n){const G=n[Q],Ke=U(G)?G.bind(s,s):U(G.get)?G.get.bind(s,s):We,ce=!U(G)&&U(G.set)?G.set.bind(s):We,Re=rt({get:Ke,set:ce});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Re.value,set:xe=>Re.value=xe})}if(l)for(const Q in l)zo(l[Q],r,s,Q);if(c){const Q=U(c)?c.call(s):c;Reflect.ownKeys(Q).forEach(G=>{$i(G,Q[G])})}p&&Do(p,e,"c");function oe(Q,G){O(G)?G.forEach(Ke=>Q(Ke.bind(s))):G&&Q(G.bind(s))}if(oe(Gi,m),oe($o,A),oe(Ji,I),oe(Xi,W),oe(Bi,V),oe(qi,ae),oe(tl,he),oe(el,Ae),oe(Qi,me),oe(Yi,D),oe(Fo,P),oe(Zi,Ee),O(ot))if(ot.length){const Q=e.exposed||(e.exposed={});ot.forEach(G=>{Object.defineProperty(Q,G,{get:()=>s[G],set:Ke=>s[G]=Ke,enumerable:!0})})}else e.exposed||(e.exposed={});Z&&e.render===We&&(e.render=Z),St!=null&&(e.inheritAttrs=St),nt&&(e.components=nt),gt&&(e.directives=gt),Ee&&No(e)}function nl(e,t,s=We){O(e)&&(e=Ir(e));for(const r in e){const o=e[r];let n;X(o)?"default"in o?n=Os(o.from||r,o.default,!0):n=Os(o.from||r):n=Os(o),be(n)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>n.value,set:i=>n.value=i}):t[r]=n}}function Do(e,t,s){Be(O(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,s)}function zo(e,t,s,r){let o=r.includes(".")?Ro(s,r):()=>s[r];if(ne(e)){const n=t[e];U(n)&&Rt(o,n)}else if(U(e))Rt(o,e.bind(s));else if(X(e))if(O(e))e.forEach(n=>zo(n,t,s,r));else{const n=U(e.handler)?e.handler.bind(s):t[e.handler];U(n)&&Rt(o,n,e)}}function Ho(e){const t=e.type,{mixins:s,extends:r}=t,{mixins:o,optionsCache:n,config:{optionMergeStrategies:i}}=e.appContext,l=n.get(t);let c;return l?c=l:!o.length&&!s&&!r?c=t:(c={},o.length&&o.forEach(h=>Ls(c,h,i,!0)),Ls(c,t,i)),X(t)&&n.set(t,c),c}function Ls(e,t,s,r=!1){const{mixins:o,extends:n}=t;n&&Ls(e,n,s,!0),o&&o.forEach(i=>Ls(e,i,s,!0));for(const i in t)if(!(r&&i==="expose")){const l=il[i]||s&&s[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const il={data:Bo,props:qo,emits:qo,methods:ls,computed:ls,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:ls,directives:ls,watch:al,provide:Bo,inject:ll};function Bo(e,t){return t?e?function(){return fe(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function ll(e,t){return ls(Ir(e),Ir(t))}function Ir(e){if(O(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Se(e,t){return e?[...new Set([].concat(e,t))]:t}function ls(e,t){return e?fe(Object.create(null),e,t):t}function qo(e,t){return e?O(e)&&O(t)?[...new Set([...e,...t])]:fe(Object.create(null),Ko(e),Ko(t??{})):t}function al(e,t){if(!e)return t;if(!t)return e;const s=fe(Object.create(null),e);for(const r in t)s[r]=Se(e[r],t[r]);return s}function Wo(){return{app:null,config:{isNativeTag:Br,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let cl=0;function dl(e,t){return function(r,o=null){U(r)||(r=fe({},r)),o!=null&&!X(o)&&(o=null);const n=Wo(),i=new WeakSet,l=[];let c=!1;const h=n.app={_uid:cl++,_component:r,_props:o,_container:null,_context:n,_instance:null,version:Hl,get config(){return n.config},set config(p){},use(p,...m){return i.has(p)||(p&&U(p.install)?(i.add(p),p.install(h,...m)):U(p)&&(i.add(p),p(h,...m))),h},mixin(p){return n.mixins.includes(p)||n.mixins.push(p),h},component(p,m){return m?(n.components[p]=m,h):n.components[p]},directive(p,m){return m?(n.directives[p]=m,h):n.directives[p]},mount(p,m,A){if(!c){const I=h._ceVNode||R(r,o);return I.appContext=n,A===!0?A="svg":A===!1&&(A=void 0),e(I,p,A),c=!0,h._container=p,p.__vue_app__=h,Bs(I.component)}},onUnmount(p){l.push(p)},unmount(){c&&(Be(l,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(p,m){return n.provides[p]=m,h},runWithContext(p){const m=Ht;Ht=h;try{return p()}finally{Ht=m}}};return h}}let Ht=null;const ul=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${Le(t)}Modifiers`];function fl(e,t,...s){if(e.isUnmounted)return;const r=e.vnode.props||ee;let o=s;const n=t.startsWith("update:"),i=n&&ul(r,t.slice(7));i&&(i.trim&&(o=s.map(p=>ne(p)?p.trim():p)),i.number&&(o=o.map(vs)));let l,c=r[l=rr(t)]||r[l=rr(Ie(t))];!c&&n&&(c=r[l=rr(Le(t))]),c&&Be(c,e,6,o);const h=r[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Be(h,e,6,o)}}const pl=new WeakMap;function Go(e,t,s=!1){const r=s?pl:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const n=e.emits;let i={},l=!1;if(!U(e)){const c=h=>{const p=Go(h,t,!0);p&&(l=!0,fe(i,p))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!n&&!l?(X(e)&&r.set(e,null),null):(O(n)?n.forEach(c=>i[c]=null):fe(i,n),X(e)&&r.set(e,i),i)}function Vs(e,t){return!e||!gs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,Le(t))||q(e,t))}function Ou(){}function Jo(e){const{type:t,vnode:s,proxy:r,withProxy:o,propsOptions:[n],slots:i,attrs:l,emit:c,render:h,renderCache:p,props:m,data:A,setupState:I,ctx:W,inheritAttrs:V}=e,ae=Rs(e);let re,D;try{if(s.shapeFlag&4){const P=o||r,Z=P;re=tt(h.call(Z,P,p,m,I,A,W)),D=l}else{const P=t;re=tt(P.length>1?P(m,{attrs:l,slots:i,emit:c}):P(m,null)),D=t.props?l:hl(l)}}catch(P){jt.length=0,Ms(P,e,1),re=R(ut)}let B=re;if(D&&V!==!1){const P=Object.keys(D),{shapeFlag:Z}=B;P.length&&Z&7&&(n&&P.some(bs)&&(D=gl(D,n)),B=Bt(B,D,!1,!0))}if(s.dirs&&(B=Bt(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(s.dirs):s.dirs),s.transition){const P=js(B.type)&&Oo(B)||B;kr(P,s.transition)}return re=B,Rs(ae),re}const hl=e=>{let t;for(const s in e)(s==="class"||s==="style"||gs(s))&&((t||(t={}))[s]=e[s]);return t},gl=(e,t)=>{const s={};for(const r in e)(!bs(r)||!(r.slice(9)in t))&&(s[r]=e[r]);return s};function bl(e,t,s){const{props:r,children:o,component:n}=e,{props:i,children:l,patchFlag:c}=t,h=n.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return r?Xo(r,i,h):!!i;if(c&8){const p=t.dynamicProps;for(let m=0;m<p.length;m++){const A=p[m];if(Yo(i,r,A)&&!Vs(h,A))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?Xo(r,i,h):!0:!!i;return!1}function Xo(e,t,s){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const n=r[o];if(Yo(t,e,n)&&!Vs(s,n))return!0}return!1}function Yo(e,t,s){const r=e[s],o=t[s];return s==="style"&&X(r)&&X(o)?!vt(r,o):r!==o}function ml({vnode:e,parent:t,suspense:s},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=r)}const Zo={},Qo=()=>Object.create(Zo),en=e=>Object.getPrototypeOf(e)===Zo;function xl(e,t,s,r=!1){const o={},n=Qo();e.propsDefaults=Object.create(null),tn(e,t,o,n);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);s?e.props=r?o:_i(o):e.type.props?e.props=o:e.props=n,e.attrs=n}function yl(e,t,s,r){const{props:o,attrs:n,vnode:{patchFlag:i}}=e,l=H(o),[c]=e.propsOptions;let h=!1;if((r||i>0)&&!(i&16)){if(i&8){const p=e.vnode.dynamicProps;for(let m=0;m<p.length;m++){let A=p[m];if(Vs(e.emitsOptions,A))continue;const I=t[A];if(c)if(q(n,A))I!==n[A]&&(n[A]=I,h=!0);else{const W=Ie(A);o[W]=Pr(c,l,W,I,e,!1)}else I!==n[A]&&(n[A]=I,h=!0)}}}else{tn(e,t,o,n)&&(h=!0);let p;for(const m in l)(!t||!q(t,m)&&((p=Le(m))===m||!q(t,p)))&&(c?s&&(s[m]!==void 0||s[p]!==void 0)&&(o[m]=Pr(c,l,m,void 0,e,!0)):delete o[m]);if(n!==l)for(const m in n)(!t||!q(t,m))&&(delete n[m],h=!0)}h&<(e.attrs,"set","")}function tn(e,t,s,r){const[o,n]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(Xt(c))continue;const h=t[c];let p;o&&q(o,p=Ie(c))?!n||!n.includes(p)?s[p]=h:(l||(l={}))[p]=h:Vs(e.emitsOptions,c)||(!(c in r)||h!==r[c])&&(r[c]=h,i=!0)}if(n){const c=H(s),h=l||ee;for(let p=0;p<n.length;p++){const m=n[p];s[m]=Pr(o,c,m,h[m],e,!q(h,m))}}return i}function Pr(e,t,s,r,o,n){const i=e[s];if(i!=null){const l=q(i,"default");if(l&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&U(c)){const{propsDefaults:h}=o;if(s in h)r=h[s];else{const p=us(o);r=h[s]=c.call(null,t),p()}}else r=c;o.ce&&o.ce._setProp(s,r)}i[0]&&(n&&!l?r=!1:i[1]&&(r===""||r===Le(s))&&(r=!0))}return r}const vl=new WeakMap;function sn(e,t,s=!1){const r=s?vl:t.propsCache,o=r.get(e);if(o)return o;const n=e.props,i={},l=[];let c=!1;if(!U(e)){const p=m=>{c=!0;const[A,I]=sn(m,t,!0);fe(i,A),I&&l.push(...I)};!s&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!n&&!c)return X(e)&&r.set(e,At),At;if(O(n))for(let p=0;p<n.length;p++){const m=Ie(n[p]);rn(m)&&(i[m]=ee)}else if(n)for(const p in n){const m=Ie(p);if(rn(m)){const A=n[p],I=i[m]=O(A)||U(A)?{type:A}:fe({},A),W=I.type;let V=!1,ae=!0;if(O(W))for(let re=0;re<W.length;++re){const D=W[re],B=U(D)&&D.name;if(B==="Boolean"){V=!0;break}else B==="String"&&(ae=!1)}else V=U(W)&&W.name==="Boolean";I[0]=V,I[1]=ae,(V||q(I,"default"))&&l.push(m)}}const h=[i,l];return X(e)&&r.set(e,h),h}function rn(e){return e[0]!=="$"&&!Xt(e)}const Mr=e=>e==="_"||e==="_ctx"||e==="$stable",Er=e=>O(e)?e.map(tt):[tt(e)],wl=(e,t,s)=>{if(t._n)return t;const r=Vi((...o)=>Er(t(...o)),s);return r._c=!1,r},on=(e,t,s)=>{const r=e._ctx;for(const o in e){if(Mr(o))continue;const n=e[o];if(U(n))t[o]=wl(o,n,r);else if(n!=null){const i=Er(n);t[o]=()=>i}}},nn=(e,t)=>{const s=Er(t);e.slots.default=()=>s},ln=(e,t,s)=>{for(const r in t)(s||!Mr(r))&&(e[r]=t[r])},_l=(e,t,s)=>{const r=e.slots=Qo();if(e.vnode.shapeFlag&32){const o=t._;o?(ln(r,t,s),s&&Xr(r,"_",o,!0)):on(t,r)}else t&&nn(e,t)},kl=(e,t,s)=>{const{vnode:r,slots:o}=e;let n=!0,i=ee;if(r.shapeFlag&32){const l=t._;l?s&&l===1?n=!1:ln(o,t,s):(n=!t.$stable,on(t,o)),i=t}else t&&(nn(e,t),i={default:1});if(n)for(const l in o)!Mr(l)&&i[l]==null&&delete o[l]},Pe=Il;function Sl(e){return Cl(e)}function Cl(e,t){const s=ws();s.__VUE__=!0;const{insert:r,remove:o,patchProp:n,createElement:i,createText:l,createComment:c,setText:h,setElementText:p,parentNode:m,nextSibling:A,setScopeId:I=We,insertStaticContent:W}=e,V=(u,f,b,w=null,x=null,y=null,C=void 0,S=null,k=!!f.dynamicChildren)=>{if(u===f)return;u&&!cs(u,f)&&(w=Vt(u),xe(u,x,y,!0),u=null),f.patchFlag===-2&&(k=!1,f.dynamicChildren=null),f.dynamicChildren&&u&&u.dynamicChildren&&u.dynamicChildren.hasOnce&&(f.dynamicChildren===At&&(f.dynamicChildren=[]),f.dynamicChildren.hasOnce=!0);const{type:v,ref:M,shapeFlag:T}=f;switch(v){case $s:ae(u,f,b,w);break;case ut:re(u,f,b,w);break;case Or:u==null&&D(f,b,w,C);break;case Ce:nt(u,f,b,w,x,y,C,S,k);break;default:T&1?Z(u,f,b,w,x,y,C,S,k):T&6?gt(u,f,b,w,x,y,C,S,k):(T&64||T&128)&&v.process(u,f,b,w,x,y,C,S,k,Oe)}M!=null&&x?os(M,u&&u.ref,y,f||u,!f):M==null&&u&&u.ref!=null&&os(u.ref,null,y,u,!0)},ae=(u,f,b,w)=>{if(u==null)r(f.el=l(f.children),b,w);else{const x=f.el=u.el;f.children!==u.children&&h(x,f.children)}},re=(u,f,b,w)=>{u==null?r(f.el=c(f.children||""),b,w):f.el=u.el},D=(u,f,b,w)=>{[u.el,u.anchor]=W(u.children,f,b,w,u.el,u.anchor)},B=({el:u,anchor:f},b,w)=>{let x;for(;u&&u!==f;)x=A(u),r(u,b,w),u=x;r(f,b,w)},P=({el:u,anchor:f})=>{let b;for(;u&&u!==f;)b=A(u),o(u),u=b;o(f)},Z=(u,f,b,w,x,y,C,S,k)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),u==null)Ae(f,b,w,x,y,C,S,k);else{const v=u.el&&u.el._isVueCE?u.el:null;try{v&&v._beginPatch(),Ee(u,f,x,y,C,S,k)}finally{v&&v._endPatch()}}},Ae=(u,f,b,w,x,y,C,S)=>{let k,v;const{props:M,shapeFlag:T,transition:E,dirs:j}=u;if(k=u.el=i(u.type,y,M&&M.is,M),T&8?p(k,u.children):T&16&&he(u.children,k,null,w,x,Rr(u,y),C,S),j&&Et(u,null,w,"created"),me(k,u,u.scopeId,C,w),M){for(const Y in M)Y!=="value"&&!Xt(Y)&&n(k,Y,null,M[Y],y,w);"value"in M&&n(k,"value",null,M.value,y),(v=M.onVnodeBeforeMount)&&st(v,w,u)}j&&Et(u,null,w,"beforeMount");const K=Tl(x,E);K&&E.beforeEnter(k),r(k,f,b),((v=M&&M.onVnodeMounted)||K||j)&&Pe(()=>{try{v&&st(v,w,u),K&&E.enter(k),j&&Et(u,null,w,"mounted")}finally{}},x)},me=(u,f,b,w,x)=>{if(b&&I(u,b),w)for(let y=0;y<w.length;y++)I(u,w[y]);if(x){let y=x.subTree;if(f===y||fn(y.type)&&(y.ssContent===f||y.ssFallback===f)){const C=x.vnode;me(u,C,C.scopeId,C.slotScopeIds,x.parent)}}},he=(u,f,b,w,x,y,C,S,k=0)=>{for(let v=k;v<u.length;v++){const M=u[v]=S?ft(u[v]):tt(u[v]);V(null,M,f,b,w,x,y,C,S)}},Ee=(u,f,b,w,x,y,C)=>{const S=f.el=u.el;let{patchFlag:k,dynamicChildren:v,dirs:M}=f;k|=u.patchFlag&16;const T=u.props||ee,E=f.props||ee;let j;if(b&&Ot(b,!1),(j=E.onVnodeBeforeUpdate)&&st(j,b,f,u),M&&Et(f,u,b,"beforeUpdate"),b&&Ot(b,!0),v&&(!u.dynamicChildren||u.dynamicChildren.length!==v.length)&&(k=0,C=!1,v=null),(T.innerHTML&&E.innerHTML==null||T.textContent&&E.textContent==null)&&p(S,""),v?ot(u.dynamicChildren,v,S,b,w,Rr(f,x),y):C||G(u,f,S,null,b,w,Rr(f,x),y,!1),k>0){if(k&16)St(S,T,E,b,x);else if(k&2&&T.class!==E.class&&n(S,"class",null,E.class,x),k&4&&n(S,"style",T.style,E.style,x),k&8){const K=f.dynamicProps;for(let Y=0;Y<K.length;Y++){const J=K[Y],de=T[J],pe=E[J];(pe!==de||J==="value")&&n(S,J,de,pe,x,b)}}k&1&&u.children!==f.children&&p(S,f.children)}else!C&&v==null&&St(S,T,E,b,x);((j=E.onVnodeUpdated)||M)&&Pe(()=>{j&&st(j,b,f,u),M&&Et(f,u,b,"updated")},w)},ot=(u,f,b,w,x,y,C)=>{for(let S=0;S<f.length;S++){const k=u[S],v=f[S],M=k.el&&(k.type===Ce||!cs(k,v)||k.shapeFlag&198)?m(k.el):b;V(k,v,M,null,w,x,y,C,!0)}},St=(u,f,b,w,x)=>{if(f!==b){if(f!==ee)for(const y in f)!Xt(y)&&!(y in b)&&n(u,y,f[y],null,x,w);for(const y in b){if(Xt(y))continue;const C=b[y],S=f[y];C!==S&&y!=="value"&&n(u,y,S,C,x,w)}"value"in b&&n(u,"value",f.value,b.value,x)}},nt=(u,f,b,w,x,y,C,S,k)=>{const v=f.el=u?u.el:l(""),M=f.anchor=u?u.anchor:l("");let{patchFlag:T,dynamicChildren:E,slotScopeIds:j}=f;j&&(S=S?S.concat(j):j),u==null?(r(v,b,w),r(M,b,w),he(f.children||[],b,M,x,y,C,S,k)):T>0&&T&64&&E&&u.dynamicChildren&&u.dynamicChildren.length===E.length?(ot(u.dynamicChildren,E,b,x,y,C,S),(f.key!=null||x&&f===x.subTree)&&an(u,f,!0)):G(u,f,b,M,x,y,C,S,k)},gt=(u,f,b,w,x,y,C,S,k)=>{f.slotScopeIds=S,u==null?f.shapeFlag&512?x.ctx.activate(f,b,w,C,k):bt(f,b,w,x,y,C,k):it(u,f,k)},bt=(u,f,b,w,x,y,C)=>{const S=u.component=jl(u,w,x);if(Sr(u)&&(S.ctx.renderer=Oe),Ul(S,!1,C),S.asyncDep){if(x&&x.registerDep(S,oe,C),!u.el){const k=S.subTree=R(ut);re(null,k,f,b),u.placeholder=k.el}}else oe(S,u,f,b,x,y,C)},it=(u,f,b)=>{const w=f.component=u.component;if(bl(u,f,b))if(w.asyncDep&&!w.asyncResolved){f.el=u.el,Q(w,f,b);return}else w.next=f,w.update();else f.el=u.el,w.vnode=f},oe=(u,f,b,w,x,y,C)=>{const S=()=>{if(u.isMounted){let{next:T,bu:E,u:j,parent:K,vnode:Y}=u;{const ze=cn(u);if(ze){T&&(T.el=Y.el,Q(u,T,C)),ze.asyncDep.then(()=>{Pe(()=>{u.isUnmounted||v()},x)});return}}let J=T,de;Ot(u,!1),T?(T.el=Y.el,Q(u,T,C)):T=Y,E&&ys(E),(de=T.props&&T.props.onVnodeBeforeUpdate)&&st(de,K,T,Y),Ot(u,!0);const pe=Jo(u),De=u.subTree;u.subTree=pe,V(De,pe,m(De.el),Vt(De),u,x,y),T.el=pe.el,J===null&&ml(u,pe.el),j&&Pe(j,x),(de=T.props&&T.props.onVnodeUpdated)&&Pe(()=>st(de,K,T,Y),x)}else{let T;const{el:E,props:j}=f,{bm:K,m:Y,parent:J,root:de,type:pe}=u,De=ns(f);Ot(u,!1),K&&ys(K),!De&&(T=j&&j.onVnodeBeforeMount)&&st(T,J,f),Ot(u,!0);{de.ce&&de.ce._hasShadowRoot()&&de.ce._injectChildStyle(pe,u.parent?u.parent.type:void 0);const ze=u.subTree=Jo(u);V(null,ze,b,w,u,x,y),f.el=ze.el}if(Y&&Pe(Y,x),!De&&(T=j&&j.onVnodeMounted)){const ze=f;Pe(()=>st(T,J,ze),x)}(f.shapeFlag&256||J&&ns(J.vnode)&&J.vnode.shapeFlag&256)&&u.a&&Pe(u.a,x),u.isMounted=!0,f=b=w=null}};u.scope.on();const k=u.effect=new oo(S);u.scope.off();const v=u.update=k.run.bind(k),M=u.job=k.runIfDirty.bind(k);M.i=u,M.id=u.uid,k.scheduler=()=>wr(M),Ot(u,!0),v()},Q=(u,f,b)=>{f.component=u;const w=u.vnode.props;u.vnode=f,u.next=null,yl(u,f.props,w,b),kl(u,f.children,b),Xe(),Ao(u),Ye()},G=(u,f,b,w,x,y,C,S,k=!1)=>{const v=u&&u.children,M=u?u.shapeFlag:0,T=f.children,{patchFlag:E,shapeFlag:j}=f;if(E>0){if(E&128){ce(v,T,b,w,x,y,C,S,k);return}else if(E&256){Ke(v,T,b,w,x,y,C,S,k);return}}j&8?(M&16&&mt(v,x,y),T!==v&&p(b,T)):M&16?j&16?ce(v,T,b,w,x,y,C,S,k):mt(v,x,y,!0):(M&8&&p(b,""),j&16&&he(T,b,w,x,y,C,S,k))},Ke=(u,f,b,w,x,y,C,S,k)=>{u=u||At,f=f||At;const v=u.length,M=f.length,T=Math.min(v,M);let E;for(E=0;E<T;E++){const j=f[E]=k?ft(f[E]):tt(f[E]);V(u[E],j,b,null,x,y,C,S,k)}v>M?mt(u,x,y,!0,!1,T):he(f,b,w,x,y,C,S,k,T)},ce=(u,f,b,w,x,y,C,S,k)=>{let v=0;const M=f.length;let T=u.length-1,E=M-1;for(;v<=T&&v<=E;){const j=u[v],K=f[v]=k?ft(f[v]):tt(f[v]);if(cs(j,K))V(j,K,b,null,x,y,C,S,k);else break;v++}for(;v<=T&&v<=E;){const j=u[T],K=f[E]=k?ft(f[E]):tt(f[E]);if(cs(j,K))V(j,K,b,null,x,y,C,S,k);else break;T--,E--}if(v>T){if(v<=E){const j=E+1,K=j<M?f[j].el:w;for(;v<=E;)V(null,f[v]=k?ft(f[v]):tt(f[v]),b,K,x,y,C,S,k),v++}}else if(v>E)for(;v<=T;)xe(u[v],x,y,!0),v++;else{const j=v,K=v,Y=new Map;for(v=K;v<=E;v++){const g=f[v]=k?ft(f[v]):tt(f[v]);g.key!=null&&Y.set(g.key,v)}let J,de=0;const pe=E-K+1;let De=!1,ze=0;const _=new Array(pe);for(v=0;v<pe;v++)_[v]=0;for(v=j;v<=T;v++){const g=u[v];if(de>=pe){xe(g,x,y,!0);continue}let ie;if(g.key!=null)ie=Y.get(g.key);else for(J=K;J<=E;J++)if(_[J-K]===0&&cs(g,f[J])){ie=J;break}ie===void 0?xe(g,x,y,!0):(_[ie-K]=v+1,ie>=ze?ze=ie:De=!0,V(g,f[ie],b,null,x,y,C,S,k),de++)}const d=De?Al(_):At;for(J=d.length-1,v=pe-1;v>=0;v--){const g=K+v,ie=f[g],je=f[g+1],hs=g+1<M?je.el||un(je):w;_[v]===0?V(null,ie,b,hs,x,y,C,S,k):De&&(J<0||v!==d[J]?Re(ie,b,hs,2):J--)}}},Re=(u,f,b,w,x=null)=>{const{el:y,type:C,transition:S,children:k,shapeFlag:v}=u;if(v&6){Re(u.component.subTree,f,b,w);return}if(v&128){u.suspense.move(f,b,w);return}if(v&64){C.move(u,f,b,Oe);return}if(C===Ce){r(y,f,b);for(let T=0;T<k.length;T++)Re(k[T],f,b,w);r(u.anchor,f,b);return}if(C===Or){B(u,f,b);return}if(w!==2&&v&1&&S)if(w===0)S.persisted&&!y[_r]?r(y,f,b):(S.beforeEnter(y),r(y,f,b),Pe(()=>S.enter(y),x));else{const{leave:T,delayLeave:E,afterLeave:j}=S,K=()=>{u.ctx.isUnmounted?o(y):r(y,f,b)},Y=()=>{const J=y._isLeaving||!!y[_r];y._isLeaving&&y[_r](!0),S.persisted&&!J?K():T(y,()=>{K(),j&&j()})};E?E(y,K,Y):Y()}else r(y,f,b)},xe=(u,f,b,w=!1,x=!1)=>{const{type:y,props:C,ref:S,children:k,dynamicChildren:v,shapeFlag:M,patchFlag:T,dirs:E,cacheIndex:j,memo:K}=u;if((T===-2||v&&v.hasOnce)&&(x=!1),S!=null&&(Xe(),os(S,null,b,u,!0),Ye()),j!=null&&(!u.ctx||u.ctx===f)&&(f.renderCache[j]=void 0),M&256){f.ctx.deactivate(u);return}const Y=M&1&&E,J=!ns(u);let de;if(J&&(de=C&&C.onVnodeBeforeUnmount)&&st(de,f,u),M&6)Gt(u.component,b,w);else{if(M&128){u.suspense.unmount(b,w);return}Y&&Et(u,null,f,"beforeUnmount"),M&64?u.type.remove(u,f,b,Oe,w):v&&!v.hasOnce&&(y!==Ce||T>0&&T&64)?mt(v,f,b,!1,!0):(y===Ce&&T&384||!x&&M&16)&&mt(k,f,b),w&&Wt(u)}const pe=K!=null&&j==null;(J&&(de=C&&C.onVnodeUnmounted)||Y||pe)&&Pe(()=>{de&&st(de,f,u),Y&&Et(u,null,f,"unmounted"),pe&&(u.el=null)},b)},Wt=u=>{const{type:f,el:b,anchor:w,transition:x}=u;if(f===Ce){we(b,w);return}if(f===Or){P(u),x&&!x.persisted&&x.afterLeave&&x.afterLeave();return}const y=()=>{o(b),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(u.shapeFlag&1&&x&&!x.persisted){const{leave:C,delayLeave:S}=x,k=()=>C(b,y);S?S(u.el,y,k):k()}else y()},we=(u,f)=>{let b;for(;u!==f;)b=A(u),o(u),u=b;o(f)},Gt=(u,f,b)=>{const{bum:w,scope:x,job:y,subTree:C,um:S,m:k,a:v}=u;dn(k),dn(v),w&&ys(w),x.stop(),y?(y.flags|=8,xe(C,u,f,b)):u.vnode.el&&C&&(C.transition=u.vnode.transition,xe(C,u,f,b)),S&&Pe(S,f),Pe(()=>{u.isUnmounted=!0},f)},mt=(u,f,b,w=!1,x=!1,y=0)=>{for(let C=y;C<u.length;C++)xe(u[C],f,b,w,x)},Vt=u=>{if(u.shapeFlag&6)return Vt(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=A(u.anchor||u.el),b=f&&f[zi];return b?A(b):f};let Ct=!1;const Tt=(u,f,b)=>{let w;u==null?f._vnode&&(xe(f._vnode,null,null,!0),w=f._vnode.component):V(f._vnode||null,u,f,null,null,null,b),f._vnode=u,Ct||(Ct=!0,Ao(w),Io(),Ct=!1)},Oe={p:V,um:xe,m:Re,r:Wt,mt:bt,mc:he,pc:G,pbc:ot,n:Vt,o:e};return{render:Tt,hydrate:void 0,createApp:dl(Tt)}}function Rr({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Ot({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function an(e,t,s=!1){const r=e.children,o=t.children;if(O(r)&&O(o))for(let n=0;n<r.length;n++){const i=r[n];let l=o[n];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[n]=ft(o[n]),l.el=i.el),!s&&l.patchFlag!==-2&&an(i,l)),l.type===$s&&(l.patchFlag===-1&&(l=o[n]=ft(l)),l.el=i.el),l.type===ut&&!l.el&&(l.el=i.el)}}function Al(e){const t=e.slice(),s=[0];let r,o,n,i,l;const c=e.length;for(r=0;r<c;r++){const h=e[r];if(h!==0){if(o=s[s.length-1],e[o]<h){t[r]=o,s.push(r);continue}for(n=0,i=s.length-1;n<i;)l=n+i>>1,e[s[l]]<h?n=l+1:i=l;h<e[s[n]]&&(n>0&&(t[r]=s[n-1]),s[n]=r)}}for(n=s.length,i=s[n-1];n-- >0;)s[n]=i,i=t[i];return s}function cn(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:cn(t)}function dn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function un(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?un(t.subTree):null}const fn=e=>e.__isSuspense;function Il(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):Li(e)}const Ce=Symbol.for("v-fgt"),$s=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),Or=Symbol.for("v-stc"),jt=[];let Ue=null;function L(e=!1){jt.push(Ue=e?null:[])}function pn(){jt.pop(),Ue=jt[jt.length-1]||null}let as=1;function Fs(e,t=!1){as+=e,e<0&&Ue&&t&&(Ue.hasOnce=!0)}function hn(e){return e.dynamicChildren=as>0?Ue||At:null,pn(),as>0&&Ue&&Ue.push(e),e}function F(e,t,s,r,o,n){return hn(a(e,t,s,r,o,n,!0))}function Nt(e,t,s,r,o){return hn(R(e,t,s,r,o,!0))}function Ks(e){return e?e.__v_isVNode===!0:!1}function cs(e,t){return e.type===t.type&&e.key===t.key}const gn=({key:e})=>e??null,Ds=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||be(e)||U(e)?{i:Fe,r:e,k:t,f:!!s}:e:null);function a(e,t=null,s=null,r=0,o=null,n=e===Ce?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gn(t),ref:t&&Ds(t),scopeId:Mo,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Fe};return l?(zs(c,s),n&128&&e.normalize(c)):s&&(c.shapeFlag|=ne(s)?8:16),as>0&&!i&&Ue&&(c.patchFlag>0||n&6)&&c.patchFlag!==32&&Ue.push(c),c}const R=Pl;function Pl(e,t=null,s=null,r=0,o=null,n=!1){if((!e||e===sl)&&(e=ut),Ks(e)){const l=Bt(e,t,!0);return s&&zs(l,s),as>0&&!n&&Ue&&(l.shapeFlag&6?Ue[Ue.indexOf(e)]=l:Ue.push(l)),l.patchFlag=-2,l}if(zl(e)&&(e=e.__vccOpts),t){t=Ml(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Ne(l)),X(c)&&(xr(c)&&!O(c)&&(c=fe({},c)),t.style=_s(c))}const i=ne(e)?1:fn(e)?128:js(e)?64:X(e)?4:U(e)?2:0;return a(e,t,s,r,o,i,n,!0)}function Ml(e){return e?xr(e)||en(e)?fe({},e):e:null}function Bt(e,t,s=!1,r=!1){const{props:o,ref:n,patchFlag:i,children:l,transition:c}=e,h=t?El(o||{},t):o,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&gn(h),ref:t&&t.ref?s&&n?O(n)?n.concat(Ds(t)):[n,Ds(t)]:Ds(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bt(e.ssContent),ssFallback:e.ssFallback&&Bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&kr(p,c.clone(p)),p}function qe(e=" ",t=0){return R($s,null,e,t)}function le(e="",t=!1){return t?(L(),Nt(ut,null,e)):R(ut,null,e)}function tt(e){return e==null||typeof e=="boolean"?R(ut):O(e)?R(Ce,null,e.slice()):Ks(e)?ft(e):R($s,null,String(e))}function ft(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Bt(e)}function zs(e,t){let s=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(O(t))s=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),zs(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!en(t)?t._ctx=Fe:o===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(U(t)){if(r&65){zs(e,{default:t});return}t={default:t,_ctx:Fe},s=32}else t=String(t),r&64?(s=16,t=[qe(t)]):s=8;e.children=t,e.shapeFlag|=s}function El(...e){const t={};for(let s=0;s<e.length;s++){const r=e[s];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ne([t.class,r.class]));else if(o==="style")t.style=_s([t.style,r.style]);else if(gs(o)){const n=t[o],i=r[o];i&&n!==i&&!(O(n)&&n.includes(i))?t[o]=n?[].concat(n,i):i:i==null&&n==null&&!bs(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function st(e,t,s,r=null){Be(e,t,7,[s,r])}const Rl=Wo();let Ol=0;function jl(e,t,s){const r=e.type,o=(t?t.appContext:e.appContext)||Rl,n={uid:Ol++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ri(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:sn(r,o),emitsOptions:Go(r,o),emit:null,emitted:null,propsDefaults:ee,inheritAttrs:r.inheritAttrs,ctx:ee,data:ee,props:ee,attrs:ee,slots:ee,refs:ee,setupState:ee,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=fl.bind(null,n),e.ce&&e.ce(n),n}let Te=null;const Nl=()=>Te||Fe;let Hs,ds;{const e=ws(),t=(s,r)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(r),n=>{o.length>1?o.forEach(i=>i(n)):o[0](n)}};Hs=t("__VUE_INSTANCE_SETTERS__",s=>Te=s),ds=t("__VUE_SSR_SETTERS__",s=>fs=s)}const us=e=>{const t=Te;return Hs(e),e.scope.on(),()=>{e.scope.off(),Hs(t)}},bn=()=>{Te&&Te.scope.off(),Hs(null)};function mn(e){return e.vnode.shapeFlag&4}let fs=!1;function Ul(e,t=!1,s=!1){t&&ds(t);const{props:r,children:o}=e.vnode,n=mn(e);xl(e,r,n,t),_l(e,o,s||t);const i=n?Ll(e,t):void 0;return t&&ds(!1),i}function Ll(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,rl);const{setup:r}=s;if(r){Xe();const o=e.setupContext=r.length>1?$l(e):null,n=us(e),i=Ft(r,e,0,[e.props,o]),l=Wr(i);if(Ye(),n(),(l||e.sp)&&!ns(e)&&No(e),l){if(i.then(bn,bn),t)return i.then(c=>{ds(!0);try{xn(e,c,t)}finally{ds(!1)}}).catch(c=>{Ms(c,e,0)});e.asyncDep=i}else xn(e,i)}else yn(e)}function xn(e,t,s){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=ko(t)),yn(e)}function yn(e,t,s){const r=e.type;e.render||(e.render=r.render||We);{const o=us(e);Xe();try{ol(e)}finally{Ye(),o()}}}const Vl={get(e,t){return ve(e,"get",""),e[t]}};function $l(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Vl),slots:e.slots,emit:e.emit,expose:t}}function Bs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ko(ki(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in is)return is[s](e)},has(t,s){return s in t||s in is}})):e.proxy}const Fl=/(?:^|[-_])\w/g,Kl=e=>e.replace(Fl,t=>t.toUpperCase()).replace(/[-_]/g,"");function Dl(e,t=!0){return U(e)?e.displayName||e.name:e.name||t&&e.__name}function vn(e,t,s=!1){let r=Dl(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e){const o=n=>{for(const i in n)if(n[i]===t)return i};r=o(e.components)||e.parent&&o(e.parent.type.components)||o(e.appContext.components)}return r?Kl(r):s?"App":"Anonymous"}function zl(e){return U(e)&&"__vccOpts"in e}const rt=(e,t)=>Ii(e,t,fs);function jr(e,t,s){try{Fs(-1);const r=arguments.length;return r===2?X(t)&&!O(t)?Ks(t)?R(e,null,[t]):R(e,t):R(e,null,t):(r>3?s=Array.prototype.slice.call(arguments,2):r===3&&Ks(s)&&(s=[s]),R(e,t,s))}finally{Fs(1)}}const Hl="3.5.43";/**
|
|
17
17
|
* @vue/runtime-dom v3.5.43
|
|
18
18
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
19
19
|
* @license MIT
|
|
20
|
-
**/let Sr;const dn=typeof window<"u"&&window.trustedTypes;if(dn)try{Sr=dn.createPolicy("vue",{createHTML:e=>e})}catch{}const un=Sr?e=>Sr.createHTML(e):e=>e,Vl="http://www.w3.org/2000/svg",Fl="http://www.w3.org/1998/Math/MathML",ot=typeof document<"u"?document:null,fn=ot&&ot.createElement("template"),Kl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,r)=>{const o=t==="svg"?ot.createElementNS(Vl,e):t==="mathml"?ot.createElementNS(Fl,e):s?ot.createElement(e,{is:s}):ot.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,r,o,n){const i=s?s.previousSibling:t.lastChild;if(o&&(o===n||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===n||!(o=o.nextSibling)););else{fn.innerHTML=un(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=fn.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},$l=Symbol("_vtc");function Ll(e,t,s){const r=e[$l];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const pn=Symbol("_vod"),Dl=Symbol("_vsh"),Ul=Symbol(""),Hl=/(?:^|;)\s*display\s*:/;function zl(e,t,s){const r=e.style,o=oe(s);let n=!1;if(s&&!o){if(t)if(oe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&os(r,l,"")}else for(const i in t)s[i]==null&&os(r,i,"");for(const i in s){i==="display"&&(n=!0);const l=s[i];l!=null?Bl(e,i,!oe(t)&&t?t[i]:void 0,l)||os(r,i,l):os(r,i,"")}}else if(o){if(t!==s){const i=r[Ul];i&&(s+=";"+i),r.cssText=s,n=Hl.test(s)}}else t&&e.removeAttribute("style");pn in e&&(e[pn]=n?r.display:"",e[Dl]&&(r.display="none"))}const Ks=/\s*!important$/;function os(e,t,s){if(R(s))s.forEach(r=>os(e,t,r));else if(s==null&&(s=""),t.startsWith("--"))Ks.test(s)?e.setProperty(t,s.replace(Ks,""),"important"):e.setProperty(t,s);else{const r=ql(e,t);Ks.test(s)?e.setProperty(Me(r),s.replace(Ks,""),"important"):e[r]=s}}const hn=["Webkit","Moz","ms"],Ar={};function ql(e,t){const s=Ar[t];if(s)return s;let r=we(t);if(r!=="filter"&&r in e)return Ar[t]=r;r=Kr(r);for(let o=0;o<hn.length;o++){const n=hn[o]+r;if(n in e)return Ar[t]=n}return t}function Bl(e,t,s,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&oe(r)&&s===r}const gn="http://www.w3.org/1999/xlink";function bn(e,t,s,r,o,n=zn(t)){r&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(gn,t.slice(6,t.length)):e.setAttributeNS(gn,t,s):s==null||n&&!Ur(s)?e.removeAttribute(t):e.setAttribute(t,n?"":$e(s)?String(s):s)}function mn(e,t,s,r,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?un(s):s);return}const n=e.tagName;if(t==="value"&&n!=="PROGRESS"&&!n.includes("-")){const l=n==="OPTION"?e.getAttribute("value")||"":e.value,a=s==null?e.type==="checkbox"?"on":"":String(s);(l!==a||!("_value"in e))&&(e.value=a),s==null&&e.removeAttribute(t),e._value=s;return}let i=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Ur(s):s==null&&l==="string"?(s="",i=!0):l==="number"&&(s=0,i=!0)}try{e[t]=s}catch{}i&&e.removeAttribute(o||t)}function kt(e,t,s,r){e.addEventListener(t,s,r)}function Wl(e,t,s,r){e.removeEventListener(t,s,r)}const xn=Symbol("_vei");function Jl(e,t,s,r,o=null){const n=e[xn]||(e[xn]={}),i=n[t];if(r&&i)i.value=r;else{const[l,a]=Xl(t);if(r){const h=n[t]=ea(r,o);kt(e,l,h,a)}else i&&(Wl(e,l,i,a),n[t]=void 0)}}const Gl=/(Once|Passive|Capture)$/,Yl=/^on:?(?:Once|Passive|Capture)$/;function Xl(e){let t,s;for(;(s=e.match(Gl))&&!Yl.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Me(e.slice(2)),t]}let Tr=0;const Zl=Promise.resolve(),Ql=()=>Tr||(Zl.then(()=>Tr=0),Tr=Date.now());function ea(e,t){const s=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=s.attached)return;const o=s.value;if(R(o)){const n=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{n.call(r),r._stopped=!0};const i=o.slice(),l=[r];for(let a=0;a<i.length&&!r._stopped;a++){const h=i[a];h&&Fe(h,t,5,l)}}else Fe(o,t,5,[r])};return s.value=e,s.attached=Ql(),s}const yn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ta=(e,t,s,r,o,n)=>{const i=o==="svg";t==="class"?Ll(e,r,i):t==="style"?zl(e,s,r):ls(t)?as(t)||Jl(e,t,s,r,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sa(e,t,r,i))?(mn(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&bn(e,t,r,i,n,t!=="value")):e._isVueCE&&(ra(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!oe(r)))?mn(e,we(t),r,n,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),bn(e,t,r,i))};function sa(e,t,s,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&yn(t)&&V(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return yn(t)&&oe(s)?!1:t in e}function ra(e,t){const s=e._def.props;if(!s)return!1;const r=we(t);return Array.isArray(s)?s.some(o=>we(o)===r):Object.keys(s).some(o=>we(o)===r)}const vn={};function oa(e,t,s){let r=ko(e,t);cs(r)&&(r=ne({},r,t));class o extends Pr{constructor(i){super(r,i,s)}}return o.def=r,o}const na=typeof HTMLElement<"u"?HTMLElement:class{};class Pr extends na{constructor(t,s={},r=An){super(),this._def=t,this._props=s,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&r!==An?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ne({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof Pr){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,dr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=r;let l;if(n&&!R(n))for(const a in n){const h=n[a];(h===Number||h&&h.type===Number)&&(a in this._props&&(this._props[a]=Lr(this._props[a])),(l||(l=Object.create(null)))[we(a)]=!0)}this._numberProps=l,this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const r in s)B(this,r)||Object.defineProperty(this,r,{get:()=>q(s[r])})}_resolveProps(t){const{props:s}=t,r=R(s)?s:Object.keys(s||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(we))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(n){this._setProp(o,n,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let r=s?this.getAttribute(t):vn;const o=we(t);s&&this._numberProps&&this._numberProps[o]&&(r=Lr(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,r=!0,o=!1){if(s!==this._props[t]&&(this._dirty=!0,s===vn?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),o&&this._instance&&this._update(),r)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),s===!0?this.setAttribute(Me(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(Me(t),s+""):s||this.removeAttribute(Me(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),ca(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=F(this._def,ne(t,this._props));return this._instance||(s.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(n,i)=>{this.dispatchEvent(new CustomEvent(n,cs(i[0])?ne({detail:i},i[0]):{detail:i}))};r.emit=(n,...i)=>{o(n,i),Me(n)!==n&&o(Me(n),i)},this._setParent()}),s}_applyStyles(t,s,r){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const o=this._nonce,n=this.shadowRoot,i=r?this._getStyleAnchor(r)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(n);let l=null;for(let a=t.length-1;a>=0;a--){const h=document.createElement("style");o&&h.setAttribute("nonce",o),h.textContent=t[a],n.insertBefore(h,l||i),l=h,a===0&&(r||this._styleAnchors.set(this._def,h),s&&this._styleAnchors.set(s,h))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s<t.childNodes.length;s++){const r=t.childNodes[s];if(!(r instanceof HTMLStyleElement))return r}return null}_parseSlots(){const t=this._slots={};let s;for(;s=this.firstChild;){const r=s.nodeType===1&&s.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(s),this.removeChild(s)}}_renderSlots(){const t=this._getSlots(),s=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const o=t[r],n=o.getAttribute("name")||"default",i=this._slots[n],l=o.parentNode;if(i)for(const a of i){if(s&&a.nodeType===1){const h=s+"-s",p=document.createTreeWalker(a,1);a.setAttribute(h,"");let b;for(;b=p.nextNode();)b.setAttribute(h,"")}l.insertBefore(a,o)}else for(;o.firstChild;)l.insertBefore(o.firstChild,o);l.removeChild(o)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const s=new Set;for(const r of t){const o=r.querySelectorAll("slot");for(let n=0;n<o.length;n++)s.add(o[n])}return Array.from(s)}_injectChildStyle(t,s){this._applyStyles(t.styles,t,s)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}const $s=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?s=>us(t,s):t};function ia(e){e.target.composing=!0}function wn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ct=Symbol("_assign"),Ls=Symbol("_initialValue");function Ir(e,t,s){return t&&(e=e.trim()),s&&(e=fs(e)),e}const Je={created(e,{modifiers:{lazy:t,trim:s,number:r}},o){e.parentNode&&(e.type==="text"?e[Ls]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Ls]=e.defaultValue.replace(/\r\n?/g,`
|
|
21
|
-
`))),e[
|
|
20
|
+
**/let Nr;const wn=typeof window<"u"&&window.trustedTypes;if(wn)try{Nr=wn.createPolicy("vue",{createHTML:e=>e})}catch{}const _n=Nr?e=>Nr.createHTML(e):e=>e,Bl="http://www.w3.org/2000/svg",ql="http://www.w3.org/1998/Math/MathML",pt=typeof document<"u"?document:null,kn=pt&&pt.createElement("template"),Wl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,r)=>{const o=t==="svg"?pt.createElementNS(Bl,e):t==="mathml"?pt.createElementNS(ql,e):s?pt.createElement(e,{is:s}):pt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>pt.createTextNode(e),createComment:e=>pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,r,o,n){const i=s?s.previousSibling:t.lastChild;if(o&&(o===n||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===n||!(o=o.nextSibling)););else{kn.innerHTML=_n(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=kn.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Gl=Symbol("_vtc");function Jl(e,t,s){const r=e[Gl];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Sn=Symbol("_vod"),Xl=Symbol("_vsh"),Yl=Symbol(""),Zl=/(?:^|;)\s*display\s*:/;function Ql(e,t,s){const r=e.style,o=ne(s);let n=!1;if(s&&!o){if(t)if(ne(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&ps(r,l,"")}else for(const i in t)s[i]==null&&ps(r,i,"");for(const i in s){i==="display"&&(n=!0);const l=s[i];l!=null?ta(e,i,!ne(t)&&t?t[i]:void 0,l)||ps(r,i,l):ps(r,i,"")}}else if(o){if(t!==s){const i=r[Yl];i&&(s+=";"+i),r.cssText=s,n=Zl.test(s)}}else t&&e.removeAttribute("style");Sn in e&&(e[Sn]=n?r.display:"",e[Xl]&&(r.display="none"))}const qs=/\s*!important$/;function ps(e,t,s){if(O(s))s.forEach(r=>ps(e,t,r));else if(s==null&&(s=""),t.startsWith("--"))qs.test(s)?e.setProperty(t,s.replace(qs,""),"important"):e.setProperty(t,s);else{const r=ea(e,t);qs.test(s)?e.setProperty(Le(r),s.replace(qs,""),"important"):e[r]=s}}const Cn=["Webkit","Moz","ms"],Ur={};function ea(e,t){const s=Ur[t];if(s)return s;let r=Ie(t);if(r!=="filter"&&r in e)return Ur[t]=r;r=Jr(r);for(let o=0;o<Cn.length;o++){const n=Cn[o]+r;if(n in e)return Ur[t]=n}return t}function ta(e,t,s,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ne(r)&&s===r}const Tn="http://www.w3.org/1999/xlink";function An(e,t,s,r,o,n=Qn(t)){r&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Tn,t.slice(6,t.length)):e.setAttributeNS(Tn,t,s):s==null||n&&!Qr(s)?e.removeAttribute(t):e.setAttribute(t,n?"":Ge(s)?String(s):s)}function In(e,t,s,r,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?_n(s):s);return}const n=e.tagName;if(t==="value"&&n!=="PROGRESS"&&!n.includes("-")){const l=n==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let i=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Qr(s):s==null&&l==="string"?(s="",i=!0):l==="number"&&(s=0,i=!0)}try{e[t]=s}catch{}i&&e.removeAttribute(o||t)}function Ut(e,t,s,r){e.addEventListener(t,s,r)}function sa(e,t,s,r){e.removeEventListener(t,s,r)}const Pn=Symbol("_vei");function ra(e,t,s,r,o=null){const n=e[Pn]||(e[Pn]={}),i=n[t];if(r&&i)i.value=r;else{const[l,c]=ia(t);if(r){const h=n[t]=ca(r,o);Ut(e,l,h,c)}else i&&(sa(e,l,i,c),n[t]=void 0)}}const oa=/(Once|Passive|Capture)$/,na=/^on:?(?:Once|Passive|Capture)$/;function ia(e){let t,s;for(;(s=e.match(oa))&&!na.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Le(e.slice(2)),t]}let Lr=0;const la=Promise.resolve(),aa=()=>Lr||(la.then(()=>Lr=0),Lr=Date.now());function ca(e,t){const s=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=s.attached)return;const o=s.value;if(O(o)){const n=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{n.call(r),r._stopped=!0};const i=o.slice(),l=[r];for(let c=0;c<i.length&&!r._stopped;c++){const h=i[c];h&&Be(h,t,5,l)}}else Be(o,t,5,[r])};return s.value=e,s.attached=aa(),s}const Mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,da=(e,t,s,r,o,n)=>{const i=o==="svg";t==="class"?Jl(e,r,i):t==="style"?Ql(e,s,r):gs(t)?bs(t)||ra(e,t,s,r,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ua(e,t,r,i))?(In(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&An(e,t,r,i,n,t!=="value")):e._isVueCE&&(fa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ne(r)))?In(e,Ie(t),r,n,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),An(e,t,r,i))};function ua(e,t,s,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mn(t)&&U(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Mn(t)&&ne(s)?!1:t in e}function fa(e,t){const s=e._def.props;if(!s)return!1;const r=Ie(t);return Array.isArray(s)?s.some(o=>Ie(o)===r):Object.keys(s).some(o=>Ie(o)===r)}const En={};function pa(e,t,s){let r=jo(e,t);ms(r)&&(r=fe({},r,t));class o extends Vr{constructor(i){super(r,i,s)}}return o.def=r,o}const ha=typeof HTMLElement<"u"?HTMLElement:class{};class Vr extends ha{constructor(t,s={},r=Un){super(),this._def=t,this._props=s,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&r!==Un?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(fe({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof Vr){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,vr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=r;let l;if(n&&!O(n))for(const c in n){const h=n[c];(h===Number||h&&h.type===Number)&&(c in this._props&&(this._props[c]=Yr(this._props[c])),(l||(l=Object.create(null)))[Ie(c)]=!0)}this._numberProps=l,this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const r in s)q(this,r)||Object.defineProperty(this,r,{get:()=>N(s[r])})}_resolveProps(t){const{props:s}=t,r=O(s)?s:Object.keys(s||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(Ie))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(n){this._setProp(o,n,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let r=s?this.getAttribute(t):En;const o=Ie(t);s&&this._numberProps&&this._numberProps[o]&&(r=Yr(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,r=!0,o=!1){if(s!==this._props[t]&&(this._dirty=!0,s===En?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),o&&this._instance&&this._update(),r)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),s===!0?this.setAttribute(Le(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(Le(t),s+""):s||this.removeAttribute(Le(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),ya(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=R(this._def,fe(t,this._props));return this._instance||(s.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(n,i)=>{this.dispatchEvent(new CustomEvent(n,ms(i[0])?fe({detail:i},i[0]):{detail:i}))};r.emit=(n,...i)=>{o(n,i),Le(n)!==n&&o(Le(n),i)},this._setParent()}),s}_applyStyles(t,s,r){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const o=this._nonce,n=this.shadowRoot,i=r?this._getStyleAnchor(r)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(n);let l=null;for(let c=t.length-1;c>=0;c--){const h=document.createElement("style");o&&h.setAttribute("nonce",o),h.textContent=t[c],n.insertBefore(h,l||i),l=h,c===0&&(r||this._styleAnchors.set(this._def,h),s&&this._styleAnchors.set(s,h))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s<t.childNodes.length;s++){const r=t.childNodes[s];if(!(r instanceof HTMLStyleElement))return r}return null}_parseSlots(){const t=this._slots={};let s;for(;s=this.firstChild;){const r=s.nodeType===1&&s.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(s),this.removeChild(s)}}_renderSlots(){const t=this._getSlots(),s=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const o=t[r],n=o.getAttribute("name")||"default",i=this._slots[n],l=o.parentNode;if(i)for(const c of i){if(s&&c.nodeType===1){const h=s+"-s",p=document.createTreeWalker(c,1);c.setAttribute(h,"");let m;for(;m=p.nextNode();)m.setAttribute(h,"")}l.insertBefore(c,o)}else for(;o.firstChild;)l.insertBefore(o.firstChild,o);l.removeChild(o)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const s=new Set;for(const r of t){const o=r.querySelectorAll("slot");for(let n=0;n<o.length;n++)s.add(o[n])}return Array.from(s)}_injectChildStyle(t,s){this._applyStyles(t.styles,t,s)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}const Ws=e=>{const t=e.props["onUpdate:modelValue"]||!1;return O(t)?s=>ys(t,s):t};function ga(e){e.target.composing=!0}function Rn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Lt=Symbol("_assign"),Gs=Symbol("_initialValue");function $r(e,t,s){return t&&(e=e.trim()),s&&(e=vs(e)),e}const Me={created(e,{modifiers:{lazy:t,trim:s,number:r}},o){e.parentNode&&(e.type==="text"?e[Gs]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Gs]=e.defaultValue.replace(/\r\n?/g,`
|
|
21
|
+
`))),e[Lt]=Ws(o);const n=r||o.props&&o.props.type==="number";Ut(e,t?"change":"input",i=>{i.target.composing||e[Lt]($r(e.value,s,n))}),(s||n)&&Ut(e,"change",()=>{e.value=$r(e.value,s,n)}),t||(Ut(e,"compositionstart",ga),Ut(e,"compositionend",Rn),Ut(e,"change",Rn))},mounted(e,{value:t,modifiers:{trim:s,number:r}}){const o=t??"",n=e[Gs];delete e[Gs],n!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==n?e[Lt]($r(e.value,s,r)):e.value=o},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:r,trim:o,number:n}},i){if(e[Lt]=Ws(i),e.composing)return;const l=(n||e.type==="number")&&!/^0\d/.test(e.value)?vs(e.value):e.value,c=t??"";if(l===c)return;const h=e.getRootNode();(h instanceof Document||h instanceof ShadowRoot)&&h.activeElement===e&&e.type!=="range"&&(r&&t===s||o&&e.value.trim()===c)||(e.value=c)}},ba={deep:!0,created(e,{value:t,modifiers:{number:s}},r){e._modelValue=t,Ut(e,"change",()=>{const o=Array.prototype.filter.call(e.options,c=>c.selected).map(c=>s?vs(Js(c)):Js(c)),n=e.multiple,i=n?It(e._modelValue)?new Set(o):o:o[0],l=e._pendingValue=[n,n?O(i)?o.slice():o:i];try{e[Lt](i)}finally{vr(()=>{e._pendingValue===l&&(e._pendingValue=void 0)})}}),e[Lt]=Ws(r)},mounted(e,{value:t}){On(e,t)},beforeUpdate(e,{value:t},s){e._modelValue=t,e[Lt]=Ws(s)},updated(e,{value:t}){const s=e._pendingValue;e._pendingValue=void 0,(!s||s[0]!==e.multiple||!ma(t,s[1],s[0]))&&On(e,t)}};function ma(e,t,s){if(!s||O(e))return vt(e,t);if(It(e)){if(e.size!==t.length)return!1;for(const r of t)if(!e.has(r))return!1;return!0}return!1}function On(e,t){const s=e.multiple,r=O(t);if(!(s&&!r&&!It(t))){for(let o=0,n=e.options.length;o<n;o++){const i=e.options[o],l=Js(i);if(s)if(r){const c=typeof l;c==="string"||c==="number"?i.selected=t.some(h=>String(h)===String(l)):i.selected=si(t,l)>-1}else i.selected=t.has(l);else if(vt(Js(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Js(e){return"_value"in e?e._value:e.value}const xa=fe({patchProp:da},Wl);let jn;function Nn(){return jn||(jn=Sl(xa))}const ya=((...e)=>{Nn().render(...e)}),Un=((...e)=>{const t=Nn().createApp(...e),{mount:s}=t;return t.mount=r=>{const o=wa(r);if(!o)return;const n=t._component;!U(n)&&!n.render&&!n.template&&(n.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=s(o,!1,va(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function va(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wa(e){return ne(e)?document.querySelector(e):e}/**
|
|
22
22
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the ISC license.
|
|
25
25
|
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/const
|
|
26
|
+
*/const _a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
27
27
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
28
28
|
*
|
|
29
29
|
* This source code is licensed under the ISC license.
|
|
30
30
|
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/var
|
|
31
|
+
*/var Xs={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
|
|
32
32
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the ISC license.
|
|
35
35
|
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/const
|
|
36
|
+
*/const ka=({size:e,strokeWidth:t=2,absoluteStrokeWidth:s,color:r,iconNode:o,name:n,class:i,...l},{slots:c})=>jr("svg",{...Xs,width:e||Xs.width,height:e||Xs.height,stroke:r||Xs.stroke,"stroke-width":s?Number(t)*24/Number(e):t,class:["lucide",`lucide-${_a(n??"icon")}`],...l},[...o.map(h=>jr(...h)),...c.default?[c.default()]:[]]);/**
|
|
37
37
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/const
|
|
41
|
+
*/const se=(e,t)=>(s,{slots:r})=>jr(ka,{...s,iconNode:t,name:e},r);/**
|
|
42
42
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
43
43
|
*
|
|
44
44
|
* This source code is licensed under the ISC license.
|
|
45
45
|
* See the LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/const
|
|
46
|
+
*/const Ln=se("Building2Icon",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
|
|
47
47
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
48
48
|
*
|
|
49
49
|
* This source code is licensed under the ISC license.
|
|
50
50
|
* See the LICENSE file in the root directory of this source tree.
|
|
51
|
-
*/const
|
|
51
|
+
*/const Sa=se("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
52
52
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
53
53
|
*
|
|
54
54
|
* This source code is licensed under the ISC license.
|
|
55
55
|
* See the LICENSE file in the root directory of this source tree.
|
|
56
|
-
*/const
|
|
56
|
+
*/const Ca=se("ChevronLeftIcon",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
|
|
57
57
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
58
58
|
*
|
|
59
59
|
* This source code is licensed under the ISC license.
|
|
60
60
|
* See the LICENSE file in the root directory of this source tree.
|
|
61
|
-
*/const
|
|
61
|
+
*/const Ta=se("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
62
62
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
63
63
|
*
|
|
64
64
|
* This source code is licensed under the ISC license.
|
|
65
65
|
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/const
|
|
66
|
+
*/const Vn=se("CircleAlertIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
67
67
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
68
68
|
*
|
|
69
69
|
* This source code is licensed under the ISC license.
|
|
70
70
|
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
-
*/const
|
|
71
|
+
*/const Fr=se("CircleCheckIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
72
72
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
73
73
|
*
|
|
74
74
|
* This source code is licensed under the ISC license.
|
|
75
75
|
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
-
*/const
|
|
76
|
+
*/const Aa=se("CircleXIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|
77
77
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
78
78
|
*
|
|
79
79
|
* This source code is licensed under the ISC license.
|
|
80
80
|
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
-
*/const
|
|
81
|
+
*/const Ia=se("CopyIcon",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
|
|
82
82
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
83
83
|
*
|
|
84
84
|
* This source code is licensed under the ISC license.
|
|
85
85
|
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
-
*/const
|
|
86
|
+
*/const $n=se("CpuIcon",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
|
87
87
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
88
88
|
*
|
|
89
89
|
* This source code is licensed under the ISC license.
|
|
90
90
|
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
-
*/const
|
|
91
|
+
*/const qt=se("KeyRoundIcon",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
|
|
92
92
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
93
93
|
*
|
|
94
94
|
* This source code is licensed under the ISC license.
|
|
95
95
|
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
-
*/const
|
|
96
|
+
*/const Pa=se("LayersIcon",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
|
|
97
97
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
98
98
|
*
|
|
99
99
|
* This source code is licensed under the ISC license.
|
|
100
100
|
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
-
*/const
|
|
101
|
+
*/const Ma=se("LockIcon",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|
102
102
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
103
103
|
*
|
|
104
104
|
* This source code is licensed under the ISC license.
|
|
105
105
|
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
-
*/const
|
|
106
|
+
*/const Ea=se("PauseIcon",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
|
|
107
107
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
108
108
|
*
|
|
109
109
|
* This source code is licensed under the ISC license.
|
|
110
110
|
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
-
*/const
|
|
111
|
+
*/const Ra=se("PenIcon",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
|
|
112
112
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
113
113
|
*
|
|
114
114
|
* This source code is licensed under the ISC license.
|
|
115
115
|
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
-
*/const
|
|
116
|
+
*/const Oa=se("PlayIcon",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|
117
117
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
118
118
|
*
|
|
119
119
|
* This source code is licensed under the ISC license.
|
|
120
120
|
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
-
*/const
|
|
121
|
+
*/const ja=se("PlusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
122
122
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
123
123
|
*
|
|
124
124
|
* This source code is licensed under the ISC license.
|
|
125
125
|
* See the LICENSE file in the root directory of this source tree.
|
|
126
|
-
*/const
|
|
126
|
+
*/const Ys=se("RefreshCwIcon",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
127
127
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
128
128
|
*
|
|
129
129
|
* This source code is licensed under the ISC license.
|
|
130
130
|
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
-
*/const
|
|
131
|
+
*/const Na=se("RotateCcwIcon",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
|
|
132
132
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
133
133
|
*
|
|
134
134
|
* This source code is licensed under the ISC license.
|
|
135
135
|
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
-
*/const
|
|
136
|
+
*/const Kr=se("RotateCwIcon",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
|
|
137
137
|
* @license lucide-vue-next v0.475.0 - ISC
|
|
138
138
|
*
|
|
139
139
|
* This source code is licensed under the ISC license.
|
|
140
140
|
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
-
*/const Pa=le("TriangleAlertIcon",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);class Mn{constructor(t){zs(this,"baseUrl");zs(this,"adminToken");zs(this,"tenantId");this.baseUrl=((t==null?void 0:t.baseUrl)||"").replace(/\/$/,""),this.adminToken=t==null?void 0:t.adminToken,this.tenantId=t==null?void 0:t.tenantId}setBaseUrl(t){this.baseUrl=t.replace(/\/$/,"")}setAdminToken(t){this.adminToken=t}setTenantId(t){this.tenantId=t}async request(t,s={}){const r=`${this.baseUrl}${t}`,o={"Content-Type":"application/json",...s.headers||{}};this.adminToken&&(o.Authorization=`Bearer ${this.adminToken}`,o["X-Admin-Secret"]=this.adminToken);const n=s.tenantId||this.tenantId;n&&(o["X-Tenant-ID"]=n);const i=await fetch(r,{...s,headers:o});if(!i.ok){let l=`HTTP Error: ${i.status} ${i.statusText}`;try{const a=await i.json();l=a.message||a.error||a.detail||l}catch{}throw new Error(l)}return i.status===204?{}:await i.json()}async fetchKeys(t){const s=t?`?tenant_id=${encodeURIComponent(t)}`:"",r=await this.request(`/api/keys/v1/keys${s}`,{tenantId:t});return Array.isArray(r)?r:r.keys||[]}async fetchAllKeys(t){if(!t||t.length===0)return this.fetchKeys();const s=await Promise.allSettled(t.map(n=>this.fetchKeys(n))),r=[],o=new Set;for(const n of s)if(n.status==="fulfilled"&&Array.isArray(n.value))for(const i of n.value)o.has(i.key_id)||(o.add(i.key_id),r.push(i));return r}async createKey(t){var o,n;const s={...t};(o=s.tenant_id)!=null&&o.trim()||delete s.tenant_id,(n=s.service_id)!=null&&n.trim()||(s.service_id=s.tenant_id||"default");const r=await this.request("/api/keys/v1/keys",{method:"POST",body:JSON.stringify(s),tenantId:t.tenant_id});return{...r,raw_key:r.raw_key,key:r.key||r}}async updateKey(t,s,r){return this.request(`/api/keys/v1/keys/${t}`,{method:"PATCH",body:JSON.stringify(s),tenantId:r})}async suspendKey(t,s){await this.request(`/api/keys/v1/keys/${t}/suspend`,{method:"POST",tenantId:s})}async resumeKey(t,s){await this.request(`/api/keys/v1/keys/${t}/resume`,{method:"POST",tenantId:s})}async rotateKey(t,s=86400,r){return this.request(`/api/keys/v1/keys/${t}/rotate`,{method:"POST",body:JSON.stringify({grace_period_seconds:s}),tenantId:r})}async deleteKey(t,s){await this.request(`/api/keys/v1/keys/${t}`,{method:"DELETE",tenantId:s})}async verifyKey(t,s){return this.request("/api/keys/v1/verify",{method:"POST",body:JSON.stringify({raw_key:t,required_scope:s})})}}const Ia={class:"tollgate-root min-h-[600px] w-full bg-slate-950 text-slate-100 p-4 sm:p-6 lg:p-8 font-sans antialiased space-y-8 rounded-2xl border border-slate-800/80 shadow-2xl"},Ma={key:0,class:"flex flex-col md:flex-row md:items-center justify-between gap-4 pb-6 border-b border-slate-800"},Ea={class:"flex items-center gap-3"},Ra={class:"w-12 h-12 rounded-2xl bg-cyan-500/10 border border-cyan-500/20 flex items-center justify-center text-cyan-400 shadow-inner"},Oa={class:"flex items-center gap-2"},ja={class:"text-xl sm:text-2xl font-black tracking-tight text-white"},Na={class:"flex items-center gap-3"},Va=["disabled"],Fa={key:1,class:"p-4 bg-rose-950/40 border border-rose-800/80 rounded-2xl flex items-center gap-3 text-rose-300 text-xs sm:text-sm"},Ka={class:"flex-1"},$a={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4"},La={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-cyan-500/30 transition-all"},Da={class:"flex items-center justify-between"},Ua={class:"p-2 rounded-xl bg-cyan-500/10 text-cyan-400 border border-cyan-500/20"},Ha={class:"mt-3 flex items-baseline gap-2"},za={class:"text-2xl sm:text-3xl font-black text-white"},qa={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-emerald-500/30 transition-all"},Ba={class:"flex items-center justify-between"},Wa={class:"p-2 rounded-xl bg-emerald-500/10 text-emerald-400 border border-emerald-500/20"},Ja={class:"mt-3 flex items-baseline gap-2"},Ga={class:"text-2xl sm:text-3xl font-black text-emerald-400"},Ya={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-indigo-500/30 transition-all"},Xa={class:"flex items-center justify-between"},Za={class:"p-2 rounded-xl bg-indigo-500/10 text-indigo-400 border border-indigo-500/20"},Qa={class:"mt-3 flex items-baseline gap-2"},ec={class:"text-2xl sm:text-3xl font-black text-indigo-400"},tc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-amber-500/30 transition-all"},sc={class:"flex items-center justify-between"},rc={class:"p-2 rounded-xl bg-amber-500/10 text-amber-400 border border-amber-500/20"},oc={class:"mt-3 flex items-baseline gap-2"},nc={class:"text-2xl sm:text-3xl font-black text-amber-400"},ic={class:"flex items-center gap-2 border-b border-slate-800"},lc={class:"px-2 py-0.5 rounded-full text-[10px] bg-slate-800 text-slate-300 font-medium"},ac={key:2,class:"space-y-6"},cc={class:"flex flex-col sm:flex-row items-center justify-between gap-4"},dc={class:"flex items-center gap-3 w-full sm:w-auto flex-1"},uc={class:"relative flex-1 max-w-md"},fc={key:0,class:"flex items-center gap-1.5 bg-slate-900 px-3 py-1.5 rounded-xl border border-slate-700 shrink-0"},pc=["value"],hc={class:"flex items-center gap-2 w-full sm:w-auto overflow-x-auto"},gc=["onClick"],bc={class:"bg-slate-900/60 rounded-2xl border border-slate-800 shadow-xl overflow-hidden"},mc={class:"p-4 border-b border-slate-800 flex items-center justify-between"},xc={class:"flex items-center gap-2"},yc={class:"text-xs text-slate-500 font-medium"},vc={class:"overflow-x-auto"},wc={class:"w-full text-left border-collapse text-xs sm:text-sm"},_c={class:"divide-y divide-slate-800/60 text-slate-200"},kc={class:"py-3 px-4"},Cc={class:"font-bold text-white flex items-center gap-2"},Sc={key:0,class:"text-[10px] px-1.5 py-0.5 rounded bg-amber-950/80 text-amber-300 border border-amber-800"},Ac={class:"text-[11px] font-mono text-cyan-400/90 mt-0.5"},Tc={class:"py-3 px-4"},Pc={class:"font-medium text-slate-300"},Ic={key:0,class:"text-[11px] text-slate-500 font-mono"},Mc={class:"py-3 px-4"},Ec={class:"py-3 px-4 font-mono text-slate-300"},Rc={class:"py-3 px-4"},Oc={class:"text-xs font-mono font-bold text-slate-200"},jc={class:"text-slate-500 font-normal"},Nc={key:0,class:"w-24 bg-slate-800 rounded-full h-1.5 mt-1.5 overflow-hidden"},Vc={class:"py-3 px-4"},Fc={class:"flex flex-wrap gap-1 max-w-[180px]"},Kc={class:"py-3 px-4 text-right space-x-1"},$c=["onClick"],Lc=["onClick"],Dc=["onClick"],Uc=["onClick"],Hc=["onClick"],zc={key:0},qc={colspan:"7",class:"py-12 text-center text-slate-500"},Bc={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 shadow-xl space-y-4"},Wc={class:"flex items-center gap-2 pb-2 border-b border-slate-800"},Jc={class:"grid grid-cols-1 md:grid-cols-3 gap-4"},Gc={class:"md:col-span-2 space-y-2"},Yc={class:"space-y-2"},Xc={class:"flex gap-2"},Zc=["disabled"],Qc={class:"flex items-center gap-2 font-bold mb-2"},ed={key:0,class:"grid grid-cols-2 sm:grid-cols-4 gap-2 font-mono text-[11px] text-slate-300 mt-2"},td={key:1,class:"text-rose-400 font-mono text-[11px] mt-1"},sd={key:3,class:"space-y-6"},rd={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},od={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},nd={class:"flex items-center gap-2 text-cyan-400"},id={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},ld={class:"flex items-center gap-2 text-indigo-400"},ad={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},cd={class:"flex items-center gap-2 text-emerald-400"},dd={key:4,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},ud={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl animate-in fade-in zoom-in-95"},fd={class:"flex items-center justify-between border-b border-slate-800 pb-3"},pd={class:"flex items-center gap-2"},hd={key:0,class:"p-3 bg-rose-950/60 border border-rose-800 rounded-xl text-xs text-rose-300"},gd={class:"space-y-4 text-xs"},bd={class:"grid grid-cols-2 gap-3"},md=["value"],xd={class:"grid grid-cols-2 gap-3"},yd={class:"flex items-center justify-end gap-3 pt-3 border-t border-slate-800"},vd={key:5,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},wd={class:"bg-slate-900 border border-emerald-800/60 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl animate-in fade-in zoom-in-95"},_d={class:"flex items-center gap-3"},kd={class:"p-2.5 rounded-2xl bg-emerald-500/10 border border-emerald-500/20 text-emerald-400"},Cd={class:"text-xs text-slate-400"},Sd={class:"p-4 bg-amber-950/40 border border-amber-800/60 rounded-2xl space-y-2"},Ad={class:"flex items-center gap-2 text-amber-400 text-xs font-bold"},Td={class:"space-y-1.5"},Pd={class:"flex items-center gap-2 bg-slate-950 border border-slate-700/80 rounded-xl p-2.5"},Id={class:"flex-1 font-mono text-xs text-emerald-300 select-all break-all"},Md={class:"flex justify-end pt-2"},Ed={key:6,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},Rd={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-md w-full p-6 space-y-5 shadow-2xl"},Od={class:"flex items-center justify-between border-b border-slate-800 pb-3"},jd={class:"space-y-4 text-xs"},Nd={class:"flex items-center justify-end gap-3 pt-3 border-t border-slate-800"},En=((e,t)=>{const s=e.__vccOpts||e;for(const[r,o]of t)s[r]=o;return s})(ko({__name:"TollgateConsole.ce",props:{apiBaseUrl:{default:"",type:String},adminToken:{default:"",type:String},tenantId:{default:"",type:String},tenantsJson:{default:()=>[],type:[String,Array]},embedded:{type:Boolean,default:!1},title:{default:"API Key Gateway (Tollgate) 管理コンソール",type:String}},setup(e){const t=e,s=new Mn({baseUrl:t.apiBaseUrl,adminToken:t.adminToken,tenantId:t.tenantId});Et(()=>t.apiBaseUrl,C=>s.setBaseUrl(C||"")),Et(()=>t.adminToken,C=>s.setAdminToken(C)),Et(()=>t.tenantId,C=>s.setTenantId(C));const r=_t(()=>{if(Array.isArray(t.tenantsJson))return t.tenantsJson;if(typeof t.tenantsJson=="string"&&t.tenantsJson.trim())try{return JSON.parse(t.tenantsJson)}catch{return[]}return[]}),o=ie([]),n=ie(!1),i=ie(null),l=ie("keys"),a=ie(""),h=ie("all"),p=ie("all"),b=ie(!1),T=ie(!1),P=ie(!1),$=ie(null),M=ie({name:"",rate_limit_rpm:600,monthly_quota:0}),ee=ie(""),G=ie(""),K=ie(!1),j=ie({name:"",tenant_id:"",service_id:"",scopes:["ai:*","mcp:*","llm:*"],rate_limit_rpm:600,monthly_quota:1e5,expires_in:2592e3}),I=ie(null),te=ie(""),Ce=ie("ai:*"),se=ie(null),Te=ie(!1),pt=_t(()=>o.value.filter(C=>{const f=a.value.toLowerCase(),v=!f||C.name.toLowerCase().includes(f)||C.key_prefix.toLowerCase().includes(f)||(C.tenant_id?C.tenant_id.toLowerCase().includes(f):!1)||(C.service_id?C.service_id.toLowerCase().includes(f):!1),Se=h.value==="all"||C.status===h.value,ve=p.value==="all"||(p.value==="service_only"?!C.tenant_id:C.tenant_id===p.value);return v&&Se&&ve})),nt=_t(()=>o.value.filter(C=>C.status==="active").length),St=_t(()=>o.value.reduce((C,f)=>C+(f.current_month_usage||0),0)),Nt=_t(()=>o.value.filter(C=>C.status==="rotating").length),Vt=_t(()=>{var v,Se;const C=!!j.value.name.trim(),f=!!((v=j.value.tenant_id)!=null&&v.trim()||(Se=j.value.service_id)!=null&&Se.trim());return C&&f});function ns(C){if(!C)return"サービス専用 (マルチテナント)";const f=r.value.find(v=>v.id===C);return f?f.name:C}async function At(){n.value=!0,i.value=null;try{const C=r.value.map(f=>f.id);C.length>0?o.value=await s.fetchAllKeys(C):o.value=await s.fetchKeys(t.tenantId||void 0)}catch(C){console.error("Failed to load Tollgate keys:",C),i.value=C.message||"APIキー一覧の取得に失敗しました"}finally{n.value=!1}}Po(()=>{r.value.length>0&&!j.value.tenant_id&&(j.value.tenant_id=r.value[0].id),At()});function ue(){I.value=null,r.value.length>0&&!j.value.tenant_id&&(j.value.tenant_id=r.value[0].id),b.value=!0}async function re(){var C,f;if(I.value=null,!Vt.value){I.value="キー名称を入力し、所属テナントまたはサービス識別子を指定してください。";return}try{const v=await s.createKey(j.value);ee.value=v.raw_key,G.value=((C=v.key)==null?void 0:C.name)||v.name||j.value.name,b.value=!1,T.value=!0,v.key?o.value.unshift(v.key):await At(),j.value={name:"",tenant_id:((f=r.value[0])==null?void 0:f.id)||"",service_id:"",scopes:["ai:*","mcp:*","llm:*"],rate_limit_rpm:600,monthly_quota:1e5,expires_in:2592e3}}catch(v){console.error("Create key failed:",v),I.value=v.message||"APIキーの発行に失敗しました。"}}function Y(C){$.value=C,M.value={name:C.name,rate_limit_rpm:C.rate_limit_rpm||600,monthly_quota:C.monthly_quota||0},P.value=!0}async function it(){if($.value)try{const C=await s.updateKey($.value.key_id,{name:M.value.name.trim(),rate_limit_rpm:Number(M.value.rate_limit_rpm),monthly_quota:Number(M.value.monthly_quota)},$.value.tenant_id),f=o.value.findIndex(v=>{var Se;return v.key_id===((Se=$.value)==null?void 0:Se.key_id)});f!==-1&&C&&(o.value[f]={...o.value[f],...C}),P.value=!1,$.value=null}catch(C){alert(C.message||"APIキーの更新に失敗しました")}}async function Ft(C){if(confirm(`APIキー「${C.name}」を一時停止しますか?`))try{await s.suspendKey(C.key_id,C.tenant_id),C.status="suspended",C.is_active=!1}catch(f){alert(f.message||"一時停止に失敗しました")}}async function lt(C){try{await s.resumeKey(C.key_id,C.tenant_id),C.status="active",C.is_active=!0}catch(f){alert(f.message||"再開に失敗しました")}}async function Pe(C){if(confirm(`APIキー「${C.name}」をローテーションしますか?
|
|
142
|
-
|
|
143
|
-
この操作は取り消せません。`))try{await s.deleteKey(C.key_id,C.tenant_id),o.value=o.value.filter(f=>f.key_id!==C.key_id)}catch(f){alert(f.message||"削除に失敗しました")}}async function Rr(){if(te.value.trim()){Te.value=!0,se.value=null;try{se.value=await s.verifyKey(te.value.trim(),Ce.value)}catch(C){se.value={valid:!1,reason:C.message}}finally{Te.value=!1}}}function Or(){navigator.clipboard.writeText(ee.value),K.value=!0,setTimeout(()=>{K.value=!1},2e3)}return(C,f)=>(D(),J("div",Ia,[e.embedded?xe("",!0):(D(),J("div",Ma,[d("div",Ea,[d("div",Ra,[F(q(jt),{class:"w-6 h-6"})]),d("div",null,[d("div",Oa,[d("h1",ja,L(e.title),1),f[19]||(f[19]=d("span",{class:"px-2.5 py-0.5 rounded-full text-[10px] font-bold bg-cyan-950 text-cyan-400 border border-cyan-800/60"}," Active Gateway ",-1))]),f[20]||(f[20]=d("p",{class:"text-xs sm:text-sm text-slate-400 mt-1"}," マルチテナント API キー発行・クォータ上限・レートリミット (RPM)・Graceful ローテーション統制 ",-1))])]),d("div",Na,[d("button",{onClick:ue,class:"px-4 py-2.5 bg-gradient-to-r from-cyan-600 to-indigo-600 hover:from-cyan-500 hover:to-indigo-500 text-white rounded-xl text-xs sm:text-sm font-bold flex items-center gap-2 shadow-lg shadow-cyan-600/30 transition-all active:scale-95 cursor-pointer"},[F(q(Ca),{class:"w-4 h-4"}),f[21]||(f[21]=d("span",null,"新規 API キー発行",-1))]),d("button",{onClick:At,disabled:n.value,class:"p-2.5 bg-slate-900 hover:bg-slate-800 text-slate-400 hover:text-white rounded-xl border border-slate-700 transition-colors cursor-pointer",title:"更新"},[F(q(Pn),{class:Ne(["w-4 h-4",{"animate-spin":n.value}])},null,8,["class"])],8,Va)])])),i.value?(D(),J("div",Fa,[F(q(ba),{class:"w-5 h-5 text-rose-400 shrink-0"}),d("span",Ka,L(i.value),1),d("button",{onClick:At,class:"underline font-bold hover:text-rose-100"},"再試行")])):xe("",!0),d("div",$a,[d("div",La,[d("div",Da,[f[22]||(f[22]=d("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"登録済みキー総数",-1)),d("div",Ua,[F(q(jt),{class:"w-4 h-4"})])]),d("div",Ha,[d("span",za,L(o.value.length),1),f[23]||(f[23]=d("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),f[24]||(f[24]=d("p",{class:"mt-1 text-[11px] text-slate-400"},"マルチテナント & サービスキー",-1))]),d("div",qa,[d("div",Ba,[f[25]||(f[25]=d("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"有効稼働中キー",-1)),d("div",Wa,[F(q(In),{class:"w-4 h-4"})])]),d("div",Ja,[d("span",Ga,L(nt.value),1),f[26]||(f[26]=d("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),f[27]||(f[27]=d("p",{class:"mt-1 text-[11px] text-slate-400"},"アクティブ認可トラフィック",-1))]),d("div",Ya,[d("div",Xa,[f[28]||(f[28]=d("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"当月リクエスト総利用",-1)),d("div",Za,[F(q(Pn),{class:"w-4 h-4"})])]),d("div",Qa,[d("span",ec,L(St.value.toLocaleString()),1),f[29]||(f[29]=d("span",{class:"text-xs text-slate-500 font-medium"},"req",-1))]),f[30]||(f[30]=d("p",{class:"mt-1 text-[11px] text-slate-400"},"全社累計消費リクエスト数",-1))]),d("div",tc,[d("div",sc,[f[31]||(f[31]=d("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"ローテーション移行中",-1)),d("div",rc,[F(q(Mr),{class:"w-4 h-4"})])]),d("div",oc,[d("span",nc,L(Nt.value),1),f[32]||(f[32]=d("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),f[33]||(f[33]=d("p",{class:"mt-1 text-[11px] text-slate-400"},"Grace Period 猶予中 (24h)",-1))])]),d("div",ic,[d("button",{onClick:f[0]||(f[0]=v=>l.value="keys"),class:Ne(["pb-3 px-4 text-xs sm:text-sm font-bold border-b-2 flex items-center gap-2 transition-colors cursor-pointer",l.value==="keys"?"border-cyan-500 text-cyan-400":"border-transparent text-slate-400 hover:text-slate-200"])},[F(q(jt),{class:"w-4 h-4"}),f[34]||(f[34]=d("span",null,"API キー管理",-1)),d("span",lc,L(o.value.length),1)],2),d("button",{onClick:f[1]||(f[1]=v=>l.value="system"),class:Ne(["pb-3 px-4 text-xs sm:text-sm font-bold border-b-2 flex items-center gap-2 transition-colors cursor-pointer",l.value==="system"?"border-cyan-500 text-cyan-400":"border-transparent text-slate-400 hover:text-slate-200"])},[F(q(Aa),{class:"w-4 h-4"}),f[35]||(f[35]=d("span",null,"システム構成 & ルーティング",-1))],2)]),l.value==="keys"?(D(),J("div",ac,[d("div",cc,[d("div",dc,[d("div",uc,[F(q(Sa),{class:"w-4 h-4 absolute left-3.5 top-1/2 -translate-y-1/2 text-slate-400"}),je(d("input",{"onUpdate:modelValue":f[2]||(f[2]=v=>a.value=v),type:"text",placeholder:"キー名, プレフィックス, テナントIDで検索...",class:"w-full bg-slate-900 border border-slate-700/80 rounded-xl pl-10 pr-4 py-2 text-xs sm:text-sm text-slate-100 placeholder-slate-500 focus:outline-none focus:border-cyan-500 focus:ring-1 focus:ring-cyan-500"},null,512),[[Je,a.value]])]),r.value.length>0?(D(),J("div",fc,[F(q(ha),{class:"w-4 h-4 text-cyan-400 shrink-0"}),f[38]||(f[38]=d("span",{class:"text-xs text-slate-400 font-medium"},"テナント:",-1)),je(d("select",{"onUpdate:modelValue":f[3]||(f[3]=v=>p.value=v),class:"bg-transparent border-0 text-cyan-300 text-xs font-bold focus:outline-none cursor-pointer pr-2 py-0.5 max-w-[160px] truncate"},[f[36]||(f[36]=d("option",{value:"all",class:"bg-slate-900 text-slate-200"},"すべてのテナント",-1)),f[37]||(f[37]=d("option",{value:"service_only",class:"bg-slate-900 text-purple-300"},"サービス専用 (未指定)",-1)),(D(!0),J(ke,null,Gt(r.value,v=>(D(),J("option",{key:v.id,value:v.id,class:"bg-slate-900 text-slate-200 font-normal"},L(v.name),9,pc))),128))],512),[[_n,p.value]])])):xe("",!0)]),d("div",hc,[(D(),J(ke,null,Gt(["all","active","suspended","rotating","revoked"],v=>d("button",{key:v,onClick:Se=>h.value=v,class:Ne(["px-3 py-1.5 rounded-lg text-xs font-medium border transition-colors capitalize shrink-0 cursor-pointer",h.value===v?"bg-cyan-950 text-cyan-300 border-cyan-700 font-bold":"bg-slate-900 text-slate-400 border-slate-800 hover:text-white"])},L(v==="all"?"すべての状態":v),11,gc)),64))])]),d("div",bc,[d("div",mc,[d("div",xc,[F(q(jt),{class:"w-4 h-4 text-cyan-400"}),f[39]||(f[39]=d("h2",{class:"text-sm font-bold text-white"},"発行済み API キー一覧",-1))]),d("span",yc,"該当: "+L(pt.value.length)+" 件",1)]),d("div",vc,[d("table",wc,[f[41]||(f[41]=d("thead",null,[d("tr",{class:"border-b border-slate-800 bg-slate-950/40 text-slate-400 font-semibold text-[11px] uppercase tracking-wider"},[d("th",{class:"py-3 px-4"},"キー名称 / プレフィックス"),d("th",{class:"py-3 px-4"},"テナント / サービス"),d("th",{class:"py-3 px-4"},"ステータス"),d("th",{class:"py-3 px-4"},"レートリミット (RPM)"),d("th",{class:"py-3 px-4"},"月間クォータ利用"),d("th",{class:"py-3 px-4"},"スコープ"),d("th",{class:"py-3 px-4 text-right"},"操作")])],-1)),d("tbody",_c,[(D(!0),J(ke,null,Gt(pt.value,v=>{var Se;return D(),J("tr",{key:v.key_id,class:"hover:bg-slate-800/30 transition-colors"},[d("td",kc,[d("div",Cc,[d("span",null,L(v.name),1),(Se=v.rotation)!=null&&Se.grace_period_expires_at?(D(),J("span",Sc," 移行中 ")):xe("",!0)]),d("div",Ac,L(v.key_prefix)+"... ",1)]),d("td",Tc,[d("div",Pc,L(ns(v.tenant_id)),1),v.service_id?(D(),J("div",Ic," svc: "+L(v.service_id),1)):xe("",!0)]),d("td",Mc,[d("span",{class:Ne(["inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-[10px] font-bold border capitalize",{"bg-emerald-950/60 text-emerald-300 border-emerald-800/80":v.status==="active","bg-amber-950/60 text-amber-300 border-amber-800/80":v.status==="suspended"||v.status==="rotating","bg-rose-950/60 text-rose-300 border-rose-800/80":v.status==="revoked"}])},[d("span",{class:Ne(["w-1.5 h-1.5 rounded-full",{"bg-emerald-400 animate-pulse":v.status==="active","bg-amber-400":v.status==="suspended"||v.status==="rotating","bg-rose-400":v.status==="revoked"}])},null,2),wt(" "+L(v.status),1)],2)]),d("td",Ec,L(v.rate_limit_rpm?`${v.rate_limit_rpm.toLocaleString()} RPM`:"無制限"),1),d("td",Rc,[d("div",Oc,[wt(L((v.current_month_usage||0).toLocaleString())+" ",1),d("span",jc,"/ "+L(v.monthly_quota>0?v.monthly_quota.toLocaleString():"無制限"),1)]),v.monthly_quota>0?(D(),J("div",Nc,[d("div",{class:Ne(["h-full rounded-full transition-all",v.current_month_usage/v.monthly_quota>.9?"bg-rose-500":"bg-cyan-500"]),style:hs({width:`${Math.min(100,Math.round((v.current_month_usage||0)/v.monthly_quota*100))}%`})},null,6)])):xe("",!0)]),d("td",Vc,[d("div",Fc,[(D(!0),J(ke,null,Gt(v.scopes,ve=>(D(),J("span",{key:ve,class:"px-1.5 py-0.5 rounded text-[10px] font-mono bg-slate-800 text-slate-300 border border-slate-700"},L(ve),1))),128))])]),d("td",Kc,[d("button",{onClick:ve=>Y(v),class:"p-1.5 text-slate-400 hover:text-cyan-300 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"キー設定変更"},[F(q(_a),{class:"w-3.5 h-3.5"})],8,$c),v.status==="active"?(D(),J("button",{key:0,onClick:ve=>Ft(v),class:"p-1.5 text-slate-400 hover:text-amber-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"一時停止"},[F(q(wa),{class:"w-3.5 h-3.5"})],8,Lc)):v.status==="suspended"?(D(),J("button",{key:1,onClick:ve=>lt(v),class:"p-1.5 text-slate-400 hover:text-emerald-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"再開"},[F(q(ka),{class:"w-3.5 h-3.5"})],8,Dc)):xe("",!0),d("button",{onClick:ve=>Pe(v),class:"p-1.5 text-slate-400 hover:text-cyan-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"ローテーション (Graceful)"},[F(q(Mr),{class:"w-3.5 h-3.5"})],8,Uc),d("button",{onClick:ve=>Hs(v),class:"p-1.5 text-slate-400 hover:text-rose-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"完全削除"},[F(q(Ta),{class:"w-3.5 h-3.5"})],8,Hc)])])}),128)),pt.value.length===0&&!n.value?(D(),J("tr",zc,[d("td",qc,[F(q(jt),{class:"w-8 h-8 mx-auto mb-2 opacity-30"}),f[40]||(f[40]=d("p",null,"該当する API キーは見つかりませんでした。",-1))])])):xe("",!0)])])])]),d("div",Bc,[d("div",Wc,[F(q(In),{class:"w-4 h-4 text-cyan-400"}),f[42]||(f[42]=d("h3",{class:"text-sm font-bold text-white"},"API キー単体検証・認可シミュレータ (Verify Tester)",-1))]),d("div",Jc,[d("div",Gc,[f[43]||(f[43]=d("label",{class:"text-xs font-semibold text-slate-400"},"生の API キー (Raw API Key)",-1)),je(d("input",{"onUpdate:modelValue":f[4]||(f[4]=v=>te.value=v),type:"text",placeholder:"tlgt_live_...",class:"w-full bg-slate-950 border border-slate-800 rounded-xl px-3.5 py-2 text-xs font-mono text-cyan-300 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Je,te.value]])]),d("div",Yc,[f[44]||(f[44]=d("label",{class:"text-xs font-semibold text-slate-400"},"要求スコープ (Scope)",-1)),d("div",Xc,[je(d("input",{"onUpdate:modelValue":f[5]||(f[5]=v=>Ce.value=v),type:"text",placeholder:"ai:*",class:"flex-1 bg-slate-950 border border-slate-800 rounded-xl px-3.5 py-2 text-xs font-mono text-slate-200 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Je,Ce.value]]),d("button",{onClick:Rr,disabled:Te.value||!te.value.trim(),class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 disabled:opacity-50 text-white rounded-xl text-xs font-bold transition-all cursor-pointer shrink-0"},L(Te.value?"検証中...":"検証実行"),9,Zc)])])]),se.value?(D(),J("div",{key:0,class:Ne(["p-4 rounded-xl border text-xs",se.value.valid?"bg-emerald-950/30 border-emerald-800/60 text-emerald-300":"bg-rose-950/30 border-rose-800/60 text-rose-300"])},[d("div",Qc,[se.value.valid?(D(),Qt(q(Tn),{key:0,class:"w-4 h-4 text-emerald-400"})):(D(),Qt(q(ma),{key:1,class:"w-4 h-4 text-rose-400"})),d("span",null,L(se.value.valid?"認可成功 (Valid & Authorized)":"認可失敗 (Invalid / Unauthorized)"),1)]),se.value.valid?(D(),J("div",ed,[d("div",null,[f[45]||(f[45]=d("span",{class:"text-slate-500"},"Key ID:",-1)),wt(" "+L(se.value.key_id),1)]),d("div",null,[f[46]||(f[46]=d("span",{class:"text-slate-500"},"Prefix:",-1)),wt(" "+L(se.value.key_prefix),1)]),d("div",null,[f[47]||(f[47]=d("span",{class:"text-slate-500"},"Tenant:",-1)),wt(" "+L(se.value.tenant_id||"Global"),1)]),d("div",null,[f[48]||(f[48]=d("span",{class:"text-slate-500"},"Remain RPM:",-1)),wt(" "+L(se.value.remaining_rpm)+" / "+L(se.value.limit_rpm),1)])])):(D(),J("div",td," 理由: "+L(se.value.reason||"検証できませんでした"),1))],2)):xe("",!0)])])):xe("",!0),l.value==="system"?(D(),J("div",sd,[d("div",rd,[d("div",od,[d("div",nd,[F(q(ya),{class:"w-5 h-5"}),f[49]||(f[49]=d("h3",{class:"font-bold text-white text-sm"},"Tollgate アーキテクチャ",-1))]),f[50]||(f[50]=d("p",{class:"text-xs text-slate-400 leading-relaxed"}," Tollgate はマルチテナント環境における API キーの発行・暗号化保管・レートリミット(Redis Token Bucket)・動的ローテーションを提供する認証認可プロキシゲートウェイです。 ",-1))]),d("div",id,[d("div",ld,[F(q(Mr),{class:"w-5 h-5"}),f[51]||(f[51]=d("h3",{class:"font-bold text-white text-sm"},"Graceful ローテーション",-1))]),f[52]||(f[52]=d("p",{class:"text-xs text-slate-400 leading-relaxed"}," API キーのローテーション時、即座に旧キーを破棄せず、設定された猶予期間(デフォルト24時間)は新旧両方のキーでリクエストを受け付けるため、クライアント側のダウンタイムゼロ更新を実現します。 ",-1))]),d("div",ad,[d("div",cd,[F(q(va),{class:"w-5 h-5"}),f[53]||(f[53]=d("h3",{class:"font-bold text-white text-sm"},"Fail-Fast セキュリティ",-1))]),f[54]||(f[54]=d("p",{class:"text-xs text-slate-400 leading-relaxed"}," ヘッダーで指定されたテナントIDとキーの属性値が一致しない場合や、クォータ超過・失効キーのアクセスは即座に 403 Forbidden で遮断し、バックエンドへの不正侵入を防ぎます。 ",-1))])])])):xe("",!0),b.value?(D(),J("div",dd,[d("div",ud,[d("div",fd,[d("div",pd,[F(q(jt),{class:"w-5 h-5 text-cyan-400"}),f[55]||(f[55]=d("h3",{class:"text-base font-bold text-white"},"新規 API キー発行",-1))]),d("button",{onClick:f[6]||(f[6]=v=>b.value=!1),class:"text-slate-400 hover:text-white cursor-pointer"},"×")]),I.value?(D(),J("div",hd,L(I.value),1)):xe("",!0),d("div",gd,[d("div",null,[f[56]||(f[56]=d("label",{class:"block font-semibold text-slate-300 mb-1"},"キー名称 *",-1)),je(d("input",{"onUpdate:modelValue":f[7]||(f[7]=v=>j.value.name=v),type:"text",placeholder:"例: AI Engine Production Key",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Je,j.value.name]])]),d("div",bd,[d("div",null,[f[58]||(f[58]=d("label",{class:"block font-semibold text-slate-300 mb-1"},"テナント (任意)",-1)),je(d("select",{"onUpdate:modelValue":f[8]||(f[8]=v=>j.value.tenant_id=v),class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},[f[57]||(f[57]=d("option",{value:""},"サービス専用 (マルチテナント)",-1)),(D(!0),J(ke,null,Gt(r.value,v=>(D(),J("option",{key:v.id,value:v.id},L(v.name),9,md))),128))],512),[[_n,j.value.tenant_id]])]),d("div",null,[f[59]||(f[59]=d("label",{class:"block font-semibold text-slate-300 mb-1"},"サービス ID (任意)",-1)),je(d("input",{"onUpdate:modelValue":f[9]||(f[9]=v=>j.value.service_id=v),type:"text",placeholder:"例: internal_app",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Je,j.value.service_id]])])]),d("div",xd,[d("div",null,[f[60]||(f[60]=d("label",{class:"block font-semibold text-slate-300 mb-1"},"レートリミット (RPM)",-1)),je(d("input",{"onUpdate:modelValue":f[10]||(f[10]=v=>j.value.rate_limit_rpm=v),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Je,j.value.rate_limit_rpm,void 0,{number:!0}]])]),d("div",null,[f[61]||(f[61]=d("label",{class:"block font-semibold text-slate-300 mb-1"},"月間クォータ (0 = 無制限)",-1)),je(d("input",{"onUpdate:modelValue":f[11]||(f[11]=v=>j.value.monthly_quota=v),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Je,j.value.monthly_quota,void 0,{number:!0}]])])])]),d("div",yd,[d("button",{onClick:f[12]||(f[12]=v=>b.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),d("button",{onClick:re,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-cyan-600/30 cursor-pointer"}," 発行する ")])])])):xe("",!0),T.value?(D(),J("div",vd,[d("div",wd,[d("div",_d,[d("div",kd,[F(q(Tn),{class:"w-6 h-6"})]),d("div",null,[f[62]||(f[62]=d("h3",{class:"text-base font-bold text-white"},"API キーが発行されました",-1)),d("p",Cd,L(G.value),1)])]),d("div",Sd,[d("div",Ad,[F(q(Pa),{class:"w-4 h-4"}),f[63]||(f[63]=d("span",null,"重要: このキーは二度と表示されません",-1))]),f[64]||(f[64]=d("p",{class:"text-[11px] text-amber-200/80 leading-relaxed"}," 安全なキーストアまたはシークレットマネージャーに今すぐ保存してください。 ",-1))]),d("div",Td,[f[65]||(f[65]=d("label",{class:"text-xs font-semibold text-slate-400"},"生成された生の API キー (Raw API Key)",-1)),d("div",Pd,[d("span",Id,L(ee.value),1),d("button",{onClick:Or,class:"px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-lg text-xs font-bold flex items-center gap-1.5 cursor-pointer shrink-0 transition-colors"},[K.value?(D(),Qt(q(ga),{key:0,class:"w-3.5 h-3.5 text-emerald-400"})):(D(),Qt(q(xa),{key:1,class:"w-3.5 h-3.5"})),d("span",null,L(K.value?"コピー完了":"コピー"),1)])])]),d("div",Md,[d("button",{onClick:f[13]||(f[13]=v=>T.value=!1),class:"px-5 py-2.5 bg-emerald-600 hover:bg-emerald-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-emerald-600/30 cursor-pointer"}," 保存した・閉じる ")])])])):xe("",!0),P.value&&$.value?(D(),J("div",Ed,[d("div",Rd,[d("div",Od,[f[66]||(f[66]=d("h3",{class:"text-base font-bold text-white"},"API キー設定の更新",-1)),d("button",{onClick:f[14]||(f[14]=v=>P.value=!1),class:"text-slate-400 hover:text-white cursor-pointer"},"×")]),d("div",jd,[d("div",null,[f[67]||(f[67]=d("label",{class:"block font-semibold text-slate-300 mb-1"},"キー名称",-1)),je(d("input",{"onUpdate:modelValue":f[15]||(f[15]=v=>M.value.name=v),type:"text",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Je,M.value.name]])]),d("div",null,[f[68]||(f[68]=d("label",{class:"block font-semibold text-slate-300 mb-1"},"レートリミット (RPM)",-1)),je(d("input",{"onUpdate:modelValue":f[16]||(f[16]=v=>M.value.rate_limit_rpm=v),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Je,M.value.rate_limit_rpm,void 0,{number:!0}]])]),d("div",null,[f[69]||(f[69]=d("label",{class:"block font-semibold text-slate-300 mb-1"},"月間クォータ (0 = 無制限)",-1)),je(d("input",{"onUpdate:modelValue":f[17]||(f[17]=v=>M.value.monthly_quota=v),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Je,M.value.monthly_quota,void 0,{number:!0}]])])]),d("div",Nd,[d("button",{onClick:f[18]||(f[18]=v=>P.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),d("button",{onClick:it,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold cursor-pointer"}," 更新を保存 ")])])])):xe("",!0)]))}}),[["styles",['*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-3\\.5{left:.875rem}.top-1\\/2{top:50%}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.h-1\\.5{height:.375rem}.h-12{height:3rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.min-h-\\[600px\\]{min-height:600px}.w-1\\.5{width:.375rem}.w-12{width:3rem}.w-24{width:6rem}.w-3\\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-\\[160px\\]{max-width:160px}.max-w-\\[180px\\]{max-width:180px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-slate-800\\/60>:not([hidden])~:not([hidden]){border-color:#1e293b99}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-amber-500\\/20{border-color:#f59e0b33}.border-amber-800{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity, 1))}.border-amber-800\\/60{border-color:#92400e99}.border-amber-800\\/80{border-color:#92400ecc}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.border-cyan-500\\/20{border-color:#06b6d433}.border-cyan-700{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity, 1))}.border-cyan-800\\/60{border-color:#155e7599}.border-emerald-500\\/20{border-color:#10b98133}.border-emerald-800\\/60{border-color:#065f4699}.border-emerald-800\\/80{border-color:#065f46cc}.border-indigo-500\\/20{border-color:#6366f133}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity, 1))}.border-rose-800\\/60{border-color:#9f123999}.border-rose-800\\/80{border-color:#9f1239cc}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1))}.border-slate-700\\/80{border-color:#334155cc}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity, 1))}.border-slate-800\\/80{border-color:#1e293bcc}.border-transparent{border-color:transparent}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity, 1))}.bg-amber-500\\/10{background-color:#f59e0b1a}.bg-amber-950\\/40{background-color:#451a0366}.bg-amber-950\\/60{background-color:#451a0399}.bg-amber-950\\/80{background-color:#451a03cc}.bg-black\\/70{background-color:#000000b3}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))}.bg-cyan-500\\/10{background-color:#06b6d41a}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity, 1))}.bg-cyan-950{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity, 1))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.bg-emerald-500\\/10{background-color:#10b9811a}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-emerald-950\\/30{background-color:#022c224d}.bg-emerald-950\\/60{background-color:#022c2299}.bg-indigo-500\\/10{background-color:#6366f11a}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity, 1))}.bg-rose-500{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity, 1))}.bg-rose-950\\/30{background-color:#4c05194d}.bg-rose-950\\/40{background-color:#4c051966}.bg-rose-950\\/60{background-color:#4c051999}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1))}.bg-slate-900\\/60{background-color:#0f172a99}.bg-slate-900\\/80{background-color:#0f172acc}.bg-slate-950{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1))}.bg-slate-950\\/40{background-color:#02061766}.bg-transparent{background-color:transparent}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-cyan-600{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-indigo-600{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-6{padding-bottom:1.5rem}.pl-10{padding-left:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.text-amber-200\\/80{color:#fde68acc}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.text-cyan-300{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-400\\/90{color:#22d3eee6}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity, 1))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-purple-300{--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity, 1))}.text-rose-300{--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity, 1))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-600::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(71 85 105 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-600::placeholder{--tw-placeholder-opacity: 1;color:rgb(71 85 105 / var(--tw-placeholder-opacity, 1))}.opacity-30{opacity:.3}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-cyan-600\\/30{--tw-shadow-color: rgb(8 145 178 / .3);--tw-shadow: var(--tw-shadow-colored)}.shadow-emerald-600\\/30{--tw-shadow-color: rgb(5 150 105 / .3);--tw-shadow: var(--tw-shadow-colored)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:host{display:block;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:#f1f5f9}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#0f172a99}::-webkit-scrollbar-thumb{background:#334155cc;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:#64748b}.hover\\:border-amber-500\\/30:hover{border-color:#f59e0b4d}.hover\\:border-cyan-500\\/30:hover{border-color:#06b6d44d}.hover\\:border-emerald-500\\/30:hover{border-color:#10b9814d}.hover\\:border-indigo-500\\/30:hover{border-color:#6366f14d}.hover\\:bg-cyan-500:hover{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))}.hover\\:bg-emerald-500:hover{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-700:hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-800\\/30:hover{background-color:#1e293b4d}.hover\\:from-cyan-500:hover{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\\:to-indigo-500:hover{--tw-gradient-to: #6366f1 var(--tw-gradient-to-position)}.hover\\:text-amber-400:hover{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.hover\\:text-cyan-300:hover{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity, 1))}.hover\\:text-cyan-400:hover{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.hover\\:text-emerald-400:hover{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.hover\\:text-rose-100:hover{--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity, 1))}.hover\\:text-rose-400:hover{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.hover\\:text-slate-200:hover{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\\:border-cyan-500:focus{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-cyan-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(6 182 212 / var(--tw-ring-opacity, 1))}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:640px){.sm\\:w-auto{width:auto}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:p-6{padding:1.5rem}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media(min-width:768px){.md\\:col-span-2{grid-column:span 2 / span 2}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}}@media(min-width:1024px){.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:p-8{padding:2rem}}']]]),Rn=oa(En);function Er(e="tollgate-console"){typeof window<"u"&&!customElements.get(e)&&customElements.define(e,Rn)}typeof window<"u"&&Er(),pe.TollgateApiClient=Mn,pe.TollgateConsoleElement=Rn,pe.TollgateConsoleSFC=En,pe.default=Er,pe.registerTollgateUI=Er,Object.defineProperties(pe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
141
|
+
*/const Ua=se("ServerIcon",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
|
|
142
|
+
* @license lucide-vue-next v0.475.0 - ISC
|
|
143
|
+
*
|
|
144
|
+
* This source code is licensed under the ISC license.
|
|
145
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
+
*/const Fn=se("SettingsIcon",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
147
|
+
* @license lucide-vue-next v0.475.0 - ISC
|
|
148
|
+
*
|
|
149
|
+
* This source code is licensed under the ISC license.
|
|
150
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
+
*/const Kn=se("ShieldCheckIcon",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
152
|
+
* @license lucide-vue-next v0.475.0 - ISC
|
|
153
|
+
*
|
|
154
|
+
* This source code is licensed under the ISC license.
|
|
155
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
+
*/const La=se("SlidersVerticalIcon",[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]]);/**
|
|
157
|
+
* @license lucide-vue-next v0.475.0 - ISC
|
|
158
|
+
*
|
|
159
|
+
* This source code is licensed under the ISC license.
|
|
160
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
+
*/const Va=se("Trash2Icon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
|
|
162
|
+
* @license lucide-vue-next v0.475.0 - ISC
|
|
163
|
+
*
|
|
164
|
+
* This source code is licensed under the ISC license.
|
|
165
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
+
*/const $a=se("TriangleAlertIcon",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
167
|
+
* @license lucide-vue-next v0.475.0 - ISC
|
|
168
|
+
*
|
|
169
|
+
* This source code is licensed under the ISC license.
|
|
170
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
+
*/const Dr=se("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);class zr{constructor(t){er(this,"baseUrl");er(this,"adminToken");er(this,"tenantId");this.baseUrl=((t==null?void 0:t.baseUrl)||"").replace(/\/$/,""),this.adminToken=t==null?void 0:t.adminToken,this.tenantId=t==null?void 0:t.tenantId}getBaseUrl(){return this.baseUrl}setBaseUrl(t){this.baseUrl=(t||"").replace(/\/$/,"")}getAdminToken(){return this.adminToken}setAdminToken(t){this.adminToken=t}getTenantId(){return this.tenantId}setTenantId(t){this.tenantId=t}async checkHealth(){return this.request("/livez")}async checkAdminAuth(t){try{return await this.fetchKeys(t),!0}catch{return!1}}async request(t,s={}){const r=`${this.baseUrl}${t}`,o={"Content-Type":"application/json",...s.headers||{}};this.adminToken&&(o.Authorization=`Bearer ${this.adminToken}`,o["X-Admin-Secret"]=this.adminToken);const n=s.tenantId||this.tenantId;n&&(o["X-Tenant-ID"]=n);const i=await fetch(r,{...s,headers:o});if(!i.ok){let l=`HTTP Error: ${i.status} ${i.statusText}`;try{const c=await i.json();if(c.errors&&Array.isArray(c.errors)&&c.errors.length>0){const h=c.errors.map(p=>p.message?`${p.location?p.location+": ":""}${p.message}`:JSON.stringify(p)).join(", ");l=`${c.detail||"Validation failed"}: ${h}`}else l=c.message||c.error||c.detail||l}catch{}throw new Error(l)}return i.status===204?{}:await i.json()}async fetchKeys(t){let s,r,o,n;typeof t=="string"?s=t:t&&(s=t.tenantId,r=t.serviceId,o=t.limit,n=t.cursor);const i=new URLSearchParams;s&&i.set("tenant_id",s),r&&i.set("service_id",r),o&&i.set("limit",String(o)),n&&i.set("cursor",n);const l=i.toString()?`?${i.toString()}`:"",c=await this.request(`/v1/admin/keys${l}`,{tenantId:s});return Array.isArray(c)?{keys:c}:{keys:c.keys||[],nextCursor:c.next_cursor}}async fetchStats(t,s){const r=new URLSearchParams;t&&r.set("tenant_id",t),s&&r.set("service_id",s);const o=r.toString()?`?${r.toString()}`:"";return this.request(`/v1/admin/stats${o}`,{tenantId:t})}async fetchAllKeys(t){if(!t||t.length===0)return(await this.fetchKeys()).keys;const s=await Promise.allSettled(t.map(n=>this.fetchKeys(n))),r=[],o=new Set;for(const n of s)if(n.status==="fulfilled"&&n.value&&Array.isArray(n.value.keys))for(const i of n.value.keys)o.has(i.key_id)||(o.add(i.key_id),r.push(i));return r}async createKey(t){var o,n;const s={...t};(o=s.tenant_id)!=null&&o.trim()||delete s.tenant_id,(n=s.service_id)!=null&&n.trim()||(s.service_id=s.tenant_id||"default");const r=await this.request("/v1/admin/keys",{method:"POST",body:JSON.stringify(s),tenantId:t.tenant_id});return{...r,raw_key:r.raw_key,key:r.key||r}}async updateKey(t,s,r){return this.request(`/v1/admin/keys/${t}`,{method:"PATCH",body:JSON.stringify(s),tenantId:r})}async suspendKey(t,s){await this.request(`/v1/admin/keys/${t}/suspend`,{method:"POST",tenantId:s})}async resumeKey(t,s){await this.request(`/v1/admin/keys/${t}/resume`,{method:"POST",tenantId:s})}async rotateKey(t,s=24,r){return this.request(`/v1/admin/keys/${t}/rotate`,{method:"POST",body:JSON.stringify({grace_period_hours:s}),tenantId:r})}async deleteKey(t,s){await this.request(`/v1/admin/keys/${t}`,{method:"DELETE",tenantId:s})}async verifyKey(t,s){return this.request("/v1/admin/verify",{method:"POST",body:JSON.stringify({raw_key:t,required_scope:s})})}}const ht={};function Zs(){var e;if(!(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:ue&&ue.tagName.toUpperCase()==="SCRIPT"&&ue.src||new URL("tollgate-ui.umd.cjs",document.baseURI).href}<"u"&&(ht!=null&&ht.VITE_TOLLGATE_API_BASE_URL)))return typeof window<"u"&&((e=window.__TOLLGATE_CONFIG__)!=null&&e.apiBaseUrl)?window.__TOLLGATE_CONFIG__.apiBaseUrl:""}function Qs(){var e;if(!(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:ue&&ue.tagName.toUpperCase()==="SCRIPT"&&ue.src||new URL("tollgate-ui.umd.cjs",document.baseURI).href}<"u"&&(ht!=null&&ht.VITE_TOLLGATE_ADMIN_TOKEN)))return typeof window<"u"&&((e=window.__TOLLGATE_CONFIG__)!=null&&e.adminToken)?window.__TOLLGATE_CONFIG__.adminToken:""}function Fa(){var e;if(!(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:ue&&ue.tagName.toUpperCase()==="SCRIPT"&&ue.src||new URL("tollgate-ui.umd.cjs",document.baseURI).href}<"u"&&(ht!=null&&ht.VITE_TOLLGATE_TENANTS)))return typeof window<"u"&&((e=window.__TOLLGATE_CONFIG__)!=null&&e.tenantsJson)?window.__TOLLGATE_CONFIG__.tenantsJson:""}const Ka={class:"tollgate-root min-h-[600px] w-full bg-slate-950 text-slate-100 p-4 sm:p-6 lg:p-8 font-sans antialiased space-y-8 rounded-2xl border border-slate-800/80 shadow-2xl"},Da={key:0,class:"flex flex-col md:flex-row md:items-center justify-between gap-4 pb-6 border-b border-slate-800"},za={class:"flex items-center gap-3"},Ha={class:"w-12 h-12 rounded-2xl bg-cyan-500/10 border border-cyan-500/20 flex items-center justify-center text-cyan-400 shadow-inner"},Ba={class:"flex items-center gap-2"},qa={class:"text-xl sm:text-2xl font-black tracking-tight text-white"},Wa={class:"flex flex-wrap items-center gap-3"},Ga={class:"text-slate-400 font-mono text-[11px]"},Ja={key:0,class:"px-1.5 py-0.5 text-[9px] font-bold rounded bg-amber-500/20 text-amber-300 border border-amber-500/30"},Xa=["disabled"],Ya={key:1,class:"p-4 bg-rose-950/40 border border-rose-800/80 rounded-2xl flex items-center gap-3 text-rose-300 text-xs sm:text-sm"},Za={class:"flex-1"},Qa={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4"},ec={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-cyan-500/30 transition-all"},tc={class:"flex items-center justify-between"},sc={class:"p-2 rounded-xl bg-cyan-500/10 text-cyan-400 border border-cyan-500/20"},rc={class:"mt-3 flex items-baseline gap-2"},oc={class:"text-2xl sm:text-3xl font-black text-white"},nc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-emerald-500/30 transition-all"},ic={class:"flex items-center justify-between"},lc={class:"p-2 rounded-xl bg-emerald-500/10 text-emerald-400 border border-emerald-500/20"},ac={class:"mt-3 flex items-baseline gap-2"},cc={class:"text-2xl sm:text-3xl font-black text-emerald-400"},dc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-indigo-500/30 transition-all"},uc={class:"flex items-center justify-between"},fc={class:"p-2 rounded-xl bg-indigo-500/10 text-indigo-400 border border-indigo-500/20"},pc={class:"mt-3 flex items-baseline gap-2"},hc={class:"text-2xl sm:text-3xl font-black text-indigo-400"},gc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-amber-500/30 transition-all"},bc={class:"flex items-center justify-between"},mc={class:"p-2 rounded-xl bg-amber-500/10 text-amber-400 border border-amber-500/20"},xc={class:"mt-3 flex items-baseline gap-2"},yc={class:"text-2xl sm:text-3xl font-black text-amber-400"},vc={class:"flex items-center gap-2 border-b border-slate-800"},wc={class:"px-2 py-0.5 rounded-full text-[10px] bg-slate-800 text-slate-300 font-medium"},_c={key:2,class:"space-y-6"},kc={class:"flex flex-col sm:flex-row items-center justify-between gap-4"},Sc={class:"flex flex-wrap items-center gap-3 w-full sm:w-auto flex-1"},Cc={class:"flex items-center gap-2 bg-slate-900 px-3 py-2 rounded-xl border border-slate-700 shrink-0 focus-within:border-indigo-500 transition-colors"},Tc={id:"filter-service-options"},Ac=["value"],Ic={class:"flex items-center gap-2 bg-slate-900 px-3 py-2 rounded-xl border border-slate-700 shrink-0 focus-within:border-cyan-500 transition-colors"},Pc={id:"filter-tenant-options"},Mc=["value"],Ec={key:0,class:"flex items-center gap-2"},Rc={class:"flex items-center gap-2"},Oc={class:"bg-slate-900/60 rounded-2xl border border-slate-800 shadow-xl overflow-hidden"},jc={class:"p-4 border-b border-slate-800 flex items-center justify-between"},Nc={class:"flex items-center gap-2"},Uc={class:"flex items-center gap-2 text-xs text-slate-400"},Lc={key:0,class:"px-2 py-0.5 rounded bg-cyan-950/60 text-cyan-300 border border-cyan-800/50 text-[10px] font-medium"},Vc={class:"font-medium"},$c={class:"overflow-x-auto"},Fc={class:"w-full text-left border-collapse text-xs sm:text-sm"},Kc={class:"divide-y divide-slate-800/60 text-slate-200"},Dc={class:"py-3 px-4"},zc={class:"font-bold text-white flex items-center gap-2"},Hc={key:0,class:"text-[10px] px-1.5 py-0.5 rounded bg-amber-950/80 text-amber-300 border border-amber-800"},Bc={class:"text-[11px] font-mono text-cyan-400/90 mt-0.5"},qc={class:"py-3 px-4"},Wc={class:"font-medium text-indigo-300 font-mono text-xs flex items-center gap-1"},Gc={class:"text-[11px] text-slate-400 mt-0.5 flex items-center gap-1"},Jc={class:"py-3 px-4"},Xc={class:"py-3 px-4 font-mono text-slate-300"},Yc={class:"py-3 px-4"},Zc={class:"text-xs font-mono font-bold text-slate-200"},Qc={class:"text-slate-500 font-normal"},ed={key:0,class:"w-24 bg-slate-800 rounded-full h-1.5 mt-1.5 overflow-hidden"},td={class:"py-3 px-4"},sd={class:"flex flex-wrap gap-1 max-w-[180px]"},rd={class:"py-3 px-4 text-right space-x-1"},od=["onClick"],nd=["onClick"],id=["onClick"],ld=["onClick"],ad=["onClick"],cd={key:0},dd={colspan:"7",class:"py-12 text-center text-slate-500"},ud={class:"px-5 py-3.5 bg-slate-900/90 border-t border-slate-800 flex flex-col sm:flex-row items-center justify-between gap-3 text-xs text-slate-400"},fd={class:"flex items-center gap-3"},pd={class:"text-white font-mono"},hd={class:"flex items-center gap-1.5"},gd={class:"flex items-center gap-2"},bd=["disabled"],md={key:0,class:"px-2 py-0.5 rounded bg-cyan-950 text-cyan-300 font-mono text-[11px] border border-cyan-800"},xd=["disabled"],yd={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 shadow-xl space-y-4"},vd={class:"flex items-center gap-2 pb-2 border-b border-slate-800"},wd={class:"grid grid-cols-1 md:grid-cols-3 gap-4"},_d={class:"md:col-span-2 space-y-2"},kd={class:"space-y-2"},Sd={class:"flex gap-2"},Cd=["disabled"],Td={class:"flex items-center gap-2 font-bold mb-2"},Ad={key:0,class:"grid grid-cols-2 sm:grid-cols-4 gap-2 font-mono text-[11px] text-slate-300 mt-2"},Id={key:1,class:"text-rose-400 font-mono text-[11px] mt-1"},Pd={key:3,class:"space-y-6"},Md={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},Ed={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},Rd={class:"flex items-center gap-2 text-cyan-400"},Od={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},jd={class:"flex items-center gap-2 text-indigo-400"},Nd={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},Ud={class:"flex items-center gap-2 text-emerald-400"},Ld={key:4,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},Vd={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl animate-in fade-in zoom-in-95"},$d={class:"flex items-center justify-between border-b border-slate-800 pb-3"},Fd={class:"flex items-center gap-2"},Kd={key:0,class:"p-3 bg-rose-950/60 border border-rose-800 rounded-xl text-xs text-rose-300"},Dd={class:"space-y-4 text-xs"},zd={class:"grid grid-cols-2 gap-3"},Hd={id:"modal-service-options"},Bd=["value"],qd={id:"modal-tenant-options"},Wd=["value"],Gd={class:"grid grid-cols-2 gap-3"},Jd={class:"flex items-center justify-end gap-3 pt-3 border-t border-slate-800"},Xd={key:5,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},Yd={class:"bg-slate-900 border border-emerald-800/60 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl animate-in fade-in zoom-in-95"},Zd={class:"flex items-center gap-3"},Qd={class:"p-2.5 rounded-2xl bg-emerald-500/10 border border-emerald-500/20 text-emerald-400"},eu={class:"text-xs text-slate-400"},tu={class:"p-4 bg-amber-950/40 border border-amber-800/60 rounded-2xl space-y-2"},su={class:"flex items-center gap-2 text-amber-400 text-xs font-bold"},ru={class:"space-y-1.5"},ou={class:"flex items-center gap-2 bg-slate-950 border border-slate-700/80 rounded-xl p-2.5"},nu={class:"flex-1 font-mono text-xs text-emerald-300 select-all break-all"},iu={class:"flex justify-end pt-2"},lu={key:6,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},au={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-md w-full p-6 space-y-5 shadow-2xl"},cu={class:"flex items-center justify-between border-b border-slate-800 pb-3"},du={class:"space-y-4 text-xs"},uu={class:"flex items-center justify-end gap-3 pt-3 border-t border-slate-800"},fu={key:7,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},pu={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl"},hu={class:"flex items-center justify-between border-b border-slate-800 pb-3"},gu={class:"flex items-center gap-2.5"},bu={class:"p-2 rounded-xl bg-cyan-500/10 text-cyan-400 border border-cyan-500/20"},mu={class:"space-y-4 text-xs"},xu={class:"flex items-center justify-between mb-1"},yu={class:"text-[10px] text-slate-500 font-mono"},vu={class:"relative"},wu={class:"flex items-center justify-between mb-1"},_u={class:"text-[10px] text-slate-500 font-mono"},ku={class:"text-[11px] leading-relaxed"},Su={class:"flex items-center justify-between pt-3 border-t border-slate-800"},Cu={class:"flex items-center gap-2"},Tu=["disabled"],Au={class:"flex items-center gap-2"},Dn=((e,t)=>{const s=e.__vccOpts||e;for(const[r,o]of t)s[r]=o;return s})(jo({__name:"TollgateConsole.ce",props:{apiBaseUrl:{default:"",type:String},adminToken:{default:"",type:String},tenantId:{default:"",type:String},tenantsJson:{type:[String,Array]},embedded:{type:Boolean,default:!1},title:{default:"API Key Gateway (Tollgate) 管理コンソール",type:String}},setup(e){const t=e,s=rt(()=>Zs()),r=rt(()=>Qs()),o=()=>{if(typeof window<"u"){const _=localStorage.getItem("tollgate_ui_api_base_url");if(_!==null&&_!=="")return _}return t.apiBaseUrl||Zs()},n=()=>{if(typeof window<"u"){const _=localStorage.getItem("tollgate_ui_admin_token");if(_!==null&&_!=="")return _}return t.adminToken||Qs()},i=z(o()),l=z(n()),c=rt(()=>typeof window>"u"?!1:localStorage.getItem("tollgate_ui_api_base_url")!==null||localStorage.getItem("tollgate_ui_admin_token")!==null),h=new zr({baseUrl:i.value,adminToken:l.value,tenantId:t.tenantId});Rt(()=>t.apiBaseUrl,_=>{typeof window<"u"&&localStorage.getItem("tollgate_ui_api_base_url")===null&&(i.value=_||Zs(),h.setBaseUrl(i.value))}),Rt(()=>t.adminToken,_=>{typeof window<"u"&&localStorage.getItem("tollgate_ui_admin_token")===null&&(l.value=_||Qs(),h.setAdminToken(l.value))}),Rt(()=>t.tenantId,_=>h.setTenantId(_));const p=z(!1),m=z({apiBaseUrl:"",adminToken:""}),A=z(!1),I=z(null);function W(){m.value={apiBaseUrl:i.value,adminToken:l.value},I.value=null,p.value=!0}async function V(){var d;A.value=!0,I.value=null;const _=new zr({baseUrl:m.value.apiBaseUrl,adminToken:m.value.adminToken,tenantId:t.tenantId});try{const g=await _.checkHealth();let ie=`接続成功: ${g.service||"Tollgate"} (${g.status})`;if(m.value.adminToken)try{await _.fetchKeys(t.tenantId||((d=B.value[0])==null?void 0:d.id)),ie+=" — 管理者認証 OK"}catch(je){ie+=` — 警告: 管理者認証エラー (${je.message})`}I.value={ok:!0,message:ie,service:g.service}}catch(g){I.value={ok:!1,message:`接続失敗: ${g.message}`}}finally{A.value=!1}}function ae(){i.value=m.value.apiBaseUrl.trim(),l.value=m.value.adminToken.trim(),typeof window<"u"&&(localStorage.setItem("tollgate_ui_api_base_url",i.value),localStorage.setItem("tollgate_ui_admin_token",l.value)),h.setBaseUrl(i.value),h.setAdminToken(l.value),p.value=!1,M()}function re(){typeof window<"u"&&(localStorage.removeItem("tollgate_ui_api_base_url"),localStorage.removeItem("tollgate_ui_admin_token")),i.value=t.apiBaseUrl||Zs(),l.value=t.adminToken||Qs(),h.setBaseUrl(i.value),h.setAdminToken(l.value),p.value=!1,M()}const D=rt(()=>{if(Array.isArray(t.tenantsJson)&&t.tenantsJson.length>0)return t.tenantsJson;const _=typeof t.tenantsJson=="string"&&t.tenantsJson.trim()?t.tenantsJson:Fa();if(_&&_.trim())try{const d=JSON.parse(_);if(Array.isArray(d))return d}catch{return[]}return[]}),B=rt(()=>{const _=new Map;for(const d of D.value)_.set(d.id,d.name);for(const d of P.value)d.tenant_id&&!_.has(d.tenant_id)&&_.set(d.tenant_id,d.tenant_id);return Array.from(_.entries()).map(([d,g])=>({id:d,name:g}))}),P=z([]),Z=z(!1),Ae=z(null),me=z("keys"),he=z(""),Ee=z(""),ot=z([]),St=z([]),nt=z(!1),gt=z(!1),bt=z(!1),it=z(null),oe=z({name:"",rate_limit_rpm:600,monthly_quota:0}),Q=z(""),G=z(""),Ke=z(!1),ce=z({name:"",tenant_id:"",service_id:"",scopes:["ai:*","mcp:*","llm:*"],rate_limit_rpm:600,monthly_quota:1e5,expires_in:2592e3}),Re=z(null),xe=z(""),Wt=z("ai:*"),we=z(null),Gt=z(!1),mt=rt(()=>{const _=new Map;for(const d of B.value)_.set(d.id,d.name);for(const d of St.value)_.has(d)||_.set(d,d);return Array.from(_.entries()).map(([d,g])=>({id:d,name:g}))}),Vt=rt(()=>{const _=new Set(ot.value);for(const d of P.value)d.service_id&&_.add(d.service_id);return Array.from(_).sort()}),Ct=rt(()=>P.value),Tt=z({total_keys:0,active_keys:0,total_monthly_usage:0,rotating_keys:0,services:[],tenants:[]});async function Oe(){try{const _=await h.fetchStats();Tt.value=_,_.services&&_.services.length>0&&(ot.value=_.services),_.tenants&&_.tenants.length>0&&(St.value=_.tenants)}catch(_){console.warn("Failed to load global stats:",_)}}Rt([he,Ee],()=>{v()});const Hn=rt(()=>{var g;const _=!!ce.value.name.trim(),d=!!((g=ce.value.service_id)!=null&&g.trim());return _&&d});function u(_){if(!_)return"サービス専用 (テナントなし)";const d=mt.value.find(g=>g.id===_);return d?d.name:_}const f=z(50),b=z(void 0),w=z(void 0),x=z([]);async function y(_){Z.value=!0,Ae.value=null;try{const d=he.value.trim(),g=d&&d!=="all"?d:t.tenantId||void 0,ie=Ee.value.trim(),je=ie&&ie!=="all"?ie:void 0,hs=await h.fetchKeys({tenantId:g,serviceId:je,limit:f.value,cursor:_});P.value=hs.keys,w.value=hs.nextCursor,b.value=_}catch(d){console.error("Failed to load Tollgate keys:",d),Ae.value=d.message||"APIキー一覧の取得に失敗しました"}finally{Z.value=!1}}function C(){w.value&&(x.value.push(b.value||""),y(w.value))}function S(){if(x.value.length===0)return;const _=x.value.pop();y(_||void 0)}function k(){v()}function v(){x.value=[],b.value=void 0,w.value=void 0,y()}async function M(){await Promise.all([Oe(),y()])}$o(()=>{t.tenantId&&(ce.value.tenant_id=t.tenantId),Oe(),y()});function T(){Re.value=null,t.tenantId&&(ce.value.tenant_id=t.tenantId),nt.value=!0}async function E(){var _,d;if(Re.value=null,!Hn.value){Re.value="キー名称とサービス識別子 (service_id) を入力してください。";return}try{const g=await h.createKey(ce.value);Q.value=g.raw_key,G.value=((_=g.key)==null?void 0:_.name)||g.name||ce.value.name,nt.value=!1,gt.value=!0,g.key?P.value.unshift(g.key):await y(),Oe(),ce.value={name:"",tenant_id:((d=B.value[0])==null?void 0:d.id)||"",service_id:"",scopes:["ai:*","mcp:*","llm:*"],rate_limit_rpm:600,monthly_quota:1e5,expires_in:2592e3}}catch(g){console.error("Create key failed:",g),Re.value=g.message||"APIキーの発行に失敗しました。"}}function j(_){it.value=_,oe.value={name:_.name,rate_limit_rpm:_.rate_limit_rpm||600,monthly_quota:_.monthly_quota||0},bt.value=!0}async function K(){if(it.value)try{const _=await h.updateKey(it.value.key_id,{name:oe.value.name.trim(),rate_limit_rpm:Number(oe.value.rate_limit_rpm),monthly_quota:Number(oe.value.monthly_quota)},it.value.tenant_id),d=P.value.findIndex(g=>{var ie;return g.key_id===((ie=it.value)==null?void 0:ie.key_id)});d!==-1&&_&&(P.value[d]={...P.value[d],..._}),bt.value=!1,it.value=null,Oe()}catch(_){alert(_.message||"APIキーの更新に失敗しました")}}async function Y(_){if(confirm(`APIキー「${_.name}」を一時停止しますか?`))try{await h.suspendKey(_.key_id,_.tenant_id),_.status="suspended",_.is_active=!1,Oe()}catch(d){alert(d.message||"一時停止に失敗しました")}}async function J(_){try{await h.resumeKey(_.key_id,_.tenant_id),_.status="active",_.is_active=!0,Oe()}catch(d){alert(d.message||"再開に失敗しました")}}async function de(_){if(confirm(`APIキー「${_.name}」をローテーションしますか?
|
|
172
|
+
(旧キーは24時間の猶予期間後に無効化されます)`))try{const d=await h.rotateKey(_.key_id,24,_.tenant_id);Q.value=d.new_raw_key,G.value=`${_.name} (新ローテーションキー)`,_.status="rotating",gt.value=!0,Oe()}catch(d){alert(d.message||"ローテーションに失敗しました")}}async function pe(_){if(confirm(`APIキー「${_.name}」を完全に削除しますか?
|
|
173
|
+
この操作は取り消せません。`))try{await h.deleteKey(_.key_id,_.tenant_id),P.value=P.value.filter(d=>d.key_id!==_.key_id),Oe()}catch(d){alert(d.message||"削除に失敗しました")}}async function De(){if(xe.value.trim()){Gt.value=!0,we.value=null;try{we.value=await h.verifyKey(xe.value.trim(),Wt.value)}catch(_){we.value={valid:!1,reason:_.message}}finally{Gt.value=!1}}}function ze(){navigator.clipboard.writeText(Q.value),Ke.value=!0,setTimeout(()=>{Ke.value=!1},2e3)}return(_,d)=>(L(),F("div",Ka,[e.embedded?le("",!0):(L(),F("div",Da,[a("div",za,[a("div",Ha,[R(N(qt),{class:"w-6 h-6"})]),a("div",null,[a("div",Ba,[a("h1",qa,$(e.title),1),d[27]||(d[27]=a("span",{class:"px-2.5 py-0.5 rounded-full text-[10px] font-bold bg-cyan-950 text-cyan-400 border border-cyan-800/60"}," Active Gateway ",-1))]),d[28]||(d[28]=a("p",{class:"text-xs sm:text-sm text-slate-400 mt-1"}," マルチテナント API キー発行・クォータ上限・レートリミット (RPM)・Graceful ローテーション統制 ",-1))])]),a("div",Wa,[a("button",{onClick:W,class:"group flex items-center gap-2 px-3 py-2 bg-slate-900/90 hover:bg-slate-800 text-slate-300 hover:text-white rounded-xl border border-slate-700/80 text-xs font-medium transition-all cursor-pointer shadow-sm",title:"接続エンドポイント設定を開く"},[R(N(Ua),{class:"w-3.5 h-3.5 text-cyan-400 group-hover:scale-110 transition-transform"}),a("span",Ga,$(i.value||"(同一ホスト/プロキシ)"),1),c.value?(L(),F("span",Ja," カスタム ")):le("",!0),R(N(Fn),{class:"w-3.5 h-3.5 text-slate-400 group-hover:text-cyan-400 transition-colors ml-0.5"})]),a("button",{onClick:T,class:"px-4 py-2.5 bg-gradient-to-r from-cyan-600 to-indigo-600 hover:from-cyan-500 hover:to-indigo-500 text-white rounded-xl text-xs sm:text-sm font-bold flex items-center gap-2 shadow-lg shadow-cyan-600/30 transition-all active:scale-95 cursor-pointer"},[R(N(ja),{class:"w-4 h-4"}),d[29]||(d[29]=a("span",null,"新規 API キー発行",-1))]),a("button",{onClick:M,disabled:Z.value,class:"p-2.5 bg-slate-900 hover:bg-slate-800 text-slate-400 hover:text-white rounded-xl border border-slate-700 transition-colors cursor-pointer",title:"最新の全社統計とキー一覧を再取得"},[R(N(Ys),{class:Ne(["w-4 h-4",{"animate-spin":Z.value}])},null,8,["class"])],8,Xa)])])),Ae.value?(L(),F("div",Ya,[R(N(Vn),{class:"w-5 h-5 text-rose-400 shrink-0"}),a("span",Za,$(Ae.value),1),a("button",{onClick:M,class:"underline font-bold hover:text-rose-100"},"再試行")])):le("",!0),a("div",Qa,[a("div",ec,[a("div",tc,[d[30]||(d[30]=a("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"登録済みキー総数",-1)),a("div",sc,[R(N(qt),{class:"w-4 h-4"})])]),a("div",rc,[a("span",oc,$(Tt.value.total_keys),1),d[31]||(d[31]=a("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),d[32]||(d[32]=a("p",{class:"mt-1 text-[11px] text-slate-400"},"システム全社確定キー総数",-1))]),a("div",nc,[a("div",ic,[d[33]||(d[33]=a("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"有効稼働中キー",-1)),a("div",lc,[R(N(Kn),{class:"w-4 h-4"})])]),a("div",ac,[a("span",cc,$(Tt.value.active_keys),1),d[34]||(d[34]=a("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),d[35]||(d[35]=a("p",{class:"mt-1 text-[11px] text-slate-400"},"アクティブ認可トラフィック",-1))]),a("div",dc,[a("div",uc,[d[36]||(d[36]=a("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"当月リクエスト総利用",-1)),a("div",fc,[R(N(Ys),{class:"w-4 h-4"})])]),a("div",pc,[a("span",hc,$(Tt.value.total_monthly_usage.toLocaleString()),1),d[37]||(d[37]=a("span",{class:"text-xs text-slate-500 font-medium"},"req",-1))]),d[38]||(d[38]=a("p",{class:"mt-1 text-[11px] text-slate-400"},"全社累計消費リクエスト数",-1))]),a("div",gc,[a("div",bc,[d[39]||(d[39]=a("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"ローテーション移行中",-1)),a("div",mc,[R(N(Kr),{class:"w-4 h-4"})])]),a("div",xc,[a("span",yc,$(Tt.value.rotating_keys),1),d[40]||(d[40]=a("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),d[41]||(d[41]=a("p",{class:"mt-1 text-[11px] text-slate-400"},"Grace Period 猶予中 (24h)",-1))])]),a("div",vc,[a("button",{onClick:d[0]||(d[0]=g=>me.value="keys"),class:Ne(["pb-3 px-4 text-xs sm:text-sm font-bold border-b-2 flex items-center gap-2 transition-colors cursor-pointer",me.value==="keys"?"border-cyan-500 text-cyan-400":"border-transparent text-slate-400 hover:text-slate-200"])},[R(N(qt),{class:"w-4 h-4"}),d[42]||(d[42]=a("span",null,"API キー管理",-1)),a("span",wc," 表示中 "+$(P.value.length),1)],2),a("button",{onClick:d[1]||(d[1]=g=>me.value="system"),class:Ne(["pb-3 px-4 text-xs sm:text-sm font-bold border-b-2 flex items-center gap-2 transition-colors cursor-pointer",me.value==="system"?"border-cyan-500 text-cyan-400":"border-transparent text-slate-400 hover:text-slate-200"])},[R(N(La),{class:"w-4 h-4"}),d[43]||(d[43]=a("span",null,"システム構成 & ルーティング",-1))],2)]),me.value==="keys"?(L(),F("div",_c,[a("div",kc,[a("div",Sc,[a("div",Cc,[R(N($n),{class:"w-4 h-4 text-indigo-400 shrink-0"}),d[44]||(d[44]=a("span",{class:"text-xs text-slate-400 font-medium"},"サービス:",-1)),ke(a("input",{"onUpdate:modelValue":d[2]||(d[2]=g=>Ee.value=g),list:"filter-service-options",type:"text",placeholder:"全サービス (入力/選択)",class:"bg-transparent border-0 text-indigo-300 text-xs font-semibold focus:outline-none w-40 placeholder-slate-500"},null,512),[[Me,Ee.value]]),Ee.value?(L(),F("button",{key:0,onClick:d[3]||(d[3]=g=>Ee.value=""),class:"text-slate-500 hover:text-slate-300 p-0.5 rounded transition-colors cursor-pointer",title:"サービスフィルタをクリア"},[R(N(Dr),{class:"w-3.5 h-3.5"})])):le("",!0),a("datalist",Tc,[(L(!0),F(Ce,null,zt(Vt.value,g=>(L(),F("option",{key:g,value:g},$(g),9,Ac))),128))])]),a("div",Ic,[R(N(Ln),{class:"w-4 h-4 text-cyan-400 shrink-0"}),d[46]||(d[46]=a("span",{class:"text-xs text-slate-400 font-medium"},"テナント:",-1)),ke(a("input",{"onUpdate:modelValue":d[4]||(d[4]=g=>he.value=g),list:"filter-tenant-options",type:"text",placeholder:"全テナント (入力/選択)",class:"bg-transparent border-0 text-cyan-300 text-xs font-semibold focus:outline-none w-44 placeholder-slate-500"},null,512),[[Me,he.value]]),he.value?(L(),F("button",{key:0,onClick:d[5]||(d[5]=g=>he.value=""),class:"text-slate-500 hover:text-slate-300 p-0.5 rounded transition-colors cursor-pointer",title:"テナントフィルタをクリア"},[R(N(Dr),{class:"w-3.5 h-3.5"})])):le("",!0),a("datalist",Pc,[d[45]||(d[45]=a("option",{value:"service_only"},"サービス専用 (テナント未指定)",-1)),(L(!0),F(Ce,null,zt(mt.value,g=>(L(),F("option",{key:g.id,value:g.id},$(g.name!==g.id?`${g.name} (${g.id})`:g.name),9,Mc))),128))])]),he.value||Ee.value?(L(),F("div",Ec,[a("button",{onClick:d[6]||(d[6]=g=>{he.value="",Ee.value=""}),class:"text-[11px] px-2.5 py-1 rounded-lg bg-slate-800 hover:bg-slate-700 text-slate-300 hover:text-white flex items-center gap-1 transition-colors border border-slate-700/60 cursor-pointer"},[R(N(Dr),{class:"w-3 h-3 text-rose-400"}),d[47]||(d[47]=a("span",null,"条件クリア",-1))])])):le("",!0)]),a("div",Rc,[a("button",{onClick:M,class:"px-3 py-2 rounded-xl bg-slate-900 hover:bg-slate-800 text-slate-300 hover:text-white border border-slate-700 text-xs font-medium flex items-center gap-1.5 transition-colors cursor-pointer",title:"最新データを再取得"},[R(N(Ys),{class:Ne(["w-3.5 h-3.5",{"animate-spin":Z.value}])},null,8,["class"]),d[48]||(d[48]=a("span",null,"更新",-1))])])]),a("div",Oc,[a("div",jc,[a("div",Nc,[R(N(qt),{class:"w-4 h-4 text-cyan-400"}),d[49]||(d[49]=a("h2",{class:"text-sm font-bold text-white"},"発行済み API キー一覧",-1))]),a("div",Uc,[he.value||Ee.value?(L(),F("span",Lc," サーバー絞り込み中 ")):le("",!0),a("span",Vc,"表示中: "+$(Ct.value.length)+" 件",1)])]),a("div",$c,[a("table",Fc,[d[51]||(d[51]=a("thead",null,[a("tr",{class:"border-b border-slate-800 bg-slate-950/40 text-slate-400 font-semibold text-[11px] uppercase tracking-wider"},[a("th",{class:"py-3 px-4"},"キー名称 / プレフィックス"),a("th",{class:"py-3 px-4"},"サービス / テナント"),a("th",{class:"py-3 px-4"},"ステータス"),a("th",{class:"py-3 px-4"},"レートリミット (RPM)"),a("th",{class:"py-3 px-4"},"月間クォータ利用"),a("th",{class:"py-3 px-4"},"スコープ"),a("th",{class:"py-3 px-4 text-right"},"操作")])],-1)),a("tbody",Kc,[(L(!0),F(Ce,null,zt(Ct.value,g=>{var ie;return L(),F("tr",{key:g.key_id,class:"hover:bg-slate-800/30 transition-colors"},[a("td",Dc,[a("div",zc,[a("span",null,$(g.name),1),(ie=g.rotation)!=null&&ie.grace_period_expires_at?(L(),F("span",Hc," 移行中 ")):le("",!0)]),a("div",Bc,$(g.key_prefix)+"... ",1)]),a("td",qc,[a("div",Wc,[R(N($n),{class:"w-3.5 h-3.5 text-indigo-400 shrink-0"}),a("span",null,$(g.service_id||"(未指定)"),1)]),a("div",Gc,[R(N(Ln),{class:"w-3 h-3 text-slate-500 shrink-0"}),a("span",null,$(u(g.tenant_id)),1)])]),a("td",Jc,[a("span",{class:Ne(["inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-[10px] font-bold border capitalize",{"bg-emerald-950/60 text-emerald-300 border-emerald-800/80":g.status==="active","bg-amber-950/60 text-amber-300 border-amber-800/80":g.status==="suspended"||g.status==="rotating","bg-rose-950/60 text-rose-300 border-rose-800/80":g.status==="revoked"}])},[a("span",{class:Ne(["w-1.5 h-1.5 rounded-full",{"bg-emerald-400 animate-pulse":g.status==="active","bg-amber-400":g.status==="suspended"||g.status==="rotating","bg-rose-400":g.status==="revoked"}])},null,2),qe(" "+$(g.status),1)],2)]),a("td",Xc,$(g.rate_limit_rpm?`${g.rate_limit_rpm.toLocaleString()} RPM`:"無制限"),1),a("td",Yc,[a("div",Zc,[qe($((g.current_month_usage||0).toLocaleString())+" ",1),a("span",Qc,"/ "+$(g.monthly_quota>0?g.monthly_quota.toLocaleString():"無制限"),1)]),g.monthly_quota>0?(L(),F("div",ed,[a("div",{class:Ne(["h-full rounded-full transition-all",g.current_month_usage/g.monthly_quota>.9?"bg-rose-500":"bg-cyan-500"]),style:_s({width:`${Math.min(100,Math.round((g.current_month_usage||0)/g.monthly_quota*100))}%`})},null,6)])):le("",!0)]),a("td",td,[a("div",sd,[(L(!0),F(Ce,null,zt(g.scopes,je=>(L(),F("span",{key:je,class:"px-1.5 py-0.5 rounded text-[10px] font-mono bg-slate-800 text-slate-300 border border-slate-700"},$(je),1))),128))])]),a("td",rd,[a("button",{onClick:je=>j(g),class:"p-1.5 text-slate-400 hover:text-cyan-300 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"キー設定変更"},[R(N(Ra),{class:"w-3.5 h-3.5"})],8,od),g.status==="active"?(L(),F("button",{key:0,onClick:je=>Y(g),class:"p-1.5 text-slate-400 hover:text-amber-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"一時停止"},[R(N(Ea),{class:"w-3.5 h-3.5"})],8,nd)):g.status==="suspended"?(L(),F("button",{key:1,onClick:je=>J(g),class:"p-1.5 text-slate-400 hover:text-emerald-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"再開"},[R(N(Oa),{class:"w-3.5 h-3.5"})],8,id)):le("",!0),a("button",{onClick:je=>de(g),class:"p-1.5 text-slate-400 hover:text-cyan-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"ローテーション (Graceful)"},[R(N(Kr),{class:"w-3.5 h-3.5"})],8,ld),a("button",{onClick:je=>pe(g),class:"p-1.5 text-slate-400 hover:text-rose-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"完全削除"},[R(N(Va),{class:"w-3.5 h-3.5"})],8,ad)])])}),128)),Ct.value.length===0&&!Z.value?(L(),F("tr",cd,[a("td",dd,[R(N(qt),{class:"w-8 h-8 mx-auto mb-2 opacity-30"}),d[50]||(d[50]=a("p",null,"該当する API キーは見つかりませんでした。",-1))])])):le("",!0)])])]),a("div",ud,[a("div",fd,[a("span",null,[d[52]||(d[52]=qe("表示中: ",-1)),a("strong",pd,$(Ct.value.length),1),d[53]||(d[53]=qe(" 件",-1))]),d[56]||(d[56]=a("span",{class:"text-slate-600"},"|",-1)),a("div",hd,[d[55]||(d[55]=a("span",null,"表示件数:",-1)),ke(a("select",{"onUpdate:modelValue":d[7]||(d[7]=g=>f.value=g),onChange:k,class:"bg-slate-950 border border-slate-700 rounded-lg px-2 py-1 text-slate-200 text-xs focus:outline-none focus:border-cyan-500 cursor-pointer"},[...d[54]||(d[54]=[a("option",{value:25},"25 件",-1),a("option",{value:50},"50 件",-1),a("option",{value:100},"100 件",-1)])],544),[[ba,f.value,void 0,{number:!0}]])])]),a("div",gd,[a("button",{onClick:S,disabled:x.value.length===0||Z.value,class:"px-3 py-1.5 rounded-xl border border-slate-700 bg-slate-900 hover:bg-slate-800 text-slate-200 disabled:opacity-40 disabled:cursor-not-allowed flex items-center gap-1 transition-colors cursor-pointer"},[R(N(Ca),{class:"w-3.5 h-3.5"}),d[57]||(d[57]=a("span",null,"前へ",-1))],8,bd),x.value.length>0?(L(),F("span",md," Page "+$(x.value.length+1),1)):le("",!0),a("button",{onClick:C,disabled:!w.value||Z.value,class:"px-3 py-1.5 rounded-xl border border-slate-700 bg-slate-900 hover:bg-slate-800 text-slate-200 disabled:opacity-40 disabled:cursor-not-allowed flex items-center gap-1 transition-colors cursor-pointer"},[d[58]||(d[58]=a("span",null,"次へ",-1)),R(N(Ta),{class:"w-3.5 h-3.5"})],8,xd)])])]),a("div",yd,[a("div",vd,[R(N(Kn),{class:"w-4 h-4 text-cyan-400"}),d[59]||(d[59]=a("h3",{class:"text-sm font-bold text-white"},"API キー単体検証・認可シミュレータ (Verify Tester)",-1))]),a("div",wd,[a("div",_d,[d[60]||(d[60]=a("label",{class:"text-xs font-semibold text-slate-400"},"生の API キー (Raw API Key)",-1)),ke(a("input",{"onUpdate:modelValue":d[8]||(d[8]=g=>xe.value=g),type:"text",placeholder:"tlgt_live_...",class:"w-full bg-slate-950 border border-slate-800 rounded-xl px-3.5 py-2 text-xs font-mono text-cyan-300 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,xe.value]])]),a("div",kd,[d[61]||(d[61]=a("label",{class:"text-xs font-semibold text-slate-400"},"要求スコープ (Scope)",-1)),a("div",Sd,[ke(a("input",{"onUpdate:modelValue":d[9]||(d[9]=g=>Wt.value=g),type:"text",placeholder:"ai:*",class:"flex-1 bg-slate-950 border border-slate-800 rounded-xl px-3.5 py-2 text-xs font-mono text-slate-200 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,Wt.value]]),a("button",{onClick:De,disabled:Gt.value||!xe.value.trim(),class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 disabled:opacity-50 text-white rounded-xl text-xs font-bold transition-all cursor-pointer shrink-0"},$(Gt.value?"検証中...":"検証実行"),9,Cd)])])]),we.value?(L(),F("div",{key:0,class:Ne(["p-4 rounded-xl border text-xs",we.value.valid?"bg-emerald-950/30 border-emerald-800/60 text-emerald-300":"bg-rose-950/30 border-rose-800/60 text-rose-300"])},[a("div",Td,[we.value.valid?(L(),Nt(N(Fr),{key:0,class:"w-4 h-4 text-emerald-400"})):(L(),Nt(N(Aa),{key:1,class:"w-4 h-4 text-rose-400"})),a("span",null,$(we.value.valid?"認可成功 (Valid & Authorized)":"認可失敗 (Invalid / Unauthorized)"),1)]),we.value.valid?(L(),F("div",Ad,[a("div",null,[d[62]||(d[62]=a("span",{class:"text-slate-500"},"Key ID:",-1)),qe(" "+$(we.value.key_id),1)]),a("div",null,[d[63]||(d[63]=a("span",{class:"text-slate-500"},"Prefix:",-1)),qe(" "+$(we.value.key_prefix),1)]),a("div",null,[d[64]||(d[64]=a("span",{class:"text-slate-500"},"Tenant:",-1)),qe(" "+$(we.value.tenant_id||"Global"),1)]),a("div",null,[d[65]||(d[65]=a("span",{class:"text-slate-500"},"Remain RPM:",-1)),qe(" "+$(we.value.remaining_rpm)+" / "+$(we.value.limit_rpm),1)])])):(L(),F("div",Id," 理由: "+$(we.value.reason||"検証できませんでした"),1))],2)):le("",!0)])])):le("",!0),me.value==="system"?(L(),F("div",Pd,[a("div",Md,[a("div",Ed,[a("div",Rd,[R(N(Pa),{class:"w-5 h-5"}),d[66]||(d[66]=a("h3",{class:"font-bold text-white text-sm"},"Tollgate アーキテクチャ",-1))]),d[67]||(d[67]=a("p",{class:"text-xs text-slate-400 leading-relaxed"}," Tollgate はマルチテナント環境における API キーの発行・暗号化保管・レートリミット(Redis Token Bucket)・動的ローテーションを提供する認証認可プロキシゲートウェイです。 ",-1))]),a("div",Od,[a("div",jd,[R(N(Kr),{class:"w-5 h-5"}),d[68]||(d[68]=a("h3",{class:"font-bold text-white text-sm"},"Graceful ローテーション",-1))]),d[69]||(d[69]=a("p",{class:"text-xs text-slate-400 leading-relaxed"}," API キーのローテーション時、即座に旧キーを破棄せず、設定された猶予期間(デフォルト24時間)は新旧両方のキーでリクエストを受け付けるため、クライアント側のダウンタイムゼロ更新を実現します。 ",-1))]),a("div",Nd,[a("div",Ud,[R(N(Ma),{class:"w-5 h-5"}),d[70]||(d[70]=a("h3",{class:"font-bold text-white text-sm"},"Fail-Fast セキュリティ",-1))]),d[71]||(d[71]=a("p",{class:"text-xs text-slate-400 leading-relaxed"}," ヘッダーで指定されたテナントIDとキーの属性値が一致しない場合や、クォータ超過・失効キーのアクセスは即座に 403 Forbidden で遮断し、バックエンドへの不正侵入を防ぎます。 ",-1))])])])):le("",!0),nt.value?(L(),F("div",Ld,[a("div",Vd,[a("div",$d,[a("div",Fd,[R(N(qt),{class:"w-5 h-5 text-cyan-400"}),d[72]||(d[72]=a("h3",{class:"text-base font-bold text-white"},"新規 API キー発行",-1))]),a("button",{onClick:d[10]||(d[10]=g=>nt.value=!1),class:"text-slate-400 hover:text-white cursor-pointer"},"×")]),Re.value?(L(),F("div",Kd,$(Re.value),1)):le("",!0),a("div",Dd,[a("div",null,[d[73]||(d[73]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"キー名称 *",-1)),ke(a("input",{"onUpdate:modelValue":d[11]||(d[11]=g=>ce.value.name=g),type:"text",placeholder:"例: AI Engine Production Key",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.name]])]),a("div",zd,[a("div",null,[d[74]||(d[74]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"サービス ID *",-1)),ke(a("input",{"onUpdate:modelValue":d[12]||(d[12]=g=>ce.value.service_id=g),list:"modal-service-options",type:"text",placeholder:"例: billing-svc (必須)",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.service_id]]),a("datalist",Hd,[(L(!0),F(Ce,null,zt(Vt.value,g=>(L(),F("option",{key:g,value:g},$(g),9,Bd))),128))])]),a("div",null,[d[75]||(d[75]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"テナント ID (任意)",-1)),ke(a("input",{"onUpdate:modelValue":d[13]||(d[13]=g=>ce.value.tenant_id=g),list:"modal-tenant-options",type:"text",placeholder:"未指定時はサービス専用キー",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.tenant_id]]),a("datalist",qd,[(L(!0),F(Ce,null,zt(mt.value,g=>(L(),F("option",{key:g.id,value:g.id},$(g.name!==g.id?`${g.name} (${g.id})`:g.name),9,Wd))),128))])])]),a("div",Gd,[a("div",null,[d[76]||(d[76]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"レートリミット (RPM)",-1)),ke(a("input",{"onUpdate:modelValue":d[14]||(d[14]=g=>ce.value.rate_limit_rpm=g),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.rate_limit_rpm,void 0,{number:!0}]])]),a("div",null,[d[77]||(d[77]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"月間クォータ (0 = 無制限)",-1)),ke(a("input",{"onUpdate:modelValue":d[15]||(d[15]=g=>ce.value.monthly_quota=g),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.monthly_quota,void 0,{number:!0}]])])])]),a("div",Jd,[a("button",{onClick:d[16]||(d[16]=g=>nt.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),a("button",{onClick:E,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-cyan-600/30 cursor-pointer"}," 発行する ")])])])):le("",!0),gt.value?(L(),F("div",Xd,[a("div",Yd,[a("div",Zd,[a("div",Qd,[R(N(Fr),{class:"w-6 h-6"})]),a("div",null,[d[78]||(d[78]=a("h3",{class:"text-base font-bold text-white"},"API キーが発行されました",-1)),a("p",eu,$(G.value),1)])]),a("div",tu,[a("div",su,[R(N($a),{class:"w-4 h-4"}),d[79]||(d[79]=a("span",null,"重要: このキーは二度と表示されません",-1))]),d[80]||(d[80]=a("p",{class:"text-[11px] text-amber-200/80 leading-relaxed"}," 安全なキーストアまたはシークレットマネージャーに今すぐ保存してください。 ",-1))]),a("div",ru,[d[81]||(d[81]=a("label",{class:"text-xs font-semibold text-slate-400"},"生成された生の API キー (Raw API Key)",-1)),a("div",ou,[a("span",nu,$(Q.value),1),a("button",{onClick:ze,class:"px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-lg text-xs font-bold flex items-center gap-1.5 cursor-pointer shrink-0 transition-colors"},[Ke.value?(L(),Nt(N(Sa),{key:0,class:"w-3.5 h-3.5 text-emerald-400"})):(L(),Nt(N(Ia),{key:1,class:"w-3.5 h-3.5"})),a("span",null,$(Ke.value?"コピー完了":"コピー"),1)])])]),a("div",iu,[a("button",{onClick:d[17]||(d[17]=g=>gt.value=!1),class:"px-5 py-2.5 bg-emerald-600 hover:bg-emerald-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-emerald-600/30 cursor-pointer"}," 保存した・閉じる ")])])])):le("",!0),bt.value&&it.value?(L(),F("div",lu,[a("div",au,[a("div",cu,[d[82]||(d[82]=a("h3",{class:"text-base font-bold text-white"},"API キー設定の更新",-1)),a("button",{onClick:d[18]||(d[18]=g=>bt.value=!1),class:"text-slate-400 hover:text-white cursor-pointer"},"×")]),a("div",du,[a("div",null,[d[83]||(d[83]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"キー名称",-1)),ke(a("input",{"onUpdate:modelValue":d[19]||(d[19]=g=>oe.value.name=g),type:"text",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,oe.value.name]])]),a("div",null,[d[84]||(d[84]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"レートリミット (RPM)",-1)),ke(a("input",{"onUpdate:modelValue":d[20]||(d[20]=g=>oe.value.rate_limit_rpm=g),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,oe.value.rate_limit_rpm,void 0,{number:!0}]])]),a("div",null,[d[85]||(d[85]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"月間クォータ (0 = 無制限)",-1)),ke(a("input",{"onUpdate:modelValue":d[21]||(d[21]=g=>oe.value.monthly_quota=g),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,oe.value.monthly_quota,void 0,{number:!0}]])])]),a("div",uu,[a("button",{onClick:d[22]||(d[22]=g=>bt.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),a("button",{onClick:K,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold cursor-pointer"}," 更新を保存 ")])])])):le("",!0),p.value?(L(),F("div",fu,[a("div",pu,[a("div",hu,[a("div",gu,[a("div",bu,[R(N(Fn),{class:"w-5 h-5"})]),d[86]||(d[86]=a("div",null,[a("h3",{class:"text-base font-bold text-white"},"接続エンドポイント設定"),a("p",{class:"text-[11px] text-slate-400"},"Nginx リバースプロキシや API Gateway の接続先 URL を変更")],-1))]),a("button",{onClick:d[23]||(d[23]=g=>p.value=!1),class:"text-slate-400 hover:text-white cursor-pointer text-lg"},"×")]),a("div",mu,[a("div",null,[a("div",xu,[d[87]||(d[87]=a("label",{class:"font-semibold text-slate-300"},"API Base URL (エンドポイント)",-1)),a("span",yu," 環境変数: "+$(s.value||"(未設定)"),1)]),a("div",vu,[ke(a("input",{"onUpdate:modelValue":d[24]||(d[24]=g=>m.value.apiBaseUrl=g),type:"text",placeholder:"例: http://localhost:8000 または /api",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-slate-100 font-mono text-xs placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,m.value.apiBaseUrl]])]),d[88]||(d[88]=a("p",{class:"text-[11px] text-slate-400 mt-1"},[qe(" ※ 空文字の場合は同一オリジン("),a("code",null,"/v1/..."),qe(")または Vite プロキシを使用します。 ")],-1))]),a("div",null,[a("div",wu,[d[89]||(d[89]=a("label",{class:"font-semibold text-slate-300"},"Admin Secret トークン (Bearer / X-Admin-Secret)",-1)),a("span",_u," 環境変数: "+$(r.value?"******":"(未設定)"),1)]),ke(a("input",{"onUpdate:modelValue":d[25]||(d[25]=g=>m.value.adminToken=g),type:"password",placeholder:"admin-secret-key-for-local-dev",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-slate-100 font-mono text-xs placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,m.value.adminToken]])]),I.value?(L(),F("div",{key:0,class:Ne([I.value.ok?"bg-emerald-950/40 border-emerald-800 text-emerald-300":"bg-rose-950/40 border-rose-800 text-rose-300","p-3 border rounded-xl flex items-center gap-2.5"])},[I.value.ok?(L(),Nt(N(Fr),{key:0,class:"w-4 h-4 text-emerald-400 shrink-0"})):(L(),Nt(N(Vn),{key:1,class:"w-4 h-4 text-rose-400 shrink-0"})),a("span",ku,$(I.value.message),1)],2)):le("",!0)]),a("div",Su,[a("div",Cu,[a("button",{onClick:V,disabled:A.value,class:"px-3 py-2 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-xl text-xs font-semibold flex items-center gap-1.5 cursor-pointer transition-colors"},[R(N(Ys),{class:Ne(["w-3.5 h-3.5",{"animate-spin":A.value}])},null,8,["class"]),a("span",null,$(A.value?"テスト中...":"接続テスト"),1)],8,Tu),c.value?(L(),F("button",{key:0,onClick:re,class:"px-3 py-2 text-slate-400 hover:text-amber-300 rounded-xl text-xs font-medium flex items-center gap-1 cursor-pointer transition-colors",title:"環境変数・Propsの初期値に戻す"},[R(N(Na),{class:"w-3.5 h-3.5"}),d[90]||(d[90]=a("span",null,"初期値に戻す",-1))])):le("",!0)]),a("div",Au,[a("button",{onClick:d[26]||(d[26]=g=>p.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),a("button",{onClick:ae,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-cyan-600/30 cursor-pointer transition-all"}," 保存して接続 ")])])])])):le("",!0)]))}}),[["styles",['*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-8{margin-bottom:2rem}.ml-0\\.5{margin-left:.125rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.min-h-\\[600px\\]{min-height:600px}.min-h-screen{min-height:100vh}.w-1\\.5{width:.375rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-4{width:1rem}.w-40{width:10rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-7xl{max-width:80rem}.max-w-\\[180px\\]{max-width:180px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-slate-800\\/60>:not([hidden])~:not([hidden]){border-color:#1e293b99}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-amber-500\\/20{border-color:#f59e0b33}.border-amber-500\\/30{border-color:#f59e0b4d}.border-amber-800{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity, 1))}.border-amber-800\\/60{border-color:#92400e99}.border-amber-800\\/80{border-color:#92400ecc}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.border-cyan-500\\/20{border-color:#06b6d433}.border-cyan-800{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity, 1))}.border-cyan-800\\/50{border-color:#155e7580}.border-cyan-800\\/60{border-color:#155e7599}.border-emerald-500\\/20{border-color:#10b98133}.border-emerald-800{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity, 1))}.border-emerald-800\\/60{border-color:#065f4699}.border-emerald-800\\/80{border-color:#065f46cc}.border-indigo-500\\/20{border-color:#6366f133}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity, 1))}.border-rose-800\\/60{border-color:#9f123999}.border-rose-800\\/80{border-color:#9f1239cc}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1))}.border-slate-700\\/60{border-color:#33415599}.border-slate-700\\/80{border-color:#334155cc}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity, 1))}.border-slate-800\\/80{border-color:#1e293bcc}.border-transparent{border-color:transparent}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity, 1))}.bg-amber-500\\/10{background-color:#f59e0b1a}.bg-amber-500\\/20{background-color:#f59e0b33}.bg-amber-950\\/40{background-color:#451a0366}.bg-amber-950\\/60{background-color:#451a0399}.bg-amber-950\\/80{background-color:#451a03cc}.bg-black\\/70{background-color:#000000b3}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))}.bg-cyan-500\\/10{background-color:#06b6d41a}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity, 1))}.bg-cyan-950{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity, 1))}.bg-cyan-950\\/60{background-color:#08334499}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.bg-emerald-500\\/10{background-color:#10b9811a}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-emerald-950\\/30{background-color:#022c224d}.bg-emerald-950\\/40{background-color:#022c2266}.bg-emerald-950\\/60{background-color:#022c2299}.bg-indigo-500\\/10{background-color:#6366f11a}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity, 1))}.bg-rose-500{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity, 1))}.bg-rose-950\\/30{background-color:#4c05194d}.bg-rose-950\\/40{background-color:#4c051966}.bg-rose-950\\/60{background-color:#4c051999}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1))}.bg-slate-900\\/60{background-color:#0f172a99}.bg-slate-900\\/80{background-color:#0f172acc}.bg-slate-900\\/90{background-color:#0f172ae6}.bg-slate-950{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1))}.bg-slate-950\\/40{background-color:#02061766}.bg-transparent{background-color:transparent}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-tr{background-image:linear-gradient(to top right,var(--tw-gradient-stops))}.from-cyan-600{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-emerald-500{--tw-gradient-from: #10b981 var(--tw-gradient-from-position);--tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-indigo-600{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.to-teal-400{--tw-gradient-to: #2dd4bf var(--tw-gradient-to-position)}.p-0\\.5{padding:.125rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-6{padding-bottom:1.5rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[9px\\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.text-amber-200\\/80{color:#fde68acc}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.text-cyan-300{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-400\\/90{color:#22d3eee6}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity, 1))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.text-indigo-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-rose-300{--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity, 1))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-600::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(71 85 105 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-600::placeholder{--tw-placeholder-opacity: 1;color:rgb(71 85 105 / var(--tw-placeholder-opacity, 1))}.opacity-30{opacity:.3}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-cyan-600\\/30{--tw-shadow-color: rgb(8 145 178 / .3);--tw-shadow: var(--tw-shadow-colored)}.shadow-emerald-500\\/20{--tw-shadow-color: rgb(16 185 129 / .2);--tw-shadow: var(--tw-shadow-colored)}.shadow-emerald-600\\/30{--tw-shadow-color: rgb(5 150 105 / .3);--tw-shadow: var(--tw-shadow-colored)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:host{display:block;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:#f1f5f9}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#0f172a99}::-webkit-scrollbar-thumb{background:#334155cc;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:#64748b}.focus-within\\:border-cyan-500:focus-within{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.focus-within\\:border-indigo-500:focus-within{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.hover\\:border-amber-500\\/30:hover{border-color:#f59e0b4d}.hover\\:border-cyan-500\\/30:hover{border-color:#06b6d44d}.hover\\:border-emerald-500\\/30:hover{border-color:#10b9814d}.hover\\:border-indigo-500\\/30:hover{border-color:#6366f14d}.hover\\:bg-cyan-500:hover{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))}.hover\\:bg-emerald-500:hover{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-700:hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-800\\/30:hover{background-color:#1e293b4d}.hover\\:from-cyan-500:hover{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\\:to-indigo-500:hover{--tw-gradient-to: #6366f1 var(--tw-gradient-to-position)}.hover\\:text-amber-300:hover{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.hover\\:text-amber-400:hover{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.hover\\:text-cyan-300:hover{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity, 1))}.hover\\:text-cyan-400:hover{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.hover\\:text-emerald-400:hover{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.hover\\:text-rose-100:hover{--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity, 1))}.hover\\:text-rose-400:hover{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.hover\\:text-slate-200:hover{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.hover\\:text-slate-300:hover{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\\:border-cyan-500:focus{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}@media(min-width:640px){.sm\\:w-auto{width:auto}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:p-6{padding:1.5rem}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media(min-width:768px){.md\\:col-span-2{grid-column:span 2 / span 2}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}}@media(min-width:1024px){.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:p-8{padding:2rem}}']]]),zn=pa(Dn);function Hr(e="tollgate-console"){typeof window<"u"&&!customElements.get(e)&&customElements.define(e,zn)}typeof window<"u"&&Hr(),ye.TollgateApiClient=zr,ye.TollgateConsoleElement=zn,ye.TollgateConsoleSFC=Dn,ye.default=Hr,ye.registerTollgateUI=Hr,Object.defineProperties(ye,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|