@gem-sdk/components 2.0.0-dev.874 → 2.0.0-dev.877

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/cjs/banner/components/hero-banner/index.liquid.js +37 -35
  2. package/dist/cjs/builder.js +1 -1
  3. package/dist/cjs/grid/components/ChildrenDroppable.js +1 -1
  4. package/dist/cjs/index.js +1 -1
  5. package/dist/cjs/index.liquid.js +1 -1
  6. package/dist/cjs/product/components/ProductBadge.js +1 -0
  7. package/dist/cjs/product/components/ProductBadge.liquid.js +13 -0
  8. package/dist/cjs/product/components/ProductImagesV2/common/product-badge-setting.js +1 -0
  9. package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +2 -2
  10. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -1
  11. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +31 -23
  12. package/dist/cjs/product/components/ProductVariants/index.liquid.js +6 -6
  13. package/dist/cjs/product/components/ProductVariants/variants/Base.js +1 -1
  14. package/dist/cjs/product/next.js +1 -1
  15. package/dist/cjs/product/setting/ProductBadge.js +6 -0
  16. package/dist/cjs/product/setting/ProductBundleDiscount.js +1 -1
  17. package/dist/cjs/product/setting/ProductImages.js +1 -1
  18. package/dist/cjs/product/setting/index.js +1 -1
  19. package/dist/cjs/product/setting/product-image-v2/ProductImages.js +1 -1
  20. package/dist/esm/banner/components/hero-banner/index.liquid.js +38 -36
  21. package/dist/esm/builder.js +1 -1
  22. package/dist/esm/grid/components/ChildrenDroppable.js +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/esm/index.liquid.js +1 -1
  25. package/dist/esm/product/components/ProductBadge.js +1 -0
  26. package/dist/esm/product/components/ProductBadge.liquid.js +13 -0
  27. package/dist/esm/product/components/ProductImagesV2/common/product-badge-setting.js +1 -0
  28. package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +5 -5
  29. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -1
  30. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +34 -26
  31. package/dist/esm/product/components/ProductVariants/index.liquid.js +1 -1
  32. package/dist/esm/product/components/ProductVariants/variants/Base.js +3 -3
  33. package/dist/esm/product/next.js +1 -1
  34. package/dist/esm/product/setting/ProductBadge.js +6 -0
  35. package/dist/esm/product/setting/ProductBundleDiscount.js +1 -1
  36. package/dist/esm/product/setting/ProductImages.js +1 -1
  37. package/dist/esm/product/setting/index.js +1 -1
  38. package/dist/esm/product/setting/product-image-v2/ProductImages.js +1 -1
  39. package/dist/types/index.d.ts +24 -3
  40. package/package.json +3 -3
