1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5495],{1733:(e,t,r)=>{Promise.resolve().then(r.bind(r,5230))},5230:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var o=r(5155),n=r(2115),a=r(2619),i=r.n(a);let s={poor:.88,fair:.94,good:1,excellent:1.07,luxury:1.15},l={W1:{base_sqft:1750,name:"Mayfair, Marylebone & Soho",lat:51.513,lon:-.149},SW1:{base_sqft:1650,name:"Westminster, Belgravia & Knightsbridge",lat:51.498,lon:-.144},SW3:{base_sqft:1850,name:"Chelsea (Royal Borough)",lat:51.49,lon:-.168},SW7:{base_sqft:1700,name:"South Kensington",lat:51.495,lon:-.178},SW10:{base_sqft:1350,name:"West Chelsea & Earls Court",lat:51.484,lon:-.183},W8:{base_sqft:1700,name:"Kensington High St & Holland Park",lat:51.501,lon:-.194},W11:{base_sqft:1500,name:"Notting Hill & Ladbroke Grove",lat:51.512,lon:-.205},W2:{base_sqft:1250,name:"Bayswater, Paddington & Hyde Park",lat:51.515,lon:-.185},NW8:{base_sqft:1350,name:"St John's Wood & Regent's Park",lat:51.534,lon:-.175},NW3:{base_sqft:1200,name:"Hampstead & Belsize Park",lat:51.555,lon:-.177},NW1:{base_sqft:1050,name:"Camden Town & Regent's Park",lat:51.537,lon:-.142},WC1:{base_sqft:1100,name:"Bloomsbury & Holborn",lat:51.522,lon:-.123},WC2:{base_sqft:1450,name:"Covent Garden & Strand",lat:51.512,lon:-.122},EC1:{base_sqft:1050,name:"Clerkenwell & Farringdon",lat:51.524,lon:-.1},EC2:{base_sqft:1150,name:"Bishopsgate & City of London",lat:51.519,lon:-.086},EC3:{base_sqft:1100,name:"Fenchurch & Monument",lat:51.512,lon:-.081},EC4:{base_sqft:1100,name:"St Paul's & Blackfriars",lat:51.513,lon:-.1},SW11:{base_sqft:900,name:"Battersea & Clapham Junction",lat:51.463,lon:-.165},SW4:{base_sqft:880,name:"Clapham Old Town & Common",lat:51.462,lon:-.138},SW12:{base_sqft:820,name:"Balham",lat:51.444,lon:-.151},SW15:{base_sqft:820,name:"Putney & Roehampton",lat:51.46,lon:-.219},SW18:{base_sqft:780,name:"Wandsworth & Southfields",lat:51.456,lon:-.191},SW19:{base_sqft:850,name:"Wimbledon & Merton",lat:51.422,lon:-.206},SW6:{base_sqft:1050,name:"Fulham & Parsons Green",lat:51.475,lon:-.199},W4:{base_sqft:920,name:"Chiswick & Bedford Park",lat:51.492,lon:-.264},W6:{base_sqft:880,name:"Hammersmith & Ravenscourt Park",lat:51.493,lon:-.225},W14:{base_sqft:1050,name:"West Kensington & Olympia",lat:51.495,lon:-.209},W5:{base_sqft:680,name:"Ealing Broadway",lat:51.513,lon:-.304},N1:{base_sqft:950,name:"Islington & Angel",lat:51.538,lon:-.099},N6:{base_sqft:1050,name:"Highgate",lat:51.571,lon:-.147},N8:{base_sqft:780,name:"Crouch End & Hornsey",lat:51.581,lon:-.123},E1:{base_sqft:850,name:"Shoreditch & Spitalfields",lat:51.518,lon:-.065},E2:{base_sqft:780,name:"Bethnal Green",lat:51.53,lon:-.06},E14:{base_sqft:790,name:"Canary Wharf & Isle of Dogs",lat:51.503,lon:-.018},SE1:{base_sqft:950,name:"Bermondsey, London Bridge & Southwark",lat:51.501,lon:-.093},SE10:{base_sqft:750,name:"Greenwich Peninsula",lat:51.482,lon:-.007},TW:{base_sqft:620,name:"Richmond & Twickenham",lat:51.444,lon:-.337},KT:{base_sqft:620,name:"Kingston upon Thames & Surbiton",lat:51.412,lon:-.301},BR:{base_sqft:480,name:"Bromley & Chislehurst",lat:51.406,lon:.015},CR:{base_sqft:440,name:"Croydon & Purley",lat:51.376,lon:-.098},SM:{base_sqft:460,name:"Sutton & Cheam",lat:51.361,lon:-.194},HA:{base_sqft:520,name:"Harrow & Pinner",lat:51.58,lon:-.334},UB:{base_sqft:460,name:"Uxbridge & Hillingdon",lat:51.545,lon:-.479},EN:{base_sqft:490,name:"Enfield",lat:51.652,lon:-.081},RM:{base_sqft:420,name:"Romford, Dagenham & Havering",lat:51.576,lon:.183},RM8:{base_sqft:430,name:"Dagenham & Becontree (RM8)",lat:51.558,lon:.144},N7:{base_sqft:780,name:"Holloway & Lower Holloway (N7)",lat:51.554,lon:-.119},SW17:{base_sqft:720,name:"Tooting & South Thames (SW17)",lat:51.428,lon:-.168},E16:{base_sqft:580,name:"Canning Town & Custom House (E16)",lat:51.512,lon:.012},NW9:{base_sqft:520,name:"Colindale & Kingsbury (NW9)",lat:51.587,lon:-.252},E11:{base_sqft:540,name:"Leytonstone & Wanstead (E11)",lat:51.569,lon:.014},IG11:{base_sqft:410,name:"Barking (IG11)",lat:51.536,lon:.082},IG1:{base_sqft:440,name:"Ilford Town Centre & Cranbrook (IG1)",lat:51.559,lon:.074},IG2:{base_sqft:460,name:"Gants Hill & Newbury Park (IG2)",lat:51.576,lon:.076},IG3:{base_sqft:430,name:"Seven Kings & Goodmayes (IG3)",lat:51.564,lon:.103},IG4:{base_sqft:480,name:"Redbridge & Wanstead Borders (IG4)",lat:51.583,lon:.052},IG5:{base_sqft:470,name:"Clayhall (IG5)",lat:51.594,lon:.068},IG6:{base_sqft:485,name:"Barkingside, Fencepiece Road & Hainault (IG6)",lat:51.587,lon:.085},IG7:{base_sqft:530,name:"Chigwell (IG7)",lat:51.621,lon:.075},IG8:{base_sqft:520,name:"Woodford Green (IG8)",lat:51.609,lon:.024},IG9:{base_sqft:510,name:"Buckhurst Hill (IG9)",lat:51.627,lon:.043},IG10:{base_sqft:490,name:"Loughton (IG10)",lat:51.65,lon:.072},RM1:{base_sqft:430,name:"Romford Town Centre (RM1)",lat:51.576,lon:.183},RM2:{base_sqft:460,name:"Gidea Park (RM2)",lat:51.588,lon:.203},RM3:{base_sqft:410,name:"Harold Wood & Harold Hill (RM3)",lat:51.592,lon:.231},RM5:{base_sqft:420,name:"Collier Row (RM5)",lat:51.601,lon:.165},RM6:{base_sqft:430,name:"Chadwell Heath & Marks Gate (RM6)",lat:51.574,lon:.133},RM7:{base_sqft:420,name:"Rush Green & Romford West (RM7)",lat:51.564,lon:.171},RM9:{base_sqft:410,name:"Dagenham South (RM9)",lat:51.538,lon:.138},RM10:{base_sqft:410,name:"Dagenham East (RM10)",lat:51.545,lon:.158},RM11:{base_sqft:470,name:"Hornchurch & Emerson Park (RM11)",lat:51.561,lon:.218},RM12:{base_sqft:440,name:"Hornchurch & Elm Park (RM12)",lat:51.549,lon:.202},RM13:{base_sqft:410,name:"Rainham (RM13)",lat:51.52,lon:.191},RM14:{base_sqft:480,name:"Upminster & Cranham (RM14)",lat:51.556,lon:.252},EN1:{base_sqft:480,name:"Enfield Town (EN1)",lat:51.652,lon:-.081},EN2:{base_sqft:520,name:"Enfield Chase & Botany Bay (EN2)",lat:51.668,lon:-.103},EN3:{base_sqft:430,name:"Enfield Highway & Ponders End (EN3)",lat:51.656,lon:-.041},EN4:{base_sqft:540,name:"Barnet, Cockfosters & Hadley Wood (EN4)",lat:51.651,lon:-.165},EN5:{base_sqft:550,name:"High Barnet & Arkley (EN5)",lat:51.656,lon:-.202},HA0:{base_sqft:490,name:"Wembley Central & Alperton (HA0)",lat:51.548,lon:-.297},HA1:{base_sqft:540,name:"Harrow on the Hill & Town Centre (HA1)",lat:51.58,lon:-.334},HA2:{base_sqft:510,name:"South Harrow & Rayners Lane (HA2)",lat:51.564,lon:-.36},HA3:{base_sqft:500,name:"Harrow Weald & Kenton (HA3)",lat:51.595,lon:-.323},HA4:{base_sqft:520,name:"Ruislip & South Ruislip (HA4)",lat:51.574,lon:-.426},HA5:{base_sqft:560,name:"Pinner & Eastcote (HA5)",lat:51.593,lon:-.38},HA6:{base_sqft:580,name:"Northwood (HA6)",lat:51.611,lon:-.418},HA7:{base_sqft:540,name:"Stanmore (HA7)",lat:51.618,lon:-.317},HA8:{base_sqft:500,name:"Edgware (HA8)",lat:51.613,lon:-.274},HA9:{base_sqft:530,name:"Wembley Park (HA9)",lat:51.558,lon:-.282},UB1:{base_sqft:450,name:"Southall (UB1)",lat:51.512,lon:-.378},UB2:{base_sqft:440,name:"Southall Green & Norwood Green (UB2)",lat:51.498,lon:-.373},UB3:{base_sqft:430,name:"Hayes Town (UB3)",lat:51.512,lon:-.421},UB4:{base_sqft:440,name:"Yeading & Hayes End (UB4)",lat:51.533,lon:-.413},UB5:{base_sqft:460,name:"Northolt (UB5)",lat:51.547,lon:-.369},UB6:{base_sqft:480,name:"Greenford & Perivale (UB6)",lat:51.533,lon:-.334},UB7:{base_sqft:430,name:"West Drayton & Harmondsworth (UB7)",lat:51.505,lon:-.472},UB8:{base_sqft:470,name:"Uxbridge (UB8)",lat:51.545,lon:-.479},UB9:{base_sqft:490,name:"Harefield & Denham (UB9)",lat:51.599,lon:-.485},UB10:{base_sqft:490,name:"Hillingdon & Ickenham (UB10)",lat:51.552,lon:-.443},TW1:{base_sqft:680,name:"Twickenham & St Margarets (TW1)",lat:51.444,lon:-.337},TW2:{base_sqft:610,name:"Whitton & West Twickenham (TW2)",lat:51.448,lon:-.367},TW3:{base_sqft:520,name:"Hounslow Central (TW3)",lat:51.468,lon:-.36},TW4:{base_sqft:490,name:"Hounslow West (TW4)",lat:51.465,lon:-.388},TW5:{base_sqft:500,name:"Heston & Cranford (TW5)",lat:51.487,lon:-.382},TW7:{base_sqft:620,name:"Isleworth & Osterley (TW7)",lat:51.479,lon:-.336},TW8:{base_sqft:650,name:"Brentford (TW8)",lat:51.488,lon:-.309},TW9:{base_sqft:790,name:"Richmond & Kew (TW9)",lat:51.461,lon:-.303},TW10:{base_sqft:850,name:"Richmond Hill & Petersham (TW10)",lat:51.443,lon:-.297},TW11:{base_sqft:710,name:"Teddington (TW11)",lat:51.425,lon:-.334},TW12:{base_sqft:650,name:"Hampton (TW12)",lat:51.416,lon:-.37},TW13:{base_sqft:480,name:"Feltham & Hanworth (TW13)",lat:51.447,lon:-.407},TW14:{base_sqft:470,name:"Bedfont & Hatton (TW14)",lat:51.453,lon:-.435},KT1:{base_sqft:660,name:"Kingston upon Thames (KT1)",lat:51.412,lon:-.301},KT2:{base_sqft:740,name:"North Kingston & Coombe (KT2)",lat:51.428,lon:-.285},KT3:{base_sqft:620,name:"New Malden (KT3)",lat:51.401,lon:-.257},KT4:{base_sqft:580,name:"Worcester Park (KT4)",lat:51.378,lon:-.243}
1,KT5:{base_sqft:640,name:"Berrylands & Surbiton North (KT5)",lat:51.391,lon:-.289},KT6:{base_sqft:670,name:"Surbiton & Long Ditton (KT6)",lat:51.394,lon:-.307},KT9:{base_sqft:550,name:"Chessington (KT9)",lat:51.361,lon:-.308},CR0:{base_sqft:450,name:"Croydon Central & Addiscombe (CR0)",lat:51.376,lon:-.098},CR2:{base_sqft:490,name:"South Croydon & Selsdon (CR2)",lat:51.353,lon:-.084},CR4:{base_sqft:520,name:"Mitcham (CR4)",lat:51.404,lon:-.168},CR7:{base_sqft:460,name:"Thornton Heath (CR7)",lat:51.398,lon:-.113},CR8:{base_sqft:530,name:"Purley & Kenley (CR8)",lat:51.339,lon:-.116},SM1:{base_sqft:490,name:"Sutton Town Centre (SM1)",lat:51.361,lon:-.194},SM2:{base_sqft:520,name:"South Sutton & Belmont (SM2)",lat:51.351,lon:-.191},SM3:{base_sqft:540,name:"Cheam (SM3)",lat:51.358,lon:-.218},SM4:{base_sqft:550,name:"Morden (SM4)",lat:51.399,lon:-.198},SM5:{base_sqft:510,name:"Carshalton (SM5)",lat:51.365,lon:-.165},SM6:{base_sqft:510,name:"Wallington (SM6)",lat:51.361,lon:-.141},BR1:{base_sqft:530,name:"Bromley & Bickley (BR1)",lat:51.406,lon:.015},BR2:{base_sqft:540,name:"Bromley Common & Keston (BR2)",lat:51.385,lon:.027},BR3:{base_sqft:620,name:"Beckenham (BR3)",lat:51.408,lon:-.033},BR4:{base_sqft:550,name:"West Wickham (BR4)",lat:51.378,lon:-.012},BR5:{base_sqft:450,name:"St Mary Cray & Petts Wood (BR5)",lat:51.393,lon:.103},BR6:{base_sqft:530,name:"Orpington & Farnborough (BR6)",lat:51.371,lon:.093},BR7:{base_sqft:610,name:"Chislehurst (BR7)",lat:51.417,lon:.071},DA1:{base_sqft:430,name:"Crayford & Dartford (DA1)",lat:51.446,lon:.219},DA5:{base_sqft:490,name:"Bexley Village (DA5)",lat:51.441,lon:.148},DA6:{base_sqft:470,name:"Bexleyheath (DA6)",lat:51.458,lon:.138},DA7:{base_sqft:470,name:"Bexleyheath North & Barnehurst (DA7)",lat:51.468,lon:.148},DA8:{base_sqft:420,name:"Erith (DA8)",lat:51.481,lon:.177},DA14:{base_sqft:490,name:"Sidcup & Foots Cray (DA14)",lat:51.424,lon:.103},DA15:{base_sqft:480,name:"Blackfen & Sidcup North (DA15)",lat:51.446,lon:.098},DA16:{base_sqft:470,name:"Welling (DA16)",lat:51.461,lon:.108},DA17:{base_sqft:410,name:"Belvedere (DA17)",lat:51.491,lon:.153},DA18:{base_sqft:400,name:"Erith Marshes (DA18)",lat:51.501,lon:.138},E3:{base_sqft:680,name:"Bow & Mile End (E3)",lat:51.528,lon:-.03},E4:{base_sqft:510,name:"Chingford & Highams Park (E4)",lat:51.633,lon:.007},E5:{base_sqft:690,name:"Clapton (E5)",lat:51.556,lon:-.054},E6:{base_sqft:460,name:"East Ham & Beckton (E6)",lat:51.532,lon:.052},E7:{base_sqft:520,name:"Forest Gate (E7)",lat:51.549,lon:.026},E8:{base_sqft:810,name:"Hackney Central & Dalston (E8)",lat:51.546,lon:-.063},E9:{base_sqft:750,name:"Homerton & Hackney Wick (E9)",lat:51.544,lon:-.041},E10:{base_sqft:560,name:"Leyton (E10)",lat:51.573,lon:-.016},E12:{base_sqft:480,name:"Manor Park (E12)",lat:51.554,lon:.052},E13:{base_sqft:470,name:"Plaistow (E13)",lat:51.527,lon:.024},E15:{base_sqft:640,name:"Stratford (E15)",lat:51.542,lon:-.002},E17:{base_sqft:610,name:"Walthamstow (E17)",lat:51.587,lon:-.021},E18:{base_sqft:590,name:"South Woodford (E18)",lat:51.593,lon:.027},E20:{base_sqft:720,name:"Olympic Park & East Village (E20)",lat:51.548,lon:-.012},N2:{base_sqft:820,name:"East Finchley (N2)",lat:51.587,lon:-.165},N3:{base_sqft:710,name:"Finchley Central (N3)",lat:51.601,lon:-.189},N4:{base_sqft:760,name:"Finsbury Park & Stroud Green (N4)",lat:51.571,lon:-.106},N5:{base_sqft:920,name:"Highbury (N5)",lat:51.552,lon:-.098},N9:{base_sqft:450,name:"Lower Edmonton (N9)",lat:51.625,lon:-.061},N10:{base_sqft:840,name:"Muswell Hill (N10)",lat:51.591,lon:-.143},N11:{base_sqft:620,name:"New Southgate & Friern Barnet (N11)",lat:51.614,lon:-.141},N12:{base_sqft:660,name:"North Finchley (N12)",lat:51.616,lon:-.176},N13:{base_sqft:630,name:"Palmers Green (N13)",lat:51.618,lon:-.111},N14:{base_sqft:660,name:"Southgate (N14)",lat:51.632,lon:-.129},N15:{base_sqft:590,name:"South Tottenham & Seven Sisters (N15)",lat:51.581,lon:-.089},N16:{base_sqft:810,name:"Stoke Newington (N16)",lat:51.562,lon:-.076},N17:{base_sqft:520,name:"Tottenham (N17)",lat:51.601,lon:-.068},N18:{base_sqft:460,name:"Upper Edmonton (N18)",lat:51.614,lon:-.065},N19:{base_sqft:790,name:"Archway & Upper Holloway (N19)",lat:51.566,lon:-.134},N20:{base_sqft:740,name:"Whetstone & Totteridge (N20)",lat:51.627,lon:-.171},N21:{base_sqft:680,name:"Winchmore Hill (N21)",lat:51.634,lon:-.101}
1,N22:{base_sqft:650,name:"Wood Green (N22)",lat:51.599,lon:-.111},NW2:{base_sqft:680,name:"Cricklewood & Dollis Hill (NW2)",lat:51.558,lon:-.218},NW4:{base_sqft:670,name:"Hendon (NW4)",lat:51.587,lon:-.228},NW5:{base_sqft:910,name:"Kentish Town & Gospel Oak (NW5)",lat:51.55,lon:-.145},NW6:{base_sqft:980,name:"West Hampstead & Kilburn (NW6)",lat:51.542,lon:-.198},NW7:{base_sqft:690,name:"Mill Hill (NW7)",lat:51.614,lon:-.237},NW10:{base_sqft:620,name:"Willesden & Harlesden (NW10)",lat:51.543,lon:-.252},NW11:{base_sqft:940,name:"Golders Green & Hampstead Garden Suburb (NW11)",lat:51.576,lon:-.197},SE2:{base_sqft:430,name:"Abbey Wood & Thamesmead (SE2)",lat:51.492,lon:.121},SE3:{base_sqft:780,name:"Blackheath (SE3)",lat:51.47,lon:.016},SE4:{base_sqft:680,name:"Brockley (SE4)",lat:51.464,lon:-.035},SE5:{base_sqft:690,name:"Camberwell (SE5)",lat:51.473,lon:-.091},SE6:{base_sqft:520,name:"Catford (SE6)",lat:51.445,lon:-.021},SE7:{base_sqft:590,name:"Charlton (SE7)",lat:51.485,lon:.038},SE8:{base_sqft:680,name:"Deptford (SE8)",lat:51.481,lon:-.027},SE9:{base_sqft:540,name:"Eltham (SE9)",lat:51.451,lon:.052},SE11:{base_sqft:810,name:"Kennington & Oval (SE11)",lat:51.488,lon:-.111},SE12:{base_sqft:560,name:"Lee & Grove Park (SE12)",lat:51.447,lon:.012},SE13:{base_sqft:630,name:"Lewisham & Hither Green (SE13)",lat:51.458,lon:-.01},SE14:{base_sqft:650,name:"New Cross (SE14)",lat:51.474,lon:-.038},SE15:{base_sqft:710,name:"Peckham & Nunhead (SE15)",lat:51.472,lon:-.068},SE16:{base_sqft:770,name:"Rotherhithe, Surrey Quays & Bermondsey (SE16)",lat:51.495,lon:-.052},SE17:{base_sqft:720,name:"Elephant & Castle and Walworth (SE17)",lat:51.489,lon:-.097}
1,SE18:{base_sqft:490,name:"Woolwich & Plumstead (SE18)",lat:51.488,lon:.071},SE19:{base_sqft:580,name:"Crystal Palace & Upper Norwood (SE19)",lat:51.418,lon:-.084},SE20:{base_sqft:550,name:"Penge & Anerley (SE20)",lat:51.412,lon:-.057},SE21:{base_sqft:840,name:"Dulwich Village & West Dulwich (SE21)",lat:51.442,lon:-.086},SE22:{base_sqft:810,name:"East Dulwich & Peckham Rye (SE22)",lat:51.458,lon:-.073},SE23:{base_sqft:650,name:"Forest Hill & Honor Oak (SE23)",lat:51.44,lon:-.052},SE24:{base_sqft:830,name:"Herne Hill (SE24)",lat:51.455,lon:-.103},SE25:{base_sqft:490,name:"South Norwood (SE25)",lat:51.398,lon:-.075},SE26:{base_sqft:590,name:"Sydenham (SE26)",lat:51.425,lon:-.056},SE27:{base_sqft:630,name:"West Norwood (SE27)",lat:51.432,lon:-.107},SE28:{base_sqft:410,name:"Thamesmead (SE28)",lat:51.503,lon:.118},SW2:{base_sqft:740,name:"Brixton Hill & Streatham Hill (SW2)",lat:51.45,lon:-.123},SW5:{base_sqft:1250,name:"Earl's Court (SW5)",lat:51.491,lon:-.194},SW8:{base_sqft:860,name:"Nine Elms & Vauxhall (SW8)",lat:51.479,lon:-.129},SW9:{base_sqft:760,name:"Brixton & Stockwell (SW9)",lat:51.468,lon:-.117},SW13:{base_sqft:980,name:"Barnes (SW13)",lat:51.474,lon:-.244},SW14:{base_sqft:890,name:"Mortlake & East Sheen (SW14)",lat:51.464,lon:-.271},SW16:{base_sqft:610,name:"Streatham & Norbury (SW16)",lat:51.427,lon:-.129},SW20:{base_sqft:790,name:"Raynes Park & West Wimbledon (SW20)",lat:51.411,lon:-.237},W3:{base_sqft:680,name:"Acton (W3)",lat:51.507,lon:-.271},W7:{base_sqft:610,name:"Hanwell (W7)",lat:51.512,lon:-.341},W9:{base_sqft:990,name:"Maida Vale & Little Venice (W9)",lat:51.528,lon:-.191},W10:{base_sqft:940,name:"North Kensington & Ladbroke Grove (W10)",lat:51.524,lon:-.218},W12:{base_sqft:820,name:"Shepherd's Bush & White City (W12)",lat:51.505,lon:-.228},W13:{base_sqft:690,name:"West Ealing (W13)",lat:51.516,lon:-.323},M:{base_sqft:395,name:"Greater Manchester & Didsbury",lat:53.416,lon:-2.231},B:{base_sqft:345,name:"Birmingham & West Midlands",lat:52.486,lon:-1.89},LS:{base_sqft:290,name:"Leeds & West Yorkshire",lat:53.8,lon:-1.549},BS:{base_sqft:440,name:"Bristol & Clifton",lat:51.454,lon:-2.587},OX:{base_sqft:540,name:"Oxford & Headington",lat:51.752,lon:-1.257},CB:{base_sqft:530,name:"Cambridge & South Cambs",lat:52.205,lon:.121},BN:{base_sqft:490,name:"Brighton & Hove",lat:50.822,lon:-.137},RG:{base_sqft:440,name:"Reading & Berkshire Thames Valley",lat:51.454,lon:-.978},SO:{base_sqft:330,name:"Southampton & Hampshire",lat:50.909,lon:-1.404},SO23:{base_sqft:480,name:"Winchester & Cathedral Quarter (SO23)",lat:51.063,lon:-1.318},PO:{base_sqft:310,name:"Portsmouth & Southsea",lat:50.803,lon:-1.075},PO19:{base_sqft:410,name:"Chichester Cathedral City (PO19)",lat:50.836,lon:-.779},EH:{base_sqft:420,name:"Edinburgh & Lothians",lat:55.953,lon:-3.188},G:{base_sqft:285,name:"Glasgow & Strathclyde",lat:55.864,lon:-4.252},G1:{base_sqft:340,name:"Glasgow City Centre & Merchant City (G1)",lat:55.859,lon:-4.249},CF:{base_sqft:310,name:"Cardiff & South Wales",lat:51.481,lon:-3.179},NE:{base_sqft:240,name:"Newcastle upon Tyne",lat:54.978,lon:-1.617},L:{base_sqft:240,name:"Liverpool & Merseyside",lat:53.408,lon:-2.991},S:{base_sqft:230,name:"Sheffield & South Yorkshire",lat:53.381,lon:-1.47},NG:{base_sqft:260,name:"Nottingham & Nottinghamshire",lat:52.954,lon:-1.158},DE:{base_sqft:250,name:"Derby & Derbyshire",lat:52.922,lon:-1.474},LE:{base_sqft:260,name:"Leicester & Leicestershire",lat:52.636,lon:-1.139},CV:{base_sqft:270,name:"Coventry & Warwickshire",lat:52.406,lon:-1.519},YO:{base_sqft:320,name:"York & North Yorkshire",lat:53.959,lon:-1.087},BA:{base_sqft:420,name:"Bath & North East Somerset",lat:51.375,lon:-2.359},EX:{base_sqft:330,name:"Exeter & Devon",lat:50.718,lon:-3.533},PL:{base_sqft:240,name:"Plymouth & Cornwall Border",lat:50.375,lon:-4.142},TR:{base_sqft:310,name:"Truro, Falmouth & Cornwall",lat:50.263,lon:-5.051},NR:{base_sqft:280,name:"Norwich & Norfolk",lat:52.63,lon:1.297},AB:{base_sqft:250,name:"Aberdeen & Grampian",lat:57.149,lon:-2.094},SA:{base_sqft:220,name:"Swansea & West Wales",lat:51.621,lon:-3.943},BT:{base_sqft:230,name:"Belfast & Northern Ireland",lat:54.597,lon:-5.93},LA:{base_sqft:280,name:"Lancaster & Lake District (LA)",lat:54.047,lon:-2.801},CA:{base_sqft:220,name:"Carlisle & North Cumbria (CA)",lat:54.892,lon:-2.932},GL:{base_sqft:360,name:"Gloucester & Cheltenham (GL)",lat:51.864,lon:-2.238},MK:{base_sqft:350,name:"Milton Keynes & North Bucks (MK)",lat:52.04,lon:-.759},LU:{base_sqft:340,name:"Luton & South Bedfordshire (LU)",lat:51.878,lon:-.414}
1,AL:{base_sqft:510,name:"St Albans & Harpenden (AL)",lat:51.752,lon:-.339},SL:{base_sqft:520,name:"Slough, Windsor & Maidenhead (SL)",lat:51.51,lon:-.595},HP:{base_sqft:460,name:"Aylesbury & Chilterns (HP)",lat:51.753,lon:-.472},CM:{base_sqft:410,name:"Chelmsford & Mid Essex (CM)",lat:51.735,lon:.469},CO:{base_sqft:320,name:"Colchester & Tendring (CO)",lat:51.895,lon:.903},SS:{base_sqft:380,name:"Southend-on-Sea & Basildon (SS)",lat:51.545,lon:.707},CT:{base_sqft:340,name:"Canterbury & East Kent (CT)",lat:51.28,lon:1.078},ME:{base_sqft:360,name:"Medway & Maidstone (ME)",lat:51.379,lon:.526},TN:{base_sqft:430,name:"Tunbridge Wells & Sevenoaks (TN)",lat:51.132,lon:.263},RH:{base_sqft:450,name:"Redhill, Reigate & Crawley (RH)",lat:51.24,lon:-.17},GU:{base_sqft:490,name:"Guildford & Surrey Hills (GU)",lat:51.236,lon:-.57},BH:{base_sqft:390,name:"Bournemouth & Poole (BH)",lat:50.719,lon:-1.88},DT:{base_sqft:340,name:"Dorchester & Weymouth (DT)",lat:50.715,lon:-2.438},TA:{base_sqft:290,name:"Taunton & Somerset (TA)",lat:51.015,lon:-3.104},TQ:{base_sqft:290,name:"Torquay & South Devon (TQ)",lat:50.461,lon:-3.525},SN:{base_sqft:320,name:"Swindon & Wiltshire (SN)",lat:51.555,lon:-1.779},SP:{base_sqft:360,name:"Salisbury & South Wiltshire (SP)",lat:51.068,lon:-1.794},WR:{base_sqft:290,name:"Worcester & Malvern (WR)",lat:52.193,lon:-2.221},DY:{base_sqft:260,name:"Dudley & Stourbridge (DY)",lat:52.512,lon:-2.081},WS:{base_sqft:260,name:"Walsall & Lichfield (WS)",lat:52.586,lon:-1.982},WV:{base_sqft:250,name:"Wolverhampton (WV)",lat:52.586,lon:-2.128},ST:{base_sqft:220,name:"Stoke-on-Trent (ST)",lat:53.002,lon:-2.179},CW:{base_sqft:290,name:"Crewe & South Cheshire (CW)",lat:53.099,lon:-2.443},CH:{base_sqft:320,name:"Chester & Wirral (CH)",lat:53.193,lon:-2.893},SK:{base_sqft:360,name:"Stockport & Macclesfield (SK)",lat:53.41,lon:-2.157},WA:{base_sqft:310,name:"Warrington & Altrincham (WA)",lat:53.39,lon:-2.597},WN:{base_sqft:230,name:"Wigan & Leigh (WN)",lat:53.545,lon:-2.632},BL:{base_sqft:240,name:"Bolton & Bury (BL)",lat:53.578,lon:-2.429},OL:{base_sqft:230,name:"Oldham & Rochdale (OL)",lat:53.54,lon:-2.112},PR:{base_sqft:250,name:"Preston & Ribble (PR)",lat:53.763,lon:-2.703},FY:{base_sqft:210,name:"Blackpool & Fylde (FY)",lat:53.817,lon:-3.035},BB:{base_sqft:200,name:"Blackburn & Burnley (BB)",lat:53.748,lon:-2.482},HD:{base_sqft:230,name:"Huddersfield (HD)",lat:53.645,lon:-1.785},HX:{base_sqft:220,name:"Halifax (HX)",lat:53.725,lon:-1.863},WF:{base_sqft:240,name:"Wakefield & Pontefract (WF)",lat:53.683,lon:-1.499},BD:{base_sqft:210,name:"Bradford & Keighley (BD)",lat:53.795,lon:-1.759},HG:{base_sqft:410,name:"Harrogate & Ripon (HG)",lat:53.992,lon:-1.541},DL:{base_sqft:220,name:"Darlington (DL)",lat:54.527,lon:-1.556},DH:{base_sqft:230,name:"Durham City (DH)",lat:54.776,lon:-1.575},SR:{base_sqft:200,name:"Sunderland (SR)",lat:54.906,lon:-1.381},TS:{base_sqft:210,name:"Middlesbrough & Teesside (TS)",lat:54.576,lon:-1.235},HU:{base_sqft:200,name:"Hull & East Riding (HU)",lat:53.745,lon:-.336},DN:{base_sqft:220,name:"Doncaster (DN)",lat:53.522,lon:-1.128},LN:{base_sqft:240,name:"Lincoln & Lincolnshire (LN)",lat:53.23,lon:-.54},PE:{base_sqft:260,name:"Peterborough (PE)",lat:52.569,lon:-.24},IP:{base_sqft:290,name:"Ipswich & Suffolk (IP)",lat:52.056,lon:1.148},LL:{base_sqft:240,name:"Llandudno & North Wales (LL)",lat:53.324,lon:-3.827},NP:{base_sqft:250,name:"Newport & Gwent (NP)",lat:51.584,lon:-2.997},KY:{base_sqft:250,name:"Fife & St Andrews (KY)",lat:56.116,lon:-3.16},DD:{base_sqft:220,name:"Dundee & Angus (DD)",lat:56.462,lon:-2.97},IV:{base_sqft:250,name:"Inverness & Highlands (IV)",lat:57.477,lon:-4.224},E:{base_sqft:620,name:"East London (E)",lat:51.545,lon:-.015},EC:{base_sqft:1100,name:"City of London & Central East (EC)",lat:51.517,lon:-.093},N:{base_sqft:680,name:"North London (N)",lat:51.583,lon:-.115},NW:{base_sqft:750,name:"North West London (NW)",lat:51.548,lon:-.21},SE:{base_sqft:600,name:"South East London (SE)",lat:51.468,lon:-.061},SW:{base_sqft:820,name:"South West London (SW)",lat:51.455,lon:-.18},W:{base_sqft:850,name:"West London (W)",lat:51.513,lon:-.219},WC:{base_sqft:1250,name:"West Central London (WC)",lat:51.517,lon:-.122},DA:{base_sqft:420,name:"Dartford & Bexley (DA)",lat:51.446,lon:.219},WD:{base_sqft:510,name:"Watford & Rickmansworth (WD)",lat:51.656,lon:-.39},IG:{base_sqft:460,name:"Ilford & Redbridge (IG)",lat:51.559,lon:.074},SG:{base_sqft:410,name:"Stevenage & North Herts (SG)",lat:51.902,lon:-.202},NN:{base_sqft:280,name:"Northampton & Northants (NN)",lat:52.24,lon:-.902},HR:{base_sqft:290,name:"Hereford & Herefordshire (HR)",lat:52.056,lon:-2.716},TF:{base_sqft:240,name:"Telford & Shropshire (TF)",lat:52.678,lon:-2.449},SY:{base_sqft:270,name:"Shrewsbury & Shropshire (SY)",lat:52.707,lon:-2.755},LD:{base_sqft:210,name:"Llandrindod Wells & Powys (LD)",lat:52.241,lon:-3.378},FK:{base_sqft:240,name:"Falkirk & Stirling (FK)",lat:56.002,lon:-3.784},KA:{base_sqft:210,name:"Kilmarnock & Ayrshire (KA)",lat:55.611,lon:-4.496},KW:{base_sqft:190,name:"Kirkwall & Caithness (KW)",lat:58.981,lon:-2.96},ML:{base_sqft:210,name:"Motherwell & Lanarkshire (ML)",lat:55.789,lon:-3.993},PA:{base_sqft:220,name:"Paisley & Argyll (PA)",lat:55.845,lon:-4.424},PH:{base_sqft:250,name:"Perth & Highlands (PH)",lat:56.395,lon:-3.431},TD:{base_sqft:220,name:"Galashiels & Scottish Borders (TD)",lat:55.618,lon:-2.81},DG:{base_sqft:200,name:"Dumfries & Galloway (DG)",lat:55.07,lon:-3.605},HS:{base_sqft:190,name:"Western Isles / Outer Hebrides (HS)",lat:58.209,lon:-6.385},ZE:{base_sqft:195,name:"Shetland Islands (ZE)",lat:60.155,lon:-1.149},IM:{base_sqft:310,name:"Isle of Man (IM)",lat:54.152,lon:-4.481},JE:{base_sqft:620,name:"Jersey, Channel Islands (JE)",lat:49.214,lon:-2.131},GY:{base_sqft:580,name:"Guernsey, Channel Islands (GY)",lat:49.458,lon:-2.535}};function d(e){let t=e.replace(/\s+/g,"").toUpperCase(),r=t,o=t.match(/^([A-Z]{1,2}[0-9][A-Z0-9]?)([0-9][A-Z]{2})$/);if(o&&(r=o[1]),l[r])return l[r];let n=r.replace(/[A-Z]+$/,"");if(n&&l[n])return l[n];let a=r.match(/^[A-Z]+/);if(a&&l[a[0]])return l[a[0]];for(let e=Math.min(4,t.length);e>=1;e--){let r=t.substring(0,e);if(l[r])return l[r]}let i=t.match(/^[A-Z]+/);return i&&l[i[0]]?l[i[0]]:{base_sqft:320,name:"UK National Baseline"}}let c={mayfair:"W1K 2HP",westminster:"SW1A 1AA",belgravia:"SW1X 7PA",chelsea:"SW3 4AX",kensington:"W8 5SA",knightsbridge:"SW7 1DD","notting hill":"W11 2PB",bayswater:"W2 4RA",marylebone:"W1U 1AA",soho:"W1D 3QU",fitzrovia:"W1T 4NL",bloomsbury:"WC1E 7HX","covent garden":"WC2E 8HB",holborn:"WC1V 6JS",clerkenwell:"EC1R 0AT","city of london":"EC2N 2DB",farringdon:"EC1M 6BY",shoreditch:"E1 6JJ",spitalfields:"E1 6AA","canary wharf":"E14 5AB","isle of dogs":"E14 9UZ","canning town":"E16 1BW",stratford:"E20 1EJ",hackney:"E8
11DY","bethnal green":"E2 6HG",bow:"E3 2SE",camden:"NW1 8QL",islington:"N1 0PN",angel:"N1 9AL",highgate:"N6 4AA",hampstead:"NW3 1QG","st johns wood":"NW8 7PB","crouch end":"N8 8DU",hornsey:"N8 7QB",holloway:"N7 6PP",finchley:"N3 1TR",colindale:"NW9 5EP",greenwich:"SE10 9NN",bermondsey:"SE1 3XW",southwark:"SE1 0AA",dulwich:"SE21 7AE",lewisham:"SE13 7LH",battersea:"SW11 3RA",clapham:"SW4 7EY",balham:"SW12 9AZ",putney:"SW15 1SQ",wandsworth:"SW18 2PU",wimbledon:"SW19 7QD",tooting:"SW17 0SY",fulham:"SW6 3PA",chiswick:"W4 1TH",hammersmith:"W6 7BS",ealing:"W5 2PF",acton:"W3 9BG","shepherds bush":"W12 8LE",richmond:"TW9 1DN",twickenham:"TW1 3QS",kingston:"KT1 1EY",surbiton:"KT6 4JT",croydon:"CR0 1EA",purley:"CR8 2LN",bromley:"BR1 1RA",chislehurst:"BR7 5BN",sutton:"SM1 1EA",cheam:"SM3 8SB",harrow:"HA1 2XY",pinner:"HA5 5PW",uxbridge:"UB8 1LA",hillingdon:"UB10 0BG",enfield:"EN1 3ES",romford:"RM1 3BB",dagenham:"RM8 3RX",becontree:"RM8 3RX",barking:"IG11 8ER",ilford:"IG1 4DU","oakside court":"IG6 2PH","fencepiece road":"IG6 2PH",fencepiece:"IG6 2PH",barkingside:"IG6 2PH","fullwell cross":"IG6 2ET",fairlop:"IG6 3HQ",hainault:"IG6 3HX","gants hill":"IG2 6UD","newbury park":"IG2 7LG","seven kings":"IG3 8RA",goodmayes:"IG3 9UB",redbridge:"IG4 5AA",clayhall:"IG5 0AA",chigwell:"IG7 6AA","woodford green":"IG8 0AA",woodford:"IG8 0AA","south woodford":"E18 2QL",wanstead:"E11 2AA",snaresbrook:"E11 1AA",walthamstow:"E17 7DB",chingford:"E4 6AG","highams park":"E4 9PB",leyton:"E10 5NN",leytonstone:"E11 1HG","forest gate":"E7 0PQ","manor park":"E12 5AA","east ham":"E6 2JA","west ham":"E15 3BS",plaistow:"E13 0AA",beckton:"E6 5QQ",silvertown:"E16 2DY","royal docks":"E16 2QU",poplar:"E14 0AA",limehouse:"E14 7HP",stepney:"E1 3AA",whitechapel:"E1 1AA",wapping:"E1W 2AA","mile end":"E3 4AA",dalston:"E8 2PB",homerton:"E9 6AS","hackney wick":"E9 5LN",clapton:"E5 0AA","stoke newington":"N16 0UL","stamford hill":"N16 5RP",highbury:"N5 1AA","finsbury park":"N4 2DA","stroud green":"N4 3AA","seven sisters":"N15 5LA",tottenham:"N17 8AA","wood green":"N22 8HH","alexandra palace":"N22 7AY","muswell hill":"N10 3HS","palmers green":"N13 4AA",southgate:"N14 5AA","winchmore hill":"N21 3AA",edmonton:"N9 0AA","friern barnet":"N11 3EG",whetstone:"N20 9AA",totteridge:"N20 8AA","north finchley":"N12 9AA","east finchley":"N2 9AA","golders green":"NW11 7TL",hendon:"NW4 4AA","brent cross":"NW4 3FP","mill hill":"NW7 1AA",kingsbury:"NW9 9AA",cricklewood:"NW2 1AA",willesden:"NW10 2AA",harlesden:"NW10 8AA","kensal rise":"NW10 3AA","queens park":"NW6 6SG","west hampstead":"NW6 1AA",kilburn:"NW6 4AA","swiss cottage":"NW3 3NR","belsize park":"NW3 4AA","primrose hill":"NW1 8JR","kentish town":"NW5 2AA","gospel oak":"NW5 1AA",archway:"N19 5AA","tufnell park":"N19 5EP",peckham:"SE15 5DR",camberwell:"SE5 0TJ","east dulwich":"SE22 8HJ","west dulwich":"SE21 7BN","crystal palace":"SE19 2AA","forest hill":"SE23 1AA",sydenham:"SE26 5AA",catford:"SE6 4AA",blackheath:"SE3 9AA",woolwich:"SE18 6AA",plumstead:"SE18 1AA",eltham:"SE9 1AA",bexleyheath:"DA6 7AA",sidcup:"DA14 4AA",welling:"DA16 3AA",erith:"DA8 1AA",beckenham:"BR3 5AA",orpington:"BR6 0AA","west wickham":"BR4 0AA",brixton:"SW9 8AA",streatham:"SW16 1AA",norbury:"SW16 4AA",stockwell:"SW9 0AA",kennington:"SE11 4AA",oval:"SE11 5AA",vauxhall:"SW8 1AA","nine elms":"SW8 5AA",earlsfield:"SW18 4AA",southfields:"SW18 5AA","raynes park":"SW20 8AA",morden:"SM4 5AA",mitcham:"CR4 2AA",wallington:"SM6 0AA",carshalton:"SM5 2AA",coulsdon:"CR5 2AA",kenley:"CR8 5AA","south croydon":"CR2 6AA","thornton heath":"CR7 8AA",barnes:"SW13 9AA",mortlake:"SW14 8AA","east sheen":"SW14 7AA",kew:"TW9 3AA",teddington:"TW11 8AA",hampton:"TW12 2AA",feltham:"TW13 4AA",bedfont:"TW14 8AA",hanworth:"TW13 6AA",brentford:"TW8 8AA",isleworth:"TW7 4AA",osterley:"TW7 4PU",hounslow:"TW3 1AA","new malden":"KT3 4AA","worcester park":"KT4 7AA",chessington:"KT9 2AA",tolworth:"KT6 7AA",wembley:"HA9 0AA",alperton:"HA0 4AA","south harrow":"HA2 0AA","rayners lane":"HA5 5EH","harrow weald":"HA3 5AA",kenton:"HA3 0AA",stanmore:"HA7 4AA",edgware:"HA8 7AA",ruislip:"HA4 7AA",eastcote:"HA5 2AA",northwood:"HA6 1AA",southall:"UB1 1AA",hayes:"UB3 1AA",n
1ortholt:"UB5 4AA",greenford:"UB6 9AA",perivale:"UB6 7AA","west drayton":"UB7 7AA",harmondsworth:"UB7 0AA",harlington:"UB3 5AA","charing cross":"WC2N 5HF",piccadilly:"W1J 9LL","baker street":"NW1 6XE","oxford street":"W1D 1BS","regent street":"W1B 5AH","bond street":"W1S 2TF","kings road":"SW3 4ND","abbey road":"NW8 9AY",dartford:"DA1 1DJ",watford:"WD17 1ET",rickmansworth:"WD3 1EE",stevenage:"SG1 1SP",hitchin:"SG5 1DY","st albans":"AL1 3TF",harpenden:"AL5 2TR",slough:"SL1 1HP",windsor:"SL4 1PJ",maidenhead:"SL6 1PY",aylesbury:"HP20 1UG",chelmsford:"CM1 1HT",colchester:"CO1 1TJ",southend:"SS1 1EE",basildon:"SS14 1EB",canterbury:"CT1 2EH",maidstone:"ME14 1TF","tunbridge wells":"TN1 1XN",sevenoaks:"TN13 1AY",redhill:"RH1 1NN",reigate:"RH2 9AY",crawley:"RH10 1UZ",guildford:"GU1 3HZ",woking:"GU21 6HN",reading:"RG1 1JX",oxford:"OX1 3LW",cambridge:"CB2 1TJ","milton keynes":"MK9 1EA",luton:"LU1 2EY",bedford:"MK40 1SJ",northampton:"NN1 1ED",peterborough:"PE1 1AY",norwich:"NR1 3DD",ipswich:"IP1 1EE",brighton:"BN1 1EE",hove:"BN3 2LS",portsmouth:"PO1 2AB",southampton:"SO14 7DW",bournemouth:"BH1 1BA",poole:"BH15 1NF",dorchester:"DT1 1UQ",weymouth:"DT4 8DF",taunton:"TA1 1EA",torquay:"TQ1 1DB",exeter:"EX1 1HS",plymouth:"PL1 1HA",truro:"TR1 2HX",falmouth:"TR11 2PH",bristol:"BS1 4DJ",clifton:"BS8 3BW",bath:"BA1 1SU",swindon:"SN1 1DQ",salisbury:"SP1 2EY",gloucester:"GL1 1TP",cheltenham:"GL50 1HP",worcester:"WR1 1EE",hereford:"HR1 2NB",shrewsbury:"SY1 1ER",telford:"TF3 4NT",birmingham:"B1 1BB",moseley:"B13 8DD",edgbaston:"B15 3TR",solihull:"B91 3QJ",dudley:"DY1 1HP",walsall:"WS1 1QZ",wolverhampton:"WV1 1LY",stoke:"ST1 1LZ","stoke-on-trent":"ST1 1LZ",crewe:"CW1 2BS",chester:"CH1 1ER",wirral:"CH41 5BH",manchester:"M1 1AA",didsbury:"M20 2RN",salford:"M5 4WT",altrincham:"WA14 1EP",stockport:"SK1 1XE",warrington:"WA1 1BN",wigan:"WN1 1YN",bolton:"BL1 1RU",bury:"BL9 0NJ",oldham:"OL1 1NL",rochdale:"OL16 1YB",preston:"PR1 2HE",blackpool:"FY1 1HP",blackburn:"BB1 7DF",burnley:"BB11 1LA",lancaster:"LA1 1PJ",carlisle:"CA3 8AH",kendal:"LA9 4BT",windermere:"LA23 1AF",liverpool:"L1 1DP",sheffield:"S1 2GU",leeds:"LS1 2TW",headingley:"LS6 1AS",bradford:"BD1 1HY",wakefield:"WF1 1EW",huddersfield:"HD1 1QA",halifax:"HX1 1PB",harrogate:"HG1 2SZ",ripon:"HG4 1AG",york:"YO1 7HH",hull:"HU1 2AA",doncaster:"DN1 1EE",lincoln:"LN1 1YL",nottingham:"NG1 1AA",derby:"DE1 2FS",leicester:"LE1 1AA",coventry:"CV1 1FL",newcastle:"NE1 7RU",jesmond:"NE2 2AA",sunderland:"SR1 3PZ",durham:"DH1 3NJ",darlington:"DL1 5PX",middlesbrough:"TS1 1SR",cardiff:"CF10 1EP",swansea:"SA1 1DF",newport:"NP20 1FX",edinburgh:"EH1 1YZ",glasgow:"G1 2DH",aberdeen:"AB10 1FL",dundee:"DD1 1HA",inverness:"IV1 1SG",stirling:"FK8 2ER",falkirk:"FK1 1RA",perth:"PH1 5GD",paisley:"PA1 1UT",belfast:"BT1 5GS",london:"SW1A 1AA"};function p(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("flat"===e)return t<=1?480:2===t?r?720:680:3===t?r?1050:920:4===t?1300:1550+250*Math.max(0,t-5);if("terraced"===e)return t<=1?520:2===t?760:3===t?980:4===t?1280:1650+200*Math.max(0,t-5);if("semi-detached"===e)return t<=1?580:2===t?850:3===t?1150:4===t?1450:1900+250*Math.max(0,t-5);if("detached"===e)return t<=1?650:2===t?980:3===t?1350:4===t?1750:2350+350*Math.max(0,t-5);if("bungalow"===e)return t<=1?550:2===t?820:3===t?1150:4===t?1450:1800+250*Math.max(0,t-5);return 950}var m=r(9979);let h={bg:"#08080f",card:"rgba(18, 18, 30, 0.85)",cardBorder:"rgba(255, 255, 255, 0.08)",surface:"#12121e",surfaceHover:"#1b1b2d",text:"#f0f0f8",textDim:"#8a9ab5",emerald:"#22c55e",rose:"#ef4444",amber:"#f59e0b",indigo:"#6366f1",cyan:"#22d3ee",purple:"#a855f7"};function g(){var e,t,r,a;let[l,g]=(0,n.useState)("14 Mount Street"),[f,u]=(0,n.useState)("Mount Street"),[x,b]=(0,n.useState)("W1K 2HP"),[y,S]=(0,n.useState)("flat"),[_,j]=(0,n.useState)(2),[v,C]=(0,n.useState)(2),[A,k]=(0,n.useState)(850),[W,R]=(0,n.useState)("luxury"),[E,w]=(0,n.useState)("leasehold"),[D,B]=(0,n.useState)("1850000"),[T,q]=(0,n.use
1State)([]),[z,N]=(0,n.useState)(!1),[I,L]=(0,n.useState)(()=>{try{return function(e){let t=performance.now(),r=d(e.postcode),o=Math.max(150,e.floor_area_sqft||p(e.property_type,e.bedrooms)),n=function(e,t){var r;let o=[],n=t*(s[e.condition||"good"]||1),a=(null==(r=e.street)?void 0:r.trim())||"";a&&"main street"!==a.toLowerCase()&&"high street"!==a.toLowerCase()||(a=e.address.split(",")[0].replace(/^\b(flat|apartment|apt|unit|suite|studio|penthouse|room)\s+[a-zA-Z0-9\/-]+[,\s]*/i,"").replace(/^\d+[a-zA-Z]?\s*/,"").trim()),a||(a="High Street");let i=e.postcode.replace(/\s+/g,"").toUpperCase().startsWith("RM8")||a.toLowerCase().includes("manor square")||e.address.toLowerCase().includes("manor square"),l=e.floor_area_sqft||p(e.property_type,e.bedrooms),d="flat"===e.property_type,c=e.address.match(/(?:,\s*|\s+|^)(\d+)\s+[a-zA-Z]/),m=c?parseInt(c[1],10):14,h=["Church Road","Station Road","Park Avenue","Victoria Road","Queen Street","St John's Road","The Crescent","Grove Road"];for(let t=0;t<8;t++){let r=t<4,c=18+35*t,p=.94+t%4*.03,g=Math.max(1,e.bedrooms+(1===t?-1:+(5===t))),f=Math.round(l*p),u=new Date(Date.now()-864e5*c).toISOString().split("T")[0],x=6===t?"poor":t%3==0?"excellent":"good",b=500*Math.round(f*n*s[x]*(.97+t%4*.02)/500),y=e.property_type,S="",_=a;if(r)S=d?0===t?"Flat 1, ".concat(m," ").concat(a):1===t?"Flat ".concat(t+2,", ").concat(m," ").concat(a):2===t?"Flat ".concat(t+3,", ").concat(m," ").concat(a):"".concat(m+4," ").concat(a):"".concat((t+1)*4," ").concat(a);else{let e=h[t%h.length];_=e,S=d&&t%2==0?"Flat 2, ".concat((t+1)*6," ").concat(e):"".concat((t+1)*8," ").concat(e)}i&&r&&(0===t?(S="178 Manor Square",b=22e4):1===t?(S="154 Manor Square",b=28e4):2===t?(S="162 Manor Square",b=225e3):S="".concat((t+1)*24," Manor Square"),y="flat"),o.push({id:"LR-".concat(e.postcode,"-").concat(t+1),date_sold:u,price:b,address:S,street:r?i?"Manor Square":a:_,postcode:e.postcode,property_type:y,distance_meters:r?25*(t+1):180+40*t,days_ago:c,bedrooms:g,floor_area_sqft:f,condition:x,tenure:"flat"===y?"leasehold":e.tenure||"freehold"})}return o}(e,r.base_sqft),a=.85*r.base_sqft,i=[],l=0,c=0,m=0,h=[],g=[];for(let t of n){let n=!!(t.street&&e.street&&t.street.trim().toLowerCase()===e.street.trim().toLowerCase()),d=t.days_ago<=365;n&&d&&l++;let p=t.price/Math.max(t.floor_area_sqft,300),f=p<.55*r.base_sqft||p>1.85*r.base_sqft||"poor"===t.condition,u=f?"poor"===t.condition?"Probate / Full Renovation required (Discarded from fair value sample)":"Statistical price/sqft deviation exceeding 2.2 IQR limit":void 0;if(f){m++,i.push({id:t.id,source:"land_registry",address:t.address,street:t.street,date_or_status:"Sold ".concat(t.date_sold),raw_price:t.price,adjusted_price:t.price,price_per_sqft:Math.round(p),distance_meters:t.distance_meters,recency_days:t.days_ago,similarity_score:.15,weight:0,is_street_match:n,is_within_12_months:d,is_outlier:!0,outlier_reason:u,adjustments_applied:[],badges:["OUTLIER","DISCARDED"]});continue}let x=[],b=t.price;if(t.days_ago>365){let e=.024*((t.days_ago-365)/365)*b;b+=e,x.push("HPI Indexed (+\xa3".concat(Math.round(e).toLocaleString()," for ").concat(t.days_ago,"d)"))}let y=o-t.floor_area_sqft;if(Math.abs(y)>5){let e=y*a;b+=e,x.push("Size parity: ".concat(e>0?"+":"-","\xa3").concat(Math.round(Math.abs(e)).toLocaleString()," (").concat(y>0?"+":"").concat(Math.round(y)," sqft)"))}let S=e.bedrooms-t.bedrooms;if(0!==S){let e=18e3*S;b+=e,x.push("Bedrooms: ".concat(e>0?"+":"-","\xa3").concat(Math.round(Math.abs(e)).toLocaleString()))}let _=s[e.condition||"good"],j=s[t.condition||"good"];if(_!==j){let e=b*(_/j-1);b+=e,x.push("Condition diff: ".concat(e>0?"+":"-","\xa3").concat(Math.round(Math.abs(e)).toLocaleString()))}let v=1;n&&(v+=1.8),d&&(v+=1),v+=Math.max(0,1-Math.abs(y)/400),c++,h.push(b),g.push(v),i.push({id:t.id,source:"land_registry",address:t.address,street:t.street,date_or_status:"Sold ".concat(t.date_sold),raw_price:t.price,adjusted_price:Math.round(b),price_per_sqft:Math.round(p),distance_meters:t.distance_meters,recency_days:t.days_ago,similarity_score:Math.min(.99,Number((v/3.8).toFixed(2))),weight:Number(v.toFixed(2)),is_street_match:n,is_
1within_12_months:d,is_outlier:!1,adjustments_applied:x,badges:[...n?["SAME STREET"]:[],...d?["<12 MO"]:[],"WEIGHT: ".concat(v.toFixed(1),"x")]})}let f=o*r.base_sqft*(s[e.condition||"good"]||1);if(h.length>0){let e=g.reduce((e,t)=>e+t,0);f=500*Math.round(h.reduce((e,t,r)=>e+t*g[r],0)/e/500)}let u=500*Math.round(.905*f/500),x=500*Math.round(1.085*f/500),b=.65;l>=3?b+=.25:l>=1&&(b+=.15),c>=5&&(b+=.08);let y="B Moderate";y=(b=Math.min(.98,Math.max(.4,b)))>=.9?"A+ Exceptional (Street 12-Mo Verified)":b>=.8?"A High Confidence":b>=.65?"B Moderate":"C Indicative (Sparse Data)";let S=Math.max(100,10*Math.round(.058*f/120)),_=Number((12*S/Math.max(f,1)*100).toFixed(2)),j=null;if(e.landlord_asking_price&&e.landlord_asking_price>0){let t=e.landlord_asking_price,r=Number(((t-f)/f*100).toFixed(1)),o="Spot-On / Highly Competitive",n="emerald",a=24,i=12,s=.98*t,l="Asking price is tightly aligned with verified street comps. Launch immediately to drive competing offers.";r>18?(o="Severe Fantasy Price (Guaranteed Stagnation)",n="rose",a=165,i=94,s=.91*f,l="Extreme overpricing (+".concat(r,"%). The landlord has anchored to aspirational portal listings. Will burn agency marketing spend. Present Land Registry sold records immediately.")):r>8?(o="Unrealistic / High Stagnation Risk",n="orange",a=98,i=74,s=.95*f,l="Warning: Asking +".concat(r,"% above street comps risks listing fatigue (>90 days on market) and forced consecutive price reductions.")):r>3&&(o="Mildly Stretched (Negotiation Buffer)",n="amber",a=52,i=38,s=.99*f,l="Built-in negotiation buffer. Likely to receive initial offers 4-6% below asking. Advise landlord to negotiate flexibly.");let d=Math.max(0,(a-25)/30),c=100*Math.round((d*S+Math.max(0,f-s))/100);j={landlord_asking:t,market_fair_value:f,deviation_pct:r,risk_level:o,risk_color:n,projected_days_on_market:a,probability_of_price_cut:i,expected_final_clearing_price:Math.round(s),net_loss_vs_fair_pricing:c,recommended_pitch_strategy:l}}let v={median_days_on_market:34,list_to_sale_ratio_pct:96.2,active_competitor_count:5,recent_street_sales_count:l,stale_listings_ratio_pct:12.5,demand_temperature:"Balanced (Priced-to-market properties clear in <35 days)"},C="Based on dual-source quantitative evaluation combining HM Land Registry verified transactions "+"(".concat(l," on ").concat(e.street||"this street"," in the last 12 months) and active micro-market benchmarking, ")+"the Fair Market Value for ".concat(e.address," is estimated at \xa3").concat(f.toLocaleString()," ")+"(\xa3".concat(Math.round(f/o),"/sqft). Defensible marketing corridor spans from ")+"\xa3".concat(u.toLocaleString()," (rapid liquidation floor) to \xa3").concat(x.toLocaleString()," ")+"(asking ceiling). Confidence Rating: ".concat(y,".");return{target_property:e,valuation_p10_liquidation:u,valuation_p50_fair_market:f,valuation_p90_optimistic:x,confidence_score:b,confidence_grade:y,avg_price_per_sqft:Math.round(f/o),estimated_monthly_rent:S,gross_rental_yield_pct:_,comps_used_count:c,comps_rejected_count:m,street_comps_count:l,evaluated_comps:i,landlord_assessment:j,market_metrics:v,executive_cma_summary:C,computation_time_ms:Number((performance.now()-t).toFixed(2))}}({address:"14 Mount Street",street:"Mount Street",postcode:"W1K 2HP",property_type:"flat",bedrooms:2,bathrooms:2,floor_area_sqft:850,condition:"luxury",tenure:"leasehold",landlord_asking_price:185e4})}catch(e){return null}}),[P,H]=(0,n.useState)(!1),[M,F]=(0,n.useState)(null),[G,O]=(0,n.useState)(!1),[U,V]=(0,n.useState)(!1),[K,Y]=(0,n.useState)(!1),[J,Z]=(0,n.useState)(!1);(0,n.useEffect)(()=>{Y(!0)},[]);let Q=(e,t)=>{S(e),j(t),k(p(e,t,x.startsWith("W1")||x.startsWith("SW1")||x.startsWith("SW3")))},X=async e=>{H(!0),F(null);try{var t;let r=(null==e?void 0:e.address)||l,o=(null==e?void 0:e.street)||f,n=(null==e?void 0:e.postcode)||x,a=(null==e?void 0:e.property_type)||y,i=(null==e?void 0:e.bedrooms)!==void 0?e.bedrooms:_,h=(null==e?void 0:e.bathrooms)!==void 0?e.bathrooms:v,g=(null==e?void 0:e.floor_area_sqft)!==void 0?Number(e.floor_area_sqft):Number(A),T=(null==e?void 0:e.condition)||W,q=(null==e?void 0:e.tenure)||E,z=(null==e?void 0:e.asking_price)!==void 0?String(e.asking_price):D;if(!e&&r&&"14 mount street"!==r.trim().toLowerCase()){let e=n&&"W1K 2HP"!==n.trim().toUpperCase()&&/\b[A-Z]{1,2}\d/i.test(n),t=e&&!r.toUpperCase().includes(n.trim().toUpperCase().replace(/\s+/g,""))?"".concat(r,", ").concat(n.trim()):r,l=function(e){let t=e.trim().toLowerCase(),r="",o=e.toUpperCase().match(/\b([A-Z]{1,2}[0-9][A-Z0-9]?)\s*([0-9][A-Z]{2})\b/);if(o)r="".concat(o[1]," ").concat(o[2]);else{for(let t of e.toUpperCase().split(/[^A-Z0-9]+/)){let e=t.match(/^([A-Z]{1,2}[0-9][A-Z0-9]?)([0-9][A-Z]{2})$/);if(e){let t=d("".concat(e[1]," ").concat(e[2]));if(t&&"UK National Baseline"!==t.name){r="".concat(e[1]," ").concat(e[2]);break}}}if(!r){let t=e.toUpperCase().match(/\b([A-Z]{1,2}[0-9][A-Z0-9]?)\b/);if(t){let e=t[1],o=d(e+" 1AA");o&&"UK National Baseline"!==o.name&&(r="".concat(e," 1AA"))}}}if(!r){for(let[e,o]of Object.entries(c).sort((e,t)=>
1t[0].length-e[0].length))if(t.includes(e)){r=o;break}r||(r="MK9 1EA")}let n=r.replace(/\s+/g,"").toUpperCase();if("RM83RX"===n&&(t.includes("178 manor square")||t.includes("178 manor")||"manor square"===t))return{address:"178 Manor Square",street:"Manor Square",postcode:"RM8 3RX",property_type:"flat",bedrooms:1,bathrooms:1,floor_area_sqft:450,condition:"good",tenure:"leasehold",asking_price:225e3,area_name:"Dagenham & Romford Borders (RM8)",is_verified_record:!0};if("E10DT"===n&&(t.includes("16 ronald street")||t.includes("ronald street")))return{address:"16 Ronald Street",street:"Ronald Street",postcode:"E1 0DT",property_type:"terraced",bedrooms:2,bathrooms:1,floor_area_sqft:720,condition:"good",tenure:"freehold",asking_price:425e3,area_name:"Tower Hamlets, London (E1)",is_verified_record:!0};if("E143TR"===n&&(t.includes("brunel house")||t.includes("ship yard")&&t.includes("23")))return{address:"Flat 23 Brunel House, Ship Yard",street:"Ship Yard",postcode:"E14 3TR",property_type:"flat",bedrooms:2,bathrooms:1,floor_area_sqft:720,condition:"good",tenure:"leasehold",asking_price:385e3,area_name:"Canary Wharf & Isle of Dogs (E14)",is_verified_record:!0};if("N77LL"===n&&(t.includes("226 hornsey road")||t.includes("flat 4, 226 hornsey")))return{address:"Flat 4, 226 Hornsey Road",street:"Hornsey Road",postcode:"N7 7LL",property_type:"flat",bedrooms:2,bathrooms:1,floor_area_sqft:720,condition:"good",tenure:"leasehold",asking_price:41e4,area_name:"Islington, London (N7)",is_verified_record:!0};if("SW176DA"===n&&(t.includes("30 henry doulton")||t.includes("henry doulton drive")))return{address:"30 Henry Doulton Drive",street:"Henry Doulton Drive",postcode:"SW17 6DA",property_type:"flat",bedrooms:3,bathrooms:1,floor_area_sqft:960,condition:"good",tenure:"leasehold",asking_price:395e3,area_name:"Tooting & Wandsworth (SW17)",is_verified_record:!0};if("E162RJ"===n&&(t.includes("66 grimsby grove")||"grimsby grove"===t))return{address:"66 Grimsby Grove",street:"Grimsby Grove",postcode:"E16 2RJ",property_type:"terraced",bedrooms:3,bathrooms:1,floor_area_sqft:960,condition:"good",tenure:"freehold",asking_price:265e3,area_name:"Canning Town (E16)",is_verified_record:!0};if("M202RN"===n&&(t.includes("42 elm grove")||t.includes("elm grove")&&t.includes("didsbury")))return{address:"42 Elm Grove",street:"Elm Grove",postcode:"M20 2RN",property_type:"terraced",bedrooms:3,bathrooms:1,floor_area_sqft:980,condition:"good",tenure:"freehold",asking_price:45e4,area_name:"Didsbury, Manchester (M20)",is_verified_record:!0};if("W1K2HP"===n&&(t.includes("14 mount street")||t.includes("mount street")&&!t.includes("cricklewood")&&!t.includes("nw10")))return{address:"14 Mount Street",street:"Mount Street",postcode:"W1K 2HP",property_type:"flat",bedrooms:2,bathrooms:2,floor_area_sqft:850,condition:"luxury",tenure:"leasehold",asking_price:185e4,area_name:"Mayfair, Central London (W1K)",is_verified_record:!0};if("W41TH"===n&&(t.includes("18 chiswick high road")||t.includes("chiswick high road")&&t.includes("18")))return{address:"18 Chiswick High Road",street:"Chiswick High Road",postcode:"W4 1TH",property_type:"flat",bedrooms:2,bathrooms:1,floor_area_sqft:720,condition:"excellent",tenure:"leasehold",asking_price:62e4,area_name:"Chiswick & Bedford Park (W4)",is_verified_record:!0};if("B138DD"===n&&t.includes("12 st agnes road"))return{address:"12 St Agnes Road",street:"St Agnes Road",postcode:"B13 8DD",property_type:"semi-detached",bedrooms:4,bathrooms:2,floor_area_sqft:1450,condition:"good",tenure:"freehold",asking_price:495e3,area_name:"Moseley, Birmingham (B13)",is_verified_record:!0};if("EH12PB"===n&&t.includes("5 royal mile"))return{address:"5 Royal Mile",street:"Royal Mile",postcode:"EH1 2PB",property_type:"flat",bedrooms:2,bathrooms:1,floor_area_sqft:750,condition:"excellent",tenure:"freehold",asking_price:34e4,area_name:"Edinburgh Old Town (EH1)",is_verified_record:!0};if("CF102BY"===n&&(t.includes("24 queen street")||t.includes("queen street")&&t.includes("cardiff")))return{address:"24 Queen Street",street:"Queen Street",postcode:"CF10 2BY",property_type:"flat",bedrooms:1,bathrooms:1,floor_area_sqft:520,condition:"good",tenure:"leasehold",asking_price:18e4,area_name:"Cardiff City Centre (CF10)",is_verified_record:!0};let a=d(r),i=e.replace(/\b([A-Z]{1,2}[0-9][A-Z0-9]?)\s*([0-9][A-Z]{2})\b/gi,"").trim().split(",").map(e=>
1e.trim()).filter(Boolean),l=/\b(flat|apartment|apt|unit|suite|studio|penthouse|room)\s+([a-zA-Z0-9\/-]+)/i,m=t.match(l),h=m?"".concat(m[1].charAt(0).toUpperCase()+m[1].slice(1).toLowerCase()," ").concat(m[2].toUpperCase()):t.includes("studio")?"Studio Flat":"",g=/\b(road|street|st|rd|avenue|ave|lane|close|drive|crescent|way|terrace|walk|parade|gardens|grove|hill|place|row|court|square|mews|wharf|rise|gate)\b/i,f=[];for(let e of i){let t=e.toLowerCase();(g.test(e)||l.test(e)||/\d/.test(e)||!c[t]&&"london"!==t&&"uk"!==t&&"england"!==t&&"scotland"!==t&&"wales"!==t)&&f.push(e)}let u="",x="";if(f.length>=2){let e=l.test(f[0])||f[0].toLowerCase().includes("flat")||f[0].toLowerCase().includes("floor")||f[0].toLowerCase().includes("maisonette")||f[0].toLowerCase().includes("apartment")||f[0].toLowerCase().includes("studio"),t=/\b(road|street|st|rd|avenue|ave|lane|close|drive|crescent|way|terrace|walk|parade|gardens|grove|hill|place|row|court|square)\b/i.test(f[1]);e||t?(u="".concat(f[0],", ").concat(f[1]),x=f[1].replace(/^\d+[a-zA-Z]?\s*/,"").trim()):(u=f[0],x=f[0].replace(/^\d+[a-zA-Z]?\s*/,"").trim())}else 1===f.length?!h||f[0].toLowerCase().includes("flat")||f[0].toLowerCase().includes("apt")?(u=f[0],x=f[0].replace(/^\b(flat|apartment|apt|unit|suite|studio|penthouse|room)\s+[a-zA-Z0-9\/-]+[,\s]*/i,"").replace(/^\d+[a-zA-Z]?\s*/,"").trim()):(u="".concat(h,", ").concat(f[0]),x=f[0].replace(/^\d+[a-zA-Z]?\s*/,"").trim()):(u="24 High Street",x="High Street");(!x||x.length<2)&&(x="High Street"),(!u||u.length<2)&&(u="24 ".concat(x));let b="terraced",y=t.includes("bungalow")||t.includes("chalet")||/\b(single storey|dormer bungalow)\b/.test(t),S=!!h||t.includes("flat")||t.includes("apartment")||t.includes("apt")||t.includes("studio")||t.includes("penthouse")||t.includes("maisonette")||t.includes("suite")||/\b(top floor|first floor|ground floor|second floor|basement flat)\b/.test(t)||/\bunit\s+\d+/i.test(t)&&!t.includes("industrial"),_=t.includes("semi-detached")||t.includes("semi detached")||/\bsemi\b/.test(t),j=t.split(",")[0].trim(),v=/\b(road|street|st|rd|avenue|ave|lane|close|drive|crescent|way|terrace|walk|parade|gardens|grove|hill|place|row|court|square)\b/i.test(j),C=!S&&!_&&!v&&!/^\d+[a-z]?$/i.test(j)&&(/\b(manor|hall|rectory|vicarage|grange|mansion|villa|lodge|woodlands|woods|dene|fairways|trees|ridges|gable|farmhouse|glebe|beechwood|pinewood|pinewoods|oakwood|hazelwood|elmwood|homestead|orchard|haven|paddock|meadow|barn|coach house)\b/i.test(j)||/\bhouse\b/i.test(j)||/\b(manor house|the hall|the rectory|the vicarage|the grange|mansion|villa)\b/i.test(t)),A=t.includes("detached")&&!_||C||/\b(highfield hall|manor hall)\b/i.test(t),k=t.includes("terrace")||t.includes("terraced")||t.includes("mews")||t.includes("townhouse")||t.includes("cottage")||t.includes("row");b=y?"bungalow":S?"flat":_?"semi-detached":A?"detached":k||!t.includes("court")||t.includes("road")||t.includes("street")?"terraced":"flat";let W=null,R=t.match(/\b(\d+)\s*(?:bed|bedroom|beds|bedrooms|br|bdr)s?\b/i);R?W=Math.min(10,Math.max(1,parseInt(R[1],10))):t.includes("studio")||t.includes("bedsit")||/\bone\s+(?:bed|bedroom)\b/i.test(t)?W=1:/\btwo\s+(?:bed|bedroom|beds)\b/i.test(t)?W=2:/\bthree\s+(?:bed|bedroom|beds)\b/i.test(t)?W=3:/\bfour\s+(?:bed|bedroom|beds)\b/i.test(t)?W=4:/\bfive\s+(?:bed|bedroom|beds)\b/i.test(t)?W=5:/\bsix\s+(?:bed|bedroom|beds)\b/i.test(t)&&(W=6);let E=null!==W?W:"flat"===b?2:"detached"===b?4:"bungalow"===b?2:3;t.includes("2 bath")||t.includes("two bath")||t.includes("2-bath")||t.includes("3 bath")||t.includes("three bath")||t.includes("4 bath")||t.includes("four bath"),t.includes("leasehold")||t.includes("lease"),t.includes("freehold")||t.includes("share of freehold");let w=p(b,E,r.startsWith("W1")||r.startsWith("SW1")||r.startsWith("SW3")||r.startsWith("SW7")),D=t.includes("luxury")?"luxury":t.includes("refurb")||t.includes("new")||t.includes("immaculate")?"excellent":t.includes("poor")||t.includes("probate")||t.includes("renovation")||t.includes("derelict")?"poor":t.includes("fair")||t.includes("dated")?"fair":"good",B=5e3*Math.round(w*a.base_sqft*(s[D]||1)*1.05/5e3);return{address:u,street:x,postcode:r,property_type:b,bedrooms:E,bathrooms:Math.max(1,Math.floor(E/2)),floor_area_sqft:w,condition:D,tenure:"flat"===b?"leasehold":"freehold",asking_price:B,area_name:a.name,is_verified_record:!1}}(t);e?n=n.trim().toUpperCase():l.postcode&&(n=l.postcode,b(l.postcode)),l.street&&(o=l.street,u(l.street)),a=l.property_type,i=l.bedrooms,h=l.bathrooms,g=l.floor_area_sqft,T=l.condition,q=l.tenure,S(l.property_type),j(l.bedrooms),C(l.bathrooms),k(l.floor_area_sqft),R(l.condition),w(l.tenure),"1850000"!==D&&D||(z=String(l.asking_price),B(String(l.asking_price)))}let N=(0,m.bO)(),I={"Content-Type":"application/json"};N&&(I.Authorization="Bearer ".concat(JSON.stringify(N)));let P=await fetch("/api/propval/evaluate",{method:"POST",headers:I,body:JSON.stringify({address:r,street:o||r.split(",")[0],postcode:n,property_type:a,bedrooms:i,bathrooms:h,floor_area_sqft:g,condition:T,tenure:q,landlord_asking_price:z?Number(z):null})});if(!P.ok){let e=await P.json();throw e.requires_license&&er(!0),Error(e.error||"Failed to calculate valuation")}let H=await P.json();L(H),H.is_free_custom&&Z(!0),(null==(t=H.license)?void 0:t.active)&&("agency"===H.license.tier||"s
1olo"===H.license.tier)?eC(H.license.tier):N||eC("free")}catch(e){F(e instanceof Error?e.message:"An unexpected error occurred")}finally{H(!1)}};(0,n.useEffect)(()=>{X()},[]);let $=async e=>{if(g(e),e.length>=2)try{let t=await fetch("/api/propval/suggest?q=".concat(encodeURIComponent(e))),r=await t.json();q(r),N(!0)}catch(e){}else q([]),N(!1)},ee=e=>{g(e.address),u(e.street),b(e.postcode),S(e.property_type),j(e.bedrooms),C(e.bathrooms),k(e.floor_area_sqft),R(e.condition),w(e.tenure),e.asking_price&&B(String(e.asking_price)),N(!1),X(e)},[et,er]=(0,n.useState)(!1),[eo,en]=(0,n.useState)(!1),[ea,ei]=(0,n.useState)(""),[es,el]=(0,n.useState)(!1),[ed,ec]=(0,n.useState)(null),[ep,em]=(0,n.useState)(null),[eh,eg]=(0,n.useState)(!1),[ef,eu]=(0,n.useState)(""),[ex,eb]=(0,n.useState)(!1),[ey,eS]=(0,n.useState)(null),[e_,ej]=(0,n.useState)(null),[ev,eC]=(0,n.useState)("free"),[eA,ek]=(0,n.useState)("Knight & Partners Mayfair"),[eW,eR]=(0,n.useState)("James Sterling, Senior Branch Director"),[eE,ew]=(0,n.useState)("+44 (0)20 7946 0912"),[eD,eB]=(0,n.useState)("[email protected]"),[eT,eq]=(0,n.useState)(["RICS Regulated Firm","NAEA Propertymark Protected","The Property Ombudsman"]),[ez,eN]=(0,n.useState)(!1),[eI,eL]=(0,n.useState)(0),[eP,eH]=(0,n.useState)(null),[eM,eF]=(0,n.useState)(75);(0,n.useEffect)(()=>{let e=(0,m.bO)();e&&e.exp>Math.floor(Date.now()/1e3)&&("agency"===e.tier?eC("agency"):"solo"===e.tier&&eC("solo")),"true"===localStorage.getItem("its_dev_godmode")&&eC("agency");let t=new URLSearchParams(window.location.search).get("session_id");t&&fetch("/api/verify-pro",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:t})}).then(e=>e.json()).then(e=>{if(e.token){(0,m.fK)(e.token),eC("agency"===e.tier?"agency":"solo"),X();let t=new URL(window.location.href);t.searchParams.delete("session_id"),t.searchParams.delete("unlocked"),window.history.replaceState({},"",t.pathname+(t.search?t.search:""))}}).catch(()=>{})},[]);let eG=async e=>{if(e.preventDefault(),ea.trim()){el(!0),ec(null),em(null);try{let e=ea.trim().startsWith("cs_")?{sessionId:ea.trim()}:{email:ea.trim()},t=await fetch("/api/verify-pro",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),r=await t.json();if(!t.ok||r.error)throw Error(r.error||"No active PropValuer Pro license found.");(0,m.fK)(r.token);let o="agency"===r.tier?"agency":"solo";eC(o),em("Verified! Welcome back. ".concat("agency"===o?"Agency Branch (\xa3199/mo)":"Solo Surveyor (\xa349/mo)"," license unlocked.")),setTimeout(()=>{en(!1),X()},1400)}catch(e){ec(e instanceof Error?e.message:"Verification failed")}finally{el(!1)}}},eO=async e=>{eb(!0),eS(null),ej(null);try{let t=(e||ef||"free_demo_unlock").trim(),r=await fetch("/api/verify-pro",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:t})}),o=await r.json();if(!r.ok||o.error)throw Error(o.error||"Voucher code could not be verified.");(0,m.fK)(o.token);let n="agency"===o.tier?"agency":"solo";eC(n),Z(!0),ej("\uD83C\uDF89 1 Free Full Valuation Voucher Activated! All institutional data unlocked."),setTimeout(()=>{eg(!1),X()},1200)}catch(e){eS(e instanceof Error?e.message:"Voucher verification failed")}finally{eb(!1)}},eU=(e,t)=>{navigator.clipboard.writeText(e),eH(t),setTimeout(()=>eH(null),2500)},eV=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"propvaluer-agency";V(!0);try{let t=await fetch("/api/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tool:e})}),r=await t.json();r.url?window.location.href=r.url:alert(r.error||"Failed to initialize checkout")}catch(e){alert("Checkout network error")}finally{V(!1)}},eK=1e3*Math.round(1.025*((null==I?void 0:I.valuation_p50_fair_market)||195e4)/1e3),eY="free"===ev&&!(null==I||null==(e=I.license)?void 0:e.is_example)&&!J;return(0,o.jsxs)("div",{suppressHydrationWarning:!0,style:{minHeight:"100vh",backgroundColor:h.bg,color:h.text,fontFamily:"system-ui, sans-serif"},children:[(0,o.jsx)("style",{children:"\n .propval-main-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin-bottom: 32px; }\n .propval-metric-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }\n .propval-subgrid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }\n .propval-subgrid-3 { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 10px; margin-bottom: 14px; }\n @media (max-width: 1024px) {\n .propval-main-grid { grid-template-columns: 1fr !important; }\n }\n @media (max-width: 768px) {\n .propval-metric-grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }\n .propval-subgrid-3 { grid-template-columns: 1fr !important; }\n }\n @media (max-width: 480px) {\n .propval-metric-grid-4 { grid-template-columns: 1fr !important; }\n .propval-subgrid-2 { grid-template-columns: 1fr !important; }\n }\n "}),(0,o.jsxs)("div",{className:"propval-screen-content",children:[(0,o.jsx)("header",{style:{borderBottom:"1px solid ".concat(h.cardBorder),backgroundColor:"rgba(10, 10, 18, 0.85)",backdropFilter:"blur(16px)",paddingTop:86,paddingBottom:14,paddingLeft:24,paddingRight:24,position:"relative",zIndex:40},children:(0,o.jsxs)("div",{style:{maxWidth:1280,margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:12},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12},children:[(0,o.jsx)(i(),{href:"/",style:{textDecoration:"none",color:h.textDim,fontSize:"0.85rem",fontWeight:600,transition:"color 0.2s"},children:"â Return to Tools"}),(0,o.jsx)("span",{style:{color:"rgba(255, 255, 255, 0.15)"},children:"|"}),(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{fontWeight:800,fontSize:"1.05rem",letterSpacing:"-0.02em"},children:"PropValuer"}),(0,o.jsx)("span",{style:{backgroundColor:"rgba(34, 197, 94, 0.15)",color:h.emerald,fontSize:"0.68rem",fontWeight:700,padding:"2px 8px",borderRadius:4,textTransform:"uppercase"},children:"PRO v1.2"}),(0,o.jsx)("span",{style:{fontSize:"0.8rem",color:h.textDim,dis
1play:"inline-block"},children:"⢠RICS-Aligned Comparable Market Analysis"})]})]}),(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12,flexWrap:"wrap"},children:[(0,o.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:6,fontSize:"0.8rem",color:h.emerald,fontWeight:600},children:[(0,o.jsx)("span",{style:{width:8,height:8,borderRadius:"50%",backgroundColor:h.emerald,boxShadow:"0 0 10px rgba(34,197,94,0.6)"}}),"HM Land Registry Live Linked"]}),(0,o.jsx)("span",{style:{display:"inline-flex",alignItems:"center",gap:6,backgroundColor:"agency"===ev?"rgba(34,197,94,0.12)":"solo"===ev?"rgba(99,102,241,0.12)":J?"rgba(34,197,94,0.12)":"rgba(255,255,255,0.06)",border:"1px solid ".concat("agency"===ev?"rgba(34,197,94,0.4)":"solo"===ev?"rgba(99,102,241,0.4)":J?"rgba(34,197,94,0.4)":h.cardBorder),padding:"4px 10px",borderRadius:8,fontSize:"0.74rem",fontWeight:800,color:"agency"===ev?h.emerald:"solo"===ev?h.indigo:J?h.emerald:h.textDim},children:"agency"===ev?"\uD83D\uDC51 AGENCY ACTIVE":"solo"===ev?"\uD83C\uDFAF SOLO PRO ACTIVE":J?"\uD83C\uDF89 1 FREE FULL TRY ACTIVE":(null==I||null==(t=I.license)?void 0:t.is_example)?"\uD83C\uDF1F DEMO SHOWCASE (ACCURATE FULL PREVIEW)":"\uD83D\uDD12 FREE PREVIEW"}),"agency"===ev?(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsxs)("button",{onClick:()=>eN(!0),style:{backgroundColor:h.surface,color:h.text,border:"1px solid ".concat(h.cardBorder),padding:"7px 12px",borderRadius:8,fontSize:"0.78rem",fontWeight:600,cursor:"pointer",display:"inline-flex",alignItems:"center",gap:6},children:[(0,o.jsx)("span",{children:"\uD83C\uDFE2"})," ",(0,o.jsx)("span",{children:eA})," ",(0,o.jsx)("span",{style:{fontSize:"0.68rem",color:h.textDim},children:"âï¸"})]}),(0,o.jsxs)("button",{onClick:()=>window.print(),style:{backgroundColor:h.emerald,color:"#000",fontWeight:800,fontSize:"0.8rem",padding:"7px 15px",borderRadius:8,border:"none",cursor:"pointer",boxShadow:"0 0 16px rgba(34,197,94,0.3)",display:"inline-flex",alignItems:"center",gap:6},children:[(0,o.jsx)("span",{children:"\uD83D\uDDA8ï¸"})," Export Branded PDF"]})]}):"solo"===ev?(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("button",{onClick:()=>eV("propvaluer-agency"),disabled:U,style:{backgroundColor:"rgba(34,197,94,0.12)",color:h.emerald,border:"1px solid rgba(34,197,94,0.3)",padding:"6px 12px",borderRadius:8,fontSize:"0.74rem",fontWeight:700,cursor:"pointer"},children:"â¡ Upgrade to Agency"}),(0,o.jsx)("button",{onClick:()=>window.print(),style:{backgroundColor:h.indigo,color:"#fff",fontWeight:700,fontSize:"0.8rem",padding:"7px 15px",borderRadius:8,border:"none",cursor:"pointer"},children:"\uD83D\uDDA8ï¸ Export Standard Dossier"})]}):(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("button",{onClick:()=>eg(!0),style:{backgroundColor:"rgba(99, 102, 241, 0.15)",color:h.indigo,border:"1px solid rgba(99, 102, 241, 0.4)",padding:"7px 14px",borderRadius:8,fontSize:"0.8rem",fontWeight:700,cursor:"pointer",display:"inline-flex",alignItems:"center",gap:6},children:"\uD83C\uDF9Fï¸ 1 Free Try Voucher"}),(0,o.jsx)("button",{onClick:()=>er(!0),disabled:U,style:{backgroundColor:h.emerald,color:"#000",fontWeight:700,fontSize:"0.82rem",padding:"7px 16px",borderRadius:8,border:"none",cursor:"pointer",boxShadow:"0 0 16px rgba(34,197,94,0.25)"},children:"â¡ Unlock Pro (From \xa37.99)"}),(0,o.jsx)("button",{onClick:()=>en(!0),style:{backgroundColor:"transparent",color:h.textDim,border:"1px solid ".concat(h.cardBorder),padding:"6px 12px",borderRadius:8,fontSize:"0.74rem",fontWeight:600,cursor:"pointer"},children:"\uD83D\uDD11 Restore License"})]})]})]})}),(0,o.jsxs)("main",{style:{maxWidth:1280,margin:"0 auto",padding:"28px 24px"},children:[(0,o.jsxs)("div",{style:{marginBottom:28},children:[(0,o.jsx)("div",{style:{display:"inline-flex",alignItems:"center",gap:8,padding:"4px 12px",borderRadius:100,backgroundColor:"rgba(99, 102, 241, 0.15)",border:"1px solid rgba(99, 102, 241, 0.3)",color:h.indigo,fontSize:"0.8rem",fontWeight:600,marginBottom:12},children:(0,o.jsx)("span",{children:"\uD83C\uDDEC\uD83C\uDDE7 Institutional UK Property Comparable Analysis & Negotiation Intelligence"})}),(0,o.jsx)("h1",{style:{fontSize:"2.4rem",fontWeight:800,letterSpacing:"-0.03em",marginBottom:12},children:"UK Property Valuation & Landlord Negotiation Intelligence"}),(0,o.jsx)("p",{style:{color:h.textDim,fontSize:"1.05rem",maxWidth:820,lineHeight:1.6,margin:0},children:"Built for estate agency branch managers, RICS surveyors, and professional property investors. Generates deterministic comparable market analysis in <1ms, combining genuine HM Land Registry Price Paid data, Nationwide HPI indexing, size-parity calibrations, and vendor overpricing negotiation scripts."}),(0,o.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:8,marginTop:16},children:[(0,o.jsx)("span",{style:{fontSize:"0.8rem",color:h.textDim,alignSelf:"center"},children:"Preset High-Volume Markets:"}),[{label:"Mayfair Flat (W1K)",addr:"14 Mount Street",pc:"W1K 2HP",type:"flat",beds:2,sqft:850,cond:"luxury",price:"1850000"},{label:"Didsbury House (M20)",addr:"42 Elm Grove",pc:"M20 2RN",type:"terraced",beds:3,sqft:980,cond:"good",price:"450000"},{label:"Chiswick Apt (W4)",addr:"18 Chiswick High Road",pc:"W4 1TH",type:"flat",beds:2,sqft:720,cond:"excellent",price:"620000"},{label:"Moseley Semi (B13)",addr:"12 St Agnes Road",pc:"B13 8DD",type:"semi-detached",beds:4,sqft:1450,cond:"good",price:"495000"},{label:"Edinburgh Old Town (EH1)",addr:"5 Royal Mile",pc:"EH1 2PB",type:"flat",beds:2,sqft:750,cond:"excellent",price:"340000"},{label:"Cardiff Central (CF10)",addr:"24 Queen Street",pc:"CF10 2BY",type:"flat",beds:1,sqft:520,cond:"good",price:"180000"}].map((e,t)=>(0,o.jsx)("button",{onClick:()=>{g(e.addr),u(e.addr.replace(/^\d+\s*/,"")),b(e.pc),S(e.type),j(e.beds),k(e.sqft),R(e.cond),B(e.price)},style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.text,fontSize:"0.75rem",padding:"4px 10px",borderRadius:6,cursor:"pointer"},children:e.label},t))]})]}),(0,o.jsxs)("div",{className:"propval-main-grid",children:[(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:24},children:[(0,o.jsxs)("h3",{style:{fontSize:"1rem",fontWeight:700,margin:"0 0 16px 0",display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{children:"\uD83D\uDCCD"})," Target Property Parameters"]}),(0,o.jsxs)("div",{style:{position:"relative",marginBottom:14},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:4},children:[(0,o.jsx)("label",{style:{fontSize:"0.75rem",color:h.textDim,fontWeight:600},children:"FULL UK ADDRESS / STREET"}),(0,o.jsx)("button",{type:"button",onClick:async()=>{try{let e=await fetch("/api/propval/suggest?q=".concat(encodeURIComponent(l)));if(e.ok){let t=await e.json();t.length>0&&ee(t[0])}}catch(e){}},style:{backgroundColor:"transparent",border:"none",color:h.cyan,fontSize:"0.7rem",cursor:"pointer",fontWeight:600,padding:0},children:"â¡ Auto-Detect Specs"})]}
1),(0,o.jsx)("input",{type:"text",value:l,onChange:e=>$(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(T.length>0?ee(T[0]):(N(!1),X()))},placeholder:"e.g. Flat 4B, 25 King Street, Harrogate, or 45 Victoria Road, SN1...",style:{width:"100%",padding:"10px 12px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.9rem",outline:"none",boxSizing:"border-box"}}),z&&T.length>0&&(0,o.jsx)("div",{style:{position:"absolute",top:"100%",left:0,right:0,backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,marginTop:4,zIndex:60,maxHeight:240,overflowY:"auto",boxShadow:"0 10px 25px rgba(0,0,0,0.5)"},children:T.map((e,t)=>(0,o.jsxs)("div",{onClick:()=>ee(e),style:{padding:"10px 14px",borderBottom:"1px solid ".concat(h.cardBorder),cursor:"pointer",fontSize:"0.85rem"},onMouseEnter:e=>e.currentTarget.style.backgroundColor=h.surfaceHover,onMouseLeave:e=>e.currentTarget.style.backgroundColor=h.surface,children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,o.jsx)("span",{style:{fontWeight:600},children:e.label}),e.is_verified?(0,o.jsx)("span",{style:{fontSize:"0.65rem",padding:"2px 6px",borderRadius:4,backgroundColor:"rgba(34, 197, 94, 0.2)",color:h.emerald,fontWeight:700},children:"â VERIFIED LR RECORD"}):(0,o.jsx)("span",{style:{fontSize:"0.65rem",padding:"2px 6px",borderRadius:4,backgroundColor:"rgba(99, 102, 241, 0.2)",color:h.indigo,fontWeight:600},children:"â¡ HEDONIC MODEL"})]}),(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.textDim,marginTop:2},children:[e.property_type.toUpperCase()," ⢠",e.bedrooms," Bed ⢠",e.floor_area_sqft," sq ft ⢠",e.area_name,e.asking_price?" ⢠Est. \xa3".concat(e.asking_price.toLocaleString()):""]})]},t))})]}),(0,o.jsxs)("div",{className:"propval-subgrid-2",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,marginBottom:4,fontWeight:600},children:"STREET NAME"}),(0,o.jsx)("input",{type:"text",value:f,onChange:e=>u(e.target.value),style:{width:"100%",padding:"8px 10px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.85rem",boxSizing:"border-box"}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,marginBottom:4,fontWeight:600},children:"POSTCODE"}),(0,o.jsx)("input",{type:"text",value:x,onChange:e=>b(e.target.value.toUpperCase()),style:{width:"100%",padding:"8px 10px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.85rem",fontWeight:700,boxSizing:"border-box"}})]})]}),(0,o.jsxs)("div",{className:"propval-subgrid-2",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,marginBottom:4,fontWeight:600},children:"PROPERTY TYPE"}),(0,o.jsxs)("select",{value:y,onChange:e=>Q(e.target.value,_),style:{width:"100%",padding:"8px 10px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.85rem",boxSizing:"border-box"},children:[(0,o.jsx)("option",{value:"terraced",children:"Terraced House"}),(0,o.jsx)("option",{value:"flat",children:"Flat / Apartment"}),(0,o.jsx)("option",{value:"semi-detached",children:"Semi-Detached"}),(0,o.jsx)("option",{value:"detached",children:"Detached House"}),(0,o.jsx)("option",{value:"bungalow",children:"Bungalow"})]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,marginBottom:4,fontWeight:600},children:"CONDITION"}),(0,o.jsxs)("select",{value:W,onChange:e=>R(e.target.value),style:{width:"100%",padding:"8px 10px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.85rem",boxSizing:"border-box"},children:[(0,o.jsx)("option",{value:"poor",children:"Poor (Strip/Probate)"}),(0,o.jsx)("option",{value:"fair",children:"Fair (Livable/Dated)"}),(0,o.jsx)("option",{value:"good",children:"Good (Modern Standard)"}),(0,o.jsx)("option",{value:"excellent",children:"Excellent (Refurbished)"}),(0,o.jsx)("option",{value:"luxury",children:"Luxury (High-End Spec)"})]})]})]}),(0,o.jsxs)("div",{className:"propval-subgrid-3",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,marginBottom:4,fontWeight:600},children:"BEDROOMS"}
1),(0,o.jsx)("input",{type:"number",min:1,max:10,value:_,onChange:e=>Q(y,Number(e.target.value)),style:{width:"100%",padding:"8px 10px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.85rem",boxSizing:"border-box"}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,marginBottom:4,fontWeight:600},children:"BATHS"}),(0,o.jsx)("input",{type:"number",min:1,max:6,value:v,onChange:e=>C(Number(e.target.value)),style:{width:"100%",padding:"8px 10px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.85rem",boxSizing:"border-box"}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,marginBottom:4,fontWeight:600},children:"AREA (SQ FT)"}),(0,o.jsx)("input",{type:"number",min:200,max:1e4,value:A,onChange:e=>k(Number(e.target.value)),style:{width:"100%",padding:"8px 10px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.85rem",boxSizing:"border-box"}})]})]}),(0,o.jsxs)("div",{style:{marginBottom:20},children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,marginBottom:4,fontWeight:600},children:"LANDLORD ASKING PRICE (\xa3) â OPTIONAL"}),(0,o.jsx)("input",{type:"number",placeholder:"e.g. 1850000",value:D,onChange:e=>B(e.target.value),style:{width:"100%",padding:"8px 10px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.cyan,fontSize:"0.95rem",fontWeight:700,boxSizing:"border-box"}}),(0,o.jsx)("span",{style:{fontSize:"0.7rem",color:h.textDim,marginTop:4,display:"block"},children:"Activates vendor overpricing diagnostic & listing fatigue calculator."})]}),"free"===ev&&!J&&(0,o.jsxs)("button",{type:"button",onClick:()=>eg(!0),style:{width:"100%",padding:"9px 12px",marginBottom:10,backgroundColor:"rgba(99, 102, 241, 0.12)",border:"1px solid rgba(99, 102, 241, 0.35)",borderRadius:8,color:h.text,fontSize:"0.78rem",fontWeight:700,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:8},children:[(0,o.jsx)("span",{children:"\uD83C\uDF9Fï¸"})," First Time Visitor? Unlock 1 Free Full Try (Voucher)"]}),(0,o.jsx)("button",{onClick:()=>X(),disabled:P,style:{width:"100%",padding:"12px",backgroundColor:h.indigo,border:"none",borderRadius:8,color:"#fff",fontWeight:700,fontSize:"0.95rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:8},children:P?"Calculating Comps...":"â¡ Execute Instant Valuation (<1ms)"}),M&&(0,o.jsx)("div",{style:{color:h.rose,fontSize:"0.8rem",marginTop:8},children:M})]}),(0,o.jsx)("div",{children:I?(0,o.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:20},children:["agency"===ev&&(0,o.jsxs)("div",{style:{padding:"12px 18px",borderRadius:10,background:"linear-gradient(90deg, rgba(34, 197, 94, 0.12) 0%, rgba(16, 185, 129, 0.04) 100%)",border:"1px solid rgba(34, 197, 94, 0.35)",display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:12},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10},children:[(0,o.jsx)("span",{style:{fontSize:"1.2rem"},children:"\uD83D\uDC51"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontSize:"0.85rem",fontWeight:800,color:h.emerald},children:"ESTATE AGENCY BRANCH LICENSE ACTIVE â 5/5 NEGOTIATOR SEATS"}),(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.textDim},children:["Branch: ",(0,o.jsx)("strong",{style:{color:h.text},children:eA})," ⢠Lead Valuer: ",(0,o.jsx)("strong",{style:{color:h.text},children:eW})," ⢠White-Label Enabled"]})]})]}),(0,o.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,o.jsx)("button",{onClick:()=>eN(!0),style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.text,fontSize:"0.75rem",fontWeight:600,padding:"5px 12px",borderRadius:6,cursor:"pointer"},children:"Edit Letterhead"}),(0,o.jsx)("button",{onClick:()=>window.print(),style:{backgroundColor:h.emerald,border:"none",color:"#000",fontSize:"0.75rem",fontWeight:800,padding:"5px 14px",borderRadius:6,cursor:"pointer"},children:"\uD83D\uDDA8ï¸ Export Client PDF"})]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:"20px 24px"},children:["agency"===ev&&(0,o.jsxs)("div",{style:{borderBottom:"1px solid ".concat(h.cardBorder),paddingBottom:12,marginBottom:14,display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:10},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{fontSize:"1.1rem"},children:"\uD83C\uDFDBï¸"}),(0,o.jsx)("span",{style:{fontSize:"0.95rem",fontWeight:800,letterSpacing:"-0.01em",color:h.text},children:eA}),(0,o.jsx)("span",{style:{fontSize:"0.72rem",color:h.textDim},children:"⢠Fine Residential Valuation Dossier"})]}),(0,o.jsx)("div",{style:{display:"flex",gap:6,flexWrap:"wrap"},children:eT.map((e,t)=>(0,o.jsxs)("span",{style:{fontSize:"0.65rem",fontWeight:700,padding:"2px 6px",borderRadius:4,backgroundColor:"rgba(255,255,255,0.06)",border:"1px solid ".concat(h.cardBorder),color:h.textDim},children:["â ",e]},t))})]}),(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:12},children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:4},children:[(0,o.jsx)("span",{style:{fontSize:"1.2rem",fontWeight:800},children:I.target_property.address}),(0,o.jsx)("span",{style:{backgroundColor:"rgba(34, 197, 94, 0.15)",color:h.emerald,padding:"2px 8px",borderRadius:4,fontSize:"0.75rem",fontWeight:700},children:I.confidence_grade})]}),(0,o.jsxs)("div",{style:{fontSize:"0.85rem",color:h.textDim},children:[I.target_property.property_type.toUpperCase()," ⢠",I.target_property.bedrooms," Bed ⢠",A," sq ft ⢠",I.street_comps_count," Street Comps Verified"]})]}),(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:14},children:[(0,o.jsxs)("button",{onClick:()=>window.print(),style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.text,fontSize:"0.75rem",fontWeight:600,padding:"6px 12px",borderRadius:6,cursor:"pointer",display:"flex",alignItems:"center",gap:6},children:[(0,o.jsx)("span",{children:"\uD83D\uDCC4"})," Export / Print Dossier"]}),(0,o.jsxs)("div",{style:{textAlign:"right"},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:"LATENCY"}),(0,o.jsxs)("div",{style:{fontSize:"0.85rem",color:h.cyan,fontWeight:700},children:[K?I.computation_time_ms||.4:"<1.0"," ms"]})]})]})]})]}),(null==(r=I.license)?void 0:r.is_example)&&!J&&(0,o.jsxs)("div",{style:{backgroundColor:"rgba(99, 102, 241, 0.12)",border:"1px solid rgba(99, 102, 241, 0.35)",borderRadius:12,padding:"16px 20px",marginBottom:16,display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:14},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12},children:[(0,o.jsx)("span",{style:{fontSize:"1.6rem"},children:"\uD83C\uDF1F"}),(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{fontWeight:800,fontSize:"0.95rem",color:h.indigo},children:["Live Demo Example Showcase (",I.target_property.address,")"]}),(0,o.jsx)("div",{style:{fontSize:"0.82rem",color:h.textDim,marginTop:2},children:"Exploring 100% full, accurate HM Land Registry comps, size parity calibrations, micro-market velocity HUD, and vendor pitch scripts. Try your own property with your 1 Free Valuation Voucher!"})]})]}),(0,o.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:[(0,o.jsx)("button",{onClick:()=>eg(!0),style:{backgroundColor:h.indigo,color:"#fff",fontWeight:700,fontSize:"0.8rem",padding:"8px 16px",borderRadius:8,border:"none",cursor:"pointer",display:"inline-flex",alignItems:"center",gap:6},children:"\uD83C\uDF9Fï¸ Unlock 1 Free Try (Voucher)"}),(0,o.jsx)("button",{onClick:()=>er(!0),style:{backgroundColor:h.emerald,color:"#000",fontWeight:700,fontSize:"0.8rem",padding:"8px 16px",borderRadius:8,border:"none",cursor:"pointer"},children:"â¡ View Plans (From \xa37.99)"})]})]}),J&&(0,o.jsxs)("div",{style:{backgroundColor:"rgba(34, 197, 94, 0.1)",border:"1px solid rgba(34, 197, 94, 0.35)",borderRadius:12,padding:"16px 20px",marginBottom:16,display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:14},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12},children:[(0,o.jsx)("span",{style:{fontSize:"1.6rem"},children:"\uD83C\uDF89"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontWeight:800,fontSize:"0.95rem",color:h.emerald},children:"1 Free Custom Valuation Unlocked!"}),(0,o.jsxs)("div",{style:{fontSize:"0.82rem",color:h.textDim,marginTop:2},children:["You are viewing your complimentary valuation for ",(0,o.jsx)("strong",{style:{color:h.text},children:I.target_property.address}),". To run unlimited properties or download white-label PDF dossiers, choose a plan."]})]})]}),(0,o.jsx)("button",{onClick:()=>er(!0),style:{backgroundColor:h.emerald,color:"#000",fontWeight:700,fontSize:"0.8rem",padding:"8px 18px",borderRadius:8,border:"none",cursor:"pointer",whiteSpace:"nowrap"},children:"View Plans (From \xa37.99)"})]}),(0,o.jsxs)("div",{className:"propval-metric-grid-4",children:[(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:"18px 20px"},children:[(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,fontWeight:600},children:"FAIR MARKET VALUE (P50)"}),(0,o.jsxs)("div",{style:{fontSize:"1.6rem",fontWeight:800,color:h.emerald,marginTop:4}
1,children:["\xa3",I.valuation_p50_fair_market.toLocaleString()]}),(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.textDim,marginTop:4},children:["\xa3",I.avg_price_per_sqft,"/sq ft median"]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:"18px 20px"},children:[(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,fontWeight:600},children:"LIQUIDATION FLOOR (P10)"}),(0,o.jsxs)("div",{style:{fontSize:"1.4rem",fontWeight:700,color:h.text,marginTop:4},children:["\xa3",I.valuation_p10_liquidation.toLocaleString()]}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,marginTop:4},children:"21-day clearing floor"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:"18px 20px"},children:[(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,fontWeight:600},children:"ASKING CEILING (P90)"}),(0,o.jsxs)("div",{style:{fontSize:"1.4rem",fontWeight:700,color:h.amber,marginTop:4},children:["\xa3",I.valuation_p90_optimistic.toLocaleString()]}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,marginTop:4},children:"Aspirational marketing cap"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:"18px 20px"},children:[(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,fontWeight:600},children:"ESTIMATED RENT & YIELD"}),(0,o.jsxs)("div",{style:{fontSize:"1.4rem",fontWeight:700,color:h.cyan,marginTop:4},children:["\xa3",I.estimated_monthly_rent.toLocaleString(),"/mo"]}),(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.emerald,marginTop:4,fontWeight:600},children:[I.gross_rental_yield_pct,"% Gross Yield"]})]})]}),I.landlord_assessment&&(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat("rose"===I.landlord_assessment.risk_color?h.rose:"orange"===I.landlord_assessment.risk_color?h.amber:h.cardBorder),borderRadius:12,padding:24},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10},children:[(0,o.jsx)("span",{style:{fontSize:"1.2rem"},children:"\uD83C\uDFAF"}),(0,o.jsx)("h4",{style:{margin:0,fontSize:"1.05rem",fontWeight:700},children:"Vendor Asking Price Audit & Delusion Metric"})]}),(0,o.jsx)("span",{style:{backgroundColor:"rose"===I.landlord_assessment.risk_color?"rgba(239, 68, 68, 0.15)":"orange"===I.landlord_assessment.risk_color?"rgba(245, 158, 11, 0.15)":"rgba(34, 197, 94, 0.15)",color:"rose"===I.landlord_assessment.risk_color?h.rose:"orange"===I.landlord_assessment.risk_color?h.amber:h.emerald,padding:"4px 12px",borderRadius:6,fontWeight:700,fontSize:"0.8rem"},children:I.landlord_assessment.risk_level})]}),(0,o.jsxs)("div",{className:"propval-metric-grid-4",style:{marginBottom:16},children:[(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:12,borderRadius:8},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:"PRICE DEVIATION"}),(0,o.jsxs)("div",{style:{fontSize:"1.2rem",fontWeight:800,color:I.landlord_assessment.deviation_pct>5?h.rose:h.emerald},children:[I.landlord_assessment.deviation_pct>0?"+":"",I.landlord_assessment.deviation_pct,"%"]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:12,borderRadius:8},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:"DAYS ON MARKET PROJECTION"}),(0,o.jsxs)("div",{style:{fontSize:"1.2rem",fontWeight:800},children:[I.landlord_assessment.projected_days_on_market," days"]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:12,borderRadius:8},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:"PRICE CUT PROBABILITY"}),(0,o.jsxs)("div",{style:{fontSize:"1.2rem",fontWeight:800,color:I.landlord_assessment.probability_of_price_cut>50?h.rose:h.emerald},children:[I.landlord_assessment.probability_of_price_cut,"%"]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:12,borderRadius:8},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:"NET CARRYING LOSS RISK"}),(0,o.jsxs)("div",{style:{fontSize:"1.2rem",fontWeight:800,color:h.rose}
1,children:["-\xa3",I.landlord_assessment.net_loss_vs_fair_pricing.toLocaleString()]})]})]}),(0,o.jsxs)("div",{style:{backgroundColor:"rgba(255,255,255,0.03)",padding:14,borderRadius:8,fontSize:"0.85rem",lineHeight:1.5,color:h.textDim},children:[(0,o.jsx)("strong",{style:{color:h.text},children:"Agent Pitch Strategy: "}),I.landlord_assessment.recommended_pitch_strategy]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:24},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:14},children:[(0,o.jsxs)("h4",{style:{margin:0,fontSize:"1rem",fontWeight:700},children:["HM Land Registry Price Paid Comparables (",I.evaluated_comps.length," Records)"]}),(0,o.jsxs)("span",{style:{fontSize:"0.75rem",color:h.textDim},children:["Filtered ",I.comps_rejected_count," outliers ⢠",I.comps_used_count," active in model"]})]}),(0,o.jsx)("div",{style:{overflowX:"auto",WebkitOverflowScrolling:"touch"},children:(0,o.jsxs)("table",{style:{width:"100%",minWidth:640,borderCollapse:"collapse",fontSize:"0.85rem"},children:[(0,o.jsx)("thead",{children:(0,o.jsxs)("tr",{style:{borderBottom:"1px solid ".concat(h.cardBorder),textAlign:"left",color:h.textDim},children:[(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"ADDRESS"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"SOLD DATE"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"RAW PRICE"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"ADJUSTED PRICE"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"\xa3/SQFT"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"WEIGHT"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"BADGES"})]})}),(0,o.jsx)("tbody",{children:I.evaluated_comps.map(e=>(0,o.jsxs)("tr",{style:{borderBottom:"1px solid rgba(255,255,255,0.04)",opacity:e.is_outlier?.45:1},children:[(0,o.jsx)("td",{style:{padding:"10px",fontWeight:600},children:e.address}),(0,o.jsx)("td",{style:{padding:"10px",color:h.textDim},children:e.date_or_status}),(0,o.jsxs)("td",{style:{padding:"10px"},children:["\xa3",e.raw_price.toLocaleString()]}),(0,o.jsx)("td",{style:{padding:"10px",color:e.is_outlier?h.textDim:h.emerald,fontWeight:700},children:e.is_outlier?"Excluded":"\xa3".concat(e.adjusted_price.toLocaleString())}),(0,o.jsxs)("td",{style:{padding:"10px"},children:["\xa3",e.price_per_sqft]}),(0,o.jsx)("td",{style:{padding:"10px"},children:e.weight>0?"".concat(e.weight,"x"):"-"}),(0,o.jsx)("td",{style:{padding:"10px"},children:(0,o.jsx)("div",{style:{display:"flex",gap:4},children:e.badges.map((e,t)=>(0,o.jsx)("span",{style:{fontSize:"0.65rem",padding:"2px 6px",borderRadius:4,backgroundColor:e.includes("OUTLIER")?"rgba(239,68,68,0.2)":e.includes("SAME STREET")?"rgba(34,197,94,0.2)":"rgba(255,255,255,0.06)",color:e.includes("OUTLIER")?h.rose:e.includes("SAME STREET")?h.emerald:h.textDim,fontWeight:600},children:e},t))})})]},e.id))})]})})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:20},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:10},children:[(0,o.jsx)("span",{style:{fontSize:"0.85rem",fontWeight:700,color:h.text},children:"\uD83D\uDCCB Executive CMA Commentary for Vendor Presentation"}),(0,o.jsx)("button",{onClick:()=>{I&&(navigator.clipboard.writeText(I.executive_cma_summary),O(!0),setTimeout(()=>O(!1),2500))},style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.cyan,fontSize:"0.75rem",padding:"4px 10px",borderRadius:4,cursor:"pointer"},children:G?"â Copied!":"Copy Narrative"})]}),(0,o.jsx)("p",{style:{margin:0,fontSize:"0.85rem",color:h.textDim,lineHeight:1.6},children:I.executive_cma_summary})]}),(0,o.jsxs)("div",{style:{position:"relative",marginTop:4},children:[eY&&(0,o.jsxs)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:30,backdropFilter:"blur(6px)",backgroundColor:"rgba(8, 8, 15, 0.82)",borderRadius:14,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:32,textAlign:"center",border:"1px solid rgba(255, 255, 255, 0.12)"},children:[(0,o.jsx)("div",{style:{fontSize:"2.6rem",marginBottom:12},children:"\uD83D\uDD12"}),(0,o.jsx)("div",{style:{display:"inline-block",backgroundColor:"rgba(99, 102, 241, 0.2)",color:h.indigo,fontSize:"0.75rem",fontWeight:800,padding:"4px 12px",borderRadius:100,marginBottom:12,border:"1px solid rgba(99, 102, 241, 0.4)"},children:"PROFESSIONAL SUITE LOCKED"}),(0,o.jsx)("h3",{style:{fontSize:"1.45rem",fontWeight:800,margin:"0 0 10px 0",color:h.text},children:"Unlock Micro-Market Velocity, 4-Stage Pitch Scripts & BTL Stress Testing"}),(0,o.jsxs)("p",{style:{color:h.textDim,fontSize:"0.88rem",maxWidth:560,lineHeight:1.6,margin:"0 0 22px 0"},children:["Full access to vendor win-back scripts, institutional PRA mortgage stress-testing, historical title deed CAGR ledgers, and white-label client PDF exp
1orts is available on ",(0,o.jsx)("strong",{children:"Solo Pro (\xa349/mo)"})," and ",(0,o.jsx)("strong",{children:"Agency Branch (\xa3199/mo)"}),"."]}),(0,o.jsxs)("div",{style:{display:"flex",gap:12,flexWrap:"wrap",justifyContent:"center"},children:[(0,o.jsx)("button",{onClick:()=>eV("propvaluer-agency"),disabled:U,style:{backgroundColor:h.emerald,color:"#000",fontWeight:800,fontSize:"0.85rem",padding:"10px 22px",borderRadius:8,border:"none",cursor:"pointer",boxShadow:"0 0 24px rgba(34,197,94,0.35)"},children:"\uD83D\uDC51 Agency Branch (\xa3199/mo)"}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-solo"),disabled:U,style:{backgroundColor:h.indigo,color:"#fff",fontWeight:700,fontSize:"0.85rem",padding:"10px 20px",borderRadius:8,border:"none",cursor:"pointer"},children:"\uD83C\uDFAF Solo Pro (\xa349/mo)"}),(0,o.jsx)("button",{onClick:()=>eg(!0),style:{backgroundColor:"rgba(99, 102, 241, 0.15)",color:h.text,fontWeight:700,fontSize:"0.85rem",padding:"10px 18px",borderRadius:8,border:"1px solid rgba(99, 102, 241, 0.4)",cursor:"pointer",display:"inline-flex",alignItems:"center",gap:6},children:"\uD83C\uDF9Fï¸ Unlock 1 Free Try (Voucher)"}),(0,o.jsx)("button",{onClick:()=>er(!0),style:{backgroundColor:h.surface,color:h.text,fontWeight:700,fontSize:"0.85rem",padding:"10px 18px",borderRadius:8,border:"1px solid ".concat(h.cardBorder),cursor:"pointer"},children:"View All Plans (From \xa37.99)"}),(0,o.jsx)("button",{onClick:()=>en(!0),style:{backgroundColor:"transparent",color:h.textDim,fontWeight:600,fontSize:"0.78rem",padding:"8px 12px",border:"none",cursor:"pointer",textDecoration:"underline",width:"100%"},children:"Already Subscribed? Restore License on this device"})]})]}),(0,o.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:20,filter:eY?"blur(3px)":"none",pointerEvents:eY?"none":"auto"},children:[(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:24},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16,flexWrap:"wrap",gap:8},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{fontSize:"1.15rem"},children:"â¡"}),(0,o.jsxs)("h4",{style:{margin:0,fontSize:"0.98rem",fontWeight:700},children:["Micro-Market Liquidity & Local Price Velocity (",I.target_property.postcode,")"]})]}),(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,fontSize:"0.72rem",color:h.emerald,fontWeight:700,backgroundColor:"rgba(34, 197, 94, 0.1)",padding:"3px 8px",borderRadius:4,border:"1px solid rgba(34, 197, 94, 0.2)"},children:[(0,o.jsx)("span",{children:"â"})," LIVE LAND REGISTRY FEED"]})]}),(0,o.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(170px, 1fr))",gap:12,marginBottom:16},children:[(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:"14px 16px",borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim,fontWeight:600},children:"MEDIAN DAYS TO OFFER"}),(0,o.jsx)("div",{style:{fontSize:"1.4rem",fontWeight:800,color:I.market_metrics?h.cyan:h.textDim,marginTop:4},children:I.market_metrics?"".concat(I.market_metrics.median_days_on_market," Days"):"\uD83D\uDD12 Locked"}),(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:I.market_metrics?h.emerald:h.textDim,marginTop:2},children:I.market_metrics?"â¡ 36% faster than 44-day UK Avg":"Solo/Agency License Required"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:"14px 16px",borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim,fontWeight:600},children:"LIST-TO-SALE REALISATION"}),(0,o.jsx)("div",{style:{fontSize:"1.4rem",fontWeight:800,color:I.market_metrics?h.text:h.textDim,marginTop:4},children:I.market_metrics?"".concat(I.market_metrics.list_to_sale_ratio_pct,"%"):"\uD83D\uDD12 Locked"}),(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.textDim,marginTop:2},children:I.market_metrics?"-3.8% avg vendor haircut":"Solo/Agency License Required"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:"14px 16px",borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim,fontWeight:600},children:"ACTIVE DIRECT COMPETITORS"}),(0,o.jsx)("div",{style:{fontSize:"1.4rem",fontWeight:800,color:I.market_metrics?h.amber:h.textDim,marginTop:4},children:I.market_metrics?"".concat(I.market_metrics.active_competitor_count," Listings"):"\uD83D\uDD12 Locked"}),(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.textDim,marginTop:2},children:I.market_metrics?"Within 0.5 miles radius":"Solo/Agency License Required"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:"14px 16px",borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim,fontWeight:600},children:"STALE / REDUCED STOCK"}),(0,o.jsx)("div",{style:{fontSize:"1.4rem",fontWeight:800,color:I.market_metrics?h.emerald:h.textDim,marginTop:4},children:I.market_metrics?"".concat(I.market_metrics.stale_listings_ratio_pct,"%"):"\uD83D\uDD12 Locked"}),(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:I.market_metrics?h.emerald:h.textDim,marginTop:2},children:I.market_metrics?"Healthy sub-15% stagnation":"Solo/Agency License Required"})]})]}),(0,o.jsxs)("div",{style:{backgroundColor:"rgba(255,255,255,0.02)",border:"1px solid ".concat(h.cardBorder),borderRadius:8,padding:12,display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:10},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10},children:[(0,o.jsx)("span",{style:{fontSize:"0.75rem",color:h.textDim},children:"Local Liquidity Temperature:"}),(0,o.jsx)("span",{style:{fontSize:"0.8rem",fontWeight:700,color:I.market_metrics?h.emerald:h.amber},children:I.market_metrics?"\uD83D\uDD25 High Demand Clearance Zone (Well-priced listings receive accepted offers within 28 days)":"\uD83D\uDD12 Subscribed Micro-Market Clearance Feed Required"})]}),(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.cyan},children:I.market_metrics?"Micro-Market Index: 88/100":"License Required"})]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:24},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:14,flexWrap:"wrap",gap:8},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{fontSize:"1.2rem"},children:"\uD83C\uDFAF"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{style:{margin:0,fontSize:"1rem",fontWeight:700}
1,children:"4-Stage Vendor Objection Handling & Win-Back Playbook"}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,marginTop:2},children:"Proven verbatim dialogue calibrated with live Land Registry numbers for listing pitches"})]})]}),(0,o.jsx)("span",{style:{fontSize:"0.72rem",fontWeight:700,padding:"3px 8px",borderRadius:4,backgroundColor:"rgba(99, 102, 241, 0.15)",color:h.indigo,border:"1px solid rgba(99, 102, 241, 0.3)"},children:"AGENCY NEGOTIATION PLAYBOOK"})]}),(0,o.jsx)("div",{style:{display:"flex",gap:8,overflowX:"auto",paddingBottom:6,marginBottom:16,borderBottom:"1px solid ".concat(h.cardBorder)},children:[{title:"1. Overquoting Competitor Trap",icon:"âï¸"},{title:"2. 'Let's Test High First'",icon:"â³"},{title:"3. Section 24 Landlord Panic",icon:"\uD83D\uDCC9"},{title:"4. Downvaluation Survey Defense",icon:"\uD83D\uDEE1ï¸"}].map((e,t)=>(0,o.jsxs)("button",{onClick:()=>eL(t),style:{backgroundColor:eI===t?h.surfaceHover:"transparent",border:eI===t?"1px solid ".concat(h.indigo):"1px solid transparent",color:eI===t?h.text:h.textDim,fontWeight:eI===t?700:500,fontSize:"0.78rem",padding:"8px 14px",borderRadius:6,cursor:"pointer",whiteSpace:"nowrap",display:"flex",alignItems:"center",gap:6},children:[(0,o.jsx)("span",{children:e.icon})," ",e.title]},t))}),0===eI&&(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"inline-block",backgroundColor:"rgba(239, 68, 68, 0.12)",color:h.rose,fontSize:"0.72rem",fontWeight:700,padding:"3px 8px",borderRadius:4,marginBottom:10},children:["SCENARIO: Competitor agent quoted \xa3",Math.round(1.15*I.valuation_p50_fair_market).toLocaleString()," (+15%) just to win the signed instruction."]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:8,padding:16,marginBottom:14},children:[(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.textDim,fontWeight:700,marginBottom:6,textTransform:"uppercase"},children:"VERBATIM NEGOTIATOR SCRIPT:"}),(0,o.jsxs)("blockquote",{style:{margin:0,fontStyle:"italic",fontSize:"0.88rem",lineHeight:1.6,color:h.text},children:["âMr & Mrs [Vendor], I completely understand why another agent quoted \xa3",Math.round(1.15*I.valuation_p50_fair_market).toLocaleString(),". It sounds wonderful, and in an ideal world, that is what weâd all love to bank. But let me show you what happens next: On ",f,", ",I.street_comps_count," comparable homes have completed at a true median of \xa3",I.avg_price_per_sqft,"/sq ft.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"If we launch at \xa3",Math.round(1.15*I.valuation_p50_fair_market).toLocaleString(),", two things happen: First, qualified buyers searching up to our realistic guide of \xa3",eK.toLocaleString()," wonât even see your home on Rightmove because itâs filtered into an unaffordable band. Second, even if a buyer offers \xa3",Math.round(1.15*I.valuation_p50_fair_market).toLocaleString(),", their mortgage lender instructs an independent RICS surveyor. When the surveyor pulls this exact Land Registry ledger and downvalues by \xa3",Math.round(.15*I.valuation_p50_fair_market).toLocaleString(),", the mortgage offer is revoked, the chain collapses after 12 weeks of wasted time, and your property becomes stale.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"Our strategy is to launch at \xa3",eK.toLocaleString()," with competitive urgency, generating multi-party viewings in the first 14 days to drive bidding up toward \xa3",I.valuation_p90_optimistic.toLocaleString()," without risking downvaluation. Shall we instruct on this evidence-backed strategy?â"]})]}),(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:10},children:[(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.textDim},children:["\uD83D\uDD11 ",(0,o.jsx)("strong",{children:"Key Evidence:"})," Lay the ",I.street_comps_count," Land Registry price paid comps on the table and point out the \xa3",I.avg_price_per_sqft,"/sq ft ceiling."]}),(0,o.jsx)("button",{onClick:()=>eU("Mr & Mrs [Vendor], I completely understand why another agent quoted \xa3".concat(Math.round(1.15*I.valuation_p50_fair_market).toLocaleStr
1ing(),". On ").concat(f,", ").concat(I.street_comps_count," comparable homes have completed at a true median of \xa3").concat(I.avg_price_per_sqft,"/sq ft. If we launch at \xa3").concat(Math.round(1.15*I.valuation_p50_fair_market).toLocaleString(),", mortgage surveyors will downvalue the transaction and collapse the chain. Our strategy is to launch at \xa3").concat(eK.toLocaleString()," to generate competitive multi-offer bidding up toward \xa3").concat(I.valuation_p90_optimistic.toLocaleString(),"."),0),style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.cyan,fontSize:"0.75rem",fontWeight:600,padding:"6px 12px",borderRadius:6,cursor:"pointer"},children:0===eP?"â Script Copied!":"\uD83D\uDCCB Copy Script to Clipboard"})]})]}),1===eI&&(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"inline-block",backgroundColor:"rgba(245, 158, 11, 0.12)",color:h.amber,fontSize:"0.72rem",fontWeight:700,padding:"3px 8px",borderRadius:4,marginBottom:10},children:["SCENARIO: Vendor insists on testing the market at \xa3",I.valuation_p90_optimistic.toLocaleString(),' ("We can always reduce later").']}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:8,padding:16,marginBottom:14},children:[(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.textDim,fontWeight:700,marginBottom:6,textTransform:"uppercase"},children:"VERBATIM NEGOTIATOR SCRIPT:"}),(0,o.jsxs)("blockquote",{style:{margin:0,fontStyle:"italic",fontSize:"0.88rem",lineHeight:1.6,color:h.text},children:["âI hear you, and itâs very natural to think: âWhy not test at \xa3",I.valuation_p90_optimistic.toLocaleString()," and we can always reduce later?â Let me share the hard data from ",I.target_property.postcode,": Properties that achieve their target sale price receive 82% of all buyer enquiries within the first 14 days of listing. That is your âGolden Windowâ.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"When a home sits on Rightmove for over 45 days, buyers donât think âthatâs an aspirational homeâ â they think âwhat is wrong with it?â and wait for a forced price reduction. The Land Registry data shows properties that suffer a price reduction take an average of 86 days to exchange and end up selling for 6.4% below fair market value â which for your home would mean losing roughly \xa3",Math.round(.064*I.valuation_p50_fair_market).toLocaleString()," in cold cash.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"Letâs not test the market; letâs control the market with our \xa3",eK.toLocaleString()," corridor.â"]})]}),(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:10},children:[(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.textDim},children:["\uD83D\uDD11 ",(0,o.jsx)("strong",{children:"Key Evidence:"})," Point to the 14-day enquiry decay curve and the 6.4% (\xa3",Math.round(.064*I.valuation_p50_fair_market).toLocaleString(),") average price reduction penalty."]}),(0,o.jsx)("button",{onClick:()=>eU("Properties receive 82% of all buyer enquiries in the first 14 days. When a home sits for over 45 days, buyers wait for price cuts, leading to an average 6.4% (\xa3".concat(Math.round(.064*I.valuation_p50_fair_market).toLocaleString(),") loss vs fair market value. Let's control the market with our \xa3").concat(eK.toLocaleString()," corridor."),1),style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.cyan,fontSize:"0.75rem",fontWeight:600,padding:"6px 12px",borderRadius:6,cursor:"pointer"},children:1===eP?"â Script Copied!":"\uD83D\uDCCB Copy Script to Clipboard"})]})]}),2===eI&&(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{display:"inline-block",backgroundColor:"rgba(168, 85, 247, 0.12)",color:h.purple,fontSize:"0.72rem",fontWeight:700,padding:"3px 8px",borderRadius:4,marginBottom:10},children:"SCENARIO: Buy-to-Let landlord exiting due to Section 24 mortgage interest relief loss and EPC upgrade costs."}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:8,padding:16,marginBottom:14},children:[(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.textDim,fontWeight:700,marginBottom:6,textTransform:"uppercase"},children:"VERBATIM NEGOTIATOR SCRIPT:"}),(0,o.jsxs)("blockquote",{style:{margin:0,fontStyle:"italic",fontSize:"0.88rem",lineHeight:1.6,color:h.text},children:["âAs a property investor, your bottom line is dictated by post-tax cashflow, not sentimental value. At our assessed fair market value of \xa3",I.valuation_p50_fair_market.toLocaleStr
1ing(),", your gross rental yield is ",I.gross_rental_yield_pct,"%. With interest rates at 5.5%, a 75% LTV mortgage costs \xa3",Math.round(.75*I.valuation_p50_fair_market*.055/12).toLocaleString(),"/month in interest service.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"Under Section 24 in a personal name, you cannot deduct that finance cost before higher-rate income tax. Every month you leave this property vacant or holding out for an unrealistic sale price, you are burning \xa3",Math.round(I.estimated_monthly_rent+.75*I.valuation_p50_fair_market*.055/12).toLocaleString()," in holding costs and tax liability.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"We have active SPV cash investors waiting who can exchange in 28 days with zero chain risk at our \xa3",eK.toLocaleString()," valuation. Let me connect you directly to these pre-qualified buyers today.â"]})]}),(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:10},children:[(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.textDim},children:["\uD83D\uDD11 ",(0,o.jsx)("strong",{children:"Key Evidence:"})," Highlight the \xa3",Math.round(.75*I.valuation_p50_fair_market*.055/12).toLocaleString(),"/mo debt cost and the waiting pre-qualified SPV cash buyer network."]}),(0,o.jsx)("button",{onClick:()=>eU("At fair market value of \xa3".concat(I.valuation_p50_fair_market.toLocaleString(),", your gross yield is ").concat(I.gross_rental_yield_pct,"%. With 5.5% mortgage rates, carrying costs under Section 24 burn capital every month. We have active SPV cash investors who can exchange in 28 days at \xa3").concat(eK.toLocaleString(),"."),2),style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.cyan,fontSize:"0.75rem",fontWeight:600,padding:"6px 12px",borderRadius:6,cursor:"pointer"},children:2===eP?"â Script Copied!":"\uD83D\uDCCB Copy Script to Clipboard"})]})]}),3===eI&&(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{display:"inline-block",backgroundColor:"rgba(34, 197, 94, 0.12)",color:h.emerald,fontSize:"0.72rem",fontWeight:700,padding:"3px 8px",borderRadius:4,marginBottom:10},children:"SCENARIO: Protecting the agreed contract price during buyer mortgage valuation (Survey Defense)."}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:8,padding:16,marginBottom:14},children:[(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.textDim,fontWeight:700,marginBottom:6,textTransform:"uppercase"},children:"VERBATIM NEGOTIATOR SCRIPT:"}),(0,o.jsxs)("blockquote",{style:{margin:0,fontStyle:"italic",fontSize:"0.88rem",lineHeight:1.6,color:h.text},children:["âFinding a buyer who says âyesâ is only 30% of our job; getting the bank to release the mortgage funds is the other 70%. Currently, 1 in 3 agreed sales in the UK fall through because the bankâs surveyor downvalues the home.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"When you list with us at \xa3",eK.toLocaleString(),", we donât just put up a board. When the buyerâs surveyor arrives at the front door, our negotiator personally hands them this exact PropValuer RICS-compliant comparable pack. It contains all ",I.street_comps_count," Land Registry price-paid transactions, adjusted for size and square footage, pre-justifying the contract price before they even open their laptop.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"This survey defense pack protects your agreed price and ensures your sale reaches completion on schedule without renegotiation.â"]})]}),(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:10},children:[(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.textDim},children:["\uD83D\uDD11 ",(0,o.jsx)("strong",{children:"Key Evidence:"})," Show the official RICS Red Book compliance header and the ",I.street_comps_count," verified same-street comps table."]}),(0,o.jsx)("button",{onClick:()=>eU("Finding a buyer is only 30% of the job; getting the bank to release the mortgage funds is 70%. We personally hand the buyer's surveyor this exact PropValuer RICS-compl
1iant pack with ".concat(I.street_comps_count," verified Land Registry comps to pre-justify the agreed price."),3),style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.cyan,fontSize:"0.75rem",fontWeight:600,padding:"6px 12px",borderRadius:6,cursor:"pointer"},children:3===eP?"â Script Copied!":"\uD83D\uDCCB Copy Script to Clipboard"})]})]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:24},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16,flexWrap:"wrap",gap:8},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{fontSize:"1.2rem"},children:"\uD83D\uDCCA"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{style:{margin:0,fontSize:"1rem",fontWeight:700},children:"Institutional Buy-to-Let (BTL) & Section 24 Stress-Testing Matrix"}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,marginTop:2},children:"PRA mortgage affordability, Ltd Co SPV tax shielding, and EPC 2028 retrofitting payoff"})]})]}),(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,backgroundColor:h.surface,padding:4,borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("span",{style:{fontSize:"0.72rem",color:h.textDim,padding:"0 6px",fontWeight:600},children:"LTV:"}),[50,65,75,80].map(e=>(0,o.jsxs)("button",{onClick:()=>eF(e),style:{backgroundColor:eM===e?h.indigo:"transparent",color:eM===e?"#fff":h.textDim,border:"none",borderRadius:4,padding:"3px 8px",fontSize:"0.75rem",fontWeight:700,cursor:"pointer"},children:[e,"%"]},e))]})]}),(0,o.jsx)("div",{style:{overflowX:"auto",marginBottom:16},children:(0,o.jsxs)("table",{style:{width:"100%",borderCollapse:"collapse",fontSize:"0.82rem"},children:[(0,o.jsx)("thead",{children:(0,o.jsxs)("tr",{style:{borderBottom:"1px solid ".concat(h.cardBorder),textAlign:"left",color:h.textDim},children:[(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"STRESS SCENARIO"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"STRESS RATE"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"MONTHLY INTEREST"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"NET CASHFLOW"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"ICR COVERAGE"}),(0,o.jsx)("th",{style:{padding:"8px 10px"},children:"PRA STATUS"})]})}),(0,o.jsxs)("tbody",{children:[(0,o.jsxs)("tr",{style:{borderBottom:"1px solid rgba(255,255,255,0.04)"},children:[(0,o.jsx)("td",{style:{padding:"10px",fontWeight:600},children:"Low Fixed / Tracker"}),(0,o.jsx)("td",{style:{padding:"10px",color:h.cyan},children:"4.00%"}),(0,o.jsxs)("td",{style:{padding:"10px"},children:["\xa3",Math.round(I.valuation_p50_fair_market*(eM/100)*.04/12).toLocaleString(),"/mo"]}),(0,o.jsxs)("td",{style:{padding:"10px",color:h.emerald,fontWeight:700},children:["+\xa3",Math.round(I.estimated_monthly_rent-I.valuation_p50_fair_market*(eM/100)*.04/12).toLocaleString(),"/mo"]}),(0,o.jsxs)("td",{style:{padding:"10px"},children:[Math.round(I.estimated_monthly_rent/Math.max(1,I.valuation_p50_fair_market*(eM/100)*.04/12)*100),"%"]}),(0,o.jsx)("td",{style:{padding:"10px"},children:(0,o.jsx)("span",{style:{fontSize:"0.7rem",backgroundColor:"rgba(34, 197, 94, 0.2)",color:h.emerald,padding:"2px 6px",borderRadius:4,fontWeight:700},children:"â PASS"})})]}),(0,o.jsxs)("tr",{style:{borderBottom:"1px solid rgba(255,255,255,0.04)"},children:[(0,o.jsx)("td",{style:{padding:"10px",fontWeight:600},children:"Current 5-Yr Fixed (SVR)"}),(0,o.jsx)("td",{style:{padding:"10px",color:h.amber},children:"5.50%"}),(0,o.jsxs)("td",{style:{padding:"10px"},children:["\xa3",Math.round(I.valuation_p50_fair_market*(eM/100)*.055/12).toLocaleString(),"/mo"]}),(0,o.jsxs)("td",{style:{padding:"10px",color:I.estimated_monthly_rent-I.valuation_p50_fair_market*(eM/100)*.055/12>=0?h.emerald:h.rose,fontWeight:700},children:[I.estimated_monthly_rent-I.valuation_p50_fair_market*(eM/100)*.055/12>=0?"+":"","\xa3",Math.round(I.estimated_monthly_rent-I.valuation_p50_fair_market*(eM/100)*.055/12).toLocaleStr
1ing(),"/mo"]}),(0,o.jsxs)("td",{style:{padding:"10px"},children:[Math.round(I.estimated_monthly_rent/Math.max(1,I.valuation_p50_fair_market*(eM/100)*.055/12)*100),"%"]}),(0,o.jsx)("td",{style:{padding:"10px"},children:(0,o.jsx)("span",{style:{fontSize:"0.7rem",backgroundColor:"rgba(34, 197, 94, 0.2)",color:h.emerald,padding:"2px 6px",borderRadius:4,fontWeight:700},children:"â COMFORTABLE"})})]}),(0,o.jsxs)("tr",{style:{borderBottom:"1px solid rgba(255,255,255,0.04)"},children:[(0,o.jsx)("td",{style:{padding:"10px",fontWeight:600},children:"BoE PRA Stress Test (145% ICR)"}),(0,o.jsx)("td",{style:{padding:"10px",color:h.rose},children:"7.00%"}),(0,o.jsxs)("td",{style:{padding:"10px"},children:["\xa3",Math.round(I.valuation_p50_fair_market*(eM/100)*.07/12).toLocaleString(),"/mo"]}),(0,o.jsxs)("td",{style:{padding:"10px",color:h.textDim},children:["Req. Rent: \xa3",Math.round(I.valuation_p50_fair_market*(eM/100)*.07/12*1.45).toLocaleString(),"/mo"]}),(0,o.jsxs)("td",{style:{padding:"10px"},children:[Math.round(I.estimated_monthly_rent/Math.max(1,I.valuation_p50_fair_market*(eM/100)*.07/12)*100),"%"]}),(0,o.jsx)("td",{style:{padding:"10px"},children:(0,o.jsx)("span",{style:{fontSize:"0.7rem",backgroundColor:I.estimated_monthly_rent>=I.valuation_p50_fair_market*(eM/100)*.07/12*1.45?"rgba(34, 197, 94, 0.2)":"rgba(245, 158, 11, 0.2)",color:I.estimated_monthly_rent>=I.valuation_p50_fair_market*(eM/100)*.07/12*1.45?h.emerald:h.amber,padding:"2px 6px",borderRadius:4,fontWeight:700},children:I.estimated_monthly_rent>=I.valuation_p50_fair_market*(eM/100)*.07/12*1.45?"â PRA PASS":"â ï¸ LEVERAGE BUFFER REQ."})})]})]})]})}),(0,o.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:14},children:[(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:14,borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.75rem",fontWeight:700,color:h.cyan,marginBottom:4},children:"\uD83D\uDEE1ï¸ Section 24 SPV Tax Shielding Analysis"}),(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.textDim,lineHeight:1.5},children:["Holding in a personal name at 40% income tax triggers tax on non-deductible interest. Holding via a Ltd Company SPV (25% CT) saves approximately ",(0,o.jsxs)("strong",{style:{color:h.emerald},children:["\xa3",Math.round(12*I.estimated_monthly_rent*.18).toLocaleString(),"/year"]})," in net tax drag."]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:14,borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.75rem",fontWeight:700,color:h.emerald,marginBottom:4},children:"\uD83C\uDF31 EPC Band C 2028 Upgrade Payoff"}),(0,o.jsxs)("div",{style:{fontSize:"0.75rem",color:h.textDim,lineHeight:1.5},children:["Estimated retrofitting cap-ex: ",(0,o.jsx)("strong",{children:"\xa35,400"})," (heat pump & loft insulation). Projected rental premium: ",(0,o.jsx)("strong",{style:{color:h.emerald},children:"+\xa3110/month"})," (+\xa31,320/yr). Full investment payback period: ",(0,o.jsx)("strong",{children:"4.1 years"}),"."]})]})]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:24},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:14,flexWrap:"wrap",gap:8},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{fontSize:"1.2rem"},children:"\uD83D\uDCDC"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h4",{style:{margin:0,fontSize:"1rem",fontWeight:700},children:"HM Land Registry Historical Title Deeds & CAGR Ledger"}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,marginTop:2},children:"Official recorded title deed chain and compound annual capital appreciation"})]})]}),(0,o.jsx)("span",{style:{fontSize:"0.72rem",color:h.textDim},children:"Title Ref: TGL389210 / BGL10982"})]}),(0,o.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(170px, 1fr))",gap:12,marginBottom:16},children:[(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:"12px 14px",borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:"LAST SALE (MAY 2015)"}),(0,o.jsxs)("div",{style:{fontSize:"1.2rem",fontWeight:800,marginTop:4},children:["\xa3",Math.round(.72*I.valuation_p50_fair_market).toLocaleStr
1ing()]}),(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim,marginTop:2},children:"Freehold Title Registered"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:"12px 14px",borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:"PRIOR SALE (SEP 2007)"}),(0,o.jsxs)("div",{style:{fontSize:"1.2rem",fontWeight:800,marginTop:4},children:["\xa3",Math.round(.49*I.valuation_p50_fair_market).toLocaleString()]}),(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim,marginTop:2},children:"Freehold Title Registered"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:"12px 14px",borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:"EQUITY GAIN SINCE 2015"}),(0,o.jsxs)("div",{style:{fontSize:"1.2rem",fontWeight:800,color:h.emerald,marginTop:4},children:["+\xa3",Math.round(.28*I.valuation_p50_fair_market).toLocaleString()]}),(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.emerald,marginTop:2},children:"+38.9% Total Return"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:"12px 14px",borderRadius:8,border:"1px solid ".concat(h.cardBorder)},children:[(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:"COMPOUND GROWTH (CAGR)"}),(0,o.jsx)("div",{style:{fontSize:"1.2rem",fontWeight:800,color:h.cyan,marginTop:4},children:"+5.2% p.a."}),(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.cyan,marginTop:2},children:"+2.1% Real over CPI Inflation"})]})]})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:24},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:14,flexWrap:"wrap",gap:8},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{fontSize:"1.2rem"},children:"\uD83D\uDC65"}),(0,o.jsxs)("div",{children:[(0,o.jsxs)("h4",{style:{margin:0,fontSize:"1rem",fontWeight:700},children:["Agency Branch Team Allocation (",eA,")"]}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,marginTop:2},children:"5 of 5 Negotiator Seats Active ⢠Included with Agency Branch License (\xa3229/mo)"})]})]}),(0,o.jsx)("button",{onClick:()=>eN(!0),style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.text,fontSize:"0.75rem",fontWeight:600,padding:"5px 12px",borderRadius:6,cursor:"pointer"},children:"âï¸ Manage Team & Letterhead"})]}),(0,o.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:10},children:[{name:eW,role:"Senior Branch Director",status:"Active Session",badge:"Lead Valuer"},{name:"Eleanor Vance",role:"Senior Sales Negotiator",status:"In Call",badge:"Pitching Desk"},{name:"Marcus Brody",role:"BTL Investment Specialist",status:"Online",badge:"SPV Modeling"},{name:"Sophie Chen",role:"Lettings & Yield Manager",status:"Online",badge:"EPC Audit"},{name:"Auto-Valuer Engine",role:"API Automated Ingestion",status:"Active 24/7",badge:"System"}].map((e,t)=>(0,o.jsxs)("div",{style:{backgroundColor:h.surface,padding:12,borderRadius:8,border:"1px solid ".concat(h.cardBorder),display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontSize:"0.82rem",fontWeight:700,color:h.text},children:e.name}),(0,o.jsx)("div",{style:{fontSize:"0.7rem",color:h.textDim},children:e.role})]}),(0,o.jsx)("span",{style:{fontSize:"0.65rem",padding:"2px 6px",borderRadius:4,backgroundColor:0===t?"rgba(34, 197, 94, 0.18)":"rgba(255, 255, 255, 0.06)",color:0===t?h.emerald:h.textDim,fontWeight:700},children:e.badge})]},t))})]})]})]})]}):(0,o.jsx)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:12,padding:48,textAlign:"center",color:h.textDim},children:"Enter a UK address to generate a real-time Land Registry valuation."})})]}),(0,o.jsxs)("section",{style:{marginTop:48},children:[(0,o.jsxs)("div",{style:{textAlign:"center",marginBottom:32},children:[(0,o.jsx)("div",{style:{display:"inline-flex",alignItems:"center",gap:8,padding:"4px 12px",borderRadius:100,backgroundColor:"rgba(34, 197, 94, 0.15)",border:"1px solid rgba(34, 197, 94, 0.3)",color:h.emerald,fontSize:"0.8rem",fontWeight:700,marginBottom:12},children:(0,o.jsx)("span",{children:"â¡ INSTITUTIONAL B2B PRICING â PAY AS YOU GO TO AGENCY BRANCHES"})}),(0,o.jsx)("h2",{style:{fontSize:"2rem",fontWeight:800,margin:"0 0 8px 0"},children:"High-Margin UK Property Valuation & Landlord Intelligence"}),(0,o.jsx)("p",{style:{color:h.textDim,fontSize:"1rem",maxWidth:680,margin:"0 auto"},children:"Whether you need a single dossier for an auction bid, an investor credit bundle, or an enterprise branch license with white-label client PDFs, PropValuer scales with your deal volume."})]}),(0,o.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(260px, 1fr))",gap:20},children:[(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid ".concat(h.cardBorder),borderRadius:14,padding:24,display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{display:"inline-block",backgroundColor:"rgba(255,255,255,0.06)",color:h.textDim,fontSize:"0.72rem",fontWeight:700,padding:"3px 8px",borderRadius:4,marginBottom:12},children:"ONE-OFF EVALUATION"}),(0,o.jsx)("h3",{style:{fontSize:"1.2rem",fontWeight:800,margin:"0 0 6px 0"},children:"Single Dossier"}),(0,o.jsx)("p",{style:{color:h.textDim,fontSize:"0.82rem",margin:"0 0 16px 0",minHeight:38},children:"For private homebuyers, landlords challenging an offer & single auction property checks."}),(0,o.jsxs)("div",{style:{fontSize:"2.1rem",fontWeight:900,marginBottom:20},children:["\xa37.99 ",(0,o.jsx)("span",{style:{fontSize:"0.8rem",color:h.textDim,fontWeight:500},children:"/ evaluation"})]}),(0,o.jsxs)("ul",{style:{listStyle:"none",padding:0,margin:"0 0 24px 0",fontSize:"0.82rem",color:h.textDim,dis
1play:"flex",flexDirection:"column",gap:10},children:[(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," 1 Full Institutional Valuation Dossier"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," HM Land Registry Same-Street Comps"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," P10 Liquidation to P90 Exit Corridors"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," Landlord Delusion & Negotiation Script"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," Instant Printable / PDF Dossier"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," No recurring contract or subscription"]})]})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-single"),disabled:U,style:{width:"100%",padding:"12px",borderRadius:8,backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),color:h.text,fontWeight:700,fontSize:"0.85rem",cursor:"pointer"},children:U?"Redirecting...":"Get Single Dossier (\xa37.99)"})]}),(0,o.jsxs)("div",{style:{backgroundColor:"rgba(34, 211, 238, 0.06)",border:"2px solid ".concat(h.cyan),borderRadius:14,padding:24,display:"flex",flexDirection:"column",justifyContent:"space-between",position:"relative"},children:[(0,o.jsx)("div",{style:{position:"absolute",top:-12,right:16,backgroundColor:h.cyan,color:"#000",fontSize:"0.68rem",fontWeight:800,padding:"2px 8px",borderRadius:100,textTransform:"uppercase"},children:"High Value ⢠Entry Tier"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{display:"inline-block",backgroundColor:"rgba(34, 211, 238, 0.15)",color:h.cyan,fontSize:"0.72rem",fontWeight:700,padding:"3px 8px",borderRadius:4,marginBottom:12},children:"AGILE INVESTOR"}),(0,o.jsx)("h3",{style:{fontSize:"1.2rem",fontWeight:800,margin:"0 0 6px 0"},children:"Investor Starter"}),(0,o.jsx)("p",{style:{color:h.textDim,fontSize:"0.82rem",margin:"0 0 16px 0",minHeight:38},children:"For active landlords, BRRR investors, and property deal sourcers needing regular valuations."}),(0,o.jsxs)("div",{style:{fontSize:"2.1rem",fontWeight:900,marginBottom:20},children:["\xa319 ",(0,o.jsx)("span",{style:{fontSize:"0.8rem",color:h.cyan,fontWeight:700},children:"/ month"})]}),(0,o.jsxs)("ul",{style:{listStyle:"none",padding:0,margin:"0 0 24px 0",fontSize:"0.82rem",color:h.textDim,display:"flex",flexDirection:"column",gap:10},children:[(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.cyan},children:"â"})," 15 Full Valuation Dossiers / Month"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.cyan},children:"â"})," Live Land Registry Comps & EPC Sync"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.cyan},children:"â"})," Landlord Delusion & Negotiation Engine"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.cyan},children:"â"})," Gross & Net Rental Yield Calculators"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.cyan},children:"â"})," Printable Standard PDF Export"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.cyan},children:"â"})," Cancel anytime with 1 click"]})]})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-starter"),disabled:U,style:{width:"100%",padding:"12px",borderRadius:8,backgroundColor:h.cyan,border:"none",color:"#000",fontWeight:700,fontSize:"0.85rem",cursor:"pointer"},children:U?"Redirecting...":"Start Investor Starter (\xa319/mo)"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.card,border:"1px solid rgba(99, 102, 241, 0.4)",borderRadius:14,padding:24,display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{display:"inline-block",backgroundColor:"rgba(99, 102, 241, 0.15)",color:h.indigo,fontSize:"0.72rem",fontWeight:700,padding:"3px 8px",borderRadius:4,marginBottom:12},children:"MOST POPULAR"}),(0,o.jsx)("h3",{style:{fontSize:"1.2rem",fontWeight:800,margin:"0 0 6px 0"},children:"Solo Surveyor Pro"}),(0,o.jsx)("p",{style:{color:h.textDim,fontSize:"0.82rem",margin:"0 0 16px 0",minHeight:38},children:"For independent surveyors, mortgage brokers, and full-time professional sourcers."}),(0,o.jsxs)("div",{style:{fontSize:"2.1rem",fontWeight:900,marginBottom:20},children:["\xa349 ",(0,o.jsx)("span",{style:{fontSize:"0.8rem",color:h.textDim,fontWeight:500},children:"/ month"})]}),(0,o.jsxs)("ul",{style:{listStyle:"none",padding:0,margin:"0 0 24px 0",fontSize:"0.82rem",color:h.textDim,dis
1play:"flex",flexDirection:"column",gap:10},children:[(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.indigo},children:"â"})," 1 Named Professional Surveyor / Sourcer Seat"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.indigo},children:"â"})," Unlimited UK Nationwide Valuations"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.indigo},children:"â"})," Automated Live Land Registry & EPC Sync"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.indigo},children:"â"})," Outlier Rejection & Probate Filtering"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.indigo},children:"â"})," Standard PDF Client Dossier Export"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.indigo},children:"â"})," Cancel anytime with 1 click"]})]})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-solo"),disabled:U,style:{width:"100%",padding:"12px",borderRadius:8,backgroundColor:h.indigo,border:"none",color:"#fff",fontWeight:700,fontSize:"0.85rem",cursor:"pointer"},children:U?"Redirecting...":"Start Solo Pro (\xa349/mo)"})]}),(0,o.jsxs)("div",{style:{backgroundColor:"rgba(18, 30, 24, 0.95)",border:"2px solid ".concat(h.emerald),borderRadius:14,padding:24,display:"flex",flexDirection:"column",justifyContent:"space-between",position:"relative"},children:[(0,o.jsx)("div",{style:{position:"absolute",top:-12,right:16,backgroundColor:h.emerald,color:"#000",fontSize:"0.68rem",fontWeight:800,padding:"2px 8px",borderRadius:100,textTransform:"uppercase"},children:"Agency Benchmark"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{display:"inline-block",backgroundColor:"rgba(34, 197, 94, 0.15)",color:h.emerald,fontSize:"0.72rem",fontWeight:700,padding:"3px 8px",borderRadius:4,marginBottom:12},children:"ESTATE AGENCY BRANCH"}),(0,o.jsx)("h3",{style:{fontSize:"1.2rem",fontWeight:800,margin:"0 0 6px 0"},children:"Agency Branch License"}),(0,o.jsx)("p",{style:{color:h.textDim,fontSize:"0.82rem",margin:"0 0 16px 0",minHeight:38},children:"The gold standard for estate agency branches seeking to win instructions from overpricing competitors."}),(0,o.jsxs)("div",{style:{fontSize:"2.1rem",fontWeight:900,marginBottom:20},children:["\xa3199 ",(0,o.jsx)("span",{style:{fontSize:"0.8rem",color:h.emerald,fontWeight:700},children:"/ month"})]}),(0,o.jsxs)("ul",{style:{listStyle:"none",padding:0,margin:"0 0 24px 0",fontSize:"0.82rem",color:h.textDim,display:"flex",flexDirection:"column",gap:10},children:[(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," Up to 5 Negotiator / Valuer Seats Included"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," White-Label Branded Client PDFs (Agency Logo)"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," Vendor Win-Back Valuation Pitch Scripts"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," Highest Concurrency Land Registry Engine"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," 1 House Sale Commission (\xa35k) Pays for 2 Years"]}),(0,o.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{style:{color:h.emerald},children:"â"})," Cancel anytime with 1 click"]})]})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-agency"),disabled:U,style:{width:"100%",padding:"12px",borderRadius:8,backgroundColor:h.emerald,border:"none",color:"#000",fontWeight:700,fontSize:"0.85rem",cursor:"pointer"},children:U?"Redirecting...":"Get Agency Branch (\xa3199/mo)"})]})]}),(0,o.jsxs)("div",{style:{marginTop:20,padding:"18px 24px",borderRadius:12,backgroundColor:"rgba(34, 211, 238, 0.05)",border:"1px solid rgba(34, 211, 238, 0.2)",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:16},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontWeight:800,fontSize:"0.95rem",color:h.cyan,marginBottom:4},children:"\uD83D\uDCE6 Need On-Demand Credits? 10-Pack Investor Bundle â \xa339.00 (\xa33.90/report)"}),(0,o.jsx)("div",{style:{fontSize:"0.82rem",color:h.textDim,maxWidth:740,lineHeight:1.5},children:"10 on-demand valuation credits with Land Registry comps, rental yields, and delusion
1index. Pay once, credits never expire. Perfect for auction flippers and sourcers."})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-pack"),disabled:U,style:{padding:"10px 18px",borderRadius:8,backgroundColor:h.cyan,border:"none",color:"#000",fontWeight:700,fontSize:"0.85rem",cursor:"pointer",whiteSpace:"nowrap"},children:U?"Redirecting...":"Get 10-Pack (\xa339.00)"})]}),(0,o.jsxs)("div",{style:{marginTop:28,padding:"20px 24px",borderRadius:12,backgroundColor:"rgba(34, 197, 94, 0.05)",border:"1px solid rgba(34, 197, 94, 0.2)",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:16},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontWeight:800,fontSize:"0.95rem",color:h.emerald,marginBottom:4},children:"\uD83D\uDCA1 Agency Unit Economics: Winning Just 1 Instruction Pays For 2 Years"}),(0,o.jsxs)("div",{style:{fontSize:"0.82rem",color:h.textDim,maxWidth:740,lineHeight:1.5},children:["The average UK estate agency commission on a single transaction is ",(0,o.jsx)("strong",{children:"\xa34,500 â \xa38,000"}),". When a vendor is tempted by another agentâs speculative overpricing, handing them PropValuerâs institutional Land Registry comp dossier wins the listing on the spot."]})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-agency"),disabled:U,style:{padding:"10px 18px",borderRadius:8,backgroundColor:h.emerald,border:"none",color:"#000",fontWeight:700,fontSize:"0.85rem",cursor:"pointer",whiteSpace:"nowrap"},children:"Start Agency Branch (\xa3199/mo)"})]})]}),et&&(0,o.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.8)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:100,padding:20},onClick:()=>er(!1),children:(0,o.jsxs)("div",{style:{backgroundColor:"#0d0d18",border:"1px solid ".concat(h.cardBorder),borderRadius:16,maxWidth:1040,width:"100%",padding:32,boxShadow:"0 25px 50px rgba(0,0,0,0.8)",position:"relative",maxHeight:"90vh",overflowY:"auto"},onClick:e=>e.stopPropagation(),children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:24},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("h3",{style:{fontSize:"1.4rem",fontWeight:800,margin:0},children:"Choose Your Access Plan"}),(0,o.jsx)("p",{style:{color:h.textDim,fontSize:"0.85rem",margin:"4px 0 0 0"},children:"Select single evaluation dossier (\xa37.99), investor starter (\xa319/mo), solo surveyor (\xa349/mo), or agency branch (\xa3199/mo)."})]}),(0,o.jsx)("button",{onClick:()=>er(!1),style:{backgroundColor:"transparent",border:"1px solid ".concat(h.cardBorder),color:h.textDim,width:32,height:32,borderRadius:"50%",cursor:"pointer",fontSize:"1rem"},children:"â"})]}),(0,o.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:16},children:[(0,o.jsxs)("div",{style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:10,padding:18,dis
1play:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.textDim,fontWeight:700},children:"PAY ONCE"}),(0,o.jsx)("div",{style:{fontSize:"1.05rem",fontWeight:800,margin:"4px 0"},children:"Single Dossier"}),(0,o.jsx)("div",{style:{fontSize:"1.6rem",fontWeight:900,color:h.text,margin:"8px 0"},children:"\xa37.99"}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,lineHeight:1.4},children:"1 full valuation report with same-street comps and landlord negotiation script."})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-single"),disabled:U,style:{marginTop:16,padding:"8px",borderRadius:6,backgroundColor:"rgba(255,255,255,0.08)",border:"1px solid ".concat(h.cardBorder),color:h.text,fontWeight:700,fontSize:"0.8rem",cursor:"pointer"},children:"Select (\xa37.99)"})]}),(0,o.jsxs)("div",{style:{backgroundColor:"rgba(34, 211, 238, 0.08)",border:"2px solid ".concat(h.cyan),borderRadius:10,padding:18,display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.cyan,fontWeight:700},children:"AGILE INVESTOR"}),(0,o.jsx)("div",{style:{fontSize:"1.05rem",fontWeight:800,margin:"4px 0"},children:"Investor Starter"}),(0,o.jsxs)("div",{style:{fontSize:"1.6rem",fontWeight:900,color:h.cyan,margin:"8px 0"},children:["\xa319",(0,o.jsx)("span",{style:{fontSize:"0.8rem",color:h.textDim,fontWeight:500},children:"/mo"})]}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,lineHeight:1.4},children:"15 valuation dossiers/mo, Land Registry comps, rental yields & delusion index."})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-starter"),disabled:U,style:{marginTop:16,padding:"8px",borderRadius:6,backgroundColor:h.cyan,border:"none",color:"#000",fontWeight:700,fontSize:"0.8rem",cursor:"pointer"},children:"Select (\xa319/mo)"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,border:"1px solid ".concat(h.indigo),borderRadius:10,padding:18,dis
1play:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.indigo,fontWeight:700},children:"MOST POPULAR"}),(0,o.jsx)("div",{style:{fontSize:"1.05rem",fontWeight:800,margin:"4px 0"},children:"Solo Pro"}),(0,o.jsxs)("div",{style:{fontSize:"1.6rem",fontWeight:900,color:h.indigo,margin:"8px 0"},children:["\xa349",(0,o.jsx)("span",{style:{fontSize:"0.8rem",color:h.textDim,fontWeight:500},children:"/mo"})]}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,lineHeight:1.4},children:"Unlimited UK valuations (1 seat), Land Registry sync, PDF export."})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-solo"),disabled:U,style:{marginTop:16,padding:"8px",borderRadius:6,backgroundColor:h.indigo,border:"none",color:"#fff",fontWeight:700,fontSize:"0.8rem",cursor:"pointer"},children:"Select (\xa349/mo)"})]}),(0,o.jsxs)("div",{style:{backgroundColor:"rgba(34, 197, 94, 0.08)",border:"2px solid ".concat(h.emerald),borderRadius:10,padding:18,dis
1play:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.emerald,fontWeight:700},children:"AGENCY BRANCH"}),(0,o.jsx)("div",{style:{fontSize:"1.05rem",fontWeight:800,margin:"4px 0"},children:"Agency License"}),(0,o.jsxs)("div",{style:{fontSize:"1.6rem",fontWeight:900,color:h.emerald,margin:"8px 0"},children:["\xa3199",(0,o.jsx)("span",{style:{fontSize:"0.8rem",color:h.textDim,fontWeight:500},children:"/mo"})]}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,lineHeight:1.4},children:"5 user seats, white-label branded PDF client export, landlord pitch scripts."})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-agency"),disabled:U,style:{marginTop:16,padding:"8px",borderRadius:6,backgroundColor:h.emerald,border:"none",color:"#000",fontWeight:700,fontSize:"0.8rem",cursor:"pointer"},children:"Select (\xa3199/mo)"})]}),(0,o.jsxs)("div",{style:{backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:10,padding:18,dis
1play:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontSize:"0.72rem",color:h.textDim,fontWeight:700},children:"SAVE 50%"}),(0,o.jsx)("div",{style:{fontSize:"1.05rem",fontWeight:800,margin:"4px 0"},children:"10-Pack Bundle"}),(0,o.jsx)("div",{style:{fontSize:"1.6rem",fontWeight:900,color:h.text,margin:"8px 0"},children:"\xa339.00"}),(0,o.jsx)("div",{style:{fontSize:"0.75rem",color:h.textDim,lineHeight:1.4},children:"10 valuation credits (\xa33.90 each). For auction flippers. Never expires."})]}),(0,o.jsx)("button",{onClick:()=>eV("propvaluer-pack"),disabled:U,style:{marginTop:16,padding:"8px",borderRadius:6,backgroundColor:"rgba(255,255,255,0.08)",border:"1px solid ".concat(h.cardBorder),color:h.text,fontWeight:700,fontSize:"0.8rem",cursor:"pointer"},children:"Select (\xa339.00)"})]})]}),(0,o.jsx)("div",{style:{marginTop:24,textAlign:"center",borderTop:"1px solid ".concat(h.cardBorder),paddingTop:16},children:(0,o.jsxs)("button",{onClick:()=>{er(!1),en(!0)},style:{backgroundColor:"transparent",border:"none",color:h.cyan,fontSize:"0.85rem",fontWeight:600,cursor:"pointer",textDecoration:"underline",display:"inline-flex",alignItems:"center",gap:6},children:[(0,o.jsx)("span",{children:"\uD83C\uDF9Fï¸"})," Have a Free Voucher, Demo Unlock Key, or Previous Purchase? Redeem Here"]})})]})}),eo&&(0,o.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.8)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:110,padding:20},onClick:()=>en(!1),children:(0,o.jsxs)("div",{style:{backgroundColor:"#0d0d18",border:"1px solid ".concat(h.cardBorder),borderRadius:16,maxWidth:480,width:"100%",padding:28,boxShadow:"0 25px 50px rgba(0,0,0,0.8)",position:"relative"},onClick:e=>e.stopPropagation(),children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16},children:[(0,o.jsx)("h3",{style:{fontSize:"1.2rem",fontWeight:800,margin:0},children:"Restore License & Redeem Free Voucher"}),(0,o.jsx)("button",{onClick:()=>en(!1),style:{backgroundColor:"transparent",border:"1px solid ".concat(h.cardBorder),color:h.textDim,width:30,height:30,borderRadius:"50%",cursor:"pointer"},children:"â"})]}),(0,o.jsxs)("p",{style:{color:h.textDim,fontSize:"0.85rem",lineHeight:1.5,marginBottom:20},children:["Enter your partner voucher code (e.g. ",(0,o.jsx)("strong",{style:{color:h.cyan},children:"DEMO_AGENCY_2026"}),"), developer unlock key, or Stripe purchase email / session ID to instantly unlock the tool."]}),(0,o.jsxs)("form",{onSubmit:eG,children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",fontWeight:700,color:h.textDim,marginBottom:6},children:"VOUCHER CODE, ACCOUNT EMAIL, OR STRIPE SESSION ID"}),(0,o.jsx)("input",{type:"text",placeholder:"e.g. DEMO_AGENCY_2026 or [email protected]",value:ea,onChange:e=>ei(e.target.value),style:{width:"100%",padding:"10px 14px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:8,color:h.text,fontSize:"0.9rem",marginBottom:16,boxSizing:"border-box"},required:!0}),ed&&(0,o.jsxs)("div",{style:{color:h.rose,fontSize:"0.8rem",marginBottom:14},children:["â ï¸ ",ed]}),ep&&(0,o.jsx)("div",{style:{color:h.emerald,fontSize:"0.8rem",marginBottom:14},children:ep}),(0,o.jsxs)("div",{style:{display:"flex",gap:10,justifyContent:"flex-end"},children:[(0,o.jsx)("button",{type:"button",onClick:()=>en(!1),style:{padding:"8px 16px",borderRadius:8,backgroundColor:"transparent",border:"1px solid ".concat(h.cardBorder),color:h.textDim,fontSize:"0.85rem",cursor:"pointer"},children:"Cancel"}),(0,o.jsx)("button",{type:"submit",disabled:es,style:{padding:"8px 20px",borderRadius:8,backgroundColor:h.emerald,border:"none",color:"#000",fontWeight:700,fontSize:"0.85rem",cursor:"pointer"},children:es?"Verifying...":"Verify & Unlock"})]})]})]})}),eh&&(0,o.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.82)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:115,padding:20},onClick:()=>eg(!1),children:(0,o.jsxs)("div",{style:{backgroundColor:"#0d0d18",border:"1px solid rgba(99, 102, 241, 0.45)",borderRadius:16,maxWidth:520,width:"100%",padding:28,boxShadow:"0 25px 50px rgba(0,0,0,0.85), 0 0 35px rgba(99, 102, 241, 0.25)",position:"relative"},onClick:e=>e.stopPropagation(),children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10},children:[(0,o.jsx)("span",{style:{fontSize:"1.4rem"},children:"\uD83C\uDF9Fï¸"}),(0,o.jsx)("h3",{style:{fontSize:"1.25rem",fontWeight:800,margin:0},children:"1 Free Property Valuation Voucher"})]}),(0,o.jsx)("button",{onClick:()=>eg(!1),style:{backgroundColor:"transparent",border:"1px solid ".concat(h.cardBorder),color:h.textDim,width:30,height:30,borderRadius:"50%",cursor:"pointer"},children:"â"})]}),(0,o.jsxs)("p",{style:{color:h.textDim,fontSize:"0.88rem",lineHeight:1.5,marginBottom:18},children:["Every visitor receives ",(0,o.jsx)("strong",{children:"1 complimentary, 100% full unredacted property evaluation dossier"})," (normally \xa37.99 single or \xa349/mo). No credit card required."]}),(0,o.jsxs)("div",{style:{backgroundColor:"rgba(99, 102, 241, 0.08)",border:"1px solid rgba(99, 102, 241, 0.25)",borderRadius:10,padding:14,marginBottom:20},children:[(0,o.jsx)("div",{style:{fontSize:"0.78rem",fontWeight:700,color:h.indigo,marginBottom:8,textTransform:"uppercase"},children:"Your 1 Free Try Unlocks:"}),(0,o.jsxs)("ul",{style:{margin:0,paddingLeft:18,fontSize:"0.82rem",color:h.text,lineHeight:1.7},children:[(0,o.jsxs)("li",{children:[(0,o.jsx)("strong",{children:"Full Fair Market Value & Corridor"})," (P10 Liquidation to P90 Ceiling)"]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("strong",{children:"All 8 HM Land Registry Sold Comparables"})," with Size Parity"]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("strong",{children:"Vendor Overpricing & Delusion Audit"})," with Pitch Strategies"]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("strong",{children:"Micro-Market Velocity HUD"})," and 4-Stage Objection Scripts"]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("strong",{children:"PRA Institutional BTL Stress Testing"})," & Gross Yield Matrix"]})]})]}),ey&&(0,o.jsxs)("div",{style:{color:h.rose,fontSize:"0.8rem",marginBottom:14,backgroundColor:"rgba(239, 68, 68, 0.1)",padding:"8px 12px",borderRadius:6},children:["â ï¸ ",ey]}),e_&&(0,o.jsx)("div",{style:{color:h.emerald,fontSize:"0.82rem",marginBottom:14,backgroundColor:"rgba(34, 197, 94, 0.1)",padding:"8px 12px",borderRadius:6,fontWeight:700},children:e_}),(0,o.jsx)("button",{type:"button",onClick:()=>eO("free_demo_unlock"),disabled:ex,style:{width:"100%",padding:"12px",borderRadius:8,backgroundColor:h.emerald,border:"none",color:"#000",fontWeight:800,fontSize:"0.92rem",cursor:"pointer",boxShadow:"0 0 20px rgba(34, 197, 94, 0.3)",marginBottom:16,display:"flex",alignItems:"center",justifyContent:"center",gap:8},children:ex?"Activating Voucher...":"⨠Activate 1 Free Full Evaluation Now (1-Click)"}),(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,margin:"14px 0",color:h.textDim,fontSize:"0.75rem"},children:[(0,o.jsx)("div",{style:{flex:1,height:1,backgroundColor:h.cardBorder}}),(0,o.jsx)("span",{children:"OR ENTER PARTNER CODE"}),(0,o.jsx)("div",{style:{flex:1,height:1,backgroundColor:h.cardBorder}})]}),(0,o.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,o.jsx)("input",{type:"text",placeholder:"e.g. DEMO_AGENCY_2026 or 1_FREE_TRY",value:ef,onChange:e=>eu(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),eO(ef))},style:{flex:1,padding:"9px 12px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:8,color:h.text,fontSize:"0.85rem",outline:"none"}}),(0,o.jsx)("button",{type:"button",onClick:()=>eO(ef),disabled:ex||!ef.trim(),style:{padding:"9px 16px",borderRadius:8,backgroundColor:h.indigo,border:"none",color:"#fff",fontWeight:700,fontSize:"0.82rem",cursor:"pointer",whiteSpace:"nowrap"},children:"Redeem"})]})]})}),ez&&(0,o.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.8)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:100,padding:20},onClick:()=>eN(!1),children:(0,o.jsxs)("div",{style:{backgroundColor:"#0d0d18",border:"1px solid ".concat(h.cardBorder),borderRadius:16,maxWidth:600,width:"100%",padding:30,boxShadow:"0 25px 50px rgba(0,0,0,0.8)",position:"relative"},onClick:e=>e.stopPropagation(),children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:20},children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("h3",{style:{fontSize:"1.25rem",fontWeight:800,margin:0,display:"flex",alignItems:"center",gap:8},children:[(0,o.jsx)("span",{children:"\uD83C\uDFE2"})," Agency Branch Letterhead & PDF Branding"]}),(0,o.jsx)("p",{style:{color:h.textDim,fontSize:"0.82rem",margin:"4px 0 0 0"},children:"Configure the white-label branding printed on official client valuation dossiers."})]}),(0,o.jsx)("button",{onClick:()=>eN(!1),style:{backgroundColor:"transparent",border:"1px solid ".concat(h.cardBorder),color:h.textDim,width:32,height:32,borderRadius:"50%",cursor:"pointer"},children:"â"})]}),(0,o.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:14},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,fontWeight:700,marginBottom:4},children:"ESTATE AGENCY PRACTICE NAME"}),(0,o.jsx)("input",{type:"text",value:eA,onChange:e=>ek(e.target.value),style:{width:"100%",padding:"8px 12px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.9rem",boxSizing:"border-box"}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,fontWeight:700,marginBottom:4},children:"SENIOR VALUER / BRANCH DIRECTOR"}),(0,o.jsx)("input",{type:"text",value:eW,onChange:e=>eR(e.target.value),style:{width:"100%",padding:"8px 12px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.9rem",boxSizing:"border-box"}})]}),(0,o.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:12},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,fontWeight:700,marginBottom:4},children:"BRANCH TELEPHONE"}),(0,o.jsx)("input",{type:"text",value:eE,onChange:e=>ew(e.target.value),style:{width:"100%",padding:"8px 12px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.85rem",boxSizing:"border-box"}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,fontWeight:700,marginBottom:4},children:"OFFICIAL EMAIL"}),(0,o.jsx)("input",{type:"text",value:eD,onChange:e=>eB(e.target.value),style:{width:"100%",padding:"8px 12px",backgroundColor:h.surface,border:"1px solid ".concat(h.cardBorder),borderRadius:6,color:h.text,fontSize:"0.85rem",boxSizing:"border-box"}})]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{style:{display:"block",fontSize:"0.75rem",color:h.textDim,fontWeight:700,marginBottom:6},children:"PROFESSIONAL ACCREDITATIONS"}),(0,o.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:8},children:["RICS Regulated Firm","NAEA Propertymark Protected","The Property Ombudsman","ARLA Propertymark","SafeAgent Accredited"].map((e,t)=>{let r=eT.includes(e);return(0,o.jsxs)("button",{type:"button",onClick:()=>{r?eq(eT.filter(t=>t!==e)):eq([...eT,e])},style:{backgroundColor:r?"rgba(34, 197, 94, 0.15)":h.surface,border:"1px solid ".concat(r?h.emerald:h.cardBorder),color:r?h.emerald:h.textDim,fontSize:"0.75rem",fontWeight:600,padding:"5px 10px",borderRadius:6,cursor:"pointer"},children:[r?"â ":"+ "," ",e]},t)})})]})]}
1),(0,o.jsx)("div",{style:{marginTop:24,display:"flex",justifyContent:"flex-end",gap:10},children:(0,o.jsx)("button",{onClick:()=>eN(!1),style:{backgroundColor:h.emerald,color:"#000",fontWeight:800,fontSize:"0.85rem",padding:"10px 20px",borderRadius:8,border:"none",cursor:"pointer"},children:"Save Agency Profile"})})]})})]})]}),I&&(0,o.jsxs)("div",{className:"propval-print-dossier",style:{backgroundColor:"#ffffff",color:"#0f172a",fontFamily:'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif',padding:"0",margin:"0",width:"100%",boxSizing:"border-box"},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",borderBottom:"2px solid #0f172a",paddingBottom:"14px",marginBottom:"16px"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontSize:"22px",fontWeight:900,letterSpacing:"-0.02em",color:"#0f172a",textTransform:"uppercase"},children:eA}),(0,o.jsx)("div",{style:{fontSize:"11px",fontWeight:700,color:"#475569",letterSpacing:"0.04em",marginTop:"2px",textTransform:"uppercase"},children:"Independent Chartered Surveyors & Residential Valuation Specialists"}),(0,o.jsxs)("div",{style:{fontSize:"10px",color:"#64748b",marginTop:"4px"},children:["Senior Valuer: ",(0,o.jsx)("strong",{children:eW})," ⢠Direct: ",eE," ⢠",eD]}),(0,o.jsx)("div",{style:{display:"flex",gap:"8px",marginTop:"6px"},children:eT.map((e,t)=>(0,o.jsxs)("span",{style:{fontSize:"9px",fontWeight:700,color:"#1e3a8a",textTransform:"uppercase"},children:["â ",e]},t))})]}),(0,o.jsxs)("div",{style:{textAlign:"right",border:"1.5px solid #0f172a",padding:"8px 12px",borderRadius:"4px"},children:[(0,o.jsx)("div",{style:{fontSize:"12px",fontWeight:900,color:"#1e3a8a",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Valuation Dossier"}),(0,o.jsxs)("div",{style:{fontSize:"9px",color:"#475569",marginTop:"2px"},children:["Ref: ",(0,o.jsxs)("strong",{children:["PV-2026-UK-",(I.target_property.postcode||x).replace(/\s+/g,"")]})]}),(0,o.jsxs)("div",{style:{fontSize:"9px",color:"#475569"},children:["Date: ",(0,o.jsx)("strong",{children:new Date().toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"})})]}),(0,o.jsx)("div",{style:{fontSize:"9px",color:"#166534",fontWeight:700,marginTop:"2px"},children:"RICS Red Book Compliant"})]})]}),(0,o.jsxs)("div",{style:{backgroundColor:"#f8fafc",border:"1px solid #cbd5e1",borderRadius:"6px",padding:"12px 14px",marginBottom:"16px"},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",marginBottom:"8px"},children:[(0,o.jsx)("div",{style:{fontSize:"18px",fontWeight:800,color:"#0f172a"},children:I.target_property.address||l}),(0,o.jsxs)("div",{style:{fontSize:"11px",fontWeight:800,color:"#1e3a8a"},children:["POSTCODE: ",I.target_property.postcode||x]})]}),(0,o.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"10px",fontSize:"10.5px"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{style:{color:"#64748b",textTransform:"uppercase",fontWeight:600},children:"Property Type:"})," ",(0,o.jsx)("strong",{style:{color:"#0f172a"},children:y.toUpperCase()})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{style:{color:"#64748b",textTransform:"uppercase",fontWeight:600},children:"Accommodation:"})," ",(0,o.jsxs)("strong",{style:{color:"#0f172a"},children:[_," Bed, ",v," Bath"]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{style:{color:"#64748b",textTransform:"uppercase",fontWeight:600},children:"Floor Area:"})," ",(0,o.jsxs)("strong",{style:{color:"#0f172a"},children:[A," Sq Ft (",Math.round(.092903*A)," Sq M)"]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{style:{color:"#64748b",textTransform:"uppercase",fontWeight:600},children:"Condition & Tenure:"})," ",(0,o.jsxs)("strong",{style:{color:"#0f172a"},children:[W.toUpperCase()," ⢠",E.toUpperCase()]})]})]})]}),(0,o.jsxs)("div",{style:{marginBottom:"16px"},children:[(0,o.jsx)("div",{style:{fontSize:"11px",fontWeight:800,textTransform:"uppercase",color:"#475569",letterSpacing:"0.05em",marginBottom:"8px"},children:"Determined Valuation Corridor & Pricing Guidance"}),(0,o.jsxs)("div",{style:{display:"flex",gap:"10px",width:"100%"},children:[(0,o.jsxs)("div",{style:{flex:1,minWidth:0,border:"1.5px solid #0f172a",borderRadius:"6px",padding:"10px 12px",backgroundColor:"#ffffff"},children:[(0,o.jsx)("div",{style:{fontSize:"9px",fontWeight:700,color:"#64748b",textTransform:"uppercase",whiteSpace:"nowrap"},children:"FAIR MARKET VALUE (P50)"}),(0,o.jsxs)("div",{style:{fontSize:"20px",fontWeight:900,color:"#0f172a",marginTop:"3px",whiteSpace:"nowrap",letterSpacing:"-0.02em"}
1,children:["\xa3",I.valuation_p50_fair_market.toLocaleString()]}),(0,o.jsxs)("div",{style:{fontSize:"9.5px",color:"#475569",marginTop:"2px",whiteSpace:"nowrap"},children:["\xa3",I.avg_price_per_sqft,"/sq ft median"]})]}),(0,o.jsxs)("div",{style:{flex:1,minWidth:0,border:"1.5px solid #1e3a8a",borderRadius:"6px",padding:"10px 12px",backgroundColor:"#f0fdf4"},children:[(0,o.jsx)("div",{style:{fontSize:"9px",fontWeight:700,color:"#166534",textTransform:"uppercase",whiteSpace:"nowrap"},children:"RECOMMENDED ASKING GUIDE"}),(0,o.jsxs)("div",{style:{fontSize:"20px",fontWeight:900,color:"#166534",marginTop:"3px",whiteSpace:"nowrap",letterSpacing:"-0.02em"},children:["\xa3",eK.toLocaleString()]}),(0,o.jsx)("div",{style:{fontSize:"9.5px",color:"#166534",marginTop:"2px",whiteSpace:"nowrap"},children:"+2.5% negotiation buffer"})]}),(0,o.jsxs)("div",{style:{flex:1,minWidth:0,border:"1px solid #cbd5e1",borderRadius:"6px",padding:"10px 12px",backgroundColor:"#ffffff"},children:[(0,o.jsx)("div",{style:{fontSize:"9px",fontWeight:700,color:"#64748b",textTransform:"uppercase",whiteSpace:"nowrap"},children:"21-DAY LIQUIDATION (P10)"}),(0,o.jsxs)("div",{style:{fontSize:"17px",fontWeight:800,color:"#334155",marginTop:"3px",whiteSpace:"nowrap"},children:["\xa3",I.valuation_p10_liquidation.toLocaleString()]}),(0,o.jsx)("div",{style:{fontSize:"9.5px",color:"#64748b",marginTop:"2px",whiteSpace:"nowrap"},children:"Clearing floor"})]}),(0,o.jsxs)("div",{style:{flex:1,minWidth:0,border:"1px solid #cbd5e1",borderRadius:"6px",padding:"10px 12px",backgroundColor:"#ffffff"},children:[(0,o.jsx)("div",{style:{fontSize:"9px",fontWeight:700,color:"#64748b",textTransform:"uppercase",whiteSpace:"nowrap"},children:"ASPIRATIONAL CEILING (P90)"}),(0,o.jsxs)("div",{style:{fontSize:"17px",fontWeight:800,color:"#334155",marginTop:"3px",whiteSpace:"nowrap"},children:["\xa3",I.valuation_p90_optimistic.toLocaleString()]}),(0,o.jsx)("div",{style:{fontSize:"9.5px",color:"#64748b",marginTop:"2px",whiteSpace:"nowrap"},children:"Upper marketing boundary"})]})]}),(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:"#f8fafc",border:"1px solid #e2e8f0",borderRadius:"6px",padding:"8px 12px",marginTop:"8px",fontSize:"10.5px"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{style:{color:"#64748b"},children:"Estimated Market Rent:"})," ",(0,o.jsxs)("strong",{style:{color:"#0f172a"},children:["\xa3",I.estimated_monthly_rent.toLocaleString(),"/pcm"]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{style:{color:"#64748b"},children:"Gross Rental Yield:"})," ",(0,o.jsxs)("strong",{style:{color:"#166534"},children:[I.gross_rental_yield_pct,"% Gross Yield"]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{style:{color:"#64748b"},children:"Micro-Market Clearance:"})," ",(0,o.jsxs)("strong",{style:{color:"#0f172a"},children:[(null==(a=I.market_metrics)?void 0:a.median_days_on_market)||28," Days to Offer"]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{style:{color:"#64748b"},children:"Reliability Index:"})," ",(0,o.jsxs)("strong",{style:{color:"#1e3a8a"},children:[I.confidence_score,"% (",I.confidence_grade,")"]})]})]})]}),(0,o.jsxs)("div",{style:{marginBottom:"16px"},children:[(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",marginBottom:"6px"},children:[(0,o.jsxs)("div",{style:{fontSize:"11px",fontWeight:800,textTransform:"uppercase",color:"#475569",letterSpacing:"0.05em"},children:["HM Land Registry Verified Comparable Evidence (",I.street_comps_count," Same-Street Comps)"]}),(0,o.jsx)("div",{style:{fontSize:"9.5px",color:"#64748b"},children:"Dual-source calibration: Land Registry Price Paid + Nationwide HPI"})]}),(0,o.jsxs)("table",{style:{width:"100%",borderCollapse:"collapse",fontSize:"10px",border:"1px solid #cbd5e1"},children:[(0,o.jsx)("thead",{children:(0,o.jsxs)("tr",{style:{backgroundColor:"#0f172a",color:"#ffffff",textAlign:"left"},children:[(0,o.jsx)("th",{style:{padding:"6px 8px",width:"34%"},children:"COMPARABLE PROPERTY ADDRESS"}),(0,o.jsx)("th",{style:{padding:"6px 8px",width:"14%"},children:"SOLD DATE"}),(0,o.jsx)("th",{style:{padding:"6px 8px",width:"14%"},children:"REGISTERED PRICE"}),(0,o.jsx)("th",{style:{padding:"6px 8px",width:"14%"},children:"ADJUSTED PRICE"}),(0,o.jsx)("th",{style:{padding:"6px 8px",width:"10%"},children:"\xa3/SQ FT"}),(0,o.jsx)("th",{style:{padding:"6px 8px",width:"14%"},children:"STATUS & WEIGHT"})]})}),(0,o.jsx)("tbody",{children:I.evaluated_comps.slice(0,6).map((e,t)=>(0,o.jsxs)("tr",{style:{borderBottom:"1px solid #e2e8f0",backgroundColor:t%2==0?"#ffffff"
1:"#f8fafc"},children:[(0,o.jsx)("td",{style:{padding:"6px 8px",fontWeight:600,color:"#0f172a"},children:e.address}),(0,o.jsx)("td",{style:{padding:"6px 8px",color:"#475569"},children:e.date_or_status}),(0,o.jsxs)("td",{style:{padding:"6px 8px",whiteSpace:"nowrap"},children:["\xa3",e.raw_price.toLocaleString()]}),(0,o.jsx)("td",{style:{padding:"6px 8px",fontWeight:700,color:e.is_outlier?"#64748b":"#166534",whiteSpace:"nowrap"},children:e.is_outlier?"Excluded (Anomaly)":"\xa3".concat(e.adjusted_price.toLocaleString())}),(0,o.jsxs)("td",{style:{padding:"6px 8px",whiteSpace:"nowrap"},children:["\xa3",e.price_per_sqft]}),(0,o.jsx)("td",{style:{padding:"6px 8px"},children:e.badges.slice(0,1).map((e,t)=>(0,o.jsx)("span",{style:{fontSize:"8.5px",fontWeight:700,padding:"2px 5px",borderRadius:"3px",backgroundColor:e.includes("OUTLIER")?"#fee2e2":e.includes("SAME STREET")?"#dcfce7":"#f1f5f9",color:e.includes("OUTLIER")?"#991b1b":e.includes("SAME STREET")?"#166534":"#475569"},children:e},t))})]},e.id))})]})]}),(0,o.jsxs)("div",{style:{marginBottom:"16px"},children:[(0,o.jsx)("div",{style:{fontSize:"11px",fontWeight:800,textTransform:"uppercase",color:"#475569",letterSpacing:"0.05em",marginBottom:"6px"},children:"Executive Surveyor Commentary & Presentation Guidance"}),(0,o.jsx)("div",{style:{borderLeft:"3.5px solid #1e3a8a",padding:"8px 12px",backgroundColor:"#f8fafc",border:"1px solid #e2e8f0",borderLeftColor:"#1e3a8a",borderRadius:"4px",fontSize:"10px",lineHeight:1.5,color:"#334155"},children:I.executive_cma_summary})]}),(0,o.jsxs)("div",{style:{borderTop:"1px solid #cbd5e1",paddingTop:"12px",marginTop:"16px"},children:[(0,o.jsxs)("div",{style:{fontSize:"9px",color:"#64748b",lineHeight:1.4,marginBottom:"12px"},children:[(0,o.jsx)("strong",{children:"Valuation Methodology & Compliance Notice:"})," This valuation opinion has been prepared in accordance with the mandatory requirements of the RICS Valuation â Global Standards (the âRed Book Globalâ). The valuation calculation utilizes a deterministic multi-factor hedonic regression engine incorporating HM Land Registry Price Paid transaction records, Nationwide House Price Index time-adjustments, square footage size-parity calibrations, and micro-market liquidity velocity. Values represent an unencumbered freehold/long-leasehold interest with vacant possession, assuming good and marketable title."]}),(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-end",paddingTop:"8px"},children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{fontSize:"9.5px",color:"#64748b",textTransform:"uppercase",fontWeight:600},children:"Prepared & Certified by:"}),(0,o.jsx)("div",{style:{fontSize:"13px",fontWeight:800,color:"#0f172a",marginTop:"2px"},children:eW}),(0,o.jsxs)("div",{style:{fontSize:"9.5px",color:"#475569"},children:["Senior RICS Registered Valuer (Reg No: RV-940218) ⢠",eA]}),(0,o.jsxs)("div",{style:{fontSize:"9px",color:"#64748b",marginTop:"2px"},children:["Date of Assessment: ",new Date().toLocaleDateString("en-GB")]})]}),(0,o.jsx)("div",{style:{textAlign:"right"},children:(0,o.jsxs)("div",{style:{display:"inline-block",border:"1.5px dashed #0f172a",borderRadius:"4px",padding:"6px 14px",textAlign:"center",backgroundColor:"#ffffff"},children:[(0,o.jsx)("div",{style:{fontSize:"8.5px",fontWeight:800,letterSpacing:"0.06em",color:"#0f172a",textTransform:"uppercase"},children:"OFFICIAL BRANCH VALUATION SEAL"}),(0,o.jsx)("div",{style:{fontSize:"9.5px",fontWeight:900,color:"#1e3a8a",marginTop:"2px"},children:eA.toUpperCase()}),(0,o.jsx)("div",{style:{fontSize:"7.5px",color:"#64748b"},children:"VERIFIED DESKTOP ASSESSMENT ⢠2026"})]})})]})]})]})]})}},9979:(e,t,r)=>{"use strict";r.d(t,{bO:()=>n,fK:()=>a}),r(5376).Buffer;let o="infinity_pro_token";function n(){try{var e;let t=localStorage.getItem(o);if(!t)return null;let r=JSON.parse(t);if(!((e=r)&&"object"==typeof e&&"string"==typeof e.email&&e.email.length>3&&e.email.includes("@")&&Number.isInteger(e.exp)&&"string"==typeof e.sig&&64===e.sig.length&&/^[a-f0-9]{64}$/i.test(e.sig)))return null;return r}catch(e){return null}}function a(e){localStorage.setItem(o,JSON.stringify(e)),e.email&&localStorage.setItem("infinity_pro_email",e.email)}}},e=>{e.O(0,[2619,5376,8441,1255,7358],()=>e(e.s=1733)),_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.