diff --git a/public/dx-maps/doxa-maps-spa/manifest.json b/public/dx-maps/doxa-maps-spa/manifest.json index 3bed85154..b2537490a 100644 --- a/public/dx-maps/doxa-maps-spa/manifest.json +++ b/public/dx-maps/doxa-maps-spa/manifest.json @@ -1010,7 +1010,7 @@ "bundle": "plugin-studio", "scriptUrl": "./plugin-studio/plugin-studio.js", "output": "dx-maps/plugin-studio/plugin-studio.js", - "integrity": "sha384-6eNQ4BMIc6DDKJRaAQJzMuWWdYDN2+Ipj+RA1Q9Jxc8T2HZqr+ECC+mm63knNIL6", + "integrity": "sha384-tS2hZUYwpbq3Z5J9WuL0Ic8gfxHFO5fxsHoO2uMhZa7g/cYOpZ6fzXY1Tx9j/QUK", "elements": [ "plugin-studio" ], @@ -1041,7 +1041,7 @@ "scriptUrl": "./plugin-studio/plugin-studio.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" }, "instances": [ { diff --git a/public/dx-maps/index.html b/public/dx-maps/index.html index ed1e0af81..0f12c32b6 100644 --- a/public/dx-maps/index.html +++ b/public/dx-maps/index.html @@ -19,6 +19,6 @@ - + diff --git a/public/dx-maps/manifest.json b/public/dx-maps/manifest.json index 3bed85154..b2537490a 100644 --- a/public/dx-maps/manifest.json +++ b/public/dx-maps/manifest.json @@ -1010,7 +1010,7 @@ "bundle": "plugin-studio", "scriptUrl": "./plugin-studio/plugin-studio.js", "output": "dx-maps/plugin-studio/plugin-studio.js", - "integrity": "sha384-6eNQ4BMIc6DDKJRaAQJzMuWWdYDN2+Ipj+RA1Q9Jxc8T2HZqr+ECC+mm63knNIL6", + "integrity": "sha384-tS2hZUYwpbq3Z5J9WuL0Ic8gfxHFO5fxsHoO2uMhZa7g/cYOpZ6fzXY1Tx9j/QUK", "elements": [ "plugin-studio" ], @@ -1041,7 +1041,7 @@ "scriptUrl": "./plugin-studio/plugin-studio.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" }, "instances": [ { diff --git a/public/dx-maps/plugin-studio/plugin-studio.js b/public/dx-maps/plugin-studio/plugin-studio.js index 8c495f9d8..bca632366 100644 --- a/public/dx-maps/plugin-studio/plugin-studio.js +++ b/public/dx-maps/plugin-studio/plugin-studio.js @@ -2,22 +2,22 @@ * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function zo(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const j={},rt=[],xe=()=>{},jn=()=>!1,Yt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jt=e=>e.startsWith("onUpdate:"),Q=Object.assign,Bo=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},fa=Object.prototype.hasOwnProperty,H=(e,t)=>fa.call(e,t),A=Array.isArray,Ye=e=>_t(e)==="[object Map]",Xt=e=>_t(e)==="[object Set]",Vn=e=>_t(e)==="[object Date]",E=e=>typeof e=="function",J=e=>typeof e=="string",ke=e=>typeof e=="symbol",U=e=>e!==null&&typeof e=="object",Kn=e=>(U(e)||E(e))&&E(e.then)&&E(e.catch),qn=Object.prototype.toString,_t=e=>qn.call(e),ha=e=>_t(e).slice(8,-1),Zt=e=>_t(e)==="[object Object]",jo=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wt=zo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qt=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},ga=/-\w/g,ne=Qt(e=>e.replace(ga,t=>t.slice(1).toUpperCase())),$a=/\B([A-Z])/g,me=Qt(e=>e.replace($a,"-$1").toLowerCase()),eo=Qt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vo=Qt(e=>e?`on${eo(e)}`:""),Se=(e,t)=>!Object.is(e,t),to=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Ko=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Yn=e=>{const t=J(e)?Number(e):NaN;return isNaN(t)?e:t};let Jn;const oo=()=>Jn||(Jn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function lt(e){if(A(e)){const t={};for(let o=0;o{if(o){const n=o.split(ba);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function he(e){let t="";if(J(e))t=e;else if(A(e))for(let o=0;o!!(e&&e.__v_isRef===!0),T=e=>J(e)?e:e==null?"":A(e)||U(e)&&(e.toString===qn||!E(e.toString))?Qn(e)?T(e.value):JSON.stringify(e,es,2):String(e),es=(e,t)=>Qn(t)?es(e,t.value):Ye(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],i)=>(o[qo(n,i)+" =>"]=s,o),{})}:Xt(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>qo(o))}:ke(t)?qo(t):U(t)&&!A(t)&&!Zt(t)?String(t):t,qo=(e,t="")=>{var o;return ke(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** +**/function zo(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const j={},rt=[],we=()=>{},jn=()=>!1,Yt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jt=e=>e.startsWith("onUpdate:"),Q=Object.assign,Bo=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},fa=Object.prototype.hasOwnProperty,H=(e,t)=>fa.call(e,t),A=Array.isArray,Ye=e=>_t(e)==="[object Map]",Xt=e=>_t(e)==="[object Set]",Vn=e=>_t(e)==="[object Date]",E=e=>typeof e=="function",J=e=>typeof e=="string",ke=e=>typeof e=="symbol",U=e=>e!==null&&typeof e=="object",Kn=e=>(U(e)||E(e))&&E(e.then)&&E(e.catch),qn=Object.prototype.toString,_t=e=>qn.call(e),ha=e=>_t(e).slice(8,-1),Zt=e=>_t(e)==="[object Object]",jo=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xt=zo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qt=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},ga=/-\w/g,ne=Qt(e=>e.replace(ga,t=>t.slice(1).toUpperCase())),$a=/\B([A-Z])/g,me=Qt(e=>e.replace($a,"-$1").toLowerCase()),eo=Qt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vo=Qt(e=>e?`on${eo(e)}`:""),Se=(e,t)=>!Object.is(e,t),to=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Ko=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Yn=e=>{const t=J(e)?Number(e):NaN;return isNaN(t)?e:t};let Jn;const oo=()=>Jn||(Jn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function lt(e){if(A(e)){const t={};for(let o=0;o{if(o){const n=o.split(ba);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function he(e){let t="";if(J(e))t=e;else if(A(e))for(let o=0;o!!(e&&e.__v_isRef===!0),T=e=>J(e)?e:e==null?"":A(e)||U(e)&&(e.toString===qn||!E(e.toString))?Qn(e)?T(e.value):JSON.stringify(e,es,2):String(e),es=(e,t)=>Qn(t)?es(e,t.value):Ye(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,s],i)=>(o[qo(n,i)+" =>"]=s,o),{})}:Xt(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>qo(o))}:ke(t)?qo(t):U(t)&&!A(t)&&!Zt(t)?String(t):t,qo=(e,t="")=>{var o;return ke(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let se;class wa{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&&se&&(se.active?(this.parent=se,this.index=(se.scopes||(se.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(se===this)se=this.prevScope;else{let t=se;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 o,n;for(o=0,n=this.effects.length;o0)return;if(St){let t=St;for(St=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;xt;){let t=xt;for(xt=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function ss(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function is(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),Zo(n),Sa(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function Xo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(as(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function as(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Mt)||(e.globalVersion=Mt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Xo(e))))return;e.flags|=2;const t=e.dep,o=q,n=ye;q=e,ye=!0;try{ss(e);const s=e.fn(e._value);(t.version===0||Se(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{q=o,ye=n,is(e),e.flags&=-3}}function Zo(e,t=!1){const{dep:o,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let i=o.computed.deps;i;i=i.nextDep)Zo(i,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Sa(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let ye=!0;const rs=[];function Me(){rs.push(ye),ye=!1}function Le(){const e=rs.pop();ye=e===void 0?!0:e}function ls(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=q;q=void 0;try{t()}finally{q=o}}}let Mt=0;class Ma{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Qo{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||!ye||q===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==q)o=this.activeLink=new Ma(q,this),q.deps?(o.prevDep=q.depsTail,q.depsTail.nextDep=o,q.depsTail=o):q.deps=q.depsTail=o,cs(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=q.depsTail,o.nextDep=void 0,q.depsTail.nextDep=o,q.depsTail=o,q.deps===o&&(q.deps=n)}return o}trigger(t){this.version++,Mt++,this.notify(t)}notify(t){Yo();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Jo()}}}function cs(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)cs(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const en=new WeakMap,Qe=Symbol(""),tn=Symbol(""),Lt=Symbol("");function le(e,t,o){if(ye&&q){let n=en.get(e);n||en.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new Qo),s.map=n,s.key=o),s.track()}}function Ue(e,t,o,n,s,i){const a=en.get(e);if(!a){Mt++;return}const r=l=>{l&&l.trigger()};if(Yo(),t==="clear")a.forEach(r);else{const l=A(e),p=l&&jo(o);if(l&&o==="length"){const d=Number(n);a.forEach((f,k)=>{(k==="length"||k===Lt||!ke(k)&&k>=d)&&r(f)})}else switch((o!==void 0||a.has(void 0))&&r(a.get(o)),p&&r(a.get(Lt)),t){case"add":l?p&&r(a.get("length")):(r(a.get(Qe)),Ye(e)&&r(a.get(tn)));break;case"delete":l||(r(a.get(Qe)),Ye(e)&&r(a.get(tn)));break;case"set":Ye(e)&&r(a.get(Qe));break}}Jo()}function ct(e){const t=R(e);return t===e?t:(le(t,"iterate",Lt),be(e)?t:t.map(_e))}function so(e){return le(e=R(e),"iterate",Lt),e}function Te(e,t){return Be(e)?pt(et(e)?_e(t):t):_e(t)}const La={__proto__:null,[Symbol.iterator](){return on(this,Symbol.iterator,e=>Te(this,e))},concat(...e){return ct(this).concat(...e.map(t=>A(t)?ct(t):t))},entries(){return on(this,"entries",e=>(e[1]=Te(this,e[1]),e))},every(e,t){return ze(this,"every",e,t,void 0,arguments)},filter(e,t){return ze(this,"filter",e,t,o=>o.map(n=>Te(this,n)),arguments)},find(e,t){return ze(this,"find",e,t,o=>Te(this,o),arguments)},findIndex(e,t){return ze(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ze(this,"findLast",e,t,o=>Te(this,o),arguments)},findLastIndex(e,t){return ze(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ze(this,"forEach",e,t,void 0,arguments)},includes(...e){return nn(this,"includes",e)},indexOf(...e){return nn(this,"indexOf",e)},join(e){return ct(this).join(e)},lastIndexOf(...e){return nn(this,"lastIndexOf",e)},map(e,t){return ze(this,"map",e,t,void 0,arguments)},pop(){return Tt(this,"pop")},push(...e){return Tt(this,"push",e)},reduce(e,...t){return ps(this,"reduce",e,t)},reduceRight(e,...t){return ps(this,"reduceRight",e,t)},shift(){return Tt(this,"shift")},some(e,t){return ze(this,"some",e,t,void 0,arguments)},splice(...e){return Tt(this,"splice",e)},toReversed(){return ct(this).toReversed()},toSorted(e){return ct(this).toSorted(e)},toSpliced(...e){return ct(this).toSpliced(...e)},unshift(...e){return Tt(this,"unshift",e)},values(){return on(this,"values",e=>Te(this,e))}};function on(e,t,o){const n=so(e),s=n[t]();return n!==e&&!be(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=o(i.value)),i}),s}const Ta=Array.prototype;function ze(e,t,o,n,s,i){const a=so(e),r=a!==e&&!be(e),l=a[t];if(l!==Ta[t]){const f=l.apply(e,i);return r?_e(f):f}let p=o;a!==e&&(r?p=function(f,k){return o.call(this,Te(e,f),k,e)}:o.length>2&&(p=function(f,k){return o.call(this,f,k,e)}));const d=l.call(a,p,n);return r&&s?s(d):d}function ps(e,t,o,n){const s=so(e),i=s!==e&&!be(e);let a=o,r=!1;s!==e&&(i?(r=n.length===0,a=function(p,d,f){return r&&(r=!1,p=Te(e,p)),o.call(this,p,Te(e,d),f,e)}):o.length>3&&(a=function(p,d,f){return o.call(this,p,d,f,e)}));const l=s[t](a,...n);return r?Te(e,l):l}function nn(e,t,o){const n=R(e);le(n,"iterate",Lt);const s=n[t](...o);return(s===-1||s===!1)&&ln(o[0])?(o[0]=R(o[0]),n[t](...o)):s}function Tt(e,t,o=[]){Me(),Yo();const n=R(e)[t].apply(e,o);return Jo(),Le(),n}const Ca=zo("__proto__,__v_isRef,__isVue"),ds=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ke));function Oa(e){ke(e)||(e=String(e));const t=R(this);return le(t,"has",e),t.hasOwnProperty(e)}class us{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return i;if(o==="__v_raw")return n===(s?i?bs:ms:i?$s:gs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=A(t);if(!s){let l;if(a&&(l=La[o]))return l;if(o==="hasOwnProperty")return Oa}const r=Reflect.get(t,o,ie(t)?t:n);if((ke(o)?ds.has(o):Ca(o))||(s||le(t,"get",o),i))return r;if(ie(r)){const l=a&&jo(o)?r:r.value;return s&&U(l)?rn(l):l}return U(r)?s?rn(r):an(r):r}}class fs extends us{constructor(t=!1){super(!1,t)}set(t,o,n,s){let i=t[o];const a=A(t)&&jo(o);if(!this._isShallow){const p=Be(i);if(!be(n)&&!Be(n)&&(i=R(i),n=R(n)),!a&&ie(i)&&!ie(n))return p||(i.value=n),!0}const r=a?Number(o)e,io=e=>Reflect.getPrototypeOf(e);function Fa(e,t,o){return function(...n){const s=this.__v_raw,i=R(s),a=Ye(i),r=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,p=s[e](...n),d=o?sn:t?pt:_e;return!t&&le(i,"iterate",l?tn:Qe),Q(Object.create(p),{next(){const{value:f,done:k}=p.next();return k?{value:f,done:k}:{value:r?[d(f[0]),d(f[1])]:d(f),done:k}}})}}function ao(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ia(e,t){const o={get(s){const i=this.__v_raw,a=R(i),r=R(s);e||(Se(s,r)&&le(a,"get",s),le(a,"get",r));const{has:l}=io(a),p=t?sn:e?pt:_e;if(l.call(a,s))return p(i.get(s));if(l.call(a,r))return p(i.get(r));i!==a&&i.get(s)},get size(){const s=this.__v_raw;return!e&&le(R(s),"iterate",Qe),s.size},has(s){const i=this.__v_raw,a=R(i),r=R(s);return e||(Se(s,r)&&le(a,"has",s),le(a,"has",r)),s===r?i.has(s):i.has(s)||i.has(r)},forEach(s,i){const a=this,r=a.__v_raw,l=R(r),p=t?sn:e?pt:_e;return!e&&le(l,"iterate",Qe),r.forEach((d,f)=>s.call(i,p(d),p(f),a))}};return Q(o,e?{add:ao("add"),set:ao("set"),delete:ao("delete"),clear:ao("clear")}:{add(s){const i=R(this),a=io(i),r=R(s),l=!t&&!be(s)&&!Be(s)?r:s;return a.has.call(i,l)||Se(s,l)&&a.has.call(i,s)||Se(r,l)&&a.has.call(i,r)||(i.add(l),Ue(i,"add",l,l)),this},set(s,i){!t&&!be(i)&&!Be(i)&&(i=R(i));const a=R(this),{has:r,get:l}=io(a);let p=r.call(a,s);p||(s=R(s),p=r.call(a,s));const d=l.call(a,s);return a.set(s,i),p?Se(i,d)&&Ue(a,"set",s,i):Ue(a,"add",s,i),this},delete(s){const i=R(this),{has:a,get:r}=io(i);let l=a.call(i,s);l||(s=R(s),l=a.call(i,s)),r&&r.call(i,s);const p=i.delete(s);return l&&Ue(i,"delete",s,void 0),p},clear(){const s=R(this),i=s.size!==0,a=s.clear();return i&&Ue(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=Fa(s,e,t)}),o}function ro(e,t){const o=Ia(e,t);return(n,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(H(o,s)&&s in n?o:n,s,i)}const Ra={get:ro(!1,!1)},Da={get:ro(!1,!0)},Ha={get:ro(!0,!1)},Wa={get:ro(!0,!0)},gs=new WeakMap,$s=new WeakMap,ms=new WeakMap,bs=new WeakMap;function Ua(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function an(e){return Be(e)?e:lo(e,!1,Pa,Ra,gs)}function za(e){return lo(e,!1,Na,Da,$s)}function rn(e){return lo(e,!0,Aa,Ha,ms)}function eu(e){return lo(e,!0,Ea,Wa,bs)}function lo(e,t,o,n,s){if(!U(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=s.get(e);if(i)return i;const a=Ua(ha(e));if(a===0)return e;const r=new Proxy(e,a===2?n:o);return s.set(e,r),r}function et(e){return Be(e)?et(e.__v_raw):!!(e&&e.__v_isReactive)}function Be(e){return!!(e&&e.__v_isReadonly)}function be(e){return!!(e&&e.__v_isShallow)}function ln(e){return e?!!e.__v_raw:!1}function R(e){const t=e&&e.__v_raw;return t?R(t):e}function Ba(e){return!H(e,"__v_skip")&&Object.isExtensible(e)&&Gn(e,"__v_skip",!0),e}const _e=e=>U(e)?an(e):e,pt=e=>U(e)?rn(e):e;function ie(e){return e?e.__v_isRef===!0:!1}function vs(e){return ja(e,!1)}function ja(e,t){return ie(e)?e:new Va(e,t)}class Va{constructor(t,o){this.dep=new Qo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:R(t),this._value=o?t:_e(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||be(t)||Be(t);t=n?t:R(t),Se(t,o)&&(this._rawValue=t,this._value=n?t:_e(t),this.dep.trigger())}}function ks(e){return ie(e)?e.value:e}const Ka={get:(e,t,o)=>t==="__v_raw"?e:ks(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return ie(s)&&!ie(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function ys(e){return et(e)?e:new Proxy(e,Ka)}class qa{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Qo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Mt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&q!==this)return ns(this,!0),!0}get value(){const t=this.dep.track();return as(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ga(e,t,o=!1){let n,s;return E(e)?n=e:(n=e.get,s=e.set),new qa(n,s,o)}const co={},po=new WeakMap;let tt;function Ya(e,t=!1,o=tt){if(o){let n=po.get(o);n||po.set(o,n=[]),n.push(e)}}function Ja(e,t,o=j){const{immediate:n,deep:s,once:i,scheduler:a,augmentJob:r,call:l}=o,p=P=>s?P:be(P)||s===!1||s===0?je(P,1):je(P);let d,f,k,y,W=!1,F=!1;if(ie(e)?(f=()=>e.value,W=be(e)):et(e)?(f=()=>p(e),W=!0):A(e)?(F=!0,W=e.some(P=>et(P)||be(P)),f=()=>e.map(P=>{if(ie(P))return P.value;if(et(P))return p(P);if(E(P))return l?l(P,2):P()})):E(e)?t?f=l?()=>l(e,2):e:f=()=>{if(k){Me();try{k()}finally{Le()}}const P=tt;tt=d;try{return l?l(e,3,[y]):e(y)}finally{tt=P}}:f=xe,t&&s){const P=f,oe=s===!0?1/0:s;f=()=>je(P(),oe)}const ee=xa(),X=()=>{d.stop(),ee&&ee.active&&Bo(ee.effects,d)};if(i&&t){const P=t;t=(...oe)=>{const Fe=P(...oe);return X(),Fe}}let D=F?new Array(e.length).fill(co):co;const z=P=>{if(!(!(d.flags&1)||!d.dirty&&!P))if(t){const oe=d.run();if(P||s||W||(F?oe.some((Fe,Ie)=>Se(Fe,D[Ie])):Se(oe,D))){k&&k();const Fe=tt;tt=d;try{const Ie=[oe,D===co?void 0:F&&D[0]===co?[]:D,y];D=oe,l?l(t,3,Ie):t(...Ie)}finally{tt=Fe}}}else d.run()};return r&&r(z),d=new ts(f),d.scheduler=a?()=>a(z,!1):z,y=P=>Ya(P,!1,d),k=d.onStop=()=>{const P=po.get(d);if(P){if(l)l(P,4);else for(const oe of P)oe();po.delete(d)}},t?n?z(!0):D=d.run():a?a(z.bind(null,!0),!0):d.run(),X.pause=d.pause.bind(d),X.resume=d.resume.bind(d),X.stop=X,X}function je(e,t=1/0,o){if(t<=0||!U(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,ie(e))je(e.value,t,o);else if(A(e))for(let n=0;n{je(n,t,o)});else if(Zt(e)){for(const n in e)je(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&je(e[n],t,o)}return e}/** +**/let se;class xa{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&&se&&(se.active?(this.parent=se,this.index=(se.scopes||(se.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t0&&--this._on===0){if(se===this)se=this.prevScope;else{let t=se;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 o,n;for(o=0,n=this.effects.length;o0)return;if(St){let t=St;for(St=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;wt;){let t=wt;for(wt=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function ss(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function is(e){let t,o=e.depsTail,n=o;for(;n;){const s=n.prevDep;n.version===-1?(n===o&&(o=s),Zo(n),Sa(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=o}function Xo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(as(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function as(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Mt)||(e.globalVersion=Mt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Xo(e))))return;e.flags|=2;const t=e.dep,o=q,n=ye;q=e,ye=!0;try{ss(e);const s=e.fn(e._value);(t.version===0||Se(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{q=o,ye=n,is(e),e.flags&=-3}}function Zo(e,t=!1){const{dep:o,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let i=o.computed.deps;i;i=i.nextDep)Zo(i,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Sa(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let ye=!0;const rs=[];function Me(){rs.push(ye),ye=!1}function Le(){const e=rs.pop();ye=e===void 0?!0:e}function ls(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=q;q=void 0;try{t()}finally{q=o}}}let Mt=0;class Ma{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Qo{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||!ye||q===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==q)o=this.activeLink=new Ma(q,this),q.deps?(o.prevDep=q.depsTail,q.depsTail.nextDep=o,q.depsTail=o):q.deps=q.depsTail=o,cs(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=q.depsTail,o.nextDep=void 0,q.depsTail.nextDep=o,q.depsTail=o,q.deps===o&&(q.deps=n)}return o}trigger(t){this.version++,Mt++,this.notify(t)}notify(t){Yo();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Jo()}}}function cs(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)cs(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const en=new WeakMap,Qe=Symbol(""),tn=Symbol(""),Lt=Symbol("");function le(e,t,o){if(ye&&q){let n=en.get(e);n||en.set(e,n=new Map);let s=n.get(o);s||(n.set(o,s=new Qo),s.map=n,s.key=o),s.track()}}function Ue(e,t,o,n,s,i){const a=en.get(e);if(!a){Mt++;return}const r=l=>{l&&l.trigger()};if(Yo(),t==="clear")a.forEach(r);else{const l=A(e),p=l&&jo(o);if(l&&o==="length"){const d=Number(n);a.forEach((f,k)=>{(k==="length"||k===Lt||!ke(k)&&k>=d)&&r(f)})}else switch((o!==void 0||a.has(void 0))&&r(a.get(o)),p&&r(a.get(Lt)),t){case"add":l?p&&r(a.get("length")):(r(a.get(Qe)),Ye(e)&&r(a.get(tn)));break;case"delete":l||(r(a.get(Qe)),Ye(e)&&r(a.get(tn)));break;case"set":Ye(e)&&r(a.get(Qe));break}}Jo()}function ct(e){const t=R(e);return t===e?t:(le(t,"iterate",Lt),be(e)?t:t.map(_e))}function so(e){return le(e=R(e),"iterate",Lt),e}function Te(e,t){return Be(e)?pt(et(e)?_e(t):t):_e(t)}const La={__proto__:null,[Symbol.iterator](){return on(this,Symbol.iterator,e=>Te(this,e))},concat(...e){return ct(this).concat(...e.map(t=>A(t)?ct(t):t))},entries(){return on(this,"entries",e=>(e[1]=Te(this,e[1]),e))},every(e,t){return ze(this,"every",e,t,void 0,arguments)},filter(e,t){return ze(this,"filter",e,t,o=>o.map(n=>Te(this,n)),arguments)},find(e,t){return ze(this,"find",e,t,o=>Te(this,o),arguments)},findIndex(e,t){return ze(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ze(this,"findLast",e,t,o=>Te(this,o),arguments)},findLastIndex(e,t){return ze(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ze(this,"forEach",e,t,void 0,arguments)},includes(...e){return nn(this,"includes",e)},indexOf(...e){return nn(this,"indexOf",e)},join(e){return ct(this).join(e)},lastIndexOf(...e){return nn(this,"lastIndexOf",e)},map(e,t){return ze(this,"map",e,t,void 0,arguments)},pop(){return Tt(this,"pop")},push(...e){return Tt(this,"push",e)},reduce(e,...t){return ps(this,"reduce",e,t)},reduceRight(e,...t){return ps(this,"reduceRight",e,t)},shift(){return Tt(this,"shift")},some(e,t){return ze(this,"some",e,t,void 0,arguments)},splice(...e){return Tt(this,"splice",e)},toReversed(){return ct(this).toReversed()},toSorted(e){return ct(this).toSorted(e)},toSpliced(...e){return ct(this).toSpliced(...e)},unshift(...e){return Tt(this,"unshift",e)},values(){return on(this,"values",e=>Te(this,e))}};function on(e,t,o){const n=so(e),s=n[t]();return n!==e&&!be(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=o(i.value)),i}),s}const Ta=Array.prototype;function ze(e,t,o,n,s,i){const a=so(e),r=a!==e&&!be(e),l=a[t];if(l!==Ta[t]){const f=l.apply(e,i);return r?_e(f):f}let p=o;a!==e&&(r?p=function(f,k){return o.call(this,Te(e,f),k,e)}:o.length>2&&(p=function(f,k){return o.call(this,f,k,e)}));const d=l.call(a,p,n);return r&&s?s(d):d}function ps(e,t,o,n){const s=so(e),i=s!==e&&!be(e);let a=o,r=!1;s!==e&&(i?(r=n.length===0,a=function(p,d,f){return r&&(r=!1,p=Te(e,p)),o.call(this,p,Te(e,d),f,e)}):o.length>3&&(a=function(p,d,f){return o.call(this,p,d,f,e)}));const l=s[t](a,...n);return r?Te(e,l):l}function nn(e,t,o){const n=R(e);le(n,"iterate",Lt);const s=n[t](...o);return(s===-1||s===!1)&&ln(o[0])?(o[0]=R(o[0]),n[t](...o)):s}function Tt(e,t,o=[]){Me(),Yo();const n=R(e)[t].apply(e,o);return Jo(),Le(),n}const Ca=zo("__proto__,__v_isRef,__isVue"),ds=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ke));function Oa(e){ke(e)||(e=String(e));const t=R(this);return le(t,"has",e),t.hasOwnProperty(e)}class us{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(o==="__v_isReactive")return!s;if(o==="__v_isReadonly")return s;if(o==="__v_isShallow")return i;if(o==="__v_raw")return n===(s?i?bs:ms:i?$s:gs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=A(t);if(!s){let l;if(a&&(l=La[o]))return l;if(o==="hasOwnProperty")return Oa}const r=Reflect.get(t,o,ie(t)?t:n);if((ke(o)?ds.has(o):Ca(o))||(s||le(t,"get",o),i))return r;if(ie(r)){const l=a&&jo(o)?r:r.value;return s&&U(l)?rn(l):l}return U(r)?s?rn(r):an(r):r}}class fs extends us{constructor(t=!1){super(!1,t)}set(t,o,n,s){let i=t[o];const a=A(t)&&jo(o);if(!this._isShallow){const p=Be(i);if(!be(n)&&!Be(n)&&(i=R(i),n=R(n)),!a&&ie(i)&&!ie(n))return p||(i.value=n),!0}const r=a?Number(o)e,io=e=>Reflect.getPrototypeOf(e);function Fa(e,t,o){return function(...n){const s=this.__v_raw,i=R(s),a=Ye(i),r=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,p=s[e](...n),d=o?sn:t?pt:_e;return!t&&le(i,"iterate",l?tn:Qe),Q(Object.create(p),{next(){const{value:f,done:k}=p.next();return k?{value:f,done:k}:{value:r?[d(f[0]),d(f[1])]:d(f),done:k}}})}}function ao(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ia(e,t){const o={get(s){const i=this.__v_raw,a=R(i),r=R(s);e||(Se(s,r)&&le(a,"get",s),le(a,"get",r));const{has:l}=io(a),p=t?sn:e?pt:_e;if(l.call(a,s))return p(i.get(s));if(l.call(a,r))return p(i.get(r));i!==a&&i.get(s)},get size(){const s=this.__v_raw;return!e&&le(R(s),"iterate",Qe),s.size},has(s){const i=this.__v_raw,a=R(i),r=R(s);return e||(Se(s,r)&&le(a,"has",s),le(a,"has",r)),s===r?i.has(s):i.has(s)||i.has(r)},forEach(s,i){const a=this,r=a.__v_raw,l=R(r),p=t?sn:e?pt:_e;return!e&&le(l,"iterate",Qe),r.forEach((d,f)=>s.call(i,p(d),p(f),a))}};return Q(o,e?{add:ao("add"),set:ao("set"),delete:ao("delete"),clear:ao("clear")}:{add(s){const i=R(this),a=io(i),r=R(s),l=!t&&!be(s)&&!Be(s)?r:s;return a.has.call(i,l)||Se(s,l)&&a.has.call(i,s)||Se(r,l)&&a.has.call(i,r)||(i.add(l),Ue(i,"add",l,l)),this},set(s,i){!t&&!be(i)&&!Be(i)&&(i=R(i));const a=R(this),{has:r,get:l}=io(a);let p=r.call(a,s);p||(s=R(s),p=r.call(a,s));const d=l.call(a,s);return a.set(s,i),p?Se(i,d)&&Ue(a,"set",s,i):Ue(a,"add",s,i),this},delete(s){const i=R(this),{has:a,get:r}=io(i);let l=a.call(i,s);l||(s=R(s),l=a.call(i,s)),r&&r.call(i,s);const p=i.delete(s);return l&&Ue(i,"delete",s,void 0),p},clear(){const s=R(this),i=s.size!==0,a=s.clear();return i&&Ue(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{o[s]=Fa(s,e,t)}),o}function ro(e,t){const o=Ia(e,t);return(n,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(H(o,s)&&s in n?o:n,s,i)}const Ra={get:ro(!1,!1)},Da={get:ro(!1,!0)},Ha={get:ro(!0,!1)},Wa={get:ro(!0,!0)},gs=new WeakMap,$s=new WeakMap,ms=new WeakMap,bs=new WeakMap;function Ua(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function an(e){return Be(e)?e:lo(e,!1,Pa,Ra,gs)}function za(e){return lo(e,!1,Na,Da,$s)}function rn(e){return lo(e,!0,Aa,Ha,ms)}function tu(e){return lo(e,!0,Ea,Wa,bs)}function lo(e,t,o,n,s){if(!U(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=s.get(e);if(i)return i;const a=Ua(ha(e));if(a===0)return e;const r=new Proxy(e,a===2?n:o);return s.set(e,r),r}function et(e){return Be(e)?et(e.__v_raw):!!(e&&e.__v_isReactive)}function Be(e){return!!(e&&e.__v_isReadonly)}function be(e){return!!(e&&e.__v_isShallow)}function ln(e){return e?!!e.__v_raw:!1}function R(e){const t=e&&e.__v_raw;return t?R(t):e}function Ba(e){return!H(e,"__v_skip")&&Object.isExtensible(e)&&Gn(e,"__v_skip",!0),e}const _e=e=>U(e)?an(e):e,pt=e=>U(e)?rn(e):e;function ie(e){return e?e.__v_isRef===!0:!1}function vs(e){return ja(e,!1)}function ja(e,t){return ie(e)?e:new Va(e,t)}class Va{constructor(t,o){this.dep=new Qo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:R(t),this._value=o?t:_e(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||be(t)||Be(t);t=n?t:R(t),Se(t,o)&&(this._rawValue=t,this._value=n?t:_e(t),this.dep.trigger())}}function ks(e){return ie(e)?e.value:e}const Ka={get:(e,t,o)=>t==="__v_raw"?e:ks(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const s=e[t];return ie(s)&&!ie(o)?(s.value=o,!0):Reflect.set(e,t,o,n)}};function ys(e){return et(e)?e:new Proxy(e,Ka)}class qa{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Qo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Mt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&q!==this)return ns(this,!0),!0}get value(){const t=this.dep.track();return as(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ga(e,t,o=!1){let n,s;return E(e)?n=e:(n=e.get,s=e.set),new qa(n,s,o)}const co={},po=new WeakMap;let tt;function Ya(e,t=!1,o=tt){if(o){let n=po.get(o);n||po.set(o,n=[]),n.push(e)}}function Ja(e,t,o=j){const{immediate:n,deep:s,once:i,scheduler:a,augmentJob:r,call:l}=o,p=P=>s?P:be(P)||s===!1||s===0?je(P,1):je(P);let d,f,k,y,W=!1,F=!1;if(ie(e)?(f=()=>e.value,W=be(e)):et(e)?(f=()=>p(e),W=!0):A(e)?(F=!0,W=e.some(P=>et(P)||be(P)),f=()=>e.map(P=>{if(ie(P))return P.value;if(et(P))return p(P);if(E(P))return l?l(P,2):P()})):E(e)?t?f=l?()=>l(e,2):e:f=()=>{if(k){Me();try{k()}finally{Le()}}const P=tt;tt=d;try{return l?l(e,3,[y]):e(y)}finally{tt=P}}:f=we,t&&s){const P=f,oe=s===!0?1/0:s;f=()=>je(P(),oe)}const ee=wa(),X=()=>{d.stop(),ee&&ee.active&&Bo(ee.effects,d)};if(i&&t){const P=t;t=(...oe)=>{const Fe=P(...oe);return X(),Fe}}let D=F?new Array(e.length).fill(co):co;const z=P=>{if(!(!(d.flags&1)||!d.dirty&&!P))if(t){const oe=d.run();if(P||s||W||(F?oe.some((Fe,Ie)=>Se(Fe,D[Ie])):Se(oe,D))){k&&k();const Fe=tt;tt=d;try{const Ie=[oe,D===co?void 0:F&&D[0]===co?[]:D,y];D=oe,l?l(t,3,Ie):t(...Ie)}finally{tt=Fe}}}else d.run()};return r&&r(z),d=new ts(f),d.scheduler=a?()=>a(z,!1):z,y=P=>Ya(P,!1,d),k=d.onStop=()=>{const P=po.get(d);if(P){if(l)l(P,4);else for(const oe of P)oe();po.delete(d)}},t?n?z(!0):D=d.run():a?a(z.bind(null,!0),!0):d.run(),X.pause=d.pause.bind(d),X.resume=d.resume.bind(d),X.stop=X,X}function je(e,t=1/0,o){if(t<=0||!U(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,ie(e))je(e.value,t,o);else if(A(e))for(let n=0;n{je(n,t,o)});else if(Zt(e)){for(const n in e)je(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&je(e[n],t,o)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Ct=[];let cn=!1;function tu(e,...t){if(cn)return;cn=!0,Me();const o=Ct.length?Ct[Ct.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=Xa();if(n)dt(n,o,11,[e+t.map(i=>{var a,r;return(r=(a=i.toString)==null?void 0:a.call(i))!=null?r:JSON.stringify(i)}).join(""),o&&o.proxy,s.map(({vnode:i})=>`at <${yi(o,i.type)}>`).join(` +**/const Ct=[];let cn=!1;function ou(e,...t){if(cn)return;cn=!0,Me();const o=Ct.length?Ct[Ct.length-1].component:null,n=o&&o.appContext.config.warnHandler,s=Xa();if(n)dt(n,o,11,[e+t.map(i=>{var a,r;return(r=(a=i.toString)==null?void 0:a.call(i))!=null?r:JSON.stringify(i)}).join(""),o&&o.proxy,s.map(({vnode:i})=>`at <${yi(o,i.type)}>`).join(` `),s]);else{const i=[`[Vue warn]: ${e}`,...t];s.length&&i.push(` `,...Za(s)),console.warn(...i)}Le(),cn=!1}function Xa(){let e=Ct[Ct.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Za(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[` -`],...Qa(o))}),t}function Qa({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${yi(e.component,e.type,n)}`,i=">"+o;return e.props?[s,...er(e.props),i]:[s+i]}function er(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(..._s(n,e[n]))}),o.length>3&&t.push(" ..."),t}function _s(e,t,o){return J(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ie(t)?(t=_s(e,R(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):E(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=R(t),o?t:[`${e}=`,t])}function dt(e,t,o,n){try{return n?e(...n):e()}catch(s){uo(s,t,o)}}function we(e,t,o,n){if(E(e)){const s=dt(e,t,o,n);return s&&Kn(s)&&s.catch(i=>{uo(i,t,o)}),s}if(A(e)){const s=[];for(let i=0;i>>1,s=pe[n],i=Ot(s);i=Ot(o)?pe.push(e):pe.splice(or(t),0,e),e.flags|=1,Ss()}}function Ss(){fo||(fo=ws.then(Ts))}function nr(e){if(!A(e))Je&&e.id===-1?Je.splice(ft+1,0,e):e.flags&1||(ut.push(e),e.flags|=1);else for(let t=0;tOt(o)-Ot(n));if(ut.length=0,Je){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Ts(e){try{for(Ce=0;Ce{n._d&&ui(-1);const i=ho(t),a=Ke.length;let r;try{r=e(...s)}finally{for(let l=Ke.length;l>a;l--)Sn();ho(i),n._d&&ui(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function gt(e,t){if(ae===null)return e;const o=Mo(ae),n=e.dirs||(e.dirs=[]);for(let s=0;s1)return o&&E(t)?t.call(n&&n.proxy):t}}const ir=Symbol.for("v-scx"),ar=()=>Pt(ir);function go(e,t,o){return Os(e,t,o)}function Os(e,t,o=j){const{immediate:n,deep:s,flush:i,once:a}=o,r=Q({},o),l=t&&n||!t&&i!=="post";let p;if(Ut){if(i==="sync"){const y=ar();p=y.__watcherHandles||(y.__watcherHandles=[])}else if(!l){const y=()=>{};return y.stop=xe,y.resume=xe,y.pause=xe,y}}const d=ce;r.call=(y,W,F)=>we(y,d,W,F);let f=!1;i==="post"?r.scheduler=y=>{fe(y,d&&d.suspense)}:i!=="sync"&&(f=!0,r.scheduler=(y,W)=>{W?y():pn(y)}),r.augmentJob=y=>{t&&(y.flags|=4),f&&(y.flags|=2,d&&(y.id=d.uid,y.i=d))};const k=Ja(e,t,r);return Ut&&(p?p.push(k):l&&k()),k}function rr(e,t,o){const n=this.proxy,s=J(e)?e.includes(".")?Ps(n,e):()=>n[e]:e.bind(n,n);let i;E(t)?i=t:(i=t.handler,o=t);const a=Wt(this),r=Os(s,i.bind(n),o);return a(),r}function Ps(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;se.__isTeleport,dn=Symbol("_leaveCb");function cr(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==Pe){t=o;break}}return t}function As(e){if(!fn(e))return $o(e.type)&&e.children?cr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&E(o.default))return o.default()}}function un(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;un($o(o.type)&&As(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mo(e,t){return E(e)?Q({name:e.name},t,{setup:e}):e}function Ns(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Es(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const bo=new WeakMap;function At(e,t,o,n,s=!1){if(A(e)){e.forEach((F,ee)=>At(F,t&&(A(t)?t[ee]:t),o,n,s));return}if($t(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&At(e,t,o,n.component.subTree);return}const i=n.shapeFlag&4?Mo(n.component):n.el,a=s?null:i,{i:r,r:l}=e,p=t&&t.r,d=r.refs===j?r.refs={}:r.refs,f=r.setupState,k=R(f),y=f===j?jn:F=>Es(d,F)?!1:H(k,F),W=(F,ee)=>!(ee&&Es(d,ee));if(p!=null&&p!==l){if(Fs(t),J(p))d[p]=null,y(p)&&(f[p]=null);else if(ie(p)){const F=t;W(p,F.k)&&(p.value=null),F.k&&(d[F.k]=null)}}if(E(l))dt(l,r,12,[a,d]);else{const F=J(l),ee=ie(l);if(F||ee){const X=()=>{if(e.f){const D=F?y(l)?f[l]:d[l]:W()||!e.k?l.value:d[e.k];if(s)A(D)&&Bo(D,i);else if(A(D))D.includes(i)||D.push(i);else if(F)d[l]=[i],y(l)&&(f[l]=d[l]);else{const z=[i];W(l,e.k)&&(l.value=z),e.k&&(d[e.k]=z)}}else F?(d[l]=a,y(l)&&(f[l]=a)):ee&&(W(l,e.k)&&(l.value=a),e.k&&(d[e.k]=a))};if(a){const D=()=>{X(),bo.delete(e)};D.id=-1,bo.set(e,D),fe(D,o)}else Fs(e),X()}}}function Fs(e){const t=bo.get(e);t&&(t.flags|=8,bo.delete(e))}oo().requestIdleCallback,oo().cancelIdleCallback;const $t=e=>!!e.type.__asyncLoader,fn=e=>e.type.__isKeepAlive;function pr(e,t){Is(e,"a",t)}function dr(e,t){Is(e,"da",t)}function Is(e,t,o=ce){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(vo(t,n,o),o){let s=o.parent;for(;s&&s.parent;)fn(s.parent.vnode)&&ur(n,t,o,s),s=s.parent}}function ur(e,t,o,n){const s=vo(t,e,n,!0);Ds(()=>{Bo(n[t],s)},o)}function vo(e,t,o=ce,n=!1){if(o){const s=o[e]||(o[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Me();const r=Wt(o),l=we(t,o,e,a);return r(),Le(),l});return n?s.unshift(i):s.push(i),i}}const Ve=e=>(t,o=ce)=>{(!Ut||e==="sp")&&vo(e,(...n)=>t(...n),o)},fr=Ve("bm"),hn=Ve("m"),hr=Ve("bu"),gr=Ve("u"),Rs=Ve("bum"),Ds=Ve("um"),$r=Ve("sp"),mr=Ve("rtg"),br=Ve("rtc");function vr(e,t=ce){vo("ec",e,t)}const kr="components";function gn(e,t){return _r(kr,e,!0,t)||e}const yr=Symbol.for("v-ndc");function _r(e,t,o=!0,n=!1){const s=ae||ce;if(s){const i=s.type;{const r=ki(i,!1);if(r&&(r===t||r===ne(t)||r===eo(ne(t))))return i}const a=Hs(s[e]||i[e],t)||Hs(s.appContext[e],t);return!a&&n?i:a}}function Hs(e,t){return e&&(e[t]||e[ne(t)]||e[eo(ne(t))])}function Oe(e,t,o,n){let s;const i=o,a=A(e);if(a||J(e)){const r=a&&et(e);let l=!1,p=!1;r&&(l=!be(e),p=Be(e),e=so(e)),s=new Array(e.length);for(let d=0,f=e.length;dt(r,l,void 0,i));else{const r=Object.keys(e);s=new Array(r.length);for(let l=0,p=r.length;l0;return t!=="default"&&(p.name=t),M(),Rt(Y,null,[ve("slot",p,n)],d?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const r=Ke.length;M();let l;try{const p=a&&Ws(a(o)),d=o.key||i||p&&p.key;l=Rt(Y,{key:(d&&!ke(d)?d:`_${t}`)+(!p&&n?"_fb":"")},p||(n?n():[]),p&&e._===1?64:-2)}catch(p){for(let d=Ke.length;d>r;d--)Sn();throw p}finally{a&&a._c&&(a._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Ws(e){return e.some(t=>Mn(t)?!(t.type===Pe||t.type===Y&&!Ws(t.children)):!0)?e:null}const $n=e=>e?mi(e)?Mo(e):$n(e.parent):null,Et=Q(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=>$n(e.parent),$root:e=>$n(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>js(e),$forceUpdate:e=>e.f||(e.f=()=>{pn(e.update)}),$nextTick:e=>e.n||(e.n=xs.bind(e.proxy)),$watch:e=>rr.bind(e)}),mn=(e,t)=>e!==j&&!e.__isScriptSetup&&H(e,t),wr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:i,accessCache:a,type:r,appContext:l}=e;if(t[0]!=="$"){const k=a[t];if(k!==void 0)switch(k){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return i[t]}else{if(mn(n,t))return a[t]=1,n[t];if(s!==j&&H(s,t))return a[t]=2,s[t];if(H(i,t))return a[t]=3,i[t];if(o!==j&&H(o,t))return a[t]=4,o[t];bn&&(a[t]=0)}}const p=Et[t];let d,f;if(p)return t==="$attrs"&&le(e.attrs,"get",""),p(e);if((d=r.__cssModules)&&(d=d[t]))return d;if(o!==j&&H(o,t))return a[t]=4,o[t];if(f=l.config.globalProperties,H(f,t))return f[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:i}=e;return mn(s,t)?(s[t]=o,!0):n!==j&&H(n,t)?(n[t]=o,!0):H(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:i,type:a}},r){let l;return!!(o[r]||e!==j&&r[0]!=="$"&&H(e,r)||mn(t,r)||H(i,r)||H(n,r)||H(Et,r)||H(s.config.globalProperties,r)||(l=a.__cssModules)&&l[r])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:H(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Us(e){return A(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let bn=!0;function xr(e){const t=js(e),o=e.proxy,n=e.ctx;bn=!1,t.beforeCreate&&zs(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:a,watch:r,provide:l,inject:p,created:d,beforeMount:f,mounted:k,beforeUpdate:y,updated:W,activated:F,deactivated:ee,beforeDestroy:X,beforeUnmount:D,destroyed:z,unmounted:P,render:oe,renderTracked:Fe,renderTriggered:Ie,errorCaptured:Ze,serverPrefetch:Ro,expose:st,inheritAttrs:Vt,components:Do,directives:Ho,filters:zn}=t;if(p&&Sr(p,n,null),a)for(const Z in a){const G=a[Z];E(G)&&(n[Z]=G.bind(o))}if(s){const Z=s.call(o,o);U(Z)&&(e.data=an(Z))}if(bn=!0,i)for(const Z in i){const G=i[Z],it=E(G)?G.bind(o,o):E(G.get)?G.get.bind(o,o):xe,Wo=!E(G)&&E(G.set)?G.set.bind(o):xe,at=_i({get:it,set:Wo});Object.defineProperty(n,Z,{enumerable:!0,configurable:!0,get:()=>at.value,set:Re=>at.value=Re})}if(r)for(const Z in r)Bs(r[Z],n,o,Z);if(l){const Z=E(l)?l.call(o):l;Reflect.ownKeys(Z).forEach(G=>{sr(G,Z[G])})}d&&zs(d,e,"c");function ue(Z,G){A(G)?G.forEach(it=>Z(it.bind(o))):G&&Z(G.bind(o))}if(ue(fr,f),ue(hn,k),ue(hr,y),ue(gr,W),ue(pr,F),ue(dr,ee),ue(vr,Ze),ue(br,Fe),ue(mr,Ie),ue(Rs,D),ue(Ds,P),ue($r,Ro),A(st))if(st.length){const Z=e.exposed||(e.exposed={});st.forEach(G=>{Object.defineProperty(Z,G,{get:()=>o[G],set:it=>o[G]=it,enumerable:!0})})}else e.exposed||(e.exposed={});oe&&e.render===xe&&(e.render=oe),Vt!=null&&(e.inheritAttrs=Vt),Do&&(e.components=Do),Ho&&(e.directives=Ho),Ro&&Ns(e)}function Sr(e,t,o=xe){A(e)&&(e=vn(e));for(const n in e){const s=e[n];let i;U(s)?"default"in s?i=Pt(s.from||n,s.default,!0):i=Pt(s.from||n):i=Pt(s),ie(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function zs(e,t,o){we(A(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Bs(e,t,o,n){let s=n.includes(".")?Ps(o,n):()=>o[n];if(J(e)){const i=t[e];E(i)&&go(s,i)}else if(E(e))go(s,e.bind(o));else if(U(e))if(A(e))e.forEach(i=>Bs(i,t,o,n));else{const i=E(e.handler)?e.handler.bind(o):t[e.handler];E(i)&&go(s,i,e)}}function js(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,r=i.get(t);let l;return r?l=r:!s.length&&!o&&!n?l=t:(l={},s.length&&s.forEach(p=>ko(l,p,a,!0)),ko(l,t,a)),U(t)&&i.set(t,l),l}function ko(e,t,o,n=!1){const{mixins:s,extends:i}=t;i&&ko(e,i,o,!0),s&&s.forEach(a=>ko(e,a,o,!0));for(const a in t)if(!(n&&a==="expose")){const r=Mr[a]||o&&o[a];e[a]=r?r(e[a],t[a]):t[a]}return e}const Mr={data:Vs,props:Ks,emits:Ks,methods:Ft,computed:Ft,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:Ft,directives:Ft,watch:Tr,provide:Vs,inject:Lr};function Vs(e,t){return t?e?function(){return Q(E(e)?e.call(this,this):e,E(t)?t.call(this,this):t)}:t:e}function Lr(e,t){return Ft(vn(e),vn(t))}function vn(e){if(A(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ne(t)}Modifiers`]||e[`${me(t)}Modifiers`];function Ar(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||j;let s=o;const i=t.startsWith("update:"),a=i&&Pr(n,t.slice(7));a&&(a.trim&&(s=o.map(d=>J(d)?d.trim():d)),a.number&&(s=s.map(Ko)));let r,l=n[r=Vo(t)]||n[r=Vo(ne(t))];!l&&i&&(l=n[r=Vo(me(t))]),l&&we(l,e,6,s);const p=n[r+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,we(p,e,6,s)}}const Nr=new WeakMap;function Gs(e,t,o=!1){const n=o?Nr:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const i=e.emits;let a={},r=!1;if(!E(e)){const l=p=>{const d=Gs(p,t,!0);d&&(r=!0,Q(a,d))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!r?(U(e)&&n.set(e,null),null):(A(i)?i.forEach(l=>a[l]=null):Q(a,i),U(e)&&n.set(e,a),a)}function yo(e,t){return!e||!Yt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,me(t))||H(e,t))}function ou(){}function Ys(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[i],slots:a,attrs:r,emit:l,render:p,renderCache:d,props:f,data:k,setupState:y,ctx:W,inheritAttrs:F}=e,ee=ho(e);let X,D;try{if(o.shapeFlag&4){const P=s||n,oe=P;X=Ne(p.call(oe,P,d,f,y,k,W)),D=r}else{const P=t;X=Ne(P.length>1?P(f,{attrs:r,slots:a,emit:l}):P(f,null)),D=t.props?r:Er(r)}}catch(P){Ke.length=0,uo(P,e,1),X=ve(Pe)}let z=X;if(D&&F!==!1){const P=Object.keys(D),{shapeFlag:oe}=z;P.length&&oe&7&&(i&&P.some(Jt)&&(D=Fr(D,i)),z=bt(z,D,!1,!0))}if(o.dirs&&(z=bt(z,null,!1,!0),z.dirs=z.dirs?z.dirs.concat(o.dirs):o.dirs),o.transition){const P=$o(z.type)&&As(z)||z;un(P,o.transition)}return X=z,ho(ee),X}const Er=e=>{let t;for(const o in e)(o==="class"||o==="style"||Yt(o))&&((t||(t={}))[o]=e[o]);return t},Fr=(e,t)=>{const o={};for(const n in e)(!Jt(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function Ir(e,t,o){const{props:n,children:s,component:i}=e,{props:a,children:r,patchFlag:l}=t,p=i.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Js(n,a,p):!!a;if(l&8){const d=t.dynamicProps;for(let f=0;fObject.create(Zs),ei=e=>Object.getPrototypeOf(e)===Zs;function Dr(e,t,o,n=!1){const s={},i=Qs();e.propsDefaults=Object.create(null),ti(e,t,s,i);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);o?e.props=n?s:za(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Hr(e,t,o,n){const{props:s,attrs:i,vnode:{patchFlag:a}}=e,r=R(s),[l]=e.propsOptions;let p=!1;if((n||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[k,y]=oi(f,t,!0);Q(a,k),y&&r.push(...y)};!o&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return U(e)&&n.set(e,rt),rt;if(A(i))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",_n=e=>A(e)?e.map(Ne):[Ne(e)],Ur=(e,t,o)=>{if(t._n)return t;const n=ht((...s)=>_n(t(...s)),o);return n._c=!1,n},si=(e,t,o)=>{const n=e._ctx;for(const s in e){if(yn(s))continue;const i=e[s];if(E(i))t[s]=Ur(s,i,n);else if(i!=null){const a=_n(i);t[s]=()=>a}}},ii=(e,t)=>{const o=_n(t);e.slots.default=()=>o},ai=(e,t,o)=>{for(const n in t)(o||!yn(n))&&(e[n]=t[n])},zr=(e,t,o)=>{const n=e.slots=Qs();if(e.vnode.shapeFlag&32){const s=t._;s?(ai(n,t,o),o&&Gn(n,"_",s,!0)):si(t,n)}else t&&ii(e,t)},Br=(e,t,o)=>{const{vnode:n,slots:s}=e;let i=!0,a=j;if(n.shapeFlag&32){const r=t._;r?o&&r===1?i=!1:ai(s,t,o):(i=!t.$stable,si(t,s)),a=t}else t&&(ii(e,t),a={default:1});if(i)for(const r in s)!yn(r)&&a[r]==null&&delete s[r]},fe=Gr;function jr(e){return Vr(e)}function Vr(e,t){const o=oo();o.__VUE__=!0;const{insert:n,remove:s,patchProp:i,createElement:a,createText:r,createComment:l,setText:p,setElementText:d,parentNode:f,nextSibling:k,setScopeId:y=xe,insertStaticContent:W}=e,F=(c,u,h,b=null,m=null,g=null,x=void 0,w=null,_=!!u.dynamicChildren)=>{if(c===u)return;c&&!Dt(c,u)&&(b=Uo(c),Re(c,m,g,!0),c=null),u.patchFlag===-2&&(_=!1,u.dynamicChildren=null);const{type:$,ref:O,shapeFlag:S}=u;switch($){case _o:ee(c,u,h,b);break;case Pe:X(c,u,h,b);break;case xn:c==null&&D(u,h,b,x);break;case Y:Do(c,u,h,b,m,g,x,w,_);break;default:S&1?oe(c,u,h,b,m,g,x,w,_):S&6?Ho(c,u,h,b,m,g,x,w,_):(S&64||S&128)&&$.process(c,u,h,b,m,g,x,w,_,qt)}O!=null&&m?At(O,c&&c.ref,g,u||c,!u):O==null&&c&&c.ref!=null&&At(c.ref,null,g,c,!0)},ee=(c,u,h,b)=>{if(c==null)n(u.el=r(u.children),h,b);else{const m=u.el=c.el;u.children!==c.children&&p(m,u.children)}},X=(c,u,h,b)=>{c==null?n(u.el=l(u.children||""),h,b):u.el=c.el},D=(c,u,h,b)=>{[c.el,c.anchor]=W(c.children,u,h,b,c.el,c.anchor)},z=({el:c,anchor:u},h,b)=>{let m;for(;c&&c!==u;)m=k(c),n(c,h,b),c=m;n(u,h,b)},P=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=k(c),s(c),c=h;s(u)},oe=(c,u,h,b,m,g,x,w,_)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)Fe(u,h,b,m,g,x,w,_);else{const $=c.el&&c.el._isVueCE?c.el:null;try{$&&$._beginPatch(),Ro(c,u,m,g,x,w,_)}finally{$&&$._endPatch()}}},Fe=(c,u,h,b,m,g,x,w)=>{let _,$;const{props:O,shapeFlag:S,transition:C,dirs:N}=c;if(_=c.el=a(c.type,g,O&&O.is,O),S&8?d(_,c.children):S&16&&Ze(c.children,_,null,b,m,wn(c,g),x,w),N&&ot(c,null,b,"created"),Ie(_,c,c.scopeId,x,b),O){for(const K in O)K!=="value"&&!wt(K)&&i(_,K,null,O[K],g,b);"value"in O&&i(_,"value",null,O.value,g),($=O.onVnodeBeforeMount)&&Ee($,b,c)}N&&ot(c,null,b,"beforeMount");const I=Kr(m,C);I&&C.beforeEnter(_),n(_,u,h),(($=O&&O.onVnodeMounted)||I||N)&&fe(()=>{try{$&&Ee($,b,c),I&&C.enter(_),N&&ot(c,null,b,"mounted")}finally{}},m)},Ie=(c,u,h,b,m)=>{if(h&&y(c,h),b)for(let g=0;g{for(let $=_;${const w=u.el=c.el;let{patchFlag:_,dynamicChildren:$,dirs:O}=u;_|=c.patchFlag&16;const S=c.props||j,C=u.props||j;let N;if(h&&nt(h,!1),(N=C.onVnodeBeforeUpdate)&&Ee(N,h,u,c),O&&ot(u,c,h,"beforeUpdate"),h&&nt(h,!0),$&&(!c.dynamicChildren||c.dynamicChildren.length!==$.length)&&(_=0,x=!1,$=null),(S.innerHTML&&C.innerHTML==null||S.textContent&&C.textContent==null)&&d(w,""),$?st(c.dynamicChildren,$,w,h,b,wn(u,m),g):x||G(c,u,w,null,h,b,wn(u,m),g,!1),_>0){if(_&16)Vt(w,S,C,h,m);else if(_&2&&S.class!==C.class&&i(w,"class",null,C.class,m),_&4&&i(w,"style",S.style,C.style,m),_&8){const I=u.dynamicProps;for(let K=0;K{N&&Ee(N,h,u,c),O&&ot(u,c,h,"updated")},b)},st=(c,u,h,b,m,g,x)=>{for(let w=0;w{if(u!==h){if(u!==j)for(const g in u)!wt(g)&&!(g in h)&&i(c,g,u[g],null,m,b);for(const g in h){if(wt(g))continue;const x=h[g],w=u[g];x!==w&&g!=="value"&&i(c,g,w,x,m,b)}"value"in h&&i(c,"value",u.value,h.value,m)}},Do=(c,u,h,b,m,g,x,w,_)=>{const $=u.el=c?c.el:r(""),O=u.anchor=c?c.anchor:r("");let{patchFlag:S,dynamicChildren:C,slotScopeIds:N}=u;N&&(w=w?w.concat(N):N),c==null?(n($,h,b),n(O,h,b),Ze(u.children||[],h,O,m,g,x,w,_)):S>0&&S&64&&C&&c.dynamicChildren&&c.dynamicChildren.length===C.length?(st(c.dynamicChildren,C,h,m,g,x,w),(u.key!=null||m&&u===m.subTree)&&ri(c,u,!0)):G(c,u,h,O,m,g,x,w,_)},Ho=(c,u,h,b,m,g,x,w,_)=>{u.slotScopeIds=w,c==null?u.shapeFlag&512?m.ctx.activate(u,h,b,x,_):zn(u,h,b,m,g,x,_):ra(c,u,_)},zn=(c,u,h,b,m,g,x)=>{const w=c.component=el(c,b,m);if(fn(c)&&(w.ctx.renderer=qt),tl(w,!1,x),w.asyncDep){if(m&&m.registerDep(w,ue,x),!c.el){const _=w.subTree=ve(Pe);X(null,_,u,h),c.placeholder=_.el}}else ue(w,c,u,h,m,g,x)},ra=(c,u,h)=>{const b=u.component=c.component;if(Ir(c,u,h))if(b.asyncDep&&!b.asyncResolved){Z(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},ue=(c,u,h,b,m,g,x)=>{const w=()=>{if(c.isMounted){let{next:S,bu:C,u:N,parent:I,vnode:K}=c;{const He=li(c);if(He){S&&(S.el=K.el,Z(c,S,x)),He.asyncDep.then(()=>{fe(()=>{c.isUnmounted||$()},m)});return}}let B=S,te;nt(c,!1),S?(S.el=K.el,Z(c,S,x)):S=K,C&&to(C),(te=S.props&&S.props.onVnodeBeforeUpdate)&&Ee(te,I,S,K),nt(c,!0);const re=Ys(c),De=c.subTree;c.subTree=re,F(De,re,f(De.el),Uo(De),c,m,g),S.el=re.el,B===null&&Rr(c,re.el),N&&fe(N,m),(te=S.props&&S.props.onVnodeUpdated)&&fe(()=>Ee(te,I,S,K),m)}else{let S;const{el:C,props:N}=u,{bm:I,m:K,parent:B,root:te,type:re}=c,De=$t(u);nt(c,!1),I&&to(I),!De&&(S=N&&N.onVnodeBeforeMount)&&Ee(S,B,u),nt(c,!0);{te.ce&&te.ce._hasShadowRoot()&&te.ce._injectChildStyle(re,c.parent?c.parent.type:void 0);const He=c.subTree=Ys(c);F(null,He,h,b,c,m,g),u.el=He.el}if(K&&fe(K,m),!De&&(S=N&&N.onVnodeMounted)){const He=u;fe(()=>Ee(S,B,He),m)}(u.shapeFlag&256||B&&$t(B.vnode)&&B.vnode.shapeFlag&256)&&c.a&&fe(c.a,m),c.isMounted=!0,u=h=b=null}};c.scope.on();const _=c.effect=new ts(w);c.scope.off();const $=c.update=_.run.bind(_),O=c.job=_.runIfDirty.bind(_);O.i=c,O.id=c.uid,_.scheduler=()=>pn(O),nt(c,!0),$()},Z=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,Hr(c,u.props,b,h),Br(c,u.children,h),Me(),Ms(c),Le()},G=(c,u,h,b,m,g,x,w,_=!1)=>{const $=c&&c.children,O=c?c.shapeFlag:0,S=u.children,{patchFlag:C,shapeFlag:N}=u;if(C>0){if(C&128){Wo($,S,h,b,m,g,x,w,_);return}else if(C&256){it($,S,h,b,m,g,x,w,_);return}}N&8?(O&16&&Kt($,m,g),S!==$&&d(h,S)):O&16?N&16?Wo($,S,h,b,m,g,x,w,_):Kt($,m,g,!0):(O&8&&d(h,""),N&16&&Ze(S,h,b,m,g,x,w,_))},it=(c,u,h,b,m,g,x,w,_)=>{c=c||rt,u=u||rt;const $=c.length,O=u.length,S=Math.min($,O);let C;for(C=0;CO?Kt(c,m,g,!0,!1,S):Ze(u,h,b,m,g,x,w,_,S)},Wo=(c,u,h,b,m,g,x,w,_)=>{let $=0;const O=u.length;let S=c.length-1,C=O-1;for(;$<=S&&$<=C;){const N=c[$],I=u[$]=_?qe(u[$]):Ne(u[$]);if(Dt(N,I))F(N,I,h,null,m,g,x,w,_);else break;$++}for(;$<=S&&$<=C;){const N=c[S],I=u[C]=_?qe(u[C]):Ne(u[C]);if(Dt(N,I))F(N,I,h,null,m,g,x,w,_);else break;S--,C--}if($>S){if($<=C){const N=C+1,I=NC)for(;$<=S;)Re(c[$],m,g,!0),$++;else{const N=$,I=$,K=new Map;for($=I;$<=C;$++){const $e=u[$]=_?qe(u[$]):Ne(u[$]);$e.key!=null&&K.set($e.key,$)}let B,te=0;const re=C-I+1;let De=!1,He=0;const Gt=new Array(re);for($=0;$=re){Re($e,m,g,!0);continue}let We;if($e.key!=null)We=K.get($e.key);else for(B=I;B<=C;B++)if(Gt[B-I]===0&&Dt($e,u[B])){We=B;break}We===void 0?Re($e,m,g,!0):(Gt[We-I]=$+1,We>=He?He=We:De=!0,F($e,u[We],h,null,m,g,x,w,_),te++)}const pa=De?qr(Gt):rt;for(B=pa.length-1,$=re-1;$>=0;$--){const $e=I+$,We=u[$e],da=u[$e+1],ua=$e+1{const{el:g,type:x,transition:w,children:_,shapeFlag:$}=c;if($&6){at(c.component.subTree,u,h,b);return}if($&128){c.suspense.move(u,h,b);return}if($&64){x.move(c,u,h,qt);return}if(x===Y){n(g,u,h);for(let S=0;S<_.length;S++)at(_[S],u,h,b);n(c.anchor,u,h);return}if(x===xn){z(c,u,h);return}if(b!==2&&$&1&&w)if(b===0)w.persisted&&!g[dn]?n(g,u,h):(w.beforeEnter(g),n(g,u,h),fe(()=>w.enter(g),m));else{const{leave:S,delayLeave:C,afterLeave:N}=w,I=()=>{c.ctx.isUnmounted?s(g):n(g,u,h)},K=()=>{const B=g._isLeaving||!!g[dn];g._isLeaving&&g[dn](!0),w.persisted&&!B?I():S(g,()=>{I(),N&&N()})};C?C(g,I,K):K()}else n(g,u,h)},Re=(c,u,h,b=!1,m=!1)=>{const{type:g,props:x,ref:w,children:_,dynamicChildren:$,shapeFlag:O,patchFlag:S,dirs:C,cacheIndex:N,memo:I}=c;if(S===-2&&(m=!1),w!=null&&(Me(),At(w,null,h,c,!0),Le()),N!=null&&(u.renderCache[N]=void 0),O&256){u.ctx.deactivate(c);return}const K=O&1&&C,B=!$t(c);let te;if(B&&(te=x&&x.onVnodeBeforeUnmount)&&Ee(te,u,c),O&6)Zd(c.component,h,b);else{if(O&128){c.suspense.unmount(h,b);return}K&&ot(c,null,u,"beforeUnmount"),O&64?c.type.remove(c,u,h,qt,b):$&&!$.hasOnce&&(g!==Y||S>0&&S&64)?Kt($,u,h,!1,!0):(g===Y&&S&384||!m&&O&16)&&Kt(_,u,h),b&&la(c)}const re=I!=null&&N==null;(B&&(te=x&&x.onVnodeUnmounted)||K||re)&&fe(()=>{te&&Ee(te,u,c),K&&ot(c,null,u,"unmounted"),re&&(c.el=null)},h)},la=c=>{const{type:u,el:h,anchor:b,transition:m}=c;if(u===Y){Xd(h,b);return}if(u===xn){P(c);return}const g=()=>{s(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:x,delayLeave:w}=m,_=()=>x(h,g);w?w(c.el,g,_):_()}else g()},Xd=(c,u)=>{let h;for(;c!==u;)h=k(c),s(c),c=h;s(u)},Zd=(c,u,h)=>{const{bum:b,scope:m,job:g,subTree:x,um:w,m:_,a:$}=c;ci(_),ci($),b&&to(b),m.stop(),g&&(g.flags|=8,Re(x,c,u,h)),w&&fe(w,u),fe(()=>{c.isUnmounted=!0},u)},Kt=(c,u,h,b=!1,m=!1,g=0)=>{for(let x=g;x{if(c.shapeFlag&6)return Uo(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=k(c.anchor||c.el),h=u&&u[lr];return h?k(h):u};let Bn=!1;const ca=(c,u,h)=>{let b;c==null?u._vnode&&(Re(u._vnode,null,null,!0),b=u._vnode.component):F(u._vnode||null,c,u,null,null,null,h),u._vnode=c,Bn||(Bn=!0,Ms(b),Ls(),Bn=!1)},qt={p:F,um:Re,m:at,r:la,mt:zn,mc:Ze,pc:G,pbc:st,n:Uo,o:e};return{render:ca,hydrate:void 0,createApp:Or(ca)}}function wn({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function nt({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Kr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ri(e,t,o=!1){const n=e.children,s=t.children;if(A(n)&&A(s))for(let i=0;i>1,e[o[r]]0&&(t[n]=o[i-1]),o[i]=n)}}for(i=o.length,a=o[i-1];i-- >0;)o[i]=a,a=t[a];return o}function li(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:li(t)}function ci(e){if(e)for(let t=0;te.__isSuspense;function Gr(e,t){t&&t.pendingBranch?A(e)?t.effects.push(...e):t.effects.push(e):nr(e)}const Y=Symbol.for("v-fgt"),_o=Symbol.for("v-txt"),Pe=Symbol.for("v-cmt"),xn=Symbol.for("v-stc"),Ke=[];let ge=null;function M(e=!1){Ke.push(ge=e?null:[])}function Sn(){Ke.pop(),ge=Ke[Ke.length-1]||null}let It=1;function ui(e,t=!1){It+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function fi(e){return e.dynamicChildren=It>0?ge||rt:null,Sn(),It>0&&ge&&ge.push(e),e}function L(e,t,o,n,s,i){return fi(v(e,t,o,n,s,i,!0))}function Rt(e,t,o,n,s){return fi(ve(e,t,o,n,s,!0))}function Mn(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const hi=({key:e})=>e??null,wo=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||ie(e)||E(e)?{i:ae,r:e,k:t,f:!!o}:e:null);function v(e,t=null,o=null,n=0,s=null,i=e===Y?0:1,a=!1,r=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hi(t),ref:t&&wo(t),scopeId:Cs,slotScopeIds:null,children:o,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:i,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ae};return r?(xo(l,o),i&128&&e.normalize(l)):o&&(l.shapeFlag|=J(o)?8:16),It>0&&!a&&ge&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ge.push(l),l}const ve=Yr;function Yr(e,t=null,o=null,n=0,s=null,i=!1){if((!e||e===yr)&&(e=Pe),Mn(e)){const r=bt(e,t,!0);return o&&xo(r,o),It>0&&!i&&ge&&(r.shapeFlag&6?ge[ge.indexOf(e)]=r:ge.push(r)),r.patchFlag=-2,r}if(rl(e)&&(e=e.__vccOpts),t){t=Jr(t);let{class:r,style:l}=t;r&&!J(r)&&(t.class=he(r)),U(l)&&(ln(l)&&!A(l)&&(l=Q({},l)),t.style=lt(l))}const a=J(e)?1:di(e)?128:$o(e)?64:U(e)?4:E(e)?2:0;return v(e,t,o,n,s,a,i,!0)}function Jr(e){return e?ln(e)||ei(e)?Q({},e):e:null}function bt(e,t,o=!1,n=!1){const{props:s,ref:i,patchFlag:a,children:r,transition:l}=e,p=t?Xr(s||{},t):s,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&hi(p),ref:t&&t.ref?o&&i?A(i)?i.concat(wo(t)):[i,wo(t)]:wo(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Y?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,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};return l&&n&&un(d,l.clone(d)),d}function Ae(e=" ",t=0){return ve(_o,null,e,t)}function V(e="",t=!1){return t?(M(),Rt(Pe,null,e)):ve(Pe,null,e)}function Ne(e){return e==null||typeof e=="boolean"?ve(Pe):A(e)?ve(Y,null,e.slice()):Mn(e)?qe(e):ve(_o,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function xo(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(A(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),xo(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!ei(t)?t._ctx=ae:s===3&&ae&&(ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(E(t)){if(n&65){xo(e,{default:t});return}t={default:t,_ctx:ae},o=32}else t=String(t),n&64?(o=16,t=[Ae(t)]):o=8;e.children=t,e.shapeFlag|=o}function Xr(...e){const t={};for(let o=0;oce||ae;let So,Ht;{const e=oo(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),i=>{s.length>1?s.forEach(a=>a(i)):s[0](i)}};So=t("__VUE_INSTANCE_SETTERS__",o=>ce=o),Ht=t("__VUE_SSR_SETTERS__",o=>Ut=o)}const Wt=e=>{const t=ce;return So(e),e.scope.on(),()=>{e.scope.off(),So(t)}},$i=()=>{ce&&ce.scope.off(),So(null)};function mi(e){return e.vnode.shapeFlag&4}let Ut=!1;function tl(e,t=!1,o=!1){t&&Ht(t);const{props:n,children:s}=e.vnode,i=mi(e);Dr(e,n,i,t),zr(e,s,o||t);const a=i?ol(e,t):void 0;return t&&Ht(!1),a}function ol(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wr);const{setup:n}=o;if(n){Me();const s=e.setupContext=n.length>1?sl(e):null,i=Wt(e),a=dt(n,e,0,[e.props,s]),r=Kn(a);if(Le(),i(),(r||e.sp)&&!$t(e)&&Ns(e),r){if(a.then($i,$i),t)return a.then(l=>{Ht(!0);try{bi(e,l,t)}finally{Ht(!1)}}).catch(l=>{uo(l,e,0)});e.asyncDep=a}else bi(e,a)}else vi(e)}function bi(e,t,o){E(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:U(t)&&(e.setupState=ys(t)),vi(e)}function vi(e,t,o){const n=e.type;e.render||(e.render=n.render||xe);{const s=Wt(e);Me();try{xr(e)}finally{Le(),s()}}}const nl={get(e,t){return le(e,"get",""),e[t]}};function sl(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,nl),slots:e.slots,emit:e.emit,expose:t}}function Mo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ys(Ba(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Et)return Et[o](e)},has(t,o){return o in t||o in Et}})):e.proxy}const il=/(?:^|[-_])\w/g,al=e=>e.replace(il,t=>t.toUpperCase()).replace(/[-_]/g,"");function ki(e,t=!0){return E(e)?e.displayName||e.name:e.name||t&&e.__name}function yi(e,t,o=!1){let n=ki(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=i=>{for(const a in i)if(i[a]===t)return a};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?al(n):o?"App":"Anonymous"}function rl(e){return E(e)&&"__vccOpts"in e}const _i=(e,t)=>Ga(e,t,Ut),ll="3.5.42";/** +`],...Qa(o))}),t}function Qa({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${yi(e.component,e.type,n)}`,i=">"+o;return e.props?[s,...er(e.props),i]:[s+i]}function er(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(..._s(n,e[n]))}),o.length>3&&t.push(" ..."),t}function _s(e,t,o){return J(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ie(t)?(t=_s(e,R(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):E(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=R(t),o?t:[`${e}=`,t])}function dt(e,t,o,n){try{return n?e(...n):e()}catch(s){uo(s,t,o)}}function xe(e,t,o,n){if(E(e)){const s=dt(e,t,o,n);return s&&Kn(s)&&s.catch(i=>{uo(i,t,o)}),s}if(A(e)){const s=[];for(let i=0;i>>1,s=pe[n],i=Ot(s);i=Ot(o)?pe.push(e):pe.splice(or(t),0,e),e.flags|=1,Ss()}}function Ss(){fo||(fo=xs.then(Ts))}function nr(e){if(!A(e))Je&&e.id===-1?Je.splice(ft+1,0,e):e.flags&1||(ut.push(e),e.flags|=1);else for(let t=0;tOt(o)-Ot(n));if(ut.length=0,Je){for(let o=0;oe.id==null?e.flags&2?-1:1/0:e.id;function Ts(e){try{for(Ce=0;Ce{n._d&&ui(-1);const i=ho(t),a=Ke.length;let r;try{r=e(...s)}finally{for(let l=Ke.length;l>a;l--)Sn();ho(i),n._d&&ui(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function gt(e,t){if(ae===null)return e;const o=Mo(ae),n=e.dirs||(e.dirs=[]);for(let s=0;s1)return o&&E(t)?t.call(n&&n.proxy):t}}const ir=Symbol.for("v-scx"),ar=()=>Pt(ir);function go(e,t,o){return Os(e,t,o)}function Os(e,t,o=j){const{immediate:n,deep:s,flush:i,once:a}=o,r=Q({},o),l=t&&n||!t&&i!=="post";let p;if(Ut){if(i==="sync"){const y=ar();p=y.__watcherHandles||(y.__watcherHandles=[])}else if(!l){const y=()=>{};return y.stop=we,y.resume=we,y.pause=we,y}}const d=ce;r.call=(y,W,F)=>xe(y,d,W,F);let f=!1;i==="post"?r.scheduler=y=>{fe(y,d&&d.suspense)}:i!=="sync"&&(f=!0,r.scheduler=(y,W)=>{W?y():pn(y)}),r.augmentJob=y=>{t&&(y.flags|=4),f&&(y.flags|=2,d&&(y.id=d.uid,y.i=d))};const k=Ja(e,t,r);return Ut&&(p?p.push(k):l&&k()),k}function rr(e,t,o){const n=this.proxy,s=J(e)?e.includes(".")?Ps(n,e):()=>n[e]:e.bind(n,n);let i;E(t)?i=t:(i=t.handler,o=t);const a=Wt(this),r=Os(s,i.bind(n),o);return a(),r}function Ps(e,t){const o=t.split(".");return()=>{let n=e;for(let s=0;se.__isTeleport,dn=Symbol("_leaveCb");function cr(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==Pe){t=o;break}}return t}function As(e){if(!fn(e))return $o(e.type)&&e.children?cr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&E(o.default))return o.default()}}function un(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;un($o(o.type)&&As(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mo(e,t){return E(e)?Q({name:e.name},t,{setup:e}):e}function Ns(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Es(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const bo=new WeakMap;function At(e,t,o,n,s=!1){if(A(e)){e.forEach((F,ee)=>At(F,t&&(A(t)?t[ee]:t),o,n,s));return}if($t(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&At(e,t,o,n.component.subTree);return}const i=n.shapeFlag&4?Mo(n.component):n.el,a=s?null:i,{i:r,r:l}=e,p=t&&t.r,d=r.refs===j?r.refs={}:r.refs,f=r.setupState,k=R(f),y=f===j?jn:F=>Es(d,F)?!1:H(k,F),W=(F,ee)=>!(ee&&Es(d,ee));if(p!=null&&p!==l){if(Fs(t),J(p))d[p]=null,y(p)&&(f[p]=null);else if(ie(p)){const F=t;W(p,F.k)&&(p.value=null),F.k&&(d[F.k]=null)}}if(E(l))dt(l,r,12,[a,d]);else{const F=J(l),ee=ie(l);if(F||ee){const X=()=>{if(e.f){const D=F?y(l)?f[l]:d[l]:W()||!e.k?l.value:d[e.k];if(s)A(D)&&Bo(D,i);else if(A(D))D.includes(i)||D.push(i);else if(F)d[l]=[i],y(l)&&(f[l]=d[l]);else{const z=[i];W(l,e.k)&&(l.value=z),e.k&&(d[e.k]=z)}}else F?(d[l]=a,y(l)&&(f[l]=a)):ee&&(W(l,e.k)&&(l.value=a),e.k&&(d[e.k]=a))};if(a){const D=()=>{X(),bo.delete(e)};D.id=-1,bo.set(e,D),fe(D,o)}else Fs(e),X()}}}function Fs(e){const t=bo.get(e);t&&(t.flags|=8,bo.delete(e))}oo().requestIdleCallback,oo().cancelIdleCallback;const $t=e=>!!e.type.__asyncLoader,fn=e=>e.type.__isKeepAlive;function pr(e,t){Is(e,"a",t)}function dr(e,t){Is(e,"da",t)}function Is(e,t,o=ce){const n=e.__wdc||(e.__wdc=()=>{let s=o;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(vo(t,n,o),o){let s=o.parent;for(;s&&s.parent;)fn(s.parent.vnode)&&ur(n,t,o,s),s=s.parent}}function ur(e,t,o,n){const s=vo(t,e,n,!0);Ds(()=>{Bo(n[t],s)},o)}function vo(e,t,o=ce,n=!1){if(o){const s=o[e]||(o[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Me();const r=Wt(o),l=xe(t,o,e,a);return r(),Le(),l});return n?s.unshift(i):s.push(i),i}}const Ve=e=>(t,o=ce)=>{(!Ut||e==="sp")&&vo(e,(...n)=>t(...n),o)},fr=Ve("bm"),hn=Ve("m"),hr=Ve("bu"),gr=Ve("u"),Rs=Ve("bum"),Ds=Ve("um"),$r=Ve("sp"),mr=Ve("rtg"),br=Ve("rtc");function vr(e,t=ce){vo("ec",e,t)}const kr="components";function gn(e,t){return _r(kr,e,!0,t)||e}const yr=Symbol.for("v-ndc");function _r(e,t,o=!0,n=!1){const s=ae||ce;if(s){const i=s.type;{const r=ki(i,!1);if(r&&(r===t||r===ne(t)||r===eo(ne(t))))return i}const a=Hs(s[e]||i[e],t)||Hs(s.appContext[e],t);return!a&&n?i:a}}function Hs(e,t){return e&&(e[t]||e[ne(t)]||e[eo(ne(t))])}function Oe(e,t,o,n){let s;const i=o,a=A(e);if(a||J(e)){const r=a&&et(e);let l=!1,p=!1;r&&(l=!be(e),p=Be(e),e=so(e)),s=new Array(e.length);for(let d=0,f=e.length;dt(r,l,void 0,i));else{const r=Object.keys(e);s=new Array(r.length);for(let l=0,p=r.length;l0;return t!=="default"&&(p.name=t),M(),Rt(Y,null,[ve("slot",p,n)],d?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const r=Ke.length;M();let l;try{const p=a&&Ws(a(o)),d=o.key||i||p&&p.key;l=Rt(Y,{key:(d&&!ke(d)?d:`_${t}`)+(!p&&n?"_fb":"")},p||(n?n():[]),p&&e._===1?64:-2)}catch(p){for(let d=Ke.length;d>r;d--)Sn();throw p}finally{a&&a._c&&(a._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Ws(e){return e.some(t=>Mn(t)?!(t.type===Pe||t.type===Y&&!Ws(t.children)):!0)?e:null}const $n=e=>e?mi(e)?Mo(e):$n(e.parent):null,Et=Q(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=>$n(e.parent),$root:e=>$n(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>js(e),$forceUpdate:e=>e.f||(e.f=()=>{pn(e.update)}),$nextTick:e=>e.n||(e.n=ws.bind(e.proxy)),$watch:e=>rr.bind(e)}),mn=(e,t)=>e!==j&&!e.__isScriptSetup&&H(e,t),xr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:s,props:i,accessCache:a,type:r,appContext:l}=e;if(t[0]!=="$"){const k=a[t];if(k!==void 0)switch(k){case 1:return n[t];case 2:return s[t];case 4:return o[t];case 3:return i[t]}else{if(mn(n,t))return a[t]=1,n[t];if(s!==j&&H(s,t))return a[t]=2,s[t];if(H(i,t))return a[t]=3,i[t];if(o!==j&&H(o,t))return a[t]=4,o[t];bn&&(a[t]=0)}}const p=Et[t];let d,f;if(p)return t==="$attrs"&&le(e.attrs,"get",""),p(e);if((d=r.__cssModules)&&(d=d[t]))return d;if(o!==j&&H(o,t))return a[t]=4,o[t];if(f=l.config.globalProperties,H(f,t))return f[t]},set({_:e},t,o){const{data:n,setupState:s,ctx:i}=e;return mn(s,t)?(s[t]=o,!0):n!==j&&H(n,t)?(n[t]=o,!0):H(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:s,props:i,type:a}},r){let l;return!!(o[r]||e!==j&&r[0]!=="$"&&H(e,r)||mn(t,r)||H(i,r)||H(n,r)||H(Et,r)||H(s.config.globalProperties,r)||(l=a.__cssModules)&&l[r])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:H(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function Us(e){return A(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let bn=!0;function wr(e){const t=js(e),o=e.proxy,n=e.ctx;bn=!1,t.beforeCreate&&zs(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:a,watch:r,provide:l,inject:p,created:d,beforeMount:f,mounted:k,beforeUpdate:y,updated:W,activated:F,deactivated:ee,beforeDestroy:X,beforeUnmount:D,destroyed:z,unmounted:P,render:oe,renderTracked:Fe,renderTriggered:Ie,errorCaptured:Ze,serverPrefetch:Ro,expose:st,inheritAttrs:Vt,components:Do,directives:Ho,filters:zn}=t;if(p&&Sr(p,n,null),a)for(const Z in a){const G=a[Z];E(G)&&(n[Z]=G.bind(o))}if(s){const Z=s.call(o,o);U(Z)&&(e.data=an(Z))}if(bn=!0,i)for(const Z in i){const G=i[Z],it=E(G)?G.bind(o,o):E(G.get)?G.get.bind(o,o):we,Wo=!E(G)&&E(G.set)?G.set.bind(o):we,at=_i({get:it,set:Wo});Object.defineProperty(n,Z,{enumerable:!0,configurable:!0,get:()=>at.value,set:Re=>at.value=Re})}if(r)for(const Z in r)Bs(r[Z],n,o,Z);if(l){const Z=E(l)?l.call(o):l;Reflect.ownKeys(Z).forEach(G=>{sr(G,Z[G])})}d&&zs(d,e,"c");function ue(Z,G){A(G)?G.forEach(it=>Z(it.bind(o))):G&&Z(G.bind(o))}if(ue(fr,f),ue(hn,k),ue(hr,y),ue(gr,W),ue(pr,F),ue(dr,ee),ue(vr,Ze),ue(br,Fe),ue(mr,Ie),ue(Rs,D),ue(Ds,P),ue($r,Ro),A(st))if(st.length){const Z=e.exposed||(e.exposed={});st.forEach(G=>{Object.defineProperty(Z,G,{get:()=>o[G],set:it=>o[G]=it,enumerable:!0})})}else e.exposed||(e.exposed={});oe&&e.render===we&&(e.render=oe),Vt!=null&&(e.inheritAttrs=Vt),Do&&(e.components=Do),Ho&&(e.directives=Ho),Ro&&Ns(e)}function Sr(e,t,o=we){A(e)&&(e=vn(e));for(const n in e){const s=e[n];let i;U(s)?"default"in s?i=Pt(s.from||n,s.default,!0):i=Pt(s.from||n):i=Pt(s),ie(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function zs(e,t,o){xe(A(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function Bs(e,t,o,n){let s=n.includes(".")?Ps(o,n):()=>o[n];if(J(e)){const i=t[e];E(i)&&go(s,i)}else if(E(e))go(s,e.bind(o));else if(U(e))if(A(e))e.forEach(i=>Bs(i,t,o,n));else{const i=E(e.handler)?e.handler.bind(o):t[e.handler];E(i)&&go(s,i,e)}}function js(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,r=i.get(t);let l;return r?l=r:!s.length&&!o&&!n?l=t:(l={},s.length&&s.forEach(p=>ko(l,p,a,!0)),ko(l,t,a)),U(t)&&i.set(t,l),l}function ko(e,t,o,n=!1){const{mixins:s,extends:i}=t;i&&ko(e,i,o,!0),s&&s.forEach(a=>ko(e,a,o,!0));for(const a in t)if(!(n&&a==="expose")){const r=Mr[a]||o&&o[a];e[a]=r?r(e[a],t[a]):t[a]}return e}const Mr={data:Vs,props:Ks,emits:Ks,methods:Ft,computed:Ft,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:Ft,directives:Ft,watch:Tr,provide:Vs,inject:Lr};function Vs(e,t){return t?e?function(){return Q(E(e)?e.call(this,this):e,E(t)?t.call(this,this):t)}:t:e}function Lr(e,t){return Ft(vn(e),vn(t))}function vn(e){if(A(e)){const t={};for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ne(t)}Modifiers`]||e[`${me(t)}Modifiers`];function Ar(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||j;let s=o;const i=t.startsWith("update:"),a=i&&Pr(n,t.slice(7));a&&(a.trim&&(s=o.map(d=>J(d)?d.trim():d)),a.number&&(s=s.map(Ko)));let r,l=n[r=Vo(t)]||n[r=Vo(ne(t))];!l&&i&&(l=n[r=Vo(me(t))]),l&&xe(l,e,6,s);const p=n[r+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,xe(p,e,6,s)}}const Nr=new WeakMap;function Gs(e,t,o=!1){const n=o?Nr:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const i=e.emits;let a={},r=!1;if(!E(e)){const l=p=>{const d=Gs(p,t,!0);d&&(r=!0,Q(a,d))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!r?(U(e)&&n.set(e,null),null):(A(i)?i.forEach(l=>a[l]=null):Q(a,i),U(e)&&n.set(e,a),a)}function yo(e,t){return!e||!Yt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,me(t))||H(e,t))}function nu(){}function Ys(e){const{type:t,vnode:o,proxy:n,withProxy:s,propsOptions:[i],slots:a,attrs:r,emit:l,render:p,renderCache:d,props:f,data:k,setupState:y,ctx:W,inheritAttrs:F}=e,ee=ho(e);let X,D;try{if(o.shapeFlag&4){const P=s||n,oe=P;X=Ne(p.call(oe,P,d,f,y,k,W)),D=r}else{const P=t;X=Ne(P.length>1?P(f,{attrs:r,slots:a,emit:l}):P(f,null)),D=t.props?r:Er(r)}}catch(P){Ke.length=0,uo(P,e,1),X=ve(Pe)}let z=X;if(D&&F!==!1){const P=Object.keys(D),{shapeFlag:oe}=z;P.length&&oe&7&&(i&&P.some(Jt)&&(D=Fr(D,i)),z=bt(z,D,!1,!0))}if(o.dirs&&(z=bt(z,null,!1,!0),z.dirs=z.dirs?z.dirs.concat(o.dirs):o.dirs),o.transition){const P=$o(z.type)&&As(z)||z;un(P,o.transition)}return X=z,ho(ee),X}const Er=e=>{let t;for(const o in e)(o==="class"||o==="style"||Yt(o))&&((t||(t={}))[o]=e[o]);return t},Fr=(e,t)=>{const o={};for(const n in e)(!Jt(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function Ir(e,t,o){const{props:n,children:s,component:i}=e,{props:a,children:r,patchFlag:l}=t,p=i.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?Js(n,a,p):!!a;if(l&8){const d=t.dynamicProps;for(let f=0;fObject.create(Zs),ei=e=>Object.getPrototypeOf(e)===Zs;function Dr(e,t,o,n=!1){const s={},i=Qs();e.propsDefaults=Object.create(null),ti(e,t,s,i);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);o?e.props=n?s:za(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Hr(e,t,o,n){const{props:s,attrs:i,vnode:{patchFlag:a}}=e,r=R(s),[l]=e.propsOptions;let p=!1;if((n||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[k,y]=oi(f,t,!0);Q(a,k),y&&r.push(...y)};!o&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return U(e)&&n.set(e,rt),rt;if(A(i))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",_n=e=>A(e)?e.map(Ne):[Ne(e)],Ur=(e,t,o)=>{if(t._n)return t;const n=ht((...s)=>_n(t(...s)),o);return n._c=!1,n},si=(e,t,o)=>{const n=e._ctx;for(const s in e){if(yn(s))continue;const i=e[s];if(E(i))t[s]=Ur(s,i,n);else if(i!=null){const a=_n(i);t[s]=()=>a}}},ii=(e,t)=>{const o=_n(t);e.slots.default=()=>o},ai=(e,t,o)=>{for(const n in t)(o||!yn(n))&&(e[n]=t[n])},zr=(e,t,o)=>{const n=e.slots=Qs();if(e.vnode.shapeFlag&32){const s=t._;s?(ai(n,t,o),o&&Gn(n,"_",s,!0)):si(t,n)}else t&&ii(e,t)},Br=(e,t,o)=>{const{vnode:n,slots:s}=e;let i=!0,a=j;if(n.shapeFlag&32){const r=t._;r?o&&r===1?i=!1:ai(s,t,o):(i=!t.$stable,si(t,s)),a=t}else t&&(ii(e,t),a={default:1});if(i)for(const r in s)!yn(r)&&a[r]==null&&delete s[r]},fe=Gr;function jr(e){return Vr(e)}function Vr(e,t){const o=oo();o.__VUE__=!0;const{insert:n,remove:s,patchProp:i,createElement:a,createText:r,createComment:l,setText:p,setElementText:d,parentNode:f,nextSibling:k,setScopeId:y=we,insertStaticContent:W}=e,F=(c,u,h,v=null,m=null,g=null,w=void 0,x=null,_=!!u.dynamicChildren)=>{if(c===u)return;c&&!Dt(c,u)&&(v=Uo(c),Re(c,m,g,!0),c=null),u.patchFlag===-2&&(_=!1,u.dynamicChildren=null);const{type:$,ref:O,shapeFlag:S}=u;switch($){case _o:ee(c,u,h,v);break;case Pe:X(c,u,h,v);break;case wn:c==null&&D(u,h,v,w);break;case Y:Do(c,u,h,v,m,g,w,x,_);break;default:S&1?oe(c,u,h,v,m,g,w,x,_):S&6?Ho(c,u,h,v,m,g,w,x,_):(S&64||S&128)&&$.process(c,u,h,v,m,g,w,x,_,qt)}O!=null&&m?At(O,c&&c.ref,g,u||c,!u):O==null&&c&&c.ref!=null&&At(c.ref,null,g,c,!0)},ee=(c,u,h,v)=>{if(c==null)n(u.el=r(u.children),h,v);else{const m=u.el=c.el;u.children!==c.children&&p(m,u.children)}},X=(c,u,h,v)=>{c==null?n(u.el=l(u.children||""),h,v):u.el=c.el},D=(c,u,h,v)=>{[c.el,c.anchor]=W(c.children,u,h,v,c.el,c.anchor)},z=({el:c,anchor:u},h,v)=>{let m;for(;c&&c!==u;)m=k(c),n(c,h,v),c=m;n(u,h,v)},P=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=k(c),s(c),c=h;s(u)},oe=(c,u,h,v,m,g,w,x,_)=>{if(u.type==="svg"?w="svg":u.type==="math"&&(w="mathml"),c==null)Fe(u,h,v,m,g,w,x,_);else{const $=c.el&&c.el._isVueCE?c.el:null;try{$&&$._beginPatch(),Ro(c,u,m,g,w,x,_)}finally{$&&$._endPatch()}}},Fe=(c,u,h,v,m,g,w,x)=>{let _,$;const{props:O,shapeFlag:S,transition:C,dirs:N}=c;if(_=c.el=a(c.type,g,O&&O.is,O),S&8?d(_,c.children):S&16&&Ze(c.children,_,null,v,m,xn(c,g),w,x),N&&ot(c,null,v,"created"),Ie(_,c,c.scopeId,w,v),O){for(const K in O)K!=="value"&&!xt(K)&&i(_,K,null,O[K],g,v);"value"in O&&i(_,"value",null,O.value,g),($=O.onVnodeBeforeMount)&&Ee($,v,c)}N&&ot(c,null,v,"beforeMount");const I=Kr(m,C);I&&C.beforeEnter(_),n(_,u,h),(($=O&&O.onVnodeMounted)||I||N)&&fe(()=>{try{$&&Ee($,v,c),I&&C.enter(_),N&&ot(c,null,v,"mounted")}finally{}},m)},Ie=(c,u,h,v,m)=>{if(h&&y(c,h),v)for(let g=0;g{for(let $=_;${const x=u.el=c.el;let{patchFlag:_,dynamicChildren:$,dirs:O}=u;_|=c.patchFlag&16;const S=c.props||j,C=u.props||j;let N;if(h&&nt(h,!1),(N=C.onVnodeBeforeUpdate)&&Ee(N,h,u,c),O&&ot(u,c,h,"beforeUpdate"),h&&nt(h,!0),$&&(!c.dynamicChildren||c.dynamicChildren.length!==$.length)&&(_=0,w=!1,$=null),(S.innerHTML&&C.innerHTML==null||S.textContent&&C.textContent==null)&&d(x,""),$?st(c.dynamicChildren,$,x,h,v,xn(u,m),g):w||G(c,u,x,null,h,v,xn(u,m),g,!1),_>0){if(_&16)Vt(x,S,C,h,m);else if(_&2&&S.class!==C.class&&i(x,"class",null,C.class,m),_&4&&i(x,"style",S.style,C.style,m),_&8){const I=u.dynamicProps;for(let K=0;K{N&&Ee(N,h,u,c),O&&ot(u,c,h,"updated")},v)},st=(c,u,h,v,m,g,w)=>{for(let x=0;x{if(u!==h){if(u!==j)for(const g in u)!xt(g)&&!(g in h)&&i(c,g,u[g],null,m,v);for(const g in h){if(xt(g))continue;const w=h[g],x=u[g];w!==x&&g!=="value"&&i(c,g,x,w,m,v)}"value"in h&&i(c,"value",u.value,h.value,m)}},Do=(c,u,h,v,m,g,w,x,_)=>{const $=u.el=c?c.el:r(""),O=u.anchor=c?c.anchor:r("");let{patchFlag:S,dynamicChildren:C,slotScopeIds:N}=u;N&&(x=x?x.concat(N):N),c==null?(n($,h,v),n(O,h,v),Ze(u.children||[],h,O,m,g,w,x,_)):S>0&&S&64&&C&&c.dynamicChildren&&c.dynamicChildren.length===C.length?(st(c.dynamicChildren,C,h,m,g,w,x),(u.key!=null||m&&u===m.subTree)&&ri(c,u,!0)):G(c,u,h,O,m,g,w,x,_)},Ho=(c,u,h,v,m,g,w,x,_)=>{u.slotScopeIds=x,c==null?u.shapeFlag&512?m.ctx.activate(u,h,v,w,_):zn(u,h,v,m,g,w,_):ra(c,u,_)},zn=(c,u,h,v,m,g,w)=>{const x=c.component=el(c,v,m);if(fn(c)&&(x.ctx.renderer=qt),tl(x,!1,w),x.asyncDep){if(m&&m.registerDep(x,ue,w),!c.el){const _=x.subTree=ve(Pe);X(null,_,u,h),c.placeholder=_.el}}else ue(x,c,u,h,m,g,w)},ra=(c,u,h)=>{const v=u.component=c.component;if(Ir(c,u,h))if(v.asyncDep&&!v.asyncResolved){Z(v,u,h);return}else v.next=u,v.update();else u.el=c.el,v.vnode=u},ue=(c,u,h,v,m,g,w)=>{const x=()=>{if(c.isMounted){let{next:S,bu:C,u:N,parent:I,vnode:K}=c;{const He=li(c);if(He){S&&(S.el=K.el,Z(c,S,w)),He.asyncDep.then(()=>{fe(()=>{c.isUnmounted||$()},m)});return}}let B=S,te;nt(c,!1),S?(S.el=K.el,Z(c,S,w)):S=K,C&&to(C),(te=S.props&&S.props.onVnodeBeforeUpdate)&&Ee(te,I,S,K),nt(c,!0);const re=Ys(c),De=c.subTree;c.subTree=re,F(De,re,f(De.el),Uo(De),c,m,g),S.el=re.el,B===null&&Rr(c,re.el),N&&fe(N,m),(te=S.props&&S.props.onVnodeUpdated)&&fe(()=>Ee(te,I,S,K),m)}else{let S;const{el:C,props:N}=u,{bm:I,m:K,parent:B,root:te,type:re}=c,De=$t(u);nt(c,!1),I&&to(I),!De&&(S=N&&N.onVnodeBeforeMount)&&Ee(S,B,u),nt(c,!0);{te.ce&&te.ce._hasShadowRoot()&&te.ce._injectChildStyle(re,c.parent?c.parent.type:void 0);const He=c.subTree=Ys(c);F(null,He,h,v,c,m,g),u.el=He.el}if(K&&fe(K,m),!De&&(S=N&&N.onVnodeMounted)){const He=u;fe(()=>Ee(S,B,He),m)}(u.shapeFlag&256||B&&$t(B.vnode)&&B.vnode.shapeFlag&256)&&c.a&&fe(c.a,m),c.isMounted=!0,u=h=v=null}};c.scope.on();const _=c.effect=new ts(x);c.scope.off();const $=c.update=_.run.bind(_),O=c.job=_.runIfDirty.bind(_);O.i=c,O.id=c.uid,_.scheduler=()=>pn(O),nt(c,!0),$()},Z=(c,u,h)=>{u.component=c;const v=c.vnode.props;c.vnode=u,c.next=null,Hr(c,u.props,v,h),Br(c,u.children,h),Me(),Ms(c),Le()},G=(c,u,h,v,m,g,w,x,_=!1)=>{const $=c&&c.children,O=c?c.shapeFlag:0,S=u.children,{patchFlag:C,shapeFlag:N}=u;if(C>0){if(C&128){Wo($,S,h,v,m,g,w,x,_);return}else if(C&256){it($,S,h,v,m,g,w,x,_);return}}N&8?(O&16&&Kt($,m,g),S!==$&&d(h,S)):O&16?N&16?Wo($,S,h,v,m,g,w,x,_):Kt($,m,g,!0):(O&8&&d(h,""),N&16&&Ze(S,h,v,m,g,w,x,_))},it=(c,u,h,v,m,g,w,x,_)=>{c=c||rt,u=u||rt;const $=c.length,O=u.length,S=Math.min($,O);let C;for(C=0;CO?Kt(c,m,g,!0,!1,S):Ze(u,h,v,m,g,w,x,_,S)},Wo=(c,u,h,v,m,g,w,x,_)=>{let $=0;const O=u.length;let S=c.length-1,C=O-1;for(;$<=S&&$<=C;){const N=c[$],I=u[$]=_?qe(u[$]):Ne(u[$]);if(Dt(N,I))F(N,I,h,null,m,g,w,x,_);else break;$++}for(;$<=S&&$<=C;){const N=c[S],I=u[C]=_?qe(u[C]):Ne(u[C]);if(Dt(N,I))F(N,I,h,null,m,g,w,x,_);else break;S--,C--}if($>S){if($<=C){const N=C+1,I=NC)for(;$<=S;)Re(c[$],m,g,!0),$++;else{const N=$,I=$,K=new Map;for($=I;$<=C;$++){const $e=u[$]=_?qe(u[$]):Ne(u[$]);$e.key!=null&&K.set($e.key,$)}let B,te=0;const re=C-I+1;let De=!1,He=0;const Gt=new Array(re);for($=0;$=re){Re($e,m,g,!0);continue}let We;if($e.key!=null)We=K.get($e.key);else for(B=I;B<=C;B++)if(Gt[B-I]===0&&Dt($e,u[B])){We=B;break}We===void 0?Re($e,m,g,!0):(Gt[We-I]=$+1,We>=He?He=We:De=!0,F($e,u[We],h,null,m,g,w,x,_),te++)}const pa=De?qr(Gt):rt;for(B=pa.length-1,$=re-1;$>=0;$--){const $e=I+$,We=u[$e],da=u[$e+1],ua=$e+1{const{el:g,type:w,transition:x,children:_,shapeFlag:$}=c;if($&6){at(c.component.subTree,u,h,v);return}if($&128){c.suspense.move(u,h,v);return}if($&64){w.move(c,u,h,qt);return}if(w===Y){n(g,u,h);for(let S=0;S<_.length;S++)at(_[S],u,h,v);n(c.anchor,u,h);return}if(w===wn){z(c,u,h);return}if(v!==2&&$&1&&x)if(v===0)x.persisted&&!g[dn]?n(g,u,h):(x.beforeEnter(g),n(g,u,h),fe(()=>x.enter(g),m));else{const{leave:S,delayLeave:C,afterLeave:N}=x,I=()=>{c.ctx.isUnmounted?s(g):n(g,u,h)},K=()=>{const B=g._isLeaving||!!g[dn];g._isLeaving&&g[dn](!0),x.persisted&&!B?I():S(g,()=>{I(),N&&N()})};C?C(g,I,K):K()}else n(g,u,h)},Re=(c,u,h,v=!1,m=!1)=>{const{type:g,props:w,ref:x,children:_,dynamicChildren:$,shapeFlag:O,patchFlag:S,dirs:C,cacheIndex:N,memo:I}=c;if(S===-2&&(m=!1),x!=null&&(Me(),At(x,null,h,c,!0),Le()),N!=null&&(u.renderCache[N]=void 0),O&256){u.ctx.deactivate(c);return}const K=O&1&&C,B=!$t(c);let te;if(B&&(te=w&&w.onVnodeBeforeUnmount)&&Ee(te,u,c),O&6)Qd(c.component,h,v);else{if(O&128){c.suspense.unmount(h,v);return}K&&ot(c,null,u,"beforeUnmount"),O&64?c.type.remove(c,u,h,qt,v):$&&!$.hasOnce&&(g!==Y||S>0&&S&64)?Kt($,u,h,!1,!0):(g===Y&&S&384||!m&&O&16)&&Kt(_,u,h),v&&la(c)}const re=I!=null&&N==null;(B&&(te=w&&w.onVnodeUnmounted)||K||re)&&fe(()=>{te&&Ee(te,u,c),K&&ot(c,null,u,"unmounted"),re&&(c.el=null)},h)},la=c=>{const{type:u,el:h,anchor:v,transition:m}=c;if(u===Y){Zd(h,v);return}if(u===wn){P(c);return}const g=()=>{s(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:w,delayLeave:x}=m,_=()=>w(h,g);x?x(c.el,g,_):_()}else g()},Zd=(c,u)=>{let h;for(;c!==u;)h=k(c),s(c),c=h;s(u)},Qd=(c,u,h)=>{const{bum:v,scope:m,job:g,subTree:w,um:x,m:_,a:$}=c;ci(_),ci($),v&&to(v),m.stop(),g&&(g.flags|=8,Re(w,c,u,h)),x&&fe(x,u),fe(()=>{c.isUnmounted=!0},u)},Kt=(c,u,h,v=!1,m=!1,g=0)=>{for(let w=g;w{if(c.shapeFlag&6)return Uo(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=k(c.anchor||c.el),h=u&&u[lr];return h?k(h):u};let Bn=!1;const ca=(c,u,h)=>{let v;c==null?u._vnode&&(Re(u._vnode,null,null,!0),v=u._vnode.component):F(u._vnode||null,c,u,null,null,null,h),u._vnode=c,Bn||(Bn=!0,Ms(v),Ls(),Bn=!1)},qt={p:F,um:Re,m:at,r:la,mt:zn,mc:Ze,pc:G,pbc:st,n:Uo,o:e};return{render:ca,hydrate:void 0,createApp:Or(ca)}}function xn({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function nt({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Kr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ri(e,t,o=!1){const n=e.children,s=t.children;if(A(n)&&A(s))for(let i=0;i>1,e[o[r]]0&&(t[n]=o[i-1]),o[i]=n)}}for(i=o.length,a=o[i-1];i-- >0;)o[i]=a,a=t[a];return o}function li(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:li(t)}function ci(e){if(e)for(let t=0;te.__isSuspense;function Gr(e,t){t&&t.pendingBranch?A(e)?t.effects.push(...e):t.effects.push(e):nr(e)}const Y=Symbol.for("v-fgt"),_o=Symbol.for("v-txt"),Pe=Symbol.for("v-cmt"),wn=Symbol.for("v-stc"),Ke=[];let ge=null;function M(e=!1){Ke.push(ge=e?null:[])}function Sn(){Ke.pop(),ge=Ke[Ke.length-1]||null}let It=1;function ui(e,t=!1){It+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function fi(e){return e.dynamicChildren=It>0?ge||rt:null,Sn(),It>0&&ge&&ge.push(e),e}function L(e,t,o,n,s,i){return fi(b(e,t,o,n,s,i,!0))}function Rt(e,t,o,n,s){return fi(ve(e,t,o,n,s,!0))}function Mn(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const hi=({key:e})=>e??null,xo=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||ie(e)||E(e)?{i:ae,r:e,k:t,f:!!o}:e:null);function b(e,t=null,o=null,n=0,s=null,i=e===Y?0:1,a=!1,r=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hi(t),ref:t&&xo(t),scopeId:Cs,slotScopeIds:null,children:o,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:i,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ae};return r?(wo(l,o),i&128&&e.normalize(l)):o&&(l.shapeFlag|=J(o)?8:16),It>0&&!a&&ge&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ge.push(l),l}const ve=Yr;function Yr(e,t=null,o=null,n=0,s=null,i=!1){if((!e||e===yr)&&(e=Pe),Mn(e)){const r=bt(e,t,!0);return o&&wo(r,o),It>0&&!i&&ge&&(r.shapeFlag&6?ge[ge.indexOf(e)]=r:ge.push(r)),r.patchFlag=-2,r}if(rl(e)&&(e=e.__vccOpts),t){t=Jr(t);let{class:r,style:l}=t;r&&!J(r)&&(t.class=he(r)),U(l)&&(ln(l)&&!A(l)&&(l=Q({},l)),t.style=lt(l))}const a=J(e)?1:di(e)?128:$o(e)?64:U(e)?4:E(e)?2:0;return b(e,t,o,n,s,a,i,!0)}function Jr(e){return e?ln(e)||ei(e)?Q({},e):e:null}function bt(e,t,o=!1,n=!1){const{props:s,ref:i,patchFlag:a,children:r,transition:l}=e,p=t?Xr(s||{},t):s,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&hi(p),ref:t&&t.ref?o&&i?A(i)?i.concat(xo(t)):[i,xo(t)]:xo(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Y?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,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};return l&&n&&un(d,l.clone(d)),d}function Ae(e=" ",t=0){return ve(_o,null,e,t)}function V(e="",t=!1){return t?(M(),Rt(Pe,null,e)):ve(Pe,null,e)}function Ne(e){return e==null||typeof e=="boolean"?ve(Pe):A(e)?ve(Y,null,e.slice()):Mn(e)?qe(e):ve(_o,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function wo(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(A(t))o=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),wo(e,s()),s._c&&(s._d=!0));return}else{o=32;const s=t._;!s&&!ei(t)?t._ctx=ae:s===3&&ae&&(ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(E(t)){if(n&65){wo(e,{default:t});return}t={default:t,_ctx:ae},o=32}else t=String(t),n&64?(o=16,t=[Ae(t)]):o=8;e.children=t,e.shapeFlag|=o}function Xr(...e){const t={};for(let o=0;oce||ae;let So,Ht;{const e=oo(),t=(o,n)=>{let s;return(s=e[o])||(s=e[o]=[]),s.push(n),i=>{s.length>1?s.forEach(a=>a(i)):s[0](i)}};So=t("__VUE_INSTANCE_SETTERS__",o=>ce=o),Ht=t("__VUE_SSR_SETTERS__",o=>Ut=o)}const Wt=e=>{const t=ce;return So(e),e.scope.on(),()=>{e.scope.off(),So(t)}},$i=()=>{ce&&ce.scope.off(),So(null)};function mi(e){return e.vnode.shapeFlag&4}let Ut=!1;function tl(e,t=!1,o=!1){t&&Ht(t);const{props:n,children:s}=e.vnode,i=mi(e);Dr(e,n,i,t),zr(e,s,o||t);const a=i?ol(e,t):void 0;return t&&Ht(!1),a}function ol(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,xr);const{setup:n}=o;if(n){Me();const s=e.setupContext=n.length>1?sl(e):null,i=Wt(e),a=dt(n,e,0,[e.props,s]),r=Kn(a);if(Le(),i(),(r||e.sp)&&!$t(e)&&Ns(e),r){if(a.then($i,$i),t)return a.then(l=>{Ht(!0);try{bi(e,l,t)}finally{Ht(!1)}}).catch(l=>{uo(l,e,0)});e.asyncDep=a}else bi(e,a)}else vi(e)}function bi(e,t,o){E(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:U(t)&&(e.setupState=ys(t)),vi(e)}function vi(e,t,o){const n=e.type;e.render||(e.render=n.render||we);{const s=Wt(e);Me();try{wr(e)}finally{Le(),s()}}}const nl={get(e,t){return le(e,"get",""),e[t]}};function sl(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,nl),slots:e.slots,emit:e.emit,expose:t}}function Mo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ys(Ba(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Et)return Et[o](e)},has(t,o){return o in t||o in Et}})):e.proxy}const il=/(?:^|[-_])\w/g,al=e=>e.replace(il,t=>t.toUpperCase()).replace(/[-_]/g,"");function ki(e,t=!0){return E(e)?e.displayName||e.name:e.name||t&&e.__name}function yi(e,t,o=!1){let n=ki(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e){const s=i=>{for(const a in i)if(i[a]===t)return a};n=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return n?al(n):o?"App":"Anonymous"}function rl(e){return E(e)&&"__vccOpts"in e}const _i=(e,t)=>Ga(e,t,Ut),ll="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Ln;const wi=typeof window<"u"&&window.trustedTypes;if(wi)try{Ln=wi.createPolicy("vue",{createHTML:e=>e})}catch{}const xi=Ln?e=>Ln.createHTML(e):e=>e,cl="http://www.w3.org/2000/svg",pl="http://www.w3.org/1998/Math/MathML",Ge=typeof document<"u"?document:null,Si=Ge&&Ge.createElement("template"),dl={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const s=t==="svg"?Ge.createElementNS(cl,e):t==="mathml"?Ge.createElementNS(pl,e):o?Ge.createElement(e,{is:o}):Ge.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>Ge.createTextNode(e),createComment:e=>Ge.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ge.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,i){const a=o?o.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===i||!(s=s.nextSibling)););else{Si.innerHTML=xi(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const r=Si.content;if(n==="svg"||n==="mathml"){const l=r.firstChild;for(;l.firstChild;)r.appendChild(l.firstChild);r.removeChild(l)}t.insertBefore(r,o)}return[a?a.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},ul=Symbol("_vtc");function fl(e,t,o){const n=e[ul];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Lo=Symbol("_vod"),Mi=Symbol("_vsh"),Tn={name:"show",beforeMount(e,{value:t},{transition:o}){e[Lo]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):zt(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),zt(e,!0),n.enter(e)):n.leave(e,()=>{zt(e,!1)}):zt(e,t))},beforeUnmount(e,{value:t}){zt(e,t)}};function zt(e,t){e.style.display=t?e[Lo]:"none",e[Mi]=!t}const hl=Symbol(""),gl=/(?:^|;)\s*display\s*:/;function $l(e,t,o){const n=e.style,s=J(o);let i=!1;if(o&&!s){if(t)if(J(t))for(const a of t.split(";")){const r=a.slice(0,a.indexOf(":")).trim();o[r]==null&&Bt(n,r,"")}else for(const a in t)o[a]==null&&Bt(n,a,"");for(const a in o){a==="display"&&(i=!0);const r=o[a];r!=null?bl(e,a,!J(t)&&t?t[a]:void 0,r)||Bt(n,a,r):Bt(n,a,"")}}else if(s){if(t!==o){const a=n[hl];a&&(o+=";"+a),n.cssText=o,i=gl.test(o)}}else t&&e.removeAttribute("style");Lo in e&&(e[Lo]=i?n.display:"",e[Mi]&&(n.display="none"))}const To=/\s*!important$/;function Bt(e,t,o){if(A(o))o.forEach(n=>Bt(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))To.test(o)?e.setProperty(t,o.replace(To,""),"important"):e.setProperty(t,o);else{const n=ml(e,t);To.test(o)?e.setProperty(me(n),o.replace(To,""),"important"):e[n]=o}}const Li=["Webkit","Moz","ms"],Cn={};function ml(e,t){const o=Cn[t];if(o)return o;let n=ne(t);if(n!=="filter"&&n in e)return Cn[t]=n;n=eo(n);for(let s=0;sOn||(xl.then(()=>On=0),On=Date.now());function Ml(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const s=o.value;if(A(s)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const a=s.slice(),r=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ll=(e,t,o,n,s,i)=>{const a=s==="svg";t==="class"?fl(e,n,a):t==="style"?$l(e,o,n):Yt(t)?Jt(t)||kl(e,t,o,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tl(e,t,n,a))?(Oi(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ci(e,t,n,a,i,t!=="value")):e._isVueCE&&(Cl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!J(n)))?Oi(e,ne(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ci(e,t,n,a))};function Tl(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ai(t)&&E(o));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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ai(t)&&J(o)?!1:t in e}function Cl(e,t){const o=e._def.props;if(!o)return!1;const n=ne(t);return Array.isArray(o)?o.some(s=>ne(s)===n):Object.keys(o).some(s=>ne(s)===n)}const Ni={};function Ol(e,t,o){let n=mo(e,t);Zt(n)&&(n=Q({},n,t));class s extends Pn{constructor(a){super(n,a,o)}}return s.def=n,s}const Pl=typeof HTMLElement<"u"?HTMLElement:class{};class Pn extends Pl{constructor(t,o={},n=Hi){super(),this._def=t,this._props=o,this._createApp=n,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&&n!==Hi?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Q({},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 Pn){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,xs(()=>{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 o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:a}=n;let r;if(i&&!A(i))for(const l in i){const p=i[l];(p===Number||p&&p.type===Number)&&(l in this._props&&(this._props[l]=Yn(this._props[l])),(r||(r=Object.create(null)))[ne(l)]=!0)}this._numberProps=r,this._resolveProps(n),this.shadowRoot&&this._applyStyles(a),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!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 o=this._instance&&this._instance.exposed;if(o)for(const n in o)H(this,n)||Object.defineProperty(this,n,{get:()=>ks(o[n])})}_resolveProps(t){const{props:o}=t,n=A(o)?o:Object.keys(o||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(ne))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):Ni;const s=ne(t);o&&this._numberProps&&this._numberProps[s]&&(n=Yn(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,s=!1){if(o!==this._props[t]&&(this._dirty=!0,o===Ni?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),o===!0?this.setAttribute(me(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(me(t),o+""):o||this.removeAttribute(me(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Il(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=ve(this._def,Q(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(i,a)=>{this.dispatchEvent(new CustomEvent(i,Zt(a[0])?Q({detail:a},a[0]):{detail:a}))};n.emit=(i,...a)=>{s(i,a),me(i)!==i&&s(me(i),a)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const s=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let r=null;for(let l=t.length-1;l>=0;l--){const p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=t[l],i.insertBefore(p,r||a),r=p,l===0&&(n||this._styleAnchors.set(this._def,p),o&&this._styleAnchors.set(o,p))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o{const t=e.props["onUpdate:modelValue"]||!1;return A(t)?o=>to(t,o):t};function Al(e){e.target.composing=!0}function Fi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Co=Symbol("_assign"),Oo=Symbol("_initialValue");function An(e,t,o){return t&&(e=e.trim()),o&&(e=Ko(e)),e}const Nn={created(e,{modifiers:{lazy:t,trim:o,number:n}},s){e.parentNode&&(e.type==="text"?e[Oo]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Oo]=e.defaultValue.replace(/\r\n?/g,` +**/let Ln;const xi=typeof window<"u"&&window.trustedTypes;if(xi)try{Ln=xi.createPolicy("vue",{createHTML:e=>e})}catch{}const wi=Ln?e=>Ln.createHTML(e):e=>e,cl="http://www.w3.org/2000/svg",pl="http://www.w3.org/1998/Math/MathML",Ge=typeof document<"u"?document:null,Si=Ge&&Ge.createElement("template"),dl={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const s=t==="svg"?Ge.createElementNS(cl,e):t==="mathml"?Ge.createElementNS(pl,e):o?Ge.createElement(e,{is:o}):Ge.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>Ge.createTextNode(e),createComment:e=>Ge.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ge.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,s,i){const a=o?o.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),o),!(s===i||!(s=s.nextSibling)););else{Si.innerHTML=wi(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const r=Si.content;if(n==="svg"||n==="mathml"){const l=r.firstChild;for(;l.firstChild;)r.appendChild(l.firstChild);r.removeChild(l)}t.insertBefore(r,o)}return[a?a.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},ul=Symbol("_vtc");function fl(e,t,o){const n=e[ul];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Lo=Symbol("_vod"),Mi=Symbol("_vsh"),Tn={name:"show",beforeMount(e,{value:t},{transition:o}){e[Lo]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):zt(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),zt(e,!0),n.enter(e)):n.leave(e,()=>{zt(e,!1)}):zt(e,t))},beforeUnmount(e,{value:t}){zt(e,t)}};function zt(e,t){e.style.display=t?e[Lo]:"none",e[Mi]=!t}const hl=Symbol(""),gl=/(?:^|;)\s*display\s*:/;function $l(e,t,o){const n=e.style,s=J(o);let i=!1;if(o&&!s){if(t)if(J(t))for(const a of t.split(";")){const r=a.slice(0,a.indexOf(":")).trim();o[r]==null&&Bt(n,r,"")}else for(const a in t)o[a]==null&&Bt(n,a,"");for(const a in o){a==="display"&&(i=!0);const r=o[a];r!=null?bl(e,a,!J(t)&&t?t[a]:void 0,r)||Bt(n,a,r):Bt(n,a,"")}}else if(s){if(t!==o){const a=n[hl];a&&(o+=";"+a),n.cssText=o,i=gl.test(o)}}else t&&e.removeAttribute("style");Lo in e&&(e[Lo]=i?n.display:"",e[Mi]&&(n.display="none"))}const To=/\s*!important$/;function Bt(e,t,o){if(A(o))o.forEach(n=>Bt(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))To.test(o)?e.setProperty(t,o.replace(To,""),"important"):e.setProperty(t,o);else{const n=ml(e,t);To.test(o)?e.setProperty(me(n),o.replace(To,""),"important"):e[n]=o}}const Li=["Webkit","Moz","ms"],Cn={};function ml(e,t){const o=Cn[t];if(o)return o;let n=ne(t);if(n!=="filter"&&n in e)return Cn[t]=n;n=eo(n);for(let s=0;sOn||(wl.then(()=>On=0),On=Date.now());function Ml(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const s=o.value;if(A(s)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const a=s.slice(),r=[n];for(let l=0;le.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ll=(e,t,o,n,s,i)=>{const a=s==="svg";t==="class"?fl(e,n,a):t==="style"?$l(e,o,n):Yt(t)?Jt(t)||kl(e,t,o,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tl(e,t,n,a))?(Oi(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ci(e,t,n,a,i,t!=="value")):e._isVueCE&&(Cl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!J(n)))?Oi(e,ne(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ci(e,t,n,a))};function Tl(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ai(t)&&E(o));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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ai(t)&&J(o)?!1:t in e}function Cl(e,t){const o=e._def.props;if(!o)return!1;const n=ne(t);return Array.isArray(o)?o.some(s=>ne(s)===n):Object.keys(o).some(s=>ne(s)===n)}const Ni={};function Ol(e,t,o){let n=mo(e,t);Zt(n)&&(n=Q({},n,t));class s extends Pn{constructor(a){super(n,a,o)}}return s.def=n,s}const Pl=typeof HTMLElement<"u"?HTMLElement:class{};class Pn extends Pl{constructor(t,o={},n=Hi){super(),this._def=t,this._props=o,this._createApp=n,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&&n!==Hi?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Q({},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 Pn){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,ws(()=>{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 o of t)this._setAttr(o.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:a}=n;let r;if(i&&!A(i))for(const l in i){const p=i[l];(p===Number||p&&p.type===Number)&&(l in this._props&&(this._props[l]=Yn(this._props[l])),(r||(r=Object.create(null)))[ne(l)]=!0)}this._numberProps=r,this._resolveProps(n),this.shadowRoot&&this._applyStyles(a),this._mount(n)},o=this._def.__asyncLoader;if(o)return this._pendingResolve=o().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!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 o=this._instance&&this._instance.exposed;if(o)for(const n in o)H(this,n)||Object.defineProperty(this,n,{get:()=>ks(o[n])})}_resolveProps(t){const{props:o}=t,n=A(o)?o:Object.keys(o||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(ne))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):Ni;const s=ne(t);o&&this._numberProps&&this._numberProps[s]&&(n=Yn(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,s=!1){if(o!==this._props[t]&&(this._dirty=!0,o===Ni?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),s&&this._instance&&this._update(),n)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),o===!0?this.setAttribute(me(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(me(t),o+""):o||this.removeAttribute(me(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Il(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=ve(this._def,Q(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(i,a)=>{this.dispatchEvent(new CustomEvent(i,Zt(a[0])?Q({detail:a},a[0]):{detail:a}))};n.emit=(i,...a)=>{s(i,a),me(i)!==i&&s(me(i),a)},this._setParent()}),o}_applyStyles(t,o,n){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const s=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let r=null;for(let l=t.length-1;l>=0;l--){const p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=t[l],i.insertBefore(p,r||a),r=p,l===0&&(n||this._styleAnchors.set(this._def,p),o&&this._styleAnchors.set(o,p))}}_getStyleAnchor(t){if(!t)return null;const o=this._styleAnchors.get(t);return o&&o.parentNode===this.shadowRoot?o:(o&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let o=0;o{const t=e.props["onUpdate:modelValue"]||!1;return A(t)?o=>to(t,o):t};function Al(e){e.target.composing=!0}function Fi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Co=Symbol("_assign"),Oo=Symbol("_initialValue");function An(e,t,o){return t&&(e=e.trim()),o&&(e=Ko(e)),e}const Nn={created(e,{modifiers:{lazy:t,trim:o,number:n}},s){e.parentNode&&(e.type==="text"?e[Oo]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Oo]=e.defaultValue.replace(/\r\n?/g,` `))),e[Co]=Ei(s);const i=n||s.props&&s.props.type==="number";vt(e,t?"change":"input",a=>{a.target.composing||e[Co](An(e.value,o,i))}),(o||i)&&vt(e,"change",()=>{e.value=An(e.value,o,i)}),t||(vt(e,"compositionstart",Al),vt(e,"compositionend",Fi),vt(e,"change",Fi))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const s=t??"",i=e[Oo];delete e[Oo],i!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==i?e[Co](An(e.value,o,n)):e.value=s},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:s,number:i}},a){if(e[Co]=Ei(a),e.composing)return;const r=(i||e.type==="number")&&!/^0\d/.test(e.value)?Ko(e.value):e.value,l=t??"";if(r===l)return;const p=e.getRootNode();(p instanceof Document||p instanceof ShadowRoot)&&p.activeElement===e&&e.type!=="range"&&(n&&t===o||s&&e.value.trim()===l)||(e.value=l)}},Nl=["ctrl","shift","alt","meta"],El={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Nl.some(o=>e[`${o}Key`]&&!t.includes(o))},Ii=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(s,...i)=>{for(let a=0;a{Di().render(...e)},Hi=(...e)=>{const t=Di().createApp(...e),{mount:o}=t;return t.mount=n=>{const s=Dl(n);if(!s)return;const i=t._component;!E(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=o(s,!1,Rl(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function Rl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dl(e){return J(e)?document.querySelector(e):e}const Hl={title:"استوديو الإضافات",navLabel:"الإضافات حسب القدرة",countLabel:"{bundles} حزمة · {elements} إضافة مدرجة هنا",changeLanguage:"تغيير اللغة",copyEmbed:"نسخ رمز التضمين",copy:"نسخ",copied:"تم النسخ",scriptEmbed:"تضمين عبر سكربت",loading:"جارٍ تحميل {name}…",couldNotLoad:"تعذّر تحميل {name}.",chooseElement:"اختر إضافة من القائمة.",filterPlaceholder:"تصفية الإضافات",collapseAll:"طي الكل",noMatch:"لا توجد إضافة تطابق «{query}».",openSection:"فتح {cap}، {label}",part:"جزء",noStandalone:"بلا صفحة مستقلة",cap5:"هيكل التطبيق",cap4:"مركّب",cap3:"متعدد العروض",cap2:"إعداد مسبق",cap1:"مفرد",stageExperimental:"تجريبي","widget:rudder-voice/rudder-voice":"Rudder · تحويل الصوت إلى نص",toggleList:"إظهار القائمة أو إخفاؤها",openViews:"فتح قائمة العروض",expandList:"توسيع القائمة",collapseList:"طي القائمة",collapse:"طي",partOf:"جزء من {name}، غير منشور بمفرده",mapToken:"رمز الخريطة",mapboxToken:"رمز Mapbox",tokenPaste:"رمز Mapbox العام (pk.…)",tokenUrlLabel:"…أو رابط خدمة الرموز",tokenApply:"استخدام",tokenClear:"مسح",tokenStoredHere:"يُحفظ في هذا المتصفح فقط.",tokenSourceYours:"يُستخدم رمزك",tokenSourceUrl:"يُستخدم رمز من {url}",tokenSourceBuilt:"يُستخدم الرمز المضمَّن في هذه الصفحة",tokenSourceNone:"لا يوجد رمز Mapbox: لا يمكن تحميل خرائط Mapbox (خرائط MapLibre لا تحتاج رمزًا)",tokenSecret:"هذا رمز سري (sk.…). الصق رمزًا عامًا (pk.…): هذه الصفحة عامة.",tokenNotPk:"يبدأ رمز Mapbox العام بـ pk.",tokenUrlFailed:"تعذّر الحصول على رمز من هذا الرابط: {why}",settings:"الإعدادات",mapEngine:"محرّك الخرائط",engineDefault:"الافتراضي لكل خريطة",engineMapboxNote:"يحتاج إلى رمز",engineMaplibreNote:"لا يحتاج إلى رمز",tokenNotNeeded:"تم اختيار MapLibre: خرائطه لا تحتاج إلى رمز Mapbox",hideHeader:"إخفاء الشريط العلوي",showHeader:"إظهار الشريط العلوي",elementsCount:"{n} عناصر",elements:"عناصر"},Wl={title:"Plugin-Studio",navLabel:"Plugins nach Fähigkeit",countLabel:"{bundles} Bundles · {elements} Plugins hier aufgeführt",changeLanguage:"Sprache ändern",copyEmbed:"Einbettung kopieren",copy:"Kopieren",copied:"Kopiert",scriptEmbed:"Skript-Einbettung",loading:"{name} wird geladen…",couldNotLoad:"{name} konnte nicht geladen werden.",chooseElement:"Wählen Sie ein Plugin aus der Liste.",filterPlaceholder:"Plugins filtern",collapseAll:"Alle einklappen",noMatch:"Kein Plugin entspricht „{query}“.",openSection:"{cap} öffnen, {label}",part:"Teil",noStandalone:"keine eigene Seite",cap5:"App-Shell",cap4:"Komposit",cap3:"Mehrfachansicht",cap2:"Voreinstellung",cap1:"Einzeln",stageExperimental:"Experimentell","widget:rudder-voice/rudder-voice":"Rudder · Sprache zu Text",toggleList:"Liste ein-/ausblenden",openViews:"Ansichtsliste öffnen",expandList:"Liste ausklappen",collapseList:"Liste einklappen",collapse:"Einklappen",partOf:"Teil von {name}, nicht eigenständig veröffentlicht",mapToken:"Karten-Token",mapboxToken:"Mapbox-Token",tokenPaste:"Öffentlicher Mapbox-Token (pk.…)",tokenUrlLabel:"…oder die URL eines Token-Dienstes",tokenApply:"Verwenden",tokenClear:"Löschen",tokenStoredHere:"Nur in diesem Browser gespeichert.",tokenSourceYours:"Ihr Token wird verwendet",tokenSourceUrl:"Token von {url} wird verwendet",tokenSourceBuilt:"Der in diese Seite eingebaute Token wird verwendet",tokenSourceNone:"Kein Mapbox-Token: Mapbox-Karten können nicht laden (MapLibre-Karten brauchen keinen)",tokenSecret:"Das ist ein geheimer Token (sk.…). Fügen Sie einen öffentlichen ein (pk.…): Diese Seite ist öffentlich.",tokenNotPk:"Ein öffentlicher Mapbox-Token beginnt mit pk.",tokenUrlFailed:"Von dieser URL kam kein Token: {why}",settings:"Einstellungen",mapEngine:"Karten-Engine",engineDefault:"Je Karte eigenes",engineMapboxNote:"braucht einen Token",engineMaplibreNote:"kein Token nötig",tokenNotNeeded:"MapLibre ist gewählt: Seine Karten brauchen keinen Mapbox-Token",hideHeader:"Kopfzeile ausblenden",showHeader:"Kopfzeile einblenden",elementsCount:"{n} Elemente",elements:"Elemente"},Ul={title:"Plugin Studio",navLabel:"Plugins by capability",countLabel:"{bundles} bundles · {elements} plugins listed here",changeLanguage:"Change language",copyEmbed:"Copy embed",copy:"Copy",copied:"Copied",scriptEmbed:"Script embed",loading:"Loading {name}…",couldNotLoad:"Could not load {name}.",chooseElement:"Choose a plugin from the list.",filterPlaceholder:"Filter plugins",collapseAll:"Collapse all",noMatch:"No plugin matches “{query}”.",openSection:"Open {cap}, {label}",part:"part",noStandalone:"no standalone page",cap5:"App shell",cap4:"Composite",cap3:"Multi-view",cap2:"Preset",cap1:"Single",stageExperimental:"Experimental","widget:rudder-voice/rudder-voice":"Rudder · voice to text",toggleList:"Toggle list",openViews:"Open the list of views",expandList:"Expand list",collapseList:"Collapse list",collapse:"Collapse",partOf:"part of {name}, not published on its own",mapToken:"Map token",mapboxToken:"Mapbox token",tokenPaste:"Mapbox public token (pk.…)",tokenUrlLabel:"…or the URL of a token service",tokenApply:"Use",tokenClear:"Clear",tokenStoredHere:"Kept in this browser only.",tokenSourceYours:"Using your token",tokenSourceUrl:"Using a token from {url}",tokenSourceBuilt:"Using the token built into this page",tokenSourceNone:"No Mapbox token: Mapbox maps cannot load (MapLibre maps need none)",tokenSecret:"That is a secret token (sk.…). Paste a public one (pk.…): this page is public.",tokenNotPk:"A Mapbox public token starts with pk.",tokenUrlFailed:"Could not get a token from that URL: {why}",settings:"Settings",mapEngine:"Map engine",engineDefault:"Each map’s own",engineMapboxNote:"needs a token",engineMaplibreNote:"no token needed",tokenNotNeeded:"MapLibre is selected: its maps need no Mapbox token",hideHeader:"Hide header",showHeader:"Show header",elementsCount:"{n} elements",elements:"elements"},zl={title:"Estudio de plugins",navLabel:"Plugins por capacidad",countLabel:"{bundles} paquetes · {elements} plugins listados aquí",changeLanguage:"Cambiar idioma",copyEmbed:"Copiar código de inserción",copy:"Copiar",copied:"Copiado",scriptEmbed:"Inserción por script",loading:"Cargando {name}…",couldNotLoad:"No se pudo cargar {name}.",chooseElement:"Elija un plugin de la lista.",filterPlaceholder:"Filtrar plugins",collapseAll:"Contraer todo",noMatch:"Ningún plugin coincide con «{query}».",openSection:"Abrir {cap}, {label}",part:"parte",noStandalone:"sin página propia",cap5:"Contenedor de aplicación",cap4:"Compuesto",cap3:"Multivista",cap2:"Preajuste",cap1:"Individual",stageExperimental:"Experimental","widget:rudder-voice/rudder-voice":"Rudder · voz a texto",toggleList:"Mostrar u ocultar la lista",openViews:"Abrir la lista de vistas",expandList:"Expandir la lista",collapseList:"Contraer la lista",collapse:"Contraer",partOf:"parte de {name}, no publicada por separado",mapToken:"Token del mapa",mapboxToken:"Token de Mapbox",tokenPaste:"Token público de Mapbox (pk.…)",tokenUrlLabel:"…o la URL de un servicio de tokens",tokenApply:"Usar",tokenClear:"Borrar",tokenStoredHere:"Se guarda solo en este navegador.",tokenSourceYours:"Usando tu token",tokenSourceUrl:"Usando un token de {url}",tokenSourceBuilt:"Usando el token integrado en esta página",tokenSourceNone:"Sin token de Mapbox: los mapas de Mapbox no cargan (los de MapLibre no lo necesitan)",tokenSecret:"Ese es un token secreto (sk.…). Pega uno público (pk.…): esta página es pública.",tokenNotPk:"Un token público de Mapbox empieza por pk.",tokenUrlFailed:"No se pudo obtener un token de esa URL: {why}",settings:"Ajustes",mapEngine:"Motor de mapas",engineDefault:"El de cada mapa",engineMapboxNote:"necesita un token",engineMaplibreNote:"no necesita token",tokenNotNeeded:"MapLibre está seleccionado: sus mapas no necesitan token de Mapbox",hideHeader:"Ocultar encabezado",showHeader:"Mostrar encabezado",elementsCount:"{n} elementos",elements:"elementos"},Bl={title:"Studio de plugins",navLabel:"Plugins par capacité",countLabel:"{bundles} paquets · {elements} plugins listés ici",changeLanguage:"Changer de langue",copyEmbed:"Copier le code d’intégration",copy:"Copier",copied:"Copié",scriptEmbed:"Intégration par script",loading:"Chargement de {name}…",couldNotLoad:"Impossible de charger {name}.",chooseElement:"Choisissez un plugin dans la liste.",filterPlaceholder:"Filtrer les plugins",collapseAll:"Tout replier",noMatch:"Aucun plugin ne correspond à « {query} ».",openSection:"Ouvrir {cap}, {label}",part:"partie",noStandalone:"pas de page autonome",cap5:"Coquille d’application",cap4:"Composite",cap3:"Multivue",cap2:"Préréglage",cap1:"Simple",stageExperimental:"Expérimental","widget:rudder-voice/rudder-voice":"Rudder · voix vers texte",toggleList:"Afficher ou masquer la liste",openViews:"Ouvrir la liste des vues",expandList:"Déplier la liste",collapseList:"Replier la liste",collapse:"Replier",partOf:"partie de {name}, non publiée seule",mapToken:"Jeton de carte",mapboxToken:"Jeton Mapbox",tokenPaste:"Jeton public Mapbox (pk.…)",tokenUrlLabel:"…ou l’URL d’un service de jetons",tokenApply:"Utiliser",tokenClear:"Effacer",tokenStoredHere:"Conservé dans ce navigateur uniquement.",tokenSourceYours:"Votre jeton est utilisé",tokenSourceUrl:"Jeton obtenu de {url}",tokenSourceBuilt:"Jeton intégré à cette page",tokenSourceNone:"Aucun jeton Mapbox : les cartes Mapbox ne peuvent pas charger (MapLibre n’en a pas besoin)",tokenSecret:"C’est un jeton secret (sk.…). Collez un jeton public (pk.…) : cette page est publique.",tokenNotPk:"Un jeton public Mapbox commence par pk.",tokenUrlFailed:"Impossible d’obtenir un jeton depuis cette URL : {why}",settings:"Paramètres",mapEngine:"Moteur de carte",engineDefault:"Celui de chaque carte",engineMapboxNote:"nécessite un jeton",engineMaplibreNote:"aucun jeton requis",tokenNotNeeded:"MapLibre est sélectionné : ses cartes n’ont pas besoin de jeton Mapbox",hideHeader:"Masquer l'en-tête",showHeader:"Afficher l'en-tête",elementsCount:"{n} éléments",elements:"éléments"},jl={title:"प्लगइन स्टूडियो",navLabel:"क्षमता के अनुसार प्लगइन",countLabel:"{bundles} बंडल · यहाँ {elements} प्लगइन सूचीबद्ध",changeLanguage:"भाषा बदलें",copyEmbed:"एम्बेड कोड कॉपी करें",copy:"कॉपी करें",copied:"कॉपी हो गया",scriptEmbed:"स्क्रिप्ट एम्बेड",loading:"{name} लोड हो रहा है…",couldNotLoad:"{name} लोड नहीं हो सका।",chooseElement:"सूची से कोई प्लगइन चुनें।",filterPlaceholder:"प्लगइन फ़िल्टर करें",collapseAll:"सभी संक्षिप्त करें",noMatch:"“{query}” से कोई प्लगइन मेल नहीं खाता।",openSection:"{cap} खोलें, {label}",part:"भाग",noStandalone:"कोई अलग पेज नहीं",cap5:"ऐप शेल",cap4:"संयुक्त",cap3:"बहु-दृश्य",cap2:"प्रीसेट",cap1:"एकल",stageExperimental:"प्रायोगिक","widget:rudder-voice/rudder-voice":"Rudder · आवाज़ से टेक्स्ट",toggleList:"सूची दिखाएँ या छिपाएँ",openViews:"दृश्यों की सूची खोलें",expandList:"सूची फैलाएँ",collapseList:"सूची संक्षिप्त करें",collapse:"संक्षिप्त करें",partOf:"{name} का भाग, अलग से प्रकाशित नहीं",mapToken:"मानचित्र टोकन",mapboxToken:"Mapbox टोकन",tokenPaste:"Mapbox सार्वजनिक टोकन (pk.…)",tokenUrlLabel:"…या किसी टोकन सेवा का URL",tokenApply:"उपयोग करें",tokenClear:"साफ़ करें",tokenStoredHere:"केवल इसी ब्राउज़र में रखा जाता है।",tokenSourceYours:"आपका टोकन उपयोग हो रहा है",tokenSourceUrl:"{url} से टोकन उपयोग हो रहा है",tokenSourceBuilt:"इस पेज में बना टोकन उपयोग हो रहा है",tokenSourceNone:"कोई Mapbox टोकन नहीं: Mapbox मानचित्र लोड नहीं हो सकते (MapLibre को इसकी ज़रूरत नहीं)",tokenSecret:"यह एक गुप्त टोकन है (sk.…)। सार्वजनिक टोकन (pk.…) चिपकाएँ: यह पेज सार्वजनिक है।",tokenNotPk:"Mapbox सार्वजनिक टोकन pk. से शुरू होता है",tokenUrlFailed:"उस URL से टोकन नहीं मिल सका: {why}",settings:"सेटिंग्स",mapEngine:"मानचित्र इंजन",engineDefault:"हर मानचित्र का अपना",engineMapboxNote:"टोकन चाहिए",engineMaplibreNote:"टोकन की ज़रूरत नहीं",tokenNotNeeded:"MapLibre चुना गया है: इसके मानचित्रों को Mapbox टोकन नहीं चाहिए",hideHeader:"हेडर छिपाएँ",showHeader:"हेडर दिखाएँ",elementsCount:"{n} तत्व",elements:"तत्व"},Vl={title:"Studio dei plugin",navLabel:"Plugin per capacità",countLabel:"{bundles} pacchetti · {elements} plugin elencati qui",changeLanguage:"Cambia lingua",copyEmbed:"Copia codice di incorporamento",copy:"Copia",copied:"Copiato",scriptEmbed:"Incorporamento tramite script",loading:"Caricamento di {name}…",couldNotLoad:"Impossibile caricare {name}.",chooseElement:"Scegli un plugin dall’elenco.",filterPlaceholder:"Filtra i plugin",collapseAll:"Comprimi tutto",noMatch:"Nessun plugin corrisponde a «{query}».",openSection:"Apri {cap}, {label}",part:"parte",noStandalone:"nessuna pagina propria",cap5:"Shell dell’app",cap4:"Composito",cap3:"Multivista",cap2:"Preimpostato",cap1:"Singolo",stageExperimental:"Sperimentale","widget:rudder-voice/rudder-voice":"Rudder · voce in testo",toggleList:"Mostra o nascondi l’elenco",openViews:"Apri l’elenco delle viste",expandList:"Espandi l’elenco",collapseList:"Comprimi l’elenco",collapse:"Comprimi",partOf:"parte di {name}, non pubblicata da sola",mapToken:"Token mappa",mapboxToken:"Token Mapbox",tokenPaste:"Token pubblico Mapbox (pk.…)",tokenUrlLabel:"…o l’URL di un servizio di token",tokenApply:"Usa",tokenClear:"Cancella",tokenStoredHere:"Conservato solo in questo browser.",tokenSourceYours:"Uso il tuo token",tokenSourceUrl:"Uso un token da {url}",tokenSourceBuilt:"Uso il token integrato in questa pagina",tokenSourceNone:"Nessun token Mapbox: le mappe Mapbox non si caricano (MapLibre non ne ha bisogno)",tokenSecret:"Questo è un token segreto (sk.…). Incolla un token pubblico (pk.…): questa pagina è pubblica.",tokenNotPk:"Un token pubblico Mapbox inizia con pk.",tokenUrlFailed:"Impossibile ottenere un token da quell’URL: {why}",settings:"Impostazioni",mapEngine:"Motore mappe",engineDefault:"Quello di ogni mappa",engineMapboxNote:"richiede un token",engineMaplibreNote:"nessun token necessario",tokenNotNeeded:"MapLibre è selezionato: le sue mappe non richiedono un token Mapbox",hideHeader:"Nascondi intestazione",showHeader:"Mostra intestazione",elementsCount:"{n} elementi",elements:"elementi"},Kl={title:"Estúdio de plugins",navLabel:"Plugins por capacidade",countLabel:"{bundles} pacotes · {elements} plugins listados aqui",changeLanguage:"Mudar idioma",copyEmbed:"Copiar código de incorporação",copy:"Copiar",copied:"Copiado",scriptEmbed:"Incorporação por script",loading:"Carregando {name}…",couldNotLoad:"Não foi possível carregar {name}.",chooseElement:"Escolha um plugin na lista.",filterPlaceholder:"Filtrar plugins",collapseAll:"Recolher tudo",noMatch:"Nenhum plugin corresponde a “{query}”.",openSection:"Abrir {cap}, {label}",part:"parte",noStandalone:"sem página própria",cap5:"Shell do aplicativo",cap4:"Composto",cap3:"Multivisualização",cap2:"Predefinição",cap1:"Único",stageExperimental:"Experimental","widget:rudder-voice/rudder-voice":"Rudder · voz para texto",toggleList:"Mostrar ou ocultar a lista",openViews:"Abrir a lista de visualizações",expandList:"Expandir a lista",collapseList:"Recolher a lista",collapse:"Recolher",partOf:"parte de {name}, não publicada separadamente",mapToken:"Token do mapa",mapboxToken:"Token do Mapbox",tokenPaste:"Token público do Mapbox (pk.…)",tokenUrlLabel:"…ou o URL de um serviço de tokens",tokenApply:"Usar",tokenClear:"Limpar",tokenStoredHere:"Guardado apenas neste navegador.",tokenSourceYours:"A usar o seu token",tokenSourceUrl:"A usar um token de {url}",tokenSourceBuilt:"A usar o token incorporado nesta página",tokenSourceNone:"Sem token do Mapbox: os mapas Mapbox não carregam (os MapLibre não precisam)",tokenSecret:"Esse é um token secreto (sk.…). Cole um público (pk.…): esta página é pública.",tokenNotPk:"Um token público do Mapbox começa por pk.",tokenUrlFailed:"Não foi possível obter um token desse URL: {why}",settings:"Definições",mapEngine:"Motor de mapas",engineDefault:"O de cada mapa",engineMapboxNote:"precisa de um token",engineMaplibreNote:"não precisa de token",tokenNotNeeded:"MapLibre está selecionado: os seus mapas não precisam de token do Mapbox",hideHeader:"Ocultar cabeçalho",showHeader:"Mostrar cabeçalho",elementsCount:"{n} elementos",elements:"elementos"},ql={title:"Studio de pluginuri",navLabel:"Pluginuri după capacitate",countLabel:"{bundles} pachete · {elements} pluginuri listate aici",changeLanguage:"Schimbă limba",copyEmbed:"Copiază codul de încorporare",copy:"Copiază",copied:"Copiat",scriptEmbed:"Încorporare prin script",loading:"Se încarcă {name}…",couldNotLoad:"{name} nu a putut fi încărcat.",chooseElement:"Alegeți un plugin din listă.",filterPlaceholder:"Filtrează pluginurile",collapseAll:"Restrânge tot",noMatch:"Niciun plugin nu corespunde cu „{query}”.",openSection:"Deschide {cap}, {label}",part:"parte",noStandalone:"fără pagină proprie",cap5:"Cadru de aplicație",cap4:"Compus",cap3:"Vizualizări multiple",cap2:"Presetat",cap1:"Simplu",stageExperimental:"Experimental","widget:rudder-voice/rudder-voice":"Rudder · voce în text",toggleList:"Afișează sau ascunde lista",openViews:"Deschide lista de vizualizări",expandList:"Extinde lista",collapseList:"Restrânge lista",collapse:"Restrânge",partOf:"parte din {name}, nepublicată separat",mapToken:"Token hartă",mapboxToken:"Token Mapbox",tokenPaste:"Token public Mapbox (pk.…)",tokenUrlLabel:"…sau adresa URL a unui serviciu de tokenuri",tokenApply:"Folosește",tokenClear:"Șterge",tokenStoredHere:"Păstrat doar în acest browser.",tokenSourceYours:"Se folosește tokenul tău",tokenSourceUrl:"Se folosește un token de la {url}",tokenSourceBuilt:"Se folosește tokenul inclus în această pagină",tokenSourceNone:"Niciun token Mapbox: hărțile Mapbox nu se pot încărca (MapLibre nu are nevoie)",tokenSecret:"Acesta este un token secret (sk.…). Lipește unul public (pk.…): pagina este publică.",tokenNotPk:"Un token public Mapbox începe cu pk.",tokenUrlFailed:"Nu s-a putut obține un token de la acea adresă: {why}",settings:"Setări",mapEngine:"Motor hărți",engineDefault:"Al fiecărei hărți",engineMapboxNote:"necesită un token",engineMaplibreNote:"nu necesită token",tokenNotNeeded:"MapLibre este selectat: hărțile sale nu necesită token Mapbox",hideHeader:"Ascunde antetul",showHeader:"Afișează antetul",elementsCount:"{n} elemente",elements:"elemente"},Gl={title:"Студия плагинов",navLabel:"Плагины по возможностям",countLabel:"Здесь: пакетов {bundles} · плагинов {elements}",changeLanguage:"Сменить язык",copyEmbed:"Скопировать код встраивания",copy:"Копировать",copied:"Скопировано",scriptEmbed:"Встраивание через скрипт",loading:"Загрузка {name}…",couldNotLoad:"Не удалось загрузить {name}.",chooseElement:"Выберите плагин из списка.",filterPlaceholder:"Фильтр плагинов",collapseAll:"Свернуть всё",noMatch:"Нет плагинов, соответствующих «{query}».",openSection:"Открыть {cap}, {label}",part:"часть",noStandalone:"нет отдельной страницы",cap5:"Оболочка приложения",cap4:"Составной",cap3:"Несколько видов",cap2:"Предустановка",cap1:"Одиночный",stageExperimental:"Экспериментальные","widget:rudder-voice/rudder-voice":"Rudder · голос в текст",toggleList:"Показать или скрыть список",openViews:"Открыть список представлений",expandList:"Развернуть список",collapseList:"Свернуть список",collapse:"Свернуть",partOf:"часть {name}, не публикуется отдельно",mapToken:"Токен карты",mapboxToken:"Токен Mapbox",tokenPaste:"Публичный токен Mapbox (pk.…)",tokenUrlLabel:"…или адрес службы токенов",tokenApply:"Применить",tokenClear:"Очистить",tokenStoredHere:"Хранится только в этом браузере.",tokenSourceYours:"Используется ваш токен",tokenSourceUrl:"Используется токен с {url}",tokenSourceBuilt:"Используется токен, встроенный в страницу",tokenSourceNone:"Нет токена Mapbox: карты Mapbox не загрузятся (MapLibre он не нужен)",tokenSecret:"Это секретный токен (sk.…). Вставьте публичный (pk.…): эта страница общедоступна.",tokenNotPk:"Публичный токен Mapbox начинается с pk.",tokenUrlFailed:"Не удалось получить токен по этому адресу: {why}",settings:"Настройки",mapEngine:"Движок карт",engineDefault:"Свой у каждой карты",engineMapboxNote:"нужен токен",engineMaplibreNote:"токен не нужен",tokenNotNeeded:"Выбран MapLibre: его картам не нужен токен Mapbox",hideHeader:"Скрыть заголовок",showHeader:"Показать заголовок",elementsCount:"{n} элементов",elements:"элементов"},Yl={title:"插件工作室",navLabel:"按能力分类的插件",countLabel:"此处列出 {bundles} 个包 · {elements} 个插件",changeLanguage:"切换语言",copyEmbed:"复制嵌入代码",copy:"复制",copied:"已复制",scriptEmbed:"脚本嵌入",loading:"正在加载 {name}…",couldNotLoad:"无法加载 {name}。",chooseElement:"请从列表中选择一个插件。",filterPlaceholder:"筛选插件",collapseAll:"全部折叠",noMatch:"没有与“{query}”匹配的插件。",openSection:"打开 {cap},{label}",part:"部分",noStandalone:"无独立页面",cap5:"应用外壳",cap4:"组合",cap3:"多视图",cap2:"预设",cap1:"单一",stageExperimental:"实验性","widget:rudder-voice/rudder-voice":"Rudder · 语音转文字",toggleList:"显示或隐藏列表",openViews:"打开视图列表",expandList:"展开列表",collapseList:"折叠列表",collapse:"折叠",partOf:"{name} 的一部分,不单独发布",mapToken:"地图令牌",mapboxToken:"Mapbox 令牌",tokenPaste:"Mapbox 公开令牌 (pk.…)",tokenUrlLabel:"…或令牌服务的网址",tokenApply:"使用",tokenClear:"清除",tokenStoredHere:"仅保存在此浏览器中。",tokenSourceYours:"正在使用您的令牌",tokenSourceUrl:"正在使用来自 {url} 的令牌",tokenSourceBuilt:"正在使用此页面内置的令牌",tokenSourceNone:"没有 Mapbox 令牌:Mapbox 地图无法加载(MapLibre 地图不需要)",tokenSecret:"这是秘密令牌 (sk.…)。请粘贴公开令牌 (pk.…):此页面是公开的。",tokenNotPk:"Mapbox 公开令牌以 pk. 开头",tokenUrlFailed:"无法从该网址获取令牌:{why}",settings:"设置",mapEngine:"地图引擎",engineDefault:"各地图自身的",engineMapboxNote:"需要令牌",engineMaplibreNote:"无需令牌",tokenNotNeeded:"已选择 MapLibre:其地图无需 Mapbox 令牌",hideHeader:"隐藏标题栏",showHeader:"显示标题栏",elementsCount:"{n} 个元素",elements:"元素"};function En(e,t){const o=gi(),n=t||(o&&o.type&&o.type.__hmrId?"hmr-"+o.type.__hmrId:Xl(e));hn(()=>{var l;if(!o)return;const s=(l=o.proxy)==null?void 0:l.$el;if(!s)return;const i=s.getRootNode();if(!(i instanceof ShadowRoot))return;if(!i.querySelector('style[data-shadow-styles="reduced-motion"]')){const p=document.createElement("style");p.setAttribute("data-shadow-styles","reduced-motion"),p.textContent=Jl,i.appendChild(p)}const a=i.querySelector(`style[data-shadow-styles="${n}"]`);if(a){a.textContent!==e&&(a.textContent=e);return}const r=document.createElement("style");r.setAttribute("data-shadow-styles",n),r.textContent=e,i.appendChild(r)})}const Jl=`@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; @@ -147,7 +147,7 @@ @media (prefers-reduced-motion: reduce) { .vtl-nav, .vtl-collapse-ic, .vtl-tab, .vtl-tier, .vtl-fab, .vtl-scrim { transition: none !important; animation: none !important; } } -`,mc=mo({name:"VerticalTabsLayout",components:{BackToTopButton:ec},props:{active:{type:String,default:""},title:{type:String,default:""},items:{type:Array,default:()=>[]},groups:{type:Array,default:()=>[]},navLabel:{type:String,default:"Sections"},labels:{type:Object,default:()=>({})},initialNavOpen:{type:Boolean,default:!0},header:{type:Boolean,default:!0},initialRailCollapsed:{type:Boolean,default:!1}},emits:["update:active"],setup(){return En($c,"vertical-tabs-layout"),{T:fc}},data(){return{navOpen:this.initialNavOpen,railCollapsed:this.initialRailCollapsed,_tabEls:{},folderOverride:{},narrow:!1,_mql:null,_onMedia:null,activatedKeys:{},hostState:{},hostError:{},_hostSlots:{},_hostMounted:{},hostEls:{}}},computed:{fabShown(){return this.narrow&&!this.header&&!this.navOpen},activeHostEl(){return this.hostEls[this.active]||null},railShown(){return this.narrow?this.navOpen:!0},allRows(){if(this.groups&&this.groups.length){const e=[];for(const t of this.groups)for(const o of t.rows||[])e.push(o);return e}return this.items},orderedKeys(){return this.allRows.map(e=>e.key)},elementRows(){return this.allRows.filter(e=>e&&e.element)},mountedElementRows(){return this.elementRows.filter(e=>this.activatedKeys[e.key])}},watch:{active:{immediate:!0,handler(e){this.activateElement(e)}}},mounted(){try{window.matchMedia&&(this._mql=window.matchMedia("(max-width: 760px)"),this.narrow=this._mql.matches,this.reconcileForWidth(),this._onMedia=e=>{this.narrow=e.matches,this.reconcileForWidth()},this._mql.addEventListener?this._mql.addEventListener("change",this._onMedia):this._mql.addListener&&this._mql.addListener(this._onMedia))}catch{}this.$nextTick(()=>this.activateElement(this.active))},beforeUnmount(){try{this._mql&&this._onMedia&&(this._mql.removeEventListener?this._mql.removeEventListener("change",this._onMedia):this._mql.removeListener&&this._mql.removeListener(this._onMedia))}catch{}this._mql=null,this._onMedia=null},methods:{registerTab(e,t){t&&(this._tabEls[e]=t)},isNarrow(){return this.narrow},reconcileForWidth(){this.narrow?(this.navOpen=!1,this.railCollapsed=!1):this.navOpen=!0},label(e){const t={toggleList:"Toggle list",openViews:"Open the list of views",expandList:"Expand list",collapseList:"Collapse list",collapse:"Collapse"};return this.labels&&this.labels[e]||t[e]},expandRail(){!this.narrow&&this.railCollapsed&&(this.railCollapsed=!1)},toggleRail(){this.narrow?this.navOpen=!this.navOpen:this.railCollapsed=!this.railCollapsed},setHostSlot(e,t){t&&(this._hostSlots[e]=t,this.$nextTick(()=>this.mountHostElement(e)))},activateElement(e){!e||!this.elementRows.find(o=>o.key===e)||(this.activatedKeys[e]||(this.activatedKeys={...this.activatedKeys,[e]:!0},this.$nextTick(()=>this.watchContextLoss(e)),this.hostState={...this.hostState,[e]:"loading"}),this.$nextTick(()=>this.mountHostElement(e)))},deepCanvases(e,t=[]){if(!e)return t;for(const o of e.querySelectorAll("*"))o.tagName==="CANVAS"&&t.push(o),o.shadowRoot&&this.deepCanvases(o.shadowRoot,t);return t},watchContextLoss(e){const t=this._hostSlots[e];if(t)for(const o of this.deepCanvases(t))o.__vtlLossBound||(o.__vtlLossBound=!0,o.addEventListener("webglcontextlost",()=>{this.hostState={...this.hostState,[e]:"lost"}},{once:!0}))},reloadHostElement(e){const t=this._hostSlots[e];t&&(t.innerHTML=""),this._hostMounted[e]=!1,this.hostState={...this.hostState,[e]:"loading"},this.$nextTick(()=>this.mountHostElement(e))},mountHostElement(e){if(this._hostMounted[e])return;const t=this.elementRows.find(n=>n.key===e),o=this._hostSlots[e];!t||!o||(this._hostMounted[e]=!0,this.hostState={...this.hostState,[e]:"loading"},hc(t.src).then(()=>gc(t.element)).then(()=>{pc(t.element,t.src),o.innerHTML="";const n=document.createElement(t.element),s=t.attrs||{};for(const i in s){const a=s[i],r=a!=null&&typeof a=="object"?JSON.stringify(a):String(a);try{n[i]=a}catch{}try{n.setAttribute(i,r)}catch{}}n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",o.appendChild(n);for(const i of[0,250,1500])setTimeout(()=>this.watchContextLoss(e),i);this.hostState={...this.hostState,[e]:"ready"}}).catch(n=>{this._hostMounted[e]=!1,this.hostState={...this.hostState,[e]:"error"},this.hostError={...this.hostError,[e]:n&&n.message||String(n)}}))},iconSvg(e){return e?Vi(e):""},initial(e){const t=(e||"").trim();return t?t.charAt(0).toUpperCase():"•"},isFolderClosed(e){const t=this.folderOverride[e.key];return t!=null?!t:e.open!==!0},toggleFolder(e){const t=this.folderOverride[e],o=(this.groups||[]).find(s=>s.key===e),n=t??(o&&o.open===!0);this.folderOverride={...this.folderOverride,[e]:!n}},pick(e){this.$emit("update:active",e),this.narrow&&(this.navOpen=!1)},onKey(e){const t=this.orderedKeys;if(!t.length)return;const o=t.indexOf(this.active);let n=-1;if(e.key==="ArrowDown"||e.key==="ArrowRight")n=(o+1)%t.length;else if(e.key==="ArrowUp"||e.key==="ArrowLeft")n=(o-1+t.length)%t.length;else if(e.key==="Home")n=0;else if(e.key==="End")n=t.length-1;else return;e.preventDefault();const s=t[n];this.pick(s),this.$nextTick(()=>{const i=this._tabEls[s];i&&i.focus&&i.focus()})}}}),bc={key:0,class:"vtl-top"},vc=["aria-expanded","aria-label"],kc={class:"vtl-brand"},yc={class:"vtl-title"},_c={class:"vtl-meta"},wc=["aria-expanded","aria-label"],xc={class:"vtl-body"},Sc=["aria-label","aria-hidden","role","aria-orientation"],Mc=["aria-expanded","aria-label"],Lc=["innerHTML"],Tc={class:"vtl-collapse-tx"},Cc=["aria-expanded","onClick"],Oc={key:0,class:"vtl-cap"},Pc={class:"vtl-tl"},Ac={key:1,class:"vtl-td"},Nc=["innerHTML"],Ec={key:1,class:"vtl-tier"},Fc={key:0,class:"vtl-cap"},Ic={class:"vtl-tl"},Rc={key:1,class:"vtl-td"},Dc={class:"vtl-rows"},Hc=["aria-selected","tabindex","onClick"],Wc=["innerHTML"],Uc={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},zc={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Bc={class:"vtl-tab-text"},jc={class:"vtl-tab-label"},Vc={key:0,class:"vtl-tab-badge"},Kc={key:0,class:"vtl-tab-sub"},qc=["innerHTML"],Gc=["aria-selected","tabindex","onClick"],Yc=["innerHTML"],Jc={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},Xc={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Zc={class:"vtl-tab-text"},Qc={class:"vtl-tab-label"},ep={key:0,class:"vtl-tab-sub"},tp={class:"vtl-main"},op={class:"vtl-content"},np=["hidden"],sp={key:0,class:"vtl-host-hint"},ip={key:1,class:"vtl-host-hint"},ap=["onClick"],rp={key:2,class:"vtl-host-hint err"};function lp(e,t,o,n,s,i){const a=gn("BackToTopButton");return M(),L("div",{class:he(["vtl",{"nav-open":e.navOpen,"rail-collapsed":e.railCollapsed,"no-header":!e.header}]),style:lt(e.fabShown?{"--map-fab-clearance":"calc(56px + env(safe-area-inset-bottom))","--map-fab-beside":"calc(64px + env(safe-area-inset-left))"}:null)},[e.header?(M(),L("header",bc,[v("button",{class:"vtl-menu",type:"button","aria-expanded":String(e.navOpen),onClick:t[0]||(t[0]=r=>e.navOpen=!e.navOpen),"aria-label":e.label("toggleList")},"☰",8,vc),v("span",kc,[Nt(e.$slots,"brand")]),v("b",yc,T(e.title),1),v("span",_c,[Nt(e.$slots,"meta")])])):V("",!0),e.fabShown?(M(),L("button",{key:1,class:"vtl-fab",type:"button","aria-expanded":String(e.navOpen),onClick:t[1]||(t[1]=r=>e.navOpen=!0),"aria-label":e.label("openViews")},"☰",8,wc)):V("",!0),e.narrow?(M(),Rt(a,{key:2,target:e.activeHostEl,labels:{backToTop:e.T("actions.backToTop","Back to top")}},null,8,["target","labels"])):V("",!0),v("div",xc,[v("nav",{class:"vtl-nav","aria-label":e.navLabel,"aria-hidden":String(!e.railShown),role:e.$slots.rail?null:"tablist","aria-orientation":e.$slots.rail?null:"vertical"},[v("button",{type:"button",class:"vtl-collapse","aria-expanded":String(!e.railCollapsed),"aria-label":e.railCollapsed?e.label("expandList"):e.label("collapseList"),onClick:t[2]||(t[2]=(...r)=>e.toggleRail&&e.toggleRail(...r))},[v("span",{class:"vtl-collapse-ic","aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,8,Lc),v("span",Tc,T(e.label("collapse")),1)],8,Mc),e.$slots.rail?Nt(e.$slots,"rail",{collapsed:e.railCollapsed&&!e.narrow,expand:e.expandRail,pick:e.pick},void 0,void 0,0):e.groups&&e.groups.length?(M(!0),L(Y,{key:1},Oe(e.groups,r=>(M(),L("div",{class:"vtl-grp",key:r.key},[r.folder?(M(),L("button",{key:0,type:"button",class:"vtl-tier vtl-tier-btn","aria-expanded":String(!e.isFolderClosed(r)),onClick:l=>e.toggleFolder(r.key)},[r.badge?(M(),L("span",Oc,T(r.badge),1)):V("",!0),v("span",Pc,T(r.label),1),r.count!=null?(M(),L("span",Ac,T(r.count),1)):V("",!0),v("span",{class:he(["vtl-chev",{open:!e.isFolderClosed(r)}]),"aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,10,Nc)],8,Cc)):(M(),L("div",Ec,[r.badge?(M(),L("span",Fc,T(r.badge),1)):V("",!0),v("span",Ic,T(r.label),1),r.count!=null?(M(),L("span",Rc,T(r.count),1)):V("",!0)])),gt(v("div",Dc,[(M(!0),L(Y,null,Oe(r.rows,l=>(M(),L("button",{key:l.key,type:"button",role:"tab",class:he(["vtl-tab",{active:l.key===e.active}]),"aria-selected":String(l.key===e.active),tabindex:l.key===e.active?0:-1,ref_for:!0,ref:p=>e.registerTab(l.key,p),onClick:p=>e.pick(l.key),onKeydown:t[3]||(t[3]=p=>e.onKey(p))},[l.icon?(M(),L("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(l.icon)},null,8,Wc)):l.emoji?(M(),L("span",Uc,T(l.emoji),1)):(M(),L("span",zc,T(e.initial(l.label)),1)),v("span",Bc,[v("span",jc,[Ae(T(l.label),1),l.badge?(M(),L("span",Vc,T(l.badge),1)):V("",!0)]),l.sub?(M(),L("span",Kc,[v("span",{innerHTML:l.sub},null,8,qc)])):V("",!0)])],42,Hc))),128))],512),[[Tn,!r.folder||!e.isFolderClosed(r)]])]))),128)):(M(!0),L(Y,{key:2},Oe(e.items,r=>(M(),L("button",{key:r.key,type:"button",role:"tab",class:he(["vtl-tab",{active:r.key===e.active}]),"aria-selected":String(r.key===e.active),tabindex:r.key===e.active?0:-1,ref_for:!0,ref:l=>e.registerTab(r.key,l),onClick:l=>e.pick(r.key),onKeydown:t[4]||(t[4]=l=>e.onKey(l))},[r.icon?(M(),L("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(r.icon)},null,8,Yc)):r.emoji?(M(),L("span",Jc,T(r.emoji),1)):(M(),L("span",Xc,T(e.initial(r.label)),1)),v("span",Zc,[v("span",Qc,T(r.label),1),r.sub?(M(),L("span",ep,T(r.sub),1)):V("",!0)])],42,Gc))),128))],8,Sc),v("main",tp,[e.header?Nt(e.$slots,"toolbar",{},void 0,void 0,0):V("",!0),v("div",op,[(M(!0),L(Y,null,Oe(e.mountedElementRows,r=>gt((M(),L("section",{key:r.key,class:"vtl-host",hidden:r.key!==e.active,ref_for:!0,ref:l=>{l?e.hostEls[r.key]=l:delete e.hostEls[r.key]}},[v("div",{class:"vtl-host-slot",ref_for:!0,ref:l=>e.setHostSlot(r.key,l)},null,512),e.hostState[r.key]==="loading"?(M(),L("div",sp,T(e.T("messages.loadingNamed","Loading {name}…").replace("{name}",r.label)),1)):e.hostState[r.key]==="lost"?(M(),L("div",ip,[Ae(T(e.T("messages.mapContextLost","This map was unloaded to free graphics memory."))+" ",1),v("button",{type:"button",class:"vtl-host-reload",onClick:l=>e.reloadHostElement(r.key)},T(e.T("buttons.reloadMap","Reload Map")),9,ap)])):e.hostState[r.key]==="error"?(M(),L("div",rp,[Ae(T(e.T("messages.couldNotLoadNamed","Could not load {name}.").replace("{name}",r.label)),1),t[5]||(t[5]=v("br",null,null,-1)),v("small",null,T(e.hostError[r.key]),1)])):V("",!0)],8,np)),[[Tn,r.key===e.active]])),128)),Nt(e.$slots,"default")])])])],6)}const cp=Po(mc,[["render",lp],["styles",[uc]]]),pp='.st{display:flex;flex-direction:column;margin:0 -12px}.st-bar{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fff}.st-find{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:6px;height:30px;padding:0 8px;border:1px solid #d1d4cd;border-radius:8px;background:#f3f3f1;color:#6d766e}.st-find:focus-within{border-color:#92b195;background:#fff}.st-find-ic{display:inline-flex}.st-find-ic svg{width:14px;height:14px}.st-find-in{flex:1 1 auto;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:13px;color:#3b463d}.st-tool{flex:0 0 auto;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:none;color:#6d766e;cursor:pointer}.st-tool:hover{background:#f3f3f1;color:#3b463d}.st-tool:focus-visible{outline:2px solid #92b195;outline-offset:-2px}.st-tool svg{width:16px;height:16px}.st-tree{display:flex;flex-direction:column;padding:0 0 8px;outline:0}.st-row{position:relative;display:flex;align-items:center;gap:6px;height:28px;box-sizing:border-box;padding-block:0;padding-inline:calc(8px + var(--st-depth) * 14px) 10px;font-size:13px;color:#3b463d;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;outline:0}.st-row:hover{background:#f3f3f1}.st-row:focus-visible{box-shadow:inset 0 0 0 1px #92b195}.st-row.active{background:#92b1953d}.st-row.active:after{content:"";position:absolute;inset-inline-start:0;top:4px;bottom:4px;width:3px;border-start-end-radius:3px;border-end-end-radius:3px;background:#92b195}.st-row.alias.active{background:#92b1951f}.st-sec{position:sticky;top:46px;z-index:2;height:30px;margin-top:6px;background:#fff;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#6d766e;border-top:1px solid #eceee9}.st-sec:first-child{margin-top:0;border-top:0}.st-sec:hover{background:#fff;color:#3b463d}.st-cap{flex:0 0 auto;font:700 10px/1 system-ui,sans-serif;letter-spacing:.3px;padding:3px 6px;border-radius:999px;background:#92b195;color:#1d2a1f}.st-sec-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.st-twisty,.st-twisty-sp{flex:0 0 16px;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:#6d766e}.st-twisty svg{width:14px;height:14px;transition:transform .12s ease}.st-row[aria-expanded=true]>.st-twisty svg{transform:rotate(90deg)}.st:dir(rtl) .st-twisty svg{transform:scaleX(-1)}.st:dir(rtl) .st-row[aria-expanded=true]>.st-twisty svg{transform:rotate(90deg)}.st-ic{flex:0 0 16px;display:inline-flex;color:#6d766e}.st-ic svg{width:16px;height:16px}.st-row.active .st-ic{color:#5f8a63}.st-label{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.st-desc{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;font:11px/1 ui-monospace,Menlo,monospace;color:#8a928b}.st-part{flex:0 0 auto;font:600 9px/1 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.3px;padding:2px 4px;border:1px solid #92b195;border-radius:4px;color:#5f8a63}.st-count{flex:0 0 auto;margin-inline-start:auto;min-width:18px;text-align:right;font-size:11px;font-weight:500;letter-spacing:0;color:#6d766e}.st-guide{position:absolute;top:0;bottom:0;inset-inline-start:calc(15px + var(--st-g) * 14px);border-inline-start:1px solid #dfe2db;pointer-events:none}.st-row:hover>.st-guide{border-inline-start-color:#c4c8c0}.st-empty{margin:12px;font-size:13px;color:#6d766e}.st-activity{display:flex;flex-direction:column;gap:4px}.st-act{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:44px;margin-inline-start:172px;padding:0;border:0;border-radius:10px;background:none;color:#6d766e;cursor:pointer}.st-act:hover,.st-act.active{background:#f3f3f1;color:#3b463d}.st-act:focus-visible{outline:2px solid #92b195;outline-offset:-2px}.st-act-ic{display:inline-flex}.st-act-ic svg{width:20px;height:20px}.st-act-n{position:absolute;right:6px;bottom:5px;font:700 9px/1 system-ui,sans-serif;color:#5f8a63}',dp='.st { display:flex; flex-direction:column; margin:0 -12px; }.st-bar { position:sticky; top:0; z-index:3; display:flex; align-items:center; gap:6px; padding:8px 12px 8px; background:#ffffff; }.st-find { flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:6px; height:30px; padding:0 8px; border:1px solid #d1d4cd; border-radius:8px; background:#f3f3f1; color:#6d766e; }.st-find:focus-within { border-color:#92b195; background:#ffffff; }.st-find-ic { display:inline-flex; } .st-find-ic svg { width:14px; height:14px; }.st-find-in { flex:1 1 auto; min-width:0; border:0; outline:0; background:none; font:inherit; font-size:13px; color:#3b463d; }.st-tool { flex:0 0 auto; width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:8px; background:none; color:#6d766e; cursor:pointer; }.st-tool:hover { background:#f3f3f1; color:#3b463d; } .st-tool:focus-visible { outline:2px solid #92b195; outline-offset:-2px; }.st-tool svg { width:16px; height:16px; }.st-tree { display:flex; flex-direction:column; padding:0 0 8px; outline:0; }.st-row { position:relative; display:flex; align-items:center; gap:6px; height:28px; box-sizing:border-box; padding-block:0; padding-inline:calc(8px + var(--st-depth) * 14px) 10px; font-size:13px; color:#3b463d; cursor:pointer; white-space:nowrap; user-select:none; outline:0; }.st-row:hover { background:#f3f3f1; }.st-row:focus-visible { box-shadow:inset 0 0 0 1px #92b195; }.st-row.active { background:rgba(146,177,149,.24); }.st-row.active::after { content:""; position:absolute; inset-inline-start:0; top:4px; bottom:4px; width:3px; border-start-end-radius:3px; border-end-end-radius:3px; background:#92b195; }.st-row.alias.active { background:rgba(146,177,149,.12); }.st-sec { position:sticky; top:46px; z-index:2; height:30px; margin-top:6px; background:#ffffff; font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#6d766e; border-top:1px solid #eceee9; }.st-sec:first-child { margin-top:0; border-top:0; }.st-sec:hover { background:#ffffff; color:#3b463d; }.st-cap { flex:0 0 auto; font:700 10px/1 system-ui,sans-serif; letter-spacing:.3px; padding:3px 6px; border-radius:999px; background:#92b195; color:#1d2a1f; }.st-sec-label { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }.st-twisty, .st-twisty-sp { flex:0 0 16px; width:16px; height:16px; display:inline-flex; align-items:center; justify-content:center; color:#6d766e; }.st-twisty svg { width:14px; height:14px; transition:transform .12s ease; }.st-row[aria-expanded="true"] > .st-twisty svg { transform:rotate(90deg); }.st:dir(rtl) .st-twisty svg { transform:scaleX(-1); } .st:dir(rtl) .st-row[aria-expanded="true"] > .st-twisty svg { transform:rotate(90deg); }.st-ic { flex:0 0 16px; display:inline-flex; color:#6d766e; } .st-ic svg { width:16px; height:16px; }.st-row.active .st-ic { color:#5f8a63; }.st-label { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }.st-desc { flex:1 1 0; min-width:0; overflow:hidden; text-overflow:ellipsis; font:11px/1 ui-monospace,Menlo,monospace; color:#8a928b; }.st-part { flex:0 0 auto; font:600 9px/1 system-ui,sans-serif; text-transform:uppercase; letter-spacing:.3px; padding:2px 4px; border:1px solid #92b195; border-radius:4px; color:#5f8a63; }.st-count { flex:0 0 auto; margin-inline-start:auto; min-width:18px; text-align:right; font-size:11px; font-weight:500; letter-spacing:0; color:#6d766e; }.st-guide { position:absolute; top:0; bottom:0; inset-inline-start:calc(15px + var(--st-g) * 14px); border-inline-start:1px solid #dfe2db; pointer-events:none; }.st-row:hover > .st-guide { border-inline-start-color:#c4c8c0; }.st-empty { margin:12px; font-size:13px; color:#6d766e; }.st-activity { display:flex; flex-direction:column; gap:4px; }.st-act { position:relative; display:flex; align-items:center; justify-content:center; width:48px; height:44px; margin-inline-start:172px; padding:0; border:0; border-radius:10px; background:none; color:#6d766e; cursor:pointer; }.st-act:hover, .st-act.active { background:#f3f3f1; color:#3b463d; }.st-act:focus-visible { outline:2px solid #92b195; outline-offset:-2px; }.st-act-ic { display:inline-flex; } .st-act-ic svg { width:20px; height:20px; }.st-act-n { position:absolute; right:6px; bottom:5px; font:700 9px/1 system-ui,sans-serif; color:#5f8a63; }',up='',fp={filterPlaceholder:"Filter plugins",collapseAll:"Collapse all",noMatch:"No plugin matches “{query}”.",treeLabel:"Plugins by capability",openSection:"Open {cap}, {label}",part:"part"},hp='',Dn=e=>e.canonical!==void 0?!!e.canonical:e.depth===0,gp=e=>e.canonical!==void 0?!e.canonical&&!e.folder:e.depth>0,$p=mo({name:"StudioTree",props:{sections:{type:Array,default:()=>[]},active:{type:String,default:""},collapsed:{type:Boolean,default:!1},pick:{type:Function,default:null},expand:{type:Function,default:null},strings:{type:Object,default:()=>({})}},emits:["select"],setup(){En(dp,"studio-tree")},data(){const e=this.readState();return{query:"",focusId:"",secClosed:e.sec||{},nodeOpen:e.node||{},chev:hp,collapseAllSvg:up}},computed:{byId(){const e=new Map;for(const t of this.sections)for(const o of t.nodes)e.set(o.id,o);return e},q(){return this.query.trim().toLowerCase()},kept(){if(!this.q)return null;const e=new Set;for(const t of this.sections)for(const o of t.nodes){if(!(o.label.toLowerCase().includes(this.q)||String(o.desc||"").toLowerCase().includes(this.q)))continue;e.add(o.id);let s=o.parent;for(;s;)e.add(s),s=this.byId.get(s)&&this.byId.get(s).parent}return e},visible(){const e=[];for(const t of this.sections){const o=this.kept?t.nodes.filter(n=>this.kept.has(n.id)):t.nodes;if(!(this.kept&&!o.length)&&(e.push({id:"sec:"+t.id,section:!0,sectionId:t.id,level:1,depth:0,expandable:!0,cap:t.cap,badge:t.badge||"CAP "+t.cap,label:t.label,title:t.title||"",count:t.nodes.filter(n=>n.depth===0).length}),!(!this.kept&&this.secClosed[t.id])))for(const n of o)!this.kept&&!this.ancestorsOpen(n)||e.push({...n,sectionId:t.id,level:n.depth+2,expandable:!!n.kids,alias:gp(n)})}return e},activeSectionId(){for(const e of this.sections)if(e.nodes.some(t=>Dn(t)&&t.target===this.active))return e.id;return""}},watch:{active:{handler(){this.reveal()},immediate:!0},sections(){this.reveal()},query(e){e&&this.visible.length&&(this.focusId=this.visible[0].id)}},methods:{svg(e){return e?Vi(e):""},str(e,t){let o=this.strings[e]||fp[e]||e;if(t)for(const n in t)o=o.split("{"+n+"}").join(String(t[n]));return o},storageKey(){return"dx-studio-tree:"+(typeof location<"u"&&location.pathname||"")},readState(){try{return JSON.parse(window.localStorage.getItem(this.storageKey())||"{}")||{}}catch{return{}}},saveState(){try{window.localStorage.setItem(this.storageKey(),JSON.stringify({sec:this.secClosed,node:this.nodeOpen}))}catch{}},ancestorsOpen(e){let t=e.parent;for(;t;){if(!this.nodeOpen[t])return!1;t=this.byId.get(t)&&this.byId.get(t).parent}return!0},isOpen(e){return this.kept?!0:e.section?!this.secClosed[e.sectionId]:!!this.nodeOpen[e.id]},setOpen(e,t){e.section?this.secClosed={...this.secClosed,[e.sectionId]:!t}:this.nodeOpen={...this.nodeOpen,[e.id]:t},this.saveState()},toggle(e){e.expandable&&this.setOpen(e,!this.isOpen(e))},collapseAll(){this.nodeOpen={},this.saveState();const e=this.visible.find(t=>!t.section&&t.target===this.active&&Dn(t));e&&(this.focusId=e.id)},rowClass(e){return{"st-row":!0,"st-sec":!!e.section,active:!e.section&&e.target===this.active,alias:!!e.alias}},setRow(e,t){this._rows||(this._rows={}),t?this._rows[e]=t:delete this._rows[e]},activate(e){if(e.section){this.toggle(e);return}e.target&&(this.pick?this.pick(e.target):this.$emit("select",e.target))},onRowClick(e){this.focusId=e.id,this.activate(e)},focusRow(e){e&&(this.focusId=e,this.$nextTick(()=>{const t=this._rows&&this._rows[e];t&&(t.focus({preventScroll:!0}),t.scrollIntoView({block:"nearest"}))}))},onTreeKey(e){const t=this.visible;if(!t.length)return;const o=Math.max(0,t.findIndex(i=>i.id===this.focusId)),n=t[o],s=i=>i.section?"":i.parent||"sec:"+i.sectionId;switch(e.key){case"ArrowDown":this.focusRow((t[o+1]||n).id);break;case"ArrowUp":this.focusRow((t[o-1]||n).id);break;case"Home":this.focusRow(t[0].id);break;case"End":this.focusRow(t[t.length-1].id);break;case"ArrowRight":if(!n.expandable)break;this.isOpen(n)?t[o+1]&&t[o+1].level>n.level&&this.focusRow(t[o+1].id):this.setOpen(n,!0);break;case"ArrowLeft":n.expandable&&this.isOpen(n)&&!this.kept?this.setOpen(n,!1):this.focusRow(s(n));break;case"Enter":case" ":this.activate(n);break;default:if(e.key.length===1&&/\S/.test(e.key)&&!e.ctrlKey&&!e.metaKey&&!e.altKey){const i=e.key.toLowerCase(),r=t.slice(o+1).concat(t.slice(0,o+1)).find(l=>String(l.label).toLowerCase().startsWith(i));r&&this.focusRow(r.id);break}return}e.preventDefault()},onFindKey(e){e.key==="Escape"?(this.query="",e.preventDefault()):e.key==="ArrowDown"&&this.visible.length&&(this.focusRow(this.visible[0].id),e.preventDefault())},reveal(){if(!this.active||!this.sections.length)return;let e=null;for(const t of this.sections)if(e=t.nodes.find(o=>Dn(o)&&o.target===this.active),e){this.secClosed[t.id]&&(this.secClosed={...this.secClosed,[t.id]:!1},this.saveState());break}if(e)for(let t=e.parent;t;){const o=this.byId.get(t);if(!o)break;if(o.target===this.active&&!this.nodeOpen[t]){e=o;break}t=o.parent}if(e){let t=e.parent,o=!1;for(;t;)this.nodeOpen[t]||(this.nodeOpen={...this.nodeOpen,[t]:!0},o=!0),t=this.byId.get(t)&&this.byId.get(t).parent;o&&this.saveState()}e&&((!this.focusId||!this.byId.has(this.focusId)||this.byId.get(this.focusId).target!==this.active)&&(this.focusId=e.id),this.$nextTick(()=>{const t=this._rows&&this._rows[e.id];t&&t.scrollIntoView&&t.scrollIntoView({block:"nearest"})}))},openSectionFromActivity(e){this.secClosed[e]&&(this.secClosed={...this.secClosed,[e]:!1},this.saveState()),this.expand&&this.expand(),this.$nextTick(()=>this.focusRow("sec:"+e))}}}),mp={key:0,class:"st-activity"},bp=["aria-label","onClick"],vp=["innerHTML"],kp={class:"st-act-n","aria-hidden":"true"},yp={key:1,class:"st"},_p={class:"st-bar"},wp={class:"st-find"},xp=["innerHTML"],Sp=["placeholder","aria-label"],Mp=["aria-label","title"],Lp=["innerHTML"],Tp=["aria-label"],Cp=["aria-level","aria-expanded","aria-selected","tabindex","title","onClick","onFocus"],Op=["innerHTML"],Pp={class:"st-cap"},Ap={class:"st-sec-label"},Np={class:"st-count"},Ep=["innerHTML","onClick"],Fp={key:1,class:"st-twisty-sp","aria-hidden":"true"},Ip=["innerHTML"],Rp={class:"st-label"},Dp={key:2,class:"st-part"},Hp={class:"st-desc"},Wp={key:3,class:"st-count"},Up={key:0,class:"st-empty"};function zp(e,t,o,n,s,i){return e.collapsed?(M(),L("div",mp,[(M(!0),L(Y,null,Oe(e.sections,a=>(M(),L("button",{key:a.id,type:"button",class:he(["st-act",{active:a.id===e.activeSectionId}]),"aria-label":e.str("openSection",{cap:a.badge||"CAP "+a.cap,label:a.label}),onClick:r=>e.openSectionFromActivity(a.id)},[v("span",{class:"st-act-ic","aria-hidden":"true",innerHTML:e.svg(a.icon)},null,8,vp),v("span",kp,T(a.short||a.cap),1)],10,bp))),128))])):(M(),L("div",yp,[v("div",_p,[v("label",wp,[v("span",{class:"st-find-ic","aria-hidden":"true",innerHTML:e.svg("search")},null,8,xp),gt(v("input",{ref:"find",type:"search",class:"st-find-in","onUpdate:modelValue":t[0]||(t[0]=a=>e.query=a),placeholder:e.str("filterPlaceholder"),"aria-label":e.str("filterPlaceholder"),onKeydown:t[1]||(t[1]=(...a)=>e.onFindKey&&e.onFindKey(...a))},null,40,Sp),[[Nn,e.query]])]),v("button",{type:"button",class:"st-tool","aria-label":e.str("collapseAll"),title:e.str("collapseAll"),onClick:t[2]||(t[2]=(...a)=>e.collapseAll&&e.collapseAll(...a))},[v("span",{"aria-hidden":"true",innerHTML:e.collapseAllSvg},null,8,Lp)],8,Mp)]),v("div",{class:"st-tree",role:"tree","aria-label":e.str("treeLabel"),onKeydown:t[3]||(t[3]=(...a)=>e.onTreeKey&&e.onTreeKey(...a))},[(M(!0),L(Y,null,Oe(e.visible,a=>(M(),L("div",{key:a.id,ref_for:!0,ref:r=>e.setRow(a.id,r),role:"treeitem","aria-level":a.level,"aria-expanded":a.expandable?String(e.isOpen(a)):null,"aria-selected":a.section?null:String(a.target===e.active),tabindex:a.id===e.focusId?0:-1,class:he(e.rowClass(a)),style:lt({"--st-depth":a.depth}),title:a.title||null,onClick:r=>e.onRowClick(a),onFocus:r=>e.focusId=a.id},[a.section?(M(),L(Y,{key:0},[v("span",{class:"st-twisty","aria-hidden":"true",innerHTML:e.chev},null,8,Op),v("span",Pp,T(a.badge),1),v("span",Ap,T(a.label),1),v("span",Np,T(a.count),1)],64)):(M(),L(Y,{key:1},[(M(!0),L(Y,null,Oe(a.depth,r=>(M(),L("span",{key:r,class:"st-guide",style:lt({"--st-g":r-1}),"aria-hidden":"true"},null,4))),128)),a.expandable?(M(),L("span",{key:0,class:"st-twisty","aria-hidden":"true",innerHTML:e.chev,onClick:Ii(r=>e.toggle(a),["stop"])},null,8,Ep)):(M(),L("span",Fp)),v("span",{class:"st-ic","aria-hidden":"true",innerHTML:e.svg(a.icon)},null,8,Ip),v("span",Rp,T(a.label),1),a.part?(M(),L("span",Dp,T(e.str("part")),1)):V("",!0),v("span",Hp,T(a.desc),1),a.expandable?(M(),L("span",Wp,T(a.kids),1)):V("",!0)],64))],46,Cp))),128)),e.query&&!e.visible.length?(M(),L("p",Up,T(e.str("noMatch",{query:e.query})),1)):V("",!0)],40,Tp)]))}const Bp=Po($p,[["render",zp],["styles",[pp]]]),Ao=[{code:"en",name:"English",nativeName:"English",flag:"🇺🇸"},{code:"es",name:"Spanish",nativeName:"Español",flag:"🇪🇸"},{code:"fr",name:"French",nativeName:"Français",flag:"🇫🇷"},{code:"pt",name:"Portuguese",nativeName:"Português",flag:"🇵🇹"},{code:"ar",name:"Arabic",nativeName:"العربية",flag:"🇸🇦",dir:"rtl"},{code:"ru",name:"Russian",nativeName:"Русский",flag:"🇷🇺"},{code:"de",name:"German",nativeName:"Deutsch",flag:"🇩🇪",hideFromSwitcher:!0},{code:"hi",name:"Hindi",nativeName:"हिन्दी",flag:"🇮🇳",hideFromSwitcher:!0},{code:"it",name:"Italian",nativeName:"Italiano",flag:"🇮🇹",hideFromSwitcher:!0},{code:"ro",name:"Romanian",nativeName:"Română",flag:"🇷🇴",hideFromSwitcher:!0},{code:"zh",name:"Chinese",nativeName:"中文",flag:"🇨🇳",hideFromSwitcher:!0}];Ao.filter(e=>!e.hideFromSwitcher);function jp(e){return Ao.find(t=>t.code===e)}function Hn(e){const t=String(e||"").split("-")[0].toLowerCase();return Ao.some(o=>o.code===t)?t:"en"}const Ji="doxa-maps:locale";function Vp(){try{const e=localStorage.getItem(Ji);if(e)return Hn(e)}catch{}return Hn(navigator==null?void 0:navigator.language)}function Kp(e){try{localStorage.setItem(Ji,e)}catch{}}const No="__doxaMapToken",Xi="doxa:map-token",Zi="__doxaMapTokenBridge",jt=()=>{if(typeof window>"u")return"";const e=window[No];return typeof e=="string"?e:""};function Qi(e){if(typeof window>"u")return"";ea();const t=typeof e=="string"?e.trim():"";if(!t||t===jt())return jt();window[No]=t;try{window.dispatchEvent(new CustomEvent(Xi,{detail:t}))}catch{}return t}function qp(){var t;if(typeof window>"u")return;const e=jt()||typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN;if(ea(),window[No]="",!((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))try{window.MAP_TOKEN=""}catch{}if(e)try{window.dispatchEvent(new CustomEvent(Xi,{detail:""}))}catch{}}function ea(){var t;if(typeof window>"u"||window[Zi]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!jt()&&(window[No]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return jt()},set(o){Qi(o)}}),window[Zi]=!0}catch{}}const Gp=":host{display:block;position:relative;height:var(--plugin-studio-height, 85vh);min-height:480px}:host([hidden]){display:none}.ps-logo{display:inline-flex;align-items:center}.ps-logo svg{display:block}.ps-count{color:#6d766e}.vtl-top{position:relative;z-index:3}.vtl-body{isolation:isolate}.ps-token{position:relative;display:inline-flex}.ps-show-header{position:fixed;top:8px;inset-inline-end:8px;z-index:2147483000;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #d1d4cd;border-radius:999px;background:#fffffff0;color:#3b463d;font:600 12px system-ui,sans-serif;cursor:pointer;box-shadow:0 4px 14px #0000002e}.ps-show-header:hover,.ps-show-header:focus-visible{background:#fff;outline:2px solid #92b195}.ps-token-dot{width:8px;height:8px;border-radius:50%;background:#b8bdb4}.ps-token-dot.is-yours,.ps-token-dot.is-url{background:#92b195}.ps-token-dot.is-built{background:#c9b36a}.ps-token-dot.is-none{background:#d27a6a}.ps-token-panel{position:absolute;top:100%;inset-inline-end:0;margin-top:4px;z-index:30;width:min(340px,90vw);display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #d1d4cd;border-radius:10px;background:#fff;box-shadow:0 12px 32px #00000040;color:#3b463d;font-size:12px}.ps-token-label{display:flex;flex-direction:column;gap:4px}.ps-token-input{font:inherit;font-size:12px;padding:6px 8px;border:1px solid #d1d4cd;border-radius:7px;background:#f8f8f6;color:#3b463d;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.ps-token-row{display:flex;gap:8px}.ps-token-apply,.ps-token-clear{font:inherit;font-size:12px;padding:5px 12px;border-radius:7px;border:1px solid #d1d4cd;background:#d1d4cd;color:#3b463d;cursor:pointer}.ps-token-apply{background:#92b195;border-color:#92b195;color:#fff}.ps-token-apply:disabled{opacity:.6;cursor:progress}.ps-token-status{margin:0}.ps-token-head{margin:0;font-weight:600;font-size:12px}.ps-token-status.err{color:#b3412f}.ps-token-note{margin:0;color:#6d766e}.ps-locale{position:relative;display:inline-flex}.ps-locale-btn{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12px;padding:4px 9px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer}.ps-locale-btn:hover{background:#d1d4cd}.ps-flag{font-size:13px;line-height:1}.ps-locale-name{max-width:11ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-token-btn .ps-locale-name{max-width:none}.ps-dots{color:#6d766e}.ps-locale-menu{position:absolute;top:100%;right:0;margin-top:4px;z-index:30;min-width:180px;list-style:none;padding:6px;border:1px solid #d1d4cd;border-radius:10px;background:#fff;box-shadow:0 12px 32px #00000080;max-height:320px;overflow:auto}.ps-locale-opt{display:flex;align-items:center;gap:8px;width:100%;text-align:left;font:inherit;font-size:13px;padding:7px 9px;border:0;border-radius:7px;background:none;color:#3b463d;cursor:pointer}.ps-locale-opt:hover,.ps-locale-opt.active{background:#d1d4cd;color:#3b463d}.ps-locale-opt.active .ps-locale-name{color:#92b195}.ps-locale-en{margin-left:auto;font-size:11px;color:#6d766e}.ps-toolbar{display:flex;flex-direction:column;gap:8px;padding:10px 12px 0}.ps-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ps-bar-t{flex:1 1 auto;min-width:0}.ps-bar-t b{font-size:15px;color:#3b463d}.ps-bar-sub{display:block;font-size:12px;color:#6d766e}.ps-btn{font:inherit;font-size:12px;padding:5px 10px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer;white-space:nowrap}.ps-btn:hover{background:#d1d4cd}.ps-embed{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid #d1d4cd;border-radius:8px;background:#f3f3f1}.ps-embed label{font-size:12px;color:#6d766e;display:flex;justify-content:space-between;align-items:center}.ps-embed textarea{width:100%;height:58px;font:11px/1.35 ui-monospace,Menlo,monospace;border:1px solid #d1d4cd;border-radius:6px;background:#fff;color:#3b463d;padding:6px;resize:vertical}.ps-stage{position:absolute;top:10px;right:12px;bottom:12px;left:12px;border:1px solid #d1d4cd;border-radius:10px;overflow:hidden;background:#f3f3f1}.ps-pane{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;--profile-min-h: 0}.ps-slot{position:relative;min-height:100%}.ps-slot>*{min-height:0;max-height:none}.ps-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;color:#6d766e;font-size:13px;padding:20px}.ps-hint.err{color:#f87171}.ps-hint small{color:#6d766e}",Eo="plugin-studio:mapbox-token",Fo="plugin-studio:mapbox-token-url",ta="plugin-studio:header-hidden",oa="plugin-studio:map-provider";function kt(e){try{return typeof window<"u"&&window.localStorage.getItem(e)||""}catch{return""}}function yt(e,t){try{t?window.localStorage.setItem(e,t):window.localStorage.removeItem(e)}catch{}}const Yp=` +`,mc=mo({name:"VerticalTabsLayout",components:{BackToTopButton:ec},props:{active:{type:String,default:""},title:{type:String,default:""},items:{type:Array,default:()=>[]},groups:{type:Array,default:()=>[]},navLabel:{type:String,default:"Sections"},labels:{type:Object,default:()=>({})},initialNavOpen:{type:Boolean,default:!0},header:{type:Boolean,default:!0},initialRailCollapsed:{type:Boolean,default:!1}},emits:["update:active"],setup(){return En($c,"vertical-tabs-layout"),{T:fc}},data(){return{navOpen:this.initialNavOpen,railCollapsed:this.initialRailCollapsed,_tabEls:{},folderOverride:{},narrow:!1,_mql:null,_onMedia:null,activatedKeys:{},hostState:{},hostError:{},_hostSlots:{},_hostMounted:{},hostEls:{}}},computed:{fabShown(){return this.narrow&&!this.header&&!this.navOpen},activeHostEl(){return this.hostEls[this.active]||null},railShown(){return this.narrow?this.navOpen:!0},allRows(){if(this.groups&&this.groups.length){const e=[];for(const t of this.groups)for(const o of t.rows||[])e.push(o);return e}return this.items},orderedKeys(){return this.allRows.map(e=>e.key)},elementRows(){return this.allRows.filter(e=>e&&e.element)},mountedElementRows(){return this.elementRows.filter(e=>this.activatedKeys[e.key])}},watch:{active:{immediate:!0,handler(e){this.activateElement(e)}}},mounted(){try{window.matchMedia&&(this._mql=window.matchMedia("(max-width: 760px)"),this.narrow=this._mql.matches,this.reconcileForWidth(),this._onMedia=e=>{this.narrow=e.matches,this.reconcileForWidth()},this._mql.addEventListener?this._mql.addEventListener("change",this._onMedia):this._mql.addListener&&this._mql.addListener(this._onMedia))}catch{}this.$nextTick(()=>this.activateElement(this.active))},beforeUnmount(){try{this._mql&&this._onMedia&&(this._mql.removeEventListener?this._mql.removeEventListener("change",this._onMedia):this._mql.removeListener&&this._mql.removeListener(this._onMedia))}catch{}this._mql=null,this._onMedia=null},methods:{registerTab(e,t){t&&(this._tabEls[e]=t)},isNarrow(){return this.narrow},reconcileForWidth(){this.narrow?(this.navOpen=!1,this.railCollapsed=!1):this.navOpen=!0},label(e){const t={toggleList:"Toggle list",openViews:"Open the list of views",expandList:"Expand list",collapseList:"Collapse list",collapse:"Collapse"};return this.labels&&this.labels[e]||t[e]},expandRail(){!this.narrow&&this.railCollapsed&&(this.railCollapsed=!1)},toggleRail(){this.narrow?this.navOpen=!this.navOpen:this.railCollapsed=!this.railCollapsed},setHostSlot(e,t){t&&(this._hostSlots[e]=t,this.$nextTick(()=>this.mountHostElement(e)))},activateElement(e){!e||!this.elementRows.find(o=>o.key===e)||(this.activatedKeys[e]||(this.activatedKeys={...this.activatedKeys,[e]:!0},this.$nextTick(()=>this.watchContextLoss(e)),this.hostState={...this.hostState,[e]:"loading"}),this.$nextTick(()=>this.mountHostElement(e)))},deepCanvases(e,t=[]){if(!e)return t;for(const o of e.querySelectorAll("*"))o.tagName==="CANVAS"&&t.push(o),o.shadowRoot&&this.deepCanvases(o.shadowRoot,t);return t},watchContextLoss(e){const t=this._hostSlots[e];if(t)for(const o of this.deepCanvases(t))o.__vtlLossBound||(o.__vtlLossBound=!0,o.addEventListener("webglcontextlost",()=>{this.hostState={...this.hostState,[e]:"lost"}},{once:!0}))},reloadHostElement(e){const t=this._hostSlots[e];t&&(t.innerHTML=""),this._hostMounted[e]=!1,this.hostState={...this.hostState,[e]:"loading"},this.$nextTick(()=>this.mountHostElement(e))},mountHostElement(e){if(this._hostMounted[e])return;const t=this.elementRows.find(n=>n.key===e),o=this._hostSlots[e];!t||!o||(this._hostMounted[e]=!0,this.hostState={...this.hostState,[e]:"loading"},hc(t.src).then(()=>gc(t.element)).then(()=>{pc(t.element,t.src),o.innerHTML="";const n=document.createElement(t.element),s=t.attrs||{};for(const i in s){const a=s[i],r=a!=null&&typeof a=="object"?JSON.stringify(a):String(a);try{n[i]=a}catch{}try{n.setAttribute(i,r)}catch{}}n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",o.appendChild(n);for(const i of[0,250,1500])setTimeout(()=>this.watchContextLoss(e),i);this.hostState={...this.hostState,[e]:"ready"}}).catch(n=>{this._hostMounted[e]=!1,this.hostState={...this.hostState,[e]:"error"},this.hostError={...this.hostError,[e]:n&&n.message||String(n)}}))},iconSvg(e){return e?Vi(e):""},initial(e){const t=(e||"").trim();return t?t.charAt(0).toUpperCase():"•"},isFolderClosed(e){const t=this.folderOverride[e.key];return t!=null?!t:e.open!==!0},toggleFolder(e){const t=this.folderOverride[e],o=(this.groups||[]).find(s=>s.key===e),n=t??(o&&o.open===!0);this.folderOverride={...this.folderOverride,[e]:!n}},pick(e){this.$emit("update:active",e),this.narrow&&(this.navOpen=!1)},onKey(e){const t=this.orderedKeys;if(!t.length)return;const o=t.indexOf(this.active);let n=-1;if(e.key==="ArrowDown"||e.key==="ArrowRight")n=(o+1)%t.length;else if(e.key==="ArrowUp"||e.key==="ArrowLeft")n=(o-1+t.length)%t.length;else if(e.key==="Home")n=0;else if(e.key==="End")n=t.length-1;else return;e.preventDefault();const s=t[n];this.pick(s),this.$nextTick(()=>{const i=this._tabEls[s];i&&i.focus&&i.focus()})}}}),bc={key:0,class:"vtl-top"},vc=["aria-expanded","aria-label"],kc={class:"vtl-brand"},yc={class:"vtl-title"},_c={class:"vtl-meta"},xc=["aria-expanded","aria-label"],wc={class:"vtl-body"},Sc=["aria-label","aria-hidden","role","aria-orientation"],Mc=["aria-expanded","aria-label"],Lc=["innerHTML"],Tc={class:"vtl-collapse-tx"},Cc=["aria-expanded","onClick"],Oc={key:0,class:"vtl-cap"},Pc={class:"vtl-tl"},Ac={key:1,class:"vtl-td"},Nc=["innerHTML"],Ec={key:1,class:"vtl-tier"},Fc={key:0,class:"vtl-cap"},Ic={class:"vtl-tl"},Rc={key:1,class:"vtl-td"},Dc={class:"vtl-rows"},Hc=["aria-selected","tabindex","onClick"],Wc=["innerHTML"],Uc={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},zc={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Bc={class:"vtl-tab-text"},jc={class:"vtl-tab-label"},Vc={key:0,class:"vtl-tab-badge"},Kc={key:0,class:"vtl-tab-sub"},qc=["innerHTML"],Gc=["aria-selected","tabindex","onClick"],Yc=["innerHTML"],Jc={key:1,class:"vtl-tab-emoji","aria-hidden":"true"},Xc={key:2,class:"vtl-tab-fallback","aria-hidden":"true"},Zc={class:"vtl-tab-text"},Qc={class:"vtl-tab-label"},ep={key:0,class:"vtl-tab-sub"},tp={class:"vtl-main"},op={class:"vtl-content"},np=["hidden"],sp={key:0,class:"vtl-host-hint"},ip={key:1,class:"vtl-host-hint"},ap=["onClick"],rp={key:2,class:"vtl-host-hint err"};function lp(e,t,o,n,s,i){const a=gn("BackToTopButton");return M(),L("div",{class:he(["vtl",{"nav-open":e.navOpen,"rail-collapsed":e.railCollapsed,"no-header":!e.header}]),style:lt(e.fabShown?{"--map-fab-clearance":"calc(56px + env(safe-area-inset-bottom))","--map-fab-beside":"calc(64px + env(safe-area-inset-left))"}:null)},[e.header?(M(),L("header",bc,[b("button",{class:"vtl-menu",type:"button","aria-expanded":String(e.navOpen),onClick:t[0]||(t[0]=r=>e.navOpen=!e.navOpen),"aria-label":e.label("toggleList")},"☰",8,vc),b("span",kc,[Nt(e.$slots,"brand")]),b("b",yc,T(e.title),1),b("span",_c,[Nt(e.$slots,"meta")])])):V("",!0),e.fabShown?(M(),L("button",{key:1,class:"vtl-fab",type:"button","aria-expanded":String(e.navOpen),onClick:t[1]||(t[1]=r=>e.navOpen=!0),"aria-label":e.label("openViews")},"☰",8,xc)):V("",!0),e.narrow?(M(),Rt(a,{key:2,target:e.activeHostEl,labels:{backToTop:e.T("actions.backToTop","Back to top")}},null,8,["target","labels"])):V("",!0),b("div",wc,[b("nav",{class:"vtl-nav","aria-label":e.navLabel,"aria-hidden":String(!e.railShown),role:e.$slots.rail?null:"tablist","aria-orientation":e.$slots.rail?null:"vertical"},[b("button",{type:"button",class:"vtl-collapse","aria-expanded":String(!e.railCollapsed),"aria-label":e.railCollapsed?e.label("expandList"):e.label("collapseList"),onClick:t[2]||(t[2]=(...r)=>e.toggleRail&&e.toggleRail(...r))},[b("span",{class:"vtl-collapse-ic","aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,8,Lc),b("span",Tc,T(e.label("collapse")),1)],8,Mc),e.$slots.rail?Nt(e.$slots,"rail",{collapsed:e.railCollapsed&&!e.narrow,expand:e.expandRail,pick:e.pick},void 0,void 0,0):e.groups&&e.groups.length?(M(!0),L(Y,{key:1},Oe(e.groups,r=>(M(),L("div",{class:"vtl-grp",key:r.key},[r.folder?(M(),L("button",{key:0,type:"button",class:"vtl-tier vtl-tier-btn","aria-expanded":String(!e.isFolderClosed(r)),onClick:l=>e.toggleFolder(r.key)},[r.badge?(M(),L("span",Oc,T(r.badge),1)):V("",!0),b("span",Pc,T(r.label),1),r.count!=null?(M(),L("span",Ac,T(r.count),1)):V("",!0),b("span",{class:he(["vtl-chev",{open:!e.isFolderClosed(r)}]),"aria-hidden":"true",innerHTML:e.iconSvg("chevron")},null,10,Nc)],8,Cc)):(M(),L("div",Ec,[r.badge?(M(),L("span",Fc,T(r.badge),1)):V("",!0),b("span",Ic,T(r.label),1),r.count!=null?(M(),L("span",Rc,T(r.count),1)):V("",!0)])),gt(b("div",Dc,[(M(!0),L(Y,null,Oe(r.rows,l=>(M(),L("button",{key:l.key,type:"button",role:"tab",class:he(["vtl-tab",{active:l.key===e.active}]),"aria-selected":String(l.key===e.active),tabindex:l.key===e.active?0:-1,ref_for:!0,ref:p=>e.registerTab(l.key,p),onClick:p=>e.pick(l.key),onKeydown:t[3]||(t[3]=p=>e.onKey(p))},[l.icon?(M(),L("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(l.icon)},null,8,Wc)):l.emoji?(M(),L("span",Uc,T(l.emoji),1)):(M(),L("span",zc,T(e.initial(l.label)),1)),b("span",Bc,[b("span",jc,[Ae(T(l.label),1),l.badge?(M(),L("span",Vc,T(l.badge),1)):V("",!0)]),l.sub?(M(),L("span",Kc,[b("span",{innerHTML:l.sub},null,8,qc)])):V("",!0)])],42,Hc))),128))],512),[[Tn,!r.folder||!e.isFolderClosed(r)]])]))),128)):(M(!0),L(Y,{key:2},Oe(e.items,r=>(M(),L("button",{key:r.key,type:"button",role:"tab",class:he(["vtl-tab",{active:r.key===e.active}]),"aria-selected":String(r.key===e.active),tabindex:r.key===e.active?0:-1,ref_for:!0,ref:l=>e.registerTab(r.key,l),onClick:l=>e.pick(r.key),onKeydown:t[4]||(t[4]=l=>e.onKey(l))},[r.icon?(M(),L("span",{key:0,class:"vtl-tab-ic","aria-hidden":"true",innerHTML:e.iconSvg(r.icon)},null,8,Yc)):r.emoji?(M(),L("span",Jc,T(r.emoji),1)):(M(),L("span",Xc,T(e.initial(r.label)),1)),b("span",Zc,[b("span",Qc,T(r.label),1),r.sub?(M(),L("span",ep,T(r.sub),1)):V("",!0)])],42,Gc))),128))],8,Sc),b("main",tp,[e.header?Nt(e.$slots,"toolbar",{},void 0,void 0,0):V("",!0),b("div",op,[(M(!0),L(Y,null,Oe(e.mountedElementRows,r=>gt((M(),L("section",{key:r.key,class:"vtl-host",hidden:r.key!==e.active,ref_for:!0,ref:l=>{l?e.hostEls[r.key]=l:delete e.hostEls[r.key]}},[b("div",{class:"vtl-host-slot",ref_for:!0,ref:l=>e.setHostSlot(r.key,l)},null,512),e.hostState[r.key]==="loading"?(M(),L("div",sp,T(e.T("messages.loadingNamed","Loading {name}…").replace("{name}",r.label)),1)):e.hostState[r.key]==="lost"?(M(),L("div",ip,[Ae(T(e.T("messages.mapContextLost","This map was unloaded to free graphics memory."))+" ",1),b("button",{type:"button",class:"vtl-host-reload",onClick:l=>e.reloadHostElement(r.key)},T(e.T("buttons.reloadMap","Reload Map")),9,ap)])):e.hostState[r.key]==="error"?(M(),L("div",rp,[Ae(T(e.T("messages.couldNotLoadNamed","Could not load {name}.").replace("{name}",r.label)),1),t[5]||(t[5]=b("br",null,null,-1)),b("small",null,T(e.hostError[r.key]),1)])):V("",!0)],8,np)),[[Tn,r.key===e.active]])),128)),Nt(e.$slots,"default")])])])],6)}const cp=Po(mc,[["render",lp],["styles",[uc]]]),pp='.st{display:flex;flex-direction:column;margin:0 -12px}.st-bar{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fff}.st-find{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:6px;height:30px;padding:0 8px;border:1px solid #d1d4cd;border-radius:8px;background:#f3f3f1;color:#6d766e}.st-find:focus-within{border-color:#92b195;background:#fff}.st-find-ic{display:inline-flex}.st-find-ic svg{width:14px;height:14px}.st-find-in{flex:1 1 auto;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:13px;color:#3b463d}.st-tool{flex:0 0 auto;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:none;color:#6d766e;cursor:pointer}.st-tool:hover{background:#f3f3f1;color:#3b463d}.st-tool:focus-visible{outline:2px solid #92b195;outline-offset:-2px}.st-tool svg{width:16px;height:16px}.st-tree{display:flex;flex-direction:column;padding:0 0 8px;outline:0}.st-row{position:relative;display:flex;align-items:center;gap:6px;height:28px;box-sizing:border-box;padding-block:0;padding-inline:calc(8px + var(--st-depth) * 14px) 10px;font-size:13px;color:#3b463d;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;outline:0}.st-row:hover{background:#f3f3f1}.st-row:focus-visible{box-shadow:inset 0 0 0 1px #92b195}.st-row.active{background:#92b1953d}.st-row.active:after{content:"";position:absolute;inset-inline-start:0;top:4px;bottom:4px;width:3px;border-start-end-radius:3px;border-end-end-radius:3px;background:#92b195}.st-row.alias.active{background:#92b1951f}.st-sec{position:sticky;top:46px;z-index:2;height:30px;margin-top:6px;background:#fff;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#6d766e;border-top:1px solid #eceee9}.st-sec:first-child{margin-top:0;border-top:0}.st-sec:hover{background:#fff;color:#3b463d}.st-cap{flex:0 0 auto;font:700 10px/1 system-ui,sans-serif;letter-spacing:.3px;padding:3px 6px;border-radius:999px;background:#92b195;color:#1d2a1f}.st-sec-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.st-twisty,.st-twisty-sp{flex:0 0 16px;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:#6d766e}.st-twisty svg{width:14px;height:14px;transition:transform .12s ease}.st-row[aria-expanded=true]>.st-twisty svg{transform:rotate(90deg)}.st:dir(rtl) .st-twisty svg{transform:scaleX(-1)}.st:dir(rtl) .st-row[aria-expanded=true]>.st-twisty svg{transform:rotate(90deg)}.st-ic{flex:0 0 16px;display:inline-flex;color:#6d766e}.st-ic svg{width:16px;height:16px}.st-row.active .st-ic{color:#5f8a63}.st-label{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.st-desc{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;font:11px/1 ui-monospace,Menlo,monospace;color:#8a928b}.st-part{flex:0 0 auto;font:600 9px/1 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.3px;padding:2px 4px;border:1px solid #92b195;border-radius:4px;color:#5f8a63}.st-count{flex:0 0 auto;margin-inline-start:auto;min-width:18px;text-align:right;font-size:11px;font-weight:500;letter-spacing:0;color:#6d766e}.st-guide{position:absolute;top:0;bottom:0;inset-inline-start:calc(15px + var(--st-g) * 14px);border-inline-start:1px solid #dfe2db;pointer-events:none}.st-row:hover>.st-guide{border-inline-start-color:#c4c8c0}.st-empty{margin:12px;font-size:13px;color:#6d766e}.st-activity{display:flex;flex-direction:column;gap:4px}.st-act{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:44px;margin-inline-start:172px;padding:0;border:0;border-radius:10px;background:none;color:#6d766e;cursor:pointer}.st-act:hover,.st-act.active{background:#f3f3f1;color:#3b463d}.st-act:focus-visible{outline:2px solid #92b195;outline-offset:-2px}.st-act-ic{display:inline-flex}.st-act-ic svg{width:20px;height:20px}.st-act-n{position:absolute;right:6px;bottom:5px;font:700 9px/1 system-ui,sans-serif;color:#5f8a63}',dp='.st { display:flex; flex-direction:column; margin:0 -12px; }.st-bar { position:sticky; top:0; z-index:3; display:flex; align-items:center; gap:6px; padding:8px 12px 8px; background:#ffffff; }.st-find { flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:6px; height:30px; padding:0 8px; border:1px solid #d1d4cd; border-radius:8px; background:#f3f3f1; color:#6d766e; }.st-find:focus-within { border-color:#92b195; background:#ffffff; }.st-find-ic { display:inline-flex; } .st-find-ic svg { width:14px; height:14px; }.st-find-in { flex:1 1 auto; min-width:0; border:0; outline:0; background:none; font:inherit; font-size:13px; color:#3b463d; }.st-tool { flex:0 0 auto; width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:8px; background:none; color:#6d766e; cursor:pointer; }.st-tool:hover { background:#f3f3f1; color:#3b463d; } .st-tool:focus-visible { outline:2px solid #92b195; outline-offset:-2px; }.st-tool svg { width:16px; height:16px; }.st-tree { display:flex; flex-direction:column; padding:0 0 8px; outline:0; }.st-row { position:relative; display:flex; align-items:center; gap:6px; height:28px; box-sizing:border-box; padding-block:0; padding-inline:calc(8px + var(--st-depth) * 14px) 10px; font-size:13px; color:#3b463d; cursor:pointer; white-space:nowrap; user-select:none; outline:0; }.st-row:hover { background:#f3f3f1; }.st-row:focus-visible { box-shadow:inset 0 0 0 1px #92b195; }.st-row.active { background:rgba(146,177,149,.24); }.st-row.active::after { content:""; position:absolute; inset-inline-start:0; top:4px; bottom:4px; width:3px; border-start-end-radius:3px; border-end-end-radius:3px; background:#92b195; }.st-row.alias.active { background:rgba(146,177,149,.12); }.st-sec { position:sticky; top:46px; z-index:2; height:30px; margin-top:6px; background:#ffffff; font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#6d766e; border-top:1px solid #eceee9; }.st-sec:first-child { margin-top:0; border-top:0; }.st-sec:hover { background:#ffffff; color:#3b463d; }.st-cap { flex:0 0 auto; font:700 10px/1 system-ui,sans-serif; letter-spacing:.3px; padding:3px 6px; border-radius:999px; background:#92b195; color:#1d2a1f; }.st-sec-label { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }.st-twisty, .st-twisty-sp { flex:0 0 16px; width:16px; height:16px; display:inline-flex; align-items:center; justify-content:center; color:#6d766e; }.st-twisty svg { width:14px; height:14px; transition:transform .12s ease; }.st-row[aria-expanded="true"] > .st-twisty svg { transform:rotate(90deg); }.st:dir(rtl) .st-twisty svg { transform:scaleX(-1); } .st:dir(rtl) .st-row[aria-expanded="true"] > .st-twisty svg { transform:rotate(90deg); }.st-ic { flex:0 0 16px; display:inline-flex; color:#6d766e; } .st-ic svg { width:16px; height:16px; }.st-row.active .st-ic { color:#5f8a63; }.st-label { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }.st-desc { flex:1 1 0; min-width:0; overflow:hidden; text-overflow:ellipsis; font:11px/1 ui-monospace,Menlo,monospace; color:#8a928b; }.st-part { flex:0 0 auto; font:600 9px/1 system-ui,sans-serif; text-transform:uppercase; letter-spacing:.3px; padding:2px 4px; border:1px solid #92b195; border-radius:4px; color:#5f8a63; }.st-count { flex:0 0 auto; margin-inline-start:auto; min-width:18px; text-align:right; font-size:11px; font-weight:500; letter-spacing:0; color:#6d766e; }.st-guide { position:absolute; top:0; bottom:0; inset-inline-start:calc(15px + var(--st-g) * 14px); border-inline-start:1px solid #dfe2db; pointer-events:none; }.st-row:hover > .st-guide { border-inline-start-color:#c4c8c0; }.st-empty { margin:12px; font-size:13px; color:#6d766e; }.st-activity { display:flex; flex-direction:column; gap:4px; }.st-act { position:relative; display:flex; align-items:center; justify-content:center; width:48px; height:44px; margin-inline-start:172px; padding:0; border:0; border-radius:10px; background:none; color:#6d766e; cursor:pointer; }.st-act:hover, .st-act.active { background:#f3f3f1; color:#3b463d; }.st-act:focus-visible { outline:2px solid #92b195; outline-offset:-2px; }.st-act-ic { display:inline-flex; } .st-act-ic svg { width:20px; height:20px; }.st-act-n { position:absolute; right:6px; bottom:5px; font:700 9px/1 system-ui,sans-serif; color:#5f8a63; }',up='',fp={filterPlaceholder:"Filter plugins",collapseAll:"Collapse all",noMatch:"No plugin matches “{query}”.",treeLabel:"Plugins by capability",openSection:"Open {cap}, {label}",part:"part"},hp='',Dn=e=>e.canonical!==void 0?!!e.canonical:e.depth===0,gp=e=>e.canonical!==void 0?!e.canonical&&!e.folder:e.depth>0,$p=mo({name:"StudioTree",props:{sections:{type:Array,default:()=>[]},active:{type:String,default:""},collapsed:{type:Boolean,default:!1},pick:{type:Function,default:null},expand:{type:Function,default:null},strings:{type:Object,default:()=>({})}},emits:["select"],setup(){En(dp,"studio-tree")},data(){const e=this.readState();return{query:"",focusId:"",secClosed:e.sec||{},nodeOpen:e.node||{},chev:hp,collapseAllSvg:up}},computed:{byId(){const e=new Map;for(const t of this.sections)for(const o of t.nodes)e.set(o.id,o);return e},q(){return this.query.trim().toLowerCase()},kept(){if(!this.q)return null;const e=new Set;for(const t of this.sections)for(const o of t.nodes){if(!(o.label.toLowerCase().includes(this.q)||String(o.desc||"").toLowerCase().includes(this.q)))continue;e.add(o.id);let s=o.parent;for(;s;)e.add(s),s=this.byId.get(s)&&this.byId.get(s).parent}return e},visible(){const e=[];for(const t of this.sections){const o=this.kept?t.nodes.filter(n=>this.kept.has(n.id)):t.nodes;if(!(this.kept&&!o.length)&&(e.push({id:"sec:"+t.id,section:!0,sectionId:t.id,level:1,depth:0,expandable:!0,cap:t.cap,badge:t.badge||"CAP "+t.cap,label:t.label,title:t.title||"",count:t.nodes.filter(n=>n.depth===0).length}),!(!this.kept&&this.secClosed[t.id])))for(const n of o)!this.kept&&!this.ancestorsOpen(n)||e.push({...n,sectionId:t.id,level:n.depth+2,expandable:!!n.kids,alias:gp(n)})}return e},activeSectionId(){for(const e of this.sections)if(e.nodes.some(t=>Dn(t)&&t.target===this.active))return e.id;return""}},watch:{active:{handler(){this.reveal()},immediate:!0},sections(){this.reveal()},query(e){e&&this.visible.length&&(this.focusId=this.visible[0].id)}},methods:{svg(e){return e?Vi(e):""},str(e,t){let o=this.strings[e]||fp[e]||e;if(t)for(const n in t)o=o.split("{"+n+"}").join(String(t[n]));return o},storageKey(){return"dx-studio-tree:"+(typeof location<"u"&&location.pathname||"")},readState(){try{return JSON.parse(window.localStorage.getItem(this.storageKey())||"{}")||{}}catch{return{}}},saveState(){try{window.localStorage.setItem(this.storageKey(),JSON.stringify({sec:this.secClosed,node:this.nodeOpen}))}catch{}},ancestorsOpen(e){let t=e.parent;for(;t;){if(!this.nodeOpen[t])return!1;t=this.byId.get(t)&&this.byId.get(t).parent}return!0},isOpen(e){return this.kept?!0:e.section?!this.secClosed[e.sectionId]:!!this.nodeOpen[e.id]},setOpen(e,t){e.section?this.secClosed={...this.secClosed,[e.sectionId]:!t}:this.nodeOpen={...this.nodeOpen,[e.id]:t},this.saveState()},toggle(e){e.expandable&&this.setOpen(e,!this.isOpen(e))},collapseAll(){this.nodeOpen={},this.saveState();const e=this.visible.find(t=>!t.section&&t.target===this.active&&Dn(t));e&&(this.focusId=e.id)},rowClass(e){return{"st-row":!0,"st-sec":!!e.section,active:!e.section&&e.target===this.active,alias:!!e.alias}},setRow(e,t){this._rows||(this._rows={}),t?this._rows[e]=t:delete this._rows[e]},activate(e){if(e.section){this.toggle(e);return}e.target&&(this.pick?this.pick(e.target):this.$emit("select",e.target))},onRowClick(e){this.focusId=e.id,this.activate(e)},focusRow(e){e&&(this.focusId=e,this.$nextTick(()=>{const t=this._rows&&this._rows[e];t&&(t.focus({preventScroll:!0}),t.scrollIntoView({block:"nearest"}))}))},onTreeKey(e){const t=this.visible;if(!t.length)return;const o=Math.max(0,t.findIndex(i=>i.id===this.focusId)),n=t[o],s=i=>i.section?"":i.parent||"sec:"+i.sectionId;switch(e.key){case"ArrowDown":this.focusRow((t[o+1]||n).id);break;case"ArrowUp":this.focusRow((t[o-1]||n).id);break;case"Home":this.focusRow(t[0].id);break;case"End":this.focusRow(t[t.length-1].id);break;case"ArrowRight":if(!n.expandable)break;this.isOpen(n)?t[o+1]&&t[o+1].level>n.level&&this.focusRow(t[o+1].id):this.setOpen(n,!0);break;case"ArrowLeft":n.expandable&&this.isOpen(n)&&!this.kept?this.setOpen(n,!1):this.focusRow(s(n));break;case"Enter":case" ":this.activate(n);break;default:if(e.key.length===1&&/\S/.test(e.key)&&!e.ctrlKey&&!e.metaKey&&!e.altKey){const i=e.key.toLowerCase(),r=t.slice(o+1).concat(t.slice(0,o+1)).find(l=>String(l.label).toLowerCase().startsWith(i));r&&this.focusRow(r.id);break}return}e.preventDefault()},onFindKey(e){e.key==="Escape"?(this.query="",e.preventDefault()):e.key==="ArrowDown"&&this.visible.length&&(this.focusRow(this.visible[0].id),e.preventDefault())},reveal(){if(!this.active||!this.sections.length)return;let e=null;for(const t of this.sections)if(e=t.nodes.find(o=>Dn(o)&&o.target===this.active),e){this.secClosed[t.id]&&(this.secClosed={...this.secClosed,[t.id]:!1},this.saveState());break}if(e)for(let t=e.parent;t;){const o=this.byId.get(t);if(!o)break;if(o.target===this.active&&!this.nodeOpen[t]){e=o;break}t=o.parent}if(e){let t=e.parent,o=!1;for(;t;)this.nodeOpen[t]||(this.nodeOpen={...this.nodeOpen,[t]:!0},o=!0),t=this.byId.get(t)&&this.byId.get(t).parent;o&&this.saveState()}e&&((!this.focusId||!this.byId.has(this.focusId)||this.byId.get(this.focusId).target!==this.active)&&(this.focusId=e.id),this.$nextTick(()=>{const t=this._rows&&this._rows[e.id];t&&t.scrollIntoView&&t.scrollIntoView({block:"nearest"})}))},openSectionFromActivity(e){this.secClosed[e]&&(this.secClosed={...this.secClosed,[e]:!1},this.saveState()),this.expand&&this.expand(),this.$nextTick(()=>this.focusRow("sec:"+e))}}}),mp={key:0,class:"st-activity"},bp=["aria-label","onClick"],vp=["innerHTML"],kp={class:"st-act-n","aria-hidden":"true"},yp={key:1,class:"st"},_p={class:"st-bar"},xp={class:"st-find"},wp=["innerHTML"],Sp=["placeholder","aria-label"],Mp=["aria-label","title"],Lp=["innerHTML"],Tp=["aria-label"],Cp=["aria-level","aria-expanded","aria-selected","tabindex","title","onClick","onFocus"],Op=["innerHTML"],Pp={class:"st-cap"},Ap={class:"st-sec-label"},Np={class:"st-count"},Ep=["innerHTML","onClick"],Fp={key:1,class:"st-twisty-sp","aria-hidden":"true"},Ip=["innerHTML"],Rp={class:"st-label"},Dp={key:2,class:"st-part"},Hp={class:"st-desc"},Wp={key:3,class:"st-count"},Up={key:0,class:"st-empty"};function zp(e,t,o,n,s,i){return e.collapsed?(M(),L("div",mp,[(M(!0),L(Y,null,Oe(e.sections,a=>(M(),L("button",{key:a.id,type:"button",class:he(["st-act",{active:a.id===e.activeSectionId}]),"aria-label":e.str("openSection",{cap:a.badge||"CAP "+a.cap,label:a.label}),onClick:r=>e.openSectionFromActivity(a.id)},[b("span",{class:"st-act-ic","aria-hidden":"true",innerHTML:e.svg(a.icon)},null,8,vp),b("span",kp,T(a.short||a.cap),1)],10,bp))),128))])):(M(),L("div",yp,[b("div",_p,[b("label",xp,[b("span",{class:"st-find-ic","aria-hidden":"true",innerHTML:e.svg("search")},null,8,wp),gt(b("input",{ref:"find",type:"search",class:"st-find-in","onUpdate:modelValue":t[0]||(t[0]=a=>e.query=a),placeholder:e.str("filterPlaceholder"),"aria-label":e.str("filterPlaceholder"),onKeydown:t[1]||(t[1]=(...a)=>e.onFindKey&&e.onFindKey(...a))},null,40,Sp),[[Nn,e.query]])]),b("button",{type:"button",class:"st-tool","aria-label":e.str("collapseAll"),title:e.str("collapseAll"),onClick:t[2]||(t[2]=(...a)=>e.collapseAll&&e.collapseAll(...a))},[b("span",{"aria-hidden":"true",innerHTML:e.collapseAllSvg},null,8,Lp)],8,Mp)]),b("div",{class:"st-tree",role:"tree","aria-label":e.str("treeLabel"),onKeydown:t[3]||(t[3]=(...a)=>e.onTreeKey&&e.onTreeKey(...a))},[(M(!0),L(Y,null,Oe(e.visible,a=>(M(),L("div",{key:a.id,ref_for:!0,ref:r=>e.setRow(a.id,r),role:"treeitem","aria-level":a.level,"aria-expanded":a.expandable?String(e.isOpen(a)):null,"aria-selected":a.section?null:String(a.target===e.active),tabindex:a.id===e.focusId?0:-1,class:he(e.rowClass(a)),style:lt({"--st-depth":a.depth}),title:a.title||null,onClick:r=>e.onRowClick(a),onFocus:r=>e.focusId=a.id},[a.section?(M(),L(Y,{key:0},[b("span",{class:"st-twisty","aria-hidden":"true",innerHTML:e.chev},null,8,Op),b("span",Pp,T(a.badge),1),b("span",Ap,T(a.label),1),b("span",Np,T(a.count),1)],64)):(M(),L(Y,{key:1},[(M(!0),L(Y,null,Oe(a.depth,r=>(M(),L("span",{key:r,class:"st-guide",style:lt({"--st-g":r-1}),"aria-hidden":"true"},null,4))),128)),a.expandable?(M(),L("span",{key:0,class:"st-twisty","aria-hidden":"true",innerHTML:e.chev,onClick:Ii(r=>e.toggle(a),["stop"])},null,8,Ep)):(M(),L("span",Fp)),b("span",{class:"st-ic","aria-hidden":"true",innerHTML:e.svg(a.icon)},null,8,Ip),b("span",Rp,T(a.label),1),a.part?(M(),L("span",Dp,T(e.str("part")),1)):V("",!0),b("span",Hp,T(a.desc),1),a.expandable?(M(),L("span",Wp,T(a.kids),1)):V("",!0)],64))],46,Cp))),128)),e.query&&!e.visible.length?(M(),L("p",Up,T(e.str("noMatch",{query:e.query})),1)):V("",!0)],40,Tp)]))}const Bp=Po($p,[["render",zp],["styles",[pp]]]),Ao=[{code:"en",name:"English",nativeName:"English",flag:"🇺🇸"},{code:"es",name:"Spanish",nativeName:"Español",flag:"🇪🇸"},{code:"fr",name:"French",nativeName:"Français",flag:"🇫🇷"},{code:"pt",name:"Portuguese",nativeName:"Português",flag:"🇵🇹"},{code:"ar",name:"Arabic",nativeName:"العربية",flag:"🇸🇦",dir:"rtl"},{code:"ru",name:"Russian",nativeName:"Русский",flag:"🇷🇺"},{code:"de",name:"German",nativeName:"Deutsch",flag:"🇩🇪",hideFromSwitcher:!0},{code:"hi",name:"Hindi",nativeName:"हिन्दी",flag:"🇮🇳",hideFromSwitcher:!0},{code:"it",name:"Italian",nativeName:"Italiano",flag:"🇮🇹",hideFromSwitcher:!0},{code:"ro",name:"Romanian",nativeName:"Română",flag:"🇷🇴",hideFromSwitcher:!0},{code:"zh",name:"Chinese",nativeName:"中文",flag:"🇨🇳",hideFromSwitcher:!0}];Ao.filter(e=>!e.hideFromSwitcher);function jp(e){return Ao.find(t=>t.code===e)}function Hn(e){const t=String(e||"").split("-")[0].toLowerCase();return Ao.some(o=>o.code===t)?t:"en"}const Ji="doxa-maps:locale";function Vp(){try{const e=localStorage.getItem(Ji);if(e)return Hn(e)}catch{}return Hn(navigator==null?void 0:navigator.language)}function Kp(e){try{localStorage.setItem(Ji,e)}catch{}}const No="__doxaMapToken",Xi="doxa:map-token",Zi="__doxaMapTokenBridge",jt=()=>{if(typeof window>"u")return"";const e=window[No];return typeof e=="string"?e:""};function Qi(e){if(typeof window>"u")return"";ea();const t=typeof e=="string"?e.trim():"";if(!t||t===jt())return jt();window[No]=t;try{window.dispatchEvent(new CustomEvent(Xi,{detail:t}))}catch{}return t}function qp(){var t;if(typeof window>"u")return;const e=jt()||typeof window.MAP_TOKEN=="string"&&window.MAP_TOKEN;if(ea(),window[No]="",!((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))try{window.MAP_TOKEN=""}catch{}if(e)try{window.dispatchEvent(new CustomEvent(Xi,{detail:""}))}catch{}}function ea(){var t;if(typeof window>"u"||window[Zi]&&((t=Object.getOwnPropertyDescriptor(window,"MAP_TOKEN"))!=null&&t.get))return;const e=typeof window.MAP_TOKEN=="string"?window.MAP_TOKEN:"";e&&!jt()&&(window[No]=e);try{Object.defineProperty(window,"MAP_TOKEN",{configurable:!0,get(){return jt()},set(o){Qi(o)}}),window[Zi]=!0}catch{}}const Gp=":host{display:block;position:relative;height:var(--plugin-studio-height, 85vh);min-height:480px}:host([hidden]){display:none}.ps-logo{display:inline-flex;align-items:center}.ps-logo svg{display:block}.ps-count{color:#6d766e}.vtl-top{position:relative;z-index:3}.vtl-body{isolation:isolate}.ps-token{position:relative;display:inline-flex}.ps-show-header{position:fixed;top:8px;inset-inline-end:8px;z-index:2147483000;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #d1d4cd;border-radius:999px;background:#fffffff0;color:#3b463d;font:600 12px system-ui,sans-serif;cursor:pointer;box-shadow:0 4px 14px #0000002e}.ps-show-header:hover,.ps-show-header:focus-visible{background:#fff;outline:2px solid #92b195}.ps-hide-header-phone{display:none}@media (max-width:760px){.ps-hide-header-phone{display:inline-flex;position:fixed;top:6px;inset-inline-end:8px;z-index:4;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #d1d4cd;border-radius:var(--vtl-radius,8px);background:#d1d4cd;color:#3b463d;font:18px/1 system-ui,sans-serif;cursor:pointer}}.ps-token-dot{width:8px;height:8px;border-radius:50%;background:#b8bdb4}.ps-token-dot.is-yours,.ps-token-dot.is-url{background:#92b195}.ps-token-dot.is-built{background:#c9b36a}.ps-token-dot.is-none{background:#d27a6a}.ps-token-panel{position:absolute;top:100%;inset-inline-end:0;margin-top:4px;z-index:30;width:min(340px,90vw);display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #d1d4cd;border-radius:10px;background:#fff;box-shadow:0 12px 32px #00000040;color:#3b463d;font-size:12px}.ps-token-label{display:flex;flex-direction:column;gap:4px}.ps-token-input{font:inherit;font-size:12px;padding:6px 8px;border:1px solid #d1d4cd;border-radius:7px;background:#f8f8f6;color:#3b463d;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.ps-token-row{display:flex;gap:8px}.ps-token-apply,.ps-token-clear{font:inherit;font-size:12px;padding:5px 12px;border-radius:7px;border:1px solid #d1d4cd;background:#d1d4cd;color:#3b463d;cursor:pointer}.ps-token-apply{background:#92b195;border-color:#92b195;color:#fff}.ps-token-apply:disabled{opacity:.6;cursor:progress}.ps-token-status{margin:0}.ps-token-head{margin:0;font-weight:600;font-size:12px}.ps-token-status.err{color:#b3412f}.ps-token-note{margin:0;color:#6d766e}.ps-locale{position:relative;display:inline-flex}.ps-locale-btn{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12px;padding:4px 9px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer}.ps-locale-btn:hover{background:#d1d4cd}.ps-flag{font-size:13px;line-height:1}.ps-locale-name{max-width:11ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-token-btn .ps-locale-name{max-width:none}.ps-dots{color:#6d766e}.ps-locale-menu{position:absolute;top:100%;right:0;margin-top:4px;z-index:30;min-width:180px;list-style:none;padding:6px;border:1px solid #d1d4cd;border-radius:10px;background:#fff;box-shadow:0 12px 32px #00000080;max-height:320px;overflow:auto}.ps-locale-opt{display:flex;align-items:center;gap:8px;width:100%;text-align:left;font:inherit;font-size:13px;padding:7px 9px;border:0;border-radius:7px;background:none;color:#3b463d;cursor:pointer}.ps-locale-opt:hover,.ps-locale-opt.active{background:#d1d4cd;color:#3b463d}.ps-locale-opt.active .ps-locale-name{color:#92b195}.ps-locale-en{margin-left:auto;font-size:11px;color:#6d766e}.ps-toolbar{display:flex;flex-direction:column;gap:8px;padding:10px 12px 0}.ps-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ps-bar-t{flex:1 1 auto;min-width:0}.ps-bar-t b{font-size:15px;color:#3b463d}.ps-bar-sub{display:block;font-size:12px;color:#6d766e}.ps-btn{font:inherit;font-size:12px;padding:5px 10px;border:1px solid #d1d4cd;border-radius:8px;background:#d1d4cd;color:#3b463d;cursor:pointer;white-space:nowrap}.ps-btn:hover{background:#d1d4cd}.ps-embed{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid #d1d4cd;border-radius:8px;background:#f3f3f1}.ps-embed label{font-size:12px;color:#6d766e;display:flex;justify-content:space-between;align-items:center}.ps-embed textarea{width:100%;height:58px;font:11px/1.35 ui-monospace,Menlo,monospace;border:1px solid #d1d4cd;border-radius:6px;background:#fff;color:#3b463d;padding:6px;resize:vertical}.ps-stage{position:absolute;top:10px;right:12px;bottom:12px;left:12px;border:1px solid #d1d4cd;border-radius:10px;overflow:hidden;background:#f3f3f1}.ps-pane{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;--profile-min-h: 0}.ps-slot{position:relative;min-height:100%}.ps-slot>*{min-height:0;max-height:none}.ps-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;color:#6d766e;font-size:13px;padding:20px}.ps-hint.err{color:#f87171}.ps-hint small{color:#6d766e}",Eo="plugin-studio:mapbox-token",Fo="plugin-studio:mapbox-token-url",ta="plugin-studio:header-hidden",oa="plugin-studio:map-provider";function kt(e){try{return typeof window<"u"&&window.localStorage.getItem(e)||""}catch{return""}}function yt(e,t){try{t?window.localStorage.setItem(e,t):window.localStorage.removeItem(e)}catch{}}const Yp=` :host { display:block; position:relative; height:var(--plugin-studio-height, 85vh); min-height:480px; } :host([hidden]) { display:none; } .ps-logo { display:inline-flex; align-items:center; } @@ -158,6 +158,8 @@ .ps-token { position:relative; display:inline-flex; } .ps-show-header { position:fixed; top:8px; inset-inline-end:8px; z-index:2147483000; display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border:1px solid #d1d4cd; border-radius:999px; background:rgba(255,255,255,.94); color:#3b463d; font:600 12px system-ui, sans-serif; cursor:pointer; box-shadow:0 4px 14px rgba(0,0,0,.18); } .ps-show-header:hover, .ps-show-header:focus-visible { background:#ffffff; outline:2px solid #92b195; } +.ps-hide-header-phone { display:none; } +@media (max-width:760px) { .ps-hide-header-phone { display:inline-flex; position:fixed; top:6px; inset-inline-end:8px; z-index:4; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:1px solid #d1d4cd; border-radius:var(--vtl-radius,8px); background:#d1d4cd; color:#3b463d; font:18px/1 system-ui, sans-serif; cursor:pointer; } } .ps-token-dot { width:8px; height:8px; border-radius:50%; background:#b8bdb4; } .ps-token-dot.is-yours, .ps-token-dot.is-url { background:#92b195; } .ps-token-dot.is-built { background:#c9b36a; } @@ -238,4 +240,4 @@ [data-widget-panel]{width:calc(100vw - 16px);max-width:none;height:60vh;height:60dvh} [data-widget-bubble]{max-width:calc(100vw - 16px)} [data-widget-bubble][data-listening="true"]{width:min(300px,calc(100vw - 16px));min-width:min(300px,calc(100vw - 16px));max-width:min(300px,calc(100vw - 16px))} -}`,td=''+''+""+''+"",od=mo({name:"PluginStudio",inheritAttrs:!1,components:{VerticalTabsLayout:cp,StudioTree:Bp},props:{treeBase:{type:String,default:""},profileConfig:{type:[String,Object],default:""},provider:{type:String,default:""},heading:{type:String,default:""},tokenUrl:{type:String,default:""},tk:{type:String,default:""}},setup(){return En(Yp,"plugin-studio"),{injectedBase:Pt("psTreeBase","")}},data(){return{activeKey:"",embedOpen:!1,locale:this.initialLocale(),localeOpen:!1,settingsOpen:!1,headerHidden:kt(ta)==="1",engineOpen:!1,userProvider:kt(oa),tokenBusy:!1,tokenErr:"",tokenDraft:kt(Eo),urlDraft:kt(Fo),userTk:kt(Eo),userTokenUrl:kt(Fo),fetchedTk:"",bakedTk:"",hostProvider:"",switcherLangs:Ao,rows:[],manifestBundles:[]}},computed:{cfg(){let e=this.profileConfig;if(typeof e=="string")try{e=e?JSON.parse(e):{}}catch{e={}}return e&&typeof e=="object"?e:{}},base(){const e=(this.treeBase||this.cfg.treeBase||this.injectedBase||"").trim();return e?e.replace(/\/+$/,"")+"/":""},flatRows(){return this.rows},groups(){const e={};for(const t of this.rows)(e[t.cap]=e[t.cap]||[]).push(t);return[5,4,3,2,1].filter(t=>e[t]&&e[t].length).map(t=>({cap:t,label:Jp[t]||"capability "+t,rows:e[t]}))},treeSections(){const e=new Map(this.compositionTrees.map(s=>[s.nodes[0].selects,s])),t=new Map;for(const s of this.rows)t.has(s.bundle)||t.set(s.bundle,[]),t.get(s.bundle).push(s);const o=[...t.entries()].map(([s,i])=>({bundle:s,rows:i,cap:Math.max(...i.map(a=>a.cap))}));return[5,4,3,2,1].map(s=>({cap:s,group:o.filter(i=>i.cap===s).sort((i,a)=>i.bundle.localeCompare(a.bundle))})).map(({cap:s,group:i})=>{if(!i.length)return null;const a=[],r=(l,p,d)=>{const f=e.get(l.key);if(a.push({id:l.key,parent:d,depth:p,label:l.label,desc:(l.stage==="production"?"":this.tr("stageExperimental")+" · ")+"cap "+l.cap+" · "+l.tag,icon:l.icon,target:l.key,canonical:!0,kids:f?f.nodes[0].kids:0,title:l.label+" · <"+l.tag+"> · CAP "+l.cap+" "+this.tr("cap"+l.cap)}),!f)return;const k=y=>y===0?l.key:l.key+">"+y;for(const y of f.nodes.slice(1))a.push({id:k(y.id),parent:k(y.ancestors[y.ancestors.length-1]),depth:p+y.depth,label:y.label,part:!!y.part,target:y.selects||"",canonical:!1,icon:y.part?"dots":Wn[y.cap]||"embed",desc:y.part?this.tr("noStandalone"):"cap "+y.cap+" · "+y.tag,kids:y.kids||0,title:y.part?y.label+" · "+this.tr("partOf",{name:l.label}):y.label+" · <"+y.tag+"> · CAP "+y.cap+" "+this.tr("cap"+y.cap)})};for(const l of i){const p=[...l.rows].sort((f,k)=>k.cap-f.cap||f.label.localeCompare(k.label));if(p.length===1){r(p[0],0,"");continue}const d="bundle:"+l.bundle;a.push({id:d,parent:"",depth:0,label:l.bundle,desc:this.tr("elementsCount",{n:p.length}),icon:"folder",target:p[0].key,canonical:!1,folder:!0,kids:p.length,title:l.bundle+" · plugin-designs/"+l.bundle+"/ · "+p.length+" "+this.tr("elements")});for(const f of p)r(f,1,d)}return{id:"cap-"+s,cap:s,label:this.tr("cap"+s),title:this.tr("cap"+s)+" · "+(Zp[s]||""),icon:Wn[s]||"embed",nodes:a}}).filter(Boolean)},compositionTrees(){const e=[],t=(o,n,s,i,a)=>{const r=this.manifestBundles.find(k=>k.bundle===o.bundle),l=o.cap>=4&&r&&r.composes||[],p=[],d=[],f=new Set;for(const k of l){const y=this.resolveRef(k,o.bundle);if(!y){d.push(k);continue}y.key===o.key||f.has(y.key)||(f.add(y.key),p.push(y))}p.sort((k,y)=>y.cap-k.cap||k.label.localeCompare(y.label));for(const k of p){const y={id:i.length,label:k.label,tag:k.tag,cap:k.cap,selects:k.key,depth:n+1,ancestors:a,kids:0};i.push(y);const W=i.length;s.has(k.key)||t(k,n+1,new Set([...s,k.key]),i,[...a,y.id]),y.kids=i.filter((F,ee)=>ee>=W&&F.depth===n+2).length}for(const k of d)i.push({id:i.length,label:k,part:!0,selects:o.key,depth:n+1,ancestors:a,kids:0})};for(const o of this.manifestBundles){if(!o.composes||!o.composes.length||ia.has(o.bundle))continue;const n=this.rows.find(i=>i.bundle===o.bundle);if(!n)continue;const s=[{id:0,label:n.label,tag:n.tag,cap:n.cap,selects:n.key,depth:0,ancestors:[]}];t(n,0,new Set([n.key]),s,[0]),s[0].kids=s.filter(i=>i.depth===1).length,s.length>1&&e.push({bundle:o.bundle,nodes:s})}return e},active(){return this.rows.find(e=>e.key===this.activeKey)||null},effectiveTk(){return this.userTk||this.fetchedTk||this.tk||this.cfg.tk||this.bakedTk||""},effectiveProvider(){const e=String(this.userProvider||this.provider||this.cfg.provider||"").toLowerCase().trim();return e==="maplibre"||e==="mapbox"?e:""},engines(){return[{id:"",label:this.tr("engineDefault"),note:""},{id:"mapbox",label:"Mapbox",note:this.tr("engineMapboxNote")},{id:"maplibre",label:"MapLibre",note:this.tr("engineMaplibreNote")}]},engineLabel(){return this.userProvider==="mapbox"?"Mapbox":this.userProvider==="maplibre"?"MapLibre":this.tr("engineDefault")},tokenSource(){return this.userTk?"yours":this.fetchedTk?"url":this.tk||this.cfg.tk||this.bakedTk?"built":"none"},tokenStatus(){return this.effectiveProvider==="maplibre"?this.tr("tokenNotNeeded"):this.tokenSource==="yours"?this.tr("tokenSourceYours"):this.tokenSource==="url"?this.tr("tokenSourceUrl",{url:this.userTokenUrl}):this.tokenSource==="built"?this.tr("tokenSourceBuilt"):this.tr("tokenSourceNone")},countLabel(){const e=new Set(this.rows.map(t=>t.bundle)).size;return this.tr("countLabel",{bundles:e,elements:this.rows.length})},activeLang(){return jp(this.locale)||{code:this.locale,flag:"🌐",nativeName:this.locale}},uiDir(){return(this.activeLang&&this.activeLang.dir)==="rtl"?"rtl":"ltr"}},mounted(){this.bakedTk=typeof window<"u"&&window.MAP_TOKEN||"",this.hostProvider=typeof window<"u"&&typeof window.MAP_PROVIDER=="string"?window.MAP_PROVIDER:"",this.publishProvider(),this.userTk?this.publishToken():(this.userTokenUrl||this.tokenUrl||this.cfg.tokenUrl)&&this.fetchToken(this.userTokenUrl||this.tokenUrl||this.cfg.tokenUrl).then(e=>{e&&e!==this.fetchedTk&&(this.fetchedTk=e,this.publishToken(),this.remountPanes())}).catch(()=>{}),this.loadManifest()},beforeUnmount(){const e=window.__doxaStudioWidgets;if(e&&e.hosts)for(const t of Object.values(e.hosts))try{t.remove()}catch{}delete window.__doxaStudioWidgets},methods:{async fetchToken(e){if(!/^https?:\/\//i.test(e))throw new Error("not an http(s) URL");let t;try{t=await fetch(e,{cache:"no-store",credentials:"same-origin"})}catch{throw new Error("the request was blocked or the server did not answer (cross-origin rules can do this)")}if(!t.ok)throw new Error("HTTP "+t.status);const o=(await t.text()).trim();let n=o;try{const s=JSON.parse(o);n=s&&(s.token||s.tk||s.accessToken)||(typeof s=="string"?s:"")}catch{}if(n=String(n||"").trim(),n.startsWith("sk."))throw new Error(this.tr("tokenSecret"));if(!n.startsWith("pk."))throw new Error(this.tr("tokenNotPk"));return n},async applyToken(){this.tokenErr="";const e=this.tokenDraft,t=this.urlDraft;if(e.startsWith("sk.")){this.tokenErr=this.tr("tokenSecret");return}if(e&&!e.startsWith("pk.")){this.tokenErr=this.tr("tokenNotPk");return}this.tokenBusy=!0;try{let o="";if(!e&&t)try{o=await this.fetchToken(t)}catch(n){this.tokenErr=this.tr("tokenUrlFailed",{why:n.message});return}this.userTk=e,this.userTokenUrl=e?"":t,this.fetchedTk=o,yt(Eo,this.userTk),yt(Fo,this.userTokenUrl),this.publishToken(),this.remountPanes(),this.settingsOpen=!1}finally{this.tokenBusy=!1}},setHeaderHidden(e){this.headerHidden=!!e,this.settingsOpen=!1,this.engineOpen=!1,this.localeOpen=!1,yt(ta,e?"1":"")},setProvider(e){this.engineOpen=!1,e!==this.userProvider&&(this.userProvider=e,yt(oa,e),this.publishProvider(),this.remountPanes())},publishProvider(){typeof window>"u"||(this.effectiveProvider?window.MAP_PROVIDER=this.effectiveProvider:this.hostProvider?window.MAP_PROVIDER=this.hostProvider:"MAP_PROVIDER"in window&&delete window.MAP_PROVIDER)},clearToken(){this.tokenDraft="",this.urlDraft="",this.tokenErr="",this.userTk="",this.userTokenUrl="",this.fetchedTk="",yt(Eo,""),yt(Fo,""),this.publishToken(),this.remountPanes()},publishToken(){typeof window>"u"||(this.effectiveTk?(Qi(this.effectiveTk),window.MAP_TOKEN!==this.effectiveTk&&(window.MAP_TOKEN=this.effectiveTk)):qp())},remountPanes(){for(const t of this.rows)t.mounted&&this.releaseRow(t);const e=this.active;e&&this.$nextTick(()=>{this.activeKey===e.key&&this.mountElement(e)})},tr(e,t){const o=(this.locale||"en").split("-")[0];let n=(Io[this.locale]||{})[e]||(Io[o]||{})[e]||(Io.en||{})[e]||e;if(t)for(const s in t)n=n.split("{"+s+"}").join(String(t[s]));return n},resolveRef(e,t){return t&&this.rows.find(o=>o.key===t+"/"+e)||this.rows.find(o=>o.key===e)||this.rows.find(o=>o.tag===e)||this.rows.find(o=>o.bundle===e)||null},setSlot(e,t){t&&(this._slots=Object.assign(this._slots||{},{[e]:t}))},initialLocale(){let e=this.profileConfig;if(typeof e=="string")try{e=e?JSON.parse(e):{}}catch{e={}}let t="";try{const n=new URLSearchParams(window.location.search);t=n.get("lang")||n.get("locale")||""}catch{}const o=e&&(e.locale||e.lang)||t;return o?Hn(o):Vp()},paneConfig(e,t){const o={profile:e.profile,instanceId:"ps-"+e.key.replace(/\//g,"-"),locale:t};this.effectiveTk&&(o.tk=this.effectiveTk);const n=this.userTokenUrl||this.tokenUrl||this.cfg.tokenUrl;return n&&(o.tokenUrl=n),this.effectiveProvider&&(o.provider=this.effectiveProvider),this.base&&(o.treeBase=this.base),o},setLocale(e){this.locale=e,this.localeOpen=!1,Kp(e);try{for(const t of this.rows){if(!t.mounted)continue;const o=this._slots&&this._slots[t.key],n=o&&o.firstElementChild;n&&n.setAttribute&&n.setAttribute("profile-config",JSON.stringify(this.paneConfig(t,e)))}}catch{}},resolve(e){const t=String(e);if(/^(https?:)?\/\//.test(t)||t.startsWith("/"))return t;const o=t.replace(/^\.\//,"");return this.base?this.base.replace(/\/+$/,"")+"/"+o:"../"+o},loadManifest(){const e=o=>{this.manifestBundles=o&&o.bundles||[],this.rows=this.rowsFromManifest(o),this.setupWidgets(),this.route()},t=typeof window<"u"&&window.__psBaked||null;if(typeof fetch=="function"&&typeof location<"u"&&location.protocol!=="file:"){const o=this.base?this.resolve("manifest.json"):"../manifest.json";fetch(o,{cache:"no-cache"}).then(n=>n.ok?n.json():null).then(n=>e(n||t||{bundles:[]})).catch(()=>e(t||{bundles:[]}))}else e(t||{bundles:[]})},rowsFromManifest(e){const t=[];for(const o of e.bundles||[])if(!(o.bundle==="plugin-studio"||ia.has(o.bundle)))for(const n of o.profiles||[]){const s=o.elements&&o.elements.length?o.elements:null,i=(n.element&&(!s||s.includes(n.element))?n.element:null)||s&&s[0]||n.element||o.bundle,a=Xp(n.type||"single"),r=sa.has(i)||sa.has(o.bundle)||n.heavy===!0;t.push({key:o.bundle+"/"+n.profile,bundle:o.bundle,stage:o.stage==="production"?"production":"experimental",label:Qp(o.bundle,n),profile:n.profile,tag:i,cap:a,icon:Wn[a]||"embed",description:n.description||"",widget:n.widget&&["bottom-right","bottom-left","top-right","top-left"].includes(n.widget.corner)?n.widget.corner:"",heavy:r,bundleJs:o.scriptUrl||o.bundle+"/"+o.bundle+".js",embed:n.embed&&n.embed.script||"",mounted:!1,state:"idle",error:""})}return t.sort((o,n)=>n.cap-o.cap||o.bundle.localeCompare(n.bundle)||o.label.localeCompare(n.label)),t},route(){const e=(typeof location<"u"&&location.hash||"").replace(/^#\/?/,"");if(e&&this.rows.some(o=>o.key===e)){this.select(e);return}const t=this.readLastTab();if(t&&this.rows.some(o=>o.key===t)){this.select(t);return}this.rows.length&&this.select(this.rows[0].key)},storageKey(){return"dx-studio-tab:"+(typeof location<"u"&&location.pathname||"")},readLastTab(){try{return window.localStorage.getItem(this.storageKey())||""}catch{return""}},writeLastTab(e){try{window.localStorage.setItem(this.storageKey(),e)}catch{}},select(e){if(!this.rows.some(s=>s.key===e))return;const t=this.rows.find(s=>s.key===e);if(t&&t.widget){this.openWidget(t,!0);return}const o=this.activeKey;if(this.activeKey=e,this.embedOpen=!1,o&&o!==e){const s=this.rows.find(i=>i.key===o);s&&s.heavy&&s.mounted&&this.releaseRow(s)}const n=this.rows.find(s=>s.key===e);n&&(this.writeLastTab(e),n.mounted||this.$nextTick(()=>{this.activeKey===n.key&&this.mountElement(n)}))},releaseRow(e){try{const t=this._slots&&this._slots[e.key];t&&(t.innerHTML="")}catch{}this._slots&&delete this._slots[e.key],e.mounted=!1,e.state="idle",e.error=""},widgetStore(){return window.__doxaStudioWidgets||(window.__doxaStudioWidgets={hosts:{},els:{}}),window.__doxaStudioWidgets},widgetHost(e){const t=this.widgetStore();if(!document.getElementById("studio-widget-css")){const n=document.createElement("style");n.id="studio-widget-css",n.textContent=ed,document.head.appendChild(n)}if(t.hosts[e]&&t.hosts[e].isConnected)return t.hosts[e];const o=document.createElement("div");return o.setAttribute("data-studio-widgets",e),document.body.appendChild(o),t.hosts[e]=o,o},setupWidgets(){for(const e of this.rows.filter(t=>t.widget)){const t=this.widgetStore(),o=this.widgetHost(e.widget);let n=o.querySelector(`[data-widget="${e.key}"]`);if(!n){n=document.createElement("div"),n.setAttribute("data-widget",e.key);const i=document.createElement("div");i.setAttribute("data-widget-panel","");const a=document.createElement("button");a.type="button",a.setAttribute("data-widget-bubble","");const r="widget:"+e.key,l=this.tr(r);a.setAttribute("aria-label",l!==r?l:e.label),a.title=a.getAttribute("aria-label"),a.setAttribute("aria-expanded","false"),a.innerHTML=td,a.querySelector("[data-wb-text]").textContent=a.getAttribute("aria-label"),a.addEventListener("click",()=>this.openWidget(e,!i.hasAttribute("data-open"))),n.appendChild(i),n.appendChild(a),o.appendChild(n)}t.els[e.key]&&!n.querySelector(e.tag)&&n.querySelector("[data-widget-panel]").appendChild(t.els[e.key]);let s=!1;try{s=localStorage.getItem("plugin-studio:widget-open:"+e.key)==="1"}catch{}s&&this.openWidget(e,!0)}},openWidget(e,t){const n=this.widgetHost(e.widget).querySelector(`[data-widget="${e.key}"]`);if(!n){this.setupWidgets();return}const s=n.querySelector("[data-widget-panel]"),i=n.querySelector("[data-widget-bubble]");t?s.setAttribute("data-open",""):s.removeAttribute("data-open"),i.setAttribute("aria-expanded",t?"true":"false");try{localStorage.setItem("plugin-studio:widget-open:"+e.key,t?"1":"0")}catch{}const a=this.widgetStore();!t||a.els[e.key]||Rn(this.resolve(e.bundleJs)).then(()=>Yi(e.tag)).then(()=>{if(a.els[e.key])return;const r=document.createElement(e.tag);r.setAttribute("profile-config",JSON.stringify(this.paneConfig(e,this.locale))),r.setAttribute("variant","widget"),this.base&&r.setAttribute("tree-base",this.base.replace(/\/+$/,"")),r.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;overflow-y:auto;overscroll-behavior:contain;";const l=n.querySelector("[data-widget-bubble]"),p=l.querySelector("[data-wb-text]");r.addEventListener("recording",d=>{const f=!!(Array.isArray(d.detail)?d.detail[0]:d.detail);l.setAttribute("data-listening",f?"true":"false"),f?p.textContent="":(l.setAttribute("data-speaking","false"),p.textContent=l.getAttribute("aria-label"))}),r.addEventListener("activity",d=>{const f=(Array.isArray(d.detail)?d.detail[0]:d.detail)||{};if(l.getAttribute("data-listening")!=="true")return;l.setAttribute("data-speaking",f.speaking?"true":"false");const k=f.words||"";p.textContent=k.length>34?"…"+k.slice(-33):k}),a.els[e.key]=r,s.appendChild(r)}).catch(r=>{s.textContent=r&&r.message||String(r)})},mountElement(e){e.mounted=!0,e.state="loading";const t=this.resolve(e.bundleJs);Rn(t).then(()=>Yi(e.tag)).then(()=>{try{if(e.heavy&&this.activeKey!==e.key){e.mounted=!1,e.state="idle";return}const o=this._slots&&this._slots[e.key];if(!o){e.state="error",e.error="no slot";return}o.innerHTML="";const n=document.createElement(e.tag);n.setAttribute("profile-config",JSON.stringify(this.paneConfig(e,this.locale))),this.base&&n.setAttribute("tree-base",this.base.replace(/\/+$/,"")),n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",o.appendChild(n),e.state="ready"}catch(o){e.state="error",e.error="mount failed: "+(o&&o.message||String(o))}}).catch(o=>{e.state="error",e.error=o&&o.message||String(o)})},copyText(e,t){const o=()=>{const n=t.textContent;t.textContent=this.tr("copied"),setTimeout(()=>{t.textContent=n},1200)};if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(e).then(o,()=>{});else try{const n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),o()}catch{}}}}),nd={class:"ps-count"},sd={class:"ps-locale"},id=["aria-expanded","aria-label"],ad={class:"ps-flag"},rd={class:"ps-locale-name"},ld={key:0,class:"ps-locale-menu",role:"listbox"},cd=["aria-selected"],pd=["onClick"],dd={class:"ps-flag"},ud={class:"ps-locale-name"},fd={class:"ps-locale-en"},hd={class:"ps-locale ps-engine"},gd=["aria-expanded","aria-label","title"],$d={class:"ps-locale-name"},md=["aria-label"],bd=["aria-selected"],vd=["onClick"],kd={class:"ps-locale-name"},yd={class:"ps-locale-en"},_d={class:"ps-token"},wd=["aria-expanded","title"],xd={class:"ps-locale-name"},Sd={class:"ps-token-head"},Md={class:"ps-token-label"},Ld={class:"ps-token-label"},Td={class:"ps-token-row"},Cd=["disabled"],Od={class:"ps-token-note"},Pd=["title","aria-label"],Ad={class:"ps-locale-name"},Nd={key:0,class:"ps-toolbar"},Ed={class:"ps-bar"},Fd={class:"ps-bar-t"},Id={class:"ps-bar-sub"},Rd={key:0},Dd=["aria-expanded"],Hd={key:0,class:"ps-embed"},Wd=["value"],Ud=["title","aria-label"],zd={class:"ps-stage"},Bd=["hidden"],jd={key:0,class:"ps-hint"},Vd={key:1,class:"ps-hint err"},Kd={key:0,class:"ps-hint"};function qd(e,t,o,n,s,i){const a=gn("StudioTree"),r=gn("VerticalTabsLayout");return M(),Rt(r,{title:e.heading||e.tr("title"),dir:e.uiDir,"nav-label":e.tr("navLabel"),labels:{toggleList:e.tr("toggleList"),openViews:e.tr("openViews"),expandList:e.tr("expandList"),collapseList:e.tr("collapseList"),collapse:e.tr("collapse")},header:!e.headerHidden,active:e.activeKey,"onUpdate:active":e.select},{rail:ht(({collapsed:l,expand:p,pick:d})=>[ve(a,{sections:e.treeSections,active:e.activeKey,collapsed:l,expand:p,pick:d,strings:{filterPlaceholder:e.tr("filterPlaceholder"),collapseAll:e.tr("collapseAll"),noMatch:e.tr("noMatch"),treeLabel:e.tr("navLabel"),openSection:e.tr("openSection"),part:e.tr("part")}},null,8,["sections","active","collapsed","expand","pick","strings"])]),brand:ht(()=>[...t[11]||(t[11]=[v("span",{class:"ps-logo","aria-hidden":"true"},[v("svg",{viewBox:"0 0 24 24",width:"22",height:"22",fill:"none",stroke:"#92b195","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[v("path",{d:"M10 3v3M14 3v3M7 6h10v5a5 5 0 0 1-10 0V6Z"}),v("path",{d:"M12 16v5"})])],-1)])]),meta:ht(()=>[v("span",nd,T(e.countLabel),1),v("span",sd,[v("button",{type:"button",class:"ps-locale-btn","aria-expanded":String(e.localeOpen),"aria-label":e.tr("changeLanguage"),onClick:t[0]||(t[0]=l=>{e.localeOpen=!e.localeOpen,e.engineOpen=!1,e.settingsOpen=!1})},[v("span",ad,T(e.activeLang.flag),1),v("span",rd,T(e.activeLang.nativeName),1),t[12]||(t[12]=v("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,id),e.localeOpen?(M(),L("ul",ld,[(M(!0),L(Y,null,Oe(e.switcherLangs,l=>(M(),L("li",{key:l.code,role:"option","aria-selected":String(l.code===e.locale)},[v("button",{type:"button",class:he(["ps-locale-opt",{active:l.code===e.locale}]),onClick:p=>e.setLocale(l.code)},[v("span",dd,T(l.flag),1),v("span",ud,T(l.nativeName),1),v("span",fd,T(l.name),1)],10,pd)],8,cd))),128))])):V("",!0)]),v("span",hd,[v("button",{type:"button",class:"ps-locale-btn","aria-expanded":String(e.engineOpen),"aria-label":e.tr("mapEngine"),title:e.tr("mapEngine"),onClick:t[1]||(t[1]=l=>{e.engineOpen=!e.engineOpen,e.localeOpen=!1,e.settingsOpen=!1})},[t[13]||(t[13]=v("span",{"aria-hidden":"true"},"🗺",-1)),v("span",$d,T(e.engineLabel),1),t[14]||(t[14]=v("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,gd),e.engineOpen?(M(),L("ul",{key:0,class:"ps-locale-menu",role:"listbox","aria-label":e.tr("mapEngine")},[(M(!0),L(Y,null,Oe(e.engines,l=>(M(),L("li",{key:l.id||"default",role:"option","aria-selected":String(l.id===e.userProvider)},[v("button",{type:"button",class:he(["ps-locale-opt",{active:l.id===e.userProvider}]),onClick:p=>e.setProvider(l.id)},[v("span",kd,T(l.label),1),v("span",yd,T(l.note),1)],10,vd)],8,bd))),128))],8,md)):V("",!0)]),v("span",_d,[v("button",{type:"button",class:"ps-locale-btn ps-token-btn","aria-expanded":String(e.settingsOpen),title:e.tokenStatus,onClick:t[2]||(t[2]=l=>{e.settingsOpen=!e.settingsOpen,e.localeOpen=!1,e.engineOpen=!1})},[v("span",xd,T(e.tr("mapboxToken")),1),v("span",{class:he(["ps-token-dot","is-"+e.tokenSource]),"aria-hidden":"true"},null,2)],8,wd),e.settingsOpen?(M(),L("form",{key:0,class:"ps-token-panel",onSubmit:t[6]||(t[6]=Ii((...l)=>e.applyToken&&e.applyToken(...l),["prevent"]))},[v("p",Sd,T(e.tr("mapToken")),1),v("label",Md,[Ae(T(e.tr("tokenPaste"))+" ",1),gt(v("input",{class:"ps-token-input","onUpdate:modelValue":t[3]||(t[3]=l=>e.tokenDraft=l),placeholder:"pk.eyJ…",autocomplete:"off",spellcheck:"false"},null,512),[[Nn,e.tokenDraft,void 0,{trim:!0}]])]),v("label",Ld,[Ae(T(e.tr("tokenUrlLabel"))+" ",1),gt(v("input",{class:"ps-token-input","onUpdate:modelValue":t[4]||(t[4]=l=>e.urlDraft=l),type:"url",placeholder:"https://doxa.life/api/maps/token",autocomplete:"off",spellcheck:"false"},null,512),[[Nn,e.urlDraft,void 0,{trim:!0}]])]),v("div",Td,[v("button",{type:"submit",class:"ps-token-apply",disabled:e.tokenBusy},T(e.tr("tokenApply")),9,Cd),v("button",{type:"button",class:"ps-token-clear",onClick:t[5]||(t[5]=(...l)=>e.clearToken&&e.clearToken(...l))},T(e.tr("tokenClear")),1)]),v("p",{class:he(["ps-token-status",{err:!!e.tokenErr}]),role:"status"},T(e.tokenErr||e.tokenStatus),3),v("p",Od,T(e.tr("tokenStoredHere")),1)],32)):V("",!0)]),v("button",{type:"button",class:"ps-locale-btn ps-hide-header",title:e.tr("hideHeader"),"aria-label":e.tr("hideHeader"),onClick:t[7]||(t[7]=l=>e.setHeaderHidden(!0))},[t[15]||(t[15]=v("span",{"aria-hidden":"true"},"⌃",-1)),v("span",Ad,T(e.tr("hideHeader")),1)],8,Pd)]),toolbar:ht(()=>[e.active?(M(),L("div",Nd,[v("div",Ed,[v("div",Fd,[v("b",null,T(e.active.label),1),v("span",Id,[Ae(T(e.active.bundle)+" · <"+T(e.active.tag)+">",1),e.active.description?(M(),L("span",Rd," · "+T(e.active.description),1)):V("",!0)])]),e.active.embed?(M(),L("button",{key:0,type:"button",class:"ps-btn","aria-expanded":String(e.embedOpen),onClick:t[8]||(t[8]=l=>e.embedOpen=!e.embedOpen)},T(e.tr("copyEmbed")),9,Dd)):V("",!0)]),e.embedOpen&&e.active.embed?(M(),L("div",Hd,[v("label",null,[Ae(T(e.tr("scriptEmbed"))+" ",1),v("button",{type:"button",class:"ps-btn",onClick:t[9]||(t[9]=l=>e.copyText(e.active.embed,l.target))},T(e.tr("copy")),1)]),v("textarea",{readonly:"",value:e.active.embed},null,8,Wd)])):V("",!0)])):V("",!0)]),default:ht(()=>[e.headerHidden?(M(),L("button",{key:0,type:"button",class:"ps-show-header",title:e.tr("showHeader"),"aria-label":e.tr("showHeader"),onClick:t[10]||(t[10]=l=>e.setHeaderHidden(!1))},[t[16]||(t[16]=v("span",{"aria-hidden":"true"},"⌄",-1)),Ae(" "+T(e.tr("showHeader")),1)],8,Ud)):V("",!0),v("div",zd,[(M(!0),L(Y,null,Oe(e.flatRows,l=>gt((M(),L("section",{key:l.key,class:"ps-pane",hidden:l.key!==e.activeKey},[!l.heavy||l.key===e.activeKey?(M(),L(Y,{key:0},[v("div",{class:"ps-slot",ref_for:!0,ref:p=>e.setSlot(l.key,p)},null,512),l.state==="loading"?(M(),L("div",jd,T(e.tr("loading",{name:l.label})),1)):l.state==="error"?(M(),L("div",Vd,[Ae(T(e.tr("couldNotLoad",{name:l.label})),1),t[17]||(t[17]=v("br",null,null,-1)),v("small",null,T(l.error),1)])):V("",!0)],64)):V("",!0)],8,Bd)),[[Tn,l.key===e.activeKey]])),128)),e.activeKey?V("",!0):(M(),L("div",Kd,T(e.tr("chooseElement")),1))])]),_:1},8,["title","dir","nav-label","labels","header","active","onUpdate:active"])}const Gd=Po(od,[["render",qd],["styles",[Gp]]]),Yd=dc(),Jd=Ol(Gd,{configureApp(e){e.provide("psTreeBase",Yd)}});typeof customElements<"u"&&!customElements.get("plugin-studio")&&customElements.define("plugin-studio",Jd)})(); +}`,td=''+''+""+''+"",od=mo({name:"PluginStudio",inheritAttrs:!1,components:{VerticalTabsLayout:cp,StudioTree:Bp},props:{treeBase:{type:String,default:""},profileConfig:{type:[String,Object],default:""},provider:{type:String,default:""},heading:{type:String,default:""},tokenUrl:{type:String,default:""},tk:{type:String,default:""}},setup(){return En(Yp,"plugin-studio"),{injectedBase:Pt("psTreeBase","")}},data(){return{activeKey:"",embedOpen:!1,locale:this.initialLocale(),localeOpen:!1,settingsOpen:!1,headerHidden:kt(ta)==="1",engineOpen:!1,userProvider:kt(oa),tokenBusy:!1,tokenErr:"",tokenDraft:kt(Eo),urlDraft:kt(Fo),userTk:kt(Eo),userTokenUrl:kt(Fo),fetchedTk:"",bakedTk:"",hostProvider:"",switcherLangs:Ao,rows:[],manifestBundles:[]}},computed:{cfg(){let e=this.profileConfig;if(typeof e=="string")try{e=e?JSON.parse(e):{}}catch{e={}}return e&&typeof e=="object"?e:{}},base(){const e=(this.treeBase||this.cfg.treeBase||this.injectedBase||"").trim();return e?e.replace(/\/+$/,"")+"/":""},flatRows(){return this.rows},groups(){const e={};for(const t of this.rows)(e[t.cap]=e[t.cap]||[]).push(t);return[5,4,3,2,1].filter(t=>e[t]&&e[t].length).map(t=>({cap:t,label:Jp[t]||"capability "+t,rows:e[t]}))},treeSections(){const e=new Map(this.compositionTrees.map(s=>[s.nodes[0].selects,s])),t=new Map;for(const s of this.rows)t.has(s.bundle)||t.set(s.bundle,[]),t.get(s.bundle).push(s);const o=[...t.entries()].map(([s,i])=>({bundle:s,rows:i,cap:Math.max(...i.map(a=>a.cap))}));return[5,4,3,2,1].map(s=>({cap:s,group:o.filter(i=>i.cap===s).sort((i,a)=>i.bundle.localeCompare(a.bundle))})).map(({cap:s,group:i})=>{if(!i.length)return null;const a=[],r=(l,p,d)=>{const f=e.get(l.key);if(a.push({id:l.key,parent:d,depth:p,label:l.label,desc:(l.stage==="production"?"":this.tr("stageExperimental")+" · ")+"cap "+l.cap+" · "+l.tag,icon:l.icon,target:l.key,canonical:!0,kids:f?f.nodes[0].kids:0,title:l.label+" · <"+l.tag+"> · CAP "+l.cap+" "+this.tr("cap"+l.cap)}),!f)return;const k=y=>y===0?l.key:l.key+">"+y;for(const y of f.nodes.slice(1))a.push({id:k(y.id),parent:k(y.ancestors[y.ancestors.length-1]),depth:p+y.depth,label:y.label,part:!!y.part,target:y.selects||"",canonical:!1,icon:y.part?"dots":Wn[y.cap]||"embed",desc:y.part?this.tr("noStandalone"):"cap "+y.cap+" · "+y.tag,kids:y.kids||0,title:y.part?y.label+" · "+this.tr("partOf",{name:l.label}):y.label+" · <"+y.tag+"> · CAP "+y.cap+" "+this.tr("cap"+y.cap)})};for(const l of i){const p=[...l.rows].sort((f,k)=>k.cap-f.cap||f.label.localeCompare(k.label));if(p.length===1){r(p[0],0,"");continue}const d="bundle:"+l.bundle;a.push({id:d,parent:"",depth:0,label:l.bundle,desc:this.tr("elementsCount",{n:p.length}),icon:"folder",target:p[0].key,canonical:!1,folder:!0,kids:p.length,title:l.bundle+" · plugin-designs/"+l.bundle+"/ · "+p.length+" "+this.tr("elements")});for(const f of p)r(f,1,d)}return{id:"cap-"+s,cap:s,label:this.tr("cap"+s),title:this.tr("cap"+s)+" · "+(Zp[s]||""),icon:Wn[s]||"embed",nodes:a}}).filter(Boolean)},compositionTrees(){const e=[],t=(o,n,s,i,a)=>{const r=this.manifestBundles.find(k=>k.bundle===o.bundle),l=o.cap>=4&&r&&r.composes||[],p=[],d=[],f=new Set;for(const k of l){const y=this.resolveRef(k,o.bundle);if(!y){d.push(k);continue}y.key===o.key||f.has(y.key)||(f.add(y.key),p.push(y))}p.sort((k,y)=>y.cap-k.cap||k.label.localeCompare(y.label));for(const k of p){const y={id:i.length,label:k.label,tag:k.tag,cap:k.cap,selects:k.key,depth:n+1,ancestors:a,kids:0};i.push(y);const W=i.length;s.has(k.key)||t(k,n+1,new Set([...s,k.key]),i,[...a,y.id]),y.kids=i.filter((F,ee)=>ee>=W&&F.depth===n+2).length}for(const k of d)i.push({id:i.length,label:k,part:!0,selects:o.key,depth:n+1,ancestors:a,kids:0})};for(const o of this.manifestBundles){if(!o.composes||!o.composes.length||ia.has(o.bundle))continue;const n=this.rows.find(i=>i.bundle===o.bundle);if(!n)continue;const s=[{id:0,label:n.label,tag:n.tag,cap:n.cap,selects:n.key,depth:0,ancestors:[]}];t(n,0,new Set([n.key]),s,[0]),s[0].kids=s.filter(i=>i.depth===1).length,s.length>1&&e.push({bundle:o.bundle,nodes:s})}return e},active(){return this.rows.find(e=>e.key===this.activeKey)||null},effectiveTk(){return this.userTk||this.fetchedTk||this.tk||this.cfg.tk||this.bakedTk||""},effectiveProvider(){const e=String(this.userProvider||this.provider||this.cfg.provider||"").toLowerCase().trim();return e==="maplibre"||e==="mapbox"?e:""},engines(){return[{id:"",label:this.tr("engineDefault"),note:""},{id:"mapbox",label:"Mapbox",note:this.tr("engineMapboxNote")},{id:"maplibre",label:"MapLibre",note:this.tr("engineMaplibreNote")}]},engineLabel(){return this.userProvider==="mapbox"?"Mapbox":this.userProvider==="maplibre"?"MapLibre":this.tr("engineDefault")},tokenSource(){return this.userTk?"yours":this.fetchedTk?"url":this.tk||this.cfg.tk||this.bakedTk?"built":"none"},tokenStatus(){return this.effectiveProvider==="maplibre"?this.tr("tokenNotNeeded"):this.tokenSource==="yours"?this.tr("tokenSourceYours"):this.tokenSource==="url"?this.tr("tokenSourceUrl",{url:this.userTokenUrl}):this.tokenSource==="built"?this.tr("tokenSourceBuilt"):this.tr("tokenSourceNone")},countLabel(){const e=new Set(this.rows.map(t=>t.bundle)).size;return this.tr("countLabel",{bundles:e,elements:this.rows.length})},activeLang(){return jp(this.locale)||{code:this.locale,flag:"🌐",nativeName:this.locale}},uiDir(){return(this.activeLang&&this.activeLang.dir)==="rtl"?"rtl":"ltr"}},mounted(){this.bakedTk=typeof window<"u"&&window.MAP_TOKEN||"",this.hostProvider=typeof window<"u"&&typeof window.MAP_PROVIDER=="string"?window.MAP_PROVIDER:"",this.publishProvider(),this.userTk?this.publishToken():(this.userTokenUrl||this.tokenUrl||this.cfg.tokenUrl)&&this.fetchToken(this.userTokenUrl||this.tokenUrl||this.cfg.tokenUrl).then(e=>{e&&e!==this.fetchedTk&&(this.fetchedTk=e,this.publishToken(),this.remountPanes())}).catch(()=>{}),this.loadManifest()},beforeUnmount(){const e=window.__doxaStudioWidgets;if(e&&e.hosts)for(const t of Object.values(e.hosts))try{t.remove()}catch{}delete window.__doxaStudioWidgets},methods:{async fetchToken(e){if(!/^https?:\/\//i.test(e))throw new Error("not an http(s) URL");let t;try{t=await fetch(e,{cache:"no-store",credentials:"same-origin"})}catch{throw new Error("the request was blocked or the server did not answer (cross-origin rules can do this)")}if(!t.ok)throw new Error("HTTP "+t.status);const o=(await t.text()).trim();let n=o;try{const s=JSON.parse(o);n=s&&(s.token||s.tk||s.accessToken)||(typeof s=="string"?s:"")}catch{}if(n=String(n||"").trim(),n.startsWith("sk."))throw new Error(this.tr("tokenSecret"));if(!n.startsWith("pk."))throw new Error(this.tr("tokenNotPk"));return n},async applyToken(){this.tokenErr="";const e=this.tokenDraft,t=this.urlDraft;if(e.startsWith("sk.")){this.tokenErr=this.tr("tokenSecret");return}if(e&&!e.startsWith("pk.")){this.tokenErr=this.tr("tokenNotPk");return}this.tokenBusy=!0;try{let o="";if(!e&&t)try{o=await this.fetchToken(t)}catch(n){this.tokenErr=this.tr("tokenUrlFailed",{why:n.message});return}this.userTk=e,this.userTokenUrl=e?"":t,this.fetchedTk=o,yt(Eo,this.userTk),yt(Fo,this.userTokenUrl),this.publishToken(),this.remountPanes(),this.settingsOpen=!1}finally{this.tokenBusy=!1}},setHeaderHidden(e){this.headerHidden=!!e,this.settingsOpen=!1,this.engineOpen=!1,this.localeOpen=!1,yt(ta,e?"1":"")},setProvider(e){this.engineOpen=!1,e!==this.userProvider&&(this.userProvider=e,yt(oa,e),this.publishProvider(),this.remountPanes())},publishProvider(){typeof window>"u"||(this.effectiveProvider?window.MAP_PROVIDER=this.effectiveProvider:this.hostProvider?window.MAP_PROVIDER=this.hostProvider:"MAP_PROVIDER"in window&&delete window.MAP_PROVIDER)},clearToken(){this.tokenDraft="",this.urlDraft="",this.tokenErr="",this.userTk="",this.userTokenUrl="",this.fetchedTk="",yt(Eo,""),yt(Fo,""),this.publishToken(),this.remountPanes()},publishToken(){typeof window>"u"||(this.effectiveTk?(Qi(this.effectiveTk),window.MAP_TOKEN!==this.effectiveTk&&(window.MAP_TOKEN=this.effectiveTk)):qp())},remountPanes(){for(const t of this.rows)t.mounted&&this.releaseRow(t);const e=this.active;e&&this.$nextTick(()=>{this.activeKey===e.key&&this.mountElement(e)})},tr(e,t){const o=(this.locale||"en").split("-")[0];let n=(Io[this.locale]||{})[e]||(Io[o]||{})[e]||(Io.en||{})[e]||e;if(t)for(const s in t)n=n.split("{"+s+"}").join(String(t[s]));return n},resolveRef(e,t){return t&&this.rows.find(o=>o.key===t+"/"+e)||this.rows.find(o=>o.key===e)||this.rows.find(o=>o.tag===e)||this.rows.find(o=>o.bundle===e)||null},setSlot(e,t){t&&(this._slots=Object.assign(this._slots||{},{[e]:t}))},initialLocale(){let e=this.profileConfig;if(typeof e=="string")try{e=e?JSON.parse(e):{}}catch{e={}}let t="";try{const n=new URLSearchParams(window.location.search);t=n.get("lang")||n.get("locale")||""}catch{}const o=e&&(e.locale||e.lang)||t;return o?Hn(o):Vp()},paneConfig(e,t){const o={profile:e.profile,instanceId:"ps-"+e.key.replace(/\//g,"-"),locale:t};this.effectiveTk&&(o.tk=this.effectiveTk);const n=this.userTokenUrl||this.tokenUrl||this.cfg.tokenUrl;return n&&(o.tokenUrl=n),this.effectiveProvider&&(o.provider=this.effectiveProvider),this.base&&(o.treeBase=this.base),o},setLocale(e){this.locale=e,this.localeOpen=!1,Kp(e);try{for(const t of this.rows){if(!t.mounted)continue;const o=this._slots&&this._slots[t.key],n=o&&o.firstElementChild;n&&n.setAttribute&&n.setAttribute("profile-config",JSON.stringify(this.paneConfig(t,e)))}}catch{}},resolve(e){const t=String(e);if(/^(https?:)?\/\//.test(t)||t.startsWith("/"))return t;const o=t.replace(/^\.\//,"");return this.base?this.base.replace(/\/+$/,"")+"/"+o:"../"+o},loadManifest(){const e=o=>{this.manifestBundles=o&&o.bundles||[],this.rows=this.rowsFromManifest(o),this.setupWidgets(),this.route()},t=typeof window<"u"&&window.__psBaked||null;if(typeof fetch=="function"&&typeof location<"u"&&location.protocol!=="file:"){const o=this.base?this.resolve("manifest.json"):"../manifest.json";fetch(o,{cache:"no-cache"}).then(n=>n.ok?n.json():null).then(n=>e(n||t||{bundles:[]})).catch(()=>e(t||{bundles:[]}))}else e(t||{bundles:[]})},rowsFromManifest(e){const t=[];for(const o of e.bundles||[])if(!(o.bundle==="plugin-studio"||ia.has(o.bundle)))for(const n of o.profiles||[]){const s=o.elements&&o.elements.length?o.elements:null,i=(n.element&&(!s||s.includes(n.element))?n.element:null)||s&&s[0]||n.element||o.bundle,a=Xp(n.type||"single"),r=sa.has(i)||sa.has(o.bundle)||n.heavy===!0;t.push({key:o.bundle+"/"+n.profile,bundle:o.bundle,stage:o.stage==="production"?"production":"experimental",label:Qp(o.bundle,n),profile:n.profile,tag:i,cap:a,icon:Wn[a]||"embed",description:n.description||"",widget:n.widget&&["bottom-right","bottom-left","top-right","top-left"].includes(n.widget.corner)?n.widget.corner:"",heavy:r,bundleJs:o.scriptUrl||o.bundle+"/"+o.bundle+".js",embed:n.embed&&n.embed.script||"",mounted:!1,state:"idle",error:""})}return t.sort((o,n)=>n.cap-o.cap||o.bundle.localeCompare(n.bundle)||o.label.localeCompare(n.label)),t},route(){const e=(typeof location<"u"&&location.hash||"").replace(/^#\/?/,"");if(e&&this.rows.some(o=>o.key===e)){this.select(e);return}const t=this.readLastTab();if(t&&this.rows.some(o=>o.key===t)){this.select(t);return}this.rows.length&&this.select(this.rows[0].key)},storageKey(){return"dx-studio-tab:"+(typeof location<"u"&&location.pathname||"")},readLastTab(){try{return window.localStorage.getItem(this.storageKey())||""}catch{return""}},writeLastTab(e){try{window.localStorage.setItem(this.storageKey(),e)}catch{}},select(e){if(!this.rows.some(s=>s.key===e))return;const t=this.rows.find(s=>s.key===e);if(t&&t.widget){this.openWidget(t,!0);return}const o=this.activeKey;if(this.activeKey=e,this.embedOpen=!1,o&&o!==e){const s=this.rows.find(i=>i.key===o);s&&s.heavy&&s.mounted&&this.releaseRow(s)}const n=this.rows.find(s=>s.key===e);n&&(this.writeLastTab(e),n.mounted||this.$nextTick(()=>{this.activeKey===n.key&&this.mountElement(n)}))},releaseRow(e){try{const t=this._slots&&this._slots[e.key];t&&(t.innerHTML="")}catch{}this._slots&&delete this._slots[e.key],e.mounted=!1,e.state="idle",e.error=""},widgetStore(){return window.__doxaStudioWidgets||(window.__doxaStudioWidgets={hosts:{},els:{}}),window.__doxaStudioWidgets},widgetHost(e){const t=this.widgetStore();if(!document.getElementById("studio-widget-css")){const n=document.createElement("style");n.id="studio-widget-css",n.textContent=ed,document.head.appendChild(n)}if(t.hosts[e]&&t.hosts[e].isConnected)return t.hosts[e];const o=document.createElement("div");return o.setAttribute("data-studio-widgets",e),document.body.appendChild(o),t.hosts[e]=o,o},setupWidgets(){for(const e of this.rows.filter(t=>t.widget)){const t=this.widgetStore(),o=this.widgetHost(e.widget);let n=o.querySelector(`[data-widget="${e.key}"]`);if(!n){n=document.createElement("div"),n.setAttribute("data-widget",e.key);const i=document.createElement("div");i.setAttribute("data-widget-panel","");const a=document.createElement("button");a.type="button",a.setAttribute("data-widget-bubble","");const r="widget:"+e.key,l=this.tr(r);a.setAttribute("aria-label",l!==r?l:e.label),a.title=a.getAttribute("aria-label"),a.setAttribute("aria-expanded","false"),a.innerHTML=td,a.querySelector("[data-wb-text]").textContent=a.getAttribute("aria-label"),a.addEventListener("click",()=>this.openWidget(e,!i.hasAttribute("data-open"))),n.appendChild(i),n.appendChild(a),o.appendChild(n)}t.els[e.key]&&!n.querySelector(e.tag)&&n.querySelector("[data-widget-panel]").appendChild(t.els[e.key]);let s=!1;try{s=localStorage.getItem("plugin-studio:widget-open:"+e.key)==="1"}catch{}s&&this.openWidget(e,!0)}},openWidget(e,t){const n=this.widgetHost(e.widget).querySelector(`[data-widget="${e.key}"]`);if(!n){this.setupWidgets();return}const s=n.querySelector("[data-widget-panel]"),i=n.querySelector("[data-widget-bubble]");t?s.setAttribute("data-open",""):s.removeAttribute("data-open"),i.setAttribute("aria-expanded",t?"true":"false");try{localStorage.setItem("plugin-studio:widget-open:"+e.key,t?"1":"0")}catch{}const a=this.widgetStore();!t||a.els[e.key]||Rn(this.resolve(e.bundleJs)).then(()=>Yi(e.tag)).then(()=>{if(a.els[e.key])return;const r=document.createElement(e.tag);r.setAttribute("profile-config",JSON.stringify(this.paneConfig(e,this.locale))),r.setAttribute("variant","widget"),this.base&&r.setAttribute("tree-base",this.base.replace(/\/+$/,"")),r.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;overflow-y:auto;overscroll-behavior:contain;";const l=n.querySelector("[data-widget-bubble]"),p=l.querySelector("[data-wb-text]");r.addEventListener("recording",d=>{const f=!!(Array.isArray(d.detail)?d.detail[0]:d.detail);l.setAttribute("data-listening",f?"true":"false"),f?p.textContent="":(l.setAttribute("data-speaking","false"),p.textContent=l.getAttribute("aria-label"))}),r.addEventListener("activity",d=>{const f=(Array.isArray(d.detail)?d.detail[0]:d.detail)||{};if(l.getAttribute("data-listening")!=="true")return;l.setAttribute("data-speaking",f.speaking?"true":"false");const k=f.words||"";p.textContent=k.length>34?"…"+k.slice(-33):k}),a.els[e.key]=r,s.appendChild(r)}).catch(r=>{s.textContent=r&&r.message||String(r)})},mountElement(e){e.mounted=!0,e.state="loading";const t=this.resolve(e.bundleJs);Rn(t).then(()=>Yi(e.tag)).then(()=>{try{if(e.heavy&&this.activeKey!==e.key){e.mounted=!1,e.state="idle";return}const o=this._slots&&this._slots[e.key];if(!o){e.state="error",e.error="no slot";return}o.innerHTML="";const n=document.createElement(e.tag);n.setAttribute("profile-config",JSON.stringify(this.paneConfig(e,this.locale))),this.base&&n.setAttribute("tree-base",this.base.replace(/\/+$/,"")),n.style.cssText="display:block;position:absolute;inset:0;width:100%;height:100%;",o.appendChild(n),e.state="ready"}catch(o){e.state="error",e.error="mount failed: "+(o&&o.message||String(o))}}).catch(o=>{e.state="error",e.error=o&&o.message||String(o)})},copyText(e,t){const o=()=>{const n=t.textContent;t.textContent=this.tr("copied"),setTimeout(()=>{t.textContent=n},1200)};if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(e).then(o,()=>{});else try{const n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),o()}catch{}}}}),nd=["title","aria-label"],sd={class:"ps-count"},id={class:"ps-locale"},ad=["aria-expanded","aria-label"],rd={class:"ps-flag"},ld={class:"ps-locale-name"},cd={key:0,class:"ps-locale-menu",role:"listbox"},pd=["aria-selected"],dd=["onClick"],ud={class:"ps-flag"},fd={class:"ps-locale-name"},hd={class:"ps-locale-en"},gd={class:"ps-locale ps-engine"},$d=["aria-expanded","aria-label","title"],md={class:"ps-locale-name"},bd=["aria-label"],vd=["aria-selected"],kd=["onClick"],yd={class:"ps-locale-name"},_d={class:"ps-locale-en"},xd={class:"ps-token"},wd=["aria-expanded","title"],Sd={class:"ps-locale-name"},Md={class:"ps-token-head"},Ld={class:"ps-token-label"},Td={class:"ps-token-label"},Cd={class:"ps-token-row"},Od=["disabled"],Pd={class:"ps-token-note"},Ad=["title","aria-label"],Nd={class:"ps-locale-name"},Ed={key:0,class:"ps-toolbar"},Fd={class:"ps-bar"},Id={class:"ps-bar-t"},Rd={class:"ps-bar-sub"},Dd={key:0},Hd=["aria-expanded"],Wd={key:0,class:"ps-embed"},Ud=["value"],zd=["title","aria-label"],Bd={class:"ps-stage"},jd=["hidden"],Vd={key:0,class:"ps-hint"},Kd={key:1,class:"ps-hint err"},qd={key:0,class:"ps-hint"};function Gd(e,t,o,n,s,i){const a=gn("StudioTree"),r=gn("VerticalTabsLayout");return M(),Rt(r,{title:e.heading||e.tr("title"),dir:e.uiDir,"nav-label":e.tr("navLabel"),labels:{toggleList:e.tr("toggleList"),openViews:e.tr("openViews"),expandList:e.tr("expandList"),collapseList:e.tr("collapseList"),collapse:e.tr("collapse")},header:!e.headerHidden,active:e.activeKey,"onUpdate:active":e.select},{rail:ht(({collapsed:l,expand:p,pick:d})=>[ve(a,{sections:e.treeSections,active:e.activeKey,collapsed:l,expand:p,pick:d,strings:{filterPlaceholder:e.tr("filterPlaceholder"),collapseAll:e.tr("collapseAll"),noMatch:e.tr("noMatch"),treeLabel:e.tr("navLabel"),openSection:e.tr("openSection"),part:e.tr("part")}},null,8,["sections","active","collapsed","expand","pick","strings"])]),brand:ht(()=>[t[13]||(t[13]=b("span",{class:"ps-logo","aria-hidden":"true"},[b("svg",{viewBox:"0 0 24 24",width:"22",height:"22",fill:"none",stroke:"#92b195","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[b("path",{d:"M10 3v3M14 3v3M7 6h10v5a5 5 0 0 1-10 0V6Z"}),b("path",{d:"M12 16v5"})])],-1)),b("button",{type:"button",class:"ps-hide-header-phone",title:e.tr("hideHeader"),"aria-label":e.tr("hideHeader"),onClick:t[0]||(t[0]=l=>e.setHeaderHidden(!0))},[...t[12]||(t[12]=[b("span",{"aria-hidden":"true"},"⌃",-1)])],8,nd)]),meta:ht(()=>[b("span",sd,T(e.countLabel),1),b("span",id,[b("button",{type:"button",class:"ps-locale-btn","aria-expanded":String(e.localeOpen),"aria-label":e.tr("changeLanguage"),onClick:t[1]||(t[1]=l=>{e.localeOpen=!e.localeOpen,e.engineOpen=!1,e.settingsOpen=!1})},[b("span",rd,T(e.activeLang.flag),1),b("span",ld,T(e.activeLang.nativeName),1),t[14]||(t[14]=b("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,ad),e.localeOpen?(M(),L("ul",cd,[(M(!0),L(Y,null,Oe(e.switcherLangs,l=>(M(),L("li",{key:l.code,role:"option","aria-selected":String(l.code===e.locale)},[b("button",{type:"button",class:he(["ps-locale-opt",{active:l.code===e.locale}]),onClick:p=>e.setLocale(l.code)},[b("span",ud,T(l.flag),1),b("span",fd,T(l.nativeName),1),b("span",hd,T(l.name),1)],10,dd)],8,pd))),128))])):V("",!0)]),b("span",gd,[b("button",{type:"button",class:"ps-locale-btn","aria-expanded":String(e.engineOpen),"aria-label":e.tr("mapEngine"),title:e.tr("mapEngine"),onClick:t[2]||(t[2]=l=>{e.engineOpen=!e.engineOpen,e.localeOpen=!1,e.settingsOpen=!1})},[t[15]||(t[15]=b("span",{"aria-hidden":"true"},"🗺",-1)),b("span",md,T(e.engineLabel),1),t[16]||(t[16]=b("span",{class:"ps-dots","aria-hidden":"true"},"⋮",-1))],8,$d),e.engineOpen?(M(),L("ul",{key:0,class:"ps-locale-menu",role:"listbox","aria-label":e.tr("mapEngine")},[(M(!0),L(Y,null,Oe(e.engines,l=>(M(),L("li",{key:l.id||"default",role:"option","aria-selected":String(l.id===e.userProvider)},[b("button",{type:"button",class:he(["ps-locale-opt",{active:l.id===e.userProvider}]),onClick:p=>e.setProvider(l.id)},[b("span",yd,T(l.label),1),b("span",_d,T(l.note),1)],10,kd)],8,vd))),128))],8,bd)):V("",!0)]),b("span",xd,[b("button",{type:"button",class:"ps-locale-btn ps-token-btn","aria-expanded":String(e.settingsOpen),title:e.tokenStatus,onClick:t[3]||(t[3]=l=>{e.settingsOpen=!e.settingsOpen,e.localeOpen=!1,e.engineOpen=!1})},[b("span",Sd,T(e.tr("mapboxToken")),1),b("span",{class:he(["ps-token-dot","is-"+e.tokenSource]),"aria-hidden":"true"},null,2)],8,wd),e.settingsOpen?(M(),L("form",{key:0,class:"ps-token-panel",onSubmit:t[7]||(t[7]=Ii((...l)=>e.applyToken&&e.applyToken(...l),["prevent"]))},[b("p",Md,T(e.tr("mapToken")),1),b("label",Ld,[Ae(T(e.tr("tokenPaste"))+" ",1),gt(b("input",{class:"ps-token-input","onUpdate:modelValue":t[4]||(t[4]=l=>e.tokenDraft=l),placeholder:"pk.eyJ…",autocomplete:"off",spellcheck:"false"},null,512),[[Nn,e.tokenDraft,void 0,{trim:!0}]])]),b("label",Td,[Ae(T(e.tr("tokenUrlLabel"))+" ",1),gt(b("input",{class:"ps-token-input","onUpdate:modelValue":t[5]||(t[5]=l=>e.urlDraft=l),type:"url",placeholder:"https://doxa.life/api/maps/token",autocomplete:"off",spellcheck:"false"},null,512),[[Nn,e.urlDraft,void 0,{trim:!0}]])]),b("div",Cd,[b("button",{type:"submit",class:"ps-token-apply",disabled:e.tokenBusy},T(e.tr("tokenApply")),9,Od),b("button",{type:"button",class:"ps-token-clear",onClick:t[6]||(t[6]=(...l)=>e.clearToken&&e.clearToken(...l))},T(e.tr("tokenClear")),1)]),b("p",{class:he(["ps-token-status",{err:!!e.tokenErr}]),role:"status"},T(e.tokenErr||e.tokenStatus),3),b("p",Pd,T(e.tr("tokenStoredHere")),1)],32)):V("",!0)]),b("button",{type:"button",class:"ps-locale-btn ps-hide-header",title:e.tr("hideHeader"),"aria-label":e.tr("hideHeader"),onClick:t[8]||(t[8]=l=>e.setHeaderHidden(!0))},[t[17]||(t[17]=b("span",{"aria-hidden":"true"},"⌃",-1)),b("span",Nd,T(e.tr("hideHeader")),1)],8,Ad)]),toolbar:ht(()=>[e.active?(M(),L("div",Ed,[b("div",Fd,[b("div",Id,[b("b",null,T(e.active.label),1),b("span",Rd,[Ae(T(e.active.bundle)+" · <"+T(e.active.tag)+">",1),e.active.description?(M(),L("span",Dd," · "+T(e.active.description),1)):V("",!0)])]),e.active.embed?(M(),L("button",{key:0,type:"button",class:"ps-btn","aria-expanded":String(e.embedOpen),onClick:t[9]||(t[9]=l=>e.embedOpen=!e.embedOpen)},T(e.tr("copyEmbed")),9,Hd)):V("",!0)]),e.embedOpen&&e.active.embed?(M(),L("div",Wd,[b("label",null,[Ae(T(e.tr("scriptEmbed"))+" ",1),b("button",{type:"button",class:"ps-btn",onClick:t[10]||(t[10]=l=>e.copyText(e.active.embed,l.target))},T(e.tr("copy")),1)]),b("textarea",{readonly:"",value:e.active.embed},null,8,Ud)])):V("",!0)])):V("",!0)]),default:ht(()=>[e.headerHidden?(M(),L("button",{key:0,type:"button",class:"ps-show-header",title:e.tr("showHeader"),"aria-label":e.tr("showHeader"),onClick:t[11]||(t[11]=l=>e.setHeaderHidden(!1))},[t[18]||(t[18]=b("span",{"aria-hidden":"true"},"⌄",-1)),Ae(" "+T(e.tr("showHeader")),1)],8,zd)):V("",!0),b("div",Bd,[(M(!0),L(Y,null,Oe(e.flatRows,l=>gt((M(),L("section",{key:l.key,class:"ps-pane",hidden:l.key!==e.activeKey},[!l.heavy||l.key===e.activeKey?(M(),L(Y,{key:0},[b("div",{class:"ps-slot",ref_for:!0,ref:p=>e.setSlot(l.key,p)},null,512),l.state==="loading"?(M(),L("div",Vd,T(e.tr("loading",{name:l.label})),1)):l.state==="error"?(M(),L("div",Kd,[Ae(T(e.tr("couldNotLoad",{name:l.label})),1),t[19]||(t[19]=b("br",null,null,-1)),b("small",null,T(l.error),1)])):V("",!0)],64)):V("",!0)],8,jd)),[[Tn,l.key===e.activeKey]])),128)),e.activeKey?V("",!0):(M(),L("div",qd,T(e.tr("chooseElement")),1))])]),_:1},8,["title","dir","nav-label","labels","header","active","onUpdate:active"])}const Yd=Po(od,[["render",Gd],["styles",[Gp]]]),Jd=dc(),Xd=Ol(Yd,{configureApp(e){e.provide("psTreeBase",Jd)}});typeof customElements<"u"&&!customElements.get("plugin-studio")&&customElements.define("plugin-studio",Xd)})(); diff --git a/public/dx-maps/plugin-studio/plugin-studio/index.html b/public/dx-maps/plugin-studio/plugin-studio/index.html index 5b0965a6c..bfe068077 100644 --- a/public/dx-maps/plugin-studio/plugin-studio/index.html +++ b/public/dx-maps/plugin-studio/plugin-studio/index.html @@ -61,7 +61,7 @@ - + - +