(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5619],{43897:function(e,t,n){"use strict";n.d(t,{c:function(){return E}});var o,r,i,c,l,a,d,s,u,m,p,b,y=n(2784),g=n(50311),h=n(4227),f=n(7328),x=n(25237),v=n.n(x),k=n(81292),P=n(87330),S=n(52322),w=v()(function(){return Promise.resolve().then(n.bind(n,34985))},{ssr:!0,fallback:(0,S.jsx)("div",{style:{width:24,height:24}}),loadableGenerated:{webpack:function(){return[34985]}}}),T=v()(function(){return Promise.resolve().then(n.bind(n,99337))},{ssr:!0,fallback:(0,S.jsx)("div",{style:{width:24,height:24}}),loadableGenerated:{webpack:function(){return[99337]}}}),j=v()(function(){return Promise.resolve().then(n.bind(n,97457))},{ssr:!0,fallback:(0,S.jsx)("div",{style:{width:24,height:24}}),loadableGenerated:{webpack:function(){return[97457]}}}),O=g.zo.div(o||(o=(0,f.Z)(["\n ","\n\n "," {\n ","\n }\n\n width: ",";\n height: 48px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n"])),function(e){return e.alternateWidth&&"max-width: 100px;"},function(e){return(0,k.mq)(e.theme.breakpointUtils.map,"sm")},function(e){return e.alternateWidth&&"max-width: 160px;"},function(e){return e.alternateWidth?"auto":e.quantityAsLabel?"160px":"144px"}),D=(0,g.iv)(r||(r=(0,f.Z)(["\n width: 24px;\n height: 24px;\n transition: 0.3s ease;\n margin: auto;\n fill: ",";\n"])),function(e){var t=e.theme;return e.isDisabled?t.colors.palette.greys.light:t.colors.palette.greys.darker}),A=(0,g.zo)(w)(i||(i=(0,f.Z)(["\n ","\n"])),D),C=(0,g.zo)(T)(c||(c=(0,f.Z)(["\n ","\n"])),D),R=(0,g.zo)(j)(l||(l=(0,f.Z)(["\n ","\n"])),D),I=(0,g.iv)(a||(a=(0,f.Z)(["\n height: 48px;\n width: 48px;\n transition: background 0.3s ease;\n display: flex;\n border-radius: ","px;\n border: ",";\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n background-color: ",";\n border: ","px\n solid ",";\n }\n\n &:disabled {\n cursor: not-allowed;\n background: none;\n "," {\n fill: ",";\n stroke: ",";\n }\n "," {\n fill: ",";\n stroke: ",";\n }\n }\n\n outline: none;\n"])),function(e){return e.theme.elements.quantitySelector.border.borderRadius},function(e){return"".concat(e.theme.elements.quantitySelector.border.borderWidth,"px solid ").concat(e.theme.colors.palette.greys.grey)},function(e){return e.theme.colors.palette.brand.lightest},function(e){return e.theme.colors.palette.brand.lighter},function(e){return e.theme.colors.palette.brand.lightest},function(e){return e.theme.elements.quantitySelector.border.borderWidth+1},function(e){return e.theme.colors.palette.brand.base},A,function(e){return e.theme.colors.palette.greys.light},function(e){return e.theme.colors.palette.greys.light},C,function(e){return e.theme.colors.palette.greys.light},function(e){return e.theme.colors.palette.greys.light}),N=g.zo.button(d||(d=(0,f.Z)(["\n ","\n"])),I),B=g.zo.button(s||(s=(0,f.Z)(["\n ","\n border-left: ","px solid transparent;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n"])),I,function(e){return e.theme.elements.quantitySelector.border.borderWidth}),Z=g.zo.button(u||(u=(0,f.Z)(["\n ","\n border-right: ","px solid transparent;\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n"])),I,function(e){return e.theme.elements.quantitySelector.border.borderWidth}),z=g.zo.span(m||(m=(0,f.Z)(["\n ","\n"])),(0,P.xv)("bodyText","default")),W=g.zo.label(p||(p=(0,f.Z)(["\n width: ",";\n height: 100%;\n"])),function(e){return e.alternateWidth?"fit-content":"64px"}),L=g.zo.input(b||(b=(0,f.Z)(["\n height: 100%;\n width: 100%;\n border-top: ","px\n solid ",";\n border-bottom: ","px\n solid ",";\n border-left: none;\n border-right: none;\n border-radius: 0;\n\n ","\n text-align: center;\n\n &:focus-visible {\n border: ","px\n solid ",";\n border-radius: 0;\n }\n\n outline: none;\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n & {\n -moz-appearance: textfield;\n }\n"])),function(e){return e.theme.elements.quantitySelector.border.borderWidth},function(e){return e.theme.colors.palette.greys.grey},function(e){return e.theme.elements.quantitySelector.border.borderWidth},function(e){return e.theme.colors.palette.greys.grey},(0,P.xv)("bodyText","default"),function(e){return e.theme.elements.quantitySelector.border.borderWidth+1},function(e){return e.theme.colors.palette.brand.base}),E=function(e){var t=e.minValue,n=void 0===t?1:t,o=e.maxValue,r=e.quantityChangedCallback,i=e.quantity,c=e.i18nText,l=e.editable,a=e.className,d=e.stepValue,s=e.showInnerBorders,u=e.disabled,m=e.alternateWidth,p=y.useRef(null),b=(0,g.Fg)(),f=i===o,x=i===n,v=s?N:Z,k=s?N:B,P=u||x?b.colors.palette.greys.light:b.colors.palette.greys.darker,w=u||f?b.colors.palette.greys.light:b.colors.palette.greys.darker;return(0,S.jsx)(O,{className:a,quantityAsLabel:l,alternateWidth:m,children:(0,S.jsxs)(y.Fragment,{children:[(0,S.jsx)(v,{"data-testid":"quantity-selector-decrement-button","aria-label":"decrease-quantity-button",disabled:x,onClick:function(e){e.preventDefault(),e.stopPropagation(),!u&&r&&r(Math.max((i||n)-(d||1),n))},children:b.elements.quantitySelector.icon.minus.svgPath?(0,S.jsx)(R,{xmlns:"http://www.w3.org/2000/svg",viewBox:b.elements.quantitySelector.icon.viewBox,width:b.elements.quantitySelector.icon.width,height:b.elements.quantitySelector.icon.height,isDisabled:u||x,children:(0,S.jsx)("path",{d:b.elements.quantitySelector.icon.minus.svgPath,fillRule:"evenodd"})}):(0,S.jsx)(A,{isDisabled:u||x,fill:P})}),l?(0,S.jsxs)(W,{alternateWidth:m,children:[(0,S.jsx)(h.T,{text:c.quantityLabel}),(0,S.jsx)(L,{"data-testid":"quantity-selector-label",ref:p,value:null===i?"":i,type:"text",pattern:"[0-9]*",inputMode:"numeric","aria-live":"assertive","aria-atomic":"true",disabled:n>o,onChange:function(e){var t=parseInt(e.currentTarget.value,10);r&&r(isNaN(t)?null:Math.min(Math.max(t,n),o))},onBlur:function(){(null===i||isNaN(i))&&r&&r(n)}})]}):(0,S.jsxs)(z,{"aria-live":"assertive","aria-atomic":"true","data-testid":"quantity-selector-value-label",children:[(0,S.jsx)(h.T,{text:c.quantityLabel}),i]}),(0,S.jsx)(k,{"data-testid":"quantity-selector-increment-button-","aria-label":"increase-quantity-button","aria-describedby":f?"platform-message-text":void 0,disabled:f,onClick:function(e){e.preventDefault(),e.stopPropagation(),!u&&r&&r(Math.min((i>=0?i:o)+(d||1),o))},children:b.elements.quantitySelector.icon.plus.svgPath?(0,S.jsx)(R,{xmlns:"http://www.w3.org/2000/svg",viewBox:b.elements.quantitySelector.icon.viewBox,width:b.elements.quantitySelector.icon.width,height:b.elements.quantitySelector.icon.height,isDisabled:u||f,children:(0,S.jsx)("path",{d:b.elements.quantitySelector.icon.plus.svgPath,fillRule:"evenodd"})}):(0,S.jsx)(C,{isDisabled:u||f,fill:w})})]})})}},31162:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var o,r=n(95235),i=n(7328);n(2784);var c=n(89495),l=n(48840),a=n(60299),d=n(87330),s=n(52322);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}var m=(0,l.zo)(c.kC)(o||(o=(0,i.Z)(["\n flex-basis: 100%;\n align-items: center;\n ","\n ","\n\n color: ",";\n ","\n\n ","\n \n &::before {\n content: '';\n flex-grow: 1;\n background: ",";\n height: ",";\n font-size: 0;\n line-height: 0;\n ",";\n }\n &::after {\n content: '';\n flex-grow: 1;\n background: ",";\n height: ",";\n font-size: 0;\n line-height: 0;\n ","\n }\n"])),function(e){return e.maxWidth&&"max-width: ".concat(e.maxWidth,"px;")},function(e){return e.separatorMargin&&(0,a.e)(e.separatorMargin)},function(e){return e.theme.colors.palette.greys.dark},function(e){return(0,d.xv)(e.theme.separator.font.entry,e.theme.separator.font.style)},function(e){var t,n,o,r;return e.withSpacing&&(null!==(t=e.separatorMargin)&&void 0!==t&&t.top&&null!==(n=e.separatorMargin)&&void 0!==n&&n.bottom?"margin-top: ".concat(null===(o=e.separatorMargin)||void 0===o?void 0:o.top," px; margin-bottom: ").concat(null===(r=e.separatorMargin)||void 0===r?void 0:r.bottom,"px;"):"margin-top: ".concat((0,l.W0)(2.5),"; margin-bottom: ").concat((0,l.W0)(2.5),";"))},function(e){return e.separatorColor||e.theme.colors.palette.greys.light},function(e){return"".concat(e.height||1,"px")},function(e){return e.children?"margin-right: 15px":""},function(e){return e.separatorColor||e.theme.colors.palette.greys.light},function(e){return"".concat(e.height||1,"px")},function(e){return e.children?"margin-left: 15px":""}),p=function(e){return(0,s.jsx)(m,function(e){for(var t=1;ti.indexOf(t.key)?1:i.indexOf(t.key)>i.indexOf(e.key)?-1:0}),n}},4232:function(e,t,n){"use strict";n.d(t,{T:function(){return c},d:function(){return i}});var o=n(10442),r=n.n(o),i={AED:{code:"AED",symbol:"AED"},AFN:{code:"AFN",symbol:"Afs"},ALL:{code:"ALL",symbol:"L"},AMD:{code:"AMD",symbol:"AMD"},AOA:{code:"AOA",symbol:"Kz"},ARS:{code:"ARS",symbol:"AR$"},AUD:{code:"AUD",symbol:"A$"},AZN:{code:"AZN",symbol:"AZN"},BAM:{code:"BAM",symbol:"KM"},BDT:{code:"BDT",symbol:"৳"},BGN:{code:"BGN",symbol:"лв"},BHD:{code:"BHD",symbol:"BD"},BND:{code:"BND",symbol:"B$"},BOB:{code:"BOB",symbol:"$b"},BRL:{code:"BRL",symbol:"R$"},BYR:{code:"BYR",symbol:"p."},CAD:{code:"CAD",symbol:"CA$"},CHF:{code:"CHF",symbol:"CHF"},CLP:{code:"CLP",symbol:"CL$"},CNY:{code:"CNY",symbol:"\xa5"},COP:{code:"COP",symbol:"CO$"},CRC:{code:"CRC",symbol:"₡"},CUC:{code:"CUC",symbol:"CUC$"},CZK:{code:"CZK",symbol:"Kč"},DKK:{code:"DKK",symbol:"kr"},DOP:{code:"DOP",symbol:"RD$"},DZD:{code:"DZD",symbol:"DA"},EGP:{code:"EGP",symbol:"E\xa3"},EUR:{code:"EUR",symbol:"€"},FJD:{code:"FJD",symbol:"FJ$"},GBP:{code:"GBP",symbol:"\xa3"},HKD:{code:"HKD",symbol:"HK$"},HRK:{code:"HRK",symbol:"kn"},HUF:{code:"HUF",symbol:"Ft"},IDR:{code:"IDR",symbol:"Rp"},ILS:{code:"ILS",symbol:"₪"},INR:{code:"INR",symbol:"₹"},IQD:{code:"IQD",symbol:"IQD"},IRR:{code:"IRR",symbol:"IRR"},ISK:{code:"ISK",symbol:"kr"},JMD:{code:"JMD",symbol:"J$"},JPY:{code:"JPY",symbol:"\xa5"},KES:{code:"KES",symbol:"KSh"},KRW:{code:"KRW",symbol:"₩"},KWD:{code:"KWD",symbol:"K.D."},KZT:{code:"KZT",symbol:"₸"},LBP:{code:"LBP",symbol:"LBP"},LKR:{code:"LKR",symbol:"Rs"},MAD:{code:"MAD",symbol:"MAD"},MKD:{code:"MKD",symbol:"ден"},MOP:{code:"MOP",symbol:"MOP$"},MXN:{code:"MXN",symbol:"MXN",prefix:"$"},MYR:{code:"MYR",symbol:"RM"},NGN:{code:"NGN",symbol:"₦"},PEN:{code:"PEN",symbol:"S/"},PHP:{code:"PHP",symbol:"₱"},PKR:{code:"PKR",symbol:"₨"},PLN:{code:"PLN",symbol:"zł"},PYG:{code:"PYG",symbol:"₲"},QAR:{code:"QAR",symbol:"QR"},RON:{code:"RON",symbol:"RON"},RSD:{code:"RSD",symbol:"din"},RUB:{code:"RUB",symbol:"руб"},SAR:{code:"SAR",symbol:"SR"},SEK:{code:"SEK",symbol:"kr"},SGD:{code:"SGD",symbol:"S$"},THB:{code:"THB",symbol:"฿"},TND:{code:"TND",symbol:"DT"},TRY:{code:"TRY",symbol:"TRY"},TWD:{code:"TWD",symbol:"NT$"},UAH:{code:"UAH",symbol:"₴"},USD:{code:"USD",symbol:"$"},UYU:{code:"UYU",symbol:"$U"},UZS:{code:"UZS",symbol:"лв"},VEF:{code:"VEF",symbol:"Bs."},VND:{code:"VND",symbol:"₫"},WST:{code:"WST",symbol:"WS$"},XCD:{code:"XCD",symbol:"EC$"},ZAR:{code:"ZAR",symbol:"R"},NOK:{code:"NOK",symbol:"kr"},NZD:{code:"NZD",symbol:"NZ$"},OMR:{code:"OMR",symbol:"OMR"}},c=function(e,t,n){var o=function(e,t,n){return -1!==e.split("").indexOf("-")?n?"-".concat(t," ").concat(e.replace("-","")):"-".concat(t).concat(e.replace("-","")):n?"".concat(t," ").concat(e):"".concat(t).concat(e)};switch(e){case i.AED.code:return r()("#,##0.00 ".concat(i.AED.symbol),t);case i.AFN.code:return o(r()("0",t),i.AFN.symbol);case i.ALL.code:return o(r()("0",t),i.ALL.symbol);case i.AMD.code:return o(r()("#,##0.",t),i.AMD.symbol,!0);case i.AOA.code:return o(r()("0",t),i.AOA.symbol);case i.ARS.code:return o(r()("# ##0,00",t),i.ARS.symbol);case i.AUD.code:return o(r()("0.00",t),i.AUD.symbol);case i.AZN.code:return r()("0,00 ".concat(i.AZN.symbol),t);case i.BAM.code:return r()("#,##0.00".concat(i.BAM.symbol),t);case i.BDT.code:return o(r()("#,##0.",t),i.BDT.symbol);case i.BGN.code:return r()("0,00 ".concat(i.BGN.symbol),t);case i.BHD.code:return o(r()("#,##0.000",t),i.BHD.symbol);case i.BND.code:return o(r()("#,##0.00",t),i.BND.symbol);case i.BOB.code:return o(r()("#,##0.00",t),i.BOB.symbol);case i.BRL.code:return o(r()("0,00",t),i.BRL.symbol,!0);case i.BYR.code:return o(r()("0.",t),i.BYR.symbol);case i.CAD.code:return o(r()("0.00",t),i.CAD.symbol);case i.CHF.code:return o(r()("0.00",t),i.CHF.symbol,!0);case i.CLP.code:return o(r()("# ##0.",t),i.CLP.symbol);case i.CNY.code:return o(r()("0.00",t),i.CNY.symbol);case i.COP.code:return o(r()("# ##0.",t),i.COP.symbol);case i.CRC.code:return o(r()("# ##0,00",t),i.CRC.symbol);case i.CUC.code:return o(r()("#,##0.00",t),i.CUC.symbol);case i.CZK.code:return r()("0.00 ".concat(i.CZK.symbol),t);case i.DKK.code:return r()("0. ".concat(i.DKK.symbol),t);case i.DOP.code:return o(r()("#,##0.",t),i.DOP.symbol);case i.DZD.code:return r()("0.".concat(i.DZD.symbol),t);case i.EGP.code:return o(r()("#,##0.00",t),i.EGP.symbol);case i.EUR.code:return function(e,t){switch(t){case"de_DE":case"fr_FR":case"es_ES":case"fi_FI":return r()("0,00 ".concat(i.EUR.symbol),e);case"en_IE":case"en_GB":case"zh_CN":return o(r()("0.00",e),i.EUR.symbol);case"nl_NL":case"nl_BE":return o(r()("0,00",e),i.EUR.symbol);default:return r()("#,##0.00".concat(i.EUR.symbol),e)}}(t,n);case i.FJD.code:return o(r()("#,##0.00",t),i.FJD.symbol);case i.GBP.code:return o(r()("#,##0.00",t),i.GBP.symbol);case i.HKD.code:return o(r()("0.00",t),i.HKD.symbol);case i.HRK.code:return r()("0,00 ".concat(i.HRK.symbol),t);case i.HUF.code:return r()("0 000. ".concat(i.HUF.symbol),t);case i.IDR.code:return o(r()("#.##0,00",t),i.IDR.symbol,!0);case i.ILS.code:return r()("0,00 ".concat(i.ILS.symbol),t);case i.INR.code:return o(r()("0.",t),i.INR.symbol);case i.IQD.code:return r()("#,##0. ".concat(i.IQD.symbol),t);case i.IRR.code:return r()("#,##0. ".concat(i.IRR.symbol),t);case i.ISK.code:return o(r()("# ##0.",t),i.ISK.symbol);case i.JMD.code:return o(r()("#,##0.00",t),i.JMD.symbol);case i.JPY.code:return o(r()("#,##0.",t),i.JPY.symbol);case i.KES.code:return o(r()("#,##0.",t),i.KES.symbol);case i.KRW.code:return o(r()("#,##0.",t),i.KRW.symbol);case i.KWD.code:return r()("#,##0.000".concat(i.KWD.symbol),t);case i.KZT.code:return o(r()("###0.",t),i.KZT.symbol);case i.LBP.code:return r()("# ##0. ".concat(i.LBP.symbol),t);case i.LKR.code:return o(r()("#,##0.",t),i.LKR.symbol);case i.MAD.code:return r()("###0.00 ".concat(i.MAD.symbol),t);case i.MKD.code:return o(r()("#,##0.",t),i.MKD.symbol);case i.MOP.code:return o(r()("#,##0.00",t),i.MOP.symbol);case i.MXN.code:return o(r()("###0.00 ".concat(i.MXN.symbol),t),i.MXN.prefix,!0);case i.MYR.code:return o(r()("#,##0.00",t),i.MYR.symbol);case i.NGN.code:return o(r()("###0.",t),i.NGN.symbol);case i.NOK.code:return o(r()("0,00",t),i.NOK.symbol);case i.NZD.code:return o(r()("0.00",t),i.NZD.symbol);case i.OMR.code:return r()("#,##0.000 ".concat(i.OMR.symbol),t);case i.PEN.code:return o(r()("#,##0.00",t),i.PEN.symbol);case i.PHP.code:return o(r()("#,##0.",t),i.PHP.symbol);case i.PKR.code:return o(r()("#,##0.",t),i.PKR.symbol);case i.PLN.code:return r()("0.00 ".concat(i.PLN.symbol),t);case i.PYG.code:return o(r()("0",t),i.PYG.symbol);case i.QAR.code:return r()("0.00".concat(i.QAR.symbol),t);case i.RON.code:return r()("0.00".concat(i.RON.symbol),t);case i.RSD.code:return r()("0".concat(i.RSD.symbol),t);case i.RUB.code:return r()("# ##0. ".concat(i.RUB.symbol),t);case i.SAR.code:return r()("#,##0.00".concat(i.SAR.symbol),t);case i.SEK.code:return r()("0 ".concat(i.SEK.symbol),t);case i.SGD.code:return o(r()("0.00",t),i.SGD.symbol);case i.THB.code:return o(r()("#,##0.00",t),i.THB.symbol);case i.TND.code:return r()("0.00".concat(i.TND.symbol),t);case i.TRY.code:return o(r()("#,##0.000",t),i.TRY.symbol,!0);case i.TWD.code:return o(r()("0",t),i.TWD.symbol);case i.UAH.code:return o(r()("# ##0,00",t),i.UAH.symbol,!0);case i.USD.code:return o(r()("0.00",t),i.USD.symbol);case i.UYU.code:return o(r()("# ##0.",t),i.UYU.symbol);case i.UZS.code:return o(r()("0",t),i.UZS.symbol);case i.VEF.code:return o(r()("# ##0,00",t),i.VEF.symbol);case i.VND.code:return o(r()("# ##0.",t),i.VND.symbol);case i.WST.code:return o(r()("#,##0.00",t),i.WST.symbol);case i.XCD.code:return o(r()("#,##0.00",t),i.XCD.symbol);case i.ZAR.code:return o(r()("0.00",t),i.ZAR.symbol);default:try{return new Intl.NumberFormat(n.replace("_","-"),{currency:e,style:"currency"}).format(t)}catch(e){return r()("0.00",t)}}}},88124:function(e,t,n){"use strict";n.d(t,{e:function(){return O},K:function(){return j}}),n(2784);var o,r,i,c,l,a,d,s,u=n(53266),m=n(7328),p=n(11006),b=n(81292),y=n(87330),g=n(48840),h=n(50556),f=p.zo.div(r||(r=(0,m.Z)(["\n display: flex;\n flex-direction: column;\n ","\n justify-content: space-evenly;\n"])),function(e){return e.horizontalAlignment===j.ALTERNATE&&"".concat((0,b.mq)(e.theme.breakpointUtils.map,"sm")," {\n flex-direction: row;\n }")}),x=p.zo.div(i||(i=(0,m.Z)(["\n width: 100%;\n height: 100%;\n ",";\n"])),function(e){return e.horizontalAlignment===j.ALTERNATE&&"".concat((0,b.mq)(e.theme.breakpointUtils.map,"sm")," {flex-basis: 40%;")}),v=(0,p.zo)(h.T)(c||(c=(0,m.Z)(["\n ",";\n margin-bottom: ",";\n margin-right: 0;\n\n ","\n\n "," {\n margin-right: ",";\n }\n"])),function(e){return(0,y.xv)(e.theme.widget.accordionContainer.title.font.entry,e.theme.widget.accordionContainer.title.font.style)},function(e){return e.fitTitles?"0":"".concat((0,g.W0)(2))},function(e){return e.horizontalAlignment===j.CENTER?"text-align: center;":"text-align: left;"},function(e){return(0,b.mq)(e.theme.breakpointUtils.map,"sm")},function(e){return e.addTitleRightMarginA11y?"".concat((0,g.W0)(10)):"0"}),k=p.zo.div(l||(l=(0,m.Z)(["\n ",";\n margin-bottom: ",";\n margin-bottom: ",";\n ","\n"])),function(e){return(0,y.xv)(e.theme.widget.accordionContainer.subtitle.font.entry,e.theme.widget.accordionContainer.subtitle.font.style)},(0,g.W0)(4),function(e){return e.fitTitles?"".concat((0,g.W0)(3)):"".concat((0,g.W0)(4))},function(e){return e.horizontalAlignment===j.CENTER?"text-align: center;":"text-align: left;"}),P=p.zo.div(a||(a=(0,m.Z)(["\n width: 100%;\n ",";\n"])),function(e){return e.horizontalAlignment===j.ALTERNATE&&"width 100%; ".concat((0,b.mq)(e.theme.breakpointUtils.map,"sm")," {flex-basis: 60%;}")}),S=(0,p.zo)(h.T)(d||(d=(0,m.Z)(["\n ",";\n margin: "," auto;\n padding: ",";\n"])),(0,y.xv)("bodyText","default"),(0,g.W0)(1),function(e){return e.contentPadding?"0 ".concat((0,g.W0)(1)," ").concat((0,g.W0)(2)):"0"}),w=(0,p.zo)(h.T)(s||(s=(0,m.Z)(["\n ",";\n text-align: left;\n padding: ",";\n\n & span {\n display: inline-block;\n background: ",";\n color: ",";\n }\n"])),function(e){var t,n,o,r;return(0,y.xv)(null!==(t=null===(n=e.textStyle)||void 0===n?void 0:n.entry)&&void 0!==t?t:e.theme.widget.accordionContainer.accordion.title.entry,null!==(o=null===(r=e.textStyle)||void 0===r?void 0:r.style)&&void 0!==o?o:e.theme.widget.accordionContainer.accordion.title.style)},function(e){return e.contentPadding?"0 ".concat((0,g.W0)(1)," "):"0"},function(e){return e.theme.colors.palette.greys.darker},function(e){return e.theme.colors.palette.greys.white}),T=n(52322),j=((o={}).ALTERNATE="alternate",o.LEFT="left",o.CENTER="center",o),O=function(e){var t=e.items.map(function(t,n){return(0,T.jsxs)(u.UQ,{title:(0,T.jsx)(w,{textStyle:t.textStyle,contentPadding:e.contentPadding,content:t.title,__dangerouslyAllowedTags:["span"]}),focusRef:t.focusRef,subtitleElement:t.subtitleElement,id:n.toString(),isOpen:t.isOpen,focusColour:e.focusColour||"brand",borderPlacement:t.borderPlacement||u.or.BOTTOM,children:[t.content&&(0,T.jsx)(S,{contentPadding:e.contentPadding,content:t.content}),t.elementContent]},n)});return(0,T.jsxs)(f,{horizontalAlignment:e.alignment,className:e.className,children:[(e.title||e.subtitle)&&(0,T.jsxs)(x,{horizontalAlignment:e.alignment,children:[e.title&&(0,T.jsx)(v,{"data-testid":"title",renderedAs:e.heading||"h1",horizontalAlignment:e.alignment,fitTitles:e.fitTitles,addTitleRightMarginA11y:e.addTitleRightMarginA11y,content:e.title}),e.subtitle&&(0,T.jsx)(k,{"data-testid":"subtitle",horizontalAlignment:e.alignment,fitTitles:e.fitTitles,children:e.subtitle})]}),0!==e.items.length&&(0,T.jsx)(P,{horizontalAlignment:e.alignment,children:t})]})}},85619:function(e,t,n){"use strict";n.r(t),n.d(t,{BuildYourOwnBundleRenderer:function(){return nt}});var o,r,i,c,l,a,d,s,u,m,p,b,y,g,h,f,x,v,k,P,S,w,T,j,O,D,A,C,R,I,N,B,Z,z,W,L,E,K,F,U,M,V,q,_,Y,H,G,Q,$,J,X,ee,et,en,eo,er,ei,ec,el=n(95235),ea=n(2784),ed=n(52746),es=n(20406),eu=n(8529),em=n(82841),ep=n.n(em),eb=n(88472),ey=n(58406),eg=n(26251),eh=n(41857),ef=n(28885),ex=n(92210),ev=n(73153),ek=n(4232),eP=n(88124),eS=n(4626),ew=n(53266),eT=n(53055),ej=n(17433),eO=n(77316),eD=n(41209),eA=n(47630);function eC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function eR(e){for(var t=1;t1&&j>=0,C=v?(0,ej.S)(v.product,a):null,R=(null==C?void 0:C.items.map(function(e){return tc(tc({},e),{},{title:i("product.content.".concat(e.titleKey,".title.text"))})}))||[],I=(null==C?void 0:C.details.map(function(e){return tc(tc({},e),{},{title:i("product.content.".concat(e.titleKey,".title.text"))})}))||[];return(0,tr.jsxs)("div",{style:{position:"relative",height:"100%"},children:[(0,tr.jsx)(e$,tc(tc({},e.product),{},{removeATags:!0,marketedSpecialOffer:void 0,content:void 0,icons:void 0,url:"",button:{title:"",disabled:!0,disableHref:!0},review:null!==(r=e.product)&&void 0!==r&&r.reviews?{starRating:e.product.reviews.averageScore,numberOfReviews:e.product.reviews.total,screenReaderOnlyText:(n=(t={score:e.product.reviews.averageScore,total:e.product.reviews.total}).score,o=t.total,"".concat(n," ").concat(k.reviewsStarsLabel," ").concat(o," ").concat(k.reviewsLabel))}:null,disableUrl:!0,attributes:{justifyContent:"start",alignItems:"start"},selectedProduct:S,onClickEventEmitter:function(){var t;e.product.inStock&&eZ(e.product.sku,e.categoryId,e.setSelectedBundleProducts,e.maxProductsPerCategory,Number(null===(t=e.product)||void 0===t||null===(t=t.price)||void 0===t?void 0:t.price.amount),w,P,S,e.numberOfProductsInSelectedCategory,g)},notSelectable:!e.product.inStock,maxProductsSelected:w||e.maxProductsPerCategory===e.numberOfProductsInSelectedCategory,title:{value:e.product.title||"",useAlternateStyle:!1},isProductSelected:A})),!e.product.inStock&&(0,tr.jsxs)(to,{children:[(0,tr.jsx)(e6,{children:k.soldOutText}),(0,tr.jsx)(e7,{children:k.backInStockSoon})]}),S&&(0,tr.jsx)(e2,{children:(0,tr.jsx)(eX,{onClick:function(){return eI(e.product.sku,e.setSelectedBundleProducts)}})}),(0,tr.jsx)(e9,{"aria-label":k.productInfoAriaLabel||"Product Information",onClick:function(){m(!0),x({variables:{sku:e.product.sku,keys:a}})},children:(0,tr.jsx)(te,{})}),u&&(0,tr.jsx)(eO.u_,{open:u,onClose:function(){return m(!1)},i18nText:{closeLabel:k.closeLabel,closeAriaLabel:k.closeAriaLabel},gridColSpan:[12,6,8,8],children:(0,tr.jsxs)(ea.Fragment,{children:[(0,tr.jsx)(tt,{children:k.productInfoTitle}),(0,tr.jsx)(tn,{children:e.product.title}),(0,tr.jsx)(eD.v,{items:R,details:{title:k.productCategoryTitle,items:I}})]})}),A&&e.maxProductsPerCategory>1&&(0,tr.jsx)(e0,{children:(0,tr.jsx)(e1,tc(tc({},D),{},{quantityChangedCallback:function(t){t&&ez(e.product.sku,t,e.setSelectedBundleProducts,g)}}))})]})},ta=function(e){var t;return(0,tr.jsx)(eJ,{children:null===(t=e.productCategory.productBlocks)||void 0===t?void 0:t.map(function(t,n){return(0,tr.jsx)(eS.P,{colSpan:[6,4,3,3],children:(0,tr.jsx)(tl,{product:t,numberOfProductsInSelectedCategory:e.numberOfProductsInSelectedCategory,categoryId:e.productCategory.id,setSelectedBundleProducts:e.setSelectedBundleProducts,selectedBundleProducts:e.selectedBundleProducts,maxProductsPerCategory:e.productCategory.maxProducts||t6,enableQuantitySelector:e.enableQuantitySelector,availableBundleQuantitySelection:e.availableBundleQuantitySelection},"".concat(n,"-").concat(t.title))},"".concat(n,"-").concat(t.title))})})},td=function(e){var t={itemsSelectedText:(0,ef.ag)("widget.buildyourbundle.selected.text"),numberOfItemsText:(0,ef.ag)("widget.buildyourbundle.oftext.text","".concat(e.categoryMaxProducts)),chooseItemsText:(0,ef.ag)("widget.buildyourbundle.chooseitems.text")};return e.selectedProductCount?(0,tr.jsxs)(e5,{children:[(e.selectedProductCount===e.categoryMaxProducts||e.isBundleFull)&&(0,tr.jsx)(e4,{}),(0,tr.jsxs)(e3,{maxProductsReached:e.selectedProductCount===e.categoryMaxProducts||e.isBundleFull,children:[e.selectedProductCount," ",e.categoryMaxProducts&&t.numberOfItemsText," ",t.itemsSelectedText]})]}):(0,tr.jsx)(e8,{children:t.chooseItemsText})},ts=function(e){var t,n=null===(t=e.banners)||void 0===t?void 0:t.map(function(){return ea.useRef(null)}),o=(0,ey.Fg)();return ea.useEffect(function(){if(null!==e.focusedAccordionItem){var t;null===(t=n[e.focusedAccordionItem].current)||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"})}},[e.focusedAccordionItem]),(0,tr.jsx)(eJ,{children:(0,tr.jsx)(eS.P,{colSpan:12,children:(0,tr.jsx)(eQ,{items:e.banners.map(function(t,r){var i=e.selectedBundleProducts.filter(function(e){return e.categoryId===t.id}).reduce(function(e,t){return e+t.quantity},0);return{key:t.id,textStyle:o.widget.buildYourOwnBundle.components.accordion.title.font,title:t.categoryTitle,subtitleElement:(0,tr.jsx)(td,{selectedProductCount:i,categoryMaxProducts:t.maxProducts,isBundleFull:0===e.availableBundleQuantitySelection}),elementContent:(0,tr.jsx)(ta,{productCategory:t,setSelectedBundleProducts:e.setSelectedBundleProducts,selectedBundleProducts:e.selectedBundleProducts,numberOfProductsInSelectedCategory:i,enableQuantitySelector:t.enableQuantitySelector,availableBundleQuantitySelection:e.availableBundleQuantitySelection}),isOpen:!!e.expandAllCategories||0===r,focusRef:n[r],borderPlacement:ew.or.TOP}}),alignment:eP.K.LEFT})})})},tu=n(50556),tm=n(51339),tp=n(92526),tb=((o={}).CIRCULAR="circular",o.BAR="bar",o),ty=((r={}).FULL="full-circle",r.SEMI="semi-circle",r),tg=((i={}).FIXED="fixed",i.UNSET="unset",i),th=eF.zo.div(T||(T=(0,eW.Z)(["\n position: absolute;\n width: 200px;\n height: 200px;\n transform: rotate(45deg);\n top: 150px;\n background-color: ",";\n"])),function(e){return e.theme.colors.palette.greys.white}),tf=(0,eF.zo)(tu.T)(j||(j=(0,eW.Z)(["\n ",";\n text-align: center;\n"])),(0,eM.xv)("bodyText","alternate")),tx=eF.zo.div(O||(O=(0,eW.Z)(["\n height: 100%;\n width: ","%;\n background-color: ",";\n transition: 0.3s ease;\n border-radius: 8px;\n"])),function(e){return e.completedRatio},function(e){return e.theme.colors.palette.brand.base}),tv=eF.zo.div(D||(D=(0,eW.Z)(["\n width: 100%;\n height: ","px;\n margin: auto 0;\n border-radius: 8px;\n background-color: ",";\n"])),function(e){return e.height||14},function(e){return e.backgroundColor||e.theme.colors.palette.greys.grey}),tk=eF.zo.div(A||(A=(0,eW.Z)(["\n width: 100%;\n display: flex;\n gap: ",";\n position: relative;\n flex-direction: column;\n ","\n"])),(0,eF.W0)(1),function(e){return e.position===tg.FIXED&&"margin: 0 ".concat((0,eF.W0)(2)," ").concat((0,eF.W0)(1)," 0;")}),tP=eF.zo.div(C||(C=(0,eW.Z)(["\n ","\n\n width: 100%;\n height: ",";\n box-sizing: border-box;\n ",";\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n"])),function(e){return e.position===tg.FIXED&&(0,eF.iv)(R||(R=(0,eW.Z)(["\n position: fixed;\n bottom: 0;\n left: 0;\n border-top: 1px solid ",";\n background-color: ",";\n ","\n "," {\n display: none;\n }\n "])),e.theme.colors.palette.greys.light,function(e){return e.theme.colors.palette.greys.white},(0,eF.W5)(eF.xU.Base),function(e){return(0,eU.mq)(e.theme.breakpointUtils.map,"lg")})},function(e){return e.height||"82px"},function(e){return(0,tp.o)(e.padding)}),tS=eF.zo.div(I||(I=(0,eW.Z)(["\n position: absolute;\n text-align: center;\n ",";\n"])),function(e){return e.shape===ty.FULL?"\n transform: translateY(-50%);\n top: 50%;\n ":"top: 70px;"}),tw=eF.zo.span(N||(N=(0,eW.Z)(["\n ",";\n color: ",";\n top: 70px;\n"])),function(e){var t,n;return(0,eM.xv)((null===(t=e.textStyle)||void 0===t?void 0:t.entry)||"xlarge2",(null===(n=e.textStyle)||void 0===n?void 0:n.style)||"alternate")},function(e){var t;return(null===(t=e.textStyle)||void 0===t?void 0:t.textColor)||"red"}),tT=eF.zo.p(B||(B=(0,eW.Z)(["\n ",";\n color: ",";\n margin-top: ",";\n"])),function(e){var t,n;return(0,eM.xv)(null===(t=e.textStyle)||void 0===t?void 0:t.entry,null===(n=e.textStyle)||void 0===n?void 0:n.style)},function(e){var t;return null===(t=e.textStyle)||void 0===t?void 0:t.textColor},function(e){return e.shape===ty.SEMI?"12px":0}),tj=eF.zo.div(Z||(Z=(0,eW.Z)(["\n position: relative;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n background: conic-gradient(\n ",",\n ","deg,\n #ededed 0deg\n );\n ","\n\n &::before {\n content: '';\n position: absolute;\n border-radius: 50%;\n background-color: ",";\n ","\n }\n"])),function(e){return e.theme.colors.palette.brand.base},function(e){return e.progress},function(e){return e.shape===ty.SEMI&&"transform: rotate(228deg);"},function(e){return e.theme.colors.palette.greys.white},function(e){return e.shape===ty.FULL?"\n height: 90%;\n width: 90%;\n ":"\n height: 75%;\n width: 75%;\n "}),tO=eF.zo.div(z||(z=(0,eW.Z)(["\n width: ","px;\n height: ","px;\n ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n overflow: hidden;\n position: relative;\n"])),function(e){return e.width||250},function(e){return e.height||230},function(e){return(0,tp.o)(e.padding)}),tD=eF.zo.div(W||(W=(0,eW.Z)(["\n position: relative;\n border: ","\n ","\n ",";\n"])),function(e){var t;return(null===(t=e.border)||void 0===t?void 0:t.width)||"1px"},function(e){var t;return(null===(t=e.border)||void 0===t?void 0:t.style)||"solid"},function(e){var t;return(null===(t=e.border)||void 0===t?void 0:t.color)||e.theme.colors.palette.greys.light}),tA=eF.zo.div(L||(L=(0,eW.Z)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n"]))),tC=eF.zo.span(E||(E=(0,eW.Z)(["\n ",";\n margin-bottom: ",";\n"])),(0,eM.xv)("large1","alternate"),(0,eF.W0)(1)),tR=eF.zo.span(K||(K=(0,eW.Z)(["\n ",";\n"])),(0,eM.xv)("large1","default")),tI=eF.zo.div(F||(F=(0,eW.Z)(["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n"]))),tN=(0,eF.zo)(tm.zx)(U||(U=(0,eW.Z)(["\n min-width: 120px;\n width: fit-content;\n ","\n button,\n button:hover,\n button:focus,\n button:disabled,\n button:active {\n padding-left: ",";\n padding-right: ",";\n }\n"])),function(e){return e.isCircularBar&&"\n width: 100%;\n margin: ".concat((0,eF.W0)(2)," ").concat((0,eF.W0)(3),";\n ")},(0,eF.W0)(.5),(0,eF.W0)(.5)),tB=eF.zo.span(M||(M=(0,eW.Z)(["\n ",";\n"])),(0,eM.xv)("small","alternate"));function tZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function tz(e){for(var t=1;t3&&void 0!==arguments[3]&&arguments[3];return e&&(t===n||(o||!n)&&t>0)},tL=function(e){var t,n,o,r=tW(e.handleAddToBasketCallback,e.currentIndicator,e.maxItems,e.unlimitedProducts),i=(null===(t=e.i18nText)||void 0===t?void 0:t.itemsText)&&(null===(n=e.i18nText)||void 0===n?void 0:n.itemsAlternateText)&&"".concat(e.currentIndicator," ").concat(e.unlimitedProducts||!e.maxItems?e.i18nText.itemsText:e.i18nText.itemsAlternateText);return(0,tr.jsxs)(tP,{position:e.style.barIndicator.position,padding:e.style.barIndicator.padding,height:e.style.barIndicator.containerHeight,"data-testid":"bar-indicator",children:[(0,tr.jsxs)(tk,{position:e.style.barIndicator.position,children:[i&&(0,tr.jsx)(tB,{children:i}),!e.unlimitedProducts&&e.maxItems&&e.maxItems>1?(0,tr.jsx)(tv,{height:e.style.barIndicator.barHeight,backgroundColor:e.style.barIndicator.backgroundColor,children:(0,tr.jsx)(tx,{completedRatio:100/e.maxItems*e.currentIndicator})}):(0,tr.jsx)(tR,{children:e.totalPrice})]}),r&&(0,tr.jsx)(tN,{onClick:e.handleAddToBasketCallback,disabled:e.disabledAddToBasket,children:null===(o=e.i18nText)||void 0===o?void 0:o.addToBagText})]})},tE=function(e){var t,n,o,r,i=e.style.circularIndicator.shape===ty.FULL?360:265,c=tW(e.handleAddToBasketCallback,e.currentIndicator,e.maxItems,e.unlimitedProducts);return(0,tr.jsxs)(tD,{border:e.style.circularIndicator.border,"data-testid":"circular-indicator",children:[(0,tr.jsxs)(tO,{width:e.style.circularIndicator.width,height:e.style.circularIndicator.height,padding:e.style.circularIndicator.padding,children:[(0,tr.jsx)(tj,{shape:e.style.circularIndicator.shape,progress:i/(e.maxItems||200)*e.currentIndicator}),e.style.circularIndicator.shape===ty.SEMI&&(0,tr.jsx)(th,{}),(0,tr.jsxs)(tS,{shape:e.style.circularIndicator.shape,children:[(0,tr.jsx)(tw,{textStyle:e.style.currentCountText.font,children:e.currentIndicator}),(0,tr.jsx)(tT,{textStyle:e.style.itemsText.font,shape:e.style.circularIndicator.shape,children:e.unlimitedProducts||!e.maxItems?null===(t=e.i18nText)||void 0===t?void 0:t.itemsAlternateText:null===(n=e.i18nText)||void 0===n?void 0:n.itemsText})]})]}),c&&(0,tr.jsxs)(ea.Fragment,{children:[(0,tr.jsxs)(tA,{children:[(0,tr.jsx)(tC,{children:null===(o=e.i18nText)||void 0===o?void 0:o.totalText}),e.bundleSummaryAmount?(0,tr.jsx)(tf,{content:e.bundleSummaryAmount}):(0,tr.jsx)(tR,{children:e.totalPrice})]}),(0,tr.jsx)(tI,{children:(0,tr.jsx)(tN,{disabled:e.disabledAddToBasket,onClick:function(){var t;return null===(t=e.handleAddToBasketCallback)||void 0===t?void 0:t.call(e)},isCircularBar:!0,children:null===(r=e.i18nText)||void 0===r?void 0:r.addToBagText})})]})]})},tK=function(e){switch(e.type){case tb.CIRCULAR:return(0,tr.jsx)(tE,tz({},e));case tb.BAR:return(0,tr.jsx)(tL,tz({},e));default:return null}},tF=n(2660),tU=eK.zo.li(V||(V=(0,eW.Z)(["\n margin-top: 0;\n border: 1px solid ",";\n ","\n"])),function(e){return e.theme.colors.palette.greys.light},function(e){return!e.lastItem&&"border-bottom: none;"}),tM=eK.zo.h2(q||(q=(0,eW.Z)(["\n ",";\n margin: "," 0 "," 0;\n"])),function(e){var t,n;return(0,eM.xv)((null===(t=e.textStyle)||void 0===t?void 0:t.entry)||"medium1",(null===(n=e.textStyle)||void 0===n?void 0:n.style)||"alternate")},(0,eF.W0)(5),(0,eF.W0)(1)),tV=eK.zo.div(_||(_=(0,eW.Z)(["\n margin: 0 auto;\n max-width: ",";\n position: relative;\n padding: 0 ",";\n "," {\n padding: 0 ",";\n }\n "," {\n padding: 0 ",";\n }\n"])),function(e){return e.theme.site.siteWidth},(0,eF.W0)(1),function(e){return(0,eU.mq)(e.theme.breakpointUtils.map,"md")},(0,eF.W0)(3),function(e){return(0,eU.mq)(e.theme.breakpointUtils.map,"lg")},(0,eF.W0)(4)),tq=eK.zo.h2(Y||(Y=(0,eW.Z)(["\n ",";\n margin-bottom: ",";\n"])),function(e){var t,n;return(0,eM.xv)((null===(t=e.textStyle)||void 0===t?void 0:t.entry)||"medium1",(null===(n=e.textStyle)||void 0===n?void 0:n.style)||"alternate")},(0,eF.W0)(1)),t_=eK.zo.div(H||(H=(0,eW.Z)(["\n width: 100%;\n margin-bottom: ",";\n padding: 0 ",";\n"])),(0,eF.W0)(5),(0,eF.W0)(1)),tY=(0,eK.zo)(tu.T)(G||(G=(0,eW.Z)(["\n ",";\n word-break: break-word;\n margin-bottom: ",";\n"])),function(e){var t,n;return(0,eM.xv)((null===(t=e.textStyle)||void 0===t?void 0:t.entry)||"xlarge1",(null===(n=e.textStyle)||void 0===n?void 0:n.style)||"default")},(0,eF.W0)(2)),tH=(0,eK.zo)(tu.T)(Q||(Q=(0,eW.Z)(["\n ",";\n width: 100%;\n"])),function(e){var t,n;return(0,eM.xv)((null===(t=e.textStyle)||void 0===t?void 0:t.entry)||"bodyText",(null===(n=e.textStyle)||void 0===n?void 0:n.style)||"alternate")}),tG=eK.zo.div($||($=(0,eW.Z)(["\n display: flex;\n flex-direction: row;\n width: 100%;\n margin-bottom: ",";\n"])),(0,eF.W0)(5)),tQ=eK.zo.div(J||(J=(0,eW.Z)(["\n display: none;\n "," {\n display: flex;\n flex-direction: column;\n padding-bottom: ",";\n width: 300px;\n margin-right: ",";\n position: sticky;\n top: 150px;\n height: 100%;\n }\n"])),function(e){return(0,eU.mq)(e.theme.breakpointUtils.map,"lg")},(0,eF.W0)(8),(0,eF.W0)(4)),t$=(0,eK.iv)(X||(X=(0,eW.Z)(["\n background-color: ",";\n &:before {\n content: '';\n width: 4px;\n height: 100%;\n display: inline-block;\n left: 0;\n top: 0;\n position: absolute;\n background-color: ",";\n }\n"])),function(e){return e.theme.colors.palette.brand.lightest},function(e){return e.theme.colors.palette.brand.base}),tJ=eK.zo.button(ee||(ee=(0,eW.Z)(["\n ",";\n position: relative;\n transition: background-color 0.3s ease;\n padding: "," ",";\n width: 100%;\n text-align: left;\n &:hover {\n background-color: ",";\n }\n "," {\n padding: "," ",";\n ","\n }\n"])),(0,eM.xv)("bodyText","default"),(0,eF.W0)(1.5),(0,eF.W0)(2),function(e){return e.theme.colors.palette.brand.lightest},function(e){return(0,eU.mq)(e.theme.breakpointUtils.map,"sm")},(0,eF.W0)(1.5),(0,eF.W0)(2),function(e){return e.active&&t$}),tX=eK.zo.div(et||(et=(0,eW.Z)(["\n display: flex;\n align-items: center;\n flex-direction: column;\n padding: ",";\n border: 1px solid ",";\n"])),(0,eF.W0)(2),function(e){return e.theme.colors.palette.greys.light}),t0=eK.zo.div(en||(en=(0,eW.Z)(["\n width: 100%;\n margin-top: ",";\n text-align: center;\n"])),(0,eF.W0)(1)),t1=eK.zo.span(eo||(eo=(0,eW.Z)(["\n ",";\n"])),(0,eM.xv)("small","default")),t2=(0,eK.zo)(tF.B)(er||(er=(0,eW.Z)(["\n margin-bottom: ",";\n"])),(0,eF.W0)(4)),t5=eK.zo.h2(ei||(ei=(0,eW.Z)(["\n ",";\n margin-top: ",";\n margin-bottom: ",";\n"])),(0,eM.xv)("medium1","default"),(0,eF.W0)(1),(0,eF.W0)(2)),t3=(0,eK.zo)(tm.zx)(ec||(ec=(0,eW.Z)(["\n width: 100%;\n button,\n button:hover,\n button:focus,\n button:disabled,\n button:active {\n padding-left: ",";\n padding-right: ",";\n }\n"])),(0,eF.W0)(.5),(0,eF.W0)(.5));function t8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function t4(e){for(var t=1;t0)){e.next=7;break}return i(!0),k.current=!1,s(!1),e.next=6,P((0,ed.Z)(b.map(function(e){return{sku:e.sku.toString(),quantity:e.quantity}})),{fromRecommendations:!1});case 6:k.current||v.push("".concat(ex.Z5.Basket));case 7:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),B=!d&&(S||r),Z="undefined"!=typeof document&&document.title;return(0,tr.jsxs)(tV,{className:e.className,children:[(0,tr.jsxs)(tG,{children:[(0,tr.jsxs)(tQ,{children:[(0,tr.jsx)(tq,{textStyle:c.widget.buildYourOwnBundle.components.progressIndicator.title.font,children:R.yourTotalText}),e.summaryDisplayType===t7.DIAL?(0,tr.jsx)(tK,{currentIndicator:A,maxItems:e.maxProducts,type:tb.CIRCULAR,totalPrice:C,bundleSummaryAmount:e.summaryAmount,i18nText:R.topProgressIndicatorBar,handleAddToBasketCallback:N,disabledAddToBasket:B,style:c.widget.buildYourOwnBundle.components.progressIndicator}):(0,tr.jsxs)(tX,{children:[(0,tr.jsxs)(t0,{children:[(0,tr.jsx)(t1,{children:"".concat(A," ").concat(R.simpleItemsText)}),(0,tr.jsx)(t5,{children:C})]}),(A===e.maxProducts||(e.unlimitedProducts||!e.maxProducts)&&A>0)&&(0,tr.jsx)(t3,{onClick:N,disabled:B,children:R.addToBasket.toUpperCase()})]}),(0,tr.jsxs)(ea.Fragment,{children:[(0,tr.jsx)(tM,{textStyle:c.widget.buildYourOwnBundle.components.categories.title.font,children:R.categoriesText}),(0,tr.jsx)("ul",{style:{width:"100%"},children:I})]})]}),(0,tr.jsxs)("div",{style:{width:"100%"},children:[d&&(0,tr.jsx)("div",{ref:u,children:(0,tr.jsx)(t2,{error:R.addToBasketError,id:"build-your-own-bundle-add-to-basket-error"})}),(0,tr.jsxs)(t_,{children:[e.showBundlePageTitle&&(0,tr.jsx)(tY,{textStyle:c.widget.buildYourOwnBundle.components.h1.font,renderedAs:"h1",content:Z||R.bundleTitleText}),e.bundleSubTitle&&(0,tr.jsx)(tH,{textStyle:c.widget.buildYourOwnBundle.components.subtitle.font,renderedAs:"h2",content:e.bundleSubTitle})]}),(0,tr.jsx)(ts,t4(t4({},e),{},{focusedAccordionItem:f,setSelectedBundleProducts:y,selectedBundleProducts:b,availableBundleQuantitySelection:(e.maxProducts||t6)-A}))]})]}),(0,tr.jsx)(tK,{type:tb.BAR,maxItems:e.maxProducts,currentIndicator:A,unlimitedProducts:e.unlimitedProducts,totalPrice:e.summaryAmount||C,i18nText:R.bottomProgressIndicatorBar,handleAddToBasketCallback:N,disabledAddToBasket:B,style:c.widget.buildYourOwnBundle.components.progressIndicator})]})};function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}var nt=function(e){return e.responsiveBuildYourOwnBundle?(0,tr.jsx)(t9,function(e){for(var t=1;t