"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[105],{9:(e,t,o)=>{o.d(t,{a:()=>n});const n={modalOverlay:"pKklj6A7",modalOverlayHidden:"FbGOep4Z",modalBackground:"srpRGD58",modal:"L76vEo7G",fitContent:"dC1D3FxI",closeBtn:"E2U6v0rP",closeIconSVG:"SMOJf3ND",modalImage:"v3EoYlrW",sizeGuidePage:"tZxZJ5xu",modalOverlayBottomSheet:"aTeBB3HC",modalBottomSheet:"rRLnrN0A",slideUp:"woWeB2Ks",fadeIn:"rXVUk9Yk",large:"shRTi3NB",closing:"oitbq3f8",slideDown:"GC4NNj4H",fadeOut:"jtefEfQd",bottomSheetHeader:"pfc5sVVL",bottomSheetTitle:"WYgR_YWU",bottomSheetCloseBtn:"Ti_CbCl8",bottomSheetCloseBtnFloating:"PDrsEZxz",bottomSheetContent:"VI6yo2BU"}},237:(e,t,o)=>{var n=o(0),s=o(4);const a="uRDviH2Z";var i=o(2),l=o(39),r=o(1);(0,r.createEntrypoint)("product_promo_badge",(function({promoInfo:{promoMessagingOne:e,firstPromoId:t,promoMessagingTwo:o,secondPromoId:d}}){const[c,u]=(0,i.useState)(""),[h,m]=(0,i.useState)(!1),[f,p]=(0,i.useState)(""),v=(e,t)=>{return o=this,n=void 0,a=function*(){if(p(t),u(""),e){const t=yield(0,r.getLazyState)("pageBody",{pageId:e});u(t||"")}m(!0)},new((s=void 0)||(s=Promise))((function(e,t){function i(e){try{r(a.next(e))}catch(e){t(e)}}function l(e){try{r(a.throw(e))}catch(e){t(e)}}function r(t){var o;t.done?e(t.value):(o=t.value,o instanceof s?o:new s((function(e){e(o)}))).then(i,l)}r((a=a.apply(o,n||[])).next())}));var o,n,s,a},g=()=>{m(!1),u(""),p("")};return e||o?(0,n.jsxs)(s.Fragment,{children:[(0,n.jsxs)("div",{class:"ul9a_w3W",children:[e&&(0,n.jsx)("button",{class:a,onClick:()=>v(t,e),children:e}),o&&(0,n.jsx)("button",{class:a,onClick:()=>v(d,o),children:o})]}),(0,n.jsx)(l.a,{isOpen:h,onClose:g,title:f||"Promotion details",children:(0,n.jsxs)("div",{class:"dYFW9HIF",children:[c?(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:c}}):(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{children:f}),(0,n.jsx)("p",{children:"No additional details available."})]}),(0,n.jsx)("button",{class:"_CoJyT3N",onClick:g,children:"OK"})]})})]}):(0,n.jsx)(s.Fragment,{})}))}},e=>{e.O(0,[1,3,9],(()=>e(e.s=237))),e.O()}]);