PageSourceSearch

https://telfbot-prod.telford.gov.uk/chat/js/flex/flex.chat.pluginv2.js

js telford.gov.uk collected 2026-09-24 09:23:02 UTC 199,711 bytes, 1,072 lines download raw bytes

vendor: 3,623 bytes, lines 1-89
1var FlexAI =
2/******/ (function(modules) { // webpackBootstrap
3/******/ 	// The module cache
4/******/ 	var installedModules = {};
5/******/
6/******/ 	// The require function
7/******/ 	function __webpack_require__(moduleId) {
8/******/
9/******/ 		// Check if module is in cache
10/******/ 		if(installedModules[moduleId]) {
11/******/ 			return installedModules[moduleId].exports;
12/******/ 		}
13/******/ 		// Create a new module (and put it into the cache)
14/******/ 		var module = installedModules[moduleId] = {
15/******/ 			i: moduleId,
16/******/ 			l: false,
17/******/ 			exports: {}
18/******/ 		};
19/******/
20/******/ 		// Execute the module function
21/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22/******/
23/******/ 		// Flag the module as loaded
24/******/ 		module.l = true;
25/******/
26/******/ 		// Return the exports of the module
27/******/ 		return module.exports;
28/******/ 	}
29/******/
30/******/
31/******/ 	// expose the modules object (__webpack_modules__)
32/******/ 	__webpack_require__.m = modules;
33/******/
34/******/ 	// expose the module cache
35/******/ 	__webpack_require__.c = installedModules;
36/******/
37/******/ 	// define getter function for harmony exports
38/******/ 	__webpack_require__.d = function(exports, name, getter) {
39/******/ 		if(!__webpack_require__.o(exports, name)) {
40/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
41/******/ 		}
42/******/ 	};
43/******/
44/******/ 	// define __esModule on exports
45/******/ 	__webpack_require__.r = function(exports) {
46/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48/******/ 		}
49/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
50/******/ 	};
51/******/
52/******/ 	// create a fake namespace object
53/******/ 	// mode & 1: value is a module id, require it
54/******/ 	// mode & 2: merge all properties of value into the ns
55/******/ 	// mode & 4: return value when already ns object
56/******/ 	// mode & 8|1: behave like require
57/******/ 	__webpack_require__.t = function(value, mode) {
58/******/ 		if(mode & 1) value = __webpack_require__(value);
59/******/ 		if(mode & 8) return value;
60/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61/******/ 		var ns = Object.create(null);
62/******/ 		__webpack_require__.r(ns);
63/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65/******/ 		return ns;
66/******/ 	};
67/******/
68/******/ 	// getDefaultExport function for compatibility with non-harmony modules
69/******/ 	__webpack_require__.n = function(module) {
70/******/ 		var getter = module && module.__esModule ?
71/******/ 			function getDefault() { return module['default']; } :
72/******/ 			function getModuleExports() { return module; };
73/******/ 		__webpack_require__.d(getter, 'a', getter);
74/******/ 		return getter;
75/******/ 	};
76/******/
77/******/ 	// Object.prototype.hasOwnProperty.call
78/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79/******/
80/******/ 	// __webpack_public_path__
81/******/ 	__webpack_require__.p = "/";
82/******/
83/******/
84/******/ 	// Load entry module and return exports
85/******/ 	return __webpack_require__(__webpack_require__.s = "./src/index.ts");
86/******/ })
87/************************************************************************/
88/******/ ({
89
vendor: 1,179 bytes, lines 90-100
90/***/ "./node_modules/core-js/fn/promise.js":
91/*!********************************************!*\
92  !*** ./node_modules/core-js/fn/promise.js ***!
93  \********************************************/
94/*! no static exports found */
95/***/ (function(module, exports, __webpack_require__) {
96
97eval("__webpack_require__(/*! ../modules/es6.object.to-string */ \"./node_modules/core-js/modules/es6.object.to-string.js\");\n__webpack_require__(/*! ../modules/es6.string.iterator */ \"./node_modules/core-js/modules/es6.string.iterator.js\");\n__webpack_require__(/*! ../modules/web.dom.iterable */ \"./node_modules/core-js/modules/web.dom.iterable.js\");\n__webpack_require__(/*! ../modules/es6.promise */ \"./node_modules/core-js/modules/es6.promise.js\");\n__webpack_require__(/*! ../modules/es7.promise.finally */ \"./node_modules/core-js/modules/es7.promise.finally.js\");\n__webpack_require__(/*! ../modules/es7.promise.try */ \"./node_modules/core-js/modules/es7.promise.try.js\");\nmodule.exports = __webpack_require__(/*! ../modules/_core */ \"./node_modules/core-js/modules/_core.js\").Promise;\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/fn/promise.js?");
98
99/***/ }),
100
vendor: 530 bytes, lines 101-111
101/***/ "./node_modules/core-js/modules/_a-function.js":
102/*!*****************************************************!*\
103  !*** ./node_modules/core-js/modules/_a-function.js ***!
104  \*****************************************************/
105/*! no static exports found */
106/***/ (function(module, exports) {
107
108eval("module.exports = function (it) {\n  if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n  return it;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_a-function.js?");
109
110/***/ }),
111
vendor: 887 bytes, lines 112-122
112/***/ "./node_modules/core-js/modules/_add-to-unscopables.js":
113/*!*************************************************************!*\
114  !*** ./node_modules/core-js/modules/_add-to-unscopables.js ***!
115  \*************************************************************/
116/*! no static exports found */
117/***/ (function(module, exports, __webpack_require__) {
118
119eval("// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\")(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n  ArrayProto[UNSCOPABLES][key] = true;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_add-to-unscopables.js?");
120
121/***/ }),
122
vendor: 648 bytes, lines 123-133
123/***/ "./node_modules/core-js/modules/_an-instance.js":
124/*!******************************************************!*\
125  !*** ./node_modules/core-js/modules/_an-instance.js ***!
126  \******************************************************/
127/*! no static exports found */
128/***/ (function(module, exports) {
129
130eval("module.exports = function (it, Constructor, name, forbiddenField) {\n  if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n    throw TypeError(name + ': incorrect invocation!');\n  } return it;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_an-instance.js?");
131
132/***/ }),
133
vendor: 642 bytes, lines 134-144
134/***/ "./node_modules/core-js/modules/_an-object.js":
135/*!****************************************************!*\
136  !*** ./node_modules/core-js/modules/_an-object.js ***!
137  \****************************************************/
138/*! no static exports found */
139/***/ (function(module, exports, __webpack_require__) {
140
141eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nmodule.exports = function (it) {\n  if (!isObject(it)) throw TypeError(it + ' is not an object!');\n  return it;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_an-object.js?");
142
143/***/ }),
144
vendor: 1,596 bytes, lines 145-155
145/***/ "./node_modules/core-js/modules/_array-includes.js":
146/*!*********************************************************!*\
147  !*** ./node_modules/core-js/modules/_array-includes.js ***!
148  \*********************************************************/
149/*! no static exports found */
150/***/ (function(module, exports, __webpack_require__) {
151
152eval("// false -> Array#indexOf\n// true  -> Array#includes\nvar toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/modules/_to-iobject.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ \"./node_modules/core-js/modules/_to-absolute-index.js\");\nmodule.exports = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIObject($this);\n    var length = toLength(O.length);\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare\n    if (IS_INCLUDES && el != el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare\n      if (value != value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n      if (O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_array-includes.js?");
153
154/***/ }),
155
vendor: 1,268 bytes, lines 156-166
156/***/ "./node_modules/core-js/modules/_classof.js":
157/*!**************************************************!*\
158  !*** ./node_modules/core-js/modules/_classof.js ***!
159  \**************************************************/
160/*! no static exports found */
161/***/ (function(module, exports, __webpack_require__) {
162
163eval("// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/modules/_cof.js\");\nvar TAG = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n  var O, T, B;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n    // builtinTag case\n    : ARG ? cof(O)\n    // ES3 arguments fallback\n    : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_classof.js?");
164
165/***/ }),
166
vendor: 477 bytes, lines 167-177
167/***/ "./node_modules/core-js/modules/_cof.js":
168/*!**********************************************!*\
169  !*** ./node_modules/core-js/modules/_cof.js ***!
170  \**********************************************/
171/*! no static exports found */
172/***/ (function(module, exports) {
173
174eval("var toString = {}.toString;\n\nmodule.exports = function (it) {\n  return toString.call(it).slice(8, -1);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_cof.js?");
175
176/***/ }),
177
vendor: 495 bytes, lines 178-188
178/***/ "./node_modules/core-js/modules/_core.js":
179/*!***********************************************!*\
180  !*** ./node_modules/core-js/modules/_core.js ***!
181  \***********************************************/
182/*! no static exports found */
183/***/ (function(module, exports) {
184
185eval("var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_core.js?");
186
187/***/ }),
188
vendor: 994 bytes, lines 189-199
189/***/ "./node_modules/core-js/modules/_ctx.js":
190/*!**********************************************!*\
191  !*** ./node_modules/core-js/modules/_ctx.js ***!
192  \**********************************************/
193/*! no static exports found */
194/***/ (function(module, exports, __webpack_require__) {
195
196eval("// optional / simple context binding\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nmodule.exports = function (fn, that, length) {\n  aFunction(fn);\n  if (that === undefined) return fn;\n  switch (length) {\n    case 1: return function (a) {\n      return fn.call(that, a);\n    };\n    case 2: return function (a, b) {\n      return fn.call(that, a, b);\n    };\n    case 3: return function (a, b, c) {\n      return fn.call(that, a, b, c);\n    };\n  }\n  return function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_ctx.js?");
197
198/***/ }),
199
vendor: 555 bytes, lines 200-210
200/***/ "./node_modules/core-js/modules/_defined.js":
201/*!**************************************************!*\
202  !*** ./node_modules/core-js/modules/_defined.js ***!
203  \**************************************************/
204/*! no static exports found */
205/***/ (function(module, exports) {
206
207eval("// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n  if (it == undefined) throw TypeError(\"Can't call method on  \" + it);\n  return it;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_defined.js?");
208
209/***/ }),
210
vendor: 677 bytes, lines 211-221
211/***/ "./node_modules/core-js/modules/_descriptors.js":
212/*!******************************************************!*\
213  !*** ./node_modules/core-js/modules/_descriptors.js ***!
214  \******************************************************/
215/*! no static exports found */
216/***/ (function(module, exports, __webpack_require__) {
217
218eval("// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_descriptors.js?");
219
220/***/ }),
221
vendor: 847 bytes, lines 222-232
222/***/ "./node_modules/core-js/modules/_dom-create.js":
223/*!*****************************************************!*\
224  !*** ./node_modules/core-js/modules/_dom-create.js ***!
225  \*****************************************************/
226/*! no static exports found */
227/***/ (function(module, exports, __webpack_require__) {
228
229eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar document = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n  return is ? document.createElement(it) : {};\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_dom-create.js?");
230
231/***/ }),
232
vendor: 580 bytes, lines 233-243
233/***/ "./node_modules/core-js/modules/_enum-bug-keys.js":
234/*!********************************************************!*\
235  !*** ./node_modules/core-js/modules/_enum-bug-keys.js ***!
236  \********************************************************/
237/*! no static exports found */
238/***/ (function(module, exports) {
239
240eval("// IE 8- don't enum bug keys\nmodule.exports = (\n  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_enum-bug-keys.js?");
241
242/***/ }),
243
vendor: 2,356 bytes, lines 244-254
244/***/ "./node_modules/core-js/modules/_export.js":
245/*!*************************************************!*\
246  !*** ./node_modules/core-js/modules/_export.js ***!
247  \*************************************************/
248/*! no static exports found */
249/***/ (function(module, exports, __webpack_require__) {
250
251eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n  var IS_FORCED = type & $export.F;\n  var IS_GLOBAL = type & $export.G;\n  var IS_STATIC = type & $export.S;\n  var IS_PROTO = type & $export.P;\n  var IS_BIND = type & $export.B;\n  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n  var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n  var key, own, out, exp;\n  if (IS_GLOBAL) source = name;\n  for (key in source) {\n    // contains in native\n    own = !IS_FORCED && target && target[key] !== undefined;\n    // export native or passed\n    out = (own ? target : source)[key];\n    // bind timers to global for call from export context\n    exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n    // extend global\n    if (target) redefine(target, key, out, type & $export.U);\n    // export\n    if (exports[key] != out) hide(exports, key, exp);\n    if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n  }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1;   // forced\n$export.G = 2;   // global\n$export.S = 4;   // static\n$export.P = 8;   // proto\n$export.B = 16;  // bind\n$export.W = 32;  // wrap\n$export.U = 64;  // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_export.js?");
252
253/***/ }),
254
vendor: 487 bytes, lines 255-265
255/***/ "./node_modules/core-js/modules/_fails.js":
256/*!************************************************!*\
257  !*** ./node_modules/core-js/modules/_fails.js ***!
258  \************************************************/
259/*! no static exports found */
260/***/ (function(module, exports) {
261
262eval("module.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (e) {\n    return true;\n  }\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_fails.js?");
263
264/***/ }),
265
vendor: 2,011 bytes, lines 266-276
266/***/ "./node_modules/core-js/modules/_for-of.js":
267/*!*************************************************!*\
268  !*** ./node_modules/core-js/modules/_for-of.js ***!
269  \*************************************************/
270/*! no static exports found */
271/***/ (function(module, exports, __webpack_require__) {
272
273eval("var ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar call = __webpack_require__(/*! ./_iter-call */ \"./node_modules/core-js/modules/_iter-call.js\");\nvar isArrayIter = __webpack_require__(/*! ./_is-array-iter */ \"./node_modules/core-js/modules/_is-array-iter.js\");\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ \"./node_modules/core-js/modules/core.get-iterator-method.js\");\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n  var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n  var f = ctx(fn, that, entries ? 2 : 1);\n  var index = 0;\n  var length, step, iterator, result;\n  if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n  // fast case for arrays with default iterator\n  if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n    result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n    if (result === BREAK || result === RETURN) return result;\n  } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n    result = call(iterator, f, step.value, entries);\n    if (result === BREAK || result === RETURN) return result;\n  }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_for-of.js?");
274
275/***/ }),
276
vendor: 756 bytes, lines 277-287
277/***/ "./node_modules/core-js/modules/_global.js":
278/*!*************************************************!*\
279  !*** ./node_modules/core-js/modules/_global.js ***!
280  \*************************************************/
281/*! no static exports found */
282/***/ (function(module, exports) {
283
284eval("// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n  ? window : typeof self != 'undefined' && self.Math == Math ? self\n  // eslint-disable-next-line no-new-func\n  : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_global.js?");
285
286/***/ }),
287
vendor: 490 bytes, lines 288-298
288/***/ "./node_modules/core-js/modules/_has.js":
289/*!**********************************************!*\
290  !*** ./node_modules/core-js/modules/_has.js ***!
291  \**********************************************/
292/*! no static exports found */
293/***/ (function(module, exports) {
294
295eval("var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n  return hasOwnProperty.call(it, key);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_has.js?");
296
297/***/ }),
298
vendor: 890 bytes, lines 299-309
299/***/ "./node_modules/core-js/modules/_hide.js":
300/*!***********************************************!*\
301  !*** ./node_modules/core-js/modules/_hide.js ***!
302  \***********************************************/
303/*! no static exports found */
304/***/ (function(module, exports, __webpack_require__) {
305
306eval("var dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\");\nvar createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/modules/_property-desc.js\");\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? function (object, key, value) {\n  return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_hide.js?");
307
308/***/ }),
309
vendor: 558 bytes, lines 310-320
310/***/ "./node_modules/core-js/modules/_html.js":
311/*!***********************************************!*\
312  !*** ./node_modules/core-js/modules/_html.js ***!
313  \***********************************************/
314/*! no static exports found */
315/***/ (function(module, exports, __webpack_require__) {
316
317eval("var document = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").document;\nmodule.exports = document && document.documentElement;\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_html.js?");
318
319/***/ }),
320
vendor: 841 bytes, lines 321-331
321/***/ "./node_modules/core-js/modules/_ie8-dom-define.js":
322/*!*********************************************************!*\
323  !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***!
324  \*********************************************************/
325/*! no static exports found */
326/***/ (function(module, exports, __webpack_require__) {
327
328eval("module.exports = !__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") && !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n  return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/modules/_dom-create.js\")('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_ie8-dom-define.js?");
329
330/***/ }),
331
vendor: 1,098 bytes, lines 332-342
332/***/ "./node_modules/core-js/modules/_invoke.js":
333/*!*************************************************!*\
334  !*** ./node_modules/core-js/modules/_invoke.js ***!
335  \*************************************************/
336/*! no static exports found */
337/***/ (function(module, exports) {
338
339eval("// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n  var un = that === undefined;\n  switch (args.length) {\n    case 0: return un ? fn()\n                      : fn.call(that);\n    case 1: return un ? fn(args[0])\n                      : fn.call(that, args[0]);\n    case 2: return un ? fn(args[0], args[1])\n                      : fn.call(that, args[0], args[1]);\n    case 3: return un ? fn(args[0], args[1], args[2])\n                      : fn.call(that, args[0], args[1], args[2]);\n    case 4: return un ? fn(args[0], args[1], args[2], args[3])\n                      : fn.call(that, args[0], args[1], args[2], args[3]);\n  } return fn.apply(that, args);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_invoke.js?");
340
341/***/ }),
342
vendor: 762 bytes, lines 343-353
343/***/ "./node_modules/core-js/modules/_iobject.js":
344/*!**************************************************!*\
345  !*** ./node_modules/core-js/modules/_iobject.js ***!
346  \**************************************************/
347/*! no static exports found */
348/***/ (function(module, exports, __webpack_require__) {
349
350eval("// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/modules/_cof.js\");\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n  return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_iobject.js?");
351
352/***/ }),
353
vendor: 850 bytes, lines 354-364
354/***/ "./node_modules/core-js/modules/_is-array-iter.js":
355/*!********************************************************!*\
356  !*** ./node_modules/core-js/modules/_is-array-iter.js ***!
357  \********************************************************/
358/*! no static exports found */
359/***/ (function(module, exports, __webpack_require__) {
360
361eval("// check on default Array iterator\nvar Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/modules/_iterators.js\");\nvar ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_is-array-iter.js?");
362
363/***/ }),
364
vendor: 509 bytes, lines 365-375
365/***/ "./node_modules/core-js/modules/_is-object.js":
366/*!****************************************************!*\
367  !*** ./node_modules/core-js/modules/_is-object.js ***!
368  \****************************************************/
369/*! no static exports found */
370/***/ (function(module, exports) {
371
372eval("module.exports = function (it) {\n  return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_is-object.js?");
373
374/***/ }),
375
vendor: 905 bytes, lines 376-386
376/***/ "./node_modules/core-js/modules/_iter-call.js":
377/*!****************************************************!*\
378  !*** ./node_modules/core-js/modules/_iter-call.js ***!
379  \****************************************************/
380/*! no static exports found */
381/***/ (function(module, exports, __webpack_require__) {
382
383eval("// call something on iterator step with safe closing on error\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nmodule.exports = function (iterator, fn, value, entries) {\n  try {\n    return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n  // 7.4.6 IteratorClose(iterator, completion)\n  } catch (e) {\n    var ret = iterator['return'];\n    if (ret !== undefined) anObject(ret.call(iterator));\n    throw e;\n  }\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_iter-call.js?");
384
385/***/ }),
386
vendor: 1,302 bytes, lines 387-398
387/***/ "./node_modules/core-js/modules/_iter-create.js":
388/*!******************************************************!*\
389  !*** ./node_modules/core-js/modules/_iter-create.js ***!
390  \******************************************************/
391/*! no static exports found */
392/***/ (function(module, exports, __webpack_require__) {
393
394"use strict";
395eval("\nvar create = __webpack_require__(/*! ./_object-create */ \"./node_modules/core-js/modules/_object-create.js\");\nvar descriptor = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/modules/_property-desc.js\");\nvar setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ \"./node_modules/core-js/modules/_set-to-string-tag.js\");\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n__webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\")(IteratorPrototype, __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n  Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n  setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_iter-create.js?");
396
397/***/ }),
398
vendor: 3,864 bytes, lines 399-410
399/***/ "./node_modules/core-js/modules/_iter-define.js":
400/*!******************************************************!*\
401  !*** ./node_modules/core-js/modules/_iter-define.js ***!
402  \******************************************************/
403/*! no static exports found */
404/***/ (function(module, exports, __webpack_require__) {
405
406"use strict";
407eval("\nvar LIBRARY = __webpack_require__(/*! ./_library */ \"./node_modules/core-js/modules/_library.js\");\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/modules/_export.js\");\nvar redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/modules/_iterators.js\");\nvar $iterCreate = __webpack_require__(/*! ./_iter-create */ \"./node_modules/core-js/modules/_iter-create.js\");\nvar setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ \"./node_modules/core-js/modules/_set-to-string-tag.js\");\nvar getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ \"./node_modules/core-js/modules/_object-gpo.js\");\nvar ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n  $iterCreate(Constructor, NAME, next);\n  var getMethod = function (kind) {\n    if (!BUGGY && kind in proto) return proto[kind];\n    switch (kind) {\n      case KEYS: return function keys() { return new Constructor(this, kind); };\n      case VALUES: return function values() { return new Constructor(this, kind); };\n    } return function entries() { return new Constructor(this, kind); };\n  };\n  var TAG = NAME + ' Iterator';\n  var DEF_VALUES = DEFAULT == VALUES;\n  var VALUES_BUG = false;\n  var proto = Base.prototype;\n  var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n  var $default = $native || getMethod(DEFAULT);\n  var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n  var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n  var methods, key, IteratorPrototype;\n  // Fix native\n  if ($anyNative) {\n    IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n    if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n      // Set @@toStringTag to native iterators\n      setToStringTag(IteratorPrototype, TAG, true);\n      // fix for some old engines\n      if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n    }\n  }\n  // fix Array#{values, @@iterator}.name in V8 / FF\n  if (DEF_VALUES && $native && $native.name !== VALUES) {\n    VALUES_BUG = true;\n    $default = function values() { return $native.call(this); };\n  }\n  // Define iterator\n  if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n    hide(proto, ITERATOR, $default);\n  }\n  // Plug for library\n  Iterators[NAME] = $default;\n  Iterators[TAG] = returnThis;\n  if (DEFAULT) {\n    methods = {\n      values: DEF_VALUES ? $default : getMethod(VALUES),\n      keys: IS_SET ? $default : getMethod(KEYS),\n      entries: $entries\n    };\n    if (FORCED) for (key in methods) {\n      if (!(key in proto)) redefine(proto, key, methods[key]);\n    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n  }\n  return methods;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_iter-define.js?");
408
409/***/ }),
410
vendor: 1,154 bytes, lines 411-421
411/***/ "./node_modules/core-js/modules/_iter-detect.js":
412/*!******************************************************!*\
413  !*** ./node_modules/core-js/modules/_iter-detect.js ***!
414  \******************************************************/
415/*! no static exports found */
416/***/ (function(module, exports, __webpack_require__) {
417
418eval("var ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n  var riter = [7][ITERATOR]();\n  riter['return'] = function () { SAFE_CLOSING = true; };\n  // eslint-disable-next-line no-throw-literal\n  Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n  if (!skipClosing && !SAFE_CLOSING) return false;\n  var safe = false;\n  try {\n    var arr = [7];\n    var iter = arr[ITERATOR]();\n    iter.next = function () { return { done: safe = true }; };\n    arr[ITERATOR] = function () { return iter; };\n    exec(arr);\n  } catch (e) { /* empty */ }\n  return safe;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_iter-detect.js?");
419
420/***/ }),
421
vendor: 485 bytes, lines 422-432
422/***/ "./node_modules/core-js/modules/_iter-step.js":
423/*!****************************************************!*\
424  !*** ./node_modules/core-js/modules/_iter-step.js ***!
425  \****************************************************/
426/*! no static exports found */
427/***/ (function(module, exports) {
428
429eval("module.exports = function (done, value) {\n  return { value: value, done: !!done };\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_iter-step.js?");
430
431/***/ }),
432
vendor: 418 bytes, lines 433-443
433/***/ "./node_modules/core-js/modules/_iterators.js":
434/*!****************************************************!*\
435  !*** ./node_modules/core-js/modules/_iterators.js ***!
436  \****************************************************/
437/*! no static exports found */
438/***/ (function(module, exports) {
439
440eval("module.exports = {};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_iterators.js?");
441
442/***/ }),
443
vendor: 411 bytes, lines 444-454
444/***/ "./node_modules/core-js/modules/_library.js":
445/*!**************************************************!*\
446  !*** ./node_modules/core-js/modules/_library.js ***!
447  \**************************************************/
448/*! no static exports found */
449/***/ (function(module, exports) {
450
451eval("module.exports = false;\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_library.js?");
452
453/***/ }),
454
vendor: 2,652 bytes, lines 455-465
455/***/ "./node_modules/core-js/modules/_microtask.js":
456/*!****************************************************!*\
457  !*** ./node_modules/core-js/modules/_microtask.js ***!
458  \****************************************************/
459/*! no static exports found */
460/***/ (function(module, exports, __webpack_require__) {
461
462eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar macrotask = __webpack_require__(/*! ./_task */ \"./node_modules/core-js/modules/_task.js\").set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/modules/_cof.js\")(process) == 'process';\n\nmodule.exports = function () {\n  var head, last, notify;\n\n  var flush = function () {\n    var parent, fn;\n    if (isNode && (parent = process.domain)) parent.exit();\n    while (head) {\n      fn = head.fn;\n      head = head.next;\n      try {\n        fn();\n      } catch (e) {\n        if (head) notify();\n        else last = undefined;\n        throw e;\n      }\n    } last = undefined;\n    if (parent) parent.enter();\n  };\n\n  // Node.js\n  if (isNode) {\n    notify = function () {\n      process.nextTick(flush);\n    };\n  // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n  } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n    var toggle = true;\n    var node = document.createTextNode('');\n    new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n    notify = function () {\n      node.data = toggle = !toggle;\n    };\n  // environments with maybe non-completely correct, but existent Promise\n  } else if (Promise && Promise.resolve) {\n    // Promise.resolve without an argument throws an error in LG WebOS 2\n    var promise = Promise.resolve(undefined);\n    notify = function () {\n      promise.then(flush);\n    };\n  // for other environments - macrotask based on:\n  // - setImmediate\n  // - MessageChannel\n  // - window.postMessag\n  // - onreadystatechange\n  // - setTimeout\n  } else {\n    notify = function () {\n      // strange IE + webpack dev server bug - use .call(global)\n      macrotask.call(global, flush);\n    };\n  }\n\n  return function (fn) {\n    var task = { fn: fn, next: undefined };\n    if (last) last.next = task;\n    if (!head) {\n      head = task;\n      notify();\n    } last = task;\n  };\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_microtask.js?");
463
464/***/ }),
465
vendor: 1,072 bytes, lines 466-477
466/***/ "./node_modules/core-js/modules/_new-promise-capability.js":
467/*!*****************************************************************!*\
468  !*** ./node_modules/core-js/modules/_new-promise-capability.js ***!
469  \*****************************************************************/
470/*! no static exports found */
471/***/ (function(module, exports, __webpack_require__) {
472
473"use strict";
474eval("\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\n\nfunction PromiseCapability(C) {\n  var resolve, reject;\n  this.promise = new C(function ($$resolve, $$reject) {\n    if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n    resolve = $$resolve;\n    reject = $$reject;\n  });\n  this.resolve = aFunction(resolve);\n  this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n  return new PromiseCapability(C);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_new-promise-capability.js?");
475
476/***/ }),
477
vendor: 2,383 bytes, lines 478-488
478/***/ "./node_modules/core-js/modules/_object-create.js":
479/*!********************************************************!*\
480  !*** ./node_modules/core-js/modules/_object-create.js ***!
481  \********************************************************/
482/*! no static exports found */
483/***/ (function(module, exports, __webpack_require__) {
484
485eval("// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar dPs = __webpack_require__(/*! ./_object-dps */ \"./node_modules/core-js/modules/_object-dps.js\");\nvar enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ \"./node_modules/core-js/modules/_enum-bug-keys.js\");\nvar IE_PROTO = __webpack_require__(/*! ./_shared-key */ \"./node_modules/core-js/modules/_shared-key.js\")('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = __webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/modules/_dom-create.js\")('iframe');\n  var i = enumBugKeys.length;\n  var lt = '<';\n  var gt = '>';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  __webpack_require__(/*! ./_html */ \"./node_modules/core-js/modules/_html.js\").appendChild(iframe);\n  iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n  // createDict = iframe.contentWindow.Object;\n  // html.removeChild(iframe);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n  iframeDocument.close();\n  createDict = iframeDocument.F;\n  while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n  return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    Empty[PROTOTYPE] = anObject(O);\n    result = new Empty();\n    Empty[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = createDict();\n  return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_object-create.js?");
486
487/***/ }),
488
vendor: 1,307 bytes, lines 489-499
489/***/ "./node_modules/core-js/modules/_object-dp.js":
490/*!****************************************************!*\
491  !*** ./node_modules/core-js/modules/_object-dp.js ***!
492  \****************************************************/
493/*! no static exports found */
494/***/ (function(module, exports, __webpack_require__) {
495
496eval("var anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ \"./node_modules/core-js/modules/_ie8-dom-define.js\");\nvar toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/modules/_to-primitive.js\");\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPrimitive(P, true);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return dP(O, P, Attributes);\n  } catch (e) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_object-dp.js?");
497
498/***/ }),
499
vendor: 1,107 bytes, lines 500-510
500/***/ "./node_modules/core-js/modules/_object-dps.js":
501/*!*****************************************************!*\
502  !*** ./node_modules/core-js/modules/_object-dps.js ***!
503  \*****************************************************/
504/*! no static exports found */
505/***/ (function(module, exports, __webpack_require__) {
506
507eval("var dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\");\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/modules/_object-keys.js\");\n\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var keys = getKeys(Properties);\n  var length = keys.length;\n  var i = 0;\n  var P;\n  while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n  return O;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_object-dps.js?");
508
509/***/ }),
510
vendor: 1,121 bytes, lines 511-521
511/***/ "./node_modules/core-js/modules/_object-gpo.js":
512/*!*****************************************************!*\
513  !*** ./node_modules/core-js/modules/_object-gpo.js ***!
514  \*****************************************************/
515/*! no static exports found */
516/***/ (function(module, exports, __webpack_require__) {
517
518eval("// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/modules/_has.js\");\nvar toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/modules/_to-object.js\");\nvar IE_PROTO = __webpack_require__(/*! ./_shared-key */ \"./node_modules/core-js/modules/_shared-key.js\")('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n  O = toObject(O);\n  if (has(O, IE_PROTO)) return O[IE_PROTO];\n  if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n    return O.constructor.prototype;\n  } return O instanceof Object ? ObjectProto : null;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_object-gpo.js?");
519
520/***/ }),
521
vendor: 1,291 bytes, lines 522-532
522/***/ "./node_modules/core-js/modules/_object-keys-internal.js":
523/*!***************************************************************!*\
524  !*** ./node_modules/core-js/modules/_object-keys-internal.js ***!
525  \***************************************************************/
526/*! no static exports found */
527/***/ (function(module, exports, __webpack_require__) {
528
529eval("var has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/modules/_has.js\");\nvar toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/modules/_to-iobject.js\");\nvar arrayIndexOf = __webpack_require__(/*! ./_array-includes */ \"./node_modules/core-js/modules/_array-includes.js\")(false);\nvar IE_PROTO = __webpack_require__(/*! ./_shared-key */ \"./node_modules/core-js/modules/_shared-key.js\")('IE_PROTO');\n\nmodule.exports = function (object, names) {\n  var O = toIObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (has(O, key = names[i++])) {\n    ~arrayIndexOf(result, key) || result.push(key);\n  }\n  return result;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_object-keys-internal.js?");
530
531/***/ }),
532
vendor: 803 bytes, lines 533-543
533/***/ "./node_modules/core-js/modules/_object-keys.js":
534/*!******************************************************!*\
535  !*** ./node_modules/core-js/modules/_object-keys.js ***!
536  \******************************************************/
537/*! no static exports found */
538/***/ (function(module, exports, __webpack_require__) {
539
540eval("// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = __webpack_require__(/*! ./_object-keys-internal */ \"./node_modules/core-js/modules/_object-keys-internal.js\");\nvar enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ \"./node_modules/core-js/modules/_enum-bug-keys.js\");\n\nmodule.exports = Object.keys || function keys(O) {\n  return $keys(O, enumBugKeys);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_object-keys.js?");
541
542/***/ }),
543
vendor: 525 bytes, lines 544-554
544/***/ "./node_modules/core-js/modules/_perform.js":
545/*!**************************************************!*\
546  !*** ./node_modules/core-js/modules/_perform.js ***!
547  \**************************************************/
548/*! no static exports found */
549/***/ (function(module, exports) {
550
551eval("module.exports = function (exec) {\n  try {\n    return { e: false, v: exec() };\n  } catch (e) {\n    return { e: true, v: e };\n  }\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_perform.js?");
552
553/***/ }),
554
vendor: 1,067 bytes, lines 555-565
555/***/ "./node_modules/core-js/modules/_promise-resolve.js":
556/*!**********************************************************!*\
557  !*** ./node_modules/core-js/modules/_promise-resolve.js ***!
558  \**********************************************************/
559/*! no static exports found */
560/***/ (function(module, exports, __webpack_require__) {
561
562eval("var anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar newPromiseCapability = __webpack_require__(/*! ./_new-promise-capability */ \"./node_modules/core-js/modules/_new-promise-capability.js\");\n\nmodule.exports = function (C, x) {\n  anObject(C);\n  if (isObject(x) && x.constructor === C) return x;\n  var promiseCapability = newPromiseCapability.f(C);\n  var resolve = promiseCapability.resolve;\n  resolve(x);\n  return promiseCapability.promise;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_promise-resolve.js?");
563
564/***/ }),
565
vendor: 597 bytes, lines 566-576
566/***/ "./node_modules/core-js/modules/_property-desc.js":
567/*!********************************************************!*\
568  !*** ./node_modules/core-js/modules/_property-desc.js ***!
569  \********************************************************/
570/*! no static exports found */
571/***/ (function(module, exports) {
572
573eval("module.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_property-desc.js?");
574
575/***/ }),
576
vendor: 671 bytes, lines 577-587
577/***/ "./node_modules/core-js/modules/_redefine-all.js":
578/*!*******************************************************!*\
579  !*** ./node_modules/core-js/modules/_redefine-all.js ***!
580  \*******************************************************/
581/*! no static exports found */
582/***/ (function(module, exports, __webpack_require__) {
583
584eval("var redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\");\nmodule.exports = function (target, src, safe) {\n  for (var key in src) redefine(target, key, src[key], safe);\n  return target;\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_redefine-all.js?");
585
586/***/ }),
587
vendor: 1,785 bytes, lines 588-598
588/***/ "./node_modules/core-js/modules/_redefine.js":
589/*!***************************************************!*\
590  !*** ./node_modules/core-js/modules/_redefine.js ***!
591  \***************************************************/
592/*! no static exports found */
593/***/ (function(module, exports, __webpack_require__) {
594
595eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/modules/_has.js\");\nvar SRC = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\")('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\n__webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\").inspectSource = function (it) {\n  return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n  var isFunction = typeof val == 'function';\n  if (isFunction) has(val, 'name') || hide(val, 'name', key);\n  if (O[key] === val) return;\n  if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n  if (O === global) {\n    O[key] = val;\n  } else if (!safe) {\n    delete O[key];\n    hide(O, key, val);\n  } else if (O[key]) {\n    O[key] = val;\n  } else {\n    hide(O, key, val);\n  }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n  return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_redefine.js?");
596
597/***/ }),
598
vendor: 1,057 bytes, lines 599-610
599/***/ "./node_modules/core-js/modules/_set-species.js":
600/*!******************************************************!*\
601  !*** ./node_modules/core-js/modules/_set-species.js ***!
602  \******************************************************/
603/*! no static exports found */
604/***/ (function(module, exports, __webpack_require__) {
605
606"use strict";
607eval("\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\");\nvar SPECIES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('species');\n\nmodule.exports = function (KEY) {\n  var C = global[KEY];\n  if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n    configurable: true,\n    get: function () { return this; }\n  });\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_set-species.js?");
608
609/***/ }),
610
vendor: 912 bytes, lines 611-621
611/***/ "./node_modules/core-js/modules/_set-to-string-tag.js":
612/*!************************************************************!*\
613  !*** ./node_modules/core-js/modules/_set-to-string-tag.js ***!
614  \************************************************************/
615/*! no static exports found */
616/***/ (function(module, exports, __webpack_require__) {
617
618eval("var def = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\").f;\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/modules/_has.js\");\nvar TAG = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n  if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_set-to-string-tag.js?");
619
620/***/ }),
621
vendor: 709 bytes, lines 622-632
622/***/ "./node_modules/core-js/modules/_shared-key.js":
623/*!*****************************************************!*\
624  !*** ./node_modules/core-js/modules/_shared-key.js ***!
625  \*****************************************************/
626/*! no static exports found */
627/***/ (function(module, exports, __webpack_require__) {
628
629eval("var shared = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('keys');\nvar uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\");\nmodule.exports = function (key) {\n  return shared[key] || (shared[key] = uid(key));\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_shared-key.js?");
630
631/***/ }),
632
vendor: 1,030 bytes, lines 633-643
633/***/ "./node_modules/core-js/modules/_shared.js":
634/*!*************************************************!*\
635  !*** ./node_modules/core-js/modules/_shared.js ***!
636  \*************************************************/
637/*! no static exports found */
638/***/ (function(module, exports, __webpack_require__) {
639
640eval("var core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n  return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n  version: core.version,\n  mode: __webpack_require__(/*! ./_library */ \"./node_modules/core-js/modules/_library.js\") ? 'pure' : 'global',\n  copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_shared.js?");
641
642/***/ }),
643
vendor: 1,017 bytes, lines 644-654
644/***/ "./node_modules/core-js/modules/_species-constructor.js":
645/*!**************************************************************!*\
646  !*** ./node_modules/core-js/modules/_species-constructor.js ***!
647  \**************************************************************/
648/*! no static exports found */
649/***/ (function(module, exports, __webpack_require__) {
650
651eval("// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nvar SPECIES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('species');\nmodule.exports = function (O, D) {\n  var C = anObject(O).constructor;\n  var S;\n  return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_species-constructor.js?");
652
653/***/ }),
654
vendor: 1,185 bytes, lines 655-665
655/***/ "./node_modules/core-js/modules/_string-at.js":
656/*!****************************************************!*\
657  !*** ./node_modules/core-js/modules/_string-at.js ***!
658  \****************************************************/
659/*! no static exports found */
660/***/ (function(module, exports, __webpack_require__) {
661
662eval("var toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/modules/_to-integer.js\");\nvar defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/modules/_defined.js\");\n// true  -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n  return function (that, pos) {\n    var s = String(defined(that));\n    var i = toInteger(pos);\n    var l = s.length;\n    var a, b;\n    if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n    a = s.charCodeAt(i);\n    return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n      ? TO_STRING ? s.charAt(i) : a\n      : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n  };\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_string-at.js?");
663
664/***/ }),
665
vendor: 3,334 bytes, lines 666-676
666/***/ "./node_modules/core-js/modules/_task.js":
667/*!***********************************************!*\
668  !*** ./node_modules/core-js/modules/_task.js ***!
669  \***********************************************/
670/*! no static exports found */
671/***/ (function(module, exports, __webpack_require__) {
672
673eval("var ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar invoke = __webpack_require__(/*! ./_invoke */ \"./node_modules/core-js/modules/_invoke.js\");\nvar html = __webpack_require__(/*! ./_html */ \"./node_modules/core-js/modules/_html.js\");\nvar cel = __webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/modules/_dom-create.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n  var id = +this;\n  // eslint-disable-next-line no-prototype-builtins\n  if (queue.hasOwnProperty(id)) {\n    var fn = queue[id];\n    delete queue[id];\n    fn();\n  }\n};\nvar listener = function (event) {\n  run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n  setTask = function setImmediate(fn) {\n    var args = [];\n    var i = 1;\n    while (arguments.length > i) args.push(arguments[i++]);\n    queue[++counter] = function () {\n      // eslint-disable-next-line no-new-func\n      invoke(typeof fn == 'function' ? fn : Function(fn), args);\n    };\n    defer(counter);\n    return counter;\n  };\n  clearTask = function clearImmediate(id) {\n    delete queue[id];\n  };\n  // Node.js 0.8-\n  if (__webpack_require__(/*! ./_cof */ \"./node_modules/core-js/modules/_cof.js\")(process) == 'process') {\n    defer = function (id) {\n      process.nextTick(ctx(run, id, 1));\n    };\n  // Sphere (JS game engine) Dispatch API\n  } else if (Dispatch && Dispatch.now) {\n    defer = function (id) {\n      Dispatch.now(ctx(run, id, 1));\n    };\n  // Browsers with MessageChannel, includes WebWorkers\n  } else if (MessageChannel) {\n    channel = new MessageChannel();\n    port = channel.port2;\n    channel.port1.onmessage = listener;\n    defer = ctx(port.postMessage, port, 1);\n  // Browsers with postMessage, skip WebWorkers\n  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n  } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n    defer = function (id) {\n      global.postMessage(id + '', '*');\n    };\n    global.addEventListener('message', listener, false);\n  // IE8-\n  } else if (ONREADYSTATECHANGE in cel('script')) {\n    defer = function (id) {\n      html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n        html.removeChild(this);\n        run.call(id);\n      };\n    };\n  // Rest old browsers\n  } else {\n    defer = function (id) {\n      setTimeout(ctx(run, id, 1), 0);\n    };\n  }\n}\nmodule.exports = {\n  set: setTask,\n  clear: clearTask\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_task.js?");
674
675/***/ }),
676
vendor: 754 bytes, lines 677-687
677/***/ "./node_modules/core-js/modules/_to-absolute-index.js":
678/*!************************************************************!*\
679  !*** ./node_modules/core-js/modules/_to-absolute-index.js ***!
680  \************************************************************/
681/*! no static exports found */
682/***/ (function(module, exports, __webpack_require__) {
683
684eval("var toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/modules/_to-integer.js\");\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n  index = toInteger(index);\n  return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_to-absolute-index.js?");
685
686/***/ }),
687
vendor: 568 bytes, lines 688-698
688/***/ "./node_modules/core-js/modules/_to-integer.js":
689/*!*****************************************************!*\
690  !*** ./node_modules/core-js/modules/_to-integer.js ***!
691  \*****************************************************/
692/*! no static exports found */
693/***/ (function(module, exports) {
694
695eval("// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_to-integer.js?");
696
697/***/ }),
698
vendor: 773 bytes, lines 699-709
699/***/ "./node_modules/core-js/modules/_to-iobject.js":
700/*!*****************************************************!*\
701  !*** ./node_modules/core-js/modules/_to-iobject.js ***!
702  \*****************************************************/
703/*! no static exports found */
704/***/ (function(module, exports, __webpack_require__) {
705
706eval("// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = __webpack_require__(/*! ./_iobject */ \"./node_modules/core-js/modules/_iobject.js\");\nvar defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/modules/_defined.js\");\nmodule.exports = function (it) {\n  return IObject(defined(it));\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_to-iobject.js?");
707
708/***/ }),
709
vendor: 705 bytes, lines 710-720
710/***/ "./node_modules/core-js/modules/_to-length.js":
711/*!****************************************************!*\
712  !*** ./node_modules/core-js/modules/_to-length.js ***!
713  \****************************************************/
714/*! no static exports found */
715/***/ (function(module, exports, __webpack_require__) {
716
717eval("// 7.1.15 ToLength\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/modules/_to-integer.js\");\nvar min = Math.min;\nmodule.exports = function (it) {\n  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_to-length.js?");
718
719/***/ }),
720
vendor: 618 bytes, lines 721-731
721/***/ "./node_modules/core-js/modules/_to-object.js":
722/*!****************************************************!*\
723  !*** ./node_modules/core-js/modules/_to-object.js ***!
724  \****************************************************/
725/*! no static exports found */
726/***/ (function(module, exports, __webpack_require__) {
727
728eval("// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/modules/_defined.js\");\nmodule.exports = function (it) {\n  return Object(defined(it));\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_to-object.js?");
729
730/***/ }),
731
vendor: 1,167 bytes, lines 732-742
732/***/ "./node_modules/core-js/modules/_to-primitive.js":
733/*!*******************************************************!*\
734  !*** ./node_modules/core-js/modules/_to-primitive.js ***!
735  \*******************************************************/
736/*! no static exports found */
737/***/ (function(module, exports, __webpack_require__) {
738
739eval("// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n  if (!isObject(it)) return it;\n  var fn, val;\n  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_to-primitive.js?");
740
741/***/ }),
742
vendor: 533 bytes, lines 743-753
743/***/ "./node_modules/core-js/modules/_uid.js":
744/*!**********************************************!*\
745  !*** ./node_modules/core-js/modules/_uid.js ***!
746  \**********************************************/
747/*! no static exports found */
748/***/ (function(module, exports) {
749
750eval("var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_uid.js?");
751
752/***/ }),
753
vendor: 616 bytes, lines 754-764
754/***/ "./node_modules/core-js/modules/_user-agent.js":
755/*!*****************************************************!*\
756  !*** ./node_modules/core-js/modules/_user-agent.js ***!
757  \*****************************************************/
758/*! no static exports found */
759/***/ (function(module, exports, __webpack_require__) {
760
761eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_user-agent.js?");
762
763/***/ }),
764
vendor: 942 bytes, lines 765-775
765/***/ "./node_modules/core-js/modules/_wks.js":
766/*!**********************************************!*\
767  !*** ./node_modules/core-js/modules/_wks.js ***!
768  \**********************************************/
769/*! no static exports found */
770/***/ (function(module, exports, __webpack_require__) {
771
772eval("var store = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('wks');\nvar uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\");\nvar Symbol = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n  return store[name] || (store[name] =\n    USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/_wks.js?");
773
774/***/ }),
775
vendor: 1,043 bytes, lines 776-786
776/***/ "./node_modules/core-js/modules/core.get-iterator-method.js":
777/*!******************************************************************!*\
778  !*** ./node_modules/core-js/modules/core.get-iterator-method.js ***!
779  \******************************************************************/
780/*! no static exports found */
781/***/ (function(module, exports, __webpack_require__) {
782
783eval("var classof = __webpack_require__(/*! ./_classof */ \"./node_modules/core-js/modules/_classof.js\");\nvar ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('iterator');\nvar Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/modules/_iterators.js\");\nmodule.exports = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\").getIteratorMethod = function (it) {\n  if (it != undefined) return it[ITERATOR]\n    || it['@@iterator']\n    || Iterators[classof(it)];\n};\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/core.get-iterator-method.js?");
784
785/***/ }),
786
vendor: 1,950 bytes, lines 787-798
787/***/ "./node_modules/core-js/modules/es6.array.iterator.js":
788/*!************************************************************!*\
789  !*** ./node_modules/core-js/modules/es6.array.iterator.js ***!
790  \************************************************************/
791/*! no static exports found */
792/***/ (function(module, exports, __webpack_require__) {
793
794"use strict";
795eval("\nvar addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ \"./node_modules/core-js/modules/_add-to-unscopables.js\");\nvar step = __webpack_require__(/*! ./_iter-step */ \"./node_modules/core-js/modules/_iter-step.js\");\nvar Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/modules/_iterators.js\");\nvar toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/modules/_to-iobject.js\");\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = __webpack_require__(/*! ./_iter-define */ \"./node_modules/core-js/modules/_iter-define.js\")(Array, 'Array', function (iterated, kind) {\n  this._t = toIObject(iterated); // target\n  this._i = 0;                   // next index\n  this._k = kind;                // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n  var O = this._t;\n  var kind = this._k;\n  var index = this._i++;\n  if (!O || index >= O.length) {\n    this._t = undefined;\n    return step(1);\n  }\n  if (kind == 'keys') return step(0, index);\n  if (kind == 'values') return step(0, O[index]);\n  return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/es6.array.iterator.js?");
796
797/***/ }),
798
vendor: 988 bytes, lines 799-810
799/***/ "./node_modules/core-js/modules/es6.object.to-string.js":
800/*!**************************************************************!*\
801  !*** ./node_modules/core-js/modules/es6.object.to-string.js ***!
802  \**************************************************************/
803/*! no static exports found */
804/***/ (function(module, exports, __webpack_require__) {
805
806"use strict";
807eval("\n// 19.1.3.6 Object.prototype.toString()\nvar classof = __webpack_require__(/*! ./_classof */ \"./node_modules/core-js/modules/_classof.js\");\nvar test = {};\ntest[__webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n  __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\")(Object.prototype, 'toString', function toString() {\n    return '[object ' + classof(this) + ']';\n  }, true);\n}\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/es6.object.to-string.js?");
808
809/***/ }),
810
vendor: 11,986 bytes, lines 811-822
811/***/ "./node_modules/core-js/modules/es6.promise.js":
812/*!*****************************************************!*\
813  !*** ./node_modules/core-js/modules/es6.promise.js ***!
814  \*****************************************************/
815/*! no static exports found */
816/***/ (function(module, exports, __webpack_require__) {
817
818"use strict";
819eval("\nvar LIBRARY = __webpack_require__(/*! ./_library */ \"./node_modules/core-js/modules/_library.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar classof = __webpack_require__(/*! ./_classof */ \"./node_modules/core-js/modules/_classof.js\");\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/modules/_export.js\");\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nvar anInstance = __webpack_require__(/*! ./_an-instance */ \"./node_modules/core-js/modules/_an-instance.js\");\nvar forOf = __webpack_require__(/*! ./_for-of */ \"./node_modules/core-js/modules/_for-of.js\");\nvar speciesConstructor = __webpack_require__(/*! ./_species-constructor */ \"./node_modules/core-js/modules/_species-constructor.js\");\nvar task = __webpack_require__(/*! ./_task */ \"./node_modules/core-js/modules/_task.js\").set;\nvar microtask = __webpack_require__(/*! ./_microtask */ \"./node_modules/core-js/modules/_microtask.js\")();\nvar newPromiseCapabilityModule = __webpack_require__(/*! ./_new-promise-capability */ \"./node_modules/core-js/modules/_new-promise-capability.js\");\nvar perform = __webpack_require__(/*! ./_perform */ \"./node_modules/core-js/modules/_perform.js\");\nvar userAgent = __webpack_require__(/*! ./_user-agent */ \"./node_modules/core-js/modules/_user-agent.js\");\nvar promiseResolve = __webpack_require__(/*! ./_promise-resolve */ \"./node_modules/core-js/modules/_promise-resolve.js\");\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n  try {\n    // correct subclassing with @@species support\n    var promise = $Promise.resolve(1);\n    var FakePromise = (promise.constructor = {})[__webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('species')] = function (exec) {\n      exec(empty, empty);\n    };\n    // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n    return (isNode || typeof PromiseRejectionEvent == 'function')\n      && promise.then(empty) instanceof FakePromise\n      // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n      // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n      // we can't detect it synchronously, so just check versions\n      && v8.indexOf('6.6') !== 0\n      && userAgent.indexOf('Chrome/66') === -1;\n  } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n  var then;\n  return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n  if (promise._n) return;\n  promise._n = true;\n  var chain = promise._c;\n  microtask(function () {\n    var value = promise._v;\n    var ok = promise._s == 1;\n    var i = 0;\n    var run = function (reaction) {\n      var handler = ok ? reaction.ok : reaction.fail;\n      var resolve = reaction.resolve;\n      var reject = reaction.reject;\n      var domain = reaction.domain;\n      var result, then, exited;\n      try {\n        if (handler) {\n          if (!ok) {\n            if (promise._h == 2) onHandleUnhandled(promise);\n            promise._h = 1;\n          }\n          if (handler === true) result = value;\n          else {\n            if (domain) domain.enter();\n            result = handler(value); // may throw\n            if (domain) {\n              domain.exit();\n              exited = true;\n            }\n          }\n          if (result === reaction.promise) {\n            reject(TypeError('Promise-chain cycle'));\n          } else if (then = isThenable(result)) {\n            then.call(result, resolve, reject);\n          } else resolve(result);\n        } else reject(value);\n      } catch (e) {\n        if (domain && !exited) domain.exit();\n        reject(e);\n      }\n    };\n    while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n    promise._c = [];\n    promise._n = false;\n    if (isReject && !promise._h) onUnhandled(promise);\n  });\n};\nvar onUnhandled = function (promise) {\n  task.call(global, function () {\n    var value = promise._v;\n    var unhandled = isUnhandled(promise);\n    var result, handler, console;\n    if (unhandled) {\n      result = perform(function () {\n        if (isNode) {\n          process.emit('unhandledRejection', value, promise);\n        } else if (handler = global.onunhandledrejection) {\n          handler({ promise: promise, reason: value });\n        } else if ((console = global.console) && console.error) {\n          console.error('Unhandled promise rejection', value);\n        }\n      });\n      // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n      promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n    } promise._a = undefined;\n    if (unhandled && result.e) throw result.v;\n  });\n};\nvar isUnhandled = function (promise) {\n  return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n  task.call(global, function () {\n    var handler;\n    if (isNode) {\n      process.emit('rejectionHandled', promise);\n    } else if (handler = global.onrejectionhandled) {\n      handler({ promise: promise, reason: promise._v });\n    }\n  });\n};\nvar $reject = function (value) {\n  var promise = this;\n  if (promise._d) return;\n  promise._d = true;\n  promise = promise._w || promise; // unwrap\n  promise._v = value;\n  promise._s = 2;\n  if (!promise._a) promise._a = promise._c.slice();\n  notify(promise, true);\n};\nvar $resolve = function (value) {\n  var promise = this;\n  var then;\n  if (promise._d) return;\n  promise._d = true;\n  promise = promise._w || promise; // unwrap\n  try {\n    if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n    if (then = isThenable(value)) {\n      microtask(function () {\n        var wrapper = { _w: promise, _d: false }; // wrap\n        try {\n          then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n        } catch (e) {\n          $reject.call(wrapper, e);\n        }\n      });\n    } else {\n      promise._v = value;\n      promise._s = 1;\n      notify(promise, false);\n    }\n  } catch (e) {\n    $reject.call({ _w: promise, _d: false }, e); // wrap\n  }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n  // 25.4.3.1 Promise(executor)\n  $Promise = function Promise(executor) {\n    anInstance(this, $Promise, PROMISE, '_h');\n    aFunction(executor);\n    Internal.call(this);\n    try {\n      executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n    } catch (err) {\n      $reject.call(this, err);\n    }\n  };\n  // eslint-disable-next-line no-unused-vars\n  Internal = function Promise(executor) {\n    this._c = [];             // <- awaiting reactions\n    this._a = undefined;      // <- checked in isUnhandled reactions\n    this._s = 0;              // <- state\n    this._d = false;          // <- done\n    this._v = undefined;      // <- value\n    this._h = 0;              // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n    this._n = false;          // <- notify\n  };\n  Internal.prototype = __webpack_require__(/*! ./_redefine-all */ \"./node_modules/core-js/modules/_redefine-all.js\")($Promise.prototype, {\n    // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n    then: function then(onFulfilled, onRejected) {\n      var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n      reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n      reaction.fail = typeof onRejected == 'function' && onRejected;\n      reaction.domain = isNode ? process.domain : undefined;\n      this._c.push(reaction);\n      if (this._a) this._a.push(reaction);\n      if (this._s) notify(this, false);\n      return reaction.promise;\n    },\n    // 25.4.5.1 Promise.prototype.catch(onRejected)\n    'catch': function (onRejected) {\n      return this.then(undefined, onRejected);\n    }\n  });\n  OwnPromiseCapability = function () {\n    var promise = new Internal();\n    this.promise = promise;\n    this.resolve = ctx($resolve, promise, 1);\n    this.reject = ctx($reject, promise, 1);\n  };\n  newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n    return C === $Promise || C === Wrapper\n      ? new OwnPromiseCapability(C)\n      : newGenericPromiseCapability(C);\n  };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\n__webpack_require__(/*! ./_set-to-string-tag */ \"./node_modules/core-js/modules/_set-to-string-tag.js\")($Promise, PROMISE);\n__webpack_require__(/*! ./_set-species */ \"./node_modules/core-js/modules/_set-species.js\")(PROMISE);\nWrapper = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\")[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n  // 25.4.4.5 Promise.reject(r)\n  reject: function reject(r) {\n    var capability = newPromiseCapability(this);\n    var $$reject = capability.reject;\n    $$reject(r);\n    return capability.promise;\n  }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n  // 25.4.4.6 Promise.resolve(x)\n  resolve: function resolve(x) {\n    return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n  }\n});\n$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(/*! ./_iter-detect */ \"./node_modules/core-js/modules/_iter-detect.js\")(function (iter) {\n  $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n  // 25.4.4.1 Promise.all(iterable)\n  all: function all(iterable) {\n    var C = this;\n    var capability = newPromiseCapability(C);\n    var resolve = capability.resolve;\n    var reject = capability.reject;\n    var result = perform(function () {\n      var values = [];\n      var index = 0;\n      var remaining = 1;\n      forOf(iterable, false, function (promise) {\n        var $index = index++;\n        var alreadyCalled = false;\n        values.push(undefined);\n        remaining++;\n        C.resolve(promise).then(function (value) {\n          if (alreadyCalled) return;\n          alreadyCalled = true;\n          values[$index] = value;\n          --remaining || resolve(values);\n        }, reject);\n      });\n      --remaining || resolve(values);\n    });\n    if (result.e) reject(result.v);\n    return capability.promise;\n  },\n  // 25.4.4.4 Promise.race(iterable)\n  race: function race(iterable) {\n    var C = this;\n    var capability = newPromiseCapability(C);\n    var reject = capability.reject;\n    var result = perform(function () {\n      forOf(iterable, false, function (promise) {\n        C.resolve(promise).then(capability.resolve, reject);\n      });\n    });\n    if (result.e) reject(result.v);\n    return capability.promise;\n  }\n});\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/es6.promise.js?");
820
821/***/ }),
822
vendor: 1,145 bytes, lines 823-834
823/***/ "./node_modules/core-js/modules/es6.string.iterator.js":
824/*!*************************************************************!*\
825  !*** ./node_modules/core-js/modules/es6.string.iterator.js ***!
826  \*************************************************************/
827/*! no static exports found */
828/***/ (function(module, exports, __webpack_require__) {
829
830"use strict";
831eval("\nvar $at = __webpack_require__(/*! ./_string-at */ \"./node_modules/core-js/modules/_string-at.js\")(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n__webpack_require__(/*! ./_iter-define */ \"./node_modules/core-js/modules/_iter-define.js\")(String, 'String', function (iterated) {\n  this._t = String(iterated); // target\n  this._i = 0;                // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n  var O = this._t;\n  var index = this._i;\n  var point;\n  if (index >= O.length) return { value: undefined, done: true };\n  point = $at(O, index);\n  this._i += point.length;\n  return { value: point, done: false };\n});\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/es6.string.iterator.js?");
832
833/***/ }),
834
vendor: 1,581 bytes, lines 835-846
835/***/ "./node_modules/core-js/modules/es7.promise.finally.js":
836/*!*************************************************************!*\
837  !*** ./node_modules/core-js/modules/es7.promise.finally.js ***!
838  \*************************************************************/
839/*! no static exports found */
840/***/ (function(module, exports, __webpack_require__) {
841
842"use strict";
843eval("// https://github.com/tc39/proposal-promise-finally\n\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/modules/_export.js\");\nvar core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar speciesConstructor = __webpack_require__(/*! ./_species-constructor */ \"./node_modules/core-js/modules/_species-constructor.js\");\nvar promiseResolve = __webpack_require__(/*! ./_promise-resolve */ \"./node_modules/core-js/modules/_promise-resolve.js\");\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n  var C = speciesConstructor(this, core.Promise || global.Promise);\n  var isFunction = typeof onFinally == 'function';\n  return this.then(\n    isFunction ? function (x) {\n      return promiseResolve(C, onFinally()).then(function () { return x; });\n    } : onFinally,\n    isFunction ? function (e) {\n      return promiseResolve(C, onFinally()).then(function () { throw e; });\n    } : onFinally\n  );\n} });\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/es7.promise.finally.js?");
844
845/***/ }),
846
vendor: 1,138 bytes, lines 847-858
847/***/ "./node_modules/core-js/modules/es7.promise.try.js":
848/*!*********************************************************!*\
849  !*** ./node_modules/core-js/modules/es7.promise.try.js ***!
850  \*********************************************************/
851/*! no static exports found */
852/***/ (function(module, exports, __webpack_require__) {
853
854"use strict";
855eval("\n// https://github.com/tc39/proposal-promise-try\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/modules/_export.js\");\nvar newPromiseCapability = __webpack_require__(/*! ./_new-promise-capability */ \"./node_modules/core-js/modules/_new-promise-capability.js\");\nvar perform = __webpack_require__(/*! ./_perform */ \"./node_modules/core-js/modules/_perform.js\");\n\n$export($export.S, 'Promise', { 'try': function (callbackfn) {\n  var promiseCapability = newPromiseCapability.f(this);\n  var result = perform(callbackfn);\n  (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);\n  return promiseCapability.promise;\n} });\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/es7.promise.try.js?");
856
857/***/ }),
858
vendor: 2,772 bytes, lines 859-869
859/***/ "./node_modules/core-js/modules/web.dom.iterable.js":
860/*!**********************************************************!*\
861  !*** ./node_modules/core-js/modules/web.dom.iterable.js ***!
862  \**********************************************************/
863/*! no static exports found */
864/***/ (function(module, exports, __webpack_require__) {
865
866eval("var $iterators = __webpack_require__(/*! ./es6.array.iterator */ \"./node_modules/core-js/modules/es6.array.iterator.js\");\nvar getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/modules/_object-keys.js\");\nvar redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/modules/_iterators.js\");\nvar wks = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\");\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n  CSSRuleList: true, // TODO: Not spec compliant, should be false.\n  CSSStyleDeclaration: false,\n  CSSValueList: false,\n  ClientRectList: false,\n  DOMRectList: false,\n  DOMStringList: false,\n  DOMTokenList: true,\n  DataTransferItemList: false,\n  FileList: false,\n  HTMLAllCollection: false,\n  HTMLCollection: false,\n  HTMLFormElement: false,\n  HTMLSelectElement: false,\n  MediaList: true, // TODO: Not spec compliant, should be false.\n  MimeTypeArray: false,\n  NamedNodeMap: false,\n  NodeList: true,\n  PaintRequestList: false,\n  Plugin: false,\n  PluginArray: false,\n  SVGLengthList: false,\n  SVGNumberList: false,\n  SVGPathSegList: false,\n  SVGPointList: false,\n  SVGStringList: false,\n  SVGTransformList: false,\n  SourceBufferList: false,\n  StyleSheetList: true, // TODO: Not spec compliant, should be false.\n  TextTrackCueList: false,\n  TextTrackList: false,\n  TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n  var NAME = collections[i];\n  var explicit = DOMIterables[NAME];\n  var Collection = global[NAME];\n  var proto = Collection && Collection.prototype;\n  var key;\n  if (proto) {\n    if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n    if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n    Iterators[NAME] = ArrayValues;\n    if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n  }\n}\n\n\n//# sourceURL=webpack://FlexAI/./node_modules/core-js/modules/web.dom.iterable.js?");
867
868/***/ }),
869
vendor: 11,310 bytes, lines 870-880
870/***/ "./node_modules/icsai-flex-chat-common/index.js":
871/*!******************************************************!*\
872  !*** ./node_modules/icsai-flex-chat-common/index.js ***!
873  \******************************************************/
874/*! no static exports found */
875/***/ (function(module, exports) {
876
877eval("!function(e,t){for(var n in t)e[n]=t[n]}(exports,function(e){var t={};function n(r){if(t[r])return t[r].exports;var l=t[r]={i:r,l:!1,exports:{}};return e[r].call(l.exports,l,l.exports,n),l.l=!0,l.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var l in e)n.d(r,l,function(t){return e[t]}.bind(null,l));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"/\",n(n.s=1)}([function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(5);t.Utils=r;var l=n(6);t.Log=l;var i=n(7);t.Cache=i},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(2);t.Dispatcher=r.Dispatcher,t.ThemeManager=r.ThemeManager;var l=n(8);t.EmptyContext=l.EmptyContext,t.ThemeAttributes=l.ThemeAttributes;var i=n(0);t.Log=i.Log,t.Utils=i.Utils,t.Cache=i.Cache},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(3);t.Dispatcher=r.Dispatcher;var l=n(4);t.ThemeManager=l.ThemeManager},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e){this._eventTypes=[],this._handlers={},this._handlers={},this._eventTypes=e}return e.prototype.on=function(e,t){return~this._eventTypes.indexOf(e)?(e in this._handlers||(this._handlers[e]=[]),this._handlers[e].push(t),this):this},e.prototype.off=function(e,t){if(!(e in this._handlers))return this;var n,r,l=this._handlers[e];for(n=0,r=l.length;n<r;n++)if(l[n]===t)return l.splice(n,1),this.off(e,t);return this},e.prototype.dispatch=function(e,t){var n,r,l,i=this._handlers[e];if(!i)return this;for(r=0,l=i.length;r<l;r++)n=i[r],setTimeout(function(){n(t)},0);return this},e.prototype.dispose=function(){var e,t;for(e in this._handlers){if(t=this._handlers[e])for(;t.length>0;)t.pop();delete this._handlers[e]}this._handlers=null},e}();t.Dispatcher=r},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(0),l=new(function(){function e(){}return Object.defineProperty(e.prototype,\"themeType\",{get:function(){return this._themeType},set:function(e){e!=this._themeType&&(this._themeType=e,this.updateTheme())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"theme\",{get:function(){return this._themeName},set:function(e){e!=this._themeName&&(this._themeName=e,this._currentTheme=this._themes[this._themeName],this.updateTheme())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"themes\",{get:function(){return this._themes},set:function(e){this._themes=e},enumerable:!0,configurable:!0}),e.prototype.updateTheme=function(){var e,t=this._themeName+(new Date).getTime(),n=\"flxb-theme-\"+t,r=\"icsAIFlexStyles\"+t;if(e=this.createStyleSheet(r)){if(this.applyDefinition(n,e),null!=this._themeId){var l=document.getElementById(this._themeId);null!=l&&null!=l.parentElement&&l.parentElement.removeChild(l)}this._themeClass=n,this._themeId=r}},e.prototype.getStyleSheet=function(e){for(var t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.title==e)return n}return null},e.prototype.applyDefinition=function(e,t){var n,r,l;for(n=0;n<this._definition.length;n++)for(l=this._definition[n],r=0;r<l.rules.length;r++)this.applyRule([\".\",e,l.selector].join(\"\"),l.rules[r],t)},e.prototype.applyRule=function(e,t,n){var r,l,i,o,s={selector:[],attributes:[],name:t.name};if(t&&this.compileSelector(e,t.selector,s.selector)){for(r=0;r<t.attributes.length;r++)l=t.attributes[r],(o=this.getRuleValue(l.name,t.name,l.important,l.value))&&s.attributes.push({name:l.name,value:o});if(0!=s.attributes.length&&(i=this.transformRule(s))&&i.length>0)try{n.insertRule(i,0)}catch(e){console.log(\"Unable to insert Rule \"+i,e)}}},e.prototype.getRuleValue=function(e,t,n,r){var l=this._currentTheme,i=null;return null!=l[e]&&(i=l[e][t]),null==(i=this.validateThemeValue(i,\"image\"==e))&&null!=r&&r.length>0?this.getRuleValue(\"image\"==e?e:\"palette\",r,n):i=n?i+\" !important\":i},e.prototype.validateThemeValue=function(e,t){return null==e?null:(\"string\"!=typeof e&&(e=e[this._themeType]),null==e||0==e.length?null:t?r.Utils.validateUrlCss(e,this._remoteUrl,this._allowRemoteUrls):r.Utils.validateColorCss(e)?e:null)},e.prototype.transformRule=function(e){var t,n,r,l=e.selector,i=null,o=null;for(l.push(\"{\"),t=0;t<e.attributes.length;t++){switch(r=null,(n=e.attributes[t]).name){case\"background\":r=\"background-color\";break;case\"border\":r=\"border-color\";break;case\"film\":i=n.value;break;case\"icon\":r=\"fill\";break;case\"image\":o=n.value;break;case\"text\":r=\"color\";break;case\"hue\":l.push(\"filter:hue-rotate(\"+n.value+\");\")}r&&l.push(r+\":\"+n.value+\";\")}return null!=i&&null!=o?l.push(\"background-image:linear-gradient(\"+i+\",\"+i+\"), url('\"+o+\"');\"):null!=i?l.push(\"background-color:\"+i+\";\"):null!=o&&l.push(\"background-image:url('\"+o+\"');\"),l.push(\"}\"),l.join(\"\")},e.prototype.compileSelector=function(e,t,n){var r;if(!t||0==t.length)return!1;if(\"string\"==typeof t)return n.push(e),~t.indexOf(\"~\")?n.push(t.substr(1)):(n.push(\" \"),n.push(t)),!0;for(r=0;r<t.length;r++){if(!this.compileSelector(e,t[r],n))return!1;r<t.length-1&&n.push(\", \")}return!0},e.prototype.createStyleSheet=function(e){if(!document.head)return null;var t=document.createElement(\"style\");return t.setAttribute(\"title\",e),t.setAttribute(\"type\",\"text/css\"),document.head.appendChild(t),this.getStyleSheet(e)},e.prototype.init=function(e,t,n,r,l,i){void 0===i&&(i=!1);var o=document.body.style;this._supportsBackdrop=void 0!==o[\"backdrop-filter\"]||void 0!==o[\"-webkit-backdrop-filter\"],this._definition=e,this._themes=n||{flex:{allowBlur:!0}},this._themeType=r||\"light\",this._themeName=t||\"flex\",this._remoteUrl=l,this._allowRemoteUrls=i,n&&r&&t&&(this._currentTheme=this._themes[this._themeName],this.updateTheme())},e.prototype.apply=function(e){var t=null==this._currentTheme||this._currentTheme.allowBlur;this._supportsBackdrop&&t?r.Utils.modifyClassName(e,\"flxb-backdrop\"):r.Utils.modifyClassName(e,null,\"flxb-backdrop\");var n=e.getAttribute(\"data-theme\")||\"\";this._currentTheme?r.Utils.modifyClassName(e,this._themeClass+\" flxb-\"+this._themeType,n+\" flxb-dark flxb-light\"):r.Utils.modifyClassName(e,\"flxb-\"+this._themeType,n+\" flxb-dark flxb-light\"),e.setAttribute(\"data-theme\",this._themeClass||\"\")},e}());t.ThemeManager=l},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|[0-9]{1,3}deg|(rgb|hsl)a?\\((-?\\d+%?[,\\s]+){2,3}\\s*[\\d\\.]+%?\\))$/i;t.modifyClassName=function(e,t,n){if(null!=e){var r,l=[],i=-1,o=0,s=null;if(e.className.length>0&&(l=e.className.split(\" \")),n&&n.length>0)for(r=n.split(\" \"),o=0;o<r.length;o++)s=r[o],~(i=l.indexOf(s))&&l.splice(i,1);if(t&&t.length>0)for(r=t.split(\" \"),o=0;o<r.length;o++)s=r[o],~(i=l.indexOf(s))||l.push(s);e.className=l.join(\" \")}},t.toggleClassName=function(e,t){if(null!=e){var n,r=[],l=-1,i=0,o=null;if(e.className.length>0&&(r=e.className.split(\" \")),t&&t.length>0)for(n=t.split(\" \"),i=0;i<n.length;i++)o=n[i],~(l=r.indexOf(o))?r.splice(l,1):r.push(o);e.className=r.join(\" \")}},t.querySelectorAll=function(e,t){if(null==e||null==t||0==t.length)return[];for(var n=e.querySelectorAll(t),r=[],l=0;l<n.length;l++)r.push(n[l]);return r},t.htmlEscape=function(e,t){return void 0===t&&(t=!1),e.replace(/&/g,\"&amp;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#39;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\")},t.validateColorCss=function(e){return null!=e&&r.test(e)},t.validUrl=function(e,t){return!(null==document.location||null==e||~e.toLowerCase().indexOf(\"javascript:\")||t&&0!=e.indexOf(\".\")&&0!=e.indexOf(\"/\")&&0!=e.indexOf(document.location.origin))},t.validateUrlCss=function(e,t,n){if(void 0===n&&(n=!1),null==e||e.toLowerCase().indexOf(\"javascript:\")>=0)return null;if(e=e.split(\";\")[0],!document||!document.location)return null;var r=document.location.origin;return t||(t=r),0===e.indexOf(\"//\")&&(t=t.substr(t.indexOf(\"//\")),r=r.substr(r.indexOf(\"//\"))),0==e.indexOf(r)||0==e.indexOf(t)?e:0===e.indexOf(\"~\")?e.replace(\"~\",t):0===e.indexOf(\"/\")?r+e:n?e:null},t.isEmpty=function(e){return null==e||0==e.length},t.splitList=function(e,t){for(var n=[],r=[],l=0;l<e.length;){var i=e[l++];i!=t?r.push(i):l<e.length&&e[l]==t&&(r.push(i),i=null,l++),r.length>0&&(l==e.length||i==t)&&(n.push(r.join(\"\").trim()),r=[])}return n},t.addDynamicListener=function(e,n,r,l){e.addEventListener(n,function(n){for(var i=t.querySelectorAll(e,r),o=n.target;o!=e;){if(~i.indexOf(o))return void l({e:n,el:o});o.parentElement&&(o=o.parentElement)}})},t.isIE=function(){try{var e=navigator.userAgent.match(/(MSIE |Trident.*rv[ :])([0-9]+)/);if(e&&e.length>1)return!0}catch(e){}return!1}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.logError=function(e,t,n){if(console.log(e,n),t)throw new Error(e)},t.logInfo=function(e,t){console.log(e,t)}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getValue=function(e,t,n){if(t&&\"none\"!=t){var r=null;switch(t){case\"local\":r=localStorage.getItem(e);break;case\"session\":r=sessionStorage.getItem(e)}if(null!=r&&r.length>0)try{var l=JSON.parse(r,function(e,t){return\"date\"==e?null==t||0==t.length?new Date:new Date(t):t}),i=null==n||0==n?new Date:new Date(Date.now()-1e3*n);if(l.date.getTime()>i.getTime())return l.value}catch(e){console.log(\"Unable to parse cache \"+r)}}return null},t.setValue=function(e,t,n){if(n&&\"none\"!=n)if(null==t)switch(n){case\"local\":localStorage.removeItem(e);break;case\"session\":sessionStorage.removeItem(e)}else{var r=JSON.stringify({value:t,date:new Date});switch(n){case\"local\":localStorage.setItem(e,r);break;case\"session\":sessionStorage.setItem(e,r)}}}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(9);t.EmptyContext=r.EmptyContext;var l=n(10);t.ThemeAttributes=l.ThemeAttributes},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.EmptyContext={site:\"\",page:\"\",view:\"\",data:{}}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.ThemeAttributes=[\"background\",\"border\",\"film\",\"icon\",\"image\",\"palette\",\"text\",\"hue\"]}]));\n\n//# sourceURL=webpack://FlexAI/./node_modules/icsai-flex-chat-common/index.js?");
878
879/***/ }),
880
881/***/ "./src/components/button.component.ts":
882/*!********************************************!*\
883  !*** ./src/components/button.component.ts ***!
884  \********************************************/
885/*! no static exports found */
886/***/ (function(module, exports, __webpack_require__) {
887
888"use strict";
889eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n    __assign = Object.assign || function(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n                t[p] = s[p];\r\n        }\r\n        return t;\r\n    };\r\n    return __assign.apply(this, arguments);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.Button = void 0;\r\nvar icsai_flex_chat_common_1 = __webpack_require__(/*! icsai-flex-chat-common */ \"./node_modules/icsai-flex-chat-common/index.js\");\r\nvar models_1 = __webpack_require__(/*! ../models */ \"./src/models/index.ts\");\r\nvar Views = __webpack_require__(/*! ../views */ \"./src/views/index.ts\");\r\nvar Button = /** @class */ (function (_super) {\r\n    __extends(Button, _super);\r\n    function Button(element, options, dock) {\r\n        var _this = _super.call(this, ['click']) || this;\r\n        _this._init(element, options, dock);\r\n        return _this;\r\n    }\r\n    Object.defineProperty(Button.prototype, \"hideOnMaximised\", {\r\n        //#endregion\r\n        //#region - Properties -\r\n        get: function () { return this._hideOnMaximised; },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(Button.prototype, \"hideOnMinimise\", {\r\n        get: function () { return this._hideOnMinimised; },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(Button.prototype, \"dock\", {\r\n        get: function () { return this._dockType; },\r\n        set: function (value) {\r\n            switch (value) {\r\n                case \"none\":\r\n                case \"left\":\r\n                case \"right\":\r\n                case \"full\": break;\r\n                default: return;\r\n            }\r\n            this._handleDock(value);\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    //#endregion\r\n    //#region - Private Methods -\r\n    Button.prototype._init = function (container, options, dock) {\r\n        var _this = this;\r\n        options = __assign(__assign({}, models_1.BaseButtonOptions), options);\r\n        if (options.frameOnly)\r\n            this._element = container;\r\n        else {\r\n            container.insertAdjacentHTML('beforeend', Views.button);\r\n            this._element = container.querySelector('.flxb-button');\r\n            var description = (options.description == null || options.description.length == 0 ? \"This button opens the chatbot\" : options.description);\r\n            this._element.title = description;\r\n            this._element.setAttribute('aria-label', description);\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(this._element, 'flxb-hidden');\r\n            icsai_flex_chat_common_1.ThemeManager.apply(this._element);\r\n            this._element.tabIndex = options.tabIndex > 0 ? options.tabIndex : 0;\r\n            this._hideOnMaximised = options.hideOnMaximised == true;\r\n            this._hideOnMinimised = options.hideOnMinimised == true;\r\n            this._useDockStyle = options.useDockStyle == true;\r\n            if (dock)\r\n                this.dock = dock;\r\n        }\r\n        this._element.addEventListener('click', function () {\r\n            _this.dispatch('click');\r\n        });\r\n        this._element.addEventListener('keydown', function (e) {\r\n            if (e.keyCode == 13)\r\n                _this.dispatch('click');\r\n        });\r\n        this._frameOnly = options.frameOnly == true;\r\n    };\r\n    Button.prototype._handleDock = function (dockType) {\r\n        if (!this._useDockStyle)\r\n            return;\r\n        var classname = (dockType == 'none' ? null : 'flxb-docked flxb-dock-' + dockType);\r\n        icsai_flex_chat_common_1.Utils.modifyClassName(this._element, classname, 'flxb-docked flxb-dock-left flxb-dock-right flxb-dock-full');\r\n    };\r\n    //#endregion\r\n    //#region - Public Methods -    \r\n    Button.prototype.show = function () {\r\n        if (this._frameOnly)\r\n            return;\r\n        icsai_flex_chat_common_1.Utils.modifyClassName(this._element, 'flxb-visible', 'flxb-hidden');\r\n    };\r\n    Button.prototype.hide = function () {\r\n        if (this._frameOnly)\r\n            return;\r\n        icsai_flex_chat_common_1.Utils.modifyClassName(this._element, 'flxb-hidden', 'flxb-visible');\r\n    };\r\n    return Button;\r\n}(icsai_flex_chat_common_1.Dispatcher));\r\nexports.Button = Button;\r\n\n\n//# sourceURL=webpack://FlexAI/./src/components/button.component.ts?");
890
891/***/ }),
892
893/***/ "./src/components/chat-context.component.ts":
894/*!**************************************************!*\
895  !*** ./src/components/chat-context.component.ts ***!
896  \**************************************************/
897/*! no static exports found */
898/***/ (function(module, exports, __webpack_require__) {
899
900"use strict";
901eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n    __assign = Object.assign || function(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n                t[p] = s[p];\r\n        }\r\n        return t;\r\n    };\r\n    return __assign.apply(this, arguments);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.ChatContext = void 0;\r\nvar _1 = __webpack_require__(/*! . */ \"./src/components/index.ts\");\r\nvar chat_loader_component_1 = __webpack_require__(/*! ./chat-loader.component */ \"./src/components/chat-loader.component.ts\");\r\nvar models_1 = __webpack_require__(/*! ../models */ \"./src/models/index.ts\");\r\nvar stores_1 = __webpack_require__(/*! ../stores */ \"./src/stores/index.ts\");\r\nvar icsai_flex_chat_common_1 = __webpack_require__(/*! icsai-flex-chat-common */ \"./node_modules/icsai-flex-chat-common/index.js\");\r\nvar ChatContext = /** @class */ (function (_super) {\r\n    __extends(ChatContext, _super);\r\n    function ChatContext() {\r\n        var _this = _super.call(this, ['load']) || this;\r\n        //#region - Fields -\r\n        _this._current = null;\r\n        _this._init();\r\n        return _this;\r\n    }\r\n    Object.defineProperty(ChatContext.prototype, \"current\", {\r\n        //#endregion\r\n        //#region - Properties -\r\n        get: function () {\r\n            return this._current;\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    //#endregion\r\n    //#region - Private Methods -\r\n    ChatContext.prototype._init = function () {\r\n        var _this = this;\r\n        var loader = new chat_loader_component_1.ChatLoader();\r\n        loader.load().then(function (params) {\r\n            var chat = _this.create(params.container.el, params.container.options), options = __assign(__assign({}, params.button.options[0]), params.button.options[1]);\r\n            if (chat)\r\n                chat.registerButton(params.button.el, options);\r\n        }, function () {\r\n            icsai_flex_chat_common_1.Log.logInfo(\"Auto-load aborted, script or container not found.\");\r\n        });\r\n    };\r\n    //#endregion\r\n    //#region - Public Methods -\r\n    ChatContext.prototype.create = function (el, options) {\r\n        if (this._current)\r\n            return null;\r\n        stores_1.Config.load(options);\r\n        if (stores_1.Config.design)\r\n            icsai_flex_chat_common_1.ThemeManager.init(models_1.PluginThemeDefinition, stores_1.Config.design.theme, stores_1.Config.design.themes, stores_1.Config.design.themeType, stores_1.Config.chat.origin, stores_1.Config.design.allowRemoteUrls);\r\n        this._current = new _1.Chat(el);\r\n        this.dispatch('load', this._current);\r\n        return this._current;\r\n    };\r\n    return ChatContext;\r\n}(icsai_flex_chat_common_1.Dispatcher));\r\nexports.ChatContext = ChatContext;\r\n\n\n//# sourceURL=webpack://FlexAI/./src/components/chat-context.component.ts?");
902
903/***/ }),
904
905/***/ "./src/components/chat-frame.component.ts":
906/*!************************************************!*\
907  !*** ./src/components/chat-frame.component.ts ***!
908  \************************************************/
909/*! no static exports found */
910/***/ (function(module, exports, __webpack_require__) {
911
912"use strict";
913eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.ChatFrame = void 0;\r\nvar icsai_flex_chat_common_1 = __webpack_require__(/*! icsai-flex-chat-common */ \"./node_modules/icsai-flex-chat-common/index.js\");\r\nvar stores_1 = __webpack_require__(/*! ../stores */ \"./src/stores/index.ts\");\r\nvar ChatFrame = /** @class */ (function (_super) {\r\n    __extends(ChatFrame, _super);\r\n    function ChatFrame(container) {\r\n        var _this = _super.call(this, [\"message\", \"preinit\", \"preload\", \"init\", \"close\", \"load\", \"active\", \"theme\"]) || this;\r\n        _this._receiveEvent = function (event) {\r\n            if (!event || !event.data || !event.data.icsai || !event.data.icsai.flex || !event.data.icsai.flex.type)\r\n                return;\r\n            var eventData = event.data.icsai.flex;\r\n            switch (eventData.type) {\r\n                case 'state':\r\n                    switch (eventData.data.state) {\r\n                        case \"preloaded\":\r\n                            _this.dispatch('preload');\r\n                            break;\r\n                        case \"preinitialised\":\r\n                            _this.dispatch('preinit');\r\n                            break;\r\n                        case \"close\":\r\n                        case \"canceled\":\r\n                            _this.dispatch('close');\r\n                            break;\r\n                        case \"initialised\":\r\n                            _this.dispatch('init');\r\n                            break;\r\n                        case \"loaded\":\r\n                            _this.dispatch('load');\r\n                            break;\r\n                        case \"activated\":\r\n                            _this.dispatch('active');\r\n                            break;\r\n                        case \"set\":\r\n                            _this.dispatch('set');\r\n                            break;\r\n                    }\r\n            }\r\n        };\r\n        _this._init(container);\r\n        return _this;\r\n    }\r\n    //#endregion\r\n    //#region - Properties -\r\n    //#endregion\r\n    //#region - Private Methods -\r\n    ChatFrame.prototype._init = function (container) {\r\n        if (container == null)\r\n            icsai_flex_chat_common_1.Log.logError(\"[ChatFrame] Container is null\", true);\r\n        window.addEventListener(\"message\", this._receiveEvent, false);\r\n        if (!icsai_flex_chat_common_1.Utils.validUrl(stores_1.Config.chat.url))\r\n            throw Error('Invalid URL');\r\n        this._chatIFrame = document.createElement(\"iframe\");\r\n        this._chatIFrame.setAttribute(\"aria-label\", \"Chatbot frame containing conversation transcript and controls\");\r\n        this._chatIFrame.setAttribute(\"src\", stores_1.Config.chat.url);\r\n        this._chatIFrame.className = 'flxb-chat-frame';\r\n        container.appendChild(this._chatIFrame);\r\n        this._chatWin = this._chatIFrame.contentWindow;\r\n    };\r\n    ChatFrame.prototype._sendEvent = function (type, data) {\r\n        var eventMsg = {\r\n            icsai: {\r\n                flex: {\r\n                    type: type,\r\n                    data: data\r\n                }\r\n            }\r\n        };\r\n        if (this._chatWin && stores_1.Config.chat.origin != null)\r\n            this._chatWin.postMessage(eventMsg, stores_1.Config.chat.origin);\r\n    };\r\n    //#endregion\r\n    //#region - Public Methods -\r\n    ChatFrame.prototype.preLoad = function () {\r\n        var config = {\r\n            cacheTnC: stores_1.Config.chat.cacheTnC,\r\n            enableTnC: stores_1.Config.chat.enableTnC\r\n        };\r\n        this._sendEvent('preload', config);\r\n    };\r\n    ChatFrame.prototype.load = function () {\r\n        var config = {\r\n            hints: stores_1.Config.textElements.hints,\r\n            placeholder: stores_1.Config.textElements.placeholder,\r\n            cacheTnC: stores_1.Config.chat.cacheTnC,\r\n            enableTnC: stores_1.Config.chat.enableTnC,\r\n            context: stores_1.Config.chat.context,\r\n            optimise: stores_1.Config.design.optimised,\r\n            allowRemoteUrls: stores_1.Config.design.allowRemoteUrls,\r\n            hideFromText: stores_1.Config.chat.hideFromText,\r\n            showUploadButton: stores_1.Config.chat.showUploadButton,\r\n            sendTyping: stores_1.Config.chat.sendTyping,\r\n            locale: stores_1.Config.chat.locale,\r\n            theme: icsai_flex_chat_common_1.ThemeManager.theme,\r\n            themes: icsai_flex_chat_common_1.ThemeManager.themes,\r\n            themeType: icsai_flex_chat_common_1.ThemeManager.themeType,\r\n            allowDark: stores_1.Config.design.allowDark,\r\n            layout: stores_1.Config.design.layout,\r\n            showLayoutPicker: stores_1.Config.design.showLayoutPicker,\r\n            showThemePicker: stores_1.Config.design.showThemePicker,\r\n            userContext: stores_1.Config.user\r\n        };\r\n        this._sendEvent('load', config);\r\n    };
913\r\n    ChatFrame.prototype.focus = function () {\r\n        if (this._chatIFrame)\r\n            this._chatIFrame.contentWindow.focus();\r\n    };\r\n    ChatFrame.prototype.update = function (config) {\r\n        this._sendEvent('set', config);\r\n    };\r\n    ChatFrame.prototype.optimise = function (optimise) {\r\n        var options = { optimise: optimise };\r\n        this._sendEvent('set', options);\r\n    };\r\n    ChatFrame.prototype.deactivate = function () {\r\n        var options = {};\r\n        this._sendEvent('deactivate', options);\r\n    };\r\n    ChatFrame.prototype.dispose = function () {\r\n        this._chatWin = null;\r\n        if (this._chatIFrame != null && this._chatIFrame.parentElement != null) {\r\n            this._chatIFrame.parentElement.removeChild(this._chatIFrame);\r\n            this._chatIFrame = null;\r\n        }\r\n        window.removeEventListener(\"message\", this._receiveEvent);\r\n    };\r\n    return ChatFrame;\r\n}(icsai_flex_chat_common_1.Dispatcher));\r\nexports.ChatFrame = ChatFrame;\r\n\n\n//# sourceURL=webpack://FlexAI/./src/components/chat-frame.component.ts?");
914
915/***/ }),
916
917/***/ "./src/components/chat-loader.component.ts":
918/*!*************************************************!*\
919  !*** ./src/components/chat-loader.component.ts ***!
920  \*************************************************/
921/*! no static exports found */
922/***/ (function(module, exports, __webpack_require__) {
923
924"use strict";
925eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.ChatLoader = void 0;\r\nvar icsai_flex_chat_common_1 = __webpack_require__(/*! icsai-flex-chat-common */ \"./node_modules/icsai-flex-chat-common/index.js\");\r\nvar ATTR_PREFIX = 'data-flex-';\r\nvar ChatLoader = /** @class */ (function () {\r\n    function ChatLoader() {\r\n        var _this = this;\r\n        //#region - Fields -\r\n        this._pageReady = false;\r\n        //#endregion\r\n        //#region - Properties -\r\n        //#endregion\r\n        //#region - Private Methods -\r\n        this.ready = function () {\r\n            _this._pageReady = true;\r\n        };\r\n    }\r\n    ChatLoader.prototype.attachHandler = function () {\r\n        window.addEventListener('load', this.ready);\r\n    };\r\n    ChatLoader.prototype.removeHandler = function () {\r\n        window.removeEventListener('load', this.ready);\r\n    };\r\n    ChatLoader.prototype._waitForContainer = function (container, button, time, timeout) {\r\n        var _this = this;\r\n        this.attachHandler();\r\n        return new Promise(function (resolve, reject) {\r\n            var els = { container: null, button: null };\r\n            _this._waitOrTimeout(container, button, time, 0, timeout, els, function () {\r\n                _this.removeHandler();\r\n                resolve(els);\r\n            }, function () {\r\n                _this.removeHandler();\r\n                reject();\r\n            });\r\n        });\r\n    };\r\n    ChatLoader.prototype._waitOrTimeout = function (containerSelector, buttonSelector, time, elapsed, timeout, els, resolve, reject) {\r\n        var _this = this;\r\n        els.container = document.querySelector(containerSelector);\r\n        els.button = document.querySelector(buttonSelector);\r\n        if (els.container != null && els.button != null)\r\n            return resolve();\r\n        else if (elapsed >= timeout)\r\n            return reject();\r\n        if (this._pageReady)\r\n            elapsed += time;\r\n        setTimeout(function () {\r\n            _this._waitOrTimeout(containerSelector, buttonSelector, time, elapsed, timeout, els, resolve, reject);\r\n        }, time);\r\n    };\r\n    ChatLoader.prototype.tryConfigFromJson = function (el, suffix) {\r\n        var options = el.getAttribute(ATTR_PREFIX + suffix), config;\r\n        if (options == null || options.length == 0)\r\n            return {};\r\n        try {\r\n            config = JSON.parse(options);\r\n        }\r\n        catch (ex) {\r\n            config = {};\r\n            console.log(\"[Loader].[buildConfig]: Load JSON failed\", ex);\r\n        }\r\n        return config;\r\n    };\r\n    ChatLoader.prototype.buildConfig = function (el) {\r\n        var config = this.tryConfigFromJson(el, \"options\");\r\n        for (var i = 0; i < el.attributes.length; i++) {\r\n            var att = el.attributes[i];\r\n            if (att.name.indexOf(ATTR_PREFIX) == 0 && att.value != null && att.value.length > 0) {\r\n                var paths = att.name.substring(ATTR_PREFIX.length).split('-');\r\n                switch (paths[0]) {\r\n                    case \"chat\":\r\n                        this.setChatConfig(config, paths, att.value);\r\n                        break;\r\n                    case \"user\":\r\n                        this.setUserConfig(config, paths, att.value);\r\n                        break;\r\n                    case \"design\":\r\n                        this.setDesignConfig(config, paths, att.value);\r\n                        break;\r\n                    case \"frameonly\":\r\n                        config.frameOnly = att.value == true.toString();\r\n                        break;\r\n                    case \"frame\":\r\n                        this.setFrameBehaviour(config, paths, att.value);\r\n                        break;\r\n                    case \"text\":\r\n                        this.setTextElements(config, paths, att.value);\r\n                        break;\r\n                }\r\n            }\r\n        }\r\n        this._ensureDomain(el, config);\r\n        return config;\r\n    };\r\n    ChatLoader.prototype._ensureDomain = function (el, config) {\r\n        if (el.tagName != \"SCR
925IPT\")\r\n            return;\r\n        var scriptUrl = el.getAttribute('src');\r\n        if (scriptUrl == null)\r\n            return;\r\n        if (config.chat == null)\r\n            config.chat = {};\r\n        if (config.chat.origin == null)\r\n            config.chat.origin = scriptUrl.substr(0, scriptUrl.indexOf(\"/\", scriptUrl.indexOf('//') + 2));\r\n    };\r\n    ChatLoader.prototype.buildButtonConfig = function (el) {\r\n        var config = this.tryConfigFromJson(el, \"button-options\"), prefix = ATTR_PREFIX + \"button-\";\r\n        for (var i = 0; i < el.attributes.length; i++) {\r\n            var att = el.attributes[i];\r\n            if (att.name.indexOf(prefix) == 0 && att.value != null && att.value.length > 0) {\r\n                var paths = att.name.substring(prefix.length).split('-');\r\n                switch (paths[0]) {\r\n                    case \"frameonly\":\r\n                        config.frameOnly = att.value == true.toString();\r\n                        break;\r\n                    case \"tabindex\":\r\n                        config.tabIndex = +att.value;\r\n                        break;\r\n                    case \"description\":\r\n                        config.description = att.value;\r\n                        break;\r\n                    case \"text\":\r\n                        config.text = att.value;\r\n                        break;\r\n                    case \"hideonminimise\":\r\n                        config.hideOnMinimised = att.value == true.toString();\r\n                        break;\r\n                    case \"hideonopen\":\r\n                        config.hideOnMaximised = att.value == true.toString();\r\n                        break;\r\n                    case \"usedockstyle\":\r\n                        config.useDockStyle = att.value == true.toString();\r\n                        break;\r\n                }\r\n            }\r\n        }\r\n        return config;\r\n    };\r\n    ChatLoader.prototype.setChatConfig = function (config, paths, value) {\r\n        if (paths.length <= 1)\r\n            return;\r\n        if (config.chat == null)\r\n            config.chat = {};\r\n        var chat = config.chat;\r\n        switch (paths[1]) {\r\n            case \"origin\":\r\n                chat.origin = value;\r\n                break;\r\n            case \"url\":\r\n                chat.url = value;\r\n                break;\r\n            case \"enabletnc\":\r\n                chat.enableTnC = value == true.toString() ? 'explicit' : value;\r\n                break;\r\n            case \"cachetnc\":\r\n                chat.cacheTnC = value;\r\n                break;\r\n            case \"hidefromtext\":\r\n                chat.hideFromText = value == true.toString();\r\n                break;\r\n            case \"locale\":\r\n                chat.locale = value;\r\n                break;\r\n            case \"sendtyping\":\r\n                if (value == true.toString())\r\n                    chat.sendTyping = true;\r\n                break;\r\n            case \"showuploadbutton\":\r\n                chat.showUploadButton = value == true.toString();\r\n                break;\r\n            case \"context\":\r\n                if (paths.length <= 2)\r\n                    break;\r\n                if (chat.context == null)\r\n                    chat.context = {};\r\n                var context = chat.context;\r\n                switch (paths[2]) {\r\n                    case \"page\":\r\n                        context.page = value;\r\n                        break;\r\n                    case \"site\":\r\n                        context.site = value;\r\n                        break;\r\n                    case \"view\":\r\n                        context.view = value;\r\n                        break;\r\n                    case \"data\":\r\n                        context.data = this.stringToObject(value);\r\n                        break;\r\n                }\r\n                break;\r\n        }\r\n    };\r\n    ChatLoader.prototype.setUserConfig = function (config, paths, value) {\r\n        if (paths.length <= 1)\r\n            return;\r\n        if (config.user == null)\r\n            config.user = {};\r\n        var user = config.user;\r\n        switch (paths[1]) {\r\n            case \"token\":\r\n                user.token = value;\r\n                break;\r\n            case \"tokenparams\":\r\n                user.tokenParams = this.stringToObject(value);\r\n                break;\r\n        }\r\n    };\r\n    ChatLoader.prototype.setFrameBehaviour = function (config, paths, value) {\r\n        if (paths.length <= 1)\r\n            return;\r\n        if (config.frameBehaviour == null)\r\n            config.frameBehaviour = {};\r\n        var frameBehaviour = config.frameBehaviour;\r\n        switch (paths[1]) {\r\n            case \"closable\":\r\n                frameBehaviour.closable = value == true.toString();\r\n                break;\r\n            case \"dockable\":\r\n                frameBehaviour.dockable = value == true.toString();\r\n                break;\r\n            case \"draggable\":\r\n                frameBehaviour.draggable = value == true.toString();\r\n                break;\r\n            case \"minimizable\":\r\n                frameBehaviour.minimizable = value == true.toString();\r\n                break;\r\n            case \"resizable\":\r\n                frameBehaviour.resizable = value == true.toString();\r\n                break;\r\n            case \"sens\":\r\n                frameBehaviour.sens = parseInt(value);\r\n                break;\r\n            case \"cachestate\":\r\n                frameBehaviour.cacheState = value;\r\n                break;\r\n            case \"cachestatettl\":\r\n                frameBehaviour.cacheStateTTL = +value;\r\n                break;\r\n            case \"state\":\r\n                this.setInitialState(config, paths, value);\r\n                break;\r\n        }\r\n    };\r\n    ChatLoader.prototype.setInitialState = function (config, paths, value) {\r\n        if (paths.length <= 2)\r\n            return;\r\n        if (config.frameBehaviour == null)\r\n            config.frameBehaviour = { chatState: {} };\r\n        if (config.frameBehaviour.chatState == null)\r\n            config.frameBehaviour.chatState = {};\r\n        var initialState = config.frameBehaviour.chatState;\r\n        switch (paths[2]) {\r\n            case \"initial\":\r\n                initialState.initial = this.stringToObject(value);\r\n                break;\r\n            case \"ready\":\r\n                initialState.ready = this.stringToObject(value);\r\n                break;\r\n            case \"init\":\r\n                initialState.load = this.stringToObject(value);\r\n                break;\r\n            case \"load\":\r\n                initialState.load = this.stringToObject(value);\r\n                break;\r\n            case \"open\":\r\n                initialState.open = this.stringToObject(value);\r\n                break;\r\n            case \"active\":\r\n                initialState.active = this.stringToObject(value);\r\n                break;\r\n            case \"inactive\":\r\n                initialState.inactive = this.stringToObject(value);\r\n                break;\r\n            case \"close\":\r\n                initialState.close = this.stringToObject(value);\r\n                break;\r\n        }\r\n    };\r\n    ChatLoader.prototype.setTextElements = function (config, paths, value) {\r\n        if (paths.length <= 1)\r\n            return;\r\n        if (config.textElements == null)\r\n            config.textElements = {};\r\n        var textElements = config.textElements;\r\n        switch (paths[1]) {\r\n            case \"placeholder\":\r\n                textElements.placeholder = value;\r\n                break;\r\n            case \"title\":\r\n                textElements.title = value;\r\n                break;\r\n            case \"subtitle\":\r\n                textElements.subtitle = value;\r\n                break;\r\n            case \"hints\":\r\n                textElements.hints = icsai_flex_chat_common_1.Utils.splitList(value, ';');\r\n                break;\r\n            case \"links\":\r\n                textElements.footerLinks = [];\r\n                var links = icsai_flex_chat_common_1.Utils.splitList(value, ';');\r\n                for (var i = 0; i < links.length; i++) {\r\n                    var link = icsai_flex_chat_common_1.Utils.splitList(links[i], ',');\r\n                    textElements.footerLinks.push({ url: link[0], text: link[1] });\r\n                }\r\n                break;\r\n        }\r\n    };\r\n    ChatLoader.prototype.setDesignConfig = function (config, paths, value) {\r\n        if (paths.length <= 1)\r\n            return;\r\n        if (config.design == null)\r\n            config.design = {};\r\n        var design = config.design;\r\n        switch (paths[1]) {\r\n            case \"hidefooter\":\r\n                design.hideFooter = value == true.toString();\r\n                break;\r\n            case \"hideheader\":\r\n                design.hideHeader = value == true.toString();\r\n                break;\r\n            case \"hidepoweredby\":\r\n                design.hidePoweredBy = value == true.toString();\r\n                break;\r\n            case \"optimised\":\r\n                design.optimised 
925= value == true.toString();\r\n                break;\r\n            case \"optimisefor\":\r\n                if (paths.length <= 2)\r\n                    break;\r\n                if (design.optimiseFor == null)\r\n                    design.optimiseFor = {};\r\n                var optimiseFor = design.optimiseFor;\r\n                switch (paths[2]) {\r\n                    case \"width\":\r\n                        optimiseFor.width = parseInt(value);\r\n                        break;\r\n                    case \"height\":\r\n                        optimiseFor.height = parseInt(value);\r\n                        break;\r\n                }\r\n                break;\r\n            case \"theme\":\r\n                this.setTheme(config, paths, value);\r\n                break;\r\n            case \"allowdark\":\r\n                design.allowDark = value == true.toString();\r\n                break;\r\n            case \"showlayoutpicker\":\r\n                design.showLayoutPicker = value == true.toString();\r\n                break;\r\n            case \"showthemepicker\":\r\n                design.showThemePicker = value == true.toString();\r\n                break;\r\n            case \"allowremoteurls\":\r\n                design.allowRemoteUrls = value == true.toString();\r\n                break;\r\n            case \"themetype\":\r\n                design.themeType = value;\r\n                break;\r\n            case \"layouttype\":\r\n                design.layout = value;\r\n                break;\r\n        }\r\n    };\r\n    ChatLoader.prototype.setTheme = function (config, paths, value) {\r\n        if (config.design == null)\r\n            config.design = {};\r\n        if (paths.length == 2) {\r\n            config.design.theme = value;\r\n            return;\r\n        }\r\n        if (config.design.themes == null)\r\n            config.design.themes = { \"flex\": { allowBlur: true } };\r\n        if (config.design.themes.flex == null)\r\n            config.design.themes.flex = {};\r\n        var theme = config.design.themes[\"flex\"], attr = paths[2];\r\n        if (theme == null)\r\n            return;\r\n        switch (attr) {\r\n            case \"allowblur\":\r\n                theme.allowBlur = value == true.toString();\r\n                break;\r\n            default:\r\n                if (~icsai_flex_chat_common_1.ThemeAttributes.indexOf(attr))\r\n                    theme[attr] = this.stringToObject(value);\r\n                break;\r\n        }\r\n    };\r\n    ChatLoader.prototype.stringToObject = function (input) {\r\n        var obj = {}, vals = icsai_flex_chat_common_1.Utils.splitList(input, ';'), keys, key, value, i, ii, val, sub;\r\n        for (i = 0; i < vals.length; i++) {\r\n            val = vals[i];\r\n            if (val.indexOf(':') > 0) {\r\n                key = val.substr(0, val.indexOf(':'));\r\n                value = val.substr(val.indexOf(':') + 1);\r\n                if (~key.indexOf('.')) {\r\n                    keys = icsai_flex_chat_common_1.Utils.splitList(key, '.'),\r\n                        sub = obj;\r\n                    for (ii = 0; ii < keys.length; ii++) {\r\n                        key = keys[ii];\r\n                        if (ii == keys.length - 1)\r\n                            sub[key] = value;\r\n                        else if (!sub[key]) {\r\n                            sub[key] = {};\r\n                            sub = sub[key];\r\n                        }\r\n                    }\r\n                }\r\n                else\r\n                    obj[key] = value;\r\n            }\r\n        }\r\n        return obj;\r\n    };\r\n    //#endregion\r\n    //#region - Public Methods -\r\n    ChatLoader.prototype.load = function () {\r\n        var _this = this;\r\n        return new Promise(function (resolve, reject) {\r\n            var scriptTag = document.querySelector(\"script[data-flex-container]\"), optionList = [], buttonOptionList = [];\r\n            if (!scriptTag) {\r\n                reject();\r\n                return;\r\n            }\r\n            var containerName = scriptTag.getAttribute('data-flex-container');\r\n            if (containerName == null || containerName.length == 0) {\r\n                reject();\r\n                return;\r\n            }\r\n            var buttonName = scriptTag.getAttribute('data-flex-button');\r\n            if (buttonName == null || buttonName.length == 0) {\r\n                reject();\r\n                return;\r\n            }\r\n            var options = _this.buildConfig(scriptTag);\r\n            optionList.push(options);\r\n            var butonOptions = _this.buildButtonConfig(scriptTag);\r\n            buttonOptionList.push(butonOptions);\r\n            _this._waitForContainer(containerName, buttonName, 500, 5000).then(function (els) {\r\n                if (!els.container || !els.button) {\r\n                    reject();\r\n                    return;\r\n                }
925\r\n                options = _this.buildConfig(els.container);\r\n                optionList.push(options);\r\n                butonOptions = _this.buildButtonConfig(els.button);\r\n                buttonOptionList.push(butonOptions);\r\n                resolve({ container: { el: els.container, options: optionList }, button: { el: els.button, options: buttonOptionList } });\r\n            }, function () {\r\n                reject();\r\n            });\r\n        });\r\n    };\r\n    return ChatLoader;\r\n}());\r\nexports.ChatLoader = ChatLoader;\r\n\n\n//# sourceURL=webpack://FlexAI/./src/components/chat-loader.component.ts?");
926
927/***/ }),
928
929/***/ "./src/components/chat.component.ts":
930/*!******************************************!*\
931  !*** ./src/components/chat.component.ts ***!
932  \******************************************/
933/*! no static exports found */
934/***/ (function(module, exports, __webpack_require__) {
935
936"use strict";
937eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n    __assign = Object.assign || function(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n                t[p] = s[p];\r\n        }\r\n        return t;\r\n    };\r\n    return __assign.apply(this, arguments);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.Chat = void 0;\r\nvar icsai_flex_chat_common_1 = __webpack_require__(/*! icsai-flex-chat-common */ \"./node_modules/icsai-flex-chat-common/index.js\");\r\nvar resizer_component_1 = __webpack_require__(/*! ./resizer.component */ \"./src/components/resizer.component.ts\");\r\nvar dragon_component_1 = __webpack_require__(/*! ./dragon.component */ \"./src/components/dragon.component.ts\");\r\nvar chat_frame_component_1 = __webpack_require__(/*! ./chat-frame.component */ \"./src/components/chat-frame.component.ts\");\r\nvar stores_1 = __webpack_require__(/*! ../stores */ \"./src/stores/index.ts\");\r\nvar Views = __webpack_require__(/*! ../views */ \"./src/views/index.ts\");\r\nvar button_component_1 = __webpack_require__(/*! ./button.component */ \"./src/components/button.component.ts\");\r\nvar CACHEKEY_STATE = \"icsai-flex-chat-state\";\r\nvar Chat = /** @class */ (function (_super) {\r\n    __extends(Chat, _super);\r\n    function Chat(container) {\r\n        var _this = _super.call(this, [\"init\", \"load\", \"open\", \"close\", \"hide\", \"active\", \"minimise\", \"drag\", \"dragstart\", \"dragend\", \"resize\", \"resizestart\", \"resizeend\", \"dock\"]) || this;\r\n        _this._handleDock = function (e) {\r\n            var dock = e.el.getAttribute('data-dock');\r\n            _this.dock = dock;\r\n            _this._toggleMenu();\r\n        };\r\n        _this._toggleMenu = function () {\r\n            var el = _this._container.querySelector('.flxb-bar-menu');\r\n            if (~el.className.indexOf('flxb-visible')) {\r\n                el.setAttribute(\"aria-hidden\", \"true\");\r\n                el.innerHTML = \"\";\r\n            }\r\n            else {\r\n                el.setAttribute(\"aria-hidden\", \"false\");\r\n                el.insertAdjacentHTML('afterbegin', Views.OptionsMenu);\r\n                var btn = el.querySelector('.flxb-dock-btn');\r\n                if (btn)\r\n                    btn.focus();\r\n            }\r\n            icsai_flex_chat_common_1.Utils.toggleClassName(el, 'flxb-visible');\r\n            icsai_flex_chat_common_1.Utils.toggleClassName(_this._container, 'flxb-has-menu');\r\n        };\r\n        //#endregion\r\n        //#region - Public Methods -\r\n        _this.optimise = function () {\r\n            var optimised = stores_1.Config.design.optimised;\r\n            if (_this._shouldOptimise()) {\r\n                stores_1.Config.design.optimised = true;\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(_this._container, 'flxb-optimise');\r\n            }\r\n            else {\r\n                stores_1.Config.design.optimised = false;\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(_this._container, null, 'flxb-optimise');\r\n            }\r\n            if (_this._chatFrame != null && optimised != stores_1.Config.design.optimised)\r\n                _this._chatFrame.optimise(stores_1.Config.design.optimised);\r\n        };\r\n        _this.open = function () {\r\n            _this._setFrameState('open');\r\n        };\r\n        _this.close = function () {\r\n            _this._setFrameState('close');\r\n        };\r\n        _this.toggle = function () {\r\n            if (!_this._open)\r\n                _this.open();\r\n            else if (_this.minimised)\r\n                _this.close();\r\n            else\r\n                _this.minimised = false;\r\n        };\r\n        _this._init(container);\r\n        return _this;\r\n    }
937\r\n    Object.defineProperty(Chat.prototype, \"resizable\", {\r\n        //#endregion\r\n        //#region - Properties -\r\n        get: function () { return this._resizable; },\r\n        set: function (value) {\r\n            this._resizable = value === true;\r\n            this.makeResizable(value, this._container, this._container.querySelector('.flxb-resizer'), stores_1.Config.frameBehaviour.sens);\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(Chat.prototype, \"closable\", {\r\n        get: function () { return this._closable; },\r\n        set: function (value) {\r\n            this._closable = value;\r\n            if (value)\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-closable');\r\n            else\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-closable');\r\n            this._enableButton(value, this._container.querySelector('nav.flxb-bar .flxb-close'), this.close);\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(Chat.prototype, \"dockable\", {\r\n        get: function () { return this._dockable; },\r\n        set: function (value) {\r\n            this._dockable = value;\r\n            if (value)\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-dockable');\r\n            else\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-dockable');\r\n            this._enableButton(value, this._container.querySelector('nav.flxb-bar .flxb-dock'), this._handleDock, true, '.flxb-bar-button');\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(Chat.prototype, \"draggable\", {\r\n        get: function () { return this._draggable; },\r\n        set: function (value) {\r\n            this._draggable = value;\r\n            this.makeDraggable(value, this._container, this._container.querySelector('.flxb-bar .flxb-drag'), stores_1.Config.frameBehaviour.sens);\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(Chat.prototype, \"minimisable\", {\r\n        get: function () { return this._minimisable; },\r\n        set: function (value) {\r\n            var _this = this;\r\n            this._minimisable = value;\r\n            if (value)\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-minimizable');\r\n            else\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-minimizable');\r\n            this._enableButton(value, this._container.querySelector('nav.flxb-bar .flxb-min'), function () { _this.minimised = true; });\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(Chat.prototype, \"minimised\", {\r\n        get: function () { return this._minimised; },\r\n        set: function (value) {\r\n            if (this.dock == 'none' || this._minimised == value)\r\n                return;\r\n            this._minimised = value;\r\n            if (value) {\r\n                if (this._chatFrame)\r\n                    this._chatFrame.deactivate();\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-minimised');\r\n            }\r\n            else\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, null, 'flxb-minimised');\r\n            this._cacheState({ size: value ? 'minimised' : 'maximised' });\r\n            this.dispatch('minimise', { minimised: value });\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(Chat.prototype, \"visible\", {\r\n        get: function () { return this._visible; },\r\n        set: function (value) {\r\n            if (this._visible == value)\r\n                return;\r\n            this._visible = value;\r\n            if (value) {\r\n                this._container.setAttribute(\"aria-hidden\", \"false\");\r\n                this._container.tabIndex = 0;\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-visible');\r\n            }\r\n            else {\r\n                this._container.setAttribute(\"aria-hidden\", \"true\");\r\n                this._container.tabIndex = -1;\r\n                icsai_flex_chat_common_1.Utils.modifyClassName(this._container, null, 'flxb-visible');\r\n            }\r\n            this._cacheState({ visibility: value ? 'visible' : 'hidden' });\r\n            this.dispatch('visible', { visible: value });\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });
937\r\n    Object.defineProperty(Chat.prototype, \"dock\", {\r\n        get: function () { return this._dock; },\r\n        set: function (value) {\r\n            switch (value) {\r\n                case \"none\":\r\n                case \"left\":\r\n                case \"right\":\r\n                case \"full\": break;\r\n                default: return;\r\n            }\r\n            if (this._dock == value)\r\n                return;\r\n            this._dock = value;\r\n            var classname = (value == 'none' ? null : 'flxb-docked flxb-dock-' + value);\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(this._container, classname, 'flxb-docked flxb-dock-left flxb-dock-right flxb-dock-full');\r\n            for (var i = 0; i < this._buttons.length; i++) {\r\n                var button = this._buttons[i];\r\n                button.dock = value;\r\n            }\r\n            this._cacheState({ dock: value });\r\n            this.dispatch('dock', { dock: value });\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    //#endregion\r\n    //#region - Private Methods -\r\n    Chat.prototype._init = function (container) {\r\n        this._cachedState = icsai_flex_chat_common_1.Cache.getValue(CACHEKEY_STATE, stores_1.Config.frameBehaviour.cacheState, stores_1.Config.frameBehaviour.cacheStateTTL);\r\n        if (container == null)\r\n            icsai_flex_chat_common_1.Log.logError(\"[Chat] Container is null\", true);\r\n        if (typeof container == \"string\") {\r\n            container = document.querySelector(container);\r\n            if (container == null)\r\n                icsai_flex_chat_common_1.Log.logError(\"[Chat] Container is null\", true);\r\n        }\r\n        else\r\n            this._container = container;\r\n        this._buttons = [];\r\n        this._render(container);\r\n    };\r\n    Chat.prototype._render = function (container) {\r\n        var _this = this;\r\n        var props = stores_1.Config;\r\n        if (props.frameOnly) {\r\n            this._container = container;\r\n            return;\r\n        }\r\n        container.insertAdjacentHTML('beforeend', Views.chat);\r\n        container = container.querySelector('.icsai-flex-bot');\r\n        this._container = container;\r\n        icsai_flex_chat_common_1.ThemeManager.apply(this._container);\r\n        container.title = stores_1.Config.textElements.title + \" - \" + stores_1.Config.textElements.subtitle;\r\n        this.resizable = props.frameBehaviour.resizable == true;\r\n        this.draggable = props.frameBehaviour.draggable == true;\r\n        this.minimisable = props.frameBehaviour.minimizable == true;\r\n        this.dockable = props.frameBehaviour.dockable == true;\r\n        this.closable = props.frameBehaviour.closable == true;\r\n        var menuButton = container.querySelector('.flxb-bar .flxb-bar-button.flxb-menu');\r\n        if (menuButton)\r\n            menuButton.addEventListener('click', this._toggleMenu);\r\n        this.optimise();\r\n        this._setHeader();\r\n        this._addLinks();\r\n        this._hideElements();\r\n        this._setFrameState('initial');\r\n        window.addEventListener(\"resize\", this.optimise, false);\r\n        this._setFrameState('ready');\r\n        var focusable = container.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([disabled]):not([tabindex=\"-1\"])');\r\n        container.addEventListener('keydown', function (e) {\r\n            if (e.key == 'Tab' && e.shiftKey && e.target == focusable[0]) {\r\n                e.preventDefault();\r\n                e.stopPropagation();\r\n                if (_this._chatFrame)\r\n                    _this._chatFrame.focus();\r\n                else\r\n                    focusable[focusable.length - 1].focus();\r\n            }\r\n        }, true);\r\n    };\r\n    Chat.prototype._hideElements = function () {\r\n        var el;\r\n        if (stores_1.Config.design.hideFooter) {\r\n            el = this._container.querySelector('footer');\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(this._container, \"flxb-no-footer\");\r\n            if (el != null)\r\n                el.style.display = 'none';\r\n        }\r\n        else if (stores_1.Config.design.hidePoweredBy) {\r\n            el = this._container.querySelector('footer .flxb-poweredby');\r\n            if (el != null)\r\n                el.style.display = 'none';\r\n        }\r\n        if (stores_1.Config.design.hideHeader) {\r\n            el = this._container.querySelector('header');\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(this._container, \"flxb-no-header\");\r\n            if (el != null)\r\n                el.style.display = 'none';\r\n        }\r\n    };\r\n    Chat.prototype._setHeader = function () {\r\n        if (stores_1.Config.design.hideHeader)\r\n            return;\r\n        var el;\r\n        if (stores_1.Config.textElements.title != null && stores_1.Config.textElements.title.length > 0) {\r\n            el = this._container.querySelector('header h1');\r\n            el.innerText = stores_1.Config.textElements.title;\r\n            el.setAttribute('aria-label', stores_1.Config.textElements.title);\r\n        }\r\n        if (stores_1.Config.textElements.subtitle != null && stores_1.Config.textElements.subtitle.length > 0) {\r\n            el = this._container.querySelector('header h2');\r\n            el.innerText = stores_1.Config.textElements.subtitle;\r\n            el.setAttribute('aria-label', stores_1.Config.textElements.subtitle);\r\n        }\r\n    };\r\n    Chat.prototype._addLinks = function () {\r\n        if (stores_1.Config.design.hideFooter || stores_1.Config.textElements.footerLinks == null || stores_1.Config.textElements.footerLinks.length == 0)\r\n            return;\r\n        var links = stores_1.Config.textElements.footerLinks, footerNav = this._container.querySelector('footer nav');\r\n        if (footerNav == null)\r\n            return;\r\n        for (var i = 0; i < links.length; i++) {\r\n            var linkDef = links[i];\r\n            if (icsai_flex_chat_common_1.Utils.validUrl(linkDef.url, true)) {\r\n                var link = document.createElement('a');\r\n                link.setAttribute('role', 'menuitem');\r\n                link.href = icsai_flex_chat_common_1.Utils.htmlEscape(linkDef.url);\r\n                link.target = '_blank';\r\n                link.innerText = linkDef.text;\r\n                footerNav.appendChild(link);\r\n            }\r\n        }\r\n    };\r\n    Chat.prototype._shouldOptimise = function () {\r\n        if (stores_1.Config.design == null || stores_1.Config.design.optimiseFor == null || stores_1.Config.design.optimiseFor.width == null || stores_1.Config.design.optimiseFor.height == null)\r\n            return false;\r\n        return document.body.clientWidth <= stores_1.Config.design.optimiseFor.width || document.body.clientHeight <= stores_1.Config.design.optimiseFor.height;\r\n    };\r\n    Chat.prototype._enableButton = function (enabled, button, fn, dynamic, className) {\r\n        if (!button)\r\n            return;\r\n        if (enabled) {\r\n            if (dynamic && className != undefined)\r\n                icsai_flex_chat_common_1.Utils.addDynamicListener(button, 'click', className, fn);\r\n            else\r\n                button.addEventListener('click', fn);\r\n            button.style.display = '';\r\n            button.setAttribute('aria-hidden', 'false');\r\n        }\r\n        else {\r\n            button.removeEventListener('click', fn);\r\n            button.style.display = 'none';\r\n            button.setAttribute('aria-hidden', 'true');\r\n        }\r\n    };\r\n    Chat.prototype._closeFrme = function () {\r\n        if (this._chatFrame == null)\r\n            return;\r\n        this.visible = false;\r\n        this._chatFrame.dispose();\r\n        this._chatFrame = null;\r\n        this._open = false;\r\n        this.dispatch('close');\r\n    };\r\n    Chat.prototype._cacheState = function (newState) {\r\n        this._cachedState = __assign(__assign({}, this._cachedState), newState);\r\n        icsai_flex_chat_common_1.Cache.setValue(CACHEKEY_STATE, this._cachedState, stores_1.Config.frameBehaviour.cacheState);\r\n    };\r\n    Chat.prototype._setFrameState = function (event) {\r\n        var frameState = stores_1.Config.frameBehaviour.chatState[event];\r\n        this.dispatch(event);\r\n        if (~['load', 'open', 'active'].indexOf(event))\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-state-active');\r\n        else if (event == 'initial')\r\n            frameState = this._cachedState || frameState;\r\n        else\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(this._container, null, 'flxb-state-active');\r\n        if (!frameState)\r\n            return;\r\n        else if (frameState.dock != null && frameState.dock.length > 0)\r\n            this.dock = frameState.dock;\r\n        if (frameState.size != null && frameState.size != 'none' && frameState.size.length > 0)\r\n            this.minimised = frameState.size == 'minimised';\r\n        if (frameState.visibility != null && frameState.visibility != 'none' && frameState.visibility.length > 0)\r\n            this.visible = frameState.visibility == 'visible';\r\n        if (frameState.state != null && frameState.state != 'none' && frameState.state.length > 0) {\r\n            this._cacheState({ state: frameState.state == 'open' ? 'open' : 'none' });\r\n            switch (frameState.state) {\r\n                case 'open':\r\n                    this._loadFrame();\r\n                    break;\r\n                case 'closed':\r\n                    this._closeFrme();\r\n                    break;\r\n            }\r\n            this._toggleButtons();\r\n        }\r\n    };\r\n    Chat.prototype._toggleButtons = function () {\r\n        for (var i = 0; i < this._buttons.length; i++) {\r\n            var button = this._buttons[i];\r\n            if (this.visible && ((this.minimised && button.hideOnMinimise) || (!this.minimised && button.hideOnMaximised)))\r\n                button.hide();\r\n            else\r\n                button.show();\r\n        }\r\n    };\r\n    Chat.prototype._loadFrame = function () {\r\n        var _this = this;\r\n        if (this._chatFrame)\r\n            return;\r\n        var container;\r\n        if (stores_1.Config.frameOnly)\r\n            container = this._container;\r\n        else\r\n            container = this._container.querySelector('.flxb-body');\r\n        if (container != null) {\r\n            this._chatFrame = new chat_frame_component_1.ChatFrame(container)\r\n                .on('preinit', function () {\r\n                if (_this._chatFrame != null)\r\n                    _this._chatFrame.preLoad();\r\n                _this._setFrameState('preinit');\r\n            })\r\n                .on('preload', function () {\r\n                _this._setFrameState('preload');\r\n            })\r\n                .on('init', function () {\r\n                if (_this._chatFrame != null)\r\n                    _this._chatFrame.load();\r\n                _this._setFrameState('init');\r\n            })\r\n                .on('load', function () {\r\n                _this._setFrameState('load');\r\n            })\r\n                .on('active', function () {\r\n                _this._setFrameState('active');\r\n            })\r\n                .on('inactive', function () {\r\n                _this._setFrameState('inactive');\r\n            })\r\n                .on('close', function () {\r\n                _this.close();\r\n            });\r\n        }\r\n    };\r\n    Chat.prototype.makeResizable = function (resizable, container, grip, sens) {\r\n        var _this = this;\r\n        if (!container)\r\n            return;\r\n        if (resizable && this._resizer == null) {\r\n            this._resizer = new resizer_component_1.Resizer(container, grip, sens);\r\n            this._resizer.on('resize', function () {\r\n                _this.dispatch('resize');\r\n            })\r\n                .on('resizestart', function () {\r\n                _this.dispatch('resizestart');\r\n            })\r\n                .on('resizeend', function () {\r\n                _this.dispatch('resizeend');\r\n            });\r\n        }\r\n        else if (!resizable && this._resizer) {\r\n            this._resizer.dispose();\r\n            this._resizer = null;\r\n        }\r\n    };\r\n    Chat.prototype.makeDraggable = function (draggable, container, grip, sens) {\r\n        var _this = this;\r\n        if (!grip || !container)\r\n            return;\r\n        if (draggable) {\r\n            this._dragon = new dragon_component_1.Dragon(container, grip, sens);\r\n            this._dragon.on('drag', function (c) {\r\n                _this.dispatch('drag', c);\r\n            })\r\n                .on('dragstart', function () {\r\n                _this.dispatch('dragstart');\r\n                _this.dock = \"none\";\r\n            })\r\n                .on('dragend', function (c) {\r\n                _this.dispatch('dragend', c);\r\n                if (c.top > 0)\r\n                    return;\r\n                if (c.left <= 0)\r\n                    _this.dock = 'left';\r\n                else if (c.right <= 0)\r\n                    _this.dock = 'right';\r\n            });\r\n        }\r\n        else if (!draggable && this._dragon) {\r\n            this._dragon.dispose();\r\n            this._dragon = null;\r\n        }\r\n    };\r\n    Chat.prototype.updateUser = function (userContext) {\r\n        var _this = this;\r\n        return new Promise(function (resolve, reject) {\r\n            stores_1.Config.update({\r\n                user: userContext\r\n            });\r\n            if (_this._chatFrame) {\r\n                _this._chatFrame.update({\r\n                    userContext: userContext\r\n                });\r\n                var handler_1 = function () {\r\n                    resolve();\r\n                    _this._chatFrame.off('set', handler_1);\r\n                };\r\n                _this._chatFrame.on('set', handler_1);\r\n            }\r\n        });\r\n    };\r\n    Chat.prototype.registerButton = function (element, options) {\r\n        var button = new button_component_1.Button(element, options, this.dock)\r\n            .on('click', this.toggle);\r\n        this._buttons.push(button);\r\n        if (this.visible && ((this.minimised && button.hideOnMinimise) || (!this.minimised && button.hideOnMaximised)))\r\n            button.hide();\r\n        else\r\n            button.show();\r\n        return button;\r\n    };\r\n    return Chat;\r\n}(icsai_flex_chat_common_1.Dispatcher));\r\nexports.Chat = Chat;\r\n\n\n//# sourceURL=webpack://FlexAI/./src/components/chat.component.ts?");
938
939/***/ }),
940
941/***/ "./src/components/dragon.component.ts":
942/*!********************************************!*\
943  !*** ./src/components/dragon.component.ts ***!
944  \********************************************/
945/*! no static exports found */
946/***/ (function(module, exports, __webpack_require__) {
947
948"use strict";
949eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.Dragon = void 0;\r\nvar icsai_flex_chat_common_1 = __webpack_require__(/*! icsai-flex-chat-common */ \"./node_modules/icsai-flex-chat-common/index.js\");\r\nvar Dragon = /** @class */ (function (_super) {\r\n    __extends(Dragon, _super);\r\n    function Dragon(container, grip, sens) {\r\n        var _this = _super.call(this, [\"drag\", \"dragstart\", \"dragend\"]) || this;\r\n        _this._sens = 10;\r\n        _this._ox = 0;\r\n        _this._oy = 0;\r\n        _this._top = 0;\r\n        _this._left = 0;\r\n        _this._drag = function (e) {\r\n            var target = _this._container, sens = _this._sens;\r\n            e.preventDefault();\r\n            if (target == null)\r\n                return;\r\n            var x = _this._ox - e.clientX, y = _this._oy - e.clientY;\r\n            _this._top = (target.offsetTop - y),\r\n                _this._left = (target.offsetLeft - x);\r\n            if (_this._top < -sens)\r\n                _this._top = -sens;\r\n            if (_this._left < -sens)\r\n                _this._left = -sens;\r\n            if (_this._top > window.innerHeight - (target.clientHeight - sens))\r\n                _this._top = window.innerHeight - (target.clientHeight - sens);\r\n            if (_this._left > window.innerWidth - (target.clientWidth - sens))\r\n                _this._left = window.innerWidth - (target.clientWidth - sens);\r\n            _this._ox = e.clientX;\r\n            _this._oy = e.clientY;\r\n            target.style.top = _this._top + \"px\";\r\n            target.style.left = _this._left + \"px\";\r\n            _this.dispatch(\"drag\", { top: _this._top, left: _this._left });\r\n        };\r\n        _this._stopDrag = function (e) {\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(_this._container, null, 'flxb-dragging');\r\n            document.removeEventListener('mousemove', _this._drag);\r\n            document.removeEventListener('mouseup', _this._stopDrag);\r\n            if (!_this._container)\r\n                return;\r\n            _this.dispatch(\"dragend\", { top: _this._top, left: _this._left, right: window.innerWidth - (_this._left + _this._container.clientWidth), bottom: window.innerHeight - (_this._top + _this._container.clientHeight) });\r\n        };\r\n        _this._activate = function (e) {\r\n            var target = _this._container;\r\n            if (target == null)\r\n                return;\r\n            e.preventDefault();\r\n            _this._ox = e.clientX;\r\n            _this._oy = e.clientY;\r\n            target.style.top = target.offsetTop + \"px\";\r\n            target.style.left = target.offsetLeft + \"px\";\r\n            document.addEventListener('mousemove', _this._drag);\r\n            document.addEventListener('mouseup', _this._stopDrag);\r\n            _this.dispatch(\"dragstart\");\r\n        };\r\n        _this._init(container, grip, sens);\r\n        return _this;\r\n    }\r\n    //#endregion\r\n    //#region - Properties -\r\n    //#endregion\r\n    //#region - Private Methods -\r\n    Dragon.prototype._init = function (container, grip, sens) {\r\n        if (!sens)\r\n            sens = 10;\r\n        this._container = container;\r\n        this._grip = grip;\r\n        icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-draggable');\r\n        grip.addEventListener(\"mousedown\", this._activate);\r\n    };\r\n    //#endregion\r\n    //#region - Public Methods -\r\n    Dragon.prototype.dispose = function () {\r\n        if (this._grip != null) {\r\n            this._grip.removeEventListener(\"mousedown\", this._activate);\r\n            this._grip = null;\r\n        }\r\n        icsai_flex_chat_common_1.Utils.modifyClassName(this._container, null, 'flxb-draggable');\r\n        this._container = null;\r\n        _super.prototype.dispose.call(this);\r\n    };\r\n    return Dragon;\r\n}(icsai_flex_chat_common_1.Dispatcher));\r\nexports.Dragon = Dragon;\r\n\n\n//# sourceURL=webpack://FlexAI/./src/components/dragon.component.ts?");
950
951/***/ }),
952
953/***/ "./src/components/index.ts":
954/*!*********************************!*\
955  !*** ./src/components/index.ts ***!
956  \*********************************/
957/*! no static exports found */
958/***/ (function(module, exports, __webpack_require__) {
959
960"use strict";
961eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.ChatContext = exports.Chat = void 0;\r\nvar chat_component_1 = __webpack_require__(/*! ./chat.component */ \"./src/components/chat.component.ts\");\r\nObject.defineProperty(exports, \"Chat\", { enumerable: true, get: function () { return chat_component_1.Chat; } });\r\nvar chat_context_component_1 = __webpack_require__(/*! ./chat-context.component */ \"./src/components/chat-context.component.ts\");\r\nObject.defineProperty(exports, \"ChatContext\", { enumerable: true, get: function () { return chat_context_component_1.ChatContext; } });\r\n\n\n//# sourceURL=webpack://FlexAI/./src/components/index.ts?");
962
963/***/ }),
964
965/***/ "./src/components/resizer.component.ts":
966/*!*********************************************!*\
967  !*** ./src/components/resizer.component.ts ***!
968  \*********************************************/
969/*! no static exports found */
970/***/ (function(module, exports, __webpack_require__) {
971
972"use strict";
973eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.Resizer = void 0;\r\nvar icsai_flex_chat_common_1 = __webpack_require__(/*! icsai-flex-chat-common */ \"./node_modules/icsai-flex-chat-common/index.js\");\r\nvar Resizer = /** @class */ (function (_super) {\r\n    __extends(Resizer, _super);\r\n    function Resizer(container, grip, sens) {\r\n        var _this = _super.call(this, [\"resize\", \"resizestart\", \"resizeend\"]) || this;\r\n        _this._sens = 10;\r\n        _this._minHeight = 180;\r\n        _this._minWidth = 300;\r\n        _this._activate = function (e) {\r\n            _this._active = true;\r\n            e.preventDefault();\r\n            document.addEventListener('mousemove', _this._resize);\r\n            document.addEventListener('mouseup', _this._stopResize);\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(_this._container, 'flxb-resizing');\r\n            _this.dispatch('resizestart');\r\n        };\r\n        _this._leave = function (e) {\r\n            if (_this._active)\r\n                return;\r\n            _this._direction = \"\";\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(_this._container, null, \"flxb-resize-n flxb-resize-e flxb-resize-w flxb-resize-s flxb-resize-se flxb-resize-sw flxb-resize-ne flxb-resize-nw\");\r\n        };\r\n        _this._move = function (e) {\r\n            var target = _this._container, sens = _this._sens, className = null;\r\n            if (_this._active || target == null)\r\n                return;\r\n            _this._direction = \"\";\r\n            if (e.clientY - target.offsetTop <= sens)\r\n                _this._direction = \"n\";\r\n            else if ((target.offsetTop + target.clientHeight) - e.clientY <= sens)\r\n                _this._direction = \"s\";\r\n            if (e.clientX - target.offsetLeft <= sens)\r\n                _this._direction += \"w\";\r\n            else if ((target.offsetLeft + target.clientWidth) - e.clientX <= sens)\r\n                _this._direction += \"e\";\r\n            if (_this._direction.length)\r\n                className = 'flxb-resize-' + _this._direction;\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(target, className, \"flxb-resize-n flxb-resize-e flxb-resize-w flxb-resize-s flxb-resize-se flxb-resize-sw flxb-resize-ne flxb-resize-nw\");\r\n        };\r\n        _this._resize = function (e) {\r\n            var target = _this._container, direction = _this._direction, sens = _this._sens, width, height;\r\n            if (target == null)\r\n                return;\r\n            e.preventDefault();\r\n            if (~direction.indexOf('e') && (e.clientX - sens) <= window.innerWidth) {\r\n                width = (e.clientX - target.offsetLeft);\r\n                if (width >= _this._minWidth) {\r\n                    target.style.left = target.offsetLeft + \"px\";\r\n                    target.style.width = width + 'px';\r\n                }\r\n            }\r\n            else if (~direction.indexOf('w') && e.clientX >= -sens) {\r\n                width = (target.clientWidth + (target.offsetLeft - e.clientX));\r\n                if (width >= _this._minWidth) {\r\n                    target.style.width = width + 'px';\r\n                    target.style.left = e.clientX + \"px\";\r\n                }\r\n            }\r\n            if (~direction.indexOf('s') && (e.clientY - sens) <= window.innerHeight) {\r\n                height = (e.clientY - target.offsetTop);\r\n                if (height >= _this._minHeight) {\r\n                    target.style.top = target.offsetTop + \"px\";\r\n                    target.style.height = height + 'px';\r\n                }\r\n            }\r\n            else if (~direction.indexOf('n') && e.clientY >= -sens) {\r\n                height = (target.clientHeight + (target.offsetTop - e.clientY));\r\n                if (height >= _this._minHeight) {\r\n                    target.style.height = height + 'px';\r\n                    target.style.top = e.clientY + \"px\";\r\n                }\r\n            }\r\n            _this.dispatch('resize');\r\n        };\r\n        _this._stopResize = function (e) {\r\n            _this._active = false;\r\n            icsai_flex_chat_common_1.Utils.modifyClassName(_this._container, null, 'flxb-resizing');\r\n            document.removeEventListener('mousemove', _this._resize);\r\n            document.removeEventListener('mouseup', _this._stopResize);\r\n            _this.dispatch('resizeend');\r\n        };\r\n        _this._init(container, grip, sens);\r\n        return _this;\r\n    }\r\n    //#endregion\r\n    //#region - Properties -\r\n    //#endregion\r\n    //#region - Private Methods -\r\n    Resizer.prototype._init = function (container, grip, sens) {\r\n        if (!sens)\r\n            sens = 10;\r\n        this._grip = grip;\r\n        this._container = container;\r\n        icsai_flex_chat_common_1.Utils.modifyClassName(this._container, 'flxb-resizable');\r\n        this._grip.addEventListener(\"mousedown\", this._activate);\r\n        this._grip.addEventListener(\"mouseout\", this._leave);\r\n        this._grip.addEventListener(\"mousemove\", this._move);\r\n    };\r\n    //#endregion\r\n    //#region - Public Methods -\r\n    Resizer.prototype.dispose = function () {\r\n        icsai_flex_chat_common_1.Utils.modifyClassName(this._container, null, 'flxb-resizable');\r\n        if (this._grip != null) {\r\n            this._grip.removeEventListener(\"mousedown\", this._activate);\r\n            this._grip.removeEventListener(\"mouseout\", this._leave);\r\n            this._grip.removeEventListener(\"mousemove\", this._move);\r\n            if (this._grip.parentElement != null)\r\n                this._grip.parentElement.removeChild(this._grip);\r\n            this._grip = null;\r\n        }\r\n        this._container = null;\r\n        _super.prototype.dispose.call(this);\r\n    };\r\n    return Resizer;\r\n}(icsai_flex_chat_common_1.Dispatcher));\r\nexports.Resizer = Resizer;\r\n\n\n//# sourceURL=webpack://FlexAI/./src/components/resizer.component.ts?");
974
975/***/ }),
976
977/***/ "./src/index.ts":
978/*!**********************!*\
979  !*** ./src/index.ts ***!
980  \**********************/
981/*! no static exports found */
982/***/ (function(module, exports, __webpack_require__) {
983
984"use strict";
985eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.Chat = void 0;\r\nvar components_1 = __webpack_require__(/*! ./components */ \"./src/components/index.ts\");\r\n__webpack_require__(/*! ../static/css/flex.chat.plugin.css */ \"./static/css/flex.chat.plugin.css\");\r\n__webpack_require__(/*! core-js/fn/promise */ \"./node_modules/core-js/fn/promise.js\");\r\nvar Chat = new components_1.ChatContext();\r\nexports.Chat = Chat;\r\n\n\n//# sourceURL=webpack://FlexAI/./src/index.ts?");
986
987/***/ }),
988
989/***/ "./src/models/chat-options.interface.ts":
990/*!**********************************************!*\
991  !*** ./src/models/chat-options.interface.ts ***!
992  \**********************************************/
993/*! no static exports found */
994/***/ (function(module, exports, __webpack_require__) {
995
996"use strict";
997eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.BaseOptions = exports.BaseButtonOptions = void 0;\r\nexports.BaseButtonOptions = {\r\n    frameOnly: false,\r\n    text: '',\r\n    description: '',\r\n    hideOnMinimised: false,\r\n    hideOnMaximised: true,\r\n    useDockStyle: true\r\n};\r\nexports.BaseOptions = {\r\n    chat: {\r\n        context: {\r\n            data: {},\r\n            page: '',\r\n            site: '',\r\n            view: ''\r\n        },\r\n        origin: '',\r\n        hideFromText: true,\r\n        locale: 'en',\r\n        showUploadButton: true,\r\n        url: ''\r\n    },\r\n    design: {\r\n        hideFooter: false,\r\n        hideHeader: false,\r\n        hidePoweredBy: false,\r\n        optimised: false,\r\n        optimiseFor: {\r\n            height: 510,\r\n            width: 510\r\n        },\r\n        allowDark: true,\r\n        layout: 'hcarousel',\r\n        showLayoutPicker: true,\r\n        showThemePicker: true,\r\n        themeType: 'light',\r\n        theme: 'flex',\r\n        allowRemoteUrls: false\r\n    },\r\n    frameBehaviour: {\r\n        closable: true,\r\n        dockable: true,\r\n        draggable: true,\r\n        minimizable: true,\r\n        resizable: true,\r\n        sens: 10,\r\n        chatState: {\r\n            initial: { visibility: \"hidden\", dock: \"none\", size: \"maximised\" },\r\n            init: { state: 'open', visibility: 'visible' },\r\n            open: { state: 'open', visibility: 'visible', size: \"maximised\" },\r\n            active: { size: \"maximised\" },\r\n            close: { state: 'closed', visibility: 'hidden' }\r\n        }\r\n    },\r\n    frameOnly: false,\r\n    textElements: {\r\n        footerLinks: [],\r\n        hints: [],\r\n        placeholder: 'Hi, ask me a question.',\r\n        subtitle: \"I'm here to answer your questions. How can I help you?\",\r\n        title: \"Hi, I'm FLEX, your virtual assistant.\"\r\n    }\r\n};\r\n\n\n//# sourceURL=webpack://FlexAI/./src/models/chat-options.interface.ts?");
998
999/***/ }),
1000
1001/***/ "./src/models/index.ts":
1002/*!*****************************!*\
1003  !*** ./src/models/index.ts ***!
1004  \*****************************/
1005/*! no static exports found */
1006/***/ (function(module, exports, __webpack_require__) {
1007
1008"use strict";
1009eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.PluginThemeDefinition = exports.BaseButtonOptions = exports.BaseOptions = void 0;\r\nvar chat_options_interface_1 = __webpack_require__(/*! ./chat-options.interface */ \"./src/models/chat-options.interface.ts\");\r\nObject.defineProperty(exports, \"BaseOptions\", { enumerable: true, get: function () { return chat_options_interface_1.BaseOptions; } });\r\nObject.defineProperty(exports, \"BaseButtonOptions\", { enumerable: true, get: function () { return chat_options_interface_1.BaseButtonOptions; } });\r\nvar plugin_theme_definition_1 = __webpack_require__(/*! ./plugin-theme-definition */ \"./src/models/plugin-theme-definition.ts\");\r\nObject.defineProperty(exports, \"PluginThemeDefinition\", { enumerable: true, get: function () { return plugin_theme_definition_1.PluginThemeDefinition; } });\r\n\n\n//# sourceURL=webpack://FlexAI/./src/models/index.ts?");
1010
1011/***/ }),
1012
1013/***/ "./src/models/plugin-theme-definition.ts":
1014/*!***********************************************!*\
1015  !*** ./src/models/plugin-theme-definition.ts ***!
1016  \***********************************************/
1017/*! no static exports found */
1018/***/ (function(module, exports, __webpack_require__) {
1019
1020"use strict";
1021eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.PluginThemeDefinition = void 0;\r\nexports.PluginThemeDefinition = [\r\n    {\r\n        selector: \".icsai-flex-bot.flxb-light\",\r\n        rules: [\r\n            { name: \"footer\", attributes: [{ name: \"background\", value: \"flat3\" }], selector: \"footer.flxb-foot\" },\r\n            { name: \"footerLink\", attributes: [{ name: \"text\", value: \"accent\" }], selector: [\"footer.flxb-foot nav.flxb-foot-links a\", \"footer.flxb-foot nav.flxb-foot-links a:link\", \"footer.flxb-foot nav.flxb-foot-links a:visited\"] },\r\n            { name: \"footerLinkActive\", attributes: [{ name: \"text\", value: \"accent\" }], selector: \"footer.flxb-foot nav.flxb-foot-links a:hover\" },\r\n            { name: \"footerLinkFocus\", attributes: [{ name: \"border\", value: \"accent\" }], selector: [\"footer.flxb-foot nav.flxb-foot-links a:focus\", \".flxb-poweredby a:focus\"] },\r\n            { name: \"body\", attributes: [{ name: \"image\", value: \"body\" }, { name: \"film\", value: \"flat\" }], selector: \"section.flxb-body\" },\r\n            { name: \"flexLogo\", attributes: [{ name: 'image', value: 'flexLogo' }, { name: \"hue\", value: \"hue\" }], selector: \".flxb-poweredby\" },\r\n            { name: \"bodyBlur\", attributes: [{ name: \"image\", value: \"bodyBlur\" }, { name: \"film\", value: \"flatFilm\" }], selector: \".flxb-chat-bg\" },\r\n            { name: \"bar\", attributes: [{ name: \"background\", value: \"accent2\" }], selector: \"~.no-header nav.flxb-bar\" },\r\n            { name: \"barButtonText\", attributes: [{ name: \"text\", value: \"accentFore\" }], selector: \"nav.flxb-bar .flxb-bar-button\" },\r\n            { name: \"barButtonIcon\", attributes: [{ name: \"icon\", value: \"accentFore\" }], selector: \"nav.flxb-bar .flxb-bar-button svg\" },\r\n            { name: \"barButtonActive\", attributes: [{ name: \"background\", value: \"flat\" }], selector: [\"nav.flxb-bar .flxb-bar-button:hover\", \"nav.flxb-bar .flxb-bar-button:focus\"] },\r\n            { name: \"barButtonTextActive\", attributes: [{ name: \"text\", value: \"accent\" }], selector: [\"nav.flxb-bar .flxb-bar-button:hover\", \"nav.flxb-bar .flxb-bar-button:focus\"] },\r\n            { name: \"barButtonIconActive\", attributes: [{ name: \"icon\", value: \"accent\" }], selector: [\"nav.flxb-bar .flxb-bar-button:hover svg\", \"nav.flxb-bar .flxb-bar-button:focus svg\"] },\r\n            { name: \"header\", attributes: [{ name: \"image\", value: \"head\" }, { name: \"film\", value: \"accentFilm\" }], selector: \"header.flxb-head\" },\r\n            { name: \"headerLogo\", attributes: [{ name: \"image\", value: \"headerLogo\" }], selector: \"header.flxb-head .flxb-head-image\" },\r\n            { name: \"headerTitle\", attributes: [{ name: \"text\", value: \"accentFore\" }], selector: \"header.flxb-head .flxb-head-title\" }\r\n        ]\r\n    },\r\n    {\r\n        selector: '.flxb-button',\r\n        rules: [\r\n            { name: \"button\", attributes: [{ name: 'image', value: 'logoButton' }, { name: \"hue\", value: \"hue\" }], selector: \"~\" },\r\n            { name: \"buttonLeft\", attributes: [{ name: 'image', value: 'logoButtonLeft' }], selector: \"~.flxb-docked.flxb-dock-left\" },\r\n            { name: \"buttonRight\", attributes: [{ name: 'image', value: 'logoButtonRight' }], selector: \"~.flxb-docked.flxb-dock-right\" }\r\n        ]\r\n    }\r\n];\r\n\n\n//# sourceURL=webpack://FlexAI/./src/models/plugin-theme-definition.ts?");
1022
1023/***/ }),
1024
1025/***/ "./src/stores/configuration.store.ts":
1026/*!*******************************************!*\
1027  !*** ./src/stores/configuration.store.ts ***!
1028  \*******************************************/
1029/*! no static exports found */
1030/***/ (function(module, exports, __webpack_require__) {
1031
1032"use strict";
1033eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.Config = void 0;\r\nvar models_1 = __webpack_require__(/*! ../models */ \"./src/models/index.ts\");\r\nvar ConfigurationStore = /** @class */ (function () {\r\n    function ConfigurationStore() {\r\n    }\r\n    Object.defineProperty(ConfigurationStore.prototype, \"design\", {\r\n        //#endregion\r\n        //#region - Properties -\r\n        get: function () { return this._options.design || {}; },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(ConfigurationStore.prototype, \"frameOnly\", {\r\n        get: function () { return this._options.frameOnly == true; },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(ConfigurationStore.prototype, \"frameBehaviour\", {\r\n        get: function () { return this._options.frameBehaviour || {}; },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(ConfigurationStore.prototype, \"textElements\", {\r\n        get: function () { return this._options.textElements || {}; },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(ConfigurationStore.prototype, \"chat\", {\r\n        get: function () { return this._options.chat || {}; },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    Object.defineProperty(ConfigurationStore.prototype, \"user\", {\r\n        get: function () { return this._options.user; },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    //#endregion\r\n    //#region - Private Methods -\r\n    ConfigurationStore.prototype.merge = function (dest, src) {\r\n        if (!(src instanceof Array)) {\r\n            this.mergeConfig(dest, src);\r\n            return;\r\n        }\r\n        for (var i = 0; i < src.length; i++) {\r\n            this.mergeConfig(dest, src[i]);\r\n            this.mergeThemes(dest, src[i]);\r\n        }\r\n    };\r\n    ConfigurationStore.prototype.mergeConfig = function (dest, src) {\r\n        for (var key in src) {\r\n            var val = src[key], destVal = dest[key];\r\n            if (val != null) {\r\n                if (typeof val == 'object' && !(val instanceof Array)) {\r\n                    if (destVal != null)\r\n                        this.mergeConfig(dest[key], val);\r\n                    else\r\n                        dest[key] = val;\r\n                }\r\n                else\r\n                    dest[key] = val;\r\n            }\r\n        }\r\n    };\r\n    ConfigurationStore.prototype.mergeThemes = function (dest, src) {\r\n        if (src.design == null || src.design.themes == null)\r\n            return;
1033\r\n        if (dest.design == null)\r\n            dest.design = {};\r\n        var key;\r\n        if (dest.design.themes == null)\r\n            dest.design.themes = {};\r\n        for (key in src.design.themes) {\r\n            if (src.design.themes[key] != null) {\r\n                if (!dest.design.themes[key])\r\n                    dest.design.themes[key] = {};\r\n                this.mergeTheme(dest.design.themes[key], src.design.themes[key]);\r\n            }\r\n        }\r\n    };\r\n    ConfigurationStore.prototype.mergeTheme = function (destTheme, srcTheme) {\r\n        if (destTheme == null || srcTheme == null)\r\n            return;\r\n        var dest = destTheme, src = srcTheme;\r\n        dest.allowBlur = !src.allowBlur === false;\r\n        var i, key, entry, attrs = ['background', 'border', 'icon', 'image', 'film', 'text', 'palette'];\r\n        for (i = 0; i < attrs.length; i++) {\r\n            key = attrs[i];\r\n            if (src[key]) {\r\n                if (!dest[key])\r\n                    dest[key] = {};\r\n                for (entry in src[key]) {\r\n                    dest[key][entry] = this.mergeThemeType(dest[key][entry], src[key][entry]);\r\n                }\r\n            }\r\n        }\r\n    };\r\n    ConfigurationStore.prototype.mergeThemeType = function (dest, src) {\r\n        if (src == null)\r\n            return dest;\r\n        if (typeof src == 'string')\r\n            return src;\r\n        if (typeof dest != 'object')\r\n            dest = {};\r\n        if (src.dark != null)\r\n            dest.dark = src.dark.toString();\r\n        if (src.light != null)\r\n            dest.light = src.light.toString();\r\n        return dest;\r\n    };\r\n    ConfigurationStore.prototype.validate = function (options) {\r\n        if (options.chat != null) {\r\n            if (options.chat.origin == null || options.chat.origin.length == 0)\r\n                throw Error('[chat].[origin] is required');\r\n            if (options.chat.url == null || options.chat.url.length == 0)\r\n                throw Error('[chat].[url] is required');\r\n            if (options.chat.locale == null || options.chat.locale.length == 0)\r\n                throw Error('[chat].[locale] is required');\r\n        }\r\n        else\r\n            throw Error('[config].[chat] is null');\r\n        if (options.design != null) {\r\n            if (!this.isValidString(options.design.layout, ['hcarousel', 'vexpanding']))\r\n                throw Error('[design].[layout] is invalid');\r\n            if (!this.isValidString(options.design.themeType, ['dark', 'light']))\r\n                throw Error('[design].[themeType] is invalid');\r\n        }\r\n        else\r\n            throw Error('[config].[design] is null');\r\n    };\r\n    ConfigurationStore.prototype.isValidString = function (val, vals) {\r\n        if (val == null)\r\n            return true;\r\n        return vals.indexOf(val) >= 0;\r\n    };\r\n    //#endregion\r\n    //#region - Public Methods -\r\n    ConfigurationStore.prototype.update = function (options) {\r\n        this.merge(this._options, options);\r\n    };\r\n    ConfigurationStore.prototype.load = function (options) {\r\n        var _a, _b;\r\n        var defOptions = models_1.BaseOptions;\r\n        this.merge(defOptions, options);\r\n        if (!((_a = defOptions.chat) === null || _a === void 0 ? void 0 : _a.origin) && ((_b = defOptions.chat) === null || _b === void 0 ? void 0 : _b.url))\r\n            defOptions.chat.origin = defOptions.chat.url.substr(0, defOptions.chat.url.indexOf(\"/\", defOptions.chat.url.indexOf('//') + 2));\r\n        this.validate(defOptions);\r\n        this._options = defOptions;\r\n    };\r\n    return ConfigurationStore;\r\n}());\r\nvar Config = new ConfigurationStore();\r\nexports.Config = Config;\r\n\n\n//# sourceURL=webpack://FlexAI/./src/stores/configuration.store.ts?");
1034
1035/***/ }),
1036
1037/***/ "./src/stores/index.ts":
1038/*!*****************************!*\
1039  !*** ./src/stores/index.ts ***!
1040  \*****************************/
1041/*! no static exports found */
1042/***/ (function(module, exports, __webpack_require__) {
1043
1044"use strict";
1045eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.Config = void 0;\r\nvar configuration_store_1 = __webpack_require__(/*! ./configuration.store */ \"./src/stores/configuration.store.ts\");\r\nObject.defineProperty(exports, \"Config\", { enumerable: true, get: function () { return configuration_store_1.Config; } });\r\n\n\n//# sourceURL=webpack://FlexAI/./src/stores/index.ts?");
1046
1047/***/ }),
1048
1049/***/ "./src/views/index.ts":
1050/*!****************************!*\
1051  !*** ./src/views/index.ts ***!
1052  \****************************/
1053/*! no static exports found */
1054/***/ (function(module, exports, __webpack_require__) {
1055
1056"use strict";
1057eval("\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.button = exports.OptionsMenu = exports.chat = void 0;\r\nexports.chat = [\r\n    \"<div id='icsaiflexwebchat' class='icsai-flex-bot' role='dialog' aria-modal='true' tabindex='-1' aria-hidden='true' aria-labelledby='icsai-flex-bot-label' aria-describedby='icsai-flex-bot-description'>\",\r\n    \"<div class='flxb-resizer'></div>\",\r\n    \"<div class='flxb-chat-bg'></div>\",\r\n    \"<div class='flxb-chat'>\",\r\n    \"<nav class='flxb-bar' role='menu'>\",\r\n    \"<button role='menuitem' class='flxb-bar-button flxb-drag flxb-bar-button-med' title='Move the chat window' aria-label='This option requires the mouse to drag the chatbot across the screen'>\",\r\n    \"<span class='flxb-bar-button-text'>Move the chat window</span>\",\r\n    \"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'>\",\r\n    \"<path d='M276 236.075h115.85v-76.15c0-10.691 12.926-16.045 20.485-8.485l96.149 96.149c4.686 4.686 4.686 12.284 0 16.971l-96.149 96.149c-7.56 7.56-20.485 2.206-20.485-8.485v-76.149H275.999v115.776h76.15c10.691 0 16.045 12.926 8.485 20.485l-96.149 96.15c-4.686 4.686-12.284 4.686-16.971 0l-96.149-96.149c-7.56-7.56-2.206-20.485 8.485-20.485H236V276.075H120.149v76.149c0 10.691-12.926 16.045-20.485 8.485L3.515 264.56c-4.686-4.686-4.686-12.284 0-16.971l96.149-96.149c7.56-7.56 20.485-2.206 20.485 8.485v76.15H236V120.15h-76.149c-10.691 0-16.045-12.926-8.485-20.485l96.149-96.149c4.686-4.686 12.284-4.686 16.971 0l96.149 96.149c7.56 7.56 2.206 20.485-8.485 20.485H276v115.925z' class=''></path>\",\r\n    \"</svg>\",\r\n    \"</button>\",\r\n    \"<button role='menuitem' class='flxb-bar-button flxb-menu' title='Show more display docking options' tabindex='0' aria-label='Hit enter to open up a sub-menu for chat display docking options'>\",\r\n    \"<span class='flxb-bar-button-text'>Show more options</span>\",\r\n    \"<svg width='24' height='24' viewBox='0 0 24 24'><path fill='none' d='M0 0h24v24H0V0z'/><path d='M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/></svg>\",\r\n    \"</button>\",\r\n    \"<nav role='menu' class='flxb-bar-menu flxb-dock' aria-hidden='true' aria-label='Display docking options menu'>\",\r\n    \"</nav>\",\r\n    \"<button role='menuitem' class='flxb-bar-button flxb-min' title='Minimse the chat window' tabindex='0' aria-label='Hit enter to minimise the chatbot'>\",\r\n    \"<span class='flxb-bar-button-text'>Minimse the chat window</span>\",\r\n    '<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M6 19h12v2H6z\"/><path fill=\"none\" d=\"M0 0h24v24H0V0z\"/></svg>',\r\n    \"</button>\",\r\n    \"<button role='menuitem' class='flxb-bar-button flxb-close' title='Close the chat window' tabindex='0' aria-label='Hit enter to close the chatbot'>\",\r\n    \"<span class='flxb-bar-button-text'>Close the chat window</span>\",\r\n    \"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='24px' height='24px' viewBox='0 0 24 24' enable-background='new 0 0 24 24' xml:space='preserve'>\",\r\n    \"<g id='Bounding_Boxes'>\",\r\n    \"<path fill='none' d='M0,0h24v24H0V0z'/>\",\r\n    \"</g>\",\r\n    \"<g id='Sharp'>\",\r\n    \"<path d='M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41z'/>\",\r\n    \"</g>\",\r\n    \"</svg>\",\r\n    \"</button>\",\r\n    \"</nav>\",\r\n    \"<header class='flxb-head' role='banner'>\",\r\n    \"<div class='flxb-head-image'></div>\",\r\n    \"<div class='flxb-head-title'>\",\r\n    \"<h1 id='icsai-flex-bot-label' tabindex='0' aria-label=''></h1>\",\r\n    \"<h2 id='icsai-flex-bot-description' tabindex='0' aria-label=''></h2>\",\r\n    \"</div>\",\r\n    \"</header>\",\r\n    \"<footer class='flxb-foot' role='navigation'>\",\r\n    \"<nav class='flxb-foot-links' role='menu'>\",\r\n    '</nav>',\r\n    \"<div class='flxb-poweredby'><a href='https://www.ics.ai/' title='This chatbot is powered by FLEX.AI. Visit the ICS.AI website to find out more about Flex AI' target='_blank'></a></div>\",\r\n    \"</footer>\",\r\n    \"<section class='flxb-body' role='main'>\",\r\n    \"</section>\",\r\n    \"</div>\",\r\n    \"</div>\"\r\n].join(\"\\n\");\r\nexports.OptionsMenu = [\r\n    \"<span class='flxb-button-group-title'>Dock</span>\",\r\n    \"<button role='menuitem' class='flxb-bar-button flxb-dock-btn flxb-dock-btn-none' data-dock='none' title='Undock' aria-label='Select to undock the chatbot and have it float'>\",\r\n    \"<span class='flxb-bar-button-text'>Undock</span>\",\r\n    '<svg version=\"1.1\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">',\r\n    '<path d=\"m9 7h6v10h-6v-10zm-9 13v-16h24v16h-24zm1.9194-1.9197h20.161v-12.161h-20.161v12.161z\"/>',\r\n    '</svg>',\r\n    \"</button>\",\r\n    \"<button role='menuitem' class='flxb-bar-button flxb-dock-btn flxb-dock-btn-right' data-dock='right' title='Dock to right' aria-label='Select to dock the chatbot to the right hand side'>\",\r\n    \"<span class='flxb-bar-button-text'>Dock to right</span>\",\r\n    '<svg version=\"1.1\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:osb=\"http://www.openswatchbook.org/uri/2009/osb\">',\r\n    '<path d=\"m16 4h8v16h-8v-16zm-16 16v-16h24v16h-24zm1.9194-1.9197h20.161v-12.161h-20.161v12.161z\"/>',\r\n    '</svg>',\r\n    \"</button>\",\r\n    \"<button role='menuitem' class='flxb-bar-button flxb-dock-btn flxb-dock-btn-left' data-dock='left' title='Dock to left' aria-label='Select to dock the chatbot to the left hand side'>\",\r\n    \"<span class='flxb-bar-button-text'>Dock to left</span>\",\r\n    '<svg version=\"1.1\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:osb=\"http://www.openswatchbook.org/uri/2009/osb\">',\r\n    '<path d=\"m0 4h8v16h-8v-16zm0 16v-16h24v16h-24zm1.9194-1.9197h20.161v-12.161h-20.161v12.161z\"/>',\r\n    '</svg>',\r\n    \"</button>\",\r\n    \"<button role='menuitem' class='flxb-bar-button flxb-dock-btn flxb-dock-btn-full' data-dock='full' title='Full screen' aria-label='Select to expand the chatbot to full screen'>\",\r\n    \"<span class='flxb-bar-button-text'>Full screen</span>\",\r\n    '<svg version=\"1.1\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:osb=\"http://www.openswatchbook.org/uri/2009/osb\">',\r\n    '<path d=\"m0 4h24v16h-24z\"/>',\r\n    '</svg>',\r\n    \"</button>\",\r\n].join(\"\\n\");\r\nexports.button = [\r\n    \"<div id='icsaiflexwebchatbutton' class='flxb-button' role='button'>\",\r\n    \"<div class='flxb-button-icon'></div>\",\r\n    \"<div class='flxb-button-text flxb-button-title'></div>\",\r\n    \"<div class='flxb-button-text flxb-button-sub-title'></div>\",\r\n    \"</div>\"\r\n].join(\"\\n\");\r\n\n\n//# sourceURL=webpack://FlexAI/./src/views/index.ts?");
1058
1059/***/ }),
1060
1061/***/ "./static/css/flex.chat.plugin.css":
1062/*!*****************************************!*\
1063  !*** ./static/css/flex.chat.plugin.css ***!
1064  \*****************************************/
1065/*! no static exports found */
1066/***/ (function(module, exports) {
1067
1068eval("// removed by extract-text-webpack-plugin\n\n//# sourceURL=webpack://FlexAI/./static/css/flex.chat.plugin.css?");
1069
1070/***/ })
1070
1071
1072/******/ });

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.