"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5282,9217],{34123:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(92809),o=(r(67294),r(22318)),i=r(41120),a=r(85893),c=(0,i.Z)((function(e){return{trustpilotWidgetAmpCompatible:{"& a":{borderBottom:"none","&:hover":{borderBottom:"none"}}},hideSm:(0,n.Z)({},e.breakpoints.down("xs"),{display:"none"})}}));function l(e){var t=e.trustPilotTheme,r=c();return(0,a.jsx)("div",{className:r.trustpilotWidgetAmpCompatible,children:"light"===t?(0,a.jsxs)(o.Z,{variant:"body1",children:[(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/manhattanprep.com?utm_medium=Trustbox&utm_source=EmailNewsletter1",children:(0,a.jsx)("img",{src:"https://emailsignature.trustpilot.com/newsletter/en-US/1/57c068fc0000ff000593f3b2/text1@2x.png",border:"0",height:"18",alt:"Human score"})}),"\xa0\xa0",(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/manhattanprep.com?utm_medium=Trustbox&utm_source=EmailNewsletter1",children:(0,a.jsx)("img",{src:"https://emailsignature.trustpilot.com/newsletter/en-US/1/57c068fc0000ff000593f3b2/stars@2x.png",border:"0",height:"20",alt:"Trustpilot Stars"})}),(0,a.jsxs)("span",{className:r.hideSm,children:["\xa0\xa0",(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/manhattanprep.com?utm_medium=Trustbox&utm_source=EmailNewsletter1",children:(0,a.jsx)("img",{src:"https://emailsignature.trustpilot.com/newsletter/en-US/1/57c068fc0000ff000593f3b2/text2@2x.png",border:"0",height:"18",alt:"number of reviews"})}),"\xa0\xa0",(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/manhattanprep.com?utm_medium=Trustbox&utm_source=EmailNewsletter1",children:(0,a.jsx)("img",{src:"https://emailsignature.trustpilot.com/brand/n/1/logo.png",border:"0",height:"20",alt:"Trustpilot Logo"})})]})]}):(0,a.jsxs)(o.Z,{children:[(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/manhattanprep.com?utm_medium=Trustbox&utm_source=EmailNewsletter1",children:(0,a.jsx)("img",{src:"https://emailsignature.trustpilot.com/newsletter/en-US/1/57c068fc0000ff000593f3b2/text1_dark@2x.png",border:"0",height:"18",alt:"Human score"})}),"\xa0\xa0",(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/manhattanprep.com?utm_medium=Trustbox&utm_source=EmailNewsletter1",children:(0,a.jsx)("img",{src:"https://emailsignature.trustpilot.com/newsletter/en-US/1/57c068fc0000ff000593f3b2/stars@2x.png",border:"0",height:"20",alt:"Trustpilot Stars"})}),(0,a.jsxs)("span",{className:r.hideSm,children:["\xa0\xa0",(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/manhattanprep.com?utm_medium=Trustbox&utm_source=EmailNewsletter1",children:(0,a.jsx)("img",{src:"https://emailsignature.trustpilot.com/newsletter/en-US/1/57c068fc0000ff000593f3b2/text2_dark@2x.png",border:"0",height:"18",alt:"number of reviews"})})," ","\xa0\xa0",(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/manhattanprep.com?utm_medium=Trustbox&utm_source=EmailNewsletter1",children:(0,a.jsx)("img",{src:"https://emailsignature.trustpilot.com/brand/n/1/logo_dark.png",border:"0",height:"20",alt:"Trustpilot Logo"})})]})]})})}},86977:function(e,t,r){r.d(t,{nm:function(){return B},xs:function(){return O},le:function(){return S}});var n=r(92809),o=(r(67294),r(27361)),i=r.n(o),a=r(69135),c=r(41120),l=r(85893),s=(0,c.Z)((function(e){return{ribbon:{color:i()(e,"palette.navigator.ribbonTextColor",e.palette.text.secondary),position:"absolute",top:"27px",right:"-58px",transform:"rotate(45deg)",backgroundColor:i()(e,"palette.navigator.accentColor",e.palette.primary.main),width:"220px","& div":{textAlign:"center",fontFamily:i()(e,"typography.h1.fontFamily"),textTransform:"uppercase",padding:e.spacing(1,6,.5,6.5)}}}}));function d(e){var t=s();return(0,l.jsx)("div",{className:t.ribbon,children:(0,l.jsx)("div",{children:e.children})})}var p=r(52829),m=r(40590),u=r(46409),g=r(8709),h=r(69713),x=r(25838),f=r(74619),j=r(71792),b=r(68751),y=r(8920),v=r(18463),Z=r(79912),w=r(22318),C=r(11543),k=r(99956),N=r(41749);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case I:return!e[t.name]||e[t.name]0&&""!==p[0].text&&null!==p[0].text&&(0,g.jsx)(U,{name:"productName",children:(0,g.jsxs)(d.Z,{className:Q.productBox,pt:2,pb:2,onClick:function(e){return K(e,G)},id:"productbox".concat(null===p||void 0===p||null===(t=p[0])||void 0===t||null===(r=t.text)||void 0===r||null===(n=r.toLowerCase())||void 0===n?void 0:n.replace(/\s+/g,"")),children:[(0,g.jsx)(ee,{name:p}),D&&(0,g.jsx)(d.Z,{className:Q.descriptor,children:D})]})}),(0,g.jsx)(U,{name:"callout",children:(0,g.jsx)(d.Z,{className:Q.callout,children:A&&(0,g.jsx)("p",{children:A})})}),""!==a()(y,"[0].title[0].text","")&&!T&&(0,g.jsx)(f.Z,{container:!0,justifyContent:"center",children:(0,g.jsx)(f.Z,{item:!0,xs:12,lg:"compare2x2"===_?10:12,children:(0,g.jsx)(U,{name:"featureProductCompare",children:(0,g.jsx)(se,{callout:A,title:y[0].title,feature:y[0].feature})})})}),""!==a()(v,"[0].title[0].text","")&&!T&&(0,g.jsx)(f.Z,{container:!0,justifyContent:"center",children:(0,g.jsx)(f.Z,{item:!0,xs:12,lg:"compare2x2"===_?10:12,children:(0,g.jsx)(U,{name:"includeProductCompare",children:(0,g.jsx)(se,{title:v[0].title,feature:v[0].include})})})}),(0,g.jsx)(U,{name:"productPrice",children:(0,g.jsx)(d.Z,{display:"flex",alignItems:"flex-end",children:(0,g.jsx)(re,{billingMsg:x,priceMsg:h,catalog:c,affirmEligible:j,showPrice:S,isNewCompare:L})})}),(0,g.jsx)(U,{name:"primaryAction",children:(0,g.jsx)(d.Z,{textAlign:"center",className:Q.naBtn,mb:3,children:i})}),(0,g.jsx)(U,{name:"affirm",children:(0,g.jsx)(oe,{affirmEligible:j,affirmPromoMessage:c.affirm})}),(0,g.jsx)(U,{name:"supportingText",children:(0,g.jsx)(d.Z,{className:Q.supportingText,children:R?(0,g.jsx)(u.Z,{render:R}):(0,g.jsx)(d.Z,{})})}),!N&&(0,g.jsx)(U,{name:"sliderProductCompare",children:(0,g.jsx)(ie,{slider:b})})]})})]})}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:Q.promoMsgContainer,children:c&&c.promo&&(0,g.jsx)(V,{catalog:c})}),(0,g.jsxs)(d.Z,{className:Q.card,children:[(0,g.jsxs)("div",{children:[(0,g.jsx)(f.Z,{container:!0,justifyContent:"center",children:(0,g.jsxs)(f.Z,{item:!0,xs:12,lg:"compare2x2"===_?10:12,children:[p&&p.length>0&&""!==p[0].text&&null!==p[0].text&&(0,g.jsx)(U,{name:"productName",children:(0,g.jsx)(d.Z,{pt:.2,children:(0,g.jsx)(Y,{name:p})})}),m&&null!==m&&""!==m&&!C&&(0,g.jsx)(d.Z,{textAlign:"center",mt:2,mb:c?2:3,children:(0,g.jsx)("div",{className:Q.image,children:(0,g.jsx)(k.Xd,{src:m,alt:"",contain:!0})})}),(0,g.jsx)(re,{priceMsg:h,catalog:c,affirmEligible:j,showPrice:S}),(0,g.jsx)(U,{name:"affirm",children:(0,g.jsx)(oe,{affirmEligible:j,affirmPromoMessage:c.affirm})}),(0,g.jsx)(U,{name:"primaryAction",children:(0,g.jsx)(d.Z,{textAlign:"center",className:Q.naBtn,mb:4,children:i})}),!N&&(0,g.jsx)(U,{name:"sliderProductCompare",children:(0,g.jsx)(ie,{slider:b})})]})}),""!==a()(y,"[0].title[0].text","")&&!T&&(0,g.jsx)(d.Z,{className:Q.darkGrayBg,mt:1,children:(0,g.jsx)(f.Z,{container:!0,justifyContent:"center",children:(0,g.jsx)(f.Z,{item:!0,xs:12,lg:"compare2x2"===_?10:12,children:(0,g.jsx)(U,{name:"featureProductCompare",children:(0,g.jsx)(ce,{title:y[0].title,feature:y[0].feature})})})})}),""!==a()(v,"[0].title[0].text","")&&!T&&(0,g.jsx)(f.Z,{container:!0,justifyContent:"center",children:(0,g.jsx)(f.Z,{item:!0,xs:12,lg:"compare2x2"===_?10:12,children:(0,g.jsx)(U,{name:"includeProductCompare",children:(0,g.jsx)(ce,{title:v[0].title,feature:v[0].include})})})})]}),W&&(0,g.jsx)(d.Z,{mb:6,textAlign:"center",children:(0,g.jsx)(de,{pdpLink:Z,pdpLabel:w})})]})]})})}var K=(0,s.Z)((function(e){return{promoMsg:{backgroundColor:function(t){var r=t.promoBgColor,n=t.isNewCompare;return r&&n?r:e.palette.secondary.main},color:function(t){var r=t.promoTextColor,n=t.isNewCompare;return r&&n?r:e.palette.text.secondary},padding:e.spacing(.5,0),"& p span":{lineHeight:"140%"}}}}));function V(e){var t=e.catalog,r=e.promoBgColor,n=e.promoTextColor,o=e.isNewCompare,i=K({promoBgColor:r,promoTextColor:n,isNewCompare:o});return(0,g.jsx)(d.Z,{textAlign:"center",className:"".concat(i.promoMsg),children:(0,g.jsx)(p.Z,{variant:"body2",children:(0,g.jsx)("span",{children:(0,g.jsx)(T.Z,X({},t.promo))})})})}var Q=(0,s.Z)((function(e){return{title:(0,n.Z)({},e.breakpoints.up("md"),{fontSize:"2.4rem",lineHeight:"3.2rem"})}}));function Y(e){var t=e.name,r=Q();return(0,g.jsx)(d.Z,{textAlign:"center",px:4,children:(0,g.jsx)(p.Z,{variant:"h3",className:"".concat(r.title),children:(0,g.jsx)(u.Z,{render:t,htmlSerializer:m.x})})})}var $=(0,s.Z)((function(e){return{title:(0,n.Z)({},e.breakpoints.up("md"),{fontSize:"2rem",fontFamily:e.typography.body1.fontFamily})}}));function ee(e){var t=e.name,r=$();return(0,g.jsx)(d.Z,{textAlign:"center",px:4,children:(0,g.jsx)(p.Z,{variant:"h4",className:"".concat(r.title),children:(0,g.jsx)("strong",{children:(0,g.jsx)(u.Z,{render:t,htmlSerializer:m.x})})})})}var te=(0,s.Z)((function(e){var t;return{priceContainer:{paddingTop:function(t){return t.isNewCompare&&e.spacing(3)},marginBottom:e.spacing(2),"& p":{marginBottom:0,lineHeight:"140%"},"& .price":{fontSize:"2.8rem",fontWeight:500}},price:{fontSize:"2.4rem",lineHeight:"3.2rem","& del":{fontSize:"85%",color:a()(e,"palette.navigator.grayText"),lineHeight:1.6}},affirmMsg:{"& p":(t={fontSize:"1.2rem",margin:e.spacing(0,0,2)},(0,n.Z)(t,e.breakpoints.down("sm"),{margin:e.spacing(1,0,2)}),(0,n.Z)(t,"& a",{color:a()(e,"palette.text.primary")}),t)}}}));function re(e){var t=e.priceMsg,r=e.catalog,n=e.showPrice,o=e.billingMsg,i=e.isNewCompare,a=te({isNewCompare:i});return r&&(0,g.jsx)(d.Z,{textAlign:"center",className:a.priceContainer,children:(0,g.jsx)(N.Z,X(X({billingMsg:o,priceMsg:t},r),{},{showPrice:n,isProductCompare:!0,classes:a}))})}var ne=(0,s.Z)((function(e){var t;return{affirmMsg:{"& p":(t={fontSize:"1.2rem",lineHeight:"140%",margin:e.spacing(0,0,2)},(0,n.Z)(t,e.breakpoints.down("sm"),{margin:e.spacing(1,0,2)}),(0,n.Z)(t,"marginTop",0),(0,n.Z)(t,"& a",{color:a()(e,"palette.text.primary")}),t)}}}));function oe(e){var t=e.affirmEligible,r=e.affirmPromoMessage,n=ne();return t&&r&&(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(Z.Z,{affirmEligible:t,classes:n.affirmMsg,pageType:"product",affirmPromoMessage:r})})}function ie(e){var t=e.slider;return t&&t.map((function(e,t){return(0,g.jsx)(d.Z,{mx:4,children:(0,g.jsx)(x,X({},e))},t)}))}var ae=(0,s.Z)((function(e){return{titleContainer:{"& h6":{fontWeight:"bold",textAlign:"center",margin:e.spacing(1,0)}},listContainer:{"& * li":{listStyleType:"none",marginBottom:e.spacing(3),position:"relative","&::before":{content:'" "',width:".45em",height:".9em",border:"solid "+e.palette.secondary.main,borderWidth:"0 .12em .12em 0",position:"absolute",left:"-2.05em",top:".35rem",transform:"rotate(45deg)"}},"& p":{marginBottom:e.spacing(3)}}}}));function ce(e){var t=e.title,r=e.feature,n=ae();return(0,g.jsxs)(d.Z,{py:4,children:[(0,g.jsx)(d.Z,{borderBottom:1,mx:4,className:n.titleContainer,children:(0,g.jsx)(p.Z,{variant:"h6",gutterBottom:!0,children:(0,g.jsx)(u.Z,{render:t,htmlSerializer:m.x})})}),(0,g.jsx)(d.Z,{my:3,ml:4,mr:6,className:n.listContainer,children:(0,g.jsx)(u.Z,{render:r})})]})}var le=(0,s.Z)((function(e){var t,r,o;return{titleContainer:{display:"none","& h6":{fontWeight:"bold",textAlign:"center",margin:e.spacing(1,0)}},listContainer:{width:"100%",marginTop:e.spacing(1),"& .MuiIconButton-root":{backgroundColor:"rgba(0, 0, 0, 0.04)",padding:"0px"},"& .MuiSvgIcon-root":{width:"2em",height:"2em",color:"#000"},"& .MuiPaper-elevation1":(o={},(0,n.Z)(o,e.breakpoints.down("md"),{boxShadow:"none",borderBottom:function(e){return e.accordionState?"none":"solid 1px #D9D9D8"},paddingBottom:function(t){return!t.accordionState&&e.spacing(1)}}),(0,n.Z)(o,"& .MuiAccordionSummary-root",(r={marginTop:function(t){return null!==t.callout&&e.spacing(2)}},(0,n.Z)(r,e.breakpoints.down("md"),{justifyContent:"center",minHeight:0}),(0,n.Z)(r,"& .MuiAccordionSummary-content",(t={},(0,n.Z)(t,e.breakpoints.down("md"),{margin:0,flexGrow:0,paddingRight:e.spacing(2)}),(0,n.Z)(t,"& p",(0,n.Z)({},e.breakpoints.down("md"),{margin:0,fontSize:e.typography.body2.fontSize,borderBottom:"none",paddingBottom:0,paddingTop:0})),t)),r)),o),"& .MuiAccordionDetails-root":{borderTop:"1px solid #D9D9D8",marginTop:e.spacing(1),padding:0,display:"block"},"& ul":{listStylePosition:"inside",paddingInlineStart:0,marginBlockStart:0,marginBlockEnd:0,textIndent:"-20px"},"& li":{fontSize:e.typography.body1.fontSize,lineHeight:"140%",padding:e.spacing(2,4,2,5),borderBottom:"solid 1px #D9D9D8"},"& p":{fontSize:e.typography.body1.fontSize,paddingBottom:e.spacing(2),paddingLeft:e.spacing(4.5),lineHeight:"140%",borderBottom:"solid 1px #D9D9D8",marginBottom:0,paddingTop:e.spacing(2)}}}}));function se(e){var t=e.callout,r=e.title,n=e.feature,i=(0,w.Z)(),a=(0,o.useState)(!1),c=a[0],l=a[1],s=(0,C.Z)(i.breakpoints.down("md")),h=le({accordionState:c,callout:t});return(0,g.jsx)(g.Fragment,{children:s?(0,g.jsxs)(d.Z,{flexGrow:1,children:[(0,g.jsx)(d.Z,{borderBottom:1,mx:4,className:h.titleContainer,children:(0,g.jsx)(p.Z,{variant:"h6",gutterBottom:!0,children:(0,g.jsx)(u.Z,{render:r,htmlSerializer:m.x})})}),(0,g.jsx)(d.Z,{className:h.listContainer,children:(0,g.jsxs)(j.Z,{square:!0,onChange:function(e,t){l(t)},children:[(0,g.jsx)(b.Z,{expandIcon:(0,g.jsx)(G.Z,{}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,g.jsx)(p.Z,{className:h.heading,children:"View Details"})}),(0,g.jsx)(y.Z,{children:(0,g.jsx)(u.Z,{render:n})})]})})]}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(d.Z,{borderBottom:1,mx:4,className:h.titleContainer,children:(0,g.jsx)(p.Z,{variant:"h6",gutterBottom:!0,children:(0,g.jsx)(u.Z,{render:r,htmlSerializer:m.x})})}),(0,g.jsx)(d.Z,{className:h.listContainer,children:(0,g.jsx)(u.Z,{render:n})})]})})}function de(e){var t=e.pdpLink,r=e.pdpLabel;return(0,g.jsx)(d.Z,{textAlign:"center",children:(0,g.jsx)(v.Z,{component:P.Z,variant:"outlined",color:"primary",href:t,children:u.Z.asText(r)})})}var pe=r(86977),me=function(e){var t=e.children;return(0,g.jsx)(A,{children:t})};me.displayName="EqualHeight";var ue=me,ge=r(25838),he=r(48122),xe=r(58885),fe=r(47534),je=r(43832),be=r(69135),ye=r(26663),ve=r(5391),Ze=r(90212),we=r(59217),Ce=r(34123);function ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ne(e){for(var t=1;t640?"600px":t.isProductCompareHero?"134px":"auto",backgroundSize:"cover"})},eyeBrowText:function(e){return{"& *":{color:e.eyeBrowTextColor}}},headline:function(e){return{"& *":{color:e.headlineColor,marginBottom:0}}},description:function(e){return{"& *":{color:e.descriptionColor}}}}}));function Oe(e){var t,r=(0,xe.Oc)(),n=r.config,i=r.query,c=r.isCloudFrontMobile,l=(0,w.Z)(),s=(0,xe.yK)(),m=(0,he.mN)(),h=a()(e,"data.primary.title[0].text",void 0)&&a()(e,"data.primary.title"),x=e.label?e.label:"product-navigator",j=!(!x||"product-compare-hero"!==x),b=i&&i.navigator&&""!==i.navigator,y=a()(e,"data.primary.btn_link"),Z=a()(e,"data.primary.btn_label"),N="product-navigator"===x&&a()(e,"data.primary.restart_navigator",!0),T=a()(e,"data.primary.hideimage",!1),_=a()(e,"data.primary.hideslider",!1),S=a()(e,"data.primary.hideall",!1),O=a()(e,"data.primary.scheduler_param"),B=a()(e,"data.orderProduct"),I=a()(e,"data.primary.eyebrow_text[0].text",void 0)?(0,g.jsx)(u.Z,{render:a()(e,"data.primary.eyebrow_text",void 0)}):void 0,M=a()(e,"data.primary.headline[0].text",void 0)?(0,g.jsx)(u.Z,{render:a()(e,"data.primary.headline",void 0)}):void 0,D=a()(e,"data.primary.description[0].text",void 0)?(0,g.jsx)(u.Z,{render:a()(e,"data.primary.description",void 0)}):void 0,E=(0,be.useAmp)(),z="product-compare-hero"===x||"product-compare-new"===x,A=((0,C.Z)(l.breakpoints.down("md"))||c||E)&&!z,H=null===(t=a()(e,"data.primary.trustpilot",void 0))||void 0===t?void 0:t.toLowerCase(),R=a()(e,"data.fields[0].product.star",void 0),L=function(e,t){return function(r){r.preventDefault(),e&&m.pushRoute("page",Ne(Ne({},i),{},{csjId:e,classId:t}))}},U=(0,he.Xv)({__typename:"_internallink",routeNameOrUrl:"page"},Ne(Ne({},i),{},{navigator:void 0})),G=[],W=[];"product-navigator"===x?b&&B[0]&&0!==B[0].weight?(G.push(B.length>=1&&B[0]),W=B.slice(1)):W=B:"highlight-product"===x?(G.push(B[0]),W=B.slice(1)):W=B;var X=Se({bgColor:(0,F.Uh)(a()(e,"data.primary.bg_color",l.palette.background.mediumGray)),bgImage:a()(e,"data.primary.bg_image",void 0),eyeBrowTextColor:a()(e,"data.primary.eyebrow_text_color",l.palette.primary.contrastText),headlineColor:a()(e,"data.primary.headline_color",l.palette.primary.main),descriptionColor:a()(e,"data.primary.description_color",l.palette.primary.main),isProductCompareHero:j}),q=W&&i.selectedProductId&&W.findIndex((function(e){return i.selectedProductId===a()(e,"catalog.productId")})),K=q&&-1!==q?q:0;return(0,g.jsxs)(g.Fragment,{children:[j&&(0,g.jsx)(d.Z,{className:X.productCompareHero,children:(0,g.jsx)(k.Xd,{noLazy:!0,src:e.data&&e.data.primary&&e.data.primary.bg_image,cover:!0,className:"".concat(X.billboardImg," ").concat(X.stacked),children:(0,g.jsxs)(je.Z,{maxWidth:"xl",children:[I&&(0,g.jsx)(d.Z,{className:X.eyeBrowText,children:I}),M&&(0,g.jsx)(d.Z,{className:X.headline,children:M}),D&&(0,g.jsx)(d.Z,{className:X.description,children:D}),H&&"none"!==H&&(0,g.jsx)(d.Z,{pt:1,pb:4,children:E?(0,g.jsx)(Ce.Z,{trustPilotTheme:H}):(0,g.jsx)(we.default,{templateStyleValue:"Micro_Combo-5419b6ffb0d04a076446a9af",star:R,trustPilotTheme:H})})]})})}),(0,g.jsxs)(d.Z,{className:X.cardContainer,id:"card-top","data-slice-position":a()(e,"index"),"data-slice":a()(e,"data.type"),children:[h&&(0,g.jsx)(fe.default,{data:{fields:[{text:h}]},maxWidth:"md",zeroB:!0,zeroT:!0,label:"center"}),(0,g.jsx)(je.Z,{maxWidth:"xl",children:("product-navigator"===x||"highlight-product"===x)&&B.length>0?(0,g.jsxs)(o.Fragment,{children:["highlight-product"===x&&B.length>0&&(0,g.jsxs)(g.Fragment,{children:[b&&void 0===G&&s.navigator&&s.navigator.noMoreQuestion&&(0,g.jsx)(pe.nm,{}),G&&G.map((function(e,t){return(0,g.jsx)(pe.le,{primaryActionButton:(0,g.jsx)(_e,{product:e,onCrossSellJourneyStart:L}),secondaryActionButton:(0,g.jsx)(_e,{product:e,color:"secondary",navigation:"pdp"}),image:a()(e,"product_image"),name:a()(e,"name"),catalog:a()(e,"catalog"),classId:a()(e,"catalog.classId"),promo_text:a()(e,"promo_text"),recommendDesc:a()(e,"recommend_text"),hideRecommendedText:"product-navigator"===x,priceMsg:a()(e,"priceMsg"),showPrice:a()(e,"showPrice"),affirmEligible:a()(e,"catalog.affirmEligible")},t)}))]}),W&&W.length>0&&(0,g.jsxs)(g.Fragment,{children:[("product-navigator"===x||"highlight-product"===x)&&b&&(0,g.jsx)(d.Z,{pb:3,pt:"product-navigator"===x?0:8,children:(0,g.jsx)(p.Z,{variant:"h3",align:"center",children:"YOU MIGHT ALSO LIKE"})}),(0,g.jsx)(d.Z,{pt:3,children:(0,g.jsx)(f.Z,{container:!0,spacing:3,alignItems:"stretch",direction:"row",children:W.map((function(e,t){return(0,g.jsx)(f.Z,{item:!0,xs:12,md:6,children:(0,g.jsx)(pe.xs,{image:a()(e,"product_image"),name:a()(e,"name"),catalog:a()(e,"catalog"),previewDesc:a()(e,"preview_description"),link:a()(e,"pdp_link","#"),priceMsg:a()(e,"priceMsg"),affirmEligible:a()(e,"catalog.affirmEligible"),showPrice:a()(e,"showPrice"),brand:n.theme})},t)}))})})]}),(y||b)&&(0,g.jsx)(d.Z,{pt:8,display:"flex",justifyContent:"center",children:(0,g.jsx)(v.Z,{component:P.Z,onClick:N||b?function(e){e.preventDefault(),m.pushRoute("page",Ne(Ne({},i),{},{navigator:void 0})).then((function(){return window.scrollTo(0,0)}))}:null,href:N||b?U.as:y,param:O,variant:"contained",color:"primary",children:Z?u.Z.asText(Z):"See All Products"})})]}):(0,g.jsxs)(g.Fragment,{children:[A&&(0,g.jsx)(d.Z,{my:4,textAlign:"center",className:X.btnGrpContainer,children:(0,g.jsx)(f.Z,{container:!0,justifyContent:"center",children:(0,g.jsx)(f.Z,{item:!0,xs:12,md:6,children:(0,g.jsx)(ye.Z,{orientation:"vertical",value:K,exclusive:!0,children:W.map((function(e,t){return(0,g.jsx)(ve.Z,{component:P.Z,href:{__typename:"_internallink",routeNameOrUrl:"page"},param:Ne(Ne({},i),{},{selectedProductId:a()(e,"catalog.productId"),scrollTo:"scroll#card-top"}),onClick:function(t){t.preventDefault(),m.pushRoute("page",Ne(Ne({},i),{},{selectedProductId:a()(e,"catalog.productId"),scrollTo:"scroll#card-top"}))},selected:t===K,children:u.Z.asText(a()(e,"name"))},t)}))})})})}),(0,g.jsx)(d.Z,{pt:2,children:(0,g.jsx)(ue,{children:(0,g.jsx)(f.Z,{container:!0,spacing:3,alignItems:"stretch",direction:"row",justifyContent:"center",children:W&&W.filter((function(e,t){return!A||t===K})).map((function(e,t){var r,n,o=3===W.length?4:4===W.length?3:j?4:6;return(0,g.jsx)(f.Z,{item:!0,xs:12,md:6,lg:o,children:(0,g.jsx)(J,{primaryActionButton:"hide"!==e.navigation&&(0,g.jsx)(_e,{size:"auto",product:e,navigation:e.navigation,onCrossSellJourneyStart:L,showPrice:a()(e,"showPrice"),id:t}),catalog:a()(e,"catalog"),promoCatalog:a()(e,"promo_catalog"),name:a()(e,"name"),image:a()(e,"product_image"),priceMsg:a()(e,"priceMsg"),billingMsg:a()(e,"billingMsg"),showPrice:a()(e,"showPrice"),affirmEligible:a()(e,"catalog.affirmEligible"),slider:a()(e,"slider"),feature:a()(e,"feature"),include:a()(e,"include"),btnLabel:Z?u.Z.asText(Z):"See Schedules",href:N||b?U.as:y,pdpLink:a()(e,"pdp_link",""),pdpLabel:a()(e,"pdp_label","#"),promoBgColor:a()(e,"promo_background_color"),promoTextColor:a()(e,"promo_text_color"),productBgColor:a()(e,"product_background_color"),productTextColor:a()(e,"product_text_color"),descriptor:a()(e,"descriptor"),descriptorTextColor:a()(e,"descriptor_text_color"),calloutBgColor:a()(e,"callout_background_color"),callout:a()(e,"callout"),calloutTextColor:a()(e,"callout_text_color"),supportingText:a()(e,"supporting_text"),navigation:a()(e,"navigation",null),hideImage:T,hideSlider:_,hideAll:S,label:x,isNewCompare:z,action:(null===e||void 0===e||null===(r=e.pdp_link)||void 0===r||null===(n=r._meta)||void 0===n?void 0:n.uid)||"#"})},t)}))})})}),A&&(0,g.jsx)(f.Z,{container:!0,justifyContent:"center",children:(0,g.jsx)(f.Z,{item:!0,xs:12,md:6,children:(0,g.jsxs)(d.Z,{mt:6,display:"flex",justifyContent:0===K?"flex-end":"space-between",children:[0!==K&&(0,g.jsxs)(d.Z,{className:X.cardToggleLink,children:[(0,g.jsx)(d.Z,{children:(0,g.jsx)(P.Z,Ne(Ne({},(0,he.Xv)({__typename:"_internallink",routeNameOrUrl:"page"},Ne(Ne({},i),{},{selectedProductId:a()(W[K-1],"catalog.productId"),scrollTo:"scroll#card-top"}))),{},{children:(0,g.jsx)(Ze.Z,{className:"".concat(X.backArrow," ").concat(X.arrowIcon)})}))}),(0,g.jsx)(d.Z,{ml:1,mr:2,children:(0,g.jsx)(P.Z,Ne(Ne({variant:"body2"},(0,he.Xv)({__typename:"_internallink",routeNameOrUrl:"page"},Ne(Ne({},i),{},{selectedProductId:a()(W[K-1],"catalog.productId"),scrollTo:"scroll#card-top"}))),{},{children:u.Z.asText(a()(W[K-1],"name"))}))})]}),K