faker3/utils/Rebels/rebelsa.js

4 lines
184 KiB
JavaScript
Raw Permalink Normal View History

2024-11-12 11:17:55 +08:00
var ParamsSign=function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}var n={},a={exports:{}},o=function(e){return e&&e.Math===Math&&e},s=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e&&e)||o("object"==typeof e&&e)||function(){return this}()||Function("return this")(),c=function(e){try{return!!e()}catch(e){return!0}},i=!c((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=i,l=Function.prototype,h=l.apply,f=l.call,g="object"==typeof Reflect&&Reflect.apply||(u?f.bind(h):function(){return f.apply(h,arguments)}),p=i,v=Function.prototype,b=v.call,d=p&&v.bind.bind(b,b),k=p?d:function(e){return function(){return b.apply(e,arguments)}},y=k,m=y({}.toString),w=y("".slice),_=function(e){return w(m(e),8,-1)},x=_,S=k,E=function(e){if("Function"===x(e))return S(e)},A="object"==typeof document&&document.all,C=void 0===A&&void 0!==A?function(e){return"function"==typeof e||e===A}:function(e){return"function"==typeof e},O={},T=!c((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),D=i,B=Function.prototype.call,j=D?B.bind(B):function(){return B.apply(B,arguments)},M={},R={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,P=N&&!R.call({1:2},1);M.f=P?function(e){var t=N(this,e);return!!t&&t.enumerable}:R;var I,L,z=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},G=c,H=_,F=Object,U=k("".split),Y=G((function(){return!F("z").propertyIsEnumerable(0)}))?function(e){return"String"===H(e)?U(e,""):F(e)}:F,J=function(e){return null==e},W=J,X=TypeError,K=function(e){if(W(e))throw new X("Can't call method on "+e);return e},q=Y,Z=K,V=function(e){return q(Z(e))},Q=C,$=function(e){return"object"==typeof e?null!==e:Q(e)},ee={},te=ee,re=s,ne=C,ae=function(e){return ne(e)?e:void 0},oe=function(e,t){return arguments.length<2?ae(te[e])||ae(re[e]):te[e]&&te[e][t]||re[e]&&re[e][t]},se=k({}.isPrototypeOf),ce="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ie=s,ue=ce,le=ie.process,he=ie.Deno,fe=le&&le.versions||he&&he.version,ge=fe&&fe.v8;ge&&(L=(I=ge.split("."))[0]>0&&I[0]<4?1:+(I[0]+I[1])),!L&&ue&&(!(I=ue.match(/Edge\/(\d+)/))||I[1]>=74)&&(I=ue.match(/Chrome\/(\d+)/))&&(L=+I[1]);var pe=L,ve=pe,be=c,de=s.String,ke=!!Object.getOwnPropertySymbols&&!be((function(){var e=Symbol("symbol detection");return!de(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ve&&ve<41})),ye=ke&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,me=oe,we=C,_e=se,xe=Object,Se=ye?function(e){return"symbol"==typeof e}:function(e){var t=me("Symbol");return we(t)&&_e(t.prototype,xe(e))},Ee=String,Ae=function(e){try{return Ee(e)}catch(e){return"Object"}},Ce=C,Oe=Ae,Te=TypeError,De=function(e){if(Ce(e))return e;throw new Te(Oe(e)+" is not a function")},Be=De,je=J,Me=function(e,t){var r=e[t];return je(r)?void 0:Be(r)},Re=j,Ne=C,Pe=$,Ie=TypeError,Le={exports:{}},ze=s,Ge=Object.defineProperty,He=s,Fe=function(e,t){try{Ge(ze,e,{value:t,configurable:!0,writable:!0})}catch(r){ze[e]=t}return t},Ue="__core-js_shared__",Ye=Le.exports=He[Ue]||Fe(Ue,{});(Ye.versions||(Ye.versions=[])).push({version:"3.36.1",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Je=Le.exports,We=function(e,t){return Je[e]||(Je[e]=t||{})},Xe=K,Ke=Object,qe=function(e){return Ke(Xe(e))},Ze=qe,Ve=k({}.hasOwnProperty),Qe=Object.hasOwn||function(e,t){return Ve(Ze(e),t)},$e=k,et=0,tt=Math.random(),rt=$e(1..to
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
e.exports=g=function(){return p},e.exports.__esModule=!0,e.exports.default=e.exports;var a,p={},v=Object.prototype,b=v.hasOwnProperty,d=r||function(e,t,r){e[t]=r.value},k="function"==typeof n?n:{},y=k.iterator||"@@iterator",m=k.asyncIterator||"@@asyncIterator",w=k.toStringTag||"@@toStringTag";function _(e,t,n){return r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{_({},"")}catch(a){_=function(e,t,r){return e[t]=r}}function x(e,t,r,n){var a=t&&t.prototype instanceof D?t:D,s=o(a.prototype),c=new F(n||[]);return d(s,"_invoke",{value:L(e,r,c)}),s}function S(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}p.wrap=x;var E="suspendedStart",A="suspendedYield",C="executing",O="completed",T={};function D(){}function B(){}function j(){}var M={};_(M,y,(function(){return this}));var R=s&&s(s(U([])));R&&R!==v&&b.call(R,y)&&(M=R);var N=j.prototype=D.prototype=o(M);function P(e){var t;c(t=["next","throw","return"]).call(t,(function(t){_(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,r){function n(a,o,s,c){var i=S(e[a],e,o);if("throw"!==i.type){var u=i.arg,l=u.value;return l&&"object"==t(l)&&b.call(l,"__await")?r.resolve(l.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):r.resolve(l).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,c)}))}c(i.arg)}var a;d(this,"_invoke",{value:function(e,t){function o(){return new r((function(r,a){n(e,t,r,a)}))}return a=a?a.then(o,o):o()}})}function L(e,t,r){var n=E;return function(o,s){if(n===C)throw Error("Generator is already running");if(n===O){if("throw"===o)throw s;return{value:a,done:!0}}for(r.method=o,r.arg=s;;){var c=r.delegate;if(c){var i=z(c,r);if(i){if(i===T)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===E)throw n=O,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=C;var u=S(e,t,r);if("normal"===u.type){if(n=r.done?O:A,u.arg===T)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=O,r.method="throw",r.arg=u.arg)}}}function z(e,t){var r=t.method,n=e.iterator[r];if(n===a)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=a,z(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),T;var o=S(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,T;var s=o.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=a),t.delegate=null,T):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,T)}function G(e){var t,r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),i(t=this.tryEntries).call(t,r)}function H(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],c(e).call(e,G,this),this.reset(!0)}function U(e){if(e||""===e){var r=e[y];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(b.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=a,t.done=!0,t};return o.next=o}}throw new TypeError(t(e)+" is not iterable")}return B.prototype=j,d(N,"constructor",{value:j,configurable:!0}),d(j,"constructor",{value:B,configurable:!0}),B.displayName=_(j,w,"GeneratorFunction"),p.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===B||"GeneratorFunction"===(t.displayName||t.name))},p.mark=function(e){return u?u(e,j):(e.__proto__=j,_(e,w,"GeneratorFunction")),e.prototype=o(N),e},p.awrap=function(e){return{__await:e}},P(I.prototype),_(I.prototype,m,(function(){return this})),p.AsyncIterator=I,p.async=function(e,t,r,n,a){void 0===a&&(a=l);var o=new I(x(e,t,r,n),a);return p.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},P(N),_(N,w,"Generator"),_(N,y,(function(){return this})),_(N,"toString",(function(){return"[object Generator]"})),p.keys=func