byt-ui 0.1.4 → 0.1.6

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.
@@ -94431,28 +94431,3717 @@ var website = __webpack_require__(17021);
94431
94431
  * @Description:
94432
94432
  * @Author: 王国火
94433
94433
  * @Date: 2022-10-18 12:37:03
94434
- * @LastEditTime: 2024-04-19 13:27:26
94434
+ * @LastEditTime: 2024-04-22 19:06:56
94435
94435
  * @LastEditors: 王国火
94436
94436
  */
94437
94437
 
94438
94438
 
94439
94439
  const getCookie = key => {
94440
- const searchKey = `${website["default"].key}-${key}`;
94441
- return api.get(searchKey) || '';
94442
- };
94443
- const setCookie = (key, value, expires = 7, path = '/') => {
94444
- return api.set(`${website["default"].key}-${key}`, value, {
94440
+ const fullKey = `${website["default"].key}-${key}`;
94441
+ return api.get(fullKey, {
94442
+ // domain: window.location.hostname
94443
+ }) || '';
94444
+ };
94445
+ const setCookie = (key, value, expires = 7, path = '') => {
94446
+ const fullKey = `${website["default"].key}-${key}`;
94447
+ return api.set(fullKey, value, {
94445
94448
  expires,
94446
94449
  path
94450
+ // domain: window.location.hostname
94451
+ });
94452
+ };
94453
+ const removeCookie = (key, path = '') => {
94454
+ const fullKey = `${website["default"].key}-${key}`;
94455
+ return api.remove(fullKey, {
94456
+ path
94457
+ // domain: window.location.hostname
94458
+ });
94459
+ };
94460
+
94461
+ /***/ }),
94462
+
94463
+ /***/ 16325:
94464
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
94465
+
94466
+ "use strict";
94467
+ // ESM COMPAT FLAG
94468
+ __webpack_require__.r(__webpack_exports__);
94469
+
94470
+ // EXPORTS
94471
+ __webpack_require__.d(__webpack_exports__, {
94472
+ "default": function() { return /* binding */ modules_request; },
94473
+ request: function() { return /* binding */ request; }
94474
+ });
94475
+
94476
+ // NAMESPACE OBJECT: ./node_modules/axios/lib/platform/common/utils.js
94477
+ var common_utils_namespaceObject = {};
94478
+ __webpack_require__.r(common_utils_namespaceObject);
94479
+ __webpack_require__.d(common_utils_namespaceObject, {
94480
+ hasBrowserEnv: function() { return hasBrowserEnv; },
94481
+ hasStandardBrowserEnv: function() { return hasStandardBrowserEnv; },
94482
+ hasStandardBrowserWebWorkerEnv: function() { return hasStandardBrowserWebWorkerEnv; }
94483
+ });
94484
+
94485
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/bind.js
94486
+
94487
+
94488
+ function bind(fn, thisArg) {
94489
+ return function wrap() {
94490
+ return fn.apply(thisArg, arguments);
94491
+ };
94492
+ }
94493
+
94494
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/utils.js
94495
+
94496
+
94497
+
94498
+
94499
+ // utils is a library of generic helper functions non-specific to axios
94500
+
94501
+ const {toString: utils_toString} = Object.prototype;
94502
+ const {getPrototypeOf} = Object;
94503
+
94504
+ const kindOf = (cache => thing => {
94505
+ const str = utils_toString.call(thing);
94506
+ return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
94507
+ })(Object.create(null));
94508
+
94509
+ const kindOfTest = (type) => {
94510
+ type = type.toLowerCase();
94511
+ return (thing) => kindOf(thing) === type
94512
+ }
94513
+
94514
+ const typeOfTest = type => thing => typeof thing === type;
94515
+
94516
+ /**
94517
+ * Determine if a value is an Array
94518
+ *
94519
+ * @param {Object} val The value to test
94520
+ *
94521
+ * @returns {boolean} True if value is an Array, otherwise false
94522
+ */
94523
+ const {isArray} = Array;
94524
+
94525
+ /**
94526
+ * Determine if a value is undefined
94527
+ *
94528
+ * @param {*} val The value to test
94529
+ *
94530
+ * @returns {boolean} True if the value is undefined, otherwise false
94531
+ */
94532
+ const isUndefined = typeOfTest('undefined');
94533
+
94534
+ /**
94535
+ * Determine if a value is a Buffer
94536
+ *
94537
+ * @param {*} val The value to test
94538
+ *
94539
+ * @returns {boolean} True if value is a Buffer, otherwise false
94540
+ */
94541
+ function isBuffer(val) {
94542
+ return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
94543
+ && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
94544
+ }
94545
+
94546
+ /**
94547
+ * Determine if a value is an ArrayBuffer
94548
+ *
94549
+ * @param {*} val The value to test
94550
+ *
94551
+ * @returns {boolean} True if value is an ArrayBuffer, otherwise false
94552
+ */
94553
+ const isArrayBuffer = kindOfTest('ArrayBuffer');
94554
+
94555
+
94556
+ /**
94557
+ * Determine if a value is a view on an ArrayBuffer
94558
+ *
94559
+ * @param {*} val The value to test
94560
+ *
94561
+ * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
94562
+ */
94563
+ function isArrayBufferView(val) {
94564
+ let result;
94565
+ if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
94566
+ result = ArrayBuffer.isView(val);
94567
+ } else {
94568
+ result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
94569
+ }
94570
+ return result;
94571
+ }
94572
+
94573
+ /**
94574
+ * Determine if a value is a String
94575
+ *
94576
+ * @param {*} val The value to test
94577
+ *
94578
+ * @returns {boolean} True if value is a String, otherwise false
94579
+ */
94580
+ const isString = typeOfTest('string');
94581
+
94582
+ /**
94583
+ * Determine if a value is a Function
94584
+ *
94585
+ * @param {*} val The value to test
94586
+ * @returns {boolean} True if value is a Function, otherwise false
94587
+ */
94588
+ const isFunction = typeOfTest('function');
94589
+
94590
+ /**
94591
+ * Determine if a value is a Number
94592
+ *
94593
+ * @param {*} val The value to test
94594
+ *
94595
+ * @returns {boolean} True if value is a Number, otherwise false
94596
+ */
94597
+ const isNumber = typeOfTest('number');
94598
+
94599
+ /**
94600
+ * Determine if a value is an Object
94601
+ *
94602
+ * @param {*} thing The value to test
94603
+ *
94604
+ * @returns {boolean} True if value is an Object, otherwise false
94605
+ */
94606
+ const isObject = (thing) => thing !== null && typeof thing === 'object';
94607
+
94608
+ /**
94609
+ * Determine if a value is a Boolean
94610
+ *
94611
+ * @param {*} thing The value to test
94612
+ * @returns {boolean} True if value is a Boolean, otherwise false
94613
+ */
94614
+ const isBoolean = thing => thing === true || thing === false;
94615
+
94616
+ /**
94617
+ * Determine if a value is a plain Object
94618
+ *
94619
+ * @param {*} val The value to test
94620
+ *
94621
+ * @returns {boolean} True if value is a plain Object, otherwise false
94622
+ */
94623
+ const isPlainObject = (val) => {
94624
+ if (kindOf(val) !== 'object') {
94625
+ return false;
94626
+ }
94627
+
94628
+ const prototype = getPrototypeOf(val);
94629
+ return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
94630
+ }
94631
+
94632
+ /**
94633
+ * Determine if a value is a Date
94634
+ *
94635
+ * @param {*} val The value to test
94636
+ *
94637
+ * @returns {boolean} True if value is a Date, otherwise false
94638
+ */
94639
+ const isDate = kindOfTest('Date');
94640
+
94641
+ /**
94642
+ * Determine if a value is a File
94643
+ *
94644
+ * @param {*} val The value to test
94645
+ *
94646
+ * @returns {boolean} True if value is a File, otherwise false
94647
+ */
94648
+ const isFile = kindOfTest('File');
94649
+
94650
+ /**
94651
+ * Determine if a value is a Blob
94652
+ *
94653
+ * @param {*} val The value to test
94654
+ *
94655
+ * @returns {boolean} True if value is a Blob, otherwise false
94656
+ */
94657
+ const isBlob = kindOfTest('Blob');
94658
+
94659
+ /**
94660
+ * Determine if a value is a FileList
94661
+ *
94662
+ * @param {*} val The value to test
94663
+ *
94664
+ * @returns {boolean} True if value is a File, otherwise false
94665
+ */
94666
+ const isFileList = kindOfTest('FileList');
94667
+
94668
+ /**
94669
+ * Determine if a value is a Stream
94670
+ *
94671
+ * @param {*} val The value to test
94672
+ *
94673
+ * @returns {boolean} True if value is a Stream, otherwise false
94674
+ */
94675
+ const isStream = (val) => isObject(val) && isFunction(val.pipe);
94676
+
94677
+ /**
94678
+ * Determine if a value is a FormData
94679
+ *
94680
+ * @param {*} thing The value to test
94681
+ *
94682
+ * @returns {boolean} True if value is an FormData, otherwise false
94683
+ */
94684
+ const isFormData = (thing) => {
94685
+ let kind;
94686
+ return thing && (
94687
+ (typeof FormData === 'function' && thing instanceof FormData) || (
94688
+ isFunction(thing.append) && (
94689
+ (kind = kindOf(thing)) === 'formdata' ||
94690
+ // detect form-data instance
94691
+ (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
94692
+ )
94693
+ )
94694
+ )
94695
+ }
94696
+
94697
+ /**
94698
+ * Determine if a value is a URLSearchParams object
94699
+ *
94700
+ * @param {*} val The value to test
94701
+ *
94702
+ * @returns {boolean} True if value is a URLSearchParams object, otherwise false
94703
+ */
94704
+ const isURLSearchParams = kindOfTest('URLSearchParams');
94705
+
94706
+ /**
94707
+ * Trim excess whitespace off the beginning and end of a string
94708
+ *
94709
+ * @param {String} str The String to trim
94710
+ *
94711
+ * @returns {String} The String freed of excess whitespace
94712
+ */
94713
+ const trim = (str) => str.trim ?
94714
+ str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
94715
+
94716
+ /**
94717
+ * Iterate over an Array or an Object invoking a function for each item.
94718
+ *
94719
+ * If `obj` is an Array callback will be called passing
94720
+ * the value, index, and complete array for each item.
94721
+ *
94722
+ * If 'obj' is an Object callback will be called passing
94723
+ * the value, key, and complete object for each property.
94724
+ *
94725
+ * @param {Object|Array} obj The object to iterate
94726
+ * @param {Function} fn The callback to invoke for each item
94727
+ *
94728
+ * @param {Boolean} [allOwnKeys = false]
94729
+ * @returns {any}
94730
+ */
94731
+ function forEach(obj, fn, {allOwnKeys = false} = {}) {
94732
+ // Don't bother if no value provided
94733
+ if (obj === null || typeof obj === 'undefined') {
94734
+ return;
94735
+ }
94736
+
94737
+ let i;
94738
+ let l;
94739
+
94740
+ // Force an array if not already something iterable
94741
+ if (typeof obj !== 'object') {
94742
+ /*eslint no-param-reassign:0*/
94743
+ obj = [obj];
94744
+ }
94745
+
94746
+ if (isArray(obj)) {
94747
+ // Iterate over array values
94748
+ for (i = 0, l = obj.length; i < l; i++) {
94749
+ fn.call(null, obj[i], i, obj);
94750
+ }
94751
+ } else {
94752
+ // Iterate over object keys
94753
+ const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
94754
+ const len = keys.length;
94755
+ let key;
94756
+
94757
+ for (i = 0; i < len; i++) {
94758
+ key = keys[i];
94759
+ fn.call(null, obj[key], key, obj);
94760
+ }
94761
+ }
94762
+ }
94763
+
94764
+ function findKey(obj, key) {
94765
+ key = key.toLowerCase();
94766
+ const keys = Object.keys(obj);
94767
+ let i = keys.length;
94768
+ let _key;
94769
+ while (i-- > 0) {
94770
+ _key = keys[i];
94771
+ if (key === _key.toLowerCase()) {
94772
+ return _key;
94773
+ }
94774
+ }
94775
+ return null;
94776
+ }
94777
+
94778
+ const _global = (() => {
94779
+ /*eslint no-undef:0*/
94780
+ if (typeof globalThis !== "undefined") return globalThis;
94781
+ return typeof self !== "undefined" ? self : (typeof window !== 'undefined' ? window : global)
94782
+ })();
94783
+
94784
+ const isContextDefined = (context) => !isUndefined(context) && context !== _global;
94785
+
94786
+ /**
94787
+ * Accepts varargs expecting each argument to be an object, then
94788
+ * immutably merges the properties of each object and returns result.
94789
+ *
94790
+ * When multiple objects contain the same key the later object in
94791
+ * the arguments list will take precedence.
94792
+ *
94793
+ * Example:
94794
+ *
94795
+ * ```js
94796
+ * var result = merge({foo: 123}, {foo: 456});
94797
+ * console.log(result.foo); // outputs 456
94798
+ * ```
94799
+ *
94800
+ * @param {Object} obj1 Object to merge
94801
+ *
94802
+ * @returns {Object} Result of all merge properties
94803
+ */
94804
+ function merge(/* obj1, obj2, obj3, ... */) {
94805
+ const {caseless} = isContextDefined(this) && this || {};
94806
+ const result = {};
94807
+ const assignValue = (val, key) => {
94808
+ const targetKey = caseless && findKey(result, key) || key;
94809
+ if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
94810
+ result[targetKey] = merge(result[targetKey], val);
94811
+ } else if (isPlainObject(val)) {
94812
+ result[targetKey] = merge({}, val);
94813
+ } else if (isArray(val)) {
94814
+ result[targetKey] = val.slice();
94815
+ } else {
94816
+ result[targetKey] = val;
94817
+ }
94818
+ }
94819
+
94820
+ for (let i = 0, l = arguments.length; i < l; i++) {
94821
+ arguments[i] && forEach(arguments[i], assignValue);
94822
+ }
94823
+ return result;
94824
+ }
94825
+
94826
+ /**
94827
+ * Extends object a by mutably adding to it the properties of object b.
94828
+ *
94829
+ * @param {Object} a The object to be extended
94830
+ * @param {Object} b The object to copy properties from
94831
+ * @param {Object} thisArg The object to bind function to
94832
+ *
94833
+ * @param {Boolean} [allOwnKeys]
94834
+ * @returns {Object} The resulting value of object a
94835
+ */
94836
+ const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
94837
+ forEach(b, (val, key) => {
94838
+ if (thisArg && isFunction(val)) {
94839
+ a[key] = bind(val, thisArg);
94840
+ } else {
94841
+ a[key] = val;
94842
+ }
94843
+ }, {allOwnKeys});
94844
+ return a;
94845
+ }
94846
+
94847
+ /**
94848
+ * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
94849
+ *
94850
+ * @param {string} content with BOM
94851
+ *
94852
+ * @returns {string} content value without BOM
94853
+ */
94854
+ const stripBOM = (content) => {
94855
+ if (content.charCodeAt(0) === 0xFEFF) {
94856
+ content = content.slice(1);
94857
+ }
94858
+ return content;
94859
+ }
94860
+
94861
+ /**
94862
+ * Inherit the prototype methods from one constructor into another
94863
+ * @param {function} constructor
94864
+ * @param {function} superConstructor
94865
+ * @param {object} [props]
94866
+ * @param {object} [descriptors]
94867
+ *
94868
+ * @returns {void}
94869
+ */
94870
+ const inherits = (constructor, superConstructor, props, descriptors) => {
94871
+ constructor.prototype = Object.create(superConstructor.prototype, descriptors);
94872
+ constructor.prototype.constructor = constructor;
94873
+ Object.defineProperty(constructor, 'super', {
94874
+ value: superConstructor.prototype
94875
+ });
94876
+ props && Object.assign(constructor.prototype, props);
94877
+ }
94878
+
94879
+ /**
94880
+ * Resolve object with deep prototype chain to a flat object
94881
+ * @param {Object} sourceObj source object
94882
+ * @param {Object} [destObj]
94883
+ * @param {Function|Boolean} [filter]
94884
+ * @param {Function} [propFilter]
94885
+ *
94886
+ * @returns {Object}
94887
+ */
94888
+ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
94889
+ let props;
94890
+ let i;
94891
+ let prop;
94892
+ const merged = {};
94893
+
94894
+ destObj = destObj || {};
94895
+ // eslint-disable-next-line no-eq-null,eqeqeq
94896
+ if (sourceObj == null) return destObj;
94897
+
94898
+ do {
94899
+ props = Object.getOwnPropertyNames(sourceObj);
94900
+ i = props.length;
94901
+ while (i-- > 0) {
94902
+ prop = props[i];
94903
+ if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
94904
+ destObj[prop] = sourceObj[prop];
94905
+ merged[prop] = true;
94906
+ }
94907
+ }
94908
+ sourceObj = filter !== false && getPrototypeOf(sourceObj);
94909
+ } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
94910
+
94911
+ return destObj;
94912
+ }
94913
+
94914
+ /**
94915
+ * Determines whether a string ends with the characters of a specified string
94916
+ *
94917
+ * @param {String} str
94918
+ * @param {String} searchString
94919
+ * @param {Number} [position= 0]
94920
+ *
94921
+ * @returns {boolean}
94922
+ */
94923
+ const endsWith = (str, searchString, position) => {
94924
+ str = String(str);
94925
+ if (position === undefined || position > str.length) {
94926
+ position = str.length;
94927
+ }
94928
+ position -= searchString.length;
94929
+ const lastIndex = str.indexOf(searchString, position);
94930
+ return lastIndex !== -1 && lastIndex === position;
94931
+ }
94932
+
94933
+
94934
+ /**
94935
+ * Returns new array from array like object or null if failed
94936
+ *
94937
+ * @param {*} [thing]
94938
+ *
94939
+ * @returns {?Array}
94940
+ */
94941
+ const toArray = (thing) => {
94942
+ if (!thing) return null;
94943
+ if (isArray(thing)) return thing;
94944
+ let i = thing.length;
94945
+ if (!isNumber(i)) return null;
94946
+ const arr = new Array(i);
94947
+ while (i-- > 0) {
94948
+ arr[i] = thing[i];
94949
+ }
94950
+ return arr;
94951
+ }
94952
+
94953
+ /**
94954
+ * Checking if the Uint8Array exists and if it does, it returns a function that checks if the
94955
+ * thing passed in is an instance of Uint8Array
94956
+ *
94957
+ * @param {TypedArray}
94958
+ *
94959
+ * @returns {Array}
94960
+ */
94961
+ // eslint-disable-next-line func-names
94962
+ const isTypedArray = (TypedArray => {
94963
+ // eslint-disable-next-line func-names
94964
+ return thing => {
94965
+ return TypedArray && thing instanceof TypedArray;
94966
+ };
94967
+ })(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
94968
+
94969
+ /**
94970
+ * For each entry in the object, call the function with the key and value.
94971
+ *
94972
+ * @param {Object<any, any>} obj - The object to iterate over.
94973
+ * @param {Function} fn - The function to call for each entry.
94974
+ *
94975
+ * @returns {void}
94976
+ */
94977
+ const forEachEntry = (obj, fn) => {
94978
+ const generator = obj && obj[Symbol.iterator];
94979
+
94980
+ const iterator = generator.call(obj);
94981
+
94982
+ let result;
94983
+
94984
+ while ((result = iterator.next()) && !result.done) {
94985
+ const pair = result.value;
94986
+ fn.call(obj, pair[0], pair[1]);
94987
+ }
94988
+ }
94989
+
94990
+ /**
94991
+ * It takes a regular expression and a string, and returns an array of all the matches
94992
+ *
94993
+ * @param {string} regExp - The regular expression to match against.
94994
+ * @param {string} str - The string to search.
94995
+ *
94996
+ * @returns {Array<boolean>}
94997
+ */
94998
+ const matchAll = (regExp, str) => {
94999
+ let matches;
95000
+ const arr = [];
95001
+
95002
+ while ((matches = regExp.exec(str)) !== null) {
95003
+ arr.push(matches);
95004
+ }
95005
+
95006
+ return arr;
95007
+ }
95008
+
95009
+ /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
95010
+ const isHTMLForm = kindOfTest('HTMLFormElement');
95011
+
95012
+ const toCamelCase = str => {
95013
+ return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,
95014
+ function replacer(m, p1, p2) {
95015
+ return p1.toUpperCase() + p2;
95016
+ }
95017
+ );
95018
+ };
95019
+
95020
+ /* Creating a function that will check if an object has a property. */
95021
+ const utils_hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);
95022
+
95023
+ /**
95024
+ * Determine if a value is a RegExp object
95025
+ *
95026
+ * @param {*} val The value to test
95027
+ *
95028
+ * @returns {boolean} True if value is a RegExp object, otherwise false
95029
+ */
95030
+ const isRegExp = kindOfTest('RegExp');
95031
+
95032
+ const reduceDescriptors = (obj, reducer) => {
95033
+ const descriptors = Object.getOwnPropertyDescriptors(obj);
95034
+ const reducedDescriptors = {};
95035
+
95036
+ forEach(descriptors, (descriptor, name) => {
95037
+ let ret;
95038
+ if ((ret = reducer(descriptor, name, obj)) !== false) {
95039
+ reducedDescriptors[name] = ret || descriptor;
95040
+ }
95041
+ });
95042
+
95043
+ Object.defineProperties(obj, reducedDescriptors);
95044
+ }
95045
+
95046
+ /**
95047
+ * Makes all methods read-only
95048
+ * @param {Object} obj
95049
+ */
95050
+
95051
+ const freezeMethods = (obj) => {
95052
+ reduceDescriptors(obj, (descriptor, name) => {
95053
+ // skip restricted props in strict mode
95054
+ if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
95055
+ return false;
95056
+ }
95057
+
95058
+ const value = obj[name];
95059
+
95060
+ if (!isFunction(value)) return;
95061
+
95062
+ descriptor.enumerable = false;
95063
+
95064
+ if ('writable' in descriptor) {
95065
+ descriptor.writable = false;
95066
+ return;
95067
+ }
95068
+
95069
+ if (!descriptor.set) {
95070
+ descriptor.set = () => {
95071
+ throw Error('Can not rewrite read-only method \'' + name + '\'');
95072
+ };
95073
+ }
95074
+ });
95075
+ }
95076
+
95077
+ const toObjectSet = (arrayOrString, delimiter) => {
95078
+ const obj = {};
95079
+
95080
+ const define = (arr) => {
95081
+ arr.forEach(value => {
95082
+ obj[value] = true;
95083
+ });
95084
+ }
95085
+
95086
+ isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
95087
+
95088
+ return obj;
95089
+ }
95090
+
95091
+ const noop = () => {}
95092
+
95093
+ const toFiniteNumber = (value, defaultValue) => {
95094
+ value = +value;
95095
+ return Number.isFinite(value) ? value : defaultValue;
95096
+ }
95097
+
95098
+ const ALPHA = 'abcdefghijklmnopqrstuvwxyz'
95099
+
95100
+ const DIGIT = '0123456789';
95101
+
95102
+ const ALPHABET = {
95103
+ DIGIT,
95104
+ ALPHA,
95105
+ ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
95106
+ }
95107
+
95108
+ const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
95109
+ let str = '';
95110
+ const {length} = alphabet;
95111
+ while (size--) {
95112
+ str += alphabet[Math.random() * length|0]
95113
+ }
95114
+
95115
+ return str;
95116
+ }
95117
+
95118
+ /**
95119
+ * If the thing is a FormData object, return true, otherwise return false.
95120
+ *
95121
+ * @param {unknown} thing - The thing to check.
95122
+ *
95123
+ * @returns {boolean}
95124
+ */
95125
+ function isSpecCompliantForm(thing) {
95126
+ return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);
95127
+ }
95128
+
95129
+ const toJSONObject = (obj) => {
95130
+ const stack = new Array(10);
95131
+
95132
+ const visit = (source, i) => {
95133
+
95134
+ if (isObject(source)) {
95135
+ if (stack.indexOf(source) >= 0) {
95136
+ return;
95137
+ }
95138
+
95139
+ if(!('toJSON' in source)) {
95140
+ stack[i] = source;
95141
+ const target = isArray(source) ? [] : {};
95142
+
95143
+ forEach(source, (value, key) => {
95144
+ const reducedValue = visit(value, i + 1);
95145
+ !isUndefined(reducedValue) && (target[key] = reducedValue);
95146
+ });
95147
+
95148
+ stack[i] = undefined;
95149
+
95150
+ return target;
95151
+ }
95152
+ }
95153
+
95154
+ return source;
95155
+ }
95156
+
95157
+ return visit(obj, 0);
95158
+ }
95159
+
95160
+ const isAsyncFn = kindOfTest('AsyncFunction');
95161
+
95162
+ const isThenable = (thing) =>
95163
+ thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
95164
+
95165
+ /* harmony default export */ var utils = ({
95166
+ isArray,
95167
+ isArrayBuffer,
95168
+ isBuffer,
95169
+ isFormData,
95170
+ isArrayBufferView,
95171
+ isString,
95172
+ isNumber,
95173
+ isBoolean,
95174
+ isObject,
95175
+ isPlainObject,
95176
+ isUndefined,
95177
+ isDate,
95178
+ isFile,
95179
+ isBlob,
95180
+ isRegExp,
95181
+ isFunction,
95182
+ isStream,
95183
+ isURLSearchParams,
95184
+ isTypedArray,
95185
+ isFileList,
95186
+ forEach,
95187
+ merge,
95188
+ extend,
95189
+ trim,
95190
+ stripBOM,
95191
+ inherits,
95192
+ toFlatObject,
95193
+ kindOf,
95194
+ kindOfTest,
95195
+ endsWith,
95196
+ toArray,
95197
+ forEachEntry,
95198
+ matchAll,
95199
+ isHTMLForm,
95200
+ hasOwnProperty: utils_hasOwnProperty,
95201
+ hasOwnProp: utils_hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection
95202
+ reduceDescriptors,
95203
+ freezeMethods,
95204
+ toObjectSet,
95205
+ toCamelCase,
95206
+ noop,
95207
+ toFiniteNumber,
95208
+ findKey,
95209
+ global: _global,
95210
+ isContextDefined,
95211
+ ALPHABET,
95212
+ generateString,
95213
+ isSpecCompliantForm,
95214
+ toJSONObject,
95215
+ isAsyncFn,
95216
+ isThenable
95217
+ });
95218
+
95219
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/AxiosError.js
95220
+
95221
+
95222
+
95223
+
95224
+ /**
95225
+ * Create an Error with the specified message, config, error code, request and response.
95226
+ *
95227
+ * @param {string} message The error message.
95228
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
95229
+ * @param {Object} [config] The config.
95230
+ * @param {Object} [request] The request.
95231
+ * @param {Object} [response] The response.
95232
+ *
95233
+ * @returns {Error} The created error.
95234
+ */
95235
+ function AxiosError(message, code, config, request, response) {
95236
+ Error.call(this);
95237
+
95238
+ if (Error.captureStackTrace) {
95239
+ Error.captureStackTrace(this, this.constructor);
95240
+ } else {
95241
+ this.stack = (new Error()).stack;
95242
+ }
95243
+
95244
+ this.message = message;
95245
+ this.name = 'AxiosError';
95246
+ code && (this.code = code);
95247
+ config && (this.config = config);
95248
+ request && (this.request = request);
95249
+ response && (this.response = response);
95250
+ }
95251
+
95252
+ utils.inherits(AxiosError, Error, {
95253
+ toJSON: function toJSON() {
95254
+ return {
95255
+ // Standard
95256
+ message: this.message,
95257
+ name: this.name,
95258
+ // Microsoft
95259
+ description: this.description,
95260
+ number: this.number,
95261
+ // Mozilla
95262
+ fileName: this.fileName,
95263
+ lineNumber: this.lineNumber,
95264
+ columnNumber: this.columnNumber,
95265
+ stack: this.stack,
95266
+ // Axios
95267
+ config: utils.toJSONObject(this.config),
95268
+ code: this.code,
95269
+ status: this.response && this.response.status ? this.response.status : null
95270
+ };
95271
+ }
95272
+ });
95273
+
95274
+ const AxiosError_prototype = AxiosError.prototype;
95275
+ const descriptors = {};
95276
+
95277
+ [
95278
+ 'ERR_BAD_OPTION_VALUE',
95279
+ 'ERR_BAD_OPTION',
95280
+ 'ECONNABORTED',
95281
+ 'ETIMEDOUT',
95282
+ 'ERR_NETWORK',
95283
+ 'ERR_FR_TOO_MANY_REDIRECTS',
95284
+ 'ERR_DEPRECATED',
95285
+ 'ERR_BAD_RESPONSE',
95286
+ 'ERR_BAD_REQUEST',
95287
+ 'ERR_CANCELED',
95288
+ 'ERR_NOT_SUPPORT',
95289
+ 'ERR_INVALID_URL'
95290
+ // eslint-disable-next-line func-names
95291
+ ].forEach(code => {
95292
+ descriptors[code] = {value: code};
95293
+ });
95294
+
95295
+ Object.defineProperties(AxiosError, descriptors);
95296
+ Object.defineProperty(AxiosError_prototype, 'isAxiosError', {value: true});
95297
+
95298
+ // eslint-disable-next-line func-names
95299
+ AxiosError.from = (error, code, config, request, response, customProps) => {
95300
+ const axiosError = Object.create(AxiosError_prototype);
95301
+
95302
+ utils.toFlatObject(error, axiosError, function filter(obj) {
95303
+ return obj !== Error.prototype;
95304
+ }, prop => {
95305
+ return prop !== 'isAxiosError';
95306
+ });
95307
+
95308
+ AxiosError.call(axiosError, error.message, code, config, request, response);
95309
+
95310
+ axiosError.cause = error;
95311
+
95312
+ axiosError.name = error.name;
95313
+
95314
+ customProps && Object.assign(axiosError, customProps);
95315
+
95316
+ return axiosError;
95317
+ };
95318
+
95319
+ /* harmony default export */ var core_AxiosError = (AxiosError);
95320
+
95321
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/null.js
95322
+ // eslint-disable-next-line strict
95323
+ /* harmony default export */ var helpers_null = (null);
95324
+
95325
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/toFormData.js
95326
+
95327
+
95328
+
95329
+
95330
+ // temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored
95331
+
95332
+
95333
+ /**
95334
+ * Determines if the given thing is a array or js object.
95335
+ *
95336
+ * @param {string} thing - The object or array to be visited.
95337
+ *
95338
+ * @returns {boolean}
95339
+ */
95340
+ function isVisitable(thing) {
95341
+ return utils.isPlainObject(thing) || utils.isArray(thing);
95342
+ }
95343
+
95344
+ /**
95345
+ * It removes the brackets from the end of a string
95346
+ *
95347
+ * @param {string} key - The key of the parameter.
95348
+ *
95349
+ * @returns {string} the key without the brackets.
95350
+ */
95351
+ function removeBrackets(key) {
95352
+ return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;
95353
+ }
95354
+
95355
+ /**
95356
+ * It takes a path, a key, and a boolean, and returns a string
95357
+ *
95358
+ * @param {string} path - The path to the current key.
95359
+ * @param {string} key - The key of the current object being iterated over.
95360
+ * @param {string} dots - If true, the key will be rendered with dots instead of brackets.
95361
+ *
95362
+ * @returns {string} The path to the current key.
95363
+ */
95364
+ function renderKey(path, key, dots) {
95365
+ if (!path) return key;
95366
+ return path.concat(key).map(function each(token, i) {
95367
+ // eslint-disable-next-line no-param-reassign
95368
+ token = removeBrackets(token);
95369
+ return !dots && i ? '[' + token + ']' : token;
95370
+ }).join(dots ? '.' : '');
95371
+ }
95372
+
95373
+ /**
95374
+ * If the array is an array and none of its elements are visitable, then it's a flat array.
95375
+ *
95376
+ * @param {Array<any>} arr - The array to check
95377
+ *
95378
+ * @returns {boolean}
95379
+ */
95380
+ function isFlatArray(arr) {
95381
+ return utils.isArray(arr) && !arr.some(isVisitable);
95382
+ }
95383
+
95384
+ const predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {
95385
+ return /^is[A-Z]/.test(prop);
95386
+ });
95387
+
95388
+ /**
95389
+ * Convert a data object to FormData
95390
+ *
95391
+ * @param {Object} obj
95392
+ * @param {?Object} [formData]
95393
+ * @param {?Object} [options]
95394
+ * @param {Function} [options.visitor]
95395
+ * @param {Boolean} [options.metaTokens = true]
95396
+ * @param {Boolean} [options.dots = false]
95397
+ * @param {?Boolean} [options.indexes = false]
95398
+ *
95399
+ * @returns {Object}
95400
+ **/
95401
+
95402
+ /**
95403
+ * It converts an object into a FormData object
95404
+ *
95405
+ * @param {Object<any, any>} obj - The object to convert to form data.
95406
+ * @param {string} formData - The FormData object to append to.
95407
+ * @param {Object<string, any>} options
95408
+ *
95409
+ * @returns
95410
+ */
95411
+ function toFormData(obj, formData, options) {
95412
+ if (!utils.isObject(obj)) {
95413
+ throw new TypeError('target must be an object');
95414
+ }
95415
+
95416
+ // eslint-disable-next-line no-param-reassign
95417
+ formData = formData || new (helpers_null || FormData)();
95418
+
95419
+ // eslint-disable-next-line no-param-reassign
95420
+ options = utils.toFlatObject(options, {
95421
+ metaTokens: true,
95422
+ dots: false,
95423
+ indexes: false
95424
+ }, false, function defined(option, source) {
95425
+ // eslint-disable-next-line no-eq-null,eqeqeq
95426
+ return !utils.isUndefined(source[option]);
95427
+ });
95428
+
95429
+ const metaTokens = options.metaTokens;
95430
+ // eslint-disable-next-line no-use-before-define
95431
+ const visitor = options.visitor || defaultVisitor;
95432
+ const dots = options.dots;
95433
+ const indexes = options.indexes;
95434
+ const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
95435
+ const useBlob = _Blob && utils.isSpecCompliantForm(formData);
95436
+
95437
+ if (!utils.isFunction(visitor)) {
95438
+ throw new TypeError('visitor must be a function');
95439
+ }
95440
+
95441
+ function convertValue(value) {
95442
+ if (value === null) return '';
95443
+
95444
+ if (utils.isDate(value)) {
95445
+ return value.toISOString();
95446
+ }
95447
+
95448
+ if (!useBlob && utils.isBlob(value)) {
95449
+ throw new core_AxiosError('Blob is not supported. Use a Buffer instead.');
95450
+ }
95451
+
95452
+ if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {
95453
+ return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
95454
+ }
95455
+
95456
+ return value;
95457
+ }
95458
+
95459
+ /**
95460
+ * Default visitor.
95461
+ *
95462
+ * @param {*} value
95463
+ * @param {String|Number} key
95464
+ * @param {Array<String|Number>} path
95465
+ * @this {FormData}
95466
+ *
95467
+ * @returns {boolean} return true to visit the each prop of the value recursively
95468
+ */
95469
+ function defaultVisitor(value, key, path) {
95470
+ let arr = value;
95471
+
95472
+ if (value && !path && typeof value === 'object') {
95473
+ if (utils.endsWith(key, '{}')) {
95474
+ // eslint-disable-next-line no-param-reassign
95475
+ key = metaTokens ? key : key.slice(0, -2);
95476
+ // eslint-disable-next-line no-param-reassign
95477
+ value = JSON.stringify(value);
95478
+ } else if (
95479
+ (utils.isArray(value) && isFlatArray(value)) ||
95480
+ ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))
95481
+ )) {
95482
+ // eslint-disable-next-line no-param-reassign
95483
+ key = removeBrackets(key);
95484
+
95485
+ arr.forEach(function each(el, index) {
95486
+ !(utils.isUndefined(el) || el === null) && formData.append(
95487
+ // eslint-disable-next-line no-nested-ternary
95488
+ indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),
95489
+ convertValue(el)
95490
+ );
95491
+ });
95492
+ return false;
95493
+ }
95494
+ }
95495
+
95496
+ if (isVisitable(value)) {
95497
+ return true;
95498
+ }
95499
+
95500
+ formData.append(renderKey(path, key, dots), convertValue(value));
95501
+
95502
+ return false;
95503
+ }
95504
+
95505
+ const stack = [];
95506
+
95507
+ const exposedHelpers = Object.assign(predicates, {
95508
+ defaultVisitor,
95509
+ convertValue,
95510
+ isVisitable
95511
+ });
95512
+
95513
+ function build(value, path) {
95514
+ if (utils.isUndefined(value)) return;
95515
+
95516
+ if (stack.indexOf(value) !== -1) {
95517
+ throw Error('Circular reference detected in ' + path.join('.'));
95518
+ }
95519
+
95520
+ stack.push(value);
95521
+
95522
+ utils.forEach(value, function each(el, key) {
95523
+ const result = !(utils.isUndefined(el) || el === null) && visitor.call(
95524
+ formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers
95525
+ );
95526
+
95527
+ if (result === true) {
95528
+ build(el, path ? path.concat(key) : [key]);
95529
+ }
95530
+ });
95531
+
95532
+ stack.pop();
95533
+ }
95534
+
95535
+ if (!utils.isObject(obj)) {
95536
+ throw new TypeError('data must be an object');
95537
+ }
95538
+
95539
+ build(obj);
95540
+
95541
+ return formData;
95542
+ }
95543
+
95544
+ /* harmony default export */ var helpers_toFormData = (toFormData);
95545
+
95546
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/AxiosURLSearchParams.js
95547
+
95548
+
95549
+
95550
+
95551
+ /**
95552
+ * It encodes a string by replacing all characters that are not in the unreserved set with
95553
+ * their percent-encoded equivalents
95554
+ *
95555
+ * @param {string} str - The string to encode.
95556
+ *
95557
+ * @returns {string} The encoded string.
95558
+ */
95559
+ function encode(str) {
95560
+ const charMap = {
95561
+ '!': '%21',
95562
+ "'": '%27',
95563
+ '(': '%28',
95564
+ ')': '%29',
95565
+ '~': '%7E',
95566
+ '%20': '+',
95567
+ '%00': '\x00'
95568
+ };
95569
+ return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
95570
+ return charMap[match];
95571
+ });
95572
+ }
95573
+
95574
+ /**
95575
+ * It takes a params object and converts it to a FormData object
95576
+ *
95577
+ * @param {Object<string, any>} params - The parameters to be converted to a FormData object.
95578
+ * @param {Object<string, any>} options - The options object passed to the Axios constructor.
95579
+ *
95580
+ * @returns {void}
95581
+ */
95582
+ function AxiosURLSearchParams(params, options) {
95583
+ this._pairs = [];
95584
+
95585
+ params && helpers_toFormData(params, this, options);
95586
+ }
95587
+
95588
+ const AxiosURLSearchParams_prototype = AxiosURLSearchParams.prototype;
95589
+
95590
+ AxiosURLSearchParams_prototype.append = function append(name, value) {
95591
+ this._pairs.push([name, value]);
95592
+ };
95593
+
95594
+ AxiosURLSearchParams_prototype.toString = function toString(encoder) {
95595
+ const _encode = encoder ? function(value) {
95596
+ return encoder.call(this, value, encode);
95597
+ } : encode;
95598
+
95599
+ return this._pairs.map(function each(pair) {
95600
+ return _encode(pair[0]) + '=' + _encode(pair[1]);
95601
+ }, '').join('&');
95602
+ };
95603
+
95604
+ /* harmony default export */ var helpers_AxiosURLSearchParams = (AxiosURLSearchParams);
95605
+
95606
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/buildURL.js
95607
+
95608
+
95609
+
95610
+
95611
+
95612
+ /**
95613
+ * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
95614
+ * URI encoded counterparts
95615
+ *
95616
+ * @param {string} val The value to be encoded.
95617
+ *
95618
+ * @returns {string} The encoded value.
95619
+ */
95620
+ function buildURL_encode(val) {
95621
+ return encodeURIComponent(val).
95622
+ replace(/%3A/gi, ':').
95623
+ replace(/%24/g, '$').
95624
+ replace(/%2C/gi, ',').
95625
+ replace(/%20/g, '+').
95626
+ replace(/%5B/gi, '[').
95627
+ replace(/%5D/gi, ']');
95628
+ }
95629
+
95630
+ /**
95631
+ * Build a URL by appending params to the end
95632
+ *
95633
+ * @param {string} url The base of the url (e.g., http://www.google.com)
95634
+ * @param {object} [params] The params to be appended
95635
+ * @param {?object} options
95636
+ *
95637
+ * @returns {string} The formatted url
95638
+ */
95639
+ function buildURL(url, params, options) {
95640
+ /*eslint no-param-reassign:0*/
95641
+ if (!params) {
95642
+ return url;
95643
+ }
95644
+
95645
+ const _encode = options && options.encode || buildURL_encode;
95646
+
95647
+ const serializeFn = options && options.serialize;
95648
+
95649
+ let serializedParams;
95650
+
95651
+ if (serializeFn) {
95652
+ serializedParams = serializeFn(params, options);
95653
+ } else {
95654
+ serializedParams = utils.isURLSearchParams(params) ?
95655
+ params.toString() :
95656
+ new helpers_AxiosURLSearchParams(params, options).toString(_encode);
95657
+ }
95658
+
95659
+ if (serializedParams) {
95660
+ const hashmarkIndex = url.indexOf("#");
95661
+
95662
+ if (hashmarkIndex !== -1) {
95663
+ url = url.slice(0, hashmarkIndex);
95664
+ }
95665
+ url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
95666
+ }
95667
+
95668
+ return url;
95669
+ }
95670
+
95671
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/InterceptorManager.js
95672
+
95673
+
95674
+
95675
+
95676
+ class InterceptorManager {
95677
+ constructor() {
95678
+ this.handlers = [];
95679
+ }
95680
+
95681
+ /**
95682
+ * Add a new interceptor to the stack
95683
+ *
95684
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
95685
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
95686
+ *
95687
+ * @return {Number} An ID used to remove interceptor later
95688
+ */
95689
+ use(fulfilled, rejected, options) {
95690
+ this.handlers.push({
95691
+ fulfilled,
95692
+ rejected,
95693
+ synchronous: options ? options.synchronous : false,
95694
+ runWhen: options ? options.runWhen : null
95695
+ });
95696
+ return this.handlers.length - 1;
95697
+ }
95698
+
95699
+ /**
95700
+ * Remove an interceptor from the stack
95701
+ *
95702
+ * @param {Number} id The ID that was returned by `use`
95703
+ *
95704
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
95705
+ */
95706
+ eject(id) {
95707
+ if (this.handlers[id]) {
95708
+ this.handlers[id] = null;
95709
+ }
95710
+ }
95711
+
95712
+ /**
95713
+ * Clear all interceptors from the stack
95714
+ *
95715
+ * @returns {void}
95716
+ */
95717
+ clear() {
95718
+ if (this.handlers) {
95719
+ this.handlers = [];
95720
+ }
95721
+ }
95722
+
95723
+ /**
95724
+ * Iterate over all the registered interceptors
95725
+ *
95726
+ * This method is particularly useful for skipping over any
95727
+ * interceptors that may have become `null` calling `eject`.
95728
+ *
95729
+ * @param {Function} fn The function to call for each interceptor
95730
+ *
95731
+ * @returns {void}
95732
+ */
95733
+ forEach(fn) {
95734
+ utils.forEach(this.handlers, function forEachHandler(h) {
95735
+ if (h !== null) {
95736
+ fn(h);
95737
+ }
95738
+ });
95739
+ }
95740
+ }
95741
+
95742
+ /* harmony default export */ var core_InterceptorManager = (InterceptorManager);
95743
+
95744
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/defaults/transitional.js
95745
+
95746
+
95747
+ /* harmony default export */ var defaults_transitional = ({
95748
+ silentJSONParsing: true,
95749
+ forcedJSONParsing: true,
95750
+ clarifyTimeoutError: false
95751
+ });
95752
+
95753
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
95754
+
95755
+
95756
+
95757
+ /* harmony default export */ var classes_URLSearchParams = (typeof URLSearchParams !== 'undefined' ? URLSearchParams : helpers_AxiosURLSearchParams);
95758
+
95759
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/browser/classes/FormData.js
95760
+
95761
+
95762
+ /* harmony default export */ var classes_FormData = (typeof FormData !== 'undefined' ? FormData : null);
95763
+
95764
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/browser/classes/Blob.js
95765
+
95766
+
95767
+ /* harmony default export */ var classes_Blob = (typeof Blob !== 'undefined' ? Blob : null);
95768
+
95769
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/browser/index.js
95770
+
95771
+
95772
+
95773
+
95774
+ /* harmony default export */ var browser = ({
95775
+ isBrowser: true,
95776
+ classes: {
95777
+ URLSearchParams: classes_URLSearchParams,
95778
+ FormData: classes_FormData,
95779
+ Blob: classes_Blob
95780
+ },
95781
+ protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
95782
+ });
95783
+
95784
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/common/utils.js
95785
+ const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
95786
+
95787
+ /**
95788
+ * Determine if we're running in a standard browser environment
95789
+ *
95790
+ * This allows axios to run in a web worker, and react-native.
95791
+ * Both environments support XMLHttpRequest, but not fully standard globals.
95792
+ *
95793
+ * web workers:
95794
+ * typeof window -> undefined
95795
+ * typeof document -> undefined
95796
+ *
95797
+ * react-native:
95798
+ * navigator.product -> 'ReactNative'
95799
+ * nativescript
95800
+ * navigator.product -> 'NativeScript' or 'NS'
95801
+ *
95802
+ * @returns {boolean}
95803
+ */
95804
+ const hasStandardBrowserEnv = (
95805
+ (product) => {
95806
+ return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0
95807
+ })(typeof navigator !== 'undefined' && navigator.product);
95808
+
95809
+ /**
95810
+ * Determine if we're running in a standard browser webWorker environment
95811
+ *
95812
+ * Although the `isStandardBrowserEnv` method indicates that
95813
+ * `allows axios to run in a web worker`, the WebWorker will still be
95814
+ * filtered out due to its judgment standard
95815
+ * `typeof window !== 'undefined' && typeof document !== 'undefined'`.
95816
+ * This leads to a problem when axios post `FormData` in webWorker
95817
+ */
95818
+ const hasStandardBrowserWebWorkerEnv = (() => {
95819
+ return (
95820
+ typeof WorkerGlobalScope !== 'undefined' &&
95821
+ // eslint-disable-next-line no-undef
95822
+ self instanceof WorkerGlobalScope &&
95823
+ typeof self.importScripts === 'function'
95824
+ );
95825
+ })();
95826
+
95827
+
95828
+
95829
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/index.js
95830
+
95831
+
95832
+
95833
+ /* harmony default export */ var platform = ({
95834
+ ...common_utils_namespaceObject,
95835
+ ...browser
95836
+ });
95837
+
95838
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/toURLEncodedForm.js
95839
+
95840
+
95841
+
95842
+
95843
+
95844
+
95845
+ function toURLEncodedForm(data, options) {
95846
+ return helpers_toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
95847
+ visitor: function(value, key, path, helpers) {
95848
+ if (platform.isNode && utils.isBuffer(value)) {
95849
+ this.append(key, value.toString('base64'));
95850
+ return false;
95851
+ }
95852
+
95853
+ return helpers.defaultVisitor.apply(this, arguments);
95854
+ }
95855
+ }, options));
95856
+ }
95857
+
95858
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/formDataToJSON.js
95859
+
95860
+
95861
+
95862
+
95863
+ /**
95864
+ * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
95865
+ *
95866
+ * @param {string} name - The name of the property to get.
95867
+ *
95868
+ * @returns An array of strings.
95869
+ */
95870
+ function parsePropPath(name) {
95871
+ // foo[x][y][z]
95872
+ // foo.x.y.z
95873
+ // foo-x-y-z
95874
+ // foo x y z
95875
+ return utils.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
95876
+ return match[0] === '[]' ? '' : match[1] || match[0];
95877
+ });
95878
+ }
95879
+
95880
+ /**
95881
+ * Convert an array to an object.
95882
+ *
95883
+ * @param {Array<any>} arr - The array to convert to an object.
95884
+ *
95885
+ * @returns An object with the same keys and values as the array.
95886
+ */
95887
+ function arrayToObject(arr) {
95888
+ const obj = {};
95889
+ const keys = Object.keys(arr);
95890
+ let i;
95891
+ const len = keys.length;
95892
+ let key;
95893
+ for (i = 0; i < len; i++) {
95894
+ key = keys[i];
95895
+ obj[key] = arr[key];
95896
+ }
95897
+ return obj;
95898
+ }
95899
+
95900
+ /**
95901
+ * It takes a FormData object and returns a JavaScript object
95902
+ *
95903
+ * @param {string} formData The FormData object to convert to JSON.
95904
+ *
95905
+ * @returns {Object<string, any> | null} The converted object.
95906
+ */
95907
+ function formDataToJSON(formData) {
95908
+ function buildPath(path, value, target, index) {
95909
+ let name = path[index++];
95910
+
95911
+ if (name === '__proto__') return true;
95912
+
95913
+ const isNumericKey = Number.isFinite(+name);
95914
+ const isLast = index >= path.length;
95915
+ name = !name && utils.isArray(target) ? target.length : name;
95916
+
95917
+ if (isLast) {
95918
+ if (utils.hasOwnProp(target, name)) {
95919
+ target[name] = [target[name], value];
95920
+ } else {
95921
+ target[name] = value;
95922
+ }
95923
+
95924
+ return !isNumericKey;
95925
+ }
95926
+
95927
+ if (!target[name] || !utils.isObject(target[name])) {
95928
+ target[name] = [];
95929
+ }
95930
+
95931
+ const result = buildPath(path, value, target[name], index);
95932
+
95933
+ if (result && utils.isArray(target[name])) {
95934
+ target[name] = arrayToObject(target[name]);
95935
+ }
95936
+
95937
+ return !isNumericKey;
95938
+ }
95939
+
95940
+ if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {
95941
+ const obj = {};
95942
+
95943
+ utils.forEachEntry(formData, (name, value) => {
95944
+ buildPath(parsePropPath(name), value, obj, 0);
95945
+ });
95946
+
95947
+ return obj;
95948
+ }
95949
+
95950
+ return null;
95951
+ }
95952
+
95953
+ /* harmony default export */ var helpers_formDataToJSON = (formDataToJSON);
95954
+
95955
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/defaults/index.js
95956
+
95957
+
95958
+
95959
+
95960
+
95961
+
95962
+
95963
+
95964
+
95965
+
95966
+ /**
95967
+ * It takes a string, tries to parse it, and if it fails, it returns the stringified version
95968
+ * of the input
95969
+ *
95970
+ * @param {any} rawValue - The value to be stringified.
95971
+ * @param {Function} parser - A function that parses a string into a JavaScript object.
95972
+ * @param {Function} encoder - A function that takes a value and returns a string.
95973
+ *
95974
+ * @returns {string} A stringified version of the rawValue.
95975
+ */
95976
+ function stringifySafely(rawValue, parser, encoder) {
95977
+ if (utils.isString(rawValue)) {
95978
+ try {
95979
+ (parser || JSON.parse)(rawValue);
95980
+ return utils.trim(rawValue);
95981
+ } catch (e) {
95982
+ if (e.name !== 'SyntaxError') {
95983
+ throw e;
95984
+ }
95985
+ }
95986
+ }
95987
+
95988
+ return (encoder || JSON.stringify)(rawValue);
95989
+ }
95990
+
95991
+ const defaults = {
95992
+
95993
+ transitional: defaults_transitional,
95994
+
95995
+ adapter: ['xhr', 'http'],
95996
+
95997
+ transformRequest: [function transformRequest(data, headers) {
95998
+ const contentType = headers.getContentType() || '';
95999
+ const hasJSONContentType = contentType.indexOf('application/json') > -1;
96000
+ const isObjectPayload = utils.isObject(data);
96001
+
96002
+ if (isObjectPayload && utils.isHTMLForm(data)) {
96003
+ data = new FormData(data);
96004
+ }
96005
+
96006
+ const isFormData = utils.isFormData(data);
96007
+
96008
+ if (isFormData) {
96009
+ return hasJSONContentType ? JSON.stringify(helpers_formDataToJSON(data)) : data;
96010
+ }
96011
+
96012
+ if (utils.isArrayBuffer(data) ||
96013
+ utils.isBuffer(data) ||
96014
+ utils.isStream(data) ||
96015
+ utils.isFile(data) ||
96016
+ utils.isBlob(data)
96017
+ ) {
96018
+ return data;
96019
+ }
96020
+ if (utils.isArrayBufferView(data)) {
96021
+ return data.buffer;
96022
+ }
96023
+ if (utils.isURLSearchParams(data)) {
96024
+ headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
96025
+ return data.toString();
96026
+ }
96027
+
96028
+ let isFileList;
96029
+
96030
+ if (isObjectPayload) {
96031
+ if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
96032
+ return toURLEncodedForm(data, this.formSerializer).toString();
96033
+ }
96034
+
96035
+ if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
96036
+ const _FormData = this.env && this.env.FormData;
96037
+
96038
+ return helpers_toFormData(
96039
+ isFileList ? {'files[]': data} : data,
96040
+ _FormData && new _FormData(),
96041
+ this.formSerializer
96042
+ );
96043
+ }
96044
+ }
96045
+
96046
+ if (isObjectPayload || hasJSONContentType ) {
96047
+ headers.setContentType('application/json', false);
96048
+ return stringifySafely(data);
96049
+ }
96050
+
96051
+ return data;
96052
+ }],
96053
+
96054
+ transformResponse: [function transformResponse(data) {
96055
+ const transitional = this.transitional || defaults.transitional;
96056
+ const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
96057
+ const JSONRequested = this.responseType === 'json';
96058
+
96059
+ if (data && utils.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {
96060
+ const silentJSONParsing = transitional && transitional.silentJSONParsing;
96061
+ const strictJSONParsing = !silentJSONParsing && JSONRequested;
96062
+
96063
+ try {
96064
+ return JSON.parse(data);
96065
+ } catch (e) {
96066
+ if (strictJSONParsing) {
96067
+ if (e.name === 'SyntaxError') {
96068
+ throw core_AxiosError.from(e, core_AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
96069
+ }
96070
+ throw e;
96071
+ }
96072
+ }
96073
+ }
96074
+
96075
+ return data;
96076
+ }],
96077
+
96078
+ /**
96079
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
96080
+ * timeout is not created.
96081
+ */
96082
+ timeout: 0,
96083
+
96084
+ xsrfCookieName: 'XSRF-TOKEN',
96085
+ xsrfHeaderName: 'X-XSRF-TOKEN',
96086
+
96087
+ maxContentLength: -1,
96088
+ maxBodyLength: -1,
96089
+
96090
+ env: {
96091
+ FormData: platform.classes.FormData,
96092
+ Blob: platform.classes.Blob
96093
+ },
96094
+
96095
+ validateStatus: function validateStatus(status) {
96096
+ return status >= 200 && status < 300;
96097
+ },
96098
+
96099
+ headers: {
96100
+ common: {
96101
+ 'Accept': 'application/json, text/plain, */*',
96102
+ 'Content-Type': undefined
96103
+ }
96104
+ }
96105
+ };
96106
+
96107
+ utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
96108
+ defaults.headers[method] = {};
96109
+ });
96110
+
96111
+ /* harmony default export */ var lib_defaults = (defaults);
96112
+
96113
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/parseHeaders.js
96114
+
96115
+
96116
+
96117
+
96118
+ // RawAxiosHeaders whose duplicates are ignored by node
96119
+ // c.f. https://nodejs.org/api/http.html#http_message_headers
96120
+ const ignoreDuplicateOf = utils.toObjectSet([
96121
+ 'age', 'authorization', 'content-length', 'content-type', 'etag',
96122
+ 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
96123
+ 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
96124
+ 'referer', 'retry-after', 'user-agent'
96125
+ ]);
96126
+
96127
+ /**
96128
+ * Parse headers into an object
96129
+ *
96130
+ * ```
96131
+ * Date: Wed, 27 Aug 2014 08:58:49 GMT
96132
+ * Content-Type: application/json
96133
+ * Connection: keep-alive
96134
+ * Transfer-Encoding: chunked
96135
+ * ```
96136
+ *
96137
+ * @param {String} rawHeaders Headers needing to be parsed
96138
+ *
96139
+ * @returns {Object} Headers parsed into an object
96140
+ */
96141
+ /* harmony default export */ var parseHeaders = (rawHeaders => {
96142
+ const parsed = {};
96143
+ let key;
96144
+ let val;
96145
+ let i;
96146
+
96147
+ rawHeaders && rawHeaders.split('\n').forEach(function parser(line) {
96148
+ i = line.indexOf(':');
96149
+ key = line.substring(0, i).trim().toLowerCase();
96150
+ val = line.substring(i + 1).trim();
96151
+
96152
+ if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
96153
+ return;
96154
+ }
96155
+
96156
+ if (key === 'set-cookie') {
96157
+ if (parsed[key]) {
96158
+ parsed[key].push(val);
96159
+ } else {
96160
+ parsed[key] = [val];
96161
+ }
96162
+ } else {
96163
+ parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
96164
+ }
96165
+ });
96166
+
96167
+ return parsed;
96168
+ });
96169
+
96170
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/AxiosHeaders.js
96171
+
96172
+
96173
+
96174
+
96175
+
96176
+ const $internals = Symbol('internals');
96177
+
96178
+ function normalizeHeader(header) {
96179
+ return header && String(header).trim().toLowerCase();
96180
+ }
96181
+
96182
+ function normalizeValue(value) {
96183
+ if (value === false || value == null) {
96184
+ return value;
96185
+ }
96186
+
96187
+ return utils.isArray(value) ? value.map(normalizeValue) : String(value);
96188
+ }
96189
+
96190
+ function parseTokens(str) {
96191
+ const tokens = Object.create(null);
96192
+ const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
96193
+ let match;
96194
+
96195
+ while ((match = tokensRE.exec(str))) {
96196
+ tokens[match[1]] = match[2];
96197
+ }
96198
+
96199
+ return tokens;
96200
+ }
96201
+
96202
+ const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
96203
+
96204
+ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
96205
+ if (utils.isFunction(filter)) {
96206
+ return filter.call(this, value, header);
96207
+ }
96208
+
96209
+ if (isHeaderNameFilter) {
96210
+ value = header;
96211
+ }
96212
+
96213
+ if (!utils.isString(value)) return;
96214
+
96215
+ if (utils.isString(filter)) {
96216
+ return value.indexOf(filter) !== -1;
96217
+ }
96218
+
96219
+ if (utils.isRegExp(filter)) {
96220
+ return filter.test(value);
96221
+ }
96222
+ }
96223
+
96224
+ function formatHeader(header) {
96225
+ return header.trim()
96226
+ .toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
96227
+ return char.toUpperCase() + str;
96228
+ });
96229
+ }
96230
+
96231
+ function buildAccessors(obj, header) {
96232
+ const accessorName = utils.toCamelCase(' ' + header);
96233
+
96234
+ ['get', 'set', 'has'].forEach(methodName => {
96235
+ Object.defineProperty(obj, methodName + accessorName, {
96236
+ value: function(arg1, arg2, arg3) {
96237
+ return this[methodName].call(this, header, arg1, arg2, arg3);
96238
+ },
96239
+ configurable: true
96240
+ });
96241
+ });
96242
+ }
96243
+
96244
+ class AxiosHeaders {
96245
+ constructor(headers) {
96246
+ headers && this.set(headers);
96247
+ }
96248
+
96249
+ set(header, valueOrRewrite, rewrite) {
96250
+ const self = this;
96251
+
96252
+ function setHeader(_value, _header, _rewrite) {
96253
+ const lHeader = normalizeHeader(_header);
96254
+
96255
+ if (!lHeader) {
96256
+ throw new Error('header name must be a non-empty string');
96257
+ }
96258
+
96259
+ const key = utils.findKey(self, lHeader);
96260
+
96261
+ if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {
96262
+ self[key || _header] = normalizeValue(_value);
96263
+ }
96264
+ }
96265
+
96266
+ const setHeaders = (headers, _rewrite) =>
96267
+ utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
96268
+
96269
+ if (utils.isPlainObject(header) || header instanceof this.constructor) {
96270
+ setHeaders(header, valueOrRewrite)
96271
+ } else if(utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
96272
+ setHeaders(parseHeaders(header), valueOrRewrite);
96273
+ } else {
96274
+ header != null && setHeader(valueOrRewrite, header, rewrite);
96275
+ }
96276
+
96277
+ return this;
96278
+ }
96279
+
96280
+ get(header, parser) {
96281
+ header = normalizeHeader(header);
96282
+
96283
+ if (header) {
96284
+ const key = utils.findKey(this, header);
96285
+
96286
+ if (key) {
96287
+ const value = this[key];
96288
+
96289
+ if (!parser) {
96290
+ return value;
96291
+ }
96292
+
96293
+ if (parser === true) {
96294
+ return parseTokens(value);
96295
+ }
96296
+
96297
+ if (utils.isFunction(parser)) {
96298
+ return parser.call(this, value, key);
96299
+ }
96300
+
96301
+ if (utils.isRegExp(parser)) {
96302
+ return parser.exec(value);
96303
+ }
96304
+
96305
+ throw new TypeError('parser must be boolean|regexp|function');
96306
+ }
96307
+ }
96308
+ }
96309
+
96310
+ has(header, matcher) {
96311
+ header = normalizeHeader(header);
96312
+
96313
+ if (header) {
96314
+ const key = utils.findKey(this, header);
96315
+
96316
+ return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
96317
+ }
96318
+
96319
+ return false;
96320
+ }
96321
+
96322
+ delete(header, matcher) {
96323
+ const self = this;
96324
+ let deleted = false;
96325
+
96326
+ function deleteHeader(_header) {
96327
+ _header = normalizeHeader(_header);
96328
+
96329
+ if (_header) {
96330
+ const key = utils.findKey(self, _header);
96331
+
96332
+ if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {
96333
+ delete self[key];
96334
+
96335
+ deleted = true;
96336
+ }
96337
+ }
96338
+ }
96339
+
96340
+ if (utils.isArray(header)) {
96341
+ header.forEach(deleteHeader);
96342
+ } else {
96343
+ deleteHeader(header);
96344
+ }
96345
+
96346
+ return deleted;
96347
+ }
96348
+
96349
+ clear(matcher) {
96350
+ const keys = Object.keys(this);
96351
+ let i = keys.length;
96352
+ let deleted = false;
96353
+
96354
+ while (i--) {
96355
+ const key = keys[i];
96356
+ if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
96357
+ delete this[key];
96358
+ deleted = true;
96359
+ }
96360
+ }
96361
+
96362
+ return deleted;
96363
+ }
96364
+
96365
+ normalize(format) {
96366
+ const self = this;
96367
+ const headers = {};
96368
+
96369
+ utils.forEach(this, (value, header) => {
96370
+ const key = utils.findKey(headers, header);
96371
+
96372
+ if (key) {
96373
+ self[key] = normalizeValue(value);
96374
+ delete self[header];
96375
+ return;
96376
+ }
96377
+
96378
+ const normalized = format ? formatHeader(header) : String(header).trim();
96379
+
96380
+ if (normalized !== header) {
96381
+ delete self[header];
96382
+ }
96383
+
96384
+ self[normalized] = normalizeValue(value);
96385
+
96386
+ headers[normalized] = true;
96387
+ });
96388
+
96389
+ return this;
96390
+ }
96391
+
96392
+ concat(...targets) {
96393
+ return this.constructor.concat(this, ...targets);
96394
+ }
96395
+
96396
+ toJSON(asStrings) {
96397
+ const obj = Object.create(null);
96398
+
96399
+ utils.forEach(this, (value, header) => {
96400
+ value != null && value !== false && (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);
96401
+ });
96402
+
96403
+ return obj;
96404
+ }
96405
+
96406
+ [Symbol.iterator]() {
96407
+ return Object.entries(this.toJSON())[Symbol.iterator]();
96408
+ }
96409
+
96410
+ toString() {
96411
+ return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
96412
+ }
96413
+
96414
+ get [Symbol.toStringTag]() {
96415
+ return 'AxiosHeaders';
96416
+ }
96417
+
96418
+ static from(thing) {
96419
+ return thing instanceof this ? thing : new this(thing);
96420
+ }
96421
+
96422
+ static concat(first, ...targets) {
96423
+ const computed = new this(first);
96424
+
96425
+ targets.forEach((target) => computed.set(target));
96426
+
96427
+ return computed;
96428
+ }
96429
+
96430
+ static accessor(header) {
96431
+ const internals = this[$internals] = (this[$internals] = {
96432
+ accessors: {}
96433
+ });
96434
+
96435
+ const accessors = internals.accessors;
96436
+ const prototype = this.prototype;
96437
+
96438
+ function defineAccessor(_header) {
96439
+ const lHeader = normalizeHeader(_header);
96440
+
96441
+ if (!accessors[lHeader]) {
96442
+ buildAccessors(prototype, _header);
96443
+ accessors[lHeader] = true;
96444
+ }
96445
+ }
96446
+
96447
+ utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
96448
+
96449
+ return this;
96450
+ }
96451
+ }
96452
+
96453
+ AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
96454
+
96455
+ // reserved names hotfix
96456
+ utils.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
96457
+ let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
96458
+ return {
96459
+ get: () => value,
96460
+ set(headerValue) {
96461
+ this[mapped] = headerValue;
96462
+ }
96463
+ }
96464
+ });
96465
+
96466
+ utils.freezeMethods(AxiosHeaders);
96467
+
96468
+ /* harmony default export */ var core_AxiosHeaders = (AxiosHeaders);
96469
+
96470
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/transformData.js
96471
+
96472
+
96473
+
96474
+
96475
+
96476
+
96477
+ /**
96478
+ * Transform the data for a request or a response
96479
+ *
96480
+ * @param {Array|Function} fns A single function or Array of functions
96481
+ * @param {?Object} response The response object
96482
+ *
96483
+ * @returns {*} The resulting transformed data
96484
+ */
96485
+ function transformData(fns, response) {
96486
+ const config = this || lib_defaults;
96487
+ const context = response || config;
96488
+ const headers = core_AxiosHeaders.from(context.headers);
96489
+ let data = context.data;
96490
+
96491
+ utils.forEach(fns, function transform(fn) {
96492
+ data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);
96493
+ });
96494
+
96495
+ headers.normalize();
96496
+
96497
+ return data;
96498
+ }
96499
+
96500
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/cancel/isCancel.js
96501
+
96502
+
96503
+ function isCancel(value) {
96504
+ return !!(value && value.__CANCEL__);
96505
+ }
96506
+
96507
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/cancel/CanceledError.js
96508
+
96509
+
96510
+
96511
+
96512
+
96513
+ /**
96514
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
96515
+ *
96516
+ * @param {string=} message The message.
96517
+ * @param {Object=} config The config.
96518
+ * @param {Object=} request The request.
96519
+ *
96520
+ * @returns {CanceledError} The created error.
96521
+ */
96522
+ function CanceledError(message, config, request) {
96523
+ // eslint-disable-next-line no-eq-null,eqeqeq
96524
+ core_AxiosError.call(this, message == null ? 'canceled' : message, core_AxiosError.ERR_CANCELED, config, request);
96525
+ this.name = 'CanceledError';
96526
+ }
96527
+
96528
+ utils.inherits(CanceledError, core_AxiosError, {
96529
+ __CANCEL__: true
96530
+ });
96531
+
96532
+ /* harmony default export */ var cancel_CanceledError = (CanceledError);
96533
+
96534
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/settle.js
96535
+
96536
+
96537
+
96538
+
96539
+ /**
96540
+ * Resolve or reject a Promise based on response status.
96541
+ *
96542
+ * @param {Function} resolve A function that resolves the promise.
96543
+ * @param {Function} reject A function that rejects the promise.
96544
+ * @param {object} response The response.
96545
+ *
96546
+ * @returns {object} The response.
96547
+ */
96548
+ function settle(resolve, reject, response) {
96549
+ const validateStatus = response.config.validateStatus;
96550
+ if (!response.status || !validateStatus || validateStatus(response.status)) {
96551
+ resolve(response);
96552
+ } else {
96553
+ reject(new core_AxiosError(
96554
+ 'Request failed with status code ' + response.status,
96555
+ [core_AxiosError.ERR_BAD_REQUEST, core_AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
96556
+ response.config,
96557
+ response.request,
96558
+ response
96559
+ ));
96560
+ }
96561
+ }
96562
+
96563
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/cookies.js
96564
+
96565
+
96566
+
96567
+ /* harmony default export */ var cookies = (platform.hasStandardBrowserEnv ?
96568
+
96569
+ // Standard browser envs support document.cookie
96570
+ {
96571
+ write(name, value, expires, path, domain, secure) {
96572
+ const cookie = [name + '=' + encodeURIComponent(value)];
96573
+
96574
+ utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
96575
+
96576
+ utils.isString(path) && cookie.push('path=' + path);
96577
+
96578
+ utils.isString(domain) && cookie.push('domain=' + domain);
96579
+
96580
+ secure === true && cookie.push('secure');
96581
+
96582
+ document.cookie = cookie.join('; ');
96583
+ },
96584
+
96585
+ read(name) {
96586
+ const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
96587
+ return (match ? decodeURIComponent(match[3]) : null);
96588
+ },
96589
+
96590
+ remove(name) {
96591
+ this.write(name, '', Date.now() - 86400000);
96592
+ }
96593
+ }
96594
+
96595
+ :
96596
+
96597
+ // Non-standard browser env (web workers, react-native) lack needed support.
96598
+ {
96599
+ write() {},
96600
+ read() {
96601
+ return null;
96602
+ },
96603
+ remove() {}
96604
+ });
96605
+
96606
+
96607
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/isAbsoluteURL.js
96608
+
96609
+
96610
+ /**
96611
+ * Determines whether the specified URL is absolute
96612
+ *
96613
+ * @param {string} url The URL to test
96614
+ *
96615
+ * @returns {boolean} True if the specified URL is absolute, otherwise false
96616
+ */
96617
+ function isAbsoluteURL(url) {
96618
+ // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
96619
+ // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
96620
+ // by any combination of letters, digits, plus, period, or hyphen.
96621
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
96622
+ }
96623
+
96624
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/combineURLs.js
96625
+
96626
+
96627
+ /**
96628
+ * Creates a new URL by combining the specified URLs
96629
+ *
96630
+ * @param {string} baseURL The base URL
96631
+ * @param {string} relativeURL The relative URL
96632
+ *
96633
+ * @returns {string} The combined URL
96634
+ */
96635
+ function combineURLs(baseURL, relativeURL) {
96636
+ return relativeURL
96637
+ ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
96638
+ : baseURL;
96639
+ }
96640
+
96641
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/buildFullPath.js
96642
+
96643
+
96644
+
96645
+
96646
+
96647
+ /**
96648
+ * Creates a new URL by combining the baseURL with the requestedURL,
96649
+ * only when the requestedURL is not already an absolute URL.
96650
+ * If the requestURL is absolute, this function returns the requestedURL untouched.
96651
+ *
96652
+ * @param {string} baseURL The base URL
96653
+ * @param {string} requestedURL Absolute or relative URL to combine
96654
+ *
96655
+ * @returns {string} The combined full path
96656
+ */
96657
+ function buildFullPath(baseURL, requestedURL) {
96658
+ if (baseURL && !isAbsoluteURL(requestedURL)) {
96659
+ return combineURLs(baseURL, requestedURL);
96660
+ }
96661
+ return requestedURL;
96662
+ }
96663
+
96664
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/isURLSameOrigin.js
96665
+
96666
+
96667
+
96668
+
96669
+
96670
+ /* harmony default export */ var isURLSameOrigin = (platform.hasStandardBrowserEnv ?
96671
+
96672
+ // Standard browser envs have full support of the APIs needed to test
96673
+ // whether the request URL is of the same origin as current location.
96674
+ (function standardBrowserEnv() {
96675
+ const msie = /(msie|trident)/i.test(navigator.userAgent);
96676
+ const urlParsingNode = document.createElement('a');
96677
+ let originURL;
96678
+
96679
+ /**
96680
+ * Parse a URL to discover its components
96681
+ *
96682
+ * @param {String} url The URL to be parsed
96683
+ * @returns {Object}
96684
+ */
96685
+ function resolveURL(url) {
96686
+ let href = url;
96687
+
96688
+ if (msie) {
96689
+ // IE needs attribute set twice to normalize properties
96690
+ urlParsingNode.setAttribute('href', href);
96691
+ href = urlParsingNode.href;
96692
+ }
96693
+
96694
+ urlParsingNode.setAttribute('href', href);
96695
+
96696
+ // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
96697
+ return {
96698
+ href: urlParsingNode.href,
96699
+ protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
96700
+ host: urlParsingNode.host,
96701
+ search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
96702
+ hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
96703
+ hostname: urlParsingNode.hostname,
96704
+ port: urlParsingNode.port,
96705
+ pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
96706
+ urlParsingNode.pathname :
96707
+ '/' + urlParsingNode.pathname
96708
+ };
96709
+ }
96710
+
96711
+ originURL = resolveURL(window.location.href);
96712
+
96713
+ /**
96714
+ * Determine if a URL shares the same origin as the current location
96715
+ *
96716
+ * @param {String} requestURL The URL to test
96717
+ * @returns {boolean} True if URL shares the same origin, otherwise false
96718
+ */
96719
+ return function isURLSameOrigin(requestURL) {
96720
+ const parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
96721
+ return (parsed.protocol === originURL.protocol &&
96722
+ parsed.host === originURL.host);
96723
+ };
96724
+ })() :
96725
+
96726
+ // Non standard browser envs (web workers, react-native) lack needed support.
96727
+ (function nonStandardBrowserEnv() {
96728
+ return function isURLSameOrigin() {
96729
+ return true;
96730
+ };
96731
+ })());
96732
+
96733
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/parseProtocol.js
96734
+
96735
+
96736
+ function parseProtocol(url) {
96737
+ const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
96738
+ return match && match[1] || '';
96739
+ }
96740
+
96741
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/speedometer.js
96742
+
96743
+
96744
+ /**
96745
+ * Calculate data maxRate
96746
+ * @param {Number} [samplesCount= 10]
96747
+ * @param {Number} [min= 1000]
96748
+ * @returns {Function}
96749
+ */
96750
+ function speedometer(samplesCount, min) {
96751
+ samplesCount = samplesCount || 10;
96752
+ const bytes = new Array(samplesCount);
96753
+ const timestamps = new Array(samplesCount);
96754
+ let head = 0;
96755
+ let tail = 0;
96756
+ let firstSampleTS;
96757
+
96758
+ min = min !== undefined ? min : 1000;
96759
+
96760
+ return function push(chunkLength) {
96761
+ const now = Date.now();
96762
+
96763
+ const startedAt = timestamps[tail];
96764
+
96765
+ if (!firstSampleTS) {
96766
+ firstSampleTS = now;
96767
+ }
96768
+
96769
+ bytes[head] = chunkLength;
96770
+ timestamps[head] = now;
96771
+
96772
+ let i = tail;
96773
+ let bytesCount = 0;
96774
+
96775
+ while (i !== head) {
96776
+ bytesCount += bytes[i++];
96777
+ i = i % samplesCount;
96778
+ }
96779
+
96780
+ head = (head + 1) % samplesCount;
96781
+
96782
+ if (head === tail) {
96783
+ tail = (tail + 1) % samplesCount;
96784
+ }
96785
+
96786
+ if (now - firstSampleTS < min) {
96787
+ return;
96788
+ }
96789
+
96790
+ const passed = startedAt && now - startedAt;
96791
+
96792
+ return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
96793
+ };
96794
+ }
96795
+
96796
+ /* harmony default export */ var helpers_speedometer = (speedometer);
96797
+
96798
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/adapters/xhr.js
96799
+
96800
+
96801
+
96802
+
96803
+
96804
+
96805
+
96806
+
96807
+
96808
+
96809
+
96810
+
96811
+
96812
+
96813
+
96814
+
96815
+ function progressEventReducer(listener, isDownloadStream) {
96816
+ let bytesNotified = 0;
96817
+ const _speedometer = helpers_speedometer(50, 250);
96818
+
96819
+ return e => {
96820
+ const loaded = e.loaded;
96821
+ const total = e.lengthComputable ? e.total : undefined;
96822
+ const progressBytes = loaded - bytesNotified;
96823
+ const rate = _speedometer(progressBytes);
96824
+ const inRange = loaded <= total;
96825
+
96826
+ bytesNotified = loaded;
96827
+
96828
+ const data = {
96829
+ loaded,
96830
+ total,
96831
+ progress: total ? (loaded / total) : undefined,
96832
+ bytes: progressBytes,
96833
+ rate: rate ? rate : undefined,
96834
+ estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
96835
+ event: e
96836
+ };
96837
+
96838
+ data[isDownloadStream ? 'download' : 'upload'] = true;
96839
+
96840
+ listener(data);
96841
+ };
96842
+ }
96843
+
96844
+ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
96845
+
96846
+ /* harmony default export */ var xhr = (isXHRAdapterSupported && function (config) {
96847
+ return new Promise(function dispatchXhrRequest(resolve, reject) {
96848
+ let requestData = config.data;
96849
+ const requestHeaders = core_AxiosHeaders.from(config.headers).normalize();
96850
+ let {responseType, withXSRFToken} = config;
96851
+ let onCanceled;
96852
+ function done() {
96853
+ if (config.cancelToken) {
96854
+ config.cancelToken.unsubscribe(onCanceled);
96855
+ }
96856
+
96857
+ if (config.signal) {
96858
+ config.signal.removeEventListener('abort', onCanceled);
96859
+ }
96860
+ }
96861
+
96862
+ let contentType;
96863
+
96864
+ if (utils.isFormData(requestData)) {
96865
+ if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
96866
+ requestHeaders.setContentType(false); // Let the browser set it
96867
+ } else if ((contentType = requestHeaders.getContentType()) !== false) {
96868
+ // fix semicolon duplication issue for ReactNative FormData implementation
96869
+ const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];
96870
+ requestHeaders.setContentType([type || 'multipart/form-data', ...tokens].join('; '));
96871
+ }
96872
+ }
96873
+
96874
+ let request = new XMLHttpRequest();
96875
+
96876
+ // HTTP basic authentication
96877
+ if (config.auth) {
96878
+ const username = config.auth.username || '';
96879
+ const password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
96880
+ requestHeaders.set('Authorization', 'Basic ' + btoa(username + ':' + password));
96881
+ }
96882
+
96883
+ const fullPath = buildFullPath(config.baseURL, config.url);
96884
+
96885
+ request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
96886
+
96887
+ // Set the request timeout in MS
96888
+ request.timeout = config.timeout;
96889
+
96890
+ function onloadend() {
96891
+ if (!request) {
96892
+ return;
96893
+ }
96894
+ // Prepare the response
96895
+ const responseHeaders = core_AxiosHeaders.from(
96896
+ 'getAllResponseHeaders' in request && request.getAllResponseHeaders()
96897
+ );
96898
+ const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
96899
+ request.responseText : request.response;
96900
+ const response = {
96901
+ data: responseData,
96902
+ status: request.status,
96903
+ statusText: request.statusText,
96904
+ headers: responseHeaders,
96905
+ config,
96906
+ request
96907
+ };
96908
+
96909
+ settle(function _resolve(value) {
96910
+ resolve(value);
96911
+ done();
96912
+ }, function _reject(err) {
96913
+ reject(err);
96914
+ done();
96915
+ }, response);
96916
+
96917
+ // Clean up request
96918
+ request = null;
96919
+ }
96920
+
96921
+ if ('onloadend' in request) {
96922
+ // Use onloadend if available
96923
+ request.onloadend = onloadend;
96924
+ } else {
96925
+ // Listen for ready state to emulate onloadend
96926
+ request.onreadystatechange = function handleLoad() {
96927
+ if (!request || request.readyState !== 4) {
96928
+ return;
96929
+ }
96930
+
96931
+ // The request errored out and we didn't get a response, this will be
96932
+ // handled by onerror instead
96933
+ // With one exception: request that using file: protocol, most browsers
96934
+ // will return status as 0 even though it's a successful request
96935
+ if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
96936
+ return;
96937
+ }
96938
+ // readystate handler is calling before onerror or ontimeout handlers,
96939
+ // so we should call onloadend on the next 'tick'
96940
+ setTimeout(onloadend);
96941
+ };
96942
+ }
96943
+
96944
+ // Handle browser request cancellation (as opposed to a manual cancellation)
96945
+ request.onabort = function handleAbort() {
96946
+ if (!request) {
96947
+ return;
96948
+ }
96949
+
96950
+ reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, config, request));
96951
+
96952
+ // Clean up request
96953
+ request = null;
96954
+ };
96955
+
96956
+ // Handle low level network errors
96957
+ request.onerror = function handleError() {
96958
+ // Real errors are hidden from us by the browser
96959
+ // onerror should only fire if it's a network error
96960
+ reject(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request));
96961
+
96962
+ // Clean up request
96963
+ request = null;
96964
+ };
96965
+
96966
+ // Handle timeout
96967
+ request.ontimeout = function handleTimeout() {
96968
+ let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
96969
+ const transitional = config.transitional || defaults_transitional;
96970
+ if (config.timeoutErrorMessage) {
96971
+ timeoutErrorMessage = config.timeoutErrorMessage;
96972
+ }
96973
+ reject(new core_AxiosError(
96974
+ timeoutErrorMessage,
96975
+ transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED,
96976
+ config,
96977
+ request));
96978
+
96979
+ // Clean up request
96980
+ request = null;
96981
+ };
96982
+
96983
+ // Add xsrf header
96984
+ // This is only done if running in a standard browser environment.
96985
+ // Specifically not if we're in a web worker, or react-native.
96986
+ if(platform.hasStandardBrowserEnv) {
96987
+ withXSRFToken && utils.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
96988
+
96989
+ if (withXSRFToken || (withXSRFToken !== false && isURLSameOrigin(fullPath))) {
96990
+ // Add xsrf header
96991
+ const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && cookies.read(config.xsrfCookieName);
96992
+
96993
+ if (xsrfValue) {
96994
+ requestHeaders.set(config.xsrfHeaderName, xsrfValue);
96995
+ }
96996
+ }
96997
+ }
96998
+
96999
+ // Remove Content-Type if data is undefined
97000
+ requestData === undefined && requestHeaders.setContentType(null);
97001
+
97002
+ // Add headers to the request
97003
+ if ('setRequestHeader' in request) {
97004
+ utils.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
97005
+ request.setRequestHeader(key, val);
97006
+ });
97007
+ }
97008
+
97009
+ // Add withCredentials to request if needed
97010
+ if (!utils.isUndefined(config.withCredentials)) {
97011
+ request.withCredentials = !!config.withCredentials;
97012
+ }
97013
+
97014
+ // Add responseType to request if needed
97015
+ if (responseType && responseType !== 'json') {
97016
+ request.responseType = config.responseType;
97017
+ }
97018
+
97019
+ // Handle progress if needed
97020
+ if (typeof config.onDownloadProgress === 'function') {
97021
+ request.addEventListener('progress', progressEventReducer(config.onDownloadProgress, true));
97022
+ }
97023
+
97024
+ // Not all browsers support upload events
97025
+ if (typeof config.onUploadProgress === 'function' && request.upload) {
97026
+ request.upload.addEventListener('progress', progressEventReducer(config.onUploadProgress));
97027
+ }
97028
+
97029
+ if (config.cancelToken || config.signal) {
97030
+ // Handle cancellation
97031
+ // eslint-disable-next-line func-names
97032
+ onCanceled = cancel => {
97033
+ if (!request) {
97034
+ return;
97035
+ }
97036
+ reject(!cancel || cancel.type ? new cancel_CanceledError(null, config, request) : cancel);
97037
+ request.abort();
97038
+ request = null;
97039
+ };
97040
+
97041
+ config.cancelToken && config.cancelToken.subscribe(onCanceled);
97042
+ if (config.signal) {
97043
+ config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
97044
+ }
97045
+ }
97046
+
97047
+ const protocol = parseProtocol(fullPath);
97048
+
97049
+ if (protocol && platform.protocols.indexOf(protocol) === -1) {
97050
+ reject(new core_AxiosError('Unsupported protocol ' + protocol + ':', core_AxiosError.ERR_BAD_REQUEST, config));
97051
+ return;
97052
+ }
97053
+
97054
+
97055
+ // Send the request
97056
+ request.send(requestData || null);
94447
97057
  });
