(self.webpackChunkui=self.webpackChunkui||[]).push([[108],{302:(e,t,n)=>{"use strict";var a=n(0),i=n(3);const o="wSN4uqtL __bite_extend __bite_theme_finalSaleContainer",l="eVPvJXO3 __bite_extend __bite_theme_finalSale";var r=n(233);function s({productFinalSale:e,apps:{product:t}}){return(0,r.a)(t)?(null==e?void 0:e.message)?(0,a.jsx)("div",{class:o,children:(0,a.jsx)("span",{class:l,dangerouslySetInnerHTML:{__html:e.message}})}):(0,a.jsx)("div",{class:o,children:(0,a.jsx)("span",{class:l,children:"FINAL SALE"})}):(0,a.jsx)(i.Fragment,{})}var c=n(1),u=n(13),d=n(20);const p=[u.a];c.BentoUI.feature({featureId:"product_final_sale",variations:[c.BentoUI.variation({component:s,hydrate:!0,variationId:"default",apps:p,render(e){return t=this,n=arguments,i=function*({globalState:e,context:t}){var n,a;const{props:i}=yield e,o=yield(0,d.a)(i.byteState),l=null==o?void 0:o.product;if(!l||(null==l?void 0:l.packCollections)||l.isPack)return{html:""};const r="desktop"===t.device?null===(n=i.desktopHeroBlocks.right_column)||void 0===n?void 0:n.find((e=>"product_final_sale"===e.type)):null===(a=i.heroBlocks)||void 0===a?void 0:a.find((e=>"product_final_sale"===e.type));return r?{props:{productFinalSale:r}}:{html:""}},new((a=void 0)||(a=Promise))((function(e,o){function l(e){try{s(i.next(e))}catch(e){o(e)}}function r(e){try{s(i.throw(e))}catch(e){o(e)}}function s(t){var n;t.done?e(t.value):(n=t.value,n instanceof a?n:new a((function(e){e(n)}))).then(l,r)}s((i=i.apply(t,n||[])).next())}));var t,n,a,i}})]}),(0,c.createEntrypoint)("product_final_sale",s,p)},12:()=>{}},e=>{e.O(0,[1,2,3,4,5,6,7,8,9,10,11,12,14,13,17,16,15,18,19,20,21,24,22,44],(()=>e(e.s=302))),e.O()}]);