PageSourceSearch

https://basepaws.com/_next/static/chunks/1494.66a1fd7c5ec9d815.js

js basepaws.com collected 2026-10-02 03:40:43 UTC 7,122 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="7e67cb4a-1354-41cf-a310-5d64691562fe",e._sentryDebugIdIdentifier="sentry-dbid-7e67cb4a-1354-41cf-a310-5d64691562fe")}catch(e){}}();var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};"use strict";e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:basepaws-3rd-party-filter-key":!0}),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1494],{91494:function(e,i,s){s.r(i),s.d(i,{MediaSection:function(){return MediaSection}});var l=s(85893),d=s(67294),n=s(73696),a=s(3081),t=s(19353),c=s(25675),r=s.n(c);let ReviewCard=e=>{var i,s,d,n,a,c,o,v,u,m,h;let{review:_,index:p,isActive:w,isTruncated:f,onClick:x,type:j,textRef:N}=e;return(0,l.jsxs)("article",{className:"media-section__review media-review ".concat(w?"is-opened":""),children:["Media Block"===j&&!!(null==_?void 0:null===(n=_.fields)||void 0===n?void 0:null===(d=n.icon)||void 0===d?void 0:null===(s=d.fields)||void 0===s?void 0:null===(i=s.file)||void 0===i?void 0:i.url)&&(0,l.jsx)("div",{className:"media-review__top",children:(0,l.jsx)(r(),{className:"media-review__logo",src:"https:".concat(_.fields.icon.fields.file.url),width:"90",height:"16",loading:"lazy",alt:"Logo"})}),!!(null==_?void 0:null===(a=_.fields)||void 0===a?void 0:a.quote)&&(0,l.jsx)("div",{className:"media-review__review rte",ref:N,children:(0,l.jsx)(t.$,{richTextCpt:_.fields.quote})}),(0,l.jsxs)("div",{className:"media-review__bottom",children:[f&&(0,l.jsx)("button",{className:"media-review__btn btn-link btn--primary-link",type:"button",onClick:()=>x(p),children:(0,l.jsx)("span",{className:"btn-link__text",children:w?"Learn Less":"Learn More"})}),(0,l.jsxs)("div",{className:"media-review__customer customer-details",children:[("Vet Block"===j||"Vet Horizontal Swiper Block"===j)&&!!(null==_?void 0:null===(u=_.fields)||void 0===u?void 0:null===(v=u.icon)||void 0===v?void 0:null===(o=v.fields)||void 0===o?void 0:null===(c=o.file)||void 0===c?void 0:c.url)&&(0,l.jsx)("div",{className:"customer-details__img-wrap",children:(0,l.jsx)(r(),{className:"customer-details__img",src:"https:".concat(_.fields.icon.fields.file.url),width:"48",height:"48",loading:"lazy",alt:"Image"})}),(0,l.jsxs)("div",{className:"customer-details__details",children:[!!(null==_?void 0:null===(m=_.fields)||void 0===m?void 0:m.username)&&(0,l.jsx)("div",{className:"customer-details__title",children:_.fields.username}),!!(null==_?void 0:null===(h=_.fields)||void 0===h?void 0:h.roleOrDescription)&&(0,l.jsx)("div",{className:"customer-details__desc",children:_.fields.roleOrDescription})]})]})]})]})};var o=s(58902);let MediaSection=e=>{var i,s,c,r,v,u,m,h,_;let{data:p}=e,w=null==p?void 0:p.fields,[f,x]=(0,d.useState)(!1),[j,N]=(0,d.useState)(null),[g,y]=(0,d.useState)([]),b=(0,d.useRef)([]),[k,C]=(0,d.useState)(!1);(0,d.useEffect)(()=>{C(!0)},[]),(0,d.useEffect)(()=>{let e=b.current.map(e=>!!e&&e.scrollHeight>e.clientHeight);y(e)},[w.swiper]);let handleClick=e=>{N(i=>i===e?null:e)};if((0,d.useEffect)(()=>{let handleResize=()=>{x(window.innerWidth<=767)};return handleResize(),window.addEventListener("resize",handleResize),()=>window.removeEventListener("resize",handleResize)},[]),(null==w?void 0:w.type)!=="Media Block"&&(null==w?void 0:w.type)!=="Vet Block"&&(null==w?void 0:w.type)!=="Vet Horizontal Swiper Block")return null;let renderReviewCard=(e,i)=>(0,l.jsx)(ReviewCard,{review:e,index:i,isActive:j===i,isTruncated:g[i],onClick:handleClick,type:w.type,textRef:e=>b.current[i]=e});return(null==w?void 0:w.type)==="Vet Horizontal Swiper Block"?(0,l.jsx)("section",{className:"media-section section media-section--carousel",children:(0,l.jsx)("div",{className:"container-fluid",children:(0,l.jsxs)("div",{className:"media-section__main",children:[(0,l.jsx)("div",{className:"media-section__col",children:(0,l.jsxs)("div",{className:"section__header section-header text-center",children:[!!(null==w?void 0:w.tag)&&(0,l.jsx)("span",{className:"section-header__caption section-caption",children:w.tag}),!!(null==w?void 0:w.headline)&&(0,l.jsx)("h2",{className:"section-header__heading section-heading",children:w.headline}),!!(null==w?void 0:w.lead)&&(0,l.jsx)("div",{className:"section-header__desc rte",children:(0,l.jsx)(t.$,{richTextCpt:null==w?void 0:null===(c=w.lead)||void 0===c?void 0:c.content[0]})}),!!(null==w?void 0:null===(v=w.cta)||void 0===v?void 0:null===(r=v.sys)||void 0===r?void 0:r.id)&&
1(0,l.jsx)(o.p,{className:"section-header__more btn",linkId:w.cta.sys.id,children:null==w?void 0:null===(m=w.cta)||void 0===m?void 0:null===(u=m.fields)||void 0===u?void 0:u.displayText})]})}),(0,l.jsx)("div",{className:"media-section__col",children:!k&&(null==w?void 0:null===(h=w.swiper)||void 0===h?void 0:h.length)?(0,l.jsx)("div",{className:"media-section__pseudo-carousel",children:w.swiper.slice(0,3).map((e,i)=>(0,l.jsx)(d.Fragment,{children:renderReviewCard(e,i)},i))}):!!(null==w?void 0:null===(_=w.swiper)||void 0===_?void 0:_.length)&&(0,l.jsx)(n.tq,{className:"media-section__carousel",modules:[a.W_],navigation:!0,watchSlidesProgress:!0,spaceBetween:16,slidesPerView:1.33,breakpoints:{480:{slidesPerView:1.8},576:{slidesPerView:2.33},768:{slidesPerView:3},992:{slidesPerView:3,spaceBetween:24}},children:w.swiper.map((e,i)=>(0,l.jsx)(n.o5,{className:"media-section__slide",children:renderReviewCard(e,i)},i))})})]})})}):(0,l.jsx)("section",{className:"media-section section",children:(0,l.jsx)("div",{className:"container-fluid",children:(0,l.jsxs)("div",{className:"media-section__main",children:[(0,l.jsx)("div",{className:"media-section__col",children:(0,l.jsxs)("div",{className:"section__header section-header",children:[!!(null==w?void 0:w.tag)&&(0,l.jsx)("span",{className:"section-header__caption section-caption",children:w.tag}),!!(null==w?void 0:w.headline)&&(0,l.jsx)("h2",{className:"section-header__heading section-heading",children:w.headline}),!!(null==w?void 0:w.lead)&&(0,l.jsx)("div",{className:"section-header__desc rte",children:(0,l.jsx)(t.$,{richTextCpt:null==w?void 0:null===(i=w.lead)||void 0===i?void 0:i.content[0]})})]})}),!!(null==w?void 0:null===(s=w.swiper)||void 0===s?void 0:s.length)&&(0,l.jsx)("div",{className:"media-section__col",children:f?k?(0,l.jsx)(n.tq,{className:"media-section__carousel",spaceBetween:16,slidesPerView:1.33,breakpoints:{480:{slidesPerView:1.8},576:{slidesPerView:2.33}},children:w.swiper.map((e,i)=>(0,l.jsx)(n.o5,{className:"media-section__slide",children:renderReviewCard(e,i)},"slide-".concat(i)))}):(0,l.jsx)("div",{className:"media-section__pseudo-carousel",children:w.swiper.slice(0,3).map((e,i)=>(0,l.jsx)(d.Fragment,{children:renderReviewCard(e,i)},"slide-".concat(i)))}):(0,l.jsx)(l.Fragment,{children:w.swiper.map((e,i)=>(0,l.jsx)(d.Fragment,{children:renderReviewCard(e,i)},i))})})]})})})}}}]);

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.