!function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";var e=document.createElement("style");function t(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}e.textContent="/*$vite$:1*/",document.head.appendChild(e);const n={},s=[],o=()=>{},r=()=>!1,i=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,a=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>"[object Map]"===b(e),h=e=>"function"==typeof e,v=e=>"string"==typeof e,g=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,y=e=>(m(e)||h(e))&&h(e.then)&&h(e.catch),_=Object.prototype.toString,b=e=>_.call(e),x=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,w=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},M=/-\w/g,k=S(e=>e.replace(M,e=>e.slice(1).toUpperCase())),A=/\B([A-Z])/g,C=S(e=>e.replace(A,"-$1").toLowerCase()),E=S(e=>e.charAt(0).toUpperCase()+e.slice(1)),T=S(e=>e?`on${E(e)}`:""),$=(e,t)=>!Object.is(e,t),P=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},O=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},I=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let F;const L=()=>F||(F="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function N(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=v(s)?V(s):N(s);if(o)for(const e in o)t[e]=o[e]}return t}if(v(e)||m(e))return e}const j=/;(?![^(]*\))/g,D=/:([^]+)/,R=/\/\*[^]*?\*\//g;function V(e){const t={};return e.replace(R,"").split(j).forEach(e=>{if(e){const n=e.split(D);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function U(e){let t="";if(v(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const s=U(e[n]);s&&(t+=s+" ")}else if(m(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const q=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function W(e){return!!e||""===e}let B,z;class H{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=B,!e&&B&&(this.index=(B.scopes||(B.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=B;try{return B=this,e()}finally{B=t}}}on(){1===++this._on&&(this.prevScope=B,B=this)}off(){this._on>0&&0===--this._on&&(B=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}const K=new WeakSet;class Z{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,B&&B.active&&B.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,K.has(this)&&(K.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||Q(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,de(this),te(this);const e=z,t=le;z=this,le=!0;try{return this.fn()}finally{ne(this),z=e,le=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)re(e);this.deps=this.depsTail=void 0,de(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?K.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){se(this)&&this.run()}get dirty(){return se(this)}}let G,J,X=0;function Q(e,t=!1){if(e.flags|=8,t)return e.next=J,void(J=e);e.next=G,G=e}function Y(){X++}function ee(){if(--X>0)return;if(J){let e=J;for(J=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;G;){let n=G;for(G=void 0;n;){const s=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=s}}if(e)throw e}function te(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ne(e){let t,n=e.depsTail,s=n;for(;s;){const e=s.prevDep;-1===s.version?(s===n&&(n=e),re(s),ie(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=e}e.deps=t,e.depsTail=n}function se(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(oe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function oe(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===fe)return;if(e.globalVersion=fe,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!se(e)))return;e.flags|=2;const t=e.dep,n=z,s=le;z=e,le=!0;try{te(e);const n=e.fn(e._value);(0===t.version||$(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(o){throw t.version++,o}finally{z=n,le=s,ne(e),e.flags&=-3}}function re(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)re(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function ie(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let le=!0;const ce=[];function ae(){ce.push(le),le=!1}function ue(){const e=ce.pop();le=void 0===e||e}function de(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=z;z=void 0;try{t()}finally{z=e}}}let fe=0;class pe{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class he{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!z||!le||z===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==z)t=this.activeLink=new pe(z,this),z.deps?(t.prevDep=z.depsTail,z.depsTail.nextDep=t,z.depsTail=t):z.deps=z.depsTail=t,ve(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=z.depsTail,t.nextDep=void 0,z.depsTail.nextDep=t,z.depsTail=t,z.deps===t&&(z.deps=e)}return t}trigger(e){this.version++,fe++,this.notify(e)}notify(e){Y();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ee()}}}function ve(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)ve(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ge=new WeakMap,me=Symbol(""),ye=Symbol(""),_e=Symbol("");function be(e,t,n){if(le&&z){let t=ge.get(e);t||ge.set(e,t=new Map);let s=t.get(n);s||(t.set(n,s=new he),s.map=t,s.key=n),s.track()}}function xe(e,t,n,s,o,r){const i=ge.get(e);if(!i)return void fe++;const l=e=>{e&&e.trigger()};if(Y(),"clear"===t)i.forEach(l);else{const o=f(e),r=o&&x(n);if(o&&"length"===n){const e=Number(s);i.forEach((t,n)=>{("length"===n||n===_e||!g(n)&&n>=e)&&l(t)})}else switch((void 0!==n||i.has(void 0))&&l(i.get(n)),r&&l(i.get(_e)),t){case"add":o?r&&l(i.get("length")):(l(i.get(me)),p(e)&&l(i.get(ye)));break;case"delete":o||(l(i.get(me)),p(e)&&l(i.get(ye)));break;case"set":p(e)&&l(i.get(me))}}ee()}function we(e){const t=it(e);return t===e?t:(be(t,0,_e),ot(e)?t:t.map(lt))}function Se(e){return be(e=it(e),0,_e),e}const Me={__proto__:null,[Symbol.iterator](){return ke(this,Symbol.iterator,lt)},concat(...e){return we(this).concat(...e.map(e=>f(e)?we(e):e))},entries(){return ke(this,"entries",e=>(e[1]=lt(e[1]),e))},every(e,t){return Ce(this,"every",e,t,void 0,arguments)},filter(e,t){return Ce(this,"filter",e,t,e=>e.map(lt),arguments)},find(e,t){return Ce(this,"find",e,t,lt,arguments)},findIndex(e,t){return Ce(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ce(this,"findLast",e,t,lt,arguments)},findLastIndex(e,t){return Ce(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ce(this,"forEach",e,t,void 0,arguments)},includes(...e){return Te(this,"includes",e)},indexOf(...e){return Te(this,"indexOf",e)},join(e){return we(this).join(e)},lastIndexOf(...e){return Te(this,"lastIndexOf",e)},map(e,t){return Ce(this,"map",e,t,void 0,arguments)},pop(){return $e(this,"pop")},push(...e){return $e(this,"push",e)},reduce(e,...t){return Ee(this,"reduce",e,t)},reduceRight(e,...t){return Ee(this,"reduceRight",e,t)},shift(){return $e(this,"shift")},some(e,t){return Ce(this,"some",e,t,void 0,arguments)},splice(...e){return $e(this,"splice",e)},toReversed(){return we(this).toReversed()},toSorted(e){return we(this).toSorted(e)},toSpliced(...e){return we(this).toSpliced(...e)},unshift(...e){return $e(this,"unshift",e)},values(){return ke(this,"values",lt)}};function ke(e,t,n){const s=Se(e),o=s[t]();return s===e||ot(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.value&&(e.value=n(e.value)),e}),o}const Ae=Array.prototype;function Ce(e,t,n,s,o,r){const i=Se(e),l=i!==e&&!ot(e),c=i[t];if(c!==Ae[t]){const t=c.apply(e,r);return l?lt(t):t}let a=n;i!==e&&(l?a=function(t,s){return n.call(this,lt(t),s,e)}:n.length>2&&(a=function(t,s){return n.call(this,t,s,e)}));const u=c.call(i,a,s);return l&&o?o(u):u}function Ee(e,t,n,s){const o=Se(e);let r=n;return o!==e&&(ot(e)?n.length>3&&(r=function(t,s,o){return n.call(this,t,s,o,e)}):r=function(t,s,o){return n.call(this,t,lt(s),o,e)}),o[t](r,...s)}function Te(e,t,n){const s=it(e);be(s,0,_e);const o=s[t](...n);return-1!==o&&!1!==o||!rt(n[0])?o:(n[0]=it(n[0]),s[t](...n))}function $e(e,t,n=[]){ae(),Y();const s=it(e)[t].apply(e,n);return ee(),ue(),s}const Pe=t("__proto__,__v_isRef,__isVue"),Oe=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(g));function Ie(e){g(e)||(e=String(e));const t=it(this);return be(t,0,e),t.hasOwnProperty(e)}class Fe{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const s=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(s?o?Xe:Je:o?Ge:Ze).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=f(e);if(!s){let e;if(r&&(e=Me[t]))return e;if("hasOwnProperty"===t)return Ie}const i=Reflect.get(e,t,at(e)?e:n);return(g(t)?Oe.has(t):Pe(t))?i:(s||be(e,0,t),o?i:at(i)?r&&x(t)?i:i.value:m(i)?s?et(i):Ye(i):i)}}class Le extends Fe{constructor(e=!1){super(!1,e)}set(e,t,n,s){let o=e[t];if(!this._isShallow){const t=st(o);if(ot(n)||st(n)||(o=it(o),n=it(n)),!f(e)&&at(o)&&!at(n))return t||(o.value=n),!0}const r=f(e)&&x(t)?Number(t)<e.length:d(e,t),i=Reflect.set(e,t,n,at(e)?e:s);return e===it(s)&&(r?$(n,o)&&xe(e,"set",t,n):xe(e,"add",t,n)),i}deleteProperty(e,t){const n=d(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&xe(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return g(t)&&Oe.has(t)||be(e,0,t),n}ownKeys(e){return be(e,0,f(e)?"length":me),Reflect.ownKeys(e)}}class Ne extends Fe{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const je=new Le,De=new Ne,Re=new Le(!0),Ve=e=>e,Ue=e=>Reflect.getPrototypeOf(e);function qe(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function We(e,t){const n={get(n){const s=this.__v_raw,o=it(s),r=it(n);e||($(n,r)&&be(o,0,n),be(o,0,r));const{has:i}=Ue(o),l=t?Ve:e?ct:lt;return i.call(o,n)?l(s.get(n)):i.call(o,r)?l(s.get(r)):void(s!==o&&s.get(n))},get size(){const t=this.__v_raw;return!e&&be(it(t),0,me),t.size},has(t){const n=this.__v_raw,s=it(n),o=it(t);return e||($(t,o)&&be(s,0,t),be(s,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,s){const o=this,r=o.__v_raw,i=it(r),l=t?Ve:e?ct:lt;return!e&&be(i,0,me),r.forEach((e,t)=>n.call(s,l(e),l(t),o))}};c(n,e?{add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear")}:{add(e){t||ot(e)||st(e)||(e=it(e));const n=it(this);return Ue(n).has.call(n,e)||(n.add(e),xe(n,"add",e,e)),this},set(e,n){t||ot(n)||st(n)||(n=it(n));const s=it(this),{has:o,get:r}=Ue(s);let i=o.call(s,e);i||(e=it(e),i=o.call(s,e));const l=r.call(s,e);return s.set(e,n),i?$(n,l)&&xe(s,"set",e,n):xe(s,"add",e,n),this},delete(e){const t=it(this),{has:n,get:s}=Ue(t);let o=n.call(t,e);o||(e=it(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&xe(t,"delete",e,void 0),r},clear(){const e=it(this),t=0!==e.size,n=e.clear();return t&&xe(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=function(e,t,n){return function(...s){const o=this.__v_raw,r=it(o),i=p(r),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=o[e](...s),u=n?Ve:t?ct:lt;return!t&&be(r,0,c?ye:me),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(s,e,t)}),n}function Be(e,t){const n=We(e,t);return(t,s,o)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(d(n,s)&&s in t?n:t,s,o)}const ze={get:Be(!1,!1)},He={get:Be(!1,!0)},Ke={get:Be(!0,!1)},Ze=new WeakMap,Ge=new WeakMap,Je=new WeakMap,Xe=new WeakMap;function Qe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>b(e).slice(8,-1))(e))}function Ye(e){return st(e)?e:tt(e,!1,je,ze,Ze)}function et(e){return tt(e,!0,De,Ke,Je)}function tt(e,t,n,s,o){if(!m(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=Qe(e);if(0===r)return e;const i=o.get(e);if(i)return i;const l=new Proxy(e,2===r?s:n);return o.set(e,l),l}function nt(e){return st(e)?nt(e.__v_raw):!(!e||!e.__v_isReactive)}function st(e){return!(!e||!e.__v_isReadonly)}function ot(e){return!(!e||!e.__v_isShallow)}function rt(e){return!!e&&!!e.__v_raw}function it(e){const t=e&&e.__v_raw;return t?it(t):e}const lt=e=>m(e)?Ye(e):e,ct=e=>m(e)?et(e):e;function at(e){return!!e&&!0===e.__v_isRef}function ut(e){return function(e,t){if(at(e))return e;return new dt(e,t)}(e,!1)}class dt{constructor(e,t){this.dep=new he,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:it(e),this._value=t?e:lt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||ot(e)||st(e);e=n?e:it(e),$(e,t)&&(this._rawValue=e,this._value=n?e:lt(e),this.dep.trigger())}}const ft={get:(e,t,n)=>{return"__v_raw"===t?e:at(s=Reflect.get(e,t,n))?s.value:s;var s},set:(e,t,n,s)=>{const o=e[t];return at(o)&&!at(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function pt(e){return nt(e)?e:new Proxy(e,ft)}class ht{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new he(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=fe-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&z!==this)return Q(this,!0),!0}get value(){const e=this.dep.track();return oe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const vt={},gt=new WeakMap;let mt;function yt(e,t,s=n){const{immediate:r,deep:i,once:l,scheduler:c,augmentJob:u,call:d}=s,p=e=>i?e:ot(e)||!1===i||0===i?_t(e,1):_t(e);let v,g,m,y,_=!1,b=!1;if(at(e)?(g=()=>e.value,_=ot(e)):nt(e)?(g=()=>p(e),_=!0):f(e)?(b=!0,_=e.some(e=>nt(e)||ot(e)),g=()=>e.map(e=>at(e)?e.value:nt(e)?p(e):h(e)?d?d(e,2):e():void 0)):g=h(e)?t?d?()=>d(e,2):e:()=>{if(m){ae();try{m()}finally{ue()}}const t=mt;mt=v;try{return d?d(e,3,[y]):e(y)}finally{mt=t}}:o,t&&i){const e=g,t=!0===i?1/0:i;g=()=>_t(e(),t)}const x=B,w=()=>{v.stop(),x&&x.active&&a(x.effects,v)};if(l&&t){const e=t;t=(...t)=>{e(...t),w()}}let S=b?new Array(e.length).fill(vt):vt;const M=e=>{if(1&v.flags&&(v.dirty||e))if(t){const e=v.run();if(i||_||(b?e.some((e,t)=>$(e,S[t])):$(e,S))){m&&m();const n=mt;mt=v;try{const n=[e,S===vt?void 0:b&&S[0]===vt?[]:S,y];S=e,d?d(t,3,n):t(...n)}finally{mt=n}}}else v.run()};return u&&u(M),v=new Z(g),v.scheduler=c?()=>c(M,!1):M,y=e=>function(e,t=!1,n=mt){if(n){let t=gt.get(n);t||gt.set(n,t=[]),t.push(e)}}(e,!1,v),m=v.onStop=()=>{const e=gt.get(v);if(e){if(d)d(e,4);else for(const t of e)t();gt.delete(v)}},t?r?M(!0):S=v.run():c?c(M.bind(null,!0),!0):v.run(),w.pause=v.pause.bind(v),w.resume=v.resume.bind(v),w.stop=w,w}function _t(e,t=1/0,n){if(t<=0||!m(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,at(e))_t(e.value,t,n);else if(f(e))for(let s=0;s<e.length;s++)_t(e[s],t,n);else if("[object Set]"===b(e)||p(e))e.forEach(e=>{_t(e,t,n)});else if((e=>"[object Object]"===b(e))(e)){for(const s in e)_t(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&_t(e[s],t,n)}return e}function bt(e,t,n,s){try{return s?e(...s):e()}catch(o){wt(o,t,n)}}function xt(e,t,n,s){if(h(e)){const o=bt(e,t,n,s);return o&&y(o)&&o.catch(e=>{wt(e,t,n)}),o}if(f(e)){const o=[];for(let r=0;r<e.length;r++)o.push(xt(e[r],t,n,s));return o}}function wt(e,t,s,o=!0){t&&t.vnode;const{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||n;if(t){let n=t.parent;const o=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${s}`;for(;n;){const t=n.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,i))return;n=n.parent}if(r)return ae(),bt(r,null,10,[e,o,i]),void ue()}!function(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}(e,0,0,o,i)}const St=[];let Mt=-1;const kt=[];let At=null,Ct=0;const Et=Promise.resolve();let Tt=null;function $t(e){const t=Tt||Et;return e?t.then(this?e.bind(this):e):t}function Pt(e){if(!(1&e.flags)){const t=Lt(e),n=St[St.length-1];!n||!(2&e.flags)&&t>=Lt(n)?St.push(e):St.splice(function(e){let t=Mt+1,n=St.length;for(;t<n;){const s=t+n>>>1,o=St[s],r=Lt(o);r<e||r===e&&2&o.flags?t=s+1:n=s}return t}(t),0,e),e.flags|=1,Ot()}}function Ot(){Tt||(Tt=Et.then(Nt))}function It(e,t,n=Mt+1){for(;n<St.length;n++){const t=St[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;St.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function Ft(e){if(kt.length){const e=[...new Set(kt)].sort((e,t)=>Lt(e)-Lt(t));if(kt.length=0,At)return void At.push(...e);for(At=e,Ct=0;Ct<At.length;Ct++){const e=At[Ct];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}At=null,Ct=0}}const Lt=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Nt(e){try{for(Mt=0;Mt<St.length;Mt++){const e=St[Mt];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),bt(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;Mt<St.length;Mt++){const e=St[Mt];e&&(e.flags&=-2)}Mt=-1,St.length=0,Ft(),Tt=null,(St.length||kt.length)&&Nt()}}let jt=null,Dt=null;function Rt(e){const t=jt;return jt=e,Dt=e&&e.type.__scopeId||null,t}function Vt(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];r&&(l.oldValue=r[i].value);let c=l.dir[s];c&&(ae(),xt(c,n,8,[e.el,l,e,t]),ue())}}const Ut=Symbol("_vte"),qt=e=>e&&(e.disabled||""===e.disabled),Wt=e=>e&&(e.defer||""===e.defer),Bt=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,zt=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Ht=(e,t)=>{const n=e&&e.to;if(v(n)){if(t){return t(n)}return null}return n},Kt={name:"Teleport",__isTeleport:!0,process(e,t,n,s,o,r,i,l,c,a){const{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:v,createComment:g}}=a,m=qt(t.props);let{shapeFlag:y,children:_,dynamicChildren:b}=t;if(null==e){const e=t.el=v(""),a=t.anchor=v("");p(e,n,s),p(a,n,s);const d=(e,t)=>{16&y&&(o&&o.isCE&&(o.ce._teleportTarget=e),u(_,e,t,o,r,i,l,c))},f=()=>{const e=t.target=Ht(t.props,h),n=Xt(e,t,v,p);e&&("svg"!==i&&Bt(e)?i="svg":"mathml"!==i&&zt(e)&&(i="mathml"),m||(d(e,n),Jt(t,!1)))};m&&(d(n,a),Jt(t,!0)),Wt(t.props)?(t.el.__isMounted=!1,us(()=>{f(),delete t.el.__isMounted},r)):f()}else{if(Wt(t.props)&&!1===e.el.__isMounted)return void us(()=>{Kt.process(e,t,n,s,o,r,i,l,c,a)},r);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,p=t.target=e.target,v=t.targetAnchor=e.targetAnchor,g=qt(e.props),y=g?n:p,_=g?u:v;if("svg"===i||Bt(p)?i="svg":("mathml"===i||zt(p))&&(i="mathml"),b?(f(e.dynamicChildren,b,y,o,r,i,l),hs(e,t,!0)):c||d(e,t,y,_,o,r,i,l,!1),m)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zt(t,n,u,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Ht(t.props,h);e&&Zt(t,e,null,a,0)}else g&&Zt(t,p,v,a,1);Jt(t,m)}},remove(e,t,n,{um:s,o:{remove:o}},r){const{shapeFlag:i,children:l,anchor:c,targetStart:a,targetAnchor:u,target:d,props:f}=e;if(d&&(o(a),o(u)),r&&o(c),16&i){const e=r||!qt(f);for(let o=0;o<l.length;o++){const r=l[o];s(r,t,n,e,!!r.dynamicChildren)}}},move:Zt,hydrate:function(e,t,n,s,o,r,{o:{nextSibling:i,parentNode:l,querySelector:c,insert:a,createText:u}},d){function f(e,t,c,a){t.anchor=d(i(e),t,l(e),n,s,o,r),t.targetStart=c,t.targetAnchor=a}const p=t.target=Ht(t.props,c),h=qt(t.props);if(p){const l=p._lpa||p.firstChild;if(16&t.shapeFlag)if(h)f(e,t,l,l&&i(l));else{t.anchor=i(e);let c=l;for(;c;){if(c&&8===c.nodeType)if("teleport start anchor"===c.data)t.targetStart=c;else if("teleport anchor"===c.data){t.targetAnchor=c,p._lpa=t.targetAnchor&&i(t.targetAnchor);break}c=i(c)}t.targetAnchor||Xt(p,t,u,a),d(l&&i(l),t,p,n,s,o,r)}Jt(t,h)}else h&&16&t.shapeFlag&&f(e,t,e,i(e));return t.anchor&&i(t.anchor)}};function Zt(e,t,n,{o:{insert:s},m:o},r=2){0===r&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,d=2===r;if(d&&s(i,t,n),(!d||qt(u))&&16&c)for(let f=0;f<a.length;f++)o(a[f],t,n,2);d&&s(l,t,n)}const Gt=Kt;function Jt(e,t){const n=e.ctx;if(n&&n.ut){let s,o;for(t?(s=e.el,o=e.anchor):(s=e.targetStart,o=e.targetAnchor);s&&s!==o;)1===s.nodeType&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Xt(e,t,n,s){const o=t.targetStart=n(""),r=t.targetAnchor=n("");return o[Ut]=r,e&&(s(o,e),s(r,e)),r}const Qt=Symbol("_leaveCb");function Yt(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Yt(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function en(e,t){return h(e)?(()=>c({name:e.name},t,{setup:e}))():e}function tn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const nn=new WeakMap;function sn(e,t,s,o,i=!1){if(f(e))return void e.forEach((e,n)=>sn(e,t&&(f(t)?t[n]:t),s,o,i));if(rn(o)&&!i)return void(512&o.shapeFlag&&o.type.__asyncResolved&&o.component.subTree.component&&sn(e,t,s,o.component.subTree));const l=4&o.shapeFlag?yo(o.component):o.el,c=i?null:l,{i:u,r:p}=e,g=t&&t.r,m=u.refs===n?u.refs={}:u.refs,y=u.setupState,_=it(y),b=y===n?r:e=>d(_,e);if(null!=g&&g!==p)if(on(t),v(g))m[g]=null,b(g)&&(y[g]=null);else if(at(g)){g.value=null;const e=t;e.k&&(m[e.k]=null)}if(h(p))bt(p,u,12,[c,m]);else{const t=v(p),n=at(p);if(t||n){const o=()=>{if(e.f){const n=t?b(p)?y[p]:m[p]:p.value;if(i)f(n)&&a(n,l);else if(f(n))n.includes(l)||n.push(l);else if(t)m[p]=[l],b(p)&&(y[p]=m[p]);else{const t=[l];p.value=t,e.k&&(m[e.k]=t)}}else t?(m[p]=c,b(p)&&(y[p]=c)):n&&(p.value=c,e.k&&(m[e.k]=c))};if(c){const t=()=>{o(),nn.delete(e)};t.id=-1,nn.set(e,t),us(t,s)}else on(e),o()}}}function on(e){const t=nn.get(e);t&&(t.flags|=8,nn.delete(e))}L().requestIdleCallback,L().cancelIdleCallback;const rn=e=>!!e.type.__asyncLoader,ln=e=>e.type.__isKeepAlive;function cn(e,t){un(e,"a",t)}function an(e,t){un(e,"da",t)}function un(e,t,n=io){const s=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(fn(t,s,n),n){let e=n.parent;for(;e&&e.parent;)ln(e.parent.vnode)&&dn(s,t,n,e),e=e.parent}}function dn(e,t,n,s){const o=fn(t,e,s,!0);_n(()=>{a(s[t],o)},n)}function fn(e,t,n=io,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...s)=>{ae();const o=uo(n),r=xt(t,n,e,s);return o(),ue(),r});return s?o.unshift(r):o.push(r),r}}const pn=e=>(t,n=io)=>{ho&&"sp"!==e||fn(e,(...e)=>t(...e),n)},hn=pn("bm"),vn=pn("m"),gn=pn("bu"),mn=pn("u"),yn=pn("bum"),_n=pn("um"),bn=pn("sp"),xn=pn("rtg"),wn=pn("rtc");function Sn(e,t=io){fn("ec",e,t)}function Mn(e,t){return function(e,t,n=!0,s=!1){const o=jt||io;if(o){const n=o.type;{const e=_o(n,!1);if(e&&(e===t||e===k(t)||e===E(k(t))))return n}const r=An(o[e]||n[e],t)||An(o.appContext[e],t);return!r&&s?n:r}}("components",e,!0,t)||e}const kn=Symbol.for("v-ndc");function An(e,t){return e&&(e[t]||e[k(t)]||e[E(k(t))])}const Cn=e=>e?po(e)?yo(e):Cn(e.parent):null,En=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Cn(e.parent),$root:e=>Cn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Nn(e),$forceUpdate:e=>e.f||(e.f=()=>{Pt(e.update)}),$nextTick:e=>e.n||(e.n=$t.bind(e.proxy)),$watch:e=>xs.bind(e)}),Tn=(e,t)=>e!==n&&!e.__isScriptSetup&&d(e,t),$n={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:s,setupState:o,data:r,props:i,accessCache:l,type:c,appContext:a}=e;let u;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(Tn(o,t))return l[t]=1,o[t];if(r!==n&&d(r,t))return l[t]=2,r[t];if((u=e.propsOptions[0])&&d(u,t))return l[t]=3,i[t];if(s!==n&&d(s,t))return l[t]=4,s[t];On&&(l[t]=0)}}const f=En[t];let p,h;return f?("$attrs"===t&&be(e.attrs,0,""),f(e)):(p=c.__cssModules)&&(p=p[t])?p:s!==n&&d(s,t)?(l[t]=4,s[t]):(h=a.config.globalProperties,d(h,t)?h[t]:void 0)},set({_:e},t,s){const{data:o,setupState:r,ctx:i}=e;return Tn(r,t)?(r[t]=s,!0):o!==n&&d(o,t)?(o[t]=s,!0):!d(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=s,!0))},has({_:{data:e,setupState:t,accessCache:s,ctx:o,appContext:r,propsOptions:i,type:l}},c){let a,u;return!!(s[c]||e!==n&&"$"!==c[0]&&d(e,c)||Tn(t,c)||(a=i[0])&&d(a,c)||d(o,c)||d(En,c)||d(r.config.globalProperties,c)||(u=l.__cssModules)&&u[c])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Pn(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let On=!0;function In(e){const t=Nn(e),n=e.proxy,s=e.ctx;On=!1,t.beforeCreate&&Fn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:l,watch:c,provide:a,inject:u,created:d,beforeMount:p,mounted:v,beforeUpdate:g,updated:y,activated:_,deactivated:b,beforeDestroy:x,beforeUnmount:w,destroyed:S,unmounted:M,render:k,renderTracked:A,renderTriggered:C,errorCaptured:E,serverPrefetch:T,expose:$,inheritAttrs:P,components:O,directives:I,filters:F}=t;if(u&&function(e,t){f(e)&&(e=Vn(e));for(const n in e){const s=e[n];let o;o=m(s)?"default"in s?Zn(s.from||n,s.default,!0):Zn(s.from||n):Zn(s),at(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(u,s,null),l)for(const o in l){const e=l[o];h(e)&&(s[o]=e.bind(n))}if(r){const t=r.call(n,n);m(t)&&(e.data=Ye(t))}if(On=!0,i)for(const f in i){const e=i[f],t=h(e)?e.bind(n,n):h(e.get)?e.get.bind(n,n):o,r=!h(e)&&h(e.set)?e.set.bind(n):o,l=bo({get:t,set:r});Object.defineProperty(s,f,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const o in c)Ln(c[o],s,n,o);if(a){const e=h(a)?a.call(n):a;Reflect.ownKeys(e).forEach(t=>{!function(e,t){if(io){let n=io.provides;const s=io.parent&&io.parent.provides;s===n&&(n=io.provides=Object.create(s)),n[e]=t}else;}(t,e[t])})}function L(e,t){f(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&Fn(d,e,"c"),L(hn,p),L(vn,v),L(gn,g),L(mn,y),L(cn,_),L(an,b),L(Sn,E),L(wn,A),L(xn,C),L(yn,w),L(_n,M),L(bn,T),f($))if($.length){const t=e.exposed||(e.exposed={});$.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===o&&(e.render=k),null!=P&&(e.inheritAttrs=P),O&&(e.components=O),I&&(e.directives=I),T&&tn(e)}function Fn(e,t,n){xt(f(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ln(e,t,n,s){let o=s.includes(".")?ws(n,s):()=>n[s];if(v(e)){const n=t[e];h(n)&&_s(o,n)}else if(h(e))_s(o,e.bind(n));else if(m(e))if(f(e))e.forEach(e=>Ln(e,t,n,s));else{const s=h(e.handler)?e.handler.bind(n):t[e.handler];h(s)&&_s(o,s,e)}}function Nn(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let c;return l?c=l:o.length||n||s?(c={},o.length&&o.forEach(e=>jn(c,e,i,!0)),jn(c,t,i)):c=t,m(t)&&r.set(t,c),c}function jn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&jn(e,r,n,!0),o&&o.forEach(t=>jn(e,t,n,!0));for(const i in t)if(s&&"expose"===i);else{const s=Dn[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const Dn={data:Rn,props:Wn,emits:Wn,methods:qn,computed:qn,beforeCreate:Un,created:Un,beforeMount:Un,mounted:Un,beforeUpdate:Un,updated:Un,beforeDestroy:Un,beforeUnmount:Un,destroyed:Un,unmounted:Un,activated:Un,deactivated:Un,errorCaptured:Un,serverPrefetch:Un,components:qn,directives:qn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const s in t)n[s]=Un(e[s],t[s]);return n},provide:Rn,inject:function(e,t){return qn(Vn(e),Vn(t))}};function Rn(e,t){return t?e?function(){return c(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function Vn(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Un(e,t){return e?[...new Set([].concat(e,t))]:t}function qn(e,t){return e?c(Object.create(null),e,t):t}function Wn(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:c(Object.create(null),Pn(e),Pn(null!=t?t:{})):t}function Bn(){return{app:null,config:{isNativeTag:r,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 zn=0;function Hn(e,t){return function(t,n=null){h(t)||(t=c({},t)),null==n||m(n)||(n=null);const s=Bn(),o=new WeakSet,r=[];let i=!1;const l=s.app={_uid:zn++,_component:t,_props:n,_container:null,_context:s,_instance:null,version:xo,get config(){return s.config},set config(e){},use:(e,...t)=>(o.has(e)||(e&&h(e.install)?(o.add(e),e.install(l,...t)):h(e)&&(o.add(e),e(l,...t))),l),mixin:e=>(s.mixins.includes(e)||s.mixins.push(e),l),component:(e,t)=>t?(s.components[e]=t,l):s.components[e],directive:(e,t)=>t?(s.directives[e]=t,l):s.directives[e],mount(o,r,c){if(!i){const r=l._ceVNode||Js(t,n);return r.appContext=s,!0===c?c="svg":!1===c&&(c=void 0),e(r,o,c),i=!0,l._container=o,o.__vue_app__=l,yo(r.component)}},onUnmount(e){r.push(e)},unmount(){i&&(xt(r,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(s.provides[e]=t,l),runWithContext(e){const t=Kn;Kn=l;try{return e()}finally{Kn=t}}};return l}}let Kn=null;function Zn(e,t,n=!1){const s=lo();if(s||Kn){let o=Kn?Kn._context.provides:s?null==s.parent||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&h(t)?t.call(s&&s.proxy):t}}const Gn={},Jn=()=>Object.create(Gn),Xn=e=>Object.getPrototypeOf(e)===Gn;function Qn(e,t,n,s=!1){const o={},r=Jn();e.propsDefaults=Object.create(null),Yn(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:tt(o,!1,Re,He,Ge):e.type.props?e.props=o:e.props=r,e.attrs=r}function Yn(e,t,s,o){const[r,i]=e.propsOptions;let l,c=!1;if(t)for(let n in t){if(w(n))continue;const a=t[n];let u;r&&d(r,u=k(n))?i&&i.includes(u)?(l||(l={}))[u]=a:s[u]=a:Cs(e.emitsOptions,n)||n in o&&a===o[n]||(o[n]=a,c=!0)}if(i){const t=it(s),o=l||n;for(let n=0;n<i.length;n++){const l=i[n];s[l]=es(r,t,l,o[l],e,!d(o,l))}}return c}function es(e,t,n,s,o,r){const i=e[n];if(null!=i){const e=d(i,"default");if(e&&void 0===s){const e=i.default;if(i.type!==Function&&!i.skipFactory&&h(e)){const{propsDefaults:r}=o;if(n in r)s=r[n];else{const i=uo(o);s=r[n]=e.call(null,t),i()}}else s=e;o.ce&&o.ce._setProp(n,s)}i[0]&&(r&&!e?s=!1:!i[1]||""!==s&&s!==C(n)||(s=!0))}return s}const ts=new WeakMap;function ns(e,t,o=!1){const r=o?ts:t.propsCache,i=r.get(e);if(i)return i;const l=e.props,a={},u=[];let p=!1;if(!h(e)){const n=e=>{p=!0;const[n,s]=ns(e,t,!0);c(a,n),s&&u.push(...s)};!o&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!l&&!p)return m(e)&&r.set(e,s),s;if(f(l))for(let s=0;s<l.length;s++){const e=k(l[s]);ss(e)&&(a[e]=n)}else if(l)for(const n in l){const e=k(n);if(ss(e)){const t=l[n],s=a[e]=f(t)||h(t)?{type:t}:c({},t),o=s.type;let r=!1,i=!0;if(f(o))for(let e=0;e<o.length;++e){const t=o[e],n=h(t)&&t.name;if("Boolean"===n){r=!0;break}"String"===n&&(i=!1)}else r=h(o)&&"Boolean"===o.name;s[0]=r,s[1]=i,(r||d(s,"default"))&&u.push(e)}}const v=[a,u];return m(e)&&r.set(e,v),v}function ss(e){return"$"!==e[0]&&!w(e)}const os=e=>"_"===e||"_ctx"===e||"$stable"===e,rs=e=>f(e)?e.map(eo):[eo(e)],is=(e,t,n)=>{if(t._n)return t;const s=function(e,t=jt){if(!t)return e;if(e._n)return e;const n=(...s)=>{n._d&&Us(-1);const o=Rt(t);let r;try{r=e(...s)}finally{Rt(o),n._d&&Us(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}((...e)=>rs(t(...e)),n);return s._c=!1,s},ls=(e,t,n)=>{const s=e._ctx;for(const o in e){if(os(o))continue;const n=e[o];if(h(n))t[o]=is(0,n,s);else if(null!=n){const e=rs(n);t[o]=()=>e}}},cs=(e,t)=>{const n=rs(t);e.slots.default=()=>n},as=(e,t,n)=>{for(const s in t)!n&&os(s)||(e[s]=t[s])},us=function(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?kt.push(...n):At&&-1===n.id?At.splice(Ct+1,0,n):1&n.flags||(kt.push(n),n.flags|=1),Ot());var n};function ds(e){return function(e){L().__VUE__=!0;const{insert:t,remove:r,patchProp:i,createElement:l,createText:c,createComment:a,setText:u,setElementText:f,parentNode:p,nextSibling:h,setScopeId:v=o,insertStaticContent:g}=e,m=(e,t,n,s=null,o=null,r=null,i=void 0,l=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Hs(e,t)&&(s=ee(e),G(e,o,r,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:d}=t;switch(a){case Fs:_(e,t,n,s);break;case Ls:b(e,t,n,s);break;case Ns:null==e&&x(t,n,s,i);break;case Is:j(e,t,n,s,o,r,i,l,c);break;default:1&d?A(e,t,n,s,o,r,i,l,c):6&d?D(e,t,n,s,o,r,i,l,c):(64&d||128&d)&&a.process(e,t,n,s,o,r,i,l,c,se)}null!=u&&o?sn(u,e&&e.ref,r,t||e,!t):null==u&&e&&null!=e.ref&&sn(e.ref,null,r,e,!0)},_=(e,n,s,o)=>{if(null==e)t(n.el=c(n.children),s,o);else{const t=n.el=e.el;n.children!==e.children&&u(t,n.children)}},b=(e,n,s,o)=>{null==e?t(n.el=a(n.children||""),s,o):n.el=e.el},x=(e,t,n,s)=>{[e.el,e.anchor]=g(e.children,t,n,s,e.el,e.anchor)},S=({el:e,anchor:n},s,o)=>{let r;for(;e&&e!==n;)r=h(e),t(e,s,o),e=r;t(n,s,o)},M=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),r(e),e=n;r(t)},A=(e,t,n,s,o,r,i,l,c)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?E(t,n,s,o,r,i,l,c):I(e,t,o,r,i,l,c)},E=(e,n,s,o,r,c,a,u)=>{let d,p;const{props:h,shapeFlag:v,transition:g,dirs:m}=e;if(d=e.el=l(e.type,c,h&&h.is,h),8&v?f(d,e.children):16&v&&$(e.children,d,null,o,r,fs(e,c),a,u),m&&Vt(e,null,o,"created"),T(d,e,e.scopeId,a,o),h){for(const e in h)"value"===e||w(e)||i(d,e,null,h[e],c,o);"value"in h&&i(d,"value",null,h.value,c),(p=h.onVnodeBeforeMount)&&so(p,o,e)}m&&Vt(e,null,o,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(r,g);y&&g.beforeEnter(d),t(d,n,s),((p=h&&h.onVnodeMounted)||y||m)&&us(()=>{p&&so(p,o,e),y&&g.enter(d),m&&Vt(e,null,o,"mounted")},r)},T=(e,t,n,s,o)=>{if(n&&v(e,n),s)for(let r=0;r<s.length;r++)v(e,s[r]);if(o){let n=o.subTree;if(t===n||Os(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;T(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},$=(e,t,n,s,o,r,i,l,c=0)=>{for(let a=c;a<e.length;a++){const c=e[a]=l?to(e[a]):eo(e[a]);m(null,c,t,n,s,o,r,i,l)}},I=(e,t,s,o,r,l,c)=>{const a=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const h=e.props||n,v=t.props||n;let g;if(s&&ps(s,!1),(g=v.onVnodeBeforeUpdate)&&so(g,s,t,e),p&&Vt(t,e,s,"beforeUpdate"),s&&ps(s,!0),(h.innerHTML&&null==v.innerHTML||h.textContent&&null==v.textContent)&&f(a,""),d?F(e.dynamicChildren,d,a,s,o,fs(t,r),l):c||W(e,t,a,null,s,o,fs(t,r),l,!1),u>0){if(16&u)N(a,h,v,s,r);else if(2&u&&h.class!==v.class&&i(a,"class",null,v.class,r),4&u&&i(a,"style",h.style,v.style,r),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t],o=h[n],l=v[n];l===o&&"value"!==n||i(a,n,o,l,r,s)}}1&u&&e.children!==t.children&&f(a,t.children)}else c||null!=d||N(a,h,v,s,r);((g=v.onVnodeUpdated)||p)&&us(()=>{g&&so(g,s,t,e),p&&Vt(t,e,s,"updated")},o)},F=(e,t,n,s,o,r,i)=>{for(let l=0;l<t.length;l++){const c=e[l],a=t[l],u=c.el&&(c.type===Is||!Hs(c,a)||198&c.shapeFlag)?p(c.el):n;m(c,a,u,null,s,o,r,i,!0)}},N=(e,t,s,o,r)=>{if(t!==s){if(t!==n)for(const n in t)w(n)||n in s||i(e,n,t[n],null,r,o);for(const n in s){if(w(n))continue;const l=s[n],c=t[n];l!==c&&"value"!==n&&i(e,n,c,l,r,o)}"value"in s&&i(e,"value",t.value,s.value,r)}},j=(e,n,s,o,r,i,l,a,u)=>{const d=n.el=e?e.el:c(""),f=n.anchor=e?e.anchor:c("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:v}=n;v&&(a=a?a.concat(v):v),null==e?(t(d,s,o),t(f,s,o),$(n.children||[],s,f,r,i,l,a,u)):p>0&&64&p&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,s,r,i,l,a),(null!=n.key||r&&n===r.subTree)&&hs(e,n,!0)):W(e,n,s,f,r,i,l,a,u)},D=(e,t,n,s,o,r,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?o.ctx.activate(t,n,s,i,c):R(t,n,s,o,r,i,c):V(e,t,c)},R=(e,t,s,o,r,i,l)=>{const c=e.component=function(e,t,s){const o=e.type,r=(t?t.appContext:e.appContext)||oo,i={uid:ro++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new H(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ns(o,r),emitsOptions:As(o,r),emit:null,emitted:null,propsDefaults:n,inheritAttrs:o.inheritAttrs,ctx:n,data:n,props:n,attrs:n,slots:n,refs:n,setupState:n,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};i.ctx={_:i},i.root=t?t.root:i,i.emit=Ms.bind(null,i),e.ce&&e.ce(i);return i}(e,o,r);if(ln(e)&&(c.ctx.renderer=se),function(e,t=!1,n=!1){t&&ao(t);const{props:s,children:o}=e.vnode,r=po(e);Qn(e,s,r,t),((e,t,n)=>{const s=e.slots=Jn();if(32&e.vnode.shapeFlag){const e=t._;e?(as(s,t,n),n&&O(s,"_",e,!0)):ls(t,s)}else t&&cs(e,t)})(e,o,n||t);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,$n);const{setup:s}=n;if(s){ae();const n=e.setupContext=s.length>1?function(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,mo),slots:e.slots,emit:e.emit,expose:t}}(e):null,o=uo(e),r=bt(s,e,0,[e.props,n]),i=y(r);if(ue(),o(),!i&&!e.sp||rn(e)||tn(e),i){if(r.then(fo,fo),t)return r.then(t=>{vo(e,t)}).catch(t=>{wt(t,e,0)});e.asyncDep=r}else vo(e,r)}else go(e)}(e,t):void 0;t&&ao(!1)}(c,!1,l),c.asyncDep){if(r&&r.registerDep(c,U,l),!e.el){const n=c.subTree=Js(Ls);b(null,n,t,s),e.placeholder=n.el}}else U(c,e,t,s,r,i,l)},V=(e,t,n)=>{const s=t.component=e.component;if(function(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:c}=t,a=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!l||l&&l.$stable)||s!==i&&(s?!i||Ps(s,i,a):!!i);if(1024&c)return!0;if(16&c)return s?Ps(s,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==s[n]&&!Cs(a,n))return!0}}return!1}(e,t,n)){if(s.asyncDep&&!s.asyncResolved)return void q(s,t,n);s.next=t,s.update()}else t.el=e.el,s.vnode=t},U=(e,t,n,s,o,r,i)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:s,parent:c,vnode:a}=e;{const n=vs(e);if(n)return t&&(t.el=a.el,q(e,t,i)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let u,d=t;ps(e,!1),t?(t.el=a.el,q(e,t,i)):t=a,n&&P(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&so(u,c,t,a),ps(e,!0);const f=Es(e),h=e.subTree;e.subTree=f,m(h,f,p(h.el),ee(h),e,o,r),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),s&&us(s,o),(u=t.props&&t.props.onVnodeUpdated)&&us(()=>so(u,c,t,a),o)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:d,root:f,type:p}=e,h=rn(t);ps(e,!1),a&&P(a),!h&&(i=c&&c.onVnodeBeforeMount)&&so(i,d,t),ps(e,!0);{f.ce&&!1!==f.ce._def.shadowRoot&&f.ce._injectChildStyle(p);const i=e.subTree=Es(e);m(null,i,n,s,e,o,r),t.el=i.el}if(u&&us(u,o),!h&&(i=c&&c.onVnodeMounted)){const e=t;us(()=>so(i,d,e),o)}(256&t.shapeFlag||d&&rn(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&us(e.a,o),e.isMounted=!0,t=n=s=null}};e.scope.on();const c=e.effect=new Z(l);e.scope.off();const a=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>Pt(u),ps(e,!0),a()},q=(e,t,s)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=it(o),[c]=e.propsOptions;let a=!1;if(!(s||i>0)||16&i){let s;Yn(e,t,o,r)&&(a=!0);for(const r in l)t&&(d(t,r)||(s=C(r))!==r&&d(t,s))||(c?!n||void 0===n[r]&&void 0===n[s]||(o[r]=es(c,l,r,void 0,e,!0)):delete o[r]);if(r!==l)for(const e in r)t&&d(t,e)||(delete r[e],a=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let s=0;s<n.length;s++){let i=n[s];if(Cs(e.emitsOptions,i))continue;const u=t[i];if(c)if(d(r,i))u!==r[i]&&(r[i]=u,a=!0);else{const t=k(i);o[t]=es(c,l,t,u,e,!1)}else u!==r[i]&&(r[i]=u,a=!0)}}a&&xe(e.attrs,"set","")}(e,t.props,o,s),((e,t,s)=>{const{vnode:o,slots:r}=e;let i=!0,l=n;if(32&o.shapeFlag){const e=t._;e?s&&1===e?i=!1:as(r,t,s):(i=!t.$stable,ls(t,r)),l=t}else t&&(cs(e,t),l={default:1});if(i)for(const n in r)os(n)||null!=l[n]||delete r[n]})(e,t.children,s),ae(),It(e),ue()},W=(e,t,n,s,o,r,i,l,c=!1)=>{const a=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void z(a,d,n,s,o,r,i,l,c);if(256&p)return void B(a,d,n,s,o,r,i,l,c)}8&h?(16&u&&Y(a,o,r),d!==a&&f(n,d)):16&u?16&h?z(a,d,n,s,o,r,i,l,c):Y(a,o,r,!0):(8&u&&f(n,""),16&h&&$(d,n,s,o,r,i,l,c))},B=(e,t,n,o,r,i,l,c,a)=>{t=t||s;const u=(e=e||s).length,d=t.length,f=Math.min(u,d);let p;for(p=0;p<f;p++){const s=t[p]=a?to(t[p]):eo(t[p]);m(e[p],s,n,null,r,i,l,c,a)}u>d?Y(e,r,i,!0,!1,f):$(t,n,o,r,i,l,c,a,f)},z=(e,t,n,o,r,i,l,c,a)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const s=e[u],o=t[u]=a?to(t[u]):eo(t[u]);if(!Hs(s,o))break;m(s,o,n,null,r,i,l,c,a),u++}for(;u<=f&&u<=p;){const s=e[f],o=t[p]=a?to(t[p]):eo(t[p]);if(!Hs(s,o))break;m(s,o,n,null,r,i,l,c,a),f--,p--}if(u>f){if(u<=p){const e=p+1,s=e<d?t[e].el:o;for(;u<=p;)m(null,t[u]=a?to(t[u]):eo(t[u]),n,s,r,i,l,c,a),u++}}else if(u>p)for(;u<=f;)G(e[u],r,i,!0),u++;else{const h=u,v=u,g=new Map;for(u=v;u<=p;u++){const e=t[u]=a?to(t[u]):eo(t[u]);null!=e.key&&g.set(e.key,u)}let y,_=0;const b=p-v+1;let x=!1,w=0;const S=new Array(b);for(u=0;u<b;u++)S[u]=0;for(u=h;u<=f;u++){const s=e[u];if(_>=b){G(s,r,i,!0);continue}let o;if(null!=s.key)o=g.get(s.key);else for(y=v;y<=p;y++)if(0===S[y-v]&&Hs(s,t[y])){o=y;break}void 0===o?G(s,r,i,!0):(S[o-v]=u+1,o>=w?w=o:x=!0,m(s,t[o],n,null,r,i,l,c,a),_++)}const M=x?function(e){const t=e.slice(),n=[0];let s,o,r,i,l;const c=e.length;for(s=0;s<c;s++){const c=e[s];if(0!==c){if(o=n[n.length-1],e[o]<c){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)l=r+i>>1,e[n[l]]<c?r=l+1:i=l;c<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}r=n.length,i=n[r-1];for(;r-- >0;)n[r]=i,i=t[i];return n}(S):s;for(y=M.length-1,u=b-1;u>=0;u--){const e=v+u,s=t[e],f=t[e+1],p=e+1<d?f.el||f.placeholder:o;0===S[u]?m(null,s,n,p,r,i,l,c,a):x&&(y<0||u!==M[y]?K(s,n,p,2):y--)}}},K=(e,n,s,o,i=null)=>{const{el:l,type:c,transition:a,children:u,shapeFlag:d}=e;if(6&d)return void K(e.component.subTree,n,s,o);if(128&d)return void e.suspense.move(n,s,o);if(64&d)return void c.move(e,n,s,se);if(c===Is){t(l,n,s);for(let e=0;e<u.length;e++)K(u[e],n,s,o);return void t(e.anchor,n,s)}if(c===Ns)return void S(e,n,s);if(2!==o&&1&d&&a)if(0===o)a.beforeEnter(l),t(l,n,s),us(()=>a.enter(l),i);else{const{leave:o,delayLeave:i,afterLeave:c}=a,u=()=>{e.ctx.isUnmounted?r(l):t(l,n,s)},d=()=>{l._isLeaving&&l[Qt](!0),o(l,()=>{u(),c&&c()})};i?i(l,u,d):d()}else t(l,n,s)},G=(e,t,n,s=!1,o=!1)=>{const{type:r,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p}=e;if(-2===d&&(o=!1),null!=l&&(ae(),sn(l,null,n,e,!0),ue()),null!=p&&(t.renderCache[p]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&f,v=!rn(e);let g;if(v&&(g=i&&i.onVnodeBeforeUnmount)&&so(g,t,e),6&u)Q(e.component,n,s);else{if(128&u)return void e.suspense.unmount(n,s);h&&Vt(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,se,s):a&&!a.hasOnce&&(r!==Is||d>0&&64&d)?Y(a,t,n,!1,!0):(r===Is&&384&d||!o&&16&u)&&Y(c,t,n),s&&J(e)}(v&&(g=i&&i.onVnodeUnmounted)||h)&&us(()=>{g&&so(g,t,e),h&&Vt(e,null,t,"unmounted")},n)},J=e=>{const{type:t,el:n,anchor:s,transition:o}=e;if(t===Is)return void X(n,s);if(t===Ns)return void M(e);const i=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:s}=o,r=()=>t(n,i);s?s(e.el,i,r):r()}else i()},X=(e,t)=>{let n;for(;e!==t;)n=h(e),r(e),e=n;r(t)},Q=(e,t,n)=>{const{bum:s,scope:o,job:r,subTree:i,um:l,m:c,a:a}=e;gs(c),gs(a),s&&P(s),o.stop(),r&&(r.flags|=8,G(i,e,t,n)),l&&us(l,t),us(()=>{e.isUnmounted=!0},t)},Y=(e,t,n,s=!1,o=!1,r=0)=>{for(let i=r;i<e.length;i++)G(e[i],t,n,s,o)},ee=e=>{if(6&e.shapeFlag)return ee(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=h(e.anchor||e.el),n=t&&t[Ut];return n?h(n):t};let te=!1;const ne=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),t._vnode=e,te||(te=!0,It(),Ft(),te=!1)},se={p:m,um:G,m:K,r:J,mt:R,mc:$,pc:W,pbc:F,n:ee,o:e};let oe;return{render:ne,hydrate:oe,createApp:Hn(ne)}}(e)}function fs({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ps({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hs(e,t,n=!1){const s=e.children,o=t.children;if(f(s)&&f(o))for(let r=0;r<s.length;r++){const e=s[r];let t=o[r];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[r]=to(o[r]),t.el=e.el),n||-2===t.patchFlag||hs(e,t)),t.type===Fs&&-1!==t.patchFlag&&(t.el=e.el),t.type!==Ls||t.el||(t.el=e.el)}}function vs(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:vs(t)}function gs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ms=Symbol.for("v-scx"),ys=()=>Zn(ms);function _s(e,t,n){return bs(e,t,n)}function bs(e,t,s=n){const{immediate:r,deep:i,flush:l,once:a}=s,u=c({},s),d=t&&r||!t&&"post"!==l;let f;if(ho)if("sync"===l){const e=ys();f=e.__watcherHandles||(e.__watcherHandles=[])}else if(!d){const e=()=>{};return e.stop=o,e.resume=o,e.pause=o,e}const p=io;u.call=(e,t,n)=>xt(e,p,t,n);let h=!1;"post"===l?u.scheduler=e=>{us(e,p&&p.suspense)}:"sync"!==l&&(h=!0,u.scheduler=(e,t)=>{t?e():Pt(e)}),u.augmentJob=e=>{t&&(e.flags|=4),h&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const v=yt(e,t,u);return ho&&(f?f.push(v):d&&v()),v}function xs(e,t,n){const s=this.proxy,o=v(e)?e.includes(".")?ws(s,e):()=>s[e]:e.bind(s,s);let r;h(t)?r=t:(r=t.handler,n=t);const i=uo(this),l=bs(o,r.bind(s),n);return i(),l}function ws(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}const Ss=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${k(t)}Modifiers`]||e[`${C(t)}Modifiers`];function Ms(e,t,...s){if(e.isUnmounted)return;const o=e.vnode.props||n;let r=s;const i=t.startsWith("update:"),l=i&&Ss(o,t.slice(7));let c;l&&(l.trim&&(r=s.map(e=>v(e)?e.trim():e)),l.number&&(r=s.map(I)));let a=o[c=T(t)]||o[c=T(k(t))];!a&&i&&(a=o[c=T(C(t))]),a&&xt(a,e,6,r);const u=o[c+"Once"];if(u){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,xt(u,e,6,r)}}const ks=new WeakMap;function As(e,t,n=!1){const s=n?ks:t.emitsCache,o=s.get(e);if(void 0!==o)return o;const r=e.emits;let i={},l=!1;if(!h(e)){const s=e=>{const n=As(e,t,!0);n&&(l=!0,c(i,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return r||l?(f(r)?r.forEach(e=>i[e]=null):c(i,r),m(e)&&s.set(e,i),i):(m(e)&&s.set(e,null),null)}function Cs(e,t){return!(!e||!i(t))&&(t=t.slice(2).replace(/Once$/,""),d(e,t[0].toLowerCase()+t.slice(1))||d(e,C(t))||d(e,t))}function Es(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:c,emit:a,render:u,renderCache:d,props:f,data:p,setupState:h,ctx:v,inheritAttrs:g}=e,m=Rt(e);let y,_;try{if(4&n.shapeFlag){const e=o||s,t=e;y=eo(u.call(t,e,d,f,h,p,v)),_=c}else{const e=t;0,y=eo(e.length>1?e(f,{attrs:c,slots:i,emit:a}):e(f,null)),_=t.props?c:Ts(c)}}catch(x){js.length=0,wt(x,e,1),y=Js(Ls)}let b=y;if(_&&!1!==g){const e=Object.keys(_),{shapeFlag:t}=b;e.length&&7&t&&(r&&e.some(l)&&(_=$s(_,r)),b=Xs(b,_,!1,!0))}return n.dirs&&(b=Xs(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Yt(b,n.transition),y=b,Rt(m),y}const Ts=e=>{let t;for(const n in e)("class"===n||"style"===n||i(n))&&((t||(t={}))[n]=e[n]);return t},$s=(e,t)=>{const n={};for(const s in e)l(s)&&s.slice(9)in t||(n[s]=e[s]);return n};function Ps(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(t[r]!==e[r]&&!Cs(n,r))return!0}return!1}const Os=e=>e.__isSuspense;const Is=Symbol.for("v-fgt"),Fs=Symbol.for("v-txt"),Ls=Symbol.for("v-cmt"),Ns=Symbol.for("v-stc"),js=[];let Ds=null;function Rs(e=!1){js.push(Ds=e?null:[])}let Vs=1;function Us(e,t=!1){Vs+=e,e<0&&Ds&&t&&(Ds.hasOnce=!0)}function qs(e){return e.dynamicChildren=Vs>0?Ds||s:null,js.pop(),Ds=js[js.length-1]||null,Vs>0&&Ds&&Ds.push(e),e}function Ws(e,t,n,s,o,r){return qs(Gs(e,t,n,s,o,r,!0))}function Bs(e,t,n,s,o){return qs(Js(e,t,n,s,o,!0))}function zs(e){return!!e&&!0===e.__v_isVNode}function Hs(e,t){return e.type===t.type&&e.key===t.key}const Ks=({key:e})=>null!=e?e:null,Zs=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||at(e)||h(e)?{i:jt,r:e,k:t,f:!!n}:e:null);function Gs(e,t=null,n=null,s=0,o=null,r=(e===Is?0:1),i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ks(t),ref:t&&Zs(t),scopeId:Dt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:jt};return l?(no(c,n),128&r&&e.normalize(c)):n&&(c.shapeFlag|=v(n)?8:16),Vs>0&&!i&&Ds&&(c.patchFlag>0||6&r)&&32!==c.patchFlag&&Ds.push(c),c}const Js=function(e,t=null,n=null,s=0,o=null,r=!1){e&&e!==kn||(e=Ls);if(zs(e)){const s=Xs(e,t,!0);return n&&no(s,n),Vs>0&&!r&&Ds&&(6&s.shapeFlag?Ds[Ds.indexOf(e)]=s:Ds.push(s)),s.patchFlag=-2,s}i=e,h(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=function(e){return e?rt(e)||Xn(e)?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=U(e)),m(n)&&(rt(n)&&!f(n)&&(n=c({},n)),t.style=N(n))}const l=v(e)?1:Os(e)?128:(e=>e.__isTeleport)(e)?64:m(e)?4:h(e)?2:0;return Gs(e,t,n,s,o,l,r,!0)};function Xs(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:l,children:c,transition:a}=e,u=t?function(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const e in s)if("class"===e)t.class!==s.class&&(t.class=U([t.class,s.class]));else if("style"===e)t.style=N([t.style,s.style]);else if(i(e)){const n=t[e],o=s[e];!o||n===o||f(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=s[e])}return t}(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ks(u),ref:t&&t.ref?n&&r?f(r)?r.concat(Zs(t)):[r,Zs(t)]:Zs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Is?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Xs(e.ssContent),ssFallback:e.ssFallback&&Xs(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&Yt(d,a.clone(d)),d}function Qs(e=" ",t=0){return Js(Fs,null,e,t)}function Ys(e="",t=!1){return t?(Rs(),Bs(Ls,null,e)):Js(Ls,null,e)}function eo(e){return null==e||"boolean"==typeof e?Js(Ls):f(e)?Js(Is,null,e.slice()):zs(e)?to(e):Js(Fs,null,String(e))}function to(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Xs(e)}function no(e,t){let n=0;const{shapeFlag:s}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&s){const n=t.default;return void(n&&(n._c&&(n._d=!1),no(e,n()),n._c&&(n._d=!0)))}{n=32;const s=t._;s||Xn(t)?3===s&&jt&&(1===jt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=jt}}else h(t)?(t={default:t,_ctx:jt},n=32):(t=String(t),64&s?(n=16,t=[Qs(t)]):n=8);e.children=t,e.shapeFlag|=n}function so(e,t,n,s=null){xt(e,t,7,[n,s])}const oo=Bn();let ro=0;let io=null;const lo=()=>io||jt;let co,ao;{const e=L(),t=(t,n)=>{let s;return(s=e[t])||(s=e[t]=[]),s.push(n),e=>{s.length>1?s.forEach(t=>t(e)):s[0](e)}};co=t("__VUE_INSTANCE_SETTERS__",e=>io=e),ao=t("__VUE_SSR_SETTERS__",e=>ho=e)}const uo=e=>{const t=io;return co(e),e.scope.on(),()=>{e.scope.off(),co(t)}},fo=()=>{io&&io.scope.off(),co(null)};function po(e){return 4&e.vnode.shapeFlag}let ho=!1;function vo(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:m(t)&&(e.setupState=pt(t)),go(e)}function go(e,t,n){const s=e.type;e.render||(e.render=s.render||o);{const t=uo(e);ae();try{In(e)}finally{ue(),t()}}}const mo={get:(e,t)=>(be(e,0,""),e[t])};function yo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(pt((t=e.exposed,!d(t,"__v_skip")&&Object.isExtensible(t)&&O(t,"__v_skip",!0),t)),{get:(t,n)=>n in t?t[n]:n in En?En[n](e):void 0,has:(e,t)=>t in e||t in En})):e.proxy;var t}function _o(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}const bo=(e,t)=>{const n=function(e,t,n=!1){let s,o;return h(e)?s=e:(s=e.get,o=e.set),new ht(s,o,n)}(e,0,ho);return n},xo="3.5.21";let wo;const So="undefined"!=typeof window&&window.trustedTypes;if(So)try{wo=So.createPolicy("vue",{createHTML:e=>e})}catch(Mr){}const Mo=wo?e=>wo.createHTML(e):e=>e,ko="undefined"!=typeof document?document:null,Ao=ko&&ko.createElement("template"),Co={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o="svg"===t?ko.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?ko.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?ko.createElement(e,{is:n}):ko.createElement(e);return"select"===e&&s&&null!=s.multiple&&o.setAttribute("multiple",s.multiple),o},createText:e=>ko.createTextNode(e),createComment:e=>ko.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ko.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==r&&(o=o.nextSibling););else{Ao.innerHTML=Mo("svg"===s?`<svg>${e}</svg>`:"mathml"===s?`<math>${e}</math>`:e);const o=Ao.content;if("svg"===s||"mathml"===s){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Eo=Symbol("_vtc");const To=Symbol("_vod"),$o=Symbol("_vsh"),Po=Symbol(""),Oo=/(?:^|;)\s*display\s*:/;const Io=/\s*!important$/;function Fo(e,t,n){if(f(n))n.forEach(n=>Fo(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=function(e,t){const n=No[t];if(n)return n;let s=k(t);if("filter"!==s&&s in e)return No[t]=s;s=E(s);for(let o=0;o<Lo.length;o++){const n=Lo[o]+s;if(n in e)return No[t]=n}return t}(e,t);Io.test(n)?e.setProperty(C(s),n.replace(Io,""),"important"):e[s]=n}}const Lo=["Webkit","Moz","ms"],No={};const jo="http://www.w3.org/1999/xlink";function Do(e,t,n,s,o,r=q(t)){s&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(jo,t.slice(6,t.length)):e.setAttributeNS(jo,t,n):null==n||r&&!W(n)?e.removeAttribute(t):e.setAttribute(t,r?"":g(n)?String(n):n)}function Ro(e,t,n,s,o){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?Mo(n):n));const r=e.tagName;if("value"===t&&"PROGRESS"!==r&&!r.includes("-")){const s="OPTION"===r?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return s===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let i=!1;if(""===n||null==n){const s=typeof e[t];"boolean"===s?n=W(n):null==n&&"string"===s?(n="",i=!0):"number"===s&&(n=0,i=!0)}try{e[t]=n}catch(Mr){}i&&e.removeAttribute(o||t)}const Vo=Symbol("_vei");function Uo(e,t,n,s,o=null){const r=e[Vo]||(e[Vo]={}),i=r[t];if(s&&i)i.value=s;else{const[n,l]=function(e){let t;if(qo.test(e)){let n;for(t={};n=e.match(qo);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):C(e.slice(2));return[n,t]}(t);if(s){const i=r[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();xt(function(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=zo(),n}(s,o);!function(e,t,n,s){e.addEventListener(t,n,s)}(e,n,i,l)}else i&&(!function(e,t,n,s){e.removeEventListener(t,n,s)}(e,n,i,l),r[t]=void 0)}}const qo=/(?:Once|Passive|Capture)$/;let Wo=0;const Bo=Promise.resolve(),zo=()=>Wo||(Bo.then(()=>Wo=0),Wo=Date.now());const Ho=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Ko=c({patchProp:(e,t,n,s,o,r)=>{const c="svg"===o;"class"===t?function(e,t,n){const s=e[Eo];s&&(t=(t?[t,...s]:[...s]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,s,c):"style"===t?function(e,t,n){const s=e.style,o=v(n);let r=!1;if(n&&!o){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Fo(s,t,"")}else for(const e in t)null==n[e]&&Fo(s,e,"");for(const e in n)"display"===e&&(r=!0),Fo(s,e,n[e])}else if(o){if(t!==n){const e=s[Po];e&&(n+=";"+e),s.cssText=n,r=Oo.test(n)}}else t&&e.removeAttribute("style");To in e&&(e[To]=r?s.display:"",e[$o]&&(s.display="none"))}(e,n,s):i(t)?l(t)||Uo(e,t,0,s,r):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,s){if(s)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ho(t)&&h(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ho(t)&&v(n))return!1;return t in e}(e,t,s,c))?(Ro(e,t,s),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Do(e,t,s,c,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&v(s)?("true-value"===t?e._trueValue=s:"false-value"===t&&(e._falseValue=s),Do(e,t,s,c)):Ro(e,k(t),s,0,t)}},Co);let Zo;const Go=en({__name:"AdlookStickyPlayer",setup(e){const t=[];let n=null,s=null;function o(){window.UTInventoryCore?new window.UTInventoryCore({type:"sticky",withoutIframe:!0,host:698,content:!1,adaptive:!0,width:400,height:225,playMode:"autoplay",align:"right",verticalAlign:"bottom",openTo:"open-creativeView",mobile:{mobileStickyHeight:25},interfaceType:1}):s=setTimeout(o,100)}return vn(()=>{n=new MutationObserver(e=>{for(const n of e)for(const e of n.addedNodes)e instanceof Element&&t.push(e)}),n.observe(document.head,{childList:!0}),n.observe(document.body,{childList:!0});const e=document.createElement("script");e.src="https://sdk.adlook.tech/inventory/core.js",e.async=!0,e.onload=o,e.onerror=()=>console.error("AdLook script load error"),document.head.appendChild(e)}),_n(()=>{s&&(clearTimeout(s),s=null),n?.disconnect(),n=null,t.forEach(e=>e.remove()),t.length=0}),(e,t)=>(Rs(),Ws("div"))}});const Jo=en({__name:"EtnaStickyPlayer",props:{vastUrls:{},position:{},width:{},height:{},margin:{},enableLogging:{type:Boolean}},emits:["ad-fill-error","ad-show-success"],setup(e,{emit:t}){const n=t,s=ut();function o(e){n("ad-fill-error",e.detail)}function r(e){n("ad-show-success",e.detail)}return vn(()=>{!function(){if("undefined"==typeof window)return;const e="https://sticky.cdnvideohub.com/prod/sticky-ad-player.umd.js";if(document.querySelector(`script[src="${e}"]`))return;const t=document.createElement("script");t.src=e,t.async=!0,document.head.appendChild(t)}(),s.value?.addEventListener("ad-error",o),s.value?.addEventListener("ad-show",r)}),_n(()=>{s.value?.removeEventListener("ad-error",o),s.value?.removeEventListener("ad-show",r)}),(e,t)=>{const n=Mn("sticky-ad-player");return Rs(),Bs(n,{ref_key:"playerRef",ref:s,"vast-urls":JSON.stringify(e.vastUrls),position:e.position,width:e.width,height:e.height,margin:e.margin,"enable-logging":String(e.enableLogging)},null,8,["vast-urls","position","width","height","margin","enable-logging"])}}}),Xo=en({__name:"AdstreamerStickyPlayer",props:{ids:{}},setup(e){const t=e.ids,n=[];let s=null;return vn(()=>{s=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)e instanceof HTMLScriptElement&&n.push(e)}),s.observe(document.head,{childList:!0}),window.adBlocks=t;const e=document.createElement("script");e.src="https://a.suprion.ru/static/player/adplayer.js",e.async=!0,e.onerror=()=>console.error("Adstreamer load error"),document.head.appendChild(e)}),_n(()=>{s?.disconnect(),s=null,n.forEach(e=>e.remove()),n.length=0,document.querySelectorAll('[class*="player-ad__sticky"], [id$="-slot"]').forEach(e=>e.remove())}),(e,t)=>(Rs(),Ws("div"))}}),Qo="none",Yo="loading",er="loaded",tr="playing",nr="ended",sr="removing",or="error";class rr{constructor(){}getMinZ(){return 1e5}scanAndMark(e,t){this.clearAttrs(e);const n=new Map;let s=0;for(const o of document.querySelectorAll("div")){const r=parseInt(o.style.zIndex);if(!isNaN(r)&&r>=this.getMinZ()){if(null!=t&&t.length>0){if(null!=o.getAttribute(t))continue}const i="zscan-"+ ++s;o.setAttribute(e,i),n.set(i,{scanId:i,z:r,div:o})}}for(const o of document.styleSheets){let r;try{r=o.cssRules}catch{continue}if(r)for(const o of r){if(!(o instanceof CSSStyleRule))continue;const r=parseInt(o.style.zIndex);if(isNaN(r)||r<this.getMinZ())continue;let i;try{i=document.querySelectorAll(o.selectorText)}catch{continue}for(const o of i){if("div"!==o.tagName.toLowerCase())continue;if(null!=t&&t.length>0){if(null!=o.getAttribute(t))continue}let i=o.getAttribute(e);i||(i="zscan-"+ ++s,o.setAttribute(e,i),n.set(i,{scanId:i,z:r,div:o}))}}}return[...n.values()]}clearAttrs(e){document.querySelectorAll(`[${e}]`).forEach(t=>t.removeAttribute(e))}}class ir extends rr{divMarkerName="etc"+Math.random().toString(36).substring(2,8)+"-"+Math.random().toString(36).substring(2,8);divMarkerNameNew="etc"+Math.random().toString(36).substring(2,8)+"-"+Math.random().toString(36).substring(2,8);minZ;constructor(e=2147483647){super(),this.minZ=e}getMinZ(){return this.minZ}scan(){return this.scanAndMark(this.divMarkerName)}scanNew(){return this.scanAndMark(this.divMarkerNameNew,this.divMarkerName)}startWatch(){this.scan()}stopWatch(){this.clearAttrs(this.divMarkerName),this.clearAttrs(this.divMarkerNameNew)}removeAllNewDiv(){const e=this.scanNew();for(const t of e)if(2147483647===t.z){const e=t.div;document.body.removeChild(e)}}}const lr=()=>(new Date).toISOString(),cr="https://vak345.com/s.js?v=",ar="movie_video";class ur{config=null;status=Qo;divsManager;constructor(e=99e5){console.log(`[${lr()}] [MovieAdsManager] Constructor called with minZofInterest:`,e),this.divsManager=new ir(e),console.log(`[${lr()}] [MovieAdsManager] Constructor completed`)}createPlayer(){if(console.log(`[${lr()}] [MovieAdsManager] createPlayer called. Current status:`,this.status),!this.config)return console.log(`[${lr()}] [MovieAdsManager] createPlayer failed - not initialized`),Promise.reject(new Error("MovieAdsManager is not initialized"));switch(this.status){case Qo:console.log(`[${lr()}] [MovieAdsManager] Status is None, proceeding to create ad player`),this.status=Yo,console.log(`[${lr()}] [MovieAdsManager] Status changed to Loading`),this.divsManager.startWatch(),console.log(`[${lr()}] [MovieAdsManager] Div watcher started`),this.createAdPlayer();break;case Yo:case er:case tr:case nr:case or:case sr:return console.log(`[${lr()}] [MovieAdsManager] createPlayer failed - already initialized with status:`,this.status),Promise.reject(new Error("MovieAdsManager is already initialized"))}return console.log(`[${lr()}] [MovieAdsManager] createPlayer completed successfully`),Promise.resolve(void 0)}createAdPlayer(){if(console.log(`[${lr()}] [MovieAdsManager] createAdPlayer called`),this.config){console.log(`[${lr()}] [MovieAdsManager] Creating div with ID:`,ar);const e=document.createElement("div");e.id=ar,document.body.appendChild(e),console.log(`[${lr()}] [MovieAdsManager] Div appended to body`),console.log(`[${lr()}] [MovieAdsManager] Loading script from:`,cr+this.config.scriptKey);const t=document.createElement("script");t.src=cr+this.config.scriptKey,t.async=!0,t.onload=()=>{console.log(`[${lr()}] [MovieAdsManager] Ad script loaded successfully`),this.onLoaded()},document.body.appendChild(t),console.log(`[${lr()}] [MovieAdsManager] Script appended to body, waiting for load`),this.status=Yo,console.log(`[${lr()}] [MovieAdsManager] Status set to Loading`)}else console.log(`[${lr()}] [MovieAdsManager] createAdPlayer failed - no config`),this.status=Qo}async destroyPlayer(){console.log(`[${lr()}] [MovieAdsManager] destroyPlayer called. Current status:`,this.status),this.removeAdPlayer(),console.log(`[${lr()}] [MovieAdsManager] Ad player removed`),this.divsManager.stopWatch(),console.log(`[${lr()}] [MovieAdsManager] Div watcher stopped`),this.status=Qo,console.log(`[${lr()}] [MovieAdsManager] Status reset to None`),console.log(`[${lr()}] [MovieAdsManager] destroyPlayer completed`)}getStatus(){return console.log(`[${lr()}] [MovieAdsManager] getStatus called, returning:`,this.status),this.status}async init(e){if(console.log(`[${lr()}] [MovieAdsManager] init called with config:`,e),this.config)return console.log(`[${lr()}] [MovieAdsManager] init failed - already initialized`),Promise.reject(new Error("MovieAdsManager is already initialized"));switch(this.status){case Qo:return console.log(`[${lr()}] [MovieAdsManager] Status is None, storing config`),this.config=e,void console.log(`[${lr()}] [MovieAdsManager] Config stored successfully`);case Yo:case er:case tr:case nr:case or:console.log(`[${lr()}] [MovieAdsManager] init called with status:`,this.status,", no action taken");break;case sr:console.log(`[${lr()}] [MovieAdsManager] init called with status Removing, no action taken`)}}onLoaded(){console.log(`[${lr()}] [MovieAdsManager] onLoaded called. Current status:`,this.status),this.status===Yo?(console.log(`[${lr()}] [MovieAdsManager] Status is Loading, transitioning to Playing`),this.status=tr,console.log(`[${lr()}] [MovieAdsManager] Status changed to Playing`)):(console.log(`[${lr()}] [MovieAdsManager] Status is not Loading, removing ad player`),this.removeAdPlayer())}removeAdPlayer(){console.log(`[${lr()}] [MovieAdsManager] removeAdPlayer called`),this.divsManager.removeAllNewDiv(),console.log(`[${lr()}] [MovieAdsManager] All new divs removed`)}}const dr=en({__name:"MovieAdsStickyPlayer",props:{scriptKey:{}},setup(e){const t=e,n=new ur(2147483e3);return vn(()=>{n.init({scriptKey:t.scriptKey}),n.createPlayer()}),_n(()=>{console.log("[vrotator] onUnmounted"),n.destroyPlayer()}),(e,t)=>(Rs(),Ws("div"))}}),fr="vid_vpaut_div",pr=en({__name:"VideorollStickyPlayer",props:{playerId:{}},setup(e){const t=e,n=[];let s=null;return vn(()=>{s=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)e instanceof HTMLScriptElement&&n.push(e)}),s.observe(document.head,{childList:!0});const e=document.createElement("div");e.id=fr,e.setAttribute("style","display:inline-block;width:600px;height:320px;position:fixed;right:0;bottom:0;"),e.setAttribute("vid_vpaut_pl",String(t.playerId)),document.body.appendChild(e);const o=document.createElement("script");o.src="https://videoroll.net/js/vid_vpaut_script.js",o.async=!0,document.head.appendChild(o)}),_n(()=>{s?.disconnect(),s=null,n.forEach(e=>e.remove()),n.length=0,document.getElementById(fr)?.remove()}),(e,t)=>(Rs(),Ws("div"))}});const hr=en({__name:"CustomScriptPlayer",props:{custom:{},eventId:{}},emits:["turn-finished"],setup(e,{emit:t}){const n=e,s=t,o={setTimeout:(e,t)=>window.setTimeout(e,t),clearTimeout:e=>window.clearTimeout(e)};let r=null;return vn(()=>{const e=function(e){if("string"!=typeof e||""===e.trim())return null;let t;try{t=JSON.parse(e)}catch{return null}if("object"!=typeof t||null===t||Array.isArray(t))return null;const n=t,s=n.constructor;return"string"!=typeof s||""===s.trim()?null:{constructor:s,params:n.params}}(n.custom);null!==e?r=function(e){const{spec:t,doc:n,eventId:s,timers:o,hooks:r}=e,i=new Map;let l=!1,c=!1,a=!1;const u={on(e,t){if(a)return;const n=i.get(e);void 0===n?i.set(e,[t]):n.push(t)},off(e,t){const n=i.get(e);if(void 0===n)return;const s=n.indexOf(t);s>=0&&n.splice(s,1)},dispatch(e,t){if(a)return;const n=i.get(e);if(void 0!==n)for(const s of n.slice())s(t)}},d=()=>{a=!0,i.clear()},f=(e,t)=>{"object"==typeof t&&null!==t&&t.eventId===s&&(c?r.onLateEvent(e):l||(l=!0,r.onOutcome(e)))};u.on("onComplete",e=>f("complete",e)),u.on("error",e=>f("error",e));try{new Function(`return (${t.constructor})`)()(n,t.params,u,s)}catch(Mr){console.error(Mr),l=!0,d(),r.onOutcome("error",Mr)}return{stop(){a||c||(c=!0,u.dispatch("stop"),o.setTimeout(d,5e3))}}}({spec:e,doc:document,eventId:n.eventId,timers:o,hooks:{onOutcome:e=>s("turn-finished",e),onLateEvent:e=>{console.log("[vrotator] custom-script late event после stop",e)}}}):s("turn-finished","error")}),_n(()=>{r?.stop()}),(e,t)=>(Rs(),Ws("div"))}});function vr(e){return async function(e){const t=await fetch(`https://partners.cdnvideohub.com/api/v1${e}`);if(!t.ok)throw new Error(`API error ${t.status}: ${t.statusText}`);return t.json()}(`/vrotator/kit/domains/${encodeURIComponent(e)}`)}class gr{embeds;turnsLeft;cursor=0;constructor(e){this.embeds=e.slice(),this.turnsLeft=this.embeds.map(e=>e.repeat)}next(){for(let e=0;e<this.embeds.length;e++){const e=this.cursor;if(this.cursor=(this.cursor+1)%this.embeds.length,-1===this.turnsLeft[e])return this.embeds[e];if(this.turnsLeft[e]>0)return this.turnsLeft[e]-=1,this.embeds[e]}return null}}class mr{queue;timers;onChange;current=null;mounted=!1;turnSeq=0;fillErrors=0;handle=null;stopped=!1;constructor(e,t,n){this.queue=e,this.timers=t,this.onChange=n}start(){this.beginTurn()}turnFinished(e){this.isCurrent(e)&&this.beginTurn()}adFillError(e){this.isCurrent(e)&&(this.fillErrors+=1,this.fillErrors>=5&&this.beginTurn())}adShowSuccess(e){this.isCurrent(e)&&(this.fillErrors=0)}stop(){this.stopped=!0,this.clearTimer(),this.current=null,this.mounted=!1}isCurrent(e){return!this.stopped&&this.mounted&&null!==this.current&&this.current.id===e}beginTurn(){if(this.stopped)return;this.clearTimer(),this.fillErrors=0,this.mounted=!1;const e=this.queue.next();this.current=e,null!==e?(this.turnSeq+=1,this.emit(),e.delayMs>0?this.handle=this.timers.setTimeout(()=>this.mount(),e.delayMs):this.mount()):this.emit()}mount(){const e=this.current;this.stopped||null===e||(this.handle=null,this.mounted=!0,this.emit(),null!==e.durationMs&&(this.handle=this.timers.setTimeout(()=>this.beginTurn(),e.durationMs)))}emit(){const e=this.mounted&&null!==this.current?this.current.id:null;this.onChange({embedId:e,turnSeq:this.turnSeq})}clearTimer(){null!==this.handle&&(this.timers.clearTimeout(this.handle),this.handle=null)}}const yr=new Set(["etna-sticky-player","adstreamer-sticky-player","movie-ads-sticky-player","videoroll-sticky-player","adlook-sticky-player","custom-sticky-player"]);function _r(e,t){switch(e){case"etna-sticky-player":case"custom-sticky-player":return null;case"movie-ads-sticky-player":return 18e4;default:return t}}function br(e){return"parallel"===e.queue&&"custom-sticky-player"===e.typ}const xr=["src"],wr=en({__name:"App",setup(e){const t=Number(void 0)||3e4,n=ut(null),s=ut(!0),o=ut(null),r=bo(()=>n.value?.position??"bottom-right"),i=bo(()=>Number(n.value?.width)||300),l=bo(()=>Number(n.value?.height)||169),c=bo(()=>Number(n.value?.margin)||20),a=bo(()=>"true"===n.value?.logging),u=bo(()=>{const e={visibility:"hidden",position:"fixed",zIndex:"1",width:`${i.value}px`,height:`${l.value}px`};return"bottom-right"===r.value?{...e,right:`${c.value}px`,bottom:`${c.value}px`}:{...e,left:`${c.value}px`,bottom:`${c.value}px`}}),d={setTimeout:(e,t)=>window.setTimeout(e,t),clearTimeout:e=>window.clearTimeout(e)},f=ut([]),p=ut({embedId:null,turnSeq:0});let h=null;const v=ut([]),g=ut({embedId:null,turnSeq:0});let m=null;const y=bo(()=>f.value.find(e=>e.id===p.value.embedId)??null),_=bo(()=>`${p.value.embedId}:${p.value.turnSeq}`),b=bo(()=>v.value.find(e=>e.id===g.value.embedId)??null),x=bo(()=>`${g.value.embedId}:${g.value.turnSeq}`);function w(e,t,n){const s="error"===n?"ошибка":"готово";console.log(`[vrotator] custom-script ход завершён queue=${e} embed=${t} причина=${s}`)}function S(e){const t=p.value.embedId;t&&(w("main",t,e),h?.turnFinished(t))}function M(e){const t=g.value.embedId;t&&(w("parallel",t,e),m?.turnFinished(t))}function k(){const e=p.value.embedId;e&&h?.adFillError(e)}function A(){const e=p.value.embedId;e&&h?.adShowSuccess(e)}return vn(async()=>{try{const e=window.location.hostname;n.value=await vr(e),n.value={...n.value,useLaguna:!0},n.value={...n.value,useLaguna:!1},console.log("[vrotator] v0.3.1-SNAPSHOT-3 onMounted"),f.value=function(e,t){return(e.embeds??[]).filter(e=>yr.has(e.typ)).map(e=>{const n=e.config.duration;return{id:e.id,typ:e.typ,delayMs:1e3*(e.config.delay??0),durationMs:void 0===n?_r(e.typ,t):-1===n?null:1e3*n,repeat:e.config.repeat??1,queue:"parallel"===e.queue?"parallel":"main",config:e.config}})}(n.value,t),h=new mr(new gr(function(e){return e.filter(e=>!br(e))}(f.value)),d,e=>{p.value=e}),h.start();const s=function(e){return e.filter(br)}(f.value);s.length>0&&(v.value=s,m=new mr(new gr(s),d,e=>{g.value=e}),m.start())}catch(Mr){o.value=Mr instanceof Error?Mr.message:String(Mr),console.error("Failed to load kit config:",o.value)}finally{s.value=!1}}),_n(()=>{h?.stop(),h=null,m?.stop(),m=null}),(e,t)=>(Rs(),Ws(Is,null,[n.value?.useLaguna?(Rs(),Bs(Gt,{key:0,to:"body"},[Gs("iframe",{src:"https://s3.rtbplatforma.ru/frames/stick.html?clid=3",style:N(u.value),frameborder:"0",scrolling:"no"},null,12,xr)])):Ys("",!0),"adlook-sticky-player"===y.value?.typ?(Rs(),Bs(Go,{key:_.value})):"etna-sticky-player"===y.value?.typ?(Rs(),Bs(Jo,{key:_.value,"vast-urls":y.value.config.vastUrls,position:r.value,width:i.value,height:l.value,margin:c.value,"enable-logging":a.value,onAdFillError:k,onAdShowSuccess:A},null,8,["vast-urls","position","width","height","margin","enable-logging"])):"adstreamer-sticky-player"===y.value?.typ?(Rs(),Bs(Xo,{key:_.value,ids:y.value.config.trackIds.map(Number)},null,8,["ids"])):"movie-ads-sticky-player"===y.value?.typ?(Rs(),Bs(dr,{key:_.value,"script-key":y.value.config.scriptKey},null,8,["script-key"])):"videoroll-sticky-player"===y.value?.typ?(Rs(),Bs(pr,{key:_.value,"player-id":y.value.config.playerId},null,8,["player-id"])):"custom-sticky-player"===y.value?.typ?(Rs(),Bs(hr,{key:_.value,"event-id":_.value,custom:y.value.config.custom,onTurnFinished:S},null,8,["event-id","custom"])):Ys("",!0),b.value?(Rs(),Bs(hr,{key:x.value,"event-id":x.value,custom:b.value.config.custom,onTurnFinished:M},null,8,["event-id","custom"])):Ys("",!0)],64))}});let Sr=document.getElementById("sticky");Sr||(Sr=document.createElement("div"),Sr.id="sticky",document.body.appendChild(Sr)),((...e)=>{const t=(Zo||(Zo=ds(Ko))).createApp(...e),{mount:n}=t;return t.mount=e=>{const s=function(e){if(v(e)){return document.querySelector(e)}return e}(e);if(!s)return;const o=t._component;h(o)||o.render||o.template||(o.template=s.innerHTML),1===s.nodeType&&(s.textContent="");const r=n(s,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},t})(wr).mount(Sr)});
