diff --git a/public/js/app.js b/public/js/app.js index 7388f19..b776a68 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -516,7 +516,7 @@ eval("\n\nvar bind = __webpack_require__(/*! ./helpers/bind */ \"./node_modules/ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"./node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var downloadjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! downloadjs */ \"./node_modules/downloadjs/download.js\");\n/* harmony import */ var downloadjs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(downloadjs__WEBPACK_IMPORTED_MODULE_3__);\n\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvar baseUrl = Object({\"MIX_PUSHER_APP_KEY\":\"\",\"MIX_PUSHER_APP_CLUSTER\":\"mt1\",\"NODE_ENV\":\"development\"}).BASE_URL || '/api';\nvar inboxProviderMap = {\n 'gmail': 'https://mail.google.com',\n 'ymail': 'https://mail.yahoo.com',\n 'hotmail': 'https://outlook.live.com'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n data: function data() {\n return {\n mailId: null,\n mailInputStatus: {},\n modalClickToClose: true,\n resultMessage: '',\n showSuccessScreen: false,\n showErrorMessage: false\n };\n },\n props: {\n filter: {\n type: Object,\n \"default\": function _default() {}\n }\n },\n computed: {\n data: function data() {\n return {\n filter: this.filter,\n chartConfig: this.chartConfig\n };\n },\n chartConfig: function chartConfig() {\n return this.$store.state.chartConfig;\n },\n inboxLink: function inboxLink() {\n var defaultLink = '#';\n if (!this.mailId) return defaultLink;\n var link;\n var provider;\n\n try {\n provider = this.mailId.split('@')[1].split('.')[0];\n link = inboxProviderMap[provider];\n } catch (e) {\n link = defaultLink;\n }\n\n return link;\n },\n errorMessage: function errorMessage() {\n if (!this.showErrorMessage) return '';\n return this.errors.first('mailId');\n }\n },\n methods: {\n reportClickListener: function () {\n var _reportClickListener = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(evt) {\n var button, icon, downloadIconClass, loadingIconClass;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n button = evt.currentTarget;\n icon = button.querySelector('i.icn');\n downloadIconClass = 'icn-download';\n loadingIconClass = 'icn-loading';\n button.disabled = true;\n icon.classList.replace(downloadIconClass, loadingIconClass);\n _context.next = 8;\n return this.multiDashboard();\n\n case 8:\n button.disabled = false;\n icon.classList.replace(loadingIconClass, downloadIconClass);\n\n case 10:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n\n function reportClickListener(_x) {\n return _reportClickListener.apply(this, arguments);\n }\n\n return reportClickListener;\n }(),\n multiDashboard: function () {\n var _multiDashboard = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\n var url, headerText, chartConfigs, res;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n url = \"\".concat(baseUrl, \"/export/multipage\");\n headerText = this.getHeaderText();\n chartConfigs = Object.values(this.chartConfig);\n _context2.next = 5;\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(url, {\n headerText: headerText,\n chartConfigs: chartConfigs,\n filter: this.filter\n }, {\n responseType: 'blob'\n });\n\n case 5:\n res = _context2.sent;\n downloadjs__WEBPACK_IMPORTED_MODULE_3___default()(res.data, 'Wealth Management Dashboard with Dynamic Data.pdf', 'application/pdf');\n\n case 7:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this);\n }));\n\n function multiDashboard() {\n return _multiDashboard.apply(this, arguments);\n }\n\n return multiDashboard;\n }(),\n mailClickListener: function mailClickListener() {\n this.$modal.show('mail-form');\n },\n validateForm: function validateForm() {\n if (!this.fields.mailId) return false;\n if (this.fields.mailId.valid) return true;\n return false;\n },\n sendMailClickListener: function () {\n var _sendMailClickListener = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(evt) {\n var _this = this;\n\n var form, button, icon, input, message, sendIconClass, loadingIconClass, failureMessage, result;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n if (this.validateForm()) {\n _context3.next = 2;\n break;\n }\n\n return _context3.abrupt(\"return\");\n\n case 2:\n form = evt.currentTarget;\n button = form.querySelector('button.btn');\n icon = button.querySelector('i.icn');\n input = this.$el.querySelector('.mail-modal-input');\n message = this.$el.querySelector('.mail-modal-message');\n sendIconClass = 'icn-send';\n loadingIconClass = 'icn-loading';\n failureMessage = 'Urgh, something went wrong while sending you the email. Try again in sometime.';\n button.disabled = true;\n input.disabled = true;\n this.modalClickToClose = false;\n icon.classList.replace(sendIconClass, loadingIconClass);\n _context3.next = 16;\n return this.mailDashboard();\n\n case 16:\n result = _context3.sent;\n\n if (result) {\n this.showSuccessScreen = true;\n } else {\n this.resultMessage = failureMessage;\n message.style.visibility = 'visible';\n setTimeout(function () {\n _this.resultMessage = '';\n message.style.visibility = 'hidden';\n }, 3000);\n }\n\n icon.classList.replace(loadingIconClass, sendIconClass);\n button.disabled = false;\n input.disabled = false;\n this.modalClickToClose = true;\n this.showErrorMessage = false;\n\n case 23:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this);\n }));\n\n function sendMailClickListener(_x2) {\n return _sendMailClickListener.apply(this, arguments);\n }\n\n return sendMailClickListener;\n }(),\n mailDashboard: function () {\n var _mailDashboard = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee4() {\n var url, headerText, chartConfigs, mailId, res;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n url = \"\".concat(baseUrl, \"/export/mail\");\n headerText = this.getHeaderText();\n chartConfigs = Object.values(this.chartConfig);\n mailId = this.mailId;\n _context4.prev = 4;\n _context4.next = 7;\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(url, {\n mailId: mailId,\n headerText: headerText,\n chartConfigs: chartConfigs,\n filter: this.filter\n });\n\n case 7:\n res = _context4.sent;\n\n if (!(res.status === 200)) {\n _context4.next = 10;\n break;\n }\n\n return _context4.abrupt(\"return\", true);\n\n case 10:\n return _context4.abrupt(\"return\", false);\n\n case 13:\n _context4.prev = 13;\n _context4.t0 = _context4[\"catch\"](4);\n return _context4.abrupt(\"return\", false);\n\n case 16:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this, [[4, 13]]);\n }));\n\n function mailDashboard() {\n return _mailDashboard.apply(this, arguments);\n }\n\n return mailDashboard;\n }(),\n exportClickListener: function () {\n var _exportClickListener = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee5(evt) {\n var button, icon, downloadIconClass, loadingIconClass;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n button = evt.currentTarget;\n icon = button.querySelector('i.icn');\n downloadIconClass = 'icn-download';\n loadingIconClass = 'icn-loading';\n button.disabled = true;\n icon.classList.replace(downloadIconClass, loadingIconClass);\n _context5.next = 8;\n return this.exportDashboard();\n\n case 8:\n button.disabled = false;\n icon.classList.replace(loadingIconClass, downloadIconClass);\n\n case 10:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5, this);\n }));\n\n function exportClickListener(_x3) {\n return _exportClickListener.apply(this, arguments);\n }\n\n return exportClickListener;\n }(),\n exportDashboard: function () {\n var _exportDashboard = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee6() {\n var url, headerText, chartConfigs, res;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee6$(_context6) {\n while (1) {\n switch (_context6.prev = _context6.next) {\n case 0:\n url = \"\".concat(baseUrl, \"/export/singlepage\");\n headerText = this.getHeaderText();\n chartConfigs = Object.values(this.chartConfig);\n _context6.next = 5;\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(url, {\n headerText: headerText,\n chartConfigs: chartConfigs\n }, {\n responseType: 'blob'\n });\n\n case 5:\n res = _context6.sent;\n downloadjs__WEBPACK_IMPORTED_MODULE_3___default()(res.data, 'Wealth Dashboard.pdf', 'application/pdf');\n\n case 7:\n case \"end\":\n return _context6.stop();\n }\n }\n }, _callee6, this);\n }));\n\n function exportDashboard() {\n return _exportDashboard.apply(this, arguments);\n }\n\n return exportDashboard;\n }(),\n getHeaderText: function getHeaderText() {\n var measure = this.data.filter.measure;\n var prior = this.data.filter.prior;\n var date = this.data.filter.date;\n\n if (prior === 'Month') {\n date = moment__WEBPACK_IMPORTED_MODULE_2___default()(date, 'MM-DD-YYYY').format('MMMM YYYY');\n }\n\n return \"\".concat(measure, \" for \").concat(date);\n },\n inputBlurListener: function inputBlurListener() {\n this.showErrorMessage = true;\n },\n modalClosedListener: function modalClosedListener() {\n this.mailId = null;\n this.showErrorMessage = false;\n this.showSuccessScreen = false;\n },\n modalCloseClickListener: function modalCloseClickListener() {\n this.$modal.hide('mail-form');\n }\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vcmVzb3VyY2VzL2pzL2NvbXBvbmVudHMvRXhwb3J0SGFuZGxlLnZ1ZT80NjNhIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Oz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zdGVuZXIoKVwiPsOXPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDxoMiBjbGFzcz1cIm1haWwtbW9kYWwtaGVhZGVyXCI+RW1haWwgdGhpcyBkYXNoYm9hcmQgdG8geW91cnNlbGY8L2gyPlxuICAgICAgICAgICAgICAgICAgICA8cCBjbGFzcz1cIm1haWwtbW9kYWwtc3ViaGVhZGVyXCI+UGxlYXNlIHByb3ZpZGUgeW91ciBlbWFpbCB0byByZWNlaXZlIHRoZSBkYXNoYm9hcmQgdmlhIGVtYWlsPC9wPlxuICAgICAgICAgICAgICAgICAgICA8Zm9ybVxuICAgICAgICAgICAgICAgICAgICAgICAgYWN0aW9uPVwiI1wiXG4gICAgICAgICAgICAgICAgICAgICAgICBAc3VibWl0LnByZXZlbnQ9XCJzZW5kTWFpbENsaWNrTGlzdGVuZXJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJtYWlsLW1vZGFsLWFjdGlvbmJveFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJtYWlsLW1vZGFsLWlucHV0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA6Y2xhc3M9XCJtYWlsSW5wdXRTdGF0dXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHYtdmFsaWRhdGU9XCIncmVxdWlyZWR8ZW1haWwnXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbmFtZT1cIm1haWxJZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdi1tb2RlbD1cIm1haWxJZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJFbnRlciBFbWFpbCBJRFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQGJsdXI9XCJpbnB1dEJsdXJMaXN0ZW5lcigpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZT1cInN1Ym1pdFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gZXhwb3J0LWhhbmRsZS1idXR0b24gbXItMFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgOmRpc2FibGVkPVwiIXZhbGlkYXRlRm9ybSgpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJpY24gaWNuLXNlbmRcIi8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4+U2VuZDwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJlcnJvci1tZXNzYWdlXCI+e3sgZXJyb3JNZXNzYWdlIH19PC9wPlxuICAgICAgICAgICAgICAgICAgICA8L2Zvcm0+XG4gICAgICAgICAgICAgICAgICAgIDxwIGNsYXNzPVwibWFpbC1tb2RhbC1tZXNzYWdlXCI+e3sgcmVzdWx0TWVzc2FnZSB9fTwvcD5cbiAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJtYWlsLW1vZGFsLXByaXZhY3ktbWVzc2FnZVwiPkJ5IHNpZ25pbmcgdXAgeW91IGFncmVlIHRvIEZ1c2lvbkNoYXJ0cyA8YSByZWw9XCJub29wZW5lclwiIGhyZWY9XCJodHRwczovL3d3dy5mdXNpb25jaGFydHMuY29tL3ByaXZhY3ktcG9saWN5XCIgdGFyZ2V0PVwiX2JsYW5rXCI+cHJpdmFjeSBwb2xpY3k8L2E+PC9wPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJtYWlsLW1vZGFsLXNjcmVlblwiIHYtaWY9XCJzaG93U3VjY2Vzc1NjcmVlblwiIGtleT1c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6Ly9vdXRsb29rLmxpdmUuY29tJyxcbn1cblxuZXhwb3J0IGRlZmF1bHQge1xuICAgIGRhdGEoKSB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBtYWlsSWQ6IG51bGwsXG4gICAgICAgICAgICBtYWlsSW5wdXRTdGF0dXM6IHt9LFxuICAgICAgICAgICAgbW9kYWxDbGlja1RvQ2xvc2U6IHRydWUsXG4gICAgICAgICAgICByZXN1bHRNZXNzYWdlOiAnJyxcbiAgICAgICAgICAgIHNob3dTdWNjZXNzU2NyZWVuOiBmYWxzZSxcbiAgICAgICAgICAgIHNob3dFcnJvck1lc3NhZ2U6IGZhbHNlLFxuICAgICAgICB9XG4gICAgfSxcblxuICAgIHByb3BzOiB7XG4gICAgICAgIGZpbHRlcjoge1xuICAgICAgICAgICAgdHlwZTogT2JqZWN0LFxuICAgICAgICAgICAgZGVmYXVsdDogKCkgPT4ge31cbiAgICAgICAgfSxcbiAgICB9LFxuXG4gICAgY29tcHV0ZWQ6IHtcbiAgICAgICAgZGF0YSgpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgZmlsdGVyOiB0aGlzLmZpbHRlcixcbiAgICAgICAgICAgICAgICBjaGFydENvbmZpZzogdGhpcy5jaGFydENvbmZpZyxcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcblxuICAgICAgICBjaGFydENvbmZpZygpIHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLiRzdG9yZS5zdGF0ZS5jaGFydENvbmZpZztcbiAgICAgICAgfSxcblxuICAgICAgICBpbmJveExpbmsoKSB7XG4gICAgICAgICAgICBjb25zdCBkZWZhdWx0TGluayA9ICcjJztcblxuICAgICAgICAgICAgaWYgKCF0aGlzLm1haWxJZCkgcmV0dXJuIGRlZmF1bHRMaW5rO1xuXG4gICAgICAgICAgICBsZXQgbGluaztcbiAgICAgICAgICAgIGxldCBwcm92aWRlcjtcblxuICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICBwcm92aWRlciA9IHRoaXMubWFpbElkLnNwbGl0KCdAJylbMV0uc3BsaXQoJy4nKVswXTtcbiAgICAgICAgICAgICAgICBsaW5rID0gaW5ib3hQcm92aWRlck1hcFtwcm92aWRlcl07XG4gICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgbGluayA9IGRlZmF1bHRMaW5rO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gbGluaztcbiAgICAgICAgfSxcblxuICAgICAgICBlcnJvck1lc3NhZ2UoKSB7XG4gICAgICAgICAgICBpZiAoIXRoaXMuc2hvd0Vycm9yTWVzc2FnZSkgcmV0dXJuICcnO1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuZXJyb3JzLmZpcnN0KCdtYWlsSWQnKTtcbiAgICAgICAgfVxuICAgIH0sXG5cbiAgICBtZXRob2RzOiB7XG4gICAgICAgIGFzeW5jIHJlcG9ydENsaWNrTGlzdGVuZXIoZXZ0KSB7XG4gICAgICAgICAgICBjb25zdCBidXR0b24gPSBldnQuY3VycmVudFRhcmdldDtcbiAgICAgICAgICAgIGNvbnN0IGljb24gPSBidXR0b24ucXVlcnlTZWxlY3RvcignaS5pY24nKTtcbiAgICAgICAgICAgIGNvbnN0IGRvd25sb2FkSWNvbkNsYXNzID0gJ2ljbi1kb3dubG9hZCc7XG4gICAgICAgICAgICBjb25zdCBsb2FkaW5nSWNvbkNsYXNzID0gJ2ljbi1sb2FkaW5nJztcblxuICAgICAgICAgICAgYnV0dG9uLmRpc2FibGVkID0gdHJ1ZTtcbiAgICAgICAgICAgIGljb24uY2xhc3NMaXN0LnJlcGxhY2UoZG93bmxvYWRJY29uQ2xhc3MsIGxvYWRpbmdJY29uQ2xhc3MpO1xuXG4gICAgICAgICAgICBhd2FpdCB0aGlzLm11bHRpRGFzaGJvYXJkKCk7XG5cbiAgICAgICAgICAgIGJ1dHRvbi5kaXNhYmxlZCA9IGZhbHNlO1xuICAgICAgICAgICAgaWNvbi5jbGFzc0xpc3QucmVwbGFjZShsb2FkaW5nSWNvbkNsYXNzLCBkb3dubG9hZEljb25DbGFzcyk7XG4gICAgICAgIH0sXG5cbiAgICAgICAgYXN5bmMgbXVsdGlEYXNoYm9hcmQoKSB7XG4gICAgICAgICAgICBjb25zdCB1cmwgPSBgJHtiYXNlVXJsfS9leHBvcnQvbXVsdGlwYWdlYDtcbiAgICAgICAgICAgIGNvbnN0IGhlYWRlclRleHQgPSB0aGlzLmdldEhlYWRlclRleHQoKTtcbiAgICAgICAgICAgIGNvbnN0IGNoYXJ0Q29uZmlncyA9IE9iamVjdC52YWx1ZXModGhpcy5jaGFydENvbmZpZyk7XG5cbiAgICAgICAgICAgIGNvbnN0IHJlcyA9IGF3YWl0IGF4aW9zLnBvc3QodXJsLCB7XG4gICAgICAgICAgICAgICAgaGVhZGVyVGV4dCxcbiAgICAgICAgICAgICAgICBjaGFydENvbmZpZ3MsXG4gICAgICAgICAgICAgICAgZmlsdGVyOiB0aGlzLmZpbHRlcixcbiAgICAgICAgICAgIH0sIHtcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGU6ICdibG9iJ1xuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIGRvd25sb2FkKHJlcy5kYXRhLCAnV2VhbHRoIE1hbmFnZW1lbnQgRGFzaGJvYXJkIHdpdGggRHluYW1pYyBEYXRhLnBkZicsICdhcHBsaWNhdGlvbi9wZGYnKTtcbiAgICAgICAgfSxcblxuICAgICAgICBtYWlsQ2xpY2tMaXN0ZW5lcigpIHtcbiAgICAgICAgICAgIHRoaXMuJG1vZGFsLnNob3coJ21haWwtZm9ybScpO1xuICAgICAgICB9LFxuXG4gICAgICAgIHZhbGlkYXRlRm9ybSgpIHtcbiAgICAgICAgICAgIGlmICghdGhpcy5maWVsZHMubWFpbElkKSByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICBpZiAodGhpcy5maWVsZHMubWFpbElkLnZhbGlkKSByZ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kZXJUZXh0ID0gdGhpcy5nZXRIZWFkZXJUZXh0KCk7XG4gICAgICAgICAgICBjb25zdCBjaGFydENvbmZpZ3MgPSBPYmplY3QudmFsdWVzKHRoaXMuY2hhcnRDb25maWcpO1xuICAgICAgICAgICAgY29uc3QgeyBtYWlsSWQgfSA9IHRoaXM7XG5cbiAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgY29uc3QgcmVzID0gYXdhaXQgYXhpb3MucG9zdCh1cmwsIHtcbiAgICAgICAgICAgICAgICAgICAgbWFpbElkLFxuICAgICAgICAgICAgICAgICAgICBoZWFkZXJUZXh0LFxuICAgICAgICAgICAgICAgICAgICBjaGFydENvbmZpZ3MsXG4gICAgICAgICAgICAgICAgICAgIGZpbHRlcjogdGhpcy5maWx0ZXIsXG4gICAgICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgICAgICBpZiAocmVzLnN0YXR1cyA9PT0gMjAwKSByZXR1cm4gdHJ1ZTtcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuXG4gICAgICAgIGFzeW5jIGV4cG9ydENsaWNrTGlzdGVuZXIoZXZ0KSB7XG4gICAgICAgICAgICBjb25zdCBidXR0b24gPSBldnQuY3VycmVudFRhcmdldDtcbiAgICAgICAgICAgIGNvbnN0IGljb24gPSBidXR0b24ucXVlcnlTZWxlY3RvcignaS5pY24nKTtcbiAgICAgICAgICAgIGNvbnN0IGRvd25sb2FkSWNvbkNsYXNzID0gJ2ljbi1kb3dubG9hZCc7XG4gICAgICAgICAgICBjb25zdCBsb2FkaW5nSWNvbkNsYXNzID0gJ2ljbi1sb2FkaW5nJztcblxuICAgICAgICAgICAgYnV0dG9uLmRpc2FibGVkID0gdHJ1ZTtcbiAgICAgICAgICAgIGljb24uY2xhc3NMaXN0LnJlcGxhY2UoZG93bmxvYWRJY29uQ2xhc3MsIGxvYWRpbmdJY29uQ2xhc3MpO1xuXG4gICAgICAgICAgICBhd2FpdCB0aGlzLmV4cG9ydERhc2hib2FyZCgpO1xuXG4gICAgICAgICAgICBidXR0b24uZGlzYWJsZWQgPSBmYWxzZTtcbiAgICAgICAgICAgIGljb24uY2xhc3NMaXN0LnJlcGxhY2UobG9hZGluZ0ljb25DbGFzcywgZG93bmxvYWRJY29uQ2xhc3MpO1xuICAgICAgICB9LFxuXG4gICAgICAgIGFzeW5jIGV4cG9ydERhc2hib2FyZCgpIHtcbiAgICAgICAgICAgIGNvbnN0IHVybCA9IGAke2Jhc2VVcmx9L2V4cG9ydC9zaW5nbGVwYWdlYDtcbiAgICAgICAgICAgIGNvbnN0IGhlYWRlclRleHQgPSB0aGlzLmdldEhlYWRlclRleHQoKTtcbiAgICAgICAgICAgIGNvbnN0IGNoYXJ0Q29uZmlncyA9IE9iamVjdC52YWx1ZXModGhpcy5jaGFydENvbmZpZyk7XG5cbiAgICAgICAgICAgIGNvbnN0IHJlcyA9IGF3YWl0IGF4aW9zLnBvc3QodXJsLCB7XG4gICAgICAgICAgICAgICAgaGVhZGVyVGV4dCxcbiAgICAgICAgICAgICAgICBjaGFydENvbmZpZ3MsXG4gICAgICAgICAgICB9LCB7XG4gICAgICAgICAgICAgICAgcmVzcG9uc2VUeXBlOiAnYmxvYidcbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICBkb3dubG9hZChyZXMuZGF0YSwgJ1dlYWx0aCBEYXNoYm9hcmQucGRmJywgJ2FwcGxpY2F0aW9uL3BkZicpO1xuICAgICAgICB9LFxuXG4gICAgICAgIGdldEhlYWRlclRleHQoKSB7XG4gICAgICAgICAgICBjb25zdCBtZWFzdXJlID0gdGhpcy5kYXRhLmZpbHRlci5tZWFzdXJlO1xuICAgICAgICAgICAgY29uc3QgcHJpb3IgPSB0aGlzLmRhdGEuZmlsdGVyLnByaW9yO1xuICAgICAgICA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O1xuXG4gICAgJi1oZWFkZXIge1xuICAgICAgICBjb2xvcjogI2ZmZjtcbiAgICAgICAgZm9udC1zaXplOiAxNnB4O1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAxMnB4O1xuXG4gICAgICAgIGEge1xuICAgICAgICAgICAgY29sb3I6ICNiOWJhZmY7XG4gICAgICAgICAgICB0cmFuc2l0aW9uOiBjb2xvciBlYXNlIDAuMnM7XG5cbiAgICAgICAgICAgICY6aG92ZXIsICY6YWN0aXZlIHtcbiAgICAgICAgICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gICAgICAgICAgICAgICAgY29sb3I6IGRhcmtlbigjYjliYWZmLCA0JSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLWJ1dHRvbi13cmFwcGVyIHtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgfVxuXG4gICAgLmljbiB7XG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgICAgICAgd2lkdGg6IDE1cHg7XG4gICAgICAgIGhlaWdodDogMTVweDtcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiA0cHg7XG4gICAgICAgIGJhY2tncm91bmQtc2l6ZTogY29udGFpbjtcblxuICAgICAgICAmLWJpZyB7XG4gICAgICAgICAgICB3aWR0aDogMTAwcHg7XG4gICAgICAgICAgICBoZWlnaHQ6IDEwMHB4O1xuICAgICAgICB9XG5cbiAgICAgICAgJi1kb3dubG9hZCB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoLi4vLi4vaW1hZ2VzL2ljb24tZG93bmxvYWQuc3ZnKTtcbiAgICAgICAgfVxuXG4gICAgICAgICYtc2VuZCB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoLi4vLi4vaW1hZ2VzL2ljb24tc2VuZC5zdmcpO1xuICA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mF1bHQ7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbi5tYWlsLW1vZGFsIHtcbiAgICBib3JkZXI6IDFweCBzb2xpZCByZ2JhKDYyLDU3LDEwNywwLjEzKTtcbiAgICBib3JkZXItcmFkaXVzOiA0cHg7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogI0ZGRkZGRjtcbiAgICBib3gtc2hhZG93OiAwIDEycHggMThweCAwIHJnYmEoMTYxLDE2NiwxODEsMC4xKTtcblxuICAgICYtc2NyZWVuIHtcbiAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBmbGV4LWZsb3c6IGNvbHVtbiBub3dyYXA7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIHBhZGRpbmc6IDcwcHggNjBweDtcblxuICAgICAgICAuY2xvc2UtYnV0dG9uIHtcbiAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgIHRvcDogMDtcbiAgICAgICAgICAgIHJpZ2h0OiAwO1xuICAgICAgICAgICAgbWFyZ2luOiAyMHB4O1xuICAgICAgICAgICAgZm9udC1zaXplOiA0MHB4O1xuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDMwMDtcbiAgICAgICAgICAgIGxpbmUtaGVpZ2h0OiAxOHB4O1xuICAgICAgICAgICAgb3BhY2l0eTogMC41O1xuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi1oZWFkZXIge1xuICAgICAgICBmb250LXNpemU6IDI2cHg7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDdweDtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIH1cblxuICAgICYtc3ViaGVhZGVyIHtcbiAgICAgICAgZm9udC1zaXplOiAxNnB4O1xuICAgICAgICBtYXJnaW4tYm90dG9tOiA0MHB4O1xuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgfVxuXG4gICAgJi1hY3Rpb25ib3gge1xuICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgIH1cblxuICAgICYtaW5wdXQge1xuICAgICAgICBwYWRkaW5nOiA5cHggMTZweDtcbiAgICAgICAgZm9udC1zaXplOiAxNHB4O1xuICAgICAgICBib3JkZXI6IDFweCBzb2xpZCByZ2JhKDYyLDU3LDEwNywwLjEzKTtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNHB4O1xuICAgICAgICBtYXJnaW4tcmlnaHQ6IDdweDtcbiAgICAgICAgZmxleDogMSAwIGF1dG87XG4gICAgfVxuXG4gICAgJi1tZXNzYWdlIHtcbiAgICAgICAgZm9udC1zaXplOiAxNnB4O1xuICAgICAgICB2aXNpYmlsaXR5OiBoaWRkZW47XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDMwcHg7XG4gICAgICAgIG1hcmdpbi10b3A6IDMwcHg7XG4gICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgY29sb3I6IHJlZDtcbiAgICB9XG5cbiAgICAmLXByaXZhY3ktbWVzc2FnZSB7XG4gICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgICAgY29sb3I6ICM5ZjlmYjk7XG4gICAgICAgIG1hcmdpbjogMDtcbiAgICB9XG5cbiAgICAuZXJyb3ItbWVzc2FnZSB7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgYm90dG9tOiAtMThweDtcbiAgICAgICAgbGVmdDogNHB4O1xuICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgIGZvbnQtc2l6ZTogMTFweDtcbiAgICAgICAgY29sb3I6IHJlZDtcbiAgICB9XG59XG5cbi5tb2RhbC1lbnRlci1hY3RpdmUsXG4ubW9kYWwtbGVhdmUtYWN0aXZlIHtcbiAgICB0cmFuc2l0aW9uOiB0cmFuc2Zvcm0gMC41cztcbn1cblxuLm1vZGFsLWVudGVyLFxuLm1vZGFsLWxlYXZlLXRvIHtcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoLTEwMHB4KTtcbn1cblxuLnNjcmVlbi1lbnRlci1hY3RpdmUsXG4uc2NyZWVuLWxlYXZlLWFjdGl2ZSB7XG4gICAgdHJhbnNpdGlvbjogb3BhY2l0eSAwLjVzO1xufVxuXG4uc2NyZWVuLWVudGVyLFxuLnNjcmVlbi1sZWF2ZS10byB7XG4gICAgb3BhY2l0eTogMDtcbn1cbjwvc3R5bGU+XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/ExportHandle.vue?vue&type=script&lang=js&\n"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"./node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var downloadjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! downloadjs */ \"./node_modules/downloadjs/download.js\");\n/* harmony import */ var downloadjs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(downloadjs__WEBPACK_IMPORTED_MODULE_3__);\n\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvar baseUrl = Object({\"MIX_PUSHER_APP_KEY\":\"\",\"MIX_PUSHER_APP_CLUSTER\":\"mt1\",\"NODE_ENV\":\"development\"}).BASE_URL || '/api';\nvar inboxProviderMap = {\n 'gmail': 'https://mail.google.com',\n 'ymail': 'https://mail.yahoo.com',\n 'hotmail': 'https://outlook.live.com'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n data: function data() {\n return {\n mailId: null,\n mailInputStatus: {},\n modalClickToClose: true,\n resultMessage: '',\n showSuccessScreen: false,\n showErrorMessage: false\n };\n },\n props: {\n filter: {\n type: Object,\n \"default\": function _default() {}\n }\n },\n computed: {\n data: function data() {\n return {\n filter: this.filter,\n chartConfig: this.chartConfig\n };\n },\n chartConfig: function chartConfig() {\n return this.$store.state.chartConfig;\n },\n inboxLink: function inboxLink() {\n var defaultLink = '#';\n if (!this.mailId) return defaultLink;\n var link;\n var provider;\n\n try {\n provider = this.mailId.split('@')[1].split('.')[0];\n link = inboxProviderMap[provider];\n } catch (e) {\n link = defaultLink;\n }\n\n return link;\n },\n errorMessage: function errorMessage() {\n if (!this.showErrorMessage) return '';\n return this.errors.first('mailId');\n }\n },\n methods: {\n reportClickListener: function () {\n var _reportClickListener = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(evt) {\n var button, icon, downloadIconClass, loadingIconClass;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n button = evt.currentTarget;\n icon = button.querySelector('i.icn');\n downloadIconClass = 'icn-download';\n loadingIconClass = 'icn-loading';\n button.disabled = true;\n icon.classList.replace(downloadIconClass, loadingIconClass);\n _context.next = 8;\n return this.multiDashboard();\n\n case 8:\n button.disabled = false;\n icon.classList.replace(loadingIconClass, downloadIconClass);\n\n case 10:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n\n function reportClickListener(_x) {\n return _reportClickListener.apply(this, arguments);\n }\n\n return reportClickListener;\n }(),\n multiDashboard: function () {\n var _multiDashboard = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\n var url, headerText, chartConfigs, res;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n url = \"\".concat(baseUrl, \"/export/download-multipage-dashboard\");\n headerText = this.getHeaderText();\n chartConfigs = Object.values(this.chartConfig);\n _context2.next = 5;\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(url, {\n headerText: headerText,\n chartConfigs: chartConfigs,\n filter: this.filter\n }, {\n responseType: 'blob'\n });\n\n case 5:\n res = _context2.sent;\n downloadjs__WEBPACK_IMPORTED_MODULE_3___default()(res.data, 'Wealth Management Dashboard with Dynamic Data.pdf', 'application/pdf');\n\n case 7:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this);\n }));\n\n function multiDashboard() {\n return _multiDashboard.apply(this, arguments);\n }\n\n return multiDashboard;\n }(),\n mailClickListener: function mailClickListener() {\n this.$modal.show('mail-form');\n },\n validateForm: function validateForm() {\n if (!this.fields.mailId) return false;\n if (this.fields.mailId.valid) return true;\n return false;\n },\n sendMailClickListener: function () {\n var _sendMailClickListener = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(evt) {\n var _this = this;\n\n var form, button, icon, input, message, sendIconClass, loadingIconClass, failureMessage, result;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n if (this.validateForm()) {\n _context3.next = 2;\n break;\n }\n\n return _context3.abrupt(\"return\");\n\n case 2:\n form = evt.currentTarget;\n button = form.querySelector('button.btn');\n icon = button.querySelector('i.icn');\n input = this.$el.querySelector('.mail-modal-input');\n message = this.$el.querySelector('.mail-modal-message');\n sendIconClass = 'icn-send';\n loadingIconClass = 'icn-loading';\n failureMessage = 'Urgh, something went wrong while sending you the email. Try again in sometime.';\n button.disabled = true;\n input.disabled = true;\n this.modalClickToClose = false;\n icon.classList.replace(sendIconClass, loadingIconClass);\n _context3.next = 16;\n return this.mailDashboard();\n\n case 16:\n result = _context3.sent;\n\n if (result) {\n this.showSuccessScreen = true;\n } else {\n this.resultMessage = failureMessage;\n message.style.visibility = 'visible';\n setTimeout(function () {\n _this.resultMessage = '';\n message.style.visibility = 'hidden';\n }, 3000);\n }\n\n icon.classList.replace(loadingIconClass, sendIconClass);\n button.disabled = false;\n input.disabled = false;\n this.modalClickToClose = true;\n this.showErrorMessage = false;\n\n case 23:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this);\n }));\n\n function sendMailClickListener(_x2) {\n return _sendMailClickListener.apply(this, arguments);\n }\n\n return sendMailClickListener;\n }(),\n mailDashboard: function () {\n var _mailDashboard = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee4() {\n var url, headerText, chartConfigs, mailId, res;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n url = \"\".concat(baseUrl, \"/export/mail-dashboard\");\n headerText = this.getHeaderText();\n chartConfigs = Object.values(this.chartConfig);\n mailId = this.mailId;\n _context4.prev = 4;\n _context4.next = 7;\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(url, {\n mailId: mailId,\n headerText: headerText,\n chartConfigs: chartConfigs,\n filter: this.filter\n });\n\n case 7:\n res = _context4.sent;\n\n if (!(res.status === 200)) {\n _context4.next = 10;\n break;\n }\n\n return _context4.abrupt(\"return\", true);\n\n case 10:\n return _context4.abrupt(\"return\", false);\n\n case 13:\n _context4.prev = 13;\n _context4.t0 = _context4[\"catch\"](4);\n return _context4.abrupt(\"return\", false);\n\n case 16:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this, [[4, 13]]);\n }));\n\n function mailDashboard() {\n return _mailDashboard.apply(this, arguments);\n }\n\n return mailDashboard;\n }(),\n exportClickListener: function () {\n var _exportClickListener = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee5(evt) {\n var button, icon, downloadIconClass, loadingIconClass;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n button = evt.currentTarget;\n icon = button.querySelector('i.icn');\n downloadIconClass = 'icn-download';\n loadingIconClass = 'icn-loading';\n button.disabled = true;\n icon.classList.replace(downloadIconClass, loadingIconClass);\n _context5.next = 8;\n return this.exportDashboard();\n\n case 8:\n button.disabled = false;\n icon.classList.replace(loadingIconClass, downloadIconClass);\n\n case 10:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5, this);\n }));\n\n function exportClickListener(_x3) {\n return _exportClickListener.apply(this, arguments);\n }\n\n return exportClickListener;\n }(),\n exportDashboard: function () {\n var _exportDashboard = _asyncToGenerator(\n /*#__PURE__*/\n _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee6() {\n var url, headerText, chartConfigs, res;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee6$(_context6) {\n while (1) {\n switch (_context6.prev = _context6.next) {\n case 0:\n url = \"\".concat(baseUrl, \"/export/download-dashboard\");\n headerText = this.getHeaderText();\n chartConfigs = Object.values(this.chartConfig);\n _context6.next = 5;\n return axios__WEBPACK_IMPORTED_MODULE_1___default.a.post(url, {\n headerText: headerText,\n chartConfigs: chartConfigs\n }, {\n responseType: 'blob'\n });\n\n case 5:\n res = _context6.sent;\n downloadjs__WEBPACK_IMPORTED_MODULE_3___default()(res.data, 'Wealth Dashboard.pdf', 'application/pdf');\n\n case 7:\n case \"end\":\n return _context6.stop();\n }\n }\n }, _callee6, this);\n }));\n\n function exportDashboard() {\n return _exportDashboard.apply(this, arguments);\n }\n\n return exportDashboard;\n }(),\n getHeaderText: function getHeaderText() {\n var measure = this.data.filter.measure;\n var prior = this.data.filter.prior;\n var date = this.data.filter.date;\n\n if (prior === 'Month') {\n date = moment__WEBPACK_IMPORTED_MODULE_2___default()(date, 'MM-DD-YYYY').format('MMMM YYYY');\n }\n\n return \"\".concat(measure, \" for \").concat(date);\n },\n inputBlurListener: function inputBlurListener() {\n this.showErrorMessage = true;\n },\n modalClosedListener: function modalClosedListener() {\n this.mailId = null;\n this.showErrorMessage = false;\n this.showSuccessScreen = false;\n },\n modalCloseClickListener: function modalCloseClickListener() {\n this.$modal.hide('mail-form');\n }\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vcmVzb3VyY2VzL2pzL2NvbXBvbmVudHMvRXhwb3J0SGFuZGxlLnZ1ZT80NjNhIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBOEVBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQSxvQ0FEQTtBQUVBLG1DQUZBO0FBR0E7QUFIQTtBQU1BO0FBQ0EsTUFEQSxrQkFDQTtBQUNBO0FBQ0Esa0JBREE7QUFFQSx5QkFGQTtBQUdBLDZCQUhBO0FBSUEsdUJBSkE7QUFLQSw4QkFMQTtBQU1BO0FBTkE7QUFRQSxHQVZBO0FBWUE7QUFDQTtBQUNBLGtCQURBO0FBRUE7QUFGQTtBQURBLEdBWkE7QUFtQkE7QUFDQSxRQURBLGtCQUNBO0FBQ0E7QUFDQSwyQkFEQTtBQUVBO0FBRkE7QUFJQSxLQU5BO0FBUUEsZUFSQSx5QkFRQTtBQUNBO0FBQ0EsS0FWQTtBQVlBLGFBWkEsdUJBWUE7QUFDQTtBQUVBO0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxPQUhBLENBR0E7QUFDQTtBQUNBOztBQUVBO0FBQ0EsS0E1QkE7QUE4QkEsZ0JBOUJBLDBCQThCQTtBQUNBO0FBQ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gICAgIDxzcGFuPkRvd25sb2FkIERhc2hib2FyZDwvc3Bhbj5cbiAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGV4cG9ydC1oYW5kbGUtYnV0dG9uXCJcbiAgICAgICAgICAgICAgICBAY2xpY2s9XCJyZXBvcnRDbGlja0xpc3RlbmVyXCI+XG4gICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJpY24gaWNuLWRvd25sb2FkXCIvPlxuICAgICAgICAgICAgICAgIDxzcGFuPkRvd25sb2FkIEZ1bGwgUmVwb3J0PC9zcGFuPlxuICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gZXhwb3J0LWhhbmRsZS1idXR0b25cIlxuICAgICAgICAgICAgICAgIEBjbGljaz1cIm1haWxDbGlja0xpc3RlbmVyXCI+XG4gICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJpY24gaWNuLXNlbmRcIi8+XG4gICAgICAgICAgICAgICAgPHNwYW4+RW1haWwgdGhpcyBEYXNoYm9hcmQ8L3NwYW4+XG4gICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgPE1vZGFsXG4gICAgICAgICAgICBuYW1lPVwibWFpbC1mb3JtXCJcbiAgICAgICAgICAgIGNsYXNzZXM9XCJtYWlsLW1vZGFsXCJcbiAgICAgICAgICAgIGhlaWdodD1cImF1dG9cIlxuICAgICAgICAgICAgdHJhbnNpdGlvbj1cIm1vZGFsXCJcbiAgICAgICAgICAgIDpkZWxheT1cIjEwMFwiXG4gICAgICAgICAgICA6Y2xpY2tUb0Nsb3NlPVwibW9kYWxDbGlja1RvQ2xvc2VcIlxuICAgICAgICAgICAgQGNsb3NlZD1cIm1vZGFsQ2xvc2VkTGlzdGVuZXIoKVwiPlxuICAgICAgICAgICAgPHRyYW5zaXRpb24gbmFtZT1cInNjcmVlblwiIG1vZGU9XCJvdXQtaW5cIj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibWFpbC1tb2RhbC1zY3JlZW5cIiB2LWlmPVwiIXNob3dTdWNjZXNzU2NyZWVuXCIga2V5PVwibWFpblwiPlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY2xvc2UtYnV0dG9uXCIgQGNsaWNrPVwibW9kYWxDbG9zZUNsaWNrTGlzdGVuZXIoKVwiPsOXPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDxoMiBjbGFzcz1cIm1haWwtbW9kYWwtaGVhZGVyXCI+RW1haWwgdGhpcyBkYXNoYm9hcmQgdG8geW91cnNlbGY8L2gyPlxuICAgICAgICAgICAgICAgICAgICA8cCBjbGFzcz1cIm1haWwtbW9kYWwtc3ViaGVhZGVyXCI+UGxlYXNlIHByb3ZpZGUgeW91ciBlbWFpbCB0byByZWNlaXZlIHRoZSBkYXNoYm9hcmQgdmlhIGVtYWlsPC9wPlxuICAgICAgICAgICAgICAgICAgICA8Zm9ybVxuICAgICAgICAgICAgICAgICAgICAgICAgYWN0aW9uPVwiI1wiXG4gICAgICAgICAgICAgICAgICAgICAgICBAc3VibWl0LnByZXZlbnQ9XCJzZW5kTWFpbENsaWNrTGlzdGVuZXJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJtYWlsLW1vZGFsLWFjdGlvbmJveFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJtYWlsLW1vZGFsLWlucHV0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA6Y2xhc3M9XCJtYWlsSW5wdXRTdGF0dXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHYtdmFsaWRhdGU9XCIncmVxdWlyZWR8ZW1haWwnXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbmFtZT1cIm1haWxJZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdi1tb2RlbD1cIm1haWxJZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJFbnRlciBFbWFpbCBJRFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQGJsdXI9XCJpbnB1dEJsdXJMaXN0ZW5lcigpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZT1cInN1Ym1pdFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gZXhwb3J0LWhhbmRsZS1idXR0b24gbXItMFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgOmRpc2FibGVkPVwiIXZhbGlkYXRlRm9ybSgpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJpY24gaWNuLXNlbmRcIi8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4+U2VuZDwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJlcnJvci1tZXNzYWdlXCI+e3sgZXJyb3JNZXNzYWdlIH19PC9wPlxuICAgICAgICAgICAgICAgICAgICA8L2Zvcm0+XG4gICAgICAgICAgICAgICAgICAgIDxwIGNsYXNzPVwibWFpbC1tb2RhbC1tZXNzYWdlXCI+e3sgcmVzdWx0TWVzc2FnZSB9fTwvcD5cbiAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJtYWlsLW1vZGFsLXByaXZhY3ktbWV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nJvbSAnYXhpb3MnO1xuaW1wb3J0IG1vbWVudCBmcm9tICdtb21lbnQnO1xuaW1wb3J0IGRvd25sb2FkIGZyb20gJ2Rvd25sb2FkanMnO1xuXG5jb25zdCBiYXNlVXJsID0gcHJvY2Vzcy5lbnYuQkFTRV9VUkwgfHwgJy9hcGknO1xuY29uc3QgaW5ib3hQcm92aWRlck1hcCA9IHtcbiAgICAnZ21haWwnICA6ICdodHRwczovL21haWwuZ29vZ2xlLmNvbScsXG4gICAgJ3ltYWlsJyAgOiAnaHR0cHM6Ly9tYWlsLnlhaG9vLmNvbScsXG4gICAgJ2hvdG1haWwnOiAnaHR0cHM6Ly9vdXRsb29rLmxpdmUuY29tJyxcbn1cblxuZXhwb3J0IGRlZmF1bHQge1xuICAgIGRhdGEoKSB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBtYWlsSWQ6IG51bGwsXG4gICAgICAgICAgICBtYWlsSW5wdXRTdGF0dXM6IHt9LFxuICAgICAgICAgICAgbW9kYWxDbGlja1RvQ2xvc2U6IHRydWUsXG4gICAgICAgICAgICByZXN1bHRNZXNzYWdlOiAnJyxcbiAgICAgICAgICAgIHNob3dTdWNjZXNzU2NyZWVuOiBmYWxzZSxcbiAgICAgICAgICAgIHNob3dFcnJvck1lc3NhZ2U6IGZhbHNlLFxuICAgICAgICB9XG4gICAgfSxcblxuICAgIHByb3BzOiB7XG4gICAgICAgIGZpbHRlcjoge1xuICAgICAgICAgICAgdHlwZTogT2JqZWN0LFxuICAgICAgICAgICAgZGVmYXVsdDogKCkgPT4ge31cbiAgICAgICAgfSxcbiAgICB9LFxuXG4gICAgY29tcHV0ZWQ6IHtcbiAgICAgICAgZGF0YSgpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgZmlsdGVyOiB0aGlzLmZpbHRlcixcbiAgICAgICAgICAgICAgICBjaGFydENvbmZpZzogdGhpcy5jaGFydENvbmZpZyxcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcblxuICAgICAgICBjaGFydENvbmZpZygpIHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLiRzdG9yZS5zdGF0ZS5jaGFydENvbmZpZztcbiAgICAgICAgfSxcblxuICAgICAgICBpbmJveExpbmsoKSB7XG4gICAgICAgICAgICBjb25zdCBkZWZhdWx0TGluayA9ICcjJztcblxuICAgICAgICAgICAgaWYgKCF0aGlzLm1haWxJZCkgcmV0dXJuIGRlZmF1bHRMaW5rO1xuXG4gICAgICAgICAgICBsZXQgbGluaztcbiAgICAgICAgICAgIGxldCBwcm92aWRlcjtcblxuICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICBwcm92aWRlciA9IHRoaXMubWFpbElkLnNwbGl0KCdAJylbMV0uc3BsaXQoJy4nKVswXTtcbiAgICAgICAgICAgICAgICBsaW5rID0gaW5ib3hQcm92aWRlck1hcFtwcm92aWRlcl07XG4gICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgbGluayA9IGRlZmF1bHRMaW5rO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gbGluaztcbiAgICAgICAgfSxcblxuICAgICAgICBlcnJvck1lc3NhZ2UoKSB7XG4gICAgICAgICAgICBpZiAoIXRoaXMuc2hvd0Vycm9yTWVzc2FnZSkgcmV0dXJuICcnO1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuZXJyb3JzLmZpcnN0KCdtYWlsSWQnKTtcbiAgICAgICAgfVxuICAgIH0sXG5cbiAgICBtZXRob2RzOiB7XG4gICAgICAgIGFzeW5jIHJlcG9ydENsaWNrTGlzdGVuZXIoZXZ0KSB7XG4gICAgICAgICAgICBjb25zdCBidXR0b24gPSBldnQuY3VycmVudFRhcmdldDtcbiAgICAgICAgICAgIGNvbnN0IGljb24gPSBidXR0b24ucXVlcnlTZWxlY3RvcignaS5pY24nKTtcbiAgICAgICAgICAgIGNvbnN0IGRvd25sb2FkSWNvbkNsYXNzID0gJ2ljbi1kb3dubG9hZCc7XG4gICAgICAgICAgICBjb25zdCBsb2FkaW5nSWNvbkNsYXNzID0gJ2ljbi1sb2FkaW5nJztcblxuICAgICAgICAgICAgYnV0dG9uLmRpc2FibGVkID0gdHJ1ZTtcbiAgICAgICAgICAgIGljb24uY2xhc3NMaXN0LnJlcGxhY2UoZG93bmxvYWRJY29uQ2xhc3MsIGxvYWRpbmdJY29uQ2xhc3MpO1xuXG4gICAgICAgICAgICBhd2FpdCB0aGlzLm11bHRpRGFzaGJvYXJkKCk7XG5cbiAgICAgICAgICAgIGJ1dHRvbi5kaXNhYmxlZCA9IGZhbHNlO1xuICAgICAgICAgICAgaWNvbi5jbGFzc0xpc3QucmVwbGFjZShsb2FkaW5nSWNvbkNsYXNzLCBkb3dubG9hZEljb25DbGFzcyk7XG4gICAgICAgIH0sXG5cbiAgICAgICAgYXN5bmMgbXVsdGlEYXNoYm9hcmQoKSB7XG4gICAgICAgICAgICBjb25zdCB1cmwgPSBgJHtiYXNlVXJsfS9leHBvcnQvZG93bmxvYWQtbXVsdGlwYWdlLWRhc2hib2FyZGA7XG4gICAgICAgICAgICBjb25zdCBoZWFkZXJUZXh0ID0gdGhpcy5nZXRIZWFkZXJUZXh0KCk7XG4gICAgICAgICAgICBjb25zdCBjaGFydENvbmZpZ3MgPSBPYmplY3QudmFsdWVzKHRoaXMuY2hhcnRDb25maWcpO1xuXG4gICAgICAgICAgICBjb25zdCByZXMgPSBhd2FpdCBheGlvcy5wb3N0KHVybCwge1xuICAgICAgICAgICAgICAgIGhlYWRlclRleHQsXG4gICAgICAgICAgICAgICAgY2hhcnRDb25maWdzLFxuICAgICAgICAgICAgICAgIGZpbHRlcjogdGhpcy5maWx0ZXIsXG4gICAgICAgICAgICB9LCB7XG4gICAgICAgICAgICAgICAgcmVzcG9uc2VUeXBlOiAnYmxvYidcbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICBkb3dubG9hZChyZXMuZGF0YSwgJ1dlYWx0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XNzKTtcblxuICAgICAgICAgICAgYnV0dG9uLmRpc2FibGVkID0gZmFsc2U7XG4gICAgICAgICAgICBpbnB1dC5kaXNhYmxlZCA9IGZhbHNlO1xuICAgICAgICAgICAgdGhpcy5tb2RhbENsaWNrVG9DbG9zZSA9IHRydWU7XG4gICAgICAgICAgICB0aGlzLnNob3dFcnJvck1lc3NhZ2UgPSBmYWxzZTtcbiAgICAgICAgfSxcblxuICAgICAgICBhc3luYyBtYWlsRGFzaGJvYXJkKCkge1xuICAgICAgICAgICAgY29uc3QgdXJsID0gYCR7YmFzZVVybH0vZXhwb3J0L21haWwtZGFzaGJvYXJkYDtcbiAgICAgICAgICAgIGNvbnN0IGhlYWRlclRleHQgPSB0aGlzLmdldEhlYWRlclRleHQoKTtcbiAgICAgICAgICAgIGNvbnN0IGNoYXJ0Q29uZmlncyA9IE9iamVjdC52YWx1ZXModGhpcy5jaGFydENvbmZpZyk7XG4gICAgICAgICAgICBjb25zdCB7IG1haWxJZCB9ID0gdGhpcztcblxuICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICBjb25zdCByZXMgPSBhd2FpdCBheGlvcy5wb3N0KHVybCwge1xuICAgICAgICAgICAgICAgICAgICBtYWlsSWQsXG4gICAgICAgICAgICAgICAgICAgIGhlYWRlclRleHQsXG4gICAgICAgICAgICAgICAgICAgIGNoYXJ0Q29uZmlncyxcbiAgICAgICAgICAgICAgICAgICAgZmlsdGVyOiB0aGlzLmZpbHRlcixcbiAgICAgICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgICAgIGlmIChyZXMuc3RhdHVzID09PSAyMDApIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG5cbiAgICAgICAgYXN5bmMgZXhwb3J0Q2xpY2tMaXN0ZW5lcihldnQpIHtcbiAgICAgICAgICAgIGNvbnN0IGJ1dHRvbiA9IGV2dC5jdXJyZW50VGFyZ2V0O1xuICAgICAgICAgICAgY29uc3QgaWNvbiA9IGJ1dHRvbi5xdWVyeVNlbGVjdG9yKCdpLmljbicpO1xuICAgICAgICAgICAgY29uc3QgZG93bmxvYWRJY29uQ2xhc3MgPSAnaWNuLWRvd25sb2FkJztcbiAgICAgICAgICAgIGNvbnN0IGxvYWRpbmdJY29uQ2xhc3MgPSAnaWNuLWxvYWRpbmcnO1xuXG4gICAgICAgICAgICBidXR0b24uZGlzYWJsZWQgPSB0cnVlO1xuICAgICAgICAgICAgaWNvbi5jbGFzc0xpc3QucmVwbGFjZShkb3dubG9hZEljb25DbGFzcywgbG9hZGluZ0ljb25DbGFzcyk7XG5cbiAgICAgICAgICAgIGF3YWl0IHRoaXMuZXhwb3J0RGFzaGJvYXJkKCk7XG5cbiAgICAgICAgICAgIGJ1dHRvbi5kaXNhYmxlZCA9IGZhbHNlO1xuICAgICAgICAgICAgaWNvbi5jbGFzc0xpc3QucmVwbGFjZShsb2FkaW5nSWNvbkNsYXNzLCBkb3dubG9hZEljb25DbGFzcyk7XG4gICAgICAgIH0sXG5cbiAgICAgICAgYXN5bmMgZXhwb3J0RGFzaGJvYXJkKCkge1xuICAgICAgICAgICAgY29uc3QgdXJsID0gYCR7YmFzZVVybH0vZXhwb3J0L2Rvd25sb2FkLWRhc2hib2FyZGA7XG4gICAgICAgICAgICBjb25zdCBoZWFkZXJUZXh0ID0gdGhpcy5nZXRIZWFkZXJUZXh0KCk7XG4gICAgICAgICAgICBjb25zdCBjaGFydENvbmZpZ3MgPSBPYmplY3QudmFsdWVzKHRoaXMuY2hhcnRDb25maWcpO1xuXG4gICAgICAgICAgICBjb25zdCByZXMgPSBhd2FpdCBheGlvcy5wb3N0KHVybCwge1xuICAgICAgICAgICAgICAgIGhlYWRlclRleHQsXG4gICAgICAgICAgICAgICAgY2hhcnRDb25maWdzLFxuICAgICAgICAgICAgfSwge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZTogJ2Jsb2InXG4gICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgZG93bmxvYWQocmVzLmRhdGEsICdXZWFsdGggRGFzaGJvYXJkLnBkZicsICdhcHBsaWNhdGlvbi9wZGYnKTtcbiAgICAgICAgfSxcblxuICAgICAgICBnZXRIZWFkZXJUZXh0KCkge1xuICAgICAgICAgICAgY29uc3QgbWVhc3VyZSA9IHRoaXMuZGF0YS5maWx0ZXIubWVhc3VyZTtcbiAgICAgICAgICAgIGNvbnN0IHByaW9yID0gdGhpcy5kYXRhLmZpbHRlci5wcmlvcjtcbiAgICAgICAgICAgIGxldCBkYXRlID0gdGhpcy5kYXRhLmZpbHRlci5kYXRlO1xuXG4gICAgICAgICAgICBpZiAocHJpb3IgPT09ICdNb250aCcpIHtcbiAgICAgICAgICAgICAgICBkYXRlID0gbW9tZW50KGRhdGUsICdNTS1ERC1ZWVlZJykuZm9ybWF0KCdNTU1NIFlZWVknKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIGAke21lYXN1cmV9IGZvciAke2RhdGV9YDtcbiAgICAgICAgfSxcblxuICAgICAgICBpbnB1dEJsdXJMaXN0ZW5lcigpIHtcbiAgICAgICAgICAgIHRoaXMuc2hvd0Vycm9yTWVzc2FnZSA9IHRydWU7XG4gICAgICAgIH0sXG5cbiAgICAgICAgbW9kYWxDbG9zZWRMaXN0ZW5lcigpIHtcbiAgICAgICAgICAgIHRoaXMubWFpbElkID0gbnVsbDtcbiAgICAgICAgICAgIHRoaXMuc2hvd0Vycm9yTWVzc2FnZSA9IGZhbHNlO1xuICAgICAgICAgICAgdGhpcy5zaG93U3VjY2Vzc1NjcmVlbiA9IGZhbHNlO1xuICAgICAgICB9LFxuXG4gICAgICAgIG1vZGFsQ2xvc2VDbGlja0xpc3RlbmVyKCkge1xuICAgICAgICAgICAgdGhpcy4kbW9kYWwuaGlkZSgnbWFpbC1mb3JtJyk7XG4gICAgICAgIH0sXG4gICAgfSxcbn1cbjwvc2NyaXB0PlxuXG48c3R5bGUgbGFuZz1cInNjc3NcIj5cbi5leHBvcnQtaGFuZGxlIHtcbiAgICB3aWR0aDogMTAwJTtcbiAgICBwb3NpdGlvbjogZml4ZWQ7XG4gICAgYm90dG9tOiAwO1xuICAgIGxlZnQ6IDA7XG4gICAgcGFkZGluZzogMTJweCAyMHB4O1xuICAgIGJhY2tncm91bmQ6ICM2ODY5ODA7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWZsb3c6IGNvbHVtbiBub3dyYXA7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgICYtaGVhZGVyIHtcbiAgICAgICAgY29sb3I6ICNmZmY7XG4gICAgICAgIGZvbnQtc2l6ZTogMTZweDtcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMTJweDtcblxuICAgICAgICBhIHtcbiAgICAgICAgICAgIGNvbG9yOiAjYjliYWZmO1xuICAgICAgICAgICAgdHJhbnNpdGlvbjogY29sb3IgZWFzZSAwLjJzO1xuXG4gICAgICAgICAgICAmOmhvdmVyLCAmOmFjdGl2ZSB7XG4gICAgICAgICAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAgICAgICAgICAgICAgIGNvbG9yOiBkYXJrZW4oI2I5YmFmZiwgNCUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi1idXR0b24td3JhcHBlciB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgIH1cblxuICAgIC5pY24ge1xuICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgICAgIHdpZHRoOiAxNXB4O1xuICAgICAgICBoZWlnaHQ6IDE1cHg7XG4gICAgICAgIG1hcmdpbi1yaWdodDogNHB4O1xuICAgICAgICBiYWNrZ3JvdW5kLXNpemU6IGNvbnRhaW47XG5cbiAgICAgICAgJi1iaWcge1xuICAgICAgICAgICAgd2lkdGg6IDEwMHB4O1xuICAgICAgICAgICAgaGVpZ2h0OiAxMDBweDtcbiAgICAgICAgfVxuXG4gICAgICAgICYtZG93bmxvYWQge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1pbWFnZTogdXJsKC4uLy4uL2ltYWdlcy9pY29uLWRvd25sb2FkLnN2Zyk7XG4gICAgICAgIH1cblxuICAgICAgICAmLXNlbmQge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1pbWFnZTogdXJsKC4uLy4uL2ltYWdlcy9pY29uLXNlbmQuc3ZnKTtcbiAgICAgICAgfVxuXG4gICAgICAgICYtbG9hZGluZyB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoLi4vLi4vaW1hZ2VzL2ljb24tbG9hZGluZy5zdmcpO1xuICAgICAgICB9XG5cbiAgICAgICAgJi1kb25lIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQtaW1hZ2U6IHVybCguLi8uLi9pbWFnZXMvaWNvbi1kb25lLnN2Zyk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLWJ1dHRvbiB7XG4gICAgICAgIHBhZGRpbmc6IDEycHggMjRweDtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDkwZGVnLCAjMkNDN0MwIDAlLCAjNTlEOTlEIDEwMCUpO1xuICAgICAgICBjb2xvcjogI0ZGRjtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBmb250LXdlaWdodDogNjAwO1xuICAgICAgICBmb250LXNpemU6IDE0cHg7XG4gICAgICAgIG1hcmdpbi1yaWdodDogMTVweDtcblxuICAgICAgICAmOm5vdCg6ZGlzYWJsZWQpOm5vdCguZGlzYWJsZWQpOmhvdmVyLFxuICAgICAgICAmOm5vdCg6ZGlzYWJsZWQpOm5vdCguZGlzYWJsZWQpOmZvY3VzIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCg5MGRlZywjMjVhOGEyLCMzYWQyOGIpO1xuICAgICAgICB9XG5cbiAgICAgICAgJjpub3QoOmRpc2FibGVkKTpub3QoLmRpc2FibGVkKTphY3RpdmUge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogIzIzOWQ5ODtcbiAgICAgICAgfVxuXG4gICAgICAgICY6ZGlzYWJsZWQge1xuICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xuICAgICAgICB9XG4gICAgfVxufVxuXG4ubWFpbC1tb2RhbCB7XG4gICAgYm9yZGVyOiAxcHggc29saWQgcmdiYSg2Miw1NywxMDcsMC4xMyk7XG4gICAgYm9yZGVyLXJhZGl1czogNHB4O1xuICAgIGJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7XG4gICAgYm94LXNoYWRvdzogMCAxMnB4IDE4cHggMCByZ2JhKDE2MSwxNjYsMTgxLDAuMSk7XG5cbiAgICAmLXNjcmVlbiB7XG4gICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgZmxleC1mbG93OiBjb2x1bW4gbm93cmFwO1xuICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgICBwYWRkaW5nOiA3MHB4IDYwcHg7XG5cbiAgICAgICAgLmNsb3NlLWJ1dHRvbiB7XG4gICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICB0b3A6IDA7XG4gICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICAgIG1hcmdpbjogMjBweDtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogNDBweDtcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiAzMDA7XG4gICAgICAgICAgICBsaW5lLWhlaWdodDogMThweDtcbiAgICAgICAgICAgIG9wYWNpdHk6IDAuNTtcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICYtaGVhZGVyIHtcbiAgICAgICAgZm9udC1zaXplOiAyNnB4O1xuICAgICAgICBtYXJnaW4tYm90dG9tOiA3cHg7XG4gICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICB9XG5cbiAgICAmLXN1YmhlYWRlciB7XG4gICAgICAgIGZvbnQtc2l6ZTogMTZweDtcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogNDBweDtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIH1cblxuICAgICYtYWN0aW9uYm94IHtcbiAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICB9XG5cbiAgICAmLWlucHV0IHtcbiAgICAgICAgcGFkZGluZzogOXB4IDE2cHg7XG4gICAgICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgcmdiYSg2Miw1NywxMDcsMC4xMyk7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiA3cHg7XG4gICAgICAgIGZsZXg6IDEgMCBhdXRvO1xuICAgIH1cblxuICAgICYtbWVzc2FnZSB7XG4gICAgICAgIGZvbnQtc2l6ZTogMTZweDtcbiAgICAgICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAzMHB4O1xuICAgICAgICBtYXJnaW4tdG9wOiAzMHB4O1xuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgIGNvbG9yOiByZWQ7XG4gICAgfVxuXG4gICAgJi1wcml2YWN5LW1lc3NhZ2Uge1xuICAgICAgICBmb250LXNpemU6IDEycHg7XG4gICAgICAgIGNvbG9yOiAjOWY5ZmI5O1xuICAgICAgICBtYXJnaW46IDA7XG4gICAgfVxuXG4gICAgLmVycm9yLW1lc3NhZ2Uge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIGJvdHRvbTogLTE4cHg7XG4gICAgICAgIGxlZnQ6IDRweDtcbiAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgICBmb250LXNpemU6IDExcHg7XG4gICAgICAgIGNvbG9yOiByZWQ7XG4gICAgfVxufVxuXG4ubW9kYWwtZW50ZXItYWN0aXZlLFxuLm1vZGFsLWxlYXZlLWFjdGl2ZSB7XG4gICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuNXM7XG59XG5cbi5tb2RhbC1lbnRlcixcbi5tb2RhbC1sZWF2ZS10byB7XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC0xMDBweCk7XG59XG5cbi5zY3JlZW4tZW50ZXItYWN0aXZlLFxuLnNjcmVlbi1sZWF2ZS1hY3RpdmUge1xuICAgIHRyYW5zaXRpb246IG9wYWNpdHkgMC41cztcbn1cblxuLnNjcmVlbi1lbnRlcixcbi5zY3JlZW4tbGVhdmUtdG8ge1xuICAgIG9wYWNpdHk6IDA7XG59XG48L3N0eWxlPlxuIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/ExportHandle.vue?vue&type=script&lang=js&\n"); /***/ }),