PageSourceSearch

https://animalfarmpethospital.com/_next/static/chunks/pages/_app-5c551db8-f6228f2906e848f6.js

js animalfarmpethospital.com collected 2026-10-05 23:35:41 UTC 47,419 bytes, 20 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1630],{10094:()=>{},10206:(e,s,a)=>{"use strict";a.d(s,{A:()=>o});var t=a(37876),l=a(55128),r=a(48230),i=a.n(r),n=a(68202),c=a(12540),d=a(19909);function o(e){let{relatedData:s,websiteData:a,contentType:r,onClick:o}=e;return(0,t.jsx)("section",{className:"related-blog-sec",children:(0,t.jsx)("div",{className:"related-blog-row",children:s?.slice(0,3)?.map((e,s)=>{var m;return(0,t.jsx)(i(),{href:n.W_.enrichRoute(a,"videos"===(m=r)?(0,l.WS)(a,d.Nb.VIDEO_PAGE):"blogs"===m?(0,l.WS)(a,d.Nb.BLOGS_PAGE):"teams"===m?(0,l.WS)(a,d.Nb.TEAM_PAGE):"news"===m?(0,l.WS)(a,d.Nb.NEWS_PAGE):(0,l.WS)(a,d.Nb.BLOGS_PAGE),e?.slug),onClick:()=>o?.(e?.slug),className:"",children:(0,t.jsxs)("div",{className:`blog-card-content-wrpr ${"teams"===r&&"team-card"}`,children:[(0,t.jsxs)("div",{className:"blog-card-content",children:["teams"===r?(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("h3",{className:"blog-card-title",children:e?.name||""}),e?.specializationIds?.slice(0,1)?.map((e,s)=>(0,t.jsx)("p",{className:"team-profile",children:e?.name},`related_blog_specialization_${s}`))]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{className:"blog-card-title",children:e?.title||""}),e?.news?.requested?.tags?.length>0&&(0,t.jsx)("div",{className:"banner_tag",children:e?.tags?.slice(0,1)?.map((e,s)=>(0,t.jsx)("p",{className:"banner-tag-item",children:e?.name},`related_blog_tag_${s}`))})]}),(0,t.jsx)("p",{className:"blog_desc",children:(0,c.LM)(e?.description,a)})]}),"teams"===r?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)("p",{className:"read_more",children:[(0,t.jsx)("span",{children:"Read More"}),(0,t.jsx)("span",{className:"read_more-arrow",children:(0,t.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",role:"presentation",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6.97969 6.00312C6.97969 6.13646 6.95885 6.26146 6.91719 6.37812C6.87552 6.49479 6.80469 6.60312 6.70469 6.70312L2.10469 11.3031C1.92135 11.4865 1.68802 11.5781 1.40469 11.5781C1.12135 11.5781 0.888021 11.4865 0.704687 11.3031C0.521354 11.1198 0.429687 10.8865 0.429687 10.6031C0.429687 10.3198 0.521354 10.0865 0.704687 9.90312L4.60469 6.00312L0.704687 2.10312C0.521354 1.91979 0.429687 1.68646 0.429687 1.40312C0.429687 1.11979 0.521354 0.886458 0.704687 0.703125C0.88802 0.519792 1.12135 0.428124 1.40469 0.428124C1.68802 0.428124 1.92135 0.519792 2.10469 0.703125L6.70469 5.30312C6.80469 5.40312 6.87552 5.51146 6.91719 5.62812C6.95885 5.74479 6.97969 5.86979 6.97969 6.00312Z",fill:"currentColor"})})})]})]})},`related_blog_${s}`)})})})}},24722:(e,s,a)=>{"use strict";a.d(s,{A:()=>n,X:()=>i});var t=a(14232),l=a(51930),r=a(12540);let i=()=>{let{TriggerEvents:e}=(0,l.useCarterAnalytics)(),[s,a]=(0,t.useState)(""),r=(0,t.useCallback)(t=>{t!=s&&(a(t),t.includes("vs")&&(t.includes("vs-xc-appointment-type")?e?.BOOKING_START({form_type:"appointment_booking",page_url:t}):t.includes("completed")?e?.BOOKING_SUBMIT({form_type:"appointment_booking",form_status:"completed",page_url:t}):e?.BOOKING_FIELD_INTERACTION({form_type:"appointment_booking",page_url:t})))},[e,s]);return(0,t.useEffect)(()=>{r(window.location.href);let e=setInterval(()=>{r(window.location.href)},500),s=()=>r(window.location.href);return window.addEventListener("hashchange",s),window.addEventListener("popstate",s),()=>{clearInterval(e),window.removeEventListener("hashchange",s),window.removeEventListener("popstate",s)}},[r]),{currentUrl:s}},n=e=>{let{siteHash:s,domain:a="us.vetstoria.com",enabled:i=!0,websiteData:n}=e,{TriggerEvents:c}=(0,l.useCarterAnalytics)();return(0,t.useEffect)(()=>{if(!i)return;let e=document.createElement("div");e.id="vetstoria-fw-btn-container",e.dataset.mode="html5",e.dataset.domain=a,e.dataset.siteHash=s,document.body.appendChild(e);let t=document.createElement("script");return t.src=`https://${a}/js/oabp-widget-floating-button.min.js`,t.async=!0,document.body.appendChild(t),()=>{e.remove(),t.remove()}},[s,a,i]),(0,t.useEffect)(()=>{document?.getElementById("vetstoria-fw-btn-container")?.addEventListener("click",function(){r.uc?.BOOK_APPOINTMENT(n,e=>{c?.CTA_CLICK({...e})},{buttonText:"Vetstoria Chat"},!0,"widget","footer")})},[]),null}},25908:(e,s,a)=>{"use strict";a.d(s,{A:()=>u});var t=a(37876),l=a(55128),r=a(7427),i=a(38469),n=a(56580),c=a(10206),d=a(12540),o=a(51930),m=a(92720),h=a(19170);function u(e){let{websiteData:s,data:a,newBlogs:u}=e,{TriggerEvents:g}=(0,o.useCarterAnalytics)(),p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"card",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"news_details";g?.REGULAR_CLICK({type:s,event:a,id:e})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"details-banner gray-bg",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"details-banner-row",children:[(0,t.jsx)("div",{className:"d_b-left",children:(0,t.jsxs)("div",{className:"d_b-content",children:[(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("h1",{className:"details-page-title primary",children:a?.news?.requested?.title}),(0,t.jsx)("p",{className:"details-page-desc primary",children:(0,d.LM)((0,d.EJ)(a?.news?.requested?.description,l.N8?.DETAILS_PAGE?.SHORT_DESC),s)})]}),a?.news?.requested?.tags?.length>0&&(0,t.jsx)("div",{className:"banner_tag",children:a?.news?.requested?.tags?.map((e,s)=>(0,t.jsx)("p",{className:"banner-tag-item",children:e?.name},`news_requested_${s}`))}),(0,t.jsxs)("div",{className:"author-card",children:[(0,t.jsx)("div",{className:"author-img-wrpr border-color",children:(0,t.jsx)(m._,{name:a?.news?.requested?.author?.name||s?.name,imageSize:"medium",className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"author-content-wrpr",children:[(0,t.jsx)("p",{className:"author-name",children:a?.news?.requested?.author?.name||s?.name}),(0,t.jsxs)("div",{className:"time-date-wrpr",children:[(0,t.jsx)("p",{className:"read-time",children:(0,l.ep)(a?.news?.requested?.content||"")}),(0,t.jsx)("span",{className:"dot-separator"}),(0,t.jsx)("p",{className:"uploaded-date",children:(0,l.fF)(a?.news?.requested?.createdAt)||""})]})]})]})]})}),(0,t.jsx)("div",{className:"d_b-right",children:(0,t.jsx)("div",{className:"d_b-img",children:(0,t.jsx)(i.Ay,{src:a?.news?.requested?.featuredImageId?.fileUrl||h.A?.src,alt:a?.news?.requested?.title,height:500,width:1e3,size:"large",className:"w-full h-full object-cover"})})})]})})}),(0,t.jsx)("section",{className:"common_pages_details",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"post_details",children:[(0,t.jsx)("div",{className:"post-details-left",children:(0,t.jsx)("div",{className:"post_content",children:(0,r.A)((0,d.LM)(a?.news?.requested?.content,s))})}),(0,t.jsx)("div",{className:"detail-page-sidebar",children:!!(a?.news?.related&&a?.news?.related?.length)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"sidebar-title",children:"Related News"}),(0,t.jsx)(c.A,{relatedData:a?.news?.related,onClick:p,websiteData:s,contentType:"news"})]})})]})})}),(0,t.jsx)(n.A,{newBlogs:u,websiteData:s,onClick:p})]})}},35951:(e,s,a)=>{"use strict";a.d(s,{A:()=>g});
1var t=a(37876),l=a(7427),r=a(38469),i=a(66475),n=a(89099),c=a(68202),d=a(55128),o=a(51930),m=a(12540),h=a(62969),u=a(19909);function g(e){let{websiteData:s,data:a,newBlogs:g}=e,p=(0,n.useRouter)(),{TriggerEvents:x}=(0,o.useCarterAnalytics)(),v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"card",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"team_details";x?.REGULAR_CLICK({type:s,event:a,id:e})};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("section",{className:"common_pages_details",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"post_details",children:(0,t.jsxs)("div",{className:"post-details-left",children:[(0,t.jsxs)("button",{onClick:()=>{c.W_.handleRouteChange(p,s,`/${(0,d.WS)(s,u.Nb.TEAM_PAGE)}`),v((0,d.WS)(s,u.Nb.TEAM_PAGE),"link")},className:"back-link",children:[(0,t.jsx)(i.n,{}),"Back to Team Page"]}),(0,t.jsxs)("div",{className:"teams-details-row",children:[(0,t.jsx)("div",{className:"vet-banner-left",children:(0,t.jsx)("div",{className:"vet-banner-img",children:(0,t.jsx)(r.Ay,{src:a?.vets?.requested?.imageId?.fileUrl||h.A?.src,alt:a?.vets?.requested?.name,size:"large",height:500,width:500,className:"w-full h-full object-cover object-top"},a)})}),(0,t.jsxs)("div",{className:"team-banner-content",children:[(0,t.jsx)("h1",{className:"vet-name-banner",children:a?.vets?.requested?.name}),(0,t.jsx)("h3",{className:"vet-position-banner",children:a?.vets?.requested?.specializationIds?.map(e=>e?.name).slice(0,1)}),(0,t.jsx)("p",{className:"vet-desc-banner",children:(0,m.LM)(a?.vets?.requested?.description,s)})]})]}),(0,t.jsx)("div",{className:"post_content",children:(0,l.A)((0,m.LM)(a?.vets?.requested?.content,s))})]})})})})})}},42690:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>N});var t=a(37876),l=a(31188),r=a(48230),i=a.n(r),n=a(55128),c=a(38469),d=a(278),o=a(15125),m=a(68202),h=a(12540),u=a(51930),g=a(75134),p=a(14232),x=a(19909),v=a(14776),j=a(37659),f=a(46153);let N=e=>{let{websiteData:s,page:a,sectionData:r,data:N}=e,{TriggerEvents:w}=(0,u.useCarterAnalytics)(),[b,C]=(0,p.useState)(""),[_,y]=(0,p.useState)(r?.results?.vets||N||[]),[E,S]=(0,p.useState)(!1),[A,L]=(0,p.useState)(0),I=r?.teamsMultiSitePrefetch,[T,k]=(0,p.useState)(I?.activeLocations??[]),[M,O]=(0,p.useState)(void 0===I),{multiSiteGroupChildren:P,loading:D}=(0,j.i5)(),G=(0,p.useMemo)(()=>s?.category===v.CategoryEnum.MultiWebsiteGroup||s?.category==="MULTI_WEBSITE_GROUP"||s?.isMultiSiteParent||s?.isMultiSiteChild,[s]),R=(0,p.useMemo)(()=>{if(!G)return[];let e=[],a=s?.isMultiSiteChild?s?.parent:s;return a&&e.push({_id:a._id||"parent",name:a.name||"All Locations",slug:a.slug||s?.parentSlug||s?.slug,isParent:!0}),(P?.results||[]).forEach(s=>{s?.slug!==a?.slug&&e.push({_id:s._id,name:s.name||s.slug,slug:s.slug,isParent:!1})}),e},[G,s,P]);(0,p.useEffect)(()=>{if(void 0!==I)return;if(!G||0===R.length){k([]),O(!1);return}let e=!0;return(async()=>{O(!0);try{let a=new d.A,t=R.map(async e=>{try{let t=await a.GetWebsiteEntityData({pagination:{page:1,limit:1},websiteIdOrSlug:e.slug,entityType:"vets",siteStatus:s?.status}),l=t?.results?.vets?.length>0;return{option:e,hasVets:l}}catch(s){return console.error("Error checking vets for location:",e.slug,s),{option:e,hasVets:!1}}}),l=await Promise.all(t);if(!e)return;let r=l.some(e=>e.option.isParent&&e.hasVets),i=l.filter(e=>!e.option.isParent&&e.hasVets).map(e=>e.option);if(0===i.length)k([]);else if(r){let e=R.find(e=>e.isParent);k([e,...i])}else k(i)}finally{e&&O(!1)}})(),()=>{e=!1}},[G,R,I,s?.status]);let q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"card",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"teams_page";w?.REGULAR_CLICK({type:s,event:a,id:e})},$=G&&R.length>1&&(M||T.length>1),B=$&&!M&&T.length>1;if(!s)return console.error("websiteData is required."),(0,t.jsx)("div",{children:"Error: websiteData is required."});if(!r)return console.error("sectionData is required."),(0,t.jsx)("div",{children:"Error: sectionData is required."});if(!a)return console.error("page is required."),(0,t.jsx)("div",{children:"Error: page is required."});let U=new d.A,W=(0,p.useCallback)(async e=>{try{S(!0);let a=await U.GetWebsiteEntityData({pagination:{page:1,limit:10,sort:{field:"priority",direction:"ASC"}},websiteIdOrSlug:e,entityType:"vets",siteStatus:s?.status});return a?.results?.vets||[]}catch(e){return console.error("Error fetching vets for location:",e),[]}finally{S(!1)}},[s?.status]);(0,p.useEffect)(()=>
1{if(!G||0===R.length||M)return;let e=sessionStorage.getItem("multiSiteTeamSlug"),s=R.find(e=>e.isParent),a=T.some(e=>e.isParent),t=()=>a?s?.slug||T[0]?.slug||"":T[0]?.slug||"",l=e=>{C(e);let t=e===s?.slug&&a;e&&!t&&W(e).then(e=>{y(e),L(e=>e+1)})};e?T.some(s=>s.slug===e)?l(e):(sessionStorage.removeItem("multiSiteTeamSlug"),l(t())):l(t())},[G,R,T,M,W]);let F=async e=>{C(e),sessionStorage.setItem("multiSiteTeamSlug",e),y(await W(e)),L(e=>e+1)},V=async e=>{try{let a=G&&b?b:s?._id,t=await U.GetWebsiteEntityData({pagination:{page:e,limit:10,sort:{field:"priority",direction:"ASC"}},websiteIdOrSlug:a,entityType:"vets",siteStatus:s?.status});return t?.results?.vets||[]}catch(e){return console.error("Error fetching vets:",e),[]}};return(0,t.jsx)("section",{className:"inner-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("div",{className:"inner_page-head full-width margin-0",children:(0,t.jsxs)("div",{className:`flex flex-col gap-4 mb-8 md:mb-14 lg:mb-20 ${$?"md:flex-row md:items-start md:justify-between":"md:flex-row md:items-center md:justify-center"}`,children:[(0,t.jsxs)("div",{className:`${$&&"max-w-3xl"}`,children:[(0,t.jsx)("h1",{className:`page-heading ${$?"text-left":"text-center"}`,children:(0,h.EJ)(N?.teams?.heading||"",n.N8?.COMMON_PAGE_SECTION?.TITLE)}),(0,t.jsx)("p",{className:`page-desc ${$?"text-left":"text-center"}`,children:(0,h.EJ)(N?.teams?.subHeading||"There are many variations of passages of Lorem Ipsum available, but the majority have suffered in some form, by injected humour.",n.N8?.COMMON_PAGE_SECTION?.DESC)})]}),$&&(0,t.jsxs)("div",{className:"dropdown-wrpr flex items-center justify-center flex-col gap-2",children:[M?(0,t.jsx)("div",{className:"min-w-[200px] w-full sm:w-auto h-10 rounded-md bg-gray-200 animate-pulse"}):B?(0,t.jsxs)(f.l6,{value:b,onValueChange:e=>F(e),disabled:E||D.isLoading,children:[(0,t.jsx)(f.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,t.jsx)(f.yv,{placeholder:"Select Location"})}),(0,t.jsx)(f.gC,{children:T.map(e=>(0,t.jsx)(f.eb,{value:e.slug,children:e.name},e._id))})]}):null,B&&(0,t.jsx)("p",{className:"page-desc sm:max-w-60",children:"The page will update based on the location selected."})]})]})}),E?(0,t.jsx)("div",{className:"teams-list",children:[1,2,3,4].map(e=>(0,t.jsxs)(l.Zp,{className:"blog-card",children:[(0,t.jsx)("div",{className:"blog-card_image",children:(0,t.jsx)("div",{className:"load-more w-full h-[400px]"})}),(0,t.jsx)("div",{className:"",children:(0,t.jsxs)("div",{className:"blog-card-content",children:[(0,t.jsx)("div",{className:"load-more h-6 w-3/4 mb-2"}),(0,t.jsx)("div",{className:"load-more h-4 w-1/2 mb-3"}),(0,t.jsx)("div",{className:"load-more h-4 w-full mb-1"}),(0,t.jsx)("div",{className:"load-more h-4 w-5/6 mb-1"}),(0,t.jsx)("div",{className:"load-more h-4 w-3/4"})]})})]},e))}):(0,t.jsx)(o.A,{wrapperClass:"teams-list",fetchData:V,initialData:_,renderItem:e=>(0,t.jsx)(i(),{href:(e=>{if(G&&b){let a=R.find(e=>e.slug===b);if(a&&!a.isParent){let a=s?.isMultiSiteChild?s?.parent?.slug:s?.slug,t=(0,n.WS)(s,x.Nb.TEAM_PAGE);return s?.status?.toLowerCase()==="published"&&s?.isProd?`/location/${b}/${t}/${e}`:`/website/${s?.status?.toLowerCase()||"draft"}/${a}/location/${b}/${t}/${e}`}}return m.W_.enrichRoute(s,(0,n.WS)(s,x.Nb.TEAM_PAGE),e)})(e?.slug),onClick:()=>q(e?.slug),className:"",children:(0,t.jsxs)(l.Zp,{className:"blog-card",children:[(0,t.jsx)("div",{className:"blog-card_image team-img",children:(0,t.jsx)(c.Ay,{src:e?.imageId?.fileUrl||g.A?.src,alt:e?.name||"",height:400,width:400,className:"",size:"small"})}),(0,t.jsx)("div",{className:"blog-card-content-wrpr",children:(0,t.jsxs)("div",{className:"blog-card-content",children:[(0,t.jsxs)("div",{className:"team-name-position",children:[(0,t.jsx)("h2",{className:"blog-card-title",children:(0,h.EJ)((0,h.I)(e?.name)||"",n.N8?.BLOG_CARD?.TITLE)}),(0,t.jsx)("h3",{className:"team-profile",children:e?.specializationIds?.map(e=>e?.name).join(", ")})]}),(0,t.jsx)("p",{className:"blog_desc",children:(0,h.LM)((0,h.EJ)(e?.description||"",n.N8?.BLOG_CARD?.DESC),s)})]})})]},e?._id||"")},e?._id),loadingIndicator:(0,t.jsxs)(l.Zp,{className:"blog-card",children:[(0,t.jsx)("div",{className:"blog-card_image",children:(0,t.jsx)("div",{className:"load-more w-full h-[400px]"})}),(0,t.jsx)("div",{className:"",children:(0,t.jsxs)("div",{className:"blog-card-content",children:[(0,t.jsx)("div",{className:"load-more h-6 w-3/4 mb-2"}),(0,t.jsx)("div",{className:"load-more h-4 w-1/2 mb-3"}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"load-more h-4 w-full mb-1"}),(0,t.jsx)("div",{className:"load-more h-4 w-5/6 mb-1"}),(0,t.jsx)("div",{className:"load-more h-4 w-3/4"})]})]})})]})},A)]})})}},49809:(e,s,a)=>{"use strict";a.d(s,{A:()=>p});var t=a(37876),l=a(55128),r=a(7427),i=a(38469),n=a(56580),c=a(12540),d=a(48230),o=a.n(d),m=a(51930),h=a(76500),u=a(14232),g=a(62969);function p(e){let{websiteData:s,data:a,newBlogs:d}=e,{TriggerEvents:p}=(0,m.useCarterAnalytics)(),[x,v]=(0,u.useState)(""),j=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"card",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"service_details";p?.REGULAR_CLICK({type:s,event:a,id:e})},f=(()=>{let e=s?.pagesAndSections;if(Array.isArray(e)){let s=e.find(e=>e?.name==="landing-page");return s?.sections?.["our-services-section"]?.data?.servicePricing}let a=e?.["landing-page"];return a?.sections?.["our-services-section"]?.data?.servicePricing})();return(0,u.useEffect)(()=>
1{if(!a?.services?.requested?.content)return;let e=new DOMParser().parseFromString(a.services.requested.content,"text/html");v(new XMLSerializer().serializeToString(e))},[a?.services?.requested?.content]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"details-banner bg-[var(--vis-primary)]",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"details-banner-row",children:[(0,t.jsx)("div",{className:"d_b-left",children:(0,t.jsxs)("div",{className:"d_b-content",children:[a?.services?.requested?.petsIdList?.length>0&&(0,t.jsx)("div",{className:"banner_tag",children:a?.services?.requested?.petsIdList?.map((e,s)=>(0,t.jsx)("p",{className:"banner-tag-item",children:e?.name},e?.name||s))}),(0,t.jsxs)("div",{className:"bnr-title-desc",children:[(0,t.jsx)("h1",{className:"details-page-title",children:a?.services?.requested?.name}),(0,t.jsx)("p",{className:"details-page-desc",children:(0,c.LM)((0,c.EJ)(a?.services?.requested?.description,l.N8?.DETAILS_PAGE?.SHORT_DESC),s)})]}),f?.enabled&&f?.pdfUrl&&(0,t.jsx)(o(),{href:f?.pdfUrl,target:"_blank",rel:"noopener noreferrer",className:"btn white-btn whitespace-nowrap shrink-0",onClick:()=>j("service_pricing","button","service_details"),children:f?.buttonText||"Service Pricing"})]})}),(0,t.jsx)("div",{className:"d_b-right",children:(0,t.jsx)("div",{className:"d_b-img",children:(0,t.jsx)(i.Ay,{src:a?.services?.requested?.featuredImage?.fileUrl||g.A?.src,alt:a?.services?.requested?.name,height:500,width:1e3,size:"large",className:"w-full h-full object-cover"})})})]})})}),(0,t.jsx)("section",{className:"details-section",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"post_details",children:(0,t.jsxs)("div",{className:"post-details-left flex flex-1",children:[(0,t.jsx)(h.A,{content:x,handleScrollTo:e=>{let s=document.getElementById(e);if(s){let e=s.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:e-100,behavior:"smooth"})}},onUpdateContent:v}),(0,t.jsx)("div",{className:"post_content w-full pl-0 lg:pl-12",children:(0,r.A)((0,c.LM)(x,s))})]})})})}),(0,t.jsx)(n.A,{onClick:j,newBlogs:d,websiteData:s})]})}},53247:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>v});var t=a(37876),l=a(55128),r=a(88016),i=a(68202),n=a(38469),c=a(69418),d=a(19909),o=a(12540),m=a(48230),h=a.n(m),u=a(14232);function g(e){let{serviceList:s,websiteData:a,selectedServiceData:r,handleDefaultSelection:m,selectedGroup:g,handleShowMore:p,onClick:x,hasMore:v}=e,[j,f]=(0,u.useState)(!1),N=async e=>{f(!0),await p(e),f(!1)};return(0,u.useEffect)(()=>{s&&s.length>0&&!r[g]&&m(g,s[0])},[s,r,g,m]),(0,t.jsxs)("div",{className:"flex flex-wrap mt-4",children:[(0,t.jsxs)("div",{className:"w-full md:w-[60%] xl:w-[55%] order-2 md:order-1",children:[(0,t.jsx)("div",{className:"service-card-wrpr flex flex-wrap -mx-3 lg:-mx-4",children:s?.map((e,s)=>(0,t.jsx)("div",{className:"service-card-col w-full sm:w-1/2 md:w-full lg:w-1/2 p-6 md:p-4 lg:p-4 max-w-[400px] md:max-w-full mx-auto md:m-0",children:(0,t.jsxs)("div",{className:`service-card w-full flex flex-col md:flex-row gap-2 md:gap-4 items-start rounded-lg md:p-2 cursor-pointer transition ${r[g]?.slug===e?.slug?"md:bg-[var(--vis-beige)] bg-white":"bg-white"}`,onClick:()=>m(g,e),children:[(0,t.jsx)("div",{className:"service-icon-wrpr hidden md:flex w-10 h-10 min-w-10 min-h-10 items-center justify-center p-1",children:(0,t.jsx)(c.d,{src:l.Lt[e?.iconId-1]?.image?.src,size:32,colorInherit:!1,className:"full-icon"})}),(0,t.jsx)("div",{className:"card-tab-block-img flex items-center justify-center md:hidden",children:(0,t.jsx)(n.Ay,{src:e?.featuredImage?.fileUrl,alt:e?.name,width:200,height:200})}),(0,t.jsxs)("div",{className:"service-card-text flex flex-col items-start justify-start py-0 md:py-2",children:[(0,t.jsx)("h2",{className:"card-title",children:e?.name}),(0,t.jsx)("div",{className:"card-desc",children:(0,o.EJ)((0,o.LM)(e?.description,a),l.N8?.SERVICE_LISTING_CARD?.DESC)})]}),(0,t.jsxs)(h(),{className:"card-link inline-flex items-center gap-1  md:hidden",href:i.W_.enrichRoute(a,(0,l.WS)(a,d.Nb.SERVICES_PAGE),r[g]?.slug),onClick:()=>x(r[g]?.slug),children:["Click for more detail",(0,t.jsx)("span",{className:"w-6 h-6 min-w-6 flex items-center justify-center ",children:(0,t.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",role:"presentation",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6.97969 6.00312C6.97969 6.13646 6.95885 6.26146 6.91719 6.37812C6.87552 6.49479 6.80469 6.60312 6.70469 6.70312L2.10469 11.3031C1.92135 11.4865 1.68802 11.5
1781 1.40469 11.5781C1.12135 11.5781 0.888021 11.4865 0.704687 11.3031C0.521354 11.1198 0.429687 10.8865 0.429687 10.6031C0.429687 10.3198 0.521354 10.0865 0.704687 9.90312L4.60469 6.00312L0.704687 2.10312C0.521354 1.91979 0.429687 1.68646 0.429687 1.40312C0.429687 1.11979 0.521354 0.886458 0.704687 0.703125C0.88802 0.519792 1.12135 0.428124 1.40469 0.428124C1.68802 0.428124 1.92135 0.519792 2.10469 0.703125L6.70469 5.30312C6.80469 5.40312 6.87552 5.51146 6.91719 5.62812C6.95885 5.74479 6.97969 5.86979 6.97969 6.00312Z",fill:"currentColor"})})})]})]})},s))}),j&&(0,t.jsx)("div",{className:"service-card-col w-full p-6 md:p-4 lg:p-4 mx-auto md:m-0",children:(0,t.jsxs)("div",{className:"service-card w-full flex flex-col md:flex-row gap-2 md:gap-4 items-start rounded-lg md:p-2",children:[(0,t.jsx)("div",{className:"service-icon-wrpr hidden md:flex w-10 h-10 min-w-10 min-h-10 load-more"}),(0,t.jsx)("div",{className:"card-tab-block-img flex items-center justify-center md:hidden w-20 h-20 load-more"}),(0,t.jsxs)("div",{className:"service-card-text flex flex-col items-start justify-start py-0 md:py-2 w-full",children:[(0,t.jsx)("div",{className:"w-32 h-5 mb-2 load-more"}),(0,t.jsx)("div",{className:"w-full h-4 load-more"}),(0,t.jsx)("div",{className:"w-3/4 h-4 mt-2 load-more"})]})]})}),v?.[g]&&(0,t.jsx)("div",{className:"service-card-col w-full md:w-full lg:w-1/2 p-6 md:p-4 lg:p-4 max-w-[400px] md:max-w-full",children:(0,t.jsx)("button",{className:"card-link inline-flex items-center gap-1",onClick:()=>N(g),disabled:j,children:j?"Loading...":"Load More Services"})})]}),r[g]&&(0,t.jsx)("div",{className:"w-full mb-4 lg:mb-0 md:w-[40%] xl:w-[45%] order-1 md:order-2 p-0 md:pl-5 lg:pl-[43px] hidden md:block",children:(0,t.jsxs)("div",{className:"card-tab-block h-auto rounded-2xl sticky top-36",children:[(0,t.jsx)("div",{className:"card-tab-block-img",children:(0,t.jsx)(n.Ay,{src:r[g]?.featuredImage?.fileUrl,alt:r[g]?.name,width:500,height:300})}),(0,t.jsxs)("div",{className:"p-4 md:p-6",children:[(0,t.jsx)("h3",{className:"card-heading",children:r[g]?.name}),(0,t.jsxs)("div",{className:"card-desc-2",children:[" ",(0,o.LM)((0,o.EJ)(r[g]?.description,l.N8?.DETAILS_PAGE?.SHORT_DESC),a)]}),(0,t.jsxs)(h(),{className:"card-link inline-flex items-center gap-1",href:i.W_.enrichRoute(a,(0,l.WS)(a,d.Nb.SERVICES_PAGE),r[g]?.slug),onClick:()=>x(r[g]?.slug),children:["Click for more detail",(0,t.jsx)("span",{className:"w-6 h-6 min-w-6 flex items-center justify-center ",children:(0,t.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",role:"presentation",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6.97969 6.00312C6.97969 6.13646 6.95885 6.26146 6.91719 6.37812C6.87552 6.49479 6.80469 6.60312 6.70469 6.70312L2.10469 11.3031C1.92135 11.4865 1.68802 11.5781 1.40469 11.5781C1.12135 11.5781 0.888021 11.4865 0.704687 11.3031C0.521354 11.1198 0.429687 10.8865 0.429687 10.6031C0.429687 10.3198 0.521354 10.0865 0.704687 9.90312L4.60469 6.00312L0.704687 2.10312C0.521354 1.91979 0.429687 1.68646 0.429687 1.40312C0.429687 1.11979 0.521354 0.886458 0.704687 0.703125C0.88802 0.519792 1.12135 0.428124 1.40469 0.428124C1.68802 0.428124 1.92135 0.519792 2.10469 0.703125L6.70469 5.30312C6.80469 5.40312 6.87552 5.51146 6.91719 5.62812C6.95885 5.74479 6.97969 5.86979 6.97969 6.00312Z",fill:"currentColor"})})})]})]})]})})]})}var p=a(4292),x=a(51930);let v=e=>{let{websiteData:s,data:a}=e,{serviceList:i,selectedServiceData:n,handleShowMore:c,handleDefaultSelection:m,hasMore:v,observerRef:j,isFetching:f}=(0,p.z)(s),N=s?.pagesAndSections?.find(e=>e?.name==="landing-page")?.sections?.[d.bP.OUR_SERVICES_SECTION]?.data?.services,[w,b]=(0,u.useState)("0"),[C,_]=(0,u.useState)(!1);(0,u.useEffect)(()=>{_(!0)},[]);let y=e=>{e&&e!==w&&b(e)},{TriggerEvents:E}=(0,x.useCarterAnalytics)(),S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"card",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"service_page";E?.REGULAR_CLICK({type:s,event:a,id:e})},A=(()=>{let e=s?.pagesAndSections;if(!e)return null;if(Array.isArray(e)){let s=e.find(e=>e?.name==="landing-page");return s?.sections?.["our-services-section"]?.data?.servicePricing}let a=e?.["landing-page"];return a?.sections?.["our-services-section"]?.data?.servicePricing})();return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("section",{className:"inner
1-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"inner_page-head",children:[(0,t.jsx)("h1",{className:"page-heading",children:(0,o.EJ)(a?.heading,l.N8?.COMMON_PAGE_SECTION?.TITLE)}),(0,t.jsxs)("p",{className:"page-desc",children:[" ",(0,o.EJ)(a?.subHeading||"Many pet owners only bring their pets to the vet during emergencies,\n                            but proactive, routine care is key to keeping pets healthy. Just like humans,\n                            pets benefit from regular check-ups to monitor their health, prevent diseases,\n                            and address any issues before they become serious.",l.N8?.COMMON_PAGE_SECTION?.DESC)]}),C&&A?.enabled&&A?.pdfUrl&&(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(h(),{href:A?.pdfUrl,target:"_blank",rel:"noopener noreferrer",className:"btn primary-btn",onClick:()=>S("service_pricing","button","service_page"),children:A?.buttonText||"Service Pricing"})})]}),(0,t.jsxs)("div",{className:"tabs-sections",children:[(0,t.jsx)("div",{className:"service-accordian",children:s?.category==="GENERAL_PURPOSE"?(0,t.jsx)(r.nD,{role:"region","aria-label":"Service categories accordion",type:"single",collapsible:!0,className:"w-full",defaultValue:"0",value:w,onValueChange:y,children:Object.keys(i||{}).map((e,a)=>(0,t.jsxs)(r.As,{className:"accord-card",value:`${a}`,children:[(0,t.jsx)(r.$m,{className:"acord-triger",role:"button","aria-controls":`GP-service-btn-${a}`,"aria-expanded":"false",children:N[e]?.name||(0,l.Zr)(e)}),(0,t.jsx)(r.ub,{id:`GP-service-${a}`,role:"region","aria-label":`GP service content ${(0,l.Zr)(e||"")}`,children:(0,t.jsx)(g,{onClick:S,websiteData:s,serviceList:i[e],selectedServiceData:n,handleDefaultSelection:m,handleShowMore:c,selectedGroup:e,hasMore:v})})]},e))}):(0,t.jsx)(r.nD,{role:"region","aria-label":"Service categories accordion",type:"single",collapsible:!0,className:"w-full",defaultValue:"0",value:w,onValueChange:y,children:Object.keys(i||{}).map((e,a)=>(0,t.jsxs)(r.As,{className:"accord-card",value:`${a}`,children:[(0,t.jsx)(r.$m,{className:`acord-triger ${"emergency"===e?"er-card":""}`,role:"button","aria-controls":`service-btn-${a}`,"aria-expanded":"false",children:N[e]?.name||(0,l.Zr)(e)}),(0,t.jsx)(r.ub,{id:`service-content-${a}`,role:"region","aria-label":`Service category content ${(0,l.Zr)(e||"")}`,children:(0,t.jsx)(g,{onClick:S,websiteData:s,serviceList:i[e],selectedServiceData:n,handleDefaultSelection:m,handleShowMore:c,selectedGroup:e,hasMore:v})})]},e))})}),f&&(0,t.jsx)("div",{className:"w-full p-4 text-center text-sm text-gray-500",children:"Loading..."}),(0,t.jsx)("div",{ref:j,style:{height:"1px"}})]})]})})})}},56580:(e,s,a)=>{"use strict";a.d(s,{A:()=>g});var t=a(37876),l=a(31188),r=a(48230),i=a.n(r),n=a(55128),c=a(38469),d=a(68202),o=a(82154),m=a(14232),h=a(19909),u=a(12540);function g(e){let{newBlogs:s,websiteData:a,onClick:r}=e;return(0,m.useMemo)(()=>(a?.pagesAndSections||[]).reduce((e,s)=>(s?.enabled&&(e[s.name]=!0),e),{}),[a?.pagesAndSections])[h.Nb.BLOGS_PAGE]&&s&&s?.length?(0,t.jsx)("section",{className:"common_pages",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"inner_page-head",children:[(0,t.jsx)("h2",{className:"page-heading",children:"Latest Blogs"}),(0,t.jsx)("p",{className:"page-desc",children:"Explore a collection of research-driven insights and professional perspectives crafted by leaders in pet health."})]}),(0,t.jsx)("div",{className:"blog-card-wrpr",children:s?.slice(0,3)?.map((e,s)=>(0,t.jsx)(i(),{href:d.W_.enrichRoute(a,(0,n.WS)(a,h.Nb.BLOGS_PAGE),e?.slug),onClick:()=>r?.(e?.slug),children:(0,t.jsxs)(l.Zp,{className:"blog-card",children:[(0,t.jsx)("div",{className:"blog-card_image",children:(0,t.jsx)(c.Ay,{src:e?.featuredImageId?.fileUrl||o.A?.src,alt:e?.title,height:400,width:400,className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"blog-card-content-wrpr",children:[(0,t.jsxs)("div",{className:"blog-card-content",children:[(0,t.jsx)("h3",{className:"blog-card-title",children:e?.title}),e?.tags?.length>0&&(0,t.jsx)("div",{className:"banner_tag",children:e?.tags?.slice(0,2)?.map((e,s)=>(0,t.jsx)("p",{className:"banner-tag-item",children:e?.name},s))}),(0,t.jsx)("p",{className:"blog_desc",children:(0,u.LM)(e?.description,a)})]}),(0,t.jsxs)("p",{className:"read_more",children:[(0,t.jsx)("span",{children:"Read More"}),(0,t.jsx)("span",{className:"read_more-arrow",children:(0,t.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",role:"presentation",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6.97969 6.00312C6.97969 6.13646 6.95885 6.26146 6.91719 6.37812C6.87552 6.49479 6.80469 6.60312 6.70469 6.70312L2.10469 11.3031C1.92135 11.4865 1.68802 11.5
1781 1.40469 11.5781C1.12135 11.5781 0.888021 11.4865 0.704687 11.3031C0.521354 11.1198 0.429687 10.8865 0.429687 10.6031C0.429687 10.3198 0.521354 10.0865 0.704687 9.90312L4.60469 6.00312L0.704687 2.10312C0.521354 1.91979 0.429687 1.68646 0.429687 1.40312C0.429687 1.11979 0.521354 0.886458 0.704687 0.703125C0.88802 0.519792 1.12135 0.428124 1.40469 0.428124C1.68802 0.428124 1.92135 0.519792 2.10469 0.703125L6.70469 5.30312C6.80469 5.40312 6.87552 5.51146 6.91719 5.62812C6.95885 5.74479 6.97969 5.86979 6.97969 6.00312Z",fill:"currentColor"})})})]})]})]})},`latest_blog_${s}`))})]})}):(0,t.jsx)(t.Fragment,{})}},57897:(e,s,a)=>{"use strict";a.r(s),a.d(s,{RouteEventTracker:()=>f,default:()=>N});var t=a(37876);a(10094),a(95481);var l=a(4361),r=a.n(l),i=a(14232),n=a(72323),c=a.n(n);a(85152);var d=a(89099),o=a.n(d),m=a(24722),h=a(18847),u=a.n(h),g=a(45105),p=a.n(g),x=a(65364);let v=u()(()=>Promise.resolve().then(a.bind(a,51930)),{loadableGenerated:{webpack:()=>[51930]},ssr:!1});function j(e){let{Component:s,pageProps:a,ONE_TRUST_SCRIPT_ID:l}=e,r=s.getLayout||(e=>e);return(0,i.useEffect)(()=>{let e=()=>{document.fonts&&document.fonts.ready?document.fonts.ready.then(()=>{document.documentElement.classList.add("fonts-loaded")}):setTimeout(()=>{document.documentElement.classList.add("fonts-loaded")},300)};return"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e(),()=>{document.removeEventListener("DOMContentLoaded",e)}},[]),(0,i.useEffect)(()=>{let e=window.onerror,s=window.onunhandledrejection;return window.onerror=function(s,a,t,l,r){return"string"==typeof s&&(s.includes("Cannot redefine property")||s.includes("OtAutoBlock")||s.includes("defineProperties"))?(console.warn("[OneTrust] Suppressed property redefinition error:",s),!0):!!e&&e.call(window,s,a,t,l,r)},window.onunhandledrejection=function(e){if(e.reason?.message?.includes("Cannot redefine property")||e.reason?.message?.includes("OtAutoBlock")){console.warn("[OneTrust] Suppressed unhandled rejection:",e.reason.message),e.preventDefault();return}if(s)return s.call(window,e)},()=>{window.onerror=e,window.onunhandledrejection=s}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p(),{id:"performance-observer",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:`
2                        // Defer performance monitoring to idle time
3                        if ('requestIdleCallback' in window) {
4                            requestIdleCallback(() => {
5                                if ('PerformanceObserver' in window) {
6                                    const observer = new PerformanceObserver((list) => {
7                                        for (const entry of list.getEntries()) {
8                                            if (entry.entryType === 'largest-contentful-paint') {
9                                                console.log('LCP:', entry.startTime);
10                                            }
11                                        }
12                                    });
13                                    observer.observe({ entryTypes: ['largest-contentful-paint'] });
14                                }
15                            });
16                        }
17                    `}}),(0,t.jsx)(p(),{id:"analytics",strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:`
18                        // Load analytics after main content
19                        console.log('Analytics loaded');
20                    `}}),(0,t.jsx)(v,{}),r((0,t.jsx)(s,{...a}))]})}function f(e){let{children:s}=e;return(0,i.useEffect)(()=>{c().configure({showSpinner:!1});let e=()=>c().start(),s=()=>{c().done()};return o().events.on("routeChangeStart",e),o().events.on("routeChangeComplete",s),o().events.on("routeChangeError",s),()=>{o().events.off("routeChangeStart",e),o().events.off("routeChangeComplete",s),o().events.off("routeChangeError",s)}},[]),(0,m.X)(),(0,t.jsx)(t.Fragment,{children:s})}j.getInitialProps=async e=>{let s=await r().getInitialProps(e);e.res&&e.res.setHeader("Cache-Control","no-cache, must-revalidate");let a=x.env.ONE_TRUST_SCRIPT_ID;return{...s,ONE_TRUST_SCRIPT_ID:a}};let N=j},78801:(e,s,a)=>{"use strict";a.d(s,{A:()=>h});var t=a(37876),l=a(55128),r=a(7427),i=a(56580),n=a(10206),c=a(94110),d=a(12540),o=a(51930),m=a(92720);function h(e){let{websiteData:s,data:a,newBlogs:h}=e,{videos:u}=a,g=u?.requested?.videoAssetId?.fileUrl,{TriggerEvents:p}=(0,o.useCarterAnalytics)(),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"card",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"video_details";p?.REGULAR_CLICK({type:s,event:a,id:e})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"details-banner gray-bg",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"details-banner-row",children:[(0,t.jsx)("div",{className:"d_b-left",children:(0,t.jsxs)("div",{className:"d_b-content",children:[(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("h1",{className:"details-page-title primary",children:u?.requested?.title}),(0,t.jsx)("p",{className:"details-page-desc primary",children:(0,d.LM)((0,d.EJ)(u?.requested?.description,l.N8?.DETAILS_PAGE?.SHORT_DESC),s)})]}),u?.requested?.tags?.length>0&&(0,t.jsx)("div",{className:"banner_tag",children:u?.requested?.tags?.map((e,s)=>(0,t.jsx)("p",{className:"banner-tag-item",children:e?.name},`video_requested_${s}`))}),(0,t.jsxs)("div",{className:"author-card",children:[(0,t.jsx)("div",{className:"author-img-wrpr border-color",children:(0,t.jsx)(m._,{name:u?.requested?.author?.name||s?.name,imageSize:"medium",className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"author-content-wrpr",children:[(0,t.jsx)("p",{className:"author-name",children:u?.requested?.author?.name||s?.name}),(0,t.jsxs)("div",{className:"time-date-wrpr",children:[(0,t.jsx)("p",{className:"read-time",children:(0,l.ep)(u?.requested?.content)||""}),(0,t.jsx)("span",{className:"dot-separator"}),(0,t.jsx)("p",{className:"uploaded-date",children:(0,l.fF)(u?.requested?.updatedAt)||""})]})]})]})]})}),(0,t.jsx)("div",{className:"d_b-right",children:(0,t.jsx)("div",{className:"d_b-video",children:(0,c.isVideoFile)(g)?(0,t.jsxs)("video",{className:"video-player",width:"100%",height:"229.3",controls:!0,children:[(0,t.jsx)("source",{src:g}),"Your browser does not support the video tag."]}):(0,t.jsx)("iframe",{width:"100%",height:"440",src:(0,d.x1)(u?.requested?.videoAssetId?.fileUrl),title:u?.requested?.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"})})})]})})}),(0,t.jsx)("section",{className:"common_pages_details",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"post_details",children:[(0,t.jsx)("div",{className:"post-details-left",children:(0,t.jsx)("div",{className:"post_content",children:(0,r.A)((0,d.LM)(u?.requested?.content,s))})}),(0,t.jsx)("div",{className:"detail-page-sidebar",children:!!(u?.related&&u?.related?.length)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"sidebar-title",children:"Related Videos"}),(0,t.jsx)(n.A,{onClick:x,relatedData:u?.related,websiteData:s,contentType:"videos"})]})})]})})}),(0,t.jsx)(i.A,{newBlogs:h,websiteData:s,onClick:x})]})}},94110:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>N,isVideoFile:()=>f});var t=a(37876),l=a(31188),r=a(48230),i=a.n(r),n=a(55128),c=a(278),d=a(15125),o=a(68202),m=a(12540),h=a(51930),u=a(67514),g=a(71731),p=a(14232),x=a(29164),v=a(89099),j=a(19909);function f(e){return!!e&&RegExp("\\.(mp4|mov|webm|ogg|avi|flv|wmv|mkv|m4v|3gp|3g2|f4v|f4p|f4a|f4b)$","i").test(e)}let N=e=>{let{websiteData:s,sectionData:a,page:r,filters:f}=e,{TriggerEvents:N}=(0,h.useCarterAnalytics)(),[w,b]=(0,p.useState)(null),[C,_]=(0,p.useState)(f.search||""),[y,E]=(0,p.useState)(f.sort||""),[S,A]=(0,p.useState)([]),L=(0,v.useRouter)(),I=e=>!!e&&/^(https?:\/\/)?(www\.)?(vimeo\.com|player\.vimeo\.com)\/.+$/.test(e),T=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"card",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"video_page";N?.REGULAR_CLICK({type:s,event:a,id:e})},k=s?.pagesAndSections?.find(e=>e?.name===r?.name)?.sections?.["video-section"]||{};(0,p.useEffect)(()=>{E(f.sort||""),_(f.search||"")},[f]),(0,p.useEffect)(()=>{A(a?.results?.videos||[])},[a]);let M=new c.A,O=async function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y,l={...L.query};a.length?l.search=a.toString():delete l.search,t.length?l.sort=t.toString():delete l.sort,L.replace({pathname:L.pathname,query:l},void 0,{shallow:!0});try{let[l,r]=(t||"").split("_"),i=await M.GetWebsiteEntityData({pagination:{page:e,limit:10,sort:l?{direction:r||"DESC",field:l||"updatedAt"}:void 0,filters:{AND:{conditions:[{field:"title",operator:"CONTAINS",value:a}]}}},websiteIdOrSlug:s?._id,entityType:"videos",siteStatus:n.uO[s?.status]||"DRAFT"});return i?.results?.videos||[]}catch(e){return console.error("Error fetching videos:",e),[]}},P=(0,x.A)(async(e,s)=>{A(await O(e,s)||[])},[r]),D=()=>{b(null)},G=async e=>{E(e),A(await O(1,C,e)||[]),D()};
20return(0,t.jsx)("section",{className:"inner-banner py-[50px] lg:py-[60px] xl:py-20",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-end lg:gap-[180px] md:gap-10",children:[(0,t.jsxs)("div",{className:"inner_page-head",children:[(0,t.jsx)("h1",{className:"page-heading text-left",children:(0,m.EJ)(k?.data?.video?.heading,n.N8?.COMMON_PAGE_SECTION?.TITLE)}),(0,t.jsx)("p",{className:"page-desc text-left",children:(0,m.EJ)(k?.data?.video?.description,n.N8?.COMMON_PAGE_SECTION?.DESC)})]}),(0,t.jsxs)("div",{className:"blog-search-wrpr",children:[(0,t.jsxs)("div",{className:"blog-search",children:[(0,t.jsx)(u.p,{placeholder:"Search",onChange:e=>{_(e.target.value),P(1,e.target.value)},value:C,className:"blog-search-input"}),(0,t.jsx)("div",{className:"absolute top-2 bottom-2 right-4",children:C?(0,t.jsx)("span",{className:"cursor-pointer",onClick:()=>{_(""),P(1,"")},children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"#003459",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-x-icon lucide-x",children:[(0,t.jsx)("path",{d:"M18 6 6 18"}),(0,t.jsx)("path",{d:"m6 6 12 12"})]})}):(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M9.5 16C7.68333 16 6.14583 15.3708 4.8875 14.1125C3.62917 12.8542 3 11.3167 3 9.5C3 7.68333 3.62917 6.14583 4.8875 4.8875C6.14583 3.62917 7.68333 3 9.5 3C11.3167 3 12.8542 3.62917 14.1125 4.8875C15.3708 6.14583 16 7.68333 16 9.5C16 10.2333 15.8833 10.925 15.65 11.575C15.4167 12.225 15.1 12.8 14.7 13.3L20.3 18.9C20.4833 19.0833 20.575 19.3167 20.575 19.6C20.575 19.8833 20.4833 20.1167 20.3 20.3C20.1167 20.4833 19.8833 20.575 19.6 20.575C19.3167 20.575 19.0833 20.4833 18.9 20.3L13.3 14.7C12.8 15.1 12.225 15.4167 11.575 15.65C10.925 15.8833 10.2333 16 9.5 16ZM9.5 14C10.75 14 11.8125 13.5625 12.6875 12.6875C13.5625 11.8125 14 10.75 14 9.5C14 8.25 13.5625 7.1875 12.6875 6.3125C11.8125 5.4375 10.75 5 9.5 5C8.25 5 7.1875 5.4375 6.3125 6.3125C5.4375 7.1875 5 8.25 5 9.5C5 10.75 5.4375 11.8125 6.3125 12.6875C7.1875 13.5625 8.25 14 9.5 14Z",fill:"#003459"})})})]}),(0,t.jsxs)("div",{className:"blog-filter",children:[(0,t.jsx)(g.G,{buttonLabel:(0,t.jsx)(t.Fragment,{children:"Filters"}),options:[{label:(0,t.jsx)("div",{onClick:()=>G("updatedAt_DESC"),children:"Recently Updated"})},{label:(0,t.jsx)("div",{onClick:()=>G("slug_ASC"),children:"Alphabet a-z"})},{label:(0,t.jsx)("div",{onClick:()=>G("slug_DESC"),children:"Alphabet z-a"})}],isOpen:w,onToggle:()=>(e=>{b(s=>s===e?null:e)})(1),onClose:D}),(0,t.jsx)("div",{className:"absolute top-2 bottom-2-2 right-4",children:(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M10.9972 20C10.7138 20 10.4763 19.9042 10.2847 19.7125C10.093 19.5208 9.99715 19.2833 9.99715 19V13L4.19715 5.6C3.94715 5.26667 3.90965 4.91667 4.08465 4.55C4.25965 4.18333 4.56382 4 4.99715 4H18.9972C19.4305 4 19.7347 4.18333 19.9097 4.55C20.0847 4.91667 20.0472 5.26667 19.7972 5.6L13.9972 13V19C13.9972 19.2833 13.9013 19.5208 13.7097 19.7125C13.518 19.9042 13.2805 20 12.9972 20H10.9972ZM11.9972 12.3L16.9472 6H7.04715L11.9972 12.3Z",fill:"#003459"})})})]})]})]}),(0,t.jsx)(d.A,{fetchData:O,initialData:S,renderItem:e=>{let a=e?.videoAssetId?.fileUrl||"",r=(e=>{if(e.includes("/embed/"))return e;if(e.includes("watch?v="))return e.replace("watch?v=","embed/");if(e.includes("youtu.be/")){let s=e.split("youtu.be/")[1].split("?")[0];return`https://www.youtube.com/embed/${s}`}return e})(a);return(0,t.jsx)(i(),{href:o.W_.enrichRoute(s,(0,n.WS)(s,j.Nb.VIDEO_PAGE),e?.slug),onClick:()=>T(e?.slug),children:(0,t.jsxs)(l.Zp,{className:"blog-card",children:[(0,t.jsx)("div",{className:"blog-card_image",children:(e=>(e=>!!e&&/^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.?be)\/.+$/.test(e))(e)||I(e))(a)?(0,t.jsx)("iframe",{className:"video-iframe",width:"100%",height:"229.3",src:r,title:"Video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"}):I(a)?(0,t.jsx)("iframe",{width:"100%",height:"229.3",src:r,title:"Vimeo video player",frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,className:"video-iframe"},r):(0,t.jsxs)("video",{className:"video-player",width:"100%",height:"229.3",controls:!0,children:[(0,t.jsx)("source",{src:a}),"Your browser does not support the video tag."]})}),(0,t.jsx)("div",{className:"blog-card-content-wrpr",children:(0,t.jsxs)("div",{className:"blog-card-content",children:[(0,t.jsx)("h2",{className:"blog-card-title",children:(0,m.EJ)(e?.title||"",n.N8?.BLOG_CARD?.TITLE)}),e?.tags?.length>0&&(0,t.jsx)("div",{className:"banner_tag",children:e?.tags?.slice(0,2)?.map((e,s)=>(0,t.jsx)("p",{className:"banner-tag-item",children:e?.name},s))}),(0,t.jsx)("div",{className:"blog_desc",children:(0,m.LM)((0,m.EJ)(e?.description||"",n.N8?.BLOG_CARD?.DESC),s)})]})}),(0,t.jsxs)("p",{className:"read_more",children:[(0,t.jsx)("span",{children:"Read More"}),(0,t.jsx)("span",{className:"read_more-arrow",children:(0,t.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6.97969 6.00312C6.97969 6.13646 6.95885 6.26146 6.91719 6.37812C6.87552 6.49479 6.80469 6.60312 6.70469 6.70312L2.10469 11.3031C1.92135 11.4865 1.68802 11.5
20781 1.40469 11.5781C1.12135 11.5781 0.888021 11.4865 0.704687 11.3031C0.521354 11.1198 0.429687 10.8865 0.429687 10.6031C0.429687 10.3198 0.521354 10.0865 0.704687 9.90312L4.60469 6.00312L0.704687 2.10312C0.521354 1.91979 0.429687 1.68646 0.429687 1.40312C0.429687 1.11979 0.521354 0.886458 0.704687 0.703125C0.88802 0.519792 1.12135 0.428124 1.40469 0.428124C1.68802 0.428124 1.92135 0.519792 2.10469 0.703125L6.70469 5.30312C6.80469 5.40312 6.87552 5.51146 6.91719 5.62812C6.95885 5.74479 6.97969 5.86979 6.97969 6.00312Z",fill:"currentColor"})})})]})]},e?._id)},e?._id)},loadingIndicator:(0,t.jsxs)(l.Zp,{className:"blog-card",children:[(0,t.jsx)("div",{className:"blog-card_image",children:(0,t.jsx)("div",{className:"load-more w-full h-[400px]"})}),(0,t.jsx)("div",{className:"",children:(0,t.jsxs)("div",{className:"blog-card-content",children:[(0,t.jsx)("div",{className:"load-more h-6 w-3/4 mb-2"}),(0,t.jsx)("div",{className:"load-more h-4 w-1/2 mb-3"}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"load-more h-4 w-full mb-1"}),(0,t.jsx)("div",{className:"load-more h-4 w-5/6 mb-1"}),(0,t.jsx)("div",{className:"load-more h-4 w-3/4"})]})]})})]})},`${JSON.stringify(S)}`)]})})}}}]);

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.