UNPKG

clientnode

Version:

upgrade to object orientated rock solid plugins

1 lines • 61.6 kB
"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"),function(){try{return require("jquery")}catch(e){}}(),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/construct"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/extends","jquery","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/createClass","@babel/runtime/helpers/construct"],r);else{var t="object"==typeof exports?r(require("@babel/runtime/helpers/extends"),function(){try{return require("jquery")}catch(e){}}(),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/construct")):r(e["@babel/runtime/helpers/extends"],e.jQuery,e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/createClass"],e["@babel/runtime/helpers/construct"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__8__){return function(){var __webpack_modules__=[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 c},isMap:function(){return u},isNumeric:function(){return i},isObject:function(){return l},isPlainObject:function(){return s}});var n=t(0),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},s=function(e){return l(e)&&n.PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(e))},u=function(e){return"map"===(0,o.determineType)(e)},c=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e,r,t){t.d(r,{$:function(){return u},NOOP:function(){return c}});var n,o,i=t(1),a=t(6),l=t(11);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=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,r,n=function(){};if(Object.prototype.hasOwnProperty.call(s,"$"))n=s.$;else{if(Object.prototype.hasOwnProperty.call(s,"document"))try{n=t(13)}catch(e){}if(void 0===n||"object"==typeof n&&0===Object.keys(n).length){var o,a=null!=(o=s.document)&&o.querySelectorAll?s.document.querySelectorAll.bind(s.document):function(){return null};(n=function(e){var r=null;if("string"==typeof e?r=a(e):Array.isArray(e)?r=e:("object"==typeof HTMLElement&&e instanceof HTMLElement||1===(null==e?void 0:e.nodeType)&&"string"==typeof e.nodeName)&&(r=[e]),r){if(Object.prototype.hasOwnProperty.call(n,"fn"))for(var t=0,o=Object.entries(n.fn);t<o.length;t++){var l=o[t],u=l[0],c=l[1];r[u]=c.bind(r)}return r.jquery="clientnode",r}return(0,i.isFunction)(e)&&s.document&&s.document.addEventListener("DOMContentLoaded",e),e}).fn={}}}(Object.prototype.hasOwnProperty.call(n,"global")||(n.global=s),Object.prototype.hasOwnProperty.call(n.global,"window"))&&(!n.document&&Object.prototype.hasOwnProperty.call(n.global.window,"document")&&(n.document=null==(e=n.global.window)?void 0:e.document),!n.location&&Object.prototype.hasOwnProperty.call(n.global.window,"location")&&(n.location=null==(r=n.global.window)?void 0:r.location));return n}(),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")){var t;if(-1!==(null==(t=u.global.window)?void 0:t.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){var r,t;(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=null==(r=u.global.window)?void 0:r.document),!u.location&&Object.prototype.hasOwnProperty.call(u.global.window,"location")&&(u.location=null==(t=u.global.window)?void 0:t.location));if(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 n=u.fn.prop;u.fn.prop=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];if(t.length<2&&this.length&&["#text","#comment"].includes(this[0].nodeName.toLowerCase())&&e in this[0]){if(0===t.length)return this[0][e];if(1===t.length)return this[0][e]=t[0],this}return n.call.apply(n,[this,e].concat(t))}}}(u),u.readyException=function(e){if("string"!=typeof e||"canceled"!==e)throw e}},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__(2),_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__(0),_indicators__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 _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 _=c.value,p=_[0],d=_[1];e.set(p,_addDynamicGetterAndSetter(d,r,t,n,o))}else if(isSet(e)){for(var v,g=[],b=_createForOfIteratorHelperLoose(e);!(v=b()).done;){var y=v.value;e.delete(y),g.push(_addDynamicGetterAndSetter(y,r,t,n,o))}for(var h=0,m=g;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 I,N,L=function(){var o=N.value;if(isObject(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}}},S=_createForOfIteratorHelperLoose(i);!(N=S()).done;)if(I=L())return I.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(isObject(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 _=f[c],p=_[0],d=_[1];a[p]=o(p,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],_=c[1];e[f]=_convertMapToPlainObject(_,r)}else if(Array.isArray(e))for(var p=0,d=0,v=e;d<v.length;d++){var g=v[d];e[p]=_convertMapToPlainObject(g,r),p+=1}else if(isSet(e)){for(var b,y=[],h=_createForOfIteratorHelperLoose(e);!(b=h()).done;){var m=b.value;e.delete(m),y.push(_convertMapToPlainObject(m,r))}for(var O=0,E=y;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=_.value,v=d[0],g=d[1];e.set(v,_convertPlainObjectToMap(g,r))}else if(isSet(e)){for(var b,y=[],h=_createForOfIteratorHelperLoose(e);!(b=h()).done;){var m=b.value;e.delete(m),y.push(_convertPlainObjectToMap(m,r))}for(var O=0,E=y;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),isObject(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 _=c.value;n.push(u(_))}else if(e instanceof Map)for(var p,d=_createForOfIteratorHelperLoose(e);!(p=d()).done;){var v=p.value,g=v[0],b=v[1];n.set(g,u(b))}else if(e instanceof Set)for(var y,h=_createForOfIteratorHelperLoose(e);!(y=h()).done;){var m=y.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=[],_i11=0,_arr4=[[firstValue,secondValue],[secondValue,firstValue]];_i11<_arr4.length;_i11++){var _arr4$_i=_arr4[_i11],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[_i12];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,_i12=0,_arr5=first;_i12<_arr5.length;_i12++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step11.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,_iterator11=_createForOfIteratorHelperLoose(first),_step11;!(_step11=_iterator11()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step12.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}))))}),(function(){}))}))),{v:l(!1)})}},_ret4,_iterator12=_createForOfIteratorHelperLoose(first),_step12;!(_step12=_iterator12()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries7[_i13],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.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,_i13=0,_Object$entries7=Object.entries(first);_i13<_Object$entries7.length&&(_ret5=_loop5(),0!==_ret5);_i13++)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)}),(function(){}))}))}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&&isObject(c)){var f=c;if(a(f),Object.prototype.hasOwnProperty.call(f,n)||Object.prototype.hasOwnProperty.call(f,o)){var _=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,_=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 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__=_)}}}return e},l=function(e){if(isObject(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],_=c[1];if([n,o].includes(f))return"undefined"==typeof Proxy?l(i(_)):_;e[f]=l(_)}}return e};r.resolve=l;var s=function(e){if(isObject(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,(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isObject)(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,_=typeof a,p=typeof f;if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(a)&&(_+=" Map"),(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(f)&&(p+=" 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 g=d.value,b=g[0],y=g[1];a.set(b,u(a.get(b),y))}else if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isObject)(a)&&!Array.isArray(a)&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isObject)(f)&&!Array.isArray(f))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;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=_.value,v=/(.*?)(\[[0-9]+])/.exec(d),g="",b="";v&&(g=v[1],b=v[2],g&&i.push(g)),i.push(b.substring(1,b.length-1))}else i.push(c)}}else i=i.concat(l)}for(var y,h=e,m=_createForOfIteratorHelperLoose(i);!(y=m()).done;){var O=y.value;if(isObject(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),_=0,p=Object.entries(t);_<p.length;_++){var d=p[_],v=d[0],g=d[1];if(Object.prototype.hasOwnProperty.call(f,v))if(!0===g)c=!0,delete f[v];else if((isPlainObject(g)||Array.isArray(g)&&g.length)&&"object"==typeof f[v]){var b=f[v];f[v]=_mask(f[v],{exclude:g}),f[v]!==b&&(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,_=f[0],p=f[1];e.has(_)&&_modifyObject(e.get(_),p,t,n,o,i,a,r,_)}else if(isObject(r)&&isObject(e))for(var d=0,v=Object.entries(r);d<v.length;d++){var g=v[d],b=g[0],y=g[1],h=NaN;if(Array.isArray(e)&&b.startsWith(i)&&b.endsWith(a)&&((h=parseInt(b.substring(i.length,b.length-a.length),10))<0||h>=e.length)&&(h=NaN),[t,n,o].includes(b)||!isNaN(h)){if(Array.isArray(e))if(b===t)for(var m,O=_createForOfIteratorHelperLoose([].concat(y));!(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 b===o?e=e.concat(y):b===n?e=[].concat(y).concat(e):isObject(e[h])&&isObject(y)?_extend(!0,_modifyObject(e[h],y,t,n,o,i,a),e[h],y):e[h]=y;else if(b===t)for(var w,A=_createForOfIteratorHelperLoose([].concat(y));!(w=A()).done;){var P=w.value;"string"==typeof P&&Object.prototype.hasOwnProperty.call(e,P)&&delete e[P]}delete r[b],l&&"string"==typeof s&&delete l[s]}else null!==e&&Object.prototype.hasOwnProperty.call(e,b)&&(e[b]=_modifyObject(e[b],y,t,n,o,i,a,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,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,_=_createForOfIteratorHelperLoose(new Set(e));!(f=_()).done;){var p=f.value,d=!1;if("string"==typeof p){for(var v,g=_createForOfIteratorHelperLoose(t);!(v=g()).done;){var b=v.value;if(p.startsWith(b+":")){e.delete(p),d=!0;break}}if(d)continue}_removeKeyPrefixes(p,t)}else if(isMap(e))for(var y,h=_createForOfIteratorHelperLoose(new Map(e));!(y=h()).done;){var m=y.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,I=escapeRegularExpressions(j);if(new RegExp("^"+I+"[0-9]*$").test(O)){e.delete(O),w=!0;break}}if(w)continue}e.set(O,_removeKeyPrefixes(E,t))}else if(isObject(e))for(var N=0,L=Object.entries(Object.assign({},e));N<L.length;N++){for(var S,x=L[N],T=x[0],M=x[1],$=!1,D=_createForOfIteratorHelperLoose(t);!(S=D()).done;){var R=S.value,C=escapeRegularExpressions(R);if(new RegExp("^"+C+"[0-9]*$").test(T)){delete e[T],$=!0;break}}$||(e[T]=_removeKeyPrefixes(M,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(e instanceof Date)return e.toISOString();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="",_=!1,p=_createForOfIteratorHelperLoose(e);!(c=p()).done;){var d=c.value,v=d[0],g=d[1];_&&(f+=",\n"+t+r),f+=_represent(v,r,""+t+r,n,o-1)+" -> "+_represent(g,r,""+t+r,n,o-1),_=!0}return _||(f="EmptyMap"),f}if(isSet(e)){for(var b,y="{",h=!1,m=_createForOfIteratorHelperLoose(e);!(b=m()).done;){var O=b.value;h&&(y+=","),y+="\n"+t+r+_represent(O,r,""+t+r,n,o-1),h=!0}return h?y+="\n"+t+"}":y="EmptySet",y}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),isObject(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=p()).done;){var d=f.value;e.delete(d),_.push(_unwrapProxy(d,r))}for(var v=0,g=_;v<g.length;v++){var b=g[v];e.add(b)}}else for(var y=0,h=Object.entries(e);y<h.length;y++){var m=h[y],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__(2),_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__(0);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_$",FIX_ENCODING_ERROR_MAPPING=null,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.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 b="";try{b=decodeURIComponent(c)}catch(e){}var y=b.indexOf(n);-1===y?v="":(v=b.substring(y)).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 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,_=convertToValidVariableName(f);u.scopeNameMapping[f]=_,u.scopeNames.push(_)}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 p="####",d="`"===(e=e.replace(/\\\$/g,p).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(p,"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,runtimeError:null,error:"Not yet evaluated.",result:void 0};if(a)return c.compileError=c.error=a,c;try{c={compileError:null,runtimeError:null,error:null,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=FIX_ENCODING_ERROR_MAPPING;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,_=0;_<MAXIMAL_NUMBER_OF_ITERATIONS.value;_++){for(var p,d=null,v=null,g=_createForOfIteratorHelperLoose(a);!(p=g()).done;){var b=p.value;(v=findNormalizedMatchRange(c,b,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=t.replace(/^[^0-9]*\+/,"00")).replace(/([0-9].*?) *(,|o[rd]?)\.? ?-?[0-9]+$/,"$1"),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]*[a-zA-Z]-)?(.+)$/,(function(e,r,t){var n;return r&&(r=r.substring(r.length-2).charAt(0).toUpperCase()+"-"),(null!==(n=r)&&void 0!==n?n:"")+(null!=t?t:"").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(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}},clearRequireCache=function(e){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c);for(var r={},t=0,n=Object.entries(e);t<n.length;t++){var o=n[t],i=o[0],a=o[1];r[i]=a,delete e[i]}return r},restoreRequireCache=function(e,r){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c),clearRequireCache();for(var t=0,n=Object.entries(r);t<n.length;t++){var o=n[t],i=o[0],a=o[1];e[i]=a}},isolatedRequire=function(e,r){void 0===r&&(r=currentRequire||__webpack_require__(10));var t=clearRequireCache(r.cache);try{return r(e)}catch(e){throw e}finally{restoreRequireCache(r.cache,t)}}},function(e,r,t){t.d(r,{makeArray:function(){return a}});t(2);var n=t(1);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){function r(e){var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}r.keys=function(){return[]},r.resolve=r,r.id=10,e.exports=r},function(e,r,t){t(9);var n=t(12),o=t.n(n),i=t(7),a=t(0),l=t(3),s=t(1),u=t(4),c=t(5);function f(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 _(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)?_(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 _(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 p=!1,d=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,l.$)(e[0]);if("object"===(0,u.determineType)(e[1])&&!r){for(var a=0,s=Object.entries(e[1]);a<s.length;a++){var c=s[a],f=c[0],_=c[1];t[n](o,f,_)}return o}return 0===(e=(0,i.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(l.$.global,"console")||(l.$.global.console={}),l.$.global.console||(l.$.global.console={});for(var n,o=f(a.CONSOLE_METHODS);!(n=o()).done;){var s=n.value;s in l.$.global.console||(l.$.global.console[s]=l.NOOP)}}var r=e.prototype;return r.destructor=function(){var e;return null!=(e=l.$.fn)&&e.off&&this.off("*"),this},r.initialize=function(r){return void 0===r&&(r={}),this.options=(0,u.extend)(!0,{},e._defaultOptions,r),this.options.domNodeSelectorPrefix=(0,c.format)(this.options.domNodeSelectorPrefix,(0,c.camelCaseToDelimited)(null===this.options.domNodeSelect