faker3/utils/Rebels/rebelsv.js

4 lines
164 KiB
JavaScript
Raw Normal View History

2024-11-12 11:17:55 +08:00
var ParamsSign=function(){"use strict";function t(t,r){return r.forEach((function(r){r&&"string"!=typeof r&&!Array.isArray(r)&&Object.keys(r).forEach((function(n){if("default"!==n&&!(n in t)){var e=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,e.get?e:{enumerable:!0,get:function(){return r[n]}})}}))})),Object.freeze(t)}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t){if(t.__esModule)return t;var r=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(n){var e=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,e.get?e:{enumerable:!0,get:function(){return t[n]}})})),r}var e=function(t){return t&&t.Math==Math&&t},o=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),a=u,c=Function.prototype,f=c.apply,s=c.call,v="object"==typeof Reflect&&Reflect.apply||(a?s.bind(f):function(){return s.apply(f,arguments)}),l=u,h=Function.prototype,p=h.call,d=l&&h.bind.bind(p,p),y=l?d:function(t){return function(){return p.apply(t,arguments)}},g=y,m=g({}.toString),w=g("".slice),x=function(t){return w(m(t),8,-1)},b=x,_=y,A=function(t){if("Function"===b(t))return _(t)},C="object"==typeof document&&document.all,D={all:C,IS_HTMLDDA:void 0===C&&void 0!==C},S=D.all,z=D.IS_HTMLDDA?function(t){return"function"==typeof t||t===S}:function(t){return"function"==typeof t},B={},j=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),L=u,M=Function.prototype.call,E=L?M.bind(M):function(){return M.apply(M,arguments)},O={},k={}.propertyIsEnumerable,T=Object.getOwnPropertyDescriptor,I=T&&!k.call({1:2},1);O.f=I?function(t){var r=T(this,t);return!!r&&r.enumerable}:k;var q,W,P=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},N=i,H=x,K=Object,R=y("".split),F=N((function(){return!K("z").propertyIsEnumerable(0)}))?function(t){return"String"==H(t)?R(t,""):K(t)}:K,G=function(t){return null==t},U=G,X=TypeError,Z=function(t){if(U(t))throw X("Can't call method on "+t);return t},Y=F,V=Z,J=function(t){return Y(V(t))},Q=z,$=D.all,tt=D.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Q(t)||t===$}:function(t){return"object"==typeof t?null!==t:Q(t)},rt={},nt=rt,et=o,ot=z,it=function(t){return ot(t)?t:void 0},ut=function(t,r){return arguments.length<2?it(nt[t])||it(et[t]):nt[t]&&nt[t][r]||et[t]&&et[t][r]},at=y({}.isPrototypeOf),ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ft=o,st=ct,vt=ft.process,lt=ft.Deno,ht=vt&&vt.versions||lt&&lt.version,pt=ht&&ht.v8;pt&&(W=(q=pt.split("."))[0]>0&&q[0]<4?1:+(q[0]+q[1])),!W&&st&&(!(q=st.match(/Edge\/(\d+)/))||q[1]>=74)&&(q=st.match(/Chrome\/(\d+)/))&&(W=+q[1]);var dt=W,yt=dt,gt=i,mt=!!Object.getOwnPropertySymbols&&!gt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&yt&&yt<41})),wt=mt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,xt=ut,bt=z,_t=at,At=Object,Ct=wt?function(t){return"symbol"==typeof t}:function(t){var r=xt("Symbol");return bt(r)&&_t(r.prototype,At(t))},Dt=String,St=function(t){try{return Dt(t)}catch(t){return"Object"}},zt=z,Bt=St,jt=TypeError,Lt=function(t){if(zt(t))return t;throw jt(Bt(t)+" is not a function")},Mt=Lt,Et=G,Ot=function(t,r){var n=t[r];return Et(n)?void 0:Mt(n)},kt=E,Tt=z,It=tt,qt=TypeError,Wt={exports:{}},Pt=o,Nt=Object.defineProperty,Ht=function(t,r){try{Nt(Pt,t,{value:r,configurable:!0,writable:!0})}catch(n){Pt[t]=r}return r},Kt="__core-js_shared__",Rt=o[Kt]||Ht(Kt,{}),Ft=Rt;(Wt.exports=function(t,r){return Ft[t]||(Ft[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.30.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.0/LICENSE",s
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
t.exports=v=function(){return l},t.exports.__esModule=!0,t.exports.default=t.exports;var l={},h=Object.prototype,p=h.hasOwnProperty,d=n||function(t,r,n){t[r]=n.value},y="function"==typeof e?e:{},g=y.iterator||"@@iterator",m=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag";function x(t,r,e){return n(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{x({},"")}catch(t){x=function(t,r,n){return t[r]=n}}function b(t,r,n,e){var i=r&&r.prototype instanceof C?r:C,u=o(i.prototype),a=new I(e||[]);return d(u,"_invoke",{value:E(t,n,a)}),u}function _(t,r,n){try{return{type:"normal",arg:t.call(r,n)}}catch(t){return{type:"throw",arg:t}}}l.wrap=b;var A={};function C(){}function D(){}function S(){}var z={};x(z,g,(function(){return this}));var B=i&&i(i(q([])));B&&B!==h&&p.call(B,g)&&(z=B);var j=S.prototype=C.prototype=o(z);function L(t){var r;u(r=["next","throw","return"]).call(r,(function(r){x(t,r,(function(t){return this._invoke(r,t)}))}))}function M(t,n){function e(o,i,u,a){var c=_(t[o],t,i);if("throw"!==c.type){var f=c.arg,s=f.value;return s&&"object"==r(s)&&p.call(s,"__await")?n.resolve(s.__await).then((function(t){e("next",t,u,a)}),(function(t){e("throw",t,u,a)})):n.resolve(s).then((function(t){f.value=t,u(f)}),(function(t){return e("throw",t,u,a)}))}a(c.arg)}var o;d(this,"_invoke",{value:function(t,r){function i(){return new n((function(n,o){e(t,r,n,o)}))}return o=o?o.then(i,i):i()}})}function E(t,r,n){var e="suspendedStart";return function(o,i){if("executing"===e)throw new Error("Generator is already running");if("completed"===e){if("throw"===o)throw i;return W()}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var a=O(u,n);if(a){if(a===A)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===e)throw e="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);e="executing";var c=_(t,r,n);if("normal"===c.type){if(e=n.done?"completed":"suspendedYield",c.arg===A)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(e="completed",n.method="throw",n.arg=c.arg)}}}function O(t,r){var n=r.method,e=t.iterator[n];if(void 0===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=void 0,O(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),A;var o=_(e,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,A;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,A):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,A)}function k(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function T(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function I(t){this.tryEntries=[{tryLoc:"root"}],u(t).call(t,k,this),this.reset(!0)}function q(t){if(t){var r=t[g];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,e=function r(){for(;++n<t.length;)if(p.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=void 0,r.done=!0,r};return e.next=e}}return{next:W}}function W(){return{value:void 0,done:!0}}return D.prototype=S,d(j,"constructor",{value:S,configurable:!0}),d(S,"constructor",{value:D,configurable:!0}),D.displayName=x(S,w,"GeneratorFunction"),l.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===D||"GeneratorFunction"===(r.displayName||r.name))},l.mark=function(t){return a?a(t,S):(t.__proto__=S,x(t,w,"GeneratorFunction")),t.prototype=o(j),t},l.awrap=function(t){return{__await:t}},L(M.prototype),x(M.prototype,m,(function(){return this})),l.AsyncIterator=M,l.async=function(t,r,n,e,o){void 0===o&&(o=c);var i=new M(b(t,r,n,e),o);return l.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(j),x(j,w,"Generator"),x(j,g,(function(){return this})),x(j,"toString",(function(