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

8 lines
103 KiB
JavaScript
Raw Normal View History

/**
* @vue/runtime-dom v3.5.25
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/var e,t;let n,l,r,i,s,o,a,u,c,f,p,d;function h(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}let g={},_=[],m=()=>{},y=()=>!1,b=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),S=e=>e.startsWith("onUpdate:"),C=Object.assign,x=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},w=Object.prototype.hasOwnProperty,E=(e,t)=>w.call(e,t),k=Array.isArray,T=e=>"function"==typeof e,A=e=>"string"==typeof e,R=e=>"symbol"==typeof e,O=e=>null!==e&&"object"==typeof e,N=e=>(O(e)||T(e))&&T(e.then)&&T(e.catch),P=Object.prototype.toString,M=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,I=h(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),L=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},F=/-\w/g,j=L(e=>e.replace(F,e=>e.slice(1).toUpperCase())),D=/\B([A-Z])/g,V=L(e=>e.replace(D,"-$1").toLowerCase()),U=L(e=>e.charAt(0).toUpperCase()+e.slice(1)),$=L(e=>e?`on${U(e)}`:""),B=(e,t)=>!Object.is(e,t),H=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},W=(e,t,n,l=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},K=e=>{let t=parseFloat(e);return isNaN(t)?e:t},z=e=>{let t=A(e)?Number(e):NaN;return isNaN(t)?e:t},q=()=>n||(n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),G=h("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 J(e){if(k(e)){let t={};for(let n=0;n<e.length;n++){let l=e[n],r=A(l)?function(e){let t={};return e.replace(Y,"").split(X).forEach(e=>{if(e){let n=e.split(Z);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(l):J(l);if(r)for(let e in r)t[e]=r[e]}return t}if(A(e)||O(e))return e}let X=/;(?![^(]*\))/g,Z=/:([^]+)/,Y=/\/\*[^]*?\*\//g;function Q(e){let t="";if(A(e))t=e;else if(k(e))for(let n=0;n<e.length;n++){let l=Q(e[n]);l&&(t+=l+" ")}else if(O(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}function ee(e){if(!e)return null;let{class:t,style:n}=e;return t&&!A(t)&&(e.class=Q(t)),n&&(e.style=J(n)),e}let et=h("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,P.call(n)),i="[object Date]"===(l=t,P.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=k(e),i=k(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=O(e),i=O(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=>A(e)?e:null==e?"":k(e)||O(e)&&(e.toString===P||!T(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,P.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,P.call(e)))return{[`Set(${t.size})`]:[...t.values()].map(e=>eo(e))};else{if(R(t))return eo(t);let e;if(O(t)&&!k(t)&&"[object Object]"!==(e=t,P.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=l,!e&&l&&(this.index=(l.scopes||(l.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,
`===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,`
`)&&(nK(e,0)||nV(),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)||b(r)&&!I(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&&tc(u.style))for(let e in u.style)u.style[e]}(a=u&&u.onVnodeBeforeMount)&&iu(a,n,t),d&&ni(t,null,n,"beforeMount"),((a=u&&u.onVnodeMounted)||d||y)&&r$(()=>{a&&iu(a,n,t),y&&h.enter(e),d&&ni(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]=ii(p[t]),g=h.type===rW;e?(g&&!f&&t+1<d&&ii(p[t+1]).type===rW&&(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):(nK(l,1)||nV(),n(null,h,l,null,s,o,nU(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&&n$(d)&&"]"===d.data?i(t.anchor=d):(nV(),a(t.anchor=u("]"),f,d),d)},h=(e,t,l,r,a,u)=>{if(nK(e.parentElement,1)||nV(),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,nU(f),a),l&&(l.vnode.el=t.el,rd(l,t.el)),c},g=(e,t="[",n="]")=>{let l=0;for(;e;)if((e=i(e))&&n$(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),t4(),t._vnode=e;return}c(t.firstChild,e,null,null,null),t4(),t._vnode=e},c]}let nH="data-allow-mismatch",nW={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function nK(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(nH);)e=e.parentElement;let n=e&&e.getAttribute(nH);if(null==n)return!1;{if(""===n)return!0;let e=n.split(",");return!!(0===t&&e.includes("children"))||e.includes(nW[t])}}let nz=q().requestIdleCallback||(e=>setTimeout(e,1)),nq=q().cancelIdleCallback||(e=>clearTimeout(e)),nG=(e=1e4)=>t=>{let n=nz(t,{timeout:e});return()=>nq(n)},nJ=e=>(t,n)=>{let l=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){l.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element){if(function(e){let{top:t,left:n,bottom:l,right:r}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t>0&&t<i||l>0&&l<i)&&(n>0&&n<s||r>0&&r<s)}(e))return t(),l.disconnect(),!1;l.observe(e)}}),()=>l.disconnect()},nX=e=>t=>{if(e){let n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},nZ=(e=[])=>(t,n)=>{A(e)&&(e=[e]);let l=!1,r=e=>{l||(l=!0,i(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},i=()=>{n(t=>{for(let n of e)t.removeEventListener(n,r)})};return n(t=>{for(let n of e)t.addEventListener(n,r,{once:!0})}),i},nY=e=>!!e.type.__asyncLoader;function nQ(e){let t;T(e)&&(e={loader:e});let{loader:n,loadingComponent:l,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:a=!0,onError:u}=e,c=null,f=0,p=()=>{let e;return c||(e=c=n().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),u)return new Promise((t,n)=>{u(e,()=>t((f++,c=null,p())),()=>n(e),f+1)});throw e}).then(n=>e!==c&&c?c:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),t=n,n)))};return nN({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,n,l){let r=!1;(n.bu||(n.bu=[])).push(()=>r=!0);let i=()=>{r||l()},o=s?()=>{let t=s(i,t=>(function(e,t){if(n$(e)&&"["===e.data){let n=1,l=e.nextSibling;for(;l;){if(1===l.nodeType){if(!1===t(l))break}else if(n$(l))if("]"===l.data){if(0==--n)break}else"["===l.data&&n++;l=l.nextSibling}}else t(e)})(e,t));t&&(n.bum||(n.bum=[])).push(t)}:i;t?o():p().then(()=>!n.isUnmounted&&o())},get __asyncResolved(){return t},setup(){let e=ih;if(nM(e),t)return()=>n0(t,e);let n=t=>{c=null,tz(t,e,13,!r)};if(a&&e.suspense||iy)return p().then(t=>()=>n0(t,e)).catch(e=>(n(e),()=>r?r9(r,{error:e}):null));let s=ty(!1),u=ty(),f=ty(!!i);return i&&setTimeout(()=>{f.value=!1},i