PageSourceSearch

https://whitehornes.co.uk/_next/static/chunks/app/(main)/(non-land…/%5B...uri%5D/page-f1f25ae1b79e23be.js

js whitehornes.co.uk collected 2026-10-01 02:45:59 UTC 15,085 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5120],{9135:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}(r,{callServer:function(){return n.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}});let n=t(78948),i=t(1304),s=t(57302)},29676:(e,r,t)=>{"use strict";t.d(r,{OP:()=>i,_l:()=>s});var n=t(63276),i=function(e){return e.Down="down",e.Left="left",e.Right="right",e.Still="still",e.Up="up",e}({});function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{axis:r="y",scrollDown:t="y"===r?"down":"right",scrollUp:i="y"===r?"up":"left",still:s="still",thr:o=0}=e,[l,a]=(0,n.useState)(s),[d,c]=(0,n.useState)({bottom:0,left:0,right:0,top:0}),h=Math.max(0,o),u=(0,n.useRef)(!1),m=(0,n.useRef)(0),b=(0,n.useCallback)(()=>{let e="y"===r?window.scrollY:window.scrollX;Math.abs(e-m.current)>=h&&(a(e>m.current?t:i),m.current=Math.max(0,e)),u.current=!1},[r,h,t,i]);return(0,n.useEffect)(()=>{let e=()=>{let e=window.scrollY,r=window.scrollX,t=document.documentElement.scrollHeight-window.innerHeight-e,n=document.documentElement.scrollWidth-window.innerWidth-r;c({bottom:t,left:r,right:n,top:e})};return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,n.useEffect)(()=>{m.current="y"===r?window.scrollY:window.scrollX;let e=()=>{u.current||(window.requestAnimationFrame(b),u.current=!0)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[b,r]),{scrollDirection:l,scrollPosition:d}}},70735:(e,r,t)=>{"use strict";t.d(r,{PasswordGate:()=>u});var n=t(85664),i=t(89309),s=t(78517),o=t(63276),l=t(9135);let a=(0,l.createServerReference)("7feb745d979227c6ea0db77429d6d5538553704782",l.callServer,void 0,l.findSourceMapURL,"verifyPagePassword");var d=t(96777),c=t(16172),h=t(81072);function u(e){let{pageId:r,theme:t}=e,[l,u]=(0,o.useState)(""),m=(0,i.useRouter)(),{execute:b,status:v}=(0,s.y)(a,{onError:()=>{u("Something went wrong. Please try again.")},onSuccess:e=>{let{data:r}=e;(null==r?void 0:r.success)?(u(""),m.refresh()):u("Incorrect password. Please try again.")}}),p="executing"===v;return(0,n.jsx)("div",{className:"flex items-center justify-center pt-300 pb-150",children:(0,n.jsxs)("div",{className:"w-full max-w-lg space-y-8 border border-bordergray bg-white p-40 shadow-input",children:[(0,n.jsxs)("div",{className:"space-y-8 text-center",children:[(0,n.jsx)("h1",{className:"font-semibold text-2xl",children:"This page is protected"}),(0,n.jsx)("p",{className:"text-textgray",children:"Enter the password to view this page."})]}),!!l&&(0,n.jsx)("p",{className:"text-center text-warning",children:l}),(0,n.jsxs)("form",{className:"mt-8 space-y-20",onSubmit:e=>{var t;e.preventDefault();let n=String(null!=(t=new FormData(e.currentTarget).get("password"))?t:"");if(!n)return void u("Please enter the password.");b({pageId:r,password:n})},children:[(0,n.jsx)("div",{children:(0,n.jsx)("input",{autoComplete:"current-password",className:(0,h.r)({theme:t}),id:"password",name:"password",placeholder:"Password",required:!0,type:"password"})}),(0,n.jsx)("button",{className:(0,d.cn)((0,c.r)({size:"md",theme:t,variant:"primary"}),"!rounded-none w-full"),disabled:p,type:"submit",children:(0,n.jsx)("span",{className:"relative",children:p?"Checking…":"Unlock"})})]})]})})}},78517:(e,r,t)=>{"use strict";function n(e){return"object"==typeof e&&null!==e&&"digest"in e&&"BAILOUT_TO_CLIENT_SIDE_RENDERING"===e.digest}t.d(r,{y:()=>m});let i=new Set(Object.values({NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401}));function s(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[r,t]=e.digest.split(";");return"NEXT_HTTP_ERROR_FALLBACK"===r&&i.has(Number(t))}function o(e){return Number(e.digest.split(";")[1])}var l=function(e){return e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e}(l||{});function a(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let r=e.digest.split(";"),[t,n]=r,i=r.slice(2,-2).join(";"),s=Number(r.at(-2));
1return"NEXT_REDIRECT"===t&&("replace"===n||"push"===n)&&"string"==typeof i&&!isNaN(s)&&s in l}let d=Symbol.for("react.postpone");var c=class e{#e;static isNavigationError(e){var r;return a(e)||s(e)||n(e)||"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&"DYNAMIC_SERVER_USAGE"===e.digest||n(e)||a(r=e)||s(r)||function(e){if("object"==typeof e&&null!==e&&"string"==typeof e.message){var r;return(r=e.message).includes("needs to bail out of prerendering at this point because it used")&&r.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}return!1}(e)||"object"==typeof e&&null!==e&&e.$$typeof===d}static getNavigationKind(e){return a(e)?"redirect":s(e)&&404===o(e)?"notFound":s(e)&&403===o(e)?"forbidden":s(e)&&401===o(e)?"unauthorized":"other"}handleError(r){if(e.isNavigationError(r)){this.#e=r;return}throw r}get error(){return this.#e}},h=t(63276);function u(e){let r=h.useRef(e);return h.useEffect(()=>{r.current=e}),h.useMemo(()=>e=>r.current?.(e),[])}let m=(e,r)=>{let[t,n]=h.useTransition(),[i,s]=h.useState({}),[o,l]=h.useState(),[a,d]=h.useState(!1),[m,b]=h.useState(null),[v,p]=h.useState(null),[g,f]=h.useState(!0),P=(({isIdle:e,isExecuting:r,isTransitioning:t,result:n,hasNavigated:i,hasThrownError:s})=>{if(e)return"idle";if(r)return"executing";if(t)return"transitioning";if(s||void 0!==n.validationErrors||void 0!==n.serverError)return"hasErrored";if(i)return"hasNavigated";else return"hasSucceeded"})({isExecuting:a,isTransitioning:t,result:i,isIdle:g,hasNavigated:null!==m,hasThrownError:null!==v}),x=h.useCallback(r=>{setTimeout(()=>{f(!1),b(null),p(null),l(r),d(!0)},0),n(()=>{e(r).then(e=>s(null!=e?e:{})).catch(e=>{if(s({}),c.isNavigationError(e))return void b(e);throw p(e),e}).finally(()=>{d(!1)})})},[e]),w=h.useCallback(r=>new Promise((t,i)=>{setTimeout(()=>{f(!1),b(null),p(null),l(r),d(!0)},0),n(()=>{e(r).then(e=>{s(null!=e?e:{}),t(e)}).catch(e=>{if(s({}),c.isNavigationError(e))return void b(e);p(e),i(e)}).finally(()=>{d(!1)})})}),[e]),y=h.useCallback(()=>{f(!0),b(null),p(null),l(void 0),s({})},[]);return(({result:e,input:r,status:t,cb:n,navigationError:i,thrownError:s})=>{let o=u(n?.onExecute),l=u(n?.onSuccess),a=u(n?.onError),d=u(n?.onSettled),m=u(n?.onNavigation);h.useLayoutEffect(()=>{(async()=>{switch(t){case"executing":await Promise.resolve(o?.({input:r})).then(()=>{});break;case"transitioning":break;case"hasSucceeded":if(i||s)break;await Promise.all([Promise.resolve(l?.({data:e.data,input:r})),Promise.resolve(d?.({result:e,input:r}))]);break;case"hasErrored":await Promise.all([Promise.resolve(a?.({error:{...e,...s?{thrownError:s}:{}},input:r})),Promise.resolve(d?.({result:e,input:r}))])}if(i){if("redirect"===c.getNavigationKind(i)||"hasNavigated"===t){let t=c.getNavigationKind(i);await Promise.all([Promise.resolve(m?.({input:r,navigationKind:t})),Promise.resolve(d?.({result:e,input:r,navigationKind:t}))])}throw i}})().catch(console.error)},[r,t,e,i,s,o,l,d,a,m])})({result:null!=i?i:{},input:o,status:P,navigationError:m,thrownError:v,cb:r}),{execute:x,executeAsync:w,input:o,result:i,reset:y,status:P,...(e=>({isIdle:"idle"===e,isExecuting:"executing"===e,isTransitioning:"transitioning"===e,isPending:"executing"===e||"transitioning"===e,hasSucceeded:"hasSucceeded"===e,hasErrored:"hasErrored"===e,hasNavigated:"hasNavigated"===e}))(P)}}},81002:(e,r,t)=>{"use strict";t.d(r,{Policy:()=>u});var n=t(85664),i=t(34989),s=t(48306),o=t(29676),l=t(55036);let a=/\/+$/;function d(e){return e.replace(a,"")}d(l.env.DASHBOARD_API_URL||"https://dashboard-api.estatetrack.co.uk"),d(l.env.FORMS_FUNCTION_URL||"https://fn-estatetrack-services-p-ukw.azurewebsites.net"),t(16356),t(19417),t(40485);let c={cookie:"Cookie Policy",privacy:"Privacy Policy",terms:"Terms & Conditions"};var h=t(96777);function u(e){let{policyContent:r,policyType:t,theme:l}=e,a=c[t],{scrollDirection:d,scrollPosition:{top:u}}=(0,o._l)();return(0,n.jsx)("div",{className:"relative bg-white pt-header-height-mob md:pt-header-height",children:(0,n.jsxs)("div",{className:(0,i.c)({size:"sm",theme:l}),children:[(0,n.jsx)("h1",{className:(0,h.cn)("pt-50 text-center text-primary lg:pt-80",(0,s.D)({heading:"chalet"===l||"duplex"===l||"fascia"===l?"h1sm":"h1",theme:l}),"duplex"===l&&'before:-translate-x-1/2 pt-26 before:absolute before:top-0 before:left-1/2 before:h-8 before:w-54 before:bg-secondary before:content-[""]'),dangerouslySetInnerHTML:{__html:a}}),(0,n.jsx)("div",{className:(0,h.cn)("mx-auto py-50 lg:pb-80","chalet"===l?"max-w-[940px]":"max-w-[790px]"),children:(0,n.jsx)("div",{className:(0,h.cn)("policy-content prose [&_ol>li>h2]:!my-0 [&_ol>li>h2]:-ml-45 lg:[&_ol>li>h2]:!sticky max-w-full prose-ol:list-none prose-a:text-primary prose-headings:text-primary lg:prose-li:text-17 lg:prose-p:text-17 [&_ol>li>h2]:z-1 [&_ol>li>h2]:border-bordergray [&_ol>li>h2]:border-b [&_ol>li>h2]:bg-white/80 [&_ol>li>h2]:pt-34 [&_ol>li>h2]:pb-20 [&_ol>li>h2]:pl-45 [&_ol>li>h2]:backdrop-blur-[14px] [&_ol>li>h2]:transition-[top]","chalet"===l&&"lg:prose-td:!text-18 prose-li:leading-[1.77] prose-p:leading-[1.77]","duplex"===l?"prose-duplex":"beam-content",u>100&&d===o.OP.Down?"lg:[&_ol>li>h2]:top-[calc(var(--header-height-desktop)-48px)]":"lg:[&_ol>li>h2]:top-[var(--header-height-desktop)]"),dangerouslySetInnerHTML:{__html:r}}
1)})]})})}},81072:(e,r,t)=>{"use strict";t.d(r,{p:()=>l,r:()=>o});var n=t(85664),i=t(88253),s=t(96777);let o=(0,i.F)(["relative block w-full tracking-[0.4px] shadow-none outline-none transition-all duration-300 focus:z-20 focus:outline-none","form-input border-2 bg-absolute-white text-left text-black placeholder:text-placeholder"],{compoundVariants:[{class:"border-bordergray ring-0 ring-green-1/20 hover:border-green-1 hover:ring-2 focus:border-green-2 focus:ring-4 focus:ring-green-1/20",hasError:!1,theme:["beam","apex","chalet","duplex","fascia","gable"]},{class:"border-warning/40 ring-2 ring-warning/20 focus:border-warning/60 focus:ring-4 focus:ring-warning/20",hasError:!0,theme:["beam","apex","chalet","duplex","fascia","gable"]}],variants:{hasError:{false:"",true:""},theme:{apex:"px-14 py-10 text-18 leading-[28px]",beam:"rounded-8 px-14 py-10 text-16 leading-[24px]",chalet:"px-14 py-10 text-18 leading-[28px]",duplex:"rounded-10 pt-29 pr-12 pb-7 pl-14 text-15",estate:"",fascia:"px-14 py-10 text-18 leading-[34px]",gable:"px-14 py-10 text-18 leading-[28px]"}}}),l=e=>{let{className:r,error:t,label:i,placeholder:l,theme:a="beam",type:d="text",ref:c,...h}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("relative transition-all",t?"mb-38":"mb-2"),children:[(0,n.jsx)("div",{className:(0,s.cn)("group absolute flex items-center justify-between border-warning/10 border-x border-b bg-warning/5 px-10 py-5 text-11 text-warning shadow-sm transition-all duration-300",t&&"visible top-full opacity-100",!t&&"invisible top-0 opacity-0","beam"===a?"left-10 rounded-b-6":"inset-x-0",r),children:null!=t?t:""}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{className:o({hasError:!!t,theme:a}),placeholder:null!=l?l:i,ref:c,type:d,...h}),"duplex"===a&&(0,n.jsx)("span",{className:"pointer-events-none absolute inset-x-16 top-0 z-20 pt-10 font-semibold text-12 text-black tracking-[0.3px]",dangerouslySetInnerHTML:{__html:i}})]})]})};l.displayName="Input"},94806:(e,r,t)=>{Promise.resolve().then(t.t.bind(t,76392,23)),Promise.resolve().then(t.t.bind(t,82257,23)),Promise.resolve().then(t.bind(t,22260)),Promise.resolve().then(t.bind(t,32060)),Promise.resolve().then(t.bind(t,17009)),Promise.resolve().then(t.bind(t,64712)),Promise.resolve().then(t.bind(t,15675)),Promise.resolve().then(t.bind(t,32444)),Promise.resolve().then(t.bind(t,76108)),Promise.resolve().then(t.bind(t,43361)),Promise.resolve().then(t.bind(t,42832)),Promise.resolve().then(t.bind(t,63339)),Promise.resolve().then(t.bind(t,53305)),Promise.resolve().then(t.bind(t,17664)),Promise.resolve().then(t.bind(t,6880)),Promise.resolve().then(t.bind(t,33163)),Promise.resolve().then(t.bind(t,27266)),Promise.resolve().then(t.bind(t,75470)),Promise.resolve().then(t.bind(t,17072)),Promise.resolve().then(t.bind(t,28068)),Promise.resolve().then(t.bind(t,41269)),Promise.resolve().then(t.bind(t,92476)),Promise.resolve().then(t.bind(t,5301)),Promise.resolve().then(t.bind(t,60750)),Promise.resolve().then(t.bind(t,10073)),Promise.resolve().then(t.bind(t,49944)),Promise.resolve().then(t.bind(t,77768)),Promise.resolve().then(t.bind(t,11176)),Promise.resolve().then(t.bind(t,67327)),Promise.resolve().then(t.bind(t,82192)),Promise.resolve().then(t.bind(t,64855)),Promise.resolve().then(t.bind(t,91366)),Promise.resolve().then(t.bind(t,40656)),Promise.resolve().then(t.bind(t,80274)),Promise.resolve().then(t.bind(t,23346)),Promise.resolve().then(t.bind(t,69289)),Promise.resolve().then(t.bind(t,30064)),Promise.resolve().then(t.bind(t,3968)),Promise.resolve().then(t.bind(t,36422)),Promise.resolve().then(t.bind(t,85040)),Promise.resolve().then(t.bind(t,78430)),Promise.resolve().then(t.bind(t,75144)),Promise.resolve().then(t.bind(t,45046)),Promise.resolve().then(t.bind(t,32042)),Promise.resolve().then(t.bind(t,24154)),Promise.resolve().then(t.bind(t,704)),Promise.resolve().then(t.bind(t,35498)),Promise.resolve().then(t.bind(t,52518)),Promise.resolve().then(t.bind(t,92462)),Promise.resolve().then(t.bind(t,84406)),Promise.resolve().then(t.bind(t,33894)),Promise.resolve().then(t.bind(t,7149)),Promise.resolve().then(t.bind(t,56363)),Promise.resolve().then(t.bind(t,64102)),Promise.resolve().then(t.bind(t,45080)),Promise.resolve().then(t.bind(t,15393)),Promise.resolve().then(t.bind(t,33834)),Promise.resolve().then(t.bind(t,14887)),Promise.resolve().then(t.bind(t,72387)),Promise.resolve().then(t.bind(t,30785)),Promise.resolve().then(t.bind(t,31062)),Promise.resolve().then(t.bind(t,44501)),Promise.resolve().then(t.bind(t,39969)),Promise.resolve().then(t.bind(t,63490)),Promise.resolve().then(t.bind(t,50887)),Promise.resolve().then(t.bind(t,58604)),Promise.resolve().then(t.bind(t,23925)),Promise.resolve().then(t.bind(t,71801)),Promise.resolve().then(t.bind(t,84148)),Promise.resolve().then(t.bind(t,85095)),Promise.resolve().then(t.bind(t,88985)),Promise.resolve().then(t.bind(t,70735)),Promise.resolve().then(t.bind(t,73571)),Promise.resolve().then(t.bind(t,57479)),Promise.resolve().then(t.bind(t,69025)),Promise.resolve().then(t.bind(t,22712)),Promise.resolve().then(t.bind(t,7860)),Promise.resolve().then(t.bind(t,45533)),Promise.resolve().then(t.bind(t,75489)),Promise.resolve().then(t.bind(t,81002)),Promise.resolve().then(t.bind(t,4625)),Promise.resolve().then(t.bind(t,79602)),Promise.resolve().then(t.bind(t,68468))}},e=>{e.O(0,[889,5775,2257,6392,9856,5212,7334,5062,2004,1182,1864,6305,117,8575,8462,3589,8173,8668,8,773,5243,4613,2085,5434,6470,6842,1801,1368,3699,4546,7358],()=>e(e.s=94806)),_N_E=e.O()}]);

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.