PageSourceSearch

https://www.graneodin.com.mx/component---node-modules-husky-x-gats…t-page-splitter-tsx-cbb2282074406de193a6.js

js graneodin.com.mx collected 2026-10-08 10:38:45 UTC 10,622 bytes, 3 lines download raw bytes

1/*! For license information please see component---node-modules-husky-x-gatsby-theme-husky-src-templates-l-2-product-page-splitter-l-2-product-page-splitter-tsx-cbb2282074406de193a6.js.LICENSE.txt */
2"use strict";(self.webpackChunkhusky_site=self.webpackChunkhusky_site||[]).push([[553],{6251:function(e,a,t){t.r(a)},7766:function(e,a,t){t.d(a,{A:function(){return n}});var r=t(58168),i=t(96540);var n=(e,a)=>n=>{if("true"!=={}.CONTENTSTACK_LIVE_PREVIEW)return i.createElement(e,n);const s=(0,i.lazy)(()=>Promise.all([t.e(223),t.e(906),t.e(675)]).then(t.bind(t,73675)));return i.createElement(i.Suspense,{fallback:"Loading..."},i.createElement(s,(0,r.A)({WrappedComponent:e,propName:a},n)))}},83645:function(e,a,t){t.r(a),t.d(a,{Head:function(){return K.p3},default:function(){return J}});var r=t(45458),i=t(20249),n=t.n(i),s=t(74848),d=t(37630),o=t(26064),l=t(8242),c=t(23832),u=t(33380),m=t(6581),p=t(32485),b=t.n(p),g=t(96540),v=t(83393),h=t(66953),f=t(5020);try{t(6251)}catch(Y){if("MODULE_NOT_FOUND"!==Y.code)throw Y;console.warn("index.css / index-new.css not found, proceeding without it.")}function x(e,a){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&a.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)a.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(t[r[i]]=e[r[i]])}return t}const j=e=>{var{imageElements:a,buttonPrev:t,buttonNext:r,variant:i="single",progressIndicator:n="none"}=e,d=x(e,["imageElements","buttonPrev","buttonNext","variant","progressIndicator"]);return(0,s.jsx)(v.F,Object.assign({items:a.map(e=>({children:e})),variant:i,progressIndicator:n,buttonPrev:t,buttonNext:r},d))},k=({heading:e,subHeading:a,description:t,breadcrumbs:r,productId:i,$:n})=>(0,s.jsxs)("div",Object.assign({className:"cds-product-page-header__heading"},{children:[r&&(0,s.jsx)(h.B,Object.assign({className:"cds-product-page-header__breadcrumbs"},r,{dataCslp:null==n?void 0:n.breadcrumbs})),i?(0,s.jsx)(f.HF,{productId:i}):null,(0,s.jsxs)("h1",Object.assign({className:"cds-product-page-header__title"},{children:[(0,s.jsx)(c.o,{content:e,weight:"bold",variant:"headline",size:"xl",tag:"span",dataCslp:null==n?void 0:n.heading}),a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",Object.assign({className:"cds-product-page-header__hidden-space"},{children:" "})),(0,s.jsx)(c.o,{className:"cds-product-page-header__sub-heading",content:a,variant:"overline",tag:"span",dataCslp:null==n?void 0:n.subHeading})]})]})),t&&(0,s.jsx)(c.o,{className:"cds-product-page-header__description",content:t,variant:"body",size:"m",tag:"p",dataCslp:null==n?void 0:n.description})]})),I=(0,g.forwardRef)((e,a)=>{var{mode:t,element:r,className:i,breadcrumbs:n,showBreadcrumbs:p,heading:g,subHeading:v,description:h,disclaimer:f,retailersBlock:I,variantSelector:D,carouselBlock:w,productId:A,shopifyBlockComponent:y,whereToBuyData:N,$:S}=e,O=x(e,["mode","element","className","breadcrumbs","showBreadcrumbs","heading","subHeading","description","disclaimer","retailersBlock","variantSelector","carouselBlock","productId","shopifyBlockComponent","whereToBuyData","$"]);return(0,s.jsxs)(l.w,Object.assign({ref:a,className:b()("cds-product-page-header",i),removeAllSpacing:!0,mode:t,element:r},O,{children:[(0,s.jsxs)(d.m,Object.assign({className:"cds-product-page-header__container",maxWidth:"max-grid"},{children:[(0,s.jsx)(k,{breadcrumbs:p?n:void 0,heading:g,subHeading:v,description:h,productId:A,$:S}),w&&(0,s.jsx)("div",Object.assign({className:"cds-product-page-header__media"},null==S?void 0:S.carousel,{children:(0,s.jsx)(j,Object.assign({},w,{dataCslp:null==S?void 0:S.assets}))})),D||I?(0,s.jsxs)("div",Object.assign({className:"cds-product-page-header__variants"},{children:[D&&(0,s.jsx)(u.l,{variant1Dimension:D.variant1Dimension,variant2Dimension:D.variant2Dimension,currentDimension1:D.currentDimension1,currentDimension2:D.currentDimension2,variants:D.variants,singleVariant:D.singleVariant,$:D.$,dataCslp:null==S?void 0:S.variantSelector}),I&&(0,s.jsx)(o.F,{label:I.label,retailerLinks:I.retailerLinks,onClickRetailerName:I.onClickRetailerName,isDropdown:I.isDropdown,buttonLabel:I.buttonLabel,$:I.$})]})):null,y]})),f&&(0,s.jsx)(d.m,Object.assign({maxWidth:"max-grid",className:"cds-product-page-header__disclaimer"}
2,{children:(0,s.jsx)(c.o,{content:f,variant:"body",size:"s",tag:"p"})})),N&&(0,s.jsx)(m.T,Object.assign({},N))]}))}),D=(0,g.forwardRef)((e,a)=>{var{mode:t,element:r,className:i,breadcrumbs:n,showBreadcrumbs:o,heading:c,splitter:u,$:m}=e,p=x(e,["mode","element","className","breadcrumbs","showBreadcrumbs","heading","splitter","$"]);return(0,s.jsx)(l.w,Object.assign({ref:a,className:b()("cds-product-page-header",i),removeAllSpacing:!0,mode:t,element:r},p,{children:(0,s.jsxs)(d.m,Object.assign({className:"cds-product-page-header__container",maxWidth:"max-grid"},{children:[(0,s.jsx)(k,{breadcrumbs:o?n:void 0,heading:c,$:m}),(0,s.jsx)("div",Object.assign({},null==m?void 0:m.splitter,{children:u}))]}))}))}),w=e=>(e=>!!e.splitter)(e)?(0,s.jsx)(D,Object.assign({},e)):(0,s.jsx)(I,Object.assign({},e));var A=t(74333),y=t(36467),N=t(66392),S=t(82670),O=t(56881),T=t(58168),B=t(57471),_=t(68261),P=t(46887),E=t(15454),C=t(85412),L=t(76520),U=t(43692),$=t(72384),H=t(76519);const F=(e,a,t,r)=>({heading:null==a?void 0:a.productTitle,subHeading:null==a?void 0:a[r],description:null==a?void 0:a.descriptionShort,breadcrumbs:null==e?void 0:e.breadcrumbsUI,carousel:null==e?void 0:e.galleryUI,assets:null==a?void 0:a.salsifyDigitalAssets,variantSelector:null==t?void 0:t.variantSelector0}),M=e=>{let{breadcrumbsUI:[{hideLastItem:a,navigationName:t,overflowButton:r}],breadcrumbs:i,productTitle:n,mode:s,showBreadcrumbs:d}=e;return{breadcrumbs:{navigationName:t,hideLastItem:a,items:(0,L.C)(i),overflowBtn:{children:r},linkComponent:P.A},showBreadcrumbs:null===d||d,heading:(0,$.Kn)(n),mode:s||void 0}},W=e=>{var a;let{variantSelector:[t],headerUI:{breadcrumbsUI:r,galleryUI:[i],variantNameField:n,showBreadcrumbs:s,$:d},productPageHeader:o,fields:l,disclaimer:c,productId:u,whereToBuyData:m,retailers:[p],$:b}=e;const{productData:v,breadcrumbs:h}=l,{descriptionShort:f,productTitle:x,salsifyDigitalAssets:j,heroImageID:k,websiteImagesID:I,barcodeNumber:D}=v,w=I&&(A=I,j.filter(e=>{var a;const t=(null===(a=e.image)||void 0===a?void 0:a.id)||e.salsifyID;return A.includes(t)}));var A;const y=(e=>e.map((e,a)=>{var t,r,i,n;const s=(null===(t=e.image)||void 0===t?void 0:t.id)||e.salsifyID||"pdp-image-"+a,d=(null===(r=e.image)||void 0===r?void 0:r.url)||e.salsifyUrl,o=e.alt||e.altText||"";return g.createElement(B.Y,(0,T.A)({key:s},(0,C.tv)({image:{gatsbyImageData:null===(i=e.localAsset)||void 0===i||null===(n=i.childImageSharp)||void 0===n?void 0:n.gatsbyImageData,url:d},alt:o,objectFit:"contain"},0===a)))}))(((e,a)=>a?e.slice().sort((e,t)=>{var r,i;const n=(null===(r=e.image)||void 0===r?void 0:r.id)||e.salsifyID,s=(null===(i=t.image)||void 0===i?void 0:i.id)||t.salsifyID;return n===a?-1:s===a?1:0}):e)(I&&I.length>0&&(null==w?void 0:w.length)>0?w:j,k));return{...M({breadcrumbsUI:r,breadcrumbs:h,showBreadcrumbs:s,mode:null==o?void 0:o.mode,productTitle:x}),$:F(d,v.$,b,n),description:(0,$.Kn)(f),...c&&{disclaimer:c},...p&&{retailersBlock:(0,U.FN)(p,v)},carouselBlock:{...(0,E.q)(i),imageElements:y},subHeading:v[n],...(null==t||null===(a=t.variants)||void 0===a?void 0:a.length)>0&&{variantSelector:(0,H.a)({variantSelector:t,productData:v})},productId:u,whereToBuyData:{...m,barcodeNumber:D}}},z=e=>{let{productPageHeaderBasic:a,productPageHeaderSplitter:t,headerSplitterAdditionalData:r}=e;return t?((e,a)=>{var t;let{productPageHeader:{breadcrumbsUI:r,showBreadcrumbs:i,splitter:n,mode:s,$:d},fields:o}=e;const{productData:l,breadcrumbs:c}=o,{productTitle:u}=l;return{...M({breadcrumbsUI:r,breadcrumbs:c,showBreadcrumbs:i,mode:s,productTitle:u}),$:{...d,heading:null===(t=l.$)||void 0===t?void 0:t.productTitle},splitter:n[0]?g.createElement(_.default,(0,T.A)({},n[0],a)):void 0}})(t,r):a?W(a):null};var V=t(60375),R=t(13114),G=t(7766),K=t(37205);const q="l2-product-page";var J=(0,G.A)(e=>{let{data:{profile:a,contentstackL2ProductPageWithSplitter:t,contentstackHeader:i,contentstackHeaderWithSplitter:s,contentstackFooter:d,contentstackFooterWithSplitter:o,contentstackInfoBar:l,contentstackSettings:c,allContentstackAssets:{nodes:u}},pageContext:{uid:m,locale:p,seoTitle:b,brand:v,pageTemplate:h,redirects:f}}=e;"undefined"==typeof window&&console.info("Building:",JSON.stringify({uid:m,locale:p,seoT
2itle:b}));const{body:x,fields:{productData:j},categories:k}=t,{bazaarvoiceUrl:I,siteUrl:D,bazaarvoiceProductFieldName:T,priceSpider:B,adimo:_,shoppablePlugin:P,pluginInformationText:E,mikmak:C}=c,L=(0,A.vc)(R.GTM_LOCALSTORAGE_DATA.lastProductIndex);V.c.emitViewItem(j,h,L);const{isPriceSpiderAvailable:U,isAdimoAvailable:$,isMikMakV1Available:H,isMikMakV2Available:F}=(0,y.Vs)({shoppablePlugin:P,priceSpider:B,adimo:_,mikmak:C}),M={url:I,productData:j,bazaarvoiceProductFieldName:T,brand:v,siteUrl:D,lang:p};(0,g.useEffect)(()=>{const e=()=>{(0,A.zx)(R.GTM_LOCALSTORAGE_DATA.lastProductIndex)};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e),(0,A.zx)(R.GTM_LOCALSTORAGE_DATA.lastProductIndex)}},[]);const W=k.map(e=>{let{title:a}=e;return q+"--"+n()(a)}),G={salsifyExternalData:j,jsonRTEImages:u,whereToBuyData:{barcodeNumber:j.barcodeNumber,isPriceSpiderAvailable:U,isAdimoAvailable:$,adimoKey:null==_?void 0:_.key,adimoButton:null==_?void 0:_.buttonText,isMikMakV1Available:H,isMikMakV2Available:F,mikmakAppId:null==C?void 0:C.appId,mikmakWidgetId:null==C?void 0:C.widgetId,mikmakButton:null==C?void 0:C.buttonText,shoppableInformationText:E},retailers:t.retailers},K=j?z({productPageHeaderSplitter:{...t},headerSplitterAdditionalData:{externalData:G,currentPageUid:m}}):null;return g.createElement(S.b,{redirects:f},g.createElement(O.P,{className:[q].concat((0,r.A)(W)).join(" "),headerBasic:i,headerWithSplitter:s,headerSplitterAdditionalData:{externalData:G,currentPageUid:m},footerBasic:d,footerWithSplitter:o,footerSplitterAdditionalData:{externalData:G,currentPageUid:m},brand:v,infoBar:l,profile:a},g.createElement(y.f9,{shoppablePlugin:P,bazaarvoice:M,priceSpider:B,adimo:_,mikmak:C}),K?g.createElement(w,K):null,g.createElement(N.A,{items:x,externalData:G,currentPageUid:m})))},"contentstackL2ProductPageWithSplitter")}}]);
3//# sourceMappingURL=component---node-modules-husky-x-gatsby-theme-husky-src-templates-l-2-product-page-splitter-l-2-product-page-splitter-tsx-cbb2282074406de193a6.js.map

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.