clientnode 4.0.1436 → 4.0.1438
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Lock.js +83 -94
- package/dist/Logger.js +163 -715
- package/dist/Semaphore.js +46 -81
- package/dist/array.js +337 -568
- package/dist/cli.js +37 -71
- package/dist/constants.js +110 -209
- package/dist/context.js +25 -229
- package/dist/cookie.js +48 -226
- package/dist/data-transfer.js +166 -725
- package/dist/datetime.js +241 -1059
- package/dist/domNode.js +277 -441
- package/dist/expression/evaluators.js +234 -1112
- package/dist/expression/helper.js +82 -135
- package/dist/expression/index.js +10 -1245
- package/dist/expression/indicator-functions.js +21 -239
- package/dist/expression/type.js +4 -34
- package/dist/filesystem.js +323 -309
- package/dist/function.js +51 -125
- package/dist/index.js +26 -2709
- package/dist/indicators.js +68 -440
- package/dist/module.js +98 -163
- package/dist/number.js +25 -423
- package/dist/object.js +774 -852
- package/dist/process.js +38 -245
- package/dist/property-types.js +96 -157
- package/dist/scope.js +56 -1825
- package/dist/string.js +603 -909
- package/dist/test-helper.js +171 -541
- package/dist/type.js +8 -37
- package/dist/utility.js +91 -336
- package/package.json +9 -10
- package/dist/Lock.d.ts +0 -39
- package/dist/Logger.d.ts +0 -102
- package/dist/Semaphore.d.ts +0 -29
- package/dist/array.d.ts +0 -150
- package/dist/bundle/Lock.js +0 -111
- package/dist/bundle/Logger.js +0 -705
- package/dist/bundle/Semaphore.js +0 -100
- package/dist/bundle/array.js +0 -648
- package/dist/bundle/cli.js +0 -85
- package/dist/bundle/constants.js +0 -225
- package/dist/bundle/context.js +0 -243
- package/dist/bundle/cookie.js +0 -262
- package/dist/bundle/data-transfer.js +0 -741
- package/dist/bundle/datetime.js +0 -1064
- package/dist/bundle/domNode.js +0 -471
- package/dist/bundle/expression/evaluators.js +0 -1115
- package/dist/bundle/expression/helper.js +0 -106
- package/dist/bundle/expression/index.js +0 -1223
- package/dist/bundle/expression/indicator-functions.js +0 -235
- package/dist/bundle/expression/type.js +0 -50
- package/dist/bundle/filesystem.js +0 -374
- package/dist/bundle/function.js +0 -105
- package/dist/bundle/index.js +0 -2686
- package/dist/bundle/indicators.js +0 -459
- package/dist/bundle/module.js +0 -180
- package/dist/bundle/number.js +0 -425
- package/dist/bundle/object.js +0 -1004
- package/dist/bundle/process.js +0 -275
- package/dist/bundle/property-types.js +0 -167
- package/dist/bundle/scope.js +0 -1808
- package/dist/bundle/string.js +0 -1095
- package/dist/bundle/test-helper.js +0 -690
- package/dist/bundle/type.js +0 -50
- package/dist/bundle/utility.js +0 -362
- package/dist/cli.d.ts +0 -31
- package/dist/compatible/Lock.js +0 -111
- package/dist/compatible/Logger.js +0 -705
- package/dist/compatible/Semaphore.js +0 -100
- package/dist/compatible/array.js +0 -648
- package/dist/compatible/cli.js +0 -85
- package/dist/compatible/constants.js +0 -225
- package/dist/compatible/context.js +0 -243
- package/dist/compatible/cookie.js +0 -262
- package/dist/compatible/data-transfer.js +0 -741
- package/dist/compatible/datetime.js +0 -1064
- package/dist/compatible/domNode.js +0 -471
- package/dist/compatible/expression/evaluators.js +0 -1115
- package/dist/compatible/expression/helper.js +0 -106
- package/dist/compatible/expression/index.js +0 -1223
- package/dist/compatible/expression/indicator-functions.js +0 -235
- package/dist/compatible/expression/type.js +0 -50
- package/dist/compatible/filesystem.js +0 -374
- package/dist/compatible/function.js +0 -105
- package/dist/compatible/index.js +0 -2686
- package/dist/compatible/indicators.js +0 -459
- package/dist/compatible/module.js +0 -180
- package/dist/compatible/number.js +0 -425
- package/dist/compatible/object.js +0 -1004
- package/dist/compatible/process.js +0 -275
- package/dist/compatible/property-types.js +0 -167
- package/dist/compatible/scope.js +0 -1808
- package/dist/compatible/string.js +0 -1095
- package/dist/compatible/test-helper.js +0 -690
- package/dist/compatible/type.js +0 -50
- package/dist/compatible/utility.js +0 -362
- package/dist/constants.d.ts +0 -99
- package/dist/context.d.ts +0 -8
- package/dist/cookie.d.ts +0 -31
- package/dist/data-transfer.d.ts +0 -45
- package/dist/datetime.d.ts +0 -37
- package/dist/domNode.d.ts +0 -82
- package/dist/expression/evaluators.d.ts +0 -55
- package/dist/expression/helper.d.ts +0 -4
- package/dist/expression/index.d.ts +0 -7
- package/dist/expression/indicator-functions.d.ts +0 -14
- package/dist/expression/type.d.ts +0 -70
- package/dist/filesystem.d.ts +0 -143
- package/dist/function.d.ts +0 -20
- package/dist/index.d.ts +0 -23
- package/dist/indicators.d.ts +0 -68
- package/dist/module.d.ts +0 -8
- package/dist/number.d.ts +0 -35
- package/dist/object.d.ts +0 -231
- package/dist/process.d.ts +0 -22
- package/dist/property-types.d.ts +0 -460
- package/dist/scope.d.ts +0 -44
- package/dist/string.d.ts +0 -312
- package/dist/test/Lock.d.ts +0 -1
- package/dist/test/Logger.d.ts +0 -1
- package/dist/test/Semaphore.d.ts +0 -1
- package/dist/test/array.d.ts +0 -1
- package/dist/test/cookie.d.ts +0 -1
- package/dist/test/data-transfer.d.ts +0 -1
- package/dist/test/datetime.d.ts +0 -1
- package/dist/test/domNode.d.ts +0 -1
- package/dist/test/expression/evaluators.d.ts +0 -1
- package/dist/test/expression/helper.d.ts +0 -1
- package/dist/test/expression/indicator-functions.d.ts +0 -1
- package/dist/test/filesystem.d.ts +0 -1
- package/dist/test/function.d.ts +0 -1
- package/dist/test/indicators.d.ts +0 -1
- package/dist/test/number.d.ts +0 -1
- package/dist/test/object.d.ts +0 -1
- package/dist/test/process.d.ts +0 -1
- package/dist/test/property-types.d.ts +0 -1
- package/dist/test/scope.d.ts +0 -1
- package/dist/test/string.d.ts +0 -1
- package/dist/test/utility.d.ts +0 -1
- package/dist/test-helper.d.ts +0 -143
- package/dist/type.d.ts +0 -230
- package/dist/utility.d.ts +0 -44
|
@@ -1,471 +0,0 @@
|
|
|
1
|
-
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory();
|
|
4
|
-
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define("clientnode", [], factory);
|
|
6
|
-
else if(typeof exports === 'object')
|
|
7
|
-
exports["clientnode"] = factory();
|
|
8
|
-
else
|
|
9
|
-
root["clientnode"] = factory();
|
|
10
|
-
})(this, function() {
|
|
11
|
-
return /******/ (function() { // webpackBootstrap
|
|
12
|
-
/******/ var __webpack_modules__ = ({
|
|
13
|
-
|
|
14
|
-
/***/ 4:
|
|
15
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
16
|
-
|
|
17
|
-
"use strict";
|
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ NOOP: function() { return /* binding */ NOOP; },
|
|
20
|
-
/* harmony export */ globalContext: function() { return /* binding */ globalContext; }
|
|
21
|
-
/* harmony export */ });
|
|
22
|
-
/* unused harmony exports setGlobalContext, MAXIMAL_NUMBER_OF_ITERATIONS, mockConsole */
|
|
23
|
-
/* unused harmony import specifier */ var CONSOLE_METHODS;
|
|
24
|
-
/* harmony import */ var _module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
25
|
-
// #!/usr/bin/env babel-node
|
|
26
|
-
// -*- coding: utf-8 -*-
|
|
27
|
-
/** @module context *//* !
|
|
28
|
-
region header
|
|
29
|
-
[Project page](https://torben.website/clientnode)
|
|
30
|
-
|
|
31
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
32
|
-
|
|
33
|
-
License
|
|
34
|
-
-------
|
|
35
|
-
|
|
36
|
-
This library written by Torben Sickert stands under a creative commons
|
|
37
|
-
naming 3.0 unported license.
|
|
38
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
39
|
-
endregion
|
|
40
|
-
*/var _optionalRequire$defa,_optionalRequire;function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function s(){t=t.call(r)},n:function n(){var r=t.next();return a=r.done,r},e:function e(r){u=!0,o=r},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}var globalContext=(0,_module__WEBPACK_IMPORTED_MODULE_0__.determineGlobalContext)();var setGlobalContext=function setGlobalContext(context){globalContext=context};globalContext.fetch=globalContext.fetch?globalContext.fetch.bind(globalContext):(_optionalRequire$defa=(_optionalRequire=(0,_module__WEBPACK_IMPORTED_MODULE_0__.optionalRequire)("node-fetch"))===null||_optionalRequire===void 0?void 0:_optionalRequire.default)!==null&&_optionalRequire$defa!==void 0?_optionalRequire$defa:function(){for(var _len=arguments.length,parameters=new Array(_len),_key=0;_key<_len;_key++){parameters[_key]=arguments[_key]}return (0,_module__WEBPACK_IMPORTED_MODULE_0__.optionalImport)(/* webpackIgnore: true */"node-fetch").then(function(module){var _ref;return(_ref=module).default.apply(_ref,parameters)})};var MAXIMAL_NUMBER_OF_ITERATIONS=(/* unused pure expression or super */ null && ({value:100}));// A no-op dummy function.
|
|
41
|
-
var NOOP=function NOOP(){// Do nothing.
|
|
42
|
-
};var mockConsole=function mockConsole(){// Avoid errors in browsers that lack a console.
|
|
43
|
-
if(!Object.prototype.hasOwnProperty.call(globalContext,"console"))globalContext.console={};if(!globalContext.console)globalContext.console={};var _iterator=_createForOfIteratorHelper(CONSOLE_METHODS),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var methodName=_step.value;if(!(methodName in globalContext.console))globalContext.console[methodName]=NOOP}}catch(err){_iterator.e(err)}finally{_iterator.f()}};
|
|
44
|
-
|
|
45
|
-
/***/ }),
|
|
46
|
-
|
|
47
|
-
/***/ 23:
|
|
48
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
49
|
-
|
|
50
|
-
"use strict";
|
|
51
|
-
__webpack_require__.r(__webpack_exports__);
|
|
52
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
53
|
-
/* harmony export */ MANUAL_SCROLL_EVENT_NAMES: function() { return /* binding */ MANUAL_SCROLL_EVENT_NAMES; },
|
|
54
|
-
/* harmony export */ SCROLL_EVENT_NAMES: function() { return /* binding */ SCROLL_EVENT_NAMES; },
|
|
55
|
-
/* harmony export */ STOP_AUTO_SCROLLING: function() { return /* binding */ STOP_AUTO_SCROLLING; },
|
|
56
|
-
/* harmony export */ closest: function() { return /* binding */ closest; },
|
|
57
|
-
/* harmony export */ createDomNodes: function() { return /* binding */ createDomNodes; },
|
|
58
|
-
/* harmony export */ fade: function() { return /* binding */ fade; },
|
|
59
|
-
/* harmony export */ fadeIn: function() { return /* binding */ fadeIn; },
|
|
60
|
-
/* harmony export */ fadeOut: function() { return /* binding */ fadeOut; },
|
|
61
|
-
/* harmony export */ getAll: function() { return /* binding */ getAll; },
|
|
62
|
-
/* harmony export */ getParents: function() { return /* binding */ getParents; },
|
|
63
|
-
/* harmony export */ getText: function() { return /* binding */ _getText; },
|
|
64
|
-
/* harmony export */ interruptableScrollTo: function() { return /* binding */ interruptableScrollTo; },
|
|
65
|
-
/* harmony export */ isEquivalent: function() { return /* binding */ isEquivalent; },
|
|
66
|
-
/* harmony export */ isHidden: function() { return /* binding */ _isHidden; },
|
|
67
|
-
/* harmony export */ onDocumentReady: function() { return /* binding */ onDocumentReady; },
|
|
68
|
-
/* harmony export */ replace: function() { return /* binding */ replace; },
|
|
69
|
-
/* harmony export */ scrollTo: function() { return /* binding */ scrollTo; },
|
|
70
|
-
/* harmony export */ unwrap: function() { return /* binding */ unwrap; },
|
|
71
|
-
/* harmony export */ wrap: function() { return /* binding */ wrap; }
|
|
72
|
-
/* harmony export */ });
|
|
73
|
-
/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
|
|
74
|
-
/* harmony import */ var _utility__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11);
|
|
75
|
-
// #!/usr/bin/env babel-node
|
|
76
|
-
// -*- coding: utf-8 -*-
|
|
77
|
-
/** @module domNode *//* !
|
|
78
|
-
region header
|
|
79
|
-
[Project page](https://torben.website/clientnode)
|
|
80
|
-
|
|
81
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
82
|
-
|
|
83
|
-
License
|
|
84
|
-
-------
|
|
85
|
-
|
|
86
|
-
This library written by Torben Sickert stands under a creative commons
|
|
87
|
-
naming 3.0 unported license.
|
|
88
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
89
|
-
endregion
|
|
90
|
-
*/function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(_defaults(e,GeneratorFunctionPrototype),_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}function _arrayWithHoles(r){if(Array.isArray(r))return r}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function s(){t=t.call(r)},n:function n(){var r=t.next();return a=r.done,r},e:function e(r){u=!0,o=r},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}var createDomNodes=function createDomNodes(html){var domNodeWrapper=document.createElement("div");domNodeWrapper.innerHTML=html;if(domNodeWrapper.childNodes.length===1)/*
|
|
91
|
-
NOTE: We need to clone the nested child to decouple it from its
|
|
92
|
-
parent node.
|
|
93
|
-
*/return domNodeWrapper.childNodes[0].cloneNode(true);return domNodeWrapper};var fade=function fade(domNode,intervalInMilliseconds,out){if(intervalInMilliseconds===void 0){intervalInMilliseconds=200}if(out===void 0){out=true}var transitionBackup=domNode.style.transition;var visibleBackup=domNode.style.visibility;var opacityBackup=domNode.style.opacity;var hadStyleAttribute=domNode.hasAttribute("style");if(out){domNode.style.visibility="hidden";domNode.style.opacity="0";domNode.style.transition="visibility 0s ".concat(String(intervalInMilliseconds),"ms, ")+"opacity ".concat(String(intervalInMilliseconds),"ms linear")}else{domNode.style.visibility="visible";domNode.style.opacity="1";domNode.style.transition="opacity ".concat(String(intervalInMilliseconds),"ms linear")}var clearTimeoutAndResetDomNode=_context__WEBPACK_IMPORTED_MODULE_0__.NOOP;var resolved=false;var promise=new Promise(function(resolve){clearTimeoutAndResetDomNode=function clearTimeoutAndResetDomNode(){domNode.style.transition=transitionBackup;resolved=true;resolve()};void (0,_utility__WEBPACK_IMPORTED_MODULE_1__.timeout)(intervalInMilliseconds).then(clearTimeoutAndResetDomNode)});promise.clear=function(){if(!resolved){domNode.style.transition="none";clearTimeoutAndResetDomNode()}};promise.resetStyles=function(){if(hadStyleAttribute){domNode.style.transition=transitionBackup;domNode.style.visibility=visibleBackup;domNode.style.opacity=opacityBackup}else domNode.removeAttribute("style")};return promise};var fadeIn=function fadeIn(domNode,intervalInMilliseconds){if(intervalInMilliseconds===void 0){intervalInMilliseconds=200}return fade(domNode,intervalInMilliseconds,false)};var fadeOut=function fadeOut(domNode,intervalInMilliseconds){if(intervalInMilliseconds===void 0){intervalInMilliseconds=200}return fade(domNode,intervalInMilliseconds)};var STOP_AUTO_SCROLLING={value:_context__WEBPACK_IMPORTED_MODULE_0__.NOOP};var MANUAL_SCROLL_EVENT_NAMES=["DOMMouseScroll","keydown","mousedown","mousewheel","wheel","touchstart","touchmove"];var SCROLL_EVENT_NAMES=["scroll"].concat(MANUAL_SCROLL_EVENT_NAMES);/**
|
|
94
|
-
* Smoothly scrolls both horizontally and vertically to a target DOM node.
|
|
95
|
-
* Cancels instantly if the user interacts with the mouse, touch, or keys.
|
|
96
|
-
* @param givenOptions - Configuration options.
|
|
97
|
-
* @param givenOptions.targetDomNode - The DOM node you want to scroll to.
|
|
98
|
-
* @param givenOptions.containerDomNode - The scrollable parent.
|
|
99
|
-
* @param givenOptions.durationInMilliseconds - Animation duration in
|
|
100
|
-
* milliseconds.
|
|
101
|
-
* @param givenOptions.interruptOnManualScroll - Whether to stop the animation
|
|
102
|
-
* if the user starts to scroll manually.
|
|
103
|
-
* @param givenOptions.offset - Pixel offsets.
|
|
104
|
-
* @param givenOptions.offset.top - Vertical offset in pixels.
|
|
105
|
-
* @param givenOptions.offset.left - Horizontal offset in pixels.
|
|
106
|
-
*/var interruptableScrollTo=function interruptableScrollTo(givenOptions){if(givenOptions===void 0){givenOptions={}}if(!(_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.document&&_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.window))return;var document=_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.document;var body=document.body;var window=_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.window;if(givenOptions.containerDomNode&&!("getBoundingClientRect"in givenOptions.containerDomNode)&&"parentElement"in givenOptions.containerDomNode)givenOptions.containerDomNode=givenOptions.containerDomNode.parentElement;if(givenOptions.targetDomNode&&!("getBoundingClientRect"in givenOptions.targetDomNode)&&"parentElement"in givenOptions.targetDomNode)givenOptions.targetDomNode=givenOptions.targetDomNode.parentElement;var options=_objectSpread({targetDomNode:body,containerDomNode:window,durationInMilliseconds:500,offset:_objectSpread({top:0,left:0},givenOptions.offset||{}),interruptOnManualScroll:true},givenOptions);var isWindow=options.containerDomNode===window;// 1. Get current starting scroll positions
|
|
107
|
-
var startY=isWindow?window.scrollY||document.documentElement.scrollTop:options.containerDomNode.scrollTop;var startX=isWindow?window.scrollX||document.documentElement.scrollLeft:options.containerDomNode.scrollLeft;// 2. Calculate targetDomNode positions for both axes
|
|
108
|
-
var targetY;var targetX;if(isWindow){var rect=options.targetDomNode.getBoundingClientRect();targetY=rect.top+(window.scrollY||document.documentElement.scrollTop)-options.offset.top;targetX=rect.left+(window.scrollX||document.documentElement.scrollLeft)-options.offset.left}else{// Relative to the scrollable parent container
|
|
109
|
-
targetY=options.targetDomNode.offsetTop-options.containerDomNode.offsetTop-options.offset.top;targetX=options.targetDomNode.offsetLeft-options.containerDomNode.offsetLeft-options.offset.left}var distanceY=targetY-startY;var distanceX=targetX-startX;// If no movement is needed, exit immediately
|
|
110
|
-
if(distanceY===0&&distanceX===0)return;var startTime=null;var animationFrameId=null;// Easing function
|
|
111
|
-
var easeInOutQuad=function easeInOutQuad(time){return time<0.5?2*time*time:-1+(4-2*time)*time};if(options.interruptOnManualScroll){// 3. Define the interrupt / teardown system
|
|
112
|
-
STOP_AUTO_SCROLLING.value=function(){if(animationFrameId){cancelAnimationFrame(animationFrameId);animationFrameId=null}for(var _i=0,_arr=[body,document.querySelector("html"),window];_i<_arr.length;_i++){var node=_arr[_i];for(var _i2=0,_MANUAL_SCROLL_EVENT_=MANUAL_SCROLL_EVENT_NAMES;_i2<_MANUAL_SCROLL_EVENT_.length;_i2++){var name=_MANUAL_SCROLL_EVENT_[_i2];node===null||node===void 0||node.removeEventListener(name,STOP_AUTO_SCROLLING.value)}}STOP_AUTO_SCROLLING.value=_context__WEBPACK_IMPORTED_MODULE_0__.NOOP};for(var _i3=0,_arr2=[body,document.querySelector("html"),window];_i3<_arr2.length;_i3++){var node=_arr2[_i3];for(var _i4=0,_MANUAL_SCROLL_EVENT_2=MANUAL_SCROLL_EVENT_NAMES;_i4<_MANUAL_SCROLL_EVENT_2.length;_i4++){var name=_MANUAL_SCROLL_EVENT_2[_i4];node===null||node===void 0||node.addEventListener(name,STOP_AUTO_SCROLLING.value,{passive:true})}}}// 4. Multi-axis animation loop
|
|
113
|
-
var _step=function step(currentTime){if(!startTime)startTime=currentTime;var progress=currentTime-startTime;var timeRatio=Math.min(progress/options.durationInMilliseconds,1);var easedRatio=easeInOutQuad(timeRatio);// Linearly interpolate the positions based on eased progress.
|
|
114
|
-
var nextY=startY+distanceY*easedRatio;var nextX=startX+distanceX*easedRatio;// Apply scroll to window or container.
|
|
115
|
-
if(isWindow)window.scrollTo(nextX,nextY);else{;options.containerDomNode.scrollTop=nextY;options.containerDomNode.scrollLeft=nextX}if(timeRatio<1)animationFrameId=requestAnimationFrame(_step);else STOP_AUTO_SCROLLING.value()};animationFrameId=requestAnimationFrame(_step)};/**
|
|
116
|
-
* Scrolls to the given DomNode's location or tio of the page.
|
|
117
|
-
* @param targetDomNode - DomNode to scroll to. If not given, scrolls to the
|
|
118
|
-
* top of the page.
|
|
119
|
-
* @param behavior - Scroll behavior to use.
|
|
120
|
-
*/var scrollTo=function scrollTo(targetDomNode,behavior){var _globalContext$window;if(targetDomNode===void 0){targetDomNode=null}if(behavior===void 0){behavior="smooth"}if(targetDomNode&&!("getBoundingClientRect"in targetDomNode))targetDomNode=targetDomNode.parentElement;var _ref=targetDomNode?targetDomNode.getBoundingClientRect():{left:0,top:0},left=_ref.left,top=_ref.top;(_globalContext$window=_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.window)===null||_globalContext$window===void 0||_globalContext$window.scrollTo({left:left,top:top,behavior:behavior})};var getAll=function getAll(root){if(!_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.document)return[];var nodes=[];// SHOW_ALL includes elements, text, and comments
|
|
121
|
-
var walker=_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.document.createTreeWalker(root,NodeFilter.SHOW_ALL,null);var currentNode=walker.currentNode;while(currentNode){nodes.push(currentNode);currentNode=walker.nextNode()}return nodes};var closest=function closest(node,selector,startWithParent){var _node$parentElement;if(startWithParent===void 0){startWithParent=false}return"closest"in node&&!startWithParent?node.closest(selector):((_node$parentElement=node.parentElement)===null||_node$parentElement===void 0?void 0:_node$parentElement.closest(selector))||null};var getParents=function getParents(node){var result=[];while(node.parentNode){result.push(node.parentNode);node=node.parentNode}return result};var _getText=function getText(root,recursive){if(recursive===void 0){recursive=false}if(root.nodeType===Node.TEXT_NODE){var _root$nodeValue;var content=(_root$nodeValue=root.nodeValue)===null||_root$nodeValue===void 0?void 0:_root$nodeValue.trim();if(content)return[content]}var result=[];var _iterator=_createForOfIteratorHelper(root.childNodes),_step2;try{for(_iterator.s();!(_step2=_iterator.n()).done;){var domNode=_step2.value;if(recursive||domNode.nodeType===Node.TEXT_NODE)result.push.apply(result,_toConsumableArray(_getText(domNode)))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return result};/**
|
|
122
|
-
* Checks whether given html or text strings are equal.
|
|
123
|
-
* @param first - First html, selector to dom node or text to compare.
|
|
124
|
-
* @param second - Second html, selector to dom node or text to compare.
|
|
125
|
-
* @param forceHTMLString - Indicates whether given contents are
|
|
126
|
-
* interpreted as html string (otherwise automatic detection will be
|
|
127
|
-
* triggered).
|
|
128
|
-
* @returns Returns true if both dom representations are equivalent.
|
|
129
|
-
*/var isEquivalent=function isEquivalent(first,second,forceHTMLString){if(forceHTMLString===void 0){forceHTMLString=false}if(first===second)return true;if(!(first&&second))return false;if(!_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.document)throw new Error("Missing document in global context.");var createElement=_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.document.createElement.bind(_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.document);var determineHTMLPattern=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;var inputs={first:first,second:second};var domNodes={first:createElement("dummy"),second:createElement("dummy")};/*
|
|
130
|
-
NOTE: Assume that strings that start "<" and end with ">" are mark up
|
|
131
|
-
and skip the more expensive regular expression check.
|
|
132
|
-
*/for(var _i5=0,_Object$entries=Object.entries(inputs);_i5<_Object$entries.length;_i5++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i5],2),type=_Object$entries$_i[0],html=_Object$entries$_i[1];if(typeof html==="string"){if(forceHTMLString||html.startsWith("<")&&html.endsWith(">")&&html.length>=3||determineHTMLPattern.test(html))domNodes[type]=createDomNodes(html);else{var domNode=document.querySelector(html);if(domNode)/*
|
|
133
|
-
NOTE: We copy the node tree to not manipulate the
|
|
134
|
-
original dom node by normalizing it afterward.
|
|
135
|
-
*/domNodes[type]=domNode.cloneNode(true);else return false}}else if("cloneNode"in html)domNodes[type]=html.cloneNode(true);else return false}domNodes.first.normalize();domNodes.second.normalize();return domNodes.first.isEqualNode(domNodes.second)};/**
|
|
136
|
-
* Checks whether the given dom node is visible or takes space in the document
|
|
137
|
-
* flow.
|
|
138
|
-
* Elements with visibility: hidden or opacity: 0 are considered to be visible,
|
|
139
|
-
* since they still consume space in the layout. During animations that hide an
|
|
140
|
-
* element, the element is considered to be visible until the end of the
|
|
141
|
-
* animation.
|
|
142
|
-
* @param domNode - To inspect.
|
|
143
|
-
* @returns A boolean indicating the visibility.
|
|
144
|
-
*/var _isHidden=function isHidden(domNode){var _globalContext$docume;return!((_globalContext$docume=_context__WEBPACK_IMPORTED_MODULE_0__.globalContext.document)!==null&&_globalContext$docume!==void 0&&_globalContext$docume.contains(domNode))||domNode.style.display==="none"||domNode.nodeName==="INPUT"&&domNode.getAttribute("type")==="hidden"||["contents","inline"].includes(domNode.style.display)&&(!("innerHTML"in domNode)||domNode.innerHTML.trim()==="")||domNode.style.height==="0px"&&domNode.style.width==="0px"||Boolean(domNode.parentElement)&&_isHidden(domNode.parentElement)};var onDocumentReady=function onDocumentReady(callback){return new Promise(function(resolve){return void _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(){return _regenerator().w(function(_context){while(1)switch(_context.n){case 0:if(!["complete","interactive"].includes(document.readyState)){_context.n=2;break}_context.n=1;return (0,_utility__WEBPACK_IMPORTED_MODULE_1__.timeout)();case 1:resolve();callback===null||callback===void 0||callback();_context.n=3;break;case 2:document.addEventListener("DOMContentLoaded",function(){resolve();callback===null||callback===void 0||callback()});case 3:return _context.a(2)}},_callee)}))()})};/**
|
|
145
|
-
* Replaces a given dom node with given nodes.
|
|
146
|
-
* @param domNodeToReplace - Node to replace its children.
|
|
147
|
-
* @param replacementDomNodes - Node or array of nodes to use as replacement.
|
|
148
|
-
* @param skipEmptyTextNodes - Configures whether to trim text.
|
|
149
|
-
*/var replace=function replace(domNodeToReplace,replacementDomNodes,skipEmptyTextNodes){if(skipEmptyTextNodes===void 0){skipEmptyTextNodes=false}var _iterator2=_createForOfIteratorHelper([].concat(replacementDomNodes).reverse()),_step3;try{for(_iterator2.s();!(_step3=_iterator2.n()).done;){var _replacement$nodeValu;var replacement=_step3.value;if(!(skipEmptyTextNodes&&replacement.nodeType===Node.TEXT_NODE&&((_replacement$nodeValu=replacement.nodeValue)===null||_replacement$nodeValu===void 0?void 0:_replacement$nodeValu.trim())===""))domNodeToReplace.after(replacement)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}domNodeToReplace.remove()};var wrap=function wrap(domNodes,wrapper){var domNodeList=domNodes.length?Array.from(domNodes):[domNodes];// Use the first element's position as the anchor point
|
|
150
|
-
var first=domNodeList[0];if(first.parentNode)first.parentNode.insertBefore(wrapper,first);var _iterator3=_createForOfIteratorHelper(domNodeList),_step4;try{for(_iterator3.s();!(_step4=_iterator3.n()).done;){var domNode=_step4.value;wrapper.appendChild(domNode)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}};/**
|
|
151
|
-
* Moves the content of a given dom node one level up and removes the given
|
|
152
|
-
* node.
|
|
153
|
-
* @param domNode - Node to unwrap.
|
|
154
|
-
* @returns List of unwrapped nodes.
|
|
155
|
-
*/var unwrap=function unwrap(domNode){var parent=domNode.parentNode;var result=[];// NOTE: We need to use "Array.from" to copy the list.
|
|
156
|
-
for(var _i6=0,_Array$from=Array.from(domNode.childNodes);_i6<_Array$from.length;_i6++){var childNode=_Array$from[_i6];result.push(childNode);if(parent)parent.insertBefore(childNode,domNode)}if(parent)parent.removeChild(domNode);return result};
|
|
157
|
-
|
|
158
|
-
/***/ }),
|
|
159
|
-
|
|
160
|
-
/***/ 3:
|
|
161
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
162
|
-
|
|
163
|
-
"use strict";
|
|
164
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
165
|
-
/* harmony export */ isFunction: function() { return /* binding */ isFunction; }
|
|
166
|
-
/* harmony export */ });
|
|
167
|
-
/* unused harmony exports isNumeric, isWindow, isArrayLike, isAnyMatching, isObject, isPlainObject, isSet, isMap, isProxy */
|
|
168
|
-
/* unused harmony import specifier */ var PLAIN_OBJECT_PROTOTYPES;
|
|
169
|
-
/* unused harmony import specifier */ var determineType;
|
|
170
|
-
// #!/usr/bin/env babel-node
|
|
171
|
-
// -*- coding: utf-8 -*-
|
|
172
|
-
/** @module indicators *//* !
|
|
173
|
-
region header
|
|
174
|
-
[Project page](https://torben.website/clientnode)
|
|
175
|
-
|
|
176
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
177
|
-
|
|
178
|
-
License
|
|
179
|
-
-------
|
|
180
|
-
|
|
181
|
-
This library written by Torben Sickert stands under a creative commons
|
|
182
|
-
naming 3.0 unported license.
|
|
183
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
184
|
-
endregion
|
|
185
|
-
*/function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function s(){t=t.call(r)},n:function n(){var r=t.next();return a=r.done,r},e:function e(r){u=!0,o=r},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}/**
|
|
186
|
-
* Determines whether its argument represents a JavaScript number.
|
|
187
|
-
* @param value - Value to analyze.
|
|
188
|
-
* @returns A boolean value indicating whether given object is numeric
|
|
189
|
-
* like.
|
|
190
|
-
*/var isNumeric=function isNumeric(value){var type=determineType(value);/*
|
|
191
|
-
NOTE: "parseFloat" "NaNs" numeric-cast false positives ("") but
|
|
192
|
-
misinterprets leading-number strings, particularly hex literals
|
|
193
|
-
("0x...") subtraction forces infinities to NaN.
|
|
194
|
-
*/return["number","string"].includes(type)&&!isNaN(value-parseFloat(value))};/**
|
|
195
|
-
* Determine whether the argument is a window.
|
|
196
|
-
* @param value - Value to check for.
|
|
197
|
-
* @returns Boolean value indicating the result.
|
|
198
|
-
*/var isWindow=function isWindow(value){return![null,undefined].includes(value)&&_typeof(value)==="object"&&value===(value===null||value===void 0?void 0:value.window)};/**
|
|
199
|
-
* Checks if given object is similar to an array and can be handled like an
|
|
200
|
-
* array.
|
|
201
|
-
* @param object - Object to check behavior for.
|
|
202
|
-
* @returns A boolean value indicating whether given object is array like.
|
|
203
|
-
*/var isArrayLike=function isArrayLike(object){var length;try{length=Boolean(object)&&object.length}catch(_unused){return false}var type=determineType(object);if(type==="function"||isWindow(object))return false;if(type==="array"||length===0)return true;if(typeof length==="number"&&length>0)try{var _dump=object[length-1];return true}catch(_unused2){// Continue regardless of an error.
|
|
204
|
-
}return false};/**
|
|
205
|
-
* Checks whether one of the given pattern matches given string.
|
|
206
|
-
* @param target - Target to check in pattern for.
|
|
207
|
-
* @param pattern - List of pattern to check for.
|
|
208
|
-
* @returns Value "true" if given object is matches by at leas one of the
|
|
209
|
-
* given pattern and "false" otherwise.
|
|
210
|
-
*/var isAnyMatching=function isAnyMatching(target,pattern){var _iterator=_createForOfIteratorHelper(pattern),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var currentPattern=_step.value;if(typeof currentPattern==="string"){if(currentPattern===target)return true}else if(currentPattern.test(target))return true}}catch(err){_iterator.e(err)}finally{_iterator.f()}return false};/**
|
|
211
|
-
* Checks whether given object is a native object but not null.
|
|
212
|
-
* @param value - Value to check.
|
|
213
|
-
* @returns Value "true" if given object is a plain javaScript object and
|
|
214
|
-
* "false" otherwise.
|
|
215
|
-
*/var isObject=function isObject(value){return value!==null&&_typeof(value)==="object"};/**
|
|
216
|
-
* Checks whether given object is a plain native object.
|
|
217
|
-
* @param value - Value to check.
|
|
218
|
-
* @returns Value "true" if given object is a plain javaScript object and
|
|
219
|
-
* "false" otherwise.
|
|
220
|
-
*/var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
|
|
221
|
-
* Checks whether given object is a set.
|
|
222
|
-
* @param value - Value to check.
|
|
223
|
-
* @returns Value "true" if given object is a set and "false" otherwise.
|
|
224
|
-
*/var isSet=function isSet(value){return determineType(value)==="set"};/**
|
|
225
|
-
* Checks whether given object is a map.
|
|
226
|
-
* @param value - Value to check.
|
|
227
|
-
* @returns Value "true" if given object is a map and "false" otherwise.
|
|
228
|
-
*/var isMap=function isMap(value){return determineType(value)==="map"};/**
|
|
229
|
-
* Checks whether given object is a proxy.
|
|
230
|
-
* @param value - Value to check.
|
|
231
|
-
* @returns Value "true" if given object is a proxy and "false" otherwise.
|
|
232
|
-
*/var isProxy=function isProxy(value){return Boolean(value.__target__)};/**
|
|
233
|
-
* Checks whether given object is a function.
|
|
234
|
-
* @param value - Value to check.
|
|
235
|
-
* @returns Value "true" if given object is a function and "false"
|
|
236
|
-
* otherwise.
|
|
237
|
-
*/var isFunction=function isFunction(value){return Boolean(value)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(value))};
|
|
238
|
-
|
|
239
|
-
/***/ }),
|
|
240
|
-
|
|
241
|
-
/***/ 1:
|
|
242
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
243
|
-
|
|
244
|
-
"use strict";
|
|
245
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
246
|
-
/* harmony export */ determineGlobalContext: function() { return /* binding */ determineGlobalContext; },
|
|
247
|
-
/* harmony export */ optionalImport: function() { return /* binding */ optionalImport; },
|
|
248
|
-
/* harmony export */ optionalRequire: function() { return /* binding */ optionalRequire; }
|
|
249
|
-
/* harmony export */ });
|
|
250
|
-
/* unused harmony exports currentRequire, clearRequireCache, isolatedRequire, isImportSyntaxSupported */
|
|
251
|
-
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
252
|
-
// #!/usr/bin/env babel-node
|
|
253
|
-
// -*- coding: utf-8 -*-
|
|
254
|
-
/** @module module *//* !
|
|
255
|
-
region header
|
|
256
|
-
[Project page](https://torben.website/clientnode)
|
|
257
|
-
|
|
258
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
259
|
-
|
|
260
|
-
License
|
|
261
|
-
-------
|
|
262
|
-
|
|
263
|
-
This library written by Torben Sickert stands under a creative commons
|
|
264
|
-
naming 3.0 unported license.
|
|
265
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
266
|
-
endregion
|
|
267
|
-
*/function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(_defaults(e,GeneratorFunctionPrototype),_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}function _arrayWithHoles(r){if(Array.isArray(r))return r}var determineGlobalContext=function determineGlobalContext(){if(typeof globalThis==="undefined"){if(typeof window==="undefined"){if(typeof __webpack_require__.g==="undefined")return false?0:module;if(Object.prototype.hasOwnProperty.call(__webpack_require__.g,"window"))return __webpack_require__.g.window;return __webpack_require__.g}return window}return globalThis};var globalContext=determineGlobalContext();// Make preprocessed require function available at runtime.
|
|
268
|
-
var currentRequire=typeof globalContext.require==="undefined"?null:globalContext.require;var optionalRequire=function optionalRequire(id){try{return currentRequire?currentRequire(id):null}catch(_unused){return null}};var clearRequireCache=function clearRequireCache(cache){if(cache===void 0){cache=(currentRequire===null||currentRequire===void 0?void 0:currentRequire.cache)||__webpack_require__.c}var backup={};for(var _i=0,_Object$entries=Object.entries(cache);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],_module=_Object$entries$_i[1];backup[key]=_module;delete cache[key]}return backup};var restoreRequireCache=function restoreRequireCache(cache,backup){if(cache===void 0){cache=(currentRequire===null||currentRequire===void 0?void 0:currentRequire.cache)||__webpack_require__.c}clearRequireCache();for(var _i2=0,_Object$entries2=Object.entries(backup);_i2<_Object$entries2.length;_i2++){var _Object$entries2$_i=_slicedToArray(_Object$entries2[_i2],2),key=_Object$entries2$_i[0],_module2=_Object$entries2$_i[1];cache[key]=_module2}};var isolatedRequire=function isolatedRequire(path,requireFunction){if(requireFunction===void 0){requireFunction=currentRequire||__webpack_require__(5)}var backup=clearRequireCache(requireFunction.cache);try{return requireFunction(path);// eslint-disable-next-line no-useless-catch
|
|
269
|
-
}catch(error){throw error}finally{restoreRequireCache(requireFunction.cache,backup)}};// Make preprocessed import function available at runtime.
|
|
270
|
-
var isImportSyntaxSupported=function isImportSyntaxSupported(){try{// eslint-disable-next-line @typescript-eslint/no-implied-eval
|
|
271
|
-
new Function("import(\"data:text/javascript,\")");return true}catch(_unused2){return false}};var optionalImport=/*#__PURE__*/function(){var _optionalImport=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(id,options){var _t,_t2;return _regenerator().w(function(_context){while(1)switch(_context.p=_context.n){case 0:if(options===void 0){options={}}_context.p=1;if(!isImportSyntaxSupported()){_context.n=3;break}_context.n=2;return new Function("options","return import('".concat(id,"', options)"))(options);case 2:_t=_context.v;_context.n=5;break;case 3:_context.n=4;return Promise.resolve(null);case 4:_t=_context.v;case 5:return _context.a(2,_t);case 6:_context.p=6;_t2=_context.v;_context.n=7;return Promise.resolve(null);case 7:return _context.a(2,_context.v)}},_callee,null,[[1,6]])}));function optionalImport(_x,_x2){return _optionalImport.apply(this,arguments)}return optionalImport}();
|
|
272
|
-
|
|
273
|
-
/***/ }),
|
|
274
|
-
|
|
275
|
-
/***/ 11:
|
|
276
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
277
|
-
|
|
278
|
-
"use strict";
|
|
279
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
280
|
-
/* harmony export */ timeout: function() { return /* binding */ timeout; }
|
|
281
|
-
/* harmony export */ });
|
|
282
|
-
/* unused harmony exports trailingThrottle, debounce, preventDefault, stopPropagation */
|
|
283
|
-
/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
|
|
284
|
-
/* harmony import */ var _indicators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
285
|
-
// #!/usr/bin/env babel-node
|
|
286
|
-
// -*- coding: utf-8 -*-
|
|
287
|
-
/** @module utility *//* !
|
|
288
|
-
region header
|
|
289
|
-
[Project page](https://torben.website/clientnode)
|
|
290
|
-
|
|
291
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
292
|
-
|
|
293
|
-
License
|
|
294
|
-
-------
|
|
295
|
-
|
|
296
|
-
This library written by Torben Sickert stands under a creative commons
|
|
297
|
-
naming 3.0 unported license.
|
|
298
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
299
|
-
endregion
|
|
300
|
-
*/function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}/**
|
|
301
|
-
* Prevents event functions from triggering too often by defining a minimal
|
|
302
|
-
* span between each function call. Additional arguments given to this function
|
|
303
|
-
* will be forwarded to the given event function call.
|
|
304
|
-
* @param callback - The function to call debounced.
|
|
305
|
-
* @param thresholdInMilliseconds - The minimum time span between each
|
|
306
|
-
* function call.
|
|
307
|
-
* @param additionalArguments - Additional arguments to forward to given
|
|
308
|
-
* function.
|
|
309
|
-
* @returns Returns the wrapped method.
|
|
310
|
-
*/var trailingThrottle=function trailingThrottle(callback,thresholdInMilliseconds){if(thresholdInMilliseconds===void 0){thresholdInMilliseconds=600}for(var _len=arguments.length,additionalArguments=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){additionalArguments[_key-2]=arguments[_key]}var timeoutID=null;var recentParameters=[];return function(){for(var _len2=arguments.length,parameters=new Array(_len2),_key2=0;_key2<_len2;_key2++){parameters[_key2]=arguments[_key2]}recentParameters=parameters;if(timeoutID)return;timeoutID=setTimeout(function(){callback.apply(void 0,_toConsumableArray(recentParameters).concat(additionalArguments));// Reset for next cycle.
|
|
311
|
-
timeoutID=null;recentParameters=[]},thresholdInMilliseconds)}};/**
|
|
312
|
-
* Prevents event functions from triggering too close after each trigger by
|
|
313
|
-
* defining a minimal span between each function call. Additional arguments
|
|
314
|
-
* given to this function will be forwarded to the given event function call.
|
|
315
|
-
* @param callback - The function to call debounced.
|
|
316
|
-
* @param thresholdInMilliseconds - The minimum time span between each
|
|
317
|
-
* function call.
|
|
318
|
-
* @param additionalArguments - Additional arguments to forward to given
|
|
319
|
-
* function.
|
|
320
|
-
* @returns Returns the wrapped method.
|
|
321
|
-
*/var debounce=function debounce(callback,thresholdInMilliseconds){if(thresholdInMilliseconds===void 0){thresholdInMilliseconds=600}for(var _len3=arguments.length,additionalArguments=new Array(_len3>2?_len3-2:0),_key3=2;_key3<_len3;_key3++){additionalArguments[_key3-2]=arguments[_key3]}var timeoutPromise;var nextResultPromiseResolver;var nextResultPromise=new Promise(function(resolve){nextResultPromiseResolver=resolve});return function(){var _timeoutPromise;for(var _len4=arguments.length,parameters=new Array(_len4),_key4=0;_key4<_len4;_key4++){parameters[_key4]=arguments[_key4]}parameters=parameters.concat(additionalArguments);(_timeoutPromise=timeoutPromise)===null||_timeoutPromise===void 0||_timeoutPromise.clear();timeoutPromise=timeout(function(){nextResultPromiseResolver(callback.apply(void 0,_toConsumableArray(parameters)));nextResultPromise=new Promise(function(resolve){nextResultPromiseResolver=resolve})},thresholdInMilliseconds);return nextResultPromise}};/**
|
|
322
|
-
* Triggers given callback after given duration. Supports unlimited
|
|
323
|
-
* duration length and returns a promise which will be resolved after given
|
|
324
|
-
* duration has been passed.
|
|
325
|
-
* @param parameters - Observes the first three existing parameters. If one
|
|
326
|
-
* is a number it will be interpreted as delay in milliseconds until given
|
|
327
|
-
* callback will be triggered. If one is of type function it will be used
|
|
328
|
-
* as callback and if one is of type boolean it will indicate if returning
|
|
329
|
-
* promise should be rejected or resolved if given internally created
|
|
330
|
-
* timeout should be canceled. Additional parameters will be forwarded to
|
|
331
|
-
* given callback.
|
|
332
|
-
* @returns A promise resolving after given delay or being rejected if
|
|
333
|
-
* value "true" is within one of the first three parameters. The promise
|
|
334
|
-
* holds a boolean indicating whether timeout has been canceled or
|
|
335
|
-
* resolved.
|
|
336
|
-
*/var timeout=function timeout(){for(var _len5=arguments.length,parameters=new Array(_len5),_key5=0;_key5<_len5;_key5++){parameters[_key5]=arguments[_key5]}var callback=_context__WEBPACK_IMPORTED_MODULE_0__.NOOP;var delayInMilliseconds=0;var throwOnTimeoutClear=false;for(var _i=0,_parameters=parameters;_i<_parameters.length;_i++){var value=_parameters[_i];if(typeof value==="number"&&!isNaN(value))delayInMilliseconds=value;else if(typeof value==="boolean")throwOnTimeoutClear=value;else if((0,_indicators__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value))callback=value}var rejectCallback;var resolveCallback;var result=new Promise(function(resolve,reject){rejectCallback=reject;resolveCallback=resolve});var wrappedCallback=function wrappedCallback(){var _callback;(_callback=callback).call.apply(_callback,[result].concat(parameters));resolveCallback(false)};var maximumTimeoutDelayInMilliseconds=2147483647;if(delayInMilliseconds<=maximumTimeoutDelayInMilliseconds)result.timeoutID=setTimeout(wrappedCallback,delayInMilliseconds);else{/*
|
|
337
|
-
Determine the number of times we need to delay by maximum
|
|
338
|
-
possible timeout duration.
|
|
339
|
-
*/var numberOfRemainingTimeouts=Math.floor(delayInMilliseconds/maximumTimeoutDelayInMilliseconds);var finalTimeoutDuration=delayInMilliseconds%maximumTimeoutDelayInMilliseconds;var _delay=function delay(){if(numberOfRemainingTimeouts>0){numberOfRemainingTimeouts-=1;result.timeoutID=setTimeout(_delay,maximumTimeoutDelayInMilliseconds)}else result.timeoutID=setTimeout(wrappedCallback,finalTimeoutDuration)};_delay()}result.clear=function(){if(Object.prototype.hasOwnProperty.call(result,"timeoutID")){clearTimeout(result.timeoutID);(throwOnTimeoutClear?rejectCallback:resolveCallback)(true)}};return result};var preventDefault=function preventDefault(event){event.preventDefault()};var stopPropagation=function stopPropagation(event){event.stopPropagation()};
|
|
340
|
-
|
|
341
|
-
/***/ }),
|
|
342
|
-
|
|
343
|
-
/***/ 5:
|
|
344
|
-
/***/ (function(module) {
|
|
345
|
-
|
|
346
|
-
function webpackEmptyContext(req) {
|
|
347
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
348
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
349
|
-
throw e;
|
|
350
|
-
}
|
|
351
|
-
webpackEmptyContext.keys = function() { return []; };
|
|
352
|
-
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
353
|
-
webpackEmptyContext.id = 5;
|
|
354
|
-
module.exports = webpackEmptyContext;
|
|
355
|
-
|
|
356
|
-
/***/ })
|
|
357
|
-
|
|
358
|
-
/******/ });
|
|
359
|
-
/************************************************************************/
|
|
360
|
-
/******/ // The module cache
|
|
361
|
-
/******/ var __webpack_module_cache__ = {};
|
|
362
|
-
/******/
|
|
363
|
-
/******/ // The require function
|
|
364
|
-
/******/ function __webpack_require__(moduleId) {
|
|
365
|
-
/******/ // Check if module is in cache
|
|
366
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
367
|
-
/******/ if (cachedModule !== undefined) {
|
|
368
|
-
/******/ return cachedModule.exports;
|
|
369
|
-
/******/ }
|
|
370
|
-
/******/ // Create a new module (and put it into the cache)
|
|
371
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
372
|
-
/******/ id: moduleId,
|
|
373
|
-
/******/ loaded: false,
|
|
374
|
-
/******/ exports: {}
|
|
375
|
-
/******/ };
|
|
376
|
-
/******/
|
|
377
|
-
/******/ // Execute the module function
|
|
378
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
379
|
-
/******/
|
|
380
|
-
/******/ // Flag the module as loaded
|
|
381
|
-
/******/ module.loaded = true;
|
|
382
|
-
/******/
|
|
383
|
-
/******/ // Return the exports of the module
|
|
384
|
-
/******/ return module.exports;
|
|
385
|
-
/******/ }
|
|
386
|
-
/******/
|
|
387
|
-
/******/ // expose the module cache
|
|
388
|
-
/******/ __webpack_require__.c = __webpack_module_cache__;
|
|
389
|
-
/******/
|
|
390
|
-
/************************************************************************/
|
|
391
|
-
/******/ /* webpack/runtime/define property getters */
|
|
392
|
-
/******/ !function() {
|
|
393
|
-
/******/ // define getter/value functions for harmony exports
|
|
394
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
395
|
-
/******/ if(Array.isArray(definition)) {
|
|
396
|
-
/******/ var i = 0;
|
|
397
|
-
/******/ while(i < definition.length) {
|
|
398
|
-
/******/ var key = definition[i++];
|
|
399
|
-
/******/ var binding = definition[i++];
|
|
400
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
401
|
-
/******/ if(binding === 0) {
|
|
402
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
403
|
-
/******/ } else {
|
|
404
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
405
|
-
/******/ }
|
|
406
|
-
/******/ } else if(binding === 0) { i++; }
|
|
407
|
-
/******/ }
|
|
408
|
-
/******/ } else {
|
|
409
|
-
/******/ for(var key in definition) {
|
|
410
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
411
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
412
|
-
/******/ }
|
|
413
|
-
/******/ }
|
|
414
|
-
/******/ }
|
|
415
|
-
/******/ };
|
|
416
|
-
/******/ }();
|
|
417
|
-
/******/
|
|
418
|
-
/******/ /* webpack/runtime/global */
|
|
419
|
-
/******/ !function() {
|
|
420
|
-
/******/ __webpack_require__.g = (function() {
|
|
421
|
-
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
422
|
-
/******/ try {
|
|
423
|
-
/******/ return this || new Function('return this')();
|
|
424
|
-
/******/ } catch (e) {
|
|
425
|
-
/******/ if (typeof window === 'object') return window;
|
|
426
|
-
/******/ }
|
|
427
|
-
/******/ })();
|
|
428
|
-
/******/ }();
|
|
429
|
-
/******/
|
|
430
|
-
/******/ /* webpack/runtime/harmony module decorator */
|
|
431
|
-
/******/ !function() {
|
|
432
|
-
/******/ __webpack_require__.hmd = function(module) {
|
|
433
|
-
/******/ module = Object.create(module);
|
|
434
|
-
/******/ if (!module.children) module.children = [];
|
|
435
|
-
/******/ Object.defineProperty(module, 'exports', {
|
|
436
|
-
/******/ enumerable: true,
|
|
437
|
-
/******/ set: function() {
|
|
438
|
-
/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
|
|
439
|
-
/******/ }
|
|
440
|
-
/******/ });
|
|
441
|
-
/******/ return module;
|
|
442
|
-
/******/ };
|
|
443
|
-
/******/ }();
|
|
444
|
-
/******/
|
|
445
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
446
|
-
/******/ !function() {
|
|
447
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
448
|
-
/******/ }();
|
|
449
|
-
/******/
|
|
450
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
451
|
-
/******/ !function() {
|
|
452
|
-
/******/ // define __esModule on exports
|
|
453
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
454
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
455
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
456
|
-
/******/ }
|
|
457
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
458
|
-
/******/ };
|
|
459
|
-
/******/ }();
|
|
460
|
-
/******/
|
|
461
|
-
/************************************************************************/
|
|
462
|
-
/******/
|
|
463
|
-
/******/ // module cache are used so entry inlining is disabled
|
|
464
|
-
/******/ // startup
|
|
465
|
-
/******/ // Load entry module and return exports
|
|
466
|
-
/******/ var __webpack_exports__ = __webpack_require__(23);
|
|
467
|
-
/******/
|
|
468
|
-
/******/ return __webpack_exports__;
|
|
469
|
-
/******/ })()
|
|
470
|
-
;
|
|
471
|
-
});
|