94448
- };
94449
- const removeCookie = (key, path = '/') => {
94450
- return api.remove(`${website["default"].key}-${key}`, {
94451
- path,
94452
- domain: window.location.hostname
97058
+ });
97059
+
97060
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/adapters/adapters.js
97061
+
97062
+
97063
+
97064
+
97065
+
97066
+ const knownAdapters = {
97067
+ http: helpers_null,
97068
+ xhr: xhr
97069
+ }
97070
+
97071
+ utils.forEach(knownAdapters, (fn, value) => {
97072
+ if (fn) {
97073
+ try {
97074
+ Object.defineProperty(fn, 'name', {value});
97075
+ } catch (e) {
97076
+ // eslint-disable-next-line no-empty
97077
+ }
97078
+ Object.defineProperty(fn, 'adapterName', {value});
97079
+ }
97080
+ });
97081
+
97082
+ const renderReason = (reason) => `- ${reason}`;
97083
+
97084
+ const isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;
97085
+
97086
+ /* harmony default export */ var adapters = ({
97087
+ getAdapter: (adapters) => {
97088
+ adapters = utils.isArray(adapters) ? adapters : [adapters];
97089
+
97090
+ const {length} = adapters;
97091
+ let nameOrAdapter;
97092
+ let adapter;
97093
+
97094
+ const rejectedReasons = {};
97095
+
97096
+ for (let i = 0; i < length; i++) {
97097
+ nameOrAdapter = adapters[i];
97098
+ let id;
97099
+
97100
+ adapter = nameOrAdapter;
97101
+
97102
+ if (!isResolvedHandle(nameOrAdapter)) {
97103
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
97104
+
97105
+ if (adapter === undefined) {
97106
+ throw new core_AxiosError(`Unknown adapter '${id}'`);
97107
+ }
97108
+ }
97109
+
97110
+ if (adapter) {
97111
+ break;
97112
+ }
97113
+
97114
+ rejectedReasons[id || '#' + i] = adapter;
97115
+ }
97116
+
97117
+ if (!adapter) {
97118
+
97119
+ const reasons = Object.entries(rejectedReasons)
97120
+ .map(([id, state]) => `adapter ${id} ` +
97121
+ (state === false ? 'is not supported by the environment' : 'is not available in the build')
97122
+ );
97123
+
97124
+ let s = length ?
97125
+ (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
97126
+ 'as no adapter specified';
97127
+
97128
+ throw new core_AxiosError(
97129
+ `There is no suitable adapter to dispatch the request ` + s,
97130
+ 'ERR_NOT_SUPPORT'
97131
+ );
97132
+ }
97133
+
97134
+ return adapter;
97135
+ },
97136
+ adapters: knownAdapters
97137
+ });
97138
+
97139
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/dispatchRequest.js
97140
+
97141
+
97142
+
97143
+
97144
+
97145
+
97146
+
97147
+
97148
+
97149
+ /**
97150
+ * Throws a `CanceledError` if cancellation has been requested.
97151
+ *
97152
+ * @param {Object} config The config that is to be used for the request
97153
+ *
97154
+ * @returns {void}
97155
+ */
97156
+ function throwIfCancellationRequested(config) {
97157
+ if (config.cancelToken) {
97158
+ config.cancelToken.throwIfRequested();
97159
+ }
97160
+
97161
+ if (config.signal && config.signal.aborted) {
97162
+ throw new cancel_CanceledError(null, config);
97163
+ }
97164
+ }
97165
+
97166
+ /**
97167
+ * Dispatch a request to the server using the configured adapter.
97168
+ *
97169
+ * @param {object} config The config that is to be used for the request
97170
+ *
97171
+ * @returns {Promise} The Promise to be fulfilled
97172
+ */
97173
+ function dispatchRequest(config) {
97174
+ throwIfCancellationRequested(config);
97175
+
97176
+ config.headers = core_AxiosHeaders.from(config.headers);
97177
+
97178
+ // Transform request data
97179
+ config.data = transformData.call(
97180
+ config,
97181
+ config.transformRequest
97182
+ );
97183
+
97184
+ if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
97185
+ config.headers.setContentType('application/x-www-form-urlencoded', false);
97186
+ }
97187
+
97188
+ const adapter = adapters.getAdapter(config.adapter || lib_defaults.adapter);
97189
+
97190
+ return adapter(config).then(function onAdapterResolution(response) {
97191
+ throwIfCancellationRequested(config);
97192
+
97193
+ // Transform response data
97194
+ response.data = transformData.call(
97195
+ config,
97196
+ config.transformResponse,
97197
+ response
97198
+ );
97199
+
97200
+ response.headers = core_AxiosHeaders.from(response.headers);
97201
+
97202
+ return response;
97203
+ }, function onAdapterRejection(reason) {
97204
+ if (!isCancel(reason)) {
97205
+ throwIfCancellationRequested(config);
97206
+
97207
+ // Transform response data
97208
+ if (reason && reason.response) {
97209
+ reason.response.data = transformData.call(
97210
+ config,
97211
+ config.transformResponse,
97212
+ reason.response
97213
+ );
97214
+ reason.response.headers = core_AxiosHeaders.from(reason.response.headers);
97215
+ }
97216
+ }
97217
+
97218
+ return Promise.reject(reason);
94453
97219
  });
97220
+ }
97221
+
97222
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/mergeConfig.js
97223
+
97224
+
97225
+
97226
+
97227
+
97228
+ const headersToObject = (thing) => thing instanceof core_AxiosHeaders ? { ...thing } : thing;
97229
+
97230
+ /**
97231
+ * Config-specific merge-function which creates a new config-object
97232
+ * by merging two configuration objects together.
97233
+ *
97234
+ * @param {Object} config1
97235
+ * @param {Object} config2
97236
+ *
97237
+ * @returns {Object} New object resulting from merging config2 to config1
97238
+ */
97239
+ function mergeConfig(config1, config2) {
97240
+ // eslint-disable-next-line no-param-reassign
97241
+ config2 = config2 || {};
97242
+ const config = {};
97243
+
97244
+ function getMergedValue(target, source, caseless) {
97245
+ if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
97246
+ return utils.merge.call({caseless}, target, source);
97247
+ } else if (utils.isPlainObject(source)) {
97248
+ return utils.merge({}, source);
97249
+ } else if (utils.isArray(source)) {
97250
+ return source.slice();
97251
+ }
97252
+ return source;
97253
+ }
97254
+
97255
+ // eslint-disable-next-line consistent-return
97256
+ function mergeDeepProperties(a, b, caseless) {
97257
+ if (!utils.isUndefined(b)) {
97258
+ return getMergedValue(a, b, caseless);
97259
+ } else if (!utils.isUndefined(a)) {
97260
+ return getMergedValue(undefined, a, caseless);
97261
+ }
97262
+ }
97263
+
97264
+ // eslint-disable-next-line consistent-return
97265
+ function valueFromConfig2(a, b) {
97266
+ if (!utils.isUndefined(b)) {
97267
+ return getMergedValue(undefined, b);
97268
+ }
97269
+ }
97270
+
97271
+ // eslint-disable-next-line consistent-return
97272
+ function defaultToConfig2(a, b) {
97273
+ if (!utils.isUndefined(b)) {
97274
+ return getMergedValue(undefined, b);
97275
+ } else if (!utils.isUndefined(a)) {
97276
+ return getMergedValue(undefined, a);
97277
+ }
97278
+ }
97279
+
97280
+ // eslint-disable-next-line consistent-return
97281
+ function mergeDirectKeys(a, b, prop) {
97282
+ if (prop in config2) {
97283
+ return getMergedValue(a, b);
97284
+ } else if (prop in config1) {
97285
+ return getMergedValue(undefined, a);
97286
+ }
97287
+ }
97288
+
97289
+ const mergeMap = {
97290
+ url: valueFromConfig2,
97291
+ method: valueFromConfig2,
97292
+ data: valueFromConfig2,
97293
+ baseURL: defaultToConfig2,
97294
+ transformRequest: defaultToConfig2,
97295
+ transformResponse: defaultToConfig2,
97296
+ paramsSerializer: defaultToConfig2,
97297
+ timeout: defaultToConfig2,
97298
+ timeoutMessage: defaultToConfig2,
97299
+ withCredentials: defaultToConfig2,
97300
+ withXSRFToken: defaultToConfig2,
97301
+ adapter: defaultToConfig2,
97302
+ responseType: defaultToConfig2,
97303
+ xsrfCookieName: defaultToConfig2,
97304
+ xsrfHeaderName: defaultToConfig2,
97305
+ onUploadProgress: defaultToConfig2,
97306
+ onDownloadProgress: defaultToConfig2,
97307
+ decompress: defaultToConfig2,
97308
+ maxContentLength: defaultToConfig2,
97309
+ maxBodyLength: defaultToConfig2,
97310
+ beforeRedirect: defaultToConfig2,
97311
+ transport: defaultToConfig2,
97312
+ httpAgent: defaultToConfig2,
97313
+ httpsAgent: defaultToConfig2,
97314
+ cancelToken: defaultToConfig2,
97315
+ socketPath: defaultToConfig2,
97316
+ responseEncoding: defaultToConfig2,
97317
+ validateStatus: mergeDirectKeys,
97318
+ headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
97319
+ };
97320
+
97321
+ utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
97322
+ const merge = mergeMap[prop] || mergeDeepProperties;
97323
+ const configValue = merge(config1[prop], config2[prop], prop);
97324
+ (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
97325
+ });
97326
+
97327
+ return config;
97328
+ }
97329
+
97330
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/env/data.js
97331
+ const VERSION = "1.6.8";
97332
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/validator.js
97333
+
97334
+
97335
+
97336
+
97337
+
97338
+ const validators = {};
97339
+
97340
+ // eslint-disable-next-line func-names
97341
+ ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {
97342
+ validators[type] = function validator(thing) {
97343
+ return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
97344
+ };
97345
+ });
97346
+
97347
+ const deprecatedWarnings = {};
97348
+
97349
+ /**
97350
+ * Transitional option validator
97351
+ *
97352
+ * @param {function|boolean?} validator - set to false if the transitional option has been removed
97353
+ * @param {string?} version - deprecated version / removed since version
97354
+ * @param {string?} message - some message with additional info
97355
+ *
97356
+ * @returns {function}
97357
+ */
97358
+ validators.transitional = function transitional(validator, version, message) {
97359
+ function formatMessage(opt, desc) {
97360
+ return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
97361
+ }
97362
+
97363
+ // eslint-disable-next-line func-names
97364
+ return (value, opt, opts) => {
97365
+ if (validator === false) {
97366
+ throw new core_AxiosError(
97367
+ formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
97368
+ core_AxiosError.ERR_DEPRECATED
97369
+ );
97370
+ }
97371
+
97372
+ if (version && !deprecatedWarnings[opt]) {
97373
+ deprecatedWarnings[opt] = true;
97374
+ // eslint-disable-next-line no-console
97375
+ console.warn(
97376
+ formatMessage(
97377
+ opt,
97378
+ ' has been deprecated since v' + version + ' and will be removed in the near future'
97379
+ )
97380
+ );
97381
+ }
97382
+
97383
+ return validator ? validator(value, opt, opts) : true;
97384
+ };
97385
+ };
97386
+
97387
+ /**
97388
+ * Assert object's properties type
97389
+ *
97390
+ * @param {object} options
97391
+ * @param {object} schema
97392
+ * @param {boolean?} allowUnknown
97393
+ *
97394
+ * @returns {object}
97395
+ */
97396
+
97397
+ function assertOptions(options, schema, allowUnknown) {
97398
+ if (typeof options !== 'object') {
97399
+ throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
97400
+ }
97401
+ const keys = Object.keys(options);
97402
+ let i = keys.length;
97403
+ while (i-- > 0) {
97404
+ const opt = keys[i];
97405
+ const validator = schema[opt];
97406
+ if (validator) {
97407
+ const value = options[opt];
97408
+ const result = value === undefined || validator(value, opt, options);
97409
+ if (result !== true) {
97410
+ throw new core_AxiosError('option ' + opt + ' must be ' + result, core_AxiosError.ERR_BAD_OPTION_VALUE);
97411
+ }
97412
+ continue;
97413
+ }
97414
+ if (allowUnknown !== true) {
97415
+ throw new core_AxiosError('Unknown option ' + opt, core_AxiosError.ERR_BAD_OPTION);
97416
+ }
97417
+ }
97418
+ }
97419
+
97420
+ /* harmony default export */ var validator = ({
97421
+ assertOptions,
97422
+ validators
97423
+ });
97424
+
97425
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/core/Axios.js
97426
+
97427
+
97428
+
97429
+
97430
+
97431
+
97432
+
97433
+
97434
+
97435
+
97436
+
97437
+ const Axios_validators = validator.validators;
97438
+
97439
+ /**
97440
+ * Create a new instance of Axios
97441
+ *
97442
+ * @param {Object} instanceConfig The default config for the instance
97443
+ *
97444
+ * @return {Axios} A new instance of Axios
97445
+ */
97446
+ class Axios {
97447
+ constructor(instanceConfig) {
97448
+ this.defaults = instanceConfig;
97449
+ this.interceptors = {
97450
+ request: new core_InterceptorManager(),
97451
+ response: new core_InterceptorManager()
97452
+ };
97453
+ }
97454
+
97455
+ /**
97456
+ * Dispatch a request
97457
+ *
97458
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
97459
+ * @param {?Object} config
97460
+ *
97461
+ * @returns {Promise} The Promise to be fulfilled
97462
+ */
97463
+ async request(configOrUrl, config) {
97464
+ try {
97465
+ return await this._request(configOrUrl, config);
97466
+ } catch (err) {
97467
+ if (err instanceof Error) {
97468
+ let dummy;
97469
+
97470
+ Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : (dummy = new Error());
97471
+
97472
+ // slice off the Error: ... line
97473
+ const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
97474
+
97475
+ if (!err.stack) {
97476
+ err.stack = stack;
97477
+ // match without the 2 top stack lines
97478
+ } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
97479
+ err.stack += '\n' + stack
97480
+ }
97481
+ }
97482
+
97483
+ throw err;
97484
+ }
97485
+ }
97486
+
97487
+ _request(configOrUrl, config) {
97488
+ /*eslint no-param-reassign:0*/
97489
+ // Allow for axios('example/url'[, config]) a la fetch API
97490
+ if (typeof configOrUrl === 'string') {
97491
+ config = config || {};
97492
+ config.url = configOrUrl;
97493
+ } else {
97494
+ config = configOrUrl || {};
97495
+ }
97496
+
97497
+ config = mergeConfig(this.defaults, config);
97498
+
97499
+ const {transitional, paramsSerializer, headers} = config;
97500
+
97501
+ if (transitional !== undefined) {
97502
+ validator.assertOptions(transitional, {
97503
+ silentJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
97504
+ forcedJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
97505
+ clarifyTimeoutError: Axios_validators.transitional(Axios_validators.boolean)
97506
+ }, false);
97507
+ }
97508
+
97509
+ if (paramsSerializer != null) {
97510
+ if (utils.isFunction(paramsSerializer)) {
97511
+ config.paramsSerializer = {
97512
+ serialize: paramsSerializer
97513
+ }
97514
+ } else {
97515
+ validator.assertOptions(paramsSerializer, {
97516
+ encode: Axios_validators.function,
97517
+ serialize: Axios_validators.function
97518
+ }, true);
97519
+ }
97520
+ }
97521
+
97522
+ // Set config.method
97523
+ config.method = (config.method || this.defaults.method || 'get').toLowerCase();
97524
+
97525
+ // Flatten headers
97526
+ let contextHeaders = headers && utils.merge(
97527
+ headers.common,
97528
+ headers[config.method]
97529
+ );
97530
+
97531
+ headers && utils.forEach(
97532
+ ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
97533
+ (method) => {
97534
+ delete headers[method];
97535
+ }
97536
+ );
97537
+
97538
+ config.headers = core_AxiosHeaders.concat(contextHeaders, headers);
97539
+
97540
+ // filter out skipped interceptors
97541
+ const requestInterceptorChain = [];
97542
+ let synchronousRequestInterceptors = true;
97543
+ this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
97544
+ if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
97545
+ return;
97546
+ }
97547
+
97548
+ synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
97549
+
97550
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
97551
+ });
97552
+
97553
+ const responseInterceptorChain = [];
97554
+ this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
97555
+ responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
97556
+ });
97557
+
97558
+ let promise;
97559
+ let i = 0;
97560
+ let len;
97561
+
97562
+ if (!synchronousRequestInterceptors) {
97563
+ const chain = [dispatchRequest.bind(this), undefined];
97564
+ chain.unshift.apply(chain, requestInterceptorChain);
97565
+ chain.push.apply(chain, responseInterceptorChain);
97566
+ len = chain.length;
97567
+
97568
+ promise = Promise.resolve(config);
97569
+
97570
+ while (i < len) {
97571
+ promise = promise.then(chain[i++], chain[i++]);
97572
+ }
97573
+
97574
+ return promise;
97575
+ }
97576
+
97577
+ len = requestInterceptorChain.length;
97578
+
97579
+ let newConfig = config;
97580
+
97581
+ i = 0;
97582
+
97583
+ while (i < len) {
97584
+ const onFulfilled = requestInterceptorChain[i++];
97585
+ const onRejected = requestInterceptorChain[i++];
97586
+ try {
97587
+ newConfig = onFulfilled(newConfig);
97588
+ } catch (error) {
97589
+ onRejected.call(this, error);
97590
+ break;
97591
+ }
97592
+ }
97593
+
97594
+ try {
97595
+ promise = dispatchRequest.call(this, newConfig);
97596
+ } catch (error) {
97597
+ return Promise.reject(error);
97598
+ }
97599
+
97600
+ i = 0;
97601
+ len = responseInterceptorChain.length;
97602
+
97603
+ while (i < len) {
97604
+ promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
97605
+ }
97606
+
97607
+ return promise;
97608
+ }
97609
+
97610
+ getUri(config) {
97611
+ config = mergeConfig(this.defaults, config);
97612
+ const fullPath = buildFullPath(config.baseURL, config.url);
97613
+ return buildURL(fullPath, config.params, config.paramsSerializer);
97614
+ }
97615
+ }
97616
+
97617
+ // Provide aliases for supported request methods
97618
+ utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
97619
+ /*eslint func-names:0*/
97620
+ Axios.prototype[method] = function(url, config) {
97621
+ return this.request(mergeConfig(config || {}, {
97622
+ method,
97623
+ url,
97624
+ data: (config || {}).data
97625
+ }));
97626
+ };
97627
+ });
97628
+
97629
+ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
97630
+ /*eslint func-names:0*/
97631
+
97632
+ function generateHTTPMethod(isForm) {
97633
+ return function httpMethod(url, data, config) {
97634
+ return this.request(mergeConfig(config || {}, {
97635
+ method,
97636
+ headers: isForm ? {
97637
+ 'Content-Type': 'multipart/form-data'
97638
+ } : {},
97639
+ url,
97640
+ data
97641
+ }));
97642
+ };
97643
+ }
97644
+
97645
+ Axios.prototype[method] = generateHTTPMethod();
97646
+
97647
+ Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
97648
+ });
97649
+
97650
+ /* harmony default export */ var core_Axios = (Axios);
97651
+
97652
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/cancel/CancelToken.js
97653
+
97654
+
97655
+
97656
+
97657
+ /**
97658
+ * A `CancelToken` is an object that can be used to request cancellation of an operation.
97659
+ *
97660
+ * @param {Function} executor The executor function.
97661
+ *
97662
+ * @returns {CancelToken}
97663
+ */
97664
+ class CancelToken {
97665
+ constructor(executor) {
97666
+ if (typeof executor !== 'function') {
97667
+ throw new TypeError('executor must be a function.');
97668
+ }
97669
+
97670
+ let resolvePromise;
97671
+
97672
+ this.promise = new Promise(function promiseExecutor(resolve) {
97673
+ resolvePromise = resolve;
97674
+ });
97675
+
97676
+ const token = this;
97677
+
97678
+ // eslint-disable-next-line func-names
97679
+ this.promise.then(cancel => {
97680
+ if (!token._listeners) return;
97681
+
97682
+ let i = token._listeners.length;
97683
+
97684
+ while (i-- > 0) {
97685
+ token._listeners[i](cancel);
97686
+ }
97687
+ token._listeners = null;
97688
+ });
97689
+
97690
+ // eslint-disable-next-line func-names
97691
+ this.promise.then = onfulfilled => {
97692
+ let _resolve;
97693
+ // eslint-disable-next-line func-names
97694
+ const promise = new Promise(resolve => {
97695
+ token.subscribe(resolve);
97696
+ _resolve = resolve;
97697
+ }).then(onfulfilled);
97698
+
97699
+ promise.cancel = function reject() {
97700
+ token.unsubscribe(_resolve);
97701
+ };
97702
+
97703
+ return promise;
97704
+ };
97705
+
97706
+ executor(function cancel(message, config, request) {
97707
+ if (token.reason) {
97708
+ // Cancellation has already been requested
97709
+ return;
97710
+ }
97711
+
97712
+ token.reason = new cancel_CanceledError(message, config, request);
97713
+ resolvePromise(token.reason);
97714
+ });
97715
+ }
97716
+
97717
+ /**
97718
+ * Throws a `CanceledError` if cancellation has been requested.
97719
+ */
97720
+ throwIfRequested() {
97721
+ if (this.reason) {
97722
+ throw this.reason;
97723
+ }
97724
+ }
97725
+
97726
+ /**
97727
+ * Subscribe to the cancel signal
97728
+ */
97729
+
97730
+ subscribe(listener) {
97731
+ if (this.reason) {
97732
+ listener(this.reason);
97733
+ return;
97734
+ }
97735
+
97736
+ if (this._listeners) {
97737
+ this._listeners.push(listener);
97738
+ } else {
97739
+ this._listeners = [listener];
97740
+ }
97741
+ }
97742
+
97743
+ /**
97744
+ * Unsubscribe from the cancel signal
97745
+ */
97746
+
97747
+ unsubscribe(listener) {
97748
+ if (!this._listeners) {
97749
+ return;
97750
+ }
97751
+ const index = this._listeners.indexOf(listener);
97752
+ if (index !== -1) {
97753
+ this._listeners.splice(index, 1);
97754
+ }
97755
+ }
97756
+
97757
+ /**
97758
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
97759
+ * cancels the `CancelToken`.
97760
+ */
97761
+ static source() {
97762
+ let cancel;
97763
+ const token = new CancelToken(function executor(c) {
97764
+ cancel = c;
97765
+ });
97766
+ return {
97767
+ token,
97768
+ cancel
97769
+ };
97770
+ }
97771
+ }
97772
+
97773
+ /* harmony default export */ var cancel_CancelToken = (CancelToken);
97774
+
97775
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/spread.js
97776
+
97777
+
97778
+ /**
97779
+ * Syntactic sugar for invoking a function and expanding an array for arguments.
97780
+ *
97781
+ * Common use case would be to use `Function.prototype.apply`.
97782
+ *
97783
+ * ```js
97784
+ * function f(x, y, z) {}
97785
+ * var args = [1, 2, 3];
97786
+ * f.apply(null, args);
97787
+ * ```
97788
+ *
97789
+ * With `spread` this example can be re-written.
97790
+ *
97791
+ * ```js
97792
+ * spread(function(x, y, z) {})([1, 2, 3]);
97793
+ * ```
97794
+ *
97795
+ * @param {Function} callback
97796
+ *
97797
+ * @returns {Function}
97798
+ */
97799
+ function spread(callback) {
97800
+ return function wrap(arr) {
97801
+ return callback.apply(null, arr);
97802
+ };
97803
+ }
97804
+
97805
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/isAxiosError.js
97806
+
97807
+
97808
+
97809
+
97810
+ /**
97811
+ * Determines whether the payload is an error thrown by Axios
97812
+ *
97813
+ * @param {*} payload The value to test
97814
+ *
97815
+ * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
97816
+ */
97817
+ function isAxiosError(payload) {
97818
+ return utils.isObject(payload) && (payload.isAxiosError === true);
97819
+ }
97820
+
97821
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/HttpStatusCode.js
97822
+ const HttpStatusCode = {
97823
+ Continue: 100,
97824
+ SwitchingProtocols: 101,
97825
+ Processing: 102,
97826
+ EarlyHints: 103,
97827
+ Ok: 200,
97828
+ Created: 201,
97829
+ Accepted: 202,
97830
+ NonAuthoritativeInformation: 203,
97831
+ NoContent: 204,
97832
+ ResetContent: 205,
97833
+ PartialContent: 206,
97834
+ MultiStatus: 207,
97835
+ AlreadyReported: 208,
97836
+ ImUsed: 226,
97837
+ MultipleChoices: 300,
97838
+ MovedPermanently: 301,
97839
+ Found: 302,
97840
+ SeeOther: 303,
97841
+ NotModified: 304,
97842
+ UseProxy: 305,
97843
+ Unused: 306,
97844
+ TemporaryRedirect: 307,
97845
+ PermanentRedirect: 308,
97846
+ BadRequest: 400,
97847
+ Unauthorized: 401,
97848
+ PaymentRequired: 402,
97849
+ Forbidden: 403,
97850
+ NotFound: 404,
97851
+ MethodNotAllowed: 405,
97852
+ NotAcceptable: 406,
97853
+ ProxyAuthenticationRequired: 407,
97854
+ RequestTimeout: 408,
97855
+ Conflict: 409,
97856
+ Gone: 410,
97857
+ LengthRequired: 411,
97858
+ PreconditionFailed: 412,
97859
+ PayloadTooLarge: 413,
97860
+ UriTooLong: 414,
97861
+ UnsupportedMediaType: 415,
97862
+ RangeNotSatisfiable: 416,
97863
+ ExpectationFailed: 417,
97864
+ ImATeapot: 418,
97865
+ MisdirectedRequest: 421,
97866
+ UnprocessableEntity: 422,
97867
+ Locked: 423,
97868
+ FailedDependency: 424,
97869
+ TooEarly: 425,
97870
+ UpgradeRequired: 426,
97871
+ PreconditionRequired: 428,
97872
+ TooManyRequests: 429,
97873
+ RequestHeaderFieldsTooLarge: 431,
97874
+ UnavailableForLegalReasons: 451,
97875
+ InternalServerError: 500,
97876
+ NotImplemented: 501,
97877
+ BadGateway: 502,
97878
+ ServiceUnavailable: 503,
97879
+ GatewayTimeout: 504,
97880
+ HttpVersionNotSupported: 505,
97881
+ VariantAlsoNegotiates: 506,
97882
+ InsufficientStorage: 507,
97883
+ LoopDetected: 508,
97884
+ NotExtended: 510,
97885
+ NetworkAuthenticationRequired: 511,
97886
+ };
97887
+
97888
+ Object.entries(HttpStatusCode).forEach(([key, value]) => {
97889
+ HttpStatusCode[value] = key;
97890
+ });
97891
+
97892
+ /* harmony default export */ var helpers_HttpStatusCode = (HttpStatusCode);
97893
+
97894
+ ;// CONCATENATED MODULE: ./node_modules/axios/lib/axios.js
97895
+
97896
+
97897
+
97898
+
97899
+
97900
+
97901
+
97902
+
97903
+
97904
+
97905
+
97906
+
97907
+
97908
+
97909
+
97910
+
97911
+
97912
+
97913
+
97914
+
97915
+ /**
97916
+ * Create an instance of Axios
97917
+ *
97918
+ * @param {Object} defaultConfig The default config for the instance
97919
+ *
97920
+ * @returns {Axios} A new instance of Axios
97921
+ */
97922
+ function createInstance(defaultConfig) {
97923
+ const context = new core_Axios(defaultConfig);
97924
+ const instance = bind(core_Axios.prototype.request, context);
97925
+
97926
+ // Copy axios.prototype to instance
97927
+ utils.extend(instance, core_Axios.prototype, context, {allOwnKeys: true});
97928
+
97929
+ // Copy context to instance
97930
+ utils.extend(instance, context, null, {allOwnKeys: true});
97931
+
97932
+ // Factory for creating new instances
97933
+ instance.create = function create(instanceConfig) {
97934
+ return createInstance(mergeConfig(defaultConfig, instanceConfig));
97935
+ };
97936
+
97937
+ return instance;
97938
+ }
97939
+
97940
+ // Create the default instance to be exported
97941
+ const axios = createInstance(lib_defaults);
97942
+
97943
+ // Expose Axios class to allow class inheritance
97944
+ axios.Axios = core_Axios;
97945
+
97946
+ // Expose Cancel & CancelToken
97947
+ axios.CanceledError = cancel_CanceledError;
97948
+ axios.CancelToken = cancel_CancelToken;
97949
+ axios.isCancel = isCancel;
97950
+ axios.VERSION = VERSION;
97951
+ axios.toFormData = helpers_toFormData;
97952
+
97953
+ // Expose AxiosError class
97954
+ axios.AxiosError = core_AxiosError;
97955
+
97956
+ // alias for CanceledError for backward compatibility
97957
+ axios.Cancel = axios.CanceledError;
97958
+
97959
+ // Expose all/spread
97960
+ axios.all = function all(promises) {
97961
+ return Promise.all(promises);
94454
97962
  };
