1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93653,65250],{93653:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return y}});var r=n(85893);n(67294);var l=n(9008),i=n.n(l),a=n(67379),o=n(5152),s=n.n(o),c=n(74206),u=n(75321),d=n.n(u),f=n(88737),g=n(8281);let h=s()(()=>n.e(69655).then(n.bind(n,69655)),{loadableGenerated:{webpack:()=>[69655]}}),p=s()(()=>n.e(84043).then(n.bind(n,18740)),{loadableGenerated:{webpack:()=>[18740]}}),m=s()(()=>Promise.all([n.e(10761),n.e(14777)]).then(n.bind(n,10761)),{loadableGenerated:{webpack:()=>[10761]}}),b=s()(()=>Promise.all([n.e(57079),n.e(25591)]).then(n.bind(n,57079)),{loadableGenerated:{webpack:()=>[57079]}}),x=s()(()=>n.e(60681).then(n.bind(n,31701)),{loadableGenerated:{webpack:()=>[31701]}});function y({children:e}){let{modal:t,closeModal:n}=(0,a.d)(),{visitDetails:{region:l}}=(0,f.w)(),o=()=>{n()},{active:s,content:u}=t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i(),{children:[(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),(0,r.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap",rel:"stylesheet"})]}),(0,r.jsxs)("div",{style:{fontFamily:"'Open Sans', sans-serif"},children:[(0,r.jsx)(c.default,{slogan:`find the best earplug lawyers ${l?`in ${l}`:""}`,textColor:d().offerCallNumber}),e,(0,r.jsx)(x,{}),(0,r.jsx)(p,{onClose:o,active:s,closeIcon:(0,r.jsx)(h,{}),backdropClosable:!0,modalStyles:{display:"flex",flexDirection:"column",maxHeight:"sideWidget"===u?"80vh":"100%"},modalClassName:"h-[90vh] rounded",bodyStyles:{overflowY:"scroll"},width:900,header:"privacy"===u?"Privacy Policy":"terms"===u?"Terms and Conditions":"sideWidget"===u?"Contents":void 0,children:(()=>{switch(u){case"privacy":return(0,r.jsx)(b,{category:"Military Earplugs",domain:"BestEarplugLawyers.com"});case"terms":return(0,r.jsx)(m,{category:"Military Earplugs",domain:"BestEarplugLawyers.com"});case"sideWidget":return(0,r.jsx)(g.Z,{});default:return null}})()})]})]})}},74206:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var r=n(85893),l=n(67294),i=n(88737),a=n(10621),o=n(11163),s=n(78418),c=n(19255),u=n.n(c),d=n(79961),f=n(75094);function g({slogan:e,children:t,textColor:n,iconColor:c,backGroundColor:g,isLogoClickable:h=!0,emptyIcon:p,boxShadow:m,border:b,phoneNumberColor:x,stickyStyle:y,hideSticky:$,logoClassName:v,useChildrenLogo:j,bannerStyleAsProp:k,className:_,useSecondaryLogo:C=!1}){let{domain:w,blogPost:S,routeConfig:N,showFormModal:P,locale:O,defaultLocale:z,pageType:B}=(0,i.w)(),{0:E,1:I}=(0,l.useState)(null),R=(0,l.useRef)(null),{0:Z,1:A}=(0,l.useState)(!1),{0:F,1:G}=(0,l.useState)(!1),{query:L,asPath:T}=(0,o.useRouter)(),W=w.textBlocks?.find(e=>"banner"===e.position);(0,l.useEffect)(()=>{let e="0",t=new ResizeObserver(([t])=>{if(R.current){let n=t.borderBoxSize?.[0]?.blockSize.toFixed(0);n!==e&&(e=n,I(`${n}px`))}});return R.current&&t.observe(R.current),W&&setTimeout(()=>{A(!0)},500),sessionStorage.getItem(f.UG)&&T.includes("thank-you")&&G(!0),()=>{R.current&&t.unobserve(R.current)}},[]);let H=N?.templateConfig?.variantConfig?.logo,M=H??N?.config?.settings?.logo??w?.logo?.fullPath,D=w?.secondaryLogo?.fullPath??null,J=N?.templateConfig?.headerAndFooter?.header?.callIconUnWrappedImage,X=(0,r.jsx)("div",{className:"slogan items-center flex",children:(0,r.jsx)(a.Z,{slogan:e,textColor:n,iconColor:c??n,emptyIcon:p,phoneNumberColor:x,stickyStyle:y,hideSticky:$||P,iconPath:J})}),K=(0,l.useMemo)(()=>{if(!h)return;let e=(0,f.$N)(L,O,z);if(void 0===e)return;let t=(0,s.r)(L,"start",["genericRoute","keyword","category","formTemplate","tool","slug","data","zc","filters","pii-token",]);return`${e}?${t}`},[h,L]),U=N?.config?.header?.variables,Y={backgroundColor:g,boxShadow:m,borderBottom:b,...U?(0,d.Xz)(U):{}};return(0,r.jsxs)("header",{style:Y,className:`${u().header} ${_}`,ref:R,children:[(0,r.jsxs)("div",{className:`ltrStyle inner py-5 lg:py-4 px-5 flex lg:max-w-7xl mx-auto lg:px-6 items-center ${u().headerContainer} `,children:[(0,r.jsx)("div",{className:`${u().logo} ${v||""}`,style:{backgroundImage:`url(${C?D:M??""})`,width:"auto",height:"auto",backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",..."homewarranty.deals"===w.name?{maxWidth:"330px"}:{}},children:(0,r.jsx)("a",{href:K,"aria-label":`${w.name} logo`,children:M&&!j?(0,r.jsx)("img",{src:M,className:"h-auto w-full",alt:`${w.name} logo`,style:{visibility:"hidden"},rel:"preload"}):(0,r.jsx)("span",{className:"children:w-full children:h-auto lg:children:h-10",children:t})})}),(0,r.jsxs)("div",{children:[S&&(0,r.jsx)("div",{className:"text-xs lg:flex hidden justify-end text-[#6b6b6b] ",children:"Advertisement"}),!F&&X]}),E&&(0,r.jsx)("style",{children:`:root {--header-height: ${E} }`})]}),!!W&&("page-builder"!==B||!N?.config?.settings?.preHeaderText)&&(0,r.jsx)("div",{className:`${u().banner} ${k??""} ${Z?u().active:""}`,style:{"--banner-background-color":w?.config?.bannerBgColor,"--banner-text-color":w?.config?.bannerTextColor},children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:W?.text??""},className:u()["banner-inner"]})})]})}},78418:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});let r=(e,t,n)=>Object.keys(e).reduce(function(t,r,l){let i=e[r];return n?.includes(r)?t:t+`${0!==l?"&":""}${r}=${i}`},"")},79961:function(e,t,n){"use strict";n.d(t,{CA:function(){return s},OZ:function(){return i},XR:function(){return u},Xz:function(){return l},Z2:function(){return o},hJ:function(){return a},uC:function(){return c}});let r=["sm","md","lg","xl","xxl"];function l(e,t){let n={};for(let[l,i]of Object.entries(e)){if(!i)continue;let a=t?`${t}-${l}
1`:l;if("object"==typeof i){let o=i;r.forEach((e,t)=>{n[`--${a}-${e}`]=o[e]||o[r[t-1]]||o[r[t-2]]||o[r[t-3]]||o[r[t-4]]||o.sm||"unset"})}else r.forEach(e=>{n[`--${a}-${e}`]=i})}return n}function i(e){let t={};return!function e(n,r=""){for(let l in n)if(l in n){let i=n[l];if("string"!=typeof i&&null!==i)e(i,`${r}-${l}`);else{let a=`--${r}-${l.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}`;t[a]=i||"unset"}}}(e,"global"),t}let a=e=>e.replace(/\n/g,"").replace(/\s\s+/g," ");function o(e,t){if(!e)return"";let n=["@media","@supports","@container","@layer"],r=["@keyframes","@-webkit-keyframes","@-moz-keyframes","@font-face","@import","@charset","@namespace","@page",],l=e=>{let n=e.split("}");return n.map(e=>{let n=e.trim();if(""===n)return"";let r=n.indexOf("{");if(-1===r)return`${t} ${n}`;let l=n.substring(0,r),i=n.substring(r),a=l.split(",").map(e=>`${t} ${e.trim()}`).join(", ");return`${a} ${i}`}).join("\n}\n")},i=(e,t)=>{let n=1,r=t;for(;n>0&&r<e.length;)"{"===e[r]&&n++,"}"===e[r]&&n--,r++;return r},o=e=>{let t=null;for(let l of[...n,...r]){let i=e.indexOf(l);-1!==i&&(null===t||i<t.index)&&(t={index:i,type:l,isScoped:n.includes(l)})}return t},s=e=>{let t="",n=e;for(;n.length>0;){let r=o(n);if(!r){t+=l(n);break}if(r.index>0){let a=n.substring(0,r.index);t+=l(a)}let c=n.indexOf("{",r.index);if(-1===c){let u=n.indexOf(";",r.index);if(-1!==u){t+=n.substring(r.index,u+1),n=n.substring(u+1);continue}break}let d=n.substring(r.index,c).trim(),f=i(n,c+1),g=n.substring(c+1,f-1);if(r.isScoped){let h=s(g);t+=` 2${d} { 3${h} 4} 5`}else t+=` 6${d} { 7${g} 8} 9`;n=n.substring(f)}return t};return a(s(e))}let s=e=>{let t=e.match(/^url\((.+)\)$/);return t?t[1]:""},c=e=>e.includes("/free-consultation/v1")?"v1":e.includes("/free-consultation/v2")?"v2":null,u=(e,t,n)=>{let r=e?.templateConfig,l=r?.variantConfig?.otherLanguagesConfig?.[t]?.fontFamily,i=r?.theme?.fontFamily?.replace(" ","");return r?l||i||("ar"===t?"Almarai":"Poppins"):n||("ar"===t?"Almarai":"Poppins")}},19255:function(e){e.exports={header:"style_header__NnJo8",headerContainer:"style_headerContainer__bfY8J",logo:"style_logo__oPgVZ",banner:"style_banner__nKv8j","close-button":"style_close-button__1RZQB",active:"style_active__DfBCW","banner-inner":"style_banner-inner__pvqcg",preHeader:"style_preHeader__0jNK7"}},75321:function(e){e.exports={blue:"#168fce",pink:"#e2048c",hoverBg:"#fef8fb"}}}]); 10//# sourceMappingURL=93653-2ff87476e150bdef.js.map
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.