mirror of https://github.com/EasyDarwin/EasyDarwin
5 lines
9.1 KiB
JavaScript
5 lines
9.1 KiB
JavaScript
![]() |
import{c as et}from"./call-bind-9I5n-WuC.1735711566000.js";import{r as $t}from"./crypto-js-oA4IVPzm.1735711566000.js";var U=typeof Map=="function"&&Map.prototype,N=Object.getOwnPropertyDescriptor&&U?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,M=U&&N&&typeof N.get=="function"?N.get:null,rt=U&&Map.prototype.forEach,G=typeof Set=="function"&&Set.prototype,C=Object.getOwnPropertyDescriptor&&G?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,I=G&&C&&typeof C.get=="function"?C.get:null,nt=G&&Set.prototype.forEach,_t=typeof WeakMap=="function"&&WeakMap.prototype,w=_t?WeakMap.prototype.has:null,Wt=typeof WeakSet=="function"&&WeakSet.prototype,E=Wt?WeakSet.prototype.has:null,Mt=typeof WeakRef=="function"&&WeakRef.prototype,at=Mt?WeakRef.prototype.deref:null,It=Boolean.prototype.valueOf,qt=Object.prototype.toString,Rt=Function.prototype.toString,Lt=String.prototype.match,K=String.prototype.slice,s=String.prototype.replace,Tt=String.prototype.toUpperCase,it=String.prototype.toLowerCase,gt=RegExp.prototype.test,ot=Array.prototype.concat,u=Array.prototype.join,kt=Array.prototype.slice,lt=Math.floor,z=typeof BigInt=="function"?BigInt.prototype.valueOf:null,B=Object.getOwnPropertySymbols,F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,m=typeof Symbol=="function"&&typeof Symbol.iterator=="object",o=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===m||!0)?Symbol.toStringTag:null,vt=Object.prototype.propertyIsEnumerable,ft=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function ut(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||gt.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var a=t<0?-lt(-t):lt(t);if(a!==t){var i=String(a),r=K.call(e,i.length+1);return s.call(i,n,"$&_")+"."+s.call(s.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return s.call(e,n,"$&_")}var H=$t,ct=H.custom,pt=mt(ct)?ct:null,St={__proto__:null,double:'"',single:"'"},At={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},te=function t(e,n,a,i){var r=n||{};if(c(r,"quoteStyle")&&!c(St,r.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(c(r,"maxStringLength")&&(typeof r.maxStringLength=="number"?r.maxStringLength<0&&r.maxStringLength!==1/0:r.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var p=c(r,"customInspect")?r.customInspect:!0;if(typeof p!="boolean"&&p!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(c(r,"indent")&&r.indent!==null&&r.indent!==" "&&!(parseInt(r.indent,10)===r.indent&&r.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(c(r,"numericSeparator")&&typeof r.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=r.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Ot(e,r);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return v?ut(e,l):l}if(typeof e=="bigint"){var y=String(e)+"n";return v?ut(e,y):y}var q=typeof r.depth>"u"?5:r.depth;if(typeof a>"u"&&(a=0),a>=q&&q>0&&typeof e=="object")return V(e)?"[Array]":"[Object]";var S=xt(r,a);if(typeof i>"u")i=[];else if(dt(i,e)>=0)return"[Circular]";function f(h,_,Et){if(_&&(i=kt.call(i),i.push(_)),Et){var tt={depth:r.depth};return c(r,"quoteStyle")&&(tt.quoteStyle=r.quoteStyle),t(h,tt,a+1,i)}return t(h,r,a+1,i)}if(typeof e=="function"&&!yt(e)){var Q=Vt(e),X=W(e,f);return"[Function"+(Q?": "+Q:" (anonymous)")+"]"+(X.length>0?" { "+u.call(X,", ")+" }":"")}if(mt(e)){var Y=m?s.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(e);return typeof e=="object"&&!m?O(Y):Y}if(Xt(e)){for(var d="<"+it.call(String(e.nodeName)),R=e.attributes||[],$=0;$<R.length;$++)d+=" "+R[$].name+"="+ht(
|
||
|
`)>=0)return!1;return!0}function xt(t,e){var n;if(t.indent===" ")n=" ";else if(typeof t.indent=="number"&&t.indent>0)n=u.call(Array(t.indent+1)," ");else return null;return{base:n,prev:u.call(Array(e+1),n)}}function J(t,e){if(t.length===0)return"";var n=`
|
||
|
`+e.prev+e.base;return n+u.call(t,","+n)+`
|
||
|
`+e.prev}function W(t,e){var n=V(t),a=[];if(n){a.length=t.length;for(var i=0;i<t.length;i++)a[i]=c(t,i)?e(t[i],t):""}var r=typeof B=="function"?B(t):[],p;if(m){p={};for(var v=0;v<r.length;v++)p["$"+r[v]]=r[v]}for(var l in t)c(t,l)&&(n&&String(Number(l))===l&&l<t.length||m&&p["$"+l]instanceof Symbol||(gt.call(/[^\w$]/,l)?a.push(e(l,t)+": "+e(t[l],t)):a.push(l+": "+e(t[l],t))));if(typeof B=="function")for(var y=0;y<r.length;y++)vt.call(t,r[y])&&a.push("["+e(r[y])+"]: "+e(t[r[y]],t));return a}export{te as o};
|