PageSourceSearch

https://www.machinerypartner.com/_next/static/chunks/7f03f2c47594a889.js?dpl=dpl_DKRexqwD64Yg4R9stacVU1Zvg8Nt

js machinerypartner.com collected 2026-10-02 15:16:39 UTC 1,957 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,40666,e=>{"use strict";var t=e.i(843476),a=e.i(123083),l=e.i(378566),r=e.i(271645);e.s(["ProductCarouselWrapper",0,({value:s,preloadedProducts:c,handleCTAProductModal:i})=>{let{captureEvent:u}=(0,a.useEvents)(),[o,d]=(0,r.useState)(!c),[n,b]=(0,r.useState)(c||[]),[A,k]=(0,r.useState)(null),p=(0,r.useMemo)(()=>s.carouselType||s.type||"bestSellers",[s.carouselType,s.type]);(0,r.useEffect)(()=>{async function t(){try{d(!0);let{fetchSanityModelCarousel:t}=await e.A(570674),a=await t({limit:12,sortBy:"newArrivals"===p?"updatedAt":"createdAt"});b(Array.isArray(a)?a:[])}catch(e){console.error("Error loading models:",e),k("Failed to load product data"),b([])}finally{d(!1)}}c&&"newArrivals"!==p&&"deals"!==p||t()},[p,c]);let h=s.cta?.link||"/search";return("deals"!==p||s.cta?.link?"newArrivals"!==p||s.cta?.link||(h="/search?sortBy=ARRIVAL_DATE&sortDirection=desc"):h="/deals",o)?(0,t.jsx)(l.ProductCarouselSerializer,{value:{...s,title:s.title||"Featured Products",subtitle:s.subtitle||"",ctaLabel:s.cta?.label||"See All",ctaLink:h,models:[],background:s.hasBackground||!1,isLoading:!0,handleCTAProductModal:i}}):A?(0,t.jsx)(l.ProductCarouselSerializer,{value:{title:s.title||"Featured Products",subtitle:s.subtitle||"",ctaLabel:s.cta?.label||"See All",ctaLink:h,models:[],background:s.hasBackground||!1,error:A,handleCTAProductModal:i}}):(0,t.jsx)(l.ProductCarouselSerializer,{value:{title:s.title||"Featured Products",subtitle:s.subtitle||"",ctaLabel:s.cta?.label||"See All",ctaLink:h,models:n,background:s.hasBackground||!1,handleCTAProductModal:e=>{u({eventName:"product-carousel:cta-click",properties:{ctaLabel:s.cta?.label||"See All",carouselType:p}}),i(e)}}})}])},982941,e=>{e.n(e.i(40666))},570674,e=>{e.v(t=>Promise.all(["static/chunks/b75e88676a94f7af.js","static/chunks/4a386e2701e53632.js"].map(t=>e.l(t))).then(()=>t(677297)))}]);

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.