(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{128:function(e,t,r){"use strict";r.r(t);r(44),r(32),r(13),r(52),r(37),r(53),r(54),r(31),r(14);var s=r(12),a=r(8),o=r(276),n=r.n(o),i=r(109);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default={data:function(){return{$_addressSearchMixin_scrollToSearch:!1,$_addressSearchMixin_scrollEventHandler:n()(this.scrollCallback,100,{trailing:!0,leading:!1})}},computed:function(e){for(var t=1;t0},hasProductFocused:function(e){return Object.keys(e.productFocused).length>0},hasSearchResult:function(e,t){return!e.addressSearchInProgress&&t.hasAddressSearchResponseData},hasSearchResultOffers:function(e,t){return t.hasSearchResult&&t.numberOfProducts>0},searchedAddress:function(e){var t=e.addressSearchResponseData;return"".concat(t.addressOnly," ").concat(t.addressNr).concat(t.entrance||"",", ").concat(t.city)},singleProduct:function(e,t){return 1===t.numberOfProducts?e.addressSearchResponseData.addressSearchAccessTypes[0].products[0]:void 0},hasOnlyProductFocused:function(e,t){return t.singleProduct&&e.productFocusedInSearchResponse&&e.productFocused.contentReferenceId!==t.singleProduct.contentReferenceId},hasSearchResultExceptTargetedProduct:function(e,t){return t.numberOfProducts>0&&!t.hasOnlyProductFocused},numberOfProducts:function(e,t){var r=e.addressSearchResponseData.addressSearchAccessTypes,s=0;return t.hasSearchResult&&r&&r.length&&(s=r.map((function(e){return e.products.length})).reduce((function(e,t){return e+t}))),s},productFocusedAccessType:function(e,t){var r={};t.productFocused&&(r=e.addressSearchResponseData.addressSearchAccessTypes.find((function(e){return e.products.find((function(e){return e.contentReferenceId===t.productFocused.contentReferenceId}))}))||{});return r}}}},171:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.componentClassList,on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.focusNextItem(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.focusPrevItem(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"escape",void 0,t.key,void 0)?null:(t.preventDefault(),e.hideSearchResultsArea(t))}]}},[e.propInSiteHeader?r("a",{staticClass:"site-search__input-trigger",attrs:{"aria-controls":"siteSearch"},on:{click:e.showSearchBar}},[r("span",{staticClass:"icon icon-search"}),e._v("\n Sök\n ")]):e._e(),e._v(" "),e.isSearchResultsAreaVisible?r("div",{staticClass:"site-search__overlay",on:{click:e.hideSearchResultsArea}}):e._e(),e._v(" "),r("transition",{attrs:{name:"search-bar-slide"}},[e.isSearchBarVisible?r("form",{staticClass:"site-search__search-bar",class:{"site-search__form-pop":e.isSearchResultsAreaVisible},attrs:{role:"search","aria-label":"Sitewide",id:"siteSearch","aria-expanded":e.isSearchBarVisible.toString(),action:e.allResultsUrl}},[r("input",{ref:"searchInput",staticClass:"site-search__input",attrs:{type:"search",placeholder:e.propViewModel.searchFieldPlaceholder,autocomplete:"off",name:"tnsok","aria-autocomplete":"list","aria-haspopup":"true"},domProps:{value:e.searchTerm},on:{input:e.handleSearchInput,keydown:[function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault()},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault()},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.handleEnterKeyDown(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"escape",void 0,t.key,void 0)?null:e.hideSearchResultsArea(t)}]}}),e._v(" "),r("button",{staticClass:"button site-search__search-button",attrs:{type:"submit"},on:{click:function(t){return t.preventDefault(),e.submitSearchTerm(t)}}}),e._v(" "),!e.isDesktop&&e.propInSiteHeader?r("div",{staticClass:"site-search__search-bar__close pull-right",on:{click:e.hideSearchBar}},[r("span",{staticClass:"icon-close"})]):e._e()]):e._e()]),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isSearchResultsAreaVisible,expression:"isSearchResultsAreaVisible"}],staticClass:"site-search__results-container",attrs:{"aria-modal":"true"}},[r("div",{staticClass:"site-search__results-container__close-container"},[r("a",{attrs:{href:"#"},on:{click:e.hideSearchResultsArea}},[e._v("Stäng"),r("span",{staticClass:"icon-close"})])]),e._v(" "),r("div",{staticClass:"site-search__results-container__search-results"},[r("search-results",{attrs:{"prop-all-results-url":e.allResultsUrl,"prop-view-model":e.resultsViewModel,"prop-search-in-progress":e.searchInProgress,"prop-search-results":e.searchResults}})],1)])],1)};s._withStripped=!0;r(44),r(23),r(32),r(13),r(52),r(37),r(53),r(54),r(31),r(22),r(25),r(98),r(102),r(14),r(42);var a=r(11),o=r.n(a),n=r(236),i=r(10),c=r(191),d=r(16),l=r(5);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function u(e){for(var t=1;t1?this.searchTimeout=setTimeout((function(){e.searchInProgress=!0,e.searchResultsAreaVisible=!0,e.searchCancellationToken&&e.searchCancellationToken.cancel(),e.searchCancellationToken=o.a.CancelToken.source();var t=!1;l.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 r=t.data;r.length?(e.searchResults=e.transformSearchResults(r,e.searchTerm),e.resultsViewModel.noHitsOrErrorText=e.propViewModel.noHitsText):e.searchResults=[]})).catch((function(r){o.a.isCancel(r)?t=!0:r&&r.response&&400===r.response.status&&(e.resultsViewModel.noHitsOrErrorText=r.response.data.Message)})).then((function(){t||e.$nextTick((function(){e.searchInProgress=!1;Object(n.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=r(1),g=Object(m.a)(f,s,[],!1,null,null,null);g.options.__file="Static/js/base/molecules/SiteSearch.vue";var _=g.exports;r.d(t,"SiteSearch",(function(){return _}))},172:function(e,t,r){r(18),r(67),r(127),r(166),r(296),r(80),r(183),r(34),r(259),r(41),r(31),r(15),r(292),r(76),r(22),r(39),r(136),r(25),r(98),r(42);var s,o={},n="";if(void 0===s)switch(s="",window.location.hostname){case"cloud.cention.com":case"cloud.cust.cention.se":n=window.location.pathname.substr(0,window.location.pathname.indexOf("/",3))}var i={};e.exports=function(e){var t,r={},s={},c=null,d={},l="JSON";function p(){window.console&&console.log&&"function"==typeof console.log&&console.log.apply(console,arguments)}function u(e){var t=''+e.fileName+" ("+e.sizeHuman+")";return e.error&&(t+="Error: "+e.error+""),t}function h(e){var t=d[e];if(t)return t.apply(self,Array.prototype.slice.apply(arguments,[1]),Array.prototype.slice.apply(arguments,[2]))}return s.sessionSecret="",s.sessionId="",s.areaId=0,s.activeSession=!1,r.queuePosition=-1,r.mcount={},r.maxAcked=0,r.agentSeen={},s.baseURL="",r.trackClientUrl=!0,e&&(r.trackClientUrl=e.trackClientUrl),"function"==typeof I?s.I=I:s.I=function(e){return e},t={renderSetAgentsEvent:function(e){var t=[],r=function(e,t){return et?1:0},a=function(t){var r=0,s=[];for(r=0;r0&&t.push(s.I("Agent(s) removed: {AGENT_NAMES}").replace("{AGENT_NAMES}",n.join(", "))),o.length>0&&!e.byInvitation&&t.push(s.I("Agent(s) added: {AGENT_NAMES}").replace("{AGENT_NAMES}",o.join(", "))),0==t.length?null:t.join(".
\n")},renderAgentLeftEvent:function(e){return s.I("{AGENT_NAME} has left the chat.").replace("{AGENT_NAME}",e.name)},renderClientEndsChat:function(e){return"UNKNOWN"==e.name?s.I("Client ended the chat."):s.I("{NAME} ended the chat.").replace("{NAME}",e.name)},renderAttachmentAdded:function(e){return''+e.file.value+" ("+e.file.sizeHuman+")"},renderForwardToAgent:function(e){return s.I("{FROM_AGENT} forwarded the chat to {TO_AGENT}").replace("{FROM_AGENT}",e.from).replace("{TO_AGENT}",e.to)},renderForwardToArea:function(e){return s.I("{FROM_AGENT} forwarded the chat to area {AREA_NAME}").replace("{FROM_AGENT}",e.from).replace("{AREA_NAME}",e.areaName)},renderSendChatHistory:function(e){return s.I("A copy of the chat will be sent to {CLIENT_EMAIL}").replace("{CLIENT_EMAIL}",e.to)},renderAcceptChat:function(e){return s.I("{AGENT_NAME} joins the chat.").replace("{AGENT_NAME}",e.who)},renderRejectChat:function(e){return null},renderChatExpired:function(e){return s.I("This chat has expired.")},renderOwnerEndsChat:function(e){return s.I("{AGENT_NAME} ended the chat.").replace("{AGENT_NAME}",e.who)},format:function(e,r,s){var a=JSON.parse(e.text);if(!a)return e;var o={sender:"SYSTEM",fromClient:e.fromClient,text:e.text};switch(a.event){case"SET_AGENTS":o.text=t.renderSetAgentsEvent(a);break;case"AGENT_LEFT":o.text=t.renderAgentLeftEvent(a);break;case"CLIENT_ENDS_CHAT":o.text=t.renderClientEndsChat(a);break;case"ADD_ATTACHMENT":Array.prototype.contains=function(e){return this.indexOf(e)>-1},isAgent=s.indexOf(a.who),isAgent>-1?o.fromClient=!1:o.fromClient=!0,o.sender=a.name,o.text=t.renderAttachmentAdded(a);break;case"FORWARD_TO_AGENT":o.text=t.renderForwardToAgent(a);break;case"FORWARD_TO_AREA":o.text=t.renderForwardToArea(a);break;case"SEND_CHAT_HISTORY":o.text=t.renderSendChatHistory(a);break;case"ACCEPT_CHAT":o.text=t.renderAcceptChat(a);break;case"REJECT_CHAT":o.text=null;break;case"CHAT_EXPIRED":o.text=t.renderChatExpired(a);break;case"OWNER_ENDS_CHAT":o.text=t.renderOwnerEndsChat(a)}return o}},r.maybeFormat=function(e){var t,i=e.text;if("AGENT"==e.sender){if(e.text.match(/^
-1)return void(e.text=e.text.replace("/Cention/web/",s.baseURL+n+"/Cention/web/"))}if(0===e.text.lastIndexOf(l,0))try{switch((t=r.parseJSONMessage(e.text)).event){case"FILE_UPLOAD":e.text=u(t);break;case"TEMPLATE_BUTTON":e.text=function(e){var t='
'+e.text+"
";return Array.isArray(e.buttons)&&jQuery.each(e.buttons,(function(e,a){var n=Math.random().toString(36).substr(2,9);switch(a.type){case"url":o[n]=function(){window.open(a.url)};break;case"postback":o[n]=function(){s.message(r.JSONMessage({event:"BUTTON_POSTBACK",buttonTitle:a.title,buttonData:a.data}))}}t+='
"+a.title+"
"})),t+="
"}(t);break;case"BUTTON_POSTBACK":e.text=function(e){return e.buttonTitle}(t)}}catch(t){e.text=i}},r.bindEvents=function(e,a){e.on("unsentmessages",(function(){r.emitMessage()})),e.on("status",(function(t){t({forcelongpolling:e.forcedLongPolling})})),e.on("pong",(function(){r.io.lastPong=(new Date).getTime()})),e.on("connect_error",(function(e){h("connect_error",e)})),e.on("connect",(function(){s.sessionSecret?r.reconnect():r.register(a)})),e.onJson("register",(function(e,t){r.connected=!0,"OFFLINE"==e.status?s.disconnect():"CLOSED"==e.status?h("chat closed"):(s.sessionSecret=e.sessionSecret,s.sessionId=e.sessionId,s.areaId=e.areaId,s.activeSession=!0,s.haveCookie=e.haveCookie,h("connect",e)),t("client "+e.status)})),e.on("agent unavailable",(function(){h("agent unavailable")})),e.on("queue full",(function(){h("queue full")})),e.onJson("chat message",(function(e,s){var a,o,n,i,c=[];if(e){(a=e.session).chat=e.messages;var l,p=e.session.agentIds;for(o=0;o0)i.sender="AGENT",r.maybeFormat(i);else{var u=t.format(i,a.clientId,p);i.sender=u.sender,i.text=u.text,i.fromClient=u.fromClient}for(d["chat message"].call(null,a),o=0;o0&&h("message acked",{ids:c})}s(Object.keys(r.mcount).length,e.messages.length)}})),e.onJson("agent preview",(function(e){h("agent preview",e)})),e.on("queue",(function(e){(-1==r.queuePosition||er.io.pongTimeout?r.forceLongPolling():setTimeout(r.watchDog,r.io.pongTimeout)))},s.connect=function(e,t){var a,o=!1;r.connected=!1,c?(c.connect(),s.sessionSecret?r.reconnect():r.register(e)):(a={path:n+"/socket/external.io"},t&&((t.forcelongpolling||r.io.forcelongpolling)&&(o=!0,a.transports=["polling"]),void 0!==t.multiplex&&(a.multiplex=t.multiplex)),e&&(s.areaId||(s.areaId=e.area),e.langCode&&(s.langCode=e.langCode),e.baseURL||(e.baseURL=s.baseURL)),c=SockWrap(io(s.baseURL||window.location.origin,a),o),r.bindEvents(c,e),r.io.forcelongpolling||r.io.watchDogEnabled||(r.io.watchDogEnabled=!0,setTimeout(r.watchDog,r.io.pongTimeout))),clearTimeout(r.reconnectTimeoutId),r.reconnectTimeoutId=setTimeout((function(){r.connected||r.forceLongPolling()}),6e4)},s.tryResume=function(e){var t=s.baseURL+n+"/socket/external.api/canresume";jQuery.ajax({url:t,type:"GET",xhrFields:{withCredentials:!0}}).done((function(t){t.error?e(t):s.connect({callback:e,resume:!0,area:-1})})).fail((function(r,s,a){p("error loading "+t,s,a),e({error:"resume failed"})}))},s.disconnect=function(){s.activeSession=!1,c.disconnect(),c=null},r.unsentMessageId=0,r.unsentMessages=[],r.emitMessage=function(){var e;0!=r.unsentMessages.length&&(e=r.unsentMessages[0],c.emit("chat message",{id:e.id,message:e.message,mcount:Object.keys(r.mcount).length},(function(t){if(t.error)switch(t.error){case"ERR_NIL_CHAT":r.reconnect();case"ERR_TRY_AGAIN":return void setTimeout(r.emitMessage,4e3);case"ERR_INVALID_MESSAGE_ID":throw new Error("received ERR_INVALID_MESSAGE_ID: "+e.id);case"ERR_ALREADY_SEEN":r.unsentMessages.length>0&&e.id==r.unsentMessages[0].id&&((e=r.unsentMessages.shift()).messageId="already-seen-"+e.id,r.mcount[e.messageId]=!0,r.updateUnsentMessage&&r.updateUnsentMessage({id:e.messageId,umid:e.id,sentHuman:"NN:NN"}));break;default:throw new Error("unhandled ack.error '"+t.error+"'")}else(e=r.unsentMessages.shift()).id==t.umid&&(e.messageId=t.id,e.sentHuman=t.sentHuman,r.updateUnsentMessage&&r.updateUnsentMessage({id:t.id,umid:t.umid,sentHuman:t.sentHuman}),r.agentSeen.hasOwnProperty(t.id)||(r.agentSeen[t.id]=!1));r.unsentMessages.length>0&&r.emitMessage()})))},r.getNewMessageId=function(){var e=(new Date).getTime();return r.unsentMessageId++,"c-"+e+"-"+r.unsentMessageId},r.addUnsentMessage=function(e){var t;return t={message:e,id:r.getNewMessageId()},r.unsentMessages.push(t),s.activeSession&&1==r.unsentMessages.length&&r.emitMessage(),t},s.message=function(e){return r.addUnsentMessage(e)},s.preview=function(e){s.activeSession&&c.emit("preview",e)},r.reconnect=function(){c.emit("session reconnect",{area:s.areaId,sessionId:s.sessionId,sessionSecret:s.sessionSecret,langCode:s.langCode})},s.close=function(){c.emit("close chat")},r.register=function(e){e&&(e.resume?c.emit("resume",{href:window.location.href,trackClientUrl:r.trackClientUrl},(function(t){if(r.connected=!0,t.error)return c.disconnect(),c=null,void(e.callback&&e.callback(t));s.sessionSecret=t.sessionSecret,s.sessionId=t.sessionId,s.areaId=t.areaId,s.activeSession=!0,t.langCode&&(s.langCode=t.langCode),e.callback&&e.callback(t),c.emit("sendchat","resume existing chat",(function(e){e.error&&p("sendchat error",e.error)}))})):(e.href=window.location.href,e.trackClientUrl=r.trackClientUrl,c.emit("register",e)))},r.isWithinSizeLimit=function(e){var t=i.feature["chat.max-attachment-size"];return void 0===t||t<=0||!(e>t)},r.JSONMessage=function(e){return l+JSON.stringify(e)},r.parseJSONMessage=function(e){return JSON.parse(e.replace(l,""))},s.attachFile=function(e,t){if(e&&void 0!==e)if(r.isWithinSizeLimit(e.size)){var a=[],o=new FormData,i=Math.floor(6*Math.random())+"0"+Math.floor(""+new Date/1e3);o.append("uploadfile",e),o.append("random",parseFloat(i)),o.append("session",s.sessionId),o.append("area",s.areaId),o.append("sessionSecret",s.sessionSecret),a[0]=new XMLHttpRequest,a[0].open("POST",s.baseURL+n+"/Cention/web/chat/client/uploadAttachment"),a[0].onreadystatechange=function(e){if(4==e.target.readyState)if(200==e.target.status){var a=JSON.parse(e.target.responseText);c.emit("add attachment",{area:s.areaId,sessionSecret:s.sessionSecret,file:a},(function(e){var a={event:"FILE_UPLOAD",fileDownload:e.file.download,fileName:e.file.value,sizeHuman:e.file.sizeHuman,error:e.error},o=s.message(r.JSONMessage(a));t({unsent:!0,text:u(a),fromClient:!0,sender:"CLIENT",id:"unsent-"+o.id})}))}else alert(s.I("We're sorry, an error occurred while uploading the file."))},a[0].send(o)}else alert(I("The uploaded file has exceeded the max allowed size."))},s.attachImage=function(e){var t=new FormData,r=Math.floor(6*Math.random())+"1"+Math.floor(""+new Date/1e3);return t.append("uploadfile",e),t.append("random",r),t.append("area",s.areaId),t.append("session",s.sessionId),t.append("sessionSecret",s.sessionSecret),jQuery.ajax({url:s.baseURL+n+"/Cention/web/chat/client/uploadTempAttachment",data:t,processData:!1,contentType:!1,type:"POST"})},s.moveImage=function(e,t){var r=new FormData;return r.append("fileIds",e),r.append("fileNames",t),r.append("session",s.sessionId),jQuery.ajax({url:s.baseURL+n+"/Cention/web/chat/client/moveTempAttachment",data:r,processData:!1,contentType:!1,type:"POST"})},s.canChat=function(e,t,r){!function(e,t,r,a){var o=s.baseURL+n+"/socket/external.api"+r;jQuery.ajax({url:o,data:{area:e,report:t},type:"GET",xhrFields:{withCredentials:!0}}).done(function(e){a(e)}.bind(this)).fail((function(e,t,r){p("error loading "+o,t,r),a({error:"chat connection failed"})}))}(t,r,"/canchat",(function(t){i.feature=t.feature,e(t)}))},s.resetChat=function(){s.sessionSecret="",s.sessionId="",s.activeSession=!1,r.queuePosition=-1,r.maxAcked=0,r.agentSeen={},r.mcount={}},s}},187:function(e,t,r){"use strict";var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("collapsible-panel",{ref:"collapsiblePanel",staticClass:"lan-activation-service-distributor-info",attrs:{"prop-background-color-class":"color-background-light-green"},on:{collapsed:function(t){return e.$emit("collapsed",t)}},scopedSlots:e._u([{key:"header",fn:function(){return[r("div",{staticClass:"lan-activation-service-distributor-info__header"},[r("img",{staticClass:"lan-activation-service-distributor-info__header__image",attrs:{src:e.propServiceDistributorViewModel.imageUrl}}),e._v(" "),r("h2",{staticClass:"lan-activation-service-distributor-info__header__name font-h2"},[e._v("\n "+e._s(e.propServiceDistributorViewModel.name)+"\n ")])])]},proxy:!0}])},[e._v(" "),r("ol",{staticClass:"lan-activation-service-distributor-info__lan-activation-steps",class:{"lan-activation-service-distributor-info__lan-activation-steps--numbered":e.hasMultipleActivationSteps}},e._l(e.propServiceDistributorViewModel.lanActivationSteps,(function(t,s){return r("li",{key:s,staticClass:"lan-activation-service-distributor-info__lan-activation-steps__item font-weight--bold"},[r("div",[e._v("\n "+e._s(t.name)+e._s(e.colonMark)+"\n "),t.extraInformation?r("info-popover",{attrs:{"prop-white-background":""}},[e._v("\n "+e._s(t.extraInformation)+"\n ")]):e._e()],1),e._v(" "),r("p",{staticClass:"font-p"},[e._v(e._s(t.description))])])})),0)])};s._withStripped=!0;var a=r(16),o=r(7),n={name:"LanActivationServiceDistributorInfo",components:{InfoPopover:a.InfoPopover,CollapsiblePanel:o.CollapsiblePanel},props:{propServiceDistributorViewModel:{type:Object,required:!0}},data:function(){return{colonMark:":"}},computed:{hasMultipleActivationSteps:function(){return this.propServiceDistributorViewModel.lanActivationSteps.length>1}},methods:{collapse:function(e){this.$refs.collapsiblePanel.collapse(e)}}},i=r(1),c=Object(i.a)(n,s,[],!1,null,null,null);c.options.__file="Static/js/fixed/organisms/AddressSearch/LanActivationServiceDistributorInfo.vue";t.a=c.exports},230:function(e,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e,t){var s={},a=function(e,t){var r;0!=t.length&&"function"==typeof(r=t[t.length-1])&&r(e)};return s.io=e,s.forcedLongPolling=t,s.encode=function(e){return encodeURIComponent(e)},s.decode=function(e){return decodeURIComponent(e)},s.on=function(e,t){s.io.on(e,(function(){t.apply(null,arguments),a("plain",arguments)}))},s.onString=function(e,t){s.io.on(e,(function(e){arguments[0]=s.decode(e),t.apply(null,arguments),a("onString",arguments)}))},s.onJson=function(e,t){s.io.on(e,(function(e){var r,o;try{r=s.decode(e)}catch(t){console.log("ERROR SockWrap.decode(): error decoding data: ["+e+"]: "+t)}try{o=JSON.parse(r)}catch(e){console.log("ERROR SockWrap.decode(): error parsing json `"+r+" `: "+e)}arguments[0]=o,t.apply(null,arguments),a("onJson",arguments)}))},s.emit=function(e,t){switch(r(t)){case"object":arguments[1]=s.encode(JSON.stringify(t));break;case"string":arguments[1]=s.encode(t)}s.io.emit.apply(s.io,arguments)},s.connect=function(){s.io.connect()},s.disconnect=function(){s.io.disconnect()},s}},301:function(e,t,r){"use strict";r.r(t);var s=r(172),a=r.n(s),o=r(230),n=r.n(o);window.SockWrap=n.a;var i="function"==typeof a.a?a()():void 0;t.default=i},302:function(e,t,r){"use strict";r.r(t),t.default={"*Please allow cookie from {CENTION_BASE_URL} to make sure your chat continues if you browse to other pages during the chat.":"Om du tillåter cookies från {CENTION_BASE_URL} kommer du att kunna fortsätta chatta även om du besöker andra sidor under tiden.","A copy of the chat will be sent to {CLIENT_EMAIL}":"En kopia av chatten skickas till {CLIENT_EMAIL}.","Agent is typing a message...":"Agenten skriver ett meddelande...","Agent(s) added: {AGENT_NAMES}":"Agent(er) tillagda: {AGENT_NAMES}","Agent(s) removed: {AGENT_NAMES}":"Agent(er) borttagna: {AGENT_NAMES}","Client ended the chat.":"Besökaren avslutade chatten.","Reconnecting, please wait ...":"Vänta medan vi återansluter...",System:"System","The uploaded file has exceeded the max allowed size.":"Vi kan inte ta emot filer som överstiger XX MB.","This chat has expired.":"Chatten har avslutats på grund av inaktivitet.","We're sorry, an error occurred while uploading the file.":"Tyvärr uppstod ett fel när filen laddades upp. Prova gärna igen.","Write your question...":"Vad undrar du över?","{AGENT_NAME} ended the chat.":"{AGENT_NAME} avslutade chatten.","{AGENT_NAME} has left the chat.":"{AGENT_NAME} lämnade chatten.","{AGENT_NAME} joins the chat.":"{AGENT_NAME} har anslutit till chatten.","{FROM_AGENT} forwarded the chat to area {AREA_NAME}":"{AGENT_NAME} vidarebefordrade chatten till {AREA_NAME}.","{FROM_AGENT} forwarded the chat to {TO_AGENT}":"{FROM_AGENT} vidarebefordrade chatten till {TO_AGENT}.","{NAME} ended the chat.":"{NAME} avslutade chatten."}},33:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"addressSearchField",staticClass:"text--left",attrs:{id:"addressSearchForm"}},[r("div",{staticClass:"address-search-field"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-xs-12 col-md-offset-2 col-md-8"},[r("div",{staticClass:"address-search-field__title"},[r("h2",{staticClass:"font-intro text--center"},[e._v(e._s(e.addressSearchViewModel.searchFieldTitle))])]),e._v(" "),r("label",{staticClass:"address-search-field-label",attrs:{for:"Address"}},[e._v(e._s(e.addressSearchViewModel.searchFieldLabel))]),e._v(" "),r("div",{staticClass:"address-search-field__container trailer--xsmall"},[r("info-popover",{staticClass:"wrapper address-search-field__tooltip",attrs:{"prop-override-max-text-length":"","prop-white-background":"","prop-disable-popover-trigger":"","prop-open-popover":e.showAddressSearchTooltip},on:{"popover-closed":e.tooltipClosed},scopedSlots:e._u([{key:"customPopoverTrigger",fn:function(){return[r("div",{staticClass:"address-search-field__input-container"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.searchAddress,expression:"searchAddress"}],ref:"addressSearchInput",staticClass:"address-search-field__input",attrs:{id:"Address",type:"search",name:"Address",autocomplete:"off",autocorrect:"off",spellcheck:"false",placeholder:e.addressSearchViewModel.searchFieldPlaceholder},domProps:{value:e.searchAddress},on:{input:[function(t){t.target.composing||(e.searchAddress=t.target.value)},e.autocomplete],keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:e.nextItem(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:e.previousItem(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.selectAddress(e.currentListItem)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.clearSearchAddress(t)}]}}),e._v(" "),r("div",{staticClass:"address-search-field__icon-container progress-indicator-wrapper",class:{"show-progress-indicator":e.searching}},[r("a",{directives:[{name:"show",rawName:"v-show",value:e.showClearSearchAddressIcon,expression:"showClearSearchAddressIcon"}],staticClass:"address-search-field__icon icon-close",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.clearSearchAddress(t)}}}),e._v(" "),r("span",{staticClass:"progress-indicator"})])])]},proxy:!0}])},[e._v("\n "+e._s(e.addressSearchViewModel.addressSearchTooltipMessage)+"\n ")]),e._v(" "),r("div",{staticClass:"address-search-field__autocomplete",class:{"address-search-field__autocomplete--show":e.autocompleteResponse.length||e.showAddressNotFound}},[r("div",{staticClass:"address-search-field__autocomplete__list"},[e.autocompleteResponse.length?r("ul",e._l(e.autocompleteResponse,(function(t,s){return r("li",{key:s,staticClass:"address-search-field__autocomplete__list__item font-p",class:{"address-search-field__autocomplete__list__item--selected":e.currentListItem===s},on:{click:function(t){return e.selectAddress(s)}}},[e._v("\n "+e._s(t.label)+"\n ")])})),0):r("div",{staticClass:"address-search-field__autocomplete__list--info"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-xs-12 col-md-offset-1 col-md-10 col-lg-offset-2 col-lg-8",domProps:{innerHTML:e._s(e.addressSearchViewModel.addressNotFoundMessage)}})])])])])],1),e._v(" "),r("div",{staticClass:"address-search-field__additional-address-info"},[e.showEntranceMissing||e.entranceList.length>0?r("div",{staticClass:"address-search-field__additional-address-info__field"},[r("v-dropdown",{attrs:{"prop-label":e.addressSearchViewModel.entranceFieldLabel,"prop-options":e._f("formatDropDownData")(e.entranceList,e.addressSearchViewModel.entranceFieldPlaceholder,e.addressSearchViewModel.entranceFieldLabel),"prop-data-test":"enterance-dropdown"},on:{change:e.entranceChosen,click:function(t){return e.handleDropdownClick(e.gtmSearchtypes.entranceSearch)}},model:{value:e.selectedEntrance,callback:function(t){e.selectedEntrance=t},expression:"selectedEntrance"}})],1):e._e(),e._v(" "),e.showApartmentNoMissing||e.apartmentNumberList.length>0?r("div",{staticClass:"address-search-field__additional-address-info__field"},[r("v-dropdown",{attrs:{"prop-label":e.addressSearchViewModel.apartmentNoFieldLabel,"prop-options":e._f("formatDropDownData")(e.apartmentNumberList,e.addressSearchViewModel.apartmentNoFieldPlaceholder,e.addressSearchViewModel.apartmentNoFieldLabel),"prop-info-popover-text":e.addressSearchViewModel.apartmentExtraInfoText,"prop-data-test":"apartment-number-dropdown","prop-white-popover":""},on:{change:e.apartmentChosen,click:function(t){return e.handleDropdownClick(e.gtmSearchtypes.apartmentNumberSearch)}},model:{value:e.selectedApartmentNo,callback:function(t){e.selectedApartmentNo=t},expression:"selectedApartmentNo"}})],1):e._e(),e._v(" "),e.showFloorMissing||e.floorList.length>0?r("div",{staticClass:"address-search-field__additional-address-info__field"},[r("v-dropdown",{attrs:{"prop-label":e.addressSearchViewModel.floorFieldLabel,"prop-options":e._f("formatDropDownData")(e.floorList,e.addressSearchViewModel.floorFieldPlaceholder,e.addressSearchViewModel.floorFieldLabel),"prop-data-test":"apartment-floor-dropdown"},on:{change:e.floorChosen,click:function(t){return e.handleDropdownClick(e.gtmSearchtypes.floorSearch)}},model:{value:e.selectedFloor,callback:function(t){e.selectedFloor=t},expression:"selectedFloor"}})],1):e._e()]),e._v(" "),e.hasExistingCustomerLoginInfo?r("div",{staticClass:"text--center"},[r("a",{attrs:{href:e.addressSearchViewModel.existingCustomerLoginUrl,rel:"noopener noreferrer"}},[e._v("\n "+e._s(e.addressSearchViewModel.existingCustomerLoginLinkText)+"\n ")])]):e._e()])])])])};s._withStripped=!0;r(44),r(117),r(161),r(23),r(32),r(13),r(106),r(38),r(127),r(75),r(48),r(80),r(34),r(36),r(52),r(37),r(53),r(54),r(31),r(15),r(21),r(39),r(81),r(14),r(93),r(42),r(29);var a=r(12),o=r(16),n=r(9),i=r(10),c=r(3),d=r(35),l=r(90);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t0&&this.currentListItem--},getSearchResults:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cleanAddress,r=void 0!==t&&t;if(this.selectedApartmentNo!==_.notFound&&this.selectedFloor!==_.notFound&&this.selectedEntrance!==_.notFound){var s={address:"",addressOnly:this.selectedAddressData.street,addressNr:this.selectedAddressData.streetNum,entrance:this.getEntrance(),zip:this.selectedAddressData.zipCode,city:this.selectedAddressData.city,apartmentNo:this.selectedApartmentNo,floor:this.selectedFloor,recommendedProductContentReferenceId:this.propRecommendedProductContentReferenceId,recommendedAddonOfferId:this.propRecommendedAddonOfferId,recommendedAddonQuantity:this.propRecommendedAddonQuantity,recommendedOtherProductContentReferenceId:this.propRecommendedOtherProductContentReferenceId,cleanAddress:r};this.$store.dispatch("getSearchResults",s)}else l.default.alert({bodyText:this.addressSearchViewModel.addressNotFoundMessage,isHtmlBody:!0})},handleDropdownClick:function(e){"offers"===this.propSearchResultsType&&c.eCommerceTrackingHelper.pushAddressSearchDataToDataLayer(_.gtmTriggers.startedTyping,e)},entranceChosen:function(){this.selectedApartmentNo="",this.selectedFloor="","offers"===this.propSearchResultsType&&c.eCommerceTrackingHelper.pushAddressSearchDataToDataLayer(_.gtmTriggers.entranceSelected,_.gtmSearchTypes.entranceSearch),this.getSearchResults()},apartmentChosen:function(){this.selectedFloor="","offers"===this.propSearchResultsType&&c.eCommerceTrackingHelper.pushAddressSearchDataToDataLayer(_.gtmTriggers.apartmentNumberSelected,_.gtmSearchTypes.apartmentNumberSearch),this.getSearchResults()},floorChosen:function(){"offers"===this.propSearchResultsType&&c.eCommerceTrackingHelper.pushAddressSearchDataToDataLayer(_.gtmTriggers.floorSelected,_.gtmSearchTypes.floorSearch),this.getSearchResults()},getEntrance:function(){return this.selectedAddressData.portLetter||this.selectedEntrance||this.selectedAddressData.entrance||""},tooltipClosed:function(){this.showAddressSearchTooltip=!1,clearTimeout(g)}}},S=r(1),b=Object(S.a)(v,s,[],!1,null,null,null);b.options.__file="Static/js/fixed/organisms/AddressSearch/AddressSearch.vue";var C=b.exports,w=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"offers-address-search-result",class:[e.classList]},[e.addressSearchInProgress&&!e.propHideAddressSearchProgressIndicator?r("div",{staticClass:"progress-indicator-wrapper show-progress-indicator padding-trailer padding-leader"},[r("span",{staticClass:"progress-indicator",attrs:{"data-test":"search_address_spinner"}})]):e._e(),e._v(" "),e.hasSearchResult&&(e.contentIfNoProductsFound||e.contentIfNoProductsFoundInCampaignSearch)?r("div",[e.contentIfNoProductsFound?r("div",{staticClass:"text--center trailer"},[r("div",{domProps:{innerHTML:e._s(e.contentIfNoProductsFound)}})]):e._e(),e._v(" "),e.contentIfNoProductsFoundInCampaignSearch?r("div",{staticClass:"row trailer",domProps:{innerHTML:e._s(e.contentIfNoProductsFoundInCampaignSearch)}}):e._e()]):r("div",[e.allowTargetedSearch&&e.hasProductFocused&&e.hasSearchResult&&e.productFocusedInSearchResponse&&!e.isHomePassed?r("h2",{staticClass:"font-h2 text--center trailer"},[e._v("\n "+e._s(e.addressSearchResponseData.targetedSearchCanGetOffer)+"\n ")]):e._e(),e._v(" "),e.showHeadingForTargetedProductInCampaignSearch?r("h2",{staticClass:"font-h2 text--center trailer"},[e._v("\n "+e._s(e.addressSearchResponseData.offerIsAvailableText)+"\n ")]):e._e(),e._v(" "),e.allowTargetedSearch&&e.addressSearchResponseData.targetedProduct?r("product-guide-landing-page-result",{staticClass:"trailer--xlarge",attrs:{"prop-targeted-product":e.addressSearchResponseData.targetedProduct}}):e._e(),e._v(" "),e.allowTargetedSearch&&e.productFocusedInSearchResponse&&!e.isHomePassed&&!e.addressSearchResponseData.targetedProduct?r("div",{staticClass:"offers-address-search-result__access-types"},[r("div",{staticClass:"offers-address-search-result__access-types__access-type"},[r("h3",{staticClass:"font-h3 padding-leader--medium padding-trailer--small"},[e._v("\n "+e._s(e.productFocusedAccessType.heading)+"\n ")]),e._v(" "),r("div",{staticClass:"offers-address-search-result__access-types__access-type__products trailer"},[r("offers-address-search-result-item",{attrs:{"prop-offer-view-model":e.productFocused,"prop-search-type-prefix":e.propSearchTypePrefix}})],1)])]):e._e(),e._v(" "),e.productFocusedInSearchResponse&&e.hasProductFocused&&e.hasSearchResultExceptTargetedProduct&&!e.isHomePassed?r("h2",{staticClass:"font-h2 text--center trailer"},[e._v("\n "+e._s(e.addressSearchResponseData.targetedSearchCanGetOfferOtherOffers)+"\n ")]):e.isTargetedSearchCantGetOffer&&e.hasSearchResultExceptTargetedProduct&&!e.isHomePassed?r("h2",{staticClass:"font-h2 text--center trailer"},[e._v("\n "+e._s(e.addressSearchResponseData.targetedSearchCantGetOfferOtherOffers)+"\n ")]):e.hasSearchResultExceptTargetedProduct||e.isHomePassed||e.isLocalLoopUnbundling?r("h2",{staticClass:"offers-address-search-result__heading font-h2 text--center trailer",attrs:{"data-test":"search-address-text"}},[e.addressSearchResponseData.offerIsAvailableIcon?r("span",{staticClass:"icon color-blue",class:e.addressSearchResponseData.offerIsAvailableIcon}):e._e(),e._v("\n "+e._s(e.addressSearchResponseData.resultHeading||e.addressSearchResponseData.offerIsAvailableText)+"\n ")]):e._e(),e._v(" "),e.addressSearchInProgress?r("h2",{staticClass:"font-h2 text--center trailer"},[e._v("\n "+e._s(e.propFetchingOffersText)+"\n ")]):e.showDefaultAccessTypes&&e.propDefaultSubHeader?r("h2",{staticClass:"font-h2 text--center trailer"},[e._v("\n "+e._s(e.propDefaultSubHeader)+"\n ")]):e._e(),e._v(" "),e.isCampaignSearch?r("div",{staticClass:"offers-address-search-result__access-types trailer"},e._l(e.accessTypesExceptProductFocused,(function(t,s){return r("div",{key:s},[t.products.length?r("div",{staticClass:"offers-address-search-result__access-types__access-type__products trailer",class:[e.getResultItemClassList(t.products.length)]},e._l(t.products,(function(t){return r("div",{key:t.contentReferenceId,staticClass:"offers-address-search-result__access-types__access-type__products__item-wrapper"},[r("campaign-offers-address-search-result-item",{attrs:{"prop-offer-view-model":t,"prop-search-type-prefix":e.propSearchTypePrefix}})],1)})),0):e._e()])})),0):r("div",{staticClass:"offers-address-search-result__access-types trailer"},e._l(e.accessTypesExceptProductFocused,(function(t,s){return r("div",{key:s},[s>0&&!e.productFocusedInSearchResponse&&e.addressSearchResponseData.accessTypesSeparator?r("h2",{staticClass:"font-intro text--center trailer"},[e._v("\n "+e._s(e.addressSearchResponseData.accessTypesSeparator)+"\n ")]):e._e(),e._v(" "),s>0||!e.isHomePassed?r("div",{staticClass:"padding-leader--medium padding-trailer--small"},[r("h3",{staticClass:"font-h3"},[e._v(e._s(t.heading))]),e._v(" "),t.headingDescription?r("p",{staticClass:"font-p text-size--large"},[e._v("\n "+e._s(t.headingDescription)+"\n ")]):e._e()]):e._e(),e._v(" "),t.contentIfNoProductsFound?r("div",{domProps:{innerHTML:e._s(t.contentIfNoProductsFound)}}):e._e(),e._v(" "),t.products.length?r("div",{staticClass:"offers-address-search-result__access-types__access-type__products trailer"},[e._l(t.products,(function(t){return r("offers-address-search-result-item",{key:t.offerId,attrs:{"prop-offer-view-model":t,"prop-search-type-prefix":e.propSearchTypePrefix}})})),e._v(" "),t.productRecommendation?r("offers-address-search-result-item-recommendation",{attrs:{"prop-recommendation-view-model":t.productRecommendation}}):e._e()],2):e._e()])})),0)],1)])};w._withStripped=!0;r(28);var k=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("offers-address-search-result-item-panel",{staticClass:"offers-address-search-result-item__campaign padding-leader--xlarge",attrs:{"prop-background-color":e.propOfferViewModel.backgroundColor,"prop-pill-color":e.propOfferViewModel.pillColor,"prop-pill-text":e.propOfferViewModel.pillText,"prop-heading-text":e.propOfferViewModel.preformattedTitle,"prop-use-slim-pill":""},scopedSlots:e._u([{key:"footer",fn:function(){return[r("div",{staticClass:"offers-address-search-result-item__campaign__standard-price-text trailer--small",attrs:{"data-test":"standard-price-text"}},[e._v("\n "+e._s(e.standardPriceText)+"\n ")]),e._v(" "),r("div",{staticClass:"offers-address-search-result-item__footer"},[r("div",{staticClass:"offers-address-search-result-item__footer__price__text\n offers-address-search-result-item__campaign__campaign-price\n trailer--none",class:{"offers-address-search-result-item__campaign__campaign-price--color-red":e.propOfferViewModel.redColorOnCampaignPrice}},[r("span",{staticClass:"offers-address-search-result-item__campaign__campaign-price__amount",attrs:{"data-test":"campaign-price-text"}},[e._v("\n "+e._s(e.propOfferViewModel.monthlyPrice.totalPrice)+"\n ")]),e._v(" "),r("span",{staticClass:"offers-address-search-result-item__campaign__campaign-price__text"},[e._v(" "+e._s(e.currency.KR_PER_MONTH))])]),e._v(" "),r("span",{staticClass:"offers-address-search-result-item__campaign__campaign-price__period trailer--small"},[e._v(e._s(e.priceUnderLabel))]),e._v(" "),e.hasSvods?r("v-dropdown",{staticClass:"leader text--left offers-address-search-result-item__campaign__svod-dropdown",attrs:{"prop-name":"svodSelect","prop-options":e.svodOptions,"prop-use-validation":"","prop-label":e.propOfferViewModel.svodDropdownLabel},model:{value:e.selectedSvodOfferId,callback:function(t){e.selectedSvodOfferId=t},expression:"selectedSvodOfferId"}}):e._e(),e._v(" "),r("v-button",{staticClass:"offers-address-search-result-item__campaign__button",attrs:{"prop-text":e.propOfferViewModel.selectProductButtonText,"prop-progress-indicator":e.redirectInProgress,"prop-disabled":e.disablePurchaseButton,"data-test":"select-button"},on:{click:e.selectCampaignOffer}}),e._v(" "),r("p",{staticClass:"offers-address-search-result-item__campaign__extra-information tnse-editorial",domProps:{innerHTML:e._s(e.propOfferViewModel.extraDescription)}})],1)]},proxy:!0}])},[r("p",{staticClass:"font-intro trailer",domProps:{innerHTML:e._s(e.propOfferViewModel.tagLine)}})])};k._withStripped=!0;var y=r(2),T=r(45),x=r(0),P=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"offers-address-search-result-item-panel pill-container pill-container--leader",style:{backgroundColor:e.propBackgroundColor}},[e.propPillText?r("v-pill",{attrs:{"prop-text":e.propPillText,"prop-background-color":e.propPillColor,"prop-slim":e.propUseSlimPill}}):e._e(),e._v(" "),e.propHeadingText?r("h1",{staticClass:"font-h1 text-size--h1-mobile leader--xsmall trailer--medium",attrs:{"data-test":"offer-preformatted-title"},domProps:{innerHTML:e._s(e.propHeadingText)}}):e._e(),e._v(" "),e._t("default"),e._v(" "),r("div",{staticClass:"offers-address-search-result-item-panel__footer"},[e._t("footer")],2)],2)};P._withStripped=!0;var A={name:"OffersAddressSearchResultItemPanel",components:{VPill:y.VPill},props:{propBackgroundColor:String,propPillColor:String,propPillText:String,propHeadingText:String,propUseSlimPill:Boolean}},I=Object(S.a)(A,P,[],!1,null,null,null);I.options.__file="Static/js/fixed/organisms/AddressSearch/OffersAddressSearchResultItemPanel.vue";var M=I.exports,O={components:{VButton:y.VButton,VDropdown:n.VDropdown,OffersAddressSearchResultItemPanel:M},props:{propOfferViewModel:{type:Object,required:!0}},data:function(){return{redirectInProgress:!1,selectedSvodOfferId:""}},computed:{currency:function(){return x.currency},disablePurchaseButton:function(){return this.hasSvods&&!this.selectedSvodOfferId},hasSvods:function(){return!(!this.propOfferViewModel.svods||!this.propOfferViewModel.svods.length)},priceUnderLabel:function(){var e="";return this.propOfferViewModel.hasCampaign&&(e=this.propOfferViewModel.campaignDuration>1?"i ".concat(this.propOfferViewModel.campaignDuration," månader"):"i ".concat(this.propOfferViewModel.campaignDuration," månad")),e},selectedOfferIds:function(){var e=Array.from(this.propOfferViewModel.offerIds);return this.hasSvods&&this.selectedSvodOfferId&&e.push(Number(this.selectedSvodOfferId)),e},standardPriceText:function(){var e=this.propOfferViewModel.monthlyPrice.standardPrice;return"".concat(e," ").concat(x.currency.KR_PER_MONTH)},svodOptions:function(){var e=this.propOfferViewModel.svods.map((function(e){return{text:e.svodName,value:e.offerId.toString()}}));return e.unshift({text:this.propOfferViewModel.defaultSelectionInSvodDropdownText,value:""}),e}},methods:{selectCampaignOffer:function(){var e,t,r=this;return regeneratorRuntime.async((function(s){for(;;)switch(s.prev=s.next){case 0:return e=setTimeout((function(){r.redirectInProgress=!0}),600),s.prev=1,s.next=4,regeneratorRuntime.awrap(T.cartService.initCartWithTargetedOffer({offerIds:this.selectedOfferIds,addressSearchBlockId:this.$store.state.addressSearch.addressSearchBlockId}));case 4:(t=s.sent).data.redirectUrl?window.location.href=t.data.redirectUrl:(d.default.showGenericErrorMessageAlert(),this.redirectInProgress=!1,clearTimeout(e)),s.next=13;break;case 8:s.prev=8,s.t0=s.catch(1),d.default.handleAjaxError(s.t0),this.redirectInProgress=!1,clearTimeout(e);case 13:case"end":return s.stop()}}),null,this,[[1,8]])}}},R=Object(S.a)(O,k,[],!1,null,null,null);R.options.__file="Static/js/fixed/organisms/AddressSearch/CampaignOffersAddressSearchResultItem.vue";var D=R.exports,E=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("offers-address-search-result-item-panel",{staticClass:"offers-address-search-result-item",attrs:{"prop-background-color":e.propOfferViewModel.backgroundColor,"prop-pill-color":e.propOfferViewModel.pillColor,"prop-pill-text":e.propOfferViewModel.pillText,"prop-heading-text":e.propOfferViewModel.preformattedTitle},scopedSlots:e._u([{key:"footer",fn:function(){return[r("div",{staticClass:"offers-address-search-result-item__footer__price trailer--small",class:{"offers-address-search-result-item__footer__price--campaign":e.propOfferViewModel.hasCampaign}},[r("div",{staticClass:"offers-address-search-result-item__footer__price__text font-intro trailer--none"},[r("span",{staticClass:"offers-address-search-result-item__footer__price__text__standard-price-text toright--small",attrs:{"data-test":"standard-price-text"}},[e._v("\n "+e._s(e.standardPriceText)+"\n ")]),e._v(" "),e.campaignPriceText?r("span",{staticClass:"color-red",attrs:{"data-test":"campaign-price-text"}},[e._v("\n "+e._s(e.campaignPriceText)+"\n ")]):e._e()]),e._v(" "),r("small",{staticClass:"font-small"},[e._v(e._s(e.priceUnderLabel)+" ")])]),e._v(" "),r("v-button",{staticClass:"trailer--none leader--medium",attrs:{"prop-text":e.selectButtonText,"prop-progress-indicator":e.redirectInProgress,"data-test":"select-button"},on:{click:e.selectOffer}})]},proxy:!0}])},[r("p",{staticClass:"font-intro trailer--small"},[e._v("\n "+e._s(e.propOfferViewModel.tagLine)+"\n ")]),e._v(" "),r("p",{staticClass:"offers-address-search-result-item__description font-p tnse-editorial trailer--small",domProps:{innerHTML:e._s(e.propOfferViewModel.extraDescription)}})])};E._withStripped=!0;var N=r(168),V={name:"OffersAddressSearchResultItem",components:{VButton:y.VButton,OffersAddressSearchResultItemPanel:M},props:{propOfferViewModel:{type:Object,required:!0},propSearchTypePrefix:String},data:function(){return{redirectInProgress:!1}},computed:{standardPriceText:function(){var e=this.propOfferViewModel.monthlyPrice.standardPrice;return this.propOfferViewModel.isFromPrice?"från ".concat(e," kr/mån"):"".concat(e," kr/mån")},campaignPriceText:function(){return this.propOfferViewModel.hasCampaign?"".concat(this.propOfferViewModel.monthlyPrice.totalPrice," kr/mån"):""},priceUnderLabel:function(){return this.propOfferViewModel.hasCampaign?this.propOfferViewModel.campaignDuration>1?"i ".concat(this.propOfferViewModel.campaignDuration," månader"):"i ".concat(this.propOfferViewModel.campaignDuration," månad"):""},hasSearchResult:function(){return this.$store.getters.hasSearchResult&&this.$store.state.addressSearch.addressSearchResponseData.isSearchComplete},selectButtonText:function(){return"Till ".concat(this.propOfferViewModel.title)}},methods:{selectOffer:function(){return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return this.redirectInProgress=!0,e.next=3,regeneratorRuntime.awrap(N.default.pushSelectProductDataToDataLayer(this.propOfferViewModel.offerId,this.propSearchTypePrefix));case 3:window.location.href=this.propOfferViewModel.pageUrl;case 4:case"end":return e.stop()}}),null,this)}}},L=Object(S.a)(V,E,[],!1,null,null,null);L.options.__file="Static/js/fixed/organisms/AddressSearch/OffersAddressSearchResultItem.vue";var F=L.exports,j=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("offers-address-search-result-item-panel",{staticClass:"text--left",attrs:{"prop-background-color":e.propRecommendationViewModel.backgroundColor,"prop-heading-text":e.propRecommendationViewModel.heading}},[r("p",{staticClass:"font-p trailer--medium"},[e._v("\n "+e._s(e.propRecommendationViewModel.description)+"\n ")]),e._v(" "),r("a",{staticClass:"trailer--medium",attrs:{href:e.propRecommendationViewModel.linkUrl}},[e._v("\n "+e._s(e.propRecommendationViewModel.linkText)+"\n ")])])};j._withStripped=!0;var H={name:"OffersAddressSearchResultItemRecommendation",components:{OffersAddressSearchResultItemPanel:M},props:{propRecommendationViewModel:{type:Object,required:!0}}},B=Object(S.a)(H,j,[],!1,null,null,null);B.options.__file="Static/js/fixed/organisms/AddressSearch/OffersAddressSearchResultItemRecommendation.vue";var U=B.exports,G=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"fixed-product-guide-landing-page-result pill-container pill-container--leader",attrs:{"data-test":"product-guide-result-page"}},[e.propTargetedProduct.product.pillText?r("div",{staticClass:"pill pill--turquoise"},[e._v("\n "+e._s(e.propTargetedProduct.product.pillText)+"\n ")]):e._e(),e._v(" "),r("div",{staticClass:"fixed-product-guide-landing-page-result__field"},[r("div",{staticClass:"fixed-product-guide-landing-page-result__container padding-leader--large"},[r("h1",{staticClass:"font-h1 text-size--h1-mobile trailer--medium",attrs:{"data-test":"product-guide-result-heading"}},[e._v(e._s(e.propTargetedProduct.heading))]),e._v(" "),r("p",{staticClass:"font-intro trailer--large"},[e._v(e._s(e.propTargetedProduct.preamble))]),e._v(" "),r("usp-list",{attrs:{"prop-usp-list":e.propTargetedProduct.product.uspViewModels}}),e._v(" "),r("p",{staticClass:"font-p font-weight--bold leader--small"},[e._v(e._s(e.propTargetedProduct.priceHeading))]),e._v(" "),r("div",{staticClass:"fixed-product-guide-landing-page-result__container__price trailer--large"},[r("h2",{staticClass:"font-h2"},[e.propTargetedProduct.product.isFromPrice?r("span",{staticClass:"font-p"},[e._v("Från")]):e._e(),e._v(" "+e._s(e.productPriceText)+" "),r("span",{staticClass:"font-p"},[e._v(e._s(e.productPriceEndingText))])]),e._v(" "),e.propTargetedProduct.product.hasCampaign?r("span",[e._v(e._s(e.campaignPriceAfterwardsText))]):e._e(),e._v(" "),r("span",[e._v(e._s(e.commitmentAndCancellationPeriodsText))])]),e._v(" "),r("p",{staticClass:"font-p font-weight--bold"},[e._v(e._s(e.propTargetedProduct.addonHeading))]),e._v(" "),e.propTargetedProduct.addonPriceAsString?r("h2",{staticClass:"font-h2 trailer--small"},[e._v("\n "+e._s(e.propTargetedProduct.addonPriceAsString)+" "),r("span",{staticClass:"font-p"},[e._v(e._s(e.resources.labelCurrencyValue))])]):e.propTargetedProduct.addonPrices.length?r("div",{staticClass:"trailer--medium"},[r("div",{staticClass:"row"},e._l(e.propTargetedProduct.addonPrices,(function(t){return r("div",{staticClass:"text--left",class:[e.propTargetedProduct.addonPrices.length>1?"col-xs-6":"col-xs-12"]},[r("small",{staticClass:"font-small"},[e._v("\n "+e._s(t.priceLabel)+"\n ")]),e._v(" "),r("h2",{staticClass:"font-h2"},[e._v("\n "+e._s(t.priceValue)+" "),r("span",{staticClass:"font-p"},[e._v(e._s(t.currencyValue))])])])})),0)]):e._e()],1),e._v(" "),r("div",{staticClass:"fixed-product-guide-landing-page-result__image-container padding-leader--large"},[r("img",{staticClass:"fixed-product-guide-landing-page-result__image-container__image img-responsive",attrs:{src:e.propTargetedProduct.imageUrl}})])]),e._v(" "),r("div",{staticClass:"fixed-product-guide-landing-page-result__button-section text--center leader"},[e.showButton?r("v-button",{staticClass:"fixed-product-guide-landing-page-result__button trailer--small",attrs:{"prop-text":e.propTargetedProduct.buyPackageButtonText,"prop-progress-indicator":e.redirectInProgress,"prop-data-test":"buy-package-button"},on:{click:e.selectProduct}}):r("div",{staticClass:"trailer",domProps:{innerHTML:e._s(e.propTargetedProduct.buyPackageByPhoneText)}}),e._v(" "),r("a",{staticClass:"fixed-product-guide-landing-page-result__only-product-link",on:{click:function(t){return t.preventDefault(),e.selectProduct(!0)}}},[e._v("\n "+e._s(e.propTargetedProduct.buyWithoutAddonText)+"\n ")])],1)])};G._withStripped=!0;var q={name:"ProductGuideLandingPageResult",components:{VButton:y.VButton,UspList:n.UspList},props:{propTargetedProduct:{type:Object,required:!0}},data:function(){return{haveTriedOnceToGetOffersByAddress:!1,resources:{},redirectInProgress:!1}},computed:{showButton:function(){return this.propTargetedProduct.buyPackageButtonText.length>0},productPriceText:function(){return this.propTargetedProduct.product.hasCampaign?this.propTargetedProduct.product.monthlyPrice.totalPrice:this.propTargetedProduct.product.monthlyPrice.standardPrice},productPriceEndingText:function(){return this.propTargetedProduct.product.hasCampaign?"kr/mån i ".concat(this.propTargetedProduct.product.campaignDuration," månader."):"kr/mån"},campaignPriceAfterwardsText:function(){var e="".concat(this.propTargetedProduct.product.monthlyPrice.standardPrice," kr/mån");return this.propTargetedProduct.product.isFromPrice?"Därefter från ".concat(e,"."):"Därefter ".concat(e,".")},commitmentPeriod:function(){return this.propTargetedProduct.product.commitmentPeriod},commitmentPeriodText:function(){return this.commitmentPeriod?"".concat(this.resources.labelCommitmentPeriod," ").concat(this.commitmentPeriod," ").concat(this.getMonthsLabel(this.commitmentPeriod)):this.resources.labelNoBindingTime},cancellationPeriod:function(){return this.propTargetedProduct.product.cancellationPeriod},cancellationPeriodText:function(){return this.cancellationPeriod?"".concat(this.resources.labelCancellationPeriod," ").concat(this.cancellationPeriod," ").concat(this.getMonthsLabel(this.cancellationPeriod)):this.resources.labelNoCancellationPeriod},commitmentAndCancellationPeriodsText:function(){return"".concat(this.commitmentPeriodText,", ").concat(this.cancellationPeriodText)}},created:function(){this.resources=window.landingPage.resources},methods:{getMonthsLabel:function(e){return 1===e?this.resources.labelMonth:this.resources.labelMonths},selectProduct:function(){var e,t,r=this,s=arguments;return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:if(e=s.length>0&&void 0!==s[0]&&s[0],c.eCommerceTrackingHelper.pushAddressSearchDataToDataLayer("Offer Selected","Offer Selected"),t=setTimeout((function(){r.redirectInProgress=!0}),600),!this.propTargetedProduct.isFromCampaignSearch){a.next=8;break}return a.next=6,regeneratorRuntime.awrap(this.initCartWithTargetedOffer(t));case 6:a.next=10;break;case 8:return a.next=10,regeneratorRuntime.awrap(this.initCart(e,t));case 10:case"end":return a.stop()}}),null,this)},initCartWithTargetedOffer:function(e){var t;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,regeneratorRuntime.awrap(T.cartService.initCartWithTargetedOffer({offerIds:[this.propTargetedProduct.product.offerId],addressSearchBlockId:this.propTargetedProduct.addressSearchBlockId,addonOffer:this.propTargetedProduct.addonOffers&&this.propTargetedProduct.addonOffers.length?this.propTargetedProduct.addonOffers[0]:null}));case 3:t=r.sent,window.location.href=t.data.redirectUrl,r.next=10;break;case 7:r.prev=7,r.t0=r.catch(0),this.handleSelectProductError(r.t0,e);case 10:case"end":return r.stop()}}),null,this,[[0,7]])},initCart:function(e,t){return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,regeneratorRuntime.awrap(T.cartService.initCart({offerId:this.propTargetedProduct.product.offerId,addonOffers:e?null:this.propTargetedProduct.addonOffers,forceCreateNewCart:!0}));case 3:window.location.href=this.propTargetedProduct.product.pageUrl,r.next=9;break;case 6:r.prev=6,r.t0=r.catch(0),this.handleSelectProductError(r.t0,t);case 9:case"end":return r.stop()}}),null,this,[[0,6]])},handleSelectProductError:function(e,t){d.default.handleAjaxError(e),this.redirectInProgress=!1,clearTimeout(t)}}},W=Object(S.a)(q,G,[],!1,null,null,null);W.options.__file="Static/js/fixed/organisms/ProductGuide/ProductGuideLandingPageResult.vue";var J=W.exports;r(293);function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var K={name:"OffersAddressSearchResult",components:{CampaignOffersAddressSearchResultItem:D,OffersAddressSearchResultItem:F,OffersAddressSearchResultItemRecommendation:U,ProductGuideLandingPageResult:J},props:{propAddressSearchViewModel:{type:Object,required:!0},propDefaultAccessTypes:Array,propDefaultSubHeader:String,propFetchingOffersText:String,propSearchTypePrefix:String,propDisableTargetedSearch:Boolean,propHideAddressSearchProgressIndicator:Boolean},computed:function(e){for(var t=1;t=4,"offers-address-search-result__access-types__access-type__products--columns-3":3===e}}}},Q=Object(S.a)(K,w,[],!1,null,null,null);Q.options.__file="Static/js/fixed/organisms/AddressSearch/OffersAddressSearchResult.vue";var X=Q.exports,Z=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("info-popover",{staticClass:"tv-channel-list__channel__info-popover",attrs:{"prop-white-background":"","prop-override-max-text-length":""},scopedSlots:e._u([{key:"customPopoverTrigger",fn:function(){return[r("div",{directives:[{name:"show",rawName:"v-show",value:!e.imageLoaded,expression:"!imageLoaded"}],staticClass:"tv-channel-list__channel__icon--loading"}),e._v(" "),r("img",{directives:[{name:"show",rawName:"v-show",value:e.imageLoaded,expression:"imageLoaded"}],staticClass:"tv-channel-list__channel__icon img-responsive",attrs:{src:e.propChannel.imageUrl,alt:e.propChannel.name}})]},proxy:!0}])},[e._v(" "),r("div",{staticClass:"tv-channel-list__popover"},[r("h3",{staticClass:"font-h3 trailer--small"},[e._v(e._s(e.propChannel.name))]),e._v(" "),r("div",{domProps:{innerHTML:e._s(e.propChannel.preamble)}}),e._v(" "),r("div",{staticClass:"usp-list"},[r("ul",{staticClass:"list--check"},e._l(e.propChannel.metaDataList,(function(t){return r("li",{domProps:{innerHTML:e._s(t)}})})),0)])])])};Z._withStripped=!0;var ee={name:"ChannelIconWithPopover",components:{InfoPopover:o.InfoPopover},props:{propChannel:Object},data:function(){return{imageLoaded:!1}},created:function(){var e=this,t=new Image;t.src=this.propChannel.imageUrl,t.onload=function(){e.imageLoaded=!0}}},te=Object(S.a)(ee,Z,[],!1,null,null,null);te.options.__file="Static/js/fixed/organisms/ChannelIconWithPopover.vue";var re=te.exports,se=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"personal-information-block checkout-form-step panel panel--full-width-mobile",class:{"panel--green":e.propIsCompleted}},[r("div",{staticClass:"panel-body"},[r("h2",{staticClass:"checkout-form-step__header font-h2"},[e.propIsCompleted?r("span",{staticClass:"checkout-form-step__header__checkmark"},[r("i",{staticClass:"icon icon-check"})]):r("span",{staticClass:"checkout-form-step__header__circle"},[e._v(e._s(e.propIndex))]),e._v("\n "+e._s(e.propHeading)+"\n "),r("a",{directives:[{name:"show",rawName:"v-show",value:e.showEditLink&&e.propIsEditable,expression:"showEditLink && propIsEditable"}],staticClass:"checkout-form-step__header__edit",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.editSection(t)}}},[e._v("\n Ändra\n ")])]),e._v(" "),e.propIsActive||e.propIsCompleted?r("div",{staticClass:"checkout-form-step__body"},[e._t("default")],2):e._e()])])};se._withStripped=!0;var ae={props:{propIndex:Number,propHeading:String,propIsActive:Boolean,propIsCompleted:Boolean,propIsEditable:{type:Boolean,default:!0}},computed:{showEditLink:function(){return this.propIsCompleted&&!this.propIsActive}},methods:{editSection:function(){this.$emit("editStep")}}},oe=Object(S.a)(ae,se,[],!1,null,null,null);oe.options.__file="Static/js/fixed/organisms/Checkout/CheckoutStep.vue";var ne=oe.exports,ie=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.hasDefaultAddon?r("section",[r("div",{staticClass:"default-hardware-info trailer"},[r("div",{staticClass:"default-hardware-info__container"},[r("div",{staticClass:"default-hardware-info__image"},[r("img",{staticClass:"img-responsive",attrs:{src:e.defaultAddon.addonImage}})]),e._v(" "),r("div",{staticClass:"font-p"},[e._v("\n "+e._s(e.defaultAddon.name)+"\n "),r("info-popover",{attrs:{"prop-white-background":""}},[r("div",{domProps:{innerHTML:e._s(e.defaultAddon.description)}})])],1)])])]):e._e()};ie._withStripped=!0;r(18);var ce={name:"DefaultHarwareInfo",components:{InfoPopover:o.InfoPopover},computed:{defaultAddon:function(){return this.$store.state.productHardwareGroup.addons.find((function(e){return e.isDefault}))},hasDefaultAddon:function(){return!!this.defaultAddon}}},de=Object(S.a)(ce,ie,[],!1,null,null,null);de.options.__file="Static/js/fixed/organisms/DefaultHardwareInfo.vue";var le=de.exports,pe=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"fixed-price-summary",class:{"fixed-price-summary--white-background":e.propWhiteBackground}},[r("div",{staticClass:"row"},[e.variantDetails.hasCampaign&&e.variantDetails.monthlyPrice?r("div",{staticClass:"col-xs-6 text--center"},[r("p",{staticClass:"font-small",attrs:{"data-test":"monthlyPriceTextMain"}},[r("span",{domProps:{innerHTML:e._s(e.resources.labelMonthOne)}}),e.variantDetails.campaignDuration>1?r("span",[e._v("–"+e._s(e.variantDetails.campaignDuration))]):e._e()]),e._v(" "),e.variantDetails.monthlyPrice?r("h2",{staticClass:"font-h2",attrs:{"data-test":"monthlyPriceMain"}},[e.variantDetails.isFromPrice?r("span",{attrs:{"data-hook-from-price":""},domProps:{innerHTML:e._s(e.resources.labelFrom)}}):e._e(),e._v(" "+e._s(e.variantDetails.monthlyPrice.totalPrice)+" "),r("span",{staticClass:"font-p",domProps:{innerHTML:e._s(e.resources.labelCurrencyPerMonth)}})]):e._e()]):e._e(),e._v(" "),r("div",{staticClass:"text--center",class:[e.variantDetails.hasCampaign&&e.variantDetails.monthlyPrice?"col-xs-6":"col-xs-12"]},[e.variantDetails.hasCampaign&&e.variantDetails.monthlyPrice?r("p",{staticClass:"font-small",attrs:{"data-test":"thereafterPriceTextMain"}},[r("span",{domProps:{innerHTML:e._s(e.resources.labelAfterwards)}})]):e.variantDetails.monthlyPrice?r("p",{staticClass:"font-small",attrs:{"data-test":"thereafterPriceMain"}},[r("span",{domProps:{innerHTML:e._s(e.resources.labelMonthlyFee)}})]):r("p",{staticClass:"font-small",attrs:{"data-test":"priceMain"},domProps:{innerHTML:e._s(e.resources.labelPrice)}}),e._v(" "),r("h2",{staticClass:"font-h2",attrs:{"data-test":"thereafterPriceMain"}},[e.variantDetails.isFromPrice?r("span",{attrs:{"data-hook-from-price":""},domProps:{innerHTML:e._s(e.resources.labelFrom)}}):e._e(),e._v(" "),e.variantDetails.monthlyPrice?r("span",[e._v(e._s(e.variantDetails.monthlyPrice.standardPrice)+" "),r("span",{staticClass:"font-p",domProps:{innerHTML:e._s(e.resources.labelCurrencyPerMonth)}})]):r("span",[e._v(e._s(e.variantDetails.nonRecurringPrice.totalPrice)+" "),r("span",{staticClass:"font-p",domProps:{innerHTML:e._s(e.resources.labelCurrencyValue)}})])])])]),e._v(" "),e.variantDetails.monthlyPrice&&!e.propHideCommitmentAndCancellationPeriod?r("div",{staticClass:"text--center font-small"},[e.variantDetails.monthlyPrice.duration&&e.variantDetails.monthlyPrice.duration>0?r("span",[r("span",{domProps:{innerHTML:e._s(e.resources.paymentDurationText)}}),e._v(" "+e._s(e.variantDetails.monthlyPrice.duration)+"\n "),1===e.variantDetails.monthlyPrice.duration?r("span",[r("span",{domProps:{innerHTML:e._s(e.resources.labelMonth)}})]):r("span",{domProps:{innerHTML:e._s(e.resources.labelMonths)}})]):[0!==e.variantDetails.commitmentPeriod?r("span",[r("span",[e._v(e._s(e.resources.labelCommitmentPeriod))]),e._v(" "),r("span",{attrs:{"data-test":"commitmentPeriodMain"}},[e._v(e._s(e.variantDetails.commitmentPeriod))])]):e._e(),e._v(" "),0===e.variantDetails.commitmentPeriod?r("span",[e._v(e._s(e.resources.labelNoBindingTime)+e._s(e.resources.labelCommaAsString))]):1===e.variantDetails.commitmentPeriod?r("span",[e._v(e._s(e.resources.labelMonth)+e._s(e.resources.labelCommaAsString))]):r("span",[e._v(e._s(e.resources.labelMonths)+e._s(e.resources.labelCommaAsString))]),e._v(" "),0!==e.variantDetails.cancellationPeriod?r("span",[r("span",[e._v(e._s(e.resources.labelCancellationPeriod))]),e._v(" "),r("span",{attrs:{"data-test":"cancellationPeriodMain"}},[e._v(e._s(e.variantDetails.cancellationPeriod))])]):e._e(),e._v(" "),0===e.variantDetails.cancellationPeriod?r("span",[e._v(e._s(e.resources.labelNoCancellationPeriod))]):1===e.variantDetails.cancellationPeriod?r("span",[e._v(e._s(e.resources.labelMonth))]):r("span",[e._v(e._s(e.resources.labelMonths))])]],2):e._e()])};pe._withStripped=!0;var ue={name:"FixedPriceSummary",data:function(){return{resources:{},variantDetails:this.propVariantDetailsModel}},props:{propVariantDetailsModel:Object,propWhiteBackground:Boolean,propHideCommitmentAndCancellationPeriod:Boolean},mounted:function(){this.resources=window.variantPage.resources},watch:{propVariantDetailsModel:function(e){this.variantDetails=e}}},he=Object(S.a)(ue,pe,[],!1,null,null,null);he.options.__file="Static/js/fixed/organisms/FixedPriceSummary.vue";var fe=he.exports,me=r(187),ge=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"fixed-address-banner leader trailer"},[r("h3",{staticClass:"font-h3",attrs:{"data-test":"searched_address"}},[e._v(e._s(e.address))]),e._v(" "),r("a",{staticClass:"fixed-address-banner__change-address",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("change-address")}}},[e._v("\n Byt adress\n ")])])};function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}ge._withStripped=!0;var Se={name:"TheAddressBanner",computed:function(e){for(var t=1;t