1"use strict";(self["webpackChunkauthenticated_frontend"]=self["webpackChunkauthenticated_frontend"]||[]).push([[4495],{3612:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var a=function(){var t=this,e=t._self._c;return e("section",{staticClass:"bytesansokan"},[e("div",{staticClass:"nsp-container"},[e("div",{directives:[{name:"reveal",rawName:"v-reveal"}],staticClass:"bytesansokan-grid"},[e("div",{staticClass:"bytesansokan-media"},[e("img",{attrs:{src:t.strapiMediaUrl(t.content.Image),alt:t.content.ImageAlt,loading:"lazy"}})]),e("div",{staticClass:"bytesansokan-content"},[e("h2",{staticClass:"nsp-section-title bytesansokan-title",domProps:{innerHTML:t._s(t.content.Title)}}),e("ul",{staticClass:"bytesansokan-features"},t._l(t.content.Features||[],function(s,a){return e("li",{key:a,staticClass:"feature"},[e("span",{staticClass:"feature-icon",attrs:{"aria-hidden":"true"}},[e("svg",{attrs:{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"}},[e("path",{attrs:{d:"M20 6 9 17l-5-5"}})])]),e("div",{staticClass:"feature-body"},[e("div",{staticClass:"feature-title"},[t._v(t._s(s.Title))]),e("div",{staticClass:"feature-sub"},[t._v(t._s(s.Description))])])])}),0)])])])])},i=[],r=s(24332),n=s(3573);const l={name:"NewStartBytesansokan",directives:{reveal:n.A},props:{content:{type:Object,default:()=>({})}},methods:{strapiMediaUrl:r.p}},o=l;var c=s(81656),d=(0,c.A)(o,a,i,!1,null,"5bbb01e3",null);const u=d.exports},4603:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var a=function(){var t=this,e=t._self._c;return e("section",{directives:[{name:"reveal",rawName:"v-reveal"}],staticClass:"faq nsp-section"},[e("div",{staticClass:"nsp-container"},[e("div",{staticClass:"faq-layout"},[e("div",{staticClass:"faq-intro"},[e("h2",{staticClass:"nsp-section-title faq-title",domProps:{innerHTML:t._s(t.content.Title)}}),e("p",{staticClass:"faq-lead"},[t._v(" "+t._s(t.content.LeadText)+" ")])]),e("div",{staticClass:"faq-list"},t._l(t.content.Items||[],function(s,a){return e("div",{key:a,staticClass:"faq-item",class:{open:t.openIndex===a}},[e("button",{staticClass:"faq-q",attrs:{type:"button","aria-expanded":t.openIndex===a?"true":"false","aria-controls":`faq-panel-${a}`},on:{click:function(e){return t.toggle(a)}}},[e("span",[t._v(t._s(s.Question))]),e("span",{staticClass:"faq-icon",attrs:{"aria-hidden":"true"}},[e("svg",{attrs:{viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("path",{attrs:{d:"M12 5v14"}}),e("path",{attrs:{d:"M5 12h14"}})])])]),e("div",{staticClass:"faq-a",attrs:{id:`faq-panel-${a}`}},[e("div",{staticClass:"faq-a-clip"},[e("div",{staticClass:"faq-a-inner"},[t._l(t.answerParagraphs(s.Answer),function(s,a){return e("p",{key:a,staticClass:"faq-a-p"},[t._v(" "+t._s(s)+" ")])}),s.LinkText?e("router-link",{staticClass:"faq-a-link",attrs:{to:{path:t.$routes.HELP,query:{accordion:s.LinkAccordion}}}},[t._v(" "+t._s(s.LinkText)+" ")]):t._e()],2)])])])}),0)])])])},i=[],r=s(3573);const n={name:"NewStartFaq",directives:{reveal:r.A},props:{content:{type:Object,default:()=>({})}},data(){return{openIndex:-1}},methods:{answerParagraphs(t){return(t||"").split(/\n{2,}/).map(t=>t.trim()).filter(Boolean)},toggle(t){this.openIndex=this.openIndex===t?-1:t}}},l=n;var o=s(81656),c=(0,o.A)(l,a,i,!1,null,"173d5009",null);const d=c.exports},12447:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var a=function(){var t=this,e=t._self._c;return e("section",{directives:[{name:"reveal",rawName:"v-reveal"}],staticClass:"articles nsp-section"},[e("div",{staticClass:"nsp-container"},[e("div",{staticClass:"articles-head"},[e("div",{staticClass:"articles-head-left"},[e("h2",{staticClass:"nsp-section-title articles-title",domProps:{innerHTML:t._s(t.content.Title)}})]),e("div",{staticClass:"articles-head-right"},[e("p",{staticClass:"articles-lead"},[t._v(" "+t._s(t.content.LeadText)+" ")]),e("router-link",{staticClass:"articles-all-link",attrs:{to:t.content.AllGuidesLink}},[t._v(" "+t._s(t.content.AllGuidesText)+" "),e("svg",{attrs:{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("path",{attrs:{d:"M5 12h14"}}),e("path",{attrs:{d:"m12 5 7 7-7 7"}}
1)])])],1)]),e("div",{staticClass:"articles-grid"},t._l(t.content.Articles||[],function(s,a){return e("router-link",{key:a,staticClass:"article-card",attrs:{to:s.Link}},[e("img",{staticClass:"article-card-img",attrs:{src:t.strapiMediaUrl(s.Image),alt:s.ImageAlt,loading:"lazy"}}),e("div",{staticClass:"article-card-body"},[e("div",{staticClass:"article-card-category"},[t._v(t._s(s.Category))]),e("h3",{staticClass:"article-card-title"},[t._v(t._s(s.Title))]),e("p",{staticClass:"article-card-desc"},[t._v(t._s(s.Description))])])])}),1)])])},i=[],r=s(24332),n=s(3573);const l={name:"NewStartArticles",directives:{reveal:n.A},props:{content:{type:Object,default:()=>({})}},methods:{strapiMediaUrl:r.p}},o=l;var c=s(81656),d=(0,c.A)(o,a,i,!1,null,"36d89701",null);const u=d.exports},23040:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var a=function(){var t=this,e=t._self._c;return e("section",{directives:[{name:"reveal",rawName:"v-reveal"}],staticClass:"final-cta-section"},[e("div",{staticClass:"nsp-container"},[e("div",{staticClass:"final-cta"},[e("div",{staticClass:"final-cta-grid"},[e("div",{staticClass:"final-cta-content"},[e("h2",{staticClass:"cta-title"},[t._v(t._s(t.content.Title))]),e("p",{staticClass:"cta-sub"},[t._v(" "+t._s(t.content.Subtitle)+" ")]),e("div",{staticClass:"cta-actions"},[e("BaseButton",{staticClass:"larger rounded white",attrs:{link:t.content.ButtonLink,"icon-file":"arrow-right-dark","icon-size":18,"icon-last":""}},[t._v(" "+t._s(t.content.ButtonText)+" ")])],1)]),e("div",{staticClass:"final-cta-features"},t._l(t.content.Features||[],function(s,a){return e("div",{key:a,staticClass:"cta-feature"},[e("span",{staticClass:"cta-feature-icon",attrs:{"aria-hidden":"true"}},[0===a?[e("svg",{attrs:{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("line",{attrs:{x1:"10",y1:"2",x2:"14",y2:"2"}}),e("line",{attrs:{x1:"12",y1:"14",x2:"15",y2:"11"}}),e("circle",{attrs:{cx:"12",cy:"14",r:"8"}})])]:1===a?[e("svg",{attrs:{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("path",{attrs:{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}}),e("circle",{attrs:{cx:"9",cy:"7",r:"4"}}),e("path",{attrs:{d:"M23 21v-2a4 4 0 0 0-3-3.87"}}),e("path",{attrs:{d:"M16 3.13a4 4 0 0 1 0 7.75"}})])]:2===a?[e("svg",{attrs:{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("path",{attrs:{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"}}),e("path",{attrs:{d:"m9 12 2 2 4-4"}})])]:t._e()],2),e("div",{staticClass:"cta-feature-body"},[e("div",{staticClass:"cta-feature-title"},[t._v(t._s(s.Title))]),e("div",{staticClass:"cta-feature-sub"},[t._v(" "+t._s(s.Description)+" ")])])])}),0)])])])])},i=[],r=s(3573),n=s(83265);const l={name:"NewStartFinalCta",components:{BaseButton:n.A},directives:{reveal:r.A},props:{content:{type:Object,default:()=>({})}}},o=l;var c=s(81656),d=(0,c.A)(o,a,i,!1,null,"5091c528",null);const u=d.exports},24968:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var a=function(){var t=this,e=t._self._c;return e("section",{directives:[{name:"reveal",rawName:"v-reveal"}],staticClass:"how-it-works nsp-section"},[e("div",{staticClass:"nsp-container"},[e("div",{staticClass:"head"},[e("h2",{staticClass:"nsp-section-title head-title",domProps:{innerHTML:t._s(t.content.Title)}})]),e("div",{staticClass:"steps"},t._l(t.content.Steps||[],function(s,a){return e("div",{key:a,staticClass:"step",class:`step-${a+1}`},[e("div",{staticClass:"step-image-wrap"},[e("img",{staticClass:"step-image",attrs:{src:t.strapiMediaUrl(s.Image),alt:s.ImageAlt||s.Title}}),e("span",{staticClass:"step-num"},[t._v(t._s(a+1))])]),e("div",{staticClass:"step-title"},[t._v(t._s(s.Title))]),e("div",{staticClass:"step-body"},[t._v(t._s(s.Description))])])}),0)])])},i=[],r=s(24332),n=s(3573);const l={name:"NewStartHowItWorks",directives:{reveal:n.A},props:{content:{type:Object,default:()=>({})}},methods:{strapiMediaUrl:r.p}},o=l;var c=s(81656),d=(0,c.A)(o,a,i,!1,null,"187f5a5f",null);const u=d.exports},25968:(t,e,s)=>{s.r(e),s.d(e,{default:()=>v});var a=function(){var t=this,e=t._self._c;return e("section",{directives:[{name:"reveal",rawName:"v-reveal"}],staticClass:"apartments"},[e("div",{staticClass:"nsp-container"},[e("div",{staticClass:"apartments-head"},[e("h2",{staticClass:"nsp-section-title apartments-title",domProps:{innerHTML:t._s(t.content.Title)}}),e("div",{staticClass:"filters",attrs:{role:"group","aria-label":"Filtrera per stad"}},t._l(t.cities,function(s){return e("button",{key:s.AreaId,staticClass:"filter-pill",class:{active:Number(s.AreaId)===t.activeAreaId},attrs:{type:"button","aria-pressed":Number(s.AreaId)===t.activeAreaId?"true":"false"},on:{click:function(e){t.activeAreaId=Number(s.AreaId)}}},[t._v(" "+t._s(s.Label)+" ")])}),0)]),e("div",{staticClass:"apartments-grid"},t._l(t.suggestions,function(t){return e("SuggestionCard",{key:t.propositionId,attrs:{suggestion:t,"single-image":!0,"hide-floor":"","full-page-link":""}})}),1)])])},i=[],r=s(44458),n=s(61597),l=s(3573);const o={name:"NewStartApartments",components:{SuggestionCard:r.ZJ},directives:{reveal:l.A},props:{content:{type:Object,default:()=>({})}},data(){return{activeAreaId:0,suggestions:[],isLoading:!1}},computed:{cities(){return this.content.CityFilters||[]}},watch:{activeAreaId:{immediate:!0,handler(){this.fetchSuggestions()}}},methods:{async fetchSuggestions(){const t=this.activeAreaId;this.isLoading=!0;try{const{data:e}=await n.zm.get(`/api/Inspiration/GetStartPageInspirationPictures?areaId=${t}&count=8`);if(t!==this.activeAreaId)return;this.suggestions=((null===e||void 0===e?void 0:e.Object)||[]).map(this.mapToSuggestion)}catch(a){var e,s;null===(e=window.Logger)||void 0===e||null===(s=e.error)||void 0===s||s.call(e,"Failed to fetch start page inspiration propositions",a)}finally{t===this.activeAreaId&&(this.isLoading=!1)}},mapToSuggestion(t){return{propositionId:t.ad_id,residences:[{streetAddress:t.streetAddress||"",houseNumber:"",postalArea:t.areaName||"",rooms:t.num_rooms,sqm:t.square_meter,floor:null,rent:t.rent,images:t.filename?[{fileName:t.filename,altText:t.streetAddress||""}]:[]}]}}}},c=o;
1var d=s(81656),u=(0,d.A)(c,a,i,!1,null,"828332ac",null);const v=u.exports},42336:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var a=function(){var t=this,e=t._self._c;return e("div",{class:["button-container",{"button-hidden":!t.showButton}]},[e("BaseButton",{staticClass:"sticky-button larger rounded",attrs:{link:t.content.ButtonLink,"icon-file":"arrow-right-white","icon-size":18,"icon-last":""}},[t._v(" "+t._s(t.content.ButtonText)+" ")])],1)},i=[],r=s(2543),n=s(83265);const l={name:"NewStickyButton",components:{BaseButton:n.A},props:{content:{type:Object,default:()=>({})}},data(){return{showButton:!1}},created(){this.throttledScroll=(0,r.throttle)(this.handleScroll,200)},mounted(){window.addEventListener("scroll",this.throttledScroll)},beforeDestroy(){window.removeEventListener("scroll",this.throttledScroll)},methods:{handleScroll(){const t=window.scrollY||document.documentElement.scrollTop;this.showButton=t>window.innerHeight}}},o=l;var c=s(81656),d=(0,c.A)(o,a,i,!1,null,"f7ea1682",null);const u=d.exports},92420:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var a=function(){var t=this,e=t._self._c;return e("section",{directives:[{name:"reveal",rawName:"v-reveal"}],staticClass:"testimonials nsp-section"},[e("div",{staticClass:"nsp-container"},[e("div",{staticClass:"nsp-section-head"},[e("h2",{staticClass:"nsp-section-title",domProps:{innerHTML:t._s(t.content.Title)}})]),e("div",{staticClass:"testimonials-layout"},[e("article",{staticClass:"feature"},[e("div",{staticClass:"feature-photo"},[e("img",{attrs:{src:t.strapiMediaUrl(t.featured.Image),alt:t.featured.Name}}),e("div",{staticClass:"feature-metric"},[e("span",{staticClass:"metric-num"},[t._v(t._s(t.featured.MetricValue))]),e("span",{staticClass:"metric-label"},[t._v(t._s(t.featured.MetricLabel))])])]),e("div",{staticClass:"feature-body"},[e("div",{staticClass:"stars",attrs:{"aria-label":`${t.featured.Rating||5} av 5`}},t._l(t.featured.Rating||5,function(t){return e("svg",{key:t,attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor"}},[e("path",{attrs:{d:"M8 1.3l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11l-3.8 2 .7-4.3-3.1-3 4.3-.6z"}})])}),0),e("blockquote",{staticClass:"feature-quote",domProps:{innerHTML:t._s(t.featured.Quote)}}),e("div",{staticClass:"feature-meta"},[e("div",[e("div",{staticClass:"meta-name"},[t._v(t._s(t.featured.Name))]),e("div",{staticClass:"meta-role"},[t._v(t._s(t.featured.Location))])])])])]),e("div",{staticClass:"secondary"},t._l(t.secondary,function(s,a){return e("article",{key:a,staticClass:"testimonial"},[e("div",{staticClass:"stars-sm",attrs:{"aria-label":`${s.Rating||5} av 5`}},t._l(s.Rating||5,function(t){return e("svg",{key:t,attrs:{width:"13",height:"13",viewBox:"0 0 16 16",fill:"currentColor"}},[e("path",{attrs:{d:"M8 1.3l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11l-3.8 2 .7-4.3-3.1-3 4.3-.6z"}})])}),0),e("blockquote",{staticClass:"testimonial-quote",domProps:{innerHTML:t._s(s.Quote)}}),e("div",{staticClass:"testimonial-meta"},[e("img",{staticClass:"avatar",attrs:{src:t.strapiMediaUrl(s.Image),alt:s.Name}}),e("div",[e("div",{staticClass:"meta-name"},[t._v(t._s(s.Name))]),e("div",{staticClass:"meta-role"},[t._v(t._s(s.Location))])])])])}),0)])])])},i=[],r=s(24332),n=s(3573);const l={name:"NewStartTestimonials",directives:{reveal:n.A},props:{content:{type:Object,default:()=>({})}},computed:{featured(){return this.content.Featured||{}},secondary(){return this.content.Secondary||[]}},methods:{strapiMediaUrl:r.p}},o=l;var c=s(81656),d=(0,c.A)(o,a,i,!1,null,"0a3d7fa1",null);const u=d.exports}}]); 2//# sourceMappingURL=new-start-page-blocks.74716777.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.