(function(Ze){typeof define=="function"&&define.amd?define(Ze):Ze()})(function(){"use strict";function Ze(t,e){const n=Object.create(null),i=t.split(",");for(let s=0;s<i.length;s++)n[i[s]]=!0;return e?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const ht={},ze=[],Qt=()=>{},Yu=()=>!1,Xu=/^on[^a-z]/,jn=t=>Xu.test(t),Vi=t=>t.startsWith("onUpdate:"),wt=Object.assign,Ui=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Gu=Object.prototype.hasOwnProperty,st=(t,e)=>Gu.call(t,e),W=Array.isArray,qe=t=>Un(t)==="[object Map]",Ys=t=>Un(t)==="[object Set]",J=t=>typeof t=="function",_t=t=>typeof t=="string",Vn=t=>typeof t=="symbol",mt=t=>t!==null&&typeof t=="object",Xs=t=>(mt(t)||J(t))&&J(t.then)&&J(t.catch),Gs=Object.prototype.toString,Un=t=>Gs.call(t),tl=t=>Un(t).slice(8,-1),to=t=>Un(t)==="[object Object]",Wi=t=>_t(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Wn=Ze(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zn=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},el=/-(\w)/g,te=Zn(t=>t.replace(el,(e,n)=>n?n.toUpperCase():"")),nl=/\B([A-Z])/g,Ke=Zn(t=>t.replace(nl,"-$1").toLowerCase()),zn=Zn(t=>t.charAt(0).toUpperCase()+t.slice(1)),Zi=Zn(t=>t?`on${zn(t)}`:""),Re=(t,e)=>!Object.is(t,e),zi=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},qn=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},il=t=>{const e=parseFloat(t);return isNaN(e)?t:e},sl=t=>{const e=_t(t)?Number(t):NaN;return isNaN(e)?t:e};let eo;const qi=()=>eo||(eo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Je(t){if(W(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],s=_t(i)?ll(i):Je(i);if(s)for(const o in s)e[o]=s[o]}return e}else if(_t(t)||mt(t))return t}const ol=/;(?![^(]*\))/g,rl=/:([^]+)/,ul=/\/\*[^]*?\*\//g;function ll(t){const e={};return t.replace(ul,"").split(ol).forEach(n=>{if(n){const i=n.split(rl);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function V(t){let e="";if(_t(t))e=t;else if(W(t))for(let n=0;n<t.length;n++){const i=V(t[n]);i&&(e+=i+" ")}else if(mt(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const al=Ze("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function no(t){return!!t||t===""}const ut=t=>_t(t)?t:t==null?"":W(t)||mt(t)&&(t.toString===Gs||!J(t.toString))?JSON.stringify(t,io,2):String(t),io=(t,e)=>e&&e.__v_isRef?io(t,e.value):qe(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[i,s])=>(n[`${i} =>`]=s,n),{})}:Ys(e)?{[`Set(${e.size})`]:[...e.values()]}:mt(e)&&!W(e)&&!to(e)?String(e):e;let Ft;class cl{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ft,!e&&Ft&&(this.index=(Ft.scopes||(Ft.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Ft;try{return Ft=this,e()}finally{Ft=n}}}on(){Ft=this}off(){Ft=this.parent}stop(e){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function dl(t,e=Ft){e&&e.active&&e.effects.push(t)}function so(){return Ft}function fl(t){Ft&&Ft.cleanups.push(t)}const Ki=t=>{const e=new Set(t);return e.w=0,e.n=0,e},oo=t=>(t.w&ye)>0,ro=t=>(t.n&ye)>0,pl=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=ye},hl=t=>{const{deps:e}=t;if(e.length){let n=0;for(let i=0;i<e.length;i++){const s=e[i];oo(s)&&!ro(s)?s.delete(t):e[n++]=s,s.w&=~ye,s.n&=~ye}e.length=n}},Kn=new WeakMap;let dn=0,ye=1;const Ji=30;let Yt;const Ae=Symbol(""),Qi=Symbol("");class Yi{constructor(e,n=null,i){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,dl(this,i)}run(){if(!this.active)return this.fn();let e=Yt,n=be;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Yt,Yt=this,be=!0,ye=1<<++dn,dn<=Ji?pl(this):uo(this),this.fn()}finally{dn<=Ji&&hl(this),ye=1<<--dn,Yt=this.parent,be=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Yt===this?this.deferStop=!0:this.active&&(uo(this),this.onStop&&this.onStop(),this.active=!1)}}function uo(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let be=!0;const lo=[];function Qe(){lo.push(be),be=!1}function Ye(){const t=lo.pop();be=t===void 0?!0:t}function Ht(t,e,n){if(be&&Yt){let i=Kn.get(t);i||Kn.set(t,i=new Map);let s=i.get(n);s||i.set(n,s=Ki()),ao(s)}}function ao(t,e){let n=!1;dn<=Ji?ro(t)||(t.n|=ye,n=!oo(t)):n=!t.has(Yt),n&&(t.add(Yt),Yt.deps.push(t))}function de(t,e,n,i,s,o){const r=Kn.get(t);if(!r)return;let u=[];if(e==="clear")u=[...r.values()];else if(n==="length"&&W(t)){const l=Number(i);r.forEach((c,a)=>{(a==="length"||!Vn(a)&&a>=l)&&u.push(c)})}else switch(n!==void 0&&u.push(r.get(n)),e){case"add":W(t)?Wi(n)&&u.push(r.get("length")):(u.push(r.get(Ae)),qe(t)&&u.push(r.get(Qi)));break;case"delete":W(t)||(u.push(r.get(Ae)),qe(t)&&u.push(r.get(Qi)));break;case"set":qe(t)&&u.push(r.get(Ae));break}if(u.length===1)u[0]&&Xi(u[0]);else{const l=[];for(const c of u)c&&l.push(...c);Xi(Ki(l))}}function Xi(t,e){const n=W(t)?t:[...t];for(const i of n)i.computed&&co(i);for(const i of n)i.computed||co(i)}function co(t,e){(t!==Yt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function ml(t,e){var n;return(n=Kn.get(t))==null?void 0:n.get(e)}const gl=Ze("__proto__,__v_isRef,__isVue"),fo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Vn)),po=vl();function vl(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=et(this);for(let o=0,r=this.length;o<r;o++)Ht(i,"get",o+"");const s=i[e](...n);return s===-1||s===!1?i[e](...n.map(et)):s}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Qe();const i=et(this)[e].apply(this,n);return Ye(),i}}),t}function _l(t){const e=et(this);return Ht(e,"has",t),e.hasOwnProperty(t)}class ho{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,i){const s=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&i===(s?o?Rl:xo:o?wo:bo).get(e))return e;const r=W(e);if(!s){if(r&&st(po,n))return Reflect.get(po,n,i);if(n==="hasOwnProperty")return _l}const u=Reflect.get(e,n,i);return(Vn(n)?fo.has(n):gl(n))||(s||Ht(e,"get",n),o)?u:It(u)?r&&Wi(n)?u:u.value:mt(u)?s?Co(u):fn(u):u}}class mo extends ho{constructor(e=!1){super(!1,e)}set(e,n,i,s){let o=e[n];if(Ge(o)&&It(o)&&!It(i))return!1;if(!this._shallow&&(!ei(i)&&!Ge(i)&&(o=et(o),i=et(i)),!W(e)&&It(o)&&!It(i)))return o.value=i,!0;const r=W(e)&&Wi(n)?Number(n)<e.length:st(e,n),u=Reflect.set(e,n,i,s);return e===et(s)&&(r?Re(i,o)&&de(e,"set",n,i):de(e,"add",n,i)),u}deleteProperty(e,n){const i=st(e,n);e[n];const s=Reflect.deleteProperty(e,n);return s&&i&&de(e,"delete",n,void 0),s}has(e,n){const i=Reflect.has(e,n);return(!Vn(n)||!fo.has(n))&&Ht(e,"has",n),i}ownKeys(e){return Ht(e,"iterate",W(e)?"length":Ae),Reflect.ownKeys(e)}}class yl extends ho{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const bl=new mo,wl=new yl,xl=new mo(!0),Gi=t=>t,Jn=t=>Reflect.getPrototypeOf(t);function Qn(t,e,n=!1,i=!1){t=t.__v_raw;const s=et(t),o=et(e);n||(Re(e,o)&&Ht(s,"get",e),Ht(s,"get",o));const{has:r}=Jn(s),u=i?Gi:n?ns:pn;if(r.call(s,e))return u(t.get(e));if(r.call(s,o))return u(t.get(o));t!==s&&t.get(e)}function Yn(t,e=!1){const n=this.__v_raw,i=et(n),s=et(t);return e||(Re(t,s)&&Ht(i,"has",t),Ht(i,"has",s)),t===s?n.has(t):n.has(t)||n.has(s)}function Xn(t,e=!1){return t=t.__v_raw,!e&&Ht(et(t),"iterate",Ae),Reflect.get(t,"size",t)}function go(t){t=et(t);const e=et(this);return Jn(e).has.call(e,t)||(e.add(t),de(e,"add",t,t)),this}function vo(t,e){e=et(e);const n=et(this),{has:i,get:s}=Jn(n);let o=i.call(n,t);o||(t=et(t),o=i.call(n,t));const r=s.call(n,t);return n.set(t,e),o?Re(e,r)&&de(n,"set",t,e):de(n,"add",t,e),this}function _o(t){const e=et(this),{has:n,get:i}=Jn(e);let s=n.call(e,t);s||(t=et(t),s=n.call(e,t)),i&&i.call(e,t);const o=e.delete(t);return s&&de(e,"delete",t,void 0),o}function yo(){const t=et(this),e=t.size!==0,n=t.clear();return e&&de(t,"clear",void 0,void 0),n}function Gn(t,e){return function(i,s){const o=this,r=o.__v_raw,u=et(r),l=e?Gi:t?ns:pn;return!t&&Ht(u,"iterate",Ae),r.forEach((c,a)=>i.call(s,l(c),l(a),o))}}function ti(t,e,n){return function(...i){const s=this.__v_raw,o=et(s),r=qe(o),u=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=s[t](...i),a=n?Gi:e?ns:pn;return!e&&Ht(o,"iterate",l?Qi:Ae),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:u?[a(f[0]),a(f[1])]:a(f),done:h}},[Symbol.iterator](){return this}}}}function we(t){return function(...e){return t==="delete"?!1:this}}function Cl(){const t={get(o){return Qn(this,o)},get size(){return Xn(this)},has:Yn,add:go,set:vo,delete:_o,clear:yo,forEach:Gn(!1,!1)},e={get(o){return Qn(this,o,!1,!0)},get size(){return Xn(this)},has:Yn,add:go,set:vo,delete:_o,clear:yo,forEach:Gn(!1,!0)},n={get(o){return Qn(this,o,!0)},get size(){return Xn(this,!0)},has(o){return Yn.call(this,o,!0)},add:we("add"),set:we("set"),delete:we("delete"),clear:we("clear"),forEach:Gn(!0,!1)},i={get(o){return Qn(this,o,!0,!0)},get size(){return Xn(this,!0)},has(o){return Yn.call(this,o,!0)},add:we("add"),set:we("set"),delete:we("delete"),clear:we("clear"),forEach:Gn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=ti(o,!1,!1),n[o]=ti(o,!0,!1),e[o]=ti(o,!1,!0),i[o]=ti(o,!0,!0)}),[t,n,e,i]}const[kl,Sl,El,Tl]=Cl();function ts(t,e){const n=e?t?Tl:El:t?Sl:kl;return(i,s,o)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?i:Reflect.get(st(n,s)&&s in i?n:i,s,o)}const $l={get:ts(!1,!1)},Ml={get:ts(!1,!0)},Il={get:ts(!0,!1)},bo=new WeakMap,wo=new WeakMap,xo=new WeakMap,Rl=new WeakMap;function Al(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pl(t){return t.__v_skip||!Object.isExtensible(t)?0:Al(tl(t))}function fn(t){return Ge(t)?t:es(t,!1,bl,$l,bo)}function Ol(t){return es(t,!1,xl,Ml,wo)}function Co(t){return es(t,!0,wl,Il,xo)}function es(t,e,n,i,s){if(!mt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=s.get(t);if(o)return o;const r=Pl(t);if(r===0)return t;const u=new Proxy(t,r===2?i:n);return s.set(t,u),u}function Xe(t){return Ge(t)?Xe(t.__v_raw):!!(t&&t.__v_isReactive)}function Ge(t){return!!(t&&t.__v_isReadonly)}function ei(t){return!!(t&&t.__v_isShallow)}function ko(t){return Xe(t)||Ge(t)}function et(t){const e=t&&t.__v_raw;return e?et(e):t}function So(t){return qn(t,"__v_skip",!0),t}const pn=t=>mt(t)?fn(t):t,ns=t=>mt(t)?Co(t):t;function Eo(t){be&&Yt&&(t=et(t),ao(t.dep||(t.dep=Ki())))}function To(t,e){t=et(t);const n=t.dep;n&&Xi(n)}function It(t){return!!(t&&t.__v_isRef===!0)}function z(t){return Ll(t,!1)}function Ll(t,e){return It(t)?t:new Hl(t,e)}class Hl{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:et(e),this._value=n?e:pn(e)}get value(){return Eo(this),this._value}set value(e){const n=this.__v_isShallow||ei(e)||Ge(e);e=n?e:et(e),Re(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:pn(e),To(this))}}function gt(t){return It(t)?t.value:t}const Bl={get:(t,e,n)=>gt(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const s=t[e];return It(s)&&!It(n)?(s.value=n,!0):Reflect.set(t,e,n,i)}};function $o(t){return Xe(t)?t:new Proxy(t,Bl)}function Mo(t){const e=W(t)?new Array(t.length):{};for(const n in t)e[n]=Fl(t,n);return e}class Nl{constructor(e,n,i){this._object=e,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return ml(et(this._object),this._key)}}function Fl(t,e,n){const i=t[e];return It(i)?i:new Nl(t,e,n)}class Dl{constructor(e,n,i,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Yi(e,()=>{this._dirty||(this._dirty=!0,To(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const e=et(this);return Eo(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function jl(t,e,n=!1){let i,s;const o=J(t);return o?(i=t,s=Qt):(i=t.get,s=t.set),new Dl(i,s,o||!s,n)}function nh(t,...e){}function xe(t,e,n,i){let s;try{s=i?t(...i):t()}catch(o){ni(o,e,n)}return s}function Vt(t,e,n,i){if(J(t)){const o=xe(t,e,n,i);return o&&Xs(o)&&o.catch(r=>{ni(r,e,n)}),o}const s=[];for(let o=0;o<t.length;o++)s.push(Vt(t[o],e,n,i));return s}function ni(t,e,n,i=!0){const s=e?e.vnode:null;if(e){let o=e.parent;const r=e.proxy,u=n;for(;o;){const c=o.ec;if(c){for(let a=0;a<c.length;a++)if(c[a](t,r,u)===!1)return}o=o.parent}const l=e.appContext.config.errorHandler;if(l){xe(l,null,10,[t,r,u]);return}}Vl(t,n,s,i)}function Vl(t,e,n,i=!0){console.error(t)}let hn=!1,is=!1;const Pt=[];let ee=0;const tn=[];let fe=null,Pe=0;const Io=Promise.resolve();let ss=null;function Ro(t){const e=ss||Io;return t?e.then(this?t.bind(this):t):e}function Ul(t){let e=ee+1,n=Pt.length;for(;e<n;){const i=e+n>>>1,s=Pt[i],o=mn(s);o<t||o===t&&s.pre?e=i+1:n=i}return e}function os(t){(!Pt.length||!Pt.includes(t,hn&&t.allowRecurse?ee+1:ee))&&(t.id==null?Pt.push(t):Pt.splice(Ul(t.id),0,t),Ao())}function Ao(){!hn&&!is&&(is=!0,ss=Io.then(Lo))}function Wl(t){const e=Pt.indexOf(t);e>ee&&Pt.splice(e,1)}function Zl(t){W(t)?tn.push(...t):(!fe||!fe.includes(t,t.allowRecurse?Pe+1:Pe))&&tn.push(t),Ao()}function Po(t,e=hn?ee+1:0){for(;e<Pt.length;e++){const n=Pt[e];n&&n.pre&&(Pt.splice(e,1),e--,n())}}function Oo(t){if(tn.length){const e=[...new Set(tn)];if(tn.length=0,fe){fe.push(...e);return}for(fe=e,fe.sort((n,i)=>mn(n)-mn(i)),Pe=0;Pe<fe.length;Pe++)fe[Pe]();fe=null,Pe=0}}const mn=t=>t.id==null?1/0:t.id,zl=(t,e)=>{const n=mn(t)-mn(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Lo(t){is=!1,hn=!0,Pt.sort(zl);const e=Qt;try{for(ee=0;ee<Pt.length;ee++){const n=Pt[ee];n&&n.active!==!1&&xe(n,null,14)}}finally{ee=0,Pt.length=0,Oo(),hn=!1,ss=null,(Pt.length||tn.length)&&Lo()}}function ql(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||ht;let s=n;const o=e.startsWith("update:"),r=o&&e.slice(7);if(r&&r in i){const a=`${r==="modelValue"?"model":r}Modifiers`,{number:f,trim:h}=i[a]||ht;h&&(s=n.map(y=>_t(y)?y.trim():y)),f&&(s=n.map(il))}let u,l=i[u=Zi(e)]||i[u=Zi(te(e))];!l&&o&&(l=i[u=Zi(Ke(e))]),l&&Vt(l,t,6,s);const c=i[u+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[u])return;t.emitted[u]=!0,Vt(c,t,6,s)}}function Ho(t,e,n=!1){const i=e.emitsCache,s=i.get(t);if(s!==void 0)return s;const o=t.emits;let r={},u=!1;if(!J(t)){const l=c=>{const a=Ho(c,e,!0);a&&(u=!0,wt(r,a))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!u?(mt(t)&&i.set(t,null),null):(W(o)?o.forEach(l=>r[l]=null):wt(r,o),mt(t)&&i.set(t,r),r)}function ii(t,e){return!t||!jn(e)?!1:(e=e.slice(2).replace(/Once$/,""),st(t,e[0].toLowerCase()+e.slice(1))||st(t,Ke(e))||st(t,e))}let Rt=null,si=null;function oi(t){const e=Rt;return Rt=t,si=t&&t.type.__scopeId||null,e}function ri(t){si=t}function ui(){si=null}function Ut(t,e=Rt,n){if(!e||t._n)return t;const i=(...s)=>{i._d&&hr(-1);const o=oi(e);let r;try{r=t(...s)}finally{oi(o),i._d&&hr(1)}return r};return i._n=!0,i._c=!0,i._d=!0,i}function ih(){}function rs(t){const{type:e,vnode:n,proxy:i,withProxy:s,props:o,propsOptions:[r],slots:u,attrs:l,emit:c,render:a,renderCache:f,data:h,setupState:y,ctx:g,inheritAttrs:v}=t;let M,D;const O=oi(t);try{if(n.shapeFlag&4){const R=s||i;M=ie(a.call(R,R,f,o,y,h,g)),D=l}else{const R=e;M=ie(R.length>1?R(o,{attrs:l,slots:u,emit:c}):R(o,null)),D=e.props?l:Kl(l)}}catch(R){kn.length=0,ni(R,t,1),M=tt(Zt)}let L=M;if(D&&v!==!1){const R=Object.keys(D),{shapeFlag:Y}=L;R.length&&Y&7&&(r&&R.some(Vi)&&(D=Jl(D,r)),L=ke(L,D))}return n.dirs&&(L=ke(L),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&(L.transition=n.transition),M=L,oi(O),M}const Kl=t=>{let e;for(const n in t)(n==="class"||n==="style"||jn(n))&&((e||(e={}))[n]=t[n]);return e},Jl=(t,e)=>{const n={};for(const i in t)(!Vi(i)||!(i.slice(9)in e))&&(n[i]=t[i]);return n};function Ql(t,e,n){const{props:i,children:s,component:o}=t,{props:r,children:u,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?Bo(i,r,c):!!r;if(l&8){const a=e.dynamicProps;for(let f=0;f<a.length;f++){const h=a[f];if(r[h]!==i[h]&&!ii(c,h))return!0}}}else return(s||u)&&(!u||!u.$stable)?!0:i===r?!1:i?r?Bo(i,r,c):!0:!!r;return!1}function Bo(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let s=0;s<i.length;s++){const o=i[s];if(e[o]!==t[o]&&!ii(n,o))return!0}return!1}function Yl({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const Xl=t=>t.__isSuspense;function Gl(t,e){e&&e.pendingBranch?W(t)?e.effects.push(...t):e.effects.push(t):Zl(t)}function ta(t,e){return us(t,null,e)}const li={};function Dt(t,e,n){return us(t,e,n)}function us(t,e,{immediate:n,deep:i,flush:s,onTrack:o,onTrigger:r}=ht){var u;const l=so()===((u=Et)==null?void 0:u.scope)?Et:null;let c,a=!1,f=!1;if(It(t)?(c=()=>t.value,a=ei(t)):Xe(t)?(c=()=>t,i=!0):W(t)?(f=!0,a=t.some(R=>Xe(R)||ei(R)),c=()=>t.map(R=>{if(It(R))return R.value;if(Xe(R))return Oe(R);if(J(R))return xe(R,l,2)})):J(t)?e?c=()=>xe(t,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),Vt(t,l,3,[y])}:c=Qt,e&&i){const R=c;c=()=>Oe(R())}let h,y=R=>{h=O.onStop=()=>{xe(R,l,4)}},g;if(En)if(y=Qt,e?n&&Vt(e,l,3,[c(),f?[]:void 0,y]):c(),s==="sync"){const R=Ja();g=R.__watcherHandles||(R.__watcherHandles=[])}else return Qt;let v=f?new Array(t.length).fill(li):li;const M=()=>{if(O.active)if(e){const R=O.run();(i||a||(f?R.some((Y,U)=>Re(Y,v[U])):Re(R,v)))&&(h&&h(),Vt(e,l,3,[R,v===li?void 0:f&&v[0]===li?[]:v,y]),v=R)}else O.run()};M.allowRecurse=!!e;let D;s==="sync"?D=M:s==="post"?D=()=>Bt(M,l&&l.suspense):(M.pre=!0,l&&(M.id=l.uid),D=()=>os(M));const O=new Yi(c,D);e?n?M():v=O.run():s==="post"?Bt(O.run.bind(O),l&&l.suspense):O.run();const L=()=>{O.stop(),l&&l.scope&&Ui(l.scope.effects,O)};return g&&g.push(L),L}function ea(t,e,n){const i=this.proxy,s=_t(t)?t.includes(".")?No(i,t):()=>i[t]:t.bind(i,i);let o;J(e)?o=e:(o=e.handler,n=e);const r=Et;nn(this);const u=us(s,o.bind(i),n);return r?nn(r):Fe(),u}function No(t,e){const n=e.split(".");return()=>{let i=t;for(let s=0;s<n.length&&i;s++)i=i[n[s]];return i}}function Oe(t,e){if(!mt(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),It(t))Oe(t.value,e);else if(W(t))for(let n=0;n<t.length;n++)Oe(t[n],e);else if(Ys(t)||qe(t))t.forEach(n=>{Oe(n,e)});else if(to(t))for(const n in t)Oe(t[n],e);return t}function ne(t,e){const n=Rt;if(n===null)return t;const i=xi(n)||n.proxy,s=t.dirs||(t.dirs=[]);for(let o=0;o<e.length;o++){let[r,u,l,c=ht]=e[o];r&&(J(r)&&(r={mounted:r,updated:r}),r.deep&&Oe(u),s.push({dir:r,instance:i,value:u,oldValue:void 0,arg:l,modifiers:c}))}return t}function Le(t,e,n,i){const s=t.dirs,o=e&&e.dirs;for(let r=0;r<s.length;r++){const u=s[r];o&&(u.oldValue=o[r].value);let l=u.dir[i];l&&(Qe(),Vt(l,n,8,[t.el,u,t,e]),Ye())}}const Ce=Symbol("_leaveCb"),ai=Symbol("_enterCb");function Fo(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return yn(()=>{t.isMounted=!0}),Zo(()=>{t.isUnmounting=!0}),t}const Wt=[Function,Array],Do={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wt,onEnter:Wt,onAfterEnter:Wt,onEnterCancelled:Wt,onBeforeLeave:Wt,onLeave:Wt,onAfterLeave:Wt,onLeaveCancelled:Wt,onBeforeAppear:Wt,onAppear:Wt,onAfterAppear:Wt,onAppearCancelled:Wt},na={name:"BaseTransition",props:Do,setup(t,{slots:e}){const n=wi(),i=Fo();let s;return()=>{const o=e.default&&as(e.default(),!0);if(!o||!o.length)return;let r=o[0];if(o.length>1){for(const v of o)if(v.type!==Zt){r=v;break}}const u=et(t),{mode:l}=u;if(i.isLeaving)return ls(r);const c=Vo(r);if(!c)return ls(r);const a=gn(c,u,i,n);vn(c,a);const f=n.subTree,h=f&&Vo(f);let y=!1;const{getTransitionKey:g}=c.type;if(g){const v=g();s===void 0?s=v:v!==s&&(s=v,y=!0)}if(h&&h.type!==Zt&&(!Be(c,h)||y)){const v=gn(h,u,i,n);if(vn(h,v),l==="out-in")return i.isLeaving=!0,v.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},ls(r);l==="in-out"&&c.type!==Zt&&(v.delayLeave=(M,D,O)=>{const L=jo(i,h);L[String(h.key)]=h,M[Ce]=()=>{D(),M[Ce]=void 0,delete a.delayedLeave},a.delayedLeave=O})}return r}}};function jo(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function gn(t,e,n,i){const{appear:s,mode:o,persisted:r=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:c,onEnterCancelled:a,onBeforeLeave:f,onLeave:h,onAfterLeave:y,onLeaveCancelled:g,onBeforeAppear:v,onAppear:M,onAfterAppear:D,onAppearCancelled:O}=e,L=String(t.key),R=jo(n,t),Y=(P,Q)=>{P&&Vt(P,i,9,Q)},U=(P,Q)=>{const j=Q[1];Y(P,Q),W(P)?P.every(rt=>rt.length<=1)&&j():P.length<=1&&j()},Z={mode:o,persisted:r,beforeEnter(P){let Q=u;if(!n.isMounted)if(s)Q=v||u;else return;P[Ce]&&P[Ce](!0);const j=R[L];j&&Be(t,j)&&j.el[Ce]&&j.el[Ce](),Y(Q,[P])},enter(P){let Q=l,j=c,rt=a;if(!n.isMounted)if(s)Q=M||l,j=D||c,rt=O||a;else return;let A=!1;const it=P[ai]=ft=>{A||(A=!0,ft?Y(rt,[P]):Y(j,[P]),Z.delayedLeave&&Z.delayedLeave(),P[ai]=void 0)};Q?U(Q,[P,it]):it()},leave(P,Q){const j=String(t.key);if(P[ai]&&P[ai](!0),n.isUnmounting)return Q();Y(f,[P]);let rt=!1;const A=P[Ce]=it=>{rt||(rt=!0,Q(),it?Y(g,[P]):Y(y,[P]),P[Ce]=void 0,R[j]===t&&delete R[j])};R[j]=t,h?U(h,[P,A]):A()},clone(P){return gn(P,e,n,i)}};return Z}function ls(t){if(ci(t))return t=ke(t),t.children=null,t}function Vo(t){return ci(t)?t.children?t.children[0]:void 0:t}function vn(t,e){t.shapeFlag&6&&t.component?vn(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function as(t,e=!1,n){let i=[],s=0;for(let o=0;o<t.length;o++){let r=t[o];const u=n==null?r.key:String(n)+String(r.key!=null?r.key:o);r.type===yt?(r.patchFlag&128&&s++,i=i.concat(as(r.children,e,u))):(e||r.type!==Zt)&&i.push(u!=null?ke(r,{key:u}):r)}if(s>1)for(let o=0;o<i.length;o++)i[o].patchFlag=-2;return i}/*! #__NO_SIDE_EFFECTS__ */function St(t,e){return J(t)?(()=>wt({name:t.name},e,{setup:t}))():t}const _n=t=>!!t.type.__asyncLoader,ci=t=>t.type.__isKeepAlive;function ia(t,e){Uo(t,"a",e)}function sa(t,e){Uo(t,"da",e)}function Uo(t,e,n=Et){const i=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(di(e,i,n),n){let s=n.parent;for(;s&&s.parent;)ci(s.parent.vnode)&&oa(i,e,n,s),s=s.parent}}function oa(t,e,n,i){const s=di(e,t,i,!0);bn(()=>{Ui(i[e],s)},n)}function di(t,e,n=Et,i=!1){if(n){const s=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{if(n.isUnmounted)return;Qe(),nn(n);const u=Vt(e,n,t,r);return Fe(),Ye(),u});return i?s.unshift(o):s.push(o),o}}const pe=t=>(e,n=Et)=>(!En||t==="sp")&&di(t,(...i)=>e(...i),n),ra=pe("bm"),yn=pe("m"),ua=pe("bu"),Wo=pe("u"),Zo=pe("bum"),bn=pe("um"),la=pe("sp"),aa=pe("rtg"),ca=pe("rtc");function da(t,e=Et){di("ec",t,e)}const zo="components",fa="directives",qo=Symbol.for("v-ndc");function Ko(t){return _t(t)?Jo(zo,t,!1)||t:t||qo}function fi(t){return Jo(fa,t)}function Jo(t,e,n=!0,i=!1){const s=Rt||Et;if(s){const o=s.type;if(t===zo){const u=Za(o,!1);if(u&&(u===e||u===te(e)||u===zn(te(e))))return o}const r=Qo(s[t]||o[t],e)||Qo(s.appContext[t],e);return!r&&i?o:r}}function Qo(t,e){return t&&(t[e]||t[te(e)]||t[zn(te(e))])}function wn(t,e,n,i){let s;const o=n&&n[i];if(W(t)||_t(t)){s=new Array(t.length);for(let r=0,u=t.length;r<u;r++)s[r]=e(t[r],r,void 0,o&&o[r])}else if(typeof t=="number"){s=new Array(t);for(let r=0;r<t;r++)s[r]=e(r+1,r,void 0,o&&o[r])}else if(mt(t))if(t[Symbol.iterator])s=Array.from(t,(r,u)=>e(r,u,void 0,o&&o[u]));else{const r=Object.keys(t);s=new Array(r.length);for(let u=0,l=r.length;u<l;u++){const c=r[u];s[u]=e(t[c],c,u,o&&o[u])}}else s=[];return n&&(n[i]=s),s}function pa(t,e,n={},i,s){if(Rt.isCE||Rt.parent&&_n(Rt.parent)&&Rt.parent.isCE)return e!=="default"&&(n.name=e),tt("slot",n,i&&i());let o=t[e];o&&o._c&&(o._d=!1),w();const r=o&&Yo(o(n)),u=zt(yt,{key:n.key||r&&r.key||`_${e}`},r||(i?i():[]),r&&t._===1?64:-2);return!s&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),o&&o._c&&(o._d=!0),u}function Yo(t){return t.some(e=>_i(e)?!(e.type===Zt||e.type===yt&&!Yo(e.children)):!0)?t:null}const cs=t=>t?_r(t)?xi(t)||t.proxy:cs(t.parent):null,xn=wt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>cs(t.parent),$root:t=>cs(t.root),$emit:t=>t.emit,$options:t=>ps(t),$forceUpdate:t=>t.f||(t.f=()=>os(t.update)),$nextTick:t=>t.n||(t.n=Ro.bind(t.proxy)),$watch:t=>ea.bind(t)}),ds=(t,e)=>t!==ht&&!t.__isScriptSetup&&st(t,e),ha={get({_:t},e){const{ctx:n,setupState:i,data:s,props:o,accessCache:r,type:u,appContext:l}=t;let c;if(e[0]!=="$"){const y=r[e];if(y!==void 0)switch(y){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return o[e]}else{if(ds(i,e))return r[e]=1,i[e];if(s!==ht&&st(s,e))return r[e]=2,s[e];if((c=t.propsOptions[0])&&st(c,e))return r[e]=3,o[e];if(n!==ht&&st(n,e))return r[e]=4,n[e];fs&&(r[e]=0)}}const a=xn[e];let f,h;if(a)return e==="$attrs"&&Ht(t,"get",e),a(t);if((f=u.__cssModules)&&(f=f[e]))return f;if(n!==ht&&st(n,e))return r[e]=4,n[e];if(h=l.config.globalProperties,st(h,e))return h[e]},set({_:t},e,n){const{data:i,setupState:s,ctx:o}=t;return ds(s,e)?(s[e]=n,!0):i!==ht&&st(i,e)?(i[e]=n,!0):st(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:s,propsOptions:o}},r){let u;return!!n[r]||t!==ht&&st(t,r)||ds(e,r)||(u=o[0])&&st(u,r)||st(i,r)||st(xn,r)||st(s.config.globalProperties,r)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:st(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Xo(t){return W(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let fs=!0;function ma(t){const e=ps(t),n=t.proxy,i=t.ctx;fs=!1,e.beforeCreate&&Go(e.beforeCreate,t,"bc");const{data:s,computed:o,methods:r,watch:u,provide:l,inject:c,created:a,beforeMount:f,mounted:h,beforeUpdate:y,updated:g,activated:v,deactivated:M,beforeDestroy:D,beforeUnmount:O,destroyed:L,unmounted:R,render:Y,renderTracked:U,renderTriggered:Z,errorCaptured:P,serverPrefetch:Q,expose:j,inheritAttrs:rt,components:A,directives:it,filters:ft}=e;if(c&&ga(c,i,null),r)for(const ot in r){const X=r[ot];J(X)&&(i[ot]=X.bind(n))}if(s){const ot=s.call(n,n);mt(ot)&&(t.data=fn(ot))}if(fs=!0,o)for(const ot in o){const X=o[ot],Lt=J(X)?X.bind(n,n):J(X.get)?X.get.bind(n,n):Qt,Jt=!J(X)&&J(X.set)?X.set.bind(n):Qt,Ct=dt({get:Lt,set:Jt});Object.defineProperty(i,ot,{enumerable:!0,configurable:!0,get:()=>Ct.value,set:$t=>Ct.value=$t})}if(u)for(const ot in u)tr(u[ot],i,n,ot);if(l){const ot=J(l)?l.call(n):l;Reflect.ownKeys(ot).forEach(X=>{xa(X,ot[X])})}a&&Go(a,t,"c");function lt(ot,X){W(X)?X.forEach(Lt=>ot(Lt.bind(n))):X&&ot(X.bind(n))}if(lt(ra,f),lt(yn,h),lt(ua,y),lt(Wo,g),lt(ia,v),lt(sa,M),lt(da,P),lt(ca,U),lt(aa,Z),lt(Zo,O),lt(bn,R),lt(la,Q),W(j))if(j.length){const ot=t.exposed||(t.exposed={});j.forEach(X=>{Object.defineProperty(ot,X,{get:()=>n[X],set:Lt=>n[X]=Lt})})}else t.exposed||(t.exposed={});Y&&t.render===Qt&&(t.render=Y),rt!=null&&(t.inheritAttrs=rt),A&&(t.components=A),it&&(t.directives=it)}function ga(t,e,n=Qt){W(t)&&(t=hs(t));for(const i in t){const s=t[i];let o;mt(s)?"default"in s?o=mi(s.from||i,s.default,!0):o=mi(s.from||i):o=mi(s),It(o)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[i]=o}}function Go(t,e,n){Vt(W(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,n)}function tr(t,e,n,i){const s=i.includes(".")?No(n,i):()=>n[i];if(_t(t)){const o=e[t];J(o)&&Dt(s,o)}else if(J(t))Dt(s,t.bind(n));else if(mt(t))if(W(t))t.forEach(o=>tr(o,e,n,i));else{const o=J(t.handler)?t.handler.bind(n):e[t.handler];J(o)&&Dt(s,o,t)}}function ps(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:s,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,u=o.get(e);let l;return u?l=u:!s.length&&!n&&!i?l=e:(l={},s.length&&s.forEach(c=>pi(l,c,r,!0)),pi(l,e,r)),mt(e)&&o.set(e,l),l}function pi(t,e,n,i=!1){const{mixins:s,extends:o}=e;o&&pi(t,o,n,!0),s&&s.forEach(r=>pi(t,r,n,!0));for(const r in e)if(!(i&&r==="expose")){const u=va[r]||n&&n[r];t[r]=u?u(t[r],e[r]):e[r]}return t}const va={data:er,props:nr,emits:nr,methods:Cn,computed:Cn,beforeCreate:Ot,created:Ot,beforeMount:Ot,mounted:Ot,beforeUpdate:Ot,updated:Ot,beforeDestroy:Ot,beforeUnmount:Ot,destroyed:Ot,unmounted:Ot,activated:Ot,deactivated:Ot,errorCaptured:Ot,serverPrefetch:Ot,components:Cn,directives:Cn,watch:ya,provide:er,inject:_a};function er(t,e){return e?t?function(){return wt(J(t)?t.call(this,this):t,J(e)?e.call(this,this):e)}:e:t}function _a(t,e){return Cn(hs(t),hs(e))}function hs(t){if(W(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ot(t,e){return t?[...new Set([].concat(t,e))]:e}function Cn(t,e){return t?wt(Object.create(null),t,e):e}function nr(t,e){return t?W(t)&&W(e)?[...new Set([...t,...e])]:wt(Object.create(null),Xo(t),Xo(e??{})):e}function ya(t,e){if(!t)return e;if(!e)return t;const n=wt(Object.create(null),t);for(const i in e)n[i]=Ot(t[i],e[i]);return n}function ir(){return{app:null,config:{isNativeTag:Yu,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 ba=0;function wa(t,e){return function(i,s=null){J(i)||(i=wt({},i)),s!=null&&!mt(s)&&(s=null);const o=ir(),r=new WeakSet;let u=!1;const l=o.app={_uid:ba++,_component:i,_props:s,_container:null,_context:o,_instance:null,version:Qa,get config(){return o.config},set config(c){},use(c,...a){return r.has(c)||(c&&J(c.install)?(r.add(c),c.install(l,...a)):J(c)&&(r.add(c),c(l,...a))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,a){return a?(o.components[c]=a,l):o.components[c]},directive(c,a){return a?(o.directives[c]=a,l):o.directives[c]},mount(c,a,f){if(!u){const h=tt(i,s);return h.appContext=o,a&&e?e(h,c):t(h,c,f),u=!0,l._container=c,c.__vue_app__=l,xi(h.component)||h.component.proxy}},unmount(){u&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,a){return o.provides[c]=a,l},runWithContext(c){hi=l;try{return c()}finally{hi=null}}};return l}}let hi=null;function xa(t,e){if(Et){let n=Et.provides;const i=Et.parent&&Et.parent.provides;i===n&&(n=Et.provides=Object.create(i)),n[t]=e}}function mi(t,e,n=!1){const i=Et||Rt;if(i||hi){const s=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:hi._context.provides;if(s&&t in s)return s[t];if(arguments.length>1)return n&&J(e)?e.call(i&&i.proxy):e}}function Ca(t,e,n,i=!1){const s={},o={};qn(o,yi,1),t.propsDefaults=Object.create(null),sr(t,e,s,o);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);n?t.props=i?s:Ol(s):t.type.props?t.props=s:t.props=o,t.attrs=o}function ka(t,e,n,i){const{props:s,attrs:o,vnode:{patchFlag:r}}=t,u=et(s),[l]=t.propsOptions;let c=!1;if((i||r>0)&&!(r&16)){if(r&8){const a=t.vnode.dynamicProps;for(let f=0;f<a.length;f++){let h=a[f];if(ii(t.emitsOptions,h))continue;const y=e[h];if(l)if(st(o,h))y!==o[h]&&(o[h]=y,c=!0);else{const g=te(h);s[g]=ms(l,u,g,y,t,!1)}else y!==o[h]&&(o[h]=y,c=!0)}}}else{sr(t,e,s,o)&&(c=!0);let a;for(const f in u)(!e||!st(e,f)&&((a=Ke(f))===f||!st(e,a)))&&(l?n&&(n[f]!==void 0||n[a]!==void 0)&&(s[f]=ms(l,u,f,void 0,t,!0)):delete s[f]);if(o!==u)for(const f in o)(!e||!st(e,f))&&(delete o[f],c=!0)}c&&de(t,"set","$attrs")}function sr(t,e,n,i){const[s,o]=t.propsOptions;let r=!1,u;if(e)for(let l in e){if(Wn(l))continue;const c=e[l];let a;s&&st(s,a=te(l))?!o||!o.includes(a)?n[a]=c:(u||(u={}))[a]=c:ii(t.emitsOptions,l)||(!(l in i)||c!==i[l])&&(i[l]=c,r=!0)}if(o){const l=et(n),c=u||ht;for(let a=0;a<o.length;a++){const f=o[a];n[f]=ms(s,l,f,c[f],t,!st(c,f))}}return r}function ms(t,e,n,i,s,o){const r=t[n];if(r!=null){const u=st(r,"default");if(u&&i===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&J(l)){const{propsDefaults:c}=s;n in c?i=c[n]:(nn(s),i=c[n]=l.call(null,e),Fe())}else i=l}r[0]&&(o&&!u?i=!1:r[1]&&(i===""||i===Ke(n))&&(i=!0))}return i}function or(t,e,n=!1){const i=e.propsCache,s=i.get(t);if(s)return s;const o=t.props,r={},u=[];let l=!1;if(!J(t)){const a=f=>{l=!0;const[h,y]=or(f,e,!0);wt(r,h),y&&u.push(...y)};!n&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}if(!o&&!l)return mt(t)&&i.set(t,ze),ze;if(W(o))for(let a=0;a<o.length;a++){const f=te(o[a]);rr(f)&&(r[f]=ht)}else if(o)for(const a in o){const f=te(a);if(rr(f)){const h=o[a],y=r[f]=W(h)||J(h)?{type:h}:wt({},h);if(y){const g=ar(Boolean,y.type),v=ar(String,y.type);y[0]=g>-1,y[1]=v<0||g<v,(g>-1||st(y,"default"))&&u.push(f)}}}const c=[r,u];return mt(t)&&i.set(t,c),c}function rr(t){return t[0]!=="$"}function ur(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function lr(t,e){return ur(t)===ur(e)}function ar(t,e){return W(e)?e.findIndex(n=>lr(n,t)):J(e)&&lr(e,t)?0:-1}const cr=t=>t[0]==="_"||t==="$stable",gs=t=>W(t)?t.map(ie):[ie(t)],Sa=(t,e,n)=>{if(e._n)return e;const i=Ut((...s)=>gs(e(...s)),n);return i._c=!1,i},dr=(t,e,n)=>{const i=t._ctx;for(const s in t){if(cr(s))continue;const o=t[s];if(J(o))e[s]=Sa(s,o,i);else if(o!=null){const r=gs(o);e[s]=()=>r}}},fr=(t,e)=>{const n=gs(e);t.slots.default=()=>n},Ea=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=et(e),qn(e,"_",n)):dr(e,t.slots={})}else t.slots={},e&&fr(t,e);qn(t.slots,yi,1)},Ta=(t,e,n)=>{const{vnode:i,slots:s}=t;let o=!0,r=ht;if(i.shapeFlag&32){const u=e._;u?n&&u===1?o=!1:(wt(s,e),!n&&u===1&&delete s._):(o=!e.$stable,dr(e,s)),r=e}else e&&(fr(t,e),r={default:1});if(o)for(const u in s)!cr(u)&&r[u]==null&&delete s[u]};function vs(t,e,n,i,s=!1){if(W(t)){t.forEach((h,y)=>vs(h,e&&(W(e)?e[y]:e),n,i,s));return}if(_n(i)&&!s)return;const o=i.shapeFlag&4?xi(i.component)||i.component.proxy:i.el,r=s?null:o,{i:u,r:l}=t,c=e&&e.r,a=u.refs===ht?u.refs={}:u.refs,f=u.setupState;if(c!=null&&c!==l&&(_t(c)?(a[c]=null,st(f,c)&&(f[c]=null)):It(c)&&(c.value=null)),J(l))xe(l,u,12,[r,a]);else{const h=_t(l),y=It(l);if(h||y){const g=()=>{if(t.f){const v=h?st(f,l)?f[l]:a[l]:l.value;s?W(v)&&Ui(v,o):W(v)?v.includes(o)||v.push(o):h?(a[l]=[o],st(f,l)&&(f[l]=a[l])):(l.value=[o],t.k&&(a[t.k]=l.value))}else h?(a[l]=r,st(f,l)&&(f[l]=r)):y&&(l.value=r,t.k&&(a[t.k]=r))};r?(g.id=-1,Bt(g,n)):g()}}}const Bt=Gl;function $a(t){return Ma(t)}function Ma(t,e){const n=qi();n.__VUE__=!0;const{insert:i,remove:s,patchProp:o,createElement:r,createText:u,createComment:l,setText:c,setElementText:a,parentNode:f,nextSibling:h,setScopeId:y=Qt,insertStaticContent:g}=t,v=(d,p,_,x=null,C=null,E=null,I=!1,T=null,$=!!p.dynamicChildren)=>{if(d===p)return;d&&!Be(d,p)&&(x=Mt(d),$t(d,C,E,!0),d=null),p.patchFlag===-2&&($=!1,p.dynamicChildren=null);const{type:k,ref:N,shapeFlag:H}=p;switch(k){case gi:M(d,p,_,x);break;case Zt:D(d,p,_,x);break;case vi:d==null&&O(p,_,x,I);break;case yt:A(d,p,_,x,C,E,I,T,$);break;default:H&1?Y(d,p,_,x,C,E,I,T,$):H&6?it(d,p,_,x,C,E,I,T,$):(H&64||H&128)&&k.process(d,p,_,x,C,E,I,T,$,_e)}N!=null&&C&&vs(N,d&&d.ref,E,p||d,!p)},M=(d,p,_,x)=>{if(d==null)i(p.el=u(p.children),_,x);else{const C=p.el=d.el;p.children!==d.children&&c(C,p.children)}},D=(d,p,_,x)=>{d==null?i(p.el=l(p.children||""),_,x):p.el=d.el},O=(d,p,_,x)=>{[d.el,d.anchor]=g(d.children,p,_,x,d.el,d.anchor)},L=({el:d,anchor:p},_,x)=>{let C;for(;d&&d!==p;)C=h(d),i(d,_,x),d=C;i(p,_,x)},R=({el:d,anchor:p})=>{let _;for(;d&&d!==p;)_=h(d),s(d),d=_;s(p)},Y=(d,p,_,x,C,E,I,T,$)=>{I=I||p.type==="svg",d==null?U(p,_,x,C,E,I,T,$):Q(d,p,C,E,I,T,$)},U=(d,p,_,x,C,E,I,T)=>{let $,k;const{type:N,props:H,shapeFlag:F,transition:K,dirs:G}=d;if($=d.el=r(d.type,E,H&&H.is,H),F&8?a($,d.children):F&16&&P(d.children,$,null,x,C,E&&N!=="foreignObject",I,T),G&&Le(d,null,x,"created"),Z($,d,d.scopeId,I,x),H){for(const ct in H)ct!=="value"&&!Wn(ct)&&o($,ct,null,H[ct],E,d.children,x,C,vt);"value"in H&&o($,"value",null,H.value),(k=H.onVnodeBeforeMount)&&se(k,x,d)}G&&Le(d,null,x,"beforeMount");const pt=Ia(C,K);pt&&K.beforeEnter($),i($,p,_),((k=H&&H.onVnodeMounted)||pt||G)&&Bt(()=>{k&&se(k,x,d),pt&&K.enter($),G&&Le(d,null,x,"mounted")},C)},Z=(d,p,_,x,C)=>{if(_&&y(d,_),x)for(let E=0;E<x.length;E++)y(d,x[E]);if(C){let E=C.subTree;if(p===E){const I=C.vnode;Z(d,I,I.scopeId,I.slotScopeIds,C.parent)}}},P=(d,p,_,x,C,E,I,T,$=0)=>{for(let k=$;k<d.length;k++){const N=d[k]=T?Se(d[k]):ie(d[k]);v(null,N,p,_,x,C,E,I,T)}},Q=(d,p,_,x,C,E,I)=>{const T=p.el=d.el;let{patchFlag:$,dynamicChildren:k,dirs:N}=p;$|=d.patchFlag&16;const H=d.props||ht,F=p.props||ht;let K;_&&He(_,!1),(K=F.onVnodeBeforeUpdate)&&se(K,_,p,d),N&&Le(p,d,_,"beforeUpdate"),_&&He(_,!0);const G=C&&p.type!=="foreignObject";if(k?j(d.dynamicChildren,k,T,_,x,G,E):I||X(d,p,T,null,_,x,G,E,!1),$>0){if($&16)rt(T,p,H,F,_,x,C);else if($&2&&H.class!==F.class&&o(T,"class",null,F.class,C),$&4&&o(T,"style",H.style,F.style,C),$&8){const pt=p.dynamicProps;for(let ct=0;ct<pt.length;ct++){const kt=pt[ct],Gt=H[kt],cn=F[kt];(cn!==Gt||kt==="value")&&o(T,kt,Gt,cn,C,d.children,_,x,vt)}}$&1&&d.children!==p.children&&a(T,p.children)}else!I&&k==null&&rt(T,p,H,F,_,x,C);((K=F.onVnodeUpdated)||N)&&Bt(()=>{K&&se(K,_,p,d),N&&Le(p,d,_,"updated")},x)},j=(d,p,_,x,C,E,I)=>{for(let T=0;T<p.length;T++){const $=d[T],k=p[T],N=$.el&&($.type===yt||!Be($,k)||$.shapeFlag&70)?f($.el):_;v($,k,N,null,x,C,E,I,!0)}},rt=(d,p,_,x,C,E,I)=>{if(_!==x){if(_!==ht)for(const T in _)!Wn(T)&&!(T in x)&&o(d,T,_[T],null,I,p.children,C,E,vt);for(const T in x){if(Wn(T))continue;const $=x[T],k=_[T];$!==k&&T!=="value"&&o(d,T,k,$,I,p.children,C,E,vt)}"value"in x&&o(d,"value",_.value,x.value)}},A=(d,p,_,x,C,E,I,T,$)=>{const k=p.el=d?d.el:u(""),N=p.anchor=d?d.anchor:u("");let{patchFlag:H,dynamicChildren:F,slotScopeIds:K}=p;K&&(T=T?T.concat(K):K),d==null?(i(k,_,x),i(N,_,x),P(p.children,_,N,C,E,I,T,$)):H>0&&H&64&&F&&d.dynamicChildren?(j(d.dynamicChildren,F,_,C,E,I,T),(p.key!=null||C&&p===C.subTree)&&pr(d,p,!0)):X(d,p,_,N,C,E,I,T,$)},it=(d,p,_,x,C,E,I,T,$)=>{p.slotScopeIds=T,d==null?p.shapeFlag&512?C.ctx.activate(p,_,x,I,$):ft(p,_,x,C,E,I,$):Tt(d,p,$)},ft=(d,p,_,x,C,E,I)=>{const T=d.component=Da(d,x,C);if(ci(d)&&(T.ctx.renderer=_e),ja(T),T.asyncDep){if(C&&C.registerDep(T,lt),!d.el){const $=T.subTree=tt(Zt);D(null,$,p,_)}return}lt(T,d,p,_,C,E,I)},Tt=(d,p,_)=>{const x=p.component=d.component;if(Ql(d,p,_))if(x.asyncDep&&!x.asyncResolved){ot(x,p,_);return}else x.next=p,Wl(x.update),x.update();else p.el=d.el,x.vnode=p},lt=(d,p,_,x,C,E,I)=>{const T=()=>{if(d.isMounted){let{next:N,bu:H,u:F,parent:K,vnode:G}=d,pt=N,ct;He(d,!1),N?(N.el=G.el,ot(d,N,I)):N=G,H&&zi(H),(ct=N.props&&N.props.onVnodeBeforeUpdate)&&se(ct,K,N,G),He(d,!0);const kt=rs(d),Gt=d.subTree;d.subTree=kt,v(Gt,kt,f(Gt.el),Mt(Gt),d,C,E),N.el=kt.el,pt===null&&Yl(d,kt.el),F&&Bt(F,C),(ct=N.props&&N.props.onVnodeUpdated)&&Bt(()=>se(ct,K,N,G),C)}else{let N;const{el:H,props:F}=p,{bm:K,m:G,parent:pt}=d,ct=_n(p);if(He(d,!1),K&&zi(K),!ct&&(N=F&&F.onVnodeBeforeMount)&&se(N,pt,p),He(d,!0),H&&q){const kt=()=>{d.subTree=rs(d),q(H,d.subTree,d,C,null)};ct?p.type.__asyncLoader().then(()=>!d.isUnmounted&&kt()):kt()}else{const kt=d.subTree=rs(d);v(null,kt,_,x,d,C,E),p.el=kt.el}if(G&&Bt(G,C),!ct&&(N=F&&F.onVnodeMounted)){const kt=p;Bt(()=>se(N,pt,kt),C)}(p.shapeFlag&256||pt&&_n(pt.vnode)&&pt.vnode.shapeFlag&256)&&d.a&&Bt(d.a,C),d.isMounted=!0,p=_=x=null}},$=d.effect=new Yi(T,()=>os(k),d.scope),k=d.update=()=>$.run();k.id=d.uid,He(d,!0),k()},ot=(d,p,_)=>{p.component=d;const x=d.vnode.props;d.vnode=p,d.next=null,ka(d,p.props,x,_),Ta(d,p.children,_),Qe(),Po(),Ye()},X=(d,p,_,x,C,E,I,T,$=!1)=>{const k=d&&d.children,N=d?d.shapeFlag:0,H=p.children,{patchFlag:F,shapeFlag:K}=p;if(F>0){if(F&128){Jt(k,H,_,x,C,E,I,T,$);return}else if(F&256){Lt(k,H,_,x,C,E,I,T,$);return}}K&8?(N&16&&vt(k,C,E),H!==k&&a(_,H)):N&16?K&16?Jt(k,H,_,x,C,E,I,T,$):vt(k,C,E,!0):(N&8&&a(_,""),K&16&&P(H,_,x,C,E,I,T,$))},Lt=(d,p,_,x,C,E,I,T,$)=>{d=d||ze,p=p||ze;const k=d.length,N=p.length,H=Math.min(k,N);let F;for(F=0;F<H;F++){const K=p[F]=$?Se(p[F]):ie(p[F]);v(d[F],K,_,null,C,E,I,T,$)}k>N?vt(d,C,E,!0,!1,H):P(p,_,x,C,E,I,T,$,H)},Jt=(d,p,_,x,C,E,I,T,$)=>{let k=0;const N=p.length;let H=d.length-1,F=N-1;for(;k<=H&&k<=F;){const K=d[k],G=p[k]=$?Se(p[k]):ie(p[k]);if(Be(K,G))v(K,G,_,null,C,E,I,T,$);else break;k++}for(;k<=H&&k<=F;){const K=d[H],G=p[F]=$?Se(p[F]):ie(p[F]);if(Be(K,G))v(K,G,_,null,C,E,I,T,$);else break;H--,F--}if(k>H){if(k<=F){const K=F+1,G=K<N?p[K].el:x;for(;k<=F;)v(null,p[k]=$?Se(p[k]):ie(p[k]),_,G,C,E,I,T,$),k++}}else if(k>F)for(;k<=H;)$t(d[k],C,E,!0),k++;else{const K=k,G=k,pt=new Map;for(k=G;k<=F;k++){const jt=p[k]=$?Se(p[k]):ie(p[k]);jt.key!=null&&pt.set(jt.key,k)}let ct,kt=0;const Gt=F-G+1;let cn=!1,Ku=0;const Dn=new Array(Gt);for(k=0;k<Gt;k++)Dn[k]=0;for(k=K;k<=H;k++){const jt=d[k];if(kt>=Gt){$t(jt,C,E,!0);continue}let ce;if(jt.key!=null)ce=pt.get(jt.key);else for(ct=G;ct<=F;ct++)if(Dn[ct-G]===0&&Be(jt,p[ct])){ce=ct;break}ce===void 0?$t(jt,C,E,!0):(Dn[ce-G]=k+1,ce>=Ku?Ku=ce:cn=!0,v(jt,p[ce],_,null,C,E,I,T,$),kt++)}const Ju=cn?Ra(Dn):ze;for(ct=Ju.length-1,k=Gt-1;k>=0;k--){const jt=G+k,ce=p[jt],Qu=jt+1<N?p[jt+1].el:x;Dn[k]===0?v(null,ce,_,Qu,C,E,I,T,$):cn&&(ct<0||k!==Ju[ct]?Ct(ce,_,Qu,2):ct--)}}},Ct=(d,p,_,x,C=null)=>{const{el:E,type:I,transition:T,children:$,shapeFlag:k}=d;if(k&6){Ct(d.component.subTree,p,_,x);return}if(k&128){d.suspense.move(p,_,x);return}if(k&64){I.move(d,p,_,_e);return}if(I===yt){i(E,p,_);for(let H=0;H<$.length;H++)Ct($[H],p,_,x);i(d.anchor,p,_);return}if(I===vi){L(d,p,_);return}if(x!==2&&k&1&&T)if(x===0)T.beforeEnter(E),i(E,p,_),Bt(()=>T.enter(E),C);else{const{leave:H,delayLeave:F,afterLeave:K}=T,G=()=>i(E,p,_),pt=()=>{H(E,()=>{G(),K&&K()})};F?F(E,G,pt):pt()}else i(E,p,_)},$t=(d,p,_,x=!1,C=!1)=>{const{type:E,props:I,ref:T,children:$,dynamicChildren:k,shapeFlag:N,patchFlag:H,dirs:F}=d;if(T!=null&&vs(T,null,_,d,!0),N&256){p.ctx.deactivate(d);return}const K=N&1&&F,G=!_n(d);let pt;if(G&&(pt=I&&I.onVnodeBeforeUnmount)&&se(pt,p,d),N&6)ae(d.component,_,x);else{if(N&128){d.suspense.unmount(_,x);return}K&&Le(d,null,p,"beforeUnmount"),N&64?d.type.remove(d,p,_,C,_e,x):k&&(E!==yt||H>0&&H&64)?vt(k,p,_,!1,!0):(E===yt&&H&384||!C&&N&16)&&vt($,p,_),x&&Ie(d)}(G&&(pt=I&&I.onVnodeUnmounted)||K)&&Bt(()=>{pt&&se(pt,p,d),K&&Le(d,null,p,"unmounted")},_)},Ie=d=>{const{type:p,el:_,anchor:x,transition:C}=d;if(p===yt){We(_,x);return}if(p===vi){R(d);return}const E=()=>{s(_),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(d.shapeFlag&1&&C&&!C.persisted){const{leave:I,delayLeave:T}=C,$=()=>I(_,E);T?T(d.el,E,$):$()}else E()},We=(d,p)=>{let _;for(;d!==p;)_=h(d),s(d),d=_;s(p)},ae=(d,p,_)=>{const{bum:x,scope:C,update:E,subTree:I,um:T}=d;x&&zi(x),C.stop(),E&&(E.active=!1,$t(I,d,p,_)),T&&Bt(T,p),Bt(()=>{d.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},vt=(d,p,_,x=!1,C=!1,E=0)=>{for(let I=E;I<d.length;I++)$t(d[I],p,_,x,C)},Mt=d=>d.shapeFlag&6?Mt(d.component.subTree):d.shapeFlag&128?d.suspense.next():h(d.anchor||d.el),Fn=(d,p,_)=>{d==null?p._vnode&&$t(p._vnode,null,null,!0):v(p._vnode||null,d,p,null,null,null,_),Po(),Oo(),p._vnode=d},_e={p:v,um:$t,m:Ct,r:Ie,mt:ft,mc:P,pc:X,pbc:j,n:Mt,o:t};let B,q;return e&&([B,q]=e(_e)),{render:Fn,hydrate:B,createApp:wa(Fn,B)}}function He({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Ia(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function pr(t,e,n=!1){const i=t.children,s=e.children;if(W(i)&&W(s))for(let o=0;o<i.length;o++){const r=i[o];let u=s[o];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=s[o]=Se(s[o]),u.el=r.el),n||pr(r,u)),u.type===gi&&(u.el=r.el)}}function Ra(t){const e=t.slice(),n=[0];let i,s,o,r,u;const l=t.length;for(i=0;i<l;i++){const c=t[i];if(c!==0){if(s=n[n.length-1],t[s]<c){e[i]=s,n.push(i);continue}for(o=0,r=n.length-1;o<r;)u=o+r>>1,t[n[u]]<c?o=u+1:r=u;c<t[n[o]]&&(o>0&&(e[i]=n[o-1]),n[o]=i)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=e[r];return n}const Aa=t=>t.__isTeleport,yt=Symbol.for("v-fgt"),gi=Symbol.for("v-txt"),Zt=Symbol.for("v-cmt"),vi=Symbol.for("v-stc"),kn=[];let Xt=null;function w(t=!1){kn.push(Xt=t?null:[])}function Pa(){kn.pop(),Xt=kn[kn.length-1]||null}let Sn=1;function hr(t){Sn+=t}function mr(t){return t.dynamicChildren=Sn>0?Xt||ze:null,Pa(),Sn>0&&Xt&&Xt.push(t),t}function S(t,e,n,i,s,o){return mr(m(t,e,n,i,s,o,!0))}function zt(t,e,n,i,s){return mr(tt(t,e,n,i,s,!0))}function _i(t){return t?t.__v_isVNode===!0:!1}function Be(t,e){return t.type===e.type&&t.key===e.key}const yi="__vInternal",gr=({key:t})=>t??null,bi=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?_t(t)||It(t)||J(t)?{i:Rt,r:t,k:e,f:!!n}:t:null);function m(t,e=null,n=null,i=0,s=null,o=t===yt?0:1,r=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&gr(e),ref:e&&bi(e),scopeId:si,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Rt};return u?(_s(l,n),o&128&&t.normalize(l)):n&&(l.shapeFlag|=_t(n)?8:16),Sn>0&&!r&&Xt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Xt.push(l),l}const tt=Oa;function Oa(t,e=null,n=null,i=0,s=null,o=!1){if((!t||t===qo)&&(t=Zt),_i(t)){const u=ke(t,e,!0);return n&&_s(u,n),Sn>0&&!o&&Xt&&(u.shapeFlag&6?Xt[Xt.indexOf(t)]=u:Xt.push(u)),u.patchFlag|=-2,u}if(za(t)&&(t=t.__vccOpts),e){e=La(e);let{class:u,style:l}=e;u&&!_t(u)&&(e.class=V(u)),mt(l)&&(ko(l)&&!W(l)&&(l=wt({},l)),e.style=Je(l))}const r=_t(t)?1:Xl(t)?128:Aa(t)?64:mt(t)?4:J(t)?2:0;return m(t,e,n,i,s,r,o,!0)}function La(t){return t?ko(t)||yi in t?wt({},t):t:null}function ke(t,e,n=!1){const{props:i,ref:s,patchFlag:o,children:r}=t,u=e?Ba(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&gr(u),ref:e&&e.ref?n&&s?W(s)?s.concat(bi(e)):[s,bi(e)]:bi(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:r,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==yt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ke(t.ssContent),ssFallback:t.ssFallback&&ke(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Ne(t=" ",e=0){return tt(gi,null,t,e)}function Ha(t,e){const n=tt(vi,null,t);return n.staticCount=e,n}function at(t="",e=!1){return e?(w(),zt(Zt,null,t)):tt(Zt,null,t)}function ie(t){return t==null||typeof t=="boolean"?tt(Zt):W(t)?tt(yt,null,t.slice()):typeof t=="object"?Se(t):tt(gi,null,String(t))}function Se(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ke(t)}function _s(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(W(e))n=16;else if(typeof e=="object")if(i&65){const s=e.default;s&&(s._c&&(s._d=!1),_s(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!(yi in e)?e._ctx=Rt:s===3&&Rt&&(Rt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else J(e)?(e={default:e,_ctx:Rt},n=32):(e=String(e),i&64?(n=16,e=[Ne(e)]):n=8);t.children=e,t.shapeFlag|=n}function Ba(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const s in i)if(s==="class")e.class!==i.class&&(e.class=V([e.class,i.class]));else if(s==="style")e.style=Je([e.style,i.style]);else if(jn(s)){const o=e[s],r=i[s];r&&o!==r&&!(W(o)&&o.includes(r))&&(e[s]=o?[].concat(o,r):r)}else s!==""&&(e[s]=i[s])}return e}function se(t,e,n,i=null){Vt(t,e,7,[n,i])}const Na=ir();let Fa=0;function Da(t,e,n){const i=t.type,s=(e?e.appContext:t.appContext)||Na,o={uid:Fa++,vnode:t,type:i,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new cl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:or(i,s),emitsOptions:Ho(i,s),emit:null,emitted:null,propsDefaults:ht,inheritAttrs:i.inheritAttrs,ctx:ht,data:ht,props:ht,attrs:ht,slots:ht,refs:ht,setupState:ht,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.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 o.ctx={_:o},o.root=e?e.root:o,o.emit=ql.bind(null,o),t.ce&&t.ce(o),o}let Et=null;const wi=()=>Et||Rt;let ys,en,vr="__VUE_INSTANCE_SETTERS__";(en=qi()[vr])||(en=qi()[vr]=[]),en.push(t=>Et=t),ys=t=>{en.length>1?en.forEach(e=>e(t)):en[0](t)};const nn=t=>{ys(t),t.scope.on()},Fe=()=>{Et&&Et.scope.off(),ys(null)};function _r(t){return t.vnode.shapeFlag&4}let En=!1;function ja(t,e=!1){En=e;const{props:n,children:i}=t.vnode,s=_r(t);Ca(t,n,s,e),Ea(t,i);const o=s?Va(t,e):void 0;return En=!1,o}function Va(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=So(new Proxy(t.ctx,ha));const{setup:i}=n;if(i){const s=t.setupContext=i.length>1?Wa(t):null;nn(t),Qe();const o=xe(i,t,0,[t.props,s]);if(Ye(),Fe(),Xs(o)){if(o.then(Fe,Fe),e)return o.then(r=>{yr(t,r,e)}).catch(r=>{ni(r,t,0)});t.asyncDep=o}else yr(t,o,e)}else wr(t,e)}function yr(t,e,n){J(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:mt(e)&&(t.setupState=$o(e)),wr(t,n)}let br;function wr(t,e,n){const i=t.type;if(!t.render){if(!e&&br&&!i.render){const s=i.template||ps(t).template;if(s){const{isCustomElement:o,compilerOptions:r}=t.appContext.config,{delimiters:u,compilerOptions:l}=i,c=wt(wt({isCustomElement:o,delimiters:u},r),l);i.render=br(s,c)}}t.render=i.render||Qt}{nn(t),Qe();try{ma(t)}finally{Ye(),Fe()}}}function Ua(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return Ht(t,"get","$attrs"),e[n]}}))}function Wa(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return Ua(t)},slots:t.slots,emit:t.emit,expose:e}}function xi(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy($o(So(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in xn)return xn[n](t)},has(e,n){return n in e||n in xn}}))}function Za(t,e=!0){return J(t)?t.displayName||t.name:t.name||e&&t.__name}function za(t){return J(t)&&"__vccOpts"in t}const dt=(t,e)=>jl(t,e,En);function qa(t,e,n){const i=arguments.length;return i===2?mt(e)&&!W(e)?_i(e)?tt(t,null,[e]):tt(t,e):tt(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&_i(n)&&(n=[n]),tt(t,e,n))}const Ka=Symbol.for("v-scx"),Ja=()=>mi(Ka),Qa="3.3.7",Ya="http://www.w3.org/2000/svg",De=typeof document<"u"?document:null,xr=De&&De.createElement("template"),Xa={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const s=e?De.createElementNS(Ya,t):De.createElement(t,n?{is:n}:void 0);return t==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:t=>De.createTextNode(t),createComment:t=>De.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>De.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,s,o){const r=n?n.previousSibling:e.lastChild;if(s&&(s===o||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{xr.innerHTML=i?`<svg>${t}</svg>`:t;const u=xr.content;if(i){const l=u.firstChild;for(;l.firstChild;)u.appendChild(l.firstChild);u.removeChild(l)}e.insertBefore(u,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Ee="transition",Tn="animation",sn=Symbol("_vtc"),he=(t,{slots:e})=>qa(na,Sr(t),e);he.displayName="Transition";const Cr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ga=he.props=wt({},Do,Cr),je=(t,e=[])=>{W(t)?t.forEach(n=>n(...e)):t&&t(...e)},kr=t=>t?W(t)?t.some(e=>e.length>1):t.length>1:!1;function Sr(t){const e={};for(const A in t)A in Cr||(e[A]=t[A]);if(t.css===!1)return e;const{name:n="v",type:i,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:a=u,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=t,g=tc(s),v=g&&g[0],M=g&&g[1],{onBeforeEnter:D,onEnter:O,onEnterCancelled:L,onLeave:R,onLeaveCancelled:Y,onBeforeAppear:U=D,onAppear:Z=O,onAppearCancelled:P=L}=e,Q=(A,it,ft)=>{Te(A,it?a:u),Te(A,it?c:r),ft&&ft()},j=(A,it)=>{A._isLeaving=!1,Te(A,f),Te(A,y),Te(A,h),it&&it()},rt=A=>(it,ft)=>{const Tt=A?Z:O,lt=()=>Q(it,A,ft);je(Tt,[it,lt]),Er(()=>{Te(it,A?l:o),me(it,A?a:u),kr(Tt)||Tr(it,i,v,lt)})};return wt(e,{onBeforeEnter(A){je(D,[A]),me(A,o),me(A,r)},onBeforeAppear(A){je(U,[A]),me(A,l),me(A,c)},onEnter:rt(!1),onAppear:rt(!0),onLeave(A,it){A._isLeaving=!0;const ft=()=>j(A,it);me(A,f),Rr(),me(A,h),Er(()=>{A._isLeaving&&(Te(A,f),me(A,y),kr(R)||Tr(A,i,M,ft))}),je(R,[A,ft])},onEnterCancelled(A){Q(A,!1),je(L,[A])},onAppearCancelled(A){Q(A,!0),je(P,[A])},onLeaveCancelled(A){j(A),je(Y,[A])}})}function tc(t){if(t==null)return null;if(mt(t))return[bs(t.enter),bs(t.leave)];{const e=bs(t);return[e,e]}}function bs(t){return sl(t)}function me(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[sn]||(t[sn]=new Set)).add(e)}function Te(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const n=t[sn];n&&(n.delete(e),n.size||(t[sn]=void 0))}function Er(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let ec=0;function Tr(t,e,n,i){const s=t._endId=++ec,o=()=>{s===t._endId&&i()};if(n)return setTimeout(o,n);const{type:r,timeout:u,propCount:l}=$r(t,e);if(!r)return i();const c=r+"end";let a=0;const f=()=>{t.removeEventListener(c,h),o()},h=y=>{y.target===t&&++a>=l&&f()};setTimeout(()=>{a<l&&f()},u+1),t.addEventListener(c,h)}function $r(t,e){const n=window.getComputedStyle(t),i=g=>(n[g]||"").split(", "),s=i(`${Ee}Delay`),o=i(`${Ee}Duration`),r=Mr(s,o),u=i(`${Tn}Delay`),l=i(`${Tn}Duration`),c=Mr(u,l);let a=null,f=0,h=0;e===Ee?r>0&&(a=Ee,f=r,h=o.length):e===Tn?c>0&&(a=Tn,f=c,h=l.length):(f=Math.max(r,c),a=f>0?r>c?Ee:Tn:null,h=a?a===Ee?o.length:l.length:0);const y=a===Ee&&/\b(transform|all)(,|$)/.test(i(`${Ee}Property`).toString());return{type:a,timeout:f,propCount:h,hasTransform:y}}function Mr(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,i)=>Ir(n)+Ir(t[i])))}function Ir(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Rr(){return document.body.offsetHeight}function nc(t,e,n){const i=t[sn];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const ws=Symbol("_vod"),Ar={beforeMount(t,{value:e},{transition:n}){t[ws]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):$n(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),$n(t,!0),i.enter(t)):i.leave(t,()=>{$n(t,!1)}):$n(t,e))},beforeUnmount(t,{value:e}){$n(t,e)}};function $n(t,e){t.style.display=e?t[ws]:"none"}function ic(t,e,n){const i=t.style,s=_t(n);if(n&&!s){if(e&&!_t(e))for(const o in e)n[o]==null&&xs(i,o,"");for(const o in n)xs(i,o,n[o])}else{const o=i.display;s?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),ws in t&&(i.display=o)}}const Pr=/\s*!important$/;function xs(t,e,n){if(W(n))n.forEach(i=>xs(t,e,i));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=sc(t,e);Pr.test(n)?t.setProperty(Ke(i),n.replace(Pr,""),"important"):t[i]=n}}const Or=["Webkit","Moz","ms"],Cs={};function sc(t,e){const n=Cs[e];if(n)return n;let i=te(e);if(i!=="filter"&&i in t)return Cs[e]=i;i=zn(i);for(let s=0;s<Or.length;s++){const o=Or[s]+i;if(o in t)return Cs[e]=o}return e}const Lr="http://www.w3.org/1999/xlink";function oc(t,e,n,i,s){if(i&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Lr,e.slice(6,e.length)):t.setAttributeNS(Lr,e,n);else{const o=al(e);n==null||o&&!no(n)?t.removeAttribute(e):t.setAttribute(e,o?"":n)}}function rc(t,e,n,i,s,o,r){if(e==="innerHTML"||e==="textContent"){i&&r(i,s,o),t[e]=n??"";return}const u=t.tagName;if(e==="value"&&u!=="PROGRESS"&&!u.includes("-")){t._value=n;const c=u==="OPTION"?t.getAttribute("value"):t.value,a=n??"";c!==a&&(t.value=a),n==null&&t.removeAttribute(e);return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=no(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function uc(t,e,n,i){t.addEventListener(e,n,i)}function lc(t,e,n,i){t.removeEventListener(e,n,i)}const Hr=Symbol("_vei");function ac(t,e,n,i,s=null){const o=t[Hr]||(t[Hr]={}),r=o[e];if(i&&r)r.value=i;else{const[u,l]=cc(e);if(i){const c=o[e]=pc(i,s);uc(t,u,c,l)}else r&&(lc(t,u,r,l),o[e]=void 0)}}const Br=/(?:Once|Passive|Capture)$/;function cc(t){let e;if(Br.test(t)){e={};let i;for(;i=t.match(Br);)t=t.slice(0,t.length-i[0].length),e[i[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Ke(t.slice(2)),e]}let ks=0;const dc=Promise.resolve(),fc=()=>ks||(dc.then(()=>ks=0),ks=Date.now());function pc(t,e){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Vt(hc(i,n.value),e,5,[i])};return n.value=t,n.attached=fc(),n}function hc(t,e){if(W(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(i=>s=>!s._stopped&&i&&i(s))}else return e}const Nr=/^on[a-z]/,mc=(t,e,n,i,s=!1,o,r,u,l)=>{e==="class"?nc(t,i,s):e==="style"?ic(t,n,i):jn(e)?Vi(e)||ac(t,e,n,i,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):gc(t,e,i,s))?rc(t,e,i,o,r,u,l):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),oc(t,e,i,s))};function gc(t,e,n,i){return i?!!(e==="innerHTML"||e==="textContent"||e in t&&Nr.test(e)&&J(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Nr.test(e)&&_t(n)?!1:e in t}const Fr=new WeakMap,Dr=new WeakMap,Ci=Symbol("_moveCb"),jr=Symbol("_enterCb"),Vr={name:"TransitionGroup",props:wt({},Ga,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=wi(),i=Fo();let s,o;return Wo(()=>{if(!s.length)return;const r=t.moveClass||`${t.name||"v"}-move`;if(!xc(s[0].el,n.vnode.el,r))return;s.forEach(yc),s.forEach(bc);const u=s.filter(wc);Rr(),u.forEach(l=>{const c=l.el,a=c.style;me(c,r),a.transform=a.webkitTransform=a.transitionDuration="";const f=c[Ci]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",f),c[Ci]=null,Te(c,r))};c.addEventListener("transitionend",f)})}),()=>{const r=et(t),u=Sr(r);let l=r.tag||yt;s=o,o=e.default?as(e.default()):[];for(let c=0;c<o.length;c++){const a=o[c];a.key!=null&&vn(a,gn(a,u,i,n))}if(s)for(let c=0;c<s.length;c++){const a=s[c];vn(a,gn(a,u,i,n)),Fr.set(a,a.el.getBoundingClientRect())}return tt(l,null,o)}}},vc=t=>delete t.mode;Vr.props;const _c=Vr;function yc(t){const e=t.el;e[Ci]&&e[Ci](),e[jr]&&e[jr]()}function bc(t){Dr.set(t,t.el.getBoundingClientRect())}function wc(t){const e=Fr.get(t),n=Dr.get(t),i=e.left-n.left,s=e.top-n.top;if(i||s){const o=t.el.style;return o.transform=o.webkitTransform=`translate(${i}px,${s}px)`,o.transitionDuration="0s",t}}function xc(t,e,n){const i=t.cloneNode(),s=t[sn];s&&s.forEach(u=>{u.split(/\s+/).forEach(l=>l&&i.classList.remove(l))}),n.split(/\s+/).forEach(u=>u&&i.classList.add(u)),i.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(i);const{hasTransform:r}=$r(i);return o.removeChild(i),r}const Cc=["ctrl","shift","alt","meta"],kc={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Cc.some(n=>t[`${n}Key`]&&!e.includes(n))},Sc=(t,e)=>(n,...i)=>{for(let s=0;s<e.length;s++){const o=kc[e[s]];if(o&&o(n,e))return}return t(n,...i)},Ec=wt({patchProp:mc},Xa);let Ur;function Tc(){return Ur||(Ur=$a(Ec))}const Ss=(...t)=>{const e=Tc().createApp(...t),{mount:n}=e;return e.mount=i=>{const s=$c(i);if(!s)return;const o=e._component;!J(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const r=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},e};function $c(t){return _t(t)?document.querySelector(t):t}const oh="";function Wr(t,e){return function(){return t.apply(e,arguments)}}const{toString:Mc}=Object.prototype,{getPrototypeOf:Es}=Object,ki=(t=>e=>{const n=Mc.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),oe=t=>(t=t.toLowerCase(),e=>ki(e)===t),Si=t=>e=>typeof e===t,{isArray:on}=Array,Mn=Si("undefined");function Ic(t){return t!==null&&!Mn(t)&&t.constructor!==null&&!Mn(t.constructor)&&qt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Zr=oe("ArrayBuffer");function Rc(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Zr(t.buffer),e}const Ac=Si("string"),qt=Si("function"),zr=Si("number"),Ei=t=>t!==null&&typeof t=="object",Pc=t=>t===!0||t===!1,Ti=t=>{if(ki(t)!=="object")return!1;const e=Es(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Oc=oe("Date"),Lc=oe("File"),Hc=oe("Blob"),Bc=oe("FileList"),Nc=t=>Ei(t)&&qt(t.pipe),Fc=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||qt(t.append)&&((e=ki(t))==="formdata"||e==="object"&&qt(t.toString)&&t.toString()==="[object FormData]"))},Dc=oe("URLSearchParams"),jc=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function In(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,s;if(typeof t!="object"&&(t=[t]),on(t))for(i=0,s=t.length;i<s;i++)e.call(null,t[i],i,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),r=o.length;let u;for(i=0;i<r;i++)u=o[i],e.call(null,t[u],u,t)}}function qr(t,e){e=e.toLowerCase();const n=Object.keys(t);let i=n.length,s;for(;i-- >0;)if(s=n[i],e===s.toLowerCase())return s;return null}const Kr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Jr=t=>!Mn(t)&&t!==Kr;function Ts(){const{caseless:t}=Jr(this)&&this||{},e={},n=(i,s)=>{const o=t&&qr(e,s)||s;Ti(e[o])&&Ti(i)?e[o]=Ts(e[o],i):Ti(i)?e[o]=Ts({},i):on(i)?e[o]=i.slice():e[o]=i};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&In(arguments[i],n);return e}const Vc=(t,e,n,{allOwnKeys:i}={})=>(In(e,(s,o)=>{n&&qt(s)?t[o]=Wr(s,n):t[o]=s},{allOwnKeys:i}),t),Uc=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Wc=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Zc=(t,e,n,i)=>{let s,o,r;const u={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),o=s.length;o-- >0;)r=s[o],(!i||i(r,t,e))&&!u[r]&&(e[r]=t[r],u[r]=!0);t=n!==!1&&Es(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},zc=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return i!==-1&&i===n},qc=t=>{if(!t)return null;if(on(t))return t;let e=t.length;if(!zr(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Kc=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Es(Uint8Array)),Jc=(t,e)=>{const i=(t&&t[Symbol.iterator]).call(t);let s;for(;(s=i.next())&&!s.done;){const o=s.value;e.call(t,o[0],o[1])}},Qc=(t,e)=>{let n;const i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},Yc=oe("HTMLFormElement"),Xc=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,s){return i.toUpperCase()+s}),Qr=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Gc=oe("RegExp"),Yr=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};In(n,(s,o)=>{let r;(r=e(s,o,t))!==!1&&(i[o]=r||s)}),Object.defineProperties(t,i)},td=t=>{Yr(t,(e,n)=>{if(qt(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=t[n];if(qt(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ed=(t,e)=>{const n={},i=s=>{s.forEach(o=>{n[o]=!0})};return on(t)?i(t):i(String(t).split(e)),n},nd=()=>{},id=(t,e)=>(t=+t,Number.isFinite(t)?t:e),$s="abcdefghijklmnopqrstuvwxyz",Xr="0123456789",Gr={DIGIT:Xr,ALPHA:$s,ALPHA_DIGIT:$s+$s.toUpperCase()+Xr},sd=(t=16,e=Gr.ALPHA_DIGIT)=>{let n="";const{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n};function od(t){return!!(t&&qt(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const rd=t=>{const e=new Array(10),n=(i,s)=>{if(Ei(i)){if(e.indexOf(i)>=0)return;if(!("toJSON"in i)){e[s]=i;const o=on(i)?[]:{};return In(i,(r,u)=>{const l=n(r,s+1);!Mn(l)&&(o[u]=l)}),e[s]=void 0,o}}return i};return n(t,0)},ud=oe("AsyncFunction"),b={isArray:on,isArrayBuffer:Zr,isBuffer:Ic,isFormData:Fc,isArrayBufferView:Rc,isString:Ac,isNumber:zr,isBoolean:Pc,isObject:Ei,isPlainObject:Ti,isUndefined:Mn,isDate:Oc,isFile:Lc,isBlob:Hc,isRegExp:Gc,isFunction:qt,isStream:Nc,isURLSearchParams:Dc,isTypedArray:Kc,isFileList:Bc,forEach:In,merge:Ts,extend:Vc,trim:jc,stripBOM:Uc,inherits:Wc,toFlatObject:Zc,kindOf:ki,kindOfTest:oe,endsWith:zc,toArray:qc,forEachEntry:Jc,matchAll:Qc,isHTMLForm:Yc,hasOwnProperty:Qr,hasOwnProp:Qr,reduceDescriptors:Yr,freezeMethods:td,toObjectSet:ed,toCamelCase:Xc,noop:nd,toFiniteNumber:id,findKey:qr,global:Kr,isContextDefined:Jr,ALPHABET:Gr,generateString:sd,isSpecCompliantForm:od,toJSONObject:rd,isAsyncFn:ud,isThenable:t=>t&&(Ei(t)||qt(t))&&qt(t.then)&&qt(t.catch)};function nt(t,e,n,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s)}b.inherits(nt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:b.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const tu=nt.prototype,eu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{eu[t]={value:t}}),Object.defineProperties(nt,eu),Object.defineProperty(tu,"isAxiosError",{value:!0}),nt.from=(t,e,n,i,s,o)=>{const r=Object.create(tu);return b.toFlatObject(t,r,function(l){return l!==Error.prototype},u=>u!=="isAxiosError"),nt.call(r,t.message,e,n,i,s),r.cause=t,r.name=t.name,o&&Object.assign(r,o),r};const ld=null;function Ms(t){return b.isPlainObject(t)||b.isArray(t)}function nu(t){return b.endsWith(t,"[]")?t.slice(0,-2):t}function iu(t,e,n){return t?t.concat(e).map(function(s,o){return s=nu(s),!n&&o?"["+s+"]":s}).join(n?".":""):e}function ad(t){return b.isArray(t)&&!t.some(Ms)}const cd=b.toFlatObject(b,{},null,function(e){return/^is[A-Z]/.test(e)});function $i(t,e,n){if(!b.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,M){return!b.isUndefined(M[v])});const i=n.metaTokens,s=n.visitor||a,o=n.dots,r=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(e);if(!b.isFunction(s))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(b.isDate(g))return g.toISOString();if(!l&&b.isBlob(g))throw new nt("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(g)||b.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function a(g,v,M){let D=g;if(g&&!M&&typeof g=="object"){if(b.endsWith(v,"{}"))v=i?v:v.slice(0,-2),g=JSON.stringify(g);else if(b.isArray(g)&&ad(g)||(b.isFileList(g)||b.endsWith(v,"[]"))&&(D=b.toArray(g)))return v=nu(v),D.forEach(function(L,R){!(b.isUndefined(L)||L===null)&&e.append(r===!0?iu([v],R,o):r===null?v:v+"[]",c(L))}),!1}return Ms(g)?!0:(e.append(iu(M,v,o),c(g)),!1)}const f=[],h=Object.assign(cd,{defaultVisitor:a,convertValue:c,isVisitable:Ms});function y(g,v){if(!b.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(g),b.forEach(g,function(D,O){(!(b.isUndefined(D)||D===null)&&s.call(e,D,b.isString(O)?O.trim():O,v,h))===!0&&y(D,v?v.concat(O):[O])}),f.pop()}}if(!b.isObject(t))throw new TypeError("data must be an object");return y(t),e}function su(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function Is(t,e){this._pairs=[],t&&$i(t,this,e)}const ou=Is.prototype;ou.append=function(e,n){this._pairs.push([e,n])},ou.toString=function(e){const n=e?function(i){return e.call(this,i,su)}:su;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function dd(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ru(t,e,n){if(!e)return t;const i=n&&n.encode||dd,s=n&&n.serialize;let o;if(s?o=s(e,n):o=b.isURLSearchParams(e)?e.toString():new Is(e,n).toString(i),o){const r=t.indexOf("#");r!==-1&&(t=t.slice(0,r)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class fd{constructor(){this.handlers=[]}use(e,n,i){return this.handlers.push({fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){b.forEach(this.handlers,function(i){i!==null&&e(i)})}}const uu=fd,lu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pd=typeof URLSearchParams<"u"?URLSearchParams:Is,hd=typeof FormData<"u"?FormData:null,md=typeof Blob<"u"?Blob:null,gd=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),vd=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),re={isBrowser:!0,classes:{URLSearchParams:pd,FormData:hd,Blob:md},isStandardBrowserEnv:gd,isStandardBrowserWebWorkerEnv:vd,protocols:["http","https","file","blob","url","data"]};function _d(t,e){return $i(t,new re.classes.URLSearchParams,Object.assign({visitor:function(n,i,s,o){return re.isNode&&b.isBuffer(n)?(this.append(i,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function yd(t){return b.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function bd(t){const e={},n=Object.keys(t);let i;const s=n.length;let o;for(i=0;i<s;i++)o=n[i],e[o]=t[o];return e}function au(t){function e(n,i,s,o){let r=n[o++];const u=Number.isFinite(+r),l=o>=n.length;return r=!r&&b.isArray(s)?s.length:r,l?(b.hasOwnProp(s,r)?s[r]=[s[r],i]:s[r]=i,!u):((!s[r]||!b.isObject(s[r]))&&(s[r]=[]),e(n,i,s[r],o)&&b.isArray(s[r])&&(s[r]=bd(s[r])),!u)}if(b.isFormData(t)&&b.isFunction(t.entries)){const n={};return b.forEachEntry(t,(i,s)=>{e(yd(i),s,n,0)}),n}return null}function wd(t,e,n){if(b.isString(t))try{return(e||JSON.parse)(t),b.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(t)}const Rs={transitional:lu,adapter:["xhr","http"],transformRequest:[function(e,n){const i=n.getContentType()||"",s=i.indexOf("application/json")>-1,o=b.isObject(e);if(o&&b.isHTMLForm(e)&&(e=new FormData(e)),b.isFormData(e))return s&&s?JSON.stringify(au(e)):e;if(b.isArrayBuffer(e)||b.isBuffer(e)||b.isStream(e)||b.isFile(e)||b.isBlob(e))return e;if(b.isArrayBufferView(e))return e.buffer;if(b.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let u;if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1)return _d(e,this.formSerializer).toString();if((u=b.isFileList(e))||i.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return $i(u?{"files[]":e}:e,l&&new l,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),wd(e)):e}],transformResponse:[function(e){const n=this.transitional||Rs.transitional,i=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&b.isString(e)&&(i&&!this.responseType||s)){const r=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(u){if(r)throw u.name==="SyntaxError"?nt.from(u,nt.ERR_BAD_RESPONSE,this,null,this.response):u}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:re.classes.FormData,Blob:re.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};b.forEach(["delete","get","head","post","put","patch"],t=>{Rs.headers[t]={}});const As=Rs,xd=b.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Cd=t=>{const e={};let n,i,s;return t&&t.split(`
`).forEach(function(r){s=r.indexOf(":"),n=r.substring(0,s).trim().toLowerCase(),i=r.substring(s+1).trim(),!(!n||e[n]&&xd[n])&&(n==="set-cookie"?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)}),e},cu=Symbol("internals");function Rn(t){return t&&String(t).trim().toLowerCase()}function Mi(t){return t===!1||t==null?t:b.isArray(t)?t.map(Mi):String(t)}function kd(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}const Sd=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ps(t,e,n,i,s){if(b.isFunction(i))return i.call(this,e,n);if(s&&(e=n),!!b.isString(e)){if(b.isString(i))return e.indexOf(i)!==-1;if(b.isRegExp(i))return i.test(e)}}function Ed(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function Td(t,e){const n=b.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(s,o,r){return this[i].call(this,e,s,o,r)},configurable:!0})})}class Ii{constructor(e){e&&this.set(e)}set(e,n,i){const s=this;function o(u,l,c){const a=Rn(l);if(!a)throw new Error("header name must be a non-empty string");const f=b.findKey(s,a);(!f||s[f]===void 0||c===!0||c===void 0&&s[f]!==!1)&&(s[f||l]=Mi(u))}const r=(u,l)=>b.forEach(u,(c,a)=>o(c,a,l));return b.isPlainObject(e)||e instanceof this.constructor?r(e,n):b.isString(e)&&(e=e.trim())&&!Sd(e)?r(Cd(e),n):e!=null&&o(n,e,i),this}get(e,n){if(e=Rn(e),e){const i=b.findKey(this,e);if(i){const s=this[i];if(!n)return s;if(n===!0)return kd(s);if(b.isFunction(n))return n.call(this,s,i);if(b.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Rn(e),e){const i=b.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||Ps(this,this[i],i,n)))}return!1}delete(e,n){const i=this;let s=!1;function o(r){if(r=Rn(r),r){const u=b.findKey(i,r);u&&(!n||Ps(i,i[u],u,n))&&(delete i[u],s=!0)}}return b.isArray(e)?e.forEach(o):o(e),s}clear(e){const n=Object.keys(this);let i=n.length,s=!1;for(;i--;){const o=n[i];(!e||Ps(this,this[o],o,e,!0))&&(delete this[o],s=!0)}return s}normalize(e){const n=this,i={};return b.forEach(this,(s,o)=>{const r=b.findKey(i,o);if(r){n[r]=Mi(s),delete n[o];return}const u=e?Ed(o):String(o).trim();u!==o&&delete n[o],n[u]=Mi(s),i[u]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return b.forEach(this,(i,s)=>{i!=null&&i!==!1&&(n[s]=e&&b.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const i=new this(e);return n.forEach(s=>i.set(s)),i}static accessor(e){const i=(this[cu]=this[cu]={accessors:{}}).accessors,s=this.prototype;function o(r){const u=Rn(r);i[u]||(Td(s,r),i[u]=!0)}return b.isArray(e)?e.forEach(o):o(e),this}}Ii.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),b.reduceDescriptors(Ii.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}}),b.freezeMethods(Ii);const ge=Ii;function Os(t,e){const n=this||As,i=e||n,s=ge.from(i.headers);let o=i.data;return b.forEach(t,function(u){o=u.call(n,o,s.normalize(),e?e.status:void 0)}),s.normalize(),o}function du(t){return!!(t&&t.__CANCEL__)}function An(t,e,n){nt.call(this,t??"canceled",nt.ERR_CANCELED,e,n),this.name="CanceledError"}b.inherits(An,nt,{__CANCEL__:!0});function $d(t,e,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new nt("Request failed with status code "+n.status,[nt.ERR_BAD_REQUEST,nt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Md=re.isStandardBrowserEnv?function(){return{write:function(n,i,s,o,r,u){const l=[];l.push(n+"="+encodeURIComponent(i)),b.isNumber(s)&&l.push("expires="+new Date(s).toGMTString()),b.isString(o)&&l.push("path="+o),b.isString(r)&&l.push("domain="+r),u===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Id(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Rd(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function fu(t,e){return t&&!Id(e)?Rd(t,e):e}const Ad=re.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let i;function s(o){let r=o;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=s(window.location.href),function(r){const u=b.isString(r)?s(r):r;return u.protocol===i.protocol&&u.host===i.host}}():function(){return function(){return!0}}();function Pd(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Od(t,e){t=t||10;const n=new Array(t),i=new Array(t);let s=0,o=0,r;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),a=i[o];r||(r=c),n[s]=l,i[s]=c;let f=o,h=0;for(;f!==s;)h+=n[f++],f=f%t;if(s=(s+1)%t,s===o&&(o=(o+1)%t),c-r<e)return;const y=a&&c-a;return y?Math.round(h*1e3/y):void 0}}function pu(t,e){let n=0;const i=Od(50,250);return s=>{const o=s.loaded,r=s.lengthComputable?s.total:void 0,u=o-n,l=i(u),c=o<=r;n=o;const a={loaded:o,total:r,progress:r?o/r:void 0,bytes:u,rate:l||void 0,estimated:l&&r&&c?(r-o)/l:void 0,event:s};a[e?"download":"upload"]=!0,t(a)}}const Ls={http:ld,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,i){let s=t.data;const o=ge.from(t.headers).normalize(),r=t.responseType;let u;function l(){t.cancelToken&&t.cancelToken.unsubscribe(u),t.signal&&t.signal.removeEventListener("abort",u)}let c;b.isFormData(s)&&(re.isStandardBrowserEnv||re.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?b.isString(c=o.getContentType())&&o.setContentType(c.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let a=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(g+":"+v))}const f=fu(t.baseURL,t.url);a.open(t.method.toUpperCase(),ru(f,t.params,t.paramsSerializer),!0),a.timeout=t.timeout;function h(){if(!a)return;const g=ge.from("getAllResponseHeaders"in a&&a.getAllResponseHeaders()),M={data:!r||r==="text"||r==="json"?a.responseText:a.response,status:a.status,statusText:a.statusText,headers:g,config:t,request:a};$d(function(O){n(O),l()},function(O){i(O),l()},M),a=null}if("onloadend"in a?a.onloadend=h:a.onreadystatechange=function(){!a||a.readyState!==4||a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0)||setTimeout(h)},a.onabort=function(){a&&(i(new nt("Request aborted",nt.ECONNABORTED,t,a)),a=null)},a.onerror=function(){i(new nt("Network Error",nt.ERR_NETWORK,t,a)),a=null},a.ontimeout=function(){let v=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const M=t.transitional||lu;t.timeoutErrorMessage&&(v=t.timeoutErrorMessage),i(new nt(v,M.clarifyTimeoutError?nt.ETIMEDOUT:nt.ECONNABORTED,t,a)),a=null},re.isStandardBrowserEnv){const g=Ad(f)&&t.xsrfCookieName&&Md.read(t.xsrfCookieName);g&&o.set(t.xsrfHeaderName,g)}s===void 0&&o.setContentType(null),"setRequestHeader"in a&&b.forEach(o.toJSON(),function(v,M){a.setRequestHeader(M,v)}),b.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),r&&r!=="json"&&(a.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&a.addEventListener("progress",pu(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",pu(t.onUploadProgress)),(t.cancelToken||t.signal)&&(u=g=>{a&&(i(!g||g.type?new An(null,t,a):g),a.abort(),a=null)},t.cancelToken&&t.cancelToken.subscribe(u),t.signal&&(t.signal.aborted?u():t.signal.addEventListener("abort",u)));const y=Pd(f);if(y&&re.protocols.indexOf(y)===-1){i(new nt("Unsupported protocol "+y+":",nt.ERR_BAD_REQUEST,t));return}a.send(s||null)})}};b.forEach(Ls,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const hu=t=>`- ${t}`,Ld=t=>b.isFunction(t)||t===null||t===!1,mu={getAdapter:t=>{t=b.isArray(t)?t:[t];const{length:e}=t;let n,i;const s={};for(let o=0;o<e;o++){n=t[o];let r;if(i=n,!Ld(n)&&(i=Ls[(r=String(n)).toLowerCase()],i===void 0))throw new nt(`Unknown adapter '${r}'`);if(i)break;s[r||"#"+o]=i}if(!i){const o=Object.entries(s).map(([u,l])=>`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let r=e?o.length>1?`since :
`+o.map(hu).join(`
`):" "+hu(o[0]):"as no adapter specified";throw new nt("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return i},adapters:Ls};function Hs(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new An(null,t)}function gu(t){return Hs(t),t.headers=ge.from(t.headers),t.data=Os.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),mu.getAdapter(t.adapter||As.adapter)(t).then(function(i){return Hs(t),i.data=Os.call(t,t.transformResponse,i),i.headers=ge.from(i.headers),i},function(i){return du(i)||(Hs(t),i&&i.response&&(i.response.data=Os.call(t,t.transformResponse,i.response),i.response.headers=ge.from(i.response.headers))),Promise.reject(i)})}const vu=t=>t instanceof ge?t.toJSON():t;function rn(t,e){e=e||{};const n={};function i(c,a,f){return b.isPlainObject(c)&&b.isPlainObject(a)?b.merge.call({caseless:f},c,a):b.isPlainObject(a)?b.merge({},a):b.isArray(a)?a.slice():a}function s(c,a,f){if(b.isUndefined(a)){if(!b.isUndefined(c))return i(void 0,c,f)}else return i(c,a,f)}function o(c,a){if(!b.isUndefined(a))return i(void 0,a)}function r(c,a){if(b.isUndefined(a)){if(!b.isUndefined(c))return i(void 0,c)}else return i(void 0,a)}function u(c,a,f){if(f in e)return i(c,a);if(f in t)return i(void 0,c)}const l={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:u,headers:(c,a)=>s(vu(c),vu(a),!0)};return b.forEach(Object.keys(Object.assign({},t,e)),function(a){const f=l[a]||s,h=f(t[a],e[a],a);b.isUndefined(h)&&f!==u||(n[a]=h)}),n}const _u="1.6.0",Bs={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Bs[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});const yu={};Bs.transitional=function(e,n,i){function s(o,r){return"[Axios v"+_u+"] Transitional option '"+o+"'"+r+(i?". "+i:"")}return(o,r,u)=>{if(e===!1)throw new nt(s(r," has been removed"+(n?" in "+n:"")),nt.ERR_DEPRECATED);return n&&!yu[r]&&(yu[r]=!0,console.warn(s(r," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(o,r,u):!0}};function Hd(t,e,n){if(typeof t!="object")throw new nt("options must be an object",nt.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let s=i.length;for(;s-- >0;){const o=i[s],r=e[o];if(r){const u=t[o],l=u===void 0||r(u,o,t);if(l!==!0)throw new nt("option "+o+" must be "+l,nt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new nt("Unknown option "+o,nt.ERR_BAD_OPTION)}}const Ns={assertOptions:Hd,validators:Bs},$e=Ns.validators;class Ri{constructor(e){this.defaults=e,this.interceptors={request:new uu,response:new uu}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=rn(this.defaults,n);const{transitional:i,paramsSerializer:s,headers:o}=n;i!==void 0&&Ns.assertOptions(i,{silentJSONParsing:$e.transitional($e.boolean),forcedJSONParsing:$e.transitional($e.boolean),clarifyTimeoutError:$e.transitional($e.boolean)},!1),s!=null&&(b.isFunction(s)?n.paramsSerializer={serialize:s}:Ns.assertOptions(s,{encode:$e.function,serialize:$e.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r=o&&b.merge(o.common,o[n.method]);o&&b.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=ge.concat(r,o);const u=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,u.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let a,f=0,h;if(!l){const g=[gu.bind(this),void 0];for(g.unshift.apply(g,u),g.push.apply(g,c),h=g.length,a=Promise.resolve(n);f<h;)a=a.then(g[f++],g[f++]);return a}h=u.length;let y=n;for(f=0;f<h;){const g=u[f++],v=u[f++];try{y=g(y)}catch(M){v.call(this,M);break}}try{a=gu.call(this,y)}catch(g){return Promise.reject(g)}for(f=0,h=c.length;f<h;)a=a.then(c[f++],c[f++]);return a}getUri(e){e=rn(this.defaults,e);const n=fu(e.baseURL,e.url);return ru(n,e.params,e.paramsSerializer)}}b.forEach(["delete","get","head","options"],function(e){Ri.prototype[e]=function(n,i){return this.request(rn(i||{},{method:e,url:n,data:(i||{}).data}))}}),b.forEach(["post","put","patch"],function(e){function n(i){return function(o,r,u){return this.request(rn(u||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}Ri.prototype[e]=n(),Ri.prototype[e+"Form"]=n(!0)});const Ai=Ri;class Fs{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const i=this;this.promise.then(s=>{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](s);i._listeners=null}),this.promise.then=s=>{let o;const r=new Promise(u=>{i.subscribe(u),o=u}).then(s);return r.cancel=function(){i.unsubscribe(o)},r},e(function(o,r,u){i.reason||(i.reason=new An(o,r,u),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Fs(function(s){e=s}),cancel:e}}}const Bd=Fs;function Nd(t){return function(n){return t.apply(null,n)}}function Fd(t){return b.isObject(t)&&t.isAxiosError===!0}const Ds={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ds).forEach(([t,e])=>{Ds[e]=t});const Dd=Ds;function bu(t){const e=new Ai(t),n=Wr(Ai.prototype.request,e);return b.extend(n,Ai.prototype,e,{allOwnKeys:!0}),b.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return bu(rn(t,s))},n}const xt=bu(As);xt.Axios=Ai,xt.CanceledError=An,xt.CancelToken=Bd,xt.isCancel=du,xt.VERSION=_u,xt.toFormData=$i,xt.AxiosError=nt,xt.Cancel=xt.CanceledError,xt.all=function(e){return Promise.all(e)},xt.spread=Nd,xt.isAxiosError=Fd,xt.mergeConfig=rn,xt.AxiosHeaders=ge,xt.formToJSON=t=>au(b.isHTMLForm(t)?new FormData(t):t),xt.getAdapter=mu.getAdapter,xt.HttpStatusCode=Dd,xt.default=xt;const jd=xt,Pn="https://api.tiun.live/live_api",bt="ICtrpjbkxZkZjNH2L2hYnkuooyhqFjTvywXpFK_1",js="https://my.tiun.app",Me="false",un="de",ln="false",Vd="v4_20240809_4",Nt="true",At=jd.create({baseURL:Pn,withCredentials:!0,headers:{}});At.interceptors.response.use(function(t){var n;const e=(n=t.data)==null?void 0:n.newState;return e&&localStorage.setItem("tiun_state",e),t}),At.interceptors.request.use(function(t){const e=localStorage.getItem("tiun_state");return e&&(t.headers["X-TIUN-STATE"]=e),ln.toLowerCase()==="true"&&(t.headers["X-SNIPPET-PREVIEW"]="true"),t},function(t){return Promise.reject(t)});const wu=async t=>{const e=await At.post(`/v1/snippets/${bt}/sessions/rating`,{rating:t});return e==null?void 0:e.data},Ud=async()=>{const t=await At.patch(`/v1/snippets/${bt}/sessions/rating/seen`);return t==null?void 0:t.data},Wd=async()=>{const t=await At.get(`/v1/snippets/${bt}/sessions/rating/reason`,{params:{language:un}});return t==null?void 0:t.data},Zd=async t=>{const e=await At.post(`/v1/snippets/${bt}/sessions/rating/reason`,{reason:t});return e==null?void 0:e.data},xu={active:"4eb1d4ce-ec68-49f7-b3d7-ce9f172a84cb",inactive:"de6c0a23-b259-4c4f-aad9-c0eab912c301"},zd=async(t,e)=>{const n=await At.post(`/v3/snippets/${bt}/modules`,{language:un,appearance:"Light",version:Vd,currentUrl:window.location.href,contentId:t,contentType:e});return n==null?void 0:n.data},Cu=async t=>{const e=await At.get(`/v1/snippets/${bt}/info`,{params:{referrer:t}});return e==null?void 0:e.data},qd=async(t,e)=>{const n=await At.patch(`/v3/snippets/${bt}/sessions`,{currentUrl:window.location.href,contentId:t,contentType:e==="active"?xu.active:e==="inactive"?xu.inactive:void 0});return n==null?void 0:n.data},Kd=async()=>{const t=await At.delete(`/v2/snippets/${bt}/sessions`);return t==null?void 0:t.data},Pi=async()=>{const t=await At.post(`/v2/snippets/${bt}/sessions`,{currentUrl:window.location.href});return t==null?void 0:t.data},Jd=async()=>{const t=await At.delete(`/v1/snippets/${bt}/payment_method`);return t==null?void 0:t.data};function Vs(t){return so()?(fl(t),!0):!1}function Oi(t){return typeof t=="function"?t():gt(t)}const Us=typeof window<"u"&&typeof document<"u",Qd=Object.prototype.toString,Yd=t=>Qd.call(t)==="[object Object]",ku=()=>+Date.now(),On=()=>{},Xd=Gd();function Gd(){var t;return Us&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function tf(t,e){function n(...i){return new Promise((s,o)=>{Promise.resolve(t(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(s).catch(o)})}return n}function ef(t,e=!0,n=!0,i=!1){let s=0,o,r=!0,u=On,l;const c=()=>{o&&(clearTimeout(o),o=void 0,u(),u=On)};return f=>{const h=Oi(t),y=Date.now()-s,g=()=>l=f();return c(),h<=0?(s=Date.now(),g()):(y>h&&(n||!r)?(s=Date.now(),g()):e&&(l=new Promise((v,M)=>{u=i?M:v,o=setTimeout(()=>{s=Date.now(),r=!0,v(g()),c()},Math.max(0,h-y))})),!n&&!o&&(o=setTimeout(()=>r=!0,h)),r=!1,l)}}function nf(t,e=!0){wi()?yn(t):e?t():Ro(t)}function ue(t){var e;const n=Oi(t);return(e=n==null?void 0:n.$el)!=null?e:n}const Ve=Us?window:void 0,sf=Us?window.document:void 0;function Ue(...t){let e,n,i,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,i,s]=t,e=Ve):[e,n,i,s]=t,!e)return On;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const o=[],r=()=>{o.forEach(a=>a()),o.length=0},u=(a,f,h,y)=>(a.addEventListener(f,h,y),()=>a.removeEventListener(f,h,y)),l=Dt(()=>[ue(e),Oi(s)],([a,f])=>{if(r(),!a)return;const h=Yd(f)?{...f}:f;o.push(...n.flatMap(y=>i.map(g=>u(a,y,g,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),r()};return Vs(c),c}let Su=!1;function Eu(t,e,n={}){const{window:i=Ve,ignore:s=[],capture:o=!0,detectIframe:r=!1}=n;if(!i)return;Xd&&!Su&&(Su=!0,Array.from(i.document.body.children).forEach(h=>h.addEventListener("click",On)),i.document.documentElement.addEventListener("click",On));let u=!0;const l=h=>s.some(y=>{if(typeof y=="string")return Array.from(i.document.querySelectorAll(y)).some(g=>g===h.target||h.composedPath().includes(g));{const g=ue(y);return g&&(h.target===g||h.composedPath().includes(g))}}),a=[Ue(i,"click",h=>{const y=ue(t);if(!(!y||y===h.target||h.composedPath().includes(y))){if(h.detail===0&&(u=!l(h)),!u){u=!0;return}e(h)}},{passive:!0,capture:o}),Ue(i,"pointerdown",h=>{const y=ue(t);y&&(u=!h.composedPath().includes(y)&&!l(h))},{passive:!0}),r&&Ue(i,"blur",h=>{setTimeout(()=>{var y;const g=ue(t);((y=i.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!(g!=null&&g.contains(i.document.activeElement))&&e(h)},0)})].filter(Boolean);return()=>a.forEach(h=>h())}function of(){const t=z(!1);return wi()&&yn(()=>{t.value=!0}),t}function Tu(t){const e=of();return dt(()=>(e.value,!!t()))}function rf(t,e={}){const{window:n=Ve}=e,i=Tu(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=z(!1),r=c=>{o.value=c.matches},u=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",r):s.removeListener(r))},l=ta(()=>{i.value&&(u(),s=n.matchMedia(Oi(t)),"addEventListener"in s?s.addEventListener("change",r):s.addListener(r),o.value=s.matches)});return Vs(()=>{l(),u(),s=void 0}),o}function uf(t={}){const{document:e=sf}=t;if(!e)return z("visible");const n=z(e.visibilityState);return Ue(e,"visibilitychange",()=>{n.value=e.visibilityState}),n}function lf(t,e,n={}){const{window:i=Ve,...s}=n;let o;const r=Tu(()=>i&&"ResizeObserver"in i),u=()=>{o&&(o.disconnect(),o=void 0)},l=dt(()=>Array.isArray(t)?t.map(f=>ue(f)):[ue(t)]),c=Dt(l,f=>{if(u(),r.value&&i){o=new ResizeObserver(e);for(const h of f)h&&o.observe(h,s)}},{immediate:!0,flush:"post",deep:!0}),a=()=>{u(),c()};return Vs(a),{isSupported:r,stop:a}}function af(t,e={width:0,height:0},n={}){const{window:i=Ve,box:s="content-box"}=n,o=dt(()=>{var l,c;return(c=(l=ue(t))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),r=z(e.width),u=z(e.height);return lf(t,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(i&&o.value){const a=ue(t);if(a){const f=i.getComputedStyle(a);r.value=Number.parseFloat(f.width),u.value=Number.parseFloat(f.height)}}else if(c){const a=Array.isArray(c)?c:[c];r.value=a.reduce((f,{inlineSize:h})=>f+h,0),u.value=a.reduce((f,{blockSize:h})=>f+h,0)}else r.value=l.contentRect.width,u.value=l.contentRect.height},n),Dt(()=>ue(t),l=>{r.value=l?e.width:0,u.value=l?e.height:0}),{width:r,height:u}}const cf=["mousemove","mousedown","resize","keydown","touchstart","wheel"],df=6e4;function ff(t=df,e={}){const{initialState:n=!1,listenForVisibilityChange:i=!0,events:s=cf,window:o=Ve,eventFilter:r=ef(50)}=e,u=z(n),l=z(ku());let c;const a=()=>{u.value=!1,clearTimeout(c),c=setTimeout(()=>u.value=!0,t)},f=tf(r,()=>{l.value=ku(),a()});if(o){const h=o.document;for(const y of s)Ue(o,y,f,{passive:!0});i&&Ue(h,"visibilitychange",()=>{h.hidden||f()}),a()}return{idle:u,lastActive:l,reset:a}}function pf(t={}){const{window:e=Ve,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=t,r=z(n),u=z(i),l=()=>{e&&(o?(r.value=e.innerWidth,u.value=e.innerHeight):(r.value=e.document.documentElement.clientWidth,u.value=e.document.documentElement.clientHeight))};if(l(),nf(l),Ue("resize",l,{passive:!0}),s){const c=rf("(orientation: portrait)");Dt(c,()=>l())}return{width:r,height:u}}const Li=fn({snackbars:[]});let hf=0;function mf(t){const e=hf++;Li.snackbars.push({...t,id:e}),t.duration!==0&&setTimeout(()=>$u(e),t.duration||3e3)}function $u(t){const e=Li.snackbars.findIndex(n=>n.id===t);e!==-1&&Li.snackbars.splice(e,1)}function Mu(){return{...Mo(Li),createSnackbar:mf,closeSnackbar:$u}}const gf={class:"tiun-flex tiun-gap-4 tiun-items-center"},vf={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"tiun-h-5 tiun-w-5 !tiun-fill-white tiun-flex-shrink-0"},_f=[m("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z","clip-rule":"evenodd"},null,-1)],yf={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"tiun-h-5 tiun-w-5 !tiun-fill-white tiun-flex-shrink-0"},bf=[m("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)],wf=["innerHTML"],xf=[m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"tiun-h-5 tiun-w-5 !tiun-fill-white tiun-flex-shrink-0"},[m("path",{"fill-rule":"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z","clip-rule":"evenodd"})],-1)],Cf=St({__name:"Snackbar",props:{snackbar:{type:Object,required:!0}},emits:["destroySnackbar"],setup(t){const e=dt(()=>Nt==="true");function n(i){switch(i){case"success":return"tiun-bg-teal-500 tiun-text-white";case"error":return"tiun-bg-pink-600 tiun-text-white";case"warning":return"tiun-bg-yellow-500 tiun-text-white";default:return"tiun-bg-teal-500 tiun-text-white"}}return(i,s)=>(w(),S("article",{class:V([[n(t.snackbar.state),{"tiun-rounded-xl":e.value}],"tiun-z-[999999] tiun-text-[14px] tiun-fixed tiun-top-4 tiun-right-4 tiun-text-white tiun-p-4 tiun-shadow-2xl tiun-max-w-sm tiun-mx-auto tiun-flex tiun-items-center tiun-gap-4 tiun-justify-between"])},[m("div",gf,[t.snackbar.state==="success"?(w(),S("svg",vf,_f)):at("",!0),t.snackbar.state==="error"||t.snackbar.state==="warning"?(w(),S("svg",yf,bf)):at("",!0),m("p",{innerHTML:t.snackbar.text,class:"!tiun-text-[14px] !tiun-text-white"},null,8,wf),t.snackbar.action?(w(),S("button",{key:2,type:"button",class:"tiun-underline",onClick:s[0]||(s[0]=()=>{var o;(o=t.snackbar.action)==null||o.action(),i.$emit("destroySnackbar")})},ut(t.snackbar.action.label),1)):at("",!0)]),m("button",{type:"button",class:"tiun-outline-none focus:tiun-outline-none",onClick:s[1]||(s[1]=o=>i.$emit("destroySnackbar"))},xf)],2))}}),kf={class:"mx-4"},Sf=St({__name:"Snackbars",setup(t){const{snackbars:e,closeSnackbar:n}=Mu();return(i,s)=>(w(),S("div",kf,[tt(_c,{name:"tiun-snackbar",class:"tiun-transition-all",tag:"div"},{default:Ut(()=>[(w(!0),S(yt,null,wn(gt(e),o=>(w(),zt(Cf,{key:o.id,class:"tiun-transition-opacity tiun-duration-200",snackbar:o,onDestroySnackbar:r=>gt(n)(o.id)},null,8,["snackbar","onDestroySnackbar"]))),128))]),_:1})]))}}),fh="",an=(t,e)=>{const n=t.__vccOpts||t;for(const[i,s]of e)n[i]=s;return n},Ef=an(Sf,[["__scopeId","data-v-ed4fb0f6"]]);var Hi=(t=>(t.AppMain="app_main",t.AppTransactions="app_transactions",t.PartnersPage="partners_page",t))(Hi||{});function Tf(){const t="tiun_referrer";function e(l){return Object.values(Hi).includes(l)}const n=()=>new URLSearchParams(window.location.search),i=()=>{const l=window.location.hash,c=l.indexOf("?");if(c===-1)return new URLSearchParams;const a=l.slice(c+1);return new URLSearchParams(a)},s=l=>{const c=new URL(window.location.toString());c.searchParams.delete(l),window.history.replaceState({},"",c.toString())},o=l=>{const c=new URL(window.location.toString()),a=c.hash,f=a.indexOf("?");if(f!==-1){const h=new URLSearchParams(a.slice(f+1));h.delete(l);const y=a.slice(0,f)+(h.toString()?`?${h.toString()}`:"");c.hash=y,window.history.replaceState({},"",c.toString())}};function r(){let l=null,c=n();return c.has(t)?(l=c.get(t),s(t)):(c=i(),c.has(t)&&(l=c.get(t),o(t))),l?u(l):null}function u(l){return e(l)&&Object.keys(Hi).find(a=>Hi[a]===l)||null}return{getReferrerQueryParam:r,getReferrerTypeFromQueryParam:u}}const Bi=t=>(ri("data-v-212464e5"),t=t(),ui(),t),$f={class:"tiun-relative tiun-w-[40px] tiun-h-[40px] tiun-flex tiun-items-center tiun-flex-shrink-0 tiun-justify-center"},Mf={key:0,class:"tiun-absolute tiun-text-[8px] tiun-font-bold"},If=["width","height"],Rf=Bi(()=>m("path",{d:"M40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20ZM4.99099 20C4.99099 28.2893 11.7108 35.009 20 35.009C28.2893 35.009 35.009 28.2893 35.009 20C35.009 11.7108 28.2893 4.99099 20 4.99099C11.7108 4.99099 4.99099 11.7108 4.99099 20Z",fill:"#10B981"},null,-1)),Af=Bi(()=>m("path",{d:"M20 2.49549C20 1.11727 18.8784 -0.016052 17.5109 0.155472C14.2961 0.558701 11.2141 1.7389 8.53857 3.60989C5.17844 5.95959 2.62168 9.28526 1.21459 13.1364C-0.192503 16.9876 -0.381936 21.1782 0.67195 25.1407C1.72583 29.1031 3.97211 32.6459 7.10653 35.2892C10.241 37.9324 14.1121 39.5485 18.1955 39.9184C22.279 40.2884 26.3775 39.3943 29.9359 37.3574C33.4943 35.3204 36.3407 32.239 38.0895 28.5305C39.4821 25.5775 40.1251 22.3405 39.9799 19.1038C39.9182 17.7269 38.6118 16.8127 37.2533 17.0454C35.8949 17.278 35.0044 18.5717 35.0089 19.95C35.0163 22.17 34.531 24.375 33.5753 26.4017C32.2629 29.1848 30.1268 31.4972 27.4564 33.0258C24.786 34.5545 21.7103 35.2254 18.6458 34.9478C15.5814 34.6702 12.6763 33.4574 10.3241 31.4738C7.97186 29.4901 6.28614 26.8314 5.49525 23.8578C4.70436 20.8842 4.84652 17.7394 5.90248 14.8492C6.95843 11.9591 8.87715 9.46337 11.3988 7.70003C13.2351 6.41592 15.3265 5.5654 17.5159 5.19796C18.8751 4.96985 20 3.87371 20 2.49549Z",fill:"url(#paint0_radial_3286_9385)"},null,-1)),Pf={x:"50",y:"75","font-size":"10","font-weight":"500","text-anchor":"middle","alignment-baseline":"middle"},Of=Bi(()=>m("defs",null,[m("radialGradient",{id:"paint0_radial_3286_9385",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(19) rotate(44.1931) scale(25.1048)"},[m("stop",{"stop-color":"#047857"}),m("stop",{offset:"1","stop-color":"#14B8A6","stop-opacity":"0.42"})])],-1)),Lf={key:2,viewBox:"0 0 40 40",class:"tiun-block tiun-w-full tiun-h-full tiun-transform tiun--rotate-90"},Hf=Bi(()=>m("circle",{cx:"20",cy:"20",r:"17.5",fill:"none",class:"tiun-stroke-current tiun-text-gray-300","stroke-width":"5"},null,-1)),Bf=["stroke-dashoffset"],Nf=St({__name:"RadialProgressBar",props:{maxValue:{type:Number,required:!0},progress:{type:Number,default:0},isFree:{type:Boolean,default:!1}},setup(t){const e=t,n=2*Math.PI*17.5,i=dt(()=>{const o=e.progress/100;return n*(1-o)}),{width:s}=pf();return(o,r)=>(w(),S("div",$f,[t.isFree?(w(),S("span",Mf,"FREE")):at("",!0),t.isFree?(w(),S("svg",{key:1,width:gt(s)<=640?40:50,height:gt(s)<=640?40:50,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Rf,Af,m("text",Pf,ut(t.maxValue),1),Of],8,If)):(w(),S("svg",Lf,[Hf,m("circle",{cx:"20",cy:"20",r:"17.5",fill:"none",stroke:"#10b981",class:"tiun-transition-all tiun-duration-700 tiun-ease-in-out","stroke-width":"5","stroke-linecap":"round","stroke-dasharray":n,"stroke-dashoffset":i.value},null,8,Bf)]))]))}}),ph="",Ff=an(Nf,[["__scopeId","data-v-212464e5"]]);function Df(t){return t===0?"0.00":!t||isNaN(t)?"":t.toLocaleString("de-CH",{useGrouping:!0,minimumFractionDigits:2})}function Ws(t,e){if(!t)return"";const n=t.unit||"CHF",i=t.divisor||1,s=t.value||0,o=Df(Math.round(s/i*100)/100);switch(n){case"CHF":return e?`${o}`:`CHF ${o}`;case"Credit":return o.toString();case"%":return`${o}%`;default:return e?o:`${n} ${o}`}}function jf(t){if(!t)return 0;const e=t.divisor||1,n=t.value||0;return Math.round(n/e*100)/100}const Ni=t=>(ri("data-v-fa5a6eb8"),t=t(),ui(),t),Vf={class:"tiun-absolute tiun-backface-hidden tiun-px-4 tiun-py-6 tiun-w-full tiun-h-full"},Uf={class:"tiun-grid tiun-justify-center tiun-text-center tiun-gap-4 tiun-content-center"},Wf=["src"],Zf={key:0,class:"tiun-10 tiun-grid tiun-gap-2"},zf={key:1},qf={class:"tiun-text-sm tiun-font-bold dark:tiun-text-white tiun-text-black"},Kf={key:0,class:"tiun-text-xs tiun-font-medium tiun-text-gray-400"},Jf={key:0,class:"tiun-flex tiun-items-center tiun-justify-between"},Qf={class:"tiun-flex-shrink-0 tiun-flex tiun-items-center tiun-divide-x dark:tiun-divide-gray-600 tiun-divide-gray-200"},Yf={class:"tiun-grid tiun-gap-2 tiun-pr-2"},Xf={key:1,class:"tiun-text-gray-400 tiun-text-xs tiun-font-medium"},Gf={class:"tiun-text-sm tiun-font-semibold tiun-text-black dark:tiun-text-white"},t1={class:"tiun-grid tiun-gap-2 tiun-px-2"},e1=Ni(()=>m("span",{class:"tiun-relative tiun-flex tiun-h-5 tiun-w-5 tiun-items-center"},[m("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[m("path",{d:"M6.83325 8H6.33325V6H5.83325M6.33325 4H6.33825M10.8333 6C10.8333 8.48528 8.81853 10.5 6.33325 10.5C3.84797 10.5 1.83325 8.48528 1.83325 6C1.83325 3.51472 3.84797 1.5 6.33325 1.5C8.81853 1.5 10.8333 3.51472 10.8333 6Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})])],-1)),n1={class:"tiun-text-sm tiun-font-semibold"},i1={class:"tiun-text-emerald-500"},s1={class:"tiun-text-gray-400"},o1={key:0,class:"tiun-h-10 tiun-w-10 tiun-rounded-full dark:tiun-bg-gray-700 tiun-bg-gray-100 tiun-animate-pulse"},r1={class:"tiun-flex tiun-items-center tiun-justify-between tiun-pt-2 tiun-pb-6 dark:tiun-text-white tiun-text-black"},u1=Ni(()=>m("div",{class:"tiun-flex tiun-items-center tiun-gap-2"},[m("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"tiun-h-5 tiun-w-5"},[m("path",{d:"M6.83325 8H6.33325V6H5.83325M6.33325 4H6.33825M10.8333 6C10.8333 8.48528 8.81853 10.5 6.33325 10.5C3.84797 10.5 1.83325 8.48528 1.83325 6C1.83325 3.51472 3.84797 1.5 6.33325 1.5C8.81853 1.5 10.8333 3.51472 10.8333 6Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})]),m("span",{class:"tiun-text-sm tiun-font-semibold"},"Monatslimite")],-1)),l1=[Ni(()=>m("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"tiun-h-5 tiun-w-5"},[m("path",{d:"M4 12L12 4M4 4L12 12",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],a1=Ni(()=>m("p",{class:"tiun-text-xs dark:tiun-text-gray-300 tiun-text-gray-500 tiun-font-medium"}," Das monatliche Limit schützt dich vor zu hohen Ausgaben. Sobald du das Limit erreichst, kannst du den Dienst für den Rest des Monats kostenlos nutzen. ",-1)),c1=St({__name:"ProviderCard",props:{providerInfo:{type:Object,default:void 0},snippetInfo:{type:Object,default:void 0},loading:{type:Boolean,default:!1}},setup(t){const e=z(null),n=z(!1),i=dt(()=>Nt==="true");Eu(e,()=>n.value=!1);function s(){n.value=!0}return(o,r)=>{var u,l,c,a,f,h,y,g,v,M,D,O,L,R,Y,U,Z,P,Q,j,rt,A,it,ft;return w(),S("div",{class:V(["tiun-bg-white dark:tiun-bg-gray-800 tiun-shadow-sm tiun-group tiun-perspective tiun-w-full tiun-min-w-[283px] tiun-h-[222px] tiun-border dark:tiun-border-none",{"tiun-rounded-xl":i.value}]),ref_key:"target",ref:e},[m("div",{class:V(["tiun-relative tiun-preserve-3d tiun-w-full tiun-h-full tiun-duration-500",{"tiun-my-rotate-y-180":n.value}])},[m("div",Vf,[m("div",{class:V(["tiun-grid tiun-gap-6 tiun-h-full",{"tiun-rounded-xl":i.value}])},[m("div",Uf,[(u=t.snippetInfo)!=null&&u.providerLogoUrl?(w(),S("img",{key:0,height:"48",width:"48",class:V(["tiun-flex-shrink-0 tiun-w-12 tiun-h-12 tiun-mx-auto tiun-border tiun-border-gray-100",{"tiun-rounded-md":i.value}]),src:t.snippetInfo.providerLogoUrl},null,10,Wf)):(w(),S("div",{key:1,class:V([{"tiun-animate-puls":t.loading,"tiun-rounded-md":i.value},"tiun-h-12 tiun-w-12 dark:tiun-bg-gray-700 tiun-bg-gray-100 tiun-flex tiun-items-center tiun-mx-auto tiun-justify-center"])},null,2)),m("div",null,[t.loading?(w(),S("div",Zf,[m("span",{class:V(["tiun-h-[16px] tiun-flex tiun-mx-auto dark:tiun-bg-gray-700 tiun-bg-gray-100 tiun-animate-pulse tiun-w-16",{"tiun-rounded-md":i.value}])},null,2),m("span",{class:V(["tiun-h-[16px] tiun-flex tiun-mx-auto dark:tiun-bg-gray-700 tiun-bg-gray-100 tiun-animate-pulse tiun-w-64",{"tiun-rounded-md":i.value}])},null,2)])):(w(),S("div",zf,[m("div",qf,ut((l=t.snippetInfo)==null?void 0:l.providerName),1),(c=t.providerInfo)!=null&&c.guestCheckoutPreview?(w(),S("div",Kf,ut((f=(a=t.providerInfo)==null?void 0:a.guestCheckoutPreview)==null?void 0:f.remainingMinutes)+" "+ut(((y=(h=t.providerInfo)==null?void 0:h.guestCheckoutPreview)==null?void 0:y.remainingMinutes)===1?"Minute übrig":"Minuten übrig"),1)):at("",!0)]))])]),(g=t.providerInfo)!=null&&g.guestCheckoutPreview?at("",!0):(w(),S("div",Jf,[m("div",Qf,[m("div",Yf,[t.loading?(w(),S("span",{key:0,class:V(["tiun-h-[15px] tiun-w-16 dark:tiun-bg-gray-700 tiun-bg-gray-100 tiun-animate-pulse",{"tiun-rounded-md":i.value}])},null,2)):(w(),S("span",Xf," Diese Session ")),m("div",Gf,ut(gt(Ws)((D=(M=(v=t.providerInfo)==null?void 0:v.tiunWalletPreview)==null?void 0:M.sessionSpend)==null?void 0:D.currencyEstimate)||" "),1)]),m("div",t1,[t.loading?(w(),S("span",{key:0,class:V(["tiun-h-[15px] tiun-w-16 dark:tiun-bg-gray-700 tiun-bg-gray-100 tiun-animate-pulse",{"tiun-rounded-md":i.value}])},null,2)):(w(),S("button",{key:1,class:"tiun-outline-none focus:!tiun-outline-none focus-visible:!tiun-outline-1 tiun-rounded-xl focus-visible:!tiun-outline-black dark:focus-visible:!tiun-outline-white !tiun-text-gray-400 !tiun-text-xs tiun-group !tiun-font-medium tiun-flex tiun-items-center tiun-gap-1 dark:hover:!tiun-text-gray-300 hover:!tiun-text-gray-500 tiun-transition-colors disabled:hover:tiun-text-gray-400",onClick:s},[Ne(" Monatslimite "),e1])),m("div",n1,[m("span",i1,ut(gt(Ws)((R=(L=(O=t.providerInfo)==null?void 0:O.tiunWalletPreview)==null?void 0:L.monthlySpend)==null?void 0:R.currencyEstimate)||" "),1),m("span",s1," / "+ut(gt(Ws)((Z=(U=(Y=t.providerInfo)==null?void 0:Y.tiunWalletPreview)==null?void 0:U.monthlyLimit)==null?void 0:Z.currencyEstimate,!0)||" "),1)])])]),t.loading?(w(),S("div",o1)):(w(),zt(Ff,{key:1,isFree:(Q=(P=t.providerInfo)==null?void 0:P.tiunWalletPreview)==null?void 0:Q.isFree,progress:(rt=(j=t.providerInfo)==null?void 0:j.tiunWalletPreview)==null?void 0:rt.monthlyCapUsagePercentage,maxValue:gt(jf)((ft=(it=(A=t.providerInfo)==null?void 0:A.tiunWalletPreview)==null?void 0:it.monthlyLimit)==null?void 0:ft.credits)},null,8,["isFree","progress","maxValue"]))]))],2)]),m("div",{class:V(["tiun-absolute tiun-z-20 tiun-my-rotate-y-180 tiun-backface-hidden tiun-px-4 tiun-py-6 tiun-w-full tiun-h-full tiun-overflow-hidden",{"tiun-rounded-xl":i.value}])},[m("div",r1,[u1,m("button",{type:"button",onClick:r[0]||(r[0]=Tt=>n.value=!1),class:"focus:!tiun-outline-none tiun-outline-none focus-visible:!tiun-outline-1 tiun-rounded-xl focus-visible:!tiun-outline-black dark:focus-visible:!tiun-outline-white dark:!tiun-text-white !tiun-text-gray-600 tiun-hover tiun-transition-all dark:hover:!tiun-opacity-80 hover:!tiun-text-black"},l1)]),a1],2)],2)],2)}}}),mh="",d1=an(c1,[["__scopeId","data-v-fa5a6eb8"]]),f1={class:"tiun-flex tiun-gap-2 tiun-items-center tiun-w-full"},p1=["src"],h1={class:"tiun-text-xs tiun-gap-2 tiun-flex tiun-justify-between tiun-w-full tiun-font-medium dark:tiun-text-white tiun-text-gray-700"},m1={key:0},g1={key:0,class:"tiun-flex tiun-items-center tiun-gap-1"},v1={key:0,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_1=[m("rect",{width:"18",height:"18",rx:"9",fill:"#D1FAE5"},null,-1),m("path",{d:"M6.375 9.375L7.875 10.875L11.625 7.125",stroke:"#059669","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)],y1={key:1,class:"tiun-relative"},b1=["aria-expanded"],w1=[m("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"dark:tiun-text-white tiun-text-gray-500 hover:tiun-text-black dark:hover:!tiun-text-opacity-80 tiun-transition-colors"},[m("path",{d:"M9 3.75L9 3.7575M9 9L9 9.0075M9 14.25L9 14.2575M9 4.5C8.58579 4.5 8.25 4.16421 8.25 3.75C8.25 3.33579 8.58579 3 9 3C9.41421 3 9.75 3.33579 9.75 3.75C9.75 4.16421 9.41421 4.5 9 4.5ZM9 9.75C8.58579 9.75 8.25 9.41421 8.25 9C8.25 8.58579 8.58579 8.25 9 8.25C9.41421 8.25 9.75 8.58579 9.75 9C9.75 9.41421 9.41421 9.75 9 9.75ZM9 15C8.58579 15 8.25 14.6642 8.25 14.25C8.25 13.8358 8.58579 13.5 9 13.5C9.41421 13.5 9.75 13.8358 9.75 14.25C9.75 14.6642 9.41421 15 9 15Z",stroke:"currentColor","stroke-width":"0.75","stroke-linecap":"round","stroke-linejoin":"round"})],-1)],x1=[m("span",null,"Zahlungsmittel entfernen",-1),m("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[m("path",{d:"M8.25 12L5.25 9M5.25 9L8.25 6M5.25 9L15.75 9M12 12V12.75C12 13.9926 10.9926 15 9.75 15H4.5C3.25736 15 2.25 13.9926 2.25 12.75V5.25C2.25 4.00736 3.25736 3 4.5 3H9.75C10.9926 3 12 4.00736 12 5.25V6",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)],Iu=St({__name:"PaymentMethod",props:{snippetInfo:{type:Object,default:void 0}},emits:["disconnectWallet"],setup(t){const e=z(!1),n=dt(()=>Nt==="true");function i(){e.value=!e.value}function s(){e.value&&(e.value=!1)}return(o,r)=>{var u,l,c,a,f,h,y,g,v,M;return w(),S("div",{class:V(["tiun-flex tiun-justify-between tiun-items-center tiun-border dark:tiun-border-none tiun-shadow-sm tiun-p-4 tiun-bg-white dark:tiun-bg-gray-800",{"tiun-rounded-xl":n.value}])},[m("div",f1,[(u=t.snippetInfo)!=null&&u.paymentMethodIconUrl?(w(),S("img",{key:0,src:t.snippetInfo.paymentMethodIconUrl},null,8,p1)):at("",!0),m("div",h1,[(l=t.snippetInfo)!=null&&l.maskedCardNumber?(w(),S("div",m1," **"+ut(t.snippetInfo.maskedCardNumber),1)):at("",!0),Ne(" "+ut(((c=t.snippetInfo)==null?void 0:c.paymentMethod)==="TiunWallet"||((a=t.snippetInfo)==null?void 0:a.paymentMethod)==="None"?"connected":"Gast-Checkout"),1)])]),(f=t.snippetInfo)!=null&&f.showPaymentMethodDisconnect||((h=t.snippetInfo)==null?void 0:h.paymentMethod)==="TiunWallet"||((y=t.snippetInfo)==null?void 0:y.paymentMethod)==="None"?(w(),S("div",g1,[((g=t.snippetInfo)==null?void 0:g.paymentMethod)==="TiunWallet"||((v=t.snippetInfo)==null?void 0:v.paymentMethod)==="None"?(w(),S("svg",v1,_1)):at("",!0),(M=t.snippetInfo)!=null&&M.showPaymentMethodDisconnect?(w(),S("div",y1,[m("button",{onClick:i,onBlur:s,class:"tiun-p-2 tiun-flex tiun-group tiun-rounded-full focus:tiun-outline-none focus-visible:tiun-outline-1 focus-visible:tiun-outline-black dark:focus-visible:tiun-outline-white","aria-haspopup":"true","aria-expanded":e.value},w1,40,b1),tt(he,{name:"tiun-scale"},{default:Ut(()=>[ne(m("div",{class:V(["tiun-absolute tiun-min-w-[227px] tiun-group tiun-transition-colors tiun-right-0 tiun-mt-2 tiun-bg-white dark:tiun-bg-gray-700 dark:tiun-border-none tiun-shadow-sm tiun-border tiun-z-50",{"tiun-rounded-xl":n.value}]),role:"menu"},[m("button",{class:"tiun-flex tiun-items-center tiun-justify-between tiun-gap-2 !tiun-px-4 !tiun-py-4 tiun-w-full !tiun-text-xs !tiun-font-medium tiun-transition-all dark:!tiun-text-white group-hover:!tiun-text-black !tiun-text-gray-700 dark:group-hover:!tiun-opacity-90 dark:group-hover:!tiun-text-white",role:"menuitem",onClick:r[0]||(r[0]=D=>o.$emit("disconnectWallet"))},x1)],2),[[Ar,e.value]])]),_:1})])):at("",!0)])):at("",!0)],2)}}}),C1={class:"tiun-w-full tiun-pt-4 tiun-grid tiun-gap-2"},k1=m("div",{class:"tiun-text-lg tiun-font-bold dark:tiun-text-white tiun-text-black"}," Übersicht ",-1),S1={class:"tiun-w-full tiun-flex tiun-justify-center"},E1=[m("div",{class:"tiunBadgeButtonText"},"Session ansehen",-1)],T1=[m("div",{class:"tiunBadgeButtonText"},"Beenden",-1),m("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",width:"1.2em",height:"1.2em",stroke:"currentColor",class:"tiun-w-4 tiun-h-4 tiun-flex-shrink-0"},[m("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}),m("path",{"stroke-linecap":"round","stroke-linejoin":"round",fill:"currentColor",d:"M9 9.563C9 9.252 9.252 9 9.563 9h4.874c.311 0 .563.252.563.563v4.874c0 .311-.252.563-.563.563H9.564A.562.562 0 019 14.437V9.564z"})],-1)],$1=St({__name:"Badge",props:{snippetSession:{type:Object,default:null},snippetInfo:{type:Object,default:void 0}},emits:["removeMethod","endSession","goToActiveSession"],setup(t,{emit:e}){const n=e,i=t,{snippetSession:s}=Mo(i),o=dt(()=>Nt==="true");function r(){n("removeMethod")}return(u,l)=>{var a,f,h;const c=fi("ripple");return w(),S(yt,null,[m("div",C1,[k1,tt(Iu,{snippetInfo:t.snippetInfo,onDisconnectWallet:r},null,8,["snippetInfo"])]),m("div",S1,[tt(d1,{providerInfo:gt(s).preview,snippetInfo:t.snippetInfo},null,8,["providerInfo","snippetInfo"])]),m("div",{class:V(["tiun-self-stretch tiun-items-start tiun-gap-2 tiun-inline-flex",(a=gt(s).preview)!=null&&a.showViewSessionButton?"tiun-justify-start":"tiun-justify-center"])},[(f=gt(s).preview)!=null&&f.showViewSessionButton?ne((w(),S("button",{key:0,type:"button",onClick:l[0]||(l[0]=y=>u.$emit("goToActiveSession",y)),class:V(["tiunBadgeSecondaryButton tiun-w-full",{"tiun-rounded-xl":o.value}])},E1,2)),[[c]]):at("",!0),ne((w(),S("button",{type:"button",class:V(["tiunBadgeTertiaryButton",{"!tiun-min-w-[8rem] tiun-w-full":!((h=gt(s).preview)!=null&&h.showViewSessionButton),"tiun-rounded-xl":o.value}]),onClick:l[1]||(l[1]=y=>u.$emit("endSession"))},T1,2)),[[c]])],2)],64)}}}),M1={key:0,class:"tiun-relative tiun-h-full tiun-w-full tiun-text-white"},I1=m("span",{class:"tiun-absolute tiun-right-6 tiun-max-w-[212px] tiun-bottom-4 tiun-text-right tiun-text-base tiun-font-bold"},[Ne(" Starte deine nächste Session mit einem Klick "),m("img",{src:"https://assets.tiun.dev/snippets/emojis/index_pointing_down.svg",class:"!tiun-inline"})],-1),R1={key:0,class:"tiun-inset-0 tiun-absolute tiun-w-full tiun-flex tiun-flex-col tiun-h-full tiun-justify-center tiun-items-center tiun-gap-6"},A1=[m("div",{class:"tiun-text-sm tiun-font-bold dark:tiun-text-white tiun-text-black"}," Danke ",-1),m("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"tiun-h-10 tiun-w-10"},[m("rect",{width:"18",height:"18",rx:"9",fill:"#D1FAE5"}),m("path",{d:"M6.375 9.375L7.875 10.875L11.625 7.125",stroke:"#059669","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)],P1={key:1,class:"tiun-absolute tiun-inset-4 tiun-flex tiun-flex-col tiun-gap-10"},O1={class:"tiun-text-right"},L1=[m("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"tiun-h-5 tiun-w-5"},[m("path",{d:"M4 12L12 4M4 4L12 12",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)],H1=m("div",{class:"tiun-text-sm tiun-font-bold tiun-pb-4 tiun-text-center dark:tiun-text-white tiun-text-black"}," Wie war deine Erfahrung? ",-1),B1={class:"tiun-flex tiun-items-center tiun-gap-2 tiun-w-full tiun-justify-between"},N1=["onClick"],F1=["src"],D1={class:"tiun-text-xxs tiun-leading-4 dark:tiun-text-gray-300 tiun-text-gray-700 tiun-transition-colors tiun-font-semibold dark:group-hover:tiun-text-white group-hover:tiun-text-black"},j1={key:2,class:"tiun-absolute tiun-inset-4 tiun-flex tiun-flex-col tiun-gap-4"},V1={class:"tiun-text-right"},U1=[m("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"tiun-h-5 tiun-w-5"},[m("path",{d:"M4 12L12 4M4 4L12 12",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)],W1=m("div",{class:"tiun-text-sm tiun-font-bold tiun-pb-4 tiun-text-center dark:tiun-text-white tiun-text-black"}," Warum diese Bewertung? ",-1),Z1={class:"tiun-flex tiun-flex-wrap tiun-gap-2 tiun-gap-y-4 tiun-w-full tiun-justify-center"},z1=["onClick"],q1={class:"!tiun-text-xs !tiun-leading-4 dark:group-hover:tiun-bg-gray-700 group-hover:tiun-bg-gray-100 tiun-rounded-full dark:tiun-text-gray-100 !tiun-px-2.5 !tiun-p-2 tiun-text-gray-600 tiun-transition-colors !tiun-font-medium dark:group-hover:tiun-text-white group-hover:tiun-text-black"},K1=St({__name:"Rating",props:{showRating:{type:Boolean,default:!1}},emits:["feedbackSubmitted"],setup(t,{emit:e}){const n=e,i=[{name:"Schrecklich",value:"Horrible",img:"https://assets.tiun.dev/snippets/emojis/rating_1_horrible.png"},{name:"Schlecht",value:"Bad",img:"https://assets.tiun.dev/snippets/emojis/rating_2_bad.png"},{name:"Naja",value:"Meh",img:"https://assets.tiun.dev/snippets/emojis/rating_3_meh.png"},{name:"Gut",value:"Good",img:"https://assets.tiun.dev/snippets/emojis/rating_4_good.png"},{name:"Super",value:"Awesome",img:"https://assets.tiun.dev/snippets/emojis/rating_5_awesome.png"}],s=z("idle"),o=dt(()=>Nt==="true"),r=z([]),u=z();s.value="idle";const l=dt(()=>{var g,v;return((v=(g=r.value)==null?void 0:g.find(M=>M.rating===u.value))==null?void 0:v.localizedReasons)||[]});async function c(g){var D,O;const v=(O=(D=r.value)==null?void 0:D.find(L=>L.rating===g))==null?void 0:O.localizedReasons,M=v&&(v==null?void 0:v.length)>0;s.value=M?"active":"done",u.value=g,await wu(g),M||setTimeout(()=>a(),1500)}function a(){n("feedbackSubmitted")}async function f(){await wu("None"),a()}async function h(){try{const g=await Wd();r.value=g.ratingReasons}catch{}}async function y(g){try{s.value="done",await Zd(g),setTimeout(()=>a(),1500)}catch{console.log("Error while trying to post feedback.")}}return h(),(g,v)=>(w(),zt(he,{name:"tiun-fade"},{default:Ut(()=>[t.showRating?(w(),S("div",{key:1,class:V(["tiun-p-4 tiun-relative tiun-border dark:tiun-border-none tiun-shadow-sm tiun-h-full dark:tiun-bg-gray-800 tiun-bg-white",{"tiun-rounded-xl":o.value}])},[tt(he,{name:"tiun-scale"},{default:Ut(()=>[s.value==="done"?(w(),S("div",R1,A1)):s.value==="idle"?(w(),S("div",P1,[m("div",null,[m("div",O1,[m("button",{type:"button",class:"tiun-rounded-xl tiun-outline-none focus-visible:tiun-outline-1 dark:focus-visible:tiun-outline-white focus-visible:tiun-outline-black !tiun-text-gray-600 dark:!tiun-text-white tiun-hover tiun-transition-colors dark:hover:!tiun-text-opacity-80 hover:!tiun-text-black",onClick:v[0]||(v[0]=M=>f())},L1)]),H1]),m("section",B1,[(w(),S(yt,null,wn(i,M=>m("button",{key:M.name,onClick:D=>c(M.value),type:"button",class:"tiun-outline-none tiun-rounded-sm focus-visible:tiun-outline-1 focus-visible:tiun-outline-black dark:focus-visible:tiun-outline-white tiun-grid tiun-gap-2 tiun-justify-items-center tiun-w-[2.25em] tiun-group"},[m("img",{src:M.img,class:"tiun-h-6 tiun-w-6"},null,8,F1),m("div",D1,ut(M.name),1)],8,N1)),64))])])):(w(),S("div",j1,[m("div",null,[m("div",V1,[m("button",{type:"button",class:"tiun-rounded-xl focus:!tiun-outline-none tiun-outline-none focus-visible:!tiun-outline-1 dark:focus-visible:!tiun-outline-white focus-visible:!tiun-outline-black !tiun-text-gray-600 dark:!tiun-text-white tiun-hover tiun-transition-colors dark:hover:!tiun-text-opacity-80 hover:!tiun-text-black",onClick:v[1]||(v[1]=M=>a())},U1)]),W1]),m("section",Z1,[(w(!0),S(yt,null,wn(l.value,M=>(w(),S("button",{key:M,onClick:D=>y(M),type:"button",class:"tiun-border tiun-rounded-full tiun-border-gray-300 tiun-group"},[m("div",q1,ut(M),1)],8,z1))),128))])]))]),_:1})],2)):(w(),S("div",M1,[m("img",{src:"https://assets.tiun.dev/images/snippet/welcome-back-v1.svg",class:V(["tiun-w-full !tiun-h-full",{"tiun-rounded-xl":o.value}])},null,2),I1]))]),_:1}))}}),J1=async t=>{const e=await At.post(`/v2/snippets/${bt}/interactions/info`,void 0,{params:{type:t}});return e==null?void 0:e.data},ve=async t=>{const e=await At.post(`/v2/snippets/${bt}/interactions/module`,void 0,{params:{type:t}});return e==null?void 0:e.data},Fi=async t=>{const e=await At.post(`/v2/snippets/${bt}/interactions/hint`,void 0,{params:{type:t}});return e==null?void 0:e.data},Ru=async t=>{const e=await At.post(`/v2/snippets/${bt}/interactions/badge/start_session`,void 0,{params:{type:t}});return e==null?void 0:e.data},Zs=async t=>{const e=await At.post(`/v2/snippets/${bt}/interactions/badge/active_session`,void 0,{params:{type:t}});return e==null?void 0:e.data},Q1={class:"tiun-w-full tiun-pt-4 tiun-grid tiun-gap-2"},Y1={class:"tiun-text-lg tiun-font-bold dark:tiun-text-white tiun-text-black"},X1={key:0},G1={key:1,class:"tiun-flex tiun-items-center tiun-gap-1"},tp=m("img",{src:"https://assets.tiun.dev/snippets/emojis/waving_hand.svg"},null,-1),ep={class:"tiun-relative tiun-h-[237px] tiun-w-[283px]"},np={class:"tiun-items-center tiun-gap-2 tiun-flex tiun-w-full"},ip=["href"],sp=[m("div",{class:"tiunBadgeButtonText"},"Zurück zu tiun",-1)],op=["disabled"],rp={key:0,"aria-label":"Loading...",role:"status"},up=[m("svg",{class:"tiun-animate-spin tiun-h-4 tiun-w-4 !tiun-fill-white",viewBox:"3 3 18 18"},[m("path",{class:"tiun-opacity-20",d:"M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z"}),m("path",{d:"M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z"})],-1)],lp={key:1,class:"tiun-flex tiun-items-center tiun-gap-1"},ap=[Ha('<div class="tiunBadgeButtonText">Starten</div><svg width="1.2em" height="1.2em" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" class="tiun-w-4 tiun-h-4 dark:tiun-text-white tiun-text-white tiun-flex-shrink-0"><path d="M12.2933 9.30662L9.62892 7.53039C9.07512 7.16119 8.33333 7.55818 8.33333 8.22376V11.7762C8.33333 12.4418 9.07512 12.8388 9.62892 12.4696L12.2933 10.6934C12.788 10.3635 12.788 9.63648 12.2933 9.30662Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"></path><path d="M17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85786 2.5 10 2.5C14.1421 2.5 17.5 5.85786 17.5 10Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"></path><path d="M12.2933 9.4176L9.6289 7.64136C9.0751 7.27216 8.33331 7.66916 8.33331 8.33473V11.8872C8.33331 12.5528 9.0751 12.9498 9.6289 12.5806L12.2933 10.8043C12.788 10.4745 12.788 9.74745 12.2933 9.4176Z" fill="currentColor"></path></svg>',2)],Au=St({__name:"StartSessionBadge",props:{snippetInfo:{type:Object,default:void 0}},emits:["feedbackSubmitted","removeMethod"],setup(t,{emit:e}){const n=e,i=t,s=z(!1),o=dt(()=>ln==="true"),r=dt(()=>Nt==="true");async function u(){var v,M;if(o.value||!localStorage.getItem("tiun_state"))return;s.value=!0;const f=await Pi();if(!f.sessionId){s.value=!1;return}const y=((v=i.snippetInfo)==null?void 0:v.paymentMethod)==="TiunWallet"||((M=i.snippetInfo)==null?void 0:M.paymentMethod)==="None"?"TiunWallet":"GuestCheckout",g=`${Pn}/v1/snippets/${bt}/sessions/${f.sessionId}/connect/url?checkoutType=${y}&language=${un}`;window.location.href=g}function l(){Ru("GoToTiunV1")}function c(){n("removeMethod")}return(a,f)=>{var y,g,v;const h=fi("ripple");return w(),S(yt,null,[m("div",Q1,[m("div",Y1,[(y=t.snippetInfo)!=null&&y.showRating?(w(),S("span",X1,"Session beendet")):(w(),S("span",G1,[Ne(" Willkommen zurück "),tp]))]),tt(Iu,{snippetInfo:t.snippetInfo,onDisconnectWallet:c},null,8,["snippetInfo"])]),m("div",ep,[tt(K1,{showRating:(g=t.snippetInfo)==null?void 0:g.showRating,onFeedbackSubmitted:f[0]||(f[0]=M=>a.$emit("feedbackSubmitted"))},null,8,["showRating"])]),m("div",np,[ne((w(),S("a",{href:((v=t.snippetInfo)==null?void 0:v.goBackUrl)||"#",class:V(["tiunBadgeSecondaryButton tiun-w-full !tiun-border-b-[1px]",{"tiun-rounded-xl":r.value}]),onClick:l},sp,10,ip)),[[h]]),ne((w(),S("button",{type:"button",class:V(["tiunBadgePrimaryButton tiun-w-full",{"tiun-rounded-xl":r.value}]),onClick:u,disabled:s.value},[s.value?(w(),S("div",rp,up)):(w(),S("div",lp,ap))],10,op)),[[h]])])],64)}}}),Ln=fn({paywallState:"idle"}),cp={class:"tiun-h-6 tiun-w-6 tiun-flex tiun-items-center tiun-justify-center"},dp=[m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",fill:"white",d:"M15.7071 16.2071C15.3166 16.5976 14.6834 16.5976 14.2929 16.2071L9.29289 11.2071C8.90237 10.8166 8.90237 10.1834 9.2929 9.79289L14.2929 4.79289C14.6834 4.40237 15.3166 4.40237 15.7071 4.79289C16.0976 5.18342 16.0976 5.81658 15.7071 6.20711L11.4142 10.5L15.7071 14.7929C16.0976 15.1834 16.0976 15.8166 15.7071 16.2071ZM9.70711 16.2071C9.31658 16.5976 8.68342 16.5976 8.29289 16.2071L3.29289 11.2071C2.90237 10.8166 2.90237 10.1834 3.29289 9.79289L8.2929 4.79289C8.68342 4.40237 9.31658 4.40237 9.70711 4.79289C10.0976 5.18342 10.0976 5.81658 9.70711 6.20711L5.41421 10.5L9.70711 14.7929C10.0976 15.1834 10.0976 15.8166 9.70711 16.2071Z"},null,-1)],fp={class:"tiun-self-stretch tiun-justify-between tiun-items-center tiun-inline-flex"},pp=m("div",{class:"dark:tiun-text-white tiun-text-black tiun-text-base tiun-font-extrabold"}," tiun. ",-1),hp={class:"tiun-text-center tiun-text-white tiun-text-xs tiun-font-medium tiun-leading-none"},mp={key:1,class:"tiun-px-2.5 tiun-py-1 tiun-rounded-[10px] tiun-justify-center tiun-items-center tiun-flex tiun-bg-indigo-600"},gp=[m("div",{class:"tiun-text-center tiun-text-white tiun-text-xs tiun-font-medium tiun-leading-none"}," Session starten ",-1)],zs=St({__name:"BadgeWrapper",props:{variant:{type:String,default:"default"},openDetails:{type:Boolean,default:!1},showRating:{type:Boolean,default:!1}},emits:["handleOpenDetails","handleMouseEnter","handleMouseLeave","updateWidth"],setup(t,{emit:e}){const n=t,i=e,s=/Mobi/.test(window.navigator.userAgent),o=z(),r=dt(()=>n.variant==="default"?"tiun-bg-indigo-600":n.variant==="active"?"tiun-bg-teal-600":"tiun-bg-gray-400"),u=dt(()=>Nt==="true"),{width:l}=af(o);return Dt(l,c=>{i("updateWidth",c)}),(c,a)=>(w(),S("div",{class:"tiun-flex",onMouseleave:a[3]||(a[3]=f=>gt(s)?void 0:c.$emit("handleMouseLeave"))},[m("button",{type:"button",class:"tiun-flex tiun-group tiun-outline-none focus:tiun-outline-none tiun-h-fit",onClick:a[0]||(a[0]=f=>c.$emit("handleOpenDetails")),onMouseenter:a[1]||(a[1]=f=>gt(s)?void 0:c.$emit("handleMouseEnter"))},[m("div",{class:V(["tiun-px-1.5 tiun-py-4 tiun-grid tiun-gap-4 tiun-shadow-md",[r.value,{"tiun-rounded-l-xl":u.value}]])},[m("div",cp,[(w(),S("svg",{style:Je(t.openDetails?"transform: rotate(180deg);":""),width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"tiun-h-6 tiun-w-6 tiun-transition-all tiun-duration-300"},dp,4))])],2)],32),m("div",{ref_key:"statusDetails",ref:o,onMouseenter:a[2]||(a[2]=f=>gt(s)||!t.openDetails?void 0:c.$emit("handleMouseEnter"))},[m("div",{class:V(["tiun-p-4 tiun-transition-shadow tiun-duration-300 tiun-border-t tiun-border-b tiun-border-l tiun-border-gray-100 dark:tiun-border-gray-700 dark:tiun-bg-gray-900 tiun-bg-white tiun-flex-col tiun-justify-start tiun-items-start tiun-gap-4 tiun-inline-flex",[t.openDetails?"tiun-shadow-2xl":"tiun-shadow-none",{"tiun-rounded-bl-xl":u.value}]])},[m("div",fp,[pp,t.variant!=="default"?(w(),S("div",{key:0,class:V(["tiun-px-2.5 tiun-py-1 tiun-rounded-[10px] tiun-justify-center tiun-items-center tiun-flex",r.value])},[m("div",hp,ut(t.variant==="active"?"Session aktiv":"Session pausiert"),1)],2)):t.showRating?at("",!0):(w(),S("div",mp,gp))]),pa(c.$slots,"default")],2)],544)],32))}}),vp=St({__name:"App",setup(t){const e=z(!1),n=z(""),i=z(null);let s=0;const o=B=>{n.value=`-${B}px`},r=z(),u=uf(),{idle:l}=ff(18e4),c=Mu(),a=z(),f=z({contentId:void 0,lastSessionStatus:void 0}),{getReferrerQueryParam:h}=Tf(),y=z(),g=z(!1),v=z("AllGood"),M=z(!1),D=z("text"),O=z(),L=z(null),R=dt(()=>{var B,q;return((B=r.value)==null?void 0:B.sessionStatus)==="Active"||((q=r.value)==null?void 0:q.sessionStatus)==="Paused"});Eu(L,()=>Ct());async function Y(B){var q;await A(),B.preventDefault(),await Zs("ViewSessionV1"),window.location.href=`${js}?activeSession=${(q=r.value)==null?void 0:q.sessionId}`}function U(){c.createSnackbar({state:"success",text:"Session erfolgreich beendet"})}async function Z(){var q,d;if(!localStorage.getItem("tiun_state")){Tt(),U();return}try{e.value=!1,await Zs("EndSessionV1");const p=await Kd();return Tt(),U(),await j(),((q=O.value)!=null&&q.showBadge||(d=O.value)!=null&&d.openRating)&&(e.value=!0),p}catch{c.createSnackbar({state:"error",text:Q()})}}async function P(){Ct(),await Jd(),await j()}function Q(){var B;return`Ein unerwarteter Fehler trat auf. Bitte Session auf <a href="${js}?activeSession=${(B=r.value)==null?void 0:B.sessionId}" class="tiun-underline">tiun</a> beenden.`}async function j(){var d,p;const B=h(),q=localStorage.getItem("tiun_state");if(q||Tt(),!(!B&&!q))return O.value=await Cu(B),(d=O.value)!=null&&d.openRating&&(e.value=!0),((p=O.value)==null?void 0:p.sessionStatus)==="Invalid"?Tt():it(),O.value}async function rt(){M.value=!0,await j(),ot("TIUN_SNIPPET_INITIALIZED")}yn(()=>{rt(),document.addEventListener("touchstart",Fn),document.addEventListener("touchend",_e)});async function A(){var d;const B=++s;i.value=B;const q=await qd(f.value.contentId,f.value.lastSessionStatus);return i.value!==B||(r.value=q,M.value=!1,q.sessionStatus==="Invalid"?((q==null?void 0:q.creditsStatus)==="NoCredits"&&v.value!=="NoCredits"&&(e.value=!1,v.value=q==null?void 0:q.creditsStatus,c.createSnackbar({state:"error",text:"Guthaben leer",duration:5e3})),Tt(),await j(),(d=O.value)!=null&&d.showBadge&&(e.value=!0)):q.sessionStatus==="Locked"&&a.value!=="showPaywall"?(ot("TIUN_SHOW_PAYWALL"),Ln.paywallState="show",a.value="showPaywall"):(q.sessionStatus==="Active"||q.sessionStatus==="Paused")&&a.value!=="hidePaywall"&&(ot("TIUN_HIDE_PAYWALL",r.value.sessionId),Ln.paywallState="hide",a.value="hidePaywall",j())),q}function it(){g.value||(A(),y.value=setInterval(()=>{A()},3e3),g.value=!0)}function ft(){clearInterval(y.value),g.value=!1}function Tt(){ot("TIUN_SHOW_PAYWALL"),Ln.paywallState="show",a.value="showPaywall",r.value=void 0,M.value=!1,g.value&&ft()}function lt(){var B;(B=r.value)!=null&&B.sessionStatus&&(r.value.sessionStatus="Paused")}function ot(B,q){window.postMessage({type:"TIUN_EVENT",content:B,sessionId:q},window.location.origin)}function X(){e.value=!0,R.value?Lt():Jt()}function Lt(){Zs("OpenBadgeV1")}function Jt(){Ru("OpenBadgeV1")}async function Ct(){var B;e.value=!1,(B=O.value)!=null&&B.openRating&&await Ud()}const $t=z(),Ie=()=>{$t.value&&(clearTimeout($t.value),$t.value=null),e.value||X()},We=()=>{$t.value=setTimeout(()=>{Ct()},300)};Dt(()=>{var B;return(B=r.value)==null?void 0:B.creditsStatus},()=>{var B,q,d,p;((B=r.value)==null?void 0:B.creditsStatus)==="BalanceLow"&&v.value!=="BalanceLow"?(v.value=(q=r.value)==null?void 0:q.creditsStatus,c.createSnackbar({state:"warning",text:"Guthaben knapp",duration:5e3,action:{label:"Jetzt aufladen",action:()=>{window.location.href=`${js}?topup=true`}}})):((d=r.value)==null?void 0:d.creditsStatus)==="MonthlyLimitHit"&&v.value!=="MonthlyLimitHit"&&(v.value=(p=r.value)==null?void 0:p.creditsStatus,c.createSnackbar({state:"warning",text:"Monatliches Limit erreicht. <br/> Der Rest des Monats ist kostenlos.",duration:5e3}))},{immediate:!0}),Dt(()=>u.value,()=>{var B;u.value==="hidden"&&D.value==="text"?(ft(),((B=r.value)==null?void 0:B.sessionStatus)==="Active"&&lt()):j()}),Dt(()=>l.value,()=>{var B;l.value&&D.value==="text"?(ft(),((B=r.value)==null?void 0:B.sessionStatus)==="Active"&&lt()):l.value||j()});function ae(B){var q,d,p;if(B.origin===window.location.origin&&((q=B.data)==null?void 0:q.type)==="TIUN_EVENT"&&(((d=B.data)==null?void 0:d.content)==="TIUN_CHECK_STATUS"&&j(),((p=B.data)==null?void 0:p.content)==="TIUN_UPDATE_CONTENT")){if(f.value.contentId=B.data.contentId,B.data.mediaType==="audio"&&(D.value=B.data.mediaType),B.data.contentType&&B.data.contentType===f.value.lastSessionStatus||(f.value.lastSessionStatus=B.data.contentType,!localStorage.getItem("tiun_state")||!g.value))return;A()}}window.addEventListener("message",ae),bn(()=>{window.removeEventListener("message",ae),document.removeEventListener("touchstart",Fn),document.removeEventListener("touchend",_e)});const vt=z({x:0,y:0}),Mt=z({x:0,y:0}),Fn=B=>{vt.value={x:B.touches[0].clientX,y:B.touches[0].clientY}},_e=B=>{if(Mt.value={x:B.changedTouches[0].clientX,y:B.changedTouches[0].clientY},Math.abs(Mt.value.x-vt.value.x)>0||Math.abs(Mt.value.y-vt.value.y)>0){const d=L.value;if(d){const p=d.getBoundingClientRect();(vt.value.x<p.left||vt.value.x>p.right||vt.value.y<p.top||vt.value.y>p.bottom||Mt.value.x<p.left||Mt.value.x>p.right||Mt.value.y<p.top||Mt.value.y>p.bottom)&&Ct()}}};return(B,q)=>{var d,p,_,x,C,E;return w(),S(yt,null,[tt(Ef),R.value||(d=O.value)!=null&&d.showBadge?(w(),S("div",{key:0,class:"tiun-fixed tiun-z-[99999] tiun-transition-transform tiun-duration-300",style:Je([`right: ${n.value}`,e.value?`transform: translateX(${n.value})`:"",`top: ${(p=O.value)!=null&&p.badgeTopOffsetInPixels&&((_=O.value)==null?void 0:_.badgeTopOffsetInPixels)>=0?O.value.badgeTopOffsetInPixels+"px":"74px"}`]),ref_key:"badgeRef",ref:L},[tt(he,{mode:"out-in",appear:(x=O.value)==null?void 0:x.animateBadge,"enter-active-class":"tiun-transition tiun-ease-out tiun-duration-300","enter-from-class":"tiun-transform tiun-translate-x-full tiun-opacity-0","enter-to-class":"tiun-transform tiun-translate-x-0 tiun-opacity-100","leave-active-class":"tiun-transition tiun-ease-in tiun-duration-200","leave-from-class":"tiun-transform tiun-translate-x-0 tiun-opacity-100","leave-to-class":"tiun-transform tiun-translate-x-full tiun-opacity-0"},{default:Ut(()=>{var I;return[!R.value&&!M.value&&((I=O.value)!=null&&I.showBadge)?(w(),zt(zs,{key:0,variant:"default",openDetails:e.value,showRating:O.value.showRating,onHandleOpenDetails:q[0]||(q[0]=T=>e.value?Ct():X()),onHandleMouseEnter:Ie,onHandleMouseLeave:We,onUpdateWidth:o},{default:Ut(()=>[tt(Au,{snippetInfo:O.value,onFeedbackSubmitted:j,onRemoveMethod:P},null,8,["snippetInfo"])]),_:1},8,["openDetails","showRating"])):at("",!0)]}),_:1},8,["appear"]),R.value?(w(),zt(zs,{key:0,variant:((C=r.value)==null?void 0:C.sessionStatus)==="Active"||gt(ln)==="true"?"active":"paused",openDetails:e.value,showRating:(E=O.value)==null?void 0:E.showRating,onHandleOpenDetails:q[1]||(q[1]=I=>e.value?Ct():X()),onHandleMouseEnter:Ie,onHandleMouseLeave:We,onUpdateWidth:o},{default:Ut(()=>[tt($1,{snippetSession:r.value,snippetInfo:O.value,onGoToActiveSession:Y,onEndSession:Z,onRemoveMethod:P},null,8,["snippetSession","snippetInfo"])]),_:1},8,["variant","openDetails","showRating"])):at("",!0)],4)):at("",!0)],64)}}}),Ph="",_p=80,Pu=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34});function Ou(t,e){t.style.transform=e,t.style.webkitTransform=e}function qs(t,e){t.style.opacity=e.toString()}function Ks(t){return t.constructor.name==="TouchEvent"}function Lu(t){return t.constructor.name==="KeyboardEvent"}const yp=(t,e,n={})=>{let i=0,s=0;if(!Lu(t)){const f=e.getBoundingClientRect(),h=Ks(t)?t.touches[t.touches.length-1]:t;i=h.clientX-f.left,s=h.clientY-f.top}let o=0,r=.3;e._ripple&&e._ripple.circle?(r=.15,o=e.clientWidth/2,o=n.center?o:o+Math.sqrt((i-o)**2+(s-o)**2)/4):o=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const u=`${(e.clientWidth-o*2)/2}px`,l=`${(e.clientHeight-o*2)/2}px`,c=n.center?u:`${i-o}px`,a=n.center?l:`${s-o}px`;return{radius:o,scale:r,x:c,y:a,centerX:u,centerY:l}},Di={show(t,e,n={}){if(!e._ripple||!e._ripple.enabled)return;const i=document.createElement("span"),s=document.createElement("span");i.appendChild(s),i.className="v-ripple__container",n.class&&(i.className+=` ${n.class}`);const{radius:o,scale:r,x:u,y:l,centerX:c,centerY:a}=yp(t,e,n),f=`${o*2}px`;s.className="v-ripple__animation",s.style.width=f,s.style.height=f,e.appendChild(i);const h=window.getComputedStyle(e);h&&h.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),s.classList.add("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--visible"),Ou(s,`translate(${u}, ${l}) scale3d(${r},${r},${r})`),qs(s,0),s.dataset.activated=String(performance.now()),setTimeout(()=>{s.classList.remove("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--in"),Ou(s,`translate(${c}, ${a}) scale3d(1,1,1)`),qs(s,.1)},0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const n=e[e.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const i=performance.now()-Number(n.dataset.activated),s=Math.max(250-i,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),qs(n,0),setTimeout(()=>{t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),n.parentNode&&t.removeChild(n.parentNode)},300)},s)}};function Hu(t){return typeof t>"u"||!!t}function Hn(t){const e={},n=t.currentTarget;if(!(!n||!n._ripple||n._ripple.touched)){if(Ks(t))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(e.center=n._ripple.centered||Lu(t),n._ripple.class&&(e.class=n._ripple.class),Ks(t)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Di.show(t,n,e)},n._ripple.showTimer=window.setTimeout(()=>{n&&n._ripple&&n._ripple.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},_p)}else Di.show(t,n,e)}}function Kt(t){const e=t.currentTarget;if(!(!e||!e._ripple)){if(window.clearTimeout(e._ripple.showTimer),t.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=setTimeout(()=>{Kt(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),Di.hide(e)}}function Bu(t){const e=t.currentTarget;!e||!e._ripple||(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Js=!1;function Nu(t){!Js&&(t.keyCode===Pu.enter||t.keyCode===Pu.space)&&(Js=!0,Hn(t))}function Fu(t){Js=!1,Kt(t)}function Du(t,e,n){const i=Hu(e.value);i||Di.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=i;const s=e.value||{};s.center&&(t._ripple.centered=!0),s.class&&(t._ripple.class=e.value.class),s.circle&&(t._ripple.circle=s.circle),i&&!n?(t.addEventListener("touchstart",Hn,{passive:!0}),t.addEventListener("touchend",Kt,{passive:!0}),t.addEventListener("touchmove",Bu,{passive:!0}),t.addEventListener("touchcancel",Kt),t.addEventListener("mousedown",Hn),t.addEventListener("mouseup",Kt),t.addEventListener("mouseleave",Kt),t.addEventListener("keydown",Nu),t.addEventListener("keyup",Fu),t.addEventListener("dragstart",Kt,{passive:!0})):!i&&n&&ju(t)}function ju(t){t.removeEventListener("mousedown",Hn),t.removeEventListener("touchstart",Hn),t.removeEventListener("touchend",Kt),t.removeEventListener("touchmove",Bu),t.removeEventListener("touchcancel",Kt),t.removeEventListener("mouseup",Kt),t.removeEventListener("mouseleave",Kt),t.removeEventListener("keydown",Nu),t.removeEventListener("keyup",Fu),t.removeEventListener("dragstart",Kt)}function bp(t,e,n){Du(t,e,!1)}function wp(t){delete t._ripple,ju(t)}function xp(t,e){if(e.value===e.oldValue)return;const n=Hu(e.oldValue);Du(t,e,n)}const Qs={unmounted:wp,mounted:bp,updated:xp},Cp={class:"tiun-grid"},kp={class:"tiun-font-bold tiun-text-black dark:tiun-text-white tiun-leading-[24px]"},Sp={key:0},Ep={key:1,class:"tiun-text-teal-600"},Tp={key:2},$p={class:"tiun-text-xs tiun-leading-[16px] tiun-font-medium tiun-text-gray-600 dark:tiun-text-gray-400"},Mp={class:"tiun-h-6 tiun-flex tiun-items-center tiun-gap-2 tiun-no-scrollbar tiun-always-stop tiun-snap-x tiun-snap-mandatory tiun-overflow-x-auto tiun-overflow-y-hidden"},Ip=["src"],Rp=St({__name:"PayPerMinuteModule",props:{data:{type:Object,required:!0},selected:{type:Boolean,default:!1},notSelectable:{type:Boolean,default:!1}},setup(t){const e=dt(()=>Nt==="true");return(n,i)=>(w(),S("button",{type:"button",onClick:i[0]||(i[0]=s=>n.$emit("select")),class:V([[t.notSelectable?"tiun-border-gray-300 dark:tiun-border-gray-700 !tiun-p-[16px] tiun-border hover:!tiun-border-gray-300 dark:hover:!tiun-border-gray-700":t.selected?"tiun-border-indigo-600  dark:tiun-border-indigo-400 !tiun-p-[15px] tiun-border-2 hover:!tiun-border-indigo-600 dark:hover:!tiun-border-indigo-400":"tiun-border-gray-300 dark:tiun-border-gray-700 !tiun-p-[16px] tiun-border hover:!tiun-border-gray-400 dark:hover:!tiun-border-gray-400 focus-visible:!tiun-outline-1 focus-visible:!tiun-outline-black  dark:focus-visible:!tiun-outline-white",{"tiun-rounded-xl":e.value}],"tiun-group !tiun-outline-none tiun-shadow-sm tiun-transition-colors tiun-h-[114px] tiun-text-left !tiun-bg-white dark:!tiun-bg-gray-700 tiun-border-solid tiun-grid tiun-gap-4"])},[m("div",Cp,[m("div",kp,[t.data.titleTextBefore?(w(),S("span",Sp,ut(t.data.titleTextBefore),1)):at("",!0),t.data.titleTextHighlight?(w(),S("span",Ep,ut(t.data.titleTextHighlight),1)):at("",!0),t.data.titleTextAfter?(w(),S("span",Tp,ut(t.data.titleTextAfter),1)):at("",!0)]),m("div",$p,ut(t.data.explanationLine),1)]),m("div",Mp,[(w(!0),S(yt,null,wn(t.data.paymentMethodImageUrls,(s,o)=>(w(),S("img",{key:o,src:s,height:"24",width:"48",class:"!tiun-h-full"},null,8,Ip))),128))])],2))}}),Ap={class:"tiun-grid"},Pp={class:"tiun-text-base tiun-text-indigo-600 dark:tiun-text-indigo-600 tiun-font-bold"},Op={class:"tiun-text-xs tiun-font-medium tiun-text-black dark:tiun-text-black"},Lp={class:"tiun-w-5 tiun-h-5 tiun-flex-shrink-0 group-hover:tiun-translate-x-1 tiun-transition-transform tiun-duration-300 tiun-ease-in-out",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hp=["fill"],Bp={class:"tiun-text-base tiun-text-indigo-600 dark:tiun-text-indigo-600 tiun-font-bold"},Np={class:"tiun-text-xs tiun-font-medium tiun-text-black dark:tiun-text-black"},Fp=St({__name:"FlexPayModule",props:{data:{type:Object,required:!0}},setup(t){const e=t;function n(){J1("WhatIsV1"),window.open(`${e.data.ctaUrl}`,"_blank")}const i=dt(()=>Nt==="true");return(s,o)=>t.data.ctaUrl?(w(),S("button",{key:0,type:"button",onClick:n,class:V(["tiunFlexPayCard tiun-group tiun-shadow-sm tiun-cursor-pointer active:!tiun-bg-indigo-200 tiun-transition-colors",{"tiun-rounded-xl":i.value}])},[m("div",Ap,[m("div",Pp,ut(t.data.title),1),m("div",Op,ut(t.data.explanation),1)]),(w(),S("svg",Lp,[m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.29289 14.7071C6.90237 14.3166 6.90237 13.6834 7.29289 13.2929L10.5858 10L7.29289 6.70711C6.90237 6.31658 6.90237 5.68342 7.29289 5.29289C7.68342 4.90237 8.31658 4.90237 8.70711 5.29289L12.7071 9.29289C13.0976 9.68342 13.0976 10.3166 12.7071 10.7071L8.70711 14.7071C8.31658 15.0976 7.68342 15.0976 7.29289 14.7071Z",fill:gt(Me)==="true"?"#4f46e5":"#4F46E5"},null,8,Hp)]))],2)):(w(),S("div",{key:1,class:V(["tiunFlexPayCard",{"tiun-rounded-xl":i.value}])},[m("div",null,[m("div",Bp,ut(t.data.title),1),m("div",Np,ut(t.data.explanation),1)])],2))}}),Oh="",Dp=an(Fp,[["__scopeId","data-v-e49d2f86"]]),jp={class:"tiun-flex tiun-items-center tiun-gap-2"},Vp=["src"],Up={class:"tiun-text-sm tiun-font-medium tiun-text-black dark:tiun-text-white"},Wp={class:"tiun-w-5 tiun-h-5 tiun-flex-shrink-0 group-hover:tiun-translate-x-1 tiun-transition-transform tiun-duration-300 tiun-ease-in-out",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zp=["fill"],zp=St({__name:"Hint",props:{data:{type:Object,required:!0}},setup(t){const e=dt(()=>Nt==="true");return(n,i)=>(w(),S("button",{type:"button",class:V(["tiun-h-[52px] !tiun-outline-none tiun-shadow-sm tiun-group !tiun-p-4 !tiun-bg-white dark:!tiun-bg-gray-700 tiun-border tiun-border-solid tiun-border-gray-300 hover:!tiun-border-gray-300 dark:tiun-border-gray-700 dark:hover:!tiun-border-gray-700 tiun-flex tiun-items-center tiun-gap-2 tiun-justify-between focus-visible:!tiun-outline-1 focus-visible:!tiun-outline-black",{"tiun-rounded-xl":e.value}])},[m("div",jp,[t.data.imageUrl?(w(),S("img",{key:0,src:t.data.imageUrl,width:"18",height:"20"},null,8,Vp)):at("",!0),m("p",Up,ut(t.data.textLine),1)]),(w(),S("svg",Wp,[m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.29289 14.7071C6.90237 14.3166 6.90237 13.6834 7.29289 13.2929L10.5858 10L7.29289 6.70711C6.90237 6.31658 6.90237 5.68342 7.29289 5.29289C7.68342 4.90237 8.31658 4.90237 8.70711 5.29289L12.7071 9.29289C13.0976 9.68342 13.0976 10.3166 12.7071 10.7071L8.70711 14.7071C8.31658 15.0976 7.68342 15.0976 7.29289 14.7071Z",fill:gt(Me)==="true"?"#818CF8":"#4F46E5"},null,8,Zp)]))],2))}}),qp=St({__name:"HintSkeleton",setup(t){const e=dt(()=>Nt==="true");return(n,i)=>(w(),S("div",{class:V(["tiun-h-[52px] tiun-animate-pulse tiun-p-4 tiun-bg-white dark:tiun-bg-gray-800 tiun-border tiun-border-solid tiun-border-gray-200 dark:tiun-border-gray-600 tiun-grid tiun-gap-4",{"tiun-rounded-xl":e.value}])},[m("div",{class:V(["tiun-h-4 tiun-w-full tiun-bg-gray-200 dark:tiun-bg-gray-600",{"tiun-rounded":e.value}])},null,2)],2))}}),Kp={class:"tiun-grid tiun-gap-2"},Vu=St({__name:"ModuleSkeleton",setup(t){const e=dt(()=>Nt==="true");return(n,i)=>(w(),S("div",{class:V(["tiun-h-[114px] tiun-animate-pulse tiun-p-4 tiun-bg-white dark:tiun-bg-gray-800 tiun-border tiun-border-solid tiun-border-gray-200 dark:tiun-border-gray-600 tiun-grid tiun-gap-4",{"tiun-rounded-xl":e.value}])},[m("div",Kp,[m("div",{class:V(["tiun-h-4 tiun-w-1/2 tiun-bg-gray-200 dark:tiun-bg-gray-600",{"tiun-rounded":e.value}])},null,2),m("div",{class:V(["tiun-h-4 tiun-bg-gray-200 dark:tiun-bg-gray-600",{"tiun-rounded":e.value}])},null,2)]),m("div",{class:V(["tiun-h-4 tiun-w-5/6 tiun-bg-gray-200 dark:tiun-bg-gray-600",{"tiun-rounded":e.value}])},null,2)],2))}}),Jp={class:"tiun-flex tiun-items-center tiun-gap-2"},Qp={width:"71",height:"30",viewBox:"0 0 71 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Yp=m("rect",{y:"0.888184",width:"28.2236",height:"28.2236",rx:"14.1118",fill:"#3730A3"},null,-1),Xp=m("path",{d:"M26.6362 14.3925C26.6365 14.4269 26.6366 14.4614 26.6366 14.4959C26.6366 21.4502 21.0297 27.4173 14.1133 27.4173C7.19689 27.4173 1.7548 21.815 1.59002 14.8255C1.59002 14.6241 1.58073 14.5989 1.59002 14.3999L2.24914 14.0703C3.64062 13.3438 6.3842 11.7293 9.16716 12.4558C10.6851 12.852 12.2031 13.8966 13.7211 14.9413C14.9861 15.8118 16.251 16.6823 17.516 17.1776C20.299 18.2673 23.0819 17.2113 25.8649 15.032C26.122 14.8306 26.3791 14.6169 26.6362 14.3925Z",fill:"#3B82F6"},null,-1),Gp=m("path",{d:"M1.59044 14.3925C1.59017 14.4269 1.59003 14.4614 1.59003 14.4959C1.59003 21.8151 7.19689 27.4174 14.1133 27.4174C21.0297 27.4174 26.6366 21.7798 26.6366 14.8255C26.6366 14.6242 26.6319 14.4239 26.6226 14.2249L26.0168 13.9087C24.6254 13.1822 21.8424 11.7294 19.0595 12.4558C17.5415 12.852 16.0235 13.8967 14.5055 14.9413C13.2406 15.8118 11.9756 16.6823 10.7106 17.1776C7.92765 18.2673 5.1447 17.2113 2.36175 15.032C2.10465 14.8307 1.84754 14.6169 1.59044 14.3925Z",fill:"#F9A8D4"},null,-1),t0=["fill"],e0=St({__name:"Logo",props:{title:{type:String,default:""}},setup(t){return(e,n)=>(w(),S("div",Jp,[(w(),S("svg",Qp,[Yp,Xp,Gp,m("path",{d:"M39.0225 11.8683V14.0153H33.2436V11.8683H39.0225ZM34.4543 9.67369H37.3705V18.1481C37.3705 18.3271 37.3984 18.4722 37.454 18.5835C37.5137 18.6908 37.5991 18.7684 37.7105 18.8161C37.8218 18.8598 37.955 18.8817 38.11 18.8817C38.2214 18.8817 38.3386 18.8717 38.4619 18.8519C38.5891 18.828 38.6845 18.8081 38.7482 18.7922L39.1895 20.8974C39.0503 20.9372 38.8535 20.9869 38.5991 21.0465C38.3486 21.1062 38.0484 21.1439 37.6985 21.1598C37.0147 21.1916 36.4283 21.1121 35.9392 20.9213C35.4542 20.7265 35.0824 20.4243 34.824 20.0148C34.5696 19.6053 34.4463 19.0904 34.4543 18.4702V9.67369ZM40.5104 21.0286V11.8683H43.4267V21.0286H40.5104ZM41.9715 10.8008C41.562 10.8008 41.2102 10.6657 40.916 10.3953C40.6218 10.121 40.4746 9.79097 40.4746 9.40532C40.4746 9.02364 40.6218 8.69762 40.916 8.42727C41.2102 8.15294 41.562 8.01577 41.9715 8.01577C42.385 8.01577 42.7369 8.15294 43.0271 8.42727C43.3213 8.69762 43.4684 9.02364 43.4684 9.40532C43.4684 9.79097 43.3213 10.121 43.0271 10.3953C42.7369 10.6657 42.385 10.8008 41.9715 10.8008ZM51.193 17.0747V11.8683H54.1033V21.0286H51.3242V19.323H51.2287C51.026 19.8836 50.6801 20.3289 50.1911 20.6589C49.706 20.9849 49.1196 21.1479 48.4318 21.1479C47.8076 21.1479 47.2589 21.0048 46.7858 20.7185C46.3126 20.4323 45.9449 20.0327 45.6825 19.5198C45.4201 19.0029 45.2869 18.3986 45.2829 17.7068V11.8683H48.1992V17.1343C48.2031 17.6313 48.3343 18.0229 48.5928 18.3092C48.8512 18.5954 49.2031 18.7386 49.6484 18.7386C49.9386 18.7386 50.199 18.6749 50.4296 18.5477C50.6642 18.4165 50.8491 18.2277 50.9842 17.9812C51.1234 17.7307 51.193 17.4285 51.193 17.0747ZM58.8757 15.8044V21.0286H55.9595V11.8683H58.7326V13.5501H58.834C59.0368 12.9895 59.3827 12.5502 59.8717 12.2321C60.3607 11.9101 60.9432 11.7491 61.619 11.7491C62.2631 11.7491 62.8217 11.8942 63.2949 12.1844C63.772 12.4707 64.1417 12.8722 64.4041 13.3891C64.6705 13.902 64.8017 14.5023 64.7977 15.1901V21.0286H61.8815V15.7627C61.8854 15.2537 61.7562 14.8562 61.4938 14.5699C61.2354 14.2836 60.8756 14.1405 60.4144 14.1405C60.1082 14.1405 59.8379 14.2081 59.6033 14.3433C59.3727 14.4745 59.1938 14.6633 59.0666 14.9098C58.9433 15.1563 58.8797 15.4545 58.8757 15.8044ZM68.2433 21.2016C67.8139 21.2016 67.4461 21.0505 67.14 20.7483C66.8378 20.4462 66.6887 20.0804 66.6927 19.651C66.6887 19.2296 66.8378 18.8698 67.14 18.5716C67.4461 18.2694 67.8139 18.1183 68.2433 18.1183C68.6488 18.1183 69.0066 18.2694 69.3167 18.5716C69.6308 18.8698 69.7899 19.2296 69.7938 19.651C69.7899 19.9373 69.7143 20.1977 69.5672 20.4323C69.4241 20.6668 69.2352 20.8537 69.0007 20.9928C68.7701 21.132 68.5176 21.2016 68.2433 21.2016Z",fill:gt(Me)==="true"?"white":"black"},null,8,t0)])),tt(he,{"enter-active-class":"tiun-duration-300 tiun-ease-out","enter-from-class":"tiun-transform tiun-opacity-0","enter-to-class":"tiun-opacity-100","leave-active-class":"tiun-duration-200 tiun-ease-in","leave-from-class":"tiun-opacity-100","leave-to-class":"tiun-transform tiun-opacity-0"},{default:Ut(()=>[t.title?(w(),S("p",{key:0,class:V(["tiun-font-semibold",gt(Me)==="true"?"tiun-text-white":"tiun-text-black"])},ut(t.title),3)):at("",!0)]),_:1})]))}}),Uu=t=>(ri("data-v-d31217cb"),t=t(),ui(),t),n0=["src"],i0={class:"tiun-grid tiun-gap-2.5 tiun-px-4 tiun-w-full tiun-absolute tiun-top-4"},s0={class:"tiun-flex tiun-justify-between tiun-items-center tiun-w-full"},o0={class:"tiun-sm tiun-font-semibold tiun-text-black"},r0=["onClick"],u0=[Uu(()=>m("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 19.6C15.3019 19.6 19.6 15.3019 19.6 10C19.6 4.69807 15.3019 0.400002 10 0.400002C4.69807 0.400002 0.400002 4.69807 0.400002 10C0.400002 15.3019 4.69807 19.6 10 19.6ZM8.44853 6.75147C7.9799 6.28284 7.2201 6.28284 6.75147 6.75147C6.28284 7.2201 6.28284 7.9799 6.75147 8.44853L8.30295 10L6.75147 11.5515C6.28284 12.0201 6.28284 12.7799 6.75147 13.2485C7.2201 13.7172 7.9799 13.7172 8.44853 13.2485L10 11.6971L11.5515 13.2485C12.0201 13.7172 12.7799 13.7172 13.2485 13.2485C13.7172 12.7799 13.7172 12.0201 13.2485 11.5515L11.6971 10L13.2485 8.44853C13.7172 7.9799 13.7172 7.2201 13.2485 6.75147C12.7799 6.28284 12.0201 6.28284 11.5515 6.75147L10 8.30295L8.44853 6.75147Z",fill:"black"})],-1))],l0={class:"tiun-flex tiun-gap-2"},a0={class:"tiun-absolute tiun-bottom-4 tiun-px-4 tiun-w-full"},c0=["disabled"],d0={key:0,"aria-label":"Loading...",role:"status"},f0=[Uu(()=>m("svg",{class:"tiun-animate-spin tiun-w-6 tiun-h-6 !tiun-fill-white",viewBox:"3 3 18 18"},[m("path",{class:"tiun-opacity-20",d:"M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z"}),m("path",{d:"M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z"})],-1))],p0={key:1},h0=St({__name:"Carousel",props:{title:{type:String,default:""},hint:{type:Object,default:void 0},trigger:{type:Boolean,required:!0}},emits:["closeHint"],setup(t,{emit:e}){var D,O;const n=e,i=t,s=z(0),o=z(((O=(D=i.hint)==null?void 0:D.hintImagesV2)==null?void 0:O.map(()=>0))||[]);let r;const u=dt(()=>ln==="true"),l=dt(()=>Nt==="true"),c=()=>{var L,R,Y,U;(R=(L=i.hint)==null?void 0:L.hintImagesV2)!=null&&R.length&&(s.value<((U=(Y=i.hint)==null?void 0:Y.hintImagesV2)==null?void 0:U.length)-1?(o.value[s.value]=100,s.value++):(g(),r=setInterval(h,50)))},a=()=>{if(s.value>0){const L=o.value[s.value];o.value[s.value]=0,L<=25&&(o.value[s.value-1]=0),s.value--}else o.value[s.value]=0},f=L=>{const{offsetX:R,currentTarget:Y}=L;if(Y){const U=Y.clientWidth;R<U/3?(a(),Fi("HintSkipBackwardV2")):(c(),Fi("HintSkipForwardV2"))}},h=()=>{var R,Y;if(!((Y=(R=i.hint)==null?void 0:R.hintImagesV2)!=null&&Y.length))return;const L=[...o.value];L[s.value]+=1,L[s.value]>=100&&(L[s.value]=100,s.value<i.hint.hintImagesV2.length-1?(s.value++,L[s.value]=L[s.value]||0):(s.value=0,L.fill(0),L[s.value]=0)),o.value=L};function y(){g(),n("closeHint")}function g(){var L,R;r&&(clearInterval(r),o.value=((R=(L=i.hint)==null?void 0:L.hintImagesV2)==null?void 0:R.map(()=>0))||[],s.value=0)}bn(()=>{r&&clearInterval(r)}),Dt(()=>i.trigger,()=>{i.trigger?r=setInterval(h,50):g()});const v=z(!1);async function M(){if(u.value)return;const L=await Pi();if(!L.sessionId)return;v.value=!0,await ve("StartWallet");const R=`${Pn}/v1/snippets/${bt}/sessions/${L.sessionId}/connect/url?checkoutType=TiunWallet&language=${un}`;window.location.href=R}return(L,R)=>{var U,Z,P,Q;const Y=fi("ripple");return w(),S("div",{class:"tiun-relative tiun-cursor-pointer tiun-h-full",onClick:f},[m("img",{src:(Z=(U=t.hint)==null?void 0:U.hintImagesV2)==null?void 0:Z[s.value],class:V(["!tiun-my-0 tiun-object-cover tiun-w-full !tiun-h-full tiun-border dark:tiun-border-gray-600 tiun-border-gray-200",{"tiun-rounded-xl":l.value}])},null,10,n0),m("div",i0,[m("div",s0,[m("span",o0,ut((P=t.hint)==null?void 0:P.hintTitle),1),m("button",{type:"button",onClick:Sc(y,["stop"]),class:"hover:tiun-opacity-80 tiun-transition-opacity tiun-rounded-full focus:tiun-outline-none focus-visible:tiun-outline-1 focus-visible:tiun-outline-black"},u0,8,r0)]),m("div",l0,[(w(!0),S(yt,null,wn(o.value,(j,rt)=>(w(),S("div",{key:rt,class:"tiun-h-1 tiun-w-full tiun-rounded-xl tiun-bg-gray-300 tiun-flex-1"},[m("span",{class:V(["tiun-h-full tiun-flex tiun-rounded-xl",rt<=s.value?"tiun-bg-black":"tiun-bg-gray-300 "]),style:Je({width:`${j}%`})},null,6)]))),128))])]),m("div",a0,[ne((w(),S("button",{class:V(["tiunButton tiunIndigoButton tiun-w-full",{"tiun-rounded-xl":l.value}]),type:"button",onClick:M,disabled:v.value},[v.value?(w(),S("div",d0,f0)):(w(),S("span",p0,ut((Q=t.hint)==null?void 0:Q.signUpCta),1))],10,c0)),[[Y]])])])}}}),Bh="",m0=an(h0,[["__scopeId","data-v-d31217cb"]]),Wu=t=>(ri("data-v-29970ce5"),t=t(),ui(),t),g0={class:"tiun-min-w-[320px] tiun-max-w-[343px] tiun-mx-auto"},v0={class:"tiun-grid tiun-gap-4 tiun-px-4"},_0={class:"tiun-h-8 tiun-flex tiun-items-center tiun-gap-2"},y0={key:0,class:"tiun-grid tiun-gap-2"},b0={key:0,class:"tiun-grid tiun-gap-2"},w0={class:"tiun-pt-4"},x0={class:"tiun-text-base tiun-font-bold tiun-text-black dark:tiun-text-white"},C0={key:0},k0={key:1,class:"tiun-text-teal-600"},S0={key:2},E0={class:"tiun-text-xs tiun-font-medium tiun-text-gray-600 dark:tiun-text-gray-400"},T0={class:"tiun-w-[160px] tiun-h-[160px] tiun-m-auto"},$0=["src"],M0={key:1,class:"tiun-m-auto tiun-w-[160px] tiun-h-[160px] tiun-animate-pulse tiun-bg-gray-400 dark:tiun-bg-gray-600"},I0={class:"tiun-w-fit tiun-flex tiun-items-center tiun-mx-auto"},R0={class:"tiun-bg-gray-300 dark:tiun-bg-white tiun-pl-2 tiun-text-[8px] tiun-leading-[16px] tiun-text-gray-600 dark:tiun-text-gray-700 tiun-font-medium tiun-flex tiun-items-center tiun-gap-0.5 tiun-rounded-[4px]"},A0={width:"16",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P0=["stroke"],O0=["stroke"],L0=Wu(()=>m("span",{class:"tiun-pb-1"},"Mit Kamera scannen",-1)),H0=["src"],B0={key:1,class:"tiun-flex tiun-items-center tiun-gap-4 tiun-animate-pulse"},N0={key:2,class:"tiun-flex tiun-items-center tiun-gap-4"},F0={class:"mr-0.5 tiun-shrink-0",width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D0=["fill"],j0=["disabled"],V0={key:0,"aria-label":"Loading...",role:"status"},U0=[Wu(()=>m("svg",{class:"tiun-animate-spin tiun-w-6 tiun-h-6 !tiun-fill-white",viewBox:"3 3 18 18"},[m("path",{class:"tiun-opacity-20",d:"M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z"}),m("path",{d:"M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z"})],-1))],W0={key:1},Z0=St({__name:"Paywall",setup(t){const e=z(!0),n=z(),i=z(!1),s=z(),o=z(!1),r=z(!1),u=dt(()=>ln==="true"),l=dt(()=>Nt==="true"),c=[{type:"SnippetModulePayWithQrOptionResponseV2",name:Rp},{type:"SnippetModuleExplanationResponseV1",name:Dp}],a=z(),f=dt(()=>{var U,Z,P,Q,j,rt,A,it,ft,Tt;return a.value===1?(Z=(U=n.value)==null?void 0:U.firstModule)==null?void 0:Z.data:a.value===2?(Q=(P=n.value)==null?void 0:P.secondModule)==null?void 0:Q.data:((rt=(j=n.value)==null?void 0:j.firstModule)==null?void 0:rt.type)==="SnippetModulePayWithQrOptionResponseV2"?(it=(A=n.value)==null?void 0:A.firstModule)==null?void 0:it.data:(Tt=(ft=n.value)==null?void 0:ft.secondModule)==null?void 0:Tt.data});Dt(()=>Ln.paywallState,U=>{U==="show"&&h()},{immediate:!0,deep:!0});async function h(){var U,Z;e.value=!0;try{n.value=await zd(),a.value=((U=n.value)==null?void 0:U.preselectedSlot)==="First"?1:((Z=n.value)==null?void 0:Z.preselectedSlot)==="Second"?2:void 0,e.value=!1}catch{console.log("Error while trying to load modules")}finally{e.value=!1}}async function y(){var U,Z;if(i.value=!i.value,i.value)if(u.value)await g();else{((U=f.value)==null?void 0:U.checkoutType)==="GuestCheckout"?ve("ShowQrCodeGuestCheckout"):ve("ShowQrCodeWallet");const P=await Pi();if(!P.sessionId)return;await g(P.sessionId),R("TIUN_CHECK_STATUS")}else((Z=f.value)==null?void 0:Z.checkoutType)==="GuestCheckout"?await ve("HideQrCodeGuestCheckout"):await ve("HideQrCodeWallet")}async function g(U){var P,Q;o.value=!0;const Z=`${Pn}/v2/snippets/${bt}/sessions/connect/qr_code?isDarkMode=${Me}&checkoutType=${(Q=(P=f.value)==null?void 0:P.checkoutType)==null?void 0:Q.toString()}&language=${un}${U?`&sessionId=${U}`:""}`;try{if(!s.value){const j=new Image;await new Promise((rt,A)=>{j.onload=rt,j.onerror=A,j.src=Z})}s.value=Z}catch(j){console.error("Error fetching or displaying QR code:",j)}finally{o.value=!1}}const v=z(!1);async function M(){var P,Q;if(u.value)return;const U=await Pi();if(!U.sessionId)return;v.value=!0,((P=f.value)==null?void 0:P.checkoutType)==="GuestCheckout"?await ve("StartGuestCheckout"):await ve("StartWallet");const Z=`${Pn}/v1/snippets/${bt}/sessions/${U.sessionId}/connect/url?checkoutType=${(Q=f.value)==null?void 0:Q.checkoutType}&language=${un}`;window.location.href=Z}function D(U){var Z;a.value=U,((Z=f.value)==null?void 0:Z.checkoutType)==="GuestCheckout"?ve("SelectGuestCheckout"):ve("SelectWallet")}function O(){r.value=!0,Fi("ShowHintV2")}function L(){r.value=!1,Fi("CloseHintV2")}function R(U){window.postMessage({type:"TIUN_EVENT",content:U},window.location.origin)}function Y(U){var Z,P;U.origin===window.location.origin&&((Z=U.data)==null?void 0:Z.type)==="TIUN_EVENT"&&((P=U.data)==null?void 0:P.content)==="TIUN_HIDE_PAYWALL"&&(i.value=!1)}return window.addEventListener("message",Y),bn(()=>{window.removeEventListener("message",Y)}),(U,Z)=>{var Q,j,rt,A,it,ft,Tt;const P=fi("ripple");return w(),S("div",g0,[m("div",{class:V([{"tiun-my-rotate-y-180":r.value,"tiun-rounded-xl":l.value},"tiun-relative tiun-preserve-3d tiun-w-full tiun-h-full tiun-duration-500 tiun-shadow-md"])},[m("div",{class:V(["tiun-z-10 tiun-relative tiun-pt-6 tiun-backface-hidden tiun-w-full tiun-h-full dark:tiun-bg-gray-900 tiun-bg-gray-50 tiun-border tiun-border-solid dark:tiun-border-gray-700 tiun-border-gray-200",{"tiun-rounded-xl":l.value}])},[m("div",v0,[m("div",_0,[tt(e0,{title:(Q=n.value)==null?void 0:Q.snippetTitle},null,8,["title"])]),e.value?(w(),S("div",y0,[tt(Vu),tt(Vu),tt(qp)])):at("",!0),tt(he,{"enter-active-class":"tiun-duration-300 tiun-ease-out","enter-from-class":"tiun-transform tiun-opacity-0","enter-to-class":"tiun-opacity-100","leave-active-class":"tiun-duration-200 tiun-ease-in","leave-from-class":"tiun-opacity-100","leave-to-class":"tiun-transform tiun-opacity-0"},{default:Ut(()=>{var lt,ot,X,Lt,Jt,Ct,$t,Ie,We;return[e.value?at("",!0):(w(),S("div",b0,[(w(),zt(Ko((lt=c.find(ae=>{var vt,Mt;return ae.type===((Mt=(vt=n.value)==null?void 0:vt.firstModule)==null?void 0:Mt.type)}))==null?void 0:lt.name),{selected:a.value===1,onSelect:Z[0]||(Z[0]=ae=>D(1)),notSelectable:((ot=n.value)==null?void 0:ot.preselectedSlot)==="None",data:(Lt=(X=n.value)==null?void 0:X.firstModule)==null?void 0:Lt.data},null,40,["selected","notSelectable","data"])),(w(),zt(Ko((Jt=c.find(ae=>{var vt,Mt;return ae.type===((Mt=(vt=n.value)==null?void 0:vt.secondModule)==null?void 0:Mt.type)}))==null?void 0:Jt.name),{selected:a.value===2,onSelect:Z[1]||(Z[1]=ae=>D(2)),notSelectable:((Ct=n.value)==null?void 0:Ct.preselectedSlot)==="None",data:(Ie=($t=n.value)==null?void 0:$t.secondModule)==null?void 0:Ie.data},null,40,["selected","notSelectable","data"])),(We=n.value)!=null&&We.hint?(w(),zt(zp,{key:0,data:n.value.hint,onClick:O,class:V(n.value.hint.position==="Bottom"?"tiun-order-last":"tiun-order-first")},null,8,["data","class"])):at("",!0)]))]}),_:1})]),m("div",{class:V(["tiun-mt-6 tiun-mb-[-1px] tiun-bg-gray-200 dark:tiun-bg-gray-700 tiun-p-6 tiun-flex tiun-flex-col tiun-gap-4",{"tiun-rounded-xl":l.value}])},[tt(he,{name:"tiun-slide-up"},{default:Ut(()=>{var lt,ot,X,Lt,Jt,Ct;return[ne(m("div",{class:V(["tiun-flex -tiun-mb-3 tiun-justify-center tiun-items-center tiun-text-center tiun-absolute tiun-bottom-20 tiun-left-0 tiun-right-0 dark:tiun-bg-gray-700 tiun-bg-gray-200 tiun-z-10 tiun-h-[338px]",{"tiun-rounded-t-xl":l.value}])},[m("div",{class:V(["tiun-flex tiun-flex-col tiun-gap-4 tiun-transition-opacity",i.value?"tiun-delay-700 tiun-opacity-100 ":"tiun-opacity-0 "])},[m("div",w0,[m("div",x0,[(lt=f.value)!=null&&lt.titleTextBefore?(w(),S("span",C0,ut(f.value.titleTextBefore),1)):at("",!0),(ot=f.value)!=null&&ot.titleTextHighlight?(w(),S("span",k0,ut(f.value.titleTextHighlight),1)):at("",!0),(X=f.value)!=null&&X.titleTextAfter?(w(),S("span",S0,ut(f.value.titleTextAfter),1)):at("",!0)]),m("div",E0,ut((Lt=f.value)==null?void 0:Lt.explanationLine),1)]),m("div",T0,[s.value&&!o.value?(w(),S("img",{key:0,id:"tiunQrCodeImg",src:s.value,class:"tiun-m-auto tiun-w-[160px] tiun-h-[160px]",height:"160",width:"160"},null,8,$0)):(w(),S("div",M0))]),m("div",I0,[m("div",R0,[(w(),S("svg",A0,[m("path",{d:"M1.75 5.25016C1.75 4.60583 2.27233 4.0835 2.91667 4.0835H3.45895C3.84903 4.0835 4.2133 3.88854 4.42968 3.56398L4.90366 2.85301C5.12003 2.52845 5.4843 2.3335 5.87438 2.3335H8.12562C8.5157 2.3335 8.87997 2.52845 9.09634 2.85301L9.57032 3.56398C9.7867 3.88854 10.151 4.0835 10.541 4.0835H11.0833C11.7277 4.0835 12.25 4.60583 12.25 5.25016V10.5002C12.25 11.1445 11.7277 11.6668 11.0833 11.6668H2.91667C2.27233 11.6668 1.75 11.1445 1.75 10.5002V5.25016Z",stroke:gt(Me)==="true"?"#374151":"#4B5563","stroke-linecap":"round","stroke-linejoin":"round"},null,8,P0),m("path",{d:"M8.75 7.5835C8.75 8.54999 7.9665 9.3335 7 9.3335C6.0335 9.3335 5.25 8.54999 5.25 7.5835C5.25 6.617 6.0335 5.8335 7 5.8335C7.9665 5.8335 8.75 6.617 8.75 7.5835Z",stroke:gt(Me)==="true"?"#374151":"#4B5563","stroke-linecap":"round","stroke-linejoin":"round"},null,8,O0)])),L0,(Jt=f.value)!=null&&Jt.qrPaymentMethodImageUrl?(w(),S("img",{key:0,src:(Ct=f.value)==null?void 0:Ct.qrPaymentMethodImageUrl,class:"tiun-py-[1px] tiun-pr-[1px] tiun-ml-2 !tiun-my-0",height:"24",width:"48"},null,8,H0)):at("",!0)])])],2)],2),[[Ar,i.value]])]}),_:1}),i.value?ne((w(),S("button",{key:0,type:"button",class:V(["tiunButton tiunWhiteButton tiun-w-full",{"tiun-rounded-xl":l.value}]),onClick:Z[2]||(Z[2]=lt=>y())},[Ne(" QR Code schliessen ")],2)),[[P]]):e.value?(w(),S("div",B0,[m("div",{class:V(["tiun-h-[38.5px] tiun-w-full tiun-bg-gray-300 dark:tiun-bg-gray-600",{"tiun-rounded-xl":l.value}])},null,2)])):(w(),S("div",N0,[ne((w(),S("button",{type:"button",class:V(["tiunButton tiunWhiteButton tiun-gap-1 tiun-w-fit tiun-flex-shrink-0",{"tiun-rounded-xl":l.value}]),onClick:Z[3]||(Z[3]=lt=>y())},[(w(),S("svg",F0,[m("path",{d:"M8.24998 2.3335C8.24998 1.91928 7.91419 1.5835 7.49998 1.5835C7.08577 1.5835 6.74998 1.91928 6.74998 2.3335H8.24998ZM6.74998 2.91683C6.74998 3.33104 7.08577 3.66683 7.49998 3.66683C7.91419 3.66683 8.24998 3.33104 8.24998 2.91683H6.74998ZM11 8.5835C10.5858 8.5835 10.25 8.91928 10.25 9.3335C10.25 9.74771 10.5858 10.0835 11 10.0835V8.5835ZM12.1666 10.0835C12.5809 10.0835 12.9166 9.74771 12.9166 9.3335C12.9166 8.91928 12.5809 8.5835 12.1666 8.5835V10.0835ZM7.49998 9.3335V8.5835C7.08577 8.5835 6.74998 8.91928 6.74998 9.3335H7.49998ZM8.66665 10.0835C9.08086 10.0835 9.41665 9.74771 9.41665 9.3335C9.41665 8.91928 9.08086 8.5835 8.66665 8.5835V10.0835ZM6.74998 11.6668C6.74998 12.081 7.08577 12.4168 7.49998 12.4168C7.91419 12.4168 8.24998 12.081 8.24998 11.6668H6.74998ZM8.24998 5.25016C8.24998 4.83595 7.91419 4.50016 7.49998 4.50016C7.08577 4.50016 6.74998 4.83595 6.74998 5.25016H8.24998ZM7.49998 7.00016H6.74998C6.74998 7.41438 7.08577 7.75016 7.49998 7.75016V7.00016ZM9.83331 10.9168C9.4191 10.9168 9.08331 11.2526 9.08331 11.6668C9.08331 12.081 9.4191 12.4168 9.83331 12.4168V10.9168ZM12.1666 12.4168C12.5809 12.4168 12.9166 12.081 12.9166 11.6668C12.9166 11.2526 12.5809 10.9168 12.1666 10.9168V12.4168ZM2.83331 6.25016C2.4191 6.25016 2.08331 6.58595 2.08331 7.00016C2.08331 7.41438 2.4191 7.75016 2.83331 7.75016V6.25016ZM5.16665 7.75016C5.58086 7.75016 5.91665 7.41438 5.91665 7.00016C5.91665 6.58595 5.58086 6.25016 5.16665 6.25016V7.75016ZM7.50581 7.75016C7.92003 7.75016 8.25581 7.41438 8.25581 7.00016C8.25581 6.58595 7.92003 6.25016 7.50581 6.25016V7.75016ZM9.83915 7.75016C10.2534 7.75016 10.5891 7.41438 10.5891 7.00016C10.5891 6.58595 10.2534 6.25016 9.83915 6.25016V7.75016ZM12.1666 6.25016C11.7524 6.25016 11.4166 6.58595 11.4166 7.00016C11.4166 7.41438 11.7524 7.75016 12.1666 7.75016V6.25016ZM12.1725 7.75016C12.5867 7.75016 12.9225 7.41438 12.9225 7.00016C12.9225 6.58595 12.5867 6.25016 12.1725 6.25016V7.75016ZM3.41665 3.0835H4.58331V1.5835H3.41665V3.0835ZM4.41665 2.91683V4.0835H5.91665V2.91683H4.41665ZM4.58331 3.91683H3.41665V5.41683H4.58331V3.91683ZM3.58331 4.0835V2.91683H2.08331V4.0835H3.58331ZM3.41665 3.91683C3.50869 3.91683 3.58331 3.99145 3.58331 4.0835H2.08331C2.08331 4.81988 2.68027 5.41683 3.41665 5.41683V3.91683ZM4.41665 4.0835C4.41665 3.99145 4.49127 3.91683 4.58331 3.91683V5.41683C5.31969 5.41683 5.91665 4.81988 5.91665 4.0835H4.41665ZM4.58331 3.0835C4.49127 3.0835 4.41665 3.00888 4.41665 2.91683H5.91665C5.91665 2.18045 5.31969 1.5835 4.58331 1.5835V3.0835ZM3.41665 1.5835C2.68027 1.5835 2.08331 2.18045 2.08331 2.91683H3.58331C3.58331 3.00888 3.50869 3.0835 3.41665 3.0835V1.5835ZM10.4166 3.0835H11.5833V1.5835H10.4166V3.0835ZM11.4166 2.91683V4.0835H12.9166V2.91683H11.4166ZM11.5833 3.91683H10.4166V5.41683H11.5833V3.91683ZM10.5833 4.0835V2.91683H9.08331V4.0835H10.5833ZM10.4166 3.91683C10.5087 3.91683 10.5833 3.99145 10.5833 4.0835H9.08331C9.08331 4.81988 9.68027 5.41683 10.4166 5.41683V3.91683ZM11.4166 4.0835C11.4166 3.99145 11.4913 3.91683 11.5833 3.91683V5.41683C12.3197 5.41683 12.9166 4.81988 12.9166 4.0835H11.4166ZM11.5833 3.0835C11.4913 3.0835 11.4166 3.00888 11.4166 2.91683H12.9166C12.9166 2.18045 12.3197 1.5835 11.5833 1.5835V3.0835ZM10.4166 1.5835C9.68027 1.5835 9.08331 2.18045 9.08331 2.91683H10.5833C10.5833 3.00888 10.5087 3.0835 10.4166 3.0835V1.5835ZM3.41665 10.0835H4.58331V8.5835H3.41665V10.0835ZM4.41665 9.91683V11.0835H5.91665V9.91683H4.41665ZM4.58331 10.9168H3.41665V12.4168H4.58331V10.9168ZM3.58331 11.0835V9.91683H2.08331V11.0835H3.58331ZM3.41665 10.9168C3.50869 10.9168 3.58331 10.9914 3.58331 11.0835H2.08331C2.08331 11.8199 2.68027 12.4168 3.41665 12.4168V10.9168ZM4.41665 11.0835C4.41665 10.9914 4.49127 10.9168 4.58331 10.9168V12.4168C5.31969 12.4168 5.91665 11.8199 5.91665 11.0835H4.41665ZM4.58331 10.0835C4.49127 10.0835 4.41665 10.0089 4.41665 9.91683H5.91665C5.91665 9.18045 5.31969 8.5835 4.58331 8.5835V10.0835ZM3.41665 8.5835C2.68027 8.5835 2.08331 9.18045 2.08331 9.91683H3.58331C3.58331 10.0089 3.50869 10.0835 3.41665 10.0835V8.5835ZM6.74998 2.3335V2.91683H8.24998V2.3335H6.74998ZM11 10.0835H12.1666V8.5835H11V10.0835ZM7.49998 10.0835H8.66665V8.5835H7.49998V10.0835ZM6.74998 9.3335V11.6668H8.24998V9.3335H6.74998ZM6.74998 5.25016V7.00016H8.24998V5.25016H6.74998ZM9.83331 12.4168H12.1666V10.9168H9.83331V12.4168ZM2.83331 7.75016H5.16665V6.25016H2.83331V7.75016ZM7.49998 7.75016H7.50581V6.25016H7.49998V7.75016ZM12.1666 7.75016H12.1725V6.25016H12.1666V7.75016ZM7.49998 7.75016H9.83915V6.25016H7.49998V7.75016Z",fill:gt(Me)==="true"?"white":"black"},null,8,D0)])),Ne(" QR Code ")],2)),[[P]]),ne((w(),S("button",{type:"button",class:V(["tiunButton tiunPrimaryButton tiun-w-full",{"tiun-rounded-xl":l.value}]),disabled:v.value,onClick:Z[4]||(Z[4]=lt=>M())},[v.value?(w(),S("div",V0,U0)):(w(),S("span",W0,ut((j=f.value)==null?void 0:j.ctaText),1))],10,j0)),[[P]])]))],2)],2),m("div",{class:V(["tiun-z-20 tiun-top-0 dark:tiun-text-white dark:tiun-bg-gray-900 tiun-bg-gray-50 tiun-border tiun-border-solid dark:tiun-border-gray-700 tiun-border-gray-200 tiun-w-full tiun-my-rotate-y-180 tiun-h-full tiun-overflow-hidden tiun-absolute tiun-backface-hidden",{"tiun-rounded-xl":l.value}])},[(A=(rt=n.value)==null?void 0:rt.hint)!=null&&A.hintImages&&((ft=(it=n.value)==null?void 0:it.hint)==null?void 0:ft.hintImages.length)>0?(w(),zt(m0,{key:0,title:(Tt=n.value)==null?void 0:Tt.snippetTitle,hint:n.value.hint,trigger:r.value,onCloseHint:L},null,8,["title","hint","trigger"])):at("",!0)],2)],2)])}}}),Fh="",z0=an(Z0,[["__scopeId","data-v-29970ce5"]]),q0=St({__name:"MockBadgeApp",setup(t){const e=z();async function n(){return e.value=await Cu(),e.value}return n(),(i,s)=>(w(),zt(zs,{variant:"default",openDetails:!0},{default:Ut(()=>[tt(Au,{snippetInfo:e.value},null,8,["snippetInfo"])]),_:1}))}}),Zu="tiunPaymentSnippet",K0="tiunBadgeSnippet";let le=null,Bn=null,Nn=null,ji;const J0=dt(()=>ln==="true");document.readyState==="loading"?document.addEventListener("DOMContentLoaded",zu):zu();function zu(){J0.value?(X0(),qu(),Ln.paywallState="show"):Q0()}function Q0(){let t=document.getElementById(bt);t||(t=document.createElement("div"),t.id=bt,t.classList.add("tiun-html"),document.body.appendChild(t)),ji=new MutationObserver(n=>{for(const i of n)i.type==="childList"&&Y0()});const e={childList:!0,subtree:!0};ji.observe(document.body,e),Bn=Ss(vp),Bn.directive("ripple",Qs),Bn.mount(t)}function Y0(){const t=document.getElementById(Zu);t&&!le?qu():!t&&le&&G0()}function qu(){const t=document.getElementById(Zu);t&&(t.classList.add("tiun-html"),le=Ss(z0),le.directive("ripple",Qs),le.mount(t))}function X0(){const t=document.getElementById(K0);t&&(t.classList.add("tiun-html"),Nn=Ss(q0),Nn.directive("ripple",Qs),Nn.mount(t))}function G0(){le&&(le.unmount(),le=null)}function th(){ji&&ji.disconnect(),le&&le.unmount(),Nn&&Nn.unmount(),Bn&&Bn.unmount()}window.unloadMyApp=th});