mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
var __defProp=Object.defineProperty,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),n),PetiteVue=function(e){"use strict";function t(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function n(e){if(p(e)){const t={};for(let s=0;s<e.length;s++){const r=e[s],o=m(r)?i(r):n(r);if(o)for(const e in o)t[e]=o[e]}return t}return m(e)||v(e)?e:void 0}const s=/;(?![^(]*\))/g,r=/:(.+)/;function i(e){const t={};return e.split(s).forEach((e=>{if(e){const n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function o(e){let t="";if(m(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const s=o(e[n]);s&&(t+=s+" ")}else if(v(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function c(e,t){if(e===t)return!0;let n=d(e),s=d(t);if(n||s)return!(!n||!s)&&e.getTime()===t.getTime();if(n=p(e),s=p(t),n||s)return!(!n||!s)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=c(e[s],t[s]);return n}(e,t);if(n=v(e),s=v(t),n||s){if(!n||!s)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const s=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(s&&!r||!s&&r||!c(e[n],t[n]))return!1}}return String(e)===String(t)}function l(e,t){return e.findIndex((e=>c(e,t)))}const f=Object.assign,u=Object.prototype.hasOwnProperty,a=(e,t)=>u.call(e,t),p=Array.isArray,h=e=>"[object Map]"===y(e),d=e=>e instanceof Date,m=e=>"string"==typeof e,g=e=>"symbol"==typeof e,v=e=>null!==e&&"object"==typeof e,b=Object.prototype.toString,y=e=>b.call(e),_=e=>m(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,x=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},w=/-(\w)/g,$=x((e=>e.replace(w,((e,t)=>t?t.toUpperCase():"")))),k=/\B([A-Z])/g,O=x((e=>e.replace(k,"-$1").toLowerCase())),S=e=>{const t=parseFloat(e);return isNaN(t)?e:t};function E(e,t){(t=t||undefined)&&t.active&&t.effects.push(e)}const j=e=>{const t=new Set(e);return t.w=0,t.n=0,t},A=e=>(e.w&C)>0,P=e=>(e.n&C)>0,R=new WeakMap;let N=0,C=1;const T=[];let M;const F=Symbol(""),B=Symbol("");class L{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],E(this,n)}run(){if(!this.active)return this.fn();if(!T.includes(this))try{return T.push(M=this),V.push(K),K=!0,C=1<<++N,N<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=C})(this):W(this),this.fn()}finally{N<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];A(r)&&!P(r)?r.delete(e):t[n++]=r,r.w&=~C,r.n&=~C}t.length=n}})(this),C=1<<--N,z(),T.pop();const e=T.length;M=e>0?T[e-1]:void 0}}stop(){this.active&&(W(this),this.onStop&&this.onStop(),this.active=!1)}}function W(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function I(e){e.effect.stop()}let K=!0;const V=[];function z(){const e=V.pop();K=void 0===e||e}function H(e,t,n){if(!K||void 0===M)return;let s=R.get(e);s||R.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=j()),function(e,t){let n=!1;N<=30?P(e)||(e.n|=C,n=!A(e)):n=!e.has(M);n&&(e.add(M),M.deps.push(e))}(r)}function J(e,t,n,s,r,i){const o=R.get(e);if(!o)return;let c=[];if("clear"===t)c=[...o.values()];else if("length"===n&&p(e))o.forEach(((e,t)=>{("length"===t||t>=s)&&c.push(e)}));else switch(void 0!==n&&c.push(o.get(n)),t){case"add":p(e)?_(n)&&c.push(o.get("length")):(c.push(o.get(F)),h(e)&&c.push(o.get(B)));break;case"delete":p(e)||(c.push(o.get(F)),h(e)&&c.push(o.get(B)));break;case"set":h(e)&&c.push(o.get(F))}if(1===c.length)c[0]&&Z(c[0]);else{const e=[];for(const t of c)t&&e.push(...t);Z(j(e))}}function Z(e,t){for(const n of p(e)?e:[...e])(n!==M||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const q=t("__proto__,__v_isRef,__isVue"),D=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(g)),G=Y(),U=Y(!0),Q=X();function X(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=ue(this);for(let t=0,r=this.length;t<r;t++)H(n,0,t+"");const s=n[t](...e);return-1===s||!1===s?n[t](...e.map(ue)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){V.push(K),K=!1;const n=ue(this)[t].apply(this,e);return z(),n}})),e}function Y(e=!1,t=!1){return function(n,s,r){if("__v_isReactive"===s)return!e;if("__v_isReadonly"===s)return e;if("__v_raw"===s&&r===(e?t?oe:ie:t?re:se).get(n))return n;const i=p(n);if(!e&&i&&a(Q,s))return Reflect.get(Q,s,r);const o=Reflect.get(n,s,r);if(g(s)?D.has(s):q(s))return o;if(e||H(n,0,s),t)return o;if(ae(o)){return!i||!_(s)?o.value:o}return v(o)?e?function(e){return fe(e,!0,ne,null,ie)}(o):le(o):o}}function ee(e=!1){return function(t,n,s,r){let i=t[n];if(!e&&!function(e){return!(!e||!e.__v_isReadonly)}(s)&&(s=ue(s),i=ue(i),!p(t)&&ae(i)&&!ae(s)))return i.value=s,!0;const o=p(t)&&_(n)?Number(n)<t.length:a(t,n),c=Reflect.set(t,n,s,r);return t===ue(r)&&(o?((e,t)=>!Object.is(e,t))(s,i)&&J(t,"set",n,s):J(t,"add",n,s)),c}}const te={get:G,set:ee(),deleteProperty:function(e,t){const n=a(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&J(e,"delete",t,void 0),s},has:function(e,t){const n=Reflect.has(e,t);return g(t)&&D.has(t)||H(e,0,t),n},ownKeys:function(e){return H(e,0,p(e)?"length":F),Reflect.ownKeys(e)}},ne={get:U,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},se=new WeakMap,re=new WeakMap,ie=new WeakMap,oe=new WeakMap;function ce(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=>y(e).slice(8,-1))(e))}function le(e){return e&&e.__v_isReadonly?e:fe(e,!1,te,null,se)}function fe(e,t,n,s,r){if(!v(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=ce(e);if(0===o)return e;const c=new Proxy(e,2===o?s:n);return r.set(e,c),c}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function ae(e){return Boolean(e&&!0===e.__v_isRef)}Promise.resolve();let pe=!1;const he=[],de=Promise.resolve(),me=e=>de.then(e),ge=e=>{he.includes(e)||he.push(e),pe||(pe=!0,me(ve))},ve=()=>{for(const e of he)e();he.length=0,pe=!1},be=/^(spellcheck|draggable|form|list|type)$/,ye=({el:e,get:t,effect:n,arg:s,modifiers:r})=>{let i;"class"===s&&(e._class=e.className),n((()=>{let n=t();if(s)(null==r?void 0:r.camel)&&(s=$(s)),_e(e,s,n,i);else{for(const t in n)_e(e,t,n[t],i&&i[t]);for(const t in i)n&&t in n||_e(e,t,null)}i=n}))},_e=(e,t,s,r)=>{if("class"===t)e.setAttribute("class",o(e._class?[e._class,s]:s)||"");else if("style"===t){s=n(s);const{style:t}=e;if(s)if(m(s))s!==r&&(t.cssText=s);else{for(const e in s)we(t,e,s[e]);if(r&&!m(r))for(const e in r)null==s[e]&&we(t,e,"")}else e.removeAttribute("style")}else e instanceof SVGElement||!(t in e)||be.test(t)?"true-value"===t?e._trueValue=s:"false-value"===t?e._falseValue=s:null!=s?e.setAttribute(t,s):e.removeAttribute(t):(e[t]=s,"value"===t&&(e._value=s))},xe=/\s*!important$/,we=(e,t,n)=>{p(n)?n.forEach((n=>we(e,t,n))):t.startsWith("--")?e.setProperty(t,n):xe.test(n)?e.setProperty(O(t),n.replace(xe,""),"important"):e[t]=n},$e=(e,t)=>{const n=e.getAttribute(t);return null!=n&&e.removeAttribute(t),n},ke=(e,t,n,s)=>{e.addEventListener(t,n,s)},Oe=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Se=["ctrl","shift","alt","meta"],Ee={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Se.some((n=>e[`${n}Key`]&&!t[n]))},je=({el:e,get:t,exp:n,arg:s,modifiers:r})=>{if(!s)return;let i=Oe.test(n)?t(`(e => ${n}(e))`):t(`($event => { ${n} })`);if("vue:mounted"!==s){if("vue:unmounted"===s)return()=>i();if(r){"click"===s&&(r.right&&(s="contextmenu"),r.middle&&(s="mouseup"));const e=i;i=t=>{if(!("key"in t)||O(t.key)in r){for(const e in r){const n=Ee[e];if(n&&n(t,r))return}return e(t)}}}ke(e,s,i,r)}else me(i)},Ae=({el:e,get:t,effect:n})=>{n((()=>{e.textContent=Pe(t())}))},Pe=e=>null==e?"":v(e)?JSON.stringify(e,null,2):String(e),Re=e=>"_value"in e?e._value:e.value,Ne=(e,t)=>{const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t},Ce=e=>{e.target.composing=!0},Te=e=>{const t=e.target;t.composing&&(t.composing=!1,Me(t,"input"))},Me=(e,t)=>{const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)},Fe=Object.create(null),Be=(e,t,n)=>Le(e,`return(${t})`,n),Le=(e,t,n)=>{const s=Fe[t]||(Fe[t]=We(t));try{return s(e,n)}catch(r){console.error(r)}},We=e=>{try{return new Function("$data","$el",`with($data){${e}}`)}catch(t){return console.error(`${t.message} in expression: ${e}`),()=>{}}},Ie={bind:ye,on:je,show:({el:e,get:t,effect:n})=>{const s=e.style.display;n((()=>{e.style.display=t()?s:"none"}))},text:Ae,html:({el:e,get:t,effect:n})=>{n((()=>{e.innerHTML=t()}))},model:({el:e,exp:t,get:n,effect:s,modifiers:r})=>{const i=e.type,o=n(`(val) => { ${t} = val }`),{trim:f,number:u="number"===i}=r||{};if("SELECT"===e.tagName){const t=e;ke(e,"change",(()=>{const e=Array.prototype.filter.call(t.options,(e=>e.selected)).map((e=>u?S(Re(e)):Re(e)));o(t.multiple?e:e[0])})),s((()=>{const e=n(),s=t.multiple;for(let n=0,r=t.options.length;n<r;n++){const r=t.options[n],i=Re(r);if(s)p(e)?r.selected=l(e,i)>-1:r.selected=e.has(i);else if(c(Re(r),e))return void(t.selectedIndex!==n&&(t.selectedIndex=n))}s||-1===t.selectedIndex||(t.selectedIndex=-1)}))}else if("checkbox"===i){let t;ke(e,"change",(()=>{const t=n(),s=e.checked;if(p(t)){const n=Re(e),r=l(t,n),i=-1!==r;if(s&&!i)o(t.concat(n));else if(!s&&i){const e=[...t];e.splice(r,1),o(e)}}else o(Ne(e,s))})),s((()=>{const s=n();p(s)?e.checked=l(s,Re(e))>-1:s!==t&&(e.checked=c(s,Ne(e,!0))),t=s}))}else if("radio"===i){let t;ke(e,"change",(()=>{o(Re(e))})),s((()=>{const s=n();s!==t&&(e.checked=c(s,Re(e)))}))}else{const t=e=>f?e.trim():u?S(e):e;ke(e,"compositionstart",Ce),ke(e,"compositionend",Te),ke(e,(null==r?void 0:r.lazy)?"change":"input",(()=>{e.composing||o(t(e.value))})),f&&ke(e,"change",(()=>{e.value=e.value.trim()})),s((()=>{if(e.composing)return;const s=e.value,r=n();document.activeElement===e&&t(s)===r||s!==r&&(e.value=r)}))}},effect:({el:e,ctx:t,exp:n,effect:s})=>{me((()=>s((()=>Le(t.scope,n,e)))))}},Ke=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ve=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ze=/^\(|\)$/g,He=/^[{[]\s*((?:[\w_$]+\s*,?\s*)+)[\]}]$/,Je=(e,t,n)=>{const s=t.match(Ke);if(!s)return;const r=e.nextSibling,i=e.parentElement,o=new Text("");i.insertBefore(o,e),i.removeChild(e);const c=s[2].trim();let l,f,u,a,h=s[1].trim().replace(ze,"").trim(),d=!1,m="key",g=e.getAttribute(m)||e.getAttribute(m=":key")||e.getAttribute(m="v-bind:key");g&&(e.removeAttribute(m),"key"===m&&(g=JSON.stringify(g))),(a=h.match(Ve))&&(h=h.replace(Ve,"").trim(),f=a[1].trim(),a[2]&&(u=a[2].trim())),(a=h.match(He))&&(l=a[1].split(",").map((e=>e.trim())),d="["===h[0]);let b,y,_,x=!1;const w=(e,t,s,r)=>{const i={};l?l.forEach(((e,n)=>i[e]=t[d?n:e])):i[h]=t,r?(f&&(i[f]=r),u&&(i[u]=s)):f&&(i[f]=s);const o=nt(n,i),c=g?Be(o.scope,g):s;return e.set(c,s),o.key=c,o},$=(t,n)=>{const s=new rt(e,t);return s.key=t.key,s.insert(i,n),s};return n.effect((()=>{const e=Be(n.scope,c),t=_;if([y,_]=(e=>{const t=new Map,n=[];if(p(e))for(let s=0;s<e.length;s++)n.push(w(t,e[s],s));else if("number"==typeof e)for(let s=0;s<e;s++)n.push(w(t,s+1,s));else if(v(e)){let s=0;for(const r in e)n.push(w(t,e[r],s++,r))}return[n,t]})(e),x){for(let t=0;t<b.length;t++)_.has(b[t].key)||b[t].remove();const e=[];let n,s,r=y.length;for(;r--;){const c=y[r],l=t.get(c.key);let f;null==l?f=$(c,n?n.el:o):(f=b[l],Object.assign(f.ctx.scope,c.scope),l!==r&&(b[l+1]===n&&s!==n||(s=f,f.insert(i,n?n.el:o)))),e.unshift(n=f)}b=e}else b=y.map((e=>$(e,o))),x=!0})),r},Ze=({el:e,ctx:{scope:{$refs:t}},get:n,effect:s})=>{let r;return s((()=>{const s=n();t[s]=e,r&&s!==r&&delete t[r],r=s})),()=>{r&&delete t[r]}},qe=/^(?:v-|:|@)/,De=/\.([\w-]+)/g;let Ge=!1;const Ue=(e,t)=>{const n=e.nodeType;if(1===n){const n=e;if(n.hasAttribute("v-pre"))return;let s;if($e(n,"v-cloak"),s=$e(n,"v-if"))return((e,t,n)=>{const s=e.parentElement,r=new Comment("v-if");s.insertBefore(r,e);const i=[{exp:t,el:e}];let o,c;for(;(o=e.nextElementSibling)&&(c=null,""===$e(o,"v-else")||(c=$e(o,"v-else-if")));)s.removeChild(o),i.push({exp:c,el:o});const l=e.nextSibling;let f;s.removeChild(e);let u=-1;const a=()=>{f&&(s.insertBefore(r,f.el),f.remove(),f=void 0)};return n.effect((()=>{for(let e=0;e<i.length;e++){const{exp:t,el:o}=i[e];if(!t||Be(n.scope,t))return void(e!==u&&(a(),f=new rt(o,n),f.insert(s,r),s.removeChild(r),u=e))}u=-1,a()})),l})(n,s,t);if(s=$e(n,"v-for"))return Je(n,s,t);if((s=$e(n,"v-scope"))||""===s){const e=s?Be(t.scope,s):{};t=nt(t,e),e.$template&&et(n,e.$template)}const r=null!=$e(n,"v-once");r&&(Ge=!0),(s=$e(n,"ref"))&&Ye(n,Ze,`"${s}"`,t),Qe(n,t);const i=[];for(const{name:e,value:o}of[...n.attributes])qe.test(e)&&"v-cloak"!==e&&("v-model"===e?i.unshift([e,o]):"@"===e[0]||/^v-on\b/.test(e)?i.push([e,o]):Xe(n,e,o,t));for(const[e,o]of i)Xe(n,e,o,t);r&&(Ge=!1)}else if(3===n){const n=e.data;if(n.includes(t.delimiters[0])){let s,r=[],i=0;for(;s=t.delimitersRE.exec(n);){const e=n.slice(i,s.index);e&&r.push(JSON.stringify(e)),r.push(`$s(${s[1]})`),i=s.index+s[0].length}i<n.length&&r.push(JSON.stringify(n.slice(i))),Ye(e,Ae,r.join("+"),t)}}else 11===n&&Qe(e,t)},Qe=(e,t)=>{let n=e.firstChild;for(;n;)n=Ue(n,t)||n.nextSibling},Xe=(e,t,n,s)=>{let r,i,o;if(":"===(t=t.replace(De,((e,t)=>((o||(o={}))[t]=!0,""))))[0])r=ye,i=t.slice(1);else if("@"===t[0])r=je,i=t.slice(1);else{const e=t.indexOf(":"),n=e>0?t.slice(2,e):t.slice(2);r=Ie[n]||s.dirs[n],i=e>0?t.slice(e+1):void 0}r&&(r===ye&&"ref"===i&&(r=Ze),Ye(e,r,n,s,i,o),e.removeAttribute(t))},Ye=(e,t,n,s,r,i)=>{const o=t({el:e,get:(t=n)=>Be(s.scope,t,e),effect:s.effect,ctx:s,exp:n,arg:r,modifiers:i});o&&s.cleanups.push(o)},et=(e,t)=>{if("#"!==t[0])e.innerHTML=t;else{const n=document.querySelector(t);e.appendChild(n.content.cloneNode(!0))}},tt=e=>{const t={...e,scope:e?e.scope:le({}),dirs:e?e.dirs:{},effects:[],blocks:[],cleanups:[],delimiters:["{{","}}"],delimitersRE:/\{\{([^]+?)\}\}/g,effect:e=>{if(Ge)return ge(e),e;const n=function(e,t){e.effect&&(e=e.effect.fn);const n=new L(e);t&&(f(n,t),t.scope&&E(n,t.scope)),t&&t.lazy||n.run();const s=n.run.bind(n);return s.effect=n,s}(e,{scheduler:()=>ge(n)});return t.effects.push(n),n}};return t},nt=(e,t={})=>{const n=e.scope,s=Object.create(n);Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)),s.$refs=Object.create(n.$refs);const r=le(new Proxy(s,{set:(e,t,s,i)=>i!==r||e.hasOwnProperty(t)?Reflect.set(e,t,s,i):Reflect.set(n,t,s)}));return st(r),{...e,scope:r}},st=e=>{for(const t of Object.keys(e))"function"==typeof e[t]&&(e[t]=e[t].bind(e))};class rt{constructor(e,t,n=!1){__publicField(this,"template"),__publicField(this,"ctx"),__publicField(this,"key"),__publicField(this,"parentCtx"),__publicField(this,"isFragment"),__publicField(this,"start"),__publicField(this,"end"),this.isFragment=e instanceof HTMLTemplateElement,n?this.template=e:this.isFragment?this.template=e.content.cloneNode(!0):this.template=e.cloneNode(!0),n?this.ctx=t:(this.parentCtx=t,t.blocks.push(this),this.ctx=tt(t)),Ue(this.template,this.ctx)}get el(){return this.start||this.template}insert(e,t=null){if(this.isFragment)if(this.start){let n,s=this.start;for(;s&&(n=s.nextSibling,e.insertBefore(s,t),s!==this.end);)s=n}else this.start=new Text(""),this.end=new Text(""),e.insertBefore(this.end,t),e.insertBefore(this.start,this.end),e.insertBefore(this.template,this.end);else e.insertBefore(this.template,t)}remove(){if(this.parentCtx&&((e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)})(this.parentCtx.blocks,this),this.start){const e=this.start.parentNode;let t,n=this.start;for(;n&&(t=n.nextSibling,e.removeChild(n),n!==this.end);)n=t}else this.template.parentNode.removeChild(this.template);this.teardown()}teardown(){this.ctx.blocks.forEach((e=>{e.teardown()})),this.ctx.effects.forEach(I),this.ctx.cleanups.forEach((e=>e()))}}const it=e=>e.replace(/[-.*+?^${}()|[\]\/\\]/g,"\\$&"),ot=e=>{const t=tt();if(e&&(t.scope=le(e),st(t.scope),e.$delimiters)){const[n,s]=t.delimiters=e.$delimiters;t.delimitersRE=new RegExp(it(n)+"([^]+?)"+it(s),"g")}let n;return t.scope.$s=Pe,t.scope.$nextTick=me,t.scope.$refs=Object.create(null),{directive(e,n){return n?(t.dirs[e]=n,this):t.dirs[e]},mount(e){if("string"==typeof e&&!(e=document.querySelector(e)))return;let s;return s=(e=e||document.documentElement).hasAttribute("v-scope")?[e]:[...e.querySelectorAll("[v-scope]")].filter((e=>!e.matches("[v-scope] [v-scope]"))),s.length||(s=[e]),n=s.map((e=>new rt(e,t,!0))),this},unmount(){n.forEach((e=>e.teardown()))}}};let ct;return(ct=document.currentScript)&&ct.hasAttribute("init")&&ot().mount(),e.createApp=ot,e.nextTick=me,e.reactive=le,Object.defineProperty(e,"__esModule",{value:!0}),e[Symbol.toStringTag]="Module",e}({}); |