suyuan/public/admin/assets/debug.1c707d7b.js

2 lines
4.4 KiB
JavaScript
Raw Normal View History

2023-11-22 18:11:03 +08:00
import{r as x}from"./ms.a9ae1d6d.js";var b={exports:{}};function S(f){n.debug=n,n.default=n,n.coerce=y,n.disable=g,n.enable=p,n.enabled=v,n.humanize=x(),Object.keys(f).forEach(function(t){n[t]=f[t]}),n.instances=[],n.names=[],n.skips=[],n.formatters={};function i(t){for(var e=0,r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return n.colors[Math.abs(e)%n.colors.length]}n.selectColor=i;function n(t){var e;function r(){if(!!r.enabled){for(var s=arguments.length,o=new Array(s),C=0;C<s;C++)o[C]=arguments[C];var u=r,a=Number(new Date),h=a-(e||a);u.diff=h,u.prev=e,u.curr=a,e=a,o[0]=n.coerce(o[0]),typeof o[0]!="string"&&o.unshift("%O");var c=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,function(l,A){if(l==="%%")return l;c++;var m=n.formatters[A];if(typeof m=="function"){var E=o[c];l=m.call(u,E),o.splice(c,1),c--}return l}),n.formatArgs.call(u,o);var w=u.log||n.log;w.apply(u,o)}}return r.namespace=t,r.enabled=n.enabled(t),r.useColors=n.useColors(),r.color=i(t),r.destroy=F,r.extend=d,typeof n.init=="function"&&n.init(r),n.instances.push(r),r}function F(){var t=n.instances.indexOf(this);return t!==-1?(n.instances.splice(t,1),!0):!1}function d(t,e){return n(this.namespace+(typeof e>"u"?":":e)+t)}function p(t){n.save(t),n.names=[],n.skips=[];var e,r=(typeof t=="string"?t:"").split(/[\s,]+/),s=r.length;for(e=0;e<s;e++)!r[e]||(t=r[e].replace(/\*/g,".*?"),t[0]==="-"?n.skips.push(new RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")));for(e=0;e<n.instances.length;e++){var o=n.instances[e];o.enabled=n.enabled(o.namespace)}}function g(){n.enable("")}function v(t){if(t[t.length-1]==="*")return!0;var e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1}function y(t){return t instanceof Error?t.stack||t.message:t}return n.enable(n.load()),n}var k=S;(function(f,i){function n(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(s){return typeof s}:n=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(e)}i.log=p,i.formatArgs=d,i.save=g,i.load=v,i.useColors=F,i.storage=y(),i.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function F(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function d(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+f.exports.humanize(this.diff),!!this.useColors){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var s=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(C){C!=="%%"&&(s++,C==="%c"&&(o=s))}),e.splice(o,0,r)}}function p(){var e;return(typeof console>"u"?"undefined":n(console))==="object"&&console.log&&(e=console).log.apply(e,ar