Files
cattleData/admin-system/node_modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js

8 lines
101 KiB
JavaScript
Raw Normal View History

/**
* @vue/runtime-dom v3.5.25
* (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)),x=e=>e.startsWith("onUpdate:"),C=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=>"function"==typeof e,O=e=>"string"==typeof e,R=e=>"symbol"==typeof e,N=e=>null!==e&&"object"==typeof e,P=e=>(N(e)||A(e))&&A(e.then)&&A(e.catch),M=Object.prototype.toString,I=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=g(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),F=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},D=/-\w/g,j=F(e=>e.replace(D,e=>e.slice(1).toUpperCase())),V=/\B([A-Z])/g,U=F(e=>e.replace(V,"-$1").toLowerCase()),$=F(e=>e.charAt(0).toUpperCase()+e.slice(1)),B=F(e=>e?`on${$(e)}`:""),H=(e,t)=>!Object.is(e,t),W=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},K=(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},q=e=>{let t=O(e)?Number(e):NaN;return isNaN(t)?e:t},G=()=>l||(l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),J=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 X(e){if(T(e)){let t={};for(let n=0;n<e.length;n++){let l=e[n],r=O(l)?function(e){let t={};return e.replace(Q,"").split(Z).forEach(e=>{if(e){let n=e.split(Y);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(l):X(l);if(r)for(let e in r)t[e]=r[e]}return t}if(O(e)||N(e))return e}let Z=/;(?![^(]*\))/g,Y=/:([^]+)/,Q=/\/\*[^]*?\*\//g;function ee(e){let t="";if(O(e))t=e;else if(T(e))for(let n=0;n<e.length;n++){let l=ee(e[n]);l&&(t+=l+" ")}else if(N(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}let et=g("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function en(e,t){let n,l;if(e===t)return!0;let r="[object Date]"===(n=e,M.call(n)),i="[object Date]"===(l=t,M.call(l));if(r||i)return!!r&&!!i&&e.getTime()===t.getTime();if(r=R(e),i=R(t),r||i)return e===t;if(r=T(e),i=T(t),r||i)return!!r&&!!i&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let l=0;n&&l<e.length;l++)n=en(e[l],t[l]);return n}(e,t);if(r=N(e),i=N(t),r||i){if(!r||!i||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||!en(e[n],t[n]))return!1}}return String(e)===String(t)}function el(e,t){return e.findIndex(e=>en(e,t))}let er=e=>!!(e&&!0===e.__v_isRef),ei=e=>O(e)?e:null==e?"":T(e)||N(e)&&(e.toString===M||!A(e.toString))?er(e)?ei(e.value):JSON.stringify(e,es,2):String(e),es=(e,t)=>{let n;if(er(t))return es(e,t.value);if("[object Map]"===(n=t,M.call(n)))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],l)=>(e[eo(t,l)+" =>"]=n,e),{})};{let e;if("[object Set]"===(e=t,M.call(e)))return{[`Set(${t.size})`]:[...t.values()].map(e=>eo(e))};else{if(R(t))return eo(t);let e;if(N(t)&&!T(t)&&"[object Object]"!==(e=t,M.call(e)))return String(t)}}return t},eo=(e,t="")=>{var n;return R(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};class ea{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
`===n[0]&&("PRE"===e.tagName||"TEXTAREA"===e.tagName)&&(n=n.slice(1));let{textContent:l}=e;l!==n&&l!==n.replace(/\r\n|\r/g,`
`)&&(nC(e,0)||n_(),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)&&!L(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&&tr(u.style))for(let e in u.style)u.style[e]}(a=u&&u.onVnodeBeforeMount)&&rf(a,n,t),d&&tX(t,null,n,"beforeMount"),((a=u&&u.onVnodeMounted)||d||y)&&lG(()=>{a&&rf(a,n,t),y&&h.enter(e),d&&tX(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]=ro(p[t]),g=h.type===lZ;e?(g&&!f&&t+1<d&&ro(p[t+1]).type===lZ&&(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):(nC(l,1)||n_(),n(null,h,l,null,s,o,nm(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&&ny(d)&&"]"===d.data?i(t.anchor=d):(n_(),a(t.anchor=u("]"),f,d),d)},h=(e,t,l,r,a,u)=>{if(nC(e.parentElement,1)||n_(),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,nm(f),a),l&&(l.vnode.el=t.el,lx(l,t.el)),c},g=(e,t="[",n="]")=>{let l=0;for(;e;)if((e=i(e))&&ny(e)&&(e.data===t&&l++,e.data===n))if(0===l)return i(e);else l--;return e},_=(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},m=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),tW(),t._vnode=e;return}c(t.firstChild,e,null,null,null),tW(),t._vnode=e},c]}let nS="data-allow-mismatch",nx={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function nC(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(nS);)e=e.parentElement;let n=e&&e.getAttribute(nS);if(null==n)return!1;{if(""===n)return!0;let e=n.split(",");return!!(0===t&&e.includes("children"))||e.includes(nx[t])}}let nw=G().requestIdleCallback||(e=>setTimeout(e,1)),nE=G().cancelIdleCallback||(e=>clearTimeout(e)),nk=e=>!!e.type.__asyncLoader;function nT(e,t){let{ref:n,props:l,children:r,ce:i}=t.vnode,s=rl(e,l,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}let nA=e=>e.type.__isKeepAlive;function nO(e,t){let n;if(T(e))return e.some(e=>nO(e,t));if(O(e))return e.split(",").includes(t);return"[object RegExp]"===(n=e,M.call(n))&&(e.lastIndex=0,e.test(t))}function nR(e,t){nP(e,"a",t)}function nN(e,t){nP(e,"da",t)}function nP(e,t,n=rh){let l=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(nL(t,l,n),n){let e=n.parent;for(;e&&e.parent;)nA(e.parent.vnode)&&function(e,t,n,l){let r=nL(t,e,l,!0);nB(()=>{w(l[t],r)},n)}(l,t,n,e),e=e.parent}}function nM(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function nI(e){return 128&e.shapeFlag?e.ssContent:e}function nL(e,t,n=rh,l=!1){if(n){let r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{eS();let r=rv(n),i=tR(t,n,e,l);return r(),ex(),i});return l?r.unshift(i):r.push(i),i}}let nF=e=>(t,n=rh)=>{ry&&"sp"!==e||nL(e,(...e)=>t(...e),n)},nD=nF("bm"),nj=nF("m"),nV=nF("bu"),nU=nF("u"),n$=nF("bum"),nB=nF("um"),nH=nF("sp"),nW=nF("rtg"),nK=nF("rtc");function nz(e,t=rh){nL("ec",e,t)}let nq="components",nG=Symbol.for("v-ndc");function nJ(e,t,n=!0,l=!1){let r=tz||rh;if(r){let n=r.type;if(e===nq){let e=rE(n,!1);if(e&&(e===t||e===j(t)||e===$(j(t))))return n}let i=nX(r[e]||n[e],t)||nX(r.appContext[e],t);return!i&&l?n:i}}function nX(e,t){return e&&(e[t]||e[j(t)]||e[$(j(t))])}let nZ=e=>e?rm(e)?rw(e):nZ(e.parent):null,nY=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=>nZ(e.parent),$root:e=>nZ(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>n3(e),$forceUpdate:e=>e.f||(e.f=()=>{tU(e.update)}),$nextTick:e=>e.n||(e.n=tV.bind(e.proxy)),$watch:e=>lp.bind(e)}),nQ=(e,t)=>e!==_&&!e.__isScriptSetup&&k(e,t),n0={get({_:e},t){let n,l;if("__v_skip"===t)return!0;let{ctx:r,setupState:i,data:s,props:o,accessCache:a,type:u,appContext:c}=e;if("$"!==t[0]){let e=a[t