clientnode 3.0.1170 → 3.0.1172

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.d.ts CHANGED
@@ -4,7 +4,7 @@ import { LockCallbackFunction, Mapping } from './type';
4
4
  * @property locks - Mapping of lock descriptions to there corresponding
5
5
  * callbacks.
6
6
  */
7
- export declare class Lock<Type = string | void> {
7
+ export declare class Lock<Type = string | undefined> {
8
8
  locks: Mapping<Array<LockCallbackFunction<Type>>>;
9
9
  /**
10
10
  * Initializes locks.
@@ -33,6 +33,6 @@ export declare class Lock<Type = string | void> {
33
33
  * @returns Returns the return (maybe promise resolved) value of the
34
34
  * callback given to the "acquire" method.
35
35
  */
36
- release(description: string): Promise<Type | void>;
36
+ release(description: string): Promise<Type | undefined>;
37
37
  }
38
38
  export default Lock;
package/dist/Lock.js CHANGED
@@ -1 +1 @@
1
- "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/asyncToGenerator","@babel/runtime/regenerator"],r);else{var n="object"==typeof exports?r(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator")):r(e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/regenerator"]);for(var t in n)("object"==typeof exports?exports:e)[t]=n[t]}}(this,(function(e,r){return function(){var n={18:function(r){r.exports=e},19:function(e){e.exports=r}},t={};function o(e){var r=t[e];if(void 0!==r)return r.exports;var i=t[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,{a:r}),r},o.d=function(e,r){for(var n in r)o.o(r,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};o.r(i),o.d(i,{Lock:function(){return c}});var u=o(18),a=o.n(u),l=o(19),s=o.n(l),c=function(){function e(e){void 0===e&&(e={}),this.locks=void 0,this.locks=e}var r=e.prototype;return r.acquire=function(e,r,n){var t=this;return void 0===n&&(n=!1),new Promise((function(o){var i=function(e){var i,u;r&&(u=r(e));var a=function(r){return n&&t.release(e),o(r),r};return null!=(i=u)&&i.then?u.then(a):(a(e),u)};Object.prototype.hasOwnProperty.call(t.locks,e)?t.locks[e].push(i):(t.locks[e]=[],i(e))}))},r.release=function(){var e=a()(s().mark((function e(r){var n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object.prototype.hasOwnProperty.call(this.locks,r)){e.next=9;break}if(void 0!==(n=this.locks[r].shift())){e.next=6;break}delete this.locks[r],e.next=9;break;case 6:return e.next=8,n(r);case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e,this)})));return function(r){return e.apply(this,arguments)}}(),e}();return i.default=c,i}()}));
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/asyncToGenerator","@babel/runtime/regenerator"],r);else{var n="object"==typeof exports?r(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator")):r(e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/regenerator"]);for(var t in n)("object"==typeof exports?exports:e)[t]=n[t]}}(this,(function(e,r){return function(){var n={17:function(r){r.exports=e},18:function(e){e.exports=r}},t={};function o(e){var r=t[e];if(void 0!==r)return r.exports;var i=t[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,{a:r}),r},o.d=function(e,r){for(var n in r)o.o(r,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};o.r(i),o.d(i,{Lock:function(){return c}});var u=o(17),a=o.n(u),l=o(18),s=o.n(l),c=function(){function e(e){void 0===e&&(e={}),this.locks=void 0,this.locks=e}var r=e.prototype;return r.acquire=function(e,r,n){var t=this;return void 0===n&&(n=!1),new Promise((function(o){var i=function(e){var i,u;r&&(u=r(e));var a=function(r){return n&&t.release(e),o(r),r};return null!=(i=u)&&i.then?u.then(a):(a(u),u)};Object.prototype.hasOwnProperty.call(t.locks,e)?t.locks[e].push(i):(t.locks[e]=[],i(e))}))},r.release=function(){var e=a()(s().mark((function e(r){var n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object.prototype.hasOwnProperty.call(this.locks,r)){e.next=9;break}if(void 0!==(n=this.locks[r].shift())){e.next=6;break}delete this.locks[r],e.next=9;break;case 6:return e.next=8,n(r);case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e,this)})));return function(r){return e.apply(this,arguments)}}(),e}();return i.default=c,i}()}));
package/dist/Tools.d.ts CHANGED
@@ -59,7 +59,7 @@ export declare class Tools<TElement = HTMLElement> {
59
59
  * @param $domNode - Optionally a $-extended dom node to use as reference.
60
60
  * @returns Returns whatever the initializer method returns.
61
61
  */
62
- static controller<TElement = HTMLElement>(this: void, object: unknown, parameters: unknown, $domNode?: null | $T<TElement>): unknown;
62
+ static controller<TElement = HTMLElement>(object: unknown, parameters: unknown, $domNode?: null | $T<TElement>): unknown;
63
63
  /**
64
64
  * Shows the given object's representation in the browsers console if
65
65
  * possible or in a standalone alert-window as fallback.
@@ -122,7 +122,7 @@ export declare class Tools<TElement = HTMLElement> {
122
122
  * represent given object.
123
123
  * @returns Returns the serialized version of given object.
124
124
  */
125
- static show(this: void, object: unknown, level?: number, currentLevel?: number): string;
125
+ static show(object: unknown, level?: number, currentLevel?: number): string;
126
126
  /**
127
127
  * Normalizes class name order of current dom node.
128
128
  * @returns Current instance.
@@ -153,7 +153,7 @@ export declare class Tools<TElement = HTMLElement> {
153
153
  * triggered).
154
154
  * @returns Returns true if both dom representations are equivalent.
155
155
  */
156
- static isEquivalentDOM(this: void, first: Node | string | $T<HTMLElement> | $T<Node>, second: Node | string | $T<HTMLElement> | $T<Node>, forceHTMLString?: boolean): boolean;
156
+ static isEquivalentDOM(first: Node | string | $T | $T<Node>, second: Node | string | $T | $T<Node>, forceHTMLString?: boolean): boolean;
157
157
  /**
158
158
  * Determines where current dom node is relative to current view port
159
159
  * position.
@@ -176,7 +176,7 @@ export declare class Tools<TElement = HTMLElement> {
176
176
  * @param directiveName - The directive name.
177
177
  * @returns Returns generated selector.
178
178
  */
179
- static generateDirectiveSelector(this: void, directiveName: string): string;
179
+ static generateDirectiveSelector(directiveName: string): string;
180
180
  /**
181
181
  * Removes a directive name corresponding class or attribute.
182
182
  * @param directiveName - The directive name.
@@ -193,7 +193,7 @@ export declare class Tools<TElement = HTMLElement> {
193
193
  * @param directiveName - The directive name.
194
194
  * @returns Returns the corresponding name.
195
195
  */
196
- static getNormalizedDirectiveName(this: void, directiveName: string): string;
196
+ static getNormalizedDirectiveName(directiveName: string): string;
197
197
  /**
198
198
  * Determines a directive attribute value.
199
199
  * @param directiveName - The directive name.
@@ -223,7 +223,7 @@ export declare class Tools<TElement = HTMLElement> {
223
223
  * // returns 'br'
224
224
  * $.Tools.getDomNodeName('&lt;br/&gt;')
225
225
  */
226
- static getDomNodeName(this: void, domNodeSelector: string): null | string;
226
+ static getDomNodeName(domNodeSelector: string): null | string;
227
227
  /**
228
228
  * Converts an object of dom selectors to an array of $ wrapped dom nodes.
229
229
  * Note if selector description as one of "class" or "id" as suffix element
package/dist/Tools.js CHANGED
@@ -1 +1 @@
1
- "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/extends"),function(){try{return require("jquery")}catch(e){}}(),require("@babel/runtime/helpers/construct"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/createClass","@babel/runtime/helpers/extends","jquery","@babel/runtime/helpers/construct"],r);else{var t="object"==typeof exports?r(require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/extends"),function(){try{return require("jquery")}catch(e){}}(),require("@babel/runtime/helpers/construct")):r(e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/createClass"],e["@babel/runtime/helpers/extends"],e.jQuery,e["@babel/runtime/helpers/construct"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__8__){return function(){var __webpack_modules__=[function(e,r,t){t.d(r,{$:function(){return c},NOOP:function(){return f}});var n,o,i,a=t(2),l=t(6),s=t(10);e=t.hmd(e);var u="undefined"==typeof globalThis?void 0===window?void 0===t.g?e:t.g.window?t.g.window:t.g:window:globalThis;u.fetch=null!==(n=null!==(o=u.fetch)&&void 0!==o?o:null==(i=(0,l.optionalRequire)("node-fetch"))?void 0:i.default)&&void 0!==n?n:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,l.currentImport)("node-fetch").then((function(e){var t;return null==e?void 0:(t=e).default.apply(t,r)}))};var c=function(){var e=function(){};if(u.$&&null!==u.$)e=u.$;else{if(!u.$&&u.document)try{e=t(12)}catch(e){}if(null==e||"object"==typeof e&&0===Object.keys(e).length){var r,n=null!=(r=u.document)&&r.querySelectorAll?u.document.querySelectorAll.bind(u.document):function(){return null};(e=function(r){var t=null;if("string"==typeof r?t=n(r):Array.isArray(r)?t=r:("object"==typeof HTMLElement&&r instanceof HTMLElement||1===(null==r?void 0:r.nodeType)&&"string"==typeof(null==r?void 0:r.nodeName))&&(t=[r]),t){if(e.fn)for(var o=0,i=Object.entries(e.fn);o<i.length;o++){var l=i[o],s=l[0],c=l[1];t[s]=c.bind(t)}return t.jquery="clientnode",t}return(0,a.isFunction)(r)&&u.document&&u.document.addEventListener("DOMContentLoaded",r),r}).fn={}}}return e.global||(e.global=u),e.global.window&&(!e.document&&e.global.window.document&&(e.document=e.global.window.document),!e.location&&e.global.window.location&&(e.location=e.global.window.location)),e}(),f=(function(){if(!c.document)return 0;var e,r=c.document.createElement("div");for(e=0;e<10&&(r.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e",0!==r.getElementsByTagName("i").length);e++);if(0===e&&c.global.window.navigator){if(-1!==c.global.window.navigator.appVersion.indexOf("MSIE 10"))return 10;if(![c.global.window.navigator.userAgent.indexOf("Trident"),c.global.window.navigator.userAgent.indexOf("rv:11")].includes(-1))return 11}}(),c.noop?c.noop:function(){});!function(e){if((c=e).global||(c.global=u),c.global.window&&(!c.document&&c.global.window.document&&(c.document=c.global.window.document),!c.location&&c.global.window.location&&(c.location=c.global.window.location)),c.fn&&(c.fn.Tools=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return s.default.controller(s.default,r,this)}),c.Tools=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return s.default.controller(s.default,r)},c.Tools.class=s.default,c.fn){var r=c.fn.prop;c.fn.prop=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if(n.length<2&&this.length&&["#text","#comment"].includes(this[0].nodeName.toLowerCase())&&e in this[0]){if(0===n.length)return this[0][e];if(1===n.length)return this[0][e]=n[0],this}return r.call.apply(r,[this,e].concat(n))}}}(c),c.readyException=function(e){if("string"!=typeof e||"canceled"!==e)throw e}},function(e,r,t){t.d(r,{ABBREVIATIONS:function(){return i},CLASS_TO_TYPE_MAPPING:function(){return a},CONSOLE_METHODS:function(){return n},IGNORE_NULL_AND_UNDEFINED_SYMBOL:function(){return o},PLAIN_OBJECT_PROTOTYPES:function(){return l}});var n=["debug","error","info","log","warn"],o=(Symbol.for("clientnodeValue"),Symbol.for("clientnodeIgnoreNullAndUndefined")),i=["html","id","url","us","de","api","href"],a={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"},l=[Object.prototype]},function(e,r,t){t.d(r,{isArrayLike:function(){return a},isFunction:function(){return u},isMap:function(){return s},isNumeric:function(){return i},isPlainObject:function(){return l}});var n=t(1),o=t(4);var i=function(e){var r=(0,o.determineType)(e);return["number","string"].includes(r)&&!isNaN(e-parseFloat(e))},a=function(e){var r;try{r=Boolean(e)&&e.length}catch(e){return!1}var t,n=(0,o.determineType)(e);if("function"===n||![null,void 0].includes(t=e)&&"object"==typeof t&&t===(null==t?void 0:t.window))return!1;if("array"===n||0===r)return!0;if("number"==typeof r&&r>0)try{return e[r-1],!0}catch(e){}return!1},l=function(e){return null!==e&&"object"==typeof e&&n.PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(e))},s=function(e){return"map"===(0,o.determineType)(e)},u=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{determineType:function(){return determineType},extend:function(){return extend}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),_indicators__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var addDynamicGetterAndSetter=function e(r,t,n,o,i,a){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o={}),void 0===i&&(i=!0),void 0===a&&(a=[Object]),i&&"object"==typeof r)if(Array.isArray(r))for(var l,s=0,u=_createForOfIteratorHelperLoose(r);!(l=u()).done;){var c=l.value;r[s]=e(c,t,n,o,i),s+=1}else if(isMap(r))for(var f,_=_createForOfIteratorHelperLoose(r);!(f=_()).done;){var p=f.value,d=p[0],v=p[1];r.set(d,e(v,t,n,o,i))}else if(isSet(r)){for(var g,m=[],b=_createForOfIteratorHelperLoose(r);!(g=b()).done;){var h=g.value;r.delete(h),m.push(e(h,t,n,o,i))}for(var y=0,O=m;y<O.length;y++){var E=O[y];r.add(E)}}else if(null!==r)for(var A=0,w=Object.entries(r);A<w.length;A++){var P=w[A],N=P[0],L=P[1];r[N]=e(L,t,n,o,i)}if(t||n)for(var x,I,j=function(){var e=I.value;if(null!==r&&"object"==typeof r&&r instanceof e){var i=getProxyHandler(r,o),a=getProxyHandler(r,o);t&&(a.get=function(e,n){return"__target__"===n?r:"__revoke__"===n?function(){return u(),r}:"function"==typeof r[n]?r[n]:t(i.get(s,n),n,r)}),n&&(a.set=function(e,t,o){return i.set(s,t,n(t,o,r))});var l=Proxy.revocable({},a),s=l.proxy,u=l.revoke;return{v:s}}},S=_createForOfIteratorHelperLoose(a);!(I=S()).done;)if(x=j())return x.v;return r},convertCircularObjectToJSON=function(e,r,t){void 0===r&&(r=function(e){return null!=e?e:"__circularReference__"}),void 0===t&&(t=0);var n=new Map;return function(e){return JSON.stringify(e,(function e(t,o){if(null!==o&&"object"==typeof o){var i,a;if(n.has(o))return r(null!==(i=n.get(o))&&void 0!==i?i:null,t,o,n);if(n.set(o,null),Array.isArray(o)){a=[];for(var l,s=_createForOfIteratorHelperLoose(o);!(l=s()).done;){var u=l.value;a.push(e(null,u))}}else{a={};for(var c=0,f=Object.entries(o);c<f.length;c++){var _=f[c],p=_[0],d=_[1];a[p]=e(p,d)}}return n.set(o,a),a}return o}),t)}(e)},convertMapToPlainObject=function e(r,t){if(void 0===t&&(t=!0),"object"==typeof r){if(isMap(r)){for(var n,o={},i=_createForOfIteratorHelperLoose(r);!(n=i()).done;){var a=n.value,l=a[0],s=a[1];t&&(s=e(s,t)),["number","string"].includes(typeof l)&&(o[""+l]=s)}return o}if(t)if(isPlainObject(r))for(var u=0,c=Object.entries(r);u<c.length;u++){var f=c[u],_=f[0],p=f[1];r[_]=e(p,t)}else if(Array.isArray(r))for(var d=0,v=0,g=r;v<g.length;v++){var m=g[v];r[d]=e(m,t),d+=1}else if(isSet(r)){for(var b,h=[],y=_createForOfIteratorHelperLoose(r);!(b=y()).done;){var O=b.value;r.delete(O),h.push(e(O,t))}for(var E=0,A=h;E<A.length;E++){var w=A[E];r.add(w)}}}return r},convertPlainObjectToMap=function e(r,t){if(void 0===t&&(t=!0),"object"==typeof r){if(isPlainObject(r)){for(var n=new Map,o=0,i=Object.entries(r);o<i.length;o++){var a=i[o],l=a[0],s=a[1];t&&(r[l]=e(s,t)),n.set(l,r[l])}return n}if(t)if(Array.isArray(r))for(var u=0,c=0,f=r;c<f.length;c++){var _=f[c];r[u]=e(_,t),u+=1}else if(isMap(r))for(var p,d=_createForOfIteratorHelperLoose(r);!(p=d()).done;){var v=p.value,g=v[0],m=v[1];r.set(g,e(m,t))}else if(isSet(r)){for(var b,h=[],y=_createForOfIteratorHelperLoose(r);!(b=y()).done;){var O=b.value;r.delete(O),h.push(e(O,t))}for(var E=0,A=h;E<A.length;E++){var w=A[E];r.add(w)}}}return r},convertSubstringInPlainObject=function e(r,t,n){for(var o=0,i=Object.entries(r);o<i.length;o++){var a=i[o],l=a[0],s=a[1];isPlainObject(s)?r[l]=e(s,t,n):"string"==typeof s&&(r[l]=s.replace(t,n))}return r},copy=function e(r,t,n,o,i,a,l){if(void 0===t&&(t=-1),void 0===n&&(n=VALUE_COPY_SYMBOL),void 0===o&&(o=null),void 0===i&&(i=!1),void 0===a&&(a=[]),void 0===l&&(l=0),null!==r&&"object"==typeof r)if(o){if(r===o)throw new Error("Can't copy because source and destination are identical.");if(!i&&![void 0,null].includes(r)){var s=a.indexOf(r);if(-1!==s)return a[s];a.push(r)}var u=function(r){if(-1!==t&&t<l+1)return n===VALUE_COPY_SYMBOL?r:n;var o=e(r,t,n,null,i,a,l+1);return i||[void 0,null].includes(r)||"object"!=typeof r||a.push(r),o};if(Array.isArray(r))for(var c,f=_createForOfIteratorHelperLoose(r);!(c=f()).done;){var _=c.value;o.push(u(_))}else if(r instanceof Map)for(var p,d=_createForOfIteratorHelperLoose(r);!(p=d()).done;){var v=p.value,g=v[0],m=v[1];o.set(g,u(m))}else if(r instanceof Set)for(var b,h=_createForOfIteratorHelperLoose(r);!(b=h()).done;){var y=b.value;o.add(u(y))}else for(var O=0,E=Object.entries(r);O<E.length;O++){var A=E[O],w=A[0],P=A[1];try{o[w]=u(P)}catch(e){throw new Error('Failed to copy property value object "'+w+'": '+represent(e))}}}else if(r){if(Array.isArray(r))return e(r,t,n,[],i,a,l);if(r instanceof Map)return e(r,t,n,new Map,i,a,l);if(r instanceof Set)return e(r,t,n,new Set,i,a,l);if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp){var N=/[^/]*$/.exec(r.toString());return(o=new RegExp(r.source,N?N[0]:void 0)).lastIndex=r.lastIndex,o}return"undefined"!=typeof Blob&&r instanceof Blob?r.slice(0,r.size,r.type):e(r,t,n,{},i,a,l)}return o||r},determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return""+e;var r=typeof e;if(["function","object"].includes(r)&&e.toString){var t=_constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING.toString.call(e);if(Object.prototype.hasOwnProperty.call(_constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING,t))return _constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING[t]}return r},equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_extends({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&isFunction(firstValue)&&isFunction(secondValue)||firstValue===secondValue||isNotANumber(firstValue)&&isNotANumber(secondValue)||firstValue instanceof RegExp&&secondValue instanceof RegExp&&firstValue.toString()===secondValue.toString()||firstValue instanceof Date&&secondValue instanceof Date&&(isNaN(firstValue.getTime())&&isNaN(secondValue.getTime())||!isNaN(firstValue.getTime())&&!isNaN(secondValue.getTime())&&firstValue.getTime()===secondValue.getTime())||options.compareBlobs&&"undefined"!==eval("typeof Buffer")&&eval("Buffer").isBuffer&&firstValue instanceof eval("Buffer")&&secondValue instanceof eval("Buffer")&&firstValue.toString("base64")===secondValue.toString("base64"))return!0;if(options.compareBlobs&&"undefined"!=typeof Blob&&firstValue instanceof Blob&&secondValue instanceof Blob)return new Promise((function(e){for(var r=[],t=0,n=[firstValue,secondValue];t<n.length;t++){var o=n[t],i=new FileReader;i.onload=function(t){null===t.target?r.push(null):r.push(t.target.result),2===r.length&&(r[0]===r[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+represent(r[0])+") !== Blob("+represent(r[1])+")"))},i.readAsDataURL(o)}}));if(isPlainObject(firstValue)&&isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||determineType(firstValue)===determineType(secondValue)&&["map","set"].includes(determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i13=0,_arr4=[[firstValue,secondValue],[secondValue,firstValue]];_i13<_arr4.length;_i13++){var _arr4$_i=_arr4[_i13],first=_arr4$_i[0],second=_arr4$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=isMap(first);if(firstIsMap&&(!isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=isSet(first);if(firstIsSet&&(!isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr5[_i14];if(0!==options.deep){var r=equals(e,second[index],_extends({},options,{deep:options.deep-1}));if(!r)return{v:!1};var t=index,n=function(e){var r;return"string"==typeof e?"["+t+"]"+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(null!=r&&r.then&&promises.push(r.then(n)),"string"==typeof r)return{v:n(r)}}index+=1},_ret2,_i14=0,_arr5=first;_i14<_arr5.length;_i14++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step13.value,r=e[0],t=e[1];if(0!==options.deep){var n=equals(t,second.get(r),_extends({},options,{deep:options.deep-1}));if(!n)return{v:!1};var o=function(e){var t;return"string"==typeof e?"get("+represent(r)+")"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=n&&n.then&&promises.push(n.then(o)),"string"==typeof n)return{v:o(n)}}},_ret3,_iterator13=_createForOfIteratorHelperLoose(first),_step13;!(_step13=_iterator13()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step14.value;if(0!==options.deep){for(var r,t=!1,n=[],o=_createForOfIteratorHelperLoose(second);!(r=o()).done;){var i=r.value,a=equals(e,i,_extends({},options,{deep:options.deep-1}));if("boolean"==typeof a){if(a){t=!0;break}}else n.push(a)}var l=function(r){return!!r||!!options.returnReasonIfNotEqual&&">>> {-> "+represent(e)+" not found}"};return t?0:(n.length&&promises.push(new Promise((function(e){Promise.all(n).then((function(r){return e(l(r.some(identity)))}),NOOP)}))),{v:l(!1)})}},_ret4,_iterator14=_createForOfIteratorHelperLoose(first),_step14;!(_step14=_iterator14()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries7[_i15],r=e[0],t=e[1];if(options.properties&&!options.properties.includes(r))return 0;for(var n,o=!1,i=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(n=i()).done;){var a=n.value;if(r.toString().startsWith(a)){o=!0;break}}if(o)return 0;if(0!==options.deep){var l=equals(t,second[r],_extends({},options,{deep:options.deep-1}));if(!l)return{v:!1};var s=function(e){var t;return"string"==typeof e?r+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=l&&l.then&&promises.push(l.then(s)),"string"==typeof l)return{v:s(l)}}},_ret5,_i15=0,_Object$entries7=Object.entries(first);_i15<_Object$entries7.length&&(_ret5=_loop5(),0!==_ret5);_i15++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(r){for(var t,n=_createForOfIteratorHelperLoose(r);!(t=n()).done;){var o=t.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),NOOP)}))}return!!options.returnReasonIfNotEqual&&">>> "+represent(firstValue)+" !== "+represent(secondValue)},evaluateDynamicData=function(e,r,t,n,o){if(void 0===r&&(r={}),void 0===t&&(t="self"),void 0===n&&(n="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;t in r||(r[t]=e);var i=function(e,t){void 0===t&&(t=n);var i=evaluate(e,r,t===o);if(i.error)throw new Error(i.error);return i.result},a=function e(r){if(null!==r&&"object"==typeof r){if(isProxy(r)){for(var t=0,a=[n,o];t<a.length;t++){var l=a[t];if(Object.prototype.hasOwnProperty.call(r,l))return r[l]}r=r.__target__}for(var s=0,u=Object.entries(r);s<u.length;s++){var c=u[s],f=c[0],_=c[1];if([n,o].includes(f))return"undefined"==typeof Proxy?e(i(_)):_;r[f]=e(_)}}return r};r.resolve=a;if(null!==e&&"object"==typeof e){if(Object.prototype.hasOwnProperty.call(e,n))return i(e[n]);if(Object.prototype.hasOwnProperty.call(e,o))return i(e[o],o)}return function e(r){if(null!==r&&"object"==typeof r)for(var t=0,n=Object.entries(r);t<n.length;t++){var o=n[t],i=o[0],a=o[1];if("__target__"!==i&&null!==a&&["function","undefined"].includes(typeof a)){var l=a.__target__;void 0!==l&&(r[i]=l),e(a)}}return r}(a(function e(r){if("object"!=typeof r||null===r||"undefined"==typeof Proxy)return r;for(var t=0,l=Object.entries(r);t<l.length;t++){var s=l[t],u=s[0],c=s[1];if("__target__"!==u&&null!==c&&"object"==typeof c){var f=c;if(e(f),Object.prototype.hasOwnProperty.call(f,n)||Object.prototype.hasOwnProperty.call(f,o)){var _=f;r[u]=new Proxy(f,{get:function(e,r){if("__target__"===r)return e;if("hasOwnProperty"===r)return e[r];for(var t=0,l=[n,o];t<l.length;t++){var s=l[t];if(r===s&&"string"==typeof e[r])return a(i(e[r],s))}var u=a(e);if("toString"===r){var c=i(u);return c[r].bind(c)}if("string"!=typeof r){var f,_=i(u);return null!=(f=_[r])&&f.bind?_[r].bind(_):_[r]}for(var p=0,d=[n,o];p<d.length;p++){var v=d[p];if(Object.prototype.hasOwnProperty.call(e,v))return i(u,v)[r]}return u[r]},ownKeys:function(e){for(var r=0,t=[n,o];r<t.length;r++){var l=t[r];if(Object.prototype.hasOwnProperty.call(e,l))return Object.getOwnPropertyNames(a(i(e[l],l)))}return Object.getOwnPropertyNames(e)}}),r[u].__target__||(r[u].__target__=_)}}}return r}(e)))},removeKeysInEvaluation=function e(r,t){void 0===t&&(t=["__evaluate__","__execute__"]);for(var n=0,o=Object.entries(r);n<o.length;n++){var i=o[n],a=i[0],l=i[1];!t.includes(a)&&t.some((function(e){return Object.prototype.hasOwnProperty.call(r,e)}))?delete r[a]:isPlainObject(l)&&e(l,t)}return r},extend=function e(r,t){for(var n=!1,o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];var l,s=i;r===_constants__WEBPACK_IMPORTED_MODULE_1__.IGNORE_NULL_AND_UNDEFINED_SYMBOL||"boolean"==typeof r?(n=r,l=t):(l=r,null!==t&&"object"==typeof t?s=[t].concat(s):void 0!==t&&(l=t));for(var u,c=function(r,t){return t===r?r:n&&t&&((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(t)||(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(t))?(o=(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(t)?r&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(r)?r:new Map:r&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(r)?r:{},e(n,o,t)):t;var o},f=_createForOfIteratorHelperLoose(s);!(u=f()).done;){var _=u.value,p=typeof l,d=typeof _;if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(l)&&(p+=" Map"),(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(_)&&(d+=" Map"),p===d&&l!==_)if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(l)&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(_))for(var v,g=_createForOfIteratorHelperLoose(_);!(v=g()).done;){var m=v.value,b=m[0],h=m[1];l.set(b,c(l.get(b),h))}else if(null===l||Array.isArray(l)||"object"!=typeof l||null===_||Array.isArray(_)||"object"!=typeof _)l=_;else for(var y=0,O=Object.entries(_);y<O.length;y++){var E=O[y],A=E[0],w=E[1];n===_constants__WEBPACK_IMPORTED_MODULE_1__.IGNORE_NULL_AND_UNDEFINED_SYMBOL&&[null,void 0].includes(w)||(l[A]=c(l[A],w))}else l=_}return l},getSubstructure=function(e,r,t,n){void 0===t&&(t=!0),void 0===n&&(n=".");for(var o,i=[],a=_createForOfIteratorHelperLoose([].concat(r));!(o=a()).done;){var l=o.value;if("string"==typeof l)for(var s,u=_createForOfIteratorHelperLoose(l.split(n));!(s=u()).done;){var c=s.value;if(c){var f=c.match(/(.*?)(\[[0-9]+\])/g);if(f)for(var _,p=_createForOfIteratorHelperLoose(f);!(_=p()).done;){var d=_.value,v=/(.*?)(\[[0-9]+\])/.exec(d),g=v[1],m=v[2];g&&i.push(g),i.push(m.substring(1,m.length-1))}else i.push(c)}}else i=i.concat(l)}for(var b,h=e,y=_createForOfIteratorHelperLoose(i);!(b=y()).done;){var O=b.value;if(null!==h&&"object"==typeof h){if("string"==typeof O&&Object.prototype.hasOwnProperty.call(h,O))h=h[O];else if(isFunction(O))h=O(h);else if(!t)return}else if(!t)return}return h},getProxyHandler=function(e,r){return void 0===r&&(r={}),r=_extends({delete:"[]",get:"[]",has:"[]",set:"[]"},r),{deleteProperty:function(t,n){return"[]"!==r.delete||"string"!=typeof n?e[r.delete](n):(delete e[n],!0)},get:function(t,n){return"[]"===r.get&&"string"==typeof n?e[n]:e[r.get](n)},has:function(t,n){return"[]"===r.has?n in e:e[r.has](n)},set:function(t,n,o){return"[]"!==r.set||"string"!=typeof n?e[r.set](n,o):(e[n]=o,!0)}}},mask=function e(r,t){if(!0===(t=_extends({exclude:!1,include:!0},t)).exclude||Array.isArray(t.exclude)&&0===t.exclude.length||!1===t.include||"object"!=typeof r)return{};var n=Array.isArray(t.exclude)?t.exclude.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):t.exclude,o=Array.isArray(t.include)?t.include.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):t.include,i={};if(isPlainObject(o))for(var a=0,l=Object.entries(o);a<l.length;a++){var s=l[a],u=s[0],c=s[1];Object.prototype.hasOwnProperty.call(r,u)&&(!0===c?i[u]=r[u]:(isPlainObject(c)||Array.isArray(c)&&c.length)&&"object"==typeof r[u]&&(i[u]=e(r[u],{include:c})))}else i=r;if(isPlainObject(n)){for(var f=!1,_=_extends({},i),p=0,d=Object.entries(n);p<d.length;p++){var v=d[p],g=v[0],m=v[1];if(Object.prototype.hasOwnProperty.call(_,g))if(!0===m)f=!0,delete _[g];else if((isPlainObject(m)||Array.isArray(m)&&m.length)&&"object"==typeof _[g]){var b=_[g];_[g]=e(_[g],{exclude:m}),_[g]!==b&&(f=!0)}}f&&(i=_)}return i},modifyObject=function e(r,t,n,o,i,a,l,s,u){if(void 0===n&&(n="__remove__"),void 0===o&&(o="__prepend__"),void 0===i&&(i="__append__"),void 0===a&&(a="__"),void 0===l&&(l="__"),void 0===s&&(s=null),void 0===u&&(u=null),isMap(t)&&isMap(r))for(var c,f=_createForOfIteratorHelperLoose(t);!(c=f()).done;){var _=c.value,p=_[0],d=_[1];r.has(p)&&e(r.get(p),d,n,o,i,a,l,t,p)}else if(null!==t&&"object"==typeof t&&null!==r&&"object"==typeof r)for(var v=0,g=Object.entries(t);v<g.length;v++){var m=g[v],b=m[0],h=m[1],y=NaN;if(Array.isArray(r)&&b.startsWith(a)&&b.endsWith(l)&&((y=parseInt(b.substring(a.length,b.length-l.length),10))<0||y>=r.length)&&(y=NaN),[n,o,i].includes(b)||!isNaN(y)){if(Array.isArray(r))if(b===n)for(var O,E=_createForOfIteratorHelperLoose([].concat(h));!(O=E()).done;){var A=O.value;"string"==typeof A&&A.startsWith(a)&&A.endsWith(l)?r.splice(parseInt(A.substring(a.length,A.length-l.length),10),1):r.includes(A)?r.splice(r.indexOf(A),1):"number"==typeof A&&A<r.length&&r.splice(A,1)}else b===i?r=r.concat(h):b===o?r=[].concat(h).concat(r):null!==r[y]&&"object"==typeof r[y]&&null!==h&&"object"==typeof h?extend(!0,e(r[y],h,n,o,i,a,l),r[y],h):r[y]=h;else if(b===n)for(var w,P=_createForOfIteratorHelperLoose([].concat(h));!(w=P()).done;){var N=w.value;"string"==typeof N&&Object.prototype.hasOwnProperty.call(r,N)&&delete r[N]}delete t[b],s&&"string"==typeof u&&delete s[u]}else null!==r&&Object.prototype.hasOwnProperty.call(r,b)&&(r[b]=e(r[b],h,n,o,i,a,l,t,b))}return r},removeKeyPrefixes=function e(r,t){void 0===t&&(t="#");var n=[].concat(t);if(Array.isArray(r))for(var o,i=0,a=_createForOfIteratorHelperLoose(r.slice());!(o=a()).done;){var l=o.value,s=!1;if("string"==typeof l){for(var u,c=_createForOfIteratorHelperLoose(n);!(u=c()).done;){var f=u.value;if(l.startsWith(f+":")){r.splice(i,1),s=!0;break}}if(s)continue}r[i]=e(l,n),i+=1}else if(isSet(r))for(var _,p=_createForOfIteratorHelperLoose(new Set(r));!(_=p()).done;){var d=_.value,v=!1;if("string"==typeof d){for(var g,m=_createForOfIteratorHelperLoose(n);!(g=m()).done;){var b=g.value;if(d.startsWith(b+":")){r.delete(d),v=!0;break}}if(v)continue}e(d,n)}else if(isMap(r))for(var h,y=_createForOfIteratorHelperLoose(new Map(r));!(h=y()).done;){var O=h.value,E=O[0],A=O[1],w=!1;if("string"==typeof E){for(var P,N=_createForOfIteratorHelperLoose(n);!(P=N()).done;){var L=P.value,x=escapeRegularExpressions(L);if(new RegExp("^"+x+"[0-9]*$").test(E)){r.delete(E),w=!0;break}}if(w)continue}r.set(E,e(A,n))}else if(null!==r&&"object"==typeof r)for(var I=0,j=Object.entries(Object.assign({},r));I<j.length;I++){for(var S,T=j[I],$=T[0],M=T[1],D=!1,R=_createForOfIteratorHelperLoose(n);!(S=R()).done;){var C=S.value,B=escapeRegularExpressions(C);if(new RegExp("^"+B+"[0-9]*$").test($)){delete r[$],D=!0;break}}D||(r[$]=e(M,n))}return r},represent=function e(r,t,n,o,i){if(void 0===t&&(t=" "),void 0===n&&(n=""),void 0===o&&(o="__maximum_number_of_levels_reached__"),void 0===i&&(i=8),0===i)return""+o;if(null===r)return"null";if(void 0===r)return"undefined";if("string"==typeof r)return'"'+r.replace(/\n/g,"\n"+n)+'"';if(isNumeric(r)||"boolean"==typeof r)return""+r;if(Array.isArray(r)){for(var a,l="[",s=!1,u=_createForOfIteratorHelperLoose(r);!(a=u()).done;){s&&(l+=","),l+="\n"+n+t+e(a.value,t,""+n+t,o,i-1),s=!0}return s&&(l+="\n"+n),l+="]"}if(isMap(r)){for(var c,f="",_=!1,p=_createForOfIteratorHelperLoose(r);!(c=p()).done;){var d=c.value,v=d[0],g=d[1];_&&(f+=",\n"+n+t),f+=e(v,t,""+n+t,o,i-1)+" -> "+e(g,t,""+n+t,o,i-1),_=!0}return _||(f="EmptyMap"),f}if(isSet(r)){for(var m,b="{",h=!1,y=_createForOfIteratorHelperLoose(r);!(m=y()).done;){h&&(b+=","),b+="\n"+n+t+e(m.value,t,""+n+t,o,i-1),h=!0}return h?b+="\n"+n+"}":b="EmptySet",b}if(isFunction(r))return"__function__";for(var O,E="{",A=!1,w=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(r).sort());!(O=w()).done;){var P=O.value;A&&(E+=","),E+="\n"+n+t+P+": "+e(r[P],t,""+n+t,o,i-1),A=!0}return A&&(E+="\n"+n),E+="}"},sort=function(e){var r=[];if(Array.isArray(e))for(var t=0;t<e.length;t++)r.push(t);else if("object"==typeof e)if(isMap(e))for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var i=n.value;r.push(i[0])}else if(null!==e)for(var a=0,l=Object.keys(e);a<l.length;a++){var s=l[a];r.push(s)}return r.sort()},unwrapProxy=function e(r,t){if(void 0===t&&(t=new Set),null!==r&&"object"==typeof r){if(t.has(r))return r;try{isFunction(r.__revoke__)&&(isProxy(r)&&(r=r.__target__),r.__revoke__())}catch(e){return r}finally{t.add(r)}if(Array.isArray(r))for(var n,o=0,i=_createForOfIteratorHelperLoose(r);!(n=i()).done;){var a=n.value;r[o]=e(a,t),o+=1}else if(isMap(r))for(var l,s=_createForOfIteratorHelperLoose(r);!(l=s()).done;){var u=l.value,c=u[0],f=u[1];r.set(c,e(f,t))}else if(isSet(r)){for(var _,p=[],d=_createForOfIteratorHelperLoose(r);!(_=d()).done;){var v=_.value;r.delete(v),p.push(e(v,t))}for(var g=0,m=p;g<m.length;g++){var b=m[g];r.add(b)}}else for(var h=0,y=Object.entries(r);h<y.length;h++){var O=y[h],E=O[0],A=O[1];r[E]=e(A,t)}}return r}},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{camelCaseToDelimited:function(){return camelCaseToDelimited},capitalize:function(){return capitalize},compressStyleValue:function(){return compressStyleValue},delimitedToCamelCase:function(){return delimitedToCamelCase},format:function(){return format},normalizeDomNodeSelector:function(){return normalizeDomNodeSelector}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__),_constants__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var ALLOWED_VARIABLE_SYMBOLS="0-9a-zA-Z_$",ALLOWED_STARTING_VARIABLE_SYMBOLS="a-zA-Z_$",escapeRegularExpressions=function(e,r){if(void 0===r&&(r=[]),1===e.length&&!SPECIAL_REGEX_SEQUENCES.includes(e))return e;r.includes("\\")||e.replace(/\\/g,"\\\\");for(var t,n=_createForOfIteratorHelperLoose(SPECIAL_REGEX_SEQUENCES);!(t=n()).done;){var o=t.value;r.includes(o)||(e=e.replace(new RegExp("\\"+o,"g"),"\\"+o))}return e},convertToValidVariableName=function(e){return["class","default"].includes(e)?"_"+e:e.toString().replace(new RegExp("^[^"+ALLOWED_STARTING_VARIABLE_SYMBOLS+"]+"),"").replace(new RegExp("[^"+ALLOWED_VARIABLE_SYMBOLS+"]+([a-zA-Z])","g"),(function(e,r){return r.toUpperCase()}))},encodeURIComponentExtended=function(e,r){return void 0===r&&(r=!1),encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,r?"%20":"+")},addSeparatorToPath=function(e,r){return void 0===r&&(r="/"),(e=e.trim()).substring(e.length-1)!==r&&e.length?e+r:e},hasPathPrefix=function(e,r,t){var n;(void 0===e&&(e="/admin"),void 0===r)&&(r=(null==(n=$.location)?void 0:n.pathname)||"");return void 0===t&&(t="/"),"string"==typeof e&&(e.endsWith(t)||(e+=t),r===e.substring(0,e.length-t.length)||r.startsWith(e))},getDomainName=function(e,r){var t,n;void 0===e&&(e=(null==(t=$.location)?void 0:t.href)||"");void 0===r&&(r=(null==(n=$.location)?void 0:n.hostname)||"");var o=/^([a-z]*:?\/\/)?([^/]+?)(?::[0-9]+)?(?:\/.*|$)/i.exec(e);return o&&o.length>2&&o[1]&&o[2]?o[2]:r},getPortNumber=function(e,r){var t,n,o;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||"");void 0===r&&(r=null!=(o=$.location)&&o.port?parseInt($.location.port):null);var i=/^(?:[a-z]*:?\/\/[^/]+?)?[^/]+?:([0-9]+)/i.exec(e);return i&&i.length>1?parseInt(i[1],10):null!==r?r:null!=(t=$.location)&&t.port&&parseInt($.location.port,10)?parseInt($.location.port,10):"https"===getProtocolName(e)?443:80},getProtocolName=function(e,r){var t,n;void 0===e&&(e=(null==(t=$.location)?void 0:t.href)||"");void 0===r&&(r=(null==(n=$.location)?void 0:n.protocol)&&$.location.protocol.substring(0,$.location.protocol.length-1)||"");var o=/^([a-z]+):\/\//i.exec(e);return o&&o.length>1&&o[1]?o[1]:r},getURLParameter=function(e,r,t,n,o,i,a){var l,s,u;(void 0===e&&(e=null),void 0===r&&(r=!1),void 0===t&&(t=null),void 0===n&&(n="$"),void 0===o&&(o="!"),void 0===i&&(i=null),void 0===a)&&(a=null!==(s=null==(u=$.location)?void 0:u.hash)&&void 0!==s?s:"");var c=null!==(l=a)&&void 0!==l?l:"#",f="";if(i)f=i;else if(o&&c.startsWith(o)){var _,p=c.indexOf("#");-1===p?(_=c.substring(o.length),c=""):(_=c.substring(o.length,p),c=c.substring(p));var d=_.indexOf("?");-1!==d&&(f=_.substring(d))}else $.location&&(f=$.location.search||"");var v=t||f,g="&"===v;if(g||"#"===v){var m="";try{m=decodeURIComponent(c)}catch(e){}var b=m.indexOf(n);-1===b?v="":(v=m.substring(b)).startsWith(n)&&(v=v.substring(n.length))}else v.startsWith("?")&&(v=v.substring(1));var h=v?v.split("&"):[];f=f.substring(1),g&&f&&(h=h.concat(f.split("&")));for(var y,O=[],E=_createForOfIteratorHelperLoose(h);!(y=E()).done;){var A=y.value,w=A.split("="),P=void 0;try{P=decodeURIComponent(w[0])}catch(e){P=""}try{A=decodeURIComponent(w[1])}catch(e){A=""}O.push(P),r?Object.prototype.hasOwnProperty.call(O,P)&&Array.isArray(O[P])?O[P].push(A):O[P]=[A]:O[P]=A}return e?Object.prototype.hasOwnProperty.call(O,e)?O[e]:null:O},serviceURLEquals=function(e,r){var t;void 0===r&&(r=(null==(t=$.location)?void 0:t.href)||"");var n=getDomainName(e,""),o=getProtocolName(e,""),i=getPortNumber(e);return!(""!==n&&n!==getDomainName(r)||""!==o&&o!==getProtocolName(r)||null!==i&&i!==getPortNumber(r))},normalizeURL=function(e){return"string"==typeof e?(e=e.replace(/^:?\/+/,"").replace(/\/+$/,"").trim()).startsWith("http")?e:"http://"+e:""},representURL=function(e){return"string"==typeof e?e.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim():""},camelCaseToDelimited=function(e,r,t){void 0===r&&(r="-"),void 0===t&&(t=null),t||(t=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS);var n=maskForRegularExpression(r);if(t.length){for(var o,i="",a=_createForOfIteratorHelperLoose(t);!(o=a()).done;){i&&(i+="|"),i+=o.value.toUpperCase()}e=e.replace(new RegExp("("+i+")("+i+")","g"),"$1"+r+"$2")}return(e=e.replace(new RegExp("([^"+n+"])([A-Z][a-z]+)","g"),"$1"+r+"$2")).replace(/([a-z0-9])([A-Z])/g,"$1"+r+"$2").toLowerCase()},capitalize=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},compressStyleValue=function(e){return e.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()},decodeHTMLEntities=function(e){if($.document){var r=$.document.createElement("textarea");return r.innerHTML=e,r.value}return null},delimitedToCamelCase=function(e,r,t,n,o){void 0===r&&(r="-"),void 0===t&&(t=null),void 0===n&&(n=!1),void 0===o&&(o=!1);var i,a=maskForRegularExpression(r);if(t||(t=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS),n)i=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS.join("|");else{i="";for(var l,s=_createForOfIteratorHelperLoose(t);!(l=s()).done;){var u=l.value;i&&(i+="|"),i+=capitalize(u)+"|"+u}}var c=e.startsWith(r);return c&&(e=e.substring(r.length)),e=e.replace(new RegExp("("+a+")("+i+")("+a+"|$)","g"),(function(e,r,t,n){return r+t.toUpperCase()+n})),o&&(a="(?:"+a+")+"),e=e.replace(new RegExp(a+"([a-zA-Z0-9])","g"),(function(e,r){return r.toUpperCase()})),c&&(e=r+e),e},compile=function(e,r,t,n,o){var i,a;void 0===r&&(r=[]),void 0===t&&(t=!1),void 0===n&&(n=!0),void 0===o&&(o={});for(var l,s,u=Object.keys(globalThis).concat("globalThis").filter((function(e){return new RegExp("^["+ALLOWED_STARTING_VARIABLE_SYMBOLS+"]["+ALLOWED_VARIABLE_SYMBOLS+"]*$").test(e)})),c={error:null,globalNames:u,globalNamesUndefinedList:u.map((function(){})),originalScopeNames:Array.isArray(r)?r:"string"==typeof r?[r]:Object.keys(r),scopeNameMapping:{},scopeNames:[],templateFunction:function(){}},f=_createForOfIteratorHelperLoose(c.originalScopeNames);!(l=f()).done;){var _=l.value,p=convertToValidVariableName(_);c.scopeNameMapping[_]=p,c.scopeNames.push(p)}if(0!==MAXIMAL_SUPPORTED_INTERNET_EXPLORER_VERSION.value)if(null!=(i=$.global.Babel)&&i.transform)e=null==(a=$.global.Babel)?void 0:a.transform("("+e+")",{plugins:["transform-template-literals"]}).code;else if(e.startsWith("`")&&e.endsWith("`")){var d="####",v="`"===(e=e.replace(/\\\$/g,d).replace(/^`\$\{([\s\S]+)\}`$/,"String($1)").replace(/^`([^']+)`$/,"'$1'").replace(/^`([^"]+)`$/,'"$1"')).charAt(0)?"'":e.charAt(0);e=e.replace(/\$\{((([^{]*{[^}]*}[^}]*})|[^{}]+)+)\}/g,v+"+($1)+"+v).replace(/^`([\s\S]+)`$/,v+"$1"+v).replace(/\n+/g,"").replace(new RegExp(d,"g"),"\\$")}try{s=_construct(Function,(n?c.globalNames:[]).concat(c.scopeNames,[(t?"":"return ")+e]))}catch(r){c.error='Given expression "'+e+'" could not be compiled width given scope names "'+c.scopeNames.join('", "')+'": '+represent(r)}return s&&(s=s.bind(o),c.templateFunction=n?function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return s.apply(void 0,c.globalNamesUndefinedList.concat(r))}:s),c},evaluate=function(e,r,t,n,o){void 0===r&&(r={}),void 0===t&&(t=!1),void 0===n&&(n=!0),void 0===o&&(o={});var i=compile(e,r,t,n,o),a=i.error,l=i.originalScopeNames,s=i.scopeNames,u=i.templateFunction,c={compileError:null,error:null,result:void 0,runtimeError:null};if(a)return c.compileError=c.error=a,c;try{c.result=u.apply(void 0,l.map((function(e){return r[e]})))}catch(a){c.error=c.runtimeError='Given expression "'+e+'" could not be evaluated with given scope names "'+s.join('", "')+'": '+represent(a)}return c},findNormalizedMatchRange=function(e,r,t,n){void 0===t&&(t=function(e){return(""+e).toLowerCase()}),void 0===n&&(n=["<",">"]);var o=t(r),i=t(e),a="string"==typeof e?e:i;if(i&&o)for(var l=!1,s=0;s<a.length;s+=1)if(l)a.charAt(s)===n[1]&&(l=!1);else if(Array.isArray(n)&&a.charAt(s)===n[0])l=!0;else if(t(a.substring(s)).startsWith(o)){if(1===o.length)return[s,s+1];for(var u=a.length;u>s;u-=1)if(!t(a.substring(s,u)).startsWith(o))return[s,u+1]}return null},fixKnownEncodingErrors=function(e){for(var r=0,t=Object.entries({"Ã\\x84":"Ä","Ã\\x96":"Ö","Ã\\x9c":"Ü","ä":"ä","ö":"ö","ü":"ü","Ã\\x9f":"ß","\\x96":"-"});r<t.length;r++){var n=t[r],o=n[0],i=n[1];e=e.replace(new RegExp(o,"g"),i)}return e},format=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];t.unshift(e);for(var o=0,i=0,a=t;i<a.length;i++){var l=a[i];e=e.replace(new RegExp("\\{"+o+"\\}","gm"),""+l),o+=1}return e},getEditDistance=function(e,r){for(var t=Array(r.length+1).fill(null).map((function(){return Array(e.length+1).fill(null)})),n=0;n<=e.length;n++)t[0][n]=n;for(var o=0;o<=r.length;o++)t[o][0]=o;for(var i=1;i<=r.length;i++)for(var a=1;a<=e.length;a++){var l=e[a-1]===r[i-1]?0:1;t[i][a]=Math.min(t[i][a-1]+1,t[i-1][a]+1,t[i-1][a-1]+l)}return t[r.length][e.length]},maskForRegularExpression=function(e){return e.replace(/([\\|.*$^+[\]()?\-{}])/g,"\\$1")},lowerCase=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},mark=function(e,r,t){if(void 0===t&&(t={}),"string"==typeof e&&null!=r&&r.length){t=_extends({marker:'<span class="tools-mark">{1}</span>',normalizer:function(e){return(""+e).toLowerCase()},skipTagDelimitedParts:["<",">"]},t),e=e.trim();for(var n,o=[],i=[].concat(r),a=0,l=_createForOfIteratorHelperLoose(i);!(n=l()).done;){var s=n.value;i[a]=t.normalizer(s).trim(),a+=1}for(var u=e,c=0;;){for(var f,_=null,p=null,d=_createForOfIteratorHelperLoose(i);!(f=d()).done;){var v=f.value;(p=findNormalizedMatchRange(u,v,t.normalizer,t.skipTagDelimitedParts))&&(!_||p[0]<_[0])&&(_=p)}if(!_){u.length&&o.push(u);break}_[0]>0&&o.push(e.substring(c,c+_[0])),o.push("string"==typeof t.marker?format(t.marker,e.substring(c+_[0],c+_[1])):t.marker(e.substring(c+_[0],c+_[1]),o)),c+=_[1],u=e.substring(c)}return"string"==typeof t.marker?o.join(""):o}return e},normalizePhoneNumber=function(e,r){if(void 0===r&&(r=!0),"string"==typeof e||"number"==typeof e){var t=(""+e).trim();if(t=t.replace(/^[^0-9]*\+/,"00"),r)return t.replace(/[^0-9]+/g,"");var n="(?:[ /\\-]+)";t=(t=t.replace(new RegExp("^(.+?)"+n+"?\\(0\\)"+n+"?(.+)$"),"$1-$2")).replace(new RegExp("^(.+?)"+n+"?\\((.+)\\)"+n+"?(.+)$"),"$1-$2-$3");var o=new RegExp("^(00[0-9]+)"+n+"([0-9]+)"+n+"(.+)$");if(o.test(t))t=t.replace(o,(function(e,r,t,n){return r+"-"+t+"-"+sliceAllExceptNumberAndLastSeparator(n)}));else{var i=function(e,r,t){return r.replace(/ +/,"")+"-"+sliceAllExceptNumberAndLastSeparator(t)};t=(o=/^([0-9 ]+)[/-](.+)$/).test(t)?t.replace(o,i):t.replace(new RegExp("^([0-9]+)"+n+"(.+)$"),i)}return t.replace(/[^0-9-]+/g,"").replace(/^-+$/,"")}return""},normalizeZipCode=function(e){return"string"==typeof e||"number"==typeof e?(""+e).trim().replace(/[^0-9]+/g,""):""},parseEncodedObject=function parseEncodedObject(serializedObject,scope,name){var _evaluate;void 0===scope&&(scope={}),void 0===name&&(name="scope"),serializedObject.endsWith(".json")&&isFileSync(serializedObject)&&(serializedObject=readFileSync(serializedObject,{encoding:DEFAULT_ENCODING})),serializedObject=serializedObject.trim(),serializedObject.startsWith("{")||(serializedObject=eval("Buffer").from(serializedObject,"base64").toString(DEFAULT_ENCODING));var result=evaluate(serializedObject,(_evaluate={},_evaluate[name]=scope,_evaluate));return"object"==typeof result.result?result.result:null},representPhoneNumber=function(e){if(["number","string"].includes(determineType(e))&&e){var r=(""+e).replace(/^(00|\+)([0-9]+)-([0-9-]+)$/,"+$2 (0) $3");return(r=(r=r.replace(/^0([1-9][0-9-]+)$/,"+49 (0) $1")).replace(/^([^-]+)-([0-9-]+)$/,"$1 / $2")).replace(/^(.*?)([0-9]+)(-?[0-9]*)$/,(function(e,r,t,n){return r+(t.length%2==0?t.replace(/([0-9]{2})/g,"$1 "):t.replace(/^([0-9]{3})([0-9]+)$/,(function(e,r,t){return r+" "+t.replace(/([0-9]{2})/g,"$1 ").trim()}))+n).trim()})).trim()}return""},sliceAllExceptNumberAndLastSeparator=function(e){var r=/^(.*[0-9].*)-([0-9]+)$/;return r.test(e)?e.replace(r,(function(e,r,t){return r.replace(/[^0-9]+/g,"")+"-"+t})):e.replace(/[^0-9]+/g,"")},normalizeDomNodeSelector=function(e,r){void 0===r&&(r="");var t="";return r&&(t=r+" "),e.startsWith(t)||e.trim().startsWith("<")||(e=t+e),e.trim()}},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{currentImport:function(){return currentImport},optionalRequire:function(){return optionalRequire}});var currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}}},function(e,r,t){t.d(r,{makeArray:function(){return a}});t(3);var n=t(2);function o(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return i(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var a=function(e){var r=[];return[null,void 0].includes(e)||((0,n.isArrayLike)(Object(e))?l(r,"string"==typeof e?[e]:e):r.push(e)),r},l=function(e,r){Array.isArray(r)||(r=Array.prototype.slice.call(r));for(var t,n=o(r);!(t=n()).done;){var i=t.value;e.push(i)}return e}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e,r,t){t.r(r),t.d(r,{BoundTools:function(){return m},JAVASCRIPT_DEPENDENT_CONTENT_HANDLED:function(){return v},Tools:function(){return g}});var n=t(9),o=t.n(n),i=t(11),a=t.n(i),l=t(7),s=t(1),u=t(0),c=t(2),f=t(4),_=t(5);function p(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return d(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var v=!1,g=function(){function e(r){var t=this;this.$domNode=null,this.options=void 0,this._bindEventHelper=function(e,r,n){void 0===r&&(r=!1),n||(n=r?"off":"on");var o=(0,u.$)(e[0]);if("object"===(0,f.determineType)(e[1])&&!r){for(var i=0,a=Object.entries(e[1]);i<a.length;i++){var s=a[i],c=s[0],_=s[1];t[n](o,c,_)}return o}return 0===(e=(0,l.makeArray)(e).slice(1)).length&&e.push(""),e[0].includes(".")||(e[0]+="."+t.options.name),o[n].apply(o,e)},r&&(this.$domNode=r),this.options=e._defaultOptions,u.$.global.console||(u.$.global.console={});for(var n,o=p(s.CONSOLE_METHODS);!(n=o()).done;){var i=n.value;i in u.$.global.console||(u.$.global.console[i]=u.NOOP)}}var r=e.prototype;return r.destructor=function(){var e;return null!=(e=u.$.fn)&&e.off&&this.off("*"),this},r.initialize=function(r){return void 0===r&&(r={}),this.options=(0,f.extend)(!0,{},e._defaultOptions,r),this.options.domNodeSelectorPrefix=(0,_.format)(this.options.domNodeSelectorPrefix,(0,_.camelCaseToDelimited)(null===this.options.domNodeSelectorInfix?"":this.options.domNodeSelectorInfix||this.options.name)),this.renderJavaScriptDependentVisibility(),this},e.controller=function(r,t,n){void 0===n&&(n=null),"function"==typeof r&&((r=new r(n))instanceof e||(r=(0,f.extend)(!0,new e,r)));var o,i=(0,l.makeArray)(t);if(i.length&&"string"==typeof i[0]&&i[0]in r)return(0,c.isFunction)(r[i[0]])?(o=r)[i[0]].apply(o,i.slice(1)):r[i[0]];if(0===i.length||"object"==typeof i[0]){var a,s,u=(a=r).initialize.apply(a,i),_=r.options.name||r.constructor.name;return null!=(s=n)&&s.data&&!n.data(_)&&n.data(_,r),u}if(i.length&&"string"==typeof i[0])throw new Error('Method "'+i[0]+'" does not exist on $-extended dom node "'+r+'".')},r.log=function(e,r,t,n){if(void 0===r&&(r=!1),void 0===t&&(t=!1),void 0===n&&(n="info"),this.options.logging||r||["error","critical"].includes(n)){for(var o,i=arguments.length,a=new Array(i>4?i-4:0),l=4;l<i;l++)a[l-4]=arguments[l];if(t?o=e:"string"==typeof e?o=this.options.name+" ("+n+"): "+_.format.apply(void 0,[e].concat(a)):(0,c.isNumeric)(e)||"boolean"==typeof e?o=this.options.name+" ("+n+"): "+e.toString():(this.log(",--------------------------------------------,"),this.log(e,r,!0),this.log("'--------------------------------------------'")),o)if(u.$.global.console&&n in u.$.global.console&&u.$.global.console[n]!==u.NOOP)u.$.global.console[n](o);else{var s;null!=(s=u.$.global.window)&&s.alert&&u.$.global.window.alert(o)}}},r.info=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"info"].concat(t))},r.debug=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"debug"].concat(t))},r.error=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"error"].concat(t))},r.critical=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"warn"].concat(t))},r.warn=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"warn"].concat(t))},e.show=function(r,t,n){void 0===t&&(t=3),void 0===n&&(n=0);var o="";if("object"===(0,f.determineType)(r)){for(var i=0,a=Object.entries(r);i<a.length;i++){var l=a[i],s=l[0],u=l[1];o+=s.toString()+": ",o+=n<=t?e.show(u,t,n+1):""+u,o+="\n"}return o.trim()}return(o=(""+r).trim())+' (Type: "'+(0,f.determineType)(r)+'")'},e.isEquivalentDOM=function(e,r,t){if(void 0===t&&(t=!1),e===r)return!0;if(e&&r){for(var n=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,o={first:e,second:r},i={first:(0,u.$)("<dummy>"),second:(0,u.$)("<dummy>")},a=0,l=Object.entries(o);a<l.length;a++){var s=l[a],c=s[0],f=s[1];if("string"==typeof f&&(t||f.startsWith("<")&&f.endsWith(">")&&f.length>=3||n.test(f)))i[c]=(0,u.$)("<div>"+f+"</div>");else try{var _=(0,u.$)(f).clone();if(!_.length)return!1;i[c]=(0,u.$)("<div>").append(_)}catch(e){return!1}}if(i.first.length&&i.first.length===i.second.length){i.first=i.first.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode,i.second=i.second.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode;for(var p=0,d=0,v=i.first;d<v.length;d++){if(!v[d].isEqualNode(i.second[p]))return!1;p+=1}return!0}}return!1},r.getPositionRelativeToViewport=function(e){void 0===e&&(e={});var r=(0,f.extend)({bottom:0,left:0,right:0,top:0},e),t=this.$domNode;if(u.$.global.window&&null!=t&&t.length&&t[0]&&"getBoundingClientRect"in t[0]){var n=(0,u.$)(u.$.global.window),o=t[0].getBoundingClientRect();if(o){if(o.top&&o.top+r.top<0)return"above";if(o.left+r.left<0)return"left";var i=n.height();if("number"==typeof i&&i<o.bottom+r.bottom)return"below";var a=n.width();if("number"==typeof a&&a<o.right+r.right)return"right"}}return"in"},e.generateDirectiveSelector=function(e){var r=(0,_.camelCaseToDelimited)(e);return r+", ."+r+", ["+r+"], [data-"+r+"], [x-"+r+"]"+(r.includes("-")?", ["+r.replace(/-/g,"\\:")+"], ["+r.replace(/-/g,"_")+"]":"")},r.removeDirective=function(e){if(null===this.$domNode)return null;var r=(0,_.camelCaseToDelimited)(e);return this.$domNode.removeClass(r).removeAttr(r).removeAttr("data-"+r).removeAttr("x-"+r).removeAttr(r.replace("-",":")).removeAttr(r.replace("-","_"))},r.renderJavaScriptDependentVisibility=function(){!v&&u.$.document&&"filter"in u.$&&"hide"in u.$&&"show"in u.$&&((0,u.$)(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.hideJavaScriptEnabled).filter((function(e,r){return!(0,u.$)(r).data("javaScriptDependentContentHide")})).data("javaScriptDependentContentHide",!0).hide(),(0,u.$)(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.showJavaScriptEnabled).filter((function(e,r){return!(0,u.$)(r).data("javaScriptDependentContentShow")})).data("javaScriptDependentContentShow",!0).show(),v=!0)},e.getNormalizedDirectiveName=function(e){for(var r,t=p(["-",":","_"]);!(r=t()).done;){for(var n,o=r.value,i=!1,a=p(["data"+o,"x"+o]);!(n=a()).done;){var l=n.value;if(e.startsWith(l)){e=e.substring(l.length),i=!0;break}}if(i)break}for(var s,u=p(["-",":","_"]);!(s=u()).done;){var c=s.value;e=(0,_.delimitedToCamelCase)(e,c)}return e},r.getDirectiveValue=function(e){if(null===this.$domNode)return null;for(var r=(0,_.camelCaseToDelimited)(e),t=0,n=[r,"data-"+r,"x-"+r,r.replace("-","\\:")];t<n.length;t++){var o=n[t],i=this.$domNode.attr(o);if("string"==typeof i)return i}return null},r.sliceDomNodeSelectorPrefix=function(e){return this.options.domNodeSelectorPrefix&&e.startsWith(this.options.domNodeSelectorPrefix)?e.substring(this.options.domNodeSelectorPrefix.length).trim():e},e.getDomNodeName=function(e){var r=/^<?([a-zA-Z]+).*>?.*/.exec(e);return r?r[1]:null},r.grabDomNodes=function(e,r){var t=this,n={};if(e)if(r)for(var o=(0,u.$)(r),i=0,a=Object.entries(e);i<a.length;i++){var l=a[i],s=l[0],c=l[1];n[s]=o.find(c)}else for(var f=0,p=Object.entries(e);f<p.length;f++){var d=p[f],v=d[0],g=d[1],m=/, */.exec(g);m&&(e[v]+=g.split(m[0]).map((function(e){return", "+(0,_.normalizeDomNodeSelector)(e,t.options.domNodeSelectorPrefix)})).join("")),n[v]=(0,u.$)((0,_.normalizeDomNodeSelector)(e[v],this.options.domNodeSelectorPrefix))}return this.options.domNodeSelectorPrefix&&(n.parent=(0,u.$)(this.options.domNodeSelectorPrefix)),u.$.global.window&&(n.window=(0,u.$)(u.$.global.window),u.$.document&&(n.document=(0,u.$)(u.$.document))),n},r.fireEvent=function(e,r,t){var n;void 0===r&&(r=!1),void 0===t&&(t=this);for(var o="on"+(0,_.capitalize)(e),i=t,a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];return r||(o in i?i[o].apply(i,l):"_"+o in i&&i["_"+o].apply(i,l)),!i.options||!(o in i.options)||i.options[o]===u.NOOP||(n=i.options[o]).call.apply(n,[this].concat(l))},r.on=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return this._bindEventHelper(r,!1)},r.off=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return this._bindEventHelper(r,!0)},a()(e,[{key:"normalizedClassNames",get:function(){if(this.$domNode){var e="class";this.$domNode.find("*").addBack().each((function(r,t){var n=(0,u.$)(t),o=n.attr(e);o?n.attr(e,(o.split(" ").sort()||[]).join(" ")):n.is("[class]")&&n.removeAttr(e)}))}return this}},{key:"normalizedStyles",get:function(){if(this.$domNode){var e="style";this.$domNode.find("*").addBack().each((function(r,t){var n=(0,u.$)(t),o=n.attr(e);o?n.attr(e,(0,_.compressStyleValue)(((0,_.compressStyleValue)(o).split(";").sort()||[]).map((function(e){return e.trim()})).join(";"))):n.is("[style]")&&n.removeAttr(e)}))}return this}},{key:"style",get:function(){var e={},r=this.$domNode;if(null!=r&&r.length){var t,n;if(null!=(t=u.$.global.window)&&t.getComputedStyle&&(n=u.$.global.window.getComputedStyle(r[0],null))){if("length"in n)for(var o=0;o<n.length;o+=1)e[(0,_.delimitedToCamelCase)(n[o])]=n.getPropertyValue(n[o]);else for(var i=0,a=Object.entries(n);i<a.length;i++){var l=a[i],s=l[0],c=l[1];e[(0,_.delimitedToCamelCase)(s)]=c||n.getPropertyValue(s)}return e}if(n=r[0].style)for(var f in n)"function"!=typeof n[f]&&(e[f]=n[f])}return e}},{key:"text",get:function(){return this.$domNode?this.$domNode.clone().children().remove().end().text():""}}])}();g._defaultOptions={domNodes:{hideJavaScriptEnabled:".tools-hidden-on-javascript-enabled",showJavaScriptEnabled:".tools-visible-on-javascript-enabled"},domNodeSelectorInfix:"",domNodeSelectorPrefix:"body",logging:!1,name:"Tools"};var m=function(e){function r(t){for(var n,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(n=e.call.apply(e,[this,t].concat(i))||this).$domNode=void 0,n.self=r,n.$domNode=t,n}return o()(r,e),r}(g);r.default=g},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){if(void 0===__WEBPACK_EXTERNAL_MODULE__12__){var r=new Error("Cannot find module 'undefined'");throw r.code="MODULE_NOT_FOUND",r}e.exports=__WEBPACK_EXTERNAL_MODULE__12__}],__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];if(void 0!==r)return r.exports;var t=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](t,t.exports,__webpack_require__),t.loaded=!0,t.exports}__webpack_require__.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=function(e,r){for(var t in r)__webpack_require__.o(r,t)&&!__webpack_require__.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(10);return __webpack_exports__}()}));
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/extends"),function(){try{return require("jquery")}catch(e){}}(),require("@babel/runtime/helpers/construct"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/createClass","@babel/runtime/helpers/extends","jquery","@babel/runtime/helpers/construct"],r);else{var t="object"==typeof exports?r(require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/extends"),function(){try{return require("jquery")}catch(e){}}(),require("@babel/runtime/helpers/construct")):r(e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/createClass"],e["@babel/runtime/helpers/extends"],e.jQuery,e["@babel/runtime/helpers/construct"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__8__){return function(){var __webpack_modules__=[function(e,r,t){t.d(r,{$:function(){return u},NOOP:function(){return c}});var n,o,i=t(2),a=t(6),l=t(10);e=t.hmd(e);var s="undefined"==typeof globalThis?void 0===window?void 0===t.g?e:Object.prototype.hasOwnProperty.call(t.g,"window")?t.g.window:t.g:window:globalThis;s.fetch=Object.prototype.hasOwnProperty.call(s,"fetch")?s.fetch.bind(s):null!==(n=null==(o=(0,a.optionalRequire)("node-fetch"))?void 0:o.default)&&void 0!==n?n:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return a.currentImport?(0,a.currentImport)("node-fetch").then((function(e){var t;return(t=e).default.apply(t,r)})):null};var u=function(){var e=function(){};if(Object.prototype.hasOwnProperty.call(s,"$"))e=s.$;else{if(Object.prototype.hasOwnProperty.call(s,"document"))try{e=t(12)}catch(e){}if(void 0===e||"object"==typeof e&&0===Object.keys(e).length){var r,n=null!=(r=s.document)&&r.querySelectorAll?s.document.querySelectorAll.bind(s.document):function(){return null};(e=function(r){var t=null;if("string"==typeof r?t=n(r):Array.isArray(r)?t=r:("object"==typeof HTMLElement&&r instanceof HTMLElement||1===(null==r?void 0:r.nodeType)&&"string"==typeof r.nodeName)&&(t=[r]),t){if(Object.prototype.hasOwnProperty.call(e,"fn"))for(var o=0,a=Object.entries(e.fn);o<a.length;o++){var l=a[o],u=l[0],c=l[1];t[u]=c.bind(t)}return t.jquery="clientnode",t}return(0,i.isFunction)(r)&&s.document&&s.document.addEventListener("DOMContentLoaded",r),r}).fn={}}}return Object.prototype.hasOwnProperty.call(e,"global")||(e.global=s),Object.prototype.hasOwnProperty.call(e.global,"window")&&(!e.document&&Object.prototype.hasOwnProperty.call(e.global.window,"document")&&(e.document=e.global.window.document),!e.location&&Object.prototype.hasOwnProperty.call(e.global.window,"location")&&(e.location=e.global.window.location)),e}(),c=(function(){if(!u.document)return 0;var e,r=u.document.createElement("div");for(e=0;e<10&&(r.innerHTML="\x3c!--[if gt IE "+String(e)+"]><i></i><![endif]--\x3e",0!==r.getElementsByTagName("i").length);e++);if(0===e&&Object.prototype.hasOwnProperty.call(u.global.window,"navigator")){if(-1!==u.global.window.navigator.appVersion.indexOf("MSIE 10"))return 10;if(![u.global.window.navigator.userAgent.indexOf("Trident"),u.global.window.navigator.userAgent.indexOf("rv:11")].includes(-1))return 11}}(),Object.prototype.hasOwnProperty.call(u,"noop")?u.noop.bind(u):function(){});!function(e){if(u=e,Object.prototype.hasOwnProperty.call(u,"global")||(u.global=s),Object.prototype.hasOwnProperty.call(u.global,"window")&&(!u.document&&Object.prototype.hasOwnProperty.call(u.global.window,"document")&&(u.document=u.global.window.document),!u.location&&Object.prototype.hasOwnProperty.call(u.global.window,"location")&&(u.location=u.global.window.location)),Object.prototype.hasOwnProperty.call(u,"fn")&&(u.fn.Tools=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return l.default.controller(l.default,r,this)}),u.Tools=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return l.default.controller(l.default,r)},u.Tools.class=l.default,Object.prototype.hasOwnProperty.call(u,"fn")){var r=u.fn.prop;u.fn.prop=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if(n.length<2&&this.length&&["#text","#comment"].includes(this[0].nodeName.toLowerCase())&&e in this[0]){if(0===n.length)return this[0][e];if(1===n.length)return this[0][e]=n[0],this}return r.call.apply(r,[this,e].concat(n))}}}(u),u.readyException=function(e){if("string"!=typeof e||"canceled"!==e)throw e}},function(e,r,t){t.d(r,{ABBREVIATIONS:function(){return i},CLASS_TO_TYPE_MAPPING:function(){return a},CONSOLE_METHODS:function(){return n},IGNORE_NULL_AND_UNDEFINED_SYMBOL:function(){return o},PLAIN_OBJECT_PROTOTYPES:function(){return l}});var n=["debug","error","info","log","warn"],o=(Symbol.for("clientnodeValue"),Symbol.for("clientnodeIgnoreNullAndUndefined")),i=["html","id","url","us","de","api","href"],a={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"},l=[Object.prototype]},function(e,r,t){t.d(r,{isArrayLike:function(){return a},isFunction:function(){return u},isMap:function(){return s},isNumeric:function(){return i},isPlainObject:function(){return l}});var n=t(1),o=t(4);var i=function(e){var r=(0,o.determineType)(e);return["number","string"].includes(r)&&!isNaN(e-parseFloat(e))},a=function(e){var r;try{r=Boolean(e)&&e.length}catch(e){return!1}var t,n=(0,o.determineType)(e);if("function"===n||![null,void 0].includes(t=e)&&"object"==typeof t&&t===(null==t?void 0:t.window))return!1;if("array"===n||0===r)return!0;if("number"==typeof r&&r>0)try{e[r-1];return!0}catch(e){}return!1},l=function(e){return null!==e&&"object"==typeof e&&n.PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(e))},s=function(e){return"map"===(0,o.determineType)(e)},u=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{determineType:function(){return determineType},extend:function(){return _extend}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),_indicators__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var _addDynamicGetterAndSetter=function(e,r,t,n,o,i){if(void 0===r&&(r=null),void 0===t&&(t=null),void 0===n&&(n={}),void 0===o&&(o=!0),void 0===i&&(i=[Object]),o&&"object"==typeof e)if(Array.isArray(e))for(var a,l=0,s=_createForOfIteratorHelperLoose(e);!(a=s()).done;){var u=a.value;e[l]=_addDynamicGetterAndSetter(u,r,t,n,o),l+=1}else if(isMap(e))for(var c,f=_createForOfIteratorHelperLoose(e);!(c=f()).done;){var p=c.value,_=p[0],d=p[1];e.set(_,_addDynamicGetterAndSetter(d,r,t,n,o))}else if(isSet(e)){for(var v,y=[],g=_createForOfIteratorHelperLoose(e);!(v=g()).done;){var b=v.value;e.delete(b),y.push(_addDynamicGetterAndSetter(b,r,t,n,o))}for(var h=0,m=y;h<m.length;h++){var O=m[h];e.add(O)}}else if(null!==e)for(var E=0,w=Object.entries(e);E<w.length;E++){var A=w[E],P=A[0],j=A[1];e[P]=_addDynamicGetterAndSetter(j,r,t,n,o)}if(r||t)for(var S,N,x=function(){var o=N.value;if(null!==e&&"object"==typeof e&&e instanceof o){var i=getProxyHandler(e,n),a=getProxyHandler(e,n);r&&(a.get=function(t,n){return"__target__"===n?e:"__revoke__"===n?function(){return u(),e}:"function"==typeof e[n]?e[n]:r(i.get(s,n),n,e)}),t&&(a.set=function(r,n,o){return i.set(s,n,t(n,o,e))});var l=Proxy.revocable({},a),s=l.proxy,u=l.revoke;return{v:s}}},L=_createForOfIteratorHelperLoose(i);!(N=L()).done;)if(S=x())return S.v;return e},convertCircularObjectToJSON=function(e,r,t){void 0===r&&(r=function(e){return null!=e?e:"__circularReference__"}),void 0===t&&(t=0);var n=new Map;return function(e){var o=function(e,t){if(null!==t&&"object"==typeof t){var i,a;if(n.has(t))return r(null!==(i=n.get(t))&&void 0!==i?i:null,e,t,n);if(n.set(t,null),Array.isArray(t)){a=[];for(var l,s=_createForOfIteratorHelperLoose(t);!(l=s()).done;){var u=l.value;a.push(o(null,u))}}else{a={};for(var c=0,f=Object.entries(t);c<f.length;c++){var p=f[c],_=p[0],d=p[1];a[_]=o(_,d)}}return n.set(t,a),a}return t};return JSON.stringify(e,o,t)}(e)},_convertMapToPlainObject=function(e,r){if(void 0===r&&(r=!0),"object"==typeof e){if(isMap(e)){for(var t,n={},o=_createForOfIteratorHelperLoose(e);!(t=o()).done;){var i=t.value,a=i[0],l=i[1];r&&(l=_convertMapToPlainObject(l,r)),["number","string"].includes(typeof a)&&(n[String(a)]=l)}return n}if(r)if(isPlainObject(e))for(var s=0,u=Object.entries(e);s<u.length;s++){var c=u[s],f=c[0],p=c[1];e[f]=_convertMapToPlainObject(p,r)}else if(Array.isArray(e))for(var _=0,d=0,v=e;d<v.length;d++){var y=v[d];e[_]=_convertMapToPlainObject(y,r),_+=1}else if(isSet(e)){for(var g,b=[],h=_createForOfIteratorHelperLoose(e);!(g=h()).done;){var m=g.value;e.delete(m),b.push(_convertMapToPlainObject(m,r))}for(var O=0,E=b;O<E.length;O++){var w=E[O];e.add(w)}}}return e},_convertPlainObjectToMap=function(e,r){if(void 0===r&&(r=!0),"object"==typeof e){if(isPlainObject(e)){for(var t=new Map,n=0,o=Object.entries(e);n<o.length;n++){var i=o[n],a=i[0],l=i[1];r&&(e[a]=_convertPlainObjectToMap(l,r)),t.set(a,e[a])}return t}if(r)if(Array.isArray(e))for(var s=0,u=0,c=e;u<c.length;u++){var f=c[u];e[s]=_convertPlainObjectToMap(f,r),s+=1}else if(isMap(e))for(var p,_=_createForOfIteratorHelperLoose(e);!(p=_()).done;){var d=p.value,v=d[0],y=d[1];e.set(v,_convertPlainObjectToMap(y,r))}else if(isSet(e)){for(var g,b=[],h=_createForOfIteratorHelperLoose(e);!(g=h()).done;){var m=g.value;e.delete(m),b.push(_convertPlainObjectToMap(m,r))}for(var O=0,E=b;O<E.length;O++){var w=E[O];e.add(w)}}}return e},_convertSubstringInPlainObject=function(e,r,t){for(var n=0,o=Object.entries(e);n<o.length;n++){var i=o[n],a=i[0],l=i[1];isPlainObject(l)?e[a]=_convertSubstringInPlainObject(l,r,t):"string"==typeof l&&(e[a]=l.replace(r,t))}return e},_copy=function(e,r,t,n,o,i,a){if(void 0===r&&(r=-1),void 0===t&&(t=VALUE_COPY_SYMBOL),void 0===n&&(n=null),void 0===o&&(o=!1),void 0===i&&(i=[]),void 0===a&&(a=0),null!==e&&"object"==typeof e){if(!n){if(Array.isArray(e))return _copy(e,r,t,[],o,i,a);if(e instanceof Map)return _copy(e,r,t,new Map,o,i,a);if(e instanceof Set)return _copy(e,r,t,new Set,o,i,a);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var l=/[^/]*$/.exec(e.toString());return(n=new RegExp(e.source,l?l[0]:void 0)).lastIndex=e.lastIndex,n}return"undefined"!=typeof Blob&&e instanceof Blob?e.slice(0,e.size,e.type):_copy(e,r,t,{},o,i,a)}if(e===n)throw new Error("Can't copy because source and destination are identical.");if(!o&&![void 0,null].includes(e)){var s=i.indexOf(e);if(-1!==s)return i[s];i.push(e)}var u=function(e){if(-1!==r&&r<a+1)return t===VALUE_COPY_SYMBOL?e:t;var n=_copy(e,r,t,null,o,i,a+1);return o||[void 0,null].includes(e)||"object"!=typeof e||i.push(e),n};if(Array.isArray(e))for(var c,f=_createForOfIteratorHelperLoose(e);!(c=f()).done;){var p=c.value;n.push(u(p))}else if(e instanceof Map)for(var _,d=_createForOfIteratorHelperLoose(e);!(_=d()).done;){var v=_.value,y=v[0],g=v[1];n.set(y,u(g))}else if(e instanceof Set)for(var b,h=_createForOfIteratorHelperLoose(e);!(b=h()).done;){var m=b.value;n.add(u(m))}else for(var O=0,E=Object.entries(e);O<E.length;O++){var w=E[O],A=w[0],P=w[1];try{n[A]=u(P)}catch(e){throw new Error('Failed to copy property value object "'+A+'": '+_represent(e))}}}return n||e},determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return String(e);var r=typeof e;if(["function","object"].includes(r)&&"toString"in e){var t=Object.prototype.toString.call(e);if(Object.prototype.hasOwnProperty.call(_constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING,t))return _constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING[t]}return r},_equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_extends({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&isFunction(firstValue)&&isFunction(secondValue)||firstValue===secondValue||isNotANumber(firstValue)&&isNotANumber(secondValue)||firstValue instanceof RegExp&&secondValue instanceof RegExp&&firstValue.toString()===secondValue.toString()||firstValue instanceof Date&&secondValue instanceof Date&&(isNaN(firstValue.getTime())&&isNaN(secondValue.getTime())||!isNaN(firstValue.getTime())&&!isNaN(secondValue.getTime())&&firstValue.getTime()===secondValue.getTime())||options.compareBlobs&&"undefined"!==eval("typeof Buffer")&&Object.prototype.hasOwnProperty.call(eval("Buffer"),"isBuffer")&&firstValue instanceof eval("Buffer")&&secondValue instanceof eval("Buffer")&&firstValue.toString("base64")===secondValue.toString("base64"))return!0;if(options.compareBlobs&&"undefined"!=typeof Blob&&firstValue instanceof Blob&&secondValue instanceof Blob)return new Promise((function(e){for(var r=[],t=0,n=[firstValue,secondValue];t<n.length;t++){var o=n[t],i=new FileReader;i.onload=function(t){null===t.target?r.push(null):r.push(t.target.result),2===r.length&&(r[0]===r[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+_represent(r[0])+") !== Blob("+_represent(r[1])+")"))},i.readAsDataURL(o)}}));if(isPlainObject(firstValue)&&isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||determineType(firstValue)===determineType(secondValue)&&["map","set"].includes(determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i13=0,_arr4=[[firstValue,secondValue],[secondValue,firstValue]];_i13<_arr4.length;_i13++){var _arr4$_i=_arr4[_i13],first=_arr4$_i[0],second=_arr4$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=isMap(first);if(firstIsMap&&(!isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=isSet(first);if(firstIsSet&&(!isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr5[_i14];if(0!==options.deep){var r=_equals(e,second[index],_extends({},options,{deep:options.deep-1}));if(!r)return{v:!1};var t=index,n=function(e){var r;return"string"==typeof e?"["+String(t)+"]"+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(Object.prototype.hasOwnProperty.call(r,"then")&&promises.push(r.then(n)),"string"==typeof r)return{v:n(r)}}index+=1},_ret2,_i14=0,_arr5=first;_i14<_arr5.length;_i14++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step13.value,r=e[0],t=e[1];if(0!==options.deep){var n=_equals(t,second.get(r),_extends({},options,{deep:options.deep-1}));if(!n)return{v:!1};var o=function(e){var t;return"string"==typeof e?"get("+_represent(r)+")"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(Object.prototype.hasOwnProperty.call(n,"then")&&promises.push(n.then(o)),"string"==typeof n)return{v:o(n)}}},_ret3,_iterator13=_createForOfIteratorHelperLoose(first),_step13;!(_step13=_iterator13()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step14.value;if(0!==options.deep){for(var r,t=!1,n=[],o=_createForOfIteratorHelperLoose(second);!(r=o()).done;){var i=r.value,a=_equals(e,i,_extends({},options,{deep:options.deep-1}));if("boolean"==typeof a){if(a){t=!0;break}}else n.push(a)}var l=function(r){return!!r||!!options.returnReasonIfNotEqual&&">>> {-> "+_represent(e)+" not found}"};return t?0:(n.length&&promises.push(new Promise((function(e){Promise.all(n).then((function(r){e(l(r.some((function(e){return e}))))}),NOOP)}))),{v:l(!1)})}},_ret4,_iterator14=_createForOfIteratorHelperLoose(first),_step14;!(_step14=_iterator14()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries7[_i15],r=e[0],t=e[1];if(options.properties&&!options.properties.includes(r))return 0;for(var n,o=!1,i=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(n=i()).done;){var a=n.value;if(r.toString().startsWith(a)){o=!0;break}}if(o)return 0;if(0!==options.deep){var l=_equals(t,second[r],_extends({},options,{deep:options.deep-1}));if(!l)return{v:!1};var s=function(e){var t;return"string"==typeof e?r+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(Object.prototype.hasOwnProperty.call(l,"then")&&promises.push(l.then(s)),"string"==typeof l)return{v:s(l)}}},_ret5,_i15=0,_Object$entries7=Object.entries(first);_i15<_Object$entries7.length&&(_ret5=_loop5(),0!==_ret5);_i15++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(r){for(var t,n=_createForOfIteratorHelperLoose(r);!(t=n()).done;){var o=t.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),NOOP)}))}return!!options.returnReasonIfNotEqual&&">>> "+_represent(firstValue)+" !== "+_represent(secondValue)},evaluateDynamicData=function(e,r,t,n,o){if(void 0===r&&(r={}),void 0===t&&(t="self"),void 0===n&&(n="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;t in r||(r[t]=e);var i=function(e,t){void 0===t&&(t=n);var i=evaluate(e,r,t===o);if(i.error)throw new Error(i.error);return i.result},a=function(e){if("object"!=typeof e||null===e||"undefined"==typeof Proxy)return e;for(var r=0,t=Object.entries(e);r<t.length;r++){var s=t[r],u=s[0],c=s[1];if("__target__"!==u&&null!==c&&"object"==typeof c){var f=c;if(a(f),Object.prototype.hasOwnProperty.call(f,n)||Object.prototype.hasOwnProperty.call(f,o)){var p=f;e[u]=new Proxy(f,{get:function(e,r){if("__target__"===r)return e;if("hasOwnProperty"===r)return e[r];for(var t=0,a=[n,o];t<a.length;t++){var s=a[t];if(r===s&&"string"==typeof e[r])return l(i(e[r],s))}var u=l(e);if("toString"===r){var c=i(u);return c[r].bind(c)}if("string"!=typeof r){var f,p=i(u);return null!=(f=p[r])&&f.bind?p[r].bind(p):p[r]}for(var _=0,d=[n,o];_<d.length;_++){var v=d[_];if(Object.prototype.hasOwnProperty.call(e,v))return i(u,v)[r]}return u[r]},ownKeys:function(e){for(var r=0,t=[n,o];r<t.length;r++){var a=t[r];if(Object.prototype.hasOwnProperty.call(e,a))return Object.getOwnPropertyNames(l(i(e[a],a)))}return Object.getOwnPropertyNames(e)}}),e[u].__target__||(e[u].__target__=p)}}}return e},l=function(e){if(null!==e&&"object"==typeof e){if(isProxy(e)){for(var r=0,t=[n,o];r<t.length;r++){var a=t[r];if(Object.prototype.hasOwnProperty.call(e,a))return e[a]}e=e.__target__}for(var s=0,u=Object.entries(e);s<u.length;s++){var c=u[s],f=c[0],p=c[1];if([n,o].includes(f))return"undefined"==typeof Proxy?l(i(p)):p;e[f]=l(p)}}return e};r.resolve=l;var s=function(e){if(null!==e&&"object"==typeof e)for(var r=0,t=Object.entries(e);r<t.length;r++){var n=t[r],o=n[0],i=n[1];if("__target__"!==o&&null!==i&&["function","undefined"].includes(typeof i)){var a=i.__target__;void 0!==a&&(e[o]=a),s(i)}}return e};return Object.prototype.hasOwnProperty.call(e,n)?i(e[n]):Object.prototype.hasOwnProperty.call(e,o)?i(e[o],o):s(l(a(e)))},_removeKeysInEvaluation=function(e,r){void 0===r&&(r=["__evaluate__","__execute__"]);for(var t=0,n=Object.entries(e);t<n.length;t++){var o=n[t],i=o[0],a=o[1];!r.includes(i)&&r.some((function(r){return Object.prototype.hasOwnProperty.call(e,r)}))?delete e[i]:isPlainObject(a)&&_removeKeysInEvaluation(a,r)}return e},_extend=function(e,r){for(var t=!1,n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var a,l=o;e===_constants__WEBPACK_IMPORTED_MODULE_1__.IGNORE_NULL_AND_UNDEFINED_SYMBOL||"boolean"==typeof e?(t=e,a=r):(a=e,null!==r&&"object"==typeof r?l=[r].concat(l):void 0!==r&&(a=r));for(var s,u=function(e,r){return r===e?e:t&&r&&((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(r)||(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(r))?(n=(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(r)?e&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(e)?e:new Map:e&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(e)?e:{},_extend(t,n,r)):r;var n},c=_createForOfIteratorHelperLoose(l);!(s=c()).done;){var f=s.value,p=typeof a,_=typeof f;if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(a)&&(p+=" Map"),(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(f)&&(_+=" Map"),p===_&&a!==f)if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(a)&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(f))for(var d,v=_createForOfIteratorHelperLoose(f);!(d=v()).done;){var y=d.value,g=y[0],b=y[1];a.set(g,u(a.get(g),b))}else if(null===a||Array.isArray(a)||"object"!=typeof a||null===f||Array.isArray(f)||"object"!=typeof f)a=f;else for(var h=0,m=Object.entries(f);h<m.length;h++){var O=m[h],E=O[0],w=O[1];t===_constants__WEBPACK_IMPORTED_MODULE_1__.IGNORE_NULL_AND_UNDEFINED_SYMBOL&&[null,void 0].includes(w)||(a[E]=u(a[E],w))}else a=f}return a},getSubstructure=function(e,r,t,n){void 0===t&&(t=!0),void 0===n&&(n=".");for(var o,i=[],a=_createForOfIteratorHelperLoose([].concat(r));!(o=a()).done;){var l=o.value;if("string"==typeof l)for(var s,u=_createForOfIteratorHelperLoose(l.split(n));!(s=u()).done;){var c=s.value;if(c){var f=c.match(/(.*?)(\[[0-9]+\])/g);if(f)for(var p,_=_createForOfIteratorHelperLoose(f);!(p=_()).done;){var d=p.value,v=/(.*?)(\[[0-9]+])/.exec(d),y="",g="";v&&(y=v[1],g=v[2],y&&i.push(y)),i.push(g.substring(1,g.length-1))}else i.push(c)}}else i=i.concat(l)}for(var b,h=e,m=_createForOfIteratorHelperLoose(i);!(b=m()).done;){var O=b.value;if(null!==h&&"object"==typeof h){if("string"==typeof O&&Object.prototype.hasOwnProperty.call(h,O))h=h[O];else if(isFunction(O))h=O(h);else if(!t)return}else if(!t)return}return h},getProxyHandler=function(e,r){return void 0===r&&(r={}),r=_extends({delete:"[]",get:"[]",has:"[]",set:"[]"},r),{deleteProperty:function(t,n){return"[]"!==r.delete||"string"!=typeof n?e[r.delete](n):(delete e[n],!0)},get:function(t,n){return"[]"===r.get&&"string"==typeof n?e[n]:e[r.get](n)},has:function(t,n){return"[]"===r.has?n in e:e[r.has](n)},set:function(t,n,o){return"[]"!==r.set||"string"!=typeof n?e[r.set](n,o):(e[n]=o,!0)}}},_mask=function(e,r){if(!0===(r=_extends({exclude:!1,include:!0},r)).exclude||Array.isArray(r.exclude)&&0===r.exclude.length||!1===r.include||"object"!=typeof e)return{};var t=Array.isArray(r.exclude)?r.exclude.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):r.exclude,n=Array.isArray(r.include)?r.include.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):r.include,o={};if(isPlainObject(n))for(var i=0,a=Object.entries(n);i<a.length;i++){var l=a[i],s=l[0],u=l[1];Object.prototype.hasOwnProperty.call(e,s)&&(!0===u?o[s]=e[s]:(isPlainObject(u)||Array.isArray(u)&&u.length)&&"object"==typeof e[s]&&(o[s]=_mask(e[s],{include:u})))}else o=e;if(isPlainObject(t)){for(var c=!1,f=_extends({},o),p=0,_=Object.entries(t);p<_.length;p++){var d=_[p],v=d[0],y=d[1];if(Object.prototype.hasOwnProperty.call(f,v))if(!0===y)c=!0,delete f[v];else if((isPlainObject(y)||Array.isArray(y)&&y.length)&&"object"==typeof f[v]){var g=f[v];f[v]=_mask(f[v],{exclude:y}),f[v]!==g&&(c=!0)}}c&&(o=f)}return o},_modifyObject=function(e,r,t,n,o,i,a,l,s){if(void 0===t&&(t="__remove__"),void 0===n&&(n="__prepend__"),void 0===o&&(o="__append__"),void 0===i&&(i="__"),void 0===a&&(a="__"),void 0===l&&(l=null),void 0===s&&(s=null),isMap(r)&&isMap(e))for(var u,c=_createForOfIteratorHelperLoose(r);!(u=c()).done;){var f=u.value,p=f[0],_=f[1];e.has(p)&&_modifyObject(e.get(p),_,t,n,o,i,a,r,p)}else if(null!==r&&"object"==typeof r&&null!==e&&"object"==typeof e)for(var d=0,v=Object.entries(r);d<v.length;d++){var y=v[d],g=y[0],b=y[1],h=NaN;if(Array.isArray(e)&&g.startsWith(i)&&g.endsWith(a)&&((h=parseInt(g.substring(i.length,g.length-a.length),10))<0||h>=e.length)&&(h=NaN),[t,n,o].includes(g)||!isNaN(h)){if(Array.isArray(e))if(g===t)for(var m,O=_createForOfIteratorHelperLoose([].concat(b));!(m=O()).done;){var E=m.value;"string"==typeof E&&E.startsWith(i)&&E.endsWith(a)?e.splice(parseInt(E.substring(i.length,E.length-a.length),10),1):e.includes(E)?e.splice(e.indexOf(E),1):"number"==typeof E&&E<e.length&&e.splice(E,1)}else g===o?e=e.concat(b):g===n?e=[].concat(b).concat(e):null!==e[h]&&"object"==typeof e[h]&&null!==b&&"object"==typeof b?_extend(!0,_modifyObject(e[h],b,t,n,o,i,a),e[h],b):e[h]=b;else if(g===t)for(var w,A=_createForOfIteratorHelperLoose([].concat(b));!(w=A()).done;){var P=w.value;"string"==typeof P&&Object.prototype.hasOwnProperty.call(e,P)&&delete e[P]}delete r[g],l&&"string"==typeof s&&delete l[s]}else null!==e&&Object.prototype.hasOwnProperty.call(e,g)&&(e[g]=_modifyObject(e[g],b,t,n,o,i,a,r,g))}return e},_removeKeyPrefixes=function(e,r){void 0===r&&(r="#");var t=[].concat(r);if(Array.isArray(e))for(var n,o=0,i=_createForOfIteratorHelperLoose(e.slice());!(n=i()).done;){var a=n.value,l=!1;if("string"==typeof a){for(var s,u=_createForOfIteratorHelperLoose(t);!(s=u()).done;){var c=s.value;if(a.startsWith(c+":")){e.splice(o,1),l=!0;break}}if(l)continue}e[o]=_removeKeyPrefixes(a,t),o+=1}else if(isSet(e))for(var f,p=_createForOfIteratorHelperLoose(new Set(e));!(f=p()).done;){var _=f.value,d=!1;if("string"==typeof _){for(var v,y=_createForOfIteratorHelperLoose(t);!(v=y()).done;){var g=v.value;if(_.startsWith(g+":")){e.delete(_),d=!0;break}}if(d)continue}_removeKeyPrefixes(_,t)}else if(isMap(e))for(var b,h=_createForOfIteratorHelperLoose(new Map(e));!(b=h()).done;){var m=b.value,O=m[0],E=m[1],w=!1;if("string"==typeof O){for(var A,P=_createForOfIteratorHelperLoose(t);!(A=P()).done;){var j=A.value,S=escapeRegularExpressions(j);if(new RegExp("^"+S+"[0-9]*$").test(O)){e.delete(O),w=!0;break}}if(w)continue}e.set(O,_removeKeyPrefixes(E,t))}else if(null!==e&&"object"==typeof e)for(var N=0,x=Object.entries(Object.assign({},e));N<x.length;N++){for(var L,I=x[N],T=I[0],$=I[1],M=!1,D=_createForOfIteratorHelperLoose(t);!(L=D()).done;){var R=L.value,C=escapeRegularExpressions(R);if(new RegExp("^"+C+"[0-9]*$").test(T)){delete e[T],M=!0;break}}M||(e[T]=_removeKeyPrefixes($,t))}return e},_represent=function(e,r,t,n,o){if(void 0===r&&(r=" "),void 0===t&&(t=""),void 0===n&&(n="__maximum_number_of_levels_reached__"),void 0===o&&(o=8),0===o)return String(n);if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return'"'+e.replace(/\n/g,"\n"+t)+'"';if(isNumeric(e)||"boolean"==typeof e)return String(e);if(Array.isArray(e)){for(var i,a="[",l=!1,s=_createForOfIteratorHelperLoose(e);!(i=s()).done;){var u=i.value;l&&(a+=","),a+="\n"+t+r+_represent(u,r,""+t+r,n,o-1),l=!0}return l&&(a+="\n"+t),a+="]"}if(isMap(e)){for(var c,f="",p=!1,_=_createForOfIteratorHelperLoose(e);!(c=_()).done;){var d=c.value,v=d[0],y=d[1];p&&(f+=",\n"+t+r),f+=_represent(v,r,""+t+r,n,o-1)+" -> "+_represent(y,r,""+t+r,n,o-1),p=!0}return p||(f="EmptyMap"),f}if(isSet(e)){for(var g,b="{",h=!1,m=_createForOfIteratorHelperLoose(e);!(g=m()).done;){var O=g.value;h&&(b+=","),b+="\n"+t+r+_represent(O,r,""+t+r,n,o-1),h=!0}return h?b+="\n"+t+"}":b="EmptySet",b}if(isFunction(e))return"__function__";for(var E,w="{",A=!1,P=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(e).sort());!(E=P()).done;){var j=E.value;A&&(w+=","),w+="\n"+t+r+j+": "+_represent(e[j],r,""+t+r,n,o-1),A=!0}return A&&(w+="\n"+t),w+="}"},sort=function(e){var r=[];if(Array.isArray(e))for(var t=0;t<e.length;t++)r.push(t);else if("object"==typeof e)if(isMap(e))for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var i=n.value;r.push(i[0])}else if(null!==e)for(var a=0,l=Object.keys(e);a<l.length;a++){var s=l[a];r.push(s)}return r.sort()},_unwrapProxy=function(e,r){if(void 0===r&&(r=new Set),null!==e&&"object"==typeof e){if(r.has(e))return e;try{isFunction(e.__revoke__)&&(isProxy(e)&&(e=e.__target__),e.__revoke__())}catch(r){return e}finally{r.add(e)}if(Array.isArray(e))for(var t,n=0,o=_createForOfIteratorHelperLoose(e);!(t=o()).done;){var i=t.value;e[n]=_unwrapProxy(i,r),n+=1}else if(isMap(e))for(var a,l=_createForOfIteratorHelperLoose(e);!(a=l()).done;){var s=a.value,u=s[0],c=s[1];e.set(u,_unwrapProxy(c,r))}else if(isSet(e)){for(var f,p=[],_=_createForOfIteratorHelperLoose(e);!(f=_()).done;){var d=f.value;e.delete(d),p.push(_unwrapProxy(d,r))}for(var v=0,y=p;v<y.length;v++){var g=y[v];e.add(g)}}else for(var b=0,h=Object.entries(e);b<h.length;b++){var m=h[b],O=m[0],E=m[1];e[O]=_unwrapProxy(E,r)}}return e}},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{camelCaseToDelimited:function(){return camelCaseToDelimited},capitalize:function(){return capitalize},compressStyleValue:function(){return compressStyleValue},delimitedToCamelCase:function(){return delimitedToCamelCase},format:function(){return format},normalizeDomNodeSelector:function(){return normalizeDomNodeSelector}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__),_constants__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var ALLOWED_VARIABLE_SYMBOLS="0-9a-zA-Z_$",ALLOWED_STARTING_VARIABLE_SYMBOLS="a-zA-Z_$",escapeRegularExpressions=function(e,r){if(void 0===r&&(r=[]),1===e.length&&!SPECIAL_REGEX_SEQUENCES.includes(e))return e;r.includes("\\")||e.replace(/\\/g,"\\\\");for(var t,n=_createForOfIteratorHelperLoose(SPECIAL_REGEX_SEQUENCES);!(t=n()).done;){var o=t.value;r.includes(o)||(e=e.replace(new RegExp("\\"+o,"g"),"\\"+o))}return e},convertToValidVariableName=function(e){return["class","default"].includes(e)?"_"+e:e.toString().replace(new RegExp("^[^"+ALLOWED_STARTING_VARIABLE_SYMBOLS+"]+"),"").replace(new RegExp("[^"+ALLOWED_VARIABLE_SYMBOLS+"]+([a-zA-Z])","g"),(function(e,r){return r.toUpperCase()}))},encodeURIComponentExtended=function(e,r){return void 0===r&&(r=!1),encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,r?"%20":"+")},addSeparatorToPath=function(e,r){return void 0===r&&(r="/"),(e=e.trim()).substring(e.length-1)!==r&&e.length?e+r:e},hasPathPrefix=function(e,r,t){var n;(void 0===e&&(e="/admin"),void 0===r)&&(r=(null==(n=$.location)?void 0:n.pathname)||"");return void 0===t&&(t="/"),"string"==typeof e&&(e.endsWith(t)||(e+=t),r===e.substring(0,e.length-t.length)||r.startsWith(e))},getDomainName=function(e,r){var t,n;void 0===e&&(e=(null==(t=$.location)?void 0:t.href)||"");void 0===r&&(r=(null==(n=$.location)?void 0:n.hostname)||"");var o=/^([a-z]*:?\/\/)?([^/]+?)(?::[0-9]+)?(?:\/.*|$)/i.exec(e);return o&&o.length>2&&o[1]&&o[2]?o[2]:r},getPortNumber=function(e,r){var t,n,o;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||"");void 0===r&&(r=null!=(o=$.location)&&o.port?parseInt($.location.port):null);var i=/^(?:[a-z]*:?\/\/[^/]+?)?[^/]+?:([0-9]+)/i.exec(e);return i&&i.length>1?parseInt(i[1],10):null!==r?r:null!=(t=$.location)&&t.port&&parseInt($.location.port,10)?parseInt($.location.port,10):"https"===getProtocolName(e)?443:80},getProtocolName=function(e,r){var t,n;void 0===e&&(e=(null==(t=$.location)?void 0:t.href)||"");void 0===r&&(r=(null==(n=$.location)?void 0:n.protocol)&&$.location.protocol.substring(0,$.location.protocol.length-1)||"");var o=/^([a-z]+):\/\//i.exec(e);return o&&o.length>1&&o[1]?o[1]:r},getURLParameter=function(e,r,t,n,o,i,a){var l,s,u;(void 0===e&&(e=null),void 0===r&&(r=!1),void 0===t&&(t=null),void 0===n&&(n="$"),void 0===o&&(o="!"),void 0===i&&(i=null),void 0===a)&&(a=null!==(s=null==(u=$.location)?void 0:u.hash)&&void 0!==s?s:"");var c=null!==(l=a)&&void 0!==l?l:"#",f="";if(i)f=i;else if(o&&c.startsWith(o)){var p,_=c.indexOf("#");-1===_?(p=c.substring(o.length),c=""):(p=c.substring(o.length,_),c=c.substring(_));var d=p.indexOf("?");-1!==d&&(f=p.substring(d))}else $.location&&(f=$.location.search||"");var v=t||f,y="&"===v;if(y||"#"===v){var g="";try{g=decodeURIComponent(c)}catch(e){}var b=g.indexOf(n);-1===b?v="":(v=g.substring(b)).startsWith(n)&&(v=v.substring(n.length))}else v.startsWith("?")&&(v=v.substring(1));var h=v?v.split("&"):[];f=f.substring(1),y&&f&&(h=h.concat(f.split("&")));for(var m,O=[],E=_createForOfIteratorHelperLoose(h);!(m=E()).done;){var w=m.value,A=w.split("="),P=void 0;try{P=decodeURIComponent(A[0])}catch(e){P=""}try{w=decodeURIComponent(A[1])}catch(e){w=""}O.push(P),r?Object.prototype.hasOwnProperty.call(O,P)&&Array.isArray(O[P])?O[P].push(w):O[P]=[w]:O[P]=w}return e?Object.prototype.hasOwnProperty.call(O,e)?O[e]:null:O},serviceURLEquals=function(e,r){var t;void 0===r&&(r=(null==(t=$.location)?void 0:t.href)||"");var n=getDomainName(e,""),o=getProtocolName(e,""),i=getPortNumber(e);return!(""!==n&&n!==getDomainName(r)||""!==o&&o!==getProtocolName(r)||null!==i&&i!==getPortNumber(r))},normalizeURL=function(e){if("string"==typeof e){var r=e.replace(/^:?\/+/,"").replace(/\/+$/,"").trim();return r.startsWith("http")?r:"http://"+r}return""},representURL=function(e){return"string"==typeof e?e.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim():""},camelCaseToDelimited=function(e,r,t){void 0===r&&(r="-"),void 0===t&&(t=null),t||(t=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS);var n=maskForRegularExpression(r);if(t.length){for(var o,i="",a=_createForOfIteratorHelperLoose(t);!(o=a()).done;){i&&(i+="|"),i+=o.value.toUpperCase()}e=e.replace(new RegExp("("+i+")("+i+")","g"),"$1"+r+"$2")}return(e=e.replace(new RegExp("([^"+n+"])([A-Z][a-z]+)","g"),"$1"+r+"$2")).replace(/([a-z0-9])([A-Z])/g,"$1"+r+"$2").toLowerCase()},capitalize=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},compressStyleValue=function(e){return e.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()},decodeHTMLEntities=function(e){if($.document){var r=$.document.createElement("textarea");return r.innerHTML=e,r.value}return null},delimitedToCamelCase=function(e,r,t,n,o){void 0===r&&(r="-"),void 0===t&&(t=null),void 0===n&&(n=!1),void 0===o&&(o=!1);var i,a=maskForRegularExpression(r);if(t||(t=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS),n)i=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS.join("|");else{i="";for(var l,s=_createForOfIteratorHelperLoose(t);!(l=s()).done;){var u=l.value;i&&(i+="|"),i+=capitalize(u)+"|"+u}}var c=e.startsWith(r);return c&&(e=e.substring(r.length)),e=e.replace(new RegExp("("+a+")("+i+")("+a+"|$)","g"),(function(e,r,t,n){return r+t.toUpperCase()+n})),o&&(a="(?:"+a+")+"),e=e.replace(new RegExp(a+"([a-zA-Z0-9])","g"),(function(e,r){return r.toUpperCase()})),c&&(e=r+e),e},compile=function(e,r,t,n,o){var i;void 0===r&&(r=[]),void 0===t&&(t=!1),void 0===n&&(n=!0),void 0===o&&(o={});for(var a,l,s=Object.keys(globalThis).concat("globalThis").filter((function(e){return new RegExp("^["+ALLOWED_STARTING_VARIABLE_SYMBOLS+"]["+ALLOWED_VARIABLE_SYMBOLS+"]*$").test(e)})),u={error:null,globalNames:s,globalNamesUndefinedList:s.map((function(){})),originalScopeNames:Array.isArray(r)?r:"string"==typeof r?[r]:Object.keys(r),scopeNameMapping:{},scopeNames:[],templateFunction:function(){}},c=_createForOfIteratorHelperLoose(u.originalScopeNames);!(a=c()).done;){var f=a.value,p=convertToValidVariableName(f);u.scopeNameMapping[f]=p,u.scopeNames.push(p)}if(0!==MAXIMAL_SUPPORTED_INTERNET_EXPLORER_VERSION.value)if(null!=(i=$.global.Babel)&&i.transform)e=$.global.Babel.transform("("+e+")",{plugins:["transform-template-literals"]}).code;else if(e.startsWith("`")&&e.endsWith("`")){var _="####",d="`"===(e=e.replace(/\\\$/g,_).replace(/^`\$\{([\s\S]+)\}`$/,"String($1)").replace(/^`([^']+)`$/,"'$1'").replace(/^`([^"]+)`$/,'"$1"')).charAt(0)?"'":e.charAt(0);e=e.replace(/\$\{((([^{]*{[^}]*}[^}]*})|[^{}]+)+)\}/g,d+"+($1)+"+d).replace(/^`([\s\S]+)`$/,d+"$1"+d).replace(/\n+/g,"").replace(new RegExp(_,"g"),"\\$")}try{l=_construct(Function,(n?u.globalNames:[]).concat(u.scopeNames,[(t?"":"return ")+e]))}catch(r){u.error='Given expression "'+e+'" could not be compiled width given scope names "'+u.scopeNames.join('", "')+'": '+represent(r)}if(l){var v=l.bind(o);u.templateFunction=n?function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return v.apply(void 0,u.globalNamesUndefinedList.concat(r))}:v}return u},evaluate=function(e,r,t,n,o){void 0===r&&(r={}),void 0===t&&(t=!1),void 0===n&&(n=!0),void 0===o&&(o={});var i=compile(e,r,t,n,o),a=i.error,l=i.originalScopeNames,s=i.scopeNames,u=i.templateFunction,c={compileError:null,error:null,result:void 0,runtimeError:null};if(a)return c.compileError=c.error=a,c;try{c.result=u.apply(void 0,l.map((function(e){return r[e]})))}catch(a){c.error=c.runtimeError='Given expression "'+e+'" could not be evaluated with given scope names "'+s.join('", "')+'": '+represent(a)}return c},findNormalizedMatchRange=function(e,r,t,n){void 0===t&&(t=function(e){return String(e).toLowerCase()}),void 0===n&&(n=["<",">"]);var o=t(r),i=t(e),a="string"==typeof e?e:i;if(i&&o)for(var l=!1,s=0;s<a.length;s+=1)if(l)Array.isArray(n)&&a.charAt(s)===n[1]&&(l=!1);else if(Array.isArray(n)&&a.charAt(s)===n[0])l=!0;else if(t(a.substring(s)).startsWith(o)){if(1===o.length)return[s,s+1];for(var u=a.length;u>s;u-=1)if(!t(a.substring(s,u)).startsWith(o))return[s,u+1]}return null},fixKnownEncodingErrors=function(e){for(var r=0,t=Object.entries({"Ã\\x84":"Ä","Ã\\x96":"Ö","Ã\\x9c":"Ü","ä":"ä","ö":"ö","ü":"ü","Ã\\x9f":"ß","\\x96":"-"});r<t.length;r++){var n=t[r],o=n[0],i=n[1];e=e.replace(new RegExp(o,"g"),i)}return e},format=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];t.unshift(e);for(var o=0,i=0,a=t;i<a.length;i++){var l=a[i];e=e.replace(new RegExp("\\{"+String(o)+"\\}","gm"),String(l)),o+=1}return e},getEditDistance=function(e,r){for(var t=Array(r.length+1).fill(null).map((function(){return Array(e.length+1).fill(null)})),n=0;n<=e.length;n++)t[0][n]=n;for(var o=0;o<=r.length;o++)t[o][0]=o;for(var i=1;i<=r.length;i++)for(var a=1;a<=e.length;a++){var l=e[a-1]===r[i-1]?0:1;t[i][a]=Math.min(t[i][a-1]+1,t[i-1][a]+1,t[i-1][a-1]+l)}return t[r.length][e.length]},maskForRegularExpression=function(e){return e.replace(/([\\|.*$^+[\]()?\-{}])/g,"\\$1")},lowerCase=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},mark=function(e,r,t){if(void 0===t&&(t={}),"string"==typeof e&&null!=r&&r.length){var n=_extends({marker:'<span class="tools-mark">{1}</span>',normalizer:function(e){return String(e).toLowerCase()},skipTagDelimitedParts:["<",">"]},t);e=e.trim();for(var o,i=[],a=[].concat(r),l=0,s=_createForOfIteratorHelperLoose(a);!(o=s()).done;){var u=o.value;a[l]=n.normalizer(u).trim(),l+=1}for(var c=e,f=0,p=0;p<MAXIMAL_NUMBER_OF_ITERATIONS.value;p++){for(var _,d=null,v=null,y=_createForOfIteratorHelperLoose(a);!(_=y()).done;){var g=_.value;(v=findNormalizedMatchRange(c,g,n.normalizer,n.skipTagDelimitedParts))&&(!d||v[0]<d[0])&&(d=v)}if(!d){c.length&&i.push(c);break}d[0]>0&&i.push(e.substring(f,f+d[0])),i.push("string"==typeof n.marker?format(n.marker,e.substring(f+d[0],f+d[1])):n.marker(e.substring(f+d[0],f+d[1]),i)),f+=d[1],c=e.substring(f)}return"string"==typeof n.marker?i.join(""):i}return e},normalizePhoneNumber=function(e,r){if(void 0===r&&(r=!0),"string"==typeof e||"number"==typeof e){var t=String(e).trim();if(t=t.replace(/^[^0-9]*\+/,"00"),r)return t.replace(/[^0-9]+/g,"");var n="(?:[ /\\-]+)";t=(t=t.replace(new RegExp("^(.+?)"+n+"?\\(0\\)"+n+"?(.+)$"),"$1-$2")).replace(new RegExp("^(.+?)"+n+"?\\((.+)\\)"+n+"?(.+)$"),"$1-$2-$3");var o=new RegExp("^(00[0-9]+)"+n+"([0-9]+)"+n+"(.+)$");if(o.test(t))t=t.replace(o,(function(e,r,t,n){return r+"-"+t+"-"+sliceAllExceptNumberAndLastSeparator(n)}));else{var i=function(e,r,t){return r.replace(/ +/,"")+"-"+sliceAllExceptNumberAndLastSeparator(t)};t=(o=/^([0-9 ]+)[/-](.+)$/).test(t)?t.replace(o,i):t.replace(new RegExp("^([0-9]+)"+n+"(.+)$"),i)}return t.replace(/[^0-9-]+/g,"").replace(/^-+$/,"")}return""},normalizeZipCode=function(e){return"string"==typeof e||"number"==typeof e?String(e).trim().replace(/[^0-9]+/g,""):""},parseEncodedObject=function parseEncodedObject(serializedObject,scope,name){var _evaluate;if(void 0===scope&&(scope={}),void 0===name&&(name="scope"),!readFileSync)throw new Error("File system api could not be loaded.");serializedObject.endsWith(".json")&&isFileSync(serializedObject)&&(serializedObject=readFileSync(serializedObject,{encoding:DEFAULT_ENCODING})),serializedObject=serializedObject.trim(),serializedObject.startsWith("{")||(serializedObject=eval("Buffer").from(serializedObject,"base64").toString(DEFAULT_ENCODING));var result=evaluate(serializedObject,(_evaluate={},_evaluate[name]=scope,_evaluate));return"object"==typeof result.result?result.result:null},representPhoneNumber=function(e){if(["number","string"].includes(determineType(e))&&e){var r=String(e).replace(/^(00|\+)([0-9]+)-([0-9-]+)$/,"+$2 (0) $3");return(r=(r=r.replace(/^0([1-9][0-9-]+)$/,"+49 (0) $1")).replace(/^([^-]+)-([0-9-]+)$/,"$1 / $2")).replace(/^(.*?)([0-9]+)(-?[0-9]*)$/,(function(e,r,t,n){return r+(t.length%2==0?t.replace(/([0-9]{2})/g,"$1 "):t.replace(/^([0-9]{3})([0-9]+)$/,(function(e,r,t){return r+" "+t.replace(/([0-9]{2})/g,"$1 ").trim()}))+n).trim()})).trim()}return""},sliceAllExceptNumberAndLastSeparator=function(e){var r=/^(.*[0-9].*)-([0-9]+)$/;return r.test(e)?e.replace(r,(function(e,r,t){return r.replace(/[^0-9]+/g,"")+"-"+t})):e.replace(/[^0-9]+/g,"")},normalizeDomNodeSelector=function(e,r){void 0===r&&(r="");var t="";return r&&(t=r+" "),e.startsWith(t)||e.trim().startsWith("<")||(e=t+e),e.trim()}},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{currentImport:function(){return currentImport},optionalRequire:function(){return optionalRequire}});var currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}}},function(e,r,t){t.d(r,{makeArray:function(){return a}});t(3);var n=t(2);function o(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return i(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var a=function(e){var r=[];return[null,void 0].includes(e)||((0,n.isArrayLike)(Object(e))?l(r,"string"==typeof e?[e]:e):r.push(e)),r},l=function(e,r){Array.isArray(r)||(r=Array.prototype.slice.call(r));for(var t,n=o(r);!(t=n()).done;){var i=t.value;e.push(i)}return e}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e,r,t){t.r(r),t.d(r,{BoundTools:function(){return g},JAVASCRIPT_DEPENDENT_CONTENT_HANDLED:function(){return v},Tools:function(){return y}});var n=t(9),o=t.n(n),i=t(11),a=t.n(i),l=t(7),s=t(1),u=t(0),c=t(2),f=t(4),p=t(5);function _(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return d(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var v=!1,y=function(){function e(r){var t=this;this.$domNode=null,this.options=void 0,this._bindEventHelper=function(e,r,n){void 0===r&&(r=!1),n||(n=r?"off":"on");var o=(0,u.$)(e[0]);if("object"===(0,f.determineType)(e[1])&&!r){for(var i=0,a=Object.entries(e[1]);i<a.length;i++){var s=a[i],c=s[0],p=s[1];t[n](o,c,p)}return o}return 0===(e=(0,l.makeArray)(e).slice(1)).length&&e.push(""),e[0].includes(".")||(e[0]+="."+t.options.name),o[n].apply(o,e)},r&&(this.$domNode=r),this.options=e._defaultOptions,Object.prototype.hasOwnProperty.call(u.$.global,"console")||(u.$.global.console={});for(var n,o=_(s.CONSOLE_METHODS);!(n=o()).done;){var i=n.value;i in u.$.global.console||(u.$.global.console[i]=u.NOOP)}}var r=e.prototype;return r.destructor=function(){var e;return null!=(e=u.$.fn)&&e.off&&this.off("*"),this},r.initialize=function(r){return void 0===r&&(r={}),this.options=(0,f.extend)(!0,{},e._defaultOptions,r),this.options.domNodeSelectorPrefix=(0,p.format)(this.options.domNodeSelectorPrefix,(0,p.camelCaseToDelimited)(null===this.options.domNodeSelectorInfix?"":this.options.domNodeSelectorInfix||this.options.name)),this.renderJavaScriptDependentVisibility(),this},e.controller=function(r,t,n){void 0===n&&(n=null),"function"==typeof r&&((r=new r(n))instanceof e||(r=(0,f.extend)(!0,new e,r)));var o,i=(0,l.makeArray)(t);if(i.length&&"string"==typeof i[0]&&i[0]in r)return(0,c.isFunction)(r[i[0]])?(o=r)[i[0]].apply(o,i.slice(1)):r[i[0]];if(0===i.length||"object"==typeof i[0]){var a,s,u=(a=r).initialize.apply(a,i),p=r.options.name||r.constructor.name;return null!=(s=n)&&s.data&&!n.data(p)&&n.data(p,r),u}if(i.length&&"string"==typeof i[0])throw new Error('Method "'+i[0]+'" does not exist on $-extended dom node "'+r+'".')},r.log=function(e,r,t,n){if(void 0===r&&(r=!1),void 0===t&&(t=!1),void 0===n&&(n="info"),this.options.logging||r||["error","critical"].includes(n)){for(var o,i=arguments.length,a=new Array(i>4?i-4:0),l=4;l<i;l++)a[l-4]=arguments[l];t?o=e:"string"==typeof e?o=this.options.name+" ("+n+"): "+p.format.apply(void 0,[e].concat(a)):(0,c.isNumeric)(e)||"boolean"==typeof e?o=this.options.name+" ("+n+"): "+e.toString():(this.log(",--------------------------------------------,"),this.log(e,r,!0),this.log("'--------------------------------------------'")),o&&(Object.prototype.hasOwnProperty.call(u.$.global,"console")&&n in u.$.global.console&&u.$.global.console[n]!==u.NOOP?u.$.global.console[n](o):Object.prototype.hasOwnProperty.call(u.$.global,"window")&&Object.prototype.hasOwnProperty.call(u.$.global.window,"alert")&&u.$.global.window.alert(o))}},r.info=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"info"].concat(t))},r.debug=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"debug"].concat(t))},r.error=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"error"].concat(t))},r.critical=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"warn"].concat(t))},r.warn=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"warn"].concat(t))},e.show=function(r,t,n){void 0===t&&(t=3),void 0===n&&(n=0);var o="";if("object"===(0,f.determineType)(r)){for(var i=0,a=Object.entries(r);i<a.length;i++){var l=a[i],s=l[0],u=l[1];o+=s.toString()+": ",o+=n<=t?e.show(u,t,n+1):String(u),o+="\n"}return o.trim()}return(o=String(r).trim())+' (Type: "'+(0,f.determineType)(r)+'")'},e.isEquivalentDOM=function(e,r,t){if(void 0===t&&(t=!1),e===r)return!0;if(e&&r){for(var n=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,o={first:e,second:r},i={first:(0,u.$)("<dummy>"),second:(0,u.$)("<dummy>")},a=0,l=Object.entries(o);a<l.length;a++){var s=l[a],c=s[0],f=s[1];if("string"==typeof f&&(t||f.startsWith("<")&&f.endsWith(">")&&f.length>=3||n.test(f)))i[c]=(0,u.$)("<div>"+f+"</div>");else try{var p=(0,u.$)(f).clone();if(!p.length)return!1;i[c]=(0,u.$)("<div>").append(p)}catch(e){return!1}}if(i.first.length&&i.first.length===i.second.length){i.first=i.first.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode,i.second=i.second.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode;for(var _=0,d=0,v=i.first;d<v.length;d++){if(!v[d].isEqualNode(i.second[_]))return!1;_+=1}return!0}}return!1},r.getPositionRelativeToViewport=function(e){void 0===e&&(e={});var r=(0,f.extend)({bottom:0,left:0,right:0,top:0},e),t=this.$domNode;if(Object.prototype.hasOwnProperty.call(u.$.global,"window")&&null!=t&&t.length&&t[0]&&"getBoundingClientRect"in t[0]){var n=(0,u.$)(u.$.global.window),o=t[0].getBoundingClientRect();if(o.top&&o.top+r.top<0)return"above";if(o.left+r.left<0)return"left";var i=n.height();if("number"==typeof i&&i<o.bottom+r.bottom)return"below";var a=n.width();if("number"==typeof a&&a<o.right+r.right)return"right"}return"in"},e.generateDirectiveSelector=function(e){var r=(0,p.camelCaseToDelimited)(e);return r+", ."+r+", ["+r+"], [data-"+r+"], [x-"+r+"]"+(r.includes("-")?", ["+r.replace(/-/g,"\\:")+"], ["+r.replace(/-/g,"_")+"]":"")},r.removeDirective=function(e){if(null===this.$domNode)return null;var r=(0,p.camelCaseToDelimited)(e);return this.$domNode.removeClass(r).removeAttr(r).removeAttr("data-"+r).removeAttr("x-"+r).removeAttr(r.replace("-",":")).removeAttr(r.replace("-","_"))},r.renderJavaScriptDependentVisibility=function(){!v&&u.$.document&&"filter"in u.$&&"hide"in u.$&&"show"in u.$&&((0,u.$)(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.hideJavaScriptEnabled).filter((function(e,r){return!(0,u.$)(r).data("javaScriptDependentContentHide")})).data("javaScriptDependentContentHide",!0).hide(),(0,u.$)(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.showJavaScriptEnabled).filter((function(e,r){return!(0,u.$)(r).data("javaScriptDependentContentShow")})).data("javaScriptDependentContentShow",!0).show(),v=!0)},e.getNormalizedDirectiveName=function(e){for(var r,t=_(["-",":","_"]);!(r=t()).done;){for(var n,o=r.value,i=!1,a=_(["data"+o,"x"+o]);!(n=a()).done;){var l=n.value;if(e.startsWith(l)){e=e.substring(l.length),i=!0;break}}if(i)break}for(var s,u=_(["-",":","_"]);!(s=u()).done;){var c=s.value;e=(0,p.delimitedToCamelCase)(e,c)}return e},r.getDirectiveValue=function(e){if(null===this.$domNode)return null;for(var r=(0,p.camelCaseToDelimited)(e),t=0,n=[r,"data-"+r,"x-"+r,r.replace("-","\\:")];t<n.length;t++){var o=n[t],i=this.$domNode.attr(o);if("string"==typeof i)return i}return null},r.sliceDomNodeSelectorPrefix=function(e){return this.options.domNodeSelectorPrefix&&e.startsWith(this.options.domNodeSelectorPrefix)?e.substring(this.options.domNodeSelectorPrefix.length).trim():e},e.getDomNodeName=function(e){var r=/^<?([a-zA-Z]+).*>?.*/.exec(e);return r?r[1]:null},r.grabDomNodes=function(e,r){var t=this,n={};if(r)for(var o=(0,u.$)(r),i=0,a=Object.entries(e);i<a.length;i++){var l=a[i],s=l[0],c=l[1];n[s]=o.find(c)}else for(var f=0,_=Object.entries(e);f<_.length;f++){var d=_[f],v=d[0],y=d[1],g=/, */.exec(y);g&&(e[v]+=y.split(g[0]).map((function(e){return", "+(0,p.normalizeDomNodeSelector)(e,t.options.domNodeSelectorPrefix)})).join("")),n[v]=(0,u.$)((0,p.normalizeDomNodeSelector)(e[v],this.options.domNodeSelectorPrefix))}return this.options.domNodeSelectorPrefix&&(n.parent=(0,u.$)(this.options.domNodeSelectorPrefix)),Object.prototype.hasOwnProperty.call(u.$.global,"window")&&(n.window=(0,u.$)(u.$.global.window),u.$.document&&(n.document=(0,u.$)(u.$.document))),n},r.fireEvent=function(e,r,t){var n;void 0===r&&(r=!1),void 0===t&&(t=this);for(var o="on"+(0,p.capitalize)(e),i=t,a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];return r||(o in i?i[o].apply(i,l):"_"+o in i&&i["_"+o].apply(i,l)),!i.options||!(o in i.options)||i.options[o]===u.NOOP||(n=i.options[o]).call.apply(n,[this].concat(l))},r.on=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return this._bindEventHelper(r,!1)},r.off=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return this._bindEventHelper(r,!0)},a()(e,[{key:"normalizedClassNames",get:function(){if(this.$domNode){var e="class";this.$domNode.find("*").addBack().each((function(r,t){var n=(0,u.$)(t),o=n.attr(e);o?n.attr(e,o.trim().replace(/ +/," ").split(" ").sort().join(" ")):n.is("[class]")&&n.removeAttr(e)}))}return this}},{key:"normalizedStyles",get:function(){if(this.$domNode){var e="style";this.$domNode.find("*").addBack().each((function(r,t){var n=(0,u.$)(t),o=n.attr(e);o?n.attr(e,(0,p.compressStyleValue)((0,p.compressStyleValue)(o).split(";").sort().map((function(e){return e.trim()})).join(";"))):n.is("[style]")&&n.removeAttr(e)}))}return this}},{key:"style",get:function(){var e={},r=this.$domNode;if(null!=r&&r.length){var t;if(Object.prototype.hasOwnProperty.call(u.$.global,"window")&&Object.prototype.hasOwnProperty.call(u.$.global.window,"getComputedStyle")){if("length"in(t=u.$.global.window.getComputedStyle(r[0],null)))for(var n=0;n<t.length;n+=1){var o=t[n];e[(0,p.delimitedToCamelCase)(o)]=t.getPropertyValue(o)}else for(var i=0,a=Object.entries(t);i<a.length;i++){var l=a[i],s=l[0],c=l[1];e[(0,p.delimitedToCamelCase)(s)]=c||t.getPropertyValue(s)}return e}for(var f in t=r[0].style)"function"!=typeof t[f]&&(e[f]=t[f])}return e}},{key:"text",get:function(){return this.$domNode?this.$domNode.clone().children().remove().end().text():""}}])}();y._defaultOptions={domNodes:{hideJavaScriptEnabled:".tools-hidden-on-javascript-enabled",showJavaScriptEnabled:".tools-visible-on-javascript-enabled"},domNodeSelectorInfix:"",domNodeSelectorPrefix:"body",logging:!1,name:"Tools"};var g=function(e){function r(t){for(var n,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(n=e.call.apply(e,[this,t].concat(i))||this).$domNode=void 0,n.self=r,n.$domNode=t,n}return o()(r,e),r}(y);r.default=y},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){if(void 0===__WEBPACK_EXTERNAL_MODULE__12__){var r=new Error("Cannot find module 'undefined'");throw r.code="MODULE_NOT_FOUND",r}e.exports=__WEBPACK_EXTERNAL_MODULE__12__}],__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];if(void 0!==r)return r.exports;var t=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](t,t.exports,__webpack_require__),t.loaded=!0,t.exports}__webpack_require__.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=function(e,r){for(var t in r)__webpack_require__.o(r,t)&&!__webpack_require__.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(10);return __webpack_exports__}()}));
package/dist/array.js CHANGED
@@ -1 +1 @@
1
- "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/extends"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/extends"],r);else{var t="object"==typeof exports?r(require("@babel/runtime/helpers/extends")):r(e["@babel/runtime/helpers/extends"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__3__){return function(){var __webpack_modules__=[,function(e,r,t){t.d(r,{CLASS_TO_TYPE_MAPPING:function(){return n},PLAIN_OBJECT_PROTOTYPES:function(){return o}});Symbol.for("clientnodeValue"),Symbol.for("clientnodeIgnoreNullAndUndefined");var n={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"},o=[Object.prototype]},function(e,r,t){t.d(r,{isArrayLike:function(){return a},isPlainObject:function(){return i}});var n=t(1),o=t(4);var a=function(e){var r;try{r=Boolean(e)&&e.length}catch(e){return!1}var t,n=(0,o.determineType)(e);if("function"===n||![null,void 0].includes(t=e)&&"object"==typeof t&&t===(null==t?void 0:t.window))return!1;if("array"===n||0===r)return!0;if("number"==typeof r&&r>0)try{return e[r-1],!0}catch(e){}return!1},i=function(e){return null!==e&&"object"==typeof e&&n.PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(e))}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{determineType:function(){return determineType}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var addDynamicGetterAndSetter=function e(r,t,n,o,a,i){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o={}),void 0===a&&(a=!0),void 0===i&&(i=[Object]),a&&"object"==typeof r)if(Array.isArray(r))for(var s,u=0,l=_createForOfIteratorHelperLoose(r);!(s=l()).done;){var f=s.value;r[u]=e(f,t,n,o,a),u+=1}else if(isMap(r))for(var c,_=_createForOfIteratorHelperLoose(r);!(c=_()).done;){var p=c.value,v=p[0],d=p[1];r.set(v,e(d,t,n,o,a))}else if(isSet(r)){for(var y,b=[],g=_createForOfIteratorHelperLoose(r);!(y=g()).done;){var h=y.value;r.delete(h),b.push(e(h,t,n,o,a))}for(var O=0,m=b;O<m.length;O++){var A=m[O];r.add(A)}}else if(null!==r)for(var I=0,P=Object.entries(r);I<P.length;I++){var j=P[I],x=j[0],E=j[1];r[x]=e(E,t,n,o,a)}if(t||n)for(var L,w,M=function(){var e=w.value;if(null!==r&&"object"==typeof r&&r instanceof e){var a=getProxyHandler(r,o),i=getProxyHandler(r,o);t&&(i.get=function(e,n){return"__target__"===n?r:"__revoke__"===n?function(){return l(),r}:"function"==typeof r[n]?r[n]:t(a.get(u,n),n,r)}),n&&(i.set=function(e,t,o){return a.set(u,t,n(t,o,r))});var s=Proxy.revocable({},i),u=s.proxy,l=s.revoke;return{v:u}}},k=_createForOfIteratorHelperLoose(i);!(w=k()).done;)if(L=M())return L.v;return r},convertCircularObjectToJSON=function(e,r,t){void 0===r&&(r=function(e){return null!=e?e:"__circularReference__"}),void 0===t&&(t=0);var n=new Map;return function(e){return JSON.stringify(e,(function e(t,o){if(null!==o&&"object"==typeof o){var a,i;if(n.has(o))return r(null!==(a=n.get(o))&&void 0!==a?a:null,t,o,n);if(n.set(o,null),Array.isArray(o)){i=[];for(var s,u=_createForOfIteratorHelperLoose(o);!(s=u()).done;){var l=s.value;i.push(e(null,l))}}else{i={};for(var f=0,c=Object.entries(o);f<c.length;f++){var _=c[f],p=_[0],v=_[1];i[p]=e(p,v)}}return n.set(o,i),i}return o}),t)}(e)},convertMapToPlainObject=function e(r,t){if(void 0===t&&(t=!0),"object"==typeof r){if(isMap(r)){for(var n,o={},a=_createForOfIteratorHelperLoose(r);!(n=a()).done;){var i=n.value,s=i[0],u=i[1];t&&(u=e(u,t)),["number","string"].includes(typeof s)&&(o[""+s]=u)}return o}if(t)if(isPlainObject(r))for(var l=0,f=Object.entries(r);l<f.length;l++){var c=f[l],_=c[0],p=c[1];r[_]=e(p,t)}else if(Array.isArray(r))for(var v=0,d=0,y=r;d<y.length;d++){var b=y[d];r[v]=e(b,t),v+=1}else if(isSet(r)){for(var g,h=[],O=_createForOfIteratorHelperLoose(r);!(g=O()).done;){var m=g.value;r.delete(m),h.push(e(m,t))}for(var A=0,I=h;A<I.length;A++){var P=I[A];r.add(P)}}}return r},convertPlainObjectToMap=function e(r,t){if(void 0===t&&(t=!0),"object"==typeof r){if(isPlainObject(r)){for(var n=new Map,o=0,a=Object.entries(r);o<a.length;o++){var i=a[o],s=i[0],u=i[1];t&&(r[s]=e(u,t)),n.set(s,r[s])}return n}if(t)if(Array.isArray(r))for(var l=0,f=0,c=r;f<c.length;f++){var _=c[f];r[l]=e(_,t),l+=1}else if(isMap(r))for(var p,v=_createForOfIteratorHelperLoose(r);!(p=v()).done;){var d=p.value,y=d[0],b=d[1];r.set(y,e(b,t))}else if(isSet(r)){for(var g,h=[],O=_createForOfIteratorHelperLoose(r);!(g=O()).done;){var m=g.value;r.delete(m),h.push(e(m,t))}for(var A=0,I=h;A<I.length;A++){var P=I[A];r.add(P)}}}return r},convertSubstringInPlainObject=function e(r,t,n){for(var o=0,a=Object.entries(r);o<a.length;o++){var i=a[o],s=i[0],u=i[1];isPlainObject(u)?r[s]=e(u,t,n):"string"==typeof u&&(r[s]=u.replace(t,n))}return r},copy=function e(r,t,n,o,a,i,s){if(void 0===t&&(t=-1),void 0===n&&(n=VALUE_COPY_SYMBOL),void 0===o&&(o=null),void 0===a&&(a=!1),void 0===i&&(i=[]),void 0===s&&(s=0),null!==r&&"object"==typeof r)if(o){if(r===o)throw new Error("Can't copy because source and destination are identical.");if(!a&&![void 0,null].includes(r)){var u=i.indexOf(r);if(-1!==u)return i[u];i.push(r)}var l=function(r){if(-1!==t&&t<s+1)return n===VALUE_COPY_SYMBOL?r:n;var o=e(r,t,n,null,a,i,s+1);return a||[void 0,null].includes(r)||"object"!=typeof r||i.push(r),o};if(Array.isArray(r))for(var f,c=_createForOfIteratorHelperLoose(r);!(f=c()).done;){var _=f.value;o.push(l(_))}else if(r instanceof Map)for(var p,v=_createForOfIteratorHelperLoose(r);!(p=v()).done;){var d=p.value,y=d[0],b=d[1];o.set(y,l(b))}else if(r instanceof Set)for(var g,h=_createForOfIteratorHelperLoose(r);!(g=h()).done;){var O=g.value;o.add(l(O))}else for(var m=0,A=Object.entries(r);m<A.length;m++){var I=A[m],P=I[0],j=I[1];try{o[P]=l(j)}catch(e){throw new Error('Failed to copy property value object "'+P+'": '+represent(e))}}}else if(r){if(Array.isArray(r))return e(r,t,n,[],a,i,s);if(r instanceof Map)return e(r,t,n,new Map,a,i,s);if(r instanceof Set)return e(r,t,n,new Set,a,i,s);if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp){var x=/[^/]*$/.exec(r.toString());return(o=new RegExp(r.source,x?x[0]:void 0)).lastIndex=r.lastIndex,o}return"undefined"!=typeof Blob&&r instanceof Blob?r.slice(0,r.size,r.type):e(r,t,n,{},a,i,s)}return o||r},determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return""+e;var r=typeof e;if(["function","object"].includes(r)&&e.toString){var t=_constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING.toString.call(e);if(Object.prototype.hasOwnProperty.call(_constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING,t))return _constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING[t]}return r},equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_extends({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&isFunction(firstValue)&&isFunction(secondValue)||firstValue===secondValue||isNotANumber(firstValue)&&isNotANumber(secondValue)||firstValue instanceof RegExp&&secondValue instanceof RegExp&&firstValue.toString()===secondValue.toString()||firstValue instanceof Date&&secondValue instanceof Date&&(isNaN(firstValue.getTime())&&isNaN(secondValue.getTime())||!isNaN(firstValue.getTime())&&!isNaN(secondValue.getTime())&&firstValue.getTime()===secondValue.getTime())||options.compareBlobs&&"undefined"!==eval("typeof Buffer")&&eval("Buffer").isBuffer&&firstValue instanceof eval("Buffer")&&secondValue instanceof eval("Buffer")&&firstValue.toString("base64")===secondValue.toString("base64"))return!0;if(options.compareBlobs&&"undefined"!=typeof Blob&&firstValue instanceof Blob&&secondValue instanceof Blob)return new Promise((function(e){for(var r=[],t=0,n=[firstValue,secondValue];t<n.length;t++){var o=n[t],a=new FileReader;a.onload=function(t){null===t.target?r.push(null):r.push(t.target.result),2===r.length&&(r[0]===r[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+represent(r[0])+") !== Blob("+represent(r[1])+")"))},a.readAsDataURL(o)}}));if(isPlainObject(firstValue)&&isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||determineType(firstValue)===determineType(secondValue)&&["map","set"].includes(determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i13=0,_arr4=[[firstValue,secondValue],[secondValue,firstValue]];_i13<_arr4.length;_i13++){var _arr4$_i=_arr4[_i13],first=_arr4$_i[0],second=_arr4$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=isMap(first);if(firstIsMap&&(!isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=isSet(first);if(firstIsSet&&(!isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr5[_i14];if(0!==options.deep){var r=equals(e,second[index],_extends({},options,{deep:options.deep-1}));if(!r)return{v:!1};var t=index,n=function(e){var r;return"string"==typeof e?"["+t+"]"+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(null!=r&&r.then&&promises.push(r.then(n)),"string"==typeof r)return{v:n(r)}}index+=1},_ret2,_i14=0,_arr5=first;_i14<_arr5.length;_i14++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step13.value,r=e[0],t=e[1];if(0!==options.deep){var n=equals(t,second.get(r),_extends({},options,{deep:options.deep-1}));if(!n)return{v:!1};var o=function(e){var t;return"string"==typeof e?"get("+represent(r)+")"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=n&&n.then&&promises.push(n.then(o)),"string"==typeof n)return{v:o(n)}}},_ret3,_iterator13=_createForOfIteratorHelperLoose(first),_step13;!(_step13=_iterator13()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step14.value;if(0!==options.deep){for(var r,t=!1,n=[],o=_createForOfIteratorHelperLoose(second);!(r=o()).done;){var a=r.value,i=equals(e,a,_extends({},options,{deep:options.deep-1}));if("boolean"==typeof i){if(i){t=!0;break}}else n.push(i)}var s=function(r){return!!r||!!options.returnReasonIfNotEqual&&">>> {-> "+represent(e)+" not found}"};return t?0:(n.length&&promises.push(new Promise((function(e){Promise.all(n).then((function(r){return e(s(r.some(identity)))}),NOOP)}))),{v:s(!1)})}},_ret4,_iterator14=_createForOfIteratorHelperLoose(first),_step14;!(_step14=_iterator14()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries7[_i15],r=e[0],t=e[1];if(options.properties&&!options.properties.includes(r))return 0;for(var n,o=!1,a=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(n=a()).done;){var i=n.value;if(r.toString().startsWith(i)){o=!0;break}}if(o)return 0;if(0!==options.deep){var s=equals(t,second[r],_extends({},options,{deep:options.deep-1}));if(!s)return{v:!1};var u=function(e){var t;return"string"==typeof e?r+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=s&&s.then&&promises.push(s.then(u)),"string"==typeof s)return{v:u(s)}}},_ret5,_i15=0,_Object$entries7=Object.entries(first);_i15<_Object$entries7.length&&(_ret5=_loop5(),0!==_ret5);_i15++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(r){for(var t,n=_createForOfIteratorHelperLoose(r);!(t=n()).done;){var o=t.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),NOOP)}))}return!!options.returnReasonIfNotEqual&&">>> "+represent(firstValue)+" !== "+represent(secondValue)},evaluateDynamicData=function(e,r,t,n,o){if(void 0===r&&(r={}),void 0===t&&(t="self"),void 0===n&&(n="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;t in r||(r[t]=e);var a=function(e,t){void 0===t&&(t=n);var a=evaluate(e,r,t===o);if(a.error)throw new Error(a.error);return a.result},i=function e(r){if(null!==r&&"object"==typeof r){if(isProxy(r)){for(var t=0,i=[n,o];t<i.length;t++){var s=i[t];if(Object.prototype.hasOwnProperty.call(r,s))return r[s]}r=r.__target__}for(var u=0,l=Object.entries(r);u<l.length;u++){var f=l[u],c=f[0],_=f[1];if([n,o].includes(c))return"undefined"==typeof Proxy?e(a(_)):_;r[c]=e(_)}}return r};r.resolve=i;if(null!==e&&"object"==typeof e){if(Object.prototype.hasOwnProperty.call(e,n))return a(e[n]);if(Object.prototype.hasOwnProperty.call(e,o))return a(e[o],o)}return function e(r){if(null!==r&&"object"==typeof r)for(var t=0,n=Object.entries(r);t<n.length;t++){var o=n[t],a=o[0],i=o[1];if("__target__"!==a&&null!==i&&["function","undefined"].includes(typeof i)){var s=i.__target__;void 0!==s&&(r[a]=s),e(i)}}return r}(i(function e(r){if("object"!=typeof r||null===r||"undefined"==typeof Proxy)return r;for(var t=0,s=Object.entries(r);t<s.length;t++){var u=s[t],l=u[0],f=u[1];if("__target__"!==l&&null!==f&&"object"==typeof f){var c=f;if(e(c),Object.prototype.hasOwnProperty.call(c,n)||Object.prototype.hasOwnProperty.call(c,o)){var _=c;r[l]=new Proxy(c,{get:function(e,r){if("__target__"===r)return e;if("hasOwnProperty"===r)return e[r];for(var t=0,s=[n,o];t<s.length;t++){var u=s[t];if(r===u&&"string"==typeof e[r])return i(a(e[r],u))}var l=i(e);if("toString"===r){var f=a(l);return f[r].bind(f)}if("string"!=typeof r){var c,_=a(l);return null!=(c=_[r])&&c.bind?_[r].bind(_):_[r]}for(var p=0,v=[n,o];p<v.length;p++){var d=v[p];if(Object.prototype.hasOwnProperty.call(e,d))return a(l,d)[r]}return l[r]},ownKeys:function(e){for(var r=0,t=[n,o];r<t.length;r++){var s=t[r];if(Object.prototype.hasOwnProperty.call(e,s))return Object.getOwnPropertyNames(i(a(e[s],s)))}return Object.getOwnPropertyNames(e)}}),r[l].__target__||(r[l].__target__=_)}}}return r}(e)))},removeKeysInEvaluation=function e(r,t){void 0===t&&(t=["__evaluate__","__execute__"]);for(var n=0,o=Object.entries(r);n<o.length;n++){var a=o[n],i=a[0],s=a[1];!t.includes(i)&&t.some((function(e){return Object.prototype.hasOwnProperty.call(r,e)}))?delete r[i]:isPlainObject(s)&&e(s,t)}return r},extend=function e(r,t){for(var n=!1,o=arguments.length,a=new Array(o>2?o-2:0),i=2;i<o;i++)a[i-2]=arguments[i];var s,u=a;r===IGNORE_NULL_AND_UNDEFINED_SYMBOL||"boolean"==typeof r?(n=r,s=t):(s=r,null!==t&&"object"==typeof t?u=[t].concat(u):void 0!==t&&(s=t));for(var l,f=function(r,t){return t===r?r:n&&t&&(isPlainObject(t)||isMap(t))?(o=isMap(t)?r&&isMap(r)?r:new Map:r&&isPlainObject(r)?r:{},e(n,o,t)):t;var o},c=_createForOfIteratorHelperLoose(u);!(l=c()).done;){var _=l.value,p=typeof s,v=typeof _;if(isMap(s)&&(p+=" Map"),isMap(_)&&(v+=" Map"),p===v&&s!==_)if(isMap(s)&&isMap(_))for(var d,y=_createForOfIteratorHelperLoose(_);!(d=y()).done;){var b=d.value,g=b[0],h=b[1];s.set(g,f(s.get(g),h))}else if(null===s||Array.isArray(s)||"object"!=typeof s||null===_||Array.isArray(_)||"object"!=typeof _)s=_;else for(var O=0,m=Object.entries(_);O<m.length;O++){var A=m[O],I=A[0],P=A[1];n===IGNORE_NULL_AND_UNDEFINED_SYMBOL&&[null,void 0].includes(P)||(s[I]=f(s[I],P))}else s=_}return s},getSubstructure=function(e,r,t,n){void 0===t&&(t=!0),void 0===n&&(n=".");for(var o,a=[],i=_createForOfIteratorHelperLoose([].concat(r));!(o=i()).done;){var s=o.value;if("string"==typeof s)for(var u,l=_createForOfIteratorHelperLoose(s.split(n));!(u=l()).done;){var f=u.value;if(f){var c=f.match(/(.*?)(\[[0-9]+\])/g);if(c)for(var _,p=_createForOfIteratorHelperLoose(c);!(_=p()).done;){var v=_.value,d=/(.*?)(\[[0-9]+\])/.exec(v),y=d[1],b=d[2];y&&a.push(y),a.push(b.substring(1,b.length-1))}else a.push(f)}}else a=a.concat(s)}for(var g,h=e,O=_createForOfIteratorHelperLoose(a);!(g=O()).done;){var m=g.value;if(null!==h&&"object"==typeof h){if("string"==typeof m&&Object.prototype.hasOwnProperty.call(h,m))h=h[m];else if(isFunction(m))h=m(h);else if(!t)return}else if(!t)return}return h},getProxyHandler=function(e,r){return void 0===r&&(r={}),r=_extends({delete:"[]",get:"[]",has:"[]",set:"[]"},r),{deleteProperty:function(t,n){return"[]"!==r.delete||"string"!=typeof n?e[r.delete](n):(delete e[n],!0)},get:function(t,n){return"[]"===r.get&&"string"==typeof n?e[n]:e[r.get](n)},has:function(t,n){return"[]"===r.has?n in e:e[r.has](n)},set:function(t,n,o){return"[]"!==r.set||"string"!=typeof n?e[r.set](n,o):(e[n]=o,!0)}}},mask=function e(r,t){if(!0===(t=_extends({exclude:!1,include:!0},t)).exclude||Array.isArray(t.exclude)&&0===t.exclude.length||!1===t.include||"object"!=typeof r)return{};var n=Array.isArray(t.exclude)?t.exclude.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):t.exclude,o=Array.isArray(t.include)?t.include.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):t.include,a={};if(isPlainObject(o))for(var i=0,s=Object.entries(o);i<s.length;i++){var u=s[i],l=u[0],f=u[1];Object.prototype.hasOwnProperty.call(r,l)&&(!0===f?a[l]=r[l]:(isPlainObject(f)||Array.isArray(f)&&f.length)&&"object"==typeof r[l]&&(a[l]=e(r[l],{include:f})))}else a=r;if(isPlainObject(n)){for(var c=!1,_=_extends({},a),p=0,v=Object.entries(n);p<v.length;p++){var d=v[p],y=d[0],b=d[1];if(Object.prototype.hasOwnProperty.call(_,y))if(!0===b)c=!0,delete _[y];else if((isPlainObject(b)||Array.isArray(b)&&b.length)&&"object"==typeof _[y]){var g=_[y];_[y]=e(_[y],{exclude:b}),_[y]!==g&&(c=!0)}}c&&(a=_)}return a},modifyObject=function e(r,t,n,o,a,i,s,u,l){if(void 0===n&&(n="__remove__"),void 0===o&&(o="__prepend__"),void 0===a&&(a="__append__"),void 0===i&&(i="__"),void 0===s&&(s="__"),void 0===u&&(u=null),void 0===l&&(l=null),isMap(t)&&isMap(r))for(var f,c=_createForOfIteratorHelperLoose(t);!(f=c()).done;){var _=f.value,p=_[0],v=_[1];r.has(p)&&e(r.get(p),v,n,o,a,i,s,t,p)}else if(null!==t&&"object"==typeof t&&null!==r&&"object"==typeof r)for(var d=0,y=Object.entries(t);d<y.length;d++){var b=y[d],g=b[0],h=b[1],O=NaN;if(Array.isArray(r)&&g.startsWith(i)&&g.endsWith(s)&&((O=parseInt(g.substring(i.length,g.length-s.length),10))<0||O>=r.length)&&(O=NaN),[n,o,a].includes(g)||!isNaN(O)){if(Array.isArray(r))if(g===n)for(var m,A=_createForOfIteratorHelperLoose([].concat(h));!(m=A()).done;){var I=m.value;"string"==typeof I&&I.startsWith(i)&&I.endsWith(s)?r.splice(parseInt(I.substring(i.length,I.length-s.length),10),1):r.includes(I)?r.splice(r.indexOf(I),1):"number"==typeof I&&I<r.length&&r.splice(I,1)}else g===a?r=r.concat(h):g===o?r=[].concat(h).concat(r):null!==r[O]&&"object"==typeof r[O]&&null!==h&&"object"==typeof h?extend(!0,e(r[O],h,n,o,a,i,s),r[O],h):r[O]=h;else if(g===n)for(var P,j=_createForOfIteratorHelperLoose([].concat(h));!(P=j()).done;){var x=P.value;"string"==typeof x&&Object.prototype.hasOwnProperty.call(r,x)&&delete r[x]}delete t[g],u&&"string"==typeof l&&delete u[l]}else null!==r&&Object.prototype.hasOwnProperty.call(r,g)&&(r[g]=e(r[g],h,n,o,a,i,s,t,g))}return r},removeKeyPrefixes=function e(r,t){void 0===t&&(t="#");var n=[].concat(t);if(Array.isArray(r))for(var o,a=0,i=_createForOfIteratorHelperLoose(r.slice());!(o=i()).done;){var s=o.value,u=!1;if("string"==typeof s){for(var l,f=_createForOfIteratorHelperLoose(n);!(l=f()).done;){var c=l.value;if(s.startsWith(c+":")){r.splice(a,1),u=!0;break}}if(u)continue}r[a]=e(s,n),a+=1}else if(isSet(r))for(var _,p=_createForOfIteratorHelperLoose(new Set(r));!(_=p()).done;){var v=_.value,d=!1;if("string"==typeof v){for(var y,b=_createForOfIteratorHelperLoose(n);!(y=b()).done;){var g=y.value;if(v.startsWith(g+":")){r.delete(v),d=!0;break}}if(d)continue}e(v,n)}else if(isMap(r))for(var h,O=_createForOfIteratorHelperLoose(new Map(r));!(h=O()).done;){var m=h.value,A=m[0],I=m[1],P=!1;if("string"==typeof A){for(var j,x=_createForOfIteratorHelperLoose(n);!(j=x()).done;){var E=j.value,L=escapeRegularExpressions(E);if(new RegExp("^"+L+"[0-9]*$").test(A)){r.delete(A),P=!0;break}}if(P)continue}r.set(A,e(I,n))}else if(null!==r&&"object"==typeof r)for(var w=0,M=Object.entries(Object.assign({},r));w<M.length;w++){for(var k,S=M[w],T=S[0],F=S[1],N=!1,H=_createForOfIteratorHelperLoose(n);!(k=H()).done;){var R=k.value,V=escapeRegularExpressions(R);if(new RegExp("^"+V+"[0-9]*$").test(T)){delete r[T],N=!0;break}}N||(r[T]=e(F,n))}return r},represent=function e(r,t,n,o,a){if(void 0===t&&(t=" "),void 0===n&&(n=""),void 0===o&&(o="__maximum_number_of_levels_reached__"),void 0===a&&(a=8),0===a)return""+o;if(null===r)return"null";if(void 0===r)return"undefined";if("string"==typeof r)return'"'+r.replace(/\n/g,"\n"+n)+'"';if(isNumeric(r)||"boolean"==typeof r)return""+r;if(Array.isArray(r)){for(var i,s="[",u=!1,l=_createForOfIteratorHelperLoose(r);!(i=l()).done;){u&&(s+=","),s+="\n"+n+t+e(i.value,t,""+n+t,o,a-1),u=!0}return u&&(s+="\n"+n),s+="]"}if(isMap(r)){for(var f,c="",_=!1,p=_createForOfIteratorHelperLoose(r);!(f=p()).done;){var v=f.value,d=v[0],y=v[1];_&&(c+=",\n"+n+t),c+=e(d,t,""+n+t,o,a-1)+" -> "+e(y,t,""+n+t,o,a-1),_=!0}return _||(c="EmptyMap"),c}if(isSet(r)){for(var b,g="{",h=!1,O=_createForOfIteratorHelperLoose(r);!(b=O()).done;){h&&(g+=","),g+="\n"+n+t+e(b.value,t,""+n+t,o,a-1),h=!0}return h?g+="\n"+n+"}":g="EmptySet",g}if(isFunction(r))return"__function__";for(var m,A="{",I=!1,P=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(r).sort());!(m=P()).done;){var j=m.value;I&&(A+=","),A+="\n"+n+t+j+": "+e(r[j],t,""+n+t,o,a-1),I=!0}return I&&(A+="\n"+n),A+="}"},sort=function(e){var r=[];if(Array.isArray(e))for(var t=0;t<e.length;t++)r.push(t);else if("object"==typeof e)if(isMap(e))for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;r.push(a[0])}else if(null!==e)for(var i=0,s=Object.keys(e);i<s.length;i++){var u=s[i];r.push(u)}return r.sort()},unwrapProxy=function e(r,t){if(void 0===t&&(t=new Set),null!==r&&"object"==typeof r){if(t.has(r))return r;try{isFunction(r.__revoke__)&&(isProxy(r)&&(r=r.__target__),r.__revoke__())}catch(e){return r}finally{t.add(r)}if(Array.isArray(r))for(var n,o=0,a=_createForOfIteratorHelperLoose(r);!(n=a()).done;){var i=n.value;r[o]=e(i,t),o+=1}else if(isMap(r))for(var s,u=_createForOfIteratorHelperLoose(r);!(s=u()).done;){var l=s.value,f=l[0],c=l[1];r.set(f,e(c,t))}else if(isSet(r)){for(var _,p=[],v=_createForOfIteratorHelperLoose(r);!(_=v()).done;){var d=_.value;r.delete(d),p.push(e(d,t))}for(var y=0,b=p;y<b.length;y++){var g=b[y];r.add(g)}}else for(var h=0,O=Object.entries(r);h<O.length;h++){var m=O[h],A=m[0],I=m[1];r[A]=e(I,t)}}return r}}],__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];if(void 0!==r)return r.exports;var t=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](t,t.exports,__webpack_require__),t.exports}__webpack_require__.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=function(e,r){for(var t in r)__webpack_require__.o(r,t)&&!__webpack_require__.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{aggregatePropertyIfEqual:function(){return aggregatePropertyIfEqual},deleteEmptyItems:function(){return deleteEmptyItems},extract:function(){return extract},extractIfMatches:function(){return extractIfMatches},extractIfPropertyExists:function(){return extractIfPropertyExists},extractIfPropertyMatches:function(){return extractIfPropertyMatches},intersect:function(){return intersect},makeArray:function(){return makeArray},makeRange:function(){return makeRange},merge:function(){return merge},paginate:function(){return paginate},permutate:function(){return permutate},permutateLength:function(){return permutateLength},removeArrayItem:function(){return removeArrayItem},sortTopological:function(){return sortTopological},sumUpProperty:function(){return sumUpProperty},unique:function(){return unique}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_indicators__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var aggregatePropertyIfEqual=function(e,r,t){void 0===t&&(t="");var n=t;if(Array.isArray(e)&&e.length&&Object.prototype.hasOwnProperty.call(e[0],r)){n=e[0][r];for(var o=0,a=makeArray(e);o<a.length;o++){if(a[o][r]!==n)return t}}return n},deleteEmptyItems=function(e,r){void 0===r&&(r=[]);for(var t=[],n=0,o=makeArray(e);n<o.length;n++){for(var a=o[n],i=!0,s=0,u=Object.entries(a);s<u.length;s++){var l=u[s],f=l[0],c=l[1];if(!["",null,void 0].includes(c)&&(!r.length||makeArray(r).includes(f))){i=!1;break}}i||t.push(a)}return t},extract=function(e,r){for(var t=[],n=0,o=makeArray(e);n<o.length;n++){for(var a=o[n],i={},s=0,u=makeArray(r);s<u.length;s++){var l=u[s];Object.prototype.hasOwnProperty.call(a,l)&&(i[l]=a[l])}t.push(i)}return t},extractIfMatches=function(e,r){if(!r)return makeArray(e);for(var t=[],n=0,o=makeArray(e);n<o.length;n++){var a=o[n];("string"==typeof r?new RegExp(r):r).test(a)&&t.push(a)}return t},extractIfPropertyExists=function(e,r){if(e&&r){for(var t=[],n=0,o=makeArray(e);n<o.length;n++){for(var a=o[n],i=!1,s=0,u=Object.entries(a);s<u.length;s++){var l=u[s],f=l[0],c=l[1];if(f===r&&![null,void 0].includes(c)){i=!0;break}}i&&t.push(a)}return t}return e},extractIfPropertyMatches=function(e,r){if(e&&r){for(var t=[],n=0,o=makeArray(e);n<o.length;n++){var a=o[n],i=!0;for(var s in r)if(!r[s]||!("string"==typeof r[s]?new RegExp(r[s]):r[s]).test(a[s])){i=!1;break}i&&t.push(a)}return t}return e},intersect=function(e,r,t,n){void 0===t&&(t=[]),void 0===n&&(n=!0);var o=[];r=makeArray(r);for(var a=function(e,r,t,o,a,i){if(i?a&&(t=o):o=t,r[o]!==e[t]&&(n||![null,void 0].includes(r[o])||![null,void 0].includes(e[t])))return!1},i=0,s=makeArray(e);i<s.length;i++){var u=s[i];if((0,_indicators__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(u))for(var l=0,f=r;l<f.length;l++){var c=f[l],_=!0,p=void 0,v=Array.isArray(t);if((0,_indicators__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(t)||v&&t.length?p=!0:(p=!1,t=u),Array.isArray(t))for(var d,y=0,b=_createForOfIteratorHelperLoose(t);!(d=b()).done;){if(!1===a(u,c,y,d.value,v,p)){_=!1;break}y+=1}else for(var g=0,h=Object.entries(t);g<h.length;g++){var O=h[g];if(!1===a(u,c,O[0],O[1],v,p)){_=!1;break}}if(_){o.push(u);break}}else r.includes(u)&&o.push(u)}return o},makeArray=function(e){var r=[];return[null,void 0].includes(e)||((0,_indicators__WEBPACK_IMPORTED_MODULE_1__.isArrayLike)(Object(e))?merge(r,"string"==typeof e?[e]:e):r.push(e)),r},makeRange=function(e,r,t){var n,o;if(void 0===r&&(r=1),void 0===t&&(t=!1),1===(e=[].concat(e)).length)n=0,o=parseInt(""+e[0],10);else{if(2!==e.length)return e;n=parseInt(""+e[0],10),o=parseInt(""+e[1],10)}if(o<n)return[];for(var a=[n];n<=o-r;)n+=r,(!t||n<=o-r)&&a.push(n);return a},merge=function(e,r){Array.isArray(r)||(r=Array.prototype.slice.call(r));for(var t,n=_createForOfIteratorHelperLoose(r);!(t=n()).done;){var o=t.value;e.push(o)}return e},paginate=function(e){void 0===e&&(e={});var r=e,t=r.boundaryCount,n=void 0===t?1:t,o=r.disabled,a=void 0!==o&&o,i=r.hideNextButton,s=void 0!==i&&i,u=r.hidePrevButton,l=void 0!==u&&u,f=r.page,c=void 0===f?1:f,_=r.pageSize,p=void 0===_?5:_,v=r.showFirstButton,d=void 0!==v&&v,y=r.showLastButton,b=void 0!==y&&y,g=r.siblingCount,h=void 0===g?4:g,O=r.total,m=void 0===O?100:O,A="number"!=typeof p||isNaN(p)?m:Math.ceil(m/p),I=makeRange([1,Math.min(n,A)]),P=makeRange([Math.max(A-n+1,n+1),A]),j=Math.max(Math.min(c-h,A-n-2*h-1),n+2),x=Math.min(Math.max(c+h,n+2*h+2),P.length>0?P[0]-2:A-1);return[].concat(d?["first"]:[],l?[]:["previous"],I,j>n+2?["start-ellipsis"]:n+1<A-n?[n+1]:[],makeRange([j,x]),x<A-n-1?["end-ellipsis"]:A-n>n?[A-n]:[],P,s?[]:["next"],b?["last"]:[]).map((function(e){var r;return"number"==typeof e?{disabled:a,page:e,selected:e===c,type:"page"}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({disabled:a||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?c>=A:c<=1),selected:!1,type:e},e.endsWith("-ellipsis")?{}:{page:(null!==(r={first:1,last:A}[e])&&void 0!==r?r:"next"===e)?Math.min(c+1,A):Math.max(c-1,1)})}))},permutate=function(e){var r=[];return function e(t,n){if(void 0===n&&(n=[]),0===t.length)r.push(n);else for(var o=0;o<t.length;o++){var a=t.slice();e(a,n.concat(a.splice(o,1)))}}(e),r},permutateLength=function(e,r){void 0===r&&(r=1);var t=[];if(0===e.length)return t;for(var n=function e(r,n,o){if(0!==r)for(var a=0;a<n.length;a++)e(r-1,n.slice(a+1),o.concat([n[a]]));else o.length>0&&(t[t.length]=o)},o=r;o<e.length;o++)n(o,e,[]);return t.push(e),t},sumUpProperty=function(e,r){var t=0;if(Array.isArray(e)&&e.length)for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(a,r)&&(t+=parseFloat(a[r]||0))}return t},removeArrayItem=function(e,r,t){void 0===t&&(t=!1);var n=e.indexOf(r);if(-1===n){if(t)throw new Error("Given target doesn't exists in given list.")}else e.splice(n,1);return e},sortTopological=function(e){for(var r=[],t=0,n=Object.entries(e);t<n.length;t++){var o=n[t],a=o[0],i=o[1];if(e[a]=[].concat(i),i.length>0)for(var s,u=_createForOfIteratorHelperLoose(makeArray(i));!(s=u()).done;){var l=s.value;r.push([a,l])}else r.push([a])}for(var f=[],c=0,_=r;c<_.length;c++)for(var p,v=_createForOfIteratorHelperLoose(_[c]);!(p=v()).done;){var d=p.value;f.includes(d)||f.push(d)}for(var y=[],b=function e(t,n){if(0!==n.length&&n.includes(t))throw new Error('Cyclic dependency found. "'+t+'" is dependent of itself.\nDependency chain: "'+n.join('" -> "')+'" => "'+t+'".');var o=f.indexOf(t);if(-1!==o){var a;f[o]=null;for(var i=0,s=r;i<s.length;i++){var u=s[i];u[0]===t&&(a=a||n.concat([t]),e(u[1],a))}y.push(t)}},g=0;g<f.length;g++){var h=f[g];if(h){f[g]=null;for(var O,m=_createForOfIteratorHelperLoose(r);!(O=m()).done;){var A=O.value;A[0]===h&&b(A[1],[h])}y.push(h)}}return y},unique=function(e){for(var r,t=[],n=_createForOfIteratorHelperLoose(makeArray(e));!(r=n()).done;){var o=r.value;t.includes(o)||t.push(o)}return t};return __webpack_exports__}()}));
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/extends"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/extends"],r);else{var t="object"==typeof exports?r(require("@babel/runtime/helpers/extends")):r(e["@babel/runtime/helpers/extends"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__3__){return function(){var __webpack_modules__=[,function(e,r,t){t.d(r,{CLASS_TO_TYPE_MAPPING:function(){return n},PLAIN_OBJECT_PROTOTYPES:function(){return o}});Symbol.for("clientnodeValue"),Symbol.for("clientnodeIgnoreNullAndUndefined");var n={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"},o=[Object.prototype]},function(e,r,t){t.d(r,{isArrayLike:function(){return a},isPlainObject:function(){return i}});var n=t(1),o=t(4);var a=function(e){var r;try{r=Boolean(e)&&e.length}catch(e){return!1}var t,n=(0,o.determineType)(e);if("function"===n||![null,void 0].includes(t=e)&&"object"==typeof t&&t===(null==t?void 0:t.window))return!1;if("array"===n||0===r)return!0;if("number"==typeof r&&r>0)try{e[r-1];return!0}catch(e){}return!1},i=function(e){return null!==e&&"object"==typeof e&&n.PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(e))}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{determineType:function(){return determineType}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var _addDynamicGetterAndSetter=function(e,r,t,n,o,a){if(void 0===r&&(r=null),void 0===t&&(t=null),void 0===n&&(n={}),void 0===o&&(o=!0),void 0===a&&(a=[Object]),o&&"object"==typeof e)if(Array.isArray(e))for(var i,s=0,l=_createForOfIteratorHelperLoose(e);!(i=l()).done;){var u=i.value;e[s]=_addDynamicGetterAndSetter(u,r,t,n,o),s+=1}else if(isMap(e))for(var f,c=_createForOfIteratorHelperLoose(e);!(f=c()).done;){var _=f.value,p=_[0],v=_[1];e.set(p,_addDynamicGetterAndSetter(v,r,t,n,o))}else if(isSet(e)){for(var d,y=[],b=_createForOfIteratorHelperLoose(e);!(d=b()).done;){var g=d.value;e.delete(g),y.push(_addDynamicGetterAndSetter(g,r,t,n,o))}for(var h=0,O=y;h<O.length;h++){var m=O[h];e.add(m)}}else if(null!==e)for(var A=0,P=Object.entries(e);A<P.length;A++){var j=P[A],I=j[0],x=j[1];e[I]=_addDynamicGetterAndSetter(x,r,t,n,o)}if(r||t)for(var E,w,M=function(){var o=w.value;if(null!==e&&"object"==typeof e&&e instanceof o){var a=getProxyHandler(e,n),i=getProxyHandler(e,n);r&&(i.get=function(t,n){return"__target__"===n?e:"__revoke__"===n?function(){return u(),e}:"function"==typeof e[n]?e[n]:r(a.get(l,n),n,e)}),t&&(i.set=function(r,n,o){return a.set(l,n,t(n,o,e))});var s=Proxy.revocable({},i),l=s.proxy,u=s.revoke;return{v:l}}},L=_createForOfIteratorHelperLoose(a);!(w=L()).done;)if(E=M())return E.v;return e},convertCircularObjectToJSON=function(e,r,t){void 0===r&&(r=function(e){return null!=e?e:"__circularReference__"}),void 0===t&&(t=0);var n=new Map;return function(e){var o=function(e,t){if(null!==t&&"object"==typeof t){var a,i;if(n.has(t))return r(null!==(a=n.get(t))&&void 0!==a?a:null,e,t,n);if(n.set(t,null),Array.isArray(t)){i=[];for(var s,l=_createForOfIteratorHelperLoose(t);!(s=l()).done;){var u=s.value;i.push(o(null,u))}}else{i={};for(var f=0,c=Object.entries(t);f<c.length;f++){var _=c[f],p=_[0],v=_[1];i[p]=o(p,v)}}return n.set(t,i),i}return t};return JSON.stringify(e,o,t)}(e)},_convertMapToPlainObject=function(e,r){if(void 0===r&&(r=!0),"object"==typeof e){if(isMap(e)){for(var t,n={},o=_createForOfIteratorHelperLoose(e);!(t=o()).done;){var a=t.value,i=a[0],s=a[1];r&&(s=_convertMapToPlainObject(s,r)),["number","string"].includes(typeof i)&&(n[String(i)]=s)}return n}if(r)if(isPlainObject(e))for(var l=0,u=Object.entries(e);l<u.length;l++){var f=u[l],c=f[0],_=f[1];e[c]=_convertMapToPlainObject(_,r)}else if(Array.isArray(e))for(var p=0,v=0,d=e;v<d.length;v++){var y=d[v];e[p]=_convertMapToPlainObject(y,r),p+=1}else if(isSet(e)){for(var b,g=[],h=_createForOfIteratorHelperLoose(e);!(b=h()).done;){var O=b.value;e.delete(O),g.push(_convertMapToPlainObject(O,r))}for(var m=0,A=g;m<A.length;m++){var P=A[m];e.add(P)}}}return e},_convertPlainObjectToMap=function(e,r){if(void 0===r&&(r=!0),"object"==typeof e){if(isPlainObject(e)){for(var t=new Map,n=0,o=Object.entries(e);n<o.length;n++){var a=o[n],i=a[0],s=a[1];r&&(e[i]=_convertPlainObjectToMap(s,r)),t.set(i,e[i])}return t}if(r)if(Array.isArray(e))for(var l=0,u=0,f=e;u<f.length;u++){var c=f[u];e[l]=_convertPlainObjectToMap(c,r),l+=1}else if(isMap(e))for(var _,p=_createForOfIteratorHelperLoose(e);!(_=p()).done;){var v=_.value,d=v[0],y=v[1];e.set(d,_convertPlainObjectToMap(y,r))}else if(isSet(e)){for(var b,g=[],h=_createForOfIteratorHelperLoose(e);!(b=h()).done;){var O=b.value;e.delete(O),g.push(_convertPlainObjectToMap(O,r))}for(var m=0,A=g;m<A.length;m++){var P=A[m];e.add(P)}}}return e},_convertSubstringInPlainObject=function(e,r,t){for(var n=0,o=Object.entries(e);n<o.length;n++){var a=o[n],i=a[0],s=a[1];isPlainObject(s)?e[i]=_convertSubstringInPlainObject(s,r,t):"string"==typeof s&&(e[i]=s.replace(r,t))}return e},_copy=function(e,r,t,n,o,a,i){if(void 0===r&&(r=-1),void 0===t&&(t=VALUE_COPY_SYMBOL),void 0===n&&(n=null),void 0===o&&(o=!1),void 0===a&&(a=[]),void 0===i&&(i=0),null!==e&&"object"==typeof e){if(!n){if(Array.isArray(e))return _copy(e,r,t,[],o,a,i);if(e instanceof Map)return _copy(e,r,t,new Map,o,a,i);if(e instanceof Set)return _copy(e,r,t,new Set,o,a,i);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var s=/[^/]*$/.exec(e.toString());return(n=new RegExp(e.source,s?s[0]:void 0)).lastIndex=e.lastIndex,n}return"undefined"!=typeof Blob&&e instanceof Blob?e.slice(0,e.size,e.type):_copy(e,r,t,{},o,a,i)}if(e===n)throw new Error("Can't copy because source and destination are identical.");if(!o&&![void 0,null].includes(e)){var l=a.indexOf(e);if(-1!==l)return a[l];a.push(e)}var u=function(e){if(-1!==r&&r<i+1)return t===VALUE_COPY_SYMBOL?e:t;var n=_copy(e,r,t,null,o,a,i+1);return o||[void 0,null].includes(e)||"object"!=typeof e||a.push(e),n};if(Array.isArray(e))for(var f,c=_createForOfIteratorHelperLoose(e);!(f=c()).done;){var _=f.value;n.push(u(_))}else if(e instanceof Map)for(var p,v=_createForOfIteratorHelperLoose(e);!(p=v()).done;){var d=p.value,y=d[0],b=d[1];n.set(y,u(b))}else if(e instanceof Set)for(var g,h=_createForOfIteratorHelperLoose(e);!(g=h()).done;){var O=g.value;n.add(u(O))}else for(var m=0,A=Object.entries(e);m<A.length;m++){var P=A[m],j=P[0],I=P[1];try{n[j]=u(I)}catch(e){throw new Error('Failed to copy property value object "'+j+'": '+_represent(e))}}}return n||e},determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return String(e);var r=typeof e;if(["function","object"].includes(r)&&"toString"in e){var t=Object.prototype.toString.call(e);if(Object.prototype.hasOwnProperty.call(_constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING,t))return _constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING[t]}return r},_equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_extends({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&isFunction(firstValue)&&isFunction(secondValue)||firstValue===secondValue||isNotANumber(firstValue)&&isNotANumber(secondValue)||firstValue instanceof RegExp&&secondValue instanceof RegExp&&firstValue.toString()===secondValue.toString()||firstValue instanceof Date&&secondValue instanceof Date&&(isNaN(firstValue.getTime())&&isNaN(secondValue.getTime())||!isNaN(firstValue.getTime())&&!isNaN(secondValue.getTime())&&firstValue.getTime()===secondValue.getTime())||options.compareBlobs&&"undefined"!==eval("typeof Buffer")&&Object.prototype.hasOwnProperty.call(eval("Buffer"),"isBuffer")&&firstValue instanceof eval("Buffer")&&secondValue instanceof eval("Buffer")&&firstValue.toString("base64")===secondValue.toString("base64"))return!0;if(options.compareBlobs&&"undefined"!=typeof Blob&&firstValue instanceof Blob&&secondValue instanceof Blob)return new Promise((function(e){for(var r=[],t=0,n=[firstValue,secondValue];t<n.length;t++){var o=n[t],a=new FileReader;a.onload=function(t){null===t.target?r.push(null):r.push(t.target.result),2===r.length&&(r[0]===r[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+_represent(r[0])+") !== Blob("+_represent(r[1])+")"))},a.readAsDataURL(o)}}));if(isPlainObject(firstValue)&&isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||determineType(firstValue)===determineType(secondValue)&&["map","set"].includes(determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i13=0,_arr4=[[firstValue,secondValue],[secondValue,firstValue]];_i13<_arr4.length;_i13++){var _arr4$_i=_arr4[_i13],first=_arr4$_i[0],second=_arr4$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=isMap(first);if(firstIsMap&&(!isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=isSet(first);if(firstIsSet&&(!isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr5[_i14];if(0!==options.deep){var r=_equals(e,second[index],_extends({},options,{deep:options.deep-1}));if(!r)return{v:!1};var t=index,n=function(e){var r;return"string"==typeof e?"["+String(t)+"]"+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(Object.prototype.hasOwnProperty.call(r,"then")&&promises.push(r.then(n)),"string"==typeof r)return{v:n(r)}}index+=1},_ret2,_i14=0,_arr5=first;_i14<_arr5.length;_i14++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step13.value,r=e[0],t=e[1];if(0!==options.deep){var n=_equals(t,second.get(r),_extends({},options,{deep:options.deep-1}));if(!n)return{v:!1};var o=function(e){var t;return"string"==typeof e?"get("+_represent(r)+")"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(Object.prototype.hasOwnProperty.call(n,"then")&&promises.push(n.then(o)),"string"==typeof n)return{v:o(n)}}},_ret3,_iterator13=_createForOfIteratorHelperLoose(first),_step13;!(_step13=_iterator13()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step14.value;if(0!==options.deep){for(var r,t=!1,n=[],o=_createForOfIteratorHelperLoose(second);!(r=o()).done;){var a=r.value,i=_equals(e,a,_extends({},options,{deep:options.deep-1}));if("boolean"==typeof i){if(i){t=!0;break}}else n.push(i)}var s=function(r){return!!r||!!options.returnReasonIfNotEqual&&">>> {-> "+_represent(e)+" not found}"};return t?0:(n.length&&promises.push(new Promise((function(e){Promise.all(n).then((function(r){e(s(r.some((function(e){return e}))))}),NOOP)}))),{v:s(!1)})}},_ret4,_iterator14=_createForOfIteratorHelperLoose(first),_step14;!(_step14=_iterator14()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries7[_i15],r=e[0],t=e[1];if(options.properties&&!options.properties.includes(r))return 0;for(var n,o=!1,a=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(n=a()).done;){var i=n.value;if(r.toString().startsWith(i)){o=!0;break}}if(o)return 0;if(0!==options.deep){var s=_equals(t,second[r],_extends({},options,{deep:options.deep-1}));if(!s)return{v:!1};var l=function(e){var t;return"string"==typeof e?r+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(Object.prototype.hasOwnProperty.call(s,"then")&&promises.push(s.then(l)),"string"==typeof s)return{v:l(s)}}},_ret5,_i15=0,_Object$entries7=Object.entries(first);_i15<_Object$entries7.length&&(_ret5=_loop5(),0!==_ret5);_i15++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(r){for(var t,n=_createForOfIteratorHelperLoose(r);!(t=n()).done;){var o=t.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),NOOP)}))}return!!options.returnReasonIfNotEqual&&">>> "+_represent(firstValue)+" !== "+_represent(secondValue)},evaluateDynamicData=function(e,r,t,n,o){if(void 0===r&&(r={}),void 0===t&&(t="self"),void 0===n&&(n="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;t in r||(r[t]=e);var a=function(e,t){void 0===t&&(t=n);var a=evaluate(e,r,t===o);if(a.error)throw new Error(a.error);return a.result},i=function(e){if("object"!=typeof e||null===e||"undefined"==typeof Proxy)return e;for(var r=0,t=Object.entries(e);r<t.length;r++){var l=t[r],u=l[0],f=l[1];if("__target__"!==u&&null!==f&&"object"==typeof f){var c=f;if(i(c),Object.prototype.hasOwnProperty.call(c,n)||Object.prototype.hasOwnProperty.call(c,o)){var _=c;e[u]=new Proxy(c,{get:function(e,r){if("__target__"===r)return e;if("hasOwnProperty"===r)return e[r];for(var t=0,i=[n,o];t<i.length;t++){var l=i[t];if(r===l&&"string"==typeof e[r])return s(a(e[r],l))}var u=s(e);if("toString"===r){var f=a(u);return f[r].bind(f)}if("string"!=typeof r){var c,_=a(u);return null!=(c=_[r])&&c.bind?_[r].bind(_):_[r]}for(var p=0,v=[n,o];p<v.length;p++){var d=v[p];if(Object.prototype.hasOwnProperty.call(e,d))return a(u,d)[r]}return u[r]},ownKeys:function(e){for(var r=0,t=[n,o];r<t.length;r++){var i=t[r];if(Object.prototype.hasOwnProperty.call(e,i))return Object.getOwnPropertyNames(s(a(e[i],i)))}return Object.getOwnPropertyNames(e)}}),e[u].__target__||(e[u].__target__=_)}}}return e},s=function(e){if(null!==e&&"object"==typeof e){if(isProxy(e)){for(var r=0,t=[n,o];r<t.length;r++){var i=t[r];if(Object.prototype.hasOwnProperty.call(e,i))return e[i]}e=e.__target__}for(var l=0,u=Object.entries(e);l<u.length;l++){var f=u[l],c=f[0],_=f[1];if([n,o].includes(c))return"undefined"==typeof Proxy?s(a(_)):_;e[c]=s(_)}}return e};r.resolve=s;var l=function(e){if(null!==e&&"object"==typeof e)for(var r=0,t=Object.entries(e);r<t.length;r++){var n=t[r],o=n[0],a=n[1];if("__target__"!==o&&null!==a&&["function","undefined"].includes(typeof a)){var i=a.__target__;void 0!==i&&(e[o]=i),l(a)}}return e};return Object.prototype.hasOwnProperty.call(e,n)?a(e[n]):Object.prototype.hasOwnProperty.call(e,o)?a(e[o],o):l(s(i(e)))},_removeKeysInEvaluation=function(e,r){void 0===r&&(r=["__evaluate__","__execute__"]);for(var t=0,n=Object.entries(e);t<n.length;t++){var o=n[t],a=o[0],i=o[1];!r.includes(a)&&r.some((function(r){return Object.prototype.hasOwnProperty.call(e,r)}))?delete e[a]:isPlainObject(i)&&_removeKeysInEvaluation(i,r)}return e},_extend=function(e,r){for(var t=!1,n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var i,s=o;e===IGNORE_NULL_AND_UNDEFINED_SYMBOL||"boolean"==typeof e?(t=e,i=r):(i=e,null!==r&&"object"==typeof r?s=[r].concat(s):void 0!==r&&(i=r));for(var l,u=function(e,r){return r===e?e:t&&r&&(isPlainObject(r)||isMap(r))?(n=isMap(r)?e&&isMap(e)?e:new Map:e&&isPlainObject(e)?e:{},_extend(t,n,r)):r;var n},f=_createForOfIteratorHelperLoose(s);!(l=f()).done;){var c=l.value,_=typeof i,p=typeof c;if(isMap(i)&&(_+=" Map"),isMap(c)&&(p+=" Map"),_===p&&i!==c)if(isMap(i)&&isMap(c))for(var v,d=_createForOfIteratorHelperLoose(c);!(v=d()).done;){var y=v.value,b=y[0],g=y[1];i.set(b,u(i.get(b),g))}else if(null===i||Array.isArray(i)||"object"!=typeof i||null===c||Array.isArray(c)||"object"!=typeof c)i=c;else for(var h=0,O=Object.entries(c);h<O.length;h++){var m=O[h],A=m[0],P=m[1];t===IGNORE_NULL_AND_UNDEFINED_SYMBOL&&[null,void 0].includes(P)||(i[A]=u(i[A],P))}else i=c}return i},getSubstructure=function(e,r,t,n){void 0===t&&(t=!0),void 0===n&&(n=".");for(var o,a=[],i=_createForOfIteratorHelperLoose([].concat(r));!(o=i()).done;){var s=o.value;if("string"==typeof s)for(var l,u=_createForOfIteratorHelperLoose(s.split(n));!(l=u()).done;){var f=l.value;if(f){var c=f.match(/(.*?)(\[[0-9]+\])/g);if(c)for(var _,p=_createForOfIteratorHelperLoose(c);!(_=p()).done;){var v=_.value,d=/(.*?)(\[[0-9]+])/.exec(v),y="",b="";d&&(y=d[1],b=d[2],y&&a.push(y)),a.push(b.substring(1,b.length-1))}else a.push(f)}}else a=a.concat(s)}for(var g,h=e,O=_createForOfIteratorHelperLoose(a);!(g=O()).done;){var m=g.value;if(null!==h&&"object"==typeof h){if("string"==typeof m&&Object.prototype.hasOwnProperty.call(h,m))h=h[m];else if(isFunction(m))h=m(h);else if(!t)return}else if(!t)return}return h},getProxyHandler=function(e,r){return void 0===r&&(r={}),r=_extends({delete:"[]",get:"[]",has:"[]",set:"[]"},r),{deleteProperty:function(t,n){return"[]"!==r.delete||"string"!=typeof n?e[r.delete](n):(delete e[n],!0)},get:function(t,n){return"[]"===r.get&&"string"==typeof n?e[n]:e[r.get](n)},has:function(t,n){return"[]"===r.has?n in e:e[r.has](n)},set:function(t,n,o){return"[]"!==r.set||"string"!=typeof n?e[r.set](n,o):(e[n]=o,!0)}}},_mask=function(e,r){if(!0===(r=_extends({exclude:!1,include:!0},r)).exclude||Array.isArray(r.exclude)&&0===r.exclude.length||!1===r.include||"object"!=typeof e)return{};var t=Array.isArray(r.exclude)?r.exclude.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):r.exclude,n=Array.isArray(r.include)?r.include.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):r.include,o={};if(isPlainObject(n))for(var a=0,i=Object.entries(n);a<i.length;a++){var s=i[a],l=s[0],u=s[1];Object.prototype.hasOwnProperty.call(e,l)&&(!0===u?o[l]=e[l]:(isPlainObject(u)||Array.isArray(u)&&u.length)&&"object"==typeof e[l]&&(o[l]=_mask(e[l],{include:u})))}else o=e;if(isPlainObject(t)){for(var f=!1,c=_extends({},o),_=0,p=Object.entries(t);_<p.length;_++){var v=p[_],d=v[0],y=v[1];if(Object.prototype.hasOwnProperty.call(c,d))if(!0===y)f=!0,delete c[d];else if((isPlainObject(y)||Array.isArray(y)&&y.length)&&"object"==typeof c[d]){var b=c[d];c[d]=_mask(c[d],{exclude:y}),c[d]!==b&&(f=!0)}}f&&(o=c)}return o},_modifyObject=function(e,r,t,n,o,a,i,s,l){if(void 0===t&&(t="__remove__"),void 0===n&&(n="__prepend__"),void 0===o&&(o="__append__"),void 0===a&&(a="__"),void 0===i&&(i="__"),void 0===s&&(s=null),void 0===l&&(l=null),isMap(r)&&isMap(e))for(var u,f=_createForOfIteratorHelperLoose(r);!(u=f()).done;){var c=u.value,_=c[0],p=c[1];e.has(_)&&_modifyObject(e.get(_),p,t,n,o,a,i,r,_)}else if(null!==r&&"object"==typeof r&&null!==e&&"object"==typeof e)for(var v=0,d=Object.entries(r);v<d.length;v++){var y=d[v],b=y[0],g=y[1],h=NaN;if(Array.isArray(e)&&b.startsWith(a)&&b.endsWith(i)&&((h=parseInt(b.substring(a.length,b.length-i.length),10))<0||h>=e.length)&&(h=NaN),[t,n,o].includes(b)||!isNaN(h)){if(Array.isArray(e))if(b===t)for(var O,m=_createForOfIteratorHelperLoose([].concat(g));!(O=m()).done;){var A=O.value;"string"==typeof A&&A.startsWith(a)&&A.endsWith(i)?e.splice(parseInt(A.substring(a.length,A.length-i.length),10),1):e.includes(A)?e.splice(e.indexOf(A),1):"number"==typeof A&&A<e.length&&e.splice(A,1)}else b===o?e=e.concat(g):b===n?e=[].concat(g).concat(e):null!==e[h]&&"object"==typeof e[h]&&null!==g&&"object"==typeof g?_extend(!0,_modifyObject(e[h],g,t,n,o,a,i),e[h],g):e[h]=g;else if(b===t)for(var P,j=_createForOfIteratorHelperLoose([].concat(g));!(P=j()).done;){var I=P.value;"string"==typeof I&&Object.prototype.hasOwnProperty.call(e,I)&&delete e[I]}delete r[b],s&&"string"==typeof l&&delete s[l]}else null!==e&&Object.prototype.hasOwnProperty.call(e,b)&&(e[b]=_modifyObject(e[b],g,t,n,o,a,i,r,b))}return e},_removeKeyPrefixes=function(e,r){void 0===r&&(r="#");var t=[].concat(r);if(Array.isArray(e))for(var n,o=0,a=_createForOfIteratorHelperLoose(e.slice());!(n=a()).done;){var i=n.value,s=!1;if("string"==typeof i){for(var l,u=_createForOfIteratorHelperLoose(t);!(l=u()).done;){var f=l.value;if(i.startsWith(f+":")){e.splice(o,1),s=!0;break}}if(s)continue}e[o]=_removeKeyPrefixes(i,t),o+=1}else if(isSet(e))for(var c,_=_createForOfIteratorHelperLoose(new Set(e));!(c=_()).done;){var p=c.value,v=!1;if("string"==typeof p){for(var d,y=_createForOfIteratorHelperLoose(t);!(d=y()).done;){var b=d.value;if(p.startsWith(b+":")){e.delete(p),v=!0;break}}if(v)continue}_removeKeyPrefixes(p,t)}else if(isMap(e))for(var g,h=_createForOfIteratorHelperLoose(new Map(e));!(g=h()).done;){var O=g.value,m=O[0],A=O[1],P=!1;if("string"==typeof m){for(var j,I=_createForOfIteratorHelperLoose(t);!(j=I()).done;){var x=j.value,E=escapeRegularExpressions(x);if(new RegExp("^"+E+"[0-9]*$").test(m)){e.delete(m),P=!0;break}}if(P)continue}e.set(m,_removeKeyPrefixes(A,t))}else if(null!==e&&"object"==typeof e)for(var w=0,M=Object.entries(Object.assign({},e));w<M.length;w++){for(var L,k=M[w],S=k[0],T=k[1],F=!1,N=_createForOfIteratorHelperLoose(t);!(L=N()).done;){var H=L.value,D=escapeRegularExpressions(H);if(new RegExp("^"+D+"[0-9]*$").test(S)){delete e[S],F=!0;break}}F||(e[S]=_removeKeyPrefixes(T,t))}return e},_represent=function(e,r,t,n,o){if(void 0===r&&(r=" "),void 0===t&&(t=""),void 0===n&&(n="__maximum_number_of_levels_reached__"),void 0===o&&(o=8),0===o)return String(n);if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return'"'+e.replace(/\n/g,"\n"+t)+'"';if(isNumeric(e)||"boolean"==typeof e)return String(e);if(Array.isArray(e)){for(var a,i="[",s=!1,l=_createForOfIteratorHelperLoose(e);!(a=l()).done;){var u=a.value;s&&(i+=","),i+="\n"+t+r+_represent(u,r,""+t+r,n,o-1),s=!0}return s&&(i+="\n"+t),i+="]"}if(isMap(e)){for(var f,c="",_=!1,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var v=f.value,d=v[0],y=v[1];_&&(c+=",\n"+t+r),c+=_represent(d,r,""+t+r,n,o-1)+" -> "+_represent(y,r,""+t+r,n,o-1),_=!0}return _||(c="EmptyMap"),c}if(isSet(e)){for(var b,g="{",h=!1,O=_createForOfIteratorHelperLoose(e);!(b=O()).done;){var m=b.value;h&&(g+=","),g+="\n"+t+r+_represent(m,r,""+t+r,n,o-1),h=!0}return h?g+="\n"+t+"}":g="EmptySet",g}if(isFunction(e))return"__function__";for(var A,P="{",j=!1,I=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(e).sort());!(A=I()).done;){var x=A.value;j&&(P+=","),P+="\n"+t+r+x+": "+_represent(e[x],r,""+t+r,n,o-1),j=!0}return j&&(P+="\n"+t),P+="}"},sort=function(e){var r=[];if(Array.isArray(e))for(var t=0;t<e.length;t++)r.push(t);else if("object"==typeof e)if(isMap(e))for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;r.push(a[0])}else if(null!==e)for(var i=0,s=Object.keys(e);i<s.length;i++){var l=s[i];r.push(l)}return r.sort()},_unwrapProxy=function(e,r){if(void 0===r&&(r=new Set),null!==e&&"object"==typeof e){if(r.has(e))return e;try{isFunction(e.__revoke__)&&(isProxy(e)&&(e=e.__target__),e.__revoke__())}catch(r){return e}finally{r.add(e)}if(Array.isArray(e))for(var t,n=0,o=_createForOfIteratorHelperLoose(e);!(t=o()).done;){var a=t.value;e[n]=_unwrapProxy(a,r),n+=1}else if(isMap(e))for(var i,s=_createForOfIteratorHelperLoose(e);!(i=s()).done;){var l=i.value,u=l[0],f=l[1];e.set(u,_unwrapProxy(f,r))}else if(isSet(e)){for(var c,_=[],p=_createForOfIteratorHelperLoose(e);!(c=p()).done;){var v=c.value;e.delete(v),_.push(_unwrapProxy(v,r))}for(var d=0,y=_;d<y.length;d++){var b=y[d];e.add(b)}}else for(var g=0,h=Object.entries(e);g<h.length;g++){var O=h[g],m=O[0],A=O[1];e[m]=_unwrapProxy(A,r)}}return e}}],__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];if(void 0!==r)return r.exports;var t=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](t,t.exports,__webpack_require__),t.exports}__webpack_require__.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=function(e,r){for(var t in r)__webpack_require__.o(r,t)&&!__webpack_require__.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{aggregatePropertyIfEqual:function(){return aggregatePropertyIfEqual},deleteEmptyItems:function(){return deleteEmptyItems},extract:function(){return extract},extractIfMatches:function(){return extractIfMatches},extractIfPropertyExists:function(){return extractIfPropertyExists},extractIfPropertyMatches:function(){return extractIfPropertyMatches},intersect:function(){return intersect},makeArray:function(){return makeArray},makeRange:function(){return makeRange},merge:function(){return merge},paginate:function(){return paginate},permutate:function(){return permutate},permutateLength:function(){return permutateLength},removeArrayItem:function(){return removeArrayItem},sortTopological:function(){return sortTopological},sumUpProperty:function(){return sumUpProperty},unique:function(){return unique}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_indicators__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var aggregatePropertyIfEqual=function(e,r,t){void 0===t&&(t="");var n=t;if(Array.isArray(e)&&e.length&&Object.prototype.hasOwnProperty.call(e[0],r)){n=e[0][r];for(var o=0,a=makeArray(e);o<a.length;o++){if(a[o][r]!==n)return t}}return n},deleteEmptyItems=function(e,r){void 0===r&&(r=[]);for(var t=[],n=0,o=makeArray(e);n<o.length;n++){for(var a=o[n],i=!0,s=0,l=Object.entries(a);s<l.length;s++){var u=l[s],f=u[0],c=u[1];if(!["",null,void 0].includes(c)&&(!r.length||makeArray(r).includes(f))){i=!1;break}}i||t.push(a)}return t},extract=function(e,r){for(var t=[],n=0,o=makeArray(e);n<o.length;n++){for(var a=o[n],i={},s=0,l=makeArray(r);s<l.length;s++){var u=l[s];Object.prototype.hasOwnProperty.call(a,u)&&(i[u]=a[u])}t.push(i)}return t},extractIfMatches=function(e,r){if(!r)return makeArray(e);for(var t=[],n=0,o=makeArray(e);n<o.length;n++){var a=o[n];("string"==typeof r?new RegExp(r):r).test(a)&&t.push(a)}return t},extractIfPropertyExists=function(e,r){if(e&&r){for(var t=[],n=0,o=makeArray(e);n<o.length;n++){for(var a=o[n],i=!1,s=0,l=Object.entries(a);s<l.length;s++){var u=l[s],f=u[0],c=u[1];if(f===r&&![null,void 0].includes(c)){i=!0;break}}i&&t.push(a)}return t}return e},extractIfPropertyMatches=function(e,r){if(e){for(var t=[],n=0,o=makeArray(e);n<o.length;n++){var a=o[n],i=!0;for(var s in r)if(!r[s]||!("string"==typeof r[s]?new RegExp(r[s]):r[s]).test(a[s])){i=!1;break}i&&t.push(a)}return t}return e},intersect=function(e,r,t,n){void 0===t&&(t=[]),void 0===n&&(n=!0);var o=[];r=makeArray(r);for(var a=function(e,r,t,o,a,i){if(i?a&&(t=o):o=t,r[o]!==e[t]&&(n||![null,void 0].includes(r[o])||![null,void 0].includes(e[t])))return!1},i=0,s=makeArray(e);i<s.length;i++){var l=s[i];if((0,_indicators__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(l))for(var u=0,f=r;u<f.length;u++){var c=f[u],_=!0,p=void 0,v=Array.isArray(t);if((0,_indicators__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(t)||v&&t.length?p=!0:(p=!1,t=l),Array.isArray(t))for(var d,y=0,b=_createForOfIteratorHelperLoose(t);!(d=b()).done;){if(!1===a(l,c,y,d.value,v,p)){_=!1;break}y+=1}else for(var g=0,h=Object.entries(t);g<h.length;g++){var O=h[g];if(!1===a(l,c,O[0],O[1],v,p)){_=!1;break}}if(_){o.push(l);break}}else r.includes(l)&&o.push(l)}return o},makeArray=function(e){var r=[];return[null,void 0].includes(e)||((0,_indicators__WEBPACK_IMPORTED_MODULE_1__.isArrayLike)(Object(e))?merge(r,"string"==typeof e?[e]:e):r.push(e)),r},makeRange=function(e,r,t){var n,o;if(void 0===r&&(r=1),void 0===t&&(t=!1),1===(e=[].concat(e)).length)n=0,o=parseInt(String(e[0]),10);else{if(2!==e.length)return e;n=parseInt(String(e[0]),10),o=parseInt(String(e[1]),10)}if(o<n)return[];for(var a=[n];n<=o-r;)n+=r,(!t||n<=o-r)&&a.push(n);return a},merge=function(e,r){Array.isArray(r)||(r=Array.prototype.slice.call(r));for(var t,n=_createForOfIteratorHelperLoose(r);!(t=n()).done;){var o=t.value;e.push(o)}return e},paginate=function(e){void 0===e&&(e={});var r=e,t=r.boundaryCount,n=void 0===t?1:t,o=r.disabled,a=void 0!==o&&o,i=r.hideNextButton,s=void 0!==i&&i,l=r.hidePrevButton,u=void 0!==l&&l,f=r.page,c=void 0===f?1:f,_=r.pageSize,p=void 0===_?5:_,v=r.showFirstButton,d=void 0!==v&&v,y=r.showLastButton,b=void 0!==y&&y,g=r.siblingCount,h=void 0===g?4:g,O=r.total,m=void 0===O?100:O,A="number"!=typeof p||isNaN(p)?m:Math.ceil(m/p),P=makeRange([1,Math.min(n,A)]),j=makeRange([Math.max(A-n+1,n+1),A]),I=Math.max(Math.min(c-h,A-n-2*h-1),n+2),x=Math.min(Math.max(c+h,n+2*h+2),j.length>0?j[0]-2:A-1);return[].concat(d?["first"]:[],u?[]:["previous"],P,I>n+2?["start-ellipsis"]:n+1<A-n?[n+1]:[],makeRange([I,x]),x<A-n-1?["end-ellipsis"]:A-n>n?[A-n]:[],j,s?[]:["next"],b?["last"]:[]).map((function(e){var r;return"number"==typeof e?{disabled:a,page:e,selected:e===c,type:"page"}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({disabled:a||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?c>=A:c<=1),selected:!1,type:e},e.endsWith("-ellipsis")?{}:{page:(null!==(r={first:1,last:A}[e])&&void 0!==r?r:"next"===e)?Math.min(c+1,A):Math.max(c-1,1)})}))},permutate=function(e){var r=[],t=function(e,n){if(void 0===n&&(n=[]),0===e.length)r.push(n);else for(var o=0;o<e.length;o++){var a=e.slice();t(a,n.concat(a.splice(o,1)))}};return t(e),r},permutateLength=function(e,r){void 0===r&&(r=1);var t=[];if(0===e.length)return t;for(var n=function(e,r,o){if(0!==e)for(var a=0;a<r.length;a++)n(e-1,r.slice(a+1),o.concat([r[a]]));else o.length>0&&(t[t.length]=o)},o=r;o<e.length;o++)n(o,e,[]);return t.push(e),t},sumUpProperty=function(e,r){var t=0;if(Array.isArray(e)&&e.length)for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(a,r)&&(t+=parseFloat(a[r]||0))}return t},removeArrayItem=function(e,r,t){void 0===t&&(t=!1);var n=e.indexOf(r);if(-1===n){if(t)throw new Error("Given target doesn't exists in given list.")}else e.splice(n,1);return e},sortTopological=function(e){for(var r=[],t=0,n=Object.entries(e);t<n.length;t++){var o=n[t],a=o[0],i=o[1];if(e[a]=[].concat(i),i.length>0)for(var s,l=_createForOfIteratorHelperLoose(makeArray(i));!(s=l()).done;){var u=s.value;r.push([a,u])}else r.push([a])}for(var f=[],c=0,_=r;c<_.length;c++)for(var p,v=_createForOfIteratorHelperLoose(_[c]);!(p=v()).done;){var d=p.value;f.includes(d)||f.push(d)}for(var y=[],b=function(e,t){if(0!==t.length&&t.includes(e))throw new Error('Cyclic dependency found. "'+e+'" is dependent of itself.\nDependency chain: "'+t.join('" -> "')+'" => "'+e+'".');var n=f.indexOf(e);if(-1!==n){var o;f[n]=null;for(var a=0,i=r;a<i.length;a++){var s=i[a];s[0]===e&&(o=o||t.concat([e]),b(s[1],o))}y.push(e)}},g=0;g<f.length;g++){var h=f[g];if(h){f[g]=null;for(var O,m=_createForOfIteratorHelperLoose(r);!(O=m()).done;){var A=O.value;A[0]===h&&b(A[1],[h])}y.push(h)}}return y},unique=function(e){for(var r,t=[],n=_createForOfIteratorHelperLoose(makeArray(e));!(r=n()).done;){var o=r.value;t.includes(o)||t.push(o)}return t};return __webpack_exports__}()}));