(function(bt,zt){typeof exports==”object”&&typeof module<"u"?module.exports=zt():typeof define=="function"&&define.amd?define(zt):(bt=typeof globalThis<"u"?globalThis:bt||self,bt.kdBotSDK=zt())})(this,function(){"use strict";const bt="3.7.7",zt=bt,Nt=typeof Buffer=="function",li=typeof TextDecoder=="function"?new TextDecoder:void 0,ri=typeof TextEncoder=="function"?new TextEncoder:void 0,kt=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),ao=(e=>{let t={};return e.forEach((o,n)=>t[o]=n),t})(kt),xr=/^(?:[A-Za-zd+/]{4})*?(?:[A-Za-zd+/]{2}(?:==)?|[A-Za-zd+/]{3}=?)?$/,re=String.fromCharCode.bind(String),si=typeof Uint8Array.from==”function”?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),ci=e=>e.replace(/=/g,””).replace(/[+/]/g,t=>t==”+”?”-“:”_”),gi=e=>e.replace(/[^A-Za-z0-9+/]/g,””),ai=e=>{let t,o,n,i,l=””;const r=e.length%3;for(let s=0;s255||(n=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255)throw new TypeError(“invalid character found”);t=o<<16|n<<8|i,l+=kt[t>>18&63]+kt[t>>12&63]+kt[t>>6&63]+kt[t&63]}return r?l.slice(0,r-3)+”===”.substring(r):l},on=typeof btoa==”function”?e=>btoa(e):Nt?e=>Buffer.from(e,”binary”).toString(“base64”):ai,nn=Nt?e=>Buffer.from(e).toString(“base64”):e=>{let o=[];for(let n=0,i=e.length;nt?ci(nn(e)):nn(e),Wr=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?re(192|t>>>6)+re(128|t&63):re(224|t>>>12&15)+re(128|t>>>6&63)+re(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return re(240|t>>>18&7)+re(128|t>>>12&63)+re(128|t>>>6&63)+re(128|t&63)}},zr=/[uD800-uDBFF][uDC00-uDFFFF]|[^x00-x7F]/g,ui=e=>e.replace(zr,Wr),Ii=Nt?e=>Buffer.from(e,”utf8″).toString(“base64”):ri?e=>nn(ri.encode(e)):e=>on(ui(e)),yt=(e,t=!1)=>t?ci(Ii(e)):Ii(e),mi=e=>yt(e,!0),kr=/[xC0-xDF][x80-xBF]|[xE0-xEF][x80-xBF]{2}|[xF0-xF7][x80-xBF]{3}/g,Tr=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),o=t-65536;return re((o>>>10)+55296)+re((o&1023)+56320);case 3:return re((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return re((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},di=e=>e.replace(kr,Tr),pi=e=>{if(e=e.replace(/s+/g,””),!xr.test(e))throw new TypeError(“malformed base64.”);e+=”==”.slice(2-(e.length&3));let t,o=””,n,i;for(let l=0;l>16&255):i===64?re(t>>16&255,t>>8&255):re(t>>16&255,t>>8&255,t&255);return o},ln=typeof atob==”function”?e=>atob(gi(e)):Nt?e=>Buffer.from(e,”base64″).toString(“binary”):pi,Ci=Nt?e=>si(Buffer.from(e,”base64″)):e=>si(ln(e).split(“”).map(t=>t.charCodeAt(0))),Ai=e=>Ci(fi(e)),_r=Nt?e=>Buffer.from(e,”base64″).toString(“utf8″):li?e=>li.decode(Ci(e)):e=>di(ln(e)),fi=e=>gi(e.replace(/[-_]/g,t=>t==”-“?”+”:”/”)),rn=e=>_r(fi(e)),Sr=e=>{if(typeof e!=”string”)return!1;const t=e.replace(/s+/g,””).replace(/={0,2}$/,””);return!/[^s0-9a-zA-Z+/]/.test(t)||!/[^s0-9a-zA-Z-_]/.test(t)},hi=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),Zi=function(){const e=(t,o)=>Object.defineProperty(String.prototype,t,hi(o));e(“fromBase64”,function(){return rn(this)}),e(“toBase64”,function(t){return yt(this,t)}),e(“toBase64URI”,function(){return yt(this,!0)}),e(“toBase64URL”,function(){return yt(this,!0)}),e(“toUint8Array”,function(){return Ai(this)})},bi=function(){const e=(t,o)=>Object.defineProperty(Uint8Array.prototype,t,hi(o));e(“toBase64”,function(t){return uo(this,t)}),e(“toBase64URI”,function(){return uo(this,!0)}),e(“toBase64URL”,function(){return uo(this,!0)})},Jr={version:bt,VERSION:zt,atob:ln,atobPolyfill:pi,btoa:on,btoaPolyfill:ai,fromBase64:rn,toBase64:yt,encode:yt,encodeURI:mi,encodeURL:mi,utob:ui,btou:di,decode:rn,isValid:Sr,fromUint8Array:uo,toUint8Array:Ai,extendString:Zi,extendUint8Array:bi,extendBuiltins:()=>{Zi(),bi()}},Ni=(e,t,o={})=>{const{country:n,language:i}=t;let l=`country=${n}&language=${i}`;/?/.test(e)?e=e+`&${l}`:e=e+`?${l}`;let r={ReferenceUrl:t.referenceUrl,ReferenceName:t.referenceName,Brand:t.brand,SerialNumber:t.serialNumber,SpecialSupport:t.specialSupport,WarrantyStatus:t.warrantyStatus,Country_Code:t.countryCode,Language_Code:t.languageCode,ProductId:t.productId,country:t.country,language:t.language,originUrl:window.location.origin,…o};const s=Jr.encode(JSON.stringify(r));return console.log(“——kd-bot-plugin:enter params”,s),e=`${e}&data=${s}`,e},Vr=e=>{const t=document.createElement(“div”);t.id=e,document.body.appendChild(t)},Pr=(e,t,i)=>{var n=new Date;n.setTime(n.getTime()+i);var i=”expires=”+n.toUTCString();document.cookie=`${e}=${t};`+i+”;path=/”},Fr=e=>{for(var t=document.cookie.split(“; “),o=0;oo.has(n)}const V=yi.NODE_ENV!==”production”?Object.freeze({}):{},Mt=yi.NODE_ENV!==”production”?Object.freeze([]):[],$=()=>{},Lr=()=>!1,Tt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Io=e=>e.startsWith(“onUpdate:”),Q=Object.assign,sn=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Br=Object.prototype.hasOwnProperty,k=(e,t)=>Br.call(e,t),Y=Array.isArray,Dt=e=>mo(e)===”[object Map]”,Ur=e=>mo(e)===”[object Set]”,j=e=>typeof e==”function”,q=e=>typeof e==”string”,vt=e=>typeof e==”symbol”,F=e=>e!==null&&typeof e==”object”,cn=e=>(F(e)||j(e))&&j(e.then)&&j(e.catch),Qr=Object.prototype.toString,mo=e=>Qr.call(e),gn=e=>mo(e).slice(8,-1),Xr=e=>mo(e)===”[object Object]”,an=e=>q(e)&&e!==”NaN”&&e[0]!==”-“&&””+parseInt(e,10)===e,_t=We(“,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted”),Hr=We(“bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo”),po=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Kr=/-(w)/g,Ge=po(e=>e.replace(Kr,(t,o)=>o?o.toUpperCase():””)),$r=/B([A-Z])/g,Ue=po(e=>e.replace($r,”-$1″).toLowerCase()),rt=po(e=>e.charAt(0).toUpperCase()+e.slice(1)),st=po(e=>e?`on${rt(e)}`:””),Qe=(e,t)=>!Object.is(e,t),St=(e,…t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},qr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Mi;const un=()=>Mi||(Mi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ao(e){if(Y(e)){const t={};for(let o=0;o{if(o){const n=o.split(ts);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Gt(e){let t=””;if(q(e))t=e;else if(Y(e))for(let o=0;o=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Te()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Xe,o=ct;try{return Xe=!0,ct=this,this._runnings++,vi(this),this.fn()}finally{Gi(this),this._runnings–,ct=o,Xe=t}}stop(){this.active&&(vi(this),Gi(this),this.onStop&&this.onStop(),this.active=!1)}}function ds(e){return e.value}function vi(e){e._trackId++,e._depsLength=0}function Gi(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const o=new Map;return o.cleanup=e,o.computed=t,o},fo=new WeakMap,gt=Symbol(ee.NODE_ENV!==”production”?”iterate”:””),An=Symbol(ee.NODE_ENV!==”production”?”Map key iterate”:””);function se(e,t,o){if(Xe&&ct){let n=fo.get(e);n||fo.set(e,n=new Map);let i=n.get(o);i||n.set(o,i=Ri(()=>n.delete(o))),ji(ct,i,ee.NODE_ENV!==”production”?{target:e,type:t,key:o}:void 0)}}function Oe(e,t,o,n,i,l){const r=fo.get(e);if(!r)return;let s=[];if(t===”clear”)s=[…r.values()];else if(o===”length”&&Y(e)){const g=Number(n);r.forEach((I,p)=>{(p===”length”||!vt(p)&&p>=g)&&s.push(I)})}else switch(o!==void 0&&s.push(r.get(o)),t){case”add”:Y(e)?an(o)&&s.push(r.get(“length”)):(s.push(r.get(gt)),Dt(e)&&s.push(r.get(An)));break;case”delete”:Y(e)||(s.push(r.get(gt)),Dt(e)&&s.push(r.get(An)));break;case”set”:Dt(e)&&s.push(r.get(gt));break}dn();for(const g of s)g&&Ei(g,4,ee.NODE_ENV!==”production”?{target:e,type:t,key:o,newValue:n,oldValue:i,oldTarget:l}:void 0);pn()}function ps(e,t){const o=fo.get(e);return o&&o.get(t)}const Cs=We(“__proto__,__v_isRef,__isVue”),wi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==”arguments”&&e!==”caller”).map(e=>Symbol[e]).filter(vt)),xi=As();function As(){const e={};return[“includes”,”indexOf”,”lastIndexOf”].forEach(t=>{e[t]=function(…o){const n=w(this);for(let l=0,r=this.length;l{e[t]=function(…o){ke(),dn();const n=w(this)[t].apply(this,o);return pn(),Te(),n}}),e}function fs(e){vt(e)||(e=String(e));const t=w(this);return se(t,”has”,e),t.hasOwnProperty(e)}class Wi{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){const i=this._isReadonly,l=this._isShallow;if(o===”__v_isReactive”)return!i;if(o===”__v_isReadonly”)return i;if(o===”__v_isShallow”)return l;if(o===”__v_raw”)return n===(i?l?Bi:Li:l?Fi:Pi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=Y(t);if(!i){if(r&&k(xi,o))return Reflect.get(xi,o,n);if(o===”hasOwnProperty”)return fs}const s=Reflect.get(t,o,n);return(vt(o)?wi.has(o):Cs(o))||(i||se(t,”get”,o),l)?s:ie(s)?r&&an(o)?s:s.value:F(s)?i?Ui(s):Jt(s):s}}class zi extends Wi{constructor(t=!1){super(!1,t)}set(t,o,n,i){let l=t[o];if(!this._isShallow){const g=at(l);if(!ut(n)&&!at(n)&&(l=w(l),n=w(n)),!Y(t)&&ie(l)&&!ie(n))return g?!1:(l.value=n,!0)}const r=Y(t)&&an(o)?Number(o)e,ho=e=>Reflect.getPrototypeOf(e);function Zo(e,t,o=!1,n=!1){e=e.__v_raw;const i=w(e),l=w(t);o||(Qe(t,l)&&se(i,”get”,t),se(i,”get”,l));const{has:r}=ho(i),s=n?fn:o?hn:Vt;if(r.call(i,t))return s(e.get(t));if(r.call(i,l))return s(e.get(l));e!==i&&e.get(t)}function bo(e,t=!1){const o=this.__v_raw,n=w(o),i=w(e);return t||(Qe(e,i)&&se(n,”has”,e),se(n,”has”,i)),e===i?o.has(e):o.has(e)||o.has(i)}function No(e,t=!1){return e=e.__v_raw,!t&&se(w(e),”iterate”,gt),Reflect.get(e,”size”,e)}function Ti(e){e=w(e);const t=w(this);return ho(t).has.call(t,e)||(t.add(e),Oe(t,”add”,e,e)),this}function _i(e,t){t=w(t);const o=w(this),{has:n,get:i}=ho(o);let l=n.call(o,e);l?ee.NODE_ENV!==”production”&&Vi(o,n,e):(e=w(e),l=n.call(o,e));const r=i.call(o,e);return o.set(e,t),l?Qe(t,r)&&Oe(o,”set”,e,t,r):Oe(o,”add”,e,t),this}function Si(e){const t=w(this),{has:o,get:n}=ho(t);let i=o.call(t,e);i?ee.NODE_ENV!==”production”&&Vi(t,o,e):(e=w(e),i=o.call(t,e));const l=n?n.call(t,e):void 0,r=t.delete(e);return i&&Oe(t,”delete”,e,void 0,l),r}function Ji(){const e=w(this),t=e.size!==0,o=ee.NODE_ENV!==”production”?Dt(e)?new Map(e):new Set(e):void 0,n=e.clear();return t&&Oe(e,”clear”,void 0,void 0,o),n}function yo(e,t){return function(n,i){const l=this,r=l.__v_raw,s=w(r),g=t?fn:e?hn:Vt;return!e&&se(s,”iterate”,gt),r.forEach((I,p)=>n.call(i,g(I),g(p),l))}}function Mo(e,t,o){return function(…n){const i=this.__v_raw,l=w(i),r=Dt(l),s=e===”entries”||e===Symbol.iterator&&r,g=e===”keys”&&r,I=i[e](…n),p=o?fn:t?hn:Vt;return!t&&se(l,”iterate”,g?An:gt),{next(){const{value:m,done:C}=I.next();return C?{value:m,done:C}:{value:s?[p(m[0]),p(m[1])]:p(m),done:C}},[Symbol.iterator](){return this}}}}function He(e){return function(…t){if(ee.NODE_ENV!==”production”){const o=t[0]?`on key “${t[0]}” `:””;ze(`${rt(e)} operation ${o}failed: target is readonly.`,w(this))}return e===”delete”?!1:e===”clear”?void 0:this}}function ys(){const e={get(l){return Zo(this,l)},get size(){return No(this)},has:bo,add:Ti,set:_i,delete:Si,clear:Ji,forEach:yo(!1,!1)},t={get(l){return Zo(this,l,!1,!0)},get size(){return No(this)},has:bo,add:Ti,set:_i,delete:Si,clear:Ji,forEach:yo(!1,!0)},o={get(l){return Zo(this,l,!0)},get size(){return No(this,!0)},has(l){return bo.call(this,l,!0)},add:He(“add”),set:He(“set”),delete:He(“delete”),clear:He(“clear”),forEach:yo(!0,!1)},n={get(l){return Zo(this,l,!0,!0)},get size(){return No(this,!0)},has(l){return bo.call(this,l,!0)},add:He(“add”),set:He(“set”),delete:He(“delete”),clear:He(“clear”),forEach:yo(!0,!0)};return[“keys”,”values”,”entries”,Symbol.iterator].forEach(l=>{e[l]=Mo(l,!1,!1),o[l]=Mo(l,!0,!1),t[l]=Mo(l,!1,!0),n[l]=Mo(l,!0,!0)}),[e,o,t,n]}const[Ms,Ds,vs,Gs]=ys();function Do(e,t){const o=t?e?Gs:vs:e?Ds:Ms;return(n,i,l)=>i===”__v_isReactive”?!e:i===”__v_isReadonly”?e:i===”__v_raw”?n:Reflect.get(k(o,i)&&i in n?o:n,i,l)}const Os={get:Do(!1,!1)},Ys={get:Do(!1,!0)},js={get:Do(!0,!1)},Es={get:Do(!0,!0)};function Vi(e,t,o){const n=w(o);if(n!==o&&t.call(e,n)){const i=gn(e);ze(`Reactive ${i} contains both the raw and reactive versions of the same object${i===”Map”?” as keys”:””}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Pi=new WeakMap,Fi=new WeakMap,Li=new WeakMap,Bi=new WeakMap;function Rs(e){switch(e){case”Object”:case”Array”:return 1;case”Map”:case”Set”:case”WeakMap”:case”WeakSet”:return 2;default:return 0}}function ws(e){return e.__v_skip||!Object.isExtensible(e)?0:Rs(gn(e))}function Jt(e){return at(e)?e:vo(e,!1,hs,Os,Pi)}function xs(e){return vo(e,!1,bs,Ys,Fi)}function Ui(e){return vo(e,!0,Zs,js,Li)}function Ye(e){return vo(e,!0,Ns,Es,Bi)}function vo(e,t,o,n,i){if(!F(e))return ee.NODE_ENV!==”production”&&ze(`value cannot be made ${t?”readonly”:”reactive”}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=i.get(e);if(l)return l;const r=ws(e);if(r===0)return e;const s=new Proxy(e,r===2?n:o);return i.set(e,s),s}function Ot(e){return at(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function ut(e){return!!(e&&e.__v_isShallow)}function Go(e){return e?!!e.__v_raw:!1}function w(e){const t=e&&e.__v_raw;return t?w(t):e}function Oo(e){return Object.isExtensible(e)&&Co(e,”__v_skip”,!0),e}const Vt=e=>F(e)?Jt(e):e,hn=e=>F(e)?Ui(e):e,Ws=”Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free”;class Qi{constructor(t,o,n,i){this.getter=t,this._setter=o,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new In(()=>t(this._value),()=>Yo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=w(this);return(!t._cacheable||t.effect.dirty)&&Qe(t._value,t._value=t.effect.run())&&Yo(t,4),Xi(t),t.effect._dirtyLevel>=2&&(ee.NODE_ENV!==”production”&&this._warnRecursive&&ze(Ws,`
getter: `,this.getter),Yo(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function zs(e,t,o=!1){let n,i;const l=j(e);l?(n=e,i=ee.NODE_ENV!==”production”?()=>{ze(“Write operation failed: computed value is readonly”)}:$):(n=e.get,i=e.set);const r=new Qi(n,i,l||!i,o);return ee.NODE_ENV!==”production”&&t&&!o&&(r.effect.onTrack=t.onTrack,r.effect.onTrigger=t.onTrigger),r}function Xi(e){var t;Xe&&ct&&(e=w(e),ji(ct,(t=e.dep)!=null?t:e.dep=Ri(()=>e.dep=void 0,e instanceof Qi?e:void 0),ee.NODE_ENV!==”production”?{target:e,type:”get”,key:”value”}:void 0))}function Yo(e,t=4,o,n){e=w(e);const i=e.dep;i&&Ei(i,t,ee.NODE_ENV!==”production”?{target:e,type:”set”,key:”value”,newValue:o,oldValue:n}:void 0)}function ie(e){return!!(e&&e.__v_isRef===!0)}function Yt(e){return ks(e,!1)}function ks(e,t){return ie(e)?e:new Ts(e,t)}class Ts{constructor(t,o){this.__v_isShallow=o,this.dep=void 0,this.__v_isRef=!0,this._rawValue=o?t:w(t),this._value=o?t:Vt(t)}get value(){return Xi(this),this._value}set value(t){const o=this.__v_isShallow||ut(t)||at(t);if(t=o?t:w(t),Qe(t,this._rawValue)){const n=this._rawValue;this._rawValue=t,this._value=o?t:Vt(t),Yo(this,4,t,n)}}}function jt(e){return ie(e)?e.value:e}const _s={get:(e,t,o)=>jt(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const i=e[t];return ie(i)&&!ie(o)?(i.value=o,!0):Reflect.set(e,t,o,n)}};function Hi(e){return Ot(e)?e:new Proxy(e,_s)}function Ki(e){ee.NODE_ENV!==”production”&&!Go(e)&&ze(“toRefs() expects a reactive object but received a plain one.”);const t=Y(e)?new Array(e.length):{};for(const o in e)t[o]=Js(e,o);return t}class Ss{constructor(t,o,n){this._object=t,this._key=o,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ps(w(this._object),this._key)}}function Js(e,t,o){const n=e[t];return ie(n)?n:new Ss(e,t,o)}var u={};const It=[];function jo(e){It.push(e)}function Eo(){It.pop()}function y(e,…t){ke();const o=It.length?It[It.length-1].component:null,n=o&&o.appContext.config.warnHandler,i=Vs();if(n)_e(n,o,11,[e+t.map(l=>{var r,s;return(s=(r=l.toString)==null?void 0:r.call(l))!=null?s:JSON.stringify(l)}).join(“”),o&&o.proxy,i.map(({vnode:l})=>`at <${Ho(o,l.type)}>`).join(`
`),i]);else{const l=[`[Vue warn]: ${e}`,…t];i.length&&l.push(`
`,…Ps(i)),console.warn(…l)}Te()}function Vs(){let e=It[It.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Ps(e){const t=[];return e.forEach((o,n)=>{t.push(…n===0?[]:[`
`],…Fs(o))}),t}function Fs({vnode:e,recurseCount:t}){const o=t>0?`… (${t} recursive calls)`:””,n=e.component?e.component.parent==null:!1,i=` at <${Ho(e.component,e.type,n)}`,l=">“+o;return e.props?[i,…Ls(e.props),l]:[i+l]}function Ls(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(…$i(n,e[n]))}),o.length>3&&t.push(” …”),t}function $i(e,t,o){return q(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t==”number”||typeof t==”boolean”||t==null?o?t:[`${e}=${t}`]:ie(t)?(t=$i(e,w(t.value),!0),o?t:[`${e}=Ref<`,t,">“]):j(t)?[`${e}=fn${t.name?`<${t.name}>`:””}`]:(t=w(t),o?t:[`${e}=`,t])}const Zn={sp:”serverPrefetch hook”,bc:”beforeCreate hook”,c:”created hook”,bm:”beforeMount hook”,m:”mounted hook”,bu:”beforeUpdate hook”,u:”updated”,bum:”beforeUnmount hook”,um:”unmounted hook”,a:”activated hook”,da:”deactivated hook”,ec:”errorCaptured hook”,rtc:”renderTracked hook”,rtg:”renderTriggered hook”,0:”setup function”,1:”render function”,2:”watcher getter”,3:”watcher callback”,4:”watcher cleanup function”,5:”native event handler”,6:”component event handler”,7:”vnode hook”,8:”directive hook”,9:”transition hook”,10:”app errorHandler”,11:”app warnHandler”,12:”ref function”,13:”async component loader”,14:”scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core .”};function _e(e,t,o,n){try{return n?e(…n):e()}catch(i){Pt(i,t,o)}}function Ne(e,t,o,n){if(j(e)){const i=_e(e,t,o,n);return i&&cn(i)&&i.catch(l=>{Pt(l,t,o)}),i}if(Y(e)){const i=[];for(let l=0;l>>1,i=ce[n],l=Lt(i);lje&&ce.splice(t,1)}function tl(e){Y(e)?Et.push(…e):(!Ke||!Ke.includes(e,e.allowRecurse?mt+1:mt))&&Et.push(e),el()}function ol(e,t,o=Ft?je+1:0){for(u.NODE_ENV!==”production”&&(t=t||new Map);oLt(o)-Lt(n));if(Et.length=0,Ke){Ke.push(…t);return}for(Ke=t,u.NODE_ENV!==”production”&&(e=e||new Map),mt=0;mte.id==null?1/0:e.id,Ks=(e,t)=>{const o=Lt(e)-Lt(t);if(o===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return o};function il(e){bn=!1,Ft=!0,u.NODE_ENV!==”production”&&(e=e||new Map),ce.sort(Ks);const t=u.NODE_ENV!==”production”?o=>yn(e,o):$;try{for(je=0;jeUs){const n=t.ownerInstance,i=n&&Xn(n.type);return Pt(`Maximum recursive updates exceeded${i?` in component <${i}>`:””}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,o+1)}}let dt=!1;const pt=new Set;u.NODE_ENV!==”production”&&(un().__VUE_HMR_RUNTIME__={createRecord:Mn(ll),rerender:Mn(ec),reload:Mn(tc)});const Ct=new Map;function $s(e){const t=e.type.__hmrId;let o=Ct.get(t);o||(ll(t,e.type),o=Ct.get(t)),o.instances.add(e)}function qs(e){Ct.get(e.type.__hmrId).instances.delete(e)}function ll(e,t){return Ct.has(e)?!1:(Ct.set(e,{initialDef:Bt(t),instances:new Set}),!0)}function Bt(e){return or(e)?e.__vccOpts:e}function ec(e,t){const o=Ct.get(e);o&&(o.initialDef.render=t,[…o.instances].forEach(n=>{t&&(n.render=t,Bt(n.type).render=t),n.renderCache=[],dt=!0,n.effect.dirty=!0,n.update(),dt=!1}))}function tc(e,t){const o=Ct.get(e);if(!o)return;t=Bt(t),rl(o.initialDef,t);const n=[…o.instances];for(const i of n){const l=Bt(i.type);pt.has(l)||(l!==o.initialDef&&rl(l,t),pt.add(l)),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(pt.add(l),i.ceReload(t.styles),pt.delete(l)):i.parent?(i.parent.effect.dirty=!0,Ro(()=>{i.parent.update(),pt.delete(l)})):i.appContext.reload?i.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}tl(()=>{for(const i of n)pt.delete(Bt(i.type))})}function rl(e,t){Q(e,t);for(const o in e)o!==”__file”&&!(o in t)&&delete e[o]}function Mn(e){return(t,o)=>{try{return e(t,o)}catch(n){console.error(n),console.warn(“[HMR] Something went wrong during Vue component hot-reload. Full reload required.”)}}}let Ee,Ut=[],Dn=!1;function Qt(e,…t){Ee?Ee.emit(e,…t):Dn||Ut.push({event:e,args:t})}function sl(e,t){var o,n;Ee=e,Ee?(Ee.enabled=!0,Ut.forEach(({event:i,args:l})=>Ee.emit(i,…l)),Ut=[]):typeof window<"u"&&window.HTMLElement&&!((n=(o=window.navigator)==null?void 0:o.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(l=>{sl(l,t)}),setTimeout(()=>{Ee||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Dn=!0,Ut=[])},3e3)):(Dn=!0,Ut=[])}function oc(e,t){Qt(“app:init”,e,t,{Fragment:ae,Text:qt,Comment:Ce,Static:Po})}function nc(e){Qt(“app:unmount”,e)}const ic=vn(“component:added”),cl=vn(“component:updated”),lc=vn(“component:removed”),rc=e=>{Ee&&typeof Ee.cleanupBuffer==”function”&&!Ee.cleanupBuffer(e)&&lc(e)};/*! #__NO_SIDE_EFFECTS__ */function vn(e){return t=>{Qt(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const sc=gl(“perf:start”),cc=gl(“perf:end”);function gl(e){return(t,o,n)=>{Qt(e,t.appContext.app,t.uid,t,o,n)}}function gc(e,t,o){Qt(“component:emit”,e.appContext.app,e,t,o)}function ac(e,t,…o){if(e.isUnmounted)return;const n=e.vnode.props||V;if(u.NODE_ENV!==”production”){const{emitsOptions:p,propsOptions:[m]}=e;if(p)if(!(t in p))(!m||!(st(t)in m))&&y(`Component emitted event “${t}” but it is neither declared in the emits option nor as an “${st(t)}” prop.`);else{const C=p[t];j(C)&&(C(…o)||y(`Invalid event arguments: event validation failed for event “${t}”.`))}}let i=o;const l=t.startsWith(“update:”),r=l&&t.slice(7);if(r&&r in n){const p=`${r===”modelValue”?”model”:r}Modifiers`,{number:m,trim:C}=n[p]||V;C&&(i=o.map(v=>q(v)?v.trim():v)),m&&(i=o.map(qr))}if(u.NODE_ENV!==”production”&&gc(e,t,i),u.NODE_ENV!==”production”){const p=t.toLowerCase();p!==t&&n[st(p)]&&y(`Event “${p}” is emitted in component ${Ho(e,e.type)} but the handler is registered for “${t}”. Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use “${Ue(t)}” instead of “${t}”.`)}let s,g=n[s=st(t)]||n[s=st(Ge(t))];!g&&l&&(g=n[s=st(Ue(t))]),g&&Ne(g,e,6,i);const I=n[s+”Once”];if(I){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Ne(I,e,6,i)}}function al(e,t,o=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const l=e.emits;let r={},s=!1;if(!j(e)){const g=I=>{const p=al(I,t,!0);p&&(s=!0,Q(r,p))};!o&&t.mixins.length&&t.mixins.forEach(g),e.extends&&g(e.extends),e.mixins&&e.mixins.forEach(g)}return!l&&!s?(F(e)&&n.set(e,null),null):(Y(l)?l.forEach(g=>r[g]=null):Q(r,l),F(e)&&n.set(e,r),r)}function wo(e,t){return!e||!Tt(t)?!1:(t=t.slice(2).replace(/Once$/,””),k(e,t[0].toLowerCase()+t.slice(1))||k(e,Ue(t))||k(e,t))}let te=null,xo=null;function Wo(e){const t=te;return te=e,xo=e&&e.type.__scopeId||null,t}function uc(e){xo=e}function Ic(){xo=null}function mc(e,t=te,o){if(!t||e._n)return e;const n=(…i)=>{n._d&&Ll(-1);const l=Wo(t);let r;try{r=e(…i)}finally{Wo(l),n._d&&Ll(1)}return u.NODE_ENV!==”production”&&cl(t),r};return n._n=!0,n._c=!0,n._d=!0,n}let Gn=!1;function zo(){Gn=!0}function On(e){const{type:t,vnode:o,proxy:n,withProxy:i,propsOptions:[l],slots:r,attrs:s,emit:g,render:I,renderCache:p,props:m,data:C,setupState:v,ctx:x,inheritAttrs:W}=e,fe=Wo(e);let X,K;u.NODE_ENV!==”production”&&(Gn=!1);try{if(o.shapeFlag&4){const U=i||n,ue=u.NODE_ENV!==”production”&&v.__isScriptSetup?new Proxy(U,{get(z,Ie,me){return y(`Property ‘${String(Ie)}’ was accessed via ‘this’. Avoid using ‘this’ in templates.`),Reflect.get(z,Ie,me)}}):U;X=Me(I.call(ue,U,p,u.NODE_ENV!==”production”?Ye(m):m,v,C,x)),K=s}else{const U=t;u.NODE_ENV!==”production”&&s===m&&zo(),X=Me(U.length>1?U(u.NODE_ENV!==”production”?Ye(m):m,u.NODE_ENV!==”production”?{get attrs(){return zo(),Ye(s)},slots:r,emit:g}:{attrs:s,slots:r,emit:g}):U(u.NODE_ENV!==”production”?Ye(m):m,null)),K=t.props?s:dc(s)}}catch(U){eo.length=0,Pt(U,e,1),X=H(Ce)}let L=X,E;if(u.NODE_ENV!==”production”&&X.patchFlag>0&&X.patchFlag&2048&&([L,E]=ul(X)),K&&W!==!1){const U=Object.keys(K),{shapeFlag:ue}=L;if(U.length){if(ue&7)l&&U.some(Io)&&(K=pc(K,l)),L=et(L,K,!1,!0);else if(u.NODE_ENV!==”production”&&!Gn&&L.type!==Ce){const z=Object.keys(s),Ie=[],me=[];for(let Le=0,nt=z.length;Le renders non-element root node that cannot be animated.”),L.transition=o.transition),u.NODE_ENV!==”production”&&E?E(L):X=L,Wo(fe),X}const ul=e=>{const t=e.children,o=e.dynamicChildren,n=Yn(t,!1);if(n){if(u.NODE_ENV!==”production”&&n.patchFlag>0&&n.patchFlag&2048)return ul(n)}else return[e,void 0];const i=t.indexOf(n),l=o?o.indexOf(n):-1,r=s=>{t[i]=s,o&&(l>-1?o[l]=s:s.patchFlag>0&&(e.dynamicChildren=[…o,s]))};return[Me(n),r]};function Yn(e,t=!0){let o;for(let n=0;n0&&o.patchFlag&2048)return Yn(o.children)}}else return}return o}const dc=e=>{let t;for(const o in e)(o===”class”||o===”style”||Tt(o))&&((t||(t={}))[o]=e[o]);return t},pc=(e,t)=>{const o={};for(const n in e)(!Io(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o},Il=e=>e.shapeFlag&7||e.type===Ce;function Cc(e,t,o){const{props:n,children:i,component:l}=e,{props:r,children:s,patchFlag:g}=t,I=l.emitsOptions;if(u.NODE_ENV!==”production”&&(i||s)&&dt||t.dirs||t.transition)return!0;if(o&&g>=0){if(g&1024)return!0;if(g&16)return n?ml(n,r,I):!!r;if(g&8){const p=t.dynamicProps;for(let m=0;me.__isSuspense;function yc(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(…e):t.effects.push(e):tl(e)}function ko(e,t,o=ne,n=!1){if(o){const i=o[e]||(o[e]=[]),l=t.__weh||(t.__weh=(…r)=>{ke();const s=io(o),g=Ne(t,o,e,r);return s(),Te(),g});return n?i.unshift(l):i.push(l),l}else if(u.NODE_ENV!==”production”){const i=st(Zn[e].replace(/ hook$/,””));y(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Se=e=>(t,o=ne)=>{(!Qo||e===”sp”)&&ko(e,(…n)=>t(…n),o)},Mc=Se(“bm”),pl=Se(“m”),Dc=Se(“bu”),vc=Se(“u”),Gc=Se(“bum”),jn=Se(“um”),Oc=Se(“sp”),Yc=Se(“rtg”),jc=Se(“rtc”);function Ec(e,t=ne){ko(“ec”,e,t)}function Cl(e){Hr(e)&&y(“Do not use built-in directive ids as custom directive id: “+e)}function Rc(e,t){if(te===null)return u.NODE_ENV!==”production”&&y(“withDirectives can only be used inside render functions.”),e;const o=Xo(te),n=e.dirs||(e.dirs=[]);for(let i=0;it(r,s,void 0,l));else{const r=Object.keys(e);i=new Array(r.length);for(let s=0,g=r.length;s!!e.type.__asyncLoader;function xc(e,t,o={},n,i){if(te.isCE||te.parent&&Xt(te.parent)&&te.parent.isCE)return H(“slot”,o,n);let l=e[t];u.NODE_ENV!==”production”&&l&&l.length>1&&(y(“SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.”),l=()=>[]),l&&l._c&&(l._d=!1),oe();const r=l&&Al(l(o)),s=oo(ae,{key:o.key||r&&r.key||`_${t}`},r||[],r&&e._===1?64:-2);return l&&l._c&&(l._d=!0),s}function Al(e){return e.some(t=>Fo(t)?!(t.type===Ce||t.type===ae&&!Al(t.children)):!0)?e:null}const Rn=e=>e?$l(e)?Xo(e):Rn(e.parent):null,ft=Q(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>u.NODE_ENV!==”production”?Ye(e.props):e.props,$attrs:e=>u.NODE_ENV!==”production”?Ye(e.attrs):e.attrs,$slots:e=>u.NODE_ENV!==”production”?Ye(e.slots):e.slots,$refs:e=>u.NODE_ENV!==”production”?Ye(e.refs):e.refs,$parent:e=>Rn(e.parent),$root:e=>Rn(e.root),$emit:e=>e.emit,$options:e=>zn(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ro(e.update)}),$nextTick:e=>e.n||(e.n=Qs.bind(e.proxy)),$watch:e=>ug.bind(e)}),wn=e=>e===”_”||e===”$”,xn=(e,t)=>e!==V&&!e.__isScriptSetup&&k(e,t),fl={get({_:e},t){if(t===”__v_skip”)return!0;const{ctx:o,setupState:n,data:i,props:l,accessCache:r,type:s,appContext:g}=e;if(u.NODE_ENV!==”production”&&t===”__isVue”)return!0;let I;if(t[0]!==”$”){const v=r[t];if(v!==void 0)switch(v){case 1:return n[t];case 2:return i[t];case 4:return o[t];case 3:return l[t]}else{if(xn(n,t))return r[t]=1,n[t];if(i!==V&&k(i,t))return r[t]=2,i[t];if((I=e.propsOptions[0])&&k(I,t))return r[t]=3,l[t];if(o!==V&&k(o,t))return r[t]=4,o[t];Wn&&(r[t]=0)}}const p=ft[t];let m,C;if(p)return t===”$attrs”?(se(e.attrs,”get”,””),u.NODE_ENV!==”production”&&zo()):u.NODE_ENV!==”production”&&t===”$slots”&&se(e,”get”,t),p(e);if((m=s.__cssModules)&&(m=m[t]))return m;if(o!==V&&k(o,t))return r[t]=4,o[t];if(C=g.config.globalProperties,k(C,t))return C[t];u.NODE_ENV!==”production”&&te&&(!q(t)||t.indexOf(“__v”)!==0)&&(i!==V&&wn(t[0])&&k(i,t)?y(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character (“$” or “_”) and is not proxied on the render context.`):e===te&&y(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,o){const{data:n,setupState:i,ctx:l}=e;return xn(i,t)?(i[t]=o,!0):u.NODE_ENV!==”production”&&i.__isScriptSetup&&k(i,t)?(y(`Cannot mutate