1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2947],{33199(e,t,l){l.r(t),l.d(t,{default:()=>E});var i=l(64180),o=l(77810),r=l(75826),a=l.n(r),n=l(54443),c=l(27821),s=l(83881),p=l(62539),m=l(11692),d=l(20888),u=l(25199),v=l(61295),_=l(98713),h=l(15426),y=l(95563),T=l(2147),S=l(4780);const g=({data:e={},pageContentType:t,colorMode:l,product:r})=>{const a=(0,n.o5)("ProductDetail"),{isDesktop:g}=(0,d.G)(),{push:E}=(0,u.W)(),{techSpec:b,techSpecsTitle:x,techModal:f}=e,{isOpen:w,onOpen:A,onClose:D}=(0,s.j)(),k=!!(null!=t&&t.includes("support")||null!=t&&t.includes("Support")),C=(0,o.useCallback)(()=>{var e,t,l,i,o,a,n,c;let s=[];const{category1:p,category2:m}=(0,S.q)(r),d=(null==r||null===(e=r.c_price)||void 0===e||null===(t=e.sales)||void 0===t?void 0:t.value)||0,u=(null==r||null===(l=r.c_price)||void 0===l||null===(i=l.list)||void 0===i?void 0:i.value)||d,_=u-d;let h;r&&null!=r&&r.variationValues&&(h=Object.values(null==r?void 0:r.variationValues));let y={item_id:null==r?void 0:r.id,item_name:null==r?void 0:r.name,discount:_,item_brand:null==r?void 0:r.c_brand,item_category:p,item_category2:m,price:u,quantity:1,part_of_set:(null==r||!r.c_isProductSet)&&(null==r?void 0:r.c_isPartOfSet),stock_status:null!=r&&null!==(o=r.inventory)&&void 0!==o&&o.orderable?"in_stock":"out_of_stock",transactional_status:null!=r&&null!==(a=r.c_callout)&&void 0!==a&&null!==(n=a.buyButton)&&void 0!==n&&n.isNonTransactionalItem?"non_transactional":"transactional"};if((null===(c=h)||void 0===c?void 0:c.length)>0)for(let e=0;e<h.length;e++){var T;let t;t=0==e?"item_variant":"item_variant"+(e+1),y[t]=null===(T=h[e])||void 0===T?void 0:T.toLowerCase()}else y.item_variant="default";s.push(y);const g={clickSource:"PDP_product_details",items:s};(0,v.w)(g,E)},[r,E]),O=(0,o.useCallback)(()=>{A(),C()},[A,C]);return o.createElement(o.Fragment,null,o.createElement(m.s,(0,i.A)({flexDirection:g?"row":"column"},a.techSpecsContainer,{borderTop:k?`1px solid ${_.T.marshall_colors.primitives.primitive_10}`:`1px solid ${_.T.marshall_colors.primitives.primitive_85}`}),o.createElement(m.s,(0,i.A)({w:{base:"100vw",lg:"50vw"}},a.techSpecsTitle),o.createElement(c.E,(0,i.A)({as:"h2",textStyle:"header3",style:{textWrap:"pretty"}},a.techSpecsTitleText,{color:"yellow-leather"===l||k?_.T.marshall_colors.primitives.primitive_100:_.T.marshall_colors.primitives.primitive_0}),x)),o.createElement(m.s,(0,i.A)({flexDirection:"column"},a.techSpecsWrapper),b&&b.map((t,r)=>o.createElement(m.s,(0,i.A)({key:r},a.techSpecsSingle,{flexDirection:g?"row":"column",justifyContent:g?"space-between":"normal",borderBottom:"yellow-leather"===l?`1px solid ${_.T.marshall_colors.primitives.primitive_100}`:k?`1px solid ${_.T.marshall_colors.primitives.primitive_10}`:`1px solid ${_.T.marshall_colors.primitives.primitive_85}`}),o.createElement(c.E,{textStyle:"label",color:"yellow-leather"===l?_.T.marshall_colors.primitives.primitive_100:k?_.T.marshall_colors.primitives.primitive_65:_.T.marshall_colors.primitives.primitive_45},t.headline),o.createElement(p.az,(0,i.A)({textStyle:"label"},a.techSpecsSingleText),o.createElement(h.j,{json:t.richText,colorMode:l,context:k?"supportPage":void 0,parentEntryId:null==e?void 0:e.contentType})))),!!f&&o.createElement(p.az,{marginTop:"2.4rem",marginLeft:g?"1.6rem":"0rem"},o.createElement(y.S,(0,i.A)({label:x,width:"19.6rem",variant:k||"yellow-leather"===l?"cta-secondary-light":"cta-secondary-dark",onClick:O},a.techSpecsButton)))),!!f&&o.createElement(T.A,{isOpen:w,onClose:D,colorMode:l,techModalData:f,anchorId:null==f?void 0:f.anchorLink,placement:g?"right":"bottom"})))};g.propTypes={data:a().shape({techSpecsTitle:a().string,techSpec:a().arrayOf(a().shape({headline:a().string,richText:a().object})),techModal:a().object}),pageContentType:a().string,colorMode:a().oneOf(["light","dark","yellow-leather"]),product:a().object};const E=(0,o.memo)(g)}}]);
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.