1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2222],{9516:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return T}});var l=n(52322),o=n(2784),r=n(86525),s=n(90784),i=n(92077),u=n(32299),a=n(21020),d=n(4884),c=n(55468),g=n(48375),h=n(25260),m=n.n(h),x=n(40357),b=n(68453),p=n(57283),f=n(78662),v=n(74183),B=n(1868),k=n(27486),y=n(20302),_=n(49331),j=n(72812);let P={greenPrimary:"greenPrimary",greenSecondary:"greenSecondary",red:"red",redBuy:"redBuy",link:"link",image:"image"};var Z=n(24651),L=n.n(Z),w=n(4178),N=n.n(w),F=n(31930),M=n.n(F);let R={[r.ux]:N()},S={[g.j]:m()},C={[p.k]:L()},E=(e,t)=>e===y.C6.dark&&t===P.greenSecondary?b.Z:e===y.C6.dark&&t===P.greenPrimary?x.Z:t===P.greenSecondary?d.Z:t===P.greenPrimary?a.Z:t===P.red?c.Z:e===y.C6.dark&&t===P.link?B.Z:t===P.link?f.Z:t===P.image?v.Z:d.Z,A=e=>{let{isFallback:t,fallback:n,isFooterPlugin:r,button:s,idx:i=""}=e,{theme:u}=(0,o.useContext)(_.Z),a=(0,o.useMemo)(()=>E(u,t&&n?"primary"===n.type?"greenPrimary":"greenSecondary":null==s?void 0:s.type),[u,s,t,n]);return t?n?(0,l.jsx)(a,{className:M().button,href:n.link,isExternal:n.isExternal,expandedPadding:!0,children:n.label},i):null:s?s.type===P.redBuy?(0,l.jsx)(j.Z,{className:M().button,expandedPadding:!0},i):(0,l.jsx)(a,{className:M().button,href:s.link,isExternal:s.isExternal,expandedPadding:!0,children:s.image?(0,l.jsx)(k.ZP,{fetchPriority:r?void 0:"high",desktopImage:s.image,type:k._i.img},i):s.label},i):null},I=e=>{let{buttons:t,hasProduct:n,isFooterPlugin:r,dlButtonsLabel:s,separateButtonsMode:u}=e,{platformButtons:a}=(0,o.useContext)(i.b),d=(0,o.useMemo)(()=>null==t?void 0:t.filter(e=>{let{type:t,secondLine:n}=e;return t!==P.link&&!n}
1).filter(e=>{let{type:t,label:l,image:o,link:r}=e;return t===P.redBuy&&n||t!==P.redBuy&&(l||o)&&r}),[t,n]),c=(0,o.useMemo)(()=>null==t?void 0:t.filter(e=>{let{type:t,secondLine:n}=e;return t!==P.link&&n}).filter(e=>{let{type:t,label:l,image:o,link:r}=e;return t===P.redBuy&&n||t!==P.redBuy&&(l||o)&&r}),[t,n]),h=(0,o.useMemo)(()=>null==t?void 0:t.filter(e=>{let{type:t,secondLine:n}=e;return t===P.link&&!n}).filter(e=>{let{link:t,label:n}=e;return n&&t}),[t]),m=(0,o.useMemo)(()=>null==t?void 0:t.filter(e=>{let{type:t,secondLine:n}=e;return t===P.link&&n}).filter(e=>{let{link:t,label:n}=e;return n&&t}),[t]);return(null==a?void 0:a.length)||(null==d?void 0:d.length)||(null==c?void 0:c.length)||(null==h?void 0:h.length)||(null==m?void 0:m.length)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:M().buttons,children:[!!(null==a?void 0:a.length)&&!a[0].fallback&&!u&&(0,l.jsx)("div",{className:M().storeButtonsRow,children:a.map((e,t)=>{var n,o;return(0,l.jsx)(g.Z,{ariaLabel:null===(n=e.storeButton)||void 0===n?void 0:n.ariaLabel,image:null===(o=e.storeButton)||void 0===o?void 0:o.image,link:e.link,platform:e.platform,isExternal:e.isExternal,className:M().storeButton},t)})}),!!(null==a?void 0:a.length)&&!!a[0].fallback&&(0,l.jsx)("div",{className:M().buttonsRow,children:(0,l.jsx)(A,{isFallback:!0,idx:0,isFooterPlugin:r,fallback:a[0].fallback})}),!!(null==d?void 0:d.length)&&(0,l.jsx)("div",{className:M().buttonsRow,children:d.map((e,t)=>(0,l.jsx)(A,{isFooterPlugin:r,button:e,idx:t},t))}),!!(null==c?void 0:c.length)&&(0,l.jsx)("div",{className:M().buttonsRow,children:c.map((e,t)=>(0,l.jsx)(A,{isFooterPlugin:r,button:e,idx:t},t))}),!!(null==h?void 0:h.length)&&(0,l.jsx)("div",{className:M().buttonsRow,children:h.map((e,t)=>(0,l.jsx)(A,{isFooterPlugin:r,button:e,idx:t},t))}),!!(null==m?void 0:m.length)&&(0,l.jsx)("div",{className:M().buttonsRow,children:m.map((e,t)=>(0,l.jsx)(A,{isFooterPlugin:r,button:e,idx:t},t))})]}),!!(null==a?void 0:a.length)&&!a[0].fallback&&u&&(0,l.jsx)(p.X,{label:s,showBackground:u,classes:C,children:a.map((e,t)=>{var n,o;return(0,l.jsx)(g.Z,{ariaLabel:null===(n=e.storeButton)||void 0===n?void 0:n.ariaLabel,image:null===(o=e.storeButton)||void 0===o?void 0:o.image,link:e.link,platform:e.platform,isExternal:e.isExternal,classes:S},t)})})]}):null};var O=e=>{let{data:t,product:n,dl2Section:i,dl2FakeRegions:a,dlPlatformButtons:d,dlStoreButtons:c,dlStoreButtonsOrder:g,...h}=e,{buttons:m,showDlButtons:x,dlFallbackButton:b,dlButtonsLabel:p,separateButtonsMode:f}=t||{},{isFooterPlugin:v}=h||{},B=(0,o.useMemo)(()=>x&&i&&a&&d?{dl2Section:i,dl2FakeRegions:a}:null,[x,i,a,d]),k=(0,o.useMemo)(()=>!!(n&&(null==m?void 0:m.lastIndexOf)&&(null==m?void 0:m.some(e=>{let{type:t}=e;return t===P.redBuy}))),[n,m]);return(0,l.jsx)(r.ZP,{...h,product:n,classes:R,children:e=>{let{product:t}=e;return(0,l.jsxs)(l.Fragment,{children:[!!B&&(0,l.jsxs)(u.V,{element:B,dlPlatformButtons:d,dlStoreButtons:c,dlStoreButtonsOrder:g,dlFallbackButton:b,children:[!!t&&k&&(0,l.jsx)(s.Z,{product:t,children:(0,l.jsx)(I,{isFooterPlugin:v,buttons:m,hasProduct:!!n,dlButtonsLabel:p,separateButtonsMode:f})}),!(t&&k)&&(0,l.jsx)(I,{isFooterPlugin:v,buttons:m,hasProduct:!!n,dlButtonsLabel:p,separateButtonsMode:f})]}),!B&&(0,l.jsxs)(l.Fragment,{children:[!!t&&k&&(0,l.jsx)(s.Z,{product:t,children:(0,l.jsx)(I,{isFooterPlugin:v,buttons:m,hasProduct:!!n,dlButtonsLabel:p,separateButtonsMode:f})}),!(t&&k)&&(0,l.jsx)(I,{isFooterPlugin:v,buttons:m,hasProduct:!!n,dlButtonsLabel:p,separateButtonsMode:f})]})]})}})},H=n(30986),K=n(40902),D=n(18897);function T(e){let{data:t,product:n,masthead:o,pluginStyle:r,pluginData:s,dlPlatformButtons:i,dlStoreButtons:u,dlStoreButtonsOrder:a,dl2FakeRegions:d,dl2Section:c,_pluginIndex:g,_componentKey:h,_schema:m}=e,{display:x,isFooterPlugin:b="",pluginId:p}=s||{},{theme:f,...v}=o||{},{css:B,anchorId:k,crossPlatformIndent:y}=(0,K.B)(r,null==o?void 0:o.sectionId);return(0,l.jsx)(H.Z,{anchorId:k,crossPlatformIndent:y,display:"none"!==x,toggleKey:p,theme:f,wrapSwitcher:!0,wrapTheme:!0,pluginIndex:g,componentKey:h,schema:m,isBackgroun
1dPreload:!(0,D.oA)(b),children:(0,l.jsx)(O,{...v,data:t,product:n,dlPlatformButtons:i,dlStoreButtons:u,dlStoreButtonsOrder:a,dl2FakeRegions:d,dl2Section:c,pluginStyle:B,isFooterPlugin:(0,D.oA)(b)})})}},78662:function(e,t,n){"use strict";var l=n(52322),o=n(2784),r=n(74183),s=n(89905),i=n.n(s);let u={[r.y]:i()},a=(0,o.forwardRef)((e,t)=>(0,l.jsx)(r.Z,{...e,classes:u,ref:t}));a.displayName="GreyLinkProps",t.Z=a},18897:function(e,t,n){"use strict";n.d(t,{OC:function(){return r},mA:function(){return o},oA:function(){return l}});let l=e=>{if(null==e)return!1;if("boolean"==typeof e)return e;let t=Array.isArray(e)?e[0]:e;if(!t)return!1;let n=t.toLowerCase();return"true"===n||"yes"===n},o=e=>!l(e),r=e=>"boolean"==typeof e?!e:!!e&&"no"===e.toLowerCase()},24651:function(e){e.exports={bg:"DLButtonsWrapper_bg__D13qc"}},4178:function(e){e.exports={plugin:"Masthead_plugin__Z0iQd"}},31930:function(e){e.exports={buttons:"MastheadNoBuyBlock_buttons__HHiTU",buttonsRow:"MastheadNoBuyBlock_buttonsRow__PZAqN",storeButtonsRow:"MastheadNoBuyBlock_storeButtonsRow__KHy7f",storeButton:"MastheadNoBuyBlock_storeButton__ALyVH",button:"MastheadNoBuyBlock_button__rPs36"}},25260:function(e){e.exports={button:"StoreButton2025_button__JnYwo"}},89905:function(e){e.exports={link:"LightLink_link__TzRDV",hovered:"LightLink_hovered__3OuC1",active:"LightLink_active__CEKQz",svg:"LightLink_svg__F_ZgX"}}}]);
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.