moreShopAdmin/build/admin/assets/clone.31a3aa2c.js

2 lines
1.4 KiB
JavaScript
Raw Normal View History

2024-08-22 11:48:33 +08:00
var R={exports:{}};(function(_){var a=function(){function o(f,t,i,l){typeof t=="object"&&(i=t.depth,l=t.prototype,t.filter,t=t.circular);var y=[],b=[],E=typeof Buffer<"u";typeof t>"u"&&(t=!0),typeof i>"u"&&(i=1/0);function j(e,x){if(e===null)return null;if(x==0)return e;var n,r;if(typeof e!="object")return e;if(o.__isArray(e))n=[];else if(o.__isRegExp(e))n=new RegExp(e.source,g(e)),e.lastIndex&&(n.lastIndex=e.lastIndex);else if(o.__isDate(e))n=new Date(e.getTime());else{if(E&&Buffer.isBuffer(e))return Buffer.allocUnsafe?n=Buffer.allocUnsafe(e.length):n=new Buffer(e.length),e.copy(n),n;typeof l>"u"?(r=Object.getPrototypeOf(e),n=Object.create(r)):(n=Object.create(l),r=l)}if(t){var v=y.indexOf(e);if(v!=-1)return b[v];y.push(e),b.push(n)}for(var s in e){var c;r&&(c=Object.getOwnPropertyDescriptor(r,s)),!(c&&c.set==null)&&(n[s]=j(e[s],x-1))}return n}return j(f,i)}o.clonePrototype=function(t){if(t===null)return null;var i=function(){};return i.prototype=t,new i};function u(f){return Object.prototype.toString.call(f)}o.__objToStr=u;function d(f){return typeof f=="object"&&u(f)==="[object Date]"}o.__isDate=d;function O(f){return typeof f=="object"&&u(f)==="[object Array]"}o.__isArray=O;function B(f){return typeof f=="object"&&u(f)==="[object RegExp]"}o.__isRegExp=B;function g(f){var t="";return f.global&&(t+="g"),f.ignoreCase&&(t+="i"),f.multiline&&(t+="m"),t}return o.__getRegExpFlags=g,o}();_.exports&&(_.exports=a)})(R);export{R as c};