stdproject/frontend/node_modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js

7 lines
98 KiB
JavaScript
Raw Normal View History

2025-05-30 13:43:31 +08:00
/**
* @vue/runtime-dom v3.5.16
* (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]"===V(e),O=e=>"[object Set]"===V(e),R=e=>"[object Date]"===V(e),N=e=>"[object RegExp]"===V(e),P=e=>"function"==typeof e,M=e=>"string"==typeof e,I=e=>"symbol"==typeof e,L=e=>null!==e&&"object"==typeof e,D=e=>(L(e)||P(e))&&P(e.then)&&P(e.catch),F=Object.prototype.toString,V=e=>F.call(e),U=e=>V(e).slice(8,-1),j=e=>"[object Object]"===V(e),B=e=>M(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,$=g(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),H=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},W=/-(\w)/g,K=H(e=>e.replace(W,(e,t)=>t?t.toUpperCase():"")),z=/\B([A-Z])/g,q=H(e=>e.replace(z,"-$1").toLowerCase()),G=H(e=>e.charAt(0).toUpperCase()+e.slice(1)),J=H(e=>e?`on${G(e)}`:""),X=(e,t)=>!Object.is(e,t),Z=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Y=(e,t,n,l=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},Q=e=>{let t=parseFloat(e);return isNaN(t)?e:t},ee=e=>{let t=M(e)?Number(e):NaN;return isNaN(t)?e:t},et=()=>l||(l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),en=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 el(e){if(T(e)){let t={};for(let n=0;n<e.length;n++){let l=e[n],r=M(l)?function(e){let t={};return e.replace(es,"").split(er).forEach(e=>{if(e){let n=e.split(ei);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(l):el(l);if(r)for(let e in r)t[e]=r[e]}return t}if(M(e)||L(e))return e}let er=/;(?![^(]*\))/g,ei=/:([^]+)/,es=/\/\*[^]*?\*\//g;function eo(e){let t="";if(M(e))t=e;else if(T(e))for(let n=0;n<e.length;n++){let l=eo(e[n]);l&&(t+=l+" ")}else if(L(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}let ea=g("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function eu(e,t){if(e===t)return!0;let n=R(e),l=R(t);if(n||l)return!!n&&!!l&&e.getTime()===t.getTime();if(n=I(e),l=I(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=eu(e[l],t[l]);return n}(e,t);if(n=L(e),l=L(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||!eu(e[n],t[n]))return!1}}return String(e)===String(t)}function ec(e,t){return e.findIndex(e=>eu(e,t))}let ef=e=>!!(e&&!0===e.__v_isRef),ep=e=>M(e)?e:null==e?"":T(e)||L(e)&&(e.toString===F||!P(e.toString))?ef(e)?ep(e.value):JSON.stringify(e,ed,2):String(e),ed=(e,t)=>{if(ef(t))return ed(e,t.value);if(A(t))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],l)=>(e[eh(t,l)+" =>"]=n,e),{})};if(O(t))return{[`Set(${t.size})`]:[...t.values()].map(e=>eh(e))};if(I(t))return eh(t);if(L(t)&&!T(t)&&!j(t))return String(t);return t},eh=(e,t="")=>{var n;return I(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};class ev{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=thi
`===n[0]&&("PRE"===e.tagName||"TEXTAREA"===e.tagName)&&(n=n.slice(1)),e.textContent!==n&&(nP(e,0)||nw(),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)&&!$(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&&tf(u.style))for(let e in u.style)u.style[e]}(a=u&&u.onVnodeBeforeMount)&&rC(a,n,t),d&&t8(t,null,n,"beforeMount"),((a=u&&u.onVnodeMounted)||d||y)&&l4(()=>{a&&rC(a,n,t),y&&h.enter(e),d&&t8(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]=r_(p[t]),g=h.type===l9;e?(g&&!f&&t+1<d&&r_(p[t+1]).type===l9&&(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):(nP(l,1)||nw(),n(null,h,l,null,s,o,nT(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&&nA(d)&&"]"===d.data?i(t.anchor=d):(nw(),a(t.anchor=u("]"),f,d),d)},h=(e,t,l,r,a,u)=>{if(nP(e.parentElement,1)||nw(),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,nT(f),a),l&&(l.vnode.el=t.el,lQ(l,t.el)),c},g=(e,t="[",n="]")=>{let l=0;for(;e;)if((e=i(e))&&nA(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),tY(),t._vnode=e;return}c(t.firstChild,e,null,null,null),tY(),t._vnode=e},c]}let nR="data-allow-mismatch",nN={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function nP(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(nR);)e=e.parentElement;let n=e&&e.getAttribute(nR);if(null==n)return!1;{if(""===n)return!0;let e=n.split(",");return!!(0===t&&e.includes("children"))||n.split(",").includes(nN[t])}}let nM=et().requestIdleCallback||(e=>setTimeout(e,1)),nI=et().cancelIdleCallback||(e=>clearTimeout(e)),nL=e=>!!e.type.__asyncLoader;function nD(e,t){let{ref:n,props:l,children:r,ce:i}=t.vnode,s=rh(e,l,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}let nF=e=>e.type.__isKeepAlive;function nV(e,t){return T(e)?e.some(e=>nV(e,t)):M(e)?e.split(",").includes(t):!!N(e)&&(e.lastIndex=0,e.test(t))}function nU(e,t){nB(e,"a",t)}function nj(e,t){nB(e,"da",t)}function nB(e,t,n=rE){let l=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(nW(t,l,n),n){let e=n.parent;for(;e&&e.parent;)nF(e.parent.vnode)&&function(e,t,n,l){let r=nW(t,e,l,!0);nZ(()=>{w(l[t],r)},n)}(l,t,n,e),e=e.parent}}function n$(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function nH(e){return 128&e.shapeFlag?e.ssContent:e}function nW(e,t,n=rE,l=!1){if(n){let r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{eA();let r=rT(n),i=tV(t,n,e,l);return r(),eO(),i});return l?r.unshift(i):r.push(i),i}}let nK=e=>(t,n=rE)=>{rR&&"sp"!==e||nW(e,(...e)=>t(...e),n)},nz=nK("bm"),nq=nK("m"),nG=nK("bu"),nJ=nK("u"),nX=nK("bum"),nZ=nK("um"),nY=nK("sp"),nQ=nK("rtg"),n0=nK("rtc");function n1(e,t=rE){nW("ec",e,t)}let n2="components",n6=Symbol.for("v-ndc");function n8(e,t,n=!0,l=!1){let r=t0||rE;if(r){let n=r.type;if(e===n2){let e=rD(n,!1);if(e&&(e===t||e===K(t)||e===G(K(t))))return n}let i=n4(r[e]||n[e],t)||n4(r.appContext[e],t);return!i&&l?n:i}}function n4(e,t){return e&&(e[t]||e[K(t)]||e[G(K(t))])}let n3=e=>e?rO(e)?rL(e):n3(e.parent):null,n5=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=>n3(e.parent),$root:e=>n3(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>li(e),$forceUpdate:e=>e.f||(e.f=()=>{tG(e.update)}),$nextTick:e=>e.n||(e.n=tq.bind(e.proxy)),$watch:e=>lW.bind(e)}),n9=(e,t)=>e!==m&&!e.__isScriptSetup&&k(e,t),n7={get({_:e},t){let n,l,r;if("__v_skip"===t)return!0;let{ctx:i,setupState:s,data:o,props:a,accessCache:u,t