PageSourceSearch

https://www.marshall.com/mobify/bundle/3581/5318.js

js marshall.com collected 2026-09-24 08:57:16 UTC 13,251 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5318],{61295(e,t,l){l.d(t,{w:()=>i});const i=(e,t)=>{t({event:"prod_details_click",click_source:null==e?void 0:e.clickSource,ecommerce:{items:null==e?void 0:e.items}})}},4780(e,t,l){l.d(t,{q:()=>i});const i=e=>{var t;const l=null==e?void 0:e.c_category;return{category1:(null==l?void 0:l.parentCategory)&&l.parentCategory.toLowerCase()!==(null===(t=l.id)||void 0===t?void 0:t.toLowerCase())?l.parentCategory:null==l?void 0:l.id,category2:null==l?void 0:l.id}}},36675(e,t,l){l.d(t,{A:()=>z});var i=l(64180),a=l(18801),o=l(77810),n=l(34692),r=l(75826),d=l.n(r),s=l(54443),c=l(14320),u=l(87375),m=l(95266),p=l(27821),v=l(72938),h=l(14085),g=l(62539),f=l(11692),x=l(59714),w=l(27409),E=l(68352),y=l(98713),b=l(15426),D=l(34238),M=l(8003),S=l(92893),k=l(34302),C=l(89278),A=l(55129);const T=["id","mainTitle","contentType"],_=({techModalData:e,anchorId:t,colorMode:l,isSeo:r=!1})=>{var d;const _=(0,n.A)(),z=(0,s.o5)("PDPModal"),[j]=(0,v.U)("(max-width: 1280px)"),I=(0,o.useRef)(null),$=(null==e||null===(d=e.techSpecGroups)||void 0===d?void 0:d.filter(e=>0!==Object.keys(e).length))||[];return o.createElement(o.Fragment,null,null==$?void 0:$.map((e,n)=>{var d,s,v,$,O,F,B,L,P,R,U,W,N,G,V,H;let{id:q,mainTitle:K,contentType:X}=e,Y=(0,a.A)(e,T);const J=Object.keys(Y).filter(e=>e.startsWith("id_")).reduce((e,t)=>{const l=t.replace("id_","");return e.push({title:Y[t],value:Y[`${l.charAt(0).toLowerCase()}${l.slice(1)}`]}),e.filter(({value:e})=>void 0!==e)},[]),Q=t&&q===t;return"image"!==X&&"imageGroup"!==X||!r?o.createElement(f.s,{key:`${K}${n}`,flexDirection:"column",ml:"imageGroup"===X?"-16px":void 0,mr:"imageGroup"===X?"-16px":void 0},o.createElement(f.s,{ref:Q?I:void 0,tabIndex:Q?-1:void 0,onMouseDown:Q?e=>{e.preventDefault()}:void 0,onFocus:Q?()=>{var e;return null==I||null===(e=I.current)||void 0===e?void 0:e.scrollIntoView()}:void 0,flexDirection:j?"column":"row",gap:j?E.x.medium:"unset",paddingBottom:"image"===X?{base:"0",lg:"4rem"}:{base:"4rem",lg:"8rem"}},o.createElement(g.az,(0,i.A)({display:"image"===X?{base:"none",lg:"block"}:"block",width:{base:"100%",lg:"40%"}},z.techSpecsModalMainTitle,{textStyle:"header3",color:"yellow-leather"===l?y.T.marshall_colors.primitives.primitive_100:y.T.marshall_colors.primitives.primitive_0}),"productDetailAccessoriesSpareParts"===X&&null!=Y&&Y.link?o.createElement(f.s,{flexDirection:"column",gap:"1.6rem"},o.createElement(g.az,null,K||""),o.createElement(c.N,{width:"fit-content",textStyle:"label",href:null==Y||null===(d=Y.link)||void 0===d?void 0:d.linkUrl,target:(0,w.$)(null==Y||null===(s=Y.link)||void 0===s?void 0:s.target),padding:"1.4rem 0.8rem"},null==Y||null===(v=Y.link)||void 0===v?void 0:v.linkText)):o.createElement(o.Fragment,null,K||"")),o.createElement(f.s,{flexDirection:"column",width:{base:"100%",lg:"60%"}},"productDetailDetails"===X&&o.createElement(g.az,{paddingTop:j?"0rem":E.x.small},o.createElement(b.j,{json:null==Y?void 0:Y.description,colorMode:l,parentEntryId:"tech-specs-modal-details"})),"productDetailFeatures"===X&&o.createElement(f.s,{flexDirection:j?"column":"row",flexWrap:"wrap",marginRight:{base:"0rem",lg:"6.4rem"},paddingTop:{base:"0rem",lg:"1.6rem"}},null==Y?void 0:Y.features.map((e,t)=>{var i,a,n,r,d,s;return o.createElement(f.s,{flexDirection:"row",justifyContent:"flex-start",alignItems:"center",width:j?"100%":"50%",padding:j?"1.6rem 0.6rem":E.x.small,key:`tech-specs-modal-feature-${t}`},o.createElement(g.az,{flexShrink:0,width:j?"3.2rem":"4rem",marginRight:E.x.medium},o.createElement(k.A,{avoidAvif:!(null==e||null===(i=e.icon)||void 0===i||null===(a=i.file)||void 0===a||null===(n=a.url)||void 0===n||!n.endsWith(".svg")),src:null==e||null===(r=e.icon)||void 0===r||null===(d=r.file)||void 0===d?void 0:d.url,widths:[60,120,180,240,320],imageProps:{alt:null==e||null===(s=e.icon)||void 0===s?void 0:s.title,sizes:"(min-width: 1281px) 40px, 32px",loading:"lazy",style:{objectFit:"cover",width:"100%",height:"100%"}}})),o.createElement(g.az,null,o.createElement(b.j,{json:null==e?void 0:e.richText,colorMode:l,parentEntryId:"tech-specs-modal-features"})))})),"productDetailAwards"===X&&o.createElement(f.s,{flexDirection:j?"column":"row",flexWrap:"wrap"},null==Y?void 0:Y.awards.map((e,t)=>{var i,a,n,r,d,s;return o.createElement(f.s,{flexDirection:"row",justifyContent:"flex-start",width:"100%",key:`tech-specs-modal-award-${t}`},o.createElement(f.s,{flexDirection:"column",justifyContent:"flex-start",paddingLeft:{base:"0",lg:E.x.small.base},paddingRight:E.x.small.base,paddingTop:E.x.micro.base,paddingBottom:E.x.micro.base,width:{base:"56%",lg:"45%"}},o.createElement(p.E,{width:"100%",marginBottom:E.x.extraMicro,textStyle:"label",color:"yellow-leather"===l?y.T.marshall_colors.primitives.primitive_100:y.T.marshall_colors.primitives.primitive_0},e.headline),o.createElement(g.az,{width:"100%"}
1,o.createElement(b.j,{json:null==e?void 0:e.richText,colorMode:l,parentEntryId:"tech-specs-modal-awards"}))),o.createElement(f.s,{flexDirection:"row",justifyContent:"start",alignItems:"center",flexShrink:0,height:"10rem",width:{base:"44%",lg:"55%"},paddingLeft:{base:E.x.micro.base,lg:E.x.large.lg},paddingRight:{base:"0",lg:E.x.large.lg},paddingTop:{base:E.x.small.base,lg:E.x.medium.lg},paddingBottom:{base:E.x.small.base,lg:E.x.medium.lg}},o.createElement(k.A,{avoidAvif:!(null==e||null===(i=e.icon)||void 0===i||null===(a=i.file)||void 0===a||null===(n=a.url)||void 0===n||!n.endsWith(".svg")),src:null==e||null===(r=e.icon)||void 0===r||null===(d=r.file)||void 0===d?void 0:d.url,widths:[60,120,180,240,320],imageProps:{alt:null==e||null===(s=e.icon)||void 0===s?void 0:s.title,sizes:"100vw",loading:"lazy",style:{objectFit:"contain",width:"auto",height:"100%"}},imageWrapperProps:{height:{base:"8.2rem",lg:"7.2rem"},width:"100%",maxWidth:"100%"}})))})),"productDetailAccessoriesSpareParts"===X&&o.createElement(f.s,{flexDirection:j?"column":"row",flexWrap:"wrap"},o.createElement(A.A,{wrap:!0,components:null==Y||null===($=Y.tiles)||void 0===$?void 0:$.map((e,t)=>{var l,i,a,n;return["productDetail","productVariation"].includes(null==e||null===(l=e.tileContent)||void 0===l?void 0:l.contentType)&&o.createElement(D.A,{"data-testid":`sf-product-tile-${null==e||null===(i=e.tileContent)||void 0===i||null===(a=i.sfccProductData)||void 0===a?void 0:a.uuid}`,key:null==e?void 0:e.id,product:e,SFCCProductData:null==e||null===(n=e.tileContent)||void 0===n?void 0:n.sfccProductData,isNoSearchResult:!1,colorMode:"transparent",isTilesCarousel:!0,tileCarouselTitle:K,gtmIndex:t,imageSizes:"(min-width: 769px) 33.33vw ,calc(100vw - 6.5rem)"})}),showNavigation:!1,variant:"tiles",autoScroll:!1})),"image"===X&&o.createElement(g.az,{position:"relative",width:"100%",height:"100%"},o.createElement(C.A,{sourceConfigs:[{file:null==Y||null===(O=Y.imageDesktop)||void 0===O?void 0:O.file,media:"(min-width: 1281px)",widths:[640,768,960,1024,1200,1440,1600,1920],aspectRatio:[1,1],sizes:"50vw",alt:null==Y?void 0:Y.altText,objectFit:"unset"},{file:null==Y||null===(F=Y.imageMobile)||void 0===F?void 0:F.file,widths:[320,375,425,520,640,768,960,1024,1200,1440],aspectRatio:[1,1],sizes:"100vw",alt:null==Y?void 0:Y.altText,objectFit:"unset"}],parentEntryId:"tech-specs-modal"})),"imageGroup"===X&&o.createElement(f.s,{flexWrap:"wrap",flexDirection:"row"},null==Y?void 0:Y.images.map((e,t)=>{var l,i,a,n,r,d,s;const c=null==e||null===(l=e.imageDesktop)||void 0===l||null===(i=l.file)||void 0===i||null===(a=i.url)||void 0===a?void 0:a.replace("//","https://"),u=null==e||null===(n=e.imageMobile)||void 0===n||null===(r=n.file)||void 0===r||null===(d=r.url)||void 0===d?void 0:d.replace("//","https://");return o.createElement(g.az,{width:"33.33%",flex:"0 0 33.33%",position:"relative","data-testid":"product-gallery-image",key:`${null==e?void 0:e.internalName}-${null==e?void 0:e.title}-${t}`},o.createElement(h.g,{ratio:1,width:"100%",height:"100%"},o.createElement(C.A,{action:null==e||null===(s=e.action)||void 0===s?void 0:s.action,sourceConfigs:[{src:c,media:"(min-width: 1281px)",widths:[320,375,425,520,640,768,960,1024,1200],aspectRatio:[1,1],sizes:"(min-width: 1281px) 240px, 33.33vw",alt:null==e?void 0:e.altText},{src:u,widths:[320,375,425,520,640,768,960,1024,1200],aspectRatio:[1,1],sizes:"(min-width: 1281px) 240px, 33.33vw",alt:null==e?void 0:e.altText}]})))})),"techSpecsAudioSample"===X&&(null==Y?void 0:Y.audioFiles)&&o.createElement(f.s,{flexDirection:"column"},o.createElement(M.A,{media:null==Y?void 0:Y.audioFiles,isTechSpecsModal:!0})),J.map(({title:e,value:t},l)=>{if("images"===e)return o.createElement(f.s,{key:l},t.map((e,t)=>o.createElement(u._,{key:t,src:e.url,width:"33.3%"})));if("image"===e)return o.createElement(f.s,{flexDirection:"column",key:l},o.createElement(u._,{src:t.url,width:"100%"}),o.createElement(p.E,(0,i.A)({textStyle:"body"},z.techSpecsModalImageCaption),t.title));if("video"===e)return o.createElement(f.s,{key:l},o.createElement(x.cD,null,o.createElement(S.A,{iframe:null==t?void 0:t.mobileVideo})),o.createElement(x.qX,null,o.createElement(S.A,{iframe:null==t?void 0:t.desktopVideo})));{let a;return a="boolean"==typeof t?t?_.formatMessage({id:"confirmation_modal.default.action.yes",defaultMessage:[{type:0,value:"Yes"}]}):_.formatMessage({id:"confirmation_modal.default.action.no",defaultMessage:[{type:0,value:"No"}]}):t,o.createElement(f.s,(0,i.A)({flexDirection:j?"column":"row"},z.techSpecsModalContentWrapper,{key:`${e}${a}${l}`}),o.createElement(f.s,(0,i.A)({width:{base:"100%",lg:"50%"},textStyle:"label"},z.techSpecsModalContentTitle),e),o.createElement(f.s,(0,i.A)({width:{base:"100%",lg:"50%"},textStyle:"label"},z.techSpecsModalContentValue),a))}}),"techSpecIncluded"===X&&o.createElement(o.Fragment,null,(null==Y?void 0:Y.description)&&o.createElement(g.az,{paddingTop:j?"0rem":E.x.small}
1,o.createElement(b.j,{json:null==Y?void 0:Y.description,colorMode:l,parentEntryId:"tech-specs-modal-included"})),(null==Y?void 0:Y.showSupportButton)&&o.createElement(f.s,{flexDirection:{base:"column",lg:"row"},gap:E.x.small,paddingTop:{base:null!=Y&&Y.softwareUpdates?"1.6rem":"0rem",lg:"1.6rem"}},(null==Y||null===(B=Y.boxContentsManuals)||void 0===B||null===(L=B[0])||void 0===L||null===(P=L.file)||void 0===P?void 0:P.url)&&o.createElement(f.s,{width:{base:"100%",md:"75%",lg:"35%"}},o.createElement(c.N,{isExternal:!0,width:"100%",textStyle:"label",href:null==Y||null===(R=Y.boxContentsManuals)||void 0===R||null===(U=R[0])||void 0===U||null===(W=U.file)||void 0===W?void 0:W.url},o.createElement(m.$,{variant:"yellow-leather"===l?"cta-secondary-light":"cta-secondary-dark",sx:{width:"100%",height:"4.4rem",fontSize:"1.3rem"}},_.formatMessage({id:"product.tech.spec.modal.download",defaultMessage:[{type:0,value:"Download Manual"}]})))),(null==Y||null===(N=Y.supportButtonUrl)||void 0===N?void 0:N.linkUrl)&&o.createElement(f.s,{width:{base:"100%",md:"75%",lg:"35%"}},o.createElement(c.N,{width:"100%",textStyle:"label",href:null==Y||null===(G=Y.supportButtonUrl)||void 0===G?void 0:G.linkUrl,target:(0,w.$)(null==Y||null===(V=Y.supportButtonUrl)||void 0===V?void 0:V.target)},o.createElement(m.$,{variant:"cta-secondary-light",style:{width:"100%",height:"4.4rem"}},null==Y||null===(H=Y.supportButtonUrl)||void 0===H?void 0:H.linkText)))))))):null}))};_.propTypes={techModalData:d().shape({mainLabel:d().string,techSpecGroups:d().arrayOf(d().object)}),anchorId:d().string,colorMode:d().oneOf(["light","dark","yellow-leather"]),isSeo:d().bool};const z=_},2147(e,t,l){l.d(t,{A:()=>b});var i=l(64180),a=l(77810),o=l(34692),n=l(64965),r=l(75826),d=l.n(r),s=l(54443),c=l(25517),u=l(1518),m=l(49632),p=l(27821),v=l(41539),h=l(28287),g=l(21302),f=l(11692),x=l(20888),w=(l(59714),l(68352),l(98713),l(87433)),E=l(36675);const y=({isOpen:e,onClose:t,placement:l,techModalData:r,anchorId:d,colorMode:y})=>{const b=(0,o.A)(),D=(0,n.zy)(),M=(0,s.o5)("PDPModal"),{isMobile:S}=(0,x.G)(),[k,C]=(0,a.useState)(),A=(0,a.useRef)(null);return(0,a.useEffect)(()=>{C(S?M.techSpecsModalContentMobile:M.techSpecsModalContentDesktop)},[S]),(0,a.useEffect)(()=>{e&&t()},[D.pathname]),a.createElement(u._,{isOpen:e,onClose:t,placement:l,top:"10vh",autoFocus:!1,returnFocusOnClose:!1,initialFocusRef:A},a.createElement(v.m,M.techSpecsModalOverlay,a.createElement(c.z,(0,i.A)({},M.techSpecsModalContent,k,{width:{base:"100vw",lg:"88.89vw"},style:{left:"auto"}}),a.createElement(m.r,M.techSpecsModalHeader,a.createElement(p.E,{textStyle:"label"},b.formatMessage({id:"tech.spec.modal.product.details",defaultMessage:[{type:0,value:"Product Details"}]})),a.createElement(g.s,M.closeButton,a.createElement(w.xW,{isClose:!0}))),a.createElement(h.c,M.techSpecsModalBody,a.createElement(f.s,{flexDirection:"column",paddingTop:{base:"0.8rem",lg:"1.2rem"},paddingRight:{base:"1.6rem",lg:"4rem"},paddingBottom:{base:"0.8rem",lg:"8rem"},paddingLeft:{base:"1.6rem",lg:"4rem"}},a.createElement(E.A,{techModalData:r,anchorId:d,colorMode:y,isSeo:!1}))))))};y.propTypes={isOpen:d().bool,onClose:d().func,placement:d().oneOf(["bottom","right","top","bottom","start","end"]),techModalData:d().shape({mainLabel:d().string,techSpecGroups:d().arrayOf(d().object)}),anchorId:d().string,colorMode:d().oneOf(["light","dark","yellow-leather"])};const b=y}}]);

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.