{"version":3,"sources":["vendor/ember-cli/app-prefix.js","io-mail-assistant/adapters/application.js","io-mail-assistant/app.js","io-mail-assistant/components/fa-icon.js","io-mail-assistant/components/loading.js","io-mail-assistant/components/login-panel.js","io-mail-assistant/components/login-panel/body.js","io-mail-assistant/components/login-panel/body/action.js","io-mail-assistant/components/login-panel/body/alertbox.js","io-mail-assistant/components/login-panel/body/circle-image.js","io-mail-assistant/components/login-panel/body/input-field.js","io-mail-assistant/components/login-panel/body/submit.js","io-mail-assistant/components/login-panel/body/text-button.js","io-mail-assistant/components/login-panel/footer.js","io-mail-assistant/components/login-panel/header.js","io-mail-assistant/components/login-panel/header/logo.js","io-mail-assistant/components/main.js","io-mail-assistant/components/main/body.js","io-mail-assistant/components/main/body/attachment-section.js","io-mail-assistant/components/main/body/banner/conversation.js","io-mail-assistant/components/main/body/button/attachment.js","io-mail-assistant/components/main/body/button/create.js","io-mail-assistant/components/main/body/button/email.js","io-mail-assistant/components/main/body/button/extended.js","io-mail-assistant/components/main/body/button/keyword.js","io-mail-assistant/components/main/body/button/linked.js","io-mail-assistant/components/main/body/button/open.js","io-mail-assistant/components/main/body/button/popup-search.js","io-mail-assistant/components/main/body/button/simple.js","io-mail-assistant/components/main/body/detailed.js","io-mail-assistant/components/main/body/detailed/array.js","io-mail-assistant/components/main/body/detailed/element/icon.js","io-mail-assistant/components/main/body/detailed/element/line.js","io-mail-assistant/components/main/body/detailed/row.js","io-mail-assistant/components/main/body/detailed/single.js","io-mail-assistant/components/main/body/divider.js","io-mail-assistant/components/main/body/head-label.js","io-mail-assistant/components/main/body/other-section.js","io-mail-assistant/components/main/body/pool-section.js","io-mail-assistant/components/main/body/search.js","io-mail-assistant/components/main/body/section.js","io-mail-assistant/components/main/footer.js","io-mail-assistant/components/main/header.js","io-mail-assistant/components/modal-dialog.js","io-mail-assistant/components/modal-dialog/creation.js","io-mail-assistant/components/modal-dialog/delete.js","io-mail-assistant/components/modal-dialog/error.js","io-mail-assistant/components/modal-dialog/error/licensing.js","io-mail-assistant/components/modal-dialog/error/session.js","io-mail-assistant/components/modal-dialog/login.js","io-mail-assistant/components/modal-dialog/preferences.js","io-mail-assistant/components/utils/iom-button.js","io-mail-assistant/components/utils/notification-box.js","io-mail-assistant/components/welcome-page.js","io-mail-assistant/controllers/application.js","io-mail-assistant/controllers/iom.js","io-mail-assistant/controllers/login.js","io-mail-assistant/controllers/reset.js","io-mail-assistant/data-adapter.js","io-mail-assistant/font-awesome.js","io-mail-assistant/helpers/-base.js","io-mail-assistant/helpers/and.js","io-mail-assistant/helpers/app-version.js","io-mail-assistant/helpers/append.js","io-mail-assistant/helpers/appointment-show-as-formatter.js","io-mail-assistant/helpers/breaklines.js","io-mail-assistant/helpers/call.js","io-mail-assistant/helpers/chunk.js","io-mail-assistant/helpers/compact.js","io-mail-assistant/helpers/compute.js","io-mail-assistant/helpers/daylite-status-formatter.js","io-mail-assistant/helpers/daylite-type-formatter.js","io-mail-assistant/helpers/dec.js","io-mail-assistant/helpers/detect-url.js","io-mail-assistant/helpers/did-insert-helper.js","io-mail-assistant/helpers/did-update-helper.js","io-mail-assistant/helpers/drop.js","io-mail-assistant/helpers/duration-formatter.js","io-mail-assistant/helpers/entries.js","io-mail-assistant/helpers/eq.js","io-mail-assistant/helpers/filter-by.js","io-mail-assistant/helpers/filter.js","io-mail-assistant/helpers/find-by.js","io-mail-assistant/helpers/flatten.js","io-mail-assistant/helpers/from-entries.js","io-mail-assistant/helpers/group-by.js","io-mail-assistant/helpers/gt.js","io-mail-assistant/helpers/gte.js","io-mail-assistant/helpers/has-next.js","io-mail-assistant/helpers/has-previous.js","io-mail-assistant/helpers/if-key.js","io-mail-assistant/helpers/inc.js","io-mail-assistant/helpers/includes.js","io-mail-assistant/helpers/intersect.js","io-mail-assistant/helpers/invoke.js","io-mail-assistant/helpers/is-after.js","io-mail-assistant/helpers/is-array.js","io-mail-assistant/helpers/is-before.js","io-mail-assistant/helpers/is-between.js","io-mail-assistant/helpers/is-empty.js","io-mail-assistant/helpers/is-equal.js","io-mail-assistant/helpers/is-same-or-after.js","io-mail-assistant/helpers/is-same-or-before.js","io-mail-assistant/helpers/is-same.js","io-mail-assistant/helpers/iso8601-date-formatter.js","io-mail-assistant/helpers/join.js","io-mail-assistant/helpers/keys.js","io-mail-assistant/helpers/lt.js","io-mail-assistant/helpers/lte.js","io-mail-assistant/helpers/map-by.js","io-mail-assistant/helpers/map.js","io-mail-assistant/helpers/moment-add.js","io-mail-assistant/helpers/moment-calendar.js","io-mail-assistant/helpers/moment-diff.js","io-mail-assistant/helpers/moment-duration.js","io-mail-assistant/helpers/moment-format.js","io-mail-assistant/helpers/moment-from-now.js","io-mail-assistant/helpers/moment-from.js","io-mail-assistant/helpers/moment-subtract.js","io-mail-assistant/helpers/moment-to-date.js","io-mail-assistant/helpers/moment-to-now.js","io-mail-assistant/helpers/moment-to.js","io-mail-assistant/helpers/moment.js","io-mail-assistant/helpers/next.js","io-mail-assistant/helpers/noop.js","io-mail-assistant/helpers/not-eq.js","io-mail-assistant/helpers/not.js","io-mail-assistant/helpers/now.js","io-mail-assistant/helpers/object-at.js","io-mail-assistant/helpers/on-key.js","io-mail-assistant/helpers/optional.js","io-mail-assistant/helpers/or.js","io-mail-assistant/helpers/page-title.js","io-mail-assistant/helpers/path.js","io-mail-assistant/helpers/percent-formatter.js","io-mail-assistant/helpers/pick.js","io-mail-assistant/helpers/pipe-action.js","io-mail-assistant/helpers/pipe.js","io-mail-assistant/helpers/previous.js","io-mail-assistant/helpers/priority-formatter.js","io-mail-assistant/helpers/queue.js","io-mail-assistant/helpers/range.js","io-mail-assistant/helpers/reduce.js","io-mail-assistant/helpers/reject-by.js","io-mail-assistant/helpers/repeat.js","io-mail-assistant/helpers/reverse.js","io-mail-assistant/helpers/shuffle.js","io-mail-assistant/helpers/slice.js","io-mail-assistant/helpers/sort-by.js","io-mail-assistant/helpers/take.js","io-mail-assistant/helpers/toggle-action.js","io-mail-assistant/helpers/toggle.js","io-mail-assistant/helpers/union.js","io-mail-assistant/helpers/unix.js","io-mail-assistant/helpers/utc.js","io-mail-assistant/helpers/values.js","io-mail-assistant/helpers/will-destroy-helper.js","io-mail-assistant/helpers/without.js","io-mail-assistant/helpers/xor.js","io-mail-assistant/initializers/app-version.js","io-mail-assistant/initializers/ember-data.js","io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject.js","io-mail-assistant/models/Classes/daylite/appointmentDetailed.js","io-mail-assistant/models/Classes/daylite/appointmentSlim.js","io-mail-assistant/models/Classes/daylite/contactDetailed.js","io-mail-assistant/models/Classes/daylite/contactSlim.js","io-mail-assistant/models/Classes/daylite/creation.js","io-mail-assistant/models/Classes/daylite/email.js","io-mail-assistant/models/Classes/daylite/objectiveDetailed.js","io-mail-assistant/models/Classes/daylite/objectiveSlim.js","io-mail-assistant/models/Classes/daylite/searchResult.js","io-mail-assistant/models/Classes/daylite/taskDetailed.js","io-mail-assistant/models/Classes/daylite/taskSlim.js","io-mail-assistant/models/Classes/mail/appointment.js","io-mail-assistant/models/Classes/mail/attachmentPool.js","io-mail-assistant/models/Classes/mail/contact.js","io-mail-assistant/models/Classes/mail/contactpool.js","io-mail-assistant/models/Classes/mail/objective.js","io-mail-assistant/models/Classes/mail/objectivepool.js","io-mail-assistant/models/Classes/mail/task.js","io-mail-assistant/models/Classes/mail/taskAppointmentPool.js","io-mail-assistant/models/Classes/missive/conversation.js","io-mail-assistant/models/Classes/shared/attachment.js","io-mail-assistant/models/Classes/shared/contact.js","io-mail-assistant/models/Classes/shared/message.js","io-mail-assistant/models/daylite/category.js","io-mail-assistant/models/daylite/keyword.js","io-mail-assistant/models/login/login-panel.js","io-mail-assistant/models/mail.js","io-mail-assistant/modifiers/autofocus.js","io-mail-assistant/modifiers/did-insert.js","io-mail-assistant/modifiers/did-update.js","io-mail-assistant/modifiers/on-key.js","io-mail-assistant/modifiers/will-destroy.js","io-mail-assistant/router.js","io-mail-assistant/routes/application.js","io-mail-assistant/routes/authorization.js","io-mail-assistant/routes/index.js","io-mail-assistant/routes/iom.js","io-mail-assistant/routes/loading.js","io-mail-assistant/routes/login.js","io-mail-assistant/routes/reset.js","io-mail-assistant/services/creation-service.js","io-mail-assistant/services/data-service.js","io-mail-assistant/services/daylite-service.js","io-mail-assistant/services/debug-service.js","io-mail-assistant/services/keyboard.js","io-mail-assistant/services/log-service.js","io-mail-assistant/services/missive-service.js","io-mail-assistant/services/moment.js","io-mail-assistant/services/notification-handler.js","io-mail-assistant/services/outlook-service.js","io-mail-assistant/services/page-title.js","io-mail-assistant/services/preference-service.js","io-mail-assistant/services/session-service.js","io-mail-assistant/services/store.js","io-mail-assistant/tailwind/config.js","io-mail-assistant/templates/application.js","io-mail-assistant/templates/authorization.js","io-mail-assistant/templates/iom.js","io-mail-assistant/templates/login.js","io-mail-assistant/templates/reset.js","io-mail-assistant/transforms/boolean.js","io-mail-assistant/transforms/date.js","io-mail-assistant/transforms/number.js","io-mail-assistant/transforms/string.js","io-mail-assistant/utilities/default-routing.js","io-mail-assistant/utilities/get-component-attrs.js","io-mail-assistant/utilities/optional-action.js","vendor/ember-cli/app-suffix.js","vendor/ember-cli/app-config.js","vendor/ember-cli/app-boot.js"],"sourcesContent":["'use strict';\n\n\n","define(\"io-mail-assistant/adapters/application\", [\"exports\", \"@ember-data/adapter/rest\", \"rsvp\", \"io-mail-assistant/config/environment\", \"@ember/utils\", \"@ember/service\"], function (_exports, _rest, _rsvp, _environment, _utils, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/adapter/rest\",0,\"rsvp\",0,\"io-mail-assistant/config/environment\",0,\"@ember/utils\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ApplicationAdaptor = _exports.default = (_class = class ApplicationAdaptor extends _rest.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"notificationHandler\", _descriptor, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor2, this);\n      _defineProperty(this, \"namespace\", 'v1');\n      _defineProperty(this, \"host\", _environment.default.Backend.host || 'http://127.0.0.1:8090');\n    }\n    handleResponse(status, headers, payload, requestData) {\n      if (status === 404) {\n        const isFromBackend = !(0, _utils.isEmpty)(requestData.url) && requestData.url.includes(this.host);\n        const error = new Error('Not Found');\n        error.status = 404;\n        if (isFromBackend && !(0, _utils.isEmpty)(payload)) {\n          if (payload.reason === 'IOACC 8') {\n            this.notificationHandler.addError(error);\n            return error;\n          }\n        }\n      }\n      return super.handleResponse(...arguments);\n    }\n    urlForFindRecord(id, modelName, snapshot) {\n      if (modelName === 'daylite/email') {\n        return `${this.host}/${id}`;\n      }\n      return super.urlForFindRecord(id, modelName, snapshot);\n    }\n\n    /**\n      Makes a request to the server.\n      @method makeRequest\n      @param {String} url The request URL\n      @param {Object} options The request options\n      @return {Promise} A promise that resolves with the response object\n      @protected\n    */\n    makeRequest(url, options) {\n      return new _rsvp.default.Promise((resolve, reject) => {\n        fetch(url, options).then(response => {\n          response.text().then(text => {\n            try {\n              let jsonOrText = text;\n              if (this.isJson(text)) {\n                jsonOrText = JSON.parse(text);\n              }\n              if (!response.ok) {\n                response.responseJSON = jsonOrText;\n                this.notificationHandler.addError(response);\n                reject(response);\n              } else {\n                resolve(jsonOrText);\n              }\n            } catch {\n              response.responseText = text;\n              reject(response);\n            }\n          });\n        }).catch(error => {\n          this.notificationHandler.addError(error);\n          reject(error);\n        });\n      });\n    }\n    isJson(str) {\n      try {\n        JSON.parse(str);\n      } catch {\n        return false;\n      }\n      return true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"notificationHandler\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/app\", [\"exports\", \"@ember/application\", \"ember-resolver\", \"ember-load-initializers\", \"io-mail-assistant/config/environment\", \"io-mail-assistant/font-awesome\"], function (_exports, _application, _emberResolver, _emberLoadInitializers, _environment, _fontAwesome) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"ember-resolver\",0,\"ember-load-initializers\",0,\"io-mail-assistant/config/environment\",0,\"io-mail-assistant/font-awesome\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  // import { getWebInstrumentations, initializeFaro } from '@grafana/faro-web-sdk';\n  // import { TracingInstrumentation } from '@grafana/faro-web-tracing';\n\n  class App extends _application.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"modulePrefix\", _environment.default.modulePrefix);\n      _defineProperty(this, \"podModulePrefix\", _environment.default.podModulePrefix);\n      _defineProperty(this, \"Resolver\", _emberResolver.default);\n    }\n  }\n\n  // // eslint-disable-next-line no-unused-vars\n  // var faro = initializeFaro({\n  //   url: 'https://faro-collector-prod-eu-west-2.grafana.net/collect/d69054e9596670f3f39da3e26589b50a',\n  //   app: {\n  //     name: 'Missive',\n  //     version: '1.0.0',\n  //     environment: 'production',\n  //   },\n  //   instrumentations: [\n  //     // Mandatory, overwriting the instrumentations array would cause the default instrumentations to be omitted\n  //     ...getWebInstrumentations(),\n\n  //     // Initialization of the tracing package.\n  //     // This packages is optional because it increases the bundle size noticeably. Only add it if you want tracing data.\n  //     new TracingInstrumentation(),\n  //   ],\n  // });\n  _exports.default = App;\n  (0, _emberLoadInitializers.default)(App, _environment.default.modulePrefix);\n});","define(\"io-mail-assistant/components/fa-icon\", [\"exports\", \"@fortawesome/ember-fontawesome/components/fa-icon\"], function (_exports, _faIcon) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _faIcon.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@fortawesome/ember-fontawesome/components/fa-icon\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/components/loading\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"z-999 fixed inset-x-0 bottom-0 flex h-full items-center justify-center bg-black opacity-80\">\n    <div class=\"flex flex-col text-io-orange\">\n      <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" class=\"animate-pulse h-10\">\n        <path class=\"svg-path-current-color\"\n          d=\"M0 128C0 92.65 28.65 64 64 64H448C483.3 64 512 92.65 512 128V384C512 419.3 483.3 448 448 448H64C28.65 448 0 419.3 0 384V128zM16 128V156.2L220.8 321.4C241.4 337.9 270.6 337.9 291.2 321.4L496 156.2V128C496 101.5 474.5 80 448 80H63.1C37.49 80 15.1 101.5 15.1 128H16zM16 176.7V384C16 410.5 37.49 432 64 432H448C474.5 432 496 410.5 496 384V176.7L301.2 333.8C274.8 355.1 237.2 355.1 210.8 333.8L16 176.7z\" />\n      </svg>\n      <p class=\"text-lg light-font-fix\">{{yield}}</p>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"CLLWPodA\",\n    \"block\": \"[[[10,0],[14,0,\\\"z-999 fixed inset-x-0 bottom-0 flex h-full items-center justify-center bg-black opacity-80\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex flex-col text-io-orange\\\"],[12],[1,\\\"\\\\n    \\\"],[10,\\\"svg\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"viewBox\\\",\\\"0 0 512 512\\\"],[14,0,\\\"animate-pulse h-10\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"path\\\"],[14,0,\\\"svg-path-current-color\\\"],[14,\\\"d\\\",\\\"M0 128C0 92.65 28.65 64 64 64H448C483.3 64 512 92.65 512 128V384C512 419.3 483.3 448 448 448H64C28.65 448 0 419.3 0 384V128zM16 128V156.2L220.8 321.4C241.4 337.9 270.6 337.9 291.2 321.4L496 156.2V128C496 101.5 474.5 80 448 80H63.1C37.49 80 15.1 101.5 15.1 128H16zM16 176.7V384C16 410.5 37.49 432 64 432H448C474.5 432 496 410.5 496 384V176.7L301.2 333.8C274.8 355.1 237.2 355.1 210.8 333.8L16 176.7z\\\"],[12],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,2],[14,0,\\\"text-lg light-font-fix\\\"],[12],[18,1,null],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],false,[\\\"div\\\",\\\"svg\\\",\\\"path\\\",\\\"p\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/loading.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/login-panel\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/application\", \"@ember/object\", \"io-mail-assistant/utilities/optional-action\", \"@ember/template-factory\"], function (_exports, _component, _component2, _application, _object, _optionalAction, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/application\",0,\"@ember/object\",0,\"io-mail-assistant/utilities/optional-action\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex flex-col h-full\">\n    {{yield (hash\n    header=(component 'login-panel/header')\n    body=(component 'login-panel/body' loginPanel=this.loginPanel submit=this.submit)\n    footer=(component 'login-panel/footer')\n  )}}\n  </div>\n  */\n  {\n    \"id\": \"LKjrn1tP\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex flex-col h-full\\\"],[12],[1,\\\"\\\\n  \\\"],[18,1,[[28,[37,2],null,[[\\\"header\\\",\\\"body\\\",\\\"footer\\\"],[[50,\\\"login-panel/header\\\",0,null,null],[50,\\\"login-panel/body\\\",0,null,[[\\\"loginPanel\\\",\\\"submit\\\"],[[30,0,[\\\"loginPanel\\\"]],[30,0,[\\\"submit\\\"]]]]],[50,\\\"login-panel/footer\\\",0,null,null]]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],false,[\\\"div\\\",\\\"yield\\\",\\\"hash\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel.hbs\",\n    \"isStrictMode\": false\n  });\n  let LoginPanelComponent = _exports.default = (_class = class LoginPanelComponent extends _component2.default {\n    action() {}\n    submitFailed() {}\n    submitSuccessed() {}\n    submitLoading() {}\n    constructor() {\n      super(...arguments);\n      this.loginPanel = (0, _application.getOwner)(this).factoryFor('model:login/login-panel').create({});\n    }\n    submit(event) {\n      event.preventDefault();\n      this.loginPanel.checkValidate().then(() => this.action(this.loginPanel.formData)).then(() => {\n        this.submitSuccessed();\n      }, e => {\n        this.submitFailed(e);\n      }).finally(() => {\n        this.submitLoading();\n      }).catch(() => {});\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"action\", [_optionalAction.default], Object.getOwnPropertyDescriptor(_class.prototype, \"action\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"submitFailed\", [_optionalAction.default], Object.getOwnPropertyDescriptor(_class.prototype, \"submitFailed\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"submitSuccessed\", [_optionalAction.default], Object.getOwnPropertyDescriptor(_class.prototype, \"submitSuccessed\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"submitLoading\", [_optionalAction.default], Object.getOwnPropertyDescriptor(_class.prototype, \"submitLoading\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"submit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submit\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, LoginPanelComponent);\n});","define(\"io-mail-assistant/components/login-panel/body\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"mt-16 sm:flex-1 h-full\">\n      <form ...attributes {{on \"submit\" @submit}} novalidate>\n          <div class=\"pt-6 sm:px-6 lg:px-8\">\n              {{yield (hash\n              circleImage=(component 'login-panel/body/circle-image')\n              action=(component 'login-panel/body/action')\n              alertbox=(component 'login-panel/body/alertbox')\n              inputField=(component 'login-panel/body/input-field' loginPanel=@loginPanel)\n              submit=(component 'login-panel/body/submit')\n              textButton=(component 'login-panel/body/text-button')\n              )}}\n          </div>\n      </form>\n  </div>\n  */\n  {\n    \"id\": \"ux27zyyN\",\n    \"block\": \"[[[10,0],[14,0,\\\"mt-16 sm:flex-1 h-full\\\"],[12],[1,\\\"\\\\n    \\\"],[11,\\\"form\\\"],[17,1],[24,\\\"novalidate\\\",\\\"\\\"],[4,[38,2],[\\\"submit\\\",[30,2]],null],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"pt-6 sm:px-6 lg:px-8\\\"],[12],[1,\\\"\\\\n            \\\"],[18,4,[[28,[37,4],null,[[\\\"circleImage\\\",\\\"action\\\",\\\"alertbox\\\",\\\"inputField\\\",\\\"submit\\\",\\\"textButton\\\"],[[50,\\\"login-panel/body/circle-image\\\",0,null,null],[50,\\\"login-panel/body/action\\\",0,null,null],[50,\\\"login-panel/body/alertbox\\\",0,null,null],[50,\\\"login-panel/body/input-field\\\",0,null,[[\\\"loginPanel\\\"],[[30,3]]]],[50,\\\"login-panel/body/submit\\\",0,null,null],[50,\\\"login-panel/body/text-button\\\",0,null,null]]]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@submit\\\",\\\"@loginPanel\\\",\\\"&default\\\"],false,[\\\"div\\\",\\\"form\\\",\\\"on\\\",\\\"yield\\\",\\\"hash\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/body.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/login-panel/body/action\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @isTextButton}}\n  <button class=\"default-text default-text-hover {{@textSize}} cursor-pointer\" type=\"button\" {{on \"click\" @action}}>\n      {{@text}}\n  </button>\n  {{else}}\n  <button class=\"flex items-center bg-io-orange default-text py-1 px-4 rounded-xl shadow-md\" type=\"button\" {{on \"click\"\n      @action}}>\n      {{@text}}\n  </button>\n  {{/if}}\n  */\n  {\n    \"id\": \"UAJ9exgZ\",\n    \"block\": \"[[[41,[30,1],[[[11,\\\"button\\\"],[16,0,[29,[\\\"default-text default-text-hover \\\",[30,2],\\\" cursor-pointer\\\"]]],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,3]],null],[12],[1,\\\"\\\\n    \\\"],[1,[30,4]],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[11,\\\"button\\\"],[24,0,\\\"flex items-center bg-io-orange default-text py-1 px-4 rounded-xl shadow-md\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,3]],null],[12],[1,\\\"\\\\n    \\\"],[1,[30,4]],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@isTextButton\\\",\\\"@textSize\\\",\\\"@action\\\",\\\"@text\\\"],false,[\\\"if\\\",\\\"button\\\",\\\"on\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/body/action.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/login-panel/body/alertbox\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"mt-6 mx-auto w-8/12 p-4 text-center default-text sm:text-sm\">\n      {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"J1FPOs2J\",\n    \"block\": \"[[[10,0],[14,0,\\\"mt-6 mx-auto w-8/12 p-4 text-center default-text sm:text-sm\\\"],[12],[1,\\\"\\\\n    \\\"],[18,1,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],false,[\\\"div\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/body/alertbox.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/login-panel/body/circle-image\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <img class=\"object-contain h-24 w-full rounded-full\" aria-hidden=\"true\" src=\"{{@image}}\"/>\n  */\n  {\n    \"id\": \"jWndeTIs\",\n    \"block\": \"[[[10,\\\"img\\\"],[14,0,\\\"object-contain h-24 w-full rounded-full\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[15,\\\"src\\\",[29,[[30,1]]]],[12],[13]],[\\\"@image\\\"],false,[\\\"img\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/body/circle-image.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/login-panel/body/input-field\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/utils\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _tracking, _utils, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{did-insert-helper this.initializeBuilder}}\n  <label for=\"{{@id}}\" class=\"default-text\">{{@label}}</label>\n  {{!-- template-lint-disable no-builtin-form-components --}}\n  <Input {{on \"focusout\" this.updateValue}} id=\"{{@id}}\" name=\"{{@name}}\" @type=\"{{@type}}\"\n      autocomplete=\"{{@autocomplete}}\"\n      class=\"appearance-none rounded-xl mt-2 relative block w-full px-3 py-1 border-2 {{this.borderColor}} iom-placeholder-color control-text-color focus:border-opacity-50 focus:z-10 sm:text-sm\"\n      placeholder={{@placeholder}} @value={{this.value}} />\n  {{#if this.showErrorMessage}}\n  <p class=\"text-red-400 pt-1 text-xs\">{{@errorMessage}}</p>\n  {{/if}}\n  */\n  {\n    \"id\": \"jkUoL9Be\",\n    \"block\": \"[[[1,[28,[35,0],[[30,0,[\\\"initializeBuilder\\\"]]],null]],[1,\\\"\\\\n\\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[29,[[30,1]]]],[14,0,\\\"default-text\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n\\\"],[8,[39,2],[[16,1,[29,[[30,1]]]],[16,3,[29,[[30,3]]]],[16,\\\"autocomplete\\\",[29,[[30,4]]]],[16,0,[29,[\\\"appearance-none rounded-xl mt-2 relative block w-full px-3 py-1 border-2 \\\",[30,0,[\\\"borderColor\\\"]],\\\" iom-placeholder-color control-text-color focus:border-opacity-50 focus:z-10 sm:text-sm\\\"]]],[16,\\\"placeholder\\\",[30,5]],[4,[38,3],[\\\"focusout\\\",[30,0,[\\\"updateValue\\\"]]],null]],[[\\\"@type\\\",\\\"@value\\\"],[[29,[[30,6]]],[30,0,[\\\"value\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showErrorMessage\\\"]],[[[10,2],[14,0,\\\"text-red-400 pt-1 text-xs\\\"],[12],[1,[30,7]],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@id\\\",\\\"@label\\\",\\\"@name\\\",\\\"@autocomplete\\\",\\\"@placeholder\\\",\\\"@type\\\",\\\"@errorMessage\\\"],false,[\\\"did-insert-helper\\\",\\\"label\\\",\\\"input\\\",\\\"on\\\",\\\"if\\\",\\\"p\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/body/input-field.hbs\",\n    \"isStrictMode\": false\n  });\n  let LoginPanelBodyInputFieldComponent = _exports.default = (_class = class LoginPanelBodyInputFieldComponent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"showErrorMessage\", _descriptor, this);\n      _defineProperty(this, \"_value\", '');\n    }\n    initializeBuilder() {\n      this.args.loginPanel.addToLoginPanelFields(this);\n      (0, _object.defineProperty)(this, 'value', (0, _object.get)(this.args.loginPanel.formData, this.args.id));\n    }\n    updateValue() {\n      this.args.loginPanel.formData[this.args.id] = this.value;\n    }\n    get borderColor() {\n      let tailwindColor = 'iom-border-color';\n      if (this.showErrorMessage) {\n        tailwindColor = 'border-red-400';\n      }\n      return tailwindColor;\n    }\n    set value(newValue) {\n      if (!(0, _utils.isEmpty)(newValue)) {\n        this.args.loginPanel.formData[this.args.id] = newValue;\n      }\n      this._value = newValue;\n    }\n    get value() {\n      return this._value;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"showErrorMessage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"initializeBuilder\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initializeBuilder\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateValue\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, LoginPanelBodyInputFieldComponent);\n});","define(\"io-mail-assistant/components/login-panel/body/submit\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <button ...attributes class=\"flex items-center {{@color}} text-white font-medium py-1 px-4 rounded-xl shadow-md\"\n      type=\"submit\">\n      {{@text}}\n      {{yield}}\n  </button>\n  */\n  {\n    \"id\": \"xKwGyhZT\",\n    \"block\": \"[[[11,\\\"button\\\"],[17,1],[16,0,[29,[\\\"flex items-center \\\",[30,2],\\\" text-white font-medium py-1 px-4 rounded-xl shadow-md\\\"]]],[24,4,\\\"submit\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[30,3]],[1,\\\"\\\\n    \\\"],[18,4,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@color\\\",\\\"@text\\\",\\\"&default\\\"],false,[\\\"button\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/body/submit.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/login-panel/body/text-button\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <button class=\"default-text default-text-hover cursor-pointer\" type=\"button\" {{on \"click\" @action}}>\n      {{@text}}\n  </button>\n  */\n  {\n    \"id\": \"ev9WOnfx\",\n    \"block\": \"[[[11,\\\"button\\\"],[24,0,\\\"default-text default-text-hover cursor-pointer\\\"],[24,4,\\\"button\\\"],[4,[38,1],[\\\"click\\\",[30,1]],null],[12],[1,\\\"\\\\n    \\\"],[1,[30,2]],[1,\\\"\\\\n\\\"],[13]],[\\\"@action\\\",\\\"@text\\\"],false,[\\\"button\\\",\\\"on\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/body/text-button.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/login-panel/footer\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"io-mail-assistant/config/environment\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _environment, _service, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"io-mail-assistant/config/environment\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <footer class=\"flex flex-col\">\n    {{#if this.isOutlook}}\n    {{#if this.outdatedOfficeVersion}}\n    <div class=\"px-4 py-2 bg-red-400 w-full text-sm text-white\">Outlook version not supported. Please\n      update to the\n      latest Outlook\n      version\n    </div>\n    {{/if}}\n    {{/if}}\n    <div class=\"px-4 py-2 flex justify-between\">\n      <div>\n        <span class=\"h-auto mt-1 iom-textcolor-d\">Version: {{this.version}}</span>\n        {{#if this.sessionService.newVersionAvailable}}\n        <button type=\"button\" class=\"border bg-io-orange text-xs px-1 py-0.5 rounded-md text-white\" {{on \"click\"\n        this.refresh}} title=\"Click for update\">\n          <span>New version available</span>\n          <FaIcon class=\"h-3 w-3\" @icon=\"rotate-right\" @prefix=\"fal\" @size={{2}} />\n        </button>\n        {{/if}}\n      </div>\n  \n      {{!--\n    <Utils::IomButton @icon=\"bug\" @action={{this.debugService.debugAction}} /> --}}\n      <Utils::IomButton @icon=\"notebook\" @action={{this.logService.showLog}} @tooltip=\"Show log\" />\n    </div>\n  </footer>\n  */\n  {\n    \"id\": \"xWONxEFA\",\n    \"block\": \"[[[10,\\\"footer\\\"],[14,0,\\\"flex flex-col\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isOutlook\\\"]],[[[41,[30,0,[\\\"outdatedOfficeVersion\\\"]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"px-4 py-2 bg-red-400 w-full text-sm text-white\\\"],[12],[1,\\\"Outlook version not supported. Please\\\\n    update to the\\\\n    latest Outlook\\\\n    version\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"  \\\"],[10,0],[14,0,\\\"px-4 py-2 flex justify-between\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[12],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"h-auto mt-1 iom-textcolor-d\\\"],[12],[1,\\\"Version: \\\"],[1,[30,0,[\\\"version\\\"]]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"sessionService\\\",\\\"newVersionAvailable\\\"]],[[[1,\\\"      \\\"],[11,\\\"button\\\"],[24,0,\\\"border bg-io-orange text-xs px-1 py-0.5 rounded-md text-white\\\"],[24,\\\"title\\\",\\\"Click for update\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"refresh\\\"]]],null],[12],[1,\\\"\\\\n        \\\"],[10,1],[12],[1,\\\"New version available\\\"],[13],[1,\\\"\\\\n        \\\"],[8,[39,6],[[24,0,\\\"h-3 w-3\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"rotate-right\\\",\\\"fal\\\",2]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[1,\\\"    \\\"],[8,[39,7],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@tooltip\\\"],[\\\"notebook\\\",[30,0,[\\\"logService\\\",\\\"showLog\\\"]],\\\"Show log\\\"]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"footer\\\",\\\"if\\\",\\\"div\\\",\\\"span\\\",\\\"button\\\",\\\"on\\\",\\\"fa-icon\\\",\\\"utils/iom-button\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/footer.hbs\",\n    \"isStrictMode\": false\n  });\n  let LoginPanelFooterComponent = _exports.default = (_class = class LoginPanelFooterComponent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n      _initializerDefineProperty(this, \"debugService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"logService\", _descriptor3, this);\n    }\n    version() {\n      return _environment.default.Version || 'unknown';\n    }\n    get isOutlook() {\n      return _environment.default.AssistantIdentifier === 'outlook';\n    }\n    get isMissive() {\n      return _environment.default.AssistantIdentifier === 'missive';\n    }\n    get outdatedOfficeVersion() {\n      // eslint-disable-next-line no-undef\n      return !Office.context.requirements.isSetSupported('Mailbox', '1.9');\n    }\n    refresh() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.reload(true);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.location.reload(true);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"debugService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"logService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, LoginPanelFooterComponent);\n});","define(\"io-mail-assistant/components/login-panel/header\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"io-mail-assistant/config/environment\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _environment, _tracking, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"io-mail-assistant/config/environment\",0,\"@glimmer/tracking\",0,\"@ember/object\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <header class=\"p-2\">\n    {{yield (hash\n    logo=(component 'login-panel/header/logo'))\n    }}\n    <div class=\"flex justify-end gap-2\">\n      <Utils::IomButton @icon=\"rotate-right\" @action={{this.refresh}} @tooltip=\"Refresh\" />\n    </div>\n  </header>\n  */\n  {\n    \"id\": \"1oXV0ihO\",\n    \"block\": \"[[[10,\\\"header\\\"],[14,0,\\\"p-2\\\"],[12],[1,\\\"\\\\n  \\\"],[18,1,[[28,[37,2],null,[[\\\"logo\\\"],[[50,\\\"login-panel/header/logo\\\",0,null,null]]]]]],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex justify-end gap-2\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,5],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@tooltip\\\"],[\\\"rotate-right\\\",[30,0,[\\\"refresh\\\"]],\\\"Refresh\\\"]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],false,[\\\"header\\\",\\\"yield\\\",\\\"hash\\\",\\\"component\\\",\\\"div\\\",\\\"utils/iom-button\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/header.hbs\",\n    \"isStrictMode\": false\n  });\n  let LoginPanelComponent = _exports.default = (_class = class LoginPanelComponent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"debugging\", _descriptor, this);\n    }\n    refresh() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.reload(true);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.location.reload(true);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"debugging\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return _environment.default.Debugmode || false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"refresh\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"refresh\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, LoginPanelComponent);\n});","define(\"io-mail-assistant/components/login-panel/header/logo\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <LinkTo @route=\"login\">\n    <img class=\"object-cover mx-auto p-1.5 h-20 sm:m-0 sm:p-0\" aria-hidden=\"true\" src=\"{{@image}}\" />\n  </LinkTo>\n  */\n  {\n    \"id\": \"XqZZHdkX\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@route\\\"],[\\\"login\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[10,\\\"img\\\"],[14,0,\\\"object-cover mx-auto p-1.5 h-20 sm:m-0 sm:p-0\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[15,\\\"src\\\",[29,[[30,1]]]],[12],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"@image\\\"],false,[\\\"link-to\\\",\\\"img\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/login-panel/header/logo.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex flex-col h-screen justify-between\">\n  {{yield (hash\n    header=(component 'main/header')\n    body=(component 'main/body')\n    footer=(component 'main/footer')\n  )}}\n  </div>\n  */\n  {\n    \"id\": \"PbgGQm2T\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex flex-col h-screen justify-between\\\"],[12],[1,\\\"\\\\n\\\"],[18,1,[[28,[37,2],null,[[\\\"header\\\",\\\"body\\\",\\\"footer\\\"],[[50,\\\"main/header\\\",0,null,null],[50,\\\"main/body\\\",0,null,null],[50,\\\"main/footer\\\",0,null,null]]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],false,[\\\"div\\\",\\\"yield\\\",\\\"hash\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"item w-full flex-grow p-2 text-sm\">\n      {{!-- one conversation selected --}}\n      {{#if (eq this.dataService.viewMode 1)}}\n      <div class=\"flex flex-col gap-1\">\n          {{#if (and this.mail.conversationIsInDaylite this.mail.supportConversations)}}\n          <Main::Body::Section @bordered={{true}} @cssColor=\"bg-io-orange text-white\">\n              <Main::Body::Banner::Conversation @mail={{this.mail}} />\n          </Main::Body::Section>\n          {{/if}}\n          <Main::Body::Section class=\"mt-2\" @bordered={{true}}>\n              <Main::Body::Button::Email @state={{this.mail.uiState}} @action={{this.mail.addOrRemoveDayliteAction}}\n                  @isLoading={{this.mail.isLoading}} @openAction={{this.mail.openAction}}\n                  @showDayliteButton={{this.mail.dataService.isRunningMacOS}} @isDraft={{this.mail.isDraft}} />\n          </Main::Body::Section>\n          <Main::Body::Section class=\"mt-2\" @bordered={{false}}>\n              <Main::Body::PoolSection @title=\"Contacts\" @pool={{this.mail.contactPool}} @mail={{this.mail}}\n                  @searchAction={{this.mail.contactPool.searchAction}} />\n          </Main::Body::Section>\n          <Main::Body::Section class=\"mt-2\" @bordered={{false}}>\n              <Main::Body::PoolSection class=\"\" @title=\"Objectives\" @pool={{this.mail.objectivePool}} @mail={{this.mail}}\n                  @searchAction={{this.mail.objectivePool.searchAction}} />\n          </Main::Body::Section>\n          <Main::Body::Section class=\"mt-2\" @bordered={{false}}>\n              <Main::Body::PoolSection class=\"\" @title=\"Tasks & Appointments\" @pool={{this.mail.taskAppointmentPool}}\n                  @mail={{this.mail}} @searchAction={{this.mail.taskAppointmentPool.searchAction}} />\n          </Main::Body::Section>\n          {{#if this.mail.attachmentPool.showPool}}\n          <Main::Body::Section class=\"mt-2\" @bordered={{false}}>\n              <Main::Body::AttachmentSection @title=\"Attachments\" @pool={{this.mail.attachmentPool}} />\n          </Main::Body::Section>\n          {{/if}}\n          <Main::Body::Section class=\"mt-2\" @bordered={{false}}>\n              <Main::Body::OtherSection @mail={{this.mail}} />\n          </Main::Body::Section>\n      </div>\n      {{else}}\n      <div class=\"flex flex-col justify-center items-center h-full text-center default-text text-xl\">\n          {{#if (eq this.dataService.viewMode 2)}}\n          <div class=\"item w-full\">Mutliple Emails selected</div>\n          <div class=\"item w-full iom-textcolor-b\">Please select a single Email to use iOMailAssistant</div>\n          {{!-- multiple conversation selected --}}\n          {{else if (eq this.dataService.viewMode 0)}}\n          {{!-- no conversation selected --}}\n          <div class=\"item w-full\">No Email selected</div>\n          <div class=\"item w-full iom-textcolor-b\">Please select an Email to use iOMailAssistant</div>\n          {{else if (eq this.dataService.viewMode 4)}}\n          {{!-- no message in conversation --}}\n          <div class=\"item w-full\">Not possible</div>\n          <div class=\"item w-full iom-textcolor-b\">Currently we can not display iOMailAssistant for Missive here or\n              the history is not loaded. Please scroll up and click on refresh to try again</div>\n          {{/if}}\n      </div>\n      {{/if}}\n      {{#if (gt this.mail.searchMode 0)}}\n      <Main::Body::Search @mail={{this.mail}} />\n      {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"tVdNnlhV\",\n    \"block\": \"[[[10,0],[14,0,\\\"item w-full flex-grow p-2 text-sm\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,2],[[30,0,[\\\"dataService\\\",\\\"viewMode\\\"]],1],null],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"flex flex-col gap-1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"mail\\\",\\\"conversationIsInDaylite\\\"]],[30,0,[\\\"mail\\\",\\\"supportConversations\\\"]]],null],[[[1,\\\"        \\\"],[8,[39,4],null,[[\\\"@bordered\\\",\\\"@cssColor\\\"],[true,\\\"bg-io-orange text-white\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,5],null,[[\\\"@mail\\\"],[[30,0,[\\\"mail\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"],[8,[39,4],[[24,0,\\\"mt-2\\\"]],[[\\\"@bordered\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,6],null,[[\\\"@state\\\",\\\"@action\\\",\\\"@isLoading\\\",\\\"@openAction\\\",\\\"@showDayliteButton\\\",\\\"@isDraft\\\"],[[30,0,[\\\"mail\\\",\\\"uiState\\\"]],[30,0,[\\\"mail\\\",\\\"addOrRemoveDayliteAction\\\"]],[30,0,[\\\"mail\\\",\\\"isLoading\\\"]],[30,0,[\\\"mail\\\",\\\"openAction\\\"]],[30,0,[\\\"mail\\\",\\\"dataService\\\",\\\"isRunningMacOS\\\"]],[30,0,[\\\"mail\\\",\\\"isDraft\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[8,[39,4],[[24,0,\\\"mt-2\\\"]],[[\\\"@bordered\\\"],[false]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,7],null,[[\\\"@title\\\",\\\"@pool\\\",\\\"@mail\\\",\\\"@searchAction\\\"],[\\\"Contacts\\\",[30,0,[\\\"mail\\\",\\\"contactPool\\\"]],[30,0,[\\\"mail\\\"]],[30,0,[\\\"mail\\\",\\\"contactPool\\\",\\\"searchAction\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[8,[39,4],[[24,0,\\\"mt-2\\\"]],[[\\\"@bordered\\\"],[false]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,7],[[24,0,\\\"\\\"]],[[\\\"@title\\\",\\\"@pool\\\",\\\"@mail\\\",\\\"@searchAction\\\"],[\\\"Objectives\\\",[30,0,[\\\"mail\\\",\\\"objectivePool\\\"]],[30,0,[\\\"mail\\\"]],[30,0,[\\\"mail\\\",\\\"objectivePool\\\",\\\"searchAction\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[8,[39,4],[[24,0,\\\"mt-2\\\"]],[[\\\"@bordered\\\"],[false]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,7],[[24,0,\\\"\\\"]],[[\\\"@title\\\",\\\"@pool\\\",\\\"@mail\\\",\\\"@searchAction\\\"],[\\\"Tasks & Appointments\\\",[30,0,[\\\"mail\\\",\\\"taskAppointmentPool\\\"]],[30,0,[\\\"mail\\\"]],[30,0,[\\\"mail\\\",\\\"taskAppointmentPool\\\",\\\"searchAction\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"mail\\\",\\\"attachmentPool\\\",\\\"showPool\\\"]],[[[1,\\\"        \\\"],[8,[39,4],[[24,0,\\\"mt-2\\\"]],[[\\\"@bordered\\\"],[false]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,8],null,[[\\\"@title\\\",\\\"@pool\\\"],[\\\"Attachments\\\",[30,0,[\\\"mail\\\",\\\"attachmentPool\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"],[8,[39,4],[[24,0,\\\"mt-2\\\"]],[[\\\"@bordered\\\"],[false]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,9],null,[[\\\"@mail\\\"],[[30,0,[\\\"mail\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"flex flex-col justify-center items-center h-full text-center default-text text-xl\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,2],[[30,0,[\\\"dataService\\\",\\\"viewMode\\\"]],2],null],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"item w-full\\\"],[12],[1,\\\"Mutliple Emails selected\\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"item w-full iom-textcolor-b\\\"],[12],[1,\\\"Please select a single Email to use iOMailAssistant\\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,2],[[30,0,[\\\"dataService\\\",\\\"viewMode\\\"]],0],null],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"item w-full\\\"],[12],[1,\\\"No Email selected\\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"item w-full iom-textcolor-b\\\"],[12],[1,\\\"Please select an Email to use iOMailAssistant\\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,2],[[30,0,[\\\"dataService\\\",\\\"viewMode\\\"]],4],null],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"item w-full\\\"],[12],[1,\\\"Not possible\\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"item w-full iom-textcolor-b\\\"],[12],[1,\\\"Currently we can not display iOMailAssistant for Missive here or\\\\n            the history is not loaded. Please scroll up and click on refresh to try again\\\"],[13],[1,\\\"\\\\n        \\\"]],[]],null]],[]]]],[]]],[1,\\\"    \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[41,[28,[37,10],[[30,0,[\\\"mail\\\",\\\"searchMode\\\"]],0],null],[[[1,\\\"    \\\"],[8,[39,11],null,[[\\\"@mail\\\"],[[30,0,[\\\"mail\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[13]],[],false,[\\\"div\\\",\\\"if\\\",\\\"eq\\\",\\\"and\\\",\\\"main/body/section\\\",\\\"main/body/banner/conversation\\\",\\\"main/body/button/email\\\",\\\"main/body/pool-section\\\",\\\"main/body/attachment-section\\\",\\\"main/body/other-section\\\",\\\"gt\\\",\\\"main/body/search\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body.hbs\",\n    \"isStrictMode\": false\n  });\n  let MainBodyComponent = _exports.default = (_class = class MainBodyComponent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"dataService\", _descriptor, this);\n    }\n    get mail() {\n      return this.dataService.mail;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"dataService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MainBodyComponent);\n});","define(\"io-mail-assistant/components/main/body/attachment-section\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex flex-col items-center gap-2\" ...attributes>\n    <div class=\"flex items-center relative justify-center w-full gap-1\">\n      <div class=\"flex-1\"></div>\n      <Main::Body::HeadLabel class=\"flex-1 text-center\" @text={{@title}} />\n      <button class=\"text-io-orange text-sm flex-1 truncate text-right\" type=\"button\" {{on \"click\"\n      @pool.showAll}} title=\"\">\n        {{#unless @pool.showMoreIsHidden}}\n        {{#if @pool.isShowingAll}}\n        Hide small\n        {{else}}\n        Show small ({{@pool.hiddenCount}})\n        {{/if}}\n        {{/unless}}\n      </button>\n      <button class=\"text-io-orange text-sm flex-1 truncate text-right {{if @pool.refreshIsHidden \"hidden\" \"\"}}\"\n        type=\"button\" {{on \"click\"\n      @pool.refresh}}>\n        Refresh\n      </button>\n    </div>\n    <div class=\"flex flex-wrap gap-2 py-2 {{if @pool.hasVisible \"\" \"hidden\"}}\">\n      {{#each @pool.visible as |obj|}}\n      <Main::Body::Button::Attachment @attachment={{obj}} @action={{fn obj.addOrRemoveDaylite @pool.mail}}\n        @mail={{@pool.mail}} @openAction={{obj.openAction}} />\n      {{/each}}\n    </div>\n    <div class=\"flex w-full justify-center {{if @pool.addAllIsHidden \"hidden\" \"\"}}\">\n      <button class=\"text-io-orange\" type=\"button\" {{on \"click\"\n      @pool.addAll}}>Add all</button>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"/ASwiNLJ\",\n    \"block\": \"[[[11,0],[24,0,\\\"flex flex-col items-center gap-2\\\"],[17,1],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex items-center relative justify-center w-full gap-1\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex-1\\\"],[12],[13],[1,\\\"\\\\n    \\\"],[8,[39,1],[[24,0,\\\"flex-1 text-center\\\"]],[[\\\"@text\\\"],[[30,2]]],null],[1,\\\"\\\\n    \\\"],[11,\\\"button\\\"],[24,0,\\\"text-io-orange text-sm flex-1 truncate text-right\\\"],[24,\\\"title\\\",\\\"\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,3,[\\\"showAll\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[51,[30,3,[\\\"showMoreIsHidden\\\"]]],[[[41,[30,3,[\\\"isShowingAll\\\"]],[[[1,\\\"      Hide small\\\\n\\\"]],[]],[[[1,\\\"      Show small (\\\"],[1,[30,3,[\\\"hiddenCount\\\"]]],[1,\\\")\\\\n\\\"]],[]]]],[]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n    \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"text-io-orange text-sm flex-1 truncate text-right \\\",[52,[30,3,[\\\"refreshIsHidden\\\"]],\\\"hidden\\\",\\\"\\\"]]]],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,3,[\\\"refresh\\\"]]],null],[12],[1,\\\"\\\\n      Refresh\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[15,0,[29,[\\\"flex flex-wrap gap-2 py-2 \\\",[52,[30,3,[\\\"hasVisible\\\"]],\\\"\\\",\\\"hidden\\\"]]]],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,3,[\\\"visible\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[8,[39,8],null,[[\\\"@attachment\\\",\\\"@action\\\",\\\"@mail\\\",\\\"@openAction\\\"],[[30,4],[28,[37,9],[[30,4,[\\\"addOrRemoveDaylite\\\"]],[30,3,[\\\"mail\\\"]]],null],[30,3,[\\\"mail\\\"]],[30,4,[\\\"openAction\\\"]]]],null],[1,\\\"\\\\n\\\"]],[4]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[15,0,[29,[\\\"flex w-full justify-center \\\",[52,[30,3,[\\\"addAllIsHidden\\\"]],\\\"hidden\\\",\\\"\\\"]]]],[12],[1,\\\"\\\\n    \\\"],[11,\\\"button\\\"],[24,0,\\\"text-io-orange\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,3,[\\\"addAll\\\"]]],null],[12],[1,\\\"Add all\\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@title\\\",\\\"@pool\\\",\\\"obj\\\"],false,[\\\"div\\\",\\\"main/body/head-label\\\",\\\"button\\\",\\\"on\\\",\\\"unless\\\",\\\"if\\\",\\\"each\\\",\\\"-track-array\\\",\\\"main/body/button/attachment\\\",\\\"fn\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/attachment-section.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/banner/conversation\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <span class=\"\">Conversation in Daylite ( {{@mail.conversationImportedMailsCount}} of {{@mail.foreign.messageCount}}\n    messages imported)</span>\n  */\n  {\n    \"id\": \"3DpXIpKa\",\n    \"block\": \"[[[10,1],[14,0,\\\"\\\"],[12],[1,\\\"Conversation in Daylite ( \\\"],[1,[30,1,[\\\"conversationImportedMailsCount\\\"]]],[1,\\\" of \\\"],[1,[30,1,[\\\"foreign\\\",\\\"messageCount\\\"]]],[1,\\\"\\\\n  messages imported)\\\"],[13]],[\\\"@mail\\\"],false,[\\\"span\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/banner/conversation.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/button/attachment\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <button class=\"flex flex-col justify-center w-20 h-content relative {{if @attachment.hidden \"hidden\" \"\"}}\" type=\"button\"\n    {{on \"click\" @action}} disabled={{if @attachment.isLoading \"true\" @mail.isLoading}} title={{@attachment.tooltip}}>\n    {{#if @attachment.isLoading}}\n    <div class=\"z-999 absolute flex h-full items-center justify-center w-full\">\n      <div class=\"flex flex-col text-io-orange\">\n        <FaIcon class=\"animate-spin h-8 w-8\" @icon=\"spinner-third\" @prefix=\"fas\" @size={{2}} />\n      </div>\n    </div>\n    {{/if}}\n    <div\n      class=\"relative file flex m-auto {{if @attachment.isOutlook \"outlook\" \"\"}} {{if @attachment.isAddingToDaylite \"opacity-50\" \"\"}}\"\n      data-ext={{@attachment.extension}}>\n      <svg class=\"h-14 file-shadow\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 300 300\">\n        <g id=\"ebene3\" data-name=\"Ebene 3\" fill=\"white\">\n          <path class=\"text-white\"\n            d=\"M261.099,75.6012V281.5784a13.861,13.861,0,0,1-13.8509,13.873H63.96a13.861,13.861,0,0,1-13.8509-13.873V17.0346A13.8633,13.8633,0,0,1,63.96,3.1588H183.7308Z\" />\n        </g>\n        <g id=\"Ebene_9\" data-name=\"Ebene 9\" fill=\"{{@attachment.mediaTypeColorHex}}\">\n          <polygon class=\"{{@attachment.mediaTypeColor}}\"\n            points=\"21.319 130.579 50.109 151.358 49.954 127.384 21.319 130.579\" />\n        </g>\n        <g id=\"Ebene_10\" data-name=\"Ebene 10\" fill=\"{{@attachment.mediaTypeColorHex}}\">\n          <path class=\"{{@attachment.mediaTypeColor}}\"\n            d=\"M23.9031,61.3316H155.6959a5.7518,5.7518,0,0,1,5.7518,5.7518V125.44a5.7517,5.7517,0,0,1-5.7517,5.7517H23.9031a5.7517,5.7517,0,0,1-5.7517-5.7517V67.0833A5.7517,5.7517,0,0,1,23.9031,61.3316Z\" />\n        </g>\n        <g id=\"Ebene_8\" data-name=\"Ebene 8\" fill=\"{{@attachment.mediaTypeColorHex}}\">\n          <rect class=\"{{@attachment.mediaTypeColor}}\" x=\"89.1153\" y=\"259.5803\" width=\"132.9775\" height=\"11.4818\" />\n        </g>\n        <g id=\"Ebene_7\" data-name=\"Ebene 7\" fill=\"{{@attachment.mediaTypeColorHex}}\">\n          <rect class=\"{{@attachment.mediaTypeColor}}\" x=\"89.1153\" y=\"233.1218\" width=\"132.9775\" height=\"11.4818\" />\n        </g>\n        <g id=\"Ebene_6\" data-name=\"Ebene 6\" fill=\"{{@attachment.mediaTypeColorHex}}\">\n          <rect class=\"{{@attachment.mediaTypeColor}}\" x=\"89.1153\" y=\"206.6634\" width=\"132.9775\" height=\"11.4818\" />\n        </g>\n        <g id=\"Ebene_5\" data-name=\"Ebene 5\" fill=\"{{@attachment.mediaTypeColorHex}}\">\n          <rect class=\"{{@attachment.mediaTypeColor}}\" x=\"89.1153\" y=\"180.2049\" width=\"132.9775\" height=\"11.4818\" />\n        </g>\n        <g id=\"Ebene_4\" data-name=\"Ebene 4\" fill=\"{{@attachment.mediaTypeColorHex}}\">\n          <rect class=\"{{@attachment.mediaTypeColor}}\" x=\"89.1153\" y=\"153.7465\" width=\"132.9775\" height=\"11.4818\" />\n        </g>\n        <g id=\"Ebene_2\" data-name=\"Ebene 2\" fill=\"{{@attachment.mediaTypeColorHex}}\">\n          <path class=\"{{@attachment.mediaTypeColor}}\"\n            d=\"M261.099,75.6013v2.1443H192.1728a9.5392,9.5392,0,0,1-9.5294-9.5474V3.1588h1.0874Z\" />\n        </g>\n      </svg>\n    </div>\n    <div class=\"flex items-center justify-center pt-1\">\n      <div class=\"{{if @attachment.showAsAdded \"\" \"hidden\"}} flex items-center pr-0.5 pt-0.5\">\n        <div class=\"rounded-full bg-green-500 h-4 w-4 flex items-center justify-center self-center\">\n          <FaIcon class=\"h-3 w-3 text-white self-center\" @icon=\"check\" @prefix=\"fas\" @size={{2}} />\n        </div>\n      </div>\n      <div class=\"{{if @attachment.hasError \"\" \"hidden\"}} flex items-center pr-0.5 pt-0.5\">\n        <div class=\"rounded-full bg-red-500 h-4 w-4 flex items-center justify-center self-center\">\n          <FaIcon class=\"h-3 w-3 text-white self-center\" @icon=\"xmark\" @prefix=\"fas\" @size={{2}} />\n        </div>\n      </div>\n      <span\n        class=\"truncate {{if @attachment.hasErrorOrIsInDaylite \"max-w-16 \" \"max-w-20\"}} {{if @attachment.isLoading \"opacity-50\" \"\"}}\">{{@attachment.filename}}</span>\n    </div>\n  </button>\n  */\n  {\n    \"id\": \"UG3ljx8F\",\n    \"block\": \"[[[11,\\\"button\\\"],[16,0,[29,[\\\"flex flex-col justify-center w-20 h-content relative \\\",[52,[30,1,[\\\"hidden\\\"]],\\\"hidden\\\",\\\"\\\"]]]],[16,\\\"disabled\\\",[52,[30,1,[\\\"isLoading\\\"]],\\\"true\\\",[30,2,[\\\"isLoading\\\"]]]],[16,\\\"title\\\",[30,1,[\\\"tooltip\\\"]]],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,3]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,1,[\\\"isLoading\\\"]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"z-999 absolute flex h-full items-center justify-center w-full\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex flex-col text-io-orange\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,4],[[24,0,\\\"animate-spin h-8 w-8\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"spinner-third\\\",\\\"fas\\\",2]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[10,0],[15,0,[29,[\\\"relative file flex m-auto \\\",[52,[30,1,[\\\"isOutlook\\\"]],\\\"outlook\\\",\\\"\\\"],\\\" \\\",[52,[30,1,[\\\"isAddingToDaylite\\\"]],\\\"opacity-50\\\",\\\"\\\"]]]],[15,\\\"data-ext\\\",[30,1,[\\\"extension\\\"]]],[12],[1,\\\"\\\\n    \\\"],[10,\\\"svg\\\"],[14,0,\\\"h-14 file-shadow\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"viewBox\\\",\\\"0 0 300 300\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"g\\\"],[14,1,\\\"ebene3\\\"],[14,\\\"data-name\\\",\\\"Ebene 3\\\"],[14,\\\"fill\\\",\\\"white\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"path\\\"],[14,0,\\\"text-white\\\"],[14,\\\"d\\\",\\\"M261.099,75.6012V281.5784a13.861,13.861,0,0,1-13.8509,13.873H63.96a13.861,13.861,0,0,1-13.8509-13.873V17.0346A13.8633,13.8633,0,0,1,63.96,3.1588H183.7308Z\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"g\\\"],[14,1,\\\"Ebene_9\\\"],[14,\\\"data-name\\\",\\\"Ebene 9\\\"],[15,\\\"fill\\\",[29,[[30,1,[\\\"mediaTypeColorHex\\\"]]]]],[12],[1,\\\"\\\\n        \\\"],[10,\\\"polygon\\\"],[15,0,[29,[[30,1,[\\\"mediaTypeColor\\\"]]]]],[14,\\\"points\\\",\\\"21.319 130.579 50.109 151.358 49.954 127.384 21.319 130.579\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"g\\\"],[14,1,\\\"Ebene_10\\\"],[14,\\\"data-name\\\",\\\"Ebene 10\\\"],[15,\\\"fill\\\",[29,[[30,1,[\\\"mediaTypeColorHex\\\"]]]]],[12],[1,\\\"\\\\n        \\\"],[10,\\\"path\\\"],[15,0,[29,[[30,1,[\\\"mediaTypeColor\\\"]]]]],[14,\\\"d\\\",\\\"M23.9031,61.3316H155.6959a5.7518,5.7518,0,0,1,5.7518,5.7518V125.44a5.7517,5.7517,0,0,1-5.7517,5.7517H23.9031a5.7517,5.7517,0,0,1-5.7517-5.7517V67.0833A5.7517,5.7517,0,0,1,23.9031,61.3316Z\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"g\\\"],[14,1,\\\"Ebene_8\\\"],[14,\\\"data-name\\\",\\\"Ebene 8\\\"],[15,\\\"fill\\\",[29,[[30,1,[\\\"mediaTypeColorHex\\\"]]]]],[12],[1,\\\"\\\\n        \\\"],[10,\\\"rect\\\"],[15,0,[29,[[30,1,[\\\"mediaTypeColor\\\"]]]]],[14,\\\"x\\\",\\\"89.1153\\\"],[14,\\\"y\\\",\\\"259.5803\\\"],[14,\\\"width\\\",\\\"132.9775\\\"],[14,\\\"height\\\",\\\"11.4818\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"g\\\"],[14,1,\\\"Ebene_7\\\"],[14,\\\"data-name\\\",\\\"Ebene 7\\\"],[15,\\\"fill\\\",[29,[[30,1,[\\\"mediaTypeColorHex\\\"]]]]],[12],[1,\\\"\\\\n        \\\"],[10,\\\"rect\\\"],[15,0,[29,[[30,1,[\\\"mediaTypeColor\\\"]]]]],[14,\\\"x\\\",\\\"89.1153\\\"],[14,\\\"y\\\",\\\"233.1218\\\"],[14,\\\"width\\\",\\\"132.9775\\\"],[14,\\\"height\\\",\\\"11.4818\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"g\\\"],[14,1,\\\"Ebene_6\\\"],[14,\\\"data-name\\\",\\\"Ebene 6\\\"],[15,\\\"fill\\\",[29,[[30,1,[\\\"mediaTypeColorHex\\\"]]]]],[12],[1,\\\"\\\\n        \\\"],[10,\\\"rect\\\"],[15,0,[29,[[30,1,[\\\"mediaTypeColor\\\"]]]]],[14,\\\"x\\\",\\\"89.1153\\\"],[14,\\\"y\\\",\\\"206.6634\\\"],[14,\\\"width\\\",\\\"132.9775\\\"],[14,\\\"height\\\",\\\"11.4818\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"g\\\"],[14,1,\\\"Ebene_5\\\"],[14,\\\"data-name\\\",\\\"Ebene 5\\\"],[15,\\\"fill\\\",[29,[[30,1,[\\\"mediaTypeColorHex\\\"]]]]],[12],[1,\\\"\\\\n        \\\"],[10,\\\"rect\\\"],[15,0,[29,[[30,1,[\\\"mediaTypeColor\\\"]]]]],[14,\\\"x\\\",\\\"89.1153\\\"],[14,\\\"y\\\",\\\"180.2049\\\"],[14,\\\"width\\\",\\\"132.9775\\\"],[14,\\\"height\\\",\\\"11.4818\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"g\\\"],[14,1,\\\"Ebene_4\\\"],[14,\\\"data-name\\\",\\\"Ebene 4\\\"],[15,\\\"fill\\\",[29,[[30,1,[\\\"mediaTypeColorHex\\\"]]]]],[12],[1,\\\"\\\\n        \\\"],[10,\\\"rect\\\"],[15,0,[29,[[30,1,[\\\"mediaTypeColor\\\"]]]]],[14,\\\"x\\\",\\\"89.1153\\\"],[14,\\\"y\\\",\\\"153.7465\\\"],[14,\\\"width\\\",\\\"132.9775\\\"],[14,\\\"height\\\",\\\"11.4818\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"g\\\"],[14,1,\\\"Ebene_2\\\"],[14,\\\"data-name\\\",\\\"Ebene 2\\\"],[15,\\\"fill\\\",[29,[[30,1,[\\\"mediaTypeColorHex\\\"]]]]],[12],[1,\\\"\\\\n        \\\"],[10,\\\"path\\\"],[15,0,[29,[[30,1,[\\\"mediaTypeColor\\\"]]]]],[14,\\\"d\\\",\\\"M261.099,75.6013v2.1443H192.1728a9.5392,9.5392,0,0,1-9.5294-9.5474V3.1588h1.0874Z\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex items-center justify-center pt-1\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[15,0,[29,[[52,[30,1,[\\\"showAsAdded\\\"]],\\\"\\\",\\\"hidden\\\"],\\\" flex items-center pr-0.5 pt-0.5\\\"]]],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"rounded-full bg-green-500 h-4 w-4 flex items-center justify-center self-center\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,4],[[24,0,\\\"h-3 w-3 text-white self-center\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"check\\\",\\\"fas\\\",2]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,0],[15,0,[29,[[52,[30,1,[\\\"hasError\\\"]],\\\"\\\",\\\"hidden\\\"],\\\" flex items-center pr-0.5 pt-0.5\\\"]]],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"rounded-full bg-red-500 h-4 w-4 flex items-center justify-center self-center\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,4],[[24,0,\\\"h-3 w-3 text-white self-center\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"xmark\\\",\\\"fas\\\",2]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,1],[15,0,[29,[\\\"truncate \\\",[52,[30,1,[\\\"hasErrorOrIsInDaylite\\\"]],\\\"max-w-16 \\\",\\\"max-w-20\\\"],\\\" \\\",[52,[30,1,[\\\"isLoading\\\"]],\\\"opacity-50\\\",\\\"\\\"]]]],[12],[1,[30,1,[\\\"filename\\\"]]],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@attachment\\\",\\\"@mail\\\",\\\"@action\\\"],false,[\\\"button\\\",\\\"if\\\",\\\"on\\\",\\\"div\\\",\\\"fa-icon\\\",\\\"svg\\\",\\\"g\\\",\\\"path\\\",\\\"polygon\\\",\\\"rect\\\",\\\"span\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/button/attachment.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/button/create\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <button type=\"button\"\n    class=\"rounded-md border iom-border-light-color flex flex-row items-center justify-center iom-textcolor-b h-7 w-7 p-1\"\n    {{on \"click\" @action}} title={{@tooltip}}>\n    <FaIcon class=\"w-1.5 h-1.5 pr-0.5\" @icon=\"plus\" @prefix=\"fas\" @size={{2}} />\n    <FaIcon class=\"w-4\" @icon={{@icon}} @prefix=\"fas\" @size={{2}} />\n  </button>\n  */\n  {\n    \"id\": \"syMa+N4X\",\n    \"block\": \"[[[11,\\\"button\\\"],[24,0,\\\"rounded-md border iom-border-light-color flex flex-row items-center justify-center iom-textcolor-b h-7 w-7 p-1\\\"],[16,\\\"title\\\",[30,1]],[24,4,\\\"button\\\"],[4,[38,1],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n  \\\"],[8,[39,2],[[24,0,\\\"w-1.5 h-1.5 pr-0.5\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"plus\\\",\\\"fas\\\",2]],null],[1,\\\"\\\\n  \\\"],[8,[39,2],[[24,0,\\\"w-4\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[[30,3],\\\"fas\\\",2]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@tooltip\\\",\\\"@action\\\",\\\"@icon\\\"],false,[\\\"button\\\",\\\"on\\\",\\\"fa-icon\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/button/create.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/button/email\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex justify-start items-start\">\n    <div class=\"flex gap-2 w-full\">\n      <button class=\"flex items-center gap-2 flex-grow\" disabled={{@isLoading}} type=\"button\" {{on \"click\" @action}}>\n        <FaIcon class=\"ml-2 {{if @isLoading \" animate-spin\" \"\" }} h-5 w-5 {{if @isLoading \"text-green-500\" (if\n          @state \"text-green-500\" \"text-gray-500\")}}\" @icon={{if @isLoading \"spinner-third\" \"check\" }} @prefix=\"fad\"\n          @size={{2}} />\n        <span class=\"truncate align-middle text-sm\">\n          {{#if @isDraft}}\n          {{#if @state}}\n          Will be automatically added\n          {{else}}\n          Will not be automatically added\n          {{/if}}\n          {{else}}\n          In Daylite\n          {{/if}}\n        </span>\n      </button>\n      {{#unless @isDraft}}\n      <Main::Body::Button::Open @image={{path \"/assets/images/ioweb.png\" }} @state={{@state}} @action={{@action}}\n        @icon=\"chevron-right\" @color=\"text-ioweb\" @showImage={{true}} @openAction={{fn @openAction 'web' }}\n        @tooltip=\"Open in iOWeb\" />\n      {{#if @showDayliteButton}}\n      <Main::Body::Button::Open @image={{if this.isDarkmode (path \"/assets/images/daylite-full-darkmode.png\" )\n          (path \"/assets/images/daylite-full.png\" )}} @state={{@state}} @action={{@action}} @icon=\"chevrons-right\"\n        @color=\"text-daylite\" @showImage={{true}} @openAction={{fn @openAction 'daylite' }} @tooltip=\"Open in Daylite\" />\n      {{/if}}\n      {{/unless}}\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"KlG3alha\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex justify-start items-start\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex gap-2 w-full\\\"],[12],[1,\\\"\\\\n    \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center gap-2 flex-grow\\\"],[16,\\\"disabled\\\",[30,1]],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n      \\\"],[8,[39,3],[[16,0,[29,[\\\"ml-2 \\\",[52,[30,1],\\\" animate-spin\\\",\\\"\\\"],\\\" h-5 w-5 \\\",[52,[30,1],\\\"text-green-500\\\",[52,[30,3],\\\"text-green-500\\\",\\\"text-gray-500\\\"]]]]]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[[52,[30,1],\\\"spinner-third\\\",\\\"check\\\"],\\\"fad\\\",2]],null],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"truncate align-middle text-sm\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,4],[[[41,[30,3],[[[1,\\\"        Will be automatically added\\\\n\\\"]],[]],[[[1,\\\"        Will not be automatically added\\\\n\\\"]],[]]]],[]],[[[1,\\\"        In Daylite\\\\n\\\"]],[]]],[1,\\\"      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"],[41,[51,[30,4]],[[[1,\\\"    \\\"],[8,[39,7],null,[[\\\"@image\\\",\\\"@state\\\",\\\"@action\\\",\\\"@icon\\\",\\\"@color\\\",\\\"@showImage\\\",\\\"@openAction\\\",\\\"@tooltip\\\"],[[28,[37,8],[\\\"/assets/images/ioweb.png\\\"],null],[30,3],[30,2],\\\"chevron-right\\\",\\\"text-ioweb\\\",true,[28,[37,9],[[30,5],\\\"web\\\"],null],\\\"Open in iOWeb\\\"]],null],[1,\\\"\\\\n\\\"],[41,[30,6],[[[1,\\\"    \\\"],[8,[39,7],null,[[\\\"@image\\\",\\\"@state\\\",\\\"@action\\\",\\\"@icon\\\",\\\"@color\\\",\\\"@showImage\\\",\\\"@openAction\\\",\\\"@tooltip\\\"],[[52,[30,0,[\\\"isDarkmode\\\"]],[28,[37,8],[\\\"/assets/images/daylite-full-darkmode.png\\\"],null],[28,[37,8],[\\\"/assets/images/daylite-full.png\\\"],null]],[30,3],[30,2],\\\"chevrons-right\\\",\\\"text-daylite\\\",true,[28,[37,9],[[30,5],\\\"daylite\\\"],null],\\\"Open in Daylite\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@isLoading\\\",\\\"@action\\\",\\\"@state\\\",\\\"@isDraft\\\",\\\"@openAction\\\",\\\"@showDayliteButton\\\"],false,[\\\"div\\\",\\\"button\\\",\\\"on\\\",\\\"fa-icon\\\",\\\"if\\\",\\\"span\\\",\\\"unless\\\",\\\"main/body/button/open\\\",\\\"path\\\",\\\"fn\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/button/email.hbs\",\n    \"isStrictMode\": false\n  });\n  class MainBodyButtonEmailComponent extends _component2.default {\n    get isDarkmode() {\n      return document.documentElement.dataset.theme == 'dark';\n    }\n  }\n  _exports.default = MainBodyButtonEmailComponent;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MainBodyButtonEmailComponent);\n});","define(\"io-mail-assistant/components/main/body/button/extended\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex iom-textcolor-d gap-1 max-w-full\">\n    <div class=\"border flex items-center gap-2 font-medium relative truncate rounded-md iom-border-light-color\">\n      <button class=\"z-10 truncate mr-1.5\" disabled={{@mail.isLoading}} type=\"button\"\n        {{on \"click\" (fn this.doSingleClick this)}} title={{if @tooltip @tooltip\n        @text}}>\n        <FaIcon class=\"ml-2 {{if @isLoading \" animate-spin text-green-500\" \"iom-textcolor-d\" }} w-3\" @icon={{if\n          @isLoading \"spinner-third\" @icon}} @prefix=\"fas\" @size={{2}} />\n        <span class=\"truncate iom-textcolor-d\">{{@text}}</span>\n      </button>\n    </div>\n    <div class=\"flex items-center gap-1\">\n      {{#if @canOpenWeb}}\n      <Main::Body::Button::Open @state={{true}} @action={{@action}} @icon=\"chevron-right\" @color=\"text-ioweb\"\n        @showImage={{false}} @openAction={{fn @openAction 'web' }} @tooltip=\"Open in iOWeb\" />\n      {{/if}}\n      {{#if @canOpenDaylite}}\n      <Main::Body::Button::Open @state={{true}} @action={{@action}} @icon=\"chevrons-right\" @color=\"text-daylite\"\n        @showImage={{false}} @openAction={{fn @openAction 'daylite' }} @tooltip=\"Open in Daylite\" />\n      {{/if}}\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"wY2Z4FHr\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex iom-textcolor-d gap-1 max-w-full\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"border flex items-center gap-2 font-medium relative truncate rounded-md iom-border-light-color\\\"],[12],[1,\\\"\\\\n    \\\"],[11,\\\"button\\\"],[24,0,\\\"z-10 truncate mr-1.5\\\"],[16,\\\"disabled\\\",[30,1,[\\\"isLoading\\\"]]],[16,\\\"title\\\",[52,[30,2],[30,2],[30,3]]],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"doSingleClick\\\"]],[30,0]],null]],null],[12],[1,\\\"\\\\n      \\\"],[8,[39,5],[[16,0,[29,[\\\"ml-2 \\\",[52,[30,4],\\\" animate-spin text-green-500\\\",\\\"iom-textcolor-d\\\"],\\\" w-3\\\"]]]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[[52,[30,4],\\\"spinner-third\\\",[30,5]],\\\"fas\\\",2]],null],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"truncate iom-textcolor-d\\\"],[12],[1,[30,3]],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex items-center gap-1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,6],[[[1,\\\"    \\\"],[8,[39,7],null,[[\\\"@state\\\",\\\"@action\\\",\\\"@icon\\\",\\\"@color\\\",\\\"@showImage\\\",\\\"@openAction\\\",\\\"@tooltip\\\"],[true,[30,7],\\\"chevron-right\\\",\\\"text-ioweb\\\",false,[28,[37,4],[[30,8],\\\"web\\\"],null],\\\"Open in iOWeb\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,9],[[[1,\\\"    \\\"],[8,[39,7],null,[[\\\"@state\\\",\\\"@action\\\",\\\"@icon\\\",\\\"@color\\\",\\\"@showImage\\\",\\\"@openAction\\\",\\\"@tooltip\\\"],[true,[30,7],\\\"chevrons-right\\\",\\\"text-daylite\\\",false,[28,[37,4],[[30,8],\\\"daylite\\\"],null],\\\"Open in Daylite\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@mail\\\",\\\"@tooltip\\\",\\\"@text\\\",\\\"@isLoading\\\",\\\"@icon\\\",\\\"@canOpenWeb\\\",\\\"@action\\\",\\\"@openAction\\\",\\\"@canOpenDaylite\\\"],false,[\\\"div\\\",\\\"button\\\",\\\"if\\\",\\\"on\\\",\\\"fn\\\",\\\"fa-icon\\\",\\\"span\\\",\\\"main/body/button/open\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/button/extended.hbs\",\n    \"isStrictMode\": false\n  });\n  class MainBodyButtonExtendedComponent extends _component2.default {\n    doSingleClick(_this) {\n      _this.args.action();\n    }\n  }\n  _exports.default = MainBodyButtonExtendedComponent;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MainBodyButtonExtendedComponent);\n});","define(\"io-mail-assistant/components/main/body/button/keyword\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"truncate border rounded-md py-0.5 px-1 text-xs flex flex-inline iom-border-light-color\" title={{@text}}>\n    {{#if @isAddPlaceholder}}\n    <button type=\"button\" class=\"flex items-center justify-center mx-1 iom-textcolor-c shrink-0\" {{on \"click\" (fn\n      @action @mail @text)}} title=\"Add keyword\" disabled={{@mail.isLoading}}>\n      <FaIcon class=\"h-3 w-3\" @icon=\"plus\" @prefix=\"fal\" @size={{2}} />\n      <span class=\"truncate text-xs \">{{@text}}</span>\n    </button>\n    {{else}}\n    <span class=\"truncate iom-textcolor-b\">{{@text}}</span>\n    <button type=\"button\" class=\"flex items-center justify-center mx-1 iom-textcolor-c shrink-0\" {{on \"click\"\n      @action}} title=\"Unlink\" disabled={{@mail.isLoading}}>\n      <FaIcon class=\"h-3 w-3\" @icon=\"xmark\" @prefix=\"fal\" @size={{2}} />\n    </button>\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"2uMR0ANT\",\n    \"block\": \"[[[10,0],[14,0,\\\"truncate border rounded-md py-0.5 px-1 text-xs flex flex-inline iom-border-light-color\\\"],[15,\\\"title\\\",[30,1]],[12],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\"  \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center justify-center mx-1 iom-textcolor-c shrink-0\\\"],[24,\\\"title\\\",\\\"Add keyword\\\"],[16,\\\"disabled\\\",[30,3,[\\\"isLoading\\\"]]],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[28,[37,4],[[30,4],[30,3],[30,1]],null]],null],[12],[1,\\\"\\\\n    \\\"],[8,[39,5],[[24,0,\\\"h-3 w-3\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"plus\\\",\\\"fal\\\",2]],null],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"truncate text-xs \\\"],[12],[1,[30,1]],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[10,1],[14,0,\\\"truncate iom-textcolor-b\\\"],[12],[1,[30,1]],[13],[1,\\\"\\\\n  \\\"],[11,\\\"button\\\"],[24,0,\\\"flex items-center justify-center mx-1 iom-textcolor-c shrink-0\\\"],[24,\\\"title\\\",\\\"Unlink\\\"],[16,\\\"disabled\\\",[30,3,[\\\"isLoading\\\"]]],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[30,4]],null],[12],[1,\\\"\\\\n    \\\"],[8,[39,5],[[24,0,\\\"h-3 w-3\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"xmark\\\",\\\"fal\\\",2]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"@text\\\",\\\"@isAddPlaceholder\\\",\\\"@mail\\\",\\\"@action\\\"],false,[\\\"div\\\",\\\"if\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"fa-icon\\\",\\\"span\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/button/keyword.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/button/linked\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex justify-start iom-textcolor-b gap-1 w-full\">\n    <button class=\"z-10 truncate mr-1.5 flex justify-center items-center gap-1 bg-blue-500 p-1 px-2 rounded-md text-white\"\n      disabled={{@mail.isLoading}} type=\"button\" {{on \"click\" @detailAction}} title={{@text}}>\n      <FaIcon class=\"{{if @isLoading \" animate-spin text-green-500\" \"text-white\" }} h-3 w-3\" @icon={{if\n        @isLoading \"spinner-third\" @icon}} @prefix=\"fas\" @size={{2}} />\n      <span class=\"item truncate align-bottom bold\">{{@text}}</span>\n      <FaIcon class=\"h-3 w-3 text-white\" @icon={{if @object.detailOpen \"chevron-up\" \"chevron-down\" }} @prefix=\"fal\"\n        @size={{2}} />\n    </button>\n    <div class=\"flex flex-row gap-1 items-center justify-center py-1\">\n      {{#if @canOpenWeb}}\n      <Main::Body::Button::Open @state={{true}} @action={{@action}} @icon=\"chevron-right\" @color=\"text-ioweb\"\n        @showImage={{false}} @openAction={{fn @openAction 'web'}} @tooltip=\"Open in iOWeb\" />\n      {{/if}}\n      {{#if @canOpenDaylite}}\n      <Main::Body::Button::Open @state={{true}} @action={{@action}} @icon=\"chevrons-right\" @color=\"text-daylite\"\n        @showImage={{false}} @openAction={{fn @openAction 'daylite'}} @tooltip=\"Open in Daylite\" />\n      {{/if}}\n      <button type=\"button\" class=\"iom-textcolor-b flex items-center justify-center mx-1 iom-textcolor-c\"\n        {{on \"click\" @action}} title=\"Unlink\">\n        <FaIcon class=\"h-3 w-3\" @icon=\"xmark\" @prefix=\"fal\" @size={{2}} />\n      </button>\n    </div>\n  </div>\n  {{#if @object.detailOpen}}\n  <div class=\"flex flex-col justify-start items-start iom-textcolor-b gap-1 w-full px-1 pl-6\">\n    <Main::Body::Detailed @detailModel={{@object.daylite.detailModel}} @mainModel={{@object.daylite}} @mail={{@mail}} />\n  </div>\n  {{/if}}\n  */\n  {\n    \"id\": \"mTKiP3GR\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex justify-start iom-textcolor-b gap-1 w-full\\\"],[12],[1,\\\"\\\\n  \\\"],[11,\\\"button\\\"],[24,0,\\\"z-10 truncate mr-1.5 flex justify-center items-center gap-1 bg-blue-500 p-1 px-2 rounded-md text-white\\\"],[16,\\\"disabled\\\",[30,1,[\\\"isLoading\\\"]]],[16,\\\"title\\\",[30,2]],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,3]],null],[12],[1,\\\"\\\\n    \\\"],[8,[39,3],[[16,0,[29,[[52,[30,4],\\\" animate-spin text-green-500\\\",\\\"text-white\\\"],\\\" h-3 w-3\\\"]]]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[[52,[30,4],\\\"spinner-third\\\",[30,5]],\\\"fas\\\",2]],null],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"item truncate align-bottom bold\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n    \\\"],[8,[39,3],[[24,0,\\\"h-3 w-3 text-white\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[[52,[30,6,[\\\"detailOpen\\\"]],\\\"chevron-up\\\",\\\"chevron-down\\\"],\\\"fal\\\",2]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex flex-row gap-1 items-center justify-center py-1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,7],[[[1,\\\"    \\\"],[8,[39,6],null,[[\\\"@state\\\",\\\"@action\\\",\\\"@icon\\\",\\\"@color\\\",\\\"@showImage\\\",\\\"@openAction\\\",\\\"@tooltip\\\"],[true,[30,8],\\\"chevron-right\\\",\\\"text-ioweb\\\",false,[28,[37,7],[[30,9],\\\"web\\\"],null],\\\"Open in iOWeb\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,10],[[[1,\\\"    \\\"],[8,[39,6],null,[[\\\"@state\\\",\\\"@action\\\",\\\"@icon\\\",\\\"@color\\\",\\\"@showImage\\\",\\\"@openAction\\\",\\\"@tooltip\\\"],[true,[30,8],\\\"chevrons-right\\\",\\\"text-daylite\\\",false,[28,[37,7],[[30,9],\\\"daylite\\\"],null],\\\"Open in Daylite\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"],[11,\\\"button\\\"],[24,0,\\\"iom-textcolor-b flex items-center justify-center mx-1 iom-textcolor-c\\\"],[24,\\\"title\\\",\\\"Unlink\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,8]],null],[12],[1,\\\"\\\\n      \\\"],[8,[39,3],[[24,0,\\\"h-3 w-3\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"xmark\\\",\\\"fal\\\",2]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,6,[\\\"detailOpen\\\"]],[[[10,0],[14,0,\\\"flex flex-col justify-start items-start iom-textcolor-b gap-1 w-full px-1 pl-6\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,8],null,[[\\\"@detailModel\\\",\\\"@mainModel\\\",\\\"@mail\\\"],[[30,6,[\\\"daylite\\\",\\\"detailModel\\\"]],[30,6,[\\\"daylite\\\"]],[30,1]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"@mail\\\",\\\"@text\\\",\\\"@detailAction\\\",\\\"@isLoading\\\",\\\"@icon\\\",\\\"@object\\\",\\\"@canOpenWeb\\\",\\\"@action\\\",\\\"@openAction\\\",\\\"@canOpenDaylite\\\"],false,[\\\"div\\\",\\\"button\\\",\\\"on\\\",\\\"fa-icon\\\",\\\"if\\\",\\\"span\\\",\\\"main/body/button/open\\\",\\\"fn\\\",\\\"main/body/detailed\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/button/linked.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/button/open\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <button type=\"button\"\n    class=\"rounded-md border iom-border-light-color flex flex-row items-center {{if @showImage \"\" \" h-full\"}}\"\n    disabled={{if @state false true}} {{on \"click\" @openAction}} title={{@tooltip}}>\n    {{#if @showImage}}\n    <img class=\"{{if @smallUI \" h-3\" \"w-12\" }} px-0.5 {{if @state \"\" \" filter-gray\" }} hide-less-250px\" src=\"{{@image}}\"\n      alt=\"{{@image}}\" />\n    {{/if}}\n    <div class=\"{{if @showImage \" border-l iom-border-light-color\" \"\" }} flex items-center justify-center\">\n      <FaIcon class=\"mx-1 {{@color}} {{if @showImage (if @smallUI \" w-2 h-2\" \"w-3 h-3\" ) \"w-2 h-2\" }} {{if\n        @state \"\" \"filter-gray\" }}\" @icon={{@icon}} @prefix=\"fas\" @size={{2}} />\n    </div>\n  </button>\n  */\n  {\n    \"id\": \"NPUeqNbd\",\n    \"block\": \"[[[11,\\\"button\\\"],[16,0,[29,[\\\"rounded-md border iom-border-light-color flex flex-row items-center \\\",[52,[30,1],\\\"\\\",\\\" h-full\\\"]]]],[16,\\\"disabled\\\",[52,[30,2],false,true]],[16,\\\"title\\\",[30,3]],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,4]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,1],[[[1,\\\"  \\\"],[10,\\\"img\\\"],[15,0,[29,[[52,[30,5],\\\" h-3\\\",\\\"w-12\\\"],\\\" px-0.5 \\\",[52,[30,2],\\\"\\\",\\\" filter-gray\\\"],\\\" hide-less-250px\\\"]]],[15,\\\"src\\\",[29,[[30,6]]]],[15,\\\"alt\\\",[29,[[30,6]]]],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[10,0],[15,0,[29,[[52,[30,1],\\\" border-l iom-border-light-color\\\",\\\"\\\"],\\\" flex items-center justify-center\\\"]]],[12],[1,\\\"\\\\n    \\\"],[8,[39,5],[[16,0,[29,[\\\"mx-1 \\\",[30,7],\\\" \\\",[52,[30,1],[52,[30,5],\\\" w-2 h-2\\\",\\\"w-3 h-3\\\"],\\\"w-2 h-2\\\"],\\\" \\\",[52,[30,2],\\\"\\\",\\\"filter-gray\\\"]]]]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[[30,8],\\\"fas\\\",2]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@showImage\\\",\\\"@state\\\",\\\"@tooltip\\\",\\\"@openAction\\\",\\\"@smallUI\\\",\\\"@image\\\",\\\"@color\\\",\\\"@icon\\\"],false,[\\\"button\\\",\\\"if\\\",\\\"on\\\",\\\"img\\\",\\\"div\\\",\\\"fa-icon\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/button/open.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/button/popup-search\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"item truncate\">\n    <button class=\"bg-transparent items-center flex flex-inline gap-1 max-w-full\" type=\"button\" {{on \"click\" @action}}\n      title={{@tooltip}}>\n      <span class=\"block h-3 w-3 rounded-full mr-1 shrink-0\" style={{@iconInlineStyle}}></span>\n      <span class=\"truncate\">{{@text}}</span>\n      <FaIcon @icon=\"chevron-down\" @prefix=\"fal\" class=\"w-2\" />\n    </button>\n  </div>\n  */\n  {\n    \"id\": \"gwYeNXUj\",\n    \"block\": \"[[[10,0],[14,0,\\\"item truncate\\\"],[12],[1,\\\"\\\\n  \\\"],[11,\\\"button\\\"],[24,0,\\\"bg-transparent items-center flex flex-inline gap-1 max-w-full\\\"],[16,\\\"title\\\",[30,1]],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"block h-3 w-3 rounded-full mr-1 shrink-0\\\"],[15,5,[30,3]],[12],[13],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"truncate\\\"],[12],[1,[30,4]],[13],[1,\\\"\\\\n    \\\"],[8,[39,4],[[24,0,\\\"w-2\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\"],[\\\"chevron-down\\\",\\\"fal\\\"]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@tooltip\\\",\\\"@action\\\",\\\"@iconInlineStyle\\\",\\\"@text\\\"],false,[\\\"div\\\",\\\"button\\\",\\\"on\\\",\\\"span\\\",\\\"fa-icon\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/button/popup-search.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/button/simple\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <Main::Body::Button::Extended @text={{@text}} @tooltip={{@tooltip}} @icon={{@icon}} @action={{@action}}\n    @isLoading={{@isLoading}} @canOpenWeb={{@canOpenWeb}} @mail={{@mail}} @canOpenDaylite={{@canOpenDaylite}}\n    @openAction={{@openAction}} />\n  */\n  {\n    \"id\": \"GwgSvxLv\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@text\\\",\\\"@tooltip\\\",\\\"@icon\\\",\\\"@action\\\",\\\"@isLoading\\\",\\\"@canOpenWeb\\\",\\\"@mail\\\",\\\"@canOpenDaylite\\\",\\\"@openAction\\\"],[[30,1],[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],[30,9]]],null]],[\\\"@text\\\",\\\"@tooltip\\\",\\\"@icon\\\",\\\"@action\\\",\\\"@isLoading\\\",\\\"@canOpenWeb\\\",\\\"@mail\\\",\\\"@canOpenDaylite\\\",\\\"@openAction\\\"],false,[\\\"main/body/button/extended\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/button/simple.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/detailed\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @mainModel.isLoadingDetailModel}}\n  <Main::Body::Detailed::Row>\n    <FaIcon @icon=\"spinner-third\" @prefix=\"fal\" class=\"\" @size={{2}} @spin={{true}} />\n    <span>Is loading...</span>\n  </Main::Body::Detailed::Row>\n  {{else}}\n  {{!-- Name --}}\n  {{#if @detailModel.unifiedName}}\n  <Main::Body::Detailed::Row @alignTop={{true}}>\n    <Main::Body::Detailed::Single @title=\"Name\" @icon=\"pen-circle\" @iconCSS=\"pt-1\" @line={{@detailModel.unifiedName}}\n      @multiLine={{true}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- Category --}}\n  {{#if @detailModel.categoryName}}\n  <Main::Body::Detailed::Row class=\"items-start\">\n    <Main::Body::Detailed::Single @title=\"Category\" @icon=\"circle\" @iconInlineStyle={{@detailModel.htmlSafeCategoryColor}}\n      @line={{@detailModel.categoryName}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- Type --}}\n  {{#if @detailModel.type}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Type\" @icon=\"flag\" @line={{if @detailModel.useTypeFormatter\n      (daylite-type-formatter @detailModel.type entity=@detailModel.entity) @detailModel.type}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- Industry --}}\n  {{#if @detailModel.industry}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Industry\" @icon=\"industry\" @line={{@detailModel.industry}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- state --}}\n  {{#if @detailModel.state}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"State\" @icon=\"traffic-light\" @line={{daylite-status-formatter @detailModel.state\n      entity=@detailModel.entity }} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- status --}}\n  {{#if @detailModel.status}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Status\" @icon=\"traffic-light\" @line={{daylite-status-formatter\n      @detailModel.status entity=@detailModel.entity}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- Show as --}}\n  {{#if @detailModel.showAs}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Show as\" @icon=\"ban\" @line={{appointment-show-as-formatter\n      @detailModel.showAs}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- probability --}}\n  {{#if @detailModel.probability}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Probability\" @icon=\"badge-percent\" @line={{percent-formatter\n      @detailModel.probability}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- unifiedDueDate --}}\n  {{#if @detailModel.unifiedDueDate}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Due date\" @icon=\"flag-checkered\" @line={{iso8601-date-formatter\n      @detailModel.unifiedDueDate}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- unifiedStartDate --}}\n  {{#if @detailModel.unifiedStartDate}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Start date\" @icon=\"clock\" @line={{iso8601-date-formatter\n      @detailModel.unifiedStartDate}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- unifiedEndDate --}}\n  {{#if @detailModel.unifiedEndDate}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"End date\" @icon=\"do-not-enter\" @line={{iso8601-date-formatter\n      @detailModel.unifiedEndDate}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- unifiedStartDate --}}\n  {{#if @detailModel.unifiedStartDateTime}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Start\" @icon=\"clock\" @line={{iso8601-date-formatter\n      @detailModel.unifiedStartDateTime true}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- unifiedEndDate --}}\n  {{#if @detailModel.unifiedEndDateTime}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"End\" @icon=\"do-not-enter\" @line={{iso8601-date-formatter\n      @detailModel.unifiedEndDateTime true}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- priority --}}\n  {{#if @detailModel.priority}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Priority\" @icon=\"chevrons-up\" @line={{priority-formatter\n      @detailModel.priority}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- estimatedTime --}}\n  {{#if @detailModel.estimatedTime}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Estimated time\" @icon=\"stopwatch\" @line={{duration-formatter\n      @detailModel.estimatedTime}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- Address --}}\n  {{#if @detailModel.defaultAddress}}\n  <Main::Body::Detailed::Row class=\"items-start\" @alignTop={{true}}>\n    <Main::Body::Detailed::Array @title=\"Default address\" @icon=\"house\"\n      @lines={{@detailModel.formattedDefaultAddressComponents}} @openAction={{@detailModel.openAddress}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- Default Phone --}}\n  {{#if @detailModel.defaultPhone}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Default phone\" @icon=\"phone\" @line={{@detailModel.defaultPhone.number}}\n      @openAction={{@detailModel.openPhone}} />\n    {{#if @mail.dataService.isRunningMacOS}}\n    <Main::Body::Button::Open @image={{path \"/assets/images/daylite.png\" }} @state={{true}} @icon=\"chevrons-right\"\n      @color=\"text-daylite\" @showImage={{true}} @openAction={{@detailModel.openPhoneDaylite}} @tooltip=\"Open in Fone&Text\"\n      @smallUI={{true}} />\n    {{/if}}\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- Secondary Phone --}}\n  {{#if @detailModel.secondaryPhone}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Secondary phone\" @icon=\"phone\" @iconCSS=\"iom-textcolor-d\"\n      @line={{@detailModel.secondaryPhone.number}} @openAction={{@detailModel.openPhone2}} />\n    {{#if @mail.dataService.isRunningMacOS}}\n    <Main::Body::Button::Open @image={{path \"/assets/images/daylite.png\" }} @state={{true}} @icon=\"chevrons-right\"\n      @color=\"text-daylite\" @showImage={{true}} @openAction={{@detailModel.openPhone2Daylite}}\n      @tooltip=\"Open in Fone&Text\" @smallUI={{true}} />\n    {{/if}}\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- Default URL --}}\n  {{#if @detailModel.defaultURL}}\n  <Main::Body::Detailed::Row>\n    <Main::Body::Detailed::Single @title=\"Default URL\" @icon=\"globe\" @line={{@detailModel.defaultURL.url}}\n      @openAction={{@detailModel.openURL}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- location --}}\n  {{#if @detailModel.location}}\n  <Main::Body::Detailed::Row @alignTop={{true}}>\n    <Main::Body::Detailed::Single @title=\"Location\" @icon=\"location-dot\" @iconCSS=\"pt-1\" @line={{detect-url (breaklines\n      @detailModel.location lineCount=1)}} @multiLine={{true}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{!-- Details --}}\n  {{#if @detailModel.details}}\n  <Main::Body::Detailed::Row @alignTop={{true}}>\n    <Main::Body::Detailed::Single @title=\"Details\" @icon=\"info\" @iconCSS=\"pt-1\" @line={{detect-url (breaklines\n      @detailModel.details lineCount=1)}} @multiLine={{true}} />\n  </Main::Body::Detailed::Row>\n  {{/if}}\n  {{/if}}\n  */\n  {\n    \"id\": \"xTy1DXWD\",\n    \"block\": \"[[[41,[30,1,[\\\"isLoadingDetailModel\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,2],[[24,0,\\\"\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\",\\\"@spin\\\"],[\\\"spinner-third\\\",\\\"fal\\\",2,true]],null],[1,\\\"\\\\n  \\\"],[10,1],[12],[1,\\\"Is loading...\\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,2,[\\\"unifiedName\\\"]],[[[8,[39,1],null,[[\\\"@alignTop\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@line\\\",\\\"@multiLine\\\"],[\\\"Name\\\",\\\"pen-circle\\\",\\\"pt-1\\\",[30,2,[\\\"unifiedName\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"categoryName\\\"]],[[[8,[39,1],[[24,0,\\\"items-start\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconInlineStyle\\\",\\\"@line\\\"],[\\\"Category\\\",\\\"circle\\\",[30,2,[\\\"htmlSafeCategoryColor\\\"]],[30,2,[\\\"categoryName\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"type\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Type\\\",\\\"flag\\\",[52,[30,2,[\\\"useTypeFormatter\\\"]],[28,[37,5],[[30,2,[\\\"type\\\"]]],[[\\\"entity\\\"],[[30,2,[\\\"entity\\\"]]]]],[30,2,[\\\"type\\\"]]]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"industry\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Industry\\\",\\\"industry\\\",[30,2,[\\\"industry\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"state\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"State\\\",\\\"traffic-light\\\",[28,[37,6],[[30,2,[\\\"state\\\"]]],[[\\\"entity\\\"],[[30,2,[\\\"entity\\\"]]]]]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"status\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Status\\\",\\\"traffic-light\\\",[28,[37,6],[[30,2,[\\\"status\\\"]]],[[\\\"entity\\\"],[[30,2,[\\\"entity\\\"]]]]]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"showAs\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Show as\\\",\\\"ban\\\",[28,[37,7],[[30,2,[\\\"showAs\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"probability\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Probability\\\",\\\"badge-percent\\\",[28,[37,8],[[30,2,[\\\"probability\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"unifiedDueDate\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Due date\\\",\\\"flag-checkered\\\",[28,[37,9],[[30,2,[\\\"unifiedDueDate\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"unifiedStartDate\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Start date\\\",\\\"clock\\\",[28,[37,9],[[30,2,[\\\"unifiedStartDate\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"unifiedEndDate\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"End date\\\",\\\"do-not-enter\\\",[28,[37,9],[[30,2,[\\\"unifiedEndDate\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"unifiedStartDateTime\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Start\\\",\\\"clock\\\",[28,[37,9],[[30,2,[\\\"unifiedStartDateTime\\\"]],true],null]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"unifiedEndDateTime\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"End\\\",\\\"do-not-enter\\\",[28,[37,9],[[30,2,[\\\"unifiedEndDateTime\\\"]],true],null]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"priority\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Priority\\\",\\\"chevrons-up\\\",[28,[37,10],[[30,2,[\\\"priority\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"estimatedTime\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\"],[\\\"Estimated time\\\",\\\"stopwatch\\\",[28,[37,11],[[30,2,[\\\"estimatedTime\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"defaultAddress\\\"]],[[[8,[39,1],[[24,0,\\\"items-start\\\"]],[[\\\"@alignTop\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,12],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@lines\\\",\\\"@openAction\\\"],[\\\"Default address\\\",\\\"house\\\",[30,2,[\\\"formattedDefaultAddressComponents\\\"]],[30,2,[\\\"openAddress\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"defaultPhone\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\",\\\"@openAction\\\"],[\\\"Default phone\\\",\\\"phone\\\",[30,2,[\\\"defaultPhone\\\",\\\"number\\\"]],[30,2,[\\\"openPhone\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"dataService\\\",\\\"isRunningMacOS\\\"]],[[[1,\\\"  \\\"],[8,[39,13],null,[[\\\"@image\\\",\\\"@state\\\",\\\"@icon\\\",\\\"@color\\\",\\\"@showImage\\\",\\\"@openAction\\\",\\\"@tooltip\\\",\\\"@smallUI\\\"],[[28,[37,14],[\\\"/assets/images/daylite.png\\\"],null],true,\\\"chevrons-right\\\",\\\"text-daylite\\\",true,[30,2,[\\\"openPhoneDaylite\\\"]],\\\"Open in Fone&Text\\\",true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"secondaryPhone\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@line\\\",\\\"@openAction\\\"],[\\\"Secondary phone\\\",\\\"phone\\\",\\\"iom-textcolor-d\\\",[30,2,[\\\"secondaryPhone\\\",\\\"number\\\"]],[30,2,[\\\"openPhone2\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"dataService\\\",\\\"isRunningMacOS\\\"]],[[[1,\\\"  \\\"],[8,[39,13],null,[[\\\"@image\\\",\\\"@state\\\",\\\"@icon\\\",\\\"@color\\\",\\\"@showImage\\\",\\\"@openAction\\\",\\\"@tooltip\\\",\\\"@smallUI\\\"],[[28,[37,14],[\\\"/assets/images/daylite.png\\\"],null],true,\\\"chevrons-right\\\",\\\"text-daylite\\\",true,[30,2,[\\\"openPhone2Daylite\\\"]],\\\"Open in Fone&Text\\\",true]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"defaultURL\\\"]],[[[8,[39,1],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@line\\\",\\\"@openAction\\\"],[\\\"Default URL\\\",\\\"globe\\\",[30,2,[\\\"defaultURL\\\",\\\"url\\\"]],[30,2,[\\\"openURL\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"location\\\"]],[[[8,[39,1],null,[[\\\"@alignTop\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@line\\\",\\\"@multiLine\\\"],[\\\"Location\\\",\\\"location-dot\\\",\\\"pt-1\\\",[28,[37,15],[[28,[37,16],[[30,2,[\\\"location\\\"]]],[[\\\"lineCount\\\"],[1]]]],null],true]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"details\\\"]],[[[8,[39,1],null,[[\\\"@alignTop\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@line\\\",\\\"@multiLine\\\"],[\\\"Details\\\",\\\"info\\\",\\\"pt-1\\\",[28,[37,15],[[28,[37,16],[[30,2,[\\\"details\\\"]]],[[\\\"lineCount\\\"],[1]]]],null],true]],null],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[]]]],[\\\"@mainModel\\\",\\\"@detailModel\\\",\\\"@mail\\\"],false,[\\\"if\\\",\\\"main/body/detailed/row\\\",\\\"fa-icon\\\",\\\"span\\\",\\\"main/body/detailed/single\\\",\\\"daylite-type-formatter\\\",\\\"daylite-status-formatter\\\",\\\"appointment-show-as-formatter\\\",\\\"percent-formatter\\\",\\\"iso8601-date-formatter\\\",\\\"priority-formatter\\\",\\\"duration-formatter\\\",\\\"main/body/detailed/array\\\",\\\"main/body/button/open\\\",\\\"path\\\",\\\"detect-url\\\",\\\"breaklines\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/detailed.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/detailed/array\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @openAction}}\n  <button type=\"button\" {{on \"click\" @openAction}}>\n    <Main::Body::Detailed::Element::Icon @title={{@title}} @icon={{@icon}} @iconCSS={{@iconCSS}}\n      @iconInlineStyle={{@iconInlineStyle}} />\n  </button>\n  <button type=\"button\" class=\"flex flex-col truncate\" {{on \"click\" @openAction}}>\n    {{#each @lines as |line|}}\n    <Main::Body::Detailed::Element::Line @line={{line}} />\n    {{/each}}\n  </button>\n  {{else}}\n  <Main::Body::Detailed::Element::Icon @title={{@title}} @icon={{@icon}} @iconCSS={{@iconCSS}}\n    @iconInlineStyle={{@iconInlineStyle}} />\n  <div class=\"flex flex-col truncate\">\n    {{#each @lines as |line|}}\n    <Main::Body::Detailed::Element::Line @line={{line}} />\n    {{/each}}\n  </div>\n  {{/if}}\n  */\n  {\n    \"id\": \"m/ZQq4bf\",\n    \"block\": \"[[[41,[30,1],[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,1]],null],[12],[1,\\\"\\\\n  \\\"],[8,[39,3],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@iconInlineStyle\\\"],[[30,2],[30,3],[30,4],[30,5]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[11,\\\"button\\\"],[24,0,\\\"flex flex-col truncate\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,1]],null],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,5],[[28,[37,5],[[30,6]],null]],null],null,[[[1,\\\"  \\\"],[8,[39,6],null,[[\\\"@line\\\"],[[30,7]]],null],[1,\\\"\\\\n\\\"]],[7]],null],[13],[1,\\\"\\\\n\\\"]],[]],[[[8,[39,3],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@iconInlineStyle\\\"],[[30,2],[30,3],[30,4],[30,5]]],null],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"flex flex-col truncate\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,5],[[28,[37,5],[[30,6]],null]],null],null,[[[1,\\\"  \\\"],[8,[39,6],null,[[\\\"@line\\\"],[[30,8]]],null],[1,\\\"\\\\n\\\"]],[8]],null],[13],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@openAction\\\",\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@iconInlineStyle\\\",\\\"@lines\\\",\\\"line\\\",\\\"line\\\"],false,[\\\"if\\\",\\\"button\\\",\\\"on\\\",\\\"main/body/detailed/element/icon\\\",\\\"each\\\",\\\"-track-array\\\",\\\"main/body/detailed/element/line\\\",\\\"div\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/detailed/array.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/detailed/element/icon\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <FaIcon @title={{@title}} @icon={{@icon}} @prefix=\"fas\" class=\"shrink-0 h-3 w-3 min-w-3 {{@iconCSS}}\" @size={{2}}\n    style={{@iconInlineStyle}} />\n  */\n  {\n    \"id\": \"1oQlPUsz\",\n    \"block\": \"[[[8,[39,0],[[16,0,[29,[\\\"shrink-0 h-3 w-3 min-w-3 \\\",[30,1]]]],[16,5,[30,2]]],[[\\\"@title\\\",\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[[30,3],[30,4],\\\"fas\\\",2]],null]],[\\\"@iconCSS\\\",\\\"@iconInlineStyle\\\",\\\"@title\\\",\\\"@icon\\\"],false,[\\\"fa-icon\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/detailed/element/icon.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/detailed/element/line\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <span class=\" max-w-full {{if @multiLine \"\" \" truncate\" }} text-left\">{{@line}} </span>\n  */\n  {\n    \"id\": \"uZ8OgWNy\",\n    \"block\": \"[[[10,1],[15,0,[29,[\\\" max-w-full \\\",[52,[30,1],\\\"\\\",\\\" truncate\\\"],\\\" text-left\\\"]]],[12],[1,[30,2]],[1,\\\" \\\"],[13]],[\\\"@multiLine\\\",\\\"@line\\\"],false,[\\\"span\\\",\\\"if\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/detailed/element/line.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/detailed/row\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex flex-row justify-center gap-2 {{if @alignTop \" items-start\" \"items-center\" }} max-w-full\"\n    ...attributes>\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"/m1DoyJm\",\n    \"block\": \"[[[11,0],[16,0,[29,[\\\"flex flex-row justify-center gap-2 \\\",[52,[30,1],\\\" items-start\\\",\\\"items-center\\\"],\\\" max-w-full\\\"]]],[17,2],[12],[1,\\\"\\\\n  \\\"],[18,3,null],[1,\\\"\\\\n\\\"],[13]],[\\\"@alignTop\\\",\\\"&attrs\\\",\\\"&default\\\"],false,[\\\"div\\\",\\\"if\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/detailed/row.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/detailed/single\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if @openAction}}\n  <button type=\"button\" {{on \"click\" @openAction}}>\n    <Main::Body::Detailed::Element::Icon @title={{@title}} @icon={{@icon}} @iconCSS={{@iconCSS}}\n      @iconInlineStyle={{@iconInlineStyle}} />\n  </button>\n  <button class=\"flex flex-col {{if @multiLine \"\" \" truncate\" }}\" type=\"button\" {{on \"click\" @openAction}}>\n    <Main::Body::Detailed::Element::Line @line={{@line}} @multiLine={{@multiLine}} />\n  </button>\n  {{else}}\n  <Main::Body::Detailed::Element::Icon @title={{@title}} @icon={{@icon}} @iconCSS={{@iconCSS}}\n    @iconInlineStyle={{@iconInlineStyle}} />\n  <Main::Body::Detailed::Element::Line @line={{@line}} @multiLine={{@multiLine}} />\n  {{/if}}\n  */\n  {\n    \"id\": \"ajDHZBnN\",\n    \"block\": \"[[[41,[30,1],[[[11,\\\"button\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,1]],null],[12],[1,\\\"\\\\n  \\\"],[8,[39,3],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@iconInlineStyle\\\"],[[30,2],[30,3],[30,4],[30,5]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"flex flex-col \\\",[52,[30,6],\\\"\\\",\\\" truncate\\\"]]]],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,1]],null],[12],[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@line\\\",\\\"@multiLine\\\"],[[30,7],[30,6]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[8,[39,3],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@iconInlineStyle\\\"],[[30,2],[30,3],[30,4],[30,5]]],null],[1,\\\"\\\\n\\\"],[8,[39,4],null,[[\\\"@line\\\",\\\"@multiLine\\\"],[[30,7],[30,6]]],null],[1,\\\"\\\\n\\\"]],[]]]],[\\\"@openAction\\\",\\\"@title\\\",\\\"@icon\\\",\\\"@iconCSS\\\",\\\"@iconInlineStyle\\\",\\\"@multiLine\\\",\\\"@line\\\"],false,[\\\"if\\\",\\\"button\\\",\\\"on\\\",\\\"main/body/detailed/element/icon\\\",\\\"main/body/detailed/element/line\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/detailed/single.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/divider\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"item iom-textcolor-c\">{{@text}}</div>\n  */\n  {\n    \"id\": \"rf9CfuHk\",\n    \"block\": \"[[[10,0],[14,0,\\\"item iom-textcolor-c\\\"],[12],[1,[30,1]],[13]],[\\\"@text\\\"],false,[\\\"div\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/divider.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/head-label\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"item {{if @secondary \"iom-textcolor-e\" \"iom-textcolor-c\" }}\" ...attributes>{{@text}}</div>\n  */\n  {\n    \"id\": \"QEV0bKig\",\n    \"block\": \"[[[11,0],[16,0,[29,[\\\"item \\\",[52,[30,1],\\\"iom-textcolor-e\\\",\\\"iom-textcolor-c\\\"]]]],[17,2],[12],[1,[30,3]],[13]],[\\\"@secondary\\\",\\\"&attrs\\\",\\\"@text\\\"],false,[\\\"div\\\",\\\"if\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/head-label.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/other-section\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex flex-col items-center gap-2\">\n    <div class=\"flex flex-inline items-center\">\n      <Main::Body::HeadLabel class=\"item\" @text=\"Other\" />\n    </div>\n    <div class=\"flex flex-inline items-center max-w-full\">\n      <Main::Body::Button::PopupSearch @text={{@mail.category}} @tooltip=\"Category\"\n        @iconInlineStyle={{@mail.htmlSafeCategoryColor}} @action={{@mail.searchCategory}} />\n    </div>\n    <div class=\"flex flex-wrap max-w-full items-center justify-center gap-2\">\n      {{#each @mail.keywords as |kw|}}\n      <Main::Body::Button::Keyword @text={{kw}} @tooltip={{kw}} @mail={{@mail}} @action={{fn\n        @mail.addOrRemoveDayliteKeyword @mail kw 'remove' }} />\n      {{/each}}\n      <Main::Body::Button::Keyword @text='Add Keyword' @tooltip='Add Keyword' @mail={{@mail}}\n        @action={{@mail.searchDayliteKeyword}} @isAddPlaceholder={{true}} />\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"0S4sKz/G\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex flex-col items-center gap-2\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex flex-inline items-center\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,1],[[24,0,\\\"item\\\"]],[[\\\"@text\\\"],[\\\"Other\\\"]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex flex-inline items-center max-w-full\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@text\\\",\\\"@tooltip\\\",\\\"@iconInlineStyle\\\",\\\"@action\\\"],[[30,1,[\\\"category\\\"]],\\\"Category\\\",[30,1,[\\\"htmlSafeCategoryColor\\\"]],[30,1,[\\\"searchCategory\\\"]]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex flex-wrap max-w-full items-center justify-center gap-2\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,4],[[28,[37,4],[[30,1,[\\\"keywords\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[8,[39,5],null,[[\\\"@text\\\",\\\"@tooltip\\\",\\\"@mail\\\",\\\"@action\\\"],[[30,2],[30,2],[30,1],[28,[37,6],[[30,1,[\\\"addOrRemoveDayliteKeyword\\\"]],[30,1],[30,2],\\\"remove\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\"    \\\"],[8,[39,5],null,[[\\\"@text\\\",\\\"@tooltip\\\",\\\"@mail\\\",\\\"@action\\\",\\\"@isAddPlaceholder\\\"],[\\\"Add Keyword\\\",\\\"Add Keyword\\\",[30,1],[30,1,[\\\"searchDayliteKeyword\\\"]],true]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@mail\\\",\\\"kw\\\"],false,[\\\"div\\\",\\\"main/body/head-label\\\",\\\"main/body/button/popup-search\\\",\\\"each\\\",\\\"-track-array\\\",\\\"main/body/button/keyword\\\",\\\"fn\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/other-section.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/pool-section\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex flex-col items-center gap-2\">\n    <Main::Body::HeadLabel class=\"w-full text-center\" ...attributes @text={{@title}} />\n    {{#each @pool.linked as |obj|}}\n    <div class=\"flex flex-col w-full items-center gap-1\">\n      <Main::Body::Button::Linked @text={{obj.name}} @icon={{obj.icon}} @action={{fn @pool.addOrRemoveDaylite @mail obj}}\n        @state={{obj.isLinked}} @isLoading={{obj.isLoading}} @canOpenWeb={{obj.canOpenWeb}} @mail={{@mail}}\n        @canOpenDaylite={{obj.canOpenDaylite}} @openAction={{obj.openAction}} @detailAction={{fn obj.detailAction @mail\n        obj}} @object={{obj}} />\n    </div>\n    {{/each}}\n    {{#if (gt @pool.suggestions.length 0)}}\n    <div class=\"flex flex-col py-2 w-full items-start gap-1\">\n      <Main::Body::HeadLabel class=\"w-full text-center\" @text=\"Suggestions\" @secondary={{true}} />\n      {{#each @pool.suggestions as |obj|}}\n      <Main::Body::Button::Simple @text={{obj.name}} @icon={{obj.icon}} @tooltip={{obj.tooltip}} @action={{fn\n        @pool.addOrRemoveDaylite @mail obj}} @isLoading={{obj.isLoading}} @canOpenWeb={{obj.canOpenWeb}} @mail={{@mail}}\n        @canOpenDaylite={{obj.canOpenDaylite}} @openAction={{obj.openAction}} />\n      {{#if obj.detailOpen}}\n      <div class=\"flex flex-col justify-start items-start iom-textcolor-b gap-1 w-full px-1 pl-6\">\n        <Main::Body::Detailed @detailModel={{obj.daylite.detailModel}} @mainModel={{obj.daylite}} />\n      </div>\n      {{/if}}\n      {{/each}}\n    </div>\n    {{/if}}\n    <div class=\"flex flex-row gap-2 pb-1.5\">\n      {{#each @pool.creationModels as |obj|}}\n      <Main::Body::Button::Create @icon={{obj.objectIcon}} @action={{fn @searchAction @pool obj}}\n        @tooltip={{obj.tooltip}} />\n      {{/each}}\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"0+zAspYB\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex flex-col items-center gap-2\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,1],[[24,0,\\\"w-full text-center\\\"],[17,1]],[[\\\"@text\\\"],[[30,2]]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[30,3,[\\\"linked\\\"]]],null]],null],null,[[[1,\\\"  \\\"],[10,0],[14,0,\\\"flex flex-col w-full items-center gap-1\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,4],null,[[\\\"@text\\\",\\\"@icon\\\",\\\"@action\\\",\\\"@state\\\",\\\"@isLoading\\\",\\\"@canOpenWeb\\\",\\\"@mail\\\",\\\"@canOpenDaylite\\\",\\\"@openAction\\\",\\\"@detailAction\\\",\\\"@object\\\"],[[30,4,[\\\"name\\\"]],[30,4,[\\\"icon\\\"]],[28,[37,5],[[30,3,[\\\"addOrRemoveDaylite\\\"]],[30,5],[30,4]],null],[30,4,[\\\"isLinked\\\"]],[30,4,[\\\"isLoading\\\"]],[30,4,[\\\"canOpenWeb\\\"]],[30,5],[30,4,[\\\"canOpenDaylite\\\"]],[30,4,[\\\"openAction\\\"]],[28,[37,5],[[30,4,[\\\"detailAction\\\"]],[30,5],[30,4]],null],[30,4]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[4]],null],[41,[28,[37,7],[[30,3,[\\\"suggestions\\\",\\\"length\\\"]],0],null],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"flex flex-col py-2 w-full items-start gap-1\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,1],[[24,0,\\\"w-full text-center\\\"]],[[\\\"@text\\\",\\\"@secondary\\\"],[\\\"Suggestions\\\",true]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[30,3,[\\\"suggestions\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[8,[39,8],null,[[\\\"@text\\\",\\\"@icon\\\",\\\"@tooltip\\\",\\\"@action\\\",\\\"@isLoading\\\",\\\"@canOpenWeb\\\",\\\"@mail\\\",\\\"@canOpenDaylite\\\",\\\"@openAction\\\"],[[30,6,[\\\"name\\\"]],[30,6,[\\\"icon\\\"]],[30,6,[\\\"tooltip\\\"]],[28,[37,5],[[30,3,[\\\"addOrRemoveDaylite\\\"]],[30,5],[30,6]],null],[30,6,[\\\"isLoading\\\"]],[30,6,[\\\"canOpenWeb\\\"]],[30,5],[30,6,[\\\"canOpenDaylite\\\"]],[30,6,[\\\"openAction\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,6,[\\\"detailOpen\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"flex flex-col justify-start items-start iom-textcolor-b gap-1 w-full px-1 pl-6\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,9],null,[[\\\"@detailModel\\\",\\\"@mainModel\\\"],[[30,6,[\\\"daylite\\\",\\\"detailModel\\\"]],[30,6,[\\\"daylite\\\"]]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[6]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[10,0],[14,0,\\\"flex flex-row gap-2 pb-1.5\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[30,3,[\\\"creationModels\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[8,[39,10],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@tooltip\\\"],[[30,7,[\\\"objectIcon\\\"]],[28,[37,5],[[30,8],[30,3],[30,7]],null],[30,7,[\\\"tooltip\\\"]]]],null],[1,\\\"\\\\n\\\"]],[7]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@title\\\",\\\"@pool\\\",\\\"obj\\\",\\\"@mail\\\",\\\"obj\\\",\\\"obj\\\",\\\"@searchAction\\\"],false,[\\\"div\\\",\\\"main/body/head-label\\\",\\\"each\\\",\\\"-track-array\\\",\\\"main/body/button/linked\\\",\\\"fn\\\",\\\"if\\\",\\\"gt\\\",\\\"main/body/button/simple\\\",\\\"main/body/detailed\\\",\\\"main/body/button/create\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/pool-section.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/body/search\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@glimmer/tracking\", \"ember-lifeline\", \"@ember/utils\", \"@ember/service\", \"@ember/template\", \"uuid\", \"io-mail-assistant/models/Classes/mail/objective\", \"io-mail-assistant/models/Classes/daylite/objectiveSlim\", \"io-mail-assistant/models/Classes/daylite/contactSlim\", \"io-mail-assistant/models/Classes/mail/contact\", \"io-mail-assistant/models/Classes/daylite/creation\", \"io-mail-assistant/models/Classes/daylite/searchResult\", \"io-mail-assistant/models/Classes/mail/task\", \"io-mail-assistant/models/Classes/daylite/taskSlim\", \"io-mail-assistant/models/daylite/category\", \"io-mail-assistant/models/Classes/mail/appointment\", \"io-mail-assistant/models/Classes/daylite/appointmentSlim\", \"io-mail-assistant/models/daylite/keyword\", \"lodash\", \"io-mail-assistant/models/Classes/daylite/contactDetailed\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _tracking, _emberLifeline, _utils, _service, _template, _uuid, _objective, _objectiveSlim, _contactSlim, _contact, _creation, _searchResult, _task, _taskSlim, _category, _appointment, _appointmentSlim, _keyword, _lodash, _contactDetailed, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"ember-lifeline\",0,\"@ember/utils\",0,\"@ember/service\",0,\"@ember/template\",0,\"uuid\",0,\"io-mail-assistant/models/Classes/mail/objective\",0,\"io-mail-assistant/models/Classes/daylite/objectiveSlim\",0,\"io-mail-assistant/models/Classes/daylite/contactSlim\",0,\"io-mail-assistant/models/Classes/mail/contact\",0,\"io-mail-assistant/models/Classes/daylite/creation\",0,\"io-mail-assistant/models/Classes/daylite/searchResult\",0,\"io-mail-assistant/models/Classes/mail/task\",0,\"io-mail-assistant/models/Classes/daylite/taskSlim\",0,\"io-mail-assistant/models/daylite/category\",0,\"io-mail-assistant/models/Classes/mail/appointment\",0,\"io-mail-assistant/models/Classes/daylite/appointmentSlim\",0,\"io-mail-assistant/models/daylite/keyword\",0,\"lodash\",0,\"io-mail-assistant/models/Classes/daylite/contactDetailed\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <ModalDialog @onOverlayClick={{this.close}}>\n    <:body>\n      <div id=\"searchBody\" class=\"flex items-center\" {{on-key 'Escape' this.close}}>\n        <div class=\"w-full text-center\">\n          <div>\n            {{this.title}}\n          </div>\n          {{!-- template-lint-disable no-builtin-form-components --}}\n          <Input {{autofocus}} id=\"searchfield\" name=\"searchfield\" @type=\"search\"\n            class=\"darkfield appearance-none rounded-md mt-2 relative block w-full px-3 py-1 iom-bg-color border-2 iom-placeholder-color iom-textcolor-a iom-border-light-color focus:z-10 sm:text-sm\"\n            placeholder=\"Type to search\" {{on-key 'ArrowDown' this.handleArrowOnInput}} {{on-key 'ArrowUp'\n            this.handleArrowOnInput}} {{on \"input\" this.inputChange}} />\n          {{did-insert-helper this.setupPrefilled}}\n          {{#if this.isSearching}}\n          <FaIcon class=\"h-8 text-io-orange animate-spin mt-4\" @icon=\"loader\" @prefix=\"fal\" />\n          {{else}}\n          {{#if (eq this.results.length 0)}}\n          <div class=\"mt-4\">Nothing found</div>\n          {{else}}\n          <ul id=\"searchlist\" class=\"w-full mt-1 rounded-sm text-left\" {{on-key 'Enter' (fn this.resultSelectedEnter\n            this)}}>\n            {{#each this.results as |result index|}}\n            <li\n              class=\"py-0.5 px-1 border-b iom-border-light-color relative cursor-pointer truncate iom-textcolor-a iom-list-bg-color-hover\"\n              title=\"{{result.name}}\" {{on-key 'ArrowDown' this.handleArrowOnLi}}\n              {{on-key 'ArrowUp' this.handleArrowOnLi}}>\n              <button class=\"w-full truncate text-left py-0.5 px-1 {{result.textColor}}\" type=\"button\"\n                data-index=\"{{index}}\" {{on \"click\" (fn this.resultSelected this result)}}>\n                <FaIcon class=\"\" @icon={{result.icon}} @prefix={{if result.iconPrefix result.iconPrefix \"fal\" }}\n                  style={{result.iconStyle}} />\n                <span>{{result.name}}</span>\n              </button>\n            </li>\n            {{/each}}\n          </ul>\n          {{/if}}\n          {{#if (eq this.searchString.length 0)}}\n          <div class=\"mt-4\">Please type to search</div>\n          {{/if}}\n          {{/if}}\n        </div>\n      </div>\n    </:body>\n  </ModalDialog>\n  {{#if this.isLoading}}\n  <Loading />\n  {{/if}}\n  */\n  {\n    \"id\": \"ARGgs6rn\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@onOverlayClick\\\"],[[30,0,[\\\"close\\\"]]]],[[\\\"body\\\"],[[[[1,\\\"\\\\n    \\\"],[11,0],[24,1,\\\"searchBody\\\"],[24,0,\\\"flex items-center\\\"],[4,[38,3],[\\\"Escape\\\",[30,0,[\\\"close\\\"]]],null],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"w-full text-center\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[12],[1,\\\"\\\\n          \\\"],[1,[30,0,[\\\"title\\\"]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"],[1,\\\"        \\\"],[8,[39,4],[[24,1,\\\"searchfield\\\"],[24,3,\\\"searchfield\\\"],[24,0,\\\"darkfield appearance-none rounded-md mt-2 relative block w-full px-3 py-1 iom-bg-color border-2 iom-placeholder-color iom-textcolor-a iom-border-light-color focus:z-10 sm:text-sm\\\"],[24,\\\"placeholder\\\",\\\"Type to search\\\"],[4,[38,5],null,null],[4,[38,3],[\\\"ArrowDown\\\",[30,0,[\\\"handleArrowOnInput\\\"]]],null],[4,[38,3],[\\\"ArrowUp\\\",[30,0,[\\\"handleArrowOnInput\\\"]]],null],[4,[38,6],[\\\"input\\\",[30,0,[\\\"inputChange\\\"]]],null]],[[\\\"@type\\\"],[\\\"search\\\"]],null],[1,\\\"\\\\n        \\\"],[1,[28,[35,7],[[30,0,[\\\"setupPrefilled\\\"]]],null]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isSearching\\\"]],[[[1,\\\"        \\\"],[8,[39,9],[[24,0,\\\"h-8 text-io-orange animate-spin mt-4\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\"],[\\\"loader\\\",\\\"fal\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,10],[[30,0,[\\\"results\\\",\\\"length\\\"]],0],null],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"Nothing found\\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[11,\\\"ul\\\"],[24,1,\\\"searchlist\\\"],[24,0,\\\"w-full mt-1 rounded-sm text-left\\\"],[4,[38,3],[\\\"Enter\\\",[28,[37,12],[[30,0,[\\\"resultSelectedEnter\\\"]],[30,0]],null]],null],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,14],[[28,[37,14],[[30,0,[\\\"results\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[11,\\\"li\\\"],[24,0,\\\"py-0.5 px-1 border-b iom-border-light-color relative cursor-pointer truncate iom-textcolor-a iom-list-bg-color-hover\\\"],[16,\\\"title\\\",[29,[[30,1,[\\\"name\\\"]]]]],[4,[38,3],[\\\"ArrowDown\\\",[30,0,[\\\"handleArrowOnLi\\\"]]],null],[4,[38,3],[\\\"ArrowUp\\\",[30,0,[\\\"handleArrowOnLi\\\"]]],null],[12],[1,\\\"\\\\n            \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"w-full truncate text-left py-0.5 px-1 \\\",[30,1,[\\\"textColor\\\"]]]]],[16,\\\"data-index\\\",[29,[[30,2]]]],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"resultSelected\\\"]],[30,0],[30,1]],null]],null],[12],[1,\\\"\\\\n              \\\"],[8,[39,9],[[24,0,\\\"\\\"],[16,5,[30,1,[\\\"iconStyle\\\"]]]],[[\\\"@icon\\\",\\\"@prefix\\\"],[[30,1,[\\\"icon\\\"]],[52,[30,1,[\\\"iconPrefix\\\"]],[30,1,[\\\"iconPrefix\\\"]],\\\"fal\\\"]]],null],[1,\\\"\\\\n              \\\"],[10,1],[12],[1,[30,1,[\\\"name\\\"]]],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[1,2]],null],[1,\\\"        \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[41,[28,[37,10],[[30,0,[\\\"searchString\\\",\\\"length\\\"]],0],null],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"mt-4\\\"],[12],[1,\\\"Please type to search\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isLoading\\\"]],[[[8,[39,18],null,null,null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"result\\\",\\\"index\\\"],false,[\\\"modal-dialog\\\",\\\":body\\\",\\\"div\\\",\\\"on-key\\\",\\\"input\\\",\\\"autofocus\\\",\\\"on\\\",\\\"did-insert-helper\\\",\\\"if\\\",\\\"fa-icon\\\",\\\"eq\\\",\\\"ul\\\",\\\"fn\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"button\\\",\\\"span\\\",\\\"loading\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/search.hbs\",\n    \"isStrictMode\": false\n  });\n  let MainBodySearchComponent = _exports.default = (_class = class MainBodySearchComponent extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"dayliteService\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n      _initializerDefineProperty(this, \"results\", _descriptor3, this);\n      _initializerDefineProperty(this, \"isSearching\", _descriptor4, this);\n      _initializerDefineProperty(this, \"searchString\", _descriptor5, this);\n      _initializerDefineProperty(this, \"isLoading\", _descriptor6, this);\n      _initializerDefineProperty(this, \"prefilledContact\", _descriptor7, this);\n      this.setup();\n    }\n    setup() {\n      this.results = [];\n      let mail = this.args.mail;\n      if (mail.searchMode == mail.searchModes.category) {\n        let categories = this.store.peekAll('daylite/category');\n        categories = categories.map(element => {\n          return this.categoryModel(element);\n        });\n        this.results = (0, _lodash.sortBy)(categories, 'name');\n        return;\n      }\n      if (mail.searchMode == mail.searchModes.keyword) {\n        let kws = this.store.peekAll('daylite/keyword');\n        kws = kws.map(element => {\n          return this.keywordModel(element);\n        });\n        this.results = (0, _lodash.sortBy)(kws, 'name');\n        return;\n      }\n      let creationModels = this.creationModelForCurrentSearchMode();\n      if (!(0, _utils.isEmpty)(creationModels)) {\n        this.results = creationModels;\n      }\n    }\n    creationModelForCurrentSearchMode() {\n      let mail = this.args.mail;\n      let creationModels;\n      if (mail.searchMode == mail.searchModes.project) {\n        creationModels = mail.objectivePool.creationModels.filter(element => {\n          return element.isProject == true;\n        });\n      } else if (mail.searchMode == mail.searchModes.opportunity) {\n        creationModels = mail.objectivePool.creationModels.filter(element => {\n          return element.isOpportunity == true;\n        });\n      } else if (mail.searchMode == mail.searchModes.person) {\n        creationModels = mail.contactPool.creationModels.filter(element => {\n          return element.isPerson == true;\n        });\n      } else if (mail.searchMode == mail.searchModes.company) {\n        creationModels = mail.contactPool.creationModels.filter(element => {\n          return element.isCompany == true;\n        });\n      } else if (mail.searchMode == mail.searchModes.appointment) {\n        creationModels = mail.taskAppointmentPool.creationModels.filter(element => {\n          return element.isAppointment == true;\n        });\n      } else if (mail.searchMode == mail.searchModes.task) {\n        creationModels = mail.taskAppointmentPool.creationModels.filter(element => {\n          return element.isTask == true;\n        });\n        creationModels.push(new _creation.default({\n          name: 'Create Quick Task',\n          suggestedName: creationModels[0].suggestedName,\n          isTask: true,\n          quickMode: true\n        }));\n      }\n      return creationModels;\n    }\n    setupPrefilled() {\n      this.prefilledContact = this.args.mail.searchPrefillContact;\n      let prefilledSearchString = this.prefilledContact?.foreign?.name || this.prefilledContact?.foreign?.address;\n      if (!(0, _utils.isEmpty)(prefilledSearchString)) {\n        let searchField = document.getElementById('searchfield');\n        searchField.value = prefilledSearchString;\n        this.searchString = prefilledSearchString;\n        this.startSearch(this, prefilledSearchString);\n      }\n    }\n    handleArrowOnInput(event) {\n      let nextElement;\n      let isUp = event.code == 'ArrowUp';\n      if (event.target.id == 'searchfield') {\n        let index = 0;\n        if (isUp) {\n          index = document.getElementById('searchlist').childElementCount - 1;\n        }\n        if (!(0, _utils.isEmpty)(document.getElementById('searchlist').children[index])) {\n          nextElement = document.getElementById('searchlist').children[index];\n        }\n      }\n      if (!(0, _utils.isEmpty)(nextElement)) {\n        let childs = Array.from(nextElement.children);\n        childs.at(0).focus();\n      }\n    }\n    handleArrowOnLi(event) {\n      if (event.target.nodeName != 'BUTTON') {\n        return;\n      }\n      let index = parseInt(event.target.dataset.index);\n      let isUp = event.code == 'ArrowUp';\n      let newIndex = index + (isUp ? -1 : 1);\n      let searchlistElement = document.getElementById('searchlist');\n      let nextLiElement = Array.from(searchlistElement.children).find(liElement => {\n        let buttonElement = liElement.children[0];\n        return parseInt(buttonElement.dataset.index) == newIndex;\n      });\n      if (!(0, _utils.isEmpty)(nextLiElement)) {\n        nextLiElement.children[0].focus();\n      } else {\n        let searchField = document.getElementById('searchfield');\n        searchField.focus();\n      }\n    }\n    inputChange(event) {\n      this.searchString = event.target.value;\n      this.timedSearch(this.searchString);\n    }\n    timedSearch() {\n      this.results = [];\n      (0, _emberLifeline.debounceTask)(this, 'startSearch', 800);\n    }\n    startSearch() {\n      if (this.searchString.length == 0) {\n        this.results = [];\n        this.setup();\n        return;\n      }\n      let searchTerm = this.searchString;\n      this.isSearching = true;\n      let mail = this.args.mail;\n      if (mail.searchMode == mail.searchModes.project) {\n        this.projectSearch(searchTerm);\n      } else if (mail.searchMode == mail.searchModes.opportunity) {\n        this.opportunitySearch(searchTerm);\n      } else if (mail.searchMode == mail.searchModes.person) {\n        this.personSearch(searchTerm);\n      } else if (mail.searchMode == mail.searchModes.company) {\n        this.companySearch(searchTerm);\n      } else if (mail.searchMode == mail.searchModes.contactMerge) {\n        this.personSearch(searchTerm);\n        this.companySearch(searchTerm);\n      } else if (mail.searchMode == mail.searchModes.appointment) {\n        this.appointmentSearch(searchTerm);\n      } else if (mail.searchMode == mail.searchModes.task) {\n        this.taskSearch(searchTerm);\n      } else if (mail.searchMode == mail.searchModes.category) {\n        this.categorySearch(searchTerm);\n      } else if (mail.searchMode == mail.searchModes.keyword) {\n        this.keywordSearch(searchTerm);\n      }\n    }\n    async personSearch(searchTerm) {\n      // do strict search when only username given\n      let strict = !(0, _utils.isEmpty)(this.prefilledContact?.foreign) && (0, _utils.isEmpty)(this.prefilledContact?.foreign?.phoneNumber) && (0, _utils.isEmpty)(this.prefilledContact?.foreign?.address);\n      this.dayliteService.searchContacts(searchTerm, strict).then(response => {\n        let addResult = new _creation.default({\n          name: 'Create Person',\n          isPerson: true,\n          suggestedName: this.prefilledContact?.foreign?.name || searchTerm,\n          suggestedEmail: this.prefilledContact?.foreign?.address,\n          suggestedPhoneNumber: this.prefilledContact?.foreign?.phoneNumber\n        });\n        this.handleResultResponse(this, response, addResult);\n      });\n    }\n    async companySearch(searchTerm) {\n      let strict = !(0, _utils.isEmpty)(this.prefilledContact?.foreign) && (0, _utils.isEmpty)(this.prefilledContact?.foreign?.phoneNumber) && (0, _utils.isEmpty)(this.prefilledContact?.foreign?.address);\n      this.dayliteService.searchCompanies(searchTerm, strict).then(response => {\n        let addResult = new _creation.default({\n          name: 'Create Company',\n          isCompany: true,\n          suggestedName: this.prefilledContact?.foreign?.name || searchTerm,\n          suggestedEmail: this.prefilledContact?.foreign?.address,\n          suggestedPhoneNumber: this.prefilledContact?.foreign?.phoneNumber\n        });\n        this.handleResultResponse(this, response, addResult);\n      });\n    }\n    async opportunitySearch(searchTerm) {\n      this.dayliteService.searchOpportunities(searchTerm).then(response => {\n        let addResult = new _creation.default({\n          name: 'Create Opportunity',\n          suggestedName: searchTerm,\n          isOpportunity: true\n        });\n        this.handleResultResponse(this, response, addResult);\n      });\n    }\n    async projectSearch(searchTerm) {\n      this.dayliteService.searchProjects(searchTerm).then(response => {\n        let addResult = new _creation.default({\n          name: 'Create Project',\n          suggestedName: searchTerm,\n          isProject: true\n        });\n        this.handleResultResponse(this, response, addResult);\n      });\n    }\n    async appointmentSearch(searchTerm) {\n      this.dayliteService.searchAppointments(searchTerm).then(response => {\n        let addResult = new _creation.default({\n          name: 'Create appointment',\n          suggestedName: searchTerm,\n          isAppointment: true\n        });\n        this.handleResultResponse(this, response, addResult);\n      });\n    }\n    async taskSearch(searchTerm) {\n      this.dayliteService.searchTasks(searchTerm).then(response => {\n        let addResult = new _creation.default({\n          name: 'Create Task',\n          suggestedName: searchTerm,\n          isTask: true\n        });\n        let addQuickResult = new _creation.default({\n          name: 'Create Quick Task',\n          suggestedName: searchTerm,\n          isTask: true,\n          quickMode: true\n        });\n        this.handleResultResponse(this, response, addResult, addQuickResult);\n      });\n    }\n    categorySearch(searchTerm) {\n      let categories = this.store.peekAll('daylite/category');\n      categories = categories.filter(element => {\n        return element.name.toLowerCase().includes(searchTerm.toLowerCase());\n      });\n      categories = categories.map(element => {\n        return this.categoryModel(element);\n      });\n      // do not use original creation model since this is only a string model\n      let addResult = {\n        name: `Create '${searchTerm}' as category`,\n        isCategory: true,\n        icon: 'plus',\n        textColor: 'text-blue-500',\n        value: searchTerm,\n        new: true\n      };\n      this.handleResultResponse(this, categories, addResult);\n    }\n    keywordSearch(searchTerm) {\n      let kws = this.store.peekAll('daylite/keyword');\n      kws = kws.filter(element => {\n        return element.name.toLowerCase().includes(searchTerm.toLowerCase());\n      });\n      kws = kws.map(element => {\n        return this.keywordModel(element);\n      });\n      // do not use original creation model since this is only a string model\n      let addResult = {\n        name: `Create '${searchTerm}' as keyword`,\n        isKeyword: true,\n        icon: 'plus',\n        textColor: 'text-blue-500',\n        value: searchTerm,\n        new: true\n      };\n      this.handleResultResponse(this, kws, addResult);\n    }\n    categoryModel(category) {\n      let color = category.hex || 'C7C7C7';\n      return {\n        name: category.name,\n        icon: 'circle',\n        iconStyle: (0, _template.htmlSafe)(`color: ${color}`),\n        iconPrefix: 'fas',\n        isCategory: true,\n        value: category.name\n      };\n    }\n    keywordModel(keyword) {\n      return {\n        name: keyword.name,\n        isKeyword: true,\n        value: keyword.name\n      };\n    }\n    handleResultResponse(_this, response, addResult, addResultQuick) {\n      let sortedResults = [];\n      if (!(0, _utils.isEmpty)(response)) {\n        sortedResults = (0, _lodash.sortBy)(response, 'name');\n      }\n      sortedResults.push(addResult);\n      if (!(0, _utils.isEmpty)(addResultQuick)) {\n        sortedResults.push(addResultQuick);\n      }\n      let newResults = [..._this.results, ...sortedResults];\n      _this.results = newResults;\n      _this.isSearching = false;\n    }\n    async resultSelectedEnter(_this, event) {\n      if (event.target.nodeName != 'LI') {\n        return;\n      }\n      if (event.code == 'Enter') {\n        let index = parseInt(event.target.dataset.index);\n        let result = _this.results[index];\n        if (!(0, _utils.isEmpty)(result)) {\n          _this.resultSelected(_this, result);\n        }\n      }\n    }\n    async resultSelected(_this, result) {\n      let mail = _this.args.mail;\n      // is selected result for creation, merge or we should link it with email\n      if (result.isForCreation) {\n        // try to get email address from which creation was triggered\n        let response = await mail.creationService.createWithForm(mail, result);\n        let resultModel = new _searchResult.default(response);\n        return _this.resultSelected(_this, resultModel);\n      } else {\n        _this.isLoading = true;\n        // when this is a merge first add email address from prefilled result\n        if (mail.searchMode == mail.searchModes.contactMerge && !(0, _utils.isEmpty)(_this.prefilledContact?.foreign?.address)) {\n          let body = {\n            emails: {\n              add: [{\n                address: _this.prefilledContact?.foreign?.address,\n                label: 'Missive'\n              }]\n            }\n          };\n          if (result.isPerson) {\n            await mail.dayliteService.patchPerson(result, body);\n          } else if (result.isCompany) {\n            await mail.dayliteService.patchCompany(result, body);\n          }\n          mail.contactPool.suggestions = mail.contactPool.suggestions.filter(element => {\n            return _this.prefilledContact.id != element.id;\n          });\n        }\n        let obj;\n        if (result.isProject || result.isOpportunity) {\n          obj = new _objective.default(result, false);\n        } else if (result.isPerson || result.isCompany) {\n          obj = new _contact.default(null, result, false);\n        } else if (result.isTask) {\n          obj = new _task.default(result, false);\n        } else if (result.isAppointment) {\n          obj = new _appointment.default(result, false);\n        }\n        if ((0, _utils.isEmpty)(mail.daylite) && !mail.isDraft) {\n          let body;\n          if (result.isCategory) {\n            body = {\n              category: result.value\n            };\n            _this.conditionallyCreateNewCategoryInStore(result, mail);\n            mail.setCategory(result.value);\n          } else if (result.isKeyword) {\n            body = {\n              keywords: [result.value]\n            };\n            _this.conditionallyCreateNewKeywordInStore(result, mail);\n          } else {\n            body = await obj.daylite.dayliteBodyForCreate(mail.dayliteService);\n          }\n          await mail.addOrRemoveDaylite(body);\n        } else {\n          if (result.isCategory) {\n            await mail.putDayliteCategory(result.value);\n            _this.conditionallyCreateNewCategoryInStore(result, mail);\n            mail.setCategory(result.value);\n          } else if (result.isKeyword) {\n            await mail.addOrRemoveDayliteKeyword(mail, result.value, 'add');\n            _this.conditionallyCreateNewKeywordInStore(result, mail);\n          } else {\n            await obj?.addOrRemoveDaylite(mail, result).then(async () => {\n              if (mail.searchMode == mail.searchModes.project || mail.searchMode == mail.searchModes.opportunity || mail.searchMode == mail.searchModes.company || mail.searchMode == mail.searchModes.person || mail.searchMode == mail.searchModes.contactMerge || mail.searchMode == mail.searchModes.task || mail.searchMode == mail.searchModes.appointment) {\n                let dlModel;\n                let mainModel;\n                let pool;\n                if (mail.searchMode == mail.searchModes.project || mail.searchMode == mail.searchModes.opportunity) {\n                  dlModel = new _objectiveSlim.default(result.json);\n                  mainModel = new _objective.default(dlModel, true);\n                  pool = mail.objectivePool;\n                } else if (mail.searchMode == mail.searchModes.company || mail.searchMode == mail.searchModes.person || mail.searchMode == mail.searchModes.contactMerge) {\n                  dlModel = new _contactSlim.default(result.json);\n                  mainModel = new _contact.default(null, dlModel, true);\n                  pool = mail.contactPool;\n                  await _this.handlingDraft(_this, mail, dlModel, result);\n                } else if (mail.searchMode == mail.searchModes.task) {\n                  dlModel = new _taskSlim.default(result.json);\n                  mainModel = new _task.default(dlModel, true);\n                  pool = mail.taskAppointmentPool;\n                } else if (mail.searchMode == mail.searchModes.appointment) {\n                  dlModel = new _appointmentSlim.default(result.json);\n                  mainModel = new _appointment.default(dlModel, true);\n                  pool = mail.taskAppointmentPool;\n                }\n                pool.addToPool(mainModel);\n                mail.conditionallySaveDraft(mail);\n              }\n            });\n          }\n        }\n        _this.isLoading = false;\n      }\n      _this.close();\n    }\n    conditionallyCreateNewCategoryInStore(result, mail) {\n      if (result.new) {\n        let synthNewCat = {\n          self: (0, _uuid.v4)(),\n          name: result.value,\n          hex_colour: '#000000'\n        };\n        mail.store.createRecord('daylite/category', _category.default.initRepresentation(synthNewCat));\n      }\n    }\n    conditionallyCreateNewKeywordInStore(result, mail) {\n      if (result.new) {\n        let model = {\n          self: (0, _uuid.v4)(),\n          name: result.value\n        };\n        mail.store.createRecord('daylite/category', _keyword.default.initRepresentation(model));\n      }\n    }\n    close() {\n      this.args.mail.searchMode = this.args.mail.searchModes.none;\n      // we can null the prefilled contact when DOM did render the search\n      this.args.mail.searchPrefillContact = null;\n    }\n    get title() {\n      let mail = this.args.mail;\n      let entity = '';\n      if (mail.searchMode == mail.searchModes.project) {\n        entity = 'project';\n      } else if (mail.searchMode == mail.searchModes.opportunity) {\n        entity = 'opportunity';\n      } else if (mail.searchMode == mail.searchModes.person) {\n        entity = 'person';\n      } else if (mail.searchMode == mail.searchModes.company) {\n        entity = 'company';\n      } else if (mail.searchMode == mail.searchModes.appointment) {\n        entity = 'appointment';\n      } else if (mail.searchMode == mail.searchModes.task) {\n        entity = 'task';\n      } else if (mail.searchMode == mail.searchModes.contactMerge) {\n        return 'Add email address to contact or create new one';\n      } else if (mail.searchMode == mail.searchModes.category) {\n        entity = 'a category';\n      } else if (mail.searchMode == mail.searchModes.keyword) {\n        entity = 'a keyword';\n      }\n      return `Find or create ${entity}`;\n    }\n    async handlingDraft(_this, mail, model, searchResult) {\n      if (!mail.isDraft) {\n        return;\n      }\n      if (searchResult.isPerson) {\n        let detailedResult = await mail.dayliteService.getContactWithId(searchResult.self);\n        let detailModel = new _contactDetailed.default(detailedResult);\n        _this.addToRecipients(_this, detailModel);\n\n        // adding default company\n        let defaultCompany = model.defaultCompanyFromFullContactResult(detailedResult);\n        if (!(0, _utils.isEmpty)(defaultCompany)) {\n          let defaultCompanyResult = await mail.dayliteService.getCompanyWithId(defaultCompany.self);\n          let defaultCompanySlim = new _contactSlim.default(defaultCompanyResult);\n          let defaultCompanyMainModel = new _contact.default(null, defaultCompanySlim, true);\n          mail.contactPool.addToPool(defaultCompanyMainModel);\n          mail.conditionallySaveDraft(mail);\n        }\n      } else if (model.isCompany) {\n        let detailedResult = await mail.dayliteService.getCompanyWithId(searchResult.self);\n        let detailModel = new _contactDetailed.default(detailedResult);\n        _this.addToRecipients(_this, detailModel);\n      }\n    }\n    addToRecipients(_this, detailModel) {\n      if (!(0, _utils.isEmpty)(detailModel.defaultEmailAddress?.address)) {\n        // eslint-disable-next-line no-undef\n        Office.context.mailbox.item.to.getAsync(recipientsResponse => {\n          let currentRecipients = recipientsResponse.value;\n          let found = currentRecipients.find(recipient => {\n            return recipient.emailAddress === detailModel.defaultEmailAddress.address;\n          });\n          if ((0, _utils.isEmpty)(found)) {\n            currentRecipients.push({\n              displayName: detailModel.unifiedName,\n              emailAddress: detailModel.defaultEmailAddress.address\n            });\n            // eslint-disable-next-line no-undef\n            Office.context.mailbox.item.to.setAsync(currentRecipients);\n            _this.addRecipientNotification(detailModel.defaultEmailAddress.address);\n          }\n        });\n      }\n    }\n    addRecipientNotification(address) {\n      const details = {\n        // eslint-disable-next-line no-undef\n        type: Office.MailboxEnums.ItemNotificationMessageType.InformationalMessage,\n        message: `iOM - Added ${address} to recipients`,\n        icon: 'Icon.32x32',\n        persistent: false\n      };\n      // eslint-disable-next-line no-undef\n      Office.context.mailbox.item.notificationMessages.addAsync('iom-added-recipient', details, result => {\n        if (!(0, _utils.isEmpty)(result.error)) {\n          // eslint-disable-next-line no-undef\n          Office.context.mailbox.item.notificationMessages.replaceAsync('iom-added-recipient', details);\n        }\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"dayliteService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"results\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"isSearching\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"searchString\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"prefilledContact\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"setupPrefilled\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setupPrefilled\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleArrowOnInput\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleArrowOnInput\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleArrowOnLi\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleArrowOnLi\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"inputChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"inputChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MainBodySearchComponent);\n});","define(\"io-mail-assistant/components/main/body/section\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"{{if @cssColor @cssColor \" iom-list-bg-color\"}} py-2 px-4 rounded-md {{if @bordered \" shadow-md\" \"\" }}\"\n    ...attributes>\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"7qUNqAc+\",\n    \"block\": \"[[[11,0],[16,0,[29,[[52,[30,1],[30,1],\\\" iom-list-bg-color\\\"],\\\" py-2 px-4 rounded-md \\\",[52,[30,2],\\\" shadow-md\\\",\\\"\\\"]]]],[17,3],[12],[1,\\\"\\\\n  \\\"],[18,4,null],[1,\\\"\\\\n\\\"],[13]],[\\\"@cssColor\\\",\\\"@bordered\\\",\\\"&attrs\\\",\\\"&default\\\"],false,[\\\"div\\\",\\\"if\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/body/section.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/main/footer\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"io-mail-assistant/config/environment\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _environment, _service, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"io-mail-assistant/config/environment\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <footer class=\"flex flex-col\">\n    {{#if this.isOutlook}}\n    {{#if this.outdatedOfficeVersion}}\n    <div class=\"px-4 py-2 bg-red-400 w-full text-sm text-white\">Outlook version not supported. Please\n      update to the\n      latest Outlook\n      version\n    </div>\n    {{/if}}\n    {{/if}}\n    <div class=\"px-4 py-2 flex justify-between items-center\">\n      <div class=\"\">\n        <span class=\"iom-textcolor-d\">Version: {{this.version}}</span>\n        {{#if this.sessionService.newVersionAvailable}}\n        <button type=\"button\" class=\"border border-transparent bg-io-orange text-xs px-1 py-0.5 rounded-md text-white\"\n          {{on \"click\" this.refresh}}>\n          <span>New version available</span>\n          <FaIcon class=\"h-3 w-3\" @icon=\"rotate-right\" @prefix=\"fal\" @size={{2}} />\n        </button>\n        {{/if}}\n      </div>\n      {{#if this.sessionService.trialMode}}\n      <button type=\"button\" class=\"text-orange-400\" {{on \"click\"\n        this.openLicensing}} title=\"You're currently running in trial mode\">\n        <span class=\"h-auto mt-1 text-orange-400\">Trial Mode</span>\n        <FaIcon class=\"\" @icon=\"circle-info\" @prefix=\"fal\" @size={{2}} />\n      </button>\n      {{/if}}\n      <div class=\"flex gap-2 items-center\">\n        {{#if this.showDebugButton}}\n        <Utils::IomButton @icon=\"bug\" @action={{this.debugService.debugAction}} @tooltip=\"Show debug\" />\n        {{/if}}\n        <Utils::IomButton @icon=\"circle-question\" @action={{this.openHelp}} @tooltip=\"Open Help\" />\n        <Utils::IomButton @icon=\"notebook\" @action={{this.logService.showLog}} @tooltip=\"Show log\" />\n      </div>\n    </div>\n  </footer>\n  */\n  {\n    \"id\": \"/CWX1J6K\",\n    \"block\": \"[[[10,\\\"footer\\\"],[14,0,\\\"flex flex-col\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isOutlook\\\"]],[[[41,[30,0,[\\\"outdatedOfficeVersion\\\"]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"px-4 py-2 bg-red-400 w-full text-sm text-white\\\"],[12],[1,\\\"Outlook version not supported. Please\\\\n    update to the\\\\n    latest Outlook\\\\n    version\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"  \\\"],[10,0],[14,0,\\\"px-4 py-2 flex justify-between items-center\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"iom-textcolor-d\\\"],[12],[1,\\\"Version: \\\"],[1,[30,0,[\\\"version\\\"]]],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"sessionService\\\",\\\"newVersionAvailable\\\"]],[[[1,\\\"      \\\"],[11,\\\"button\\\"],[24,0,\\\"border border-transparent bg-io-orange text-xs px-1 py-0.5 rounded-md text-white\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"refresh\\\"]]],null],[12],[1,\\\"\\\\n        \\\"],[10,1],[12],[1,\\\"New version available\\\"],[13],[1,\\\"\\\\n        \\\"],[8,[39,6],[[24,0,\\\"h-3 w-3\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"rotate-right\\\",\\\"fal\\\",2]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"sessionService\\\",\\\"trialMode\\\"]],[[[1,\\\"    \\\"],[11,\\\"button\\\"],[24,0,\\\"text-orange-400\\\"],[24,\\\"title\\\",\\\"You're currently running in trial mode\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"openLicensing\\\"]]],null],[12],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"h-auto mt-1 text-orange-400\\\"],[12],[1,\\\"Trial Mode\\\"],[13],[1,\\\"\\\\n      \\\"],[8,[39,6],[[24,0,\\\"\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"circle-info\\\",\\\"fal\\\",2]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"],[10,0],[14,0,\\\"flex gap-2 items-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showDebugButton\\\"]],[[[1,\\\"      \\\"],[8,[39,7],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@tooltip\\\"],[\\\"bug\\\",[30,0,[\\\"debugService\\\",\\\"debugAction\\\"]],\\\"Show debug\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[8,[39,7],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@tooltip\\\"],[\\\"circle-question\\\",[30,0,[\\\"openHelp\\\"]],\\\"Open Help\\\"]],null],[1,\\\"\\\\n      \\\"],[8,[39,7],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@tooltip\\\"],[\\\"notebook\\\",[30,0,[\\\"logService\\\",\\\"showLog\\\"]],\\\"Show log\\\"]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"footer\\\",\\\"if\\\",\\\"div\\\",\\\"span\\\",\\\"button\\\",\\\"on\\\",\\\"fa-icon\\\",\\\"utils/iom-button\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/footer.hbs\",\n    \"isStrictMode\": false\n  });\n  let MainFooterComponent = _exports.default = (_class = class MainFooterComponent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"debugService\", _descriptor, this);\n      _initializerDefineProperty(this, \"logService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor3, this);\n    }\n    version() {\n      return _environment.default.Version || 'unknown';\n    }\n    get showDebugButton() {\n      return _environment.default.Debugmode;\n    }\n    get isOutlook() {\n      return _environment.default.AssistantIdentifier === 'outlook';\n    }\n    get isMissive() {\n      return _environment.default.AssistantIdentifier === 'missive';\n    }\n    get outdatedOfficeVersion() {\n      // eslint-disable-next-line no-undef\n      return !Office.context.requirements.isSetSupported('Mailbox', '1.9');\n    }\n    refresh() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.reload(true);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.location.reload(true);\n      }\n    }\n    openLicensing() {\n      const url = 'https://support.iosxpert.biz/hc/en-us/articles/12297671612444/';\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    openHelp() {\n      const url = 'https://support.iosxpert.biz/hc/en-us/search?utf8=%E2%9C%93&query=iOMailAssistant';\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"debugService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"logService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MainFooterComponent);\n});","define(\"io-mail-assistant/components/main/header\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"io-mail-assistant/config/environment\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _environment, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"io-mail-assistant/config/environment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"w-full h-auto p-2 border-b iom-border-light-color\">\n      <div class=\"flex justify-end gap-2\">\n          {{#if this.showPreferencedButton}}\n          <Utils::IomButton @icon=\"gear\" @action={{this.showPreferences}} @tooltip=\"Show Preferences\" />\n          {{/if}}\n          <Utils::IomButton @icon=\"rotate-right\" @action={{this.refresh}} @tooltip=\"Refresh\" />\n          <Utils::IomButton @icon=\"arrow-right-from-bracket\" @action={{this.logout}} @tooltip=\"Logout\" />\n      </div>\n  </div>\n  */\n  {\n    \"id\": \"RH0t6b2U\",\n    \"block\": \"[[[10,0],[14,0,\\\"w-full h-auto p-2 border-b iom-border-light-color\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex justify-end gap-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showPreferencedButton\\\"]],[[[1,\\\"        \\\"],[8,[39,2],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@tooltip\\\"],[\\\"gear\\\",[30,0,[\\\"showPreferences\\\"]],\\\"Show Preferences\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"],[8,[39,2],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@tooltip\\\"],[\\\"rotate-right\\\",[30,0,[\\\"refresh\\\"]],\\\"Refresh\\\"]],null],[1,\\\"\\\\n        \\\"],[8,[39,2],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@tooltip\\\"],[\\\"arrow-right-from-bracket\\\",[30,0,[\\\"logout\\\"]],\\\"Logout\\\"]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"if\\\",\\\"utils/iom-button\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/main/header.hbs\",\n    \"isStrictMode\": false\n  });\n  let MainHeaderComponent = _exports.default = (_class = class MainHeaderComponent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n      _initializerDefineProperty(this, \"preferenceService\", _descriptor2, this);\n    }\n    refresh() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.reload(true);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.location.reload(true);\n      }\n    }\n    logout() {\n      this.sessionService.invalidate();\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.reload(true);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.location.reload(true);\n      }\n    }\n    showPreferences() {\n      this.preferenceService.showPreferences();\n    }\n    get showPreferencedButton() {\n      if (_environment.default.AssistantIdentifier === 'outlook') {\n        return true;\n      }\n      return false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"preferenceService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"refresh\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"refresh\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"logout\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"logout\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showPreferences\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showPreferences\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MainHeaderComponent);\n});","define(\"io-mail-assistant/components/modal-dialog\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{!-- app/components/modal-dialog/template.hbs --}}\n  <div\n    class=\"fixed z-999 bottom-0 inset-x-0 px-4 py-4 {{@deviceSizePrefix}}inset-0 {{@deviceSizePrefix}}flex {{@deviceSizePrefix}}items-center {{@deviceSizePrefix}}justify-center\">\n    {{!-- Overlay --}}\n    {{#let (if @onOverlayClick @onOverlayClick (noop)) as |overlayClick|}}\n    <div class=\"fixed inset-0 transition-opacity\" role=\"button\" data-test-rr=\"modal-dialog-overlay\" {{on \"click\"\n      overlayClick}}>\n      <div class=\"absolute inset-0 bg-gray-500 opacity-75\"></div>\n    </div>\n    {{/let}}\n  \n    {{!-- Panel --}}\n    <div\n      class=\"iom-list-bg-color default-text rounded-lg px-4 pt-5 pb-4 overflow-y-auto shadow-xl transform {{@deviceSizePrefix}}max-w-lg {{@deviceSizePrefix}}w-full {{@deviceSizePrefix}}p-6 max-h-full scroll\"\n      role=\"dialog\" aria-modal=\"true\" aria-labelledby=\"modal-headline\">\n      <div class=\"{{@deviceSizePrefix}}flex {{@deviceSizePrefix}}items-start\">\n        {{#if @showIcon}}\n        <div\n          class=\"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 {{@deviceSizePrefix}}mx-0 {{@deviceSizePrefix}}h-10 {{@deviceSizePrefix}}w-10\">\n          <FaIcon @icon=\"exclamation-triangle\" @prefix=\"fad\" class=\"h-10 w-10 text-red-600\" @size={{2}} />\n        </div>\n        {{/if}}\n        <div class=\"text-center {{@deviceSizePrefix}}text-left w-full\">\n          {{yield to=\"header\"}}\n          {{yield to=\"body\"}}\n        </div>\n      </div>\n      {{#if (has-block \"buttons\")}}\n      {{yield to=\"buttons\"}}\n      {{else}}\n      <div class=\"mt-5 {{@deviceSizePrefix}}mt-4 {{@deviceSizePrefix}}flex {{@deviceSizePrefix}}flex-row-reverse\">\n        {{#if @onConfirm}}\n        <span class=\"flex w-full rounded-md shadow-sm {{@deviceSizePrefix}}ml-3 {{@deviceSizePrefix}}w-auto\">\n          <button type=\"button\"\n            class=\"inline-flex justify-center w-full rounded-md border border-transparent px-4 py-2 bg-red-600 leading-6 font-medium text-sm text-white shadow-sm hover:bg-red-500 {{@deviceSizePrefix}}px-2 {{@deviceSizePrefix}}py-1\"\n            data-test-rr=\"modal-dialog-confirm-button\" {{on \"click\" @onConfirm}}>\n            {{@buttonText}}\n          </button>\n        </span>\n        {{/if}}\n        {{#if @onCancel}}\n        <span class=\"mt-3 flex w-full rounded-md shadow-sm {{@deviceSizePrefix}}mt-0 {{@deviceSizePrefix}}w-auto\">\n          <button type=\"button\"\n            class=\"inline-flex justify-center w-full rounded-md border border-gray-300 px-4 py-2 iom-bg-color leading-6 font-medium text-sm default-text shadow-sm hover:text-gray-500 {{@deviceSizePrefix}}px-2 {{@deviceSizePrefix}}py-1\"\n            data-test-rr=\"modal-dialog-cancel-button\" {{on \"click\" @onCancel}}>\n            Cancel\n          </button>\n        </span>\n        {{/if}}\n      </div>\n      {{/if}}\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"Ob7EJ5N+\",\n    \"block\": \"[[[10,0],[15,0,[29,[\\\"fixed z-999 bottom-0 inset-x-0 px-4 py-4 \\\",[30,1],\\\"inset-0 \\\",[30,1],\\\"flex \\\",[30,1],\\\"items-center \\\",[30,1],\\\"justify-center\\\"]]],[12],[1,\\\"\\\\n\\\"],[44,[[52,[30,2],[30,2],[28,[37,3],null,null]]],[[[1,\\\"  \\\"],[11,0],[24,0,\\\"fixed inset-0 transition-opacity\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-test-rr\\\",\\\"modal-dialog-overlay\\\"],[4,[38,4],[\\\"click\\\",[30,3]],null],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"absolute inset-0 bg-gray-500 opacity-75\\\"],[12],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[3]]],[1,\\\"\\\\n\\\"],[1,\\\"  \\\"],[10,0],[15,0,[29,[\\\"iom-list-bg-color default-text rounded-lg px-4 pt-5 pb-4 overflow-y-auto shadow-xl transform \\\",[30,1],\\\"max-w-lg \\\",[30,1],\\\"w-full \\\",[30,1],\\\"p-6 max-h-full scroll\\\"]]],[14,\\\"role\\\",\\\"dialog\\\"],[14,\\\"aria-modal\\\",\\\"true\\\"],[14,\\\"aria-labelledby\\\",\\\"modal-headline\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[15,0,[29,[[30,1],\\\"flex \\\",[30,1],\\\"items-start\\\"]]],[12],[1,\\\"\\\\n\\\"],[41,[30,4],[[[1,\\\"      \\\"],[10,0],[15,0,[29,[\\\"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 \\\",[30,1],\\\"mx-0 \\\",[30,1],\\\"h-10 \\\",[30,1],\\\"w-10\\\"]]],[12],[1,\\\"\\\\n        \\\"],[8,[39,5],[[24,0,\\\"h-10 w-10 text-red-600\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"exclamation-triangle\\\",\\\"fad\\\",2]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[10,0],[15,0,[29,[\\\"text-center \\\",[30,1],\\\"text-left w-full\\\"]]],[12],[1,\\\"\\\\n        \\\"],[18,8,null],[1,\\\"\\\\n        \\\"],[18,9,null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"],[41,[48,[30,10]],[[[1,\\\"    \\\"],[18,10,null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[10,0],[15,0,[29,[\\\"mt-5 \\\",[30,1],\\\"mt-4 \\\",[30,1],\\\"flex \\\",[30,1],\\\"flex-row-reverse\\\"]]],[12],[1,\\\"\\\\n\\\"],[41,[30,5],[[[1,\\\"      \\\"],[10,1],[15,0,[29,[\\\"flex w-full rounded-md shadow-sm \\\",[30,1],\\\"ml-3 \\\",[30,1],\\\"w-auto\\\"]]],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"inline-flex justify-center w-full rounded-md border border-transparent px-4 py-2 bg-red-600 leading-6 font-medium text-sm text-white shadow-sm hover:bg-red-500 \\\",[30,1],\\\"px-2 \\\",[30,1],\\\"py-1\\\"]]],[24,\\\"data-test-rr\\\",\\\"modal-dialog-confirm-button\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,5]],null],[12],[1,\\\"\\\\n          \\\"],[1,[30,6]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,7],[[[1,\\\"      \\\"],[10,1],[15,0,[29,[\\\"mt-3 flex w-full rounded-md shadow-sm \\\",[30,1],\\\"mt-0 \\\",[30,1],\\\"w-auto\\\"]]],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"inline-flex justify-center w-full rounded-md border border-gray-300 px-4 py-2 iom-bg-color leading-6 font-medium text-sm default-text shadow-sm hover:text-gray-500 \\\",[30,1],\\\"px-2 \\\",[30,1],\\\"py-1\\\"]]],[24,\\\"data-test-rr\\\",\\\"modal-dialog-cancel-button\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[30,7]],null],[12],[1,\\\"\\\\n          Cancel\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@deviceSizePrefix\\\",\\\"@onOverlayClick\\\",\\\"overlayClick\\\",\\\"@showIcon\\\",\\\"@onConfirm\\\",\\\"@buttonText\\\",\\\"@onCancel\\\",\\\"&header\\\",\\\"&body\\\",\\\"&buttons\\\"],false,[\\\"div\\\",\\\"let\\\",\\\"if\\\",\\\"noop\\\",\\\"on\\\",\\\"fa-icon\\\",\\\"yield\\\",\\\"has-block\\\",\\\"span\\\",\\\"button\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/modal-dialog.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/modal-dialog/creation\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{!-- app/components/modal-dialog/creation/template.hbs --}}\n  <ModalDialog::Error @showIcon={{false}} @onOverlayClick={{this.close}}\n      @image={{path \"/assets/images/guy-watching-clock.png\" }}\n      @message1=\"You're currently creating an element. Please close the creation window first or finish the creation\"\n      @buttonColor=\"bg-orange-500\" @buttonText=\"Close creation\" @buttonAction={{this.close}} />\n  */\n  {\n    \"id\": \"3Xw7hQW8\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@showIcon\\\",\\\"@onOverlayClick\\\",\\\"@image\\\",\\\"@message1\\\",\\\"@buttonColor\\\",\\\"@buttonText\\\",\\\"@buttonAction\\\"],[false,[30,0,[\\\"close\\\"]],[28,[37,1],[\\\"/assets/images/guy-watching-clock.png\\\"],null],\\\"You're currently creating an element. Please close the creation window first or finish the creation\\\",\\\"bg-orange-500\\\",\\\"Close creation\\\",[30,0,[\\\"close\\\"]]]],null]],[],false,[\\\"modal-dialog/error\\\",\\\"path\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/modal-dialog/creation.hbs\",\n    \"isStrictMode\": false\n  });\n  // app/components/modal-dialog/error/session/component.js\n  let CreationModalDialog = _exports.default = (_class = class CreationModalDialog extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"creationService\", _descriptor, this);\n    }\n    close() {\n      this.creationService.closeOutlookDialog();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"creationService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, CreationModalDialog);\n});","define(\"io-mail-assistant/components/modal-dialog/delete\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{!-- app/components/modal-dialog/delete/template.hbs --}}\n  <ModalDialog @showIcon={{true}} @buttonText=\"Delete\" @onOverlayClick={{@onCancel}} @onConfirm={{@onConfirm}}\n      @onCancel={{@onCancel}} @deviceSizePrefix=\"md:\">\n      <:header>\n          <h3 class=\"text-sm leading-6 font-medium text-gray-900\">\n              {{@headerText}}\n          </h3>\n      </:header>\n      <:body>\n          <p class=\"text-sm leading-5 text-gray-500\">\n              Are you sure you want to delete \" {{@modelName}} \"?\n          </p>\n      </:body>\n  </ModalDialog>\n  */\n  {\n    \"id\": \"b+OklBHF\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@showIcon\\\",\\\"@buttonText\\\",\\\"@onOverlayClick\\\",\\\"@onConfirm\\\",\\\"@onCancel\\\",\\\"@deviceSizePrefix\\\"],[true,\\\"Delete\\\",[30,1],[30,2],[30,1],\\\"md:\\\"]],[[\\\"header\\\",\\\"body\\\"],[[[[1,\\\"\\\\n        \\\"],[10,\\\"h3\\\"],[14,0,\\\"text-sm leading-6 font-medium text-gray-900\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[30,3]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n    \\\"]],[]],[[[1,\\\"\\\\n        \\\"],[10,2],[14,0,\\\"text-sm leading-5 text-gray-500\\\"],[12],[1,\\\"\\\\n            Are you sure you want to delete \\\\\\\" \\\"],[1,[30,4]],[1,\\\" \\\\\\\"?\\\\n        \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]]],[\\\"@onCancel\\\",\\\"@onConfirm\\\",\\\"@headerText\\\",\\\"@modelName\\\"],false,[\\\"modal-dialog\\\",\\\":header\\\",\\\"h3\\\",\\\":body\\\",\\\"p\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/modal-dialog/delete.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/modal-dialog/error\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{!-- app/components/modal-dialog/error/template.hbs --}}\n  <ModalDialog @showIcon={{@showIcon}} @onOverlayClick={{@onOverlayClick}}>\n      <:body>\n          <div class=\"flex items-center\">\n              <div class=\"flex-initial\">\n                  <img ...attributes aria-hidden=\"true\" src=\"{{@image}}\" class=\"object-contain h-80 w-52 pr-2\" />\n              </div>\n              <div class=\"flex-initial text-left\">\n                  <div>\n                      {{@message1}}\n                      {{#if @link1URL}}\n                      <a href={{@link1URL}} target=\"_blank\" rel=\"noopener noreferrer\"\n                          class=\"text-io-orange\">{{@link1Text}}</a>\n                      {{/if}}\n                      {{@message2}}\n                  </div>\n                  <button\n                      class=\"flex items-center {{@buttonColor}} text-white font-medium py-1 px-4 rounded-md shadow-md mt-2 \"\n                      type=\"submit\" {{on \"click\" @buttonAction}}>\n                      {{@buttonText}}\n                  </button>\n                  {{#if @linkButtonAction}} \n                  <div class=\"text-left mt-4\">\n                      {{@linkButtonMessage}}\n                      <button\n                          class=\"text-sm text-blue-600 hover:text-blue-800 font-medium\"\n                          type=\"submit\" {{on \"click\" @linkButtonAction}}>\n                          {{@linkButtonText}}\n                      </button>\n                  </div>\n                  {{/if}}\n              </div>\n          </div>\n      </:body>\n  </ModalDialog>\n  */\n  {\n    \"id\": \"bYB5HRZI\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@showIcon\\\",\\\"@onOverlayClick\\\"],[[30,1],[30,2]]],[[\\\"body\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex-initial\\\"],[12],[1,\\\"\\\\n                \\\"],[11,\\\"img\\\"],[17,3],[24,\\\"aria-hidden\\\",\\\"true\\\"],[16,\\\"src\\\",[29,[[30,4]]]],[24,0,\\\"object-contain h-80 w-52 pr-2\\\"],[12],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex-initial text-left\\\"],[12],[1,\\\"\\\\n                \\\"],[10,0],[12],[1,\\\"\\\\n                    \\\"],[1,[30,5]],[1,\\\"\\\\n\\\"],[41,[30,6],[[[1,\\\"                    \\\"],[10,3],[15,6,[30,6]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"text-io-orange\\\"],[12],[1,[30,7]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"                    \\\"],[1,[30,8]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"flex items-center \\\",[30,9],\\\" text-white font-medium py-1 px-4 rounded-md shadow-md mt-2 \\\"]]],[24,4,\\\"submit\\\"],[4,[38,7],[\\\"click\\\",[30,10]],null],[12],[1,\\\"\\\\n                    \\\"],[1,[30,11]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,12],[[[1,\\\"                \\\"],[10,0],[14,0,\\\"text-left mt-4\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[30,13]],[1,\\\"\\\\n                    \\\"],[11,\\\"button\\\"],[24,0,\\\"text-sm text-blue-600 hover:text-blue-800 font-medium\\\"],[24,4,\\\"submit\\\"],[4,[38,7],[\\\"click\\\",[30,12]],null],[12],[1,\\\"\\\\n                        \\\"],[1,[30,14]],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"            \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]]],[\\\"@showIcon\\\",\\\"@onOverlayClick\\\",\\\"&attrs\\\",\\\"@image\\\",\\\"@message1\\\",\\\"@link1URL\\\",\\\"@link1Text\\\",\\\"@message2\\\",\\\"@buttonColor\\\",\\\"@buttonAction\\\",\\\"@buttonText\\\",\\\"@linkButtonAction\\\",\\\"@linkButtonMessage\\\",\\\"@linkButtonText\\\"],false,[\\\"modal-dialog\\\",\\\":body\\\",\\\"div\\\",\\\"img\\\",\\\"if\\\",\\\"a\\\",\\\"button\\\",\\\"on\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/modal-dialog/error.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/modal-dialog/error/licensing\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"io-mail-assistant/config/environment\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _environment, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"io-mail-assistant/config/environment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{!-- app/components/modal-dialog/error/licensing/template.hbs --}}\n  <ModalDialog::Error @showIcon={{false}} @onOverlayClick={{this.close}}\n      @image={{path \"/assets/images/guy-watching-clock.png\" }}\n      @message1=\"Your trial period has expired or you don't have a valid license. You need a valid\"\n      @link1URL=\"https://iosxpert.biz/en/dayliteplus-crm-mac/\"\n      @link1Text=\"PlusPackage for Daylite or iOMailAssistant Plugin\" @message2=\"license to use iOMailAssistant.\"\n      @buttonText=\"Learn more\" @buttonAction={{this.licensingMore}} @buttonColor=\"bg-green-500\">\n  </ModalDialog::Error>\n  */\n  {\n    \"id\": \"CrFCWAeq\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@showIcon\\\",\\\"@onOverlayClick\\\",\\\"@image\\\",\\\"@message1\\\",\\\"@link1URL\\\",\\\"@link1Text\\\",\\\"@message2\\\",\\\"@buttonText\\\",\\\"@buttonAction\\\",\\\"@buttonColor\\\"],[false,[30,0,[\\\"close\\\"]],[28,[37,1],[\\\"/assets/images/guy-watching-clock.png\\\"],null],\\\"Your trial period has expired or you don't have a valid license. You need a valid\\\",\\\"https://iosxpert.biz/en/dayliteplus-crm-mac/\\\",\\\"PlusPackage for Daylite or iOMailAssistant Plugin\\\",\\\"license to use iOMailAssistant.\\\",\\\"Learn more\\\",[30,0,[\\\"licensingMore\\\"]],\\\"bg-green-500\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"]],[]]]]]],[],false,[\\\"modal-dialog/error\\\",\\\"path\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/modal-dialog/error/licensing.hbs\",\n    \"isStrictMode\": false\n  });\n  // app/components/modal-dialog/error/licensing/component.js\n  let LicensingErrorModalDialog = _exports.default = (_class = class LicensingErrorModalDialog extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n    }\n    close() {\n      this.sessionService.showLicensingErrorModal = false;\n      this.sessionService.invalidate();\n      // window.location.reload(true);\n      // eslint-disable-next-line no-undef\n      Missive.reload(true);\n    }\n    licensingMore() {\n      this.close();\n      let url = 'https://support.iosxpert.biz/hc/en-us/articles/12297671612444/';\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"licensingMore\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"licensingMore\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, LicensingErrorModalDialog);\n});","define(\"io-mail-assistant/components/modal-dialog/error/session\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"io-mail-assistant/config/environment\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _environment, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"io-mail-assistant/config/environment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{!-- app/components/modal-dialog/error/session/template.hbs --}}\n  <ModalDialog::Error @showIcon={{false}} @onOverlayClick={{this.close}} @image={{path \"/assets/images/guy-plug.png\" }}\n      @message1={{breaklines this.message}} @linkButtonMessage=\"If refresh didn’t work, try \"\n      @linkButtonText=\"return to login.\" @linkButtonAction={{this.returnToLogin}} @buttonColor=\"bg-red-500\"\n      @buttonText=\"Refresh\" @buttonAction={{this.close}} />\n  */\n  {\n    \"id\": \"M6znO9ad\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@showIcon\\\",\\\"@onOverlayClick\\\",\\\"@image\\\",\\\"@message1\\\",\\\"@linkButtonMessage\\\",\\\"@linkButtonText\\\",\\\"@linkButtonAction\\\",\\\"@buttonColor\\\",\\\"@buttonText\\\",\\\"@buttonAction\\\"],[false,[30,0,[\\\"close\\\"]],[28,[37,1],[\\\"/assets/images/guy-plug.png\\\"],null],[28,[37,2],[[30,0,[\\\"message\\\"]]],null],\\\"If refresh didn’t work, try \\\",\\\"return to login.\\\",[30,0,[\\\"returnToLogin\\\"]],\\\"bg-red-500\\\",\\\"Refresh\\\",[30,0,[\\\"close\\\"]]]],null]],[],false,[\\\"modal-dialog/error\\\",\\\"path\\\",\\\"breaklines\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/modal-dialog/error/session.hbs\",\n    \"isStrictMode\": false\n  });\n  // app/components/modal-dialog/error/session/component.js\n  let SessionErrorModalDialog = _exports.default = (_class = class SessionErrorModalDialog extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n    }\n    close() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.reload(true);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.location.reload(true);\n      }\n    }\n    get message() {\n      return this.sessionService.sessionErrorModalMessage;\n    }\n    returnToLogin() {\n      this.close();\n      this.sessionService.invalidate();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"returnToLogin\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"returnToLogin\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, SessionErrorModalDialog);\n});","define(\"io-mail-assistant/components/modal-dialog/login\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"io-mail-assistant/config/environment\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _environment, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"io-mail-assistant/config/environment\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <ModalDialog::Error @showIcon={{false}} @onOverlayClick={{this.close}}\n      @image={{path \"/assets/images/guy-watching-clock.png\" }} @message1={{breaklines this.message}}\n      @buttonColor=\"bg-green-500\" @buttonText=\"Continue\" @buttonAction={{this.close}} />\n  */\n  {\n    \"id\": \"7sZiguqC\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@showIcon\\\",\\\"@onOverlayClick\\\",\\\"@image\\\",\\\"@message1\\\",\\\"@buttonColor\\\",\\\"@buttonText\\\",\\\"@buttonAction\\\"],[false,[30,0,[\\\"close\\\"]],[28,[37,1],[\\\"/assets/images/guy-watching-clock.png\\\"],null],[28,[37,2],[[30,0,[\\\"message\\\"]]],null],\\\"bg-green-500\\\",\\\"Continue\\\",[30,0,[\\\"close\\\"]]]],null]],[],false,[\\\"modal-dialog/error\\\",\\\"path\\\",\\\"breaklines\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/modal-dialog/login.hbs\",\n    \"isStrictMode\": false\n  });\n  // app/components/modal-dialog/error/session/component.js\n  let LoginModalDialog = _exports.default = (_class = class LoginModalDialog extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n    }\n    close() {\n      this.sessionService.isOpeningDayliteAuth = false;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.reload(true);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.location.reload(true);\n      }\n    }\n    get message() {\n      return 'To proceed with the registration, log in with your Daylite account in the new window. After that please click \"Continue\".';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, LoginModalDialog);\n});","define(\"io-mail-assistant/components/modal-dialog/preferences\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <ModalDialog @onOverlayClick={{this.close}}>\n    <:body>\n      {{did-insert-helper this.preferenceService.setup}}\n      <div class=\"flex flex-col\">\n        <span class=\"text-center w-full border-b iom-border-light-color pb-2\">Preferences</span>\n      </div>\n      <div class=\"flex pt-2 gap-2 items-center justify-center\">\n        <label for=\"autosave\" class=\"text-sm font-medium\">Auto save</label>\n        <select id=\"autosave\"\n          class=\"iom-dropdown iom-list-bg-color border iom-border-color text-sm rounded-md focus:ring-blue-500 focus:border-blue-500 block h-6\"\n          {{on \"change\" this.preferenceService.autosaveOptionChanged}}>\n          <option selected={{eq this.preferenceService.autosave true}} value=\"true\">Yes</option>\n          <option selected={{eq this.preferenceService.autosave false}} value=\"false\">No</option>\n        </select>\n      </div>\n    </:body>\n  </ModalDialog>\n  */\n  {\n    \"id\": \"251Gzt6F\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@onOverlayClick\\\"],[[30,0,[\\\"close\\\"]]]],[[\\\"body\\\"],[[[[1,\\\"\\\\n    \\\"],[1,[28,[35,2],[[30,0,[\\\"preferenceService\\\",\\\"setup\\\"]]],null]],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex flex-col\\\"],[12],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"text-center w-full border-b iom-border-light-color pb-2\\\"],[12],[1,\\\"Preferences\\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex pt-2 gap-2 items-center justify-center\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"autosave\\\"],[14,0,\\\"text-sm font-medium\\\"],[12],[1,\\\"Auto save\\\"],[13],[1,\\\"\\\\n      \\\"],[11,\\\"select\\\"],[24,1,\\\"autosave\\\"],[24,0,\\\"iom-dropdown iom-list-bg-color border iom-border-color text-sm rounded-md focus:ring-blue-500 focus:border-blue-500 block h-6\\\"],[4,[38,7],[\\\"change\\\",[30,0,[\\\"preferenceService\\\",\\\"autosaveOptionChanged\\\"]]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"option\\\"],[15,\\\"selected\\\",[28,[37,9],[[30,0,[\\\"preferenceService\\\",\\\"autosave\\\"]],true],null]],[14,2,\\\"true\\\"],[12],[1,\\\"Yes\\\"],[13],[1,\\\"\\\\n        \\\"],[10,\\\"option\\\"],[15,\\\"selected\\\",[28,[37,9],[[30,0,[\\\"preferenceService\\\",\\\"autosave\\\"]],false],null]],[14,2,\\\"false\\\"],[12],[1,\\\"No\\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]]]],[],false,[\\\"modal-dialog\\\",\\\":body\\\",\\\"did-insert-helper\\\",\\\"div\\\",\\\"span\\\",\\\"label\\\",\\\"select\\\",\\\"on\\\",\\\"option\\\",\\\"eq\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/modal-dialog/preferences.hbs\",\n    \"isStrictMode\": false\n  });\n  // app/components/modal-dialog/error/session/component.js\n  let PreferencesModalDialog = _exports.default = (_class = class PreferencesModalDialog extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"preferenceService\", _descriptor, this);\n    }\n    close() {\n      this.preferenceService.closePreferences();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"preferenceService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PreferencesModalDialog);\n});","define(\"io-mail-assistant/components/utils/iom-button\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <button class=\"flex items-center default-text p-2 rounded-md h-6 iom-button iom-textcolor-b\" type=\"button\" {{on \"click\"\n      @action}} title={{@tooltip}}>\n      <FaIcon @icon={{@icon}} @prefix=\"fal\" />\n      {{#if @title}}\n      <span class=\"pl-2 pr-2\">{{@title}}</span>\n      {{/if}}\n  </button>\n  */\n  {\n    \"id\": \"aTqPjAow\",\n    \"block\": \"[[[11,\\\"button\\\"],[24,0,\\\"flex items-center default-text p-2 rounded-md h-6 iom-button iom-textcolor-b\\\"],[16,\\\"title\\\",[30,1]],[24,4,\\\"button\\\"],[4,[38,1],[\\\"click\\\",[30,2]],null],[12],[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@icon\\\",\\\"@prefix\\\"],[[30,3],\\\"fal\\\"]],null],[1,\\\"\\\\n\\\"],[41,[30,4],[[[1,\\\"    \\\"],[10,1],[14,0,\\\"pl-2 pr-2\\\"],[12],[1,[30,4]],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@tooltip\\\",\\\"@action\\\",\\\"@icon\\\",\\\"@title\\\"],false,[\\\"button\\\",\\\"on\\\",\\\"fa-icon\\\",\\\"if\\\",\\\"span\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/utils/iom-button.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"io-mail-assistant/components/utils/notification-box\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"ember-lifeline\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _emberLifeline, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"ember-lifeline\",0,\"@ember/template-factory\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"absolute top-2 left-1/2 transform -translate-x-1/2 w-8/12 z-50\">\n    {{!-- hidden box for making sure bg-failure gets imported by dynamic loading css --}}\n    <div class=\"bg-failure hidden bg-failure\"></div>\n    {{#each this.notificationHandler.notifications as |notification|}}\n    {{did-insert-helper (fn this.startCloseTimer notification)}}\n    <div class=\"alert-banner animate-fade-in-down mb-2\">\n      <input type=\"checkbox\" class=\"hidden\" id=\"banneralert\" {{on \"click\" (fn this.closeNotificationBox notification)}} />\n      <label\n        class=\"p-2 cursor-pointer flex items-center justify-between inset-x-0 shadow-xl w-full md:w-10/12 mx-auto rounded-lg rounded-t-nonep-2 {{notification.notificationSettings.colorStyle}} shadow break-all\"\n        for=\"banneralert\">\n        {{#if notification.status}}Status {{notification.status}} - {{/if}}{{notification.message}}\n        <svg class=\"fill-current text-white\" xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\"\n          viewBox=\"0 0 18 18\">\n          <path\n            d=\"M14.53 4.53l-1.06-1.06L9 7.94 4.53 3.47 3.47 4.53 7.94 9l-4.47 4.47 1.06 1.06L9 10.06l4.47 4.47 1.06-1.06L10.06 9z\">\n          </path>\n        </svg>\n      </label>\n    </div>\n    {{/each}}\n  </div>\n  */\n  {\n    \"id\": \"VbZyT+LB\",\n    \"block\": \"[[[10,0],[14,0,\\\"absolute top-2 left-1/2 transform -translate-x-1/2 w-8/12 z-50\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\"  \\\"],[10,0],[14,0,\\\"bg-failure hidden bg-failure\\\"],[12],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"notificationHandler\\\",\\\"notifications\\\"]]],null]],null],null,[[[1,\\\"  \\\"],[1,[28,[35,3],[[28,[37,4],[[30,0,[\\\"startCloseTimer\\\"]],[30,1]],null]],null]],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"alert-banner animate-fade-in-down mb-2\\\"],[12],[1,\\\"\\\\n    \\\"],[11,\\\"input\\\"],[24,0,\\\"hidden\\\"],[24,1,\\\"banneralert\\\"],[24,4,\\\"checkbox\\\"],[4,[38,6],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"closeNotificationBox\\\"]],[30,1]],null]],null],[12],[13],[1,\\\"\\\\n    \\\"],[10,\\\"label\\\"],[15,0,[29,[\\\"p-2 cursor-pointer flex items-center justify-between inset-x-0 shadow-xl w-full md:w-10/12 mx-auto rounded-lg rounded-t-nonep-2 \\\",[30,1,[\\\"notificationSettings\\\",\\\"colorStyle\\\"]],\\\" shadow break-all\\\"]]],[14,\\\"for\\\",\\\"banneralert\\\"],[12],[1,\\\"\\\\n      \\\"],[41,[30,1,[\\\"status\\\"]],[[[1,\\\"Status \\\"],[1,[30,1,[\\\"status\\\"]]],[1,\\\" - \\\"]],[]],null],[1,[30,1,[\\\"message\\\"]]],[1,\\\"\\\\n      \\\"],[10,\\\"svg\\\"],[14,0,\\\"fill-current text-white\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"width\\\",\\\"18\\\"],[14,\\\"height\\\",\\\"18\\\"],[14,\\\"viewBox\\\",\\\"0 0 18 18\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14.53 4.53l-1.06-1.06L9 7.94 4.53 3.47 3.47 4.53 7.94 9l-4.47 4.47 1.06 1.06L9 10.06l4.47 4.47 1.06-1.06L10.06 9z\\\"],[12],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[13]],[\\\"notification\\\"],false,[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"did-insert-helper\\\",\\\"fn\\\",\\\"input\\\",\\\"on\\\",\\\"label\\\",\\\"if\\\",\\\"svg\\\",\\\"path\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/components/utils/notification-box.hbs\",\n    \"isStrictMode\": false\n  });\n  let UtilsNotificationBoxComponent = _exports.default = (_class = class UtilsNotificationBoxComponent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"notificationHandler\", _descriptor2, this);\n    }\n    closeNotificationBox(alert) {\n      (0, _emberLifeline.runTask)(this, () => {\n        this.notificationHandler.remove(alert);\n      }, 300);\n    }\n    startCloseTimer(alert) {\n      (0, _emberLifeline.runTask)(this, () => {\n        this.notificationHandler.remove(alert);\n      }, 5000);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"notificationHandler\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"closeNotificationBox\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeNotificationBox\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"startCloseTimer\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"startCloseTimer\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, UtilsNotificationBoxComponent);\n});","define(\"io-mail-assistant/components/welcome-page\", [\"exports\", \"ember-welcome-page/components/welcome-page\"], function (_exports, _welcomePage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _welcomePage.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-welcome-page/components/welcome-page\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/controllers/application\", [\"exports\", \"@ember/controller\", \"@ember/service\"], function (_exports, _controller, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ApplicationController = _exports.default = (_class = class ApplicationController extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"dataService\", _descriptor, this);\n      _initializerDefineProperty(this, \"debugService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"logService\", _descriptor3, this);\n      _initializerDefineProperty(this, \"preferenceService\", _descriptor4, this);\n      this.dataService.setup();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"dataService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"debugService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"logService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"preferenceService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/controllers/iom\", [\"exports\", \"@ember/controller\", \"@ember/service\"], function (_exports, _controller, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let IomController = _exports.default = (_class = class IomController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n      _initializerDefineProperty(this, \"dataService\", _descriptor2, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"dataService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/controllers/login\", [\"exports\", \"@ember/controller\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"io-mail-assistant/config/environment\"], function (_exports, _controller, _service, _object, _tracking, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let LoginController = _exports.default = (_class = class LoginController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _initializerDefineProperty(this, \"showAlert\", _descriptor3, this);\n      _initializerDefineProperty(this, \"error\", _descriptor4, this);\n    }\n    async signIn(formData) {\n      await this.sessionService.signInWithEmailAndPassword(formData.emailaddress, formData.password);\n      if (this.sessionService != this.sessionService.isOpeningDayliteAuth) {\n        this.router.refresh();\n      }\n    }\n    resetPassword() {\n      this.router.transitionTo('reset');\n    }\n    register() {\n      let url = 'https://support.iosxpert.biz/hc/en-us/articles/4408067537554';\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    accountHelp() {\n      let url = 'https://support.iosxpert.biz/hc/en-us/articles/4408067537554';\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    get isOutlook() {\n      return _environment.default.AssistantIdentifier === 'outlook';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"showAlert\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"error\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"signIn\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"signIn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resetPassword\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetPassword\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"register\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"register\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"accountHelp\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"accountHelp\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/controllers/reset\", [\"exports\", \"@ember/controller\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\"], function (_exports, _controller, _service, _object, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ResetController = _exports.default = (_class = class ResetController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _initializerDefineProperty(this, \"showAlert\", _descriptor3, this);\n      _initializerDefineProperty(this, \"emailSent\", _descriptor4, this);\n      _initializerDefineProperty(this, \"errors\", _descriptor5, this);\n    }\n    resetPassword(formData) {\n      this.sessionService.sendPasswordResetEmail(formData.emailaddress).then(() => {\n        this.emailSent = true;\n      }).catch(() => {\n        this.emailSent = false;\n      });\n    }\n    backToLogin() {\n      this.emailSent = false;\n      this.router.transitionTo('login');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"showAlert\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"emailSent\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"errors\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"resetPassword\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"resetPassword\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"backToLogin\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"backToLogin\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/data-adapter\", [\"exports\", \"@ember-data/debug/data-adapter\"], function (_exports, _dataAdapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _dataAdapter.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/debug/data-adapter\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/font-awesome\", [\"@fortawesome/fontawesome-svg-core\", \"@fortawesome/free-regular-svg-icons\", \"@fortawesome/free-brands-svg-icons\", \"@fortawesome/free-solid-svg-icons\", \"@fortawesome/pro-solid-svg-icons\", \"@fortawesome/pro-light-svg-icons\", \"@fortawesome/pro-duotone-svg-icons\", \"@awesome.me/kit-3bb1a4d690/icons\", \"@fortawesome/fontawesome-svg-core/styles.css\"], function (_fontawesomeSvgCore, _freeRegularSvgIcons, _freeBrandsSvgIcons, _freeSolidSvgIcons, _proSolidSvgIcons, _proLightSvgIcons, _proDuotoneSvgIcons, _icons, _styles) {\n  \"use strict\";\n\n  0; //eaimeta@70e063a35619d71f0,\"@fortawesome/fontawesome-svg-core\",0,\"@fortawesome/free-regular-svg-icons\",0,\"@fortawesome/free-brands-svg-icons\",0,\"@fortawesome/free-solid-svg-icons\",0,\"@fortawesome/pro-solid-svg-icons\",0,\"@fortawesome/pro-light-svg-icons\",0,\"@fortawesome/pro-light-svg-icons\",0,\"@fortawesome/pro-duotone-svg-icons\",0,\"@awesome.me/kit-3bb1a4d690/icons\",0,\"@fortawesome/fontawesome-svg-core\",0,\"@fortawesome/fontawesome-svg-core/styles.css\"eaimeta@70e063a35619d71f\n  _fontawesomeSvgCore.library.add(_freeRegularSvgIcons.faComment, _freeBrandsSvgIcons.faFacebook, _freeSolidSvgIcons.faKeyboard);\n  _fontawesomeSvgCore.library.add(_proSolidSvgIcons.faBadgePercent, _proSolidSvgIcons.faBan, _proSolidSvgIcons.faBuilding, _proSolidSvgIcons.faBuildings, _proSolidSvgIcons.faCheck, _proSolidSvgIcons.faCheckDouble, _proSolidSvgIcons.faChevronRight, _proSolidSvgIcons.faChevronsRight, _proSolidSvgIcons.faChevronsUp, _proSolidSvgIcons.faCircle, _proSolidSvgIcons.faCircleDollar, _proSolidSvgIcons.faClock, _proSolidSvgIcons.faDoNotEnter, _proSolidSvgIcons.faFlag, _proSolidSvgIcons.faFlagCheckered, _proSolidSvgIcons.faGlobe, _proSolidSvgIcons.faHammer, _proSolidSvgIcons.faHouse, _proSolidSvgIcons.faIndustry, _proSolidSvgIcons.faInfo, _proSolidSvgIcons.faInfoCircle, _proSolidSvgIcons.faLocationDot, _proSolidSvgIcons.faPenCircle, _proSolidSvgIcons.faPhone, _proSolidSvgIcons.faPlus, _proSolidSvgIcons.faSpinnerThird, _proSolidSvgIcons.faStopwatch, _proSolidSvgIcons.faTrafficLight, _proSolidSvgIcons.faUser);\n  _fontawesomeSvgCore.library.add(_proLightSvgIcons.faChevronDown, _proLightSvgIcons.faPlus);\n  _fontawesomeSvgCore.library.add(_proLightSvgIcons.faArrowRightFromBracket, _proLightSvgIcons.faBug, _proLightSvgIcons.faCheck, _proLightSvgIcons.faChevronUp, _proLightSvgIcons.faCircleQuestion, _proLightSvgIcons.faClock, _proLightSvgIcons.faCopy, _proLightSvgIcons.faGear, _proLightSvgIcons.faLoader, _proLightSvgIcons.faNotebook, _proLightSvgIcons.faRotateRight, _proLightSvgIcons.faSpinnerThird, _proLightSvgIcons.faTrash, _proLightSvgIcons.faXmark);\n  _fontawesomeSvgCore.library.add(_proDuotoneSvgIcons.faCheck, _proDuotoneSvgIcons.faExclamationTriangle, _proDuotoneSvgIcons.faSpinnerThird);\n  console.log(_icons.all);\n  _fontawesomeSvgCore.library.add(_icons.all);\n  _fontawesomeSvgCore.config.autoAddCss = false;\n});","define(\"io-mail-assistant/helpers/-base\", [\"exports\", \"ember-moment/helpers/-base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _base.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/-base\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/and\", [\"exports\", \"ember-truth-helpers/helpers/and\"], function (_exports, _and) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _and.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/and\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/app-version\", [\"exports\", \"@ember/component/helper\", \"io-mail-assistant/config/environment\", \"ember-cli-app-version/utils/regexp\"], function (_exports, _helper, _environment, _regexp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.appVersion = appVersion;\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"io-mail-assistant/config/environment\",0,\"ember-cli-app-version/utils/regexp\"eaimeta@70e063a35619d71f\n  function appVersion(_, hash = {}) {\n    const version = _environment.default.APP.version;\n    // e.g. 1.0.0-alpha.1+4jds75hf\n\n    // Allow use of 'hideSha' and 'hideVersion' For backwards compatibility\n    let versionOnly = hash.versionOnly || hash.hideSha;\n    let shaOnly = hash.shaOnly || hash.hideVersion;\n    let match = null;\n    if (versionOnly) {\n      if (hash.showExtended) {\n        match = version.match(_regexp.versionExtendedRegExp); // 1.0.0-alpha.1\n      }\n      // Fallback to just version\n      if (!match) {\n        match = version.match(_regexp.versionRegExp); // 1.0.0\n      }\n    }\n    if (shaOnly) {\n      match = version.match(_regexp.shaRegExp); // 4jds75hf\n    }\n    return match ? match[0] : version;\n  }\n  var _default = _exports.default = (0, _helper.helper)(appVersion);\n});","define(\"io-mail-assistant/helpers/append\", [\"exports\", \"ember-composable-helpers/helpers/append\"], function (_exports, _append) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"append\", {\n    enumerable: true,\n    get: function () {\n      return _append.append;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _append.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/append\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/appointment-show-as-formatter\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _helper.helper)(function appointmentShowAsFormatter(positional /*, named*/) {\n    const [value] = positional;\n    switch (value) {\n      case 'free':\n        return 'Free';\n      case 'busy':\n        return 'Busy';\n      default:\n        return value;\n    }\n  });\n});","define(\"io-mail-assistant/helpers/breaklines\", [\"exports\", \"@ember/component/helper\", \"@ember/template\"], function (_exports, _helper, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.breaklines = breaklines;\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/template\"eaimeta@70e063a35619d71f\n  function breaklines(params, hash) {\n    const [str] = params;\n    const {\n      lineCount\n    } = hash;\n    let count = 2;\n    if (lineCount) {\n      count = lineCount;\n    }\n    let div = document.createElement('div');\n    str.split('\\n').forEach(str => {\n      div.appendChild(document.createTextNode(str));\n      for (let index = 0; index < count; index++) {\n        div.appendChild(document.createElement('br'));\n      }\n    });\n    return (0, _template.htmlSafe)(div.innerHTML);\n  }\n  var _default = _exports.default = (0, _helper.helper)(breaklines);\n});","define(\"io-mail-assistant/helpers/call\", [\"exports\", \"ember-composable-helpers/helpers/call\"], function (_exports, _call) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"call\", {\n    enumerable: true,\n    get: function () {\n      return _call.call;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _call.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/call\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/chunk\", [\"exports\", \"ember-composable-helpers/helpers/chunk\"], function (_exports, _chunk) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"chunk\", {\n    enumerable: true,\n    get: function () {\n      return _chunk.chunk;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _chunk.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/chunk\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/compact\", [\"exports\", \"ember-composable-helpers/helpers/compact\"], function (_exports, _compact) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _compact.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/compact\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/compute\", [\"exports\", \"ember-composable-helpers/helpers/compute\"], function (_exports, _compute) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"compute\", {\n    enumerable: true,\n    get: function () {\n      return _compute.compute;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _compute.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/compute\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/daylite-status-formatter\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _helper.helper)(function dayliteStatusFormatter(positional, addition) {\n    const [value] = positional;\n    const {\n      entity\n    } = addition;\n    switch (entity) {\n      case 'opportunity':\n        switch (value) {\n          case 'open':\n            return 'Open';\n          case 'won':\n            return 'Won';\n          case 'suspended':\n            return 'Suspended';\n          case 'abandoned':\n            return 'Abandoned';\n          case 'lost':\n            return 'Lost';\n        }\n        break;\n      case 'project':\n        switch (value) {\n          case 'new':\n            return 'New';\n          case 'in_progress':\n            return 'In progress';\n          case 'done':\n            return 'Done';\n          case 'abandoned':\n            return 'Abandoned';\n          case 'cancelled':\n            return 'Cancelled';\n          case 'deferred':\n            return 'Deferred';\n        }\n        break;\n      case 'task':\n        switch (value) {\n          case 'open':\n            return 'Open';\n          case 'pending':\n            return 'Pending';\n          case 'in_progress':\n            return 'In progress';\n          case 'done':\n            return 'Done';\n          case 'cancelled':\n            return 'Cancelled';\n          case 'deferred':\n            return 'Deferred';\n        }\n        break;\n      case 'appointment':\n        switch (value) {\n          case 'other':\n            return 'Other';\n          case 'confirmed':\n            return 'Confirmed';\n          case 'postponed':\n            return 'Postponed';\n          case 'completed':\n            return 'Completed';\n          case 'cancelled':\n            return 'Cancelled';\n          case 'tentative':\n            return 'Tentative';\n        }\n        break;\n      default:\n        return value;\n    }\n  });\n});","define(\"io-mail-assistant/helpers/daylite-type-formatter\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _helper.helper)(function dayliteTypeFormatter(positional, addition) {\n    const [value] = positional;\n    const {\n      entity\n    } = addition;\n    switch (entity) {\n      case 'appointment':\n        switch (value) {\n          case 'appointment':\n            return 'Appointment';\n          case 'inbound_call':\n            return 'Inbound call';\n          case 'outbound_call':\n            return 'Outbound call';\n          case 'chat':\n            return 'Chat';\n          case 'vacation':\n            return 'Vacation';\n          case 'meeting':\n            return 'Meeting';\n          case 'video':\n            return 'Video';\n          case 'event':\n            return 'Event';\n          default:\n            return value;\n        }\n      case 'task':\n        switch (value) {\n          case 'todo':\n            return 'To Do';\n          case 'inbound_call':\n            return 'Inbound call';\n          case 'outbound_call':\n            return 'Outbound call';\n          case 'fax':\n            return 'Fax';\n          case 'email':\n            return 'Email';\n          case 'mail':\n            return 'Mail';\n          case 'print':\n            return 'Print';\n          default:\n            return value;\n        }\n      default:\n        return value;\n    }\n  });\n});","define(\"io-mail-assistant/helpers/dec\", [\"exports\", \"ember-composable-helpers/helpers/dec\"], function (_exports, _dec) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"dec\", {\n    enumerable: true,\n    get: function () {\n      return _dec.dec;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _dec.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/dec\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/detect-url\", [\"exports\", \"@ember/component/helper\", \"@ember/template\", \"@ember/utils\"], function (_exports, _helper, _template, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/template\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  const parsingURLs = str => {\n    if (typeof str !== 'string' && 'string' in str) {\n      str = str.string;\n    }\n    if (str.length > 0) {\n      let splittedByNewLine = str.split('<br>');\n      const regex = /((http|ftp|https)?:\\/\\/.)?(www\\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_;+.~#?&//=]*)/gi;\n      // first split by lines\n      splittedByNewLine.forEach((linePart, lineIndex) => {\n        // first split by space\n        let splittedBySpace = linePart.split(' ');\n        splittedBySpace.forEach((spacePart, spaceIndex) => {\n          // detect for a single space part if they are link compatible\n          let matches = spacePart.match(regex);\n          if ((0, _utils.isEmpty)(matches)) {\n            // check for :// this should be a char set which is only used by urls. Mostly used for in-app / deep links\n            if (spacePart.includes('://')) {\n              let newPart = replacementWithAnchorLink(spacePart, spacePart);\n              splittedBySpace[spaceIndex] = newPart;\n            }\n          } else {\n            matches?.forEach(element => {\n              let newPart = replacementWithAnchorLink(spacePart, element);\n              splittedBySpace[spaceIndex] = newPart;\n            });\n          }\n        });\n        splittedByNewLine[lineIndex] = splittedBySpace.join(' ');\n      });\n      return (0, _template.htmlSafe)(splittedByNewLine.join('<br>'));\n    }\n    return (0, _template.htmlSafe)(str);\n  };\n  const stringToURL = str => {\n    var a = document.createElement('a');\n    a.href = str;\n    let url = str;\n    if (!url.includes(a.protocol)) {\n      let protocol = a.protocol;\n      //check if it's an email address\n      let emailMatches = url.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\\.[a-zA-Z0-9._-]+)/gi);\n      if (!(0, _utils.isEmpty)(emailMatches)) {\n        protocol = 'mailto:';\n      }\n      url = `${protocol}//${url}`;\n    }\n    return url;\n  };\n  const replacementWithAnchorLink = (string, element) => {\n    let url = stringToURL(string);\n    let newString = string.replace(element, `<a class=\"text-sm text-blue-600 hover:text-blue-800\" href=\"${url}\" target=\"_blank\">${element}</a>`);\n    return newString;\n  };\n  var _default = _exports.default = (0, _helper.helper)(function truncate(params /*hash*/) {\n    const [value] = params;\n    return parsingURLs(value);\n  });\n});","define(\"io-mail-assistant/helpers/did-insert-helper\", [\"exports\", \"ember-render-helpers/helpers/did-insert-helper\"], function (_exports, _didInsertHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _didInsertHelper.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-render-helpers/helpers/did-insert-helper\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/did-update-helper\", [\"exports\", \"ember-render-helpers/helpers/did-update-helper\"], function (_exports, _didUpdateHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _didUpdateHelper.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-render-helpers/helpers/did-update-helper\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/drop\", [\"exports\", \"ember-composable-helpers/helpers/drop\"], function (_exports, _drop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _drop.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/drop\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/duration-formatter\", [\"exports\", \"@ember/component/helper\", \"moment\"], function (_exports, _helper, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"moment\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _helper.helper)(function durationFormatter(positional /*, named*/) {\n    const [value] = positional;\n    return _moment.default.utc(value * 1000).format('HH:mm');\n  });\n});","define(\"io-mail-assistant/helpers/entries\", [\"exports\", \"ember-composable-helpers/helpers/entries\"], function (_exports, _entries) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _entries.default;\n    }\n  });\n  Object.defineProperty(_exports, \"entries\", {\n    enumerable: true,\n    get: function () {\n      return _entries.entries;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/entries\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/eq\", [\"exports\", \"ember-truth-helpers/helpers/eq\"], function (_exports, _eq) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _eq.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/eq\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/filter-by\", [\"exports\", \"ember-composable-helpers/helpers/filter-by\"], function (_exports, _filterBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _filterBy.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/filter-by\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/filter\", [\"exports\", \"ember-composable-helpers/helpers/filter\"], function (_exports, _filter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _filter.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/filter\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/find-by\", [\"exports\", \"ember-composable-helpers/helpers/find-by\"], function (_exports, _findBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _findBy.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/find-by\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/flatten\", [\"exports\", \"ember-composable-helpers/helpers/flatten\"], function (_exports, _flatten) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _flatten.default;\n    }\n  });\n  Object.defineProperty(_exports, \"flatten\", {\n    enumerable: true,\n    get: function () {\n      return _flatten.flatten;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/flatten\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/from-entries\", [\"exports\", \"ember-composable-helpers/helpers/from-entries\"], function (_exports, _fromEntries) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _fromEntries.default;\n    }\n  });\n  Object.defineProperty(_exports, \"fromEntries\", {\n    enumerable: true,\n    get: function () {\n      return _fromEntries.fromEntries;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/from-entries\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/group-by\", [\"exports\", \"ember-composable-helpers/helpers/group-by\"], function (_exports, _groupBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _groupBy.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/group-by\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/gt\", [\"exports\", \"ember-truth-helpers/helpers/gt\"], function (_exports, _gt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _gt.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/gt\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/gte\", [\"exports\", \"ember-truth-helpers/helpers/gte\"], function (_exports, _gte) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _gte.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/gte\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/has-next\", [\"exports\", \"ember-composable-helpers/helpers/has-next\"], function (_exports, _hasNext) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _hasNext.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hasNext\", {\n    enumerable: true,\n    get: function () {\n      return _hasNext.hasNext;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/has-next\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/has-previous\", [\"exports\", \"ember-composable-helpers/helpers/has-previous\"], function (_exports, _hasPrevious) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _hasPrevious.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hasPrevious\", {\n    enumerable: true,\n    get: function () {\n      return _hasPrevious.hasPrevious;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/has-previous\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/if-key\", [\"exports\", \"ember-keyboard/helpers/if-key\"], function (_exports, _ifKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _ifKey.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-keyboard/helpers/if-key\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/inc\", [\"exports\", \"ember-composable-helpers/helpers/inc\"], function (_exports, _inc) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _inc.default;\n    }\n  });\n  Object.defineProperty(_exports, \"inc\", {\n    enumerable: true,\n    get: function () {\n      return _inc.inc;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/inc\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/includes\", [\"exports\", \"ember-composable-helpers/helpers/includes\"], function (_exports, _includes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _includes.default;\n    }\n  });\n  Object.defineProperty(_exports, \"includes\", {\n    enumerable: true,\n    get: function () {\n      return _includes.includes;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/includes\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/intersect\", [\"exports\", \"ember-composable-helpers/helpers/intersect\"], function (_exports, _intersect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _intersect.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/intersect\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/invoke\", [\"exports\", \"ember-composable-helpers/helpers/invoke\"], function (_exports, _invoke) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _invoke.default;\n    }\n  });\n  Object.defineProperty(_exports, \"invoke\", {\n    enumerable: true,\n    get: function () {\n      return _invoke.invoke;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/invoke\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/is-after\", [\"exports\", \"ember-moment/helpers/is-after\"], function (_exports, _isAfter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isAfter.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-after\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/is-array\", [\"exports\", \"ember-truth-helpers/helpers/is-array\"], function (_exports, _isArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isArray.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/is-array\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/is-before\", [\"exports\", \"ember-moment/helpers/is-before\"], function (_exports, _isBefore) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isBefore.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-before\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/is-between\", [\"exports\", \"ember-moment/helpers/is-between\"], function (_exports, _isBetween) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isBetween.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-between\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/is-empty\", [\"exports\", \"ember-truth-helpers/helpers/is-empty\"], function (_exports, _isEmpty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isEmpty.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/is-empty\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/is-equal\", [\"exports\", \"ember-truth-helpers/helpers/is-equal\"], function (_exports, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isEqual.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/is-equal\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/is-same-or-after\", [\"exports\", \"ember-moment/helpers/is-same-or-after\"], function (_exports, _isSameOrAfter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isSameOrAfter.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-same-or-after\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/is-same-or-before\", [\"exports\", \"ember-moment/helpers/is-same-or-before\"], function (_exports, _isSameOrBefore) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isSameOrBefore.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-same-or-before\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/is-same\", [\"exports\", \"ember-moment/helpers/is-same\"], function (_exports, _isSame) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isSame.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-same\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/iso8601-date-formatter\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _helper.helper)(function iso8601DateFormatter(positional /*, named*/) {\n    const [value, withTime] = positional;\n    let date = new Date(value);\n    let dateString = date?.toLocaleDateString();\n    if (withTime) {\n      dateString = `${dateString}, ${date?.toLocaleTimeString([], {\n        hour: '2-digit',\n        minute: '2-digit'\n      })}`;\n    }\n    return dateString || 'Date invalid';\n  });\n});","define(\"io-mail-assistant/helpers/join\", [\"exports\", \"ember-composable-helpers/helpers/join\"], function (_exports, _join) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _join.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/join\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/keys\", [\"exports\", \"ember-composable-helpers/helpers/keys\"], function (_exports, _keys) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _keys.default;\n    }\n  });\n  Object.defineProperty(_exports, \"keys\", {\n    enumerable: true,\n    get: function () {\n      return _keys.keys;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/keys\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/lt\", [\"exports\", \"ember-truth-helpers/helpers/lt\"], function (_exports, _lt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _lt.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/lt\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/lte\", [\"exports\", \"ember-truth-helpers/helpers/lte\"], function (_exports, _lte) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _lte.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/lte\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/map-by\", [\"exports\", \"ember-composable-helpers/helpers/map-by\"], function (_exports, _mapBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _mapBy.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/map-by\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/map\", [\"exports\", \"ember-composable-helpers/helpers/map\"], function (_exports, _map) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _map.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/map\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-add\", [\"exports\", \"ember-moment/helpers/moment-add\"], function (_exports, _momentAdd) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentAdd.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-add\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-calendar\", [\"exports\", \"ember-moment/helpers/moment-calendar\"], function (_exports, _momentCalendar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentCalendar.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-calendar\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-diff\", [\"exports\", \"ember-moment/helpers/moment-diff\"], function (_exports, _momentDiff) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentDiff.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-diff\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-duration\", [\"exports\", \"ember-moment/helpers/moment-duration\"], function (_exports, _momentDuration) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentDuration.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-duration\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-format\", [\"exports\", \"ember-moment/helpers/moment-format\"], function (_exports, _momentFormat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentFormat.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-format\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-from-now\", [\"exports\", \"ember-moment/helpers/moment-from-now\"], function (_exports, _momentFromNow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentFromNow.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-from-now\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-from\", [\"exports\", \"ember-moment/helpers/moment-from\"], function (_exports, _momentFrom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentFrom.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-from\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-subtract\", [\"exports\", \"ember-moment/helpers/moment-subtract\"], function (_exports, _momentSubtract) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentSubtract.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-subtract\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-to-date\", [\"exports\", \"ember-moment/helpers/moment-to-date\"], function (_exports, _momentToDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentToDate.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-to-date\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-to-now\", [\"exports\", \"ember-moment/helpers/moment-to-now\"], function (_exports, _momentToNow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentToNow.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-to-now\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment-to\", [\"exports\", \"ember-moment/helpers/moment-to\"], function (_exports, _momentTo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentTo.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-to\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/moment\", [\"exports\", \"ember-moment/helpers/moment\"], function (_exports, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _moment.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/next\", [\"exports\", \"ember-composable-helpers/helpers/next\"], function (_exports, _next) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _next.default;\n    }\n  });\n  Object.defineProperty(_exports, \"next\", {\n    enumerable: true,\n    get: function () {\n      return _next.next;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/next\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/noop\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _helper.helper)(function noop() {\n    return () => {};\n  });\n});","define(\"io-mail-assistant/helpers/not-eq\", [\"exports\", \"ember-truth-helpers/helpers/not-eq\"], function (_exports, _notEq) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _notEq.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/not-eq\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/not\", [\"exports\", \"ember-truth-helpers/helpers/not\"], function (_exports, _not) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _not.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/not\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/now\", [\"exports\", \"ember-moment/helpers/now\"], function (_exports, _now) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _now.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/now\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/object-at\", [\"exports\", \"ember-composable-helpers/helpers/object-at\"], function (_exports, _objectAt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _objectAt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"objectAt\", {\n    enumerable: true,\n    get: function () {\n      return _objectAt.objectAt;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/object-at\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/on-key\", [\"exports\", \"ember-keyboard/helpers/on-key\"], function (_exports, _onKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _onKey.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-keyboard/helpers/on-key\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/optional\", [\"exports\", \"ember-composable-helpers/helpers/optional\"], function (_exports, _optional) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _optional.default;\n    }\n  });\n  Object.defineProperty(_exports, \"optional\", {\n    enumerable: true,\n    get: function () {\n      return _optional.optional;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/optional\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/or\", [\"exports\", \"ember-truth-helpers/helpers/or\"], function (_exports, _or) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _or.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/or\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/page-title\", [\"exports\", \"ember-page-title/helpers/page-title\"], function (_exports, _pageTitle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _pageTitle.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-page-title/helpers/page-title\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/path\", [\"exports\", \"@ember/component/helper\", \"io-mail-assistant/config/environment\"], function (_exports, _helper, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _helper.helper)(function path(positional /*, named*/) {\n    return `${_environment.default.assetURL}${positional}`;\n  });\n});","define(\"io-mail-assistant/helpers/percent-formatter\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _helper.helper)(function percentFormatter(positional /*, named*/) {\n    const [value] = positional;\n    return `${value} %`;\n  });\n});","define(\"io-mail-assistant/helpers/pick\", [\"exports\", \"ember-composable-helpers/helpers/pick\"], function (_exports, _pick) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _pick.default;\n    }\n  });\n  Object.defineProperty(_exports, \"pick\", {\n    enumerable: true,\n    get: function () {\n      return _pick.pick;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/pick\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/pipe-action\", [\"exports\", \"ember-composable-helpers/helpers/pipe-action\"], function (_exports, _pipeAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _pipeAction.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/pipe-action\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/pipe\", [\"exports\", \"ember-composable-helpers/helpers/pipe\"], function (_exports, _pipe) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _pipe.default;\n    }\n  });\n  Object.defineProperty(_exports, \"pipe\", {\n    enumerable: true,\n    get: function () {\n      return _pipe.pipe;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/pipe\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/previous\", [\"exports\", \"ember-composable-helpers/helpers/previous\"], function (_exports, _previous) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _previous.default;\n    }\n  });\n  Object.defineProperty(_exports, \"previous\", {\n    enumerable: true,\n    get: function () {\n      return _previous.previous;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/previous\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/priority-formatter\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _helper.helper)(function priorityFormatter(positional /*, named*/) {\n    const [value] = positional;\n    switch (value) {\n      case 'high':\n        return 'High';\n      case 'medium':\n        return 'Medium';\n      case 'low':\n        return 'Low';\n      case 'no_priority':\n        return 'No priority';\n      default:\n        return value;\n    }\n  });\n});","define(\"io-mail-assistant/helpers/queue\", [\"exports\", \"ember-composable-helpers/helpers/queue\"], function (_exports, _queue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _queue.default;\n    }\n  });\n  Object.defineProperty(_exports, \"queue\", {\n    enumerable: true,\n    get: function () {\n      return _queue.queue;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/queue\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/range\", [\"exports\", \"ember-composable-helpers/helpers/range\"], function (_exports, _range) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _range.default;\n    }\n  });\n  Object.defineProperty(_exports, \"range\", {\n    enumerable: true,\n    get: function () {\n      return _range.range;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/range\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/reduce\", [\"exports\", \"ember-composable-helpers/helpers/reduce\"], function (_exports, _reduce) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _reduce.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/reduce\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/reject-by\", [\"exports\", \"ember-composable-helpers/helpers/reject-by\"], function (_exports, _rejectBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _rejectBy.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/reject-by\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/repeat\", [\"exports\", \"ember-composable-helpers/helpers/repeat\"], function (_exports, _repeat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _repeat.default;\n    }\n  });\n  Object.defineProperty(_exports, \"repeat\", {\n    enumerable: true,\n    get: function () {\n      return _repeat.repeat;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/repeat\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/reverse\", [\"exports\", \"ember-composable-helpers/helpers/reverse\"], function (_exports, _reverse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _reverse.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/reverse\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/shuffle\", [\"exports\", \"ember-composable-helpers/helpers/shuffle\"], function (_exports, _shuffle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _shuffle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"shuffle\", {\n    enumerable: true,\n    get: function () {\n      return _shuffle.shuffle;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/shuffle\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/slice\", [\"exports\", \"ember-composable-helpers/helpers/slice\"], function (_exports, _slice) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _slice.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/slice\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/sort-by\", [\"exports\", \"ember-composable-helpers/helpers/sort-by\"], function (_exports, _sortBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _sortBy.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/sort-by\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/take\", [\"exports\", \"ember-composable-helpers/helpers/take\"], function (_exports, _take) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _take.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/take\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/toggle-action\", [\"exports\", \"ember-composable-helpers/helpers/toggle-action\"], function (_exports, _toggleAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _toggleAction.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/toggle-action\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/toggle\", [\"exports\", \"ember-composable-helpers/helpers/toggle\"], function (_exports, _toggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _toggle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"toggle\", {\n    enumerable: true,\n    get: function () {\n      return _toggle.toggle;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/toggle\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/union\", [\"exports\", \"ember-composable-helpers/helpers/union\"], function (_exports, _union) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _union.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/union\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/unix\", [\"exports\", \"ember-moment/helpers/unix\"], function (_exports, _unix) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _unix.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/unix\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/utc\", [\"exports\", \"ember-moment/helpers/utc\"], function (_exports, _utc) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _utc.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/utc\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/values\", [\"exports\", \"ember-composable-helpers/helpers/values\"], function (_exports, _values) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _values.default;\n    }\n  });\n  Object.defineProperty(_exports, \"values\", {\n    enumerable: true,\n    get: function () {\n      return _values.values;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/values\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/will-destroy-helper\", [\"exports\", \"ember-render-helpers/helpers/will-destroy-helper\"], function (_exports, _willDestroyHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _willDestroyHelper.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-render-helpers/helpers/will-destroy-helper\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/without\", [\"exports\", \"ember-composable-helpers/helpers/without\"], function (_exports, _without) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _without.default;\n    }\n  });\n  Object.defineProperty(_exports, \"without\", {\n    enumerable: true,\n    get: function () {\n      return _without.without;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-composable-helpers/helpers/without\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/helpers/xor\", [\"exports\", \"ember-truth-helpers/helpers/xor\"], function (_exports, _xor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _xor.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/xor\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/initializers/app-version\", [\"exports\", \"ember-cli-app-version/initializer-factory\", \"io-mail-assistant/config/environment\"], function (_exports, _initializerFactory, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-app-version/initializer-factory\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  let name, version;\n  if (_environment.default.APP) {\n    name = _environment.default.APP.name;\n    version = _environment.default.APP.version;\n  }\n  var _default = _exports.default = {\n    name: 'App Version',\n    initialize: (0, _initializerFactory.default)(name, version)\n  };\n});","define(\"io-mail-assistant/initializers/ember-data\", [\"exports\", \"@ember-data/request-utils/deprecation-support\"], function (_exports, _deprecationSupport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/request-utils/deprecation-support\"eaimeta@70e063a35619d71f\n  /*\n    This code initializes EmberData in an Ember application.\n  */\n  var _default = _exports.default = {\n    name: 'ember-data',\n    initialize(application) {\n      application.registerOptionsForType('serializer', {\n        singleton: false\n      });\n      application.registerOptionsForType('adapter', {\n        singleton: false\n      });\n    }\n  };\n});","define(\"io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"io-mail-assistant/models/Classes/daylite/contactDetailed\", \"io-mail-assistant/models/Classes/daylite/objectiveDetailed\", \"io-mail-assistant/models/Classes/daylite/taskDetailed\", \"io-mail-assistant/models/Classes/daylite/appointmentDetailed\"], function (_exports, _tracking, _utils, _contactDetailed, _objectiveDetailed, _taskDetailed, _appointmentDetailed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"io-mail-assistant/models/Classes/daylite/contactDetailed\",0,\"io-mail-assistant/models/Classes/daylite/objectiveDetailed\",0,\"io-mail-assistant/models/Classes/daylite/taskDetailed\",0,\"io-mail-assistant/models/Classes/daylite/appointmentDetailed\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteDetailLoadableObject = _exports.default = (_class = class DayliteDetailLoadableObject {\n    constructor() {\n      _initializerDefineProperty(this, \"detailModel\", _descriptor, this);\n      _initializerDefineProperty(this, \"isLoadingDetailModel\", _descriptor2, this);\n      this.detailModel = null; // loaded on demand\n    }\n    get detailLoaded() {\n      return !(0, _utils.isEmpty)(this.detailModel);\n    }\n    async loadDetail(dayliteService) {\n      if (this.detailLoaded) {\n        return;\n      }\n      this.isLoadingDetailModel = true;\n      let entity = '';\n      let detailModelClass;\n      let detailProm;\n      if (this.isPerson) {\n        entity = 'contact';\n        detailProm = dayliteService.getContactWithId(this.self);\n        detailModelClass = _contactDetailed.default;\n      } else if (this.isCompany) {\n        entity = 'company';\n        detailProm = dayliteService.getCompanyWithId(this.self);\n        detailModelClass = _contactDetailed.default;\n      } else if (this.isProject) {\n        entity = 'project';\n        detailProm = dayliteService.getProjectWithId(this.self);\n        detailModelClass = _objectiveDetailed.default;\n      } else if (this.isOpportunity) {\n        entity = 'opportunity';\n        detailProm = dayliteService.getOpportunityWithId(this.self);\n        detailModelClass = _objectiveDetailed.default;\n      } else if (this.isTask) {\n        entity = 'task';\n        detailProm = dayliteService.getTaskWithId(this.self);\n        detailModelClass = _taskDetailed.default;\n      } else if (this.isAppointment) {\n        entity = 'appointment';\n        detailProm = dayliteService.getAppointmentWithId(this.self);\n        detailModelClass = _appointmentDetailed.default;\n      }\n      if (!(0, _utils.isEmpty)(entity)) {\n        let catProm = dayliteService.getCategories(entity);\n        Promise.all([detailProm, catProm]).then(values => {\n          let detailModel = values[0];\n          this.detailModel = new detailModelClass(detailModel);\n          let categories = values[1];\n          let category = categories.find(cat => {\n            return cat.name == this.detailModel.categoryName;\n          });\n          this.detailModel.category = category;\n          this.isLoadingDetailModel = false;\n        });\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"detailModel\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isLoadingDetailModel\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/Classes/daylite/appointmentDetailed\", [\"exports\", \"@glimmer/tracking\", \"@ember/template\"], function (_exports, _tracking, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/template\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteAppointmentDetailModel = _exports.default = (_class = class DayliteAppointmentDetailModel {\n    constructor(json) {\n      _initializerDefineProperty(this, \"category\", _descriptor, this);\n      this.creator = json.creator;\n      this.categoryName = json.category;\n      this.details = json.details;\n      this.unifiedStartDateTime = json.local_start;\n      this.unifiedEndDateTime = json.local_end;\n      this.location = json.location;\n      // need to fetch resource before we can implement this\n      // this.resources = json.resources.join('\\n');\n      this.showAs = json.show_as;\n      this.type = json.type;\n      this.status = json.status;\n      this.unifiedName = json.subject;\n      this.isAppointment = true;\n      this.entity = 'appointment';\n\n      // use daylite-type-formatter or not\n      this.useTypeFormatter = true;\n    }\n    get htmlSafeCategoryColor() {\n      let _color = 'C7C7C7'; //daylite gray\n      if (this.category?.hex_colour && this.category?.hex_colour != '#80808000') {\n        _color = this.category?.hex_colour;\n      }\n      return (0, _template.htmlSafe)('color: ' + `${_color}`);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"category\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/Classes/daylite/appointmentSlim\", [\"exports\", \"@glimmer/tracking\", \"io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject\"], function (_exports, _tracking, _detailLoadableObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteAppointmentSlimModel = _exports.default = (_class = class DayliteAppointmentSlimModel extends _detailLoadableObject.default {\n    constructor(json) {\n      super();\n      _initializerDefineProperty(this, \"subject\", _descriptor, this);\n      this.subject = json.subject;\n      this.self = json.self;\n      this.objectKey = 'appointment';\n      this.arrayKey = 'appointments';\n      this.isAppointment = true;\n      this.apiRef = json;\n    }\n    async dayliteBodyForPatch(method) {\n      let body = {};\n      let statement = {};\n      statement[method] = [this.dayliteBodySelf()];\n      body[this.arrayKey] = statement;\n      return body;\n    }\n    async dayliteBodyForCreate() {\n      let body = {};\n      body[this.arrayKey] = [this.dayliteBodySelf()];\n      return body;\n    }\n    dayliteBodySelf() {\n      let selfDefinition = {};\n      selfDefinition[this.objectKey] = this.self;\n      return selfDefinition;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"subject\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/Classes/daylite/contactDetailed\", [\"exports\", \"@fragaria/address-formatter\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/template\", \"@ember/utils\", \"io-mail-assistant/config/environment\"], function (_exports, _addressFormatter, _object, _tracking, _template, _utils, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@fragaria/address-formatter\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/template\",0,\"@ember/utils\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteContactDetailModel = _exports.default = (_class = class DayliteContactDetailModel {\n    constructor(json) {\n      _initializerDefineProperty(this, \"category\", _descriptor, this);\n      this.creator = json.creator;\n      this.categoryName = json.category;\n      this.defaultEmailAddress = json.emails?.at(0);\n      this.defaultAddress = json.addresses?.at(0);\n      this.defaultPhone = json.phone_numbers?.at(0);\n      if (json.phone_numbers?.length >= 2) {\n        this.secondaryPhone = json.phone_numbers[1];\n      }\n      this.defaultURL = json.urls?.at(0);\n      this.details = json.details;\n      this.isPerson = json.self.includes('contact');\n      this.isCompany = !this.isPerson;\n      this.entity = this.isPerson ? 'contact' : 'company';\n      if (this.isPerson) {\n        this.unifiedName = [json.first_name, json.last_name].join(' ');\n      } else {\n        this.unifiedName = json.name;\n      }\n\n      // company only\n      this.industry = json.industry;\n      this.type = json.type;\n    }\n    get formattedDefaultAddressComponents() {\n      let currentLang = navigator.language;\n      let splitted = currentLang.split('-');\n      let possibleLangCode = splitted.at(-1);\n      let comps = _addressFormatter.default.format({\n        road: this.defaultAddress.street,\n        city: this.defaultAddress.city,\n        postcode: this.defaultAddress.postal_code,\n        state: this.defaultAddress.state,\n        country: this.defaultAddress.country,\n        countryCode: possibleLangCode\n      }, {\n        fallbackCountryCode: 'DE',\n        output: 'array'\n      });\n      return comps;\n    }\n    openAddress() {\n      let comp = `${this.formattedDefaultAddressComponents.join(',')}`;\n      let url = this.urlEncode('http://maps.apple.com/?q=', comp);\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    openPhone() {\n      this._openPhone(this.defaultPhone.number, false);\n    }\n    openPhone2() {\n      this._openPhone(this.secondaryPhone.number, false);\n    }\n    openPhoneDaylite() {\n      this._openPhone(this.defaultPhone.number, true);\n    }\n    openPhone2Daylite() {\n      this._openPhone(this.secondaryPhone.number, true);\n    }\n    _openPhone(number, inDaylite) {\n      let url;\n      if (inDaylite) {\n        url = this.urlEncode('daylite://fone-connector/outgoing?number=', number);\n      } else {\n        url = this.urlEncode('tel://', number);\n      }\n      if (!(0, _utils.isEmpty)(url)) {\n        if (_environment.default.AssistantIdentifier === 'missive') {\n          // eslint-disable-next-line no-undef\n          Missive.openURL(url);\n        } else if (_environment.default.AssistantIdentifier === 'outlook') {\n          window.open(url, '_blank');\n        }\n      }\n    }\n    openURL() {\n      let url = this.defaultURL.url;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    urlEncode(firstPart, toEncode) {\n      let encoded = encodeURIComponent(toEncode);\n      let url = `${firstPart}${encoded}`;\n      return url;\n    }\n    get htmlSafeCategoryColor() {\n      let _color = 'C7C7C7'; //daylite gray\n      if (this.category?.hex_colour && this.category?.hex_colour != '#80808000') {\n        _color = this.category?.hex_colour;\n      }\n      return (0, _template.htmlSafe)('color: ' + `${_color}`);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"category\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"openAddress\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openAddress\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openPhone\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openPhone\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openPhone2\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openPhone2\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openPhoneDaylite\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openPhoneDaylite\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openPhone2Daylite\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openPhone2Daylite\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openURL\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openURL\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/daylite/contactSlim\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject\"], function (_exports, _tracking, _utils, _detailLoadableObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteContactSlimModel = _exports.default = (_class = class DayliteContactSlimModel extends _detailLoadableObject.default {\n    constructor(json, suggestedFromAddress) {\n      super();\n      _initializerDefineProperty(this, \"firstName\", _descriptor, this);\n      _initializerDefineProperty(this, \"lastName\", _descriptor2, this);\n      _initializerDefineProperty(this, \"name\", _descriptor3, this);\n      this.firstName = json.first_name;\n      this.lastName = json.last_name;\n      this.name = json.name;\n      this.self = json.self;\n      this.suggestedFromAddress = suggestedFromAddress;\n      this.isCompany = this.self.includes('companies');\n      this.isPerson = !this.isCompany;\n      this.objectKey = this.isPerson ? 'contact' : 'company';\n      this.arrayKey = this.isPerson ? 'contacts' : 'companies';\n      this.apiRef = json;\n    }\n    async dayliteBodyForPatch(method, dayliteService) {\n      let body = {};\n      let statement = {};\n      statement[method] = [this.dayliteBodySelf()];\n      body[this.arrayKey] = statement;\n      if (this.isPerson && method == 'add') {\n        let defaultCompanyModel = await this.defaultCompanyModel(dayliteService);\n        if (!(0, _utils.isEmpty)(defaultCompanyModel)) {\n          let companyAddBody = await defaultCompanyModel.dayliteBodyForPatch(method);\n          body = {\n            ...body,\n            ...companyAddBody\n          };\n        }\n      }\n      return body;\n    }\n    async dayliteBodyForCreate(dayliteService) {\n      let body = {};\n      body[this.arrayKey] = [this.dayliteBodySelf()];\n      if (this.isPerson) {\n        let defaultCompanyModel = await this.defaultCompanyModel(dayliteService);\n        if (!(0, _utils.isEmpty)(defaultCompanyModel)) {\n          body[defaultCompanyModel.arrayKey] = [defaultCompanyModel.dayliteBodySelf()];\n        }\n      }\n      return body;\n    }\n    async defaultCompanyModel(dayliteService) {\n      if (this.isPerson) {\n        let fullContact = await dayliteService.getContactWithId(this.self);\n        return this.defaultCompanyFromFullContactResult(fullContact);\n      }\n      return null;\n    }\n    defaultCompanyFromFullContactResult(fullContact) {\n      if (!(0, _utils.isEmpty)(fullContact.companies)) {\n        let defaultCompany = fullContact.companies.find(element => element.default == true);\n        if ((0, _utils.isEmpty)(defaultCompany)) {\n          defaultCompany = fullContact.companies.at(0);\n        }\n        let companyModel = new DayliteContactSlimModel({\n          self: defaultCompany.company\n        });\n        return companyModel;\n      }\n      return null;\n    }\n    dayliteBodySelf() {\n      let selfDefinition = {};\n      selfDefinition[this.objectKey] = this.self;\n      return selfDefinition;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"firstName\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"lastName\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"name\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/Classes/daylite/creation\", [\"exports\", \"io-mail-assistant/models/Classes/daylite/contactSlim\"], function (_exports, _contactSlim) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"io-mail-assistant/models/Classes/daylite/contactSlim\"eaimeta@70e063a35619d71f\n  class DayliteCreationModel {\n    constructor(def) {\n      // name is for UI, e.g. for a button 'Create Person'\n      this.name = def.name;\n\n      // suggested props are the props we suggest the new object to have ( name: Jane Doe)\n      this.suggestedName = def.suggestedName;\n      this.suggestedEmail = def.suggestedEmail;\n      this.suggestedPhoneNumber = def.suggestedPhoneNumber;\n      this.isCompany = def.isCompany;\n      this.isPerson = def.isPerson;\n      this.isProject = def.isProject;\n      this.isOpportunity = def.isOpportunity;\n      this.isTask = def.isTask;\n      this.isAppointment = def.isAppointment;\n      this.isForCreation = true;\n      this.icon = 'plus';\n      this.quickMode = def.quickMode;\n      if (this.isPerson) {\n        let splitted = this.suggestedName?.split(' ');\n        if (splitted?.length > 1) {\n          this.suggestedFirstName = splitted.at(0);\n          splitted = splitted.slice(1);\n          this.suggestedLastName = splitted.join(' ');\n        } else {\n          this.suggestedFirstName = this.suggestedName;\n        }\n      }\n      this.initEssentials();\n    }\n    initEssentials() {\n      if (this.isPerson) {\n        this.objectKey = 'contact';\n        this.arrayKey = 'contacts';\n        this.objectIcon = 'user';\n      } else if (this.isCompany) {\n        this.objectKey = 'company';\n        this.arrayKey = 'companies';\n        this.objectIcon = 'building';\n      } else if (this.isProject) {\n        this.objectKey = 'project';\n        this.arrayKey = 'projects';\n        this.objectIcon = 'hammer';\n      } else if (this.isOpportunity) {\n        this.objectKey = 'opportunity';\n        this.arrayKey = 'opportunities';\n        this.objectIcon = 'circle-dollar';\n      } else if (this.isAppointment) {\n        this.objectKey = 'appointment';\n        this.arrayKey = 'appointments';\n        this.objectIcon = 'clock';\n      } else if (this.isTask) {\n        this.objectKey = 'task';\n        this.arrayKey = 'tasks';\n        this.objectIcon = this.quickMode ? 'check-double' : 'check';\n      }\n      this.tooltip = `Find or create ${this.objectKey}`;\n    }\n    async dayliteBodyForPatch(method) {\n      let body = {};\n      let statement = {};\n      statement[method] = [this.dayliteBodySelf()];\n      body[this.arrayKey] = statement;\n      return body;\n    }\n    async dayliteBodyForCreate(dayliteService) {\n      if (this.isPerson) {\n        let slimModel = new _contactSlim.default(this);\n        return await slimModel.dayliteBodyForCreate(dayliteService);\n      }\n      let body = {};\n      body[this.arrayKey] = [this.dayliteBodySelf()];\n      return body;\n    }\n    dayliteBodySelf() {\n      let selfDefinition = {};\n      selfDefinition[this.objectKey] = this.self;\n      return selfDefinition;\n    }\n    get textColor() {\n      return 'text-blue-500';\n    }\n  }\n  _exports.default = DayliteCreationModel;\n});","define(\"io-mail-assistant/models/Classes/daylite/email\", [\"exports\", \"@glimmer/tracking\"], function (_exports, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteEmailModel = _exports.default = (_class = class DayliteEmailModel {\n    constructor(json) {\n      _initializerDefineProperty(this, \"category\", _descriptor, this);\n      _initializerDefineProperty(this, \"categoryColor\", _descriptor2, this);\n      _initializerDefineProperty(this, \"keywords\", _descriptor3, this);\n      this.subject = json.subject;\n      this.self = json.self;\n      this.contacts = json.contacts;\n      this.companies = json.companies;\n      this.projects = json.projects;\n      this.opportunities = json.opportunities;\n      this.appointments = json.appointments;\n      this.tasks = json.tasks;\n      this.messageID = json.message_id;\n      this.objectKey = 'email';\n      this.category = json.category;\n      this.keywords = json.keywords;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"category\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"categoryColor\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"keywords\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/Classes/daylite/objectiveDetailed\", [\"exports\", \"@glimmer/tracking\", \"@ember/template\"], function (_exports, _tracking, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/template\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteObjectiveDetailModel = _exports.default = (_class = class DayliteObjectiveDetailModel {\n    constructor(json) {\n      _initializerDefineProperty(this, \"category\", _descriptor, this);\n      this.creator = json.creator;\n      this.categoryName = json.category;\n      this.details = json.details;\n      this.priority = json.priority;\n      this.unifiedName = json.name;\n      this.isProject = json.self.includes('project');\n      this.isOpportunity = !this.isProject;\n      this.entity = this.isProject ? 'project' : 'opportunity';\n\n      // opportunity only\n      this.state = json.state;\n      this.type = json.type;\n      this.probability = json.probability;\n      this.forecasted = json.forecasted;\n      this.start = json.start;\n      this.end = json.end;\n\n      // project only\n      this.status = json.status;\n      this.due = json.due;\n      this.started = json.started;\n      this.completed = json.completed;\n    }\n    get unifiedDueDate() {\n      if (this.isProject) {\n        return this.due;\n      }\n      return this.forecasted;\n    }\n    get unifiedStartDate() {\n      if (this.isProject) {\n        return this.started;\n      }\n      return this.start;\n    }\n    get unifiedEndDate() {\n      if (this.isProject) {\n        return this.completed;\n      }\n      return this.end;\n    }\n    get htmlSafeCategoryColor() {\n      let _color = 'C7C7C7'; //daylite gray\n      if (this.category?.hex_colour && this.category?.hex_colour != '#80808000') {\n        _color = this.category?.hex_colour;\n      }\n      return (0, _template.htmlSafe)('color: ' + `${_color}`);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"category\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/Classes/daylite/objectiveSlim\", [\"exports\", \"@glimmer/tracking\", \"io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject\"], function (_exports, _tracking, _detailLoadableObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteObjectiveSlimModel = _exports.default = (_class = class DayliteObjectiveSlimModel extends _detailLoadableObject.default {\n    constructor(json) {\n      super();\n      _initializerDefineProperty(this, \"name\", _descriptor, this);\n      this.name = json.name;\n      this.self = json.self;\n      this.isProject = this.self.includes('projects');\n      this.isOpportunity = !this.isProject;\n      this.objectKey = this.isProject ? 'project' : 'opportunity';\n      this.arrayKey = this.isProject ? 'projects' : 'opportunities';\n      this.apiRef = json;\n    }\n    async dayliteBodyForPatch(method) {\n      let body = {};\n      let statement = {};\n      statement[method] = [this.dayliteBodySelf()];\n      body[this.arrayKey] = statement;\n      return body;\n    }\n    async dayliteBodyForCreate() {\n      let body = {};\n      body[this.arrayKey] = [this.dayliteBodySelf()];\n      return body;\n    }\n    dayliteBodySelf() {\n      let selfDefinition = {};\n      selfDefinition[this.objectKey] = this.self;\n      return selfDefinition;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"name\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/Classes/daylite/searchResult\", [\"exports\", \"io-mail-assistant/models/Classes/daylite/contactSlim\"], function (_exports, _contactSlim) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"io-mail-assistant/models/Classes/daylite/contactSlim\"eaimeta@70e063a35619d71f\n  class DayliteSearchResultModel {\n    constructor(json) {\n      this.self = json.self;\n      this.name = json.name;\n      this.firstName = json.first_name;\n      this.lastName = json.last_name;\n      this.name = json.name;\n      this.isCompany = this.self.includes('companies');\n      this.isPerson = this.self.includes('contacts');\n      this.isProject = this.self.includes('projects');\n      this.isOpportunity = this.self.includes('opportunities');\n      this.isTask = this.self.includes('tasks');\n      this.isAppointment = this.self.includes('appointments');\n      this.json = json;\n      this.initEssentials();\n      if (this.isPerson) {\n        this.name = [json.first_name, json.last_name].join(' ');\n      } else if (this.isTask) {\n        this.name = json.title;\n      } else if (this.isAppointment) {\n        this.name = json.subject;\n      }\n    }\n    initEssentials() {\n      if (this.isCompany) {\n        this.objectKey = 'company';\n        this.arrayKey = 'companies';\n        this.icon = 'buildings';\n      } else if (this.isPerson) {\n        this.objectKey = 'contact';\n        this.arrayKey = 'contacts';\n        this.icon = 'user';\n      } else if (this.isProject) {\n        this.objectKey = 'project';\n        this.arrayKey = 'projects';\n        this.icon = 'hammer';\n      } else if (this.isOpportunity) {\n        this.objectKey = 'opportunity';\n        this.arrayKey = 'opportunities';\n        this.icon = 'circle-dollar';\n      } else if (this.isTask) {\n        this.objectKey = 'task';\n        this.arrayKey = 'tasks';\n        this.icon = 'check';\n      } else if (this.isAppointment) {\n        this.objectKey = 'appointment';\n        this.arrayKey = 'appointments';\n        this.icon = 'clock';\n      }\n    }\n    async dayliteBodyForPatch(method, dayliteService) {\n      if (this.isPerson && method == 'add') {\n        let slimModel = new _contactSlim.default(this);\n        return await slimModel.dayliteBodyForPatch(method, dayliteService);\n      }\n      let body = {};\n      let statement = {};\n      statement[method] = [this.dayliteBodySelf()];\n      body[this.arrayKey] = statement;\n      return body;\n    }\n    async dayliteBodyForCreate(dayliteService) {\n      if (this.isPerson) {\n        let slimModel = new _contactSlim.default(this);\n        return await slimModel.dayliteBodyForCreate(dayliteService);\n      }\n      let body = {};\n      body[this.arrayKey] = [this.dayliteBodySelf()];\n      return body;\n    }\n    dayliteBodySelf() {\n      let selfDefinition = {};\n      selfDefinition[this.objectKey] = this.self;\n      return selfDefinition;\n    }\n  }\n  _exports.default = DayliteSearchResultModel;\n});","define(\"io-mail-assistant/models/Classes/daylite/taskDetailed\", [\"exports\", \"@glimmer/tracking\", \"@ember/template\"], function (_exports, _tracking, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/template\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteTaskDetailModel = _exports.default = (_class = class DayliteTaskDetailModel {\n    constructor(json) {\n      _initializerDefineProperty(this, \"category\", _descriptor, this);\n      this.creator = json.creator;\n      this.categoryName = json.category;\n      this.details = json.details;\n      this.unifiedName = json.title;\n      this.unifiedDueDate = json.due;\n      this.unifiedStartDate = json.started;\n      this.unifiedEndDate = json.completed;\n      this.location = json.location;\n      this.type = json.type;\n      this.status = json.status;\n      this.priority = json.priority;\n      this.estimatedTime = json.estimated_time;\n      this.isTask = true;\n      this.entity = 'task';\n\n      // use daylite-type-formatter or not\n      this.useTypeFormatter = true;\n    }\n    get htmlSafeCategoryColor() {\n      let _color = 'C7C7C7'; //daylite gray\n      if (this.category?.hex_colour && this.category?.hex_colour != '#80808000') {\n        _color = this.category?.hex_colour;\n      }\n      return (0, _template.htmlSafe)('color: ' + `${_color}`);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"category\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/Classes/daylite/taskSlim\", [\"exports\", \"@glimmer/tracking\", \"io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject\"], function (_exports, _tracking, _detailLoadableObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"io-mail-assistant/models/Classes/daylite/abstract/detailLoadableObject\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteTaskSlimModel = _exports.default = (_class = class DayliteTaskSlimModel extends _detailLoadableObject.default {\n    constructor(json) {\n      super();\n      _initializerDefineProperty(this, \"title\", _descriptor, this);\n      this.title = json.title;\n      this.self = json.self;\n      this.objectKey = 'task';\n      this.arrayKey = 'tasks';\n      this.isTask = true;\n      this.apiRef = json;\n    }\n    async dayliteBodyForPatch(method) {\n      let body = {};\n      let statement = {};\n      statement[method] = [this.dayliteBodySelf()];\n      body[this.arrayKey] = statement;\n      return body;\n    }\n    async dayliteBodyForCreate() {\n      let body = {};\n      body[this.arrayKey] = [this.dayliteBodySelf()];\n      return body;\n    }\n    dayliteBodySelf() {\n      let selfDefinition = {};\n      selfDefinition[this.objectKey] = this.self;\n      return selfDefinition;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"title\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/Classes/mail/appointment\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"uuid\", \"@ember/object\", \"io-mail-assistant/services/daylite-service\", \"io-mail-assistant/services/data-service\", \"io-mail-assistant/config/environment\"], function (_exports, _tracking, _utils, _uuid, _object, _dayliteService, _dataService, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"uuid\",0,\"@ember/object\",0,\"io-mail-assistant/services/daylite-service\",0,\"io-mail-assistant/services/data-service\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MailAppointmentModel = _exports.default = (_class = class MailAppointmentModel {\n    constructor(daylite, linked) {\n      _initializerDefineProperty(this, \"daylite\", _descriptor, this);\n      _initializerDefineProperty(this, \"isLinked\", _descriptor2, this);\n      _initializerDefineProperty(this, \"isLoading\", _descriptor3, this);\n      _initializerDefineProperty(this, \"detailOpen\", _descriptor4, this);\n      this.id = (0, _uuid.v4)();\n      if (!(0, _utils.isEmpty)(daylite)) {\n        this.daylite = daylite;\n      }\n      this.isLinked = linked;\n    }\n    get name() {\n      return this.daylite.subject;\n    }\n    get icon() {\n      return 'clock';\n    }\n    async addOrRemoveDaylite(mail) {\n      this.isLoading = true;\n      let newLinkedState = !this.isLinked;\n      if (!mail.isDraft) {\n        if (newLinkedState) {\n          await mail.dayliteService.addToEmail(mail.daylite, this.daylite);\n        } else {\n          await mail.dayliteService.removeFromEmail(mail.daylite, this.daylite);\n        }\n      }\n      this.isLinked = newLinkedState;\n      this.isLoading = false;\n    }\n    get canOpenWeb() {\n      return true;\n    }\n    get canOpenDaylite() {\n      if (_dataService.default.isRunningMacOS()) {\n        return true;\n      }\n      return false;\n    }\n    openAction(openType) {\n      let url;\n      let id = _dayliteService.default.extractId(this.daylite);\n      let entity = 'Timeblock';\n      if (openType == 'web') {\n        url = `https://ioweb.iosxpert.cloud/main/calendar/${id}`;\n      } else {\n        url = `daylite://Command=ShowObject&Entity=${entity}&ID=${id}`;\n      }\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    async detailAction(mail) {\n      if ((0, _utils.isEmpty)(this.daylite)) {\n        return;\n      }\n      this.detailOpen = !this.detailOpen;\n      if (this.detailOpen && !this.detailLoaded) {\n        await this.daylite.loadDetail(mail.dayliteService, mail.store);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"daylite\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isLinked\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"detailOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"openAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"detailAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"detailAction\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/mail/attachmentPool\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"@ember/object\", \"io-mail-assistant/config/environment\"], function (_exports, _tracking, _utils, _object, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"@ember/object\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MailAttachmentPoolModel = _exports.default = (_class = class MailAttachmentPoolModel {\n    constructor(mail, id) {\n      _initializerDefineProperty(this, \"all\", _descriptor, this);\n      _initializerDefineProperty(this, \"isShowingAll\", _descriptor2, this);\n      _defineProperty(this, \"mail\", null);\n      this.mail = mail;\n      this.id = id;\n    }\n    get showPool() {\n      return this.all?.length > 0 || this.mail.isDraft;\n    }\n    setup(data, isInBackground) {\n      let allAttachments = [...(this.mail.foreign.selectedMessage?.attachments ?? []), ...(this.mail.foreign.selectedMessage?.inlineAttachments ?? [])];\n      this.all = allAttachments;\n      if (isInBackground) {\n        return;\n      }\n      allAttachments.forEach(attachment => {\n        let foundDayliteFile = data?.attachments?.find(element => {\n          return element.name == attachment.filename;\n        });\n        if (!(0, _utils.isEmpty)(foundDayliteFile)) {\n          attachment.daylite = foundDayliteFile;\n        }\n      });\n    }\n    get visible() {\n      if (this.isShowingAll || this.mail.isDraft) {\n        return this.all;\n      }\n      return this.all.filter(attachment => {\n        return !attachment.canHide;\n      });\n    }\n    get hiddenCount() {\n      return this.all.length - this.visible.length;\n    }\n    async emailDeleted() {\n      const proms = [];\n      this.all.forEach(attachment => {\n        if (attachment.isInDaylite) {\n          proms.push(attachment.removeFromDaylite(this.mail));\n        }\n      });\n      await Promise.all(proms);\n    }\n    get hasVisible() {\n      return this.visible?.length > 0;\n    }\n    get showMoreIsHidden() {\n      if (this.mail.isDraft) {\n        return true;\n      }\n      return this.all.filter(attachment => {\n        return attachment.canHide;\n      }).length == 0;\n    }\n    get refreshIsHidden() {\n      return !this.mail.isDraft;\n    }\n    get addAllIsHidden() {\n      return !this.mail.isInDaylite || !this.hasVisible;\n    }\n    showAll() {\n      this.isShowingAll = !this.isShowingAll;\n    }\n    async addAll() {\n      let promises = this.visible.map(attachment => {\n        return attachment.addToDaylite(this.mail);\n      });\n      await Promise.all(promises);\n    }\n    async refresh() {\n      if (this.mail.isDraft && _environment.default.AssistantIdentifier === 'outlook') {\n        this.mail.outlookService.attachmentsChanged(this.mail);\n      }\n    }\n    async createAttachmentsForDraft() {\n      let toBeAdded = this.visible.filter(attachment => {\n        return attachment.draftAdd;\n      });\n      let promises = toBeAdded.map(attachment => {\n        return attachment.addToDaylite(this.mail);\n      });\n      await Promise.all(promises);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"all\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isShowingAll\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"showAll\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showAll\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addAll\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addAll\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"refresh\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"refresh\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/mail/contact\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"uuid\", \"@ember/object\", \"io-mail-assistant/services/daylite-service\", \"io-mail-assistant/config/environment\"], function (_exports, _tracking, _utils, _uuid, _object, _dayliteService, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"uuid\",0,\"@ember/object\",0,\"io-mail-assistant/services/daylite-service\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MailContactModel = _exports.default = (_class = class MailContactModel {\n    constructor(foreign, daylite, linked) {\n      _initializerDefineProperty(this, \"daylite\", _descriptor, this);\n      _initializerDefineProperty(this, \"isLinked\", _descriptor2, this);\n      _initializerDefineProperty(this, \"isLoading\", _descriptor3, this);\n      _initializerDefineProperty(this, \"detailOpen\", _descriptor4, this);\n      _initializerDefineProperty(this, \"detailLoaded\", _descriptor5, this);\n      this.id = (0, _uuid.v4)();\n      this.foreign = foreign;\n      if (!(0, _utils.isEmpty)(daylite)) {\n        this.daylite = daylite;\n      }\n      this.isLinked = linked;\n    }\n    get isInDaylite() {\n      return !(0, _utils.isEmpty)(this.daylite);\n    }\n    get canOpenWeb() {\n      return this.isInDaylite;\n    }\n    get canOpenDaylite() {\n      return this.isInDaylite;\n    }\n    get name() {\n      if (this.isInDaylite) {\n        if (this.daylite.isPerson) {\n          return [this.daylite.firstName, this.daylite.lastName].join(' ');\n        } else {\n          return this.daylite.name;\n        }\n      } else {\n        return this.foreign.name || this.foreign.address;\n      }\n    }\n    get tooltip() {\n      if (this.isInDaylite) {\n        return this.name;\n      } else {\n        if (!(0, _utils.isEmpty)(this.foreign.address)) {\n          return `${this.foreign.name} (${this.foreign.address})`;\n        }\n        if (!(0, _utils.isEmpty)(this.foreign.phoneNumber)) {\n          return `${this.foreign.name} (${this.foreign.phoneNumber})`;\n        }\n      }\n      return this.name;\n    }\n    get icon() {\n      if (this.isInDaylite) {\n        if (this.daylite.isPerson) {\n          return 'user';\n        } else {\n          return 'buildings';\n        }\n      } else {\n        return 'plus';\n      }\n    }\n    async addOrRemoveDaylite(mail) {\n      this.isLoading = true;\n      let newLinkedState = !this.isLinked;\n      if (!mail.isDraft) {\n        if (newLinkedState) {\n          let patchBody = await mail.dayliteService.addToEmail(mail.daylite, this.daylite);\n          if (this.daylite.isPerson && !(0, _utils.isEmpty)(patchBody.companies)) {\n            // need to reload pool when a default company was added by patch\n            let contactsArray = mail.daylite.contacts;\n            if ((0, _utils.isEmpty)(contactsArray)) {\n              contactsArray = [];\n            }\n            let patchedEmail = await mail.dayliteService.getEmail(mail.daylite);\n            mail.daylite = patchedEmail;\n          }\n        } else {\n          await mail.dayliteService.removeFromEmail(mail.daylite, this.daylite);\n        }\n      }\n      this.isLinked = newLinkedState;\n      this.isLoading = false;\n      return true;\n    }\n    openAction(openType) {\n      let url;\n      let id = _dayliteService.default.extractId(this.daylite);\n      let entityWeb = this.daylite.isPerson ? 'people' : 'companies';\n      let entityDaylite = this.daylite.isPerson ? 'Contact' : 'Organization';\n      if (openType == 'web') {\n        url = `https://ioweb.iosxpert.cloud/main/${entityWeb}/${id}`;\n      } else {\n        url = `daylite://Command=ShowObject&Entity=${entityDaylite}&ID=${id}`;\n      }\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    async detailAction(mail) {\n      if ((0, _utils.isEmpty)(this.daylite)) {\n        return;\n      }\n      this.detailOpen = !this.detailOpen;\n      if (this.detailOpen && !this.detailLoaded) {\n        await this.daylite.loadDetail(mail.dayliteService, mail.store);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"daylite\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isLinked\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"detailOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"detailLoaded\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"openAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"detailAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"detailAction\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/mail/contactpool\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"io-mail-assistant/models/Classes/mail/contact\", \"@ember/object\", \"io-mail-assistant/models/Classes/daylite/contactSlim\", \"io-mail-assistant/models/Classes/daylite/creation\", \"lodash\"], function (_exports, _tracking, _utils, _contact, _object, _contactSlim, _creation, _lodash) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"io-mail-assistant/models/Classes/mail/contact\",0,\"@ember/object\",0,\"io-mail-assistant/models/Classes/daylite/contactSlim\",0,\"io-mail-assistant/models/Classes/daylite/creation\",0,\"lodash\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MailContactPoolModel = _exports.default = (_class = class MailContactPoolModel {\n    constructor(mail, id) {\n      _initializerDefineProperty(this, \"suggestions\", _descriptor, this);\n      _initializerDefineProperty(this, \"linked\", _descriptor2, this);\n      _defineProperty(this, \"mail\", null);\n      this.mail = mail;\n      this.id = id;\n    }\n    setup(dlEmail, data, isInBackground) {\n      // if (isEmpty(dlEmail)) {\n      //   dlEmail = this.mail.daylite;\n      // }\n      let suggestions = [];\n      let linked = [];\n      let allSuggestions = [];\n      if (!(0, _utils.isEmpty)(data?.contactSuggestions)) {\n        allSuggestions = [...data.contactSuggestions.companies, ...data.contactSuggestions.persons];\n        allSuggestions = this.uniquenessOfResults(allSuggestions);\n        allSuggestions = allSuggestions.map(element => {\n          return new _contactSlim.default(element.object, element.suggestedFrom);\n        });\n      }\n      let allLinked = [];\n      if (!(0, _utils.isEmpty)(data?.contactLinked)) {\n        allLinked = [...data.contactLinked.companies, ...data.contactLinked.persons];\n        allLinked = allLinked.map(element => {\n          return new _contactSlim.default(element.object, element.suggestedFrom);\n        });\n      }\n      let allModels = [...allLinked, ...allSuggestions];\n      let allForeignContacts = this.mail.foreign.allUniqueContacts();\n\n      // filter out all foreign contacts that could not be found in DL (those can be created)\n      const remainingForeignContacts = allForeignContacts.filter(foreignContact => {\n        let find = allModels.find(contactSlim => {\n          if ((0, _utils.isEmpty)(contactSlim.suggestedFromAddress)) {\n            return false;\n          }\n          return contactSlim.suggestedFromAddress == foreignContact.address || contactSlim.suggestedFromAddress == foreignContact.phoneNumber;\n        });\n        return (0, _utils.isEmpty)(find);\n      });\n      let remainingModels = remainingForeignContacts.map(foreignContact => {\n        return new _contact.default(foreignContact, null, false);\n      });\n\n      // handling email addresses found in dl\n      allSuggestions.forEach(contactSlim => {\n        // find email address from foreign contacts\n        let foreignContact = allForeignContacts.find(foreignContact => {\n          return foreignContact.address == contactSlim.suggestedFromAddress || foreignContact.phoneNumber == contactSlim.suggestedFromAddress;\n        });\n        let model = new _contact.default(foreignContact, contactSlim, false);\n        suggestions.push(model);\n      });\n      suggestions.push(...remainingModels);\n      allLinked.forEach(contactSlim => {\n        // find email address from foreign contacts\n        let foreignContact = allForeignContacts.find(foreignContact => {\n          return foreignContact.address == contactSlim.suggestedFromAddress || foreignContact.phoneNumber == contactSlim.suggestedFromAddress;\n        });\n        let model = new _contact.default(foreignContact, contactSlim, true);\n        linked.push(model);\n      });\n      if (!isInBackground && this.mail.dataService.concurrencyStop(this.id)) {\n        return;\n      }\n      this.linked = linked;\n      this.suggestions = suggestions;\n      this.sortAll();\n    }\n    async addOrRemoveDaylite(mail, contact) {\n      try {\n        if ((0, _utils.isEmpty)(contact.daylite)) {\n          let mode = contact.isForCreation ? mail.searchModes.person : mail.searchModes.contactMerge;\n          mail.search(mode, contact);\n        } else if ((0, _utils.isEmpty)(mail.daylite) && !mail.isDraft) {\n          contact.isLoading = true;\n          mail.isLoading = true;\n          let body = await contact.daylite.dayliteBodyForCreate(mail.dayliteService);\n          await mail.addOrRemoveDaylite(body);\n          contact.isLoading = false;\n        } else {\n          await contact.addOrRemoveDaylite(mail);\n          if (contact.isLinked) {\n            mail.contactPool.suggestions = mail.contactPool.suggestions.filter(element => element !== contact);\n            mail.contactPool.linked = [...mail.contactPool.linked, contact];\n            mail.contactPool.linked = (0, _lodash.sortBy)(mail.contactPool.linked, 'name');\n          } else {\n            mail.contactPool.linked = mail.contactPool.linked.filter(element => element !== contact);\n            mail.contactPool.suggestions = [...mail.contactPool.suggestions, contact];\n            mail.contactPool.suggestions = (0, _lodash.sortBy)(mail.contactPool.suggestions, 'name');\n          }\n          mail.conditionallySaveDraft(mail);\n        }\n      } catch (error) {\n        mail.notificationHandler.addError(error);\n      }\n    }\n    emailDeleted() {\n      this.linked.forEach(element => {\n        element.isLinked = false;\n      });\n      this.suggestions = (0, _lodash.sortBy)([...this.suggestions, ...this.linked], 'name');\n      this.linked = [];\n    }\n    searchAction(_this, creationModel) {\n      let mode = creationModel.isPerson ? this.mail.searchModes.person : this.mail.searchModes.company;\n      _this.mail.search(mode);\n    }\n    get creationModels() {\n      let addResultPerson = new _creation.default({\n        name: 'Create Person',\n        isPerson: true\n      });\n      let addResultCompany = new _creation.default({\n        name: 'Create Company',\n        isCompany: true\n      });\n      return [addResultPerson, addResultCompany];\n    }\n    uniquenessOfResults(inputArray) {\n      let result = [];\n      let resultSet = new Set(inputArray.map(item => item.object.self));\n      resultSet.forEach(selfID => {\n        let found = inputArray.find(element => element.object.self == selfID);\n        if (!(0, _utils.isEmpty)(found)) {\n          result.push(found);\n        }\n      });\n      return result;\n    }\n    addToPool(model) {\n      // remove from suggestions\n      let foundSuggested = this.suggestions.find(element => {\n        return element.daylite?.self === model.daylite.self;\n      });\n      if (foundSuggested) {\n        this.suggestions = (0, _lodash.without)(this.suggestions, foundSuggested);\n      }\n      let foundLinked = this.linked?.find(element => {\n        return element.daylite?.self === model.daylite.self;\n      });\n      if (!foundLinked) {\n        this.linked = [...(this.linked ?? []), model];\n      }\n    }\n    linkedAsObject() {\n      let contacts = [];\n      let companies = [];\n      this.linked?.forEach(element => {\n        if (element.daylite.isCompany) {\n          companies.push(element.daylite);\n        } else {\n          contacts.push(element.daylite);\n        }\n      });\n      return {\n        contacts,\n        companies\n      };\n    }\n    sortAll() {\n      this.linked = (0, _lodash.sortBy)(this.linked, 'name');\n      this.suggestions = (0, _lodash.sortBy)(this.suggestions, 'name');\n    }\n    addToLinked(elements) {\n      let mailModels = elements.map(element => {\n        let slimModel = new _contactSlim.default(element.apiRef);\n        return new _contact.default(null, slimModel, true);\n      });\n      this.linked = [...this.linked, ...mailModels];\n      this.sortAll();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"suggestions\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"linked\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"searchAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"searchAction\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/mail/objective\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"uuid\", \"@ember/object\", \"io-mail-assistant/services/daylite-service\", \"io-mail-assistant/services/data-service\", \"io-mail-assistant/config/environment\"], function (_exports, _tracking, _utils, _uuid, _object, _dayliteService, _dataService, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"uuid\",0,\"@ember/object\",0,\"io-mail-assistant/services/daylite-service\",0,\"io-mail-assistant/services/data-service\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MailObjectiveModel = _exports.default = (_class = class MailObjectiveModel {\n    constructor(daylite, linked) {\n      _initializerDefineProperty(this, \"daylite\", _descriptor, this);\n      _initializerDefineProperty(this, \"isLinked\", _descriptor2, this);\n      _initializerDefineProperty(this, \"isLoading\", _descriptor3, this);\n      _initializerDefineProperty(this, \"detailOpen\", _descriptor4, this);\n      this.id = (0, _uuid.v4)();\n      if (!(0, _utils.isEmpty)(daylite)) {\n        this.daylite = daylite;\n      }\n      this.isLinked = linked;\n    }\n    get name() {\n      return this.daylite.name;\n    }\n    get icon() {\n      if (this.daylite.isProject) {\n        return 'hammer';\n      } else {\n        return 'circle-dollar';\n      }\n    }\n    async addOrRemoveDaylite(mail) {\n      this.isLoading = true;\n      let newLinkedState = !this.isLinked;\n      if (!mail.isDraft) {\n        if (newLinkedState) {\n          await mail.dayliteService.addToEmail(mail.daylite, this.daylite);\n        } else {\n          await mail.dayliteService.removeFromEmail(mail.daylite, this.daylite);\n        }\n      }\n      this.isLinked = newLinkedState;\n      this.isLoading = false;\n    }\n    get canOpenWeb() {\n      return true;\n    }\n    get canOpenDaylite() {\n      if (_dataService.default.isRunningMacOS()) {\n        return true;\n      }\n      return false;\n    }\n    openAction(openType) {\n      let url;\n      let id = _dayliteService.default.extractId(this.daylite);\n      let entityWeb = this.daylite.isProject ? 'projects' : 'opportunities';\n      let entityDaylite = this.daylite.isProject ? 'Project' : 'Opportunity';\n      if (openType == 'web') {\n        url = `https://ioweb.iosxpert.cloud/main/${entityWeb}/${id}`;\n      } else {\n        url = `daylite://Command=ShowObject&Entity=${entityDaylite}&ID=${id}`;\n      }\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    async detailAction(mail) {\n      if ((0, _utils.isEmpty)(this.daylite)) {\n        return;\n      }\n      this.detailOpen = !this.detailOpen;\n      if (this.detailOpen && !this.detailLoaded) {\n        await this.daylite.loadDetail(mail.dayliteService, mail.store);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"daylite\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isLinked\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"detailOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"openAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"detailAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"detailAction\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/mail/objectivepool\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"io-mail-assistant/models/Classes/mail/objective\", \"@ember/object\", \"io-mail-assistant/models/Classes/daylite/objectiveSlim\", \"io-mail-assistant/models/Classes/daylite/creation\", \"lodash\"], function (_exports, _tracking, _utils, _objective, _object, _objectiveSlim, _creation, _lodash) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"io-mail-assistant/models/Classes/mail/objective\",0,\"@ember/object\",0,\"io-mail-assistant/models/Classes/daylite/objectiveSlim\",0,\"io-mail-assistant/models/Classes/daylite/creation\",0,\"lodash\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MailObjectivePoolModel = _exports.default = (_class = class MailObjectivePoolModel {\n    constructor(mail, id) {\n      _initializerDefineProperty(this, \"suggestions\", _descriptor, this);\n      _initializerDefineProperty(this, \"linked\", _descriptor2, this);\n      _defineProperty(this, \"mail\", null);\n      this.mail = mail;\n      this.id = id;\n    }\n    setup(dlEmail, data, isInBackground) {\n      // if (isEmpty(dlEmail)) {\n      //   dlEmail = this.mail.daylite;\n      // }\n      let suggestions = [];\n      let linked = [];\n      let allSuggestions = [];\n      if (!(0, _utils.isEmpty)(data?.objectiveSuggestions)) {\n        allSuggestions = [...data.objectiveSuggestions.opportunities, ...data.objectiveSuggestions.projects];\n        allSuggestions = allSuggestions.map(element => {\n          return new _objectiveSlim.default(element);\n        });\n      }\n      let allLinked = [];\n      if (!(0, _utils.isEmpty)(data?.objectiveLinked)) {\n        allLinked = [...data.objectiveLinked.opportunities, ...data.objectiveLinked.projects];\n        allLinked = allLinked.map(element => {\n          return new _objectiveSlim.default(element);\n        });\n      }\n      allSuggestions.forEach(objectiveSlim => {\n        let model = new _objective.default(objectiveSlim, false);\n        suggestions.push(model);\n      });\n      allLinked.forEach(objectiveSlim => {\n        let model = new _objective.default(objectiveSlim, true);\n        linked.push(model);\n      });\n      if (!isInBackground && this.mail.dataService.concurrencyStop(this.id)) {\n        return;\n      }\n      this.linked = linked;\n      this.suggestions = suggestions;\n      this.sortAll();\n    }\n    async addOrRemoveDaylite(mail, objective) {\n      try {\n        if ((0, _utils.isEmpty)(objective.daylite)) {\n          // try to get email address from which creation was triggered\n          let response = await mail.creationService.createWithForm(mail, objective);\n          let dlModel = new _objectiveSlim.default(response);\n          let model = new _objective.default(dlModel);\n          mail.objectivePool.suggestions = [...mail.objectivePool.suggestions, model];\n          return await mail.objectivePool.addOrRemoveDaylite(mail, model);\n        }\n        if ((0, _utils.isEmpty)(mail.daylite) && !mail.isDraft) {\n          objective.isLoading = true;\n          let body = await objective.daylite.dayliteBodyForCreate();\n          // adding suggested daylite contacts\n          let dlSuggestions = mail.contactPool.suggestions.filter(element => {\n            return element.isInDaylite == true;\n          });\n          let addedObjects = [objective];\n          if (!(0, _utils.isEmpty)(dlSuggestions)) {\n            let value = await mail.suggestedBody();\n            addedObjects = [...addedObjects, ...value.addedObjects];\n            let suggestedBody = value.body;\n            suggestedBody.opportunities = null;\n            suggestedBody.projects = null;\n            body = {\n              ...suggestedBody,\n              ...body\n            };\n          }\n          addedObjects?.forEach(element => {\n            element.isLoading = true;\n          });\n          await mail.addOrRemoveDaylite(body);\n          addedObjects?.forEach(element => {\n            element.isLoading = false;\n          });\n        } else {\n          await objective.addOrRemoveDaylite(mail);\n          if (objective.isLinked) {\n            mail.objectivePool.suggestions = mail.objectivePool.suggestions.filter(element => element !== objective);\n            mail.objectivePool.linked = [...mail.objectivePool.linked, objective];\n            mail.objectivePool.linked = (0, _lodash.sortBy)(mail.objectivePool.linked, 'name');\n          } else {\n            mail.objectivePool.linked = mail.objectivePool.linked.filter(element => element !== objective);\n            mail.objectivePool.suggestions = [...mail.objectivePool.suggestions, objective];\n            mail.objectivePool.suggestions = (0, _lodash.sortBy)(mail.objectivePool.suggestions, 'name');\n          }\n          mail.conditionallySaveDraft(mail);\n        }\n      } catch (error) {\n        mail.notificationHandler.addError(error);\n      }\n    }\n    emailDeleted() {\n      this.linked.forEach(element => {\n        element.isLinked = false;\n      });\n      this.suggestions = (0, _lodash.sortBy)([...this.suggestions, ...this.linked], 'name');\n      this.linked = [];\n    }\n    get creationModels() {\n      let addResultProject = new _creation.default({\n        name: 'Create Project',\n        isProject: true,\n        suggestedName: this.mail.foreign.selectedMessage.subject\n      });\n      let addResultOpp = new _creation.default({\n        name: 'Create Opportunity',\n        isOpportunity: true,\n        suggestedName: this.mail.foreign.selectedMessage.subject\n      });\n      return [addResultProject, addResultOpp];\n    }\n    searchAction(_this, creationModel) {\n      let mode = creationModel.isProject ? this.mail.searchModes.project : this.mail.searchModes.opportunity;\n      _this.mail.search(mode);\n    }\n    addToPool(model) {\n      // remove from suggestions\n      let foundSuggested = this.suggestions.find(element => {\n        return element.daylite?.self === model.daylite.self;\n      });\n      if (foundSuggested) {\n        this.suggestions = (0, _lodash.without)(this.suggestions, foundSuggested);\n      }\n      let foundLinked = this.linked?.find(element => {\n        return element.daylite?.self === model.daylite.self;\n      });\n      if (!foundLinked) {\n        this.linked = [...(this.linked ?? []), model];\n      }\n    }\n    linkedAsObject() {\n      let projects = [];\n      let opportunities = [];\n      this.linked?.forEach(element => {\n        if (element.daylite.isProject) {\n          projects.push(element.daylite);\n        } else {\n          opportunities.push(element.daylite);\n        }\n      });\n      return {\n        projects,\n        opportunities\n      };\n    }\n    sortAll() {\n      this.linked = (0, _lodash.sortBy)(this.linked, 'name');\n      this.suggestions = (0, _lodash.sortBy)(this.suggestions, 'name');\n    }\n    addToLinked(elements) {\n      let mailModels = elements.map(element => {\n        let slimModel = new _objectiveSlim.default(element.apiRef);\n        return new _objective.default(slimModel, true);\n      });\n      this.linked = [...this.linked, ...mailModels];\n      this.sortAll();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"suggestions\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"linked\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"searchAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"searchAction\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/mail/task\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"uuid\", \"@ember/object\", \"io-mail-assistant/services/daylite-service\", \"io-mail-assistant/services/data-service\", \"io-mail-assistant/config/environment\"], function (_exports, _tracking, _utils, _uuid, _object, _dayliteService, _dataService, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"uuid\",0,\"@ember/object\",0,\"io-mail-assistant/services/daylite-service\",0,\"io-mail-assistant/services/data-service\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MailTaskModel = _exports.default = (_class = class MailTaskModel {\n    constructor(daylite, linked) {\n      _initializerDefineProperty(this, \"daylite\", _descriptor, this);\n      _initializerDefineProperty(this, \"isLinked\", _descriptor2, this);\n      _initializerDefineProperty(this, \"isLoading\", _descriptor3, this);\n      _initializerDefineProperty(this, \"detailOpen\", _descriptor4, this);\n      this.id = (0, _uuid.v4)();\n      if (!(0, _utils.isEmpty)(daylite)) {\n        this.daylite = daylite;\n      }\n      this.isLinked = linked;\n    }\n    get name() {\n      return this.daylite.title;\n    }\n    get icon() {\n      return 'check';\n    }\n    async addOrRemoveDaylite(mail) {\n      this.isLoading = true;\n      let newLinkedState = !this.isLinked;\n      if (!mail.isDraft) {\n        if (newLinkedState) {\n          await mail.dayliteService.addToEmail(mail.daylite, this.daylite);\n        } else {\n          await mail.dayliteService.removeFromEmail(mail.daylite, this.daylite);\n        }\n      }\n      this.isLinked = newLinkedState;\n      this.isLoading = false;\n    }\n    get canOpenWeb() {\n      return true;\n    }\n    get canOpenDaylite() {\n      if (_dataService.default.isRunningMacOS()) {\n        return true;\n      }\n      return false;\n    }\n    openAction(openType) {\n      let url;\n      let id = _dayliteService.default.extractId(this.daylite);\n      let entity = 'Task';\n      if (openType == 'web') {\n        url = `https://ioweb.iosxpert.cloud/main/tasks/${id}`;\n      } else {\n        url = `daylite://Command=ShowObject&Entity=${entity}&ID=${id}`;\n      }\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    async detailAction(mail) {\n      if ((0, _utils.isEmpty)(this.daylite)) {\n        return;\n      }\n      this.detailOpen = !this.detailOpen;\n      if (this.detailOpen && !this.detailLoaded) {\n        await this.daylite.loadDetail(mail.dayliteService, mail.store);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"daylite\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isLinked\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"detailOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"openAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"detailAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"detailAction\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/mail/taskAppointmentPool\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\", \"@ember/object\", \"io-mail-assistant/models/Classes/daylite/creation\", \"io-mail-assistant/models/Classes/daylite/taskSlim\", \"io-mail-assistant/models/Classes/mail/task\", \"io-mail-assistant/models/Classes/daylite/appointmentSlim\", \"io-mail-assistant/models/Classes/mail/appointment\", \"lodash\"], function (_exports, _tracking, _utils, _object, _creation, _taskSlim, _task, _appointmentSlim, _appointment, _lodash) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"@ember/object\",0,\"io-mail-assistant/models/Classes/daylite/creation\",0,\"io-mail-assistant/models/Classes/daylite/taskSlim\",0,\"io-mail-assistant/models/Classes/mail/task\",0,\"io-mail-assistant/models/Classes/daylite/appointmentSlim\",0,\"io-mail-assistant/models/Classes/mail/appointment\",0,\"lodash\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MailTaskAppointmentPoolModel = _exports.default = (_class = class MailTaskAppointmentPoolModel {\n    constructor(mail, id) {\n      _initializerDefineProperty(this, \"suggestions\", _descriptor, this);\n      _initializerDefineProperty(this, \"linked\", _descriptor2, this);\n      _defineProperty(this, \"mail\", null);\n      this.mail = mail;\n      this.id = id;\n    }\n    setup(dlEmail, data, isInBackground) {\n      // if (isEmpty(dlEmail)) {\n      //   dlEmail = this.mail.daylite;\n      // }\n      let suggestions = [];\n      let linked = [];\n      let allLinkedAppointments = [];\n      if (!(0, _utils.isEmpty)(data?.otherLinked?.appointments)) {\n        allLinkedAppointments = data.otherLinked.appointments.map(element => {\n          let slimModel = new _appointmentSlim.default(element);\n          return new _appointment.default(slimModel, true);\n        });\n      }\n      let allLinkedTasks = [];\n      if (!(0, _utils.isEmpty)(data?.otherLinked?.tasks)) {\n        allLinkedTasks = data.otherLinked.tasks.map(element => {\n          let slimModel = new _taskSlim.default(element);\n          return new _task.default(slimModel, true);\n        });\n      }\n      linked.push(...allLinkedAppointments, ...allLinkedTasks);\n      if (!isInBackground && this.mail.dataService.concurrencyStop(this.id)) {\n        return;\n      }\n      this.linked = linked;\n      this.suggestions = suggestions;\n      this.sortAll();\n    }\n    async addOrRemoveDaylite(mail, model) {\n      try {\n        if ((0, _utils.isEmpty)(model.daylite)) {\n          const response = await mail.creationService.createWithForm(mail, model);\n          const dlModel = new _taskSlim.default(response);\n          const emberModel = new _task.default(dlModel);\n          mail.taskAppointmentPool.suggestions = [...mail.taskAppointmentPool.suggestions, emberModel];\n          return await mail.taskAppointmentPool.addOrRemoveDaylite(mail, emberModel);\n        }\n        if ((0, _utils.isEmpty)(mail.daylite) && !mail.isDraft) {\n          model.isLoading = true;\n          const body = await model.daylite.dayliteBodyForCreate();\n          await mail.addOrRemoveDaylite(body);\n          model.isLoading = false;\n        } else {\n          await model.addOrRemoveDaylite(mail);\n          if (model.isLinked) {\n            mail.taskAppointmentPool.suggestions = mail.taskAppointmentPool.suggestions.filter(element => element !== model);\n            mail.taskAppointmentPool.linked = [...mail.taskAppointmentPool.linked, model];\n            mail.taskAppointmentPool.linked = (0, _lodash.sortBy)(mail.taskAppointmentPool.linked, 'name');\n          } else {\n            mail.taskAppointmentPool.linked = mail.taskAppointmentPool.linked.filter(element => element !== model);\n            mail.taskAppointmentPool.suggestions = [...mail.taskAppointmentPool.suggestions, model];\n            mail.taskAppointmentPool.suggestions = (0, _lodash.sortBy)(mail.taskAppointmentPool.suggestions, 'name');\n          }\n          mail.conditionallySaveDraft(mail);\n        }\n      } catch (error) {\n        mail.notificationHandler.addError(error);\n      }\n    }\n    emailDeleted() {\n      this.linked.forEach(element => {\n        element.isLinked = false;\n      });\n      this.suggestions = (0, _lodash.sortBy)([...this.suggestions, ...this.linked], 'name');\n      this.linked = [];\n    }\n    get creationModels() {\n      let addResultTask = new _creation.default({\n        name: 'Create Task',\n        isTask: true,\n        suggestedName: this.mail.foreign.selectedMessage.subject\n      });\n      let addResultApp = new _creation.default({\n        name: 'Create Appointment',\n        isAppointment: true,\n        suggestedName: this.mail.foreign.selectedMessage.subject\n      });\n      return [addResultTask, addResultApp];\n    }\n    searchAction(_this, creationModel) {\n      let mode = creationModel.isTask ? this.mail.searchModes.task : this.mail.searchModes.appointment;\n      _this.mail.search(mode);\n    }\n    addToPool(model) {\n      // remove from suggestions\n      let foundSuggested = this.suggestions.find(element => {\n        return element.daylite?.self === model.daylite.self;\n      });\n      if (foundSuggested) {\n        this.suggestions = (0, _lodash.without)(this.suggestions, foundSuggested);\n      }\n      let foundLinked = this.linked?.find(element => {\n        return element.daylite?.self === model.daylite.self;\n      });\n      if (!foundLinked) {\n        this.linked = [...(this.linked ?? []), model];\n      }\n    }\n    linkedAsObject() {\n      let tasks = [];\n      let appointments = [];\n      this.linked?.forEach(element => {\n        if (element.daylite.isTask) {\n          tasks.push(element.daylite);\n        } else {\n          appointments.push(element.daylite);\n        }\n      });\n      return {\n        tasks,\n        appointments\n      };\n    }\n    sortAll() {\n      this.linked = (0, _lodash.sortBy)(this.linked, 'name');\n      this.suggestions = (0, _lodash.sortBy)(this.suggestions, 'name');\n    }\n    addToLinked(elements) {\n      let mailModels = elements.map(element => {\n        let slimModel;\n        let modelClass;\n        if (element.isTask) {\n          slimModel = new _taskSlim.default(element.apiRef);\n          modelClass = _task.default;\n        } else {\n          slimModel = new _appointmentSlim.default(element.apiRef);\n          modelClass = _appointment.default;\n        }\n        return new modelClass(slimModel, true);\n      });\n      this.linked = [...this.linked, ...mailModels];\n      this.sortAll();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"suggestions\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"linked\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"searchAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"searchAction\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/missive/conversation\", [\"exports\", \"io-mail-assistant/models/Classes/shared/message\", \"@ember/utils\"], function (_exports, _message, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"io-mail-assistant/models/Classes/shared/message\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  class MissiveConversationModel {\n    constructor(json) {\n      this.id = json.id;\n      this.update(json);\n    }\n    update(json) {\n      this.subject = json.subject;\n      this.messageCount = json.messages_count;\n      if (!(0, _utils.isEmpty)(json.latest_message)) {\n        this.latestMessage = new _message.default(json.latest_message, this);\n        if ((0, _utils.isEmpty)(this.selectedMessage)) {\n          // console.log(`Did switch to Selected Message ${json.latest_message.id}`);\n          this.selectedMessage = this.latestMessage;\n        }\n      }\n      this.debugDate = new Date();\n    }\n    get smartId() {\n      return `${this.id}|${this.selectedMessage.id}`;\n    }\n    changeSelectedMessage(json) {\n      // console.log(`Did switch to Selected Message ${json.id}`);\n      this.selectedMessage = new _message.default(json, this);\n    }\n    get selectedMessageId() {\n      return this.selectedMessage.id;\n    }\n    allUniqueContacts() {\n      return this.selectedMessage.allUniqueContacts();\n    }\n  }\n  _exports.default = MissiveConversationModel;\n});","define(\"io-mail-assistant/models/Classes/shared/attachment\", [\"exports\", \"@ember/object\", \"io-mail-assistant/config/environment\", \"lodash\", \"@glimmer/tracking\", \"io-mail-assistant/services/daylite-service\"], function (_exports, _object, _environment, _lodash, _tracking, _dayliteService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"io-mail-assistant/config/environment\",0,\"lodash\",0,\"@glimmer/tracking\",0,\"io-mail-assistant/services/daylite-service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let SharedAttachmentModel = _exports.default = (_class = class SharedAttachmentModel {\n    constructor(json) {\n      _initializerDefineProperty(this, \"isLoading\", _descriptor, this);\n      _initializerDefineProperty(this, \"daylite\", _descriptor2, this);\n      _initializerDefineProperty(this, \"error\", _descriptor3, this);\n      _initializerDefineProperty(this, \"draftAdd\", _descriptor4, this);\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        this.setupMissive(json);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        this.setupOutlook(json);\n      }\n    }\n    get canHide() {\n      if (this.isInline) {\n        return this.size < this.minFileSize;\n      }\n      return false;\n    }\n    setupMissive(json) {\n      this.id = json.id;\n      this.filename = json.filename;\n      this.extension = json.extension;\n      this.size = json.size;\n      this.url = json.url;\n      this.mediaType = json.media_type;\n    }\n    setupOutlook(json) {\n      this.id = json.id;\n      this.filename = json.name;\n      let extension = (0, _lodash.last)(this.filename.split('.'));\n      this.extension = extension;\n      this.size = json.size;\n      this.mediaType = json.contentType;\n      this.isInline = json.isInline;\n    }\n    get isInDaylite() {\n      return !(0, _lodash.isEmpty)(this.daylite);\n    }\n    get showAsAdded() {\n      return this.isInDaylite || this.draftAdd;\n    }\n    get hasError() {\n      return this.error !== undefined;\n    }\n    get hasErrorOrIsInDaylite() {\n      return this.hasError || this.isInDaylite;\n    }\n    get tooltip() {\n      if (this.hasError) {\n        return this.error;\n      } else if (this.isInDaylite) {\n        return `In Daylite - ${this.filename}`;\n      } else {\n        return this.filename;\n      }\n    }\n    async addOrRemoveDaylite(mail) {\n      this.error = undefined;\n      if (!mail.isDraft) {\n        if (this.isInDaylite) {\n          await this.removeFromDaylite(mail);\n        } else {\n          await this.addToDaylite(mail);\n        }\n      } else {\n        this.draftAdd = !this.draftAdd;\n        mail.saveDraftToLocalStorage();\n      }\n    }\n    async removeFromDaylite(mail) {\n      this.isLoading = true;\n      this.draftAdd = false;\n      this.error = undefined;\n      await mail.dayliteService.deleteAttachment(this.daylite);\n      this.daylite = undefined;\n      this.isLoading = false;\n    }\n    async addToDaylite(mail) {\n      this.mail = mail;\n      this.error = undefined;\n      if (this.isInDaylite || this.isLoading) {\n        this.isLoading = false;\n        console.log(`skip addToDaylite ${this.filename}`);\n        return;\n      }\n      this.isLoading = true;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // refetch messages to get new urls for downloading because they expire\n        const msgId = mail.foreign.selectedMessageId;\n        // eslint-disable-next-line no-undef\n        Missive.fetchMessages([msgId]).then(messages => {\n          if ((0, _lodash.isEmpty)(messages)) {\n            throw new Error('Message not found');\n          }\n          const msg = messages.at(0);\n          mail.foreign.changeSelectedMessage(msg);\n          this.missiveGetAttachment(mail);\n        });\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        await this.outlookGetAttachment(mail);\n      }\n    }\n    async missiveGetAttachment(mail) {\n      // const fileUrl = `https://cors-anywhere.herokuapp.com/${this.url}`;\n      // const fileUrl = this.url;\n      // const xhr = new XMLHttpRequest();\n      // xhr.open('GET', fileUrl);\n      // xhr.responseType = 'blob';\n      // xhr.onload = function () {\n      //   if (xhr.status === 200) {\n      //     const reader = new FileReader();\n      //     reader.onload = function () {\n      //       const base64String = reader.result.split(',')[1];\n      //       this.handleAttachmentsCallback(base64String);\n      //     }.bind(this);\n      //     reader.readAsDataURL(xhr.response);\n      //   } else {\n      //     const error = new Error('Network response was not ok');\n      //     mail.notificationHandler.addError(error);\n      //     this.handleError(mail.notificationHandler, error);\n      //   }\n      // }.bind(this);\n\n      // xhr.onerror = function () {\n      //   const error = new Error('Network error occurred');\n      //   mail.notificationHandler.addError(error);\n      //   this.handleError(mail.notificationHandler, error);\n      // }.bind(this);\n\n      // xhr.send();\n      const fileUrl = this.url;\n      const corsFileUrl = `${_environment.default.CorsAnywhereUrl}?url=${encodeURIComponent(fileUrl)}`;\n      let options = {\n        headers: {\n          ...mail.sessionService.headers()\n        }\n      };\n      fetch(corsFileUrl, options).then(response => {\n        if (!response.ok) {\n          throw new Error(`Network response ${response.status}`);\n        }\n        return response.blob();\n      }).then(blob => {\n        const reader = new FileReader();\n        reader.onload = function () {\n          const base64String = reader.result.split(',')[1];\n          this.handleAttachmentsCallback(base64String);\n        }.bind(this);\n        reader.readAsDataURL(blob);\n      }).catch(error => {\n        mail.notificationHandler.addError(error);\n        this.handleError(this, mail.notificationHandler, error);\n      });\n    }\n    async outlookGetAttachment(mail) {\n      return new Promise((resolve, reject) => {\n        const _this = this;\n        let _resolve = resolve;\n        let _reject = reject;\n        try {\n          // eslint-disable-next-line no-undef\n          Office.context.mailbox.item.getAttachmentContentAsync(this.id, async response => {\n            // eslint-disable-next-line no-undef\n            if (response.status !== Office.AsyncResultStatus.Succeeded) {\n              _reject(response.error);\n            } else {\n              try {\n                await _this.handleAttachmentsCallback(response.value.content);\n                _resolve();\n              } catch (error) {\n                _reject(error);\n              }\n            }\n          });\n        } catch (error) {\n          mail.notificationHandler.addError(error);\n          _this.handleError(_this, mail.notificationHandler, error);\n        }\n      });\n    }\n\n    // async handleAttachmentsCallbackFromOutlook(response) {\n    //   await this.handleAttachmentsCallback(response.value.content);\n    // }\n\n    async handleAttachmentsCallback(base64) {\n      if (!this.mail.isInDaylite) {\n        await this.mail.addOrRemoveDaylite(undefined, true, true);\n      }\n      try {\n        if (this.extension.toLowerCase() === 'ics' && this.mail.dataService.isRunningMacOS && !this.mail.isDraft) {\n          await this.createAttachmentViaDayliteDocs(base64);\n        } else {\n          await this.createAttachment(base64);\n        }\n        this.isLoading = false;\n      } catch (error) {\n        this.isLoading = false;\n        this.handleError(this, this.mail.notificationHandler, error);\n      }\n    }\n    async createAttachment(base64) {\n      let daylite = await this.mail.dayliteService.createAttachment(this.mail.daylite.self, this.filename, this.extension, base64);\n      this.daylite = daylite;\n    }\n    createAttachmentViaDayliteDocs(base64) {\n      let id = _dayliteService.default.extractId(this.mail.daylite);\n      let encodedFilename = encodeURIComponent(this.filename);\n      let url = this.urlForDaylite(encodedFilename, undefined, id, base64);\n      window.open(url, '_blank');\n    }\n    openAction() {\n      let url = this.url;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    get mediaTypeColor() {\n      if (this.isLoading) {\n        return 'text-gray-100';\n      } else if (this.mediaType.includes('text')) {\n        return 'text-blue-500';\n      } else if (this.mediaType.includes('audio')) {\n        return 'text-purple-700';\n      } else if (this.mediaType.includes('application')) {\n        return 'text-yellow-500';\n      } else if (this.mediaType.includes('image')) {\n        return 'text-green-600';\n      } else if (this.mediaType.includes('video')) {\n        return 'text-teal-600';\n      } else if (this.mediaType.includes('message')) {\n        return 'text-indigo-600';\n      }\n      return 'text-orange-600';\n    }\n    get mediaTypeColorHex() {\n      if (this.isLoading) {\n        return '#9b9fa4';\n      } else if (this.mediaType.includes('text')) {\n        return '#3B82F6';\n      } else if (this.mediaType.includes('audio')) {\n        return '#7E22CE';\n      } else if (this.mediaType.includes('application')) {\n        return '#EAB308';\n      } else if (this.mediaType.includes('image')) {\n        return '#16A34A';\n      } else if (this.mediaType.includes('video')) {\n        return '#0D9488';\n      } else if (this.mediaType.includes('message')) {\n        return '#4F46E5';\n      }\n      return '#EA580C';\n    }\n    get isOutlook() {\n      return _environment.default.AssistantIdentifier === 'outlook';\n    }\n    urlForDaylite(filename, fileUrl, id, data) {\n      let dynamicKey = '';\n      let dynamicValue = '';\n      if (!(0, _lodash.isEmpty)(fileUrl)) {\n        dynamicKey = 'url';\n        dynamicValue = fileUrl;\n      } else if (!(0, _lodash.isEmpty)(data)) {\n        dynamicKey = 'data';\n        dynamicValue = data;\n      } else {\n        throw new Error('can not parse url for Daylite');\n      }\n      return `daylite://plugincenter/addAttachment?filename=${filename}&entityname=Email&objectID=${id}&${dynamicKey}=${dynamicValue}`;\n    }\n    handleError(_this, notificationHandler, error) {\n      _this.isLoading = false;\n      let errorObject = notificationHandler.handleError(error);\n      this.error = errorObject.message;\n    }\n    get minFileSize() {\n      return 50000;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"daylite\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"error\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"draftAdd\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"addOrRemoveDaylite\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addOrRemoveDaylite\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openAction\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/models/Classes/shared/contact\", [\"exports\", \"@ember/utils\", \"lodash\", \"io-mail-assistant/config/environment\"], function (_exports, _utils, _lodash, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/utils\",0,\"lodash\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  class SharedMessageContactModel {\n    constructor(json) {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        this.setupMissive(json);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        this.setupOutlook(json);\n      }\n    }\n    setupOutlook(json) {\n      this.name = json.displayName;\n      this.address = json.emailAddress;\n    }\n    setupMissive(json) {\n      this.name = json.name;\n      this.address = json.address;\n      this.phoneNumber = json.phone_number;\n      this.username = json.username;\n      if ((0, _utils.isEmpty)(this.name)) {\n        this.name = json.username;\n      }\n      this.rescueEmailAddresses();\n    }\n    rescueEmailAddresses() {\n      // trying to rescue email address\n      if ((0, _utils.isEmpty)(this.address) && !(0, _utils.isEmpty)(this.name)) {\n        var regex = /([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\\.[a-zA-Z0-9_-]+)/gi;\n        let matches = this.name.match(regex);\n        if (!(0, _utils.isEmpty)(matches?.at(0))) {\n          this.address = matches?.at(0);\n        } else {\n          let matches = this.username.match(regex);\n          this.address = matches?.at(0);\n        }\n      }\n    }\n    dayliteRestString() {\n      if ((0, _utils.isEmpty)(this.name)) {\n        return this.cleanEmailAddressString(this.smartValueField);\n      }\n      const cleanName = this.cleanString(this.name);\n      const cleanAddress = this.cleanEmailAddressString(this.smartValueField);\n      return `${cleanName} <${cleanAddress}>`;\n    }\n    get smartValueField() {\n      if (!(0, _utils.isEmpty)(this.address)) {\n        return this.address;\n      } else if (!(0, _utils.isEmpty)(this.phoneNumber)) {\n        let number = this.phoneNumber?.replaceAll('+', '');\n        return `${number}@phone.number`;\n      } else if (!(0, _utils.isEmpty)(this.username)) {\n        return `${this.username}@social.media`;\n      }\n      return '';\n    }\n    cleanString(string, additionalDisallowedChars) {\n      // as far we know following chars are not allowed in the from/to string\n      let disallowedChars = [':', ',', '[', ']', '<', '>'];\n      if (!(0, _lodash.isNil)(additionalDisallowedChars)) {\n        disallowedChars = [...disallowedChars, ...additionalDisallowedChars];\n      }\n      disallowedChars.forEach(char => {\n        string = string.replaceAll(char, '');\n      });\n      return string;\n    }\n\n    // email addresses should not  contain spaces, but names can, therefore we have a extra method for email addresses\n    cleanEmailAddressString(string) {\n      return this.cleanString(string, [' ']);\n    }\n  }\n  _exports.default = SharedMessageContactModel;\n});","define(\"io-mail-assistant/models/Classes/shared/message\", [\"exports\", \"io-mail-assistant/models/Classes/shared/contact\", \"@ember/utils\", \"io-mail-assistant/models/Classes/shared/attachment\", \"lodash\", \"io-mail-assistant/config/environment\", \"uuid\", \"@glimmer/tracking\"], function (_exports, _contact, _utils, _attachment, _lodash, _environment, _uuid, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"io-mail-assistant/models/Classes/shared/contact\",0,\"@ember/utils\",0,\"io-mail-assistant/models/Classes/shared/attachment\",0,\"lodash\",0,\"io-mail-assistant/config/environment\",0,\"uuid\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let SharedMessageModel = _exports.default = (_class = class SharedMessageModel {\n    constructor(json, conversation) {\n      _initializerDefineProperty(this, \"isDraft\", _descriptor, this);\n      _initializerDefineProperty(this, \"createDraft\", _descriptor2, this);\n      _initializerDefineProperty(this, \"attachments\", _descriptor3, this);\n      _initializerDefineProperty(this, \"attachmentCount\", _descriptor4, this);\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        this.setupMissive(json, conversation);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        this.setupOutlook(json);\n      }\n    }\n    setupOutlook(json) {\n      this.id = json.internetMessageId;\n      if ((0, _utils.isEmpty)(this.id)) {\n        this.isDraft = true;\n        this.createDraft = true;\n        this.id = (0, _uuid.v4)();\n      }\n      this.internalId = json.itemId;\n      this.subject = json.subject;\n      if (!(0, _utils.isEmpty)(json.dateTimeCreated)) {\n        this.date = new Date(json.dateTimeCreated.toISOString());\n      } else {\n        this.date = new Date();\n      }\n      this.setupOutlookRecipients(json);\n      this.setupOutlookAttachments(json.attachments);\n      this.body = json.body;\n    }\n    setupOutlookAttachments(json) {\n      this.attachments = json?.map(jsonAttachment => {\n        return new _attachment.default(jsonAttachment);\n      }) || [];\n      this.attachmentCount = this.attachments.length || 0;\n    }\n    setupOutlookRecipients(json) {\n      if (!(0, _utils.isEmpty)(json.from.emailAddress)) {\n        this.fromContact = new _contact.default(json.from);\n      }\n      this.toContacts = this.getContactArray(json.to);\n      this.ccContacts = this.getContactArray(json.cc);\n      // this.replyToContacts = json.reply_to_fields?.map((jsonContact) => {\n      //   return new MissiveMessageContactModel(jsonContact);\n      // });\n    }\n    setupMissive(json, conversation) {\n      this.id = json.id;\n      this.subject = json.subject;\n      if ((0, _utils.isEmpty)(this.subject)) {\n        this.subject = conversation.subject;\n        let servicePrefix;\n        switch (json.type) {\n          case 'messenger_message':\n            servicePrefix = 'Facebook';\n            break;\n          case 'instagram_message':\n            servicePrefix = 'Instagram';\n            break;\n          case 'twilio_whatsapp_message':\n            servicePrefix = 'WhatsApp';\n            break;\n          case 'twilio_message':\n            // SMS\n            break;\n          case 'twilio_chat_message':\n            // Website LiveChat\n            break;\n          default:\n            break;\n        }\n        if (!(0, _utils.isEmpty)(servicePrefix)) {\n          this.subject = `${servicePrefix}: ${this.subject}`;\n        }\n      }\n      this.date = new Date(json.delivered_at * 1000);\n      this.fromContact = new _contact.default(json.from_field);\n      this.toContacts = json.to_fields.map(jsonContact => {\n        return new _contact.default(jsonContact);\n      });\n      this.ccContacts = json.cc_fields?.map(jsonContact => {\n        return new _contact.default(jsonContact);\n      });\n      this.replyToContacts = json.reply_to_fields?.map(jsonContact => {\n        return new _contact.default(jsonContact);\n      });\n      this.body = json.body;\n      this.setupMissiveAttachments(json.attachments);\n    }\n    setupMissiveAttachments(json) {\n      this.attachments = json?.map(jsonAttachment => {\n        const model = new _attachment.default(jsonAttachment);\n        model.isInline = false;\n        return model;\n      });\n      this.inlineAttachments = this.findInlineAttachmentsMissive();\n      this.attachmentCount = this.inlineAttachments?.length + this.attachments?.length;\n    }\n    async conditionallyResolveRecipientsForDraft() {\n      if (this.isDraft) {\n        let _this = this;\n        return new Promise(resolve => {\n          // eslint-disable-next-line no-undef\n          let item = Office.context.mailbox.item;\n          item.to.getAsync(function (toRes) {\n            item.from.getAsync(function (fromRes) {\n              item.cc.getAsync(function (ccRes) {\n                _this.setupOutlookRecipients({\n                  from: fromRes.value,\n                  to: toRes.value,\n                  cc: ccRes.value\n                });\n                resolve();\n              });\n            });\n          });\n        });\n      }\n    }\n    conditionallyResolveInternalDraftId() {\n      const _this = this;\n      return new Promise((resolve, reject) => {\n        if (this.isDraft) {\n          let _resolve = resolve;\n          // eslint-disable-next-line no-undef\n          Office.context.mailbox.item.loadCustomPropertiesAsync(function (asyncResult) {\n            // eslint-disable-next-line no-undef\n            if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {\n              let customProperties = asyncResult.value;\n              let draftId = customProperties.get('iom-draft-id');\n              if ((0, _utils.isEmpty)(draftId)) {\n                customProperties.set('iom-draft-id', _this.id);\n                customProperties.saveAsync(function () {\n                  if (\n                  // eslint-disable-next-line no-undef\n                  asyncResult.status === Office.AsyncResultStatus.Succeeded) {\n                    // eslint-disable-next-line no-undef\n                    Office.context.mailbox.item.saveAsync(function () {\n                      if (asyncResult.status ===\n                      // eslint-disable-next-line no-undef\n                      Office.AsyncResultStatus.Succeeded) {\n                        _resolve();\n                      } else {\n                        console.log('Failed to save custom properties on mail. Error: ' + JSON.stringify(asyncResult.error));\n                        reject(asyncResult.error);\n                      }\n                    });\n                  } else {\n                    console.log('Failed to save custom properties. Error: ' + JSON.stringify(asyncResult.error));\n                    reject(asyncResult.error);\n                  }\n                });\n              } else {\n                _this.id = draftId;\n                _resolve();\n              }\n            } else {\n              console.log('Failed to load custom properties. Error: ' + JSON.stringify(asyncResult.error));\n              reject(asyncResult.error);\n            }\n          });\n        } else {\n          resolve();\n        }\n      });\n    }\n    bodyWithConversationBanner(conversationId) {\n      if (_environment.default.AssistantIdentifier === 'outlook') {\n        return this.body;\n      }\n      let bodyBannerLink = this.bodyBannerLink(conversationId);\n      let prefix = `<div\n    style=\"width: 100%; background-color: #f1913f; height: 20px; margin-bottom: 5px; padding: 10px; border-radius: 5px; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;\"\n  >\n    <a href=\"${bodyBannerLink}\" style=\"text-decoration:none; display: inline-flex;gap: 8px; color: #fef8f3; font-size:16px\">\n      <img\n        style=\"width: 20px; height: 20px;\"\n        src=\"${this.bodyBannerImageBase64}\"\n      />\n      <span>${this.bodyBannerGoToTitle}</span></a\n    >\n  </div>`;\n      return `${prefix}${this.body}`;\n    }\n    bodyBannerLink(conversationId) {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        return `https://mail.missiveapp.com/#inbox/conversations/${conversationId}`;\n      }\n    }\n    get bodyBannerImageBase64() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        return 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAJAAAAABAAAAkAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAAC7C77bAAAACXBIWXMAABYlAAAWJQFJUiTwAAACNGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNi4wLjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+MTAyNDwvZXhpZjpQaXhlbFlEaW1lbnNpb24+CiAgICAgICAgIDxleGlmOlBpeGVsWERpbWVuc2lvbj4xMDI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6Q29sb3JTcGFjZT4xPC9leGlmOkNvbG9yU3BhY2U+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgpFAONlAAARn0lEQVR4Ae1dC3hUxRU+gRAw0IRYKEEUCQ+DJCGQQDbZPAiQ0IBQ8bM+Wot8lmrrV/uG2lYahWqttVZbW6lt7ddabSNWibZqVaqAgJFHaBB5BuQlYglCUCBPpuc/u+e6SXZDNrl308o93zd37sydOWfmPzNnXnf3RlEYZIzpycmjmJqQjcNR7I1j52WXyW4Uu0HsBrKLZ4fnHwcyXIladkfYvcduF7uN7Nayq2I8zrAPPKLhcbgZ4Y5QhwDyAx3NjBvBlMOXsHc9u9nsUtidy/QWV76c3aOMz04Awfj0Yq+Jw1Bcu3RWBYBZAPBo4aXsrmUHbSs1+G96sA+e6uvzj4MPMNHS1UedYnDxE6xCGbvFjBd6iChCsUM4GLWrAAY/hhkIuHy/iBksZAdwQdIb2IdZ0jjEn0sEhai5QasHIe5Oxu12BAIxRLg1hVSAtnz2R3KmpezG+zMD+HMZdD8MbTxVhipiE6e4mhVRrVi2ycERQRWgWmO/iNP8nV0fdvXs0OWC5uF4l3wIwETBavRmV8duFithuWLK4RbUxnT4tdXA/uWc8mV2Cj4YuuC3gC9oABgBKzRYYPcysIQpB7YcbkEtAOUEYvPZR8sH+CAMLoEDrkS6lw4hEIhdcbCeYCkA2uEEjezD5r/JDtoLZNAhiW6iNggohjBHaYxxizFBTBCDzvG+OT4nwoCrZsdt+W3wDDsCGKo5ArZYyaKhS+PXMUCA5shF/ByzHWSAHXPJHgR0TBjvxxhcBfMojujJGmlmH4us7eygFIzklnnie5e6joBiiunqaMZ8F7AH2Ap0Kd8jjHm+xvGtSzYhAEyBLTAG1qAoAZo1gb0d7GmgW0BDSOSS/QgothiYU7gX7FSgr+cIgK8asl+0yxEIqIUB1sCcenDrRyR2NV2KLAKzgT0GYcx6Kv2ytYtEtijnlrRAjDPQ+r3++mP/Qk3SuQVJZGurZghSvQjgJMulyCKAKSlIegDm/yC39ftwiMRVp/mXAHSc4YI00hdyr04ioI19EG5wgA7SSF/IvTqJgGI9ELMgjMpu63cS7tC8ZQ3ggh8aIKefRGlXcFqQyz8EAq4CQgATqWhXAZFCOoQcVwEhgIlUtKuASCEdQo4ci4V4Flb0mTOYzbYl3vPGGWjbB/8nMaHq1aOHPW0X6wDdl3AMElTCrgI7VshWjAGLNBuHG49tPWD//gN09OhRio6OpjNc+F7RPSkhIYESExMFfKmQw5VphWGng4FlrampoZqao9TQwJvFXP7m5mbq17cvjRw5wp6ezcI6TdyyJe+HH35oZsy8Aj2J3UXszufmc6GZmDPF3PXju0317t2SDuk1T6eFOpyRARYJhw+/Zx7+7SNmavFMQ7EXc50GsktkF8dugDl48B1Jp+k7W6wumSAWKq2gtraWrvn8XDpVj5bfg98I5vda6hvp5OnTVLWuki4YMYKeevwhyvZk4W1he1pOp9t36IxqKndV76abbv4OrVj+DKVkFlJc31jq0wevxRrp4W/v208vPltGw4cPJ80Tmmv7T2xTwMi0bKo5cIilnc+unkakDKMhiQPY/ETR4ZrjtH3Pe/TvVUspfezYLhe6/Sp17qkCuW//frp27s20bvtBKhybRE3NZ6jm2AnaWrmbGXPLiunLr97uJO7VNKK7FaBVbWpqorKypbR12zaKjY2VglZt3kp/W/oEefKmUq9ePen94yfp6IkTtPK5v1JycrLY0p498ZZ79xPsOsoCW3/TzV+jZavepILUYdTEk4e1KyqpeLqHcnMmUk9uTA0NjfTJ8xNo3rwvUr9+/breoztru4Llgz30uTPm1OnTZtmycm4yZLLzS0z+lJkmcWSmSRnnNfsPHJDsXbWfwcoQbpyW4dSpU+Zb357P5U00k4pmmYKps6Ts9/38fsMmVsYurZ/KsGM8gwYdpSeffEoqkjd5BleKB7T4ZHPVNdeZ999/X+QqAI4WIgRzlV1fX29Kb18k5UQZ81FObjh33XW3aWzEa5xtyQ7wwdUxBWjlIOQ3D/9OKjSpaKZPCZRgvjP/VnPy5Ek8ll4jNxG8NDf7ZnAo5/0PPNiqfL3Nwh+Wmrq6OikRm1jHSuaYAlBiVQLbTfPju++RSuZNmcFd3NfC7rzrHtNQj98t8KmQf0orAYcvgbL+WrbUAj+fy0Z0sbnxy18Vs4NiNDX5pqVOFclRBaDQqgTY2O//YCFXMJ7Hgxkmb/J0qfhDSx62wA8ExqkKQ4bK+eeLL0kZsvKmSZl6JKaYadOvMIcOvSvitexOlQV8HVcAhGhFYPevvW6uobhRXOHLjLewRADAOAEKBEciHLhoWVauek1kZ2RPMblcjmFjPGZ48jiz279o1HQOFKEFyy6tA8KZQHKFZKqHLYvLr5xDB4/WUvKwwTwdPUMVq16kl156mYqLi9AghK0TG3isYNkWqdq8mcalp9M4z2Tqe15v+vBUHVVtO0hvri2n1NSUiE6RI6YAoKoA7Nixk6aUXE59+sZT4sAEquNVc+Xr/6LVq9dQbq7XSheOgs+WVmXv27ePrrxmDv2nto6GDh7A8/omWr/mZeIeQQX5eY7IbrdsLfpDBALatauqNnNTH2LSJhSIKRqTkc/hKPPmli1SCk1nR5GU16FDh0zJjM8YGjTG5Ez6tPHkTxMz9OyzfxcxPhNoh8SO84jIGNC6OArIihWrBIAJ3qmihKGjJ5qcgmKzb99+yaLpWucPJ6w8MP5cN+cGlneBTACyCz4tssvKnrDYQQGRpm5RgK+l+Spb/syzAgRao5dbJQboWbOvNocPHxYsFMDOAKN5T5+uM7d+HzMwEvB1BrZkyW8stt0BPoR3iwIgOLDCjz32uIDjnVTCPQBmIcF88UtfMceOHUdSaxYlgQ5elD+UcN/9Dwh/8Fbwb1t4Oy+06oWbpu0ga1uTdZsCUAttoQDg5/f/ok0LLS29w/BBiFRY03ak9oGAPvxb3yocU03pYfyblHk3YaF1Imy+HZEdbppuU4CCpMBioTZ/wfdECbm8SNM1woMP/srqLZqnvUoijaZ76qmnfS2fTZuAH5Nk+NzC1Bw9KiywxRCYvj2+Tj3rFgUoQFopVcLx48fNjTd9hUH7hJgiT36xAPj73z+iSS1wrYhWN8prxYqVkjcje7LwGpCUbtIycg3v90uO1vs7rcvUiq1jwYgrQAHasWOHKS9/xqqYAsJnsOaqqz/H4F0oMyLfmEBmmT9tey1Wea9bt07AT+Upriev2Fw8egKH48yWLW9Z4Cvgr7zyqqmoeEPiNb9VqAjcRFQBWsFD775rCqf6tiF4BWxVU5Wwd+9ek5KeZQYljRMlZHIrxgzmtdWrQwKlvLe89RanHWxGjMkyOdyDUjPzJO+GDRusvAp+5aZ/yzPqMchs27bNem4VKAI3EVOAAvTBBx+YeTfezBUfIHswABatEISJqabbvBkLNTKXjM02WblTzej0HAmvX79R0mo6BFRxOOjx5E4x/S9K5ZZfZCbwSwHg8eqrr0oeAK/5tm3bbtIn5JuUjDwzbHSmuXD4WLNnzx5Jp/wk4PDFnreLuJbtEVdc9mDq6xuIt6Xpkd8tIW9BBt7yEKqs3CRbAAhiDwjp09LSqKKignZuruDD/TqK54PxYaMn0MSJVxK2MvCeEYNp7dscO3aMbrvth/TGmq2UfHEiw25ow+uv0BNLn6TCwkI0NJGle0zV1dVUteE16h/XlwYNSKCD+2vplm/MpyNHamTPCmWICDmsYGvQRKvC8R5Xynh50ZWdWyT3t9+x2GChBEILVV/vX2QThTxZvFrOZpMS86lkUzRthoEZU0Kv+uotX5d0MDvgjzw4CFJSfuoj/pE//FHSZXNvQT7kwbEkXrMBaW+RgEMXR01QYGX/9OifpYIwDV6pbE9zy9e/aQAeqHVlA/M+9vhfJG9OfpGYI/41lfnSjV+WreN33jnkP2fgs2fwnuQD/96f3WeZplC8cdz4k3vuFd65vEjzsKmDEhYt/pHBMWWwckmkjRfHFAAAFcTnnn9eKjYxZzKDhEoONsUlM63thlA2V/PD//VDS4RHDufPyCrgl4suMsNGpZm0cZjhxJgMTwG3Yl+v+ja34tP8UkB7AKpSsP5Y8F3f+gO8vQU+Hg/84pdW+TWtjbhbrGxTAAoZ6FQCBli0qrEZXuPxTjb9h1xqhiRdag14Z6ucPoeSfnqvr7UWTOEti/ypzDPXjEnPNgBuEsdBzmev+lyHD/yV94kTJ8zcG+ZJfjQQDOTg9eifH9Nq+OvmG8Q1n/WwCze2KSBYGVau9O12XjrWY7JyCs3w0Rkm9pNDzdatWyV5Ryui6dBa71i0WMDB6yPDk8ebUWMyeQMvyQ/+NVav0jzByhUYp+mwVZ2TW8ivvg3h8WmKyeQeBSUsKy+3ekJgPrvubTmQYRNBy5cvJ5x29e7dW96G27NnL5WWLqQxYz0Uy6dOjY3NVFW5hireeIM8WVlhH3xABmY+eDEKsp574Z+0tmITH+Y0UFZmKs0omUbTp5dQXFxc2LxZCTLzqa7eTeO9l1G/2Gi6aPBAamhspKqNa2j+gu/yG31paKzEPZH6908QWX369JE4nVmxwsKmLikABYJw7sIUH4//6m5JbKspmv8TqpELvWn9anr+hRdoekmJFBopwy24ykNevK2MqScPDyI7NvY8RIcNvmQKyMcLORo/aRYNiutHQ4d8SgBfX7FSk1k+rxkoKSmp0/KUkS0KwMu5X7j+Bjp5qp5fzo3mNygNNfJR37HaE9yC9rKsd+jpZeV0xWz8FSn3a7/iJBDmBXnhWv/eAHGgcJUaKF572br167mXXsaPjlDauBx+zT6Oe3aMyO0V3YsOHDxIzzxtz8u5YNppwuwEhEEsfsBQv21m9BljdXPmzDWvv15hydA8VkQnb8AH9hvOLp5Yiiuv7bxXtWDBrVyP86y6aJ3g7927T0oO+V2hLvUALogQF4A2bqykw4ffpZiY3tIto/hF1iEXDOFuOoz68g8aQEjXlRYqTCJw0XI2NTbR23vfJhzkw/aj18HHOOPxePil4zZ/hBt26WxRwNmkcqtqYzLOlqe7n0eqzLYpAAUORmjx/w+tPljZ0RPgglHrMShYmo7E2aaAjghz07RFICK7oW3FujGKgKsARaKbfFcB3QS8inUVoEh0k+8qoJuAV7FQQPB5lqZwfScRkL8sq/VLcBXhJNQteSvWtegBR/zPgq+kWmZ0Q/YgoFgfgQLwbUSQasUXcq9OIqAKeA8K2OWXpJFOCnZ5+xDQxi7fD8BXQV2KLAL+N6KoEj1grV82/g7E7QXOKwIY6z72Wiigih0+XwLSD1P6Qu7VCQQUY2Be1YO3iqERfA/XpcgiUA7sxRbxnvclLNv9iI/zCkBjh9X56CM+DD6+lL2TI8v88rWL+IOuZyMCim0ZMBfs+eJ+yM1GhNthhaknLA56wUcfcmNN4FgfH/LEeuBOdiB8T8YlexFQTPG1bXxFD5g36xjA91GyOOAH+KISvqzkfk/SPgUolpsY5wywZZwFc10QIML9nK19gAdyOvvnbJGa1YH/5sIHnas5OMvPAX/sCgYudQ4BBR+58Wnzaj/G+GKhEKZEFnEC+ew2+8s5Ur+uByWgC7kUHgLATP+ZeDYw9VsZHQuEm2WCAnn7tQRlFHH8P9jp93CxXRE0T2D+c/weYylAVsxm+sGXz8W3xqZFD9CHrXpCKsdv8jME+Og+mEq51BIBYAJsgBHAB2apoVo+PxMKqgA84YzWmMD3GLkXs4MQbCQhH4Sd68pQ0IEDMAE2iFsMzNi1sfn8rAWd1Zz47RYEYKY0ir1SdteyU/vGt9a6AYUAT/Xx7ONCMC0AV33UCyZZCQMudhMA/i5EBmKHcDA6qwKQiRkhHbYsVBHYO7qeHQbqFHbnMmEPDZuZjzI+OwEEgGevicOytkJcKOqQAjQzM8afPTPfKJmachgtPZ2dlx0+Cooegk8jDmQXzy4s/pz+f5UAJF5ewPk5jnDRwnGQtZZdFeOBngHgYRWwwtI9H0S3S/8Fp8BkcVVXuLUAAAAASUVORK5CYII=';\n      }\n      return '';\n    }\n    get bodyBannerGoToTitle() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        return 'Go to Missive conversation';\n      }\n      return '';\n    }\n    dayliteCompatibleFromString() {\n      return this.fromContact.dayliteRestString();\n    }\n    dayliteCompatibleToString() {\n      let dayliteStrings = this.toContacts.map(contact => {\n        return contact.dayliteRestString();\n      });\n      // to string is not to be allowed null by Daylite REST\n      if ((0, _utils.isEmpty)(dayliteStrings)) {\n        return this.dayliteCompatibleFromString();\n      }\n      return dayliteStrings.join(',');\n    }\n    dayliteCompatibleCCString() {\n      let dayliteStrings = this.ccContacts.map(contact => {\n        return contact.dayliteRestString();\n      });\n      if ((0, _utils.isEmpty)(dayliteStrings)) {\n        return null;\n      }\n      return dayliteStrings.join(',');\n    }\n    findInlineAttachmentsMissive() {\n      var doc = new DOMParser().parseFromString(this.body, 'text/html');\n      // remove all blockquotes, which are normally a reply to an email and should not be respected\n      var quotes = doc.getElementsByTagName('blockquote');\n      if (!(0, _utils.isEmpty)(quotes)) {\n        Array.from(quotes).forEach(quote => {\n          quote.remove();\n        });\n      }\n      var images = doc.getElementsByTagName('img');\n      var inlineAttachments = [];\n      if (!(0, _utils.isEmpty)(images)) {\n        var imagesArray = Array.from(images);\n        if (!(0, _utils.isEmpty)(images)) {\n          imagesArray.forEach(element => {\n            if (!(0, _utils.isEmpty)(element.src)) {\n              // let regex =\n              //   /https:\\/\\/attachments([+-]?(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*))(?:[eE]([+-]?\\d+))?missiveapp\\.com/i;\n              // let matches = element.src.match(regex);\n              let contains = element.src.includes('https://attachments-') && element.src.includes('missiveapp.com');\n              if (contains) {\n                let jsonObject = JSON.parse(element.dataset.missiveAttachmentAttributes);\n                if (!(0, _utils.isEmpty)(jsonObject)) {\n                  // need to replace the url\n                  jsonObject.url = element.src;\n                  let model = new _attachment.default(jsonObject);\n                  model.isInline = true;\n                  inlineAttachments.push(model);\n                }\n              }\n            }\n          });\n        }\n      }\n      return inlineAttachments;\n    }\n    allUniqueContacts() {\n      let allMissiveContacts = [...(this.ccContacts ?? []), ...(this.toContacts ?? []), ...(this.replyToContacts ?? [])];\n      if (!(0, _utils.isEmpty)(this.fromContact)) {\n        allMissiveContacts.push(this.fromContact);\n      }\n      return (0, _lodash.uniqBy)(allMissiveContacts, 'smartValueField');\n    }\n\n    // used by Outlook\n    get selectedMessageId() {\n      return this.id;\n    }\n    get selectedMessage() {\n      return this;\n    }\n    get smartId() {\n      return this.id;\n    }\n\n    // Outlooks returns an object, not an array when composing\n    getContactArray(object) {\n      if ((0, _lodash.isArray)(object)) {\n        return object.map(jsonContact => {\n          return new _contact.default(jsonContact);\n        });\n      } else {\n        return [];\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isDraft\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"createDraft\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attachments\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"attachmentCount\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/models/daylite/category\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  class DayliteCategoryModel extends _model.default {\n    static initRepresentation(cat) {\n      let rep = {\n        id: cat.self,\n        hex: cat.hex_colour,\n        name: cat.name\n      };\n      return rep;\n    }\n  }\n  _exports.default = DayliteCategoryModel;\n});","define(\"io-mail-assistant/models/daylite/keyword\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  class DayliteKeywordModel extends _model.default {\n    static initRepresentation(kw) {\n      let rep = {\n        id: kw.self,\n        name: kw.name\n      };\n      return rep;\n    }\n  }\n  _exports.default = DayliteKeywordModel;\n});","define(\"io-mail-assistant/models/login/login-panel\", [\"exports\", \"@ember/object\", \"@ember/array\", \"rsvp\", \"ember-validators\"], function (_exports, _object, _array, _rsvp, _emberValidators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/array\",0,\"rsvp\",0,\"ember-validators\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class LoginPanelModel extends _object.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"formData\", {});\n      _defineProperty(this, \"loginPanelFields\", (0, _array.A)([]));\n    }\n    addToLoginPanelFields(loginPanelField) {\n      this.loginPanelFields.addObject(loginPanelField);\n    }\n    checkValidate() {\n      var validations = [];\n      this.loginPanelFields.forEach(child => {\n        const typeString = child.args.type;\n        const value = child.value;\n        const required = child.args.required;\n        if (typeString) {\n          let p = new _rsvp.Promise((resolve, reject) => {\n            const validationCheck = (0, _emberValidators.validate)('format', value, {\n              type: typeString,\n              allowBlank: required\n            });\n            if (typeof validationCheck === 'boolean' || validationCheck instanceof Boolean) {\n              resolve();\n              child.showErrorMessage = false;\n            } else {\n              reject(validationCheck);\n              child.showErrorMessage = true;\n            }\n          });\n          validations.push(p);\n        }\n      });\n      return (0, _rsvp.all)(validations);\n    }\n  }\n  _exports.default = LoginPanelModel;\n});","define(\"io-mail-assistant/models/mail\", [\"exports\", \"@ember-data/model\", \"@ember/utils\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/service\", \"io-mail-assistant/services/daylite-service\", \"io-mail-assistant/services/data-service\", \"@ember/template\", \"io-mail-assistant/models/Classes/mail/contactpool\", \"io-mail-assistant/models/Classes/mail/objectivepool\", \"io-mail-assistant/models/Classes/mail/taskAppointmentPool\", \"io-mail-assistant/models/Classes/mail/attachmentPool\", \"io-mail-assistant/config/environment\", \"lodash\"], function (_exports, _model, _utils, _object, _tracking, _service, _dayliteService, _dataService, _template, _contactpool, _objectivepool, _taskAppointmentPool, _attachmentPool, _environment, _lodash) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"@ember/utils\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/service\",0,\"io-mail-assistant/services/daylite-service\",0,\"io-mail-assistant/services/data-service\",0,\"@ember/template\",0,\"io-mail-assistant/models/Classes/mail/contactpool\",0,\"io-mail-assistant/models/Classes/mail/objectivepool\",0,\"io-mail-assistant/models/Classes/mail/taskAppointmentPool\",0,\"io-mail-assistant/models/Classes/mail/attachmentPool\",0,\"io-mail-assistant/config/environment\",0,\"lodash\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MailModel = _exports.default = (_class = class MailModel extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"dataService\", _descriptor, this);\n      _initializerDefineProperty(this, \"dayliteService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"outlookService\", _descriptor3, this);\n      _initializerDefineProperty(this, \"notificationHandler\", _descriptor4, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor5, this);\n      _initializerDefineProperty(this, \"creationService\", _descriptor6, this);\n      _initializerDefineProperty(this, \"store\", _descriptor7, this);\n      _initializerDefineProperty(this, \"daylite\", _descriptor8, this);\n      _initializerDefineProperty(this, \"contactPool\", _descriptor9, this);\n      _initializerDefineProperty(this, \"objectivePool\", _descriptor10, this);\n      _initializerDefineProperty(this, \"taskAppointmentPool\", _descriptor11, this);\n      _initializerDefineProperty(this, \"attachmentPool\", _descriptor12, this);\n      _initializerDefineProperty(this, \"isLoading\", _descriptor13, this);\n      _initializerDefineProperty(this, \"isSearching\", _descriptor14, this);\n      _initializerDefineProperty(this, \"searchMode\", _descriptor15, this);\n      _initializerDefineProperty(this, \"searchPrefillContact\", _descriptor16, this);\n      _initializerDefineProperty(this, \"otherConversationIsInDaylite\", _descriptor17, this);\n      _initializerDefineProperty(this, \"cacheInvalidated\", _descriptor18, this);\n      _initializerDefineProperty(this, \"draftCategory\", _descriptor19, this);\n      _initializerDefineProperty(this, \"draftCategoryColor\", _descriptor20, this);\n      _initializerDefineProperty(this, \"draftKeywords\", _descriptor21, this);\n      _defineProperty(this, \"searchModes\", {\n        none: 0,\n        person: 1,\n        company: 2,\n        project: 3,\n        opportunity: 4,\n        contactMerge: 5,\n        task: 6,\n        appointment: 7,\n        category: 8,\n        keyword: 9\n      });\n    }\n    static initRepresentation(model, dlEmail, otherConversationIsInDaylite) {\n      let rep = {\n        id: model.selectedMessageId,\n        foreign: model,\n        otherConversationIsInDaylite\n      };\n      if (!(0, _utils.isEmpty)(dlEmail)) {\n        rep.daylite = dlEmail;\n      }\n      return rep;\n    }\n    setup(value, isInBackground, fromAttachmentAdd) {\n      this.daylite = value.model;\n      this.evaluateCategory();\n      this.contactPool = new _contactpool.default(this, this.foreign.selectedMessage.id);\n      this.contactPool.setup(value.model, value.data, isInBackground);\n      this.objectivePool = new _objectivepool.default(this, this.foreign.selectedMessage.id);\n      this.objectivePool.setup(value.model, value.data, isInBackground);\n      this.taskAppointmentPool = new _taskAppointmentPool.default(this, this.foreign.selectedMessage.id);\n      this.taskAppointmentPool.setup(value.model, value.data, isInBackground);\n\n      // when clicking on an attachment and mail is not in DL, we don't want to load the attachment pool\n      if (!fromAttachmentAdd) {\n        this.attachmentPool = new _attachmentPool.default(this, this.foreign.selectedMessage.id);\n        this.attachmentPool.setup(value.data, isInBackground);\n      }\n\n      // if it's a draft and we have a localstorage entry, we try to restore data\n      if (this.isDraft && !(0, _utils.isEmpty)(this.id)) {\n        let draftString = window.localStorage.getItem(`iom-draft-${this.id}`);\n        let draftObject;\n        if (!(0, _utils.isEmpty)(draftString)) {\n          draftObject = JSON.parse(draftString);\n          for (const [key, value] of Object.entries(draftObject)) {\n            if ((0, _lodash.isArray)(value) && key !== 'keywords' && key !== 'attachments') {\n              let pool;\n              if (key === 'contacts' || key === 'companies') {\n                pool = this.contactPool;\n              } else if (key === 'projects' || key === 'opportunities') {\n                pool = this.objectivePool;\n              } else if (key === 'appointments' || key === 'tasks') {\n                pool = this.taskAppointmentPool;\n              }\n              pool.addToLinked(value);\n              pool.suggestions = [];\n            } else if (key === 'category') {\n              this.draftCategory = value;\n              this.evaluateCategory();\n            } else if (key === 'keywords') {\n              this.draftKeywords = value;\n            } else if (key === 'attachments') {\n              this.setupAttachmentPoolFromDraft(value);\n            }\n          }\n        }\n      }\n    }\n    setupAttachmentPoolFromDraft(value) {\n      value?.forEach(attachmentId => {\n        let attachment = this.attachmentPool.visible.find(attachment => {\n          return attachment.id == attachmentId;\n        });\n        if (!(0, _utils.isEmpty)(attachment)) {\n          attachment.draftAdd = true;\n        }\n      });\n    }\n    async addOrRemoveDayliteAction() {\n      await this.addOrRemoveDaylite();\n    }\n    get isInDaylite() {\n      return !(0, _utils.isEmpty)(this.daylite);\n    }\n    get supportConversations() {\n      return _environment.default.AssistantIdentifier === 'missive';\n    }\n    get conversationIsInDaylite() {\n      return this.isInDaylite || this.otherConversationIsInDaylite > 0;\n    }\n    get conversationImportedMailsCount() {\n      let count = this.otherConversationIsInDaylite || 0;\n      if (this.isInDaylite) {\n        count = count + 1;\n      }\n      return count;\n    }\n    get canOpenWeb() {\n      return this.isInDaylite;\n    }\n    get canOpenDaylite() {\n      if (_dataService.default.isRunningMacOS()) {\n        return this.isInDaylite;\n      }\n      return false;\n    }\n    async putDayliteCategory(categoryName) {\n      try {\n        this.isLoading = true;\n        if (!this.isDraft) {\n          await this.dayliteService.putDayliteCategory(this.daylite, categoryName);\n        }\n        this.setCategory(categoryName);\n        this.isLoading = false;\n      } catch (error) {\n        this.isLoading = false;\n        this.notificationHandler.addError(error);\n      }\n    }\n    async addOrRemoveDayliteKeyword(_this, keywordName, addOrRemove) {\n      try {\n        _this.isLoading = true;\n        if (!_this.isDraft) {\n          await _this.dayliteService.patchDayliteKeyword(_this.daylite, addOrRemove, keywordName);\n        }\n        let currentKeywords = _this.keywords;\n        let newKeywords = currentKeywords;\n        if (addOrRemove == 'remove') {\n          newKeywords = currentKeywords.filter(element => element !== keywordName);\n        } else {\n          if (!(0, _utils.isEmpty)(currentKeywords)) {\n            newKeywords = [...currentKeywords, keywordName];\n          } else {\n            newKeywords = [keywordName];\n          }\n        }\n        _this.setKeywords(newKeywords);\n        _this.isLoading = false;\n      } catch (error) {\n        _this.isLoading = false;\n        _this.notificationHandler.addError(error);\n      }\n    }\n    async searchDayliteKeyword(_this) {\n      _this.search(_this.searchModes.keyword);\n    }\n    async addOrRemoveDaylite(extendedBody, onlyAdd, fromAttachmentAdd) {\n      if (this.isDraft) {\n        this.foreign.selectedMessage.createDraft = !this.foreign.selectedMessage.createDraft;\n        this.conditionallySaveDraft(this);\n      } else {\n        let addedObjects;\n        try {\n          this.isLoading = true;\n          let dlEmail = null;\n          if (this.isInDaylite && !onlyAdd) {\n            await this.dayliteService.deleteEmail(this.daylite);\n            this.cacheInvalidated = true;\n            this.contactPool.emailDeleted();\n            this.objectivePool.emailDeleted();\n            this.taskAppointmentPool.emailDeleted();\n            await this.attachmentPool.emailDeleted();\n\n            // when triggering this we need to make sure we set a custom prop on the email to avoid that autosaving will add the mail again\n            if (_environment.default.AssistantIdentifier === 'outlook') {\n              await this.outlookService.saveAutosaveState(\n              // eslint-disable-next-line no-undef\n              Office.context.mailbox.item, true);\n            }\n          } else {\n            let res = await this.createEmail(extendedBody, fromAttachmentAdd);\n            dlEmail = res.dlEmail;\n            addedObjects = res.addedObjects;\n            this.cacheInvalidated = true;\n          }\n          // need to do this here for ui reasons\n          addedObjects?.forEach(element => {\n            element.isLoading = false;\n          });\n          this.isLoading = false;\n          this.daylite = dlEmail;\n        } catch (error) {\n          this.isLoading = false;\n          addedObjects?.forEach(element => {\n            element.isLoading = false;\n          });\n          this.notificationHandler.addError(error);\n        }\n      }\n      // // daylite email is added , search and add a \"☀️Daylite\" label\"\n      // // eslint-disable-next-line no-undef\n      // let labels = await Missive.fetchLabels();\n      // let dlLabel = labels.findBy('name', '☀️Daylite');\n      // if (!isEmpty(dlLabel)) {\n      //   if (!isEmpty(dlEmail)) {\n      //     // eslint-disable-next-line no-undef\n      //     Missive.addLabels([dlLabel.id]);\n      //   } else {\n      //     // eslint-disable-next-line no-undef\n      //     Missive.removeLabels([dlLabel.id]);\n      //   }\n      // }\n    }\n    async createEmail(extendedBody, fromAttachmentAdd) {\n      let value = await this.dayliteCreateBody(extendedBody);\n      let addedObjects = value.addedObjects;\n      addedObjects?.forEach(element => {\n        element.isLoading = true;\n      });\n      let result = await this.dayliteService.createEmailWithMessage(value.body, this.foreign.selectedMessage);\n      // reload the pools\n      this.setup(result, false, fromAttachmentAdd);\n      return {\n        addedObjects,\n        dlEmail: result.model\n      };\n    }\n    async dayliteCreateBody(extendedBody) {\n      let obj = {\n        message_id: this.foreign.smartId,\n        from: this.foreign.selectedMessage.dayliteCompatibleFromString(),\n        to: this.foreign.selectedMessage.dayliteCompatibleToString(),\n        subject: this.foreign.selectedMessage.subject,\n        date: this.foreign.selectedMessage.date.toISOString(),\n        body: this.foreign.selectedMessage.bodyWithConversationBanner(this.foreign.id)\n      };\n      let addedObjects = null;\n      if ((0, _utils.isEmpty)(extendedBody)) {\n        let value = await this.suggestedBody();\n        extendedBody = value.body;\n        addedObjects = value.addedObjects;\n      }\n      let body = {\n        ...obj,\n        ...extendedBody\n      };\n      return {\n        body,\n        addedObjects\n      };\n    }\n    async suggestedBody() {\n      let addedObjects = null;\n      let autoAddedContacts = this.contactPool.suggestions.filter(element => {\n        return element.isInDaylite == true;\n      });\n      let autoAddedPersonBodies = [];\n      let autoAddedCompanyBodies = [];\n      let defaultCompanyPromises = [];\n      // manually try to refresh token if needed before other Promises call to same time which leads to an auto log out\n      await this.dayliteService.conditionallyRefreshToken('suggestedBody');\n      autoAddedContacts.forEach(element => {\n        if (element.daylite.isPerson) {\n          autoAddedPersonBodies.push(element.daylite.dayliteBodySelf());\n          defaultCompanyPromises.push(element.daylite.defaultCompanyModel(this.dayliteService));\n        } else {\n          autoAddedCompanyBodies.push(element.daylite.dayliteBodySelf());\n        }\n      });\n      (await Promise.all(defaultCompanyPromises)).map(element => {\n        // adding default company of contact\n        if (!(0, _utils.isEmpty)(element)) {\n          autoAddedCompanyBodies.push(element.dayliteBodySelf());\n        }\n      });\n      addedObjects = [...autoAddedContacts];\n      let autoAddedProjectBody = null;\n      let autoAddedOpportunityBody = null;\n\n      // only auto add project/opportunities when only one is available\n      let projects = this.objectivePool.suggestions.filter(element => {\n        return element.daylite.isProject == true;\n      });\n      if (projects.length == 1) {\n        autoAddedProjectBody = projects.at(0).daylite.dayliteBodySelf();\n        addedObjects.push(projects.at(0));\n      }\n      let opps = this.objectivePool.suggestions.filter(element => {\n        return element.daylite.isOpportunity == true;\n      });\n      if (opps.length == 1) {\n        autoAddedOpportunityBody = opps.at(0).daylite.dayliteBodySelf();\n        addedObjects.push(opps.at(0));\n      }\n      let body = {};\n      body.contacts ??= autoAddedPersonBodies;\n      body.companies ??= autoAddedCompanyBodies;\n      body.projects = (0, _utils.isEmpty)(autoAddedProjectBody) ? undefined : [autoAddedProjectBody];\n      body.opportunities = (0, _utils.isEmpty)(autoAddedOpportunityBody) ? undefined : [autoAddedOpportunityBody];\n      return {\n        body,\n        addedObjects\n      };\n    }\n    openAction(openType) {\n      let url;\n      let id = _dayliteService.default.extractId(this.daylite);\n      if (openType == 'web') {\n        url = `https://ioweb.iosxpert.cloud/main/emails/${id}`;\n      } else {\n        url = `daylite://Command=ShowObject&Entity=Email&ID=${id}`;\n      }\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.openURL(url);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.open(url, '_blank');\n      }\n    }\n    search(mode, contact) {\n      this.searchPrefillContact = contact;\n      this.searchMode = mode;\n    }\n    searchCategory() {\n      this.search(this.searchModes.category);\n    }\n    get category() {\n      if (this.isInDaylite && !(0, _utils.isEmpty)(this.daylite.category)) {\n        return this.daylite.category;\n      } else if (this.isDraft && !(0, _utils.isEmpty)(this.draftCategory)) {\n        return this.draftCategory;\n      } else {\n        return 'None';\n      }\n    }\n    get categoryColor() {\n      if (this.isInDaylite) {\n        return this.daylite.categoryColor;\n      } else if (this.isDraft && !(0, _utils.isEmpty)(this.draftCategory)) {\n        return this.draftCategoryColor;\n      } else {\n        return '#C7C7C7';\n      }\n    }\n    get htmlSafeCategoryColor() {\n      let color = this.categoryColor;\n      return (0, _template.htmlSafe)('background-color: ' + `${color}`);\n    }\n    get isDraft() {\n      return this.foreign.selectedMessage.isDraft && !this.isInDaylite;\n    }\n    evaluateCategory() {\n      let categories = this.store.peekAll('daylite/category');\n      let categoryName = this.isDraft ? this.draftCategory : this.daylite?.category;\n      if (!(0, _utils.isEmpty)(categoryName)) {\n        let matchingCategory = categories.find(element => {\n          return element.name == categoryName;\n        });\n        if (!(0, _utils.isEmpty)(matchingCategory)) {\n          if (this.isInDaylite) {\n            this.daylite.categoryColor = matchingCategory.hex;\n          } else if (this.isDraft) {\n            this.draftCategoryColor = matchingCategory.hex;\n          }\n        } else {\n          this.setEmptyCategory();\n        }\n      } else {\n        this.setEmptyCategory();\n      }\n    }\n    setCategory(categoryName) {\n      if (this.isInDaylite) {\n        this.daylite.category = categoryName;\n      } else if (this.isDraft) {\n        this.draftCategory = categoryName;\n        this.conditionallySaveDraft(this);\n      }\n      this.evaluateCategory();\n    }\n    setEmptyCategory() {\n      if (this.isInDaylite) {\n        this.daylite.category = null;\n        this.daylite.categoryColor = '#C7C7C7';\n      } else if (this.isDraft) {\n        this.draftCategory = null;\n        this.draftCategoryColor = '#C7C7C7';\n      }\n    }\n    get keywords() {\n      if (this.isInDaylite) {\n        return this.daylite.keywords;\n      } else if (this.isDraft) {\n        return this.draftKeywords;\n      }\n      return [];\n    }\n    setKeywords(keywords) {\n      if (this.isInDaylite) {\n        this.daylite.keywords = keywords;\n      } else if (this.isDraft) {\n        this.draftKeywords = keywords;\n        this.conditionallySaveDraft(this);\n      }\n    }\n    get uiState() {\n      if (this.isDraft) {\n        return this.foreign.selectedMessage.createDraft;\n      } else {\n        return this.isInDaylite;\n      }\n    }\n    async conditionallySaveDraft() {\n      if (!this.isDraft) {\n        return;\n      }\n      this.saveDraftToLocalStorage();\n    }\n    saveDraftToLocalStorage() {\n      let localObject = {\n        createDraft: this.foreign?.selectedMessage?.createDraft\n      };\n      if (localObject.createDraft) {\n        localObject = {\n          ...localObject,\n          ...this.contactPool.linkedAsObject(),\n          ...this.objectivePool.linkedAsObject(),\n          ...this.taskAppointmentPool.linkedAsObject()\n        };\n        if (!(0, _utils.isEmpty)(this.draftCategory)) {\n          localObject.category = this.draftCategory;\n        } else {\n          delete localObject.category;\n        }\n        if (!(0, _utils.isEmpty)(this.draftKeywords)) {\n          localObject.keywords = this.draftKeywords;\n        } else {\n          delete localObject.keywords;\n        }\n        const addedAttachments = this.attachmentPool.visible.filter(attachment => {\n          return attachment.draftAdd;\n        });\n        if (!(0, _utils.isEmpty)(addedAttachments)) {\n          localObject.attachments = addedAttachments?.map(attachment => {\n            return attachment.id;\n          });\n        } else {\n          delete localObject.attachments;\n        }\n      }\n      window.localStorage.setItem(`iom-draft-${this.id}`, JSON.stringify(localObject));\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"dataService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"dayliteService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"outlookService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"notificationHandler\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"creationService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"daylite\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"contactPool\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"objectivePool\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"taskAppointmentPool\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"attachmentPool\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"isSearching\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"searchMode\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"searchPrefillContact\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"otherConversationIsInDaylite\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"cacheInvalidated\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"draftCategory\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"draftCategoryColor\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"draftKeywords\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"addOrRemoveDayliteAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addOrRemoveDayliteAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"searchCategory\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"searchCategory\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/modifiers/autofocus\", [\"exports\", \"ember-autofocus-modifier/modifiers/autofocus\"], function (_exports, _autofocus) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _autofocus.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-autofocus-modifier/modifiers/autofocus\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/modifiers/did-insert\", [\"exports\", \"@ember/render-modifiers/modifiers/did-insert\"], function (_exports, _didInsert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _didInsert.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/render-modifiers/modifiers/did-insert\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/modifiers/did-update\", [\"exports\", \"@ember/render-modifiers/modifiers/did-update\"], function (_exports, _didUpdate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _didUpdate.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/render-modifiers/modifiers/did-update\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/modifiers/on-key\", [\"exports\", \"ember-keyboard/modifiers/on-key\"], function (_exports, _onKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _onKey.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-keyboard/modifiers/on-key\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/modifiers/will-destroy\", [\"exports\", \"@ember/render-modifiers/modifiers/will-destroy\"], function (_exports, _willDestroy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _willDestroy.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/render-modifiers/modifiers/will-destroy\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/router\", [\"exports\", \"@ember/routing/router\", \"io-mail-assistant/config/environment\"], function (_exports, _router, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/router\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Router extends _router.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"location\", _environment.default.locationType);\n      _defineProperty(this, \"rootURL\", _environment.default.rootURL);\n    }\n  }\n  _exports.default = Router;\n  Router.map(function () {\n    this.route('authorization');\n    this.route('login');\n    this.route('reset');\n    this.route('iom');\n  });\n});","define(\"io-mail-assistant/routes/application\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"io-mail-assistant/config/environment\", \"@ember/utils\"], function (_exports, _route, _service, _environment, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"io-mail-assistant/config/environment\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let Application = _exports.default = (_class = class Application extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n    }\n    async beforeModel(transition) {\n      const searchParams = new URLSearchParams(window.location.search);\n      for (const [key] of searchParams) {\n        if (key === 'event') {\n          return;\n        }\n      }\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // when we're not in an iframe we're not in missive. Route to HelpCenter\n        if (window.self !== window.top) {\n          await this.sessionService.setup();\n          return super.beforeModel(transition);\n        } else if (_environment.default.environment == 'production' && window.location.pathname != '/authorization') {\n          window.location.replace('https://support.iosxpert.biz/hc/en-us/articles/6192673672988');\n        } else {\n          this.removeLoading();\n        }\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        // eslint-disable-next-line no-undef\n        await Office.onReady(async () => {\n          this.removeLoading();\n          await this.sessionService.setup();\n        });\n      }\n    }\n    removeLoading() {\n      let loadingElement = document.getElementById('first-loading-indicator');\n      if (!(0, _utils.isEmpty)(loadingElement)) {\n        loadingElement.remove();\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/routes/authorization\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n  class AuthorizationRoute extends _route.default {}\n  _exports.default = AuthorizationRoute;\n});","define(\"io-mail-assistant/routes/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let index = _exports.default = (_class = class index extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n      _initializerDefineProperty(this, \"dataService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"router\", _descriptor3, this);\n    }\n    beforeModel() {\n      const searchParams = new URLSearchParams(window.location.search);\n      for (const [key] of searchParams) {\n        if (key === 'event') {\n          return;\n        }\n      }\n      this.dataService.isLoading = true;\n      if (!this.sessionService.isAuthenticated) {\n        this.router.transitionTo('login');\n        return;\n      }\n      if (this.sessionService.dayliteIsAuthenticating && this.sessionService.dayliteNeedsAuthentication) {\n        // show Spinner or something\n        this.router.transitionTo('login');\n      } else {\n        this.router.replaceWith('iom');\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"dataService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/routes/iom\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@ember/utils\"], function (_exports, _route, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let IomRoute = _exports.default = (_class = class IomRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"dataService\", _descriptor, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor2, this);\n    }\n    async model() {\n      try {\n        this.dataService.loadModel = true;\n        let baseModelsProm = this.dataService.getNeededModels();\n        let modelProm = this.dataService.conditionallyGetModel();\n        this.sessionService.checkLicensing();\n        await Promise.all([baseModelsProm, modelProm]);\n        this.removeLoadingIndicator();\n      } catch {\n        this.removeLoadingIndicator();\n        this.dataService.isLoading = false;\n        return;\n      }\n    }\n    removeLoadingIndicator() {\n      let loadingElement = document.getElementById('first-loading-indicator');\n      if (!(0, _utils.isEmpty)(loadingElement)) {\n        loadingElement.remove();\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"dataService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/routes/loading\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n  class LoadingRoute extends _route.default {}\n  _exports.default = LoadingRoute;\n});","define(\"io-mail-assistant/routes/login\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/utils\", \"io-mail-assistant/config/environment\"], function (_exports, _route, _service, _tracking, _utils, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let LoginRoute = _exports.default = (_class = class LoginRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _initializerDefineProperty(this, \"showLoginModal\", _descriptor3, this);\n    }\n    beforeModel() {\n      this.removeLoadingIndicator();\n      if (!this.sessionService.isAuthenticated) {\n        return;\n      } else if (this.sessionService.dayliteIsAuthenticating && this.sessionService.dayliteNeedsAuthentication) {\n        this.sessionService.invalidate();\n        this.reload();\n      } else if (this.sessionService.dayliteNeedsAuthentication && !this.sessionService.dayliteIsAuthenticating) {\n        this.sessionService.invalidate();\n        this.reload();\n      } else if (!this.sessionService.isOpeningDayliteAuth) {\n        this.router.transitionTo('iom');\n      }\n    }\n    removeLoadingIndicator() {\n      let loadingElement = document.getElementById('first-loading-indicator');\n      if (!(0, _utils.isEmpty)(loadingElement)) {\n        loadingElement.remove();\n      }\n    }\n    reload() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.reload(true);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.location.reload(true);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"showLoginModal\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _class);\n});","define(\"io-mail-assistant/routes/reset\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n  class ResetRoute extends _route.default {}\n  _exports.default = ResetRoute;\n});","define(\"io-mail-assistant/services/creation-service\", [\"exports\", \"@ember/service\", \"@ember/object\", \"@ember/utils\", \"moment-timezone\", \"lodash\", \"io-mail-assistant/config/environment\", \"io-mail-assistant/services/data-service\"], function (_exports, _service, _object, _utils, _momentTimezone, _lodash, _environment, _dataService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/object\",0,\"@ember/utils\",0,\"@ember/service\",0,\"moment-timezone\",0,\"lodash\",0,\"io-mail-assistant/config/environment\",0,\"io-mail-assistant/services/data-service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let CreationService = _exports.default = (_class = class CreationService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"dataService\", _descriptor, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor2, this);\n    }\n    async createWithForm(mail, creationModel) {\n      this.extendedCreation = false;\n      this.dataService.isLoading = true;\n      let formResponse = await this.openCreateForm(mail, creationModel);\n      this.dataService.isShowingCreationDialog = false;\n      let createBody = await this.createBodyForFormResponse(formResponse, creationModel, mail);\n      let entity = creationModel.objectKey;\n      let createResponse = await mail.dayliteService.createObject(entity, createBody, true);\n      if (this.extendedCreation) {\n        this.openExtendedCreation(creationModel, createResponse);\n      }\n      return createResponse;\n    }\n    openExtendedCreation(creationModel, createResponse) {\n      let basePath;\n      let objectId = createResponse.self.split('/').at(-1);\n      let forDaylite = this.extendedCreationType === 'create_extended_daylite';\n      if (creationModel.isPerson) {\n        basePath = forDaylite ? 'Contact' : 'people';\n      } else if (creationModel.isCompany) {\n        basePath = forDaylite ? 'Organization' : 'companies';\n      } else if (creationModel.isProject) {\n        basePath = forDaylite ? 'Project' : 'projects';\n      } else if (creationModel.isOpportunity) {\n        // not yet\n        basePath = forDaylite ? 'Opportunity' : undefined;\n      } else if (creationModel.isTask) {\n        basePath = forDaylite ? 'Task' : 'tasks';\n      } else if (creationModel.isAppointment) {\n        basePath = forDaylite ? 'Timeblock' : 'calendar';\n      }\n      if (!(0, _utils.isEmpty)(basePath) && !(0, _utils.isEmpty)(objectId)) {\n        if (forDaylite) {\n          let url = `daylite://Command=ShowObject&Entity=${basePath}&ID=${objectId}`;\n          if (_environment.default.AssistantIdentifier === 'missive') {\n            // eslint-disable-next-line no-undef\n            Missive.openURL(url);\n          } else if (_environment.default.AssistantIdentifier === 'outlook') {\n            window.open(url, '_blank');\n          }\n        } else {\n          let url = `https://ioweb.iosxpert.cloud/main/${basePath}/${objectId}`;\n          if (_environment.default.AssistantIdentifier === 'missive') {\n            // eslint-disable-next-line no-undef\n            Missive.openURL(url);\n          } else if (_environment.default.AssistantIdentifier === 'outlook') {\n            this.showOutlookDialogForExtendedCreation(url);\n          }\n        }\n      }\n    }\n    async createBodyForFormResponse(response, creationModel, mail) {\n      let body = {};\n      let labelName;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        labelName = 'Missive';\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        labelName = 'Outlook';\n      }\n      Object.entries(response).forEach(keyvalue => {\n        const [key, value] = keyvalue;\n        if (!(0, _utils.isEmpty)(value)) {\n          if (key == 'estimated_time') {\n            let seconds = value * 60;\n            if (!(0, _utils.isEmpty)(seconds) && seconds > 0) {\n              body[key] = seconds;\n            }\n          } else if (key == 'url') {\n            body['urls'] = [{\n              label: labelName,\n              url: value\n            }];\n          } else if (key == 'phone') {\n            body['phone_numbers'] = [{\n              label: labelName,\n              number: value\n            }];\n          } else if (key == 'email') {\n            body['emails'] = [{\n              label: labelName,\n              address: value\n            }];\n          } else if (key == 'address') {\n            let address = {\n              label: labelName\n            };\n            let hasValue = false;\n            Object.entries(value).forEach(addressKeyValue => {\n              const [addressKey, addressValue] = addressKeyValue;\n              if (!(0, _utils.isEmpty)(addressValue)) {\n                address[addressKey] = addressValue;\n                hasValue = true;\n              }\n            });\n            if (hasValue) {\n              body['addresses'] = [address];\n            }\n          } else if (key == 'forecasted' || key == 'start' || key == 'due' || key == 'started' || key == 'utc_start' || key == 'utc_end') {\n            if (!(0, _utils.isEmpty)(value?.timestamp)) {\n              let date = this.dateForUnixTimestamp(value.timestamp);\n              if (key == 'utc_start' || key == 'utc_end') {\n                let guessedTz = _momentTimezone.default.tz.guess();\n                body['timezone'] = (0, _utils.isEmpty)(guessedTz) ? 'UTC' : guessedTz;\n                let newKey = (0, _utils.isEmpty)(guessedTz) ? key.replaceAll('utc', 'local') : key;\n                body[newKey] = date.toISOString();\n              } else {\n                body[key] = date.toISOString();\n              }\n            }\n          } else if (key == 'invitations') {\n            let addInvitees = value.map(element => {\n              return {\n                invitee: element\n              };\n            });\n            addInvitees = [...new Set(addInvitees)];\n            // addInvitees.push {invitee:}\n            let invitations = {\n              add: addInvitees\n            };\n            // remove currentUser if not invited\n            if (!value.includes(this.currentUser)) {\n              invitations.remove = [{\n                invitee: this.currentUser\n              }];\n            }\n            body[key] = invitations;\n          } else {\n            body[key] = value;\n          }\n        }\n      });\n\n      // default values that should not be nil, but are not provided in UI\n      if (creationModel.isOpportunity) {\n        body['state'] = 'open';\n      }\n      // if opportunity or project is created and mail is existing in DL, link already linked contacts\n      if (creationModel.isOpportunity || creationModel.isProject || creationModel.isTask || creationModel.isAppointment) {\n        if (mail.isInDaylite) {\n          body = this.inheritLinkedObjects(body, mail.contactPool);\n          body = this.inheritLinkedObjects(body, mail.objectivePool);\n        } else {\n          const suggested = await mail.suggestedBody();\n          body = {\n            ...body,\n            ...suggested.body\n          };\n        }\n      }\n      return body;\n    }\n    inheritLinkedObjects(body, pool) {\n      const linkedEntity = {};\n      pool.linked.forEach(element => {\n        let elementSlim = element.daylite;\n        let array = linkedEntity[elementSlim.arrayKey];\n        array = array || [];\n        array.push(elementSlim.dayliteBodySelf());\n        linkedEntity[elementSlim.arrayKey] = array;\n      });\n      body = {\n        ...body,\n        ...linkedEntity\n      };\n      return body;\n    }\n    async openCreateForm(mail, creationModel) {\n      let objectSpecificFields = [];\n      let entitySpecificFields = [];\n      let ownershipFields = [];\n      let sharedFields;\n      if (creationModel.isPerson) {\n        objectSpecificFields = [this.textfield('first_name', 'First name (e.g. \"Jane\")', creationModel?.suggestedFirstName), this.textfield('middle_name', 'Middel name (e.g. \"Olivia\")'), this.textfield('last_name', 'Last name (e.g. \"Doe\")', creationModel?.suggestedLastName), this.textfield('prefix', 'Prefix (e.g. \"Mr.\", \"Ms.\")'), this.textfield('suffix', 'Suffix (e.g. \"Dr.\", \"PhD.\")')];\n      } else if (creationModel.isCompany) {\n        objectSpecificFields = [this.textfield('name', 'Name (e.g. \"Example Company\")', creationModel?.suggestedName, {\n          required: true\n        }), this.textfield('type', 'Type (e.g. \"Customer\", \"Vendor\")'), this.textfield('industry', 'Industry (e.g. \"Technology\", \"Pharma\")')];\n      } else if (creationModel.isOpportunity) {\n        let today = new Date();\n        let todayPlus14 = new Date();\n        todayPlus14.setDate(today.getDate() + 14);\n        objectSpecificFields = [this.textfield('name', 'Name (e.g. \"Example Opportunity\")', creationModel?.suggestedName, {\n          required: true\n        }), this.textfield('type', 'Type (e.g. \"Development\", \"Consulting\")'), this.textfield('probability', 'Probability', 50, {\n          type: 'number',\n          required: true\n        }), this.datepicker('start', 'Start date', this.unixTimestampForDate(today), true), this.datepicker('forecasted', 'Forecasted date', this.unixTimestampForDate(todayPlus14), true)];\n      } else if (creationModel.isProject) {\n        let status = [{\n          value: 'new',\n          name: 'New'\n        }, {\n          value: 'open',\n          name: 'Open'\n        }];\n        let today = new Date();\n        let todayPlus14 = new Date();\n        todayPlus14.setDate(today.getDate() + 14);\n        objectSpecificFields = [this.textfield('name', 'Name (e.g. \"Example Project\")', creationModel?.suggestedName, {\n          required: true\n        }), this.select('state', 'State', false, status), this.datepicker('started', 'Start date', this.unixTimestampForDate(today), true), this.datepicker('due', 'Due date', this.unixTimestampForDate(todayPlus14), true)];\n      } else if (creationModel.isTask) {\n        if (!creationModel.quickMode) {\n          let types = [{\n            value: 'email',\n            name: 'E-Mail'\n          }, {\n            value: 'fax',\n            name: 'Fax'\n          }, {\n            value: 'inbound_call',\n            name: 'Inbound call'\n          }, {\n            value: 'outbound_call',\n            name: 'Outbound call'\n          }, {\n            value: 'print',\n            name: 'Print'\n          }, {\n            value: 'todo',\n            name: 'To-Do'\n          }];\n          let status = [{\n            value: 'open',\n            name: 'Open'\n          }, {\n            value: 'pending',\n            name: 'Pending'\n          }, {\n            value: 'in_progress',\n            name: 'In progress'\n          }];\n          let prios = [{\n            value: 'low',\n            name: 'Low'\n          }, {\n            value: 'medium',\n            name: 'Medium'\n          }, {\n            value: 'high',\n            name: 'High'\n          }];\n          let today = new Date();\n          let todayPlus14 = new Date();\n          todayPlus14.setDate(today.getDate() + 14);\n          objectSpecificFields = [this.textfield('title', 'Title (e.g. \"Follow up\")', creationModel?.suggestedName, {\n            required: true\n          }), this.select('status', 'Status', false, status), this.select('type', 'Type', false, types, 'email'), this.textfield('location', 'Location e.g. \"Office Room A\"'), this.select('priority', 'Priority', false, prios), this.datepicker('started', 'Start date', this.unixTimestampForDate(today), true), this.datepicker('due', 'Due date', this.unixTimestampForDate(todayPlus14), true), this.textfield('estimated_time', 'Estimated (mins.)', null, {\n            type: 'number'\n          })];\n        } else {\n          let today = new Date();\n          let todayPlus14 = new Date();\n          todayPlus14.setDate(today.getDate() + 14);\n          objectSpecificFields = [this.textfield('title', 'Title (e.g. \"Follow up\")', creationModel?.suggestedName, {\n            required: true\n          }), this.datepicker('started', 'Start date', this.unixTimestampForDate(today), true), this.datepicker('due', 'Due date', this.unixTimestampForDate(todayPlus14), true), this.select('estimated_time', 'Estimated (mins.)', false, [{\n            value: 10,\n            name: '10'\n          }, {\n            value: 15,\n            name: '15'\n          }, {\n            value: 20,\n            name: '20'\n          }, {\n            value: 30,\n            name: '30'\n          }, {\n            value: 60,\n            name: '60'\n          }], 15, true)];\n        }\n      } else if (creationModel.isAppointment) {\n        let types = [{\n          value: 'appointment',\n          name: 'Appointment'\n        }, {\n          value: 'event',\n          name: 'Event'\n        }, {\n          value: 'inbound_call',\n          name: 'Inbound call'\n        }, {\n          value: 'outbound_call',\n          name: 'Outbound call'\n        }, {\n          value: 'chat',\n          name: 'Chat'\n        }, {\n          value: 'vacation',\n          name: 'Vacation'\n        }, {\n          value: 'meeting',\n          name: 'Meeting'\n        }, {\n          value: 'video',\n          name: 'Video'\n        }];\n        let status = [{\n          value: 'other',\n          name: 'Other'\n        }, {\n          value: 'confirmed',\n          name: 'Confirmed'\n        }, {\n          value: 'completed',\n          name: 'Completed'\n        }, {\n          value: 'tentative',\n          name: 'Tentative'\n        }];\n        let showAs = [{\n          value: 'free',\n          name: 'Free'\n        }, {\n          value: 'busy',\n          name: 'Busy'\n        }];\n        let now = new Date();\n        let nowPlus1h = new Date();\n        nowPlus1h.setTime(now.getTime() + 1 * 60 * 60 * 1000);\n        objectSpecificFields = [this.textfield('subject', 'Subject (e.g. \"Meeting\")', creationModel?.suggestedName, {\n          required: true\n        }), this.datepicker('utc_start', 'Start', this.unixTimestampForDate(now), false), this.datepicker('utc_end', 'End', this.unixTimestampForDate(nowPlus1h), false), this.textfield('location', 'Location e.g. \"Office Room A\"'), this.select('show_as', 'Show as', false, showAs, 'busy', true), this.select('status', 'Status', false, status, 'confirmed', true), this.select('type', 'Type', false, types, 'appointment', true)];\n      }\n\n      // shared contact fields\n      if (creationModel.isPerson || creationModel.isCompany) {\n        entitySpecificFields = [this.textfield('email', 'E-Mail (e.g. \"jane.doe@example.com\")', creationModel.suggestedEmail), this.textfield('phone', 'Phone number (e.g. \"01234-5667899\")', creationModel.suggestedPhoneNumber), this.textfield('url', 'Website (e.g. \"https://iosxpert.biz\")'), this.textfield('address.street', 'Address street (e.g. \"One Apple Park Way\")'), this.textfield('address.city', 'Address city (e.g. \"Cupertino\")'), this.textfield('address.state', 'Address state (e.g \"California\")'), this.textfield('address.postal_code', 'Address postal code (e.g \"CA 95014\")'), this.textfield('address.country', 'Address country (e.g. \"United States\")')];\n      }\n\n      // shared objective fields\n      if (creationModel.isProject || creationModel.isOpportunity) {\n        let prios = [];\n        for (let index = 0; index < 11; index++) {\n          prios.push({\n            name: index\n          });\n        }\n        entitySpecificFields = [this.select('priority', 'Priority', false, prios)];\n      }\n      let combinedUserProm;\n      // shared ownership fields\n      if (creationModel.isProject || creationModel.isOpportunity || creationModel.isTask || creationModel.isAppointment) {\n        // could be saved to ember on first time\n        let usersProm = await mail.dayliteService.getUsersFullSlim(true);\n        let infoProm = await mail.dayliteService.getInfo();\n        combinedUserProm = Promise.all([usersProm, infoProm]);\n      }\n      let catProm = mail.dayliteService.getCategories(creationModel.objectKey);\n      let kwProm = mail.dayliteService.getKeywords(creationModel.objectKey);\n      this.currentUser = null;\n      return await Promise.all([catProm, kwProm, combinedUserProm]).then(async values => {\n        let categories = values[0];\n        let keywords = values[1];\n        let combinedUsers = values[2];\n        if (!(0, _utils.isEmpty)(combinedUsers)) {\n          let users = combinedUsers[0];\n          let info = combinedUsers[1];\n          let defaultValue = info.user;\n          this.currentUser = defaultValue;\n          let usersOptions = users.map(element => {\n            let name = [element.contact.first_name, element.contact.middle_name, element.contact.last_name].join(' ');\n            return {\n              value: element.user.self,\n              name\n            };\n          });\n          ownershipFields = [this.select('owner', 'Owner', false, usersOptions, defaultValue)];\n          if (creationModel.isAppointment) {\n            let invitees = this.select('invitations', 'Invitees', true, usersOptions, [defaultValue], true);\n            objectSpecificFields = [...objectSpecificFields, invitees];\n          }\n        }\n        if (creationModel.quickMode) {\n          sharedFields = [this.select('category', 'Category', false, categories)];\n        } else {\n          sharedFields = [this.textarea('details', 'Details', 'Details about the object'), this.select('category', 'Category', false, categories), this.select('keywords', 'Keywords', true, keywords)];\n        }\n        let fields = [...objectSpecificFields, ...entitySpecificFields, ...ownershipFields, ...sharedFields];\n        let buttons = [this.formButton('cancel', 'Cancel'), this.formButton('submit', 'Create')];\n\n        //category, keywords,\n        // auto focus first field\n        fields.at(0).data.focus = true;\n        let data = {\n          name: 'Create',\n          fields,\n          buttons\n        };\n        let orderByName = this.getOrder(creationModel);\n\n        // Sort\n        if (!(0, _utils.isEmpty)(orderByName)) {\n          orderByName = orderByName.reverse();\n          let orderIndex = {};\n          orderByName.forEach((value, index) => orderIndex[value] = index);\n          fields.sort(function (a, b) {\n            return orderByName.indexOf(b.data.name) - orderByName.indexOf(a.data.name);\n          });\n        }\n\n        // JUST DEBUGGING\n        // let keys = fields.map((element) => {\n        //   return element.data.name;\n        // });\n        if (_environment.default.AssistantIdentifier === 'missive') {\n          this.dataService.isLoading = false;\n          // append selection field for extended creation\n          let createOptions = [{\n            name: 'No',\n            value: 'none'\n          }];\n          if (_dataService.default.isRunningMacOS()) {\n            createOptions.push({\n              name: 'In Daylite',\n              value: 'create_extended_daylite'\n            });\n          }\n          createOptions.push({\n            name: 'In iOWeb',\n            value: 'create_extended_ioweb'\n          });\n          let extendedCreation = this.select('extendedCreation', 'Open after creation', false, createOptions, 'none');\n          data.fields.push(data.fields.push(extendedCreation));\n          // eslint-disable-next-line no-undef\n          let result = await Missive.openForm(data);\n          this.extendedCreation = result.extendedCreation !== 'none';\n          if (this.extendedCreation) {\n            this.extendedCreationType = result.extendedCreation;\n          }\n          delete result.extendedCreation;\n          return result;\n        } else if (_environment.default.AssistantIdentifier === 'outlook') {\n          return this.showOutlookDialog(data);\n        }\n      });\n    }\n    textfield(name, placeholder, value, additionalData) {\n      // if (isEmpty(value) && ENV.Debugmode) {\n      // value = placeholder;\n      // }\n      return this.formField('input', name, placeholder, additionalData, value);\n    }\n    textarea(name, placeholder) {\n      return this.formField('textarea', name, placeholder, {\n        rows: 4\n      });\n    }\n    datepicker(name, placeholder, timestamp, allDay) {\n      return this.formField('calendar', name, placeholder, {\n        allow_all_day: true,\n        allow_past: true\n      }, {\n        timestamp: timestamp,\n        all_day: allDay\n      });\n    }\n    select(name, placeholder, multiple, options, defaultValue, required) {\n      let selectOptions = options.map(element => {\n        return {\n          label: element.name,\n          value: element.value || element.name,\n          color: element.hex_colour\n        };\n      });\n      let data = {\n        multiple,\n        selectOptions,\n        required: (0, _utils.isEmpty)(required) ? false : required,\n        options: (0, _lodash.sortBy)(selectOptions, 'label')\n      };\n      return this.formField('select', name, placeholder, data, defaultValue);\n    }\n    formField(type, name, placeholder, dataAddition, value) {\n      let data = {\n        ...{\n          name: name,\n          value: value || '',\n          placeholder: placeholder,\n          options: {\n            prefix: true,\n            thin: false\n          }\n        },\n        ...dataAddition\n      };\n      return {\n        type: type,\n        data: data\n      };\n    }\n    formButton(type, label) {\n      return {\n        type,\n        label\n      };\n    }\n    unixTimestampForDate(date) {\n      return Math.round(date.getTime() / 1000);\n    }\n    dateForUnixTimestamp(timestamp) {\n      return new Date(timestamp * 1000);\n    }\n    getOrder(creationModel) {\n      let orderByName;\n      // order fields\n      if (creationModel.isPerson) {\n        orderByName = ['prefix', 'first_name', 'middle_name', 'last_name', 'suffix', 'keywords', 'category', 'phone', 'email', 'url', 'address.street', 'address.city', 'address.state', 'address.postal_code', 'address.country', 'details'];\n      } else if (creationModel.isCompany) {\n        orderByName = ['name', 'keywords', 'category', 'industry', 'type', 'phone', 'address.street', 'address.city', 'address.state', 'address.postal_code', 'address.country', 'url', 'email', 'details'];\n      } else if (creationModel.isProject) {\n        orderByName = ['name', 'keywords', 'category', 'state', 'due', 'started', 'details', 'priority', 'owner'];\n      } else if (creationModel.isOpportunity) {\n        orderByName = ['name', 'keywords', 'category', 'type', 'probability', 'forecasted', 'start', 'details', 'priority', 'owner'];\n      } else if (creationModel.isTask) {\n        orderByName = ['title', 'details', 'category', 'keywords', 'due', 'location', 'type', 'status', 'priority', 'started', 'estimated_time', 'owner'];\n      } else if (creationModel.isAppointment) {\n        orderByName = ['subject', 'location', 'category', 'keywords', 'details', 'utc_start', 'utc_end', 'show_as', 'invitations', 'type', 'status', 'owner'];\n      }\n      return orderByName;\n    }\n    showOutlookDialog(data) {\n      this.outlookUIData = data;\n      let _this = this;\n      return new Promise(function (resolve) {\n        _this.outlookDialogPromiseResolve = resolve;\n        // eslint-disable-next-line no-undef\n        Office.context.ui.displayDialogAsync(`${window.location.origin}/static/form.html`, {\n          title: 'Create',\n          height: 80,\n          width: 40\n        }, function (result) {\n          _this.dataService.isShowingCreationDialog = true;\n          _this.dataService.isLoading = false;\n          const dialog = result.value;\n          _this.outlookDialog = dialog;\n          if (result.error) {\n            console.error(result.error.message);\n            _this.resetOutlookDialog();\n          }\n          // message processing\n          dialog.addEventHandler(\n          // eslint-disable-next-line no-undef\n          Office.EventType.DialogMessageReceived, arg => {\n            _this.processOutlookDialogMessage(arg);\n          }),\n          // handling window close\n          dialog.addEventHandler(\n          // eslint-disable-next-line no-undef\n          Office.EventType.DialogEventReceived, () => {\n            _this.resetOutlookDialog();\n          });\n        });\n      });\n    }\n    processOutlookDialogMessage(arg) {\n      var messageFromDialog = JSON.parse(arg.message);\n      // closing dialog can result in an error we should simply accept that and continue\n      try {\n        if (messageFromDialog.type === 'create') {\n          this.extendedCreation = false;\n          this.outlookDialogPromiseResolve(messageFromDialog.value);\n        } else if (messageFromDialog.type === 'create_extended_ioweb' || messageFromDialog.type === 'create_extended_daylite') {\n          this.extendedCreation = true;\n          this.extendedCreationType = messageFromDialog.type;\n          this.outlookDialogPromiseResolve(messageFromDialog.value);\n          this.outlookDialog?.close();\n          return;\n        } else if (messageFromDialog.type === 'ready') {\n          this.outlookDialog.messageChild(JSON.stringify(this.outlookUIData));\n          return;\n        }\n        this.closeOutlookDialog();\n      } catch {\n        this.resetOutlookDialog();\n      }\n    }\n    closeOutlookDialog() {\n      try {\n        this.outlookDialog?.close();\n        this.resetOutlookDialog();\n      } catch {\n        this.resetOutlookDialog();\n      }\n    }\n    resetOutlookDialog() {\n      this.outlookUIData = undefined;\n      this.outlookDialog = undefined;\n      this.outlookDialogPromiseResolve = undefined;\n      this.dataService.isShowingCreationDialog = false;\n    }\n    showOutlookDialogForExtendedCreation(url) {\n      this.outlookExtendedCreationUrl = url;\n      let _this = this;\n      // eslint-disable-next-line no-undef\n      Office.context.ui.displayDialogAsync(`${window.location.origin}/static/ioweb.html`, {\n        title: 'Create',\n        height: 80,\n        width: 50\n      }, function (result) {\n        const dialog = result.value;\n        _this.outlookDialog = dialog;\n        if (result.error) {\n          console.error(result.error.message);\n          _this.resetOutlookDialog();\n        }\n        // message processing\n        dialog.addEventHandler(\n        // eslint-disable-next-line no-undef\n        Office.EventType.DialogMessageReceived, arg => {\n          _this.processOutlookDialogMessageForExtendedCreation(arg);\n        }),\n        // handling window close\n        dialog.addEventHandler(\n        // eslint-disable-next-line no-undef\n        Office.EventType.DialogEventReceived, () => {\n          _this.resetOutlookDialog();\n        });\n      });\n    }\n    processOutlookDialogMessageForExtendedCreation(arg) {\n      var messageFromDialog = JSON.parse(arg.message);\n      if (messageFromDialog?.type === 'ready') {\n        this.outlookDialog.messageChild(JSON.stringify(this.outlookExtendedCreationUrl));\n        return;\n      }\n      try {\n        this.closeOutlookDialog();\n      } catch {\n        this.resetOutlookDialog();\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"dataService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"createWithForm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createWithForm\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/services/data-service\", [\"exports\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/utils\", \"io-mail-assistant/models/mail\", \"io-mail-assistant/models/daylite/category\", \"io-mail-assistant/models/daylite/keyword\", \"io-mail-assistant/config/environment\"], function (_exports, _service, _tracking, _utils, _mail, _category, _keyword, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"@ember/service\",0,\"@ember/utils\",0,\"io-mail-assistant/models/mail\",0,\"io-mail-assistant/models/daylite/category\",0,\"io-mail-assistant/models/daylite/keyword\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DataService = _exports.default = (_class = class DataService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"dayliteService\", _descriptor, this);\n      _initializerDefineProperty(this, \"missiveService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"outlookService\", _descriptor3, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor4, this);\n      _initializerDefineProperty(this, \"store\", _descriptor5, this);\n      _initializerDefineProperty(this, \"notificationHandler\", _descriptor6, this);\n      _initializerDefineProperty(this, \"preferenceService\", _descriptor7, this);\n      _initializerDefineProperty(this, \"isLoading\", _descriptor8, this);\n      _initializerDefineProperty(this, \"isShowingCreationDialog\", _descriptor9, this);\n      _initializerDefineProperty(this, \"mail\", _descriptor10, this);\n      _initializerDefineProperty(this, \"viewMode\", _descriptor11, this);\n      _defineProperty(this, \"selectedMessageID\", null);\n      _defineProperty(this, \"loadModel\", false);\n      _defineProperty(this, \"doFetchModel\", false);\n      _defineProperty(this, \"viewModes\", {\n        noneSelected: 0,\n        oneSelected: 1,\n        multipleSelected: 2,\n        loading: 3,\n        noMessage: 4\n      });\n    }\n    async setup() {\n      // when event query parameter we assume that it's an event coming from outlook\n      const searchParams = new URLSearchParams(window.location.search);\n      for (const [key] of searchParams) {\n        if (key === 'event') {\n          this.outlookService.setupForEvent();\n          return;\n        }\n      }\n      this.isLoading = true;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        this.missiveService.setup();\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        this.outlookService.setup();\n      }\n    }\n    async getNeededModels() {\n      // initially do only one request to make sure there is only one request to handle token refresh better\n      let result = await this.dayliteService.allInOneBaseModels();\n      let categories = result.categories;\n      let keywords = result.keywords;\n      this.store.unloadAll('daylite/category');\n      let catSaveProms = categories.forEach(cat => {\n        this.store.createRecord('daylite/category', _category.default.initRepresentation(cat));\n      });\n      this.store.unloadAll('daylite/keyword');\n      let kwSaveProms = keywords.forEach(cat => {\n        this.store.createRecord('daylite/keyword', _keyword.default.initRepresentation(cat));\n      });\n      await Promise.all([catSaveProms, kwSaveProms]);\n    }\n    didFetchMissiveConversations(conversations) {\n      this.isLoading = true;\n      if ((0, _utils.isEmpty)(conversations)) {\n        this.viewMode = this.viewModes.noneSelected;\n        this.selectedMessageID = null;\n        this.isLoading = false;\n        return;\n      } else if (conversations.length > 1) {\n        this.viewMode = this.viewModes.multipleSelected;\n        this.selectedMessageID = null;\n        this.isLoading = false;\n        return;\n      } else if ((0, _utils.isEmpty)(conversations.at(0).latestMessage)) {\n        this.selectedMessageID = null;\n        this.viewMode = this.viewModes.noMessage;\n        this.isLoading = false;\n        return;\n      }\n      this.conditionallyGetModel();\n    }\n    didFetchOutlookMessage(message) {\n      this.isLoading = true;\n      if ((0, _utils.isEmpty)(message)) {\n        this.viewMode = this.viewModes.noneSelected;\n        this.selectedMessageID = null;\n        this.isLoading = false;\n        return;\n      }\n      this.conditionallyGetModel();\n    }\n    async conditionallyGetModel() {\n      this.isLoading = true;\n      let model;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        model = this.missiveService.conversations;\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        model = this.outlookService.message;\n      }\n      if (!(0, _utils.isEmpty)(model) && this.loadModel) {\n        this.getModel(model);\n      }\n      // this can happen sometimes, Missive change conversations does not trigger always, we have to get the current id from the state\n      else if (this.loadModel && _environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        let convIds = Missive?.state?.conversations;\n        if (!(0, _utils.isEmpty)(convIds)) {\n          this.missiveService.fetchConversations(convIds);\n        }\n      }\n    }\n    async getModel() {\n      let model;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // do nothing when we have more than one conversation selected\n        if (this.missiveService.conversations.length > 1) {\n          this.selectedMessageID = null;\n          this.isLoading = false;\n          return;\n        }\n        model = this.missiveService.conversations.at(0);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        model = this.outlookService.message;\n      }\n      // check if last mail was the same\n      if ((0, _utils.isEqual)(this.selectedMessageID, model.selectedMessageId)) {\n        this.isLoading = false;\n        return;\n      }\n      this.selectedMessageID = model.selectedMessageId;\n      this.viewMode = this.viewModes.loading;\n      try {\n        let modelRepresentation = _mail.default.initRepresentation(model);\n        try {\n          // console.log(`Ping for ${conversation.selectedMessage.id}`);\n\n          if (this.concurrencyStop(model.selectedMessageId)) {\n            return;\n          }\n\n          // initially we have the GET for users that do a 'ping' (do a single request first to make sure multiple requests do not refresh the token), when this.email != nil then we do a ping to do this\n          // if (this.mail) {\n          //   await this.dayliteService.ping();\n          // }\n          this.mail = await this.store.peekRecord('mail', modelRepresentation.id);\n          if (!this.mail) {\n            this.mail = await this.store.createRecord('mail', modelRepresentation);\n          }\n\n          // console.log(`Find Conversation for ${conversation.selectedMessage.id}`);\n\n          if (this.concurrencyStop(model.selectedMessageId)) {\n            return;\n          }\n          let result = await this.dayliteService.allInOneByMessageID(model.smartId, model.selectedMessage, this.mail.cacheInvalidated);\n          this.mail.cacheInvalidated = false;\n          if (this.mail.foreign.smartId === result.id) {\n            await this.mail.setup(result);\n            if (_environment.default.AssistantIdentifier === 'outlook') {\n              // auto adding\n              this.preferenceService.setup();\n              let noAutosave = await this.outlookService.getAutosaveState(\n              // eslint-disable-next-line no-undef\n              Office.context.mailbox.item);\n              if (!this.mail.isInDaylite && this.preferenceService.autosave && !model.selectedMessage.isDraft && !noAutosave) {\n                this.mail.addOrRemoveDaylite(undefined, true);\n              }\n            }\n          }\n          if (this.concurrencyStop(model.selectedMessageId)) {\n            return;\n          }\n\n          // console.log(\n          //   `Find Conversations Count for ${conversation.selectedMessage.id}`\n          // );\n          if (_environment.default.AssistantIdentifier === 'missive') {\n            this.dayliteService.findEmailConversations(model.id, model.selectedMessageId).then(response => {\n              if (this.mail.foreign.smartId === response.id) {\n                let substract = 0;\n                if (this.mail.isInDaylite) {\n                  substract = 1;\n                }\n                let count = response.count - substract;\n                this.mail.otherConversationIsInDaylite = count;\n              }\n            });\n          } else if (_environment.default.AssistantIdentifier === 'outlook') {\n            this.outlookService.addDraftChangeObservation(this.mail);\n          }\n          this.viewMode = this.viewModes.oneSelected;\n          this.isLoading = false;\n\n          // debuging\n          // this.mail.contactPool.searchAction(\n          //   this.mail.contactPool,\n          //   this.mail.contactPool.creationModels[0]\n          // );\n        } catch (error) {\n          this.notificationHandler.addError(error);\n        }\n      } catch {\n        // a modal or notification should be presented by makeRequest in daylite-service, we only should hide the loading spinner\n        this.isLoading = false;\n      }\n    }\n    get isRunningMacOS() {\n      return DataService.isRunningMacOS();\n    }\n    static isRunningMacOS() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        if (navigator.userAgent.indexOf('Mac OS X') != -1 && navigator.userAgent.indexOf('iPad') == -1 && navigator.userAgent.indexOf('Mobile') == -1 && navigator.userAgent.indexOf('iPhone') == -1) {\n          return true;\n        }\n        return false;\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        // eslint-disable-next-line no-undef\n        return Office.PlatformType.Mac === Office.context.platform;\n      }\n    }\n    concurrencyStop(messageId) {\n      let selectedMessage;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        selectedMessage = this.missiveService.conversations?.at(0)?.selectedMessage;\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        selectedMessage = this.outlookService.message;\n      }\n      if ((0, _utils.isEmpty)(selectedMessage) || selectedMessage.id != messageId) {\n        return true;\n      }\n      return false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"dayliteService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"missiveService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"outlookService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"notificationHandler\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"preferenceService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"isShowingCreationDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"mail\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"viewMode\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.viewModes.loading;\n    }\n  }), _class);\n});","define(\"io-mail-assistant/services/daylite-service\", [\"exports\", \"@ember/service\", \"rsvp\", \"io-mail-assistant/models/Classes/daylite/email\", \"@ember/utils\", \"io-mail-assistant/models/Classes/daylite/searchResult\", \"io-mail-assistant/config/environment\", \"ember-lifeline\", \"@glimmer/tracking\"], function (_exports, _service, _rsvp, _email, _utils, _searchResult, _environment, _emberLifeline, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"rsvp\",0,\"io-mail-assistant/models/Classes/daylite/email\",0,\"@ember/utils\",0,\"io-mail-assistant/models/Classes/daylite/searchResult\",0,\"io-mail-assistant/config/environment\",0,\"ember-lifeline\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DayliteService = _exports.default = (_class = class DayliteService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"notificationHandler\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor3, this);\n      _initializerDefineProperty(this, \"logService\", _descriptor4, this);\n      _initializerDefineProperty(this, \"isRefreshingToken\", _descriptor5, this);\n      _initializerDefineProperty(this, \"refreshedTokens\", _descriptor6, this);\n      _defineProperty(this, \"host\", this.store.adapterFor('application').host + '/');\n    }\n    headers() {\n      return {\n        'Content-Type': 'application/json',\n        ...this.sessionService.headers()\n      };\n    }\n    async ping() {\n      return await this.makeRequest('ping');\n    }\n    async licensing() {\n      return await this.makeRequest('license');\n    }\n    async deleteAttachment(attachmentId) {\n      const options = {\n        method: 'DELETE'\n      };\n      await this.makeRequest(`attachment/${this.extractId(attachmentId)}`, options);\n      return null;\n    }\n    async createAttachment(emailId, filename, extension, base64) {\n      const options = {\n        method: 'POST',\n        body: JSON.stringify({\n          name: filename,\n          extension,\n          base64,\n          email_messages: [{\n            email_message: emailId\n          }]\n        })\n      };\n      let res = await this.makeRequest(`attachment`, options);\n      return res;\n    }\n    async allInOneBaseModels() {\n      return this.makeRequest('allinone/basemodels');\n    }\n    async allInOneByMessageID(smartId, message, cacheInvalidated) {\n      return this._allInOne(smartId, null, message, cacheInvalidated);\n    }\n    async _allInOne(messageID, emailID, message, cacheInvalidated) {\n      let allForeignContacts = message.allUniqueContacts();\n      const options = {\n        body: JSON.stringify({\n          messageID,\n          emailID: `${emailID}`,\n          recipients: allForeignContacts || []\n        }),\n        method: 'POST'\n      };\n      let value = await this.makeRequest('allinone', options, cacheInvalidated);\n      let model = null;\n      if (!(0, _utils.isEmpty)(value?.mail)) {\n        model = new _email.default(value?.mail, this.store);\n      }\n      return {\n        id: messageID,\n        model,\n        data: value\n      };\n    }\n    async findEmailConversations(conversationId, messageId) {\n      const options = {\n        body: JSON.stringify({\n          message_id: conversationId\n        }),\n        method: 'POST'\n      };\n      let foundEmails = await this.makeRequest('email:searchForMessageIdContainsCount', options);\n      let id = `${conversationId}|${messageId}`;\n      return {\n        id,\n        count: foundEmails.count\n      };\n    }\n    async createEmailWithMessage(body, message) {\n      let object = await this.createObject('email', body, false);\n      return this._allInOne(null, this.extractId(object), message);\n    }\n    async putDayliteCategory(dayliteEmail, categoryName) {\n      const options = {\n        body: JSON.stringify({\n          category: categoryName\n        }),\n        method: 'PUT'\n      };\n      return await this.makeRequest(`email/${this.extractId(dayliteEmail)}/category`, options);\n    }\n    async patchDayliteKeyword(dayliteEmail, addOrRemove, keywordName) {\n      let addOrRemoveDict = {};\n      addOrRemoveDict[addOrRemove] = [keywordName];\n      const options = {\n        body: JSON.stringify({\n          keywords: addOrRemoveDict\n        }),\n        method: 'PATCH'\n      };\n      return await this.makeRequest(`email/${this.extractId(dayliteEmail)}`, options);\n    }\n    async createObject(entity, body, getFullObject, Class) {\n      const options = {\n        body: JSON.stringify(body),\n        method: 'POST'\n      };\n      let object = await this.makeRequest(entity, options);\n      if (getFullObject) {\n        return await this._getObject(entity, object, Class);\n      }\n      return await object;\n    }\n    async getEmail(object) {\n      return await this._getObject('email', object, _email.default);\n    }\n    async _getObject(entity, object, Class) {\n      let jsonObject = await this.makeRequest(`${entity}/${this.extractId(object)}`);\n      if ((0, _utils.isEmpty)(Class)) {\n        return jsonObject;\n      }\n      // this.store is needed for example for DayliteEmailModel\n      return new Class(jsonObject, this.store);\n    }\n    async deleteEmail(dayliteEmail) {\n      const options = {\n        method: 'DELETE'\n      };\n      await this.makeRequest(`email/${this.extractId(dayliteEmail)}`, options);\n      return null;\n    }\n    async addToEmail(dayliteEmail, model) {\n      let body = await model.dayliteBodyForPatch('add', this);\n      return await this._patchEmail(dayliteEmail, body);\n    }\n    async removeFromEmail(dayliteEmail, model) {\n      let body = await model.dayliteBodyForPatch('remove', this);\n      return await this._patchEmail(dayliteEmail, body);\n    }\n    async _patchEmail(object, body) {\n      return await this._patchObject(object, body);\n    }\n    async patchPerson(object, body) {\n      return await this._patchObject(object, body);\n    }\n    async patchCompany(object, body) {\n      return await this._patchObject(object, body);\n    }\n    async _patchObject(object, body) {\n      const options = {\n        body: JSON.stringify(body),\n        method: 'PATCH'\n      };\n      await this.makeRequest(`${object.objectKey}/${this.extractId(object)}`, options);\n      return body;\n    }\n    async getCategories(entity) {\n      const options = {\n        body: JSON.stringify({\n          entity: entity\n        }),\n        method: 'POST'\n      };\n      return await this.makeRequest(`category:searchCategoriesForEntity`, options);\n    }\n    async getKeywords(entity) {\n      const options = {\n        body: JSON.stringify({\n          entity: entity\n        }),\n        method: 'POST'\n      };\n      return await this.makeRequest(`keyword:searchKeywordsForEntity`, options);\n    }\n    async getUsersFullSlim(onlyActive) {\n      return await this.makeRequest(`user:allUsersContactsSlim?only_active=${onlyActive}`);\n    }\n    async getInfo() {\n      return await this.makeRequest('user:info');\n    }\n    async searchProjects(searchString) {\n      return await this._searchObjects(searchString, 'project:searchForNameContainsSlim');\n    }\n    async searchOpportunities(searchString) {\n      return await this._searchObjects(searchString, 'opportunity:searchForNameContainsSlim');\n    }\n    async searchContacts(searchString, strict) {\n      let path = 'contact:searchForFullNameContainsSlim';\n      if (strict) {\n        path = `${path}?strict=true`;\n      }\n      return await this._searchObjects(searchString, path);\n    }\n    async searchCompanies(searchString, strict) {\n      let path = 'company:searchForNameContainsSlim';\n      if (strict) {\n        path = `${path}?strict=true`;\n      }\n      return await this._searchObjects(searchString, path);\n    }\n    async searchTasks(searchString) {\n      return await this._searchObjects(searchString, 'task:searchSlim');\n    }\n    async searchAppointments(searchString) {\n      return await this._searchObjects(searchString, 'appointment:searchSlim');\n    }\n    async _searchObjects(searchString, path) {\n      const options = {\n        body: JSON.stringify({\n          contains: searchString\n        }),\n        method: 'POST'\n      };\n      let foundObjects = await this.makeRequest(path, options);\n      let models = foundObjects?.map(json => {\n        return new _searchResult.default(json);\n      });\n      return models || [];\n    }\n    async getOpportunityWithId(id) {\n      id = DayliteService.extractIdFromString(id);\n      return await this.makeRequest(`opportunity/${id}`);\n    }\n    async getProjectWithId(id) {\n      id = DayliteService.extractIdFromString(id);\n      return await this.makeRequest(`project/${id}`);\n    }\n    async getCompanyWithId(id) {\n      id = DayliteService.extractIdFromString(id);\n      return await this.makeRequest(`company/${id}`);\n    }\n    async getContactWithId(id) {\n      id = DayliteService.extractIdFromString(id);\n      return await this.makeRequest(`contact/${id}`);\n    }\n    async getTaskWithId(id) {\n      id = DayliteService.extractIdFromString(id);\n      return await this.makeRequest(`task/${id}`);\n    }\n    async getAppointmentWithId(id) {\n      id = DayliteService.extractIdFromString(id);\n      return await this.makeRequest(`appointment/${id}`);\n    }\n    static extractId(object) {\n      let self = '';\n      if ('self' in object) {\n        self = object.self;\n      } else if ('location' in object) {\n        self = object.location;\n      }\n      return DayliteService.extractIdFromString(self);\n    }\n    static extractIdFromString(self) {\n      let parts = self.split('/');\n      let last = parts.at(-1);\n      if (last.toString()) {\n        return parseInt(last.toString());\n      }\n      return 0;\n    }\n    extractId(object) {\n      return DayliteService.extractId(object);\n    }\n\n    /**\n      Makes a request to the server.\n      @method makeRequest\n      @param {String} path The request URL\n      @param {Object} options The request options\n      @return {Promise} A promise that resolves with the response object\n      @protected\n    */\n    async makeRequest(path, options, cacheInvalidated) {\n      const noCache = cacheInvalidated || false;\n      // check for token expiration\n      await this.conditionallyRefreshToken(path);\n      let url = this.host + path;\n      options = {\n        ...options,\n        headers: this.headers()\n      };\n      if (_environment.default.Debugmode) {\n        options.headers['x-ioaccount-teamid'] = _environment.default.ioAccountTeamId;\n      }\n      if (noCache) {\n        options.headers['Cache-Control'] = 'no-cache';\n      }\n      if (!('method' in options)) {\n        options.method = 'GET';\n      }\n      return new _rsvp.default.Promise((resolve, reject) => {\n        fetch(url, options).then(response => {\n          response.text().then(text => {\n            try {\n              let jsonOrText = text;\n              if (this.isJson(text)) {\n                jsonOrText = JSON.parse(text);\n              }\n              if (!response.ok) {\n                this.handlingErrors(response, jsonOrText);\n                reject(response);\n              } else {\n                resolve(jsonOrText);\n              }\n            } catch {\n              response.responseText = text;\n              reject(response);\n            }\n          });\n        }).catch(error => {\n          this.notificationHandler.addError(error);\n          reject(error);\n        });\n      });\n    }\n    async conditionallyRefreshToken(logInfo) {\n      if (this.isRefreshingToken) {\n        this.logService.logLine(`Wait for current running refresh`, false);\n        (0, _emberLifeline.runTask)(this, () => {\n          this.conditionallyRefreshToken(logInfo);\n        }, 1000);\n        return;\n      }\n      if (this.refreshedTokens.includes(this.sessionService.data.idToken)) {\n        this.logService.logLine(`Token already refreshed`, false);\n        (0, _emberLifeline.runTask)(this, () => {\n          this.conditionallyRefreshToken(logInfo);\n        }, 1000);\n        return;\n      }\n      let expirationDate = new Date(this.sessionService.data.expiresAt);\n      let expirationDateWithOffset = new Date(expirationDate.getTime());\n      expirationDateWithOffset.setMinutes(expirationDateWithOffset.getMinutes() - 5);\n      let currentDate = new Date();\n      if (expirationDateWithOffset < currentDate) {\n        this.refreshedTokens.push(this.sessionService.data.idToken);\n        this.logService.logLine(`Before refresh: ${this.sessionService.data.idToken}`, false);\n        this.isRefreshingToken = true;\n        this.logService.logLine(`refresh called for path: ${logInfo}`, true);\n        await this.sessionService.refreshAccessToken(this.sessionService.data.refreshToken);\n        this.isRefreshingToken = false;\n        this.logService.logLine(`After refresh: ${this.sessionService.data.idToken}`, false);\n      }\n    }\n    isJson(str) {\n      try {\n        JSON.parse(str);\n      } catch {\n        return false;\n      }\n      return true;\n    }\n    handlingErrors(response, jsonOrText) {\n      response.responseJSON = jsonOrText;\n      if (response.status === 401) {\n        const isFromBackend = !(0, _utils.isEmpty)(response.url) && response.url.includes(this.host);\n        const error = new Error('Unauthorized');\n        error.status = 401;\n\n        // not auth from MC API\n        if (isFromBackend) {\n          let message = 'Unable to authenticate against Daylite API';\n          // general try to get a reason for error\n          if (!(0, _utils.isEmpty)(jsonOrText) && !(0, _utils.isEmpty)(jsonOrText.reason)) {\n            message = message + '\\n' + jsonOrText.reason;\n          }\n          this.sessionService.presentSessionErrorModal(message);\n        }\n      }\n      this.notificationHandler.addError(response);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"notificationHandler\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"logService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"isRefreshingToken\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"refreshedTokens\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _class);\n});","define(\"io-mail-assistant/services/debug-service\", [\"exports\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"io-mail-assistant/config/environment\"], function (_exports, _service, _object, _tracking, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/service\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DebugService = _exports.default = (_class = class DebugService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"showDebugModal\", _descriptor, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"logService\", _descriptor3, this);\n    }\n    get localStorageItems() {\n      let vals = [];\n      for (var i = 0, len = localStorage.length; i < len; ++i) {\n        let val = localStorage.getItem(localStorage.key(i));\n        vals.push(val);\n      }\n      return vals;\n    }\n    async expireToken(_this) {\n      let newEx = 9999;\n      let authData = await _this.sessionService.getData();\n      authData.expiresAt = newEx;\n      _this.sessionService.storeData(authData);\n      _this.closeDebug();\n    }\n    async expireTokenAndClearLog(_this) {\n      _this.logService.clearLog();\n      _this.expireToken(_this);\n    }\n    debugAction() {\n      this.showDebugModal = true;\n      // window.localStorage.setItem('foo', 'bar');\n      // Missive.store('foo', 'bar');\n    }\n    get isOutlook() {\n      return _environment.default.AssistantIdentifier === 'outlook';\n    }\n    get supportMailbox18() {\n      if (_environment.default.AssistantIdentifier === 'outlook') {\n        // eslint-disable-next-line no-undef\n        return Office.context.requirements.isSetSupported('Mailbox', '1.8');\n      }\n      return 'No Outlook detected';\n    }\n    closeDebug() {\n      this.showDebugModal = false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"showDebugModal\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"logService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"debugAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"debugAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeDebug\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeDebug\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/services/keyboard\", [\"exports\", \"ember-keyboard/services/keyboard\"], function (_exports, _keyboard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _keyboard.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-keyboard/services/keyboard\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/services/log-service\", [\"exports\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/utils\", \"lodash\", \"moment\"], function (_exports, _service, _object, _tracking, _utils, _lodash, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/utils\",0,\"lodash\",0,\"moment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let LogService = _exports.default = (_class = class LogService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"showLogModal\", _descriptor, this);\n      _initializerDefineProperty(this, \"logLinesAsString\", _descriptor2, this);\n    }\n    logLines() {\n      let itemString = localStorage.getItem('iom-log');\n      let logArray = [];\n      if (!(0, _utils.isEmpty)(itemString)) {\n        logArray = JSON.parse(itemString);\n      }\n      if (!Array.isArray(logArray)) {\n        logArray = [];\n      }\n      return logArray;\n    }\n    updateLogLinesAsString(logService) {\n      let logArray = logService.logLines();\n      let logStringArray = logArray.reverse().map(item => {\n        let date = (0, _moment.default)(item.date);\n        let last5Stack = (0, _lodash.take)(item.stack, 5);\n        let stack = last5Stack.map(stackItem => {\n          return `\\n\\t|-${stackItem}`;\n        });\n        return `${date.toISOString()} > ${item.text}${stack}`;\n      });\n      logService.logLinesAsString = logStringArray.join('\\n');\n    }\n    logLine(text, withTrace) {\n      let stackStrings = [];\n      if (withTrace) {\n        var stack = new Error().stack;\n        stack = stack.split('\\n');\n        stackStrings = stack.map(stackItem => {\n          return stackItem.trim().split('@')[0];\n        });\n        stackStrings = (0, _lodash.without)(stackStrings, (0, _lodash.first)(stackStrings));\n      }\n      let logArray = this.logLines();\n      logArray = (0, _lodash.takeRight)(logArray, 100);\n      logArray.push({\n        date: Date(),\n        text,\n        stack: stackStrings\n      });\n      localStorage.setItem('iom-log', JSON.stringify(logArray));\n    }\n    showLog() {\n      this.logLine('Open Debug', false);\n      this.showLogModal = true;\n    }\n    copyLog() {\n      let logArray = this.logLines();\n      let logString = JSON.stringify(logArray);\n      navigator.clipboard.writeText(logString);\n    }\n    clearLog() {\n      localStorage.setItem('iom-log', []);\n      this.updateLogLinesAsString(this);\n    }\n    closeLog() {\n      this.showLogModal = false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"showLogModal\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"logLinesAsString\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"showLog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showLog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"copyLog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"copyLog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"clearLog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"clearLog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeLog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeLog\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/services/missive-service\", [\"exports\", \"@ember/service\", \"io-mail-assistant/models/Classes/missive/conversation\", \"@ember/utils\", \"io-mail-assistant/models/Classes/daylite/creation\", \"io-mail-assistant/models/mail\"], function (_exports, _service, _conversation, _utils, _creation, _mail) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"io-mail-assistant/models/Classes/missive/conversation\",0,\"@ember/utils\",0,\"io-mail-assistant/models/Classes/daylite/creation\",0,\"io-mail-assistant/models/mail\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MissiveService = _exports.default = (_class = class MissiveService extends _service.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"dataService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"creationService\", _descriptor3, this);\n      _initializerDefineProperty(this, \"dayliteService\", _descriptor4, this);\n      _initializerDefineProperty(this, \"notificationHandler\", _descriptor5, this);\n      _initializerDefineProperty(this, \"logService\", _descriptor6, this);\n      this.addActions();\n    }\n    async setup() {\n      this.isLoading = true;\n      // eslint-disable-next-line no-undef\n      Missive.on('change:conversations', ids => {\n        this.fetchConversations(ids);\n      });\n\n      // // eslint-disable-next-line no-undef\n      // Missive.on('message_sent', async (id) => {\n      //   let notes = [{ message: 'Do you want to save this email in Daylite' }];\n      //   let buttons = [\n      //     { type: 'cancel', label: 'Cancel' },\n      //     { type: 'submit', label: 'Create' },\n      //   ];\n      //   let formData = { name: 'You have sent an e-mail', notes, buttons };\n      //   // eslint-disable-next-line no-undef\n      //   await Missive.openForm(formData);\n      //   await this.createDayliteEmailFromMessageID(id);\n      // });\n    }\n    async createDayliteEmailFromMessageID(id) {\n      // eslint-disable-next-line no-undef\n      Missive.fetchMessages([id]).then(messages => {\n        if (!(0, _utils.isEmpty)(messages)) {\n          let message = messages.at(0);\n          // eslint-disable-next-line no-undef\n          Missive.fetchConversations([message.conversation_id]).then(async conversations => {\n            if (!(0, _utils.isEmpty)(conversations)) {\n              let conversation = conversations.at(0);\n              let conversationModel = new _conversation.default(conversation);\n              conversationModel.changeSelectedMessage(message);\n              let modelRepresentation = _mail.default.initRepresentation(conversationModel);\n              let mail = await this.store.createRecord('mail', modelRepresentation);\n              let result = await this.dayliteService.allInOneByMessageID(conversationModel.smartId, conversationModel.selectedMessage);\n              mail.setup(result, true);\n              await mail.addOrRemoveDaylite();\n            }\n          });\n        }\n      });\n    }\n    async fetchConversations(ids) {\n      this.logService.logLine(`called with ids: ${ids.join(', ')}`, false);\n      if ((0, _utils.isEmpty)(ids)) {\n        this.informDataService(null);\n        return;\n      }\n\n      // eslint-disable-next-line no-undef\n      Missive.fetchConversations(ids).then(jsonConversations => {\n        let conversationModels = jsonConversations.map(jsonConversation => {\n          // console.log(`Did switch to Email ${jsonConversation.id}`);\n          // let users = await Missive.fetchUsers();\n          return new _conversation.default(jsonConversation);\n        });\n        this.informDataService(conversationModels);\n      });\n    }\n    informDataService(conversations) {\n      this.conversations = conversations;\n      this.dataService.didFetchMissiveConversations(conversations);\n    }\n    changeSelectedMessageOfCurrentConversation(jsonConversation, jsonMessage) {\n      if (!(0, _utils.isEmpty)(this.conversations)) {\n        let conv = this.conversations.find(element => element.id == jsonConversation.id);\n        conv.update(jsonConversation);\n        conv.changeSelectedMessage(jsonMessage);\n        this.dataService.didFetchMissiveConversations(this.conversations);\n      }\n    }\n    addActions() {\n      let selectMessage = this.generateActionEntry('message', 'View in iOM', this.actionOnMessage.bind(this));\n      let comment = this.generateActionEntry('comment', 'Create Task', this.actionOnComment.bind(this));\n      // let command_bar = this.generateActionEntry(\n      //   'command_bar',\n      //   'iOMailAssistant',\n      //   this.actionOnCommandBar.bind(this)\n      // );\n      //  eslint-disable-next-line no-undef\n      Missive.setActions([selectMessage, comment]);\n    }\n    generateActionEntry(context, label, action) {\n      return {\n        contexts: [context],\n        label: label,\n        callback: action,\n        swipe_color: '#f1913f',\n        swipe_id: `io-${context}`\n      };\n    }\n    actionOnComment(object) {\n      let model = new _creation.default({\n        name: 'Create Daylite task',\n        suggestedName: object.comment.body,\n        isTask: true\n      });\n      let mail = this.dataService?.mail;\n      mail.taskAppointmentPool?.addOrRemoveDaylite(mail, model);\n    }\n    actionOnMessage(object) {\n      // eslint-disable-next-line no-undef\n      Missive.openSelf();\n      if (!(0, _utils.isEmpty)(object.conversation) && !(0, _utils.isEmpty)(object.message)) {\n        try {\n          this.changeSelectedMessageOfCurrentConversation(object.conversation, object.message);\n        } catch (error) {\n          this.notificationHandler.addError(error);\n        }\n      }\n    }\n\n    // actionOnCommandBar(event, messageId) {\n    //   // eslint-disable-next-line no-undef\n    //   Missive.openSelf();\n    //   if (event.type === 'load') {\n    //     // eslint-disable-next-line no-undef\n    //     debugger;\n    //     Missive.respondToMessage(messageId, {\n    //       commands: [\n    //         {\n    //           id: 'save',\n    //           iconUrl: `${window.location.origin}/assets/images/daylite.png`,\n    //           label: 'Save in Daylite',\n    //           payload: {},\n    //           closeOnExecute: true,\n    //         },\n    //       ],\n    //     });\n\n    //     return;\n    //   }\n\n    //   // if (event.type === 'search') {\n    //   //   const commands = searchCommands(event.value);\n    //   //   Missive.respondToMessage(messageId, { commands });\n\n    //   //   return;\n    //   // }\n\n    //   if (event.type === 'execute') {\n    //     this.executeCommandBar(event.payload);\n\n    //     return;\n    //   }\n    // }\n\n    // executeCommandBar(obj) {\n    //   debugger;\n    // }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"dataService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"creationService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"dayliteService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"notificationHandler\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"logService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/services/moment\", [\"exports\", \"ember-moment/services/moment\"], function (_exports, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _moment.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/services/moment\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/services/notification-handler\", [\"exports\", \"@ember/service\", \"@ember/array\", \"@glimmer/tracking\"], function (_exports, _service, _array, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/array\",0,\"@glimmer/tracking\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let NotificationHandlerService = _exports.default = (_class = class NotificationHandlerService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"notifications\", _descriptor, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor2, this);\n      _defineProperty(this, \"notificationSettings\", {\n        error: {\n          type: 'error',\n          colorStyle: 'bg-failure text-white'\n        },\n        success: {\n          type: 'success',\n          colorStyle: 'bg-success text-white'\n        }\n      });\n    }\n    add(item) {\n      this.notifications.pushObject(item);\n    }\n    remove(item) {\n      this.notifications.removeObject(item);\n    }\n    empty() {\n      this.notifications.clear();\n    }\n    addSuccess(obj) {\n      let successObj = {\n        ...obj\n      };\n      successObj.notificationSettings = this.notificationSettings.success;\n      this.add(successObj);\n    }\n    addError(error) {\n      let errorObj = this.handleError(error);\n      errorObj.notificationSettings = this.notificationSettings.error;\n      this.add(errorObj);\n    }\n    handleError(error) {\n      let errorObj = new Error();\n      if ('status' in error) {\n        errorObj.status = error.status;\n      } else {\n        errorObj.status = '';\n      }\n      if ('responseJSON' in error && error.responseJSON?.reason !== undefined) {\n        errorObj.message = error.responseJSON.reason;\n      } else if ('statusText' in error) {\n        errorObj.message = error.statusText;\n      } else if ('message' in error) {\n        errorObj.message = error.message;\n      } else {\n        errorObj.message = 'Unknown reason';\n      }\n      return errorObj;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"notifications\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return (0, _array.A)([]);\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/services/outlook-service\", [\"exports\", \"@ember/service\", \"@ember/utils\", \"io-mail-assistant/models/Classes/shared/message\", \"io-mail-assistant/models/mail\", \"lodash\"], function (_exports, _service, _utils, _message, _mail, _lodash) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/utils\",0,\"io-mail-assistant/models/Classes/shared/message\",0,\"io-mail-assistant/models/mail\",0,\"lodash\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let OutlookService = _exports.default = (_class = class OutlookService extends _service.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"dataService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"creationService\", _descriptor3, this);\n      _initializerDefineProperty(this, \"sessionService\", _descriptor4, this);\n      _initializerDefineProperty(this, \"dayliteService\", _descriptor5, this);\n      _initializerDefineProperty(this, \"notificationHandler\", _descriptor6, this);\n      _initializerDefineProperty(this, \"logService\", _descriptor7, this);\n      _initializerDefineProperty(this, \"preferenceService\", _descriptor8, this);\n    }\n    setupForEvent() {\n      // eslint-disable-next-line no-undef\n      Office.onReady(async () => {\n        try {\n          await this.removeNotification();\n          await this.addNotification('E-Mail will be saved in Daylite on sending');\n        } catch (error) {\n          console.log(error);\n        }\n      });\n      try {\n        // eslint-disable-next-line no-undef\n        Office.actions.associate('onMessageSendHandler', this.onMessageSendHandler.bind(this));\n      } catch (error) {\n        console.log(error);\n      }\n    }\n    async setup() {\n      this.isLoading = true;\n      // eslint-disable-next-line no-undef\n      Office.onReady(() => {\n        this.messageChanged();\n        // eslint-disable-next-line no-undef\n        Office.context.mailbox.addHandlerAsync(\n        // eslint-disable-next-line no-undef\n        Office.EventType.ItemChanged, async () => {\n          this.messageChanged();\n        });\n      });\n    }\n    async messageChanged() {\n      // eslint-disable-next-line no-undef\n      let item = Office.context.mailbox.item;\n      this.logService.logLine(`called with ids: ${item.internetMessageId}`, false);\n      if ((0, _utils.isEmpty)(item)) {\n        this.informDataService(null);\n        return;\n      }\n      let model = new _message.default(item);\n      // if item is a draft, try to recover an internal id from session data;\n      await model.conditionallyResolveInternalDraftId();\n      // if item is a draft, try to async get all recipients\n      await model.conditionallyResolveRecipientsForDraft();\n      let draft = await this.getDraft();\n      this.preferenceService.setup();\n      model.createDraft = this.preferenceService.autosave || draft?.createDraft;\n      let _this = this;\n      // eslint-disable-next-line no-undef\n      Office.context.mailbox.item.body.getAsync(\n      // eslint-disable-next-line no-undef\n      Office.CoercionType.Html, function (result) {\n        model.body = result.value;\n        if (model.isDraft) {\n          _this.getAttachmentsForDraft(model, _this);\n        } else {\n          _this.informDataService(model);\n        }\n      });\n    }\n    informDataService(message) {\n      this.message = message;\n      this.dataService.didFetchOutlookMessage(message);\n    }\n    getAttachmentsForDraft(model, _this) {\n      // eslint-disable-next-line no-undef\n      Office.context.mailbox.item.getAttachmentsAsync(function (attachmentsResult) {\n        if (\n        // eslint-disable-next-line no-undef\n        attachmentsResult.status !== Office.AsyncResultStatus.Succeeded) {\n          console.error(attachmentsResult.error.message);\n          _this.informDataService(model);\n        } else {\n          model.setupOutlookAttachments(attachmentsResult.value);\n          _this.informDataService(model);\n        }\n      });\n    }\n    addDraftChangeObservation(mail) {\n      const _this = this;\n      if (mail.foreign.selectedMessage.isDraft) {\n        // eslint-disable-next-line no-undef\n        Office.context.mailbox.item.addHandlerAsync(\n        // eslint-disable-next-line no-undef\n        Office.EventType.AttachmentsChanged, async () => {\n          _this.attachmentsChanged(mail);\n        });\n      }\n    }\n    async attachmentsChanged(mail) {\n      // eslint-disable-next-line no-undef\n      let item = Office.context.mailbox.item;\n      if ((0, _utils.isEmpty)(item) || (0, _utils.isEmpty)(mail) || !mail.isDraft) {\n        return;\n      }\n      this.logService.logLine(`attachments changeSelectedMessage with ids: ${item.internetMessageId}`, false);\n      // eslint-disable-next-line no-undef\n      Office.context.mailbox.item.getAttachmentsAsync(function (result) {\n        // eslint-disable-next-line no-undef\n        if (result.status !== Office.AsyncResultStatus.Succeeded) {\n          console.error(result.error.message);\n        } else {\n          if (result.value.length > 0) {\n            mail.foreign.selectedMessage.setupOutlookAttachments(result.value);\n            mail.attachmentPool.setup();\n          } else {\n            console.log('No attachments on this message.');\n          }\n        }\n      });\n    }\n    addNotification(message, isError, noStepCount) {\n      return new Promise(resolve => {\n        let _resolve = resolve;\n        let type = isError ?\n        // eslint-disable-next-line no-undef\n        Office.MailboxEnums.ItemNotificationMessageType.ErrorMessage :\n        // eslint-disable-next-line no-undef\n        Office.MailboxEnums.ItemNotificationMessageType.ProgressIndicator;\n        let stepString = '';\n        if (!noStepCount && !isError) {\n          this.notificationStep = this.notificationStep + 1;\n          stepString = ` (${this.notificationStep} of 7)`;\n        }\n        const details = {\n          type,\n          message: `iOM - ${message}${stepString}`\n        };\n        // eslint-disable-next-line no-undef\n        Office.context.mailbox.item.notificationMessages.addAsync('iom-notification', details, result => {\n          _resolve();\n          if (!(0, _utils.isEmpty)(result.error)) {\n            // eslint-disable-next-line no-undef\n            Office.context.mailbox.item.notificationMessages.replaceAsync('iom-notification', details, () => {\n              _resolve();\n            });\n          }\n        });\n      });\n    }\n    removeNotification() {\n      this.notificationStep = 0;\n      return new Promise(resolve => {\n        let _resolve = resolve;\n        // eslint-disable-next-line no-undef\n        Office.context.mailbox.item.notificationMessages.removeAsync('iom-notification');\n        _resolve();\n      });\n    }\n\n    // attention: func name must be different thant onMessageSendHandler, otherwise outlook will call it twice\n    async onMessageSendHandler(event) {\n      try {\n        let draftObject = await this.getDraft();\n        this.preferenceService.setup();\n        if (\n        // if draftObject is not empty and we don't want to send and draft stopp\n        !(0, _utils.isEmpty)(draftObject) && !draftObject.createDraft ||\n        // if draftObject is empty and and autosave is no stopp\n        (0, _utils.isEmpty)(draftObject) && !this.preferenceService.autosave) {\n          await this.addNotification('E-Mail will not be saved in Daylite');\n          event.completed({\n            allowEvent: true\n          });\n        }\n        let _this = this;\n        // eslint-disable-next-line no-undef\n        Office.context.mailbox.item.saveAsync({\n          asyncContext: event\n        }, async function (asyncResult) {\n          // Handle success or error\n          await _this.addNotification('Preparing for creating E-Mail in Daylite');\n          // eslint-disable-next-line no-undef\n          if (asyncResult.status !== Office.AsyncResultStatus.Succeeded) {\n            await _this.addNotification('Failed to save async: ' + JSON.stringify(asyncResult.error), true, true);\n            asyncResult.asyncContext.completed({\n              allowEvent: false\n            });\n            return;\n          }\n          await _this.addNotification('Preparing Outlook Mail for Daylite');\n          // eslint-disable-next-line no-undef\n          const item = Office.context.mailbox.item;\n          await _this.createDayliteEmail(item, asyncResult.value, asyncResult.asyncContext);\n        });\n      } catch (error) {\n        console.log(error);\n        event.completed({\n          allowEvent: true\n        });\n      }\n    }\n\n    // getItemRestId(ewsId) {\n    //   // eslint-disable-next-line no-undef\n    //   if (Office.context.mailbox.diagnostics.hostName === 'OutlookIOS') {\n    //     // itemId is already REST-formatted.\n    //     return ewsId;\n    //   } else {\n    //     // Convert to an item ID for API v2.0.\n    //     // eslint-disable-next-line no-undef\n    //     return Office.context.mailbox.convertToRestId(\n    //       ewsId,\n    //       // eslint-disable-next-line no-undef\n    //       Office.MailboxEnums.RestVersion.v2_0\n    //     );\n    //   }\n    // }\n\n    // async getCurrentItem(accessToken, ewsId, event) {\n    //   const itemId = this.getItemRestId(ewsId);\n    //   const getMessageUrl =\n    //     // eslint-disable-next-line no-undef\n    //     Office.context.mailbox.restUrl + '/v2.0/me/messages/' + itemId;\n    //   const response = await fetch(getMessageUrl, {\n    //     method: 'GET',\n    //     headers: {\n    //       Authorization: `Bearer ${accessToken}`,\n    //     },\n    //   });\n    //   await this.addNotification('Got Outlook Details');\n    //   if (!response.ok) {\n    //     let errMsg = `${response.status} ${response.statusText}`;\n    //     await this.addNotification('Outlook API error: ' + errMsg, true, true);\n    //     event.completed({ allowEvent: false });\n    //     throw new Error(errMsg);\n    //   }\n\n    //   const result = await response.json();\n    //   await this.createDayliteEmailWithFromRestResponse(result, event);\n    // }\n\n    async getInternalDraftId(item) {\n      return await this.getCustomProperty(item, 'iom-draft-id');\n    }\n    async getAutosaveState(item) {\n      let value = await this.getCustomProperty(item, 'iom-no-autosave');\n      if (value == undefined) {\n        return false;\n      }\n      return value;\n    }\n    getCustomProperty(item, key) {\n      return new Promise(resolve => {\n        let _resolve = resolve;\n        item.loadCustomPropertiesAsync(function (asyncResult) {\n          // eslint-disable-next-line no-undef\n          if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {\n            let customProperties = asyncResult.value;\n            let state = customProperties.get(key);\n            _resolve(state);\n          } else {\n            console.log('Failed to load custom properties sessionData. Error: ' + JSON.stringify(asyncResult.error));\n            _resolve();\n          }\n        });\n      });\n    }\n    async getDraft() {\n      // eslint-disable-next-line no-undef\n      let draftId = await this.getInternalDraftId(Office.context.mailbox.item);\n      let draftString = window.localStorage.getItem(`iom-draft-${draftId}`);\n      let draftObject;\n      if (!(0, _utils.isEmpty)(draftString)) {\n        draftObject = JSON.parse(draftString);\n      }\n      return draftObject;\n    }\n    async fullItemProps(composeItem) {\n      let item = {};\n      item.subject = await this.subjectFromComposeItem(composeItem);\n      item.from = await this.fromFromComposeItem(composeItem);\n      item.to = await this.toFromComposeItem(composeItem);\n      item.cc = await this.ccFromComposeItem(composeItem);\n      item.body = await this.bodyFromComposeItem(composeItem);\n      return item;\n    }\n    async subjectFromComposeItem(composeItem) {\n      return new Promise((resolve, reject) => {\n        composeItem.subject.getAsync(function (subjectResult) {\n          // eslint-disable-next-line no-undef\n          if (subjectResult.status === Office.AsyncResultStatus.Succeeded) {\n            resolve(subjectResult.value);\n          } else {\n            reject(subjectResult.error);\n          }\n        });\n      });\n    }\n    async fromFromComposeItem(composeItem) {\n      return new Promise((resolve, reject) => {\n        composeItem.from.getAsync(function (fromResult) {\n          // eslint-disable-next-line no-undef\n          if (fromResult.status === Office.AsyncResultStatus.Succeeded) {\n            if ((0, _utils.isEmpty)(fromResult.value)) {\n              resolve({\n                displayName:\n                // eslint-disable-next-line no-undef\n                Office.context.mailbox.initialData.userDisplayName,\n                emailAddress:\n                // eslint-disable-next-line no-undef\n                Office.context.mailbox.initialData.userEmailAddress\n              });\n            } else {\n              resolve(fromResult.value);\n            }\n          } else {\n            reject(fromResult.error);\n          }\n        });\n      });\n    }\n    async toFromComposeItem(composeItem) {\n      return new Promise((resolve, reject) => {\n        composeItem.to.getAsync(function (toResult) {\n          // eslint-disable-next-line no-undef\n          if (toResult.status === Office.AsyncResultStatus.Succeeded) {\n            resolve(toResult.value);\n          } else {\n            reject(toResult.error);\n          }\n        });\n      });\n    }\n    async ccFromComposeItem(composeItem) {\n      return new Promise((resolve, reject) => {\n        composeItem.cc.getAsync(function (ccResult) {\n          // eslint-disable-next-line no-undef\n          if (ccResult.status === Office.AsyncResultStatus.Succeeded) {\n            resolve(ccResult.value);\n          } else {\n            reject(ccResult.error);\n          }\n        });\n      });\n    }\n    async bodyFromComposeItem(composeItem) {\n      return new Promise((resolve, reject) => {\n        composeItem.body.getAsync(\n        // eslint-disable-next-line no-undef\n        Office.CoercionType.Html, function (bodyResult) {\n          // eslint-disable-next-line no-undef\n          if (bodyResult.status === Office.AsyncResultStatus.Succeeded) {\n            resolve(bodyResult.value);\n          } else {\n            reject(bodyResult.error);\n          }\n        });\n      });\n    }\n    async createDayliteEmail(mboxItem, mboxItemId, event) {\n      let item = await this.fullItemProps(mboxItem);\n      // try to get draft id from the custom properties to get a prefilled mail\n      let draftObject = await this.getDraft();\n      let attachments = [];\n      if (!(0, _utils.isEmpty)(draftObject)) {\n        // remove attachments from draftObject\n        attachments = draftObject.attachments;\n        delete draftObject.attachments;\n        let transformedObject = {};\n        for (const [key, value] of Object.entries(draftObject)) {\n          if ((0, _lodash.isArray)(value) && key !== 'keywords') {\n            transformedObject[key] = value.map(dayliteValue => {\n              let obj = {};\n              obj[dayliteValue.objectKey] = dayliteValue.self;\n              return obj;\n            });\n          } else {\n            transformedObject[key] = value;\n          }\n        }\n        draftObject = transformedObject;\n      }\n      // need to convert response to an office js api like model\n      item.internetMessageId = mboxItemId;\n      item.itemId = mboxItemId;\n      let model = new _message.default(item);\n      let modelRepresentation = _mail.default.initRepresentation(model);\n      let mail = await this.store.createRecord('mail', modelRepresentation);\n      await this.addNotification('Preparing data for Daylite');\n      try {\n        await this.sessionService.setup();\n        await this.addNotification('Setup creating in Daylite');\n        // if we don't have a draftObject, we need to get the default suggestions\n        if ((0, _utils.isEmpty)(draftObject)) {\n          let result = await this.dayliteService.allInOneByMessageID(model.smartId, model.selectedMessage);\n          mail.setup(result, true);\n        }\n        await this.addNotification('Creating in Daylite');\n        try {\n          await mail.createEmail(draftObject);\n          await this.loadAndAddAttachments(mail, attachments);\n          await this.removeNotification();\n          event.completed({\n            allowEvent: true\n          });\n        } catch (error) {\n          await this.addNotification('Failed saving Daylite: ' + error, true, true);\n          if (!(0, _utils.isEmpty)(draftObject)) {\n            window.localStorage.removeItem(draftObject.id);\n          }\n          event.completed({\n            allowEvent: false\n          });\n        }\n      } catch (error) {\n        await this.addNotification('Failed session: ' + error, true, true);\n        event.completed({\n          allowEvent: false\n        });\n      }\n    }\n\n    // convertRestEmailAddress(emailAddress) {\n    //   if (!isEmpty(emailAddress.EmailAddress)) {\n    //     let emailAddressObject = emailAddress.EmailAddress;\n    //     return {\n    //       displayName: emailAddressObject.Name,\n    //       emailAddress: emailAddressObject.Address,\n    //     };\n    //   }\n    //   return null;\n    // }\n\n    // convertRestEmailAddresses(emailAddresses) {\n    //   let convertedAdresses = emailAddresses.map((emailAddress) => {\n    //     return this.convertRestEmailAddress(emailAddress);\n    //   });\n    //   return convertedAdresses.filter((element) => {\n    //     return element != null;\n    //   });\n    // }\n\n    loadAndAddAttachments(mail, attachmentsToAdd) {\n      if (attachmentsToAdd?.length == 0) {\n        return;\n      }\n      return new Promise((resolve, reject) => {\n        // eslint-disable-next-line no-undef\n        Office.context.mailbox.item.getAttachmentsAsync(async function (attachmentsResult) {\n          if (\n          // eslint-disable-next-line no-undef\n          attachmentsResult.status !== Office.AsyncResultStatus.Succeeded) {\n            reject(attachmentsResult.error);\n          } else {\n            mail.foreign.selectedMessage.setupOutlookAttachments(attachmentsResult.value);\n            mail.attachmentPool.setup();\n            mail.setupAttachmentPoolFromDraft(attachmentsToAdd);\n            await mail.attachmentPool.createAttachmentsForDraft();\n            resolve();\n          }\n        });\n      });\n    }\n    saveAutosaveState(item, state) {\n      let _item = item;\n      return new Promise((resolve, reject) => {\n        let _resolve = resolve;\n        _item.loadCustomPropertiesAsync(function (asyncResult) {\n          // eslint-disable-next-line no-undef\n          if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {\n            let customProperties = asyncResult.value;\n            customProperties.set('iom-no-autosave', state);\n            customProperties.saveAsync(function () {\n              // eslint-disable-next-line no-undef\n              if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {\n                _resolve();\n              } else {\n                console.log('Failed to save custom properties. Error: ' + JSON.stringify(asyncResult.error));\n                reject(asyncResult.error);\n              }\n            });\n          } else {\n            console.log('Failed to load custom properties. Error: ' + JSON.stringify(asyncResult.error));\n            reject(asyncResult.error);\n          }\n        });\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"dataService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"creationService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"sessionService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"dayliteService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"notificationHandler\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"logService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"preferenceService\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/services/page-title\", [\"exports\", \"ember-page-title/services/page-title\"], function (_exports, _pageTitle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _pageTitle.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-page-title/services/page-title\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/services/preference-service\", [\"exports\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"io-mail-assistant/config/environment\"], function (_exports, _service, _object, _tracking, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"io-mail-assistant/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let PreferenceService = _exports.default = (_class = class PreferenceService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"showPreferencesModal\", _descriptor, this);\n      _initializerDefineProperty(this, \"autosave\", _descriptor2, this);\n    }\n    setup() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        this.autosave = false;\n        return;\n      }\n\n      // eslint-disable-next-line no-undef\n      let autosave = Office.context.roamingSettings.get(this.autosaveKey);\n      if (autosave == undefined) {\n        this.autosave = false;\n      } else {\n        this.autosave = autosave;\n      }\n    }\n    showPreferences() {\n      this.showPreferencesModal = true;\n    }\n    closePreferences() {\n      this.showPreferencesModal = false;\n    }\n    autosaveOptionChanged(event) {\n      let doAutosave = event.target.value === 'true';\n      this.autosave = doAutosave;\n      // eslint-disable-next-line no-undef\n      Office.context.roamingSettings.set(this.autosaveKey, doAutosave);\n      // eslint-disable-next-line no-undef\n      Office.context.roamingSettings.saveAsync(function (result) {\n        // eslint-disable-next-line no-undef\n        if (result.status !== Office.AsyncResultStatus.Succeeded) {\n          console.error(`Action failed with message ${result.error.message}`);\n        } else {\n          console.log(`Settings saved with status: ${result.status} value: ${doAutosave}`);\n        }\n      });\n    }\n    get autosaveKey() {\n      return 'iom-autosave';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"showPreferencesModal\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"autosave\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"setup\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showPreferences\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showPreferences\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closePreferences\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closePreferences\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"autosaveOptionChanged\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"autosaveOptionChanged\"), _class.prototype), _class);\n});","define(\"io-mail-assistant/services/session-service\", [\"exports\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/utils\", \"rsvp\", \"io-mail-assistant/config/environment\", \"ember-lifeline\", \"jwt-decode\"], function (_exports, _service, _tracking, _utils, _rsvp, _environment, _emberLifeline, _jwtDecode) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"@ember/service\",0,\"@ember/utils\",0,\"rsvp\",0,\"io-mail-assistant/config/environment\",0,\"ember-lifeline\",0,\"jwt-decode\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let SessionService = _exports.default = (_class = class SessionService extends _service.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"notificationHandler\", _descriptor, this);\n      _initializerDefineProperty(this, \"dayliteService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"router\", _descriptor3, this);\n      _initializerDefineProperty(this, \"store\", _descriptor4, this);\n      _initializerDefineProperty(this, \"logService\", _descriptor5, this);\n      _initializerDefineProperty(this, \"trialMode\", _descriptor6, this);\n      _initializerDefineProperty(this, \"showSessionErrorModal\", _descriptor7, this);\n      _initializerDefineProperty(this, \"sessionErrorModalMessage\", _descriptor8, this);\n      _initializerDefineProperty(this, \"showLicensingErrorModal\", _descriptor9, this);\n      _initializerDefineProperty(this, \"hasTrial\", _descriptor10, this);\n      _initializerDefineProperty(this, \"isLoggingIn\", _descriptor11, this);\n      _initializerDefineProperty(this, \"isOpeningDayliteAuth\", _descriptor12, this);\n      _initializerDefineProperty(this, \"user\", _descriptor13, this);\n      _initializerDefineProperty(this, \"newVersionAvailable\", _descriptor14, this);\n      _initializerDefineProperty(this, \"data\", _descriptor15, this);\n      _defineProperty(this, \"loginEndpoint\", 'login');\n      _defineProperty(this, \"refreshEndpoint\", 'refresh');\n      _defineProperty(this, \"sessionKey\", 'session');\n      _defineProperty(this, \"lastRequestedRefreshDate\", undefined);\n      if (_environment.default.environment.includes('production')) {\n        this.versionCheck();\n      }\n    }\n    get tokenRefreshOffset() {\n      const min = 5;\n      const max = 10;\n      return (Math.floor(Math.random() * (max - min)) + min) * 1000;\n    }\n    async setup() {\n      try {\n        let sessionData = await this.getData();\n        if (sessionData) {\n          await this.restore(sessionData);\n        }\n      } catch (error) {\n        console.log(error);\n        if (_environment.default.AssistantIdentifier === 'missive') {\n          // eslint-disable-next-line no-undef\n          Missive.alert({\n            title: 'Error setup session',\n            message: error\n          });\n        }\n      }\n    }\n    async restore(data) {\n      const now = new Date().getTime();\n      if (!(0, _utils.isEmpty)(data['expiresAt']) && data['expiresAt'] < now) {\n        if (!(0, _utils.isEmpty)(data)) {\n          data = await this.refreshAccessToken(data['refreshToken']);\n        }\n      }\n      if (this._validate(data)) {\n        // refresh access Token do save to Missive store for us\n        this.data = data;\n        return;\n      }\n      return this.invalidate();\n    }\n    async authenticate(data) {\n      const loginEndpoint = this.loginEndpoint;\n      const url = this.buildURL(loginEndpoint);\n      const headers = {\n        'Content-Type': 'application/json'\n      };\n      const options = {\n        body: JSON.stringify(data),\n        headers,\n        method: 'POST'\n      };\n      this.isLoggingIn = true;\n      let response;\n      try {\n        response = await this.makeRequest(url, options, true);\n        const expiresAt = this._absolutizeExpirationTime(response['expiresIn']);\n        response.expiresAt = expiresAt;\n        if (!this._validate(response)) {\n          throw 'idToken is missing in server response';\n        }\n        const idToken = response['idToken'];\n        this.storeData(response);\n        if (!(0, _utils.isEmpty)(idToken)) {\n          let loginURL = await this.dayliteLogin(idToken);\n          this.conditionallyDayliteAuthRedirect(loginURL, response);\n        }\n        this.isLoggingIn = false;\n      } catch {\n        this.isLoggingIn = false;\n      }\n    }\n    decodeJWT(jwtToken) {\n      try {\n        var decoded = (0, _jwtDecode.default)(jwtToken);\n        return decoded;\n      } catch {\n        return {};\n      }\n    }\n    async getData() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        return await Missive.storeGet(this.sessionKey);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        return JSON.parse(window.localStorage.getItem(this.sessionKey));\n      }\n    }\n    storeData(data) {\n      this.data = data;\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.storeSet(this.sessionKey, data);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        if ((0, _utils.isEmpty)(data)) {\n          window.localStorage.removeItem(this.sessionKey);\n        } else {\n          window.localStorage.setItem(this.sessionKey, JSON.stringify(data));\n        }\n      }\n    }\n    conditionallyDayliteAuthRedirect(url, response) {\n      if (!(0, _utils.isEmpty)(url)) {\n        this.dayliteNeedsAuthentication = true;\n        if (this.session === undefined || !this.sessionService.dayliteIsAuthenticating) {\n          this.dayliteIsAuthenticating = true;\n          if (_environment.default.AssistantIdentifier === 'missive') {\n            // eslint-disable-next-line no-undef\n            Missive.openURL(url);\n          } else if (_environment.default.AssistantIdentifier === 'outlook') {\n            this.showOutlookDialog(url);\n          }\n          this.isOpeningDayliteAuth = true;\n        }\n        this.dayliteNeedsAuthentication = false;\n        this.dayliteIsAuthenticating = false;\n      }\n      return response;\n    }\n    invalidate() {\n      this.lastRequestedRefreshDate = undefined;\n      this.data = undefined;\n      this.storeData();\n    }\n    async refreshAccessToken(refreshToken) {\n      // auto logout when refresh was called in the last 10 secs\n      // console.log(\"refreshAccessToken start\");\n      if (!(0, _utils.isEmpty)(this.lastRequestedRefreshDate)) {\n        const now = new Date();\n        var diff = (now - this.lastRequestedRefreshDate) / 1000;\n        if (diff <= 10) {\n          // console.log(\"refreshAccessToken time invalidate\");\n          this.invalidate();\n          this.reload();\n          return;\n        }\n      }\n      this.lastRequestedRefreshDate = new Date();\n      const body = {\n        refreshToken: refreshToken\n      };\n      const refreshEndpoint = this.refreshEndpoint;\n      const url = this.buildURL(refreshEndpoint);\n      const headers = {\n        'Content-Type': 'application/json'\n      };\n      const options = {\n        body: JSON.stringify(body),\n        headers,\n        method: 'POST'\n      };\n      return new _rsvp.default.Promise((resolve, reject) => {\n        this.makeRequest(url, options).then(async response => {\n          // console.log(\"refreshAccessToken responded\");\n          let expiresIn = response['expiresIn'];\n          let currentData = await this.getData();\n          if ((0, _utils.isEmpty)(currentData)) {\n            currentData = {};\n          }\n          refreshToken = response['refreshToken'] || refreshToken;\n          const expiresAt = this._absolutizeExpirationTime(expiresIn);\n          currentData.expiresIn = expiresIn;\n          currentData.expiresAt = expiresAt;\n          currentData.refreshToken = refreshToken;\n          currentData.idToken = response.idToken;\n          this.logService.logLine(`Refresh response: ${currentData.idToken}`, false);\n          if (!this._validate(currentData)) {\n            // console.log(\"refreshAccessToken currentData invalid\");\n            this.invalidate();\n            this.reload();\n            reject();\n          } else {\n            // console.log(\"refreshAccessToken storeData\");\n            this.storeData(currentData);\n            resolve(currentData);\n          }\n        }, () => {\n          reject();\n        });\n      });\n    }\n    _absolutizeExpirationTime(expiresIn) {\n      if (!(0, _utils.isEmpty)(expiresIn)) {\n        return new Date(new Date().getTime() + expiresIn * 1000).getTime();\n      }\n    }\n    _validate(data) {\n      return !(0, _utils.isEmpty)(data?.idToken) && !(0, _utils.isEmpty)(data?.expiresIn) && !(0, _utils.isEmpty)(data?.expiresAt);\n    }\n    versionCheck() {\n      let options = {\n        method: 'GET'\n      };\n      let url = `https://${window.location.host}/version.json`;\n      this.makeRequest(url, options).then(response => {\n        if (!(0, _utils.isEmpty)(response.version) && response.version != _environment.default.Version) {\n          this.newVersionAvailable = true;\n        } else {\n          this.newVersionAvailable = false;\n        }\n      });\n      (0, _emberLifeline.runTask)(this, this.versionCheck, 900000);\n    }\n    headers() {\n      if (this.isAuthenticated) {\n        const idToken = this.data.idToken;\n        return {\n          Authorization: `Bearer ${idToken}`\n        };\n      }\n      return {};\n    }\n    async signInWithEmailAndPassword(email, password) {\n      this.showLicensingErrorModal = false;\n      if (!this.isLoggingIn) {\n        await this.authenticate({\n          email: email,\n          password: password\n        });\n      }\n    }\n    sendPasswordResetEmail(email) {\n      const url = this.buildURL('resetPassword');\n      const body = {\n        email: email\n      };\n      const headers = {\n        'Content-Type': 'application/json'\n      };\n      const options = {\n        body: JSON.stringify(body),\n        headers,\n        method: 'POST'\n      };\n      return new _rsvp.default.Promise((resolve, reject) => {\n        this.makeRequest(url, options).then(response => {\n          if (!response['email']) {\n            reject('email is missing in server response');\n          }\n          this.notificationHandler.addSuccess({\n            message: `we have sent a reset email to ${response['email']}`\n          });\n          resolve(response);\n        }, response => {\n          this.notificationHandler.addError(response);\n          reject(response);\n        });\n      });\n    }\n    buildURL(endpoint) {\n      const host = _environment.default.iOSXpertAuth.host || 'http://localhost:8080';\n      const url = host + '/' + endpoint;\n      return url;\n    }\n    makeRequest(urlString, options, handleLogin400) {\n      var url = new URL(urlString);\n      if (!(0, _utils.isEmpty)(this.data?.idToken)) {\n        let decodedJWT = this.decodeJWT(this.data.idToken);\n        var params = [];\n        if (!(0, _utils.isEmpty)(decodedJWT.user_id)) {\n          params.push(['fid', decodedJWT.user_id]);\n        }\n        if (!(0, _utils.isEmpty)(_environment.default.Version)) {\n          params.push(['v', _environment.default.Version]);\n        }\n        url.search = new URLSearchParams(params).toString();\n      }\n      return new _rsvp.default.Promise((resolve, reject) => {\n        fetch(url, options).then(response => {\n          response.text().then(text => {\n            try {\n              let json = JSON.parse(text);\n              if (!response.ok) {\n                if (handleLogin400 && response.status == 400) {\n                  json = {\n                    reason: 'Incorrect username or password'\n                  };\n                }\n                response.responseJSON = json;\n                this.notificationHandler.addError(response);\n                reject(response);\n              } else {\n                resolve(json);\n              }\n            } catch {\n              response.responseText = text;\n              reject(response);\n            }\n          });\n        }).catch(error => {\n          this.notificationHandler.addError(error);\n          reject(error);\n        });\n      });\n    }\n    getInfo() {\n      const url = `${_environment.default.Backend.host}/info`;\n      const headers = {\n        'Content-Type': 'application/json',\n        Authorization: `Bearer ${this.data.idToken}`\n      };\n      if (_environment.default.Debugmode) {\n        headers['x-ioaccount-teamid'] = _environment.default.ioAccountTeamId;\n      }\n      const options = {\n        headers,\n        method: 'GET',\n        cache: 'no-cache'\n      };\n      this.makeRequest(url, options).then(response => {\n        if (!(0, _utils.isEmpty)(response.hasTrial)) {\n          this.hasTrial = response.hasTrial;\n        }\n      });\n    }\n    dayliteLogin(idToken) {\n      return new _rsvp.default.Promise((resolve, reject) => {\n        const url = `${_environment.default.Backend.host}/connectionState`;\n        let headers = {\n          'Content-Type': 'application/json',\n          Authorization: `Bearer ${idToken}`\n        };\n        if (_environment.default.Debugmode) {\n          headers['x-ioaccount-teamid'] = _environment.default.ioAccountTeamId;\n        }\n        const options = {\n          headers,\n          method: 'GET',\n          cache: 'no-cache'\n        };\n        this.makeRequest(url, options).then(response => {\n          if (response['needsAuthentication']) {\n            const options = {\n              headers,\n              method: 'GET',\n              xhrFields: {\n                withCredentials: true\n              },\n              crossDomain: true,\n              credentials: 'include',\n              cache: 'no-cache'\n            };\n            this.makeRequest(response['startURL'], options).then(response => {\n              if (response['url']) {\n                resolve(response['url']);\n              }\n            }).catch(error => {\n              this.notificationHandler.addError(error);\n              reject(error);\n            });\n          } else {\n            resolve();\n          }\n        }).catch(error => {\n          if (error.status == 401) {\n            error.responseJSON = {\n              reason: 'E-Mail not verified'\n            };\n          }\n          this.notificationHandler.addError(error);\n          reject(error);\n        });\n      });\n    }\n    presentSessionErrorModal(message) {\n      this.showSessionErrorModal = true;\n      this.sessionErrorModalMessage = message;\n    }\n    get isAuthenticated() {\n      let data = this.data;\n      return this._validate(data);\n    }\n    reload() {\n      if (_environment.default.AssistantIdentifier === 'missive') {\n        // eslint-disable-next-line no-undef\n        Missive.reload(true);\n      } else if (_environment.default.AssistantIdentifier === 'outlook') {\n        window.location.reload(true);\n      }\n    }\n    showOutlookDialog(url) {\n      this.outlookAuthUrl = url;\n      let _this = this;\n      // eslint-disable-next-line no-undef\n      Office.context.ui.displayDialogAsync(`${window.location.origin}/static/oauth.html`, {\n        title: 'Authorization',\n        height: 80,\n        width: 40\n      }, function (result) {\n        const dialog = result.value;\n        _this.outlookDialog = dialog;\n        if (result.error) {\n          console.error(result.error.message);\n          _this.resetOutlookDialog();\n        }\n        // message processing\n        dialog.addEventHandler(\n        // eslint-disable-next-line no-undef\n        Office.EventType.DialogMessageReceived, arg => {\n          _this.processOutlookDialogMessage(arg);\n        }),\n        // handling window close\n        dialog.addEventHandler(\n        // eslint-disable-next-line no-undef\n        Office.EventType.DialogEventReceived, () => {\n          _this.resetOutlookDialog();\n        });\n      });\n    }\n    processOutlookDialogMessage(arg) {\n      var messageFromDialog = JSON.parse(arg.message);\n      if (messageFromDialog?.type === 'ready') {\n        this.outlookDialog.messageChild(JSON.stringify(this.outlookAuthUrl));\n        return;\n      }\n      try {\n        this.closeOutlookDialog();\n        this.router.transitionTo('iom');\n      } catch {\n        this.resetOutlookDialog();\n        window.location.reload(true);\n      }\n    }\n    closeOutlookDialog() {\n      this.outlookDialog.close();\n      this.resetOutlookDialog();\n    }\n    resetOutlookDialog() {\n      this.isOpeningDayliteAuth = false;\n    }\n    checkLicensing() {\n      this.logService.logLine(`Check licensing`, false);\n      this.dayliteService.licensing().then(response => {\n        this.logService.logLine(`Licensing response: ${JSON.stringify(response)}`, false);\n        this.showLicensingErrorModal = !response.hasLicense;\n        this.trialMode = response.license?.isTrial ?? false;\n      });\n      console.log('checking license');\n      (0, _emberLifeline.runTask)(this, this.checkLicensing, 1800000);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"notificationHandler\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"dayliteService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"logService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"trialMode\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showSessionErrorModal\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"sessionErrorModalMessage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"showLicensingErrorModal\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"hasTrial\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"isLoggingIn\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"isOpeningDayliteAuth\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"user\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"newVersionAvailable\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"data\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/services/store\", [\"exports\", \"ember-data/store\"], function (_exports, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _store.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-data/store\"eaimeta@70e063a35619d71f\n});","define(\"io-mail-assistant/tailwind/config\", [], function () {\n  \"use strict\";\n\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  /* eslint-disable no-undef */\n  module.exports = {\n    content: ['./pages/**/*.{html,js}', './app/**/*.{hbs,js}'],\n    plugins: [require(\"@tailwindcss/aspect-ratio\")],\n    theme: {\n      extend: {\n        zIndex: {\n          999: 999,\n          1001: 10000\n        },\n        minWidth: {\n          5: '180px !important',\n          8: '430px'\n        },\n        maxWidth: {\n          300: '300px;'\n        },\n        width: {\n          fixinput: '191px',\n          'fixinput-date': '169px'\n        },\n        keyframes: {\n          'fade-in-down': {\n            '0%': {\n              opacity: '0',\n              transform: 'translateY(-10px)'\n            },\n            '100%': {\n              opacity: '1',\n              transform: 'translateY(0)'\n            }\n          },\n          'fade-out-down': {\n            from: {\n              opacity: '1',\n              transform: 'translateY(0px)'\n            },\n            to: {\n              opacity: '0',\n              transform: 'translateY(10px)'\n            }\n          },\n          'fade-in-up': {\n            '0%': {\n              opacity: '0',\n              transform: 'translateY(10px)'\n            },\n            '100%': {\n              opacity: '1',\n              transform: 'translateY(0)'\n            }\n          },\n          'fade-out-up': {\n            from: {\n              opacity: '1',\n              transform: 'translateY(0px)'\n            },\n            to: {\n              opacity: '0',\n              transform: 'translateY(-10px)'\n            }\n          }\n        },\n        animation: {\n          'fade-in-down': 'fade-in-down 0.5s ease-out',\n          'fade-out-down': 'fade-out-down 0.3s ease-out',\n          'fade-in-up': 'fade-in-up 0.5s ease-out',\n          'fade-out-up': 'fade-out-up 0.3s ease-out'\n        },\n        spacing: {\n          list: 'calc(100% - 24rem);'\n        },\n        colors: {\n          'io-orange': '#F1913F',\n          'io-main': '#5C5C5C',\n          failure: '#E76D66',\n          success: '#53B129',\n          daylite: '#ffbe00',\n          ioweb: '#f28c01',\n          'default-black': 'rgb(92,92,92)'\n        },\n        gradientColorStops: {\n          'io-orange': '#F1913F',\n          'io-orange-lighter': '#FFBF6D'\n        }\n      }\n    }\n  };\n});","define(\"io-mail-assistant/templates/application\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{page-title \"iOMailAssistant\"}}\n  <Utils::NotificationBox />\n  {{outlet}}\n  {{#if this.debugService.showDebugModal}}\n  <ModalDialog @onOverlayClick={{this.debugService.closeDebug}}>\n    <:body>\n      <div class=\"flex flex-col gap-2\">\n        <button type=\"button\" class=\"border p-1 rounded-md border-red-400 text-red-400\" {{on \"click\" (fn\n        this.debugService.expireToken this.debugService)}}>Expire token</button>\n        <button type=\"button\" class=\"border p-1 rounded-md border-red-400 text-red-400\" {{on \"click\" (fn\n        this.debugService.expireTokenAndClearLog this.debugService)}}>Expire token and clear Log</button>\n        {{#if this.debugService.isOutlook}}\n        <span>Supports Mailbox 1.8: {{this.debugService.supportMailbox18}}</span>\n        {{/if}}\n      </div>\n    </:body>\n  </ModalDialog>\n  {{/if}}\n  {{#if this.logService.showLogModal}}\n  {{did-insert-helper (fn this.logService.updateLogLinesAsString this.logService)}}\n  <ModalDialog @onOverlayClick={{this.logService.closeLog}}>\n    <:body>\n      <textarea id=\"logArea\" name=\"logArea\" rows=\"20\" cols=\"50\"\n        class=\"font-mono mb-2\">{{this.logService.logLinesAsString}}</textarea>\n      <div class=\"flex\">\n        <Utils::IomButton @icon=\"copy\" @action={{this.logService.copyLog}} @title=\"Copy to clipboard\"\n          @tooltip=\"Copy to clipboard\" />\n        <Utils::IomButton @icon=\"trash\" @action={{this.logService.clearLog}} @title=\"Clear\" @tooltip=\"Clear log\" />\n      </div>\n    </:body>\n  </ModalDialog>\n  {{/if}}\n  {{#if this.preferenceService.showPreferencesModal}}\n  <ModalDialog::Preferences />\n  {{/if}}\n  */\n  {\n    \"id\": \"XC7FQI+d\",\n    \"block\": \"[[[1,[28,[35,0],[\\\"iOMailAssistant\\\"],null]],[1,\\\"\\\\n\\\"],[8,[39,1],null,null,null],[1,\\\"\\\\n\\\"],[46,[28,[37,3],null,null],null,null,null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"debugService\\\",\\\"showDebugModal\\\"]],[[[8,[39,5],null,[[\\\"@onOverlayClick\\\"],[[30,0,[\\\"debugService\\\",\\\"closeDebug\\\"]]]],[[\\\"body\\\"],[[[[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex flex-col gap-2\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"border p-1 rounded-md border-red-400 text-red-400\\\"],[24,4,\\\"button\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"debugService\\\",\\\"expireToken\\\"]],[30,0,[\\\"debugService\\\"]]],null]],null],[12],[1,\\\"Expire token\\\"],[13],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"border p-1 rounded-md border-red-400 text-red-400\\\"],[24,4,\\\"button\\\"],[4,[38,9],[\\\"click\\\",[28,[37,10],[[30,0,[\\\"debugService\\\",\\\"expireTokenAndClearLog\\\"]],[30,0,[\\\"debugService\\\"]]],null]],null],[12],[1,\\\"Expire token and clear Log\\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"debugService\\\",\\\"isOutlook\\\"]],[[[1,\\\"      \\\"],[10,1],[12],[1,\\\"Supports Mailbox 1.8: \\\"],[1,[30,0,[\\\"debugService\\\",\\\"supportMailbox18\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,0,[\\\"logService\\\",\\\"showLogModal\\\"]],[[[1,[28,[35,12],[[28,[37,10],[[30,0,[\\\"logService\\\",\\\"updateLogLinesAsString\\\"]],[30,0,[\\\"logService\\\"]]],null]],null]],[1,\\\"\\\\n\\\"],[8,[39,5],null,[[\\\"@onOverlayClick\\\"],[[30,0,[\\\"logService\\\",\\\"closeLog\\\"]]]],[[\\\"body\\\"],[[[[1,\\\"\\\\n    \\\"],[10,\\\"textarea\\\"],[14,1,\\\"logArea\\\"],[14,3,\\\"logArea\\\"],[14,\\\"rows\\\",\\\"20\\\"],[14,\\\"cols\\\",\\\"50\\\"],[14,0,\\\"font-mono mb-2\\\"],[12],[1,[30,0,[\\\"logService\\\",\\\"logLinesAsString\\\"]]],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,14],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@title\\\",\\\"@tooltip\\\"],[\\\"copy\\\",[30,0,[\\\"logService\\\",\\\"copyLog\\\"]],\\\"Copy to clipboard\\\",\\\"Copy to clipboard\\\"]],null],[1,\\\"\\\\n      \\\"],[8,[39,14],null,[[\\\"@icon\\\",\\\"@action\\\",\\\"@title\\\",\\\"@tooltip\\\"],[\\\"trash\\\",[30,0,[\\\"logService\\\",\\\"clearLog\\\"]],\\\"Clear\\\",\\\"Clear log\\\"]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,0,[\\\"preferenceService\\\",\\\"showPreferencesModal\\\"]],[[[8,[39,15],null,null,null],[1,\\\"\\\\n\\\"]],[]],null]],[],false,[\\\"page-title\\\",\\\"utils/notification-box\\\",\\\"component\\\",\\\"-outlet\\\",\\\"if\\\",\\\"modal-dialog\\\",\\\":body\\\",\\\"div\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"span\\\",\\\"did-insert-helper\\\",\\\"textarea\\\",\\\"utils/iom-button\\\",\\\"modal-dialog/preferences\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/templates/application.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"io-mail-assistant/templates/authorization\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex flex-col justify-center items-center h-full bg-yellow-50\">\n    <div class=\"bg-white item p-8 rounded-md shadow-md flex flex-col justify-center items-center\">  \n      <img class=\"w-60\" alt=\"Success\" src=\"/assets/images/success.png\"/>\n      <h1 class=\"py-4 text-3xl font-bold success-color\">Success</h1> \n      <p class=\"text-center font-bold text-xl text-gray-600\">You have successfully linked your Daylite account.<br>You can now close this window and return to the application.</p>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"jUNEgJ3r\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex flex-col justify-center items-center h-full bg-yellow-50\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"bg-white item p-8 rounded-md shadow-md flex flex-col justify-center items-center\\\"],[12],[1,\\\"  \\\\n    \\\"],[10,\\\"img\\\"],[14,0,\\\"w-60\\\"],[14,\\\"alt\\\",\\\"Success\\\"],[14,\\\"src\\\",\\\"/assets/images/success.png\\\"],[12],[13],[1,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"py-4 text-3xl font-bold success-color\\\"],[12],[1,\\\"Success\\\"],[13],[1,\\\" \\\\n    \\\"],[10,2],[14,0,\\\"text-center font-bold text-xl text-gray-600\\\"],[12],[1,\\\"You have successfully linked your Daylite account.\\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"You can now close this window and return to the application.\\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"img\\\",\\\"h1\\\",\\\"p\\\",\\\"br\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/templates/authorization.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"io-mail-assistant/templates/iom\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{page-title \"iOMailAssistant\"}}\n  \n  {{!-- Trial Banner --}}\n  {{#if this.sessionService.hasTrial}}\n  <div class=\"p-2 bg-yellow-200 font-semibold text-xs w-full overflow-clip text-default-black\">\n    You're currently running iOMailAssistant in a trial mode. Please make sure to suscribe to\n    <a class=\"font-bold text-default-black\" rel=\"noopener noreferrer\" href=\"https://iosxpert.biz/en/dayliteplus-crm-mac/\"\n      target=\"_blank\">PlusPackage for Daylite</a>.\n    <a class=\"font-bold text-default-black\" rel=\"noopener noreferrer\"\n      href=\"https://support.iosxpert.biz/hc/en-us/articles/12297671612444/\" target=\"_blank\"> How to subscribe\n      <FaIcon @icon=\"question-circle\" @prefix=\"fas\" />\n    </a>\n  </div>\n  {{/if}}\n  \n  \n  <Main @action={{this.signIn}} as |main|>\n    <main.header>\n    </main.header>\n    <main.body>\n    </main.body>\n    <main.footer>\n    </main.footer>\n  </Main>\n  \n  {{!-- Session Error Modal --}}\n  {{#if this.sessionService.showSessionErrorModal}}\n  <ModalDialog::Error::Session />\n  {{else if this.sessionService.showLicensingErrorModal}}\n  {{!-- Licensing Modal --}}\n  <ModalDialog::Error::Licensing />\n  {{else if this.dataService.isLoading}}\n  {{!-- Loading Overlay --}}\n  <Loading></Loading>\n  {{else if this.dataService.isShowingCreationDialog}}\n  <ModalDialog::Creation />\n  {{/if}}\n  */\n  {\n    \"id\": \"IEQIADBu\",\n    \"block\": \"[[[1,[28,[35,0],[\\\"iOMailAssistant\\\"],null]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"sessionService\\\",\\\"hasTrial\\\"]],[[[10,0],[14,0,\\\"p-2 bg-yellow-200 font-semibold text-xs w-full overflow-clip text-default-black\\\"],[12],[1,\\\"\\\\n  You're currently running iOMailAssistant in a trial mode. Please make sure to suscribe to\\\\n  \\\"],[10,3],[14,0,\\\"font-bold text-default-black\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,6,\\\"https://iosxpert.biz/en/dayliteplus-crm-mac/\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[12],[1,\\\"PlusPackage for Daylite\\\"],[13],[1,\\\".\\\\n  \\\"],[10,3],[14,0,\\\"font-bold text-default-black\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,6,\\\"https://support.iosxpert.biz/hc/en-us/articles/12297671612444/\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[12],[1,\\\" How to subscribe\\\\n    \\\"],[8,[39,4],null,[[\\\"@icon\\\",\\\"@prefix\\\"],[\\\"question-circle\\\",\\\"fas\\\"]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,5],null,[[\\\"@action\\\"],[[30,0,[\\\"signIn\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"sessionService\\\",\\\"showSessionErrorModal\\\"]],[[[8,[39,6],null,null,null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"sessionService\\\",\\\"showLicensingErrorModal\\\"]],[[[8,[39,7],null,null,null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"dataService\\\",\\\"isLoading\\\"]],[[[8,[39,8],null,null,[[\\\"default\\\"],[[[],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"dataService\\\",\\\"isShowingCreationDialog\\\"]],[[[8,[39,9],null,null,null],[1,\\\"\\\\n\\\"]],[]],null]],[]]]],[]]]],[]]]],[\\\"main\\\"],false,[\\\"page-title\\\",\\\"if\\\",\\\"div\\\",\\\"a\\\",\\\"fa-icon\\\",\\\"main\\\",\\\"modal-dialog/error/session\\\",\\\"modal-dialog/error/licensing\\\",\\\"loading\\\",\\\"modal-dialog/creation\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/templates/iom.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"io-mail-assistant/templates/login\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{page-title \"iOMailAssistant\"}}\n  <div class=\"overflow-y-auto h-full\">\n    <div class=\"relative w-full h-full\">\n      <div class=\"flex flex-col h-full justify-between\">\n        <LoginPanel @action={{this.signIn}} as |loginPanel|>\n          <loginPanel.header>\n          </loginPanel.header>\n          <loginPanel.body as |body|>\n            <body.circleImage @image={{path \"/assets/images/person-login.png\" }} />\n            <div class=\"pt-6 mx-auto w-9/12\">\n              <body.inputField @label=\"Enter your E-Mail address\" @id=\"emailaddress\" @name=\"email\" @type=\"email\"\n                @autocomplete=\"email\" @placeholder=\"you@example.com\" @errorMessage=\"Missing E-Mail\" />\n            </div>\n            <div class=\"pt-6 mx-auto w-9/12\">\n              <body.inputField @label=\"Enter your password\" @id=\"password\" @name=\"password\" @type=\"password\"\n                @placeholder=\"Your Password\" @errorMessage=\"Missing password\" />\n            </div>\n            <div class=\"pt-0 mx-auto w-9/12 text-right\">\n              <body.action @text=\"Forgot password?\" @isTextButton={{true}} @textSize=\"text-xs\"\n                @action={{this.resetPassword}} />\n            </div>\n            <div class=\"pt-4 mx-auto w-9/12 flex items-center justify-center\">\n              {{#if this.sessionService.isLoggingIn}}\n              <body.submit @color=\"bg-gray-500\" @text=\"Logging In\" class=\"animate-pulse\" />\n              {{else}}\n              <body.submit @color=\"bg-io-orange\" @text=\"Sign in\" />\n              {{/if}}\n            </div>\n            <div class=\"pt-4 pb-4 mx-auto w-9/12 flex items-center justify-center\">\n              <body.textButton @text=\" Register\" @isTextButton={{true}} @action={{this.register}} />\n            </div>\n            <div class=\"flex bg-blue-100 rounded-lg p-3 mb-3 text-sm text-blue-700 w-9/12 mx-auto\" role=\"alert\">\n              <FaIcon class=\"pt-1 pr-2\" @icon=\"info-circle\" @prefix=\"fas\" @size={{2}} />\n              <div>\n                <span class=\"\">To use the iOMailAssistant for Daylite, please sign in with your iOAccount. If\n                  you do not have an account yet, please click <a class=\"underline\" title=\"Open Helpcenter\" href=\"#\"\n                    {{on \"click\" this.accountHelp}}>here</a></span>\n              </div>\n            </div>\n            {{#if this.isOutlook}}\n            <div class=\"flex p-3 mb-3 text-sm w-9/12 mx-auto text-center\">\n              <div>\n                <span class=\"\">iOMailAssistant for Daylite is an add-in for\n                  Outlook that helps you bring important emails into your Daylite\n                  database. The iOM handles relevant links between records.</span>\n              </div>\n            </div>\n            {{/if}}\n          </loginPanel.body>\n          <loginPanel.footer />\n        </LoginPanel>\n      </div>\n    </div>\n    {{!-- Licensing Error Modal --}}\n    {{#if this.sessionService.showLicensingErrorModal}}\n    <ModalDialog::Error::Licensing />\n    {{else if this.sessionService.isOpeningDayliteAuth}}\n    <ModalDialog::Login />\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"2Gw3ffwv\",\n    \"block\": \"[[[1,[28,[35,0],[\\\"iOMailAssistant\\\"],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"overflow-y-auto h-full\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"relative w-full h-full\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex flex-col h-full justify-between\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,2],null,[[\\\"@action\\\"],[[30,0,[\\\"signIn\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,1,[\\\"header\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[8,[30,1,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,2,[\\\"circleImage\\\"]],null,[[\\\"@image\\\"],[[28,[37,3],[\\\"/assets/images/person-login.png\\\"],null]]],null],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"pt-6 mx-auto w-9/12\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[30,2,[\\\"inputField\\\"]],null,[[\\\"@label\\\",\\\"@id\\\",\\\"@name\\\",\\\"@type\\\",\\\"@autocomplete\\\",\\\"@placeholder\\\",\\\"@errorMessage\\\"],[\\\"Enter your E-Mail address\\\",\\\"emailaddress\\\",\\\"email\\\",\\\"email\\\",\\\"email\\\",\\\"you@example.com\\\",\\\"Missing E-Mail\\\"]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"pt-6 mx-auto w-9/12\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[30,2,[\\\"inputField\\\"]],null,[[\\\"@label\\\",\\\"@id\\\",\\\"@name\\\",\\\"@type\\\",\\\"@placeholder\\\",\\\"@errorMessage\\\"],[\\\"Enter your password\\\",\\\"password\\\",\\\"password\\\",\\\"password\\\",\\\"Your Password\\\",\\\"Missing password\\\"]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"pt-0 mx-auto w-9/12 text-right\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[30,2,[\\\"action\\\"]],null,[[\\\"@text\\\",\\\"@isTextButton\\\",\\\"@textSize\\\",\\\"@action\\\"],[\\\"Forgot password?\\\",true,\\\"text-xs\\\",[30,0,[\\\"resetPassword\\\"]]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"pt-4 mx-auto w-9/12 flex items-center justify-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"sessionService\\\",\\\"isLoggingIn\\\"]],[[[1,\\\"            \\\"],[8,[30,2,[\\\"submit\\\"]],[[24,0,\\\"animate-pulse\\\"]],[[\\\"@color\\\",\\\"@text\\\"],[\\\"bg-gray-500\\\",\\\"Logging In\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[8,[30,2,[\\\"submit\\\"]],null,[[\\\"@color\\\",\\\"@text\\\"],[\\\"bg-io-orange\\\",\\\"Sign in\\\"]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"pt-4 pb-4 mx-auto w-9/12 flex items-center justify-center\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[30,2,[\\\"textButton\\\"]],null,[[\\\"@text\\\",\\\"@isTextButton\\\",\\\"@action\\\"],[\\\" Register\\\",true,[30,0,[\\\"register\\\"]]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex bg-blue-100 rounded-lg p-3 mb-3 text-sm text-blue-700 w-9/12 mx-auto\\\"],[14,\\\"role\\\",\\\"alert\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,5],[[24,0,\\\"pt-1 pr-2\\\"]],[[\\\"@icon\\\",\\\"@prefix\\\",\\\"@size\\\"],[\\\"info-circle\\\",\\\"fas\\\",2]],null],[1,\\\"\\\\n            \\\"],[10,0],[12],[1,\\\"\\\\n              \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,\\\"To use the iOMailAssistant for Daylite, please sign in with your iOAccount. If\\\\n                you do not have an account yet, please click \\\"],[11,3],[24,0,\\\"underline\\\"],[24,\\\"title\\\",\\\"Open Helpcenter\\\"],[24,6,\\\"#\\\"],[4,[38,8],[\\\"click\\\",[30,0,[\\\"accountHelp\\\"]]],null],[12],[1,\\\"here\\\"],[13],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isOutlook\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"flex p-3 mb-3 text-sm w-9/12 mx-auto text-center\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[12],[1,\\\"\\\\n              \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,\\\"iOMailAssistant for Daylite is an add-in for\\\\n                Outlook that helps you bring important emails into your Daylite\\\\n                database. The iOM handles relevant links between records.\\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"]],[2]]]]],[1,\\\"\\\\n        \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,null],[1,\\\"\\\\n      \\\"]],[1]]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"sessionService\\\",\\\"showLicensingErrorModal\\\"]],[[[1,\\\"  \\\"],[8,[39,9],null,null,null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"sessionService\\\",\\\"isOpeningDayliteAuth\\\"]],[[[1,\\\"  \\\"],[8,[39,10],null,null,null],[1,\\\"\\\\n  \\\"]],[]],null]],[]]],[13]],[\\\"loginPanel\\\",\\\"body\\\"],false,[\\\"page-title\\\",\\\"div\\\",\\\"login-panel\\\",\\\"path\\\",\\\"if\\\",\\\"fa-icon\\\",\\\"span\\\",\\\"a\\\",\\\"on\\\",\\\"modal-dialog/error/licensing\\\",\\\"modal-dialog/login\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/templates/login.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"io-mail-assistant/templates/reset\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{page-title \"Reset\"}}\n  <div class=\"overflow-y-auto\">\n    <div class=\"relative w-full md:w-full lg:w-6/12\">\n      <div class=\"flex flex-col h-screen justify-between\">\n        <LoginPanel @action={{this.resetPassword}} as |loginPanel|>\n          <loginPanel.header>\n          </loginPanel.header>\n          <loginPanel.body as |body|>\n            <body.circleImage @image={{path \"/assets/images/person-login.png\" }} />\n            {{#if this.emailSent}}\n            <body.alertbox @backgroundColor=\"bg-success\" @textColor=\"text-white\">\n              We have sent you a link through which you can reset your password. Please go back to Login\n            </body.alertbox>\n            <div class=\"pt-4 pb-4 mx-auto w-9/12 flex items-center justify-center\">\n              <body.action @text=\"Back to Login\" @isTextButton={{false}} @action={{this.backToLogin}} />\n            </div>\n            {{else}}\n            <div class=\"pt-6 mx-auto w-9/12 text-center\">\n              <body.inputField\n                @label=\"Forgot your password ? No problem. We will send you an email immediately, with which you can set a new password.\"\n                @id=\"emailaddress\" @name=\"email\" @type=\"email\" @autocomplete=\"email\" @placeholder=\"you@example.com\"\n                @errorMessage=\"Missing E-Mail\" />\n            </div>\n            <div class=\"pt-4 mx-auto w-9/12 flex items-center justify-center\">\n              <body.submit @color=\"bg-io-orange\" @text=\"Reset\" />\n            </div>\n            <div class=\"pt-4 pb-4 mx-auto w-9/12 flex items-center justify-center\">\n              <body.action @text=\"Back to Login\" @isTextButton={{true}} @action={{this.backToLogin}} />\n            </div>\n            {{/if}}\n          </loginPanel.body>\n          <loginPanel.footer />\n        </LoginPanel>\n      </div>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"0oqcOUPp\",\n    \"block\": \"[[[1,[28,[35,0],[\\\"Reset\\\"],null]],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"overflow-y-auto\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"relative w-full md:w-full lg:w-6/12\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex flex-col h-screen justify-between\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,2],null,[[\\\"@action\\\"],[[30,0,[\\\"resetPassword\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,1,[\\\"header\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[8,[30,1,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,2,[\\\"circleImage\\\"]],null,[[\\\"@image\\\"],[[28,[37,3],[\\\"/assets/images/person-login.png\\\"],null]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"emailSent\\\"]],[[[1,\\\"          \\\"],[8,[30,2,[\\\"alertbox\\\"]],null,[[\\\"@backgroundColor\\\",\\\"@textColor\\\"],[\\\"bg-success\\\",\\\"text-white\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            We have sent you a link through which you can reset your password. Please go back to Login\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"pt-4 pb-4 mx-auto w-9/12 flex items-center justify-center\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[30,2,[\\\"action\\\"]],null,[[\\\"@text\\\",\\\"@isTextButton\\\",\\\"@action\\\"],[\\\"Back to Login\\\",false,[30,0,[\\\"backToLogin\\\"]]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"pt-6 mx-auto w-9/12 text-center\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[30,2,[\\\"inputField\\\"]],null,[[\\\"@label\\\",\\\"@id\\\",\\\"@name\\\",\\\"@type\\\",\\\"@autocomplete\\\",\\\"@placeholder\\\",\\\"@errorMessage\\\"],[\\\"Forgot your password ? No problem. We will send you an email immediately, with which you can set a new password.\\\",\\\"emailaddress\\\",\\\"email\\\",\\\"email\\\",\\\"email\\\",\\\"you@example.com\\\",\\\"Missing E-Mail\\\"]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"pt-4 mx-auto w-9/12 flex items-center justify-center\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[30,2,[\\\"submit\\\"]],null,[[\\\"@color\\\",\\\"@text\\\"],[\\\"bg-io-orange\\\",\\\"Reset\\\"]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"pt-4 pb-4 mx-auto w-9/12 flex items-center justify-center\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[30,2,[\\\"action\\\"]],null,[[\\\"@text\\\",\\\"@isTextButton\\\",\\\"@action\\\"],[\\\"Back to Login\\\",true,[30,0,[\\\"backToLogin\\\"]]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"        \\\"]],[2]]]]],[1,\\\"\\\\n        \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,null],[1,\\\"\\\\n      \\\"]],[1]]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"loginPanel\\\",\\\"body\\\"],false,[\\\"page-title\\\",\\\"div\\\",\\\"login-panel\\\",\\\"path\\\",\\\"if\\\"]]\",\n    \"moduleName\": \"io-mail-assistant/templates/reset.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"io-mail-assistant/transforms/boolean\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer/transform\"], function (_exports, _debug, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.BooleanTransform;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)(\"You are relying on ember-data auto-magically installing the BooleanTransform. Use `export { BooleanTransform as default } from '@ember-data/serializer/transform';` in app/transforms/boolean.js instead\", false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"io-mail-assistant/transforms/date\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer/transform\"], function (_exports, _debug, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.DateTransform;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)(\"You are relying on ember-data auto-magically installing the DateTransform. Use `export { DateTransform as default } from '@ember-data/serializer/transform';` in app/transforms/date.js instead\", false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"io-mail-assistant/transforms/number\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer/transform\"], function (_exports, _debug, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.NumberTransform;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)(\"You are relying on ember-data auto-magically installing the NumberTransform. Use `export { NumberTransform as default } from '@ember-data/serializer/transform';` in app/transforms/number.js instead\", false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"io-mail-assistant/transforms/string\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer/transform\"], function (_exports, _debug, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.StringTransform;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)(\"You are relying on ember-data auto-magically installing the StringTransform. Use `export { StringTransform as default } from '@ember-data/serializer/transform';` in app/transforms/string.js instead\", false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"io-mail-assistant/utilities/default-routing\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let iOAccountRoute = _exports.default = (_class = class iOAccountRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n    }\n    defaultRouting(transitionToTargetName, transition) {\n      if (!this.sessionService.isAuthenticated) {\n        this.router.transitionTo('index');\n      } else {\n        let targetName = transition.targetName;\n        if (targetName.includes('.index')) {\n          targetName = targetName.replace('.index', '');\n        }\n        if (!transitionToTargetName.includes(targetName)) {\n          this.router.transitionTo(targetName);\n        } else {\n          this.router.transitionTo(transitionToTargetName);\n        }\n      }\n      return;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"io-mail-assistant/utilities/get-component-attrs\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  const getComponentAttrs = emberComponentObject => Object.keys(emberComponentObject.attrs ? emberComponentObject.attrs : []).reduce((attrs, attrName) => {\n    attrs[attrName] = emberComponentObject[attrName];\n    return attrs;\n  }, {});\n  var _default = _exports.default = getComponentAttrs;\n});","define(\"io-mail-assistant/utilities/optional-action\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function _default(target, key, descriptor) {\n    descriptor.value = function () {\n      return (this.args[key] || function () {})(...arguments);\n    };\n    return descriptor;\n  }\n});","\n","define('io-mail-assistant/config/environment', [], function() {\n  var prefix = 'io-mail-assistant';\ntry {\n  var metaName = prefix + '/config/environment';\n  var rawConfig = document.querySelector('meta[name=\"' + metaName + '\"]').getAttribute('content');\n  var config = JSON.parse(decodeURIComponent(rawConfig));\n\n  var exports = { 'default': config };\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n  return exports;\n}\ncatch(err) {\n  throw new Error('Could not read config from meta tag with name \"' + metaName + '\".');\n}\n\n});\n","\n          if (!runningTests) {\n            require(\"io-mail-assistant/app\")[\"default\"].create({\"name\":\"io-mail-assistant\",\"version\":\"1.5.2+f446fa5e\"});\n          }\n        \n"],"names":[],"mappings":"AAAA;AACA;AACA;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9kBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1pBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;","file":"io-mail-assistant.js"}