PageSourceSearch

https://www.royalcanin.com/_next/static/chunks/591.7d2735cb44fc7a16.js

js royalcanin.com collected 2026-09-24 17:10:18 UTC 5,546 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[591],{13591:(l,e,i)=>{i.r(e),i.d(e,{RC_PRODUCT_CARD_CAROUSEL_FEATURE_FLAG:()=>w,default:()=>k});var o=i(62148),a=i(97572),t=i(94024),r=i(79937),d=i(1629),n=i(93700),u=i(86828),c=i(30184),v=i(74344),s=i(41756),p=i(25532),m=i(47280),g=i(34198),_=i(31141),b=i(14169),h=i(88390);const w="rcProductCardCarousel",k=l=>{let{products:e,globalSettings:{Next:{value:i},Previous:{value:k},InStockLabel:C,OutOfStockLabel:P,FromAbovePriceLabel:y,FromBelowPriceLabel:S},Title:x,ButtonText:A,ShowProductRangeBlock:{value:f=!1},ProductRangeDescription:I,ProductRangeImage:L,ProductRangeImageAlt:R,ProductRangeLink:j,ShowProductPriceOnProductCard:T,ShowStockInformationOnProductCard:O,buttonStyle:z}=l;const{language:E,countryCode:U,isD2CEnabled:q=!1,locale:D,pageEditing:F,overrideCurrencySignInPrices:N,displayOverriddenCurrencySignAfterPrices:M}=(0,n.n0)(),{asPath:B}=(0,d.useRouter)(),{isTablet:V}=(0,u.Ww)(),{isRenaissanceEnabled:G}=(0,s.Si)(),{isFeatureEnabled:$}=(0,p.h)(),Q=$(w),W=(0,t.useMemo)(()=>(0,v.$_)(E,U,B),[U,E,B]),H=(f||V)&&(null==e?void 0:e.length)>3||(null==e?void 0:e.length)>4;return(0,o.jsx)(c.FN,{carouselType:"Product",title:x,showMainCard:f,mainCardImage:L,mainCardImageAlt:R,mainCardDescription:I,mainCardLink:j,nextSlideMessage:i,prevSlideMessage:k,showNavigation:H,children:e.map(l=>{var e;const i=(l=>l.species&&l.product_pillar&&l.world_wide_main_item&&l.product_title_url?(0,v.tj)({locale:W.replaceAll(/^\//g,"")||"",specieCode:l.species[0].code,productType:l.product_pillar[0].code,productName:l.product_title_url,productId:l.world_wide_main_item,productVariation:l.variation}):"")(l);if(Q){var t;const e=G?l.d2c_ecommerce:l.d2c,j=null==e?void 0:e.starting_price,E=null==e?void 0:e.currency,U=!!(null==e?void 0:e.in_stock),B=(0,a.V7)(q,e,l.packs,G),V=!!(null==T?void 0:T.value)&&B&&null!=j,$=!!(null==O?void 0:O.value)&&B;var d;const Q=V?(0,v.$g)(j,null!==(d=null==D?void 0:D.replace("_","-"))&&void 0!==d?d:"en-US",null!=E?E:"",N,null!=M&&M):"";var n,u;const W=U?null!==(n=null==C?void 0:C.value)&&void 0!==n?n:"":null!==(u=null==P?void 0:P.value)&&void 0!==u?u:"",H=U?"available":"unavailable";var s,p,w,k,f,I,L,R;return(0,o.jsx)(r.qr,{children:(0,o.jsx)(g.v,{children:(0,o.jsxs)(_.R,{variant:"mobile-carousel",size:"mobile",title:null!==(s=l.product_title)&&void 0!==s?s:"",actionButtonLabel:null!==(p=null==A?void 0:A.value)&&void 0!==p?p:"",stockLabel:$?W:"",stockStatus:$?H:void 0,stockVariant:"small",clickable:!0,buttonOverlayAriaLabel:null!==(w=l.product_title)&&void 0!==w?w:"","data-qa":"product-carousel-product-card",children:[(0,o.jsx)("a",{slot:"rc-product-card-clickable-overlay",href:F?void 0:i,tabIndex:-1,"aria-label":null!==(k=l.product_title)&&void 0!==k?k:"","data-qa":"product-carousel-product-card-link",onClick:e=>{F?e.preventDefault():(0,m.z)(null==x?void 0:x.value,l)}}),(0,o.jsx)("div",{slot:"product-image","data-qa":"product-carousel-product-card-image",children:(0,o.jsx)(c.Gl,{ratio:"1:1",image:(0,v.hM)(null!==(f=null===(t=l.bag_image)||void 0===t?void 0:t.url)&&void 0!==f?f:""),alt:null!==(I=l.product_title)&&void 0!==I?I:"",editable:!1,sizesSet:"(min-width: 1024px) 25vw, (min-width: 768px) 33vw, (min-width: 560px) 50vw, 100vw",widths:[320,360,480,600,720,960]})}),V&&(0,o.jsx)(h.x,{slot:"price",price:Q,size:"small",labelAbove:null!==(L=null==y?void 0:y.value)&&void 0!==L?L:"",labelUnder:null!==(R=null==S?void 0:S.value)&&void 0!==R?R:"","data-qa":"product-carousel-product-price"}),(null==A?void 0:A.value)&&(0,o.jsx)(b.a,{slot:"product-button",variant:null!=z?z:"primary",size:"medium","data-qa":"product-carousel-product-card-button ".concat(null!=z?z:"primary"),onClick:()=>{!F&&i&&((0,m.z)(null==x?void 0:x.value,l),window.location.assign(i))},children:A.value})]})})},l.world_wide_main_item)}var j,E,U,B,V,$;return(0,o.jsx)(r.qr,{children:(0,o.jsx)(c.AA,{title:null!==(j=l.product_title)&&void 0!==j?j:"",imageUrl:null!==(E=null===(e=l.bag_image)||void 0===e?void 0:e.url)&&void 0!==E?E:"",imageAlt:null!==(U=l.product_title)&&void 0!==U?U:"",buttonText:null!==(B=null==A?void 0:A.value)&&void 0!==B?B:"",buttonStyle:z,productUrl:i,productData:l,showProductPrice:null==T?void 0:T.value,showStockInformation:null==O?void 0:O.value,fromLabelAbovePrice:null==y?void 0:y.value,fromLabelUnderPrice
1:null==S?void 0:S.value,overrideCurrencySignInPrices:N,displayOverriddenCurrencySignAfterPrices:null!=M&&M,inStockLabel:null!==(V=null==C?void 0:C.value)&&void 0!==V?V:"",outOfStockLabel:null!==($=null==P?void 0:P.value)&&void 0!==$?$:"",clickAnalytics:()=>(0,m.z)(null==x?void 0:x.value,l),dataQaType:"product-carousel",size:"medium"})},l.world_wide_main_item)})})}},34198:(l,e,i)=>{i.d(e,{v:()=>o});const o=i(10817).Ay.div.withConfig({componentId:"sc-ae900609-0"})(["display:block;height:100%;padding:0 6px;@media ","{padding:0 12px;}rc-product-card{--rc-product-card-custom-width:100%;--rc-product-card-width:0;height:100%;}"],l=>{let{theme:e}=l;return e.devices.tablet})},47280:(l,e,i)=>{i.d(e,{z:()=>a});var o=i(7284);const a=(l,e)=>{var i,a,t,r;return(0,o.oe)({event:"carouselInteraction",carouselInteraction:{name:"buttonClick",carouselTitle:l||void 0,carouselType:"Product",product:{pillar:null===(i=e.product_pillar)||void 0===i?void 0:i[0].code,specie:null===(a=e.species)||void 0===a?void 0:a[0].code,range:null===(t=e.range)||void 0===t?void 0:t.code,name:e.product_name,title:e.product_title,mainItemCode:e.world_wide_main_item,sku:e.ean,technology:null===(r=e.technology)||void 0===r?void 0:r.code}}})}}}]);

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.