PageSourceSearch

https://www.nordvikbolig.no/_next/static/chunks/7336-2b3a42c68f79a47b.js

js nordvikbolig.no collected 2026-10-08 06:00:56 UTC 12,502 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7336],{53819:function(t,n,e){var r,i,a=e(27378);function o(){return o=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},o.apply(this,arguments)}n.Z=function(t){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.8 17.6"},t),r||(r=a.createElement("path",{d:"M13.1 6.7c0 3.4-6.1 9.8-6.1 9.8S.8 10 .8 6.6c.1-3.4 3-6 6.4-5.9 3.2.2 5.7 2.8 5.9 6z"})),i||(i=a.createElement("circle",{cx:6.9,cy:6.3,r:2})))}},67336:function(t,n,e){e.d(n,{Dx:function(){return V},FI:function(){return K},rk:function(){return rt}});var r=e(19989),i=e(3204),a=e(24246),o=(e(27378),e(28228)),c=e(39982),s=e(78074),u=e(16633),m=e(90312),p=e(52451),l=e(835),f=e(85418),d=e(53819),h=e(26003),g=e.n(h),v=e(24687),x=e(21948),Z=e(39994),y=e(74443);function w(){var t=(0,r.Z)(["\n\t\twidth: 100%;\n\t"]);return w=function(){return t},t}function E(){var t=(0,r.Z)(["\n\t\t\twidth: 50%;\n\t\t"]);return E=function(){return t},t}function b(){var t=(0,r.Z)(["\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\ttext-align: left;\n\n\t","\n\n\t> a {\n\t\t","\n\t}\n"]);return b=function(){return t},t}function C(){var t=(0,r.Z)(["\n\t\tmargin-right: 10%;\n\t"]);return C=function(){return t},t}function _(){var t=(0,r.Z)(["\n\t\tmargin-right: 30%;\n\t\tfont-size: ",";\n\t"]);return _=function(){return t},t}function I(){var t=(0,r.Z)(["\n\t\tmargin-right: 20%;\n\t"]);return I=function(){return t},t}function A(){var t=(0,r.Z)(["\n\tmargin-top: 0;\n\tmargin-bottom: ",";\n\n\tfont-size: ",";\n\tline-height: ",";\n\tcolor: inherit;\n\n\ttransition: opacity 150ms ease-out;\n\n\t","\n\n\t","\n\n\t","\n"]);return A=function(){return t},t}function N(){var t=(0,r.Z)(["\n\tmargin-top: 0;\n\tmargin-bottom: ",";\n\tcolor: ",";\n"]);return N=function(){return t},t}function P(){var t=(0,r.Z)(["\n\tdisplay: inline-block;\n\twidth: 100%;\n\tcolor: inherit;\n\t","\n\n\t&:active {\n\t\t"," {\n\t\t\topacity: 0.6;\n\t\t}\n\t}\n"]);return P=function(){return t},t}function j(){var t=(0,r.Z)(["\n\t\tpadding: "," "," "," ",";\n\t\tmargin: ",";\n\t"]);return j=function(){return t},t}function B(){var t=(0,r.Z)(["\n\tfont-size: ",";\n\tmargin-bottom: ",";\n\n\t","\n"]);return B=function(){return t},t}function O(){var t=(0,r.Z)(["\n\tposition: relative;\n\twidth: 100%;\n"]);return O=function(){return t},t}function k(){var t=(0,r.Z)(["\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t"]);return k=function(){return t},t}function z(){var t=(0,r.Z)(["\n\tmargin: 0 auto "," auto;\n\tpadding-bottom: 65%;\n\tposition: relative;\n\n\tmargin-left: -5.6%;\n\tmargin-right: -5.6%;\n\n\t","\n"]);return z=function(){return t},t}function R(){var t=(0,r.Z)(["\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tobject-fit: cover;\n\twidth: 100%;\n\theight: 100%;\n"]);return R=function(){return t},t}function S(){var t=(0,r.Z)(["\n\tposition: absolute;\n\tright: ",";\n\tbottom: ",";\n\tz-index: 5;\n"]);return S=function(){return t},t}function M(){var t=(0,r.Z)(["\n\tposition: absolute;\n\tleft: ",";\n\ttop: ",";\n\tz-index: 5;\n\n\tmax-width: 40%;\n\tmargin: 0;\n\tpadding: "," ",";\n\n\tcolor: inherit;\n\ttext-align: center;\n\n\tbackground: ",";\n"]);return M=function(){return t},t}function D(){var t=(0,r.Z)(["\n\t\tmargin: auto ",";\n\t"]);return D=function(){return t},t}function W(){var t=(0,r.Z)(["\n\tfont-size: ",";\n\n\tmargin: auto ",";\n\tpadding-top: ",";\n\n\t","\n"]);return W=function(){return t},t}function F(){var t=(0,r.Z)(["\n\t\tflex-direction: row;\n\t"]);return F=function(){return t},t}function L(){var t=(0,r.Z)(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tflex-direction: column;\n\tflex-wrap: wrap;\n\t","\n"]);return L=function(){return t},t}function T(){var t=(0,r.Z)(["\n\t\tfont-size: ",";\n\t"]);return T=function(){return t},t}function H(){var t=(0,r.Z)(["\n\tdisplay: flex;\n\n\tfont-size: ",";\n\tfont-weight: ",";\n\tcolor: inherit;\n\tmargin-top: 0;\n\tmargin-right: ",";\n\n\t","\n"]);return H=function(){return t},t}function U(){var t=(0,r.Z)([""]);return U=function(){return t},t}function $(){var t=(0,r.Z)(["\n\tmargin-left: ",";\n"]);return $=function(){return t},t}function G(){var t=(0,r.Z)(["\n\twidth: ",";\n\theight: ",";\n\tmargin: auto 0;\n\tmargin-right: ",";\n\n\tpath,\n\tcircle {\n\t\tfill: none;\n\t\tstroke: ",";\n\t\tstroke-width: 2px;\n\t}\n"]);return G=function(){return t},t}var K=(0,o.ZP)(l.Z).withConfig({displayName:"EstateEntry__EstatesWrapper",componentId:"sc-6c13506c-0"})(b(),s.BC.medium(w()),s.BC.large(E())),V=(0,o.ZP)(m.Z).withConfig({displayName:"EstateEntry__Title",componentId:"sc-6c13506c-1"})(A(),(0,c.em)("20px"),(0,c.em)("20px"),(0,c.em)("24px"),s.BC.small(C()),s.BC.medium(_(),(0,c.em)("22px")),s.BC.large(I())),X=(0,o.ZP)(m.Z).withConfig({displayName:"EstateEntry__LeadTitle",componentId:"sc-6c13506c-2"})(N(),(0,c.em)("10px"),s.O9.primary),q=o.ZP.a.withConfig({displayName:"EstateEntry__EstateLink",componentId:"sc-6c13506c-3"})(P(),"",V),J=o.ZP.article.withConfig({displayName:"EstateEntry",componentId:"sc-6c13506c-4"})(B(),(0,c.hO)("16px"),(0,c.em)("35px"),s.BC.medium(j(),(0,c.hO)("0px"),(0,c.hO)("10px"),(0,c.hO)("10px"),(0,c.hO)("10px"),(0,c.em)("10px"))),Q=o.ZP.div.withConfig({displayName:"EstateEntry__ImageDiv",componentId:"sc-6c13506c-5"})(O()),Y=o.ZP.div.withConfig({displayName:"EstateEntry__Media",componentId:"sc-6c13506c-6"})(z(),(0,c.em)("20px"),s.BC.medium(k())),tt=(0,o.ZP)(p.Z).withConfig({displayName:"EstateEntry__EntryImage",componentId:"sc-6c13506c-7"})(R()),nt=(0,o.ZP)(f.Z).withConfig({displayName:"EstateEntry__Price",componentId:"sc-6c13506c-8"})(S(),(0,c.em)("10px"),(0,c.em)("-20px")),et=(0,o.ZP)(m.Z).withConfig({displayName:"EstateEntry__Showing",componentId:"sc-6c13506c-9"})(M(),(0,c.em)("10px"),(0,c.em)("-20px"),(0,c.em)("10px"),(0,c.em)("20px"),s.O9.accent),rt=o.ZP.div.withConfig({displayName:"EstateEntry__TextDiv",componentId:"sc-6c13506c-10"})(W(),(0,c.em)("14px"),(0,c.em)("25px"),(0,c.em)("30px"),s.BC.small(D(),(0,c.em)("35px"))),it=o.ZP.div.withConfig({displayName:"EstateEntry__Info",componentId:"sc-6c13506c-11"})(L(),s.BC.medium(F())),at=o.ZP.p.withConfig({displayName:"EstateEntry__InfoData",componentId:"sc-6c13506c-12"})(H(),(0,c.em)("13px"),s.vC.normal,(0,c.em)("12px"),s.BC.small(T(),(0,c.em)("15px"))),ot=o.ZP.span.withConfig({displayName:"EstateEntry__Data",componentId:"sc-6c13506c-13"})(U()),ct=(0,o.ZP)(ot).withConfig({displayName:"EstateEntry__Bedroom",componentId:"sc-6c13506c-14"})($(),(0,c.em)("5px")),st=(0,o.ZP)(d.Z).withConfig({displayName:"EstateEntry__Pin",componentId:"sc-6c13506c-15"}
1)(G(),(0,c.em)("20px"),(0,c.em)("20px"),(0,c.em)("7px"),s.O9.primary);n.ZP=function(t){var n,e,r,o,c=(null===(n=t.areaSize)||void 0===n?void 0:n.BRAItotal)||t.estateSize.primaryRoomArea,m=(null===(e=t.areaSize)||void 0===e?void 0:e.BRAtotal)?"BRA-i":"P-rom";c||(c=t.estateSize.usableArea,m="BRA"),c=(0,x.Z)(c);var p,l,f,d,h,w=(0,y.N)(t.estatePrice);if(w=w?w.toLocaleString(g().LOCALE):w,t.projectUnits[0]){var E=t.projectUnits.filter((function(t){return 2===t.status}));if(E.length){var b,C,_,I,A,N,P,j=E.filter((function(t){return t.priceEstimate>0})),B=E.filter((function(t){return t.primaryRoomArea>0}));if(p=(b=Math).min.apply(b,(0,i.Z)(j.map((function(t){return t.priceEstimate})))),l=(C=Math).max.apply(C,(0,i.Z)(E.map((function(t){return t.priceEstimate})))),null===(_=E[0].areaSize)||void 0===_?void 0:_.BRAtotal)m="BRA-i",f=(I=Math).min.apply(I,(0,i.Z)(E.map((function(t){return t.areaSize.BRAItotal})))),d=(A=Math).max.apply(A,(0,i.Z)(E.map((function(t){return t.areaSize.BRAItotal}))));else if(m="P-rom",f=(N=Math).min.apply(N,(0,i.Z)(B.map((function(t){return t.primaryRoomArea})))),d=(P=Math).max.apply(P,(0,i.Z)(E.map((function(t){return t.primaryRoomArea})))),!f||!d){var O,k,z=E.filter((function(t){return t.usableArea>0}));f=(O=Math).min.apply(O,(0,i.Z)(z.map((function(t){return t.usableArea})))),d=(k=Math).max.apply(k,(0,i.Z)(E.map((function(t){return t.usableArea})))),m="BRA"}w="".concat((0,v.Z)(p)," - ").concat((0,v.Z)(l)),c="".concat((0,x.Z)(f)," - ").concat((0,x.Z)(d))}}var R=null!==(h=null===(r=t.images)||void 0===r||null===(o=r[0])||void 0===o?void 0:o.url)&&void 0!==h?h:s.Wc.estate,S=t.address?t.address.streetAdress:null,M=t.area?", ".concat(t.area.name):"",D=(0,Z.Z)(t.estateId,S),W=D.href,F=D.as,L=t.leadHeader,T=void 0===L?{}:L,H=t.textFields,U=void 0===H?{}:H,$=T.localAreaName||U.localAreaName;return(0,a.jsx)(u.Z,{href:W,as:F,passHref:!0,children:(0,a.jsx)(q,{children:(0,a.jsxs)(J,{className:t.className,children:[(0,a.jsxs)(Q,{children:[t.showingToday?(0,a.jsx)(et,{children:"Visning i dag!"}):"",t.children,(0,a.jsx)(Y,{children:R&&(0,a.jsx)(tt,{label:S,src:R.small,small:R.small,medium:R.medium,large:R.large})}),0!==w&&(0,a.jsxs)(nt,{children:[w,",-"]})]}),(0,a.jsxs)(rt,{children:[$&&(0,a.jsx)(X,{children:$}),(0,a.jsx)(V,{children:t.heading||S}),(0,a.jsxs)(it,{children:[(0,a.jsxs)(at,{children:[c&&(0,a.jsxs)(ot,{children:[c," m",(0,a.jsx)("sup",{children:"2"}),"BRA"===m&&" (".concat(m,")")]}),c&&t.noOfBedRooms>0&&", "," ",t.noOfBedRooms>0&&(0,a.jsxs)(ct,{children:[t.noOfBedRooms," Soverom"]})]}),(0,a.jsxs)(at,{children:[(0,a.jsx)(st,{}),(0,a.jsxs)(ot,{children:[S,M]})]})]})]})]})})})}},52451:function(t,n,e){var r=e(24364),i=e(21151),a=e(70619),o=e(19989),c=e(74674),s=e(24246),u=e(27378),m=e(28228),p=e(63594),l=e.n(p),f=e(78074);function d(){var t=(0,o.Z)(["\n\t\t\t\twidth: ",";\n\t\t\t"]);return d=function(){return t},t}function h(){var t=(0,o.Z)(["\n\t\t",";\n\t"]);return h=function(){return t},t}function g(){var t=(0,o.Z)(["\n\tborder: 0;\n\tmax-width: 100%;\n\tmax-height: 100%;\n\t// width: 90%;\n\tmargin: auto;\n\theight: auto;\n\n\t","\n"]);return g=function(){return t},t}var v=m.ZP.img.withConfig({displayName:"Image__ImageTag",componentId:"sc-2f58ce8f-0"})(g(),f.BC.medium(h(),(function(t){return t.customWidth&&(0,m.iv)(d(),t.customWidth)}))),x=function(t){(0,a.Z)(e,t);var n=(0,c.Z)(e);function e(){return(0,r.Z)(this,e),n.apply(this,arguments)}return(0,i.Z)(e,[{key:"componentDidMount",value:function(){this.props.objectFit&&l()(this.$img)}},{key:"render",value:function(){var t=this;if(!this.props.src&&!this.props.small)return!1;var n,e,r,i=this.props.src||this.props.small,a=this.props.small||i,o=this.props.medium||i,c=this.props.large||i;switch(this.props.customWidth){case"maxWidth":n="80%";break;case"minWidth":n="60%";break;case"fullWidth":n="100%"}switch(this.props.sizes){case"100vw":e="".concat(a," 360w, ").concat(o," 1080w, ").concat(c," 1920w"),r="100vw";break;case"EntryA":case"Grid":e="".concat(a," 640w, ").concat(o," 1080w");break;case"Estate":e="".concat(o," 1080w, ").concat(c," 1920w"),r="100vw";break;
1case"ContentImage":e="".concat(o," 1080w, ").concat(c," 1920w");break;default:e="".concat(a," 360w, ").concat(o," 1080w")}return(0,s.jsx)(v,{ref:function(n){t.$img=n},className:this.props.className,srcSet:e,sizes:r,customWidth:n,"aria-label":this.props.label,alt:this.props.alt||"",width:this.props.width,height:this.props.height})}}]),e}(u.PureComponent);n.Z=x},85418:function(t,n,e){var r=e(19989),i=(e(27378),e(28228)),a=e(39982),o=e(78074);function c(){var t=(0,r.Z)(["\n\t","\n\tmargin: 0;\n\tpadding: "," ",";\n\n\t/* font-family: ","; */\n\t/* font-weight: ","; */\n\tfont-size: ",";\n\ttext-align: center;\n\tcolor: ",";\n\n\tbackground: ",";\n\n\tbox-shadow: 0 0 60px 0px rgba(0, 0, 0, 0.18);\n"]);return c=function(){return t},t}var s=i.ZP.p.withConfig({displayName:"PriceTag",componentId:"sc-80429846-0"})(c(),"",(0,a.em)("15px"),(0,a.em)("25px"),o.c3.header,o.vC.bold,(0,a.em)("18px"),o.O9.text,o.O9.white);n.Z=s},74443:function(t,n,e){e.d(n,{N:function(){return i},X:function(){return r}});var r=function(t){return t?(t.priceSuggestion||0)+(t.originalAgreementPrice||0)+(t.additionalAgreementOptions||0)+(t.collectiveDebt||0)+(t.purchaseCostsAmount||0)+(t.originalExpensesPrice||0)+(t.transportAgreementCosts||0):0},i=function(t){return t&&t.priceSuggestion?t.priceSuggestion+(t.originalAgreementPrice||0)+(t.additionalAgreementOptions||0):0}},21948:function(t,n){n.Z=function(t){return"number"!==typeof t?t:parseFloat(t.toFixed(1))}},24687:function(t,n,e){var r=e(26003),i=e.n(r),a=new Intl.NumberFormat(i().LOCALE,{style:"currency",currency:"NOK",currencyDisplay:"symbol",minimumFractionDigits:0});n.Z=function(t){return t&&t>=0?a.format(t).replace("kr","").trim():t}}}]);

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.