Files
kreios/backoffice/cliente/dist/assets/index-BidQ3v5l.js
T

18 lines
69 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/**
* @vue/shared v3.5.40
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ws(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const W={},ct=[],Me=()=>{},kn=()=>!1,ns=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),is=e=>e.startsWith("onUpdate:"),ie=Object.assign,Bs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},nr=Object.prototype.hasOwnProperty,$=(e,t)=>nr.call(e,t),M=Array.isArray,ft=e=>Nt(e)==="[object Map]",Gn=e=>Nt(e)==="[object Set]",pn=e=>Nt(e)==="[object Date]",D=e=>typeof e=="function",G=e=>typeof e=="string",Fe=e=>typeof e=="symbol",V=e=>e!==null&&typeof e=="object",Jn=e=>(V(e)||D(e))&&D(e.then)&&D(e.catch),Yn=Object.prototype.toString,Nt=e=>Yn.call(e),ir=e=>Nt(e).slice(8,-1),Xn=e=>Nt(e)==="[object Object]",zs=e=>G(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wt=Ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rs=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},rr=/-\w/g,ge=rs(e=>e.replace(rr,t=>t.slice(1).toUpperCase())),or=/\B([A-Z])/g,it=rs(e=>e.replace(or,"-$1").toLowerCase()),Zn=rs(e=>e.charAt(0).toUpperCase()+e.slice(1)),gs=rs(e=>e?`on${Zn(e)}`:""),Re=(e,t)=>!Object.is(e,t),qt=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Qn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},qs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let gn;const os=()=>gn||(gn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ks(e){if(M(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=G(n)?ur(n):ks(n);if(i)for(const r in i)t[r]=i[r]}return t}else if(G(e)||V(e))return e}const lr=/;(?![^(]*\))/g,cr=/:([^]+)/,fr=/\/\*[^]*?\*\//g;function ur(e){const t={};return e.replace(fr,"").split(lr).forEach(s=>{if(s){const n=s.split(cr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Gs(e){let t="";if(G(e))t=e;else if(M(e))for(let s=0;s<e.length;s++){const n=Gs(e[s]);n&&(t+=n+" ")}else if(V(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const ar="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dr=Ws(ar);function ei(e){return!!e||e===""}function hr(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Js(e[n],t[n]);return s}function Js(e,t){if(e===t)return!0;let s=pn(e),n=pn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Fe(e),n=Fe(t),s||n)return e===t;if(s=M(e),n=M(t),s||n)return s&&n?hr(e,t):!1;if(s=V(e),n=V(t),s||n){if(!s||!n)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!Js(e[o],t[o]))return!1}}return String(e)===String(t)}const ti=e=>!!(e&&e.__v_isRef===!0),ee=e=>G(e)?e:e==null?"":M(e)||V(e)&&(e.toString===Yn||!D(e.toString))?ti(e)?ee(e.value):JSON.stringify(e,si,2):String(e),si=(e,t)=>ti(t)?si(e,t.value):ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[ms(n,r)+" =>"]=i,s),{})}:Gn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>ms(s))}:Fe(t)?ms(t):V(t)&&!M(t)&&!Xn(t)?String(t):t,ms=(e,t="")=>{var s;return Fe(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
* @vue/reactivity v3.5.40
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let te;class pr{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&&te&&(te.active?(this.parent=te,this.index=(te.scopes||(te.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const n=this.scopes.slice();for(t=0,s=n.length;t<s;t++)n[t].pause()}for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes){const i=this.scopes.slice();for(t=0,s=i.length;t<s;t++)i[t].resume()}const n=this.effects.slice();for(t=0,s=n.length;t<s;t++)n[t].resume()}}run(t){if(this._active){const s=te;try{return te=this,t()}finally{te=s}}}on(){++this._on===1&&(this.prevScope=te,te=this)}off(){if(this._on>0&&--this._on===0){if(te===this)te=this.prevScope;else{let t=te;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const i=this.scopes.slice();for(s=0,n=i.length;s<n;s++)i[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function gr(){return te}let z;const _s=new WeakSet;class ni{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,te&&(te.active?te.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,_s.has(this)&&(_s.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ri(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,mn(this),oi(this);const t=z,s=me;z=this,me=!0;try{return this.fn()}finally{li(this),z=t,me=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Zs(t);this.deps=this.depsTail=void 0,mn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?_s.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Rs(this)&&this.run()}get dirty(){return Rs(this)}}let ii=0,Ct,Tt;function ri(e,t=!1){if(e.flags|=8,t){e.next=Tt,Tt=e;return}e.next=Ct,Ct=e}function Ys(){ii++}function Xs(){if(--ii>0)return;if(Tt){let t=Tt;for(Tt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Ct;){let t=Ct;for(Ct=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function oi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function li(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Zs(n),mr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Rs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ci(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ci(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pt)||(e.globalVersion=Pt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Rs(e))))return;e.flags|=2;const t=e.dep,s=z,n=me;z=e,me=!0;try{oi(e);const i=e.fn(e._value);(t.version===0||Re(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{z=s,me=n,li(e),e.flags&=-3}}function Zs(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Zs(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function mr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let me=!0;const fi=[];function Ue(){fi.push(me),me=!1}function Ve(){const e=fi.pop();me=e===void 0?!0:e}function mn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=z;z=void 0;try{t()}finally{z=s}}}let Pt=0;class _r{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Qs{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(!z||!me||z===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==z)s=this.activeLink=new _r(z,this),z.deps?(s.prevDep=z.depsTail,z.depsTail.nextDep=s,z.depsTail=s):z.deps=z.depsTail=s,ui(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=z.depsTail,s.nextDep=void 0,z.depsTail.nextDep=s,z.depsTail=s,z.deps===s&&(z.deps=n)}return s}trigger(t){this.version++,Pt++,this.notify(t)}notify(t){Ys();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Xs()}}}function ui(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)ui(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Ms=new WeakMap,tt=Symbol(""),Fs=Symbol(""),It=Symbol("");function se(e,t,s){if(me&&z){let n=Ms.get(e);n||Ms.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Qs),i.map=n,i.key=s),i.track()}}function Le(e,t,s,n,i,r){const o=Ms.get(e);if(!o){Pt++;return}const l=f=>{f&&f.trigger()};if(Ys(),t==="clear")o.forEach(l);else{const f=M(e),d=f&&zs(s);if(f&&s==="length"){const a=Number(n);o.forEach((g,C)=>{(C==="length"||C===It||!Fe(C)&&C>=a)&&l(g)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(It)),t){case"add":f?d&&l(o.get("length")):(l(o.get(tt)),ft(e)&&l(o.get(Fs)));break;case"delete":f||(l(o.get(tt)),ft(e)&&l(o.get(Fs)));break;case"set":ft(e)&&l(o.get(tt));break}}Xs()}function rt(e){const t=L(e);return t===e?t:(se(t,"iterate",It),pe(e)?t:t.map(_e))}function ls(e){return se(e=L(e),"iterate",It),e}function Pe(e,t){return Ke(e)?dt(st(e)?_e(t):t):_e(t)}const vr={__proto__:null,[Symbol.iterator](){return vs(this,Symbol.iterator,e=>Pe(this,e))},concat(...e){return rt(this).concat(...e.map(t=>M(t)?rt(t):t))},entries(){return vs(this,"entries",e=>(e[1]=Pe(this,e[1]),e))},every(e,t){return De(this,"every",e,t,void 0,arguments)},filter(e,t){return De(this,"filter",e,t,s=>s.map(n=>Pe(this,n)),arguments)},find(e,t){return De(this,"find",e,t,s=>Pe(this,s),arguments)},findIndex(e,t){return De(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return De(this,"findLast",e,t,s=>Pe(this,s),arguments)},findLastIndex(e,t){return De(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return De(this,"forEach",e,t,void 0,arguments)},includes(...e){return bs(this,"includes",e)},indexOf(...e){return bs(this,"indexOf",e)},join(e){return rt(this).join(e)},lastIndexOf(...e){return bs(this,"lastIndexOf",e)},map(e,t){return De(this,"map",e,t,void 0,arguments)},pop(){return vt(this,"pop")},push(...e){return vt(this,"push",e)},reduce(e,...t){return _n(this,"reduce",e,t)},reduceRight(e,...t){return _n(this,"reduceRight",e,t)},shift(){return vt(this,"shift")},some(e,t){return De(this,"some",e,t,void 0,arguments)},splice(...e){return vt(this,"splice",e)},toReversed(){return rt(this).toReversed()},toSorted(e){return rt(this).toSorted(e)},toSpliced(...e){return rt(this).toSpliced(...e)},unshift(...e){return vt(this,"unshift",e)},values(){return vs(this,"values",e=>Pe(this,e))}};function vs(e,t,s){const n=ls(e),i=n[t]();return n!==e&&!pe(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const br=Array.prototype;function De(e,t,s,n,i,r){const o=ls(e),l=o!==e&&!pe(e),f=o[t];if(f!==br[t]){const g=f.apply(e,r);return l?_e(g):g}let d=s;o!==e&&(l?d=function(g,C){return s.call(this,Pe(e,g),C,e)}:s.length>2&&(d=function(g,C){return s.call(this,g,C,e)}));const a=f.call(o,d,n);return l&&i?i(a):a}function _n(e,t,s,n){const i=ls(e),r=i!==e&&!pe(e);let o=s,l=!1;i!==e&&(r?(l=n.length===0,o=function(d,a,g){return l&&(l=!1,d=Pe(e,d)),s.call(this,d,Pe(e,a),g,e)}):s.length>3&&(o=function(d,a,g){return s.call(this,d,a,g,e)}));const f=i[t](o,...n);return l?Pe(e,f):f}function bs(e,t,s){const n=L(e);se(n,"iterate",It);const i=n[t](...s);return(i===-1||i===!1)&&sn(s[0])?(s[0]=L(s[0]),n[t](...s)):i}function vt(e,t,s=[]){Ue(),Ys();const n=L(e)[t].apply(e,s);return Xs(),Ve(),n}const yr=Ws("__proto__,__v_isRef,__isVue"),ai=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fe));function xr(e){Fe(e)||(e=String(e));const t=L(this);return se(t,"has",e),t.hasOwnProperty(e)}class di{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Rr:mi:r?gi:pi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=M(t);if(!i){let f;if(o&&(f=vr[s]))return f;if(s==="hasOwnProperty")return xr}const l=Reflect.get(t,s,ne(t)?t:n);if((Fe(s)?ai.has(s):yr(s))||(i||se(t,"get",s),r))return l;if(ne(l)){const f=o&&zs(s)?l:l.value;return i&&V(f)?Ns(f):f}return V(l)?i?Ns(l):Rt(l):l}}class hi extends di{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=M(t)&&zs(s);if(!this._isShallow){const d=Ke(r);if(!pe(n)&&!Ke(n)&&(r=L(r),n=L(n)),!o&&ne(r)&&!ne(n))return d||(r.value=n),!0}const l=o?Number(s)<t.length:$(t,s),f=Reflect.set(t,s,n,ne(t)?t:i);return t===L(i)&&f&&(l?Re(n,r)&&Le(t,"set",s,n):Le(t,"add",s,n)),f}deleteProperty(t,s){const n=$(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&Le(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!Fe(s)||!ai.has(s))&&se(t,"has",s),n}ownKeys(t){return se(t,"iterate",M(t)?"length":tt),Reflect.ownKeys(t)}}class Sr extends di{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const wr=new hi,Cr=new Sr,Tr=new hi(!0);const Ds=e=>e,Wt=e=>Reflect.getPrototypeOf(e);function Er(e,t,s){return function(...n){const i=this.__v_raw,r=L(i),o=ft(r),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=i[e](...n),a=s?Ds:t?dt:_e;return!t&&se(r,"iterate",f?Fs:tt),ie(Object.create(d),{next(){const{value:g,done:C}=d.next();return C?{value:g,done:C}:{value:l?[a(g[0]),a(g[1])]:a(g),done:C}}})}}function Bt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Or(e,t){const s={get(i){const r=this.__v_raw,o=L(r),l=L(i);e||(Re(i,l)&&se(o,"get",i),se(o,"get",l));const{has:f}=Wt(o),d=t?Ds:e?dt:_e;if(f.call(o,i))return d(r.get(i));if(f.call(o,l))return d(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&se(L(i),"iterate",tt),i.size},has(i){const r=this.__v_raw,o=L(r),l=L(i);return e||(Re(i,l)&&se(o,"has",i),se(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,f=L(l),d=t?Ds:e?dt:_e;return!e&&se(f,"iterate",tt),l.forEach((a,g)=>i.call(r,d(a),d(g),o))}};return ie(s,e?{add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear")}:{add(i){const r=L(this),o=Wt(r),l=L(i),f=!t&&!pe(i)&&!Ke(i)?l:i;return o.has.call(r,f)||Re(i,f)&&o.has.call(r,i)||Re(l,f)&&o.has.call(r,l)||(r.add(f),Le(r,"add",f,f)),this},set(i,r){!t&&!pe(r)&&!Ke(r)&&(r=L(r));const o=L(this),{has:l,get:f}=Wt(o);let d=l.call(o,i);d||(i=L(i),d=l.call(o,i));const a=f.call(o,i);return o.set(i,r),d?Re(r,a)&&Le(o,"set",i,r):Le(o,"add",i,r),this},delete(i){const r=L(this),{has:o,get:l}=Wt(r);let f=o.call(r,i);f||(i=L(i),f=o.call(r,i)),l&&l.call(r,i);const d=r.delete(i);return f&&Le(r,"delete",i,void 0),d},clear(){const i=L(this),r=i.size!==0,o=i.clear();return r&&Le(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Er(i,e,t)}),s}function en(e,t){const s=Or(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get($(s,i)&&i in n?s:n,i,r)}const Ar={get:en(!1,!1)},Pr={get:en(!1,!0)},Ir={get:en(!0,!1)};const pi=new WeakMap,gi=new WeakMap,mi=new WeakMap,Rr=new WeakMap;function Mr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rt(e){return Ke(e)?e:tn(e,!1,wr,Ar,pi)}function Fr(e){return tn(e,!1,Tr,Pr,gi)}function Ns(e){return tn(e,!0,Cr,Ir,mi)}function tn(e,t,s,n,i){if(!V(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=Mr(ir(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return i.set(e,l),l}function st(e){return Ke(e)?st(e.__v_raw):!!(e&&e.__v_isReactive)}function Ke(e){return!!(e&&e.__v_isReadonly)}function pe(e){return!!(e&&e.__v_isShallow)}function sn(e){return e?!!e.__v_raw:!1}function L(e){const t=e&&e.__v_raw;return t?L(t):e}function Dr(e){return!$(e,"__v_skip")&&Object.isExtensible(e)&&Qn(e,"__v_skip",!0),e}const _e=e=>V(e)?Rt(e):e,dt=e=>V(e)?Ns(e):e;function ne(e){return e?e.__v_isRef===!0:!1}function Xe(e){return Nr(e,!1)}function Nr(e,t){return ne(e)?e:new jr(e,t)}class jr{constructor(t,s){this.dep=new Qs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:L(t),this._value=s?t:_e(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||pe(t)||Ke(t);t=n?t:L(t),Re(t,s)&&(this._rawValue=t,this._value=n?t:_e(t),this.dep.trigger())}}function kt(e){return ne(e)?e.value:e}const Lr={get:(e,t,s)=>t==="__v_raw"?e:kt(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ne(i)&&!ne(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function _i(e){return st(e)?e:new Proxy(e,Lr)}class $r{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Qs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&z!==this)return ri(this,!0),!0}get value(){const t=this.dep.track();return ci(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Hr(e,t,s=!1){let n,i;return D(e)?n=e:(n=e.get,i=e.set),new $r(n,i,s)}const zt={},Yt=new WeakMap;let et;function Ur(e,t=!1,s=et){if(s){let n=Yt.get(s);n||Yt.set(s,n=[]),n.push(e)}}function Vr(e,t,s=W){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:f}=s,d=I=>i?I:pe(I)||i===!1||i===0?$e(I,1):$e(I);let a,g,C,O,F=!1,p=!1;if(ne(e)?(g=()=>e.value,F=pe(e)):st(e)?(g=()=>d(e),F=!0):M(e)?(p=!0,F=e.some(I=>st(I)||pe(I)),g=()=>e.map(I=>{if(ne(I))return I.value;if(st(I))return d(I);if(D(I))return f?f(I,2):I()})):D(e)?t?g=f?()=>f(e,2):e:g=()=>{if(C){Ue();try{C()}finally{Ve()}}const I=et;et=a;try{return f?f(e,3,[O]):e(O)}finally{et=I}}:g=Me,t&&i){const I=g,Y=i===!0?1/0:i;g=()=>$e(I(),Y)}const E=gr(),H=()=>{a.stop(),E&&E.active&&Bs(E.effects,a)};if(r&&t){const I=t;t=(...Y)=>{const be=I(...Y);return H(),be}}let j=p?new Array(e.length).fill(zt):zt;const q=I=>{if(!(!(a.flags&1)||!a.dirty&&!I))if(t){const Y=a.run();if(I||i||F||(p?Y.some((be,ye)=>Re(be,j[ye])):Re(Y,j))){C&&C();const be=et;et=a;try{const ye=[Y,j===zt?void 0:p&&j[0]===zt?[]:j,O];j=Y,f?f(t,3,ye):t(...ye)}finally{et=be}}}else a.run()};return l&&l(q),a=new ni(g),a.scheduler=o?()=>o(q,!1):q,O=I=>Ur(I,!1,a),C=a.onStop=()=>{const I=Yt.get(a);if(I){if(f)f(I,4);else for(const Y of I)Y();Yt.delete(a)}},t?n?q(!0):j=a.run():o?o(q.bind(null,!0),!0):a.run(),H.pause=a.pause.bind(a),H.resume=a.resume.bind(a),H.stop=H,H}function $e(e,t=1/0,s){if(t<=0||!V(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ne(e))$e(e.value,t,s);else if(M(e))for(let n=0;n<e.length;n++)$e(e[n],t,s);else if(Gn(e)||ft(e))e.forEach(n=>{$e(n,t,s)});else if(Xn(e)){for(const n in e)$e(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&$e(e[n],t,s)}return e}/**
* @vue/runtime-core v3.5.40
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function jt(e,t,s,n){try{return n?e(...n):e()}catch(i){cs(i,t,s)}}function ve(e,t,s,n){if(D(e)){const i=jt(e,t,s,n);return i&&Jn(i)&&i.catch(r=>{cs(r,t,s)}),i}if(M(e)){const i=[];for(let r=0;r<e.length;r++)i.push(ve(e[r],t,s,n));return i}}function cs(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||W;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let g=0;g<a.length;g++)if(a[g](e,f,d)===!1)return}l=l.parent}if(r){Ue(),jt(r,null,10,[e,f,d]),Ve();return}}Kr(e,s,i,n,o)}function Kr(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const le=[];let Ae=-1;const ut=[];let qe=null,ot=0;const vi=Promise.resolve();let Xt=null;function Wr(e){const t=Xt||vi;return e?t.then(this?e.bind(this):e):t}function Br(e){let t=Ae+1,s=le.length;for(;t<s;){const n=t+s>>>1,i=le[n],r=Mt(i);r<e||r===e&&i.flags&2?t=n+1:s=n}return t}function nn(e){if(!(e.flags&1)){const t=Mt(e),s=le[le.length-1];!s||!(e.flags&2)&&t>=Mt(s)?le.push(e):le.splice(Br(t),0,e),e.flags|=1,bi()}}function bi(){Xt||(Xt=vi.then(xi))}function zr(e){M(e)?ut.push(...e):qe&&e.id===-1?qe.splice(ot+1,0,e):e.flags&1||(ut.push(e),e.flags|=1),bi()}function vn(e,t,s=Ae+1){for(;s<le.length;s++){const n=le[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;le.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function yi(e){if(ut.length){const t=[...new Set(ut)].sort((s,n)=>Mt(s)-Mt(n));if(ut.length=0,qe){qe.push(...t);return}for(qe=t,ot=0;ot<qe.length;ot++){const s=qe[ot];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}qe=null,ot=0}}const Mt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xi(e){try{for(Ae=0;Ae<le.length;Ae++){const t=le[Ae];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),jt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ae<le.length;Ae++){const t=le[Ae];t&&(t.flags&=-2)}Ae=-1,le.length=0,yi(),Xt=null,(le.length||ut.length)&&xi()}}let he=null,Si=null;function Zt(e){const t=he;return he=e,Si=e&&e.type.__scopeId||null,t}function qr(e,t=he,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&In(-1);const r=Zt(t),o=nt.length;let l;try{l=e(...i)}finally{for(let f=nt.length;f>o;f--)ki();Zt(r),n._d&&In(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Te(e,t){if(he===null)return e;const s=ds(he),n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,f=W]=t[i];r&&(D(r)&&(r={mounted:r,updated:r}),r.deep&&$e(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:f}))}return e}function Ze(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let f=l.dir[n];f&&(Ue(),ve(f,s,8,[e.el,l,e,t]),Ve())}}function kr(e,t){if(ce){let s=ce.provides;const n=ce.parent&&ce.parent.provides;n===s&&(s=ce.provides=Object.create(n)),s[e]=t}}function Gt(e,t,s=!1){const n=zo();if(n||at){let i=at?at._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&D(t)?t.call(n&&n.proxy):t}}const Gr=Symbol.for("v-scx"),Jr=()=>Gt(Gr);function ys(e,t,s){return wi(e,t,s)}function wi(e,t,s=W){const{immediate:n,deep:i,flush:r,once:o}=s,l=ie({},s),f=t&&n||!t&&r!=="post";let d;if(Dt){if(r==="sync"){const O=Jr();d=O.__watcherHandles||(O.__watcherHandles=[])}else if(!f){const O=()=>{};return O.stop=Me,O.resume=Me,O.pause=Me,O}}const a=ce;l.call=(O,F,p)=>ve(O,a,F,p);let g=!1;r==="post"?l.scheduler=O=>{fe(O,a&&a.suspense)}:r!=="sync"&&(g=!0,l.scheduler=(O,F)=>{F?O():nn(O)}),l.augmentJob=O=>{t&&(O.flags|=4),g&&(O.flags|=2,a&&(O.id=a.uid,O.i=a))};const C=Vr(e,t,l);return Dt&&(d?d.push(C):f&&C()),C}function Yr(e,t,s){const n=this.proxy,i=G(e)?e.includes(".")?Ci(n,e):()=>n[e]:e.bind(n,n);let r;D(t)?r=t:(r=t.handler,s=t);const o=Lt(this),l=wi(i,r.bind(n),s);return o(),l}function Ci(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const Xr=Symbol("_vte"),Zr=e=>e.__isTeleport,xs=Symbol("_leaveCb");function rn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,rn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ti(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function bn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Qt=new WeakMap;function Et(e,t,s,n,i=!1){if(M(e)){e.forEach((p,E)=>Et(p,t&&(M(t)?t[E]:t),s,n,i));return}if(Ot(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Et(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?ds(n.component):n.el,o=i?null:r,{i:l,r:f}=e,d=t&&t.r,a=l.refs===W?l.refs={}:l.refs,g=l.setupState,C=L(g),O=g===W?kn:p=>bn(a,p)?!1:$(C,p),F=(p,E)=>!(E&&bn(a,E));if(d!=null&&d!==f){if(yn(t),G(d))a[d]=null,O(d)&&(g[d]=null);else if(ne(d)){const p=t;F(d,p.k)&&(d.value=null),p.k&&(a[p.k]=null)}}if(D(f))jt(f,l,12,[o,a]);else{const p=G(f),E=ne(f);if(p||E){const H=()=>{if(e.f){const j=p?O(f)?g[f]:a[f]:F()||!e.k?f.value:a[e.k];if(i)M(j)&&Bs(j,r);else if(M(j))j.includes(r)||j.push(r);else if(p)a[f]=[r],O(f)&&(g[f]=a[f]);else{const q=[r];F(f,e.k)&&(f.value=q),e.k&&(a[e.k]=q)}}else p?(a[f]=o,O(f)&&(g[f]=o)):E&&(F(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const j=()=>{H(),Qt.delete(e)};j.id=-1,Qt.set(e,j),fe(j,s)}else yn(e),H()}}}function yn(e){const t=Qt.get(e);t&&(t.flags|=8,Qt.delete(e))}os().requestIdleCallback;os().cancelIdleCallback;const Ot=e=>!!e.type.__asyncLoader,Ei=e=>e.type.__isKeepAlive;function Qr(e,t){Oi(e,"a",t)}function eo(e,t){Oi(e,"da",t)}function Oi(e,t,s=ce){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(fs(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Ei(i.parent.vnode)&&to(n,t,s,i),i=i.parent}}function to(e,t,s,n){const i=fs(t,e,n,!0);Pi(()=>{Bs(n[t],i)},s)}function fs(e,t,s=ce,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Ue();const l=Lt(s),f=ve(t,s,e,o);return l(),Ve(),f});return n?i.unshift(r):i.push(r),r}}const We=e=>(t,s=ce)=>{(!Dt||e==="sp")&&fs(e,(...n)=>t(...n),s)},so=We("bm"),Ai=We("m"),no=We("bu"),io=We("u"),ro=We("bum"),Pi=We("um"),oo=We("sp"),lo=We("rtg"),co=We("rtc");function fo(e,t=ce){fs("ec",e,t)}const uo=Symbol.for("v-ndc");function xn(e,t,s,n){let i;const r=s,o=M(e);if(o||G(e)){const l=o&&st(e);let f=!1,d=!1;l&&(f=!pe(e),d=Ke(e),e=ls(e)),i=new Array(e.length);for(let a=0,g=e.length;a<g;a++)i[a]=t(f?d?dt(_e(e[a])):_e(e[a]):e[a],a,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r)}else if(V(e))if(e[Symbol.iterator])i=Array.from(e,(l,f)=>t(l,f,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let f=0,d=l.length;f<d;f++){const a=l[f];i[f]=t(e[a],a,f,r)}}else i=[];return i}const js=e=>e?Xi(e)?ds(e):js(e.parent):null,At=ie(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=>js(e.parent),$root:e=>js(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ri(e),$forceUpdate:e=>e.f||(e.f=()=>{nn(e.update)}),$nextTick:e=>e.n||(e.n=Wr.bind(e.proxy)),$watch:e=>Yr.bind(e)}),Ss=(e,t)=>e!==W&&!e.__isScriptSetup&&$(e,t),ao={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const C=o[t];if(C!==void 0)switch(C){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Ss(n,t))return o[t]=1,n[t];if(i!==W&&$(i,t))return o[t]=2,i[t];if($(r,t))return o[t]=3,r[t];if(s!==W&&$(s,t))return o[t]=4,s[t];Ls&&(o[t]=0)}}const d=At[t];let a,g;if(d)return t==="$attrs"&&se(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==W&&$(s,t))return o[t]=4,s[t];if(g=f.config.globalProperties,$(g,t))return g[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Ss(i,t)?(i[t]=s,!0):n!==W&&$(n,t)?(n[t]=s,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let f;return!!(s[l]||e!==W&&l[0]!=="$"&&$(e,l)||Ss(t,l)||$(r,l)||$(n,l)||$(At,l)||$(i.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:$(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Sn(e){return M(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ls=!0;function ho(e){const t=Ri(e),s=e.proxy,n=e.ctx;Ls=!1,t.beforeCreate&&wn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:g,mounted:C,beforeUpdate:O,updated:F,activated:p,deactivated:E,beforeDestroy:H,beforeUnmount:j,destroyed:q,unmounted:I,render:Y,renderTracked:be,renderTriggered:ye,errorCaptured:Be,serverPrefetch:$t,expose:Ge,inheritAttrs:pt,components:Ht,directives:Ut,filters:hs}=t;if(d&&po(d,n,null),o)for(const k in o){const B=o[k];D(B)&&(n[k]=B.bind(s))}if(i){const k=i.call(s,s);V(k)&&(e.data=Rt(k))}if(Ls=!0,r)for(const k in r){const B=r[k],Je=D(B)?B.bind(s,s):D(B.get)?B.get.bind(s,s):Me,Vt=!D(B)&&D(B.set)?B.set.bind(s):Me,Ye=Qi({get:Je,set:Vt});Object.defineProperty(n,k,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:xe=>Ye.value=xe})}if(l)for(const k in l)Ii(l[k],n,s,k);if(f){const k=D(f)?f.call(s):f;Reflect.ownKeys(k).forEach(B=>{kr(B,k[B])})}a&&wn(a,e,"c");function re(k,B){M(B)?B.forEach(Je=>k(Je.bind(s))):B&&k(B.bind(s))}if(re(so,g),re(Ai,C),re(no,O),re(io,F),re(Qr,p),re(eo,E),re(fo,Be),re(co,be),re(lo,ye),re(ro,j),re(Pi,I),re(oo,$t),M(Ge))if(Ge.length){const k=e.exposed||(e.exposed={});Ge.forEach(B=>{Object.defineProperty(k,B,{get:()=>s[B],set:Je=>s[B]=Je,enumerable:!0})})}else e.exposed||(e.exposed={});Y&&e.render===Me&&(e.render=Y),pt!=null&&(e.inheritAttrs=pt),Ht&&(e.components=Ht),Ut&&(e.directives=Ut),$t&&Ti(e)}function po(e,t,s=Me){M(e)&&(e=$s(e));for(const n in e){const i=e[n];let r;V(i)?"default"in i?r=Gt(i.from||n,i.default,!0):r=Gt(i.from||n):r=Gt(i),ne(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function wn(e,t,s){ve(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ii(e,t,s,n){let i=n.includes(".")?Ci(s,n):()=>s[n];if(G(e)){const r=t[e];D(r)&&ys(i,r)}else if(D(e))ys(i,e.bind(s));else if(V(e))if(M(e))e.forEach(r=>Ii(r,t,s,n));else{const r=D(e.handler)?e.handler.bind(s):t[e.handler];D(r)&&ys(i,r,e)}}function Ri(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let f;return l?f=l:!i.length&&!s&&!n?f=t:(f={},i.length&&i.forEach(d=>es(f,d,o,!0)),es(f,t,o)),V(t)&&r.set(t,f),f}function es(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&es(e,r,s,!0),i&&i.forEach(o=>es(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=go[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const go={data:Cn,props:Tn,emits:Tn,methods:yt,computed:yt,beforeCreate:oe,created:oe,beforeMount:oe,mounted:oe,beforeUpdate:oe,updated:oe,beforeDestroy:oe,beforeUnmount:oe,destroyed:oe,unmounted:oe,activated:oe,deactivated:oe,errorCaptured:oe,serverPrefetch:oe,components:yt,directives:yt,watch:_o,provide:Cn,inject:mo};function Cn(e,t){return t?e?function(){return ie(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function mo(e,t){return yt($s(e),$s(t))}function $s(e){if(M(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function oe(e,t){return e?[...new Set([].concat(e,t))]:t}function yt(e,t){return e?ie(Object.create(null),e,t):t}function Tn(e,t){return e?M(e)&&M(t)?[...new Set([...e,...t])]:ie(Object.create(null),Sn(e),Sn(t??{})):t}function _o(e,t){if(!e)return t;if(!t)return e;const s=ie(Object.create(null),e);for(const n in t)s[n]=oe(e[n],t[n]);return s}function Mi(){return{app:null,config:{isNativeTag:kn,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let vo=0;function bo(e,t){return function(n,i=null){D(n)||(n=ie({},n)),i!=null&&!V(i)&&(i=null);const r=Mi(),o=new WeakSet,l=[];let f=!1;const d=r.app={_uid:vo++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:Xo,get config(){return r.config},set config(a){},use(a,...g){return o.has(a)||(a&&D(a.install)?(o.add(a),a.install(d,...g)):D(a)&&(o.add(a),a(d,...g))),d},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),d},component(a,g){return g?(r.components[a]=g,d):r.components[a]},directive(a,g){return g?(r.directives[a]=g,d):r.directives[a]},mount(a,g,C){if(!f){const O=d._ceVNode||He(n,i);return O.appContext=r,C===!0?C="svg":C===!1&&(C=void 0),e(O,a,C),f=!0,d._container=a,a.__vue_app__=d,ds(O.component)}},onUnmount(a){l.push(a)},unmount(){f&&(ve(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,g){return r.provides[a]=g,d},runWithContext(a){const g=at;at=d;try{return a()}finally{at=g}}};return d}}let at=null;const yo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ge(t)}Modifiers`]||e[`${it(t)}Modifiers`];function xo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||W;let i=s;const r=t.startsWith("update:"),o=r&&yo(n,t.slice(7));o&&(o.trim&&(i=s.map(a=>G(a)?a.trim():a)),o.number&&(i=s.map(qs)));let l,f=n[l=gs(t)]||n[l=gs(ge(t))];!f&&r&&(f=n[l=gs(it(t))]),f&&ve(f,e,6,i);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ve(d,e,6,i)}}const So=new WeakMap;function Fi(e,t,s=!1){const n=s?So:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!D(e)){const f=d=>{const a=Fi(d,t,!0);a&&(l=!0,ie(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(V(e)&&n.set(e,null),null):(M(r)?r.forEach(f=>o[f]=null):ie(o,r),V(e)&&n.set(e,o),o)}function us(e,t){return!e||!ns(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,it(t))||$(e,t))}function En(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:g,data:C,setupState:O,ctx:F,inheritAttrs:p}=e,E=Zt(e);let H,j;try{if(s.shapeFlag&4){const I=i||n,Y=I;H=Ie(d.call(Y,I,a,g,O,C,F)),j=l}else{const I=t;H=Ie(I.length>1?I(g,{attrs:l,slots:o,emit:f}):I(g,null)),j=t.props?l:wo(l)}}catch(I){nt.length=0,cs(I,e,1),H=He(ke)}let q=H;if(j&&p!==!1){const I=Object.keys(j),{shapeFlag:Y}=q;I.length&&Y&7&&(r&&I.some(is)&&(j=Co(j,r)),q=ht(q,j,!1,!0))}return s.dirs&&(q=ht(q,null,!1,!0),q.dirs=q.dirs?q.dirs.concat(s.dirs):s.dirs),s.transition&&rn(q,s.transition),H=q,Zt(E),H}const wo=e=>{let t;for(const s in e)(s==="class"||s==="style"||ns(s))&&((t||(t={}))[s]=e[s]);return t},Co=(e,t)=>{const s={};for(const n in e)(!is(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function To(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:f}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?On(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let g=0;g<a.length;g++){const C=a[g];if(Di(o,n,C)&&!us(d,C))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?On(n,o,d):!0:!!o;return!1}function On(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(Di(t,e,r)&&!us(s,r))return!0}return!1}function Di(e,t,s){const n=e[s],i=t[s];return s==="style"&&V(n)&&V(i)?!Js(n,i):n!==i}function Eo({vnode:e,parent:t,suspense:s},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=n,e=i),i===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Ni={},ji=()=>Object.create(Ni),Li=e=>Object.getPrototypeOf(e)===Ni;function Oo(e,t,s,n=!1){const i={},r=ji();e.propsDefaults=Object.create(null),$i(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:Fr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Ao(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=L(i),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let g=0;g<a.length;g++){let C=a[g];if(us(e.emitsOptions,C))continue;const O=t[C];if(f)if($(r,C))O!==r[C]&&(r[C]=O,d=!0);else{const F=ge(C);i[F]=Hs(f,l,F,O,e,!1)}else O!==r[C]&&(r[C]=O,d=!0)}}}else{$i(e,t,i,r)&&(d=!0);let a;for(const g in l)(!t||!$(t,g)&&((a=it(g))===g||!$(t,a)))&&(f?s&&(s[g]!==void 0||s[a]!==void 0)&&(i[g]=Hs(f,l,g,void 0,e,!0)):delete i[g]);if(r!==l)for(const g in r)(!t||!$(t,g))&&(delete r[g],d=!0)}d&&Le(e.attrs,"set","")}function $i(e,t,s,n){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(wt(f))continue;const d=t[f];let a;i&&$(i,a=ge(f))?!r||!r.includes(a)?s[a]=d:(l||(l={}))[a]=d:us(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,o=!0)}if(r){const f=L(s),d=l||W;for(let a=0;a<r.length;a++){const g=r[a];s[g]=Hs(i,f,g,d[g],e,!$(d,g))}}return o}function Hs(e,t,s,n,i,r){const o=e[s];if(o!=null){const l=$(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&D(f)){const{propsDefaults:d}=i;if(s in d)n=d[s];else{const a=Lt(i);n=d[s]=f.call(null,t),a()}}else n=f;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===it(s))&&(n=!0))}return n}const Po=new WeakMap;function Hi(e,t,s=!1){const n=s?Po:t.propsCache,i=n.get(e);if(i)return i;const r=e.props,o={},l=[];let f=!1;if(!D(e)){const a=g=>{f=!0;const[C,O]=Hi(g,t,!0);ie(o,C),O&&l.push(...O)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!f)return V(e)&&n.set(e,ct),ct;if(M(r))for(let a=0;a<r.length;a++){const g=ge(r[a]);An(g)&&(o[g]=W)}else if(r)for(const a in r){const g=ge(a);if(An(g)){const C=r[a],O=o[g]=M(C)||D(C)?{type:C}:ie({},C),F=O.type;let p=!1,E=!0;if(M(F))for(let H=0;H<F.length;++H){const j=F[H],q=D(j)&&j.name;if(q==="Boolean"){p=!0;break}else q==="String"&&(E=!1)}else p=D(F)&&F.name==="Boolean";O[0]=p,O[1]=E,(p||$(O,"default"))&&l.push(g)}}const d=[o,l];return V(e)&&n.set(e,d),d}function An(e){return e[0]!=="$"&&!wt(e)}const on=e=>e==="_"||e==="_ctx"||e==="$stable",ln=e=>M(e)?e.map(Ie):[Ie(e)],Io=(e,t,s)=>{if(t._n)return t;const n=qr((...i)=>ln(t(...i)),s);return n._c=!1,n},Ui=(e,t,s)=>{const n=e._ctx;for(const i in e){if(on(i))continue;const r=e[i];if(D(r))t[i]=Io(i,r,n);else if(r!=null){const o=ln(r);t[i]=()=>o}}},Vi=(e,t)=>{const s=ln(t);e.slots.default=()=>s},Ki=(e,t,s)=>{for(const n in t)(s||!on(n))&&(e[n]=t[n])},Ro=(e,t,s)=>{const n=e.slots=ji();if(e.vnode.shapeFlag&32){const i=t._;i?(Ki(n,t,s),s&&Qn(n,"_",i,!0)):Ui(t,n)}else t&&Vi(e,t)},Mo=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=W;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Ki(i,t,s):(r=!t.$stable,Ui(t,i)),o=t}else t&&(Vi(e,t),o={default:1});if(r)for(const l in i)!on(l)&&o[l]==null&&delete i[l]},fe=Lo;function Fo(e){return Do(e)}function Do(e,t){const s=os();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:g,nextSibling:C,setScopeId:O=Me,insertStaticContent:F}=e,p=(c,u,h,b=null,v=null,m=null,S=void 0,x=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!bt(c,u)&&(b=Kt(c),xe(c,v,m,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:_,ref:P,shapeFlag:w}=u;switch(_){case as:E(c,u,h,b);break;case ke:H(c,u,h,b);break;case Cs:c==null&&j(u,h,b,S);break;case ue:Ht(c,u,h,b,v,m,S,x,y);break;default:w&1?Y(c,u,h,b,v,m,S,x,y):w&6?Ut(c,u,h,b,v,m,S,x,y):(w&64||w&128)&&_.process(c,u,h,b,v,m,S,x,y,mt)}P!=null&&v?Et(P,c&&c.ref,m,u||c,!u):P==null&&c&&c.ref!=null&&Et(c.ref,null,m,c,!0)},E=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const v=u.el=c.el;u.children!==c.children&&d(v,u.children)}},H=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},j=(c,u,h,b)=>{[c.el,c.anchor]=F(c.children,u,h,b,c.el,c.anchor)},q=({el:c,anchor:u},h,b)=>{let v;for(;c&&c!==u;)v=C(c),n(c,h,b),c=v;n(u,h,b)},I=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=C(c),i(c),c=h;i(u)},Y=(c,u,h,b,v,m,S,x,y)=>{if(u.type==="svg"?S="svg":u.type==="math"&&(S="mathml"),c==null)be(u,h,b,v,m,S,x,y);else{const _=c.el&&c.el._isVueCE?c.el:null;try{_&&_._beginPatch(),$t(c,u,v,m,S,x,y)}finally{_&&_._endPatch()}}},be=(c,u,h,b,v,m,S,x)=>{let y,_;const{props:P,shapeFlag:w,transition:A,dirs:R}=c;if(y=c.el=o(c.type,m,P&&P.is,P),w&8?a(y,c.children):w&16&&Be(c.children,y,null,b,v,ws(c,m),S,x),R&&Ze(c,null,b,"created"),ye(y,c,c.scopeId,S,b),P){for(const K in P)K!=="value"&&!wt(K)&&r(y,K,null,P[K],m,b);"value"in P&&r(y,"value",null,P.value,m),(_=P.onVnodeBeforeMount)&&Ee(_,b,c)}R&&Ze(c,null,b,"beforeMount");const N=No(v,A);N&&A.beforeEnter(y),n(y,u,h),((_=P&&P.onVnodeMounted)||N||R)&&fe(()=>{try{_&&Ee(_,b,c),N&&A.enter(y),R&&Ze(c,null,b,"mounted")}finally{}},v)},ye=(c,u,h,b,v)=>{if(h&&O(c,h),b)for(let m=0;m<b.length;m++)O(c,b[m]);if(v){let m=v.subTree;if(u===m||qi(m.type)&&(m.ssContent===u||m.ssFallback===u)){const S=v.vnode;ye(c,S,S.scopeId,S.slotScopeIds,v.parent)}}},Be=(c,u,h,b,v,m,S,x,y=0)=>{for(let _=y;_<c.length;_++){const P=c[_]=x?je(c[_]):Ie(c[_]);p(null,P,u,h,b,v,m,S,x)}},$t=(c,u,h,b,v,m,S)=>{const x=u.el=c.el;let{patchFlag:y,dynamicChildren:_,dirs:P}=u;y|=c.patchFlag&16;const w=c.props||W,A=u.props||W;let R;if(h&&Qe(h,!1),(R=A.onVnodeBeforeUpdate)&&Ee(R,h,u,c),P&&Ze(u,c,h,"beforeUpdate"),h&&Qe(h,!0),_&&(!c.dynamicChildren||c.dynamicChildren.length!==_.length)&&(y=0,S=!1,_=null),(w.innerHTML&&A.innerHTML==null||w.textContent&&A.textContent==null)&&a(x,""),_?Ge(c.dynamicChildren,_,x,h,b,ws(u,v),m):S||B(c,u,x,null,h,b,ws(u,v),m,!1),y>0){if(y&16)pt(x,w,A,h,v);else if(y&2&&w.class!==A.class&&r(x,"class",null,A.class,v),y&4&&r(x,"style",w.style,A.style,v),y&8){const N=u.dynamicProps;for(let K=0;K<N.length;K++){const U=N[K],J=w[U],Q=A[U];(Q!==J||U==="value")&&r(x,U,J,Q,v,h)}}y&1&&c.children!==u.children&&a(x,u.children)}else!S&&_==null&&pt(x,w,A,h,v);((R=A.onVnodeUpdated)||P)&&fe(()=>{R&&Ee(R,h,u,c),P&&Ze(u,c,h,"updated")},b)},Ge=(c,u,h,b,v,m,S)=>{for(let x=0;x<u.length;x++){const y=c[x],_=u[x],P=y.el&&(y.type===ue||!bt(y,_)||y.shapeFlag&198)?g(y.el):h;p(y,_,P,null,b,v,m,S,!0)}},pt=(c,u,h,b,v)=>{if(u!==h){if(u!==W)for(const m in u)!wt(m)&&!(m in h)&&r(c,m,u[m],null,v,b);for(const m in h){if(wt(m))continue;const S=h[m],x=u[m];S!==x&&m!=="value"&&r(c,m,x,S,v,b)}"value"in h&&r(c,"value",u.value,h.value,v)}},Ht=(c,u,h,b,v,m,S,x,y)=>{const _=u.el=c?c.el:l(""),P=u.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:A,slotScopeIds:R}=u;R&&(x=x?x.concat(R):R),c==null?(n(_,h,b),n(P,h,b),Be(u.children||[],h,P,v,m,S,x,y)):w>0&&w&64&&A&&c.dynamicChildren&&c.dynamicChildren.length===A.length?(Ge(c.dynamicChildren,A,h,v,m,S,x),(u.key!=null||v&&u===v.subTree)&&Wi(c,u,!0)):B(c,u,h,P,v,m,S,x,y)},Ut=(c,u,h,b,v,m,S,x,y)=>{u.slotScopeIds=x,c==null?u.shapeFlag&512?v.ctx.activate(u,h,b,S,y):hs(u,h,b,v,m,S,y):cn(c,u,y)},hs=(c,u,h,b,v,m,S)=>{const x=c.component=Bo(c,b,v);if(Ei(c)&&(x.ctx.renderer=mt),qo(x,!1,S),x.asyncDep){if(v&&v.registerDep(x,re,S),!c.el){const y=x.subTree=He(ke);H(null,y,u,h),c.placeholder=y.el}}else re(x,c,u,h,v,m,S)},cn=(c,u,h)=>{const b=u.component=c.component;if(To(c,u,h))if(b.asyncDep&&!b.asyncResolved){k(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},re=(c,u,h,b,v,m,S)=>{const x=()=>{if(c.isMounted){let{next:w,bu:A,u:R,parent:N,vnode:K}=c;{const we=Bi(c);if(we){w&&(w.el=K.el,k(c,w,S)),we.asyncDep.then(()=>{fe(()=>{c.isUnmounted||_()},v)});return}}let U=w,J;Qe(c,!1),w?(w.el=K.el,k(c,w,S)):w=K,A&&qt(A),(J=w.props&&w.props.onVnodeBeforeUpdate)&&Ee(J,N,w,K),Qe(c,!0);const Q=En(c),Se=c.subTree;c.subTree=Q,p(Se,Q,g(Se.el),Kt(Se),c,v,m),w.el=Q.el,U===null&&Eo(c,Q.el),R&&fe(R,v),(J=w.props&&w.props.onVnodeUpdated)&&fe(()=>Ee(J,N,w,K),v)}else{let w;const{el:A,props:R}=u,{bm:N,m:K,parent:U,root:J,type:Q}=c,Se=Ot(u);Qe(c,!1),N&&qt(N),!Se&&(w=R&&R.onVnodeBeforeMount)&&Ee(w,U,u),Qe(c,!0);{J.ce&&J.ce._hasShadowRoot()&&J.ce._injectChildStyle(Q,c.parent?c.parent.type:void 0);const we=c.subTree=En(c);p(null,we,h,b,c,v,m),u.el=we.el}if(K&&fe(K,v),!Se&&(w=R&&R.onVnodeMounted)){const we=u;fe(()=>Ee(w,U,we),v)}(u.shapeFlag&256||U&&Ot(U.vnode)&&U.vnode.shapeFlag&256)&&c.a&&fe(c.a,v),c.isMounted=!0,u=h=b=null}};c.scope.on();const y=c.effect=new ni(x);c.scope.off();const _=c.update=y.run.bind(y),P=c.job=y.runIfDirty.bind(y);P.i=c,P.id=c.uid,y.scheduler=()=>nn(P),Qe(c,!0),_()},k=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,Ao(c,u.props,b,h),Mo(c,u.children,h),Ue(),vn(c),Ve()},B=(c,u,h,b,v,m,S,x,y=!1)=>{const _=c&&c.children,P=c?c.shapeFlag:0,w=u.children,{patchFlag:A,shapeFlag:R}=u;if(A>0){if(A&128){Vt(_,w,h,b,v,m,S,x,y);return}else if(A&256){Je(_,w,h,b,v,m,S,x,y);return}}R&8?(P&16&&gt(_,v,m),w!==_&&a(h,w)):P&16?R&16?Vt(_,w,h,b,v,m,S,x,y):gt(_,v,m,!0):(P&8&&a(h,""),R&16&&Be(w,h,b,v,m,S,x,y))},Je=(c,u,h,b,v,m,S,x,y)=>{c=c||ct,u=u||ct;const _=c.length,P=u.length,w=Math.min(_,P);let A;for(A=0;A<w;A++){const R=u[A]=y?je(u[A]):Ie(u[A]);p(c[A],R,h,null,v,m,S,x,y)}_>P?gt(c,v,m,!0,!1,w):Be(u,h,b,v,m,S,x,y,w)},Vt=(c,u,h,b,v,m,S,x,y)=>{let _=0;const P=u.length;let w=c.length-1,A=P-1;for(;_<=w&&_<=A;){const R=c[_],N=u[_]=y?je(u[_]):Ie(u[_]);if(bt(R,N))p(R,N,h,null,v,m,S,x,y);else break;_++}for(;_<=w&&_<=A;){const R=c[w],N=u[A]=y?je(u[A]):Ie(u[A]);if(bt(R,N))p(R,N,h,null,v,m,S,x,y);else break;w--,A--}if(_>w){if(_<=A){const R=A+1,N=R<P?u[R].el:b;for(;_<=A;)p(null,u[_]=y?je(u[_]):Ie(u[_]),h,N,v,m,S,x,y),_++}}else if(_>A)for(;_<=w;)xe(c[_],v,m,!0),_++;else{const R=_,N=_,K=new Map;for(_=N;_<=A;_++){const ae=u[_]=y?je(u[_]):Ie(u[_]);ae.key!=null&&K.set(ae.key,_)}let U,J=0;const Q=A-N+1;let Se=!1,we=0;const _t=new Array(Q);for(_=0;_<Q;_++)_t[_]=0;for(_=R;_<=w;_++){const ae=c[_];if(J>=Q){xe(ae,v,m,!0);continue}let Ce;if(ae.key!=null)Ce=K.get(ae.key);else for(U=N;U<=A;U++)if(_t[U-N]===0&&bt(ae,u[U])){Ce=U;break}Ce===void 0?xe(ae,v,m,!0):(_t[Ce-N]=_+1,Ce>=we?we=Ce:Se=!0,p(ae,u[Ce],h,null,v,m,S,x,y),J++)}const an=Se?jo(_t):ct;for(U=an.length-1,_=Q-1;_>=0;_--){const ae=N+_,Ce=u[ae],dn=u[ae+1],hn=ae+1<P?dn.el||zi(dn):b;_t[_]===0?p(null,Ce,h,hn,v,m,S,x,y):Se&&(U<0||_!==an[U]?Ye(Ce,h,hn,2):U--)}}},Ye=(c,u,h,b,v=null)=>{const{el:m,type:S,transition:x,children:y,shapeFlag:_}=c;if(_&6){Ye(c.component.subTree,u,h,b);return}if(_&128){c.suspense.move(u,h,b);return}if(_&64){S.move(c,u,h,mt);return}if(S===ue){n(m,u,h);for(let w=0;w<y.length;w++)Ye(y[w],u,h,b);n(c.anchor,u,h);return}if(S===Cs){q(c,u,h);return}if(b!==2&&_&1&&x)if(b===0)x.persisted&&!m[xs]?n(m,u,h):(x.beforeEnter(m),n(m,u,h),fe(()=>x.enter(m),v));else{const{leave:w,delayLeave:A,afterLeave:R}=x,N=()=>{c.ctx.isUnmounted?i(m):n(m,u,h)},K=()=>{const U=m._isLeaving||!!m[xs];m._isLeaving&&m[xs](!0),x.persisted&&!U?N():w(m,()=>{N(),R&&R()})};A?A(m,N,K):K()}else n(m,u,h)},xe=(c,u,h,b=!1,v=!1)=>{const{type:m,props:S,ref:x,children:y,dynamicChildren:_,shapeFlag:P,patchFlag:w,dirs:A,cacheIndex:R,memo:N}=c;if(w===-2&&(v=!1),x!=null&&(Ue(),Et(x,null,h,c,!0),Ve()),R!=null&&(u.renderCache[R]=void 0),P&256){u.ctx.deactivate(c);return}const K=P&1&&A,U=!Ot(c);let J;if(U&&(J=S&&S.onVnodeBeforeUnmount)&&Ee(J,u,c),P&6)sr(c.component,h,b);else{if(P&128){c.suspense.unmount(h,b);return}K&&Ze(c,null,u,"beforeUnmount"),P&64?c.type.remove(c,u,h,mt,b):_&&!_.hasOnce&&(m!==ue||w>0&&w&64)?gt(_,u,h,!1,!0):(m===ue&&w&384||!v&&P&16)&&gt(y,u,h),b&&fn(c)}const Q=N!=null&&R==null;(U&&(J=S&&S.onVnodeUnmounted)||K||Q)&&fe(()=>{J&&Ee(J,u,c),K&&Ze(c,null,u,"unmounted"),Q&&(c.el=null)},h)},fn=c=>{const{type:u,el:h,anchor:b,transition:v}=c;if(u===ue){tr(h,b);return}if(u===Cs){I(c);return}const m=()=>{i(h),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:S,delayLeave:x}=v,y=()=>S(h,m);x?x(c.el,m,y):y()}else m()},tr=(c,u)=>{let h;for(;c!==u;)h=C(c),i(c),c=h;i(u)},sr=(c,u,h)=>{const{bum:b,scope:v,job:m,subTree:S,um:x,m:y,a:_}=c;Pn(y),Pn(_),b&&qt(b),v.stop(),m&&(m.flags|=8,xe(S,c,u,h)),x&&fe(x,u),fe(()=>{c.isUnmounted=!0},u)},gt=(c,u,h,b=!1,v=!1,m=0)=>{for(let S=m;S<c.length;S++)xe(c[S],u,h,b,v)},Kt=c=>{if(c.shapeFlag&6)return Kt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=C(c.anchor||c.el),h=u&&u[Xr];return h?C(h):u};let ps=!1;const un=(c,u,h)=>{let b;c==null?u._vnode&&(xe(u._vnode,null,null,!0),b=u._vnode.component):p(u._vnode||null,c,u,null,null,null,h),u._vnode=c,ps||(ps=!0,vn(b),yi(),ps=!1)},mt={p,um:xe,m:Ye,r:fn,mt:hs,mc:Be,pc:B,pbc:Ge,n:Kt,o:e};return{render:un,hydrate:void 0,createApp:bo(un)}}function ws({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Qe({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function No(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wi(e,t,s=!1){const n=e.children,i=t.children;if(M(n)&&M(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=je(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&Wi(o,l)),l.type===as&&(l.patchFlag===-1&&(l=i[r]=je(l)),l.el=o.el),l.type===ke&&!l.el&&(l.el=o.el)}}function jo(e){const t=e.slice(),s=[0];let n,i,r,o,l;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(i=s[s.length-1],e[i]<d){t[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,e[s[l]]<d?r=l+1:o=l;d<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function Bi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bi(t)}function Pn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function zi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?zi(t.subTree):null}const qi=e=>e.__isSuspense;function Lo(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):zr(e)}const ue=Symbol.for("v-fgt"),as=Symbol.for("v-txt"),ke=Symbol.for("v-cmt"),Cs=Symbol.for("v-stc"),nt=[];let de=null;function X(e=!1){nt.push(de=e?null:[])}function ki(){nt.pop(),de=nt[nt.length-1]||null}let Ft=1;function In(e,t=!1){Ft+=e,e<0&&de&&t&&(de.hasOnce=!0)}function Gi(e){return e.dynamicChildren=Ft>0?de||ct:null,ki(),Ft>0&&de&&de.push(e),e}function Z(e,t,s,n,i,r){return Gi(T(e,t,s,n,i,r,!0))}function $o(e,t,s,n,i){return Gi(He(e,t,s,n,i,!0))}function Ji(e){return e?e.__v_isVNode===!0:!1}function bt(e,t){return e.type===t.type&&e.key===t.key}const Yi=({key:e})=>e??null,Jt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?G(e)||ne(e)||D(e)?{i:he,r:e,k:t,f:!!s}:e:null);function T(e,t=null,s=null,n=0,i=null,r=e===ue?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yi(t),ref:t&&Jt(t),scopeId:Si,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:he};return l?(ts(f,s),r&128&&e.normalize(f)):s&&(f.shapeFlag|=G(s)?8:16),Ft>0&&!o&&de&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&de.push(f),f}const He=Ho;function Ho(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===uo)&&(e=ke),Ji(e)){const l=ht(e,t,!0);return s&&ts(l,s),Ft>0&&!r&&de&&(l.shapeFlag&6?de[de.indexOf(e)]=l:de.push(l)),l.patchFlag=-2,l}if(Yo(e)&&(e=e.__vccOpts),t){t=Uo(t);let{class:l,style:f}=t;l&&!G(l)&&(t.class=Gs(l)),V(f)&&(sn(f)&&!M(f)&&(f=ie({},f)),t.style=ks(f))}const o=G(e)?1:qi(e)?128:Zr(e)?64:V(e)?4:D(e)?2:0;return T(e,t,s,n,i,o,r,!0)}function Uo(e){return e?sn(e)||Li(e)?ie({},e):e:null}function ht(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:f}=e,d=t?Vo(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Yi(d),ref:t&&t.ref?s&&r?M(r)?r.concat(Jt(t)):[r,Jt(t)]:Jt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ue?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ht(e.ssContent),ssFallback:e.ssFallback&&ht(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&rn(a,f.clone(a)),a}function xt(e=" ",t=0){return He(as,null,e,t)}function ze(e="",t=!1){return t?(X(),$o(ke,null,e)):He(ke,null,e)}function Ie(e){return e==null||typeof e=="boolean"?He(ke):M(e)?He(ue,null,e.slice()):Ji(e)?je(e):He(as,null,String(e))}function je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ht(e)}function ts(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),ts(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Li(t)?t._ctx=he:i===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(D(t)){if(n&65){ts(e,{default:t});return}t={default:t,_ctx:he},s=32}else t=String(t),n&64?(s=16,t=[xt(t)]):s=8;e.children=t,e.shapeFlag|=s}function Vo(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=Gs([t.class,n.class]));else if(i==="style")t.style=ks([t.style,n.style]);else if(ns(i)){const r=t[i],o=n[i];o&&r!==o&&!(M(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!is(i)&&(t[i]=o)}else i!==""&&(t[i]=n[i])}return t}function Ee(e,t,s,n=null){ve(e,t,7,[s,n])}const Ko=Mi();let Wo=0;function Bo(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||Ko,r={uid:Wo++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new pr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hi(n,i),emitsOptions:Fi(n,i),emit:null,emitted:null,propsDefaults:W,inheritAttrs:n.inheritAttrs,ctx:W,data:W,props:W,attrs:W,slots:W,refs:W,setupState:W,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=xo.bind(null,r),e.ce&&e.ce(r),r}let ce=null;const zo=()=>ce||he;let ss,Us;{const e=os(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};ss=t("__VUE_INSTANCE_SETTERS__",s=>ce=s),Us=t("__VUE_SSR_SETTERS__",s=>Dt=s)}const Lt=e=>{const t=ce;return ss(e),e.scope.on(),()=>{e.scope.off(),ss(t)}},Rn=()=>{ce&&ce.scope.off(),ss(null)};function Xi(e){return e.vnode.shapeFlag&4}let Dt=!1;function qo(e,t=!1,s=!1){t&&Us(t);const{props:n,children:i}=e.vnode,r=Xi(e);Oo(e,n,r,t),Ro(e,i,s||t);const o=r?ko(e,t):void 0;return t&&Us(!1),o}function ko(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ao);const{setup:n}=s;if(n){Ue();const i=e.setupContext=n.length>1?Jo(e):null,r=Lt(e),o=jt(n,e,0,[e.props,i]),l=Jn(o);if(Ve(),r(),(l||e.sp)&&!Ot(e)&&Ti(e),l){if(o.then(Rn,Rn),t)return o.then(f=>{Mn(e,f)}).catch(f=>{cs(f,e,0)});e.asyncDep=o}else Mn(e,o)}else Zi(e)}function Mn(e,t,s){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:V(t)&&(e.setupState=_i(t)),Zi(e)}function Zi(e,t,s){const n=e.type;e.render||(e.render=n.render||Me);{const i=Lt(e);Ue();try{ho(e)}finally{Ve(),i()}}}const Go={get(e,t){return se(e,"get",""),e[t]}};function Jo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Go),slots:e.slots,emit:e.emit,expose:t}}function ds(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(_i(Dr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in At)return At[s](e)},has(t,s){return s in t||s in At}})):e.proxy}function Yo(e){return D(e)&&"__vccOpts"in e}const Qi=(e,t)=>Hr(e,t,Dt),Xo="3.5.40";/**
* @vue/runtime-dom v3.5.40
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Vs;const Fn=typeof window<"u"&&window.trustedTypes;if(Fn)try{Vs=Fn.createPolicy("vue",{createHTML:e=>e})}catch{}const er=Vs?e=>Vs.createHTML(e):e=>e,Zo="http://www.w3.org/2000/svg",Qo="http://www.w3.org/1998/Math/MathML",Ne=typeof document<"u"?document:null,Dn=Ne&&Ne.createElement("template"),el={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Ne.createElementNS(Zo,e):t==="mathml"?Ne.createElementNS(Qo,e):s?Ne.createElement(e,{is:s}):Ne.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Ne.createTextNode(e),createComment:e=>Ne.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ne.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Dn.innerHTML=er(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Dn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},tl=Symbol("_vtc");function sl(e,t,s){const n=e[tl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Nn=Symbol("_vod"),nl=Symbol("_vsh"),il=Symbol(""),rl=/(?:^|;)\s*display\s*:/;function ol(e,t,s){const n=e.style,i=G(s);let r=!1;if(s&&!i){if(t)if(G(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&St(n,l,"")}else for(const o in t)s[o]==null&&St(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?cl(e,o,!G(t)&&t?t[o]:void 0,l)||St(n,o,l):St(n,o,"")}}else if(i){if(t!==s){const o=n[il];o&&(s+=";"+o),n.cssText=s,r=rl.test(s)}}else t&&e.removeAttribute("style");Nn in e&&(e[Nn]=r?n.display:"",e[nl]&&(n.display="none"))}const jn=/\s*!important$/;function St(e,t,s){if(M(s))s.forEach(n=>St(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ll(e,t);jn.test(s)?e.setProperty(it(n),s.replace(jn,""),"important"):e[n]=s}}const Ln=["Webkit","Moz","ms"],Ts={};function ll(e,t){const s=Ts[t];if(s)return s;let n=ge(t);if(n!=="filter"&&n in e)return Ts[t]=n;n=Zn(n);for(let i=0;i<Ln.length;i++){const r=Ln[i]+n;if(r in e)return Ts[t]=r}return t}function cl(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&G(n)&&s===n}const $n="http://www.w3.org/1999/xlink";function Hn(e,t,s,n,i,r=dr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS($n,t.slice(6,t.length)):e.setAttributeNS($n,t,s):s==null||r&&!ei(s)?e.removeAttribute(t):e.setAttribute(t,r?"":Fe(s)?String(s):s)}function Un(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?er(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=ei(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(i||t)}function lt(e,t,s,n){e.addEventListener(t,s,n)}function fl(e,t,s,n){e.removeEventListener(t,s,n)}const Vn=Symbol("_vei");function ul(e,t,s,n,i=null){const r=e[Vn]||(e[Vn]={}),o=r[t];if(n&&o)o.value=n;else{const[l,f]=hl(t);if(n){const d=r[t]=ml(n,i);lt(e,l,d,f)}else o&&(fl(e,l,o,f),r[t]=void 0)}}const al=/(Once|Passive|Capture)$/,dl=/^on:?(?:Once|Passive|Capture)$/;function hl(e){let t,s;for(;(s=e.match(al))&&!dl.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):it(e.slice(2)),t]}let Es=0;const pl=Promise.resolve(),gl=()=>Es||(pl.then(()=>Es=0),Es=Date.now());function ml(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(M(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let f=0;f<o.length&&!n._stopped;f++){const d=o[f];d&&ve(d,t,5,l)}}else ve(i,t,5,[n])};return s.value=e,s.attached=gl(),s}const Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_l=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?sl(e,n,o):t==="style"?ol(e,s,n):ns(t)?is(t)||ul(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vl(e,t,n,o))?(Un(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Hn(e,t,n,o,r,t!=="value")):e._isVueCE&&(bl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!G(n)))?Un(e,ge(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Hn(e,t,n,o))};function vl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Kn(t)&&D(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Kn(t)&&G(s)?!1:t in e}function bl(e,t){const s=e._def.props;if(!s)return!1;const n=ge(t);return Array.isArray(s)?s.some(i=>ge(i)===n):Object.keys(s).some(i=>ge(i)===n)}const Wn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?s=>qt(t,s):t};function yl(e){e.target.composing=!0}function Bn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Os=Symbol("_assign");function zn(e,t,s){return t&&(e=e.trim()),s&&(e=qs(e)),e}const Oe={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[Os]=Wn(i);const r=n||i.props&&i.props.type==="number";lt(e,t?"change":"input",o=>{o.target.composing||e[Os](zn(e.value,s,r))}),(s||r)&&lt(e,"change",()=>{e.value=zn(e.value,s,r)}),t||(lt(e,"compositionstart",yl),lt(e,"compositionend",Bn),lt(e,"change",Bn))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(e[Os]=Wn(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?qs(e.value):e.value,f=t??"";if(l===f)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===f)||(e.value=f)}},xl=ie({patchProp:_l},el);let qn;function Sl(){return qn||(qn=Fo(xl))}const wl=((...e)=>{const t=Sl().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Tl(n);if(!i)return;const r=t._component;!D(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Cl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function Cl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Tl(e){return G(e)?document.querySelector(e):e}const El="http://localhost:8000/api";async function As(e,t={}){const s=await fetch(`${El}${e}`,{headers:{"Content-Type":"application/json",Accept:"application/json"},...t}),n=await s.json().catch(()=>({}));if(!s.ok){const i=new Error(n.message||"Errore di rete");throw i.status=s.status,i.errors=n.errors,i}return n}const Ps={getCarrello:e=>As(`/carrello/${e}`),rimuoviItem:(e,t)=>As(`/carrello/${e}/item/${t}`,{method:"DELETE"}),conferma:(e,t)=>As(`/carrello/${e}/conferma`,{method:"POST",body:JSON.stringify(t)})},Ks="infissionline_cart_token";function Ol(){const e=new URL(window.location.href),t=e.searchParams.get("token");return t?(localStorage.setItem(Ks,t),e.searchParams.delete("token"),window.history.replaceState({},"",e.pathname+e.search),t):localStorage.getItem(Ks)}function Al(){localStorage.removeItem(Ks)}function Is(e){return new Intl.NumberFormat("it-IT",{style:"currency",currency:"EUR"}).format(e||0)}const Pl={class:"container"},Il={key:0,class:"muted center"},Rl={key:1,class:"alert"},Ml={key:0,class:"empty"},Fl=["src"],Dl={class:"item-body"},Nl={class:"item-title"},jl={class:"item-sub"},Ll={key:0},$l={key:1},Hl={class:"conf"},Ul={class:"item-foot"},Vl=["onClick"],Kl={class:"price"},Wl={class:"card"},Bl={class:"totale-row"},zl={key:3,class:"card"},ql={key:0,class:"alert"},kl={class:"grid-2"},Gl={class:"field"},Jl={key:0,class:"err"},Yl={class:"field"},Xl={class:"field"},Zl={class:"grid-2"},Ql={class:"field"},ec={key:0,class:"err"},tc={class:"field"},sc={class:"field"},nc={class:"grid-2"},ic={class:"field"},rc={class:"field"},oc={class:"field"},lc={class:"field"},cc=["disabled"],fc={key:4,class:"card center"},uc={__name:"App",setup(e){const t=Xe("cart"),s=Xe(!0),n=Xe(!1),i=Xe(""),r=Xe({}),o=Xe(null),l=Rt({items:[],totale:0}),f=Xe(null),d=Rt({nome:"",cognome:"",ragione_sociale:"",email:"",telefono:"",indirizzo:"",cap:"",citta:"",provincia:"",note:""}),a=Qi(()=>!l.items||l.items.length===0);async function g(){s.value=!0,i.value="";try{if(o.value=Ol(),!o.value){l.items=[],l.totale=0;return}const F=await Ps.getCarrello(o.value);l.items=F.carrello.items,l.totale=F.carrello.totale}catch(F){i.value=F.message}finally{s.value=!1}}async function C(F){try{const p=await Ps.rimuoviItem(o.value,F);l.items=p.carrello.items,l.totale=p.carrello.totale}catch(p){i.value=p.message}}async function O(){n.value=!0,i.value="",r.value={};try{const F=await Ps.conferma(o.value,{...d});f.value=F.numero,Al(),t.value="done"}catch(F){F.status===422&&F.errors?(r.value=F.errors,i.value="Controlla i campi evidenziati."):i.value=F.message}finally{n.value=!1}}return Ai(g),(F,p)=>(X(),Z(ue,null,[p[30]||(p[30]=T("header",{class:"app-header"},[T("h1",null,"Il tuo preventivo")],-1)),T("div",Pl,[s.value?(X(),Z("p",Il,"Caricamento…")):i.value&&t.value!=="checkout"?(X(),Z("div",Rl,ee(i.value),1)):ze("",!0),!s.value&&t.value==="cart"?(X(),Z(ue,{key:2},[a.value?(X(),Z("div",Ml,[...p[12]||(p[12]=[T("p",null,"Il tuo preventivo è vuoto.",-1),T("p",{class:"muted"},"Configura un prodotto e aggiungilo al preventivo per vederlo qui.",-1)])])):(X(),Z(ue,{key:1},[(X(!0),Z(ue,null,xn(l.items,E=>(X(),Z("div",{key:E.id,class:"card item"},[E.immagine_url?(X(),Z("img",{key:0,src:E.immagine_url,alt:"Anteprima"},null,8,Fl)):ze("",!0),T("div",Dl,[T("p",Nl,ee(E.nome_modello||"Prodotto"),1),T("p",jl,[E.sistema?(X(),Z("span",Ll,ee(E.sistema),1)):ze("",!0),E.larghezza&&E.altezza?(X(),Z("span",$l," · "+ee(E.larghezza)+"×"+ee(E.altezza)+" cm",1)):ze("",!0)]),T("div",Hl,[(X(!0),Z(ue,null,xn(E.configurazione,H=>(X(),Z("div",{key:H.label},[T("b",null,ee(H.label)+":",1),xt(" "+ee(H.value),1)]))),128))]),T("div",Ul,[T("button",{class:"btn-remove",onClick:H=>C(E.id)},"Rimuovi",8,Vl),T("span",Kl,ee(E.quantita)+" × "+ee(kt(Is)(E.prezzo_unitario))+" = "+ee(kt(Is)(E.prezzo_totale)),1)])])]))),128)),T("div",Wl,[T("div",Bl,[p[13]||(p[13]=T("span",null,[xt("Totale "),T("span",{class:"iva-nota"},"IVA 22% inclusa")],-1)),T("span",null,ee(kt(Is)(l.totale)),1)])]),T("button",{class:"btn-primary",onClick:p[0]||(p[0]=E=>t.value="checkout")}," Richiedi il preventivo ")],64))],64)):!s.value&&t.value==="checkout"?(X(),Z("div",zl,[p[24]||(p[24]=T("p",{class:"muted",style:{"margin-top":"0"}}," Inserisci i tuoi dati: ti invieremo il preventivo via email e ti ricontatteremo. ",-1)),i.value?(X(),Z("div",ql,ee(i.value),1)):ze("",!0),T("div",kl,[T("div",Gl,[p[14]||(p[14]=T("label",null,"Nome *",-1)),Te(T("input",{"onUpdate:modelValue":p[1]||(p[1]=E=>d.nome=E)},null,512),[[Oe,d.nome]]),r.value.nome?(X(),Z("div",Jl,ee(r.value.nome[0]),1)):ze("",!0)]),T("div",Yl,[p[15]||(p[15]=T("label",null,"Cognome",-1)),Te(T("input",{"onUpdate:modelValue":p[2]||(p[2]=E=>d.cognome=E)},null,512),[[Oe,d.cognome]])])]),T("div",Xl,[p[16]||(p[16]=T("label",null,"Ragione sociale (opzionale)",-1)),Te(T("input",{"onUpdate:modelValue":p[3]||(p[3]=E=>d.ragione_sociale=E)},null,512),[[Oe,d.ragione_sociale]])]),T("div",Zl,[T("div",Ql,[p[17]||(p[17]=T("label",null,"Email *",-1)),Te(T("input",{"onUpdate:modelValue":p[4]||(p[4]=E=>d.email=E),type:"email"},null,512),[[Oe,d.email]]),r.value.email?(X(),Z("div",ec,ee(r.value.email[0]),1)):ze("",!0)]),T("div",tc,[p[18]||(p[18]=T("label",null,"Telefono",-1)),Te(T("input",{"onUpdate:modelValue":p[5]||(p[5]=E=>d.telefono=E),type:"tel"},null,512),[[Oe,d.telefono]])])]),T("div",sc,[p[19]||(p[19]=T("label",null,"Indirizzo",-1)),Te(T("input",{"onUpdate:modelValue":p[6]||(p[6]=E=>d.indirizzo=E)},null,512),[[Oe,d.indirizzo]])]),T("div",nc,[T("div",ic,[p[20]||(p[20]=T("label",null,"CAP",-1)),Te(T("input",{"onUpdate:modelValue":p[7]||(p[7]=E=>d.cap=E)},null,512),[[Oe,d.cap]])]),T("div",rc,[p[21]||(p[21]=T("label",null,"Città",-1)),Te(T("input",{"onUpdate:modelValue":p[8]||(p[8]=E=>d.citta=E)},null,512),[[Oe,d.citta]])])]),T("div",oc,[p[22]||(p[22]=T("label",null,"Provincia",-1)),Te(T("input",{"onUpdate:modelValue":p[9]||(p[9]=E=>d.provincia=E),maxlength:"5"},null,512),[[Oe,d.provincia]])]),T("div",lc,[p[23]||(p[23]=T("label",null,"Note",-1)),Te(T("textarea",{"onUpdate:modelValue":p[10]||(p[10]=E=>d.note=E),rows:"3"},null,512),[[Oe,d.note]])]),T("button",{class:"btn-primary",disabled:n.value,onClick:O},ee(n.value?"Invio in corso…":"Conferma e invia"),9,cc),T("button",{class:"btn-link",style:{width:"100%","margin-top":"8px"},onClick:p[11]||(p[11]=E=>t.value="cart")}," ← Torna al preventivo ")])):t.value==="done"?(X(),Z("div",fc,[p[27]||(p[27]=T("div",{class:"success-icon"},"✅",-1)),p[28]||(p[28]=T("h2",null,"Grazie!",-1)),T("p",null,[p[25]||(p[25]=xt("La tua richiesta di preventivo ",-1)),T("b",null,"n. "+ee(f.value),1),p[26]||(p[26]=xt(" è stata inviata.",-1))]),p[29]||(p[29]=T("p",{class:"muted"}," Riceverai a breve il PDF riassuntivo via email. Un nostro consulente ti ricontatterà al più presto. ",-1))])):ze("",!0)])],64))}};wl(uc).mount("#app");