PageSourceSearch

https://www.johndwood.co.uk/asset_bundles/2617.bundle.0d29968f3b8fc96e692e.js

js johndwood.co.uk collected 2026-09-26 05:47:09 UTC 4,001 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktheme_boilerplate=self.webpackChunktheme_boilerplate||[]).push([[2617],{2617:function(t,e,n){n.r(e),n.d(e,{default:function(){return h}});var r=n(7294),o=n(5697),a=n.n(o),l=n(3967),i=n.n(l),s=n(5049);function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u.apply(this,arguments)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var m=function(t){var e,n,o=t.title,a=t.subtitle,l=t.instantText,m=t.instantLink,h=t.expertText,p=t.expertLink,f=t.legalText,_=t.only,b=t.titleItalic,y=t.titleWeight,g=t.titleColor,d=t.subtitleItalic,v=t.subtitleWeight,x=t.subtitleColor,k=(e=(0,r.useState)(),n=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,a,l,i=[],s=!0,u=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(i.push(r.value),i.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw o}}return i}}(e,n)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=k[0],w=k[1],N=(0,r.useRef)(),T=_&&"expert"===_,O=_&&"instant"===_,j=i()({"h1 hero__title":!0,"hero__title--italic":b,"hero__title--normal":"normal"===y,"hero__title--light":"light"===y}),I=i()({"h2 hero__subtitle":!0,"hero__subtitle--italic":d,"hero__subtitle--normal":"normal"===v,"hero__subtitle--light":"light"===v}),L=function(t){var e,n="expert"===t?p:m;n?window.location.href=n:((e=N.current.closest(".hero__container"))&&e.classList.toggle("hero__container--valuation-mode"),w(t))};return r.createElement("div",{className:"hero__content-wrapper",ref:N},E?r.createElement(s.Z,{mode:E,setMode:L,legalText:f}):r.createElement(r.Fragment,null,r.createElement("div",u({className:j},g&&{style:{color:g}},{dangerouslySetInnerHTML:{__html:o}})),r.createElement("div",u({className:I},x&&{style:{color:x}},{dangerouslySetInnerHTML:{__html:a}})),r.createElement("div",{className:"hero__choice-container"},!T&&r.createElement("div",{className:"hero__choice-section"},r.createElement("button",{type:"button",className:"button button--secondary button--on-dark",onClick:function(){return L("instant")}},r.createElement("span",{className:"button__text"},"Instant valuation")),r.createElement("p",{className:"hero__text"},l)),!O&&r.createElement("div",{className:"hero__choice-section"},r.createElement("button",{type:"button",className:"button button--on-dark",onClick:function(){return L("expert")}},r.createElement("span",{className:"button__text"},"Expert valuation")),r.createElement("p",{className:"hero__text"},h)))))};m.propTypes={title:a().string,subtitle:a().string,image:a().string,instantText:a().string,instantLink:a().string,expertText:a().string,expertLink:a().string,only:a().string}
1,m.defaultProps={title:"What's your property worth?",subtitle:"Get a free valuation and find out how much your property could sell or let for.",image:"http://mr2.homeflow-assets.co.uk/files/site_asset/image/4498/7480/_x_/propertyvaluation.jpg",instantText:"Our online valuation service is a quick way to get an idea of your property value or monthly lettings income.",instantLink:null,expertText:"For the most accurate valuation, it is still best for one of our experts to visit your home and provide a COVID secure valuation.",expertLink:null,only:null};var h=m}}]);

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.