PageSourceSearch

https://eepah.com/_next/static/chunks/pages/website/%5Btype%5D/%5Bslug%5D-b91da8f1-6875e701b3f64b2b.js

js eepah.com collected 2026-10-10 02:35:08 UTC 36,741 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2531,2884,6300,9301,9823],{9025:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(37876),l=a(38469),r=a(48230),i=a.n(r);function n(e){let{data:t,page:a,section:r}=e,n=a?.name?.includes("referral")||r?.includes("accreditation-section-1");return(0,s.jsx)("section",{className:`inner-banner py-[50px] lg:py-[60px] xl:py-20 ${n?"grey-bg":"bg-white"}`,children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:`flex gap-12 flex-col lg:flex-row ${r?.includes("2")||r?.includes("about-our-story-section")?"lg:flex-row-reverse":""}`,children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4 w-full flex-1",children:[(0,s.jsx)("h2",{className:"heading text-left",children:t?.heading}),t?.subheading&&(0,s.jsx)("div",{className:"embedded-html page-desc",dangerouslySetInnerHTML:{__html:t?.subheading}}),t?.cta?.enabled&&(0,s.jsx)("div",{className:"mt-4 flex items-center justify-start",children:(0,s.jsx)(i(),{href:t?.cta?.ctaLink,className:"btn btn-lg primary-btn w-fit",children:t?.cta?.buttonText})}),t?.primaryCta?.enabled&&(0,s.jsx)("div",{className:"mt-4 flex items-center justify-start",children:(0,s.jsx)(i(),{href:t?.primaryCta?.value,className:"btn btn-lg primary-btn w-fit",children:t?.primaryCta?.label})}),t?.secondaryCta?.enabled&&(0,s.jsx)("div",{className:"mt-4 flex items-center justify-start",children:(0,s.jsx)(i(),{href:t?.secondaryCta?.value,className:"btn btn-lg primary-btn w-fit",children:t?.secondaryCta?.label})})]}),!!(t?.titleImage?.length||t?.heroImage?.length)&&(0,s.jsx)("div",{className:"w-full md:max-w-[50%] md:mx-auto lg:max-w-[calc(50%_-_24px)] h-full max-h-[376px] rounded-2xl flex items-center justify-center overflow-hidden",children:(0,s.jsx)(l.Ay,{src:(t?.titleImage?.[0]||t?.heroImage?.[0])?.url||"",width:500,height:500,size:"large",className:"img-fluid w-full",priority:!1,alt:t?.titleImage?.[0]?.alt||t?.heroImage?.[0]?.alt||t?.heading||"",objectFit:"cover"})})]})})})}},16812:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(37876),l=a(88016),r=a(14232),i=a(278),n=a(51930),c=a(31831),d=a(7427);function o(e){let{data:t,sectionData:a,websiteData:o}=e,m=(0,r.useMemo)(()=>new i.A,[]),u=a?.results?.templateSpecificData||[],h=a?.pages||1,p=a?.total||0,[x,f]=(0,r.useState)(u),[g,b]=(0,r.useState)(1),[y,v]=(0,r.useState)(!1),[j,N]=(0,r.useState)(h>1),[w,S]=(0,r.useState)(!1),C=(0,r.useRef)(null),{TriggerEvents:E}=(0,n.useCarterAnalytics)(),A=c.G["referral-page"],_=(0,r.useRef)(new Map),[I,T]=(0,r.useState)("0");(0,r.useEffect)(()=>{u&&u.length>0&&0===x.length&&f(u)},[u]);let k=w?x:x?.slice(0,6),R=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;try{v(!0);let t=await m.GetWebsiteEntityData({websiteIdOrSlug:o?._id,entityType:"templateSpecificData",pagination:{page:e,limit:A?.limit||10,sort:A?.sort||{field:"priority",direction:"ASC"},filters:A?.filters},siteStatus:(o?.status||"DRAFT")?.toUpperCase()}),a=t?.results?.templateSpecificData;a?.length?(f(e=>[...e,...a]),b(e),e>=(t?.pages||h)&&N(!1)):N(!1)}catch(e){N(!1),console.error("Error fetching policies:",e)}finally{v(!1)}},$=(0,r.useCallback)(e=>{e[0].isIntersecting&&w&&j&&!y&&R(g+1)},[w,j,y,g]);if((0,r.useEffect)(()=>{let e=new IntersectionObserver($,{root:null,rootMargin:"20px",threshold:1});return C.current&&e.observe(C.current),()=>e.disconnect()},[$]),!x?.length&&!t?.heading&&!t?.subheading)return null;let L=(0,r.useCallback)(e=>{T(e),e&&setTimeout(()=>{let t=_.current.get(e);if(t){let e=t.getBoundingClientRect().top+window.scrollY-200;window.scrollTo({top:e,behavior:"smooth"})}},150)},[]);return(0,s.jsx)("section",{className:"faq-sections py-[50px] lg:py-[60px] xl:py-20",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"flex flex-wrap",children:[(0,s.jsxs)("div",{className:"section_headings w-full lg:max-w-[413px] pr-0 md:pr-12 mb-12 lg:mb-0",children:[(0,s.jsx)("h2",{className:"heading",children:t?.heading||"Policies"}),t?.subheading&&(0,s.jsx)("p",{className:"heading-desc",children:t?.subheading})]}),(0,s.jsxs)("div",{className:"w-full lg:w-[calc(100%_-_413px)]",children:[(0,s.jsxs)(l.nD,{className:"w-full",type:"single",collapsible:!0,defaultValue:"0",role:"region","aria-label":"Policies",value:I,onValueChange:L,children:[!!k?.length&&k.map((e,t)=>(0,s.jsxs)(l.As,{value:`${t}`,className:"faq-group",children:[(0,s.jsx)(l.$m,{className:"faq-btn",id:`policy-trigger-${t}`,role:"button","aria-controls":`policy-content-${t}`,"aria-expanded":"false",children:e?.title||""}),(0,s.jsx)(l.ub,{className:"faq-content",id:`policy-content-${t}`,role:"region","aria-labelledby":`policy-trigger-${t}`,children:(0,d.A)(e?.description||"")})]},e?._id||t)),y&&(0,s.jsx)("div",{className:"faq-group opacity-50",children:(0,s.jsx)("div",{className:"py-5",children:(0,s.jsx)("div",{className:"load-more h-5"})})})]}),p>6&&(0,s.jsx)("button",{"aria-label":"list-button",className:"text-base text-[var(--vis-primary)] font-semibold mt-5 underline outline-none focus:outline-none focus:shadow-none focus:border-none",onClick:()=>{let e=!w;S(e),T(null),E?.REGULAR_CLICK({type:"button",id:"referral-policy",element:"more_policies"}),e&&x.length<=6&&j&&R(2)},children:w?"Close Expanded List":"View All Policies"}),w&&j&&(0,s.jsx)("div",{ref:C,className:""})]})]})})})}},29271:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(37876),l=a(55128),r=a(12540),i=a(19909);function n(e){let{data:t,websiteData:a}=e;return(0,s.jsx)("section",{className:"features py-[50px] lg:py-[60px] xl:py-20",children:(0,s.jsxs)("div",{className:"container mx-auto",children:[(0,s.jsxs)("div",{className:"heading-group max-w-[997px] mb-5 sm:mb-7 xl:mb-12",children:[(0,s.jsx)("h2",{className:"heading",children:t?.heading}),(0,s.jsx)("p",{className:"heading-desc",children:(0,r.EJ)(t?.description,l.N8?.LANDING_PAGE?.WHY_SECTION?.DESC)})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3  xl:grid-cols-4 gap-4 xl:gap-8 ",children:t?.cardsSection&&t?.cardsSection?.length>0&&t?.cardsSection?.map((e,t)=>(0,s.jsx)("div",{className:"featrues-item sec-gray-bg p-5 rounded-lg",children:(0,s.jsxs)("div",{className:"features-content",children:[(0,s.jsx)("p",{className:"ftrs-title",children:(0,r.EJ)(e?.title,l.N8?.LANDING_PAGE?.WHY_SECTION?.ER_CARD?.TITLE)}),(0,s.jsx)("p",{className:`ftrs-content ${a?.templateName===i.QT.ER?"text-[var(--vis-body)]":"text-[var(--vis-primary)]"}`,children:(0,r.EJ)(e?.description,l.N8?.LANDING_PAGE?.WHY_SECTION?.ER_CARD?.DESC)})]})},t))})]})})}},35453:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(37876);function l(e){let{data:t,websiteData:a}=e;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("section",{className:"inner
1-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"inner_page-head callout-section",children:(0,s.jsx)("h1",{className:"page-heading lg",children:t?.heading})})})})})}},37620:(e,t,a)=>{a.d(t,{A:()=>g});var s=a(37876),l=a(88016),r=a(14232),i=a(278),n=a(51930),c=a(31831),d=a(48230),o=a.n(d),m=a(38469),u=a(14776),h=a(12416);function p(e){let{data:t}=e,[a,l]=(0,r.useState)(!1),i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=e=>{i.current&&!i.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,s.jsx)("section",{className:"inner-banner pt-[60px] pb-12 md:pt-20",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"inner_page-head insurance-content-wrpr margin-0",children:[(0,s.jsx)("h1",{className:"page-heading pb-2",children:t?.referral?.heading||t?.heading}),(t?.referral?.subheading||t?.subheading||t?.subHeading)&&(0,s.jsx)("div",{className:"page-desc embedded-html",dangerouslySetInnerHTML:{__html:t?.referral?.subheading||t?.subheading||t?.subHeading||""}}),(t?.referral?.cta?.enabled||t?.primaryCta?.enabled||t?.secondaryCta?.enabled)&&(0,s.jsxs)("div",{className:"mt-4 items-center justify-start md:justify-center gap-4 flex flex-wrap",children:[t?.referral?.cta?.enabled&&(0,s.jsxs)("div",{ref:i,className:"relative inline-block",children:[(0,s.jsxs)("button",{type:"button",className:"btn primary-btn w-fit",onClick:()=>l(e=>!e),children:[t?.referral?.cta?.name||"",(0,s.jsx)("span",{className:"w-6 h-6 inline-flex items-center justify-center",children:(0,s.jsx)(h.y,{className:`transition ${a?"rotate-180":""}`})})]}),a&&(0,s.jsx)("div",{className:"absolute left-0 mt-1 min-w-[180px] rounded-lg border bg-white shadow-lg z-10",children:t?.referral?.cta?.buttons?.filter(e=>e?.enabled)?.map((e,t)=>(0,s.jsx)(o(),{href:e.url,className:"block text-left font-medium border-b border-b-[var(--vis-soft-gray)] px-4 py-2 text-sm text-[var(--vis-body)] hover:text-[var(--vis-primary)] hover:bg-[var(--vis-light)]",onClick:()=>l(!1),children:e?.text||""},t))})]}),t?.primaryCta?.enabled&&(0,s.jsx)(o(),{href:t?.primaryCta?.value,className:"btn primary-btn w-fit",children:t?.primaryCta?.label}),t?.secondaryCta?.enabled&&(0,s.jsx)(o(),{href:t?.secondaryCta?.value,className:"btn outline-btn w-fit",children:t?.secondaryCta?.label})]})]})})})}let x=u.TemplateType.Faqs4,f=()=>(0,s.jsx)("div",{className:"accord-card animate-pulse",children:(0,s.jsx)("div",{className:"py-5 px-4",children:(0,s.jsx)("div",{className:"h-5 bg-gray-200 rounded w-3/4"})})});function g(e){let{data:t,websiteData:a,sectionData:d,page:u}=e,h=(0,r.useMemo)(()=>new i.A,[]),[g,b]=(0,r.useState)("0"),[y,v]=(0,r.useState)([]),[j,N]=(0,r.useState)(1),[w,S]=(0,r.useState)(0),[C,E]=(0,r.useState)(1),[A,_]=(0,r.useState)(!1),[I,T]=(0,r.useState)(!0),[k,R]=(0,r.useState)(!1),[$,L]=(0,r.useState)(!1),M=(0,r.useRef)(null),D=(0,r.useRef)(new Map),{TriggerEvents:F}=(0,n.useCarterAnalytics)(),G=c.G["todo-page"]||c.G["resources-page"];(0,r.useEffect)(()=>{(async()=>{if(a?._id)try{T(!0);let e=await h.GetWebsiteEntityData({websiteIdOrSlug:a._id,entityType:"templateSpecificData",pagination:{page:1,limit:G?.limit||10,sort:G?.sort||{field:"priority",direction:"ASC"},filters:{conditions:[{field:"type",operator:"EQ",value:x}]}},siteStatus:(a?.status||"DRAFT")?.toUpperCase()}),t=e?.results?.templateSpecificData||[];v(t),N(e?.pages||1),S(e?.total||0),R((e?.pages||1)>1)}catch(e){console.error("Error fetching initial items:",e)}finally{T(!1)}})()},[a?._id]);let O=$?y:y?.slice(0,6),P=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;try{_(!0);let t=await h.GetWebsiteEntityData({websiteIdOrSlug:a?._id,entityType:"templateSpecificData",pagination:{page:e,limit:G?.limit||10,sort:G?.sort||{field:"priority",direction:"ASC"},filters:{conditions:[{field:"type",operator:"EQ",value:x}]}},siteStatus:(a?.status||"DRAFT")?.toUpperCase()}),s=t?.results?.templateSpecificData;s?.length?(v(e=>[...e,...s]),E(e),e>=(t?.pages||j)&&R(!1)):R(!1)}catch(e){R(!1),console.error("Error fetching items:",e)}finally{_(!1)}},H=(0,r.useCallback)(e=>{e[0].isIntersecting&&$&&k&&!A&&P(C+1)},[$,k,A,C]);(0,r.useEffect)(()=>{let e=new IntersectionObserver(H,{root:null,rootMargin:"20px",threshold:1});return M.current&&e.observe(M.current),()=>e.disconnect()},[H]);let U=(0,r.useCallback)(e=>{b(e),e&&setTimeout(()=>{let t=D.current.get(e);if(t){let e=t.getBoundingClientRect().top+window.scrollY-200;window.scrollTo({top:e,behavior:"smooth"})}},150)},[]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p,{data:t,websiteData:a}),(0,s.jsx)("section",{className:"pb-[50px] lg:pb-[60px] xl:pb-20",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"flex items-start flex-col-reverse lg:flex-row gap-6 lg:gap-12",children:[(0,s.jsxs)("div",{className:"service-accordian flex-1 w-full lg:max-w-full lg:w-1/2",children:[I?(0,s.jsx)("div",{className:"w-full space-y-0",children:["shimmer-1","shimmer-2","shimmer-3","shimmer-4","shimmer-5","shimmer-6"].map(e=>(0,s.jsx)(f,{},e))}):(0,s.jsxs)(l.nD,{role:"region","aria-label":"Service categories accordion",type:"single",collapsible:!0,className:"w-full",value:g,onValueChange:U,children:[O?.map((e,t)=>(0,s.jsxs)(l.As,{className:"accord-card",value:`${t}`,ref:e=>{e?D.current.set(`${t}`,e):D.current.delete(`${t}`)},children:[(0,s.jsx)(l.$m,{className:"acord-triger",role:"button","aria-controls":`community-${t}`,"aria-expanded":"false",children:e?.title||"Accordion Title"}),u?.name?.includes("care")||u?.name?.includes("travel")?(0,s.jsx)(l.ub,{id:`service-content-${t}`,role:"region","aria-label":`Service category content ${e?.title||""}`,children:(0,s.jsx)("div",{className:"flex flex-col-reverse lg:flex-row gap-4 lg:gap-[94px] p-4",children:(0,s.jsx)("div",{className:"w-full flex flex-col flex-1 gap-0.5",children:e?.additionalDetails?.links?.map((e,t)=>(0,s.jsx)(o(),{href:e?.url||"",className:"primary-text add-link underline font-semibold",target:"_blank",children:e?.text||""},e?.url||t))})})}):(0,s.jsx)(l.ub,{id:`service-content-${t}`,role:"region","aria-label":`Service category content ${e?.title||""}`,children:(0,s.jsxs)("div",{className:"flex flex-col-reverse lg:flex-row gap-4 lg:gap-[94px] p-4",children:[(0,s.jsx)("div",{className:"w-full flex flex-col flex-1",children:(0,s.jsx)("div",{className:"embedded-html",dangerouslySetInnerHTML:{__html:e?.description||""}})}),!!e?.imageUrl&&(0,s.jsx)("div",{className:"w-full lg:max-w-[40%] flex items-center justify-center overflow-hidden",children:(0,s.jsx)(m.$E,{src:e?.imageUrl?.url||"",width:458,height:345,size:"large",className:"img-fluid",priority:!1,alt:e?.imageUrl?.alt||e?.title})})]})})]},e?._id||t)),A&&(0,s.jsx)(f,{})]}),!I&&w>6&&(0,s.jsx)("button",{"aria-label":"list-button",className:"text-base text-[var(--vis-primary)] font-semibold mt-5 underline outline-none focus:outline-none focus:shadow-none focus:border-none",onClick:()=>{let e=!$;L(e),b(null),F?.REGULAR_CLICK({type:"button",id:"cstm-accordion",element:"more_items"}),e&&y.length<=6&&k&&P(2)},children:$?"Close Expanded List":"View All"}),$&&k&&(0,s.jsx)("div",{ref:M,className:"h-4"})]}),t?.heroImage?.[0]?.url&&(0,s.jsx)("div",{className:"flex-1 w-full hidden lg:flex items-start lg:max-w-[50%] lg:w-1/2",children:(0,s.jsx)("div",{className:"pointer-img rounded-2xl overflow-hidden w-full",children:(0,s.jsx)(m.$E,{src:t?.heroImage?.[0]?.url||"",width:500,height:400,alt:t?.heroImage?.[0]?.alt||"pointer-img",className:"img-fluid w-full",objectFit:"cover"})})})]})})})]})}},44226:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(37876),l=a(38469);function r(e){let{data:t,website:a}=e;
1return(0,s.jsx)("section",{className:"inner-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"inner_page-head",children:[(0,s.jsx)("h1",{className:"page-heading",children:t?.heading||"Vets-In-Training"}),(0,s.jsx)("p",{className:"page-desc",children:t?.subheading||"Pet insurance is a great way to keep your furry family safe and save you money in unexpected health costs. Please see below for pet insurance websites to learn more about their plans and coverage for your pet"})]}),(0,s.jsxs)("div",{className:"flex flex-col-reverse md:flex-row justify-start items-start gap-6 md:gap-8 lg:gap-12",children:[(0,s.jsx)("div",{className:"embedded-html page-desc flex-1",dangerouslySetInnerHTML:{__html:t?.body||""}}),(0,s.jsx)("div",{className:"max-w-[380px] w-full flex justify-center items-center mx-auto",children:(0,s.jsx)(l.$E,{src:t?.heroImage?.[0]?.url||"",width:"400px",height:"500px",className:"img-fluid",objectFit:"cover",alt:t?.heroImage?.[0]?.url||t?.heading||""})})]})]})})}},51879:(e,t,a)=>{a.d(t,{A:()=>m});var s=a(37876),l=a(38469),r=a(48230),i=a.n(r),n=a(14232),c=a(278),d=a(51930),o=a(31831);function m(e){let{data:t,website:a,sectionData:r}=e,m=(0,n.useMemo)(()=>new c.A,[]),u=r?.results?.templateSpecificData||[],h=r?.pages||1,p=r?.total||0,x="Pointers3",[f,g]=(0,n.useState)(u),[b,y]=(0,n.useState)(1),[v,j]=(0,n.useState)(!1),[N,w]=(0,n.useState)(h>1),[S,C]=(0,n.useState)(!1),E=(0,n.useRef)(null),{TriggerEvents:A}=(0,d.useCarterAnalytics)(),_=o.G["locations-page"]||o.G["resources-page"];(0,n.useEffect)(()=>{u&&u.length>0&&0===f.length&&g(u)},[u]);let I=S?f:f?.slice(0,6),T=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;
1if(x)try{j(!0);let t=await m.GetWebsiteEntityData({websiteIdOrSlug:a?._id,entityType:"templateSpecificData",pagination:{page:e,limit:_?.limit||10,sort:_?.sort||{field:"priority",direction:"ASC"},filters:{conditions:[{field:"type",operator:"EQ",value:x}]}},siteStatus:(a?.status||"DRAFT")?.toUpperCase()}),s=t?.results?.templateSpecificData;s?.length?(g(e=>[...e,...s]),y(e),e>=(t?.pages||h)&&w(!1)):w(!1)}catch(e){w(!1),console.error("Error fetching location items:",e)}finally{j(!1)}},k=(0,n.useCallback)(e=>{e[0].isIntersecting&&S&&N&&!v&&T(b+1)},[S,N,v,b]);return(0,n.useEffect)(()=>{let e=new IntersectionObserver(k,{root:null,rootMargin:"20px",threshold:1});return E.current&&e.observe(E.current),()=>e.disconnect()},[k]),(0,s.jsx)("section",{className:"inner-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"inner_page-head insurance-content-wrpr",children:[(0,s.jsx)("h1",{className:"page-heading",children:t?.heading||"Medical Tourism For Pets!"}),(0,s.jsx)("p",{className:"page-desc",children:t?.subheading||"HousePaws Mobile Veterinary Service is a fusion of high-quality mobile veterinary care with access to traditional clinical care in our hospital locations. We are enthusiastic about bringing a wonderful, full-service experience to their patients."})]}),(0,s.jsxs)("div",{className:"flex items-start justify-between flex-col md:flex-row gap-6 md:gap-8 lg:gap-12",children:[(0,s.jsx)("div",{className:"max-w-[calc((100% - 24px) / 2)] md:max-w-[calc((100% - 32px) / 2)] lg:max-w-[calc((100% - 48px) / 2)] flex-1 w-full",children:(0,s.jsx)(l.$E,{src:t?.heroImage?.[0]?.url||"",width:"600px",height:"600px",alt:t?.heading})}),(0,s.jsxs)("div",{className:"space-y-6 md:space-y-8 flex-1 w-full",children:[I?.map((e,t)=>(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("h3",{className:"text-base md:text-xl primary-text add-link font-semibold",children:(0,s.jsx)(i(),{href:e?.additionalDetails?.url||"",className:"underline underline-offset-2 hover:underline-offset-4",children:e?.title})}),(0,s.jsx)("p",{className:"heading-desc",children:e?.additionalDetails?.address}),(0,s.jsx)(i(),{href:`tel:${e?.additionalDetails?.phone||""}`,className:"text-black text-base underline-offset-2 underline hover:underline-offset-4",children:e?.additionalDetails?.phone||""})]},e?._id||t)),v&&(0,s.jsxs)("div",{className:"flex flex-col gap-1 opacity-50",children:[(0,s.jsx)("div",{className:"h-5 bg-gray-200 rounded animate-pulse w-3/4"}),(0,s.jsx)("div",{className:"h-4 bg-gray-200 rounded animate-pulse w-full"}),(0,s.jsx)("div",{className:"h-4 bg-gray-200 rounded animate-pulse w-1/2"})]}),p>6&&(0,s.jsx)("button",{"aria-label":"list-button",className:"text-base text-[var(--vis-primary)] font-semibold mt-5 underline outline-none focus:outline-none focus:shadow-none focus:border-none",onClick:()=>{let e=!S;C(e),A?.REGULAR_CLICK({type:"button",id:"location-section",element:"more_items"}),e&&f.length<=6&&N&&T(2)},children:S?"Close Expanded List":"View All"}),S&&N&&(0,s.jsx)("div",{ref:E,className:"h-4"})]})]})]})})}},52858:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(37876);function l(e){let{data:t}=e;return(0,s.jsx)("section",{className:"inner-banner py-[50px] lg:py-[60px] xl:py-20 grey-bg",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"inner_page-head margin-0",children:[(0,s.jsx)("div",{className:"embedded-html page-desc",dangerouslySetInnerHTML:{__html:t?.info?.description||t?.description||""}}),(0,s.jsx)("h2",{className:"page-heading",children:t?.info?.heading||t?.heading||""})]})})})}},53693:(e,t,a)=>{a.d(t,{H:()=>n,J:()=>c});var s=a(55128),l=a(67474),r=a(19909);let i=e=>{if(!e)return{};if(e instanceof Map)return Object.fromEntries(e.entries());if("object"==typeof e&&!Array.isArray(e)){let t={};for(let[a,s]of Object.entries(e))s instanceof Map?t[a]=Object.fromEntries(s.entries()):t[a]=s;return t}if(Array.isArray(e)){let t={};return e.forEach(e=>{e?.name&&(t[e.name]={name:e.name,enabled:e?.enabled??!1,priority:e?.priority??0,data:e?.data||{}})}),t}return{}},n=async(e,t)=>{let a=new l.A;try{let l=s.uO[t?.status]||"DRAFT",n=await a.VisitorWebsiteByIdOrSlug({idOrSlug:e,siteStatus:l});if(!n)return[];let c=[];n.pagesAndSections instanceof Map?c=Array.from(n.pagesAndSections.values()):Array.isArray(n.pagesAndSections)?c=n.pagesAndSections:"object"==typeof n.pagesAndSections&&(c=Object.values(n.pagesAndSections));let d=c.find(e=>e?.name===r.Nb.REFERRAL_PAGE);if(!d)return[];let o=i(d.sections)["referral-embedded-section"];if(!o||!1===o.enabled)return[];return o?.data?.embedded||[]}catch(e){return console.error("Error fetching referral embedded for child:",e),[]}},c=async(e,t)=>{let a=new l.A;try{let l=s.uO[t?.status]||"DRAFT",n=await a.VisitorWebsiteByIdOrSlug({idOrSlug:e,siteStatus:l});if(!n)return null;
1let c=[];n.pagesAndSections instanceof Map?c=Array.from(n.pagesAndSections.values()):Array.isArray(n.pagesAndSections)?c=n.pagesAndSections:"object"==typeof n.pagesAndSections&&(c=Object.values(n.pagesAndSections));let d=c.find(e=>e?.name===r.Nb.REFERRAL_PAGE);if(!d)return null;let o=i(d.sections)["referral-hero-section"];if(!o||!1===o.enabled)return null;return o?.data??null}catch(e){return console.error("Error fetching referral hero for child:",e),null}}},56048:(e,t,a)=>{a.d(t,{A:()=>c});var s=a(37876),l=a(14232),r=a(50600),i=a(53693),n=a(37659);function c(e){let{data:t,websiteData:a}=e,[c,d]=(0,l.useState)([]),[o,m]=(0,l.useState)(null),[u,h]=(0,l.useState)(!1),{multiSiteGroupChildren:p,loading:x}=(0,n.i5)(),f=a?.category==="MULTI_WEBSITE_GROUP"||a?.isMultiSiteParent||a?.isMultiSiteChild;if(!f){let e=t?.embedded?.filter(e=>e?.enabled)||[];return 0===e.length?null:e.map((e,t)=>(0,s.jsx)("section",{className:"inner-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"heading-wrap max-w-[988px] ml-0 mb-12 xl:mb-12",children:[(0,s.jsx)("h2",{className:"heading",children:e?.heading}),(0,s.jsx)("p",{className:"heading-desc",children:e?.subheading})]}),e?.link&&(0,s.jsx)(r.A,{scriptContent:e?.link||""},t)]})},t))}(0,l.useEffect)(()=>{if(!f)return void m(null);if(x?.isLoading)return;let e=()=>{let e=sessionStorage.getItem("multiSiteReferralSlug");if(!e&&p?.results?.length>0){let e=p.results[0]?.slug;if(e){sessionStorage.setItem("multiSiteReferralSlug",e),m(e);return}}e?m(e):p?.results?.length===0&&m(null)};e();let t=t=>{"multiSiteReferralSlug"===t.key&&e()};window.addEventListener("storage",t);let a=setInterval(e,100);return()=>{window.removeEventListener("storage",t),clearInterval(a)}},[f,p,x?.isLoading]),(0,l.useEffect)(()=>{if(!f||!o)return void d([]);(async()=>{h(!0);try{let e=await (0,i.H)(o,a);d(e||[])}catch(e){console.error("[ReferralEmbedSection] Error fetching child embedded data:",e),d([])}finally{h(!1)}})()},[o,f,a]);let g=f&&o&&c.length>0?c.filter(e=>e?.enabled):t?.embedded?.filter(e=>e?.enabled)||[],b=f&&!o&&x?.isLoading,y=f&&!o&&p?.results?.length>0;return u||b||y?(0,s.jsx)("section",{className:"inner-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"heading-wrap max-w-[988px] ml-0 mb-12 xl:mb-12",children:(0,s.jsx)("div",{className:"mt-3 h-5 load-more",children:"Loading embedded forms..."})})})}):0===g.length?null:g.map((e,t)=>(0,s.jsx)("section",{className:"inner-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"heading-wrap max-w-[988px] ml-0 mb-12 xl:mb-12",children:[(0,s.jsx)("h2",{className:"heading",children:e?.heading}),(0,s.jsx)("p",{className:"heading-desc",children:e?.subheading})]}),e?.link&&(0,s.jsx)(r.A,{scriptContent:e?.link||""},t)]})},t))}},68318:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(37876),l=a(54587),r=a.n(l),i=a(14232),n=a(5885),c=a(53505),d=a(98673);function o(e){let{errorType:t="404",delay:a=3e3}=e,[l,o]=(0,i.useState)(Math.ceil(a/1e3)),[m,u]=(0,i.useState)(!1),[h,p]=(0,i.useState)(!1),[x,f]=(0,i.useState)("");return(0,i.useEffect)(()=>{{let e=window.location.hostname,t=window.location.pathname;if((0,d.T8)(e)){let e=window.location.origin.replace(/\/+$/,""),a=t.split("/").filter(Boolean),s=e;if(a.length>=2){let t=a[0],l=a[1];if(a.length>=4&&("location"===a[2]||"locations"===a[2])){let r=a[2],i=a[3];s=4===a.length?`${e}/${t}/${l}`:`${e}/${t}/${l}/${r}/${i}`}else s=2===a.length?e:`${e}/${t}/${l}`}f(s)}else f(window.location.origin);p(!0)}},[]),(0,i.useEffect)(()=>{if(h){let e=setInterval(()=>{o(e=>e<=1?(u(!0),0):e-1)},1e3),t=setTimeout(()=>{window.location.href=x},a);return()=>{clearInterval(e),clearTimeout(t)}}},[a,t,h]),(0,s.jsx)("div",{className:"min-h-screen bg-[#F9F9F9] flex items-center justify-center h-screen w-full",children:(0,s.jsxs)("div",{className:"max-w-2xl w-full relative",children:[(0,s.jsx)(r(),{src:c.A?.src,alt:"404 stars",width:700,height:700,className:"absolute top-0 right-0 left-0 w-full h-full z-0"}),(0,s.jsx)("div",{className:"mb-6 relative z-10",children:(0,s.jsx)(r(),{src:n.A?.src,alt:"404 image",width:700,height:700})}),(0,s.jsxs)("div",{className:"flex items-center justify-center gap-4 flex-col relative z-10",children:[(0,s.jsx)("h1",{className:"text-4xl font-bold text-[var(--vis-primary)]",children:(()=>{switch(t){case"404":return"Page Not Found";case"500":return"Server Error";case"unpublished":return"Website Not Available";
1case"invalid":return"Invalid Website";default:return"Redirecting to Home Page "}})()}),(0,s.jsx)("p",{className:"text-base text-[var(--vis-dark-slate)] text-center max-w-md",children:(()=>{switch(t){case"404":return"Sorry, we couldn't find the page you were looking for.";case"500":return"We encountered a server error while processing your request.";case"unpublished":return"This website is not yet published or available.";case"invalid":return"The requested website data is invalid or corrupted.";default:return"You will be redirected to our main website in a few seconds."}})()}),(0,s.jsxs)("div",{className:"text-sm text-[var(--vis-dark-slate)] opacity-75",children:["Redirecting in ",l," second",1!==l?"s":"","..."]}),(0,s.jsx)("a",{href:x,className:"btn red-btn px-14",onClick:()=>u(!0),children:m?"Redirecting...":"Go to Home Page"})]})]})})}},72410:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(37876),l=a(51050),r=a(14232);let i=e=>{let{data:t}=e,[a,i]=(0,r.useState)(0),[n,c]=(0,r.useState)(0),[d,o]=(0,r.useState)(0),m=(0,r.useMemo)(()=>Math.max(0,a-n-d),[a,n,d]),u=(0,r.useMemo)(()=>({six:Math.ceil(m/6),twelve:Math.ceil(m/12)}),[m]),h=e=>t=>{e(Math.max(0,Number.parseFloat(t.target.value)||0))};return(0,s.jsx)("section",{className:"py-[50px] lg:py-[60px] xl:py-20 bg-[#F4F4F5] payment-calculator",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"heading-wrap max-w-[988px] ml-0 mb-12",children:[(0,s.jsx)("h2",{className:"heading",children:t?.info?.heading||"Calculate Monthly Payment"}),(0,s.jsx)("p",{className:"heading-desc",children:t?.info?.subheading||"See how CareCredit financing options can help turn your veterinary expenses into manageable monthly payments. Try our payment estimator below."})]}),t?.info?.showCalculator&&(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-10 lg:gap-8 calculator-container",children:[(0,s.jsx)("div",{className:"calculator-form",children:(0,s.jsxs)("div",{className:"flex flex-col gap-4 form-groups",children:[(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsxs)("p",{className:"form-label",children:["Cost of Treatment",(0,s.jsx)("span",{className:"info-icon",children:(0,s.jsx)(l.m,{size:14})})]}),(0,s.jsxs)("div",{className:"input-wrapper",children:[(0,s.jsx)("span",{className:"currency",children:"$"}),(0,s.jsx)("input",{type:"number",className:"form-input",value:a,onChange:h(i),min:0})]})]}),(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsxs)("p",{className:"form-label",children:["Amount Covered By Insurance",(0,s.jsx)("span",{className:"info-icon",children:(0,s.jsx)(l.m,{size:14})})]}),(0,s.jsxs)("div",{className:"input-wrapper",children:[(0,s.jsx)("span",{className:"currency",children:"$"}),(0,s.jsx)("input",{type:"number",className:"form-input",value:n,onChange:h(c),min:0})]})]}),(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("p",{className:"form-label",children:"Down Payment"}),(0,s.jsxs)("div",{className:"input-wrapper",children:[(0,s.jsx)("span",{className:"currency",children:"$"}),(0,s.jsx)("input",{type:"number",className:"form-input",value:d,onChange:h(o),min:0})]})]}),(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("p",{className:"form-label",children:"Total Financed Amount"}),(0,s.jsxs)("div",{className:"input-wrapper",children:[(0,s.jsx)("span",{className:"currency",children:"$"}),(0,s.jsx)("input",{type:"number",className:"form-input",value:m,disabled:!0})]})]})]})}),(0,s.jsxs)("div",{className:"calculator-result",children:[(0,s.jsx)("h3",{className:"text-xl font-bold text-[var(--vis-primary)] md:text-center",children:"Your Estimated Monthly Payment"}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-center flex-row gap-2 md:gap-4 mb-6 payment-cards",children:[(0,s.jsxs)("div",{className:"bg-white rounded-2xl px-2 py-6 text-center shadow-md transition-shadow min-w-20 lg:min-w-36 w-full flex flex-col gap-3 overflow-hidden",children:[(0,s.jsx)("span",{className:"text-sm md:text-base font-medium text-[var(--vis-body)] leading-tight",children:"6 Months"}),(0,s.jsxs)("span",{className:"payment-amount text-lg md:text-2xl font-bold text-[var(--vis-primary)] break-words",children:["$",u.six]})]}),(0,s.jsxs)("div",{className:"bg-white rounded-2xl px-2 py-6 text-center shadow-md transition-shadow min-w-20 lg:min-w-36 w-full flex flex-col gap-3 overflow-hidden",children:[(0,s.jsx)("span",{className:"text-sm md:text-base font-medium text-[var(--vis-body)] leading-tight",children:"12 Months"}),(0,s.jsxs)("span",{className:"payment-amount text-lg md:text-2xl font-bold text-[var(--vis-primary)] break-words",children:["$",u.twelve]})]})]}),(0,s.jsx)("p",{className:"payment-note text-base text-[var(--vis-body)]",children:"This payment tool is provided to create an estimate of your monthly payment."})]})]})]})]})})}},94495:(e,t,a)=>{a.d(t,{A:()=>u});var s=a(37876),l=a(46153),r=a(12416),i=a(48230),n=a.n(i),c=a(14232),d=a(37659),o=a(19909),m=a(53693);function u(e){let{data:t,websiteData:a,page:i}=e,[u,h]=(0,c.useState)(!1),p=(0,c.useRef)(null),[x,f]=(0,c.useState)(""),[g,b]=(0,c.useState)(!1),y=(0,c.useRef)(!1),[v,j]=(0,c.useState)(null),[N,w]=(0,c.useState)(!1),{multiSiteGroupChildren:S,loading:C,fetchMultiSiteGroupChildren:E}=(0,d.i5)(),A=(0,c.useMemo)(()=>!a?.isMultiSiteChild&&a?.category==="MULTI_WEBSITE_GROUP",[a]),_=(0,c.useMemo)(()=>!!(a?.isMultiSiteChild||a?.clonedFrom),[a]),I=A||_||a?.category==="MULTI_WEBSITE_GROUP",T=(0,c.useMemo)(()=>I?(S?.results||[]).map(e=>({_id:e._id,name:e.name||e.slug,slug:e.slug})):[],[S,I]);(0,c.useEffect)(()=>
1{if(y.current||C?.isLoading)return;let e=a?.slug,t=a?.status?.toLowerCase()||"draft",s=a?.folderId?._id,l=a?.isMultiSiteChild&&a?.parent?.slug?a.parent.slug:e;I&&!S?.results?.length&&l&&E&&(y.current=!0,E(l,t,s))},[a?.slug,a?.status,a?.category,a?.folderId?._id,a?.isMultiSiteChild,a?.parent?.slug,I,S?.results?.length,C?.isLoading,E]),(0,c.useEffect)(()=>{y.current=!1},[a?._id]),(0,c.useEffect)(()=>{if(0===T.length)return;let e=sessionStorage.getItem("multiSiteReferralSlug");if(e&&T.some(t=>t.slug===e))f(e);else{let e=T[0]?.slug||"";f(e),e&&sessionStorage.setItem("multiSiteReferralSlug",e)}},[T]),(0,c.useEffect)(()=>{I&&x&&(w(!0),(0,m.J)(x,a).then(j).finally(()=>w(!1)))},[x,I]),(0,c.useEffect)(()=>{let e=e=>{p.current&&!p.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let k=e=>{if(e?.primaryCta?.enabled&&e?.primaryCta?.value)return{label:e.primaryCta.label||"",url:e.primaryCta.value,type:e.primaryCta.type};if(e?.cta?.enabled&&e?.cta?.ctaLink)return{label:e.cta.buttonText||"",url:e.cta.ctaLink,type:e.cta.type};if(e?.referral?.cta?.enabled){let t=e.referral.cta.buttons?.find(e=>e?.url);if(t)return{label:t.text||"",url:t.url}}return null},R=I&&i?.name===o.Nb.REFERRAL_PAGE&&T.length>0;return(0,s.jsx)("section",{className:"inner-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"inner_page-head full-width margin-0",children:(0,s.jsxs)("div",{className:`flex flex-col-reverse md:flex-row md:items-start gap-4 mb-8 md:mb-14 lg:mb-20 ${R?"md:justify-between":"md:justify-center"}`,children:[(0,s.jsxs)("div",{className:`${R&&"max-w-3xl"}`,children:[!_&&(0,s.jsx)("h1",{className:`page-heading lg ${R?"text-left":"text-center"}`,children:t?.referral?.heading||t?.heading}),!_&&(t?.referral?.subheading||t?.subheading||t?.subHeading)&&(0,s.jsx)("div",{className:`page-desc embedded-html ${R?"text-left":"text-center"}`,dangerouslySetInnerHTML:{__html:t?.referral?.subheading||t?.subheading||t?.subHeading||""}}),A?(()=>{let e=k(v);return e&&!N?(0,s.jsx)("div",{className:`mt-4 items-center gap-4 flex flex-wrap ${R?"justify-start":"justify-center"}`,children:"scroll_to_section"===e.type?(0,s.jsx)("button",{type:"button",onClick:()=>{document.getElementById(e.url)?.scrollIntoView({behavior:"smooth",block:"start"})},className:"btn primary-btn w-fit",children:e.label}):(0,s.jsx)(n(),{href:e.url,className:"btn primary-btn w-fit",children:e.label})}):null})():_?(()=>{let e=k(t);return e?(0,s.jsx)("div",{className:"mt-4 items-center gap-4 flex flex-wrap justify-center",children:"scroll_to_section"===e.type?(0,s.jsx)("button",{type:"button",onClick:()=>{document.getElementById(e.url)?.scrollIntoView({behavior:"smooth",block:"start"})},className:"btn primary-btn w-fit",children:e.label}):(0,s.jsx)(n(),{href:e.url,className:"btn primary-btn w-fit",children:e.label})}):null})():(t?.referral?.cta?.enabled||t?.primaryCta?.enabled||t?.secondaryCta?.enabled||t?.cta?.enabled)&&(0,s.jsxs)("div",{className:`mt-4 items-center gap-4 flex flex-wrap ${R?"justify-start":"justify-center"}`,children:[t?.cta?.enabled&&(0,s.jsx)(n(),{href:t?.cta?.ctaLink,className:"btn primary-btn w-fit",children:t?.cta?.buttonText}),t?.referral?.cta?.enabled&&(0,s.jsxs)("div",{ref:p,className:"relative inline-block",children:[(0,s.jsxs)("button",{type:"button",className:"btn primary-btn w-fit",onClick:()=>h(e=>!e),children:[t?.referral?.cta?.name||"",(0,s.jsx)("span",{className:"w-6 h-6 inline-flex items-center justify-center",children:(0,s.jsx)(r.y,{className:`transition ${u?"rotate-180":""}`})})]}),u&&(0,s.jsx)("div",{className:"absolute left-0 mt-1 min-w-[180px] rounded-lg border bg-white shadow-lg z-10",children:t?.referral?.cta?.buttons?.filter(e=>e?.enabled)?.map((e,t)=>(0,s.jsx)(n(),{href:e.url,className:"block text-left font-medium border-b border-b-[var(--vis-soft-gray)] px-4 py-2 text-sm text-[var(--vis-body)] hover:text-[var(--vis-primary)] hover:bg-[var(--vis-light)]",onClick:()=>h(!1),children:e?.text||""},t))})]}),t?.primaryCta?.enabled&&(t?.primaryCta?.type==="scroll_to_section"?(0,s.jsx)("button",{type:"button",onClick:()=>{document.getElementById(t.primaryCta.value)?.scrollIntoView({behavior:"smooth",block:"start"})},className:"btn primary-btn w-fit",children:t?.primaryCta?.label}):(0,s.jsx)(n(),{href:t?.primaryCta?.value,className:"btn primary-btn w-fit",children:t?.primaryCta?.label})),t?.secondaryCta?.enabled&&(t?.secondaryCta?.type==="scroll_to_section"?(0,s.jsx)("button",{type:"button",onClick:()=>{document.getElementById(t.secondaryCta.value)?.scrollIntoView({behavior:"smooth",block:"start"})},className:"btn outline-btn w-fit",children:t?.secondaryCta?.label}):(0,s.jsx)(n(),{href:t?.secondaryCta?.value,className:"btn outline-btn w-fit",children:t?.secondaryCta?.label}))]})]}),R&&(0,s.jsxs)("div",{className:"dropdown-wrpr flex items-center justify-center flex-col gap-2",children:[(0,s.jsxs)(l.l6,{value:x,onValueChange:e=>{f(e),sessionStorage.setItem("multiSiteReferralSlug",e)}
1,disabled:g||C?.isLoading,children:[(0,s.jsx)(l.bq,{className:"min-w-[200px] w-full sm:w-auto px-4 lg:px-6 py-2 text-white primary-btn border-0",children:(0,s.jsx)(l.yv,{placeholder:"Select Location"})}),(0,s.jsx)(l.gC,{children:T.map(e=>(0,s.jsx)(l.eb,{value:e.slug,children:e.name},e._id))})]}),(0,s.jsx)("p",{className:"page-desc sm:max-w-60",children:"The page will update based on the location selected."})]})]})})})})}}}]);

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.