"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[109],{312:(n,e,t)=>{var o=t(0),i=t(3);const r={descriptionContainer:"ozWe6nnb"};var s=t(29);function c({apps:{product:n}}){var e;const t=n.product.value,c=n.selectedVariant.value;if(!t)return(0,o.jsx)(i.Fragment,{});const a=(0,s.a)(t,c),d=null!==(e=null==a?void 0:a.descriptionHtml)&&void 0!==e?e:t.descriptionHtml;return(0,o.jsxs)(i.Fragment,{children:[(0,o.jsx)("h2",{class:"visually-hidden",children:"Product Description"}),(0,o.jsx)("h3",{class:"visually-hidden",children:"Description"}),(0,o.jsx)("div",{class:[r.descriptionContainer,"rich-text"].join(" "),dangerouslySetInnerHTML:{__html:d}})]})}var a=t(2),d=t(14);const l=[d.a];a.BentoUI.feature({featureId:"product_hero_description",variations:[a.BentoUI.variation({component:c,hydrate:!0,variationId:"default",apps:l,render(n){return e=this,t=arguments,i=function*({context:n}){var e;return["accordion-default-open","accordion-default-closed"].includes(null!==(e=n.getAssignment("descriptionInAccordion"))&&void 0!==e?e:"")?{html:'

Product Description

'}:{props:{}}},new((o=void 0)||(o=Promise))((function(n,r){function s(n){try{a(i.next(n))}catch(n){r(n)}}function c(n){try{a(i.throw(n))}catch(n){r(n)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(n){n(t)}))).then(s,c)}a((i=i.apply(e,t||[])).next())}));var e,t,o,i}})]}),(0,a.createEntrypoint)("product_hero_description",c,l)},29:(n,e,t)=>{function o(n,e){var t,o,i;const r=null===(t=null==e?void 0:e.selectedOptions)||void 0===t?void 0:t.Color;if(!r)return;const s=null===(o=null==n?void 0:n.options)||void 0===o?void 0:o.find((n=>"Color"===n.name));return null===(i=null==s?void 0:s.swatches)||void 0===i?void 0:i[r]}t.d(e,{a:()=>o})},73:(n,e,t)=>{function o(){}function i(){return()=>{}}function r(n){const e={};for(const t of Object.keys(n.actions))e[t]=e=>({type:`${n.namespace}:${t}`,payload:e});const t=n.serverActions?new Set(Object.keys(n.serverActions)):void 0;return{namespace:n.namespace,version:n.version,selectors:n.selectors,actions:e,serverActions:t,__serverActionTypes:void 0,__stateType:void 0}}t.d(e,{a:()=>i,b:()=>r,c:()=>o})}},n=>{n.O(0,[1,9,10,19],(()=>n(n.s=312))),n.O()}]);