(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{119:function(e,t){e.exports=function(e,t,o){if(!(e instanceof t))throw TypeError("Incorrect "+(o?o+" ":"")+"invocation");return e}},137:function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},144:function(e,t,o){var r=o(353);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,o(167).default)("ae7f4d00",r,!1,{})},145:function(e,t,o){var r=o(355);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,o(167).default)("64235d88",r,!1,{})},146:function(e,t,o){"use strict";var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-panel",{staticClass:"custom-card-block flex-item flex--center-items",attrs:{"prop-custom-background-color":e.propViewModel.BackgroundColor}},[o("h3",{staticClass:"font-h3",domProps:{innerHTML:e._s(e.propViewModel.Header)}}),e._v(" "),o("p",{staticClass:"leader--medium",domProps:{innerHTML:e._s(e.propViewModel.InformationalText)}}),e._v(" "),o("div",{staticClass:"leader"},[o("v-modal",{ref:"modal",attrs:{"prop-link-text":e.propViewModel.ModalLinkText,"prop-link-class":"button button--primary","prop-link-data-test":"claim-owner-button","prop-show-as-small":""},on:{close:e.closeModal,open:e.openModal}},[e._t("default")],2)],1)])};r._withStripped=!0;var n=o(2),i=o(7),s={name:"ClaimsContainer",components:{VPanel:n.VPanel,VModal:i.VModal},inject:{$validator:"$validator"},props:{propViewModel:Object},methods:{closeModal:function(){this.$emit("close")},openModal:function(){this.$emit("open")}}},a=o(1),l=Object(a.a)(s,r,[],!1,null,null,null);l.options.__file="Static/js/my-telenor/organisms/Claim/ClaimsContainer.vue";t.a=l.exports},162:function(e,t,o){var r=o(56);e.exports=function(e,t,o){for(var n in t)r(e,n,t[n],o);return e}},163:function(e,t,o){var r,n,i,s=o(26),a=o(30),l=o(65),c=o(92),u=o(195),p=o(149),d=o(114),h=s.location,f=s.setImmediate,m=s.clearImmediate,v=s.process,g=s.MessageChannel,_=s.Dispatch,b=0,C={},y=function(e){if(C.hasOwnProperty(e)){var t=C[e];delete C[e],t()}},S=function(e){return function(){y(e)}},w=function(e){y(e.data)},k=function(e){s.postMessage(e+"",h.protocol+"//"+h.host)};f&&m||(f=function(e){for(var t=[],o=1;arguments.length>o;)t.push(arguments[o++]);return C[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete C[e]},"process"==l(v)?r=function(e){v.nextTick(S(e))}:_&&_.now?r=function(e){_.now(S(e))}:g&&!/(iphone|ipod|ipad).*applewebkit/i.test(d)?(i=(n=new g).port2,n.port1.onmessage=w,r=c(i.postMessage,i,1)):!s.addEventListener||"function"!=typeof postMessage||s.importScripts||a(k)?r="onreadystatechange"in p("script")?function(e){u.appendChild(p("script")).onreadystatechange=function(){u.removeChild(this),y(e)}}:function(e){setTimeout(S(e),0)}:(r=k,s.addEventListener("message",w,!1))),e.exports={set:f,clear:m}},164:function(e,t,o){"use strict";var r=o(83),n=function(e){var t,o;this.promise=new e((function(e,r){if(void 0!==t||void 0!==o)throw TypeError("Bad Promise constructor");t=e,o=r})),this.resolve=r(t),this.reject=r(o)};e.exports.f=function(e){return new n(e)}},167:function(e,t,o){"use strict";function r(e,t){for(var o=[],r={},n=0;no.parts.length&&(r.parts.length=o.parts.length)}else{var s=[];for(n=0;n1?this.searchTimeout=setTimeout((function(){e.searchInProgress=!0,e.searchResultsAreaVisible=!0,e.searchCancellationToken&&e.searchCancellationToken.cancel(),e.searchCancellationToken=i.a.CancelToken.source();var t=!1;u.httpClient.get("/services/epiFindSearch/siteSearch",{cancelToken:e.searchCancellationToken.token,params:{CurrentPageId:document.getElementById("searchPageId").value,SearchTerm:e.searchTerm,SearchHitCategories:e.propViewModel.searchHitCategoriesString,IsAutoCompleteSearch:!0,UseAbsoluteUrl:!1}}).then((function(t){var o=t.data;o.length?(e.searchResults=e.transformSearchResults(o,e.searchTerm),e.resultsViewModel.noHitsOrErrorText=e.propViewModel.noHitsText):e.searchResults=[]})).catch((function(o){i.a.isCancel(o)?t=!0:o&&o.response&&400===o.response.status&&(e.resultsViewModel.noHitsOrErrorText=o.response.data.Message)})).then((function(){t||e.$nextTick((function(){e.searchInProgress=!1;Object(s.a)(".site-search__results-container__item__link--description",45),e.searchCancellationToken=""})),t=!1}))}),300):this.searchResultsAreaVisible=!1},handleEnterKeyDown:function(){if(null!==this.focusedCategoryIndex){var e=this.searchResults[this.focusedCategoryIndex].searchHits[this.focusedItemIndex];e.url&&(window.location.href=e.url)}else this.submitSearchTerm()},viewportChanged:function(){this.searchResultsAreaVisible&&!this.isDesktop&&(this.showInSmallResolution=!0)},submitSearchTerm:function(){this.searchTerm.length&&(window.location.href=this.allResultsUrl)},hideSearchResultsArea:function(){this.searchResultsAreaVisible=!1,this.searchTerm=""},focusNextItem:function(){this.searchResults.length&&this.searchResults[0].searchHits.length&&(null!==this.focusedCategoryIndex?(this.searchResults[this.focusedCategoryIndex].searchHits[this.focusedItemIndex].isFocused=!1,this.searchResults[this.focusedCategoryIndex].searchHits.length-1>this.focusedItemIndex?this.focusedItemIndex++:this.searchResults.length-1>this.focusedCategoryIndex&&(this.focusedItemIndex=0,this.focusedCategoryIndex++)):(this.focusedCategoryIndex=0,this.focusedItemIndex=0),this.searchResults[this.focusedCategoryIndex].searchHits[this.focusedItemIndex].isFocused=!0)},focusPrevItem:function(){null!==this.focusedCategoryIndex&&(this.searchResults[this.focusedCategoryIndex].searchHits[this.focusedItemIndex].isFocused=!1,0===this.focusedItemIndex&&0===this.focusedCategoryIndex?(this.focusedCategoryIndex=null,this.focusedItemIndex=null):(this.focusedItemIndex>0?this.focusedItemIndex--:this.focusedCategoryIndex>0&&(this.focusedCategoryIndex--,this.focusedItemIndex=this.searchResults[this.focusedCategoryIndex].searchHits.length-1),this.searchResults[this.focusedCategoryIndex].searchHits[this.focusedItemIndex].isFocused=!0))}}},m=o(1),v=Object(m.a)(f,r,[],!1,null,null,null);v.options.__file="Static/js/base/molecules/SiteSearch.vue";var g=v.exports;o.d(t,"SiteSearch",(function(){return g}))},178:function(e,t,o){var r=o(26);e.exports=r.Promise},179:function(e,t,o){var r=o(46),n=o(49),i=o(164);e.exports=function(e,t){if(r(e),n(t)&&t.constructor===e)return t;var o=i.f(e);return(0,o.resolve)(t),o.promise}},180:function(e,t,o){"use strict";var r=o(19),n=o(47),i=o(315),s=o(66),a=o(316),l="".startsWith,c=Math.min;r({target:"String",proto:!0,forced:!a("startsWith")},{startsWith:function(e){var t=String(s(this));i(e);var o=n(c(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return l?l.call(t,r,o):t.slice(o,o+r.length)===r}})},181:function(e,t,o){var r=o(65);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},186:function(e,t,o){"use strict";var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("claims-container",{ref:"claimsContainer",attrs:{"prop-view-model":e.propViewModel},on:{close:e.modalClose}},[o("div",{staticClass:"claim-slides--user"},[o("div",{staticClass:"my-pages-modal"},[e.currentSlide===e.NUMBER?o("submit-mobile-number-slide",{attrs:{"prop-view-model":e.propViewModel},on:{changeSlide:e.changeSlide}}):e._e(),e._v(" "),e.currentSlide===e.OTP?o("verify-mobile-number-slide",{attrs:{"prop-view-model":e.propViewModel},on:{changeSlide:e.changeSlide,success:e.claimSuccess}}):e._e(),e._v(" "),e.currentSlide===e.AGE?o("submit-birth-date-slide",{attrs:{"prop-view-model":e.propViewModel},on:{changeSlide:e.changeSlide,success:e.claimSuccess}}):e._e()],1)])])};r._withStripped=!0;var n=o(146),i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("div",{staticClass:"my-pages-modal__slide "},[o("h3",{staticClass:"font-h3"},[e._v(e._s(e.propViewModel.PhoneHeaderText))]),e._v(" "),o("div",[e._v(e._s(e.propViewModel.PhoneIntroText))]),e._v(" "),o("v-input",{staticClass:"my-pages-modal__form-field",attrs:{"prop-max-length":15,"prop-label":e.propViewModel.PhoneNumber,"prop-validate":"required|customMobilePhone","prop-data-test":"input-phone-number","prop-type":"tel"},on:{validation:e.handleValidateMobileNumber},model:{value:e.inputMobileNumber,callback:function(t){e.inputMobileNumber=t},expression:"inputMobileNumber"}}),e._v(" "),e.showServerError?o("v-alert",{attrs:{"prop-type":"error","prop-show-icon":""}},[e._v("\n "+e._s(e.errorMessage)+"\n ")]):e._e(),e._v(" "),o("v-button",{attrs:{"prop-data-test":"request-code-button","prop-text":e.propViewModel.PhoneButtonText,"prop-progress-indicator":e.showProgressIndicator,"prop-disabled":e.isDisabled},on:{click:e.generateOTPCode}})],1)])};i._withStripped=!0;o(15),o(21),o(68),o(22),o(25),o(180);var s=o(6),a=o(0),l=o(3),c=o(57),u={name:"SubmitMobileNumberSlide",extends:c.a,data:function(){return{isDisabled:!0,inputMobileNumber:"",showServerError:!1,errorMessage:"",showProgressIndicator:!1,tempMobileNumber:""}},props:{propViewModel:Object},methods:{generateOTPCode:function(){var e=this;this.showProgressIndicator=!0,this.inputMobileNumber.startsWith("0")?this.tempMobileNumber=this.inputMobileNumber.replace("0","46"):this.inputMobileNumber.startsWith("+")&&(this.tempMobileNumber=this.inputMobileNumber.replace("+",""));var t={BirthDate:this.propViewModel.BirthDate,Msisdn:this.tempMobileNumber,Otp:""};s.ClaimService.generateUserOtp(t).then((function(){e.showServerError=!1,e.$store.commit("setMobileNumber",e.tempMobileNumber),e.inputMobileNumber="",l.telenorTrackingHelper.myPages.trackUserClaimSteps(a.myTelenor.texts.EnterPhoneNumber,a.myTelenor.texts.EnterPhoneNumber,a.myTelenor.texts.Successful,"",""),e.$emit("changeSlide","otp")})).catch((function(t){t.response.data&&t.response.data.Data&&(e.errorMessage=t.response.data.Data.message),e.showServerError=!0})).finally((function(){e.showProgressIndicator=!1}))},handleValidateMobileNumber:function(e){this.isDisabled=!e}}},p=o(1),d=Object(p.a)(u,i,[],!1,null,null,null);d.options.__file="Static/js/my-telenor/organisms/Claim/UserClaim/SubmitMobileNumberSlide.vue";var h=d.exports,f=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("div",{staticClass:"my-pages-modal__slide"},[o("h3",{staticClass:"font-h3"},[e._v(e._s(e.propViewModel.OtpHeaderText))]),e._v(" "),o("div",{domProps:{innerHTML:e._s(e.propViewModel.OtpIntroText)}}),e._v(" "),o("v-input",{staticClass:"my-pages-modal__form-field",attrs:{"prop-max-length":8,"prop-label":e.propViewModel.VerificationCode,"prop-data-test":"input-otp","prop-type":"tel"},model:{value:e.tempOtpCode,callback:function(t){e.tempOtpCode=t},expression:"tempOtpCode"}}),e._v(" "),o("div",{staticClass:"trailer--small"},[e._v("\n "+e._s(e.propViewModel.OtpBackLinkIntroText)+"\n "),o("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){return t.preventDefault(),e.changeSlide(t)}}},[e._v(e._s(e.propViewModel.OtpBackLinkText))])]),e._v(" "),o("div",{staticClass:"trailer--small"},[e._v("\n "+e._s(e.propViewModel.OtpResendLinkIntroText)+"\n "),o("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){return t.preventDefault(),e.resendOTP(t)}}},[e._v(e._s(e.propViewModel.OtpResendLinkText))])]),e._v(" "),e.showServerError?o("v-alert",{attrs:{"prop-type":"error","prop-show-icon":""}},[e._v("\n "+e._s(e.errorMessage)+"\n ")]):e._e(),e._v(" "),o("v-button",{attrs:{"prop-data-test":"verify-otp-button","prop-text":e.propViewModel.OtpButtonText,"prop-progress-indicator":e.showProgressIndicator},on:{click:e.claimUser}})],1)])};f._withStripped=!0;o(23);var m="number",v="age",g={name:"VerifyMobileNumberSlide",extends:c.a,props:{propViewModel:Object},data:function(){return{tempOtpCode:"",showServerError:!1,errorMessage:"",showProgressIndicator:!1}},mounted:function(){var e=document.querySelectorAll("[data-hook-selected-number]");e.length&&(e[0].innerText=this.mobileNumber)},methods:{claimUser:function(){var e=this;if(this.propViewModel.BirthDate){this.showProgressIndicator=!0,this.showServerError=!1;var t={BirthDate:this.propViewModel.BirthDate.replace(/-/g,""),Msisdn:this.mobileNumber,Otp:this.tempOtpCode};s.ClaimService.claimUser(t).then((function(){var t="".concat(a.myTelenor.texts.UserClaimEvent," ").concat(a.myTelenor.texts.Manual," - ").concat(a.myTelenor.texts.Completed);l.telenorTrackingHelper.myPages.trackUserClaimSteps(a.myTelenor.texts.VerifyPhone,a.myTelenor.texts.VerifyPhone,a.myTelenor.texts.Successful,"",""),l.telenorTrackingHelper.general.trackStepEvent(t,a.myTelenor.texts.Completed),l.telenorTrackingHelper.forms.trackForm(a.myTelenor.texts.OwnershipClaim,a.myTelenor.texts.Submitted),e.$emit("success"),window.location.reload(!1)})).catch((function(t){t&&t.response&&t.response.data.Data&&(e.errorMessage=t.response.data.Data.message,e.showServerError=!0)})).finally((function(){e.showProgressIndicator=!1}))}else this.$store.commit("setOtpCode",this.tempOtpCode),this.$emit("changeSlide",v)},resendOTP:function(){var e=this,t={BirthDate:this.propViewModel.BirthDate,Msisdn:this.mobileNumber,Otp:""};s.ClaimService.generateUserOtp(t).then((function(){e.showServerError=!1,l.telenorTrackingHelper.myPages.trackUserClaimSteps(a.myTelenor.texts.EnterPhoneNumber,a.myTelenor.texts.EnterPhoneNumber,a.myTelenor.texts.Successful,"","")})).catch((function(t){t.response.data&&t.response.data.Data&&(e.errorMessage=t.response.data.Data.message),e.showServerError=!0})).finally((function(){e.showProgressIndicator=!1}))},changeSlide:function(){this.$emit("changeSlide",m)}}},_=Object(p.a)(g,f,[],!1,null,null,null);_.options.__file="Static/js/my-telenor/organisms/Claim/UserClaim/VerifyMobileNumberSlide.vue";var b=_.exports,C=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("div",{staticClass:"my-pages-modal__slide"},[o("h3",{staticClass:"font-h3"},[e._v(e._s(e.propViewModel.DateHeaderText))]),e._v(" "),o("div",[e._v(e._s(e.propViewModel.DateIntroText))]),e._v(" "),o("div",{staticClass:"my-pages-modal__form-field"},[o("v-dropdown",{attrs:{"prop-options":e.days,"prop-data-test":"select-day","prop-label":e.DAY},model:{value:e.selectedDay,callback:function(t){e.selectedDay=t},expression:"selectedDay"}}),e._v(" "),o("v-dropdown",{attrs:{"prop-options":e.months,"prop-data-test":"select-month","prop-label":e.MONTH},model:{value:e.selectedMonth,callback:function(t){e.selectedMonth=t},expression:"selectedMonth"}}),e._v(" "),o("v-dropdown",{attrs:{"prop-options":e.years,"prop-data-test":"select-year","prop-label":e.YEAR},model:{value:e.selectedYear,callback:function(t){e.selectedYear=t},expression:"selectedYear"}})],1),e._v(" "),e.invalidBirthDate?o("p",{staticClass:"dropdown-form-field__error-message"},[e._v(e._s(e.propViewModel.DateDefaultErrorMessage))]):e._e(),e._v(" "),e.showServerError?o("v-alert",{attrs:{"prop-type":"error","prop-show-icon":""}},[e._v("\n "+e._s(e.errorMessage)+"\n ")]):e._e(),e._v(" "),o("v-button",{attrs:{"prop-data-test":"user-claim-complete-button","prop-text":e.propViewModel.DateButtonText,"prop-progress-indicator":e.showProgressIndicator},on:{click:e.claimUser}})],1)])};C._withStripped=!0;o(13),o(14);var y=o(24),S=o.n(y),w="År",k="Månad",T="Dag",x={name:"SubmitBirthdateSlide",extends:c.a,props:{propViewModel:Object},data:function(){return{days:[],months:[],years:[],selectedDay:"",selectedMonth:"",selectedYear:"",showServerError:!1,errorMessage:"",showProgressIndicator:!1,invalidBirthDate:!1}},mounted:function(){var e=this;this.propViewModel.CalendarDays.forEach((function(t){e.days.push({text:t,value:t})})),this.propViewModel.CalendarMonths.forEach((function(t){e.months.push({text:t,value:t})})),this.propViewModel.CalendarYears.forEach((function(t){e.years.push({text:t,value:t})})),this.selectedDay=this.days[0].value,this.selectedMonth=this.months[0].value,this.selectedYear=this.years[0].value},created:function(){this.YEAR=w,this.MONTH=k,this.DAY=T},methods:{validateBirthDate:function(){var e=S()(this.selectedYear+this.selectedMonth+this.selectedDay);this.selectedYear&&this.selectedMonth&&this.selectedDay&&e.isValid()&&!e.isAfter()?this.invalidBirthDate=!1:this.invalidBirthDate=!0},claimUser:function(){var e=this;if(this.showServerError=!1,this.validateBirthDate(),!this.invalidBirthDate){this.showProgressIndicator=!0;var t={BirthDate:S()(this.selectedYear+this.selectedMonth+this.selectedDay).format("YYYYMMDD"),Msisdn:this.mobileNumber,Otp:this.otpCode};s.ClaimService.claimUser(t).then((function(){var t="".concat(a.myTelenor.texts.UserClaimEvent," ").concat(a.myTelenor.texts.Manual," - ").concat(a.myTelenor.texts.Completed);l.telenorTrackingHelper.myPages.trackUserClaimSteps(a.myTelenor.texts.VerifyPhone,a.myTelenor.texts.VerifyPhone,a.myTelenor.texts.Successful,"",""),l.telenorTrackingHelper.general.trackStepEvent(t,a.myTelenor.texts.Completed),l.telenorTrackingHelper.forms.trackForm(a.myTelenor.texts.OwnershipClaim,a.myTelenor.texts.Submitted),e.$emit("success"),window.location.reload(!1)})).catch((function(t){t.response.data&&t.response.data.Data&&(e.errorMessage=t.response.data.Data.message),e.showServerError=!0})).finally((function(){e.showProgressIndicator=!1}))}}}},M=Object(p.a)(x,C,[],!1,null,null,null);M.options.__file="Static/js/my-telenor/organisms/Claim/UserClaim/SubmitBirthdateSlide.vue";var I=M.exports,E="number",V="age",P="otp",O={name:"UserClaim",components:{ClaimsContainer:n.a,SubmitMobileNumberSlide:h,VerifyMobileNumberSlide:b,SubmitBirthDateSlide:I},props:{propViewModel:Object},data:function(){return{currentSlide:E}},methods:{modalClose:function(){this.currentSlide=this.NUMBER},changeSlide:function(e){this.currentSlide=e},claimSuccess:function(){this.$refs.claimsContainer.$refs.modal.closeModal()}},created:function(){this.NUMBER=E,this.AGE=V,this.OTP=P}},L=Object(p.a)(O,r,[],!1,null,null,null);L.options.__file="Static/js/my-telenor/organisms/Claim/UserClaim/UserClaim.vue";t.a=L.exports},200:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={auth:function(e){return r.httpAFTClient.post("/ajax/bankid/auth",e).then((function(e){return e.data}))},autoAuth:function(){return r.httpAFTClient.post("/ajax/bankid/auto-auth").then((function(e){return e.data}))},collect:function(e){return r.httpAFTClient.post("/ajax/bankid/collect",e).then((function(e){return e.data}))},cancel:function(e){return r.httpAFTClient.post("/ajax/bankid/cancel",e).then((function(e){return e.data}))}}},201:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getBroadbandDetails:function(e){return r.httpClient.get("/ajax/broadband-engagements/details?contractId=".concat(e)).then((function(e){return e.data}))},getTvDetails:function(e){return r.httpClient.get("/ajax/tv-engagements/details/".concat(e)).then((function(e){return e.data}))}}},202:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={activateSim:function(e){return r.httpAFTClient.post("/ajax/barring/activate",e).then((function(e){return e.data}))},deactivateSim:function(e){return r.httpAFTClient.post("/ajax/barring/deactivate",e).then((function(e){return e.data}))},showBlockSim:function(){return r.httpClient.get("/ajax/barring/show-block-sim").then((function(e){return e.data}))}}},203:function(e,t,o){"use strict";o.r(t);o(23);var r=o(5);t.default={delete:function(e){return r.httpAFTClient.post("/ajax/clone/delete",e).then((function(e){return e.data}))},isDeleteCompleted:function(e,t){return r.httpClient.get("/ajax/clone/completed?iccId=".concat(e,"&number=").concat(t)).then((function(e){return e.data}))}}},204:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getAllCustomerCampaigns:function(e){return r.httpClient.get("/ajax/customer-campaign/active-campaigns/".concat(e)).then((function(e){return e.data}))}}},205:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={sendOtp:function(e){return r.httpAFTClient.post("/ajax/customer-claim/send-otp",e).then((function(e){return e.data}))},validateOtp:function(e){return r.httpAFTClient.post("/ajax/customer-claim/validate-otp",e).then((function(e){return e.data}))},initBankId:function(e){return r.httpAFTClient.post("/ajax/customer-claim/initiate-bank-id",e).then((function(e){return e.data}))},collectBankId:function(){return r.httpAFTClient.post("/ajax/customer-claim/collect-bank-id").then((function(e){return e.data}))},claimOwnerWithBankId:function(){return r.httpAFTClient.post("/ajax/customer-claim/claim-owner-with-bank-id").then((function(e){return e.data}))},cancelBankId:function(){return r.httpAFTClient.post("/ajax/customer-claim/cancel-bank-id").then((function(e){return e.data}))}}},206:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getState:function(){return r.httpClient.get("/ajax/state").then((function(e){return e.data}))}}},207:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getCustomerOrders:function(){return r.httpClient.get("/ajax/customer-orders/").then((function(e){return e.data}))}}},208:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getCustomerProducts:function(e){return r.httpClient.get("/ajax/customer-products/".concat(e)).then((function(e){return e.data}))},getCustomerConsumption:function(e){return r.httpClient.post("/ajax/customer-consumption/consumption-report/",{msisdn:e}).then((function(e){return e.data}))},getBulletPoints:function(e){return r.httpClient.get("/ajax/customer-products/product-bullet-points/".concat(e)).then((function(e){return e.data}))},getMobileSimCardSettings:function(e){return r.httpClient.get("/ajax/customer-campaign/get-mobile-sim-card-settings/".concat(e)).then((function(e){return e.data}))},getSubscriptions:function(){return r.httpClient.get("/ajax/customer-subscriptions/").then((function(e){return e.data}))},activateMobileSimCardSetting:function(e){return r.httpClient.post("/ajax/customer-campaign/activate-mobile-sim-card-setting/",e).then((function(e){return e.data}))}}},209:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getAllCustomerPaidServices:function(e){return r.httpClient.get("/ajax/customer-subscriptions/".concat(e)).then((function(e){return e.data}))}}},21:function(e,t,o){"use strict";var r,n,i,s,a=o(19),l=o(91),c=o(26),u=o(88),p=o(178),d=o(56),h=o(162),f=o(97),m=o(248),v=o(49),g=o(83),_=o(119),b=o(65),C=o(254),y=o(252),S=o(118),w=o(163).set,k=o(255),T=o(179),x=o(256),M=o(164),I=o(257),E=o(87),V=o(153),P=o(40),O=o(177),L=P("species"),N="Promise",B=E.get,A=E.set,j=E.getterFor(N),$=p,R=c.TypeError,D=c.document,U=c.process,F=u("fetch"),H=M.f,q=H,Y="process"==b(U),G=!!(D&&D.createEvent&&c.dispatchEvent),W=V(N,(function(){if(66===O)return!0;if(!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(l&&!$.prototype.finally)return!0;if(O>=51&&/native code/.test($))return!1;var e=$.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[L]=t,!(e.then((function(){}))instanceof t)})),z=W||!y((function(e){$.all(e).catch((function(){}))})),X=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},K=function(e,t,o){if(!t.notified){t.notified=!0;var r=t.reactions;k((function(){for(var n=t.value,i=1==t.state,s=0;r.length>s;){var a,l,c,u=r[s++],p=i?u.ok:u.fail,d=u.resolve,h=u.reject,f=u.domain;try{p?(i||(2===t.rejection&&ee(e,t),t.rejection=1),!0===p?a=n:(f&&f.enter(),a=p(n),f&&(f.exit(),c=!0)),a===u.promise?h(R("Promise-chain cycle")):(l=X(a))?l.call(a,d,h):d(a)):h(n)}catch(e){f&&!c&&f.exit(),h(e)}}t.reactions=[],t.notified=!1,o&&!t.rejection&&Q(e,t)}))}},J=function(e,t,o){var r,n;G?((r=D.createEvent("Event")).promise=t,r.reason=o,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:o},(n=c["on"+e])?n(r):"unhandledrejection"===e&&x("Unhandled promise rejection",o)},Q=function(e,t){w.call(c,(function(){var o,r=t.value;if(Z(t)&&(o=I((function(){Y?U.emit("unhandledRejection",r,e):J("unhandledrejection",e,r)})),t.rejection=Y||Z(t)?2:1,o.error))throw o.value}))},Z=function(e){return 1!==e.rejection&&!e.parent},ee=function(e,t){w.call(c,(function(){Y?U.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},te=function(e,t,o,r){return function(n){e(t,o,n,r)}},oe=function(e,t,o,r){t.done||(t.done=!0,r&&(t=r),t.value=o,t.state=2,K(e,t,!0))},re=function(e,t,o,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===o)throw R("Promise can't be resolved itself");var n=X(o);n?k((function(){var r={done:!1};try{n.call(o,te(re,e,r,t),te(oe,e,r,t))}catch(o){oe(e,r,o,t)}})):(t.value=o,t.state=1,K(e,t,!1))}catch(o){oe(e,{done:!1},o,t)}}};W&&($=function(e){_(this,$,N),g(e),r.call(this);var t=B(this);try{e(te(re,this,t),te(oe,this,t))}catch(e){oe(this,t,e)}},(r=function(e){A(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h($.prototype,{then:function(e,t){var o=j(this),r=H(S(this,$));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Y?U.domain:void 0,o.parent=!0,o.reactions.push(r),0!=o.state&&K(this,o,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),n=function(){var e=new r,t=B(e);this.promise=e,this.resolve=te(re,e,t),this.reject=te(oe,e,t)},M.f=H=function(e){return e===$||e===i?new n(e):q(e)},l||"function"!=typeof p||(s=p.prototype.then,d(p.prototype,"then",(function(e,t){var o=this;return new $((function(e,t){s.call(o,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof F&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return T($,F.apply(c,arguments))}}))),a({global:!0,wrap:!0,forced:W},{Promise:$}),f($,N,!1,!0),m(N),i=u(N),a({target:N,stat:!0,forced:W},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),a({target:N,stat:!0,forced:l||W},{resolve:function(e){return T(l&&this===i?$:this,e)}}),a({target:N,stat:!0,forced:z},{all:function(e){var t=this,o=H(t),r=o.resolve,n=o.reject,i=I((function(){var o=g(t.resolve),i=[],s=0,a=1;C(e,(function(e){var l=s++,c=!1;i.push(void 0),a++,o.call(t,e).then((function(e){c||(c=!0,i[l]=e,--a||r(i))}),n)})),--a||r(i)}));return i.error&&n(i.value),o.promise},race:function(e){var t=this,o=H(t),r=o.reject,n=I((function(){var n=g(t.resolve);C(e,(function(e){n.call(t,e).then(o.resolve,r)}))}));return n.error&&r(n.value),o.promise}})},210:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getAll:function(){return r.httpClient.get("/ajax/documents/get-documents").then((function(e){return e.data}))}}},211:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={autoClaim:function(e){return r.httpAFTClient.post("/ajax/claims/auto-claim",e).then((function(e){return e.data}))},bankIdState:function(){return r.httpAFTClient.post("/ajax/claims/collect-bank-id").then((function(e){return e.data}))},cancelBankId:function(){return r.httpAFTClient.post("/ajax/claims/cancel-bank-id").then((function(e){return e.data}))},claimUser:function(e){return r.httpAFTClient.post("/ajax/claims/claim-user",e).then((function(e){return e.data}))},confirmClaimAsOwner:function(){return r.httpAFTClient.post("/ajax/claims/claim-owner-with-bankid").then((function(e){return e.data}))},generateUserOtp:function(e){return r.httpAFTClient.post("/ajax/claims/generate-user-otp",e).then((function(e){return e.data}))},initBankId:function(e){return r.httpAFTClient.post("/ajax/claims/initiate-bank-id",{PersonalIdentityNumber:e}).then((function(e){return e.data}))},orderOwnerPostal:function(e){return r.httpAFTClient.post("/ajax/claims/order-owner-postal",e).then((function(e){return e.data}))},orderOwnerSmsOtp:function(e){return r.httpAFTClient.post("/ajax/claims/order-owner-sms-otp",e).then((function(e){return e.data}))},resendOwnerSmsOtp:function(e){return r.httpAFTClient.post("/ajax/claims/resend-owner-sms-otp",e).then((function(e){return e.data}))},roles:function(){return r.httpClient.get("/ajax/claims/roles").then((function(e){return e.data}))},validateOwnerOtp:function(e){return r.httpAFTClient.post("/ajax/claims/validate-owner-otp",e).then((function(e){return e.data}))}}},212:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getBreadcrumbs:function(e){return r.httpClient.get(e).then((function(e){return e.data}))},getSubscriptionDetails:function(e){return r.httpClient.get("/ajax/frontend-customer/subscription/".concat(e)).then((function(e){return e.data}))},getMukOffers:function(e){return r.httpClient.get("/ajax/productoffering/offers/".concat(e,"/MOBILUPPKOPPLING_KLOCKA")).then((function(e){return e.data}))}}},213:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getSubscription:function(e){return r.httpClient.get("/ajax/frontend-customer/subscription/".concat(e))}}},214:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={isMobileOwner:function(){return r.httpClient.get("/ajax/invoice/mobile-owner").then((function(e){return e.data}))},getUnbilledCharges:function(){return r.httpClient.get("/ajax/invoice/unbilled-charges").then((function(e){return e.data}))},getUnbilledChargesDetails:function(e){return r.httpClient.get("/ajax/invoice/unbilled-charge-for-msisdn?msisdn=".concat(e)).then((function(e){return e.data}))}}},215:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={collectMatchingId:function(e){return r.httpAFTClient.post("/ajax/matching-id/collect",e).then((function(e){return e.data}))},postQrCode:function(e,t){return r.httpAFTClient.post("/ajax/matching-id/qrcode",{matchingId:e},{responseType:t}).then((function(e){return e.data}))}}},216:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={updateEmail:function(e){return r.httpAFTClient.put("/ajax/my-settings/update-email",e).then((function(e){return e.data}))},updateBirthDate:function(e){return r.httpAFTClient.put("/ajax/my-settings/update-birthdate",e).then((function(e){return e.data}))},updatePhone:function(e){return r.httpAFTClient.put("/ajax/my-settings/update-phone",e).then((function(e){return e.data}))},updateContactInfo:function(e){return r.httpClient.put("/ajax/party-management/update-party",e).then((function(e){return e.data}))}}},217:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getBroadbandEngagements:function(){return r.httpClient.get("/ajax/broadband-engagements/get-broadband-engagements").then((function(e){return e.data}))},getTransactionId:function(e){return r.httpAFTClient.post("/ajax/broadband-self-troubleshooting/init/".concat(e)).then((function(e){return e.data}))},getStatus:function(e){return r.httpClient.get("/ajax/broadband-self-troubleshooting/get-status?transactionId=".concat(e)).then((function(e){return e.data}))}}},218:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={getTic:function(){return r.httpClient.get("/ajax/telenor-identity-code").then((function(e){return e.data}))},changeTic:function(e){return r.httpAFTClient.post("/ajax/telenor-identity-code/change",e).then((function(e){return e.data}))},unlockTic:function(e){return r.httpAFTClient.post("/ajax/telenor-identity-code/unlock",e).then((function(e){return e.data}))}}},219:function(e,t,o){"use strict";o.r(t);o(75),o(34),o(15),o(39),o(81),o(93),o(291);var r=o(5);t.default={getBreadcrumbs:function(e){var t=new URLSearchParams(e).toString(),o="/ajax/account/get-breadcrumbs?".concat(t);return r.httpClient.get(o).then((function(e){return e.data}))}}},220:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={changeUsername:function(e){return r.httpAFTClient.post("/ajax/subscription/change-username",e).then((function(e){return e.data}))}}},221:function(e,t,o){"use strict";o.r(t);o(23);var r=o(5);t.default={getSubscriptionConsumption:function(e){return r.httpClient.get("/ajax/consumption/subscription-consumption?account=".concat(e,"&includeMembers=true")).then((function(e){return e.data}))},saveRestrictions:function(e,t,o){return r.httpAFTClient.put("/ajax/consumption/put-data-restriction/".concat(e,"/").concat(t),o)}}},222:function(e,t,o){"use strict";o.r(t);o(23);var r=o(5);t.default={getAccountInfo:function(e,t,o,n){var i="/ajax/account/get-account-details-info?isCorporate=".concat(e,"&isPrepaid=").concat(t,"&isOwner=").concat(o,"&activeSubscriptionForm=").concat(n);return r.httpClient.get(i).then((function(e){return e.data}))},getEncryptedIamId:function(){return r.httpClient.get("/ajax/account/get-encrypted-iamid").then((function(e){return e.data}))}}},223:function(e,t,o){"use strict";o.r(t);o(23);var r=o(5);t.default={postOrder:function(e,t){return r.httpAFTClient.post("/ajax/productoffering/order/".concat(e,"/").concat(t)).then((function(e){return e.data}))}}},224:function(e,t,o){"use strict";o.r(t);var r=o(5);t.default={addBuyLimit:function(e){return r.httpAFTClient.post("/ajax/msisdn-management/add",e).then((function(e){return e.data}))},removeBuyLimit:function(e){return r.httpAFTClient.post("/ajax/msisdn-management/remove",e).then((function(e){return e.data}))}}},225:function(e,t,o){"use strict";o.r(t);o(23);var r=o(5);t.default={isActive:function(e){return r.httpClient.get("/ajax/trygg-management/tryggmanagementservices/".concat(e)).then((function(e){return e.data}))},terminate:function(e,t){return r.httpAFTClient.post("/ajax/trygg-management/terminate/".concat(e,"/").concat(t)).then((function(e){return e.data}))}}},253:function(e,t,o){var r=o(30),n=o(40),i=o(91),s=n("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,o="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),o+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==o||"x"!==new URL("http://x",void 0).host}))},254:function(e,t,o){var r=o(46),n=o(251),i=o(47),s=o(92),a=o(135),l=o(289),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,o,u,p){var d,h,f,m,v,g,_,b=s(t,o,u?2:1);if(p)d=e;else{if("function"!=typeof(h=a(e)))throw TypeError("Target is not iterable");if(n(h)){for(f=0,m=i(e.length);m>f;f++)if((v=u?b(r(_=e[f])[0],_[1]):b(e[f]))&&v instanceof c)return v;return new c(!1)}d=h.call(e)}for(g=d.next;!(_=g.call(d)).done;)if("object"==typeof(v=l(d,b,_.value,u))&&v&&v instanceof c)return v;return new c(!1)}).stop=function(e){return new c(!0,e)}},255:function(e,t,o){var r,n,i,s,a,l,c,u,p=o(26),d=o(100).f,h=o(65),f=o(163).set,m=o(114),v=p.MutationObserver||p.WebKitMutationObserver,g=p.process,_=p.Promise,b="process"==h(g),C=d(p,"queueMicrotask"),y=C&&C.value;y||(r=function(){var e,t;for(b&&(e=g.domain)&&e.exit();n;){t=n.fn,n=n.next;try{t()}catch(e){throw n?s():i=void 0,e}}i=void 0,e&&e.enter()},b?s=function(){g.nextTick(r)}:v&&!/(iphone|ipod|ipad).*applewebkit/i.test(m)?(a=!0,l=document.createTextNode(""),new v(r).observe(l,{characterData:!0}),s=function(){l.data=a=!a}):_&&_.resolve?(c=_.resolve(void 0),u=c.then,s=function(){u.call(c,r)}):s=function(){f.call(p,r)}),e.exports=y||function(e){var t={fn:e,next:void 0};i&&(i.next=t),n||(n=t,s()),i=t}},256:function(e,t,o){var r=o(26);e.exports=function(e,t){var o=r.console;o&&o.error&&(1===arguments.length?o.error(e):o.error(e,t))}},257:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},258:function(e,t,o){"use strict";var r=o(19),n=o(72).every;r({target:"Array",proto:!0,forced:o(79)("every")},{every:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})},259:function(e,t,o){o(19)({target:"Function",proto:!0},{bind:o(260)})},260:function(e,t,o){"use strict";var r=o(83),n=o(49),i=[].slice,s={},a=function(e,t,o){if(!(t in s)){for(var r=[],n=0;n=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&&c){if(this.prev=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),x(o),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var r=o.completion;if("throw"===r.type){var n=r.arg;x(o)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,o,r){return this.delegate={iterator:I(e),resultName:o,nextLoc:r},"next"===this.method&&(this.arg=t),f}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},291:function(e,t,o){"use strict";o(81);var r,n=o(19),i=o(51),s=o(253),a=o(26),l=o(194),c=o(56),u=o(119),p=o(58),d=o(318),h=o(319),f=o(199).codeAt,m=o(349),v=o(97),g=o(350),_=o(87),b=a.URL,C=g.URLSearchParams,y=g.getState,S=_.set,w=_.getterFor("URL"),k=Math.floor,T=Math.pow,x=/[A-Za-z]/,M=/[\d+\-.A-Za-z]/,I=/\d/,E=/^(0x|0X)/,V=/^[0-7]+$/,P=/^\d+$/,O=/^[\dA-Fa-f]+$/,L=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,N=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,B=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,A=/[\u0009\u000A\u000D]/g,j=function(e,t){var o,r,n;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(o=R(t.slice(1,-1))))return"Invalid host";e.host=o}else if(W(e)){if(t=m(t),L.test(t))return"Invalid host";if(null===(o=$(t)))return"Invalid host";e.host=o}else{if(N.test(t))return"Invalid host";for(o="",r=h(t),n=0;n4)return e;for(o=[],r=0;r1&&"0"==n.charAt(0)&&(i=E.test(n)?16:8,n=n.slice(8==i?1:2)),""===n)s=0;else{if(!(10==i?P:8==i?V:O).test(n))return e;s=parseInt(n,i)}o.push(s)}for(r=0;r=T(256,5-t))return null}else if(s>255)return null;for(a=o.pop(),r=0;r6)return;for(r=0;d();){if(n=null,r>0){if(!("."==d()&&r<4))return;p++}if(!I.test(d()))return;for(;I.test(d());){if(i=parseInt(d(),10),null===n)n=i;else{if(0==n)return;n=10*n+i}if(n>255)return;p++}l[c]=256*l[c]+n,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(p++,!d())return}else if(d())return;l[c++]=t}else{if(null!==u)return;p++,u=++c}}if(null!==u)for(s=c-u,c=7;0!=c&&s>0;)a=l[c],l[c--]=l[u+s-1],l[u+--s]=a;else if(8!=c)return;return l},D=function(e){var t,o,r,n;if("number"==typeof e){for(t=[],o=0;o<4;o++)t.unshift(e%256),e=k(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,o=1,r=null,n=0,i=0;i<8;i++)0!==e[i]?(n>o&&(t=r,o=n),r=null,n=0):(null===r&&(r=i),++n);return n>o&&(t=r,o=n),t}(e),o=0;o<8;o++)n&&0===e[o]||(n&&(n=!1),r===o?(t+=o?":":"::",n=!0):(t+=e[o].toString(16),o<7&&(t+=":")));return"["+t+"]"}return e},U={},F=d({},U,{" ":1,'"':1,"<":1,">":1,"`":1}),H=d({},F,{"#":1,"?":1,"{":1,"}":1}),q=d({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var o=f(e,0);return o>32&&o<127&&!p(t,e)?e:encodeURIComponent(e)},G={ftp:21,file:null,http:80,https:443,ws:80,wss:443},W=function(e){return p(G,e.scheme)},z=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},K=function(e,t){var o;return 2==e.length&&x.test(e.charAt(0))&&(":"==(o=e.charAt(1))||!t&&"|"==o)},J=function(e){var t;return e.length>1&&K(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Q=function(e){var t=e.path,o=t.length;!o||"file"==e.scheme&&1==o&&K(t[0],!0)||t.pop()},Z=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},oe={},re={},ne={},ie={},se={},ae={},le={},ce={},ue={},pe={},de={},he={},fe={},me={},ve={},ge={},_e={},be={},Ce={},ye=function(e,t,o,n){var i,s,a,l,c,u=o||ee,d=0,f="",m=!1,v=!1,g=!1;for(o||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(B,"")),t=t.replace(A,""),i=h(t);d<=i.length;){switch(s=i[d],u){case ee:if(!s||!x.test(s)){if(o)return"Invalid scheme";u=oe;continue}f+=s.toLowerCase(),u=te;break;case te:if(s&&(M.test(s)||"+"==s||"-"==s||"."==s))f+=s.toLowerCase();else{if(":"!=s){if(o)return"Invalid scheme";f="",u=oe,d=0;continue}if(o&&(W(e)!=p(G,f)||"file"==f&&(z(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,o)return void(W(e)&&G[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?u=he:W(e)&&n&&n.scheme==e.scheme?u=re:W(e)?u=ae:"/"==i[d+1]?(u=ne,d++):(e.cannotBeABaseURL=!0,e.path.push(""),u=_e)}break;case oe:if(!n||n.cannotBeABaseURL&&"#"!=s)return"Invalid scheme";if(n.cannotBeABaseURL&&"#"==s){e.scheme=n.scheme,e.path=n.path.slice(),e.query=n.query,e.fragment="",e.cannotBeABaseURL=!0,u=Ce;break}u="file"==n.scheme?he:ie;continue;case re:if("/"!=s||"/"!=i[d+1]){u=ie;continue}u=le,d++;break;case ne:if("/"==s){u=ce;break}u=ge;continue;case ie:if(e.scheme=n.scheme,s==r)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query;else if("/"==s||"\\"==s&&W(e))u=se;else if("?"==s)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query="",u=be;else{if("#"!=s){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.path.pop(),u=ge;continue}e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query,e.fragment="",u=Ce}break;case se:if(!W(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,u=ge;continue}u=ce}else u=le;break;case ae:if(u=le,"/"!=s||"/"!=f.charAt(d+1))continue;d++;break;case le:if("/"!=s&&"\\"!=s){u=ce;continue}break;case ce:if("@"==s){m&&(f="%40"+f),m=!0,a=h(f);for(var _=0;_65535)return"Invalid port";e.port=W(e)&&y===G[e.scheme]?null:y,f=""}if(o)return;u=ve;continue}return"Invalid port"}f+=s;break;case he:if(e.scheme="file","/"==s||"\\"==s)u=fe;else{if(!n||"file"!=n.scheme){u=ge;continue}if(s==r)e.host=n.host,e.path=n.path.slice(),e.query=n.query;else if("?"==s)e.host=n.host,e.path=n.path.slice(),e.query="",u=be;else{if("#"!=s){J(i.slice(d).join(""))||(e.host=n.host,e.path=n.path.slice(),Q(e)),u=ge;continue}e.host=n.host,e.path=n.path.slice(),e.query=n.query,e.fragment="",u=Ce}}break;case fe:if("/"==s||"\\"==s){u=me;break}n&&"file"==n.scheme&&!J(i.slice(d).join(""))&&(K(n.path[0],!0)?e.path.push(n.path[0]):e.host=n.host),u=ge;continue;case me:if(s==r||"/"==s||"\\"==s||"?"==s||"#"==s){if(!o&&K(f))u=ge;else if(""==f){if(e.host="",o)return;u=ve}else{if(l=j(e,f))return l;if("localhost"==e.host&&(e.host=""),o)return;f="",u=ve}continue}f+=s;break;case ve:if(W(e)){if(u=ge,"/"!=s&&"\\"!=s)continue}else if(o||"?"!=s)if(o||"#"!=s){if(s!=r&&(u=ge,"/"!=s))continue}else e.fragment="",u=Ce;else e.query="",u=be;break;case ge:if(s==r||"/"==s||"\\"==s&&W(e)||!o&&("?"==s||"#"==s)){if(".."===(c=(c=f).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(Q(e),"/"==s||"\\"==s&&W(e)||e.path.push("")):Z(f)?"/"==s||"\\"==s&&W(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&K(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(s==r||"?"==s||"#"==s))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==s?(e.query="",u=be):"#"==s&&(e.fragment="",u=Ce)}else f+=Y(s,H);break;case _e:"?"==s?(e.query="",u=be):"#"==s?(e.fragment="",u=Ce):s!=r&&(e.path[0]+=Y(s,U));break;case be:o||"#"!=s?s!=r&&("'"==s&&W(e)?e.query+="%27":e.query+="#"==s?"%23":Y(s,U)):(e.fragment="",u=Ce);break;case Ce:s!=r&&(e.fragment+=Y(s,F))}d++}},Se=function(e){var t,o,r=u(this,Se,"URL"),n=arguments.length>1?arguments[1]:void 0,s=String(e),a=S(r,{type:"URL"});if(void 0!==n)if(n instanceof Se)t=w(n);else if(o=ye(t={},String(n)))throw TypeError(o);if(o=ye(a,s,null,t))throw TypeError(o);var l=a.searchParams=new C,c=y(l);c.updateSearchParams(a.query),c.updateURL=function(){a.query=String(l)||null},i||(r.href=ke.call(r),r.origin=Te.call(r),r.protocol=xe.call(r),r.username=Me.call(r),r.password=Ie.call(r),r.host=Ee.call(r),r.hostname=Ve.call(r),r.port=Pe.call(r),r.pathname=Oe.call(r),r.search=Le.call(r),r.searchParams=Ne.call(r),r.hash=Be.call(r))},we=Se.prototype,ke=function(){var e=w(this),t=e.scheme,o=e.username,r=e.password,n=e.host,i=e.port,s=e.path,a=e.query,l=e.fragment,c=t+":";return null!==n?(c+="//",z(e)&&(c+=o+(r?":"+r:"")+"@"),c+=D(n),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(c+="?"+a),null!==l&&(c+="#"+l),c},Te=function(){var e=w(this),t=e.scheme,o=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&W(e)?t+"://"+D(e.host)+(null!==o?":"+o:""):"null"},xe=function(){return w(this).scheme+":"},Me=function(){return w(this).username},Ie=function(){return w(this).password},Ee=function(){var e=w(this),t=e.host,o=e.port;return null===t?"":null===o?D(t):D(t)+":"+o},Ve=function(){var e=w(this).host;return null===e?"":D(e)},Pe=function(){var e=w(this).port;return null===e?"":String(e)},Oe=function(){var e=w(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Le=function(){var e=w(this).query;return e?"?"+e:""},Ne=function(){return w(this).searchParams},Be=function(){var e=w(this).fragment;return e?"#"+e:""},Ae=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(we,{href:Ae(ke,(function(e){var t=w(this),o=String(e),r=ye(t,o);if(r)throw TypeError(r);y(t.searchParams).updateSearchParams(t.query)})),origin:Ae(Te),protocol:Ae(xe,(function(e){var t=w(this);ye(t,String(e)+":",ee)})),username:Ae(Me,(function(e){var t=w(this),o=h(String(e));if(!X(t)){t.username="";for(var r=0;r>1,e+=s(e/t);e>455;r+=36)e=s(e/35);return s(r+36*e/(e+38))},u=function(e){var t,o,r=[],n=(e=function(e){for(var t=[],o=0,r=e.length;o=55296&&n<=56319&&o=u&&os((2147483647-p)/v))throw RangeError(i);for(p+=(m-u)*v,u=m,t=0;t2147483647)throw RangeError(i);if(o==u){for(var g=p,_=36;;_+=36){var b=_<=d?1:_>=d+26?26:_-d;if(g0?arguments[0]:void 0,u=this,h=[];if(T(u,{type:"URLSearchParams",entries:h,updateURL:function(){},updateSearchParams:$}),void 0!==c)if(v(c))if("function"==typeof(e=C(c)))for(o=(t=e.call(c)).next;!(r=o.call(t)).done;){if((s=(i=(n=b(m(r.value))).next).call(n)).done||(a=i.call(n)).done||!i.call(n).done)throw TypeError("Expected sequence with length 2");h.push({key:s.value+"",value:a.value+""})}else for(l in c)d(c,l)&&h.push({key:l,value:c[l]+""});else j(h,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},F=U.prototype;a(F,{append:function(e,t){R(arguments.length,2);var o=x(this);o.entries.push({key:e+"",value:t+""}),o.updateURL()},delete:function(e){R(arguments.length,1);for(var t=x(this),o=t.entries,r=e+"",n=0;ne.key){n.splice(t,0,e);break}t===o&&n.push(e)}r.updateURL()},forEach:function(e){for(var t,o=x(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),n=0;n1&&(t=arguments[1],v(t)&&(o=t.body,"URLSearchParams"===f(o)&&((r=t.headers?new w(t.headers):new w).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:_(0,String(o)),headers:_(0,r)}))),n.push(t)),S.apply(this,n)}}),e.exports={URLSearchParams:U,getState:x}},351:function(e,t,o){var r=o(46),n=o(135);e.exports=function(e){var t=n(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},352:function(e,t,o){"use strict";var r=o(144);o.n(r).a},353:function(e,t,o){},354:function(e,t,o){"use strict";var r=o(145);o.n(r).a},355:function(e,t,o){},507:function(e,t,o){void 0!==e.exports&&(e.exports=function(e){"use strict";var t=navigator.userAgent.indexOf("Edge/")>=0,o=new Image,r="object-fit"in o.style&&!t,n="object-position"in o.style&&!t,i=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g;function s(e){for(var t=getComputedStyle(e).fontFamily,o=null,r={};null!==(o=i.exec(t));)r[o[1]]=o[2];return r["object-position"]?function(e){~e["object-position"].indexOf("left")?e["object-position-x"]="left":~e["object-position"].indexOf("right")?e["object-position-x"]="right":e["object-position-x"]="center";~e["object-position"].indexOf("top")?e["object-position-y"]="top":~e["object-position"].indexOf("bottom")?e["object-position-y"]="bottom":e["object-position-y"]="center";return e}(r):r}function a(e,t){if("fill"!==t["object-fit"]){var o=e.style,r=window.getComputedStyle(e),n=document.createElement("object-fit");n.appendChild(e.parentNode.replaceChild(n,e));var i={height:"100%",width:"100%",boxSizing:"content-box",display:"inline-block",overflow:"hidden"};for(var s in"backgroundColor backgroundImage borderColor borderStyle borderWidth bottom fontSize lineHeight left opacity margin position right top visibility".replace(/\w+/g,(function(e){i[e]=r[e]})),i)n.style[s]=i[s];o.border=o.margin=o.padding=0,o.display="block",o.opacity=1,e.addEventListener("loadedmetadata",a),window.addEventListener("optimizedResize",a),e.readyState>=1&&(e.removeEventListener("loadedmetadata",a),a())}function a(){var r=e.videoWidth/e.videoHeight,i=n.clientWidth,s=n.clientHeight,a=i/s,l=0,c=0;o.marginLeft=o.marginTop=0,(r1?1:l,o=.5*(1-Math.cos(Math.PI*a)),r=t.startX+(t.x-t.startX)*o,i=t.startY+(t.y-t.startY)*o,t.method.call(t.scrollable,r,i),r===t.x&&i===t.y||e.requestAnimationFrame(f.bind(e,t))}function m(o,r,n){var a,c,u,p,d=s();o===t.body?(a=e,c=e.scrollX||e.pageXOffset,u=e.scrollY||e.pageYOffset,p=i.scroll):(a=o,c=o.scrollLeft,u=o.scrollTop,p=l),f({scrollable:a,method:p,startTime:d,startX:c,startY:u,x:r,y:n})}}}}()},510:function(e,t,o){"use strict";o.r(t);var r=o(89);o(511);r.a.importAll(o(515)),r.a.importAll(o(547))},511:function(e,t,o){var r=o(512);"string"==typeof r&&(r=[[e.i,r,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(513)(r,n);r.locals&&(e.exports=r.locals)},512:function(e,t,o){},513:function(e,t,o){var r,n,i={},s=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===n&&(n=r.apply(this,arguments)),n}),a=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,o){if("function"==typeof e)return e();if(void 0===t[e]){var r=a.call(this,e,o);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}}(),c=null,u=0,p=[],d=o(514);function h(e,t){for(var o=0;o=0&&p.splice(t,1)}function g(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return o.nc}();r&&(e.attrs.nonce=r)}return _(t,e.attrs),m(e,t),t}function _(e,t){Object.keys(t).forEach((function(o){e.setAttribute(o,t[o])}))}function b(e,t){var o,r,n,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var s=u++;o=c||(c=g(t)),r=S.bind(null,o,s,!1),n=S.bind(null,o,s,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",_(t,e.attrs),m(e,t),t}(t),r=k.bind(null,o,t),n=function(){v(o),o.href&&URL.revokeObjectURL(o.href)}):(o=g(t),r=w.bind(null,o),n=function(){v(o)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else n()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var o=f(e,t);return h(o,t),function(e){for(var r=[],n=0;n").attr("value",o).text(o);t.append(r)}))};n=window.location.search,i={},n.replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),(function(e,t,o,r){i[t]=r})),(s=i)&&s.categoryid&&(e.prop("selectedIndex",parseInt(s.categoryid)+1),s.tagid&&(o.show(),r(),t.prop("selectedIndex",s.tagid))),e.change((function(){o.show(),r()}))}var n,i,s}))},55:function(e,t,o){"use strict";o.r(t);var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"col-xs-12 col-sm-6 col-md-6 col-lg-4 engagement pill-container"},[o("div",{staticClass:"engagement__panel panel",style:{backgroundColor:e.propBackgroundColor}},[o("div",{staticClass:"panel-body flex flex--wrap engagement__body"},[o("div",{staticClass:"leader--medium engagement__container"},[o("h3",{staticClass:"trailer font-h3"},[e._v(e._s(e.propViewModel.name))]),e._v(" "),o("div",{staticClass:"usp-list"},[o("ul",{staticClass:"list--check"},e._l(e.propViewModel.bulletPoints,(function(t,r){return o("li",{key:r,staticClass:"flex--row "},[e._v(e._s(t))])})),0)])]),e._v(" "),o("div",{staticClass:"engagement__container engagement__container--bottom leader--large"},[e.propViewModel.linkText&&e.propViewModel.linkUrl?o("a",{staticClass:"button button--secondary",attrs:{href:e.propViewModel.linkUrl,target:"_blank"}},[e._v("\n "+e._s(e.propViewModel.linkText)+"\n ")]):e._e(),e._v(" "),e.propViewModel.secondaryLinkText&&e.propViewModel.secondaryLinkUrl?o("a",{staticClass:"link link--with-angle-right display--block",attrs:{href:e.propViewModel.secondaryLinkUrl,target:"_blank"}},[e._v("\n "+e._s(e.propViewModel.secondaryLinkText)+"\n ")]):e._e()])])])])};r._withStripped=!0;var n={name:"AccountInfo",props:{propViewModel:Object,propBackgroundColor:String}},i=o(1),s=Object(i.a)(n,r,[],!1,null,null,null);s.options.__file="Static/js/my-telenor/organisms/AccountInfo/AccountInfo.vue";var a=s.exports,l=function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.securityCode?o("v-panel",{class:e.propAdditionalClass,attrs:{"prop-header":e.propHeader}},[o("label",{staticClass:"font-small font-weight--medium"},[e._v(e._s(e.propCodeTitle))]),e._v(" "),e.codeLocked?e._e():o("div",[o("telenor-identity-code-change",{attrs:{"prop-flexible-height":"","prop-link-text":e.propChangeCodeText,"prop-modal-header":e.propChangeHeader,"prop-wrong-format-error-message":e.propWrongFormatErrorMessage,"prop-not-equal-error-message":e.propNotEqualErrorMessage,"prop-forbidden-code-message":e.propForbiddenCodeMessage,"prop-server-error-title":e.propServerErrorTitle,"prop-modal-intro":e.propChangeIntro,"prop-button-text":e.propChangeButtonText,"prop-code-label":e.propCodeLabel,"prop-code-duplicate-label":e.propCodeDuplicateLabel},on:{"update-code":e.onUpdateCode}})],1),e._v(" "),o("p",{staticClass:"font-p my-pages__settings__info__details__info"},[o("span",{class:{"telenor-identity-code--inactive":e.codeLocked}},[e._v(e._s(e.securityCode))])]),e._v(" "),e.codeLocked?o("div",[o("telenor-identity-code-unlock",{attrs:{"prop-unlock-message":e.propUnlockMessage,"prop-unlock-button-text":e.propUnlockButtonText},on:{"update-code":e.onUpdateCode}})],1):o("div",[o("div",{staticClass:"leader font-p",domProps:{innerHTML:e._s(e.propExplanation)}})])]):e._e()};l._withStripped=!0;var c=o(2),u=o(6),p=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-modal",{ref:"modal",attrs:{"prop-link-text":e.propLinkText,"prop-link-class":"pull-right link--with-angle-right","prop-show-as-small":"","prop-header":e.propModalHeader},on:{close:e.closeModal}},[e.serverError?o("div",{staticClass:"my-pages-modal my-pages-modal--error"},[o("div",{staticClass:"my-pages-modal__body flex--column flex--center-items text--center"},[o("i",{staticClass:"trailer--large icon my-pages-modal__icon icon-alert"}),e._v(" "),o("h3",{staticClass:"font-h3 message-identiway"},[e._v(e._s(e.propServerErrorTitle))]),e._v(" "),o("p",[e._v(e._s(e.serverErrorMessage))]),e._v(" "),o("div",{staticClass:"my-pages-modal__button-container flex flex--column"},[o("input",{staticClass:"button",attrs:{type:"button",value:"Stäng"},on:{click:function(t){return e.closeModal(!0)}}})])])]):o("div",[o("p",{staticClass:"leader",domProps:{innerHTML:e._s(e.propModalIntro)}}),e._v(" "),o("v-input",{ref:"codeInput",attrs:{"prop-label":"Välj din kod","prop-placeholder":"1234","prop-name":"code","prop-validate":"required","prop-error-message":e.propWrongFormatErrorMessage,"prop-trigger-validation":e.showFirstErrorMessage,"prop-type":"tel","prop-max-length":4},model:{value:e.code,callback:function(t){e.code=t},expression:"code"}}),e._v(" "),o("v-input",{ref:"codeDuplicateInput",attrs:{"prop-label":"Ange koden igen","prop-placeholder":"1234","prop-name":"codeDuplicate","prop-validate":"required","prop-error-message":e.propWrongFormatErrorMessage,"prop-trigger-validation":e.showSecondErrorMessage,"prop-type":"tel","prop-max-length":4},model:{value:e.codeDuplicate,callback:function(t){e.codeDuplicate=t},expression:"codeDuplicate"}}),e._v(" "),e.showDuplicateErrorMessage?o("p",{staticClass:"input-form-field__error-message"},[e._v(e._s(e.propNotEqualErrorMessage))]):e._e(),e._v(" "),e.showForbiddenCodeErrorMessage?o("p",{staticClass:"input-form-field__error-message"},[e._v(e._s(e.propForbiddenCodeMessage))]):e._e(),e._v(" "),o("v-button",{staticClass:"leader",attrs:{"prop-text":e.propButtonText},on:{click:e.validateAndUpdateCode}})],1)])};p._withStripped=!0;var d=o(8),h=o(7),f=o(9),m={name:"TelenorIdentityCodeChange",components:{VModal:h.VModal,VButton:c.VButton,VInput:f.VInput},inject:{$validator:"$validator"},props:{propLinkText:{type:String,required:!0},propModalHeader:{type:String},propModalIntro:{type:String},propForbiddenCodeMessage:{type:String,required:!0},propWrongFormatErrorMessage:{type:String,required:!0},propNotEqualErrorMessage:{type:String,required:!0},propServerErrorTitle:{type:String,required:!0},propButtonText:{type:String,required:!0},propCodeLabel:{type:String,required:!0},propCodeDuplicateLabel:{type:String,required:!0}},data:function(){return{code:"",codeDuplicate:"",showFirstErrorMessage:!1,showSecondErrorMessage:!1,showDuplicateErrorMessage:!1,showForbiddenCodeErrorMessage:!1,serverError:!1,serverErrorMessage:""}},methods:{clearErrors:function(){this.showFirstErrorMessage=!1,this.showSecondErrorMessage=!1,this.showDuplicateErrorMessage=!1,this.showForbiddenCodeErrorMessage=!1},clearCodes:function(){this.code="",this.codeDuplicate="",this.$refs.codeDuplicateInput&&(this.$refs.codeDuplicateInput.currentInputValue=this.codeDuplicate),this.$refs.codeInput&&(this.$refs.codeInput.currentInputValue=this.code)},validateAndUpdateCode:function(){this.clearErrors(),this.validateInput()&&this.updateCode()},validateInput:function(){var e=this.code,t=this.codeDuplicate,o=/^\d+$/,r=!1;return 4===e.length&&o.test(e)||(this.showFirstErrorMessage=!0,r=!0),4===t.length&&o.test(t)||(this.showSecondErrorMessage=!0,r=!0),e!==t&&(this.showDuplicateErrorMessage=!0,r=!0),!r},updateCode:function(){var e=this,t={securityCode:this.code};u.TelenorIdentityCodeService.changeTic(d.generalUtils.attachSecurityToken(t)).then((function(){e.$emit("update-code",e.code),e.closeModal(!0)})).catch((function(t){t.response.data&&4012===t.response.data.Data.bapiErrorCode?e.showForbiddenCodeErrorMessage=!0:(e.serverError=!0,e.serverErrorMessage=t.response.data.Data.message)}))},closeModal:function(e){var t=this.$refs.modal;this.serverError=!1,this.clearErrors(),this.clearCodes(),e&&t.closeModal()}}},v=Object(i.a)(m,p,[],!1,null,null,null);v.options.__file="Static/js/my-telenor/organisms/TelenorIdentityCode/TelenorIdentityCodeChange.vue";var g=v.exports,_=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"message-box error trailer leader my-pages-messag"},[t("i",{staticClass:"icon icon-alert"}),this._v(" "),t("div",{staticClass:"message-box__text"},[t("div",{domProps:{innerHTML:this._s(this.propUnlockMessage)}}),this._v(" "),t("div",{staticClass:"leader"},[t("v-button",{staticClass:"button--no-bottom-margin",attrs:{"prop-text":this.propUnlockButtonText,"prop-progress-indicator":this.unlockInProgress,"prop-type":"alert"},on:{click:this.unlockCode}})],1)])])};_._withStripped=!0;var b={name:"TelenorIdentityCodeUnlock",components:{VButton:c.VButton},props:{propUnlockButtonText:{type:String},propUnlockMessage:{type:String}},data:function(){return{unlockInProgress:!1}},methods:{unlockCode:function(){var e=this;this.unlockInProgress=!0,u.TelenorIdentityCodeService.unlockTic().then((function(t){e.$emit("update-code",t.securityCode),e.unlockInProgress=!1})).catch((function(){e.unlockInProgress=!1}))}}},C=Object(i.a)(b,_,[],!1,null,null,null);C.options.__file="Static/js/my-telenor/organisms/TelenorIdentityCode/TelenorIdentityCodeUnlock.vue";var y={name:"TelenorIdentityCode",components:{TelenorIdentityCodeChange:g,TelenorIdentityCodeUnlock:C.exports,VPanel:c.VPanel},props:{propHeader:{type:String},propCodeTitle:{type:String},propChangeCodeText:{type:String},propExplanation:{type:String},propAdditionalClass:{type:String},propChangeHeader:{type:String},propChangeIntro:{type:String},propChangeButtonText:{type:String},propWrongFormatErrorMessage:{type:String},propNotEqualErrorMessage:{type:String},propForbiddenCodeMessage:{type:String},propServerErrorTitle:{type:String},propUnlockButtonText:{type:String},propUnlockMessage:{type:String},propCodeLabel:{type:String},propCodeDuplicateLabel:{type:String}},data:function(){return{securityCode:"",codeLocked:!1}},created:function(){var e=this;u.TelenorIdentityCodeService.getTic().then((function(t){e.securityCode=t.securityCode})).catch((function(t){4009===t.response.data.Data.bapiErrorCode&&(e.securityCode="XXXX",e.codeLocked=!0)}))},methods:{onUpdateCode:function(e){this.securityCode=e,this.codeLocked=!1}}},S=Object(i.a)(y,l,[],!1,null,null,null);S.options.__file="Static/js/my-telenor/organisms/TelenorIdentityCode/TelenorIdentityCode.vue";var w=S.exports,k=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("v-panel",{attrs:{"prop-background-color":e.flowCompleted?"green":"turquoise","data-test":"initiate-claim-panel"}},[o("img",{staticClass:"phone-plus hidden-sm hidden-xs",attrs:{src:"/Static/images/phone-plus.png"}}),e._v(" "),o("h3",{staticClass:"checkout-form-step__header font-h3 header-text"},[e._v("\n "+e._s(e.propEpiContent.title)+"\n "),o("a",{staticClass:"checkout-form-step__header__edit",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.collapsed(t)}}},[e._v("\n "+e._s(e.toggleAreaText)+"\n "),e.claimSectionCollapsed?o("i",{staticClass:"icon icon-angle-down new-number-icon"}):e._e()])])]),e._v(" "),o("collapsible-content",{attrs:{"prop-collapsed":e.isCollapsed}},[o("v-panel",{directives:[{name:"show",rawName:"v-show",value:!e.isOwner,expression:"!isOwner"}],attrs:{"prop-background-color":e.isDone(1)?"green":"turquoise"}},[o("h3",{staticClass:"checkout-form-step__header font-h3"},[e.isDone(1)?o("span",{staticClass:"checkout-form-step__header__checkmark"},[o("i",{staticClass:"icon icon-check"})]):o("span",{staticClass:"checkout-form-step__header__circle"},[e._v("1")]),e._v("\n "+e._s(e.propEpiContent.claimTypeTitle)+"\n "),e.shouldShowEdit?o("a",{staticClass:"checkout-form-step__header__edit",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.editValues(t)}}},[e._v(e._s(e.propEpiContent.change))]):e._e()]),e._v(" "),o("collapsible-content",{attrs:{"prop-collapsed":!e.currentStep(1)}},[o("div",{staticClass:"row"},[o("div",{staticClass:"col-xs-12 col-md-6"},[o("p",{staticClass:"trailer"},[e._v(e._s(e.propEpiContent.claimTypePreamble))]),e._v(" "),o("v-radio-button",{key:"claim-owner",attrs:{value:e.claimType,"prop-label":e.propEpiContent.claimTypeOwnerText,"prop-name":"claim","prop-value":"owner"},on:{input:function(t){return e.changeClaimType(t)}}},[e._t("default",[o("div",{staticClass:"font-p",domProps:{innerHTML:e._s(e.propEpiContent.claimTypeOwnerSubText)}})])],2),e._v(" "),o("v-radio-button",{key:"claim-user",attrs:{value:e.claimType,"prop-label":e.propEpiContent.claimTypeUserText,"prop-name":"claim","prop-value":"user"},on:{input:function(t){return e.changeClaimType(t)}}},[e._t("default",[o("div",{staticClass:"font-p",domProps:{innerHTML:e._s(e.propEpiContent.claimTypeUserSubText)}})])],2),e._v(" "),o("v-button",{staticClass:"trailer--none",attrs:{"prop-text":e.propEpiContent.continueButtonText,"prop-data-test":"choose-customer-claim-flow"},on:{click:e.selectClaimFlow}})],1)])])],1),e._v(" "),o("v-panel",{attrs:{"prop-background-color":e.isDone(2)?"green":"turquoise"}},[o("h3",{staticClass:"checkout-form-step__header font-h3"},[e.isDone(2)?o("span",{staticClass:"checkout-form-step__header__checkmark"},[o("i",{staticClass:"icon icon-check"})]):o("span",{staticClass:"checkout-form-step__header__circle"},[e._v(e._s(e.isOwner?1:2))]),e._v("\n "+e._s(e.propEpiContent.accountDetailsTitle)+"\n ")]),e._v(" "),o("collapsible-content",{attrs:{"prop-collapsed":!e.currentStep(2)}},[o(e.getComponent,{tag:"component",attrs:{"prop-epi-content":e.showUserClaimFlow?e.propEpiContent.userClaim.specifyMsisdn:e.propEpiContent.ownerClaim.specifyPersonalIdentityNumber}})],1)],1),e._v(" "),o("v-panel",{attrs:{"prop-background-color":e.panelBg}},[o("h3",{staticClass:"checkout-form-step__header font-h3"},[e.flowCompleted?o("span",{staticClass:"checkout-form-step__header__checkmark"},[o("i",{staticClass:"icon icon-check"})]):o("span",{staticClass:"checkout-form-step__header__circle"},[e._v(e._s(e.isOwner?2:3))]),e._v("\n "+e._s(e.propEpiContent.verificationTitle)+"\n ")]),e._v(" "),o("collapsible-content",{attrs:{"prop-collapsed":!e.currentStep(3)}},[o(e.showUserClaimFlow?"verify-otp":"verify-method",{tag:"component",attrs:{"prop-epi-content":e.showUserClaimFlow?e.propEpiContent.userClaim.verifyOtp:e.propEpiContent.ownerClaim.verifyMethod}})],1)],1)],1)],1)};k._withStripped=!0;var T=o(0),x=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"row"},[o("div",{staticClass:"col-md-6 col-xs-12"},[e.hasBirthDate?o("div",[o("p",{staticClass:"font-p leader--medium",attrs:{"data-test":"add-msisdn-paragraph"},domProps:{innerHTML:e._s(e.propEpiContent.paragraph)}}),e._v(" "),o("v-input",{attrs:{"prop-label":e.propEpiContent.msisdnInputLabel,"prop-placeholder":e.propEpiContent.msisdnInputPlaceholder,"prop-validate":e.msisdnValidation,"prop-data-test":"add-msisdn-input","prop-type":"tel","prop-max-length":10},on:{validation:e.handleValidateMobileNumber},model:{value:e.msisdn,callback:function(t){e.msisdn=t},expression:"msisdn"}}),e._v(" "),o("v-button",{staticClass:"trailer--none",attrs:{"prop-text":e.propEpiContent.sendCodeButtonText,"prop-progress-indicator":e.isLoading,"prop-disabled":e.isInvalidMsisdn,"prop-data-test":"add-msisdn-send-code-button"},on:{click:e.sendCode}}),e._v(" "),e.serverError?o("v-alert",{staticClass:"leader--medium",attrs:{"prop-show-icon":"","prop-type":"error"}}):e._e()],1):o("div",[o("specify-birth-date",{attrs:{"prop-epi-content":e.propEpiContent.specifyBirthDate},on:{click:e.saveBirthDate}})],1)])])};x._withStripped=!0;o(15),o(21),o(29);var M=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("p",{staticClass:"font-p leader--medium",domProps:{innerHTML:e._s(e.propEpiContent.paragraph)}}),e._v(" "),o("v-input",{attrs:{"prop-label":e.propEpiContent.birthDateInputLabel,"prop-placeholder":e.propEpiContent.birthDateInputPlaceholder,"prop-type":"tel","prop-validate":e.birthDateValidation,"prop-max-length":8,"prop-data-test":"add-birthdate-input"},on:{validation:e.handleValidateBirthDate},model:{value:e.birthDate,callback:function(t){e.birthDate=t},expression:"birthDate"}}),e._v(" "),o("v-button",{staticClass:"trailer--none",attrs:{"prop-text":e.propEpiContent.saveBirthDateButtonText,"prop-disabled":e.isInvalidBirthDate,"prop-data-test":"add-birthdate-button"},on:{click:e.verifyBirthDate}})],1)};M._withStripped=!0;var I={name:"SpecifyBirthDate",components:{VButton:c.VButton,VInput:f.VInput},inject:{$validator:"$validator"},props:{propEpiContent:{type:Object,required:!1}},data:function(){return{isInvalidBirthDate:!0,birthDate:""}},computed:{birthDateValidation:function(){return this.$store.getters.birthDateValidationProperty}},methods:{verifyBirthDate:function(){this.$emit("click",this.birthDate)},handleValidateBirthDate:function(e){this.isInvalidBirthDate=!e}}},E=Object(i.a)(I,M,[],!1,null,null,null);E.options.__file="Static/js/my-telenor/organisms/CustomerClaim/UserClaim/SpecifyBirthDate.vue";var V=E.exports,P={name:"SpecifyMsisdn",components:{CollapsibleContent:h.CollapsibleContent,VAlert:c.VAlert,VButton:c.VButton,VInput:f.VInput,SpecifyBirthDate:V},props:{propEpiContent:{type:Object,required:!0}},data:function(){return{isInvalidMsisdn:!0,isLoading:!1,serverError:!1}},computed:{msisdnValidation:function(){return this.$store.getters.msisdnValidationProperty},msisdn:{get:function(){return this.$store.state.userClaimModule.msisdn},set:function(e){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_USER_CLAIM_MSISDN,e)}},hasBirthDate:function(){return""!==this.$store.state.userClaimModule.birthDate}},created:function(){0===this.$store.state.userClaimModule.birthDate.length&&this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_USER_CLAIM_BIRTHDATE,d.generalUtils.removeHyphenAndWhitespace(this.$store.state.stateModule.customerState.birthDate))},methods:{sendCode:function(){var e;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return this.serverError=!1,this.isLoading=!0,t.prev=2,e={msisdn:this.msisdn},t.next=6,regeneratorRuntime.awrap(u.CustomerClaimService.sendOtp(e));case 6:this.handleSuccess(),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),this.setServerError();case 12:case"end":return t.stop()}}),null,this,[[2,9]])},handleSuccess:function(){this.isLoading=!1,this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_CURRENT_STEP,3)},handleValidateMobileNumber:function(e){this.isInvalidMsisdn=!e},setServerError:function(){this.serverError=!0,this.isLoading=!1},saveBirthDate:function(e){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_USER_CLAIM_BIRTHDATE,e)}}},O=Object(i.a)(P,x,[],!1,null,null,null);O.options.__file="Static/js/my-telenor/organisms/CustomerClaim/UserClaim/SpecifyMsisdn.vue";var L=O.exports,N=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"row"},[o("div",{staticClass:"col-md-6 col-xs-12"},[e.flowCompleted?o("div",[o("p",{staticClass:"font-p leader--small"},[e._v(e._s(e.confirmationText))])]):o("div",[o("p",{staticClass:"font-p leader--medium",attrs:{"data-test":"verify-msisdn-paragraph"},domProps:{innerHTML:e._s(e.paragraphText)}}),e._v(" "),o("v-input",{attrs:{"prop-label":e.propEpiContent.inputLabelText,"prop-placeholder":e.propEpiContent.inputPlaceholderText,"prop-validate":e.otpValidation,"prop-max-length":6,"prop-data-test":"verify-msisdn-input-field"},on:{validation:e.handleValidateOtp},model:{value:e.otp,callback:function(t){e.otp=t},expression:"otp"}}),e._v(" "),o("v-button",{staticClass:"trailer--none",attrs:{"prop-text":e.propEpiContent.confirmButtonText,"prop-progress-indicator":e.isLoading,"prop-disabled":e.isInvalidOtp,"prop-data-test":"verify-msisdn-confirm-button"},on:{click:e.claimUser}}),e._v(" "),o("p",{staticClass:"font--small leader--small",on:{click:e.sendCode}},[e._v(e._s(e.propEpiContent.noCodeText)+" "),o("a",{staticClass:"link",attrs:{href:"#"}},[e._v(e._s(e.propEpiContent.noCodeLinkText))])]),e._v(" "),e.serverError?o("v-alert",{staticClass:"leader--medium",attrs:{"prop-show-icon":"","prop-type":"error"}}):e._e()],1)])])};N._withStripped=!0;o(22),o(25),o(42);var B={name:"VerifyOtp",components:{CollapsibleContent:h.CollapsibleContent,VAlert:c.VAlert,VButton:c.VButton,VInput:f.VInput,VPanel:c.VPanel},inject:{$validator:"$validator"},props:{propEpiContent:{type:Object,required:!0}},data:function(){return{isInvalidOtp:!0,isLoading:!1,serverError:!1}},computed:{otpValidation:function(){return this.$store.getters.otpValidationProperty},otp:{get:function(){return this.$store.state.userClaimModule.otp},set:function(e){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_USER_CLAIM_OTP,e)}},flowCompleted:{get:function(){return this.$store.state.sharedClaimModule.flowCompleted},set:function(e){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_FLOW_COMPLETED,e)}},msisdn:function(){return this.$store.state.userClaimModule.msisdn},birthDate:function(){return this.$store.state.userClaimModule.birthDate},confirmationText:function(){return this.propEpiContent.confirmationText.replace("{msisdn}",this.msisdn)},paragraphText:function(){return this.propEpiContent.paragraph.replace("{msisdn}",this.msisdn)}},methods:{claimUser:function(){var e;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return this.isLoading=!0,this.serverError=!1,t.prev=2,e={otp:this.otp,birthDate:this.birthDate},t.next=6,regeneratorRuntime.awrap(u.CustomerClaimService.validateOtp(e));case 6:this.handleSuccess(),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),this.setServerError();case 12:case"end":return t.stop()}}),null,this,[[2,9]])},handleSuccess:function(){var e=this;this.flowCompleted=!0,this.isLoading=!1,setTimeout((function(){e.$store.dispatch("resetUserClaim").then((function(){e.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_FLOW_COMPLETED,!1)}))}),3e3)},setServerError:function(){this.serverError=!0,this.flowCompleted=!1,this.isLoading=!1},sendCode:function(){var e;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return this.serverError=!1,t.prev=1,e={msisdn:this.msisdn},t.next=5,regeneratorRuntime.awrap(u.CustomerClaimService.sendOtp(e));case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),this.setServerError();case 10:case"end":return t.stop()}}),null,this,[[1,7]])},handleValidateOtp:function(e){this.isInvalidOtp=!e}}},A=Object(i.a)(B,N,[],!1,null,null,null);A.options.__file="Static/js/my-telenor/organisms/CustomerClaim/UserClaim/VerifyOtp.vue";var j=A.exports,$=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"row"},[o("div",{staticClass:"col-md-6 col-xs-12"},[o("p",{staticClass:"leader--small"},[e._v(e._s(e.propEpiContent.preamble))]),e._v(" "),o("v-input",{ref:"submitPersonalIdentityNumberInput",attrs:{"prop-label":e.propEpiContent.personalIdentityNumberInputLabel,"prop-placeholder":e.propEpiContent.personalIdentityNumberInputPlaceholder,"prop-validate":e.personalIdentityNumberValidation,"prop-max-length":12},on:{validation:e.handleValidatePersonalIdentityNumber},model:{value:e.personalIdentityNumber,callback:function(t){e.personalIdentityNumber=t},expression:"personalIdentityNumber"}}),e._v(" "),o("v-button",{staticClass:"trailer--none",attrs:{"prop-text":e.propEpiContent.continueButtonText,"prop-disabled":e.isInvalidPersonalIdentityNumber,"prop-data-test":"check-if-user-is-customer-owner-claim"},on:{click:e.savePersonalIdentityNumber}})],1)])};$._withStripped=!0;o(38),o(50),o(180);var R={name:"SpecifyPersonalIdentityNumber",components:{VAlert:c.VAlert,VButton:c.VButton,VInput:f.VInput},props:{propEpiContent:{type:Object,required:!1}},data:function(){return{isInvalidPersonalIdentityNumber:!0,tempPersonalIdentityNumber:""}},computed:{personalIdentityNumber:{get:function(){return this.$store.state.ownerClaimModule.personalIdentityNumber},set:function(e){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_OWNER_CLAIM_PERSONAL_IDENTITY_NUMBER,e)}},personalIdentityNumberValidation:function(){return this.$store.getters.personalIdentityNumberValidationProperty}},methods:{handleValidatePersonalIdentityNumber:function(e){var t=d.generalUtils.appendCenturyToPersonalIdentityNumber(this.personalIdentityNumber),o=t.startsWith("19")||t.startsWith("20")?12:10;t.includes("-")&&o++,e||t.length!==o||(this.$refs.submitPersonalIdentityNumberInput.readyForValidationFeedback=!0),this.tempPersonalIdentityNumber=t,this.isInvalidPersonalIdentityNumber=!e},savePersonalIdentityNumber:function(){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_CURRENT_STEP,3),this.personalIdentityNumber=this.tempPersonalIdentityNumber}}},D=Object(i.a)(R,$,[],!1,null,null,null);D.options.__file="Static/js/my-telenor/organisms/CustomerClaim/OwnerClaim/SpecifyPersonalIdentityNumber.vue";var U=D.exports,F=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[e.collapsed?o("bankid"===e.claimMethod?"bank-id-verification":"postal-verification",{tag:"component",attrs:{"prop-epi-content":"bankid"===e.claimMethod?e.propEpiContent.bankId:e.propEpiContent}}):o("div",{staticClass:"row"},[o("div",{staticClass:"col-md-6 col-xs-12"},[o("p",{staticClass:"trailer leader--small"},[e._v(e._s(e.propEpiContent.verifyMethodPreamble))]),e._v(" "),o("v-radio-button",{key:"claim-bankid",attrs:{value:e.claimMethod,"prop-label":e.propEpiContent.verifyMethodBankIdText,"prop-name":"claimMethod","prop-value":"bankid"},on:{input:function(t){return e.changeClaimMethod(t)}}},[e._t("default",[o("div",{staticClass:"flex flex--top-items padding-leader--xsmall"},[o("img",{staticClass:"toright--small",attrs:{src:"/Static/images/bankid.svg",alt:"BankID"}}),e._v(" "),o("span",{staticClass:"font-p"},[e._v(e._s(e.propEpiContent.verifyMethodBankIdSubText))])])])],2),e._v(" "),o("v-button",{staticClass:"trailer--none",attrs:{"prop-text":e.propEpiContent.continueButtonText},on:{click:e.claimMethodSelected}})],1)])],1)};F._withStripped=!0;var H=o(3),q=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[e.flowCompleted||e.flowError||e.flowInfo?e.flowError||e.flowInfo?o("div",{staticClass:"flex flex--column flex--center-items leader--medium"},[o("i",{staticClass:"icon trailer--large",class:{"icon-alert":e.flowError,"icon-info":e.flowInfo}}),e._v(" "),o("h3",{staticClass:"font-h3 trailer"},[e._v(e._s(e.propEpiContent.bankIdErrorHeader))]),e._v(" "),o("p",{staticClass:"trailer error-message"},[e._v(e._s(e.message))]),e._v(" "),e.isBankIdError?o("div",{staticClass:"flex flex--column flex--center-items"},[o("v-button",{staticClass:"trailer--small",attrs:{"prop-text":e.propEpiContent.bankIdErrorRetryButtonText,"prop-type":"secondary"},on:{click:e.initBankId}}),e._v(" "),o("v-button",{attrs:{"prop-text":e.propEpiContent.bankIdErrorCloseButtonText,"prop-type":"secondary"},on:{click:e.initVerify}})],1):o("div",{staticClass:"flex flex--column flex--center-items"},[o("v-button",{staticClass:"trailer--small",attrs:{"prop-text":e.propEpiContent.claimHelpButtonText,"prop-type":"secondary"},on:{click:e.customerHelp}})],1)]):o("div",{staticClass:"row"},[o("p",{staticClass:"col-xs-12 col-md-6"},[e._v(e._s(e.propEpiContent.bankIdSuccessText))])]):o("div",{staticClass:"row"},[o("div",{staticClass:"col-xs-12 col-md-4"},[o("div",{staticClass:"claim text--center"},[o("div",{staticClass:"bankid-logo bankid-logo--small bankid-logo--center"}),e._v(" "),o("div",{staticClass:"trailer padding-leader--large"},[o("h3",[e._v(e._s(e.bankIdResponse.isUserSignStarted?"Legitimera dig":"Starta mobilt BankID"))]),e._v(" "),o("p",{staticClass:"font-p"},[e._v(e._s(e.bankIdResponse.message))])]),e._v(" "),e._m(0),e._v(" "),e.isMobileDevice?o("a",{staticClass:"button button--secondary trailer display--block",attrs:{href:"bankid:///?autostarttoken="+e.bankIdAutoStartToken+"&redirect=null"}},[e._v("Öppna i denna enhet")]):e._e(),e._v(" "),o("a",{staticClass:"link",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.cancelBankId(t)}}},[e._v("Avbryt")])])])])])};q._withStripped=!0;var Y={name:"BankIdVerification",components:{VAlert:c.VAlert,VButton:c.VButton},props:{propEpiContent:{type:Object,required:!1}},data:function(){return{bankIdResponse:"",bankIdAutoStartToken:"",statusChecker:"",message:"",isBankIdError:!0,flowInfo:!1}},computed:{flowCompleted:{get:function(){return this.$store.state.sharedClaimModule.flowCompleted},set:function(e){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_FLOW_COMPLETED,e)}},flowError:{get:function(){return this.$store.state.sharedClaimModule.flowError},set:function(e){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_FLOW_ERROR,e)}}},created:function(){this.isMobileDevice=!d.generalUtils.responsiveUtils.isDesktop(),this.initBankId()},methods:{initBankId:function(){var e,t=this;return regeneratorRuntime.async((function(o){for(;;)switch(o.prev=o.next){case 0:return this.flowError=!1,o.prev=1,this.bankIdResponse="",e={personalIdentityNumber:this.$store.state.ownerClaimModule.personalIdentityNumber},o.next=6,regeneratorRuntime.awrap(u.CustomerClaimService.initBankId(e));case 6:this.bankIdResponse=o.sent,this.bankIdAutoStartToken=this.bankIdResponse.autoStartToken,this.statusChecker=setInterval((function(){return t.getCurrentStatusBankId()}),2e3),o.next=17;break;case 11:o.prev=11,o.t0=o.catch(1),this.bankIdTimeout(),this.flowError=!0,this.trackBankId(T.myTelenor.texts.Unsuccessful),this.message=this.propEpiContent.bankIdErrorMessage;case 17:case"end":return o.stop()}}),null,this,[[1,11]])},getCurrentStatusBankId:function(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,regeneratorRuntime.awrap(u.CustomerClaimService.collectBankId());case 3:this.bankIdResponse=t.sent,this.bankIdResponse.success||(clearInterval(this.statusChecker),this.flowError=!0,this.trackBankId(T.myTelenor.texts.Unsuccessful)),this.bankIdResponse.completed&&(clearInterval(this.statusChecker),this.claimOwner()),t.next=14;break;case 8:t.prev=8,t.t0=t.catch(0),this.bankIdTimeout(),this.flowError=!0,this.trackBankId(T.myTelenor.texts.Unsuccessful),this.message=this.propEpiContent.bankIdErrorMessage;case 14:3e4,setTimeout((function(){clearInterval(e.statusChecker)}),3e4);case 16:case"end":return t.stop()}}),null,this,[[0,8]])},claimOwner:function(){return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,regeneratorRuntime.awrap(u.CustomerClaimService.claimOwnerWithBankId());case 3:e.sent&&(this.flowCompleted=!0,this.trackBankId(T.myTelenor.texts.Successful)),e.next=13;break;case 7:e.prev=7,e.t0=e.catch(0),this.isBankIdError=!1,e.t0.response&&(404===e.t0.response.status?(this.message=this.propEpiContent.claimNotOwnerMessage,this.flowError=!1,this.flowInfo=!0):(this.message=this.propEpiContent.claimGeneralErrorMessage,this.flowError=!0,this.flowInfo=!1)),this.trackBankId(T.myTelenor.texts.Unsuccessful),this.bankIdTimeout();case 13:case"end":return e.stop()}}),null,this,[[0,7]])},cancelBankId:function(){return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,regeneratorRuntime.awrap(u.CustomerClaimService.cancelBankId());case 3:e.sent&&(this.bankIdTimeout(),this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_OWNER_CLAIM_VERIFY_METHOD_COLLAPSED,!1)),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),this.bankIdTimeout();case 10:case"end":return e.stop()}}),null,this,[[0,7]])},bankIdTimeout:function(){clearInterval(this.statusChecker),this.bankIdAutoStartToken="",this.bankIdResponse=""},trackBankId:function(e){H.telenorTrackingHelper.myPages.trackCustomerOwnerClaimCompleted(e)},initVerify:function(){this.cancelBankId,this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_OWNER_CLAIM_VERIFY_METHOD_COLLAPSED,!1),this.flowError=!1,this.flowCompleted=!1},customerHelp:function(){window.location.href=this.propEpiContent.claimHelpLink}}},G=(o(352),Object(i.a)(Y,q,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"trailer padding-leader--large padding-trailer--large"},[t("span",{staticClass:"progress-indicator progress-indicator--large"})])}],!1,null,"13f1e123",null));G.options.__file="Static/js/my-telenor/organisms/CustomerClaim/OwnerClaim/BankIdVerification.vue";var W=G.exports,z=function(){var e=this.$createElement;return(this._self._c||e)("div")};z._withStripped=!0;var X={name:"PostalVerification",props:{propEpiContent:{type:Object,required:!1}}},K=Object(i.a)(X,z,[],!1,null,null,null);K.options.__file="Static/js/my-telenor/organisms/CustomerClaim/OwnerClaim/PostalVerification.vue";var J={name:"VerifyMethod",components:{BankIdVerification:W,PostalVerification:K.exports,VButton:c.VButton,VRadioButton:h.VRadioButton},props:{propEpiContent:{type:Object,required:!1}},computed:{claimMethod:{get:function(){return this.$store.state.ownerClaimModule.method},set:function(e){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_OWNER_CLAIM_METHOD,e)}},collapsed:function(){return this.$store.state.ownerClaimModule.verifyMethodCollapsed}},methods:{changeClaimMethod:function(e){this.claimMethod=e},claimMethodSelected:function(){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_OWNER_CLAIM_VERIFY_METHOD_COLLAPSED,!0),H.telenorTrackingHelper.myPages.trackCustomerOwnerClaimMethod(this.claimMethod)}}},Q=Object(i.a)(J,F,[],!1,null,null,null);Q.options.__file="Static/js/my-telenor/organisms/CustomerClaim/OwnerClaim/VerifyMethod.vue";var Z=Q.exports,ee={name:"CustomerClaim",components:{CollapsibleContent:h.CollapsibleContent,SpecifyMsisdn:L,SpecifyPersonalIdentityNumber:U,VButton:c.VButton,VPanel:c.VPanel,VerifyMethod:Z,VerifyOtp:j,VRadioButton:h.VRadioButton},props:{propEpiContent:{type:Object,required:!0}},data:function(){return{isCollapsed:!0}},computed:{getComponent:function(){var e="";switch(this.$store.state.sharedClaimModule.claimType){case"user":e="specify-msisdn";break;case"owner":e="specify-personal-identity-number"}return e},isOwner:function(){return this.$store.state.stateModule.customerState.isEoneOwner},claimType:{get:function(){return this.$store.state.sharedClaimModule.claimType},set:function(e){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_TYPE,e)}},showUserClaimFlow:function(){return"user"===this.$store.state.sharedClaimModule.claimType},flowCompleted:function(){return this.$store.state.sharedClaimModule.flowCompleted},flowError:function(){return this.$store.state.sharedClaimModule.flowError},claimSectionCollapsed:function(){return this.$store.state.sharedClaimModule.claimSectionCollapsed},toggleAreaText:function(){return this.flowCompleted?"":this.isCollapsed?this.propEpiContent.addNewMsisdnToggleText:this.propEpiContent.cancelText},shouldShowEdit:function(){return!this.flowCompleted&&this.isDone(1)},panelBg:function(){return this.flowCompleted?"green":this.flowError?"red":"turquoise"}},methods:{editValues:function(){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_CURRENT_STEP,1),this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_OWNER_CLAIM_VERIFY_METHOD_COLLAPSED,!1),this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_FLOW_COMPLETED,!1),this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_FLOW_ERROR,!1)},currentStep:function(e){return this.$store.state.sharedClaimModule.currentStep===e},isDone:function(e){return this.$store.state.sharedClaimModule.currentStep>e},collapsed:function(){this.isCollapsed=!this.isCollapsed,this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_SECTION_COLLAPSED,this.isCollapsed),this.$store.state.sharedClaimModule.claimSectionCollapsed?this.$store.dispatch("resetClaims"):this.isOwner?(this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_CURRENT_STEP,2),this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_TYPE,"user")):(this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_CURRENT_STEP,1),this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_FLOW_COMPLETED,!1),this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_TYPE,"owner"))},selectClaimFlow:function(){this.$store.commit(T.myTelenorMutationTypes.CLAIM.SET_CLAIM_CURRENT_STEP,2)},changeClaimType:function(e){this.claimType=e}}},te=(o(354),Object(i.a)(ee,k,[],!1,null,"c824776e",null));te.options.__file="Static/js/my-telenor/organisms/CustomerClaim/CustomerClaim.vue";var oe=te.exports,re=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("nav",{staticClass:"user-sub-menu section full-viewport"},[o("div",{staticClass:"container user-sub-menu__container"},[o("div",{staticClass:"user-sub-menu__user-info text-truncate",on:{click:e.toggleMenu}},[o("i",{class:{"icon-angle-down user-sub-menu__user-info__expand-arrow":!0,"user-sub-menu__user-info__expand-arrow--rotate":!e.isCollapsed},attrs:{role:"presentation"}}),e._v(" "),o("span",{class:{invoices:e.getClassUserInfo(),"invoices--hidden":!e.isCollapsed},attrs:{"data-number-of-invoices":e.propViewmodel.NumberOfUnpaidInvoices}},[e._v("\n "+e._s(e.propLoggedIn)+" "+e._s(e.propViewmodel.PhoneNumber)+"\n ")])]),e._v(" "),o("transition",{attrs:{name:"expand","before-enter":e.beforeEnter,enter:e.enter,"before-leave":e.beforeLeave,leave:e.leave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:e.showMenu,expression:"showMenu"}],staticClass:"user-sub-menu__nav"},[o("ul",{staticClass:"user-sub-menu__nav__list"},[e._l(e.propViewmodel.TopNavigationItems,(function(t,r){return o("li",{key:r,class:{"user-sub-menu__nav__list__item":!0,"invoices flex--row flex":e.getClassMenu(t.IsInvoicePage)}},[o("a",{class:{"user-sub-menu__nav__list__item__link":!0,selected:e.isSelected(t.Type)},attrs:{href:t.Url,"data-number-of-invoices":e.propViewmodel.NumberOfUnpaidInvoices}},[e._v("\n "+e._s(t.Name)+"\n ")])])})),e._v(" "),o("li",{staticClass:"user-sub-menu__nav__list__item"},[o("a",{staticClass:"user-sub-menu__nav__list__item__link",attrs:{href:"/UserLogout","data-hook-logout":""}},[e._v(e._s(e.propLoggedOut))])])],2)])])],1)])};re._withStripped=!0;var ne={name:"SubMenuMyTelenorPages",data:function(){return{isCollapsed:!0,showMenu:!1}},props:{propViewmodel:{type:Object,required:!0},propLoggedIn:{type:String},propLoggedOut:{type:String}},created:function(){window.addEventListener("resize",this.handleResize),this.showMenu=d.generalUtils.responsiveUtils.isDesktop()},methods:{beforeEnter:function(e){e.style.height="0"},enter:function(e){e.style.height="".concat(e.scrollHeight,"px")},beforeLeave:function(e){e.style.height="".concat(e.scrollHeight,"px")},leave:function(e){e.style.height="0"},getClassUserInfo:function(){return this.propViewmodel.NumberOfUnpaidInvoices&&"0"!==this.propViewmodel.NumberOfUnpaidInvoices},getClassMenu:function(e){return e&&this.propViewmodel.NumberOfUnpaidInvoices&&"0"!==this.propViewmodel.NumberOfUnpaidInvoices},isSelected:function(e){return e===this.propViewmodel.PageType},toggleMenu:function(){!d.generalUtils.responsiveUtils.isDesktop()&&(this.isCollapsed=!this.isCollapsed,this.showMenu=!this.isCollapsed)},handleResize:function(){this.showMenu=d.generalUtils.responsiveUtils.isDesktop(),this.isCollapsed=!0}}},ie=Object(i.a)(ne,re,[],!1,null,null,null);ie.options.__file="Static/js/my-telenor/organisms/SubMenuMyTelenorPages/SubMenuMyTelenorPages.vue";var se=ie.exports,ae=function(){var e=this.$createElement,t=this._self._c||e;return this.propViewModel.ShowBanner?t("banner-with-link",{staticClass:"mytelenor-overview",attrs:{"prop-text":this.propViewModel.Text,"prop-link-text":this.propViewModel.LinkText},on:{click:this.bannerLinkClick}}):this._e()};ae._withStripped=!0;var le={name:"OverviewBanner",components:{BannerWithLink:h.BannerWithLink},props:{propViewModel:{type:Object,required:!0}},methods:{bannerLinkClick:function(){window.location.href=this.propViewModel.LinkUrl}}},ce=Object(i.a)(le,ae,[],!1,null,null,null);ce.options.__file="Static/js/my-telenor/organisms/OverviewBanner/OverviewBanner.vue";var ue=ce.exports,pe=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-modal",{ref:"modal",class:e.propModalLinkClass,attrs:{"prop-link-class":"icon-edit","prop-show-as-small":""},on:{close:e.closeModal}},[o("div",{staticClass:"my-pages__edit-names"},[o("div",{staticClass:"my-pages-modal"},[o("div",{staticClass:"my-pages-modal__body"},[o("h3",{staticClass:"font-h3"},[e._v(e._s(e.propHeader))]),e._v(" "),o("p",[e._v(e._s(e.propIntro))])]),e._v(" "),o("v-input",{ref:"firstNameInput",staticClass:"my-pages-modal__form-field",attrs:{"prop-validate":"required|customUserNameChar","prop-type":"text","prop-name":"firstName","prop-max-length":30,"prop-label":e.propFirstNameLabel},on:{validation:e.onFirstNameValidationChange},model:{value:e.editFirstName,callback:function(t){e.editFirstName=t},expression:"editFirstName"}}),e._v(" "),o("v-input",{ref:"lastNameInput",staticClass:"my-pages-modal__form-field",attrs:{"prop-label":e.propLastNameLabel,"prop-max-length":30,"prop-validate":"required|customUserNameChar","prop-type":"text","prop-name":"lastName"},on:{validation:e.onLastNameValidationChange},model:{value:e.editLastName,callback:function(t){e.editLastName=t},expression:"editLastName"}}),e._v(" "),e.serverErrorMessage.length>0?o("v-alert",{staticClass:"text-size--base",attrs:{"prop-type":"error","prop-show-icon":""},domProps:{innerHTML:e._s(e.serverErrorMessage)}}):e._e(),e._v(" "),o("div",{staticClass:"my-pages-modal__button-container"},[o("v-button",{staticClass:"trailer--small",attrs:{"prop-text":e.propSaveButtonText,"prop-disabled":!e.showFirstNameValidationErrorMessage||!e.showLastNameValidationErrorMessage,"prop-progress-indicator":e.progress},on:{click:e.updateNames}}),e._v(" "),o("v-button",{staticClass:"leader--small",attrs:{"prop-text":e.propCloseButtonText,"prop-type":"secondary"},on:{click:function(t){return e.closeModal(!0)}}})],1)],1)])])};pe._withStripped=!0;o(68);var de={name:"ChangeUsernameModal",inject:{$validator:"$validator"},components:{VAlert:c.VAlert,VButton:c.VButton,VInput:f.VInput,VModal:h.VModal},props:{propModalLinkClass:{type:String},propNumber:{type:String},propHeader:{type:String},propFirstNameLabel:{type:String},propLastNameLabel:{type:String},propSaveButtonText:{type:String},propCloseButtonText:{type:String},propIntro:{type:String}},data:function(){return{success:!1,serverError:!1,serverErrorMessage:"",progress:!1,editFirstName:"",editLastName:"",showFirstNameValidationErrorMessage:!1,showLastNameValidationErrorMessage:!1,errorMessage:""}},computed:{userName:function(){return this.$store.getters.getUserNameById(this.propNumber)}},created:function(){this.editFirstName=this.userName.FirstName,this.editLastName=this.userName.LastName,this.showFirstNameValidationErrorMessage=this.userName.FirstName.length>0,this.showLastNameValidationErrorMessage=this.userName.LastName.length>0},methods:{clearErrors:function(){this.serverError=!1,this.serverErrorMessage="",this.showFirstNameValidationErrorMessage=!1,this.showLastNameValidationErrorMessage=!1},updateNames:function(){var e=this;e.clearErrors(),e.progress=!0;var t={number:e.propNumber.replace(/\ /g,"").replace("0","46"),firstName:e.editFirstName,lastName:e.editLastName},o=d.generalUtils.attachSecurityToken(t);return u.SubscriptionService.changeUsername(o).then((function(){e.success=!0,e.updateUi()})).catch((function(t){e.serverError=!0,e.serverErrorMessage=t.response.data.Data.message})).finally((function(){return e.progress=!1})),!1},updateUi:function(){var e={FirstName:this.editFirstName,LastName:this.editLastName,Id:this.propNumber};this.$store.dispatch("setUserNameAndUpdateBreadCrumbs",e),this.closeModal(!0)},closeModal:function(e){var t=this.$refs.modal;this.serverError=!1,this.success=!1,this.clearErrors(),this.editFirstName=this.userName.FirstName,this.editLastName=this.userName.LastName,this.showFirstNameValidationErrorMessage=this.userName.FirstName.length>0,this.showLastNameValidationErrorMessage=this.userName.LastName.length>0,e&&t.closeModal()},onFirstNameValidationChange:function(e){this.showFirstNameValidationErrorMessage=e},onLastNameValidationChange:function(e){this.showLastNameValidationErrorMessage=e}}},he=Object(i.a)(de,pe,[],!1,null,null,null);he.options.__file="Static/js/my-telenor/organisms/ChangeUsernameModal/ChangeUsernameModal.vue";var fe=he.exports,me=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"data-progress-bar"},[e.propBucketBalance?o("v-progress-bar",{attrs:{"prop-progress-bar":e.consumptionUsage.progress,"prop-text-right":e.consumptionUsage.textRight,"prop-text-bottom-right":e.consumptionUsage.textBottomRight,"prop-text-bottom":e.consumptionUsage.textBottom,"prop-text-top":e.consumptionUsage.textTop,"prop-text-top-presentation":e.consumptionUsage.textPresentation,"prop-top-text-class":"top-text","prop-bar-color":"grey","prop-size":"large"}}):e._e()],1)};me._withStripped=!0;o(23),o(34),o(84),o(39);var ve={name:"DataProgressBar",components:{VProgressBar:c.VProgressBar},props:{propBucketCounter:{type:Object,required:!0},propBucketBalance:{type:Object,required:!0},propGigabyteShort:{type:String,required:!0},propGigabytesConsumed:{type:String,required:!0},propTextOnTop:{type:Boolean}},computed:{consumptionUsage:function(){return{progress:this.getProgress(),textBottomRight:"".concat(this.convertDotToComma(this.convertToGigabytes(this.getTotalValue()))," ").concat(this.propGigabyteShort),textBottom:this.propTextOnTop?"":"".concat(this.convertDotToComma(this.convertToGigabytes(this.getUsed()))," ").concat(this.propGigabytesConsumed),textTop:this.propTextOnTop?this.propGigabytesConsumed:"",textPresentation:this.propTextOnTop?"".concat(this.convertDotToComma(this.convertToGigabytes(this.getUsed()))," ").concat(this.propGigabyteShort):""}}},methods:{convertToGigabytes:function(e){var t=e/1e6;return t%1==0?t:t<10?t.toFixed(2):t<100?t.toFixed(1):t.toFixed(0)},convertDotToComma:function(e){if(!e)return 0;var t=e.toString();return t.includes(".")?t.replace(".",","):t},getTotalValue:function(){var e=this.$store.getters.getSurfLimit(this.propBucketCounter.user.id);return e?e.volume:this.propBucketBalance.totalValue},getUsed:function(){var e=this.propBucketCounter;return e&&e.value?e.value:0},getProgress:function(){var e=this.getTotalValue();return(100*this.getUsed()/e).toString()}}},ge=Object(i.a)(ve,me,[],!1,null,null,null);ge.options.__file="Static/js/my-telenor/organisms/DataProgressBar/DataProgressBar.vue";var _e=ge.exports,be=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"trailer--medium",class:{"data-restriction--active":e.isSliderActive}},[o("div",{staticClass:"overlay",class:{"overlay--active":e.isSliderActive}}),e._v(" "),o("div",{staticClass:"data-restriction__slider-container"},[o("div",{staticClass:"font-weight--medium"},[e._v(e._s(e.propName))]),e._v(" "),o("div",{staticClass:"trailer--medium font-small"},[e.showNoLimitText?o("span",[e._v("\n "+e._s(e.propViewmodel.dataRestrictionNoLimitLabel)+"\n ")]):o("span",{staticClass:"data-restriction__surf-limit"},[e._v("\n "+e._s(e.propViewmodel.dataRestrictionLimitLabel)+" "+e._s(e.displayedSurfLimit)+" "+e._s(e.propViewmodel.dataRestrictionDataUnit)+"\n ")]),e._v(" "),e.showDisabledData?o("span",[e._v("\n "+e._s(e.propViewmodel.dataRestrictionDisabledDataLabel)+"\n ")]):e._e()]),e._v(" "),o("div",{staticClass:"rel"},[o("vue-slider",e._b({ref:"slider",staticClass:"vue-slider-component",on:{change:e.onHandleBarMove,"drag-start":e.toggleActiveSlider,"drag-end":e.toggleActiveSlider},scopedSlots:e._u([{key:"tooltip",fn:function(t){return[o("div",{ref:"tooltip",staticClass:"vue-slider-tooltip-wrap__container",class:{"color-red":0===e.surfLimit,"aligned-center-from-right":e.tooltipAlignedCenterFromRight,"aligned-center-from-left":e.tooltipAlignedCenterFromLeft,"aligned-left":e.isTooltipAlignedLeft,"aligned-right":e.isTooltipAlignedRight}},[e._v("\n "+e._s(e.displayedSurfLimit)+" "+e._s(e.propViewmodel.dataRestrictionDataUnit)+".\n ")])]}}]),model:{value:e.surfLimit,callback:function(t){e.surfLimit=t},expression:"surfLimit"}},"vue-slider",e.sliderOptions,!1)),e._v(" "),o("div",{staticClass:"data-restriction__slider-container__used-container"},[o("div",{staticClass:"data-restriction__slider-container__used-container__used-surf-bar",style:e.usedSurfBarStyles}),e._v(" "),o("div",{staticClass:"data-restriction__slider-container__used-container__disabled-used-surf-bar",style:e.usedSurfBarDisabledStyles})]),e._v(" "),o("div",{staticClass:"flex flex--space-between font-small leader--xsmall"},[o("span",[e._v("\n "+e._s(e.usedSurf)+" "+e._s(e.propViewmodel.dataRestrictionDataUnitConsumed)+"\n ")]),e._v(" "),o("span",[e._v("\n "+e._s(e.showMaxSurf)+" "+e._s(e.propViewmodel.dataRestrictionDataUnit)+"\n ")])])],1)])])};be._withStripped=!0;o(36);var Ce=o(110),ye=o.n(Ce),Se={name:"DataRestrictionSlider",components:{VProgressBar:c.VProgressBar,VueSlider:ye.a},data:function(){return{surfLimit:0,disabledSurf:{show:!1,start:0,end:0},tooltipAlignedLeft:!1,tooltipAlignedRight:!1,tooltipAlignedCenterFromLeft:!1,tooltipAlignedCenterFromRight:!1,tooltipStartAnimation:5,isSliderActive:!1,sliderKey:"slider"+this._uid,sliderOptions:{height:12,dotSize:20,min:0,max:0,interval:.1,tooltip:"focus",useKeyboard:!0,speed:1,style:{padding:0}},zero:"0,00"}},computed:{surfUsedProcent:function(){return this.calculateSurfUsedInProcentage()},usedSurf:function(){return this.calculateSurfUsed()},showMaxSurf:function(){return this.totalSurfDisplayed()},showNoLimitText:function(){return this.$store.getters.getSurfLimit(this.propSubscriptions.bucketCounter.user.id).noLimitText},showDisabledData:function(){return this.$store.getters.getSurfLimit(this.propSubscriptions.bucketCounter.user.id).disabledData},usedSurfBarDisabledStyles:function(){return{left:this.disabledSurf.start+"%",width:this.disabledSurf.end+"%",display:this.disabledSurf.show?"block":"none"}},usedSurfBarStyles:function(){return{width:this.surfUsedProcent+"%"}},displayedSurfLimit:function(){return this.getFormattedSurfLimit().toString().replace(".",",")},isTooltipAlignedLeft:function(){return this.surfLimit<=this.tooltipStartAnimation&&(this.tooltipAlignedLeft=!0,this.tooltipAlignedRight=!1,this.tooltipAlignedCenterFromRight=!1,this.tooltipAlignedCenterFromLeft=!1,!0)},isTooltipAlignedRight:function(){return this.surfLimit>=this.sliderOptions.max-this.tooltipStartAnimation&&(this.tooltipAlignedRight=!0,this.tooltipAlignedLeft=!1,this.tooltipAlignedCenterFromLeft=!1,this.tooltipAlignedCenterFromRight=!1,!0)}},props:{propViewmodel:{type:Object,required:!0},propName:String,propTotalSurf:Number,propUsedSurf:Number,propSubscriptions:{type:Object,required:!0}},methods:{toggleActiveSlider:function(){this.isSliderActive=!this.isSliderActive},refreshSliders:function(){var e=this;this.$nextTick((function(){e.surfLimit=e.convertToGigabytes(e.$store.getters.getSurfLimit(e.propSubscriptions.bucketCounter.user.id).volume)}))},totalSurfDisplayed:function(){if(this.propTotalSurf){var e=this.propTotalSurf/1e6;return(e<10?e.toFixed(2):e<100?e.toFixed(1):e.toFixed(0)).toString().replace(".",",")}return this.zero},calculateTotalSurfInGigabyte:function(){if(this.propTotalSurf){var e=this.convertToGigabytes(this.propTotalSurf);return e<=6&&(this.sliderOptions.interval=.1),Number(e.toString())}return this.zero},calculateSurfUsed:function(){return this.propUsedSurf?this.convertToGigabytes(this.propUsedSurf).toString().replace(".",","):this.zero},calculateSurfUsedInProcentage:function(){if(this.propUsedSurf){var e=this.propTotalSurf;return(100*this.propUsedSurf/e).toString()}return this.zero},showDisabledSurfBar:function(){var e=100*this.surfLimit/this.sliderOptions.max;e=this.tooltipStartAnimation&&this.tooltipAlignedLeft&&(this.tooltipAlignedCenterFromRight=!1,this.tooltipAlignedCenterFromLeft=!0),this.surfLimit<=this.sliderOptions.max-this.tooltipStartAnimation&&this.tooltipAlignedRight&&(this.tooltipAlignedCenterFromRight=!0,this.tooltipAlignedCenterFromLeft=!1);var e={msisdn:this.propSubscriptions.bucketCounter.user.id,volume:this.convertToKilobytes(this.surfLimit),noLimitText:this.surfLimit===this.sliderOptions.max,disabledData:0===this.surfLimit||100*this.surfLimit/this.sliderOptions.max1?e.showOptionsSlide=!0:(e.showProcessingSlide=!0,e.startTroubleshooting())})).catch((function(t){e.showServerErrorSlide=!0,e.showContactInformation=e.propViewModel.showContactInformationErrorSlide,e.errorHeading=t.response.data.Data.message}))},buildSubscriptionArray:function(e){var t=this;e.forEach((function(e){var o={id:e.contractId.toString(),value:e.contractId.toString(),label:"".concat(e.serviceName,"

Installationsadress:
").concat(e.street,"
").concat(e.zipCode," ").concat(e.city,"

")};t.subscriptions.push(o)}))},startTroubleshooting:function(){var e=this;this.hideSlides(),this.showProcessingSlide=!0,u.SelfTroubleshootingService.getTransactionId(this.selectedSubscription).then((function(t){if(null!==t.transactionId)e.polling(t.transactionId).then((function(){e.hideSlides(),e.showIssueSuccessSlide=!0})).catch((function(t){e.hideSlides(),e.showServerErrorSlide=!0,e.showContactInformation=e.propViewModel.showContactInformationErrorSlide,e.errorHeading=t.response?t.response.data.Data.message:e.propViewModel.unknownStatus.Heading,e.errorText=t.response?"":e.propViewModel.unknownStatus.Text}));else switch(t.errors.find((function(e){return e})).appliedAction){case T.myTelenor.troubleshooting.status.DHCP:e.hideSlides(),e.showIssueSuccessSlide=!0;break;case T.myTelenor.troubleshooting.status.FUTURE:case T.myTelenor.troubleshooting.status.INACTIVE:e.hideSlides(),e.showInactiveFlow=!0;break;default:e.hideSlides(),e.showServerErrorSlide=!0,e.errorHeading=e.propViewModel.unknownStatus.Heading,e.errorText=e.propViewModel.unknownStatus.Text,e.showContactInformation=e.propViewModel.unknownStatus.ShowContactInformation}})).catch((function(t){e.hideSlides(),e.showServerErrorSlide=!0,e.errorHeading=t.response.data.Data.message,e.showContactInformation=e.propViewModel.showContactInformationErrorSlide}))},polling:function(e){var t=this,o=this.propViewModel.stopTroubleshootingTime,r=Number(new Date)+o;return new Promise((function o(n,i){u.SelfTroubleshootingService.getStatus(e).then((function(e){var s=e.characteristics.find((function(e){return e.value===T.myTelenor.troubleshooting.status.FAILED}));if(void 0!==s)if(t.latestFailedIssue===s.name)t.hideSlides(),t.showIssueNotResolvedSlide=!0;else switch(t.latestFailedIssue=s.name,t.hideSlides(),s.name){case T.myTelenor.troubleshooting.issue.IPSTATUS:t.showIPStatusFlow=!0;break;case T.myTelenor.troubleshooting.issue.ACTIVATIONSTATUS:t.showActivationStatusFlow=!0;break;case T.myTelenor.troubleshooting.issue.LINKSTATUS:t.showLinkStatusFlow=!0}else if(e.characteristics.every((function(e){return e.value===T.myTelenor.troubleshooting.status.COMPLETED})))n(e);else if(Number(new Date)>r)t.hideSlides(),t.showServerErrorSlide=!0,t.errorHeading=t.propViewModel.timeoutErrorMessage,t.showContactInformation=t.propViewModel.showContactInformationErrorSlide;else{var a=e.characteristics.find((function(e){return e.value===T.myTelenor.troubleshooting.status.PROCESSING}));if(void 0!==a)switch(a.name){case T.myTelenor.troubleshooting.issue.IPSTATUS:t.statusText=t.propViewModel.checkingIPStatusText;break;case T.myTelenor.troubleshooting.issue.ACTIVATIONSTATUS:t.statusText=t.propViewModel.checkingActivationStatusText;break;case T.myTelenor.troubleshooting.issue.LINKSTATUS:t.statusText=t.propViewModel.checkingLinkStatusText}setTimeout(o,2e3,n,i)}})).catch((function(e){i(e)}))}))},restartTroubleshooting:function(){this.slideToShow=0,this.startTroubleshooting()},redirectIssueResolved:function(){window.location.href=this.propViewModel.issueResolvedLink}}},Rt=Object(i.a)($t,vt,[],!1,null,null,null);Rt.options.__file="Static/js/my-telenor/organisms/SelfTroubleshooting/SelfTroubleshooting.vue";var Dt=Rt.exports;o.d(t,"AccountInfo",(function(){return a})),o.d(t,"TelenorIdentityCode",(function(){return w})),o.d(t,"CustomerClaim",(function(){return oe})),o.d(t,"SubMenuMyTelenorPages",(function(){return se})),o.d(t,"OverviewBanner",(function(){return ue})),o.d(t,"ChangeUsernameModal",(function(){return fe})),o.d(t,"DataProgressBar",(function(){return _e})),o.d(t,"DataRestrictionSlider",(function(){return ke})),o.d(t,"OwnerClaim",(function(){return ut})),o.d(t,"UserClaim",(function(){return pt.a})),o.d(t,"ClaimInfo",(function(){return mt})),o.d(t,"SelfTroubleshooting",(function(){return Dt}))},550:function(e,t){$((function(){var e={initAutoHeight:function(t){var o=window.addEventListener?"addEventListener":"attachEvent",r=window[o],n="attachEvent"===o?"onmessage":"message";e.autoHeightSetInitialHeight(t),r(n,(function(o){"loaded"===o.data?e.scrollUp():isNaN(o.data)||e.autoHeightSetSize(t,o.data)}))},autoHeightSetInitialHeight:function(e){e.height(2e3)},autoHeightSetSize:function(e,t){e.height(t)},scrollUp:function(){$(window).scrollTop(0)}};$("iframe.iframe").each((function(){var t=$(this);"true"===t.attr("data-auto-height")&&e.initAutoHeight(t)}))}))},551:function(e,t,o){o(76),$((function(){$(".qna-container-block").length&&$(".qna-container-block").each((function(e,t){var o=$(t),r=parseInt(o.attr("data-number-of-faqs-to-lazyload")),n=$(".faq-holder-block li.faq__item",o),i=$("[data-show-more-btn]",o),s=$(".faq-item-holder",o),a=function(){$(".faq-holder-block .faq__item:hidden",o).length>0?i.show():i.hide()};i.on("click",(function(){for(var e=$(".faq-holder-block .faq__item:hidden",o),t=0;t0&&$(e).parents("form:first").validate({success:function(){e.prop("disabled",!1)}})}))},554:function(e,t,o){"use strict";o.r(t);o(18),o(42);var r=o(507),n=o.n(r);$((function(){var e={showFullscreenVideo:function(t){if(t.fullscreenVideo){t.fullscreenVideo.classList.remove("u-hide"),e.play(t.fullscreenVideo),e.requestFullscreenFor(t.fullscreenVideo),t.fullscreenVideo.addEventListener("loadedmetadata",(function(){e.requestFullscreenFor(t)}));var o=$(document).on("fullscreenchange webkitfullscreenchange mozfullscreenchange MSFullscreenChange",(function(){!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)&&(e.pause(t.fullscreenVideo),e.reset(t.fullscreenVideo),!t.posterImgActive&&t.replayShortVideo&&e.play(t.bannerVideo),t.fullscreenVideo.classList.add("u-hide"))}));$(t.fullscreenVideo).on("webkitendfullscreen",(function(e){o.trigger("fullscreenchange")}))}},play:function(e){e&&e.play()},pause:function(e){e&&e.pause()},reset:function(e){e&&(e.currentTime=0)},requestFullscreenFor:function(e){document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||(e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.webkitEnterFullscreen?e.webkitEnterFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen())}},t=function(t){var o=t.data("block");e.pause(o.bannerVideo),e.showFullscreenVideo(o)},o=function(e){$("html, body").animate({scrollTop:e.position().top+e.outerHeight()+"px"},500)};$(".top-banner-video-block").each((function(){var t=$(this),o=t.closest($(".top-banner-video-wrapper")),r={autoPlay:"true"===t.data("auto-play").toLowerCase(),fillViewportBelowHeader:t.is("[data-fill-viewport-below-page-header]"),largeSrc:t.attr("data-large-src"),bannerVideo:t.find("[data-hook-video]")[0],$posterImg:t.find("[data-hook-poster-img]"),$playButton:o.find("[data-hook-play-btn]"),hidePlayButton:"true"===t.data("hide-play-button").toLowerCase(),replayShortVideo:"true"===t.data("replay-short-video").toLowerCase()};r.posterImgActive=r.$posterImg.is(":visible"),t.data("block",r),r.largeSrc&&(r.fullscreenVideo=$('