94455
97963
 
97964
+ axios.spread = spread;
97965
+
97966
+ // Expose isAxiosError
97967
+ axios.isAxiosError = isAxiosError;
97968
+
97969
+ // Expose mergeConfig
97970
+ axios.mergeConfig = mergeConfig;
97971
+
97972
+ axios.AxiosHeaders = core_AxiosHeaders;
97973
+
97974
+ axios.formToJSON = thing => helpers_formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
97975
+
97976
+ axios.getAdapter = adapters.getAdapter;
97977
+
97978
+ axios.HttpStatusCode = helpers_HttpStatusCode;
97979
+
97980
+ axios.default = axios;
97981
+
97982
+ // this module should only have a default export
97983
+ /* harmony default export */ var lib_axios = (axios);
97984
+
97985
+ // EXTERNAL MODULE: ./node_modules/element-ui/lib/element-ui.common.js
97986
+ var element_ui_common = __webpack_require__(8671);
97987
+ // EXTERNAL MODULE: ./packages/common/modules/cookie.js + 1 modules
97988
+ var cookie = __webpack_require__(71099);
97989
+ ;// CONCATENATED MODULE: ./packages/common/modules/request.js
97990
+
97991
+
97992
+
97993
+ class Request {
97994
+ constructor(config = {}) {
97995
+ const {
97996
+ options = {},
97997
+ handler = {}
97998
+ } = config;
97999
+ this.request = null;
98000
+ this._errorCode = {
98001
+ '000': '操作太频繁,请勿重复请求',
98002
+ '401': '当前操作没有权限',
98003
+ '403': '当前操作没有权限',
98004
+ '404': '接口不存在',
98005
+ '417': '未绑定登录账号,请使用密码登录后绑定',
98006
+ '423': '演示环境不能操作,如需了解联系我们',
98007
+ '426': '用户名不存在或密码错误',
98008
+ '428': '验证码错误,请重新输入',
98009
+ '429': '请求过频繁',
98010
+ '479': '演示环境,没有权限操作',
98011
+ 'default': '系统未知错误,请反馈给管理员'
98012
+ };
98013
+ this._methods = ['get', 'post', 'delete', 'put'];
98014
+ this.handler = Object.assign({}, handler);
98015
+ this.options = Object.assign({}, {
98016
+ baseURL: '/bytserver',
98017
+ responseType: 'json',
98018
+ timeout: 60000,
98019
+ withCredentials: false
98020
+ }, options);
98021
+ // 注册fetch;
98022
+ this.register();
98023
+ }
98024
+ interceptors() {
98025
+ // HTTPrequest拦截
98026
+ this.request.interceptors.request.use(config => {
98027
+ const TENANT_ID = (0,cookie.getCookie)('tenantId');
98028
+ const isToken = (config.headers || {}).isToken === false;
98029
+ const token = (0,cookie.getCookie)('access_token');
98030
+ if (token && !isToken) {
98031
+ config.headers['Authorization'] = `Bearer ${token}`; // token
98032
+ }
98033
+ if (TENANT_ID) {
98034
+ config.headers['TENANT-ID'] = TENANT_ID; // 租户ID
98035
+ }
98036
+ return config;
98037
+ }, error => {
98038
+ return Promise.reject(error);
98039
+ });
98040
+
98041
+ // HTTPresponse拦截
98042
+ this.request.interceptors.response.use(res => {
98043
+ const status = Number(res.status) || 200;
98044
+ const message = res.data.msg || this._errorCode[status] || this._errorCode['default'];
98045
+ switch (status * 1) {
98046
+ case 200:
98047
+ if (res.data.code === 1) {
98048
+ element_ui_common.Message.error(message);
98049
+ this.handler.error && this.handler.error(res.data);
98050
+ return Promise.reject(res.data);
98051
+ }
98052
+ this.handler.success && this.handler.success(res.data);
98053
+ return res.data;
98054
+ case 424:
98055
+ case 428:
98056
+ // 后台定义 424||428 针对令牌过期的特殊响应码
98057
+ this.handler.expire && this.handler.expire(res.data);
98058
+ break;
98059
+ default:
98060
+ element_ui_common.Message.error(message);
98061
+ this.handler.error && this.handler.error(res.data);
98062
+ return Promise.reject(message);
98063
+ }
98064
+ }, error => {
98065
+ if (error.response) {
98066
+ const status = error.response.status;
98067
+ switch (status) {
98068
+ case 404:
98069
+ element_ui_common.Message.error(this._errorCode[status]);
98070
+ break;
98071
+ case 503:
98072
+ element_ui_common.Message.error(error.response.data.msg);
98073
+ break;
98074
+ }
98075
+ this.error && this.error(error.response);
98076
+ }
98077
+ return Promise.reject(new Error(error));
98078
+ });
98079
+ }
98080
+ setMethods() {
98081
+ this._methods.forEach(v => {
98082
+ this.request[v] = ({
98083
+ url,
98084
+ data = {},
98085
+ params = {},
98086
+ responseType = 'json',
98087
+ headers = {},
98088
+ retry = 0
98089
+ }) => {
98090
+ return new Promise((resolve, reject) => {
98091
+ this.request({
98092
+ url,
98093
+ method: v.toUpperCase(),
98094
+ data,
98095
+ params,
98096
+ responseType,
98097
+ headers
98098
+ }).then(res => {
98099
+ if (!res.code || res.code === 0 || responseType == 'arraybuffer' || responseType == 'blob') {
98100
+ resolve(res);
98101
+ } else {
98102
+ element_ui_common.Message.error(res.msg);
98103
+ reject(res);
98104
+ }
98105
+ }).catch(err => {
98106
+ // 重试请求
98107
+ reject(err);
98108
+ if (retry > 0) {
98109
+ this.request[v]({
98110
+ url,
98111
+ data,
98112
+ params,
98113
+ responseType,
98114
+ headers,
98115
+ retry: retry - 1
98116
+ });
98117
+ }
98118
+ });
98119
+ });
98120
+ };
98121
+ });
98122
+ }
98123
+ register() {
98124
+ this.request = lib_axios.create(this.options);
98125
+
98126
+ // 添加拦截器
98127
+ this.interceptors();
98128
+
98129
+ // 覆盖自定义方法
98130
+ this.setMethods();
98131
+ }
98132
+ }
98133
+ const {
98134
+ request
98135
+ } = new Request();
98136
+ /* harmony default export */ var modules_request = ({
98137
+ install(Vue, options = {}) {
98138
+ const {
98139
+ request
98140
+ } = new Request(Object.assign({}, options));
98141
+ Vue.prototype.$http = request;
98142
+ }
98143
+ });
98144
+
94456
98145
  /***/ }),
