index of
/
home
/
thefkyzp
/
hulmvisaadvisor.com
/
wp-content
/
plugins
/
surecart
/
dist
/
File: /home/thefkyzp/hulmvisaadvisor.com/wp-content/plugins/surecart/dist/2113.js
"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[2113],{2113:function(t,r,i){i.r(r),i.d(r,{sc_product_item:function(){return d}});var o=i(5671),e=i(3144),c=i(8860),d=function(){function t(r){(0,o.Z)(this,t),(0,c.r)(this,r),this.product=void 0,this.layoutConfig=void 0}return(0,e.Z)(t,[{key:"render",value:function(){var t,r=this;return(0,c.h)("a",{href:null===(t=this.product)||void 0===t?void 0:t.permalink,class:{"product-item":!0}},this.product&&(this.layoutConfig||[]).map((function(t){var i,o,e,d,a=t.attributes||{};switch(t.blockName){case"surecart/product-item-title":return(0,c.h)("sc-product-item-title",{part:"title"},null===(i=r.product)||void 0===i?void 0:i.name);case"surecart/product-item-image":return(0,c.h)("sc-product-item-image",{part:"image",product:r.product,sizing:null===(o=t.attributes)||void 0===o?void 0:o.sizing});case"surecart/product-item-price":return(0,c.h)("sc-product-item-price",{part:"price",prices:null===(e=r.product)||void 0===e?void 0:e.prices.data,range:!!(null==a?void 0:a.range),metrics:null===(d=r.product)||void 0===d?void 0:d.metrics});default:return null}})))}}]),t}();d.style=".product-item{text-decoration:none;padding-top:var(--sc-product-item-padding-top);padding-bottom:var(--sc-product-item-padding-bottom);padding-left:var(--sc-product-item-padding-left);padding-right:var(--sc-product-item-padding-right);margin-top:var(--sc-product-item-margin-top);margin-bottom:var(--sc-product-item-margin-bottom);margin-left:var(--sc-product-item-margin-left);margin-right:var(--sc-product-item-margin-right);border:solid var(--sc-product-item-border-width) var(--sc-product-item-border-color);border-radius:var(--sc-product-item-border-radius);color:var(--sc-product-title-text-color);background-color:var(--sc-product-item-background-color);height:100%;box-sizing:border-box;display:grid}"}}]);