Xazn-app/node_modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js

7 lines
98 KiB
JavaScript
Raw Normal View History

2025-05-22 16:37:43 +08:00
/**
* @vue/runtime-dom v3.5.17
2025-05-22 16:37:43 +08:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/var VueRuntimeDOM=function(e){"use strict";var t,n;let l,r,i,s,o,a,u,c,f,p,d,h;function g(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}let m={},_=[],y=()=>{},b=()=>!1,S=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),C=e=>e.startsWith("onUpdate:"),x=Object.assign,w=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},E=Object.prototype.hasOwnProperty,k=(e,t)=>E.call(e,t),T=Array.isArray,A=e=>"[object Map]"===F(e),R=e=>"[object Set]"===F(e),O=e=>"[object Date]"===F(e),N=e=>"function"==typeof e,P=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,L=e=>(I(e)||N(e))&&N(e.then)&&N(e.catch),D=Object.prototype.toString,F=e=>D.call(e),V=e=>"[object Object]"===F(e),U=e=>P(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,j=g(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),B=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$=/-(\w)/g,H=B(e=>e.replace($,(e,t)=>t?t.toUpperCase():"")),W=/\B([A-Z])/g,K=B(e=>e.replace(W,"-$1").toLowerCase()),z=B(e=>e.charAt(0).toUpperCase()+e.slice(1)),q=B(e=>e?`on${z(e)}`:""),G=(e,t)=>!Object.is(e,t),J=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},X=(e,t,n,l=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},Z=e=>{let t=parseFloat(e);return isNaN(t)?e:t},Y=e=>{let t=P(e)?Number(e):NaN;return isNaN(t)?e:t},Q=()=>l||(l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),ee=g("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function et(e){if(T(e)){let t={};for(let n=0;n<e.length;n++){let l=e[n],r=P(l)?function(e){let t={};return e.replace(er,"").split(en).forEach(e=>{if(e){let n=e.split(el);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(l):et(l);if(r)for(let e in r)t[e]=r[e]}return t}if(P(e)||I(e))return e}let en=/;(?![^(]*\))/g,el=/:([^]+)/,er=/\/\*[^]*?\*\//g;function ei(e){let t="";if(P(e))t=e;else if(T(e))for(let n=0;n<e.length;n++){let l=ei(e[n]);l&&(t+=l+" ")}else if(I(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}let es=g("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function eo(e,t){if(e===t)return!0;let n=O(e),l=O(t);if(n||l)return!!n&&!!l&&e.getTime()===t.getTime();if(n=M(e),l=M(t),n||l)return e===t;if(n=T(e),l=T(t),n||l)return!!n&&!!l&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let l=0;n&&l<e.length;l++)n=eo(e[l],t[l]);return n}(e,t);if(n=I(e),l=I(t),n||l){if(!n||!l||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let l=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(l&&!r||!l&&r||!eo(e[n],t[n]))return!1}}return String(e)===String(t)}function ea(e,t){return e.findIndex(e=>eo(e,t))}let eu=e=>!!(e&&!0===e.__v_isRef),ec=e=>P(e)?e:null==e?"":T(e)||I(e)&&(e.toString===D||!N(e.toString))?eu(e)?ec(e.value):JSON.stringify(e,ef,2):String(e),ef=(e,t)=>{if(eu(t))return ef(e,t.value);if(A(t))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],l)=>(e[ep(t,l)+" =>"]=n,e),{})};if(R(t))return{[`Set(${t.size})`]:[...t.values()].map(e=>ep(e))};if(M(t))return ep(t);if(I(t)&&!T(t)&&!V(t))return String(t);return t},ep=(e,t="")=>{var n;return M(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};class ed{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=r,!e&&r&&(this.index=(r.scopes||(r.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=
`===n[0]&&("PRE"===e.tagName||"TEXTAREA"===e.tagName)&&(n=n.slice(1)),e.textContent!==n&&(nT(e,0)||nS(),e.textContent=t.children)}if(u){if(g||!s||48&c){let t=e.tagName.includes("-");for(let r in u)(g&&(r.endsWith("value")||"indeterminate"===r)||S(r)&&!j(r)||"."===r[0]||t)&&l(e,r,null,u[r],void 0,n)}else if(u.onClick)l(e,"onClick",null,u.onClick,void 0,n);else if(4&c&&tu(u.style))for(let e in u.style)u.style[e]}(a=u&&u.onVnodeBeforeMount)&&rv(a,n,t),d&&t2(t,null,n,"beforeMount"),((a=u&&u.onVnodeMounted)||d||y)&&lY(()=>{a&&rv(a,n,t),y&&h.enter(e),d&&t2(t,null,n,"mounted")},r)}return e.nextSibling},p=(e,t,l,s,o,u,f)=>{f=f||!!t.dynamicChildren;let p=t.children,d=p.length;for(let t=0;t<d;t++){let h=f?p[t]:p[t]=rf(p[t]),g=h.type===l1;e?(g&&!f&&t+1<d&&rf(p[t+1]).type===l1&&(a(r(e.data.slice(h.children.length)),l,i(e)),e.data=h.children),e=c(e,h,s,o,u,f)):g&&!h.children?a(h.el=r(""),l):(nT(l,1)||nS(),n(null,h,l,null,s,o,nC(l),u))}return e},d=(e,t,n,l,r,o)=>{let{slotScopeIds:c}=t;c&&(r=r?r.concat(c):c);let f=s(e),d=p(i(e),t,f,n,l,r,o);return d&&nx(d)&&"]"===d.data?i(t.anchor=d):(nS(),a(t.anchor=u("]"),f,d),d)},h=(e,t,l,r,a,u)=>{if(nT(e.parentElement,1)||nS(),t.el=null,u){let t=g(e);for(;;){let n=i(e);if(n&&n!==t)o(n);else break}}let c=i(e),f=s(e);return o(e),n(null,t,f,c,l,r,nC(f),a),l&&(l.vnode.el=t.el,lz(l,t.el)),c},g=(e,t="[",n="]")=>{let l=0;for(;e;)if((e=i(e))&&nx(e)&&(e.data===t&&l++,e.data===n))if(0===l)return i(e);else l--;return e},m=(e,t,n)=>{let l=t.parentNode;l&&l.replaceChild(e,t);let r=n;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},_=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),tX(),t._vnode=e;return}c(t.firstChild,e,null,null,null),tX(),t._vnode=e},c]}let nE="data-allow-mismatch",nk={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function nT(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(nE);)e=e.parentElement;let n=e&&e.getAttribute(nE);if(null==n)return!1;{if(""===n)return!0;let e=n.split(",");return!!(0===t&&e.includes("children"))||e.includes(nk[t])}}let nA=Q().requestIdleCallback||(e=>setTimeout(e,1)),nR=Q().cancelIdleCallback||(e=>clearTimeout(e)),nO=e=>!!e.type.__asyncLoader;function nN(e,t){let{ref:n,props:l,children:r,ce:i}=t.vnode,s=ro(e,l,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}let nP=e=>e.type.__isKeepAlive;function nM(e,t){return T(e)?e.some(e=>nM(e,t)):P(e)?e.split(",").includes(t):"[object RegExp]"===F(e)&&(e.lastIndex=0,e.test(t))}function nI(e,t){nD(e,"a",t)}function nL(e,t){nD(e,"da",t)}function nD(e,t,n=r_){let l=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(nU(t,l,n),n){let e=n.parent;for(;e&&e.parent;)nP(e.parent.vnode)&&function(e,t,n,l){let r=nU(t,e,l,!0);nz(()=>{w(l[t],r)},n)}(l,t,n,e),e=e.parent}}function nF(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function nV(e){return 128&e.shapeFlag?e.ssContent:e}function nU(e,t,n=r_,l=!1){if(n){let r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{ek();let r=rb(n),i=tD(t,n,e,l);return r(),eT(),i});return l?r.unshift(i):r.push(i),i}}let nj=e=>(t,n=r_)=>{rx&&"sp"!==e||nU(e,(...e)=>t(...e),n)},nB=nj("bm"),n$=nj("m"),nH=nj("bu"),nW=nj("u"),nK=nj("bum"),nz=nj("um"),nq=nj("sp"),nG=nj("rtg"),nJ=nj("rtc");function nX(e,t=r_){nU("ec",e,t)}let nZ="components",nY=Symbol.for("v-ndc");function nQ(e,t,n=!0,l=!1){let r=tY||r_;if(r){let n=r.type;if(e===nZ){let e=rR(n,!1);if(e&&(e===t||e===H(t)||e===z(H(t))))return n}let i=n0(r[e]||n[e],t)||n0(r.appContext[e],t);return!i&&l?n:i}}function n0(e,t){return e&&(e[t]||e[H(t)]||e[z(H(t))])}let n1=e=>e?rC(e)?rA(e):n1(e.parent):null,n2=x(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=>n1(e.parent),$root:e=>n1(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>le(e),$forceUpdate:e=>e.f||(e.f=()=>{tz(e.update)}),$nextTick:e=>e.n||(e.n=tK.bind(e.proxy)),$watch:e=>lF.bind(e)}),n6=(e,t)=>e!==m&&!e.__isScriptSetup&&k(e,t),n8={get({_:e},t){let n,l,r;if("__v_skip"===t)return!0;let{ctx:i,setupState:s,data:o,props:a,accessCach