{"version":3,"sources":["webpack:///./src/project/auth/AuthenticationModuleOverlay.vue?77c9","webpack:///./src/project/auth/LoginPanel.vue?71b6","webpack:///./src/project/auth/LoginPanel.vue","webpack:///./src/project/auth/LoginPanel.vue?eee2","webpack:///./src/project/auth/LoginPanel.vue?f54b","webpack:///./src/project/auth/ForgotPasswordPanel.vue?837a","webpack:///./src/project/auth/ForgotPasswordPanel.vue","webpack:///./src/project/auth/ForgotPasswordPanel.vue?1e2d","webpack:///./src/project/auth/ForgotPasswordPanel.vue?86ec","webpack:///./src/project/auth/ResetPasswordPanel.vue?0440","webpack:///./src/project/auth/PasswordCondition.vue?ce24","webpack:///./src/project/auth/PasswordCondition.vue","webpack:///./src/project/auth/PasswordCondition.vue?bf9d","webpack:///./src/project/auth/PasswordCondition.vue?7b80","webpack:///./src/project/auth/ResetPasswordPanel.vue","webpack:///./src/project/auth/ResetPasswordPanel.vue?95e9","webpack:///./src/project/auth/ResetPasswordPanel.vue?efd1","webpack:///./src/project/auth/ChangePasswordPanel.vue?05d1","webpack:///./src/project/auth/ChangePasswordPanel.vue","webpack:///./src/project/auth/ChangePasswordPanel.vue?5cf9","webpack:///./src/project/auth/ChangePasswordPanel.vue?c68d","webpack:///./src/project/auth/AuthenticationModuleOverlay.vue","webpack:///./src/project/auth/AuthenticationModuleOverlay.vue?c95e","webpack:///./src/project/auth/AuthenticationModuleOverlay.vue?5b62","webpack:///./src/project/modals/Modal.vue","webpack:///./src/project/modals/Modal.vue?4482","webpack:///./src/project/modals/Modal.vue?1301","webpack:///./src/core/messages/WebApiMessage.vue?6c2e","webpack:///./src/core/messages/WebApiMessage.vue","webpack:///./src/core/messages/WebApiMessage.vue?5af9","webpack:///./src/core/messages/WebApiMessage.vue?0b74"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","state","key","redirect","on","$event","closeOverlay","_e","staticRenderFns","staticClass","_v","_s","_f","scopedSlots","_u","fn","ref","handleSubmit","preventDefault","submit","model","value","callback","$$v","email","expression","password","busy","forgotPassword","registrationPage","nativeOn","close","apply","arguments","$emit","pushToDataLayer","event","buttonTarget","response","authentication","login","siteId","siteInfo","logIn","token","update","$router","push","catch","e","err","settings","accessRequestPage","type","String","components","WebApiMessage","component","emailSent","goBack","requestPasswordReset","isValidToken","done","newUser","gotoLogin","hasUppercase","hasLowercase","hasNumeric","hasSpecialChar","hasLength","password2","class","condition","text","Boolean","guidPattern","submitFailed","tokenQuery","decodeURI","location","search","match","toLowerCase","includes","length","replace","query","undefined","resetPassword","cleanUpQuery","PasswordCondition","newPassword","newPasswordConfirm","isImpersonating","changePassword","oldPassword","confirmNewPassword","Modal","newState","trackLoginStateChange","loginState","initialState","required","ResetPasswordPanel","ForgotPasswordPanel","LoginPanel","ChangePasswordPanel","data","ModalState","hideModal","modal","id","Object","messages","_t","_l","message","ix","getMessage","errorId","bus","onMessages","validationErrorEvent","messagesId","handled","msgOrLabel","exists","get","off"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,aAAa,CAACE,MAAM,CAAC,KAAO,SAAS,IAAM,MAAM,qBAAqB,iCAAiC,qBAAqB,oCAAoC,CAAc,UAAZN,EAAIO,MAAiBH,EAAG,aAAa,CAACI,IAAI,QAAQF,MAAM,CAAC,SAAWN,EAAIS,UAAUC,GAAG,CAAC,YAAY,SAASC,GAAQX,EAAIO,MAAQ,aAAa,MAAQP,EAAIY,gBAA+B,cAAdZ,EAAIO,MAAuBH,EAAG,sBAAsB,CAACI,IAAI,SAASE,GAAG,CAAC,UAAU,SAASC,GAAQX,EAAIO,MAAQ,SAAS,MAAQP,EAAIY,gBAA+B,aAAdZ,EAAIO,MAAsBH,EAAG,qBAAqB,CAACI,IAAI,WAAWE,GAAG,CAAC,aAAa,SAASC,GAAQX,EAAIO,MAAQ,SAAS,YAAY,SAASI,GAAQX,EAAIO,MAAQ,aAAa,MAAQP,E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H,GAAG,WAAU,WAAW,MAAO,CAACpH,EAAG,KAAK,CAACW,YAAY,+CAA+Cf,EAAIyH,GAAIzH,EAAY,UAAE,SAAS0H,EAAQC,GAAI,OAAOvH,EAAG,KAAK,CAACI,IAAImH,EAAG5G,YAAY,SAAS,CAACf,EAAIgB,GAAG,IAAIhB,EAAIiB,GAAGjB,EAAI4H,WAAWF,EAAQA,UAAU,KAAM1H,EAAW,QAAE,CAACA,EAAIgB,GAAG,MAAMhB,EAAIiB,GAAGjB,EAAI6H,SAAS,OAAO7H,EAAIa,MAAM,MAAK,MAAK,CAAC,SAAWb,EAAIuH,YAAY,GAAGvH,EAAIa,MACteC,EAAkB,G,oFCwBtB,IAAqB,EAArB,cAA2C,aAA3C,c,oBACY,KAAAyG,SAA4B,GAC5B,KAAAM,QAAkB,GAMlB,UACJC,EAAA,KAAIpH,GAAG,OAAyBT,KAAK8H,YAGjC,WAAWC,GACXA,EAAqBC,aAAehI,KAAKoH,KACzCpH,KAAKsH,SAAWS,EAAqBT,SACrCtH,KAAK4H,QAAUG,EAAqBH,QACpCG,EAAqBE,WAIrB,WAAWC,GACf,OAAI,OAAkBC,OAAOD,GAClB,OAAkBE,IAAIF,GAE1BA,EAGH,YACJL,EAAA,KAAIQ,IAAI,OAAyBrI,KAAK8H,cAtB1C,gBAHC,eAAK,CACFnB,UAAU,K,yBAJG,EAAa,gBADjC,QACoB,WCzBqY,I,YCOtZ7C,EAAY,eACd,EACAhE,EACAe,GACA,EACA,KACA,KACA,MAIa,OAAAiD,E","file":"js/chunk-ffcb101e.c342fb6b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"mode\":\"out-in\",\"tag\":\"div\",\"enter-active-class\":\"animated fadeIn u-anim-dur-350\",\"leave-active-class\":\"animated fadeOut u-anim-dur-250\"}},[(_vm.state==='login')?_c('LoginPanel',{key:\"login\",attrs:{\"redirect\":_vm.redirect},on:{\"forgot-pw\":function($event){_vm.state = 'forgot-pw'},\"close\":_vm.closeOverlay}}):(_vm.state === 'forgot-pw')?_c('ForgotPasswordPanel',{key:\"forgot\",on:{\"go-back\":function($event){_vm.state = 'login'},\"close\":_vm.closeOverlay}}):(_vm.state === 'reset-pw')?_c('ResetPasswordPanel',{key:\"reset-pw\",on:{\"goto-login\":function($event){_vm.state = 'login'},\"forgot-pw\":function($event){_vm.state = 'forgot-pw'},\"close\":_vm.closeOverlay}}):(_vm.state === 'change-pw')?_c('ChangePasswordPanel',{key:\"reset-pw\",on:{\"close\":_vm.closeOverlay}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',[_c('h1',{staticClass:\"sub-header\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.Login.WelcomeMsg'))+\" \")]),_c('h2',{staticClass:\"mt-10 mb-5 text-34\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.Login.Header'))+\" \")]),_c('ValidationObserver',{attrs:{\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{staticClass:\"bg-white\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submit)}}},[_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"email\",\"autofocus\":true,\"label\":_vm._f(\"t\")('Authentication.Login.EmailFieldLabel'),\"rules\":\"email\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('InputText',{staticClass:\"mt-10\",attrs:{\"type\":\"password\",\"name\":\"password\",\"label\":_vm._f(\"t\")('Authentication.Login.PasswordFieldLabel')},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('WebApiMessage',{attrs:{\"id\":\"login\"}}),_c('CallToAction',{staticClass:\"mt-20\",attrs:{\"disabled\":_vm.busy,\"text\":_vm._f(\"t\")('Authentication.Login.LoginBtn'),\"type\":\"submit\"}})],1),_c('a',{staticClass:\"-small-gray mt-20\",on:{\"click\":function($event){return _vm.forgotPassword()}}},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.Login.ForgotPassword'))+\" \")]),(_vm.registrationPage)?_c('p',{staticClass:\"block mt-10 text-12 text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.CreateAccount'))+\" \"),_c('CultureAwareRouterLink',{staticClass:\"text-gray-800 underline hover:text-black\",attrs:{\"to\":_vm.registrationPage,\"data-tracking-name\":\"accessRequestPage\"},nativeOn:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.CreateAccount.Link'))+\" \")])],1):_vm._e()]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\r\nimport { Vue, Component, Prop } from 'vue-property-decorator';\r\nimport Api from '@/project/http/Api.service';\r\nimport authService from '@/core/auth/auth.service';\r\nimport WebApiMessage from '@/core/messages/WebApiMessage.vue';\r\nimport siteService from '@/project/site/site.service';\r\nimport serverContextService from '@/core/serverContext.service';\r\nimport GTMBasics from '@/project/tracking/gtm/GTM.basics';\r\n\r\n@Component({\r\n components: { WebApiMessage }\r\n})\r\nexport default class LoginPanel extends Vue {\r\n @Prop({ type: String })\r\n private redirect!: string;\r\n\r\n email: string = '';\r\n password: string = '';\r\n busy = false;\r\n\r\n forgotPassword() {\r\n this.$emit('forgot-pw');\r\n }\r\n\r\n async submit() {\r\n GTMBasics.pushToDataLayer({\r\n event: 'button.click',\r\n buttonTarget: 'login'\r\n });\r\n try {\r\n this.busy = true;\r\n const response = await Api.authentication.login({ email: this.email, password: this.password, siteId: serverContextService.siteInfo.siteId }, 'login');\r\n authService.logIn(response.token);\r\n siteService.update(response);\r\n this.$emit('close');\r\n\r\n if (this.redirect) {\r\n this.$router.push(this.redirect).catch(e => {});\r\n }\r\n } catch (err) {\r\n // Ok, validation-messages will be shown\r\n } finally {\r\n this.busy = false;\r\n }\r\n }\r\n\r\n private get registrationPage(): string | undefined {\r\n return serverContextService.settings?.accessRequestPage;\r\n }\r\n\r\n private close() {\r\n this.$emit('close');\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginPanel.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginPanel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoginPanel.vue?vue&type=template&id=36d50045&\"\nimport script from \"./LoginPanel.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoginPanel.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('transition',{attrs:{\"mode\":\"out-in\",\"enter-active-class\":\"animated fadeIn u-anim-dur-350\",\"leave-active-class\":\"animated fadeOut u-anim-dur-250\"}},[(!_vm.emailSent)?_c('article',{key:\"sendEmail\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.Title'))+\" \")]),_c('h2',{staticClass:\"sub-header mt-15 mb-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.SubTitle'))+\" \")]),_c('ValidationObserver',{attrs:{\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{staticClass:\"bg-white\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submit)}}},[_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"email\",\"autofocus\":true,\"label\":_vm._f(\"t\")('Authentication.ForgotPassword.EmailFieldLabel'),\"rules\":\"email\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('WebApiMessage',{attrs:{\"id\":\"requestpasswordreset\"}}),_c('CallToAction',{staticClass:\"mt-20\",attrs:{\"disabled\":_vm.busy,\"text\":_vm._f(\"t\")('Authentication.ForgotPassword.ForgotBtn'),\"type\":\"submit\"}})],1),_c('a',{staticClass:\"-small-gray mt-20\",on:{\"click\":function($event){return _vm.goBack()}}},[_vm._v(_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.BackToLogin')))])]}}],null,false,756835058)})],1):_c('article',{key:\"confirmation\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.EmailConfirmationTitle'))+\" \")]),_c('h2',{staticClass:\"mt-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.EmailConfirmationSubTitle'))+\" \")]),_c('p',{staticClass:\"text-15 mt-20\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ForgotPassword.EmailConfirmationText'))+\" \")]),_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ForgotPassword.EmailConfirmationClose')},on:{\"click\":function($event){return _vm.close()}}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport WebApiMessage from '@/core/messages/WebApiMessage.vue';\r\nimport Api from '@/project/http/Api.service';\r\n\r\n@Component({\r\n components: { WebApiMessage }\r\n})\r\nexport default class ForgotPasswordPanel extends Vue {\r\n email: string = '';\r\n emailSent = false;\r\n busy = false;\r\n\r\n goBack() {\r\n this.$emit('go-back');\r\n }\r\n\r\n close() {\r\n this.$emit('close');\r\n }\r\n\r\n async submit() {\r\n try {\r\n this.busy = true;\r\n await Api.authentication.requestPasswordReset(this.email, 'requestpasswordreset');\r\n this.emailSent = true;\r\n } catch (err) {\r\n // Ok, validation-messages will be shown\r\n } finally {\r\n this.busy = false;\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPasswordPanel.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPasswordPanel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ForgotPasswordPanel.vue?vue&type=template&id=98ef3290&\"\nimport script from \"./ForgotPasswordPanel.vue?vue&type=script&lang=ts&\"\nexport * from \"./ForgotPasswordPanel.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('transition',{attrs:{\"mode\":\"out-in\",\"enter-active-class\":\"animated fadeIn u-anim-dur-350\",\"leave-active-class\":\"animated fadeOut u-anim-dur-250\"}},[(!_vm.isValidToken)?_c('article',{key:\"invalid-token\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.InvalidTokenTitle'))+\" \")]),_c('p',{staticClass:\"mt-20\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.InvalidTokenText'))+\" \")]),_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ResetPassword.InvalidTokenBtn')},on:{\"click\":function($event){return _vm.close()}}})],1):(!_vm.done)?_c('article',{key:\"change-password\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.Title' : 'Authentication.ResetPassword.Title')))+\" \")]),_c('h2',{staticClass:\"sub-header mt-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.SubTitle' : 'Authentication.ResetPassword.SubTitle')))+\" \")]),_c('section',{staticClass:\"bg-gray-300 mt-20 p-20\"},[_c('div',{staticClass:\"text-15 font-medium\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.SecurityTitle'))+\" \")]),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasUppercase,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.UppercaseCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasLowercase,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.LowercaseCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasNumeric,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.NumericCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasSpecialChar,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.SpecialCharCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasLength,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.LengthCondition')}})],1),_c('ValidationObserver',{attrs:{\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{staticClass:\"bg-white\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submit)}}},[_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password1\",\"type\":\"password\",\"autofocus\":true,\"label\":_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.FirstPasswordFieldLabel' : 'Authentication.ResetPassword.FirstPasswordFieldLabel')),\"rules\":\"password|required\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password2\",\"type\":\"password\",\"label\":_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.SecondPasswordFieldLabel' : 'Authentication.ResetPassword.SecondPasswordFieldLabel')),\"rules\":\"required|same-password:@password1\"},model:{value:(_vm.password2),callback:function ($$v) {_vm.password2=$$v},expression:\"password2\"}}),_c('WebApiMessage',{attrs:{\"id\":\"resetpassword\"}}),(_vm.submitFailed)?_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ResetPassword.GetNewResetLinkBtn')},on:{\"click\":function($event){return _vm.forgotPassword()}}}):_c('CallToAction',{staticClass:\"mt-20\",attrs:{\"disabled\":_vm.busy,\"text\":_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.CreatePasswordBtn' : 'Authentication.ResetPassword.ChangePasswordBtn')),\"type\":\"submit\"}})],1)]}}])})],1):_c('article',{key:\"confirmation\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")((_vm.newUser ? 'Authentication.NewUser.ChangeConfirmationTitle' : 'Authentication.ResetPassword.ChangeConfirmationTitle')))+\" \")]),_c('p',{staticClass:\"text-15 mt-20\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangeConfirmation.ChangeConfirmationText'))+\" \")]),_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ChangeConfirmation.GotoLoginBtn')},on:{\"click\":function($event){return _vm.gotoLogin()}}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex items-center\"},[_c('span',{staticClass:\"mr-10 o-password-checkmark\",class:_vm.condition ? 'checked' : ''},[_c('CIcon',{attrs:{\"name\":\"checkmark\"}})],1),_c('span',{staticClass:\"text-13 font-medium\"},[_vm._v(_vm._s(_vm.text))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class PasswordCondition extends Vue {\r\n @Prop(Boolean) condition!: boolean;\r\n @Prop(String) text!: string;\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PasswordCondition.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PasswordCondition.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PasswordCondition.vue?vue&type=template&id=3fb6661b&\"\nimport script from \"./PasswordCondition.vue?vue&type=script&lang=ts&\"\nexport * from \"./PasswordCondition.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","\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\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport WebApiMessage from '@/core/messages/WebApiMessage.vue';\r\nimport Api from '@/project/http/Api.service';\r\nimport passwordService from '@/project/form/custom-rules/password';\r\nimport PasswordCondition from '@/project/auth/PasswordCondition.vue';\r\n\r\nconst guidPattern = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;\r\n\r\n@Component({\r\n components: { PasswordCondition, WebApiMessage }\r\n})\r\nexport default class LoginPanel extends Vue {\r\n password: string = '';\r\n password2: string = '';\r\n token = '';\r\n done = false;\r\n busy = false;\r\n newUser = false;\r\n submitFailed = false;\r\n\r\n created() {\r\n const tokenQuery = decodeURI(location.search).match(/token=([^&#]*)/i);\r\n this.newUser = location.search.toLowerCase().includes('newuser');\r\n if (tokenQuery?.length !== 2) return;\r\n this.token = tokenQuery[1];\r\n }\r\n\r\n get isValidToken() {\r\n return this.token.match(guidPattern);\r\n }\r\n\r\n get hasLength(): boolean {\r\n return passwordService.hasLength(this.password);\r\n }\r\n\r\n get hasNumeric() {\r\n return passwordService.hasNumeric(this.password);\r\n }\r\n\r\n get hasUppercase() {\r\n return passwordService.hasUppercase(this.password);\r\n }\r\n\r\n get hasLowercase() {\r\n return passwordService.hasLowercase(this.password);\r\n }\r\n\r\n get hasSpecialChar() {\r\n return passwordService.hasSpecialChar(this.password);\r\n }\r\n\r\n gotoLogin() {\r\n this.$emit('goto-login');\r\n }\r\n\r\n forgotPassword() {\r\n this.$emit('forgot-pw');\r\n }\r\n\r\n close() {\r\n this.$emit('close');\r\n }\r\n\r\n cleanUpQuery() {\r\n this.$router.replace({ query: undefined });\r\n }\r\n\r\n async submit() {\r\n try {\r\n this.busy = true;\r\n await Api.authentication.resetPassword(this.password, this.token, 'resetpassword');\r\n this.done = true;\r\n this.cleanUpQuery();\r\n } catch (err) {\r\n // Ok, validation-messages will be shown\r\n this.submitFailed = true;\r\n } finally {\r\n this.busy = false;\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetPasswordPanel.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetPasswordPanel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ResetPasswordPanel.vue?vue&type=template&id=007372e0&\"\nimport script from \"./ResetPasswordPanel.vue?vue&type=script&lang=ts&\"\nexport * from \"./ResetPasswordPanel.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('transition',{attrs:{\"mode\":\"out-in\",\"enter-active-class\":\"animated fadeIn u-anim-dur-350\",\"leave-active-class\":\"animated fadeOut u-anim-dur-250\"}},[(!_vm.done)?_c('article',{key:\"change-password\"},[_c('h1',[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangePassword.Title'))+\" \")]),_c('h2',{staticClass:\"sub-header mt-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangePassword.SubTitle'))+\" \")]),_c('section',{staticClass:\"bg-gray-300 mt-20 p-20\"},[_c('div',{staticClass:\"text-15 font-medium\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ResetPassword.SecurityTitle'))+\" \")]),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasUppercase,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.UppercaseCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasLowercase,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.LowercaseCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasNumeric,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.NumericCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasSpecialChar,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.SpecialCharCondition')}}),_c('PasswordCondition',{staticClass:\"mt-20\",attrs:{\"condition\":_vm.hasLength,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.LengthCondition')}})],1),_c('ValidationObserver',{attrs:{\"tag\":\"div\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{staticClass:\"bg-white\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submit)}}},[(_vm.oldPasswordIsNeeded)?_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password1\",\"type\":\"password\",\"autofocus\":true,\"label\":_vm._f(\"t\")('Authentication.ChangePassword.FirstPasswordFieldLabel'),\"rules\":\"required|password\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}):_vm._e(),_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password2\",\"type\":\"password\",\"label\":_vm._f(\"t\")('Authentication.ChangePassword.SecondPasswordFieldLabel'),\"rules\":'required|password:@password3'},model:{value:(_vm.newPassword),callback:function ($$v) {_vm.newPassword=$$v},expression:\"newPassword\"}}),_c('InputText',{staticClass:\"mt-20\",attrs:{\"name\":\"password3\",\"type\":\"password\",\"label\":_vm._f(\"t\")('Authentication.ChangePassword.ThirdPasswordFieldLabel'),\"rules\":\"required|password\"},model:{value:(_vm.newPasswordConfirm),callback:function ($$v) {_vm.newPasswordConfirm=$$v},expression:\"newPasswordConfirm\"}}),_c('WebApiMessage',{attrs:{\"id\":\"changepassword\"}}),_c('CallToAction',{staticClass:\"mt-20\",attrs:{\"disabled\":_vm.busy,\"text\":_vm._f(\"t\")('Authentication.ResetPassword.ChangePasswordBtn'),\"type\":\"submit\"}})],1)]}}],null,false,3353646505)})],1):_c('article',{key:\"confirmation\"},[_c('h1',{staticClass:\"text-18 font-bold\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangePassword.ChangeConfirmationTitle'))+\" \")]),_c('p',{staticClass:\"text-15 mt-20\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Authentication.ChangePassword.ChangeConfirmationText'))+\" \")]),_c('CallToAction',{staticClass:\"mt-30\",attrs:{\"text\":_vm._f(\"t\")('Authentication.ChangePassword.Exit')},on:{\"click\":function($event){return _vm.close()}}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport WebApiMessage from '@/core/messages/WebApiMessage.vue';\r\nimport Api from '@/project/http/Api.service';\r\nimport passwordService from '@/project/form/custom-rules/password';\r\nimport PasswordCondition from '@/project/auth/PasswordCondition.vue';\r\nimport { ChangePasswordRequest } from '@/types/apiServerContract';\r\nimport impersonationStore from '@/project/shared/impersonation/impersonation.service';\r\n\r\n@Component({\r\n components: { PasswordCondition, WebApiMessage }\r\n})\r\nexport default class LoginPanel extends Vue {\r\n private password: string = '';\r\n private newPassword: string = '';\r\n private newPasswordConfirm: string = '';\r\n private done = false;\r\n private busy = false;\r\n\r\n get hasLength(): boolean {\r\n return passwordService.hasLength(this.newPassword);\r\n }\r\n\r\n get hasNumeric() {\r\n return passwordService.hasNumeric(this.newPassword);\r\n }\r\n\r\n get hasUppercase() {\r\n return passwordService.hasUppercase(this.newPassword);\r\n }\r\n\r\n get hasLowercase() {\r\n return passwordService.hasLowercase(this.newPassword);\r\n }\r\n\r\n get hasSpecialChar() {\r\n return passwordService.hasSpecialChar(this.newPassword);\r\n }\r\n\r\n get isImpersonating(): boolean {\r\n return impersonationStore.isImpersonating;\r\n }\r\n\r\n get oldPasswordIsNeeded(): boolean {\r\n return !this.isImpersonating;\r\n }\r\n\r\n close() {\r\n this.$emit('close');\r\n }\r\n\r\n async submit() {\r\n try {\r\n this.busy = true;\r\n await Api.authentication.changePassword({\r\n oldPassword: this.password,\r\n newPassword: this.newPassword,\r\n confirmNewPassword: this.newPasswordConfirm\r\n } as ChangePasswordRequest, 'changepassword');\r\n this.done = true;\r\n } catch (err) {\r\n // Ok, validation-messages will be shown\r\n } finally {\r\n this.busy = false;\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePasswordPanel.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePasswordPanel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChangePasswordPanel.vue?vue&type=template&id=832f24b6&\"\nimport script from \"./ChangePasswordPanel.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChangePasswordPanel.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Watch } from 'vue-property-decorator';\r\nimport Modal from '@/project/modals/Modal.vue';\r\nimport LoginPanel from './LoginPanel.vue';\r\nimport ForgotPasswordPanel from './ForgotPasswordPanel.vue';\r\nimport ResetPasswordPanel from './ResetPasswordPanel.vue';\r\nimport ChangePasswordPanel from './ChangePasswordPanel.vue';\r\nimport GTMBasics from '@/project/tracking/gtm/GTM.basics';\r\n\r\n@Component({\r\n components: { ResetPasswordPanel, ForgotPasswordPanel, LoginPanel, ChangePasswordPanel }\r\n})\r\nexport default class AuthenticationModuleOverlay extends Modal {\r\n @Prop({ required: true, type: String })\r\n private initialState!: 'login' | 'forgot-pw' | 'reset-pw' | 'change-pw';\r\n\r\n @Prop({ required: false, type: String })\r\n private redirect!: string;\r\n\r\n state: '' | 'login' | 'forgot-pw' | 'reset-pw' | 'change-pw' = '';\r\n\r\n @Watch('state')\r\n onStateChange(newState: string) {\r\n this.trackLoginStateChange(newState);\r\n }\r\n\r\n trackLoginStateChange(newState) {\r\n GTMBasics.pushToDataLayer({\r\n event: 'login.click',\r\n loginState: newState\r\n });\r\n }\r\n\r\n created() {\r\n this.state = this.initialState;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuthenticationModuleOverlay.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuthenticationModuleOverlay.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AuthenticationModuleOverlay.vue?vue&type=template&id=198c04ec&\"\nimport script from \"./AuthenticationModuleOverlay.vue?vue&type=script&lang=ts&\"\nexport * from \"./AuthenticationModuleOverlay.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","\r\nimport { Vue, Component, Prop } from 'vue-property-decorator';\r\nimport { IModal, ModalState } from '@/core/modals/ModalState';\r\n\r\n@Component\r\nexport default class Modal extends Vue {\r\n @Prop({ type: Object, required: true })\r\n protected modal!: IModal;\r\n\r\n protected closeOverlay(data?: any) {\r\n ModalState.hideModal(this.modal.id, data);\r\n }\r\n}\r\n","var render, staticRenderFns\nimport script from \"./Modal.vue?vue&type=script&lang=ts&\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.messages.length > 0)?_c('div',[_vm._t(\"default\",function(){return [_c('ul',{staticClass:\"text-red-500 text-12 font-medium list-reset\"},_vm._l((_vm.messages),function(message,ix){return _c('li',{key:ix,staticClass:\"mt-15\"},[_vm._v(\" \"+_vm._s(_vm.getMessage(message.message))+\" \"),(_vm.errorId)?[_vm._v(\" [ \"+_vm._s(_vm.errorId)+\"] \")]:_vm._e()],2)}),0)]},{\"messages\":_vm.messages})],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\nimport bus from '@/core/bus';\r\nimport { ClientMessage, ValidationErrorEvent, ValidationErrorEventKey } from '@/core/messages/types';\r\nimport dictionaryService from '@/core/translation/dictionary.service';\r\n\r\n@Component\r\nexport default class WebApiMessage extends Vue {\r\n private messages: ClientMessage[] = [];\r\n private errorId: string = '';\r\n @Prop({\r\n required: true\r\n })\r\n private id!: string;\r\n\r\n private created() {\r\n bus.on(ValidationErrorEventKey, this.onMessages);\r\n }\r\n\r\n private onMessages(validationErrorEvent: ValidationErrorEvent) {\r\n if (validationErrorEvent.messagesId === this.id) {\r\n this.messages = validationErrorEvent.messages;\r\n this.errorId = validationErrorEvent.errorId;\r\n validationErrorEvent.handled();\r\n }\r\n }\r\n\r\n private getMessage(msgOrLabel: string): string {\r\n if (dictionaryService.exists(msgOrLabel)) {\r\n return dictionaryService.get(msgOrLabel);\r\n }\r\n return msgOrLabel;\r\n }\r\n\r\n private destroyed() {\r\n bus.off(ValidationErrorEventKey, this.onMessages);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebApiMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebApiMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WebApiMessage.vue?vue&type=template&id=5e361244&\"\nimport script from \"./WebApiMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./WebApiMessage.vue?vue&type=script&lang=ts&\"\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\nexport default component.exports"],"sourceRoot":""}