mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-15 00:09:20 +08:00
1 line
142 KiB
JavaScript
1 line
142 KiB
JavaScript
|
var ParamsSign=function(){"use strict";var T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function P(r){var e;return r.__esModule?r:(e=Object.defineProperty({},"__esModule",{value:!0}),Object.keys(r).forEach(function(t){var n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return r[t]}})}),e)}function q(t){return t&&t.Math==Math&&t}function t(t){try{return!!t()}catch(t){return!0}}function I(t){return F(R(t),8,-1)}function W(t){if("Function"===X(t))return Z(t)}var n=q("object"==typeof globalThis&&globalThis)||q("object"==typeof window&&window)||q("object"==typeof self&&self)||q("object"==typeof T&&T)||function(){return this}()||Function("return this")(),r=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}),N=Function.prototype,K=N.apply,H=N.call,N="object"==typeof Reflect&&Reflect.apply||(r?H.bind(K):function(){return H.apply(K,arguments)}),e=r,o=Function.prototype,G=o.call,o=e&&o.bind.bind(G,G),e=e?o:function(t){return function(){return G.apply(t,arguments)}},o=e,R=o({}.toString),F=o("".slice),X=I,Z=e,o="object"==typeof document&&document.all,o={all:o,IS_HTMLDDA:void 0===o&&void 0!==o},U=o.all,i=o.IS_HTMLDDA?function(t){return"function"==typeof t||t===U}:function(t){return"function"==typeof t},u={},Y=!t(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),V=Function.prototype.call,c=r?V.bind(V):function(){return V.apply(V,arguments)},J={},Q={}.propertyIsEnumerable,$=Object.getOwnPropertyDescriptor,tt=$&&!Q.call({1:2},1);J.f=tt?function(t){t=$(this,t);return!!t&&t.enumerable}:Q;function nt(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}function rt(t){return null==t}function et(t){if(Bt(t))throw _t("Can't call method on "+t);return t}function ot(t){return Lt(jt(t))}function it(t){return Tt(t)?t:void 0}function ut(t,n){return arguments.length<2?it(Et[t])||it(kt[t]):Et[t]&&Et[t][n]||kt[t]&&kt[t][n]}function ct(t){try{return Xt(t)}catch(t){return"Object"}}function at(t){if(Zt(t))return t;throw Yt(Ut(t)+" is not a function")}function st(t,n){return t=t[n],Jt(t)?void 0:Vt(t)}function ft(t){return an(cn(t))}function lt(t){return"Symbol("+(void 0===t?"":t)+")_"+vn(++ln+hn,36)}function a(t){return pn(wn,t)||(wn[t]=dn&&pn(gn,t)?gn[t]:bn("Symbol."+t)),wn[t]}function ht(t){return t=function(t,n){if(!Cn(t)||Dn(t))return t;var r=zn(t,Bn);if(r){if(r=xn(r,t,n=void 0===n?"default":n),!Cn(r)||Dn(r))return r;throw Sn("Can't convert object to primitive value")}return An(t,n=void 0===n?"number":n)}(t,"string"),_n(t)?t:t+""}function vt(t){return jn?Ln.createElement(t):{}}function pt(t,n){return(t=Rn[Gn(t)])==Xn||t!=Fn&&(Kn(n)?Nn(n):!!n)}function yt(t,n){return Zn(t),void 0===n?t:Un?Yn(t,n):function(){return t.apply(n,arguments)}}function dt(t){if(Vn(t))return t;throw Qn(Jn(t)+" is not an object")}function gt(e){function o(t,n,r){if(this instanceof o){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return ar(e,this,arguments)}return o.prototype=e.prototype,o}function s(t,n){var r,e,o,i,u,c,a=t.target,s=t.global,f=t.stat,l=t.proto,h=s?cr:f?cr[a]:(cr[a]||{}).prototype,v=s?vr:vr[a]||yr(vr,a,{})[a],p=v.prototype;for(e in n)u=!(r=hr(s?e:a+(f?".":"#")+e,t.forced))&&h&&dr(h,e),i=v[e],u&&(c=t.dontCallGetSet?(c=lr(h,e))&&c.value:h[e]),o=u&&c?c:n[e],u&&typeof i==typeof o||(u=t.bind&&u?pr(o,cr):t.wrap&&u?gt(o):l&&fr(o)?sr(o):o,(t.sham||o&&o.sham||i&&i.sham)&&yr(u,"sham",!0),yr(v,e,u),l&&(dr(vr,i=a+"Prototype")||yr(vr,i,{}),yr(vr[i],e,o),t.real)&&p&&(r||!p[e])&&yr(p,e,o))}function mt(t){return mr[t]||(mr[t]=gr(t))}function wt(t){return(t=+t)!=t||0==t?0:Pr(t)}function bt(t,n){return(t=qr(t))<0?Ir(t+n,0):Wr(t,n)}function xt(t){return 0<(t=t.length)?Kr(Nr(t),9007199254740991):0}function Ct(c){return function(t,n,r){var e,o=Hr(t),i=Rr(o),u=Gr(r,i);if(c&&n!=n){for(;u<i;)if((e=o[u++])!=e)return!0}else for(;u<i;u++)if((c||u in o)&&o[u]===n)return c
|