{"version":3,"sources":["webpack:///./node_modules/core-js/library/modules/es6.symbol.js","webpack:///./node_modules/core-js/library/modules/_object-gopn-ext.js","webpack:///./node_modules/core-js/library/modules/es6.array.is-array.js","webpack:///./node_modules/core-js/library/modules/_create-property.js","webpack:///./node_modules/core-js/library/modules/_object-pie.js","webpack:///./node_modules/core-js/library/modules/_enum-keys.js","webpack:///./node_modules/core-js/library/modules/es6.array.from.js","webpack:///./node_modules/core-js/library/fn/is-iterable.js","webpack:///./node_modules/core-js/library/modules/_wks-define.js","webpack:///./node_modules/@babel/runtime-corejs2/core-js/symbol.js","webpack:///./node_modules/core-js/library/modules/es7.symbol.async-iterator.js","webpack:///./node_modules/core-js/library/modules/_object-gopn.js","webpack:///./src/classes/Event.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArray.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/nonIterableSpread.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/toConsumableArray.js","webpack:///./node_modules/core-js/library/modules/es7.symbol.observable.js","webpack:///./node_modules/@babel/runtime-corejs2/core-js/array/from.js","webpack:///./node_modules/core-js/library/modules/_is-array.js","webpack:///./node_modules/core-js/library/modules/core.is-iterable.js","webpack:///./node_modules/core-js/library/modules/_object-gops.js","webpack:///./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js","webpack:///./node_modules/core-js/library/modules/_object-gopd.js","webpack:///./node_modules/@babel/runtime-corejs2/core-js/is-iterable.js","webpack:///./node_modules/core-js/library/modules/_wks-ext.js","webpack:///./node_modules/core-js/library/fn/array/from.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray.js","webpack:///./node_modules/core-js/library/modules/_meta.js","webpack:///./node_modules/core-js/library/fn/array/is-array.js","webpack:///./node_modules/core-js/library/fn/symbol/index.js"],"names":["global","has","DESCRIPTORS","$export","redefine","META","KEY","$fails","shared","setToStringTag","uid","wks","wksExt","wksDefine","enumKeys","isArray","anObject","isObject","toObject","toIObject","toPrimitive","createDesc","_create","gOPNExt","$GOPD","$GOPS","$DP","$keys","gOPD","f","dP","gOPN","$Symbol","Symbol","$JSON","JSON","_stringify","stringify","PROTOTYPE","HIDDEN","TO_PRIMITIVE","isEnum","propertyIsEnumerable","SymbolRegistry","AllSymbols","OPSymbols","ObjectProto","Object","USE_NATIVE","QObject","setter","findChild","setSymbolDesc","get","this","value","a","it","key","D","protoDesc","wrap","tag","sym","_k","isSymbol","iterator","$defineProperty","enumerable","$defineProperties","P","keys","i","l","length","$create","undefined","$propertyIsEnumerable","E","call","$getOwnPropertyDescriptor","$getOwnPropertyNames","names","result","push","$getOwnPropertySymbols","IS_OP","TypeError","arguments","$set","configurable","set","name","G","W","F","es6Symbols","split","j","wellKnownSymbols","store","k","S","keyFor","useSetter","useSimple","create","defineProperty","defineProperties","getOwnPropertyDescriptor","getOwnPropertyNames","getOwnPropertySymbols","FAILS_ON_PRIMITIVES","replacer","$replacer","args","apply","valueOf","Math","toString","windowNames","window","getWindowNames","e","slice","module","exports","object","index","getKeys","gOPS","pIE","getSymbols","symbols","ctx","isArrayIter","toLength","createProperty","getIterFn","iter","Array","from","arrayLike","step","O","C","aLen","mapfn","mapping","iterFn","next","done","core","LIBRARY","charAt","hiddenKeys","concat","Event","_classCallCheck","_createClass","_createEvent2","_asyncToGenerator","regeneratorRuntime","mark","_callee","companyId","_ref","code","type","_yield$API$graphql","_context","prev","API","graphql","graphqlOperation","createEvent","input","trim","toLowerCase","status","eventEventCompanyId","requireDob","isDeleted","createdAt","Date","toISOString","sent","data","abrupt","stop","_x","_x2","_updateEventCode","_callee2","_ref2","id","_yield$API$graphql2","_context2","updateEvent","updateEventCode","_x3","_deleteEvent","_callee3","_ref3","_yield$API$graphql3","_context3","t0","Error","message","deleteEvent","_x4","_getEventsById","_callee4","nextToken","listEvents","_yield$API$graphql4","events","_context4","query","variables","limit","filter","clientAccess","contains","eq","authMode","getEventsById","_x5","_x6","_getEventsByCompany","_callee5","_ref4","getEventCompany","_yield$API$graphql5","_context5","event","items","getEventsByCompany","_x7","_getEventsByDateRange","_callee6","_ref5","to","_yield$API$graphql6","_context6","dateFrom","dateTo","getEventsByDateRange","_x8","_getEventsByConsultant","_callee7","_ref6","date","consultant","eventQuery","_yield$API$graphql7","_context7","assignedTo","getEventsByConsultant","_x9","_getEventsByEventSlotGroups","_callee8","_ref7","listEventSlotGroups","_yield$API$graphql8","_context8","gt","eventLocation","getEventsByEventSlotGroups","_x10","_arrayWithoutHoles","arr","arrayLikeToArray","_iterableToArray","_nonIterableSpread","_toConsumableArray","unsupportedIterableToArray","cof","arg","classof","ITERATOR","Iterators","isIterable","hasOwnProperty","IE8_DOM_DEFINE","_arrayLikeToArray","len","arr2","_unsupportedIterableToArray","o","minLen","n","prototype","constructor","test","setDesc","isExtensible","FREEZE","preventExtensions","setMeta","w","fastKey","getWeak","onFreeze","meta","NEED"],"mappings":"kHAEA,IAAIA,EAAS,EAAQ,QACjBC,EAAM,EAAQ,QACdC,EAAc,EAAQ,QACtBC,EAAU,EAAQ,QAClBC,EAAW,EAAQ,QACnBC,EAAO,EAAQ,QAAWC,IAC1BC,EAAS,EAAQ,QACjBC,EAAS,EAAQ,QACjBC,EAAiB,EAAQ,QACzBC,EAAM,EAAQ,QACdC,EAAM,EAAQ,QACdC,EAAS,EAAQ,QACjBC,EAAY,EAAQ,QACpBC,EAAW,EAAQ,QACnBC,EAAU,EAAQ,QAClBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAY,EAAQ,QACpBC,EAAc,EAAQ,QACtBC,EAAa,EAAQ,QACrBC,EAAU,EAAQ,QAClBC,EAAU,EAAQ,QAClBC,EAAQ,EAAQ,QAChBC,EAAQ,EAAQ,QAChBC,EAAM,EAAQ,QACdC,EAAQ,EAA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U,EAAQ,OAAR,EAAoB,WAChC,OAAOD,EAAazP,OAAO2P,kBAAkB,QAE3CC,EAAU,SAAUlP,GACtB8O,EAAQ9O,EAAIpD,EAAM,CAAEkD,MAAO,CACzBiB,EAAG,OAAQ2H,EACXyG,EAAG,OAGHC,EAAU,SAAUpP,EAAIiD,GAE1B,IAAKzF,EAASwC,GAAK,MAAoB,iBAANA,EAAiBA,GAAmB,iBAANA,EAAiB,IAAM,KAAOA,EAC7F,IAAKxD,EAAIwD,EAAIpD,GAAO,CAElB,IAAKmS,EAAa/O,GAAK,MAAO,IAE9B,IAAKiD,EAAQ,MAAO,IAEpBiM,EAAQlP,GAER,OAAOA,EAAGpD,GAAMmE,GAEhBsO,EAAU,SAAUrP,EAAIiD,GAC1B,IAAKzG,EAAIwD,EAAIpD,GAAO,CAElB,IAAKmS,EAAa/O,GAAK,OAAO,EAE9B,IAAKiD,EAAQ,OAAO,EAEpBiM,EAAQlP,GAER,OAAOA,EAAGpD,GAAMuS,GAGhBG,EAAW,SAAUtP,GAEvB,OADIgP,GAAUO,EAAKC,MAAQT,EAAa/O,KAAQxD,EAAIwD,EAAIpD,IAAOsS,EAAQlP,GAChEA,GAELuP,EAAOnL,EAAOC,QAAU,CAC1BxH,IAAKD,EACL4S,MAAM,EACNJ,QAASA,EACTC,QAASA,EACTC,SAAUA,I,qBCnDZ,EAAQ,QACRlL,EAAOC,QAAU,EAAQ,QAAuBc,MAAM7H,S,qBCDtD,EAAQ,QACR,EAAQ,QACR,EAAQ,QACR,EAAQ,QACR8G,EAAOC,QAAU,EAAQ,QAAuB7F","file":"js/chunk-0e00e3b6.c310fd50.js","sourcesContent":["'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = require('./_export');\n\n$export($export.S, 'Array', { isArray: require('./_is-array') });\n","'use strict';\nvar $defineProperty = require('./_object-dp');\nvar createDesc = require('./_property-desc');\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n","exports.f = {}.propertyIsEnumerable;\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n","require('../modules/web.dom.iterable');\nrequire('../modules/es6.string.iterator');\nmodule.exports = require('../modules/core.is-iterable');\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","module.exports = require(\"core-js/library/fn/symbol\");","require('./_wks-define')('asyncIterator');\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","import { API, graphqlOperation } from \"aws-amplify\";\nimport { createEvent, updateEvent } from \"../graphql/mutations\";\n\nexport class Event {\n constructor() {}\n\n async createEvent(companyId, { name, code, type }) {\n const {\n data: { createEvent: result }\n } = await API.graphql(\n graphqlOperation(createEvent, {\n input: {\n name: name.trim(),\n code: code.toLowerCase().trim(),\n type: type,\n status: \"Draft\",\n eventEventCompanyId: companyId,\n requireDob: true,\n isDeleted: 0,\n createdAt: new Date().toISOString()\n }\n })\n );\n return result;\n }\n\n async updateEventCode({ id, code }) {\n const {\n data: { updateEvent: result }\n } = await API.graphql(\n graphqlOperation(updateEvent, {\n input: {\n id: id,\n code: code\n }\n })\n );\n return result;\n }\n\n async deleteEvent({ id }) {\n try {\n const {\n data: { updateEvent: result }\n } = await API.graphql(\n graphqlOperation(updateEvent, {\n input: {\n id: id,\n isDeleted: 1\n }\n })\n );\n return result;\n } catch (err) {\n throw new Error(err.message);\n }\n }\n\n async getEventsById(id, nextToken) {\n const listEvents = /* GraphQL */ `\n query ListEvents(\n $filter: ModelEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEvents(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n eventCompany {\n id\n name\n eventClientAccess {\n items {\n id\n showPersonal\n }\n }\n }\n id\n name\n code\n status\n type\n iCalendar\n eventLocation(filter: { isDeleted: { eq: 0 } }) {\n items {\n id\n addressLine1\n postcode\n town\n createdAt\n eventSlotGroup(limit: 1000, filter: { isDeleted: { eq: 0 } }) {\n items {\n id\n room\n createdAt\n date\n capacity\n eventSlot(limit: 1000, filter: { isDeleted: { eq: 0 } }) {\n items {\n id\n length\n time\n type\n booked\n eventBooking(\n limit: 1000\n filter: { isDeleted: { eq: 0 } }\n ) {\n items {\n id\n firstname\n lastname\n email\n dob\n mobile\n isDeleted\n }\n }\n }\n }\n }\n }\n }\n }\n eventCollectUserData {\n items {\n id\n label\n validation\n fieldType\n createdAt\n isDeleted\n eventCollectUserDataOptions {\n items {\n id\n options\n }\n }\n }\n }\n }\n nextToken\n }\n }\n `;\n\n const {\n data: { listEvents: events }\n } = await API.graphql({\n query: listEvents,\n variables: {\n limit: 100,\n nextToken: nextToken,\n filter: {\n clientAccess: { contains: id },\n isDeleted: { eq: 0 }\n }\n },\n authMode: \"API_KEY\"\n });\n return events;\n }\n\n async getEventsByCompany({ id }) {\n const getEventCompany = `query GetEventCompany($id: ID!) {\n getEventCompany(id: $id) {\n event(\n filter: {\n isDeleted: { eq: 0 }\n }\n ) {\n items {\n id\n name\n code\n type\n status\n requireDob\n iCalendar\n status\n description\n commsTemplate\n createdAt\n isDeleted\n }\n }\n }\n }\n `;\n try {\n const {\n data: {\n getEventCompany: {\n event: { items: result }\n }\n }\n } = await API.graphql(\n graphqlOperation(getEventCompany, {\n id: id\n })\n );\n return result;\n } catch (err) {\n throw new Error(err.message);\n }\n }\n\n async getEventsByDateRange({ from, to, nextToken }) {\n const listEvents = /* GraphQL */ `\n query ListEvents(\n $filter: ModelEventFilterInput\n $limit: Int\n $nextToken: String\n $dateFrom: String\n $dateTo: String\n ) {\n listEvents(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n eventCompany {\n id\n name\n }\n id\n name\n code\n status\n type\n iCalendar\n attendance\n eventLocation(filter: { isDeleted: { eq: 0 } }) {\n items {\n id\n addressLine1\n postcode\n town\n createdAt\n eventSlotGroup(\n limit: 1000\n filter: {\n isDeleted: { eq: 0 }\n date: { between: [$dateFrom, $dateTo] }\n }\n ) {\n items {\n id\n room\n createdAt\n date\n capacity\n eventSlot(limit: 1000) {\n items {\n id\n length\n time\n type\n booked\n eventBooking(\n limit: 1000\n filter: { isDeleted: { eq: 0 } }\n ) {\n items {\n id\n firstname\n lastname\n email\n mobile\n dob\n attendance\n customData\n twentyFourHourReminder\n isDeleted\n }\n }\n }\n }\n }\n }\n }\n }\n eventCollectUserData {\n items {\n id\n label\n validation\n fieldType\n createdAt\n isDeleted\n eventCollectUserDataOptions {\n items {\n id\n options\n }\n }\n }\n }\n }\n nextToken\n }\n }\n `;\n const {\n data: { listEvents: events }\n } = await API.graphql(\n graphqlOperation(listEvents, {\n filter: { isDeleted: { eq: 0 } },\n nextToken: nextToken,\n dateFrom: from,\n dateTo: to\n })\n );\n return events;\n }\n\n async getEventsByConsultant({ date, consultant, nextToken }) {\n const eventQuery = `query ListEvents($assignedTo: String! $date: String $nextToken: String) {\n listEvents(\n limit:1000,\n filter: {\n isDeleted: { eq: 0 }\n },\n nextToken: $nextToken\n ) {\n items {\n eventCompany {\n id\n name\n },\n id\n name\n code\n status\n type\n iCalendar\n attendance\n eventLocation (\n filter: {\n isDeleted: { eq: 0 }\n }\n ) {\n items {\n id\n addressLine1\n postcode\n town\n createdAt\n eventSlotGroup(\n limit: 1000\n filter: {\n isDeleted: { eq: 0 },\n assignedTo: { contains: $assignedTo },\n date: { gt: $date }\n }\n ) {\n items {\n id\n room\n createdAt\n date\n capacity\n eventSlot(limit: 1000) {\n items {\n id\n length\n time\n type\n booked\n eventBooking(\n limit: 1000\n filter: {\n isDeleted: { eq: 0 }\n }\n ) {\n items {\n id\n firstname\n lastname\n email\n mobile\n dob\n attendance\n customData\n isDeleted\n }\n }\n }\n }\n }\n }\n }\n },\n eventCollectUserData {\n items {\n id,\n label,\n validation,\n fieldType,\n createdAt,\n isDeleted,\n eventCollectUserDataOptions {\n items {\n id,\n options\n }\n }\n }\n }\n }\n nextToken\n }\n }`;\n const {\n data: { listEvents: events }\n } = await API.graphql({\n query: eventQuery,\n variables: {\n assignedTo: consultant, // \"Harley.cordner-young@healthyperformance.co.uk\"\n date: date,\n nextToken: nextToken\n },\n authMode: \"API_KEY\"\n });\n return events;\n }\n\n async getEventsByEventSlotGroups({ date, nextToken }) {\n const listEventSlotGroups = /* GraphQL */ `\n query ListEventSlotGroups(\n $filter: ModelEventSlotGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEventSlotGroups(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n room\n date\n capacity\n createdAt\n active\n isDeleted\n assignedTo\n updatedAt\n eventLocation {\n town\n isDeleted\n event {\n id\n name\n code\n status\n isDeleted\n eventCompany {\n name\n isDeleted\n }\n }\n }\n }\n nextToken\n }\n }\n `;\n const {\n data: { listEventSlotGroups: events }\n } = await API.graphql(\n graphqlOperation(listEventSlotGroups, {\n filter: { isDeleted: { eq: 0 }, date: { gt: date } },\n nextToken: nextToken\n })\n );\n\n events.items = events.items.filter(function(event) {\n if (event.eventLocation) {\n if (event.eventLocation.event) {\n return (\n event.eventLocation.event.isDeleted === 0 &&\n event.eventLocation.isDeleted === 0\n );\n }\n }\n });\n return events;\n }\n}\n","import _Array$isArray from \"@babel/runtime-corejs2/core-js/array/is-array\";\nimport arrayLikeToArray from \"@babel/runtime-corejs2/helpers/esm/arrayLikeToArray\";\nexport default function _arrayWithoutHoles(arr) {\n if (_Array$isArray(arr)) return arrayLikeToArray(arr);\n}","import _Array$from from \"@babel/runtime-corejs2/core-js/array/from\";\nimport _isIterable from \"@babel/runtime-corejs2/core-js/is-iterable\";\nimport _Symbol from \"@babel/runtime-corejs2/core-js/symbol\";\nexport default function _iterableToArray(iter) {\n if (typeof _Symbol !== \"undefined\" && _isIterable(Object(iter))) return _Array$from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles\";\nimport iterableToArray from \"@babel/runtime-corejs2/helpers/esm/iterableToArray\";\nimport unsupportedIterableToArray from \"@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray\";\nimport nonIterableSpread from \"@babel/runtime-corejs2/helpers/esm/nonIterableSpread\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","require('./_wks-define')('observable');\n","module.exports = require(\"core-js/library/fn/array/from\");","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').isIterable = function (it) {\n var O = Object(it);\n return O[ITERATOR] !== undefined\n || '@@iterator' in O\n // eslint-disable-next-line no-prototype-builtins\n || Iterators.hasOwnProperty(classof(O));\n};\n","exports.f = Object.getOwnPropertySymbols;\n","module.exports = require(\"core-js/library/fn/array/is-array\");","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","module.exports = require(\"core-js/library/fn/is-iterable\");","exports.f = require('./_wks');\n","require('../../modules/es6.string.iterator');\nrequire('../../modules/es6.array.from');\nmodule.exports = require('../../modules/_core').Array.from;\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import _Array$from from \"@babel/runtime-corejs2/core-js/array/from\";\nimport arrayLikeToArray from \"@babel/runtime-corejs2/helpers/esm/arrayLikeToArray\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return _Array$from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","require('../../modules/es6.array.is-array');\nmodule.exports = require('../../modules/_core').Array.isArray;\n","require('../../modules/es6.symbol');\nrequire('../../modules/es6.object.to-string');\nrequire('../../modules/es7.symbol.async-iterator');\nrequire('../../modules/es7.symbol.observable');\nmodule.exports = require('../../modules/_core').Symbol;\n"],"sourceRoot":""}