1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4235],{467:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(17963).A)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},1374:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(37876),a=r(14232),i=r(65734),o=r(55128),l=r(38469),s=r(12540),c=r(89099),d=r(68202),p=r(48230),u=r.n(p),m=r(18379),g=r(19909);let b=()=>{let e=window.location.pathname;return`bannerShown_${e}`},h=(0,a.memo)(e=>{let{content:t,banner:r,websiteData:a,handleClose:i,onClick:o}=e,l=(0,c.useRouter)();if(!t?.showCTA)return null;switch(t?.inputType){case"CUSTOM_URL":return(0,n.jsx)(u(),{onClick:()=>{s.uc.CUSTOM_URL?.(t,o,"popup")},href:t?.ctaLink||"#",target:"_blank",rel:"noopener noreferrer",className:"action_btn primary_btn","aria-label":"promo-button-link",children:t?.buttonText});case"PDF_UPLOAD":return(0,n.jsx)(u(),{onClick:()=>{s.uc.PDF_UPLOAD?.(t,o,"popup")},href:t?.ctaLink||"#",target:"_blank",rel:"noopener noreferrer",className:"action_btn primary_btn","aria-label":"promo-button-pdf",children:t?.buttonText||"View PDF"});default:return(0,n.jsx)("button",{className:"action_btn primary_btn cursor-pointer",onClick:()=>{s.uc.BOOK_APPOINTMENT?.(a,o,t,!1,void 0,"popup"),(0,s.qf)(r,a,l),i()},children:t?.buttonText})}});h.displayName="PromoButton";let f=(0,a.memo)(e=>{let{servicePricing:t,websiteData:r,onClick:a}=e,i=(0,c.useRouter)();if(!t?.enabled)return null;switch(t?.ctaType){case"CUSTOM_URL":case"PDF_UPLOAD":return(0,n.jsx)(u(),{onClick:()=>{s.uc.PDF_UPLOAD?.({buttonText:t?.buttonText,ctaLink:t?.ctaLink},a,"popup")},href:t?.ctaLink||"#",target:"_blank",rel:"noopener noreferrer",className:"action_btn outline_btn","aria-label":"service-pricing-button",children:t?.buttonText||"Service Pricing"});default:return(0,n.jsx)("button",{className:"action_btn outline_btn cursor-pointer",onClick:()=>{s.uc.BOOK_APPOINTMENT?.(r,a,{buttonText:t?.buttonText},!1,void 0,"popup"),d.W_.handleRouteChange(i,r,(0,o.WS)(r,g.Nb.BOOK_APPOINTMENT_PAGE))},children:t?.buttonText||"Service Pricing"})}});f.displayName="ServicePricingButton";let y=(0,a.memo)(e=>{let{disclaimer:t,endDate:r}=e;return t?(0,n.jsx)("p",{className:"popup_label",children:`${t}`}):null});y.displayName="DisclaimerText";let j=(0,a.memo)(e=>{let{content:t,banner:r,websiteData:a,handleClose:i,onClick:o}=e;return(0,n.jsxs)("div",{className:"popup_content",children:[(0,n.jsxs)("div",{className:"pop_content_grp",children:[(0,n.jsx)("h2",{className:"popup_title",children:t?.heading||""}),(0,n.jsx)("p",{className:"popup_desc",children:t?.description||""})]}),(0,n.jsxs)("div",{className:"popup_btn_grp",children:[(0,n.jsxs)("div",{className:"flex gap-2 flex-wrap",children:[(0,n.jsx)(h,{content:t,banner:r,websiteData:a,handleClose:i,onClick:o}),(0,n.jsx)(f,{servicePricing:t?.servicePricing,websiteData:a,onClick:o})]}),(0,n.jsx)(y,{disclaimer:t?.disclaimer,endDate:r?.endDate})]})]})});j.displayName="PopupContentComponent";let x=(0,a.memo)(e=>{let{banner:t,websiteData:r,onClick:o}=e,[s,c]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=b();sessionStorage.getItem(e)||c(!0)},[]);let d=()=>{c(!1);let e=b();sessionStorage.setItem(e,"true")},p=t?.content;return(0,n.jsx)(i.lG,{open:s,onOpenChange:d,children:(0,n.jsxs)(i.Cf,{className:"promo_popup z-[2147483647]",children:[(0,n.jsxs)(i.c7,{className:"popup_header",children:[(0,n.jsx)(i.L3,{className:"head_title",children:p?.navText||""}),(0,n.jsx)(i.rr,{})]}),(0,n.jsx)("div",{className:"popup_row",children:(0,n.jsxs)("div",{className:"popup_content_col",children:[(0,n.jsx)(j,{content:p,banner:t,handleClose:d,websiteData:r,onClick:o}),(0,n.jsx)("div",{className:"popup_image_col",children:(0,n.jsx)(l.Ay,{className:"popup_img",src:p?.imageUrl||m.A?.src,alt:"banner-image",height:500,width:500})})]})})]})})});x.displayName="PopUpBanner";let E=x},26980:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/website/layout",function(){return r(37321)}])},27153:(e,t,r)=>{"use strict";r.d(t,{JD:()=>n.JD,KS:()=>n.KS,SK:()=>n.SK,hA:()=>n.hA,wd:()=>n.wd});var n=r(23445)},32257:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(17963).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},36524:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(37876);r(14232);var a=r(55128),i=r(69418);function o(e){let{banner:t}=e;
1return(0,n.jsx)("div",{className:"promo_nav",children:(0,n.jsxs)("div",{className:"promo_nav_content",children:[(0,n.jsx)("div",{className:"promo_icon",children:(0,n.jsx)(i.d,{src:a.Lt[Number(t?.content?.icon||"1")-1]?.image?.src,size:15,colorInherit:!0})}),(0,n.jsx)("div",{className:"promo_text",children:t?.content?.text||""})]})})}},45664:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(37876),a=r(89099),i=r(14232);function o(){let e=(0,a.useRouter)(),[t,r]=(0,i.useState)("");return(0,i.useEffect)(()=>{r(e?.asPath?.split("/")?.pop()||"")},[e]),(0,n.jsx)("div",{"analytics-track-pagetype":t})}},47137:(e,t,r)=>{"use strict";r.d(t,{F:()=>o});var n=r(69241);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.$,o=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:l}=t,s=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==l?void 0:l[e];if(null===t)return null;let i=a(t)||a(n);return o[e][i]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,s,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...c}[t]):({...l,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},52295:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(37876),a=r(77328),i=r.n(a),o=r(38469),l=r(14232),s=r(594),c=r(10275),d=r(37659),p=r(55128),u=r(98673);function m(e){let{meta:t,icon:r,platformScripts:a,gtmScripts:m,websiteData:g,currentPage:b,detailPage:h,detailData:f,seoConfig:y,oneTrustEnabled:j=!1,isUvc:x=!1}=e,E=t?.title||t?.tags||"UVC",v=t?.description||"United Veterinary Care",N=t?.icon||r||s.A?.src,_=(t?.tags||"")?.split(",").map(e=>e.trim())||[],A=y?.meta||y?.openGraph||y?.twitter||y?.facebook||y?.schema||y?.advanced,w=!A&&y&&"object"==typeof y&&!Array.isArray(y)&&Object.keys(y).some(e=>e.includes(":")||e.includes("_")||"string"==typeof y[e]||"number"==typeof y[e]||"boolean"==typeof y[e]),C=w?Object.fromEntries(Object.entries(y).filter(e=>{let[t,r]=e;return null!=r&&("string"==typeof r?""!==r.trim():"number"==typeof r||"boolean"==typeof r)})):{};console.log("[SetPageHead] SEO Config Analysis:",{seoConfig:y,hasNestedFormat:A,isFlatFormat:w,flatFormatKeys:Object.keys(C),flatFormatData:C,seoConfigType:typeof y,seoConfigKeys:y?Object.keys(y):[]});let k=y?.meta||{},P=y?.openGraph||{},S=y?.twitter||{},T=y?.facebook||{},O=y?.schema||{},D=y?.advanced||{},L=D?.canonical||k?.canonical||C?.canonical||t?.additionalDetails?.canonical||"",G=(String(L).match(/href="([^"]*)"/)?.[1]||String(L)).trim(),I=[];Array.isArray(O)?I=O.filter(e=>e&&"object"==typeof e):O&&"object"==typeof O&&(I=O["@context"]||O["@type"]?[O]:Object.values(O).map(e=>{if(!e)return null;if("object"==typeof e)return e;if("string"==typeof e){let t=e.trim();if(!t)return null;try{let e=JSON.parse(t);return e&&"object"==typeof e?e:null}catch{}}return null}).filter(Boolean));let $=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object.entries(e).filter(e=>{let[t,r]=e;return"canonical"!==t.toLowerCase()&&r&&String(r).trim()}).map(e=>{let[r,a]=e,i=r.toLowerCase(),o=String(a).trim();if(!o)return null;if(t||i.startsWith("og:")||i.startsWith("property:")){let e=i.startsWith("property:")?i.replace("property:",""):i;return(0,n.jsx)("meta",{property:e,content:o},`prop-${r}`)}return(0,n.jsx)("meta",{name:r,content:o},`name-${r}`)}).filter(Boolean)},U=null;try{U=(0,d.bo)()}catch{}let M=(0,l.useRef)([]),R=(0,l.useRef)([]);(0,l.useEffect)(()=>{let e=m?.results?.scripts?.length>0?m:U?.scripts?.general?.length>0?{results:{scripts:U.scripts.general}}:m;console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ"),console.log("\uD83D\uDCE6 SET_PAGE_HEAD COMPONENT MOUNTED"),console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ"),console.log("oneTrustEnabled prop:",j),console.log("typeof oneTrustEnabled:",typeof j),console.log("platformScripts count:",a?.length||0),console.log("gtmScripts (prop) count:",m?.results?.scripts?.length||0),console.log("gtmScripts (context) count:",U?.scripts?.general?.length||0),console.log("finalGtmScripts count:",e?.results?.scripts?.length||0),console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ\n"),window.dataLayer||(window.dataLayer=[]);let t=e=>e.includes("googletagmanager.com/gtag/js")||e.includes("gtag(")||e.includes("window.dataLayer"),r=e=>e?._id===p.jw||e?.name===p.tC,n=e=>{if(!e||"string"!=typeof e)return void console.warn("Invalid script content provided to injectGtagScripts");try{let t=new DOMParser().parseFromString(e,"text/html"),r=Array.from(t.querySelectorAll("script")),n=[],a=[];
1if(r.forEach(e=>{let t=(e.getAttribute("src")||"").trim();if(t.includes("googletagmanager.com/gtag/js"))n.push({src:t,type:e.getAttribute("type")||"",className:e.getAttribute("class")||"",async:e.hasAttribute("async")});else{let t=(e.textContent||"").trim(),r=(e=>{if(!e||!e.includes("&"))return e;let t=document.createElement("textarea"),r=e;for(t.innerHTML=r;t.value!==r;)r=t.value,t.innerHTML=r;return r})(t).replace(/\\\[/g,"[").replace(/\\\]/g,"]").trim();r&&(r.includes("gtag(")||r.includes("dataLayer"))&&a.push({content:r,type:e.getAttribute("type")||"",className:e.getAttribute("class")||""})}}),console.log("[injectGtagScripts] Parsed:",{libraryScripts:n.length,configScripts:a.length}),n.length>0&&!document.querySelector("script[data-consent-defaults]")){let e=document.createElement("script");e.type="text/javascript",e.setAttribute("data-consent-defaults","true"),e.textContent="window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('consent', 'default', {\n 'analytics_storage': 'denied',\n 'ad_storage': 'denied',\n 'ad_user_data': 'denied',\n 'ad_personalization': 'denied',\n 'wait_for_update': 500\n});",document.head.appendChild(e),R.current.push(e),console.log("[injectGtagScripts] Consent Mode v2 defaults injected (all denied)")}let i=()=>{a.forEach(e=>{let{content:t,className:r}=e;try{if(!t.trim())return;if(Array.from(document.querySelectorAll('script[data-script-type="gtag-config"]')).some(e=>e.textContent?.trim()===t.trim()))return void console.log("[injectGtagScripts] Skipping duplicate config script");let e=document.createElement("script");e.type="text/javascript",r&&(e.className=r),e.textContent=t,e.setAttribute("data-injected","true"),e.setAttribute("data-script-type","gtag-config"),console.log(`[injectGtagScripts] Config: class=${r||"(none)"}, content=${t.substring(0,60)}...`);try{document.head.appendChild(e),R.current.push(e)}catch(e){console.warn("Skipping gtag config script (invalid content):",e)}}catch(e){console.error("Error injecting gtag config script:",e)}})},o=[];if(n.forEach(e=>{let{src:t,className:r,async:n}=e;try{if(document.querySelector(`script[src="${CSS.escape(t)}"]`))return}catch{}try{let e=document.createElement("script");e.src=t,n&&(e.async=!0),r&&(e.className=r),e.setAttribute("data-injected","true"),e.setAttribute("data-script-type","gtag-library"),console.log(`[injectGtagScripts] Library: src=${t}, class=${r||"(none)"}`),document.head.appendChild(e),R.current.push(e),o.push(e)}catch(e){console.error("Error injecting gtag library script:",e,{src:t})}}),0===o.length)i();else{let e=0,t=()=>{++e===o.length&&i()};o.forEach(e=>{e.addEventListener("load",t),e.addEventListener("error",t)})}}catch(e){console.error("Error parsing gtag scripts:",e)}},i=e=>{if(!e||"string"!=typeof e)return void console.warn("Invalid script content provided to injectRegularScript");try{new DOMParser().parseFromString(e,"text/html").querySelectorAll("script").forEach(e=>{try{let t=document.createElement("script"),r=e.getAttribute("type")||"",n=e.getAttribute("class")||"";t.type=r&&"text/plain"!==r?r:"text/javascript",n&&(t.className=n),e.hasAttribute("async")&&(t.async=!0),e.hasAttribute("defer")&&(t.defer=!0);let a=(e.getAttribute("src")||"").trim();if(a)try{new URL(a,window.location.href),t.src=a}catch{console.warn("Invalid script src URL:",a);return}else{let r=(e.textContent||"").trim();if(!r)return;t.textContent=r}if(!t.src&&(!t.textContent||!t.textContent.trim()))return;t.setAttribute("data-injected","true"),t.setAttribute("data-script-type","regular");try{(document.body||document.head).appendChild(t),R.current.push(t)}catch(e){console.warn("Skipping script injection (invalid content):",e)}}catch(e){console.error("Error injecting regular script:",e)}})}catch(e){console.error("Error parsing regular scripts:",e)}},o=e?.results?.scripts||[];console.log("[Scripts] Site:",x?"UVC":"NON-UVC");let l=new Set;return console.log(`[Scripts] PLATFORM scripts: ${(a||[]).length} total`),(a||[]).forEach(e=>{let a=e?.scriptContent,o=e?.type,s=e?.additionalDetails?.enabled,c=e?.name;("platform_onetrust"!==o||r(e))&&a?.trim()&&!1!==s&&(l.add(a.trim()),r(e)?window.clarity?console.log(" [Platform] Microsoft Clarity: already initialized, skipping"):(console.log(` [Platform] Microsoft Clarity: ${c}`),i(a)):t(a)?(console.log(` [Platform] GTM: ${c}`),n(a)):(console.log(` [Platform] Regular: ${c}`),i(a)))}
1),console.log(`[Scripts] WEBSITE scripts: ${o.length} total`),o.forEach(e=>{let a=e?.scriptContent,o=e?.additionalDetails?.enabled,s=e?.name||"GTM";if(!1!==o&&a?.trim()){if(l.has(a.trim()))return void console.log(` [Website] SKIP (duplicate): ${s}`);r(e)?window.clarity?console.log(" [Website] Microsoft Clarity: already initialized, skipping"):(console.log(` [Website] Microsoft Clarity: ${s}`),i(a)):t(a)?(console.log(` [Website] GTM: ${s}`),n(a)):(console.log(` [Website] Regular: ${s}`),i(a))}}),console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ"),console.log("â
SCRIPT INJECTION COMPLETE"),console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ\n"),()=>{console.log("[Scripts] Component unmounting - keeping scripts for persistence")}},[U?.scripts?.general,a,x]);let B=(0,c.HI)(g,b,h,f),W=Array.isArray(B)?[...B,...I]:I;(0,l.useEffect)(()=>(M.current.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),M.current=[],Array.isArray(W)&&W.forEach(e=>{if(e&&"object"==typeof e)try{let t=document.createElement("script");t.type="application/ld+json",t.setAttribute("data-schema-injected","true"),t.text=JSON.stringify(e),document.head.appendChild(t),M.current.push(t)}catch(e){console.error("Error injecting schema script:",e)}}),()=>{M.current.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),M.current=[]}),[W]);let F=$(k,!1),V=$(P,!0),K=$(S,!1),z=$(T,!1),q=(e=>{let t=[];return Object.entries(e).forEach(e=>{let[r,a]=e;if(!a||!String(a).trim())return;let i=r.toLowerCase(),o=String(a).trim();if("canonical"!==i){if(i.startsWith("hreflang:")){let e=i.replace("hreflang:","");t.push((0,n.jsx)("link",{rel:"alternate",hrefLang:e,href:o},`hreflang-${e}`));return}if(i.startsWith("preconnect:")){let e=i.replace("preconnect:","");t.push((0,n.jsx)("link",{rel:"preconnect",href:o},`preconnect-${e}`));return}if(i.startsWith("meta:")){let e=i.replace("meta:","");t.push((0,n.jsx)("meta",{name:e,content:o},`advanced-meta-${r}`));return}t.push((0,n.jsx)("meta",{name:r,content:o},`advanced-${r}`))}}),t})(D),H=[];Object.keys(C).length>0&&Object.entries(C).forEach(e=>{let[t,r]=e;if(null==r||"string"==typeof r&&!r.trim())return;let a=t.toLowerCase(),i="string"==typeof r?r.trim():String(r);if("canonical"!==a)if(a.startsWith("og:"))H.push((0,n.jsx)("meta",{property:t,content:i},`flat-og-${t}`));else if(a.startsWith("twitter:"))H.push((0,n.jsx)("meta",{name:t,content:i},`flat-twitter-${t}`));else if(a.startsWith("facebook:")||a.startsWith("fb:")){let e=t.replace(/^(facebook:|fb:)/,"og:");H.push((0,n.jsx)("meta",{property:e,content:i},`flat-facebook-${t}`))}else H.push((0,n.jsx)("meta",{name:t,content:i},`flat-other-${t}`))});let J=C["og:title"]||C.og_title,X=C["og:description"]||C.og_description,Y=C["twitter:title"]||C.twitter_title,Q=C["twitter:description"]||C.twitter_description,Z=C["facebook:title"]||C.facebook_title||C["fb:title"]||C.fb_title,ee=C["facebook:description"]||C.facebook_description||C["fb:description"]||C.fb_description;Object.keys(C).length>0&&console.log("[SetPageHead] Flat format data detected:",C);let et=Object.keys(C).length>0;return(0,n.jsxs)(i(),{children:[(0,n.jsx)("title",{children:E}),(0,n.jsx)("meta",{name:"description",content:v}),(0,n.jsx)("meta",{property:"og:title",content:et&&(J??Z)||P?.["og:title"]||P?.title||k?.title||E}),(0,n.jsx)("meta",{property:"og:description",content:et&&(X??ee)||P?.["og:description"]||P?.description||k?.description||v}),(0,n.jsx)("meta",{name:"twitter:title",content:et&&Y||S?.["twitter:title"]||S?.title||k?.title||E}),(0,n.jsx)("meta",{name:"twitter:description",content:et&&Q||S?.["twitter:description"]||S?.description||k?.description||v}),(0,n.jsx)("link",{rel:"icon",href:(0,o.xw)(N,"thumbnail")}),G&&(0,n.jsx)("link",{rel:"canonical",href:G}),T?.["facebook-domain-verification"]?(0,n.jsx)("meta",{name:"facebook-domain-verification",content:T["facebook-domain-verification"]}):(0,u.T8)(window.location.hostname)||x?(0,n.jsx)("meta",{name:"facebook-domain-verification",content:"308cvuvnvpzlva2gg5
153nm51fzj7h5"}):(0,n.jsx)("meta",{name:"facebook-domain-verification",content:"f0s60144x3ayx3v9pxyb7a3tzlrwxy"}),k?.keywords?String(k.keywords).split(",").map(e=>e.trim()).filter(Boolean).map((e,t)=>(0,n.jsx)("meta",{name:"keywords",content:e},`keyword-${t}`)):_.map((e,t)=>(0,n.jsx)("meta",{name:"keywords",content:e},`keyword-${t}`)),F,V,K,z,q,H]})}},62731:(e,t,r)=>{"use strict";r.d(t,{Y:()=>m});var n=r(37876);r(14232);var a=r(67688),i=r(36524),o=r(1374),l=r(18847),s=r.n(l);let c={NotificationBanner:s()(()=>Promise.resolve().then(r.bind(r,36524)),{loadableGenerated:{webpack:()=>[36524]}}),PopUpBanner:s()(()=>Promise.resolve().then(r.bind(r,1374)),{loadableGenerated:{webpack:()=>[1374]}}),Type1SingleEmbedded:s()(()=>r.e(4804).then(r.bind(r,94804)),{loadableGenerated:{webpack:()=>[94804]}}),Type2SingleEmbedded:s()(()=>r.e(8585).then(r.bind(r,88585)),{loadableGenerated:{webpack:()=>[88585]}}),Type3SingleEmbedded:s()(()=>r.e(9449).then(r.bind(r,79449)),{loadableGenerated:{webpack:()=>[79449]}}),Type4SingleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(2682)]).then(r.bind(r,92682)),{loadableGenerated:{webpack:()=>[92682]}}),Type5SingleEmbedded:s()(()=>r.e(3515).then(r.bind(r,43515)),{loadableGenerated:{webpack:()=>[43515]}}),Type1DoubleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(3889)]).then(r.bind(r,33889)),{loadableGenerated:{webpack:()=>[33889]}}),Type2DoubleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(4364)]).then(r.bind(r,1983)),{loadableGenerated:{webpack:()=>[1983]}}),Type3DoubleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(1591)]).then(r.bind(r,81591)),{loadableGenerated:{webpack:()=>[81591]}}),Type4DoubleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(4596)]).then(r.bind(r,84596)),{loadableGenerated:{webpack:()=>[84596]}})};function d(e){let{banner:t,websiteData:r,onClick:i}=e,o=a.O[a.V.EMBEDDED][t?.content?.[0]?.bannerLayoutId||"1"];if(!o)return null;let l=c[o];return(0,n.jsx)(l,{banner:t,websiteData:r,onClick:i})}var p=r(19909),u=r(51930);let m=e=>{let{banners:t,currentPage:r,position:l,type:s,websiteData:c}=e,{TriggerEvents:m}=(0,u.useCarterAnalytics)(),g=e=>{m?.CTA_CLICK({...e,position:s===a.V.EMBEDDED?({1:"header",2:"middle",4:"footer"})[l||1]||"header":void 0})},b=t?.filter(e=>{switch(e?.type){case a.V.POPUP:return s===a.V.POPUP&&e?.triggerPage===r;case a.V.NOTIFICATION:return s===a.V.NOTIFICATION;case a.V.EMBEDDED:return s===a.V.EMBEDDED&&(e?.triggerPage===p.Ho[r]||!e?.triggerPage&&("LANDING_PAGE"===r||r===p.Nb.LANDING_PAGE))&&e?.positions?.includes(l||0);default:return!1}});return console.log(b?.length),(0,n.jsx)(n.Fragment,{children:b?.map((e,t)=>(0,n.jsx)("div",{children:(e=>{switch(e.type){case a.V.NOTIFICATION:return(0,n.jsx)(i.default,{banner:e},e._id);case a.V.POPUP:return(0,n.jsx)(o.default,{banner:e,websiteData:c,onClick:g},e._id);case a.V.EMBEDDED:return(0,n.jsx)(d,{banner:e,websiteData:c,onClick:g},e._id);default:return null}})(e)},`banner_${t}`))})}},67684:(e,t,r)=>{"use strict";r.d(t,{G:()=>n.A});var n=r(45691)},67688:(e,t,r)=>{"use strict";r.d(t,{O:()=>a,V:()=>n});let n={NOTIFICATION:"NOTIFICATION",POPUP:"POPUP",EMBEDDED:"EMBEDDED"},a={[n.NOTIFICATION]:{1:"Notification"},[n.POPUP]:{1:"Popup"},[n.EMBEDDED]:{1:"Type1SingleEmbedded",2:"Type2SingleEmbedded",3:"Type3SingleEmbedded",4:"Type4SingleEmbedded",5:"Type5SingleEmbedded",6:"Type1DoubleEmbedded",7:"Type2DoubleEmbedded",8:"Type3DoubleEmbedded",9:"Type4DoubleEmbedded"}}},73305:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(17963).A)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},77328:(e,t,r)=>{e.exports=r(29269)},80171:(e,t,r)=>{"use strict";r.d(t,{b:()=>n.A});var n=r(73305)},98286:(e,t,r)=>{"use strict";r.d(t,{Jl:()=>n.A,c_:()=>a.A,jl:()=>i.A});var n=r(32257),a=r(29053),i=r(467)},98445:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(37876),a=r(14232),i=r(48230),o=r.n(i),l=r(55128),s=r(68202),c=r(19909),d=r(38469),p=r(67684);function u(e){let{data:t,websiteData:r,displayNameMap:i,currentPage:u}=e,[m,g]=(0,a.useState)(!1),[b,h]=(0,a.useState)(!1),f=(0,a.useRef)(null),y=(0,a.useRef)(null);(0,a.useEffect)(()=>
1{if(!m)return;let e=e=>{let t=e.target;f.current&&!f.current.contains(t)&&y.current&&!y.current.contains(t)&&g(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[m]),(0,a.useEffect)(()=>{let e=()=>h(window.scrollY>20);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let j=e=>r?.pagesAndSections?.some(t=>t?.name===e&&t?.enabled),x=e=>s.W_.enrichRoute(r,(0,l.WS)(r,e)),E=r?.logo?.fileUrl||"",v=r?.pagesAndSections?.find(e=>e?.name==="landing-page")?.sections?.["emergency-branches"]||{},N=[{page:c.Nb.ABOUT_US_PAGE,label:i?.[c.Nb.ABOUT_US_PAGE]||"About"},{page:c.Nb.LOCATIONS_PAGE,label:i?.[c.Nb.LOCATIONS_PAGE]||"Locations"},{page:c.Nb.CAREER_PAGE,label:i?.[c.Nb.CAREER_PAGE]||"Careers"}],_=j(c.Nb.CONTACT_US_PAGE)?x(c.Nb.CONTACT_US_PAGE):"#",A=i?.[c.Nb.CONTACT_US_PAGE]||"Contact Us";return(0,n.jsx)("header",{className:`uvc-header${b?" scrolled":""}`,children:(0,n.jsx)("div",{className:"container",children:(0,n.jsxs)("div",{className:"header-row",children:[(0,n.jsx)(o(),{href:s.W_.enrichRoute(r,""),className:"logo-wrpr",children:E?(0,n.jsx)(d.$E,{src:E,alt:r?.name||"Logo",className:"main-logo",width:200,height:200,objectFit:"contain",objectPosition:"left"}):(0,n.jsx)("span",{className:"main-logo"})}),(0,n.jsxs)("button",{ref:y,className:`hamburger${m?" active":""}`,id:"hamburger","aria-label":"Toggle menu",onClick:()=>g(e=>!e),children:[(0,n.jsx)("span",{className:"hamburger-line"}),(0,n.jsx)("span",{className:"hamburger-line"}),(0,n.jsx)("span",{className:"hamburger-line"})]}),(0,n.jsxs)("div",{ref:f,className:`menu-wrpr${m?" active":""}`,children:[(0,n.jsxs)("ul",{className:"nav-list",children:[N.map(e=>{let{page:t,label:r}=e;return j(t)?(0,n.jsx)("li",{className:"nav-item",children:(0,n.jsx)(o(),{onClick:()=>g(!1),href:x(t),className:`uvc-nav-link${u===t?" active":""}`,children:r})},t):null}),v?.enabled&&v?.data?.careersPage?.link?(0,n.jsx)("li",{className:"nav-item",children:(0,n.jsxs)("a",{href:v.data.careersPage.link,target:"_blank",rel:"noopener noreferrer",className:`uvc-nav-link${u===c.Nb.CAREER_PAGE?" active":""}`,children:["Careers ",(0,n.jsx)(p.G,{size:16,className:"external-link"})]})}):null]}),(0,n.jsx)("div",{className:"header-btn",children:(0,n.jsx)(o(),{href:_,onClick:()=>g(!1),className:"btn primary-btn",children:A})})]})]})})})}}}]);
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.