PageSourceSearch

https://www.erieinsurance.com/_next/static/chunks/755-54fbdc666f39c239.js

js erieinsurance.com collected 2026-09-24 09:15:43 UTC 599,463 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[755],{883:function(e,t,a){"use strict";var l=a(3454);let n=a(1141),i=a(5584)||{},s=n.publicUrl,r={assetPrefix:s,distDir:l.env.NEXTJS_DIST_DIR||".next",env:{PUBLIC_URL:s,FORSTA_DIGITAL_FEEDBACK_KEY:"4hycrw"},i18n:{locales:["en"],defaultLocale:n.defaultLanguage},reactStrictMode:!0,images:{remotePatterns:[{protocol:"https",hostname:"edge*.**",port:""},{protocol:"https",hostname:"feaas*.blob.core.windows.net",port:""}]},redirects:async()=>[],rewrites:async()=>[{source:"/sitecore/api/:path*",destination:"".concat(n.sitecoreApiHost,"/sitecore/api/:path*")},{source:"/-/:path*",destination:"/api/media-proxy?appUrl=/:path*"},{source:"/healthz",destination:"/api/healthz"},{source:"/sitecore/service/:path*",destination:"".concat(n.sitecoreApiHost,"/sitecore/service/:path*")},{source:"/blog/feeds/:path*",destination:"/api/rss?source=:path*"}]};e.exports=()=>Object.values(i).reduce((e,t)=>t(e),r)},7251:function(e,t,a){"use strict";a.d(t,{Z:function(){return S}});var l=a(5893),n=a(7294),i=a(9508),s=a(3889),r=a(3369),o=a(1025),c=a(9757),d=a(7455),u=a(3338),m=a(2311),v=()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{}),(0,l.jsx)(o.default,{}),(0,l.jsx)(c.default,{}),(0,l.jsx)(s.M,{}),(0,l.jsx)(d.default,{}),(0,l.jsx)(u.default,{}),(0,l.jsx)(m.default,{})]}),h=a(612),p=a(3358),x=a(7021),g=a(1141),f=a.n(g),j=a(1955),b=a(4189),y=a(6665),N=a(2194),_=a(6479),C=a(3122),w=a(2914);let A=f().grcSiteKey,E="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";var S=e=>{var t,a,s;let{layoutData:r}=e,o=(0,C.I)(),{route:c}=r.sitecore,d=r.sitecore.context.pageEditing,u=d?"editing-mode":"prod-mode",m=null===(s=r.sitecore)||void 0===s?void 0:null===(a=s.route)||void 0===a?void 0:null===(t=a.templateName)||void 0===t?void 0:t.toLowerCase().replace(" ","-"),g=n.useRef(!1),S=n.useRef(!1),k=n.useRef(!1),I=n.useRef(!1),L=async e=>{try{var t,a,l;let n=await fetch("/api/agencydetail?accountnumber=".concat(e),{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});if(!n.ok)throw Error("Failed to fetch agency details");let i=await n.json();return null==i?void 0:null===(l=i.AgencyByAgencyIdResponse)||void 0===l?void 0:null===(a=l.GetAgencyByAgencyIdResult)||void 0===a?void 0:null===(t=a._x003C_AgentInformation_x003E_k__BackingField)||void 0===t?void 0:t.AgentInformation}catch(e){console.error(e)}};return n.useEffect(()=>{if(!(d||!o.loading&&!o.optInRequired)||document.querySelector('link[href="'.concat(E,'"]')))return;let e=document.createElement("link");e.rel="stylesheet",e.href=E,document.head.appendChild(e)},[d,o.loading,o.optInRequired]),n.useEffect(()=>{var e,t,a,l,n,i;let s=!d&&o.optInRequired;if(s||o.loading)return;d||s||(k.current||(k.current=(0,h.default)()),I.current||(I.current=!0,(0,p.default)("4hycrw")),(async()=>{let e=await (0,w.o)().catch(()=>w.F),t=e.account,a=e.accountAuth;console.log("EICustAgentDetails: "+t+"AccountAuth: "+a),t&&a&&(console.log("EICustAgentDetails:"+t+"AccountAuth:"+a),L(t).then(e=>{e&&(y._K.set(y.mJ.savedAgent,e),y._K.set(y.mJ.viewingAgency,{AgencyAccountNumber:null!=t?t:""}),b.c.event(b.a.AGENCY_SAVED,{agency_id:e.AgencyAccountNumber,agency_name:e.AgencyName}))}))})());let r=document.location.href;if(r.includes("/agy/")){let e=r.replace("/agy/","/agencies/");location.href=e}else if(r.includes("/agy?AgencyFromUrl=")){let e=r.replace("/agy?AgencyFromUrl=","/agencies/");location.href=e}let c=new URLSearchParams(document.location.search);if(!S.current){S.current=!0;let e=c.get("AgencyFromUrl"),t=j.Z.get("eig_AssociatedAgency");if(e&&t&&!(null===y._K||void 0===y._K?void 0:y._K.get(y.mJ.savedAgent))){let t=y._K.get(y.mJ.savedAgent);(null==t?void 0:t.AgencyAccountNumber.toLowerCase())!=e.toLowerCase()&&L(e).then(e=>{if(e){var t;y._K.set(y.mJ.savedAgent,e),y._K.set(y.mJ.viewingAgency,{AgencyAccountNumber:null!==(t=null==e?void 0:e.AgencyAccountNumber)&&void 0!==t?t:""}),b.c.event(b.a.AGENCY_SAVED,{agency_id:e.AgencyAccountNumber,agency_name:e.AgencyName})}})}e&&(null==t?void 0:t.toLowerCase())!=e.toLowerCase()&&(console.log("[Agency Intercept] Agency foun
1d | ".concat(e)),j.Z.set("eig_UrlAgency",e))}if(!g.current&&(null===(t=document)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.search)&&!d){let e=new RegExp(/^[\w\s-]+$/),t=new URLSearchParams(document.location.search),s=t.get("campsrc"),r=new Date;if(s&&s.match(e)&&f()){g.current=!0;let e=j.Z.get("campsrc"),o=("0"+r.getDate()).slice(-2),c=("0"+(r.getMonth()+1)).slice(-2),d=r.getFullYear(),u=r.getHours(),m=("0"+r.getMinutes()).slice(-2),v=r.getHours()>=12?"PM":"AM",h=("0"+(r.getHours()>=12?u-12:u)).slice(-2),p="".concat(c,"/").concat(o,"/").concat(d," ").concat(h,":").concat(m," ").concat(v),x="1|".concat(s,"|").concat(p),f=new Date;if(f=new Date(f.setMonth(f.getMonth()+6)),!(null==e?void 0:e.startsWith("1|".concat(s,"|")))){j.Z.set("campsrc",x,{expires:f});let e={campsrc:s,timestamp:p,utm_source:null!==(a=t.get("utm_source"))&&void 0!==a?a:"",utm_medium:null!==(l=t.get("utm_medium"))&&void 0!==l?l:"",utm_campaign:null!==(n=t.get("utm_campaign"))&&void 0!==n?n:"",utm_term:null!==(i=t.get("utm_term"))&&void 0!==i?i:""};console.log("Campaign Identified",e),b.c.event(b.a.CAMPAIGN_IDENTIFIED,e)}}}}),(o.optInRequired||o.loading)&&!d?o.loading?(0,l.jsx)(l.Fragment,{}):(0,l.jsx)(_.default,{}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(N.default,{}),(0,l.jsx)(v,{}),(0,l.jsxs)("div",{className:"".concat(u," ").concat(m),children:[(0,l.jsx)("header",{children:(0,l.jsx)("div",{id:"header",children:c&&(0,l.jsx)(i.V,{name:"headless-header",rendering:c})})}),(0,l.jsx)("main",{id:"main-content",tabIndex:-1,children:(0,l.jsx)(x.pm,{reCaptchaKey:A||"",children:(0,l.jsx)("div",{id:"content",children:c&&(0,l.jsx)(i.V,{name:"headless-main",rendering:c})})})}),(0,l.jsx)("section",{"aria-label":"Footnotes",children:(0,l.jsx)("div",{id:"footnotes",children:c&&(0,l.jsx)(i.V,{name:"headless-footnotes",rendering:c})})}),(0,l.jsx)("footer",{children:(0,l.jsx)("div",{id:"footer",children:c&&(0,l.jsx)(i.V,{name:"headless-footer",rendering:c})})})]})]})}},9870:function(e,t,a){"use strict";var l=a(5893),n=a(9008),i=a.n(n);t.Z=()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i(),{children:(0,l.jsx)("title",{children:"404: NotFound"})}),(0,l.jsx)("div",{className:"not-found",children:(0,l.jsx)("div",{className:"component-frame",children:(0,l.jsxs)("section",{className:"section-frame",children:[(0,l.jsxs)("h1",{children:["Sorry, looks like",(0,l.jsx)("br",{})," something went wrong."]}),(0,l.jsx)("p",{children:"We're having trouble finding the page you were looking for. Let's try to get you where you need to be."}),(0,l.jsx)("a",{className:"btn btn-primary arrow",href:"/",children:"Go to homepage"}),(0,l.jsx)("a",{className:"btn btn-secondary arrow",href:"/",children:"Browse help & support"})]})})})]})},3369:function(e,t,a){"use strict";a.d(t,{Z:function(){return o}});var l=a(4351);a(7708);var n=a(5152),i=a.n(n),s=a(1863);l.Xq(s.D);let r=i()(()=>a.e(68).then(a.bind(a,9068)),{loadableGenerated:{webpack:()=>[9068]},ssr:!1});l.v4(i(),r);var o=l.cd},2194:function(e,t,a){"use strict";a.r(t);var l=a(5893),n=a(7294),i=a(1163);t.default=()=>{let e=(0,n.useRef)(!1),t=(0,i.useRouter)();(0,n.useEffect)(()=>{e.current=!1;let t=()=>{e.current=!0,l()},a=e=>{if("Tab"===e.key){let a=document.querySelector(".skip-link");a&&(e.preventDefault(),a.focus()),t()}},l=()=>{document.removeEventListener("keydown",a),document.removeEventListener("click",t)};return document.addEventListener("keydown",a),document.addEventListener("click",t),l},[t.asPath]);let a=(0,n.useCallback)(e=>{e.preventDefault();let t=document.getElementById("main-content");t&&(t.focus(),t.scrollIntoView())},[]);return(0,l.jsx)("a",{className:"skip-link",href:"#main-content",tabIndex:0,onClick:a,children:"Skip to main content"})}},3338:function(e,t,a){"use strict";a.r(t);var l=a(5893),n=a(2862),i=a(2796),s=a(7294),r=a(4189);t.default=()=>{let{sitecoreContext:{pageState:e,route:t}}=(0,n.z)();return(0,s.useEffect)(()=>{e===i.LayoutServicePageState.Normal&&(null==t?void 0:t.itemId)&&window.addEventListener("error",e=>{r.c.event(r.a.PAGE_ERROR,{page:t.name,error_message:e.message})})},[e,t]),(0,l.jsx)(l.Fragment,{})}},2311:function(e,t,a){"use strict";a.r(t);var l=a(5893),n=a(2862),i=a(2796),s=a(7294),r=a(4189);t.default=()=>{let{sitecoreContext:{pageState:e,route:t}}=(0,n.z)();return(0,s.useEffect)(()=>{e===i.LayoutServicePageState.Normal&&(null==t?void 0:t.itemId)&&window.addEventListener("click",e=>{var a,l,n,i,s;let o=e.target;
1if(o&&(null==o?void 0:null===(a=o.tagName)||void 0===a?void 0:a.toLowerCase())==="a"){let e=null==o?void 0:null===(n=o.attributes)||void 0===n?void 0:null===(l=n.getNamedItem("href"))||void 0===l?void 0:l.value;if(e&&"#"!==e){let a=null==o?void 0:null===(s=o.attributes)||void 0===s?void 0:null===(i=s.getNamedItem("class"))||void 0===i?void 0:i.value,l=null==o?void 0:o.textContent;r.c.event(r.a.LINK,{page:t.name,link_target:e,link_text:l,link_class:a})}}})},[e,t]),(0,l.jsx)(l.Fragment,{})}},7455:function(e,t,a){"use strict";a.r(t);var l=a(5893),n=a(2862),i=a(2796),s=a(7294),r=a(4189);t.default=()=>{let{sitecoreContext:{pageState:e,route:t}}=(0,n.z)(),a=[90,75,50,25],o=[];return(0,s.useEffect)(()=>{e===i.LayoutServicePageState.Normal&&(null==t?void 0:t.itemId)&&"undefined"!=typeof document&&window.addEventListener("scroll",()=>{let e=document.documentElement.scrollHeight,l=window.scrollY,n=window.innerHeight,i=parseInt(((n+l)/e*100).toString());for(let s=0;s<a.length;s++){let c=a[s];if(i>c&&!o.includes(c)){console.log("Scroll event",{percentScroll:i,threshold:c,pageHeight:e,scrollOffset:l,screenHeight:n}),r.c.event(r.a.PAGE_SCROLL,{page:t.name,percent_scrolled:c}),o.push(c);break}}})},[e,t]),(0,l.jsx)(l.Fragment,{})}},6479:function(e,t,a){"use strict";a.r(t);var l,n=a(5893),i=a(1955),s=a(1163),r=a(7294),o=a(3122),c=a(1141);let d=a.n(c)().publicUrl,u=null!==(l=".scalerthree.net,.fonts.googleapis.com,.erieinsurance.com".split(",").map(e=>e.trim()).filter(Boolean))&&void 0!==l?l:[],m={width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",minHeight:"100vh",alignItems:"center",margin:"0 auto"},v={backgroundColor:"white",padding:"2rem",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",maxWidth:"800px",borderRadius:"2rem",textAlign:"center",rowGap:"16px"},h={marginTop:"16px"};t.default=e=>{let t=(0,s.useRouter)(),a=r.useRef(null),l=r.useRef(null),c=(0,o.I)(),p=t.query["v-reg"],x=Array.isArray(p)?p[0]:p,g="".concat(d,"/ERIETwoColor_lrg.png").concat(x?"?v-reg=".concat(encodeURIComponent(x)):""),[f,j]=r.useState(!0);return r.useEffect(()=>{Object.keys(i.Z.get()).forEach(e=>{i.Z.remove(e,{path:"/"}),u.forEach(t=>{i.Z.remove(e,{path:"/",domain:t})})})},[]),(0,n.jsx)("div",{className:"trace-opt-in__container component-frame",style:m,children:f?(0,n.jsxs)("div",{className:"trace-opt-in__paper",style:v,children:[(0,n.jsx)("img",{src:g,width:150}),(0,n.jsx)("h2",{style:h,children:"Please review before proceeding."}),(0,n.jsxs)("section",{style:{margin:"0 0 4px 0",textAlign:"left"},children:[(0,n.jsx)("p",{children:'Before accessing this website, please note that we use cookies and similar tracking technologies to operate the site, improve functionality, analyze website traffic, and support our marketing activities. By selecting "Accept and Continue," you consent to our use of these technologies and the collection and use of information as described in our Privacy Policy and Cookie Notice, which are available within the website.'}),(0,n.jsx)("p",{children:'If you do not consent to the use of cookies and tracking technologies, please select "Decline".'})]}),(0,n.jsx)("button",{className:"trace-opt-in__submit btn btn-secondary",ref:a,onClick:t=>{var a;t.currentTarget.disabled=!0,l.current&&(l.current.disabled=!0),i.Z.set("ei_t_acc_reg","".concat(c.region)),i.Z.set("ei_t_acc_".concat(c.region),new Date().toISOString()),c.acceptTraceabilityTerms(),null===(a=e.callback)||void 0===a||a.call(e)},style:{width:"250px",margin:"0"},children:"Accept and Continue"}),(0,n.jsx)("button",{className:"trace-opt-in__decline btn btn-secondary",ref:l,onClick:()=>{j(!1)},style:{width:"250px",margin:"0"},children:"Decline"})]}):(0,n.jsxs)("div",{className:"trace-opt-in__paper",style:v,children:[(0,n.jsx)("img",{src:g,width:150}),(0,n.jsx)("h2",{style:h,children:"You have declined."}),(0,n.jsx)("section",{style:{margin:"0 0 4px 0",textAlign:"left"},children:"You have declined consent to the use of cookies and tracking technologies required for access to this website.  Please use your browser to navigate to another website or close this window."})]})})}},3358:function(e,t,a){"use strict";a.r(t),t.default=function(e){if("undefined"!=typeof document){var t,a,l,n,i,s;t=window,a=document,l="script",t[n="feedbackLayer"]=t[n]||[],i=a.getElementsByTagName(l)[0],(s=a.createElement(l)).async=!0,s.id="cf-program-"+e,s.src="https://digitalfeedback.us.confirmit.com/api/digitalfeedback/loader?programKey="+e,i.parentNode.insertBefore(s,i)}}},612:function(e,t,a){"use strict";a.r(t);var l=a(3122);t.default=function(){var e,t,a,n,i,s;return!!("undefined"!=typeof document&&(0,l.y)())&&(e=window,t=document,a="script",e[n="dataLayer"]=e[n]||[],e[n].push({"gtm.start":new Date().getTime(),event:"gtm.js"}),i=t.getElementsByTagName(a)[0],(s=t.createElement(a)).async=!0,s.src="//www.googletagmanager.com/gtm.js?id=GTM-W829W9",i.parentNode.insertBefore(s,i),!0)}},1025:function(e,t,a){"use strict";a.r(t);var l=a(5893),n=a(2862),i=a(2796),s=a(3151),r=a(7294),o=a(1141),c=a.n(o),d=a(1863);t.default=()=>{let{sitecoreContext:{pageState:e,route:t,variantId:a,site:o}}=(0,n.z)(),u=()=>!1;return(0,r.useEffect)(()=>
1{if(e!==i.LayoutServicePageState.Normal||!(null==t?void 0:t.itemId)||u())return;let l=t.itemLanguage||c().defaultLanguage,n=s.sn.getPageVariantId(t.itemId,l,a,"");d.D.getSDK("Events").then(e=>e.pageView({channel:"WEB",currency:"USD",page:t.name,pageVariantId:n,language:l})).catch(e=>console.debug(e))},[e,t,a,o]),(0,l.jsx)(l.Fragment,{})}},9757:function(e,t,a){"use strict";a.r(t);var l=a(5893),n=a(5675),i=a.n(n),s=a(4351),r=a(883),o=a.n(r);t.default=()=>{let e=e=>e.replace(".","\\.").replace(/\*/g,".*"),t=t=>{if(t.startsWith("http")){var a,l;let n=new URL(t),i=(null===(a=o()().images)||void 0===a?void 0:a.domains)||[],s=(null===(l=o()().images)||void 0===l?void 0:l.remotePatterns)||[];return i.some(e=>n.hostname===e)||s.some(t=>t.protocol===n.protocol.slice(0,-1)&&RegExp("^"+e(t.hostname)+"$").test(n.hostname))}return!0};return s.he("img",e=>{let{children:a,src:n,alt:s,...r}=e;return(0,l.jsx)(i(),{height:1920,width:1200,unoptimized:!t(n),src:n,alt:s,...r})}),(0,l.jsx)(l.Fragment,{})}},7122:function(e,t,a){"use strict";a.d(t,{Y:function(){return l}});let l={getOpenStatus:e=>{if(!(null==e?void 0:e.startsWith("{")))return{status:"Hours Unknown",closingTime:""};let t=[];try{t=JSON.parse(e).HoursOfOperation||[]}catch(e){return{status:"Hours Unknown",closingTime:""}}let a=new Date().toLocaleString("en-US",{weekday:"long"}),l=new Date,n=60*l.getHours()+l.getMinutes(),i=t.find(e=>e.DayName===a);if(!i||"Closed"===i.StartTime||!i.EndTime)return{status:"Closed Now",closingTime:""};let s=e=>{let[t,a]=e.split(" "),[l,n]=t.split(":").map(Number),i=l;return"p.m."===a&&l<12?i+=12:"a.m."===a&&12===l&&(i=0),60*i+(n||0)},r=s(i.StartTime),o=s(i.EndTime);return n>=r&&n<o?{status:"Open Now",closingTime:i.EndTime}:{status:"Closed Now",closingTime:i.EndTime}},formatPhoneNumber:e=>{let t=(""+e).replace(/\D/g,"").match(/^(1)?(\d{3})(\d{3})(\d{4})$/);return t?"(".concat(t[2],") ").concat(t[3]," - ").concat(t[4]):e},agencyDetailsQuoteUrl:e=>{var t;return"/agencies/".concat(null==e?void 0:null===(t=e.AgencyAccountNumber)||void 0===t?void 0:t.toLowerCase(),"/").concat(null==e?void 0:e.AgencyName.replace(/ /g,"-").toLowerCase(),"#quote-form")},agencyDetailsUrl:e=>{var t;return"/agencies/".concat(null==e?void 0:null===(t=e.AgencyAccountNumber)||void 0===t?void 0:t.toLowerCase(),"/").concat(null==e?void 0:e.AgencyName.replace(/ /g,"-").toLowerCase())}}},4189:function(e,t,a){"use strict";a.d(t,{c:function(){return c},a:function(){return n}});var l,n,i=a(1863),s=a(1141),r=a.n(s);class o{async getGuestId(){return await i.D.getSDK("Events").then(e=>e.getGuestId()).catch(e=>console.debug(e))}async getBrowserId(){return await i.D.getSDK("Events").then(e=>e.getBrowserId()).catch(e=>console.debug(e))}event(e,t){i.D.getSDK("Events").then(a=>a.event({type:e,pos:"".concat(r().cdpPointOfSale),channel:"WEB",extensionData:{...t}})).catch(e=>console.debug(e))}view(e){return i.D.getSDK("Events").then(t=>{t.pageView(e)})}identify(e){i.D.getSDK("Events").then(t=>t.identity({email:e,identifiers:[{id:e,provider:"WEB"}],channel:"WEB",extensionData:{}})).catch(e=>console.debug(e))}async getGuestGeoData(){let e=await this.getCurrentGuestData();if(e&&e.sessions&&e.sessions.length>0){for(let t=0;t<e.sessions.length;t++)if(e.sessions[t]){if("WEB"!==e.sessions[t].sessionType)continue;if(e.sessions[t].dataExtensions){for(let a=0;a<e.sessions[t].dataExtensions.length;a++)if(e.sessions[t].dataExtensions[a].key&&"bxt"===e.sessions[t].dataExtensions[a].key&&e.sessions[t].dataExtensions[a].values)return e.sessions[t].dataExtensions[a].values}}}return null}constructor(){this.getCurrentGuestData=async()=>{let e;if(await i.D.getSDK("Events").then(t=>t.getGuestId().then(t=>e=t)).catch(e=>console.debug(e)),void 0===e)return{};let t=await window.fetch("https://api-us.boxever.com/v2/guestContexts/".concat(e,"?expand=items.sessions(offset%3A0%2Climit%3A200)&expand=items.events(offset%3A0%2Climit%3A10000)&source=all&timeout=30000"),{headers:{Accept:"application/json",Authorization:"Basic "+btoa("".concat(r().cdpClientKey,":").concat(r().cdpApiToken))}});return await t.json()}}}let c=new o;(l=n||(n={})).QUOTE_STARTED="QUOTE_STARTED",l.ACCORDION_OPENED="ACCORDION_OPENED",l.AGENCY_SAVED="AGENCY_SAVED",l.AGENCY_VIEWED="AGENCY_VIEWED",l.GLOBAL_SEARCH="GLOBAL_SEARCH",l.GLOBAL_SEARCH_CLICK="GLOBAL_SEARCH_CLICK",l.FIND_AN_AGENT="FIND_AN_AGENT",l.VIDEO="VIDEO",l.RESOURCE_SEARCH="RESOURCE_SEARCH",l.RESOURCE_SEARCH_CLICK="RESOURCE_SEARCH_CLICK",l.NEWSLETTER_SIGNUP="NEWSLETTER_SIGNUP",l.FORM_
1SUBMISSION="FORM_SUBMISSION",l.QUOTE_MODAL_OPEN="QUOTE_MODAL_OPEN",l.QUOTE_MODAL_CLOSED="QUOTE_MODAL_CLOSED",l.QUOTE_MODAL_SEARCH="QUOTE_MODAL_SEARCH",l.QUOTE_MODAL_SELECTED_AGENCY="QUOTE_MODAL_SELECTED_AGENCY",l.PAGE_SCROLL="PAGE_SCROLL",l.PAGE_ERROR="PAGE_ERROR",l.LINK="LINK",l.CAMPAIGN_IDENTIFIED="CAMPAIGN_IDENTIFIED"},4956:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{redirects:async()=>[...await e.redirects(),{source:"/blog/2013/how-named-storms-affect-your-insurance-coverage-2",destination:"/blog/how-named-storms-affect-your-insurance-coverage-2",permanent:!0},{source:"/nosearch/vendor-terms.pdf",destination:"https://edge.sitecorecloud.io/erieindemni8d2b-erieinsurandcab-prd6c2e-0c08/media/Files/SVM/vendor-terms.pdf",permanent:!0},{source:"/blog/10-commandments-candle-safety",destination:"/blog/candle-fire-safety-tips",permanent:!0},{source:"/blog/2013/how-named-storms-affect-your-insurance-coverage-2",destination:"/blog/how-named-storms-affect-your-insurance-coverage-2/",permanent:!0},{source:"/blog/2013/parking-lot-accidents",destination:"/blog/parking-lot-accidents",permanent:!0},{source:"/blog/2014/frozen-water-pipes-burst",destination:"/blog/frozen-water-pipe-prevention",permanent:!0},{source:"/blog/2014/winterizing-your-home-checklist",destination:"/blog/winterizing-your-home-checklist",permanent:!0},{source:"/blog/2015/snow-tire-1",destination:"/blog/all-about-snow-tires",permanent:!0},{source:"/blog/2015/snow-tire-2",destination:"/blog/all-about-snow-tires",permanent:!0},{source:"/blog/2015/snow-tire-3",destination:"/blog/all-about-snow-tires",permanent:!0},{source:"/blog/2015/snow-tire-4",destination:"/blog/all-about-snow-tires",permanent:!0},{source:"/blog/2015/snow-tire-5",destination:"/blog/all-about-snow-tires",permanent:!0},{source:"/blog/9-reasons-car-wont-start",destination:"/blog/7-reasons-car-wont-start",permanent:!0},{source:"/blog/auto-insurance-rates-2022",destination:"/blog/auto-insurance-rates",permanent:!0},{source:"/blog/back-up-data-cybersecurity",destination:"/blog/protect-business-data-now",permanent:!0},{source:"/blog/black-ice-commonly-found",destination:"/blog/black-ice-formed",permanent:!0},{source:"/blog/black-ice-defensive-driving",destination:"/blog/black-ice-formed",permanent:!0},{source:"/blog/black-ice-skid",destination:"/blog/black-ice-formed",permanent:!0},{source:"/blog/buy-life-insurance-for-parents",destination:"/blog/can-you-buy-parents-life-insurance",permanent:!0},{source:"/blog/d/9/1/7/a/yard-recover-from-winter",destination:"/blog/home-recover-from-winter",permanent:!0},{source:"/blog/distracted-driving-survey",destination:"/blog/auto-safety-features-2023",permanent:!0},{source:"/blog/first-time-trick-or-treating-alone",destination:"/blog/teen-safety-halloween",permanent:!0},{source:"/blog/frozen-water-pipes-in-winter",destination:"/blog/frozen-water-pipe-prevention",permanent:!0},{source:"/blog/halloween-safety-pumpkin-carving-time",destination:"/blog/pumpkin-carving-safety-tips",permanent:!0},{source:"/blog/hidden-risk",destination:"/blog/service-line-coverage",permanent:!0},{source:"/blog/insurance-short-term-rentals",destination:"/blog/short-term-rental-insurance",permanent:!0},{source:"/blog/jdpower-2018",destination:"/awards",permanent:!0},{source:"/blog/know-im-driving-on-black-ice",destination:"/blog/black-ice-formed",permanent:!0},{source:"/blog/prepping-the-inside-of-your-home-for-winter",destination:"/blog/winterizing-your-home-checklist",permanent:!0},{source:"/blog/prepping-the-outside-of-your-home-for-winter",destination:"/blog/winterizing-your-home-checklist",permanent:!0},{source:"/blog/prevent-pipes-from-freezing",destination:"/blog/frozen-water-pipe-prevention",permanent:!0},{source:"/blog/protect-pipes-long-term",destination:"/blog/frozen-water-pipe-prevention",permanent:!0},{source:"/blog/signs-a-pipe-is-frozen",destination:"/blog/frozen-water-pipe-prevention",permanent:!0},{source:"/blog/snow-and-ice-off-your-car",destination:"/blog/cleaning-off-snow",permanent:!0},{source:"/homeinventory",destination:"https://edge.sitecorecloud.io/erieindemni8d2b-erieinsurandcab-prd6c2e-0c08/media/Files/Blog/House-Inventory_Erie-Insurance.pdf",permanent:!0}]})}},4474:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{webpack:(t,a)=>(a.isServer||t.module.rules.unshift({test:/src\\components\\.*\.tsx$/,use:["@sitecore-jss\\sitecore-jss-dev-tools\\nextjs-component-props-loader"]}),"function"==typeof e.webpack)?e.webpack(t,a):t})}},5953:function(e,t,a){"use strict";let l=a(1141);e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l.sitecoreApiHost?Object.assign({},e,{async headers(){let t="function"==typeof e.headers?await e.headers():[];return[...await t,{source:"/_next/:path*",headers:[{key:"Access-Control-Allow-Origin",value:l.sitecoreApiHost.replace(/\/$/,"")}]},{source:"/api/:path*",headers:[{key:"Access-Control-Allow-Origin",value:l.sitecoreApiHost.replace(/\/$/,"")}]}]}}):e}},6922:function(e,t,a){"use strict";var l=a(3454);e.exports=function(){var e,t;let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(null===(e=l.env.DEBUGGER_MODE)||void 0===e?void 0:e.toLowerCase())==="true";n&&console.log("api-rewrites: adding Datacenter App rewrites");let i=!!l.env.REQUIRE_TRAILING_SLASH&&(null===(t=l.env.REQUIRE_TRAILING_SLASH)||void 0===t?void 0:t.toLowerCase())!="false";return n&&console.log("api-rewrites: adding trailingSlash",i),Object.assign({},a,{trailingSlash:i,rewrites:async()=>[...await a.rewrites(),{source:"/Account",destination:"/api/datacenter-app-rewrite?appUrl=/Account/"},{source:"/Account/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/Account/:path*"},{source:"/BillingCenterWeb",destination:"/api/datacenter-app-rewrite?appUrl=/BillingCenterWeb/"},{source:"/BillingCenterWeb/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/BillingCenterWeb/:path*"},{source:"/AgentLocatorWeb",destination:"/api/datacenter-app-rewrite?appUrl=/AgentLocatorWeb/"},{source:"/AgentLocatorWeb/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/AgentLocatorWeb/:path*"},{source:"/ClaimCenterWeb",destination:"/api/datacenter-app-rewrite?appUrl=/ClaimCenterWeb/"},{source:"/ClaimCenterWeb/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/ClaimCenterWeb/:path*"},{source:"/FlexibleOnlineQuote",destination:"/api/external-app-rewrite?appUrl=/FlexibleOnlineQuote/"},{source:"/FlexibleOnlineQuote/:path*",destination:"/api/external-app-rewrite?appUrl=/FlexibleOnlineQuote/:path*"},{source:"/customerportal",destination:"/api/external-app-rewrite?appUrl=/customerportal/"}
1,{source:"/customerportal/:path*",destination:"/api/external-app-rewrite?appUrl=/customerportal/:path*"},{source:"/OnlineQuote",destination:"/api/datacenter-app-rewrite?appUrl=/OnlineQuote/"},{source:"/OnlineQuote/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/OnlineQuote/:path*"},{source:"/CoordinatorWeb",destination:"/api/datacenter-app-rewrite?appUrl=/CoordinatorWeb/"},{source:"/CoordinatorWeb/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/CoordinatorWeb/:path*"},{source:"/customer",destination:"/api/datacenter-app-rewrite?appUrl=/customer/"},{source:"/customer/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/customer/:path*"},{source:"/DocumentListWeb",destination:"/api/datacenter-app-rewrite?appUrl=/DocumentListWeb/"},{source:"/DocumentListWeb/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/DocumentListWeb/:path*"},{source:"/GeoSearch",destination:"/api/datacenter-app-rewrite?appUrl=/GeoSearch/"},{source:"/GeoSearch/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/GeoSearch/:path*"},{source:"/OnlineQuoteWeb",destination:"/api/datacenter-app-rewrite?appUrl=/OnlineQuoteWeb/"},{source:"/OnlineQuoteWeb/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/OnlineQuoteWeb/:path*"},{source:"/PaymentCenterWeb",destination:"/api/datacenter-app-rewrite?appUrl=/PaymentCenterWeb/BillPay"},{source:"/PaymentCenterWeb/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/PaymentCenterWeb/:path*"},{source:"/WebAssets",destination:"/api/datacenter-app-rewrite?appUrl=/WebAssets"},{source:"/WebAssets/:path*",destination:"/api/datacenter-app-rewrite?appUrl=/WebAssets/:path*"}]})}},1844:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{rewrites:async()=>[...await e.rewrites(),{source:"/feaas-render",destination:"/api/editing/feaas/render"}],webpack:(t,a)=>(a.isServer&&(t.externals=[{"@sitecore-feaas/clientside/react":"commonjs @sitecore-feaas/clientside/react","@sitecore/byoc":"commonjs @sitecore/byoc","@sitecore/byoc/react":"commonjs @sitecore/byoc/react"},...t.externals]),"function"==typeof e.webpack)?e.webpack(t,a):t})}},9440:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{webpack:(t,a)=>(t.module.rules.push({test:/\.graphql$/,exclude:/node_modules/,use:[a.defaultLoaders.babel,{loader:"graphql-let/loader"}]}),t.module.rules.push({test:/\.graphqls$/,exclude:/node_modules/,use:["graphql-let/schema/loader"]}),t.module.rules.push({test:/\.ya?ml$/,type:"json",use:"yaml-loader"}),"function"==typeof e.webpack)?e.webpack(t,a):t})}},4371:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{rewrites:async()=>[...await e.rewrites(),{source:"/robots.txt",destination:"/api/robots"}]})}},2942:function(e,t,a){"use strict";let l=a(985),n=a(1627);e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{sassOptions:{importer:new n({"@sass":l.join("/","../../../assets","sass"),"@fontawesome":l.join("/","../../../../node_modules","font-awesome")}).getImporter()}})}},617:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{rewrites:async()=>[...await e.rewrites(),{source:"/sitemap:id([\\w-]{0,}).xml",destination:"/api/sitemap"}]})}},1881:function(e,t,a){"use strict";a.r(t),a.d(t,{ApiDataContext:function(){return x},__N_SSG:function(){return p}});var l=a(5893),n=a(7294),i=a(9870),s=a(7251),r=a(8205),o=a(1201),c=a(5169),d=a(525),u=a(7122),m=a(6665),v=a(4189),h=a(1163),p=!0;let x=(0,n.createContext)({}),g=async e=>{try{var t,a,l;let n=await fetch("/api/agencydetail?accountnumber=".concat(e),{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});if(!n.ok)throw Error("Failed to fetch agency details");let i=await n.json();return null==i?void 0:null===(l=i.AgencyByAgencyIdResponse)||void 0===l?void 0:null===(a=l.GetAgencyByAgencyIdResult)||void 0===a?void 0:null===(t=a._x003C_AgentInformation_x003
1E_k__BackingField)||void 0===t?void 0:t.AgentInformation}catch(e){console.error("Error fetching agency: "+e)}},f=async e=>{try{var t,a;let l=await fetch("/api/statescities",{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});l.ok||console.error("Failed to fetch statescities");let n=await l.json();return(null==n?void 0:null===(a=n.AgencyStatesAndCitiesResponse)||void 0===a?void 0:null===(t=a.GetAgencyStatesAndCitiesResult)||void 0===t?void 0:t.KeyValueOfstringArrayOfstringty7Ep6D1).find(t=>t.Key.toLowerCase()===e)}catch(e){console.error("ListOfStates",e)}return{}},j=async(e,t)=>{let a="/api/agentsbystatescities?state=".concat(e,"&city=").concat(t);try{var l,n,i,s,r,o,c,d;let e=await fetch(a,{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});e.ok||console.error("Failed to fetch statescities");let t=await e.json();if(null==t?void 0:null===(n=t.AgenciesByCityAndStateResponse)||void 0===n?void 0:null===(l=n.GetAgenciesByCityAndStateResult)||void 0===l?void 0:l._x003C_AgentSearchError_x003E_k__BackingField)return{error:null==t?void 0:null===(d=t.AgenciesByCityAndStateResponse)||void 0===d?void 0:null===(c=d.GetAgenciesByCityAndStateResult)||void 0===c?void 0:null===(o=c._x003C_AgentSearchError_x003E_k__BackingField)||void 0===o?void 0:o.Message};return null==t?void 0:null===(r=t.AgenciesByCityAndStateResponse)||void 0===r?void 0:null===(s=r.GetAgenciesByCityAndStateResult)||void 0===s?void 0:null===(i=s._x003C_AgentInformation_x003E_k__BackingField)||void 0===i?void 0:i.AgentInformation}catch(e){console.error("fetchCityAgenciesData",e)}return{}};t.default=e=>{let{notFound:t,componentProps:a,layoutData:p,headLinks:b,apiRouteData:y}
1=e,[N,_]=(0,n.useState)({}),C=(0,h.useRouter)();if((0,n.useEffect)(()=>{if((0,c.Q4)(),(null==y?void 0:y.agencyCode)&&!/^[a-zA-Z]{2}\d{4}$/.test(null==y?void 0:y.agencyCode)||(null==y?void 0:y.state)&&!/^[a-zA-Z]{2}$/i.test(null==y?void 0:y.state)){C.push("/find-an-agent".concat(window.location.search));return}(null==y?void 0:y.agencyCode)&&(!(null==N?void 0:N.agencyDetails)||(null==y?void 0:y.agencyCode)!==N.agencyCode)&&g(null==y?void 0:y.agencyCode).then(e=>{if(!e){let e=window.location.search;C.push("/find-an-agent".concat(e));return}let t=u.Y.agencyDetailsUrl(e),a=t+window.location.search;if(t!==location.pathname&&history.replaceState(null,"",a),_({...N,agencyCode:null==y?void 0:y.agencyCode,agencyDetails:e}),null==e?void 0:e.AgencyAccountNumber){var l;m._K.set(m.mJ.viewingAgency,{AgencyAccountNumber:null!==(l=null==e?void 0:e.AgencyAccountNumber)&&void 0!==l?l:""})}v.c.event(v.a.AGENCY_VIEWED,{agency_id:null==e?void 0:e.AgencyAccountNumber,agency_name:null==e?void 0:e.AgencyName})}),(null==y?void 0:y.city)&&(!N.agencies||(null==y?void 0:y.city)!==N.city)?j(null==y?void 0:y.state,null==y?void 0:y.city).then(e=>{_({...N,city:null==y?void 0:y.city,agencies:e})}):(null==y?void 0:y.state)&&(!N.cities||(null==y?void 0:y.state)!==N.state)&&f(null==y?void 0:y.state).then(e=>{_({...N,state:null==y?void 0:y.state,cities:e})})},[y]),console.log("SitecorePage apiData",N),console.log("SitecorePage apiRouteData",y),t||!p.sitecore.route)return(0,l.jsx)(i.Z,{});let w=p.sitecore.context.pageEditing;return(0,l.jsx)(x.Provider,{value:N||{},children:(0,l.jsx)(r.T5,{value:a,children:(0,l.jsx)(o.Qb,{componentFactory:d.w9.getComponentFactory({isEditing:w}),layoutData:p,children:(0,l.jsx)(s.Z,{layoutData:p,headLinks:b})})})})}},3178:function(e){"use strict";let t={};t.defaultSearchRadius=100,t.defaultMinimumResults=0,t.defaultQuoteSlaIndicator=!1,e.exports=t},2914:function(e,t,a){"use strict";a.d(t,{F:function(){return l},o:function(){return i}});let l={isLoggedIn:!1,email:"",account:"",accountAuth:""};async function n(){try{let e=await fetch("/api/userprofile",{method:"GET"}),t=await e.json();return{isLoggedIn:t.isLoggedIn,email:t.email,account:t.account,accountAuth:t.accountAuth}}catch(e){console.error(e)}return{isLoggedIn:!1,email:"",account:"",accountAuth:""}}let i=async()=>await n()},525:function(e,t,a){"use strict";a.d(t,{w9:function(){return r2}});var l,n,i,s,r,o,c,d,u={};a.r(u),a.d(u,{BaseContentComponent:function(){return tB}});var m={};a.r(m),a.d(m,{default:function(){return tH}});var v={};a.r(v),a.d(v,{default:function(){return ao}});var h={};a.r(h),a.d(h,{NoPrefetchJssLink:function(){return ad}});var p={};a.r(p),a.d(p,{ApplicationLink:function(){return au}});var x={};a.r(x),a.d(x,{Default:function(){return ax},PressReleaseHeader:function(){return ag}});var g={};a.r(g),a.d(g,{default:function(){return ay}});var f={};a.r(f),a.d(f,{default:function(){return aC}});var j={};a.r(j),a.d(j,{default:function(){return aD}});var b={};a.r(b),a.d(b,{default:function(){return aT}});var y={};a.r(y),a.d(y,{Default:function(){return aM}});var N={};a.r(N),a.d(N,{PlainText:function(){return aU},ThreeColumn:function(){return aW},default:function(){return aG}});var _={};a.r(_),a.d(_,{ThreeColumn:function(){return aK},default:function(){return aY}});var C={};a.r(C),a.d(C,{Default:function(){return aX}});var w={};a.r(w),a.d(w,{default:function(){return a$}});var A={};a.r(A),a.d(A,{Default:function(){return a2}});var E={};a.r(E),a.d(E,{default:function(){return a9}});var S={};a.r(S),a.d(S,{FindAnAgentButton:function(){return lt}});var k={};a.r(k),a.d(k,{Default:function(){return la},default:function(){return ls}});var I={};a.r(I),a.d(I,{Default:function(){return lr}});var L={};a.r(L),a.d(L,{Default:function(){return ld}});var D={};a.r(D),a.d(D,{HeaderSearch:function(){return lu}});var F={};a.r(F),a.d(F,{default:function(){return lZ}});var T={};a.r(T),a.d(T,{default:function(){return lQ}});var B={};a.r(B),a.d(B,{ColorHero:function(){return lJ},HomepageHero:function(){return l3},ImageHero:function(){return l$},ImageHeroPlaceholder:function(){return l8},PromoHero:function(){return l1}});var P={};a.r(P),a.d(P,{Default:function(){return nt}});var H={};a.r(H),a.d(H,{default:function(){return nn}});var M={};
1a.r(M),a.d(M,{FeaturedProductCards:function(){return nx},IconCategories:function(){return nd},MultiColumnOverview:function(){return nm},ThreeColumnFeatures:function(){return nh},default:function(){return no}});var q={};a.r(q),a.d(q,{default:function(){return nf}});var R={};a.r(R),a.d(R,{Promotion:function(){return nC},WithIcons:function(){return nN},WithIconsContent:function(){return ny},default:function(){return nb}});var O={};a.r(O),a.d(O,{default:function(){return nE}});var V={};a.r(V),a.d(V,{default:function(){return nk}});var G={};a.r(G),a.d(G,{default:function(){return nI}});var U={};a.r(U),a.d(U,{default:function(){return nL}});var W={};a.r(W),a.d(W,{default:function(){return nD}});var Z={};a.r(Z),a.d(Z,{default:function(){return nF}});var z={};a.r(z),a.d(z,{default:function(){return nT}});var Q={};a.r(Q),a.d(Q,{Default:function(){return nB}});var Y={};a.r(Y),a.d(Y,{default:function(){return nM}});var K={};a.r(K),a.d(K,{default:function(){return nR}});var J={};a.r(J),a.d(J,{Loader:function(){return nU}});var X={};a.r(X),a.d(X,{DefaultAgentImage:function(){return nW}});var $={};a.r($),a.d($,{LanguageOptions:function(){return nZ}});var ee={};a.r(ee),a.d(ee,{ModalAgencySearch:function(){return nQ}});var et={};a.r(et),a.d(et,{FormFieldNames:function(){return r}});var ea={};a.r(ea),a.d(ea,{WebEditButtons:function(){return nY}});var el={};a.r(el),a.d(el,{FormHelpers:function(){return nK}});var en={};a.r(en),a.d(en,{SingleLineText:function(){return n0}});var ei={};a.r(ei),a.d(ei,{Dropdown:function(){return n1}});var es={};a.r(es),a.d(es,{SubsectionHeading:function(){return n2}});var er={};a.r(er),a.d(er,{TextArea:function(){return n3}});var eo={};a.r(eo),a.d(eo,{MultiTextInput:function(){return n4}});var ec={};a.r(ec),a.d(ec,{ContactPreference:function(){return n7},useContactPreference:function(){return n6}});var ed={};a.r(ed),a.d(ed,{Checkbox:function(){return n8}});var eu={};a.r(eu),a.d(eu,{HiddenField:function(){return ie}});var em={};a.r(em),a.d(em,{RadioButton:function(){return it}});var ev={};a.r(ev),a.d(ev,{RadioButtonList:function(){return ia}});var eh={};a.r(eh),a.d(eh,{EmailSelector:function(){return il}});var ep={};a.r(ep),a.d(ep,{SubPanelSelector:function(){return ii}});var ex={};a.r(ex),a.d(ex,{SubPanel:function(){return is}});var eg={};a.r(eg),a.d(eg,{CheckboxList:function(){return ir}});var ef={};a.r(ef),a.d(ef,{MultiSelectDropdown:function(){return ic}});var ej={};a.r(ej),a.d(ej,{FormFieldTypeFactory:function(){return id},FormFieldTypeNames:function(){return o}});var eb={};a.r(eb),a.d(eb,{default:function(){return ib}});var ey={};a.r(ey),a.d(ey,{ModalInsuranceQuoteForm:function(){return iC}});var eN={};a.r(eN),a.d(eN,{getAgencyDetailsByAgencyAccNumber:function(){return iw}});var e_={};a.r(e_),a.d(e_,{ModalFormSuccess:function(){return iE}});var eC={};a.r(eC),a.d(eC,{default:function(){return iL}});var ew={};a.r(ew),a.d(ew,{HomepageHero:function(){return iP},default:function(){return iT}});var eA={};a.r(eA),a.d(eA,{Default:function(){return iH}});var eE={};a.r(eE),a.d(eE,{default:function(){return iq}});var eS={};a.r(eS),a.d(eS,{Default:function(){return iO}});var ek={};a.r(ek),a.d(ek,{default:function(){return iZ}});var eI={};a.r(eI),a.d(eI,{default:function(){return iY}});var eL={};a.r(eL),a.d(eL,{HeaderIcons:function(){return iX},QuickLinks:function(){return iK},SocialIcons:function(){return iJ}});var eD={};a.r(eD),a.d(eD,{default:function(){return i1}});var eF={};a.r(eF),a.d(eF,{default:function(){return i3}});var eT={};a.r(eT),a.d(eT,{Default:function(){return i4}});var eB={};a.r(eB),a.d(eB,{Default:function(){return i6}});var eP={};a.r(eP),a.d(eP,{Default:function(){return i8}});var eH={};a.r(eH),a.d(eH,{default:function(){return st}});var eM={};a.r(eM),a.d(eM,{default:function(){return sl}});var eq={};a.r(eq),a.d(eq,{default:function(){return ss}});var eR={};a.r(eR),a.d(eR,{Default:function(){return sr}});var eO={};a.r(eO),a.d(eO,{Default:function(){return sc}});var eV={};a.r(eV),a.d(eV,{default:function(){return su}});var eG={};a.r(eG),a.d(eG,{default:function(){return sh}});var eU={};a.r(eU),a.d(eU,{default:function(){return sg}});var eW={};a.r(eW),a.d(eW,{AgentContactType:function(){return d},Default:function(){return sN},getContactInfo:function(){return sb},getSocialLink:function(){return sy}});var eZ={};a.r(eZ),a.d(eZ,{Default:function(){return sC}});var ez={};a.r(ez),a.d(ez,{Default:function(){return sF}});var eQ={};a.r(eQ),a.d(eQ,{WithPlaceholder:function(){return sq},default:function(){return sM}});var eY={};a.r(eY),a.d(eY,{default:function(){return sG}});var eK={};a.r(eK),a.d(eK,{default:function(){return sU}});var eJ={};a.r(eJ),a.d(eJ,{default:function(){return sZ}});var eX={};a.r(eX),a.d(eX,{Default:function(){return sJ}});var e$={};a.r(e$);var e0={};a.r(e0);var e1={};a.r(e1),a.d(e1,{AgencyDetail:function(){return s6}
1,BlueBackground:function(){return s9},Bundling:function(){return s4},default:function(){return s3}});var e2={};a.r(e2),a.d(e2,{default:function(){return s7}});var e3={};a.r(e3),a.d(e3,{default:function(){return s8}});var e4={};a.r(e4),a.d(e4,{Default:function(){return re}});var e5={};a.r(e5),a.d(e5,{Default:function(){return ra}});var e9={};a.r(e9),a.d(e9,{Default:function(){return rl}});var e6={};a.r(e6),a.d(e6,{Bundling:function(){return rs},Promo:function(){return ri}});var e7={};a.r(e7),a.d(e7,{Default:function(){return rr},default:function(){return ro}});var e8={};a.r(e8),a.d(e8,{Default:function(){return rd}});var te={};a.r(te),a.d(te,{Default:function(){return rm}});var tt={};a.r(tt),a.d(tt,{Default:function(){return rv}});var ta={};a.r(ta),a.d(ta,{Default:function(){return rp}});var tl={};a.r(tl),a.d(tl,{Default:function(){return rx},NoHeadline:function(){return rf},NoIconNoLabel:function(){return rg}});var tn={};a.r(tn),a.d(tn,{Default:function(){return rN}});var ti={};a.r(ti),a.d(ti,{Default:function(){return rw}});var ts={};a.r(ts),a.d(ts,{default:function(){return rA}});var tr={};a.r(tr),a.d(tr,{Default:function(){return rk}});var to={};a.r(to),a.d(to,{Default:function(){return rF}});var tc={};a.r(tc),a.d(tc,{Default:function(){return rT}});var td={};a.r(td),a.d(td,{Default:function(){return rP},WithText:function(){return rH}});var tu={};a.r(tu),a.d(tu,{Default:function(){return rM}});var tm={};a.r(tm),a.d(tm,{Default:function(){return rq}});var tv={};a.r(tv),a.d(tv,{Banner:function(){return rO},Default:function(){return rV}});var th={};a.r(th),a.d(th,{Default:function(){return rU}});var tp={};a.r(tp),a.d(tp,{Default:function(){return rW}});var tx={};a.r(tx),a.d(tx,{Default:function(){return rZ}});var tg={};a.r(tg),a.d(tg,{TableCell:function(){return rz}});var tf={};a.r(tf),a.d(tf,{TableRow:function(){return rQ}});var tj={};a.r(tj),a.d(tj,{TableSection:function(){return rY}});var tb={};a.r(tb),a.d(tb,{TableHeader:function(){return rK}});var ty={};a.r(ty),a.d(ty,{TableFooter:function(){return rJ}});var tN={};a.r(tN),a.d(tN,{TableElementFactory:function(){return rX}});var t_={};a.r(t_),a.d(t_,{default:function(){return r0}});var tC={};a.r(tC);var tw=a(7854),tA=a(3689),tE=a(5416),tS=a(5893),tk=a(7294),tI=a(1141),tL=a.n(tI),tD=a(6606),tF=a(7383),tT=a(1876);function tB(e){var t,a,l,n,i,s;let{ContentComponent:r,contentProps:o}=e,c=(null==o?void 0:null===(a=o.fields)||void 0===a?void 0:null===(t=a["Anchor Name"])||void 0===t?void 0:t.value)===""?void 0:null==o?void 0:null===(n=o.fields)||void 0===n?void 0:null===(l=n["Anchor Name"])||void 0===l?void 0:l.value,d=(null==o?void 0:null===(i=o.params)||void 0===i?void 0:i["Anchor Name"])===""?void 0:null==o?void 0:null===(s=o.params)||void 0===s?void 0:s["Anchor Name"],u=null!=c?c:d;return(0,tS.jsx)("div",{style:{scrollMarginTop:"60px"},...u?{id:u}:{},children:(0,tS.jsx)(r,{...o})})}let tP=e=>{var t,a,l,n,i,s,r,o;let c=tL().publicUrl,d=c+"/expand.svg",u=c+"/collapse.svg",m=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.Styles)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.styles:null,v=null!==(n=e.params)&&void 0!==n&&null!==(l=n.Styles)&&void 0!==l&&!!l.includes("collapse"),h=null!==(s=e.params)&&void 0!==s&&null!==(i=s.Styles)&&void 0!==i&&!!i.includes("multiple"),p=[];e.fields.Faqs.map((e,t)=>{e.fields.Expanded.value&&p.push(t.toString())});let x=(null===(r=e.params.Styles)||void 0===r?void 0:r.includes("pre-expanded"))?p:[],g=e.fields.Faqs.map((e,t)=>{var a,l,n;return(0,tS.jsxs)(tT.Qd,{className:"faq-accordion__item ",uuid:t.toString(),children:[(0,tS.jsx)(tT.Ol,{children:(0,tS.jsxs)(tT.on,{className:"faq-accordion__expand-button",children:[(0,tS.jsxs)("div",{className:"faq-accordion__question",children:[" ",(0,tS.jsx)(tD.H,{field:null===(a=e.fields)||void 0===a?void 0:a.Title,tag:"p"})]}),(0,tS.jsx)(tT.CB,{children:e=>{let{expanded:t}=e;return t?(0,tS.jsx)("img",{src:u}):(0,tS.jsx)("img",{src:d})}})]})}),(0,tS.jsxs)(tT.Mt,{children:[(0,tS.jsx)(tD.H,{field:null===(l=e.fields)||void 0===l?void 0:l.Body}),(0,tS.jsx)(tF.E,{className:"image-callout-image",field:null===(n=e.fields)||void 0===n?void 0:n.Image})]})]},t)});return(0,tS.jsx)("section",{className:"component-frame section-frame "+m,children:(0,tS.jsxs)("div",{className:"faq-accordion",children:[(0,tS.jsxs)("h2",{className:"faq-accordion__heading",children:[" ",(0,tS.jsx)(tD.H,{field:null===(o=e.fields)||void 0===o?void 0:o.Headline})]}),(0,tS.jsx)("hr",{className:"faq-accordion__line"}),(0,tS.jsx)(tT.UQ,{allowMultipleExpanded:h,allowZeroExpanded:v,preExpanded:x,children:g})]})})};function tH(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:tP})}var tM=a(2862),tq=a(2914),tR=a(9061),tO=a(3454);a(3829);let tV=tO.env.AGENTS_LOCATOR_API_BASE_URL,tG=tO.env.AGENTS_LOCATOR_API_CHANNEL_ID,tU=tO.env.AGENTS_LOCATOR_API_CLIENT_SECRET,tW=tO.env.AGENTS_LOCATOR_API_CHANNEL_NAME,tZ=tR.Z.create({baseURL:tV,headers:{"x-ibm-client-id":tG,"x-ibm-client-secret":tU}}),tz=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=tY(a,t);return tZ.get(e,l)},tQ=async function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=tY({params:{}},t);return await tZ.post(e,a,l)},tY=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return e.params.channelName=tW,e.params.channelId=t,e.params.requestId=tK(),e},tK=()=>"req"+Date.now();var tJ=a(5678),tX=a(3454);let t$=async(e,t)=>{try{let a=await tJ.promises.readFile(tX.cwd()+e,"utf8"),l=JSON.parse(a);return console.log(t),l}catch(e){console.error(e)}return{}},t0=tL().agentsLocatorUseMock,t1=async()=>{try{if("yes"===t0)return await t$("/public/data/languagesspoken.json","LanguagesSpokenByAgentsResponse");return(await tz("/agencies/agency/agents/languages","GETLANGSPKN")).data}catch(e){throw console.error("Error fetching languages",e),e}};var t2=a(3178),t3=a.n(t2);let t4=tL().agentsLocatorUseMock,t5=async e=>{try{if("yes"===t4)return await t$("/public/data/agenciesbyaccount.json","AgenciesByAccountNumbersResponse");return(await tQ("/agencies/accounts/locations","GETACCTS",e)).data}catch(e){throw console.error("Error fetching getAgenciesByAccountNumbers",e),e}},t9=async e=>{try{if("yes"===t4)return await t$("/public/data/agentsByLocation.json","AgentsByLocationResponse");{var t,a,l,n,i;let s={addressline1:e.address.line1,addressline2:e.address.line2,city:e.address.city,state:e.address.state,radius:null!==(t=e.address.radius)&&void 0!==t?t:t3().defaultSearchR
1adius,minimumResults:null!==(a=e.address.minimumResults)&&void 0!==a?a:t3().defaultMinimumResults,quoteSlaIndicator:t3().defaultQuoteSlaIndicator,postalcode:e.address.postalcode,latitude:null!==(l=e.address.latitude)&&void 0!==l?l:null,longitude:null!==(n=e.address.longitude)&&void 0!==n?n:null,pageLength:null!==(i=e.address.pageLength)&&void 0!==i?i:null};return(await tz("/agencies/agency/agents/locations","GETAGENTS",{params:s})).data}}catch(e){throw console.error("Error fetching getAgentsByLocation",e),e}};var t6=a(3836);let t7={visitorid:"",isLoggedIn:!1};var t8=a(5362);let ae="/api/api-route-swr/session";async function at(e,t){return fetch(e,{headers:{accept:"application/json","content-type":"application/json"},...t}).then(e=>e.json())}function aa(e,t){let{arg:a}=t;return at(e,{method:"POST",body:JSON.stringify({visitorid:a})})}function al(e){return at(e,{method:"DELETE"})}let an="erievisitorid",ai=()=>{let e=localStorage.getItem(an);if(null===e){let t=as(),a=ar(as());e=Number(String(t)+String(Math.abs(t^a))).toString(16),localStorage.setItem(an,e)}return e},as=()=>new Date().getTime(),ar=e=>Math.floor(Math.random()*e);var ao=e=>{var t,a,l,n,i,s,r,o,c,d,u;let{sitecoreContext:m}=(0,tM.z)(),[v,h]=(0,tk.useState)(null),[p,x]=(0,tk.useState)(null),[g,f]=(0,tk.useState)(null),[j,b]=(0,tk.useState)(null),{session:y,isLoading:N}=function(){let{data:e,isLoading:t}=(0,t6.u)(ae,at,{fallbackData:t7}),{trigger:a}=(0,t8.Z)(ae,aa,{revalidate:!1}),{trigger:l}=(0,t8.Z)(ae,al);return{session:e,logout:l,login:a,isLoading:t}}();console.log("Session"),console.log(y);let[_,C]=(0,tk.useState)(null),w=(0,tk.useRef)(!1);(0,tk.useEffect)(()=>{(async()=>{if(!w.current){w.current=!0;try{let e=await t1();console.log("languageSpoken ==>"),h(e),console.log(e)}catch(e){console.error(e)}try{let e=await t5({getAgenciesByAccountNumbers:{accountNumbers:["11111"]}});console.log("agencies by account number ==>"),x(e),console.log(e)}catch(e){console.error(e)}try{var e,t,a;let l=await t9({address:{line1:"111 address rd",line2:"",city:"Erie",state:"PA",postalcode:"10561"}});console.log("agents by location ==>"),f(l),console.log(null==l?void 0:null===(a=l.AgentsByLocationResponse)||void 0===a?void 0:null===(t=a.GetAgentsByLocationWithMaxResultsResult)||void 0===t?void 0:null===(e=t._x003C_AgentInformation_x003E_k__BackingField)||void 0===e?void 0:e.AgentInformation)}catch(e){console.error(e)}}})()},[]),(0,tk.useEffect)(()=>{(async()=>{b(await (0,tq.o)())})()},[]),(0,tk.useEffect)(()=>{C(ai())},[]);let A=null===(t=e.params)||void 0===t?void 0:t.ApiToTest;return m.pageEditing?(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsx)("strong",{children:"Cannot do anything during edition"})})}):(0,tS.jsxs)("div",{className:"component-frame",children:[(0,tS.jsx)("section",{className:"color-hero sct-primary margin-tb-large",children:(0,tS.jsx)("div",{className:"margin-container",children:N?(0,tS.jsx)("h1",{className:"color-hero-headline",children:"Session ready"}):(0,tS.jsx)("h2",{className:"color-hero-headline",children:"Loading..."})})}),"languages"===A?(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsx)("div",{className:"margin-container",children:"Languages Spoken"}),(0,tS.jsx)("select",{name:"languages-spoken",children:null==v?void 0:null===(n=v.LanguagesSpokenByAgentsResponse)||void 0===n?void 0:null===(l=n.GetLanguagesSpokenByAgentsResult)||void 0===l?void 0:null===(a=l.Languages)||void 0===a?void 0:a.string.map(e=>(0,tS.jsx)("option",{children:e},"{language}"))})]}):null,"agenciesbyaccount"===A?(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsx)("div",{className:"margin-container",children:"Agencies by Account Number"}),null==p?void 0:null===(r=p.AgenciesByAccountNumbersResponse)||void 0===r?void 0:null===(s=r.GetAgenciesByAccountNumbersResult)||void 0===s?void 0:null===(i=s.AgentInformation)||void 0===i?void 0:i.map(e=>(0,tS.jsxs)("div",{children:[e.AgencyAccountNumber," | ",e.AgencyName]},"{agentInformation.AgencyAccountNumber}"))]}):null,"agentsbylocation"===A?(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsx)("div",{className:"margin-container",children:"Agents By Location"}),null==g?void 0:null===(u=g.AgentsByLocationResponse)||void 0===u?void 0:null===(d=u.GetAgentsByLocationWithMaxResultsResult)||void 0===d?void 0:null===(c=d._x003C_AgentInformation_x003
1E_k__BackingField)||void 0===c?void 0:null===(o=c.AgentInformation)||void 0===o?void 0:o.map(e=>(0,tS.jsxs)("div",{children:[e.AgencyAccountNumber," | ",e.AgencyName]},"{agentInformation.AgencyAccountNumber}"))]}):null,(0,tS.jsx)("section",{className:"color-hero sct-primary margin-tb-large",children:(0,tS.jsx)("div",{className:"margin-container",children:(0,tS.jsx)("h1",{className:"color-hero-headline",children:(null==j?void 0:j.isLoggedIn)?"User is logged in ".concat(null==j?void 0:j.account," (").concat(null==j?void 0:j.email,")"):"User is NOT logged in"})})}),(0,tS.jsx)("section",{className:"color-hero sct-primary margin-tb-large",children:(0,tS.jsx)("div",{className:"margin-container",children:(0,tS.jsxs)("h1",{className:"color-hero-headline",children:["Visitor id: ",_]})})}),(0,tS.jsx)("div",{className:"form-contact-submit",children:(null==j?void 0:j.isLoggedIn)?(0,tS.jsx)("a",{className:"btn btn-secondary arrow",children:"Log out"}):(0,tS.jsx)("a",{className:"btn btn-primary arrow",children:"Log in"})})]})},ac=a(2672);let ad=e=>{var t;let a=null===(t=e.field)||void 0===t?void 0:t.value;return(0,tM.z)().sitecoreContext.pageEditing?(0,tS.jsx)(ac.r,{field:a,children:e.children}):(0,tS.jsx)("a",{href:null==a?void 0:a.href,target:null==a?void 0:a.target,rel:"noopener noreferrer",onClick:e.onClick,children:e.children||(null==a?void 0:a.text)})},au=e=>{var t;let a=null===(t=e.field)||void 0===t?void 0:t.value;return"external"!==a.linktype?(0,tS.jsx)(ad,{...e,children:e.children}):(0,tS.jsx)("a",{href:null==a?void 0:a.href,target:null==a?void 0:a.target,rel:"noopener noreferrer",onClick:e.onClick,children:e.children||(null==a?void 0:a.text)})};var am=a(2433),av=a(846),ah=a(3723);let ap="fd2059fd-6043-4dfe-8c04-e2437ce87634",ax=e=>{var t,a,l,n,i,s,r,o,c;let{sitecoreContext:d}=(0,tM.z)(),u=(null===(l=e.fields)||void 0===l?void 0:null===(a=l.AbstractImage)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.src)?(0,tS.jsx)(tF.E,{field:null===(n=e.fields)||void 0===n?void 0:n.AbstractImage,class:"article-header-image"}):null;return(0,tS.jsxs)("div",{className:"article-header",children:[u,(0,tS.jsxs)("div",{className:"article-header-text",children:[(0,tS.jsx)(am.x,{field:null===(i=e.fields)||void 0===i?void 0:i.Title,tag:"h1",className:"article-header-title h3"}),(0,tS.jsx)(av.X,{dataSource:{itemId:(null===(s=e.sitecoreContext.route)||void 0===s?void 0:s.itemId)||""},title:"Article Details",tooltip:"Edit Article Details",buttons:[{header:"Edit Article Details",icon:"/~/icon/Office/16x16/pencil.png",tooltip:"Edit Article Details",fields:["Author","PublishDate"]}],children:(0,tS.jsxs)("p",{className:"article-header-author",children:["by"," ",null===(o=e.fields)||void 0===o?void 0:null===(r=o.Author)||void 0===r?void 0:r.displayName," ","on"," ",(0,tS.jsx)(ah.N,{field:null===(c=e.fields)||void 0===c?void 0:c.PublishDate,render:e=>"".concat(e.toLocaleString("en-us",{month:"long",year:"numeric",day:"numeric",timeZone:"UTC"})),editable:!1})]})}),(0,tS.jsx)(()=>{var t;return d.pageEditing&&(null===(t=e.sitecoreContext.route)||void 0===t?void 0:t.templateId)===ap?(0,tS.jsx)("h6",{children:"Default Article Header Component"}):null},{})]})]})},ag=e=>{var t,a,l,n,i,s,r,o;console.log(ap,null===(t=e.sitecoreContext.route)||void 0===t?void 0:t.templateId);let{sitecoreContext:c}=(0,tM.z)(),d=(null===(n=e.fields)||void 0===n?void 0:null===(l=n.AbstractImage)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.src)?(0,tS.jsx)(tF.E,{field:null===(i=e.fields)||void 0===i?void 0:i.AbstractImage,class:"article-header-image"}):null;return(0,tS.jsxs)("div",{className:"article-header",children:[d,(0,tS.jsxs)("div",{className:"article-header-text",children:[(0,tS.jsx)(am.x,{field:null===(s=e.fields)||void 0===s?void 0:s.Title,tag:"h1",className:"article-header-title h3"}),(0,tS.jsx)(av.X,{dataSource:{itemId:(null===(r=e.sitecoreContext.route)||void 0===r?void 0:r.itemId)||""},title:"Press Release Details",tooltip:"Edit Press Release Details",buttons:[{header:"Edit Press Release Details",icon:"/~/icon/Office/16x16/pencil.png",tooltip:"Edit Press Release Details",fields:["PublishDate"]}],children:(0,tS.jsx)("p",{className:"article-header-author",children:(0,tS.jsx)(ah.N,{field:null===(o=e.fields)||void 0===o?void 0:o.PublishDate,render:e=>
1"".concat(e.toLocaleString("en-us",{month:"long",year:"numeric",day:"numeric",timeZone:"UTC"})),editable:!1})})}),(0,tS.jsx)(()=>{var t;return c.pageEditing&&(null===(t=e.sitecoreContext.route)||void 0===t?void 0:t.templateId)===ap?(0,tS.jsx)("h6",{children:"Press Releases Article Header Component"}):null},{})]})]})};var af=a(2099),aj=a(2261);let ab=e=>{var t,a,l,n,i,s;let{sitecoreContext:r}=(0,tM.z)(),o=(null===(a=e.MobileImage)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.src)?(0,tS.jsx)("source",{srcSet:null===(l=e.MobileImage.value)||void 0===l?void 0:l.src,media:"(max-width: 750px)"}):(0,tS.jsx)(tS.Fragment,{}),c=(null===(i=e.TabletImage)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.src)?(0,tS.jsx)("source",{srcSet:null===(s=e.TabletImage.value)||void 0===s?void 0:s.src,media:"(max-width: 1023px)"}):(0,tS.jsx)(tS.Fragment,{});return r.pageEditing&&(o=(0,tS.jsx)(tF.E,{field:e.MobileImage}),c=(0,tS.jsx)(tF.E,{field:e.TabletImage})),(0,tS.jsxs)("picture",{children:[o,c,(0,tS.jsx)(tF.E,{field:e.DesktopImage,class:e.CssClass?e.CssClass:"wrapper-img"})]})};function ay(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:ab})}var aN=a(6832);let a_=e=>{var t,a,l,n;console.log(e);let i=(0,tk.useRef)(null),s=(0,tk.useRef)(null),[r,o]=(0,tk.useState)(0),c=(null==e?void 0:e.params)&&(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.Styles)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.Styles:"",d=!!c.includes("hide-images"),u=null===(l=e.fields)||void 0===l?void 0:l.BlockQuotes.length,{sitecoreContext:m}=(0,tM.z)(),v=e=>{o(e.activeIndex)},h=()=>{s.current&&s.current.slideNext()},p=()=>{s.current&&s.current.slidePrev()},x=null===(n=e.fields)||void 0===n?void 0:n.BlockQuotes.map((e,t)=>{var a,l,n;return(0,tS.jsx)(aj.o5,{children:(0,tS.jsx)(av.X,{dataSource:{itemId:null==e?void 0:e.id},title:"Edit Responsive Images",tooltip:"Edit Responsive Images",buttons:[{header:"Edit Responsive Images",icon:"/~/icon/Office/16x16/elements_cascade.png",fields:["DesktopImage","TabletImage","MobileImage","ImageCaption"],tooltip:"Edit Responsive Images"}],children:(0,tS.jsxs)("div",{className:"testimonial-quote-slider__card",children:[d?"":(0,tS.jsx)(ay,{...e.fields,CssClass:"testimonial-quote-slider__image"}),(0,tS.jsxs)("div",{className:"testimonial-quote-slider__content",children:[(0,tS.jsxs)("div",{className:"testimonial-quote-slider__nav",children:[(0,tS.jsxs)("svg",{width:"32px",height:"24px",viewBox:"0 0 32 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,tS.jsx)("title",{children:"Quotes"}),(0,tS.jsx)("g",{id:"Symbols",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,tS.jsx)("g",{id:"Testimonial_Quote/Desktop_With_Image",transform:"translate(-624, -60)",fill:"#0077BE","fill-rule":"nonzero",children:(0,tS.jsx)("g",{id:"Group-2",transform:"translate(624, 60)",children:(0,tS.jsx)("path",{d:"M23.8386256,24 C27.462741,24 29.9593538,21.0201342 29.9593538,17.7181208 C29.9593538,14.0939597 27.2211333,11.9194631 24.4829128,11.9194631 C23.5970179,11.9194631 22.791659,12.0805369 22.0668359,12.4832215 L21.7446923,12.3221477 C22.0668359,9.26174497 25.1272,4.18791946 31.409,0.966442953 L30.9257846,0 C21.9057641,2.81879195 16.6709308,9.02013423 16.6709308,15.9463087 C16.6709308,20.6979866 19.4896872,24 23.8386256,24 Z M7.16769487,24 C10.7112744,24 13.2078872,21.0201342 13.2078872,17.7181208 C13.2078872,14.0939597 10.4696667,11.9194631 7.73144615,11.9194631 C6.84555128,11.9194631 6.04019231,12.0805369 5.31536923,12.4832215 L4.99322564,12.3221477 C5.31536923,9.26174497 8.37573333,4.18791946 14.6575333,0.966442953 L14.1743179,0 C5.15429744,2.81879195 0,9.02013423 0,15.9463087 C0,20.6979866 2.73822051,24 7.16769487,24 Z",id:"Shape-Copy"})})})})]}),u>1?(0,tS.jsxs)("div",{className:"testimonial-quote-slider__pagination",children:[(0,tS.jsx)("button",{className:"button-arrow left-arrow","aria-label":"Previous quote",tabIndex:r===t?0:-1,onClick:p}),(0,tS.jsxs)("span",{className:"testimonial-quote-slider__page",tabIndex:r===t?0:-1,children:[t+1,"/",u]}),(0,tS.jsx)("button",{className:"button-arrow right-arrow","aria-label":"Next quote",tabIndex:r===t?0:-1,onClick:h})]}):null]}),(0,tS.jsx)("div",{className:"testimonial-quote-slider__text",tabIndex:r===t?0:-1,children:(0,tS.jsx)(am.x,{field:null===(a=e.fields)||void 0===a?void 0:a.Quote})}),(0,tS.jsxs)("div",{className:"testimonial-quote-slider__wrapper",children:[(0,tS.jsx)("hr",{className:"testimonial-quote-slider__line"}),(0,tS.jsxs)("p",{className:"testimonial-quote-slider__name",tabIndex:r===t?0:-1,children:[" ",(0,tS.jsx)(am.x,{field:null===(l=e.fields)||void 0===l?void 0:l.Author})]}),(0,tS.jsx)("p",{className:"testimonial-quote-slider__extra",tabIndex:r===t?0:-1,children:(0,tS.jsx)(am.x,{field:null===(n=e.fields)||void 0===n?void 0:n.AuthorTitle})})]})]})]})})},t)});return(0,tS.jsxs)("div",{className:"component-frame testimonial-quote ".concat(c),children:[(0,tS.jsx)(tS.Fragment,{children:(0,tS.jsx)(aj.tq,{onSwiper:e=>i.current=e,slidesPerView:1,watchSlidesProgress:!0,navigation:{prevEl:".left-arrow",nextEl:".right-arrow"},modules:[aN.Rv,aN.W_,aN.o3],thumbs:{swiper:s.current},className:"testimonial-quote-slider",onSlideChange:e=>v(e),children:x})}),(0,tS.jsx)(function(){var t;return m.pageEditing&&(null===(t=e.fields)||void 0===t?void 0:t.BlockQuotes.length)===0?(0,tS.jsx)("h6",{children:"Please select some BlockQuotes"}):null},{})]})};var aC=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:a_})}),aw=a(1358),aA=a.n(aw),aE=a(4189),aS=a(3300),ak=a.n(aS);let aI=tL().publicUrl,aL=e=>{var t,a,l;let n=tL().sitecoreSearchSources,i=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.ListingTitle)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.ListingTitle:"Resources",[s,r]=(0,tk.useState)("blog"),[o,c]=(0,tk.useState)(!1),[d,u]=(0,tk.useState)(""),[m,v]=(0,tk.useState)({content:[],total_item:0}),[h,p]=(0,tk.useState)(0),[x,g]=(0,tk.useState)(!0),[f,j]=(0,tk.useState)([]),[b,y]=(0,tk.useState)([]),[N,_]=(0,tk.useState)([]),[C,w]=(0,tk.useState)({insurance_quote_type:[],topic:[],lifeStage:[],format:[]}),A=["Bundles","Claims","Cost and Savings","Coverage","Insurance Basics","Risk Mitigation","Tips"],E=["Article","Infographic","FAQ","Video"],S=["Auto","Business","Homeowners","Life","Motorcycle","Renters","Retirement"],k="resource_center_widget",I=(0,tk.useCallback)((e,t,a)=>{let l=[];l.push({name:"type",type:"eq",value:"Knowledge Center"}),l.push({type:"not",filter:{name:"hide_from_site_search",type:"eq",value:"true"}}),l.push({name:"resources",type:"eq",value:"blog"===s?"Blog":"education"===s?"Education":"Tools"}),f.length>0&&l.push({type:"or",filters:f.map(e=>({name:"topic",type:"eq",value:e}))}),N.length>0&&l.push({type:"or",filters:N.map(e=>({name:"insurance_quote_type",type:"eq",value:e}))}),b.length>0&&l.push({type:"or",filters:b.map(e=>({name:"format",type:"eq",value:e}))});let i=l.length>0?{type:"and",filters:l}:void 0;return{context:{page:{uri:"/search?q=".concat(e||"*")},user:{uuid:"12658530543-hl-sl-4z-1p-cx5wqy0zsk8t4b5iscrs-1720570872512"},locale:{language:"en",country:"us"}},widget:{items:[{rfk_id:k,entity:"content",sources:[n],search:{limit:a,offset:t,content:{},sort:{choices:!0},query:{keyphrase:e},filter:i}}]}}},[f,b,N,s,n,k]),L=(0,tk.useCallback)((e,t)=>{let a=I(e,t,12);ak()(tL().sitecoreSearchUrl,{headers:{accept:"application/json",authorization:tL().sitecoreSearchApiKey,"content-type":"application/json"},method:"POST",body:JSON.stringify(a)}).then(e=>e.json()).then(e=>{e.widgets&&e.widgets.length>0?v(e.widgets[0]):(console.error("No results found in the response."),v({content:[],total_item:0}))}).catch(e=>console.error("Error fetching search results:",e))},[12,I]);(0,tk.useEffect)(()=>{L(""===d&&Object.values(C).every(e=>0===e.length)?"*":d,12*h)},[d,h,f,b,N,C,L,w]),(0,tk.useEffect)(()=>{{let e=new URLSearchParams(window.location.search),t=e.get("tag");t&&u(t),r(e.get("tab")||"blog")}},[]);let D=m.total_item,F=Math.ceil(D/12),T=m.content,B=e=>{p(e.selected)},P=(e,t)=>{"insurance_quote_type"===e&&S.includes(t)?_(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t]):"topic"===e&&A.includes(t)?j(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t]):"format"===e&&E.includes(t)&&y(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t])},H=(e,t)=>{"topic"===e?j(e=>e.filter(e=>e!==t)):"format"===e?y(e=>e.filter(e=>e!==t)):"insurance_quote_type"===e&&_(e=>e.filter(e=>e!==t))},M=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"}),q=e=>Array.isArray(e)?[...e].sort((e,t)=>
1new Date(t.published_date).getTime()-new Date(e.published_date).getTime()):[],R=e=>{r(e)},O=(0,tk.useCallback)(e=>{if(null!==e){let t=e.querySelector("ul");t&&(t.removeAttribute("aria-label"),t.removeAttribute("role"))}},[]),V=["blog","education","tools"],G=(e,t)=>{var a,l,n,i;let s=V.indexOf(t);if(" "===e.key||"Enter"===e.key)e.preventDefault(),r(t);else if("ArrowRight"===e.key){e.preventDefault();let t=V[(s+1)%V.length];r(t),null===(a=document.getElementById(t))||void 0===a||a.focus()}else if("ArrowLeft"===e.key){e.preventDefault();let t=V[(s-1+V.length)%V.length];r(t),null===(l=document.getElementById(t))||void 0===l||l.focus()}else"Home"===e.key?(e.preventDefault(),r(V[0]),null===(n=document.getElementById(V[0]))||void 0===n||n.focus()):"End"===e.key&&(e.preventDefault(),r(V[V.length-1]),null===(i=document.getElementById(V[V.length-1]))||void 0===i||i.focus())},U=e=>{e.preventDefault(),aE.c.event(aE.a.RESOURCE_SEARCH_CLICK,{search_click_text:e.currentTarget.innerText,search_click_target:e.currentTarget.href}),window.location.href=e.currentTarget.href};return(0,tS.jsx)("section",{className:"section-frame blog-listing-wrapper ".concat(null===(l=e.params)||void 0===l?void 0:l.styles),children:(0,tS.jsxs)("div",{className:"blog-listing__tabs",children:[(0,tS.jsx)("h1",{className:"blog-listing__title",children:i}),(0,tS.jsxs)("div",{className:"blog-listing__tabs-row",role:"tablist","aria-label":"Resources by type",children:[(0,tS.jsx)("div",{id:"blog",role:"tab","aria-selected":"blog"===s,"aria-controls":"tabpanel-resources",className:"blog-listing__tab ".concat("blog"===s?"active":""),onClick:()=>R("blog"),onKeyDown:e=>G(e,"blog"),tabIndex:"blog"===s?0:-1,children:(0,tS.jsx)("p",{children:"Blog"})}),(0,tS.jsx)("div",{id:"education",role:"tab","aria-selected":"education"===s,"aria-controls":"tabpanel-resources",className:"blog-listing__tab ".concat("education"===s?"active":""),onClick:()=>R("education"),onKeyDown:e=>G(e,"education"),tabIndex:"education"===s?0:-1,children:(0,tS.jsx)("p",{children:"Education"})}),(0,tS.jsx)("div",{id:"tools",role:"tab","aria-selected":"tools"===s,"aria-controls":"tabpanel-resources",className:"blog-listing__tab ".concat("tools"===s?"active":""),onClick:()=>R("tools"),onKeyDown:e=>G(e,"tools"),tabIndex:"tools"===s?0:-1,children:(0,tS.jsx)("p",{children:"Tools"})})]}),(0,tS.jsx)("div",{className:"blog-listing__tab-content",id:"tabpanel-resources",role:"tabpanel","aria-labelledby":s,children:(0,tS.jsxs)("div",{className:"blog-listing__tabs-wrapper component-frame",children:[(0,tS.jsx)("div",{className:"blog-listing__search",children:(0,tS.jsx)("input",{type:"text",className:"blog-listing__search-input",placeholder:"Search by title, tag, or author",value:d,onChange:e=>{u(e.target.value),p(0)},"aria-label":"Search Results",role:"region"})}),(0,tS.jsxs)("div",{className:"blog-listing__filters",children:[(0,tS.jsx)("h2",{className:"label-small desktop-show",children:"Filters"}),(0,tS.jsx)("div",{className:"blog-listing__filters-btns",children:(0,tS.jsx)("button",{className:"blog-listing__filter-btn",onClick:()=>{c(!o)},children:"Filters"})}),(0,tS.jsx)("div",{className:"filter-subCategory ".concat(o?"mobile-show":""),children:(0,tS.jsxs)("div",{className:"filter-subCategory-item",children:[(0,tS.jsxs)("button",{className:"filter-subCategory-item__toggle",onClick:()=>{g(!x)},"aria-expanded":x?"true":"false","aria-label":"Products",children:[(0,tS.jsx)("p",{className:"filter-subCategory-item__title",children:"Products"}),(0,tS.jsx)("img",{src:"".concat(aI).concat(x?"/collapse.svg":"/expand.svg"),alt:x?"collapse":"expand"})]}),x&&(0,tS.jsx)("form",{className:"form-filters",children:(0,tS.jsx)("div",{className:"filter-subCategory-item__content",children:S.map(e=>(0,tS.jsxs)("div",{className:"filter-row",children:[(0,tS.jsx)("label",{className:"filter-subCategory-item__label",htmlFor:e,children:e}),(0,tS.jsx)("input",{type:"checkbox",id:e,name:e,className:"filter-subCategory-item__checkbox",checked:N.includes(e),onChange:()=>P("insurance_quote_type",e)})]},e))})})]})})]}),(0,tS.jsx)("h2",{className:"blog-listing__tab-title h4",role:"status",children:(0,tS.jsxs)("span",{className:"visual-impact",children:[D," ",1===D?"item":"items"," found"]}
1)}),(0,tS.jsxs)("div",{className:"tags-list","aria-label":"Active Filters",children:[[...N].map(e=>(0,tS.jsxs)("div",{className:"tags-list-tag",children:[(0,tS.jsx)("p",{children:e}),(0,tS.jsx)("button",{className:"tags-list-close",onClick:()=>H("insurance_quote_type",e),"aria-label":"Remove tag: ".concat(e),children:(0,tS.jsx)("img",{src:"".concat(aI,"/close.svg"),alt:"close"})})]},e)),[...f].map(e=>(0,tS.jsxs)("div",{className:"tags-list-tag",children:[(0,tS.jsx)("p",{children:e}),(0,tS.jsx)("button",{className:"tags-list-close",onClick:()=>H("topic",e),"aria-label":"Remove tag: ".concat(e),children:(0,tS.jsx)("img",{src:"".concat(aI,"/close.svg"),alt:"close"})})]},e)),[...b].map(e=>(0,tS.jsxs)("div",{className:"tags-list-tag",children:[(0,tS.jsx)("p",{children:e}),(0,tS.jsx)("button",{className:"tags-list-close",onClick:()=>H("format",e),"aria-label":"Remove tag: ".concat(e),children:(0,tS.jsx)("img",{src:"".concat(aI,"/close.svg"),alt:"close"})})]},e))]}),(0,tS.jsx)("div",{className:"blog-listing__content",children:(()=>{var e;if(!((null===(e=q(T))||void 0===e?void 0:e.length)>0))return(0,tS.jsx)("p",{children:"No results found."});{let e=q(T).map(e=>(0,tS.jsxs)("a",{className:"blog-listing__card",href:e.url,onClick:U,children:[(0,tS.jsx)("img",{className:"blog-listing__image",src:e.abstract_image||"".concat(aI,"/image-hero-desktop-fpo.webp"),alt:"Content image"}),(0,tS.jsx)("p",{className:"blog-listing__date",children:M(e.published_date)}),(0,tS.jsx)("div",{className:"blog-listing__text",children:(0,tS.jsx)("p",{className:"blog-listing__article-title",children:e.name})})]},e.id));return(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)("div",{className:"blog-listing__cards-wrapper",children:e}),(0,tS.jsx)("nav",{ref:O,children:(0,tS.jsx)(aA(),{previousLabel:(0,tS.jsx)("div",{className:"button-arrow left-arrow"}),nextLabel:(0,tS.jsx)("div",{className:"button-arrow right-arrow"}),breakLabel:(0,tS.jsx)("span",{className:"article__page",children:"..."}),pageCount:F,marginPagesDisplayed:2,pageRangeDisplayed:3,onPageChange:B,containerClassName:"article__pagination",pageClassName:"article__page",previousClassName:"previous",nextClassName:"next",activeClassName:"active",ariaLabelBuilder:e=>"Page ".concat(e)})})]})}})()})]})})]})})};function aD(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:aL})}let aF=e=>{var t,a,l;let{sitecoreContext:n}=(0,tM.z)(),i=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.Styles)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.Styles:"";return(0,tS.jsx)("div",{className:"body-text component-frame ".concat(i),children:(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)(function(){return n.pageEditing&&"fd2059fd-6043-4dfe-8c04-e2437ce87634"===e.sitecoreContext.route.templateId?(0,tS.jsx)("h6",{children:"Body Text Component"}):null},{}),(0,tS.jsx)(tD.H,{field:null===(l=e.fields)||void 0===l?void 0:l.Content})]})})};var aT=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:aF})}),aB=a(1664),aP=a.n(aB);let aH=["Folder","Bucket","Press Releases Folder"],aM=e=>{var t,a,l,n,i,s,r,o,c,d;let u=null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.pages[0],m=(null==e?void 0:null===(i=e.sitecoreContext)||void 0===i?void 0:null===(n=i.route)||void 0===n?void 0:null===(l=n.fields)||void 0===l?void 0:null===(a=l.Title)||void 0===a?void 0:a.value)===(null==u?void 0:null===(r=u.Title)||void 0===r?void 0:null===(s=r.value)||void 0===s?void 0:s.toString())?null===(c=e.fields)||void 0===c?void 0:null===(o=c.pages)||void 0===o?void 0:o.reverse():null===(d=e.fields)||void 0===d?void 0:d.pages,v=m.map((e,t)=>{var a,l;return aH.includes(e.template)?null:t==m.length-1?(0,tS.jsx)("li",{children:null===(l=e.Title)||void 0===l?void 0:l.value},"breadcrumb-item-".concat(t)):(0,tS.jsxs)("li",{children:[(0,tS.jsx)(aP(),{href:e.url,children:null===(a=e.Title)||void 0===a?void 0:a.value}),(0,tS.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:(0,tS.jsx)("path",{d:"m4 2 4 4-4 4",stroke:"#002955",strokeWidth:"1.5",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})})]},"breadcrumb-item-".concat(t))});return(0,tS.jsx)("nav",{className:"breadcrumbs",children:(0,tS.jsx)("ul",{children:v})})};var aq=a(5815);let aR=e=>{var t,a,l,n;let i=(null===(a=e.fields)||void 0===a?void 0:null===(t=a.Icon.value)||void 0===t?void 0:t.src)||"",{sitecoreContext:s}=(0,tM.z)();return(0,tS.jsxs)("li",{className:"contact-card-grid__card",children:[(0,tS.jsxs)("div",{className:"contact-card-grid__img",children:[s.pageEditing?(0,tS.jsx)(tF.E,{className:"image-svg",field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Icon,role:"presentation"}):"",s.pageEditing?"":(0,tS.jsx)(aq.Q,{src:i})]}),(0,tS.jsx)(ac.r,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Link,className:"contact-card-grid__link"})]})},aO=e=>{var t,a;return(0,tS.jsxs)("li",{className:"contact-card-grid__content",children:[(0,tS.jsxs)("div",{className:"label-small",children:[" ",(0,tS.jsx)(am.x,{field:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Headline})]}),(0,tS.jsx)(tD.H,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Content})]})},aV=e=>{var t,a,l;return(0,tS.jsxs)("div",{className:"contact-card",children:[(0,tS.jsx)("h4",{className:"contact-card-title h5",children:(0,tS.jsx)(am.x,{field:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Headline})}),(0,tS.jsxs)("div",{className:"contact-card-content",children:[(0,tS.jsx)(tD.H,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Content}),(0,tS.jsx)(ac.r,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Link,className:"btn btn-secondary"})]})]})};function aG(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:aR})}function aU(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:aO})}function aW(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:aV})}var aZ=a(9508);let az=e=>{var t,a;let l="contact-card-collection-".concat(e.params.DynamicPlaceholderId),n=null!==(a=null===(t=e.fields)||void 0===t?void 0:t.Title.value)&&void 0!==a?a:e.params.Title,i=n?(0,tS.jsxs)("h3",{className:"contact-card-grid__row--title h4",children:[" ",(0,tS.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})," "]}):(0,tS.jsxs)("h3",{className:"contact-card-grid__row--title h4",children:[(0,tS.jsx)("span",{className:"visual-impact",children:"Card Collection"})," title"]});return(0,tS.jsxs)("div",{className:"contact-card-grid__row",children:[i,(0,tS.jsx)("ul",{className:"contact-card-grid__inner
1-row contact-card-grid__inner-row-content",children:(0,tS.jsx)(aZ.V,{name:l,rendering:e.rendering})})]})},aQ=e=>{var t,a,l,n,i;let s="contact-card-collection-".concat(e.params.DynamicPlaceholderId),r=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.Title)!==""||(null===(a=e.fields)||void 0===a?void 0:a.Title.value)!==""?(0,tS.jsx)("h3",{className:"contact-cards-heading h2",children:(0,tS.jsx)("div",{dangerouslySetInnerHTML:{__html:null!==(i=null===(l=e.fields)||void 0===l?void 0:l.Title.value)&&void 0!==i?i:e.params.Title}})}):"";return(0,tS.jsx)("section",{className:"contact-cards ".concat(null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.styles),children:(0,tS.jsxs)("div",{className:"inner-wrapper",children:[(0,tS.jsx)("div",{className:"contact-cards-heading h2",children:r}),(0,tS.jsx)("div",{className:"cards-wrapper",children:(0,tS.jsx)(aZ.V,{name:s,rendering:e.rendering})})]})})};function aY(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:az})}function aK(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:aQ})}let aJ=tL().publicUrl,aX=e=>{var t;return console.log("ContactCardGrid: ",e),(0,tS.jsx)("div",{className:"contact-card-grid ".concat(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles),children:(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"contact-card-grid__wrapper",children:[(0,tS.jsxs)("div",{className:"contact-card-grid__row",children:[(0,tS.jsxs)("h5",{className:"contact-card-grid__row--title h4",children:[(0,tS.jsx)("span",{className:"visual-impact",children:"Vehicle"})," insurance"]}
1),(0,tS.jsxs)("div",{className:"contact-card-grid__inner-row",children:[(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsx)("a",{href:"#",className:"contact-card-grid__link",children:"Roadside assistance"})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsx)("a",{href:"#",className:"contact-card-grid__link",children:"Glass claim"})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsx)("a",{href:"#",className:"contact-card-grid__link",children:"Start a claim with your agent"})]})]})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__row",children:[(0,tS.jsxs)("h5",{className:"contact-card-grid__row--title h4",children:[(0,tS.jsx)("span",{className:"visual-impact",children:"Property "})," insurance"]}
1),(0,tS.jsx)("div",{className:"contact-card-grid__inner-row",children:(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsx)("a",{href:"#",className:"contact-card-grid__link",children:"Start a claim with your agent"})]})})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__row",children:[(0,tS.jsxs)("h5",{className:"contact-card-grid__row--title h4",children:[(0,tS.jsx)("span",{className:"visual-impact",children:"Life "})," insurance"]}),(0,tS.jsxs)("div",{className:"contact-card-grid__inner-row contact-card-grid__inner-row-content",children:[(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsx)("a",{href:"#",className:"contact-card-grid__link",children:"(800) 458-0811 Ext.3"})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsx)("a",{href:"#",className:"contact-card-grid__link",children:"Make a payment online"})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__content",children:[(0,tS.jsx)("p",{className:"label-small",children:"Submit Policy Change form to:"}),(0,tS.jsxs)("p",{children:["ERIE Family Life Service Center",(0,tS.jsx)("br",{}),"P.O. Box 83026",(0,tS.jsx)("br",{}),"Lincoln, NE 68501-3026"]}),(0,tS.jsx)("p",{children:"Fax: (866) 567-1219"})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsx)("a",{href:"#",className:"contact-card-grid__link",children:"Start a claim with your agent"})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsx)("a",{href:"#",className:"contact-card-grid__link",children:"Non-urgent inquries"})]})]})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__row",children:[(0,tS.jsxs)("h5",{className:"contact-card-grid__row--title h4",children:[(0,tS.jsx)("span",{className:"visual-impact",children:"Business "})," insurance"]}
1),(0,tS.jsxs)("div",{className:"contact-card-grid__inner-row",children:[(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsxs)("a",{href:"#",className:"contact-card-grid__link",children:["Call to start a claim ",(0,tS.jsx)("br",{}),"(800) 492-3665"]})]}),(0,tS.jsxs)("div",{className:"contact-card-grid__card",children:[(0,tS.jsx)("div",{className:"contact-card-grid__img",children:(0,tS.jsx)("img",{src:"".concat(aJ,"/download.svg")})}),(0,tS.jsx)("a",{href:"#",className:"contact-card-grid__link",children:"Start a worker's compensation claim"})]})]})]})]})})})})};var a$=()=>{let[e,t]=(0,tk.useState)(!1);return((0,tk.useEffect)(()=>{var e;"true"!==(null===(e=document.cookie.split("; ").find(e=>e.startsWith("COOKIE_BANNER_DISMISSED=")))||void 0===e?void 0:e.split("=")[1])&&t(!0)},[]),e)?(0,tS.jsxs)("div",{className:"cookie-banner",children:[(0,tS.jsx)("p",{className:"cookie-banner__notice",children:"Cookie Notice"}),(0,tS.jsxs)("p",{className:"cookie-banner__description",children:["We value your privacy.  We use cookies to enhance your browsing experience, improve our content delivery, and analyze our traffic. By using this website, you consent to our use of cookies.  You can learn more about how we collect and use information by reviewing our ",(0,tS.jsx)(aP(),{href:"/privacy-policy",children:"Online Privacy Policy."})]}),(0,tS.jsx)("div",{className:"cookie-banner__buttons",children:(0,tS.jsx)("button",{className:"btn btn-primary arrow",onClick:()=>{let e=new Date;e.setFullYear(e.getFullYear()+1),document.cookie="COOKIE_BANNER_DISMISSED=true; expires=".concat(e.toUTCString(),"; path=/"),t(!1)},children:"Accept cookies"})})]}):null},a0=a(9008),a1=a.n(a0);let a2=e=>{var t,a,l,n,i,s;let{sitecoreContext:r}=(0,tM.z)(),o=(null===(t=e.fields)||void 0===t?void 0:t.children)?null===(l=e.fields)||void 0===l?void 0:null===(a=l.children)||void 0===a?void 0:a.map(e=>{var t,a,l,n,i,s;return(null===(l=e.fields)||void 0===l?void 0:null===(a=l.Directive)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.toString())+" "+(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Values)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.toString())+" ;"}):"",c=(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.TurnOffCsp)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.toString())==="false"?(0,tS.jsx)(a1(),{children:(0,tS.jsx)("meta",{"http-equiv":"Content-Security-Policy",content:o.toString().replaceAll(","," ")})}):"";return(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)(function(){return r.pageEditing&&"Partial Design"===e.sitecoreContext.route.templateName.toString()?(0,tS.jsx)("h6",{children:"Content Security Policy Component"}):null},{}),"normal"===r.pageState?c:null]})},a3=tL().publicUrl,a4=["pdf","docx","tiff","tif","xls","xlsx"],a5=e=>{var t,a,l,n,i,s,r,o;let c=(0,tM.z)(),d=c.sitecoreContext.pageEditing||!(null===(t=e.params)||void 0===t?void 0:t.ClosedByDefault),u=e.rendering.uid,[m,v]=(0,tk.useState)(d);if(!c.sitecoreContext.pageEditing&&(!e.fields||!(null===(l=e.fields)||void 0===l?void 0:null===(a=l.Downloads)||void 0===a?void 0:a.length)))return(0,tS.jsx)(tS.Fragment,{});let h=e=>""!==e&&a4.includes(e),p=null===(i=e.fields)||void 0===i?void 0:null===(n=i.Downloads)||void 0===n?void 0:n.map((e,t)=>{var a,l;let n=(null===(l=e.fields)||void 0===l?void 0:null===(a=l.Extension)||void 0===a?void 0:a.value)||"",i=h(n)?n:"default";return(0,tS.jsx)("div",{className:"downloads-open-link",children:(0,tS.jsxs)("a",{href:e.url,download:e.displayName,target:"_blank",children:[(0,tS.jsx)("img",{src:"".concat(a3,"/icons/document-types/").concat(i.toLowerCase(),".svg")}),(0,tS.jsx)("p",{children:e.displayName}),(0,tS.jsx)("img",{className:"downloads-open-download",src:"".concat(a3,"/download.svg")})]})},"download-".concat(t))});return(0,tS.jsx)("div",{className:"component-frame ".concat(null==e?void 0:null===(s=e.params)||void 0===s?void 0:s.styles),children:(0,tS.jsx)("div",{className:"downloads",children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsxs)("div",{className:"downloads-headline",children:[(0,tS.jsxs)("div",{className:"downloads-headline-title",children:[(0,tS.jsx)(tD.H,{field:null===(r=e.fields)||void 0===r?void 0:r.Headline,tag:"h4",id:u}),(0,tS.jsx)("button",{className:"downloads-toggle",onClick:()=>{v(!m)},"aria-expanded":m?"true":"false","aria-labelledby":u,children:(0,tS.jsx)("img",{src:"".concat(a3).concat(m?"/collapse.svg":"/expand.svg"),alt:m?"collapse":"expand"})})]}),(0,tS.jsx)(tD.H,{field:null===(o=e.fields)||void 0===o?void 0:o.SubHeadline,tag:"p"})]}),m&&(0,tS.jsx)("div",{className:"downloads-open","aria-labelledby":u,children:p})]})})})};var a9=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:a5})}),a6=a(6665),a7=a(7122);let a8=()=>{let[e,t]=(0,tk.useState)(!0);return(0,tk.useEffect)(()=>{t(!1)},[]),e};var le=a(7543);let lt=e=>{var t,a,l,n,i;let s=a8(),[r,o]=(0,tk.useState)(!1),{agencyNumber:c}=(0,le.A)();if((0,tk.useEffect)(()=>{o(!0)},[]),s||!r)return(0,tS.jsx)(tS.Fragment,{});let d=a6._K.get(a6.mJ.savedAgent),u=a6._K.get(a6.mJ.viewingAgency),m=null;return c?(m="/agencies/".concat(encodeURIComponent(c)),a6._K.set(a6.mJ.viewingAgency,{AgencyAccountNumber:null!=c?c:""})):d?(m=a7.Y.agencyDetailsUrl(d),a6._K.set(a6.mJ.viewingAgency,{AgencyAccountNumber:null!==(i=d.AgencyAccountNumber)&&void 0!==i?i:""})):(null==u?void 0:u.AgencyAccountNumber)&&(m="/agencies/".concat(encodeURIComponent(u.AgencyAccountNumber))),m?(0,tS.jsx)("a",{href:m,className:e.className,"aria-label":"My Agency",children:"My Agency"}):(0,tS.jsx)("a",{href:null==e?void 0:null===(a=e.link)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.href,className:e.className,children:null==e?void 0:null===(n=e.link)||void 0===n?void 0:null===(l=n.value)||void 0===l?void 0:l.text})},la=e=>{var t,a,l,n,i,s,r;return(0,tS.jsxs)("div",{className:"footer-frame",children:[(0,tS.jsx)("div",{className:"footer-logo",dangerouslySetInnerHTML:{__html:"".concat(null===(n=e.fields)||void 0===n?void 0:null===(l=n.data)||void 0===l?void 0:null===(a=l.datasource)||void 0===a?void 0:null===(t=a.LogoSvg)||void 0===t?void 0:t.value)}}),(0,tS.jsxs)("nav",{className:"footer-nav","aria-label":"Footer",children:[(0,tS.jsx)(ll,{...e}),(0,tS.jsx)(ln,{...e}),(0,tS.jsx)(li,{...e}),(0,tS.jsx)("p",{className:"copyright",children:(0,tS.jsx)(am.x,{field:null===(r=e.fields)||void 0===r?void 0:null===(s=r.data)||void 0===s?void 0:null===(i=s.datasource)||void 0===i?void 0:i.CopyrightStatement})})]})]})},ll=e=>{var t,a,l;let n=null===(l=e.fields.data.datasource)||void 0===l?void 0:null===(a=l.children)||void 0===a?void 0:null===(t=a.results)||void 0===t?void 0:t.filter(e=>"FooterLinkList"===e.template.name),i=null==n?void 0:n.map((e,t)=>{let a=e.children.results.map((e,t)=>(0,tS.jsx)("li",{children:(0,tS.jsx)(au,{field:e.FooterLink.link})},t));return(0,tS.jsx)("ul",{children:a},t)});return(0,tS.jsx)(tS.Fragment,{children:i})},ln=e=>{var t,a,l,n,i;let s=null===(n=e.fields.data)||void 0===n?void 0:null===(l=n.datasource)||void 0===l?void 0:null===(a=l.children)||void 0===a?void 0:null===(t=a.results)||void 0===t?void 0:t.find(e=>"FooterIconLinkList"===e.template.name),r=null==s?void 0:null===(i=s.Icons)||void 0===i?void 0:i.jsonValue.map((e,t)=>{var a,l,n,i,s;let r=null!==(i=null===(a=e.fields)||void 0===a?void 0:a.IconSvg.value)&&void 0!==i?i:"",o="str
1ing"==typeof r?r.replace(/<svg([^>]*)role="image"/,'<svg$1 role="img"').replace(/<svg([^>]*)>/,'<svg$1 role="img">'):"";return(0,tS.jsx)("li",{children:(0,tS.jsxs)(au,{field:e.fields.IconLink,children:[(0,tS.jsx)("span",{className:"sr-only",children:null!==(s=null===(n=e.fields.IconLink)||void 0===n?void 0:null===(l=n.value)||void 0===l?void 0:l.text)&&void 0!==s?s:""}),(0,tS.jsx)("span",{dangerouslySetInnerHTML:{__html:o}})]})},t)});return(0,tS.jsx)("ul",{className:"footer-social",children:r})},li=e=>{var t,a,l,n;let i=null===(n=e.fields.data)||void 0===n?void 0:null===(l=n.datasource)||void 0===l?void 0:null===(a=l.children)||void 0===a?void 0:null===(t=a.results)||void 0===t?void 0:t.find(e=>"FooterUtilityLinkList"===e.template.name),s=null==i?void 0:i.children.results.map((e,t)=>(0,tS.jsx)("li",{children:(0,tS.jsx)(au,{field:e.FooterLink.link})},t));return(0,tS.jsx)("ul",{className:"utility-nav",children:s})};var ls=(0,af.C)()(la);let lr=e=>{let t=tk.useRef(null);(0,tk.useEffect)(()=>{let e=document.querySelectorAll('[aria-describedby*="footnotes-label"]'),a=e=>{let a=e.target;e.preventDefault();let l=a.closest("a"),n=null==l?void 0:l.getAttribute("href"),i=document.querySelector('a[href="'.concat(n,'-ref"]')),s=null==i?void 0:i.closest(".footnote-list-item");n&&s?(s.scrollIntoView({behavior:"smooth",block:"center"}),t.current=a):t.current=null};return e.forEach(e=>{e.addEventListener("click",a)}),()=>{e.forEach(e=>{e.removeEventListener("click",a)})}},[e]);let{sitecoreContext:a}=(0,tM.z)(),l=e.fields.Footnotes?e.fields.Footnotes.map((e,l)=>{var n,i;let s=null===(n=e.fields)||void 0===n?void 0:n.Title.value.replaceAll(" ","-"),r=l+1,o='<a href="#'.concat(s,'" id="').concat(s,'-ref" aria-describedby="footnotes-label" role="doc-noteref"><sup>[').concat(r,"]</sup></a>");return(0,tS.jsxs)("li",{style:{display:"flex"},id:s,className:"footnote-list-item",children:[(0,tS.jsxs)("span",{className:"footnote-counter",children:[l+1,".\xa0"]}),(0,tS.jsx)(tD.H,{field:null===(i=e.fields)||void 0===i?void 0:i.Note}),(0,tS.jsx)(function(){return(0,tS.jsx)("a",{href:"#"+s+"-ref","aria-label":"Back to reference "+r,role:"doc-backlink",onClick:e=>{var a;e.preventDefault();let l=null===(a=document.querySelectorAll('a[href="'.concat("#"+s,'"]')).entries().find(e=>{let[,a]=e;return a.checkVisibility()&&(!t.current||t.current==a||t.current.contains(a)||a.contains(t.current))}))||void 0===a?void 0:a[1];l&&l.scrollIntoView({behavior:"smooth",block:"center"})},children:"↩"})},{}),(0,tS.jsx)(function(){return a.pageEditing?(0,tS.jsx)("button",{value:o,onClick:()=>void(navigator.clipboard.writeText(o),alert("Link copied for\n\n"+e.fields.Title.value+"\n")),className:"btn btn-primary arrow",style:{marginLeft:"20px",fontSize:"10px",marginBottom:"7px",marginTop:"0px"},children:"Copy Link"}):null},{})]},l)}):null;return(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)(function(){return!e.fields.Footnotes&&a.pageEditing?(0,tS.jsx)("ol",{className:"footnote",style:{color:"black",backgroundColor:"white"},children:(0,tS.jsx)("h6",{children:"Footnotes"})}):null},{}),e.fields.Footnotes.length>0?(0,tS.jsx)("ol",{className:"footnote",style:{color:"black",backgroundColor:"white"},children:l}):null]})};a(4757);let lo=tL().publicUrl,lc="DISMISSED_GLOBAL_BANNERS",ld=e=>{var t,a,l,n;let[i,s]=(0,tk.useState)(!0),r=(0,tk.useRef)(null),[o,c]=(0,tk.useState)(0),[d,u]=(0,tk.useState)([]),m=tk.useRef(!1);(0,tk.useEffect)(()=>{if(!m.current){m.current=!0;let t=e.fields.ActiveBanners.filter(e=>0===e.fields.States.length);aE.c.getGuestGeoData().then(a=>{if((null==a?void 0:a.geoLocationCountry)==="US"){let l=null==a?void 0:a.geoLocationRegion;e.fields.ActiveBanners.filter(e=>0!==e.fields.States.length).forEach(e=>{e.fields.States.map(e=>e.fields.Description.value).includes(l)&&t.push(e)})}}).finally(()=>{var e,a;let l=[...null!==(e=a6.ee.get(lc))&&void 0!==e?e:[],...null!==(a=a6._K.get(lc))&&void 0!==a?a:[]];u(t.filter(e=>!l.includes(e.id)))})}return()=>{var e,t,a;let l=null!==(e=a6._K.get(lc))&&void 0!==e?e:[];for(let e=0;e<d.length;e++){let n=d[e];l.includes(null==n?void 0:n.id)||(null===(t=n.fields.DismissOption)||void 0===t?void 0:t.value)==="Manually"||(null===(a=n.fields.DismissOption)||void 0===a?void 0:a.value)==="Dismiss Once Per Session"||l.push(null==n?void 0:n.id)}a6._K.set(lc,l)}},[e.fields.ActiveBanners]);let v=()=>{r.current&&r.current.slideNext()},h=()=>{r.current&&r.current.slidePrev()},p=()=>{var e,t;let a=null!==(t=a6._K.get(lc))&&void 0!==t?t:[];a.push(null===(e=d[o])||void 0===e?void 0:e.id),a6._K.set(lc,a),u(d.filter(e=>{var t;return e.id!==(null===(t=d[o])||void 0===t?void 0:t.id)})),c(Math.max(0,o-1))},x=()=>{var e,t;let a=null!==(t=a6.ee.get(lc))&&void 0!==t?t:[];a.push(null===(e=d[o])||void 0===e?void 0:e.id),a6.ee.set(lc,a),u(d.filter(e=>{var t;return e.id!==(null===(t=d[o])||void 0===t?void 0:t.id)})),c(Math.max(0,o-1))},g=(null===(t=d[o])||void 0===t?void 0:t.fields.Urgency.value)==="High Urgency"?"global-alert-banner--gold":"",f=null===(a=d[o])||void 0===a?void 0:a.fields.Destination,j=void 0!==f?f.value.href:"",b=void 0!==j&&j.length>0,y=b?"global-alert-banner-enable-click":"global-alert-banner-disable-click",N=e=>{var t,a;return(null===(t=e.fields.DismissOption)||void 0===t?void 0:t.value)==="Manually"?(0,tS.jsx)("button",{onClick:e=>{e.preventDefault(),e.stopPropagation(),p()},children:(0,tS.jsx)("img",{className:"global-alert-banner__close",src:"".concat(lo,"/close-white.svg"),alt:"Close Alert"})}):(null===(a=e.fields.DismissOption)||void 0===a?void 0:a.value)==="Dismiss Once Per Session"?(0,tS.jsx)("button",{onClick:e=>{e.preventDefault(),e.stopPropagation(),x()},children:(0,tS.jsx)("img",{className:"global-alert-banner__close",src:"".concat(lo,"/close-white.svg"),alt:"Close Alert"})}):(0,tS.jsx)(tS.Fragment,{})};return((0,tk.useEffect)(()=>{let e=()=>{var e,t;d.length>0&&(null===(t=d[o])||void 0===t?void 0:null===(e=t.fields.DismissOption)||void 0===e?void 0:e.value)==="Automatically after first page"&&p()};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}},[d,o]),(0,tk.useEffect)(()=>{0===d.length?(c(0),document.body.classList.remove("has-global-banner"),document.documentElement.style.removeProperty("--banner-height")):(o>=d.length&&c(d.length-1),document.body.classList.add("has-global-banner"),setTimeout(()=>{let e=document.querySelector(".global-alert-banner");e&&document.documentElement.style.setProperty("--banner-height","".concat(e.offsetHeight,"px"))},0))},[d,o]),(0,tk.useEffect)(()=>{r.current&&(i?r.current.autoplay.start():r.current.autoplay.stop())},[i]),(0,tk.useEffect)(()=>{let e=e=>{"P"===e.key&&e.shiftKey&&s(!i)};return window.addEventListener("keydown",e),()=>{window.addEventListener("keydown",e)}},[i]),0===d.length)?null:1===d.length?(0,tS.jsx)("a",{href:b?"".concat(j):void 0,className:"".concat(y),children:(0,tS.jsx)("div",{role:"shell",className:"global-alert-banner ".concat(g),children:(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"global-alert-banner__wrapper",children:[(0,tS.jsx)(tD.H,{field:null===(n=d[0])||void 0===n?void 0:null===(l=n.fields)||void 0===l?void 0:l.Description,editable:!1,tag:"p",className:"global-alert-banner__text"}),(0,tS.jsx)("div",{className:"global-alert-banner__wrapper-page",children:N(d[0])})]})})})})}):(0,tS.jsx)("span",{tabIndex:0,className:"".concat(y),onClick:e=>{b&&"A"!==e.target.tagName&&(e.preventDefault(),e.stopPropagation(),window.location.href=j)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&b&&"A"!==e.target.tagName&&(e.preventDefault(),e.stopPropagation(),window.location.href=j)},children:(0,tS.jsx)("div",{className:"global-alert-banner ".concat(g),children:(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"global-alert-banner__wrapper",children:[(0,tS.jsx)(aj.tq,{loop:!0,autoplay:{delay:1e4,disableOnInteraction:!1},onSwiper:e=>{r.current=e},onSlideChange:e=>c(e.realIndex),pagination:{clickable:!0},modules:[aN.pt,aN.W_],children:d.map((e,t)=>{var a;return(0,tS.jsx)(aj.o5,{"aria-live":"polite",children:(0,tS.jsx)(tD.H,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Description,editable:!1,tag:"p",className:"global-alert-banner__text"})},t)})}),(0,tS.jsxs)("div",{className:"global-alert-banner__wrapper-page",children:[(0,tS.jsxs)("div",{className:"global-alert-banner__pagination",children:[(0,tS.jsx)("button",{className:"button-arrow left-arrow","aria-label":"Previous",onClick:e=>{e.preventDefault(),e.stopPropagation(),h()}}),(0,tS.jsx)("span",{className:"global-alert-banner__page","aria-live":"polite","aria-label":"Current page: ".concat(o%d.length+1," of ").concat(d.length),children:"".concat(o%d.length+1,"/").concat(d.length)}),(0,tS.jsx)("button",{className:"button-arrow right-arrow","aria-label":"Next",onClick:e=>{e.preventDefault(),e.stopPropagation(),v()}})]}),(0,tS.jsx)("div",{className:"global-alert-banner__play",onClick:e=>{e.preventDefault(),e.stopPropagation(),s(!i)},tabIndex:0,role:"button","aria-label":i?"Pause autoplay. Press shift + P to pause the gloabl alert banner.":"Resume Autoplay. Press shift + P to resume the global alert banner",onKeyDown:e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),e.stopPropagation(),s(!i))},children:i?(0,tS.jsxs)("svg",{role:"pause-icon",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("circle",{fill:"#FFFFFF",cx:"12",cy:"12",r:"12"}),(0,tS.jsx)("rect",{fill:"#002955",x:"9",y:"8",width:"2",height:"8"}),(0,tS.jsx)("rect",{fill:"#002955",x:"13",y:"8",width:"2",height:"8"})]}):(0,tS.jsxs)("svg",{role:"play-icon",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("circle",{fill:"#FFFFFF",cx:"12",cy:"12",r:"12"}),(0,tS.jsx)("path",{fill:"#002955",d:"M10 8v8l6-4z"})]})}),N(d[o])]})]})})})})})},lu=e=>{let[t,a]=(0,tk.useState)(""),[l,n]=(0,tk.useState)(!1),i=(0,tk.useRef)(null),s=l||t.length>0,r=e.isMobile?"mobile-search":"desktop-search",o=e.isMobile?(0,tS.jsx)("span",{className:"sr-only",children:"Search"}):(0,tS.jsx)("span",{className:"btn btn-primary arrow desktop-only",children:"Search"});return(0,tk.useEffect)(()=>{var e;null==i||null===(e=i.current)||void 0===e||e.focus()},[]),(0,tk.useEffect)(()=>{if(e.isMobile)return;let t=e=>{if("Tab"!==e.key)return;let t=document.querySelector(".site-search-frame.search-shown");if(!t)return;let a=Array.from(t.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(e=>null!==e.offsetParent);if(0===a.length)return;let l=a[0],n=a[a.length-1];e.shiftKey?document.activeElement===l&&(e.preventDefault(),n.focus()):document.activeElement===n&&(e.preventDefault(),l.focus())};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[e.isMobile]),(0,tS.jsx)(tS.Fragment,{children:(0,tS.jsxs)("form",{action:"/",method:"post",className:e.isMobile?"mobile-search":"",onSubmit:function(e){e.preventDefault(),document.location.href="/search-results?searchValue=".concat(encodeURIComponent(t).replaceAll("%20","+"))},children:[(0,tS.jsxs)("div",{className:"animated-labels ".concat(s?"active":""),children:[(0,tS.jsx)("label",{htmlFor:r,className:"animated-label",children:"What are you looking for?"}),(0,tS.jsx)("input",{ref:i,type:"search",id:r,name:"search","aria-label":"Search (press ESC to clear)",onChange:function(e){a(e.target.value)},onFocus:()=>n(!0),onBlur:()=>n(!1),value:t,tabIndex:e.tabIndex})]}),(0,tS.jsxs)("button",{type:"submit",className:"search-submit","aria-label":"Submit Search",tabIndex:e.tabIndex,children:[o,(0,tS.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"img",className:"mobile-only",children:[(0,tS.jsx)("title",{children:"Icon for Search"}),(0,tS.jsxs)("g",{transform:"translate(4 4)",stroke:"#002955",strokeWidth:"1.5",fill:"none",fillRule:"evenodd",strokeLinecap:"round",children:[(0,tS.jsx)("circle",{cx:"6.5",cy:"6.5",r:"6.5"}),(0,tS.jsx)("path",{d:"m11.5 11.5 4.243 4.243"})]})]})]})]})})};var lm=function(e,t,a){let l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];tk.useEffect(()=>{let n=l=>{var n;t&&(null==e?void 0:null===(n=e.current)||void 0===n?void 0:n.contains)&&!e.current.contains(l.target)&&a(l)},i=l=>{var n;t&&(null==e?void 0:null===(n=e.current)||void 0===n?void 0:n.contains)&&!e.current.contains(l.target)&&a(l)};return document.addEventListener("mousedown",n),l&&document.addEventListener("mouseleave",i),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("mouseleave",i)}},[t,a,e,l])},lv=a(1955);let lh=(a(3454).env.MEDIA_BASE_URL||"").trim().toLowerCase(),lp=e=>{var t;return(null==e?void 0:null===(t=e.toLowerCase())||void 0===t?void 0:t.startsWith("".concat(lh)))?e.replace("".concat(lh),""):e},lx=tL().publicUrl,lg=null,lf=null,lj=()=>{lg&&(document.removeEventListener("keydown",lg),lg=null),lf&&(document.removeEventListener("mousedown",lf),lf=null)},lb=()=>{lj(),setTimeout(()=>{let e=document.querySelector('.main-nav li[aria-label="Open"]');if(e){let t=e.querySelector("a");null==t||t.classList.add("open-menu-popup");let a=e.querySelector(".submenu");if(!a)return;let l=Array.from(a.querySelectorAll('a[href], button, input, [tabindex]:not
1([tabindex="-1"])')).filter(e=>null!==e.offsetParent||e.offsetWidth>0||e.offsetHeight>0);if(l.length>0){let a=l[0],n=l[l.length-1];a.focus();let i=e=>{"Tab"===e.key&&(null==t||t.classList.remove("open-menu-popup"),e.shiftKey?document.activeElement===a&&(e.preventDefault(),n.focus()):document.activeElement===n&&(e.preventDefault(),a.focus()))};document.addEventListener("keydown",i);let s=t=>{e.contains(t.target)||(document.removeEventListener("keydown",i),document.removeEventListener("mousedown",s))};document.addEventListener("mousedown",s)}}},10)},ly=()=>{let e=document.querySelector(".mobile-menu-toggle-in-list");return e&&e.offsetWidth>0?e:document.querySelector(".mobile-container .mobile-menu-toggle")},lN=()=>document.querySelector(".main-nav .mobile-find-agency")||document.querySelector(".main-nav .mobile-log-in"),l_=e=>{var t,a;return!!("Tab"===e.key&&document.body.classList.contains("mobile-nav-shown"))&&(e.preventDefault(),e.shiftKey?null===(t=lN())||void 0===t||t.focus():null===(a=document.querySelector('.mobile-search input[type="search"]'))||void 0===a||a.focus(),!0)},lC=e=>{if(!(window.innerWidth>1150)&&document.body.classList.contains("mobile-nav-shown")){if("Escape"===e.key){lk();return}if("Tab"===e.key){let t=document.querySelector(".mobile-search input"),a=ly(),l=lN();e.shiftKey&&document.activeElement===t&&a?(e.preventDefault(),a.focus()):!e.shiftKey&&document.activeElement===l&&a&&(e.preventDefault(),a.focus())}}},lw=()=>{window.innerWidth<=1150&&document.querySelectorAll(".main-nav a, .main-nav button, .sub-menu-toggle, .mobile-search input, .mobile-search button").forEach(e=>{e.setAttribute("tabIndex","-1"),e.setAttribute("aria-hidden","true")})},lA=()=>{if(window.innerWidth<=1150){document.querySelectorAll(".main-nav a, .main-nav button, .sub-menu-toggle, .mobile-search input, .mobile-search button").forEach(e=>{e.removeAttribute("tabIndex"),e.setAttribute("aria-hidden","false")});let e=document.querySelector(".mobile-container .mobile-menu-toggle");e&&e.focus()}},lE=()=>{if(window.innerWidth<=1150){document.querySelectorAll(".main-nav a, .main-nav button, .sub-menu-toggle, .mobile-search input, .mobile-search button").forEach(e=>{e.setAttribute("tabIndex","-1"),e.setAttribute("aria-hidden","true")});let e=document.querySelector(".mobile-menu-toggle");e&&e.focus()}},lS=()=>{let e=document.querySelector("body");null==e||e.classList.remove("skip-close-delay"),null==e||e.classList.add("mobile-nav-shown"),lA(),setTimeout(()=>{let e=document.querySelector(".mobile-container .mobile-menu-toggle");if(e&&document.activeElement!==e){let e=document.querySelector(".mobile-menu-toggle-in-list"),t=document.querySelector('.main-nav li[aria-label="Open"]');e&&e.offsetWidth>0&&!t&&e.focus()}},300),lb()},lk=()=>{let e=document.querySelector("body"),t=document.querySelectorAll(".has-sub"),a=document.querySelector(".mobile-menu-toggle-in-list");a&&(a.style.display="none"),null==e||e.classList.remove("mobile-nav-shown"),setTimeout(()=>{a&&(a.style.display="")},300),null==t||t.forEach(e=>{var t;null===(t=e.classList)||void 0===t||t.remove("sub-menu-shown","active"),e.setAttribute("aria-expanded","false")}),lE(),lj();let l=document.querySelector('.main-nav li[aria-label="Open"]');if(l){let e=l.querySelector("a");null==e||e.classList.remove("open-menu-popup"),null==e||e.blur()}},lI=()=>{var e;let t=document.querySelector("body");(null==t?void 0:null===(e=t.classList)||void 0===e?void 0:e.contains("mobile-nav-shown"))?lk():lS()},lL=(e,t)=>{let a=e.target;document.querySelectorAll(".has-sub").forEach(l=>{if(l==a||l.contains(a)){if(a.classList.contains("sub-menu-back")||a.classList.contains("submenu-overlay")||a.closest(".sub-menu-close")){l.classList.remove("sub-menu-shown","active"),l.setAttribute("aria-expanded","false");let e=document.querySelector("body");null==e||e.classList.remove("mobile-nav-shown")}else l.classList.add("sub-menu-shown","active"),l.setAttribute("aria-expanded","true"),lb(),t(a.dataset.key)}else"mouseout"==e.type&&((a=e.relatedTarget).classList.add("sub-menu-shown","active"),a.setAttribute("aria-expanded","true"),t(a.dataset.key))})},lD=(e,t)=>{let a=e.target,l=a.closest?a.closest(".has-sub"):null;
1l?(l.classList.remove("sub-menu-shown","active"),l.setAttribute("aria-expanded","false")):e.target==window.document&&(lk(),t())},lF=e=>{var t;switch(null===(t=e.template)||void 0===t?void 0:t.name){case"Column4MenuSection":return(0,tS.jsx)(lT,{...e});case"Column4GutterMenuSection":return(0,tS.jsx)(lP,{...e});case"Column1ArticlesMenuSection":return(0,tS.jsx)(lH,{...e});case"Column1IconsMenuSection":return(0,tS.jsx)(lM,{...e})}return(0,tS.jsx)(tS.Fragment,{})},lT=e=>{var t,a,l,n,i,s;let r=e.children.results.map((t,a)=>(0,tk.createElement)(lq,{...t,key:a,onLinkClicked:t=>e.onNavigate&&e.onNavigate(t)})),o=tk.useRef(null);return lm(o,e.isHovered,t=>{e.onMouseLeave&&e.onMouseLeave(t,e)},!0),(0,tS.jsxs)("li",{ref:o,"data-key":e.PrimaryMenuLink.jsonValue.value.text,className:"has-sub ".concat(e.isHovered?"active sub-menu-shown":""),onKeyDown:t=>e.onKeyDown&&e.onKeyDown(t,e),onClick:t=>e.onClick&&e.onClick(t.nativeEvent,e),onMouseLeave:t=>e.onMouseLeave&&e.onMouseLeave(t.nativeEvent,e),onMouseEnter:t=>e.onMouseEnter&&e.onMouseEnter(t.nativeEvent,e),"aria-label":e.isHovered?"Open":"Closed. Press Space to open Menu.",children:[(0,tS.jsx)(ad,{field:e.PrimaryMenuLink.jsonValue}),(0,tS.jsx)(lG,{subMenuName:(null===(l=e.PrimaryMenuLink)||void 0===l?void 0:null===(a=l.jsonValue)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.text)||""}),(0,tS.jsx)("div",{className:"submenu-overlay"}),(0,tS.jsxs)("div",{className:"submenu",onMouseLeave:lB,children:[(0,tS.jsxs)("div",{className:"sub-menu-top-row",children:[(0,tS.jsx)(lU,{onClick:t=>e.onBack&&e.onBack(t.nativeEvent,e)}),(0,tS.jsx)(lW,{onClick:()=>e.onClose&&e.onClose()})]}),(0,tS.jsx)("h1",{className:"mobile-nav-header",children:null===(s=e.PrimaryMenuLink)||void 0===s?void 0:null===(i=s.jsonValue)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.text}),(0,tS.jsx)("div",{className:"submenu-frame",children:(0,tS.jsx)("ul",{children:r})})]})]})},lB=()=>{window.innerWidth>1150&&lk()},lP=e=>{var t,a,l,n,i,s;let r=e.children.results.filter(e=>{var t;return(null===(t=e.template)||void 0===t?void 0:t.name)!=="GutterColumn"}).map((t,a)=>(0,tk.createElement)(lR,{...t,key:a,onLinkClicked:t=>e.onNavigate&&e.onNavigate(t)})),o=e.children.results.filter(e=>{var t;return(null===(t=e.template)||void 0===t?void 0:t.name)==="GutterColumn"}).map((t,a)=>(0,tk.createElement)(lO,{...t,key:a,onLinkClicked:t=>e.onNavigate&&e.onNavigate(t)})),c=tk.useRef(null);return lm(c,e.isHovered,t=>{e.onMouseLeave&&e.onMouseLeave(t,e)},!0),(0,tS.jsxs)("li",{ref:c,"data-key":e.PrimaryMenuLink.jsonValue.value.text,className:"has-sub ".concat(e.isHovered?"active sub-menu-shown":""),onKeyDown:t=>e.onKeyDown&&e.onKeyDown(t,e),onClick:t=>e.onClick&&e.onClick(t.nativeEvent,e),onMouseEnter:t=>e.onMouseEnter&&e.onMouseEnter(t.nativeEvent,e),"aria-label":e.isHovered?"Open":"Closed. Press Space to open Menu.",children:[(0,tS.jsx)(ad,{field:e.PrimaryMenuLink.jsonValue}),(0,tS.jsx)(lG,{subMenuName:(null===(l=e.PrimaryMenuLink)||void 0===l?void 0:null===(a=l.jsonValue)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.text)||""}),(0,tS.jsx)("div",{className:"submenu-overlay"}),(0,tS.jsxs)("div",{className:"submenu",onMouseLeave:lB,children:[(0,tS.jsxs)("div",{className:"sub-menu-top-row",children:[(0,tS.jsx)(lU,{onClick:t=>e.onBack&&e.onBack(t.nativeEvent,e)}),(0,tS.jsx)(lW,{onClick:()=>e.onClose&&e.onClose()})]}),(0,tS.jsx)("h1",{className:"mobile-nav-header",children:null===(s=e.PrimaryMenuLink)||void 0===s?void 0:null===(i=s.jsonValue)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.text}),(0,tS.jsx)("div",{className:"submenu-frame",children:(0,tS.jsxs)("ul",{className:"insurance-options",children:[r,(0,tS.jsxs)("li",{className:"aux-menu",children:[(0,tS.jsx)("h2",{className:"group-title alt-title",children:e.GutterHeading.value}),(0,tS.jsx)("ul",{children:o})]}),(0,tS.jsx)("li",{className:"all-insurance",children:(0,tS.jsx)(ad,{field:e.ViewAllLink.jsonValue,className:"btn menu-btn arrow",onClick:t=>e.onNavigate&&e.onNavigate(t.nativeEvent)})})]})})]})]})},lH=e=>{var t,a,l,n,i,s;let r=e.children.results.map((t,a)=>(0,tk.createElement)(lq,{...t,key:a,onLinkClicked:t=>e.onNavigate&&e.onNavigate(t)})),o=e.Articles.jsonValue.map((t,a)=>(0,tS.jsx)("li",{children:(0,tS.jsxs)("a",{href:t.url,onClick:t=>e.onNavigate&&e.onNavigate(t.nativeEvent),children:[(0,tS.jsx)(tF.E,{class:"nav-image",field:t.fields.AbstractImage,height:"108",width:"170",imageParams:{w:170,h:108,mw:170,mh:108}}),(0,tS.jsx)(am.x,{field:t.fields.AbstractTitle})]})},a)),c=tk.useRef(null);return lm(c,e.isHovered,t=>{e.onMouseLeave&&e.onMouseLeave(t,e)},!0),(0,tS.jsxs)("li",{ref:c,"data-key":e.PrimaryMenuLink.jsonValue.value.text,className:"has-sub ".concat(e.isHovered?"active sub-menu
1-shown":""),onKeyDown:t=>e.onKeyDown&&e.onKeyDown(t,e),onClick:t=>e.onClick&&e.onClick(t.nativeEvent,e),onMouseEnter:t=>e.onMouseEnter&&e.onMouseEnter(t.nativeEvent,e),"aria-label":e.isHovered?"Open":"Closed. Press Space to open Menu.",children:[(0,tS.jsx)(ad,{field:e.PrimaryMenuLink.jsonValue}),(0,tS.jsx)(lG,{subMenuName:(null===(l=e.PrimaryMenuLink)||void 0===l?void 0:null===(a=l.jsonValue)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.text)||""}),(0,tS.jsx)("div",{className:"submenu-overlay"}),(0,tS.jsxs)("div",{className:"submenu",onMouseLeave:lB,children:[(0,tS.jsxs)("div",{className:"sub-menu-top-row",children:[(0,tS.jsx)(lU,{onClick:t=>e.onBack&&e.onBack(t.nativeEvent,e)}),(0,tS.jsx)(lW,{onClick:()=>e.onClose&&e.onClose()})]}),(0,tS.jsx)("h1",{className:"mobile-nav-header",children:null===(s=e.PrimaryMenuLink)||void 0===s?void 0:null===(i=s.jsonValue)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.text}),(0,tS.jsxs)("div",{className:"submenu-frame alternate",children:[r,(0,tS.jsx)("div",{className:"aux-menu-ul aux-menu",children:(0,tS.jsxs)("div",{className:"featured-section",children:[(0,tS.jsx)("h2",{className:"group-title alt-title",children:(0,tS.jsx)(am.x,{field:e.ArticlesHeading})}),(0,tS.jsx)("ul",{className:"featured-cards",children:o})]})})]})]})]})},lM=e=>{var t,a,l,n,i,s,r;let o=e.children.results.map((t,a)=>(0,tk.createElement)(lq,{...t,key:a,onLinkClicked:t=>e.onNavigate&&e.onNavigate(t)})),c=null===(t=e.Icons)||void 0===t?void 0:t.jsonValue.map((t,a)=>{var l,n,i;return(0,tS.jsx)("li",{className:"list-item-menu",children:(0,tS.jsxs)(au,{field:t.fields.IconLink,"aria-label":null===(l=t.fields.IconLink)||void 0===l?void 0:l.value.text,onClick:t=>e.onNavigate&&e.onNavigate(t.nativeEvent),children:[(0,tS.jsx)("span",{className:"icon-primary",dangerouslySetInnerHTML:{__html:"".concat(null===(i=t.fields)||void 0===i?void 0:null===(n=i.IconSvg)||void 0===n?void 0:n.value," ")}}),(0,tS.jsx)("span",{className:"link-title",children:t.displayName})]})},a)}),d=tk.useRef(null);return lm(d,e.isHovered,t=>{e.onMouseLeave&&e.onMouseLeave(t,e)},!0),(0,tS.jsxs)("li",{ref:d,"data-key":e.PrimaryMenuLink.jsonValue.value.text,className:"has-sub ".concat(e.isHovered?"active sub-menu-shown":""),onKeyDown:t=>e.onKeyDown&&e.onKeyDown(t,e),onClick:t=>e.onClick&&e.onClick(t.nativeEvent,e),onMouseEnter:t=>e.onMouseEnter&&e.onMouseEnter(t.nativeEvent,e),"aria-label":e.isHovered?"Open":"Closed. Press Space to open Menu.",children:[(0,tS.jsx)(ad,{field:e.PrimaryMenuLink.jsonValue}),(0,tS.jsx)(lG,{subMenuName:(null===(n=e.PrimaryMenuLink)||void 0===n?void 0:null===(l=n.jsonValue)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.text)||""}),(0,tS.jsx)("div",{className:"submenu-overlay"}),(0,tS.jsxs)("div",{className:"submenu",onMouseLeave:lB,children:[(0,tS.jsxs)("div",{className:"sub-menu-top-row",children:[(0,tS.jsx)(lU,{onClick:t=>e.onBack&&e.onBack(t.nativeEvent,e)}),(0,tS.jsx)(lW,{onClick:()=>e.onClose&&e.onClose()})]}),(0,tS.jsx)("h1",{className:"mobile-nav-header",children:null===(r=e.PrimaryMenuLink)||void 0===r?void 0:null===(s=r.jsonValue)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.text}),(0,tS.jsxs)("div",{className:"submenu-frame alternate",children:[o,(0,tS.jsxs)("div",{className:"icon-primary-ul aux-menu alternate",children:[(0,tS.jsx)("h2",{className:"group-title alt-title",children:(0,tS.jsx)(am.x,{field:e.IconsHeading})}),(0,tS.jsx)("ul",{className:"icon-cards",children:c})]})]})]})]})},lq=e=>{var t;let a=e.children.results.map((t,a)=>(0,tk.createElement)(lV,{...t,key:a,onClick:t=>e.onLinkClicked&&e.onLinkClicked(t)})),l=null===(t=e.Heading)||void 0===t?void 0:t.jsonValue,n=[{name:"Blog",tabId:"blog"},{name:"Education",tabId:"education"},{name:"Tools",tabId:"tools"}].filter(t=>e.children.results.some(e=>{var a,l;return((null===(l=e.MenuLink.link)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.text)||"").toLowerCase()===t.name.toLowerCase()}));return(0,tS.jsx)("div",{className:"submenu-frame-ul",children:(0,tS.jsxs)("div",{className:"submenu-frame-div",children:[(0,tS.jsx)("h2",{className:"group-title",children:(0,tS.jsx)(am.x,{field:l})}),(0,tS.jsx)("ul",{children:n.length>0?n.map(t=>(0,tS.jsx)("li",{children:(0,tS.jsx)("a",{href:"/blog?tab=".concat(t.tabId),className:"menu-link",onClick:t=>e.onLinkClicked&&e.onLinkClicked(t.nativeEvent),children:t.name})},t.tabId)):a})]})})},lR=e=>{var t;let a=e.children.results.map((t,a)=>(0,tk.createElement)(lV,{...t,key:a,onClick:t=>e.onLinkClicked&&e.onLinkClicked(t)})),l=null===(t=e.Heading)||void 0===t?void 0:t.jsonValue,n=[{name:"Blog",tabId:"blog"},{name:"Education",tabId:"education"},{name:"Tools",tabId:"tools"}].filter(t=>e.children.results.some(e=>{var a,l;return((null===(l=e.MenuLink.link)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.text)||"").toLowerCase()===t.name.toLowerCase()}));return(0,tS.jsxs)("li",{children:[(0,tS.jsx)("h2",{className:"group-title",children:(0,tS.jsx)(am.x,{field:l})}),(0,tS.jsx)("ul",{children:n.length>0?n.map(t=>(0,tS.jsx)("li",{children:(0,tS.jsx)("a",{href:"/blog?tab=".concat(t.tabId),className:"menu-link",onClick:t=>e.onLinkClicked&&e.onLinkClicked(t.nativeEvent),children:t.name})},t.tabId)):a})]})},lO=e=>{var t,a,l,n,i;let s=e.children.results.map((t,a)=>(0,tk.createElement)(lV,{...t,key:a,onClick:t=>e.onLinkClicked&&e.onLinkClicked(t)})),r=null===(t=e.Heading)||void 0===t?void 0:t.jsonValue;return(0,tS.jsxs)("li",{children:[(null==r?void 0:null===(a=r.value)||void 0===a?void 0:a.href)&&(0,tS.jsx)(ad,{field:r,className:"group-category"}),(0,tS.jsxs)("ul",{children:[s,(null===(i=e.MoreLink)||void 0===i?void 0:null===(n=i.jsonValue)||void 0===n?void 0:null===(l=n.value)||void 0===l?void 0:l.href)&&(0,tS.jsx)("li",{children:(0,tS.jsx)(ad,{field:e.MoreLink.jsonValue,className:"more-categories",onClick:t=>e.onLinkClicked&&e.onLinkClicked(t.nativeEvent)})})]})]})},lV=e=>{var t,a;let l=null===(a=e.MenuLink)||void 0===a?void 0:null===(t=a.link)||void 0===t?void 0:t.value;return(null==l?void 0:l.href)?(0,tS.jsx)("li",{children:(0,tS.jsx)(ad,{field:e.MenuLink.link,onClick:t=>{e.onClick&&e.onClick(t.nativeEvent)}})}):null},lG=e=>
1(0,tS.jsxs)("button",{className:"sub-menu-toggle",onClick:t=>e.onClick&&e.onClick(t),children:[(0,tS.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:(0,tS.jsx)("path",{fillRule:"evenodd",d:"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"})}),(0,tS.jsxs)("span",{className:"sr-only",children:["Toggle sub menu for ",e.subMenuName]})]}),lU=e=>(0,tS.jsxs)("button",{className:"sub-menu-back",onClick:t=>{t.stopPropagation(),e.onClick&&e.onClick(t)},children:[(0,tS.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:[(0,tS.jsx)("title",{children:"Arrow pointing left"}),(0,tS.jsx)("g",{stroke:"#002955",strokeWidth:"1.5",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",children:(0,tS.jsx)("path",{d:"m10 7-5 5 5 5M19 12H6"})})]}),"Back"]}),lW=e=>(0,tS.jsx)("button",{className:"sub-menu-close","aria-label":"Close Menu",onClick:t=>{t.stopPropagation(),e.onClick&&e.onClick(t)},children:(0,tS.jsxs)("span",{className:"mobile-nav-toggle",children:[(0,tS.jsx)("span",{}),(0,tS.jsx)("span",{}),(0,tS.jsx)("span",{})]})});var lZ=(0,af.C)()(e=>{var t,a,l,n,i,s,r,o,c,d,u,m,v,h,p,x,g,f,j,b,y,N,_,C,w;let[A,E]=(0,tk.useState)(""),[S,k]=(0,tk.useState)(!1),[I,L]=(0,tk.useState)(!1),[D,F]=(0,tk.useState)(!1),[T,B]=(0,tk.useState)(-1),[P,H]=(0,tk.useState)(!0),[M,q]=(0,tk.useState)(tq.F),[R,O]=(0,tk.useState)(null),V=(0,tk.useRef)(!1),G=tk.useCallback(()=>{let e=document.querySelector(".site-search-frame"),t=document.querySelector(".show-search");if(e&&e.classList.add("search-shown"),t){t.classList.add("active"),F(!0),B(0),H(!0);let e=document.querySelector(".header-search-input");e&&e.focus()}},[F,B,H]),U=tk.useCallback(()=>{let e=document.querySelector(".site-search-frame"),t=document.querySelector(".show-search");if(e&&e.classList.remove("search-shown"),t){t.classList.remove("active"),F(!1),B(-1),H(!1);let e=document.querySelector(".show-search");e&&e.focus()}},[F,B,H]);(0,tk.useEffect)(()=>{let e="/"===window.location.pathname,t=()=>{var e;let t=null===(e=document.scrollingElement)||void 0===e?void 0:e.scrollTop;t&&t>2?k(!1):k(!0)},a=()=>{lk(),U()},l=()=>{O(null),lk()};return lw(),window.addEventListener("resize",a),window.addEventListener("beforeunload",l),window.addEventListener("keydown",lC),e&&(k(!0),document.addEventListener("scroll",t)),()=>{document.removeEventListener("scroll",t),window.removeEventListener("resize",a),window.removeEventListener("beforeunload",l),window.addEventListener("keydown",lC),lk(),O(null)}},[U]);let W=tk.useRef(null),Z=null===(t=e.fields.data.datasource)||void 0===t?void 0:t.children.results.map((e,t)=>(0,tk.createElement)(lF,{...e,key:t,isHovered:R==e.name,onClick:(e,t)=>{W.current!=e&&(W.current=e,console.log("click"),lL(e,e=>{O(e||t.name)}))},onMouseEnter:(e,t)=>{W.current=e,lS(),lL(e,e=>{O(e||t.name)})},onMouseLeave:e=>{W.current=e,lD(e,()=>{O(null),L(!1)})},onNavigate:e=>{W.current=e,lk(),lD(e,()=>{O(null),L(!1)}),O(null),L(!1)},onBack:e=>{var t;null===(t=document.body)||void 0===t||t.classList.add("skip-close-delay");let a=e.target,l=a.closest?a.closest(".has-sub"):null;l&&(l.classList.remove("sub-menu-shown","active"),l.setAttribute("aria-expanded","false")),O(null)},onClose:()=>{var e;null===(e=document.body)||void 0===e||e.classList.add("skip-close-delay"),document.querySelectorAll(".has-sub").forEach(e=>{e.classList.remove("sub-menu-shown","active"),e.setAttribute("aria-expanded","false")}),O(null)},onKeyDown:(e,t)=>{" "==e.key&&(R==t.name?(lD(e.nativeEvent,()=>{O(null),L(!1)}),O(null),L(!1)):lL(e.nativeEvent,e=>{O(e||t.name)}),e.stopPropagation())}}));(0,tk.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("gclid");e&&(lv.Z.remove("gclid"),lv.Z.set("gclid",e))},[]),(0,tk.useEffect)(()=>{(async()=>{if(!V.current){var t,a,l,n;V.current=!0;let i=await aE.c.getBrowserId(),s=await aE.c.getGuestId(),r=(null===(n=e.fields.data.datasource)||void 0===n?void 0:null===(l=n.LoginLink)||void 0===l?void 0:null===(a=l.link)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.href)+(i?"&bid=".concat(i):"")+(s?"&gid=".concat(s):"");E(r),console.log("LoginUrl: ",r),q(await (0,tq.o)().catch(()=>tq.F))}})()},[e]);let z=()=>{L(!I),lI()};return(0,tS.jsx)("div",{className:"header-frame ".concat(S?"hero-homepage":""),style:{...S?{backgroundImage:"url(".concat(lx,"/erie-background.png)")}:""},children:(0,tS.jsxs)("div",{className:"header-wrapper",children:[(0,tS.jsxs)("a",{href:"/",className:"header-logo ".concat(S?"header-logo-white":""," desktop-only"),"aria-label":"Home",children:[S?(0,tS.jsx)(aq.Q,{src:lp((null===(i=e.fields.data.datasource)||void 0===i?void 0:null===(n=i.LogoWhiteSvg)||void 0===n?void 0:null===(l=n.media)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.src)||"")}):(0,tS.jsx)(aq.Q,{src:lp((null===(c=e.fields.data.datasource)||void 0===c?void 0:null===(o=c.LogoSvg)||void 0===o?void 0:null===(r=o.media)||void 0===r?void 0:null===(s=r.value)||void 0===s?void 0:s.src)||"")}),(0,tS.jsx)("span",{className:"sr-only",children:"ERIE Insurance"})]}),(0,tS.jsxs)("a",{href:"/",className:"header-logo mobile-only","aria-label":"Home",children:[(0,tS.jsx)(aq.Q,{src:lp((null===(v=e.fields.data.datasource)||void 0===v?void 0:null===(m=v.LogoSvg)||void 0===m?void 0:null===(u=m.media)||void 0===u?void 0:null===(d=u.value)||void 0===d?void 0:d.src)||"")}),(0,tS.jsx)("span",{className:"sr-only",children:"ERIE Insurance"})]}),(0,tS.jsx)("nav",{"aria-label":"main site navigation",id:"mobile-menu",children:(0,tS.jsxs)("ul",{className:"main-nav",children:[(0,tS.jsx)("li",{className:"mobile-only mobile-menu-close-row",children:(0,tS.jsx)("button",{className:"mobile-menu-toggle mobile-menu-toggle-in-list","aria-label":"Close Menu","aria-expanded":!0,"aria-controls":"mobile-menu",onClick:z,type:"button",onKeyDown:e=>{l_(e)&&e.nativeEvent.stopImmediatePropagation()},children:(0,tS.jsxs)("span",{className:"mobile-nav-toggle",children:[(0,tS.jsx)("span",{}),(0,tS.jsx)("span",{}),(0,tS.jsx)("span",{})]})})}),(0,tS.jsx)("li",{className:"mobile-only mobile-search",children:(0,tS.jsx)(lu,{isMobile:!0,tabIndex:T,ariaHidden:P})}),(0,tS.jsx)("li",{className:"has-sub",style:{visibility:"hidden",padding:"0"}}),Z,(0,tS.jsxs)("li",{className:"mobile-nav-items",children:[(null==M?void 0:M.isLoggedIn)?(0,tS.jsx)("a",{href:"".concat(null===(g=e.fields.data.datasource)||void 0===g?void 0:null===(x=g.ProfileLink)||void 0===x?void 0:null===(p=x.link)||void 0===p?void 0:null===(h=p.value)||void 0===h?void 0:h.href),className:"mobile-log-in","aria-label":"My Profile",children:"My Profile"}):(0,tS.jsx)("a",{href:A,className:"mobile-log-in","aria-label":"Login",children:"Login"}),(0,tS.jsx)(lt,{className:"mobile-find-agency",link:null===(j=e.fields.data.datasource)||void 0===j?void 0:null===(f=j.FindAnAgencyLink)||void 0===f?void 0:f.link})]})]})}),(0,tS.jsxs)("section",{className:"site-search",role:D?"dialog":void 0,"aria-label":D?"site search":void 0,"aria-modal":D?"true":void 0,children:[(0,tS.jsxs)("button",{className:"show-search","aria-label":"Open Search",onClick:G,...D&&{"aria-hidden":!0,tabIndex:-1},children:[(0,tS.jsx)("span",{className:"sr-only",children:"Show Search"}),(0,tS.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,tS.jsxs)("g",{transform:"translate(4 4)",stroke:"#002955",strokeWidth:"1.5",fill:"none",fillRule:"evenodd",strokeLinecap:"round",children:[(0,tS.jsx)("circle",{cx:"6.5",cy:"6.5",r:"6.5"}),(0,tS.jsx)("path",{d:"m11.5 11.5 4.243 4.243"})]})})]}),(0,tS.jsx)("div",{className:"site-search-frame",tabIndex:D?0:-1,children:(0,tS.jsxs)("div",{className:"component-frame",children:[(0,tS.jsxs)("button",{className:"close close-search","aria-label":"Close Search",tabIndex:D?0:-1,onClick:U,children:[(0,tS.jsx)("span",{className:"sr-only",children:"Close Search"}),(0,tS.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,tS.jsx)("title",{children:"Close Icon"}),(0,tS.jsx)("g",{stroke:"#002955",strokeWidth:"1.5",fill:"none",fillRule:"evenodd",strokeLinecap:"round",children:(0,tS.jsx)("path",{d:"M18 6 6 18M6 6l12 12"})})]})]}),(0,tS.jsx)(lu,{isMobile:!1,tabIndex:T,ariaHidden:P})]})})]}),(null==M?void 0:M.isLoggedIn)?(0,tS.jsx)("div",{className:"profile-account",children:(0,tS.jsx)("a",{href:"".concat(null===(_=e.fields.data.datasource)||void 0===_?void 0:null===(N=_.ProfileLink)||void 0===N?void 0:null===(y=N.link)||void 0===y?void 0:null===(b=y.value)||void 0===b?void 0:b.href),"aria-label":"My Profile",className:"profile-account-link",children:(0,tS.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,tS.jsxs)("g",{stroke:"#002955","stroke-width":"1.5",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("path",{d:"M12 1.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"}),(0,tS.jsx)("path",{d:"M16.488 9.938a4.488 4.488 0 1 1-8.976 0 4.488 4.488 0 0 1 8.976 0z"}
1),(0,tS.jsx)("path",{d:"M3.89 18.682c.867-2.423 4.169-4.227 8.11-4.227 3.93 0 7.224 1.794 8.102 4.206"})]})})})}):(0,tS.jsx)("a",{href:A,className:"log-in","aria-label":"Login",children:"Login"}),(0,tS.jsxs)("div",{className:"mobile-container",children:[(0,tS.jsx)(lt,{className:"find-agency",link:null===(w=e.fields.data.datasource)||void 0===w?void 0:null===(C=w.FindAnAgencyLink)||void 0===C?void 0:C.link}),(0,tS.jsx)("button",{className:"mobile-menu-toggle","aria-label":I?"Close Menu":"Open Menu","aria-expanded":I,"aria-controls":"mobile-menu",onClick:z,onKeyDown:e=>{l_(e)&&e.nativeEvent.stopImmediatePropagation()},children:(0,tS.jsxs)("span",{className:"mobile-nav-toggle",children:[(0,tS.jsx)("span",{}),(0,tS.jsx)("span",{}),(0,tS.jsx)("span",{})]})})]})]})})});let lz=e=>{var t;return console.log("Help: ",e),(0,tS.jsx)("div",{className:"component-frame ".concat(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles),children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"help",children:[(0,tS.jsx)("p",{className:"help__question",children:"Have questions or need help paying your bill?"}),(0,tS.jsx)("p",{className:"help__text",children:"Visit the billing and payment support page for additional payment options and FAQs."}),(0,tS.jsx)("a",{href:"#",className:"help__link",children:"View billing support"})]})})})};function lQ(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:lz})}let lY=tL().publicUrl,lK=e=>{var t,a,l,n,i;let s=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles.includes("white-background"))?"":"url("+lY+"/erie-background.png)",{sitecoreContext:r}=(0,tM.z)(),o=(null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.styles)?null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.styles:null;if(e.fields){let t=e.fields.PrimaryCta.value.href||r.pageEditing?(0,tS.jsx)(ac.r,{className:"btn color-hero-default arrow",field:e.fields.PrimaryCta,"aria-label":e.fields.PrimaryCta.value.text}):null,a=e.fields.SecondaryCta.value.href||r.pageEditing?(0,tS.jsx)(ac.r,{className:"btn color-hero-secondary arrow",field:e.fields.SecondaryCta,"aria-label":e.fields.SecondaryCta.value.text}):null,l=null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.styles.includes("white-background");return(0,tS.jsx)("section",{className:"color-hero ".concat(l?"color-hero--white":"sct-primary"," margin-tb-large ").concat(o),children:l?(0,tS.jsxs)("div",{className:"wrapper",children:[(0,tS.jsx)("h1",{className:"color-hero-headline h2",children:(0,tS.jsx)(tD.H,{field:e.fields.Headline})}),(0,tS.jsx)("p",{className:"color-hero-description",children:(0,tS.jsx)(am.x,{field:e.fields.SubHeading})}),(0,tS.jsxs)("div",{className:"color-hero-actions",children:[t,a]})]}):(0,tS.jsxs)("div",{className:"margin-container",style:{backgroundImage:"".concat(s)},children:[(0,tS.jsx)("h1",{className:"color-hero-headline",children:(0,tS.jsx)(tD.H,{field:e.fields.Headline})}),(0,tS.jsx)("p",{className:"color-hero-description",children:(0,tS.jsx)(am.x,{field:e.fields.SubHeading})}),(0,tS.jsxs)("div",{className:"color-hero-actions",children:[t,a]})]})})}return l4(null!==(i=r.pageEditing)&&void 0!==i&&i)};function lJ(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:lK})}let lX=e=>{var t;let{sitecoreContext:a}=(0,tM.z)(),l=e.params.styles?e.params.styles:null;if(e.fields){let t=e.fields.PrimaryCta.value.href||a.pageEditing?(0,tS.jsx)(ac.r,{className:"btn image-hero-primary-btn arrow",field:e.fields.PrimaryCta,"aria-label":e.fields.PrimaryCta.value.text}):null,n=e.fields.SecondaryCta.value.href||a.pageEditing?(0,tS.jsx)(ac.r,{className:"btn image-hero-secondary-btn arrow",field:e.fields.SecondaryCta,"aria-label":e.fields.SecondaryCta.value.text}):null;return(0,tS.jsxs)("section",{className:"image-hero ".concat(l),children:[(0,tS.jsx)("div",{className:"hero-image",children:(0,tS.jsx)(ay,{...e.fields})}),(0,tS.jsx)("div",{className:"image-hero-wrapper",children:(0,tS.jsxs)("div",{className:"image-hero-content",children:[(0,tS.jsx)("h1",{className:"image-hero-headline",children:(0,tS.jsx)(tD.H,{field:e.fields.Headline})}),(0,tS.jsx)("p",{className:"image-hero-description",children:(0,tS.jsx)(am.x,{field:e.fields.SubHeading})}),(0,tS.jsx)("div",{className:"image-hero-actions",children:(0,tS.jsxs)("div",{className:"image-hero-actions-wrapper",children:[t,n]})})]})})]})}return l5(null!==(t=a.pageEditing)&&void 0!==t&&t)};function l$(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:lX})}let l0=e=>{var t;let{sitecoreContext:a}=(0,tM.z)(),l=e.params.styles?e.params.styles:null;if(e.fields){let t=e.fields.PrimaryCta.value.href||a.pageEditing?e.fields.PrimaryCta:null,n=e.fields.SecondaryCta.value.href||a.pageEditing?e.fields.SecondaryCta:null;return(0,tS.jsx)("section",{className:"promo-banner margin-tb-large ".concat(l),children:(0,tS.jsxs)("div",{className:"margin-container",style:{backgroundImage:"url(".concat(lY,"/erie-background.png)")},children:[(0,tS.jsx)("h2",{className:"promo-banner-headline",children:(0,tS.jsx)(tD.H,{field:e.fields.Headline})}),(0,tS.jsxs)("div",{className:"promo-actions",children:[t||a.pageEditing?(0,tS.jsx)(ac.r,{className:"btn promo-default arrow",field:e.fields.PrimaryCta,"aria-label":e.fields.PrimaryCta.value.text}):!t&&n?(0,tS.jsx)(ac.r,{className:"btn promo-default arrow",field:e.fields.SecondaryCta,"aria-label":e.fields.SecondaryCta.value.text}):void 0,(()=>{if(e.fields.PrimaryCta.value.href&&e.fields.SecondaryCta.value.href||a.pageEditing)return(0,tS.jsx)(ac.r,{className:"btn promo-secondary",field:e.fields.SecondaryCta,"aria-label":e.fields.SecondaryCta.value.text})})()]})]})})}return l9(null!==(t=a.pageEditing)&&void 0!==t&&t)};function l1(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:l0})}let l2=e=>{var t;let a="hero-".concat(e.params.DynamicPlaceholderId),{sitecoreContext:l}=(0,tM.z)(),n=e.params.styles?e.params.styles:null;return e.fields?(0,tS.jsxs)("section",{className:"homepage-hero ".concat(n),style:{backgroundImage:"url(".concat(lY,"/erie-background.png)")},children:[(0,tS.jsxs)("div",{className:"component-frame",children:[(0,tS.jsxs)("div",{className:"homepage-hero-content",children:[(0,tS.jsx)(tD.H,{field:e.fields.Headline,className:"homepage-headline",tag:"h1"}),(0,tS.jsx)(am.x,{field:e.fields.SubHeading,className:"homepage-subheadline",tag:"p"}),(0,tS.jsx)(aZ.V,{name:a,rendering:e.rendering})]}),(0,tS.jsx)(ay,{...e.fields})]}),(0,tS.jsx)("div",{className:"accent-bar"})]}):l6(null!==(t=l.pageEditing)&&void 0!==t&&t)};function l3(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:l2})}let l4=e=>e?(0,tS.jsx)("section",{className:"color-hero sct-primary margin-tb-large",style:{backgroundImage:"url(".concat(lY,"/erie-background.png)")},children:(0,tS.jsx)("div",{className:"margin-container",children:(0,tS.jsx)("h1",{className:"color-hero-headline",children:"Empty ColorHero component"})})}):(0,tS.jsx)(tS.Fragment,{}),l5=e=>e?(0,tS.jsxs)("section",{className:"image-hero",children:[(0,tS.jsx)("div",{className:"hero-image",children:(0,tS.jsxs)("picture",{children:[(0,tS.jsx)("source",{media:"(max-width: 750px)",srcSet:"".concat(lY,"/image-hero-mobile-fpo.webp")}),(0,tS.jsx)("source",{media:"(max-width: 1023px)",srcSet:"".concat(lY,"/image-hero-tablet-fpo.webp")}),(0,tS.jsx)("img",{src:"".concat(lY,"/image-hero-desktop-fpo.webp"),width:"1440",height:"450"})]})}),(0,tS.jsx)("div",{className:"image-hero-content",children:(0,tS.jsx)("h1",{className:"image-hero-headline",children:"Empty ImageHero component"})})]}):(0,tS.jsx)(tS.Fragment,{}),l9=e=>e?(0,tS.jsx)("section",{className:"promo-banner margin-tb-large",children:(0,tS.jsx)("div",{className:"margin-container",style:{backgroundImage:"url(".concat(lY,"/erie-background.png)")},children:(0,tS.jsx)("h2",{className:"promo-banner-headline",children:"Empty PromoHero component"})})}):(0,tS.jsx)(tS.Fragment,{}),l6=e=>e?(0,tS.jsxs)("section",{className:"homepage-hero",style:{backgroundImage:"url(".concat(lY,"/erie-background.png)")},children:[(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsxs)("div",{className:"homepage-hero-content",children:[(0,tS.jsx)("h1",{className:"homepage-headline",children:"Empty Homagepage Hero"}),(0,tS.jsx)("p",{children:"Please add a datasource "}),(0,tS.jsxs)("form",{action:"/",method:"post",className:"quote-wizard",children:[(0,tS.jsxs)("label",{children:["Insurance Type",(0,tS.jsx)("br",{}),(0,tS.jsx)("span",{className:"select-frame",children:(0,tS.jsxs)("select",{name:"insurance-type",children:[(0,tS.jsx)("option",{children:"Select"}),(0,tS.jsx)("option",{value:"auto",children:"Auto"}),(0,tS.jsx)("option",{value:"home",children:"Home"}
1),(0,tS.jsx)("option",{value:"renters",children:"Renters"}),(0,tS.jsx)("option",{value:"life",children:"Life"}),(0,tS.jsx)("option",{value:"business",children:"Business"})]})})]}),(0,tS.jsxs)("label",{children:["Zip",(0,tS.jsx)("br",{}),(0,tS.jsx)("input",{type:"text",name:"zip-code",placeholder:"Zip Code"})]}),(0,tS.jsx)("button",{type:"submit",className:"btn btn-primary arrow",children:"Start a quote"})]}),(0,tS.jsxs)("nav",{className:"user-actions",children:[(0,tS.jsx)("p",{className:"actions-headline",children:"Already a customer?"}),(0,tS.jsx)("ul",{children:(0,tS.jsx)("li",{children:(0,tS.jsx)("a",{href:"/",children:"Example"})})})]})]})}),(0,tS.jsx)("div",{className:"accent-bar"})]}):(0,tS.jsx)(tS.Fragment,{}),l7=e=>{let t=e.params.styles?e.params.styles:null,a="hero-".concat(e.params.DynamicPlaceholderId);return(0,tS.jsxs)("section",{className:"image-hero ".concat(t),children:[(0,tS.jsx)("div",{className:"hero-image",children:(0,tS.jsx)(ay,{...e.fields})}),(0,tS.jsx)("div",{className:"image-hero-wrapper",children:(0,tS.jsxs)("div",{className:"image-hero-content withPlaceholder",children:[(0,tS.jsx)("h1",{className:"image-hero-headline",children:(0,tS.jsx)(tD.H,{field:e.fields.Headline})}),(0,tS.jsx)("p",{className:"image-hero-description",children:(0,tS.jsx)(am.x,{field:e.fields.SubHeading})}),(0,tS.jsx)("div",{className:"image-hero-actions",children:(0,tS.jsx)(aZ.V,{name:a,rendering:e.rendering})})]})})]})};function l8(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:l7})}let ne=e=>(0,tS.jsx)("option",{value:e.name,"aria-label":e.name,children:e.name}),nt=e=>{var t;let{sitecoreContext:a}=(0,tM.z)(),[l,n]=(0,tk.useState)(""),[i,s]=(0,tk.useState)(""),r=async e=>{e.preventDefault(),aE.c.event(aE.a.QUOTE_STARTED,{insuranceType:i,zipCode:l});let t=await aE.c.getCurrentGuestData();confirm("You chose ".concat(t.sessions[0].events[0].arbitraryData.ext.insuranceType,"\n\n            You have ").concat(t.sessions.length," sessions \n\n            with ").concat(t.sessions.flatMap(e=>null==e?void 0:e.events).length," events. \n\n\n            Check the console for all guest data")),console.log("guest:",t)};if(e.fields){let t=e.fields.InsuranceTypes.map((e,t)=>(0,tS.jsx)(ne,{fields:e.fields,name:e.name},"".concat(t).concat(e.name)));return(0,tS.jsxs)("form",{action:"/",method:"post",className:"quote-wizard",children:[(0,tS.jsxs)("label",{children:[(0,tS.jsx)("p",{children:"Insurance Type"}),(0,tS.jsx)("span",{className:"select-frame",children:(0,tS.jsxs)("select",{name:"insurance-type",onChange:e=>{s(e.target.value)},value:i,children:[(0,tS.jsx)("option",{unselectable:"on","aria-label":"Select",children:"Select"}),t]})})]}),(0,tS.jsxs)("label",{children:[(0,tS.jsx)("p",{children:"ZIP"}),(0,tS.jsx)("input",{type:"text",name:"zip-code",placeholder:"Zip Code",maxLength:10,value:l,onChange:e=>{let t=e.target.value;(t=t.replace(/[^\d-]/,"")).length>10&&(t=t.slice(0,10)),n(t)}})]}),(0,tS.jsx)("button",{type:"submit",className:"btn btn-primary arrow",onClick:r,children:(0,tS.jsx)(am.x,{field:e.fields.ButtonText})})]})}return na(null!==(t=a.pageEditing)&&void 0!==t&&t)},na=e=>e?(0,tS.jsxs)("form",{action:"/",method:"post",className:"quote-wizard",children:[(0,tS.jsxs)("label",{children:[(0,tS.jsx)("br",{}),(0,tS.jsx)("span",{className:"select-frame",children:(0,tS.jsx)("select",{name:"insurance-type",children:(0,tS.jsx)("option",{unselectable:"on",children:"Select"})})})]}),(0,tS.jsxs)("label",{children:[(0,tS.jsx)("br",{}),(0,tS.jsx)("input",{type:"text",name:"zip-code",placeholder:"Zip Code"})]}),(0,tS.jsx)("button",{type:"submit",className:"btn btn-primary arrow",children:" "})]}):(0,tS.jsx)(tS.Fragment,{}),nl=e=>{var t,a,l,n,i,s;let r=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles)?e.params.styles:null,{sitecoreContext:o}=(0,tM.z)(),c=(null===(a=e.fields.ElevatePrivileges)||void 0===a?void 0:a.value)||!1;return(null===(l=e.fields.Url)||void 0===l?void 0:l.value)?(0,tS.jsx)("div",{className:"component-frame iframe ".concat(r),children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsx)("iframe",{src:null===(n=e.fields.Url)||void 0===n?void 0:n.value,title:null===(i=e.fields.Title)||void 0===i?void 0:i.value,style:{minHeight:(null===(s=e.fields.MinimumHeight)||void 0===s?void 0:s.value)||480},sandbox:c?"allow-scripts allow-forms allow-same-origin allow-popups allow-top-navigation":""})})}):o.pageEditing?(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsx)("strong",{children:"Iframe Url: "}),(0,tS.jsx)(am.x,{field:e.fields.Url})]})}):(0,tS.jsx)(tS.Fragment,{})};var nn=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nl})});let ni=(a(3454).env.MEDIA_BASE_URL||"").trim().toLowerCase(),ns=e=>e.toLowerCase().startsWith("".concat(ni,"/media"))?e.replace("".concat(ni,"/media"),"/-/media"):e,nr=e=>{var t,a,l;let n=e.params.styles?e.params.styles:null,{sitecoreContext:i}=(0,tM.z)(),s=null===(t=e.fields)||void 0===t?void 0:t.Icons.slice(0,3),r=null===(a=e.params.Styles)||void 0===a?void 0:a.includes("hide-icons"),o=null===(l=e.params.Styles)||void 0===l?void 0:l.includes("hide-headline"),c=s.map((e,t)=>{var a,l,n,s,c,d;let u=(null===(l=e.fields)||void 0===l?void 0:null===(a=l.Icon.value)||void 0===a?void 0:a.src)||"";return(0,tS.jsxs)("div",{className:"column",children:[!r&&(0,tS.jsxs)("div",{className:"column-icon",children:[i.pageEditing?(0,tS.jsx)(tF.E,{className:"image-svg",field:null===(n=e.fields)||void 0===n?void 0:n.Icon,role:"presentation"}):"",i.pageEditing?"":(0,tS.jsx)(aq.Q,{src:ns(u)})]}),!o&&(0,tS.jsx)("h4",{className:"column-title",children:(0,tS.jsx)(am.x,{field:null===(s=e.fields)||void 0===s?void 0:s.Headline})}),(0,tS.jsxs)("h5",{className:"column-label",children:[" ",(0,tS.jsx)(am.x,{field:null===(c=e.fields)||void 0===c?void 0:c.OptionalLabel})]}),(0,tS.jsxs)("div",{className:"column-description",children:[" ",(0,tS.jsx)(tD.H,{field:null===(d=e.fields)||void 0===d?void 0:d.Text})]})]},t)});return(0,tS.jsx)("div",{className:"container-column-features ".concat(n),children:c})};function no(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nr})}let nc=e=>{var t,a,l;let n=e.params.styles?e.params.styles:null,{sitecoreContext:i}=(0,tM.z)(),s=null===(t=e.fields)||void 0===t?void 0:t.Icons.map((e,t)=>{var a,l,n,s,r,o;let c=(null===(n=e.fields)||void 0===n?void 0:null===(l=n.Icon)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.src)||"";return(0,tS.jsxs)("div",{className:"product-teaser-section",children:[i.pageEditing?(0,tS.jsx)("div",{className:"img-wrapper",children:(0,tS.jsx)(tF.E,{field:null===(s=e.fields)||void 0===s?void 0:s.Icon})}):"",i.pageEditing?"":(0,tS.jsx)(aq.Q,{className:"img-wrapper",src:ns(c)}),(0,tS.jsxs)("div",{className:"product-teaser-text",children:[(0,tS.jsx)(ac.r,{field:null===(r=e.fields)||void 0===r?void 0:r.Link,className:"product-teaser-section-link"}),(0,tS.jsx)(tD.H,{field:null===(o=e.fields)||void 0===o?void 0:o.Text})]})]},t)});return(0,tS.jsx)("div",{className:"component-frame product-teaser".concat(n),children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsx)("div",{className:"product-teaser-title",children:(0,tS.jsx)(tD.H,{field:null===(a=e.fields)||void 0===a?void 0:a.Headline})}),(0,tS.jsx)("div",{className:"product-teaser-group",children:s}),(0,tS.jsx)(ac.r,{field:null===(l=e.fields)||void 0===l?void 0:l.FooterLink,className:"btn btn-primary arrow product-teaser-button"})]})})};
1function nd(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nc})}let nu=e=>{var t,a;let l=e.params.styles?e.params.styles:null,{sitecoreContext:n}=(0,tM.z)(),i=(null===(t=e.fields)||void 0===t?void 0:t.Icons.slice(0,6)).map((e,t)=>{var a,l,i,s,r,o;let c=(null===(l=e.fields)||void 0===l?void 0:null===(a=l.Icon.value)||void 0===a?void 0:a.src)||"";return(0,tS.jsxs)("div",{className:"multicolumn-overview-content",children:[n.pageEditing?(0,tS.jsx)(tF.E,{className:"image-svg",field:null===(i=e.fields)||void 0===i?void 0:i.Icon}):"",n.pageEditing?"":(0,tS.jsx)(aq.Q,{src:ns(c)}),(0,tS.jsx)("h5",{className:"multicolumn-overview-title",children:(0,tS.jsx)(am.x,{field:null===(s=e.fields)||void 0===s?void 0:s.Headline})}),(0,tS.jsx)(tD.H,{field:null===(r=e.fields)||void 0===r?void 0:r.Text,className:"multicolumn-overview-text"}),(0,tS.jsx)(ac.r,{field:null===(o=e.fields)||void 0===o?void 0:o.Link})]},t)});return(0,tS.jsxs)("div",{className:"component-frame multicolumn-overview ".concat(l),children:[(0,tS.jsx)("div",{className:"multicolumn-introduction",children:(0,tS.jsx)(tD.H,{field:null===(a=e.fields)||void 0===a?void 0:a.Headline})}),(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsx)("div",{className:"multicolumn-overview-body",children:i})})]})};function nm(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nu})}let nv=e=>{var t,a,l,n;let i=e.params.styles?e.params.styles:null,{sitecoreContext:s}=(0,tM.z)(),r=(null===(t=e.fields)||void 0===t?void 0:t.Icons)?null===(a=e.fields)||void 0===a?void 0:a.Icons.slice(0,3):[],o=null===(l=e.params.Styles)||void 0===l?void 0:l.includes("hide-icons"),c=null===(n=e.params.Styles)||void 0===n?void 0:n.includes("hide-headline"),d=r.map((e,t)=>{var a,l,n,i,r,d;let u=(null===(l=e.fields)||void 0===l?void 0:null===(a=l.Icon.value)||void 0===a?void 0:a.src)||"";return(0,tS.jsxs)("div",{className:"column",children:[!o&&(0,tS.jsxs)("div",{className:"column-icon",children:[s.pageEditing?(0,tS.jsx)(tF.E,{className:"image-svg",field:null===(n=e.fields)||void 0===n?void 0:n.Icon,role:"presentation"}):"",s.pageEditing?"":(0,tS.jsx)(aq.Q,{src:ns(u)})]}),!c&&(0,tS.jsx)("h4",{className:"column-title",children:(0,tS.jsx)(am.x,{field:null===(i=e.fields)||void 0===i?void 0:i.Headline})}),(0,tS.jsx)("h5",{className:"column-label",children:(0,tS.jsx)(am.x,{field:null===(r=e.fields)||void 0===r?void 0:r.OptionalLabel})}),(0,tS.jsx)("div",{className:"column-description",children:(0,tS.jsx)(tD.H,{field:null===(d=e.fields)||void 0===d?void 0:d.Text})})]},t)});return(0,tS.jsx)("div",{className:"container-column-features ".concat(i),children:d})};function nh(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nv})}let np=e=>{var t,a,l,n,i,s;let r=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.styles:null,{sitecoreContext:o}=(0,tM.z)(),c=(null===(l=e.fields)||void 0===l?void 0:l.Icons)?null===(n=e.fields)||void 0===n?void 0:n.Icons:[],d=(null==c?void 0:c.length)>3?4:1,u=(null===(i=e.fields)||void 0===i?void 0:i.Promotion.value)&&void 0!==c?c.slice(0,d):c,m="icon-collection-".concat(e.params.DynamicPlaceholderId),v=(null===(s=e.fields)||void 0===s?void 0:s.Promotion.value)?(0,tS.jsx)("div",{className:"card card-half",children:(0,tS.jsx)(aZ.V,{name:m,rendering:e.rendering})}):null,h=u.length>0&&(2==u.length||4==u.length),p=u.map((e,t)=>{var a,l,n,i,s,r;let c=(null===(a=e.fields.Icon.value)||void 0===a?void 0:a.src)||"";return(0,tS.jsxs)("div",{className:"card card-third".concat(h?"-large":""),children:[(0,tS.jsxs)("div",{className:"card-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:(0,tS.jsx)(tD.H,{field:null===(l=e.fields)||void 0===l?void 0:l.Headline})}),(0,tS.jsx)("div",{className:"image-bkg",children:o.pageEditing?(0,tS.jsx)(tF.E,{className:"image-svg",field:null===(n=e.fields)||void 0===n?void 0:n.Icon}):(0,tS.jsx)(aq.Q,{src:ns(c)})})]}),(0,tS.jsx)("h5",{className:"card-title",children:(0,tS.jsx)(tD.H,{field:null===(i=e.fields)||void 0===i?void 0:i.Headline})}),(0,tS.jsxs)("div",{className:"card-description",children:[" ",(0,tS.jsx)(tD.H,{field:null===(s=e.fields)||void 0===s?void 0:s.Text})]}),(0,tS.jsx)(ac.r,{className:"card-link",field:null===(r=e.fields)||void 0===r?void 0:r.Link})]},t)});return(0,tS.jsx)("div",{className:"container-product-cards component-frame section-frame ".concat(r),children:(0,tS.jsxs)("div",{className:"wrapper-product-cards",children:[u.length>0?p:null," ",v," "]})})};function nx(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:np})}let ng=e=>{var t,a,l,n,i,s;let r=(null===(t=e.params)||void 0===t?void 0:t.RenderingIdentifier)?null===(a=e.params)||void 0===a?void 0:a.RenderingIdentifier:void 0,o=null===(n=e.fields)||void 0===n?void 0:null===(l=n.ImageCaption)||void 0===l?void 0:l.value,c=!o||""===o.trim();return(0,tS.jsx)("div",{className:"container-image ".concat(null==e?void 0:null===(i=e.params)||void 0===i?void 0:i.styles),id:r,children:(0,tS.jsxs)("figure",{className:"figure-img ".concat(c?"empty-caption":""),tabIndex:0,children:[(0,tS.jsx)(ay,{...e.fields}),(0,tS.jsx)(am.x,{tag:"figcaption",className:"caption",field:null===(s=e.fields)||void 0===s?void 0:s.ImageCaption})]})})};var nf=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:ng})});let nj=e=>{var t,a,l,n,i,s,r;let{sitecoreContext:o}=(0,tM.z)(),c=(null===(a=e.fields)||void 0===a?void 0:null===(t=a.CtaButton)||void 0===t?void 0:t.value.href)||o.pageEditing?(0,tS.jsx)(ac.r,{className:"btn btn-primary arrow",field:e.fields.CtaButton}):null,d=(null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.styles)?e.params.styles:null,u=null===(n=e.params)||void 0===n?void 0:n.styles.includes("grey-background"),m=null===(i=e.params)||void 0===i?void 0:i.styles.includes("image-right");return(0,tS.jsx)("div",{className:" ".concat(u?"component-frame-color":""),children:(0,tS.jsx)("div",{className:"component-frame ".concat(d),children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"image-callout image-callout-center ".concat(m?"reverse":""," "),children:[(0,tS.jsx)("div",{className:"image-callout-image-wrapper",children:(0,tS.jsx)(ay,{...e.fields,CssClass:"image-callout-image"})}),(0,tS.jsxs)("div",{className:"image-callout-text",children:[(0,tS.jsx)(tD.H,{field:null===(s=e.fields)||void 0===s?void 0:s.Headline,className:"image-callout-title",tag:"h3"}),(0,tS.jsx)("div",{className:"image-callout-description",children:(0,tS.jsx)(tD.H,{field:null===(r=e.fields)||void 0===r?void 0:r.BodyText})}),c]})]})})})})};function nb(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nj})}let ny=e=>{var t,a,l,n;let i=e.params.styles?e.params.styles:null,s=null===(t=e.params)||void 0===t?void 0:t.styles.includes("grey-background"),r=null===(a=e.params)||void 0===a?void 0:a.styles.includes("image-right"),o=null===(l=e.fields)||void 0===l?void 0:l.Icons.map((e,t)=>{var a,l,n;return(0,tS.jsxs)("div",{className:"withIcons-row",children:[(0,tS.jsx)(tF.E,{className:"withIcons-img",field:null===(a=e.fields)||void 0===a?void 0:a.Icon}),(0,tS.jsxs)("div",{className:"withIcons-feature",children:[(0,tS.jsx)(tD.H,{field:null===(l=e.fields)||void 0===l?void 0:l.Headline,tag:"h6"}),(0,tS.jsx)(tD.H,{field:null===(n=e.fields)||void 0===n?void 0:n.Text,className:"withIcons-description",tag:"div"})]})]},t)});return(0,tS.jsx)("div",{className:" ".concat(s?"component-frame-color":""),children:(0,tS.jsx)("div",{className:"component-frame ".concat(i),children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"image-callout withIcons ".concat(r?"reverse":""," "),children:[(0,tS.jsx)("div",{className:"withIcons-image-wrapper",children:(0,tS.jsx)(ay,{...e.fields,CssClass:"withIcons-image"})}),(0,tS.jsxs)("div",{className:"withIcons-text",children:[(0,tS.jsx)(tD.H,{field:null===(n=e.fields)||void 0===n?void 0:n.Headline,className:"withIcons-title",tag:"h2"}),o]})]})})})})};function nN(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:ny})}let n_=e=>{var t,a,l,n;let{sitecoreContext:i}=(0,tM.z)(),s=(null===(a=e.fields)||void 0===a?void 0:null===(t=a.CtaButton)||void 0===t?void 0:t.value.href)||i.pageEditing?(0,tS.jsx)(ac.r,{className:"btn btn-primary arrow",field:e.fields.CtaButton}):null;return(0,tS.jsx)("div",{className:"card card-half promotion",children:(0,tS.jsxs)("div",{className:"container-product-cards-promotion",children:[(0,tS.jsxs)("div",{className:"container-product-cards-promotion__text",children:[(0,tS.jsx)(tD.H,{field:null===(l=e.fields)||void 0===l?void 0:l.Headline,tag:"h4"}),(0,tS.jsx)(tD.H,{field:null===(n=e.fields)||void 0===n?void 0:n.BodyText}),s]}),(0,tS.jsx)("div",{className:"container-product-cards-promotion__image-container",children:(0,tS.jsx)(ay,{...e.fields,CssClass:"image-callout-image"})})]})})};function nC(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:n_})}a(2436),a(9004),a(1256),a(7114);let nw=e=>{var t,a,l,n,i;let s=(0,tk.useRef)(null),r=(0,tk.useRef)(null),[o,c]=(0,tk.useState)(0),d=(null===(t=e.fields)||void 0===t?void 0:t.items)?null===(a=e.fields)||void 0===a?void 0:a.items.length:0,u=d>3?3:d,m=d>3?4:d,v=e=>{c(e.activeIndex)};return(0,tS.jsx)("div",{className:"image-gallery component-frame ".concat(null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.styles),children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsx)(aj.tq,{onSwiper:e=>s.current=e,spaceBetween:0,slidesPerView:1,navigation:!0,pagination:{clickable:!0},thumbs:{swiper:r.current},modules:[aN.Rv,aN.W_,aN.o3],className:"swiper-container figure-img",onSlideChange:e=>v(e),children:null===(n=e.fields)||void 0===n?void 0:n.items.map((e,t)=>{var a;return(0,tS.jsx)(aj.o5,{role:"tabpanel",id:"slide-".concat(t),"aria-label":"Slide ".concat(t+1),style:{display:o===t?"block":"none"},children:(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Image",tooltip:"Edit Image",buttons:[{header:"Edit Image fields",icon:"/~/icon/Office/16x16/painting_landscape.png",fields:["DesktopImage","TabletImage","MobileImage","ImageCaption"],tooltip:"Edit Image fields"}],children:(0,tS.jsxs)("figure",{className:"figure-img",children:[(0,tS.jsx)(ay,{...e.fields}),(0,tS.jsx)(am.x,{tag:"figcaption",className:"caption",field:null===(a=e.fields)||void 0===a?void 0:a.ImageCaption})]})})},t)})}),(0,tS.jsxs)("div",{className:"swiper-nav",children:[d>3?(0,tS.jsx)("button",{className:"button-arrow left-arrow","aria-label":"Previous",onClick:()=>{r.current&&r.current.slidePrev()},tabIndex:0}):null,(0,tS.jsx)(aj.tq,{onSwiper:e=>r.current=e,spaceBetween:0,loop:!0,watchSlidesProgress:!0,modules:[aN.Rv,aN.W_,aN.o3],className:"thumbnails image-gallery-thumbn
1ails",role:"tablist",breakpoints:{300:{slidesPerView:u},1023:{slidesPerView:m}},children:null===(i=e.fields)||void 0===i?void 0:i.items.map((e,t)=>(0,tS.jsx)(aj.o5,{role:"tab","aria-controls":"slide-".concat(t),className:"thumbnails-wrapper",children:(0,tS.jsx)(nA,{index:t,fields:e.fields,active:o===t,onClick:()=>{var e;c(t),null===(e=s.current)||void 0===e||e.slideTo(t)}},t)},t))}),d>3?(0,tS.jsx)("button",{className:"button-arrow right-arrow","aria-label":"Next",onClick:()=>{r.current&&r.current.slideNext()},tabIndex:0}):null]})]})})},nA=e=>{var t,a,l,n,i,s,r,o,c;return(0,tS.jsx)("button",{className:"thumbnail ".concat(e.active?"active":""),"aria-selected":e.active,tabIndex:0,role:"tab","aria-controls":"slide-".concat(e.index),onClick:e.onClick,children:(0,tS.jsxs)("picture",{children:[(0,tS.jsx)("source",{media:"(max-width: 322px)",srcSet:null===(l=e.fields)||void 0===l?void 0:null===(a=l.MobileImage)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.src}),(0,tS.jsx)("source",{media:"(max-width: 656px)",srcSet:null===(s=e.fields)||void 0===s?void 0:null===(i=s.TabletImage)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.src}),(0,tS.jsx)("img",{className:"thumbnail-img",src:null===(c=e.fields)||void 0===c?void 0:null===(o=c.DesktopImage)||void 0===o?void 0:null===(r=o.value)||void 0===r?void 0:r.src,alt:"Image"})]})})};var nE=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nw})});let nS=e=>{var t;let{sitecoreContext:a}=(0,tM.z)(),[l,n]=(0,tk.useState)(a.pageEditing);return(0,tS.jsx)(tS.Fragment,{children:(0,tS.jsx)("div",{className:"component-frame ".concat(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles),children:(0,tS.jsxs)("section",{className:"section-frame infographic",children:[(0,tS.jsxs)("div",{className:"row-container",children:[(0,tS.jsx)("button",{className:"open-transcript",onClick:()=>{n(!l)},tabIndex:0,"aria-expanded":l?"true":"false",children:l?"Hide text":"Show text"}),l&&(0,tS.jsx)(tD.H,{field:e.fields.Description})]}),(0,tS.jsx)(tF.E,{field:e.fields.Image,className:"infographic-image"})]})})})};var nk=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nS})}),nI=e=>{var t,a,l,n,i,s,r,o,c,d,u,m,v,h,p;let x=tL().publicUrl,g={"@context":"https://schema.org","@type":"Article",headline:(null===(a=e.props.fields)||void 0===a?void 0:null===(t=a.Title)||void 0===t?void 0:t.value.toString())||e.props.sitecoreContext.route.name,image:(null===(i=e.props.fields)||void 0===i?void 0:null===(n=i.AbstractImage)||void 0===n?void 0:null===(l=n.value)||void 0===l?void 0:l.src)||"",datePublished:null===(r=e.props.fields)||void 0===r?void 0:null===(s=r.PublishDate)||void 0===s?void 0:s.value.toString(),description:e.props.fields.MetaDescription.value.toString(),publisher:{"@type":"Organization",name:"Erie Insurance",logo:x+"erietwocolor_lrg.png"},author:[{"@type":"Person",name:(null===(u=e.props.fields)||void 0===u?void 0:null===(d=u.Author)||void 0===d?void 0:null===(c=d.fields)||void 0===c?void 0:null===(o=c.Title)||void 0===o?void 0:o.value.toString())||"Erie Insurance",url:x+"blog/authors/"+(null===(p=e.props.fields)||void 0===p?void 0:null===(h=p.Author)||void 0===h?void 0:null===(v=h.fields)||void 0===v?void 0:null===(m=v.Title)||void 0===m?void 0:m.value.toString().replaceAll(" ","-").toLowerCase())}]};return(0,tS.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(g)}},"articleDetailsJSON-".concat(e.props.sitecoreContext.route.itemId," "))},nL=e=>{var t,a;let l={"@context":"https://schema.org","@type":"FinancialProduct",name:(null===(a=e.props.fields)||void 0===a?void 0:null===(t=a.Title)||void 0===t?void 0:t.value.toString())||e.props.sitecoreContext.route.name,description:e.props.fields.MetaDescription.value.toString(),brand:{"@type":"Organization",name:"Erie Insurance",description:e.props.fields.MetaDescription.value.toString()}};return(0,tS.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}},"articleDetailsJSON-".concat(e.props.sitecoreContext.route.itemId," "))},nD=e=>{var t,a;let l=tL().publicUrl,n={"@context":"https://schema.org","@type":"Organization",url:l,name:(null===(a=e.props.fields)||void 0===a?void 0:null===(t=a.Title)||void 0===t?void 0:t.value.toString())||e.props.sitecoreContext.route.name,SameAs:["https://www.facebook.com/erieinsurance","https://twitter.com/erie_insurance","https://plus.google.com/+erieinsurance","https://www.linkedin.com/company/erie-insurance-group","https://www.youtube.com/user/ErieInsurance","https://www.pinterest.com/erie_insurance/","https://www.instagram.com/erie_insurance/"],logo:l+"erietwocolor_lrg.png",description:e.props.fields.MetaDescription.value.toString(),brand:{"@type":"Organization",name:"Erie Insurance"}};return(0,tS.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}},"articleDetailsJSON-".concat(e.props.sitecoreContext.route.itemId," "))},nF=e=>{var t,a;let l=tL().publicUrl,n={"@context":"https://schema.org/","@type":"LearningResource",name:(null===(a=e.props.fields)||void 0===a?void 0:null===(t=a.Title)||void 0===t?void 0:t.value.toString())||e.props.sitecoreContext.route.name,learningResourceType:["learning activity"],description:e.props.fields.MetaDescription.value.toString(),publisher:{"@type":"Organization",name:"Erie Insurance",logo:l+"erietwocolor_lrg.png"}
1,url:l+e.props.sitecoreContext.itemPath.toString().replace("?sc_site=ErieWebsite","")};return(0,tS.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}},"SelfHelpTopicJSON-".concat(e.props.sitecoreContext.route.itemId," "))},nT=e=>{var t,a;let l=tL().publicUrl,n={"@context":"https://schema.org/","@type":"WebPage",name:(null===(a=e.props.fields)||void 0===a?void 0:null===(t=a.Title)||void 0===t?void 0:t.value.toString())||e.props.sitecoreContext.route.name,description:e.props.fields.MetaDescription.value.toString(),publisher:{"@type":"Organization",name:"Erie Insurance",logo:l+"erietwocolor_lrg.png"},url:l+e.props.sitecoreContext.itemPath.toString().replace("?sc_site=ErieWebsite","")};return(0,tS.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}},"GeneralContentJSON-".concat(e.props.sitecoreContext.route.itemId," "))};let nB=e=>(0,tS.jsx)(tS.Fragment,{children:(()=>{switch(e.sitecoreContext.route.templateName.toString()){case"Article Detail":return(0,tS.jsx)(nI,{props:e});case"Offering Detail":case"Bundling":return(0,tS.jsx)(nL,{props:e});case"Self Help Topic":return(0,tS.jsx)(nF,{props:e});case"Agency Detail":return null;case"Home":return(0,tS.jsx)(nD,{props:e});default:return(0,tS.jsx)(nT,{props:e})}})()});var nP=a(5245);let nH=e=>{var t,a,l,n;let i=null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(t=a.Bios)||void 0===t?void 0:t.map((e,t)=>{var a,l,n;return(0,tS.jsxs)("div",{className:"leadership-bios__card",children:[(0,tS.jsx)(tF.E,{field:null===(a=e.fields)||void 0===a?void 0:a.Image,className:"leadership-bios__profile-img",imageParams:{mw:295,mh:320}}),(0,tS.jsx)(am.x,{field:null===(l=e.fields)||void 0===l?void 0:l.Name,tag:"p",className:"leadership-bios__name"}),(0,tS.jsx)(nP.H,{field:null===(n=e.fields)||void 0===n?void 0:n.Title,tag:"p",className:"leadership-bios__headline"})]},"profile-card-".concat(t))});return(0,tS.jsx)("div",{className:"leadership-bios ".concat(null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.styles),children:(0,tS.jsxs)("section",{className:"component-frame section-frame",children:[(0,tS.jsx)(nP.H,{field:null===(n=e.fields)||void 0===n?void 0:n.Headline,tag:"h3",className:"leadership-bios__heading"}),(0,tS.jsx)("div",{className:"leadership-bios__wrapper",children:i})]})})};var nM=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nH})});let nq=e=>{var t,a,l,n,i;let[s,r]=(0,tk.useState)({}),o=e=>{r(t=>({...t,[e]:!t[e]}))},c=(e,t)=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),o(t))},d=null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(t=a.Bios)||void 0===t?void 0:t.map((e,t)=>{var a,l,n,i,r;let d=s[e.id];return(0,tS.jsx)(av.X,{dataSource:{itemId:null==e?void 0:e.id},title:"Edit Leadership Bio",tooltip:"Edit Leadership Bio",buttons:[{header:"Edit Leadership Bio",icon:"/~/icon/office/16x16/pencil.png",fields:["Name","Title","Image","Tooltip"],tooltip:"Edit Leadership Bio"}],children:(0,tS.jsxs)("div",{className:"leadership-bios-list__item",children:[(0,tS.jsx)("div",{className:"leadership-bios-list__header",children:(0,tS.jsxs)("h4",{className:"leadership-bios-list__name",children:[(0,tS.jsx)(am.x,{field:null===(a=e.fields)||void 0===a?void 0:a.Name}),(null===(n=e.fields)||void 0===n?void 0:null===(l=n.Tooltip)||void 0===l?void 0:l.value)&&(0,tS.jsxs)("span",{className:"leadership-bios-list__tooltip",children:[(0,tS.jsx)("button",{className:"leadership-bios-list__tooltip-btn",onClick:()=>o(e.id),onKeyDown:t=>c(t,e.id),tabIndex:0,"aria-label":"Toggle tooltip"}),(0,tS.jsxs)("div",{className:"leadership-bios-list__open-tooltip ".concat(d?"display-tooltip":""),children:[(0,tS.jsx)("button",{className:"leadership-bios-list__close",onClick:()=>o(e.id)}),(0,tS.jsx)("div",{className:"leadership-bios-list__tooltip-hover",children:(0,tS.jsx)(nP.H,{field:null===(i=e.fields)||void 0===i?void 0:i.Tooltip})})]})]})]})}),(0,tS.jsx)(nP.H,{field:null===(r=e.fields)||void 0===r?void 0:r.Title,className:"leadership-bios-list__headline"})]})},"profile-card-".concat(t))});return(0,tS.jsx)("div",{className:"leadership-bios-list ".concat(null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.styles),children:(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsx)(nP.H,{field:null===(n=e.fields)||void 0===n?void 0:n.Headline,tag:"h3",className:"leadership-bios-list__title"}),d,(0,tS.jsx)(nP.H,{field:null===(i=e.fields)||void 0===i?void 0:i.Footer,tag:"div",className:"leadership-bios-list__footer"})]})})})};var nR=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:nq})}),nO=a(3253),nV=a.n(nO),nG=function(){var e=function(e,a){t(e,a)||(e.className+=" "+a)},t=function(e,t){return RegExp("\\b"+t+"\\b").test(e.className)},a=function(e,t){var a=RegExp("\\b"+t+"\\b");e.className=e.className.replace(a,"").trim()},l=function(e,t,a){var l,n=e.previousElementSibling,i=!0,s=[];if(n||(n=e.parentNode),!n)return null;for(;n&&n!==document.body;){if(n.matches(a))return n;if(i?(l=n.previousElementSibling)?i=!1:l=n.parentNode:((l=s.includes(n)?null:n.lastElementChild)?s.push(n):l=n.previousElementSibling,l||(l=n.parentNode)),l)n=l;else break}return null},n=function(e){var t;return t="button, [href], input, select, textarea, [tabindex]:not
1([tabindex='-1'])",l(e,e.matches,t)};Number.prototype.formatAsDollars=function(){var e="$",t=[],a=this,l=0,n="",i=0;for(i=!1,a<0&&(i=!0,a=Math.abs(a)),Math.floor(a)!=a&&(n=a.toString().split(".")[1],a=Math.floor(a));0<a;)t.push(Math.floor(a%10)),a=Math.floor(a/10),3==++l&&0<a&&(t.push(","),l=0);if(0===t.length)return"$0";for(var s=t.length-1;0<=s;s--)e+=t[s];return i&&(e="-"+e),0<n.length&&(e+="."+n.substring(0,2)),e},String.prototype.isValidClassName=function(){return new RegExp(/^[-_a-zA-Z][-_a-zA-Z0-9]*$/).test(this)},String.prototype.asClassSelector=function(){return this.isValidClassName()?"."+this:null};var i=i||{};i.config=i.config||{},i.CustomEvent=function(e,t){var a={bubbles:!1,cancelable:!1,detail:void 0};for(var l in a)a.hasOwnProperty(l)&&void 0===t[l]&&(t[l]=a[l]);if("function"==typeof window.CustomEvent)return new CustomEvent(e,t);var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n};var s={};i.Interactive=function(e){var t={AttrConditions:"data-conditions",ClassFocusable:"eig__interactive-focus",ClassHidden:"eig__interactive-hide",ClassInteractive:"eig__interactive",ClassScreen:"eig__interactive-screen",ClassValue:"eig__interactive-value",StateHidden:"hidden",StateShown:"shown"};for(var a in t)t.hasOwnProperty(a)&&(s[a]=e[a]||t[a]);return{add:function(e){e.screens=[],e.values=[],e.index=-1,e.querySelectorAll(s.ClassScreen.asClassSelector()).forEach(function(t){for(var a=t.parentNode;!a.matches(s.ClassInteractive.asClassSelector());)if("BODY"===(a=a.parentNode).nodeName)return;a===e&&e.screens.push(new i.InteractiveScreen(t,e))}),e.getValue=function(e){return"number"!=typeof e||e<0||e>=this.values.length?null:this.values[e]},e.getValueByName=function(e){for(var t=0,a=this.values.length;t<a;t++){var l=this.values[t];if(l.name===e)return l.value}return null},e.getValueIndex=function(e){for(var t=0,a=this.values.length;t<a;t++)if(this.values[t].name===e)return t;return -1},e.move=function(t){if(isNaN(t)){if(null==t||(a=null!==t.focus&&void 0!==t.focus?!!t.focus:!!t,null===t.detail||void 0===t.detail||null===t.detail.index||void 0===t.detail.index||isNaN(t.detail.index)))return;l=t.detail.index}else l=t,a=!0;if(!(l<0)&&!(l>=this.screens.length)){var a,l,n=this.screens[l];if(n.canShow()){for(var s=0,r=this.screens.length;s<r;s++)this.screens[s].hide();n.show(a),this.index=l}else l<e.screens.length-1&&t.target.dispatchEvent(new i.Events.NavIndexEvent(l+1,a))}},e.next=function(e){t=null==e||(null!==e.focus&&void 0!==e.focus?!!e.focus:!!e);for(var t,a=this.index+1;a<this.screens.length;){if(this.screens[a].canShow()){void 0!==this.screens[this.index]&&this.screens[this.index].hide(),this.screens[a].show(t),this.index=a;return}a++}null!=e&&e.target!==e.currentTarget&&e.stopPropagation()},e.prev=function(e){var t=!e||e.focus,a=this.index-1;for(null==t&&(t=!0);a>-1;){if(this.screens[a].canShow()){void 0!==this.screens[this.index]&&this.screens[this.index].hide(),this.screens[a].show(t),this.index=a;return}a--}null!=e&&e.target!==e.currentTarget&&e.stopPropagation()},e.setValue=function(e,t){var a=this.getValueIndex(e);a<0?this.values.push({name:e,value:t}):this.values[a].value=t},e.addEventListener("nav-next",e.next),e.addEventListener("nav-prev",e.prev),e.addEventListener("nav-move",e.move),e.addEventListener("nav-id",function(e){for(var t=0,a=e.currentTarget.screens.length;t<a;t++)if(e.currentTarget.screens[t].id===e.detail.id)return e.target.dispatchEvent(new i.Events.NavIndexEvent(t,e.detail.focus));return!0}),e.addEventListener("set-value",function(t){t.detail&&e.setValue(t.detail.name,t.detail.value)}),e.next(!1)},init:function(){document.querySelectorAll(s.ClassInteractive.asClassSelector()).forEach(i.Interactive.add)}}}(i.config.Interactive||{}),i.InteractiveScreen=function(t,l){return t.owner=l,t.hide=function(){t._state!==s.StateHidden&&(e(t,s.ClassHidden
1),t._state=s.StateHidden,this.dispatchEvent(i.Events.ScreenVisibilityEvent(s.StateHidden)))},t.move=function(e,t){this.dispatchEvent(new i.Events.NavIndexEvent(e,t))},t.next=function(e){this.dispatchEvent(new i.Events.NavNextEvent(e))},t.prev=function(e){this.dispatchEvent(new i.Events.NavPrevEvent(e))},t.setFocus=function(){var e=this.querySelector(s.ClassFocusable.asClassSelector());null!=e&&e.focus()},t.show=function(e){t._state!==s.StateShown&&(null==e&&(e=!0),a(t,s.ClassHidden.asClassSelector()),t._state=s.StateShown,this.dispatchEvent(new i.Events.ScreenVisibilityEvent(s.StateShown)),e&&t.setFocus(),t.dispatchEvent(new i.Events.ScreenShownEvent(t.id)))},t.hasAttribute(s.AttrConditions)&&(t.conditions=this.getConditionsFromAttribute(t)),t.canShow=function(){if(!this.conditions||0===this.conditions.length)return!0;for(var e=0,t=this.conditions.length;e<t;e++)if(!this.conditions[e].conditionalFunction())return!1;return!0},t.setValue=function(e,t){this.dispatchEvent(new i.Events.SetValueEvent(e,t))},t.hide(),t},i.InteractiveScreen.prototype.getConditionsFromAttribute=function(e){for(var t=e.getAttribute(s.AttrConditions),a=[],l=t.split("&"),n=0;n<l.length;n++){var r=l[n].split("|");3===r.length&&a.push(new i.InteractiveCondition(r[0],r[1],r[2],e))}return a},i.InteractiveConditionFunctions=function(){var e={};function t(e){var t=e.node.owner.getValueByName(e.trigger),a=e.value;return null!=t&&t===a}return e.DefaultFunction=function(){return!0},e.DoesValueMatch=function(){return t(this)},e.DoesValueNotMatch=function(){return!t(this)},e}(),i.InteractiveCondition=function(e,t,a,l){this.node=l,this.type=e,this.trigger=t,this.value=a,this.conditionalFunction=this.getConditionalFunction()},i.InteractiveCondition.prototype.getConditionalFunction=function(){switch(this.type){case"show-if":return i.InteractiveConditionFunctions.DoesValueMatch;case"hide-if":return i.InteractiveConditionFunctions.DoesValueNotMatch;default:return i.InteractiveConditionFunctions.DefaultFunction}},i.Events=i.Events||{},i.Events.NavIndexEvent=function(e,t){return new i.CustomEvent("nav-move",{bubbles:!0,focus:t,detail:{index:e}})},i.Events.NavIdEvent=function(e,t){return new i.CustomEvent("nav-id",{bubbles:!0,focus:t,detail:{id:e}})},i.Events.NavNextEvent=function(e){return new i.CustomEvent("nav-next",{bubbles:!0,focus:e})},i.Events.NavPrevEvent=function(e){return new i.CustomEvent("nav-prev",{bubbles:!0,focus:e})},i.Events.SetValueEvent=function(e,t){return new i.CustomEvent("set-value",{bubbles:!0,detail:{name:e,value:t}})},i.Events.ScreenVisibilityEvent=function(e){return new i.CustomEvent("screen-visibility",{bubbles:!0,detail:{visibility:e}})},i.Events.ScreenShownEvent=function(e){return new i.CustomEvent("screen-shown",{bubbles:!0,detail:{id:e}})};var r=function(){var e,t="",a=document.querySelectorAll("div.lfc__cat-variable");for(e=0;e<a.length;e++)"-"!==a[e].querySelector("p.lfc__cat-variable-value").innerText&&(t+=a[e].querySelector("p.lfc__cat-variable-name").innerText+": "+a[e].querySelector("p.lfc__cat-variable-value").innerText+"|");return t},o=function(t){function l(e){var t=e.querySelector(".lfc__table-results"),a=e.querySelectorAll(".lfc__cat-total-value"),l=0,n=0,i=0,s=0,r=0,c=parseFloat(e.getValueByName("debt-family-amount")),d=parseFloat(e.getValueByName("debt-family-duration"));isNaN(c)||isNaN(d)||0===c||!(d>0)||(l+=c*d*12,e.setValue("fam-total",l));var u=parseFloat(e.getValueByName("education-type"));if(isNaN(u))e.setValue("education-total","");else{var m=0;for(var v in e.values)if(e.values.hasOwnProperty(v)){var h=e.values[v];null!==h.name&&void 0!==h.name&&0===h.name.indexOf("child-age")&&(m+=""===h.value||0===h.value.length||isNaN(h.value)?0:Math.min(Math.max(21-h.value,0),4))}n+=m*u,e.setValue("education-total",n)}"debts-final debt-mortgage-amount debt-other-money debt-student-money".split(" ").forEach(function(t){l+=e.getValueByName(t)||0}),"education-other-money".split(" ").forEach(function(t){n+=e.getValueByName(t)||0}),"legacy-gift-amount".split(" ").forEach(function(t){i+=e.getValueByName(t)||0}),"assets-insurance assets-other".split(" ").forEach(function(t){s-=e.getValueByName(t)||0}),r=l+n+i+s,t.querySelector(".Debts__expenses + td").innerText=l>0?"+"+l.formatAsDollars():l.formatAsDollars(),t.querySelector(".Education + td").innerText=n>0?"+"+n.formatAsDollars():n.formatAsDollars(),t.querySelector(".Legacy__inheritance + td").innerText=i>0?"+"+i.formatAsDollars():i.formatAsDollars(),t.querySelector(".Assets + td").innerText=s>0?"+"+s.formatAsDollars():s.formatAsDollars(),t.querySelector("tfoot td").innerText=r.formatAsDollars(),o(e),a.forEach(function(e){e.innerText=r.formatAsDollars()})}function s(e,t,a){null==a&&(a=!0);var l=(e.getAttribute(t)||a).toLowerCase();
1"true"!==l&&"false"!==l&&(l=a.toLowerCase()),e.setAttribute(t,"true"!==l)}function o(e){e.querySelectorAll(".lfc__cat-variable").forEach(function(t){var a=t.querySelector(".lfc__cat-variable-value"),l=t.getAttribute("data-value"),n=t.getAttribute("data-format"),i=e.getValueByName(l);if(null===i||""===i)a.innerText="-";else if(a.innerText!==i){if("number"===n){var s=parseFloat(i);isNaN(s)||(i=s)}else"money"===n&&(i=parseFloat(i).formatAsDollars());a.innerText=i}})}t.addEventListener("click",function(e){if(e.target.matches(".lfc__primary-nav-list button"))(function(e){var t=e.getAttribute("aria-controls");e.dispatchEvent(new i.Events.NavIdEvent(t))})(e.target),e.target.matches(".lfc--medium button")&&s(e.currentTarget.querySelector(".lfc--medium"),"data-open");else if(e.target.matches(".lfc--medium .lfc__dropdown-button"))s(e.target,"aria-expanded"),s(e.currentTarget.querySelector(".lfc--medium"),"data-open"),e.currentTarget.querySelector(".lfc--medium [aria-selected=true]").focus();else if(e.target.matches(".lfc__button-nav--next"))e.target.dispatchEvent(new i.CustomEvent("screen-completed",{bubbles:!0})),e.target.dispatchEvent(new i.Events.NavNextEvent);else if(e.target.matches(".lfc__button-nav--back"))e.target.dispatchEvent(new i.Events.NavPrevEvent);else if(e.target.matches(".fld--list-radio.lfc__field--as-button label")||e.target.matches(".fld--list-radio.lfc__field--as-button input[type=radio]"))(function(e){if("LABEL"===e.nodeName){var t=e.getAttribute("for");e=document.getElementById(t)}e.dispatchEvent(new i.Events.SetValueEvent(e.getAttribute("name"),e.getAttribute("value")))})(e.target);else if(e.target.matches(".lfc__children-add")){var t,a=parseFloat(e.target.getAttribute("data-index"));if(isNaN(a))return!0;e.target.dispatchEvent(new i.Events.SetValueEvent("children-add-"+a,"true")),e.target.dispatchEvent(new i.CustomEvent("screen-completed",{bubbles:!0})),e.target.dispatchEvent(new i.Events.NavNextEvent)}else if(e.target.matches(".lfc__control-reset"))(t=e.currentTarget).querySelectorAll("input[type=text]").forEach(function(e){e.value=""}),t.querySelectorAll("input[type=radio]").forEach(function(e){e.checked=!1}),t.values=[],t.completedScreens=[],l(t),c(t),o(t),t.dispatchEvent(new i.Events.NavIndexEvent(0));else if(e.target.matches(".btn__life-calc-contact-agency")){var n=document.getElementById(e.target.attributes["data-target-modal-id"].value).querySelector(".frm--agencyContact").querySelector("input.fld__additional-data");null!=n&&(n.value=r())}return!0}),t.addEventListener("focusout",function(t){var l,n;if(t.target.matches(".lfc__field--number")){if(""===t.target.value||/^\d*(\.\d+)?$/.test(t.target.value)){if(l=""===t.target.value?0:parseFloat(t.target.value),n=parseFloat(t.target.getAttribute("data-max")),isNaN(l))return t.target.dispatchEvent(new i.Events.SetValueEvent(t.target.id,"")),!0;isNaN(n)||l<=n?(a(t.target.parentNode,"fld--error"),t.target.dispatchEvent(new i.Events.SetValueEvent(t.target.id,l)),t.target.dispatchEvent(new i.Events.ValidationStateEvent(!0))):(e(t.target.parentNode,"fld--error"),t.target.dispatchEvent(new i.Events.SetValueEvent(t.target.id,"")),t.target.dispatchEvent(new i.Events.ValidationStateEvent(!1)))}else e(t.target.parentNode,"fld--error"),t.target.dispatchEvent(new i.Events.SetValueEvent(t.target.id,"")),t.target.dispatchEvent(new i.Events.ValidationStateEvent(!1))}else if(t.target.matches(".lfc__field--money")){var s=RegExp("^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$");if(""===t.target.value||s.test(t.target.value.replace(/[\$,]/g,""))){var r=RegExp("[\\$,]","g");if(l=parseFloat(t.target.value.replace(r,"")),n=parseFloat(t.target.getAttribute("data-max")),isNaN(l))return t.target.dispatchEvent(new i.Events.SetValueEvent(t.target.id,"")),!0;t.target.value=l.formatAsDollars(),isNaN(n)||l<=n?(a(t.target.parentNode,"fld--error"),t.target.dispatchEvent(new i.Events.SetValueEvent(t.target.id,l)),t.target.dispatchEvent(new i.Events.ValidationStateEvent(!0))):(e(t.target.parentNode,"fld--error"),t.target.dispatchEvent(new i.Events.SetValueEvent(t.target.id,"")),t.target.dispatchEvent(new i.Events.ValidationStateEvent(!1)))}else e(t.target.parentNode,"fld--error"),t.target.dispatchEvent(new i.Events.SetValueEvent(t.target.id,"")),t.target.dispatchEvent(new i.Events.ValidationStateEvent(!1))}else if(t.target.matches(".lfc__field--children")){var o,c,d=(o=t.target,c="lfc__field--children-group",o.matches(c)?o:o.parentNode?o.parentNode.closest(c):null);null!==d.querySelector(".fld--error")?e(d,"lfc__children-group--error"):a(d,"lfc__children-group--error")}}),t.addEventListener("focusin",function(e){if(e.target.matches(".lfc__primary-nav-list"))e.target.querySelector("[aria-selected=true]").focus();else if(e.target.matches(".lfc__field--money")){var t=RegExp("[\\$,]"),a=e.target.value.replace(t,"");isNaN(parseFloat(a))||(e.target.value=a)}}),t.addEventListener("set-value",function(e){e.currentTarget.querySelectorAll("[data-conditions*='|"+e.detail.name+"|']").forEach(function(e){e.querySelectorAll("input").forEach(function(e){"radio"===e.type?(e.checked=!1,e.dispatchEvent(new i.Events.SetValueEvent(e.name,"No"))):(e.value="",e.dispatchEvent(new i.Events.SetValueEvent(e.id,"")))})}),l(t)}),t.addEventListener("screen-shown",function(e){e.currentTarget.querySelectorAll("[aria-selected=true]").forEach(function(e){e.setAttribute("aria-selected",!1)}),null!==e.target.querySelector(".lfc__screen--results")&&e.target.dispatchEvent(new i.CustomEvent("screen-completed",{bubbles:!0,detail:{id:e.target.id}}));var t=e.target.querySelector("[data-category]").getAttribute("data-category");(function(e,t){for(var a=e.querySelectorAll(".lfc--large .lfc__primary-nav-list button"),l=0,n=a.length;l<n;l++)if(!(0>a[l].innerText.toLowerCase().indexOf(t.toLowerCase()))){var i=e.querySelector(".lfc__cat-variables");i.setAttribute("aria-busy","true"),i.setAttribute("data-category",l),i.removeAttribute("aria-busy"),e.querySelector(".lfc__dropdown-header p").innerHTML=a[l].innerHTML.replace(' <span class="eig__sr-only">(completed)</span>',"")}})(e.currentTarget,t),e.currentTarget.querySelectorAll("[aria-selected=false]").forEach(function(e){e.innerText.toLowerCase().indexOf(t.toLowerCase())>=0&&e.setAttribute("aria-selected","true")}),c(e.currentTarget)}),t.addEventListener("screen-completed",function(e){void 0===e.currentTarget.completedScreens&&(e.currentTarget.completedScreens=[]),e.currentTarget.completedScreens.push(e.detail.id),c(e.currentTarget)}),t.addEventListener("screen-visibility",function(e){null!==e.target.querySelector(".lfc__screen--results")&&(e.currentTarget.querySelector(".lfc__primary-screen > .lfc__cat-total").style.display="shown"===e.detail.visibility?"none":"block")}),t.addEventListener("keydown",function(e){var t=e.key||e.which;if(e.target.matches(".lfc__primary-nav-list button")&&"Tab"===t){if(e.shiftKey){var a=n(e.currentTarget);null!=a&&a.focus({preventScroll:!0})}var l=e.currentTarget.querySelector("[data-open=true]");if(null==l)return;l.querySelector("[aria-expanded=true]")&&s(l.querySelector("[aria-expanded=true]"),"aria-expanded"),s(l,"data-open")}}),t.querySelectorAll(".lfc__field--children-group").forEach(function(e){e.addEventListener("validation-state",function(e){if(e.target.matches(".lfc__field--children .lfc__field--number")){for(var t="#"+e.currentTarget.getAttribute("data-error")+" .fld__error",a=e.currentTarget.parentNode.querySelector(t),l=e.currentTarget.querySelectorAll(".fld--error label"),n=[],i=0,s=l.length;i<s;i++)n.push(l[i].innerText);n.length>0&&(a.innerText=a.getAttribute("data-template").replace("{0}",n.join(", "))),a.style.display=0===l.length?"none":"block"}})});var d=t.querySelector(".lfc--large .lfc__primary-nav-list"),u=t.querySelector(".lfc--medium .lfc__primary-nav-list");function m(e){switch(e.key||e.which){case"ArrowRight":case"ArrowDown":!function(e){for(var t=e.querySelectorAll("[role=tab]"),a=-1,l=0,n=t.length;l<n;l++)t[l]===document.activeElement&&(a=l);a<0?t[0].focus():a>=t.length-1||t[a+1].focus()}(e.currentTarget);break;case"ArrowUp":case"ArrowLeft":!function(e){for(var t=e.querySelectorAll("[role=tab]"),a=t.length,l=0,n=t.length;l<n;l++)t[l]===document.activeElement&&(a=l);a>=t.length?t[t.length-1].focus():a<=0||t[a-1].focus()}(e.currentTarget)}e.currentTarget.isShiftTabbing=!1}function v(e){(null===e.detail||void 0===e.detail||null===e.detail.id||void 0===e.detail.id)&&(e.stopPropagation(),i.val
1idateInputAgainstPattern(e.currentTarget)&&null===e.currentTarget.querySelector(".fld--error")&&e.currentTarget.dispatchEvent(new i.CustomEvent("screen-completed",{bubbles:!0,detail:{id:e.currentTarget.id}})))}d.addEventListener("focus",function(e){e.currentTarget.isShiftTabbing||e.target.querySelector("[aria-selected=true]").focus()}),d.addEventListener("keydown",function(e){"tab"===e.key.toLowerCase()&&e.shiftKey&&(e.currentTarget.isShiftTabbing=!0)}),d.addEventListener("keyup",m),u.addEventListener("keyup",m),t.screens.forEach(function(t){t.addEventListener("screen-completed",v),t.addEventListener("nav-next",function(a){i.validateInputAgainstPattern(a.currentTarget)&&null===a.currentTarget.querySelector(".fld--error")||(a.stopPropagation(),null===t.querySelector(".fld--error")&&e(a.currentTarget.querySelector("input[pattern]").parentNode,"fld--error"))})})};function c(e){var t=e.querySelectorAll(".eig__interactive-screen");(null===e.completedScreens||void 0===e.completedScreens)&&(e.completedScreens=[]),d(e.querySelectorAll(".lfc--large .lfc__primary-nav-list li"),t,e.completedScreens),d(e.querySelectorAll(".lfc--medium .lfc__primary-nav-list li"),t,e.completedScreens)}function d(e,t,a){e.forEach(function(e){for(var l=[],n=!0,i=e.querySelector("button"),s=' <span class="eig__sr-only">(completed)</span>',r=i.matches("[aria-selected=true]"),o=0,c=t.length;o<c;o++){var d=t[o],u=d.querySelector("[data-category]");e.innerText.toLowerCase().indexOf(u.getAttribute("data-category").toLowerCase())>=0&&l.push(d)}for(var m=0,v=l.length;m<v;m++)l[m].canShow()&&!a.includes(l[m].id)&&(n=!1);n?(e.setAttribute("data-completed",!0),0>i.innerHTML.indexOf(s)&&(i.innerHTML+=s),i.removeAttribute("disabled"),i.removeAttribute("aria-disabled")):r?(i.removeAttribute("disabled"),i.removeAttribute("aria-disabled")):(e.setAttribute("data-completed","false"),i.innerHTML.replace(s,""),i.setAttribute("disabled",""),i.setAttribute("aria-disabled","true"))})}return i.validateInputAgainstPattern=function(e){var t=e.querySelectorAll("input[pattern]");if(null==t)return!0;for(var a=0,l=t.length;a<l;a++){var n=t[a];if(!new RegExp(n.getAttribute("pattern")).test(n.value))return!1}return!0},i.Events=i.Events||{},i.Events.ValidationStateEvent=function(e){return new i.CustomEvent("validation-state",{bubbles:!0,detail:{isValid:e}})},{start:function(){i.Interactive.init(),console.log("document.querySelectorAll(.lfc)",document.querySelectorAll(".lfc")),document.querySelectorAll(".lfc").forEach(function(e){o(e),e.move(0),c(e)})}}}();let nU=()=>(0,tS.jsx)("span",{className:"loader",role:"status"}),nW=e=>(0,tS.jsx)("div",{className:e.className,style:{backgroundImage:"url(data:image/png;base64,".concat("iVBORw0KGgoAAAANSUhEUgAAAHgAAACMCAIAAAA4BfqKAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAHrKSURBVHheXf3ln2THkccL65+4z66lQbG1MqxJlmTLJFtgyZIs1mgYepqZmRmqi5m5qpmZmbmrmaqZBuTdvW9uROSpnvGjT+7ZrDwJkd/8ncjIUzXtZ87dkj5JNyXnboopI4b03E3hc7ck5yDdlnqS7Dm8BYWYP3dLfO625LnbVOdJYv1Ah54SrMA6FEHCEpa/Dv2LWTp3GyvAreduCrhq0ANWow5hFDAGy2l0GPq29PxtOWVk5+54xoImYCHL48ezRLO7zQYCsyGPfZKpUjIArILRae5wizXHDObP4/UsUXPshwzAvOQ89HlTdu4GA8X6RwtxaKyP6RlmHGcQ1GBXGBtmdUPIOnpy5e6y7sg+MNdjGUeBq0PlyIus99jn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uQGC1O+ibv312pWr3tFbu/sZxvbfhZsDJBW9owMba0t1LS21nc3lrbVl9VXw/I1OTpZUVlnKK9uGptQVA3cySv+Z4HwGvzqMcbwUU/JzpFz+1yh7RJp+a2OrubPDbNZOjvZu48tPF31dsgcBJr5inp1s62ju6G7rHeqraWlsaGtsam0YRspToPRDiDE4LeNf7+EoD/W22fmLvc7xeu1gRdFQNX+oSthTIWq1FckSrphy78kSrmX7fphy911h5D8teX
1dlsV9meP1FGPNVlv/fcwI/1Wfe0aTdjr73qe+daxqddn5pyY3/LgDj7onx8aaW1tL6Jl1FfaGpLElpTtKYE9TGRDVEzeC7xTyTsNgk4pkEyeL4eH7kVxHXb2SGfZ18O4QfniCNyVInxhUG+SfdDMsPyNam8CxF6WpZmER0n5d7vyjldmHkzfwwb16iV2GeV1H27bzIz4OvfuF755vUwj/G2/4WX5KtrAblqZw1isoSfaWhrKZ0YmpyeGwMHDfELfbyirKG5vahWaGl4/8DORCfR1P/iN4AAAAASUVORK5CYII=",")")}}),nZ=()=>(0,tS.jsx)(tS.Fragment,{children:[{value:"",label:"Select a language"},{value:"albanian",label:"Albanian"},{value:"american sign language",label:"American Sign Language"},{value:"arabic",label:"Arabic"},{value:"assyrian",label:"Assyrian"},{value:"cambodian",label:"Cambodian"},{value:"cantonese",label:"Cantonese"},{value:"dutch",label:"Dutch"},{value:"farsi",label:"Farsi"},{value:"french",label:"French"},{value:"fuchouese",label:"Fuchouese"},{value:"fukenese (chinese dialect)",label:"Fukenese (Chinese dialect)"},{value:"fuzhou",label:"Fuzhou"},{value:"german",label:"German"},{value:"greek",label:"Greek"},{value:"hebrew",label:"Hebrew"},{value:"hindi",label:"Hindi"},{value:"hmong",label:"Hmong"},{value:"hungarian",label:"Hungarian"},{value:"ibo (nigerian)",label:"Ibo (Nigerian)"},{value:"italian",label:"Italian"},{value:"japanese",label:"Japanese"},{value:"korean",label:"Korean"},{value:"lithuanian",label:"Lithuanian"},{value:"mandarin",label:"Mandarin"},{value:"mongolian",label:"Mongolian"},{value:"nepali",label:"Nepali"},{value:"norwegian",label:"Norwegian"},{value:"polish",label:"Polish"},{value:"portuguese",label:"Portuguese"},{value:"romanian",label:"Romanian"},{value:"russian",label:"Russian"},{value:"spanish",label:"Spanish"},{value:"tagalog",label:"Tagalog"},{value:"thai",label:"Thai"},{value:"turkish",label:"Turkish"},{value:"ukrainian",label:"Ukrainian"},{value:"urdu",label:"Urdu"},{value:"vietnamese",label:"Vietnamese"}].map(e=>(0,tS.jsx)("option",{value:e.value,label:e.label,children:e.label},e.value))}),nz=tL().publicUrl,nQ=e=>{let{setSelectedAgency:t,zipCode:a}=e,[l,n]=(0,tk.useState)(!1),[i,s]=(0,tk.useState)(!1),[r,o]=(0,tk.useState)([]),[c,d]=(0,tk.useState)({searchTerm:a,languageType:""}),u=e=>{let t=(""+e).replace(/\D/g,"").match(/^(1)?(\d{3})(\d{3})(\d{4})$/);return t?"(".concat(t[2],") ").concat(t[3]," - ").concat(t[4]):e},m=e=>{let{name:t,value:a}=e.target;d(e=>({...e,[t]:a}))};function v(e){var a,l,n;let i=null!==(l=e.currentTarget.getAttribute("data-agency"))&&void 0!==l?l:"",s=null!==(n=r.find(e=>(null==e?void 0:e.AgencyAccountNumber)==i))&&void 0!==n?n:null;t(s);let o=null===(a=document)||void 0===a?void 0:a.querySelector(".quote-modal-close-hover");o instanceof HTMLElement&&(null==o||o.focus()),aE.c.event(aE.a.QUOTE_MODAL_SELECTED_AGENCY,{agency_id:null==s?void 0:s.AgencyAccountNumber,agency_name:null==s?void 0:s.AgencyName})}let h=async(e,t)=>{let a="/api/agentlocator?";/^\d{5}(-\d{4})?$/.test(e)?a+="zipcode=".concat(encodeURIComponent(e)):/^[A-Z]{2}$/.test(e)?a+="state=".concat(encodeURIComponent(e)):/^[A-Za-z\s]+$/.test(e)?a+="city=".concat(encodeURIComponent(e)):a+="line1=".concat(encodeURIComponent(e)),n(!0),s(!1);try{var l,i,r;let e=await fetch(a);if(!e.ok)throw Error("Failed to fetch agency details");let c=await e.json(),d=(null==c?void 0:null===(r=c.AgentsByLocationResponse)||void 0===r?void 0:null===(i=r.GetAgentsByLocationWithMaxResultsResult)||void 0===i?void 0:null===(l=i._x003C_AgentInformation_x003E_k__BackingField)||void 0===l?void 0:l.AgentInformation)||[],u=t&&""!==t.trim()?d.filter(e=>{var a;let l=null===(a=e.Languages)||void 0===a?void 0:a.string;if(!e.Languages||!l||""===l||Array.isArray(l)&&0===l.length)return!1;let n=t.toLowerCase();return Array.isArray(l)?l.some(e=>(null==e?void 0:e.toString().toLowerCase())===n):(null==l?void 0:l.toString().toLowerCase())===n}):d;Array.isArray(u)?o(u):u&&o([u]),n(!1),s(!0)}catch(e){console.error(e)}finally{n(!1)}},p=e=>{let t="string"==typeof e?JSON.parse(e):e;return t&&"string"==typeof t.string?"English, "+t.string:t&&Array.isArray(t.string)?"English, "+t.string.join(", "):"English"},x=(e,t)=>{var a,l,n,i,s;let r=e.Image?(0,tS.jsx)("div",{style:{backgroundImage:"url(data:image/png;base64,".concat(e.Image,")")}}):(0,tS.jsx)(nW,{});return(0,tS.jsxs)("div",{className:"agency-listing__results-card",children:[(0,tS.jsx)("div",{className:"agency-listing__results-card-image",children:r}),(0,tS.jsxs)("div",{className:"agency-listing__results-card-detail
1s",children:[(0,tS.jsxs)("div",{className:"agency-listing__results-card-details-contact",children:[(0,tS.jsx)("h3",{className:"h6",id:"agencyName-".concat(e.AgencyName),children:e.AgencyName}),(0,tS.jsx)("div",{className:"agency-listing__results-card-locations",children:(0,tS.jsxs)("p",{className:"agency-listing__results-card-location",children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(nz,"/location-blue.svg"),alt:"Address"}),null===(a=e.Address)||void 0===a?void 0:a.Line1," ",null===(l=e.Address)||void 0===l?void 0:l.City,", ",null===(n=e.Address)||void 0===n?void 0:n.State," ",null===(i=e.Address)||void 0===i?void 0:i.Zip]})}),null===(s=e.AgentContact)||void 0===s?void 0:s.ContactInfo.map(e=>"Phone"===e.Type?(0,tS.jsx)(tS.Fragment,{children:(0,tS.jsxs)("p",{className:"agency-listing__results-card-location",children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(nz,"/phone-blue.svg"),alt:"Phone Number"}),(0,tS.jsx)("span",{children:"Phone:"}),(0,tS.jsx)("a",{className:"agency-listing__results-card-phone modal-agenct-search-phone",href:"tel:".concat(e.Value),children:u(e.Value)},e.Value)]})}):null),(0,tS.jsxs)("p",{className:"agency-listing__results-card-language",children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(nz,"/globe-blue.svg"),alt:"Languages Spoken"}),e.Languages?(0,tS.jsx)("p",{children:p(e.Languages)}):(0,tS.jsx)("p",{children:"English"})]})]}),(0,tS.jsx)("div",{className:"agency-listing__results-card-buttons",children:(0,tS.jsx)("button",{className:"btn btn-primary small","data-agency":e.AgencyAccountNumber,onClick:v,"aria-labelledby":"agencyName-".concat(e.AgencyName),children:"Choose agency"})})]})]},t)};return(0,tS.jsxs)("div",{className:"".concat(i?"height-full":""),children:[(0,tS.jsxs)("div",{className:"quote-modal__title",children:[(0,tS.jsx)("h2",{id:"search-title",className:"h4",children:"Find a local agency"}),(0,tS.jsx)("p",{children:"Complete the form below to find a local ERIE agency and get started."})]}),(0,tS.jsxs)("form",{onSubmit:e=>{e.preventDefault(),h(c.searchTerm,c.languageType),aE.c.event(aE.a.QUOTE_MODAL_SEARCH,{search_term:c.searchTerm,language:c.languageType})},className:"form",children:[(0,tS.jsxs)("div",{className:"quote-modal__input",children:[(0,tS.jsxs)("div",{className:"quote-modal__search form-input form-input-single-line floating-label-container ",children:[(0,tS.jsx)("input",{type:"text",name:"searchTerm",value:c.searchTerm,onChange:m}),(0,tS.jsx)("label",{htmlFor:"searchTerm",id:"searchTerm_label",children:"Address, City, State, or ZIP"})]}),(0,tS.jsxs)("div",{className:"quote-modal__dropdown form-input form-input-single-line floating-label-container",children:[(0,tS.jsx)("select",{className:"select",id:"languageType",name:"languageType",value:c.languageType,onChange:m,children:(0,tS.jsx)(nZ,{})}),(0,tS.jsx)("label",{htmlFor:"languageType",children:"Select language if other than English (optional)"})]})]}),(0,tS.jsx)("button",{disabled:l,"aria-disabled":l,className:"btn btn-primary arrow",type:"submit",children:"Submit"})]}),l&&(0,tS.jsx)("div",{className:"agency-listing__loading-container",children:(0,tS.jsx)(nU,{})}),i&&!!(null==r?void 0:r.length)&&(0,tS.jsx)("div",{className:"agency-listing__results",children:r.map((e,t)=>x(e,t))}),i&&!(null==r?void 0:r.length)&&(0,tS.jsx)("div",{className:"agency-listing__results",children:(0,tS.jsx)("h5",{children:"No results found"})})]})};(l=r||(r={})).AutocompleteType="Autocomplete Type",l.CanBePopulatedFromQueryString="Can Be Populated From Query String",l.DefaultSelection="Default Selection",l.DefaultText="Default Text",l.Description="Description",l.DisplayInline="Display Inline",l.DisplayHorizontally="Display Horizontally",l.DisplayName="Display Name",l.DisplayThreeHorizontally="Display Three Horizontally",l.ErrorMessage="Error Message",l.FormIdentifier="Form Identifier",l.FormTitle="Form Title",l.GranularErrorMessage="Granular Error Message",l.GroupLabel="Group Label",l.HasDummyOption="Has Dummy Option",l.HeadingText="Heading Text",l.HintText="Hint Text",l.ID="ID",l.IncludeInSubmittedData="Include In Submitted Data",l.InternalFieldName="Internal Field Name",l.IsChecked="Is Checked",l.IsMultiselect="Is Multiselect",l.Label="Label",l.MaximumLength="Maximum Length",l.Options="Options",l.PlaceholderText="Placeholder Text",l.Required="Required",l.StayOnPageAfterSubmission="Stay On Page After Submission",l.SubmitTextInsteadOfValue="Submit Text Instead of Value",l.SuccessMessage="Success Message",l.SuccessPage="Success Page",l.TriggerField="Trigger Field",l.TriggerValue="Trigger Value",l.ValidationPattern="Validation Pattern",l.Value="Value",l.Width="Width";let nY={InsertNewItem:{header:"Insert new item",icon:"/~/icon/Office/16x16/insert_from_template.png",tooltip:"Insert new item",click:"webedit:new"},ManageItems:{header:"Manage items",icon:"/~/icon/Office/16x16/revert_tree.png",tooltip:"Manage items",click:"webedit:manageitems"},EditFields:{header:"Edit fields",icon:"/~/icon/Office/16x16/pencil.png",tooltip:"Edit fields",fields:Object.values(r)}},nK={toSafeName:e=>{var t;return null!==(t=null==e?void 0:e.replaceAll(" ","_"))&&void 0!==t?t:null}};var nJ=a(7536);let nX={active:!1,visited:!1,isHiddenForTrigger:!1};var n$=(e,t,a,l,n)=>{var i,s,o,c,d,u;let m=(0,tk.useId)(),v=tk.useMemo(()=>{var a;return nK.toSafeName(null!=e?e:t?null===(a=t[r.ID])||void 0===a?void 0:a.value:m)},[e,t,m]),[h,p]=tk.useState(nX),x=(0,nJ.Gc)(),g=(0,tM.z)(),f=null!=a?a:x.register(v,{required:(null==t?void 0:null===(i=t.Required)||void 0===i?void 0:i.value)&&!h.isHiddenForTrigger?{value:!0,message:(null===(s=t[r.ErrorMessage])||void 0===s?void 0:s.value)||"Required"}:void 0,pattern:t&&(null===(o=t[r.ValidationPattern])||void 0===o?void 0:o.value)&&!h.isHiddenForTrigger?{value:new RegExp(t[r.ValidationPattern].value),message:(null===(c=t[r.GranularErrorMessage])||void 0===c?void 0:c.value)||"Invalid value"}:void 0,maxLength:t&&(null===(d=t[r.MaximumLength])||void 0===d?void 0:d.value)?{value:t[r.MaximumLength].value,message:(null===(u=t[r.GranularErrorMessage])||void 0===u?void 0:u.value)||"Invalid value"}:void 0,onBlur:a?void 0:async e=>{await x.trigger(v),p({...h,active:!1}),(null==n?void 0:n.onBlur)&&n.onBlur(e)}}),j=x.getFieldState(v),b=tk.useMemo(()=>!!j.invalid&&x.formState.isSubmitted,[j,x.formState.isSubmitted]),y=tk.useMemo(()=>{var e;return!!g.sitecoreContext.editMode||!b&&!!t&&!!(null===(e=t[r.HintText])||void 0===e?void 0:e.value)},[b,t,g.sitecoreContext.editMode]),N=tk.useMemo(()=>!g.sitecoreContext.pageEditing&&h.isHiddenForTrigger,[g.sitecoreContext.pageEditing,h.isHiddenForTrigger]),_=tk.useMemo(()=>{var e,a,l,n,i,s,o,c;return{...f,name:v,id:m,required:f.required&&!N,pattern:N?void 0:f.pattern,width:t&&(null===(e=t[r.Width])||void 0===e?void 0:e.value)?t[r.Width].value:void 0,placeholder:t&&(null===(a=t[r.PlaceholderText])||void 0===a?void 0:a.value)?null===(l=t[r.PlaceholderText])||void 0===l?void 0:l.value:" ",autoComplete:t&&(null===(n=t[r.AutocompleteType])||void 0===n?void 0:n.fields)&&(null===(s=t[r.AutocompleteType])||void 0===s?void 0:null===(i=s.fields["Attribute Value"])||void 0===i?void 0:i.value)?null===(c=t[r.AutocompleteType])||void 0===c?void 0:null===(o=c.fields["Attribute Value"])||void 0===o?void 0:o.value:"off","aria-labelledby":"".concat(m,"_label"),"aria-describedby":y?"".concat(m,"_hint"):void 0,"aria-errormessage":b?"".concat(m,"_error"):void 0}},[t,y,b,v,f,m,N]),C=tk.useMemo(()=>(0,tS.jsxs)("label",{htmlFor:m,id:"".concat(m,"_label"),children:[!l&&!!(null==t?void 0:t.Label)&&(0,tS.jsx)(am.x,{field:null==t?void 0:t.Label,tooltip:null==t?void 0:t.Label}),!!l&&(0,tS.jsx)("span",{title:l,children:l})]}),[m,t,l]);return tk.useEffect(()=>{var e,a,l,n,i;let s=null;if(t&&(null===(e=t[r.TriggerField])||void 0===e?void 0:e.name)){let e=nK.toSafeName(t[r.TriggerField].name),a=null===(i=t[r.TriggerValue])||void 0===i?void 0:i.value;s=x.watch((t,l)=>{if(l.name==e){let e=t[l.name],n=!(e===a||Array.isArray(e)&&a&&Array.from(e).includes(a));p(e=>({...e,isHiddenForTrigger:n}))}});let l=x.watch(e),n=!(Array.isArray(l)&&l.includes(null!=a?a:"")||l==a);p(e=>({...e,isHiddenForTrigger:n}))}else h.isHiddenForTrigger&&p(e=>({...e,isHiddenForTrigger:!1}));if(t&&(null===(a=t[r.CanBePopulatedFromQueryString])||void 0===a?void 0:a.value)){let e=new URLSearchParams(window.location.search).getAll(v);if(e.length){let t=null;t=e.length>1?e:e[0],x.setValue(v,t)}}else t&&(null===(l=t[r.Value])||void 0===l?void 0:l.value)?x.setValue(v,t[r.Value].value):t&&(null===(n=t[r.IsChecked])||void 0===n?void 0:n.value)&&x.setValue(v,!0);return()=>{null==s||s.unsubscribe()}},[t,v,x,h.isHiddenForTrigger]),{formContext:x,fieldState:j,fieldRegistration:f,name:v,id:m,isEditMode:!!g.sitecoreContext.pageEditing,showHint:y,showError:b,standardProperties:_,labelComponent:C,isHiddenForTrigger:N}};let n0=e=>{var t,a;let l=null==e?void 0:e.fields,n=n$(null==e?void 0:e.name,l);return n.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):!!e&&(0,tS.jsx)(av.X,{dataSource:{itemId:null==e?void 0:e.id},title:"Single-Line Text",tooltip:"Edit Single-Line Text",buttons:[nY.EditFields],children:l&&(0,tS.jsxs)("div",{className:"form-input form-input-single-line ".concat(n.showError?"form-input-error":""," ").concat(l[r.PlaceholderText].value?"":"floating-label-container"," ").concat(n.isHiddenForTrigger?"form-input-hidden":""),children:[(0,tS.jsx)("input",{type:"text",...n.standardProperties,"aria-describedby":n.showError?"".concat(n.id,"_error"):"".concat(n.id,"_hint"),"aria-invalid":n.showError?"true":"false"}),n.labelComponent,!!n.showHint&&!n.showError&&!!l&&(0,tS.jsx)(am.x,{id:"".concat(n.id,"_hint"),field:l[r.HintText],tag:"p",className:"form-input-hint"}),!!n.showError&&(0,tS.jsx)("span",{id:"".concat(n.id,"_error"),role:"alert",className:"form-input-error-message",children:(null===(t=n.fieldState.error)||void 0===t?void 0:t.message)||"Required"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:!!n.showError&&(0,tS.jsx)("span",{children:(null===(a=n.fieldState.error)||void 0===a?void 0:a.message)||"Required"})})]})})},n1=e=>{var t,a,l,n;let i=null==e?void 0:e.fields,s=n$(null==e?void 0:e.name,i),o=tk.useMemo(()=>{var e,t,a;return null==i?void 0:null===(a=i.Options)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:null===(e=t.split("&"))||void 0===e?void 0:e.map((e,t)=>{var a;let l=e.split("=");return{value:!t&&i[r.Required].value&&(null===(a=i[r.HasDummyOption])||void 0===a?void 0:a.value)?"":decodeURIComponent(l[0]),label:decodeURIComponent(l[1])}})},[i]),c=tk.useMemo(()=>null==o?void 0:o.map((e,t)=>(0,tS.jsx)("option",{value:e.value,children:e.label},"dropdownOption".concat(t))),[o]);return s.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Dropdown",tooltip:"Edit Dropdown",buttons:[nY.EditFields],children:(0,tS.jsxs)("div",{className:"form-input form-input-dropdown ".concat(s.showError?"form-input-error":""," ").concat(s.isHiddenForTrigger?"form-input-hidden":""," ").concat(i&&(null===(t=i[r.IsMultiselect])||void 0===t?void 0:t.value)?"form-input-dropdown-multiple":""," ").concat(i&&(null===(a=i[r.HasDummyOption])||void 0===a?void 0:a.value)?"form-input-dummy":""),children:[(0,tS.jsx)("select",{...s.standardProperties,children:c}),s.labelComponent,s.showHint&&!s.showError&&i&&(0,tS.jsx)(am.x,{id:"".concat(s.id,"_hint"),field:i[r.HintText],tag:"p",className:"form-input-hint"}),s.showError&&(0,tS.jsx)(am.x,{id:"".concat(s.id,"_error"),tag:"span",field:{value:null===(l=s.fieldState.error)||void 0===l?void 0:l.message},className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:s.showError&&(0,tS.jsx)(am.x,{tag:"span",field:{value:null===(n=s.fieldState.error)||void 0===n?void 0:n.message}})})]})})},n2=e=>{let t=null==e?void 0:e.fields;return(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Subsection Heading",tooltip:"Edit Subsection Heading",buttons:[nY.EditFields],children:(0,tS.jsx)("div",{className:"form-input",children:(0,tS.jsx)(am.x,{field:t[r.HeadingText],tag:"h6"})})})},n3=e=>{var t,a;let l=null==e?void 0:e.fields,n=n$(null==e?void 0:e.name,l);return n.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:null==e?void 0:e.id},title:"Text Box Field",tooltip:"Edit Text Box Field",buttons:[nY.EditFields],children:!!l&&(0,tS.jsxs)("div",{className:"form-input form-input-textarea ".concat(n.showError?"form-input-error":""," ").concat(n.isHiddenForTrigger?"form-input-hidden":""),children:[n.labelComponent,(0,tS.jsx)("textarea",{...n.standardProperties,"aria-describedby":n.showError?"".concat(n.id,"_error"):"".concat(n.id,"_hint"),"aria-invalid":n.showError?"true":"false"}),n.showHint&&!n.showError&&(0,tS.jsx)(am.x,{id:"".concat(n.id,"_hint"),className:"form-input-hint",field:l[r.HintText],tag:"p"}),!!n.showError&&(0,tS.jsx)("span",{id:"".concat(n.id,"_error"),role:"alert",className:"form-input-error-message",children:(null===(t=n.fieldState.error)||void 0===t?void 0:t.message)||"Required"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:!!n.showError&&(0,tS.jsx)("span",{children:(null===(a=n.fieldState.error)||void 0===a?void 0:a.message)||"Required"})})]})})},n4=e=>{var t,a;let l=null==e?void 0:e.fields,n=(0,tM.z)(),i=n$(e.name,l),s=tk.useRef(null),o=tk.useMemo(()=>{var t;let a={},i=(null===(t=e.children)||void 0===t?void 0:t.map((e,t)=>{var n,i,s,o,c,d;let u=nK.toSafeName(null!==(d=e.name)&&void 0!==d?d:l?null===(n=l[r.ID])||void 0===n?void 0:n.value:""),m=l&&(null===(i=l[r.Width])||void 0===i?void 0:i.value)?"".concat(null===(s=l[r.Width])||void 0===s?void 0:s.value,"px"):null,v=!l||(null===(o=l[r.DisplayThreeHorizontally])||void 0===o?void 0:o.value)?"33":"50",h=!l||(null===(c=l[r.DisplayHorizontally])||void 0===c?void 0:c.value)?(0,tS.jsx)("div",{style:{width:m?"max(calc(".concat(v,"% - 5px), calc(").concat(m," - 0px)))"):void 0},children:(0,tk.createElement)(id,{...e,key:"formField".concat(t)})},"formField".concat(t)):(0,tk.createElement)(id,{...e,key:"formField".concat(t)});return a[u]=null,h}))||[];return n.sitecoreContext.pageEditing&&(null==i?void 0:i.length)==0&&(i=[(0,tS.jsx)("i",{children:"Add a new Multi Text Input element"},"empty")]),s.current=a,i},[e.children,n.sitecoreContext,l]);return tk.useEffect(()=>{var e;let t=null;
1return s.current&&(null===(e=Object.keys(s.current))||void 0===e?void 0:e.length)&&(t=i.formContext.watch((e,t)=>{let a=s.current?Object.keys(s.current):[];if(t.name&&s.current&&a.includes(t.name)){s.current={...s.current,[t.name]:e[t.name]};let l=i.formContext.watch(a).join(" ").trim();i.formContext.setValue(i.name,l),i.formContext.trigger(i.name)}})),()=>null==t?void 0:t.unsubscribe()},[l,i]),i.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Multi Text Input Field",tooltip:"Edit Multi Text Input Field",buttons:[nY.EditFields,nY.InsertNewItem,nY.ManageItems],children:!!l&&(0,tS.jsxs)("div",{className:"form-input form-multitext-input ".concat(i.showError?"form-input-error":""," ").concat(i.isHiddenForTrigger?"form-input-hidden":""),children:[(0,tS.jsx)(am.x,{field:l[r.GroupLabel],tag:"h6"}),(0,tS.jsx)(tD.H,{field:l[r.Description]}),(0,tS.jsx)("input",{...i.standardProperties,className:"form-input-hidden",required:!!l[r.Required]&&!!l[r.Required].value}),(0,tS.jsx)("div",{className:"input-container ".concat(l&&(null===(t=l[r.DisplayHorizontally])||void 0===t?void 0:t.value)?"input-container-2":""," ").concat(l&&(null===(a=l[r.DisplayThreeHorizontally])||void 0===a?void 0:a.value)?"input-container-3":""),children:o}),i.showHint&&!i.showError&&(0,tS.jsx)(am.x,{id:"".concat(i.id,"_hint"),field:l[r.HintText],tag:"p",className:"form-input-hint"}),i.showError&&(0,tS.jsx)("span",{className:"form-input-error-message multitext-error-message",children:l[r.ErrorMessage].value}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:i.showError&&(0,tS.jsx)("span",{children:l[r.ErrorMessage].value})})]})})},n5=e=>({id:"3d6f4854-fb17-4d3b-995a-d34443ef0f20",url:"/data/forms/agency-contact-form/fields/contact-details/contact-number",name:"Contact Phone",displayName:"Contact Phone",fields:{"Placeholder Text":{value:""},"Maximum Length":{value:12},"Validation Pattern":{value:"^(?:\\+?\\d+\\s*)?\\(?\\d{3}\\)?[\\s\\.-]?\\d{3}[\\s\\.-]?\\d{4}$"},"Can Be Populated From Query String":{value:!1},ID:{value:"Contact_Phone"},"Error Message":{value:"Enter a valid phone number using xxx-xxx-xxxx format"},"Granular Error Message":{value:""},Required:{value:e},Label:{value:"Phone Number"},"Hint Text":{value:""},"Autocomplete Type":{fields:{"Attribute Value":{value:"tel-national"}}}},template:"Single-Line Text",sortorder:50}),n9=e=>({id:"80efcfdc-a27e-45e7-a290-ce11c12cffd5",url:"/data/forms/agency-contact-form/fields/contact-details/email",name:"Contact Email",displayName:"Contact Email",fields:{"Placeholder Text":{value:""},Width:{value:null},"Maximum Length":{value:null},"Validation Pattern":{value:"^[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+.[a-zA-Z]{2,4}$"},"Include In Submitted Data":{value:!0},"Can Be Populated From Query String":{value:!1},ID:{value:""},"Internal Field Name":{value:""},"Error Message":{value:"Please enter a valid email address."},"Granular Error Message":{value:""},Required:{value:e},Label:{value:"Email Address"},"Hint Text":{value:""},"Autocomplete Type":{id:"105564c7-1ee1-478a-bbe1-99e61b8a3722",url:"/data/forms/autocomplete-types/email-address",name:"Email Address",displayName:"Email Address",fields:{"Attribute Value":{value:"email"}}},"Trigger Field":null,"Trigger Value":{value:""}},template:"Single-Line Text",sortorder:100}),n6=e=>{var t,a;let l=null==e?void 0:e.fields,n=n$(null==e?void 0:e.name,l),[i,s]=tk.useState({phone:!1,email:!0}),r=tk.useRef(!1);return tk.useEffect(()=>{let e=n.formContext.watch((e,t)=>{if(t.name==n.name){let a=e[t.name];s({phone:"Phone"==a,email:"Email"==a}),r.current=!0}});return r.current&&(r.current=!1,n.formContext.trigger("Contact_Email"),n.formContext.trigger("Contact_Phone")),()=>{e.unsubscribe()}},[s,i,n]),{selector:n.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:null==e?void 0:e.id},title:"Contact Preference",tooltip:"Edit Contact Preference",buttons:[nY.EditFields],children:(0,tS.jsxs)("div",{className:"form-input form-input-dropdown ".concat(n.showError?"form-input-error":""," ").concat(n.isHiddenForTrigger?"form-input-hidden":""," "),children:[(0,tS.jsxs)("select",{...n.standardProperties,defaultValue:"Email",children:[(0,tS.jsx)("option",{value:"Phone",children:"Phone"}),(0,tS.jsx)("option",{value:"Email",children:"Email"})]}),n.labelComponent,n.showError&&(0,tS.jsx)(am.x,{id:"".concat(n.name,"_error"),tag:"span",field:{value:null===(t=n.fieldState.error)||void 0===t?void 0:t.message},className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:n.showError&&(0,tS.jsx)(am.x,{tag:"span",field:{value:null===(a=n.fieldState.error)||void 0===a?void 0:a.message}})})]})}),phoneInput:(0,tS.jsx)(n0,{...n5(i.phone)}),emailInput:(0,tS.jsx)(n0,{...n9(i.email)}),formInput:n}},n7=e=>{let t=n6(e);return(0,tS.jsxs)(tS.Fragment,{children:[t.selector,t.phoneInput,t.emailInput]})},n8=e=>{var t,a;let l=null==e?void 0:e.fields,n=n$(null==e?void 0:e.name,l,void 0,null==e?void 0:e.label,{onChange:e.onChange});return n.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Checkbox",tooltip:"Edit Checkbox",buttons:[nY.EditFields],children:(0,tS.jsxs)("div",{className:"form-input form-input-checkbox-container",children:[(0,tS.jsx)(tD.H,{field:null==l?void 0:l.Description,tag:"div"}),(0,tS.jsxs)("div",{className:"form-input form-input-checkbox ".concat(n.showError?"form-input-error":""," ").concat(n.isHiddenForTrigger?"form-input-hidden":""),children:[(0,tS.jsxs)("div",{children:[(0,tS.jsx)("input",{type:"checkbox",...n.standardProperties}),(0,tS.jsx)("span",{className:"checkbox"}),tk.cloneElement(n.labelComponent,{className:"static-label"})]}),!!n.showHint&&!n.showError&&!!e.fields&&!!l&&(0,tS.jsx)(am.x,{id:"".concat(n.id,"_hint"),field:l[r.HintText],tag:"p",className:"form-input-hint"}),!!n.showError&&(0,tS.jsx)("span",{id:"".concat(n.id,"_error"),className:"form-input-error-message",children:null===(t=n.fieldState.error)||void 0===t?void 0:t.message}),!!n.isEditMode&&!!e.fields&&!!l&&(0,tS.jsx)(am.x,{tag:"span",field:l[r.ErrorMessage],className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:!!n.showError&&(0,tS.jsx)("span",{children:null===(a=n.fieldState.error)||void 0===a?void 0:a.message})})]})]})})},ie=e=>{let t=null==e?void 0:e.fields,a=(0,tM.z)().sitecoreContext.pageEditing?(0,tS.jsxs)("p",{children:["Click here to edit ",null==e?void 0:e.name," Hidden Field"]}):(0,tS.jsx)(tS.Fragment,{}),{placeholder:l,"aria-labelledby":n,"aria-describedby":i,...s}=n$(null==e?void 0:e.name,t).standardProperties;return(0,tS.jsxs)(av.X,{dataSource:{itemId:null==e?void 0:e.id},title:"Hidden Field",tooltip:"Edit Hidden Field",buttons:[nY.EditFields],children:[a,(0,tS.jsx)("input",{type:"hidden",...s,value:null==t?void 0:t.Value.value})]})},it=e=>{var t,a;let l=null==e?void 0:e.fields,n=n$(e.name,l,e.listRegistration,e.label);return n.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:null==e?void 0:e.id},title:"RadioButton",tooltip:"Edit RadioButton",buttons:[nY.EditFields],children:(0,tS.jsxs)("div",{className:"form-input form-input-radio ".concat(n.showError?"form-input-error":""," ").concat(n.isHiddenForTrigger?"form-input-hidden":""),children:[(0,tS.jsx)("input",{type:"radio",radioGroup:e.groupName,...n.standardProperties,value:l?l[r.L
1abel].value:void 0}),(0,tS.jsx)("span",{className:"radio"}),n.labelComponent,!(null==e?void 0:e.groupName)&&!!n.showError&&(0,tS.jsx)(am.x,{tag:"span",field:{value:null===(t=n.fieldState.error)||void 0===t?void 0:t.message},className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:!(null==e?void 0:e.groupName)&&!!n.showError&&(0,tS.jsx)(am.x,{tag:"span",field:{value:null===(a=n.fieldState.error)||void 0===a?void 0:a.message}})})]})})},ia=e=>{var t,a;let l=null==e?void 0:e.fields,n=n$(null==e?void 0:e.name,l),i=tk.useMemo(()=>{var t;return null===(t=e.children)||void 0===t?void 0:t.map((e,t)=>{var a;return(0,tS.jsx)("li",{children:(0,tS.jsx)(it,{...e,groupName:n.name,name:n.name,label:e.displayName,required:null==l?void 0:l.Required.value,listRegistration:null!==(a=n.fieldRegistration)&&void 0!==a?a:void 0})},"radioListItem-".concat(t))})},[e.children,l,n]);return n.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:null==e?void 0:e.id},title:"RadioButton List",tooltip:"Edit RadioButton List",buttons:[nY.InsertNewItem,nY.ManageItems,nY.EditFields],children:(0,tS.jsx)("div",{className:"form-input-radiolist ".concat(n.showError?"form-input-error":""," ").concat(n.isHiddenForTrigger?"form-input-hidden":""),"data-show-if-field":!!l&&(null===(a=l[r.TriggerField])||void 0===a?void 0:null===(t=a.name)||void 0===t?void 0:t.replaceAll(" ","_")),"data-show-if-value":!!l&&l[r.TriggerValue].value,children:(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{id:"".concat(e.id,"_label"),children:[(0,tS.jsx)(am.x,{tag:"label",field:null==l?void 0:l.Label,className:"static-label"}),!!(null==l?void 0:l.Required.value)&&(0,tS.jsx)("span",{className:"required-indicator",children:"*"})]}),(0,tS.jsx)("ul",{className:"",children:i}),(!!(null==n?void 0:n.showError)||!!(null==n?void 0:n.isEditMode))&&(0,tS.jsxs)("div",{className:"form-input","aria-live":"assertive",children:[!!l&&(0,tS.jsx)(am.x,{tag:"span",field:l[r.ErrorMessage],className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:!!l&&(0,tS.jsx)(am.x,{tag:"span",field:l[r.ErrorMessage]})})]})]})})})},il=e=>{var t,a,l,n,i,s,o;let[c,d]=tk.useState(!1),[u,m]=tk.useState(""),[v,h]=tk.useState([]),p=null==e?void 0:e.fields,x=n$(e.name,p),g=tk.useRef(null),f=tk.useMemo(()=>{var e,t;return!!p&&null!==(e=p[r.IsMultiselect])&&void 0!==e&&!!e.value&&!!(null===(t=p[r.IsMultiselect])||void 0===t?void 0:t.value)},[p]),j=tk.useMemo(()=>{var e,t;return null==p?void 0:null===(t=p.Options)||void 0===t?void 0:null===(e=t.value)||void 0===e?void 0:e.split("&").map((e,t)=>{var a;let l=e.split("="),n=!t&&p[r.Required].value&&(null===(a=p[r.HasDummyOption])||void 0===a?void 0:a.value)?"":decodeURIComponent(l[1]);return{value:null==n?void 0:n.replace(/\s/g,"_"),label:decodeURIComponent(l[1])}})},[p]),b=tk.useMemo(()=>null==j?void 0:j.map((e,t)=>{let a=e=>{var t;m(null===(t=e.map(e=>{var t;return null==j?void 0:null===(t=j.find(t=>t.value==e))||void 0===t?void 0:t.label}))||void 0===t?void 0:t.join(", "))},l=(e,t,l)=>{if(e&&!v.includes(t)){let e=[...v,t];l.currentTarget.selected=!0,h(e),a(e),x.formContext.setValue(x.name,e,{shouldTouch:!0}),l.preventDefault()}else if(!e&&v.includes(t)){let e=v.filter(e=>e!=t);l.currentTarget.selected=!1,h(e),a(e),x.formContext.setValue(x.name,e,{shouldTouch:!0}),l.preventDefault()}},n=v.includes(e.value);return f?(0,tS.jsx)("option",{onMouseDown:e=>{l(!e.currentTarget.selected,e.currentTarget.value,e.nativeEvent)},selected:n,value:e.value,className:v.includes(e.value)?"selected":"",children:e.label},"dropdownOption".concat(t)):(0,tS.jsx)("option",{value:e.value,children:e.label},"dropdownOption".concat(t))}),[j,v,x.formContext,x.name,f]);return lm(p&&(null===(t=p[r.IsMultiselect])||void 0===t?void 0:t.value)?g:null,c,()=>d(!1)),x.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Email Selector",tooltip:"Edit Email Selector",buttons:[nY.EditFields],children:(0,tS.jsxs)("div",{className:"form-input form-input-dropdown form-input-email-selector ".concat(x.showError?"form-input-error":""," ").concat(x.isHiddenForTrigger?"form-input-hidden":""," ").concat(p&&(null===(a=p[r.IsMultiselect])||void 0===a?void 0:a.value)?"form-input-dropdown-multiple":""," ").concat(p&&(null===(l=p[r.HasDummyOption])||void 0===l?void 0:l.value)?"form-input-dummy":""),children:[f&&(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)("input",{type:"text",className:"select multiple-target ".concat(c?"multiple-open":"multiple-closed"),...x.standardProperties,name:void 0,id:"".concat(x.name,"_Mock"),onClick:()=>d(!c),onChange:void 0,readOnly:!0,defaultValue:u,"aria-labelledby":"".concat(x.id,"_label"),"aria-describedby":x.showHint&&!x.showError?"".concat(x.id,"_hint"):x.showError?"".concat(x.id,"_error"):void 0}),x.labelComponent,x.showHint&&!x.showError&&!!p&&(0,tS.jsx)(am.x,{id:"".concat(x.id,"_hint"),field:p[r.HintText],tag:"p",className:"form-input-hint"}),x.showError&&(0,tS.jsx)(am.x,{id:"".concat(x.id,"_error"),tag:"span",field:{value:null===(n=x.fieldState.error)||void 0===n?void 0:n.message},className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:x.showError&&(0,tS.jsx)(am.x,{tag:"span",field:{value:null===(i=x.fieldState.error)||void 0===i?void 0:i.message}})})]}),(0,tS.jsx)("select",{className:"".concat(f?c?"multiple-open":"multiple-closed":""),multiple:f,size:f?null==b?void 0:b.length:void 0,...x.standardProperties,children:b}),!f&&x.labelComponent,!f&&x.showHint&&!x.showError&&!!p&&(0,tS.jsx)(am.x,{id:"".concat(x.id,"_hint"),field:p[r.HintText],tag:"p",className:"form-input-hint"}),!f&&x.showError&&(0,tS.jsx)(am.x,{id:"".concat(x.id,"_error"),tag:"span",field:{value:null===(s=x.fieldState.error)||void 0===s?void 0:s.message},className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:!f&&x.showError&&(0,tS.jsx)(am.x,{tag:"span",field:{value:null===(o=x.fieldState.error)||void 0===o?void 0:o.message}})})]})})},ii=e=>{var t,a,l,n,i,s;let[o,c]=tk.useState(!1),[d,u]=tk.useState(""),[m,v]=tk.useState([]),h=null==e?void 0:e.fields,p=n$(e.name,h),x=tk.useMemo(()=>{var e;return!!h&&!!(null===(e=h[r.IsMultiselect])||void 0===e?void 0:e.value)},[h]),g=tk.useMemo(()=>{var t;return null===(t=e.children)||void 0===t?void 0:t.map((e,t)=>(0,tk.createElement)(id,{...e,key:"formSubField".concat(t)}))},[e.children]),f=tk.useMemo(()=>{var e,t;return null==h?void 0:null===(t=h.Options)||void 0===t?void 0:null===(e=t.value)||void 0===e?void 0:e.split("&").map((e,t)=>{var a;let l=e.split("=");return{value:!t&&h[r.Required].value&&(null===(a=h[r.HasDummyOption])||void 0===a?void 0:a.value)?"":decodeURIComponent(l[0]),label:decodeURIComponent(l[1])}})},[h]),j=tk.useMemo(()=>null==f?void 0:f.map((e,t)=>{let a=e=>{var t;u(null===(t=e.map(e=>{var t;return null==f?void 0:null===(t=f.find(t=>t.value==e))||void 0===t?void 0:t.label}))||void 0===t?void 0:t.join(", "))},l=(e,t,l)=>{if(e&&!m.includes(t)){let e=[...m,t];l.currentTarget.selected=!0,v(e),a(e),l.preventDefault()}else if(!e&&m.includes(t)){let e=m.filter(e=>e!=t);l.currentTarget.selected=!1,v(e),a(e),l.preventDefault()}},n=m.includes(e.value);return x?(0,tS.jsx)("option",{onMouseDown:e=>{l(!e.currentTarget.selected,e.currentTarget.value,e.nativeEvent)},value:e.value,selected:n,children:e.label},"dropdownOption".concat(t)):(0,tS.jsx)("option",{value:e.value,children:e.label},"dropdownOption".concat(t))}),[f,x,m]),b=tk.useRef(null);return lm(x?b:null,o,()=>c(!1)),p.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"SubPanel Selector",tooltip:"Edit SubPanel Selector",buttons:[nY.EditFields,nY.InsertNewItem,nY.ManageItems],children:(0,tS.jsxs)("div",{className:"form-input form-input-dropdown ".concat(p.showError?"form-input-error":""," ").concat(p.isHiddenForTrigger?"form-input-hidden":""," ").concat(x?"form-input-dropdown-multiple":""," ").concat(h&&(null===(t=h[r.HasDummyOption])||void 0===t?void 0:t.value)?"form-input-dummy":""),children:[!!h&&!!(null===(a=h[r.IsMultiselect])||void 0===a?void 0:a.value)&&(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)("input",{type:"text",className:"select multiple-target ".concat(x?o?"multiple-open":"multiple-closed":""),...p.standardProperties,name:void 0,onClick:()=>c(!o),onChange:void 0,readOnly:!0,defaultValue:d}),p.labelComponent,p.showHint&&!p.showError&&(0,tS.jsx)(am.x,{id:"".concat(p.id,"_hint"),field:h[r.HintText],tag:"p",className:"form-input-hint"}),p.showError&&(0,tS.jsx)(am.x,{id:"".concat(p.id,"_error"),tag:"span",field:{value:null===(l=p.fieldState.error)||void 0===l?void 0:l.message},className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:p.showError&&(0,tS.jsx)(am.x,{tag:"span",field:{value:null===(n=p.fieldState.error)||void 0===n?void 0:n.message}})})]}),(0,tS.jsx)("select",{className:"".concat(o?"multiple-open":"multiple-closed"),multiple:x,size:x?null==j?void 0:j.length:void 0,...p.standardProperties,ref:b,children:j}),!x&&p.labelComponent,!x&&p.showHint&&!p.showError&&h&&(0,tS.jsx)(am.x,{id:"".concat(p.id,"_hint"),field:h[r.HintText],tag:"p",className:"form-input-hint"}),!x&&p.showError&&(0,tS.jsx)(am.x,{id:"".concat(p.name,"_error"),tag:"span",field:{value:null===(i=p.fieldState.error)||void 0===i?void 0:i.message},className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:!x&&p.showError&&(0,tS.jsx)(am.x,{tag:"span",field:{value:null===(s=p.fieldState.error)||void 0===s?void 0:s.message}})}),g]})})},is=e=>{var t,a;let l=(null===(t=e.fieldsFolderId)||void 0===t?void 0:t.value)||"",n=(0,tM.z)(),i=(null===(a=e.children)||void 0===a?void 0:a.map((e,t)=>(0,tk.createElement)(id,{...e,key:"formField".concat(t)})))||[];return n.sitecoreContext.pageEditing&&(null==i?void 0:i.length)==0&&(i=[(0,tS.jsx)("i",{children:"Add a new SubPanel element"},"empty")]),(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"SubPanel",tooltip:"Edit SubPanel",buttons:[nY.EditFields],children:(0,tS.jsx)(av.X,{dataSource:{itemId:l},title:"SubPanel fields",tooltip:"Edit SubPanel",buttons:[nY.InsertNewItem,nY.ManageItems],children:(0,tS.jsx)("div",{className:"form-input",children:i})})})},ir=e=>{var t,a,l;let n=null==e?void 0:e.fields,[i,s]=tk.useState(0),o=tk.useMemo(()=>{var t;return null===(t=e.children)||void 0===t?void 0:t.map((t,a)=>(0,tS.jsx)("li",{children:(0,tS.jsx)(n8,{...t,label:t.displayName,parentFormItem:e,onCh
1ange:e=>{s(i+(e.target.checked?1:-1))}})},"checkboxListItem-".concat(a)))},[e,i]),c=(0,nJ.Gc)(),d=n$(null==e?void 0:e.name,n);return d.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:null==e?void 0:e.id},title:"Checkbox List",tooltip:"Edit Checkbox List",buttons:[nY.InsertNewItem,nY.ManageItems,nY.EditFields],children:(0,tS.jsxs)("div",{className:"form-input-checkboxlist ".concat(d.isHiddenForTrigger?"form-input-hidden":""),id:"",children:[(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{id:"".concat([d.name],"_label"),children:[(0,tS.jsx)(am.x,{field:null==n?void 0:n.Label}),(null==n?void 0:null===(t=n.Required)||void 0===t?void 0:t.value)&&(0,tS.jsx)("span",{className:"",children:"*"})]}),(0,tS.jsx)("ul",{className:"",children:o})]}),!!n&&!!(null===(a=n[r.Required])||void 0===a?void 0:a.value)&&!i&&!!(null==c?void 0:c.formState.isSubmitted)&&(0,tS.jsx)("div",{"aria-live":"assertive",className:"checkboxlist-error-message",children:(0,tS.jsx)("p",{className:"form-input-error-message",id:"".concat(e.id,"_error"),children:(0,tS.jsx)(tD.H,{field:n[r.ErrorMessage]})})}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:!!n&&!!(null===(l=n[r.Required])||void 0===l?void 0:l.value)&&!i&&!!(null==c?void 0:c.formState.isSubmitted)&&(0,tS.jsx)("div",{children:(0,tS.jsx)("p",{children:(0,tS.jsx)(tD.H,{field:n[r.ErrorMessage]})})})})]})})},io=[],ic=e=>{var t,a,l,n,i;let[s,o]=tk.useState(!1),[c,d]=tk.useState(""),[u,m]=tk.useState(io),v=e.fields,h=n$(e.name,v),p=tk.useRef(null),x=tk.useMemo(()=>{var t,a;return e.fields?null==v?void 0:null===(a=v.Options)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.split("&").map((e,t)=>{var a;let l=e.split("=");return{value:!t&&v[r.Required].value&&(null===(a=v[r.HasDummyOption])||void 0===a?void 0:a.value)?"":decodeURIComponent(l[0]),label:decodeURIComponent(l[1])}}):[]},[null==e?void 0:e.fields,v]),g=tk.useMemo(()=>null==x?void 0:x.map((e,t)=>{let a=e=>{var t;d(null===(t=e.map(e=>{var t;return null==x?void 0:null===(t=x.find(t=>t.value==e))||void 0===t?void 0:t.label}))||void 0===t?void 0:t.join(", "))},l=(e,t,l)=>{if(e&&!u.includes(t)){let e=[...u,t];l.currentTarget.selected=!0,m(e),a(e),h.formContext.setValue(h.name,e),l.preventDefault()}else if(!e&&u.includes(t)){let e=u.filter(e=>e!=t);l.currentTarget.selected=!1,m(e),a(e),h.formContext.setValue(h.name,e),l.preventDefault()}},n=u.includes(e.value);return(0,tS.jsx)("option",{onMouseDown:e=>{l(!e.currentTarget.selected,e.currentTarget.value,e.nativeEvent)},value:e.value,className:u.includes(e.value)?"selected":"",selected:n,children:e.label},"dropdownOption".concat(t))}),[x,u,h]);return lm(p,s,async()=>{await h.formContext.trigger(h.name).then(()=>o(!1))}),h.isHiddenForTrigger?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Dropdown",tooltip:"Edit Dropdown",buttons:[nY.EditFields],children:(0,tS.jsxs)("div",{className:"form-input form-input-dropdown floating-label-container ".concat(h.showError?"form-input-error":""," ").concat(h.isHiddenForTrigger?"form-input-hidden":""," ").concat(v&&(null===(t=v[r.IsMultiselect])||void 0===t?void 0:t.value)?"form-input-dropdown-multiple":""," ").concat(v&&(null===(a=v[r.HasDummyOption])||void 0===a?void 0:a.value)?"form-input-dummy":""),children:[(0,tS.jsx)("input",{type:"text",className:"select multiple-target ".concat(s?"multiple-open":"multiple-closed"),...h.standardProperties,name:void 0,onClick:()=>o(!s),value:c,readOnly:!0,onChange:void 0}),h.labelComponent,(0,tS.jsx)("select",{className:"".concat(s?"multiple-open":"multiple-closed"),multiple:!!v&&!!(null===(l=v[r.IsMultiselect])||void 0===l?void 0:l.value),...h.standardProperties,ref:p,size:null==g?void 0:g.length,children:g}),h.showHint&&!h.showError&&!!v&&(0,tS.jsx)(am.x,{id:"".concat(h.id,"_hint"),field:v[r.HintText],tag:"p",className:"form-input-hint"}),h.showError&&(0,tS.jsx)(am.x,{id:"".concat(h.id,"_error"),tag:"span",field:{value:null===(n=h.fieldState.error)||void 0===n?void 0:n.message},className:"form-input-error-message"}),(0,tS.jsx)("div",{"aria-live":"polite",className:"sr-only",children:h.showError&&(0,tS.jsx)(am.x,{tag:"span",field:{value:null===(i=h.fieldState.error)||void 0===i?void 0:i.message}})})]})})};(n=o||(o={}
1)).AutoResponse="Auto Response",n.Checkbox="Checkbox",n.CheckboxList="Checkbox List",n.ContactPreference="Contact Preference",n.Dropdown="Dropdown",n.EmailSelector="Email Selector",n.HiddenField="Hidden Field",n.MultiTextInputField="Multi Text Input Field",n.RadioButtonList="Radio Button List",n.SingleLineText="Single-Line Text",n.SubPanel="SubPanel",n.SubPanelSelector="SubPanel Selector",n.SubsectionHeading="Subsection Heading",n.TextBoxField="Text Box Field";let id=e=>{switch(null==e?void 0:e.template){case"Single-Line Text":return(0,tS.jsx)(n0,{...e});case"Dropdown":var t;let a=null==e?void 0:e.fields;return a&&(null===(t=a[r.IsMultiselect])||void 0===t?void 0:t.value)?(0,tS.jsx)(ic,{...e}):(0,tS.jsx)(n1,{...e});case"Subsection Heading":return(0,tS.jsx)(n2,{...e});case"Text Box Field":return(0,tS.jsx)(n3,{...e});case"Multi Text Input Field":return(0,tS.jsx)(n4,{...e});case"Contact Preference":return(0,tS.jsx)(n7,{...e});case"Checkbox":return(0,tS.jsx)(n8,{...e});case"Hidden Field":return(0,tS.jsx)(ie,{...e});case"Radio Button List":return(0,tS.jsx)(ia,{...e});case"Checkbox List":return(0,tS.jsx)(ir,{...e});case"Email Selector":return(0,tS.jsx)(il,{...e});case"SubPanel Selector":return(0,tS.jsx)(ii,{...e});case"SubPanel":return(0,tS.jsx)(is,{...e});case"Auto Response":break;default:return(0,tS.jsxs)("h6",{children:[e.template," not implemented"]})}return(0,tS.jsx)(tS.Fragment,{})};a(3829);let iu=tR.Z.create({headers:{Accept:"application/json","Content-Type":"application/json"}}),im=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return await iu.post(e,t,{method:"POST",params:{}})},iv=async e=>im("/api/forms",e).then(e=>e.data).catch(function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),l=1;l<t;l++)a[l-1]=arguments[l];throw console.log(e,a),e});var ih=a(7021),ip=a(1881);class ix{}ix.BaseEmailForm="3df7c378-075e-4ab2-886d-9e59ecf62c0f",ix.InternalContactForm="ba08a487-5952-43ae-824d-d358b0882c6f",ix.SharepointForm="c410c039-fcf0-4062-a412-dcb3b399e652",ix.AgencyContactForm="43a00eed-8863-4f9f-b4a3-448ab48caac3",ix.AutoResponseItem="bfbe486b-3163-4146-b6d7-aec944edb9e4",ix.FolderItem="90b4e10d-b984-45e6-bd24-eaf5e021462c",ix.SubPanelItem="f2362a86-4d33-4fe0-b8aa-5aa6d234b5d7",ix.SubPanelSelectorItem="a9b16ef7-0add-4fca-80d8-1495d2254821",ix.MultiTextInputFieldItem="f569f917-9872-4058-85da-920c797995b3",ix.CheckboxItem="0d8070aa-b9a7-4a67-b0d8-3d57ecf6df71",ix.CheckboxListItem="dc59c8d7-66b8-48bf-9843-aad2918f341b",ix.DropdownItem="9da06f82-2cb6-4955-8206-e8372921811f",ix.EmailSelectorItem="d5329a44-9e60-43fa-a10d-b256be489a66",ix.ContactPreferenceItem="801010d1-410d-4275-903b-819d54c7fa9d";let ig={content:{top:"",left:"",right:"",bottom:"",marginRight:"",width:"",height:""}},ij=e=>{var t,a,l,n,i;let s=(0,tM.z)(),o=(0,ih.xX)(),c=(0,tk.useRef)(null),[d,u]=(0,tk.useState)(null),{agencyNumber:m}=(0,le.A)(),[v,h]=tk.useState(!1),p=(null===(t=e.params)||void 0===t?void 0:t.styles)?e.params.styles:null,[x,g]=tk.useState({error:!1,submitted:!1,submitting:!1,token:null,refreshRecaptcha:!1}),f=tk.useRef(null),j=(0,nJ.cI)({mode:"all",shouldFocusError:!0,shouldUnregister:!1,reValidateMode:"onChange"}),b=null==e?void 0:null===(l=e.fields)||void 0===l?void 0:null===(a=l.formFields)||void 0===a?void 0:a.map((e,t)=>(0,tk.createElement)(id,{...e,key:"formField".concat(t)}));s.sitecoreContext.pageEditing&&(null==b?void 0:b.length)==0&&(b=[(0,tS.jsx)("i",{children:"Add a new Form element"},"empty")]),(0,tk.useEffect)(()=>{if(null==d?void 0:d.AgencyAccountNumber){var e;a6._K.set(a6.mJ.viewingAgency,{AgencyAccountNumber:null!==(e=null==d?void 0:d.AgencyAccountNumber)&&void 0!==e?e:""}),h(!1),y()}},[d]);let y=j.handleSubmit(t=>{x.submitting||j.trigger().then(async a=>{var l,n;if(!a)return Promise.reject("form is valid");if((null===(l=e.fields.dataSourceTemplateId)||void 0===l?void 0:l.value)===ix.AgencyContactForm){if(!a6._K.get(a6.mJ.viewingAgency)){h(!0);return}h(!1)}let i=m||(null===(n=a6._K.get(a6.mJ.viewingAgency))||void 0===n?void 0:n.AgencyAccountNumber)||"",s=o.executeRecaptcha?await o.executeRecaptcha():null,c={itemRef:e.rendering.dataSource,eiGrc:s,agencyNumber:i,values:t},d=!1;return g({...x,submitting:!0,error:!1,submitted:!1}),e.onSuccess&&e.onSuccess(),await iv(c).then(t=>{if(t.isSuccess){var a,l,n,s;aE.c.event(aE.a.FORM_SUBMISSION,{form_name:null===(a=e.fields[r.FormIdentifier])||void 0===a?void 0:a.value,agency_id:null!=i?i:""}),e.onSuccess||((null===(l=e.fields[r.StayOnPageAfterSubmission])||void 0===l?void 0:l.value)?setTimeout(()=>{let e=document.querySelector(".form-success-container");e&&e.scrollIntoView({behavior:"smooth"})},100):location.href=null!==(s=null===(n=e.fields[r.SuccessPage])||void 0===n?void 0:n.value.href)&&void 0!==s?s:"/")}d=!t.isSuccess}).catch(e=>{console.error(e),d=!0}).finally(()=>{g({...x,error:d,submitted:!d,submitting:!1,token:null,refreshRecaptcha:!0})})}).catch(()=>{console.log("form validation failed")})},e=>{console.log("Form field validation errors:",e)}),N=(0,tk.useContext)(ip.ApiDataContext)||{};function _(){if(h(!1),null==N?void 0:N.agencyDetails){var e,t;a6._K.set(a6.mJ.viewingAgency,{AgencyAccountNumber:null!==(t=null==N?void 0:null===(e=N.agencyDetails)||void 0===e?void 0:e.AgencyAccountNumber)&&void 0!==t?t:""})}}return(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)("div",{className:"component-frame ".concat(p),children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"form",role:"status",children:[!!e.fields&&!!e.fields[r.FormTitle]&&(!(null==x?void 0:x.submitted)||!!(null==x?void 0:x.submitted)&&!!x.error)&&(0,tS.jsx)("div",{className:"form-title",children:(0,tS.jsx)(tD.H,{field:e.fields[r.FormTitle],tag:"h5"})}),!!(null==x?void 0:x.error)&&(0,tS.jsx)("div",{className:"form-validation",children:(0,tS.jsx)(am.x,{encode:!1,field:e.fields[r.ErrorMessage],tag:"span",className:"form-submission-error"})}),(!x.submitted||!!(null==x?void 0:x.error))&&(0,tS.jsx)(nJ.RV,{...j,children:(0,tS.jsxs)("form",{className:"form-section",ref:f,"data-
1product":e.dataProduct,noValidate:!0,onSubmit:y,children:[(0,tS.jsx)(av.X,{dataSource:{itemId:null===(i=e.fields)||void 0===i?void 0:null===(n=i.fieldsFolderId)||void 0===n?void 0:n.value},title:"Form Details",tooltip:"Edit Form Fields",buttons:[nY.InsertNewItem,nY.ManageItems],children:b}),(0,tS.jsx)("div",{className:"form-input-submit",children:(0,tS.jsx)("button",{role:"button",type:"submit","aria-disabled":x.submitting,className:"btn btn-primary arrow ".concat(x.submitting?"disabled":""),onClick:y,children:e.submitText||"Submit"})}),(0,tS.jsxs)("div",{className:"recaptcha-disclaimer",children:["This site is protected by reCAPTCHA and the Google Cloud reCAPTCHA service to help prevent fraud and abuse. Information collected through reCAPTCHA is processed in accordance with ",(0,tS.jsx)("a",{href:"https://www.erieinsurance.com/privacy-policy/",target:"_blank",children:"ERIE’s Online Privacy Policy."})]})]})}),!!(null==x?void 0:x.submitted)&&!x.error&&(0,tS.jsx)("div",{ref:c,className:"form-success-container",children:(0,tS.jsx)(tD.H,{field:e.fields[r.SuccessMessage]})}),(0,tS.jsxs)("div",{"aria-live":"polite",className:"sr-only",children:[!!(null==x?void 0:x.submitted)&&!x.error&&(0,tS.jsx)(tD.H,{field:e.fields[r.SuccessMessage]}),!!(null==x?void 0:x.error)&&(0,tS.jsx)(am.x,{field:e.fields[r.ErrorMessage]})]})]})})}),(0,tS.jsx)("div",{children:(0,tS.jsx)(nV(),{style:ig,isOpen:v,onAfterOpen:function(){let e=document.getElementsByClassName("quote-modal")[0].getElementsByTagName("button")[1];e&&e.focus()},onRequestClose:_,contentLabel:"AgencySearch",shouldCloseOnOverlayClick:!0,className:"quote-modal",children:(0,tS.jsx)("div",{className:"quote-modal__wrapper",children:(0,tS.jsxs)("div",{className:"Modal",role:"dialog","aria-modal":"true","aria-labelledby":"".concat(d?"form-title":"search-title"),children:[d?null:(0,tS.jsx)(nQ,{setSelectedAgency:u,zipCode:""}),(0,tS.jsx)("button",{className:"quote-modal__close",onClick:_,children:(0,tS.jsx)("img",{src:"".concat(tI.publicUrl,"/close-large.svg"),alt:"close"})})]})})})})]})};function ib(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:ij})}let iy={"Anchor Name":"ModalInsuranceQuoteForm"},iN={"Anchor Name":{value:"ModalInsuranceQuoteForm"},"Success Message":{value:""},"Success Page":{value:{href:""}},"Error Message":{value:""},"Stay On Page After Submission":{value:!1},Subject:{value:"Agency Contact Form"},"Form Title":{value:""},"Form Identifier":{value:"Quote Modal Form"},fieldsFolderId:{value:"dd957db7-43f3-47ed-9d87-0a33a689d7db"},dataSourceTemplateId:{value:""},formFields:[{id:"9a7e0984-ba16-4b8f-9077-07c83f24b735",url:"/data/forms/agency-contact-form/fields/name/first-name",name:"Name",displayName:"Name",fields:{"Placeholder Text":{value:""},Width:{value:null},"Maximum Length":{value:null},"Validation Pattern":{value:""},"Include In Submitted Data":{value:!0},"Can Be Populated From Query String":{value:!1},ID:{value:""},"Error Message":{value:"Please enter a name."},"Granular Error Message":{value:""},Required:{value:!0},Label:{value:"Full Name"},"Hint Text":{value:""},"Autocomplete Type":{id:"6c286449-992d-4e5f-9f04-922819ef6653",url:"/data/forms/autocomplete-types/name---full",name:"Name - Full",displayName:"Name - full",fields:{"Attribute Value":{value:"full-name"}}},"Trigger Field":null,"Trigger Value":{value:""}},template:"Single-Line Text",sortorder:0},{id:"98a7cb0a-49ba-4105-9546-a50b29c75a6d",url:"/data/forms/agency-contact-form/fields/contact-preference",name:"Contact Preference",displayName:"Contact Preference",fields:{"Include In Submitted Data":{value:!1},"Can Be Populated From Query String":{value:!1},ID:{value:""},"Internal Field Name":{value:""},"Error Message":{value:""},"Granular Error Message":{value:""},Required:{value:!1},Label:{value:"Preferred Contact Method"}},template:"Contact Preference",sortorder:200},{id:"312ccaf1-8aa8-4775-bcb5-c344ea63c525",url:"/data/forms/agency-contact-form/fields/additional-comments",name:"Additional Comments",displayName:"Additional Comments",fields:{"Default Text":{value:""},"Placeholder Text":{value:"Comment"},"Maximum Length":{value:null},"Include In Submitted Data":{value:!0},"Can Be Populated From Query String":{value:!1},ID:{value:""},"Internal Field Name":{value:""},"Error Message":{value:""},"Granular Error Message":{value:""},Required:{value:!0},Label:{value:""},"Hint Text":{value:""},"Autocomplete Type":null,"Trigger Field":null,"Trigger Value":{value:""}},template:"Text Box Field",sortorder:1600}]},i_={dataSource:"/sitecore/content/ErieInsurance/ErieWebsite/Data/Forms/Agency Contact Form",uid:""},iC=e=>{let{setSelectedAgency:t,selectedAgency:a,insuranceType:l,onSuccess:n}=e;return(0,tS.jsxs)("div",{className:"quote-modal__form height-full",children:[(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("button",{className:"sub-menu
1-back",onClick:()=>t(null),children:[(0,tS.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:[(0,tS.jsx)("title",{children:"Arrow pointing left"}),(0,tS.jsx)("g",{stroke:"#002955",strokeWidth:"1.5",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",children:(0,tS.jsx)("path",{d:"m10 7-5 5 5 5M19 12H6"})})]}),(0,tS.jsx)("span",{children:"Back"})]}),(0,tS.jsxs)("h2",{id:"form-title",className:"h4",children:["Request a ",l," insurance quote"]}),(0,tS.jsxs)("p",{className:"quote-modal__form-description",children:["Agency: ",null==a?void 0:a.AgencyName]})]}),(0,tS.jsx)(ib,{params:iy,fields:iN,rendering:i_,submitText:"Send Message",dataProduct:l,onSuccess:n})]})},iw=async e=>{if(!e)return null;let t="/api/agencydetail?accountnumber=".concat(encodeURIComponent(e));try{var a,l,n,i;let e=await fetch(t,{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});if(!e.ok)throw Error("Failed to fetch agency details");let s=await e.json();return null!==(i=null==s?void 0:null===(n=s.AgencyByAgencyIdResponse)||void 0===n?void 0:null===(l=n.GetAgencyByAgencyIdResult)||void 0===l?void 0:null===(a=l._x003C_AgentInformation_x003E_k__BackingField)||void 0===a?void 0:a.AgentInformation)&&void 0!==i?i:null}catch(e){return console.error("Error fetching agency: "+e),null}},iA=tL().publicUrl,iE=()=>(0,tS.jsxs)("div",{className:"quote-modal__success",children:[(0,tS.jsx)("img",{src:"".concat(iA,"/completed-check.svg"),alt:"check mark"}),(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("h3",{children:["Your request ",(0,tS.jsx)("b",{children:"has been submitted"})]}),(0,tS.jsx)("p",{children:"We have received your quote request. An ERIE agent will reach out to you shortly."}),(0,tS.jsx)("a",{href:"/",className:"btn btn-primary arrow",children:"Go to homepage"})]})]}),iS=tL().publicUrl,ik={content:{top:"",left:"",right:"",bottom:"",marginRight:"",width:"",height:""}},iI=()=>{nV().setAppElement("#__next");let[e,t]=(0,tk.useState)(!1),a=a8(),[l,n]=(0,tk.useState)(null),[i,s]=tk.useState(!1),{agencyNumber:r}=(0,le.A)(),[o,c]=(0,tk.useState)(!1);function d(){t(!1)}function u(){s(!1)}return(0,tk.useEffect)(()=>{if(null==l?void 0:l.AgencyAccountNumber){var e,t;a6._K.set(a6.mJ.viewingAgency,{AgencyAccountNumber:null!==(e=null==l?void 0:l.AgencyAccountNumber)&&void 0!==e?e:""}),a6._K.set("AGENCY_NAME",{AgencyName:null!==(t=null==l?void 0:l.AgencyName)&&void 0!==t?t:""})}},[l]),a?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsxs)("div",{className:"life-calculator",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow",onClick:function(){t(!0)},children:"Get Started"}),(0,tS.jsx)(nV(),{isOpen:e,onAfterOpen:function(){nG.start()},onRequestClose:d,contentLabel:"Life Calculator",shouldCloseOnOverlayClick:!0,className:"quote-modal life-calculator-modal",children:(0,tS.jsx)("div",{className:"quote-modal__wrapper",children:(0,tS.jsxs)("div",{className:"Modal",role:"dialog","aria-modal":"true",children:[(0,tS.jsx)("div",{className:"quote-modal__title",children:(0,tS.jsx)("h4",{children:"Life Insurance coverage calculator"})}),(0,tS.jsxs)("div",{className:"lfc eig__interactive",children:[(0,tS.jsx)("div",{className:"lfc__primary-nav-wrapper lfc--large",children:(0,tS.jsxs)("ol",{className:"lfc__primary-nav-list",role:"tablist",tabIndex:0,children:[(0,tS.jsx)("li",{role:"presentation",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"true","aria-controls":"ctl_3663CD47-4EDF-4A2E-8048-BF540CF3D7F2",children:"1. About You"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"FA4B64F5-4B4A-472C-A89A-A4C2FC7624A4",disabled:!0,"aria-disabled":"true",children:"2. Debts & expenses"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"ctl_23A6AA89-669D-4AF4-AA18-0408613FE352",disabled:!0,"aria-disabled":"true",children:"3. Education"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"C4703CB9-2FB0-4518-AB94-D481BC242483",disabled:!0,"aria-disabled":"true",children:"4. Legacy & inheritance"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"ctl_6DA3C93B-B780-426E-9DDE-2AAB11752C93",disabled:!0,"aria-disabled":"true",children:"5. Assets"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"EC5EFE63-72DA-4425-920B-6C4012818E0D",disabled:!0,"aria-disabled":"true",children:"6. Results"})})]})}),(0,tS.jsxs)("div",{className:"lfc__primary-nav-wrapper lfc--medium","data-open":"false",children:[(0,tS.jsx)("div",{className:"lfc__dropdown-header",children:(0,tS.jsxs)("button",{className:"lfc__dropdown-button","aria-controls":"B1FBB612-AEED-4326-A2DC-4E419CCBB371_dropdown","aria-expanded":"false",children:[(0,tS.jsx)("p",{children:"1. About You"}),(0,tS.jsx)("span",{className:"eig__sr-only",children:"Toggle List"})]})}),(0,tS.jsxs)("ol",{id:"B1FBB612-AEED-4326-A2DC-4E419CCBB371_dropdown",className:"lfc__primary-nav-list",role:"tablist","aria-orientation":"vertical",children:[(0,tS.jsx)("li",{role:"presentation",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"true","aria-controls":"ctl_3663CD47-4EDF-4A2E-8048-BF540CF3D7F2",children:"1. About You"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"FA4B64F5-4B4A-472C-A89A-A4C2FC7624A4",disabled:!0,"aria-disabled":"true",children:"2. Debts & expenses"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"ctl_23A6AA89-669D-4AF4-AA18-0408613FE352",disabled:!0,"aria-disabled":"true",children:"3. Education"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"C4703CB9-2FB0-4518-AB94-D481BC242483",disabled:!0,"aria-disabled":"true",children:"4. Legacy & inheritance"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"ctl_6DA3C93B-B780-426E-9DDE-2AAB11752C93",disabled:!0,"aria-disabled":"true",children:"5. Assets"})}),(0,tS.jsx)("li",{role:"presentation","data-completed":"false",children:(0,tS.jsx)("button",{role:"tab",tabIndex:-1,"aria-selected":"false","aria-controls":"EC5EFE63-72DA-4425-920B-6C4012818E0D",disabled:!0,"aria-disabled":"true",children:"6. Results"})})]})]}),(0,tS.jsx)("div",{className:"lfc__stage-wrapper",children:(0,tS.jsxs)("div",{className:"lfc__primary-screen",children:[(0,tS.jsxs)("div",{className:"lfc__cat-variables",role:"region","aria-label":"Category Values","aria-live":"polite","data-category":"0",children:[(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"0","data-value":"about-age","data-format":"number",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Age"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"0","data-value":"about-spouse","data-format":"text",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Relationship"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"0","data-value":"about-children","data-format":"text",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Children"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"1","data-value":"debts-final","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Final expenses"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"1","data-value":"debt-income","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Income"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"1","data-value":"debt-mortgage-amount","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Mortgage"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"1","data-value":"debt-student-money","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Student loans"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"1","data-value":"debt-other
1-money","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Other debt"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"1","data-value":"fam-total","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Monthly expenses"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"2","data-value":"education-total","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Education"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"2","data-value":"education-other-money","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Other education"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"3","data-value":"legacy-gift-amount","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Inheritance"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"4","data-value":"assets-insurance","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Other benefits"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]}),(0,tS.jsxs)("div",{className:"lfc__cat-variable","data-category":"4","data-value":"assets-other","data-format":"money",children:[(0,tS.jsx)("p",{className:"lfc__cat-variable-name",children:"Other assets"}),(0,tS.jsx)("p",{className:"lfc__cat-variable-value",children:"-"})]})]}),(0,tS.jsxs)("div",{className:"lfc__cat-stage frm","aria-live":"assertive","data-listener-set":"true",children:[(0,tS.jsxs)("div",{className:"eig__interactive-screen",id:"ctl_3663CD47-4EDF-4A2E-8048-BF540CF3D7F2",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsx)("div",{className:"lfc__question","data-category":"About You",children:(0,tS.jsx)("p",{id:"ctl_3663CD47-4EDF-4A2E-8048-BF540CF3D7F2_question",className:"lfc__question-text",children:"How old are you?"})}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"about-age",className:"fld__input fld--text-input lfc__field--number",placeholder:"0","aria-labelledby":"ctl_3663CD47-4EDF-4A2E-8048-BF540CF3D7F2_question","aria-describedby":"",pattern:"^\\d*(\\.\\d+)?$","data-max":"99"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"ctl_3663CD47-4EDF-4A2E-8048-BF540CF3D7F2_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Enter an age less than 100"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"            "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_0EE32FD6-D509-44F8-849C-78D5EA0295EE",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsx)("legend",{className:"lfc__question lfc__question-text","data-category":"About You",children:"Do you have a spouse or partner?"}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsx)("div",{className:"fld fld--list-radio lfc__field--as-button",children:(0,tS.jsxs)("ul",{className:"fld__list",children:[(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"about-spouse",className:"fld__radio--with-button lfc__field--radio",id:"about-spouse_yes",value:"yes"}),(0,tS.jsx)("label",{htmlFor:"about-spouse_yes",className:"btn btn--radio btn--outline",children:"Yes"})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"about-spouse",className:"fld__radio--with-button lfc__field--radio",id:"about-spouse_no",value:"no"}),(0,tS.jsx)("label",{htmlFor:"about-spouse_no",className:"btn btn--radio btn--outline",children:"No"})]})]})})})})]}
1),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_26F501FB-D0E5-4330-B827-616EBF29DC6C",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsx)("legend",{className:"lfc__question","data-category":"About You",children:"Do you have any children?"}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsx)("div",{className:"fld fld--list-radio lfc__field--as-button",children:(0,tS.jsxs)("ul",{className:"fld__list",children:[(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"about-children",className:"fld__radio--with-button lfc__field--radio",id:"about-children_yes",value:"yes"}),(0,tS.jsx)("label",{htmlFor:"about-children_yes",className:"btn btn--radio btn--outline",children:"Yes"})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"about-children",className:"fld__radio--with-button lfc__field--radio",id:"about-children_no",value:"no"}),(0,tS.jsx)("label",{htmlFor:"about-children_no",className:"btn btn--radio btn--outline",children:"No"})]})]})})})})]}),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"FA4B64F5-4B4A-472C-A89A-A4C2FC7624A4",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsxs)("div",{className:"lfc__question","data-category":"Debts & expenses",children:[(0,tS.jsx)("p",{id:"FA4B64F5-4B4A-472C-A89A-A4C2FC7624A4_question",className:"lfc__question-text",children:"How much would you need for final expenses?"}),(0,tS.jsx)("p",{id:"FA4B64F5-4B4A-472C-A89A-A4C2FC7624A4_description",className:"lfc__question-description",children:"This covers funeral costs and/or medical expenses not covered by health insurance.  $15k is an average, but you might need more (e.g., your family would need to travel for a funeral)."})]}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"debts-final",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"FA4B64F5-4B4A-472C-A89A-A4C2FC7624A4_question","aria-describedby":"FA4B64F5-4B4A-472C-A89A-A4C2FC7624A4_description",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"99999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"FA4B64F5-4B4A-472C-A89A-A4C2FC7624A4_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 99,999,000"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_3A8DEB43-DFDB-45C4-A697-4F32BB279C6E",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsxs)("div",{className:"lfc__question","data-category":"Debts & expenses",children:[(0,tS.jsx)("p",{id:"ctl_3A8DEB43-DFDB-45C4-A697-4F32BB279C6E_question",className:"lfc__question-text",children:"What is your personal annual income?"}),(0,tS.jsx)("p",{id:"ctl_3A8DEB43-DFDB-45C4-A697-4F32BB279C6E_description",className:"lfc__question-description",children:"We'll use this to help determine your monthly expenses."})]}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"debt-income",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"
1ctl_3A8DEB43-DFDB-45C4-A697-4F32BB279C6E_question","aria-describedby":"ctl_3A8DEB43-DFDB-45C4-A697-4F32BB279C6E_description",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"99999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"ctl_3A8DEB43-DFDB-45C4-A697-4F32BB279C6E_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 99,999,000"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_824D6FA1-69B1-46B0-8061-9EE8F564CE69",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsx)("legend",{className:"lfc__question","data-category":"Debts & expenses",children:"Do you have a mortgage?"}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsx)("div",{className:"fld fld--list-radio lfc__field--as-button",children:(0,tS.jsxs)("ul",{className:"fld__list",children:[(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"debt-mortgage",className:"fld__radio--with-button lfc__field--radio",id:"debt-mortgage_yes",value:"yes"}),(0,tS.jsx)("label",{htmlFor:"debt-mortgage_yes",className:"btn btn--radio btn--outline",children:"Yes"})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"debt-mortgage",className:"fld__radio--with-button lfc__field--radio",id:"debt-mortgage_no",value:"no"}),(0,tS.jsx)("label",{htmlFor:"debt-mortgage_no",className:"btn btn--radio btn--outline",children:"No"})]})]})})})})]}),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"C6FA7488-D6F2-4615-9F82-D3FB8081A053",role:"tabpanel","data-conditions":"show-if|debt-mortgage|yes",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsx)("div",{className:"lfc__question","data-category":"Debts & expenses",children:(0,tS.jsx)("p",{id:"C6FA7488-D6F2-4615-9F82-D3FB8081A053_question",className:"lfc__question-text",children:"How much do you owe on your mortgage?"})}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"debt-mortgage-amount",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"C6FA7488-D6F2-4615-9F82-D3FB8081A053_question","aria-describedby":"",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"99999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"C6FA7488-D6F2-4615-9F82-D3FB8081A053_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 99,999,000"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_89F1DBF9-1CA9-45ED-8CC3-C7BBB166BCE2",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsx)("legend",{className:"lfc__question","data-category":"Debts & expenses",children:"Do you have any student loans?"}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsx)("div",{className:"fld fld--list-radio lfc__field--as-button",children:(0,tS.jsxs)("ul",{className:"fld__list",children:[(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"debt-student",className:"fld__radio--with-button lfc__field--radio",id:"debt-student_yes",value:"yes"}),(0,tS.jsx)("label",{htmlFor:"debt-student_yes",className:"btn btn--radio btn--outline",children:"Yes"})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"debt-student",className:"fld__radio--with-button lfc__field--radio",id:"debt-student_no",value:"no"}),(0,tS.jsx)("label",{htmlFor:"debt-student_no",className:"btn btn--radio btn--outline",children:"No"})]})]})})})})]}
1),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_8CBC4955-378D-47A9-9791-369F7A8797FF",role:"tabpanel","data-conditions":"show-if|debt-student|yes",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsxs)("div",{className:"lfc__question","data-category":"Debts & expenses",children:[(0,tS.jsx)("p",{id:"ctl_8CBC4955-378D-47A9-9791-369F7A8797FF_question",className:"lfc__question-text",children:"What's the total amount of student loan debt you're responsible for?"}),(0,tS.jsx)("p",{id:"ctl_8CBC4955-378D-47A9-9791-369F7A8797FF_description",className:"lfc__question-description",children:"This includes existing student loans from a spouse/partner and/or children."})]}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"debt-student-money",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"ctl_8CBC4955-378D-47A9-9791-369F7A8797FF_question","aria-describedby":"ctl_8CBC4955-378D-47A9-9791-369F7A8797FF_description",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"99999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"ctl_8CBC4955-378D-47A9-9791-369F7A8797FF_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 99,999,000"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_81DE6CAB-96A2-4673-87DB-F60E796ADA2E",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{className:"lfc__question","data-category":"Debts & expenses",children:[(0,tS.jsx)("span",{className:"lfc__question-main",children:"Do you have other debt?"}),(0,tS.jsx)("span",{className:"lfc__question-description",children:"For example: credit cards, auto loans, personal loans, medical expenses, etc."})]}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsx)("div",{className:"fld fld--list-radio lfc__field--as-button",children:(0,tS.jsxs)("ul",{className:"fld__list",children:[(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"debt-other",className:"fld__radio--with-button lfc__field--radio",id:"debt-other_yes",value:"yes"}),(0,tS.jsx)("label",{htmlFor:"debt-other_yes",className:"btn btn--radio btn--outline",children:"Yes"})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"debt-other",className:"fld__radio--with-button lfc__field--radio",id:"debt-other_no",value:"no"}),(0,tS.jsx)("label",{htmlFor:"debt-other_no",className:"btn btn--radio btn--outline",children:"No"})]})]})})})})]}),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"FEB29610-0BA4-47E7-9F94-9ECD84B7D576",role:"tabpanel","data-conditions":"show-if|debt-other|yes",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsx)("div",{className:"lfc__question","data-category":"Debts & expenses",children:(0,tS.jsx)("p",{id:"FEB29610-0BA4-47E7-9F94-9ECD84B7D576_question",className:"lfc__question-text",children:"How much other debt do you have?"})}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"debt-other
1-money",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"FEB29610-0BA4-47E7-9F94-9ECD84B7D576_question","aria-describedby":"",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"99999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"FEB29610-0BA4-47E7-9F94-9ECD84B7D576_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 99,999,000"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_031AAB40-B8D7-468D-8F41-744F01EA7AFD",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsxs)("div",{className:"lfc__question","data-category":"Debts & expenses",children:[(0,tS.jsx)("p",{id:"ctl_031AAB40-B8D7-468D-8F41-744F01EA7AFD_question",className:"lfc__question-text",children:"How much would your family need for added expenses, per month?"}),(0,tS.jsx)("p",{id:"ctl_031AAB40-B8D7-468D-8F41-744F01EA7AFD_description",className:"lfc__question-description",children:"Consider expenses like food, utilities, transportation, plus extras like vacation. (Mortgage or other debts are covered separately.)"})]}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"debt-family-amount",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"ctl_031AAB40-B8D7-468D-8F41-744F01EA7AFD_question","aria-describedby":"ctl_031AAB40-B8D7-468D-8F41-744F01EA7AFD_description",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"ctl_031AAB40-B8D7-468D-8F41-744F01EA7AFD_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 999,000"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"E124A940-FC8F-4B0A-BBB2-5C91FC0F5B98",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsx)("div",{className:"lfc__question","data-category":"Debts & expenses",children:(0,tS.jsx)("p",{id:"E124A940-FC8F-4B0A-BBB2-5C91FC0F5B98_question",className:"lfc__question-text",children:"How many years would they need this added monthly income?"})}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"debt-family-duration",className:"fld__input fld--text-input lfc__field--number",placeholder:"0","aria-labelledby":"E124A940-FC8F-4B0A-BBB2-5C91FC0F5B98_question","aria-describedby":"",pattern:"^\\d*(\\.\\d+)?$","data-max":"999"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"E124A940-FC8F-4B0A-BBB2-5C91FC0F5B98_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Number of years cannot be greater than 999"]})})]})}
1),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_23A6AA89-669D-4AF4-AA18-0408613FE352",role:"tabpanel","data-conditions":"show-if|about-children|yes",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsx)("legend",{className:"lfc__question","data-category":"Education",children:"Do you want to contribute to any of your children's higher education?"}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsx)("div",{className:"fld fld--list-radio lfc__field--as-button",children:(0,tS.jsxs)("ul",{className:"fld__list",children:[(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"education-contribute",className:"fld__radio--with-button lfc__field--radio",id:"education-contribute_yes",value:"yes"}),(0,tS.jsx)("label",{htmlFor:"education-contribute_yes",className:"btn btn--radio btn--outline",children:"Yes"})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"education-contribute",className:"fld__radio--with-button lfc__field--radio",id:"education-contribute_no",value:"no"}),(0,tS.jsx)("label",{htmlFor:"education-contribute_no",className:"btn btn--radio btn--outline",children:"No"})]})]})})})})]}),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"A4F90330-B709-441B-BF9C-DBC78350226A",role:"tabpanel","data-conditions":"show-if|education-contribute|yes",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{className:"lfc__question","data-category":"Education",children:[(0,tS.jsx)("span",{className:"lfc__question-main",children:"How old are your children?"}),(0,tS.jsx)("span",{className:"lfc__question-description",children:"Leave unused fields blank."})]}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsxs)("div",{className:"lfc__question-fields",children:[(0,tS.jsxs)("div",{className:"fld lfc__field--children-group","data-error":"A4F90330-B709-441B-BF9C-DBC78350226A_error",children:[(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_1",children:"child 1"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_1",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_2",children:"child 2"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_2",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_3",children:"child 3"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_3",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_4",children:"child 4"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_4",placeholder:"0","data-max":"99"})]})]}),(0,tS.jsx)("div",{id:"A4F90330-B709-441B-BF9C-DBC78350226A_error",className:"lfc__children-error",children:(0,tS.jsx)("span",{className:"fld__error","aria-live":"assertive","data-template":"Enter a numeric age less than 100 for {0}."})}),(0,tS.jsx)("button",{className:"btn  lfc__children-add","data-index":"4",type:"submit",children:"Add more children"})]})})]}
1),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"EA79480C-E4F9-49FE-A937-3107AC476F56",role:"tabpanel","data-conditions":"show-if|children-add-4|true",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{className:"lfc__question","data-category":"Education",children:[(0,tS.jsx)("span",{className:"lfc__question-main",children:"How old are your children?"}),(0,tS.jsx)("span",{className:"lfc__question-description",children:"Leave unused fields blank."})]}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsxs)("div",{className:"lfc__question-fields",children:[(0,tS.jsxs)("div",{className:"fld lfc__field--children-group","data-error":"EA79480C-E4F9-49FE-A937-3107AC476F56_error",children:[(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_5",children:"child 5"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_5",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_6",children:"child 6"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_6",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_7",children:"child 7"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_7",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_8",children:"child 8"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_8",placeholder:"0","data-max":"99"})]})]}),(0,tS.jsx)("div",{id:"EA79480C-E4F9-49FE-A937-3107AC476F56_error",className:"lfc__children-error",children:(0,tS.jsx)("span",{className:"fld__error","aria-live":"assertive","data-template":"Enter a numeric age less than 100 for {0}."})}),(0,tS.jsx)("button",{className:"btn  lfc__children-add","data-index":"8",type:"submit",children:"Add more children"})]})})]}),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"F5587C2E-7904-4196-BD16-470DDE3D722E",role:"tabpanel","data-conditions":"show-if|children-add-8|true",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{className:"lfc__question","data-category":"Education",children:[(0,tS.jsx)("span",{className:"lfc__question-main",children:"How old are your children?"}),(0,tS.jsx)("span",{className:"lfc__question-description",children:"Leave unused fields blank."})]}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsxs)("div",{className:"lfc__question-fields",children:[(0,tS.jsxs)("div",{className:"fld lfc__field--children-group","data-error":"F5587C2E-7904-4196-BD16-470DDE3D722E_error",children:[(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_9",children:"child 9"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_9",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_10",children:"child 10"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_10",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_11",children:"child 11"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_11",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_12",children:"child 12"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_12",placeholder:"0","data-max":"99"})]})]}),(0,tS.jsx)("div",{id:"F5587C2E-7904-4196-BD16-470DDE3D722E_error",className:"lfc__children-error",children:(0,tS.jsx)("span",{className:"fld__error","aria-live":"assertive","data-template":"Enter a numeric age less than 100 for {0}."})}),(0,tS.jsx)("button",{className:"btn  lfc__children-add","data-index":"12",type:"submit",children:"Add more children"})]})})]}
1),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"BC5866F2-359F-4474-BA4B-B8D8666DB086",role:"tabpanel","data-conditions":"show-if|children-add-12|true",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{className:"lfc__question","data-category":"Education",children:[(0,tS.jsx)("span",{className:"lfc__question-main",children:"How old are your children?"}),(0,tS.jsx)("span",{className:"lfc__question-description",children:"Leave unused fields blank."})]}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsxs)("div",{className:"lfc__question-fields",children:[(0,tS.jsxs)("div",{className:"fld lfc__field--children-group","data-error":"BC5866F2-359F-4474-BA4B-B8D8666DB086_error",children:[(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_13",children:"child 13"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_13",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_14",children:"child 14"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_14",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_15",children:"child 15"}),"/",(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_15",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_16",children:"child 16"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_16",placeholder:"0","data-max":"99"})]})]}),(0,tS.jsx)("div",{id:"BC5866F2-359F-4474-BA4B-B8D8666DB086_error",className:"lfc__children-error",children:(0,tS.jsx)("span",{className:"fld__error","aria-live":"assertive","data-template":"Enter a numeric age less than 100 for {0}."})}),(0,tS.jsx)("button",{className:"btn  lfc__children-add","data-index":"16",type:"submit",children:"Add more children"})]})})]}),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_773E10CF-5C34-4A02-835D-7DCC66D8CA0A",role:"tabpanel","data-conditions":"show-if|children-add-16|true",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{className:"lfc__question","data-category":"Education",children:[(0,tS.jsx)("span",{className:"lfc__question-main",children:"How old are your children?"}),(0,tS.jsx)("span",{className:"lfc__question-description",children:"Leave unused fields blank."})]}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsxs)("div",{className:"lfc__question-fields",children:[(0,tS.jsxs)("div",{className:"fld lfc__field--children-group","data-error":"ctl_773E10CF-5C34-4A02-835D-7DCC66D8CA0A_error",children:[(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_17",children:"child 17"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_17",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_18",children:"child 18"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_18",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_19",children:"child 19"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_19",placeholder:"0","data-max":"99"})]}),(0,tS.jsxs)("div",{className:"lfc__field--children fld fld--text-input",children:[(0,tS.jsx)("label",{htmlFor:"child-age_20",children:"child 20"}),(0,tS.jsx)("input",{type:"text",className:"lfc__field--number fld__input",pattern:"^\\d*(\\.\\d+)?$",id:"child-age_20",placeholder:"0","data-max":"99"})]})]}),(0,tS.jsx)("div",{id:"ctl_773E10CF-5C34-4A02-835D-7DCC66D8CA0A_error",className:"lfc__children-error",children:(0,tS.jsx)("span",{className:"fld__error","aria-live":"assertive","data-template":"Enter a numeric age less than 100 for {0}."})})]})})]}
1),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"A3C3EC5A-1D2B-47E5-AAF1-B0AA2BA2AD40",role:"tabpanel","data-conditions":"show-if|education-contribute|yes",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{className:"lfc__question","data-category":"Education",children:[(0,tS.jsx)("span",{className:"lfc__question-main",children:"What kind of education?"}),(0,tS.jsx)("span",{className:"lfc__question-description",children:"Pick the one your children would most likely attend and we'll project how much your college education expenses might be."})]}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--list-radio lfc__field--as-button",children:[(0,tS.jsxs)("ul",{className:"fld__list lfc__group-multi",children:[(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"education-type",className:"fld__radio--with-button lfc__field--radio",id:"SitecoreDataFieldsTextField_Community",value:"11439"}),(0,tS.jsxs)("label",{htmlFor:"SitecoreDataFieldsTextField_Community",className:"btn btn--radio btn--outline",children:["Community",(0,tS.jsx)("span",{className:"lfc__radio-description",children:"(average annual cost $11,439*)"})]})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"education-type",className:"fld__radio--with-button lfc__field--radio",id:"SitecoreDataFieldsTextField_Public",value:"19548"}),(0,tS.jsxs)("label",{htmlFor:"SitecoreDataFieldsTextField_Public",className:"btn btn--radio btn--outline",children:["Public",(0,tS.jsx)("span",{className:"lfc__radio-description",children:"(average annual cost $19,548)"})]})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"education-type",className:"fld__radio--with-button lfc__field--radio",id:"SitecoreDataFieldsTextField_Private",value:"43921"}),(0,tS.jsxs)("label",{htmlFor:"SitecoreDataFieldsTextField_Private",className:"btn btn--radio btn--outline",children:["Private",(0,tS.jsx)("span",{className:"lfc__radio-description",children:"(average annual cost $43,921)"})]})]}),(0,tS.jsx)("li",{className:"lfc__footnote lfc__footnote--small",children:"*Source: Collegeboard.org"})]}),(0,tS.jsx)("p",{className:"lfc__footnote lfc__footnote--large",children:"*Source: Collegeboard.org"})]})})})]}),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_5DEF994E-883B-4E39-AED3-E9B0D723A80E",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{className:"lfc__question","data-category":"Education",children:[(0,tS.jsx)("span",{className:"lfc__question-main",children:"Do you want to contribute to anyone else's education?"}),(0,tS.jsx)("span",{className:"lfc__question-description",children:"For example: grandchildren, nieces, nephews, etc."})]}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsx)("div",{className:"fld fld--list-radio lfc__field--as-button",children:(0,tS.jsxs)("ul",{className:"fld__list",children:[(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"education-other",className:"fld__radio--with-button lfc__field--radio",id:"education-other_yes",value:"yes"}),(0,tS.jsx)("label",{htmlFor:"education-other_yes",className:"btn btn--radio btn--outline",children:"Yes"})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"education-other",className:"fld__radio--with-button lfc__field--radio",id:"education-other_no",value:"no"}),(0,tS.jsx)("label",{htmlFor:"education-other_no",className:"btn btn--radio btn--outline",children:"No"})]})]})})})})]}
1),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_4CE9BC2E-FA05-43FE-A555-545B716CED5B",role:"tabpanel","data-conditions":"show-if|education-other|yes",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsx)("div",{className:"lfc__question","data-category":"Education",children:(0,tS.jsx)("p",{id:"ctl_4CE9BC2E-FA05-43FE-A555-545B716CED5B_question",className:"lfc__question-text",children:"How much would you like to contribute?"})}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"education-other-money",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"ctl_4CE9BC2E-FA05-43FE-A555-545B716CED5B_question","aria-describedby":"",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"99999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"ctl_4CE9BC2E-FA05-43FE-A555-545B716CED5B_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 99,999,000"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"C4703CB9-2FB0-4518-AB94-D481BC242483",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("fieldset",{children:[(0,tS.jsxs)("legend",{className:"lfc__question","data-category":"Legacy & inheritance",children:[(0,tS.jsx)("span",{className:"lfc__question-main",children:"Would you like to leave an inheritance or charitable gift?"}),(0,tS.jsx)("span",{className:"lfc__question-description",children:"For example: family members, charities, churches, or other organizations."})]}),(0,tS.jsx)("div",{className:"lfc__screen-wrapper lfc__screen-wrapper--fieldset",children:(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsx)("div",{className:"fld fld--list-radio lfc__field--as-button",children:(0,tS.jsxs)("ul",{className:"fld__list",children:[(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"legacy-leave",className:"fld__radio--with-button lfc__field--radio",id:"legacy-leave_yes",value:"yes"}),(0,tS.jsx)("label",{htmlFor:"legacy-leave_yes",className:"btn btn--radio btn--outline",children:"Yes"})]}),(0,tS.jsxs)("li",{children:[(0,tS.jsx)("input",{type:"radio",name:"legacy-leave",className:"fld__radio--with-button lfc__field--radio",id:"legacy-leave_no",value:"no"}),(0,tS.jsx)("label",{htmlFor:"legacy-leave_no",className:"btn btn--radio btn--outline",children:"No"})]})]})})})})]}),(0,tS.jsxs)("div",{className:"eig__interactive-controls lfc__screen-wrapper-navigation",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"    ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_49C37016-3E9F-4689-B2B3-14A7567AA37C",role:"tabpanel","data-conditions":"show-if|legacy-leave|yes",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsx)("div",{className:"lfc__question","data-category":"Legacy & inheritance",children:(0,tS.jsx)("p",{id:"ctl_49C37016-3E9F-4689-B2B3-14A7567AA37C_question",className:"lfc__question-text",children:"What's the total amount you would like to leave?"})}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"legacy-gift-amount",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"
1ctl_49C37016-3E9F-4689-B2B3-14A7567AA37C_question","aria-describedby":"",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"99999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"ctl_49C37016-3E9F-4689-B2B3-14A7567AA37C_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 99,999,000"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"ctl_6DA3C93B-B780-426E-9DDE-2AAB11752C93",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsxs)("div",{className:"lfc__question","data-category":"Assets",children:[(0,tS.jsx)("p",{id:"ctl_6DA3C93B-B780-426E-9DDE-2AAB11752C93_question",className:"lfc__question-text",children:"How much do you already have in life insurance?"}),(0,tS.jsx)("p",{id:"ctl_6DA3C93B-B780-426E-9DDE-2AAB11752C93_description",className:"lfc__question-description",children:"For example: a policy provided by your employer."})]}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"assets-insurance",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"ctl_6DA3C93B-B780-426E-9DDE-2AAB11752C93_question","aria-describedby":"ctl_6DA3C93B-B780-426E-9DDE-2AAB11752C93_description",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"99999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"ctl_6DA3C93B-B780-426E-9DDE-2AAB11752C93_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 99,999,000"]})})]})}),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"E1F6EE4D-2B38-46BD-AB7A-8E7EC78B319C",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen-wrapper",children:[(0,tS.jsxs)("div",{className:"lfc__question","data-category":"Assets",children:[(0,tS.jsx)("p",{id:"E1F6EE4D-2B38-46BD-AB7A-8E7EC78B319C_question",className:"lfc__question-text",children:"Do you have other assets that could be used to cover expenses?"}),(0,tS.jsx)("p",{id:"E1F6EE4D-2B38-46BD-AB7A-8E7EC78B319C_description",className:"lfc__question-description",children:"For example: savings accounts, stocks, bonds, CDs, etc."})]}),(0,tS.jsx)("div",{className:"lfc__question-fields",children:(0,tS.jsxs)("div",{className:"fld fld--text-input",children:[(0,tS.jsx)("input",{type:"text",id:"assets-other",className:"fld__input lfc__field--money",placeholder:"$","aria-labelledby":"E1F6EE4D-2B38-46BD-AB7A-8E7EC78B319C_question","aria-describedby":"E1F6EE4D-2B38-46BD-AB7A-8E7EC78B319C_description",pattern:"^-?\\$?\\d{1,3}(,\\d{3})*(\\.\\d+)?$|^-?\\d+(\\.\\d+)?$|^$","data-max":"99999000"}),(0,tS.jsx)("div",{"aria-live":"assertive",children:(0,tS.jsxs)("span",{className:"fld__error",id:"E1F6EE4D-2B38-46BD-AB7A-8E7EC78B319C_error",children:[(0,tS.jsx)("span",{className:"eig__sr-only",children:"Error: "}),"Amount cannot be greater than 99,999,000"]})})]})}
1),(0,tS.jsxs)("div",{className:"eig__interactive-controls",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow lfc__button-nav lfc__button-nav--next eig__interactive-next",type:"submit",children:"Next"}),"        ",(0,tS.jsx)("button",{className:"lfc__button-nav lfc__button-nav--back eig__interactive-back",type:"submit",children:"Previous"}),"    "]})]}),"                        "]}),(0,tS.jsxs)("div",{className:"eig__interactive-screen eig__interactive-hide",id:"EC5EFE63-72DA-4425-920B-6C4012818E0D",role:"tabpanel",children:[(0,tS.jsx)("a",{className:"eig__interactive-focus",tabIndex:-1,role:"presentation"}),(0,tS.jsxs)("div",{className:"lfc__screen--results","data-category":"Results",children:[(0,tS.jsx)("h3",{children:"Your results"}),(0,tS.jsx)("p",{children:"Based on your responses, here's the estimated amount of coverage you may need to keep your loved ones protected:"}),(0,tS.jsxs)("div",{className:"lfc__cat-total","aria-live":"polite",children:[(0,tS.jsx)("div",{className:"lfc__cat-total-value",children:"$0"}),(0,tS.jsxs)("table",{className:"lfc__table-results",children:[(0,tS.jsx)("thead",{children:(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("th",{scope:"col",children:"Your calculations"}),(0,tS.jsx)("th",{scope:"col",children:"Amount"})]})}),(0,tS.jsxs)("tbody",{children:[(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("th",{scope:"row",className:"Debts__expenses",children:"Debts & expenses"}),(0,tS.jsx)("td",{children:"$0"})]}),(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("th",{scope:"row",className:"Education",children:"Education"}),(0,tS.jsx)("td",{children:"$0"})]}),(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("th",{scope:"row",className:"Legacy__inheritance",children:"Legacy & inheritance"}),(0,tS.jsx)("td",{children:"$0"})]}),(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("th",{scope:"row",className:"Assets",children:"Assets"}),(0,tS.jsx)("td",{children:"$0"})]})]}),(0,tS.jsx)("tfoot",{children:(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("th",{scope:"row",children:"Total"}),(0,tS.jsx)("td",{children:"$0"})]})})]})]}),(0,tS.jsx)("h3",{children:"Your options."}),(0,tS.jsxs)("p",{children:[(0,tS.jsx)("strong",{children:"Term life"})," is cost-effective protection for a specified amount of time. Term doesn't build up cash value. ",(0,tS.jsx)("strong",{children:"Whole life"})," provides protection as long as you live (premiums must be paid) with a guaranteed level premium. ",(0,tS.jsx)("strong",{children:"Universal life"})," is a flexible policy with variable premium payments. Typically for people who need college savings, estate planning, business planning, or additional retirement savings. There is cash value."]}),(0,tS.jsx)("h3",{children:"What's next?"}),(0,tS.jsx)("p",{children:"Your agent can help you choose the policy that best fits you and your family's needs."}),(0,tS.jsxs)("div",{className:"lfc__results-buttons",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow",onClick:()=>{iw(r).then(e=>{e&&n(e)}).catch(e=>console.error("Error fetching agency: "+e)),s(!0)},children:"Contact An Agent"}),(0,tS.jsx)("button",{className:"lfc__control-reset",type:"submit",children:"Start Over"})]}),(0,tS.jsx)("div",{className:"lfc__disclaimer-text",children:(0,tS.jsx)("p",{children:"This calculator is a planning tool designed to assist you. The results and explanations generated by this calculator may vary due to your input and assumptions. Erie Insurance does not guarantee the accuracy of the calculations, results, explanations, nor applicability to your specific situation. All projections are hypothetical and we recommend you use this calculator as a guideline only. For a more accurate and detailed analysis specific to your circumstances and needs, contact an ERIE agent or other financial professional."})})]}),"                        "]})]}),(0,tS.jsxs)("div",{className:"lfc__cat-total","aria-live":"polite","aria-atomic":"true",children:["Here's the estimated amount of coverage you may need:",(0,tS.jsx)("div",{className:"lfc__cat-total-value",children:"$0"})]})]})})]}),(0,tS.jsx)("button",{className:"quote-modal__close",onClick:d,children:(0,tS.jsx)("img",{src:"".concat(iS,"/close-large.svg"),alt:"close"})})]})})}),(0,tS.jsx)("div",{children:(0,tS.jsx)(nV(),{style:ik,isOpen:i,onAfterOpen:function(){let e=document.getElementsByClassName("quote-modal")[0].getElementsByTagName("button")[1];e&&e.focus()},onRequestClose:u,contentLabel:"AgencySearch",shouldCloseOnOverlayClick:!0,className:"quote-modal",children:(0,tS.jsx)("div",{className:"quote-modal__wrapper",children:(0,tS.jsxs)("div",{className:"Modal",role:"dialog","aria-modal":"true","aria-labelledby":"".concat(l?"form-title":"search-title"),children:[o?(0,tS.jsx)(iE,{}):l?(0,tS.jsx)(iC,{setSelectedAgency:n,selectedAgency:l,insuranceType:"life",onSuccess:()=>c(!0)}):(0,tS.jsx)(nQ,{setSelectedAgency:n,zipCode:""}),(0,tS.jsx)("button",{className:"quote-modal__close",onClick:u,children:(0,tS.jsx)("img",{src:"".concat(iS,"/close-large.svg"),alt:"close"})})]})})})})]})};function iL(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:iI})}let iD=e=>{let t="item".concat(e.index);return t+=(e.index+1)%2==0?" even":" odd",0==e.index&&(t+=" first"),e.index+1==e.total&&(t+=" last"),(0,tS.jsx)("li",{className:t,children:(0,tS.jsx)("div",{className:"field-link",children:(0,tS.jsx)(au,{field:e.field})})})},iF=e=>{var t,a,l,n;let i=null===(a=e.fields)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.datasource,s="component-frame link-list ".concat(null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.styles).trimEnd(),r=e.params.RenderingIdentifier;if(i){let e=i.children.results.filter(e=>{var t;return null==e?void 0:null===(t=e.field)||void 0===t?void 0:t.link}).map((e,t)=>(0,tS.jsx)(iD,{index:t,total:i.children.results.length,field:e.field.link},"".concat(t).concat(e.field.link)));return(0,tS.jsx)("div",{className:s,id:r||void 0,children:(0,tS.jsxs)("div",{className:"component-content",children:[(0,tS.jsx)(am.x,{tag:"h3",field:null==i?void 0:null===(n=i.field)||void 0===n?void 0:n.title}),(0,tS.jsx)("ul",{children:e})]})})}return(0,tS.jsx)("div",{className:s,id:r||void 0,children:(0,tS.jsx)("div",{className:"component-content",children:(0,tS.jsx)("h3",{children:"Link List"})})})};function iT(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:iF})}let iB=e=>{var t,a,l,n,i;let s=null===(a=e.fields)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.datasource,r=e=>(0,tS.jsx)("li",{children:(0,tS.jsx)(au,{field:e})});if(s){let e=s.children.results.filter((e,t)=>
1{var a;return(null==e?void 0:null===(a=e.field)||void 0===a?void 0:a.link)&&t<=3}).map((e,t)=>(0,tk.createElement)(r,{...e.field.link,key:"".concat(t).concat(e.field.link)}));return(0,tS.jsxs)("nav",{className:"user-actions","aria-labelledby":null==s?void 0:null===(n=s.field)||void 0===n?void 0:null===(l=n.title.value)||void 0===l?void 0:l.toString(),children:[(0,tS.jsx)(am.x,{tag:"h2",className:"actions-headline",field:null==s?void 0:null===(i=s.field)||void 0===i?void 0:i.title}),(0,tS.jsx)("ul",{children:e})]})}return(0,tS.jsx)(tS.Fragment,{})};function iP(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:iB})}let iH=e=>{var t,a,l,n,i,s,r,o,c,d,u,m,v,h,p,x,g,f,j,b,y,N,_,C,w,A,E,S,k,I,L,D,F,T,B,P,H,M,q,R,O,V,G,U,W,Z,z,Q,Y,K,J,X,$,ee,et,ea,el,en,ei,es,er,eo,ec,ed,eu,em,ev,eh,ep,ex,eg,ef,ej,eb,ey,eN,e_,eC,ew,eA,eE,eS,ek,eI,eL,eD;let eF=(0,tk.useContext)(ip.ApiDataContext)||{},eT=null===(a=e.fields)||void 0===a?void 0:null===(t=a.Title)||void 0===t?void 0:t.value;eF&&eF.agencyDetails&&(eT=eF.agencyDetails.AgencyName);let eB=!1,eP=e.fields["Hide From External Search Engines"];eP&&(eB=eP.value);let eH=!1,eM=e.fields["Hide From Site Search"];eM&&(eH=eM.value);let eq=(null===(l=e.fields)||void 0===l?void 0:l.SubCategories)?null===(i=e.fields)||void 0===i?void 0:null===(n=i.SubCategories)||void 0===n?void 0:n.map(e=>{var t,a,l;return null===(l=e.fields)||void 0===l?void 0:null===(a=l.ItemName)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.toString()}):"",eR=(null===(s=e.fields)||void 0===s?void 0:s.State)?null===(o=e.fields)||void 0===o?void 0:null===(r=o.State)||void 0===r?void 0:r.map(e=>{var t,a,l;return null===(l=e.fields)||void 0===l?void 0:null===(a=l.ItemName)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.toString()}):"",eO=(null===(c=e.fields)||void 0===c?void 0:c.Industry)?null===(u=e.fields)||void 0===u?void 0:null===(d=u.Industry)||void 0===d?void 0:d.map(e=>{var t,a,l;return null===(l=e.fields)||void 0===l?void 0:null===(a=l.ItemName)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.toString()}):"",eV=(null===(m=e.fields)||void 0===m?void 0:m.Product)?null===(h=e.fields)||void 0===h?void 0:null===(v=h.Product)||void 0===v?void 0:v.map(e=>{var t,a,l;return null===(l=e.fields)||void 0===l?void 0:null===(a=l.ItemName)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.toString()}):"",eG=(null===(p=e.fields)||void 0===p?void 0:p.ProductEndorsement)?null===(g=e.fields)||void 0===g?void 0:null===(x=g.ProductEndorsement)||void 0===x?void 0:x.map(e=>{var t,a,l;return null===(l=e.fields)||void 0===l?void 0:null===(a=l.ItemName)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.toString()}):"",eU=tL().publicUrl,{sitecoreContext:eW}=(0,tM.z)();return(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)(function(){var t;return(null===(t=e.fields)||void 0===t?void 0:t.Footnotes)||!eW.pageEditing?null:(0,tS.jsx)("h6",{children:"Meta Tag Component"})},{}),(0,tS.jsxs)(a1(),{children:[(0,tS.jsx)("meta",{property:"description",content:null===(b=e.fields)||void 0===b?void 0:null===(j=b.MetaDescription)||void 0===j?void 0:null===(f=j.value)||void 0===f?void 0:f.toString()}),(0,tS.jsx)("meta",{name:"content-type",content:null===(_=e.fields)||void 0===_?void 0:null===(N=_.ContentType)||void 0===N?void 0:null===(y=N.value)||void 0===y?void 0:y.toString()}),eB&&(0,tS.jsx)("meta",{name:"robots",content:"noindex nofollow"}),(0,tS.jsx)("meta",{name:"hide-from-site-search",content:eH.toString()}),(null===(C=e.fields)||void 0===C?void 0:C.Format)&&(0,tS.jsx)("meta",{name:"format",content:null===(E=e.fields)||void 0===E?void 0:null===(A=E.Format)||void 0===A?void 0:null===(w=A.value)||void 0===w?void 0:w.toString()}),(null===(S=e.fields)||void 0===S?void 0:S.FamilyStatus)&&(0,tS.jsx)("meta",{name:"family-status",content:null===(L=e.fields)||void 0===L?void 0:null===(I=L.FamilyStatus)||void 0===I?void 0:null===(k=I.value)||void 0===k?void 0:k.toString()}),(null===(D=e.fields)||void 0===D?void 0:D.Topic)&&(0,tS.jsx)("meta",{name:"topic",content:null===(B=e.fields)||void 0===B?void 0:null===(T=B.Topic)||void 0===T?void 0:null===(F=T.value)||void 0===F?void 0:F.toString()}),(null===(P=e.fields)||void 0===P?void 0:P.Resources)&&(0,tS.jsx)("meta",{name:"resources",content:null===(q=e.fields)||void 0===q?void 0:null===(M=q.Resources)||void 0===M?void 0:null===(H=M.value)||void 0===H?void 0:H.toString()}),(null===(R=e.fields)||void 0===R?void 0:R.InsuranceQuoteType)&&(0,tS.jsx)("meta",{name:"insurance-quote-type",content:null===(V=e.fields)||void 0===V?void 0:null===(O=V.InsuranceQuoteType)||void 0===O?void 0:O.value.toString()}),(null===(G=e.fields)||void 0===G?void 0:G.LineOfBusiness)&&(0,tS.jsx)("meta",{name:"line-of-business",content:null===(W=e.fields)||void 0===W?void 0:null===(U=W.LineOfBusiness)||void 0===U?void 0:U.value.toString()}),(null===(Z=e.fields)||void 0===Z?void 0:Z.State)&&(0,tS.jsx)("meta",{name:"state",content:eR.toString()}),(null===(z=e.fields)||void 0===z?void 0:z.Product)&&(0,tS.jsx)("meta",{name:"product",content:eV.toString()}),(null===(Q=e.fields)||void 0===Q?void 0:Q.ProductEndorsement)&&(0,tS.jsx)("meta",{name:"product-endorsement",content:eG.toString()}),(null===(Y=e.fields)||void 0===Y?void 0:Y.Industry)&&(0,tS.jsx)("meta",{name:"industry",content:eO.toString()}),(null===(K=e.fields)||void 0===K?void 0:K.SubCategories)&&(0,tS.jsx)("meta",{name:"sub-category",content:eq.toString()}),(null===(J=e.fields)||void 0===J?void 0:J.PrimaryCategory)&&(0,tS.jsx)("meta",{name:"primary-category",content:null===(et=e.fields)||void 0===et?void 0:null===(ee=et.PrimaryCategory)||void 0===ee?void 0:null===($=ee.fields)||void 0===$?void 0:null===(X=$.ItemName)||void 0===X?void 0:X.value.toString()}),(null===(ea=e.fields)||void 0===ea?void 0:ea.AbstractTitle)&&(0,tS.jsx)("meta",{name:"abstract-title",content:null===(en=e.fields)||void 0===en?void 0:null===(el=en.AbstractTitle)||void 0===el?void 0:el.value.toString()}),(null===(ei=e.fields)||void 0===ei?void 0:ei.AbstractDescription)&&(0,tS.jsx)("meta",{name:"abstract-description",content:null===(er=e.fields)||void 0===er?void 0:null===(es=er.AbstractDescription)||void 0===es?void 0:es.value.toString()}),(null===(ed=e.fields)||void 0===ed?void 0:null===(ec=ed.AbstractImage)||void 0===ec?void 0:null===(eo=ec.value)||void 0===eo?void 0:eo.src)&&(0,tS.jsx)("meta",{property:"og:image",content:eU+(null===(eh=e.fields)||void 0===eh?void 0:null===(ev=eh.AbstractImage)||void 0===ev?void 0:null===(em=ev.value)||void 0===em?void 0:null===(eu=em.src)||void 0===eu?void 0:eu.toString())}),(0,tS.jsx)("meta",{name:"author",content:(null===(ep=e.fields)||void 0===ep?void 0:ep.Author)?null===(ej=e.fields)||void 0===ej?void 0:null===(ef=ej.Author)||void 0===ef?void 0:null===(eg=ef.fields)||void 0===eg?void 0:null===(ex=eg.Title)||void 0===ex?void 0:ex.value.toString():"Erie Insurance"}),(null===(eb=e.fields)||void 0===eb?void 0:eb.Author)&&(0,tS.jsx)("meta",{name:"author-url",content:eU+"/blog/authors/"+(null===(eC=e.fields)||void 0===eC?void 0:null===(e_=eC.Author)||void 0===e_?void 0:null===(eN=e_.fields)||void 0===eN?void 0:null===(ey=eN.Title)||void 0===ey?void 0:ey.value.toString().replaceAll(" ","-").toLowerCase())}
1),(null===(ew=e.fields)||void 0===ew?void 0:ew.PublishDate)&&(0,tS.jsx)("meta",{name:"published-date",content:e.fields.PublishDate?null===(eA=e.fields.PublishDate)||void 0===eA?void 0:eA.value.toString():""}),(0,tS.jsx)("meta",{name:"google-site-verification",content:"EEy8R8gvF7SAKRIsHQhMcf4kKMyxek8U9IzYJzg4B-Q"},"site-1"),(0,tS.jsx)("meta",{name:"google-site-verification",content:"Td5akgaVUaTBr8HynjQDOu07Q88p39n3WguTHb6QEE0"},"site-2"),(0,tS.jsx)("meta",{name:"p:domain_verify",content:"49476e7b9f4c6f9f45b0a05b7f595561"}),(0,tS.jsx)("link",{rel:"icon",href:"".concat(eU,"/favicon.ico")}),(0,tS.jsx)("link",{rel:"icon",href:"/icon.svg",type:"image/svg+xml"}),(0,tS.jsx)("link",{rel:"apple-touch-icon",href:"/apple-touch-icon.png"}),(0,tS.jsx)("meta",{httpEquiv:"x-ua-compatible",content:"ie=edge"}),(0,tS.jsx)("meta",{property:"og:title",content:eT}),(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)("meta",{property:"og:url",content:document.location.href}),(0,tS.jsx)("meta",{name:"twitter:url",content:document.location.href}),(0,tS.jsx)("link",{rel:"canonical",href:document.location.href})]}),(0,tS.jsx)("meta",{property:"og:description",content:null===(ek=e.fields)||void 0===ek?void 0:null===(eS=ek.MetaDescription)||void 0===eS?void 0:null===(eE=eS.value)||void 0===eE?void 0:eE.toString()}),(0,tS.jsx)("meta",{property:"og:type",content:"website"}),(0,tS.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tS.jsx)("meta",{name:"twitter:title",content:eT}),(0,tS.jsx)("meta",{name:"twitter:description",content:null===(eD=e.fields)||void 0===eD?void 0:null===(eL=eD.MetaDescription)||void 0===eL?void 0:null===(eI=eL.value)||void 0===eI?void 0:eI.toString()}),(0,tS.jsx)("title",{children:eT+" | Erie Insurance"})]})]})},iM=e=>{var t,a,l,n,i,s,r,o;let c=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles)?e.params.styles:null;return(0,tS.jsx)("div",{className:"component-frame ".concat(c),children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"mobile-app-banner",children:[(0,tS.jsxs)("div",{className:"mobile-app-banner__content",children:[(0,tS.jsx)(tD.H,{field:null===(a=e.fields)||void 0===a?void 0:a.Headline,className:"mobile-app-banner__title",tag:"h2"}),(0,tS.jsx)(am.x,{field:null===(l=e.fields)||void 0===l?void 0:l.Description}),(0,tS.jsxs)("div",{className:"mobile-app-banner__qr-code",children:[(0,tS.jsx)(tF.E,{field:null===(n=e.fields)||void 0===n?void 0:n.QrCode}),(0,tS.jsx)(am.x,{field:null===(i=e.fields)||void 0===i?void 0:i.QrText,className:"mobile-app-banner__qr-text"})]}),(0,tS.jsxs)("div",{className:"mobile-app-banner__download-btns",children:[(0,tS.jsx)(ac.r,{className:"app-store",field:null===(s=e.fields)||void 0===s?void 0:s.AppStoreLink}),(0,tS.jsx)(ac.r,{className:"play-store",field:null===(r=e.fields)||void 0===r?void 0:r.PlayStoreLink})]})]}),(0,tS.jsx)("div",{className:"mobile-app-banner__image",children:(0,tS.jsx)(tF.E,{field:null===(o=e.fields)||void 0===o?void 0:o.AppImage})})]})})})};function iq(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:iM})}let iR=tL().publicUrl,iO=e=>{var t,a,l,n,i,s;nV().setAppElement("#__next");let r=(null===(t=e.rendering.params)||void 0===t?void 0:t.Top)||"",o=(null===(a=e.rendering.params)||void 0===a?void 0:a.Bottom)||"",c=(null===(l=e.rendering.params)||void 0===l?void 0:l.Left)||"",d=(null===(n=e.rendering.params)||void 0===n?void 0:n.Right)||"",u=(null===(i=e.rendering.params)||void 0===i?void 0:i.MarginRight)||"",m=(null===(s=e.rendering.params)||void 0===s?void 0:s.Transform)||"",v="modal-".concat(e.params.DynamicPlaceholderId),[h,p]=(0,tk.useState)(!1),[x,g]=(0,tk.useState)(!1),[f,j]=(0,tk.useState)(!1),[b,y]=(0,tk.useState)({searchTerm:"",languageType:"option1"}),[N,_]=(0,tk.useState)({fullName:"",contactMethod:"option1",phoneNumber:"",email:"",message:""}),C=e=>{let{name:t,value:a}=e.target;y(e=>({...e,[t]:a}))};function w(){p(!1),g(!1),j(!1)}return(0,tS.jsxs)("div",{children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow",onClick:function(){p(!0)},children:"Open Modal"}),(0,tS.jsxs)(nV(),{isOpen:h,onAfterOpen:function(){},onRequestClose:w,style:{content:{top:r,left:c,right:d,bottom:o,marginRight:u,transform:m}},contentLabel:"Example Modal",shouldCloseOnOverlayClick:!0,className:"quote-modal",children:[(0,tS.jsxs)("div",{className:"Modal",role:"dialog","aria-modal":"true",children:[f?(0,tS.jsx)(iG,{}):x?(0,tS.jsx)(iV,{formValues:N,onChange:e=>{let{name:t,value:a}=e.target;_(e=>({...e,[t]:a}))},onSubmit:e=>{e.preventDefault(),console.log("Insurance Form Submitted:",N),j(!0)},onBack:()=>{g(!1)}}):(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsxs)("div",{className:"quote-modal__title",children:[(0,tS.jsx)("h4",{children:"Find a local agency"}),(0,tS.jsx)("p",{children:"Complete the form below to find a local ERIE agency and get started."})]}),(0,tS.jsxs)("form",{onSubmit:e=>{e.preventDefault(),console.log("Local Agency Form Submitted:",b),g(!0)},className:"form",children:[(0,tS.jsxs)("div",{className:"quote-modal__input",children:[(0,tS.jsxs)("div",{className:"quote-modal__search form-input form-input-single-line floating-label-container",children:[(0,tS.jsx)("input",{type:"text",name:"searchTerm",placeholder:" ",value:b.searchTerm,onChange:C}),(0,tS.jsx)("label",{htmlFor:"searchTerm",children:"Address, City, State, or ZIP"})]}),(0,tS.jsxs)("div",{className:"quote-modal__dropdown form-input form-input-single-line floating-label-container",children:[(0,tS.jsxs)("select",{className:"select",id:"languageType",name:"languageType",value:b.languageType,onCh
1ange:C,children:[(0,tS.jsx)("option",{value:"option1",children:"Select a Preferred Language"}),(0,tS.jsx)("option",{value:"option2",children:"Option 2"}),(0,tS.jsx)("option",{value:"option3",children:"Option 3"})]}),(0,tS.jsx)("label",{htmlFor:"languageType",children:"Select a Preferred Language"})]})]}),(0,tS.jsx)("button",{className:"btn btn-primary arrow",type:"submit",children:"Submit"})]})]}),(0,tS.jsx)("button",{className:"quote-modal__close",onClick:w,children:(0,tS.jsx)("img",{src:"".concat(iR,"/close-large.svg"),alt:"close"})})]}),(0,tS.jsx)(aZ.V,{name:v,rendering:e.rendering})]})]})},iV=e=>{let{formValues:t,onChange:a,onSubmit:l,onBack:n}=e;return(0,tS.jsxs)("div",{className:"quote-modal__insurance",children:[(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("button",{className:"sub-menu-back",onClick:n,children:[(0,tS.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:[(0,tS.jsx)("title",{children:"Arrow pointing left"}),(0,tS.jsx)("g",{stroke:"#002955",strokeWidth:"1.5",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",children:(0,tS.jsx)("path",{d:"m10 7-5 5 5 5M19 12H6"})})]}),(0,tS.jsx)("span",{children:"Back"})]}),(0,tS.jsx)("h4",{children:"Request a renter insurance quote"}),(0,tS.jsx)("p",{className:"quote-modal__insurance-description",children:"Agency: Prodigy Insurance Agency Inc."})]}),(0,tS.jsxs)("form",{onSubmit:l,className:"form",children:[(0,tS.jsxs)("div",{className:"quote-modal__input",children:[(0,tS.jsxs)("div",{className:"quote-modal__search form-input form-input-single-line floating-label-container",children:[(0,tS.jsx)("input",{type:"text",name:"fullName",placeholder:" ",value:t.fullName,onChange:a}),(0,tS.jsx)("label",{htmlFor:"fullName",children:"Full Name"})]}),(0,tS.jsxs)("div",{className:"quote-modal__dropdown form-input form-input-single-line floating-label-container",children:[(0,tS.jsxs)("select",{className:"select",id:"contactMethod",name:"contactMethod",value:t.contactMethod,onChange:a,children:[(0,tS.jsx)("option",{value:"option1",children:"Preferred Contact Method"}),(0,tS.jsx)("option",{value:"option2",children:"Option 2"}),(0,tS.jsx)("option",{value:"option3",children:"Option 3"})]}),(0,tS.jsx)("label",{htmlFor:"contactMethod",children:"Preferred Contact Method"})]})]}),(0,tS.jsxs)("div",{className:"quote-modal__input",children:[(0,tS.jsxs)("div",{className:"quote-modal__search form-input form-input-single-line floating-label-container",children:[(0,tS.jsx)("input",{type:"text",name:"phoneNumber",placeholder:" ",value:t.phoneNumber,onChange:a}),(0,tS.jsx)("label",{htmlFor:"phoneNumber",children:"Phone Number"})]}),(0,tS.jsxs)("div",{className:"quote-modal__search form-input form-input-single-line floating-label-container",children:[(0,tS.jsx)("input",{type:"text",name:"email",placeholder:" ",value:t.email,onChange:a}),(0,tS.jsx)("label",{htmlFor:"email",children:"Email"})]})]}),(0,tS.jsxs)("div",{className:"form-input form-input-textarea",children:[(0,tS.jsx)("textarea",{className:"quote-modal__textarea form-input form-input-single-line floating-label-container",name:"message",placeholder:" ",value:t.message,onChange:a}),(0,tS.jsx)("label",{htmlFor:"message",children:"Message"})]}),(0,tS.jsx)("p",{className:"quote-modal__insurance-character",children:"1000 character limit"}),(0,tS.jsx)("button",{className:"btn btn-primary arrow quote-modal__insurance-submit",type:"submit",children:"Send Message"}),(0,tS.jsxs)("p",{className:"quote-modal__insurance-policy",children:["This site is protected by reCAPTCHA and the Google Cloud reCAPTCHA service to help prevent fraud and abuse. Information collected through reCAPTCHA is processed in accordance with ",(0,tS.jsx)("a",{href:"https://www.erieinsurance.com/privacy-policy/",target:"_blank",children:"ERIE’s Online Privacy Policy."})]})]})]})},iG=()=>(0,tS.jsxs)("div",{className:"quote-modal__success",children:[(0,tS.jsx)("img",{src:"".concat(iR,"/completed-check.svg"),alt:"check mark"}),(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("h3",{children:["Your request ",(0,tS.jsx)("b",{children:"has been submitted"})]}),(0,tS.jsx)("p",{children:"We have received your quote request. An ERIE agent will reach out to you shortly."}),(0,tS.jsx)("a",{href:"/",className:"btn btn-primary arrow",children:"Go to homepage"})]})]}),iU=tL().publicUrl,iW=e=>{var t,a,l,n,i,s;let r=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles)?e.params.styles:null,{register:o,handleSubmit:c,formState:{errors:d}}=(0,nJ.cI)(),[u,m]=(0,tk.useState)(!1),[v,h]=(0,tk.useState)(null),[p,x]=(0,tk.useState)(!1),g=null===(a=e.fields)||void 0===a?void 0:a.PreSelected.map(e=>e.id),f=async e=>{m(!0);try{if(!e.eriesense&&!e.businesssense)throw h("No newsletter list selected."),Error("No newsletter list selected");console.log(e);let t=await fetch("/api/newslettersubscriber",{method:"POST",body:JSON.stringify(e),headers:{Accept:"application/json","Content-Type":"application/json"}});if(!t.ok)throw console.log("Server responded with code ".concat(t.status)),Error("Couldn't subscribe to the newsletter");let a=await t.json();console.log(a),x(!0);let l=[];e.eriesense&&l.push("eriesense"),e.businesssense&&l.push("businesssense"),aE.c.event(aE.a.NEWSLETTER_SIGNUP,{newsletter_name:l,email_address:e.newsletterEmail}),aE.c.identify(e.newsletterEmail)}catch(e){if(e instanceof Error){let t=e.message;v&&h(t),console.log(v)}console.error(e)}finally{m(!1)}},j=null===(l=e.fields)||void 0===l?void 0:l.Newsletters.map((e,t)=>{var a,l;let n=!!g.includes(e.id.toString()),i=e.fields.ItemName.value;return e.fields.ItemName.value.toLowerCase().includes("eriesense")?i="eriesense":e.fields.ItemName.value.toLowerCase().includes("businesssense")&&(i="businesssense"),(0,tS.jsxs)("div",{className:"newsletter-banner-form-checkbox",children:[(0,tS.jsxs)("div",{className:"newsletter-checkbox-wrapper",children:[" ",n,(0,tS.jsx)("input",{id:"".concat(i,"-id"),type:"checkbox",className:"newsletter-checkbox",defaultChecked:n,...o(i)}),(0,tS.jsxs)("label",{htmlFor:"".concat(i,"-id"),children:[" ",(0,tS.jsx)(tD.H,{field:null===(a=e.fields)||void 0===a?void 0:a.ItemName})," "]})]}),(0,tS.jsx)("div",{className:"newsletter-checkbox-description",children:(0,tS.jsx)(tD.H,{field:null===(l=e.fields)||void 0===l?void 0:l.Description})})]},t)});return(0,tS.jsx)("section",{className:"newsletter-banner section-frame component-frame ".concat(r),"aria-live":"polite",children:(0,tS.jsx)("div",{className:"margin-container",style:{backgroundImage:"url(".concat(iU,"/erie-background.png)")},children:p?(0,tS.jsxs)("div",{className:"completed-container",children:[(0,tS.jsx)("img",{className:"completed-img",src:"".concat(iU,"/completed.png")}),(0,tS.jsx)("div",{className:"confirmation-title",children:(0,tS.jsxs)("h2",{children:["Thanks for ",(0,tS.jsx)("span",{className:"visual-impact",children:"joining us!"})]})}),(0,tS.jsx)("p",{className:"completed-description",children:"We're excited for you to join us. You will get monthly emails about tips, trends, and information for your vehicle, property, and life."})]}):(0,tS.jsx)("form",{action:"/",method:"post",onSubmit:c(f),onChange:function(){h(null)},children:(0,tS.jsxs)("div",{className:"newsletter-banner-form-wrapper",children:[(0,tS.jsx)(tD.H,{field:null===(n=e.fields)||void 0===n?void 0:n.Headline,className:"newsletter-banner-title"}),(0,tS.jsxs)("div",{className:"email",children:[(0,tS.jsxs)("div",{className:"email-form",children:[(0,tS.jsxs)("label",{htmlFor:"newsletter-email-id",children:[(0,tS.jsx)("p",{className:"email-label",children:"Email"}),(0,tS.jsx)("input",{id:"newsletter-email-id",type:"email",placeholder:"Enter Email","aria-invalid":d.newsletterEmail?"true":"false","aria-describedby":d.newsletterEmail?"newsletterEmail_error":void 0,...o("newsletterEmail",{required:"Email address is required.",pattern:{value:/^[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]{2,4}$/,message:"Invalid email address."}})})]}),(0,tS.jsx)("button",{type:"submit",className:"btn btn-primary arrow",disabled:u,children:(0,tS.jsx)(am.x,{field:null===(i=e.fields)||void 0===i?void 0:i.CtaButtonText})})]}),d.newsletterEmail?(0,tS.jsxs)("div",{className:"error-container",role:"alert",hidden:null===d.newsletterEmail.message,children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{role:"presentation",src:"".concat(iU,"/error-icon.png")})}),(0,tS.jsx)("div",{className:"error-label",id:"newsletterEmail_error",children:(0,tS.jsx)("p",{children:d.newsletterEmail.message})})]}):null]}),(0,tS.jsx)("div",{className:"newsletter-banner-terms",children:(0,tS.jsx)(tD.H,{field:null===(s=e.fields)||void 0===s?void 0:s.LegalText})}),(0,tS.jsxs)("div",{className:"newsletter-banner-form-checkboxes",children:[v?(0,tS.jsxs)("div",{className:"error-container-checkboxes",hidden:null===v,children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(iU,"/error-icon.png")})}),(0,tS.jsx)("div",{className:"error-label",children:(0,tS.jsx)("p",{children:v})})]}):null,j]})]})})})})};function iZ(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:iW})}let iz=tL().publicUrl,iQ=e=>{var t,a;let l=tL().sitecoreSearchSources,[n,i]=(0,tk.useState)([]),[s,r]=(0,tk.useState)(0),[o,c]=(0,tk.useState)(""),[d,u]=(0,tk.useState)(""),[m,v]=(0,tk.useState)(0),[h,p]=(0,tk.useState)(!1),[x,g]=(0,tk.useState)(!1),f=(0,tk.useCallback)((e,t)=>{let a=[];o&&a.push({name:"published_date",type:"gte",value:o}),d&&a.push({name:"published_date",type:"lte",value:d});let n={type:"not",filter:{name:"hide_from_site_search",type:"eq",value:"true"}};return{context:{user:{uuid:"12658530543-hl-sl-4z-1p-cx5wqy0zsk8t4b5iscrs-1720570872512"},locale:{language:"en",country:"us"}},widget:{items:[{rfk_id:"press_releases_widget",entity:"content",sources:[l],search:{limit:t,offset:e,content:{},sort:{choices:!0,value:[{name:"published_date",order:"desc"}]},filter:a.length>0?{type:"and",filters:[...a,n]}:{type:"and",filters:[n]},facet:{all:!0,types:[{name:"type",filter:{type:"and",values:["facet
1id_eyJ0eXBlIjoiZXEiLCJuYW1lIjoidHlwZSIsInZhbHVlIjoiUHJlc3MgUmVsZWFzZSJ9"]}}]}}}]}}},[o,d,l]),j=(0,tk.useCallback)(e=>{ak()(tL().sitecoreSearchUrl,{headers:{accept:"application/json",authorization:tL().sitecoreSearchApiKey,"content-type":"application/json"},method:"POST",body:JSON.stringify(f(e,10))}).then(e=>e.json()).then(e=>{let t=e.widgets[0];i([...(null==t?void 0:t.content)||[]].sort((e,t)=>(t.published_date?new Date(t.published_date).getTime():0)-(e.published_date?new Date(e.published_date).getTime():0))),v(t.total_item)}).catch(e=>console.error("Error fetching search results:",e))},[f]);(0,tk.useEffect)(()=>{j(10*s)},[s]);let b=e=>{let t=new Date(e);if(isNaN(t.getTime()))return"Invalid date";let a=String(t.getMonth()+1).padStart(2,"0"),l=String(t.getDate()).padStart(2,"0"),n=t.getFullYear();return"".concat(a,"/").concat(l,"/").concat(n)},y=()=>{o&&d&&o>d?g(!0):(g(!1),r(0),j(10*s))},N=(0,tk.useCallback)(e=>{if(null!==e){let t=e.querySelector("ul");t&&(t.removeAttribute("aria-label"),t.removeAttribute("role"))}},[]),_=n.map((e,t)=>{let a=e.published_date||"Unknown date",l=e.title||"Untitled",n=e.url||"",i="Unknown date"===a?"Unknown date":b(a);return(0,tS.jsxs)("div",{className:"press-release-item",children:[(0,tS.jsx)("p",{className:"press-release-item__date",children:i}),(0,tS.jsx)("a",{href:n,className:"press-release-item__link",children:l})]},t)});return(0,tS.jsx)("div",{className:"press-releases ".concat(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles),children:(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsxs)("div",{className:"press-releases__sidebar",children:[(0,tS.jsx)("h2",{className:"label-small",children:"Filters"}),(0,tS.jsxs)("div",{className:"form-filters",children:[(0,tS.jsxs)("div",{className:"filter-start",children:[(0,tS.jsx)("label",{htmlFor:"input-filter-start",children:"Start Date"}),(0,tS.jsx)("input",{type:"date",id:"input-filter-start",name:"input-filter-start",value:o,onChange:e=>c(e.target.value)})]}),(0,tS.jsxs)("div",{className:"filter-end",children:[(0,tS.jsx)("label",{htmlFor:"input-filter-end",children:"End Date"}),(0,tS.jsx)("input",{type:"date",id:"input-filter-end",name:"input-filter-end",value:d,onChange:e=>u(e.target.value)}),x?(0,tS.jsxs)("div",{className:"error-message",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(iz,"/error-icon-red.png"),alt:"Error Icon"})}),(0,tS.jsx)("p",{className:"error-label",children:"End date is set before start date."})]}):null]}),(0,tS.jsx)("button",{className:"btn btn-primary arrow",type:"button",onClick:y,children:"Apply"})]})]}),(0,tS.jsxs)("div",{className:"press-releases__content",children:[(0,tS.jsxs)("div",{className:"press-releases__header",children:[(0,tS.jsx)("h2",{children:(null===(a=e.rendering.params)||void 0===a?void 0:a.ListingTitle)||"Press Releases"}),(0,tS.jsx)("button",{className:"press-releases__filter",onClick:()=>{p(!h)},children:"Filters"})]}),h&&(0,tS.jsx)("div",{className:"press-releases__filter-item press-releases__filter-mobile",children:(0,tS.jsxs)("div",{className:"form-filters",children:[(0,tS.jsxs)("div",{className:"filter-start",children:[(0,tS.jsx)("label",{htmlFor:"input-filter-start",children:"Start Date"}),(0,tS.jsx)("input",{type:"date",id:"input-filter-start",name:"input-filter-start",value:o,onChange:e=>c(e.target.value)})]}),(0,tS.jsxs)("div",{className:"filter-end",children:[(0,tS.jsx)("label",{htmlFor:"input-filter-end",children:"End Date"}),(0,tS.jsx)("input",{type:"date",id:"input-filter-end",name:"input-filter-end",value:d,onChange:e=>u(e.target.value)})]}),(0,tS.jsx)("button",{className:"btn btn-primary arrow",type:"button",onClick:y,children:"Apply"})]})}),!x&&n?(0,tS.jsxs)(tS.Fragment,{children:[_,(0,tS.jsx)("div",{ref:N,children:(0,tS.jsx)(aA(),{previousLabel:(0,tS.jsx)("div",{className:"button-arrow left-arrow","aria-label":"Previous"}),nextLabel:(0,tS.jsx)("div",{className:"button-arrow right-arrow","aria-label":"Next"}),breakLabel:(0,tS.jsx)("span",{className:"article__page",children:"..."}),pageCount:Math.ceil(m/10),marginPagesDisplayed:1,pageRangeDisplayed:4,onPageChange:e=>{r(e.selected)},containerClassName:"article__pagination",pageClassName:"article__page",previousClassName:"previous",nextClassName:"next",activeClassName:"active",ariaLabelBuilder:e=>"Page ".concat(e)})})]}):null]})]})})})};function iY(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:iQ})}let iK=e=>{var t,a;let l=e.params.styles?e.params.styles:null,{sitecoreContext:n}=(0,tM.z)(),i=null===(t=e.fields)||void 0===t?void 0:t.Icons.map((e,t)=>{var a,l;let i=(null===(a=e.fields.Icon.value)||void 0===a?void 0:a.src)||"";return(0,tS.jsxs)("li",{className:"quick-links-item",children:[n.pageEditing?(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)(tF.E,{className:"image-callout-image",field:null===(l=e.fields)||void 0===l?void 0:l.Icon}),(0,tS.jsx)(ac.r,{field:e.fields.Link,className:"quick-links-link"}),"  "]}):null,!n.pageEditing&&e.fields.Link.value.href?(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)(aq.Q,{src:i}),(0,tS.jsx)(ac.r,{field:e.fields.Link,className:"quick-links-link"})]}):null]},t)});return(0,tS.jsxs)("div",{className:"quick-links ".concat(l),children:[(0,tS.jsx)("h3",{className:"quick-links-collection-title label-small",children:(0,tS.jsx)(am.x,{field:null===(a=e.fields)||void 0===a?void 0:a.Introduction})}),(0,tS.jsx)("ul",{className:"quick-links-list",children:i})]})},iJ=e=>{var t;let a=e.params.styles?e.params.styles:null,{sitecoreContext:l}=(0,tM.z)(),n=null===(t=e.fields)||void 0===t?void 0:t.Icons.map((e,t)=>{var a,n;let i=(null===(a=e.fields.Icon.value)||void 0===a?void 0:a.src)||"";return(0,tS.jsx)(ac.r,{field:e.fields.Link,children:l.pageEditing?(0,tS.jsx)(tF.E,{className:"image-callout-image",field:null===(n=e.fields)||void 0===n?void 0:n.Icon}):(0,tS.jsx)(aq.Q,{src:i})},t)});return(0,tS.jsx)("div",{className:"social-link-collection ".concat(a),children:n})},iX=e=>{var t,a,l;let n=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles)?e.params.styles:null,{sitecoreContext:i}=(0,tM.z)(),s=null===(a=e.fields)||void 0===a?void 0:a.Icons.map((e,t)=>{var a,l;let n=(null===(a=e.fields.Icon.value)||void 0===a?void 0:a.src)||"";return(0,tS.jsxs)("li",{children:[i.pageEditing?(0,tS.jsx)(tF.E,{className:"image-callout-image",field:null===(l=e.fields)||void 0===l?void 0:l.Icon}):(0,tS.jsx)(aq.Q,{src:n}),(0,tS.jsx)(ac.r,{field:e.fields.Link})]},t)});return(0,tS.jsxs)("div",{className:"submenu-frame alternate ".concat(n),children:[(0,tS.jsx)("div",{className:"header-icons-collection-title",children:(0,tS.jsx)(am.x,{field:null===(l=e.fields)||void 0===l?void 0:l.Introduction})}),(0,tS.jsx)("ul",{className:"icon-cards",children:s})]})},i$=tL().publicUrl,i0=e=>{var t,a,l,n,i,s,r,o,c;let[d,u]=(0,tk.useState)([]),m=tL().sitecoreSearchSources,v=null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(l=n.Category)||void 0===l?void 0:null===(a=l.fields)||void 0===a?void 0:null===(t=a.ItemName)||void 0===t?void 0:t.value,h="resource_center_widget",p=(0,tk.useCallback)((e,t,a)=>{let l=[];l.push({name:"primary_category",type:"eq",value:v});let n=l.length>0?{type:"and",filters:l}:void 0;return{context:{page:{uri:"/search?q=".concat(e||"*")},user:{uuid:"12658530543-hl-sl-4z-1p-cx5wqy0zsk8t4b5iscrs-1720570872512"},locale:{language:"en",country:"us"}},widget:{items:[{rfk_id:h,entity:"content",sources:[m],search:{limit:a,offset:t,content:{},sort:{choices:!0},query:{keyphrase:e},filter:n}}]}}},[m,h]),x=(0,tk.useCallback)((e,t)=>{let a=p(e,t,3);ak()(tL().sitecoreSearchUrl,{headers:{accept:"application/json",authorization:tL().sitecoreSearchApiKey,"content-type":"application/json"},method:"POST",body:JSON.stringify(a)}).then(e=>e.json()).then(e=>{e.widgets&&e.widgets.length>
10?u(e.widgets[0].content):u([])}).catch(e=>console.error("Error fetching search results:",e))},[3,p]);if((0,tk.useEffect)(()=>{var t,a;(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(t=a.RelatedContent)||void 0===t?void 0:t.length)<3&&x("*",0)},[x]),!e||!e.fields)return(0,tS.jsx)(tS.Fragment,{});let g=(null==e?void 0:null===(i=e.params)||void 0===i?void 0:i.styles)?e.params.styles:"",f=e.rendering.uid,j=null===(r=e.fields.Headline)||void 0===r?void 0:null===(s=r.value)||void 0===s?void 0:s.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim(),b=null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.RelatedContent.concat(d).slice(0,3),y=b?b.length:0,N=y>3?3.5:y,_=y>3,C=null==b?void 0:b.map((e,t)=>{var a,l,n,i;let s=null===(n=e.fields)||void 0===n?void 0:null===(l=n.AbstractImage)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.src,r=null==e?void 0:e.abstract_image;return(0,tS.jsx)(aj.o5,{tag:"li",children:(0,tS.jsx)("div",{className:"related-articles-slider__card",children:(0,tS.jsxs)(aP(),{href:null==e?void 0:e.url,children:[null==s?(0,tS.jsx)("img",{width:"385",height:"230",className:"related-articles-slider__image",src:r||"".concat(i$,"/DefaultAbstractImage.jpg"),alt:"Content image"}):(0,tS.jsx)("img",{width:"385",height:"230",className:"related-articles-slider__image",src:s||"".concat(i$,"/DefaultAbstractImage.jpg"),alt:"Content image"}),(0,tS.jsx)("div",{className:"related-articles-slider__text",children:(0,tS.jsx)("div",{className:"related-articles-slider__link",children:(null==e?void 0:e.abstract_title)!=null?null==e?void 0:e.abstract_title:(0,tS.jsx)(am.x,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title,editable:!1})})})]})})},"slide-".concat(t))});return(0,tS.jsx)("div",{className:"related-articles-slider ".concat(g," ").concat(1===y?"one-slide":2===y?"two-slides":""),children:(0,tS.jsx)("div",{className:"component-frame ".concat(_?"large":""),children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsxs)("div",{className:"related-articles-slider__title",children:[(0,tS.jsx)(tD.H,{field:e.fields.Headline,tag:"h3",id:f}),(0,tS.jsx)(ac.r,{field:e.fields.ViewAllCta,className:"related-articles-slider__view",content:"View all","aria-label":j?"View all ".concat(j):"View all"})]}),(0,tS.jsxs)(av.X,{dataSource:{itemId:null!==(c=e.rendering.dataSource)&&void 0!==c?c:""},title:"Related Content Slider Fields",tooltip:"Edit Related Content Slider",buttons:[{header:"Edit Related Content Slider fields",icon:"/~/icon/office/16x16/pencil.png",fields:["Headline","ViewAllCta","RelatedContent"],tooltip:"Edit Related Content Slider fields"}],children:[(0,tS.jsx)(aj.tq,{wrapperTag:"ul",slidesPerView:y>=3?3:y,spaceBetween:30,pagination:{clickable:!0},navigation:{prevEl:".related-articles-slider-prev-".concat(f),nextEl:".related-articles-slider-next-".concat(f)},scrollbar:{el:".related-articles-slider-scrollbar-".concat(f),draggable:!0,snapOnRelease:!0,dragSize:"auto"},breakpoints:{300:{slidesPerView:1===y?1:1.2},768:{slidesPerView:1===y?1:2.2},1023:{slidesPerView:N}},modules:[aN.LW,aN.W_],className:"mySwiper-".concat(f),children:C},f),(0,tS.jsxs)("div",{className:"swiper-buttons swiper-scrollbar related-articles-slider-controls",children:[(0,tS.jsx)("div",{className:"swiper-scrollbar related-articles-slider-scrollbar related-articles-slider-scrollbar-".concat(f)}),(0,tS.jsxs)("div",{className:"related-articles-slider-buttons",children:[(0,tS.jsx)("div",{className:"related-articles-slider-prev related-articles-slider-prev-".concat(f),children:(0,tS.jsx)("img",{src:"".concat(i$,"/icon-chevron-left-32x32.svg"),alt:"close"})}),(0,tS.jsx)("div",{className:"related-articles-slider-next related-articles-slider-next-".concat(f),children:(0,tS.jsx)("img",{src:"".concat(i$,"/icon-chevron-right-32x32.svg"),alt:"close"})})]})]})]})]})})})};var i1=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:i0})});let i2={facebook:e=>"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(e)),linkedin:e=>"https://www.linkedin.com/sharing/share-offsite?url=".concat(encodeURIComponent(e)),twitter:e=>"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(e)),pinterest:e=>"https://pinterest.com?url=".concat(encodeURIComponent(e),"&media=").concat(encodeURIComponent(e))};function i3(e){let{platform:t,shareUrl:a,srText:l,children:n,className:i=""}=e,s=i2[t](a);return(0,tS.jsxs)("a",{href:s,onClick:e=>{e.preventDefault();let a=window.screen.width/2-300,l=window.screen.height/2-225;
1window.open(s,"".concat(t,"-share-dialog"),"width=".concat(600,",height=").concat(450,",top=").concat(l,",left=").concat(a,",toolbar=0,status=0,resizable=yes"))},target:"_blank",rel:"noopener noreferrer",className:"inline-block cursor-pointer ".concat(i),children:[(0,tS.jsx)("span",{className:"sr-only",children:l}),n]})}let i4=e=>{var t,a,l,n,i;let[s,r]=(0,tk.useState)("");(0,tk.useEffect)(()=>{r(window.location.href)},[]);let o=null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(t=a.SubCategories)||void 0===t?void 0:t.map((e,t)=>{var a,l;let n=null==e?void 0:null===(l=e.fields)||void 0===l?void 0:null===(a=l.ItemName)||void 0===a?void 0:a.value;return(0,tS.jsx)("li",{children:(0,tS.jsx)("p",{className:"related-tags-list-label",children:(0,tS.jsx)("a",{href:"/resource-center?tag="+n,title:"Read other articles tagged as "+n,"aria-label":"Read other articles tagged as "+n,children:n})})},t)}),c=(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(l=n.SubCategories)||void 0===l?void 0:l.length)>0?(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)("h3",{className:"related-tags-social-heading label-small",children:"Related Tags"}),(0,tS.jsx)("ul",{className:"related-tags-list",children:o})]}):null;return(0,tS.jsx)("div",{className:"related-tags-social ".concat(null==e?void 0:null===(i=e.params)||void 0===i?void 0:i.styles),children:(0,tS.jsxs)("div",{className:"inner-wrapper",children:[c,(0,tS.jsx)("h2",{className:"related-tags-social-heading label-small",children:"Share On"}),(0,tS.jsxs)("ul",{className:"social-follow",tabIndex:1,children:[(0,tS.jsx)("li",{children:(0,tS.jsx)(i3,{platform:"facebook",shareUrl:s,srText:"Share on Facebook",children:(0,tS.jsxs)("svg",{width:32,height:32,viewBox:"0 0 32 32",role:"img",children:[(0,tS.jsx)("title",{children:"Icon for Facebook"}),(0,tS.jsx)("path",{d:"M30 15.055C30 6.74 23.284 0 15 0 6.716 0 0 6.74 0 15.055c0 7.06 4.843 12.985 11.376 14.612V19.656H8.283v-4.6h3.093v-1.983c0-5.125 2.31-7.5 7.323-7.5.95 0 2.59.187 3.261.374v4.17c-.354-.037-.969-.055-1.733-.055-2.46 0-3.41.935-3.41 3.366v1.627h4.9l-.842 4.6h-4.058V30C24.244 29.1 30 22.752 30 15.055",fill:"#002955",fillRule:"evenodd"})]})})}),(0,tS.jsx)("li",{children:(0,tS.jsx)(i3,{platform:"linkedin",shareUrl:s,srText:"Share on LinkedIn",children:(0,tS.jsxs)("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",children:[" ",(0,tS.jsx)("title",{children:"Icon for LinkedIn"}),(0,tS.jsx)("defs",{children:(0,tS.jsx)("path",{d:"M0 0h30v30H0z"})}),(0,tS.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,tS.jsx)("mask",{fill:"#002955",children:(0,tS.jsx)("use",{xlinkHref:"#q13soldxda"})}),(0,tS.jsx)("path",{d:"M22.5 22.168h-3.216v-5.174c0-1.3-.465-2.188-1.629-2.188-.887 0-1.418.6-1.65 1.177-.085.207-.106.493-.106.783v5.402h-3.215s.042-8.765 0-9.671H15.9v1.37c.429-.661 1.192-1.598 2.899-1.598 2.115 0 3.702 1.381 3.702 4.353v5.546zM9.297 11.174h-.021c-1.079 0-1.776-.742-1.776-1.671 0-.948.72-1.672 1.818-1.672 1.1 0 1.778.724 1.798 1.671 0 .93-.698 1.672-1.819 1.672zM7.69 22.168h3.217v-9.671H7.689v9.671zM15 0C6.715 0 0 6.716 0 15c0 8.285 6.715 15 15 15 8.284 0 15-6.715 15-15 0-8.284-6.716-15-15-15z",fill:"#002955",mask:"url(#oq9bzxiatb)"})]})]})})}),(0,tS.jsx)("li",{children:(0,tS.jsx)(i3,{platform:"twitter",shareUrl:s,srText:"Share on X",children:(0,tS.jsxs)("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,tS.jsx)("title",{children:"Icon for X"}),(0,tS.jsxs)("g",{fill:"#002955",fillRule:"evenodd",children:[(0,tS.jsx)("path",{d:"M15.14 13.807 11.41 8.475H9.423l4.62 6.607.58.831 3.954 5.657h1.989l-4.846-6.932z"}),(0,tS.jsx)("path",{d:"m17.968 22.5-4.002-5.824-5.01 5.824H7.66l5.73-6.66-5.73-8.34h4.37l3.79 5.515L20.566 7.5h1.295l-5.465 6.352 5.943 8.648h-4.37zM15 0C6.716 0 0 6.716 0 15c0 8.286 6.716 15 15 15 8.284 0 15-6.714 15-15 0-8.284-6.716-15-15-15z"})]})]})})}),(0,tS.jsx)("li",{children:(0,tS.jsx)(i3,{platform:"pinterest",shareUrl:s,srText:"Share on Pinterest",children:(0,tS.jsxs)("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,tS.jsx)("title",{children:"Icon for Pinterest"}),(0,tS.jsx)("g",{id:"icon/social/pinterest",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,tS.jsxs)("g",{id:"solid",children:[(0,tS.jsx)("circle",{id:"Oval",fill:"#002955",cx:"16",cy:"16",r:"16"}),(0,tS.jsx)("path",{d:"M21.3139719,9.63960602 C20.1754482,8.58231686 18.5998385,8 16.877435,8 C14.2463899,8 12.6281699,9.04328905 11.7339687,9.91845185 C10.6319173,10.9969912 10,12.4290956 10,13.8476062 C10,15.6286508 10.7701179,16.995661 12.0597642,17.5042273 C12.1463415,17.5385401 12.2334679,17.5558215 12.3188822,17.5558215 C12.5909546,17.5558215 12.8065256,17.3836014 12.8812147,17.10
173806 C12.9247618,16.9489107 13.0256178,16.557939 13.069488,16.388219 C13.1633662,16.0530602 13.0875141,15.8918403 12.8827653,15.6584323 C12.5097723,15.2314916 12.3360685,14.7266441 12.3360685,14.0696079 C12.3360685,12.1179996 13.8383137,10.043859 16.6225812,10.043859 C18.8317881,10.043859 20.2041027,11.2584931 20.2041027,13.2136953 C20.2041027,14.447517 19.9293814,15.5901505 19.4303667,16.4312506 C19.0836052,17.0156924 18.4738491,17.7123539 17.5377806,17.7123539 C17.1329995,17.7123539 16.7693749,17.551509 16.5399451,17.2710694 C16.3232111,17.0059736 16.2517525,16.6635336 16.3389436,16.3066246 C16.4374091,15.9033716 16.5717009,15.4827435 16.7016637,15.0761154 C16.9386852,14.3334224 17.1627524,13.6319484 17.1627524,13.0722879 C17.1627524,12.1150308 16.5543854,11.4718072 15.6490389,11.4718072 C14.4984655,11.4718072 13.5970602,12.6022532 13.5970602,14.045389 C13.5970602,14.7531443 13.7915038,15.2825232 13.8795348,15.4857747 C13.7345825,16.0798417 12.8731384,19.6117431 12.7097399,20.2777481 C12.6152479,20.6665323 12.0460992,23.7373052 12.9881441,23.9821508 C14.0465838,24.2572466 14.9926991,21.2665367 15.0890002,20.9285967 C15.1670489,20.6537
1509 15.4401228,19.6144619 15.6074624,18.9756134 C16.11843,19.4517107 16.9411404,19.7735881 17.7416572,19.7735881 C19.2507834,19.7735881 20.6079793,19.1166457 21.5632693,17.923918 C22.4897432,16.7670343 23,15.1545848 23,13.3838215 C23,11.9994987 22.3853659,10.6347385 21.3139719,9.63960602 Z",id:"Path",fill:"#eff2f6",fillRule:"nonzero"})]})})]})})})]})]})})},i5={content:[],total_item:0,facet:[]},i9=tL().publicUrl,i6=e=>{var t,a,l;let n=tL().sitecoreSearchRfkid,[i,s]=(0,tk.useState)(""),[r,o]=(0,tk.useState)(!1),[c,d]=(0,tk.useState)(!1),[u,m]=(0,tk.useState)(!0),[v,h]=(0,tk.useState)(0),[p,x]=(0,tk.useState)(!1),[g,f]=(0,tk.useState)([]),[j,b]=(0,tk.useState)(i5),y=(0,tk.useRef)(null),N=(0,tk.useRef)(!1),_=(0,tk.useCallback)((e,t)=>{fetch(tL().sitecoreSearchUrl,{headers:{accept:"application/json",authorization:tL().sitecoreSearchApiKey,"content-type":"application/json"},method:"POST",body:JSON.stringify(w(e,10*t))}).then(e=>e.json()).then(t=>{let a=t.widgets[0];b(a),aE.c.event(aE.a.GLOBAL_SEARCH,{search_term:e,search_results:null==a?void 0:a.total_item})}).catch(e=>console.error("Error fetching search results:",e))},[10,g]),C=()=>g.map(e=>({name:"type",type:"eq",value:e})),w=(e,t)=>{let a={content:{},facet:{all:!0},offset:t,limit:10,query:{keyphrase:e,highlight:{fragment_size:500,fields:["subtitle","description","title"],pre_tag:"<b>",post_tag:"</b>"}}},l={type:"not",filter:{type:"eq",name:"hide_from_site_search",value:"true"}};return g&&(null==g?void 0:g.length)?a.filter={hideFromSiteSearch:l,type:"or",filters:C()}:a.filter=l,{context:{page:{uri:"/search-results?q=".concat(e)},user:{uuid:"12658530543-hl-sl-4z-1p-cx5wqy0zsk8t4b5iscrs-1720570872512"},locale:{language:"en",country:"us"}},widget:{items:[{rfk_id:n,search:a,entity:"content"}]}}};(0,tk.useEffect)(()=>{if(!r&&!N.current){var e,t,a;N.current=!0;let l=decodeURIComponent((null!==(a=new URLSearchParams(null===(t=document)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.search).get("searchValue"))&&void 0!==a?a:"").replaceAll("%20","+"));l&&(s(l),_(l,v))}},[]);let A=(0,tk.useCallback)(e=>{if(null!==e){let t=e.querySelector("ul");t&&(t.removeAttribute("aria-label"),t.removeAttribute("role"))}},[]);(0,tk.useEffect)(()=>{(null==i?void 0:i.length)===0&&b(i5),p&&(i&&(null==i?void 0:i.length)>=3?_(i,v):b(i5),x(!1))},[i,v,g,_,r,p]),(0,tk.useEffect)(()=>{j&&(null==y?void 0:y.current)&&y.current.focus()},[j]);let E=e=>{e.preventDefault(),aE.c.event(aE.a.GLOBAL_SEARCH_CLICK,{search_click_text:e.currentTarget.innerText,search_click_target:e.currentTarget.href}),window.location.href=e.currentTarget.href},S=j.total_item,k=(j.content||[]).map((e,t)=>{var a,l;let n=null===(l=e.highlight)||void 0===l?void 0:null===(a=l.description)||void 0===a?void 0:a.map((e,a)=>(0,tS.jsx)("p",{dangerouslySetInnerHTML:{__html:e}},"highlight-".concat(t,"-").concat(a))),i=0===t?{ref:y}:{};return(0,tS.jsxs)("div",{className:"search-results-item",children:[(0,tS.jsx)("p",{className:"search-results-item__label",children:e.type}),(0,tS.jsx)("a",{href:e.url,className:"search-results-item__link",onClick:E,...i,children:e.name}),n&&n.length>0?(0,tS.jsx)("p",{className:"search-results-item__preview",children:n}):(0,tS.jsx)("p",{className:"search-results-item__preview",children:e.description})]},"search-item-".concat(e.id||t))}),I=e=>{let t=e.target.name;x(!0),f(a=>e.target.checked?[...a,t]:a.filter(e=>e!==t)),h(0)};return(0,tS.jsx)("div",{className:"search-results ".concat(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles),children:(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsx)("div",{className:"search-results__sidebar",children:(0,tS.jsxs)("form",{onSubmit:e=>{e.preventDefault(),i&&i.length>=3?_(i,v):b(i5)},children:[(0,tS.jsxs)("div",{className:"search-results__search",children:[(0,tS.jsx)("input",{id:"search-input",type:"text",className:"search-results__search-input",placeholder:"Search",value:i,onChange:e=>{let t=e.target.value;o(!0),s(t),h(0)}}),(0,tS.jsx)("label",{htmlFor:"search-input",className:"sr-only",children:"Search"}),(0,tS.jsx)("button",{className:"search-results__search-btn",type:"submit"})]}),(0,tS.jsx)("h5",{className:"label-small desktop-show",children:"Filters"}),(0,tS.jsx)("button",{className:"search-results__filter-btn",onClick:()=>d(!c),"aria-expanded":c?"true":"false",children:"Filters"}),(0,tS.jsxs)("div",{className:"filter-subCategory ".concat(c?"mobile-show":""),children:[(0,tS.jsxs)("button",{className:"filter-subCategory__toggle",onClick:()=>m(!u),"aria-expanded":u?"true":"false",children:[(0,tS.jsx)("h6",{className:"filter-subCategory__title",children:"Content Type"}
1),(0,tS.jsx)("img",{src:"".concat(i9).concat(u?"/collapse.svg":"/expand.svg"),alt:u?"collapse":"expand"})]}),u&&(0,tS.jsx)("div",{className:"form-filters",children:(0,tS.jsx)("div",{className:"filter-subCategory__content",children:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:null===(a=l.items)||void 0===a?void 0:a.map((e,t)=>(0,tS.jsxs)("div",{className:"filter-row",children:[(0,tS.jsx)("label",{className:"filter-subCategory__label",htmlFor:e.name,children:e.name}),(0,tS.jsx)("input",{type:"checkbox",name:e.name,className:"filter-subCategory__checkbox",checked:g.includes(e.name),onChange:I})]},"filter-item-".concat(t)))})})]})]})}),(0,tS.jsx)("div",{className:"search-results__header",children:k?(0,tS.jsxs)("h2",{className:"search-results__title h4",children:[(0,tS.jsxs)("span",{className:"visual-impact",children:[S," search results found"]}),' for "',i,'"']}):null}),(0,tS.jsxs)("div",{className:"search-results__content",children:[k.length>0?k:(0,tS.jsx)("p",{children:"No results found."}),S>10&&(0,tS.jsx)("div",{ref:A,children:(0,tS.jsx)(aA(),{previousLabel:(0,tS.jsx)("span",{className:"button-arrow left-arrow","aria-label":"Previous"}),nextLabel:(0,tS.jsx)("span",{className:"button-arrow right-arrow","aria-label":"Next"}),breakLabel:(0,tS.jsx)("span",{className:"article__page",children:"..."}),pageCount:Math.ceil(S/10),marginPagesDisplayed:1,pageRangeDisplayed:4,onPageChange:e=>{let t=e.selected;h(t),_(i,t),window.scroll(0,0)},containerClassName:"article__pagination",pageClassName:"article__page",previousClassName:"previous",nextClassName:"next",activeClassName:"active",disabledClassName:"disabled",ariaLabelBuilder:e=>"Page ".concat(e)})})]})]})})})};var i7=a(2194);let i8=e=>{var t,a,l;let n=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles)?e.params.styles:null,i=tL().publicUrl,{sitecoreContext:s}=(0,tM.z)(),r=null===(a=e.fields)||void 0===a?void 0:a.Icons.map((e,t)=>{var a,l;let n=(null===(a=e.fields.Icon.value)||void 0===a?void 0:a.src)||"";return(0,tS.jsx)("li",{children:(0,tS.jsxs)(ac.r,{field:e.fields.Link,children:[(0,tS.jsx)("span",{className:"sr-only",children:e.name}),s.pageEditing?(0,tS.jsx)(tF.E,{className:"",field:null===(l=e.fields)||void 0===l?void 0:l.Icon}):(0,tS.jsx)(aq.Q,{src:n})]})},t)});return(0,tS.jsx)("section",{className:"social-follow component-frame ".concat(n),children:(0,tS.jsxs)("div",{className:"margin-container",style:{backgroundImage:"url(".concat(i,"/erie-background.png)")},children:[(0,tS.jsx)("div",{className:"content",children:(0,tS.jsx)(tD.H,{field:null===(l=e.fields)||void 0===l?void 0:l.Headline})}),(0,tS.jsx)("ul",{className:"social-follow-icons",children:r})]})})},se=e=>{var t,a,l;let n=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles)?e.params.styles:null,[i,s]=(0,tk.useState)(0),r=e=>{s(e)},o=(e,t)=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),s(t))},c=e.fields.data.datasource.children.results.map((e,t)=>{let a="tab".concat(t),l="tabpanel".concat(t);return(0,tS.jsx)("div",{id:a,className:"tab ".concat(i===t?"active":""," "),role:"tab","aria-selected":i===t?"true":"false","aria-controls":l,onClick:()=>r(t),onKeyDown:e=>o(e,t),tabIndex:0,children:(0,tS.jsx)(am.x,{field:e.Label.jsonValue,tag:"p"})},a)}),d=e.fields.data.datasource.children.results.map((e,t)=>(0,tS.jsx)("option",{value:t,children:e.Label.jsonValue.value},"option".concat(t)));return(0,tS.jsx)("div",{className:"component-frame ".concat(n),children:(0,tS.jsxs)("section",{className:"section-frame tabs",children:[(0,tS.jsx)(tD.H,{field:null===(a=e.fields.data.datasource.Headline)||void 0===a?void 0:a.jsonValue,tag:"h2"}),(0,tS.jsx)("div",{className:"tabs-row",role:"tablist",children:c}),(0,tS.jsxs)("div",{className:"tabs-row-mobile",children:[(0,tS.jsx)(am.x,{field:null===(l=e.fields.data.datasource.MobileDropdownLabel)||void 0===l?void 0:l.jsonValue,tag:"label"}),(0,tS.jsx)("span",{className:"select-frame",children:(0,tS.jsx)("select",{name:"select-dropdown",value:i,onChange:e=>{s(parseInt(e.target.value))},"aria-labelledby":"tab".concat(i),children:d})})]}),(0,tS.jsx)("div",{className:"tab-content",children:(()=>{var t,a,l;if(!e.fields.data.datasource.children.results.at(i))return(0,tS.jsx)(tS.Fragment,{});let n=e.fields.data.datasource.children.results.at(i)||{},s={DesktopImage:null===(t=n.DesktopImage)||void 0===t?void 0:t.jsonValue,TabletImage:null===(a=n.TabletImage)||void 0===a?void 0:a.jsonValue,MobileImage:null===(l=n.MobileImage)||void 0===l?void 0:l.jsonValue,params:n.params,fields:n.fields};return(0,tS.jsxs)("div",{className:"tabs-content-wrapper",role:"tabpanel",id:"tabpanel".concat(i),"aria-labelledby":"tab".concat(i),children:[(0,tS.jsx)("div",{className:"tabs-text",children:(0,tS.jsx)(tD.H,{field:null==n?void 0:n.Text.jsonValue})}),(0,tS.jsx)("div",{className:"tabs-image-wrapper",children:(0,tS.jsx)(av.X,{dataSource:{itemId:n.id},title:"Image",tooltip:"Edit Image",buttons:[{header:"Edit Image fields",icon:"/~/icon/Office/16x16/painting_landscape.png",fields:["DesktopImage","TabletImage","MobileImage","ImageCaption"],tooltip:"Edit Image fields"}],children:(0,tS.jsx)(ay,{...s,CssClass:"tabs-image"})})})]})})()})]})})};var st=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:se})});let sa=e=>{var t;return console.log("ThreeColumnContactCards: ",e),(0,tS.jsx)("section",{className:"contact-cards ".concat(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles),children:(0,tS.jsxs)("div",{className:"inner
1-wrapper",children:[(0,tS.jsx)("h3",{className:"contact-cards-heading",children:"Media, investors, and community"}),(0,tS.jsxs)("div",{className:"cards-wrapper",children:[(0,tS.jsxs)("div",{className:"contact-card",children:[(0,tS.jsx)("h5",{className:"contact-card-title",children:"Media relations"}),(0,tS.jsxs)("div",{className:"contact-card-content",children:[(0,tS.jsx)("p",{className:"contact-card-subheading label-small",children:"Toll-Free"}),(0,tS.jsxs)("p",{className:"contact-card-text",children:[(0,tS.jsx)("span",{children:(0,tS.jsx)("a",{children:"(800) 458-0811"})}),", Opt. 1 Ext. 2150"]}),(0,tS.jsx)("p",{className:"contact-card-subheading label-small",children:"Local"}),(0,tS.jsx)("p",{className:"contact-card-text",children:(0,tS.jsx)("span",{children:(0,tS.jsx)("a",{children:"(814) 870-2150"})})}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary",children:"Contact media relations"})]})]}),(0,tS.jsxs)("div",{className:"contact-card",children:[(0,tS.jsx)("h5",{className:"contact-card-title",children:"Investor relations"}),(0,tS.jsxs)("div",{className:"contact-card-content",children:[(0,tS.jsx)("p",{className:"contact-card-subheading label-small",children:"Toll-Free"}),(0,tS.jsxs)("p",{className:"contact-card-text",children:[(0,tS.jsx)("span",{children:(0,tS.jsx)("a",{children:"(800) 458-0811"})}),", Opt. 1 Ext. 2150"]}),(0,tS.jsx)("p",{className:"contact-card-subheading label-small",children:"Local"}),(0,tS.jsx)("p",{className:"contact-card-text",children:(0,tS.jsx)("span",{children:(0,tS.jsx)("a",{children:"(814) 870-7312"})})})]})]}),(0,tS.jsxs)("div",{className:"contact-card",children:[(0,tS.jsx)("h5",{className:"contact-card-title",children:"Request a charitable donation"}),(0,tS.jsxs)("div",{className:"contact-card-content",children:[(0,tS.jsx)("p",{className:"contact-card-text",children:"For more information about the funding request process, visit the Giving Network page."}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary",children:"Giving network"})]})]})]})]})})};function sl(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:sa})}var sn=a(4660);let si=e=>{var t,a,l,n,i,s,r,o,c,d,u;let[m,v]=(0,tk.useState)(0),h=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.Title)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.Title:"Timeline title ",p=(null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.NavigationText)?null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.NavigationText:"Next:",{sitecoreContext:x}=(0,tM.z)(),g=x.pageEditing?{display:"block"}:{display:"flex"},f=null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.items)||void 0===i?void 0:i.map((e,t)=>{var a;return(0,tS.jsx)(sn.OK,{children:(0,tS.jsx)(am.x,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.ItemName})},t)}),j=null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(r=o.items)||void 0===r?void 0:r.map((e,t)=>{var a;let l=null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.ItemName.value;return(0,tS.jsx)("option",{value:l,selected:m===t,children:l},t)}),b=null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(c=d.items)||void 0===c?void 0:c.map((t,a)=>{var l,n,i,s,r,o,c,d,u,h,g,f;let j=null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(l=n.items)||void 0===l?void 0:l.length,b=a+1,y=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.items[a+1],N=null==y?void 0:null===(o=y.fields)||void 0===o?void 0:null===(r=o.Description)||void 0===r?void 0:null===(s=r.value)||void 0===s?void 0:s.toString(),_=null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.items[0],C=null==_?void 0:null===(h=_.fields)||void 0===h?void 0:null===(u=h.Description)||void 0===u?void 0:null===(d=u.value)||void 0===d?void 0:d.toString(),w=()=>
1{if(document){var e;null===(e=document.scrollingElement)||void 0===e||e.scrollTo({top:100,left:0,behavior:"smooth"})}},A=b!==j?(0,tS.jsxs)("button",{className:"timeline__link-next",onClick:()=>{v(a+1),w()},children:[p," ",N]}):(0,tS.jsxs)("button",{className:"timeline__link-next",onClick:()=>{v(0),w()},children:[p," ",C]}),E="timeline-"+a.toString(),S=!!x.pageEditing;return(0,tS.jsx)(tS.Fragment,{children:(0,tS.jsxs)(sn.x4,{forceRender:S,"aria-hidden":a!=m,"aria-selected":a==m,tabIndex:a==m?void 0:-1,children:[" ",(0,tS.jsxs)("div",{className:"timeline__content",children:[(0,tS.jsxs)("h2",{className:"timeline__title",children:[" ",x.pageEditing?(0,tS.jsxs)(tS.Fragment,{children:["(",(0,tS.jsx)(am.x,{field:null==t?void 0:null===(g=t.fields)||void 0===g?void 0:g.ItemName}),") - "]}):"",(0,tS.jsx)(am.x,{field:null==t?void 0:null===(f=t.fields)||void 0===f?void 0:f.Description})]}),(0,tS.jsx)(aZ.V,{name:E,rendering:e.rendering}),A,(0,tS.jsx)("div",{className:"timeline__line"})]})," "]},a)})});return(0,tS.jsx)(tS.Fragment,{children:(0,tS.jsx)(sn.mQ,{selectedIndex:m,onSelect:e=>v(e),children:(0,tS.jsx)("div",{className:"component-frame ".concat(null==e?void 0:null===(u=e.params)||void 0===u?void 0:u.styles),children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"timeline",style:g,children:[(0,tS.jsxs)("div",{className:"timeline__sidebar",children:[(0,tS.jsx)("h3",{className:"label-small",children:h}),(0,tS.jsx)("div",{className:"timeline__sidebar--list",children:(0,tS.jsx)(sn.td,{children:f})})]}),(0,tS.jsxs)("div",{className:"timeline__dropdown",children:[(0,tS.jsx)("label",{htmlFor:"timelineDropdown",children:"Our Eras"}),(0,tS.jsx)("select",{className:"select",id:"timelineDropdown",name:"timelineDropdown",onChange:t=>{var a;null==e||null===(a=e.fields)||void 0===a||a.items.findIndex((e,a)=>{var l;(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.ItemName.value)===t.target.value&&v(a)})},children:j})]}),b]})})})})})};function ss(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:si})}let sr=e=>{var t,a,l,n,i;return(0,tS.jsxs)("div",{className:"timeline__card ".concat(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles),children:[(0,tS.jsx)("div",{className:"timeline__card--bkg",children:(0,tS.jsxs)("div",{className:"timeline__card--content",children:[(0,tS.jsx)("p",{className:"timeline__card--headline",children:(0,tS.jsx)(am.x,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Year})}),(0,tS.jsx)("h3",{className:"h4 timeline__card--title",children:(0,tS.jsx)(tD.H,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title})}),(0,tS.jsx)("p",{className:"timeline__card--text",children:(0,tS.jsx)(tD.H,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})})]})}),(0,tS.jsx)("div",{className:"timeline__card--img",children:(0,tS.jsx)(tF.E,{className:"image-svg",field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Image,role:"presentation"})})]})};var so=a(9332);let sc=()=>{var e;let{sitecoreContext:t}=(0,tM.z)(),a=(0,ih.xX)(),l=null!==(e=(0,so.useSearchParams)().get("maskId"))&&void 0!==e?e:"",[n,i]=(0,tk.useState)(null),[s,r]=(0,tk.useState)(!0),[o,c]=(0,tk.useState)(!1),[d,u]=(0,tk.useState)(!1),[m,v]=(0,tk.useState)(!1),[h,p]=(0,tk.useState)(!1);(0,tk.useEffect)(()=>{l&&!n&&fetch("/api/unsubscribe?maskId=".concat(encodeURIComponent(l)),{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}}).then(async e=>{if(e.ok)return await e.json();throw e}).then(e=>{"Inactive"==e.status?window.location.href="/AlertsAndPreference/Success":(i(e),c(!1),r(!1))}).catch(()=>{window.location.href="/AlertsAndPreference/LinkExpired"})},[l]);let x=async()=>{let e=a.executeRecaptcha?await a.executeRecaptcha():null;p(!0),v(!1),fetch("/api/unsubscribe?maskId=".concat(encodeURIComponent(l),"&rt=").concat(e||""),{method:"PUT",headers:{Accept:"application/json","Content-Type":"application/json"}}).then(async e=>{if(e.ok)return window.location.href="/AlertsAndPreference/Success",await e.json();throw e}).catch(()=>{v(!0)}).finally(()=>{p(!1)})};return(0,tS.jsx)("section",{className:"section-frame unsubscribe-email sct-primary",children:(0,tS.jsxs)("div",{className:"component-frame text-center",children:[(0,tS.jsxs)("div",{className:"unsubscribe-email__body",children:[(0,tS.jsx)("div",{className:"unsubscribe-email__title",children:t.pageEditing?(0,tS.jsx)("h2",{children:"Unsubscribe from Alerts"}):s?(0,tS.jsx)("h2",{children:"Loading preferences..."}):o?(0,tS.jsx)("h2",{children:"This link has expired"}):d?(0,tS.jsx)("h2",{children:"Success"}):(0,tS.jsx)("h2",{children:"Unsubscribe from Alerts"})}),(0,tS.jsx)("div",{className:"unsubscribe-email__text",children:s?null:o?(0,tS.jsx)("p",{children:"The link you used has expired. Please try using an unsubscribe link from a more recent email."}):d?(0,tS.jsx)("p",{children:"You have successfully been unsubscribed. You can re-subscribe at any time by managing alert preferences in your online account."}):(null==n?void 0:n.communicateTo)?(0,tS.jsxs)("div",{className:"submission_form",children:[(0,tS.jsxs)("div",{className:"description",children:["You can re-subscribe at any time by managing ",(0,tS.jsx)("strong",{children:"alert preferences"})," in your online account settings."]}),(0,tS.jsxs)("div",{className:"text",children:[(0,tS.jsx)("span",{id:"alertemail",className:"email",children:n.communicateTo})," ",(0,tS.jsx)("span",{className:"",children:"will be unsubscribed* from:"})]}),(0,tS.jsxs)("div",{className:"radio-container",children:[(0,tS.jsx)("input",{"aria-labelledby":"lbl_radio_1",type:"radio","aria-label":"claims-alerts",className:"cap_radio",id:"radio_1",value:"True",role:"radio","aria-checked":"true",tabIndex:0,checked:!0,readOnly:!0}),(0,tS.jsx)("label",{id:"lbl_radio_1",className:"btn--radio",children:"Claims alerts"})]})]}):""})]}),!s&&!o&&!!(null==n?void 0:n.communicateTo)&&!d&&(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)("div",{className:"unsubscribe-email__btn-wrapper",children:(0,tS.jsx)("button",{disabled:h,className:"btn btn-primary",onClick:x,children:"Unsubscribe"})}),m&&(0,tS.jsxs)("div",{className:"text error-message",children:[(0,tS.jsx)("div",{children:"An error has occurred while submitting your preferences."}),(0,tS.jsx)("span",{children:"Please try again later."})]}),(0,tS.jsx)("div",{className:"text notice-text",children:"* You may still continue to receive transactional emails from ERIE such as promotional content, paperless delivery, or payment notices."})]})]})})},sd=e=>{var t,a,l,n,i;let s=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles)?e.params.styles:null,{sitecoreContext:r}=(0,tM.z)(),o=(null===(l=e.fields.PrimaryCta)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.href)||r.pageEditing?(0,tS.jsx)(ac.r,{className:"btn btn-primary arrow",field:e.fields.PrimaryCta,"aria-label":e.fields.PrimaryCta.value.text}):null,c=(null===(i=e.fields.SecondaryCta)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.href)||r.pageEditing?(0,tS.jsx)(ac.r,{className:"btn btn-secondary arrow",field:e.fields.SecondaryCta,"aria-label":e.fields.SecondaryCta.value.text}):null;return(0,tS.jsx)("div",{className:"value-prop component-frame ".concat(s),children:(0,tS.jsxs)("div",{className:"wrapper-inner",children:[(0,tS.jsxs)("div",{className:"container-hero",children:[(0,tS.jsx)("figure",{className:"figure-img",children:(0,tS.jsx)(ay,{...e.fields})}),(0,tS.jsxs)("div",{className:"container-title",children:[(0,tS.jsx)("h2",{className:"h2 title",children:(0,tS.jsx)(tD.H,{tag:"span",field:e.fields.Headline})}),(0,tS.jsxs)("div",{className:"wrapper-buttons",children:[o,c]})]})]}),(0,tS.jsxs)("div",{className:"container-text",children:[(0,tS.jsxs)("div",{className:"wrapper-column",children:[(0,tS.jsx)("h3",{className:"column-title",children:(0,tS.jsx)(am.x,{field:e.fields.Prop1Headline})}),(0,tS.jsx)(tD.H,{field:e.fields.Prop1Description})]}),(0,tS.jsxs)("div",{className:"wrapper-column",children:[(0,tS.jsx)("h3",{className:"column-title",children:(0,tS.jsx)(am.x,{field:e.fields.Prop2Headline})}),(0,tS.jsx)(tD.H,{field:e.fields.Prop2Description})]}),(0,tS.jsxs)("div",{className:"wrapper-column",children:[(0,tS.jsx)("h3",{className:"column-title",children:(0,tS.jsx)(am.x,{field:e.fields.Prop3Headline})}),(0,tS.jsx)(tD.H,{field:e.fields.Prop3Description})]})]})]})})};var su=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:sd})});(i=c||(c={}))[i.UNSTARTED=-1]="UNSTARTED",i[i.ENDED=0]="ENDED",i[i.PLAYING=1]="PLAYING",i[i.PAUSED=2]="PAUSED",i[i.BUFFERING=3]="BUFFERING",i[i.VIDEO_CUED=5]="VIDEO_CUED";let sm=tL().publicUrl,sv=e=>{var t,a,l,n,i,s,r,o,d,u,m;let[v,h]=(0,tk.useState)(!1),[p,x]=(0,tk.useState)(!1),[g,f]=(0,tk.useState)(e.f
1ields.VideoUrl.value),[j,b]=(0,tk.useState)(!1),[y,N]=(0,tk.useState)(null),[_,C]=(0,tk.useState)(!1),w=a8(),A=(0,tk.useRef)("youtube-iframe-".concat(Math.random().toString(36).substr(2,9))),E=(0,tk.useRef)(null),S="AD_Preference",k=()=>"true"===lv.Z.get(S),I=e=>{e?lv.Z.set(S,"true",{expires:365}):lv.Z.remove(S)},L=null===(l=e.fields)||void 0===l?void 0:null===(a=l.CoverImageDesktop)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.src,D=(null===(n=e.fields.VideoUrl)||void 0===n?void 0:n.value)!=="",F=e.fields.VideoTranscript&&""!==e.fields.VideoTranscript.value,T=(null===(i=e.fields.DescriptiveAudioVideoUrl)||void 0===i?void 0:i.value)!=="",B=(0,tk.useCallback)(()=>(null==g?void 0:g.length)<=11?g:new URL(g).searchParams.get("v"),[g]);(0,tk.useEffect)(()=>{!w&&k()&&T&&(b(!0),f(e.fields.DescriptiveAudioVideoUrl.value))},[w,T,e.fields.DescriptiveAudioVideoUrl.value]),(0,tk.useEffect)(()=>{w||(()=>{if(window.YT){C(!0);return}let e=document.createElement("script");e.src="https://www.youtube.com/iframe_api",e.onload=()=>{C(!0)};let t=document.getElementsByTagName("script")[0];t&&t.parentNode?t.parentNode.insertBefore(e,t):document.head.appendChild(e)})()},[w]),(0,tk.useEffect)(()=>(_&&(v||!L)&&window.YT&&"function"==typeof window.YT.Player&&new window.YT.Player(A.current,{videoId:B(),events:{onReady:e=>{let t=e.target;N(t),v?t.playVideo():t.pauseVideo()},onStateChange:t=>{if(1===t.data||2===t.data||0===t.data){var a;aE.c.event(aE.a.VIDEO,{video_name:t.target.videoTitle,video_action:c[t.data],video_url:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.VideoUrl})}}}}),()=>{y&&y.pauseVideo()}),[_,v,g,L,y]),(0,tk.useEffect)(()=>{if(!w&&y&&v){let e=B();e&&y.loadVideoById(e)}},[g,y,v,w,B]),(0,tk.useEffect)(()=>{!w&&y&&(p?y.pauseVideo():v&&y.playVideo())},[p,y,v,w]),(0,tk.useEffect)(()=>{p&&E.current&&E.current.focus()},[p]);let P={DesktopImage:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.CoverImageDesktop,TabletImage:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.CoverImageTablet,MobileImage:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.CoverImageMobile,fields:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.fields,params:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:u.params};return(0,tS.jsxs)("div",{className:"video ".concat(null==e?void 0:null===(m=e.params)||void 0===m?void 0:m.styles),children:[(0,tS.jsxs)("div",{className:"video-player",children:[w||!v&&L?(0,tS.jsxs)("button",{className:"video-cover",onClick:()=>{h(!0),!w&&k()&&T?(f(e.fields.DescriptiveAudioVideoUrl.value),b(!0)):(f(e.fields.VideoUrl.value),b(!1))},tabIndex:0,"aria-label":"Play video",children:[(0,tS.jsx)(ay,{...P,CssClass:"video-cover-image"}),(0,tS.jsx)("div",{className:"play-button",children:(0,tS.jsx)("img",{src:"".concat(sm,"/play-video.svg"),alt:"Play Video"})})]}):D||T?(0,tS.jsx)("div",{className:"video-frame",children:(0,tS.jsx)("div",{id:A.current})}):null,p&&(0,tS.jsx)("div",{className:"transcript-modal",ref:E,tabIndex:0,children:(0,tS.jsx)("div",{className:"modal-overlay",children:(0,tS.jsx)("div",{className:"transcript-content",children:(0,tS.jsx)("div",{className:"transcript-text",children:(0,tS.jsx)(tD.H,{field:e.fields.VideoTranscript})})})})})]}),(0,tS.jsxs)("div",{className:"row-container",children:[F&&(0,tS.jsx)("button",{className:"open-transcript",onClick:()=>{x(!p)},tabIndex:0,"aria-expanded":p?"true":"false",children:p?"Hide Transcript":"Show Transcript"}),(0,tS.jsx)("button",{className:"descriptive-audio".concat(j?" selected":""),onClick:()=>{j?(f(e.fields.VideoUrl.value),I(!1)):(f(e.fields.DescriptiveAudioVideoUrl.value),I(!0)),b(!j),h(!0)},"aria-label":"descriptive audio","aria-pressed":j,disabled:!T,"aria-disabled":!T})]})]})};var sh=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:sv})});let sp=tL().publicUrl,sx=e=>(0,tS.jsxs)("section",{className:"agency-contact-form",children:[(0,tS.jsx)("img",{className:"form-image",src:"".concat(sp,"/agency-contact-form-image.jpg"),alt:"Get In Touch"}),(0,tS.jsx)("div",{className:"form-half",children:(0,tS.jsx)(aZ.V,{name:"agency-contact-form",rendering:e.rendering,submitText:"Send Message"})})]});function sg(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:sx})}let sf=tL().publicUrl,sj="/-/media/Project/ErieInsurance/ErieWebsite/CORE-ICONS/SOCIAL-ICONS/AGENCY-DETAIL-ICONS";(s=d||(d={}))[s.Phone=0]="Phone",s[s.PhoneTollFree=1]="PhoneTollFree",s[s.Fax=2]="Fax",s[s.Website=3]="Website";let sb=(e,t)=>
1{let a;return t>=e.ContactInfo.length?a:a=(a=e.ContactInfo[t].Value).length>1?a:void 0},sy=(e,t)=>{let a;if(e)return(a=e.filter(e=>e.includes(t))).length>0?a=a[0]:void 0},sN=e=>{var t,a,l,n,i,s,r,o,c,d,u,m,v,h,p,x,g,f,j,b,y,N,_,C,w,A,E,S,k,I,L,D,F,T,B,P,H,M,q,R,O,V,G,U,W,Z,z,Q,Y,K,J,X,$,ee,et,ea;let el;let en=(0,tk.useContext)(ip.ApiDataContext)||{},ei=!(null==en?void 0:en.agencyDetails),es=null==en?void 0:en.agencyDetails,er=null==en?void 0:null===(a=en.agencyDetails)||void 0===a?void 0:null===(t=a.SocialChannels)||void 0===t?void 0:t.string,[eo,ec]=(0,tk.useState)(""),ed=e=>{ec("List of ".concat(e," items"))},eu={AgencyDescriptionSitecore:null!==(O=null==en?void 0:null===(n=en.agencyDetails)||void 0===n?void 0:null===(l=n.AgencyInfo)||void 0===l?void 0:l.AgencyDescriptionSitecore)&&void 0!==O?O:"",BusinessHoursOperationDescription:null!==(V=null==en?void 0:null===(s=en.agencyDetails)||void 0===s?void 0:null===(i=s.AgencyInfo)||void 0===i?void 0:i.BusinessHoursOperationDescription)&&void 0!==V?V:"",Description:null!==(G=null==en?void 0:null===(o=en.agencyDetails)||void 0===o?void 0:null===(r=o.AgencyInfo)||void 0===r?void 0:r.Description)&&void 0!==G?G:"",FacebookUrl:null!==(U=null==en?void 0:null===(d=en.agencyDetails)||void 0===d?void 0:null===(c=d.AgencyInfo)||void 0===c?void 0:c.FacebookUrl)&&void 0!==U?U:"",GooglePlusUrl:null!==(W=null==en?void 0:null===(m=en.agencyDetails)||void 0===m?void 0:null===(u=m.AgencyInfo)||void 0===u?void 0:u.GooglePlusUrl)&&void 0!==W?W:"",LicensedDate:null!==(Z=null==en?void 0:null===(h=en.agencyDetails)||void 0===h?void 0:null===(v=h.AgencyInfo)||void 0===v?void 0:v.LicensedDate)&&void 0!==Z?Z:"",LineOfBusinessWritten:null!==(z=null==en?void 0:null===(x=en.agencyDetails)||void 0===x?void 0:null===(p=x.AgencyInfo)||void 0===p?void 0:p.LinesOfBusinessWritten)&&void 0!==z?z:"",LinkedInUrl:null!==(Q=null==en?void 0:null===(f=en.agencyDetails)||void 0===f?void 0:null===(g=f.AgencyInfo)||void 0===g?void 0:g.LinkedInUrl)&&void 0!==Q?Q:"",PrincipalAgentBio:null!==(Y=null==en?void 0:null===(b=en.agencyDetails)||void 0===b?void 0:null===(j=b.AgencyInfo)||void 0===j?void 0:j.PrincipalAgentBio)&&void 0!==Y?Y:"",SocialChannelsUrl:null!==(K=null==en?void 0:null===(N=en.agencyDetails)||void 0===N?void 0:null===(y=N.AgencyInfo)||void 0===y?void 0:y.SocialChannelsUrl)&&void 0!==K?K:"",TwitterUrl:null!==(J=null==en?void 0:null===(C=en.agencyDetails)||void 0===C?void 0:null===(_=C.AgencyInfo)||void 0===_?void 0:_.TwitterUrl)&&void 0!==J?J:"",Url:null!==(X=null==en?void 0:null===(A=en.agencyDetails)||void 0===A?void 0:null===(w=A.AgencyInfo)||void 0===w?void 0:w.Url)&&void 0!==X?X:"",YoutubeUrl:null!==($=null==en?void 0:null===(S=en.agencyDetails)||void 0===S?void 0:null===(E=S.AgencyInfo)||void 0===E?void 0:E.YoutubeUrl)&&void 0!==$?$:"",AgencyName:null!==(ee=null==en?void 0:null===(k=en.agencyDetails)||void 0===k?void 0:k.AgencyName)&&void 0!==ee?ee:"Agency"},em={ContactInfo:null!==(et=null==es?void 0:null===(I=es.AgentContact)||void 0===I?void 0:I.ContactInfo)&&void 0!==et?et:[]},ev=sb(em,0),eh=sb(em,1),ep=sb(em,2),ex=sb(em,3),eg=sy(er,"facebook"),ef=sy(er,"twitter"),ej=sy(er,"linkedin"),eb=sy(er,"x"),ey=sy(er,"tiktok"),eN=sy(er,"youtube"),e_=sy(er,"instagram"),eC=ex||eg||ef||ej;(0,tk.useEffect)(()=>{if(!ei){let e=""!==window.location.hash&&"#quote-form"===window.location.hash,t=document.getElementById("contact-form"),a=null==t?void 0:t.getElementsByTagName("select")[0];e&&t&&a&&(t.scrollIntoView({behavior:"smooth",block:"center"}),a.focus())}},[ei]);let ew=[{keyword:"Auto",label:"Auto",description:"Auto, Motorcycle, Antique & Classic Car, RV, Boat Insurance, Off-road",icon:"icon-auto.svg"},{keyword:"Home",label:"Home",description:"Homeowners, Renters, Condo, Mobile Home",icon:"icon-property.svg"},...(null==es?void 0:null===(L=es.Address)||void 0===L?void 0:L.State)!=="NY"?[{keyword:"Life",label:"Life",description:"Life, Medicare Supplement, Retirement",icon:"icon-life.svg"}]:[],{keyword:"Business",label:"Business",description:"Business Auto, Commercial Property, Crime, Theft, & Fraud, Workers Compensation, Key Person Life, Employment Practices Liability",icon:"icon-business.svg"}].filter(e=>null==eu?void 0:eu.LineOfBusinessWritten.toLowerCase().includes(e.ke
1yword.toLowerCase())),eA=(null==es?void 0:es.Image)?(0,tS.jsx)("div",{"aria-label":" Profile Image of ".concat(null==es?void 0:es.FirstName," ").concat(null==es?void 0:es.LastName),role:"img",className:"profile-img",style:{backgroundImage:"url(data:image/png;base64,".concat(null==es?void 0:es.Image,")")}}):(0,tS.jsx)(nW,{className:"profile-img"});return ei?(0,tS.jsx)(nU,{}):(0,tS.jsx)(tS.Fragment,{children:(0,tS.jsx)("section",{className:"agency-details",children:(0,tS.jsxs)("div",{className:"agency-details__wrapper",children:[(0,tS.jsxs)("div",{className:"agency-details__contact",children:[(0,tS.jsx)("h2",{className:"agency-details__heading h4",children:"Contact Information"}),(0,tS.jsxs)("div",{className:"agency-details__contact--wrapper",children:[(0,tS.jsxs)("div",{className:"agency-details__contact--info",children:[(0,tS.jsxs)("div",{className:"row",children:[(0,tS.jsxs)("div",{className:"row__group",children:[(0,tS.jsx)("h3",{className:"label-small",children:"Address"}),(0,tS.jsxs)("a",{href:"https://www.google.com/maps?q=".concat(encodeURIComponent(null==es?void 0:null===(D=es.Address)||void 0===D?void 0:D.Line1),",").concat(encodeURIComponent(null==es?void 0:null===(F=es.Address)||void 0===F?void 0:F.City),",").concat(encodeURIComponent(null==es?void 0:null===(T=es.Address)||void 0===T?void 0:T.State)," ").concat(encodeURIComponent(null==es?void 0:null===(B=es.Address)||void 0===B?void 0:B.Zip)),target:"_blank",rel:"noopener noreferrer",children:[null==es?void 0:null===(P=es.Address)||void 0===P?void 0:P.Line1," ",(0,tS.jsx)("br",{}),null==es?void 0:null===(H=es.Address)||void 0===H?void 0:H.City,", ",null==es?void 0:null===(M=es.Address)||void 0===M?void 0:M.State," ",null==es?void 0:null===(q=es.Address)||void 0===q?void 0:q.Zip]})]}),(0,tS.jsxs)("div",{className:"row__group",children:[(0,tS.jsx)("h3",{className:"label-small",children:"Contact"}),ev?(0,tS.jsxs)("p",{children:["Local: ",(0,tS.jsx)("a",{href:"tel:".concat(ev),children:a7.Y.formatPhoneNumber(ev)})]}):null,eh?(0,tS.jsxs)("p",{children:["Toll-Free: ",(0,tS.jsx)("a",{href:"tel:".concat(eh),children:a7.Y.formatPhoneNumber(eh)})]}):null,ep?(0,tS.jsxs)("p",{children:["Fax: ",(0,tS.jsx)("a",{href:"tel:".concat(ep),children:a7.Y.formatPhoneNumber(ep)})]}):null]})]}),(0,tS.jsxs)("div",{className:"row",children:[(0,tS.jsxs)("div",{className:"row__group",children:[(0,tS.jsx)("h3",{className:"label-small",children:"Office Hours"}),(()=>{let e=null==eu?void 0:eu.BusinessHoursOperationDescription;if(!e||void 0===e)return(0,tS.jsx)(tS.Fragment,{});if(!e.startsWith("{"))return(0,tS.jsx)("p",{children:e});let t=e?JSON.parse(e).HoursOfOperation:[];return t.length>0?(e=>{let t=new Date().toLocaleString("en-US",{weekday:"long"});return e.map(e=>{let{DayName:a,StartTime:l,EndTime:n}=e;return(0,tS.jsx)("div",{children:(0,tS.jsx)("strong",{style:{fontWeight:a===t?"bold":"normal"},children:"".concat(a,": ").concat(null!==l&&null!==n?l+" - "+n:"Closed")})},a)})})(t):(0,tS.jsx)("p",{children:"No Hours Available"})})()]}),(0,tS.jsx)("div",{className:"row__group",children:eC?(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)("h3",{className:"label-small",children:"Connect"}),ex&&(0,tS.jsx)("a",{href:ex,children:"Agency Website"}),(0,tS.jsxs)("ul",{className:"social-follow",children:[eg&&(0,tS.jsx)("li",{children:(0,tS.jsxs)("a",{href:eg,children:[(0,tS.jsxs)("span",{className:"sr-only",children:[eu.AgencyName," on Facebook"]}),(0,tS.jsx)("img",{src:encodeURI("".concat(sj,"/facebook.svg"))})]})}),ej&&(0,tS.jsx)("li",{children:(0,tS.jsxs)("a",{href:ej,children:[(0,tS.jsxs)("span",{className:"sr-only",children:[eu.AgencyName," on LinkedIn"]}),(0,tS.jsx)("img",{src:encodeURI("".concat(sj,"/linkedin.svg"))})]})}),ef&&(0,tS.jsx)("li",{children:(0,tS.jsxs)("a",{href:ef,children:[(0,tS.jsxs)("span",{className:"sr-only",children:[eu.AgencyName," on X"]}),(0,tS.jsx)("img",{src:encodeURI("".concat(sj,"/x.svg"))})]})}),eb&&(0,tS.jsx)("li",{children:(0,tS.jsxs)("a",{href:eb,children:[(0,tS.jsxs)("span",{className:"sr-only",children:[eu.AgencyName," on X"]}),(0,tS.jsx)("img",{src:encodeURI("".concat(sj,"/x.svg"))})]})}),ey&&(0,tS.jsx)("li",{children:(0,tS.jsxs)("a",{href:ey,children:[(0,tS.jsxs)("span",{className:"sr-only",children:[eu.AgencyName," on TikTok"]}),(0,tS.jsx)("img",{src:encodeURI("".concat(sj,"/tiktok.svg"))})]})}),e_&&(0,tS.jsx)("li",{children:(0,tS.jsxs)("a",{href:e_,children:[(0,tS.jsxs)("span",{className:"sr-only",children:[eu.AgencyName," on Instagram"]}),(0,tS.jsx)("img",{src:encodeURI("".concat(sj,"/instagram.svg"))})]})}),eN&&(0,tS.jsx)("li",{children:(0,tS.jsxs)("a",{href:eN,children:[(0,tS.jsxs)("span",{className:"sr-only",children:[eu.AgencyName," on YouTube"]}),(0,tS.jsx)("img",{src:encodeURI("".concat(sj,"/youtube.svg"))})]})})]})]}):null})]})]}),(0,tS.jsx)(aZ.V,{name:"agency-detail-quote",rendering:e.rendering})]})]}
1),(0,tS.jsxs)("div",{className:"agency-details__agency",children:[(0,tS.jsx)("h2",{className:"agency-details__heading h4",children:"Our Agency"}),(0,tS.jsxs)("div",{className:"agency-details__agency--wrapper",children:[(0,tS.jsxs)("div",{className:"agency-details__card",children:[(0,tS.jsx)("div",{className:"profile-img-wrapper",children:eA}),eu&&(0,tS.jsxs)("div",{className:"profile-text",children:[(0,tS.jsx)("p",{className:"label-small",children:null==es?void 0:es.AgentTitle}),(0,tS.jsxs)("h3",{className:"agency-details__name h4",children:[null==es?void 0:es.FirstName," ",null==es?void 0:es.LastName]}),(0,tS.jsx)("hr",{className:"agency-details__line"}),(0,tS.jsx)("div",{className:"agency-details__details",dangerouslySetInnerHTML:{__html:eu.PrincipalAgentBio}})]})]}),(0,tS.jsxs)("div",{className:"agency-details__content",children:[(0,tS.jsxs)("div",{className:"agency-details__content--row",children:[(0,tS.jsx)("h3",{className:"heading h5",children:"About us"}),(0,tS.jsx)("div",{className:"content",children:eu&&(0,tS.jsx)("p",{className:"content__text",dangerouslySetInnerHTML:{__html:eu.AgencyDescriptionSitecore}})})]}),(0,tS.jsxs)("div",{className:"agency-details__content--row",children:[(0,tS.jsx)("h3",{className:"heading h5",onMouseEnter:()=>ed(ew.length),onMouseLeave:()=>{ec("")},children:" What we offer "}),(0,tS.jsx)("div",{className:"sr-only","aria-live":"assertive","aria-atomic":"true",children:eo}),(0,tS.jsx)("ul",{className:"content",children:ew.map((e,t)=>(0,tS.jsxs)("li",{className:"content__row",children:[(0,tS.jsx)("div",{className:"card-img",children:(0,tS.jsx)("img",{src:"".concat(sf,"/icons/").concat(e.icon),alt:""})}),(0,tS.jsxs)("div",{children:[(0,tS.jsx)("h4",{className:"label-small",children:e.label}),(0,tS.jsx)("p",{children:e.description})]})]},t))})]}),(null==es?void 0:es.Languages)&&(null==es?void 0:es.Languages)!==""?(ea=null==es?void 0:null===(R=es.Languages)||void 0===R?void 0:R.string,el=["English"],Array.isArray(ea)?el=el.concat(ea):el.push(ea),(0,tS.jsxs)("div",{className:"agency-details__content--row",children:[(0,tS.jsx)("h3",{className:"heading h5",children:"Languages spoken"}),(0,tS.jsx)("div",{className:"content",children:(0,tS.jsx)("p",{className:"content__text",children:el.join(", ")})})]})):(0,tS.jsxs)("div",{className:"agency-details__content--row",children:[(0,tS.jsx)("h3",{className:"heading h5",children:"Languages spoken"}),(0,tS.jsx)("div",{className:"content",children:(0,tS.jsx)("p",{className:"content__text",children:"English"})})]})]})]})]})]})})})},s_=tL().publicUrl,sC=()=>{var e,t,a,l,n;let[i,s]=(0,tk.useState)(!1),r=(0,tk.useContext)(ip.ApiDataContext)||{},o=!(null==r?void 0:r.agencyDetails);return(0,tk.useEffect)(()=>{var e;let t=a6._K.get(a6.mJ.savedAgent);s(t&&(null==t?void 0:t.AgencyAccountNumber)===(null==r?void 0:null===(e=r.agencyDetails)||void 0===e?void 0:e.AgencyAccountNumber))},[null==r?void 0:r.agencyDetails]),(0,tS.jsx)("section",{className:"agency-detail-hero sct-primary",role:"presentation",style:{backgroundImage:"url(".concat(s_,"/erie-background.png)")},children:o?(0,tS.jsx)(nU,{}):(0,tS.jsxs)("div",{children:[(0,tS.jsx)("h1",{className:"title h2",children:null==r?void 0:null===(e=r.agencyDetails)||void 0===e?void 0:e.AgencyName}),(0,tS.jsxs)("div",{className:"subheading",children:[(0,tS.jsx)("p",{className:"divider",children:"Auto, Home, Life and Business Insurance"}),(0,tS.jsxs)("p",{children:[" ",null==r?void 0:null===(a=r.agencyDetails)||void 0===a?void 0:null===(t=a.Address)||void 0===t?void 0:t.City,", ",null==r?void 0:null===(n=r.agencyDetails)||void 0===n?void 0:null===(l=n.Address)||void 0===l?void 0:l.State]})]}),(0,tS.jsxs)("div",{className:"wrapper-buttons",children:[(0,tS.jsx)("p",{children:(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow",onClick:e=>{null==e||e.preventDefault();let t=document.getElementById("contact-form"),a=null==t?void 0:t.getElementsByTagName("select")[0];t&&a&&(t.scrollIntoView({behavior:"smooth",block:"center"}),a.focus())},role:"button",children:"Get a quote"})}),(0,tS.jsx)("p",{children:(0,tS.jsx)("button",{className:i?"btn btn-secondary checkmark":"btn btn-secondary",onClick:()=>
1{if(!i&&((async()=>{if(!(await (0,tq.o)().catch(()=>tq.F)).accountAuth){var e,t,a;a6._K.set(a6.mJ.savedAgent,null==r?void 0:r.agencyDetails),lv.Z.set("eig_AssociatedAgency",null==r?void 0:null===(e=r.agencyDetails)||void 0===e?void 0:e.AgencyAccountNumber),aE.c.event(aE.a.AGENCY_SAVED,{agency_id:null==r?void 0:null===(t=r.agencyDetails)||void 0===t?void 0:t.AgencyAccountNumber,agency_name:null==r?void 0:null===(a=r.agencyDetails)||void 0===a?void 0:a.AgencyName})}})(),s(!i),"undefined"!=typeof document)){let e=document.querySelectorAll("#header a.find-agency, #header a.mobile-find-agency");for(let t=0;t<e.length;t++){let a=e[t];a.innerHTML="My Agency",a.setAttribute("href",a7.Y.agencyDetailsUrl(null==r?void 0:r.agencyDetails))}}},role:"button",disabled:!!i,"aria-live":"polite",children:i?"My agency":"Save as my agency"})})]})]})})};var sw=a(7054);function sA(e){try{return JSON.parse(e)}catch(e){return[]}}let sE=tL().publicUrl,sS=["marker"],sk={distance:"",distanceLabel:"",language:"",languageLabel:""},sI=e=>{var t;let a=null===(t=e.Languages)||void 0===t?void 0:t.string;return a?(Array.isArray(a)?a:[a]).map(e=>null==e?void 0:e.toString().trim()).filter(e=>!!e):[]},sL=(e,t,a,l)=>3958.8*Math.acos(Math.min(Math.sin(Math.PI/180*e)*Math.sin(Math.PI/180*a)+Math.cos(Math.PI/180*e)*Math.cos(Math.PI/180*a)*Math.cos(Math.PI/180*(l-t)),1)),sD=e=>{let{agentInfo:t,isVisible:a,coordinates:l}=e,n=(0,tk.useRef)(null),i=(0,tk.useRef)([]),[s,r]=(0,tk.useState)(!1),[o,c]=(0,tk.useState)(null),{isLoaded:d}=(0,sw.Ji)({id:"erie-google-maps-script",googleMapsApiKey:tL().googleMapsApiKey,libraries:sS}),u=(0,tk.useMemo)(()=>t.map(e=>({lat:parseFloat(e.Address.GeoCode.Latitude),lng:parseFloat(e.Address.GeoCode.Longitude),title:"".concat(e.FirstName," ").concat(e.LastName),agency:e.AgencyName})).filter(e=>Number.isFinite(e.lat)&&Number.isFinite(e.lng)),[t]);return((0,tk.useEffect)(()=>{var e,t;if(n.current&&s&&(null===(t=window.google)||void 0===t?void 0:null===(e=t.maps)||void 0===e?void 0:e.Marker))return i.current.forEach(e=>e.setMap(null)),i.current=[],u.forEach(e=>{let t=new google.maps.Marker({map:n.current,position:{lat:e.lat,lng:e.lng},title:e.title,icon:"".concat(sE,"/map-pin.svg")});t.addListener("click",()=>c(e)),i.current.push(t)}),()=>{i.current.forEach(e=>e.setMap(null)),i.current=[]}},[s,u]),(0,tk.useEffect)(()=>{o&&(u.some(e=>e.agency===o.agency&&e.lat===o.lat&&e.lng===o.lng)||c(null))},[o,u]),(0,tk.useEffect)(()=>{var e,t;a&&n.current&&s&&(null===(t=window.google)||void 0===t?void 0:null===(e=t.maps)||void 0===e?void 0:e.event)&&window.requestAnimationFrame(()=>{n.current&&(window.google.maps.event.trigger(n.current,"resize"),n.current.setCenter(l),n.current.setZoom(10))})},[a,s,l]),d)?(0,tS.jsx)(sw.b6,{onLoad:e=>{n.current=e,r(!0),e.setCenter(l),e.setZoom(10)},onUnmount:()=>{i.current.forEach(e=>e.setMap(null)),i.current=[],n.current=null,r(!1)},mapContainerClassName:"agency-listing__results-content-map",zoom:10,center:l,options:{clickableIcons:!1,mapId:"ef7cce3f74e88fa5"},children:o&&(0,tS.jsx)(sw.nx,{position:{lat:o.lat,lng:o.lng},onCloseClick:()=>c(null),children:(0,tS.jsxs)("div",{children:[(0,tS.jsx)("h3",{className:"h6",children:o.title}),(0,tS.jsx)("p",{children:o.agency})]})})}):(0,tS.jsx)("div",{className:"agency-listing__results-loader",children:(0,tS.jsx)(nU,{})})},sF=()=>{let[e,t]=(0,tk.useState)(""),[a,l]=(0,tk.useState)(!1),[n,i]=(0,tk.useState)(!1),[s,r]=(0,tk.useState)(!0),[o,c]=(0,tk.useState)({}),[d,u]=(0,tk.useState)({lat:42.129223,lng:-80.08506}),[m,v]=(0,tk.useState)([]),[h,p]=(0,tk.useState)(!1),[x,g]=(0,tk.useState)(""),[f,j]=(0,tk.useState)(!1),[b,y]=(0,tk.useState)(""),[N,_]=(0,tk.useState)({searchTerm:""}),[C,w]=(0,tk.useState)(!1),A=(0,tk.useRef)(null),[E,S]=(0,tk.useState)({distance:"",distanceLabel:"",language:"",languageLabel:""}),[k,I]=(0,tk.useState)({distance:"",distanceLabel:"",language:"",languageLabel:""}),[L,D]=(0,tk.useState)(b),F=e=>{if(!(null==e?void 0:e.startsWith("{")))return(0,tS.jsx)("p",{children:"Hours Not Available"});let t=e?sA(e).HoursOfOperation:[];try{if(t.length>0)return(e=>
1{let t=new Date().toLocaleString("en-US",{weekday:"long"});return e.map(e=>{let{DayName:a,StartTime:l,EndTime:n}=e,i="Closed"===l||null===n;return(0,tS.jsx)("div",{children:(0,tS.jsx)("strong",{style:{fontWeight:a===t?"bold":"normal"},children:"".concat(a,": ").concat(i?"Closed":"".concat(l," - ").concat(n))})},a)})})(t);return(0,tS.jsx)("p",{children:"Hours Not Available"})}catch(e){return(0,tS.jsx)("p",{children:"Hours Not Available"})}},T=e=>{if(!(null==e?void 0:e.startsWith("{")))return(0,tS.jsx)("p",{children:e});let t=e?sA(e).HoursOfOperation:[];try{if(t.length>0)return(e=>{let t=new Date().toLocaleString("en-US",{weekday:"short"});return e.map(e=>{let{DayName:a,StartTime:l,EndTime:n}=e;switch(a){case"Sunday":a="Sun";break;case"Monday":a="Mon";break;case"Tuesday":a="Tue";break;case"Wednesday":a="Wed";break;case"Thursday":a="Thu";break;case"Friday":a="Fri";break;case"Saturday":a="Sat"}let i="Closed"===l||null===n;return(0,tS.jsx)("div",{children:(0,tS.jsx)("strong",{style:{fontWeight:a===t?"bold":"normal"},children:"".concat(a,": ").concat(i?"Closed":"".concat(l," - ").concat(n))})},a)})})(t);return(0,tS.jsx)("p",{children:"Hours Not Available"})}catch(e){return(0,tS.jsx)("p",{children:"Hours Not Available"})}},B=e=>{c(t=>({...t,[e]:!t[e]}))};(0,tk.useEffect)(()=>{a&&A.current&&A.current.focus()},[a]);let P=()=>{i(!n)},H=e=>{e.preventDefault(),w(!1),t(e.target.value)},M=async e=>{var t,a,l,n,i;let s="/api/agentlocator?";void 0!==e.Line1&&(s+="line1=".concat(encodeURIComponent(e.Line1))),void 0!==e.Line2&&(s+=("/api/agentlocator?"!==s?"&":"")+"line2=".concat(encodeURIComponent(e.Line2))),void 0!==e.Zipcode&&(s+=("/api/agentlocator?"!==s?"&":"")+"zipcode=".concat(encodeURIComponent(e.Zipcode))),(null===(t=e.GeometryResults)||void 0===t?void 0:t.geometry.location.lat)!==void 0&&(s+=("/api/agentlocator?"!==s?"&":"")+"latitude=".concat(encodeURIComponent(null===(l=e.GeometryResults)||void 0===l?void 0:l.geometry.location.lat.toString()))),(null===(a=e.GeometryResults)||void 0===a?void 0:a.geometry.location.lng)!==void 0&&(s+=("/api/agentlocator?"!==s?"&":"")+"longitude=".concat(encodeURIComponent(null===(n=e.GeometryResults)||void 0===n?void 0:n.geometry.location.lng.toString())));try{let e=await fetch(s);if(!e.ok)throw Error("Failed to fetch agency details");let t=await e.json();v(null===(i=t.AgentsByLocationResponse.GetAgentsByLocationWithMaxResultsResult)||void 0===i?void 0:i._x003C_AgentInformation_x003E_k__BackingField.AgentInformation)}catch(e){console.error(e)}finally{}},q=tk.useCallback(async function(t){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=a?t:t||e,n={searchTerm:""};if(""===l&&(n.searchTerm="Address, City, State, or ZIP is required"),_(n),n.searchTerm)return;j(!0);let i="/api/geodecode?address=".concat(encodeURIComponent(null!=l?l:""));try{let e=await fetch(i),t=await e.json();if(""!==t.Line1||""!==t.City||""!==t.State||""!==t.Zipcode){var s,r;let e=null===(s=t.GeometryResults)||void 0===s?void 0:s.geometry.location.lat,a=null===(r=t.GeometryResults)||void 0===r?void 0:r.geometry.location.lng;u({lat:e,lng:a}),await M(t),g(null!=l?l:""),p(!0),window.scroll(0,0)}else w(!0)}catch(e){console.error("Error fetching geocode",e),alert("Error fetching geocode")}finally{j(!1),aE.c.event(aE.a.FIND_AN_AGENT,{search_location:l,agency_name:b,distance:E.distance,language:E.language})}},[b,e,E.distance,E.language]),R=async e=>{e.preventDefault(),q(null),i(!1)};(0,tk.useEffect)(()=>{let a=new URLSearchParams(document.location.search).get("q");a&&!e&&a!==e&&(t(a),q(a))},[q,e]);let O=(0,tk.useMemo)(()=>null==m?void 0:m.filter(e=>{let t=sI(e),a=E.language.toLowerCase(),l=t.map(e=>null==e?void 0:e.toLowerCase()),n=""===a||l.includes(a),i=b.toLowerCase(),s=Number(e.Address.GeoCode.Latitude),r=Number(e.Address.GeoCode.Longitude),o=sL(d.lat,d.lng,s,r),c=e.AgencyName.toLowerCase().includes(i)||e.FirstName.toLowerCase().includes(i)||e.LastName.toLowerCase().includes(i),u=Number(E.distance),m=!E.distance||o<=u;return n&&c&&m}),[m,b,d,E.distance,E.language]),V=(0,tk.useMemo)(()=>{let e=n?k.distance:E.distance,t=(n?L:b).toLowerCase(),a=Number(e);return null==m?void 0:m.filter(l=>{let n=Number(l.Address.GeoCode.Latitude),i=Number(l.Address.GeoCode.Longitude),s=sL(d.lat,d.lng,n,i);return(l.AgencyName.toLowerCase().includes(t)||l.FirstName.toLowerCase().includes(t)||l.LastName.toLowerCase().includes(t))&&(!e||s<=a)})},[m,b,d,n,E.distance,L,k.distance]),G=(0,tk.useMemo)(()=>{let e=new Map;
1return null==V||V.forEach(t=>{sI(t).forEach(t=>{let a=t.toLowerCase();"english"!==a&&(e.has(a)||e.set(a,t))})}),Array.from(e.entries()).sort((e,t)=>{let[,a]=e,[,l]=t;return a.localeCompare(l)}).map(e=>{let[t,a]=e;return{value:t,label:a}})},[V]),U=(0,tk.useMemo)(()=>{let e=k.language;return!e||"english"===e||G.some(t=>t.value===e)?G:[{value:e,label:k.languageLabel||e},...G]},[G,k.language,k.languageLabel]),W=m.length>0,Z=!!E.language||!!E.distance||!!b,z=W&&Z&&0===O.length,Q=z?"No agents match your selected filters. Clear or change your filters to see more agents.":"No agents found in this area.",Y=(0,tk.useMemo)(()=>(0,tS.jsx)(sD,{agentInfo:O,isVisible:s,coordinates:d}),[O,s,d]),K=(e,t)=>{var a,l,n,i,s,r;let o=e.target.value,c=null===(l=e.target)||void 0===l?void 0:null===(a=l.options)||void 0===a?void 0:a.selectedIndex,d=c>=0&&null!==(r=null===(s=e.target)||void 0===s?void 0:null===(i=s.options)||void 0===i?void 0:null===(n=i.item(c))||void 0===n?void 0:n.label)&&void 0!==r?r:o;"distance"===t||"language"===t?I(e=>({...e,[t]:o,["".concat(t,"Label")]:d})):"agentName"===t&&D(o)},J=()=>{S(k),y(L),aE.c.event(aE.a.FIND_AN_AGENT,{search_location:e,agency_name:L,distance:k.distance,language:k.language})},X=e=>{S(t=>({...t,[e]:""})),I(t=>({...t,[e]:"",["".concat(e,"Label")]:""}))},$=(e,t)=>{var a,l,n,i,s;let{status:r,closingTime:c}=a7.Y.getOpenStatus(null==e?void 0:null===(a=e.AgencyInfo)||void 0===a?void 0:a.BusinessHoursOperationDescription),u=null===(l=e.Languages)||void 0===l?void 0:l.string,m=Array.isArray(u)?null==u?void 0:u.join(", "):u||"",v=e.Image?(0,tS.jsx)("div",{style:{backgroundImage:"url(data:image/png;base64,".concat(e.Image,")")}}):(0,tS.jsx)(nW,{}),{width:h}=function(){let{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}(),p=Number(e.Address.GeoCode.Latitude),x=Number(e.Address.GeoCode.Longitude),g=sL(d.lat,d.lng,p,x).toFixed(2);return(0,tS.jsxs)("div",{className:"agency-listing__results-card",children:[(0,tS.jsx)("div",{className:"agency-listing__results-card-image",children:v}),(0,tS.jsxs)("div",{className:"agency-listing__results-card-details",children:[(0,tS.jsxs)("div",{className:"agency-listing__results-card-details-contact",children:[(0,tS.jsxs)("h2",{className:"h6",id:"agency-name-".concat(e.AgencyName.replace(/\s+/g,"-")),children:[" ",e.AgencyName]}),(0,tS.jsxs)("div",{className:"agency-listing__results-card-locations",children:[(0,tS.jsxs)("p",{className:"agency-listing__results-card-location",children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(sE,"/location-blue.svg"),alt:"Address"}),e.Address.Line1," ",e.Address.City,", ",e.Address.State," ",e.Address.Zip]}),(0,tS.jsxs)("p",{className:"agency-listing__results-card-distance",children:[g," miles"]})]}),(0,tS.jsxs)("div",{className:"agency-listing__results-card-wrapper",children:[null===(n=e.AgentContact)||void 0===n?void 0:n.ContactInfo.map(e=>"Phone"===e.Type?(0,tS.jsxs)("a",{className:"agency-listing__results-card-phone",href:"tel:".concat(e.Value),children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(sE,"/phone-blue.svg"),alt:"Phone Number"}),a7.Y.formatPhoneNumber(e.Value)]},e.Value):null),(0,tS.jsxs)("p",{className:"agency-listing__results-card-language",children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(sE,"/globe-blue.svg"),alt:"Languages Spoken"}),(null==m?void 0:m.length)>0?"English, "+m:"English"]}),(0,tS.jsxs)("button",{style:{textAlign:"left"},className:"agency-listing__results-card-time",onClick:()=>B(t),"aria-expanded":o[t]?"true":"false",children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(sE,"/icon-time.svg"),alt:"Bu
1siness Hours"}),(0,tS.jsxs)("span",{children:[(0,tS.jsx)("b",{children:r}),"Open Now"===r&&h<400?(0,tS.jsx)("br",{}):"Open Now"===r&&h>=400?" / ":"","Open Now"===r?" Closes ".concat(c):""]})]}),o[t]&&(0,tS.jsx)("div",{children:h<400?T(null==e?void 0:null===(i=e.AgencyInfo)||void 0===i?void 0:i.BusinessHoursOperationDescription):F(null==e?void 0:null===(s=e.AgencyInfo)||void 0===s?void 0:s.BusinessHoursOperationDescription)})]})]}),(0,tS.jsxs)("div",{className:"agency-listing__results-card-buttons",children:[e&&(0,tS.jsx)("a",{href:a7.Y.agencyDetailsQuoteUrl(e),className:"btn btn-primary small","aria-label":"Get a quote for ".concat(e.AgencyName),children:" Get a Quote"}),e&&(0,tS.jsx)("a",{href:a7.Y.agencyDetailsUrl(e),className:"btn btn-secondary small","aria-label":"".concat(e.AgencyName," agency Details"),children:" Agency Details"})]})]})]},t)};return(0,tS.jsx)("div",{children:(0,tS.jsxs)("div",{className:"component-frame",children:[(0,tS.jsxs)("div",{"aria-live":"polite",className:"sr-only",children:[C&&(0,tS.jsx)("p",{children:"No results found. We couldn't find an ERIE agent matching the information you provided. Please try again."}),h&&(O.length>0?"".concat(O.length," agents found"):Q)]}),!h&&(0,tS.jsx)("div",{className:"agency-listing",children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsxs)("div",{className:"agency-listing__title",children:[(0,tS.jsxs)("h1",{className:"h2 font-light",children:[(0,tS.jsx)("span",{className:"visual-impact",children:"Find an Erie Agent"})," near you"]}),(0,tS.jsx)("p",{children:"You can count on our local, independent agents to help you make good decisions about your insurance protection."})]}),(0,tS.jsxs)("form",{onSubmit:R,children:[(0,tS.jsxs)("div",{className:"agency-listing__search",children:[(0,tS.jsx)("input",{type:"text",id:"search-listing",placeholder:" ",value:e,onChange:H,className:N.searchTerm?"error-input":"","aria-describedby":"search-error"}),(0,tS.jsx)("label",{htmlFor:"search-listing",children:"Address, City, State, or ZIP"}),N.searchTerm&&(0,tS.jsxs)("div",{className:"error-message","aria-live":"polite",role:"alert",id:"search-error",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(sE,"/error-icon-red.png"),alt:"Error Icon"})}),(0,tS.jsx)("p",{className:"error-label",children:N.searchTerm})]})]}),a&&(0,tS.jsxs)("div",{className:"agency-listing__search-advanced",children:[(0,tS.jsxs)("div",{className:"agency-listing__search-advanced-input",children:[(0,tS.jsx)("input",{type:"text",id:"search-agent",ref:A,placeholder:" ",value:L,onChange:e=>K(e,"agentName")}),(0,tS.jsx)("label",{htmlFor:"search-agent",children:"Agency or Agent Name (Optional)"})]}),(0,tS.jsxs)("div",{className:"agency-listing__search-advanced-label",children:[(0,tS.jsx)("label",{htmlFor:"distance",children:"Select Distance"}),(0,tS.jsxs)("select",{className:"select",id:"distance",name:"distance",onChange:e=>K(e,"distance"),value:k.distance,children:[(0,tS.jsx)("option",{value:"",children:"Select Distance"}),(0,tS.jsx)("option",{value:"5",children:"5 mi"}),(0,tS.jsx)("option",{value:"10",children:"10 mi"}),(0,tS.jsx)("option",{value:"20",children:"20 mi"}),(0,tS.jsx)("option",{value:"50",children:"50 mi"})]})]})]}),(0,tS.jsxs)("div",{className:"agency-listing__search-buttons",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow",type:"submit",onClick:J,children:"Search"}),(0,tS.jsxs)("button",{className:"agency-listing__search-advanced-button",type:"button",onClick:()=>{l(e=>!e)},"aria-expanded":a?"true":"false",children:[(0,tS.jsx)("p",{children:"Advanced search"}),(0,tS.jsx)("img",{src:"".concat(sE).concat(a?"/icon-chevron-down-blue.svg":"/icon-chevron-up-blue.svg"),alt:a?"collapse":"expand"})]})]})]})]})}),f?(0,tS.jsx)("div",{className:"agency-listing__results-loader",children:(0,tS.jsx)(nU,{})}):"",C&&(0,tS.jsxs)("div",{className:"error-noResults","aria-live":"polite",role:"alert",children:[(0,tS.jsx)("p",{className:"error-noResults__title",children:"No results found"}),(0,tS.jsx)("p",{className:"error-noResults__text",children:"We couldn't find an ERIE agent matching the information you provided. Please try again."})]}),h&&(0,tS.jsxs)("div",{className:"agency-listing__results",children:[O.length>0?(0,tS.jsxs)("h1",{className:"h4","aria-live":"polite",role:"status",id:"srOnlyDescription",children:[(0,tS.jsxs)("b",{children:["We found ",O.length," agents "]}),"near you"]}):(0,tS.jsx)("h1",{id:"srOnlyDescription",children:z?"No agents match your filters":"No agents found"}),(0,tS.jsx)("div",{role:"status","aria-live":"polite",className:"sr-only","aria-describedby":"srOnlyDescription",children:O.length>0?"".concat(O.length," agents found"):Q}),(0,tS.jsxs)("div",{className:"agency-listing__results-bar",children:[(0,tS.jsxs)("div",{className:"agency-listing__results-bar-chips",children:[(()=>{let e=[];return E.distance&&e.push((0,tS.jsx)("div",{className:"agency-listing__results-bar-chip",onClick:()=>X("distance"),children:E.distanceLabel},"distance-chip")),E.language&&e.push((0,tS.jsx)("div",{className:"agency-listing__results-bar-chip",onClick:()=>X("language"),children:E.languageLabel},"language-chip")),e})(),Z&&(0,tS.jsx)("div",{className:"agency-listing__results-bar-clear",onClick:()=>{I(sk),D(""),S(sk),y("")},children:"Clear"})]}),(0,tS.jsxs)("div",{className:"agency-listing__results-bar-buttons",children:[(0,tS.jsx)("button",{className:"agency-listing__results-bar-map",onClick:()=>{r(!s)},"aria-expanded":s?"true":"false",children:s?"Hide map":"Show map"}),(0,tS.jsx)("button",{className:"agency-listing__results-bar-filter",onClick:P,children:"filter"})]})]})]}),n&&(0,tS.jsxs)("div",{className:"agency-listing__results-filters",children:[(0,tS.jsxs)("div",{className:"agency-listing__results-filters-wrapper",children:[(0,tS.jsx)("div",{className:"label-small agency-listing__results-filters-title",children:"Filters"}),(0,tS.jsxs)("form",{onSubmit:t=>{t.preventDefault(),J(),i(!1),e.trim()!==x.trim()&&q(e,!0)},children:[(0,tS.jsxs)("div",{className:"agency-listing__filters-form",children:[(0,tS.jsxs)("div",{className:"agency-listing__filters-form-input-1",children:[(0,tS.jsx)("label",{htmlFor:"address",children:"Address, City, State, or ZIP"}),(0,tS.jsx)("input",{type:"text",placeholder:"Address, City, State, or ZIP",value:e,onCh
1ange:H})]}),(0,tS.jsxs)("div",{className:"agency-listing__filters-form-input-2",children:[(0,tS.jsx)("label",{htmlFor:"address",children:"Agency or Agent Name (Optional)"}),(0,tS.jsx)("input",{type:"text",placeholder:"Agency or Agent Name (Optional)",value:L,onChange:e=>K(e,"agentName")})]}),(0,tS.jsxs)("div",{className:"agency-listing__filters-form-select-1",children:[(0,tS.jsx)("label",{htmlFor:"distance-filter",children:"Select Distance"}),(0,tS.jsxs)("select",{className:"select",id:"distance-filter",name:"distance",onChange:e=>K(e,"distance"),value:k.distance,children:[(0,tS.jsx)("option",{value:"",children:"Select Distance"}),(0,tS.jsx)("option",{value:"5",children:"5 mi"}),(0,tS.jsx)("option",{value:"10",children:"10 mi"}),(0,tS.jsx)("option",{value:"20",children:"20 mi"}),(0,tS.jsx)("option",{value:"50",children:"50 mi"})]})]}),(0,tS.jsxs)("div",{className:"agency-listing__filters-form-select-2",children:[(0,tS.jsx)("label",{htmlFor:"language-filter",children:"Select language if other than English"}),(0,tS.jsxs)("select",{className:"select",id:"language-filter",name:"language",onChange:e=>K(e,"language"),value:k.language,children:[(0,tS.jsx)("option",{value:"",children:"Select a language"}),U.map(e=>(0,tS.jsx)("option",{value:e.value,label:e.label,children:e.label},e.value))]})]})]}),(0,tS.jsxs)("div",{className:"agency-listing__filters-form-buttons",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow",type:"submit",children:"Apply"}),(0,tS.jsx)("button",{className:"agency-listing__results-bar-buttons-close btn btn-secondary",type:"button",onClick:P,children:"Cancel"})]})]})]}),(0,tS.jsx)("button",{className:"agency-listing__results-bar-close",onClick:P,children:(0,tS.jsx)("img",{src:"".concat(sE,"/close-large.svg"),alt:"close"})})]}),h&&(0,tS.jsxs)("div",{className:"agency-listing__results-content",children:[(0,tS.jsx)("div",{className:"agency-listing__results-content-map-wrapper ".concat(s?"":"agency-listing__results-content-map-wrapper-hidden"),"aria-hidden":!s,children:Y}),(0,tS.jsx)("div",{className:"agency-listing__results-wrapper",children:f?(0,tS.jsx)("div",{className:"agency-listing__results-loader",children:(0,tS.jsx)(nU,{})}):(0,tS.jsx)("div",{className:"agency-listing__results-cards ".concat(s?"":"agency-listing__results-cards-nomap"),children:O.length>0?O.map((e,t)=>$(e,t)):(0,tS.jsx)("div",{className:"agency-listing__results-no-matches",role:"status","aria-live":"polite",children:(0,tS.jsx)("p",{children:Q})})})})]})]})})},sT=tL().publicUrl,sB=async e=>{try{var t,a,l;let n=await fetch("/api/agencydetail?accountnumber=".concat(e),{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});if(!n.ok)throw Error("Failed to fetch agency details");let i=await n.json();return null==i?void 0:null===(l=i.AgencyByAgencyIdResponse)||void 0===l?void 0:null===(a=l.GetAgencyByAgencyIdResult)||void 0===a?void 0:null===(t=a._x003C_AgentInformation_x003E_k__BackingField)||void 0===t?void 0:t.AgentInformation}catch(e){console.error(e)}},sP=e=>{var t,a,l,n;let{register:i,handleSubmit:s,formState:{errors:r}}=(0,nJ.cI)();return(0,tS.jsx)("section",{className:"find-agency-card sct-secondary",children:(0,tS.jsxs)("div",{className:"wrapper-find-agency",children:[(0,tS.jsx)(tD.H,{field:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Headline,tag:"h3"}),(0,tS.jsx)("div",{className:"subheading",children:(0,tS.jsx)(am.x,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.SubHeadline,tag:"p"})}),(0,tS.jsxs)("form",{className:"wrapper-agency",onSubmit:s(t=>{var a,l,n;window.location.assign((null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(l=n.CallToActionRedirectUrl)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.href)+"?q="+t.searchTerm)}),children:[(0,tS.jsxs)("div",{className:"find-agency-card-form",children:[(0,tS.jsx)("input",{type:"text",id:"searchTerm",placeholder:"","aria-label":"Address, City, State, or ZIP",...i("searchTerm",{required:"Please enter a location",pattern:{value:/^[\w\d\s.,-`']+$/,message:"Invalid location"}})}),(0,tS.jsx)("label",{htmlFor:"searchTerm",id:"searchTerm_label",children:(0,tS.jsx)(am.x,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.In
1putLabel})}),r.searchTerm?(0,tS.jsxs)("div",{className:"find-agency-card-error",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(sT,"/error-icon-red.png"),alt:"Error Icon"})}),(0,tS.jsx)("span",{children:"Please enter a location"})]}):null]}),(0,tS.jsx)("div",{className:"btn-wrapper",children:(0,tS.jsx)("button",{className:"btn btn-primary arrow",type:"submit",tabIndex:0,children:(0,tS.jsx)(am.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.CallToActionText})})})]})]})})},sH=e=>{var t,a,l;let{status:n,closingTime:i}=a7.Y.getOpenStatus(null==e?void 0:null===(t=e.AgencyInfo)||void 0===t?void 0:t.BusinessHoursOperationDescription),s=(null==e?void 0:null===(a=e.AgentContact)||void 0===a?void 0:a.ContactInfo[0].Value)||"",r=(null==e?void 0:null===(l=e.AgentContact)||void 0===l?void 0:l.ContactInfo[1].Value)||"",o=(null==e?void 0:e.Image)?(0,tS.jsx)("div",{className:"profile-img",style:{backgroundImage:"url(data:image/png;base64,".concat(null==e?void 0:e.Image,")")}}):(0,tS.jsx)(nW,{className:"profile-img"});return(0,tS.jsx)("div",{className:"saved-agency-card",children:(0,tS.jsxs)("div",{className:"saved-agency-card-wrapper sct-secondary",children:[o,(0,tS.jsxs)("div",{className:"saved-agency-card-content",children:[(0,tS.jsx)("h3",{className:"saved-agency-card-label label-small",children:"My Agency"}),(0,tS.jsx)("h5",{className:"saved-agency-card-heading",children:null==e?void 0:e.AgencyName}),(0,tS.jsxs)("div",{className:"saved-agency-card-hours",children:[(0,tS.jsxs)("svg",{className:"saved-agency-card-clock",width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,tS.jsx)("title",{children:"Clock Icon"}),(0,tS.jsxs)("g",{id:"Clock Icon",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[(0,tS.jsx)("path",{d:"M8,0.5 C10.0710567,0.5 11.9461563,1.33938803 13.3034423,2.69667412 C14.660573,4.05380476 15.5,5.92871296 15.5,8 C15.5,10.0709375 14.6604606,11.9459327 13.3031966,13.3031966 C11.9459327,14.6604606 10.0709375,15.5 8,15.5 C5.92871296,15.5 4.05380476,14.660573 2.69667412,13.3034423 C1.33938803,11.9461563 0.5,10.0710567 0.5,8 C0.5,5.92859375 1.33927562,4.05358116 2.69642839,2.69642839 C4.05358116,1.33927562 5.92859375,0.5 8,0.5 Z",id:"Path",stroke:"#fff"}),(0,tS.jsx)("polyline",{id:"Path",stroke:"#fff",strokeLinecap:"round",points:"8 3 8 7.878 11 11"})]})]}),(0,tS.jsxs)("span",{className:"saved-agency-card-open",children:["Open Now"===n?"Open Now":n," "]}),(0,tS.jsx)("span",{className:"saved-agency-card-closed",children:"Open Now"===n?" / Closes ".concat(i):""})]}),(0,tS.jsxs)("div",{className:"saved-agency-card-buttons",children:[s.length>1?(0,tS.jsxs)("a",{href:"tel:".concat(s),className:"btn btn-primary",children:["Call ",a7.Y.formatPhoneNumber(s)]}):null,r.length>1?(0,tS.jsxs)("a",{href:"tel:".concat(r),className:"btn btn-primary",children:["Call ",a7.Y.formatPhoneNumber(r)]}):null,(0,tS.jsx)("a",{href:a7.Y.agencyDetailsUrl(e),className:"btn btn-secondary",children:"Agency details"})]})]})]})})};var sM=(0,af.C)()(e=>{let{sitecoreContext:t}=(0,tM.z)(),[a,l]=(0,tk.useState)(null),n=tk.useRef(!1),{agencyNumber:i,isLoading:s}=(0,le.A)(),r=null;return((0,tk.useEffect)(()=>{let e=new URLSearchParams(document.location.search).get("AgencyFromUrl"),t=lv.Z.get("eig_AssociatedAgency");if(n.current)return;if(i){n.current=!0,sB(i).then(e=>{e&&l(e)});return}let a=a6._K.get(a6.mJ.savedAgent);(null==a||!a.AgencyAccountNumber)&&(e&&t&&sB(e).then(e=>{e&&(r=e,l(e),a6._K.set(a6.mJ.savedAgent,e))}),e&&(null==t?void 0:t.toLowerCase())!=e.toLowerCase()&&(console.log("[Agency Intercept] Agency found | ".concat(e)),lv.Z.set("eig_AssociatedAgency",e)))},[i]),a8()&&!t.pageEditing)?(0,tS.jsx)(tS.Fragment,{}):(a?r=a:!s&&!i&&(null===a6._K||void 0===a6._K?void 0:a6._K.get(a6.mJ.savedAgent))&&(r=null===a6._K||void 0===a6._K?void 0:a6._K.get(a6.mJ.savedAgent)),s)?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)("div",{className:"section-frame",children:(0,tS.jsx)("div",{className:"component-frame",children:r?(0,tS.jsx)(sH,{...r}):(0,tS.jsx)(sP,{...e})})})});let sq=(0,af.C)()(e=>{let{sitecoreContext:t}=(0,tM.z)(),[a,l]=(0,tk.useState)(null),n=tk.useRef(!1),{agencyNumber:i,isLoading:s}=(0,le.A)(),r=null;return((0,tk.useEffect)(()=>{let e=new URLSearchParams(document.location.search).get("AgencyFromUrl"),t=lv.Z.get("eig_AssociatedAgency");if(n.current)return;if(i){n.current=!0,sB(i).then(e=>{e&&l(e)}
1);return}let a=a6._K.get(a6.mJ.savedAgent);(null==a||!a.AgencyAccountNumber)&&(e&&t&&sB(e).then(e=>{e&&(r=e,l(e),a6._K.set(a6.mJ.savedAgent,e))}),e&&(null==t?void 0:t.toLowerCase())!=e.toLowerCase()&&(console.log("[Agency Intercept] Agency found | ".concat(e)),lv.Z.set("eig_AssociatedAgency",e)))},[i]),a8()&&!t.pageEditing)?(0,tS.jsx)(tS.Fragment,{}):(a?r=a:!s&&!i&&(null===a6._K||void 0===a6._K?void 0:a6._K.get(a6.mJ.savedAgent))&&(r=null===a6._K||void 0===a6._K?void 0:a6._K.get(a6.mJ.savedAgent)),s)?(0,tS.jsx)(tS.Fragment,{}):(0,tS.jsx)("div",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"agency-wrapper--withPlaceholder component-frame",children:[r?(0,tS.jsx)(sH,{...r}):(0,tS.jsx)(sP,{...e}),(0,tS.jsx)(aZ.V,{name:"find-agency-right-column",rendering:e.rendering})]})})});var sR=a(3338),sO=a(2311),sV=a(7455),sG=()=>{var e,t,a,l,n;let i=[],s=(0,tk.useContext)(ip.ApiDataContext),r=!(null==s?void 0:s.agencies),o=tL().publicUrl;console.log("ApiData",s),null==s||!s.agencies||(null==s?void 0:null===(e=s.agencies)||void 0===e?void 0:e.error)||(Array.isArray(null==s?void 0:s.agencies)?i=null==s?void 0:s.agencies:i.push(null==s?void 0:s.agencies));let c=e=>{let t=[];return Array.isArray(e)?t=e:t.push(e),(0,tS.jsxs)("p",{className:"agy__languages",children:["Also speaks ",t.join(", ")]})};return(0,tS.jsxs)("section",{className:"",children:[(0,tS.jsxs)("div",{className:"agency-listing-cities sct-primary",style:{backgroundImage:"url(".concat(o,"/erie-background.png)")},children:[(0,tS.jsxs)(aP(),{href:"/agencies/",className:"agency-listing-cities__back",children:[(0,tS.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:[(0,tS.jsx)("title",{children:"Arrow pointing left"}),(0,tS.jsx)("g",{stroke:"#FFF",strokeWidth:"1.5",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",children:(0,tS.jsx)("path",{d:"m10 7-5 5 5 5M19 12H6"})})]}),"BACK"]}),r?(0,tS.jsx)("h2",{children:"Erie Agents in ..."}):(0,tS.jsxs)("h2",{children:["Erie Agents in ",null===(a=i[0])||void 0===a?void 0:null===(t=a.Address)||void 0===t?void 0:t.City]})]}),r&&(0,tS.jsx)("div",{className:"section-frame",children:(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsx)(nU,{})})}),(0,tS.jsx)("div",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"component-frame agency-listing-agents",children:[(null==s?void 0:null===(l=s.agencies)||void 0===l?void 0:l.error)&&(0,tS.jsx)("p",{children:null==s?void 0:null===(n=s.agencies)||void 0===n?void 0:n.error}),i.map((e,t)=>{var a,l,n,i,s,r,o,d,u,m,v;let h=(null==e?void 0:e.Image)?(0,tS.jsx)("div",{className:"agency-listing-agents__photo",style:{backgroundImage:"url(data:image/png;base64,".concat(null==e?void 0:e.Image,")")}}):(0,tS.jsx)(nW,{className:"agency-listing-agents__photo"});return(0,tS.jsxs)("div",{className:"agency-listing-agents__card",role:"region","aria-labelledby":"agency-mobileMM1042",children:[(0,tS.jsx)("div",{className:"agy__photo--layout",children:h}),(0,tS.jsxs)("div",{className:"agy__details",children:[(0,tS.jsx)("h3",{className:"agy__name",children:(0,tS.jsx)(aP(),{className:"agy__name-link",id:"agency-".concat(e.AgencyAccountNumber),href:a7.Y.agencyDetailsUrl(e),tabIndex:-1,children:e.AgencyName})}),(0,tS.jsx)("p",{className:"agy__address",children:null==e?void 0:null===(a=e.Address)||void 0===a?void 0:a.Line1}),(0,tS.jsxs)("p",{className:"agy__address",children:[null==e?void 0:null===(l=e.Address)||void 0===l?void 0:l.City,", ",null==e?void 0:null===(n=e.Address)||void 0===n?void 0:n.State," ",null==e?void 0:null===(i=e.Address)||void 0===i?void 0:i.Zip]})]}),(0,tS.jsx)("div",{className:"agy__contact",children:(0,tS.jsx)("div",{className:"agy__phone",children:(0,tS.jsx)(aP(),{className:"agy__phone-link",href:"tel:".concat(null==e?void 0:null===(r=e.AgentContact)||void 0===r?void 0:null===(s=r.ContactInfo[0])||void 0===s?void 0:s.Value),"aria-label":"Call ".concat(e.AgencyName," at ").concat(a7.Y.formatPhoneNumber(null==e?void 0:null===(d=e.AgentContact)||void 0===d?void 0:null===(o=d.ContactInfo[0])||void 0===o?void 0:o.Value)),tabIndex:-1,
1children:a7.Y.formatPhoneNumber(null==e?void 0:null===(m=e.AgentContact)||void 0===m?void 0:null===(u=m.ContactInfo[0])||void 0===u?void 0:u.Value)})})}),(null===(v=e.Languages)||void 0===v?void 0:v.string)&&c(e.Languages.string)]},"agency-".concat(t))})]})})]})},sU=()=>{var e,t,a,l,n,i,s;let r=[],o=(0,tk.useContext)(ip.ApiDataContext),c=!(null==o?void 0:o.cities),d=tL().publicUrl;(null==o?void 0:o.cities)&&("string"==typeof(null==o?void 0:null===(a=o.cities)||void 0===a?void 0:null===(t=a.Value)||void 0===t?void 0:t.string)?r.push(null==o?void 0:null===(n=o.cities)||void 0===n?void 0:null===(l=n.Value)||void 0===l?void 0:l.string):r=null==o?void 0:null===(s=o.cities)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.string);let u=r.reduce((e,t)=>{let a=t.charAt(0).toUpperCase();return e[a]||(e[a]=[]),e[a].push(t),e},{}),m=null==o?void 0:null===(e=o.cities)||void 0===e?void 0:e.Key;return(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("div",{className:"agency-listing-cities sct-primary",style:{backgroundImage:"url(".concat(d,"/erie-background.png)")},children:[(0,tS.jsxs)(aP(),{href:"/agencies/",className:"agency-listing-cities__back",children:[(0,tS.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:[(0,tS.jsx)("title",{children:"Arrow pointing left"}),(0,tS.jsx)("g",{stroke:"#FFF",strokeWidth:"1.5",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",children:(0,tS.jsx)("path",{d:"m10 7-5 5 5 5M19 12H6"})})]}),"BACK"]}),(0,tS.jsxs)("h2",{children:["Erie Agents in ",{DC:"District of Columbia",IL:"Illinois",IN:"Indiana",KY:"Kentucky",MD:"Maryland",NY:"New York",NJ:"New Jersey",NC:"North Carolina",OH:"Ohio",PA:"Pennsylvania",TN:"Tennessee",VA:"Virginia",WV:"West Virginia",WI:"Wisconsin"}[m]||"..."]})]}),c&&(0,tS.jsx)("div",{className:"section-frame",children:(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsx)(nU,{})})}),(0,tS.jsx)("div",{className:"section-frame",children:(0,tS.jsx)("div",{className:"agency-listing-cities__wrapper component-frame",children:Object.keys(u).sort().map(e=>(0,tS.jsxs)("div",{className:"agency-listing-cities__listing",children:[(0,tS.jsx)("h3",{className:"agency-listing-cities__letter",children:e}),(0,tS.jsx)("ul",{children:u[e].map((e,t)=>{var a,l;return(0,tS.jsx)("li",{className:"agency-listing-cities__cityLink",children:(0,tS.jsx)(aP(),{href:"/agencies/".concat(null==o?void 0:null===(l=o.cities)||void 0===l?void 0:null===(a=l.Key)||void 0===a?void 0:a.toLowerCase(),"/").concat(e.replaceAll(" ","-").toLowerCase()),children:e})},"listItem-".concat(t))})})]},e))})})]})};let sW={DC:"District of Columbia",IL:"Illinois",IN:"Indiana",KY:"Kentucky",MD:"Maryland",NY:"New York",NJ:"New Jersey",NC:"North Carolina",OH:"Ohio",PA:"Pennsylvania",TN:"Tennessee",VA:"Virginia",WV:"West Virginia",WI:"Wisconsin"};var sZ=()=>{let[e,t]=(0,tk.useState)([]),a=0===e.length;return(0,tk.useEffect)(()=>{let e=async()=>{try{var e,a,l,n;let i=await fetch("/api/statescities",{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});i.ok||console.error("Failed to fetch statescities");let s=await i.json();(null==s?void 0:null===(a=s.AgencyStatesAndCitiesResponse)||void 0===a?void 0:null===(e=a.GetAgencyStatesAndCitiesResult)||void 0===e?void 0:e.KeyValueOfstringArrayOfstringty7Ep6D1).sort((e,t)=>e.Key.localeCompare(t.Key)),t(null==s?void 0:null===(n=s.AgencyStatesAndCitiesResponse)||void 0===n?void 0:null===(l=n.GetAgencyStatesAndCitiesResult)||void 0===l?void 0:l.KeyValueOfstringArrayOfstringty7Ep6D1)}catch(e){console.error("ListOfStates",e)}};a&&e()}),(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"component-frame",children:[(0,tS.jsx)("h3",{children:"Find an ERIE agent near you"}),(0,tS.jsxs)("ul",{className:"",children:[a&&(0,tS.jsx)(nU,{}),e.map((e,t)=>(0,tS.jsx)("li",{className:"",children:(0,tS.jsx)(aP(),{href:"/agencies/".concat(e.Key.toLowerCase()),children:sW[e.Key]})},"listItem-".concat(t)))]})]})})};let sz=["marker"],sQ=tL().publicUrl;
1function sY(){let{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function sK(e){try{return JSON.parse(e)}catch(e){return[]}}let sJ=e=>{console.log("AgencyListingSearch: ",e);let t=(0,ih.xX)(),[a,l]=(0,tk.useState)(sY()),[n,i]=(0,tk.useState)(""),[s,r]=(0,tk.useState)(!1),[o,c]=(0,tk.useState)(!0),[d,u]=(0,tk.useState)({}),[m,v]=(0,tk.useState)(!0),[h,p]=(0,tk.useState)({lat:42.129223,lng:-80.08506}),[x,g]=(0,tk.useState)([]),[f,j]=(0,tk.useState)(null),[b,y]=(0,tk.useState)(!1),[N,_]=(0,tk.useState)(!1),[C,w]=(0,tk.useState)(!1),[A,E]=(0,tk.useState)({searchTerm:""}),[S,k]=(0,tk.useState)(!1),[I,L]=(0,tk.useState)({distance:"",language:""}),D=e=>{if(!(null==e?void 0:e.startsWith("{")))return(0,tS.jsx)("p",{children:"Hours Not Available"});let t=e?sK(e).HoursOfOperation:[];try{if(t.length>0)return(e=>{let t=new Date().toLocaleString("en-US",{weekday:"long"});return e.map(e=>{let{DayName:a,StartTime:l,EndTime:n}=e,i="Closed"===l||null===n;return(0,tS.jsx)("div",{children:(0,tS.jsx)("span",{style:{fontWeight:a===t?"bold":"normal"},children:"".concat(a,": ").concat(i?"Closed":"".concat(l," - ").concat(n))})},a)})})(t);return(0,tS.jsx)("p",{children:"Hours Not Available"})}catch(e){return(0,tS.jsx)("p",{children:"Hours Not Available"})}},F=e=>{if(!(null==e?void 0:e.startsWith("{")))return""==e?(0,tS.jsx)("p",{children:"Hours Not Available"}):(0,tS.jsx)("p",{children:e});let t=e?sK(e).HoursOfOperation:[];try{if(t.length>0)return(e=>{let t=new Date().toLocaleString("en-US",{weekday:"short"});return e.map(e=>{let{DayName:a,StartTime:l,EndTime:n}=e;switch(a){case"Sunday":a="Sun";break;case"Monday":a="Mon";break;case"Tuesday":a="Tue";break;case"Wednesday":a="Wed";break;case"Thursday":a="Thu";break;case"Friday":a="Fri";break;case"Saturday":a="Sat"}let i="Closed"===l||null===n;return(0,tS.jsx)("div",{children:(0,tS.jsx)("span",{style:{fontWeight:a===t?"bold":"normal"},children:"".concat(a,": ").concat(i?"Closed":"".concat(l," - ").concat(n))})},a)})})(t);return(0,tS.jsx)("p",{children:"Hours Not Available"})}catch(e){return(0,tS.jsx)("p",{children:"Hours Not Available"})}};(0,tk.useEffect)(()=>{function e(){l(sY())}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[a]);let T=e=>{u(t=>({...t,[e]:!t[e]}))},B=()=>{r(!s)},P=e=>{e.preventDefault(),k(!1),i(e.target.value)},H=async e=>{var a,l,n,i,s,r;let o=t.executeRecaptcha?await t.executeRecaptcha():null;v(!0),await fetch("/api/repair-facilities?zipCode=".concat(e.Zipcode,"&city=").concat(encodeURIComponent(null!==(n=e.City)&&void 0!==n?n:""),"&state=").concat(encodeURIComponent(null!==(i=e.State)&&void 0!==i?i:""),"&lat=").concat(encodeURIComponent(null!==(s=null===(a=e.GeometryResults)||void 0===a?void 0:a.geometry.location.lat)&&void 0!==s?s:""),"&lon=").concat(encodeURIComponent(null!==(r=null===(l=e.GeometryResults)||void 0===l?void 0:l.geometry.location.lng)&&void 0!==r?r:""),"&rt=").concat(o)).then(async e=>{g(await e.json())}).catch(e=>{throw console.error(e),Error("Failed to fetch repair locations")}).finally(()=>{v(!1)})},M=async e=>{let t=e||n,a={searchTerm:""};if(""===t&&(a.searchTerm="Address, City, State, or ZIP is required"),E(a),a.searchTerm)return;w(!0);let l="/api/geodecode?address=".concat(encodeURIComponent(t));try{console.log(l);let e=await fetch(l),t=await e.json();if(t.Zipcode){var i,s;j(t.GeometryResults);let e=null===(i=t.GeometryResults)||void 0===i?void 0:i.geometry.location.lat,a=null===(s=t.GeometryResults)||void 0===s?void 0:s.geometry.location.lng;p({lat:e,lng:a}),await H(t),_(!0)}else g([]),k(!0)}catch(e){console.error("Error fetching geocode",e),alert("Error fetching geocode"),y(!0)}finally{w(!1),aE.c.event(aE.a.FIND_AN_AGENT,{search_location:t,agency_name:"",distance:I.distance,language:I.language})}},q=async e=>{e.preventDefault(),M(null)};(0,tk.useEffect)(()=>{y((null==x?void 0:x.length)===0);let e=new URLSearchParams(document.location.search).get("q");e&&!n&&e!==n&&(i(e),M(e))},[x,b]);let R=e=>{let{geocodeResponse:t}=e,a=(0,tk.useRef)(null),[l,n]=(0,tk.useState)(!1),[i,s]=(0,tk.useState)([]),[r,o]=(0,tk.useState)(null);return(0,tk.useEffect)(()=>
1{if(l&&t&&x){let e=x.map(e=>({lat:parseFloat(e.Address.GeoCode.Latitude),lng:parseFloat(e.Address.GeoCode.Longitude),title:e.FacilityName,agency:e.Email}));s(e),y(0===e.length)}},[l,t,x]),(0,tk.useEffect)(()=>{var e,t,n;a.current&&l&&(null===(n=window.google)||void 0===n?void 0:null===(t=n.maps)||void 0===t?void 0:null===(e=t.marker)||void 0===e?void 0:e.AdvancedMarkerElement)&&i.forEach(e=>{let t=document.createElement("div");t.innerHTML='<img src="'.concat(sQ,'/map-pin.svg" alt="Map pin" />'),new google.maps.marker.AdvancedMarkerElement({map:a.current,position:{lat:e.lat,lng:e.lng},title:e.title,content:t}).addListener("click",()=>{})})},[i,l]),(0,tS.jsx)(sw.KJ,{googleMapsApiKey:tL().googleMapsApiKey,libraries:sz,children:(0,tS.jsx)(sw.b6,{onLoad:e=>{a.current=e,n(!0),e.setCenter(h),e.setZoom(10)},mapContainerClassName:"auto-repair__results-content-map",zoom:10,center:h,options:{mapId:"ef7cce3f74e88fa5"},children:r&&(0,tS.jsx)(sw.nx,{position:{lat:r.lat,lng:r.lng},onCloseClick:()=>o(null),children:(0,tS.jsxs)("div",{children:[(0,tS.jsx)("h3",{className:"h6",children:r.title}),(0,tS.jsx)("p",{children:r.agency})]})})})})},O=(e,t,a,l)=>3958.8*Math.acos(Math.min(Math.sin(Math.PI/180*e)*Math.sin(Math.PI/180*a)+Math.cos(Math.PI/180*e)*Math.cos(Math.PI/180*a)*Math.cos(Math.PI/180*(l-t)),1)),V=x.filter(e=>{let t=e.Languages?[e.Languages]:null,a=I.language.toLowerCase(),l=Number(e.Address.GeoCode.Latitude),n=Number(e.Address.GeoCode.Longitude),i=O(h.lat,h.lng,l,n),s="English"===I.language||""===I.language||(null==t?void 0:t.map(e=>e.toLowerCase()).includes(a)),r=I.distance;return s&&("number"!=typeof r||i<=r)}),G=(0,tk.useMemo)(()=>(0,tS.jsx)(R,{geocodeResponse:f,facilities:V}),[f,x]),U=e=>{L(t=>({...t,[e]:""}))},W=(e,t)=>{var a,l,n;let{status:i,closingTime:s}=a7.Y.getOpenStatus(null==e?void 0:e.HoursOfOperation),r=Number(e.Address.GeoCode.Latitude),o=Number(e.Address.GeoCode.Longitude),c=h.lat,u=h.lng,{width:m}=sY(),v=O(c,u,r,o).toFixed(2);return(0,tS.jsx)("div",{className:"auto-repair__results-card",children:(0,tS.jsxs)("div",{className:"auto-repair__results-card-details",children:[(0,tS.jsxs)("div",{className:"auto-repair__results-card-details-contact",children:[(0,tS.jsx)("h3",{className:"h6",children:e.FacilityName}),(0,tS.jsxs)("div",{className:"auto-repair__results-card-locations",children:[(0,tS.jsxs)("p",{className:"auto-repair__results-card-location",children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(sQ,"/location-blue.svg"),alt:"Address"}),(0,tS.jsxs)("a",{href:"https://google.com/maps?q=".concat(encodeURIComponent(e.Address.Line1)," ").concat(encodeURIComponent(e.Address.City),", ").concat(encodeURIComponent(e.Address.State)," ").concat(encodeURIComponent(e.Address.Zip)),target:"_blank",rel:"noopener noreferrer",children:[e.Address.Line1," ",e.Address.City,", ",e.Address.State," ",e.Address.Zip]})]}),(0,tS.jsxs)("p",{className:"auto-repair__results-card-distance",children:[v," mi"]})]}),(0,tS.jsxs)("div",{className:"auto-repair__results-card-wrapper",children:[(null===(a=e.ContactInfo)||void 0===a?void 0:a.ContactInfo.some(e=>"Phone"===e.Type))&&(null===(l=e.ContactInfo)||void 0===l?void 0:l.ContactInfo.map(e=>"Phone"===e.Type&&e.Value?(0,tS.jsxs)("a",{className:"auto-repair__results-card-phone",href:"tel:".concat(e.Value),children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(sQ,"/phone-blue.svg"),alt:"Phone Number"}),a7.Y.formatPhoneNumber(e.Value)]},e.Value):null)),(0,tS.jsxs)("button",{style:{textAlign:"left"},className:"auto-repair__results-card-time",onClick:()=>T(t),"aria-expanded":d[t]?"true":"false",children:[(0,tS.jsx)("img",{className:"svg-wrapper",src:"".concat(sQ,"/icon-time.svg"),alt:"Bu
1siness Hours"}),(0,tS.jsxs)("span",{children:[(0,tS.jsx)("span",{className:"visual-impact",children:i}),"Open Now"===i&&m<420?(0,tS.jsx)("br",{}):"Open Now"===i&&m>=420?" / ":"","Open Now"===i?" Closes ".concat(s):""]})]}),d[t]&&(0,tS.jsx)("div",{children:m<420?F(null==e?void 0:e.HoursOfOperation):D(null==e?void 0:e.HoursOfOperation)})]})]}),e.Email&&(0,tS.jsxs)("a",{className:"auto-repair__results-card-buttons",href:"mailto:".concat(e.Email),children:[(0,tS.jsx)("img",{className:"auto-repair__results-card-email-img",src:"".concat(sQ,"/email.svg"),alt:"Email Image"}),(0,tS.jsx)("p",{className:"auto-repair__results-card-email",children:null===(n=e.Email)||void 0===n?void 0:n.toLowerCase()})]})]})},t)};return(0,tS.jsx)("div",{children:(0,tS.jsxs)("div",{className:"component-frame",children:[!N&&(0,tS.jsx)("div",{className:"auto-repair",children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsxs)("div",{className:"auto-repair__title",children:[(0,tS.jsxs)("h3",{className:"h2 font-light",children:[(0,tS.jsx)("span",{className:"visual-impact",children:"Find an Auto Repair"})," near you"]}),(0,tS.jsx)("p",{children:"You can count on our local, independent agents to help you make good decisions about your insurance protection."})]}),(0,tS.jsxs)("form",{onSubmit:q,children:[(0,tS.jsxs)("div",{className:"auto-repair__search",children:[(0,tS.jsx)("input",{type:"text",placeholder:"Search by ZIP",value:n,onChange:P,className:A.searchTerm?"error-input":""}),A.searchTerm&&(0,tS.jsxs)("div",{className:"error-message",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(sQ,"/error-icon-red.png"),alt:"Error Icon"})}),(0,tS.jsx)("p",{className:"error-label",children:A.searchTerm})]})]}),(0,tS.jsx)("div",{className:"auto-repair__search-buttons",children:(0,tS.jsx)("button",{className:"btn btn-primary arrow",type:"submit",children:"Search"})})]}),C?(0,tS.jsx)("div",{className:"agency-listing__results-loader",children:(0,tS.jsx)(nU,{})}):"",S&&(0,tS.jsxs)("div",{className:"error-noResults",children:[(0,tS.jsx)("p",{className:"error-noResults__title",children:"No results found"}),(0,tS.jsx)("p",{className:"error-noResults__text",children:"We couldn't find an Auto Repair matching the information you provided. Please try again."})]})]})}),N&&(0,tS.jsxs)("div",{className:"auto-repair__results",children:[!b&&(null==V?void 0:V.length)>0?(0,tS.jsxs)("h1",{className:"h4",children:[(0,tS.jsxs)("b",{children:["We found ",null==V?void 0:V.length," Auto Repair Shops "]}),"near you"]}):(0,tS.jsx)("h1",{children:"No agents found"}),(0,tS.jsxs)("div",{className:"auto-repair__results-bar",children:[(0,tS.jsxs)("div",{className:"auto-repair__results-bar-chips",children:[(()=>{let e=[];return I.distance&&e.push((0,tS.jsxs)("div",{className:"auto-repair__results-bar-chip",onClick:()=>U("distance"),children:[I.distance," mi"]},"distance-chip")),I.language&&e.push((0,tS.jsx)("div",{className:"auto-repair__results-bar-chip",onClick:()=>U("language"),children:I.language},"language-chip")),e})(),Object.values(I).some(e=>e)&&(0,tS.jsx)("div",{className:"auto-repair__results-bar-clear",onClick:()=>{L({distance:"",language:""})},children:"Clear"})]}),(0,tS.jsxs)("div",{className:"auto-repair__results-bar-buttons",children:[(0,tS.jsx)("button",{className:"auto-repair__results-bar-map",onClick:()=>{c(!o)},children:o?"Hide map":"Show map"}),(0,tS.jsx)("button",{className:"auto-repair__results-bar-filter",onClick:B,children:"filter"})]})]})]}),s&&(0,tS.jsxs)("div",{className:"auto-repair__results-filters",children:[(0,tS.jsxs)("div",{className:"auto-repair__results-filters-wrapper",children:[(0,tS.jsx)("div",{className:"label-small auto-repair__results-filters-title",children:"Filters"}),(0,tS.jsxs)("form",{onSubmit:q,children:[(0,tS.jsx)("div",{className:"auto-repair__filters-form",children:(0,tS.jsxs)("div",{className:"auto-repair__filters-form-input-1",children:[(0,tS.jsx)("label",{htmlFor:"address",children:"Address, City, State, or ZIP"}),(0,tS.jsx)("input",{type:"text",placeholder:"Address, City, State, or ZIP",value:n,onChange:P})]})}),(0,tS.jsxs)("div",{className:"auto-repair__filters-form-buttons",children:[(0,tS.jsx)("button",{className:"btn btn-primary arrow",type:"submit",children:"Apply"}),(0,tS.jsx)("button",{className:"auto-repair__results-bar-buttons-close",type:"submit",onClick:B,children:"Cancel"})]})]})]}),(0,tS.jsx)("button",{className:"auto-repair__results-bar-close",onClick:B,children:(0,tS.jsx)("img",{src:"".concat(sQ,"/close-large.svg"),alt:"close"})})]}),N&&(0,tS.jsxs)("div",{className:"auto-repair__results-content",children:[o&&G,(0,tS.jsx)("div",{className:"auto-repair__results-wrapper",children:C?(0,tS.jsx)(nU,{}):(0,tS.jsx)("div",{className:"auto-repair__results-cards ".concat(o?"":"auto-repair__results-cards-nomap"),children:!m&&x&&!b&&x.length>0?V.map((e,t)=>W(e,t)):b&&(0,tS.jsx)("p",{children:"No agents found in this area."})})})]})]})})};var sX=a(6479);let s$=tL().publicUrl,s0={content:{top:"",left:"",right:"",bottom:"",marginRight:"",width:"",height:""}},s1=e=>{var t,a,l,n,i,s,r;let[o,c]=(0,tk.useState)({zip:!1,insuranceType:!1}),d=e.rendering.uid+"-insurance-type-selector",u=e.rendering.uid+"-zip-type-selector",m=e.rendering.uid+"-quote-target-link",[v,h]=tk.useState(!1),[p,x]=(0,tk.useState)(""),[g,f]=(0,tk.useState)((null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.FieldNames)==="Bundling"?null===(l=e.fields)||void 0===l?void 0:null===(a=l.SelectedBundle)||void 0===a?void 0:a.value:null===(i=e.fields)||void 0===i?void 0:null===(n=i.SelectedInsuranceType)||void 0===n?void 0:n.value),[j,b]=(0,tk.useState)(null),[y,N]=(0,tk.useState)(!1),[_,C]=(0,tk.useState)(!1),{agencyNumber:w}=(0,le.A)();(0,tk.useEffect)(()=>
1{if(null==j?void 0:j.AgencyAccountNumber){var e;a6._K.set(a6.mJ.viewingAgency,{AgencyAccountNumber:null!==(e=null==j?void 0:j.AgencyAccountNumber)&&void 0!==e?e:""})}},[j]);let[A,E,S]=function(e){var t,a,l,n,i,s,r,o,c,d,u,m,v,h,p,x,g,f,j,b,y,N,_,C,w;if((null===(a=e.fields)||void 0===a?void 0:null===(t=a.SelectedInsuranceType)||void 0===t?void 0:t.value)||(null===(n=e.fields)||void 0===n?void 0:null===(l=n.SelectedBundle)||void 0===l?void 0:l.value)){if((null==e?void 0:null===(i=e.params)||void 0===i?void 0:i.FieldNames)==="Bundling"){let t=null===(r=e.fields)||void 0===r?void 0:null===(s=r.Bundle)||void 0===s?void 0:s.find(t=>{var a,l;return t.fields.Title.value===(null===(l=e.fields)||void 0===l?void 0:null===(a=l.SelectedBundle)||void 0===a?void 0:a.value)});if(t){let e=null!==(v=null===(d=t.fields)||void 0===d?void 0:null===(c=d.Target)||void 0===c?void 0:null===(o=c.value)||void 0===o?void 0:o.target)&&void 0!==v?v:"",a=null!==(h=null===(u=t.fields)||void 0===u?void 0:u.Target.value.href)&&void 0!==h?h:"",l=a.indexOf("javascript")>-1?"#":null!==(p=null===(m=t.fields)||void 0===m?void 0:m.Target.value.href)&&void 0!==p?p:"";return[e,a,l]}}else{let t=null===(g=e.fields)||void 0===g?void 0:null===(x=g.InsuranceTypes)||void 0===x?void 0:x.find(t=>{var a,l;return t.fields.Type.value===(null===(l=e.fields)||void 0===l?void 0:null===(a=l.SelectedInsuranceType)||void 0===a?void 0:a.value)});if(t){let e=null!==(_=null===(b=t.fields)||void 0===b?void 0:null===(j=b.Target)||void 0===j?void 0:null===(f=j.value)||void 0===f?void 0:f.target)&&void 0!==_?_:"",a=null!==(C=null===(y=t.fields)||void 0===y?void 0:y.Target.value.href)&&void 0!==C?C:"",l=a.indexOf("javascript")>-1?"#":null!==(w=null===(N=t.fields)||void 0===N?void 0:N.Target.value.href)&&void 0!==w?w:"";return[e,a,l]}}}return["","",""]}(e),[k,I]=(0,tk.useState)(A),[L,D]=(0,tk.useState)(E),[F,T]=(0,tk.useState)(S),B=async e=>{if(aE.c.event(aE.a.QUOTE_STARTED,{insuranceType:g,zip:p}),e.preventDefault(),N(!1),"#"===F){if(w){let e=await iw(w);e?b(e):b(null)}else b(null);h(!0)}else window.location.href=F},P=(e,t,a)=>{if(e.indexOf("javascript")>-1)T("#");else{let l;let n=lv.Z.get("gclid"),i="";n&&(i=n?"&gclid="+n:"");let s=document.location.href;if(/\/agencies\/[^\/]+/.test(s)){let n=new URL(s),r=RegExp("^([a-zA-Z]{2})([0-9]{4})$"),o=n.pathname.split("/").find(e=>!!e&&r.test(e)),c=o?"&AgentNumber=".concat(encodeURIComponent(o)):"";l="".concat(e,"?product=").concat(t,"&zipcode=").concat(a).concat(i).concat(c)}else{let n=a6._K.get(a6.mJ.viewingAgency),s=n?"&AgentNumber=".concat(encodeURIComponent(n.AgencyAccountNumber)):"";l="".concat(e,"?product=").concat(t,"&zipcode=").concat(a).concat(i).concat(s)}T(l)}},H=!!(p&&/^[0-9]{5}$/.test(p)),M=!!g&&"Select"!=g,q=H&&M,R=(e,t)=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),t?N(!0):B(e))};return{buttonClickHandler:B,dropdownSelecterId:d,zipInputId:u,insuranceTypeOptions:(0,tk.useMemo)(()=>{var t;return null===(t=e.fields)||void 0===t?void 0:t.InsuranceTypes.map((e,t)=>{var a,l,n,i,s,r,o,c;return(0,tS.jsx)("option",{id:"insurance-type",value:null===(l=e.fields)||void 0===l?void 0:null===(a=l.Type)||void 0===a?void 0:a.value,"aria-label":null===(i=e.fields)||void 0===i?void 0:null===(n=i.Type)||void 0===n?void 0:n.value,"data-url":null===(s=e.fields)||void 0===s?void 0:s.Target.value.href,"data-target":null===(r=e.fields)||void 0===r?void 0:r.Target.value.target,children:null===(c=e.fields)||void 0===c?void 0:null===(o=c.Type)||void 0===o?void 0:o.value},t)})},[null===(s=e.fields)||void 0===s?void 0:s.InsuranceTypes]),bundleOptions:(0,tk.useMemo)(()=>{var t;return null===(t=e.fields)||void 0===t?void 0:t.Bundle.map((e,t)=>{var a,l,n,i,s,r,o,c;return(0,tS.jsxs)("option",{id:"insurance-type",value:null===(l=e.fields)||void 0===l?void 0:null===(a=l.Title)||void 0===a?void 0:a.value,"aria-label":null===(i=e.fields)||void 0===i?void 0:null===(n=i.Title)||void 0===n?void 0:n.value,"data-url":null===(s=e.fields)||void 0===s?void 0:s.Target.value.href,"data-target":null===(r=e.fields)||void 0===r?void 0:r.Target.value.target,children:[" ",null===(c=e.fields)||void 0===c?void 0:null===(o=c.Title)||void 0===o?void 0:o.value," "]},t)}
1)},[null===(r=e.fields)||void 0===r?void 0:r.Bundle]),insuranceType:g,zip:p,target:k,error:y,errorFieldGet:o,handleTypeChange:e=>{var t,a;let l=e.currentTarget[e.currentTarget.selectedIndex].getAttribute("data-target"),n=null!==(t=e.currentTarget[e.currentTarget.selectedIndex].getAttribute("data-url"))&&void 0!==t?t:"",i=null!==(a=e.currentTarget.value)&&void 0!==a?a:"";D(n),f(i),c({...o,insuranceType:!1}),n&&n.indexOf("javascript")>-1?(I("self"),T("#")):(I(null!=l?l:""),P(n,i,p))},handleTypeChangeHome:e=>{var t,a;let l=e.currentTarget[e.currentTarget.selectedIndex].getAttribute("data-target"),n=null!==(t=e.currentTarget[e.currentTarget.selectedIndex].getAttribute("data-url"))&&void 0!==t?t:"",i=null!==(a=e.currentTarget.value)&&void 0!==a?a:"";D(n),f(i),M?c({zip:!1,insuranceType:!M}):c({zip:!H,insuranceType:!1}),n&&n.indexOf("javascript")>-1?(I("self"),T("#")):(I(null!=l?l:""),P(n,i,p))},handleZipChange:e=>{x(e.currentTarget.value),P(L,g,e.currentTarget.value),N(!1),c({...o,zip:!1})},handleZipChangeHome:e=>{x(e.currentTarget.value),P(L,g,e.currentTarget.value)},QuoteModal:()=>{nV().setAppElement("#__next");let e=(0,tk.useContext)(ip.ApiDataContext)||{};function t(){if(h(!1),C(!1),null==e?void 0:e.agencyDetails){var t,a;a6._K.set(a6.mJ.viewingAgency,{AgencyAccountNumber:null!==(a=null==e?void 0:null===(t=e.agencyDetails)||void 0===t?void 0:t.AgencyAccountNumber)&&void 0!==a?a:""})}setTimeout(()=>{let e=document.querySelector(".quote_button button");null==e||e.focus()},100),aE.c.event(aE.a.QUOTE_MODAL_CLOSED,{insuranceType:g,zip:p})}return(0,tS.jsx)("div",{children:(0,tS.jsx)(nV(),{style:s0,isOpen:v,onAfterOpen:function(){var e,t;let a=null===(e=document)||void 0===e?void 0:e.querySelector(".quote-modal-close-hover");a instanceof HTMLElement&&(null==a||a.focus()),j&&j.AgencyAccountNumber&&a6._K.set(a6.mJ.viewingAgency,{AgencyAccountNumber:null!==(t=j.AgencyAccountNumber)&&void 0!==t?t:""}),aE.c.event(aE.a.QUOTE_MODAL_OPEN,{insurance_type:g,zipcode:p})},onRequestClose:t,contentLabel:"Get a quote Modal",shouldCloseOnOverlayClick:!0,className:"quote-modal",children:(0,tS.jsx)("div",{className:"quote-modal__wrapper",children:(0,tS.jsxs)("div",{className:"Modal",role:"dialog","aria-modal":"true","aria-labelledby":"".concat(j?"form-title":"search-title"),children:[j?_?(0,tS.jsx)(iE,{}):(0,tS.jsx)(iC,{setSelectedAgency:b,selectedAgency:j,insuranceType:g,onSuccess:()=>C(!0)}):(0,tS.jsx)(nQ,{setSelectedAgency:b,zipCode:p}),(0,tS.jsx)("button",{className:"quote-modal__close ".concat(v?"quote-modal-close-hover":""),onClick:t,children:(0,tS.jsx)("img",{src:"".concat(s$,"/close-large.svg"),alt:"close"})})]})})})})},QuoteButton:()=>{var t,a;return q?(0,tS.jsx)("button",{type:"submit",id:m,className:"btn btn-primary arrow",onKeyDown:e=>R(e,!1),tabIndex:0,children:(0,tS.jsx)(am.x,{field:null===(a=e.fields)||void 0===a?void 0:a.ButtonText})}):(0,tS.jsx)("button",{type:"submit",id:m,className:"btn btn-primary arrow","aria-disabled":"true",role:"button",onClick:e=>{e.preventDefault(),c({zip:!H,insuranceType:!M})},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),c({zip:!H,insuranceType:!M})),R(e,!0)},tabIndex:0,children:(0,tS.jsx)(am.x,{field:null===(t=e.fields)||void 0===t?void 0:t.ButtonText})})},QuoteButtonHome:()=>{var t,a;let l=RegExp("^([0-9]{5})$");return p&&l.test(p)&&M?(0,tS.jsx)("button",{type:"submit",id:m,className:"btn btn-primary arrow",onKeyDown:e=>R(e,!1),tabIndex:0,children:(0,tS.jsx)(am.x,{field:null===(a=e.fields)||void 0===a?void 0:a.ButtonText})}):(0,tS.jsx)("button",{type:"submit",id:m,className:"btn btn-primary arrow","aria-disabled":"true",role:"button",onClick:e=>{e.preventDefault(),N(!0)},onKeyDown:e=>R(e,!0),tabIndex:0,children:(0,tS.jsx)(am.x,{field:null===(t=e.fields)||void 0===t?void 0:t.ButtonText})})}}},s2=e=>{var t;let a=s1(e),l=(0,tk.useRef)(null);return a.error&&l.current&&l.current.focus(),(0,tS.jsxs)("div",{className:"quote-wizard-wrapper ".concat(null===(t=e.params)||void 0===t?void 0:t.styles),children:[(0,tS.jsxs)("form",{className:"quote-wizard",onSubmit:e=>a.buttonClickHandler(e),children:[(0,tS.jsxs)("div",{className:"input-select-type",children:[(0,tS.jsx)("label",{htmlFor:a.dropdownSelecterId,children:(0,tS.jsx)("p",{children:"Insurance Type"})}),(0,tS.jsxs)("select",{name:"insurance-type",onChange:a.handleTypeChangeHome,id:a.dropdownSelecterId,value:a.insuranceType,"aria-label":"Insurance Type",className:"select-frame","aria-invalid":a.error&&!a.insuranceType?"true":"false","aria-describedby":a.error?"quote-error-message":void 0,"aria-required":"true",children:[(0,tS.jsx)("option",{unselectable:"on","aria-label":"Select",children:"Select"}),a.insuranceTypeOptions]})]}),(0,tS.jsxs)("div",{className:"input-zip",children:[(0,tS.jsx)("label",{htmlFor:a.zipInputId,children:(0,tS.jsx)("p",{children:"ZIP"})}),(0,tS.jsx)("input",{id:a.zipInputId,type:"text",name:"zip-code",placeholder:"ZIP Code",maxLength:5,onBlur:a.handleZipChangeHome,onChange:a.handleZipChangeHome,value:a.zip,"aria-invalid":a.error&&!a.zip?"true":"false","aria-describedby":a.error?"quote-error-message":void 0,ref:l,"aria-required":"true"})]}),(0,tS.jsx)("div",{className:"btn-wrapper quote_button",children:(0,tS.jsx)(a.QuoteButtonHome,{})}),(0,tS.jsx)(a.QuoteModal,{})]}),a.error?(0,tS.jsxs)("div",{id:"quote-error-message",className:"error-message",role:"alert","aria-live":"assertive",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(s$,"/error-icon-red.png"),alt:"Error"})}),(0,tS.jsx)("p",{className:"error-label",children:"Please fill in insurance type and correct zip code"})]}):null]})};function s3(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:s2})}let s4=e=>{var t,a,l;let n=s1(e);return(0,tS.jsx)("div",{className:"card card-half bundling ".concat(null===(t=e.params)||void 0===t?void 0:t.styles),children:(0,tS.jsxs)("div",{className:"container-product-cards-bundling",children:[(0,tS.jsxs)("div",{className:"container-product-cards-bundling__text",children:[(0,tS.jsx)("h4",{children:(0,tS.jsx)(tD.H,{field:null===(a=e.fields)||void 0===a?void 0:a.Headline})}),(0,tS.jsx)("form",{onSubmit:n.buttonClickHandler,children:(0,tS.jsxs)("div",{className:"container-product-cards-form",children:[(0,tS.jsxs)("div",{className:"container-product-cards-form__dropdown",children:[(0,tS.jsx)("label",{children:"Bundling Type "}),(0,tS.jsxs)("select",{name:"insurance-type",onChange:n.handleTypeChange,id:n.dropdownSelecterId,value:n.insuranceType,"aria-label":"Insurance Type",className:"select-frame",children:[(0,tS.jsx)("option",{unselectable:"on","aria-label":"Select",children:"Select"}),n.bundleOptions]})]}),(0,tS.jsxs)("div",{className:"container-product-cards-form__zip",children:[(0,tS.jsx)("label",{children:"ZIP"}),(0,tS.jsx)("input",{id:n.zipInputId,type:"text",name:"zip-code",placeholder:"ZIP Code",maxLength:5,value:n.zip,onChange:n.handleZipChange})]})]})}),n.errorFieldGet.zip?(0,tS.jsxs)("div",{className:"error-message",role:"alert","aria-live":"assertive",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(s$,"/error-icon-red.png"),alt:"Error"})}),(0,tS.jsx)("p",{className:"error-label",children:"Please fill in correct zip code"})]}):null,(0,tS.jsx)(n.QuoteButton,{}),(0,tS.jsx)(n.QuoteModal,{})]}),(0,tS.jsx)("div",{className:"container-product-cards-bundling__image-container",children:(0,tS.jsx)(tF.E,{className:"container-product-cards-bundling__image",f
1ield:null===(l=e.fields)||void 0===l?void 0:l.BackgroundImage,width:"100%"})})]})})},s5=e=>{var t,a,l;let n=s1(e),i=null;if(n.errorFieldGet.insuranceType?i=n.dropdownSelecterId:n.errorFieldGet.zip&&(i=n.zipInputId),i){let e=document.getElementById(i);null==e||e.focus()}return(0,tS.jsx)("div",{className:"component-frame ".concat(null===(t=e.params)||void 0===t?void 0:t.styles),children:(0,tS.jsxs)("form",{className:"quote-callout-blue sct-secondary",onSubmit:n.buttonClickHandler,children:[(0,tS.jsxs)("div",{className:"quote-callout-blue__title",children:[(0,tS.jsx)(tD.H,{field:null===(a=e.fields)||void 0===a?void 0:a.Headline,tag:"h3"}),(0,tS.jsx)(tD.H,{field:null===(l=e.fields)||void 0===l?void 0:l.SubHeading,class:"quote-callout-SubHeading__h3",tag:"p"})]}),(0,tS.jsxs)("div",{className:"quote-callout-blue__form",children:[(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("div",{className:"quote-callout-blue__form-dropdown",children:[(0,tS.jsx)("label",{htmlFor:n.dropdownSelecterId,children:"Insurance Types"}),(0,tS.jsxs)("select",{name:"insurance-type",onChange:n.handleTypeChange,id:n.dropdownSelecterId,value:n.insuranceType,"aria-label":"Insurance Type",className:"select-frame",children:[(0,tS.jsx)("option",{unselectable:"on","aria-label":"Select",children:"Select"}),n.insuranceTypeOptions]})]}),n.errorFieldGet.insuranceType?(0,tS.jsxs)("div",{className:"error-message quote-callout-blue-error",role:"alert","aria-live":"assertive",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(s$,"/error-icon-red.png"),alt:"Error"})}),(0,tS.jsx)("p",{className:"error-label",children:"Please select an insurance type"})]}):null]}),(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("div",{className:"quote-callout-blue__form-zip",children:[(0,tS.jsx)("label",{htmlFor:n.zipInputId,children:"ZIP"}),(0,tS.jsx)("input",{id:n.zipInputId,type:"text",name:"zip-code",placeholder:"ZIP Code",maxLength:5,value:n.zip,onChange:n.handleZipChange})]}),n.errorFieldGet.zip?(0,tS.jsxs)("div",{className:"error-message quote-callout-blue-error",role:"alert","aria-live":"assertive",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(s$,"/error-icon-red.png"),alt:"Error"})}),(0,tS.jsx)("p",{className:"error-label",children:"Please enter a valid ZIP Code"})]}):null]}),(0,tS.jsx)(n.QuoteButton,{}),(0,tS.jsx)(n.QuoteModal,{})]})]})})};function s9(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:s5})}let s6=e=>{var t,a;let l=s1(e),n=null;if(l.errorFieldGet.insuranceType?n=l.dropdownSelecterId:l.errorFieldGet.zip&&(n=l.zipInputId),n){let e=document.getElementById(n);null==e||e.focus()}return(0,tS.jsxs)("div",{id:"contact-form",className:"agency-details__contact--form sct-secondary ".concat(null===(t=e.params)||void 0===t?void 0:t.styles),children:[(0,tS.jsx)(tD.H,{tag:"h3",field:null===(a=e.fields)||void 0===a?void 0:a.Headline,className:"label-small"}),(0,tS.jsx)("form",{onSubmit:l.buttonClickHandler,children:(0,tS.jsxs)("div",{className:"quote-callout-form",children:[(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("div",{className:"quote-callout-form-insurance",children:[(0,tS.jsx)("label",{htmlFor:l.dropdownSelecterId,children:"Insurance Type"}),(0,tS.jsxs)("select",{name:"insurance-type",onChange:l.handleTypeChange,id:l.dropdownSelecterId,value:l.insuranceType,"aria-label":"Insurance Type",className:"select-frame",children:[(0,tS.jsx)("option",{unselectable:"on","aria-label":"Select",children:"Select"}),l.insuranceTypeOptions]})]}),l.errorFieldGet.insuranceType?(0,tS.jsxs)("div",{className:"error-message quote-callout-blue-error",role:"alert","aria-live":"assertive",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(s$,"/error-icon-red.png"),alt:"Error"})}),(0,tS.jsx)("p",{className:"error-label",children:"Please select an insurance type"})]}):null]}),(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("div",{className:"quote-callout-form-zip",children:[(0,tS.jsx)("input",{id:l.zipInputId,type:"text",name:"zip-code",placeholder:" ",maxLength:5,value:l.zip,onChange:l.handleZipChange}
1),(0,tS.jsx)("label",{htmlFor:l.zipInputId,children:"ZIP Code"})]}),l.errorFieldGet.zip?(0,tS.jsxs)("div",{className:"error-message quote-callout-blue-error",role:"alert","aria-live":"assertive",children:[(0,tS.jsx)("div",{className:"error-icon",children:(0,tS.jsx)("img",{src:"".concat(s$,"/error-icon-red.png"),alt:"Error"})}),(0,tS.jsx)("p",{className:"error-label",children:"Please enter a valid ZIP Code"})]}):null]}),(0,tS.jsxs)("div",{className:"btn-wrapper",children:[(0,tS.jsx)(l.QuoteButton,{}),(0,tS.jsx)(l.QuoteModal,{})]})]})})]})};var s7=e=>{var t,a,l,n,i,s,r,o,c,d,u,m,v,h,p,x;let g=null==e?void 0:e.props,f=null==g?void 0:null===(t=g.AgencyInfo)||void 0===t?void 0:t.BusinessHoursOperationDescription,j="";(f||void 0!==f)&&(j=(null==f?void 0:f.startsWith("{"))?(f?JSON.parse(f).HoursOfOperation:[]).map(e=>{let t=null!==e.StartTime?e.StartTime:"Closed",a=null!==e.EndTime?e.EndTime:"Closed";return e.DayName+" "+t||" - "+a}):f);let b={"@context":"https://schema.org/","@type":"InsuranceAgency",name:null==g?void 0:g.AgencyName,description:null==g?void 0:null===(a=g.AgencyInfo)||void 0===a?void 0:a.AgencyDescriptionSitecore,telephone:null==g?void 0:null===(l=g.AgentContact)||void 0===l?void 0:l.ContactInfo[0].Value,faxNumber:null==g?void 0:null===(n=g.AgentContact)||void 0===n?void 0:n.ContactInfo[2].Value,openingHours:j,address:{"@type":"PostalAddress",streetAddress:null==g?void 0:null===(i=g.Address)||void 0===i?void 0:i.Line1,addressLocality:null==g?void 0:null===(s=g.Address)||void 0===s?void 0:s.City,addressRegion:null==g?void 0:null===(r=g.Address)||void 0===r?void 0:r.State,postalCode:null==g?void 0:null===(o=g.Address)||void 0===o?void 0:o.Zip,addressCountry:{"@type":"Country",name:"US"}},geo:{"@type":"GeoCoordinates",latitude:null==g?void 0:null===(d=g.Address)||void 0===d?void 0:null===(c=d.GeoCode)||void 0===c?void 0:c.Latitude,longitude:null==g?void 0:null===(m=g.Address)||void 0===m?void 0:null===(u=m.GeoCode)||void 0===u?void 0:u.Longitude},makesOffer:"Auto, Home, Life, Business Insurance",knowsLanguage:null==g?void 0:g.Languages,url:null==g?void 0:null===(v=g.AgencyInfo)||void 0===v?void 0:v.Url};return(0,tS.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(b)}},"AgengyDetailsJSON-".concat(null===(x=e.props)||void 0===x?void 0:null===(p=x.sitecoreContext)||void 0===p?void 0:null===(h=p.route)||void 0===h?void 0:h.itemId))},s8=()=>(0,tS.jsxs)("div",{className:"component-frame",children:[(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsx)("h1",{children:"Buttons"}),(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-primary",children:"Primary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow",children:"Primary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary disabled",children:"Primary Button Disabled"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow disabled",children:"Primary Button Disabled"})]}),(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary",children:"Secondary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary arrow",children:"Secondary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary disabled",children:"Secondary Button Disabled"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary arrow disabled",children:"Secondary Button Disabled"})]})]})}),(0,tS.jsx)("section",{className:"section-frame sct-primary",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-primary",children:"Primary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow",children:"Primary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary disabled",children:"Primary Button Disabled"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow disabled",children:"Primary Button Disabled"})]}),(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary",children:"Secondary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary arrow",children:"Secondary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary disabled",children:"Secondary Button Disabled"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary arrow disabled",children:"Secondary Button Disabled"})]})]})}),(0,tS.jsx)("section",{className:"section-frame sct-secondary",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-primary",children:"Primary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow",children:"Primary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary disabled",children:"Primary Button Disabled"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow disabled",children:"Primary Button Disabled"})]}),(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary",children:"Secondary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary arrow",children:"Secondary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary disabled",children:"Secondary Button Disabled"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary arrow disabled",children:"Secondary Button Disabled"})]})]})}),(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsx)("h1",{children:"Small Buttons"}),(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-primary small",children:"Primary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary small disabled",children:"Primary Button Disabled"})]}),(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary small",children:"Secondary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary small disabled",children:"Secondary Button Disabled"})]})]})}),(0,tS.jsx)("section",{className:"section-frame sct-primary",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-primary small",children:"Primary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary small disabled",children:"Primary Button Disabled"})]}),(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary small",children:"Secondary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary small disabled",children:"Secondary Button Disabled"})]})]})}),(0,tS.jsx)("section",{className:"section-frame sct-secondary",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-primary small",children:"Primary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary small disabled",children:"Primary Button Disabled"})]}),(0,tS.jsxs)("p",{children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary small",children:"Secondary Button"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary small disabled",children:"Secondary Button Disabled"})]})]})}),(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsx)("h1",{children:"Headline H1"}),(0,tS.jsx)("h2",{children:"Headline H2"}),(0,tS.jsx)("h3",{children:"Headline H3"}),(0,tS.jsx)("h4",{children:"Headline H4"}),(0,tS.jsx)("h5",{children:"Headline H5"}),(0,tS.jsx)("h6",{children:"Headline H6"}),(0,tS.jsx)("h1",{className:"h3",children:"This is an H1 using the H3 style."}),(0,tS.jsxs)("h1",{children:["Insurance coverage ",(0,tS.jsx)("span",{className:"focal-text",children:"you can count on."})]}),(0,tS.jsxs)("p",{children:["This is sample text with a ",(0,tS.jsx)("a",{href:"#",children:"default content link"}),"."]}),(0,tS.jsx)("p",{children:"Insurance coverage Brown is such a nice color. There are no mistakes. You can fix anything that happens. A fan brush is a fantastic piece of equipment. Use it. Make friends with it. A tree needs to be your friend if youre going to paint him. You cant have light without dark. You cant know happiness unless youve known sorrow. Play with the angles."})]})}),(0,tS.jsx)("section",{className:"section-frame sct-primary",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsx)("h1",{children:"Headline H1"}),(0,tS.jsx)("h2",{children:"Headline H2"}),(0,tS.jsx)("h3",{children:"Headline H3"}),(0,tS.jsx)("h4",{children:"Headline H4"}),(0,tS.jsx)("h5",{children:"Headline H5"}),(0,tS.jsx)("h6",{children:"Headline H6"}),(0,tS.jsx)("h1",{className:"h3",children:"This is an H1 using the H3 style."}),(0,tS.jsxs)("h1",{children:["Insurance coverage ",(0,tS.jsx)("br",{}),(0,tS.jsx)("span",{className:"focal-text",children:"you can count on."})]}),(0,tS.jsxs)("p",{children:["This is sample text with a ",(0,tS.jsx)("a",{href:"#",children:"default content link"}),"."]})]})}),(0,tS.jsx)("section",{className:"section-frame sct-secondary",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsx)("h1",{children:"Headline H1"}),(0,tS.jsx)("h2",{children:"Headline H2"}),(0,tS.jsx)("h3",{children:"Headline H3"}),(0,tS.jsx)("h4",{children:"Headline H4"}),(0,tS.jsx)("h5",{children:"Headline H5"}),(0,tS.jsx)("h6",{children:"Headline H6"}),(0,tS.jsx)("h1",{className:"h3",children:"This is an H1 using the H3 style."}),(0,tS.jsxs)("h1",{children:["Insurance coverage ",(0,tS.jsx)("span",{className:"focal-text",children:"you can count on."})]}),(0,tS.jsxs)("p",{children:["This is sample text with a ",(0,tS.jsx)("a",{href:"#",children:"default content link"}),"."]})]})}),(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"margin-container",children:[(0,tS.jsx)("h1",{children:"Generic Table"}),(0,tS.jsxs)("table",{children:[(0,tS.jsx)("thead",{children:(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("th",{children:"Pricing and deductible options"}),(0,tS.jsx)("th",{children:"Typical ERIE auto policy"}),(0,tS.jsx)("th",{children:"Typical competitor policy"})]})}),(0,tS.jsxs)("tbody",{children:[(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("td",{"data-th":"Pricing and deductible options",children:"ERIE Rate Lock"}),(0,tS.jsxs)("td",{"data-th":"Typical ERIE auto policy",children:["Yes. Learn more about our ",(0,tS.jsx)("a",{href:"/",children:"ERIE Rate Lock"})," option."]}),(0,tS.jsx)("td",{"data-th":"Typical competitor policy",children:"No"})]}),(0,tS.jsxs)("tr",{children:[(0,tS.jsxs)("td",{"data-th":"Pricing and deductible options",children:["First Accident Forgiveness ",(0,tS.jsx)("a",{href:"/",children:(0,tS.jsx)("sup",{children:"1"})})]}),(0,tS.jsx)("td",{"data-th":"Typical ERIE auto policy",children:"Yes, no surcharge the first time youre at fault in an accident after you have been a customer for three years."}),(0,tS.jsx)("td",{"data-th":"Typical competitor policy",children:"Cost extra."})]}),(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("td",{"data-th":"Pricing and deductible options",children:"Diminishing Deductible"}),(0,tS.jsxs)("td",{"data-th":"Typical ERIE auto policy",children:["Yes, reduced by $100 for each consecutive claims-free policy year, up to a maximum of $500. ",(0,tS.jsx)("a",{href:"/",children:(0,tS.jsx)("sup",{children:"2"})})]}),(0,tS.jsx)("td",{"data-th":"Typical competitor policy",children:"Sometimes available and costs extra."})]}),(0,tS.jsx)("tr",{className:"mid-table-headline",children:(0,tS.jsx)("td",{colSpan:3,children:"Coverage Options"})}),(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("td",{children:"Transportation Expense/Rental Car Coverage"}),(0,tS.jsx)("td",{children:"Yes, with comprehensive coverage. Additional days of coverage are available after settlement. Add it to collision coverage and pick from six classes of rental car options.  Read more about rental car expense coverage."}),(0,tS.jsx)("td",{children:"A daily dollar limit and the payment ends upon the settlement."})]}),(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("td",{children:"Roadside Service"}),(0,tS.jsx)("td",{children:"Yes, reasonable towing and required labor costs at the site where your car breaks down.5 Learn more about emergency road service coverage."}),(0,tS.jsx)("td",{children:"Typically, only up to a certain dollar amount."})]}),(0,tS.jsxs)("tr",{children:[(0,tS.jsx)("td",{children:"New Car Protection"}),(0,tS.jsx)("td",{children:"Yes, If your new vehicle (up to 24 months old) is a total loss after an accident, it will be replaced with a new vehicle of the latest model year.6 Read more about new and used car replacement."}),(0,tS.jsx)("td",{children:"Limited. It may only be available for the first year after the vehicle is purchased. With E
1RIE, it’s up to two years."})]})]})]})]})})]});let re=e=>(console.log("Example: ",e),(0,tS.jsx)("h1",{children:"Example"})),rt=tL().publicUrl,ra=e=>{console.log("FaqAccordion: ",e);let[t,a]=(0,tk.useState)(!1);return(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsx)("div",{className:"faq-accordion",children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsxs)("h2",{className:"faq-accordion__heading",children:["Frequently asked ",(0,tS.jsx)("span",{className:"visual-impact",children:"questions"})]}),(0,tS.jsx)("hr",{className:"faq-accordion__line"}),(0,tS.jsxs)("ul",{className:"faq-accordion__wrapper",children:[(0,tS.jsxs)("li",{className:"faq-accordion__item",children:[(0,tS.jsxs)("button",{className:"faq-accordion__expand-button",onClick:()=>{a(!t)},children:[(0,tS.jsx)("p",{className:"faq-accordion__question",children:"Where can I download the Erie Insurance mobile app?"}),(0,tS.jsx)("img",{src:"".concat(rt).concat(t?"/collapse.svg":"/expand.svg"),alt:t?"collapse":"expand"})]}),t?(0,tS.jsxs)(tS.Fragment,{children:[(0,tS.jsx)("p",{className:"faq-accordion__text",children:"The app is available for iOS and Android on the Apple App Store and Google Play. Lorem ipsum dolor sit lorem ipsum dolor sit."}),(0,tS.jsx)("img",{className:"faq-accordion__image",src:"".concat(rt,"/image-hero-desktop-fpo.webp"),alt:"scene"})]}):null]}),(0,tS.jsx)("li",{className:"faq-accordion__item",children:(0,tS.jsxs)("button",{className:"faq-accordion__expand-button",children:[(0,tS.jsx)("p",{className:"faq-accordion__question",children:"How do I know my username and password?"}),(0,tS.jsx)("img",{src:"".concat(rt,"/expand.svg"),alt:"expand"})]})}),(0,tS.jsx)("li",{className:"faq-accordion__item",children:(0,tS.jsxs)("button",{className:"faq-accordion__expand-button",children:[(0,tS.jsx)("p",{className:"faq-accordion__question",children:"How can I update my email and password information?"}),(0,tS.jsx)("img",{src:"".concat(rt,"/expand.svg"),alt:"expand"})]})}),(0,tS.jsx)("li",{className:"faq-accordion__item",children:(0,tS.jsxs)("button",{className:"faq-accordion__expand-button",children:[(0,tS.jsx)("p",{className:"faq-accordion__question",children:"How do I set up and enable biometrics?"}),(0,tS.jsx)("img",{src:"".concat(rt,"/expand.svg"),alt:"expand"})]})}),(0,tS.jsx)("li",{className:"faq-accordion__item",children:(0,tS.jsxs)("button",{className:"faq-accordion__expand-button",children:[(0,tS.jsx)("p",{className:"faq-accordion__question",children:"Where can I find my agent information on the app?"}),(0,tS.jsx)("img",{src:"".concat(rt,"/expand.svg"),alt:"expand"})]})}),(0,tS.jsx)("li",{className:"faq-accordion__item",children:(0,tS.jsxs)("button",{className:"faq-accordion__expand-button",children:[(0,tS.jsx)("p",{className:"faq-accordion__question",children:"How do I make a payment using the app?"}),(0,tS.jsx)("img",{src:"".concat(rt,"/expand.svg"),alt:"expand"})]})}),(0,tS.jsx)("li",{className:"faq-accordion__item",children:(0,tS.jsxs)("button",{className:"faq-accordion__expand-button",children:[(0,tS.jsx)("p",{className:"faq-accordion__question",children:"How can I view, share, and print my billing documents?"}),(0,tS.jsx)("img",{src:"".concat(rt,"/expand.svg"),alt:"expand"})]})}),(0,tS.jsx)("li",{className:"faq-accordion__item",children:(0,tS.jsxs)("button",{className:"faq-accordion__expand-button",children:[(0,tS.jsx)("p",{className:"faq-accordion__question",children:"Why am I not seeing my policies under My Policies?"}),(0,tS.jsx)("img",{src:"".concat(rt,"/expand.svg"),alt:"expand"})]})})]})]})})})},rl=e=>(console.log("FeaturedProductCards: ",e),(0,tS.jsx)("div",{className:"container-product-cards",children:(0,tS.jsxs)("div",{className:"wrapper-product-cards",children:[(0,tS.jsxs)("div",{className:"card card-third",children:[(0,tS.jsxs)("div",{className:"card-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Auto Renters"}),(0,tS.jsxs)("svg",{width:"84px",height:"84px",viewBox:"0 0 84 84",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Auto Renters"}),(0,tS.jsxs)("g",{id:"icon/auto+renters",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("circle",{id:"Oval-Copy-6",fill:"#0079C1",cx:"42",cy:"42",r:"42"}),(0,tS.jsxs)("g",{id:"Group-39",transform:"translate(20, 22)",stroke:"#FFFFFF",children:[(0,tS.jsx)("path",{d:"M12.9086407,10.990436 L9.72331583,10.990436 C9.39888625,10.990436 9.13575773,10.7294101 9.13575773,10.407573 L9.13575773,5.61433331 C9.13575773,5.29249617 9.39888625,5.03147025 9.72331583,5.03147025 L12.9086407,5.03147025 C13.2330703,5.03147025 13.4961988,5.29249617 13.4961988,5.61433331 L13.4961988,10.407573 C13.4961988,10.7294101 13.2330703,10.990436 12.9086407,10.990436 Z",i
1d:"Stroke-1"}),(0,tS.jsx)("path",{d:"M20.6528644,10.990436 L17.4675395,10.990436 C17.1431099,10.990436 16.8799814,10.7294101 16.8799814,10.407573 L16.8799814,5.61433331 C16.8799814,5.29249617 17.1431099,5.03147025 17.4675395,5.03147025 L20.6528644,5.03147025 C20.977294,5.03147025 21.2404225,5.29249617 21.2404225,5.61433331 L21.2404225,10.407573 C21.2404225,10.7294101 20.977294,10.990436 20.6528644,10.990436 Z",id:"Stroke-3"}),(0,tS.jsx)("path",{d:"M12.9086407,20.3061276 L9.72331583,20.3061276 C9.39888625,20.3061276 9.13575773,20.0451017 9.13575773,19.7232645 L9.13575773,14.9300249 C9.13575773,14.6081877 9.39888625,14.3471618 9.72331583,14.3471618 L12.9086407,14.3471618 C13.2330703,14.3471618 13.4961988,14.6081877 13.4961988,14.9300249 L13.4961988,19.7232645 C13.4961988,20.0451017 13.2330703,20.3061276 12.9086407,20.3061276 Z",id:"Stroke-5"}),(0,tS.jsx)("path",{d:"M20.6528644,20.3061276 L17.4675395,20.3061276 C17.1431099,20.3061276 16.8799814,20.0451017 16.8799814,19.7232645 L16.8799814,14.9300249 C16.8799814,14.6081877 17.1431099,14.3471618 17.4675395,14.3471618 L20.6528644,14.3471618 C20.977294,14.3471618 21.2404225,14.6081877 21.2404225,14.9300249 L21.2404225,19.7232645 C21.2404225,20.0451017 20.977294,20.3061276 20.6528644,20.3061276 Z",id:"Stroke-7"}),(0,tS.jsx)("path",{d:"M18.3242129,39.9110947 L12.129938,39.9110947 L12.129938,27.7559639 C12.129938,27.3379312 12.4715749,26.9988465 12.8931541,26.9988465 L17.5609968,26.9988465 C17.982576,26.9988465 18.3242129,27.3379312 18.3242129,27.7559639 L18.3242129,39.9110947 Z",id:"Stroke-9"}),(0,tS.jsx)("line",{x1:"0",y1:"0.088905287",x2:"30.4540792",y2:"0.088905287",id:"Stroke-11","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"0",y1:"39.9110947",x2:"44",y2:"39.9110947",id:"Stroke-13","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("polygon",{id:"Stroke-15",points:"3.38380052 20.0000089 3.38380052 39.9110592 3.38380052 20.0000089 3.38380052 0.0889586301"}
1),(0,tS.jsx)("polyline",{id:"Stroke-17",points:"27.0703325 20.3376356 27.0703325 28.2037976 27.0703325 14.1464492 27.0703325 0.088923068 27.0703325 14.1464492 27.0703325 17.3904253"}),(0,tS.jsx)("path",{d:"M25.7528257,28.7853449 L25.7528257,28.7853449 C25.7528257,28.4832447 25.9399553,28.2383995 26.1706408,28.2383995 L27.5391601,28.2494238 L27.2946728,29.3322902 L26.1706408,29.3322902 C25.9399553,29.3322902 25.7528257,29.087445 25.7528257,28.7853449 Z",id:"Stroke-19"}),(0,tS.jsx)("path",{d:"M42.6862215,28.7853449 L42.6862215,28.7853449 C42.6862215,28.4832447 42.499092,28.2383995 42.2684064,28.2383995 L40.8998872,28.2494238 L41.1443744,29.3322902 L42.2684064,29.3322902 C42.499092,29.3322902 42.6862215,29.087445 42.6862215,28.7853449 Z",id:"Stroke-21"}),(0,tS.jsx)("path",{d:"M27.4352171,39.6815739 L27.4352171,39.6815739 C26.717708,39.6849374 26.1333762,39.1107871 26.1299706,38.3990114 L26.1236971,37.1185974 L28.7218224,37.1061507 L28.7281109,38.3867424 C28.7315015,39.0985182 28.1527263,39.6781806 27.4352171,39.6815739 Z",id:"Stroke-23"}),(0,tS.jsx)("path",{d:"M41.0245685,39.6815739 L41.0245685,39.6815739 C40.3070593,39.6849374 39.7227276,39.1107871 39.719322,38.3990114 L39.7130485,37.1185974 L42.3111738,37.1061507 L42.3174622,38.3867424 C42.3208529,39.0985182 41.7420777,39.6781806 41.0245685,39.6815739 Z",id:"Stroke-25"}),(0,tS.jsx)("line",{x1:"35.5571056",y1:"29.7525099",x2:"37.015067",y2:"26.8634437",id:"Stroke-27"}),(0,tS.jsx)("line",{x1:"31.4260953",y1:"29.7525099",x2:"32.8840568",y2:"26.8634437",id:"Stroke-29"}),(0,tS.jsx)("line",{x1:"28.0427608",y1:"33.2916516",x2:"31.7643804",y2:"33.2740483",id:"Stroke-31"}),(0,tS.jsx)("line",{x1:"36.6768178",y1:"33.2916516",x2:"40.3984373",y2:"33.2740483",id:"Stroke-33"}),(0,tS.jsx)("path",{d:"M41.4480298,29.8258923 L27.0080456,29.7521009 L24.6277004,31.5750149 C24.5117302,31.7709622 24.4507877,31.9974929 24.4518491,32.228291 L24.4712213,36.240231 C24.4735515,36.7167633 24.8440465,37.1013676 25.2987856,37.0992427 L43.1701952,37.0144182 C43.6249343,37.0122845 43.9916652,36.624124 43.9893461,36.1475917 L43.9699768,32.1354739 C43.9689014,31.9046758 43.9056286,31.6788563 43.7878661,31.4839759 L41.4480298,29.8258923 Z",id:"Stroke-35"}),(0,tS.jsx)("polygon",{id:"Stroke-37",points:"41.3119665 29.7705221 27.1291958 29.7705221 28.9745011 24.085029 39.3612664 24.085029"})]})]})]})]}),(0,tS.jsx)("h5",{className:"card-title",children:"This is the name for featured product no. 1"}),(0,tS.jsx)("p",{className:"card-description",children:"Lorem ipsum dolor sit amet dolor natus hic galisum officia sed voluptatum aperiam quo deleniti eligendi qui inventore quis ut quos nihil cum quas autem quo doloribus alias sed."}),(0,tS.jsx)("a",{className:"card-link",href:"#",children:"Optional Call-to-Action"})]}),(0,tS.jsxs)("div",{className:"card card-third",children:[(0,tS.jsxs)("div",{className:"card-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Auto Homeowners"}),(0,tS.jsxs)("svg",{width:"84px",height:"84px",viewBox:"0 0 84 84",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Auto Homeowners"}),(0,tS.jsxs)("g",{id:"icon/auto_homeowners",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("circle",{id:"Oval-Copy-6",fill:"#0079C1",cx:"42",cy:"42",r:"42"}),(0,tS.jsxs)("g",{id:"Group-31",transform:"translate(20, 21)",stroke:"#FFFFFF",children:[(0,tS.jsx)("path",{d:"M9.51083372,14.3474285 L19.184537,5.58543771 C19.2525792,5.52389287 19.3562278,5.52389287 19.42427,5.58543771 L29.0979733,14.3474285 L32.7246974,17.6324149 C32.7573772,17.6620927 32.8002999,17.6786344 32.844442,17.6786344 L38.430246,17.6786344 C38.5931571,17.6786344 38.6704667,17.4784312 38.5499905,17.3692073 L29.0979733,8.80814946 L19.42427,0.0461586318 C19.3562278,-0.0153862106 19.2525792,-0.0153862106 19.184537,0.0461586318 L9.51083372,8.80814946 L0.0588164519,17.3692073 C-0.0619036387,17.4784312 0.015649874,17.6786344 0.178561027,17.6786344 L5.76436497,17.6786344 C5.80850707,17.6786344 5.85118589,17.6620927 5.88410955,17.6324149 L9.51083372,14.3474285 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M20.8665458,38.07063 L6.54646044,38.07063 C6.13089068,38.07063 5.79409382,37.7346876 5.79409382,37.3201721 L5.79409382,17.825296",id:"Stroke-3"}),(0,tS.jsx)("line",{x1:"32.7269411",y1:"17.6299337",x2:"32.6662153",y2:"23.9780531",id:"Stroke-5"}),(0,tS.jsx)("path",{d:"M15.9520919,33.7104333 L9.93169566,33.7104333 C9.39735684,33.7104333 8.96447166,33.2784031 8.96447166,32.7456632 L8.96447166,22.3988319 C8.96447166,21.8660919 9.39735684,21.4340617 9.93169566,21.4340617 L15.9520919,21.4340617 C16.4861869,21.4340617 16.9193159,21.8660919 16.9193159,22.3988319 L16.9193159,32.7456632 C16.9193159,33.2784031 16.4861869,33.7104333 15.9520919,33.7104333 Z",id:"Stroke-7"}),(0,tS.jsx)("line",{x1:"12.9418694",y1:"21.563014",x2:"12.9418694",y2:"33.7235937",id:"Stroke-9"}),(0,tS.jsx)("line",{x1:"8.95220455",y1:"27.5722475",x2:"16.9226571",y2:"27.5722475",id:"Stroke-11"}),(0,tS.jsx)("polyline",{id:"Stroke-13",points:"28.6108982 8.24750757 28.6108982 5.54050754 32.9385305 5.54050754 32.9385305 12.3444966"}),(0,tS.jsx)("line",{x1:"15.0401065",y1:"13.3058611",x2:"23.2551697",y2:"13.3058611",id:"Stroke-15","stroke-linecap":"round"}),(0,tS.jsx)("line",{x1:"25.9564219",y1:"16.2391175",x2:"12.3387079",y2:"16.2391175",id:"Stroke-1
17","stroke-linecap":"round"}),(0,tS.jsx)("path",{d:"M33.482088,5.46733486 L28.0672432,5.46733486 C27.7394698,5.46733486 27.4738856,5.20242445 27.4738856,4.87572594 L27.4738856,3.7910285 C27.4738856,3.46432999 27.7394698,3.19941958 28.0672432,3.19941958 L33.482088,3.19941958 C33.8096174,3.19941958 34.0752016,3.46432999 34.0752016,3.7910285 L34.0752016,4.87572594 C34.0752016,5.20242445 33.8096174,5.46733486 33.482088,5.46733486 Z",id:"Stroke-19"}),(0,tS.jsxs)("g",{id:"icon-auto-copy-2",transform:"translate(21, 24)",children:[(0,tS.jsx)("path",{d:"M0.619061464,5.15075865 L0.619061464,5.15075865 C0.619061464,4.65044587 0.93503085,4.24534832 1.32487477,4.24534832 L3.63456648,4.26352578 L3.2224712,6.05616898 L1.32487477,6.05616898 C0.93503085,6.05616898 0.619061464,5.65107144 0.619061464,5.15075865 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M19.2390039,5.15075865 L19.2390039,5.15075865 C19.2390039,4.65044587 19.5549733,4.24534832 19.9448172,4.24534832 L22.2545089,4.26352578 L21.8424136,6.05616898 L19.9448172,6.05616898 C19.5549733,6.05616898 19.2390039,5.65107144 19.2390039,5.15075865 Z",id:"Stroke-1-Copy",transform:"translate(20.7468, 5.1508) scale(-1, 1) translate(-20.7468, -5.1508)"}),(0,tS.jsx)("path",{d:"M3.51229553,18 L3.51229553,18 C2.6675708,18.0042052 1.97987426,17.3414448 1.97552961,16.5199358 L1.9687023,15.0423062 L5.02671751,15.0278196 L5.03418614,16.5054493 C5.03851014,17.3269582 4.35702025,17.9957547 3.51229553,18 Z",id:"Stroke-5"}),(0,tS.jsx)("path",{d:"M19.5098673,18 L19.5098673,18 C18.6651426,18.0042052 17.9774461,17.3414448 17.9731014,16.5199358 L17.9662741,15.0423062 L21.0242893,15.0278196 L21.0317579,16.5054493 C21.0360819,17.3269582 20.354592,17.9957547 19.5098673,18 Z",id:"Stroke-7"}),(0,tS.jsx)("line",{x1:"13.0735118",y1:"6.5410464",x2:"14.7896499",y2:"3.20672195",id:"Stroke-9"}),(0,tS.jsx)("line",{x1:"8.21041733",y1:"6.5410464",x2:"9.92655536",y2:"3.20672195",id:"Stroke-11"}),(0,tS.jsx)("line",{x1:"4.22748751",y1:"10.6254731",x2:"8.60875997",y2:"10.6049505",id:"Stroke-13"}),(0,tS.jsx)("line",{x1:"14.3916176",y1:"10.6254731",x2:"18.77289",y2:"10.6049505",id:"Stroke-15"}),(0,tS.jsx)("path",{d:"M20.0083853,6.62573244 L3.00961915,6.54062387 L0.207317811,8.64419387 C0.0707715661,8.87054646 -0.00122554459,9.13190824 0,9.39809888 L0.0229803806,14.0283673 C0.0260837043,14.5782532 0.461790357,15.0225079 0.997424034,15.0195051 L22.0354763,14.9217055 C22.57111,14.9192911 23.002472,14.4714148 23,13.9215289 L22.9770247,9.29126046 C22.9757834,9.02506982 22.9013036,8.76431165 22.7628954,8.53916628 L20.0083853,6.62573244 Z",id:"Stroke-1
17"}),(0,tS.jsx)("path",{d:"M19.8481917,6.56181047 L3.15230997,6.56181047 L5.13013906,0.587506467 C5.24624364,0.236796637 5.57407215,2.8990758e-16 5.94350098,2.22044605e-16 L16.9438514,0 C17.30794,-6.68819853e-17 17.6322635,0.230107113 17.7525322,0.573757995 L19.8481917,6.56181047 L19.8481917,6.56181047 Z",id:"Stroke-19"})]})]})]})]})]}),(0,tS.jsx)("h5",{className:"card-title",children:"This is the name for featured product no. 2"}),(0,tS.jsx)("p",{className:"card-description",children:"Lorem ipsum dolor sit amet dolor natus hic galisum officia sed voluptatum aperiam quo deleniti eligendi qui inventore quis ut quos nihil cum quas autem quo doloribus alias sed."}),(0,tS.jsx)("a",{className:"card-link",href:"#",children:"Optional Call-to-Action"})]}),(0,tS.jsxs)("div",{className:"card card-third",children:[(0,tS.jsxs)("div",{className:"card-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Award winning"}),(0,tS.jsxs)("svg",{width:"84px",height:"84px",viewBox:"0 0 84 84",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Auto Home Life"}),(0,tS.jsxs)("g",{id:"icon/auto_home_life",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("circle",{id:"Oval-Copy-6",fill:"#0079C1",cx:"42",cy:"42",r:"42"}),(0,tS.jsxs)("g",{id:"Group-31",transform:"translate(20, 21)",stroke:"#FFFFFF",children:[(0,tS.jsx)("path",{d:"M10.0608337,14.3474285 L19.734537,5.58543771 C19.8025792,5.52389287 19.9062278,5.52389287 19.97427,5.58543771 L29.6479733,14.3474285 L33.2746974,17.6324149 C33.3073772,17.6620927 33.3502999,17.6786344 33.394442,17.6786344 L38.980246,17.6786344 C39.1431571,17.6786344 39.2204667,17.4784312 39.0999905,17.3692073 L29.6479733,8.80814946 L19.97427,0.0461586318 C19.9062278,-0.0153862106 19.8025792,-0.0153862106 19.734537,0.0461586318 L10.0608337,8.80814946 L0.608816452,17.3692073 C0.488096361,17.4784312 0.565649874,17.6786344 0.728561027,17.6786344 L6.31436497,17.6786344 C6.35850707,17.6786344 6.40118589,17.6620927 6.43410955,17.6324149 L10.0608337,14.3474285 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M21.4165458,38.07063 L7.09646044,38.07063 C6.68089068,38.07063 6.34409382,37.7346876 6.34409382,37.3201721 L6.34409382,17.825296",id:"Stroke-3"}),(0,tS.jsx)("line",{x1:"33.2769411",y1:"17.6299337",x2:"33.2162153",y2:"23.9780531",id:"Stroke-5"}),(0,tS.jsx)("line",{x1:"9.50220455",y1:"27.5722475",x2:"17.4726571",y2:"27.5722475",id:"Stroke-11"}),(0,tS.jsx)("polyline",{id:"Stroke-13",points:"29.1608982 8.24750757 29.1608982 5.54050754 33.4885305 5.54050754 33.4885305 12.3444966"}),(0,tS.jsx)("line",{x1:"15.5901065",y1:"13.3058611",x2:"23.8051697",y2:"13.3058611",id:"Stroke-15","stroke-linecap":"round"}),(0,tS.jsx)("line",{x1:"26.5064219",y1:"16.2391175",x2:"12.8887079",y2:"16.2391175",id:"Stroke-1
17","stroke-linecap":"round"}),(0,tS.jsx)("path",{d:"M34.032088,5.46733486 L28.6172432,5.46733486 C28.2894698,5.46733486 28.0238856,5.20242445 28.0238856,4.87572594 L28.0238856,3.7910285 C28.0238856,3.46432999 28.2894698,3.19941958 28.6172432,3.19941958 L34.032088,3.19941958 C34.3596174,3.19941958 34.6252016,3.46432999 34.6252016,3.7910285 L34.6252016,4.87572594 C34.6252016,5.20242445 34.3596174,5.46733486 34.032088,5.46733486 Z",id:"Stroke-19"}),(0,tS.jsxs)("g",{id:"icon-auto-copy-2",transform:"translate(21.55, 24)",children:[(0,tS.jsx)("path",{d:"M0.619061464,5.15075865 L0.619061464,5.15075865 C0.619061464,4.65044587 0.93503085,4.24534832 1.32487477,4.24534832 L3.63456648,4.26352578 L3.2224712,6.05616898 L1.32487477,6.05616898 C0.93503085,6.05616898 0.619061464,5.65107144 0.619061464,5.15075865 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M19.2390039,5.15075865 L19.2390039,5.15075865 C19.2390039,4.65044587 19.5549733,4.24534832 19.9448172,4.24534832 L22.2545089,4.26352578 L21.8424136,6.05616898 L19.9448172,6.05616898 C19.5549733,6.05616898 19.2390039,5.65107144 19.2390039,5.15075865 Z",id:"Stroke-1-Copy",transform:"translate(20.7468, 5.1508) scale(-1, 1) translate(-20.7468, -5.1508)"}),(0,tS.jsx)("path",{d:"M3.51229553,18 L3.51229553,18 C2.6675708,18.0042052 1.97987426,17.3414448 1.97552961,16.5199358 L1.9687023,15.0423062 L5.02671751,15.0278196 L5.03418614,16.5054493 C5.03851014,17.3269582 4.35702025,17.9957547 3.51229553,18 Z",id:"Stroke-5"}),(0,tS.jsx)("path",{d:"M19.5098673,18 L19.5098673,18 C18.6651426,18.0042052 17.9774461,17.3414448 17.9731014,16.5199358 L17.9662741,15.0423062 L21.0242893,15.0278196 L21.0317579,16.5054493 C21.0360819,17.3269582 20.354592,17.9957547 19.5098673,18 Z",id:"Stroke-7"}),(0,tS.jsx)("line",{x1:"13.0735118",y1:"6.5410464",x2:"14.7896499",y2:"3.20672195",id:"Stroke-9"}),(0,tS.jsx)("line",{x1:"8.21041733",y1:"6.5410464",x2:"9.92655536",y2:"3.20672195",id:"Stroke-11"}),(0,tS.jsx)("line",{x1:"4.22748751",y1:"10.6254731",x2:"8.60875997",y2:"10.6049505",id:"Stroke-13"}),(0,tS.jsx)("line",{x1:"14.3916176",y1:"10.6254731",x2:"18.77289",y2:"10.6049505",id:"Stroke-15"}),(0,tS.jsx)("path",{d:"M20.0083853,6.62573244 L3.00961915,6.54062387 L0.207317811,8.64419387 C0.0707715661,8.87054646 -0.00122554459,9.13190824 0,9.39809888 L0.0229803806,14.0283673 C0.0260837043,14.5782532 0.461790357,15.0225079 0.997424034,15.0195051 L22.0354763,14.9217055 C22.57111,14.9192911 23.002472,14.4714148 23,13.9215289 L22.9770247,9.29126046 C22.9757834,9.02506982 22.9013036,8.76431165 22.7628954,8.53916628 L20.0083853,6.62573244 Z",id:"Stroke-1
17"}),(0,tS.jsx)("path",{d:"M19.8481917,6.56181047 L3.15230997,6.56181047 L5.13013906,0.587506467 C5.24624364,0.236796637 5.57407215,2.8990758e-16 5.94350098,2.22044605e-16 L16.9438514,0 C17.30794,-6.68819853e-17 17.6322635,0.230107113 17.7525322,0.573757995 L19.8481917,6.56181047 L19.8481917,6.56181047 Z",id:"Stroke-19"})]}),(0,tS.jsx)("path",{d:"M0,30.2721653 C0,29.9648741 0,29.6575829 0,29.3502917 C0.0117554079,29.2951368 0.0280823633,29.239982 0.0339600673,29.1835139 C0.16849418,27.8854055 0.639363574,26.7297804 1.51122299,25.7586614 C2.65215064,24.4868171 4.07912654,23.861729 5.78561992,24.0271935 C7.44835706,24.1887184 8.70879802,25.0580636 9.63551601,26.4369345 C9.67992533,26.502595 9.72368157,26.5689121 9.75829472,26.6201274 C10.0378122,26.2740964 10.2853288,25.9234693 10.5759486,25.6135516 C12.3621176,23.7074268 15.1847216,23.4631697 17.2660819,25.0245768 C19.195928,26.4723912 20.1690146,29.3187746 19.1227833,31.9412557 C18.6133823,33.2170395 17.8473215,34.3260457 16.9441143,35.3431271 C14.9685527,37.568362 12.624655,39.3392261 10.1103039,40.896037 C9.8817265,41.0372071 9.64988373,41.0358939 9.42849022,40.8842181 C8.36527888,40.159326 7.27920981,39.4666076 6.24865238,38.6977229 C4.61791607,37.4823467 3.12302003,36.1120117 1.87890603,34.4869139 C1.16770385,33.5584742 0.573402674,32.5637174 0.246210488,31.4297602 C0.137799504,31.0515557 0.0809816989,30.6582492 0,30.2721653 Z",id:"Stroke-1",fill:"#0079C1"})]})]})]})]}),(0,tS.jsx)("h5",{className:"card-title",children:"This is the name for featured product no. 3"}),(0,tS.jsx)("p",{className:"card-description",children:"Lorem ipsum dolor sit amet dolor natus hic galisum officia sed voluptatum aperiam quo deleniti eligendi qui inventore quis ut quos nihil cum quas autem quo doloribus alias sed."}),(0,tS.jsx)("a",{className:"card-link",href:"#",children:"Optional Call-to-Action"})]}),(0,tS.jsxs)("div",{className:"card card-half",children:[(0,tS.jsxs)("div",{className:"card-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Award winning"}),(0,tS.jsxs)("svg",{width:"84px",height:"84px",viewBox:"0 0 84 84",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Auto Home Life"}),(0,tS.jsxs)("g",{id:"icon/auto_home_life",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("circle",{id:"Oval-Copy-6",fill:"#0079C1",cx:"42",cy:"42",r:"42"}),(0,tS.jsxs)("g",{id:"Group-31",transform:"translate(20, 21)",stroke:"#FFFFFF",children:[(0,tS.jsx)("path",{d:"M10.0608337,14.3474285 L19.734537,5.58543771 C19.8025792,5.52389287 19.9062278,5.52389287 19.97427,5.58543771 L29.6479733,14.3474285 L33.2746974,17.6324149 C33.3073772,17.6620927 33.3502999,17.6786344 33.394442,17.6786344 L38.980246,17.6786344 C39.1431571,17.6786344 39.2204667,17.4784312 39.0999905,17.3692073 L29.6479733,8.80814946 L19.97427,0.0461586318 C19.9062278,-0.0153862106 19.8025792,-0.0153862106 19.734537,0.0461586318 L10.0608337,8.80814946 L0.608816452,17.3692073 C0.488096361,17.4784312 0.565649874,17.6786344 0.728561027,17.6786344 L6.31436497,17.6786344 C6.35850707,17.6786344 6.40118589,17.6620927 6.43410955,17.6324149 L10.0608337,14.3474285 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M21.4165458,38.07063 L7.09646044,38.07063 C6.68089068,38.07063 6.34409382,37.7346876 6.34409382,37.3201721 L6.34409382,17.825296",id:"Stroke-3"}),(0,tS.jsx)("line",{x1:"33.2769411",y1:"17.6299337",x2:"33.2162153",y2:"23.9780531",id:"Stroke-5"}),(0,tS.jsx)("line",{x1:"9.50220455",y1:"27.5722475",x2:"17.4726571",y2:"27.5722475",id:"Stroke-11"}),(0,tS.jsx)("polyline",{id:"Stroke-13",points:"29.1608982 8.24750757 29.1608982 5.54050754 33.4885305 5.54050754 33.4885305 12.3444966"}),(0,tS.jsx)("line",{x1:"15.5901065",y1:"13.3058611",x2:"23.8051697",y2:"13.3058611",id:"Stroke-15","stroke-linecap":"round"}),(0,tS.jsx)("line",{x1:"26.5064219",y1:"16.2391175",x2:"12.8887079",y2:"16.2391175",id:"Stroke-1
17","stroke-linecap":"round"}),(0,tS.jsx)("path",{d:"M34.032088,5.46733486 L28.6172432,5.46733486 C28.2894698,5.46733486 28.0238856,5.20242445 28.0238856,4.87572594 L28.0238856,3.7910285 C28.0238856,3.46432999 28.2894698,3.19941958 28.6172432,3.19941958 L34.032088,3.19941958 C34.3596174,3.19941958 34.6252016,3.46432999 34.6252016,3.7910285 L34.6252016,4.87572594 C34.6252016,5.20242445 34.3596174,5.46733486 34.032088,5.46733486 Z",id:"Stroke-19"}),(0,tS.jsxs)("g",{id:"icon-auto-copy-2",transform:"translate(21.55, 24)",children:[(0,tS.jsx)("path",{d:"M0.619061464,5.15075865 L0.619061464,5.15075865 C0.619061464,4.65044587 0.93503085,4.24534832 1.32487477,4.24534832 L3.63456648,4.26352578 L3.2224712,6.05616898 L1.32487477,6.05616898 C0.93503085,6.05616898 0.619061464,5.65107144 0.619061464,5.15075865 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M19.2390039,5.15075865 L19.2390039,5.15075865 C19.2390039,4.65044587 19.5549733,4.24534832 19.9448172,4.24534832 L22.2545089,4.26352578 L21.8424136,6.05616898 L19.9448172,6.05616898 C19.5549733,6.05616898 19.2390039,5.65107144 19.2390039,5.15075865 Z",id:"Stroke-1-Copy",transform:"translate(20.7468, 5.1508) scale(-1, 1) translate(-20.7468, -5.1508)"}),(0,tS.jsx)("path",{d:"M3.51229553,18 L3.51229553,18 C2.6675708,18.0042052 1.97987426,17.3414448 1.97552961,16.5199358 L1.9687023,15.0423062 L5.02671751,15.0278196 L5.03418614,16.5054493 C5.03851014,17.3269582 4.35702025,17.9957547 3.51229553,18 Z",id:"Stroke-5"}),(0,tS.jsx)("path",{d:"M19.5098673,18 L19.5098673,18 C18.6651426,18.0042052 17.9774461,17.3414448 17.9731014,16.5199358 L17.9662741,15.0423062 L21.0242893,15.0278196 L21.0317579,16.5054493 C21.0360819,17.3269582 20.354592,17.9957547 19.5098673,18 Z",id:"Stroke-7"}),(0,tS.jsx)("line",{x1:"13.0735118",y1:"6.5410464",x2:"14.7896499",y2:"3.20672195",id:"Stroke-9"}),(0,tS.jsx)("line",{x1:"8.21041733",y1:"6.5410464",x2:"9.92655536",y2:"3.20672195",id:"Stroke-11"}),(0,tS.jsx)("line",{x1:"4.22748751",y1:"10.6254731",x2:"8.60875997",y2:"10.6049505",id:"Stroke-13"}),(0,tS.jsx)("line",{x1:"14.3916176",y1:"10.6254731",x2:"18.77289",y2:"10.6049505",id:"Stroke-15"}),(0,tS.jsx)("path",{d:"M20.0083853,6.62573244 L3.00961915,6.54062387 L0.207317811,8.64419387 C0.0707715661,8.87054646 -0.00122554459,9.13190824 0,9.39809888 L0.0229803806,14.0283673 C0.0260837043,14.5782532 0.461790357,15.0225079 0.997424034,15.0195051 L22.0354763,14.9217055 C22.57111,14.9192911 23.002472,14.4714148 23,13.9215289 L22.9770247,9.29126046 C22.9757834,9.02506982 22.9013036,8.76431165 22.7628954,8.53916628 L20.0083853,6.62573244 Z",id:"Stroke-1
17"}),(0,tS.jsx)("path",{d:"M19.8481917,6.56181047 L3.15230997,6.56181047 L5.13013906,0.587506467 C5.24624364,0.236796637 5.57407215,2.8990758e-16 5.94350098,2.22044605e-16 L16.9438514,0 C17.30794,-6.68819853e-17 17.6322635,0.230107113 17.7525322,0.573757995 L19.8481917,6.56181047 L19.8481917,6.56181047 Z",id:"Stroke-19"})]}),(0,tS.jsx)("path",{d:"M0,30.2721653 C0,29.9648741 0,29.6575829 0,29.3502917 C0.0117554079,29.2951368 0.0280823633,29.239982 0.0339600673,29.1835139 C0.16849418,27.8854055 0.639363574,26.7297804 1.51122299,25.7586614 C2.65215064,24.4868171 4.07912654,23.861729 5.78561992,24.0271935 C7.44835706,24.1887184 8.70879802,25.0580636 9.63551601,26.4369345 C9.67992533,26.502595 9.72368157,26.5689121 9.75829472,26.6201274 C10.0378122,26.2740964 10.2853288,25.9234693 10.5759486,25.6135516 C12.3621176,23.7074268 15.1847216,23.4631697 17.2660819,25.0245768 C19.195928,26.4723912 20.1690146,29.3187746 19.1227833,31.9412557 C18.6133823,33.2170395 17.8473215,34.3260457 16.9441143,35.3431271 C14.9685527,37.568362 12.624655,39.3392261 10.1103039,40.896037 C9.8817265,41.0372071 9.64988373,41.0358939 9.42849022,40.8842181 C8.36527888,40.159326 7.27920981,39.4666076 6.24865238,38.6977229 C4.61791607,37.4823467 3.12302003,36.1120117 1.87890603,34.4869139 C1.16770385,33.5584742 0.573402674,32.5637174 0.246210488,31.4297602 C0.137799504,31.0515557 0.0809816989,30.6582492 0,30.2721653 Z",id:"Stroke-1",fill:"#0079C1"})]})]})]})]}),(0,tS.jsx)("h5",{className:"card-title",children:"This is the name for featured product no. 3"}),(0,tS.jsx)("p",{className:"card-description",children:"Lorem ipsum dolor sit amet dolor natus hic galisum officia sed voluptatum aperiam quo deleniti eligendi qui inventore quis ut quos nihil cum quas autem quo doloribus alias sed."}),(0,tS.jsx)("a",{className:"card-link",href:"#",children:"Optional Call-to-Action"})]}),(0,tS.jsxs)("div",{className:"card card-half",children:[(0,tS.jsxs)("div",{className:"card-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Award winning"}),(0,tS.jsxs)("svg",{width:"84px",height:"84px",viewBox:"0 0 84 84",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Auto Home Life"}),(0,tS.jsxs)("g",{id:"icon/auto_home_life",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("circle",{id:"Oval-Copy-6",fill:"#0079C1",cx:"42",cy:"42",r:"42"}),(0,tS.jsxs)("g",{id:"Group-31",transform:"translate(20, 21)",stroke:"#FFFFFF",children:[(0,tS.jsx)("path",{d:"M10.0608337,14.3474285 L19.734537,5.58543771 C19.8025792,5.52389287 19.9062278,5.52389287 19.97427,5.58543771 L29.6479733,14.3474285 L33.2746974,17.6324149 C33.3073772,17.6620927 33.3502999,17.6786344 33.394442,17.6786344 L38.980246,17.6786344 C39.1431571,17.6786344 39.2204667,17.4784312 39.0999905,17.3692073 L29.6479733,8.80814946 L19.97427,0.0461586318 C19.9062278,-0.0153862106 19.8025792,-0.0153862106 19.734537,0.0461586318 L10.0608337,8.80814946 L0.608816452,17.3692073 C0.488096361,17.4784312 0.565649874,17.6786344 0.728561027,17.6786344 L6.31436497,17.6786344 C6.35850707,17.6786344 6.40118589,17.6620927 6.43410955,17.6324149 L10.0608337,14.3474285 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M21.4165458,38.07063 L7.09646044,38.07063 C6.68089068,38.07063 6.34409382,37.7346876 6.34409382,37.3201721 L6.34409382,17.825296",id:"Stroke-3"}),(0,tS.jsx)("line",{x1:"33.2769411",y1:"17.6299337",x2:"33.2162153",y2:"23.9780531",id:"Stroke-5"}),(0,tS.jsx)("line",{x1:"9.50220455",y1:"27.5722475",x2:"17.4726571",y2:"27.5722475",id:"Stroke-11"}),(0,tS.jsx)("polyline",{id:"Stroke-13",points:"29.1608982 8.24750757 29.1608982 5.54050754 33.4885305 5.54050754 33.4885305 12.3444966"}),(0,tS.jsx)("line",{x1:"15.5901065",y1:"13.3058611",x2:"23.8051697",y2:"13.3058611",id:"Stroke-15","stroke-linecap":"round"}),(0,tS.jsx)("line",{x1:"26.5064219",y1:"16.2391175",x2:"12.8887079",y2:"16.2391175",id:"Stroke-1
17","stroke-linecap":"round"}),(0,tS.jsx)("path",{d:"M34.032088,5.46733486 L28.6172432,5.46733486 C28.2894698,5.46733486 28.0238856,5.20242445 28.0238856,4.87572594 L28.0238856,3.7910285 C28.0238856,3.46432999 28.2894698,3.19941958 28.6172432,3.19941958 L34.032088,3.19941958 C34.3596174,3.19941958 34.6252016,3.46432999 34.6252016,3.7910285 L34.6252016,4.87572594 C34.6252016,5.20242445 34.3596174,5.46733486 34.032088,5.46733486 Z",id:"Stroke-19"}),(0,tS.jsxs)("g",{id:"icon-auto-copy-2",transform:"translate(21.55, 24)",children:[(0,tS.jsx)("path",{d:"M0.619061464,5.15075865 L0.619061464,5.15075865 C0.619061464,4.65044587 0.93503085,4.24534832 1.32487477,4.24534832 L3.63456648,4.26352578 L3.2224712,6.05616898 L1.32487477,6.05616898 C0.93503085,6.05616898 0.619061464,5.65107144 0.619061464,5.15075865 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M19.2390039,5.15075865 L19.2390039,5.15075865 C19.2390039,4.65044587 19.5549733,4.24534832 19.9448172,4.24534832 L22.2545089,4.26352578 L21.8424136,6.05616898 L19.9448172,6.05616898 C19.5549733,6.05616898 19.2390039,5.65107144 19.2390039,5.15075865 Z",id:"Stroke-1-Copy",transform:"translate(20.7468, 5.1508) scale(-1, 1) translate(-20.7468, -5.1508)"}),(0,tS.jsx)("path",{d:"M3.51229553,18 L3.51229553,18 C2.6675708,18.0042052 1.97987426,17.3414448 1.97552961,16.5199358 L1.9687023,15.0423062 L5.02671751,15.0278196 L5.03418614,16.5054493 C5.03851014,17.3269582 4.35702025,17.9957547 3.51229553,18 Z",id:"Stroke-5"}),(0,tS.jsx)("path",{d:"M19.5098673,18 L19.5098673,18 C18.6651426,18.0042052 17.9774461,17.3414448 17.9731014,16.5199358 L17.9662741,15.0423062 L21.0242893,15.0278196 L21.0317579,16.5054493 C21.0360819,17.3269582 20.354592,17.9957547 19.5098673,18 Z",id:"Stroke-7"}),(0,tS.jsx)("line",{x1:"13.0735118",y1:"6.5410464",x2:"14.7896499",y2:"3.20672195",id:"Stroke-9"}),(0,tS.jsx)("line",{x1:"8.21041733",y1:"6.5410464",x2:"9.92655536",y2:"3.20672195",id:"Stroke-11"}),(0,tS.jsx)("line",{x1:"4.22748751",y1:"10.6254731",x2:"8.60875997",y2:"10.6049505",id:"Stroke-13"}),(0,tS.jsx)("line",{x1:"14.3916176",y1:"10.6254731",x2:"18.77289",y2:"10.6049505",id:"Stroke-15"}),(0,tS.jsx)("path",{d:"M20.0083853,6.62573244 L3.00961915,6.54062387 L0.207317811,8.64419387 C0.0707715661,8.87054646 -0.00122554459,9.13190824 0,9.39809888 L0.0229803806,14.0283673 C0.0260837043,14.5782532 0.461790357,15.0225079 0.997424034,15.0195051 L22.0354763,14.9217055 C22.57111,14.9192911 23.002472,14.4714148 23,13.9215289 L22.9770247,9.29126046 C22.9757834,9.02506982 22.9013036,8.76431165 22.7628954,8.53916628 L20.0083853,6.62573244 Z",id:"Stroke-1
17"}),(0,tS.jsx)("path",{d:"M19.8481917,6.56181047 L3.15230997,6.56181047 L5.13013906,0.587506467 C5.24624364,0.236796637 5.57407215,2.8990758e-16 5.94350098,2.22044605e-16 L16.9438514,0 C17.30794,-6.68819853e-17 17.6322635,0.230107113 17.7525322,0.573757995 L19.8481917,6.56181047 L19.8481917,6.56181047 Z",id:"Stroke-19"})]}),(0,tS.jsx)("path",{d:"M0,30.2721653 C0,29.9648741 0,29.6575829 0,29.3502917 C0.0117554079,29.2951368 0.0280823633,29.239982 0.0339600673,29.1835139 C0.16849418,27.8854055 0.639363574,26.7297804 1.51122299,25.7586614 C2.65215064,24.4868171 4.07912654,23.861729 5.78561992,24.0271935 C7.44835706,24.1887184 8.70879802,25.0580636 9.63551601,26.4369345 C9.67992533,26.502595 9.72368157,26.5689121 9.75829472,26.6201274 C10.0378122,26.2740964 10.2853288,25.9234693 10.5759486,25.6135516 C12.3621176,23.7074268 15.1847216,23.4631697 17.2660819,25.0245768 C19.195928,26.4723912 20.1690146,29.3187746 19.1227833,31.9412557 C18.6133823,33.2170395 17.8473215,34.3260457 16.9441143,35.3431271 C14.9685527,37.568362 12.624655,39.3392261 10.1103039,40.896037 C9.8817265,41.0372071 9.64988373,41.0358939 9.42849022,40.8842181 C8.36527888,40.159326 7.27920981,39.4666076 6.24865238,38.6977229 C4.61791607,37.4823467 3.12302003,36.1120117 1.87890603,34.4869139 C1.16770385,33.5584742 0.573402674,32.5637174 0.246210488,31.4297602 C0.137799504,31.0515557 0.0809816989,30.6582492 0,30.2721653 Z",id:"Stroke-1",fill:"#0079C1"})]})]})]})]}),(0,tS.jsx)("h5",{className:"card-title",children:"This is the name for featured product no. 3"}),(0,tS.jsx)("p",{className:"card-description",children:"Lorem ipsum dolor sit amet dolor natus hic galisum officia sed voluptatum aperiam quo deleniti eligendi qui inventore quis ut quos nihil cum quas autem quo doloribus alias sed."}),(0,tS.jsx)("a",{className:"card-link",href:"#",children:"Optional Call-to-Action"})]})]})})),rn=tL().publicUrl,ri=e=>(console.log("featuredproductcards-examples: ",e),(0,tS.jsx)("div",{className:"card card-half promotion",children:(0,tS.jsxs)("div",{className:"container-product-cards-promotion",children:[(0,tS.jsxs)("div",{className:"container-product-cards-promotion__text",children:[(0,tS.jsxs)("h4",{children:[(0,tS.jsx)("b",{children:"Long-Term"})," care riders"]}),(0,tS.jsx)("p",{children:"Available with a universal life or whole life policy, add long-term care rider insurance to help cover the cost of hands-on daily care from a nurse or health aide."}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow",children:"Primary Button"})]}),(0,tS.jsx)("div",{className:"container-product-cards-promotion__image-container",children:(0,tS.jsx)("img",{className:"container-product-cards-promotion__image",src:"".concat(rn,"/image-hero-tablet-fpo.webp")})})]})})),rs=e=>(console.log("featuredproductcards-examples: ",e),(0,tS.jsx)("div",{className:"card card-half bundling",children:(0,tS.jsxs)("div",{className:"container-product-cards-bundling",children:[(0,tS.jsxs)("div",{className:"container-product-cards-bundling__text",children:[(0,tS.jsxs)("h4",{children:["Get started with your ",(0,tS.jsx)("b",{children:"bundled offer today"})]}),(0,tS.jsx)("form",{children:(0,tS.jsxs)("div",{className:"container-product-cards-form",children:[(0,tS.jsxs)("div",{className:"container-product-cards-form__dropdown",children:[(0,tS.jsx)("label",{children:"Bundling Type "}),(0,tS.jsx)("span",{className:"select-frame",children:(0,tS.jsxs)("select",{name:"insurance-type",children:[(0,tS.jsx)("option",{value:"life",children:"Auto and Homeowners"}),(0,tS.jsx)("option",{value:"home",children:"Home"}
1),(0,tS.jsx)("option",{value:"renters",children:"Renters"}),(0,tS.jsx)("option",{value:"Auto",children:"Auto"}),(0,tS.jsx)("option",{value:"business",children:"Business"})]})})]}),(0,tS.jsxs)("div",{className:"container-product-cards-form__zip",children:[(0,tS.jsx)("label",{children:"ZIP"}),(0,tS.jsx)("input",{type:"text",name:"zip-code",placeholder:"Zip Code"})]})]})}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow",children:"Get a quote"})]}),(0,tS.jsx)("div",{className:"container-product-cards-bundling__image-container",children:(0,tS.jsx)("img",{className:"container-product-cards-bundling__image",src:"".concat(rn,"/image-hero-tablet-fpo.webp")})})]})})),rr=e=>{console.log("feedback modal props--",e);let[t,a]=(0,tk.useState)(!0),[l,n]=(0,tk.useState)(""),[i,s]=(0,tk.useState)(0),r=tL().publicUrl,o=r+"/star.svg",c=r+"/star-filled.svg";if(!t)return null;let d=e=>{n(e.target.value)},u=e=>{s(e)};return(0,tS.jsx)("div",{className:"feedback-modal__overlay",children:(0,tS.jsxs)("div",{className:"feedback-modal",children:[(0,tS.jsxs)("button",{className:"feedback-modal__close",onClick:()=>{a(!t)},children:[" ",(0,tS.jsx)("img",{src:r+"/close-large.svg"})]}),(0,tS.jsxs)("div",{className:"feedback-modal__content",children:[(0,tS.jsx)("h4",{className:"feedback-modal__title",children:"Give feedback"}),(0,tS.jsx)("p",{className:"feedback-modal__description",children:"Intro copy lorem ipsum dolor sit amet consectetur adipiscing elit dolor sit."}),(0,tS.jsxs)("form",{className:"feedback-modal__form",action:"#",method:"post",children:[(0,tS.jsx)("p",{className:"feedback-modal__star-description",children:"How satisfied are you with the information in Claim Status?"}),(0,tS.jsx)("div",{className:"feedback-modal__star-rating",children:[1,2,3,4,5].map(e=>(0,tS.jsx)("img",{src:e<=i?c:o,alt:"".concat(e," star"),className:"star",onClick:()=>u(e)},e))}),(0,tS.jsx)("p",{children:"Multiple choice radio button"}),(0,tS.jsx)("div",{className:"feedback-modal__radio",children:[{value:"1",label:"Option 1"},{value:"2",label:"Option 2"},{value:"3",label:"Option 3"},{value:"4",label:"Option 4"},{value:"5",label:"Option 5"}].map(e=>(0,tS.jsxs)("div",{className:"feedback-modal__radio-buttons",children:[(0,tS.jsx)("input",{type:"radio",id:"rating".concat(e.value),name:"Radio Buttons",value:e.value,checked:l===e.value,onChange:d}),(0,tS.jsx)("label",{className:"feedback-modal__radio-label",htmlFor:"rating".concat(e.value),children:e.label})]},e.value))}),(0,tS.jsx)("p",{children:"Do you have any other feedback or suggestions?"}),(0,tS.jsx)("textarea",{className:"feedback-modal__textarea",placeholder:"Provide additional feedback here (Optional)"}),(0,tS.jsxs)("div",{className:"feedback-modal__buttons",children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow",children:"Submit"}),(0,tS.jsx)("a",{href:"#",className:"feedback-modal__buttons-dismiss",children:"Dismiss"})]})]}),(0,tS.jsx)("div",{className:"feedback-modal__experience",children:(0,tS.jsx)("p",{children:"Enjoying your experience? Rate us in the app store"})})]})]})})};var ro=rr;let rc=tL().publicUrl,rd=e=>(console.log("MultiColumnOverview: ",e),(0,tS.jsx)("div",{className:"component-frame multicolumn-overview",children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsxs)("div",{className:"multicolumn-overview-body",children:[(0,tS.jsxs)("div",{className:"multicolumn-overview-content",children:[(0,tS.jsx)("img",{src:"".concat(rc,"/icons/multicolumn-icon.svg")}),(0,tS.jsx)("h5",{children:"Featured Content Headline 1"}),(0,tS.jsx)("p",{children:"Lorem ipsum dolor sit amet. Et aperiam vero ex pariatur doloribus est consequuntur harum. Aut quae veniam cum architecto porro quo doloribus quas qui voluptatem quasi aut magni aliquam vel quas obcaecati et eveniet commodi rerum sed cumque."}),(0,tS.jsx)("a",{className:"multicolumn-overview-cta",children:"Optional call-to-action"})]}),(0,tS.jsxs)("div",{className:"multicolumn-overview-content",children:[(0,tS.jsx)("img",{src:"".concat(rc,"/icons/multicolumn-icon.svg")}),(0,tS.jsx)("h5",{children:"Featured Content Headline 1"}),(0,tS.jsx)("p",{children:"Lorem ipsum dolor sit amet. Et aperiam vero ex pariatur doloribus est consequuntur harum. Aut quae veniam cum architecto porro quo doloribus quas qui voluptatem quasi aut magni aliquam vel quas."}),(0,tS.jsx)("a",{className:"multicolumn-overview-cta",children:"Optional call-to-action"})]}),(0,tS.jsxs)("div",{className:"multicolumn-overview-content",children:[(0,tS.jsx)("img",{src:"".concat(rc,"/icons/multicolumn-icon.svg")}),(0,tS.jsx)("h5",{children:"Featured Content Headline 1"}),(0,tS.jsx)("p",{children:"Lorem ipsum dolor sit amet. Et aperiam vero ex pariatur doloribus est consequuntur harum quae veniam cum architecto."}),(0,tS.jsx)("a",{className:"multicolumn-overview-cta",children:"Optional call-to-action"})]})]})})})),ru=tL().publicUrl,rm=e=>(console.log("ProductIconTeaserCallout: ",e),(0,tS.jsx)("div",{className:"component-frame product-teaser",children:(0,tS.jsxs)("section",{className:"section-frame",children:[(0,tS.jsxs)("div",{className:"product-teaser-title",children:[(0,tS.jsxs)("h2",{children:["We help ",(0,tS.jsx)("b",{children:"cover your life better."})]}),(0,tS.jsx)("p",{children:"You can service anything in life when you have a friend to lean on."})]}),(0,tS.jsxs)("div",{className:"product-teaser-group",children:[(0,tS.jsxs)("div",{className:"product-teaser-section",children:[(0,tS.jsx)("img",{src:"".concat(ru,"/icons/product-icon-teaser.svg")}),(0,tS.jsxs)("div",{className:"product-teaser-text",children:[(0,tS.jsx)("a",{className:"product-teaser-section-link",children:"Auto Insurance"}),(0,tS.jsx)("p",{children:"Nam condimentum vitae ligula vel ornare phasellus at semper turpis. "})]})]}),(0,tS.jsxs)("div",{className:"product-teaser-section",children:[(0,tS.jsx)("img",{src:"".concat(ru,"/icons/product-icon-teaser.svg")}),(0,tS.jsxs)("div",{className:"product-teaser-text",children:[(0,tS.jsx)("a",{className:"product-teaser-section-link",children:"Homeowners Insurance"}),(0,tS.jsx)("p",{children:"Nam condimentum vitae ligula vel ornare phasellus at semper turpis. "})]})]}),(0,tS.jsxs)("div",{className:"product-teaser-section",children:[(0,tS.jsx)("img",{src:"".concat(ru,"/icons/product-icon-teaser.svg")}),(0,tS.jsxs)("div",{className:"product-teaser-text",children:[(0,tS.jsx)("a",{className:"product-teaser-section-link",children:"Renters Insurance"}),(0,tS.jsx)("p",{children:"Nam condimentum vitae ligula vel ornare phasellus at semper turpis. "})]})]}),(0,tS.jsxs)("div",{className:"product-teaser-section",children:[(0,tS.jsx)("img",{src:"".concat(ru,"/icons/product-icon-teaser.svg")}),(0,tS.jsxs)("div",{className:"product-teaser-text",children:[(0,tS.jsx)("a",{className:"product-teaser-section-link",children:"Life Insurance"}),(0,tS.jsx)("p",{children:"Nam condimentum vitae ligula vel ornare phasellus at semper turpis. "})]})]}),(0,tS.jsxs)("div",{className:"product-teaser-section",children:[(0,tS.jsx)("img",{src:"".concat(ru,"/icons/product-icon-teaser.svg")}),(0,tS.jsxs)("div",{className:"product-teaser-text",children:[(0,tS.jsx)("a",{className:"product-teaser-section-link",children:"Business Insurance"}),(0,tS.jsx)("p",{children:"Nam condimentum vitae ligula vel ornare phasellus at semper turpis. "})]})]}),(0,tS.jsxs)("div",{className:"product-teaser-section",children:[(0,tS.jsx)("img",{src:"".concat(ru,"/icons/product-icon-teaser.svg")}),(0,tS.jsxs)("div",{className:"product-teaser-text",children:[(0,tS.jsx)("a",{className:"product-teaser-section-link",children:"Bundles"}),(0,tS.jsx)("p",{children:"Nam condimentum vitae ligula vel ornare phasellus at semper turpis. "})]})]})]}),(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow product-teaser-button",children:"Explore all options"})]})})),rv=e=>(console.log("QuoteCallout: ",e),(0,tS.jsx)("section",{className:"quote-callout section-frame component-frame sct-secondary",children:(0,tS.jsx)("div",{className:"margin-container",children:(0,tS.jsx)("form",{action:"/",method:"post",children:(0,tS.jsxs)("div",{className:"quote-callout-wrapper",children:[(0,tS.jsxs)("div",{children:[(0,tS.jsxs)("h3",{children:["Do you have the ",(0,tS.jsx)("b",{children:"coverage you need?"})]}),(0,tS.jsx)("p",{children:"Discover great rates from local people who care. Get a free quote now."})]}),(0,tS.jsxs)("div",{className:"quote-callout-form",children:[(0,tS.jsxs)("div",{className:"quote-callout-form-insurance",children:[(0,tS.jsx)("label",{children:"Insurance Type "}),(0,tS.jsx)("span",{className:"select-frame",children:(0,tS.jsxs)("select",{name:"insurance-type",children:[(0,tS.jsx)("option",{value:"life",children:"Life"}),(0,tS.jsx)("option",{value:"home",children:"Home"}
1),(0,tS.jsx)("option",{value:"renters",children:"Renters"}),(0,tS.jsx)("option",{value:"Auto",children:"Auto"}),(0,tS.jsx)("option",{value:"business",children:"Business"})]})})]}),(0,tS.jsxs)("div",{className:"quote-callout-form-zip",children:[(0,tS.jsx)("label",{children:"Zip"}),(0,tS.jsx)("input",{type:"text",name:"zip-code",placeholder:"Zip Code"})]}),(0,tS.jsx)("div",{className:"btn-wrapper",children:(0,tS.jsx)("a",{href:"#",className:"btn btn-primary arrow",children:"Get a quote"})})]})]})})})})),rh=tL().publicUrl,rp=e=>(console.log("SavedAgencyCard: ",e),(0,tS.jsx)("div",{className:"saved-agency-card",children:(0,tS.jsxs)("div",{className:"saved-agency-card-wrapper sct-secondary",children:[(0,tS.jsx)("img",{className:"profile-img",src:"".concat(rh,"/image-hero-tablet-fpo.webp")}),(0,tS.jsxs)("div",{className:"saved-agency-card-content",children:[(0,tS.jsx)("p",{className:"saved-agency-card-label label-small",children:"My Agency"}),(0,tS.jsx)("h5",{className:"saved-agency-card-heading",children:"Prodigy Insurance Agency Inc."}),(0,tS.jsxs)("div",{className:"saved-agency-card-hours",children:[(0,tS.jsxs)("svg",{className:"saved-agency-card-clock",width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,tS.jsx)("title",{children:"Clock Icon"}),(0,tS.jsxs)("g",{id:"Clock Icon",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[(0,tS.jsx)("path",{d:"M8,0.5 C10.0710567,0.5 11.9461563,1.33938803 13.3034423,2.69667412 C14.660573,4.05380476 15.5,5.92871296 15.5,8 C15.5,10.0709375 14.6604606,11.9459327 13.3031966,13.3031966 C11.9459327,14.6604606 10.0709375,15.5 8,15.5 C5.92871296,15.5 4.05380476,14.660573 2.69667412,13.3034423 C1.33938803,11.9461563 0.5,10.0710567 0.5,8 C0.5,5.92859375 1.33927562,4.05358116 2.69642839,2.69642839 C4.05358116,1.33927562 5.92859375,0.5 8,0.5 Z",id:"Path",stroke:"#fff"}),(0,tS.jsx)("polyline",{id:"Path",stroke:"#fff",strokeLinecap:"round",points:"8 3 8 7.878 11 11"})]})]}),(0,tS.jsx)("span",{className:"saved-agency-card-open",children:"Open Now "}),(0,tS.jsx)("span",{className:"saved-agency-card-closed",children:"/ Closes 5pm"})]}),(0,tS.jsxs)("div",{className:"saved-agency-card-buttons",children:[(0,tS.jsx)("a",{href:"#",className:"btn btn-primary",children:"Call (773) 853-2091"}),(0,tS.jsx)("a",{href:"#",className:"btn btn-secondary",children:"Agency details"})]})]})]})})),rx=e=>(console.log("ThreeColumnFeatures: ",e),(0,tS.jsxs)("div",{className:"container-column-features",children:[(0,tS.jsxs)("div",{className:"column",children:[(0,tS.jsxs)("div",{className:"column-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Cost effective"}),(0,tS.jsxs)("svg",{width:"48px",height:"48px",viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Cost effective"}),(0,tS.jsxs)("g",{id:"icon/cost_effective",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("rect",{id:"Rectangle",x:"0",y:"0",width:"48",height:"48"}),(0,tS.jsxs)("g",{id:"Group",transform:"translate(3, 2)",stroke:"#002955",children:[(0,tS.jsx)("path",{d:"M28,29 C28,36.7318241 21.7326948,43 14,43 C6.26817588,43 0,36.7318241 0,29 C0,21.2673052 6.26817588,15 14,15 C21.7326948,15 28,21.2673052 28,29 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M15.8265404,26.118149 C15.3406185,25.5044144 14.5620771,25.1975472 13.490916,25.1975472 C11.8841744,25.1975472 11.0946347,26.7411537 11.4502442,27.7680591 C12.0781432,29.9025837 16.2651365,29.0631266 16.2211436,31.5445384 C16.2211436,33.5468381 14.4439294,33.8229225 13.5067468,33.8229225 C12.5695642,33.8229225 11.5075683,33.1805266 10.890001,32.2613502",id:"Path-5-Copy-5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"13.6274274",y1:"23.4592331",x2:"13.6274274",y2:"25.1975472",id:"Path-7-Copy-11","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"13.6274274",y1:"33.8839137",x2:"13.6274274",y2:"35.2446462",id:"Path-7-Copy-12","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("path",{d:"M43,14.0004353 C43,21.732019 36.7326948,28 29,28 C21.2673052,28 15,21.732019 15,14.0004353 C15,6.26885164 21.2673052,0 29,0 C36.7326948,0 43,6.26885164 43,14.0004353 Z",id:"Stroke-3","stroke-dasharray":"2,2"}),(0,tS.jsx)("path",{d:"M31.1456765,9.7937345 C30.6597547,9.17999998 29.8812132,8.87313272 28.8100522,8.87313272 C27.2033106,8.87313272 26.4137709,10.4167392 26.7693804,11.4436446 C27.3972794,13.5781692 31.5842727,12.7387122 31.5402798,15.2201239 C31.54
102798,17.2224237 29.7630656,17.4985081 28.825883,17.4985081 C27.8887004,17.4985081 26.8267045,16.8561121 26.2091372,15.9369357",id:"Path-5-Copy-5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"28.9465636",y1:"7.13481859",x2:"28.9465636",y2:"8.87313272",id:"Path-7-Copy-11","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"28.9465636",y1:"17.5594992",x2:"28.9465636",y2:"18.9202317",id:"Path-7-Copy-12","stroke-linecap":"round","stroke-linejoin":"round"})]})]})]})]}),(0,tS.jsx)("h4",{className:"column-title",children:"Optional headline"}),(0,tS.jsx)("h5",{className:"column-label",children:"optional label"}),(0,tS.jsxs)("p",{className:"column-description",children:["In hac habitasse platea dictumst vivamus adipiscing fermentum ",(0,tS.jsx)("sup",{children:(0,tS.jsx)("a",{href:"/",children:"1"})})]})]}),(0,tS.jsxs)("div",{className:"column",children:[(0,tS.jsxs)("div",{className:"column-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Convenient"}),(0,tS.jsxs)("svg",{width:"48px",height:"48px",viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Convenient"}),(0,tS.jsxs)("g",{id:"icon/convenient",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("rect",{id:"Rectangle",x:"0",y:"0",width:"48",height:"48"}),(0,tS.jsxs)("g",{id:"Group-2",transform:"translate(4, 7)",stroke:"#002955",children:[(0,tS.jsx)("path",{d:"M5.38790742,16.1846588 C5.38790742,16.3822623 5.43693787,16.5798658 5.43693787,16.7774693 C5.43693787,16.876271 5.48596832,16.9750727 5.48596832,17.074366 C5.58451953,17.913935 6.02873543,18.6055472 6.66907315,18.9515991 C7.06327798,20.4832718 7.85168766,21.6693842 8.98527173,22.4597982 C9.1333437,22.5585999 9.28092536,22.6578932 9.47851808,22.7557118 C9.72465096,22.8545136 9.97127413,23.0029619 10.2664375,23.1017637 L10.3159582,23.1017637 C10.5625814,23.2005654 10.7596838,23.2502121 11.0058167,23.2998587 C11.2029191,23.3490138 11.4495423,23.3490138 11.6466447,23.3490138 L11.6956752,23.3490138 C11.8932679,23.3490138 12.0903703,23.3490138 12.2874727,23.2998587 C12.4845751,23.2502121 12.7311983,23.2005654 12.9283007,23.1017637 L12.9773312,23.1017637 C13.2729848,23.0029619 13.519608,22.9046518 13.7657409,22.7557118 C13.9138128,22.6578932 14.0613945,22.5585999 14.2094665,22.4597982 C14.8502945,22.0149446 15.392081,21.4712892 15.7867761,20.8288321 C15.9833882,20.5329185 16.1314602,20.1873582 16.2800225,19.7916596 C16.3285626,19.6432113 16.3780834,19.4947629 16.4271138,19.346806 C16.4761443,19.1988492 16.4761443,19.0504008 16.5261554,19.0007542 C16.5746955,18.9019524 16.7227675,18.8031507 16.8213187,18.704349 C16.8708394,18.6547023 16.9693906,18.6055472 17.0194017,18.5563921 C17.5606979,18.0618919 17.6592491,17.5187281 17.7087699,17.0247194 C17.7087699,16.9259177 17.7582906,16.8271159 17.7582906,16.7278226 C17.8068308,16.5302191 17.8068308,16.3331072 17.8068308,16.1350122 L17.8068308,15.6906501 C17.8563515,15.1469948 17.5606979,14.5541844 17.0194017,14.3565809 L17.0194017,14.2081325 C17.0194017,14.010529 17.0679419,13.8620806 17.0679419,13.7146154 C17.2155235,13.2201151 17.2655346,12.6764598 17.3140747,12.1824511 C17.3635955,10.4531749 16.4761443,9.02030386 14.9488457,8.32869169 C14.8007737,8.27904504 14.6036713,8.18073485 14.4555993,8.13108821 C13.6181592,7.78503635 12.6321568,7.58743287 11.6466447,7.58743287 L11.0058167,7.58743287 C10.4145094,7.63658796 9.57657899,7.68623461 8.88672052,8.03228647 C8.78865962,8.08193312 8.73913886,8.13108821 8.64058765,8.18073485 C8.34444371,8.37784678 8.09831084,8.62509691 7.90120842,8.92199367 L7.80265721,9.06945896 C7.704106,9.21790734 7.704106,9.21790734 7.60506449,9.31670908 C7.45797313,9.46515746 7.30990116,9.51480411 7.16182919,9.61360585 C6.81665481,9.76156268 6.57052194,10.0088128 6.42244997,10.2555714 C6.17582679,10.6507783 6.07776589,11.144787 6.02873543,11.7872441 C5.97921468,12.3805461 6.02873543,12.9733565 6.07776589,13.4177186 C6.07776589,13.6153221 6.12679634,13.8620806 6.17582679,14.1093308 C6.17582679,14.2081325 6.22534755,14.3074258 6.22534755,14.4062275 C5.63404029,14.5541844 5.33838666,15.2457965 5.33838666,15.7894519 C5.38790742,15.8877621 5.38790742,16.0362105 5.38790742,16.1846588 Z",id:"Stroke-2","stroke-width":"1.04546741"}),(0,tS.jsx)("path",{d:"M20.7889119,26.3919599 C20.7403718,26.3919599 17.4685697,25.1547262 16.4090216,24.7590277 C16.1687724,24.6607175 15.8804733,24.7590277 15.6877836,24.9571227 L11.693763,30.0520482 L7.69974229,25.0062778 C7.50656231,24.8086743 7.21826325,24.7098726 6.97752372,24.8086743 C5.8704161,25.2043728 2.59812369,26.3919599 2.59812369,26.4416066 C0,27.3313138 0,29.2611428 0,29.4100827 L0,32.476869 L0,32.5260241 C0.240249218,34.4558531 1.53955621,35 2.30982463,35 L21.1257512,35 C21.2218508,35 21.7028396,35 22.2328588,34.6534566 C22.7143378,34.3570514 23.2914262,33.7627663 23.4355758,32.5260241 L23.4355758,32.476869 L23.4355758,29.4100827 C23.3875259,29.2110046 23.3875259,27.2826502 20.7889119,26.3919599 Z",id:"Stroke-4"}),(0,tS.jsx)("path",{d:"M41,12.2591822 C41,15.9979186 37.9767823,19.0293133 34.2470358,19.0293133 C30.5172892,19.0293133 27.4935812,15.9979186 27.4935812,12.2591822 C27.4935812,8.52044571 30.5172892,5.48905105 34.2470358,5.48905105 C37.9767823,5.48905105 41,8.52044571 41,12.2591822 Z",id:"Stroke-6"}),(0,tS.jsx)("path",{d:"M35.8314691,9.79510875 C35.5349767,9.41763205 35.0599382,9.2288937 34.4063536,9.2288937 C33.4259766,9.2288937 32.9442273,10.1782871 33.1612077,10.809884 C33.5443295,12.1227209 36.099085,11.6064138 36.072242,13.1326032 C36.072242,14.3641153 34.9878487,14.5339207 34.416013,14.5339207 C33.8441772,14.5339207 33.1961848,14.1388159 32.819367,13.5734775",id:"Path-5-Copy","
1stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"34.489648",y1:"8.15974563",x2:"34.489648",y2:"9.2288937",id:"Path-7-Copy-3","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"34.489648",y1:"15.2995231",x2:"34.489648",y2:"15.7457591",id:"Path-7-Copy-4","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("polyline",{id:"Stroke-10","stroke-linecap":"round","stroke-linejoin":"round",points:"24.4167242 4.07987281 28.4862517 3.49792777 25.9836184 0"}),(0,tS.jsx)("path",{d:"M27.5973787,2.86805228 C23.1145244,0.690973159 17.5618256,1.58559587 13.997802,5.4359144",id:"Stroke-12","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("polyline",{id:"Stroke-10","stroke-linecap":"round","stroke-linejoin":"round",transform:"translate(28.9995, 30.7585) scale(-1, -1) rotate(-31) translate(-28.9995, -30.7585)",points:"26.9629918 32.7979129 31.0359151 32.2117922 28.5355098 28.7190258"}),(0,tS.jsx)("path",{d:"M39.8633145,25.8136842 C35.3798744,23.6431004 29.8224297,24.5433531 26.2516926,28.3950816",id:"Stroke-12","stroke-linecap":"round","stroke-linejoin":"round",transform:"translate(33.0575, 26.5264) scale(-1, -1) rotate(-31) translate(-33.0575, -26.5264)"})]})]})]})]}),(0,tS.jsx)("h4",{className:"column-title",children:"Optional headline"}),(0,tS.jsx)("h5",{className:"column-label",children:"optional label"}),(0,tS.jsxs)("p",{className:"column-description",children:["Quam volutpat aliquam integer et elit eget elit facilisis tristique ",(0,tS.jsx)("sup",{children:(0,tS.jsx)("a",{href:"/",children:"2"})})]})]}),(0,tS.jsxs)("div",{className:"column",children:[(0,tS.jsxs)("div",{className:"column-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Award winning"}),(0,tS.jsxs)("svg",{width:"48px",height:"48px",viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Award winning"}),(0,tS.jsxs)("g",{id:"icon/award_winning",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("rect",{id:"Rectangle",x:"0",y:"0",width:"48",height:"48"}),(0,tS.jsxs)("g",{id:"Group-3",transform:"translate(8, 4)",stroke:"#002955",children:[(0,tS.jsx)("path",{d:"M4.58879758,23.3992482 L0,36.6470654 L6.36450175,33.9030185 L9.52391951,40 L13.6188353,28.177801 C10.0228166,27.7412005 6.8425455,25.9796353 4.58879758,23.3992482 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M27.0271308,22.2901785 C24.9874599,25.1568396 21.9001051,27.2386655 18.3141171,27.9845464 L22.4760805,39.9999477 L25.6357622,33.9029662 L32,36.6470131 L27.0271308,22.2901785 Z",id:"Stroke-3"}),(0,tS.jsx)("path",{d:"M29.624405,14.1176194 C29.624405,21.9144668 23.2424815,28.2352388 15.3702018,28.2352388 C7.49792209,28.2352388 1.11599853,21.9144668 1.11599853,14.1176194 C1.11599853,6.32077192 7.49792209,0 15.3702018,0 C23.2424815,0 29.624405,6.32077192 29.624405,14.1176194 Z",id:"Stroke-5"}),(0,tS.jsx)("polyline",{id:"icon-checkmark-blue","stroke-linecap":"round","stroke-linejoin":"round",points:"10 14.6811377 14.2929046 19 22.4665131 10"})]})]})]})]}),(0,tS.jsx)("h4",{className:"column-title",children:"Optional headline"}),(0,tS.jsx)("h5",{className:"column-label",children:"optional label"}),(0,tS.jsx)("p",{className:"column-description",children:"Nam vel iaculis mauris sed ullamcorper tellus erat"})]})]})),rg=e=>(console.log("ThreeColumnFeatures: ",e),(0,tS.jsxs)("div",{className:"container-column-features",children:[(0,tS.jsxs)("div",{className:"column",children:[(0,tS.jsx)("h4",{className:"column-title",children:"Optional headline"}),(0,tS.jsxs)("p",{className:"column-description",children:["In hac habitasse platea dictumst vivamus adipiscing fermentum ",(0,tS.jsx)("sup",{children:(0,tS.jsx)("a",{href:"/",children:"1"})})]})]}),(0,tS.jsxs)("div",{className:"column",children:[(0,tS.jsx)("h4",{className:"column-title",children:"Optional headline"}),(0,tS.jsxs)("p",{className:"column-description",children:["Quam volutpat aliquam integer et elit eget elit facilisis tristique ",(0,tS.jsx)("sup",{children:(0,tS.jsx)("a",{href:"/",children:"2"})})]})]}),(0,tS.jsxs)("div",{className:"column",children:[(0,tS.jsx)("h4",{className:"column-title",children:"Optional headline"}),(0,tS.jsx)("p",{className:"column-description",children:"Nam vel iaculis mauris sed ullamcorper tellus erat"})]})]})),rf=e=>(console.log("ThreeColumnFeatures: ",e),(0,tS.jsxs)("div",{className:"container-column-features",children:[(0,tS.jsxs)("div",{className:"column",children:[(0,tS.jsxs)("div",{className:"column-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Cost effective"}),(0,tS.jsxs)("svg",{width:"48px",height:"48px",viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Cost effective"}),(0,tS.jsxs)("g",{id:"icon/cost_effective",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("rect",{id:"Rectangle",x:"0",y:"0",width:"48",height:"48"}),(0,tS.jsxs)("g",{id:"Group",transform:"translate(3, 2)",stroke:"#002955",children:[(0,tS.jsx)("path",{d:"M28,29 C28,36.7318241 21.7326948,43 14,43 C6.26817588,43 0,36.7318241 0,29 C0,21.2673052 6.26817588,15 14,15 C21.7326948,15 28,21.2673052 28,29 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M15.8265404,26.118149 C15.3406185,25.5044144 14.5620771,25.1975472 13.490916,25.1975472 C11.8841744,25.1975472 11.0946347,26.7411537 11.4502442,27.7680591 C12.0781432,29.9025837 16.2651365,29.0631266 16.2211436,31.5445384 C16.2211436,33.5468381 14.4439294,33.8229225 13.5067468,33.8229225 C12.5695642,33.8229225 11.5075683,33.1805266 10.890001,32.2613502",id:"Path-5-Copy-5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"13.6274274",y1:"23.4592331",x2:"13.6274274",y2:"25.1975472",id:"Path-7-Copy-11","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"13.6274274",y1:"33.8839137",x2:"13.6274274",y2:"35.2446462",id:"Path-7-Copy-12","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("path",{d:"M43,14.0004353 C43,21.732019 36.7326948,28 29,28 C21.2673052,28 15,21.732019 15,14.0004353 C15,6.26885164 21.2673052,0 29,0 C36.7326948,0 43,6.26885164 43,14.0004353 Z",id:"Stroke-3","stroke-dasharray":"2,2"}),(0,tS.jsx)("path",{d:"M31.1456765,9.7937345 C30.6597547,9.17999998 29.8812132,8.87313272 28.8100522,8.87313272 C27.2033106,8.87313272 26.4137709,10.4167392 26.7693804,11.4436446 C27.3972794,13.5781692 31.5842727,12.7387122 31.5402798,15.2201239 C31.54
102798,17.2224237 29.7630656,17.4985081 28.825883,17.4985081 C27.8887004,17.4985081 26.8267045,16.8561121 26.2091372,15.9369357",id:"Path-5-Copy-5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"28.9465636",y1:"7.13481859",x2:"28.9465636",y2:"8.87313272",id:"Path-7-Copy-11","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"28.9465636",y1:"17.5594992",x2:"28.9465636",y2:"18.9202317",id:"Path-7-Copy-12","stroke-linecap":"round","stroke-linejoin":"round"})]})]})]})]}),(0,tS.jsx)("h5",{className:"column-label",children:"optional label"}),(0,tS.jsxs)("p",{className:"column-description",children:["In hac habitasse platea dictumst vivamus adipiscing fermentum ",(0,tS.jsx)("sup",{children:(0,tS.jsx)("a",{href:"/",children:"1"})})]})]}),(0,tS.jsxs)("div",{className:"column",children:[(0,tS.jsxs)("div",{className:"column-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Convenient"}),(0,tS.jsxs)("svg",{width:"48px",height:"48px",viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Convenient"}),(0,tS.jsxs)("g",{id:"icon/convenient",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("rect",{id:"Rectangle",x:"0",y:"0",width:"48",height:"48"}),(0,tS.jsxs)("g",{id:"Group-2",transform:"translate(4, 7)",stroke:"#002955",children:[(0,tS.jsx)("path",{d:"M5.38790742,16.1846588 C5.38790742,16.3822623 5.43693787,16.5798658 5.43693787,16.7774693 C5.43693787,16.876271 5.48596832,16.9750727 5.48596832,17.074366 C5.58451953,17.913935 6.02873543,18.6055472 6.66907315,18.9515991 C7.06327798,20.4832718 7.85168766,21.6693842 8.98527173,22.4597982 C9.1333437,22.5585999 9.28092536,22.6578932 9.47851808,22.7557118 C9.72465096,22.8545136 9.97127413,23.0029619 10.2664375,23.1017637 L10.3159582,23.1017637 C10.5625814,23.2005654 10.7596838,23.2502121 11.0058167,23.2998587 C11.2029191,23.3490138 11.4495423,23.3490138 11.6466447,23.3490138 L11.6956752,23.3490138 C11.8932679,23.3490138 12.0903703,23.3490138 12.2874727,23.2998587 C12.4845751,23.2502121 12.7311983,23.2005654 12.9283007,23.1017637 L12.9773312,23.1017637 C13.2729848,23.0029619 13.519608,22.9046518 13.7657409,22.7557118 C13.9138128,22.6578932 14.0613945,22.5585999 14.2094665,22.4597982 C14.8502945,22.0149446 15.392081,21.4712892 15.7867761,20.8288321 C15.9833882,20.5329185 16.1314602,20.1873582 16.2800225,19.7916596 C16.3285626,19.6432113 16.3780834,19.4947629 16.4271138,19.346806 C16.4761443,19.1988492 16.4761443,19.0504008 16.5261554,19.0007542 C16.5746955,18.9019524 16.7227675,18.8031507 16.8213187,18.704349 C16.8708394,18.6547023 16.9693906,18.6055472 17.0194017,18.5563921 C17.5606979,18.0618919 17.6592491,17.5187281 17.7087699,17.0247194 C17.7087699,16.9259177 17.7582906,16.8271159 17.7582906,16.7278226 C17.8068308,16.5302191 17.8068308,16.3331072 17.8068308,16.1350122 L17.8068308,15.6906501 C17.8563515,15.1469948 17.5606979,14.5541844 17.0194017,14.3565809 L17.0194017,14.2081325 C17.0194017,14.010529 17.0679419,13.8620806 17.0679419,13.7146154 C17.2155235,13.2201151 17.2655346,12.6764598 17.3140747,12.1824511 C17.3635955,10.4531749 16.4761443,9.02030386 14.9488457,8.32869169 C14.8007737,8.27904504 14.6036713,8.18073485 14.4555993,8.13108821 C13.6181592,7.78503635 12.6321568,7.58743287 11.6466447,7.58743287 L11.0058167,7.58743287 C10.4145094,7.63658796 9.57657899,7.68623461 8.88672052,8.03228647 C8.78865962,8.08193312 8.73913886,8.13108821 8.64058765,8.18073485 C8.34444371,8.37784678 8.09831084,8.62509691 7.90120842,8.92199367 L7.80265721,9.06945896 C7.704106,9.21790734 7.704106,9.21790734 7.60506449,9.31670908 C7.45797313,9.46515746 7.30990116,9.51480411 7.16182919,9.61360585 C6.81665481,9.76156268 6.57052194,10.0088128 6.42244997,10.2555714 C6.17582679,10.6507783 6.07776589,11.144787 6.02873543,11.7872441 C5.97921468,12.3805461 6.02873543,12.9733565 6.07776589,13.4177186 C6.07776589,13.6153221 6.12679634,13.8620806 6.17582679,14.1093308 C6.17582679,14.2081325 6.22534755,14.3074258 6.22534755,14.4062275 C5.63404029,14.5541844 5.33838666,15.2457965 5.33838666,15.7894519 C5.38790742,15.8877621 5.38790742,16.0362105 5.38790742,16.1846588 Z",id:"Stroke-2","stroke-width":"1.04546741"}),(0,tS.jsx)("path",{d:"M20.7889119,26.3919599 C20.7403718,26.3919599 17.4685697,25.1547262 16.4090216,24.7590277 C16.1687724,24.6607175 15.8804733,24.7590277 15.6877836,24.9571227 L11.693763,30.0520482 L7.69974229,25.0062778 C7.50656231,24.8086743 7.21826325,24.7098726 6.97752372,24.8086743 C5.8704161,25.2043728 2.59812369,26.3919599 2.59812369,26.4416066 C0,27.3313138 0,29.2611428 0,29.4100827 L0,32.476869 L0,32.5260241 C0.240249218,34.4558531 1.53955621,35 2.30982463,35 L21.1257512,35 C21.2218508,35 21.7028396,35 22.2328588,34.6534566 C22.7143378,34.3570514 23.2914262,33.7627663 23.4355758,32.5260241 L23.4355758,32.476869 L23.4355758,29.4100827 C23.3875259,29.2110046 23.3875259,27.2826502 20.7889119,26.3919599 Z",id:"Stroke-4"}),(0,tS.jsx)("path",{d:"M41,12.2591822 C41,15.9979186 37.9767823,19.0293133 34.2470358,19.0293133 C30.5172892,19.0293133 27.4935812,15.9979186 27.4935812,12.2591822 C27.4935812,8.52044571 30.5172892,5.48905105 34.2470358,5.48905105 C37.9767823,5.48905105 41,8.52044571 41,12.2591822 Z",id:"Stroke-6"}),(0,tS.jsx)("path",{d:"M35.8314691,9.79510875 C35.5349767,9.41763205 35.0599382,9.2288937 34.4063536,9.2288937 C33.4259766,9.2288937 32.9442273,10.1782871 33.1612077,10.809884 C33.5443295,12.1227209 36.099085,11.6064138 36.072242,13.1326032 C36.072242,14.3641153 34.9878487,14.5339207 34.416013,14.5339207 C33.8441772,14.5339207 33.1961848,14.1388159 32.819367,13.5734775",id:"Path-5-Copy","
1stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"34.489648",y1:"8.15974563",x2:"34.489648",y2:"9.2288937",id:"Path-7-Copy-3","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("line",{x1:"34.489648",y1:"15.2995231",x2:"34.489648",y2:"15.7457591",id:"Path-7-Copy-4","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("polyline",{id:"Stroke-10","stroke-linecap":"round","stroke-linejoin":"round",points:"24.4167242 4.07987281 28.4862517 3.49792777 25.9836184 0"}),(0,tS.jsx)("path",{d:"M27.5973787,2.86805228 C23.1145244,0.690973159 17.5618256,1.58559587 13.997802,5.4359144",id:"Stroke-12","stroke-linecap":"round","stroke-linejoin":"round"}),(0,tS.jsx)("polyline",{id:"Stroke-10","stroke-linecap":"round","stroke-linejoin":"round",transform:"translate(28.9995, 30.7585) scale(-1, -1) rotate(-31) translate(-28.9995, -30.7585)",points:"26.9629918 32.7979129 31.0359151 32.2117922 28.5355098 28.7190258"}),(0,tS.jsx)("path",{d:"M39.8633145,25.8136842 C35.3798744,23.6431004 29.8224297,24.5433531 26.2516926,28.3950816",id:"Stroke-12","stroke-linecap":"round","stroke-linejoin":"round",transform:"translate(33.0575, 26.5264) scale(-1, -1) rotate(-31) translate(-33.0575, -26.5264)"})]})]})]})]}),(0,tS.jsx)("h5",{className:"column-label",children:"optional label"}),(0,tS.jsxs)("p",{className:"column-description",children:["Quam volutpat aliquam integer et elit eget elit facilisis tristique ",(0,tS.jsx)("sup",{children:(0,tS.jsx)("a",{href:"/",children:"2"})})]})]}),(0,tS.jsxs)("div",{className:"column",children:[(0,tS.jsxs)("div",{className:"column-icon",children:[(0,tS.jsx)("span",{className:"sr-only",children:"Award winning"}),(0,tS.jsxs)("svg",{width:"48px",height:"48px",viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsx)("title",{children:"Award winning"}),(0,tS.jsxs)("g",{id:"icon/award_winning",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,tS.jsx)("rect",{id:"Rectangle",x:"0",y:"0",width:"48",height:"48"}),(0,tS.jsxs)("g",{id:"Group-3",transform:"translate(8, 4)",stroke:"#002955",children:[(0,tS.jsx)("path",{d:"M4.58879758,23.3992482 L0,36.6470654 L6.36450175,33.9030185 L9.52391951,40 L13.6188353,28.177801 C10.0228166,27.7412005 6.8425455,25.9796353 4.58879758,23.3992482 Z",id:"Stroke-1"}),(0,tS.jsx)("path",{d:"M27.0271308,22.2901785 C24.9874599,25.1568396 21.9001051,27.2386655 18.3141171,27.9845464 L22.4760805,39.9999477 L25.6357622,33.9029662 L32,36.6470131 L27.0271308,22.2901785 Z",id:"Stroke-3"}),(0,tS.jsx)("path",{d:"M29.624405,14.1176194 C29.624405,21.9144668 23.2424815,28.2352388 15.3702018,28.2352388 C7.49792209,28.2352388 1.11599853,21.9144668 1.11599853,14.1176194 C1.11599853,6.32077192 7.49792209,0 15.3702018,0 C23.2424815,0 29.624405,6.32077192 29.624405,14.1176194 Z",id:"Stroke-5"}),(0,tS.jsx)("polyline",{id:"icon-checkmark-blue","stroke-linecap":"round","stroke-linejoin":"round",points:"10 14.6811377 14.2929046 19 22.4665131 10"})]})]})]})]}),(0,tS.jsx)("h5",{className:"column-label",children:"optional label"}),(0,tS.jsx)("p",{className:"column-description",children:"Nam vel iaculis mauris sed ullamcorper tellus erat"})]})]}));var rj=a(3358),rb=a(612),ry=a(1025);let rN=e=>{var t,a;let l="".concat(null!==(t=e.params.GridParameters)&&void 0!==t?t:""," ").concat(null!==(a=e.params.Styles)&&void 0!==a?a:"").trimEnd(),n=[e.params.ColumnWidth1,e.params.ColumnWidth2,e.params.ColumnWidth3,e.params.ColumnWidth4,e.params.ColumnWidth5,e.params.ColumnWidth6,e.params.ColumnWidth7,e.params.ColumnWidth8],i=[e.params.Styles1,e.params.Styles2,e.params.Styles3,e.params.Styles4,e.params.Styles5,e.params.Styles6,e.params.Styles7,e.params.Styles8],s=e.params.EnabledPlaceholders.split(","),r=e.params.RenderingIdentifier;return(0,tS.jsx)("div",{className:"row component column-splitter ".concat(l),id:r||void 0,children:s.map((t,a)=>{var l;let s="".concat(n[+t-1]," ").concat(null!==(l=i[+t-1])&&void 0!==l?l:"").trimEnd();return(0,tS.jsx)("div",{className:s,children:(0,tS.jsx)("div",{className:"row",children:(0,tS.jsx)(aZ.V,{name:"column-".concat(t,"-{*}"),rendering:e.rendering},a)},a)},a)})})},r_=new RegExp(/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/gi),rC=e=>{let{sitecoreContext:t}=(0,tM.z)(),a=e.params&&e.params.Styles?e.params.Styles:"",l="".concat(e.params.GridParameters," ").concat(a).trimEnd(),n="container-".concat(e.params.DynamicPlaceholderId),i=e.params.RenderingIdentifier,s=e.params.Backgroun
1dImage,r={};if(s){var o,c;let e="".concat("normal"!==t.pageState?"/sitecore/shell":"","/-/media/");s="".concat(null==s?void 0:null===(c=s.match(r_))||void 0===c?void 0:null===(o=c.pop())||void 0===o?void 0:o.replace(/-/gi,"")),r={backgroundImage:"url('".concat(e).concat(s,"')")}}return(0,tS.jsx)("div",{className:"component container-default ".concat(l),id:i||void 0,children:(0,tS.jsx)("div",{className:"component-content",style:r,children:(0,tS.jsx)("div",{className:"row",children:(0,tS.jsx)(aZ.V,{name:n,rendering:e.rendering})})})})},rw=e=>{var t,a;let l=null===(a=e.params)||void 0===a?void 0:null===(t=a.Styles)||void 0===t?void 0:t.split(" ");return l&&l.includes("container")?(0,tS.jsx)("div",{className:"container-wrapper",children:(0,tS.jsx)(rC,{...e})}):(0,tS.jsx)(rC,{...e})};var rA=(0,af.C)()(e=>{let{fields:t}=e;return(0,tS.jsxs)("div",{className:"contentBlock",children:[(0,tS.jsx)(am.x,{tag:"h2",className:"contentTitle",field:t.heading}),(0,tS.jsx)(tD.H,{className:"contentDescription",field:t.content})]})}),rE=a(9757);let rS=e=>({value:{href:e.fields.Href,title:rL(e),querystring:e.fields.Querystring}}),rk=e=>{var t,a;let[l,n]=(0,tk.useState)(!1),{sitecoreContext:i}=(0,tM.z)(),s=null!=e.params?"".concat(null!==(t=e.params.GridParameters)&&void 0!==t?t:""," ").concat(null!==(a=e.params.Styles)&&void 0!==a?a:"").trimEnd():"",r=null!=e.params?e.params.RenderingIdentifier:null;if(!Object.values(e.fields).length)return(0,tS.jsx)("div",{className:"component navigation ".concat(s),id:r||void 0,children:(0,tS.jsx)("div",{className:"component-content",children:"[Navigation]"})});let o=(e,t)=>{if(e&&(null==i?void 0:i.pageEditing)&&e.preventDefault(),void 0!==t)return n(t);n(!l)},c=Object.values(e.fields).filter(e=>e).map((e,t)=>(0,tS.jsx)(rI,{fields:e,handleClick:e=>o(e,!1),relativeLevel:1},"".concat(t).concat(e.Id)));return(0,tS.jsx)("div",{className:"component navigation ".concat(s),id:r||void 0,children:(0,tS.jsxs)("label",{className:"menu-mobile-navigate-wrapper",children:[(0,tS.jsx)("input",{type:"checkbox",className:"menu-mobile-navigate",checked:l,onChange:()=>o()}),(0,tS.jsx)("div",{className:"menu-humburger"}),(0,tS.jsx)("div",{className:"component-content",children:(0,tS.jsx)("nav",{children:(0,tS.jsx)("ul",{className:"clearfix",children:c})})})]})})},rI=e=>{var t;let{sitecoreContext:a}=(0,tM.z)(),[l,n]=(0,tk.useState)(!1),i="".concat(e.fields.Styles.concat("rel-level"+e.relativeLevel).join(" ")),s=[];return e.fields.Children&&e.fields.Children.length&&(s=e.fields.Children.map((t,a)=>(0,tS.jsx)(rI,{fields:t,handleClick:e.handleClick,relativeLevel:e.relativeLevel+1},"".concat(a).concat(t.Id)))),(0,tS.jsxs)("li",{className:"".concat(i," ").concat(l?"active":""),tabIndex:0,children:[(0,tS.jsx)("div",{className:"navigation-title ".concat(s.length?"child":""),onClick:()=>n(()=>!l),children:(0,tS.jsx)(ac.r,{field:rS(e),editable:a.pageEditing,onClick:e.handleClick,children:(t=e).fields.NavigationTitle?(0,tS.jsx)(am.x,{field:t.fields.NavigationTitle}):t.fields.Title?(0,tS.jsx)(am.x,{field:t.fields.Title}):t.fields.DisplayName})}),s.length>0?(0,tS.jsx)("ul",{className:"clearfix",children:s}):null]},e.fields.Id)},rL=e=>{var t,a;return(null===(t=e.fields.NavigationTitle)||void 0===t?void 0:t.value)?e.fields.NavigationTitle.value.toString():(null===(a=e.fields.Title)||void 0===a?void 0:a.value)?e.fields.Title.value.toString():e.fields.DisplayName},rD=e=>{let t=e.id;return(0,tS.jsx)("div",{className:"component content ".concat(e.styles),id:t||void 0,children:(0,tS.jsx)("div",{className:"component-content",children:(0,tS.jsx)("div",{className:"field-content",children:e.children})})})},rF=e=>{var t,a,l,n;let{sitecoreContext:i}=(0,tM.z)(),s=e.params.RenderingIdentifier;if(!(e.fields&&e.fields.Content)&&!(null==i?void 0:null===(a=i.route)||void 0===a?void 0:null===(t=a.fields)||void 0===t?void 0:t.Content))return(0,tS.jsx)("div",{className:"component content ".concat(e.params.styles),id:s||void 0,children:(0,tS.jsx)("div",{className:"component-content",children:(0,tS.jsx)("div",{className:"field-content",children:"[Content]"})})});let r=e.fields&&e.fields.Content?e.fields.Content:null==i?void 0:null===(n=i.route)||void 0===n?void 0:null===(l=n.fields)||void 0===l?void 0:l.Content;return(0,tS.jsx)(rD,{styles:e.params.styles,id:s,children:(0,tS.jsx)(tD.H,{field:r})})},rT=e=>{var t,a;return(0,tS.jsx)(aZ.V,{name:(null===(a=e.rendering)||void 0===a?void 0:null===(t=a.params)||void 0===t?void 0:t.sig)||"",rendering:e.rendering})},rB=e=>(0,tS.jsx)("div",{className:"component promo ".concat(e.params.styles),children:(0,tS.jsx)("div",{className:"component-content",children:(0,tS.jsx)("span",{className:"is-empty-hint",children:"Promo"})})}),rP=e=>{let t=e.params.RenderingIdentifier;return e.fields?(0,tS.jsx)("div",{className:"component promo ".concat(e.params.styles),id:t||void 0,children:(0,tS.jsxs)("div",{className:"component-content",children:[(0,tS.jsx)("div",{className:"field-
1promoicon",children:(0,tS.jsx)(tF.E,{field:e.fields.PromoIcon})}),(0,tS.jsxs)("div",{className:"promo-text",children:[(0,tS.jsx)("div",{children:(0,tS.jsx)("div",{className:"field-promotext",children:(0,tS.jsx)(tD.H,{field:e.fields.PromoText})})}),(0,tS.jsx)("div",{className:"field-promolink",children:(0,tS.jsx)(ac.r,{field:e.fields.PromoLink})})]})]})}):(0,tS.jsx)(rB,{...e})},rH=e=>{let t=e.params.RenderingIdentifier;return e.fields?(0,tS.jsx)("div",{className:"component promo ".concat(e.params.styles),id:t||void 0,children:(0,tS.jsxs)("div",{className:"component-content",children:[(0,tS.jsx)("div",{className:"field-promoicon",children:(0,tS.jsx)(tF.E,{field:e.fields.PromoIcon})}),(0,tS.jsxs)("div",{className:"promo-text",children:[(0,tS.jsx)("div",{children:(0,tS.jsx)("div",{className:"field-promotext",children:(0,tS.jsx)(tD.H,{className:"promo-text",field:e.fields.PromoText})})}),(0,tS.jsx)("div",{className:"field-promotext",children:(0,tS.jsx)(tD.H,{className:"promo-text",field:e.fields.PromoText2})})]})]})}):(0,tS.jsx)(rB,{...e})},rM=e=>{let t=e.fields?(0,tS.jsx)(tD.H,{field:e.fields.Text}):(0,tS.jsx)("span",{className:"is-empty-hint",children:"Rich text"}),a=e.params.RenderingIdentifier;return(0,tS.jsx)("div",{className:"component rich-text ".concat(e.params.styles.trimEnd()),id:a||void 0,children:(0,tS.jsx)("div",{className:"component-content",children:t})})},rq=e=>{var t,a;let l="".concat(null!==(t=e.params.GridParameters)&&void 0!==t?t:""," ").concat(null!==(a=e.params.Styles)&&void 0!==a?a:"").trimEnd(),n=[e.params.Styles1,e.params.Styles2,e.params.Styles3,e.params.Styles4,e.params.Styles5,e.params.Styles6,e.params.Styles7,e.params.Styles8],i=e.params.EnabledPlaceholders.split(","),s=e.params.RenderingIdentifier;return(0,tS.jsx)("div",{className:"component row-splitter ".concat(l),id:s||void 0,children:i.map((t,a)=>{var l;let i="".concat(null!==(l=n[+t-1])&&void 0!==l?l:"").trimEnd();return(0,tS.jsx)("div",{className:"container-fluid ".concat(i).trimEnd(),children:(0,tS.jsx)("div",{children:(0,tS.jsx)("div",{className:"row",children:(0,tS.jsx)(aZ.V,{name:"row-".concat(t,"-{*}"),rendering:e.rendering},a)},a)},a)},a)})})},rR=e=>(0,tS.jsx)("div",{className:"component image ".concat(e.params.styles).trimEnd(),children:(0,tS.jsx)("div",{className:"component-content",children:(0,tS.jsx)("span",{className:"is-empty-hint",children:"Image"})})}),rO=e=>{var t,a,l,n,i,s,r,o,c,d,u,m,v,h,p;let{sitecoreContext:x}=(0,tM.z)(),g=x.pageEditing&&(null===(l=e.fields)||void 0===l?void 0:null===(a=l.Image)||void 0===a?void 0:null===(t=a.value)||void 0===t?void 0:t.class)==="scEmptyImage"?"hero-banner-empty":"",f=(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Image)||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.src)&&{backgroundImage:"url('".concat(e.fields.Image.value.src,"')")},j={...e.fields.Image,editable:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(h=p.Image)||void 0===h?void 0:null===(v=h.editable)||void 0===v?void 0:v.replace('width="'.concat(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Image)||void 0===u?void 0:null===(d=u.value)||void 0===d?void 0:d.width,'"'),'width="100%"').replace('height="'.concat(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(o=c.Image)||void 0===o?void 0:null===(r=o.value)||void 0===r?void 0:r.height,'"'),'height="100%"')},b=e.params.RenderingIdentifier;return(0,tS.jsx)("div",{className:"component hero-banner ".concat(e.params.styles," ").concat(g),id:b||void 0,children:(0,tS.jsx)("div",{className:"component-content sc-sxa-image-hero-banner",style:f,children:x.pageEditing?(0,tS.jsx)(tF.E,{field:j}):""})})},rV=e=>{let{sitecoreContext:t}=(0,tM.z)();if(e.fields){var a,l;let n=()=>(0,tS.jsx)(tF.E,{field:e.fields.Image}),i=e.params.RenderingIdentifier;return(0,tS.jsx)("div",{className:"component image ".concat(e.params.styles),id:i||void 0,children:(0,tS.jsxs)("div",{className:"component-content",children:["edit"!==t.pageState&&(null===(l=e.fields.TargetUrl)||void 0===l?void 0:null===(a=l.value)||void 0===a?void 0:a.href)?(0,tS.jsx)(ac.r,{field:e.fields.TargetUrl,children:(0,tS.jsx)(n,{})}):(0,tS.jsx)(n,{}),(0,tS.jsx)(am.x,{tag:"span",className:"image-caption field-imagecaption",field:e.fields.ImageCaption})]})})}return(0,tS.jsx)(rR,{...e})},rG=e=>{let t=e.id;return(0,tS.jsx)("div",{className:"component title ".concat(e.styles),id:t||void 0,children:(0,tS.jsx)("div",{className:"component-content",children:(0,tS.jsx)("div",{className:"field-title",children:e.children})})})},rU=e=>{var t,a,l,n,i,s,r,o,c,d,u,m;let v=(null===(a=e.fields)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.datasource)||(null===(n=e.fields)||void 0===n?void 0:null===(l=n.data)||void 0===l?void 0:l.contextItem),{sitecoreContext:h}=(0,tM.z)(),p={value:null==v?void 0:null===(s=v.field)||void 0===s?void 0:null===(i=s.jsonValue)||void 0===i?void 0:i.value,editable:null==v?void 0:null===(o=v.field)||void 0===o?void 0:null===(r=o.jsonValue)||void 0===r?void 0:r.editable},x={value:{href:null==v?void 0:null===(c=v.url)||void 0===c?void 0:c.path,title:null==v?void 0:null===(u=v.field)||void 0===u?void 0:null===(d=u.jsonValue)||void 0===d?void 0:d.value,editable:!0}};return"normal"===h.pageState||(x.value.querystring="sc_site=".concat(null==v?void 0:null===(m=v.url)||void 0===m?void 0:m.siteName),p.value||(p.value="Title field",x.value.href="#")),(0,tS.jsx)(rG,{styles:e.params.styles,id:e.params.RenderingIdentifier,children:(0,tS.jsx)(tS.Fragment,{children:"edit"===h.pageState?(0,tS.jsx)(am.x,{field:p}):(0,tS.jsx)(ac.r,{field:x,children:(0,tS.jsx)(am.x,{field:p})})})})},rW=e=>{let{sitecoreContext:t}=(0,tM.z)();return(0,tS.jsxs)("div",{className:"article-detail-layout",children:[(0,tS.jsx)(function(){return t.pageEditing&&"fd2059fd-6043-4dfe-8c04-e2437ce87634"===e.sitecoreContext.route.templateId?(0,tS.jsx)("h6",{children:"Article Details Layout Component"}):null},{}),(0,tS.jsx)("div",{className:"article-details-header",children:(0,tS.jsx)(aZ.V,{name:"article-details-header",rendering:e.rendering})}),(0,tS.jsxs)("div",{className:"article-details-columns",children:[(0,tS.jsx)("div",{className:"article-details-left-column",children:(0,tS.jsx)(aZ.V,{name:"article-details-left-column",rendering:e.rendering})}),(0,tS.jsx)("div",{className:"article-details-right-column",children:(0,tS.jsx)(aZ.V,{name:"article-details-right-column",rendering:e.rendering})})]}),(0,tS.jsx)("div",{className:"article-details-full-width",children:(0,tS.jsx)(aZ.V,{name:"article-details-full-width",rendering:e.rendering})})]})},rZ=e=>{var t;let a="section-".concat(e.params.DynamicPlaceholderId);return(0,tS.jsx)("div",{className:"contact-card-grid ".concat(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.styles),children:(0,tS.jsx)("div",{className:"component-frame",children:(0,tS.jsx)("section",{className:"section-frame",children:(0,tS.jsx)(aZ.V,{name:a,rendering:e.rendering})})})})},rz=e=>{let t="";return(e.headerIds&&(t=e.headerIds[e.index]),e.isHeaderRow)?(0,tS.jsxs)("th",{scope:"row",id:e.id,headers:t,children:[(0,tS.jsx)(tD.H,{className:"mobile-headers",field:e.headerValues[e.index]}),(0,tS.jsx)(tD.H,{field:e.fields["Cell Value"]})]}):e.isHeader?(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Table Header Cell",tooltip:"Edit Table Header Cell",buttons:[{header:"Delete Column",icon:"/~/icon/Business/16x16/column_delete.png",tooltip:"Delete the last column",click:"webedit:deleteTableColumn"}],children:(0,tS.jsx)("th",{scope:"col",id:e.id,children:(0,tS.jsx)(tD.H,{field:e.fields["Cell Value"]})})}):(0,tS.jsxs)("td",{headers:t,children:[(0,tS.jsx)(tD.H,{className:"mobile-headers",field:e.headerValues[e.index]}),(0,tS.jsx)(tD.H,{field:e.fields["Cell Value"]})]})},rQ=e=>{var t;let a=null===(t=e.children)||void 0===t?void 0:t.map((t,a)=>{let l=!1;e.isRowWithHeader&&0===a&&(l=!0);let n=(t.fields||{})["Cell Value"];return(0,tk.createElement)(rz,{...t,key:"tablecell".concat(a),headerIds:e.headerIds,headerValues:e.headerValues,index:a,isHeader:!1,isHeaderRow:l,fields:{"Cell Value":null!=n?n:{value:""}}})});return(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Table Row",tooltip:"Edit Table Row",buttons:[{header:"Delete Row",icon:"/~/icon/Office/16x16/delete.png",tooltip:"Delete the item",click:"webedit:delete"},{header:"Move Up",icon:"/~/icon/Office/16x16/navigate_up.png",tooltip:"Move the item up",click:"item:moveup"},{header:"Move Down",icon:"/~/icon/Office/16x16/navigate_down.png",tooltip:"Move the item down",click:"item:movedown"}],children:(0,tS.jsx)("tr",{children:a})})},rY=e=>{var t;let a=null===(t=e.children)||void 0===t?void 0:t.map((t,a)=>(0,tk.createElement)(rQ,{...t,key:"tablerow".concat(a),headerIds:e.headerIds,headerValues:e.headerValues,index:a,isRowWithHeader:e.isRowWithHeader}));return(0,tS.jsx)(av.X,{dataSource:{itemId:e.id},title:"Table Section",tooltip:"Edit Table Section",buttons:[{header:"Insert New Row Item",icon:"/~/icon/Business/16x16/row_add.png",tooltip:"Insert a new row item",click:"webedit:newTableRow"},{header:"Delete Section",icon:"/~/icon/Office/16x16/delete.png",tooltip:"Delete the item",click:"webedit:delete"},{header:"Move Up",icon:"/~/icon/Office/16x16/navigate_up.png",tooltip:"Move the item up",click:"item:moveup"},{header:"Move Down",icon:"/~/icon/Office/16x16/navigate_down.png",tooltip:"Move the item down",click:"item:movedown"}],children:(0,tS.jsx)("tbody",{children:a})})},rK=e=>{var t;let a=null===(t=e.children)||void 0===t?void 0:t.map((e,t)=>(e.isHeader=!0,(0,tk.createElement)(rz,{...e,key:"tablecell".concat(t)})));return(0,tS.jsx)("tr",{children:a})},rJ=e=>{var t;let a=null===(t=e.children)||void 0===t?void 0:t.map((e,t)=>(e.isHeader=!1,(0,tk.createElement)(rz,{...e,key:"tablecell".concat(t)})));return(0,tS.jsx)("tfoot",{children:(0,tS.jsx)("tr",{children:a})})},rX=e=>{switch(e.template){case"Section":return(0,tS.jsx)(rY,{...e,headerIds:e.headerIds,headerValues:e.headerValues,isRowWithHeader:e.isRowWithHeader});case"Header":return(0,tS.jsx)(rK,{...e});case"Footer":return(0,tS.jsx)(rJ,{...e});default:return(0,tS.jsx)(tS.Fragment,{})}},r$=e=>{var t,a,l,n,i,s,r,o,c,d;let u=(0,tM.z)();console.log("the context",u.sitecoreContext.pageEditing);let m=null===(t=e.fields["Row With Header"])||void 0===t?void 0:t.value,v=null===(a=e.fields["Is Financial Table"])||void 0===a?void 0:a.value,h=(null===(l=e.fields["Is Layout Table"])||void 0===l?void 0:l.value)?"presentation":"table",p=null===(n=e.fields.children)||void 0===n?void 0:n.find(e=>"Header"===e.template),x=(null==p?void 0:null===(i=p.children)||void 0===i?void 0:i.map(e=>{var t,a;if(null===(t=e.fields)||void 0===t?void 0:t["Cell Value"])return null===(a=e.fields)||void 0===a?void 0:a["Cell Value"]}))||[],g=(null==p?void 0:null===(s=p.children)||void 0===s?void 0:s.map(e=>e.id||""))||[],f=null===(r=e.fields.children)||void 0===r?void 0:r.map((t,a)=>"Header"!==t.template?(0,tk.createElement)(rX,{...t,key:"tableElement".concat(a),headerIds:g,headerValues:x,isRowWithHeader:m}):(u.sitecoreContext.pageEditing&&null==e.fields.children&&(f=[(0,tS.jsx)("tbody",{children:(0,tS.jsx)("tr",{children:(0,tS.jsx)("td",{children:"[Add Table Elements]"})})}
1,"empty")]),null)).filter(Boolean);return(0,tS.jsx)("section",{className:"section-frame ".concat(null===(o=e.params)||void 0===o?void 0:o.styles),children:(0,tS.jsxs)("div",{className:"component-frame",children:[(0,tS.jsx)(tD.H,{field:null===(c=e.fields)||void 0===c?void 0:c.Title,tag:"h3"}),(0,tS.jsx)("table",{className:"cmp-table".concat(v?" financial-table":""),role:h,children:(0,tS.jsxs)(av.X,{dataSource:{itemId:null!==(d=null==p?void 0:p.id)&&void 0!==d?d:""},title:"Table",tooltip:"Edit Table",buttons:[{header:"Insert Column",icon:"/~/icon/Business/16x16/column_add.png",tooltip:"Insert a new Column",click:"webedit:newTableColumn"},{header:"Insert Footer",icon:"/~/icon/Office/16x16/document_footer.png",tooltip:"Insert Footer",click:"webedit:newTableFooter"},{header:"Insert Section",icon:"/~/icon/Business/16x16/table_selection_row.png",tooltip:"Insert Section",click:"webedit:newTableSection"}],children:[(0,tS.jsx)("thead",{children:p?(0,tS.jsx)(rK,{...p}):null}),f]})})]})})};var r0=(0,af.C)()(function(e){return(0,tS.jsx)(tB,{contentProps:e,ContentComponent:r$})});let r1=new Map;r1.set("BYOCWrapper",tA),r1.set("FEaaSWrapper",tE),r1.set("Accordion",m),r1.set("ApiRender",v),r1.set("ApplicationLink",p),r1.set("ArticleHeader",x),r1.set("BaseContentComponent",u),r1.set("BlockQuoteCollection",f),r1.set("BlogListing",j),r1.set("BodyText",b),r1.set("Breadcrumb",y),r1.set("ContactCard",N),r1.set("ContactCardCollection",_),r1.set("ContactCardGrid",C),r1.set("CookieBanner",w),r1.set("Csp",A),r1.set("Downloads",E),r1.set("FindAnAgentButton",S),r1.set("Footer",k),r1.set("Footnote",I),r1.set("GlobalAlertBanner",L),r1.set("HeaderNavigation",F),r1.set("HeaderSearch",D),r1.set("Help",T),r1.set("Hero",B),r1.set("HomepageHeroQuoteForm",P),r1.set("IFrame",H),r1.set("IconCollector",M),r1.set("Image",q),r1.set("ImageCallout",R),r1.set("ImageGallery",O),r1.set("Infographic",V),r1.set("JsonLd",Q),r1.set("LeadershipBios",Y),r1.set("LeadershipBiosList",K),r1.set("LifeCalculator",eC),r1.set("LinkList",ew),r1.set("Loader",J),r1.set("MetaTags",eA),r1.set("MobileAppBanner",eE),r1.set("Modal",eS),r1.set("NewsletterBanner",ek),r1.set("NoPrefetchJssLink",h),r1.set("PressReleases",eI),r1.set("QuickLinks",eL),r1.set("RelatedContentSlider",eD),r1.set("RelatedTagsSocialShare",eT),r1.set("ResponsivePicture",g),r1.set("SearchResults",eB),r1.set("ShareLink",eF),r1.set("SkipLink",i7),r1.set("SocialFollow",eP),r1.set("TabsWithImages",eH),r1.set("ThreeColumnContactCards",eM),r1.set("Timeline",eq),r1.set("TimelineCard",eR),r1.set("UnsubscribeFromClaimsAlerts",eO),r1.set("ValueProp",eV),r1.set("Video",eG),r1.set("AgencyContactForm",eU),r1.set("AgencyDetail",eW),r1.set("AgencyDetailHero",eZ),r1.set("AgencyListingSearch",ez),r1.set("DefaultAgentImage",X),r1.set("FindAgencyCard",eQ),r1.set("LanguageOptions",$),r1.set("CdpError",sR),r1.set("CdpLink",sO),r1.set("CdpScroll",sV),r1.set("ListOfCityAgencies",eY),r1.set("ListOfStateCities",eK),r1.set("ListOfStates",eJ),r1.set("AutoRepairLocator",eX),r1.set("TraceabilityOptIn",sX),r1.set("FieldValues",e$),r1.set("Form",eb),r1.set("FormFieldTypeFactory",ej),r1.set("FormHelpers",el),r1.set("FormItem",e0),r1.set("WebEditButtons",ea),r1.set("BaseFieldTemplates",et),r1.set("Checkbox",ed),r1.set("CheckboxList",eg),r1.set("ContactPreference",ec),r1.set("Dropdown",ei),r1.set("EmailSelector",eh),r1.set("HiddenField",eu),r1.set("MultiSelectDropdown",ef),r1.set("MultiTextInput",eo),r1.set("RadioButton",em),r1.set("RadioButtonList",ev),r1.set("SingleLineText",en),r1.set("SubPanel",ex),r1.set("SubPanelSelector",ep),r1.set("SubsectionHeading",es),r1.set("TextArea",er),r1.set("FetchAgencyData",eN),r1.set("GetAQuote",e1),r1.set("ModalAgencySearch",ee),r1.set("ModalFormSuccess",e_),r1.set("ModalInsuranceQuoteForm",ey),r1.set("AgencyDetailJson",e2),r1.set("ArticleDetailJson",G),r1.set("GeneralContentJson",z),r1.set("HomeJson",W),r1.set("OfferingDetailJson",U),r1.set("SelfHelpTopicJson",Z),r1.set("ExampleContent",e3),r1.set("ExampleScaffold",e4),r1.set("FaqAccordion",e5),r1.set("FeaturedProductCards",e9),r1.set("FeaturedProductCardsVariations",e6),r1.set("FeedbackModal",e7),r1.set("MultiColumnOverview",e8),r1.set("ProductIconTeaserCallout",te),r1.set("QuoteCallout",tt),r1.set("SavedAgencyCard",ta),r1.set("ThreeColumnFeatures",tl),r1.set("ForstaDigitalFeedbackScript",rj),r1.set("GoogleTagManagerScript",rb),r1.set("CdpPageView",ry),r1.set("ColumnSplitter",tn),r1.set("Container",ti),r1.set("ContentBlock",ts),r1.set("FEAASScripts",rE),r1.set("Navigation",tr),r1.set("PageContent",to),r1.set("PartialDesignDynamicPlaceholder",tc),r1.set("Promo",td),r1.set("RichText",tu),r1.set("RowS
1plitter",tm),r1.set("SitecoreImage",tv),r1.set("Title",th),r1.set("ArticleDetailLayout",tp),r1.set("Section",tx),r1.set("Table",t_),r1.set("TableCell",tg),r1.set("TableElementFactory",tN),r1.set("TableFooter",ty),r1.set("TableHeader",tb),r1.set("TableItem",tC),r1.set("TableRow",tf),r1.set("TableSection",tj);let r2=new tw.Q({components:r1});r2.getModuleFactory()},5584:function(e,t,a){"use strict";t.blogMediaRedirectsPlugin=a(4956),t.componentPropsPlugin=a(4474),t.corsHeaderPlugin=a(5953),t.datacenterRewritesPlugin=a(6922),t.feaasPlugin=a(1844),t.graphqlPlugin=a(9440),t.robotsPlugin=a(4371),t.sassPlugin=a(2942),t.sitemapPlugin=a(617)},189:function(){},985:function(){},5678:function(){}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.