/*! For license information please see commons~myTelenor~shared~bc93cd35.ee9cb8e552d0a4afd803.js.LICENSE */ (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{103:function(t,e,n){"use strict";var r=n(19),a=n(112),o=n(69),i=n(47),s=n(60),c=n(154),u=n(159),l=n(160),d=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l("splice")},{splice:function(t,e){var n,r,l,f,h,v,m=s(this),g=i(m.length),_=a(t,g),y=arguments.length;if(0===y?n=r=0:1===y?(n=0,r=g-_):(n=y-2,r=p(d(o(e),0),g-_)),g+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=c(m,r),f=0;fg-r+n;f--)delete m[f-1]}else if(n>r)for(f=g-r;f>_;f--)v=f+n-1,(h=f+r-1)in m?m[v]=m[h]:delete m[v];for(f=0;f0||!!navigator.userAgent.match(/Trident.*rv\:11\./)},isSafari:function(){return-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")}};e.default=r},119:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},12:function(t,e,n){"use strict";(function(t){n.d(e,"d",(function(){return _})),n.d(e,"c",(function(){return C})),n.d(e,"b",(function(){return b}));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}var o=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},i={namespaced:{configurable:!0}};i.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(t,e){this._children[t]=e},o.prototype.removeChild=function(t){delete this._children[t]},o.prototype.getChild=function(t){return this._children[t]},o.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},o.prototype.forEachChild=function(t){a(this._children,t)},o.prototype.forEachGetter=function(t){this._rawModule.getters&&a(this._rawModule.getters,t)},o.prototype.forEachAction=function(t){this._rawModule.actions&&a(this._rawModule.actions,t)},o.prototype.forEachMutation=function(t){this._rawModule.mutations&&a(this._rawModule.mutations,t)},Object.defineProperties(o.prototype,i);var s=function(t){this.register([],t,!1)};s.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},s.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},s.prototype.update=function(t){!function t(e,n,r){0;n.update(r);if(r.modules)for(var a in r.modules){if(!n.getChild(a))return void 0;t(e.concat(a),n.getChild(a),r.modules[a])}}([],this.root,t)},s.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new o(e,n);0===t.length?this.root=i:this.get(t.slice(0,-1)).addChild(t[t.length-1],i);e.modules&&a(e.modules,(function(e,a){r.register(t.concat(a),e,n)}))},s.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var c;var u=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&g(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var a=t.strict;void 0===a&&(a=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new s(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c;var o=this,i=this.dispatch,u=this.commit;this.dispatch=function(t,e){return i.call(o,t,e)},this.commit=function(t,e,n){return u.call(o,t,e,n)},this.strict=a;var l=this._modules.root.state;h(this,l,[],this._modules.root),f(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:c.config.devtools)&&function(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){r.emit("vuex:mutation",t,e)})))}(this)},l={state:{configurable:!0}};function d(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function p(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;h(t,n,[],t._modules.root,!0),f(t,n,e)}function f(t,e,n){var r=t._vm;t.getters={};var o=t._wrappedGetters,i={};a(o,(function(e,n){i[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:i}),c.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),c.nextTick((function(){return r.$destroy()})))}function h(t,e,n,r,a){var o=!n.length,i=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[i]=r),!o&&!a){var s=v(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit((function(){c.set(s,u,r.state)}))}var l=r.context=function(t,e,n){var r=""===e,a={dispatch:r?t.dispatch:function(n,r,a){var o=m(n,r,a),i=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c),t.dispatch(c,i)},commit:r?t.commit:function(n,r,a){var o=m(n,r,a),i=o.payload,s=o.options,c=o.type;s&&s.root||(c=e+c),t.commit(c,i,s)}};return Object.defineProperties(a,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach((function(a){if(a.slice(0,r)===e){var o=a.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[a]},enumerable:!0})}})),n}(t,e)}},state:{get:function(){return v(t.state,n)}}}),a}(t,i,n);r.forEachMutation((function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,r.state,e)}))}(t,i+n,e,l)})),r.forEachAction((function(e,n){var r=e.root?n:i+n,a=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e,a){var o,i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,a);return(o=i)&&"function"==typeof o.then||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}(t,r,a,l)})),r.forEachGetter((function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,i+n,e,l)})),r.forEachChild((function(r,o){h(t,e,n.concat(o),r,a)}))}function v(t,e){return e.length?e.reduce((function(t,e){return t[e]}),t):t}function m(t,e,n){var r;return null!==(r=t)&&"object"==typeof r&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function g(t){c&&t===c||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(c=t)}l.state.get=function(){return this._vm._data.$$state},l.state.set=function(t){0},u.prototype.commit=function(t,e,n){var r=this,a=m(t,e,n),o=a.type,i=a.payload,s=(a.options,{type:o,payload:i}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(i)}))})),this._subscribers.forEach((function(t){return t(s,r.state)})))},u.prototype.dispatch=function(t,e){var n=this,r=m(t,e),a=r.type,o=r.payload,i={type:a,payload:o},s=this._actions[a];if(s){try{this._actionSubscribers.filter((function(t){return t.before})).forEach((function(t){return t.before(i,n.state)}))}catch(t){0}return(s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o)).then((function(t){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(i,n.state)}))}catch(t){0}return t}))}},u.prototype.subscribe=function(t){return d(t,this._subscribers)},u.prototype.subscribeAction=function(t){return d("function"==typeof t?{before:t}:t,this._actionSubscribers)},u.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},u.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},u.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),h(this,this.state,t,this._modules.get(t),n.preserveState),f(this,this.state)},u.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=v(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])})),p(this)},u.prototype.hotUpdate=function(t){this._modules.update(t),p(this,!0)},u.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(u.prototype,l);var _=x((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,a=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=k(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof a?a.call(this,e,n):e[a]},n[r].vuex=!0})),n})),y=x((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,a=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=k(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"==typeof a?a.apply(this,[r].concat(e)):r.apply(this.$store,[a].concat(e))}})),n})),C=x((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,a=e.val;a=t+a,n[r]=function(){if(!t||k(this.$store,"mapGetters",t))return this.$store.getters[a]},n[r].vuex=!0})),n})),b=x((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,a=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=k(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"==typeof a?a.apply(this,[r].concat(e)):r.apply(this.$store,[a].concat(e))}})),n}));function w(t){return Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}}))}function x(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function k(t,e,n){return t._modulesNamespaceMap[n]}var S={Store:u,install:g,version:"3.1.1",mapState:_,mapMutations:y,mapGetters:C,mapActions:b,createNamespacedHelpers:function(t){return{mapState:_.bind(null,t),mapGetters:C.bind(null,t),mapMutations:y.bind(null,t),mapActions:b.bind(null,t)}}};e.a=S}).call(this,n(86))},120:function(t,e,n){var r=n(182),a=n(361),o=n(362),i="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?s:i:c&&c in Object(t)?a(t):o(t)}},121:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},130:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"combo-benefit",style:{background:t.propViewModel.block.backgroundColor}},[n("h1",{staticClass:"font-h1"},[t._v(t._s(t.propViewModel.block.heading)+" ")]),t._v(" "),t.propViewModel.block.preamble?n("h3",{staticClass:"font-h3 trailer"},[t._v(t._s(t.propViewModel.block.preamble))]):t._e(),t._v(" "),n("div",{ref:"productTypeContainer",staticClass:"combo-benefit__product-type-container trailer--large",attrs:{"data-test":"combo-selection"}},t._l(t.propViewModel.productTypes,(function(e,r){return n("combo-benefit-product-type-item",{key:e.productType,attrs:{"prop-product-type":e,"prop-choose-text":t.propViewModel.block.chooseProductTypeButtonText,"prop-chosen-text":t.propViewModel.block.chosenProductTypeButtonText},model:{value:t.selectedProductTypes[r],callback:function(e){t.$set(t.selectedProductTypes,r,e)},expression:"selectedProductTypes[index]"}})})),1),t._v(" "),n("combo-benefit-result",{attrs:{"prop-result":t.result,"prop-show-progress-indicator":t.showProgressIndicator}})],1)};r._withStripped=!0;n(32),n(48),n(15),n(21),n(42),n(29);var a=n(442),o=n(90),i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"combo-benefit__product-type-item",class:{"combo-benefit__product-type-item--selected":t.selected},on:{click:t.toggleSelected}},[n("i",{staticClass:"combo-benefit__product-type-item__icon",class:["icon",t.propProductType.icon]}),t._v(" "),n("div",{staticClass:"trailer--small",attrs:{"data-test":"combo-product-name"}},[t._v(t._s(t.propProductType.name))]),t._v(" "),n("v-toggle-button",{staticClass:"combo-benefit__product-type-item__button",attrs:{"prop-text":t.buttonText,"prop-value":t.propProductType.name,"prop-selected":t.selected}})],1)};i._withStripped=!0;var s=n(2),c={components:{VToggleButton:s.VToggleButton},model:{event:"change"},props:{propProductType:{type:Object,required:!0},propChooseText:String,propChosenText:String},data:function(){return{selected:!1}},computed:{buttonText:function(){return this.selected?this.propChosenText:this.propChooseText}},methods:{toggleSelected:function(){this.selected=!this.selected,this.$emit("change",{productTypeId:this.propProductType.productTypeId,selected:this.selected})}}},u=n(1),l=Object(u.a)(c,i,[],!1,null,null,null);l.options.__file="Static/js/shared/organisms/ComboBenefit/ComboBenefitProductTypeItem.vue";var d=l.exports,p=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"combo-benefit__result-container progress-indicator-wrapper",class:{"show-progress-indicator":t.propShowProgressIndicator}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.hasResult,expression:"hasResult"}],ref:"comboBenefitResult",staticClass:"combo-benefit__result"},[n("transition",{attrs:{name:"combo-result",mode:"out-in"},on:{"after-enter":t.scrollToResult}},[n("div",{key:t.propResult.resultId},[n("h2",{staticClass:"font-h2 trailer",attrs:{"data-test":"combo-result-heading"}},[t._v(t._s(t.propResult.heading))]),t._v(" "),t.propResult.imageUrl?n("img",{staticClass:"combo-benefit__result__image",attrs:{src:t.propResult.imageUrl}}):t._e(),t._v(" "),n("div",{domProps:{innerHTML:t._s(t.propResult.preamble)}}),t._v(" "),n("div",{ref:"resultButtonContainer",staticClass:"combo-benefit__result__button-container"},t._l(t.propResult.buttons,(function(e,r){return n("v-button",{key:r,staticClass:"combo-benefit__result__button-container__button",attrs:{"prop-text":e.text,"prop-type":t.usePrimaryButton?"":"secondary","data-test":"combo-result-button"},on:{click:function(n){return t.handleResultRedirect(e.url,e.text)}}})})),1)])])],1),t._v(" "),n("div",{staticClass:"progress-indicator"})])};p._withStripped=!0;n(261);var f=n(3),h={components:{VButton:s.VButton},props:{propResult:Object,propShowProgressIndicator:Boolean},data:function(){return{scrolledOnce:!1}},computed:{hasResult:function(){return!!Object.entries(this.propResult).length&&this.propResult.constructor===Object},usePrimaryButton:function(){return 1===this.propResult.buttons.length}},methods:{handleResultRedirect:function(t,e){f.comboBenefitTracking.pushComboBenefitInteraction(e,this.propResult.selectedProductTypeNames),window.location.assign(t)},scrollToResult:function(){var t=this;this.hasResult&&!this.scrolledOnce&&this.$nextTick((function(){var e=t.$refs.comboBenefitResult,n=t.$parent.$refs.productTypeContainer,r=e.getBoundingClientRect(),a=window.innerHeight||document.documentElement.clientHeight,o=n.getBoundingClientRect().top;(r.bottom>a||o<0)&&window.scrollTo({top:o+window.pageYOffset-20,behavior:"smooth"}),t.scrolledOnce=!0}))}}},v=Object(u.a)(h,p,[],!1,null,null,null);v.options.__file="Static/js/shared/organisms/ComboBenefit/ComboBenefitResult.vue";var m={components:{ComboBenefitProductTypeItem:d,ComboBenefitResult:v.exports},props:{propViewModel:{type:Object,required:!0}},data:function(){return{result:{},selectedProductTypes:[],showProgressIndicator:!1,isFirstInteraction:!0}},computed:{selectedProductTypeIdList:function(){return this.selectedProductTypes.filter((function(t){return t.selected})).map((function(t){return t.productTypeId}))}},watch:{selectedProductTypeIdList:function(){var t,e=this;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:return this.isFirstInteraction&&(f.comboBenefitTracking.pushComboBenefitInteraction("Kombo application started","First interaction"),this.isFirstInteraction=!1),n.prev=1,t=setTimeout((function(){e.showProgressIndicator=!0}),600),n.next=5,regeneratorRuntime.awrap(a.default.getComboBenefitResult(this.propViewModel.blockContentReferenceId,this.selectedProductTypeIdList));case 5:this.result=n.sent,n.next=11;break;case 8:n.prev=8,n.t0=n.catch(1),o.default.alert({bodyText:this.propViewModel.block.errorMessage});case 11:return n.prev=11,clearTimeout(t),this.showProgressIndicator=!1,n.finish(11);case 15:case"end":return n.stop()}}),null,this,[[1,8,11,15]])}}},g=Object(u.a)(m,r,[],!1,null,null,null);g.options.__file="Static/js/shared/organisms/ComboBenefit/ComboBenefit.vue";var _=g.exports,y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"instructionGuide",staticClass:"instruction-guide collapsible trailer--xlarge"},[n("div",{staticClass:"instruction-guide__body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-xs-12 col-md-offset-1 col-md-10"},[n("h2",{staticClass:"font-h2 text--center"},[t._v("\n "+t._s(t.heading)+"\n ")]),t._v(" "),n("div",{staticClass:"instruction-guide__body__content"},[t._l(t.categories,(function(e){return n("div",{key:e.contentReferenceId,staticClass:"instruction-guide__body__category-wrapper",class:t.classListCategoryWrapper},[n("div",{staticClass:"instruction-guide__body__category-wrapper__body"},[t.singleCategory?t._e():n("v-toggle-button",{attrs:{"prop-value":e.contentReferenceId.toString(),"prop-text":e.name,"prop-selected":e.contentReferenceId===t.selectedContentReferenceId},on:{change:t.selectCategory}}),t._v(" "),t.isDesktop?t._e():n("instruction-guide-category",{class:{"instruction-guide-category--visible":e.contentReferenceId===t.selectedContentReferenceId},attrs:{"prop-collapsed":e.contentReferenceId!==t.selectedContentReferenceId,"prop-category":e}})],1)])})),t._v(" "),t.isDesktop?n("instruction-guide-category",{staticClass:"instruction-guide-category--visible",attrs:{"prop-collapsed":!t.selectedContentReferenceId,"prop-category":t.selectedCategory}}):t._e()],2)])]),t._v(" "),n("div",{staticClass:"instruction-guide__body__footer",on:{click:t.togglePanel}},[n("span",{staticClass:"text--center"},[t._v(t._s(t.selectedContentReferenceId?t.showLessText:t.showMoreText))]),t._v(" "),n("a",{staticClass:"instruction-guide__body__footer__icon",class:{"instruction-guide__body__footer__icon--collapsed":!t.selectedContentReferenceId},attrs:{href:"javascript:void(0)"}})])])])};y._withStripped=!0;n(18),n(76);var C=n(10),b=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"instruction-guide-category"},[n("transition",{attrs:{name:"expand"},on:{enter:t.enter,"after-enter":t.afterEnter,leave:t.leave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.collapsed,expression:"!collapsed"}],staticClass:"collapse-content"},[n("ol",{staticClass:"instruction-guide-category__step-list"},t._l(t.propCategory.steps,(function(e){return n("li",{key:e.stepNumber,staticClass:"instruction-guide-category__step-list__step font-p",domProps:{innerHTML:t._s(e.text)}})})),0),t._v(" "),t.propCategory.showButton?n("v-button",{staticClass:"instruction-guide-category__button",attrs:{"prop-text":t.propCategory.buttonText},on:{click:t.handleButtonClick}}):t._e()],1)])],1)};b._withStripped=!0;var w=n(99),x={name:"InstructionGuideCategory",components:{VButton:s.VButton},extends:s.VCollapsible,props:{propCategory:Object,propCollapsed:Boolean},watch:{propCollapsed:function(t){this.collapsed=t}},methods:{handleButtonClick:function(){this.propCategory.scrollToAddressSearch&&w.addressSearchInstance?w.addressSearchInstance.goToResult():this.propCategory.buttonLinkUrl&&document.location.assign(this.propCategory.buttonLinkUrl)}}},k=Object(u.a)(x,b,[],!1,null,null,null);k.options.__file="Static/js/shared/organisms/InstructionGuide/InstructionGuideCategory.vue";var S={name:"InstructionGuide",components:{InstructionGuideCategory:k.exports,VToggleButton:s.VToggleButton},mixins:[C.ResponsiveHelper],props:{propViewModel:Object},data:function(){return{heading:this.propViewModel.heading,categories:this.propViewModel.categories,selectedContentReferenceId:null,showLessText:this.propViewModel.showLessText,showMoreText:this.propViewModel.showMoreText}},computed:{classListCategoryWrapper:function(){return{"instruction-guide__body__category-wrapper--half-width":this.categories.length%2==0,"instruction-guide__body__category-wrapper--third-width":this.categories.length%3==0}},selectedCategory:function(){var t=this;return this.categories.find((function(e){return e.contentReferenceId===t.selectedContentReferenceId}))||{}},singleCategory:function(){return 1===this.categories.length}},created:function(){(this.singleCategory||this.propViewModel.isExpanded)&&(this.selectedContentReferenceId=this.categories[0]&&this.categories[0].contentReferenceId)},methods:{selectCategory:function(t){this.selectedContentReferenceId=parseInt(t,10)},togglePanel:function(){this.selectedContentReferenceId=this.selectedContentReferenceId?null:this.categories[0]&&this.categories[0].contentReferenceId}}},T=Object(u.a)(S,y,[],!1,null,null,null);T.options.__file="Static/js/shared/organisms/InstructionGuide/InstructionGuide.vue";var I=T.exports,E=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"chatWidget",staticClass:"chat-widget",class:{"chat-widget--opened":t.chatIsExpanded},attrs:{id:"chat-widget-component"}},[n("focus-lock",{staticClass:"chat-widget__focus-lock",attrs:{disabled:!t.chatIsExpanded}},[n("div",{staticClass:"chat-widget__header pill-container",class:{"chat-widget__header--opened":t.chatIsExpanded},attrs:{tabindex:"0"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),e.preventDefault(),t.expandCollapseChat(e))},click:t.expandCollapseChat}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.unreadMessages,expression:"unreadMessages"}],staticClass:"chat-widget__header__unread-messages"},[t._v(t._s(t.unreadMessages))]),t._v(" "),n("div",{staticClass:"chat-widget__header__field",class:{wrapper:t.chatIsExpanded}},[n("div",{staticClass:"chat-widget__header__field__item"},[t.chatIsExpanded&&(t.showForm||t.showBankId)?n("div",{staticClass:"chat-widget__header__icon icon icon-angle-left",attrs:{tabindex:"0"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),e.preventDefault(),t.goToErrandSelection(e))},click:function(e){return e.stopPropagation(),t.goToErrandSelection(e)}}}):n("div",{staticClass:"chat-widget__header__icon icon",class:t.getBubbleIconClassName}),t._v(" "),n("span",{staticClass:"chat-widget__header__text",class:{"chat-widget__header__text--opened":t.chatIsExpanded}},[t._v(t._s(t.headerText))])]),t._v(" "),n("div",{staticClass:"chat-widget__header__field__item"},[t.chatIsExpanded?n("span",{staticClass:"chat-widget__header__icon icon icon-minus",attrs:{tabindex:"0"},on:{click:function(e){return e.stopPropagation(),t.expandCollapseChat(e)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.stopPropagation(),e.preventDefault(),t.expandCollapseChat(e))}}}):t._e(),t._v(" "),t.chatIsExpanded&&t.showConversation?n("span",{staticClass:"chat-widget__header__icon icon icon-close",attrs:{tabindex:"0"},on:{click:function(e){e.stopPropagation(),t.showConfirmationBox=!0},keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.stopPropagation(),e.preventDefault(),t.showConfirmationBox=!0}}}):t._e()])]),t._v(" "),t.viewModel.block.pillText?n("v-pill",{attrs:{"prop-text":t.viewModel.block.pillText,"prop-slim":"","prop-background-color":"red"}}):t._e()],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.chatIsExpanded,expression:"chatIsExpanded"}],staticClass:"chat-widget__container"},[n("transition",{attrs:{name:"slide-in"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showConfirmationBox,expression:"showConfirmationBox"}],staticClass:"chat-widget__container__confirmation-box"},[n("div",{staticClass:"chat-widget__container__confirmation-box__text trailer--small"},[t._v(t._s(t.propViewModel.block.activeChat.closeChatWarningText))]),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-sm-offset-2 col-sm-4"},[n("v-button",{attrs:{id:"triggerChatSurvey","prop-text":"Ja","prop-type":"full-width"},on:{click:t.closeChatWindow}})],1),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("v-button",{staticClass:"button--full-width",attrs:{"prop-text":"Nej","prop-type":"secondary"},on:{click:function(e){t.showConfirmationBox=!1}}})],1)])])]),t._v(" "),n("transition",{attrs:{name:"slide-in"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showSendFileBox,expression:"showSendFileBox"}],staticClass:"chat-widget__container__confirmation-box"},[n("div",{staticClass:"chat-widget__container__confirmation-box__text trailer--small"},[t._v("Vill du skicka filen "+t._s(t.file.name)+"?")]),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-sm-offset-2 col-sm-4"},[n("v-button",{attrs:{"prop-text":"Ja","prop-type":"full-width"},on:{click:t.sendFile}})],1),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("v-button",{staticClass:"button--full-width",attrs:{"prop-text":"Nej","prop-type":"secondary"},on:{click:function(e){t.showSendFileBox=!1}}})],1)])])]),t._v(" "),n("div",{ref:"stepContainer",staticClass:"chat-widget__step-container"},[n("the-chat-widget-errand-select",{directives:[{name:"show",rawName:"v-show",value:t.showErrandSelection,expression:"showErrandSelection"}],attrs:{"prop-errand":t.viewModel.block.errand,"prop-errand-types":t.viewModel.errandType.errandTypes},on:{input:t.errandSelected}}),t._v(" "),n("the-chat-widget-bank-id",{directives:[{name:"show",rawName:"v-show",value:t.showBankId,expression:"showBankId"}],attrs:{"prop-bank-id":t.viewModel.block.bankId},on:{userVerified:t.userVerified}}),t._v(" "),t.showForm?n("the-chat-widget-begin-chat-form",{attrs:{"prop-form":t.viewModel.block.form},on:{sendForm:t.sendForm,updateViewport:t.viewportChanged}}):t._e(),t._v(" "),n("the-chat-widget-conversation",{directives:[{name:"show",rawName:"v-show",value:t.showConversation,expression:"showConversation"}],attrs:{"prop-conversation":t.conversation,"prop-queue":t.queue,"prop-agent-closed-chat":t.chatSessionEnded,"prop-agent-writing":t.agentWriting,"prop-session-is-active":t.connected,"prop-view-model":t.viewModel.block.activeChat},on:{previewMessage:t.previewMessage,sendMessage:t.sendMessage,attachFile:t.attachFile,startNewChat:t.endChat}}),t._v(" "),n("the-chat-widget-error",{directives:[{name:"show",rawName:"v-show",value:t.showError,expression:"showError"}],attrs:{"prop-error-message":t.chatErrorMessage,"prop-view-model":t.viewModel.block.errors},on:{clearError:t.clearChatErrors}}),t._v(" "),t.showSurvey?n("the-chat-widget-survey",{on:{closeChat:t.goToErrandSelection}}):t._e()],1)],1)])],1)};E._withStripped=!0;n(44),n(117),n(161),n(13),n(106),n(38),n(127),n(75),n(73),n(34),n(41),n(36),n(31),n(156),n(22),n(39),n(50),n(81),n(136),n(25),n(14),n(93);var A=n(306),j=n.n(A),M=n(85),R=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"chat-widget__step"},[t.propErrand.informationText?n("div",{staticClass:"trailer--large",domProps:{innerHTML:t._s(t.propErrand.informationText)}}):n("div",{staticClass:"chat-widget__step__image-container"},[n("img",{staticClass:"chat-widget__image trailer--large",attrs:{src:t.propErrand.imageUrl}})]),t._v(" "),n("h2",{staticClass:"font-h2 trailer--large"},[t._v(t._s(t.propErrand.heading))]),t._v(" "),t._l(t.propErrandTypes,(function(e){return n("div",{key:e.areaId,ref:"errandType",refInFor:!0,staticClass:"chat-widget__step__errand-container trailer--medium",class:{"chat-widget__step__errand-container--closed":e.opensNextTimeText},attrs:{tabindex:"0"},on:{keydown:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")&&t._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:t.selectErrandType(e)},click:function(n){return t.selectErrandType(e)}}},[n("div",{staticClass:"chat-widget__step__errand-container__icon icon",class:e.icon}),t._v(" "),n("div",[n("span",{staticClass:"trailer--xsmall"},[t._v(t._s(e.name))]),t._v(" "),n("p",{staticClass:"font-small trailer--medium"},[t._v(" "+t._s(e.opensNextTimeText)+" ")])])])}))],2)};R._withStripped=!0;var B={name:"TheChatWidgetErrandSelect",props:{propErrand:{type:Object,required:!0},propErrandTypes:{type:Array,required:!0}},methods:{selectErrandType:function(t){t.opensNextTimeText||this.$emit("input",t)}}},O=Object(u.a)(B,R,[],!1,null,null,null);O.options.__file="Static/js/shared/organisms/TheChatWidget/TheChatWidgetErrandSelect.vue";var L=O.exports,F=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.waitingForConfirmation?n("div",{staticClass:"chat-widget__step flex--column text--center"},[n("img",{staticClass:"chat-widget__step__bankid-logo trailer--large",attrs:{src:"/Static/images/bankid-logo.png"}}),t._v(" "),n("h2",{staticClass:"font-h2 trailer--small"},[t._v(t._s(t.bankId.startBankIdHeaderText))]),t._v(" "),n("p",{staticClass:"font-p trailer--xlarge"},[t._v("\n "+t._s(t.bankId.startBankIdPreambleText)+"\n ")]),t._v(" "),t._m(0),t._v(" "),n("v-button",{staticClass:"trailer--xlarge",attrs:{"prop-text":t.bankId.openBankIdButtonText,"prop-type":"secondary"},on:{click:t.openBankId}}),t._v(" "),n("p",{staticClass:"font-p chat-widget__step__bankid-link-text",on:{click:t.cancelRequest}},[t._v(t._s(t.bankId.cancelBankIdRequestText))])],1):n("div",{staticClass:"chat-widget__step"},[n("h2",{staticClass:"font-h2 trailer--small"},[t._v(t._s(t.bankId.heading))]),t._v(" "),n("p",{staticClass:"font-p trailer--large"},[t._v("\n "+t._s(t.bankId.preamble)+"\n ")]),t._v(" "),n("h3",{staticClass:"font-h3 trailer--small"},[t._v(t._s(t.bankId.verifyHeader))]),t._v(" "),n("v-input",{staticClass:"input-form-field--md trailer--small",attrs:{"prop-id":"personalIdentityNumber","prop-name":t.bankId.personalIdentityNumberInputLabel,"prop-label":t.bankId.personalIdentityNumberInputLabel,"prop-placeholder":t.bankId.personalIdentityNumberInputPlaceholder,"prop-validate":"customPersonalIdentityNumber","prop-type":"text"},model:{value:t.personalIdentityNumber,callback:function(e){t.personalIdentityNumber=e},expression:"personalIdentityNumber"}}),t._v(" "),n("v-button",{staticClass:"chat-widget__step__button trailer--large",attrs:{"prop-text":t.bankId.verifyButtonText,"prop-disabled":t.disableVerifyButton},on:{click:t.verify}}),t._v(" "),n("a",{staticClass:"link chat-widget__step__integrity-link",attrs:{href:t.bankId.integrityInformationLink,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.bankId.integrityInformationLinkText)+"\n ")])],1)};F._withStripped=!0;var N=n(9),P=n(6),D={BANK_ID_CANCEL_STATUS_CODE:15,components:{VInput:N.VInput,VButton:s.VButton},inject:{$validator:"$validator"},props:{propBankId:{type:Object,required:!0}},data:function(){return{bankId:this.propBankId,personalIdentityNumber:"",waitingForConfirmation:!1,authResult:{}}},computed:{disableVerifyButton:function(){return!!this.errors.items.length}},beforeDestroy:function(){return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:this.waitingForConfirmation&&this.cancelRequest();case 1:case"end":return t.stop()}}),null,this)},methods:{verify:function(){var t;return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return t={personalIdentityNumber:this.personalIdentityNumber},e.next=3,regeneratorRuntime.awrap(P.BankIdService.auth(t));case 3:this.authResult=e.sent,this.authResult.orderRef&&(this.waitingForConfirmation=!0),this.collectVerification();case 6:case"end":return e.stop()}}),null,this)},collectVerification:function(){var t,e,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:3e3,t={jwtToken:this.authResult.jwtToken,orderRef:this.authResult.orderRef},e=setInterval((function(){var r;return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:if(n.waitingForConfirmation){a.next=3;break}return clearInterval(e),a.abrupt("return");case 3:return a.next=5,regeneratorRuntime.awrap(P.BankIdService.collect(t));case 5:(r=a.sent).isCompleted?(n.waitingForConfirmation=!1,n.$emit("userVerified",r.completionData.User),clearInterval(e)):r.bankIdStatus===n.$options.BANK_ID_CANCEL_STATUS_CODE&&(n.waitingForConfirmation=!1,clearInterval(e));case 7:case"end":return a.stop()}}))}),3e3);case 3:case"end":return r.stop()}}),null,this)},openBankId:function(){document.location.href="bankid:///?autostarttoken="+this.authResult.authStartToken+"&redirect=null"},cancelRequest:function(){var t;return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return t={jwtToken:this.authResult.jwtToken,orderRef:this.authResult.orderRef},e.next=3,regeneratorRuntime.awrap(P.BankIdService.cancel(t));case 3:this.waitingForConfirmation=!1;case 4:case"end":return e.stop()}}),null,this)}}},$=Object(u.a)(D,F,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress-indicator-wrapper show-progress-indicator padding-trailer padding-leader trailer--large"},[e("span",{staticClass:"progress-indicator"})])}],!1,null,null,null);$.options.__file="Static/js/shared/organisms/TheChatWidget/TheChatWidgetBankId.vue";var V=$.exports,U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"chat-widget__conversation-container"},[n("div",{ref:"conversationContainer",staticClass:"chat-widget__conversation-container__messages"},[t._l(t.propConversation,(function(e,r){return n("div",{key:e.id,staticClass:"chat-widget__conversation-container__messages__message",class:t.getSenderClass(e),attrs:{readonly:""}},[n("div",{staticClass:"chat-widget__conversation-container__messages__avatar-container"},[t.showAvatar(e,r)?n("div",{staticClass:"chat-widget__conversation-container__messages__avatar"},[n("i",{staticClass:"icon",class:t.getSenderAvatarIcon(e)})]):t._e(),t._v(" "),n("div",{staticClass:"chat-widget__conversation-container__messages__message__text trailer--xsmall",class:t.getMessageClassList(e,r),domProps:{innerHTML:t._s(e.text)}})]),t._v(" "),t.isLastMessageInGroup(e,r)?n("p",{staticClass:"font-small chat-widget__conversation-container__messages__message-info trailer--small"},[t._v("\n "+t._s(t.getMessageInfo(e))+"\n ")]):t._e()])})),t._v(" "),t.isInQueue&&t.propSessionIsActive?n("div",{staticClass:"chat-widget__conversation-container__messages__message chat-widget__conversation-container__messages__message__system"},[n("span",{staticClass:"chat-widget__conversation-container__messages__message__text\n chat-widget__conversation-container__messages__message__text__system"},[t._v(t._s(t.propViewModel.placeInQueueText)+t._s(t.propQueue))])]):t._e(),t._v(" "),t.propAgentWriting&&t.propSessionIsActive?n("p",{staticClass:"font-small chat-widget__conversation-container__messages__message-info chat-widget__conversation-container__messages__message-info--agent-writing leader--small"},[t._v("\n "+t._s(t.propViewModel.agentIsWritingText)+"\n ")]):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.propAgentClosedChat,expression:"propAgentClosedChat"}],staticClass:"text--center leader--small"},[n("p",{staticClass:"trailer--small"},[t._v("\n "+t._s(t.propViewModel.agentHasClosedActiveChatText)+"\n ")]),t._v(" "),n("v-button",{attrs:{"prop-text":t.propViewModel.continueToChatButtonText},on:{click:t.startNewChat}})],1)],2),t._v(" "),n("div",{staticClass:"chat-widget__message-container"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.message,expression:"message"}],ref:"textarea",staticClass:"chat-widget__textarea-field",attrs:{disabled:t.propAgentClosedChat,maxlength:"300"},domProps:{value:t.message},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:void e.preventDefault()},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.shiftKey?(e.preventDefault(),t.newLine(e)):null}],keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.sendMessage(e)},input:function(e){e.target.composing||(t.message=e.target.value)}}}),t._v(" "),n("label",{attrs:{for:"file-input"}},[n("span",{staticClass:"chat-widget__icon chat-widget__textarea-field__attach-icon icon icon-attachment-default",class:{"chat-widget__icon chat-widget__textarea-field__attach-icon--disabled":t.propAgentClosedChat},attrs:{tabindex:"0"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.stopPropagation(),e.preventDefault(),t.triggerAttachFile(e))}}})]),t._v(" "),n("input",{ref:"file",attrs:{id:"file-input",type:"file",accept:"image/*,.pdf",disabled:t.propAgentClosedChat},on:{change:t.attachFile}}),t._v(" "),n("span",{staticClass:"chat-widget__message-container__icon icon icon-send",class:{"chat-widget__message-container__icon--disabled":t.sendButtonDisabled},attrs:{tabindex:"0"},on:{click:function(e){return t.sendMessage()},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.stopPropagation(),e.preventDefault(),t.sendMessage())}}})])])};U._withStripped=!0;n(23);var q={name:"TheChatWidgetConversation",components:{VButton:s.VButton},props:{propConversation:Array,propQueue:Number,propAgentClosedChat:Boolean,propAgentWriting:Boolean,propSessionIsActive:Boolean,propViewModel:{type:Object,required:!0}},data:function(){return{message:""}},computed:{sendButtonDisabled:function(){return 0===this.message.length},isInQueue:function(){return this.propQueue>0}},watch:{message:function(t){this.fixTextareaSize(),this.$emit("previewMessage",this.$sanitize(t))},propSessionIsActive:function(t){t?this.$refs.textarea.focus():this.message=""}},updated:function(){this.scrollToBottom(),this.fixTextareaSize()},methods:{getMessageInfo:function(t){var e="";"AGENT"===t.sender?e="".concat(t.agent,":"):"SYSTEM"===t.sender&&(e="".concat(this.propViewModel.systemSenderName,":"));var n="Skickat";return t.unsent?n="Skickar":t.read&&(n="Läst"),t.fromClient?"".concat(e," ").concat(t.sentHuman," ").concat(n):"".concat(e," ").concat(t.sentHuman)},getMessageClassList:function(t,e){var n="chat-widget__conversation-container__messages__message__text__".concat(t.sender.toLowerCase()),r="".concat(n,"--group-first"),a="".concat(n,"--group-last"),o=!1,i=!1;return 0!==e&&this.propConversation[e-1].sender===t.sender||(o=!0),e!==this.propConversation.length-1&&this.propConversation[e+1].sender===t.sender||(i=!0),"".concat(n," ").concat(o?r:""," ").concat(i?a:"")},getSenderAvatarIcon:function(t){return"agent"===t.sender.toLowerCase()?this.propViewModel.defaultAgentIcon:this.propViewModel.systemIcon},getSenderClass:function(t){return"chat-widget__conversation-container__messages__message__".concat(t.sender.toLowerCase())},showAvatar:function(t,e){return"CLIENT"!==t.sender&&this.isLastMessageInGroup(t,e)},sendMessage:function(){this.message&&!this.sendButtonDisabled&&(this.$emit("sendMessage",this.$sanitize(this.message)),this.message="")},isLastMessageInGroup:function(t,e){return e===this.propConversation.length-1||this.propConversation[e+1].sender!==t.sender},newLine:function(){this.message="".concat(this.message,"\n")},scrollToBottom:function(){var t=this.$refs.conversationContainer,e=t.scrollHeight;t.scrollTop=e},attachFile:function(){this.$emit("attachFile",this.$refs.file.files[0])},startNewChat:function(){this.$emit("startNewChat")},triggerAttachFile:function(){this.$refs.file.click()},fixTextareaSize:function(){var t=this.$refs.textarea;t.style.cssText="height: auto; padding: 0",t.style.cssText="height: ".concat(t.scrollHeight+5,"px"),this.$emit("viewportChange")}}},W=Object(u.a)(q,U,[],!1,null,null,null);W.options.__file="Static/js/shared/organisms/TheChatWidget/TheChatWidgetConversation.vue";var G=W.exports,H=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"chat-widget__step",class:{"flex--column flex--center":!t.form.useForBusiness}},[n("div",{class:{"text--center":!t.form.useForBusiness}},[n("h2",{staticClass:"font-h2 trailer--small"},[t._v(t._s(t.form.heading))]),t._v(" "),t.form.useForBusiness?t._e():n("span",{staticClass:"icon chat-widget__step__form-icon",class:t.propForm.formIcon})]),t._v(" "),t.form.useForBusiness?n("p",{staticClass:"font-p trailer--small"},[t._v("\n "+t._s(t.form.preamble)+"\n ")]):t._e(),t._v(" "),t.form.useForBusiness?n("v-input",{staticClass:"input-form-field--md",attrs:{"prop-id":"name","prop-name":t.form.nameInputLabel,"prop-label":t.form.nameInputLabel,"prop-placeholder":t.form.nameInputPlaceholder,"prop-type":"text","prop-validate":"required|max:50"},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}}):t._e(),t._v(" "),t.form.useForBusiness?n("v-input",{staticClass:"input-form-field--md",attrs:{"prop-id":"organizationNumber","prop-name":t.form.organizationNumberInputLabel,"prop-label":t.form.organizationNumberInputLabel,"prop-placeholder":t.form.organizationNumberInputPlaceholder,"prop-validate":"customOrganizationNumber","prop-type":"text"},model:{value:t.formData.organizationNumber,callback:function(e){t.$set(t.formData,"organizationNumber",e)},expression:"formData.organizationNumber"}}):t._e(),t._v(" "),n("v-input",{staticClass:"input-form-field--md",attrs:{"prop-id":"email","prop-name":t.form.emailInputLabel,"prop-label":t.form.emailInputLabel,"prop-placeholder":t.form.emailInputPlaceholder,"prop-type":"email","prop-validate":"customEmail"},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}}),t._v(" "),n("v-textarea",{attrs:{"prop-id":"message","prop-label":t.form.firstMessageLabel,"prop-placeholder":t.form.firstMessagePlaceholder,"prop-max-length":300,"prop-validate":"required"},model:{value:t.formData.message,callback:function(e){t.$set(t.formData,"message",e)},expression:"formData.message"}}),t._v(" "),n("v-button",{staticClass:"chat-widget__step__button",attrs:{"prop-text":t.form.startChatButtonText,"prop-disabled":t.disableStartButton},on:{click:t.connect}}),t._v(" "),n("a",{staticClass:"link chat-widget__step__integrity-link",attrs:{href:t.form.integrityInformationLink,target:"_blank"}},[t._v("\n "+t._s(t.form.integrityInformationLinkText)+"\n ")])],1)};H._withStripped=!0;var Y={components:{VInput:N.VInput,VButton:s.VButton,VTextarea:N.VTextarea},inject:{$validator:"$validator"},props:{propForm:{type:Object,required:!0}},data:function(){return{form:this.propForm,formData:{name:"",email:"",organizationNumber:"",message:""}}},computed:{disableStartButton:function(){return!!this.errors.items.length}},beforeDestroy:function(){this.$validator.reset()},methods:{connect:function(){this.formData.email.length||(this.formData.email=this.propForm.defaultEmail),this.$emit("sendForm",this.formData)}}},K=Object(u.a)(Y,H,[],!1,null,null,null);K.options.__file="Static/js/shared/organisms/TheChatWidget/TheChatWidgetBeginChatForm.vue";var z=K.exports,J=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"chat-widget__step"},[e("div",{staticClass:"trailer--small",attrs:{id:"chatSurvey"}}),this._v(" "),e("v-button",{staticClass:"chat-widget__step__button",attrs:{"prop-text":"Stäng"},on:{click:this.closeChat}})],1)};J._withStripped=!0;var Q={components:{VButton:s.VButton},methods:{closeChat:function(){this.$emit("closeChat")}}},X=Object(u.a)(Q,J,[],!1,null,null,null);X.options.__file="Static/js/shared/organisms/TheChatWidget/TheChatWidgetSurvey.vue";var Z=X.exports,tt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"chat-widget__step"},[n("div",{staticClass:"chat-widget__step__image-container"},[n("img",{staticClass:"chat-widget__image trailer--large",attrs:{src:t.propViewModel.imageUrl}})]),t._v(" "),n("div",{staticClass:"trailer"},[t._v("\n "+t._s(t.propErrorMessage)+"\n ")]),t._v(" "),n("div",{staticClass:"text--center"},[n("v-button",{attrs:{"prop-text":t.propViewModel.closeButtonText},on:{click:function(e){return t.$emit("clearError")}}})],1)])};tt._withStripped=!0;var et={components:{VButton:s.VButton},props:{propErrorMessage:String,propViewModel:{type:Object,required:!0}}},nt=Object(u.a)(et,tt,[],!1,null,null,null);nt.options.__file="Static/js/shared/organisms/TheChatWidget/TheChatWidgetError.vue";var rt=nt.exports,at=n(301),ot=n(302);function it(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);et.propViewModel.block.activeChat.previewTextLength})),this.chatApi.tryResume((function(e){e.error||(t.queue=e.queuePos,t.activeStep=t.$options.steps.CONVERSATION,t.errand=t.viewModel.errandType.errandTypes.find((function(t){return Number(t.areaId)===e.areaId})),t.headerText=t.errand.nameDescription,t.chatApi.connect({resume:!0,areaId:t.$options.AREA_ID_WHEN_RESUME,callback:function(e){e.error&&(t.canChatErrors.genericError=!0)}}))}));var e=document.cookie.match(new RegExp("(^| )CentionChatExpanded=([^;]+)"));e&&(this.chatIsExpanded="true"==e[2]),f.centionChatTracking.pushNewServiceChatImpression()},methods:{clearChatErrors:function(){var t=this;Object.keys(this.canChatErrors).forEach((function(e){t.canChatErrors[e]=!1}))},closeChatWindow:function(){this.endChat()},endChat:function(){if(this.chatApi.activeSession){var t=this.conversation.find((function(t){return"AGENT"===t.sender}));f.centionChatTracking.pushNewChatWasServed(!!t),this.chatApi.close(),this.chatApi.resetChat(),this.chatApi.disconnect()}this.propViewModel.block.surveyActive?this.goToNextStep():this.goToErrandSelection(),this.conversation=[],this.personalInformation={},this.showConfirmationBox=!1,this.chatSessionEnded=!1,document.cookie="CentionChatSessionId=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"},errandSelected:function(t){var e=this;this.chatApi.canChat((function(n){var r=!0;n.error?(e.canChatErrors.genericError=!0,r=!1):0===n.agentsAvailable?(e.canChatErrors.noAgentsAvailable=!0,r=!1):n.chatOpen||(e.canChatErrors.chatClosed=!0,r=!1),r&&(e.resumable=n.resumable,e.errand=t,e.headerText=t.nameDescription,e.activeStep=e.viewModel.block.form.useForBusiness?e.$options.steps.FORM:e.$options.steps.BANK_ID),f.centionChatTracking.pushNewServiceChatTypeSelection(t.name)}),t.areaId)},userVerified:function(t){this.userInfo=t,this.activeStep=this.$options.steps.FORM},connect:function(t){this.connected||this.chatApi.connect({resume:this.resumable,area:Number(this.errand.areaId),email:t.email,name:this.viewModel.block.form.useForBusiness?t.name:this.userInfo.Name,message:t.message,externalData:this.viewModel.block.form.useForBusiness?t.organizationNumber:"Verifierad med bankId: "+this.userInfo.PersonalNumber})},handleBodyScroll:function(){this.isXSmall&&this.chatIsExpanded?Object(M.disableBodyScroll)(this.$refs.stepContainer):Object(M.enableBodyScroll)(this.$refs.stepContainer)},expandCollapseChat:function(){this.chatIsExpanded=!this.chatIsExpanded,this.chatIsExpanded&&(this.unreadMessages=0),document.cookie="CentionChatExpanded=".concat(this.chatIsExpanded,";60;path=/")},goToNextStep:function(){this.activeStep++},goToErrandSelection:function(){this.activeStep=this.$options.steps.ERRAND_SELECTION,this.headerText=this.viewModel.block.bubbleText},sendMessage:function(t){var e=t.replace(/(?:\r\n|\r|\n)/g,"
"),n=this.chatApi.message(e),r={unsent:!0,text:n.message,fromClient:!0,id:"unsent-".concat(n.id),sender:"CLIENT",read:!1};this.conversation.push(r)},sendForm:function(t){this.connect(t),this.personalInformation=t,this.goToNextStep(),f.centionChatTracking.pushNewServiceChatOffered(this.errand.name),f.centionChatTracking.pushNewServiceChatPage(document.location.href)},previewMessage:function(t){t.length>this.propViewModel.block.activeChat.previewTextLength&&this.chatApi.preview(t)},attachFile:function(t){this.file=t,this.showSendFileBox=!0},sendFile:function(){var t=this;(this.file.type.includes("image")||this.file.type.includes("application/pdf"))&&this.chatApi.attachFile(this.file,(function(e){t.conversation.push(e)})),this.showSendFileBox=!1},viewportChanged:function(){var t=this;this.$nextTick((function(){var e=t.$refs.chatWidget;"none"!==e.style.display&&(!t.isXSmall&&t.chatIsExpanded?(window.innerHeight>500&&e.removeAttribute("style"),e.getBoundingClientRect().top<=0&&(e.style.top=0,e.style.bottom=0)):e.removeAttribute("style"))}))}}},ct=Object(u.a)(st,E,[],!1,null,null,null);ct.options.__file="Static/js/shared/organisms/TheChatWidget/TheChatWidget.vue";var ut=ct.exports;n.d(e,"ComboBenefit",(function(){return _})),n.d(e,"InstructionGuide",(function(){return I})),n.d(e,"TheChatWidget",(function(){return ut}))},137:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},138:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},162:function(t,e,n){var r=n(56);t.exports=function(t,e,n){for(var a in e)r(t,a,e[a],n);return t}},163:function(t,e,n){var r,a,o,i=n(26),s=n(30),c=n(65),u=n(92),l=n(195),d=n(149),p=n(114),f=i.location,h=i.setImmediate,v=i.clearImmediate,m=i.process,g=i.MessageChannel,_=i.Dispatch,y=0,C={},b=function(t){if(C.hasOwnProperty(t)){var e=C[t];delete C[t],e()}},w=function(t){return function(){b(t)}},x=function(t){b(t.data)},k=function(t){i.postMessage(t+"",f.protocol+"//"+f.host)};h&&v||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return C[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(y),y},v=function(t){delete C[t]},"process"==c(m)?r=function(t){m.nextTick(w(t))}:_&&_.now?r=function(t){_.now(w(t))}:g&&!/(iphone|ipod|ipad).*applewebkit/i.test(p)?(o=(a=new g).port2,a.port1.onmessage=x,r=u(o.postMessage,o,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||s(k)?r="onreadystatechange"in d("script")?function(t){l.appendChild(d("script")).onreadystatechange=function(){l.removeChild(this),b(t)}}:function(t){setTimeout(w(t),0)}:(r=k,i.addEventListener("message",x,!1))),t.exports={set:h,clear:v}},164:function(t,e,n){"use strict";var r=n(83),a=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new a(t)}},165:function(t,e,n){"use strict";var r=n(19),a=n(263).left;r({target:"Array",proto:!0,forced:n(79)("reduce")},{reduce:function(t){return a(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},166:function(t,e,n){"use strict";var r=n(19),a=n(105),o=n(64),i=n(79),s=[].join,c=a!=Object,u=i("join",",");r({target:"Array",proto:!0,forced:c||u},{join:function(t){return s.call(o(this),void 0===t?",":t)}})},167:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},a=0;an.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(a=0;a=51&&/native code/.test(P))return!1;var t=P.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[B]=e,!(t.then((function(){}))instanceof e)})),K=Y||!b((function(t){P.all(t).catch((function(){}))})),z=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;k((function(){for(var a=e.value,o=1==e.state,i=0;r.length>i;){var s,c,u,l=r[i++],d=o?l.ok:l.fail,p=l.resolve,f=l.reject,h=l.domain;try{d?(o||(2===e.rejection&&tt(t,e),e.rejection=1),!0===d?s=a:(h&&h.enter(),s=d(a),h&&(h.exit(),u=!0)),s===l.promise?f(D("Promise-chain cycle")):(c=z(s))?c.call(s,p,f):p(s)):f(a)}catch(t){h&&!u&&h.exit(),f(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&X(t,e)}))}},Q=function(t,e,n){var r,a;H?((r=$.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},(a=u["on"+t])?a(r):"unhandledrejection"===t&&T("Unhandled promise rejection",n)},X=function(t,e){x.call(u,(function(){var n,r=e.value;if(Z(e)&&(n=E((function(){G?V.emit("unhandledRejection",r,t):Q("unhandledrejection",t,r)})),e.rejection=G||Z(e)?2:1,n.error))throw n.value}))},Z=function(t){return 1!==t.rejection&&!t.parent},tt=function(t,e){x.call(u,(function(){G?V.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},et=function(t,e,n,r){return function(a){t(e,n,a,r)}},nt=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},rt=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw D("Promise can't be resolved itself");var a=z(n);a?k((function(){var r={done:!1};try{a.call(n,et(rt,t,r,e),et(nt,t,r,e))}catch(n){nt(t,r,n,e)}})):(e.value=n,e.state=1,J(t,e,!1))}catch(n){nt(t,{done:!1},n,e)}}};Y&&(P=function(t){_(this,P,O),g(t),r.call(this);var e=L(this);try{t(et(rt,this,e),et(nt,this,e))}catch(t){nt(this,e,t)}},(r=function(t){F(this,{type:O,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(P.prototype,{then:function(t,e){var n=N(this),r=q(w(this,P));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=G?V.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),a=function(){var t=new r,e=L(t);this.promise=t,this.resolve=et(rt,t,e),this.reject=et(nt,t,e)},I.f=q=function(t){return t===P||t===o?new a(t):W(t)},c||"function"!=typeof d||(i=d.prototype.then,p(d.prototype,"then",(function(t,e){var n=this;return new P((function(t,e){i.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof U&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return S(P,U.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:Y},{Promise:P}),h(P,O,!1,!0),v(O),o=l(O),s({target:O,stat:!0,forced:Y},{reject:function(t){var e=q(this);return e.reject.call(void 0,t),e.promise}}),s({target:O,stat:!0,forced:c||Y},{resolve:function(t){return S(c&&this===o?P:this,t)}}),s({target:O,stat:!0,forced:K},{all:function(t){var e=this,n=q(e),r=n.resolve,a=n.reject,o=E((function(){var n=g(e.resolve),o=[],i=0,s=1;C(t,(function(t){var c=i++,u=!1;o.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,o[c]=t,--s||r(o))}),a)})),--s||r(o)}));return o.error&&a(o.value),n.promise},race:function(t){var e=this,n=q(e),r=n.reject,a=E((function(){var a=g(e.resolve);C(t,(function(t){a.call(e,t).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}})},210:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={getAll:function(){return r.httpClient.get("/ajax/documents/get-documents").then((function(t){return t.data}))}}},211:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={autoClaim:function(t){return r.httpAFTClient.post("/ajax/claims/auto-claim",t).then((function(t){return t.data}))},bankIdState:function(){return r.httpAFTClient.post("/ajax/claims/collect-bank-id").then((function(t){return t.data}))},cancelBankId:function(){return r.httpAFTClient.post("/ajax/claims/cancel-bank-id").then((function(t){return t.data}))},claimUser:function(t){return r.httpAFTClient.post("/ajax/claims/claim-user",t).then((function(t){return t.data}))},confirmClaimAsOwner:function(){return r.httpAFTClient.post("/ajax/claims/claim-owner-with-bankid").then((function(t){return t.data}))},generateUserOtp:function(t){return r.httpAFTClient.post("/ajax/claims/generate-user-otp",t).then((function(t){return t.data}))},initBankId:function(t){return r.httpAFTClient.post("/ajax/claims/initiate-bank-id",{PersonalIdentityNumber:t}).then((function(t){return t.data}))},orderOwnerPostal:function(t){return r.httpAFTClient.post("/ajax/claims/order-owner-postal",t).then((function(t){return t.data}))},orderOwnerSmsOtp:function(t){return r.httpAFTClient.post("/ajax/claims/order-owner-sms-otp",t).then((function(t){return t.data}))},resendOwnerSmsOtp:function(t){return r.httpAFTClient.post("/ajax/claims/resend-owner-sms-otp",t).then((function(t){return t.data}))},roles:function(){return r.httpClient.get("/ajax/claims/roles").then((function(t){return t.data}))},validateOwnerOtp:function(t){return r.httpAFTClient.post("/ajax/claims/validate-owner-otp",t).then((function(t){return t.data}))}}},212:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={getBreadcrumbs:function(t){return r.httpClient.get(t).then((function(t){return t.data}))},getSubscriptionDetails:function(t){return r.httpClient.get("/ajax/frontend-customer/subscription/".concat(t)).then((function(t){return t.data}))},getMukOffers:function(t){return r.httpClient.get("/ajax/productoffering/offers/".concat(t,"/MOBILUPPKOPPLING_KLOCKA")).then((function(t){return t.data}))}}},213:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={getSubscription:function(t){return r.httpClient.get("/ajax/frontend-customer/subscription/".concat(t))}}},214:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={isMobileOwner:function(){return r.httpClient.get("/ajax/invoice/mobile-owner").then((function(t){return t.data}))},getUnbilledCharges:function(){return r.httpClient.get("/ajax/invoice/unbilled-charges").then((function(t){return t.data}))},getUnbilledChargesDetails:function(t){return r.httpClient.get("/ajax/invoice/unbilled-charge-for-msisdn?msisdn=".concat(t)).then((function(t){return t.data}))}}},215:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={collectMatchingId:function(t){return r.httpAFTClient.post("/ajax/matching-id/collect",t).then((function(t){return t.data}))},postQrCode:function(t,e){return r.httpAFTClient.post("/ajax/matching-id/qrcode",{matchingId:t},{responseType:e}).then((function(t){return t.data}))}}},216:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={updateEmail:function(t){return r.httpAFTClient.put("/ajax/my-settings/update-email",t).then((function(t){return t.data}))},updateBirthDate:function(t){return r.httpAFTClient.put("/ajax/my-settings/update-birthdate",t).then((function(t){return t.data}))},updatePhone:function(t){return r.httpAFTClient.put("/ajax/my-settings/update-phone",t).then((function(t){return t.data}))},updateContactInfo:function(t){return r.httpClient.put("/ajax/party-management/update-party",t).then((function(t){return t.data}))}}},217:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={getBroadbandEngagements:function(){return r.httpClient.get("/ajax/broadband-engagements/get-broadband-engagements").then((function(t){return t.data}))},getTransactionId:function(t){return r.httpAFTClient.post("/ajax/broadband-self-troubleshooting/init/".concat(t)).then((function(t){return t.data}))},getStatus:function(t){return r.httpClient.get("/ajax/broadband-self-troubleshooting/get-status?transactionId=".concat(t)).then((function(t){return t.data}))}}},218:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={getTic:function(){return r.httpClient.get("/ajax/telenor-identity-code").then((function(t){return t.data}))},changeTic:function(t){return r.httpAFTClient.post("/ajax/telenor-identity-code/change",t).then((function(t){return t.data}))},unlockTic:function(t){return r.httpAFTClient.post("/ajax/telenor-identity-code/unlock",t).then((function(t){return t.data}))}}},219:function(t,e,n){"use strict";n.r(e);n(75),n(34),n(15),n(39),n(81),n(93),n(291);var r=n(5);e.default={getBreadcrumbs:function(t){var e=new URLSearchParams(t).toString(),n="/ajax/account/get-breadcrumbs?".concat(e);return r.httpClient.get(n).then((function(t){return t.data}))}}},220:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={changeUsername:function(t){return r.httpAFTClient.post("/ajax/subscription/change-username",t).then((function(t){return t.data}))}}},221:function(t,e,n){"use strict";n.r(e);n(23);var r=n(5);e.default={getSubscriptionConsumption:function(t){return r.httpClient.get("/ajax/consumption/subscription-consumption?account=".concat(t,"&includeMembers=true")).then((function(t){return t.data}))},saveRestrictions:function(t,e,n){return r.httpAFTClient.put("/ajax/consumption/put-data-restriction/".concat(t,"/").concat(e),n)}}},222:function(t,e,n){"use strict";n.r(e);n(23);var r=n(5);e.default={getAccountInfo:function(t,e,n,a){var o="/ajax/account/get-account-details-info?isCorporate=".concat(t,"&isPrepaid=").concat(e,"&isOwner=").concat(n,"&activeSubscriptionForm=").concat(a);return r.httpClient.get(o).then((function(t){return t.data}))},getEncryptedIamId:function(){return r.httpClient.get("/ajax/account/get-encrypted-iamid").then((function(t){return t.data}))}}},223:function(t,e,n){"use strict";n.r(e);n(23);var r=n(5);e.default={postOrder:function(t,e){return r.httpAFTClient.post("/ajax/productoffering/order/".concat(t,"/").concat(e)).then((function(t){return t.data}))}}},224:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={addBuyLimit:function(t){return r.httpAFTClient.post("/ajax/msisdn-management/add",t).then((function(t){return t.data}))},removeBuyLimit:function(t){return r.httpAFTClient.post("/ajax/msisdn-management/remove",t).then((function(t){return t.data}))}}},225:function(t,e,n){"use strict";n.r(e);n(23);var r=n(5);e.default={isActive:function(t){return r.httpClient.get("/ajax/trygg-management/tryggmanagementservices/".concat(t)).then((function(t){return t.data}))},terminate:function(t,e){return r.httpAFTClient.post("/ajax/trygg-management/terminate/".concat(t,"/").concat(e)).then((function(t){return t.data}))}}},226:function(t,e,n){"use strict";n.r(e);var r=n(5),a="/service/fixed";e.default={initCart:function(t){var e=t.offerId,n=t.addonOffers,o=void 0===n?null:n,i=t.forceCreateNewCart,s=void 0!==i&&i;return r.httpAFTClient.post("".concat(a,"/carthelperapi/initcart"),{offerId:e,addonOffers:o,forceCreateNewCart:s})},initCartAndGetVariantRelatedProducts:function(t){var e=t.offerId,n=t.variantPageContentReferenceId,o=t.forceCreateNewCart,i=void 0!==o&&o;return r.httpAFTClient.post("".concat(a,"/carthelperapi/init-cart-and-get-variant-related-products"),{offerId:e,variantPageContentReferenceId:n,forceCreateNewCart:i})},initCartWithTargetedOffer:function(t){var e=t.offerIds,n=t.addressSearchBlockId,o=t.addonOffer,i=void 0===o?null:o;return r.httpAFTClient.post("".concat(a,"/carthelperapi/initcartwithtargetedcampaignoffers"),{offerIds:e,addressSearchBlockId:n,addonOffer:i})},getVariantDetails:function(t,e){return r.httpAFTClient.get("".concat(a,"/carthelperroapi/getvariantdetails"),{params:{variantPageContentReferenceId:t,offerId:e}})},addProductToCart:function(t){return r.httpAFTClient.get("".concat(a,"/carthelperapi/addproducttocart"),{params:t}).then((function(t){return t.data}))},removeProductFromCart:function(t){return r.httpAFTClient.get("".concat(a,"/carthelperapi/removeproductfromcart"),{params:t}).then((function(t){return t.data}))},addAddonToCart:function(t){return r.httpAFTClient.get("".concat(a,"/carthelperapi/addaddontocart"),{params:t}).then((function(t){return t.data}))},removeAddonFromCart:function(t){return r.httpAFTClient.get("".concat(a,"/carthelperapi/removeaddonfromcart"),{params:t}).then((function(t){return t.data}))},addHardwareToCart:function(t){return r.httpAFTClient.get("".concat(a,"/carthelperapi/addhardwaretocart"),{params:t}).then((function(t){return t.data}))},removeHardwareFromCart:function(t){return r.httpAFTClient.get("".concat(a,"/carthelperapi/removehardwarefromcart"),{params:t}).then((function(t){return t.data}))}}},227:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={getAddressAndSaveInSession:function(t){var e=t.personalNumber,n=t.pageId,a=t.isDeliveryInformationEdit;return r.httpAFTClient.post("/service/fixed/addresssearchapi/getaddressandsaveinsession",{socialSecurityNumber:e,pageId:n,isDeliveryInformationEdit:a})},processCheckout:function(t){return r.httpAFTClient.post("/service/fixed/checkoutorderapi/checkout",t)},addInputValuesToSession:function(t){return r.httpAFTClient.post("/service/fixed/checkoutorderapi/addinputvaluestosession",t)}}},228:function(t,e,n){"use strict";n.r(e);var r=n(11),a=n.n(r).a.create({baseURL:"/service/fixed/tracking/",withCredentials:!1,headers:{Accept:"application/json","Content-Type":"application/json"}});e.default={getEcomProductByOfferId:function(t){return a.get("GetEcomProductByOfferId",{params:{offerId:t}}).then((function(t){return t.data}))},getEcomProductAddonByOfferId:function(t,e){return a.get("GetEcomProductAddonByOfferId",{params:{addonOfferId:t,offerId:e}}).then((function(t){return t.data}))}}},237:function(t,e,n){"use strict";n.r(e);n(18);var r="progress-indicator-wrapper";e.default={prepareDOM:function(t){return t.each((function(){var t=$(this).addClass(r);t.find(".progress-indicator").length||t.append('
')})),t},show:function(t){return t?t.closest("."+r).addClass("show-progress-indicator"):$(document.body).addClass("show-progress-indicator")},hide:function(t){return t?t.closest("."+r).removeClass("show-progress-indicator"):$(document.body).removeClass("show-progress-indicator")},cleanup:function(t){t.removeClass(r+" show-progress-indicator"),t.children(".progress-indicator").remove()}}},253:function(t,e,n){var r=n(30),a=n(40),o=n(91),i=a("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[i]||"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"!==n||"x"!==new URL("http://x",void 0).host}))},254:function(t,e,n){var r=n(46),a=n(251),o=n(47),i=n(92),s=n(135),c=n(289),u=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,l,d){var p,f,h,v,m,g,_,y=i(e,n,l?2:1);if(d)p=t;else{if("function"!=typeof(f=s(t)))throw TypeError("Target is not iterable");if(a(f)){for(h=0,v=o(t.length);v>h;h++)if((m=l?y(r(_=t[h])[0],_[1]):y(t[h]))&&m instanceof u)return m;return new u(!1)}p=f.call(t)}for(g=p.next;!(_=g.call(p)).done;)if("object"==typeof(m=c(p,y,_.value,l))&&m&&m instanceof u)return m;return new u(!1)}).stop=function(t){return new u(!0,t)}},255:function(t,e,n){var r,a,o,i,s,c,u,l,d=n(26),p=n(100).f,f=n(65),h=n(163).set,v=n(114),m=d.MutationObserver||d.WebKitMutationObserver,g=d.process,_=d.Promise,y="process"==f(g),C=p(d,"queueMicrotask"),b=C&&C.value;b||(r=function(){var t,e;for(y&&(t=g.domain)&&t.exit();a;){e=a.fn,a=a.next;try{e()}catch(t){throw a?i():o=void 0,t}}o=void 0,t&&t.enter()},y?i=function(){g.nextTick(r)}:m&&!/(iphone|ipod|ipad).*applewebkit/i.test(v)?(s=!0,c=document.createTextNode(""),new m(r).observe(c,{characterData:!0}),i=function(){c.data=s=!s}):_&&_.resolve?(u=_.resolve(void 0),l=u.then,i=function(){l.call(u,r)}):i=function(){h.call(d,r)}),t.exports=b||function(t){var e={fn:t,next:void 0};o&&(o.next=e),a||(a=e,i()),o=e}},256:function(t,e,n){var r=n(26);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},257:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},259:function(t,e,n){n(19)({target:"Function",proto:!0},{bind:n(260)})},260:function(t,e,n){"use strict";var r=n(83),a=n(49),o=[].slice,i={},s=function(t,e,n){if(!(e in i)){for(var r=[],a=0;al;)n=c[l++],r&&!i.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}};t.exports={entries:s(!0),values:s(!1)}},263:function(t,e,n){var r=n(83),a=n(60),o=n(105),i=n(47),s=function(t){return function(e,n,s,c){r(n);var u=a(e),l=o(u),d=i(u.length),p=t?d-1:0,f=t?-1:1;if(s<2)for(;;){if(p in l){c=l[p],p+=f;break}if(p+=f,t?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:d>p;p+=f)p in l&&(c=n(c,l[p],p,u));return c}};t.exports={left:s(!1),right:s(!0)}},264:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(86))},275:function(t,e,n){t.exports=function(){"use strict";return function(t,e,n){var r=e.prototype,a=r.format,o={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};n.en.formats=o,r.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var e=this.$locale().formats,n=void 0===e?{}:e,r=t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,r){var a=r&&r.toUpperCase();return e||n[r]||o[r]||n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}));return a.call(this,r)}}}()},276:function(t,e,n){var r=n(138),a=n(358),o=n(359),i="Expected a function",s=Math.max,c=Math.min;t.exports=function(t,e,n){var u,l,d,p,f,h,v=0,m=!1,g=!1,_=!0;if("function"!=typeof t)throw new TypeError(i);function y(e){var n=u,r=l;return u=l=void 0,v=e,p=t.apply(r,n)}function C(t){var n=t-h;return void 0===h||n>=e||n<0||g&&t-v>=d}function b(){var t=a();if(C(t))return w(t);f=setTimeout(b,function(t){var n=e-(t-h);return g?c(n,d-(t-v)):n}(t))}function w(t){return f=void 0,_&&u?y(t):(u=l=void 0,p)}function x(){var t=a(),n=C(t);if(u=arguments,l=this,h=t,n){if(void 0===f)return function(t){return v=t,f=setTimeout(b,e),m?y(t):p}(h);if(g)return clearTimeout(f),f=setTimeout(b,e),y(h)}return void 0===f&&(f=setTimeout(b,e)),p}return e=o(e)||0,r(n)&&(m=!!n.leading,d=(g="maxWait"in n)?s(o(n.maxWait)||0,e):d,_="trailing"in n?!!n.trailing:_),x.cancel=function(){void 0!==f&&clearTimeout(f),v=0,u=h=l=f=void 0},x.flush=function(){return void 0===f?p:w(a())},x}},29:function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(t,e,n,r){var a=e&&e.prototype instanceof v?e:v,o=Object.create(a.prototype),i=new I(r||[]);return o._invoke=function(t,e,n){var r=l;return function(a,o){if(r===p)throw new Error("Generator is already running");if(r===f){if("throw"===a)throw o;return A()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=k(i,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=u(t,e,n);if("normal"===c.type){if(r=n.done?f:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=f,n.method="throw",n.arg=c.arg)}}}(t,n,i),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l="suspendedStart",d="suspendedYield",p="executing",f="completed",h={};function v(){}function m(){}function g(){}var _={};_[o]=function(){return this};var y=Object.getPrototypeOf,C=y&&y(y(E([])));C&&C!==n&&r.call(C,o)&&(_=C);var b=g.prototype=v.prototype=Object.create(_);function w(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function x(t){var e;this._invoke=function(n,a){function o(){return new Promise((function(e,o){!function e(n,a,o,i){var s=u(t[n],t,a);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(t){e("next",t,o,i)}),(function(t){e("throw",t,o,i)})):Promise.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return e("throw",t,o,i)}))}i(s.arg)}(n,a,e,o)}))}return e=e?e.then(o,o):o()}}function k(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var a=u(r,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,h;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function n(){for(;++a=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;T(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:E(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},291:function(t,e,n){"use strict";n(81);var r,a=n(19),o=n(51),i=n(253),s=n(26),c=n(194),u=n(56),l=n(119),d=n(58),p=n(318),f=n(319),h=n(199).codeAt,v=n(349),m=n(97),g=n(350),_=n(87),y=s.URL,C=g.URLSearchParams,b=g.getState,w=_.set,x=_.getterFor("URL"),k=Math.floor,S=Math.pow,T=/[A-Za-z]/,I=/[\d+\-.A-Za-z]/,E=/\d/,A=/^(0x|0X)/,j=/^[0-7]+$/,M=/^\d+$/,R=/^[\dA-Fa-f]+$/,B=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,O=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,L=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,F=/[\u0009\u000A\u000D]/g,N=function(t,e){var n,r,a;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(n=D(e.slice(1,-1))))return"Invalid host";t.host=n}else if(Y(t)){if(e=v(e),B.test(e))return"Invalid host";if(null===(n=P(e)))return"Invalid host";t.host=n}else{if(O.test(e))return"Invalid host";for(n="",r=f(e),a=0;a4)return t;for(n=[],r=0;r1&&"0"==a.charAt(0)&&(o=A.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)i=0;else{if(!(10==o?M:8==o?j:R).test(a))return t;i=parseInt(a,o)}n.push(i)}for(r=0;r=S(256,5-e))return null}else if(i>255)return null;for(s=n.pop(),r=0;r6)return;for(r=0;p();){if(a=null,r>0){if(!("."==p()&&r<4))return;d++}if(!E.test(p()))return;for(;E.test(p());){if(o=parseInt(p(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;d++}c[u]=256*c[u]+a,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==p()){if(d++,!p())return}else if(p())return;c[u++]=e}else{if(null!==l)return;d++,l=++u}}if(null!==l)for(i=u-l,u=7;0!=u&&i>0;)s=c[u],c[u--]=c[l+i-1],c[l+--i]=s;else if(8!=u)return;return c},$=function(t){var e,n,r,a;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=k(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,a=0,o=0;o<8;o++)0!==t[o]?(a>n&&(e=r,n=a),r=null,a=0):(null===r&&(r=o),++a);return a>n&&(e=r,n=a),e}(t),n=0;n<8;n++)a&&0===t[n]||(a&&(a=!1),r===n?(e+=n?":":"::",a=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},V={},U=p({},V,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},U,{"#":1,"?":1,"{":1,"}":1}),W=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),G=function(t,e){var n=h(t,0);return n>32&&n<127&&!d(e,t)?t:encodeURIComponent(t)},H={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(t){return d(H,t.scheme)},K=function(t){return""!=t.username||""!=t.password},z=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},J=function(t,e){var n;return 2==t.length&&T.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},Q=function(t){var e;return t.length>1&&J(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},X=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&J(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},nt={},rt={},at={},ot={},it={},st={},ct={},ut={},lt={},dt={},pt={},ft={},ht={},vt={},mt={},gt={},_t={},yt={},Ct={},bt=function(t,e,n,a){var o,i,s,c,u,l=n||tt,p=0,h="",v=!1,m=!1,g=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(L,"")),e=e.replace(F,""),o=f(e);p<=o.length;){switch(i=o[p],l){case tt:if(!i||!T.test(i)){if(n)return"Invalid scheme";l=nt;continue}h+=i.toLowerCase(),l=et;break;case et:if(i&&(I.test(i)||"+"==i||"-"==i||"."==i))h+=i.toLowerCase();else{if(":"!=i){if(n)return"Invalid scheme";h="",l=nt,p=0;continue}if(n&&(Y(t)!=d(H,h)||"file"==h&&(K(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=h,n)return void(Y(t)&&H[t.scheme]==t.port&&(t.port=null));h="","file"==t.scheme?l=ft:Y(t)&&a&&a.scheme==t.scheme?l=rt:Y(t)?l=st:"/"==o[p+1]?(l=at,p++):(t.cannotBeABaseURL=!0,t.path.push(""),l=_t)}break;case nt:if(!a||a.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(a.cannotBeABaseURL&&"#"==i){t.scheme=a.scheme,t.path=a.path.slice(),t.query=a.query,t.fragment="",t.cannotBeABaseURL=!0,l=Ct;break}l="file"==a.scheme?ft:ot;continue;case rt:if("/"!=i||"/"!=o[p+1]){l=ot;continue}l=ct,p++;break;case at:if("/"==i){l=ut;break}l=gt;continue;case ot:if(t.scheme=a.scheme,i==r)t.username=a.username,t.password=a.password,t.host=a.host,t.port=a.port,t.path=a.path.slice(),t.query=a.query;else if("/"==i||"\\"==i&&Y(t))l=it;else if("?"==i)t.username=a.username,t.password=a.password,t.host=a.host,t.port=a.port,t.path=a.path.slice(),t.query="",l=yt;else{if("#"!=i){t.username=a.username,t.password=a.password,t.host=a.host,t.port=a.port,t.path=a.path.slice(),t.path.pop(),l=gt;continue}t.username=a.username,t.password=a.password,t.host=a.host,t.port=a.port,t.path=a.path.slice(),t.query=a.query,t.fragment="",l=Ct}break;case it:if(!Y(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=a.username,t.password=a.password,t.host=a.host,t.port=a.port,l=gt;continue}l=ut}else l=ct;break;case st:if(l=ct,"/"!=i||"/"!=h.charAt(p+1))continue;p++;break;case ct:if("/"!=i&&"\\"!=i){l=ut;continue}break;case ut:if("@"==i){v&&(h="%40"+h),v=!0,s=f(h);for(var _=0;_65535)return"Invalid port";t.port=Y(t)&&b===H[t.scheme]?null:b,h=""}if(n)return;l=mt;continue}return"Invalid port"}h+=i;break;case ft:if(t.scheme="file","/"==i||"\\"==i)l=ht;else{if(!a||"file"!=a.scheme){l=gt;continue}if(i==r)t.host=a.host,t.path=a.path.slice(),t.query=a.query;else if("?"==i)t.host=a.host,t.path=a.path.slice(),t.query="",l=yt;else{if("#"!=i){Q(o.slice(p).join(""))||(t.host=a.host,t.path=a.path.slice(),X(t)),l=gt;continue}t.host=a.host,t.path=a.path.slice(),t.query=a.query,t.fragment="",l=Ct}}break;case ht:if("/"==i||"\\"==i){l=vt;break}a&&"file"==a.scheme&&!Q(o.slice(p).join(""))&&(J(a.path[0],!0)?t.path.push(a.path[0]):t.host=a.host),l=gt;continue;case vt:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&J(h))l=gt;else if(""==h){if(t.host="",n)return;l=mt}else{if(c=N(t,h))return c;if("localhost"==t.host&&(t.host=""),n)return;h="",l=mt}continue}h+=i;break;case mt:if(Y(t)){if(l=gt,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(l=gt,"/"!=i))continue}else t.fragment="",l=Ct;else t.query="",l=yt;break;case gt:if(i==r||"/"==i||"\\"==i&&Y(t)||!n&&("?"==i||"#"==i)){if(".."===(u=(u=h).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(X(t),"/"==i||"\\"==i&&Y(t)||t.path.push("")):Z(h)?"/"==i||"\\"==i&&Y(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&J(h)&&(t.host&&(t.host=""),h=h.charAt(0)+":"),t.path.push(h)),h="","file"==t.scheme&&(i==r||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",l=yt):"#"==i&&(t.fragment="",l=Ct)}else h+=G(i,q);break;case _t:"?"==i?(t.query="",l=yt):"#"==i?(t.fragment="",l=Ct):i!=r&&(t.path[0]+=G(i,V));break;case yt:n||"#"!=i?i!=r&&("'"==i&&Y(t)?t.query+="%27":t.query+="#"==i?"%23":G(i,V)):(t.fragment="",l=Ct);break;case Ct:i!=r&&(t.fragment+=G(i,U))}p++}},wt=function(t){var e,n,r=l(this,wt,"URL"),a=arguments.length>1?arguments[1]:void 0,i=String(t),s=w(r,{type:"URL"});if(void 0!==a)if(a instanceof wt)e=x(a);else if(n=bt(e={},String(a)))throw TypeError(n);if(n=bt(s,i,null,e))throw TypeError(n);var c=s.searchParams=new C,u=b(c);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(c)||null},o||(r.href=kt.call(r),r.origin=St.call(r),r.protocol=Tt.call(r),r.username=It.call(r),r.password=Et.call(r),r.host=At.call(r),r.hostname=jt.call(r),r.port=Mt.call(r),r.pathname=Rt.call(r),r.search=Bt.call(r),r.searchParams=Ot.call(r),r.hash=Lt.call(r))},xt=wt.prototype,kt=function(){var t=x(this),e=t.scheme,n=t.username,r=t.password,a=t.host,o=t.port,i=t.path,s=t.query,c=t.fragment,u=e+":";return null!==a?(u+="//",K(t)&&(u+=n+(r?":"+r:"")+"@"),u+=$(a),null!==o&&(u+=":"+o)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},St=function(){var t=x(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Y(t)?e+"://"+$(t.host)+(null!==n?":"+n:""):"null"},Tt=function(){return x(this).scheme+":"},It=function(){return x(this).username},Et=function(){return x(this).password},At=function(){var t=x(this),e=t.host,n=t.port;return null===e?"":null===n?$(e):$(e)+":"+n},jt=function(){var t=x(this).host;return null===t?"":$(t)},Mt=function(){var t=x(this).port;return null===t?"":String(t)},Rt=function(){var t=x(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Bt=function(){var t=x(this).query;return t?"?"+t:""},Ot=function(){return x(this).searchParams},Lt=function(){var t=x(this).fragment;return t?"#"+t:""},Ft=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&c(xt,{href:Ft(kt,(function(t){var e=x(this),n=String(t),r=bt(e,n);if(r)throw TypeError(r);b(e.searchParams).updateSearchParams(e.query)})),origin:Ft(St),protocol:Ft(Tt,(function(t){var e=x(this);bt(e,String(t)+":",tt)})),username:Ft(It,(function(t){var e=x(this),n=f(String(t));if(!z(e)){e.username="";for(var r=0;r1&&(i=s(i,a(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in e&&e[i]===t)return i||0;return-1}:c},349:function(t,e,n){"use strict";var r=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,s=String.fromCharCode,c=function(t){return t+22+75*(t<26)},u=function(t,e,n){var r=0;for(t=n?i(t/700):t>>1,t+=i(t/e);t>455;r+=36)t=i(t/35);return i(r+36*t/(t+38))},l=function(t){var e,n,r=[],a=(t=function(t){for(var e=[],n=0,r=t.length;n=55296&&a<=56319&&n=l&&ni((2147483647-d)/m))throw RangeError(o);for(d+=(v-l)*m,l=v,e=0;e2147483647)throw RangeError(o);if(n==l){for(var g=d,_=36;;_+=36){var y=_<=p?1:_>=p+26?26:_-p;if(g0?arguments[0]:void 0,l=this,f=[];if(S(l,{type:"URLSearchParams",entries:f,updateURL:function(){},updateSearchParams:P}),void 0!==u)if(m(u))if("function"==typeof(t=C(u)))for(n=(e=t.call(u)).next;!(r=n.call(e)).done;){if((i=(o=(a=y(v(r.value))).next).call(a)).done||(s=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");f.push({key:i.value+"",value:s.value+""})}else for(c in u)p(u,c)&&f.push({key:c,value:u[c]+""});else N(f,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},U=V.prototype;s(U,{append:function(t,e){D(arguments.length,2);var n=T(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){D(arguments.length,1);for(var e=T(this),n=e.entries,r=t+"",a=0;at.key){a.splice(e,0,t);break}e===n&&a.push(t)}r.updateURL()},forEach:function(t){for(var e,n=T(this).entries,r=f(t,arguments.length>1?arguments[1]:void 0,3),a=0;a1&&(e=arguments[1],m(e)&&(n=e.body,"URLSearchParams"===h(n)&&((r=e.headers?new x(e.headers):new x).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=g(e,{body:_(0,String(n)),headers:_(0,r)}))),a.push(e)),w.apply(this,a)}}),t.exports={URLSearchParams:V,getState:T}},351:function(t,e,n){var r=n(46),a=n(135);t.exports=function(t){var e=a(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},356:function(t,e,n){var r=n(26),a=n(176).trim,o=n(158),i=r.parseFloat,s=1/i(o+"-0")!=-1/0;t.exports=s?function(t){var e=a(String(t)),n=i(e);return 0===n&&"-"==e.charAt(0)?-0:n}:i},357:function(t,e,n){"use strict";var r=n(113),a=n(47),o=n(92),i=function(t,e,n,s,c,u,l,d){for(var p,f=c,h=0,v=!!l&&o(l,d,3);h0&&r(p))f=i(t,e,p,a(p.length),f,u-1)-1;else{if(f>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[f]=p}f++}h++}return f};t.exports=i},358:function(t,e,n){var r=n(77);t.exports=function(){return r.Date.now()}},359:function(t,e,n){var r=n(138),a=n(360),o=NaN,i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=c.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):s.test(t)?o:+t}},360:function(t,e,n){var r=n(120),a=n(121),o="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||a(t)&&r(t)==o}},361:function(t,e,n){var r=n(182),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var a=i.call(t);return r&&(e?t[s]=n:delete t[s]),a}},362:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},442:function(t,e,n){"use strict";n.r(e);var r=n(5);e.default={getComboBenefitResult:function(t,e){return r.httpClient.post("/service/comboBenefitApi/getComboBenefitResult",{blockContentReferenceId:t,productTypeIds:e}).then((function(t){return t.data}))}}},45:function(t,e,n){"use strict";n.r(e);var r=n(226);n.d(e,"cartService",(function(){return r.default}));var a=n(227);n.d(e,"checkoutService",(function(){return a.default}));var o=n(228);n.d(e,"trackingService",(function(){return o.default}))},6:function(t,e,n){"use strict";n.r(e);var r=n(200);n.d(e,"BankIdService",(function(){return r.default}));var a=n(201);n.d(e,"EngagementService",(function(){return a.default}));var o=n(202);n.d(e,"BarringService",(function(){return o.default}));var i=n(203);n.d(e,"CloneService",(function(){return i.default}));var s=n(204);n.d(e,"CustomerCampaignService",(function(){return s.default}));var c=n(205);n.d(e,"CustomerClaimService",(function(){return c.default}));var u=n(206);n.d(e,"CustomerStateService",(function(){return u.default}));var l=n(207);n.d(e,"CustomerOrderService",(function(){return l.default}));var d=n(208);n.d(e,"CustomerProductService",(function(){return d.default}));var p=n(209);n.d(e,"CustomerPaidServicesService",(function(){return p.default}));var f=n(210);n.d(e,"DocumentService",(function(){return f.default}));var h=n(211);n.d(e,"ClaimService",(function(){return h.default}));var v=n(212);n.d(e,"EsimService",(function(){return v.default}));var m=n(213);n.d(e,"FrontendCustomerService",(function(){return m.default}));var g=n(214);n.d(e,"InvoiceService",(function(){return g.default}));var _=n(215);n.d(e,"MatchingIdService",(function(){return _.default}));var y=n(216);n.d(e,"MySettingsService",(function(){return y.default}));var C=n(217);n.d(e,"SelfTroubleshootingService",(function(){return C.default}));var b=n(218);n.d(e,"TelenorIdentityCodeService",(function(){return b.default}));var w=n(219);n.d(e,"SharedService",(function(){return w.default}));var x=n(220);n.d(e,"SubscriptionService",(function(){return x.default}));var k=n(221);n.d(e,"ConsumptionService",(function(){return k.default}));var S=n(222);n.d(e,"AccountService",(function(){return S.default}));var T=n(223);n.d(e,"ProductOfferingService",(function(){return T.default}));var I=n(224);n.d(e,"MsisdnManagementService",(function(){return I.default}));var E=n(225);n.d(e,"TryggManagementService",(function(){return E.default}))},77:function(t,e,n){var r=n(264),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();t.exports=o},90:function(t,e,n){"use strict";n.r(e);var r=n(4),a=n.n(r),o=n(16);e.default={alert:function(t){var e=t.bodyText,n=t.isHtmlBody,r=t.onClose,i=document.createElement("div"),s=new(a.a.extend(o.ModalAlert))({propsData:{bodyText:e,isHtmlBody:n}});document.body.appendChild(i),s.$on("close",(function(){s.$nextTick((function(){s.$el.parentNode.removeChild(s.$el),s.$destroy()})),r&&r()})),s.$mount(i),s.openModal()}}},98:function(t,e,n){"use strict";var r=n(115),a=n(46),o=n(66),i=n(137),s=n(116);r("search",1,(function(t,e,n){return[function(e){var n=o(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=a(t),c=String(this),u=o.lastIndex;i(u,0)||(o.lastIndex=0);var l=s(o,c);return i(o.lastIndex,u)||(o.lastIndex=u),null===l?-1:l.index}]}))}}]);