"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[11],{9:(e,l,o)=>{o.d(l,{a:()=>i});var n=o(77),t=o(64);const i=(0,n.b)({state:(0,n.c)(),namespace:"product",version:"0.1.8",selectors:{product:e=>null==e?void 0:e.product,selectedVariant:e=>null==e?void 0:e.selectedVariant,selectedOptions:e=>{var l;return null!==(l=null==e?void 0:e.selectedOptions)&&void 0!==l?l:{}},defaultUnselected:e=>{var l;return null!==(l=null==e?void 0:e.defaultUnselected)&&void 0!==l&&l},variants:e=>{var l,o;return null!==(o=null===(l=null==e?void 0:e.product)||void 0===l?void 0:l.variants)&&void 0!==o?o:[]},options:e=>{var l,o;return null!==(o=null===(l=null==e?void 0:e.product)||void 0===l?void 0:l.options)&&void 0!==o?o:[]},title:e=>{var l,o;return null!==(o=null===(l=null==e?void 0:e.product)||void 0===l?void 0:l.title)&&void 0!==o?o:""},handle:e=>{var l,o;return null!==(o=null===(l=null==e?void 0:e.product)||void 0===l?void 0:l.handle)&&void 0!==o?o:""},imageMap:e=>{var l,o;return null!==(o=null===(l=null==e?void 0:e.product)||void 0===l?void 0:l.imageMap)&&void 0!==o?o:{}},priceRange:e=>{var l;return null===(l=null==e?void 0:e.product)||void 0===l?void 0:l.priceRange},compareAtRange:e=>{var l;return null===(l=null==e?void 0:e.product)||void 0===l?void 0:l.compareAtRange},isOos:e=>{var l;return!0===(null===(l=null==e?void 0:e.product)||void 0===l?void 0:l.oos)},quickShop:e=>null==e?void 0:e.quickShop,findProductVariantWithOption:e=>(l,o,n)=>{var i,r;null!=o||(o=null==e?void 0:e.product);const d=null!==(i=null==n?void 0:n.selectedOptions)&&void 0!==i?i:null===(r=null==e?void 0:e.selectedVariant)||void 0===r?void 0:r.selectedOptions;if(o&&d)return(0,t.a)({option:l,variants:o.variants,currentOptions:d,fallbackVariant:null!=n?n:null==e?void 0:e.selectedVariant})}},actions:{setSelectedVariantId:(0,n.a)(),updateSelectedOption:(0,n.a)(),selectOption:(0,n.a)(),setOptionCookie:(0,n.a)(),getProduct:(0,n.a)(),refreshProduct:(0,n.a)(),logViewVariant:(0,n.a)(),setPackComponents:(0,n.a)(),openQuickShop:(0,n.a)(),closeQuickShop:(0,n.a)()},serverActions:{getServerProduct:(0,n.a)(),refreshServerProduct:(0,n.a)()}})}}]);