PageSourceSearch

https://sylvanvet.com/_next/static/chunks/pages/[page]-7a08a8f9-2cb3148b2a5eae69.js

js sylvanvet.com collected 2026-10-05 07:27:35 UTC 16,207 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4816],{594:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});let s={src:"/_next/static/media/favicon.b0dfc544.ico",height:16,width:16,blurWidth:0,blurHeight:0}},5885:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});let s={src:"/_next/static/media/404-img.38091b88.png",height:720,width:1262,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAM1BMVEUyLEEKMVHPh1G8hWEANFsAJmIBMVRMaXHLfUQBNFnPkmQAKFbspnEANFgKLkgAFVX4tIQT+sVwAAAAEHRSTlMDQt0qpwZQAHCHuizMYmIY/x5B1wAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAAC1JREFUeJwdyskRACAIALFFQcC7/2qdMe9gOO4GeqJXT0Gl3Lm1kS1KjFzwDzwVAgDroRpw3AAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5}},16188:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});let s={src:"/_next/static/media/site-logo.50dbf9db.png",height:88,width:168,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAHlBMVEXCwtv////Ly+P4+Pvm5vC4t9GZnrTQz8S0sZnS0uRNSCIFAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJUlEQVR4nB3GuQ0AMAzEMMln59l/4QBhRdTZKsZ1fnqqbksogDwF6ABNzeOSVAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4}},18379:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});let s={src:"/_next/static/media/check-lst.183da22f.png",height:718,width:486,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAMAAAAGL8UJAAAAMFBMVEX29vertLiFoq3//fzZkov/dmLW19iSn6WZoqft8PHl6On////Vzs7/7+va3d/76uh5ZxB5AAAACXRSTlP97Gb9iPv87PHVlmJxAAAACXBIWXMAAAsTAAALEwEAmpwYAAAALElEQVR4nGNgYmFlYWLg4+Zn5mRgY+Zk4GLg4UUi+UEkHzc3NycDOyMjIwcAHB8BMpbXh2AAAAAASUVORK5CYII=",blurWidth:5,blurHeight:8}},34768:(e,t,o)=>{"use strict";o.d(t,{d:()=>g,j:()=>A});var s=o(37876),n=o(48230),a=o.n(n),i=o(47311),l=o(68202),r=o(55128),c=o(19909);function g(e,t){let o,n;if(!e||!1===e.enabled)return null;let a=e.type||"site_page",g="#";if("site_page"===a)if(e.value&&t){let o=(0,r.WS)(t,e.value);g=l.W_.enrichRoute(t,o===c.Nb.LANDING_PAGE?"/":o)}else g=e.value?`/${e.value}`:"";else"custom_url"===a?(g=e.value||"#",(e.openInNewTab??!0)&&(o="_blank",n="noopener noreferrer")):"phone"===a?g=`tel:${e.value||""}`:"sms"===a&&(g=`sms:${e.value||""}`);let A="phone"===a?(0,s.jsx)("span",{className:"btn-icon",children:(0,s.jsx)(i.b,{})}):"sms"===a?(0,s.jsx)("span",{className:"btn-icon",children:(0,s.jsx)(i.v,{})}):null;return{href:g,target:o,rel:n,label:e.label||"",type:a,icon:A,extraClassName:"phone"===a||"sms"===a?"left-icon":""}}function A(e,t,o){let n=g(e,o);return n?(0,s.jsxs)(a(),{href:n.href,target:n.target,rel:n.rel,className:`${t} ${n.extraClassName}`.trim(),children:[n.icon,n.label]}):null}},37321:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>E});var s=o(37876),n=o(17969),a=o(98445),i=o(14232),l=o(62731),r=o(67688),c=o(19909),g=o(52295),A=o(55128),d=o(78441),p=o(24722),u=o(71739),m=o(51930),h=o(57897),b=o(45664),f=o(37659),T=o(6796),C=o(67346),S=o(25017);function E(e){let{children:t,websiteData:o,banners:E,currentPage:N,pageSlug:O,otto:w,metaData:D,detailPage:y=!1,detailData:U=null}=e,[I,k]=(0,i.useState)({}),x=o?.category===c.QT.MAIN_SITE;(0,i.useEffect)(()=>(x&&document.body.classList.add("main-site-template"),()=>{document.body.classList.remove("main-site-template")}),[x]);let v=o?.pagesAndSections?.find(e=>e?.name===c.Nb.LANDING_PAGE)?.sections?.["footer-section"],R=o?.name;(0,i.useEffect)(()=>{console.log("HERE CHECKING ENV: ",T.A.CDN_DOMAIN,T.A.ENVIRONMENT)},[]);let L=null;try{L=(0,f.bo)()}catch{}let P=!(o?.generalScript?.results?.scripts||o?.bookAppointmentScript?.results?.scripts)&&L?.scripts,M=P?{results:{scripts:L.scripts?.general}}:o?.generalScript||{},V=P?L.scripts.otto?.[0]||{}:w?.results?.scripts?.[0]||{},F=o?.thirdPartyIntegration?.shyftPixel;(0,i.useEffect)(()=>{k(F||{})},[F]);let j=(0,c.vb)(o),H=c.Oy[N]||N,B=o?.pagesAndSections?.find(e=>e?.name===H)??(O?o?.pagesAndSections?.find(e=>e?.slug===O):void 0),G=B?.pageType?.toUpperCase()==="CUSTOM";console.log("[WebsiteLayout] Page Data Found:",{pageName:H,currentPage:N,foundPage:B?{name:B?.name,slug:B?.slug,pageType:B?.pageType,"meta.title":B?.meta?.title,"meta.tags":B?.meta?.tags,"meta.description":B?.meta?.description,"meta.otherTags":B?.meta?.otherTags,hasOtherTags:!!B?.meta?.otherTags,otherTagsKeys:B?.meta?.otherTags?Object.keys(B?.meta?.otherTags):[],fullMeta:B?.meta}:"NOT FOUND",allPageNames:o?.pagesAndSections?.map(e=>e?.name||e?.slug)});let _=D?.seo||B?.meta?.otherTags||B?.seo;console.log("[WebsiteLayout] SEO Config Debug:",{metaData:D,"metaData?.seo":D?.seo,"data?.meta":B?.meta,"data?.meta?.otherTags":B?.meta?.otherTags,"data?.seo":B?.seo,"final seoConfig":_,seoConfigType:typeof _,seoConfigKeys:_&&"object"==typeof _?Object.keys(_):[],hasFlatFormat:_&&"object"==typeof _&&!_.meta&&!_.openGraph}),B?.meta?.otherTags||D?.seo?console.log("[WebsiteLayout] meta.otherTags found:",B?.meta?.otherTags||D?.seo):console.log("[WebsiteLayout] No meta.otherTags found in data or metaData");let W=B?.meta?.title,Y=B?.meta?.tags,J=B?.meta?.description,K={title:D?.title||W||(G?B?.title:null)?D?.title||W||(G?B?.title:null):A.fr[N]?`${A.fr[N]} | ${o?.name||""}`:`${o?.name||""}`,description:D?.description||J||Y||(G?B?.description:B?.meta?.description)||"united veterinary care",icon:D?.icon||B?.icon?.fileUrl||void 0,tags:D?.tags||Y||""},Q=(()=>{let e=window.location.hostname,t=window.location.pathname,s=(0,S.Tk)(e,o?.isUvc),n=s===S.Xx.UVC,a=/\/locations?\//.test(t),i=n&&a&&!x;console.log("━━━━━━━━━━━━━━━━━━━━━ok━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"),console.log("SITE TYPE DETECTION"),console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"),console.log("Hostname:",e),console.log("websiteData?.isUvc:",o?.isUvc),console.log('hostname.includes("unitedvetcare"):',e.includes("unitedvetcare")),console.log("→ DOMAIN TYPE:",s),console.log("→ SITE TYPE:",n?"UVC SITE":"NON-UVC SITE"),console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n"),(0,S.FH)(s);let l=null,r="",c=L?.scripts?.cookies||w?.results?.scripts||[];
1if(console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"),console.log("COOKIE SCRIPTS DATA SOURCE CHECK"),console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"),console.log("contextData exists?",!!L),console.log("contextData.scripts exists?",!!L?.scripts),console.log("contextData.scripts.cookies exists?",!!L?.scripts?.cookies),console.log("contextData.scripts.cookies:",L?.scripts?.cookies),console.log("otto?.results?.scripts exists?",!!w?.results?.scripts),console.log("otto?.results?.scripts:",w?.results?.scripts),console.log("Cookie Scripts Source:",L?.scripts?.cookies?"CLIENT-SIDE CONTEXT":w?.results?.scripts?"SSR PROP (FALLBACK)":"NONE"),console.log("Total Cookie Scripts Available:",c?.length||0),console.log("Actual websiteCookieScripts array:",c),console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n"),i){console.log("UVC /location/ PATH (non-main-site): Checking Platform ONLY (no website fallback)"),console.log(`  Total platformScripts: ${o?.platformScripts?.length||0}`),console.log("  Cookies in platformScripts:",o?.platformScripts?.filter(e=>e?.type==="cookies").map(e=>e?.name));let e=o?.platformScripts?.find(e=>e?.type==="platform_onetrust"),t=!!e?.scriptContent?.trim(),n=e?.additionalDetails?.enabled!==!1,a=t&&n;if(console.log("  Platform OneTrust:",{exists:!!e,name:e?.name||"N/A",hasContent:t,enabledFlag:n,finalResult:a?"VALID":"INVALID"}),console.log("  Website OneTrust: IGNORED (UVC /location/ paths use platform-only)"),a)l=e,r="platform",console.log("  → WINNER: Platform OneTrust (per configuration)");else{let e=(0,S.nZ)(s,S.eF.ONETRUST);console.log(`  → Fallback allowed (per config): ${e?"YES":"NO"}`),e||console.log("  → RESULT: No OneTrust configured (platform disabled - fallback not allowed per configuration)")}}else{console.log(`${n?"UVC ROOT":"NON-UVC"} SITE: Checking Website Only (platform ignored)`),console.log(`  Total cookie scripts: ${c?.length||0}`),console.log("  Cookies in scripts:",c?.filter(e=>e?.type==="cookies").map(e=>e?.name));let e=c?.find(e=>e?.type==="cookies"),t=e?.additionalDetails?.enabled!==!1,o=!!e?.scriptContent?.trim(),s=t&&o;console.log("  Website OneTrust:",{exists:!!e,name:e?.name||"N/A",enabledFlag:t,hasContent:o,finalResult:s?"VALID":"INVALID"}),s?(l=e,r="website",console.log("  → WINNER: Website OneTrust")):console.log("  → RESULT: No valid OneTrust configured")}let g=!!l;return console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"),console.log("ONETRUST CONFIGURATION FINAL RESULT"),console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"),console.log("Site Type:",i?"UVC /location/ (non-main-site)":x&&a?"MAIN SITE /location/ (custom domain — website-level only)":n?"UVC ROOT":"Non-UVC"),console.log("OneTrust Source:",r||"NONE"),console.log("OneTrust Enabled:",g?"YES":"NO"),console.log("Has Script Content:",l?.scriptContent?.trim()?"YES":"NO"),console.log("Script Content Length:",l?.scriptContent?.trim().length||0,"chars"),console.log("Enabled Flag:",l?.additionalDetails?.enabled),console.log("Has data-domain-script:",l?.scriptContent?.includes("data-domain-script")?"YES (OneTrust SDK)":"NO"),console.log("Domain Script ID:",l?.scriptContent?.match(/data-domain-script="([^"]+)"/)?.[1]||"NOT FOUND"),console.log(""),console.log('NOTE: The OneTrust initialization script should NOT have type="text/plain".'),console.log('Only GTM scripts should have type="text/plain" and class="optanon-category-*".'),console.log('Check GTM scripts (type: "general") to verify they have blocking attributes.'),console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n"),{enabled:g,scriptContent:l?.scriptContent||"",cookieSettings:l?.additionalDetails?.cookie_setting||"",cookieList:l?.additionalDetails?.cookie_list||"",isUvc:n}})();console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"),console.log("PASSING TO ONETRUST PROVIDER"),console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"),console.log("oneTrustConfig.enabled:",Q.enabled),console.log("oneTrustConfig.scriptContent type:",typeof Q.scriptContent),console.log("oneTrustConfig.scriptContent length:",Q.scriptContent?.length||0),console.log("oneTrustConfig.scriptContent:",Q.scriptContent),console.log("oneTrustConfig.cookieSettings:",Q.cookieSettings),console.log("oneTrustConfig.cookieList:",Q.cookieList),console.log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n");let X=(0,s.jsxs)("main",{className:"webpage-wrpr",children:[(0,s.jsx)(C.A,{scriptContent:Q.scriptContent,enabled:Q.enabled,cookieSettings:Q.cookieSettings,cookieList:Q.cookieList}),(0,s.jsx)(g.A,{meta:K,icon:o?.icon?.fileUrl,platformScripts:o?.platformScripts,gtmScripts:M,websiteData:o,currentPage:H,detailPage:y,detailData:U,seoConfig:_,oneTrustEnabled:Q.enabled,isUvc:Q.isUvc}),(0,s.jsxs)("div",{className:"flex flex-row gap-20",children:[(0,s.jsx)(p.A,{...(e=>{let t=e?.pagesAndSections?.find(e=>e?.name==="landing-page")?.sections?.["vetstoria-widget-section"],o=t?.data?.vetstoria;return{siteHash:o?.script,domain:"us.vetstoria.com",enabled:o?.enabled,websiteData:e}})(o)}),(0,s.jsx)(u.A,{...(e=>{let t=e?.pagesAndSections?.find(e=>e?.name==="landing-page")?.sections?.["otto-widget-section"]?.data?.otto?.enabled||!1;return{scriptContent:V?.scriptContent,enabled:t,websiteData:e}})(o)})]}),(0,s.jsx)(b.A,{}),(0,s.jsx)(l.Y,{banners:E||[],type:r.V.NOTIFICATION,currentPage:N,websiteData:o}),o?.category===c.QT.MAIN_SITE?(0,s.jsx)(a.A,{websiteData:o,displayNameMap:j,currentPage:N}):(0,s.jsx)(n.F,{websiteData:o,displayNameMap:j,pageSlug:O,currentPage:N}),(0,s.jsx)(l.Y,{banners:E||[],currentPage:N,type:r.V.POPUP,websiteData:o}),t,(0,s.jsx)(d.A,{data:v?.data||{},websiteData:o})]});return I?.enabled?(0,s.jsx)(m.CarterAnalyticsProvider,{clientId:I?.clientId,clinicName:R,children:(0,s.jsx)(h.RouteEventTracker,{children:X})}):(0,s.jsx)(h.RouteEventTracker,{children:X})}},37664:(e,t,o)=>{"use strict";o.d(t,{v:()=>s});let s=e=>{if(!e)return!1;let{from:t,to:o,fromTime:s,toTime:n,timezone:a}=e;try{let e=(e,t,o)=>{let[s,n]=t.split(":").map(Number),a=new Date(e);a.setHours(s,n,0,0);
1let i=a.getTime()-new Date(a.toLocaleString("en-US",{timeZone:o})).getTime();return new Date(a.getTime()+i)},i=e(t,s,a),l=e(o,n,a),r=new Date;return l<i&&(l=new Date(l.getTime()+864e5)),r>=i&&r<=l}catch(e){return console.error("Schedule check error:",e),!1}}},40867:(e,t,o)=>{"use strict";o.r(t),o.d(t,{__N_SSP:()=>g,default:()=>A});var s=o(37876),n=o(37321),a=o(7803),i=o(19909),l=o(77726),r=o(33037),c=o(37659),g=!0;function A(e){let{response:t,page:o,websiteData:g,type:A,slug:d,banners:p,otto:u,filters:m,error:h}=e,b=g?.pagesAndSections?.find(e=>e?.name===o);return(0,s.jsx)(l.A,{error:h,websiteData:g,type:A,children:(0,s.jsx)(c.g6,{initialWebsiteData:g,slug:d||g?.slug,type:A,page:o,initialMultiSiteGroupChildren:t?.teamsMultiSitePrefetch?.multiSiteGroupChildren??void 0,children:(0,s.jsx)(r.L,{themeConfiguration:g?.themeConfiguration,websiteData:g,children:(0,s.jsx)(n.default,{websiteData:g,banners:p||[],currentPage:i.OF[o],otto:u,children:(0,s.jsx)(a.A,{page:b,template:g?.category||"GP",websiteData:g,sectionData:t||{},banners:p||[],filters:m||{search:"",sort:""}})})})})})}},53505:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});let s={src:"/_next/static/media/404-bg.65770b74.png",height:589,width:608,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAGFBMVEXx8fH5+vr+///9/f3////6+vr+/v7+/v45EF8TAAAACHRSTlMCDCg3HxhTauwi77UAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAySURBVHicFcq3EcAwEASxPffsv2ONEAM5GUAs5e6YrN47SGdbrIOmyO1fyZsBI8lC+gAZCQCgreAuXQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},58485:(e,t,o)=>{},74944:(e,t,o)=>{"use strict";o.d(t,{m:()=>n});var s=o(6796);let n=async e=>{let{slugs:t}=e,o=s.A.API_BASE_URL;try{let e=await fetch(`${o}/api/v2/domains/slug`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({slugs:t})});if(!e.ok)return[];let s=e.headers.get("content-type");if(!s||!s.includes("application/json")){let t=await e.text();return console.error("Expected JSON but received:",s,t.substring(0,200)),[]}return await e.json()}catch(e){return console.error("Error fetching domains:",e),[]}}},78037:(e,t,o)=>{"use strict";o.d(t,{Po:()=>s});let s=(e,t,o)=>e?.message?.includes("not found")||e?.message?.includes("Website with ID or slug")||e?.message?.includes("Failed to fetch website data")||e?.message?.includes("404")||e?.statusCode===404?"404":e?.message?.includes("500")||e?.statusCode>=500?"500":"published"===o&&t?.status!=="PUBLISHED"?"unpublished":t&&t?.name&&t?.slug?"general":"invalid"},84644:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});let s={src:"/_next/static/media/consult.e53ac55a.svg",height:42,width:42,blurWidth:0,blurHeight:0}}},e=>{e.O(0,[7514,42,7123,2357,4528,6759,238,2755,2884,6482,3512,8187,9694,449,2107,9212,1184,1365,5997,7766,2206,2310,9230,6599,4352,9735,6274,3096,8311,7122,1630,2385,5220,4969,2074,496,2514,4012,6661,8792],()=>e(e.s=90845)),_N_E=e.O()}]);

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.