@authing/guard-shim-react 4.5.0-alpha.0 → 4.5.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/guard.min.js
CHANGED
|
@@ -1,61 +1,6 @@
|
|
|
1
1
|
/*! For license information please see guard.min.js.LICENSE.txt */
|
|
2
2
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.GuardFactory=t(require("react"),require("react-dom")):e.GuardFactory=t(e.react,e["react-dom"])}(this,((e,t)=>/******/(()=>{// webpackBootstrap
|
|
3
3
|
/******/var n={
|
|
4
|
-
/***/8598:
|
|
5
|
-
/***/(e,t,n)=>{"use strict";var r=n(75794),o=n(48386),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}}
|
|
6
|
-
/***/,
|
|
7
|
-
/***/48386:
|
|
8
|
-
/***/(e,t,n)=>{"use strict";var r=n(59861),o=n(75794),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(i,a),u=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){
|
|
9
|
-
// IE 8 has a broken defineProperty
|
|
10
|
-
c=null}e.exports=function(e){var t=s(r,i,arguments);u&&c&&(u(t,"length").configurable&&
|
|
11
|
-
// original length, plus the receiver, minus any additional arguments (after the receiver)
|
|
12
|
-
c(t,"length",{value:1+l(0,e.length-(arguments.length-1))}));return t};var d=function(){return s(r,a,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d
|
|
13
|
-
/***/},
|
|
14
|
-
/***/35164:
|
|
15
|
-
/***/e=>{"use strict";
|
|
16
|
-
/* eslint no-invalid-this: 1 */var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,a=t.call(arguments,1),i=Math.max(0,r.length-a.length),s=[],u=0;u<i;u++)s.push("$"+u);if(o=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var n=r.apply(this,a.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,a.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,o.prototype=new c,c.prototype=null}return o}}
|
|
17
|
-
/***/,
|
|
18
|
-
/***/59861:
|
|
19
|
-
/***/(e,t,n)=>{"use strict";var r=n(35164);e.exports=Function.prototype.bind||r}
|
|
20
|
-
/***/,
|
|
21
|
-
/***/75794:
|
|
22
|
-
/***/(e,t,n)=>{"use strict";var r,o=SyntaxError,a=Function,i=TypeError,s=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null;// this is IE 8, which has a broken gOPD
|
|
23
|
-
}var c=function(){throw new i},l=u?function(){try{// IE 8 does not throw here
|
|
24
|
-
return c}catch(e){try{
|
|
25
|
-
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
26
|
-
return u(arguments,"callee").get}catch(e){return c}}}():c,d=n(58653)(),f=Object.getPrototypeOf||function(e){return e.__proto__},h={},p="undefined"==typeof Uint8Array?r:f(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,
|
|
27
|
-
// eslint-disable-line no-eval
|
|
28
|
-
"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};try{null.error;// eslint-disable-line no-unused-expressions
|
|
29
|
-
}catch(e){
|
|
30
|
-
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
31
|
-
var g=f(f(e));m["%Error.prototype%"]=g}var v=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=f(o.prototype))}return m[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=n(59861),b=n(79826),w=_.call(Function.call,Array.prototype.concat),M=_.call(Function.apply,Array.prototype.splice),k=_.call(Function.call,String.prototype.replace),L=_.call(Function.call,String.prototype.slice),C=_.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,T=function(e,t){var n,r=e;if(b(y,r)&&(r="%"+(n=y[r])[0]+"%"),b(m,r)){var a=m[r];if(a===h&&(a=v(r)),void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=L(e,0,1),n=L(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return k(e,S,(function(e,t,n,o){r[r.length]=n?k(o,E,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",a=T("%"+r+"%",t),s=a.name,c=a.value,l=!1,d=a.alias;d&&(r=d[0],M(n,w([0,1],d)));for(var f=1,h=!0;f<n.length;f+=1){var p=n[f],g=L(p,0,1),v=L(p,-1);if(('"'===g||"'"===g||"`"===g||'"'===v||"'"===v||"`"===v)&&g!==v)throw new o("property names with quotes must have matching quotes");if("constructor"!==p&&h||(l=!0),b(m,s="%"+(r+="."+p)+"%"))c=m[s];else if(null!=c){if(!(p in c)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&f+1>=n.length){var y=u(c,p);
|
|
32
|
-
// By convention, when a data property is converted to an accessor
|
|
33
|
-
// property to emulate a data property that does not suffer from
|
|
34
|
-
// the override mistake, that accessor's getter is marked with
|
|
35
|
-
// an `originalValue` property. Here, when we detect this, we
|
|
36
|
-
// uphold the illusion by pretending to see that original data
|
|
37
|
-
// property, i.e., returning the value rather than the getter
|
|
38
|
-
// itself.
|
|
39
|
-
c=(h=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[p]}else h=b(c,p),c=c[p];h&&!l&&(m[s]=c)}}return c}}
|
|
40
|
-
/***/,
|
|
41
|
-
/***/58653:
|
|
42
|
-
/***/(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(96982);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}
|
|
43
|
-
/***/,
|
|
44
|
-
/***/96982:
|
|
45
|
-
/***/e=>{"use strict";
|
|
46
|
-
/* eslint complexity: [2, 18], max-statements: [2, 33] */e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;
|
|
47
|
-
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
48
|
-
// if (sym instanceof Symbol) { return false; }
|
|
49
|
-
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
50
|
-
// if (!(symObj instanceof Symbol)) { return false; }
|
|
51
|
-
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
52
|
-
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
53
|
-
for(t in e[t]=42,e)return!1;// eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
54
|
-
if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}}
|
|
55
|
-
/***/,
|
|
56
|
-
/***/79826:
|
|
57
|
-
/***/(e,t,n)=>{"use strict";var r=n(59861);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}
|
|
58
|
-
/***/,
|
|
59
4
|
/***/75925:
|
|
60
5
|
/***/(e,t,n)=>{var r=n(35368)(n(80521),"DataView");
|
|
61
6
|
/* Built-in method references that are verified to be native. */e.exports=r}
|
|
@@ -2588,94 +2533,6 @@ function(){return!1}}
|
|
|
2588
2533
|
* // => '1,2,3'
|
|
2589
2534
|
*/e.exports=function(e){return null==e?"":r(e)}}
|
|
2590
2535
|
/***/,
|
|
2591
|
-
/***/69187:
|
|
2592
|
-
/***/(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&"function"==typeof o.get?o.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&u&&"function"==typeof u.get?u.get:null,l=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,_=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,M=RegExp.prototype.test,k=Array.prototype.concat,L=Array.prototype.join,C=Array.prototype.slice,S=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,x="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Y="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===x||"symbol")?Symbol.toStringTag:null,P=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__;// eslint-disable-line no-proto
|
|
2593
|
-
}:null);function A(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||M.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);// trunc(num)
|
|
2594
|
-
if(r!==e){var o=String(r),a=y.call(t,o.length+1);return _.call(o,n,"$&_")+"."+_.call(_.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(t,n,"$&_")}var N=n(53260),I=N.custom,j=W(I)?I:null;function R(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function H(e){return _.call(String(e),/"/g,""")}function F(e){return!("[object Array]"!==q(e)||Y&&"object"==typeof e&&Y in e)}function B(e){return!("[object RegExp]"!==q(e)||Y&&"object"==typeof e&&Y in e)}
|
|
2595
|
-
// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
|
|
2596
|
-
function W(e){if(x)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!D)return!1;try{return D.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(U(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(U(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!U(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(U(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(U(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return $(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var b=String(t);return m?A(t,b):b}if("bigint"==typeof t){var M=String(t)+"n";return m?A(t,M):M}var S=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=S&&S>0&&"object"==typeof t)return F(t)?"[Array]":"[Object]";var T=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=L.call(Array(e.indent+1)," ")}return{base:n,prev:L.call(Array(t+1),n)}}(s,r);if(void 0===o)o=[];else if(V(o,t)>=0)return"[Circular]";function I(t,n,a){if(n&&(o=C.call(o)).push(n),a){var i={depth:s.depth};return U(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,r+1,o)}return e(t,s,r+1,o)}if("function"==typeof t&&!B(t)){
|
|
2597
|
-
// in older engines, regexes are callable
|
|
2598
|
-
var z=function(e){if(e.name)return e.name;var t=v.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),G=X(t,I);return"[Function"+(z?": "+z:" (anonymous)")+"]"+(G.length>0?" { "+L.call(G,", ")+" }":"")}if(W(t)){var ee=x?_.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):D.call(t);return"object"!=typeof t||x?ee:K(ee)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var te="<"+w.call(String(t.nodeName)),ne=t.attributes||[],re=0;re<ne.length;re++)te+=" "+ne[re].name+"="+R(H(ne[re].value),"double",s);return te+=">",t.childNodes&&t.childNodes.length&&(te+="..."),te+="</"+w.call(String(t.nodeName))+">"}if(F(t)){if(0===t.length)return"[]";var oe=X(t,I);return T&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(oe)?"["+Q(oe,T)+"]":"[ "+L.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t)){var ae=X(t,I);return"cause"in Error.prototype||!("cause"in t)||P.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+L.call(ae,", ")+" }":"{ ["+String(t)+"] "+L.call(k.call("[cause]: "+I(t.cause),ae),", ")+" }"}if("object"==typeof t&&u){if(j&&"function"==typeof t[j]&&N)return N(t,{depth:S-r});if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map;// core-js workaround, pre-v2.5.0
|
|
2599
|
-
}catch(e){}return!1}(t)){var ie=[];return i&&i.call(t,(function(e,n){ie.push(I(n,t,!0)+" => "+I(e,t))})),Z("Map",a.call(t),ie,T)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set;// core-js workaround, pre-v2.5.0
|
|
2600
|
-
}catch(e){}return!1}(t)){var se=[];return l&&l.call(t,(function(e){se.push(I(e,t))})),Z("Set",c.call(t),se,T)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap;// core-js workaround, pre-v2.5.0
|
|
2601
|
-
}catch(e){}return!1}(t))return J("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet;// core-js workaround, pre-v2.5.0
|
|
2602
|
-
}catch(e){}return!1}(t))return J("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return J("WeakRef");if(function(e){return!("[object Number]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t))return K(I(Number(t)));if(function(e){if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}(t))return K(I(E.call(t)));if(function(e){return!("[object Boolean]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t))return K(p.call(t));if(function(e){return!("[object String]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t))return K(I(String(t)));if(!function(e){return!("[object Date]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t)&&!B(t)){var ue=X(t,I),ce=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,le=t instanceof Object?"":"null prototype",de=!ce&&Y&&Object(t)===t&&Y in t?y.call(q(t),8,-1):le?"Object":"",fe=(ce||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||le?"["+L.call(k.call([],de||[],le||[]),": ")+"] ":"");return 0===ue.length?fe+"{}":T?fe+"{"+Q(ue,T)+"}":fe+"{ "+L.call(ue,", ")+" }"}return String(t)};var z=Object.prototype.hasOwnProperty||function(e){return e in this};function U(e,t){return z.call(e,t)}function q(e){return m.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function $(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return $(y.call(e,0,t.maxStringLength),t)+r}
|
|
2603
|
-
// eslint-disable-next-line no-control-regex
|
|
2604
|
-
return R(_.call(_.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function K(e){return"Object("+e+")"}function J(e){return e+" { ? }"}function Z(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):L.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+L.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=F(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=U(e,o)?t(e[o],e):""}var a,i="function"==typeof T?T(e):[];if(x){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var u in e)
|
|
2605
|
-
// eslint-disable-line no-restricted-syntax
|
|
2606
|
-
U(e,u)&&(// eslint-disable-line no-restricted-syntax, no-continue
|
|
2607
|
-
n&&String(Number(u))===u&&u<e.length||x&&a["$"+u]instanceof Symbol||(M.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof T)for(var c=0;c<i.length;c++)P.call(e,i[c])&&r.push("["+t(i[c])+"]: "+t(e[i[c]],e));return r}
|
|
2608
|
-
/***/},
|
|
2609
|
-
/***/11778:
|
|
2610
|
-
/***/e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:o}}
|
|
2611
|
-
/***/,
|
|
2612
|
-
/***/41007:
|
|
2613
|
-
/***/(e,t,n)=>{"use strict";var r=n(41681),o=n(60746),a=n(11778);e.exports={formats:a,parse:o,stringify:r}}
|
|
2614
|
-
/***/,
|
|
2615
|
-
/***/60746:
|
|
2616
|
-
/***/(e,t,n)=>{"use strict";var r=n(50118),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){
|
|
2617
|
-
// Transform dot notation to bracket notation
|
|
2618
|
-
var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(a),c=s?a.slice(0,s.index):a,l=[];
|
|
2619
|
-
// The regex chunks
|
|
2620
|
-
if(c){
|
|
2621
|
-
// If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
|
|
2622
|
-
if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}
|
|
2623
|
-
// Loop through children appending to the array until we hit depth
|
|
2624
|
-
for(var d=0;n.depth>0&&null!==(s=i.exec(a))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}
|
|
2625
|
-
// If there's a remainder, just add whatever is left
|
|
2626
|
-
return s&&l.push("["+a.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:u(t,n),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&n.parseArrays)i=[].concat(o);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(i=[])[l]=o:"__proto__"!==c&&(i[c]=o):i={0:o}}o=i}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,
|
|
2627
|
-
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
2628
|
-
depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,c={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=l.split(t.delimiter,d),h=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?p="utf-8":"utf8=%26%2310003%3B"===f[n]&&(p="iso-8859-1"),h=n,n=f.length);for(n=0;n<f.length;++n)if(n!==h){var m,g,v=f[n],y=v.indexOf("]="),_=-1===y?v.indexOf("="):y+1;-1===_?(m=t.decoder(v,i.decoder,p,"key"),g=t.strictNullHandling?null:""):(m=t.decoder(v.slice(0,_),i.decoder,p,"key"),g=r.maybeMap(u(v.slice(_+1),t),(function(e){return t.decoder(e,i.decoder,p,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===p&&(g=s(g)),v.indexOf("[]=")>-1&&(g=a(g)?[g]:g),o.call(c,m)?c[m]=r.combine(c[m],g):c[m]=g}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(l),h=0;h<f.length;++h){var p=f[h],m=c(p,l[p],n,"string"==typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}}
|
|
2629
|
-
/***/,
|
|
2630
|
-
/***/41681:
|
|
2631
|
-
/***/(e,t,n)=>{"use strict";var r=n(17175),o=n(50118),a=n(11778),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,u(t)?t:[t])},d=Date.prototype.toISOString,f=a.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:a.formatters[f],
|
|
2632
|
-
// deprecated
|
|
2633
|
-
indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p={},m=function e(t,n,a,i,s,c,d,f,m,g,v,y,_,b,w,M){for(var k,L=t,C=M,S=0,E=!1;void 0!==(C=C.get(p))&&!E;){
|
|
2634
|
-
// Where object last appeared in the ref tree
|
|
2635
|
-
var T=C.get(t);if(S+=1,void 0!==T){if(T===S)throw new RangeError("Cyclic object value");E=!0}void 0===C.get(p)&&(S=0)}if("function"==typeof f?L=f(n,L):L instanceof Date?L=v(L):"comma"===a&&u(L)&&(L=o.maybeMap(L,(function(e){return e instanceof Date?v(e):e}))),null===L){if(s)return d&&!b?d(n,h.encoder,w,"key",y):n;L=""}if("string"==typeof(k=L)||"number"==typeof k||"boolean"==typeof k||"symbol"==typeof k||"bigint"==typeof k||o.isBuffer(L))return d?[_(b?n:d(n,h.encoder,w,"key",y))+"="+_(d(L,h.encoder,w,"value",y))]:[_(n)+"="+_(String(L))];var D,x=[];if(void 0===L)return x;if("comma"===a&&u(L))
|
|
2636
|
-
// we need to join elements in
|
|
2637
|
-
b&&d&&(L=o.maybeMap(L,d)),D=[{value:L.length>0?L.join(",")||null:void 0}];else if(u(f))D=f;else{var Y=Object.keys(L);D=m?Y.sort(m):Y}for(var P=i&&u(L)&&1===L.length?n+"[]":n,O=0;O<D.length;++O){var A=D[O],N="object"==typeof A&&void 0!==A.value?A.value:L[A];if(!c||null!==N){var I=u(L)?"function"==typeof a?a(P,A):P:P+(g?"."+A:"["+A+"]");M.set(t,S);var j=r();j.set(p,M),l(x,e(N,I,a,i,s,c,"comma"===a&&b&&u(L)?null:d,f,m,g,v,y,_,b,w,j))}}return x};e.exports=function(e,t){var n,o=e,c=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=a.formatters[n],o=h.filter;return("function"==typeof e.filter||u(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"==typeof c.filter?o=(0,c.filter)("",o):u(c.filter)&&(n=c.filter);var d,f=[];if("object"!=typeof o||null===o)return"";d=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=s[d];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===p&&t&&t.commaRoundTrip;n||(n=Object.keys(o)),c.sort&&n.sort(c.sort);for(var v=r(),y=0;y<n.length;++y){var _=n[y];c.skipNulls&&null===o[_]||l(f,m(o[_],_,p,g,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,v))}var b=f.join(c.delimiter),w=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?
|
|
2638
|
-
// encodeURIComponent('✓'), the "numeric entity" representation of a checkmark
|
|
2639
|
-
w+="utf8=%26%2310003%3B&":
|
|
2640
|
-
// encodeURIComponent('✓')
|
|
2641
|
-
w+="utf8=%E2%9C%93&"),b.length>0?w+b:""}}
|
|
2642
|
-
/***/,
|
|
2643
|
-
/***/50118:
|
|
2644
|
-
/***/(e,t,n)=>{"use strict";var r=n(11778),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],s=Object.keys(i),u=0;u<s.length;++u){var c=s[u],l=i[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:i,prop:c}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)
|
|
2645
|
-
// unescape never throws, no try...catch needed:
|
|
2646
|
-
return r.replace(/%[0-9a-f]{2}/gi,unescape);
|
|
2647
|
-
// utf-8
|
|
2648
|
-
try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,a){
|
|
2649
|
-
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
|
|
2650
|
-
// It has been adapted here for stricter adherence to RFC 3986
|
|
2651
|
-
if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<s.length;++c){var l=s.charCodeAt(c);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||a===r.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=i[l]:l<2048?u+=i[192|l>>6]+i[128|63&l]:l<55296||l>=57344?u+=i[224|l>>12]+i[128|l>>6&63]+i[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),
|
|
2652
|
-
/* eslint operator-linebreak: [2, "before"] */
|
|
2653
|
-
u+=i[240|l>>18]+i[128|l>>12&63]+i[128|l>>6&63]+i[128|63&l])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){
|
|
2654
|
-
/* eslint no-param-reassign: 0 */
|
|
2655
|
-
if(!n)return t;if("object"!=typeof n){if(a(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return a(t)&&!a(n)&&(i=s(t,r)),a(t)&&a(n)?(n.forEach((function(n,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&n&&"object"==typeof n?t[a]=e(i,n,r):t.push(n)}else t[a]=n})),t):Object.keys(n).reduce((function(t,a){var i=n[a];return o.call(t,a)?t[a]=e(t[a],i,r):t[a]=i,t}),i)}}}
|
|
2656
|
-
/***/,
|
|
2657
|
-
/***/17175:
|
|
2658
|
-
/***/(e,t,n)=>{"use strict";var r=n(75794),o=n(8598),a=n(69187),i=r("%TypeError%"),s=r("%WeakMap%",!0),u=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),m=function(e,t){
|
|
2659
|
-
// eslint-disable-line consistent-return
|
|
2660
|
-
for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)// eslint-disable-line no-param-reassign
|
|
2661
|
-
return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+a(e))},get:function(r){
|
|
2662
|
-
// eslint-disable-line consistent-return
|
|
2663
|
-
if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(u){if(t)return f(t,r)}else if(n)
|
|
2664
|
-
// eslint-disable-line no-lonely-if
|
|
2665
|
-
return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(u){if(t)return p(t,r)}else if(n)
|
|
2666
|
-
// eslint-disable-line no-lonely-if
|
|
2667
|
-
return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),l(e,r,o)):u?(t||(t=new u),h(t,r,o)):(n||(
|
|
2668
|
-
/*
|
|
2669
|
-
* Initialize the linked list as an empty node, so that we don't have
|
|
2670
|
-
* to special-case handling of the first node: we can always refer to
|
|
2671
|
-
* it as (previous node).next, instead of something like (list).head
|
|
2672
|
-
*/
|
|
2673
|
-
n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:
|
|
2674
|
-
// Prepend the new node to the beginning of the list
|
|
2675
|
-
e.next={
|
|
2676
|
-
// eslint-disable-line no-param-reassign
|
|
2677
|
-
key:t,next:e.next,value:n}}(n,r,o))}};return r}}
|
|
2678
|
-
/***/,
|
|
2679
2536
|
/***/42655:
|
|
2680
2537
|
/***/e=>{"use strict";
|
|
2681
2538
|
/* jshint node: true */var t=/(\*|\?)/g;
|
|
@@ -3356,6 +3213,16 @@ function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.produ
|
|
|
3356
3213
|
* @return {string} content value without BOM
|
|
3357
3214
|
*/,trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}}
|
|
3358
3215
|
/***/,
|
|
3216
|
+
/***/2245:
|
|
3217
|
+
/***/(e,t,n)=>{"use strict";var r=n(88642),o=n(95162),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}}
|
|
3218
|
+
/***/,
|
|
3219
|
+
/***/95162:
|
|
3220
|
+
/***/(e,t,n)=>{"use strict";var r=n(8739),o=n(88642),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(i,a),u=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){
|
|
3221
|
+
// IE 8 has a broken defineProperty
|
|
3222
|
+
c=null}e.exports=function(e){var t=s(r,i,arguments);u&&c&&(u(t,"length").configurable&&
|
|
3223
|
+
// original length, plus the receiver, minus any additional arguments (after the receiver)
|
|
3224
|
+
c(t,"length",{value:1+l(0,e.length-(arguments.length-1))}));return t};var d=function(){return s(r,a,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d
|
|
3225
|
+
/***/},
|
|
3359
3226
|
/***/75996:
|
|
3360
3227
|
/***/(e,t)=>{var n;
|
|
3361
3228
|
/*!
|
|
@@ -5916,6 +5783,55 @@ var u=i[s];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}}
|
|
|
5916
5783
|
/***/13791:
|
|
5917
5784
|
/***/e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),a=0;a<r.length;a++){var i=r[a],s=e[i];(o?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}}
|
|
5918
5785
|
/***/,
|
|
5786
|
+
/***/54997:
|
|
5787
|
+
/***/e=>{"use strict";
|
|
5788
|
+
/* eslint no-invalid-this: 1 */var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,a=t.call(arguments,1),i=Math.max(0,r.length-a.length),s=[],u=0;u<i;u++)s.push("$"+u);if(o=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var n=r.apply(this,a.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,a.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,o.prototype=new c,c.prototype=null}return o}}
|
|
5789
|
+
/***/,
|
|
5790
|
+
/***/8739:
|
|
5791
|
+
/***/(e,t,n)=>{"use strict";var r=n(54997);e.exports=Function.prototype.bind||r}
|
|
5792
|
+
/***/,
|
|
5793
|
+
/***/88642:
|
|
5794
|
+
/***/(e,t,n)=>{"use strict";var r,o=SyntaxError,a=Function,i=TypeError,s=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null;// this is IE 8, which has a broken gOPD
|
|
5795
|
+
}var c=function(){throw new i},l=u?function(){try{// IE 8 does not throw here
|
|
5796
|
+
return c}catch(e){try{
|
|
5797
|
+
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
5798
|
+
return u(arguments,"callee").get}catch(e){return c}}}():c,d=n(33994)(),f=n(48610)(),h=Object.getPrototypeOf||(f?function(e){return e.__proto__}// eslint-disable-line no-proto
|
|
5799
|
+
:null),p={},m="undefined"!=typeof Uint8Array&&h?h(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&h?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,
|
|
5800
|
+
// eslint-disable-line no-eval
|
|
5801
|
+
"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&h?h(h([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&h?h((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&h?h((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&h?h(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":m,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(h)try{null.error;// eslint-disable-line no-unused-expressions
|
|
5802
|
+
}catch(e){
|
|
5803
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
5804
|
+
var v=h(h(e));g["%Error.prototype%"]=v}var y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&h&&(n=h(o.prototype))}return g[t]=n,n},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(8739),w=n(8310),M=b.call(Function.call,Array.prototype.concat),k=b.call(Function.apply,Array.prototype.splice),L=b.call(Function.call,String.prototype.replace),C=b.call(Function.call,String.prototype.slice),S=b.call(Function.call,RegExp.prototype.exec),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,D=function(e,t){var n,r=e;if(w(_,r)&&(r="%"+(n=_[r])[0]+"%"),w(g,r)){var a=g[r];if(a===p&&(a=y(r)),void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=C(e,0,1),n=C(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return L(e,E,(function(e,t,n,o){r[r.length]=n?L(o,T,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",a=D("%"+r+"%",t),s=a.name,c=a.value,l=!1,d=a.alias;d&&(r=d[0],k(n,M([0,1],d)));for(var f=1,h=!0;f<n.length;f+=1){var p=n[f],m=C(p,0,1),v=C(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===v||"'"===v||"`"===v)&&m!==v)throw new o("property names with quotes must have matching quotes");if("constructor"!==p&&h||(l=!0),w(g,s="%"+(r+="."+p)+"%"))c=g[s];else if(null!=c){if(!(p in c)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&f+1>=n.length){var y=u(c,p);
|
|
5805
|
+
// By convention, when a data property is converted to an accessor
|
|
5806
|
+
// property to emulate a data property that does not suffer from
|
|
5807
|
+
// the override mistake, that accessor's getter is marked with
|
|
5808
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
5809
|
+
// uphold the illusion by pretending to see that original data
|
|
5810
|
+
// property, i.e., returning the value rather than the getter
|
|
5811
|
+
// itself.
|
|
5812
|
+
c=(h=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[p]}else h=w(c,p),c=c[p];h&&!l&&(g[s]=c)}}return c}}
|
|
5813
|
+
/***/,
|
|
5814
|
+
/***/48610:
|
|
5815
|
+
/***/e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}}
|
|
5816
|
+
/***/,
|
|
5817
|
+
/***/33994:
|
|
5818
|
+
/***/(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(6142);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}
|
|
5819
|
+
/***/,
|
|
5820
|
+
/***/6142:
|
|
5821
|
+
/***/e=>{"use strict";
|
|
5822
|
+
/* eslint complexity: [2, 18], max-statements: [2, 33] */e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;
|
|
5823
|
+
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
5824
|
+
// if (sym instanceof Symbol) { return false; }
|
|
5825
|
+
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
5826
|
+
// if (!(symObj instanceof Symbol)) { return false; }
|
|
5827
|
+
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
5828
|
+
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
5829
|
+
for(t in e[t]=42,e)return!1;// eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
5830
|
+
if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}}
|
|
5831
|
+
/***/,
|
|
5832
|
+
/***/8310:
|
|
5833
|
+
/***/(e,t,n)=>{"use strict";var r=n(8739);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}
|
|
5834
|
+
/***/,
|
|
5919
5835
|
/***/12279:
|
|
5920
5836
|
/***/function(e,t){(function(){
|
|
5921
5837
|
// Copyright (c) 2005 Tom Wu
|
|
@@ -7931,6 +7847,24 @@ TIME_MS:"HH:mm:ss.SSS",
|
|
|
7931
7847
|
WEEK:"GGGG-[W]WW",
|
|
7932
7848
|
// <input type="week" />
|
|
7933
7849
|
MONTH:"YYYY-MM"},o}()},
|
|
7850
|
+
/***/53177:
|
|
7851
|
+
/***/(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&"function"==typeof o.get?o.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&u&&"function"==typeof u.get?u.get:null,l=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,_=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,M=RegExp.prototype.test,k=Array.prototype.concat,L=Array.prototype.join,C=Array.prototype.slice,S=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,x="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Y="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===x||"symbol")?Symbol.toStringTag:null,P=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__;// eslint-disable-line no-proto
|
|
7852
|
+
}:null);function A(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||M.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);// trunc(num)
|
|
7853
|
+
if(r!==e){var o=String(r),a=y.call(t,o.length+1);return _.call(o,n,"$&_")+"."+_.call(_.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(t,n,"$&_")}var N=n(24654),I=N.custom,j=W(I)?I:null;function R(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function H(e){return _.call(String(e),/"/g,""")}function F(e){return!("[object Array]"!==q(e)||Y&&"object"==typeof e&&Y in e)}function B(e){return!("[object RegExp]"!==q(e)||Y&&"object"==typeof e&&Y in e)}
|
|
7854
|
+
// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
|
|
7855
|
+
function W(e){if(x)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!D)return!1;try{return D.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(U(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(U(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!U(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(U(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(U(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return $(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var b=String(t);return m?A(t,b):b}if("bigint"==typeof t){var M=String(t)+"n";return m?A(t,M):M}var S=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=S&&S>0&&"object"==typeof t)return F(t)?"[Array]":"[Object]";var T=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=L.call(Array(e.indent+1)," ")}return{base:n,prev:L.call(Array(t+1),n)}}(s,r);if(void 0===o)o=[];else if(V(o,t)>=0)return"[Circular]";function I(t,n,a){if(n&&(o=C.call(o)).push(n),a){var i={depth:s.depth};return U(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,r+1,o)}return e(t,s,r+1,o)}if("function"==typeof t&&!B(t)){
|
|
7856
|
+
// in older engines, regexes are callable
|
|
7857
|
+
var z=function(e){if(e.name)return e.name;var t=v.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),G=X(t,I);return"[Function"+(z?": "+z:" (anonymous)")+"]"+(G.length>0?" { "+L.call(G,", ")+" }":"")}if(W(t)){var ee=x?_.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):D.call(t);return"object"!=typeof t||x?ee:K(ee)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var te="<"+w.call(String(t.nodeName)),ne=t.attributes||[],re=0;re<ne.length;re++)te+=" "+ne[re].name+"="+R(H(ne[re].value),"double",s);return te+=">",t.childNodes&&t.childNodes.length&&(te+="..."),te+="</"+w.call(String(t.nodeName))+">"}if(F(t)){if(0===t.length)return"[]";var oe=X(t,I);return T&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(oe)?"["+Q(oe,T)+"]":"[ "+L.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t)){var ae=X(t,I);return"cause"in Error.prototype||!("cause"in t)||P.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+L.call(ae,", ")+" }":"{ ["+String(t)+"] "+L.call(k.call("[cause]: "+I(t.cause),ae),", ")+" }"}if("object"==typeof t&&u){if(j&&"function"==typeof t[j]&&N)return N(t,{depth:S-r});if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map;// core-js workaround, pre-v2.5.0
|
|
7858
|
+
}catch(e){}return!1}(t)){var ie=[];return i&&i.call(t,(function(e,n){ie.push(I(n,t,!0)+" => "+I(e,t))})),Z("Map",a.call(t),ie,T)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set;// core-js workaround, pre-v2.5.0
|
|
7859
|
+
}catch(e){}return!1}(t)){var se=[];return l&&l.call(t,(function(e){se.push(I(e,t))})),Z("Set",c.call(t),se,T)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap;// core-js workaround, pre-v2.5.0
|
|
7860
|
+
}catch(e){}return!1}(t))return J("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet;// core-js workaround, pre-v2.5.0
|
|
7861
|
+
}catch(e){}return!1}(t))return J("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return J("WeakRef");if(function(e){return!("[object Number]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t))return K(I(Number(t)));if(function(e){if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}(t))return K(I(E.call(t)));if(function(e){return!("[object Boolean]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t))return K(p.call(t));if(function(e){return!("[object String]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t))return K(I(String(t)));if(!function(e){return!("[object Date]"!==q(e)||Y&&"object"==typeof e&&Y in e)}(t)&&!B(t)){var ue=X(t,I),ce=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,le=t instanceof Object?"":"null prototype",de=!ce&&Y&&Object(t)===t&&Y in t?y.call(q(t),8,-1):le?"Object":"",fe=(ce||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||le?"["+L.call(k.call([],de||[],le||[]),": ")+"] ":"");return 0===ue.length?fe+"{}":T?fe+"{"+Q(ue,T)+"}":fe+"{ "+L.call(ue,", ")+" }"}return String(t)};var z=Object.prototype.hasOwnProperty||function(e){return e in this};function U(e,t){return z.call(e,t)}function q(e){return m.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function $(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return $(y.call(e,0,t.maxStringLength),t)+r}
|
|
7862
|
+
// eslint-disable-next-line no-control-regex
|
|
7863
|
+
return R(_.call(_.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function K(e){return"Object("+e+")"}function J(e){return e+" { ? }"}function Z(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):L.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+L.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=F(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=U(e,o)?t(e[o],e):""}var a,i="function"==typeof T?T(e):[];if(x){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var u in e)
|
|
7864
|
+
// eslint-disable-line no-restricted-syntax
|
|
7865
|
+
U(e,u)&&(// eslint-disable-line no-restricted-syntax, no-continue
|
|
7866
|
+
n&&String(Number(u))===u&&u<e.length||x&&a["$"+u]instanceof Symbol||(M.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof T)for(var c=0;c<i.length;c++)P.call(e,i[c])&&r.push("["+t(i[c])+"]: "+t(e[i[c]],e));return r}
|
|
7867
|
+
/***/},
|
|
7934
7868
|
/***/76959:
|
|
7935
7869
|
/***/(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=[{alpha2:"US",alpha3:"USA",country_code:"1",country_name:"United States",mobile_begin_with:["201","202","203","205","206","207","208","209","210","212","213","214","215","216","217","218","219","220","223","224","225","227","228","229","231","234","239","240","248","251","252","253","254","256","260","262","267","269","270","272","274","276","278","281","283","301","302","303","304","305","307","308","309","310","312","313","314","315","316","317","318","319","320","321","323","325","327","330","331","332","334","336","337","339","341","346","347","351","352","360","361","364","369","380","385","386","401","402","404","405","406","407","408","409","410","412","413","414","415","417","419","423","424","425","430","432","434","435","440","441","442","443","445","447","458","464","469","470","475","478","479","480","484","501","502","503","504","505","507","508","509","510","512","513","515","516","517","518","520","530","531","534","539","540","541","551","557","559","561","562","563","564","567","570","571","573","574","575","580","582","585","586","601","602","603","605","606","607","608","609","610","612","614","615","616","617","618","619","620","623","626","627","628","629","630","631","636","641","646","650","651","657","659","660","661","662","667","669","678","679","681","682","689","701","702","703","704","706","707","708","712","713","714","715","716","717","718","719","720","724","725","727","730","731","732","734","737","740","747","752","754","757","760","762","763","764","765","769","770","772","773","774","775","779","781","785","786","801","802","803","804","805","806","808","810","812","813","814","815","816","817","818","820","828","830","831","832","835","838","843","845","847","848","850","854","856","857","858","859","860","862","863","864","865","870","872","878","901","903","904","906","907","908","909","910","912","913","914","915","916","917","918","919","920","925","927","928","929","931","934","935","936","937","938","940","941","945","947","949","951","952","954","956","957","959","970","971","972","973","975","978","979","980","984","985","986","989","888","800","833","844","855","866","877","463","279"],phone_number_lengths:[10]},{alpha2:"AW",alpha3:"ABW",country_code:"297",country_name:"Aruba",mobile_begin_with:["5","6","7","9"],phone_number_lengths:[7]},{alpha2:"AF",alpha3:"AFG",country_code:"93",country_name:"Afghanistan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"AO",alpha3:"AGO",country_code:"244",country_name:"Angola",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"AI",alpha3:"AIA",country_code:"1",country_name:"Anguilla",mobile_begin_with:["2645","2647"],phone_number_lengths:[10]},{alpha2:"AX",alpha3:"ALA",country_code:"358",country_name:"Åland Islands",mobile_begin_with:["18"],phone_number_lengths:[6,7,8]},{alpha2:"AL",alpha3:"ALB",country_code:"355",country_name:"Albania",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"AD",alpha3:"AND",country_code:"376",country_name:"Andorra",mobile_begin_with:["3","4","6"],phone_number_lengths:[6]},
|
|
7936
7870
|
// {alpha2: "AN", alpha3: "ANT", country_code: "599", country_name: "Netherlands Antilles", mobile_begin_with: [], phone_number_lengths: []},
|
|
@@ -8071,6 +8005,54 @@ const o=e.replace(new RegExp("^"+t.country_code),"");
|
|
|
8071
8005
|
// but the phone number does not have country calling code
|
|
8072
8006
|
// then should consider the phone number as invalid
|
|
8073
8007
|
if(r&&t&&o.length===e.length)return!1;const a=t.phone_number_lengths,i=t.mobile_begin_with,s=a.some((e=>o.length===e)),u=!i.length||i.some((e=>o.match(new RegExp("^"+e))));return s&&(!n||u)}},
|
|
8008
|
+
/***/20558:
|
|
8009
|
+
/***/e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:o}}
|
|
8010
|
+
/***/,
|
|
8011
|
+
/***/81935:
|
|
8012
|
+
/***/(e,t,n)=>{"use strict";var r=n(8252),o=n(8429),a=n(20558);e.exports={formats:a,parse:o,stringify:r}}
|
|
8013
|
+
/***/,
|
|
8014
|
+
/***/8429:
|
|
8015
|
+
/***/(e,t,n)=>{"use strict";var r=n(74552),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){
|
|
8016
|
+
// Transform dot notation to bracket notation
|
|
8017
|
+
var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(a),c=s?a.slice(0,s.index):a,l=[];
|
|
8018
|
+
// The regex chunks
|
|
8019
|
+
if(c){
|
|
8020
|
+
// If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
|
|
8021
|
+
if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}
|
|
8022
|
+
// Loop through children appending to the array until we hit depth
|
|
8023
|
+
for(var d=0;n.depth>0&&null!==(s=i.exec(a))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}
|
|
8024
|
+
// If there's a remainder, just add whatever is left
|
|
8025
|
+
return s&&l.push("["+a.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:u(t,n),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&n.parseArrays)i=[].concat(o);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(i=[])[l]=o:"__proto__"!==c&&(i[c]=o):i={0:o}}o=i}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,
|
|
8026
|
+
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
8027
|
+
depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,c={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=l.split(t.delimiter,d),h=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?p="utf-8":"utf8=%26%2310003%3B"===f[n]&&(p="iso-8859-1"),h=n,n=f.length);for(n=0;n<f.length;++n)if(n!==h){var m,g,v=f[n],y=v.indexOf("]="),_=-1===y?v.indexOf("="):y+1;-1===_?(m=t.decoder(v,i.decoder,p,"key"),g=t.strictNullHandling?null:""):(m=t.decoder(v.slice(0,_),i.decoder,p,"key"),g=r.maybeMap(u(v.slice(_+1),t),(function(e){return t.decoder(e,i.decoder,p,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===p&&(g=s(g)),v.indexOf("[]=")>-1&&(g=a(g)?[g]:g),o.call(c,m)?c[m]=r.combine(c[m],g):c[m]=g}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(l),h=0;h<f.length;++h){var p=f[h],m=c(p,l[p],n,"string"==typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}}
|
|
8028
|
+
/***/,
|
|
8029
|
+
/***/8252:
|
|
8030
|
+
/***/(e,t,n)=>{"use strict";var r=n(47002),o=n(74552),a=n(20558),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,u(t)?t:[t])},d=Date.prototype.toISOString,f=a.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:a.formatters[f],
|
|
8031
|
+
// deprecated
|
|
8032
|
+
indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p={},m=function e(t,n,a,i,s,c,d,f,m,g,v,y,_,b,w,M){for(var k,L=t,C=M,S=0,E=!1;void 0!==(C=C.get(p))&&!E;){
|
|
8033
|
+
// Where object last appeared in the ref tree
|
|
8034
|
+
var T=C.get(t);if(S+=1,void 0!==T){if(T===S)throw new RangeError("Cyclic object value");E=!0}void 0===C.get(p)&&(S=0)}if("function"==typeof f?L=f(n,L):L instanceof Date?L=v(L):"comma"===a&&u(L)&&(L=o.maybeMap(L,(function(e){return e instanceof Date?v(e):e}))),null===L){if(s)return d&&!b?d(n,h.encoder,w,"key",y):n;L=""}if("string"==typeof(k=L)||"number"==typeof k||"boolean"==typeof k||"symbol"==typeof k||"bigint"==typeof k||o.isBuffer(L))return d?[_(b?n:d(n,h.encoder,w,"key",y))+"="+_(d(L,h.encoder,w,"value",y))]:[_(n)+"="+_(String(L))];var D,x=[];if(void 0===L)return x;if("comma"===a&&u(L))
|
|
8035
|
+
// we need to join elements in
|
|
8036
|
+
b&&d&&(L=o.maybeMap(L,d)),D=[{value:L.length>0?L.join(",")||null:void 0}];else if(u(f))D=f;else{var Y=Object.keys(L);D=m?Y.sort(m):Y}for(var P=i&&u(L)&&1===L.length?n+"[]":n,O=0;O<D.length;++O){var A=D[O],N="object"==typeof A&&void 0!==A.value?A.value:L[A];if(!c||null!==N){var I=u(L)?"function"==typeof a?a(P,A):P:P+(g?"."+A:"["+A+"]");M.set(t,S);var j=r();j.set(p,M),l(x,e(N,I,a,i,s,c,"comma"===a&&b&&u(L)?null:d,f,m,g,v,y,_,b,w,j))}}return x};e.exports=function(e,t){var n,o=e,c=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=a.formatters[n],o=h.filter;return("function"==typeof e.filter||u(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"==typeof c.filter?o=(0,c.filter)("",o):u(c.filter)&&(n=c.filter);var d,f=[];if("object"!=typeof o||null===o)return"";d=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=s[d];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===p&&t&&t.commaRoundTrip;n||(n=Object.keys(o)),c.sort&&n.sort(c.sort);for(var v=r(),y=0;y<n.length;++y){var _=n[y];c.skipNulls&&null===o[_]||l(f,m(o[_],_,p,g,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,v))}var b=f.join(c.delimiter),w=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?
|
|
8037
|
+
// encodeURIComponent('✓'), the "numeric entity" representation of a checkmark
|
|
8038
|
+
w+="utf8=%26%2310003%3B&":
|
|
8039
|
+
// encodeURIComponent('✓')
|
|
8040
|
+
w+="utf8=%E2%9C%93&"),b.length>0?w+b:""}}
|
|
8041
|
+
/***/,
|
|
8042
|
+
/***/74552:
|
|
8043
|
+
/***/(e,t,n)=>{"use strict";var r=n(20558),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],s=Object.keys(i),u=0;u<s.length;++u){var c=s[u],l=i[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:i,prop:c}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)
|
|
8044
|
+
// unescape never throws, no try...catch needed:
|
|
8045
|
+
return r.replace(/%[0-9a-f]{2}/gi,unescape);
|
|
8046
|
+
// utf-8
|
|
8047
|
+
try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,a){
|
|
8048
|
+
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
|
|
8049
|
+
// It has been adapted here for stricter adherence to RFC 3986
|
|
8050
|
+
if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<s.length;++c){var l=s.charCodeAt(c);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||a===r.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=i[l]:l<2048?u+=i[192|l>>6]+i[128|63&l]:l<55296||l>=57344?u+=i[224|l>>12]+i[128|l>>6&63]+i[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),
|
|
8051
|
+
/* eslint operator-linebreak: [2, "before"] */
|
|
8052
|
+
u+=i[240|l>>18]+i[128|l>>12&63]+i[128|l>>6&63]+i[128|63&l])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){
|
|
8053
|
+
/* eslint no-param-reassign: 0 */
|
|
8054
|
+
if(!n)return t;if("object"!=typeof n){if(a(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return a(t)&&!a(n)&&(i=s(t,r)),a(t)&&a(n)?(n.forEach((function(n,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&n&&"object"==typeof n?t[a]=e(i,n,r):t.push(n)}else t[a]=n})),t):Object.keys(n).reduce((function(t,a){var i=n[a];return o.call(t,a)?t[a]=e(t[a],i,r):t[a]=i,t}),i)}}}
|
|
8055
|
+
/***/,
|
|
8074
8056
|
/***/33109:
|
|
8075
8057
|
/***/(e,t,n)=>{"use strict";const r=n(8394),o=n(42435),a=n(75611),i=n(13791);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?o(e):e}function l(e){return Array.isArray(e)?e.sort():"object"==typeof e?l(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function p(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),a="string"==typeof n&&!o&&c(n,e).includes(e.arrayFormatSeparator);n=a?c(n,e):n;const i=o||a?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?c(n,e):n);const a=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>c(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],a):r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);
|
|
8076
8058
|
// Create an object with no prototype
|
|
@@ -8090,6 +8072,28 @@ o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arr
|
|
|
8090
8072
|
(c) Sindre Sorhus
|
|
8091
8073
|
@license MIT
|
|
8092
8074
|
*/var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=r(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))a.call(n,l)&&(u[l]=n[l]);if(o){s=o(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(u[s[d]]=n[s[d]])}}return u}},function(e,t,n){"use strict";function r(e,t,n,r,u){for(var c in e)if(s(e,c)){var l;try{if("function"!=typeof e[c]){var d=Error((r||"React class")+": "+n+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.");throw d.name="Invariant Violation",d}l=e[c](t,c,r,n,null,a)}catch(e){l=e}if(!l||l instanceof Error||o((r||"React class")+": type specification of "+n+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in i)){i[l.message]=!0;var f=u?u():"";o("Failed "+n+" type: "+l.message+(null!=f?f:""))}}}var o=function(){},a=n(5),i={},s=Function.call.bind(Object.prototype.hasOwnProperty);o=function(e){var t="Warning: "+e;try{throw new Error(t)}catch(e){}},r.resetWarningCache=function(){i={}},e.exports=r},function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(0)),i=function(e){var t=e.children,n=e.device,o=e.onChange,i=r(e,["children","device","onChange"]),s=(0,a.default)(i,n,o);return"function"==typeof t?t(s):s?t:null};t.default=i}]))},
|
|
8075
|
+
/***/47002:
|
|
8076
|
+
/***/(e,t,n)=>{"use strict";var r=n(88642),o=n(2245),a=n(53177),i=r("%TypeError%"),s=r("%WeakMap%",!0),u=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),m=function(e,t){
|
|
8077
|
+
// eslint-disable-line consistent-return
|
|
8078
|
+
for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)// eslint-disable-line no-param-reassign
|
|
8079
|
+
return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+a(e))},get:function(r){
|
|
8080
|
+
// eslint-disable-line consistent-return
|
|
8081
|
+
if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(u){if(t)return f(t,r)}else if(n)
|
|
8082
|
+
// eslint-disable-line no-lonely-if
|
|
8083
|
+
return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(u){if(t)return p(t,r)}else if(n)
|
|
8084
|
+
// eslint-disable-line no-lonely-if
|
|
8085
|
+
return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),l(e,r,o)):u?(t||(t=new u),h(t,r,o)):(n||(
|
|
8086
|
+
/*
|
|
8087
|
+
* Initialize the linked list as an empty node, so that we don't have
|
|
8088
|
+
* to special-case handling of the first node: we can always refer to
|
|
8089
|
+
* it as (previous node).next, instead of something like (list).head
|
|
8090
|
+
*/
|
|
8091
|
+
n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:
|
|
8092
|
+
// Prepend the new node to the beginning of the list
|
|
8093
|
+
e.next={
|
|
8094
|
+
// eslint-disable-line no-param-reassign
|
|
8095
|
+
key:t,next:e.next,value:n}}(n,r,o))}};return r}}
|
|
8096
|
+
/***/,
|
|
8093
8097
|
/***/75611:
|
|
8094
8098
|
/***/e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}}
|
|
8095
8099
|
/***/,
|
|
@@ -8098,7 +8102,7 @@ o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arr
|
|
|
8098
8102
|
/***/},
|
|
8099
8103
|
/***/61763:
|
|
8100
8104
|
/***/function(e,t,n){var r;/////////////////////////////////////////////////////////////////////////////////
|
|
8101
|
-
/* UAParser.js v1.0.
|
|
8105
|
+
/* UAParser.js v1.0.35
|
|
8102
8106
|
Copyright © 2012-2021 Faisal Salman <f@faisalman.com>
|
|
8103
8107
|
MIT License */
|
|
8104
8108
|
/*
|
|
@@ -8111,13 +8115,13 @@ o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arr
|
|
|
8111
8115
|
//////////////
|
|
8112
8116
|
// Constants
|
|
8113
8117
|
/////////////
|
|
8114
|
-
var i="function",s="undefined",u="object",c="string",l="
|
|
8118
|
+
var i="function",s="undefined",u="object",c="string",l="major",d="model",f="name",h="type",p="vendor",m="version",g="architecture",v="console",y="mobile",_="tablet",b="smarttv",w="wearable",M="embedded",k="Amazon",L="Apple",C="ASUS",S="BlackBerry",E="Browser",T="Chrome",D="Firefox",x="Google",Y="Huawei",P="LG",O="Microsoft",A="Motorola",N="Opera",I="Samsung",j="Sharp",R="Sony",H="Xiaomi",F="Zebra",B="Facebook",W="Chromium OS",z="Mac OS",U=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},q=function(e,t){return typeof e===c&&-1!==V(t).indexOf(V(e))},V=function(e){return e.toLowerCase()},$=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},G=function(e,t){
|
|
8115
8119
|
// loop through all regexes maps
|
|
8116
8120
|
for(var n,r,o,s,c,l,d=0;d<t.length&&!c;){var f=t[d],
|
|
8117
8121
|
// even sequence (0,2,4,..)
|
|
8118
8122
|
h=t[d+1];// odd sequence (1,3,5,..)
|
|
8119
8123
|
// try matching uastring with regexes
|
|
8120
|
-
for(n=r=0;n<f.length&&!c;)if(c=f[n++].exec(e))for(o=0;o<h.length;o++)l=c[++r],
|
|
8124
|
+
for(n=r=0;n<f.length&&!c&&f[n];)if(c=f[n++].exec(e))for(o=0;o<h.length;o++)l=c[++r],
|
|
8121
8125
|
// check if given property is actually array
|
|
8122
8126
|
typeof(s=h[o])===u&&s.length>0?2===s.length?typeof s[1]==i?
|
|
8123
8127
|
// assign modified match
|
|
@@ -8129,15 +8133,15 @@ typeof s[1]!==i||s[1].exec&&s[1].test?
|
|
|
8129
8133
|
// sanitize match using given regex
|
|
8130
8134
|
this[s[0]]=l?l.replace(s[1],s[2]):a:
|
|
8131
8135
|
// call function (usually string mapper)
|
|
8132
|
-
this[s[0]]=l?s[1].call(this,l,s[2]):a:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):a):this[s]=l||a;d+=2}},
|
|
8136
|
+
this[s[0]]=l?s[1].call(this,l,s[2]):a:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):a):this[s]=l||a;d+=2}},K=function(e,t){for(var n in t)
|
|
8133
8137
|
// check if current value is array
|
|
8134
|
-
if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(
|
|
8138
|
+
if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(q(t[n][r],e))return"?"===n?a:n}else if(q(t[n],e))return"?"===n?a:n;return e},J={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[f,"Edge"]],[
|
|
8135
8139
|
// Presto based
|
|
8136
8140
|
/(opera mini)\/([-\w\.]+)/i,
|
|
8137
8141
|
// Opera Mini
|
|
8138
8142
|
/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,
|
|
8139
8143
|
// Opera Mobi/Tablet
|
|
8140
|
-
/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[
|
|
8144
|
+
/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,m],[/opios[\/ ]+([\w\.]+)/i],[m,[f,N+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[f,N]],[
|
|
8141
8145
|
// Mixed
|
|
8142
8146
|
/(kindle)\/([\w\.]+)/i,
|
|
8143
8147
|
// Kindle
|
|
@@ -8151,25 +8155,35 @@ if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e)
|
|
|
8151
8155
|
/(?:ms|\()(ie) ([\w\.]+)/i,
|
|
8152
8156
|
// Internet Explorer
|
|
8153
8157
|
// Webkit/KHTML based // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon
|
|
8154
|
-
/(flock|rockmelt|midori|epiphany|silk|skyfire|
|
|
8158
|
+
/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,
|
|
8155
8159
|
// Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ, aka ShouQ
|
|
8156
|
-
/(
|
|
8157
|
-
//
|
|
8158
|
-
/(
|
|
8160
|
+
/(heytap|ovi)browser\/([\d\.]+)/i,
|
|
8161
|
+
// Heytap/Ovi
|
|
8162
|
+
/(weibo)__([\d\.]+)/i],[f,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[f,"UC"+E]],[/microm.+\bqbcore\/([\w\.]+)/i,
|
|
8163
|
+
// WeChat Desktop for Windows Built-in Browser
|
|
8164
|
+
/\bqbcore\/([\w\.]+).+microm/i],[m,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[m,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+E],m],[/\bfocus\/([\w\.]+)/i],[m,[f,D+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[f,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[f,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[f,"MIUI "+E]],[/fxios\/([-\w\.]+)/i],[m,[f,D]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+E]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+E],m],[
|
|
8165
|
+
// Oculus/Samsung/Sailfish/Huawei Browser
|
|
8166
|
+
/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],m],[/(electron)\/([\w\.]+) safari/i,
|
|
8159
8167
|
// Electron-based App
|
|
8160
8168
|
/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,
|
|
8161
8169
|
// Tesla
|
|
8162
|
-
/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[
|
|
8170
|
+
/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,m],[/(metasr)[\/ ]?([\w\.]+)/i,
|
|
8163
8171
|
// SouGouBrowser
|
|
8164
|
-
/(lbbrowser)/i
|
|
8172
|
+
/(lbbrowser)/i,
|
|
8173
|
+
// LieBao Browser
|
|
8174
|
+
/\[(linkedin)app\]/i],[f],[
|
|
8165
8175
|
// WebView
|
|
8166
|
-
/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[
|
|
8176
|
+
/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,B],m],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
|
|
8177
|
+
// Kakao App
|
|
8178
|
+
/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,
|
|
8179
|
+
// Naver InApp
|
|
8180
|
+
/safari (line)\/([\w\.]+)/i,
|
|
8167
8181
|
// Line App for iOS
|
|
8168
8182
|
/\b(line)\/([\w\.]+)\/iab/i,
|
|
8169
8183
|
// Line App for Android
|
|
8170
|
-
/(chromium|instagram)[\/ ]([-\w\.]+)/i],[
|
|
8184
|
+
/(chromium|instagram)[\/ ]([-\w\.]+)/i],[f,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[f,T+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,T+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[f,"Android "+E]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[m,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,m],[
|
|
8171
8185
|
// Gecko based
|
|
8172
|
-
/(navigator|netscape\d?)\/([-\w\.]+)/i],[[
|
|
8186
|
+
/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[f,D+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,
|
|
8173
8187
|
// Flow
|
|
8174
8188
|
/(swiftfox)/i,
|
|
8175
8189
|
// Swiftfox
|
|
@@ -8184,21 +8198,24 @@ if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e)
|
|
|
8184
8198
|
// Other
|
|
8185
8199
|
/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,
|
|
8186
8200
|
// Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Sleipnir/Obigo/Mosaic/Go/ICE/UP.Browser
|
|
8187
|
-
/(links) \(([\w\.]+)/i
|
|
8201
|
+
/(links) \(([\w\.]+)/i,
|
|
8202
|
+
// Links
|
|
8203
|
+
/panasonic;(viera)/i],[f,m],[/(cobalt)\/([\w\.]+)/i],[f,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,V]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[
|
|
8188
8204
|
// PocketPC mistakenly identified as PowerPC
|
|
8189
|
-
/windows (ce|mobile); ppc;/i],[[
|
|
8205
|
+
/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",V]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,V]]],device:[[
|
|
8190
8206
|
//////////////////////////
|
|
8191
8207
|
// MOBILES & TABLETS
|
|
8192
|
-
// Ordered by popularity
|
|
8193
8208
|
/////////////////////////
|
|
8194
8209
|
// Samsung
|
|
8195
|
-
/\b(sch-i[89]0\d|shw-m380s|sm-[
|
|
8210
|
+
/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[p,I],[h,_]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[p,I],[h,y]],[
|
|
8196
8211
|
// Apple
|
|
8197
|
-
|
|
8212
|
+
/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[p,L],[h,y]],[/\((ipad);[-\w\),; ]+apple/i,
|
|
8198
8213
|
// iPad
|
|
8199
|
-
/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[
|
|
8214
|
+
/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[p,L],[h,_]],[/(macintosh);/i],[d,[p,L]],[
|
|
8215
|
+
// Sharp
|
|
8216
|
+
/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[p,j],[h,y]],[
|
|
8200
8217
|
// Huawei
|
|
8201
|
-
/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[
|
|
8218
|
+
/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[p,Y],[h,_]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[p,Y],[h,y]],[
|
|
8202
8219
|
// Xiaomi
|
|
8203
8220
|
/\b(poco[\w ]+)(?: bui|\))/i,
|
|
8204
8221
|
// Xiaomi POCO
|
|
@@ -8208,46 +8225,44 @@ if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e)
|
|
|
8208
8225
|
// Xiaomi Hongmi
|
|
8209
8226
|
/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,
|
|
8210
8227
|
// Xiaomi Redmi
|
|
8211
|
-
/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[
|
|
8228
|
+
/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[p,H],[h,y]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[p,H],[h,_]],[
|
|
8212
8229
|
// OPPO
|
|
8213
|
-
/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[
|
|
8230
|
+
/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[p,"OPPO"],[h,y]],[
|
|
8214
8231
|
// Vivo
|
|
8215
|
-
/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[
|
|
8232
|
+
/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[p,"Vivo"],[h,y]],[
|
|
8216
8233
|
// Realme
|
|
8217
|
-
/\b(rmx[12]\d{3})(?: bui|;|\))/i],[
|
|
8234
|
+
/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[p,"Realme"],[h,y]],[
|
|
8218
8235
|
// Motorola
|
|
8219
|
-
/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[
|
|
8236
|
+
/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[p,A],[h,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[p,A],[h,_]],[
|
|
8220
8237
|
// LG
|
|
8221
|
-
/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[
|
|
8238
|
+
/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[p,P],[h,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[p,P],[h,y]],[
|
|
8222
8239
|
// Lenovo
|
|
8223
|
-
/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[
|
|
8240
|
+
/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[p,"Lenovo"],[h,_]],[
|
|
8224
8241
|
// Nokia
|
|
8225
|
-
/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[
|
|
8242
|
+
/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[p,"Nokia"],[h,y]],[
|
|
8226
8243
|
// Google
|
|
8227
|
-
/(pixel c)\b/i],[
|
|
8244
|
+
/(pixel c)\b/i],[d,[p,x],[h,_]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[p,x],[h,y]],[
|
|
8228
8245
|
// Sony
|
|
8229
|
-
/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[
|
|
8246
|
+
/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[p,R],[h,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[p,R],[h,_]],[
|
|
8230
8247
|
// OnePlus
|
|
8231
|
-
/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[
|
|
8248
|
+
/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[p,"OnePlus"],[h,y]],[
|
|
8232
8249
|
// Amazon
|
|
8233
|
-
/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,
|
|
8234
|
-
// Kindle Fire without Silk
|
|
8235
|
-
/(kf[a-z]+)( bui|\)).+silk\//i],[
|
|
8250
|
+
/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,
|
|
8251
|
+
// Kindle Fire without Silk / Echo Show
|
|
8252
|
+
/(kf[a-z]+)( bui|\)).+silk\//i],[d,[p,k],[h,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[p,k],[h,y]],[
|
|
8236
8253
|
// BlackBerry
|
|
8237
|
-
/(playbook);[-\w\),; ]+(rim)/i],[
|
|
8254
|
+
/(playbook);[-\w\),; ]+(rim)/i],[d,p,[h,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[p,S],[h,y]],[
|
|
8238
8255
|
// Asus
|
|
8239
|
-
/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[
|
|
8256
|
+
/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[p,C],[h,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[p,C],[h,y]],[
|
|
8240
8257
|
// HTC
|
|
8241
|
-
/(nexus 9)/i],[
|
|
8258
|
+
/(nexus 9)/i],[d,[p,"HTC"],[h,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
|
|
8242
8259
|
// HTC
|
|
8243
8260
|
// ZTE
|
|
8244
|
-
/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[
|
|
8261
|
+
/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[d,/_/g," "],[h,y]],[
|
|
8245
8262
|
// Acer
|
|
8246
|
-
/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[
|
|
8263
|
+
/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[p,"Acer"],[h,_]],[
|
|
8247
8264
|
// Meizu
|
|
8248
|
-
/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[
|
|
8249
|
-
// Sharp
|
|
8250
|
-
/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[h,"Sharp"],[f,v]],[
|
|
8265
|
+
/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[p,"Meizu"],[h,y]],[
|
|
8251
8266
|
// MIXED
|
|
8252
8267
|
/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,
|
|
8253
8268
|
// BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron
|
|
@@ -8261,7 +8276,9 @@ if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e)
|
|
|
8261
8276
|
// Lenovo
|
|
8262
8277
|
/(jolla)/i,
|
|
8263
8278
|
// Jolla
|
|
8264
|
-
/(oppo) ?([\w ]+) bui/i],[
|
|
8279
|
+
/(oppo) ?([\w ]+) bui/i],[p,d,[h,y]],[/(kobo)\s(ereader|touch)/i,
|
|
8280
|
+
// Kobo
|
|
8281
|
+
/(archos) (gamepad2?)/i,
|
|
8265
8282
|
// Archos
|
|
8266
8283
|
/(hp).+(touchpad(?!.+tablet)|tablet)/i,
|
|
8267
8284
|
// HP TouchPad
|
|
@@ -8277,31 +8294,31 @@ if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e)
|
|
|
8277
8294
|
// Trinity Tablets
|
|
8278
8295
|
/(gigaset)[- ]+(q\w{1,9}) bui/i,
|
|
8279
8296
|
// Gigaset Tablets
|
|
8280
|
-
/(vodafone) ([\w ]+)(?:\)| bui)/i],[
|
|
8297
|
+
/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,d,[h,_]],[/(surface duo)/i],[d,[p,O],[h,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[p,"Fairphone"],[h,y]],[/(u304aa)/i],[d,[p,"AT&T"],[h,y]],[/\bsie-(\w*)/i],[d,[p,"Siemens"],[h,y]],[/\b(rct\w+) b/i],[d,[p,"RCA"],[h,_]],[/\b(venue[\d ]{2,7}) b/i],[d,[p,"Dell"],[h,_]],[/\b(q(?:mv|ta)\w+) b/i],[d,[p,"Verizon"],[h,_]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[p,"Barnes & Noble"],[h,_]],[/\b(tm\d{3}\w+) b/i],[d,[p,"NuVision"],[h,_]],[/\b(k88) b/i],[d,[p,"ZTE"],[h,_]],[/\b(nx\d{3}j) b/i],[d,[p,"ZTE"],[h,y]],[/\b(gen\d{3}) b.+49h/i],[d,[p,"Swiss"],[h,y]],[/\b(zur\d{3}) b/i],[d,[p,"Swiss"],[h,_]],[/\b((zeki)?tb.*\b) b/i],[d,[p,"Zeki"],[h,_]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],d,[h,_]],[/\b(ns-?\w{0,9}) b/i],[d,[p,"Insignia"],[h,_]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[p,"NextBook"],[h,_]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],d,[h,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],d,[h,y]],[/\b(ph-1) /i],[d,[p,"Essential"],[h,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[p,"Envizen"],[h,_]],[/\b(trio[-\w\. ]+) b/i],[d,[p,"MachSpeed"],[h,_]],[/\btu_(1491) b/i],[d,[p,"Rotor"],[h,_]],[/(shield[\w ]+) b/i],[d,[p,"Nvidia"],[h,_]],[/(sprint) (\w+)/i],[p,d,[h,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[p,O],[h,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[p,F],[h,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[p,F],[h,y]],[
|
|
8298
|
+
///////////////////
|
|
8299
|
+
// SMARTTVS
|
|
8300
|
+
///////////////////
|
|
8301
|
+
/smart-tv.+(samsung)/i],[p,[h,b]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[p,I],[h,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,P],[h,b]],[/(apple) ?tv/i],[p,[d,L+" TV"],[h,b]],[/crkey/i],[[d,T+"cast"],[p,x],[h,b]],[/droid.+aft(\w)( bui|\))/i],[d,[p,k],[h,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[p,j],[h,b]],[/(bravia[\w ]+)( bui|\))/i],[d,[p,R],[h,b]],[/(mitv-\w{5}) bui/i],[d,[p,H],[h,b]],[/Hbbtv.*(technisat) (.*);/i],[p,d,[h,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,
|
|
8302
|
+
// Roku
|
|
8303
|
+
/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,$],[d,$],[h,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,b]],[
|
|
8281
8304
|
///////////////////
|
|
8282
8305
|
// CONSOLES
|
|
8283
8306
|
///////////////////
|
|
8284
8307
|
/(ouya)/i,
|
|
8285
8308
|
// Ouya
|
|
8286
|
-
/(nintendo) ([wids3utch]+)/i],[
|
|
8287
|
-
///////////////////
|
|
8288
|
-
// SMARTTVS
|
|
8289
|
-
///////////////////
|
|
8290
|
-
/smart-tv.+(samsung)/i],[h,[f,_]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[h,N],[f,_]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,Y],[f,_]],[/(apple) ?tv/i],[h,[l,k+" TV"],[f,_]],[/crkey/i],[[l,E+"cast"],[h,D],[f,_]],[/droid.+aft(\w)( bui|\))/i],[l,[h,M],[f,_]],[/\(dtv[\);].+(aquos)/i],[l,[h,"Sharp"],[f,_]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,
|
|
8291
|
-
// Roku
|
|
8292
|
-
/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[h,z],[l,z],[f,_]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,_]],[
|
|
8309
|
+
/(nintendo) ([wids3utch]+)/i],[p,d,[h,v]],[/droid.+; (shield) bui/i],[d,[p,"Nvidia"],[h,v]],[/(playstation [345portablevi]+)/i],[d,[p,R],[h,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[p,O],[h,v]],[
|
|
8293
8310
|
///////////////////
|
|
8294
8311
|
// WEARABLES
|
|
8295
8312
|
///////////////////
|
|
8296
|
-
/((pebble))app/i],[h,
|
|
8313
|
+
/((pebble))app/i],[p,d,[h,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[p,L],[h,w]],[/droid.+; (glass) \d/i],[d,[p,x],[h,w]],[/droid.+; (wt63?0{2,3})\)/i],[d,[p,F],[h,w]],[/(quest( 2| pro)?)/i],[d,[p,B],[h,w]],[
|
|
8297
8314
|
///////////////////
|
|
8298
8315
|
// EMBEDDED
|
|
8299
8316
|
///////////////////
|
|
8300
|
-
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[
|
|
8317
|
+
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[h,M]],[/(aeobc)\b/i],[d,[p,k],[h,M]],[
|
|
8301
8318
|
////////////////////
|
|
8302
8319
|
// MIXED (GENERIC)
|
|
8303
8320
|
///////////////////
|
|
8304
|
-
/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[
|
|
8321
|
+
/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[h,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,_]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,
|
|
8305
8322
|
// Presto
|
|
8306
8323
|
/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,
|
|
8307
8324
|
// WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna
|
|
@@ -8309,27 +8326,36 @@ if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e)
|
|
|
8309
8326
|
// Flow
|
|
8310
8327
|
/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,
|
|
8311
8328
|
// KHTML/Tasman/Links
|
|
8312
|
-
/(icab)[\/ ]([23]\.[\d\.]+)/i
|
|
8329
|
+
/(icab)[\/ ]([23]\.[\d\.]+)/i,
|
|
8330
|
+
// iCab
|
|
8331
|
+
/\b(libweb)/i],[f,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,f]],os:[[
|
|
8313
8332
|
// Windows
|
|
8314
|
-
/microsoft (windows) (vista|xp)/i],[
|
|
8333
|
+
/microsoft (windows) (vista|xp)/i],[f,m],[/(windows) nt 6\.2; (arm)/i,
|
|
8315
8334
|
// Windows RT
|
|
8316
8335
|
/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,
|
|
8317
8336
|
// Windows Phone
|
|
8318
|
-
/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[
|
|
8337
|
+
/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[m,K,J]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[m,K,J]],[
|
|
8319
8338
|
// iOS/macOS
|
|
8320
8339
|
/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
8321
8340
|
// iOS
|
|
8322
|
-
/cfnetwork\/.+darwin/i],[[
|
|
8341
|
+
/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,z],[m,/_/g,"."]],[
|
|
8323
8342
|
// Mobile OSes
|
|
8324
|
-
/droid ([\w\.]+)\b.+(android[- ]x86)/i],[
|
|
8343
|
+
/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,f],[
|
|
8325
8344
|
// Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS
|
|
8326
8345
|
/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,
|
|
8327
8346
|
// Blackberry
|
|
8328
8347
|
/(tizen|kaios)[\/ ]([\w\.]+)/i,
|
|
8329
8348
|
// Tizen/KaiOS
|
|
8330
|
-
/\((series40);/i],[
|
|
8349
|
+
/\((series40);/i],[f,m],[/\(bb(10);/i],[m,[f,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[f,D+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[f,"watchOS"]],[
|
|
8331
8350
|
// Google Chromecast
|
|
8332
|
-
/crkey\/([\d\.]+)/i],[
|
|
8351
|
+
/crkey\/([\d\.]+)/i],[m,[f,T+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,W],m],[
|
|
8352
|
+
// Smart TVs
|
|
8353
|
+
/panasonic;(viera)/i,
|
|
8354
|
+
// Panasonic Viera
|
|
8355
|
+
/(netrange)mmh/i,
|
|
8356
|
+
// Netrange
|
|
8357
|
+
/(nettv)\/(\d+\.[\w\.]+)/i,
|
|
8358
|
+
// NetTV
|
|
8333
8359
|
// Console
|
|
8334
8360
|
/(nintendo|playstation) ([wids345portablevuch]+)/i,
|
|
8335
8361
|
// Nintendo/Playstation
|
|
@@ -8350,30 +8376,34 @@ if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e)
|
|
|
8350
8376
|
// GNU
|
|
8351
8377
|
/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,
|
|
8352
8378
|
// FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly
|
|
8353
|
-
/(haiku) (\w+)/i],[
|
|
8379
|
+
/(haiku) (\w+)/i],[f,m],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,
|
|
8354
8380
|
// Solaris
|
|
8355
8381
|
/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,
|
|
8356
8382
|
// AIX
|
|
8357
|
-
/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,
|
|
8358
|
-
// BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX
|
|
8359
|
-
/(unix) ?([\w\.]*)/i],[
|
|
8383
|
+
/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,
|
|
8384
|
+
// BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX/SerenityOS
|
|
8385
|
+
/(unix) ?([\w\.]*)/i],[f,m]]},Q=function(e,t){if(typeof e===u&&(t=e,e=a),!(this instanceof Q))return new Q(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:a,r=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:a,b=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Z,t):Z,w=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=a,t[m]=a,G.call(t,r,b.browser),t[l]=typeof(e=t[m])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:a,
|
|
8386
|
+
// Brave-specific detection
|
|
8387
|
+
w&&n&&n.brave&&typeof n.brave.isBrave==i&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[g]=a,G.call(e,r,b.cpu),e},this.getDevice=function(){var e={};return e[p]=a,e[d]=a,e[h]=a,G.call(e,r,b.device),w&&!e[h]&&v&&v.mobile&&(e[h]=y),
|
|
8388
|
+
// iPadOS-specific detection: identified as Mac, but has some iOS-only properties
|
|
8389
|
+
w&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[h]=_),e},this.getEngine=function(){var e={};return e[f]=a,e[m]=a,G.call(e,r,b.engine),e},this.getOS=function(){var e={};return e[f]=a,e[m]=a,G.call(e,r,b.os),w&&!e[f]&&v&&"Unknown"!=v.platform&&(e[f]=v.platform.replace(/chrome os/i,W).replace(/macos/i,z)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>350?$(e,350):e,this},this.setUA(r),this};Q.VERSION="1.0.35",Q.BROWSER=U([f,m,l]),Q.CPU=U([g]),Q.DEVICE=U([d,p,h,v,y,b,_,w,M]),Q.ENGINE=Q.OS=U([f,m]),
|
|
8360
8390
|
///////////
|
|
8361
8391
|
// Export
|
|
8362
8392
|
//////////
|
|
8363
8393
|
// check js environment
|
|
8364
8394
|
typeof t!==s?(
|
|
8365
8395
|
// nodejs env
|
|
8366
|
-
e.exports&&(t=e.exports=
|
|
8396
|
+
e.exports&&(t=e.exports=Q),t.UAParser=Q):
|
|
8367
8397
|
// requirejs env (optional)
|
|
8368
|
-
n.amdO?(r=function(){return
|
|
8398
|
+
n.amdO?(r=function(){return Q}.call(t,n,t,e))===a||(e.exports=r):typeof o!==s&&(
|
|
8369
8399
|
// browser env
|
|
8370
|
-
o.UAParser=
|
|
8400
|
+
o.UAParser=Q);
|
|
8371
8401
|
// jQuery/Zepto specific (optional)
|
|
8372
8402
|
// Note:
|
|
8373
8403
|
// In AMD env the global scope should be kept clean, but jQuery is an exception.
|
|
8374
8404
|
// jQuery always exports to global scope, unless jQuery.noConflict(true) is used,
|
|
8375
8405
|
// and we should catch that.
|
|
8376
|
-
var
|
|
8406
|
+
var X=typeof o!==s&&(o.jQuery||o.Zepto);if(X&&!X.ua){var ee=new Q;X.ua=ee.getResult(),X.ua.get=function(){return ee.getUA()},X.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)X.ua[n]=t[n]}}}("object"==typeof window?window:this)},
|
|
8377
8407
|
/***/63408:
|
|
8378
8408
|
/***/e=>{
|
|
8379
8409
|
/**
|
|
@@ -10431,9 +10461,9 @@ case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRange
|
|
|
10431
10461
|
/***/47111:
|
|
10432
10462
|
/***/e=>{"use strict";e.exports=t}
|
|
10433
10463
|
/***/,
|
|
10434
|
-
/***/53260:
|
|
10435
|
-
/***/()=>{},
|
|
10436
10464
|
/***/42480:
|
|
10465
|
+
/***/()=>{},
|
|
10466
|
+
/***/24654:
|
|
10437
10467
|
/***/()=>{}
|
|
10438
10468
|
/******/},r={};
|
|
10439
10469
|
/************************************************************************/
|
|
@@ -15847,7 +15877,7 @@ e.EMAIL_UNBIND_VERIFY_CODE="EMAIL_UNBIND_VERIFY_CODE",
|
|
|
15847
15877
|
// 自助解锁验证码
|
|
15848
15878
|
e.SELF_UNLOCKING_VERIFY_CODE="SELF_UNLOCKING_VERIFY_CODE"}(Tu||(Tu={}));
|
|
15849
15879
|
// EXTERNAL MODULE: ./node_modules/ua-parser-js/src/ua-parser.js
|
|
15850
|
-
var Pu=o(61763),Ou=o.n(Pu),Au=o(
|
|
15880
|
+
var Pu=o(61763),Ou=o.n(Pu),Au=o(81935),Nu=o.n(Au),Iu=function(){return"undefined"==typeof navigator?null:/MicroMessenger/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent)&&!/wxwork/i.test(navigator.userAgent)},ju=function(){return"undefined"==typeof navigator?null:/Lark/i.test(navigator.userAgent)},Ru=function(){return"undefined"==typeof navigator?null:/dingtalk/i.test(navigator.userAgent)},Hu=function(){var e;
|
|
15851
15881
|
// 1. 首先筛选出一定是特殊浏览器的 UA
|
|
15852
15882
|
if(Iu()||/wxwork/i.test(navigator.userAgent)||ju()||Ru()||"undefined"!=typeof navigator&&/QtWebEngine/i.test(navigator.userAgent)||"undefined"!=typeof navigator&&/MiuiBrowser/i.test(navigator.userAgent)||"undefined"!=typeof navigator&&/MQQBrowser/i.test(navigator.userAgent)||window.navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))return!0;
|
|
15853
15883
|
// 2. 利用 ua-parser-js 进一步判断,筛选出很可能不是特殊浏览器的 UA
|
|
@@ -20958,7 +20988,7 @@ this.end=function(){
|
|
|
20958
20988
|
// return [next]
|
|
20959
20989
|
// }
|
|
20960
20990
|
// CONCATENATED MODULE: ./package.json
|
|
20961
|
-
const ij=JSON.parse('{"i8":"4.
|
|
20991
|
+
const ij=JSON.parse('{"i8":"4.5.0-alpha.2"}');// CONCATENATED MODULE: ./src/_utils/getVersion.ts
|
|
20962
20992
|
function sj(){return ij.i8}// CONCATENATED MODULE: ./src/_utils/flowHandleStorage.ts
|
|
20963
20993
|
var uj,cj=function(){return uj},lj=function(e){uj=e},dj=function(){return dj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},dj.apply(this,arguments)},fj=function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}u((r=r.apply(e,t||[])).next())}))},hj=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},pj=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i},mj=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},gj=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fj(void 0,void 0,void 0,(function(){return hj(this,(function(t){switch(t.label){case 0:return[4/*yield*/,fetch.apply(void 0,mj([],pj(e),!1))];case 1:return[2/*return*/,t.sent().json()]}}))}))},vj=function(e){return new Promise((function(t){setTimeout((function(){t({data:{code:-1}}),e()}),1e4)}))};gj.get=function(e,t,n){return void 0===t&&(t={}),fj(void 0,void 0,void 0,(function(){var r,o,a,i,s;return hj(this,(function(u){switch(u.label){case 0:r=dj(dj({},null==n?void 0:n.headers),((s={"Content-Type":"application/json"})[gj.langHeader]=AJ(),s)),""!==gj.tenantId&&(r[gj.tenantHeader]=gj.tenantId),u.label=1;case 1:return u.trys.push([1,3,,4]),o=mi().CancelToken,a=o.source(),[4/*yield*/,Promise.race([vj(a.cancel),mi()("".concat(gj.baseUrl).concat(e).concat(Nu().stringify(t,{addQueryPrefix:!0})),dj(dj({method:"GET"},n),{withCredentials:!0,headers:r,cancelToken:a.token}))])];case 2:return[2/*return*/,null==(i=u.sent())?void 0:i.data];case 3:return u.sent(),[2/*return*/,Promise.resolve({code:-2})];case 4:return[2/*return*/]}}))}))},gj.post=function(e,t,n){return fj(void 0,void 0,void 0,(function(){var r,o,a,i,s,u;return hj(this,(function(c){switch(c.label){case 0:r=dj(dj({},null==n?void 0:n.headers),((s={"Content-Type":"application/json"})[gj.langHeader]=al.language,s)),""!==gj.tenantId&&(r[gj.tenantHeader]=gj.tenantId),c.label=1;case 1:return c.trys.push([1,3,,4]),o=mi().CancelToken,a=o.source(),[4/*yield*/,Promise.race([vj(a.cancel),mi()("".concat(gj.baseUrl).concat(e),{data:t,method:"POST",withCredentials:!0,cancelToken:a.token,headers:dj(dj({"Content-Type":"application/json"},null==n?void 0:n.headers),(u={},u[gj.langHeader]=AJ(),u))})])];case 2:return[2/*return*/,null==(i=c.sent())?void 0:i.data];case 3:return c.sent(),[2/*return*/,Promise.resolve({code:-2})];case 4:return[2/*return*/]}}))}))},gj.postForm=function(e,t,n){return fj(void 0,void 0,void 0,(function(){var r,o,a,i;return hj(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),r=mi().CancelToken,o=r.source(),[4/*yield*/,Promise.race([vj(o.cancel),mi()("".concat(gj.baseUrl).concat(e),{method:"POST",data:t,withCredentials:!0,cancelToken:o.token,headers:dj(dj({},null==n?void 0:n.headers),(i={},i[gj.langHeader]=AJ(),i))})])];case 1:return[2/*return*/,null==(a=s.sent())?void 0:a.data];case 2:return s.sent(),[2/*return*/,Promise.resolve({code:-2})];case 3:return[2/*return*/]}}))}))},gj.baseUrl="",gj.setBaseUrl=function(e){gj.baseUrl=e.replace(/\/$/,"")};var yj="x-authing-lang";gj.langHeader=yj,gj.tenantHeader="x-authing-app-tenant-idåå",gj.tenantId="",gj.setLangHeader=function(e){gj.langHeader=e||yj},gj.setTenantHeader=function(e){gj.tenantHeader=e||yj},gj.setTenantId=function(e){gj.tenantId=e};// CONCATENATED MODULE: ./src/_utils/guardHttp.ts
|
|
20964
20994
|
var _j,bj,wj=function(){return wj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wj.apply(this,arguments)},Mj=function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}u((r=r.apply(e,t||[])).next())}))},kj=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},Lj=sj();!function(e){e.ERROR_CODE="errorCode"}(bj||(bj={}));var Cj=/** @class */function(){function e(e){var t=this;this.headers={"x-authing-userpool-id":"","x-authing-app-id":"","x-authing-sdk-version":Lj,"x-authing-request-from":"Guard@".concat(Lj)},this.responseInterceptorMap=new Map,this.getHeaders=function(){return t.headers},this.get=function(e,n,r){return void 0===n&&(n={}),Mj(t,void 0,void 0,(function(){var t;return kj(this,(function(o){switch(o.label){case 0:return[4/*yield*/,gj.get(e,n,wj(wj({},r),{headers:wj(wj({},this.headers),null==r?void 0:r.headers)}))];case 1:return t=o.sent(),[2/*return*/,this.responseIntercept(t)]}}))}))},this.post=function(e,n,r){return Mj(t,void 0,void 0,(function(){var t;return kj(this,(function(o){switch(o.label){case 0:return[4/*yield*/,gj.post(e,n,{headers:wj(wj({},this.headers),null==r?void 0:r.headers)})];case 1:return t=o.sent(),[2/*return*/,this.responseIntercept(t)]}}))}))},this.postForm=function(e,n,r){return Mj(t,void 0,void 0,(function(){var t;return kj(this,(function(o){switch(o.label){case 0:return[4/*yield*/,gj.postForm(e,n,{headers:wj(wj({},this.headers),null==r?void 0:r.headers)})];case 1:return t=o.sent(),[2/*return*/,this.responseIntercept(t)]}}))}))},this.authFlow=function(e,n){return Mj(t,void 0,void 0,(function(){var t,r;return kj(this,(function(o){switch(o.label){case 0:return"/interaction/authFlow",t=cj(),[4/*yield*/,gj.post("/interaction/authFlow",{action:e,data:n,flowHandle:t},{headers:wj({},this.headers)})];case 1:return r=o.sent(),[2/*return*/,this.responseIntercept(r)]}}))}))},
|
|
@@ -6,4 +6,4 @@ export declare enum CompleteInfoAuthFlowAction {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
8
8
|
export declare const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'] | string, content: any) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
9
|
-
export declare const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<
|
|
9
|
+
export declare const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<import("../_utils/http").AuthingGuardResponse<any> | User | undefined>;
|
|
@@ -58,7 +58,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
|
|
|
58
58
|
getOriginAccount: () => string;
|
|
59
59
|
getOriginWay: () => string;
|
|
60
60
|
} | undefined;
|
|
61
|
-
referMultipleState: ((type: "
|
|
61
|
+
referMultipleState: ((type: "multiple" | "login") => void) | undefined;
|
|
62
62
|
backfillData: BackFillMultipleState | undefined;
|
|
63
63
|
defaultQrWay: string | undefined;
|
|
64
64
|
};
|
package/package.json
CHANGED