Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-05-07 11:29:20 +08:00
v3-admin-vite/static/index.b2caceec.js

2 lines
1.0 MiB
JavaScript
Raw Normal View History

var e=Object.defineProperty,t=(t,n,l)=>(((t,n,l)=>{n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[n]=l})(t,"symbol"!=typeof n?n+"":n,l),l);function n(e,t){const n=Object.create(null),l=e.split(",");for(let o=0;o<l.length;o++)n[l[o]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),"use-credentials"===e.crossorigin?t.credentials="include":"anonymous"===e.crossorigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const l=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function o(e){return!!e||""===e}function a(e){if(M(e)){const t={};for(let n=0;n<e.length;n++){const l=e[n],o=T(l)?i(l):a(l);if(o)for(const e in o)t[e]=o[e]}return t}return T(e)||H(e)?e:void 0}const r=/;(?![^(]*\))/g,s=/:(.+)/;function i(e){const t={};return e.split(r).forEach((e=>{if(e){const n=e.split(s);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function u(e){let t="";if(T(e))t=e;else if(M(e))for(let n=0;n<e.length;n++){const l=u(e[n]);l&&(t+=l+" ")}else if(H(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function c(e){if(!e)return null;let{class:t,style:n}=e;return t&&!T(t)&&(e.class=u(t)),n&&(e.style=a(n)),e}function d(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=A(e),l=A(t),n||l)return e===t;if(n=M(e),l=M(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=d(e[l],t[l]);return n}(e,t);if(n=H(e),l=H(t),n||l){if(!n||!l)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const l=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(l&&!o||!l&&o||!d(e[n],t[n]))return!1}}return String(e)===String(t)}function p(e,t){return e.findIndex((e=>d(e,t)))}const f=e=>T(e)?e:null==e?"":M(e)||H(e)&&(e.toString===B||!V(e.toString))?JSON.stringify(e,v,2):String(e),v=(e,t)=>t&&t.__v_isRef?v(e,t.value):z(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!H(t)||M(t)||N(t)?t:String(t),h={},m=[],g=()=>{},y=()=>!1,b=/^on[^a-z]/,w=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),C=Object.assign,k=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},S=Object.prototype.hasOwnProperty,_=(e,t)=>S.call(e,t),M=Array.isArray,z=e=>"[object Map]"===I(e),E=e=>"[object Set]"===I(e),O=e=>"[object Date]"===I(e),V=e=>"function"==typeof e,T=e=>"string"==typeof e,A=e=>"symbol"==typeof e,H=e=>null!==e&&"object"==typeof e,L=e=>H(e)&&V(e.then)&&V(e.catch),B=Object.prototype.toString,I=e=>B.call(e),R=e=>I(e).slice(8,-1),N=e=>"[object Object]"===I(e),$=e=>T(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,D=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},F=/-(\w)/g,j=P((e=>e.replace(F,((e,t)=>t?t.toUpperCase():"")))),K=/\B([A-Z])/g,W=P((e=>e.replace(K,"-$1").toLowerCase())),q=P((e=>e.charAt(0).toUpperCase()+e.slice(1))),U=P((e=>e?`on${q(e)}`:"")),Y=(e,t)=>!Object.is(e,t),G=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},X=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Q;let J;class ee{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=J,!e&&J&&(this.index=(J.scopes||(J.scopes=[])).push(this)-1)}run(e){if(this.active){const t=J;try{return J=this,e()}finally{J=t}}}on(){J=this}off(){J=this.parent}stop(e){if(this.