@getcredify/credify-insurance-widget 1.44.0 → 1.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +4 -4
  2. package/dist/{address-BEVwov8q-CuX4iOBo.js → address-BEVwov8q-DDhbGo15.js} +1 -1
  3. package/dist/{api-DYP3b3gY.js → api-CWMwIjKu.js} +1 -1
  4. package/dist/{car-CR69ZjJ2.js → car-B83tx4O2.js} +1 -1
  5. package/dist/{check-Bo3wjuln.js → check-Bu17NqRV.js} +1 -1
  6. package/dist/{copy-applicant-offer-CqzfNhkJ-C01V9k7v.js → copy-applicant-offer-CqzfNhkJ-DLXjbOLT.js} +3 -3
  7. package/dist/{copy-from-record-BNP6CFFR-B0wsM313.js → copy-from-record-BNP6CFFR-6SC1msxp.js} +4 -4
  8. package/dist/{core-CrEw_I-E-D_5b2Ij3.js → core-CrEw_I-E-CsRUhlZy.js} +1 -1
  9. package/dist/{coverageDerivation-CV2ORogj-CEEm5ZWr.js → coverageDerivation-CV2ORogj-De8x_Bpm.js} +1 -1
  10. package/dist/{fixtures-ijbZ16Zg-C9Egb9wf.js → fixtures-ijbZ16Zg-9n-90hL2.js} +1 -1
  11. package/dist/{household-prefill-CmtB9R3R-D86kYzTo.js → household-prefill-CmtB9R3R-Bw0M1Q50.js} +4 -4
  12. package/dist/{householdPrefill-DLm3pxFH-BWVN4BLJ.js → householdPrefill-DLm3pxFH-BQibTi9l.js} +1 -1
  13. package/dist/iframe/assets/{address-BEVwov8q-BckjuR7s.js → address-BEVwov8q-BiiIpq2c.js} +1 -1
  14. package/dist/iframe/assets/{car-DKll0kXc.js → car-cifgdWXX.js} +1 -1
  15. package/dist/iframe/assets/{check-B9ojZKSs.js → check-TbHiw7rw.js} +1 -1
  16. package/dist/iframe/assets/{copy-applicant-offer-CqzfNhkJ-DJkKq7un.js → copy-applicant-offer-CqzfNhkJ-CVahKn8I.js} +1 -1
  17. package/dist/iframe/assets/{copy-from-record-BNP6CFFR-Dk7QPvpr.js → copy-from-record-BNP6CFFR-Cn7Nr7XT.js} +1 -1
  18. package/dist/iframe/assets/{core-CrEw_I-E-Cgrp_zkJ.js → core-CrEw_I-E-DJNj5Zzo.js} +1 -1
  19. package/dist/iframe/assets/{coverageDerivation-CV2ORogj-BaQlJ22H.js → coverageDerivation-CV2ORogj-B7aNPljp.js} +1 -1
  20. package/dist/iframe/assets/{dob-calendar-RIJ5S6YU-C3ZYmy3v.js → dob-calendar-RIJ5S6YU-CdxMGaLz.js} +1 -1
  21. package/dist/iframe/assets/{fixtures-ijbZ16Zg-B0KKADMf.js → fixtures-ijbZ16Zg-NuD06-4v.js} +1 -1
  22. package/dist/iframe/assets/{household-prefill-CmtB9R3R-DtfByJ8T.js → household-prefill-CmtB9R3R-0b9HYzDA.js} +1 -1
  23. package/dist/iframe/assets/{householdPrefill-DLm3pxFH-DNBBTd54.js → householdPrefill-DLm3pxFH-DzyOYQr_.js} +1 -1
  24. package/dist/iframe/assets/{iframe-Chy4dD4i.js → iframe-Be9NY0jq.js} +3 -3
  25. package/dist/iframe/assets/{index-D81Toecg.js → index-BknEWAR5.js} +1 -1
  26. package/dist/iframe/assets/{intake-review-panel-D27t8CZO-CyXFTi_6.js → intake-review-panel-D27t8CZO-QuAzDm1O.js} +1 -1
  27. package/dist/iframe/assets/{mockJump-hNzgzUmO-B4HifTQZ.js → mockJump-hNzgzUmO-CQ7eZ354.js} +1 -1
  28. package/dist/iframe/assets/{payload-DrGFAxms-CKeiScMv.js → payload-DrGFAxms-DIGXNw5l.js} +1 -1
  29. package/dist/iframe/assets/{question-list-DFjWa8ZA-5HX-Q_DR.js → question-list-DFjWa8ZA-DbabOwyP.js} +3 -3
  30. package/dist/iframe/assets/{rates-panel-BSFiWEZX-CUbwWzwJ.js → rates-panel-BSFiWEZX-GsRBXu7R.js} +3 -3
  31. package/dist/iframe/assets/{review-panel-C_WxX33U-BnudlA3G.js → review-panel-C_WxX33U-CxzpQutt.js} +1 -1
  32. package/dist/iframe/assets/{stage-knShj71W-BrRsgDlE.js → stage-knShj71W-CEkRTdvw.js} +1 -1
  33. package/dist/iframe/assets/{validation-D42QXxck-DJUS31-5.js → validation-D42QXxck-DrIBn9be.js} +1 -1
  34. package/dist/iframe/assets/{vehicleCoverage-CBWORI1l-Bs6c4Xhh.js → vehicleCoverage-CBWORI1l-BqOK33e3.js} +1 -1
  35. package/dist/iframe/assets/{visibility-CKRGC3Il-DVTBboJH.js → visibility-CKRGC3Il-CLpoN3cd.js} +1 -1
  36. package/dist/iframe/iframe.html +1 -1
  37. package/dist/{index-7nmHdjZ4.js → index-CY0roJE_.js} +1 -1
  38. package/dist/index.es.js +1 -1
  39. package/dist/index.umd.js +1 -1
  40. package/dist/{intake-review-panel-D27t8CZO-CKLXjEb0.js → intake-review-panel-D27t8CZO-CxiXytFS.js} +5 -5
  41. package/dist/{mockJump-hNzgzUmO-De8oea8T.js → mockJump-hNzgzUmO-CsTzthio.js} +1 -1
  42. package/dist/{payload-DrGFAxms-CivFCNuj.js → payload-DrGFAxms-DmfWvvu_.js} +2 -2
  43. package/dist/{question-list-DFjWa8ZA-sWgoo34K.js → question-list-DFjWa8ZA-B8f7Jf6J.js} +13 -13
  44. package/dist/{rates-panel-BSFiWEZX-D2Z8IzSh.js → rates-panel-BSFiWEZX-DdETQZ83.js} +5 -5
  45. package/dist/{review-panel-C_WxX33U-qkUKI77r.js → review-panel-C_WxX33U-CZu6We48.js} +3 -3
  46. package/dist/{stage-knShj71W-Cndh8rxW.js → stage-knShj71W-XIJ7bUoN.js} +4 -4
  47. package/dist/utils/branding.d.ts +1 -1
  48. package/dist/{validation-D42QXxck-DFkyiEd-.js → validation-D42QXxck-BPUVtzkv.js} +1 -1
  49. package/dist/{vehicleCoverage-CBWORI1l-Br309K1G.js → vehicleCoverage-CBWORI1l-DZmjvVjU.js} +3 -3
  50. package/dist/{visibility-CKRGC3Il-SsuTwW3e.js → visibility-CKRGC3Il-_72Koc98.js} +1 -1
  51. package/dist/{widget-Bc0CD2Yh.js → widget-CP6ApixH.js} +32 -32
  52. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stage-knShj71W-BrRsgDlE.js","assets/types-LUGvo5ic-CB-wcgK3.js","assets/visibility-CKRGC3Il-DVTBboJH.js","assets/validation-D42QXxck-DJUS31-5.js","assets/vehicleCoverage-CBWORI1l-Bs6c4Xhh.js","assets/payload-DrGFAxms-CKeiScMv.js","assets/address-BEVwov8q-BckjuR7s.js","assets/question-list-DFjWa8ZA-5HX-Q_DR.js","assets/core-CrEw_I-E-Cgrp_zkJ.js","assets/householdPrefill-DLm3pxFH-DNBBTd54.js","assets/copy-from-record-BNP6CFFR-Dk7QPvpr.js","assets/check-B9ojZKSs.js","assets/coverageDerivation-CV2ORogj-BaQlJ22H.js","assets/index-D81Toecg.js","assets/car-DKll0kXc.js","assets/household-prefill-CmtB9R3R-DtfByJ8T.js","assets/copy-applicant-offer-CqzfNhkJ-DJkKq7un.js","assets/review-panel-C_WxX33U-BnudlA3G.js","assets/intake-review-panel-D27t8CZO-CyXFTi_6.js","assets/rates-panel-BSFiWEZX-CUbwWzwJ.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stage-knShj71W-CEkRTdvw.js","assets/types-LUGvo5ic-CB-wcgK3.js","assets/visibility-CKRGC3Il-CLpoN3cd.js","assets/validation-D42QXxck-DrIBn9be.js","assets/vehicleCoverage-CBWORI1l-BqOK33e3.js","assets/payload-DrGFAxms-DIGXNw5l.js","assets/address-BEVwov8q-BiiIpq2c.js","assets/question-list-DFjWa8ZA-DbabOwyP.js","assets/core-CrEw_I-E-DJNj5Zzo.js","assets/householdPrefill-DLm3pxFH-DzyOYQr_.js","assets/copy-from-record-BNP6CFFR-Cn7Nr7XT.js","assets/check-TbHiw7rw.js","assets/coverageDerivation-CV2ORogj-B7aNPljp.js","assets/index-BknEWAR5.js","assets/car-cifgdWXX.js","assets/household-prefill-CmtB9R3R-0b9HYzDA.js","assets/copy-applicant-offer-CqzfNhkJ-CVahKn8I.js","assets/review-panel-C_WxX33U-CxzpQutt.js","assets/intake-review-panel-D27t8CZO-QuAzDm1O.js","assets/rates-panel-BSFiWEZX-GsRBXu7R.js"])))=>i.map(i=>d[i]);