94457
98146
 
94458
98147
  /***/ 17182:
@@ -97650,7 +101339,7 @@ function generatePropagationContext() {
97650
101339
  //# sourceMappingURL=scope.js.map
97651
101340
 
97652
101341
  ;// CONCATENATED MODULE: ./node_modules/@sentry/core/esm/version.js
97653
- const SDK_VERSION = '7.110.1';
101342
+ const SDK_VERSION = '7.111.0';
97654
101343
 
97655
101344
 
97656
101345
  //# sourceMappingURL=version.js.map
@@ -102534,7 +106223,9 @@ const common_debug_build_DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined'
102534
106223
  ;// CONCATENATED MODULE: ./node_modules/@sentry-internal/tracing/esm/browser/types.js
102535
106224
 
102536
106225
 
102537
- const types_WINDOW = GLOBAL_OBJ ;
106226
+ const types_WINDOW = GLOBAL_OBJ
106227
+
106228
+ ;
102538
106229
 
102539
106230
 
102540
106231
  //# sourceMappingURL=types.js.map
@@ -102550,7 +106241,7 @@ const types_WINDOW = GLOBAL_OBJ ;
102550
106241
  * document is hidden.
102551
106242
  */
102552
106243
  function registerBackgroundTabDetection() {
102553
- if (types_WINDOW && types_WINDOW.document) {
106244
+ if (types_WINDOW.document) {
102554
106245
  types_WINDOW.document.addEventListener('visibilitychange', () => {
102555
106246
  // eslint-disable-next-line deprecation/deprecation
102556
106247
  const activeTransaction = getActiveTransaction() ;
@@ -102748,7 +106439,7 @@ const initMetric = (name, value) => {
102748
106439
  let navigationType = 'navigate';
102749
106440
 
102750
106441
  if (navEntry) {
102751
- if (types_WINDOW.document.prerendering || getActivationStart() > 0) {
106442
+ if ((types_WINDOW.document && types_WINDOW.document.prerendering) || getActivationStart() > 0) {
102752
106443
  navigationType = 'prerender';
102753
106444
  } else {
102754
106445
  navigationType = navEntry.type.replace(/_/g, '-') ;
@@ -102837,10 +106528,13 @@ const onHidden = (cb, once) => {
102837
106528
  }
102838
106529
  }
102839
106530
  };
102840
- addEventListener('visibilitychange', onHiddenOrPageHide, true);
102841
- // Some browsers have buggy implementations of visibilitychange,
102842
- // so we use pagehide in addition, just to be safe.
102843
- addEventListener('pagehide', onHiddenOrPageHide, true);
106531
+
106532
+ if (types_WINDOW.document) {
106533
+ addEventListener('visibilitychange', onHiddenOrPageHide, true);
106534
+ // Some browsers have buggy implementations of visibilitychange,
106535
+ // so we use pagehide in addition, just to be safe.
106536
+ addEventListener('pagehide', onHiddenOrPageHide, true);
106537
+ }
102844
106538
  };
102845
106539
 
102846
106540
 
@@ -102978,7 +106672,9 @@ let firstHiddenTime = -1;
102978
106672
  const initHiddenTime = () => {
102979
106673
  // If the document is hidden and not prerendering, assume it was always
102980
106674
  // hidden and the page was loaded in the background.
102981
- return types_WINDOW.document.visibilityState === 'hidden' && !types_WINDOW.document.prerendering ? 0 : Infinity;
106675
+ if (types_WINDOW.document && types_WINDOW.document.visibilityState) {
106676
+ firstHiddenTime = types_WINDOW.document.visibilityState === 'hidden' && !types_WINDOW.document.prerendering ? 0 : Infinity;
106677
+ }
102982
106678
  };
102983
106679
 
102984
106680
  const trackChanges = () => {
@@ -102996,7 +106692,7 @@ const getVisibilityWatcher = (
102996
106692
  // since navigation start. This isn't a perfect heuristic, but it's the
102997
106693
  // best we can do until an API is available to support querying past
102998
106694
  // visibilityState.
102999
- firstHiddenTime = initHiddenTime();
106695
+ initHiddenTime();
103000
106696
  trackChanges();
103001
106697
  }
103002
106698
  return {
@@ -103338,6 +107034,7 @@ const onINP = (onReport, opts) => {
103338
107034
 
103339
107035
 
103340
107036
 
107037
+
103341
107038
  /*
103342
107039
  * Copyright 2020 Google LLC
103343
107040
  *
@@ -103403,7 +107100,9 @@ const onLCP = (onReport) => {
103403
107100
  // stop LCP observation, it's unreliable since it can be programmatically
103404
107101
  // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75
103405
107102
  ['keydown', 'click'].forEach(type => {
103406
- addEventListener(type, stopListening, { once: true, capture: true });
107103
+ if (types_WINDOW.document) {
107104
+ addEventListener(type, stopListening, { once: true, capture: true });
107105
+ }
103407
107106
  });
103408
107107
 
103409
107108
  onHidden(stopListening, true);
@@ -105450,23 +109149,7 @@ function instrumentFetchRequest(
105450
109149
 
105451
109150
  const span = spans[spanId];
105452
109151
  if (span) {
105453
- if (handlerData.response) {
105454
- setHttpStatus(span, handlerData.response.status);
105455
-
105456
- const contentLength =
105457
- handlerData.response && handlerData.response.headers && handlerData.response.headers.get('content-length');
105458
-
105459
- if (contentLength) {
105460
- const contentLengthNum = parseInt(contentLength);
105461
- if (contentLengthNum > 0) {
105462
- span.setAttribute('http.response_content_length', contentLengthNum);
105463
- }
105464
- }
105465
- } else if (handlerData.error) {
105466
- span.setStatus('internal_error');
105467
- }
105468
- span.end();
105469
-
109152
+ endSpan(span, handlerData);
105470
109153
  // eslint-disable-next-line @typescript-eslint/no-dynamic-delete
105471
109154
  delete spans[spanId];
105472
109155
  }
@@ -105478,6 +109161,9 @@ function instrumentFetchRequest(
105478
109161
 
105479
109162
  const { method, url } = handlerData.fetchData;
105480
109163
 
109164
+ const fullUrl = getFullURL(url);
109165
+ const host = fullUrl ? parseUrl(fullUrl).host : undefined;
109166
+
105481
109167
  const span = shouldCreateSpanResult
105482
109168
  ? startInactiveSpan({
105483
109169
  name: `${method} ${url}`,
@@ -105486,6 +109172,8 @@ function instrumentFetchRequest(
105486
109172
  url,
105487
109173
  type: 'fetch',
105488
109174
  'http.method': method,
109175
+ 'http.url': fullUrl,
109176
+ 'server.address': host,
105489
109177
  [semanticAttributes_SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: spanOrigin,
105490
109178
  },
105491
109179
  op: 'http.client',
@@ -105592,6 +109280,34 @@ function addTracingHeadersToFetchRequest(
105592
109280
  }
105593
109281
  }
105594
109282
 
109283
+ function getFullURL(url) {
109284
+ try {
109285
+ const parsed = new URL(url);
109286
+ return parsed.href;
109287
+ } catch (e) {
109288
+ return undefined;
109289
+ }
109290
+ }
109291
+
109292
+ function endSpan(span, handlerData) {
109293
+ if (handlerData.response) {
109294
+ setHttpStatus(span, handlerData.response.status);
109295
+
109296
+ const contentLength =
109297
+ handlerData.response && handlerData.response.headers && handlerData.response.headers.get('content-length');
109298
+
109299
+ if (contentLength) {
109300
+ const contentLengthNum = parseInt(contentLength);
109301
+ if (contentLengthNum > 0) {
109302
+ span.setAttribute('http.response_content_length', contentLengthNum);
109303
+ }
109304
+ }
109305
+ } else if (handlerData.error) {
109306
+ span.setStatus('internal_error');
109307
+ }
109308
+ span.end();
109309
+ }
109310
+
105595
109311
 
105596
109312
  //# sourceMappingURL=fetch.js.map
105597
109313
 
@@ -105601,6 +109317,7 @@ function addTracingHeadersToFetchRequest(
105601
109317
 
105602
109318
 
105603
109319
 
109320
+
105604
109321
  /* eslint-disable max-lines */
105605
109322
 
105606
109323
  const DEFAULT_TRACE_PROPAGATION_TARGETS = ['localhost', /^\/(?!\/)/];
@@ -105647,6 +109364,18 @@ function instrumentOutgoingRequests(_options) {
105647
109364
  if (traceFetch) {
105648
109365
  addFetchInstrumentationHandler(handlerData => {
105649
109366
  const createdSpan = instrumentFetchRequest(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);
109367
+ // We cannot use `window.location` in the generic fetch instrumentation,
109368
+ // but we need it for reliable `server.address` attribute.
109369
+ // so we extend this in here
109370
+ if (createdSpan) {
109371
+ const fullUrl = request_getFullURL(handlerData.fetchData.url);
109372
+ const host = fullUrl ? parseUrl(fullUrl).host : undefined;
109373
+ createdSpan.setAttributes({
109374
+ 'http.url': fullUrl,
109375
+ 'server.address': host,
109376
+ });
109377
+ }
109378
+
105650
109379
  if (enableHTTPTimings && createdSpan) {
105651
109380
  addHTTPTimings(createdSpan);
105652
109381
  }
@@ -105807,6 +109536,9 @@ function xhrCallback(
105807
109536
  const scope = exports_getCurrentScope();
105808
109537
  const isolationScope = hub_getIsolationScope();
105809
109538
 
109539
+ const fullUrl = request_getFullURL(sentryXhrData.url);
109540
+ const host = fullUrl ? parseUrl(fullUrl).host : undefined;
109541
+
105810
109542
  const span = shouldCreateSpanResult
105811
109543
  ? startInactiveSpan({
105812
109544
  name: `${sentryXhrData.method} ${sentryXhrData.url}`,
@@ -105814,7 +109546,9 @@ function xhrCallback(
105814
109546
  attributes: {
105815
109547
  type: 'xhr',
105816
109548
  'http.method': sentryXhrData.method,
109549
+ 'http.url': fullUrl,
105817
109550
  url: sentryXhrData.url,
109551
+ 'server.address': host,
105818
109552
  [semanticAttributes_SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser',
105819
109553
  },
105820
109554
  op: 'http.client',
@@ -105867,6 +109601,17 @@ function setHeaderOnXhr(
105867
109601
  }
105868
109602
  }
105869
109603
 
109604
+ function request_getFullURL(url) {
109605
+ try {
109606
+ // By adding a base URL to new URL(), this will also work for relative urls
109607
+ // If `url` is a full URL, the base URL is ignored anyhow
109608
+ const parsed = new URL(url, types_WINDOW.location.origin);
109609
+ return parsed.href;
109610
+ } catch (e) {
109611
+ return undefined;
109612
+ }
109613
+ }
109614
+
105870
109615
 
105871
109616
  //# sourceMappingURL=request.js.map
105872
109617
 
@@ -106264,7 +110009,9 @@ function registerInteractionListener(
106264
110009
  };
106265
110010
 
106266
110011
  ['click'].forEach(type => {
106267
- addEventListener(type, registerInteractionTransaction, { once: false, capture: true });
110012
+ if (types_WINDOW.document) {
110013
+ addEventListener(type, registerInteractionTransaction, { once: false, capture: true });
110014
+ }
106268
110015
  });
106269
110016
  }
106270
110017
 
@@ -158233,7 +161980,7 @@ var staticWindow = __webpack_require__(90662)
158233
161980
  * @return {Boolean}
158234
161981
  */
158235
161982
  function isWindow (obj) {
158236
- return staticWindow && !!(obj && obj === obj.window)
161983
+ return !!(staticWindow && !!(obj && obj === obj.window))
158237
161984
  }
158238
161985
 
158239
161986
  module.exports = isWindow
@@ -161081,6 +164828,7 @@ module.exports = zipObject
161081
164828
 
161082
164829
  var map = {
161083
164830
  "./cookie.js": 71099,
164831
+ "./request.js": 16325,
161084
164832
  "./sentry.js": 17182,
161085
164833
  "./store.js": 67745,
161086
164834
  "./validate.js": 32368,
@@ -164223,7 +167971,7 @@ const components = [basic_view, form_view, message_push_target, MessageOne];
164223
167971
  * @Description:
164224
167972
  * @Author: 王国火
164225
167973
  * @Date: 2022-09-19 10:17:14
164226
- * @LastEditTime: 2024-04-18 16:26:34
167974
+ * @LastEditTime: 2024-04-22 12:56:46
164227
167975
  * @LastEditors: 王国火
164228
167976
  */
164229
167977
  // 动态引入
@@ -164232,11 +167980,16 @@ const requireContext = __webpack_require__(79513);
164232
167980
  requireContext.keys().map(key => {
164233
167981
  const reg = /\w+/;
164234
167982
  const k = key.match(reg)[0];
164235
- if (requireContext(key).default) {
164236
- conmmon[k] = requireContext(key).default;
164237
- } else {
164238
- conmmon = Object.assign(conmmon, requireContext(key));
167983
+ const cnt = requireContext(key);
167984
+ if (!cnt) return;
167985
+ const conf = {
167986
+ ...cnt
167987
+ };
167988
+ if (conf.default) {
167989
+ conmmon[k] = conf.default;
167990
+ delete conf.default;
164239
167991
  }
167992
+ conmmon = Object.assign(conmmon, cnt);
164240
167993
  });
164241
167994
  /* harmony default export */ var common = (conmmon);
164242
167995
  // EXTERNAL MODULE: ./node_modules/xe-utils/index.js