PageSourceSearch

https://www.theroofdoctorinc.com/_next/static/chunks/friendly-header.0a345a70de274697.js

js theroofdoctorinc.com collected 2026-09-26 21:22:28 UTC 26,712 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[420,33831],{4062:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(55729);let a=r.useLayoutEffect;function i(e){let{maxFontSize:t,minFontSize:n,text:i}=e,[l,o]=(0,r.useState)(null),[s,d]=(0,r.useState)(null),[c,u]=(0,r.useState)(t),[p,h]=(0,r.useState)(0),x=(0,r.useCallback)(()=>{u(t),h(e=>e+1)},[t]);return(0,r.useEffect)(()=>{x()},[i,l,x]),a(()=>{if(!l||!s)return;let e=l.clientWidth,t=s.scrollWidth;if(e&&t&&t>e&&c>n){let r=Math.max(n,Math.floor(e/t*c));r<c&&u(r)}},[l,s,c,n,i,p]),(0,r.useEffect)(()=>{let e;if(!l)return;let t=l.clientWidth;if("undefined"!=typeof ResizeObserver){let n=new ResizeObserver(e=>{let n=e[0]?.contentRect.width;null==n||1>Math.abs(n-t)||(t=n,x())});n.observe(l),e=()=>n.disconnect()}return"undefined"!=typeof document&&document.fonts?.ready&&document.fonts.ready.then(x),e},[l,x]),{fontSize:c,containerRef:(0,r.useCallback)(e=>{o(e)},[]),textRef:(0,r.useCallback)(e=>{d(e)},[])}}},7333:(e,t,n)=>{n.d(t,{A:()=>r});function r(e){return!!e&&!e.hidden&&("phone"===e.type||"sms"===e.type||"leave_review"===e.type||"live_chat"===e.type?!!e.text:"social"===e.type?!!("sync"in e||e.link):!!(e.text||e.icon))}},17682:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var r=n(6029),a=n(71024),i=n.n(a),l=n(55729),o=n(28438),s=n.n(o),d=n(77079),c=n(57e3);let u=i()(()=>n.e(52353).then(n.bind(n,52353)),{loadableGenerated:{webpack:()=>[52353]}}),p=(0,l.memo)(function(e){let{children:t,screen:n,label:a,parentScreen:i="GlobalComponents"}=e,[o,s]=(0,l.useState)(!1),p=(0,l.useCallback)(()=>{window.postMessage({type:c.Ay.NAVIGATE_GLOBAL_COMPONENTS_CHILD_SCREEN,screen:n,parentScreen:i},"*")},[n,i]),{editorActive:h}=(0,l.useContext)(d.n);return h?(0,r.jsx)(u,{zIndex:999,onEditClick:p,label:a,previewShown:o,setPreviewShown:s,children:t}):(0,r.jsx)(r.Fragment,{children:t})},s())},21743:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(6029),a=n(71024),i=n.n(a),l=n(30696);let o=i()(()=>n.e(39151).then(n.bind(n,39151)),{loadableGenerated:{webpack:()=>[39151]}}),s=i()(()=>n.e(71219).then(n.bind(n,71219)),{loadableGenerated:{webpack:()=>[71219]}}),d=i()(()=>n.e(92610).then(n.bind(n,92610)),{loadableGenerated:{webpack:()=>[92610]}}),c=i()(()=>n.e(31840).then(n.bind(n,31840)),{loadableGenerated:{webpack:()=>[31840]}});function u(e){let{variant:t,illustrativeGraphicPackage:n}=(0,l.useFriendlyVariant)();switch(t){case"gradient":return(0,r.jsx)(d,{...e});case"grid":return(0,r.jsx)(c,{...e});case"illustrative":switch(n){case"base":return(0,r.jsx)(o,{...e});case"organic":return(0,r.jsx)(s,{...e})}}return null}},24090:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(55729),a=n(39696);function i(){let e=(0,r.useContext)(a.NE);if(!e)throw Error("useContentWidth must be used within a ContentWidthProvider");return e.width}},24858:(e,t,n)=>{n.d(t,{A:()=>h});var r=n(55729),a=n(21425),i=n(77079),l=n(35993),o=n(29927),s=n(13558),d=n(62173),c=n(72686),u=n(51600),p=n(76351);function h(e){let t=(0,u.S)(),{isPreview:n,config:h}=(0,r.useContext)(a.Q),x=(0,r.useContext)(l.p),{editorActive:g,editorActiveRoute:m,setEditorActiveRoute:f}=(0,r.useContext)(i.n),{openPanel:b}=(0,c.m)(),A=(0,o.A)();if(!e||0===Object.keys(e).length)return{};if("live_chat"===e.type)return{onClick:e=>{e.preventDefault(),b()}};let y=t(e);if(!y)return{};switch((0,d.f_)({link:y,configPages:h.pages,editorActive:g,editorActiveRoute:m,isPreview:n})){case d.J.INVALID_LINK:return{};case d.J.EXTERNAL_LINK:return{target:"_blank",rel:"noopener noreferrer",href:(0,p.A)(y)};case d.J.EDITOR_ACTIVE_SAME_PAGE:return{onClick:()=>(0,d.C$)(y.split("#")[1])};case d.J.EDITOR_ACTIVE_DIFFERENT_PAGE:return{onClick:()=>{f({route:y.split("#")[0],sectionId:y.split("#")[1]}),n&&A?(0,d.C$)("app",{behavior:"auto"}):(0,s.A)(y,x)}};case d.J.TEL_MAIL_LINK:return{href:y,target:"self"};case d.J.INTERNAL_LINK_WITH_SECTION:case d.J.INTERNAL_LINK:return{href:y,isInternal:!0};case d.J.INTERNAL_LINK_SECTION_ONLY:return{href:y,onClick:e=>{e.preventDefault(),(0,d.C$)(y.split("#")[1])}};default:return{href:y}}}},29927:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(55729),a=n(24090);function i(){let e=(0,a.A)(),[t,n]=(0,r.useState)(e<=959);return(0,r.useEffect)(()=>{let t=navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform);(0===e?window.innerWidth:e)<=959||t?n(!0):n(!1)},[e]),t}},30003:(e,t,n)=>{n.d(t,{B_:()=>p,CT:()=>c,Od:()=>s,bJ:()=>o,nn:()=>d,rp:()=>u});var r=n(76568),a=n(49449),i=n(7124);function l(e,t,n){let r=[e,t,n].map(e=>(e/=255)<=.03928?e/12.92:((e+.055)/1.055)**2.4);return .2126*r[0]+.7152*r[1]+.0722*r[2]}function o(e,t){let n=(0,i.E2)(e),r=(0,i.E2)(t);
1if(!n||!r)return null;let a=l(n.r,n.g,n.b),o=l(r.r,r.g,r.b);return(Math.max(a,o)+.05)/(Math.min(a,o)+.05)}let s=4;function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r=o(e,t);return!!(r&&r>n)}function c(e,t){let n=(0,a.n)(t.map(t=>o(e,t))),r=Math.max(...n);return t[n.indexOf(r)]||t[0]}function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s;return t.find(t=>(o(e,t)||0)>n)||c(e,t)}function p(e,t){let n=t;return(t?.startsWith("rgb")&&(n=(0,r.Ob)(t)),!n||d(e.palette.text.primary,n))?e.palette.text.primary:e.palette.text.secondary}},46944:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(55729);function a(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(e)return;let n=()=>t(!0);return document.addEventListener("mouseover",n,{once:!0}),document.addEventListener("touchstart",n,{once:!0}),()=>{document.removeEventListener("mouseover",n),document.removeEventListener("touchstart",n)}}),e}},49449:(e,t,n)=>{n.d(t,{n:()=>r});let r=e=>e.filter(e=>null!=e&&""!==e&&0!==e&&!1!==e)},49895:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(6029),a=n(90798);let i=e=>(0,r.jsx)(a.A,{component:"button",...e,sx:[{"*:where(&)":{cursor:"pointer",border:"none",textAlign:"initial",background:"none",color:"inherit",p:0}},...Array.isArray(e.sx)?e.sx:[e.sx]],type:"button"})},51600:(e,t,n)=>{n.d(t,{S:()=>s});var r=n(55729),a=n(80486),i=n(25425),l=n(12209),o=n(57710);let s=()=>{let{socialMediaInfo:e}=(0,r.useContext)(o.uV),{getUrl:t}=(0,a.Dn)(),{getDefaultPublicReviewUrl:n}=(0,i.v1)();return r=>((e,t,n,r)=>{if("type"in e&&"leave_review"===e.type){let t=r?.();if(t)return t;let n="link"in e?e.link:void 0;return"string"==typeof n?n:""}if("type"in e&&"live_chat"===e.type)return"";if("type"in e&&"calendar"===e.type&&"calendarUserId"in e){let t="number"==typeof e.durationMinutes?e.durationMinutes:30,r=n?.(e.calendarUserId,t);if(r)return r;let a="link"in e?e.link:void 0;return"string"==typeof a?a:""}if("sync"in e)switch(e.sync?.key){case l.F.FACEBOOK:{if(!t?.facebook)return"";let{pageId:e,facebookLink:n}=t.facebook;return n||`https://facebook.com/${e}`}case l.F.INSTAGRAM:{let e=t?.instagram?.username;return e?`https://www.instagram.com/${e}`:""}default:return""}return e.link})(r,e,t,n)}},52128:(e,t,n)=>{n.r(t),n.d(t,{HEADER_ELEMENT_ID:()=>_,dataSyncKeyChains:()=>W,default:()=>R});var r=n(6029),a=n(90798),i=n(68684),l=n(71024),o=n.n(l),s=n(55729),d=n(34330),c=n(21425),u=n(17682),p=n(60287),h=n(46944),x=n(44640),g=n(71470),m=n(1753),f=n(16495),b=n(96034),A=n(60633),y=n(84032),v=n(1521),N=n(88341),C=n(98e3),k=n(91815),w=n(96725),L=n(60542),I=n(59871),E=n(93346);let j=o()(()=>n.e(25047).then(n.bind(n,87122)),{loadableGenerated:{webpack:()=>[87122]}});function T(e){let{header:t,variant:n,socialMedia:i=[]}=e,l=(0,N.A)(t),o=(0,L.R)(t?.email?.link);return(0,r.jsxs)(k.Ay,{className:"nav-top-bar",bgcolor:(0,x.c)("local-background-alt"),color:(0,x.c)("local-text"),display:{xs:"none",md:"flex"},tearEnd:"basic",tearSize:1,tearStretch:.1,gap:(0,g.s)("large"),pl:(0,g.s)("large"),pr:(0,g.s)("4x-large"),alignItems:"center",justifyContent:"space-between",height:`calc(45px + ${k.Gz})`,invertedMargin:!0,sx:["gradient"===n&&{pl:{lg:"110px"},pr:0},"grid"===n&&{pl:"40px",pr:0}],children:[(0,r.jsxs)(a.A,{display:"flex",gap:(0,g.s)("medium"),alignItems:"center",overflow:"hidden",flexWrap:"wrap",alignSelf:"stretch",children:[t?.phone?.text&&(0,r.jsxs)(C.A,{height:"100%",forceActive:!0,type:"phone",link:t.phone.link,display:"flex",gap:(0,g.s)("x-small"),alignItems:"center",minWidth:0,sx:{cursor:"pointer"},children:[(0,r.jsx)(v.A,{}),(0,r.jsx)(w.A,{oneParagraph:!0,variant:"caption",children:t.phone.text})]}),o&&t?.email?.link&&(0,r.jsxs)(C.A,{height:"100%",forceActive:!0,type:"email",link:t.email.link,display:"flex",gap:(0,g.s)("x-small"),alignItems:"center",minWidth:0,sx:{cursor:"pointer"},children:[(0,r.jsx)(y.A,{}),(0,r.jsx)(w.A,{oneParagraph:!0,variant:"caption",children:o})]}),l&&(0,r.jsxs)(C.A,{height:"100%",forceActive:!0,link:(0,I.Dx)(l),"aria-label":(0,I.KV)(l.address),display:"flex",gap:(0,g.s)("x-small"),alignItems:"center",minWidth:0,sx:{cursor:"pointer"},children:[(0,r.jsx)(A.A,{}),(0,r.jsx)(w.A,{oneParagraph:!0,variant:"caption",children:l.address})]})]}),i.length>0&&(0,r.jsxs)(E.A,{condition:"illustrative"!==n,bgcolor:(0,x.c)("local-background-contrast2"),pr:(0,g.s)("4x-large"),pl:"grid"===n?(0,g.s)("large"):void 0,gap:(0,g.s)("medium"),height:"45px",display:"flex",alignItems:"center",justifyContent:"center",children:[(0,r.jsx)(E.A,{condition:"gradient"===n,left:0,top:0,bottom:0,width:35,height:45,sx:{clipPath:"pol
1ygon(0 0, 0 100%, 100% 100%)"},bgcolor:(0,x.c)("local-background-alt"),children:null}),(0,r.jsx)(j,{socialMedia:i,color:"illustrative"!==n?(0,x.c)("local-background-alt"):(0,x.c)("local-text")})]})]})}var S=n(47642),O=n(77079);let _="friendly-header",M=o()(()=>Promise.all([n.e(8860),n.e(90923),n.e(32182),n.e(94054),n.e(40345),n.e(51654),n.e(71203),n.e(76852)]).then(n.bind(n,47739)),{loadableGenerated:{webpack:()=>[47739]}}),D=o()(()=>n.e(1612).then(n.bind(n,72778)),{loadableGenerated:{webpack:()=>[72778]}}),$=o()(()=>Promise.all([n.e(8860),n.e(90923),n.e(32182),n.e(94054),n.e(40345),n.e(1682),n.e(65308),n.e(27557)]).then(n.bind(n,16283)),{loadableGenerated:{webpack:()=>[16283]}}),P=o()(()=>Promise.all([n.e(8860),n.e(93710)]).then(n.bind(n,48124)),{loadableGenerated:{webpack:()=>[48124]}}),W=[["header","primaryCTA","text"],["header","primaryCTA","link"],["header","secondaryCTA","text"],["header","secondaryCTA","link"],["header","phone","text"],["header","email","text"]];function R(){let e=(0,s.useContext)(c.Q),{socialMedia:t=[],header:n,variant:l}=e.config,{orgInfo:{logo:o,name:A},isFetchingOrgInfo:y}=(0,s.useContext)(d._P),v=(0,m.GW)(e.config),N=(0,i.A)(e=>e.breakpoints.down("md")),[C,k]=(0,s.useState)(!1),w=N||C,{state:L,setTrue:I,setFalse:j}=(0,p.A)(!1),W=(0,h.A)(),{hasTopBar:R,headerHeightResponsive:F}=(0,S.A)(),{editorActive:H}=(0,s.useContext)(O.n),B=n?.logoBackgroundColor||(0,x.c)("light");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.default,{screen:"FriendlyNavigationBar",parentScreen:"FriendlyGlobalComponents",label:"Navigation Bar",children:(0,r.jsxs)(x.oH,{id:_,tearEnd:"flat",component:"header",zIndex:11,display:"flex",scopeBackground:"contrast",scopeColor:"primary",customColor:n?.backgroundColor,bgcolor:{xs:(0,x.c)("local-background-alt"),md:(0,x.c)("local-background")},mb:"illustrative"===l?"-10px":"0px",sx:["illustrative"!==l&&{overflow:"hidden"},{position:H?"relative":"sticky",top:0,overflowY:"hidden",zIndex:11,...C&&!N&&{height:F.xs,backgroundColor:`${(0,x.c)("local-background-alt")} !important`,".desktop-header-links-and-button":{visibility:"hidden"},".header-color-scope":{height:F.xs,py:{xs:(0,g.s)("small"),md:"4px"},..."gradient"===l&&{display:"block"}},".nav-top-bar":{visibility:"hidden"},"#friendly-header-hamburger-button":{position:"absolute"},".header-logo img":{maxHeight:`${F.xs-8}px !important`},".gradient-logo-accent-mobile":{display:"block"},..."gradient"===l&&{".gradient-top-bar-placeholder":{backgroundColor:B,position:"absolute",top:0,left:0,width:"100%",height:"100%"},".header-logo-container":{paddingTop:0}}}}],children:[R&&(0,r.jsx)(E.A,{condition:"gradient"===l,display:{xs:"none",md:"block"},width:"100%",zIndex:-1,position:"absolute",top:0,left:0,height:45,bgcolor:(0,x.c)("local-background-alt")}),(0,r.jsxs)(x.oH,{className:"header-color-scope",scopeBackground:"base",scopeColor:"primary",customColor:n?.logoBackgroundColor,flexShrink:0,height:F,px:(0,g.s)("large"),py:(0,g.s)("small"),display:"flex",alignItems:"center",justifyContent:"center",sx:["illustrative"===l&&{bgcolor:B},"illustrative"!==l&&{bgcolor:"gradient"===l?{xs:B,md:"transparent"}:B,position:"relative",display:{md:"gradient"===l?"none":"block",lg:"block"},..."gradient"===l&&{p:{lg:0},pr:o?void 0:0,pl:o?(0,g.s)("large"):{xs:(0,g.s)("small"),md:C?(0,g.s)("x-small"):(0,g.s)("large")}}}],children:["gradient"===l&&(0,r.jsx)(D,{logoBackgroundColor:n?.logoBackgroundColor}),(0,r.jsxs)(E.A,{condition:"illustrative"!==l,children:[R&&(0,r.jsx)(E.A,{className:"gradient-top-bar-placeholder",condition:"gradient"===l,display:{xs:"none",md:"block"},height:45,bgcolor:"transparent"}),(0,r.jsx)(E.A,{className:"header-logo-container",condition:"illustrative"!==l,zIndex:1,position:"relative",sx:{display:"flex",alignItems:"center",justifyContent:"center",...!o&&{height:C?"60px":"100px",pt:{xs:"grid"===l?0:"16px",md:C?0:"16px"}},..."gradient"===l&&{pl:o?(0,g.s)("large"):{xs:0,md:C?(0,g.s)("x-small"):(0,g.s)("large")},pt:o?0:"16px","& img":{maxWidth:{xs:170,md:312},maxHeight:{xs:44,md:84}}},..."grid"===l&&{"& img":{maxWidth:{xs:170,md:312},maxHeight:{xs:44,md:R?115:68},height:{md:R?115:68}}}},children:o?(0,r.jsx)(f.A,{logo:o,imageStyle:"illustrative"===l?{maxHeight:F.md-16}:void 0,businessName:A,isFetchingOrgInfo:y}):(0,r.jsx)(b.A,{businessName:A,isFetchingOrgInfo:y,titleSx:{color:`${(0,x.c)("local-text")} !important`},containerSx:{width:"gradient"===l?{xs:220,sm:240,md:C?300:200,lg:300}:{xs:220,md:200,lg:300},height:"100%"},maxFontSize:32,minFontSize:9})})]})]}),(0,r.jsxs)(a.A,{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",children:[R&&(0,r.jsx)(T,{header:n,variant:l,socialMedia:t}),(0,r.jsx)(P,{sx:{display:{md:"none"}},onClick:I}),(0,r.jsx)($,{links:v,variant:l,primaryCTA:n?.primaryCTA,secondaryCTA:n?.secondaryCTA,logo:o,businessName:A,isFetchingOrgInfo:y,logoBackgroun
1dColor:n?.logoBackgroundColor,onOverflowChange:k,maxVisibleLinks:n?.maxDesktopNavLinks}),C&&!N&&(0,r.jsx)(P,{onClick:I})]})]})}),W&&w&&(0,r.jsx)(M,{links:v,open:L,onClose:j,primaryCTA:n?.primaryCTA,secondaryCTA:n?.secondaryCTA})]})}},59871:(e,t,n)=>{n.d(t,{T9:()=>N,qr:()=>g,Ki:()=>y,oe:()=>m,KV:()=>u,Dx:()=>p,vZ:()=>c,po:()=>A,b9:()=>h,Fe:()=>x,XV:()=>d,vN:()=>f});var r=n(1887),a=n.n(r),i=n(74302),l=n(48879),o=n(90191),s=n(98179);let d=e=>!e.addressVisible&&!e.phoneNumberVisible&&!e.hoursOfOperationVisible,c=e=>{let t=e?.hoursOfOperation,n=e?.specialHours,r=e?.timeZone;if(!(t&&Object.keys(t).length>0)||e?.hoursOfOperationVisible===!1)return{showHours:!1,daysWithHours:void 0,entriesByDayIdx:void 0};let a=n&&n.length>0,l=n?.some(e=>(0,o.A)(e,r)),d=i.W.filter(e=>t[e]),c=d.map(e=>(0,s.Lx)(t[e][0])?[{open:"Closed",closed:"Closed"}]:t[e]);return{showHours:!0,daysWithHours:d,entriesByDayIdx:c,hasSpecialHours:a,todayHasSpecialHours:l}},u=e=>`Get directions to ${e}`,p=e=>{let t=e.formattedAddress||e.address;if(!t)return"";let n=`https://www.google.com/maps/dir/?api=1&destination=${encodeURIComponent(t)}`;return e.placeId?`${n}&destination_place_id=${e.placeId}`:n},h=e=>window.open(p(e),"_blank"),x=e=>window.open(e,"_self"),g=e=>e&&x(function(e){let[t]=e.split(/x|(ext.)/i),n=t.replace(/[^\d\+]/g,"");return`tel:${n}`}(e)),m=(e,t)=>{let[n]=e.split(/x|(ext.)/i);return("sms"===t?"sms:":"tel:")+n.replace(/[^\d\+]/g,"")},f=e=>{let t=t=>e.filter(e=>e.type===t),n=t(l.L.FAX_NUMBER),r=t(l.L.NOTES),a=t(l.L.CONTACT_EMAIL),i=t(l.L.PO_BOX),o=t(l.L.OTHER_CONTACT_INFO);return{faxList:n,notesList:r,emailList:a,poBoxList:i,otherInfoList:o,mailingAddressList:t(l.L.MAILING_ADDRESS),altPhoneList:t(l.L.ALTERNATIVE_PHONE)}},b=(e,t)=>{let{year:n,month:r,day:a}=e;if(n)return new Date(n,r,a);let i=(e=>{let t=new Date;if(e)try{let[n,r,a]=t.toLocaleDateString("en-US",{timeZone:e}).split("/").map(Number);return{year:a,month:n-1,day:r}}catch{}return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}})(t),l=new Date(i.year,r,a);return l<new Date(i.year,i.month,i.day)?new Date(i.year+1,r,a):l},A=(e,t)=>a()(b(e,t),"mmmm d, yyyy"),y=(e,t)=>{let n=new Date;return n.setMonth(n.getMonth()-1),n.setHours(0,0,0,0),e.filter(e=>b(e,t)>=n).sort((e,n)=>b(e,t).getTime()-b(n,t).getTime())},v=[", United States",", United States of America",", USA",", Canada",", UK",", India",", Pakistan",", Australia"],N=e=>v.some(t=>e.endsWith(t))?e.split(",").slice(0,-1).join(","):e},60287:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(55729);let a=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[t,n]=(0,r.useState)(e),a=(0,r.useCallback)(()=>n(!0),[]),i=(0,r.useCallback)(()=>n(!1),[]);return{state:t,setState:n,setTrue:a,setFalse:i}}},74302:(e,t,n)=>{n.d(t,{W:()=>a,U:()=>r});var r=function(e){return e.AL="Alabama",e.AK="Alaska",e.AZ="Arizona",e.AR="Arkansas",e.CA="California",e.CO="Colorado",e.CT="Connecticut",e.DE="Delaware",e.FL="Florida",e.GA="Georgia",e.HI="Hawaii",e.ID="Idaho",e.IL="Illinois",e.IN="Indiana",e.IA="Iowa",e.KS="Kansas",e.KY="Kentucky",e.LA="Louisiana",e.ME="Maine",e.MD="Maryland",e.MA="Massachusetts",e.MI="Michigan",e.MN="Minnesota",e.MS="Mississippi",e.MO="Missouri",e.MT="Montana",e.NE="Nebraska",e.NV="Nevada",e.NH="New Hampshire",e.NJ="New Jersey",e.NM="New Mexico",e.NY="New York",e.NC="North Carolina",e.ND="North Dakota",e.OH="Ohio",e.OK="Oklahoma",e.OR="Oregon",e.PA="Pennsylvania",e.RI="Rhode Island",e.SC="South Carolina",e.SD="South Dakota",e.TN="Tennessee",e.TX="Texas",e.UT="Utah",e.VT="Vermont",e.VA="Virginia",e.WA="Washington",e.WV="West Virginia",e.WI="Wisconsin",e.WY="Wyoming",e.AB="Alberta",e.BC="British Columbia",e.MB="Manitoba",e.NB="New Brunswick",e.NL="Newfoundland and Labrador",e.NT="Northwest Territories",e.NS="Nova Scotia",e.NU="Nunavut",e.ON="Ontario",e.PE="Prince Edward Island",e.QC="Quebec",e.SK="Saskatchewan",e.YT="Yukon",e}({});let a=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]},76568:(e,t,n)=>{n.d(t,{Ob:()=>i,rP:()=>a});let r=["rgb","rgba","hsl","hsla","color"];function a(e){let t,n;if("string"!=typeof e)return e;if("#"===e.charAt(0))return a(function(e){let t=e.slice(1),n=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),r=t.match(n);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let i=e.indexOf("("),l=e.substring(0,i);if(!r.some(e=>e===l))throw Error(`Unsupported \`${e}\` color. The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`);if("color"===l){if(n=(t=e.substring(i+1,e.length-1).split(" ")).shift(),4===t.length&&"/"===t[3].charAt(0)&&(t[3]=t[3].slice(1)),!n||!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw Error(`Unsupported \`${n}\` color space.`)}else t=e.substring(i+1,e.length-1).split(",");return{type:l,values:t.map(e=>parseFloat(e)),colorSpace:n}}function i(e){if(e.startsWith("#"))return e;let{values:t}=a(e);return`#${t.map((e,t)=>
1(e=>{let t=e.toString(16);return 1===t.length?`0${t}`:t})(3===t?Math.round(255*e):e)).join("")}`}},90191:(e,t,n)=>{n.d(t,{A:()=>r});let r=(e,t)=>{let n=new Date,[r,a,i]=(t?n.toLocaleString("en-US",{timeZone:t}):n.toLocaleString()).split(",")[0].split("/"),{year:l,month:o,day:s}=e;return String(l)===i&&String(o+1)===r&&String(s)===a}},93346:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(6029),a=n(90798);let i=n(55729).forwardRef((e,t)=>{let{condition:n,children:i=null,...l}=e;return n?(0,r.jsx)(a.A,{ref:t,...l,children:i}):(0,r.jsx)(r.Fragment,{children:i})});i.displayName="MaybeBox";let l=i},96034:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(6029),a=n(90798),i=n(90667),l=n(81364),o=n(97018),s=n(4062);function d(e){let{businessName:t,isFetchingOrgInfo:n,containerSx:d,titleSx:c,maxFontSize:u=32,minFontSize:p=12}=e,h=(0,i.A)(),{fontSize:x,containerRef:g,textRef:m}=(0,s.A)({maxFontSize:u,minFontSize:p,text:t});return(0,r.jsx)(l.A,{link:h,className:"header-logo",children:!n&&(0,r.jsx)(a.A,{ref:g,sx:[{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},...Array.isArray(d)?d:[d]],children:(0,r.jsx)(o.default,{ref:m,variant:"h4",color:"textPrimary",sx:{whiteSpace:"nowrap",...c},style:{fontSize:`${x}px`},children:t})})})}},96725:(e,t,n)=>{n.d(t,{A:()=>f});var r=n(6029),a=n(90798),i=n(32559),l=n(61086),o=n(55729),s=n(30696),d=n(77079),c=n(85518),u=n(44640),p=n(71470),h=n(21743),x=n(32988),g=n.n(x);function m(e){let{limitLines:t,...n}=e,l=(0,o.useRef)(),[s,d]=(0,o.useState)(!1),c=(0,o.useCallback)(e=>{if(l.current?.(),l.current=void 0,!e)return;let t=new ResizeObserver(()=>{d(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth)});t.observe(e);let n=new MutationObserver(()=>{d(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth)});n.observe(e,{childList:!0,subtree:!0}),l.current=()=>{t.disconnect(),n.disconnect()}},[]);return t?(0,r.jsx)(a.A,{display:"flex",children:(0,r.jsxs)(a.A,{position:"relative",sx:{display:"-webkit-box",WebkitLineClamp:t.toString(),WebkitBoxOrient:"vertical",overflow:"hidden"},children:[(0,r.jsx)(i.A,{ref:c,...n}),s&&(0,r.jsx)(a.A,{className:"friendly-typography-read-more",sx:{position:"absolute",bottom:0,right:0,background:`linear-gradient(to right, transparent 10px, ${(0,u.c)("local-background")} 30px)`,pl:"20px",pr:"10px",py:"1px",fontWeight:700,pointerEvents:"none",color:(0,u.c)("local-text")},children:"\xa0...[Read more]"})]})}):(0,r.jsx)(i.A,{...n})}let f=e=>{let{children:t,altColor:n,wrap:x=e=>e,oneParagraph:f=!1,underlineDecoration:b=!1,limitLines:A,...y}=e,{illustrativeGraphicPackage:v,variant:N}=(0,s.useFriendlyVariant)(),{editorActive:C}=(0,o.useContext)(d.n),k=(0,o.useMemo)(()=>C?t??"":(0,c.W)(t),[C,t]);if(!t)return null;let w=t.replace(/<[^>]*>?/g,"").trim();if(!t.match(/<\w[^>]*>/))return(0,r.jsx)(m,{...y,limitLines:A,children:x(t,w)});if(null!=y["data-text-attribute"])return(0,r.jsx)(m,{...y,limitLines:A,component:"div",dangerouslySetInnerHTML:{__html:k}});let L=y&&{replace:e=>{if("tag"===e.type){let{class:t,style:o,...s}=e.attribs,d=function(e){return e?e.split(";").filter(Boolean).reduce((e,t)=>{let[n,r]=t.split(":").map(e=>e.trim());if(!n||!r)return e;let a=n.replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),i=/^\d+(\.\d+)?$/.test(r)?Number(r):r;return{...e,[a]:i}},{}):{}}(o),c=t?.replace(/\bquill-list\b/g,"");if("p"===e.name)return(0,r.jsx)(i.A,{...y,style:d,className:g()(c,y.className),...s,children:x((0,l.zd)(e.children,L),w)});if("ul"===e.name)return(0,r.jsx)(a.A,{component:"ul",my:(0,p.s)("small"),p:"grid"===N?{xs:"20px",md:"40px"}:void 0,pl:"grid"===N?{xs:"20px",md:"40px"}:0,border:"grid"===N?`1px solid color-mix(in srgb, ${(0,u.c)("local-text")} 20%, transparent)`:void 0,className:c,...s,children:(0,l.zd)(e.children,L)});if("li"===e.name)return(0,r.jsxs)(i.A,{component:"li",my:(0,p.s)("x-small"),display:"flex",gap:(0,p.s)("small"),...y,className:c,style:d,...s,sx:[...Array.isArray(y.sx)?y.sx:[y.sx],{listStyle:"none"}],children:[(0,r.jsx)("span",{children:(0,r.jsx)(h.A,{g:"Bullet",color:n})}),(0,r.jsx)("span",{children:(0,l.zd)(e.children,L)})]});
1else if("u"===e.name&&b&&"base"===v)return(0,r.jsxs)(a.A,{component:"span",position:"relative",children:[(0,l.zd)(e.children,L),(0,r.jsx)(h.A,{g:"HeaderUnderline",preserveAspectRatio:"none",color:(0,u.c)("local-text-primary"),position:"absolute",width:"100%",left:0,bottom:"-8px"})]})}return e}},I=(0,l.Ay)(k,L);return A?(0,r.jsx)(m,{...y,limitLines:A,children:I}):f&&Array.isArray(I)?(0,r.jsx)(r.Fragment,{children:I[0]}):(0,r.jsx)(r.Fragment,{children:I})}},98e3:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(6029),a=n(90798),i=n(82203),l=n.n(i),o=n(24858),s=n(7333),d=n(49895);let c=e=>{let t="link"in e||"sync"in e?e:void 0,n=(0,o.A)(t),i=globalThis?.shouldUseNextLink??!1;return e.forceActive&&!t?.hidden||(0,s.A)(t)?n.href?n.isInternal&&i?(0,r.jsx)(l(),{href:n.href,legacyBehavior:!0,children:(0,r.jsx)(a.A,{component:"a",...e,sx:[{color:"inherit",cursor:"pointer"},...Array.isArray(e.sx)?e.sx:[e.sx]]})}):(0,r.jsx)(a.A,{component:"a",...e,sx:[{color:"inherit",cursor:"pointer"},...Array.isArray(e.sx)?e.sx:[e.sx]],href:n.href}):(0,r.jsx)(d.A,{...e,...n}):(0,r.jsx)(a.A,{component:"div",...e,hidden:void 0})}},98179:(e,t,n)=>{n.d(t,{Lx:()=>u,Mf:()=>y,NH:()=>f,P1:()=>A,S2:()=>v,Ww:()=>p,aE:()=>g,as:()=>m,t6:()=>b,yX:()=>h});var r=n(48879),a=n(84611),i=n(44418);let l=e=>{let t=e.split(":"),n=Number(t[0])>=12?"PM":"AM",r=Number(t[0])%12||12;return`${r}:${t[1]} ${n}`},o=e=>!!/AM|PM/i.exec(e),s=e=>!!/closed/i.exec(e),d=e=>!!/appointment/i.exec(e),c=e=>!!/24_hours/i.exec(e),u=e=>s(e.open)||s(e.closed),p=e=>d(e.open)||d(e.closed),h=e=>c(e.open)||c(e.closed),x={closed:"Closed",appointment:"By Appointment Only",allDay:"24 Hours"},g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{useFromTo:n,labels:r}=t,{closed:a,appointment:i,allDay:s}={...x,...r};if(u(e))return a;if(p(e))return i;if(h(e))return s;let d=o(e.open)?e.open:l(e.open),c=o(e.closed)?e.closed:l(e.closed);return n?`from ${d} to ${c}`:`${d} - ${c}`},m=(e,t)=>
1e.map(e=>g(e,t)).join(", "),f=e=>s(e)?"Closed":d(e)||c(e)||o(e)?e:l(e),b={[r.L.NOTES]:{typeLabel:"Notes",inputLabel:"Notes",placeholder:"Ex. Wifi available..."},[r.L.CONTACT_EMAIL]:{typeLabel:"Email Address",inputLabel:"Email Address",placeholder:"Ex. [email protected]"},[r.L.PO_BOX]:{typeLabel:"PO Box",inputLabel:"Address"},[r.L.FAX_NUMBER]:{typeLabel:"Fax Number",inputLabel:"Fax Number",placeholder:"Ex. 123-456-7890"},[r.L.OTHER_CONTACT_INFO]:{typeLabel:"Other Contact Info",inputLabel:"Other Contact Info"},[r.L.MAILING_ADDRESS]:{typeLabel:"Mailing Address",inputLabel:"Address"},[r.L.ALTERNATIVE_PHONE]:{typeLabel:"Alternative Phone Number",inputLabel:"Phone Number",placeholder:"Ex. 123-456-7890"}},A=e=>{let{year:t,month:n,day:r}=e,a=new Date().getFullYear();return new Date(t||a,n,r)},y=e=>{let t=new Date;return(0,a.P)(e).map(e=>{let n=e.specialHours?.filter(t=>t.shouldAnnounce&&!(0,i.A)(t,e.timeZone));if(!n||0===n.length)return[];let r=e.timeZone?t.toLocaleString("en-US",{timeZone:e.timeZone}):t.toLocaleString("en-US"),a={year:"numeric",month:"short",day:"numeric"},[,,l]=r.split(",")[0].split("/");return n?.map(t=>{let n=new Date(t.year||Number(l),t.month,t.day),r="";return r=u(t)?"we are closed.":p(t)?"we are open by appointment only.":h(t)?"we are open all day.":`our special hours are ${g(t,{useFromTo:!0})}.`,{announcement:`${n.toLocaleDateString("en-US",a)}, ${r}${t.notes?` ${t.notes}`:""}`,locationId:e.id,address:e.address}})}).flat()},v=e=>{if([r.L.NOTES,r.L.CONTACT_EMAIL,r.L.ALTERNATIVE_PHONE].includes(e.type))return e.value;let t=e.type===r.L.OTHER_CONTACT_INFO?e.customLabel:b[e.type]?.typeLabel;return t?`${t}: ${e.value}`:e.value}}}]);

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.