2
2
  function __(a,r){for(var l=0;l<r.length;l++){const s=r[l];if(typeof s!="string"&&!Array.isArray(s)){for(const c in s)if(c!=="default"&&!(c in a)){const f=Object.getOwnPropertyDescriptor(s,c);f&&Object.defineProperty(a,c,f.get?f:{enumerable:!0,get:()=>s[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))s(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const p of f.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&s(p)}).observe(document,{childList:!0,subtree:!0});function l(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function s(c){if(c.ep)return;c.ep=!0;const f=l(c);fetch(c.href,f)}})();function E_(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Yc={exports:{}},cl={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
@@ -103,5 +103,5 @@ ${f}}
103
103
  *
104
104
  * This source code is licensed under the ISC license.
105
105
  * See the LICENSE file in the root directory of this source tree.
106
- */const zM=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],BM=UM("triangle-alert",zM);var pv={auto_prior_carrier_name:{NoPriorInsurance:"No Prior Insurance",TwentyFirstCentury:"21st Century",ACentral:"A.Central",AAA:"AAA",AARP:"AARP",Acadia:"Acadia",Ace:"Ace",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",Aegis:"Aegis",AIC:"AIC",AIG:"AIG",AlfaAlliance:"Alfa Alliance",Allied:"Allied",Allstate:"Allstate",AmericaFirst:"America First",AmericanCommerce:"American Commerce",AmericanFamily:"American Family",Amica:"Amica",ASILloyds:"ASI Lloyds",AustinMutual:"Austin Mutual",Autoone:"Autoone",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bankers:"Bankers",BeaconNational:"Beacon National",BrethernMutual:"Brethern Mutual",BristolWest:"Bristol West",CapitalInsuranceGroup:"Capital Insurance Group",Celina:"Celina",CentralMutualOfOH:"Central Mutual of OH",Chubb:"Chubb",Cincinnati:"Cincinnati",Clearcover:"Clearcover",CNA:"CNA",ColonialPenn:"Colonial Penn",ColoradoCasualty:"Colorado Casualty",Columbia:"Columbia",CommerceWest:"Commerce West",CommonwealthCasualty:"Commonwealth Casualty",Ameriprise:"CONNECT",ConstitutionalCasualty:"Constitutional Casualty",Cornerstone:"Cornerstone",Countrywide:"Countrywide",CSE:"CSE",Cumberland:"Cumberland",Dairyland:"Dairyland",Deerbrook:"Deerbrook",Direct:"Direct",Donegal:"Donegal",Drive:"Drive",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",Explorer:"Explorer",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",Foremost:"Foremost",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",GreatAmerican:"Great American",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harbor:"Harbor",Harleysville:"Harleysville",HartfordOMNI:"Hartford OMNI",Hartford:"Hartford",HastingsMutual:"Hastings Mutual",HawkeyeSecurity:"Hawkeye Security",HDI:"HDI",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",IFA:"IFA",ImperialCasualty:"Imperial Casualty",IndianaFarmers:"Indiana Farmers",Indiana:"Indiana",Infinity:"Infinity",Insurequest:"Insurequest",Integon:"Integon",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",MainStreetAmerica:"Main Street America",Mapfre:"Mapfre",Mendota:"Mendota",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",Metropolitan:"Metropolitan",MidContinent:"Mid-Continent",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MtWashington:"Mt. Washington",MutualBenefit:"Mutual Benefit",NationalGeneral:"National General",Nationwide:"Nationwide",NewYorkCentralMutual:"New York Central Mutual",NJManufacturers:"NJ Manufacturers",NJSkylands:"NJ Skylands",Northstar:"Northstar",Occidental:"Occidental",OhioCasualty:"Ohio Casualty",OmahaPC:"Omaha P/C",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",Palisades:"Palisades",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",Pemco:"Pemco",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Proformance:"Proformance",Progressive:"Progressive",Prudential:"Prudential",Republic:"Republic",RockfordMutual:"Rockford Mutual",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",Selective:"Selective",SouthernCounty:"Southern County",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StarCasualty:"Star Casualty",StateAuto:"State Auto",StateFarm:"State Farm",Fidelity:"Stillwater",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Victoria:"Victoria",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Windsor:"Windsor",Zurich:"Zurich",OtherStandard:"Other Standard",OtherNonStandard:"Other Non-Standard"},auto_prior_liability_limit:{Dontknow:"Don't Know",ThirtyToSixty:"30/60",FiftyToHundred:"50/100",HundredToHundred:"100/100",HundredToThreeHundred:"100/300",TwoHundredFiftyToFiveHundred:"250/500",ThreeHundredToThreeHundred:"300/300",FiveHundredToFiveHundred:"500/500",HundredCSL:"100CSL",ThreeHundredCSL:"300CSL",FiveHundredCSL:"500CSL"},auto_reason_for_no_insurance:{ActiveMilitaryDuty:"Active Military Duty",DrivingCompanyCar:"Driving A Company Car",DrivingCarOwnedByRelative:"Driving A Car Owned By A Relative",HasNotOwnedOrOperatedVehicle:"Has Not Owned Or Operated A Vehicle",OwnedVehParkedStoredOffRoadNotDriven:"Owned Veh Parked/Stored Off Road/Not Driven",NonPayment:"Non-Payment",Other:"Other"},residence_type:{OwnHome:"Own Home",OwnCondo:"Own Condo",RentHome:"Rent Home",RentCondo:"Rent Condo",RentApartment:"Rent Apartment",LiveWithParents:"Live With Parents"},home_prior_carrier_name:{TwentyFirstCentury:"21st Century",AAA:"AAA",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",AIG:"AIG",AlfaAlliance:"Alfa Alliance",AllianzOfAmerica:"Allianz of America",AllianzOfAmericaJefferson:"Allianz of America-Jefferson",Allied:"Allied",Allmerica:"Allmerica",Allstate:"Allstate",AmericaFirst:"America First",AmericanFamily:"American Family",AmericanCommerce:"American Commerce",Amica:"Amica",ASILloyds:"ASI Lloyds",Assurant:"Assurant",AtlasGeneralAgency:"Atlas General Agency",AustinMutual:"Austin Mutual",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bamboo:"Bamboo",BeaconNational:"Beacon National",BunkerHill:"Bunker Hill",CapitalInsuranceGroup:"Capital Insurance Group",CentralMutualOfOH:"Central Mutual of OH",ChubbInsurance:"Chubb",Cincinnati:"Cincinnati",Citizens:"Citizens",ColoradoCasualty:"Colorado Casualty",Ameriprise:"CONNECT",CSE:"CSE",Cumberland:"Cumberland",Cypress:"Cypress",Dairyland:"Dairyland",Donegal:"Donegal",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",ExcelsiorInsuranceCompany:"Excelsior Insurance Company",FairPlan:"Fair Plan",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",ForemostInsuranceCompany:"Foremost Insurance Company",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harleysville:"Harleysville",Hartford:"Hartford",HartfordOMNI:"Hartford OMNI",HawkeyeSecurity:"Hawkeye Security",HippoInsuranceCompany:"Hippo Insurance Company",HomeownersOfAmerica:"Homeowners of America",Homesite:"Homesite",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",Indiana:"Indiana",IndianaFarmers:"Indiana Farmers",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",Lloyds:"Lloyds",MainStreetAmerica:"Main Street America",MarkelInsuranceCompany:"Markel Insurance Company",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MutualBenefit:"Mutual Benefit",Tower:"National General",NatGenPremier:"NatGen Premier",Nationwide:"Nationwide",NationwideScottsdale:"Nationwide-Scottsdale",NewYorkCentralMutual:"New York Central Mutual",NJSkylands:"NJ Skylands",Northstar:"Northstar",OhioCasualty:"Ohio Casualty",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Prudential:"Prudential",PureHighValue:"Pure High Value",Republic:"Republic",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StateAuto:"State Auto",StateFarm:"State Farm",StateFarmFloridaInsuranceCompany:"State Farm Florida Insurance Company",Fidelity:"Stillwater",SunshineStateInsuranceCompany:"Sunshine State Insurance Company",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Wellington:"Wellington",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Zurich:"Zurich",Other:"Other",OtherNonStandard:"Other Non-Standard",OtherStandard:"Other Standard"},policy_bi:{Dontknow:"Don't Know",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_um:{Reject:"Reject",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_pd:{Dontknow:"Don't know",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov500000:"500,000"},policy_mp:{None:"None",cov500:"500",cov1000:"1,000",cov2000:"2,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov15000:"15,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000"},policy_umpd:{cov25000:"25,000",cov35000:"35,000",cov50000:"50,000",cov100000:"100,000",cov200000:"200,000",cov250000:"250,000",cov300000:"300,000",cov500000:"500,000"},policy_pip:{cov15000:"15,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov75000:"75,000",cov150000:"150,000"},policy_auto_death_indemnity:{NoCoverage:"No Coverage",cov5000:"5,000",cov10000:"10,000"},vehicle_comp_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_coll_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_towing_and_labor:{NoCoverage:"No Coverage",TwentyFive:"25",Forty:"40",Fifty:"50",SeventyFive:"75",Eighty:"80",Hundred:"100",TwelveHundred:"120",TwoHundred:"200",Unlimited:"Unlimited"},vehicle_transportation_expense:{NoCoverage:"No Coverage",cov20to600:"20/600",cov25to750:"25/750",cov30to900:"30/900",cov40to1200:"40/1,200",cov50to1500:"50/1,500",cov100to3000:"100/3,000"},education_level:{NoHighSchoolDiploma:"No High School Diploma",HighSchoolDiploma:"High School Diploma",SomeCollegeNoDegree:"Some College - No Degree",VocationalTechnicalDegree:"Vocational Technical Degree",AssociatesDegree:"Associates Degree",Bachelors:"Bachelors",Masters:"Masters",Phd:"Phd",MedicalDegree:"Medical Degree",LawDegree:"Law Degree"},industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},occupation:{"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},usage:{Business:"Business",Pleasure:"Pleasure",Farming:"Farming",To_FromWork:"To/From Work",To_FromSchool:"To/From School"},architectural_style:{TwoFamilyHome:"2-Family Home",American4square:"American 4-square",Basic:"Basic",BiLevel:"Bi-Level",Bungalow:"Bungalow",CapeCod:"Cape Cod",Colonial:"Colonial",ColonialSpanish:"Colonial - Spanish",CompletelyCustom:"Completely Custom",Contemporary:"Contemporary",ContractorModern:"Contractor Modern",Farmhouse:"Farmhouse",Folk:"Folk",Log:"Log",Mediterranean:"Mediterranean",Ranch:"Ranch",TriLevel:"Tri-Level",Tudor:"Tudor",Vernacular:"Vernacular",Victorian:"Victorian"},dwelling_type:{SingleFamilyHouse:"Single Family House",Townhouse:"Townhouse",Rowhouse:"Rowhouse",Duplex:"Duplex/Two Family Unit",Triplex:"Tri-plex/Three Family Unit",Fourplex:"Four-plex/Four Family Unit",MultFamily:"Multi-family (more than four units)"},occupancy_type:{OwnerPrimary:"Owner Primary",OwnerSecondary:"Owner Secondary",OwnerSeasonal:"Owner Seasonal"},construction_quality:{Basic:"Basic",Modest:"Modest",Average:"Average",AboveAverage:"Above Average",Expensive:"Expensive",VeryExpensive:"Very Expensive",Opulent:"Opulent"},construction_type:{Frame:"Frame",Masonry:"Masonry",MasonryVeneer:"Masonry Veneer",Log:"Log",Asbestos:"Asbestos",EFIS:"EFIS",HardiPlank:"HardiPlank",SuperiorFireResistive:"Superior Fire Resistive",SuperiorMasonryNonCombustible:"Superior Masonry Non Combustible",SuperiorNonCombustible:"Superior Non Combustible"},foundation_type:{Slab:"Slab",Basement:"Basement",CrawlSpace:"Crawl Space",PartialBasement:"Partial Basement",PiersPostsPiles:"Piers / Posts / Piles",Open:"Open"},located_over_water:{NotOverWater:"No",PartiallyOverWater:"Partially Over Water",FullyOrEntirelyOverWater:"Fully or Entirely Over Water"},number_of_stories:{One:"1",OneHalf:"1.5",Two:"2",TwoHalf:"2.5",Three:"3",ThreeHalf:"3.5",Four:"4",BiLevel:"Bi-Level",TriLevel:"Tri-Level"},exterior_wall_type:{VinylSiding:"Vinyl Siding",WoodFraming:"Wood Framing",BrickVeneer:"Brick Veneer",Stucco:"Stucco",AdobeBlock:"Adobe Block",AluminumSiding:"Aluminum Siding",CementFiberShingles:"Cement Fiber Shingles",Clapboard:"Clapboard",ConcreteBlock:"Concrete Block",HardboardSiding:"Hardboard Siding",InsulatedConcreteForms:"Insulated Concrete Forms",LightGaugeSteelFraming:"Light Gauge Steel Framing",LogsSolid:"Logs (Solid)",MasoniteSiding:"Masonite Siding",PreEngineeredMetal:"Pre-Engineered Metal",SolidBrickConstruction:"Solid Brick Construction",SolidConcrete:"Solid Concrete",StandardPoleFramed:"Standard Pole Framed",Stone:"Stone",StructuralInsulatedPanels:"Structural Insulated Panels",TimberFraming:"Timber Framing"},roof_material_type:{ASPHALT_SHINGLES:"Asphalt Shingles",ARCHITECTURAL_SHINGLES:"Architectural Shingles",METAL:"Metal",TILE_CONCRETE:"Tile (Concrete)",ASBESTOS:"Asbestos",BUILT_UP:"Built-Up",COMPOSITION:"Composition",CONCRETE:"Concrete",COPPER:"Copper",CORRUGATED_STEEL:"Corrugated Steel",FIBERGLASS:"Fiberglass",FOAM:"Foam",GRAVEL:"Gravel",MEMBRANE:"Membrane",MINERAL_FIBER_SHAKE:"Mineral Fiber Shake",PLASTIC:"Plastic",ROCK:"Rock",ROLLED_PAPER:"Rolled Paper",RUBBER:"Rubber",SLATE:"Slate",TAR:"Tar",TAR_GRAVEL:"Tar and Gravel",TILE_CLAY:"Tile (Clay)",TILE_MISSION:"Tile (Mission)",TILE_SPANISH:"Tile (Spanish)",TIN:"Tin",WOOD_FIBERGLASS_SHINGLES:"Wood/Fiberglass Shingles",WOOD_SHAKE:"Wood Shake",WOOD_SHINGLES:"Wood Shingles",OTHER:"Other"},roof_shape:{B_Gable:"Gable",C_Hip:"Hip",A_Flat:"Flat",D_Other:"Other"},roof_updated_type:{NotUpdated:"Not Updated",PartialUpdate:"Partial Update",CompleteUpdate:"Complete Update"},heating_type:{Electric:"Electric",Gas:"Gas",GasForcedAir:"Gas - Forced Air",GasHotWater:"Gas - Hot Water",Oil:"Oil",OilForcedAir:"Oil - Forced Air",OilHotWater:"Oil - Hot Water",SolidFuel:"Solid Fuel",HeatPump:"Heat Pump",Other:"Other"},oil_tank_location:{AboveGround:"Above Ground",BelowGround:"Below Ground"},basement_type:{Basement:"Below Grade Basement",SplitLevelBasement:"Split Level Basement",WalkoutBasement:"Walkout Basement"},plumbing_type:{EntirelyCopper:"Entirely Copper",EntirelyGalvanized:"Entirely Galvanized",EntirelyPEX:"Entirely PEX",EntirelyPVC:"Entirely PVC",Polybutylene:"Polybutylene"},personal_liability:{TwentyFive:"$25,000",Fifty:"$50,000",OneHundred:"$100,000",TwoHundred:"$200,000",ThreeHundred:"$300,000",FourHundred:"$400,000",FiveHundred:"$500,000"},dwelling_medical_payments:{cov1000:"$1,000",cov2000:"$2,000",cov3000:"$3,000",cov4000:"$4,000",cov5000:"$5,000"},all_perils_deductible:{TwoHundredFifty:"$250",FiveHundred:"$500",SevenHundredFifty:"$750",OneThousand:"$1,000",OneThousandFiveHundred:"$1,500",TwoThousand:"$2,000",TwoThousandFiveHundred:"$2,500",ThreeThousands:"$3,000",FourThousands:"$4,000",FiveThousands:"$5,000",OnePercent:"1%",TwoPercent:"2%",ThreePercent:"3%",FourPercent:"4%",FivePercent:"5%"},windstorm_deductible:{None:"None",OnePercent:"1%",TwoPercent:"2%",FivePercent:"5%",TenPercent:"10%"},distance_from_fire_hydrant_ft:{_0_500ft:"0-500 Feet",_501_1000ft:"501-1000 Feet",_1001ftAndGreater:"1001 Feet And Greater"},distance_from_fire_station_miles:{Lessthan5miles:"Less Than 5 Miles",Over5miles:"Over 5 Miles",NotAvailable:"Not Available"},employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},gender:{Female:"Female",Male:"Male"},co_applicant_employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},co_applicant_marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},co_applicant_gender:{Female:"Female",Male:"Male"},description:{CONTAMINATION:"Contamination",CREDITCARD:"Credit Card",DAMAGETOPROPERTYOFOTHERS:"Damage To Property Of Others",DOGBITELIABILITY:"Dog Bite",EARTHMOVEMENT:"Earth Movement",EARTHQUAKE:"Earthquake",EXTENDEDCOVERAGEPERILS:"Extended Coverage Perils",FIRE:"Fire",FLOOD:"Flood",FREEZINGWATERINCLUDINGBURSTPIPES:"Freezing Water",HAIL:"Hail",HURRICANE:"Hurricane",LIABILITYALLOTHER:"Liability",LIGHTNING:"Lightning",MEDICALPAYMENTS:"Medical Payments",MYSTERIOUSDISAPPEARANCE:"Mysterious Disappearance",MYSTERIOUSDISAPPEARANCESCHEDULEDPROPERTY:"Mysterious Disappearance - Scheduled Property",PHYSICALDAMAGEALLOTHER:"Physical Damage",SINKHOLE:"Sinkhole",SLIPFALLLIABILITY:"Slip/Fall",SMOKE:"Smoke",THEFTSCHEDULEDPROPERTY:"Theft - Scheduled Property",THEFTBURGLARY:"Theft - Burglary",TORNADO:"Tornado",VANDALISMMALICIOUSMISCHIEF:"Vandalism",WATERDAMAGE:"Water Damage",WIND:"Wind",WORKERSCOMPENSATION:"Workers Compensation",ALLOTHER:"All Other"},tort_threshold:{Verbal_Threshold:"Limited right to sue",Zero_Threshold:"Unlimited right to sue"},pip_coverage_type:{Primary:"Primary",Secondary:"Secondary"},extended_medical:{cov1000:"$1,000",cov10000:"$10,000"},additional_pip:{cov100_10400_LIMITED:"100 - 10,400/ LIMITED",cov125_13000_LIMITED:"125 - 13,000/ LIMITED",cov175_18200_LIMITED:"175 - 18,200/ LIMITED",cov250_26000_LIMITED:"250 - 26,000/ LIMITED",cov400_41600_LIMITED:"400 - 41,600/ LIMITED",cov500_52000_LIMITED:"500 - 52,000/ LIMITED",cov600_62400_LIMITED:"600 - 62,400/ LIMITED",cov700_72800_LIMITED:"700 - 72,800/ LIMITED",cov100_UNLIMITED:"100/UNLIMITED",cov125_UNLIMITED:"125/UNLIMITED",cov175_UNLIMITED:"175/UNLIMITED",cov250_UNLIMITED:"250/UNLIMITED",cov400_UNLIMITED:"400/UNLIMITED",cov500_UNLIMITED:"500/UNLIMITED",cov600_UNLIMITED:"600/UNLIMITED",cov700_UNLIMITED:"700/UNLIMITED"},policy_pip_deductible:{cov250:"$250",cov500:"$500",cov1000:"$1,000",cov2000:"$2,000",cov2500:"$2,500"}},jM={None:"None","30000/60000/25000":"30/60k","30000/60000/30000":"30/60k","50000/100000/30000":"50/100k","50000/100000/50000":"50/100k","100000/300000/50000":"100/300k","100000/300000/100000":"100/300k","250000/500000/100000":"250/500k","250000/500000/250000":"250/500k","300000/500000/250000":"300/500k","300000/500000/300000":"300/500k","500000/500000/300000":"500k CSL","500000/500000/500000":"500k CSL","500000/1000000/300000":"500k/1M","500000/1000000/500000":"500k/1M"},IM={"Agriclt/Forestry/Fish":["Agr Inspect/Grader","Arborist","Clerk","Equip. Operator","Farm/Ranch Owner","Farm/Ranch Worker","Fisherman","Florist","Laborer/Worker","Landscape/NursryWkr","Landscaper","Logger","Millworker","Other","Ranger","Supervisor","Timber Grader/Scale"],"Art/Design/Media":["Actor","Admin Assist","Announcer/Broadcstr","Artist/Animator","Author/Writer","Choreography/Dancer","Clerk","Composer/Director","Curator","Designer","Editor","Journalist/Reporter","Musician/Singer","Other","Printer","Producer","Production Crew","Projectionist","Receptionist/Sec","Ticket Sales/Usher"],"Banking/Finance/RE":["Accountant/Auditor","Admin Assist","Analyst/Broker","Bookkeeper","Branch Manager","Clerk","Collections","Consultant","Controller","CSR/Teller","Director/Administr","Executive","Financial Advisor","Investment Banker","Investor","Loan/EscrowProcess","Mgr-Credit/Loan","Mgr-Portfolio/Prod.","Mgr-Property","Other","Realtor","Receptionist/Sec","SalesAgt/Represent.","Trader,Finan Instru","Underwriter"],"Business/Sales/Offi":["Account Executive","Admin Assist","Buyer","Clerk-Office","Consultant","CSR","Director/Administr","Executive","H.R. Representative","Marketing Researchr","Messenger/Courier","Mgr - District","Mgr - Finance","Mgr-Dept/Store","Mgr-General Opers","Mgr-H.R./PublicRel","Mgr-Mkt/Sales","Mgr/Supervisr-Offic","Other","Receptionist/Sec","Sales-Counter/Rentl","Sales-Home Based","Sales-Mfg Rep","Sales-Retail/Whlsle","Sales-Route/Vendor"],"Construct/EnrgyTrds":["Boiler Oper/Maker","Bricklayer/Mason","Carpenter","Carpet Installer","Concrete Worker","Constrct Proj Mgr","Contractor","Crane Operator","Electrician/Linesmn","ElevatorTech/Instl","Equip. Operator","FloorLayer/Finisher","Foreman/Supervisor","Handyman","Heat/Air Technician","Inspector","Laborer/Worker","Metalworker","Miner","Oil/GasDril/RigOpr","Other","Painter","Plstr/Drywall/Stuc","Plumber","Roofer"],Disabled:["Disabled"],"Education/Library":["Admin Assist","Audio-Visual Tech.","Child/DayCare Wrker","Clerk","Counselor","Grad. Teaching/Asst","Instructor-Vocation","Librarian/Curator","Other","Professor, College","Receptionist/Sec","Superintendent","Teacher, College","Teacher, K-12","Teaching Asst/Aide","Tutor"],"Engr/Archt/Sci/Math":["Actuary","Admin Assist","Analyst","Architect","Clerk","Clinical Data Coord.","Drafter","Engineer","Manager-Project","Manager-R&D","Mathematician","Other","Receptionist/Sec","Research Prog. Dir.","Researcher","Scientist","Sociologist","Surveyor/Mapmaker","Technician"],"Government/Military":["Accountant/Auditor","Admin Assist","Analyst","Attorney","Chief Executive","Clerk","Commissioner","Council member","Director/Administr","Enlst Mil Prsnl E1-4","Legislator","Mayor/City Manager","Meter Reader","NCO (E5-9)","Officer-Commissiond","Officer-Warrant","Other","Park Ranger","Planner","Postmaster","Receptionist/Sec","Regulator","US Postal Worker"],"Homemaker/Houseprsn":["Homemaker/Houseprsn"],"Info Tech":["Admin Assist","Analyst","Clerk","Director/Administr","Engineer-Hardware","Engineer-Software","Engineer-Systems","Executive","Manager-Systems","Network Admin","Other","Programmer","Project Coordinator","Receptionist/Sec","Support Technician","Systems Security","Technical Writer","Web Developer"],Insurance:["Accountant/Auditor","Actuarial Clerk","Actuary","Admin Assist","Agent/Broker","Analyst","Attorney","Claims Adjuster","Clerk","Commissioner","CSR","Director/Administr","Executive","Other","Product Manager","Receptionist/Sec","Sales Rep","Underwriter"],"Lgl/Law Enfcmt/Sec":["Airport Sec Ofcr","Animal Control Ofcr","Attorney","Bailiff","Corrections Officer","Court Clrk/Reporter","Deputy Sheriff","Dispatcher","Examiner","Fed Agt/Marshall","Fire Chief","Fire Fighter/Supv.","Gaming Ofcr/Invest","Highway Patrol Ofcr","Judge/Hearing Ofcr","Legal Asst./Sec","Other","Paralegal/Law Clerk","Police Chief","Police Det/Investgr","Police Offcr/Supvr","Process Server","Prvt Invest/Detec.","Security Guard","Sheriff"],"Maint/Rpr/Hsekeep":["Bldg Maint Engineer","Custodian/Janitor","Electrician","Field Service Tech.","Handyman","Heat/AirCond Repair","Housekeeper/Maid","Lndscpe/Grnds Maint","Maint Mechanic","Mechanic","Other"],"Mfg/Production":["Admin Assist","Clerk","Factory Worker","Foreman/Supervisor","Furniture Finisher","Inspector","Jeweler","Machine Operator","Other","Packer","Plant Manager","Printer/Bookbinder","Quality Control","Receptionist/Sec","Refining Operator","Shoemaker","Tailor/Custom Sewer","Textile Worker","Upholsterer"],"Med/Soc Svcs/Relig":["Admin Assist","Assist-Med/Dent/Vet","Clergy","Clerk","Client Care Worker","Dental Hygenist","Dentist","Doctor","Hospice Volunteer","Mortician","Nurse - C.N.A.","Nurse - LPN","Nurse - RN","Nurse Practitioner","Optometrist","Other","Paramedic/EM Tech","Pharmacist","Receptionist/Sec","Social Worker","Support Services","Technician","Therapist","Veterinarian"],Other:["Other"],"Person.Care/Service":["Caregiver","Dry Cleaner/Laundry","Hair Stylist/Barber","Housekeeper","Manicurist","Masseuse","Nanny","Other","Pet Services","Receptionist/Sec"],"Rest/Hotel Services":["Baker","Bartender","Bellhop","Bus Person","Caterer","Chef","Concessionaire","Concierge","Cook-Rest/Cafeteria","Cook/Wrkr-Fast Food","Delivery Person","Desk Clerk","Dishwasher","Food Prod/Packing","Host/Maitre d","Housekeeper/Maid","Manager","Other","Valet","Waiter/Waitress","Wine Steward"],Retired:["Retired"],"Sports/Recreation":["Activity/Recre.Asst","Admin Assist","Agent","Athlete","CampCounselor/Lead","Clerk","Coach","Concessionaire","Director, Program","Event Mgr/Promoter","Life Guard","Mgr - Fitness Club","Other","Park Ranger","Receptionist/Sec","Sales-Tkt/Mmbrshp","SportsBrdcstr/Journ","Trainer/Instructor","Umpire/Referee"],Student:["Graduate Student","High school","Other","Undergraduate"],"Trvl/Trnsprt/Warehs":["Admin Assist","Air Traffic Control","Airport Ops Crew","Bellhop/Porter","Clerk","Crane Loader/Oper","Dispatcher","Driver-Bus/Strcar","Driver-Taxi/Limo","Driver-Truck/Delvry","Flight Attendant","Forklift Operator","Laborer","Longshoreman","Mate/Sailor","Mgr Warehse/Dist","Other","Parking Lot Attend","Pilot/Capt/Eng","Railroad Worker","Receptionist/Sec","Shipping/RecClk","Subway/LgtRail Oper","Ticket Agent","Transportation Spec"],Unemployed:["Unemployed"]},mv={"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},hv=new Set(["Disabled","Retired","Unemployed","Other"]),Bg=new Set(["AAA","AARP","AIG","AIC","CNA","USAA","SR22","PIP","UM","UMPD","BI","PD","MP"]),qM=new Set,vl=a=>{if(Bg.has(a)||/^[A-Z]{2}$/.test(a))return a;let r=a.replace(/^[A-Z]_(?=[A-Za-z])/,"");return/^[A-Z0-9_]+$/.test(r)?r.split("_").filter(Boolean).map(l=>Bg.has(l)?l:l.charAt(0)+l.slice(1).toLowerCase()).join(" "):r.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").replace(/_/g," ").trim()},yv=(a,r)=>pv[a]?.[r]||jM[r]||vl(r),PM=(a,r)=>(r??[]).map(l=>({value:l,label:yv(a,l)})),GM=a=>{let r=String(a??"").trim();return!r||hv.has(r)?null:IM[r]??null},FM=a=>mv[a]??vl(a),VM=()=>[...qM].sort(),gv={CollDeductible:{key:"vehicle_coll_deductible",label:"Collision deductible",entity:"vehicle"},CompDeductible:{key:"vehicle_comp_deductible",label:"Comprehensive deductible",entity:"vehicle"},TowingAndLabor:{key:"vehicle_towing_and_labor",label:"Towing and labor",entity:"vehicle"},TransportationExpense:{key:"vehicle_transportation_expense",label:"Rental reimbursement",entity:"vehicle"},FullGlass:{key:"vehicle_full_glass",label:"Full glass coverage",entity:"vehicle"},LoanLease:{key:"vehicle_loan_lease",label:"Loan/lease payoff",entity:"vehicle"},AnyModifications:{key:"vehicle_has_modifications",label:"Vehicle modifications",entity:"vehicle"},AntiTheft:{key:"anti_theft_type",label:"Anti-theft device",entity:"vehicle"},AntiLockBrakes:{key:"anti_lock_brakes",label:"Anti-lock brakes",entity:"vehicle"},PassiveRestraints:{key:"passive_restraint_type",label:"Passive restraints",entity:"vehicle"},DaytimeRunningLights:{key:"daytime_running_lights",label:"Daytime running lights",entity:"vehicle"},BodyStyle:{key:"body_style",label:"Body style",entity:"vehicle"},NumberOfMiles:{key:"annual_mileage",label:"Annual mileage",entity:"vehicle"},MilesToWork:{key:"miles_to_work",label:"Miles to work",entity:"vehicle"},OwnershipType:{key:"ownership_type",label:"Own, finance, or lease",entity:"vehicle"},PrimeryUseOfVehicle:{key:"usage",label:"How the vehicle is used",entity:"vehicle"},WasTheCarNew:{key:"new_when_purchased",label:"New when purchased",entity:"vehicle"},GarageAddressDifferent:{key:"vehicle_garaged_at_residence",label:"Where the vehicle is parked",entity:"vehicle"},CostNewValue:{key:"cost_new_value_cents",label:"Original cost",entity:"vehicle"},PLYear:{key:"year",label:"Vehicle year",entity:"vehicle"},PLMake:{key:"make",label:"Vehicle make",entity:"vehicle"},PLModel:{key:"model",label:"Vehicle model",entity:"vehicle"},VIN:{key:"vin",label:"VIN",entity:"vehicle"},DOB:{key:"date_of_birth",label:"Date of birth",entity:"driver"},DriverDateLicensed:{key:"date_first_licensed",label:"Date first licensed",entity:"driver"},DriverLicenseNumber:{key:"license_number",label:"License number",entity:"driver"},DriverStateLicensed:{key:"license_state",label:"License state",entity:"driver"},DriverLicenseStatus:{key:"license_status",label:"License status",entity:"driver"},DriversLicenseBeenSuspendedOrRevoked:{key:"last_5_years_license_suspended_or_revoked",label:"License suspended or revoked",entity:"driver"},DriverOccupationStr:{key:"occupation",label:"Occupation",entity:"driver"},DriverEmploymentIndustry:{key:"industry",label:"Industry",entity:"driver"},DriverEducation:{key:"education_level",label:"Education",entity:"driver"},DriverRelationshipToDriver:{key:"relationship_to_insured",label:"Relationship to you",entity:"driver"},DriverSSN:{key:"social_security_number",label:"Social Security number",entity:"driver"},SR:{key:"sr22",label:"SR-22 filing",entity:"driver"},IsDefensiveDriver:{key:"accident_prevention_course",label:"Defensive driving course",entity:"driver"},DefensiveDriverCourseDate:{key:"accident_prevention_course_date",label:"Defensive driving course date",entity:"driver"},Gender:{key:"gender",label:"Gender",entity:"driver"},BI:{key:"policy_bi",label:"Bodily injury limit",entity:"coverage"},PD:{key:"policy_pd",label:"Property damage limit",entity:"coverage"},UM:{key:"policy_um",label:"Uninsured/underinsured motorist limit",entity:"coverage"},UMPD:{key:"policy_umpd",label:"Uninsured motorist property damage",entity:"coverage"},MP:{key:"policy_mp",label:"Medical payments",entity:"coverage"},PIP:{key:"policy_pip",label:"Personal injury protection",entity:"coverage"},PIPDeductible:{key:"policy_pip_deductible",label:"PIP deductible",entity:"coverage"},AdditionalPIP:{key:"additional_pip",label:"Additional PIP",entity:"coverage"},AutoDeathIndemnity:{key:"policy_auto_death_indemnity",label:"Death indemnity",entity:"coverage"},TortThreshold:{key:"tort_threshold",label:"Lawsuit (tort) option",entity:"coverage"},HealthCare:{key:"pip_coverage_type",label:"PIP coverage type",entity:"coverage"},ExtendedMedical:{key:"extended_medical",label:"Extended medical",entity:"coverage"},HealthInsCoversAutoAccident:{key:"has_health_insurance_auto_accident",label:"Health insurance covers auto accidents",entity:"coverage"},EffectiveDate:{key:"effective_date",label:"Policy start date",entity:"coverage"},PLAllPerilsDeductible:{key:"all_perils_deductible",label:"Deductible",entity:"coverage"},WindstormDeductible:{key:"windstorm_deductible",label:"Windstorm deductible",entity:"coverage"},PLPersonalLiability:{key:"personal_liability",label:"Personal liability",entity:"coverage"},PLPersonalProperty:{key:"personal_property_coverage",label:"Personal property coverage",entity:"coverage"},PLOtherStructures:{key:"other_structures_coverage",label:"Other structures coverage",entity:"coverage"},PersonalLineReplacementCost:{key:"dwelling_replacement_cost",label:"Dwelling replacement cost",entity:"coverage"},DwellingMedicalPayments:{key:"dwelling_medical_payments",label:"Medical payments to others",entity:"coverage"},LossOfUse:{key:"loss_of_use_coverage",label:"Loss of use coverage",entity:"coverage"},NumberOfMortgagees:{key:"number_of_mortgagees",label:"Number of mortgages",entity:"coverage"},PLYearBuilt:{key:"year_built",label:"Year built",entity:"home"},PLSquareFootage:{key:"total_area_sq_ft",label:"Square footage",entity:"home"},PLTypeOfDwelling:{key:"dwelling_type",label:"Dwelling type",entity:"home"},PLConstructionType:{key:"construction_type",label:"Construction type",entity:"home"},PLNumberOfStories:{key:"number_of_stories",label:"Number of stories",entity:"home"},PLNumberOfUnits:{key:"number_of_units",label:"Number of units",entity:"home"},PLNumberOfUnitsInFirewall:{key:"number_of_units_in_firewall",label:"Units in firewall",entity:"home"},PLHeatingType:{key:"heating_type",label:"Heating type",entity:"home"},RoofType:{key:"roof_material_type",label:"Roof material",entity:"home"},MitRoofShape:{key:"roof_shape",label:"Roof shape",entity:"home"},PLRoofUpdated:{key:"roof_updated_type",label:"Roof update",entity:"home"},RoofUpdatedYear:{key:"year_roof_updated",label:"Year the roof was updated",entity:"home"},TypeOfFoundation:{key:"foundation_type",label:"Foundation type",entity:"home"},ExteriorWallsConstruction:{key:"exterior_wall_type",label:"Exterior walls",entity:"home"},ArchitectureStyle:{key:"architectural_style",label:"Architectural style",entity:"home"},ConstructionQuality:{key:"construction_quality",label:"Construction quality",entity:"home"},BasementType:{key:"basement_type",label:"Basement type",entity:"home"},OccupancyType:{key:"occupancy_type",label:"Occupancy",entity:"home"},TypeOfResidence:{key:"residence_type",label:"Residence type",entity:"home"},PurchaseDate:{key:"move_in_date",label:"Move-in date",entity:"home"},PurchasePrice:{key:"sale_price_cents",label:"Purchase price",entity:"home"},DistanceToFireHydrant:{key:"distance_from_fire_hydrant_ft",label:"Distance to fire hydrant",entity:"home"},DistanceToFireStation:{key:"distance_from_fire_station_miles",label:"Distance to fire station",entity:"home"},NumberOfDogsOnPremises:{key:"number_of_dogs",label:"Dogs on the property",entity:"home"},ViciousExoticAnimals:{key:"has_vicious_animals",label:"Vicious or exotic animals",entity:"home"},ShortTermRental:{key:"short_term_rental",label:"Short-term rental use",entity:"home"},GatedOrLimited:{key:"gated_community_discount",label:"Gated community",entity:"home"},BuildingOverWater:{key:"located_over_water",label:"Built over water",entity:"home"},HomeUnderConstruction:{key:"under_construction",label:"Under construction",entity:"home"},BusinessOrDaycare:{key:"has_business_on_premises",label:"Business on the property",entity:"home"},SmokeDetector:{key:"smoke_detectors",label:"Smoke detectors",entity:"home"},BurglarAlarm:{key:"burglar_alarm_system",label:"Burglar alarm",entity:"home"},BurglarAlarmType:{key:"burglar_alarm_system_type",label:"Burglar alarm type",entity:"home"},FireDetection:{key:"fire_detection_system",label:"Fire detection system",entity:"home"},FireDetectionType:{key:"fire_detection_system_type",label:"Fire detection type",entity:"home"},FireExtinguisher:{key:"fire_extinguisher",label:"Fire extinguisher",entity:"home"},DeadBoltLocks:{key:"deadbolt_locks",label:"Deadbolt locks",entity:"home"},SprinklerSystem:{key:"sprinkler_system",label:"Sprinkler system",entity:"home"},SprinklerSystemType:{key:"sprinkler_system_type",label:"Sprinkler system type",entity:"home"},ElectricCircuitBreaker:{key:"electric_circuit_breaker",label:"Circuit breakers",entity:"home"},PlumbingType:{key:"plumbing_type",label:"Plumbing type",entity:"home"},OilTankLocation:{key:"oil_tank_location",label:"Oil tank location",entity:"home"},TypeGarageCarport:{key:"garage_type",label:"Garage type",entity:"home"},StormShutters:{key:"storm_shutters",label:"Storm shutters",entity:"home"},MitCreditForm:{key:"mit_credit_form",label:"Wind mitigation form",entity:"home"},HeatingUpdateYN:{key:"heating_update_yn",label:"Heating updated",entity:"home"},PLHeatingUpdate:{key:"heating_update_type",label:"Heating update type",entity:"home"},HeatingUpdateYear:{key:"heating_update_year",label:"Year heating was updated",entity:"home"},PlumbingUpdateYN:{key:"plumbing_update_yn",label:"Plumbing updated",entity:"home"},PLPlumbingUpdated:{key:"plumbing_update_type",label:"Plumbing update type",entity:"home"},PlumbingUpdatedYear:{key:"plumbing_update_year",label:"Year plumbing was updated",entity:"home"},ElectricalUpdateYN:{key:"electrical_update_yn",label:"Electrical updated",entity:"home"},PLElectircalUpdated:{key:"electrical_update_type",label:"Electrical update type",entity:"home"},ElectircalUpdatedYear:{key:"electrical_update_year",label:"Year electrical was updated",entity:"home"},FirstName:{key:"first_name",label:"First name",entity:"applicant"},MiddleName:{key:"middle_name",label:"Middle name",entity:"applicant"},LastName:{key:"last_name",label:"Last name",entity:"applicant"},DateOfBirth:{key:"date_of_birth",label:"Date of birth",entity:"applicant"},PersonalLineGender:{key:"gender",label:"Gender",entity:"applicant"},MaritalStatus:{key:"marital_status",label:"Marital status",entity:"applicant"},Email:{key:"email",label:"Email address",entity:"applicant"},PrimaryPhoneNumber:{key:"phone",label:"Phone number",entity:"applicant"},SSN:{key:"social_security_number",label:"Social Security number",entity:"applicant"},OccupationStr:{key:"occupation",label:"Occupation",entity:"applicant"},EmploymentIndustry:{key:"industry",label:"Industry",entity:"applicant"},YearsAtAddress:{key:"years_at_address",label:"Years at this address",entity:"applicant"},MonthsAtAddress:{key:"months_at_address",label:"Months at this address",entity:"applicant"},IsMailAddress:{key:"is_mailing_address_different",label:"Mailing address",entity:"applicant"},CreditCheckPermission:{key:"order_credit_authorized",label:"Credit check permission",entity:"applicant"},IssuedCorporationOrTrustInd:{key:"is_corporation",label:"Corporation or trust",entity:"applicant"},AnyAdditionalInsured:{key:"has_co_applicant",label:"Co-applicant",entity:"applicant"},CoFirstName:{key:"co_applicant_first_name",label:"Co-applicant's first name",entity:"applicant"},CoMiddleName:{key:"co_applicant_middle_name",label:"Co-applicant's middle name",entity:"applicant"},CoLastName:{key:"co_applicant_last_name",label:"Co-applicant's last name",entity:"applicant"},CoDateOfBirth:{key:"co_applicant_date_of_birth",label:"Co-applicant's date of birth",entity:"applicant"},CoPersonalLineGender:{key:"co_applicant_gender",label:"Co-applicant's gender",entity:"applicant"},CoMaritalStatus:{key:"co_applicant_marital_status",label:"Co-applicant's marital status",entity:"applicant"},CoOccupationStr:{key:"co_applicant_occupation",label:"Co-applicant's occupation",entity:"applicant"},CoEmploymentIndustry:{key:"co_applicant_employment_industry",label:"Co-applicant's industry",entity:"applicant"},SelectRelationshipToClient:{key:"co_applicant_relationship",label:"Relationship to co-applicant",entity:"applicant"},CurrentPersonalAutoCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},PriorInsuranceCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},CurrentPersonalHomeownerCarrier:{key:"home_prior_carrier_name",label:"Current home carrier",entity:"history"},YearsWithPriorCarrierAuto:{key:"auto_prior_years",label:"Years with your auto carrier",entity:"history"},MonthsWithPriorCarrierAuto:{key:"auto_prior_months",label:"Months with your auto carrier",entity:"history"},YearsWithPriorCarrierHome:{key:"home_prior_years",label:"Years with your home carrier",entity:"history"},YearsWithContinuousCoverageAuto:{key:"auto_continuous_coverage_years",label:"Years of continuous auto coverage",entity:"history"},YearsWithContinuousCoverageHome:{key:"home_continuous_coverage_years",label:"Years of continuous home coverage",entity:"history"},PriorCarrierExpirationDateAuto:{key:"auto_prior_expiration_date",label:"Auto policy expiration date",entity:"history"},PriorCarrierExperationDate:{key:"home_prior_expiration_date",label:"Home policy expiration date",entity:"history"},SelectPriorLiabilityLimitsAuto:{key:"auto_prior_liability_limit",label:"Current liability limits",entity:"history"},SelectReasonNoPriorAutoInsurance:{key:"auto_reason_for_no_insurance",label:"Reason for no prior insurance",entity:"history"},CurrentAutoAnnualPremium:{key:"auto_current_annual_premium_cents",label:"Current annual premium",entity:"history"},LapsInCoverage:{key:"lapse_in_coverage",label:"Lapse in coverage",entity:"history"},AutoInsuranceCancelled:{key:"auto_cancelled_declined_refused_to_renew",label:"Auto policy cancelled or non-renewed",entity:"history"},PropertyInsuranceCancelled:{key:"property_insurance_cancelled",label:"Home policy cancelled or non-renewed",entity:"history"},ForeclosureOrRepossessionOrBankruptcy:{key:"named_insured_foreclosure_repo_bankruptcy",label:"Foreclosure, repossession, or bankruptcy",entity:"history"},InsuranceFraud:{key:"named_insured_convicted_insurance_fraud",label:"Insurance fraud conviction",entity:"history"},HomeAutoInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"},AutoHomeInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"}},Ff={};for(let a of Object.values(gv))a.key&&!Ff[a.key]&&(Ff[a.key]=a);var jg={PersonalVehicles:"vehicle",Vehicles:"vehicle",Drivers:"driver"},YM=/\[\?\([^)]*\)\]/g,$M=/\[\?\(@__id__\s*==\s*'([^']*)'\)\]/g,QM=new Set(["Id","SequenceNum","Assignments","IsDrv","DriverId","MainVehicleId"]),XM=a=>/^[a-z][a-z0-9_]*$/.test(a),vv=a=>{let r=(a??"").trim();if(!r)return{raw:r,entity:"general",label:"",isOpaque:!0};if(XM(r)){let h=Ff[r];return{raw:r,entity:h?.entity??"general",key:r,label:h?.label??vl(r),isOpaque:!h}}let l=[...r.matchAll($M)].map(h=>h[1]),s=r.replace(YM,"").split(".").filter(Boolean),c=s[s.length-1]??r;if(QM.has(c))return{raw:r,entity:"general",label:"",isOpaque:!0};let f=s.find(h=>h in jg),p=gv[c];return{raw:r,entity:(f?jg[f]:void 0)??p?.entity??"general",entityId:l[l.length-1],key:p?.key,label:p?.label??vl(c),isOpaque:!p}},hd=[{question:"What's your ZIP code?",inputType:"text",key:"postal_code",required:!0}],bv="Zip|",Sv=[{question:"What is your email address?",inputType:"email",key:"email",required:!0}],_v="Email|",Ev=new Set(["TX","NJ"]),cs={Auto:["Zip","Email","Product","Name","Vehicle","Driver","AutoCurrentCarrier","Demographics","Ssn","Phone"],Home:["Zip","Email","Product","Name","Home","HomePolicy","Demographics","Ssn","Phone"],Bundle:["Zip","Email","Product","Name","Home","Vehicle","Driver","BundlePolicy","Demographics","Ssn","Phone"]},hi={},Cv=a=>{hi=a},ZM=()=>{hi={}},Cs=a=>{try{a()}catch{}},Tn=(a,r)=>{Cs(()=>hi.onQuoteFailure?.(a,r))},Av=(a,r)=>{Cs(()=>hi.onBreadcrumb?.(a,r))},As=(a,r)=>{Cs(()=>hi.onTrack?.(a,r))},Ts=a=>{Cs(()=>hi.onContext?.(a))},Tv=a=>Ts({product:a}),Mv=a=>Ts({quoteId:a}),wv=a=>Ts({stage:a}),Ta=a=>{if(a&&typeof a=="object"&&"statusCode"in a){let r=a.statusCode;if(typeof r=="number")return r}},fs=null,yd=a=>{fs=a},ln=()=>{if(!fs)throw Error("[credify-ui-kit] configureApi() must be called before using the API client.");return fs},Ov=()=>{fs=null},rr=()=>{try{return!!ln().isMockActive?.()}catch{return!1}},gd=()=>{try{return!!ln().isTestActive?.()}catch{return!1}},Ms=()=>`${ln().storagePrefix}quote_id`,ws=()=>`${ln().storagePrefix}auth_token`,Rv=Ms,Dv=ws,WM="__mock",fi=a=>ln().isMockActive?.()?`${a}${WM}`:a,KM=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,xv=a=>{try{return localStorage.getItem(a)}catch{return null}},kv=(a,r)=>{try{localStorage.setItem(a,r)}catch{}},Ig=a=>{try{localStorage.removeItem(a)}catch{}},Ua=()=>{let a=xv(fi(Ms()));return a!==null&&!ln().isMockActive?.()&&!KM.test(a)?(di(),null):a},Os=a=>kv(fi(Ms()),a),Rs=()=>xv(fi(ws())),Ds=a=>kv(fi(ws()),a),di=()=>{Ig(fi(Ms())),Ig(fi(ws()))},JM=fv({buildResumeUrl:()=>vd,captureResumeTokenFromUrl:()=>xs,consumeResumeToken:()=>Cl,hasResumeToken:()=>ks}),Vf="credify_rt",ew=["mock"],ds=null,xs=a=>{try{if(typeof window>"u")return;let r=new URL(window.location.href),l=r.searchParams.get(Vf);if(!l)return;ds=l,r.searchParams.delete(Vf),window.history.replaceState(window.history.state,"",r.toString())}catch(r){a?.(r)}},ks=()=>ds!==null,Cl=()=>{let a=ds;return ds=null,a},vd=a=>{let r=new URL(window.location.href),l=ew.map(s=>[s,r.searchParams.get(s)]).filter(s=>s[1]!==null);r.search="",r.hash="";for(let[s,c]of l)r.searchParams.set(s,c);return r.searchParams.set(Vf,a),r.toString()},Yf,bd=a=>{Yf=a},qg=async a=>{try{let{ZIP_CITIES:r}=await fe(async()=>{const{ZIP_CITIES:l}=await import("./zipCities-CU_i9iT--B1AIvNRh.js");return{ZIP_CITIES:l}},[]);return r[a]??null}catch{return null}},ps=async a=>{if(!/^\d{5}$/.test(a))return null;let r=!1;try{r=!!ln().isMockActive?.()}catch{r=!1}if(r){let{MOCK_ZIP_CITIES:l}=await fe(()=>import("./fixtures-ijbZ16Zg-B0KKADMf.js"),[]).then(s=>s.f);return l[a]??null}if(!Yf)return qg(a);try{return await Yf(a)}catch{return qg(a)}},tw=({disabled:a=!1,busy:r=!1,onChoose:l})=>{let[s,c]=T.useState(!1);return A.jsxs("section",{className:"cds-mb-4 cds-rounded-xl cds-border cds-border-border cds-bg-surface-elevated cds-p-4",children:[A.jsx("h3",{className:"cds-mb-3 cds-text-sm cds-font-bold cds-uppercase cds-tracking-wide cds-text-fg",children:"Communications consent"}),A.jsxs("label",{className:"cds-flex cds-cursor-pointer cds-items-start cds-gap-2 cds-text-sm cds-text-fg-muted",children:[A.jsx("input",{type:"checkbox",checked:s,disabled:a||r,onChange:f=>c(f.target.checked),className:"cds-mt-1 cds-h-4 cds-w-4 cds-shrink-0 cds-accent-brand-accent"}),A.jsx("span",{children:"I consent to communications from Credify Corporation (licensed insurance agency) and my selected carrier(s) at the phone number and email address I provided. This covers: support (including AI agents), carrier quote and service contact, automated rate shopping at or before renewal, policy renewal notifications, claims management, and Credify’s newsletter (which we may send by email, or by text message with a link to read it)."})]}),A.jsxs("div",{className:"cds-mt-3 cds-space-y-2 cds-text-xs cds-leading-relaxed cds-text-fg-muted",children:[A.jsx("p",{children:"These may use automated systems, emails or texts. Message frequency varies. Message & data rates may apply. Reply STOP to opt out of SMS; Reply HELP for help."}),A.jsx("p",{children:"Consent is not required to receive quotes or purchase insurance."}),A.jsxs("p",{children:["Credify Corporation – Texas #3309669."," ",A.jsx("a",{href:"/privacy-policy",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Privacy Policy"})," ","|"," ",A.jsx("a",{href:"/terms-of-service",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Terms of Service"})]})]}),A.jsxs("div",{className:"cds-mt-5 cds-grid cds-grid-cols-1 cds-gap-3 sm:cds-grid-cols-2",children:[A.jsx("button",{type:"button",disabled:!s||a||r,onClick:()=>l(!0),className:`cds-w-full cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-primary-foreground cds-transition hover:cds-bg-accent disabled:cds-cursor-not-allowed disabled:cds-bg-border disabled:hover:cds-bg-border ${ci}`,children:r?"Submitting…":"I Consent"}),A.jsx("button",{type:"button",disabled:a||r,onClick:()=>l(!1),className:`cds-w-full cds-rounded-xl cds-border cds-border-input cds-bg-surface-elevated cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-fg cds-transition hover:cds-bg-surface-muted disabled:cds-cursor-not-allowed disabled:cds-opacity-50 disabled:hover:cds-bg-surface-elevated ${ci}`,children:"I Do Not Consent"})]})]})},nw=a=>{if(typeof window>"u")return null;try{return new URLSearchParams(window.location.search).get(a)}catch{return null}},Pg=[{stage:"Zip",key:"postal_code",normalize:a=>a.replace(/\D/g,"").slice(0,5),isValid:ts,fromUrl:()=>nw("zip")},{stage:"Email",key:"email",normalize:a=>a.trim(),isValid:jf,fromUrl:()=>null}],aw=()=>{typeof document<"u"&&delete document.documentElement.dataset.credifyResuming},Gg=()=>({[bv]:hd,[_v]:Sv}),ff=a=>[...cs[a]],rw=6,iw=1500,lw=new Set(["HomePolicy","BundlePolicy"]),ow=new Set(["processing","completed","no_rates","failed"]),Fg=(a,r)=>{if(!r)return 0;if(ow.has(String(r.rates_status??"")))return a.length+1;let l=a.indexOf(r.current_stage);return l>0?l:0},sw=()=>{if(typeof window>"u")return!1;let a=new URLSearchParams(window.location.search).get("credify_test");return a!==null&&(a===""||/^(1|true|yes)$/i.test(a.trim()))},Nv=()=>gd()||sw(),uw=()=>Nv(),df="78701",cw=()=>{let a=0;return r=>{r>rw||r<=a||(a=r,As("quote_step_completed",{stepIndex:r}))}},Lv=(a,r)=>{let[l,s]=T.useState(null),[c,f]=T.useState({product:a}),[p,h]=T.useState(()=>ff(a)),[g,y]=T.useState(Gg),[E,_]=T.useState(0),[z,G]=T.useState(!1),[q,Q]=T.useState(!1),[Y,ae]=T.useState(!1),[le,J]=T.useState(!1),[Se,j]=T.useState(),[ye,ee]=T.useState(!1),[Ve,Pe]=T.useState(!1),[Je,oe]=T.useState(!1),[X,Ne]=T.useState(!1),[De,Ye]=T.useState(!1),R=T.useRef(l),B=T.useRef(c),te=T.useRef(r?.prefill);T.useEffect(()=>{R.current=l,B.current=c,te.current=r?.prefill});let ge=T.useRef(cw()),ve=T.useRef(null),b=T.useMemo(()=>[...p.map(U=>({kind:"stage",stage:U})),{kind:"terminal",screen:"review"},{kind:"terminal",screen:"rates"}],[p]),L=T.useMemo(()=>Math.max(p.length,cs[a]?.length??0)+1,[p.length,a]),P=b[E],k=P?.kind==="stage"?P.stage:void 0,Z=String(c.state??"");T.useEffect(()=>{Tv(a)},[a]),T.useEffect(()=>{wv(k),k&&Av(`stage: ${k}`,{screenIndex:E})},[k,E]),T.useEffect(()=>{Mv(l)},[l]);let se=T.useMemo(()=>{let U={};for(let I of p){let F=g[`${I}|${Z}`];F&&(U[I]=F)}return U},[p,g,Z]),pe=T.useMemo(()=>k?g[`${k}|${Z}`]??g[`${k}|`]??[]:[],[k,g,Z]),Ze=!!(k&&(`${k}|${Z}`in g||(k==="Zip"||k==="Email")&&`${k}|`in g)),Ge=T.useMemo(()=>({errorsByKey:{},itemErrors:[],issues:[],isValid:!0}),[]),[Kn,Ba]=T.useState(Ge),yi=T.useMemo(()=>k==="Zip"?ts(c.postal_code)?Ge:{errorsByKey:{postal_code:"Enter a 5-digit ZIP code."},itemErrors:[],issues:["Enter a 5-digit ZIP code."],isValid:!1}:k==="Email"?jf(c.email)?Ge:{errorsByKey:{email:"Enter a valid email address."},itemErrors:[],issues:["Enter a valid email address."],isValid:!1}:k?Kn:Ge,[k,c.postal_code,c.email,Kn,Ge]);T.useEffect(()=>{if(!k||k==="Zip"||k==="Email")return;let U=!1;return fe(()=>import("./stage-knShj71W-BrRsgDlE.js"),__vite__mapDeps([0,1,2,3,4])).then(I=>I.a).then(({validateStage:I})=>{U||Ba(I({questions:pe,values:c,stageKey:k}))}),()=>{U=!0}},[k,pe,c]);let Ct=T.useCallback(U=>{f(I=>{let F={...I,...U};return B.current=F,F})},[]),wn=T.useCallback((U,I)=>{if(U.city||U.__address_city)return;let F=String(U.postal_code??"").trim();ts(F)&&ps(F).then(V=>{if(!V||I())return;let W=B.current;W.city||W.__address_city||Ct({city:V,__address_city:V})})},[Ct]),On=T.useCallback(async U=>{let{getStagesForQuote:I}=await fe(async()=>{const{getStagesForQuote:W}=await Promise.resolve().then(()=>Ot);return{getStagesForQuote:W}},void 0),{stages:F}=await I(U??void 0),V=F.filter(W=>W!=="CanopyConnect");return h(V),V},[]),on=T.useCallback(async(U,I,F)=>{ae(!0);try{let{getQuestionsByStage:V}=await fe(async()=>{const{getQuestionsByStage:Le}=await Promise.resolve().then(()=>Ot);return{getQuestionsByStage:Le}},void 0),{questions:W}=await V(U,I??void 0),{ensureAutoCoverageSelections:ue}=await fe(()=>import("./vehicleCoverage-CBWORI1l-Bs6c4Xhh.js"),__vite__mapDeps([4,2,1,3])).then(Le=>Le.d),Te=ue(U,W);return y(Le=>({...Le,[`${U}|${F}`]:Te})),Te}catch(V){return j("We could not load this step. Please try again."),Tn(V,{phase:"stage_load",product:a,stage:U,quoteId:I,endpoint:"/get-questions-by-stage",statusCode:Ta(V)}),[]}finally{ae(!1)}},[a]),Tl=T.useCallback(async(U,I,F)=>{Ye(!0);try{await Promise.all(U.map(V=>on(V,I,F)))}finally{Ye(!1)}},[on]);T.useEffect(()=>{xs(),As("quote_flow_start");let U=!1;return(async()=>{try{let I=Cl();if(I){Q(!0);try{let{redeemResumeToken:Le}=await fe(async()=>{const{redeemResumeToken:we}=await Promise.resolve().then(()=>Ot);return{redeemResumeToken:we}},void 0);await Le(I)}catch{U||j("That link has expired. Enter your ZIP code to pick up where you left off.")}}let F=Ua();F&&(R.current=F,s(F),Q(!0));let V=R.current,W,ue=ff(a);if(V)try{let{getQuote:Le}=await fe(async()=>{const{getQuote:lt}=await Promise.resolve().then(()=>Ot);return{getQuote:lt}},void 0),{quote:we}=await Le(V);if(!U&&we){W=we;let[{fromQuoteRecord:lt},{seedHomeCoverages:Dt}]=await Promise.all([fe(()=>import("./payload-DrGFAxms-CKeiScMv.js"),__vite__mapDeps([5,1,6])).then(Mt=>Mt.o),fe(()=>import("./coverageDerivation-CV2ORogj-BaQlJ22H.js"),[]).then(Mt=>Mt.o)]),We=lt(we);f({...We,...Dt(We),product:a}),wn(We,()=>U)}}catch(Le){di(),U||s(null),R.current=null,Tn(Le,{phase:"quote_resume",product:a,quoteId:V,endpoint:"/get-quote",statusCode:Ta(Le)})}if(R.current&&(ue=await On(R.current),!U&&ue.length))if(W?.review_status==="pending_review")Ne(!0),Ye(!0),_(ue.length);else{let Le=Fg(ue,W);Le>0&&_(Le);let we=ue[Le]??ue[0];we&&we!=="Zip"&&we!=="Email"&&await on(we,R.current,String(B.current.state??""))}let Te=U?null:(await fe(async()=>{const{mockStepFromUrl:Le}=await import("./mockJump-hNzgzUmO-B4HifTQZ.js");return{mockStepFromUrl:Le}},[])).mockStepFromUrl();Te!=null&&Te!==Fg(ue,W)&&(ve.current||await Promise.resolve(),await ve.current?.(Te))}catch(I){U||j("We could not start your quote. Please refresh and try again."),Tn(I,{phase:"quote_start",product:a,quoteId:R.current,statusCode:Ta(I)})}finally{U||(Q(!1),aw())}})(),()=>{U=!0}},[]);let gi=T.useRef(new Set);T.useEffect(()=>{if(!X)return;let U=p.filter(I=>{let F=`${I}|${Z}`;return!(F in g)&&!gi.current.has(F)});if(!U.length){Ye(!1);return}for(let I of U)gi.current.add(`${I}|${Z}`);Tl(U,R.current,Z)},[X,p,g,Z,Tl]),T.useEffect(()=>{!k||g[`${k}|${Z}`]||(k==="Zip"||k==="Email")&&g[`${k}|`]||on(k,R.current,Z)},[k,g,Z,on]);let it=T.useCallback(U=>{_(U),G(!1),j(void 0),rr()&&fe(async()=>{const{writeMockStepHash:I}=await import("./mockJump-hNzgzUmO-B4HifTQZ.js");return{writeMockStepHash:I}},[]).then(({writeMockStepHash:I})=>{I(U)}),window.scrollTo(0,0)},[]),gn=T.useRef(null),vn=T.useCallback(async U=>{let I=R.current;if(I)return I;let F=(U??String(B.current.postal_code??"")).trim(),{createQuote:V}=await fe(async()=>{const{createQuote:ue}=await Promise.resolve().then(()=>Ot);return{createQuote:ue}},void 0),W=await V(F,uw());return R.current=W.quoteId,s(W.quoteId),W.quoteId},[]),Ml=T.useCallback(async U=>{let I=String(B.current.postal_code??"").trim();ps(I).then(ue=>{if(!ue)return;let Te=B.current;Ct({city:ue,...Te.__address_city?{}:{__address_city:ue}})});let F=Wo(I);if(!F)return!0;Ct({state:F,__address_state:B.current.__address_state??F});let{isSupportedState:V}=await fe(async()=>{const{isSupportedState:ue}=await Promise.resolve().then(()=>Ot);return{isSupportedState:ue}},void 0),{isSupported:W}=await V(F,U);return W?!0:(ee(!0),!1)},[Ct]),wl=T.useCallback(()=>(gn.current||=(async()=>{let U=await vn();if(!await Ml(U))return U;let[{stageSlice:I},{toQuotePayload:F},{updateQuote:V}]=await Promise.all([fe(()=>import("./stage-knShj71W-BrRsgDlE.js"),__vite__mapDeps([0,1,2,3,4])).then(W=>W.a),fe(()=>import("./payload-DrGFAxms-CKeiScMv.js"),__vite__mapDeps([5,1,6])).then(W=>W.o),fe(()=>Promise.resolve().then(()=>Ot),void 0)]);return await V({...F(I(g["Zip|"]??hd,B.current,"Zip")),current_stage:"Email"},!1,U),U})().catch(U=>{throw gn.current=null,U}),gn.current),[vn,Ml,g]),At=T.useCallback(async U=>{let I=B.current,[{parseAddress:F,normalizeStateCode:V},{isSupportedState:W}]=await Promise.all([fe(()=>import("./address-BEVwov8q-BckjuR7s.js"),[]).then(we=>we.i),fe(()=>Promise.resolve().then(()=>Ot),void 0)]),ue=F(String(I.address??"")),Te=V(String(I.__address_state??ue.state??I.state??""));if(!Te)return!0;Ct({state:Te});let{isSupported:Le}=await W(Te,U);return Le?!0:(ee(!0),!1)},[Ct]),Ol=T.useCallback(async U=>{if(a==="Auto"||Ve)return;let I=B.current,[{parseAddress:F},{prefillProperty:V},{seedHomeCoverages:W}]=await Promise.all([fe(()=>import("./address-BEVwov8q-BckjuR7s.js"),[]).then(we=>we.i),fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>import("./coverageDerivation-CV2ORogj-BaQlJ22H.js"),[]).then(we=>we.o)]),ue=F(String(I.address??"")),Te={address_line_1:String(I.__address_line_1??ue.line_1).trim(),city:String(I.__address_city??ue.city??I.city??"").trim(),state:String(I.__address_state??ue.state??I.state??"").trim(),postal_code:String(I.__address_postal_code??ue.postal_code??I.postal_code??"").trim()};if(!Te.address_line_1||!Te.city||!Te.state||!Te.postal_code)return;let Le=await V(U,Te);!Le.found||!Le.property||(f(we=>{let lt={...we};for(let[Dt,We]of Object.entries(Le.property??{})){if(We==null)continue;let Mt=lt[Dt];(Mt===void 0||Mt===""||Mt===null)&&(lt[Dt]=We)}return{...lt,...W(lt)}}),Pe(!0))},[a,Ve]),vi=T.useCallback(U=>{let I=p.indexOf(U);if(I>=0&&I+1<p.length)return p[I+1];let F=cs[a]??[],V=F.indexOf(U);return V>=0&&V+1<F.length?F[V+1]:void 0},[p,a]),hr=T.useCallback(async()=>{if(le||!k||!Ze)return;if(k==="Zip"){if(!ts(B.current.postal_code)){G(!0);return}let V=String(B.current.postal_code??"").trim(),W=Wo(V);if(W&&(Ct({state:W,__address_state:B.current.__address_state??W}),!Ev.has(W))){ee(!0);return}ge.current(E+1),it(E+1),wl();return}let{stageSlice:U,validateStage:I}=await fe(()=>import("./stage-knShj71W-BrRsgDlE.js"),__vite__mapDeps([0,1,2,3,4])).then(V=>V.a),F=k==="Email"?jf(B.current.email)?{isValid:!0}:{isValid:!1}:I({questions:pe,values:B.current,stageKey:k});if(!F.isValid){k!=="Email"&&"errorsByKey"in F&&Ba(F),G(!0);return}J(!0),j(void 0);try{let V=gn.current?await gn.current:await vn();if(k==="Product"&&!await At(V))return;let[{toQuotePayload:W},{updateQuote:ue},{prefillSuggestions:Te},{seedHomeCoverages:Le}]=await Promise.all([fe(()=>import("./payload-DrGFAxms-CKeiScMv.js"),__vite__mapDeps([5,1,6])).then(We=>We.o),fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>Promise.resolve().then(()=>Vg),void 0).then(We=>We.n),fe(()=>import("./coverageDerivation-CV2ORogj-BaQlJ22H.js"),[]).then(We=>We.o)]),we=U(pe,B.current,k);k==="Product"&&(we.product=a),k==="Phone"&&(we.suppress_verification_sms=!0);let lt=vi(k),Dt={...W(we),...lt?{current_stage:lt}:{}};if(Object.keys(Dt).length&&await ue(Dt,!1,V),ge.current(E+1),k==="Name"&&a!=="Home"&&Te.vehicle.prefetch(V),k==="Vehicle"&&Te.driver.prefetch(V),lt&&lw.has(lt)){let We=Le(B.current);Object.keys(We).length&&Ct(We)}if(k==="Product"){let We=await On(V);await Ol(V);let Mt=Math.min(E+1,We.length);it(Mt);return}it(E+1)}catch(V){let{CredifyApiError:W}=await fe(async()=>{const{CredifyApiError:Te}=await Promise.resolve().then(()=>Ot);return{CredifyApiError:Te}},void 0),ue=V instanceof W&&V.statusCode===404?"Your quote session expired. Please start again.":"Something went wrong saving your answers. Please try again.";j(ue),Tn(V,{phase:"answer_save",product:a,stage:k,quoteId:R.current,endpoint:"/update-quote",statusCode:Ta(V)})}finally{J(!1)}},[le,k,Ze,wl,vn,At,pe,a,E,On,vi,Ol,it,Ct]),yr=T.useCallback(()=>{E>0&&it(E-1)},[E,it]),Ls=T.useCallback(U=>{let I=b.findIndex(F=>F.kind==="stage"&&F.stage===U);I>=0&&it(I)},[b,it]),gr=T.useRef(!1),ja=T.useCallback(async U=>{if(!(!rr()||gr.current)){gr.current=!0,oe(!0),j(void 0);try{let I={...B.current,product:a},F=String(I.postal_code??"").trim(),V=/^\d{5}$/.test(F)?F:df,W=await vn(V),[{isSupportedState:ue,updateQuote:Te},{toQuotePayload:Le}]=await Promise.all([fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>import("./payload-DrGFAxms-CKeiScMv.js"),__vite__mapDeps([5,1,6])).then(sn=>sn.o)]),we=Wo(V)??"";we&&(await ue(we,W)).isSupported?I.postal_code=V:(I.postal_code=df,we=Wo(df)??"TX",await ue(we,W)),I.state=we,ee(!1),await Te({product:a,postal_code:I.postal_code},!1,W);let lt=await On(W),Dt=Math.max(0,Math.min(U,lt.length+1)),We=cv()?.autofillStage;if(!We)return;let{stageSlice:Mt}=await fe(()=>import("./stage-knShj71W-BrRsgDlE.js"),__vite__mapDeps([0,1,2,3,4])).then(sn=>sn.a);for(let sn of lt.slice(0,Dt)){let Si=g[`${sn}|${we}`]??await on(sn,W,we);I=We(Si,I,sn);let un=Le(Mt(Si,I,sn));Object.keys(un).length&&await Te(un,!1,W)}f(I),B.current=I,Dt===lt.length+1&&await Te({},!0,W),it(Dt)}catch{j("The mock jump could not seed this step. Reload and try again.")}finally{gr.current=!1,oe(!1)}}},[a,vn,On,on,g,it]),Hs=T.useCallback(async()=>{rr()},[k,pe]);T.useEffect(()=>{ve.current=ja},[ja]),T.useEffect(()=>{if(!rr())return;let U=()=>{fe(async()=>{const{mockStepFromUrl:I}=await import("./mockJump-hNzgzUmO-B4HifTQZ.js");return{mockStepFromUrl:I}},[]).then(({mockStepFromUrl:I})=>{let F=I();F!=null&&F!==E&&ja(F)})};return window.addEventListener("hashchange",U),()=>window.removeEventListener("hashchange",U)},[E,ja]);let Ia=T.useCallback(async U=>{if(le)return!1;let I=R.current;if(!I)return j("Your quote session expired. Please start again."),!1;J(!0),j(void 0);try{let F=typeof U=="boolean"?{communications_consent:U}:{},{updateQuote:V}=await fe(async()=>{const{updateQuote:ue}=await Promise.resolve().then(()=>Ot);return{updateQuote:ue}},void 0),W=await V(F,!0,I);return W.status==="submission_failed"?(j(W.message||"We could not submit your quote for rating."),Tn(Error(W.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:I,endpoint:"/update-quote"}),!1):(it(b.length-1),!0)}catch(F){return j("We could not submit your quote for rating. Please try again."),Tn(F,{phase:"rating_submit",product:a,quoteId:I,endpoint:"/update-quote",statusCode:Ta(F)}),!1}finally{J(!1)}},[le,b.length,it,a]),pt=T.useCallback(async()=>{let[{stageSlice:U},{toQuotePayload:I}]=await Promise.all([fe(()=>import("./stage-knShj71W-BrRsgDlE.js"),__vite__mapDeps([0,1,2,3,4])).then(V=>V.a),fe(()=>import("./payload-DrGFAxms-CKeiScMv.js"),__vite__mapDeps([5,1,6])).then(V=>V.o)]),F={};for(let V of p){if(AM.has(V))continue;let W=se[V];W?.length&&Object.assign(F,U(W,B.current,V))}return I(F)},[p,se]),bn=T.useCallback(async()=>{if(le)return!1;let U=R.current;if(!U)return j("Your quote session expired. Please start again."),!1;J(!0),j(void 0);try{let{isSupportedState:I,updateQuote:F}=await fe(async()=>{const{isSupportedState:ue,updateQuote:Te}=await Promise.resolve().then(()=>Ot);return{isSupportedState:ue,updateQuote:Te}},void 0),V=String(B.current.state??"");if(V){let{isSupported:ue}=await I(V,U);if(!ue)return ee(!0),!1}let W=await F({...await pt(),customer_review_confirmed:!0},!0,U);return W.status==="submission_failed"?(j(W.message||"We could not submit your quote for rating."),Tn(Error(W.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:U,endpoint:"/update-quote"}),!1):(it(b.length-1),!0)}catch(I){return j("We could not submit your quote. Please try again."),Tn(I,{phase:"rating_submit",product:a,quoteId:U,endpoint:"/update-quote",statusCode:Ta(I)}),!1}finally{J(!1)}},[le,pt,b.length,it,a]),yt=T.useRef(!1),Rl=T.useRef(pt);T.useEffect(()=>{Rl.current=pt}),T.useEffect(()=>{if(!X)return;if(!yt.current){yt.current=!0;return}let U=R.current;if(!U)return;let I=window.setTimeout(()=>{(async()=>{try{let{updateQuote:F}=await fe(async()=>{const{updateQuote:W}=await Promise.resolve().then(()=>Ot);return{updateQuote:W}},void 0),V=await Rl.current();Object.keys(V).length&&await F(V,!1,U)}catch(F){Tn(F,{phase:"answer_save",product:a,quoteId:U,endpoint:"/update-quote",statusCode:Ta(F)})}})()},iw);return()=>window.clearTimeout(I)},[X,c,a]);let Us=T.useCallback(()=>{di(),Ne(!1),yt.current=!1,fe(()=>Promise.resolve().then(()=>Vg),void 0).then(U=>U.n).then(({resetPrefillSuggestions:U})=>{U()}),gn.current=null,s(null),R.current=null,f({product:a}),h(ff(a)),y(Gg()),ee(!1),Pe(!1),it(0)},[a,it]),bi=T.useCallback(U=>{let I=F=>{for(let V of F){if(V.key===U)return V;for(let W of V.conditionals??[]){let ue=I(W.conditionalQuestions??[]);if(ue)return ue}}};for(let F of p){let V=I(se[F]??[]);if(V)return{question:V,stage:F}}},[p,se]),vr=T.useCallback(U=>bi(U)?.stage,[bi]),Jn=T.useRef(null);T.useEffect(()=>{Jn.current===null&&(Jn.current=!!Ua())},[]);let Sn=T.useRef({seeded:new Set,advanced:new Set});return T.useEffect(()=>{if(q||P?.kind!=="stage")return;let U=Pg.find(V=>V.stage===P.stage);if(!U||Sn.current.seeded.has(U.stage)||B.current[U.key]||Jn.current!==!1)return;let I=te.current?.[U.key]??U.fromUrl(),F=I?U.normalize(I):"";!F||!U.isValid(F)||(Sn.current.seeded.add(U.stage),Ct({[U.key]:F}))},[q,P,Ct]),T.useEffect(()=>{if(P?.kind!=="stage")return;let U=Pg.find(I=>I.stage===P.stage);U&&(!Sn.current.seeded.has(U.stage)||Sn.current.advanced.has(U.stage)||!Ze||le||U.isValid(c[U.key])&&(Sn.current.advanced.add(U.stage),hr()))},[P,Ze,le,c,hr]),{product:a,quoteId:l,values:c,stages:p,questionsByStage:se,stageForField:vr,questionForField:bi,screens:b,screenIndex:E,stepTotal:L,current:P,questions:pe,validation:yi,showErrors:z,booting:q,loadingQuestions:Y,questionsReady:Ze,busy:le,error:Se,unsupportedState:ye,prefillApplied:Ve,patch:Ct,continueFromStage:hr,back:yr,goToStage:Ls,submitForRates:Ia,intakeReview:X,intakeQuestionsLoading:De,submitIntakeReview:bn,resetSession:Us,mockJumping:Je,mockJumpTo:ja,mockAutofillStage:Hs}},Hv=()=>fe(()=>import("./question-list-DFjWa8ZA-5HX-Q_DR.js"),__vite__mapDeps([7,8,1,6,9,2,3,4,0,10,11,12,13,14])).then(a=>a.n),fw=T.lazy(()=>Hv().then(a=>({default:a.QuestionList}))),dw=T.lazy(()=>fe(()=>import("./household-prefill-CmtB9R3R-DtfByJ8T.js"),__vite__mapDeps([15,9,1,2,14])).then(a=>a.n).then(a=>({default:a.HouseholdPrefill}))),pw=T.lazy(()=>fe(()=>import("./copy-applicant-offer-CqzfNhkJ-DJkKq7un.js"),__vite__mapDeps([16,2,1,10,3,11])).then(a=>a.n).then(a=>({default:a.CopyApplicantOffer}))),mw=T.lazy(()=>fe(()=>import("./review-panel-C_WxX33U-BnudlA3G.js").then(a=>a.r),__vite__mapDeps([17,0,1,2,3,4,13])).then(a=>a.i).then(a=>({default:a.ReviewPanel}))),hw=T.lazy(()=>fe(()=>import("./intake-review-panel-D27t8CZO-CyXFTi_6.js"),__vite__mapDeps([18,7,8,1,6,9,2,3,4,0,10,11,12,13,14,17])).then(a=>a.n).then(a=>({default:a.IntakeReviewPanel}))),yw=T.lazy(()=>fe(()=>import("./rates-panel-BSFiWEZX-CUbwWzwJ.js"),__vite__mapDeps([19,8,11,14])).then(a=>a.n).then(a=>({default:a.RatesPanel}))),gw=new Set(["Demographics","Ssn"]),ml=({label:a})=>A.jsxs("div",{className:"cds-py-10 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-3 cds-h-7 cds-w-7 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-sm cds-text-fg-muted",children:a})]}),vw=({current:a,total:r,label:l})=>{let s=Math.round((a+1)/r*100);return A.jsxs("div",{className:"cds-mb-6",children:[A.jsxs("div",{className:"cds-mb-1.5 cds-flex cds-items-center cds-justify-between cds-text-xs cds-font-semibold cds-text-fg-muted",children:[A.jsx("span",{children:l}),A.jsxs("span",{children:["Step ",a+1," of ",r]})]}),A.jsx("div",{className:"cds-h-1.5 cds-w-full cds-overflow-hidden cds-rounded-full cds-bg-border",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Quote progress",children:A.jsx("div",{className:"cds-h-full cds-rounded-full cds-bg-accent cds-transition-all",style:{width:`${s}%`}})})]})},bw=()=>A.jsxs("div",{role:"note",className:"cds-mx-auto cds-mb-3 cds-flex cds-w-full cds-max-w-xl cds-items-center cds-gap-2 cds-rounded-lg cds-border cds-border-warning cds-bg-warning-surface cds-px-3 cds-py-2 cds-text-xs cds-text-warning-foreground",children:[A.jsx(BM,{"aria-hidden":"true",className:"cds-h-4 cds-w-4 cds-shrink-0 cds-text-warning"}),A.jsxs("span",{children:[A.jsx("span",{className:"cds-font-bold",children:"Test mode"})," — quotes started in this session are marked as tests and left out of reporting."]})]}),Sw=({onRestart:a})=>A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-2xl cds-font-bold cds-text-fg",children:"We're not in your state yet"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"We currently write policies in Texas and New Jersey. Give us a call and we'll point you to a licensed agent who can help."}),A.jsxs("a",{href:ov,onClick:()=>As("phone_call_click",{placement:"quote_unsupported_state",phone:Bf}),className:Ha("cds-inline-block cds-rounded-xl cds-bg-accent cds-px-8 cds-py-3.5 cds-text-base cds-font-bold cds-text-accent-foreground hover:cds-bg-accent/90",ci),children:["Call ",Bf]}),A.jsx("button",{type:"button",onClick:a,className:Ha("cds-mt-4 cds-block cds-w-full cds-text-sm cds-font-semibold cds-text-fg cds-underline",ci),children:"Try a different ZIP code"})]}),_w=new Set(["product"]),Uv=({product:a,suppressedKeys:r=_w,chrome:l=p=>A.jsx(A.Fragment,{children:p}),onScreenChange:s,onComplete:c,prefill:f})=>{let p=Lv(a,{prefill:f}),{booting:h,busy:g,current:y,error:E,intakeReview:_,intakeQuestionsLoading:z,mockJumping:G,questionsReady:q,patch:Q,questions:Y,questionsByStage:ae,quoteId:le,screenIndex:J,showErrors:Se,stepTotal:j,questionForField:ye,stages:ee,unsupportedState:Ve,validation:Pe,values:Je}=p;T.useEffect(()=>{y?.kind==="stage"&&y.stage!=="Zip"&&Hv()},[y]);let oe=wM[a],X=T.useCallback(k=>{let Z=ye(k);return Z?{label:Z.question.question,stage:Z.stage}:void 0},[ye]),Ne=T.useCallback(k=>{let Z=new Set;for(let se of k){let{key:pe}=vv(se.field),Ze=pe?ye(pe)?.stage:void 0;Ze&&Z.add(Ze)}return ee.find(se=>Z.has(se))},[ye,ee]),De=T.useMemo(()=>y?y.kind==="terminal"?y.screen==="review"?TM:MM:CM(y.stage,a):oe?{title:oe.heading,short:oe.label}:void 0,[y,oe,a]),Ye=T.useRef(null),R=T.useRef(!1);T.useEffect(()=>{!De||!y||(s?.(y,{title:De.title,index:J,total:j}),R.current&&Ye.current?.focus({preventScroll:!0}),R.current=!0)},[De,y,J,j]);let B=cv()?.DevPanel,te=rr()&&B?A.jsx(B,{product:a,stages:ee,screenIndex:J,currentStage:y?.kind==="stage"?y.stage:void 0,busy:G,onJump:k=>void p.mockJumpTo(k),onAutofill:()=>void p.mockAutofillStage()}):null,[ge]=T.useState(Nv),ve=k=>l(A.jsxs(A.Fragment,{children:[ge?A.jsx(bw,{}):null,A.jsx("div",{ref:Ye,tabIndex:-1,"data-credify-step-body":!0,className:"cds-rounded-2xl cds-bg-surface-elevated cds-p-5 cds-shadow-sm cds-outline-none sm:cds-p-7",children:k}),te]}));if(h||G)return ve(A.jsxs("div",{className:"cds-py-12 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-4 cds-h-8 cds-w-8 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-fg-muted",children:G?"Seeding mock answers…":"Loading your quote…"})]}));if(Ve)return ve(A.jsx(Sw,{onRestart:p.resetSession}));if(!y||!De)return ve(A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-xl cds-font-bold cds-text-fg",children:"We couldn't start your quote"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"Please refresh the page, or give us a call."}),A.jsx("a",{href:ov,className:"cds-font-semibold cds-text-fg cds-underline",children:Bf})]}));let b=y.kind==="terminal"&&y.screen==="rates",L=_&&y.kind==="terminal"&&y.screen==="review",P=!b&&!L;return ve(A.jsxs(A.Fragment,{children:[P?A.jsx(vw,{current:J,total:j,label:oe.label}):null,J>0&&P?A.jsxs("button",{type:"button",onClick:p.back,className:Ha("cds-mb-3 cds-inline-flex cds-items-center cds-gap-1 cds-text-sm cds-font-semibold cds-text-fg hover:cds-underline",ci),children:[A.jsxs("svg",{"aria-hidden":"true",className:"cds-h-4 cds-w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[A.jsx("path",{d:"m12 19-7-7 7-7"}),A.jsx("path",{d:"M19 12H5"})]}),"Back"]}):null,y.kind==="stage"?A.jsxs(A.Fragment,{children:[A.jsx("h1",{className:"cds-mb-1 cds-text-2xl cds-font-bold cds-text-fg",children:De.title}),De.subtitle?A.jsx("p",{className:"cds-mb-5 cds-text-sm cds-text-fg-muted",children:De.subtitle}):null,q?A.jsxs(A.Fragment,{children:[y.stage==="Vehicle"||y.stage==="Driver"?A.jsx(T.Suspense,{fallback:null,children:A.jsx(dw,{kind:y.stage==="Vehicle"?"vehicle":"driver",quoteId:le,values:Je,onApply:Q},y.stage)}):null,gw.has(y.stage)?A.jsx(T.Suspense,{fallback:null,children:A.jsx(pw,{stage:y.stage,questions:Y,values:Je,onPatch:Q},`copy-${y.stage}`)}):null,y.stage==="Zip"?A.jsx(nM,{label:Y[0]?.question??"What's your ZIP code?",value:String(Je.postal_code??""),error:Se?Pe.errorsByKey.postal_code:void 0,onChange:k=>Q({postal_code:k})}):y.stage==="Email"?A.jsx(aM,{label:Y[0]?.question??"What is your email address?",value:String(Je.email??""),error:Se?Pe.errorsByKey.email:void 0,onChange:k=>Q({email:k})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(fw,{questions:Y,values:Je,errors:Se?Pe.errorsByKey:{},itemErrors:Se?Pe.itemErrors:[],stageKey:y.stage,quoteId:le,suppressedKeys:r,onPatch:Q})}),Se&&!Pe.isValid?A.jsx(Mg,{message:"Please complete the highlighted questions."}):null,A.jsx(Mg,{message:E}),A.jsx(eM,{disabled:g,onClick:()=>void p.continueFromStage(),children:g?"Saving…":"Continue"})]}):A.jsx(ml,{label:"Loading this step…"})]}):y.screen==="review"?_?A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(hw,{stages:ee,questionsByStage:ae,values:Je,quoteId:le,loading:z,busy:g,error:E,suppressedKeys:r,onPatch:Q,onConfirm:()=>void p.submitIntakeReview()})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(mw,{stages:ee,questionsByStage:ae,values:Je,busy:g,error:E,suppressedKeys:r,onEditStage:p.goToStage,onConfirm:k=>void p.submitForRates(k)})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(yw,{product:a,quoteId:le,describeField:X,onFixAnswers:k=>{let Z=Ne(k);p.goToStage(Z??ee[0])},onRetry:p.submitForRates,onBound:()=>c?.()})})]}))};const sR=Object.freeze(Object.defineProperty({__proto__:null,A:Mv,B:hv,C:Av,D:ZM,E:Tn,F:cs,G:yv,H:PM,I:Ev,J:pv,K:VM,L:bv,M:As,N:_v,O:Ts,P:Sv,R:hd,S:Ov,T:Ta,U:FM,V:vl,W:GM,_:Os,a:bd,b:rr,c:Cl,d:Dv,f:Rv,g:Ds,h:Ua,i:ps,j:wv,k:Tv,l:ks,m:Rs,n:Lv,o:vd,p:di,q:mv,r:tw,s:xs,t:Uv,u:JM,v:yd,w:Cv,x:gd,y:ln,z:vv},Symbol.toStringTag,{value:"Module"}));var Al=class extends Error{statusCode;retryAfterSeconds;constructor(r,l,s){super(r),this.name="CredifyApiError",this.statusCode=l,this.retryAfterSeconds=s}},nt=async(a,r)=>{let l=ln();if(l.mockTransport){let h=await l.mockTransport(a,r);if(h!=null)return h}let s={"Content-Type":"application/json"},c=Rs();c&&(s.Authorization=`Bearer ${c}`);let f=await(l.fetchImpl??fetch)(`${l.baseUrl}${a}`,{method:"POST",headers:s,body:JSON.stringify(r)}),p={};try{p=await f.json()}catch{}if(!f.ok){let h=typeof p.error=="string"&&p.error||`Request failed with status ${f.status}`,g=f.status===429?typeof p.retryAfterSeconds=="number"?p.retryAfterSeconds:60:void 0;throw new Al(h,f.status,g)}return p},Et=(a,r)=>r&&!Rs()?{...a,quoteId:r}:a,Ew=()=>ln().source,Cw=()=>{let{partner:a}=ln();return a?a.sub?{partner_id:a.id,sub_id:a.sub}:{partner_id:a.id}:{}},zv=async(a,r=!1)=>{let l=await nt("/create-quote",{postal_code:a,source:Ew(),...Cw(),...r?{is_test:!0}:{}});if(!l.quoteId)throw new Al("Invalid createQuote response",0);return Os(l.quoteId),{quoteId:l.quoteId}},Bv=(a,r=!1,l)=>nt("/update-quote",Et({payload:a,getRates:r},l)).then(s=>s.status?s:{status:"success"}),Sd=a=>nt("/get-quote",Et({},a)),jv=(a,r)=>nt("/is-supported-state",Et({state:a},r)),Iv=(a,r)=>nt("/verify-quote",{action:"send",quoteId:a,phone:r}),qv=async(a,r)=>{let l=await nt("/verify-quote",{quoteId:a,smsCode:r});return l.isVerified&&l.token&&Ds(l.token),{isVerified:!!l.isVerified}},Pv=a=>nt("/get-rates",Et({},a)),Gv=async a=>{let r=await nt("/verify-quote",Et({action:"issue_resume_link"},a));if(!r.resumeToken)throw new Al("Invalid issueResumeLink response",0);return{resumeToken:r.resumeToken,expiresAt:r.expiresAt??null}},_d=async a=>{di();let r=await nt("/verify-quote",{action:"resume",resumeToken:a});if(!r.quoteId)throw new Al("Invalid resume response",0);return Os(r.quoteId),r.isVerified&&r.token&&Ds(r.token),{quoteId:r.quoteId}},Fv=(a,r)=>{let l=Array.isArray(a)?a:[a];return nt("/request-bind",{...l.length===1?{quoteRateId:l[0]}:{quoteRateIds:l},privacyNoticeAcknowledged:r}).then(s=>"success"in s?s:{success:!0})},Vv=async(a,r)=>{try{return await nt("/prefill-property",Et({...r},a))}catch{return{found:!1}}},Yv=a=>nt("/get-stages-for-quote",Et({},a)),$v=(a,r)=>nt("/get-questions-by-stage",Et({stage:a},r)),Ed=(a,r)=>nt("/get-vehicle-options",Et({...a},r)),Qv=(a,r)=>Ed({action:"vinDecode",vin:a},r),Cd=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"vehiclePrefillSuggestions"},a));return r??[]}catch{return[]}},Xv=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyVehiclePrefill",selectedIds:a},r));return l??[]}catch{return[]}},Zv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissVehiclePrefill"},a))}catch{}},Ad=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"driverPrefillSuggestions"},a));return r??[]}catch{return[]}},Wv=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyDriverPrefill",selectedIds:a},r));return l??[]}catch{return[]}},Kv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissDriverPrefill"},a))}catch{}},Aw=fv({prefillSuggestions:()=>Td,resetPrefillSuggestions:()=>Md}),Jv=a=>{let r=new Map,l=new Map,s=c=>{let f=r.get(c);if(f)return f;let p=a(c).then(h=>(l.set(c,h),h)).catch(()=>(r.get(c)===p&&r.delete(c),[]));return r.set(c,p),p};return{fetch:s,peek:c=>l.get(c),prefetch:c=>{s(c)},reset:()=>{r.clear(),l.clear()}}},ns=Jv(Cd),as=Jv(Ad),Td={vehicle:{fetch:ns.fetch,peek:ns.peek,prefetch:ns.prefetch},driver:{fetch:as.fetch,peek:as.peek,prefetch:as.prefetch}},Md=()=>{ns.reset(),as.reset()};const Vg=Object.freeze(Object.defineProperty({__proto__:null,C:Bv,E:nt,S:Iv,T:Et,_:jv,a:Xv,b:_d,c:Kv,d:Cd,f:$v,g:Ed,h:Yv,i:Wv,l:Zv,m:Pv,n:Aw,o:zv,p:Sd,r:Md,s:Qv,t:Td,u:Ad,v:Gv,w:qv,x:Fv,y:Vv},Symbol.toStringTag,{value:"Module"})),Ot=Object.freeze(Object.defineProperty({__proto__:null,AUTH_TOKEN_STORAGE_KEY:Dv,CredifyApiError:Al,QUOTE_ID_STORAGE_KEY:Rv,applyDriverPrefill:Wv,applyVehiclePrefill:Xv,bodyWithQuoteId:Et,buildResumeUrl:vd,captureResumeTokenFromUrl:xs,cityFromZip:ps,clearQuoteSession:di,configureApi:yd,configureZipCityLookup:bd,consumeResumeToken:Cl,createQuote:zv,decodeVin:Qv,dismissDriverPrefill:Kv,dismissVehiclePrefill:Zv,fetchDriverPrefillSuggestions:Ad,fetchVehiclePrefillSuggestions:Cd,getApiConfig:ln,getQuestionsByStage:$v,getQuote:Sd,getRates:Pv,getStagesForQuote:Yv,getVehicleOptions:Ed,hasResumeToken:ks,isMockEnabled:rr,isSupportedState:jv,isTestModeEnabled:gd,issueResumeLink:Gv,loadAuthToken:Rs,loadQuoteId:Ua,post:nt,prefillProperty:Vv,prefillSuggestions:Td,redeemResumeToken:_d,requestBind:Fv,resetApiConfig:Ov,resetPrefillSuggestions:Md,saveAuthToken:Ds,saveQuoteId:Os,sendSmsCode:Iv,updateQuote:Bv,verifySmsCode:qv},Symbol.toStringTag,{value:"Module"}));var pf={};const Tw="https://api.getcredify.com",Mw=()=>{try{if(typeof pf<"u"&&pf?.baseUrl)return pf.baseUrl}catch{}return Tw},rs=Mw();var mf={};const ww="mock";function Ow(){try{return typeof mf<"u"&&mf?.key?mf.key:void 0}catch{return}}function $f(){const a=Ow();if(!a||typeof window>"u"||!window.location)return!1;try{return new URLSearchParams(window.location.search).get(ww)===a}catch{return!1}}const Rw=()=>{const r=globalThis.process?.env?.NODE_ENV;return typeof r=="string"?r!=="production":!1};function Dw(a,r){try{Rw()&&console.error(`[credify-widget] ${a}:`,r),pr(r instanceof Error?r:new Error(String(r)),{tags:{source:a,failure_type:"side_effect"},level:"warning"})}catch{}}let xw=!1;function kw(){return xw}let Nw;function Lw(){return Nw}const Hw="credify-insurance-widget",Uw="1.0",eb=25,tb=64*1024,zw=`
107
- …[truncated]`;let Yg=!1,$g=null,Qg="",nb=eb,Qf=tb,gl=[];function Bw(a){return typeof a=="string"?a:a instanceof URL?a.href:a.url}function jw(a,r){return r?.method?r.method.toUpperCase():typeof a!="string"&&!(a instanceof URL)&&a.method?a.method.toUpperCase():"GET"}function Xg(a){if(!a)return[];const r=[];if(Array.isArray(a))for(const[l,s]of a)r.push({name:l,value:String(s)});else if(typeof a.forEach=="function")a.forEach((l,s)=>r.push({name:s,value:l}));else for(const[l,s]of Object.entries(a))r.push({name:l,value:String(s)});return r}function Iw(a){try{const r=[];return new URL(a).searchParams.forEach((l,s)=>r.push({name:s,value:l})),r}catch{return[]}}function qw(a,r){const l=r?.body;return typeof l!="string"||l.length===0?void 0:{mimeType:a.find(c=>c.name.toLowerCase()==="content-type")?.value??"application/json",text:l}}function Pw(a){const r=a.length;return r<=Qf?{text:a,size:r}:{text:a.slice(0,Qf)+zw,size:r}}function Gw(a){gl.push(a),gl.length>nb&&gl.shift()}function Fw(a){if(Yg)return!0;if(typeof window>"u"||typeof window.fetch!="function")return!1;Qg=a.baseUrl,nb=a.maxEntries??eb,Qf=a.maxBodyBytes??tb,$g=window.fetch.bind(window);const r=$g;return window.fetch=async(l,s)=>{let c;try{c=Bw(l)}catch{return r(l,s)}if(!c.startsWith(Qg))return r(l,s);const f=Xg(s?.headers??(typeof l!="string"&&!(l instanceof URL)?l.headers:void 0)),p={startedDateTime:new Date().toISOString(),time:-1,request:{method:jw(l,s),url:c,httpVersion:"HTTP/1.1",headers:f,queryString:Iw(c),cookies:[],headersSize:-1,bodySize:typeof s?.body=="string"?s.body.length:-1,postData:qw(f,s)},response:Vw(),cache:{},timings:{send:0,wait:-1,receive:0}};Gw(p);const h=typeof performance<"u"?performance.now():0;let g;try{g=await r(l,s)}catch(E){const _=(typeof performance<"u"?performance.now():0)-h;throw p.time=Math.round(_),p.timings.wait=Math.round(_),p.response._error=E instanceof Error?E.message:String(E),E}const y=(typeof performance<"u"?performance.now():0)-h;p.time=Math.round(y),p.timings.wait=Math.round(y),p.response.status=g.status,p.response.statusText=g.statusText,p.response.headers=Xg(g.headers),p.response.content.mimeType=typeof g.headers?.get=="function"&&g.headers.get("content-type")||"";try{g.clone().text().then(_=>{const{text:z,size:G}=Pw(_);p.response.content.text=z,p.response.content.size=G,p.response.bodySize=G}).catch(()=>{})}catch{}return g},Yg=!0,!0}function Vw(){return{status:0,statusText:"",httpVersion:"HTTP/1.1",headers:[],cookies:[],content:{size:0,mimeType:""},redirectURL:"",headersSize:-1,bodySize:-1}}function Yw(){return{log:{version:"1.2",creator:{name:Hw,version:Uw},entries:gl.map(a=>({...a}))}}}function $w(){return gl.length}const Qw=[/ssn/i,/social.?security/i,/(driver.?licen[cs]e|^dln$|^dl$)/i,/(date.?of.?birth|^dob$)/i,/^vin$/i,/(sms.?code|^otp$|^code$|verification.?code)/i,/phone/i,/^email$/i,/(first.?name|last.?name|full.?name)/i,/(^address$|street|^zip$|postal)/i,/(jwt|^token$|authorization|^auth$|api.?key|secret|password|credential)/i,/cookie/i],Xw=[/\b\d{3}-?\d{2}-?\d{4}\b/g,/\b[A-HJ-NPR-Z0-9]{17}\b/g,/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/g,/\bsk_[A-Za-z0-9]{16,}\b/g,/\bBearer\s+[A-Za-z0-9._-]+/gi],Da="[REDACTED]",Zw=8;function Ns(a){for(const r of Qw)if(r.test(a))return!0;return!1}function xa(a){let r=a;for(const l of Xw)r=r.replace(l,Da);return r}function wa(a,r=0,l=new WeakSet){if(r>Zw)return Da;if(a==null)return a;if(typeof a=="string")return xa(a);if(typeof a!="object")return a;if(l.has(a))return Da;if(l.add(a),Array.isArray(a))return a.map(f=>wa(f,r+1,l));const s=Object.getPrototypeOf(a);if(s!==null&&s!==Object.prototype)return a;const c={};for(const[f,p]of Object.entries(a)){if(Ns(f)){c[f]=Da;continue}c[f]=wa(p,r+1,l)}return c}function Zg(a){if(a.request&&(a.request.data!==void 0&&(a.request.data=wa(a.request.data)),a.request.cookies!==void 0&&(a.request.cookies=Da),a.request.headers)){const r=a.request.headers;for(const l of Object.keys(r))Ns(l)&&(r[l]=Da)}if(a.extra&&(a.extra=wa(a.extra)),a.contexts&&(a.contexts=wa(a.contexts)),a.tags&&(a.tags=wa(a.tags)),a.user){const{id:r,email:l,username:s}=a.user;a.user={...typeof r=="string"?{id:r}:{},...typeof l=="string"?{email:l}:{},...typeof s=="string"?{username:s}:{}}}if(Array.isArray(a.breadcrumbs))for(const r of a.breadcrumbs)r.data!==void 0&&(r.data=wa(r.data)),typeof r.message=="string"&&(r.message=xa(r.message));return typeof a.message=="string"&&(a.message=xa(a.message)),a}function Wg(a){for(const r of a)r.value=Ns(r.name)?Da:xa(r.value)}function Kg(a){try{return JSON.stringify(wa(JSON.parse(a)))}catch{return xa(a)}}function Ww(a){const r=JSON.parse(JSON.stringify(a));for(const l of r.log.entries){Wg(l.request.headers),Wg(l.response.headers);for(const s of l.request.queryString)s.value=Ns(s.name)?Da:xa(s.value);l.request.postData?.text&&(l.request.postData.text=Kg(l.request.postData.text)),l.response.content.text&&(l.response.content.text=Kg(l.response.content.text)),l.request.url=xa(l.request.url),l.response._error&&(l.response._error=xa(l.response._error))}return r}function Kw(a,r={}){try{Es(l=>{l.setTag("failure_type","quote"),r.product&&l.setTag("product",r.product),r.stage&&l.setTag("stage",r.stage),r.quoteId&&l.setTag("quote_id",r.quoteId),r.phase&&l.setTag("phase",r.phase),r.endpoint&&l.setTag("endpoint",r.endpoint),typeof r.statusCode=="number"&&l.setTag("status_code",String(r.statusCode)),r.failureCode&&l.setTag("failure_code",r.failureCode);try{$w()>0&&l.addAttachment({filename:"quote-failure.har",data:JSON.stringify(Ww(Yw())),contentType:"application/json"})}catch{}const s=a instanceof Error?a:new Error(r.message??"Quote failed");pr(s)})}catch{}}const Jw=(a,r)=>{try{return a()}catch{return r}};function wd(){return Jw(()=>Ua(),null)}const eO=["widgetOpened","widgetClosed","stageViewed","stageCompleted","flowCompleted","ratesViewed","ratesBack","submissionFailed","telemetry"],ms={};function tO(a){let r=ms[a];return r||(r=new Set,ms[a]=r),r}function ab(a,r){tO(a).add(r)}function rb(a,r){ms[a]?.delete(r)}function mr(a,...r){const l=ms[a];if(!l||l.size===0)return;const s=r[0],c={quoteId:wd(),timestamp:Date.now()};for(const f of[...l])try{f(s,c)}catch(p){pr(p,{tags:{source:"widget-event-listener",event:a}})}}function nO(){mr("widgetOpened")}function Jg(){mr("widgetClosed")}function aO(a){mr("stageViewed",a)}function rO(a){mr("stageCompleted",a)}function iO(){mr("flowCompleted")}function lO(a){mr("ratesViewed",a)}function ib(a,r){mr("telemetry",{event:a,properties:r})}let e0=!1;const oO=()=>{if(e0||typeof window>"u")return;e0=!0;const a=window.gm_authFailure;window.gm_authFailure=()=>{try{Es(r=>{r.setLevel("warning"),r.setTag("failure_type","places"),r.setTag("places_failure","auth_failed"),r.setExtra("origin",window.location.origin),_C("Google Places key rejected (gm_authFailure)")})}catch{}ib("places_auth_failed",{origin:window.location.origin}),a?.()}};var t0={apiKey:""};const sO=()=>{try{return typeof t0<"u"?t0?.apiKey:void 0}catch{return}};let n0=!1;const uO=async(a,r)=>null,lb=()=>{n0||(n0=!0,yd({baseUrl:rs,storagePrefix:"credify_",source:"widget",isMockActive:$f,isTestActive:kw,partner:Lw(),mockTransport:(a,r)=>$f()?uO():null}),Cv({onQuoteFailure:(a,r)=>Kw(a,{...r,quoteId:r.quoteId??void 0}),onBreadcrumb:(a,r)=>{try{La({category:"quote",message:a,data:r,level:"info"})}catch{}},onTrack:(a,r)=>ib(a,r),onContext:a=>{try{a.product&&tf("product",a.product),a.stage&&tf("stage",a.stage),"quoteId"in a&&tf("quote_id",a.quoteId??void 0)}catch{}}}),yM({apiKey:sO()}),oO(),bd(void 0))},a0="credify-widget-font",cO="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";function fO(){if(typeof document>"u"||document.getElementById(a0))return;const a=document.createElement("link");a.id=a0,a.rel="stylesheet",a.href=cO,document.head.appendChild(a)}const Od=a=>A.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:a}),dO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 10.5 12 3l9 7.5"}),A.jsx("path",{d:"M5 9.5V21h14V9.5"})]})),pO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M4 16.5V13l1.8-4.5A2 2 0 0 1 7.7 7h8.6a2 2 0 0 1 1.9 1.5L20 13v3.5"}),A.jsx("path",{d:"M4 16.5h16M7 20v-3.5M17 20v-3.5"})]})),mO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 8.5 9 4l6 4.5"}),A.jsx("path",{d:"M4.5 7.8V19h9V7.8"}),A.jsx("path",{d:"M14 19v-6h6.5v6z"})]})),hO=[{product:"Home",label:"Home",detail:"Cover the place you live",glyph:dO},{product:"Auto",label:"Auto",detail:"Cover your vehicles",glyph:pO},{product:"Bundle",label:"Home + Auto",detail:"Quote both home and auto coverage",glyph:mO}],yO=({onChoose:a})=>A.jsxs("div",{className:"credify-widget-chooser",children:[A.jsx("h1",{children:"What would you like to insure?"}),A.jsx("p",{children:"We'll ask a few questions and show you real prices from our carriers."}),A.jsx("div",{role:"group","aria-label":"What would you like to insure?",className:"credify-widget-chooser-options",children:hO.map(({product:r,label:l,detail:s,glyph:c})=>A.jsxs("button",{type:"button",onClick:()=>a(r),className:"credify-widget-chooser-option",children:[c,A.jsx("span",{className:"credify-widget-chooser-label",children:l}),A.jsx("span",{className:"credify-widget-chooser-detail",children:s})]},r))})]}),gO=a=>!a&&(ks()||!!Ua());var hf={blandWidgetId:"",cobrowseLicense:""};function vO(){try{return typeof hf<"u"&&hf?hf:{}}catch{return{}}}function bO(a){const r=vO(),l=r.blandWidgetId,s=r.cobrowseLicense;return{enabled:!!(l||s),blandWidgetId:l||void 0,cobrowseLicense:s||void 0,proactiveOnError:!0}}const yf=new Map;function ob(a){if(typeof document>"u")return Promise.reject(new Error("loadScript called without a document"));const r=yf.get(a);if(r)return r;if(document.querySelector(`script[src="${a}"]`))return Promise.resolve();const l=new Promise((s,c)=>{const f=document.createElement("script");f.src=a,f.async=!0,f.onload=()=>s(),f.onerror=()=>{yf.delete(a),c(new Error(`Failed to load script: ${a}`))},document.head.appendChild(f)});return yf.set(a,l),l}const sb="https://widget.bland.ai/loader.js",Rd="bland-widget-host",SO="#bland-widget-root > button",_O=20,EO=100;let bl=!1;function CO(){return typeof document>"u"?!1:!!window.blandSettings||!!document.querySelector(`script[src="${sb}"]`)||!!document.getElementById(Rd)}function AO(){return document.getElementById(Rd)?.shadowRoot?.querySelector(SO)??null}function TO(a,r){if(typeof window>"u"||CO())return;const l=wd();window.blandSettings={widget_id:a,request_data:{source:"credify-insurance-widget",entry_path:window.location.pathname,...l?{quote_id:l}:{},...r}},bl=!0,ob(sb).catch(s=>{bl=!1,pr(s,{tags:{source:"widget-bland-loader"}})})}async function ub(a,r){if(typeof window>"u")return!1;TO(a,r);for(let l=0;l<_O;l+=1){const s=AO();if(s){for(const c of["mousedown","mouseup","click"])s.dispatchEvent(new MouseEvent(c,{bubbles:!0,composed:!0}));return!0}await new Promise(c=>window.setTimeout(c,EO))}return pr(new Error("Bland launcher did not mount"),{tags:{source:"widget-bland-open",owned:String(bl)}}),!1}function MO(){typeof document>"u"||(bl&&(document.getElementById(Rd)?.remove(),delete window.blandSettings),bl=!1)}const wO="https://js.cobrowse.io/CobrowseIO.js";let Xf=!1;async function OO(a){await ob(wO);const r=window.CobrowseIO;if(!r)return null;if(!Xf){r.license=a,r.redactedViews=["input","select","textarea","[data-credify-redact]"],r.customData={quote_id:wd()??void 0,device_name:"Credify Insurance Widget"},r.confirmSession=()=>Promise.resolve(typeof window<"u"?window.confirm("Allow a Credify support agent to view your screen?"):!1);try{await r.client?.()}catch{}r.start?.(),Xf=!0}return r}async function RO(a){if(typeof window>"u")return null;try{const r=await OO(a);return r?.createSessionCode?await r.createSessionCode():null}catch{return null}}function DO(){try{window.CobrowseIO?.stop?.()}catch{}Xf=!1}let Mn=null,is=null,Zf=!1;function xO(a){HO();const r=bO();if(Mn=r,!!r.enabled&&r.proactiveOnError&&r.blandWidgetId){const l=s=>{Zf||(Zf=!0,ub(r.blandWidgetId,{last_quote_error:s?.reason??"unknown"}))};ab("submissionFailed",l),is=l}}function kO(){return!Mn?.enabled||!Mn.blandWidgetId?Promise.resolve(!1):ub(Mn.blandWidgetId)}function NO(){return!Mn?.enabled||!Mn.cobrowseLicense?Promise.resolve(null):RO(Mn.cobrowseLicense)}function LO(){return!!(Mn?.enabled&&Mn.cobrowseLicense)}function HO(){is&&(rb("submissionFailed",is),is=null),MO(),DO(),Zf=!1,Mn=null}const UO=({label:a="Share my screen"})=>{const[r,l]=T.useState(null),[s,c]=T.useState(!1),[f,p]=T.useState(!1),h=T.useCallback(async()=>{c(!0),p(!1);try{const g=await NO();g?l(g):p(!0)}catch{p(!0)}finally{c(!1)}},[]);return LO()?A.jsxs("span",{className:"credify-widget-share",children:[A.jsx("button",{type:"button",onClick:h,disabled:s||!!r,"aria-label":"Share your screen with an agent",className:"credify-widget-share-button",children:s?"Starting…":a}),r&&A.jsxs("span",{className:"credify-widget-share-code",children:["Read this code to your agent: ",A.jsx("strong",{children:r})]}),f&&A.jsx("span",{role:"alert",className:"credify-widget-share-error",children:"Couldn't start screen sharing. Please call us instead."})]}):null},zO="https://assets.getcredify.com",BO=()=>{try{if(typeof __CREDIFY_ASSETS__<"u"&&__CREDIFY_ASSETS__?.baseUrl)return __CREDIFY_ASSETS__.baseUrl}catch{}return zO};BO();function jO(){return Promise.resolve(null)}let IO;function qO(){return IO}const PO=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),GO=new Set(["product"]),FO=a=>a==="Home"||a==="Auto"||a==="Bundle";function VO({isOpen:a,onClose:r,product:l}){lb(),fO();const[s,c]=T.useState(null);T.useEffect(()=>{let oe=!0;return jO().then(X=>{oe&&c(X)}),()=>{oe=!1}},[]);const f=T.useRef(null),[p,h]=T.useState(null),[g,y]=T.useState(),[E,_]=T.useState(()=>gO(l)),z=T.useRef(null),G=l??g,q=T.useRef(null),Q=T.useRef(null),[Y,ae]=T.useState(!1),[le,J]=T.useState(!1),Se=T.useRef(null),j=T.useCallback((oe,X)=>{const Ne=Se.current,De=oe.kind==="stage"?oe.stage:void 0;Ne&&Ne.stage&&X.index>Ne.index&&rO({stageKey:Ne.stage,stageTitle:Ne.stage,stepIndex:Ne.index,totalSteps:X.total}),De&&aO({stageKey:De,stageTitle:X.title,stepIndex:X.index,totalSteps:X.total}),oe.kind==="terminal"&&oe.screen==="rates"&&lO({rateCount:0}),Se.current={stage:De,index:X.index}},[]);T.useEffect(()=>{a&&nO()},[a]),T.useEffect(()=>{if(!a||l||g)return;if(!z.current){const X=Cl();X&&(z.current=_d(X))}if(!z.current&&!Ua())return;let oe=!1;return _(!0),(async()=>{try{await z.current;const{quote:X}=await Sd(Ua()??void 0),Ne=X.product;!oe&&FO(Ne)&&y(Ne)}catch{}finally{oe||_(!1)}})(),()=>{oe=!0}},[a,l,g]);const ye=T.useCallback(()=>{if(le){Jg(),r();return}ae(!0)},[le,r]),ee=T.useCallback(()=>ae(!1),[]),Ve=T.useCallback(()=>{ae(!1),Jg(),r()},[r]),Pe=T.useCallback(oe=>{if(oe.key==="Escape"){oe.preventDefault(),Y?ee():ye();return}if(oe.key!=="Tab")return;const X=Y?q.current:f.current;if(!X)return;const Ne=Array.from(X.querySelectorAll(PO)).filter(B=>B.offsetParent!==null||B===document.activeElement);if(Ne.length===0)return;const De=Ne[0],Ye=Ne[Ne.length-1],R=document.activeElement;oe.shiftKey&&R===De?(oe.preventDefault(),Ye.focus()):!oe.shiftKey&&R===Ye&&(oe.preventDefault(),De.focus())},[Y,ee,ye]);T.useEffect(()=>{if(a)return window.addEventListener("keydown",Pe),()=>window.removeEventListener("keydown",Pe)},[a,Pe]),T.useEffect(()=>{if(!Y)return;const oe=window.setTimeout(()=>Q.current?.focus(),0);return()=>window.clearTimeout(oe)},[Y]),T.useEffect(()=>{a||(ae(!1),J(!1),y(void 0))},[a]);const Je=s?.logoUrl?A.jsx("img",{src:s.logoUrl,alt:s.firmName??"Partner logo"}):s?.firmName?A.jsx("span",{children:s.firmName}):null;return a?A.jsxs("div",{ref:f,className:"credify-widget-overlay",role:"dialog","aria-modal":"true","aria-labelledby":"insurance-modal-title",tabIndex:-1,children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsxs("div",{ref:h,className:"credify-widget-panel",role:"document",children:[A.jsx("h2",{id:"insurance-modal-title",className:"credify-widget-sr-only",children:"Credify insurance quote"}),A.jsx("button",{onClick:ye,className:"credify-widget-close","aria-label":"Close quote form",type:"button",children:A.jsx("span",{"aria-hidden":"true",children:"×"})}),Je&&A.jsx("div",{className:"credify-widget-co-brand",children:Je}),A.jsx(hM,{theme:{mode:"light",accent:s?.brandColour??void 0},className:"credify-widget-scope",portalContainer:p,children:E?A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame credify-widget-chooser","aria-live":"polite",children:A.jsx("p",{children:"Loading your quote…"})})}):G?A.jsx(Uv,{product:G,prefill:qO(),suppressedKeys:GO,onScreenChange:j,onComplete:()=>{J(!0),iO()},chrome:oe=>A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:oe})})}):A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:A.jsx(yO,{onChoose:y})})})}),A.jsxs("div",{className:"credify-widget-footer",children:[A.jsx(UO,{label:"Need help? Share my screen"}),A.jsx("p",{children:"Insurance products offered through Credify Corporation, a licensed insurance agency."})]}),Y&&A.jsx("div",{className:"credify-widget-confirm-backdrop",role:"presentation",children:A.jsxs("div",{ref:q,className:"credify-widget-confirm",role:"alertdialog","aria-modal":"true","aria-labelledby":"close-confirm-title","aria-describedby":"close-confirm-description",tabIndex:-1,children:[A.jsx("h3",{id:"close-confirm-title",children:"Close this window?"}),A.jsx("p",{id:"close-confirm-description",children:"You can reopen it from this page whenever you're ready."}),A.jsxs("div",{className:"credify-widget-confirm-actions",children:[A.jsx("button",{ref:Q,type:"button",className:"credify-widget-confirm-cancel",onClick:ee,children:"Keep editing"}),A.jsx("button",{type:"button",className:"credify-widget-confirm-danger",onClick:Ve,children:"Close window"})]})]})})]})]}):null}function YO({onClose:a}){return A.jsxs("div",{className:"credify-widget-overlay",role:"dialog","aria-modal":"true",children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsx("div",{className:"credify-widget-panel",role:"document",style:{height:"auto",maxHeight:"none"},children:A.jsxs("div",{className:"credify-widget-body",style:{textAlign:"center"},children:[A.jsx("h2",{style:{margin:"0 0 0.5rem",fontSize:"1.25rem",fontWeight:700,color:"#10233f"},children:"Something went wrong"}),A.jsx("p",{style:{margin:"0 0 1.25rem",fontSize:"0.9375rem",color:"#42566e"},children:"We could not load your quote. Please close this and try again, or call us on (512) 640-2609."}),A.jsx("button",{type:"button",onClick:a,className:"credify-widget-confirm-cancel",style:{padding:"0.625rem 1.5rem",borderRadius:"0.5rem",fontWeight:700,cursor:"pointer"},children:"Close"})]})})]})}var gf={dsn:"",environment:"production",release:"c14f1257a6e23c00838f239b444597822c70f3e7"};function $O(){try{return typeof gf<"u"&&gf?gf:{}}catch{return{}}}let r0=!1;function QO(a,r){if(!a)return r;const l=Number(a);return Number.isFinite(l)&&l>=0&&l<=1?l:r}function XO(a={}){if(r0)return!0;if(typeof window>"u")return!1;const r=$O(),l=a.dsn??r.dsn;return!l||a.enabled===!1?!1:(Fw({baseUrl:rs}),eT({dsn:l,environment:a.environment??r.environment??"production",release:a.release??r.release,sendDefaultPii:!1,maxBreadcrumbs:50,tracesSampleRate:a.tracesSampleRate??QO(r.tracesSampleRate,.1),tracePropagationTargets:[rs],replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,integrations:s=>[...s.filter(c=>c.name!=="BrowserApiErrors"),G0({eventTarget:!1})],ignoreErrors:[/Java object is gone/,/Error invoking postMessage/],denyUrls:[/navigation_performance_logger/,/^iabjs:/],beforeSend:s=>Zg(s),beforeBreadcrumb:s=>s&&(Zg({breadcrumbs:[s]}),s)}),r0=!0,K1("replayIntegration").then(s=>{try{kC(s({maskAllText:!0,maskAllInputs:!0,blockAllMedia:!0,networkDetailAllowUrls:[rs],networkCaptureBodies:!1}))}catch{}}).catch(()=>{}),!0)}const i0="credify_product",l0="credify_product",ZO={home:"Home","home-insurance":"Home",homeowners:"Home",auto:"Auto","auto-insurance":"Auto",car:"Auto",vehicle:"Auto",bundle:"Bundle","bundle-insurance":"Bundle"};function o0(a){if(a)return ZO[a.trim().toLowerCase()]}let Wf,s0=!1;function WO(){try{if(typeof window>"u")return;Wf=o0(window.sessionStorage?.getItem(l0)),s0=!1;const a=new URL(window.location.href),r=a.searchParams.get(i0);if(r===null)return;const l=o0(r);if(l){Wf=l,s0=!0;try{window.sessionStorage?.setItem(l0,l)}catch{}}a.searchParams.delete(i0),window.history.replaceState(window.history.state,"",a.toString())}catch(a){Dw("widget-product-param",a)}}function u0(){return Wf}function KO(){const[a,r]=T.useState(!1),[l,s]=T.useState(()=>(WO(),u0()));T.useEffect(()=>{lb(),XO(),xO()},[]);const c=T.useCallback(p=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:p,source:"credify-insurance-widget"},"*")},[]);T.useEffect(()=>{const p=(g,y,E)=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:"event",source:"credify-insurance-widget",event:g,data:y,meta:E},"*")},h=eO.map(g=>{const y=(E,_)=>p(g,E,_);return ab(g,y),[g,y]});return()=>{for(const[g,y]of h)rb(g,y)}},[]),T.useEffect(()=>{const p=h=>{if(h.data?.source==="credify-insurance-widget")switch(h.data.type){case"open":r(!0),c("opened");break;case"close":r(!1),c("closed");break;case"init":h.data.product&&!u0()&&s(h.data.product),c("ready");break;case"support-open":kO();break}};return window.addEventListener("message",p),c("ready"),()=>{window.removeEventListener("message",p)}},[c]);const f=T.useCallback(()=>{r(!1),c("closed")},[c]);return A.jsx(fd,{fallback:A.jsx(YO,{onClose:f}),children:A.jsx(VO,{isOpen:a,onClose:f,product:l})})}var JO=new Set(["/create-quote","/update-quote","/get-quote","/get-stages-for-quote","/get-questions-by-stage","/get-vehicle-options","/is-supported-state","/verify-quote","/get-rates","/request-bind","/prefill-property"]);let c0=!1;function eR(a){try{if(typeof a=="string")return new URL(a,window.location.href).pathname;if(a instanceof URL)return a.pathname;if(a instanceof Request)return new URL(a.url,window.location.href).pathname}catch{return null}return null}async function tR(a,r){try{if(r?.body&&typeof r.body=="string")return JSON.parse(r.body);if(a instanceof Request){const l=await a.clone().text();return l?JSON.parse(l):{}}}catch{return{}}return{}}function nR(){try{if(typeof document>"u"||document.getElementById("credify-mock-badge"))return;const a=()=>{const r=document.createElement("div");r.id="credify-mock-badge",r.textContent="MOCK MODE",r.setAttribute("aria-hidden","true"),r.style.cssText=["position:fixed","bottom:12px","left:12px","z-index:2147483647","background:#b91c1c","color:#fff","font:600 11px/1 system-ui,sans-serif","letter-spacing:0.08em","padding:6px 10px","border-radius:9999px","box-shadow:0 1px 4px rgba(0,0,0,0.3)","pointer-events:none","user-select:none"].join(";"),document.body.appendChild(r)};document.body?a():document.addEventListener("DOMContentLoaded",a,{once:!0})}catch{}}function aR(){if(c0||typeof window>"u"||typeof window.fetch!="function"||!$f())return;c0=!0;const a=window.fetch.bind(window);window.fetch=async(r,l)=>{const s=eR(r);return!s||!JO.has(s)||await tR(r,l),a(r,l)},nR(),typeof console<"u"&&console.info("[Credify] Mock mode active — all API calls are served from in-memory fixtures.")}aR();L_.createRoot(document.getElementById("root")).render(A.jsx(T.StrictMode,{children:A.jsx(KO,{})}));export{Ed as $,Wv as A,bv as B,rr as C,Xv as D,mv as E,di as F,Tn as G,Fv as H,Td as I,vv as J,Ta as K,Y0 as L,$0 as M,GM as N,Zv as O,tw as P,x_ as Q,w_ as R,oR as S,BM as T,lR as U,rR as V,sv as W,iR as X,FM as Y,PM as Z,fe as _,A as a,Qv as a0,M_ as a1,sR as a2,Ot as a3,AM as b,CM as c,Ha as d,yv as e,ci as f,Mg as g,eM as h,cs as i,Kv as j,hv as k,UM as l,Bf as m,As as n,ov as o,JT as p,Sd as q,T as r,Pv as s,fv as t,hd as u,Av as v,pv as w,qv as x,Al as y,Iv as z};
106
+ */const zM=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],BM=UM("triangle-alert",zM);var pv={auto_prior_carrier_name:{NoPriorInsurance:"No Prior Insurance",TwentyFirstCentury:"21st Century",ACentral:"A.Central",AAA:"AAA",AARP:"AARP",Acadia:"Acadia",Ace:"Ace",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",Aegis:"Aegis",AIC:"AIC",AIG:"AIG",AlfaAlliance:"Alfa Alliance",Allied:"Allied",Allstate:"Allstate",AmericaFirst:"America First",AmericanCommerce:"American Commerce",AmericanFamily:"American Family",Amica:"Amica",ASILloyds:"ASI Lloyds",AustinMutual:"Austin Mutual",Autoone:"Autoone",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bankers:"Bankers",BeaconNational:"Beacon National",BrethernMutual:"Brethern Mutual",BristolWest:"Bristol West",CapitalInsuranceGroup:"Capital Insurance Group",Celina:"Celina",CentralMutualOfOH:"Central Mutual of OH",Chubb:"Chubb",Cincinnati:"Cincinnati",Clearcover:"Clearcover",CNA:"CNA",ColonialPenn:"Colonial Penn",ColoradoCasualty:"Colorado Casualty",Columbia:"Columbia",CommerceWest:"Commerce West",CommonwealthCasualty:"Commonwealth Casualty",Ameriprise:"CONNECT",ConstitutionalCasualty:"Constitutional Casualty",Cornerstone:"Cornerstone",Countrywide:"Countrywide",CSE:"CSE",Cumberland:"Cumberland",Dairyland:"Dairyland",Deerbrook:"Deerbrook",Direct:"Direct",Donegal:"Donegal",Drive:"Drive",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",Explorer:"Explorer",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",Foremost:"Foremost",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",GreatAmerican:"Great American",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harbor:"Harbor",Harleysville:"Harleysville",HartfordOMNI:"Hartford OMNI",Hartford:"Hartford",HastingsMutual:"Hastings Mutual",HawkeyeSecurity:"Hawkeye Security",HDI:"HDI",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",IFA:"IFA",ImperialCasualty:"Imperial Casualty",IndianaFarmers:"Indiana Farmers",Indiana:"Indiana",Infinity:"Infinity",Insurequest:"Insurequest",Integon:"Integon",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",MainStreetAmerica:"Main Street America",Mapfre:"Mapfre",Mendota:"Mendota",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",Metropolitan:"Metropolitan",MidContinent:"Mid-Continent",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MtWashington:"Mt. Washington",MutualBenefit:"Mutual Benefit",NationalGeneral:"National General",Nationwide:"Nationwide",NewYorkCentralMutual:"New York Central Mutual",NJManufacturers:"NJ Manufacturers",NJSkylands:"NJ Skylands",Northstar:"Northstar",Occidental:"Occidental",OhioCasualty:"Ohio Casualty",OmahaPC:"Omaha P/C",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",Palisades:"Palisades",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",Pemco:"Pemco",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Proformance:"Proformance",Progressive:"Progressive",Prudential:"Prudential",Republic:"Republic",RockfordMutual:"Rockford Mutual",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",Selective:"Selective",SouthernCounty:"Southern County",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StarCasualty:"Star Casualty",StateAuto:"State Auto",StateFarm:"State Farm",Fidelity:"Stillwater",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Victoria:"Victoria",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Windsor:"Windsor",Zurich:"Zurich",OtherStandard:"Other Standard",OtherNonStandard:"Other Non-Standard"},auto_prior_liability_limit:{Dontknow:"Don't Know",ThirtyToSixty:"30/60",FiftyToHundred:"50/100",HundredToHundred:"100/100",HundredToThreeHundred:"100/300",TwoHundredFiftyToFiveHundred:"250/500",ThreeHundredToThreeHundred:"300/300",FiveHundredToFiveHundred:"500/500",HundredCSL:"100CSL",ThreeHundredCSL:"300CSL",FiveHundredCSL:"500CSL"},auto_reason_for_no_insurance:{ActiveMilitaryDuty:"Active Military Duty",DrivingCompanyCar:"Driving A Company Car",DrivingCarOwnedByRelative:"Driving A Car Owned By A Relative",HasNotOwnedOrOperatedVehicle:"Has Not Owned Or Operated A Vehicle",OwnedVehParkedStoredOffRoadNotDriven:"Owned Veh Parked/Stored Off Road/Not Driven",NonPayment:"Non-Payment",Other:"Other"},residence_type:{OwnHome:"Own Home",OwnCondo:"Own Condo",RentHome:"Rent Home",RentCondo:"Rent Condo",RentApartment:"Rent Apartment",LiveWithParents:"Live With Parents"},home_prior_carrier_name:{TwentyFirstCentury:"21st Century",AAA:"AAA",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",AIG:"AIG",AlfaAlliance:"Alfa Alliance",AllianzOfAmerica:"Allianz of America",AllianzOfAmericaJefferson:"Allianz of America-Jefferson",Allied:"Allied",Allmerica:"Allmerica",Allstate:"Allstate",AmericaFirst:"America First",AmericanFamily:"American Family",AmericanCommerce:"American Commerce",Amica:"Amica",ASILloyds:"ASI Lloyds",Assurant:"Assurant",AtlasGeneralAgency:"Atlas General Agency",AustinMutual:"Austin Mutual",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bamboo:"Bamboo",BeaconNational:"Beacon National",BunkerHill:"Bunker Hill",CapitalInsuranceGroup:"Capital Insurance Group",CentralMutualOfOH:"Central Mutual of OH",ChubbInsurance:"Chubb",Cincinnati:"Cincinnati",Citizens:"Citizens",ColoradoCasualty:"Colorado Casualty",Ameriprise:"CONNECT",CSE:"CSE",Cumberland:"Cumberland",Cypress:"Cypress",Dairyland:"Dairyland",Donegal:"Donegal",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",ExcelsiorInsuranceCompany:"Excelsior Insurance Company",FairPlan:"Fair Plan",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",ForemostInsuranceCompany:"Foremost Insurance Company",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harleysville:"Harleysville",Hartford:"Hartford",HartfordOMNI:"Hartford OMNI",HawkeyeSecurity:"Hawkeye Security",HippoInsuranceCompany:"Hippo Insurance Company",HomeownersOfAmerica:"Homeowners of America",Homesite:"Homesite",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",Indiana:"Indiana",IndianaFarmers:"Indiana Farmers",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",Lloyds:"Lloyds",MainStreetAmerica:"Main Street America",MarkelInsuranceCompany:"Markel Insurance Company",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MutualBenefit:"Mutual Benefit",Tower:"National General",NatGenPremier:"NatGen Premier",Nationwide:"Nationwide",NationwideScottsdale:"Nationwide-Scottsdale",NewYorkCentralMutual:"New York Central Mutual",NJSkylands:"NJ Skylands",Northstar:"Northstar",OhioCasualty:"Ohio Casualty",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Prudential:"Prudential",PureHighValue:"Pure High Value",Republic:"Republic",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StateAuto:"State Auto",StateFarm:"State Farm",StateFarmFloridaInsuranceCompany:"State Farm Florida Insurance Company",Fidelity:"Stillwater",SunshineStateInsuranceCompany:"Sunshine State Insurance Company",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Wellington:"Wellington",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Zurich:"Zurich",Other:"Other",OtherNonStandard:"Other Non-Standard",OtherStandard:"Other Standard"},policy_bi:{Dontknow:"Don't Know",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_um:{Reject:"Reject",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_pd:{Dontknow:"Don't know",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov500000:"500,000"},policy_mp:{None:"None",cov500:"500",cov1000:"1,000",cov2000:"2,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov15000:"15,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000"},policy_umpd:{cov25000:"25,000",cov35000:"35,000",cov50000:"50,000",cov100000:"100,000",cov200000:"200,000",cov250000:"250,000",cov300000:"300,000",cov500000:"500,000"},policy_pip:{cov15000:"15,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov75000:"75,000",cov150000:"150,000"},policy_auto_death_indemnity:{NoCoverage:"No Coverage",cov5000:"5,000",cov10000:"10,000"},vehicle_comp_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_coll_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_towing_and_labor:{NoCoverage:"No Coverage",TwentyFive:"25",Forty:"40",Fifty:"50",SeventyFive:"75",Eighty:"80",Hundred:"100",TwelveHundred:"120",TwoHundred:"200",Unlimited:"Unlimited"},vehicle_transportation_expense:{NoCoverage:"No Coverage",cov20to600:"20/600",cov25to750:"25/750",cov30to900:"30/900",cov40to1200:"40/1,200",cov50to1500:"50/1,500",cov100to3000:"100/3,000"},education_level:{NoHighSchoolDiploma:"No High School Diploma",HighSchoolDiploma:"High School Diploma",SomeCollegeNoDegree:"Some College - No Degree",VocationalTechnicalDegree:"Vocational Technical Degree",AssociatesDegree:"Associates Degree",Bachelors:"Bachelors",Masters:"Masters",Phd:"Phd",MedicalDegree:"Medical Degree",LawDegree:"Law Degree"},industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},occupation:{"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},usage:{Business:"Business",Pleasure:"Pleasure",Farming:"Farming",To_FromWork:"To/From Work",To_FromSchool:"To/From School"},architectural_style:{TwoFamilyHome:"2-Family Home",American4square:"American 4-square",Basic:"Basic",BiLevel:"Bi-Level",Bungalow:"Bungalow",CapeCod:"Cape Cod",Colonial:"Colonial",ColonialSpanish:"Colonial - Spanish",CompletelyCustom:"Completely Custom",Contemporary:"Contemporary",ContractorModern:"Contractor Modern",Farmhouse:"Farmhouse",Folk:"Folk",Log:"Log",Mediterranean:"Mediterranean",Ranch:"Ranch",TriLevel:"Tri-Level",Tudor:"Tudor",Vernacular:"Vernacular",Victorian:"Victorian"},dwelling_type:{SingleFamilyHouse:"Single Family House",Townhouse:"Townhouse",Rowhouse:"Rowhouse",Duplex:"Duplex/Two Family Unit",Triplex:"Tri-plex/Three Family Unit",Fourplex:"Four-plex/Four Family Unit",MultFamily:"Multi-family (more than four units)"},occupancy_type:{OwnerPrimary:"Owner Primary",OwnerSecondary:"Owner Secondary",OwnerSeasonal:"Owner Seasonal"},construction_quality:{Basic:"Basic",Modest:"Modest",Average:"Average",AboveAverage:"Above Average",Expensive:"Expensive",VeryExpensive:"Very Expensive",Opulent:"Opulent"},construction_type:{Frame:"Frame",Masonry:"Masonry",MasonryVeneer:"Masonry Veneer",Log:"Log",Asbestos:"Asbestos",EFIS:"EFIS",HardiPlank:"HardiPlank",SuperiorFireResistive:"Superior Fire Resistive",SuperiorMasonryNonCombustible:"Superior Masonry Non Combustible",SuperiorNonCombustible:"Superior Non Combustible"},foundation_type:{Slab:"Slab",Basement:"Basement",CrawlSpace:"Crawl Space",PartialBasement:"Partial Basement",PiersPostsPiles:"Piers / Posts / Piles",Open:"Open"},located_over_water:{NotOverWater:"No",PartiallyOverWater:"Partially Over Water",FullyOrEntirelyOverWater:"Fully or Entirely Over Water"},number_of_stories:{One:"1",OneHalf:"1.5",Two:"2",TwoHalf:"2.5",Three:"3",ThreeHalf:"3.5",Four:"4",BiLevel:"Bi-Level",TriLevel:"Tri-Level"},exterior_wall_type:{VinylSiding:"Vinyl Siding",WoodFraming:"Wood Framing",BrickVeneer:"Brick Veneer",Stucco:"Stucco",AdobeBlock:"Adobe Block",AluminumSiding:"Aluminum Siding",CementFiberShingles:"Cement Fiber Shingles",Clapboard:"Clapboard",ConcreteBlock:"Concrete Block",HardboardSiding:"Hardboard Siding",InsulatedConcreteForms:"Insulated Concrete Forms",LightGaugeSteelFraming:"Light Gauge Steel Framing",LogsSolid:"Logs (Solid)",MasoniteSiding:"Masonite Siding",PreEngineeredMetal:"Pre-Engineered Metal",SolidBrickConstruction:"Solid Brick Construction",SolidConcrete:"Solid Concrete",StandardPoleFramed:"Standard Pole Framed",Stone:"Stone",StructuralInsulatedPanels:"Structural Insulated Panels",TimberFraming:"Timber Framing"},roof_material_type:{ASPHALT_SHINGLES:"Asphalt Shingles",ARCHITECTURAL_SHINGLES:"Architectural Shingles",METAL:"Metal",TILE_CONCRETE:"Tile (Concrete)",ASBESTOS:"Asbestos",BUILT_UP:"Built-Up",COMPOSITION:"Composition",CONCRETE:"Concrete",COPPER:"Copper",CORRUGATED_STEEL:"Corrugated Steel",FIBERGLASS:"Fiberglass",FOAM:"Foam",GRAVEL:"Gravel",MEMBRANE:"Membrane",MINERAL_FIBER_SHAKE:"Mineral Fiber Shake",PLASTIC:"Plastic",ROCK:"Rock",ROLLED_PAPER:"Rolled Paper",RUBBER:"Rubber",SLATE:"Slate",TAR:"Tar",TAR_GRAVEL:"Tar and Gravel",TILE_CLAY:"Tile (Clay)",TILE_MISSION:"Tile (Mission)",TILE_SPANISH:"Tile (Spanish)",TIN:"Tin",WOOD_FIBERGLASS_SHINGLES:"Wood/Fiberglass Shingles",WOOD_SHAKE:"Wood Shake",WOOD_SHINGLES:"Wood Shingles",OTHER:"Other"},roof_shape:{B_Gable:"Gable",C_Hip:"Hip",A_Flat:"Flat",D_Other:"Other"},roof_updated_type:{NotUpdated:"Not Updated",PartialUpdate:"Partial Update",CompleteUpdate:"Complete Update"},heating_type:{Electric:"Electric",Gas:"Gas",GasForcedAir:"Gas - Forced Air",GasHotWater:"Gas - Hot Water",Oil:"Oil",OilForcedAir:"Oil - Forced Air",OilHotWater:"Oil - Hot Water",SolidFuel:"Solid Fuel",HeatPump:"Heat Pump",Other:"Other"},oil_tank_location:{AboveGround:"Above Ground",BelowGround:"Below Ground"},basement_type:{Basement:"Below Grade Basement",SplitLevelBasement:"Split Level Basement",WalkoutBasement:"Walkout Basement"},plumbing_type:{EntirelyCopper:"Entirely Copper",EntirelyGalvanized:"Entirely Galvanized",EntirelyPEX:"Entirely PEX",EntirelyPVC:"Entirely PVC",Polybutylene:"Polybutylene"},personal_liability:{TwentyFive:"$25,000",Fifty:"$50,000",OneHundred:"$100,000",TwoHundred:"$200,000",ThreeHundred:"$300,000",FourHundred:"$400,000",FiveHundred:"$500,000"},dwelling_medical_payments:{cov1000:"$1,000",cov2000:"$2,000",cov3000:"$3,000",cov4000:"$4,000",cov5000:"$5,000"},all_perils_deductible:{TwoHundredFifty:"$250",FiveHundred:"$500",SevenHundredFifty:"$750",OneThousand:"$1,000",OneThousandFiveHundred:"$1,500",TwoThousand:"$2,000",TwoThousandFiveHundred:"$2,500",ThreeThousands:"$3,000",FourThousands:"$4,000",FiveThousands:"$5,000",OnePercent:"1%",TwoPercent:"2%",ThreePercent:"3%",FourPercent:"4%",FivePercent:"5%"},windstorm_deductible:{None:"None",OnePercent:"1%",TwoPercent:"2%",FivePercent:"5%",TenPercent:"10%"},distance_from_fire_hydrant_ft:{_0_500ft:"0-500 Feet",_501_1000ft:"501-1000 Feet",_1001ftAndGreater:"1001 Feet And Greater"},distance_from_fire_station_miles:{Lessthan5miles:"Less Than 5 Miles",Over5miles:"Over 5 Miles",NotAvailable:"Not Available"},employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},gender:{Female:"Female",Male:"Male"},co_applicant_employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},co_applicant_marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},co_applicant_gender:{Female:"Female",Male:"Male"},description:{CONTAMINATION:"Contamination",CREDITCARD:"Credit Card",DAMAGETOPROPERTYOFOTHERS:"Damage To Property Of Others",DOGBITELIABILITY:"Dog Bite",EARTHMOVEMENT:"Earth Movement",EARTHQUAKE:"Earthquake",EXTENDEDCOVERAGEPERILS:"Extended Coverage Perils",FIRE:"Fire",FLOOD:"Flood",FREEZINGWATERINCLUDINGBURSTPIPES:"Freezing Water",HAIL:"Hail",HURRICANE:"Hurricane",LIABILITYALLOTHER:"Liability",LIGHTNING:"Lightning",MEDICALPAYMENTS:"Medical Payments",MYSTERIOUSDISAPPEARANCE:"Mysterious Disappearance",MYSTERIOUSDISAPPEARANCESCHEDULEDPROPERTY:"Mysterious Disappearance - Scheduled Property",PHYSICALDAMAGEALLOTHER:"Physical Damage",SINKHOLE:"Sinkhole",SLIPFALLLIABILITY:"Slip/Fall",SMOKE:"Smoke",THEFTSCHEDULEDPROPERTY:"Theft - Scheduled Property",THEFTBURGLARY:"Theft - Burglary",TORNADO:"Tornado",VANDALISMMALICIOUSMISCHIEF:"Vandalism",WATERDAMAGE:"Water Damage",WIND:"Wind",WORKERSCOMPENSATION:"Workers Compensation",ALLOTHER:"All Other"},tort_threshold:{Verbal_Threshold:"Limited right to sue",Zero_Threshold:"Unlimited right to sue"},pip_coverage_type:{Primary:"Primary",Secondary:"Secondary"},extended_medical:{cov1000:"$1,000",cov10000:"$10,000"},additional_pip:{cov100_10400_LIMITED:"100 - 10,400/ LIMITED",cov125_13000_LIMITED:"125 - 13,000/ LIMITED",cov175_18200_LIMITED:"175 - 18,200/ LIMITED",cov250_26000_LIMITED:"250 - 26,000/ LIMITED",cov400_41600_LIMITED:"400 - 41,600/ LIMITED",cov500_52000_LIMITED:"500 - 52,000/ LIMITED",cov600_62400_LIMITED:"600 - 62,400/ LIMITED",cov700_72800_LIMITED:"700 - 72,800/ LIMITED",cov100_UNLIMITED:"100/UNLIMITED",cov125_UNLIMITED:"125/UNLIMITED",cov175_UNLIMITED:"175/UNLIMITED",cov250_UNLIMITED:"250/UNLIMITED",cov400_UNLIMITED:"400/UNLIMITED",cov500_UNLIMITED:"500/UNLIMITED",cov600_UNLIMITED:"600/UNLIMITED",cov700_UNLIMITED:"700/UNLIMITED"},policy_pip_deductible:{cov250:"$250",cov500:"$500",cov1000:"$1,000",cov2000:"$2,000",cov2500:"$2,500"}},jM={None:"None","30000/60000/25000":"30/60k","30000/60000/30000":"30/60k","50000/100000/30000":"50/100k","50000/100000/50000":"50/100k","100000/300000/50000":"100/300k","100000/300000/100000":"100/300k","250000/500000/100000":"250/500k","250000/500000/250000":"250/500k","300000/500000/250000":"300/500k","300000/500000/300000":"300/500k","500000/500000/300000":"500k CSL","500000/500000/500000":"500k CSL","500000/1000000/300000":"500k/1M","500000/1000000/500000":"500k/1M"},IM={"Agriclt/Forestry/Fish":["Agr Inspect/Grader","Arborist","Clerk","Equip. Operator","Farm/Ranch Owner","Farm/Ranch Worker","Fisherman","Florist","Laborer/Worker","Landscape/NursryWkr","Landscaper","Logger","Millworker","Other","Ranger","Supervisor","Timber Grader/Scale"],"Art/Design/Media":["Actor","Admin Assist","Announcer/Broadcstr","Artist/Animator","Author/Writer","Choreography/Dancer","Clerk","Composer/Director","Curator","Designer","Editor","Journalist/Reporter","Musician/Singer","Other","Printer","Producer","Production Crew","Projectionist","Receptionist/Sec","Ticket Sales/Usher"],"Banking/Finance/RE":["Accountant/Auditor","Admin Assist","Analyst/Broker","Bookkeeper","Branch Manager","Clerk","Collections","Consultant","Controller","CSR/Teller","Director/Administr","Executive","Financial Advisor","Investment Banker","Investor","Loan/EscrowProcess","Mgr-Credit/Loan","Mgr-Portfolio/Prod.","Mgr-Property","Other","Realtor","Receptionist/Sec","SalesAgt/Represent.","Trader,Finan Instru","Underwriter"],"Business/Sales/Offi":["Account Executive","Admin Assist","Buyer","Clerk-Office","Consultant","CSR","Director/Administr","Executive","H.R. Representative","Marketing Researchr","Messenger/Courier","Mgr - District","Mgr - Finance","Mgr-Dept/Store","Mgr-General Opers","Mgr-H.R./PublicRel","Mgr-Mkt/Sales","Mgr/Supervisr-Offic","Other","Receptionist/Sec","Sales-Counter/Rentl","Sales-Home Based","Sales-Mfg Rep","Sales-Retail/Whlsle","Sales-Route/Vendor"],"Construct/EnrgyTrds":["Boiler Oper/Maker","Bricklayer/Mason","Carpenter","Carpet Installer","Concrete Worker","Constrct Proj Mgr","Contractor","Crane Operator","Electrician/Linesmn","ElevatorTech/Instl","Equip. Operator","FloorLayer/Finisher","Foreman/Supervisor","Handyman","Heat/Air Technician","Inspector","Laborer/Worker","Metalworker","Miner","Oil/GasDril/RigOpr","Other","Painter","Plstr/Drywall/Stuc","Plumber","Roofer"],Disabled:["Disabled"],"Education/Library":["Admin Assist","Audio-Visual Tech.","Child/DayCare Wrker","Clerk","Counselor","Grad. Teaching/Asst","Instructor-Vocation","Librarian/Curator","Other","Professor, College","Receptionist/Sec","Superintendent","Teacher, College","Teacher, K-12","Teaching Asst/Aide","Tutor"],"Engr/Archt/Sci/Math":["Actuary","Admin Assist","Analyst","Architect","Clerk","Clinical Data Coord.","Drafter","Engineer","Manager-Project","Manager-R&D","Mathematician","Other","Receptionist/Sec","Research Prog. Dir.","Researcher","Scientist","Sociologist","Surveyor/Mapmaker","Technician"],"Government/Military":["Accountant/Auditor","Admin Assist","Analyst","Attorney","Chief Executive","Clerk","Commissioner","Council member","Director/Administr","Enlst Mil Prsnl E1-4","Legislator","Mayor/City Manager","Meter Reader","NCO (E5-9)","Officer-Commissiond","Officer-Warrant","Other","Park Ranger","Planner","Postmaster","Receptionist/Sec","Regulator","US Postal Worker"],"Homemaker/Houseprsn":["Homemaker/Houseprsn"],"Info Tech":["Admin Assist","Analyst","Clerk","Director/Administr","Engineer-Hardware","Engineer-Software","Engineer-Systems","Executive","Manager-Systems","Network Admin","Other","Programmer","Project Coordinator","Receptionist/Sec","Support Technician","Systems Security","Technical Writer","Web Developer"],Insurance:["Accountant/Auditor","Actuarial Clerk","Actuary","Admin Assist","Agent/Broker","Analyst","Attorney","Claims Adjuster","Clerk","Commissioner","CSR","Director/Administr","Executive","Other","Product Manager","Receptionist/Sec","Sales Rep","Underwriter"],"Lgl/Law Enfcmt/Sec":["Airport Sec Ofcr","Animal Control Ofcr","Attorney","Bailiff","Corrections Officer","Court Clrk/Reporter","Deputy Sheriff","Dispatcher","Examiner","Fed Agt/Marshall","Fire Chief","Fire Fighter/Supv.","Gaming Ofcr/Invest","Highway Patrol Ofcr","Judge/Hearing Ofcr","Legal Asst./Sec","Other","Paralegal/Law Clerk","Police Chief","Police Det/Investgr","Police Offcr/Supvr","Process Server","Prvt Invest/Detec.","Security Guard","Sheriff"],"Maint/Rpr/Hsekeep":["Bldg Maint Engineer","Custodian/Janitor","Electrician","Field Service Tech.","Handyman","Heat/AirCond Repair","Housekeeper/Maid","Lndscpe/Grnds Maint","Maint Mechanic","Mechanic","Other"],"Mfg/Production":["Admin Assist","Clerk","Factory Worker","Foreman/Supervisor","Furniture Finisher","Inspector","Jeweler","Machine Operator","Other","Packer","Plant Manager","Printer/Bookbinder","Quality Control","Receptionist/Sec","Refining Operator","Shoemaker","Tailor/Custom Sewer","Textile Worker","Upholsterer"],"Med/Soc Svcs/Relig":["Admin Assist","Assist-Med/Dent/Vet","Clergy","Clerk","Client Care Worker","Dental Hygenist","Dentist","Doctor","Hospice Volunteer","Mortician","Nurse - C.N.A.","Nurse - LPN","Nurse - RN","Nurse Practitioner","Optometrist","Other","Paramedic/EM Tech","Pharmacist","Receptionist/Sec","Social Worker","Support Services","Technician","Therapist","Veterinarian"],Other:["Other"],"Person.Care/Service":["Caregiver","Dry Cleaner/Laundry","Hair Stylist/Barber","Housekeeper","Manicurist","Masseuse","Nanny","Other","Pet Services","Receptionist/Sec"],"Rest/Hotel Services":["Baker","Bartender","Bellhop","Bus Person","Caterer","Chef","Concessionaire","Concierge","Cook-Rest/Cafeteria","Cook/Wrkr-Fast Food","Delivery Person","Desk Clerk","Dishwasher","Food Prod/Packing","Host/Maitre d","Housekeeper/Maid","Manager","Other","Valet","Waiter/Waitress","Wine Steward"],Retired:["Retired"],"Sports/Recreation":["Activity/Recre.Asst","Admin Assist","Agent","Athlete","CampCounselor/Lead","Clerk","Coach","Concessionaire","Director, Program","Event Mgr/Promoter","Life Guard","Mgr - Fitness Club","Other","Park Ranger","Receptionist/Sec","Sales-Tkt/Mmbrshp","SportsBrdcstr/Journ","Trainer/Instructor","Umpire/Referee"],Student:["Graduate Student","High school","Other","Undergraduate"],"Trvl/Trnsprt/Warehs":["Admin Assist","Air Traffic Control","Airport Ops Crew","Bellhop/Porter","Clerk","Crane Loader/Oper","Dispatcher","Driver-Bus/Strcar","Driver-Taxi/Limo","Driver-Truck/Delvry","Flight Attendant","Forklift Operator","Laborer","Longshoreman","Mate/Sailor","Mgr Warehse/Dist","Other","Parking Lot Attend","Pilot/Capt/Eng","Railroad Worker","Receptionist/Sec","Shipping/RecClk","Subway/LgtRail Oper","Ticket Agent","Transportation Spec"],Unemployed:["Unemployed"]},mv={"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},hv=new Set(["Disabled","Retired","Unemployed","Other"]),Bg=new Set(["AAA","AARP","AIG","AIC","CNA","USAA","SR22","PIP","UM","UMPD","BI","PD","MP"]),qM=new Set,vl=a=>{if(Bg.has(a)||/^[A-Z]{2}$/.test(a))return a;let r=a.replace(/^[A-Z]_(?=[A-Za-z])/,"");return/^[A-Z0-9_]+$/.test(r)?r.split("_").filter(Boolean).map(l=>Bg.has(l)?l:l.charAt(0)+l.slice(1).toLowerCase()).join(" "):r.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").replace(/_/g," ").trim()},yv=(a,r)=>pv[a]?.[r]||jM[r]||vl(r),PM=(a,r)=>(r??[]).map(l=>({value:l,label:yv(a,l)})),GM=a=>{let r=String(a??"").trim();return!r||hv.has(r)?null:IM[r]??null},FM=a=>mv[a]??vl(a),VM=()=>[...qM].sort(),gv={CollDeductible:{key:"vehicle_coll_deductible",label:"Collision deductible",entity:"vehicle"},CompDeductible:{key:"vehicle_comp_deductible",label:"Comprehensive deductible",entity:"vehicle"},TowingAndLabor:{key:"vehicle_towing_and_labor",label:"Towing and labor",entity:"vehicle"},TransportationExpense:{key:"vehicle_transportation_expense",label:"Rental reimbursement",entity:"vehicle"},FullGlass:{key:"vehicle_full_glass",label:"Full glass coverage",entity:"vehicle"},LoanLease:{key:"vehicle_loan_lease",label:"Loan/lease payoff",entity:"vehicle"},AnyModifications:{key:"vehicle_has_modifications",label:"Vehicle modifications",entity:"vehicle"},AntiTheft:{key:"anti_theft_type",label:"Anti-theft device",entity:"vehicle"},AntiLockBrakes:{key:"anti_lock_brakes",label:"Anti-lock brakes",entity:"vehicle"},PassiveRestraints:{key:"passive_restraint_type",label:"Passive restraints",entity:"vehicle"},DaytimeRunningLights:{key:"daytime_running_lights",label:"Daytime running lights",entity:"vehicle"},BodyStyle:{key:"body_style",label:"Body style",entity:"vehicle"},NumberOfMiles:{key:"annual_mileage",label:"Annual mileage",entity:"vehicle"},MilesToWork:{key:"miles_to_work",label:"Miles to work",entity:"vehicle"},OwnershipType:{key:"ownership_type",label:"Own, finance, or lease",entity:"vehicle"},PrimeryUseOfVehicle:{key:"usage",label:"How the vehicle is used",entity:"vehicle"},WasTheCarNew:{key:"new_when_purchased",label:"New when purchased",entity:"vehicle"},GarageAddressDifferent:{key:"vehicle_garaged_at_residence",label:"Where the vehicle is parked",entity:"vehicle"},CostNewValue:{key:"cost_new_value_cents",label:"Original cost",entity:"vehicle"},PLYear:{key:"year",label:"Vehicle year",entity:"vehicle"},PLMake:{key:"make",label:"Vehicle make",entity:"vehicle"},PLModel:{key:"model",label:"Vehicle model",entity:"vehicle"},VIN:{key:"vin",label:"VIN",entity:"vehicle"},DOB:{key:"date_of_birth",label:"Date of birth",entity:"driver"},DriverDateLicensed:{key:"date_first_licensed",label:"Date first licensed",entity:"driver"},DriverLicenseNumber:{key:"license_number",label:"License number",entity:"driver"},DriverStateLicensed:{key:"license_state",label:"License state",entity:"driver"},DriverLicenseStatus:{key:"license_status",label:"License status",entity:"driver"},DriversLicenseBeenSuspendedOrRevoked:{key:"last_5_years_license_suspended_or_revoked",label:"License suspended or revoked",entity:"driver"},DriverOccupationStr:{key:"occupation",label:"Occupation",entity:"driver"},DriverEmploymentIndustry:{key:"industry",label:"Industry",entity:"driver"},DriverEducation:{key:"education_level",label:"Education",entity:"driver"},DriverRelationshipToDriver:{key:"relationship_to_insured",label:"Relationship to you",entity:"driver"},DriverSSN:{key:"social_security_number",label:"Social Security number",entity:"driver"},SR:{key:"sr22",label:"SR-22 filing",entity:"driver"},IsDefensiveDriver:{key:"accident_prevention_course",label:"Defensive driving course",entity:"driver"},DefensiveDriverCourseDate:{key:"accident_prevention_course_date",label:"Defensive driving course date",entity:"driver"},Gender:{key:"gender",label:"Gender",entity:"driver"},BI:{key:"policy_bi",label:"Bodily injury limit",entity:"coverage"},PD:{key:"policy_pd",label:"Property damage limit",entity:"coverage"},UM:{key:"policy_um",label:"Uninsured/underinsured motorist limit",entity:"coverage"},UMPD:{key:"policy_umpd",label:"Uninsured motorist property damage",entity:"coverage"},MP:{key:"policy_mp",label:"Medical payments",entity:"coverage"},PIP:{key:"policy_pip",label:"Personal injury protection",entity:"coverage"},PIPDeductible:{key:"policy_pip_deductible",label:"PIP deductible",entity:"coverage"},AdditionalPIP:{key:"additional_pip",label:"Additional PIP",entity:"coverage"},AutoDeathIndemnity:{key:"policy_auto_death_indemnity",label:"Death indemnity",entity:"coverage"},TortThreshold:{key:"tort_threshold",label:"Lawsuit (tort) option",entity:"coverage"},HealthCare:{key:"pip_coverage_type",label:"PIP coverage type",entity:"coverage"},ExtendedMedical:{key:"extended_medical",label:"Extended medical",entity:"coverage"},HealthInsCoversAutoAccident:{key:"has_health_insurance_auto_accident",label:"Health insurance covers auto accidents",entity:"coverage"},EffectiveDate:{key:"effective_date",label:"Policy start date",entity:"coverage"},PLAllPerilsDeductible:{key:"all_perils_deductible",label:"Deductible",entity:"coverage"},WindstormDeductible:{key:"windstorm_deductible",label:"Windstorm deductible",entity:"coverage"},PLPersonalLiability:{key:"personal_liability",label:"Personal liability",entity:"coverage"},PLPersonalProperty:{key:"personal_property_coverage",label:"Personal property coverage",entity:"coverage"},PLOtherStructures:{key:"other_structures_coverage",label:"Other structures coverage",entity:"coverage"},PersonalLineReplacementCost:{key:"dwelling_replacement_cost",label:"Dwelling replacement cost",entity:"coverage"},DwellingMedicalPayments:{key:"dwelling_medical_payments",label:"Medical payments to others",entity:"coverage"},LossOfUse:{key:"loss_of_use_coverage",label:"Loss of use coverage",entity:"coverage"},NumberOfMortgagees:{key:"number_of_mortgagees",label:"Number of mortgages",entity:"coverage"},PLYearBuilt:{key:"year_built",label:"Year built",entity:"home"},PLSquareFootage:{key:"total_area_sq_ft",label:"Square footage",entity:"home"},PLTypeOfDwelling:{key:"dwelling_type",label:"Dwelling type",entity:"home"},PLConstructionType:{key:"construction_type",label:"Construction type",entity:"home"},PLNumberOfStories:{key:"number_of_stories",label:"Number of stories",entity:"home"},PLNumberOfUnits:{key:"number_of_units",label:"Number of units",entity:"home"},PLNumberOfUnitsInFirewall:{key:"number_of_units_in_firewall",label:"Units in firewall",entity:"home"},PLHeatingType:{key:"heating_type",label:"Heating type",entity:"home"},RoofType:{key:"roof_material_type",label:"Roof material",entity:"home"},MitRoofShape:{key:"roof_shape",label:"Roof shape",entity:"home"},PLRoofUpdated:{key:"roof_updated_type",label:"Roof update",entity:"home"},RoofUpdatedYear:{key:"year_roof_updated",label:"Year the roof was updated",entity:"home"},TypeOfFoundation:{key:"foundation_type",label:"Foundation type",entity:"home"},ExteriorWallsConstruction:{key:"exterior_wall_type",label:"Exterior walls",entity:"home"},ArchitectureStyle:{key:"architectural_style",label:"Architectural style",entity:"home"},ConstructionQuality:{key:"construction_quality",label:"Construction quality",entity:"home"},BasementType:{key:"basement_type",label:"Basement type",entity:"home"},OccupancyType:{key:"occupancy_type",label:"Occupancy",entity:"home"},TypeOfResidence:{key:"residence_type",label:"Residence type",entity:"home"},PurchaseDate:{key:"move_in_date",label:"Move-in date",entity:"home"},PurchasePrice:{key:"sale_price_cents",label:"Purchase price",entity:"home"},DistanceToFireHydrant:{key:"distance_from_fire_hydrant_ft",label:"Distance to fire hydrant",entity:"home"},DistanceToFireStation:{key:"distance_from_fire_station_miles",label:"Distance to fire station",entity:"home"},NumberOfDogsOnPremises:{key:"number_of_dogs",label:"Dogs on the property",entity:"home"},ViciousExoticAnimals:{key:"has_vicious_animals",label:"Vicious or exotic animals",entity:"home"},ShortTermRental:{key:"short_term_rental",label:"Short-term rental use",entity:"home"},GatedOrLimited:{key:"gated_community_discount",label:"Gated community",entity:"home"},BuildingOverWater:{key:"located_over_water",label:"Built over water",entity:"home"},HomeUnderConstruction:{key:"under_construction",label:"Under construction",entity:"home"},BusinessOrDaycare:{key:"has_business_on_premises",label:"Business on the property",entity:"home"},SmokeDetector:{key:"smoke_detectors",label:"Smoke detectors",entity:"home"},BurglarAlarm:{key:"burglar_alarm_system",label:"Burglar alarm",entity:"home"},BurglarAlarmType:{key:"burglar_alarm_system_type",label:"Burglar alarm type",entity:"home"},FireDetection:{key:"fire_detection_system",label:"Fire detection system",entity:"home"},FireDetectionType:{key:"fire_detection_system_type",label:"Fire detection type",entity:"home"},FireExtinguisher:{key:"fire_extinguisher",label:"Fire extinguisher",entity:"home"},DeadBoltLocks:{key:"deadbolt_locks",label:"Deadbolt locks",entity:"home"},SprinklerSystem:{key:"sprinkler_system",label:"Sprinkler system",entity:"home"},SprinklerSystemType:{key:"sprinkler_system_type",label:"Sprinkler system type",entity:"home"},ElectricCircuitBreaker:{key:"electric_circuit_breaker",label:"Circuit breakers",entity:"home"},PlumbingType:{key:"plumbing_type",label:"Plumbing type",entity:"home"},OilTankLocation:{key:"oil_tank_location",label:"Oil tank location",entity:"home"},TypeGarageCarport:{key:"garage_type",label:"Garage type",entity:"home"},StormShutters:{key:"storm_shutters",label:"Storm shutters",entity:"home"},MitCreditForm:{key:"mit_credit_form",label:"Wind mitigation form",entity:"home"},HeatingUpdateYN:{key:"heating_update_yn",label:"Heating updated",entity:"home"},PLHeatingUpdate:{key:"heating_update_type",label:"Heating update type",entity:"home"},HeatingUpdateYear:{key:"heating_update_year",label:"Year heating was updated",entity:"home"},PlumbingUpdateYN:{key:"plumbing_update_yn",label:"Plumbing updated",entity:"home"},PLPlumbingUpdated:{key:"plumbing_update_type",label:"Plumbing update type",entity:"home"},PlumbingUpdatedYear:{key:"plumbing_update_year",label:"Year plumbing was updated",entity:"home"},ElectricalUpdateYN:{key:"electrical_update_yn",label:"Electrical updated",entity:"home"},PLElectircalUpdated:{key:"electrical_update_type",label:"Electrical update type",entity:"home"},ElectircalUpdatedYear:{key:"electrical_update_year",label:"Year electrical was updated",entity:"home"},FirstName:{key:"first_name",label:"First name",entity:"applicant"},MiddleName:{key:"middle_name",label:"Middle name",entity:"applicant"},LastName:{key:"last_name",label:"Last name",entity:"applicant"},DateOfBirth:{key:"date_of_birth",label:"Date of birth",entity:"applicant"},PersonalLineGender:{key:"gender",label:"Gender",entity:"applicant"},MaritalStatus:{key:"marital_status",label:"Marital status",entity:"applicant"},Email:{key:"email",label:"Email address",entity:"applicant"},PrimaryPhoneNumber:{key:"phone",label:"Phone number",entity:"applicant"},SSN:{key:"social_security_number",label:"Social Security number",entity:"applicant"},OccupationStr:{key:"occupation",label:"Occupation",entity:"applicant"},EmploymentIndustry:{key:"industry",label:"Industry",entity:"applicant"},YearsAtAddress:{key:"years_at_address",label:"Years at this address",entity:"applicant"},MonthsAtAddress:{key:"months_at_address",label:"Months at this address",entity:"applicant"},IsMailAddress:{key:"is_mailing_address_different",label:"Mailing address",entity:"applicant"},CreditCheckPermission:{key:"order_credit_authorized",label:"Credit check permission",entity:"applicant"},IssuedCorporationOrTrustInd:{key:"is_corporation",label:"Corporation or trust",entity:"applicant"},AnyAdditionalInsured:{key:"has_co_applicant",label:"Co-applicant",entity:"applicant"},CoFirstName:{key:"co_applicant_first_name",label:"Co-applicant's first name",entity:"applicant"},CoMiddleName:{key:"co_applicant_middle_name",label:"Co-applicant's middle name",entity:"applicant"},CoLastName:{key:"co_applicant_last_name",label:"Co-applicant's last name",entity:"applicant"},CoDateOfBirth:{key:"co_applicant_date_of_birth",label:"Co-applicant's date of birth",entity:"applicant"},CoPersonalLineGender:{key:"co_applicant_gender",label:"Co-applicant's gender",entity:"applicant"},CoMaritalStatus:{key:"co_applicant_marital_status",label:"Co-applicant's marital status",entity:"applicant"},CoOccupationStr:{key:"co_applicant_occupation",label:"Co-applicant's occupation",entity:"applicant"},CoEmploymentIndustry:{key:"co_applicant_employment_industry",label:"Co-applicant's industry",entity:"applicant"},SelectRelationshipToClient:{key:"co_applicant_relationship",label:"Relationship to co-applicant",entity:"applicant"},CurrentPersonalAutoCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},PriorInsuranceCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},CurrentPersonalHomeownerCarrier:{key:"home_prior_carrier_name",label:"Current home carrier",entity:"history"},YearsWithPriorCarrierAuto:{key:"auto_prior_years",label:"Years with your auto carrier",entity:"history"},MonthsWithPriorCarrierAuto:{key:"auto_prior_months",label:"Months with your auto carrier",entity:"history"},YearsWithPriorCarrierHome:{key:"home_prior_years",label:"Years with your home carrier",entity:"history"},YearsWithContinuousCoverageAuto:{key:"auto_continuous_coverage_years",label:"Years of continuous auto coverage",entity:"history"},YearsWithContinuousCoverageHome:{key:"home_continuous_coverage_years",label:"Years of continuous home coverage",entity:"history"},PriorCarrierExpirationDateAuto:{key:"auto_prior_expiration_date",label:"Auto policy expiration date",entity:"history"},PriorCarrierExperationDate:{key:"home_prior_expiration_date",label:"Home policy expiration date",entity:"history"},SelectPriorLiabilityLimitsAuto:{key:"auto_prior_liability_limit",label:"Current liability limits",entity:"history"},SelectReasonNoPriorAutoInsurance:{key:"auto_reason_for_no_insurance",label:"Reason for no prior insurance",entity:"history"},CurrentAutoAnnualPremium:{key:"auto_current_annual_premium_cents",label:"Current annual premium",entity:"history"},LapsInCoverage:{key:"lapse_in_coverage",label:"Lapse in coverage",entity:"history"},AutoInsuranceCancelled:{key:"auto_cancelled_declined_refused_to_renew",label:"Auto policy cancelled or non-renewed",entity:"history"},PropertyInsuranceCancelled:{key:"property_insurance_cancelled",label:"Home policy cancelled or non-renewed",entity:"history"},ForeclosureOrRepossessionOrBankruptcy:{key:"named_insured_foreclosure_repo_bankruptcy",label:"Foreclosure, repossession, or bankruptcy",entity:"history"},InsuranceFraud:{key:"named_insured_convicted_insurance_fraud",label:"Insurance fraud conviction",entity:"history"},HomeAutoInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"},AutoHomeInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"}},Ff={};for(let a of Object.values(gv))a.key&&!Ff[a.key]&&(Ff[a.key]=a);var jg={PersonalVehicles:"vehicle",Vehicles:"vehicle",Drivers:"driver"},YM=/\[\?\([^)]*\)\]/g,$M=/\[\?\(@__id__\s*==\s*'([^']*)'\)\]/g,QM=new Set(["Id","SequenceNum","Assignments","IsDrv","DriverId","MainVehicleId"]),XM=a=>/^[a-z][a-z0-9_]*$/.test(a),vv=a=>{let r=(a??"").trim();if(!r)return{raw:r,entity:"general",label:"",isOpaque:!0};if(XM(r)){let h=Ff[r];return{raw:r,entity:h?.entity??"general",key:r,label:h?.label??vl(r),isOpaque:!h}}let l=[...r.matchAll($M)].map(h=>h[1]),s=r.replace(YM,"").split(".").filter(Boolean),c=s[s.length-1]??r;if(QM.has(c))return{raw:r,entity:"general",label:"",isOpaque:!0};let f=s.find(h=>h in jg),p=gv[c];return{raw:r,entity:(f?jg[f]:void 0)??p?.entity??"general",entityId:l[l.length-1],key:p?.key,label:p?.label??vl(c),isOpaque:!p}},hd=[{question:"What's your ZIP code?",inputType:"text",key:"postal_code",required:!0}],bv="Zip|",Sv=[{question:"What is your email address?",inputType:"email",key:"email",required:!0}],_v="Email|",Ev=new Set(["TX","NJ"]),cs={Auto:["Zip","Email","Product","Name","Vehicle","Driver","AutoCurrentCarrier","Demographics","Ssn","Phone"],Home:["Zip","Email","Product","Name","Home","HomePolicy","Demographics","Ssn","Phone"],Bundle:["Zip","Email","Product","Name","Home","Vehicle","Driver","BundlePolicy","Demographics","Ssn","Phone"]},hi={},Cv=a=>{hi=a},ZM=()=>{hi={}},Cs=a=>{try{a()}catch{}},Tn=(a,r)=>{Cs(()=>hi.onQuoteFailure?.(a,r))},Av=(a,r)=>{Cs(()=>hi.onBreadcrumb?.(a,r))},As=(a,r)=>{Cs(()=>hi.onTrack?.(a,r))},Ts=a=>{Cs(()=>hi.onContext?.(a))},Tv=a=>Ts({product:a}),Mv=a=>Ts({quoteId:a}),wv=a=>Ts({stage:a}),Ta=a=>{if(a&&typeof a=="object"&&"statusCode"in a){let r=a.statusCode;if(typeof r=="number")return r}},fs=null,yd=a=>{fs=a},ln=()=>{if(!fs)throw Error("[credify-ui-kit] configureApi() must be called before using the API client.");return fs},Ov=()=>{fs=null},rr=()=>{try{return!!ln().isMockActive?.()}catch{return!1}},gd=()=>{try{return!!ln().isTestActive?.()}catch{return!1}},Ms=()=>`${ln().storagePrefix}quote_id`,ws=()=>`${ln().storagePrefix}auth_token`,Rv=Ms,Dv=ws,WM="__mock",fi=a=>ln().isMockActive?.()?`${a}${WM}`:a,KM=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,xv=a=>{try{return localStorage.getItem(a)}catch{return null}},kv=(a,r)=>{try{localStorage.setItem(a,r)}catch{}},Ig=a=>{try{localStorage.removeItem(a)}catch{}},Ua=()=>{let a=xv(fi(Ms()));return a!==null&&!ln().isMockActive?.()&&!KM.test(a)?(di(),null):a},Os=a=>kv(fi(Ms()),a),Rs=()=>xv(fi(ws())),Ds=a=>kv(fi(ws()),a),di=()=>{Ig(fi(Ms())),Ig(fi(ws()))},JM=fv({buildResumeUrl:()=>vd,captureResumeTokenFromUrl:()=>xs,consumeResumeToken:()=>Cl,hasResumeToken:()=>ks}),Vf="credify_rt",ew=["mock"],ds=null,xs=a=>{try{if(typeof window>"u")return;let r=new URL(window.location.href),l=r.searchParams.get(Vf);if(!l)return;ds=l,r.searchParams.delete(Vf),window.history.replaceState(window.history.state,"",r.toString())}catch(r){a?.(r)}},ks=()=>ds!==null,Cl=()=>{let a=ds;return ds=null,a},vd=a=>{let r=new URL(window.location.href),l=ew.map(s=>[s,r.searchParams.get(s)]).filter(s=>s[1]!==null);r.search="",r.hash="";for(let[s,c]of l)r.searchParams.set(s,c);return r.searchParams.set(Vf,a),r.toString()},Yf,bd=a=>{Yf=a},qg=async a=>{try{let{ZIP_CITIES:r}=await fe(async()=>{const{ZIP_CITIES:l}=await import("./zipCities-CU_i9iT--B1AIvNRh.js");return{ZIP_CITIES:l}},[]);return r[a]??null}catch{return null}},ps=async a=>{if(!/^\d{5}$/.test(a))return null;let r=!1;try{r=!!ln().isMockActive?.()}catch{r=!1}if(r){let{MOCK_ZIP_CITIES:l}=await fe(()=>import("./fixtures-ijbZ16Zg-NuD06-4v.js"),[]).then(s=>s.f);return l[a]??null}if(!Yf)return qg(a);try{return await Yf(a)}catch{return qg(a)}},tw=({disabled:a=!1,busy:r=!1,onChoose:l})=>{let[s,c]=T.useState(!1);return A.jsxs("section",{className:"cds-mb-4 cds-rounded-xl cds-border cds-border-border cds-bg-surface-elevated cds-p-4",children:[A.jsx("h3",{className:"cds-mb-3 cds-text-sm cds-font-bold cds-uppercase cds-tracking-wide cds-text-fg",children:"Communications consent"}),A.jsxs("label",{className:"cds-flex cds-cursor-pointer cds-items-start cds-gap-2 cds-text-sm cds-text-fg-muted",children:[A.jsx("input",{type:"checkbox",checked:s,disabled:a||r,onChange:f=>c(f.target.checked),className:"cds-mt-1 cds-h-4 cds-w-4 cds-shrink-0 cds-accent-brand-accent"}),A.jsx("span",{children:"I consent to communications from Credify Corporation (licensed insurance agency) and my selected carrier(s) at the phone number and email address I provided. This covers: support (including AI agents), carrier quote and service contact, automated rate shopping at or before renewal, policy renewal notifications, claims management, and Credify’s newsletter (which we may send by email, or by text message with a link to read it)."})]}),A.jsxs("div",{className:"cds-mt-3 cds-space-y-2 cds-text-xs cds-leading-relaxed cds-text-fg-muted",children:[A.jsx("p",{children:"These may use automated systems, emails or texts. Message frequency varies. Message & data rates may apply. Reply STOP to opt out of SMS; Reply HELP for help."}),A.jsx("p",{children:"Consent is not required to receive quotes or purchase insurance."}),A.jsxs("p",{children:["Credify Corporation – Texas #3309669."," ",A.jsx("a",{href:"/privacy-policy",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Privacy Policy"})," ","|"," ",A.jsx("a",{href:"/terms-of-service",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Terms of Service"})]})]}),A.jsxs("div",{className:"cds-mt-5 cds-grid cds-grid-cols-1 cds-gap-3 sm:cds-grid-cols-2",children:[A.jsx("button",{type:"button",disabled:!s||a||r,onClick:()=>l(!0),className:`cds-w-full cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-primary-foreground cds-transition hover:cds-bg-accent disabled:cds-cursor-not-allowed disabled:cds-bg-border disabled:hover:cds-bg-border ${ci}`,children:r?"Submitting…":"I Consent"}),A.jsx("button",{type:"button",disabled:a||r,onClick:()=>l(!1),className:`cds-w-full cds-rounded-xl cds-border cds-border-input cds-bg-surface-elevated cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-fg cds-transition hover:cds-bg-surface-muted disabled:cds-cursor-not-allowed disabled:cds-opacity-50 disabled:hover:cds-bg-surface-elevated ${ci}`,children:"I Do Not Consent"})]})]})},nw=a=>{if(typeof window>"u")return null;try{return new URLSearchParams(window.location.search).get(a)}catch{return null}},Pg=[{stage:"Zip",key:"postal_code",normalize:a=>a.replace(/\D/g,"").slice(0,5),isValid:ts,fromUrl:()=>nw("zip")},{stage:"Email",key:"email",normalize:a=>a.trim(),isValid:jf,fromUrl:()=>null}],aw=()=>{typeof document<"u"&&delete document.documentElement.dataset.credifyResuming},Gg=()=>({[bv]:hd,[_v]:Sv}),ff=a=>[...cs[a]],rw=6,iw=1500,lw=new Set(["HomePolicy","BundlePolicy"]),ow=new Set(["processing","completed","no_rates","failed"]),Fg=(a,r)=>{if(!r)return 0;if(ow.has(String(r.rates_status??"")))return a.length+1;let l=a.indexOf(r.current_stage);return l>0?l:0},sw=()=>{if(typeof window>"u")return!1;let a=new URLSearchParams(window.location.search).get("credify_test");return a!==null&&(a===""||/^(1|true|yes)$/i.test(a.trim()))},Nv=()=>gd()||sw(),uw=()=>Nv(),df="78701",cw=()=>{let a=0;return r=>{r>rw||r<=a||(a=r,As("quote_step_completed",{stepIndex:r}))}},Lv=(a,r)=>{let[l,s]=T.useState(null),[c,f]=T.useState({product:a}),[p,h]=T.useState(()=>ff(a)),[g,y]=T.useState(Gg),[E,_]=T.useState(0),[z,G]=T.useState(!1),[q,Q]=T.useState(!1),[Y,ae]=T.useState(!1),[le,J]=T.useState(!1),[Se,j]=T.useState(),[ye,ee]=T.useState(!1),[Ve,Pe]=T.useState(!1),[Je,oe]=T.useState(!1),[X,Ne]=T.useState(!1),[De,Ye]=T.useState(!1),R=T.useRef(l),B=T.useRef(c),te=T.useRef(r?.prefill);T.useEffect(()=>{R.current=l,B.current=c,te.current=r?.prefill});let ge=T.useRef(cw()),ve=T.useRef(null),b=T.useMemo(()=>[...p.map(U=>({kind:"stage",stage:U})),{kind:"terminal",screen:"review"},{kind:"terminal",screen:"rates"}],[p]),L=T.useMemo(()=>Math.max(p.length,cs[a]?.length??0)+1,[p.length,a]),P=b[E],k=P?.kind==="stage"?P.stage:void 0,Z=String(c.state??"");T.useEffect(()=>{Tv(a)},[a]),T.useEffect(()=>{wv(k),k&&Av(`stage: ${k}`,{screenIndex:E})},[k,E]),T.useEffect(()=>{Mv(l)},[l]);let se=T.useMemo(()=>{let U={};for(let I of p){let F=g[`${I}|${Z}`];F&&(U[I]=F)}return U},[p,g,Z]),pe=T.useMemo(()=>k?g[`${k}|${Z}`]??g[`${k}|`]??[]:[],[k,g,Z]),Ze=!!(k&&(`${k}|${Z}`in g||(k==="Zip"||k==="Email")&&`${k}|`in g)),Ge=T.useMemo(()=>({errorsByKey:{},itemErrors:[],issues:[],isValid:!0}),[]),[Kn,Ba]=T.useState(Ge),yi=T.useMemo(()=>k==="Zip"?ts(c.postal_code)?Ge:{errorsByKey:{postal_code:"Enter a 5-digit ZIP code."},itemErrors:[],issues:["Enter a 5-digit ZIP code."],isValid:!1}:k==="Email"?jf(c.email)?Ge:{errorsByKey:{email:"Enter a valid email address."},itemErrors:[],issues:["Enter a valid email address."],isValid:!1}:k?Kn:Ge,[k,c.postal_code,c.email,Kn,Ge]);T.useEffect(()=>{if(!k||k==="Zip"||k==="Email")return;let U=!1;return fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(I=>I.a).then(({validateStage:I})=>{U||Ba(I({questions:pe,values:c,stageKey:k}))}),()=>{U=!0}},[k,pe,c]);let Ct=T.useCallback(U=>{f(I=>{let F={...I,...U};return B.current=F,F})},[]),wn=T.useCallback((U,I)=>{if(U.city||U.__address_city)return;let F=String(U.postal_code??"").trim();ts(F)&&ps(F).then(V=>{if(!V||I())return;let W=B.current;W.city||W.__address_city||Ct({city:V,__address_city:V})})},[Ct]),On=T.useCallback(async U=>{let{getStagesForQuote:I}=await fe(async()=>{const{getStagesForQuote:W}=await Promise.resolve().then(()=>Ot);return{getStagesForQuote:W}},void 0),{stages:F}=await I(U??void 0),V=F.filter(W=>W!=="CanopyConnect");return h(V),V},[]),on=T.useCallback(async(U,I,F)=>{ae(!0);try{let{getQuestionsByStage:V}=await fe(async()=>{const{getQuestionsByStage:Le}=await Promise.resolve().then(()=>Ot);return{getQuestionsByStage:Le}},void 0),{questions:W}=await V(U,I??void 0),{ensureAutoCoverageSelections:ue}=await fe(()=>import("./vehicleCoverage-CBWORI1l-BqOK33e3.js"),__vite__mapDeps([4,2,1,3])).then(Le=>Le.d),Te=ue(U,W);return y(Le=>({...Le,[`${U}|${F}`]:Te})),Te}catch(V){return j("We could not load this step. Please try again."),Tn(V,{phase:"stage_load",product:a,stage:U,quoteId:I,endpoint:"/get-questions-by-stage",statusCode:Ta(V)}),[]}finally{ae(!1)}},[a]),Tl=T.useCallback(async(U,I,F)=>{Ye(!0);try{await Promise.all(U.map(V=>on(V,I,F)))}finally{Ye(!1)}},[on]);T.useEffect(()=>{xs(),As("quote_flow_start");let U=!1;return(async()=>{try{let I=Cl();if(I){Q(!0);try{let{redeemResumeToken:Le}=await fe(async()=>{const{redeemResumeToken:we}=await Promise.resolve().then(()=>Ot);return{redeemResumeToken:we}},void 0);await Le(I)}catch{U||j("That link has expired. Enter your ZIP code to pick up where you left off.")}}let F=Ua();F&&(R.current=F,s(F),Q(!0));let V=R.current,W,ue=ff(a);if(V)try{let{getQuote:Le}=await fe(async()=>{const{getQuote:lt}=await Promise.resolve().then(()=>Ot);return{getQuote:lt}},void 0),{quote:we}=await Le(V);if(!U&&we){W=we;let[{fromQuoteRecord:lt},{seedHomeCoverages:Dt}]=await Promise.all([fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(Mt=>Mt.o),fe(()=>import("./coverageDerivation-CV2ORogj-B7aNPljp.js"),[]).then(Mt=>Mt.o)]),We=lt(we);f({...We,...Dt(We),product:a}),wn(We,()=>U)}}catch(Le){di(),U||s(null),R.current=null,Tn(Le,{phase:"quote_resume",product:a,quoteId:V,endpoint:"/get-quote",statusCode:Ta(Le)})}if(R.current&&(ue=await On(R.current),!U&&ue.length))if(W?.review_status==="pending_review")Ne(!0),Ye(!0),_(ue.length);else{let Le=Fg(ue,W);Le>0&&_(Le);let we=ue[Le]??ue[0];we&&we!=="Zip"&&we!=="Email"&&await on(we,R.current,String(B.current.state??""))}let Te=U?null:(await fe(async()=>{const{mockStepFromUrl:Le}=await import("./mockJump-hNzgzUmO-CQ7eZ354.js");return{mockStepFromUrl:Le}},[])).mockStepFromUrl();Te!=null&&Te!==Fg(ue,W)&&(ve.current||await Promise.resolve(),await ve.current?.(Te))}catch(I){U||j("We could not start your quote. Please refresh and try again."),Tn(I,{phase:"quote_start",product:a,quoteId:R.current,statusCode:Ta(I)})}finally{U||(Q(!1),aw())}})(),()=>{U=!0}},[]);let gi=T.useRef(new Set);T.useEffect(()=>{if(!X)return;let U=p.filter(I=>{let F=`${I}|${Z}`;return!(F in g)&&!gi.current.has(F)});if(!U.length){Ye(!1);return}for(let I of U)gi.current.add(`${I}|${Z}`);Tl(U,R.current,Z)},[X,p,g,Z,Tl]),T.useEffect(()=>{!k||g[`${k}|${Z}`]||(k==="Zip"||k==="Email")&&g[`${k}|`]||on(k,R.current,Z)},[k,g,Z,on]);let it=T.useCallback(U=>{_(U),G(!1),j(void 0),rr()&&fe(async()=>{const{writeMockStepHash:I}=await import("./mockJump-hNzgzUmO-CQ7eZ354.js");return{writeMockStepHash:I}},[]).then(({writeMockStepHash:I})=>{I(U)}),window.scrollTo(0,0)},[]),gn=T.useRef(null),vn=T.useCallback(async U=>{let I=R.current;if(I)return I;let F=(U??String(B.current.postal_code??"")).trim(),{createQuote:V}=await fe(async()=>{const{createQuote:ue}=await Promise.resolve().then(()=>Ot);return{createQuote:ue}},void 0),W=await V(F,uw());return R.current=W.quoteId,s(W.quoteId),W.quoteId},[]),Ml=T.useCallback(async U=>{let I=String(B.current.postal_code??"").trim();ps(I).then(ue=>{if(!ue)return;let Te=B.current;Ct({city:ue,...Te.__address_city?{}:{__address_city:ue}})});let F=Wo(I);if(!F)return!0;Ct({state:F,__address_state:B.current.__address_state??F});let{isSupportedState:V}=await fe(async()=>{const{isSupportedState:ue}=await Promise.resolve().then(()=>Ot);return{isSupportedState:ue}},void 0),{isSupported:W}=await V(F,U);return W?!0:(ee(!0),!1)},[Ct]),wl=T.useCallback(()=>(gn.current||=(async()=>{let U=await vn();if(!await Ml(U))return U;let[{stageSlice:I},{toQuotePayload:F},{updateQuote:V}]=await Promise.all([fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(W=>W.a),fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(W=>W.o),fe(()=>Promise.resolve().then(()=>Ot),void 0)]);return await V({...F(I(g["Zip|"]??hd,B.current,"Zip")),current_stage:"Email"},!1,U),U})().catch(U=>{throw gn.current=null,U}),gn.current),[vn,Ml,g]),At=T.useCallback(async U=>{let I=B.current,[{parseAddress:F,normalizeStateCode:V},{isSupportedState:W}]=await Promise.all([fe(()=>import("./address-BEVwov8q-BiiIpq2c.js"),[]).then(we=>we.i),fe(()=>Promise.resolve().then(()=>Ot),void 0)]),ue=F(String(I.address??"")),Te=V(String(I.__address_state??ue.state??I.state??""));if(!Te)return!0;Ct({state:Te});let{isSupported:Le}=await W(Te,U);return Le?!0:(ee(!0),!1)},[Ct]),Ol=T.useCallback(async U=>{if(a==="Auto"||Ve)return;let I=B.current,[{parseAddress:F},{prefillProperty:V},{seedHomeCoverages:W}]=await Promise.all([fe(()=>import("./address-BEVwov8q-BiiIpq2c.js"),[]).then(we=>we.i),fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>import("./coverageDerivation-CV2ORogj-B7aNPljp.js"),[]).then(we=>we.o)]),ue=F(String(I.address??"")),Te={address_line_1:String(I.__address_line_1??ue.line_1).trim(),city:String(I.__address_city??ue.city??I.city??"").trim(),state:String(I.__address_state??ue.state??I.state??"").trim(),postal_code:String(I.__address_postal_code??ue.postal_code??I.postal_code??"").trim()};if(!Te.address_line_1||!Te.city||!Te.state||!Te.postal_code)return;let Le=await V(U,Te);!Le.found||!Le.property||(f(we=>{let lt={...we};for(let[Dt,We]of Object.entries(Le.property??{})){if(We==null)continue;let Mt=lt[Dt];(Mt===void 0||Mt===""||Mt===null)&&(lt[Dt]=We)}return{...lt,...W(lt)}}),Pe(!0))},[a,Ve]),vi=T.useCallback(U=>{let I=p.indexOf(U);if(I>=0&&I+1<p.length)return p[I+1];let F=cs[a]??[],V=F.indexOf(U);return V>=0&&V+1<F.length?F[V+1]:void 0},[p,a]),hr=T.useCallback(async()=>{if(le||!k||!Ze)return;if(k==="Zip"){if(!ts(B.current.postal_code)){G(!0);return}let V=String(B.current.postal_code??"").trim(),W=Wo(V);if(W&&(Ct({state:W,__address_state:B.current.__address_state??W}),!Ev.has(W))){ee(!0);return}ge.current(E+1),it(E+1),wl();return}let{stageSlice:U,validateStage:I}=await fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(V=>V.a),F=k==="Email"?jf(B.current.email)?{isValid:!0}:{isValid:!1}:I({questions:pe,values:B.current,stageKey:k});if(!F.isValid){k!=="Email"&&"errorsByKey"in F&&Ba(F),G(!0);return}J(!0),j(void 0);try{let V=gn.current?await gn.current:await vn();if(k==="Product"&&!await At(V))return;let[{toQuotePayload:W},{updateQuote:ue},{prefillSuggestions:Te},{seedHomeCoverages:Le}]=await Promise.all([fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(We=>We.o),fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>Promise.resolve().then(()=>Vg),void 0).then(We=>We.n),fe(()=>import("./coverageDerivation-CV2ORogj-B7aNPljp.js"),[]).then(We=>We.o)]),we=U(pe,B.current,k);k==="Product"&&(we.product=a),k==="Phone"&&(we.suppress_verification_sms=!0);let lt=vi(k),Dt={...W(we),...lt?{current_stage:lt}:{}};if(Object.keys(Dt).length&&await ue(Dt,!1,V),ge.current(E+1),k==="Name"&&a!=="Home"&&Te.vehicle.prefetch(V),k==="Vehicle"&&Te.driver.prefetch(V),lt&&lw.has(lt)){let We=Le(B.current);Object.keys(We).length&&Ct(We)}if(k==="Product"){let We=await On(V);await Ol(V);let Mt=Math.min(E+1,We.length);it(Mt);return}it(E+1)}catch(V){let{CredifyApiError:W}=await fe(async()=>{const{CredifyApiError:Te}=await Promise.resolve().then(()=>Ot);return{CredifyApiError:Te}},void 0),ue=V instanceof W&&V.statusCode===404?"Your quote session expired. Please start again.":"Something went wrong saving your answers. Please try again.";j(ue),Tn(V,{phase:"answer_save",product:a,stage:k,quoteId:R.current,endpoint:"/update-quote",statusCode:Ta(V)})}finally{J(!1)}},[le,k,Ze,wl,vn,At,pe,a,E,On,vi,Ol,it,Ct]),yr=T.useCallback(()=>{E>0&&it(E-1)},[E,it]),Ls=T.useCallback(U=>{let I=b.findIndex(F=>F.kind==="stage"&&F.stage===U);I>=0&&it(I)},[b,it]),gr=T.useRef(!1),ja=T.useCallback(async U=>{if(!(!rr()||gr.current)){gr.current=!0,oe(!0),j(void 0);try{let I={...B.current,product:a},F=String(I.postal_code??"").trim(),V=/^\d{5}$/.test(F)?F:df,W=await vn(V),[{isSupportedState:ue,updateQuote:Te},{toQuotePayload:Le}]=await Promise.all([fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(sn=>sn.o)]),we=Wo(V)??"";we&&(await ue(we,W)).isSupported?I.postal_code=V:(I.postal_code=df,we=Wo(df)??"TX",await ue(we,W)),I.state=we,ee(!1),await Te({product:a,postal_code:I.postal_code},!1,W);let lt=await On(W),Dt=Math.max(0,Math.min(U,lt.length+1)),We=cv()?.autofillStage;if(!We)return;let{stageSlice:Mt}=await fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(sn=>sn.a);for(let sn of lt.slice(0,Dt)){let Si=g[`${sn}|${we}`]??await on(sn,W,we);I=We(Si,I,sn);let un=Le(Mt(Si,I,sn));Object.keys(un).length&&await Te(un,!1,W)}f(I),B.current=I,Dt===lt.length+1&&await Te({},!0,W),it(Dt)}catch{j("The mock jump could not seed this step. Reload and try again.")}finally{gr.current=!1,oe(!1)}}},[a,vn,On,on,g,it]),Hs=T.useCallback(async()=>{rr()},[k,pe]);T.useEffect(()=>{ve.current=ja},[ja]),T.useEffect(()=>{if(!rr())return;let U=()=>{fe(async()=>{const{mockStepFromUrl:I}=await import("./mockJump-hNzgzUmO-CQ7eZ354.js");return{mockStepFromUrl:I}},[]).then(({mockStepFromUrl:I})=>{let F=I();F!=null&&F!==E&&ja(F)})};return window.addEventListener("hashchange",U),()=>window.removeEventListener("hashchange",U)},[E,ja]);let Ia=T.useCallback(async U=>{if(le)return!1;let I=R.current;if(!I)return j("Your quote session expired. Please start again."),!1;J(!0),j(void 0);try{let F=typeof U=="boolean"?{communications_consent:U}:{},{updateQuote:V}=await fe(async()=>{const{updateQuote:ue}=await Promise.resolve().then(()=>Ot);return{updateQuote:ue}},void 0),W=await V(F,!0,I);return W.status==="submission_failed"?(j(W.message||"We could not submit your quote for rating."),Tn(Error(W.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:I,endpoint:"/update-quote"}),!1):(it(b.length-1),!0)}catch(F){return j("We could not submit your quote for rating. Please try again."),Tn(F,{phase:"rating_submit",product:a,quoteId:I,endpoint:"/update-quote",statusCode:Ta(F)}),!1}finally{J(!1)}},[le,b.length,it,a]),pt=T.useCallback(async()=>{let[{stageSlice:U},{toQuotePayload:I}]=await Promise.all([fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(V=>V.a),fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(V=>V.o)]),F={};for(let V of p){if(AM.has(V))continue;let W=se[V];W?.length&&Object.assign(F,U(W,B.current,V))}return I(F)},[p,se]),bn=T.useCallback(async()=>{if(le)return!1;let U=R.current;if(!U)return j("Your quote session expired. Please start again."),!1;J(!0),j(void 0);try{let{isSupportedState:I,updateQuote:F}=await fe(async()=>{const{isSupportedState:ue,updateQuote:Te}=await Promise.resolve().then(()=>Ot);return{isSupportedState:ue,updateQuote:Te}},void 0),V=String(B.current.state??"");if(V){let{isSupported:ue}=await I(V,U);if(!ue)return ee(!0),!1}let W=await F({...await pt(),customer_review_confirmed:!0},!0,U);return W.status==="submission_failed"?(j(W.message||"We could not submit your quote for rating."),Tn(Error(W.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:U,endpoint:"/update-quote"}),!1):(it(b.length-1),!0)}catch(I){return j("We could not submit your quote. Please try again."),Tn(I,{phase:"rating_submit",product:a,quoteId:U,endpoint:"/update-quote",statusCode:Ta(I)}),!1}finally{J(!1)}},[le,pt,b.length,it,a]),yt=T.useRef(!1),Rl=T.useRef(pt);T.useEffect(()=>{Rl.current=pt}),T.useEffect(()=>{if(!X)return;if(!yt.current){yt.current=!0;return}let U=R.current;if(!U)return;let I=window.setTimeout(()=>{(async()=>{try{let{updateQuote:F}=await fe(async()=>{const{updateQuote:W}=await Promise.resolve().then(()=>Ot);return{updateQuote:W}},void 0),V=await Rl.current();Object.keys(V).length&&await F(V,!1,U)}catch(F){Tn(F,{phase:"answer_save",product:a,quoteId:U,endpoint:"/update-quote",statusCode:Ta(F)})}})()},iw);return()=>window.clearTimeout(I)},[X,c,a]);let Us=T.useCallback(()=>{di(),Ne(!1),yt.current=!1,fe(()=>Promise.resolve().then(()=>Vg),void 0).then(U=>U.n).then(({resetPrefillSuggestions:U})=>{U()}),gn.current=null,s(null),R.current=null,f({product:a}),h(ff(a)),y(Gg()),ee(!1),Pe(!1),it(0)},[a,it]),bi=T.useCallback(U=>{let I=F=>{for(let V of F){if(V.key===U)return V;for(let W of V.conditionals??[]){let ue=I(W.conditionalQuestions??[]);if(ue)return ue}}};for(let F of p){let V=I(se[F]??[]);if(V)return{question:V,stage:F}}},[p,se]),vr=T.useCallback(U=>bi(U)?.stage,[bi]),Jn=T.useRef(null);T.useEffect(()=>{Jn.current===null&&(Jn.current=!!Ua())},[]);let Sn=T.useRef({seeded:new Set,advanced:new Set});return T.useEffect(()=>{if(q||P?.kind!=="stage")return;let U=Pg.find(V=>V.stage===P.stage);if(!U||Sn.current.seeded.has(U.stage)||B.current[U.key]||Jn.current!==!1)return;let I=te.current?.[U.key]??U.fromUrl(),F=I?U.normalize(I):"";!F||!U.isValid(F)||(Sn.current.seeded.add(U.stage),Ct({[U.key]:F}))},[q,P,Ct]),T.useEffect(()=>{if(P?.kind!=="stage")return;let U=Pg.find(I=>I.stage===P.stage);U&&(!Sn.current.seeded.has(U.stage)||Sn.current.advanced.has(U.stage)||!Ze||le||U.isValid(c[U.key])&&(Sn.current.advanced.add(U.stage),hr()))},[P,Ze,le,c,hr]),{product:a,quoteId:l,values:c,stages:p,questionsByStage:se,stageForField:vr,questionForField:bi,screens:b,screenIndex:E,stepTotal:L,current:P,questions:pe,validation:yi,showErrors:z,booting:q,loadingQuestions:Y,questionsReady:Ze,busy:le,error:Se,unsupportedState:ye,prefillApplied:Ve,patch:Ct,continueFromStage:hr,back:yr,goToStage:Ls,submitForRates:Ia,intakeReview:X,intakeQuestionsLoading:De,submitIntakeReview:bn,resetSession:Us,mockJumping:Je,mockJumpTo:ja,mockAutofillStage:Hs}},Hv=()=>fe(()=>import("./question-list-DFjWa8ZA-DbabOwyP.js"),__vite__mapDeps([7,8,1,6,9,2,3,4,0,10,11,12,13,14])).then(a=>a.n),fw=T.lazy(()=>Hv().then(a=>({default:a.QuestionList}))),dw=T.lazy(()=>fe(()=>import("./household-prefill-CmtB9R3R-0b9HYzDA.js"),__vite__mapDeps([15,9,1,2,14])).then(a=>a.n).then(a=>({default:a.HouseholdPrefill}))),pw=T.lazy(()=>fe(()=>import("./copy-applicant-offer-CqzfNhkJ-CVahKn8I.js"),__vite__mapDeps([16,2,1,10,3,11])).then(a=>a.n).then(a=>({default:a.CopyApplicantOffer}))),mw=T.lazy(()=>fe(()=>import("./review-panel-C_WxX33U-CxzpQutt.js").then(a=>a.r),__vite__mapDeps([17,0,1,2,3,4,13])).then(a=>a.i).then(a=>({default:a.ReviewPanel}))),hw=T.lazy(()=>fe(()=>import("./intake-review-panel-D27t8CZO-QuAzDm1O.js"),__vite__mapDeps([18,7,8,1,6,9,2,3,4,0,10,11,12,13,14,17])).then(a=>a.n).then(a=>({default:a.IntakeReviewPanel}))),yw=T.lazy(()=>fe(()=>import("./rates-panel-BSFiWEZX-GsRBXu7R.js"),__vite__mapDeps([19,8,11,14])).then(a=>a.n).then(a=>({default:a.RatesPanel}))),gw=new Set(["Demographics","Ssn"]),ml=({label:a})=>A.jsxs("div",{className:"cds-py-10 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-3 cds-h-7 cds-w-7 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-sm cds-text-fg-muted",children:a})]}),vw=({current:a,total:r,label:l})=>{let s=Math.round((a+1)/r*100);return A.jsxs("div",{className:"cds-mb-6",children:[A.jsxs("div",{className:"cds-mb-1.5 cds-flex cds-items-center cds-justify-between cds-text-xs cds-font-semibold cds-text-fg-muted",children:[A.jsx("span",{children:l}),A.jsxs("span",{children:["Step ",a+1," of ",r]})]}),A.jsx("div",{className:"cds-h-1.5 cds-w-full cds-overflow-hidden cds-rounded-full cds-bg-border",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Quote progress",children:A.jsx("div",{className:"cds-h-full cds-rounded-full cds-bg-accent cds-transition-all",style:{width:`${s}%`}})})]})},bw=()=>A.jsxs("div",{role:"note",className:"cds-mx-auto cds-mb-3 cds-flex cds-w-full cds-max-w-xl cds-items-center cds-gap-2 cds-rounded-lg cds-border cds-border-warning cds-bg-warning-surface cds-px-3 cds-py-2 cds-text-xs cds-text-warning-foreground",children:[A.jsx(BM,{"aria-hidden":"true",className:"cds-h-4 cds-w-4 cds-shrink-0 cds-text-warning"}),A.jsxs("span",{children:[A.jsx("span",{className:"cds-font-bold",children:"Test mode"})," — quotes started in this session are marked as tests and left out of reporting."]})]}),Sw=({onRestart:a})=>A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-2xl cds-font-bold cds-text-fg",children:"We're not in your state yet"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"We currently write policies in Texas and New Jersey. Give us a call and we'll point you to a licensed agent who can help."}),A.jsxs("a",{href:ov,onClick:()=>As("phone_call_click",{placement:"quote_unsupported_state",phone:Bf}),className:Ha("cds-inline-block cds-rounded-xl cds-bg-accent cds-px-8 cds-py-3.5 cds-text-base cds-font-bold cds-text-accent-foreground hover:cds-bg-accent/90",ci),children:["Call ",Bf]}),A.jsx("button",{type:"button",onClick:a,className:Ha("cds-mt-4 cds-block cds-w-full cds-text-sm cds-font-semibold cds-text-fg cds-underline",ci),children:"Try a different ZIP code"})]}),_w=new Set(["product"]),Uv=({product:a,suppressedKeys:r=_w,chrome:l=p=>A.jsx(A.Fragment,{children:p}),onScreenChange:s,onComplete:c,prefill:f})=>{let p=Lv(a,{prefill:f}),{booting:h,busy:g,current:y,error:E,intakeReview:_,intakeQuestionsLoading:z,mockJumping:G,questionsReady:q,patch:Q,questions:Y,questionsByStage:ae,quoteId:le,screenIndex:J,showErrors:Se,stepTotal:j,questionForField:ye,stages:ee,unsupportedState:Ve,validation:Pe,values:Je}=p;T.useEffect(()=>{y?.kind==="stage"&&y.stage!=="Zip"&&Hv()},[y]);let oe=wM[a],X=T.useCallback(k=>{let Z=ye(k);return Z?{label:Z.question.question,stage:Z.stage}:void 0},[ye]),Ne=T.useCallback(k=>{let Z=new Set;for(let se of k){let{key:pe}=vv(se.field),Ze=pe?ye(pe)?.stage:void 0;Ze&&Z.add(Ze)}return ee.find(se=>Z.has(se))},[ye,ee]),De=T.useMemo(()=>y?y.kind==="terminal"?y.screen==="review"?TM:MM:CM(y.stage,a):oe?{title:oe.heading,short:oe.label}:void 0,[y,oe,a]),Ye=T.useRef(null),R=T.useRef(!1);T.useEffect(()=>{!De||!y||(s?.(y,{title:De.title,index:J,total:j}),R.current&&Ye.current?.focus({preventScroll:!0}),R.current=!0)},[De,y,J,j]);let B=cv()?.DevPanel,te=rr()&&B?A.jsx(B,{product:a,stages:ee,screenIndex:J,currentStage:y?.kind==="stage"?y.stage:void 0,busy:G,onJump:k=>void p.mockJumpTo(k),onAutofill:()=>void p.mockAutofillStage()}):null,[ge]=T.useState(Nv),ve=k=>l(A.jsxs(A.Fragment,{children:[ge?A.jsx(bw,{}):null,A.jsx("div",{ref:Ye,tabIndex:-1,"data-credify-step-body":!0,className:"cds-rounded-2xl cds-bg-surface-elevated cds-p-5 cds-shadow-sm cds-outline-none sm:cds-p-7",children:k}),te]}));if(h||G)return ve(A.jsxs("div",{className:"cds-py-12 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-4 cds-h-8 cds-w-8 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-fg-muted",children:G?"Seeding mock answers…":"Loading your quote…"})]}));if(Ve)return ve(A.jsx(Sw,{onRestart:p.resetSession}));if(!y||!De)return ve(A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-xl cds-font-bold cds-text-fg",children:"We couldn't start your quote"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"Please refresh the page, or give us a call."}),A.jsx("a",{href:ov,className:"cds-font-semibold cds-text-fg cds-underline",children:Bf})]}));let b=y.kind==="terminal"&&y.screen==="rates",L=_&&y.kind==="terminal"&&y.screen==="review",P=!b&&!L;return ve(A.jsxs(A.Fragment,{children:[P?A.jsx(vw,{current:J,total:j,label:oe.label}):null,J>0&&P?A.jsxs("button",{type:"button",onClick:p.back,className:Ha("cds-mb-3 cds-inline-flex cds-items-center cds-gap-1 cds-text-sm cds-font-semibold cds-text-fg hover:cds-underline",ci),children:[A.jsxs("svg",{"aria-hidden":"true",className:"cds-h-4 cds-w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[A.jsx("path",{d:"m12 19-7-7 7-7"}),A.jsx("path",{d:"M19 12H5"})]}),"Back"]}):null,y.kind==="stage"?A.jsxs(A.Fragment,{children:[A.jsx("h1",{className:"cds-mb-1 cds-text-2xl cds-font-bold cds-text-fg",children:De.title}),De.subtitle?A.jsx("p",{className:"cds-mb-5 cds-text-sm cds-text-fg-muted",children:De.subtitle}):null,q?A.jsxs(A.Fragment,{children:[y.stage==="Vehicle"||y.stage==="Driver"?A.jsx(T.Suspense,{fallback:null,children:A.jsx(dw,{kind:y.stage==="Vehicle"?"vehicle":"driver",quoteId:le,values:Je,onApply:Q},y.stage)}):null,gw.has(y.stage)?A.jsx(T.Suspense,{fallback:null,children:A.jsx(pw,{stage:y.stage,questions:Y,values:Je,onPatch:Q},`copy-${y.stage}`)}):null,y.stage==="Zip"?A.jsx(nM,{label:Y[0]?.question??"What's your ZIP code?",value:String(Je.postal_code??""),error:Se?Pe.errorsByKey.postal_code:void 0,onChange:k=>Q({postal_code:k})}):y.stage==="Email"?A.jsx(aM,{label:Y[0]?.question??"What is your email address?",value:String(Je.email??""),error:Se?Pe.errorsByKey.email:void 0,onChange:k=>Q({email:k})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(fw,{questions:Y,values:Je,errors:Se?Pe.errorsByKey:{},itemErrors:Se?Pe.itemErrors:[],stageKey:y.stage,quoteId:le,suppressedKeys:r,onPatch:Q})}),Se&&!Pe.isValid?A.jsx(Mg,{message:"Please complete the highlighted questions."}):null,A.jsx(Mg,{message:E}),A.jsx(eM,{disabled:g,onClick:()=>void p.continueFromStage(),children:g?"Saving…":"Continue"})]}):A.jsx(ml,{label:"Loading this step…"})]}):y.screen==="review"?_?A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(hw,{stages:ee,questionsByStage:ae,values:Je,quoteId:le,loading:z,busy:g,error:E,suppressedKeys:r,onPatch:Q,onConfirm:()=>void p.submitIntakeReview()})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(mw,{stages:ee,questionsByStage:ae,values:Je,busy:g,error:E,suppressedKeys:r,onEditStage:p.goToStage,onConfirm:k=>void p.submitForRates(k)})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(yw,{product:a,quoteId:le,describeField:X,onFixAnswers:k=>{let Z=Ne(k);p.goToStage(Z??ee[0])},onRetry:p.submitForRates,onBound:()=>c?.()})})]}))};const sR=Object.freeze(Object.defineProperty({__proto__:null,A:Mv,B:hv,C:Av,D:ZM,E:Tn,F:cs,G:yv,H:PM,I:Ev,J:pv,K:VM,L:bv,M:As,N:_v,O:Ts,P:Sv,R:hd,S:Ov,T:Ta,U:FM,V:vl,W:GM,_:Os,a:bd,b:rr,c:Cl,d:Dv,f:Rv,g:Ds,h:Ua,i:ps,j:wv,k:Tv,l:ks,m:Rs,n:Lv,o:vd,p:di,q:mv,r:tw,s:xs,t:Uv,u:JM,v:yd,w:Cv,x:gd,y:ln,z:vv},Symbol.toStringTag,{value:"Module"}));var Al=class extends Error{statusCode;retryAfterSeconds;constructor(r,l,s){super(r),this.name="CredifyApiError",this.statusCode=l,this.retryAfterSeconds=s}},nt=async(a,r)=>{let l=ln();if(l.mockTransport){let h=await l.mockTransport(a,r);if(h!=null)return h}let s={"Content-Type":"application/json"},c=Rs();c&&(s.Authorization=`Bearer ${c}`);let f=await(l.fetchImpl??fetch)(`${l.baseUrl}${a}`,{method:"POST",headers:s,body:JSON.stringify(r)}),p={};try{p=await f.json()}catch{}if(!f.ok){let h=typeof p.error=="string"&&p.error||`Request failed with status ${f.status}`,g=f.status===429?typeof p.retryAfterSeconds=="number"?p.retryAfterSeconds:60:void 0;throw new Al(h,f.status,g)}return p},Et=(a,r)=>r&&!Rs()?{...a,quoteId:r}:a,Ew=()=>ln().source,Cw=()=>{let{partner:a}=ln();return a?a.sub?{partner_id:a.id,sub_id:a.sub}:{partner_id:a.id}:{}},zv=async(a,r=!1)=>{let l=await nt("/create-quote",{postal_code:a,source:Ew(),...Cw(),...r?{is_test:!0}:{}});if(!l.quoteId)throw new Al("Invalid createQuote response",0);return Os(l.quoteId),{quoteId:l.quoteId}},Bv=(a,r=!1,l)=>nt("/update-quote",Et({payload:a,getRates:r},l)).then(s=>s.status?s:{status:"success"}),Sd=a=>nt("/get-quote",Et({},a)),jv=(a,r)=>nt("/is-supported-state",Et({state:a},r)),Iv=(a,r)=>nt("/verify-quote",{action:"send",quoteId:a,phone:r}),qv=async(a,r)=>{let l=await nt("/verify-quote",{quoteId:a,smsCode:r});return l.isVerified&&l.token&&Ds(l.token),{isVerified:!!l.isVerified}},Pv=a=>nt("/get-rates",Et({},a)),Gv=async a=>{let r=await nt("/verify-quote",Et({action:"issue_resume_link"},a));if(!r.resumeToken)throw new Al("Invalid issueResumeLink response",0);return{resumeToken:r.resumeToken,expiresAt:r.expiresAt??null}},_d=async a=>{di();let r=await nt("/verify-quote",{action:"resume",resumeToken:a});if(!r.quoteId)throw new Al("Invalid resume response",0);return Os(r.quoteId),r.isVerified&&r.token&&Ds(r.token),{quoteId:r.quoteId}},Fv=(a,r)=>{let l=Array.isArray(a)?a:[a];return nt("/request-bind",{...l.length===1?{quoteRateId:l[0]}:{quoteRateIds:l},privacyNoticeAcknowledged:r}).then(s=>"success"in s?s:{success:!0})},Vv=async(a,r)=>{try{return await nt("/prefill-property",Et({...r},a))}catch{return{found:!1}}},Yv=a=>nt("/get-stages-for-quote",Et({},a)),$v=(a,r)=>nt("/get-questions-by-stage",Et({stage:a},r)),Ed=(a,r)=>nt("/get-vehicle-options",Et({...a},r)),Qv=(a,r)=>Ed({action:"vinDecode",vin:a},r),Cd=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"vehiclePrefillSuggestions"},a));return r??[]}catch{return[]}},Xv=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyVehiclePrefill",selectedIds:a},r));return l??[]}catch{return[]}},Zv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissVehiclePrefill"},a))}catch{}},Ad=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"driverPrefillSuggestions"},a));return r??[]}catch{return[]}},Wv=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyDriverPrefill",selectedIds:a},r));return l??[]}catch{return[]}},Kv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissDriverPrefill"},a))}catch{}},Aw=fv({prefillSuggestions:()=>Td,resetPrefillSuggestions:()=>Md}),Jv=a=>{let r=new Map,l=new Map,s=c=>{let f=r.get(c);if(f)return f;let p=a(c).then(h=>(l.set(c,h),h)).catch(()=>(r.get(c)===p&&r.delete(c),[]));return r.set(c,p),p};return{fetch:s,peek:c=>l.get(c),prefetch:c=>{s(c)},reset:()=>{r.clear(),l.clear()}}},ns=Jv(Cd),as=Jv(Ad),Td={vehicle:{fetch:ns.fetch,peek:ns.peek,prefetch:ns.prefetch},driver:{fetch:as.fetch,peek:as.peek,prefetch:as.prefetch}},Md=()=>{ns.reset(),as.reset()};const Vg=Object.freeze(Object.defineProperty({__proto__:null,C:Bv,E:nt,S:Iv,T:Et,_:jv,a:Xv,b:_d,c:Kv,d:Cd,f:$v,g:Ed,h:Yv,i:Wv,l:Zv,m:Pv,n:Aw,o:zv,p:Sd,r:Md,s:Qv,t:Td,u:Ad,v:Gv,w:qv,x:Fv,y:Vv},Symbol.toStringTag,{value:"Module"})),Ot=Object.freeze(Object.defineProperty({__proto__:null,AUTH_TOKEN_STORAGE_KEY:Dv,CredifyApiError:Al,QUOTE_ID_STORAGE_KEY:Rv,applyDriverPrefill:Wv,applyVehiclePrefill:Xv,bodyWithQuoteId:Et,buildResumeUrl:vd,captureResumeTokenFromUrl:xs,cityFromZip:ps,clearQuoteSession:di,configureApi:yd,configureZipCityLookup:bd,consumeResumeToken:Cl,createQuote:zv,decodeVin:Qv,dismissDriverPrefill:Kv,dismissVehiclePrefill:Zv,fetchDriverPrefillSuggestions:Ad,fetchVehiclePrefillSuggestions:Cd,getApiConfig:ln,getQuestionsByStage:$v,getQuote:Sd,getRates:Pv,getStagesForQuote:Yv,getVehicleOptions:Ed,hasResumeToken:ks,isMockEnabled:rr,isSupportedState:jv,isTestModeEnabled:gd,issueResumeLink:Gv,loadAuthToken:Rs,loadQuoteId:Ua,post:nt,prefillProperty:Vv,prefillSuggestions:Td,redeemResumeToken:_d,requestBind:Fv,resetApiConfig:Ov,resetPrefillSuggestions:Md,saveAuthToken:Ds,saveQuoteId:Os,sendSmsCode:Iv,updateQuote:Bv,verifySmsCode:qv},Symbol.toStringTag,{value:"Module"}));var pf={};const Tw="https://api.getcredify.com",Mw=()=>{try{if(typeof pf<"u"&&pf?.baseUrl)return pf.baseUrl}catch{}return Tw},rs=Mw();var mf={};const ww="mock";function Ow(){try{return typeof mf<"u"&&mf?.key?mf.key:void 0}catch{return}}function $f(){const a=Ow();if(!a||typeof window>"u"||!window.location)return!1;try{return new URLSearchParams(window.location.search).get(ww)===a}catch{return!1}}const Rw=()=>{const r=globalThis.process?.env?.NODE_ENV;return typeof r=="string"?r!=="production":!1};function Dw(a,r){try{Rw()&&console.error(`[credify-widget] ${a}:`,r),pr(r instanceof Error?r:new Error(String(r)),{tags:{source:a,failure_type:"side_effect"},level:"warning"})}catch{}}let xw=!1;function kw(){return xw}let Nw;function Lw(){return Nw}const Hw="credify-insurance-widget",Uw="1.0",eb=25,tb=64*1024,zw=`
107
+ …[truncated]`;let Yg=!1,$g=null,Qg="",nb=eb,Qf=tb,gl=[];function Bw(a){return typeof a=="string"?a:a instanceof URL?a.href:a.url}function jw(a,r){return r?.method?r.method.toUpperCase():typeof a!="string"&&!(a instanceof URL)&&a.method?a.method.toUpperCase():"GET"}function Xg(a){if(!a)return[];const r=[];if(Array.isArray(a))for(const[l,s]of a)r.push({name:l,value:String(s)});else if(typeof a.forEach=="function")a.forEach((l,s)=>r.push({name:s,value:l}));else for(const[l,s]of Object.entries(a))r.push({name:l,value:String(s)});return r}function Iw(a){try{const r=[];return new URL(a).searchParams.forEach((l,s)=>r.push({name:s,value:l})),r}catch{return[]}}function qw(a,r){const l=r?.body;return typeof l!="string"||l.length===0?void 0:{mimeType:a.find(c=>c.name.toLowerCase()==="content-type")?.value??"application/json",text:l}}function Pw(a){const r=a.length;return r<=Qf?{text:a,size:r}:{text:a.slice(0,Qf)+zw,size:r}}function Gw(a){gl.push(a),gl.length>nb&&gl.shift()}function Fw(a){if(Yg)return!0;if(typeof window>"u"||typeof window.fetch!="function")return!1;Qg=a.baseUrl,nb=a.maxEntries??eb,Qf=a.maxBodyBytes??tb,$g=window.fetch.bind(window);const r=$g;return window.fetch=async(l,s)=>{let c;try{c=Bw(l)}catch{return r(l,s)}if(!c.startsWith(Qg))return r(l,s);const f=Xg(s?.headers??(typeof l!="string"&&!(l instanceof URL)?l.headers:void 0)),p={startedDateTime:new Date().toISOString(),time:-1,request:{method:jw(l,s),url:c,httpVersion:"HTTP/1.1",headers:f,queryString:Iw(c),cookies:[],headersSize:-1,bodySize:typeof s?.body=="string"?s.body.length:-1,postData:qw(f,s)},response:Vw(),cache:{},timings:{send:0,wait:-1,receive:0}};Gw(p);const h=typeof performance<"u"?performance.now():0;let g;try{g=await r(l,s)}catch(E){const _=(typeof performance<"u"?performance.now():0)-h;throw p.time=Math.round(_),p.timings.wait=Math.round(_),p.response._error=E instanceof Error?E.message:String(E),E}const y=(typeof performance<"u"?performance.now():0)-h;p.time=Math.round(y),p.timings.wait=Math.round(y),p.response.status=g.status,p.response.statusText=g.statusText,p.response.headers=Xg(g.headers),p.response.content.mimeType=typeof g.headers?.get=="function"&&g.headers.get("content-type")||"";try{g.clone().text().then(_=>{const{text:z,size:G}=Pw(_);p.response.content.text=z,p.response.content.size=G,p.response.bodySize=G}).catch(()=>{})}catch{}return g},Yg=!0,!0}function Vw(){return{status:0,statusText:"",httpVersion:"HTTP/1.1",headers:[],cookies:[],content:{size:0,mimeType:""},redirectURL:"",headersSize:-1,bodySize:-1}}function Yw(){return{log:{version:"1.2",creator:{name:Hw,version:Uw},entries:gl.map(a=>({...a}))}}}function $w(){return gl.length}const Qw=[/ssn/i,/social.?security/i,/(driver.?licen[cs]e|^dln$|^dl$)/i,/(date.?of.?birth|^dob$)/i,/^vin$/i,/(sms.?code|^otp$|^code$|verification.?code)/i,/phone/i,/^email$/i,/(first.?name|last.?name|full.?name)/i,/(^address$|street|^zip$|postal)/i,/(jwt|^token$|authorization|^auth$|api.?key|secret|password|credential)/i,/cookie/i],Xw=[/\b\d{3}-?\d{2}-?\d{4}\b/g,/\b[A-HJ-NPR-Z0-9]{17}\b/g,/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/g,/\bsk_[A-Za-z0-9]{16,}\b/g,/\bBearer\s+[A-Za-z0-9._-]+/gi],Da="[REDACTED]",Zw=8;function Ns(a){for(const r of Qw)if(r.test(a))return!0;return!1}function xa(a){let r=a;for(const l of Xw)r=r.replace(l,Da);return r}function wa(a,r=0,l=new WeakSet){if(r>Zw)return Da;if(a==null)return a;if(typeof a=="string")return xa(a);if(typeof a!="object")return a;if(l.has(a))return Da;if(l.add(a),Array.isArray(a))return a.map(f=>wa(f,r+1,l));const s=Object.getPrototypeOf(a);if(s!==null&&s!==Object.prototype)return a;const c={};for(const[f,p]of Object.entries(a)){if(Ns(f)){c[f]=Da;continue}c[f]=wa(p,r+1,l)}return c}function Zg(a){if(a.request&&(a.request.data!==void 0&&(a.request.data=wa(a.request.data)),a.request.cookies!==void 0&&(a.request.cookies=Da),a.request.headers)){const r=a.request.headers;for(const l of Object.keys(r))Ns(l)&&(r[l]=Da)}if(a.extra&&(a.extra=wa(a.extra)),a.contexts&&(a.contexts=wa(a.contexts)),a.tags&&(a.tags=wa(a.tags)),a.user){const{id:r,email:l,username:s}=a.user;a.user={...typeof r=="string"?{id:r}:{},...typeof l=="string"?{email:l}:{},...typeof s=="string"?{username:s}:{}}}if(Array.isArray(a.breadcrumbs))for(const r of a.breadcrumbs)r.data!==void 0&&(r.data=wa(r.data)),typeof r.message=="string"&&(r.message=xa(r.message));return typeof a.message=="string"&&(a.message=xa(a.message)),a}function Wg(a){for(const r of a)r.value=Ns(r.name)?Da:xa(r.value)}function Kg(a){try{return JSON.stringify(wa(JSON.parse(a)))}catch{return xa(a)}}function Ww(a){const r=JSON.parse(JSON.stringify(a));for(const l of r.log.entries){Wg(l.request.headers),Wg(l.response.headers);for(const s of l.request.queryString)s.value=Ns(s.name)?Da:xa(s.value);l.request.postData?.text&&(l.request.postData.text=Kg(l.request.postData.text)),l.response.content.text&&(l.response.content.text=Kg(l.response.content.text)),l.request.url=xa(l.request.url),l.response._error&&(l.response._error=xa(l.response._error))}return r}function Kw(a,r={}){try{Es(l=>{l.setTag("failure_type","quote"),r.product&&l.setTag("product",r.product),r.stage&&l.setTag("stage",r.stage),r.quoteId&&l.setTag("quote_id",r.quoteId),r.phase&&l.setTag("phase",r.phase),r.endpoint&&l.setTag("endpoint",r.endpoint),typeof r.statusCode=="number"&&l.setTag("status_code",String(r.statusCode)),r.failureCode&&l.setTag("failure_code",r.failureCode);try{$w()>0&&l.addAttachment({filename:"quote-failure.har",data:JSON.stringify(Ww(Yw())),contentType:"application/json"})}catch{}const s=a instanceof Error?a:new Error(r.message??"Quote failed");pr(s)})}catch{}}const Jw=(a,r)=>{try{return a()}catch{return r}};function wd(){return Jw(()=>Ua(),null)}const eO=["widgetOpened","widgetClosed","stageViewed","stageCompleted","flowCompleted","ratesViewed","ratesBack","submissionFailed","telemetry"],ms={};function tO(a){let r=ms[a];return r||(r=new Set,ms[a]=r),r}function ab(a,r){tO(a).add(r)}function rb(a,r){ms[a]?.delete(r)}function mr(a,...r){const l=ms[a];if(!l||l.size===0)return;const s=r[0],c={quoteId:wd(),timestamp:Date.now()};for(const f of[...l])try{f(s,c)}catch(p){pr(p,{tags:{source:"widget-event-listener",event:a}})}}function nO(){mr("widgetOpened")}function Jg(){mr("widgetClosed")}function aO(a){mr("stageViewed",a)}function rO(a){mr("stageCompleted",a)}function iO(){mr("flowCompleted")}function lO(a){mr("ratesViewed",a)}function ib(a,r){mr("telemetry",{event:a,properties:r})}let e0=!1;const oO=()=>{if(e0||typeof window>"u")return;e0=!0;const a=window.gm_authFailure;window.gm_authFailure=()=>{try{Es(r=>{r.setLevel("warning"),r.setTag("failure_type","places"),r.setTag("places_failure","auth_failed"),r.setExtra("origin",window.location.origin),_C("Google Places key rejected (gm_authFailure)")})}catch{}ib("places_auth_failed",{origin:window.location.origin}),a?.()}};var t0={apiKey:""};const sO=()=>{try{return typeof t0<"u"?t0?.apiKey:void 0}catch{return}};let n0=!1;const uO=async(a,r)=>null,lb=()=>{n0||(n0=!0,yd({baseUrl:rs,storagePrefix:"credify_",source:"widget",isMockActive:$f,isTestActive:kw,partner:Lw(),mockTransport:(a,r)=>$f()?uO():null}),Cv({onQuoteFailure:(a,r)=>Kw(a,{...r,quoteId:r.quoteId??void 0}),onBreadcrumb:(a,r)=>{try{La({category:"quote",message:a,data:r,level:"info"})}catch{}},onTrack:(a,r)=>ib(a,r),onContext:a=>{try{a.product&&tf("product",a.product),a.stage&&tf("stage",a.stage),"quoteId"in a&&tf("quote_id",a.quoteId??void 0)}catch{}}}),yM({apiKey:sO()}),oO(),bd(void 0))},a0="credify-widget-font",cO="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";function fO(){if(typeof document>"u"||document.getElementById(a0))return;const a=document.createElement("link");a.id=a0,a.rel="stylesheet",a.href=cO,document.head.appendChild(a)}const Od=a=>A.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:a}),dO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 10.5 12 3l9 7.5"}),A.jsx("path",{d:"M5 9.5V21h14V9.5"})]})),pO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M4 16.5V13l1.8-4.5A2 2 0 0 1 7.7 7h8.6a2 2 0 0 1 1.9 1.5L20 13v3.5"}),A.jsx("path",{d:"M4 16.5h16M7 20v-3.5M17 20v-3.5"})]})),mO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 8.5 9 4l6 4.5"}),A.jsx("path",{d:"M4.5 7.8V19h9V7.8"}),A.jsx("path",{d:"M14 19v-6h6.5v6z"})]})),hO=[{product:"Home",label:"Home",detail:"Cover the place you live",glyph:dO},{product:"Auto",label:"Auto",detail:"Cover your vehicles",glyph:pO},{product:"Bundle",label:"Home + Auto",detail:"Quote both home and auto coverage",glyph:mO}],yO=({onChoose:a})=>A.jsxs("div",{className:"credify-widget-chooser",children:[A.jsx("h1",{children:"What would you like to insure?"}),A.jsx("p",{children:"We'll ask a few questions and show you real prices from our carriers."}),A.jsx("div",{role:"group","aria-label":"What would you like to insure?",className:"credify-widget-chooser-options",children:hO.map(({product:r,label:l,detail:s,glyph:c})=>A.jsxs("button",{type:"button",onClick:()=>a(r),className:"credify-widget-chooser-option",children:[c,A.jsx("span",{className:"credify-widget-chooser-label",children:l}),A.jsx("span",{className:"credify-widget-chooser-detail",children:s})]},r))})]}),gO=a=>!a&&(ks()||!!Ua());var hf={blandWidgetId:"",cobrowseLicense:""};function vO(){try{return typeof hf<"u"&&hf?hf:{}}catch{return{}}}function bO(a){const r=vO(),l=r.blandWidgetId,s=r.cobrowseLicense;return{enabled:!!(l||s),blandWidgetId:l||void 0,cobrowseLicense:s||void 0,proactiveOnError:!0}}const yf=new Map;function ob(a){if(typeof document>"u")return Promise.reject(new Error("loadScript called without a document"));const r=yf.get(a);if(r)return r;if(document.querySelector(`script[src="${a}"]`))return Promise.resolve();const l=new Promise((s,c)=>{const f=document.createElement("script");f.src=a,f.async=!0,f.onload=()=>s(),f.onerror=()=>{yf.delete(a),c(new Error(`Failed to load script: ${a}`))},document.head.appendChild(f)});return yf.set(a,l),l}const sb="https://widget.bland.ai/loader.js",Rd="bland-widget-host",SO="#bland-widget-root > button",_O=20,EO=100;let bl=!1;function CO(){return typeof document>"u"?!1:!!window.blandSettings||!!document.querySelector(`script[src="${sb}"]`)||!!document.getElementById(Rd)}function AO(){return document.getElementById(Rd)?.shadowRoot?.querySelector(SO)??null}function TO(a,r){if(typeof window>"u"||CO())return;const l=wd();window.blandSettings={widget_id:a,request_data:{source:"credify-insurance-widget",entry_path:window.location.pathname,...l?{quote_id:l}:{},...r}},bl=!0,ob(sb).catch(s=>{bl=!1,pr(s,{tags:{source:"widget-bland-loader"}})})}async function ub(a,r){if(typeof window>"u")return!1;TO(a,r);for(let l=0;l<_O;l+=1){const s=AO();if(s){for(const c of["mousedown","mouseup","click"])s.dispatchEvent(new MouseEvent(c,{bubbles:!0,composed:!0}));return!0}await new Promise(c=>window.setTimeout(c,EO))}return pr(new Error("Bland launcher did not mount"),{tags:{source:"widget-bland-open",owned:String(bl)}}),!1}function MO(){typeof document>"u"||(bl&&(document.getElementById(Rd)?.remove(),delete window.blandSettings),bl=!1)}const wO="https://js.cobrowse.io/CobrowseIO.js";let Xf=!1;async function OO(a){await ob(wO);const r=window.CobrowseIO;if(!r)return null;if(!Xf){r.license=a,r.redactedViews=["input","select","textarea","[data-credify-redact]"],r.customData={quote_id:wd()??void 0,device_name:"Credify Insurance Widget"},r.confirmSession=()=>Promise.resolve(typeof window<"u"?window.confirm("Allow a Credify support agent to view your screen?"):!1);try{await r.client?.()}catch{}r.start?.(),Xf=!0}return r}async function RO(a){if(typeof window>"u")return null;try{const r=await OO(a);return r?.createSessionCode?await r.createSessionCode():null}catch{return null}}function DO(){try{window.CobrowseIO?.stop?.()}catch{}Xf=!1}let Mn=null,is=null,Zf=!1;function xO(a){HO();const r=bO();if(Mn=r,!!r.enabled&&r.proactiveOnError&&r.blandWidgetId){const l=s=>{Zf||(Zf=!0,ub(r.blandWidgetId,{last_quote_error:s?.reason??"unknown"}))};ab("submissionFailed",l),is=l}}function kO(){return!Mn?.enabled||!Mn.blandWidgetId?Promise.resolve(!1):ub(Mn.blandWidgetId)}function NO(){return!Mn?.enabled||!Mn.cobrowseLicense?Promise.resolve(null):RO(Mn.cobrowseLicense)}function LO(){return!!(Mn?.enabled&&Mn.cobrowseLicense)}function HO(){is&&(rb("submissionFailed",is),is=null),MO(),DO(),Zf=!1,Mn=null}const UO=({label:a="Share my screen"})=>{const[r,l]=T.useState(null),[s,c]=T.useState(!1),[f,p]=T.useState(!1),h=T.useCallback(async()=>{c(!0),p(!1);try{const g=await NO();g?l(g):p(!0)}catch{p(!0)}finally{c(!1)}},[]);return LO()?A.jsxs("span",{className:"credify-widget-share",children:[A.jsx("button",{type:"button",onClick:h,disabled:s||!!r,"aria-label":"Share your screen with an agent",className:"credify-widget-share-button",children:s?"Starting…":a}),r&&A.jsxs("span",{className:"credify-widget-share-code",children:["Read this code to your agent: ",A.jsx("strong",{children:r})]}),f&&A.jsx("span",{role:"alert",className:"credify-widget-share-error",children:"Couldn't start screen sharing. Please call us instead."})]}):null},zO="https://assets.getcredify.com",BO=()=>{try{if(typeof __CREDIFY_ASSETS__<"u"&&__CREDIFY_ASSETS__?.baseUrl)return __CREDIFY_ASSETS__.baseUrl}catch{}return zO};BO();function jO(){return Promise.resolve(null)}let IO;function qO(){return IO}const PO=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),GO=new Set(["product"]),FO=a=>a==="Home"||a==="Auto"||a==="Bundle";function VO({isOpen:a,onClose:r,product:l}){lb(),fO();const[s,c]=T.useState(null);T.useEffect(()=>{let oe=!0;return jO().then(X=>{oe&&c(X)}),()=>{oe=!1}},[]);const f=T.useRef(null),[p,h]=T.useState(null),[g,y]=T.useState(),[E,_]=T.useState(()=>gO(l)),z=T.useRef(null),G=l??g,q=T.useRef(null),Q=T.useRef(null),[Y,ae]=T.useState(!1),[le,J]=T.useState(!1),Se=T.useRef(null),j=T.useCallback((oe,X)=>{const Ne=Se.current,De=oe.kind==="stage"?oe.stage:void 0;Ne&&Ne.stage&&X.index>Ne.index&&rO({stageKey:Ne.stage,stageTitle:Ne.stage,stepIndex:Ne.index,totalSteps:X.total}),De&&aO({stageKey:De,stageTitle:X.title,stepIndex:X.index,totalSteps:X.total}),oe.kind==="terminal"&&oe.screen==="rates"&&lO({rateCount:0}),Se.current={stage:De,index:X.index}},[]);T.useEffect(()=>{a&&nO()},[a]),T.useEffect(()=>{if(!a||l||g)return;if(!z.current){const X=Cl();X&&(z.current=_d(X))}if(!z.current&&!Ua())return;let oe=!1;return _(!0),(async()=>{try{await z.current;const{quote:X}=await Sd(Ua()??void 0),Ne=X.product;!oe&&FO(Ne)&&y(Ne)}catch{}finally{oe||_(!1)}})(),()=>{oe=!0}},[a,l,g]);const ye=T.useCallback(()=>{if(le){Jg(),r();return}ae(!0)},[le,r]),ee=T.useCallback(()=>ae(!1),[]),Ve=T.useCallback(()=>{ae(!1),Jg(),r()},[r]),Pe=T.useCallback(oe=>{if(oe.key==="Escape"){oe.preventDefault(),Y?ee():ye();return}if(oe.key!=="Tab")return;const X=Y?q.current:f.current;if(!X)return;const Ne=Array.from(X.querySelectorAll(PO)).filter(B=>B.offsetParent!==null||B===document.activeElement);if(Ne.length===0)return;const De=Ne[0],Ye=Ne[Ne.length-1],R=document.activeElement;oe.shiftKey&&R===De?(oe.preventDefault(),Ye.focus()):!oe.shiftKey&&R===Ye&&(oe.preventDefault(),De.focus())},[Y,ee,ye]);T.useEffect(()=>{if(a)return window.addEventListener("keydown",Pe),()=>window.removeEventListener("keydown",Pe)},[a,Pe]),T.useEffect(()=>{if(!Y)return;const oe=window.setTimeout(()=>Q.current?.focus(),0);return()=>window.clearTimeout(oe)},[Y]),T.useEffect(()=>{a||(ae(!1),J(!1),y(void 0))},[a]);const Je=s?.logoUrl?A.jsx("img",{src:s.logoUrl,alt:s.firmName??"Partner logo"}):s?.firmName?A.jsx("span",{children:s.firmName}):null;return a?A.jsxs("div",{ref:f,className:"credify-widget-overlay",role:"dialog","aria-modal":"true","aria-labelledby":"insurance-modal-title",tabIndex:-1,children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsxs("div",{ref:h,className:"credify-widget-panel",role:"document",children:[A.jsx("h2",{id:"insurance-modal-title",className:"credify-widget-sr-only",children:"Credify insurance quote"}),A.jsx("button",{onClick:ye,className:"credify-widget-close","aria-label":"Close quote form",type:"button",children:A.jsx("span",{"aria-hidden":"true",children:"×"})}),Je&&A.jsx("div",{className:"credify-widget-co-brand",children:Je}),A.jsx(hM,{theme:{mode:"light",accent:s?.brandColour??void 0},className:"credify-widget-scope",portalContainer:p,children:E?A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame credify-widget-chooser","aria-live":"polite",children:A.jsx("p",{children:"Loading your quote…"})})}):G?A.jsx(Uv,{product:G,prefill:qO(),suppressedKeys:GO,onScreenChange:j,onComplete:()=>{J(!0),iO()},chrome:oe=>A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:oe})})}):A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:A.jsx(yO,{onChoose:y})})})}),A.jsxs("div",{className:"credify-widget-footer",children:[A.jsx(UO,{label:"Need help? Share my screen"}),A.jsx("p",{children:"Insurance products offered through Credify Corporation, a licensed insurance agency."})]}),Y&&A.jsx("div",{className:"credify-widget-confirm-backdrop",role:"presentation",children:A.jsxs("div",{ref:q,className:"credify-widget-confirm",role:"alertdialog","aria-modal":"true","aria-labelledby":"close-confirm-title","aria-describedby":"close-confirm-description",tabIndex:-1,children:[A.jsx("h3",{id:"close-confirm-title",children:"Close this window?"}),A.jsx("p",{id:"close-confirm-description",children:"You can reopen it from this page whenever you're ready."}),A.jsxs("div",{className:"credify-widget-confirm-actions",children:[A.jsx("button",{ref:Q,type:"button",className:"credify-widget-confirm-cancel",onClick:ee,children:"Keep editing"}),A.jsx("button",{type:"button",className:"credify-widget-confirm-danger",onClick:Ve,children:"Close window"})]})]})})]})]}):null}function YO({onClose:a}){return A.jsxs("div",{className:"credify-widget-overlay",role:"dialog","aria-modal":"true",children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsx("div",{className:"credify-widget-panel",role:"document",style:{height:"auto",maxHeight:"none"},children:A.jsxs("div",{className:"credify-widget-body",style:{textAlign:"center"},children:[A.jsx("h2",{style:{margin:"0 0 0.5rem",fontSize:"1.25rem",fontWeight:700,color:"#10233f"},children:"Something went wrong"}),A.jsx("p",{style:{margin:"0 0 1.25rem",fontSize:"0.9375rem",color:"#42566e"},children:"We could not load your quote. Please close this and try again, or call us on (512) 640-2609."}),A.jsx("button",{type:"button",onClick:a,className:"credify-widget-confirm-cancel",style:{padding:"0.625rem 1.5rem",borderRadius:"0.5rem",fontWeight:700,cursor:"pointer"},children:"Close"})]})})]})}var gf={dsn:"",environment:"production",release:"ba87cf1ff7f58d8460c6246e1b048e8da94bb6da"};function $O(){try{return typeof gf<"u"&&gf?gf:{}}catch{return{}}}let r0=!1;function QO(a,r){if(!a)return r;const l=Number(a);return Number.isFinite(l)&&l>=0&&l<=1?l:r}function XO(a={}){if(r0)return!0;if(typeof window>"u")return!1;const r=$O(),l=a.dsn??r.dsn;return!l||a.enabled===!1?!1:(Fw({baseUrl:rs}),eT({dsn:l,environment:a.environment??r.environment??"production",release:a.release??r.release,sendDefaultPii:!1,maxBreadcrumbs:50,tracesSampleRate:a.tracesSampleRate??QO(r.tracesSampleRate,.1),tracePropagationTargets:[rs],replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,integrations:s=>[...s.filter(c=>c.name!=="BrowserApiErrors"),G0({eventTarget:!1})],ignoreErrors:[/Java object is gone/,/Error invoking postMessage/],denyUrls:[/navigation_performance_logger/,/^iabjs:/],beforeSend:s=>Zg(s),beforeBreadcrumb:s=>s&&(Zg({breadcrumbs:[s]}),s)}),r0=!0,K1("replayIntegration").then(s=>{try{kC(s({maskAllText:!0,maskAllInputs:!0,blockAllMedia:!0,networkDetailAllowUrls:[rs],networkCaptureBodies:!1}))}catch{}}).catch(()=>{}),!0)}const i0="credify_product",l0="credify_product",ZO={home:"Home","home-insurance":"Home",homeowners:"Home",auto:"Auto","auto-insurance":"Auto",car:"Auto",vehicle:"Auto",bundle:"Bundle","bundle-insurance":"Bundle"};function o0(a){if(a)return ZO[a.trim().toLowerCase()]}let Wf,s0=!1;function WO(){try{if(typeof window>"u")return;Wf=o0(window.sessionStorage?.getItem(l0)),s0=!1;const a=new URL(window.location.href),r=a.searchParams.get(i0);if(r===null)return;const l=o0(r);if(l){Wf=l,s0=!0;try{window.sessionStorage?.setItem(l0,l)}catch{}}a.searchParams.delete(i0),window.history.replaceState(window.history.state,"",a.toString())}catch(a){Dw("widget-product-param",a)}}function u0(){return Wf}function KO(){const[a,r]=T.useState(!1),[l,s]=T.useState(()=>(WO(),u0()));T.useEffect(()=>{lb(),XO(),xO()},[]);const c=T.useCallback(p=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:p,source:"credify-insurance-widget"},"*")},[]);T.useEffect(()=>{const p=(g,y,E)=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:"event",source:"credify-insurance-widget",event:g,data:y,meta:E},"*")},h=eO.map(g=>{const y=(E,_)=>p(g,E,_);return ab(g,y),[g,y]});return()=>{for(const[g,y]of h)rb(g,y)}},[]),T.useEffect(()=>{const p=h=>{if(h.data?.source==="credify-insurance-widget")switch(h.data.type){case"open":r(!0),c("opened");break;case"close":r(!1),c("closed");break;case"init":h.data.product&&!u0()&&s(h.data.product),c("ready");break;case"support-open":kO();break}};return window.addEventListener("message",p),c("ready"),()=>{window.removeEventListener("message",p)}},[c]);const f=T.useCallback(()=>{r(!1),c("closed")},[c]);return A.jsx(fd,{fallback:A.jsx(YO,{onClose:f}),children:A.jsx(VO,{isOpen:a,onClose:f,product:l})})}var JO=new Set(["/create-quote","/update-quote","/get-quote","/get-stages-for-quote","/get-questions-by-stage","/get-vehicle-options","/is-supported-state","/verify-quote","/get-rates","/request-bind","/prefill-property"]);let c0=!1;function eR(a){try{if(typeof a=="string")return new URL(a,window.location.href).pathname;if(a instanceof URL)return a.pathname;if(a instanceof Request)return new URL(a.url,window.location.href).pathname}catch{return null}return null}async function tR(a,r){try{if(r?.body&&typeof r.body=="string")return JSON.parse(r.body);if(a instanceof Request){const l=await a.clone().text();return l?JSON.parse(l):{}}}catch{return{}}return{}}function nR(){try{if(typeof document>"u"||document.getElementById("credify-mock-badge"))return;const a=()=>{const r=document.createElement("div");r.id="credify-mock-badge",r.textContent="MOCK MODE",r.setAttribute("aria-hidden","true"),r.style.cssText=["position:fixed","bottom:12px","left:12px","z-index:2147483647","background:#b91c1c","color:#fff","font:600 11px/1 system-ui,sans-serif","letter-spacing:0.08em","padding:6px 10px","border-radius:9999px","box-shadow:0 1px 4px rgba(0,0,0,0.3)","pointer-events:none","user-select:none"].join(";"),document.body.appendChild(r)};document.body?a():document.addEventListener("DOMContentLoaded",a,{once:!0})}catch{}}function aR(){if(c0||typeof window>"u"||typeof window.fetch!="function"||!$f())return;c0=!0;const a=window.fetch.bind(window);window.fetch=async(r,l)=>{const s=eR(r);return!s||!JO.has(s)||await tR(r,l),a(r,l)},nR(),typeof console<"u"&&console.info("[Credify] Mock mode active — all API calls are served from in-memory fixtures.")}aR();L_.createRoot(document.getElementById("root")).render(A.jsx(T.StrictMode,{children:A.jsx(KO,{})}));export{Ed as $,Wv as A,bv as B,rr as C,Xv as D,mv as E,di as F,Tn as G,Fv as H,Td as I,vv as J,Ta as K,Y0 as L,$0 as M,GM as N,Zv as O,tw as P,x_ as Q,w_ as R,oR as S,BM as T,lR as U,rR as V,sv as W,iR as X,FM as Y,PM as Z,fe as _,A as a,Qv as a0,M_ as a1,sR as a2,Ot as a3,AM as b,CM as c,Ha as d,yv as e,ci as f,Mg as g,eM as h,cs as i,Kv as j,hv as k,UM as l,Bf as m,As as n,ov as o,JT as p,Sd as q,T as r,Pv as s,fv as t,hd as u,Av as v,pv as w,qv as x,Al as y,Iv as z};