@@ -1,49 +1,57 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),common=require("../common/common.js"),ProductFeaturedImageCarousel_liquid=require("./ProductFeaturedImageCarousel.liquid.js"),ProductGalleryCarousel_liquid=require("./ProductGalleryCarousel.liquid.js"),ProductGalleryGrid_liquid=require("./ProductGalleryGrid.liquid.js");const ProductImages=e=>{let{setting:r,styles:i,builderProps:t,style:o,advanced:s}=e,a={...r,...i},d=s?.cssClass,l=`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),common=require("../common/common.js"),ProductFeaturedImageCarousel_liquid=require("./ProductFeaturedImageCarousel.liquid.js"),ProductGalleryCarousel_liquid=require("./ProductGalleryCarousel.liquid.js"),ProductGalleryGrid_liquid=require("./ProductGalleryGrid.liquid.js"),productBadgeSetting=require("../common/product-badge-setting.js");const ProductImages=e=>{let{setting:i,styles:r,builderProps:t,style:o,advanced:s,rawChildren:a}=e,d={...i,...r},l=s?.cssClass,u=`
2
2
  {
3
3
  "id":${JSON.stringify(t?.uid)},
4
- "setting":${JSON.stringify(r)},
5
- "styles":${JSON.stringify(i)}, "product":{{product | json | escape}}
4
+ "setting":${JSON.stringify(i)},
5
+ "styles":${JSON.stringify(r)}, "product":{{product | json | escape}}
6
6
  }
7
- `,u=common.getStyleGridLayout({position:a.position,ratioLayout:a.ratioLayout,ratioLayoutRight:a.ratioLayoutRight}),c=common.getStyleGridOrderForGallery({position:a.position}),g=common.getStyleInsideLayout(a.position),p=`
8
- .gem-slider-item-${t?.uid}-{{product.id}}.gp-gallery-image-item::after {
9
- content: "";
10
- height: 100%;
11
- width: 100%;
12
- position: absolute;
13
- z-index: 1000;
14
- ${core.composeBorderCss(a?.borderActive)}
15
- ${core.composeCornerCss(a?.corner)}
16
- }
17
- `;return core.template`
7
+ `,c=common.getStyleGridLayout({position:d.position,ratioLayout:d.ratioLayout,ratioLayoutRight:d.ratioLayoutRight}),g=common.getStyleGridOrderForGallery({position:d.position}),p=common.getStyleInsideLayout(d.position),n=`
8
+ .gem-slider-item-${t?.uid}-{{product.id}}.gp-gallery-image-item::after {
9
+ content: "";
10
+ height: 100%;
11
+ width: 100%;
12
+ position: absolute;
13
+ z-index: 1000;
14
+ ${core.composeBorderCss(d?.borderActive)}
15
+ ${core.composeCornerCss(d?.corner)}
16
+ }
17
+ `,m=productBadgeSetting.getProductBadgeContainerStyles(r?.position,{layoutRatioLeft:r?.ratioLayout,layoutRatioRight:r?.ratioLayoutRight,spacing:r?.spacing},!0);return core.template`
18
18
  {% assign featured_image = product.featured_image %}
19
19
  {%- if variant != null and variant.featured_image != null -%}
20
20
  {% assign featured_image = variant.featured_image %}
21
21
  {%- endif -%}
22
22
  <gp-product-images-v2
23
- gp-data='${l}'
23
+ gp-data='${u}'
24
24
  section-id="{{section.id}}"
25
25
  style="${{...o}}"
26
- class="${core.cls({"gp-overflow-hidden":common.checkAddOverFlowClass(o)},d)}"
26
+ class="${core.cls({"gp-overflow-hidden":common.checkAddOverFlowClass(o)},l)}"
27
27
  >
28
28
  <div
29
29
  class="${core.cls("{%- if product.media.size > 1 -%} gp-grid gp-w-full !gp-m-0 gp-relative {%- else -%} gp-w-full !gp-m-0 gp-relative {%- endif -%}")}"
30
30
  {%- if product.media.size > 1 -%}
31
- style="${{...u,...core.makeStyleResponsive("gg",a?.spacing)}}"
31
+ style="${{...c,...core.makeStyleResponsive("gg",d?.spacing)}}"
32
32
  {%- else -%}
33
- style="${{"--gtc":"minmax(0, 12fr)",...core.makeStyleResponsive("gg",a?.spacing)}}"
33
+ style="${{"--gtc":"minmax(0, 12fr)",...core.makeStyleResponsive("gg",d?.spacing)}}"
34
34
  {%- endif -%}
35
35
  >
36
- ${ProductFeaturedImageCarousel_liquid.default({builderPropUID:t?.uid,...a})}
36
+ ${ProductFeaturedImageCarousel_liquid.default({builderPropUID:t?.uid,...d})}
37
37
  <div
38
38
  class="${core.cls("gallery-wrapper gp-product-images-gallery gp-flex gp-overflow-hidden gp-max-w-full data-[only-image=true]:gp-hidden")}"
39
- style="${{...c,...core.makeStyleResponsive("jc",a?.align),...g}}"
39
+ style="${{...g,...core.makeStyleResponsive("jc",d?.align),...p}}"
40
40
  data-only-image="{%- if product.media.size > 1 -%}false{%- else -%}true{%- endif -%}"
41
41
  >
42
- <style>${p}</style>
43
- ${ProductGalleryCarousel_liquid.default({builderPropUID:t?.uid,...a})}
42
+ <style>${n}</style>
43
+ ${ProductGalleryCarousel_liquid.default({builderPropUID:t?.uid,...d})}
44
44
 
45
- ${ProductGalleryGrid_liquid.default({builderPropUID:t?.uid,...a})}
45
+ ${ProductGalleryGrid_liquid.default({builderPropUID:t?.uid,...d})}
46
46
  </div>
47
+ {%- if product.media.size > 0 -%}
48
+ <div
49
+ class="${core.cls("product-badge-container gp-absolute gp-top-0")}"
50
+ style="${{...core.makeStyleResponsive("w",m.width),...core.makeStyleResponsive("h",m.height),...core.makeStyleResponsive("left",m.left)}}"
51
+ >
52
+ ${core.WrapRenderChildren({uid:t?.uid||"",customProps:a?.[0].customProps},a?.map(e=>{if(e)return core.template`${core.RenderChildren({...e,isInsideProductImage:!0})}`}))}
53
+ </div>
54
+ {%- endif -%}
47
55
  </div>
48
56
  </gp-product-images-v2>
49
57
  ${core.RenderIf(core.isLocalEnv,'<script src="{{ \'gp-product-images-v2.js\' | asset_url }}" defer="defer"></script>',`<script src="${core.baseAssetURL}/assets-v2/gp-product-images-v2.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Text_liquid=require("../../../text/components/Text.liquid.js"),index_liquid=require("./variants/index.liquid.js"),Dropdown_liquid=require("./variants/Dropdown.liquid.js"),DropdownGroup_liquid=require("./variants/DropdownGroup.liquid.js"),_function=require("../../helpers/function.js"),common=require("./common.js"),mappingVariantStyles=require("./utils/mappingVariantStyles.js");const DEVICES=["desktop","tablet","mobile"],ProductVariants=({builderProps:e,style:t,styles:i,setting:o,advanced:s})=>{let{fullWidth:a,width:n,align:l,swatchItemWidth:r,dropdownItemWidth:p,marginBottom:d,swatchSpacing:c,optionTypo:u,labelGap:g}=i??{},{label:m,optionType:f,showAsSwatches:v,layout:y,column:h,hasPreSelected:V}=o??{},{uid:S}=e??{},b=core.makeStyleResponsive("w",core.makeWidth(n,a)),$="groupOption"===f,w=()=>{let e={};return DEVICES.forEach(t=>{let i=core.getResponsiveValueByScreen(r,t);e[t]="auto"===i}),e},I=()=>{let e={};return DEVICES.forEach(t=>{e[t]=p?.[t]==="fill"}),e},x=core.composeMemo(()=>core.composeTypographyClassName(i?.labelTypo,i?.labelTypography),[i?.labelTypo,i?.labelTypography]),T=()=>{let e={};return y?.desktop==="horizontal"?e["--w"]="120px":y?.tablet==="horizontal"?e["--w-tablet"]="120px":y?.mobile==="horizontal"&&(e["--w-mobile"]="120px"),e},_=()=>{let e=mappingVariantStyles.mappingVariantStyles(o?.variantPresets,i);return e?.map(e=>`${e.optionName}($2)${e.optionType}`).join("($1)")},j=core.composeMemo(()=>{let e=mappingVariantStyles.mappingVariantStyles(o?.variantPresets,i);return{...o,variantPresets:e}},[o?.variantPresets,i]),A=()=>core.template`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Text_liquid=require("../../../text/components/Text.liquid.js"),index_liquid=require("./variants/index.liquid.js"),Dropdown_liquid=require("./variants/Dropdown.liquid.js"),DropdownGroup_liquid=require("./variants/DropdownGroup.liquid.js"),_function=require("../../helpers/function.js"),common=require("./common.js"),mappingVariantStyles=require("./utils/mappingVariantStyles.js");const DEVICES=["desktop","tablet","mobile"],ProductVariants=({builderProps:e,style:t,styles:i,setting:o,advanced:s})=>{let{fullWidth:a,width:n,align:l,swatchItemWidth:r,dropdownItemWidth:p,marginBottom:d,swatchSpacing:c,optionTypo:u,labelGap:g}=i??{},{label:m,optionType:f,showAsSwatches:v,layout:y,column:h,hasPreSelected:S}=o??{},{uid:V}=e??{},b=core.makeStyleResponsive("w",core.makeWidth(n,a)),$="groupOption"===f,w=()=>{let e={};return DEVICES.forEach(t=>{let i=core.getResponsiveValueByScreen(r,t);e[t]="auto"===i}),e},I=()=>{let e={};return DEVICES.forEach(t=>{e[t]=p?.[t]==="fill"}),e},x=core.composeMemo(()=>core.composeTypographyClassName(i?.labelTypo,i?.labelTypography),[i?.labelTypo,i?.labelTypography]),T=()=>{let e={};return y?.desktop==="horizontal"?e["--w"]="120px":y?.tablet==="horizontal"?e["--w-tablet"]="120px":y?.mobile==="horizontal"&&(e["--w-mobile"]="120px"),e},_=()=>{let e=mappingVariantStyles.mappingVariantStyles(o?.variantPresets,i);return e?.map(e=>`${e.optionName}($2)${e.optionType}`).join("($1)")},j=core.composeMemo(()=>{let e=mappingVariantStyles.mappingVariantStyles(o?.variantPresets,i);return{...o,variantPresets:e}},[o?.variantPresets,i]),A=()=>core.template`
2
2
  {% assign presets = "${_()}" | split: '($1)' %}
3
3
  {%- for option in options -%}
4
4
  <div
@@ -31,7 +31,7 @@
31
31
  {%- else -%}
32
32
  {%- assign selectedValue = variant.option3 -%}
33
33
  {%- endif -%}
34
- ${V?"":" {%- assign selectedValue = null -%}"}
34
+ ${S?"":" {%- assign selectedValue = null -%}"}
35
35
  ${v?q():E()}
36
36
  </div>
37
37
  </div>
@@ -96,7 +96,7 @@
96
96
  {% if optionTitle == option.name %}
97
97
  {% assign optionRendered = true %}
98
98
  {%- for value in values -%}
99
- ${index_liquid.default({id:"{{option.name | escape}}-{{value | escape}}",variantKey:"{{option.name | escape}}-{{option.position}}-{{ forloop.index }}",showAsSwatches:v,uid:S,name:"{{option.name | escape}}",value:{label:"{{value | escape}}"},checked:V?"{%- if option.selected_value == value -%}true{% else %}false{%- endif -%}":"false",optionPosition:"rootForloop",optionType:"optionType",activeClass:V?"{%- if option.selected_value == value -%}option-item-active{%- endif -%}":"",...i,...j,swatchAutoWidth:w(),optionTypo:u})}
99
+ ${index_liquid.default({id:"{{option.name | escape}}-{{value | escape}}",variantKey:"{{option.name | escape}}-{{option.position}}-{{ forloop.index }}",showAsSwatches:v,uid:V,name:"{{option.name | escape}}",value:{label:"{{value | escape}}"},checked:S?"{%- if option.selected_value == value -%}true{% else %}false{%- endif -%}":"false",optionPosition:"rootForloop",optionType:"optionType",activeClass:S?"{%- if option.selected_value == value -%}option-item-active{%- endif -%}":"",...i,...j,swatchAutoWidth:w(),optionTypo:u})}
100
100
  {%- endfor -%}
101
101
  ${Dropdown_liquid.default({...i,...j,swatchAutoWidth:I(),optionTypo:u})}
102
102
  {% endif %}
@@ -107,7 +107,7 @@
107
107
  {% endif %}
108
108
  `,E=()=>`
109
109
  {%- for value in values -%}
110
- ${index_liquid.default({id:"{{option.name | escape}}-{{value | escape}}",variantKey:"{{option.name | escape}}-{{option.position}}-{{ forloop.index }}",showAsSwatches:v,uid:S,name:"{{option.name | escape}}",value:{label:"{{value | escape}}"},checked:V?"{%- if option.selected_value == value -%}true{% else %}false{%- endif -%}":"false",optionPosition:"rootForloop",optionType:"optionType",activeClass:V?"{%- if option.selected_value == value -%}option-item-active{%- endif -%}":"",...i,...o,swatchAutoWidth:w(),optionTypo:u,isRenderDefault:!0})}
110
+ ${index_liquid.default({id:"{{option.name | escape}}-{{value | escape}}",variantKey:"{{option.name | escape}}-{{option.position}}-{{ forloop.index }}",showAsSwatches:v,uid:V,name:"{{option.name | escape}}",value:{label:"{{value | escape}}"},checked:S?"{%- if option.selected_value == value -%}true{% else %}false{%- endif -%}":"false",optionPosition:"rootForloop",optionType:"optionType",activeClass:S?"{%- if option.selected_value == value -%}option-item-active{%- endif -%}":"",...i,...o,swatchAutoWidth:w(),optionTypo:u,isRenderDefault:!0})}
111
111
  {%- endfor -%}
112
112
  `,k=()=>`
113
113
  <div
@@ -118,7 +118,7 @@
118
118
  `;return core.template`
119
119
  <gp-product-variants
120
120
  class="${s?.cssClass}"
121
- has-pre-selected="${V}"
121
+ has-pre-selected="${S}"
122
122
  gp-data='{
123
123
  "setting":${JSON.stringify(j)?.replaceAll("'","&#039;")},
124
124
  "styles":${JSON.stringify(i)},
@@ -145,5 +145,5 @@
145
145
  {%- endif -%}
146
146
 
147
147
  </gp-product-variants>
148
- ${core.RenderIf(core.isLocalEnv,'<script src="{{ \'gp-product-variantV2.js\' | asset_url }}" defer="defer"></script>',`<script src="${core.baseAssetURL}/assets-v2/gp-product-variantV2.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
148
+ ${core.RenderIf(core.isLocalEnv,'<script src="{{ \'gp-product-variant-v3.js\' | asset_url }}" defer="defer"></script>',`<script src="${core.baseAssetURL}/assets-v2/gp-product-variant-v3.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
149
149
  `};exports.DEVICES=DEVICES,exports.default=ProductVariants;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),react=require("react"),common=require("../common.js");const BaseVariant=({value:e,isVariantOutStock:o,checked:r,optionTransform:t,optionTypography:l,optionTypo:a,swatchesImage:p,swatchesColor:c,preset:i,optionType:s,available:g,variantKey:n,soldOutMarkLine:b})=>{let d=react.useMemo(()=>"color"===s,[s]),m=i?.optionBgColor,h=i?.optionTextColor,u=i?.optionBorder,f=i?.optionHasShadow,x=i?.optionShadow,C=i?.optionRounded,v=react.useMemo(()=>"image"===s||"image_shopify"===s,[s]),w=react.useMemo(()=>core.makeStyle({bgc:!d&&core.getSingleColorVariable(m?.active),bs:u?.active?.border,bw:u?.active?.width,bc:core.getSingleColorVariable(u?.active?.color)}),[u,m,d]),j=react.useMemo(()=>{let e="16px",o={"--pl":"0px","--pr":"0px","--pl-tablet":"0px","--pr-tablet":"0px","--pl-mobile":"0px","--pr-mobile":"0px","--pt":"0px","--pb":"0px"};return i?.width?.desktop?.toLowerCase()!=="auto"&&i?.width?.desktop||(o["--pl"]=e,o["--pr"]=e),i?.width?.tablet?.toLowerCase()!=="auto"&&i?.width?.tablet||(o["--pl-tablet"]=e,o["--pr-tablet"]=e),i?.width?.mobile?.toLowerCase()!=="auto"&&i?.width?.mobile||(o["--pl-mobile"]=e,o["--pr-mobile"]=e),(i?.height?.toLowerCase()==="auto"||i?.height)&&(o["--pt"]="8px",o["--pb"]="8px"),o},[i?.width,i?.height]),y=core.composeTypographyClassName(a,l),S=core.composeTypographyStyle(a,l),k=react.useMemo(()=>({...C,active:{...C?.active||{},radiusType:"custom"}}),[C]),R=react.useMemo(()=>r?core.getStyleShadow({value:x?.active,state:"active",styleAppliedFor:"box-shadow",isEnableShadow:f?.active},!0):core.getStyleShadowState(x,"box-shadow",f),[r,x,f]),B=react.useMemo(()=>r?core.getRadiusStyleActiveState(k):core.composeRadius(C),[r,C,k]),M=react.useMemo(()=>r?core.makeStyle({c:core.getSingleColorVariable(h?.active)}):core.getGlobalColorStateStyle("c",h),[r,h]),D=react.useMemo(()=>({...B,...R,...!d&&!v&&M,...r?w:{},...r||d?{}:core.getGlobalColorStateStyle("bg",m),...r||d||!p?{}:core.handleConvertBorderStyle(u),...r||d||!p?{}:core.handleConvertBorderWidth(u),...r||d||!p?{}:core.handleConvertBorderColor(u)}),[p,B,R,d,v,M,r,w,m,u]),L=react.useMemo(()=>core.cls(r?core.getGlobalColorClass("bg",m?.active):core.getGlobalColorStateClass("bg",m),r?core.getGlobalColorClass("text",h?.active):core.getGlobalColorStateClass("text",h)),[r,m,h]),$=react.useMemo(()=>r?common.isColorDark(m?.active)?"#fff":"#121212":common.isColorDark(m?.normal)?"#fff":"#121212",[m?.active,m?.normal,r]),A=e=>common.isColorDark(e)?"#fff":"#121212";return jsxRuntime.jsxs("div",{className:core.cls("gp-relative gp-box-border gp-flex gp-h-full gp-w-full gp-cursor-pointer gp-items-center gp-justify-center gp-overflow-hidden",{"gp-pointer-events-none !gp-cursor-not-allowed":o,"gp-p-[4px]":d,'before:gp-absolute before:gp-top-[50%] before:gp-z-1 before:gp-block before:gp-w-full before:-gp-rotate-45 before:gp-border-t before:gp-border-[#A1A1A1] before:gp-bg-[#333] before:gp-content-[""]':b&&!g&&!d},L,y,n),style:{...core.makeStyle({tt:t}),...core.makeStyle({h:i?.height}),...d&&core.makeStyle({minw:i?.height}),...S,...D},children:[b&&jsxRuntime.jsx("style",{children:`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),react=require("react"),common=require("../common.js");const BaseVariant=({value:e,isVariantOutStock:o,checked:r,optionTransform:t,optionTypography:l,optionTypo:a,swatchesImage:p,swatchesColor:c,preset:i,optionType:s,available:g,variantKey:n,soldOutMarkLine:b})=>{let d=react.useMemo(()=>"color"===s,[s]),m=i?.optionBgColor,h=i?.optionTextColor,u=i?.optionBorder,f=i?.optionHasShadow,x=i?.optionShadow,C=i?.optionRounded,v=react.useMemo(()=>"image"===s||"image_shopify"===s,[s]),w=react.useMemo(()=>core.makeStyle({bgc:!d&&core.getSingleColorVariable(m?.active),bs:u?.active?.border,bw:u?.active?.width,bc:core.getSingleColorVariable(u?.active?.color)}),[u,m,d]),j=react.useMemo(()=>{let e="16px",o={"--pl":"0px","--pr":"0px","--pl-tablet":"0px","--pr-tablet":"0px","--pl-mobile":"0px","--pr-mobile":"0px","--pt":"0px","--pb":"0px"};return i?.width?.desktop?.toLowerCase()!=="auto"&&i?.width?.desktop||(o["--pl"]=e,o["--pr"]=e),i?.width?.tablet?.toLowerCase()!=="auto"&&i?.width?.tablet||(o["--pl-tablet"]=e,o["--pr-tablet"]=e),i?.width?.mobile?.toLowerCase()!=="auto"&&i?.width?.mobile||(o["--pl-mobile"]=e,o["--pr-mobile"]=e),(i?.height?.toLowerCase()==="auto"||i?.height)&&(o["--pt"]="8px",o["--pb"]="8px"),o},[i?.width,i?.height]),y=core.composeTypographyClassName(a,l),S=core.composeTypographyStyle(a,l),R=react.useMemo(()=>({...C,active:{...C?.active||{},radiusType:"custom"}}),[C]),k=react.useMemo(()=>r?core.getStyleShadow({value:x?.active,state:"active",styleAppliedFor:"box-shadow",isEnableShadow:f?.active},!0):core.getStyleShadowState(x,"box-shadow",f),[r,x,f]),B=react.useMemo(()=>r?core.getRadiusStyleActiveState(R):core.composeRadius(C),[r,C,R]),M=react.useMemo(()=>r?core.makeStyle({c:core.getSingleColorVariable(h?.active)}):core.getGlobalColorStateStyle("c",h),[r,h]),D=react.useMemo(()=>({...B,...k,...!d&&!v&&M,...r?w:{},...r||d?{}:core.getGlobalColorStateStyle("bg",m),...r||d||!p?{}:core.handleConvertBorderStyle(u),...r||d||!p?{}:core.handleConvertBorderWidth(u),...r||d||!p?{}:core.handleConvertBorderColor(u)}),[p,B,k,d,v,M,r,w,m,u]),L=react.useMemo(()=>core.cls(r?core.getGlobalColorClass("bg",m?.active):core.getGlobalColorStateClass("bg",m),r?core.getGlobalColorClass("text",h?.active):core.getGlobalColorStateClass("text",h)),[r,m,h]),$=react.useMemo(()=>r?common.isColorDark(m?.active)?"#fff":"#121212":common.isColorDark(m?.normal)?"#fff":"#121212",[m?.active,m?.normal,r]),A=e=>common.isColorDark(e)?"#fff":"#121212";return jsxRuntime.jsxs("div",{className:core.cls("gp-relative gp-box-border gp-flex gp-h-full gp-w-full gp-cursor-pointer gp-items-center gp-justify-center gp-overflow-hidden",{"gp-pointer-events-none !gp-cursor-not-allowed":o,"gp-p-[4px]":d,'before:gp-absolute before:gp-top-[50%] before:gp-z-1 before:gp-block before:gp-w-full before:-gp-rotate-45 before:gp-border-t before:gp-border-[#A1A1A1] before:gp-bg-[#333] before:gp-content-[""]':b&&!g&&!d},L,y,n),style:{...core.makeStyle({tt:t}),...core.makeStyle({h:i?.height}),...S,...D},children:[b&&jsxRuntime.jsx("style",{children:`
2
2
  .${n}:before {
3
3
  width: ${d&&c?.length?`calc(${i?.height} - 12px) !important`:"200px !important"};
4
4
  border-color: ${d?"#121212":$};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var dynamic=require("next/dynamic"),Loading=require("../common/components/Loading.js");require("react/jsx-runtime");const Product=dynamic(()=>Promise.resolve().then(function(){return require("./components/Product.js")}),{loading:Loading.default}),ProductTitle=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductTitle.js")}),{loading:Loading.default}),ProductQuantity=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductQuantity.js")}),{loading:Loading.default}),ProductDescription=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductDescription.js")}),{ssr:!1,loading:Loading.default}),ProductPrice=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductPrice.js")}),{loading:Loading.default}),ProductButton=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductButton.js")}),{ssr:!1,loading:Loading.default}),ProductVariants=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductVariants/index.js")}),{loading:Loading.default}),ProductImages=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductImages.js")}),{loading:Loading.default}),ProductImagesV2=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductImagesV2/jsx/ProductImages.js")}),{loading:Loading.default}),ProductProperties=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductProperties.js")}),{loading:Loading.default}),ProductQuickView=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductQuickView/index.js")}),{ssr:!1}),ProductTag=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductTag.js")}),{loading:Loading.default}),ProductList=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductList.js")}),{loading:Loading.default}),DynamicCheckout=dynamic(()=>Promise.resolve().then(function(){return require("./components/DynamicCheckout.js")}),{loading:Loading.default}),Vendor=dynamic(()=>Promise.resolve().then(function(){return require("./components/Vendor.js")}),{loading:Loading.default}),ProductViewMore=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductViewMore.js")}),{loading:Loading.default}),ProductBundleDiscount=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductBundleDiscount.js")}),{loading:Loading.default}),ProductBundleDiscountItem=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductBundleDiscountItem.js")}),{loading:Loading.default});var product={Product,ProductTitle,ProductQuantity,ProductPrice,ProductButton,ProductDescription,ProductVariants,ProductImages,ProductImagesV2,ProductProperties,ProductQuickView,ProductTag,ProductList,DynamicCheckout,ProductBundleDiscount,ProductBundleDiscountItem,Vendor,ProductViewMore};exports.default=product;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var dynamic=require("next/dynamic"),Loading=require("../common/components/Loading.js");require("react/jsx-runtime");const Product=dynamic(()=>Promise.resolve().then(function(){return require("./components/Product.js")}),{loading:Loading.default}),ProductTitle=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductTitle.js")}),{loading:Loading.default}),ProductQuantity=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductQuantity.js")}),{loading:Loading.default}),ProductDescription=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductDescription.js")}),{ssr:!1,loading:Loading.default}),ProductPrice=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductPrice.js")}),{loading:Loading.default}),ProductButton=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductButton.js")}),{ssr:!1,loading:Loading.default}),ProductVariants=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductVariants/index.js")}),{loading:Loading.default}),ProductImages=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductImages.js")}),{loading:Loading.default}),ProductImagesV2=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductImagesV2/jsx/ProductImages.js")}),{loading:Loading.default}),ProductProperties=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductProperties.js")}),{loading:Loading.default}),ProductQuickView=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductQuickView/index.js")}),{ssr:!1}),ProductTag=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductTag.js")}),{loading:Loading.default}),ProductList=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductList.js")}),{loading:Loading.default}),DynamicCheckout=dynamic(()=>Promise.resolve().then(function(){return require("./components/DynamicCheckout.js")}),{loading:Loading.default}),Vendor=dynamic(()=>Promise.resolve().then(function(){return require("./components/Vendor.js")}),{loading:Loading.default}),ProductViewMore=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductViewMore.js")}),{loading:Loading.default}),ProductBundleDiscount=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductBundleDiscount.js")}),{loading:Loading.default}),ProductBundleDiscountItem=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductBundleDiscountItem.js")}),{loading:Loading.default}),ProductBadge=dynamic(()=>Promise.resolve().then(function(){return require("./components/ProductBadge.js")}),{loading:Loading.default});var product={Product,ProductTitle,ProductQuantity,ProductPrice,ProductButton,ProductDescription,ProductVariants,ProductImages,ProductImagesV2,ProductProperties,ProductQuickView,ProductTag,ProductList,DynamicCheckout,ProductBundleDiscount,ProductBundleDiscountItem,Vendor,ProductViewMore,ProductBadge};exports.default=product;
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const config={tag:"ProductBadge",label:"Product Badge",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.75 2A2.25 2.25 0 0 1 22 4.25v5.462a3.25 3.25 0 0 1-.952 2.298l-8.5 8.503a3.255 3.255 0 0 1-4.597.001L3.489 16.06a3.25 3.25 0 0 1-.003-4.596l8.5-8.51A3.25 3.25 0 0 1 14.284 2h5.465Zm0 1.5h-5.465c-.465 0-.91.185-1.239.513l-8.512 8.523a1.75 1.75 0 0 0 .015 2.462l4.461 4.454a1.755 1.755 0 0 0 2.477 0l8.5-8.503a1.75 1.75 0 0 0 .513-1.237V4.25a.75.75 0 0 0-.75-.75ZM17 5.502a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z"/></svg>',settings:[{id:"style",controls:[{id:"backgroundColor",type:"background-color-picker",label:"Background Color",default:"brand"},{id:"position",type:"position:square",default:"top-left",ignoreValue:["center"]}]}],ui:[{type:"control",label:{en:"Background Color"},setting:{id:"backgroundColor"}},{type:"control",label:{en:"Position"},setting:{id:"position"}}],presets:[{id:"product-badge",name:{en:"Product Badge"},icon:{desktop:`
2
+ <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M13 15C13 13.3431 14.3431 12 16 12H80C81.6569 12 83 13.3431 83 15V33C83 34.6569 81.6569 36 80 36H16C14.3431 36 13 34.6569 13 33V15Z" fill="#424242"/>
4
+ <g id="svgGroup" stroke-linecap="round" fill-rule="evenodd" font-size="9pt" stroke="#aaaaaa" stroke-width="0.25mm" fill="#aaaaaa" style="stroke:#aaaaaa;stroke-width:0.25mm;fill:#aaaaaa"><path d="M 67.852 24.19 L 67.852 24.627 L 61.886 24.627 L 61.886 23.847 L 66.947 23.847 A 3.156 3.156 0 0 0 66.854 23.065 A 2.683 2.683 0 0 0 66.652 22.522 Q 66.356 21.933 65.831 21.59 A 2.107 2.107 0 0 0 64.831 21.255 A 2.603 2.603 0 0 0 64.621 21.246 A 2.298 2.298 0 0 0 63.84 21.376 A 2.083 2.083 0 0 0 63.343 21.634 A 2.644 2.644 0 0 0 62.48 22.658 Q 62.17 23.295 62.165 24.05 L 62.165 24.518 A 4.429 4.429 0 0 0 62.232 25.307 A 3.266 3.266 0 0 0 62.48 26.106 Q 62.796 26.785 63.378 27.158 A 2.344 2.344 0 0 0 64.324 27.501 A 3.048 3.048 0 0 0 64.755 27.531 A 2.943 2.943 0 0 0 65.234 27.494 A 2.161 2.161 0 0 0 65.707 27.362 A 2.178 2.178 0 0 0 66.169 27.105 A 1.886 1.886 0 0 0 66.398 26.907 A 2.057 2.057 0 0 0 66.743 26.446 A 1.877 1.877 0 0 0 66.823 26.278 L 67.663 26.551 A 2.403 2.403 0 0 1 67.256 27.259 A 2.894 2.894 0 0 1 67.094 27.441 Q 66.699 27.849 66.11 28.095 A 3.122 3.122 0 0 1 65.353 28.3 A 4.153 4.153 0 0 1 64.755 28.341 Q 63.686 28.341 62.906 27.841 A 3.279 3.279 0 0 1 61.734 26.523 A 3.922 3.922 0 0 1 61.7 26.454 A 4.27 4.27 0 0 1 61.335 25.239 A 5.567 5.567 0 0 1 61.275 24.408 A 5.36 5.36 0 0 1 61.381 23.319 A 4.253 4.253 0 0 1 61.7 22.358 A 3.645 3.645 0 0 1 62.32 21.429 A 3.229 3.229 0 0 1 62.878 20.951 A 2.976 2.976 0 0 1 64.377 20.449 A 3.679 3.679 0 0 1 64.621 20.441 Q 65.242 20.441 65.819 20.667 Q 66.396 20.894 66.855 21.358 A 3.089 3.089 0 0 1 67.387 22.091 A 3.9 3.9 0 0 1 67.584 22.527 A 3.886 3.886 0 0 1 67.785 23.294 Q 67.844 23.658 67.851 24.071 A 6.689 6.689 0 0 1 67.852 24.19 Z M 53.186 29.673 L 53.912 29.196 A 2.449 2.449 0 0 0 54.132 29.517 A 3.158 3.158 0 0 0 54.352 29.763 A 1.882 1.882 0 0 0 54.704 30.039 A 2.588 2.588 0 0 0 55.073 30.225 A 2.227 2.227 0 0 0 55.502 30.351 Q 55.709 30.391 55.946 30.403 A 4.241 4.241 0 0 0 56.169 30.409 A 3.303 3.303 0 0 0 56.868 30.339 Q 57.415 30.221 57.807 29.902 A 1.595 1.595 0 0 0 58.328 29.102 Q 58.409 28.835 58.426 28.512 A 3.415 3.415 0 0 0 58.431 28.326 L 58.431 26.606 L 58.352 26.606 A 2.656 2.656 0 0 1 58.136 26.997 A 3.431 3.431 0 0 1 57.909 27.299 A 2.112 2.112 0 0 1 57.442 27.711 A 2.665 2.665 0 0 1 57.156 27.874 A 2.076 2.076 0 0 1 56.671 28.038 Q 56.445 28.086 56.183 28.098 A 3.861 3.861 0 0 1 56.005 28.102 A 3.147 3.147 0 0 1 55.016 27.951 A 2.798 2.798 0 0 1 54.382 27.65 Q 53.673 27.197 53.268 26.355 Q 52.863 25.512 52.863 24.344 A 5.775 5.775 0 0 1 52.95 23.319 A 4.345 4.345 0 0 1 53.258 22.305 A 3.536 3.536 0 0 1 53.776 21.469 A 3 3 0 0 1 54.364 20.933 A 2.775 2.775 0 0 1 55.773 20.45 A 3.457 3.457 0 0 1 56.02 20.441 A 3.302 3.302 0 0 1 56.512 20.476 Q 56.775 20.515 56.994 20.6 A 1.767 1.767 0 0 1 57.183 20.687 A 2.504 2.504 0 0 1 57.635 20.991 A 2.053 2.053 0 0 1 57.926 21.296 A 4.318 4.318 0 0 1 58.177 21.654 A 3.224 3.224 0 0 1 58.366 22.002 L 58.456 22.002 L 58.456 20.546 L 59.321 20.546 L 59.321 28.381 Q 59.321 29.35 58.908 29.977 A 2.461 2.461 0 0 1 57.785 30.904 A 3.76 3.76 0 0 1 56.82 31.162 A 4.848 4.848 0 0 1 56.169 31.205 A 5.146 5.146 0 0 1 55.523 31.166 Q 55.132 31.117 54.802 31.003 A 3.328 3.328 0 0 1 54.232 30.749 A 2.638 2.638 0 0 1 53.812 30.454 A 2.744 2.744 0 0 1 53.348 29.942 A 2.432 2.432 0 0 1 53.186 29.673 Z M 49.766 22.002 L 49.845 22.002 L 49.845 18 L 50.735 18 L 50.735 28.182 L 49.87 28.182 L 49.87 26.765 L 49.766 26.765 A 3.024 3.024 0 0 1 49.565 27.14 A 4.059 4.059 0 0 1 49.328 27.478 A 2.164 2.164 0 0 1 48.853 27.926 A 2.695 2.695 0 0 1 48.58 28.092 A 1.971 1.971 0 0 1 48.075 28.275 Q 47.778 28.341 47.419 28.341 A 2.998 2.998 0 0 1 46.461 28.192 A 2.65 2.65 0 0 1 45.773 27.844 A 3.12 3.12 0 0 1 44.889 26.877 A 3.928 3.928 0 0 1 44.672 26.457 A 4.462 4.462 0 0 1 44.353 25.363 A 6.053 6.053 0 0 1 44.277 24.384 A 5.944 5.944 0 0 1 44.364 23.343 A 4.405 4.405 0 0 1 44.672 22.318 A 3.57 3.57 0 0 1 45.179 21.488 A 2.998 2.998 0 0 1 45.778 20.936 A 2.769 2.769 0 0 1 47.201 20.449 A 3.449 3.449 0 0 1 47.434 20.441 A 3.265 3.265 0 0 1 47.923 20.476 Q 48.19 20.516 48.413 20.604 A 1.77 1.77 0 0 1 48.592 20.687 A 2.49 2.49 0 0 1 49.032 20.982 A 2.027 2.027 0 0 1 49.333 21.296 A 4.163 4.163 0 0 1 49.58 21.654 A 3.098 3.098 0 0 1 49.766 22.002 Z M 41.433 23.096 L 41.433 22.917 A 2.115 2.115 0 0 0 41.373 22.399 A 1.469 1.469 0 0 0 40.968 21.686 A 1.502 1.502 0 0 0 40.341 21.33 Q 40.107 21.26 39.826 21.242 A 3.109 3.109 0 0 0 39.634 21.237 A 3.07 3.07 0 0 0 39.063 21.287 Q 38.729 21.35 38.462 21.493 A 1.738 1.738 0 0 0 38.289 21.599 A 2.366 2.366 0 0 0 37.885 21.952 A 1.794 1.794 0 0 0 37.56 22.455 L 36.72 22.151 A 2.794 2.794 0 0 1 37.04 21.572 A 2.267 2.267 0 0 1 37.436 21.15 Q 37.893 20.774 38.46 20.608 Q 39.027 20.441 39.609 20.441 A 3.717 3.717 0 0 1 40.257 20.5 A 4.414 4.414 0 0 1 40.521 20.555 A 2.628 2.628 0 0 1 41.403 20.951 A 1.949 1.949 0 0 1 41.924 21.488 A 2.446 2.446 0 0 1 42.065 21.731 Q 42.275 22.145 42.311 22.743 A 4.23 4.23 0 0 1 42.318 22.996 L 42.318 28.182 L 41.433 28.182 L 41.433 26.974 L 41.379 26.974 A 2.147 2.147 0 0 1 41.143 27.358 A 2.828 2.828 0 0 1 40.906 27.63 A 2.273 2.273 0 0 1 40.427 27.998 A 2.858 2.858 0 0 1 40.121 28.152 Q 39.648 28.356 39.012 28.356 A 3.06 3.06 0 0 1 38.166 28.242 A 2.719 2.719 0 0 1 37.749 28.085 A 2.185 2.185 0 0 1 36.839 27.299 A 2.019 2.019 0 0 1 36.545 26.549 A 2.746 2.746 0 0 1 36.501 26.049 Q 36.501 25.482 36.715 25.095 A 1.741 1.741 0 0 1 37.322 24.458 Q 37.714 24.21 38.251 24.065 Q 38.788 23.921 39.435 23.842 Q 40.076 23.762 40.521 23.702 A 3.357 3.357 0 0 0 40.775 23.659 Q 41.015 23.608 41.17 23.529 A 0.92 0.92 0 0 0 41.2 23.514 A 0.442 0.442 0 0 0 41.364 23.362 Q 41.417 23.278 41.429 23.167 A 0.642 0.642 0 0 0 41.433 23.096 Z M 31.624 28.182 L 28 28.182 L 28 18 L 31.435 18 A 4.721 4.721 0 0 1 32.135 18.049 Q 32.517 18.106 32.836 18.231 A 2.567 2.567 0 0 1 33.093 18.348 A 2.522 2.522 0 0 1 33.735 18.82 A 2.231 2.231 0 0 1 34.09 19.298 Q 34.423 19.899 34.423 20.665 A 3.166 3.166 0 0 1 34.385 21.169 Q 34.34 21.447 34.243 21.679 A 1.878 1.878 0 0 1 34.21 21.754 Q 33.996 22.206 33.628 22.484 A 2.4 2.4 0 0 1 32.808 22.887 L 32.808 22.967 A 1.851 1.851 0 0 1 33.529 23.174 A 2.326 2.326 0 0 1 33.762 23.312 A 2.237 2.237 0 0 1 34.342 23.886 A 2.801 2.801 0 0 1 34.523 24.18 A 2.436 2.436 0 0 1 34.764 24.875 A 3.377 3.377 0 0 1 34.821 25.512 A 2.958 2.958 0 0 1 34.712 26.326 A 2.541 2.541 0 0 1 34.478 26.887 A 2.237 2.237 0 0 1 33.74 27.659 A 2.888 2.888 0 0 1 33.426 27.836 A 3.115 3.115 0 0 1 32.733 28.073 Q 32.398 28.147 32.006 28.171 A 6.294 6.294 0 0 1 31.624 28.182 Z M 47.523 27.531 Q 48.264 27.531 48.786 27.125 A 2.359 2.359 0 0 0 49.388 26.423 A 3.06 3.06 0 0 0 49.584 26.007 Q 49.86 25.293 49.86 24.369 A 5.227 5.227 0 0 0 49.8 23.557 A 3.887 3.887 0 0 0 49.587 22.75 A 2.813 2.813 0 0 0 49.257 22.131 A 2.264 2.264 0 0 0 48.791 21.647 A 1.929 1.929 0 0 0 47.839 21.266 A 2.53 2.53 0 0 0 47.523 21.246 A 2.337 2.337 0 0 0 46.889 21.329 A 1.853 1.853 0 0 0 46.233 21.662 Q 45.709 22.077 45.438 22.783 A 4.037 4.037 0 0 0 45.205 23.733 A 5.134 5.134 0 0 0 45.167 24.369 A 4.998 4.998 0 0 0 45.244 25.265 A 3.985 3.985 0 0 0 45.44 25.974 A 2.93 2.93 0 0 0 45.777 26.616 A 2.385 2.385 0 0 0 46.238 27.11 A 1.902 1.902 0 0 0 47.213 27.512 A 2.508 2.508 0 0 0 47.523 27.531 Z M 56.109 27.292 A 2.542 2.542 0 0 0 56.732 27.219 A 1.976 1.976 0 0 0 57.367 26.936 A 2.117 2.117 0 0 0 58.003 26.247 A 2.735 2.735 0 0 0 58.168 25.915 Q 58.446 25.249 58.446 24.329 A 5.002 5.002 0 0 0 58.382 23.509 A 3.778 3.778 0 0 0 58.173 22.74 A 2.801 2.801 0 0 0 57.838 22.12 A 2.291 2.291 0 0 0 57.38 21.647 Q 56.86 21.246 56.109 21.246 A 2.356 2.356 0 0 0 55.475 21.328 A 1.871 1.871 0 0 0 54.817 21.659 Q 54.29 22.072 54.021 22.77 A 4.013 4.013 0 0 0 53.785 23.757 A 5.02 5.02 0 0 0 53.753 24.329 A 4.769 4.769 0 0 0 53.813 25.104 A 3.548 3.548 0 0 0 54.026 25.873 A 2.554 2.554 0 0 0 54.385 26.496 A 2.159 2.159 0 0 0 54.827 26.917 A 2.001 2.001 0 0 0 55.681 27.259 A 2.678 2.678 0 0 0 56.109 27.292 Z M 28.93 23.424 L 28.93 27.347 L 31.624 27.347 A 4.222 4.222 0 0 0 32.262 27.302 Q 32.59 27.252 32.852 27.145 A 1.686 1.686 0 0 0 33.367 26.825 A 1.702 1.702 0 0 0 33.93 25.586 A 2.164 2.164 0 0 0 33.931 25.512 Q 33.931 24.93 33.65 24.456 Q 33.369 23.981 32.86 23.702 Q 32.35 23.424 31.664 23.424 L 28.93 23.424 Z M 28.93 18.835 L 28.93 22.599 L 31.52 22.599 A 2.465 2.465 0 0 0 32.068 22.54 A 1.938 1.938 0 0 0 32.574 22.35 Q 33.026 22.102 33.28 21.664 A 1.888 1.888 0 0 0 33.523 20.888 A 2.334 2.334 0 0 0 33.533 20.665 A 2.028 2.028 0 0 0 33.44 20.036 A 1.662 1.662 0 0 0 33.006 19.345 A 1.656 1.656 0 0 0 32.375 18.971 Q 32.115 18.883 31.797 18.852 A 3.74 3.74 0 0 0 31.435 18.835 L 28.93 18.835 Z M 41.433 25.254 L 41.433 24.15 A 0.476 0.476 0 0 1 41.358 24.207 Q 41.275 24.259 41.146 24.304 A 1.849 1.849 0 0 1 41.103 24.319 A 3.718 3.718 0 0 1 40.862 24.387 Q 40.726 24.421 40.571 24.451 Q 40.27 24.508 39.972 24.548 A 79.075 79.075 0 0 1 39.697 24.584 Q 39.566 24.601 39.45 24.615 A 45.369 45.369 0 0 1 39.435 24.617 A 6.405 6.405 0 0 0 38.941 24.697 Q 38.603 24.765 38.331 24.866 A 2.041 2.041 0 0 0 37.998 25.022 Q 37.81 25.133 37.677 25.277 A 1.214 1.214 0 0 0 37.63 25.331 A 1.045 1.045 0 0 0 37.414 25.797 A 1.477 1.477 0 0 0 37.386 26.089 A 1.555 1.555 0 0 0 37.453 26.557 A 1.206 1.206 0 0 0 37.884 27.165 A 1.813 1.813 0 0 0 38.656 27.503 A 2.522 2.522 0 0 0 39.131 27.546 Q 39.837 27.546 40.354 27.232 A 2.162 2.162 0 0 0 41.152 26.4 A 2.359 2.359 0 0 0 41.433 25.302 A 2.768 2.768 0 0 0 41.433 25.254 Z" vector-effect="non-scaling-stroke"/></g>
5
+ </svg
6
+ `},components:[{tag:"ProductBadge"}]}],editorConfigs:{placeholder:{flowTag:["ProductImagesV2","Product"]}}};exports.default=config;
@@ -17,7 +17,7 @@
17
17
  <ellipse cx="80.8485" cy="41.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
18
18
  <ellipse cx="86.0165" cy="41.1268" rx="1.12878" ry="1.12878" fill="#F9F9F9"/>
19
19
  </svg>
20
- `,settings:[{id:"setting",controls:[{id:"childItem",label:"Item management",type:"product-bundle-child-item",default:[],childTemplate:template.itemControlTemplate},{id:"hideNoDiscountItem",type:"toggle",default:!1},{id:"hasPreSelectItem",type:"toggle",default:!0},{id:"selectItemDefault",type:"select-product-bundle",hide:!0,default:0},{id:"layout",label:"Layout",type:"layout-segment",iconViewBox:"0 0 78 52",enableItemBackground:!0,enableTooltip:!0,default:"vertical-layout",options:[{label:"Vertical layout",value:"vertical-layout",type:"product-bundle"},{label:"Horizontal layout",value:"horizontal-layout",type:"product-bundle"}]},{id:"enableIcon",type:"toggle",default:!0},{id:"iconPosition",type:"layout-segment",iconViewBox:"0 0 66 48",enableItemBackground:!0,enableTooltip:!0,label:"Position",default:"center",options:[{label:"Align center",value:"center",type:"align-pos"},{label:"Align top",value:"baseline",type:"align-pos"}]},{id:"iconSize",type:"input:number",devices:{desktop:{default:24},tablet:{default:24},mobile:{default:24}},min:0},{id:"iconSpacing",type:"dropdown:input",hideUnit:!1,inputType:"number",default:"12px",displayOptions:[{label:"Small",value:"8px",showValue:!0},{label:"Medium",value:"16px",showValue:!0},{label:"Large",value:"24px",showValue:!0}]}]},{id:"style",controls:[{id:"size",type:"size-setting",devices:{desktop:{default:{padding:{type:"medium",top:"8px",left:"24px",bottom:"8px",right:"24px"},gap:"12px",width:"100%"}}},settingConfig:{width:{name:"Width",displayOptions:["full","default"]},gap:{name:"Item gap",displayOptions:["small","medium","large"],sizeConfig:{small:"8px",medium:"16px",large:"24px"}},padding:{name:"Padding",paddingConfig:{small:{vertical:"4px",horizontal:"16px"},medium:{vertical:"8px",horizontal:"24px"},large:{vertical:"12px",horizontal:"32px"}}}},hiddenSettings:["shape","height"],hiddenShowMore:!0},{id:"behavior-state",type:"behavior-state",controls:[{id:"borderBundle",type:"border",label:"Border",default:{normal:{borderBundle:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#7D7D7D",isCustom:!1},hover:{borderBundle:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#7D7D7D",isCustom:!1},active:{borderBundle:"solid",borderWidth:"2px",width:"1px 1px 1px 1px",color:"#000000",isCustom:!1}},state:{hover:!0,normal:!0}},{id:"iconColor",type:"colorpicker",label:"Icon",default:{normal:"#000000",hover:"highlight"},state:{hover:!0,normal:!0,active:!0}},{id:"backgroundColor",type:"background-color-picker",label:"Background",default:{normal:"#FFFFFF"},state:{hover:!0,normal:!0,active:!0}},{id:"hasBoxShadowBundle",type:"toggle",label:"Enable Button Shadow",default:{normal:!1,hover:!1,active:!1},state:{normal:!0,hover:!0,active:!0}},{id:"boxShadowBundle",type:"boxShadow",hideOnState:{normal:!0,hover:!0,active:!0},default:{normal:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90}},state:{normal:!0,hover:!0,active:!0}},{id:"roundedBundle",type:"radius-preset",label:"Border Radius",default:{normal:{radiusType:"none"}},state:{hover:!0,normal:!0,active:!0}}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],default:"left"}]}],ui:[{type:"group",label:{en:"Item management"},controls:[{type:"control",layout:"vertical",setting:{id:"childItem"}}]},{type:"control",label:{en:"Hide no-discount items"},setting:{id:"hideNoDiscountItem"}},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Pre-selected item"},setting:{id:"hasPreSelectItem"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",condition:"hasPreSelectItem == true",layout:"vertical",setting:{id:"selectItemDefault"},options:{styleControl:{"max-width":"100%"}}}]},{type:"group",label:{en:"Layout"},controls:[{type:"control",setting:{id:"layout"}}]},{type:"group",controls:[{type:"control",label:{en:"Icon"},options:{label:"large"},setting:{id:"enableIcon"}},{type:"control",condition:"enableIcon == true",label:{en:"Icon position"},setting:{id:"iconPosition"}},{type:"control",condition:"enableIcon == true",label:{en:"Icon size"},setting:{id:"iconSize"}},{type:"control",condition:"enableIcon == true",label:{en:"Icon spacing"},setting:{id:"iconSpacing"}}]},{label:{en:"Size"},type:"group",controls:[{type:"control",setting:{id:"size"},options:{noGap:!0}}]},{type:"group",label:{en:"Item states"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Default"},controls:[{type:"control",label:{en:"Icon"},setting:{id:"iconColor",state:"normal"}},{type:"control",label:{en:"Background"},setting:{id:"backgroundColor",state:"normal"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderBundle",state:"normal"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedBundle",state:"normal"}},{type:"control",label:{en:"Shadow"},setting:{id:"hasBoxShadowBundle",state:"normal"}},{type:"group",condition:"hasBoxShadowBundle.normal == true",controls:[{type:"control",layout:"vertical",setting:{id:"boxShadowBundle",state:"normal"}}]}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Icon"},setting:{id:"iconColor",state:"hover"}},{type:"control",label:{en:"Background"},setting:{id:"backgroundColor",state:"hover"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderBundle",state:"hover"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedBundle",state:"hover"}},{type:"control",label:{en:"Shadow"},setting:{id:"hasBoxShadowBundle",state:"hover"}},{type:"group",condition:"hasBoxShadowBundle.hover == true",controls:[{type:"control",setting:{id:"boxShadowBundle",state:"hover"},layout:"vertical"}]}]},{type:"group",label:{en:"Active"},controls:[{type:"control",label:{en:"Icon"},setting:{id:"iconColor",state:"active"}},{type:"control",label:{en:"Background"},setting:{id:"backgroundColor",state:"active"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderBundle",state:"active"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedBundle",state:"active"}},{type:"control",label:{en:"Shadow"},setting:{id:"hasBoxShadowBundle",state:"active"}},{type:"group",condition:"hasBoxShadowBundle.active == true",controls:[{type:"control",setting:{id:"boxShadowBundle",state:"active"},layout:"vertical"}]}]}]}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"align"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-bundle-discount",name:{en:"Product Bundle Discount"},icon:{desktop:`
20
+ `,settings:[{id:"setting",controls:[{id:"childItem",label:"Item management",type:"product-bundle-child-item",default:[],childTemplate:template.itemControlTemplate},{id:"hideNoDiscountItem",type:"toggle",default:!1},{id:"hasPreSelectItem",type:"toggle",default:!0},{id:"selectItemDefault",type:"select-product-bundle",hide:!0,default:0},{id:"layout",label:"Layout",type:"layout-segment",iconViewBox:"0 0 78 52",enableItemBackground:!0,enableTooltip:!0,default:"vertical-layout",options:[{label:"Vertical layout",value:"vertical-layout",type:"product-bundle"},{label:"Horizontal layout",value:"horizontal-layout",type:"product-bundle"}]},{id:"enableIcon",type:"toggle",default:!0},{id:"iconPosition",type:"layout-segment",iconViewBox:"0 0 66 48",enableItemBackground:!0,enableTooltip:!0,label:"Position",default:"center",options:[{label:"Align center",value:"center",type:"align-pos"},{label:"Align top",value:"baseline",type:"align-pos"}]},{id:"iconSize",type:"input:number",devices:{desktop:{default:24},tablet:{default:24},mobile:{default:24}},min:0},{id:"iconSpacing",type:"dropdown:input",hideUnit:!1,inputType:"number",default:"12px",displayOptions:[{label:"Small",value:"8px",showValue:!0},{label:"Medium",value:"16px",showValue:!0},{label:"Large",value:"24px",showValue:!0}]}]},{id:"style",controls:[{id:"size",type:"size-setting",devices:{desktop:{default:{padding:{type:"medium",top:"8px",left:"24px",bottom:"8px",right:"24px"},gap:"12px",width:"100%"}}},settingConfig:{width:{name:"Width",displayOptions:["full","default"]},gap:{name:"Item gap",displayOptions:["small","medium","large"],sizeConfig:{small:"8px",medium:"16px",large:"24px"}},padding:{name:"Padding",paddingConfig:{small:{vertical:"4px",horizontal:"16px"},medium:{vertical:"8px",horizontal:"24px"},large:{vertical:"12px",horizontal:"32px"}}}},hiddenSettings:["shape","height"],hiddenShowMore:!0},{id:"behavior-state",type:"behavior-state",controls:[{id:"borderBundle",type:"border",label:"Border",default:{normal:{border:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#7D7D7D",isCustom:!1},hover:{border:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#7D7D7D",isCustom:!1},active:{border:"solid",borderWidth:"2px",width:"1px 1px 1px 1px",color:"#000000",isCustom:!1}},state:{hover:!0,normal:!0}},{id:"iconColor",type:"colorpicker",label:"Icon",default:{normal:"#000000",hover:"highlight"},state:{hover:!0,normal:!0,active:!0}},{id:"backgroundColor",type:"background-color-picker",label:"Background",default:{normal:"#FFFFFF"},state:{hover:!0,normal:!0,active:!0}},{id:"hasBoxShadowBundle",type:"toggle",label:"Enable Button Shadow",default:{normal:!1,hover:!1,active:!1},state:{normal:!0,hover:!0,active:!0}},{id:"boxShadowBundle",type:"boxShadow",hideOnState:{normal:!0,hover:!0,active:!0},default:{normal:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90}},state:{normal:!0,hover:!0,active:!0}},{id:"roundedBundle",type:"radius-preset",label:"Border Radius",default:{normal:{radiusType:"none"}},state:{hover:!0,normal:!0,active:!0}}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],default:"left"}]}],ui:[{type:"group",label:{en:"Item management"},controls:[{type:"control",layout:"vertical",setting:{id:"childItem"}}]},{type:"control",label:{en:"Hide no-discount items"},setting:{id:"hideNoDiscountItem"}},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Pre-selected item"},setting:{id:"hasPreSelectItem"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",condition:"hasPreSelectItem == true",layout:"vertical",setting:{id:"selectItemDefault"},options:{styleControl:{"max-width":"100%"}}}]},{type:"group",label:{en:"Layout"},controls:[{type:"control",setting:{id:"layout"}}]},{type:"group",controls:[{type:"control",label:{en:"Icon"},options:{label:"large"},setting:{id:"enableIcon"}},{type:"control",condition:"enableIcon == true",label:{en:"Icon position"},setting:{id:"iconPosition"}},{type:"control",condition:"enableIcon == true",label:{en:"Icon size"},setting:{id:"iconSize"}},{type:"control",condition:"enableIcon == true",label:{en:"Icon spacing"},setting:{id:"iconSpacing"}}]},{label:{en:"Size"},type:"group",controls:[{type:"control",setting:{id:"size"},options:{noGap:!0}}]},{type:"group",label:{en:"Item states"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Default"},controls:[{type:"control",label:{en:"Icon"},setting:{id:"iconColor",state:"normal"}},{type:"control",label:{en:"Background"},setting:{id:"backgroundColor",state:"normal"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderBundle",state:"normal"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedBundle",state:"normal"}},{type:"control",label:{en:"Shadow"},setting:{id:"hasBoxShadowBundle",state:"normal"}},{type:"group",condition:"hasBoxShadowBundle.normal == true",controls:[{type:"control",layout:"vertical",setting:{id:"boxShadowBundle",state:"normal"}}]}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Icon"},setting:{id:"iconColor",state:"hover"}},{type:"control",label:{en:"Background"},setting:{id:"backgroundColor",state:"hover"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderBundle",state:"hover"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedBundle",state:"hover"}},{type:"control",label:{en:"Shadow"},setting:{id:"hasBoxShadowBundle",state:"hover"}},{type:"group",condition:"hasBoxShadowBundle.hover == true",controls:[{type:"control",setting:{id:"boxShadowBundle",state:"hover"},layout:"vertical"}]}]},{type:"group",label:{en:"Active"},controls:[{type:"control",label:{en:"Icon"},setting:{id:"iconColor",state:"active"}},{type:"control",label:{en:"Background"},setting:{id:"backgroundColor",state:"active"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"borderBundle",state:"active"}},{type:"control",label:{en:"Corner"},setting:{id:"roundedBundle",state:"active"}},{type:"control",label:{en:"Shadow"},setting:{id:"hasBoxShadowBundle",state:"active"}},{type:"group",condition:"hasBoxShadowBundle.active == true",controls:[{type:"control",setting:{id:"boxShadowBundle",state:"active"},layout:"vertical"}]}]}]}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"align"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-bundle-discount",name:{en:"Product Bundle Discount"},icon:{desktop:`
21
21
  <svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
22
22
  <path d="M0 3C0 1.34315 1.34315 0 3 0H91C92.6569 0 94 1.34315 94 3V19C94 20.6569 92.6569 22 91 22H3C1.34315 22 0 20.6569 0 19V3Z" fill="#424242"/>
23
23
  <rect x="8" y="9" width="12" height="4" rx="2" fill="#757575"/>
@@ -13,7 +13,7 @@
13
13
  <rect x="10" y="24" width="10" height="10" rx="3" transform="rotate(90 10 24)" fill="#494949"/>
14
14
  <rect x="14" width="56" height="48" rx="3" fill="#494949"/>
15
15
  <path d="M34.5 18.766L39.495 17.0288C39.495 17.0288 40.1024 18.4454 42.005 18.4454C43.9076 18.4454 44.5083 17 44.5083 17L49.5 18.766L48.6692 23.1222H46.1642V31H37.825V23.1196H35.3325L34.5 18.766Z" fill="#D6D6D6"/>
16
- </svg>
16
+ </svg>
17
17
  `},components:[{tag:"ProductImages",styles:{position:{desktop:"left"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}}]},{id:"product-image-vertical",name:{en:"Product Images"},icon:{desktop:`
18
18
  <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
19
19
  <rect x="24.5" width="47" height="34" rx="3" fill="#494949"/>
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var ProductButton=require("./ProductButton.js"),ProductPrice=require("./ProductPrice.js"),ProductQuantity=require("./ProductQuantity.js"),ProductTitle=require("./ProductTitle.js"),Product=require("./Product.js"),ProductVariants=require("./ProductVariants.js"),ProductImages=require("./ProductImages.js"),ProductImages$1=require("./product-image-v2/ProductImages.js"),ProductDescription=require("./ProductDescription.js"),ProductProperties=require("./ProductProperties.js"),ProductTag=require("./ProductTag.js"),ProductList=require("./ProductList.js"),DynamicCheckout=require("./DynamicCheckout.js"),ProductBundleDiscountItem=require("./ProductBundleDiscountItem.js"),ProductBundleDiscount=require("./ProductBundleDiscount.js"),Vendor=require("./Vendor.js"),ProductViewMore=require("./ProductViewMore.js"),index={Product:Product.default,ProductQuantity:ProductQuantity.default,ProductTitle:ProductTitle.default,ProductButton:ProductButton.default,ProductPrice:ProductPrice.default,ProductVariants:ProductVariants.default,ProductImages:ProductImages.default,ProductImagesV2:ProductImages$1.default,ProductDescription:ProductDescription.default,ProductProperties:ProductProperties.default,ProductTag:ProductTag.default,ProductList:ProductList.default,DynamicCheckout:DynamicCheckout.default,ProductBundleDiscount:ProductBundleDiscount.default,ProductBundleDiscountItem:ProductBundleDiscountItem.default,Vendor:Vendor.default,ProductViewMore:ProductViewMore.default};exports.default=index;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var ProductButton=require("./ProductButton.js"),ProductPrice=require("./ProductPrice.js"),ProductQuantity=require("./ProductQuantity.js"),ProductTitle=require("./ProductTitle.js"),Product=require("./Product.js"),ProductVariants=require("./ProductVariants.js"),ProductImages=require("./ProductImages.js"),ProductImages$1=require("./product-image-v2/ProductImages.js"),ProductDescription=require("./ProductDescription.js"),ProductProperties=require("./ProductProperties.js"),ProductTag=require("./ProductTag.js"),ProductList=require("./ProductList.js"),DynamicCheckout=require("./DynamicCheckout.js"),ProductBundleDiscountItem=require("./ProductBundleDiscountItem.js"),ProductBundleDiscount=require("./ProductBundleDiscount.js"),Vendor=require("./Vendor.js"),ProductViewMore=require("./ProductViewMore.js"),ProductBadge=require("./ProductBadge.js"),index={Product:Product.default,ProductQuantity:ProductQuantity.default,ProductTitle:ProductTitle.default,ProductButton:ProductButton.default,ProductPrice:ProductPrice.default,ProductVariants:ProductVariants.default,ProductImages:ProductImages.default,ProductImagesV2:ProductImages$1.default,ProductDescription:ProductDescription.default,ProductProperties:ProductProperties.default,ProductTag:ProductTag.default,ProductList:ProductList.default,DynamicCheckout:DynamicCheckout.default,ProductBundleDiscount:ProductBundleDiscount.default,ProductBundleDiscountItem:ProductBundleDiscountItem.default,Vendor:Vendor.default,ProductViewMore:ProductViewMore.default,ProductBadge:ProductBadge.default};exports.default=index;
@@ -2,7 +2,7 @@
2
2
  <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <path d="M13.3337 14.6666C13.3337 16.1333 12.1337 17.3333 10.667 17.3333C9.20033 17.3333 8.00033 16.1333 8.00033 14.6666C8.00033 13.2 9.20033 12 10.667 12C12.1337 12 13.3337 13.2 13.3337 14.6666ZM27.3741 14.8404C26.9836 14.4499 26.3504 14.4499 25.9599 14.8404L16.667 24.1333L14.0346 21.6062C13.6442 21.2314 13.0267 21.2352 12.6409 21.6145L5.33366 28.8V9.33329H34.667V22.1333L27.3741 14.8404ZM34.667 30.6666H23.2003L18.5337 26L26.667 17.8666L34.667 25.8666V30.6666ZM7.33366 30.6666L13.467 24.6666L19.467 30.6666H7.33366ZM3.66699 6.66663C3.11471 6.66663 2.66699 7.11434 2.66699 7.66663V31.4666V32.3333C2.66699 32.8856 3.11471 33.3333 3.66699 33.3333H25.867H36.3337C36.8859 33.3333 37.3337 32.8856 37.3337 32.3333V30.6666V28.5333V24.8V7.66662C37.3337 7.11434 36.8859 6.66663 36.3337 6.66663H3.66699Z" fill="currentColor"/>
4
4
  </svg>
5
- `,settings:[{id:"setting",controls:[{id:"select-display",type:"group",label:"Select images to display",controls:ProductFeatureImage.productSelectDisplaySetting},{id:"featured-image",type:"group",label:"Featured Image",controls:ProductFeatureImage.productFeatureImageSetting},{id:"gallery-images",type:"group",label:"Gallery Images",controls:ProductGalleryImage.productGalleryImageSetting},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"finest"}},options:[{label:"Finest",value:"finest"},{label:"High",value:"high"},{label:"Medium",value:"medium"},{label:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"range",label:"",units:["%"],min:100,max:400,step:50,useOnlyUnitInit:!0,devices:{desktop:{default:100}}},{id:"ftDotStyle",label:"Dot style",type:"layout-segment",iconViewBox:"0 0 77 48",enableItemBackground:!0,enableTooltip:!0,options:[{label:"None",value:"none",type:"carousel-dot",isTextIcon:!0},{label:"Inside",value:"inside",type:"carousel-dot"},{label:"Outside",value:"outside",type:"carousel-dot"}],devices:{desktop:{default:"none"}}},{id:"ftDotSize",label:"Dots size",type:"input:number",min:1,devices:{desktop:{default:12}}},{id:"ftDotGapToCarousel",label:"Gap to carousel",type:"input:unit",useOnlyUnitInit:!0,units:["px"],min:0,devices:{desktop:{default:16}}},{id:"ftDotColor",label:"Dot color",type:"colorpicker",devices:{desktop:{default:"bg-1"}}},{id:"ftDotActiveColor",label:"Dot color active",type:"colorpicker",devices:{desktop:{default:"line-3"}}}]},{id:"style",controls:[{id:"position",label:"Layout",type:"layout-segment",iconViewBox:"0 0 72 72",enableItemBackground:!0,itemPerRow:3,itemSpacing:"large",options:[{label:"Bottom",value:"bottom-center",type:"p-image-layout"},{label:"Left",value:"left",type:"p-image-layout"},{label:"Right",value:"right",type:"p-image-layout"},{label:"Only Feature Image",value:"only-feature",type:"p-image-layout"},{label:"2 Col",value:"two-col",type:"p-image-layout"},{label:"1 Col",value:"one-col",type:"p-image-layout"},{label:"Inside Bottom",value:"inside-bottom",type:"p-image-layout"},{label:"Inside Left",value:"inside-left",type:"p-image-layout"},{label:"Inside Right",value:"inside-right",type:"p-image-layout"}],devices:{desktop:{default:"bottom-center"},mobile:{default:"bottom-center"}}},{id:"spacing",label:"Spacing Item",type:"input:unit-spacing",units:["px"],devices:{desktop:{default:"var(--g-s-s)"},mobile:{default:"var(--g-s-s)"}}},{id:"ratioLayout",label:"Ratio",type:"grid-arrange",devices:{desktop:{default:[2,10]}}},{id:"ratioLayoutRight",label:"Ratio",type:"grid-arrange",devices:{desktop:{default:[10,2]}}},{id:"dimensions",type:"group",label:"Featured Image",controls:ProductFeatureImage.productFeatureImageStyle},{id:"galleryStyles",type:"group",label:"Gallery",controls:ProductGalleryImage.productGalleryImageStyle},{id:"align",label:"Alignment",type:"segment",options:[{label:"Start",value:"flex-start",type:"align-flex",tooltip:"Align left"},{label:"Center",value:"center",type:"align-flex",tooltip:"Align center"},{label:"End",value:"flex-end",type:"align-flex",tooltip:"Align right"}],devices:getDefaultResponsive("flex-start")}]}],ui:[{type:"group",label:{en:"Layout"},controls:[{type:"control",layout:"vertical",setting:{id:"position"}},{type:"control",label:{en:"Ratio"},setting:{id:"ratioLayout"},layout:"vertical",condition:'position == "left"'},{type:"control",label:{en:"Ratio"},setting:{id:"ratioLayoutRight"},layout:"vertical",condition:'position == "right"'},{type:"control",label:{en:"Spacing"},setting:{id:"spacing"},isMoreSetting:!0,condition:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"control",label:{en:"Spacing"},setting:{id:"itemSpacing"},isMoreSetting:!0,condition:'["one-col", "two-col"].includes(position)'}]},{type:"group",label:{en:"Select images to display"},controls:ProductFeatureImage.productSelectImage,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"group",label:{en:"Featured image"},controls:ProductFeatureImage.productFeatureImageUI,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',hiddenDivice:!0},{type:"group",label:{en:""},controls:ProductFeatureImage.productFeatureImageNavigationUI,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"group",label:{en:"Dots"},controls:[{type:"control",setting:{id:"ftDotStyle"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Inactive dot color"},setting:{id:"ftDotColor"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Active dot color"},setting:{id:"ftDotActiveColor"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Dots size"},setting:{id:"ftDotSize"},isMoreSetting:!0},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Gap to carousel"},setting:{id:"ftDotGapToCarousel"},isMoreSetting:!0}],condition:'position === "only-feature"'},{type:"group",label:{en:"Image list"},controls:ProductGalleryImage.productGalleryImageUI,condition:'position !== "only-feature"',hiddenDivice:!0},{type:"group",label:{en:""},controls:ProductGalleryImage.productGalleryImageNavigationUI,condition:'position !== "only-feature"'},{type:"group",controls:[{type:"control",label:{en:"Quality"},options:{label:"large"},setting:{id:"qualityType"}},{type:"control",layout:"horizontal",label:{en:" "},condition:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{type:"control",label:{en:"Align"},setting:{id:"align"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-image-v2",name:{en:"Product Images"},icon:{desktop:`
5
+ `,settings:[{id:"setting",controls:[{id:"select-display",type:"group",label:"Select images to display",controls:ProductFeatureImage.productSelectDisplaySetting},{id:"featured-image",type:"group",label:"Featured Image",controls:ProductFeatureImage.productFeatureImageSetting},{id:"gallery-images",type:"group",label:"Gallery Images",controls:ProductGalleryImage.productGalleryImageSetting},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"finest"}},options:[{label:"Finest",value:"finest"},{label:"High",value:"high"},{label:"Medium",value:"medium"},{label:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"range",label:"",units:["%"],min:100,max:400,step:50,useOnlyUnitInit:!0,devices:{desktop:{default:100}}},{id:"ftDotStyle",label:"Dot style",type:"layout-segment",iconViewBox:"0 0 77 48",enableItemBackground:!0,enableTooltip:!0,options:[{label:"None",value:"none",type:"carousel-dot",isTextIcon:!0},{label:"Inside",value:"inside",type:"carousel-dot"},{label:"Outside",value:"outside",type:"carousel-dot"}],devices:{desktop:{default:"none"}}},{id:"ftDotSize",label:"Dots size",type:"input:number",min:1,devices:{desktop:{default:12}}},{id:"ftDotGapToCarousel",label:"Gap to carousel",type:"input:unit",useOnlyUnitInit:!0,units:["px"],min:0,devices:{desktop:{default:16}}},{id:"ftDotColor",label:"Dot color",type:"colorpicker",devices:{desktop:{default:"bg-1"}}},{id:"ftDotActiveColor",label:"Dot color active",type:"colorpicker",devices:{desktop:{default:"line-3"}}}]},{id:"style",controls:[{id:"position",label:"Layout",type:"layout-segment",iconViewBox:"0 0 72 72",enableItemBackground:!0,itemPerRow:3,itemSpacing:"large",options:[{label:"Bottom",value:"bottom-center",type:"p-image-layout"},{label:"Left",value:"left",type:"p-image-layout"},{label:"Right",value:"right",type:"p-image-layout"},{label:"Only Feature Image",value:"only-feature",type:"p-image-layout"},{label:"2 Col",value:"two-col",type:"p-image-layout"},{label:"1 Col",value:"one-col",type:"p-image-layout"},{label:"Inside Bottom",value:"inside-bottom",type:"p-image-layout"},{label:"Inside Left",value:"inside-left",type:"p-image-layout"},{label:"Inside Right",value:"inside-right",type:"p-image-layout"}],devices:{desktop:{default:"bottom-center"},mobile:{default:"bottom-center"}}},{id:"spacing",label:"Spacing Item",type:"input:unit-spacing",units:["px"],devices:{desktop:{default:"var(--g-s-s)"},mobile:{default:"var(--g-s-s)"}}},{id:"ratioLayout",label:"Ratio",type:"grid-arrange",devices:{desktop:{default:[2,10]}}},{id:"ratioLayoutRight",label:"Ratio",type:"grid-arrange",devices:{desktop:{default:[10,2]}}},{id:"dimensions",type:"group",label:"Featured Image",controls:ProductFeatureImage.productFeatureImageStyle},{id:"galleryStyles",type:"group",label:"Gallery",controls:ProductGalleryImage.productGalleryImageStyle},{id:"align",label:"Alignment",type:"segment",options:[{label:"Start",value:"flex-start",type:"align-flex",tooltip:"Align left"},{label:"Center",value:"center",type:"align-flex",tooltip:"Align center"},{label:"End",value:"flex-end",type:"align-flex",tooltip:"Align right"}],devices:getDefaultResponsive("flex-start")}]}],ui:[{type:"group",label:{en:"Layout"},controls:[{type:"control",layout:"vertical",setting:{id:"position"}},{type:"control",label:{en:"Ratio"},setting:{id:"ratioLayout"},layout:"vertical",condition:'position == "left"'},{type:"control",label:{en:"Ratio"},setting:{id:"ratioLayoutRight"},layout:"vertical",condition:'position == "right"'},{type:"control",label:{en:"Spacing"},setting:{id:"spacing"},isMoreSetting:!0,condition:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"control",label:{en:"Spacing"},setting:{id:"itemSpacing"},isMoreSetting:!0,condition:'["one-col", "two-col"].includes(position)'}]},{type:"group",label:{en:"Select images to display"},controls:ProductFeatureImage.productSelectImage,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"group",label:{en:"Featured image"},controls:ProductFeatureImage.productFeatureImageUI,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',hiddenDivice:!0},{type:"group",label:{en:""},controls:ProductFeatureImage.productFeatureImageNavigationUI,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"group",label:{en:"Dots"},controls:[{type:"control",setting:{id:"ftDotStyle"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Inactive dot color"},setting:{id:"ftDotColor"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Active dot color"},setting:{id:"ftDotActiveColor"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Dots size"},setting:{id:"ftDotSize"},isMoreSetting:!0},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Gap to carousel"},setting:{id:"ftDotGapToCarousel"},isMoreSetting:!0}],condition:'position === "only-feature"'},{type:"group",label:{en:"Image list"},controls:ProductGalleryImage.productGalleryImageUI,condition:'position !== "only-feature"',hiddenDivice:!0},{type:"group",label:{en:""},controls:ProductGalleryImage.productGalleryImageNavigationUI,condition:'position !== "only-feature"'},{type:"group",controls:[{type:"control",label:{en:"Quality"},options:{label:"large"},setting:{id:"qualityType"}},{type:"control",layout:"horizontal",label:{en:" "},condition:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{type:"control",label:{en:"Align"},setting:{id:"align"}}],editorConfigs:{placeholder:{flowTag:["Product"]},slots:{children:!0}},presets:[{id:"product-image-v2",name:{en:"Product Images"},icon:{desktop:`
6
6
  <svg width="70" height="48" viewBox="0 0 70 48" fill="none" xmlns="http://www.w3.org/2000/svg">
7
7
  <rect x="10" width="10" height="10" rx="3" transform="rotate(90 10 0)" fill="#494949"/>
8
8
  <rect x="10" y="12" width="10" height="10" rx="3" transform="rotate(90 10 12)" fill="#494949"/>
@@ -1,41 +1,43 @@
1
- import{makeStyleResponsive as e,getHeightByShapeGlobalSize as t,makeStyleWithDefault as o,getWidthByShapeGlobalSize as r,makeFixedBgAttachment as l,getPaddingGlobalSize as a,removeUndefinedValuesFromObject as p,template as s,dataStringify as i,cls as g,makeStyle as n,getSingleColorVariable as c,getRadiusStyleActiveState as d,getStyleShadow as u,getAspectRatioGlobalSize as b,getStyleBackgroundByDevice as f,getGradientBgrStyleByDevice as h,RenderIf as v,getGlobalColorStateClass as m,getGlobalColorStateStyle as w,makeStyleState as $,isLocalEnv as y,baseAssetURL as k}from"@gem-sdk/core";import x from"../../../grid/components/Row.liquid.js";import A from"../../../image/components/AdaptiveImage.liquid.js";import{getVisibilityStyle as P,getStyleAspectRatio as S,getContentPosition as j,mapContentPositionToHorizontal as C,getClassAlignBanner as E,getClassContentPosition as z,getBgImage as B,getDisplayStyleByFitContent as _,getClassForContentByFitContent as q,getClassForStretchContent as H,getClassSpaceBetween as I,getWidth as N,getResponsiveSetting as R}from"../../helpers/common.js";let HeroBanner=({builderAttrs:G,builderProps:O,setting:T,styles:F,style:M,children:V,rawChildren:W,advanced:D})=>{let{link:J,layout:K,verticalAlign:L,order:Q,alignBanner:U}=T??{},{background:X,overlayEnable:Y,overlayColor:Z,overlayOpacity:ee,verticalGutter:et,contentWidth:eo,hoverEffect:er,hoverEffectDuration:el,hoverEffectScale:ea,cornerBg:ep,borderBg:es,hasActiveShadow:ei,shadowBg:eg,sizeSetting:en,contentPadding:ec}=F??{},ed=T?.enableParallax||!1,eu=Number(T?.speedParallax)||.6,eb=P(M),ef=e("h",t(en)),eh=o("w",r(en,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),ev=S(X,en),em=l(X),ew=R(X||{}),e$=R(U||{}),ey=a(ec),ek=j(T?.layout,F?.contentPosition1Col,F?.contentPosition2Col),ex=C(ek),eA=()=>{let e={},t=B(X),o=["desktop","mobile","tablet"];return o.forEach(o=>{let r=t?.[o]?.width,l=en?.[o]?.shape==="original";r&&l&&(e={...e,[o]:`${r}px`})}),e},eP=p(o("w",eA(),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}));return s`
2
- <gp-hero-banner
3
- gp-data='${i({background:ew,uid:O?.uid,enableParallax:ed,speedParallax:eu}).replaceAll("'","&#039;")}'
4
- ${{...G}}
5
- class="${g(O?.uid,D?.cssClass,"gp-group/hero gp-flex gp-flex-col gp-self-center gp-transition-colors gp-duration-200 gp-ease-in-out gp-w-full",E(e$))}"
6
- style="${{...M,...eb,...ef,...eh,...ev}}"
7
- >
8
- <div
9
- class="${g("gp-relative gp-flex gp-flex-col gp-items-center gp-overflow-hidden",{...z(ek||{})})}"
10
- style="${{...ef,...ev,...n({bs:es?.border??es?.border,bw:es?.width??es?.width,bc:c(es?.color)}),...d({...ep,active:{...ep||{},radiusType:"custom"}}),...u({value:eg,styleAppliedFor:"box-shadow",isEnableShadow:ei})}}"
1
+ import{makeStyleResponsive as e,getHeightByShapeGlobalSize as t,makeStyleWithDefault as o,getWidthByShapeGlobalSize as r,makeFixedBgAttachment as l,getPaddingGlobalSize as a,removeUndefinedValuesFromObject as p,template as s,dataStringify as i,cls as g,makeStyle as n,getSingleColorVariable as c,getRadiusStyleActiveState as d,getStyleShadow as u,getAspectRatioGlobalSize as b,getStyleBackgroundByDevice as f,getGradientBgrStyleByDevice as v,RenderIf as h,getGlobalColorStateClass as m,getGlobalColorStateStyle as w,makeStyleState as $,isLocalEnv as y,baseAssetURL as x}from"@gem-sdk/core";import k from"../../../grid/components/Row.liquid.js";import j from"../../../image/components/AdaptiveImage.liquid.js";import{getVisibilityStyle as A,getStyleAspectRatio as P,getContentPosition as S,mapContentPositionToHorizontal as C,getClassAlignBanner as E,getClassContentPosition as z,getBgImage as B,getDisplayStyleByFitContent as _,getClassForContentByFitContent as q,getClassForStretchContent as H,getClassSpaceBetween as I,getWidth as N,getResponsiveSetting as R}from"../../helpers/common.js";let HeroBanner=({builderAttrs:G,builderProps:O,setting:T,styles:F,style:M,children:V,rawChildren:W,advanced:D})=>{let{link:J,layout:K,verticalAlign:L,order:Q,alignBanner:U}=T??{},{background:X,overlayEnable:Y,overlayColor:Z,overlayOpacity:ee,verticalGutter:et,contentWidth:eo,hoverEffect:er,hoverEffectDuration:el,hoverEffectScale:ea,cornerBg:ep,borderBg:es,hasActiveShadow:ei,shadowBg:eg,sizeSetting:en,contentPadding:ec}=F??{},ed=T?.enableParallax||!1,eu=Number(T?.speedParallax)||.6,eb=A(M),ef=e("h",t(en)),ev=o("w",r(en,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),eh=P(X,en),em=l(X),ew=R(X||{}),e$=R(U||{}),ey=a(ec),ex=S(T?.layout,F?.contentPosition1Col,F?.contentPosition2Col),ek=C(ex),ej=()=>{let e={},t=B(X),o=["desktop","mobile","tablet"];return o.forEach(o=>{let r=t?.[o]?.width,l=en?.[o]?.shape==="original";r&&l&&(e={...e,[o]:`${r}px`})}),e},eA=p(o("w",ej(),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}));return s`
2
+ <div class='gp-flex gp-w-full gp-justify-center'>
3
+ <gp-hero-banner
4
+ gp-data='${i({background:ew,uid:O?.uid,enableParallax:ed,speedParallax:eu}).replaceAll("'","&#039;")}'
5
+ ${{...G}}
6
+ class="${g(O?.uid,D?.cssClass,"gp-group/hero gp-flex gp-flex-col gp-transition-colors gp-duration-200 gp-ease-in-out gp-w-full",E(e$))}"
7
+ style="${{...M,...eb,...ef,...ev,...eh}}"
11
8
  >
12
- ${A({priority:T?.preload,pictureClass:"gp-w-full",srcSet:B(X),aspectRatio:b(en),style:{..._(en,X),...ef,...eh,...eP,"--op":0,"--z":-1}})}
13
- <div class="${g("gp-absolute gp-w-full gp-h-full")}">
14
- <div
15
- class="${g("gp-overflow-hidden gp-w-full gp-h-full")}"
16
- style="${{...em?.wrapper,"clip-path":"inset(0 0)"}}">
9
+ <div
10
+ class="${g("gp-relative gp-flex gp-flex-col gp-items-center gp-overflow-hidden",{...z(ex||{})})}"
11
+ style="${{...ef,...eh,...n({bs:es?.border??es?.border,bw:es?.width??es?.width,bc:c(es?.color)}),...d({...ep,active:{...ep||{},radiusType:"custom"}}),...u({value:eg,styleAppliedFor:"box-shadow",isEnableShadow:ei})}}"
12
+ >
13
+ ${j({priority:T?.preload,pictureClass:"gp-w-full",srcSet:B(X),aspectRatio:b(en),style:{..._(en,X),...ef,...ev,...eA,"--op":0,"--z":-1}})}
14
+ <div class="${g("gp-absolute gp-w-full gp-h-full")}">
17
15
  <div
18
- aria-label="Background Image"
19
- role="banner"
20
- class="${g("gp-hero-banner-bg gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-transition-transform gp-flex gp-items-center gp-justify-center gp-bg-clip-content",{"gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]":er})}"
21
- style="${{...f(X,{liquid:!0,ignoreBgAttachment:!0}),"--duration":`${el??0}s`,"--scale":ea??1,"--top":0,"--left":0,...em?.content,...h(X)}}"
22
- > </div>
16
+ class="${g("gp-overflow-hidden gp-w-full gp-h-full")}"
17
+ style="${{...em?.wrapper,"clip-path":"inset(0 0)"}}">
18
+ <div
19
+ aria-label="Background Image"
20
+ role="banner"
21
+ class="${g("gp-hero-banner-bg gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-transition-transform gp-flex gp-items-center gp-justify-center gp-bg-clip-content",{"gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]":er})}"
22
+ style="${{...f(X,{liquid:!0,ignoreBgAttachment:!0}),"--duration":`${el??0}s`,"--scale":ea??1,"--top":0,"--left":0,...em?.content,...v(X)}}"
23
+ > </div>
24
+ </div>
25
+ ${h(Y,s`<div
26
+ aria-label="Overlay"
27
+ role="banner"
28
+ class="${g("gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]",m("bg",Z))}"
29
+ style="${{...w("bgc",Z),"--top":0,"--left":0,...$("op",ee)}}"
30
+ > </div>`)}
23
31
  </div>
24
- ${v(Y,s`<div
25
- aria-label="Overlay"
26
- role="banner"
27
- class="${g("gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]",m("bg",Z))}"
28
- style="${{...w("bgc",Z),"--top":0,"--left":0,...$("op",ee)}}"
29
- > </div>`)}
32
+ ${h(!!J?.link,`<a
33
+ href="${J?.link}"
34
+ target="${J?.target}"
35
+ aria-label="Hero banner link"
36
+ class="gp-absolute gp-inset-0 gp-z-1"
37
+ > </a>`)}
38
+ ${k({className:g("gp-hero-banner-row gp-z-1 gp-w-full",q(en,X),H(L),I(T?.layout||{},F?.contentPosition1Col||{},F?.contentPosition2Col||{})),setting:{layout:K,horizontalAlign:ek,verticalAlign:L,order:Q},styles:{verticalGutter:et,width:N(eo),fullWidth:{desktop:!1,tablet:!1,mobile:!1}},style:{...ey},children:V,rawChildren:W})}
30
39
  </div>
31
- ${v(!!J?.link,`<a
32
- href="${J?.link}"
33
- target="${J?.target}"
34
- aria-label="Hero banner link"
35
- class="gp-absolute gp-inset-0 gp-z-1"
36
- > </a>`)}
37
- ${x({className:g("gp-hero-banner-row gp-z-1 gp-w-full",q(en,X),H(L),I(T?.layout||{},F?.contentPosition1Col||{},F?.contentPosition2Col||{})),setting:{layout:K,horizontalAlign:ex,verticalAlign:L,order:Q},styles:{verticalGutter:et,width:N(eo),fullWidth:{desktop:!1,tablet:!1,mobile:!1}},style:{...ey},children:V,rawChildren:W})}
38
- </div>
39
- </gp-hero-banner>
40
- ${v(y,'<script src="{{ \'gp-hero-banner.js\' | asset_url }}" defer="defer"></script>',`<script src="${k}/assets-v2/gp-hero-banner.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
40
+ </gp-hero-banner>
41
+ </div>
42
+ ${h(y,'<script src="{{ \'gp-hero-banner.js\' | asset_url }}" defer="defer"></script>',`<script src="${x}/assets-v2/gp-hero-banner.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
41
43
  `};export{HeroBanner as default};
@@ -1 +1 @@
1
- import"./accordion/setting/Accordion.js";import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import r from"./breadcrumb/components/Breadcrumb.js";import"./breadcrumb/setting/Breadcrumb.js";import m from"./button/components/Button.js";import n from"./carousel/components/Carousel.js";import s from"./carousel/components/CarouselItem.js";import p from"./cart/components/CartLineVariant.js";import e from"./cart/components/Cart.js";import i from"./cart/components/CartList.js";import c from"./cart/components/CartLinePrice.js";import a from"./cart/components/CartLineImage.js";import d from"./cart/components/CartTotalPrice.js";import f from"./cart/components/CartTotalItem.js";import j from"./cart/components/CartCheckout.js";import u from"./cart/components/DiscountInput.js";import l from"./cart/components/CartDiscount.js";import h from"./cart/components/CartOrderNote.js";import y from"./cart/components/CartLineAttribute.js";import P from"./cart/components/CouponList.js";import g from"./cart/components/ShopPayButton/index.js";import C from"./cart/components/CheckoutNow.js";import I from"./collection/components/CollectionTitle.js";import x from"./collection/components/CollectionBanner.js";import b from"./collection/components/CollectionDescription.js";import w from"./collection/components/CollectionToolbar.js";import T from"./collection/components/CollectionPaginator.js";import"./countdown-timer/setting/Countdown.js";import B from"./countdown-timer/components/Countdown.js";import L from"./grid/components/Col.js";import A from"./grid/components/Row.js";import v from"./grid/components/Section.js";import k from"./grid/components/Root.js";import S from"./heading/Heading.js";import R from"./header/components/Header.js";import D from"./header/components/kind/basic/index.js";import V from"./header/components/kind/modern/index.js";import F from"./header/components/kind/basic/MobileMenu.js";import M from"./header/components/kind/basic/DesktopMenu.js";import O from"./icon/components/Icon.js";import z from"./image/components/Image.js";import H from"./image/components/BackgroundImage.js";import Q from"./image-comparison/components/ImageComparison.js";import K from"./input/Input.js";import N from"./line/Line.js";import Y from"./link/components/Link.js";import"./modal/components/confirm.js";import E from"./modal/components/Modal.js";import J from"./pagination/Pagination.js";import U from"./post-purchase/product/components/ProductTitle.js";import W from"./post-purchase/product/components/ProductDescription.js";import q from"./post-purchase/product/components/ProductPrice.js";import G from"./post-purchase/product/components/ProductVariant.js";import X from"./post-purchase/product/components/AcceptButton.js";import Z from"./post-purchase/product/components/ProductQuantity.js";import $ from"./post-purchase/product/components/ProductOffer.js";import _ from"./post-purchase/product/components/ProductPriceBreakdown.js";import oo from"./post-purchase/product/components/ProductDiscountTag.js";import ot from"./post-purchase/product/components/product-image/index.js";import or from"./product/components/Product.js";import om from"./product/components/ProductTitle.js";import on from"./product/components/ProductQuantity.js";import os from"./product/components/ProductDescription.js";import op from"./product/components/ProductPrice.js";import oe from"./product/components/ProductButton.js";import oi from"./product/components/ProductVariants/index.js";import oc from"./product/components/ProductImages.js";import oa from"./product/components/ProductImagesV2/jsx/ProductImages.js";import od from"./product/components/ProductProperties.js";import of from"./product/components/ProductQuickView/index.js";import oj from"./product/components/ProductTag.js";import ou from"./product/components/ProductList.js";import ol from"./product/components/DynamicCheckout.js";import oh from"./product/components/ProductBundleDiscount.js";import oy from"./product/components/ProductBundleDiscountItem.js";import oP from"./product/components/Vendor.js";import og from"./product/components/ProductViewMore.js";import oC from"./article/components/ArticleList.js";import oI from"./article/components/ArticleTitle.js";import ox from"./article/components/ArticleExcerpt.js";import ob from"./article/components/ArticleContent.js";import ow from"./article/components/ArticleImage.js";import oT from"./article/components/ArticlePagination.js";import oB from"./article/components/ArticleAuthor.js";import oL from"./article/components/ArticleTag.js";import oA from"./article/components/ArticleCategory.js";import ov from"./article/components/ArticleDate.js";import ok from"./article/components/ArticleReadMore.js";import oS from"./radio/Radio.js";import oR from"./select/Select.js";import oD from"./tab/components/Tabs.js";import oV from"./tab/components/TabItem.js";import oF from"./text/components/Text.js";import oM from"./textarea/Textarea.js";import oO from"./video/components/Video.js";import oz from"./menu/components/Menu.js";import oH from"./third-party-slot/components/ThirdPartySlot.js";import oQ from"./third-party/components/FeraReviews.js";import oK from"./third-party/components/JudgemeReviews.js";import oN from"./third-party/components/LooxReviews.js";import oY from"./third-party/components/Klaviyo.js";import oE from"./third-party/components/YotpoLoyalty.js";import oJ from"./third-party/components/SmartSearchBarAndFilters.js";import oU from"./third-party/components/Instafeed.js";import oW from"./third-party/components/ProductReviews.js";import oq from"./third-party/components/Ryviu.js";import oG from"./third-party/components/Rivyo.js";import oX from"./third-party/components/Vitals.js";import oZ from"./third-party/components/Omnisend.js";import o$ from"./third-party/components/Trustoo.js";import o_ from"./third-party/components/SealSubscriptions.js";import o2 from"./third-party/components/AppstleSubscriptions.js";import o0 from"./third-party/components/ParcelPanel.js";import o1 from"./third-party/components/TrustMe.js";import o3 from"./third-party/components/FrequentlyBoughtTogether.js";import o4 from"./third-party/components/BoldSubscriptions.js";import o5 from"./third-party/components/BoldProductOptions.js";import o6 from"./third-party/components/WideBundle.js";import o7 from"./third-party/components/PickyStory.js";import o8 from"./third-party/components/InfiniteOptions.js";import o9 from"./third-party/components/Wiser.js";import to from"./third-party/components/Stamped.js";import tt from"./third-party/components/Bundler.js";import tr from"./third-party/components/LaiProductReviews.js";import tm from"./third-party/components/Growave.js";import tn from"./third-party/components/KachingBundles.js";import ts from"./third-party/components/CrossSellCartUpsell.js";import tp from"./third-party/components/UltimateSalesBoost.js";import te from"./third-party/components/Opinew.js";import ti from"./third-party/components/BoostAISearchDiscovery.js";import tc from"./third-party/components/FirePush.js";import ta from"./third-party/components/YotpoReviews.js";import td from"./third-party/components/AliReviews.js";import tf from"./third-party/components/Releasit.js";import tj from"./third-party-instant/components/InstantJudgemeReviews.js";import tu from"./third-party-instant/components/InstantLooxReviews.js";import tl from"./third-party-instant/components/InstantKlaviyo.js";import th from"./third-party-instant/components/InstantYotpoLoyalty.js";import ty from"./banner/components/hero-banner/index.js";import tP from"./icon-list/components/IconList.js";import tg from"./icon-list/components/IconListItem.js";import tC from"./code/components/CSSCode.js";import tI from"./icon-list-hoz/components/IconListHoz.js";import tx from"./icon-list-hoz/components/IconListHozItem.js";import tb from"./stock-counter/components/StockCounter.js";import tw from"./dialog/components/Dialog.js";import tT from"./image-detection/ImageDetection.js";import tB from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/setting/IconList.js";import"./form/setting/Contact.js";import tL from"./form/components/newsletter/Newsletter.js";import tA from"./form/components/contact/Contact.js";import tv from"./form/components/form-email/FormEmail.js";import tk from"./form/components/submit-button/SubmitButton.js";import tS from"./form/components/textfield/TextField.js";import tR from"./form/components/textarea/TextArea.js";import tD from"./form/components/form-dropdown/FormDropdown.js";import tV from"./form/components/form-checkbox/FormCheckbox.js";import tF from"./sticky/components/Sticky.js";import{PostPurchaseHeading as tM}from"./post-purchase/text/index.js";import tO from"./post-purchase/image/components/Image.js";import tz from"./post-purchase/button/Button.js";import tH from"./post-purchase/callout-banner/components/CalloutBox.js";import tQ from"./post-purchase/callout-banner/components/CalloutText.js";import tK from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import tN from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import tY from"./post-purchase/line/components/PostPurchaseLine.js";import tE from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import tJ from"./post-purchase/text/Text.js";var builder={Accordion:o,AccordionItem:t,Breadcrumb:r,Button:m,Carousel:n,CarouselItem:s,Cart:e,CartList:i,CartLinePrice:c,CartLineVariant:p,CartLineImage:a,CartTotalPrice:d,CartTotalItem:f,CartCheckout:j,DiscountInput:u,CartDiscount:l,CartOrderNote:h,CartLineAttribute:y,CouponList:P,ShopPayButton:g,CheckoutNow:C,CollectionTitle:I,CollectionDescription:b,CollectionBanner:x,CollectionToolbar:w,CollectionPaginator:T,Countdown:B,Row:A,Col:L,Section:v,Root:k,Heading:S,Header:R,BasicHeader:D,ModernHeader:V,MobileMenu:F,DesktopMenu:M,Icon:O,Image:z,ImageComparison:Q,BackgroundImage:H,Input:K,Line:N,Link:Y,Modal:E,Pagination:J,Product:or,ProductTitle:om,ProductQuantity:on,ProductPrice:op,ProductBundleDiscount:oh,ProductBundleDiscountItem:oy,ProductButton:oe,ProductDescription:os,ProductVariants:oi,ProductImages:oc,ProductImagesV2:oa,ProductProperties:od,ProductQuickView:of,ProductTag:oj,ProductList:ou,Radio:oS,Select:oR,Tabs:oD,TabItem:oV,Text:oF,Textarea:oM,Video:oO,Menu:oz,ThirdPartySlot:oH,JudgemeReviews:oK,LooxReviews:oN,Instafeed:oU,Klaviyo:oY,YotpoLoyalty:oE,SmartSearchBarAndFilters:oJ,ProductReviews:oW,Ryviu:oq,Rivyo:oG,Vitals:oX,Omnisend:oZ,ParcelPanel:o0,TrustMe:o1,Trustoo:o$,SealSubscriptions:o_,AppstleSubscriptions:o2,FeraReviews:oQ,Growave:tm,KachingBundles:tn,UltimateSalesBoost:tp,Opinew:te,FirePush:tc,FrequentlyBoughtTogether:o3,BoldSubscriptions:o4,BoldProductOptions:o5,WideBundle:o6,PickyStory:o7,InfiniteOptions:o8,Wiser:o9,Stamped:to,Bundler:tt,LaiProductReviews:tr,CrossSellCartUpsell:ts,BoostAISearchDiscovery:ti,YotpoReviews:ta,AliReviews:td,InstantJudgemeReviews:tj,InstantLooxReviews:tu,InstantKlaviyo:tl,InstantYotpoLoyalty:th,Releasit:tf,HeroBanner:ty,IconList:tP,IconListItem:tg,CSSCode:tC,IconListHoz:tI,IconListItemHoz:tx,StockCounter:tb,Dialog:tw,Newsletter:tL,ContactForm:tA,FormEmail:tv,SubmitButton:tk,TextField:tS,FormTextarea:tR,FormDropdown:tD,FormCheckbox:tV,DynamicCheckout:ol,ImageDetection:tT,Sticky:tF,IconListV2:tB,PostPurchaseText:tJ,PostPurchaseImage:tO,PostPurchaseButton:tz,PostPurchaseProductDescription:W,PostPurchaseProductPrice:q,PostPurchaseProductTitle:U,PostPurchaseProductVariants:G,PostPurchaseAcceptButton:X,PostPurchaseProductQuantity:Z,PostPurchaseProductPriceBreakdown:_,PostPurchaseProductOffer:$,PostPurchaseHeading:tM,PostPurchaseCalloutBox:tH,PostPurchaseCalloutText:tQ,PostPurchaseProductDiscountTag:oo,PostPurchaseAdvancedList:tK,PostPurchaseAdvancedListItem:tN,PostPurchaseLine:tY,Vendor:oP,PostPurchaseProductImages:ot,PostPurchaseCountdownTimer:tE,ArticleList:oC,ArticleTitle:oI,ArticleExcerpt:ox,ArticleContent:ob,ArticleImage:ow,ArticlePagination:oT,ArticleAuthor:oB,ArticleTag:oL,ArticleCategory:oA,ArticleDate:ov,ArticleReadMore:ok,ProductViewMore:og};export{builder as default};
1
+ import"./accordion/setting/Accordion.js";import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import r from"./breadcrumb/components/Breadcrumb.js";import"./breadcrumb/setting/Breadcrumb.js";import m from"./button/components/Button.js";import n from"./carousel/components/Carousel.js";import s from"./carousel/components/CarouselItem.js";import p from"./cart/components/CartLineVariant.js";import e from"./cart/components/Cart.js";import i from"./cart/components/CartList.js";import c from"./cart/components/CartLinePrice.js";import a from"./cart/components/CartLineImage.js";import d from"./cart/components/CartTotalPrice.js";import f from"./cart/components/CartTotalItem.js";import j from"./cart/components/CartCheckout.js";import u from"./cart/components/DiscountInput.js";import l from"./cart/components/CartDiscount.js";import h from"./cart/components/CartOrderNote.js";import P from"./cart/components/CartLineAttribute.js";import y from"./cart/components/CouponList.js";import g from"./cart/components/ShopPayButton/index.js";import C from"./cart/components/CheckoutNow.js";import I from"./collection/components/CollectionTitle.js";import x from"./collection/components/CollectionBanner.js";import b from"./collection/components/CollectionDescription.js";import w from"./collection/components/CollectionToolbar.js";import B from"./collection/components/CollectionPaginator.js";import"./countdown-timer/setting/Countdown.js";import T from"./countdown-timer/components/Countdown.js";import L from"./grid/components/Col.js";import A from"./grid/components/Row.js";import v from"./grid/components/Section.js";import k from"./grid/components/Root.js";import S from"./heading/Heading.js";import R from"./header/components/Header.js";import D from"./header/components/kind/basic/index.js";import V from"./header/components/kind/modern/index.js";import F from"./header/components/kind/basic/MobileMenu.js";import M from"./header/components/kind/basic/DesktopMenu.js";import O from"./icon/components/Icon.js";import z from"./image/components/Image.js";import H from"./image/components/BackgroundImage.js";import Q from"./image-comparison/components/ImageComparison.js";import K from"./input/Input.js";import N from"./line/Line.js";import Y from"./link/components/Link.js";import"./modal/components/confirm.js";import E from"./modal/components/Modal.js";import J from"./pagination/Pagination.js";import U from"./post-purchase/product/components/ProductTitle.js";import W from"./post-purchase/product/components/ProductDescription.js";import q from"./post-purchase/product/components/ProductPrice.js";import G from"./post-purchase/product/components/ProductVariant.js";import X from"./post-purchase/product/components/AcceptButton.js";import Z from"./post-purchase/product/components/ProductQuantity.js";import $ from"./post-purchase/product/components/ProductOffer.js";import _ from"./post-purchase/product/components/ProductPriceBreakdown.js";import oo from"./post-purchase/product/components/ProductDiscountTag.js";import ot from"./post-purchase/product/components/product-image/index.js";import or from"./product/components/Product.js";import om from"./product/components/ProductTitle.js";import on from"./product/components/ProductQuantity.js";import os from"./product/components/ProductDescription.js";import op from"./product/components/ProductPrice.js";import oe from"./product/components/ProductButton.js";import oi from"./product/components/ProductVariants/index.js";import oc from"./product/components/ProductImages.js";import oa from"./product/components/ProductImagesV2/jsx/ProductImages.js";import od from"./product/components/ProductProperties.js";import of from"./product/components/ProductQuickView/index.js";import oj from"./product/components/ProductTag.js";import ou from"./product/components/ProductList.js";import ol from"./product/components/DynamicCheckout.js";import oh from"./product/components/ProductBundleDiscount.js";import oP from"./product/components/ProductBundleDiscountItem.js";import oy from"./product/components/Vendor.js";import og from"./product/components/ProductViewMore.js";import oC from"./product/components/ProductBadge.js";import oI from"./article/components/ArticleList.js";import ox from"./article/components/ArticleTitle.js";import ob from"./article/components/ArticleExcerpt.js";import ow from"./article/components/ArticleContent.js";import oB from"./article/components/ArticleImage.js";import oT from"./article/components/ArticlePagination.js";import oL from"./article/components/ArticleAuthor.js";import oA from"./article/components/ArticleTag.js";import ov from"./article/components/ArticleCategory.js";import ok from"./article/components/ArticleDate.js";import oS from"./article/components/ArticleReadMore.js";import oR from"./radio/Radio.js";import oD from"./select/Select.js";import oV from"./tab/components/Tabs.js";import oF from"./tab/components/TabItem.js";import oM from"./text/components/Text.js";import oO from"./textarea/Textarea.js";import oz from"./video/components/Video.js";import oH from"./menu/components/Menu.js";import oQ from"./third-party-slot/components/ThirdPartySlot.js";import oK from"./third-party/components/FeraReviews.js";import oN from"./third-party/components/JudgemeReviews.js";import oY from"./third-party/components/LooxReviews.js";import oE from"./third-party/components/Klaviyo.js";import oJ from"./third-party/components/YotpoLoyalty.js";import oU from"./third-party/components/SmartSearchBarAndFilters.js";import oW from"./third-party/components/Instafeed.js";import oq from"./third-party/components/ProductReviews.js";import oG from"./third-party/components/Ryviu.js";import oX from"./third-party/components/Rivyo.js";import oZ from"./third-party/components/Vitals.js";import o$ from"./third-party/components/Omnisend.js";import o_ from"./third-party/components/Trustoo.js";import o2 from"./third-party/components/SealSubscriptions.js";import o0 from"./third-party/components/AppstleSubscriptions.js";import o1 from"./third-party/components/ParcelPanel.js";import o3 from"./third-party/components/TrustMe.js";import o4 from"./third-party/components/FrequentlyBoughtTogether.js";import o5 from"./third-party/components/BoldSubscriptions.js";import o6 from"./third-party/components/BoldProductOptions.js";import o7 from"./third-party/components/WideBundle.js";import o8 from"./third-party/components/PickyStory.js";import o9 from"./third-party/components/InfiniteOptions.js";import to from"./third-party/components/Wiser.js";import tt from"./third-party/components/Stamped.js";import tr from"./third-party/components/Bundler.js";import tm from"./third-party/components/LaiProductReviews.js";import tn from"./third-party/components/Growave.js";import ts from"./third-party/components/KachingBundles.js";import tp from"./third-party/components/CrossSellCartUpsell.js";import te from"./third-party/components/UltimateSalesBoost.js";import ti from"./third-party/components/Opinew.js";import tc from"./third-party/components/BoostAISearchDiscovery.js";import ta from"./third-party/components/FirePush.js";import td from"./third-party/components/YotpoReviews.js";import tf from"./third-party/components/AliReviews.js";import tj from"./third-party/components/Releasit.js";import tu from"./third-party-instant/components/InstantJudgemeReviews.js";import tl from"./third-party-instant/components/InstantLooxReviews.js";import th from"./third-party-instant/components/InstantKlaviyo.js";import tP from"./third-party-instant/components/InstantYotpoLoyalty.js";import ty from"./banner/components/hero-banner/index.js";import tg from"./icon-list/components/IconList.js";import tC from"./icon-list/components/IconListItem.js";import tI from"./code/components/CSSCode.js";import tx from"./icon-list-hoz/components/IconListHoz.js";import tb from"./icon-list-hoz/components/IconListHozItem.js";import tw from"./stock-counter/components/StockCounter.js";import tB from"./dialog/components/Dialog.js";import tT from"./image-detection/ImageDetection.js";import tL from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/setting/IconList.js";import"./form/setting/Contact.js";import tA from"./form/components/newsletter/Newsletter.js";import tv from"./form/components/contact/Contact.js";import tk from"./form/components/form-email/FormEmail.js";import tS from"./form/components/submit-button/SubmitButton.js";import tR from"./form/components/textfield/TextField.js";import tD from"./form/components/textarea/TextArea.js";import tV from"./form/components/form-dropdown/FormDropdown.js";import tF from"./form/components/form-checkbox/FormCheckbox.js";import tM from"./sticky/components/Sticky.js";import{PostPurchaseHeading as tO}from"./post-purchase/text/index.js";import tz from"./post-purchase/image/components/Image.js";import tH from"./post-purchase/button/Button.js";import tQ from"./post-purchase/callout-banner/components/CalloutBox.js";import tK from"./post-purchase/callout-banner/components/CalloutText.js";import tN from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import tY from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import tE from"./post-purchase/line/components/PostPurchaseLine.js";import tJ from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import tU from"./post-purchase/text/Text.js";var builder={Accordion:o,AccordionItem:t,Breadcrumb:r,Button:m,Carousel:n,CarouselItem:s,Cart:e,CartList:i,CartLinePrice:c,CartLineVariant:p,CartLineImage:a,CartTotalPrice:d,CartTotalItem:f,CartCheckout:j,DiscountInput:u,CartDiscount:l,CartOrderNote:h,CartLineAttribute:P,CouponList:y,ShopPayButton:g,CheckoutNow:C,CollectionTitle:I,CollectionDescription:b,CollectionBanner:x,CollectionToolbar:w,CollectionPaginator:B,Countdown:T,Row:A,Col:L,Section:v,Root:k,Heading:S,Header:R,BasicHeader:D,ModernHeader:V,MobileMenu:F,DesktopMenu:M,Icon:O,Image:z,ImageComparison:Q,BackgroundImage:H,Input:K,Line:N,Link:Y,Modal:E,Pagination:J,Product:or,ProductTitle:om,ProductQuantity:on,ProductPrice:op,ProductBundleDiscount:oh,ProductBundleDiscountItem:oP,ProductButton:oe,ProductDescription:os,ProductVariants:oi,ProductImages:oc,ProductImagesV2:oa,ProductProperties:od,ProductQuickView:of,ProductTag:oj,ProductList:ou,Radio:oR,Select:oD,Tabs:oV,TabItem:oF,Text:oM,Textarea:oO,Video:oz,Menu:oH,ThirdPartySlot:oQ,JudgemeReviews:oN,LooxReviews:oY,Instafeed:oW,Klaviyo:oE,YotpoLoyalty:oJ,SmartSearchBarAndFilters:oU,ProductReviews:oq,Ryviu:oG,Rivyo:oX,Vitals:oZ,Omnisend:o$,ParcelPanel:o1,TrustMe:o3,Trustoo:o_,SealSubscriptions:o2,AppstleSubscriptions:o0,FeraReviews:oK,Growave:tn,KachingBundles:ts,UltimateSalesBoost:te,Opinew:ti,FirePush:ta,FrequentlyBoughtTogether:o4,BoldSubscriptions:o5,BoldProductOptions:o6,WideBundle:o7,PickyStory:o8,InfiniteOptions:o9,Wiser:to,Stamped:tt,Bundler:tr,LaiProductReviews:tm,CrossSellCartUpsell:tp,BoostAISearchDiscovery:tc,YotpoReviews:td,AliReviews:tf,InstantJudgemeReviews:tu,InstantLooxReviews:tl,InstantKlaviyo:th,InstantYotpoLoyalty:tP,Releasit:tj,HeroBanner:ty,IconList:tg,IconListItem:tC,CSSCode:tI,IconListHoz:tx,IconListItemHoz:tb,StockCounter:tw,Dialog:tB,Newsletter:tA,ContactForm:tv,FormEmail:tk,SubmitButton:tS,TextField:tR,FormTextarea:tD,FormDropdown:tV,FormCheckbox:tF,DynamicCheckout:ol,ImageDetection:tT,Sticky:tM,IconListV2:tL,PostPurchaseText:tU,PostPurchaseImage:tz,PostPurchaseButton:tH,PostPurchaseProductDescription:W,PostPurchaseProductPrice:q,PostPurchaseProductTitle:U,PostPurchaseProductVariants:G,PostPurchaseAcceptButton:X,PostPurchaseProductQuantity:Z,PostPurchaseProductPriceBreakdown:_,PostPurchaseProductOffer:$,PostPurchaseHeading:tO,PostPurchaseCalloutBox:tQ,PostPurchaseCalloutText:tK,PostPurchaseProductDiscountTag:oo,PostPurchaseAdvancedList:tN,PostPurchaseAdvancedListItem:tY,PostPurchaseLine:tE,Vendor:oy,PostPurchaseProductImages:ot,PostPurchaseCountdownTimer:tJ,ArticleList:oI,ArticleTitle:ox,ArticleExcerpt:ob,ArticleContent:ow,ArticleImage:oB,ArticlePagination:oT,ArticleAuthor:oL,ArticleTag:oA,ArticleCategory:ov,ArticleDate:ok,ArticleReadMore:oS,ProductViewMore:og,ProductBadge:oC};export{builder as default};
@@ -3,5 +3,5 @@ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{cls as t}from"@gem-sdk/
3
3
  </svg>
4
4
  `;return o&&(e=`<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
5
5
  <path d="M8.95 4.45C8.95 4.20147 8.74853 4 8.5 4C8.25147 4 8.05 4.20147 8.05 4.45V8.05H4.45C4.20147 8.05 4 8.25147 4 8.5C4 8.74853 4.20147 8.95 4.45 8.95H8.05V12.55C8.05 12.7985 8.25147 13 8.5 13C8.74853 13 8.95 12.7985 8.95 12.55V8.95H12.55C12.7985 8.95 13 8.74853 13 8.5C13 8.25147 12.7985 8.05 12.55 8.05H8.95V4.45Z" fill="#212121"/>
6
- </svg>`),e};return e("div",{ref:a,"data-slot":"children",className:t(l,"gp-flex gp-h-full gp-w-full gp-items-center gp-rounded-[3px] gp-border gp-border-dashed gp-border-[#9e9e9e] after:gp-content-none",o?"gp-cursor-pointer":""),onMouseEnter:c,onMouseLeave:h,children:r("div",{className:`gp-border-box gp-bg-gray gp-flex gp-max-h-8 gp-items-center gp-justify-center gp-gap-2 gp-overflow-hidden gp-whitespace-nowrap gp-rounded-lg gp-px-4 gp-py-2 gp-text-xs gp-font-medium
6
+ </svg>`),e};return e("div",{ref:a,"data-slot":"children",className:t(l,"gp-flex gp-h-full gp-w-full gp-items-center gp-rounded-[3px] gp-border gp-border-dashed gp-border-[#9e9e9e] after:!gp-content-none",o?"gp-cursor-pointer":""),onMouseEnter:c,onMouseLeave:h,children:r("div",{className:`gp-border-box gp-bg-gray gp-flex gp-max-h-8 gp-items-center gp-justify-center gp-gap-2 gp-overflow-hidden gp-whitespace-nowrap gp-rounded-lg gp-px-4 gp-py-2 gp-text-xs gp-font-medium
7
7
  ${o?"gp-cursor-pointer gp-bg-[#E2E2E2] gp-text-[#212121]":"gp-text-[#9E9E9E]"}`,style:{flexFlow:"gp-row gp-wrap"},children:[e("div",{className:"gp-flex gp-h-4 gp-w-4 gp-items-center gp-justify-center",dangerouslySetInnerHTML:{__html:f()}}),!s&&e("div",{children:"Drop element here"})]})})};export{ChildrenDroppable as default};