
/**
 * 由 Fantastic-admin 提供技术支持
 * Powered by Fantastic-admin
 * https://fantastic-admin.hurui.me
 */
  
var e=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})();function t(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function n(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function r(t){return e.Buffer!==void 0&&e.Buffer.isBuffer(t)}function i(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function a(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var o=`[object RegExp]`,s=`[object String]`,c=`[object Number]`,l=`[object Boolean]`,u=`[object Arguments]`,d=`[object Symbol]`,f=`[object Date]`,p=`[object Map]`,m=`[object Set]`,h=`[object Array]`,g=`[object Function]`,_=`[object ArrayBuffer]`,v=`[object Object]`,y=`[object Error]`,b=`[object DataView]`,x=`[object Uint8Array]`,S=`[object Uint8ClampedArray]`,C=`[object Uint16Array]`,w=`[object Uint32Array]`,T=`[object BigUint64Array]`,E=`[object Int8Array]`,D=`[object Int16Array]`,O=`[object Int32Array]`,k=`[object BigInt64Array]`,A=`[object Float32Array]`,j=`[object Float64Array]`;function M(e,i,a,o=new Map,s=void 0){let c=s?.(e,i,a,o);if(c!==void 0)return c;if(t(e))return e;if(o.has(e))return o.get(e);if(Array.isArray(e)){let t=Array(e.length);o.set(e,t);for(let n=0;n<e.length;n++)t[n]=M(e[n],n,a,o,s);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;o.set(e,t);for(let[n,r]of e)t.set(n,M(r,n,a,o,s));return t}if(e instanceof Set){let t=new Set;o.set(e,t);for(let n of e)t.add(M(n,void 0,a,o,s));return t}if(r(e))return e.subarray();if(n(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);o.set(e,t);for(let n=0;n<e.length;n++)t[n]=M(e[n],n,a,o,s);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return o.set(e,t),N(t,e,a,o,s),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return o.set(e,t),N(t,e,a,o,s),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return o.set(e,t),N(t,e,a,o,s),t}if(e instanceof Error){let t=structuredClone(e);return o.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,N(t,e,a,o,s),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return o.set(e,t),N(t,e,a,o,s),t}if(e instanceof Number){let t=new Number(e.valueOf());return o.set(e,t),N(t,e,a,o,s),t}if(e instanceof String){let t=new String(e.valueOf());return o.set(e,t),N(t,e,a,o,s),t}if(typeof e==`object`&&P(e)){let t=Object.create(Object.getPrototypeOf(e));return o.set(e,t),N(t,e,a,o,s),t}return e}function N(e,t,n=e,r,a){let o=[...Object.keys(t),...i(t)];for(let i=0;i<o.length;i++){let s=o[i],c=Object.getOwnPropertyDescriptor(e,s);(c==null||c.writable)&&(e[s]=M(t[s],s,n,r,a))}}function P(e){switch(a(e)){case u:case h:case _:case b:case l:case f:case A:case j:case E:case D:case O:case p:case c:case v:case o:case m:case s:case d:case x:case S:case C:case w:return!0;default:return!1}}function F(e){return M(e,void 0,e,new Map,void 0)}export{C,a as D,S as E,i as O,d as S,x as T,c as _,T as a,m as b,f as c,j as d,g as f,p as g,E as h,k as i,r as k,y as l,O as m,_ as n,l as o,D as p,h as r,b as s,F as t,A as u,v,w,s as x,o as y};