{"version":3,"sources":["webpack:///src/views/Frontend/Account/Login.vue","webpack:///./src/views/Frontend/Account/Login.vue","webpack:///./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack:///./node_modules/core-js/internals/not-a-regexp.js","webpack:///./src/views/Frontend/Account/Login.vue?83d1","webpack:///./src/views/Frontend/Account/Login.vue?2681","webpack:///./src/views/Frontend/Account/Login.vue?2b0d"],"names":["FrontendPageLayout","Login","name","components","data","widgetScriptTag","computed","_objectSpread","mapGetters","isLoggedIn","watch","$router","push","created","mounted","beforeDestroy","methods","loadSupportWidget","callback","widgetScript","document","createElement","type","src","setAttribute","async","onload","head","appendChild","render","_vm","_c","_self","staticClass","staticRenderFns","_withStripped"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA;AACA,IAAAA,kBAAA,YAAAA,mBAAA;EAAA,OACA,+MAEA;AAAA;AACA,IAAAC,KAAA,YAAAA,MAAA;EAAA,OACA,6JAEA;AAAA;AAEe;EACfC,IAAA;EAEAC,UAAA;IACAF,KAAA,EAAAA,KAAA;IACAD,kBAAA,EAAAA;EACA;EAEAI,IAAA,WAAAA,KAAA;IACA;MACAC,eAAA;IACA;EACA;EAEAC,QAAA,EAAAC,iIAAA,KACAC,+DAAA;IACAC,UAAA;EACA,GACA;EAEAC,KAAA;IACA;AACA;AACA;IACAD,UAAA,WAAAA,WAAA;MACA,SAAAA,UAAA;QACA,KAAAE,OAAA,CAAAC,IAAA;UAAAV,IAAA;QAAA;MACA;IACA;EACA;EAEAW,OAAA,WAAAA,QAAA;IACA,SAAAJ,UAAA;MACA,KAAAE,OAAA,CAAAC,IAAA;QAAAV,IAAA;MAAA;IACA;EACA;EAEAY,OAAA,WAAAA,QAAA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;IAEA;IACA;EAAA,CACA;EAEAC,aAAA,WAAAA,cAAA;IACA;IACA;IACA;IACA;EAAA,CACA;EAEAC,OAAA;IACAC,iBAAA,WAAAA,kBAAAC,QAAA;MACA,IA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;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK,iBAAiB;AACtB,GAAG;AACH;;;;;;;;;;;;;;ACfa;AACb,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACTA;AAAA;AAAA;AAAA;AAAmF;AAC3B;AACL;;;AAGnD;AACgG;AAChG,gBAAgB,mHAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;;ACtCf;AAAyS,CAAgB,uUAAG,EAAC,C;;;;;;;;;;;;;ACA7T;AAAA;AAAA;AAAA;AAAA","file":"js/my-account-login.js?id=c4085723b9aa155ac2f5","sourcesContent":["<template>\n  <FrontendPageLayout>\n    <section>\n      <div class=\"container\">\n        <div class=\"columns is-centered\">\n          <div class=\"column is-one-third\">\n            <div class=\"has-padding\">\n              <div class=\"box\">\n                <Login />\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </section>\n  </FrontendPageLayout>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex'\nconst FrontendPageLayout = () =>\n  import(\n    /* webpackChunkName: \"my-account-login\" */ '@/components/MainSiteElements/Frontend/FrontendPageLayout.vue'\n  )\nconst Login = () =>\n  import(\n    /* webpackChunkName: \"my-account-login\" */ '@/components/AccountControls/Login'\n  )\n\nexport default {\n  name: 'view-account-login',\n\n  components: {\n    Login,\n    FrontendPageLayout,\n  },\n\n  data() {\n    return {\n      widgetScriptTag: null\n    }\n  },\n\n  computed: {\n    ...mapGetters({\n      isLoggedIn: 'profileStore/getIsLoggedIn',\n    }),\n  },\n\n  watch: {\n    /**\n     * Watch isLoggedIn variable\n     */\n    isLoggedIn() {\n      if (this.isLoggedIn) {\n        this.$router.push({ name: 'my-account-dashboard' })\n      }\n    },\n  },\n\n  created() {\n    if (this.isLoggedIn) {\n      this.$router.push({ name: 'my-account-dashboard' })\n    }\n  },\n\n  mounted() {\n    // this.loadSupportWidget(function() {\n    //   let DOMContentLoaded_event =\n    //     document.createEvent('Event')\n    //   DOMContentLoaded_event.initEvent(\n    //     'DOMContentLoaded',\n    //     true,\n    //     true\n    //   )\n\n    //   window.document.dispatchEvent(DOMContentLoaded_event)\n    // })\n  },\n\n  beforeDestroy() {\n    // this.widgetScriptTag && this.widgetScriptTag.remove()\n    // let jiraIframe = window.document.getElementById('jsd-widget')\n    // jiraIframe && jiraIframe.remove()\n    // window.removeEventListener(\"DOMContentLoaded\", null, false);\n  },\n\n  methods: {\n    loadSupportWidget(callback) {\n      let widgetScript = document.createElement('script')\n      widgetScript.type = 'text/javascript'\n      widgetScript.src = 'https://jsd-widget.atlassian.com/assets/embed.js'\n      widgetScript.setAttribute('data-jsd-embedded', null)\n      widgetScript.setAttribute(\n        'data-key',\n        'd677c6e5-c14b-4070-823f-8cca41d2589d'\n      )\n      widgetScript.setAttribute(\n        'data-base-url',\n        'https://jsd-widget.atlassian.com'\n      )\n      widgetScript.async = true\n      widgetScript.onload = () => {\n        callback()\n      }\n\n      this.widgetScriptTag = widgetScript\n\n      document.head.appendChild(this.widgetScriptTag)\n    },\n  }\n}\n</script>\n","var render = function render() {\n  var _vm = this,\n    _c = _vm._self._c\n  return _c(\"FrontendPageLayout\", [\n    _c(\"section\", [\n      _c(\"div\", { staticClass: \"container\" }, [\n        _c(\"div\", { staticClass: \"columns is-centered\" }, [\n          _c(\"div\", { staticClass: \"column is-one-third\" }, [\n            _c(\"div\", { staticClass: \"has-padding\" }, [\n              _c(\"div\", { staticClass: \"box\" }, [_c(\"Login\")], 1),\n            ]),\n          ]),\n        ]),\n      ]),\n    ]),\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n  var regexp = /./;\n  try {\n    '/./'[METHOD_NAME](regexp);\n  } catch (error1) {\n    try {\n      regexp[MATCH] = false;\n      return '/./'[METHOD_NAME](regexp);\n    } catch (error2) { /* empty */ }\n  } return false;\n};\n","'use strict';\nvar isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n  if (isRegExp(it)) {\n    throw new $TypeError(\"The method doesn't accept regular expressions\");\n  } return it;\n};\n","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=2adcad44\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (module.hot) {\n  var api = require(\"/github/workspace/node_modules/vue-hot-reload-api/dist/index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!api.isRecorded('2adcad44')) {\n      api.createRecord('2adcad44', component.options)\n    } else {\n      api.reload('2adcad44', component.options)\n    }\n    module.hot.accept(\"./Login.vue?vue&type=template&id=2adcad44\", function () {\n      api.rerender('2adcad44', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"src/views/Frontend/Account/Login.vue\"\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js\"","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"d2a26fb4-vue-loader-template\\\"}!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=template&id=2adcad44\""],"sourceRoot":""}