@gem-sdk/components 6.0.1 → 6.0.3

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.
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),React=require("react"),core=require("@gem-sdk/core"),helpers=require("../arrow/common/helpers.js"),useCarousel=require("../../hooks/useCarousel.js"),helpers$1=require("./common/helpers.js"),classes=require("./common/classes.js"),styles=require("./common/styles.js"),attrs=require("./common/attrs.js"),Arrow=require("../arrow/Arrow.js"),Dots=require("../dot/Dots.js"),Swiper=require("../swiper/Swiper.js");require("@gem-sdk/system");const Carousel=React.forwardRef((e,r)=>{let{children:t,builderAttrs:s,builderProps:o,styles:i,isHiddenArrowWhenDisabled:l=!0,hiddenDotWhenOnlyOne:a,elmRef:n,isEnableCheckHasScrollableContent:u,onSwiperReady:d}=e,c=helpers.mappingNavigationCarousel(e.setting),p={...e,setting:c},m=React.Children.count(core.filterToolbarPreview(t))??0,[h,C]=React.useState(null),{arrowButtonSize:w,arrowBackgroundColor:R,arrowGapToEachSide:v="16",roundedArrow:S,arrowIconSize:j,arrowCustomColor:y,arrowBorder:k,arrowShadow:g,showWhenHover:x}=c??{},f=React.useRef({prevOrder:"",prevContent:"",version:0}),b=React.useMemo(()=>{let e=c?.childItem||[],r=e.join("|"),t=[...e].sort().join("|"),s=f.current;return s.prevOrder&&s.prevContent&&t===s.prevContent&&r!==s.prevOrder&&s.version++,s.prevOrder=r,s.prevContent=t,`reorder-${s.version}`},[c?.childItem]),{isInfinity:q,localRef:P,sliderSettings:D,totalSlideItem:E,currentSlide:$,isRenderDots:O,showNavigation:A,isScrollToStart:T,isScrollToEnd:I,handleDotClick:z,getItemsPerPage:N,handleNextAndPrevSlide:B,dispatchEventSelectSlide:M,getNumberOfFullWidthShow:W,setCurrentSlide:H,shouldDuplicateSlides:V,setIsScrollToStart:F,setIsScrollToEnd:G}=useCarousel.useCarousel(p,r,h,m),{loopConfig:_,arrowShowConfig:K}=helpers$1.getData(p),{rootClassRender:U,wrapperClassRender:J,wrapperInnerClass:L,sliderClass:Q}=classes.getClass(p),{rootStyleRender:X,wrapperStyleRender:Y,wrapperInnerStyle:Z}=styles.getStyle(p),{rootAttrRender:ee,sliderAttr:er}=attrs.getAttr(p),et=core.useCurrentDevice(),es=c?.sneakPeak?.[et],eo=r=>{let t="next"===r;if(m<=1)return null;let s=t?!q&&h?.isEnd:!q&&h?.isBeginning,i=t?!q&&I:!q&&T;return jsxRuntime.jsx(Arrow.default,{uid:o?.uid,custom:c?.arrowCustom??"",showArrow:K,arrowButtonSize:w||{},arrowIconSize:j||{},arrowBackgroundColor:R||"",arrowCustomColor:y,gapToEachSize:v,showWhenHover:x,arrowBorder:k||{},arrowCorner:S||{},arrowShadow:g||{},onClick:e=>{e.stopPropagation(),B(r)},left:!t,disabled:u?i:s,vertical:c?.vertical,isHiddenWhenDisabled:l,rootId:e?.parentClass})},ei=React.useCallback(e=>{C(e),d?.(e)},[]),el=React.useCallback(()=>{e?.isDisableResetSlide||(H(0),F(!0),G(!1))},[e?.isDisableResetSlide,H,G,F]),ea=React.Children.toArray(core.filterToolbarPreview(t)).filter(React.isValidElement),en=V(m),eu=en?2*m:m,ed=React.useMemo(()=>{if(!en)return ea;let e=ea.map((e,r)=>{if(!React.isValidElement(e))return e;let t=e.key,s=t?`${t}-duplicate-${r}`:`duplicate-${r}`;return React.cloneElement(e,{...e.props||{},key:s})});return[...ea,...e]},[en,ea]),ec=React.useMemo(()=>`${m}-${b}-${ed.length}-${D?.direction}`,[m,b,ed.length,D?.direction]);return jsxRuntime.jsx("div",{ref:n,...ee,className:U,style:X,children:jsxRuntime.jsxs("div",{ref:P,...s,className:J,style:Y,children:[jsxRuntime.jsxs("div",{className:L,style:Z,children:[A&&eo("prev"),React.createElement(Swiper.Swiper,{...er,...D,sliderClass:Q,thumbsSwiper:e?.thumbsSwiper,onSwiperReady:ei,totalSlides:E,key:ec,sliderOrder:b,onSwiperReset:el},core.isEmptyChildren(t)?jsxRuntime.jsx("div",{children:"No Slider"}):jsxRuntime.jsx(jsxRuntime.Fragment,{children:ed.map((e,r)=>{if(!React.isValidElement(e))return null;let t=e.props??{};return React.createElement(e.type,{...t,key:e.key,indexKey:r.toString(),parentSettings:c,parentStyle:i,background:c?.background,parentUid:o?.uid,dispatchEventSelectSlide:M})})})),A&&eo("next")]}),O&&jsxRuntime.jsx(Dots.default,{dotStyle:c?.dotStyle,dotGapToCarousel:c?.dotGapToCarousel,vertical:c?.vertical,showDots:c?.dot,slideItemsPerPage:N(),enabledSneakPeak:es,dotColor:c?.dotColor,dotActiveColor:c?.dotActiveColor,dotSize:c?.dotSize,sneakPeakType:c?.sneakPeakType,totalSlideItem:eu,hiddenWhenOnlyOne:a,currentSlide:$,loop:_,numberOfFullWidthShow:W(et),onHandleClick:z,slideDuplicated:en}),core.filterToolbarPreview(t,!0)]})})});exports.default=Carousel;
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),React=require("react"),core=require("@gem-sdk/core"),helpers=require("../arrow/common/helpers.js"),useCarousel=require("../../hooks/useCarousel.js"),helpers$1=require("./common/helpers.js"),classes=require("./common/classes.js"),styles=require("./common/styles.js"),attrs=require("./common/attrs.js"),Arrow=require("../arrow/Arrow.js"),Dots=require("../dot/Dots.js"),Swiper=require("../swiper/Swiper.js");require("@gem-sdk/system");const Carousel=React.forwardRef((e,r)=>{let{children:t,builderAttrs:s,builderProps:o,styles:i,isHiddenArrowWhenDisabled:l=!0,hiddenDotWhenOnlyOne:a,elmRef:n,isEnableCheckHasScrollableContent:u,onSwiperReady:d}=e,c=helpers.mappingNavigationCarousel(e.setting),p={...e,setting:c},m=React.Children.count(core.filterToolbarPreview(t))??0,[R,h]=React.useState(null),{arrowButtonSize:C,arrowBackgroundColor:w,arrowGapToEachSide:v="16",roundedArrow:S,arrowIconSize:j,arrowCustomColor:y,arrowBorder:k,arrowShadow:g,showWhenHover:x}=c??{},f=React.useRef({prevOrder:"",prevContent:"",version:0}),b=React.useMemo(()=>{let e=c?.childItem||[],r=e.join("|"),t=[...e].sort().join("|"),s=f.current;return s.prevOrder&&s.prevContent&&t===s.prevContent&&r!==s.prevOrder&&s.version++,s.prevOrder=r,s.prevContent=t,`reorder-${s.version}`},[c?.childItem]),{isInfinity:q,localRef:E,sliderSettings:P,totalSlideItem:$,currentSlide:D,isRenderDots:A,showNavigation:O,isScrollToStart:T,isScrollToEnd:I,handleDotClick:z,getItemsPerPage:M,handleNextAndPrevSlide:N,dispatchEventSelectSlide:B,getNumberOfFullWidthShow:V,setCurrentSlide:W,shouldDuplicateSlides:H,setIsScrollToStart:F,setIsScrollToEnd:G}=useCarousel.useCarousel(p,r,R,m),{loopConfig:_,arrowShowConfig:K}=helpers$1.getData(p),{rootClassRender:U,wrapperClassRender:J,wrapperInnerClass:L,sliderClass:Q}=classes.getClass(p),{rootStyleRender:X,wrapperStyleRender:Y,wrapperInnerStyle:Z}=styles.getStyle(p),{rootAttrRender:ee,sliderAttr:er}=attrs.getAttr(p),et=core.useCurrentDevice(),es=c?.sneakPeak?.[et],eo=r=>{let t="next"===r;if(m<=1)return null;let s=t?!q&&R?.isEnd:!q&&R?.isBeginning,i=t?!q&&I:!q&&T;return jsxRuntime.jsx(Arrow.default,{uid:o?.uid,custom:c?.arrowCustom??"",showArrow:K,arrowButtonSize:C||{},arrowIconSize:j||{},arrowBackgroundColor:w||"",arrowCustomColor:y,gapToEachSize:v,showWhenHover:x,arrowBorder:k||{},arrowCorner:S||{},arrowShadow:g||{},onClick:e=>{e.stopPropagation(),N(r)},left:!t,disabled:u?i:s,vertical:c?.vertical,isHiddenWhenDisabled:l,rootId:e?.parentClass})},ei=React.useCallback(e=>{h(e),d?.(e)},[]),el=React.useCallback(()=>{e?.isDisableResetSlide||(W(0),F(!0),G(!1))},[e?.isDisableResetSlide,W,G,F]),ea=React.Children.toArray(core.filterToolbarPreview(t)).filter(React.isValidElement),en=H(m),eu=en?2*m:m,ed=React.useMemo(()=>{if(!en)return ea;let e=ea.map((e,r)=>{if(!React.isValidElement(e))return e;let t=e.key,s=t?`${t}-duplicate-${r}`:`duplicate-${r}`;return React.cloneElement(e,{...e.props||{},key:s})});return[...ea,...e]},[en,ea]),ec=React.useMemo(()=>{let e=React.Children.toArray(t),r=e[0];return React.isValidElement(r)?r.key:""},[t]),ep=React.useMemo(()=>`${m}-${b}-${ed.length}-${P?.direction}-${ec}`,[m,b,ed.length,P?.direction,ec]);return jsxRuntime.jsx("div",{ref:n,...ee,className:U,style:X,children:jsxRuntime.jsxs("div",{ref:E,...s,className:J,style:Y,children:[jsxRuntime.jsxs("div",{className:L,style:Z,children:[O&&eo("prev"),React.createElement(Swiper.Swiper,{...er,...P,sliderClass:Q,thumbsSwiper:e?.thumbsSwiper,onSwiperReady:ei,totalSlides:$,key:ep,sliderOrder:b,onSwiperReset:el},core.isEmptyChildren(t)?jsxRuntime.jsx("div",{children:"No Slider"}):jsxRuntime.jsx(jsxRuntime.Fragment,{children:ed.map((e,r)=>{if(!React.isValidElement(e))return null;let t=e.props??{};return React.createElement(e.type,{...t,key:e.key,indexKey:r.toString(),parentSettings:c,parentStyle:i,background:c?.background,parentUid:o?.uid,dispatchEventSelectSlide:B})})})),O&&eo("next")]}),A&&jsxRuntime.jsx(Dots.default,{dotStyle:c?.dotStyle,dotGapToCarousel:c?.dotGapToCarousel,vertical:c?.vertical,showDots:c?.dot,slideItemsPerPage:M(),enabledSneakPeak:es,dotColor:c?.dotColor,dotActiveColor:c?.dotActiveColor,dotSize:c?.dotSize,sneakPeakType:c?.sneakPeakType,totalSlideItem:eu,hiddenWhenOnlyOne:a,currentSlide:D,loop:_,numberOfFullWidthShow:V(et),onHandleClick:z,slideDuplicated:en}),core.filterToolbarPreview(t,!0)]})})});exports.default=Carousel;
@@ -1 +1 @@
1
- "use strict";var core=require("@gem-sdk/core");function composeClasses(e){return e.split(" ").reduce((e,s)=>(e[s]=!0,e),{})}const getContentClasses=()=>({...composeClasses("gp-flex gp-flex-wrap gp-w-max gp-relative")}),getWrapperClasses=e=>{let s="gp-flex";return e&&(s+=` ${e}`),{...composeClasses(s)}},getDateClasses=e=>{let s="gp-flex-1 gp-text-center gp-min-w-max !gp-max-w-max";return e||(s+=" gp-content-center"),{...composeClasses(s)}},getTextFrontClasses=e=>{let s="gp-countdown-number",{colorNumber:t}=e||{};return core.getGlobalColorClass("text",t)&&(s+=` ${core.getGlobalColorClass("text",t)}`),{...composeClasses(s)}},getTextBackClasses=(e,s)=>{let t="",{colorLabel:l}=e||{};return core.getGlobalColorClass("text",l)&&(t+=` ${core.getGlobalColorClass("text",l)}`),s||(t+=" gp-hidden"),{...composeClasses(t)}},getLinkClasses=()=>({...composeClasses("gp-absolute gp-inset-0 gp-z-1 gp-pointer-events-none")}),getTextExpireClasses=()=>({...composeClasses("gp-flex gp-h-12 gp-items-center gp-justify-center gp-bg-[#d6d6d6] gp-opacity-70")});exports.getContentClasses=getContentClasses,exports.getDateClasses=getDateClasses,exports.getLinkClasses=getLinkClasses,exports.getTextBackClasses=getTextBackClasses,exports.getTextExpireClasses=getTextExpireClasses,exports.getTextFrontClasses=getTextFrontClasses,exports.getWrapperClasses=getWrapperClasses;
1
+ "use strict";var core=require("@gem-sdk/core");function composeClasses(e){return e.split(" ").reduce((e,s)=>(e[s]=!0,e),{})}const getContentClasses=({isLiquid:e,autoHideWhenTimeout:s})=>{let t="gp-flex gp-flex-wrap gp-w-max gp-relative ";return e&&s&&(t+=" !gp-hidden"),{...composeClasses(t)}},getWrapperClasses=e=>{let s="gp-flex";return e&&(s+=` ${e}`),{...composeClasses(s)}},getDateClasses=e=>{let s="gp-flex-1 gp-text-center gp-min-w-max !gp-max-w-max";return e||(s+=" gp-content-center"),{...composeClasses(s)}},getTextFrontClasses=e=>{let s="gp-countdown-number",{colorNumber:t}=e||{};return core.getGlobalColorClass("text",t)&&(s+=` ${core.getGlobalColorClass("text",t)}`),{...composeClasses(s)}},getTextBackClasses=(e,s)=>{let t="",{colorLabel:l}=e||{};return core.getGlobalColorClass("text",l)&&(t+=` ${core.getGlobalColorClass("text",l)}`),s||(t+=" gp-hidden"),{...composeClasses(t)}},getLinkClasses=()=>({...composeClasses("gp-absolute gp-inset-0 gp-z-1 gp-pointer-events-none")}),getTextExpireClasses=()=>({...composeClasses("gp-flex gp-h-12 gp-items-center gp-justify-center gp-bg-[#d6d6d6] gp-opacity-70")});exports.getContentClasses=getContentClasses,exports.getDateClasses=getDateClasses,exports.getLinkClasses=getLinkClasses,exports.getTextBackClasses=getTextBackClasses,exports.getTextExpireClasses=getTextExpireClasses,exports.getTextFrontClasses=getTextFrontClasses,exports.getWrapperClasses=getWrapperClasses;
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),helpers=require("../common/helpers.js"),Text=require("../../text/components/Text.js"),core=require("@gem-sdk/core"),system=require("@gem-sdk/system"),attrs=require("../common/attrs.js"),classes=require("../common/classes.js"),styles=require("../common/styles.js"),useCountDownTimer=require("../hooks/useCountDownTimer.js");const Countdown=e=>{let{setting:s,styles:t,builderProps:l,advanced:a}=e,{labelTypo:r,numTypo:i,labelTypography:m,numTypography:n,enableLabelTextStyle:y}=t??{},{weekLabel:c,dayLabel:o,hourLabel:u,minuteLabel:d,secondLabel:x,enableWeek:j,enableDay:C,enableHour:g,enableMinute:p,enableSecond:h,redirectUrl:f}=s??{},T=core.useEditorMode(),{week:S,day:k,hour:q,minute:R,second:v,timeLeft:w,ref:I}=useCountDownTimer.default(s,l),N=!!f?.link&&"edit"!==T,b=system.createClass({...classes.getTextExpireClasses()});if(s?.autoHideWhenTimeout&&w<=0)return"edit"!==T?null:jsxRuntime.jsx("div",{className:b,children:jsxRuntime.jsx("span",{children:"Countdown is run out of time (this only visible in the editor)"})});let D=system.createAttr({...attrs.getAttr({uid:l?.uid||""})}),E=system.createStyle({...styles.getWrapperStyle(t)}),F=system.createClass({...classes.getWrapperClasses(a?.cssClass)}),W=system.createClass({...classes.getContentClasses()}),A=system.createStyle({...styles.getContainStyle(t)}),B=system.createStyle({...styles.getDateStyle(t)}),M=e=>system.createClass({...classes.getDateClasses(e)}),_=system.createClass({...classes.getTextFrontClasses(t)}),H=system.createStyle({...styles.getTextFrontStyle(t)}),L=system.createStyle({...styles.getTextBackStyle(t)}),O=e=>system.createClass({...classes.getTextBackClasses(t,e)}),P=system.createClass({...classes.getLinkClasses()}),z=(e,s)=>{let t=helpers.formatTime(e);return jsxRuntime.jsxs("div",{style:B,className:M(s),children:[jsxRuntime.jsx(Text.default,{styles:{typography:n,typo:i},setting:{htmlTag:"div",text:t,excludeFlex:!0},className:_,style:H,disableEdit:!0}),system.If(!!y,jsxRuntime.jsx(Text.default,{styles:{typography:m,typo:r},setting:{text:s,htmlTag:"p",excludeFlex:!0},style:L,className:O(s),disableEdit:!0}))]})};return jsxRuntime.jsx("div",{ref:I,...D,className:F,style:E,children:jsxRuntime.jsxs("div",{className:W,style:A,children:[system.If(N,jsxRuntime.jsx("a",{href:f?.link,target:f?.target,"aria-label":"Countdown link",className:P,children:" "})),system.If(j,z(S,c)),system.If(C,z(k,o)),system.If(g,z(q,u)),system.If(p,z(R,d)),system.If(h,z(v,x))]})})};exports.default=Countdown;
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),helpers=require("../common/helpers.js"),Text=require("../../text/components/Text.js"),core=require("@gem-sdk/core"),system=require("@gem-sdk/system"),attrs=require("../common/attrs.js"),classes=require("../common/classes.js"),styles=require("../common/styles.js"),useCountDownTimer=require("../hooks/useCountDownTimer.js");const Countdown=e=>{let{setting:s,styles:t,builderProps:l,advanced:a}=e,{labelTypo:r,numTypo:i,labelTypography:m,numTypography:n,enableLabelTextStyle:y}=t??{},{weekLabel:c,dayLabel:o,hourLabel:u,minuteLabel:d,secondLabel:x,enableWeek:j,enableDay:C,enableHour:g,enableMinute:p,enableSecond:h,redirectUrl:f,autoHideWhenTimeout:T}=s??{},q=core.useEditorMode(),{week:S,day:k,hour:R,minute:v,second:w,timeLeft:I,ref:N}=useCountDownTimer.default(s,l),b=!!f?.link&&"edit"!==q,D=system.createClass({...classes.getTextExpireClasses()});if(s?.autoHideWhenTimeout&&I<=0)return"edit"!==q?null:jsxRuntime.jsx("div",{className:D,children:jsxRuntime.jsx("span",{children:"Countdown is run out of time (this only visible in the editor)"})});let E=system.createAttr({...attrs.getAttr({uid:l?.uid||""})}),F=system.createStyle({...styles.getWrapperStyle(t)}),W=system.createClass({...classes.getWrapperClasses(a?.cssClass)}),A=system.createClass({...classes.getContentClasses({isLiquid:!1,autoHideWhenTimeout:T})}),B=system.createStyle({...styles.getContainStyle(t)}),L=system.createStyle({...styles.getDateStyle(t)}),M=e=>system.createClass({...classes.getDateClasses(e)}),_=system.createClass({...classes.getTextFrontClasses(t)}),H=system.createStyle({...styles.getTextFrontStyle(t)}),O=system.createStyle({...styles.getTextBackStyle(t)}),P=e=>system.createClass({...classes.getTextBackClasses(t,e)}),z=system.createClass({...classes.getLinkClasses()}),G=(e,s)=>{let t=helpers.formatTime(e);return jsxRuntime.jsxs("div",{style:L,className:M(s),children:[jsxRuntime.jsx(Text.default,{styles:{typography:n,typo:i},setting:{htmlTag:"div",text:t,excludeFlex:!0},className:_,style:H,disableEdit:!0}),system.If(!!y,jsxRuntime.jsx(Text.default,{styles:{typography:m,typo:r},setting:{text:s,htmlTag:"p",excludeFlex:!0},style:O,className:P(s),disableEdit:!0}))]})};return jsxRuntime.jsx("div",{ref:N,...E,className:W,style:F,children:jsxRuntime.jsxs("div",{className:A,style:B,children:[system.If(b,jsxRuntime.jsx("a",{href:f?.link,target:f?.target,"aria-label":"Countdown link",className:z,children:" "})),system.If(j,G(S,c)),system.If(C,G(k,o)),system.If(g,G(R,u)),system.If(p,G(v,d)),system.If(h,G(w,x))]})})};exports.default=Countdown;
@@ -1,39 +1,30 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Text_liquid=require("../../text/components/Text.liquid.js"),helpers=require("../../helpers.js"),system=require("@gem-sdk/system"),attrs=require("../common/attrs.js"),styles=require("../common/styles.js"),classes=require("../common/classes.js"),helpers$1=require("../common/helpers.js");const Countdown=e=>{let{setting:t,styles:s,builderProps:a,advanced:r,pageContext:l}=e,{labelTypo:i,numTypo:n,numTypography:d,labelTypography:o,enableLabelTextStyle:c}=s??{},{weekLabel:y,dayLabel:u,hourLabel:m,minuteLabel:p,secondLabel:g,enableWeek:$,enableDay:f,enableHour:S,enableMinute:C,enableSecond:h,redirectUrl:x,translate:q}=t??{},w=!!x?.link,{urlData:b}=helpers.getInsertLinkData("",x),k=system.createStateOrContext({...t,...a}),v=system.createStyle({...styles.getDateStyle(s)}),I=e=>system.createClass({...classes.getDateClasses(e)}),T=system.createClass({...classes.getTextFrontClasses(s)}),j=system.createStyle({...styles.getTextFrontStyle(s)}),A=system.createStyle({...styles.getTextBackStyle(s)}),E=e=>system.createClass({...classes.getTextBackClasses(s,e)}),L=system.createAttr({...attrs.getAttr({uid:a?.uid||""})}),_=system.createAttr({...attrs.getAttrHref({uid:b.href||""})}),D=system.createStyle({...styles.getWrapperStyle(s)}),P=system.createClass({...classes.getWrapperClasses(r?.cssClass)}),W=system.createClass({...classes.getContentClasses()}),F=system.createStyle({...styles.getContainStyle(s)}),H=(e,s,r)=>core.template`
2
- <div style="${v}" class="${I(s)}">
3
- ${Text_liquid.default({styles:{typography:d,typo:n},setting:{...t,text:"00",excludeFlex:!0,translate:""},style:j,className:T,builderAttrs:{id:e},builderProps:{...a,uid:a?.uid,uidInteraction:`${a?.uid}-text`}})}
4
- ${system.If(!!c,core.template`
5
- ${Text_liquid.default({styles:{typography:o,typo:i},setting:{...t,text:s,excludeFlex:!0,translate:r},style:A,className:E(s),builderProps:{...a,uid:a?.uid,uidInteraction:`${a?.uid}-text`},pageContext:l})}
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),Text_liquid=require("../../text/components/Text.liquid.js"),helpers=require("../../helpers.js"),system=require("@gem-sdk/system"),attrs=require("../common/attrs.js"),styles=require("../common/styles.js"),classes=require("../common/classes.js");const Countdown=e=>{let{setting:s,styles:t,builderProps:a,advanced:r,pageContext:l}=e,{labelTypo:c,numTypo:i,numTypography:y,labelTypography:o,enableLabelTextStyle:d}=t??{},{weekLabel:n,dayLabel:u,hourLabel:m,minuteLabel:p,secondLabel:g,enableWeek:$,enableDay:f,enableHour:x,enableMinute:C,enableSecond:S,redirectUrl:h,translate:k,autoHideWhenTimeout:q}=s??{},I=!!h?.link,{urlData:b}=helpers.getInsertLinkData("",h),v=system.createStateOrContext({...s,...a}),w=system.createStyle({...styles.getDateStyle(t)}),L=e=>system.createClass({...classes.getDateClasses(e)}),A=system.createClass({...classes.getTextFrontClasses(t)}),T=system.createStyle({...styles.getTextFrontStyle(t)}),j=system.createStyle({...styles.getTextBackStyle(t)}),_=e=>system.createClass({...classes.getTextBackClasses(t,e)}),P=system.createAttr({...attrs.getAttr({uid:a?.uid||""})}),D=system.createAttr({...attrs.getAttrHref({uid:b.href||""})}),E=system.createStyle({...styles.getWrapperStyle(t)}),F=system.createClass({...classes.getWrapperClasses(r?.cssClass)}),N=system.createClass({...classes.getContentClasses({isLiquid:!0,autoHideWhenTimeout:q})}),O=system.createStyle({...styles.getContainStyle(t)}),R=(e,t,r)=>core.template`
2
+ <div style="${w}" class="${L(t)}">
3
+ ${Text_liquid.default({styles:{typography:y,typo:i},setting:{...s,text:"00",excludeFlex:!0,translate:""},style:T,className:A,builderAttrs:{id:e},builderProps:{...a,uid:a?.uid,uidInteraction:`${a?.uid}-text`}})}
4
+ ${system.If(!!d,core.template`
5
+ ${Text_liquid.default({styles:{typography:o,typo:c},setting:{...s,text:t,excludeFlex:!0,translate:r},style:j,className:_(t),builderProps:{...a,uid:a?.uid,uidInteraction:`${a?.uid}-text`},pageContext:l})}
6
6
  `)}
7
7
  </div>
8
- `,N=system.createClass({...classes.getLinkClasses()}),O=helpers$1.getStandardEndtime(t?.dateStandard,t?.timeZone),R=()=>core.RenderIf(core.isLocalEnv,`<script ${helpers.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-countdown-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${helpers.getSettingPreloadData('class="gps-link" delay',"src")}="${core.baseAssetURL}/assets-v2/gp-countdown-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`);return core.template`
9
- {%- liquid
10
- assign standardEndDate = ${O}
11
- assign typeCountdown = "${t?.behaviour.toString()||""}"
12
- assign autoHideWhenTimeout = ${!!t?.autoHideWhenTimeout}
13
- assign current_time = 'now' | date: '%s' | times: 1000
14
-
15
- -%}
16
- {% if standardEndDate == nil or current_time <= standardEndDate or typeCountdown != "standard" or autoHideWhenTimeout != true %}
17
- <gp-countdown-timer
18
- ${{...L}}
19
- ${{..._}}
20
- class="${P}"
21
- style="${D}"
22
- gp-data='${JSON.stringify(k).replaceAll("'","&#039;")}'>
23
- <div id="section-countdown" class="${W}" style="${F}">
24
- ${system.If(w,`<a
8
+ `,B=system.createClass({...classes.getLinkClasses()}),G=()=>core.RenderIf(core.isLocalEnv,`<script ${helpers.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-countdown-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${helpers.getSettingPreloadData('class="gps-link" delay',"src")}="${core.baseAssetURL}/assets-v2/gp-countdown-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`);return core.template`
9
+ <gp-countdown-timer
10
+ ${{...P}}
11
+ ${{...D}}
12
+ class="${F}"
13
+ style="${E}"
14
+ gp-data='${JSON.stringify(v).replaceAll("'","&#039;")}'>
15
+ <div id="section-countdown" class="${N}" style="${O}">
16
+ ${system.If(I,`<a
25
17
  href="${b.href}"
26
18
  target="${b?.target}"
27
19
  aria-label="Countdown link"
28
- class="${N}"
20
+ class="${B}"
29
21
  > </a>`)}
30
- ${system.If($,H("week",y,q?"weekLabel":""))}
31
- ${system.If(f,H("day",u,q?"dayLabel":""))}
32
- ${system.If(S,H("hour",m,q?"hourLabel":""))}
33
- ${system.If(C,H("minute",p,q?"minuteLabel":""))}
34
- ${system.If(h,H("second",g,q?"secondLabel":""))}
22
+ ${system.If($,R("week",n,k?"weekLabel":""))}
23
+ ${system.If(f,R("day",u,k?"dayLabel":""))}
24
+ ${system.If(x,R("hour",m,k?"hourLabel":""))}
25
+ ${system.If(C,R("minute",p,k?"minuteLabel":""))}
26
+ ${system.If(S,R("second",g,k?"secondLabel":""))}
35
27
  </div>
36
28
  </gp-countdown-timer>
37
- {% endif %}
38
- ${R()}
29
+ ${G()}
39
30
  `};exports.default=Countdown;
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),common=require("./common/common.js"),core=require("@gem-sdk/core"),React=require("react"),FeatureImageWithGallery=require("./components/feature-gallery/FeatureImageWithGallery.js"),OnlyFeatureImage=require("./components/feature-only/OnlyFeatureImage.js"),ProductImagesLightBox=require("./components/lightbox/ProductImagesLightBox.js"),NoDataState=require("../../../common/components/NoDataState.js"),getProductImagesClassName=require("./composables/getProductImagesClassName.js"),getBorderActiveCss=require("./common/getBorderActiveCss.js"),GalleryGrid=require("./components/gallery-grid/GalleryGrid.js");const getProductGallery=e=>e?.medias?.edges.map(e=>e?.node),LAYOUT_FEATURE_IMAGE_GALLERY=["bottom-left","bottom-center","left","right","inside-left","inside-right","inside-bottom"],ProductImagesV2=e=>{let t=React.useMemo(()=>common.setDefaultWhenUndefineSetting(e),[e]),{redirectProductShopifyLink:a}=core.useProductShopifyEditLink(),{setting:i,styles:o,builderProps:l,builderAttrs:r,style:C,children:s}=t,d=core.useProduct(),c=core.useCurrentDevice(),n=core.useCurrentVariant(),{isChangeSelectedOption:u}=core.useSelectedOption(),m=core.useEditorMode(),g=core.useProductStore(e=>e.setProductFeaturedImage),[p,f]=React.useState(!1),h=e=>e?.medias?.edges.find(e=>["VIDEO","EXTERNAL_VIDEO"].includes(e?.node?.contentType??""))?.node,y=e=>e?.featuredImage,I=e=>e?.medias?.edges.find(e=>e?.node?.contentType==="MODEL_3D")?.node,M=React.useMemo(()=>i?.typeDisplay==="all-images"&&!u,[u,i?.typeDisplay]),D=React.useMemo(()=>{if(M){let e;switch(i?.preDisplay){case"1st-images":e=y(d);break;case"1st-3d-mode":e=I(d);break;case"1st-video":e=h(d);break;case"1st-available-variant":e=n?.media}return g(e),e}},[M,i?.preDisplay,g,d,n?.media]),x=React.useMemo(()=>{let e=getProductGallery(d);return e?.length?e:[{id:d?.featuredImage?.id||"noImageError",src:d?.featuredImage?.src||"https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif",width:d?.featuredImage?.width||480,height:d?.featuredImage?.height||480}]},[d]),R=React.useMemo(()=>x.reduce((e,t,a)=>t?{...e,[t.id]:a}:e,{}),[x]),b=React.useMemo(()=>core.getResponsiveValueByScreen(o?.position,c),[c,o?.position]),j=(e,t)=>{v(e),t&&E()},E=()=>{f(!0)},v=e=>{if(!e)return;let t=R[e];if(void 0!==t){let e=x[t];e&&g(e)}};React.useEffect(()=>{if(n&&!M){let e=R[n?.mediaId];if(void 0!==e){let t=x[e]??d?.featuredImage;t&&g(t)}}},[n,R,x,d?.featuredImage,g,M]);let P=React.useMemo(()=>{let e="popup"===core.getResponsiveValueByScreen(i?.ftClickOpenLightBox,c)||core.getResponsiveValueByScreen(i?.clickOpenLightBox,c);return e||"edit"!==m||window?.parent?.postMessage?.(JSON.stringify({type:"active-modal",value:open}),"*"),e},[i?.ftClickOpenLightBox,i?.clickOpenLightBox,c,m]),L=()=>x.length>0?React.Children.map(core.filterToolbarPreview(s),e=>React.isValidElement(e)?jsxRuntime.jsx(e.type,{...e.props,isInsideProductImage:!0,navigationPosition:i?.ftNavigationPosition,imageData:{imageShape:o?.ftShape,imageAlign:o?.align,imageLayout:o?.position},dotData:{dotSize:i?.ftDotSize,dotGapToCarousel:i?.ftDotGapToCarousel,dotStyle:i?.ftDotStyle}}):null):null,V=`
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),common=require("./common/common.js"),core=require("@gem-sdk/core"),React=require("react"),FeatureImageWithGallery=require("./components/feature-gallery/FeatureImageWithGallery.js"),OnlyFeatureImage=require("./components/feature-only/OnlyFeatureImage.js"),ProductImagesLightBox=require("./components/lightbox/ProductImagesLightBox.js"),NoDataState=require("../../../common/components/NoDataState.js"),getProductImagesClassName=require("./composables/getProductImagesClassName.js"),getBorderActiveCss=require("./common/getBorderActiveCss.js"),GalleryGrid=require("./components/gallery-grid/GalleryGrid.js");const getProductGallery=e=>e?.medias?.edges.map(e=>e?.node),LAYOUT_FEATURE_IMAGE_GALLERY=["bottom-left","bottom-center","left","right","inside-left","inside-right","inside-bottom"],ProductImagesV3=e=>{let t=React.useMemo(()=>common.setDefaultWhenUndefineSetting(e),[e]),{redirectProductShopifyLink:a}=core.useProductShopifyEditLink(),{setting:i,styles:o,builderProps:l,builderAttrs:r,style:C,children:s}=t,d=core.useProduct(),c=core.useCurrentDevice(),n=core.useCurrentVariant(),{isChangeSelectedOption:u}=core.useSelectedOption(),m=core.useEditorMode(),g=core.useProductStore(e=>e.setProductFeaturedImage),[p,f]=React.useState(!1),h=e=>e?.medias?.edges.find(e=>["VIDEO","EXTERNAL_VIDEO"].includes(e?.node?.contentType??""))?.node,y=e=>e?.featuredImage,I=e=>e?.medias?.edges.find(e=>e?.node?.contentType==="MODEL_3D")?.node,M=React.useMemo(()=>i?.typeDisplay==="all-images"&&!u,[u,i?.typeDisplay]),D=React.useMemo(()=>{if(M){let e;switch(i?.preDisplay){case"1st-images":e=y(d);break;case"1st-3d-mode":e=I(d);break;case"1st-video":e=h(d);break;case"1st-available-variant":e=n?.media}return g(e),e}},[M,i?.preDisplay,g,d,n?.media]),x=React.useMemo(()=>{let e=getProductGallery(d);return e?.length?e:[{id:d?.featuredImage?.id||"noImageError",src:d?.featuredImage?.src||"https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif",width:d?.featuredImage?.width||480,height:d?.featuredImage?.height||480}]},[d]),R=React.useMemo(()=>x.reduce((e,t,a)=>t?{...e,[t.id]:a}:e,{}),[x]),b=React.useMemo(()=>core.getResponsiveValueByScreen(o?.position,c),[c,o?.position]),j=(e,t)=>{v(e),t&&E()},E=()=>{f(!0)},v=e=>{if(!e)return;let t=R[e];if(void 0!==t){let e=x[t];e&&g(e)}};React.useEffect(()=>{if(n&&!M){let e=R[n?.mediaId];if(void 0!==e){let t=x[e]??d?.featuredImage;t&&g(t)}}},[n,R,x,d?.featuredImage,g,M]);let P=React.useMemo(()=>{let e="popup"===core.getResponsiveValueByScreen(i?.ftClickOpenLightBox,c)||core.getResponsiveValueByScreen(i?.clickOpenLightBox,c);return e||"edit"!==m||window?.parent?.postMessage?.(JSON.stringify({type:"active-modal",value:open}),"*"),e},[i?.ftClickOpenLightBox,i?.clickOpenLightBox,c,m]),L=()=>x.length>0?React.Children.map(core.filterToolbarPreview(s),e=>React.isValidElement(e)?jsxRuntime.jsx(e.type,{...e.props,isInsideProductImage:!0,navigationPosition:i?.ftNavigationPosition,imageData:{imageShape:o?.ftShape,imageAlign:o?.align,imageLayout:o?.position},dotData:{dotSize:i?.ftDotSize,dotGapToCarousel:i?.ftDotGapToCarousel,dotStyle:i?.ftDotStyle}}):null):null,V=`
3
3
  <svg viewBox="0 0 452 400" fill="none" xmlns="http://www.w3.org/2000/svg">
4
4
  <path d="M0 7.99999C0 3.58171 3.58172 0 8 0H444C448.418 0 452 3.58172 452 8V392C452 396.418 448.418 400 444 400H8C3.58173 400 0 396.418 0 392V7.99999Z" fill="#F9F9F9"/>
5
5
  <path d="M208.148 348.801C239.683 348.75 265.245 347.272 265.242 345.499C265.239 343.726 239.673 342.33 208.138 342.381C176.603 342.432 151.041 343.91 151.044 345.683C151.047 347.456 176.614 348.851 208.148 348.801Z" fill="#E6E6E6"/>
@@ -23,4 +23,4 @@
23
23
  <path opacity="0.2" d="M293.196 231.862C306.954 231.862 318.106 217.921 318.106 200.724C318.106 183.527 306.954 169.586 293.196 169.586C279.439 169.586 268.286 183.527 268.286 200.724C268.286 217.921 279.439 231.862 293.196 231.862Z" fill="white"/>
24
24
  <path opacity="0.2" d="M293.196 247.637C313.923 247.637 330.726 226.634 330.726 200.725C330.726 174.816 313.923 153.812 293.196 153.812C272.469 153.812 255.666 174.816 255.666 200.725C255.666 226.634 272.469 247.637 293.196 247.637Z" fill="white"/>
25
25
  </svg>
26
- `,Z=jsxRuntime.jsx(NoDataState.default,{elementType:"secondary",description:"Catch your customer's attention with attracted media.",descriptionActions:[{text:"Add image",callback:a},{text:"sync data",callback:"syncProduct"}],additionalMedia:V}),{wrapperClasses:k}=getProductImagesClassName.getProductImagesClassName(e);return jsxRuntime.jsxs("div",{...r,className:k,style:C,children:[jsxRuntime.jsx("style",{dangerouslySetInnerHTML:{__html:getBorderActiveCss.getBorderActiveCss({settings:{...i,...o},uid:l?.uid,type:"React"})}}),LAYOUT_FEATURE_IMAGE_GALLERY.includes(b)&&jsxRuntime.jsx(FeatureImageWithGallery.default,{...t,gallery:x,priorityFeatureImage:D,onHandleClickImage:(e,t)=>j(e||"",t),noDataChildren:Z,children:L()}),"only-feature"===b&&jsxRuntime.jsx(OnlyFeatureImage.default,{gallery:x,...t,onHandleClickImage:(e,t)=>j(e||"",t),noDataChildren:Z,children:L()}),["one-col","two-col"].includes(b)&&jsxRuntime.jsx(GalleryGrid.default,{gallery:x,...t,onHandleClickImage:(e,t)=>j(e||"",t),noDataChildren:Z,children:L()}),P&&jsxRuntime.jsx(ProductImagesLightBox.default,{productImages:x,builderPropUID:l?.uid,open:p,onHandleClose:()=>f(!1),imageRatio:common.getAspectRatio(o?.ftShape)}),core.filterToolbarPreview(s,!0)]})};exports.default=ProductImagesV2;
26
+ `,Z=jsxRuntime.jsx(NoDataState.default,{elementType:"secondary",description:"Catch your customer's attention with attracted media.",descriptionActions:[{text:"Add image",callback:a},{text:"sync data",callback:"syncProduct"}],additionalMedia:V}),{wrapperClasses:k}=getProductImagesClassName.getProductImagesClassName(e);return jsxRuntime.jsxs("div",{...r,className:k,style:C,children:[jsxRuntime.jsx("style",{dangerouslySetInnerHTML:{__html:getBorderActiveCss.getBorderActiveCss({settings:{...i,...o},uid:l?.uid,type:"React"})}}),LAYOUT_FEATURE_IMAGE_GALLERY.includes(b)&&jsxRuntime.jsx(FeatureImageWithGallery.default,{...t,gallery:x,priorityFeatureImage:D,onHandleClickImage:(e,t)=>j(e||"",t),noDataChildren:Z,children:L()}),"only-feature"===b&&jsxRuntime.jsx(OnlyFeatureImage.default,{gallery:x,...t,onHandleClickImage:(e,t)=>j(e||"",t),noDataChildren:Z,children:L()}),["one-col","two-col"].includes(b)&&jsxRuntime.jsx(GalleryGrid.default,{gallery:x,...t,onHandleClickImage:(e,t)=>j(e||"",t),noDataChildren:Z,children:L()}),P&&jsxRuntime.jsx(ProductImagesLightBox.default,{productImages:x,builderPropUID:l?.uid,open:p,onHandleClose:()=>f(!1),imageRatio:common.getAspectRatio(o?.ftShape)}),core.filterToolbarPreview(s,!0)]})};exports.default=ProductImagesV3;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),React=require("react"),GalleryCarousel=require("../gallery-carousel/GalleryCarousel.js"),ProductGalleryGrid=require("../child/ProductGalleryGrid.js"),ProductFeaturedImageCarousel=require("../child/ProductFeaturedImageCarousel.js"),getProductImagesStyles=require("../../composables/getProductImagesStyles.js"),getProductImagesClassName=require("../../composables/getProductImagesClassName.js"),useFeatureImageWithGallery=require("../../hooks/useFeatureImageWithGallery.js");const FeatureImageWithGallery=e=>{let{setting:r,styles:t,builderProps:a,gallery:s,onHandleClickImage:u,priorityFeatureImage:l,children:i,noDataChildren:d}=e,{isEditMode:o}=core.useRenderMode(),c=React.useRef(null),m=core.useCurrentDevice(),n=React.useCallback(e=>{if(!c.current)return;let r=c.current.getSwiper();r&&r.thumbs.swiper?.realIndex===void 0&&e&&(r.thumbs.swiper=e,r.thumbs.init(),r.thumbs.update(!0),r.update())},[]),g={...r,...t},{isShowCarousel:I,featureImageHeight:p,featureWrapperImage:y,onClickFeatureArrow:j,activeIndexFromFeatureImage:x,setOnClickFeatureArrow:P,onHandleLoadedFeatureImage:C,setActiveIndexFromFeatureImage:h}=useFeatureImageWithGallery.useFeatureImageWithGallery(e);if(s?.[0]?.id==="noImageError"&&o)return jsxRuntime.jsx(jsxRuntime.Fragment,{children:d});let{ftImageGalleryClasses:F,imageGalleryWrapperClasses:R}=getProductImagesClassName.getProductImagesClassName(e),{wrapperFeaturedImageStyle:G,featureImageStyle:b,galleryImageStyle:f}=getProductImagesStyles.getProductImagesStyles(g,{gallery:s,featureImageHeight:p}),v=JSON.stringify(g?.position)+m+I;return jsxRuntime.jsxs("div",{className:core.cls("gp-grid gp-w-full gp-relative"),style:G,children:[jsxRuntime.jsxs("div",{className:F,style:b,children:[i,jsxRuntime.jsx(ProductFeaturedImageCarousel.default,{ref:c,imgRef:y,productImages:s,...g,onHandleClick:(e,r)=>u(e||"",r),onHandleLoaded:C,onHandleUpdateActiveIndex:h,onClickArrow:e=>P(e),builderPropUID:a?.uid,builderPropsClass:`gp-product-images-feature-${a?.uid}`})]}),s.length>1&&jsxRuntime.jsx("div",{className:R,style:f,children:I?jsxRuntime.jsx(GalleryCarousel.default,{productImages:s,position:g?.position,...g,builderPropUID:a?.uid,onHandleClick:(e,r)=>u(e||"",r),onSwiperReady:n,activeIndexFormFeatureImage:x,priorityFeatureImage:l,onClickFeatureArrow:j,builderPropsClass:`gp-product-images-gallery-${a?.uid}`}):jsxRuntime.jsx(ProductGalleryGrid.default,{productImages:s,...g,builderPropUID:a?.uid,onHandleClick:(e,r)=>u(e||"",r),activeIndexFromFeatureImage:x,isHiddenInteraction:!0})})]},v)};exports.default=FeatureImageWithGallery;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),React=require("react"),GalleryCarousel=require("../gallery-carousel/GalleryCarousel.js"),ProductGalleryGrid=require("../child/ProductGalleryGrid.js"),ProductFeaturedImageCarousel=require("../child/ProductFeaturedImageCarousel.js"),getProductImagesStyles=require("../../composables/getProductImagesStyles.js"),getProductImagesClassName=require("../../composables/getProductImagesClassName.js"),useFeatureImageWithGallery=require("../../hooks/useFeatureImageWithGallery.js");const FeatureImageWithGallery=e=>{let{setting:r,styles:t,builderProps:a,gallery:s,onHandleClickImage:u,priorityFeatureImage:l,children:i,noDataChildren:d}=e,{isEditMode:o}=core.useRenderMode(),c=React.useRef(null),m=core.useCurrentDevice(),n=React.useCallback(e=>{if(!c.current)return;let r=c.current.getSwiper();r&&r.thumbs&&r.thumbs.swiper&&r.thumbs.swiper?.realIndex===void 0&&e&&(r.thumbs.swiper=e,r.thumbs.init(),r.thumbs.update(!0),r.update())},[]),g={...r,...t},{isShowCarousel:p,featureImageHeight:I,featureWrapperImage:y,onClickFeatureArrow:j,activeIndexFromFeatureImage:x,setOnClickFeatureArrow:h,onHandleLoadedFeatureImage:P,setActiveIndexFromFeatureImage:C}=useFeatureImageWithGallery.useFeatureImageWithGallery(e);if(s?.[0]?.id==="noImageError"&&o)return jsxRuntime.jsx(jsxRuntime.Fragment,{children:d});let{ftImageGalleryClasses:F,imageGalleryWrapperClasses:R}=getProductImagesClassName.getProductImagesClassName(e),{wrapperFeaturedImageStyle:b,featureImageStyle:G,galleryImageStyle:f}=getProductImagesStyles.getProductImagesStyles(g,{gallery:s,featureImageHeight:I}),v=JSON.stringify(g?.position)+m+p;return jsxRuntime.jsxs("div",{className:core.cls("gp-grid gp-w-full gp-relative"),style:b,children:[jsxRuntime.jsxs("div",{className:F,style:G,children:[i,jsxRuntime.jsx(ProductFeaturedImageCarousel.default,{ref:c,imgRef:y,productImages:s,...g,onHandleClick:(e,r)=>u(e||"",r),onHandleLoaded:P,onHandleUpdateActiveIndex:C,onClickArrow:e=>h(e),builderPropUID:a?.uid,builderPropsClass:`gp-product-images-feature-${a?.uid}`})]}),s.length>1&&jsxRuntime.jsx("div",{className:R,style:f,children:p?jsxRuntime.jsx(GalleryCarousel.default,{productImages:s,position:g?.position,...g,builderPropUID:a?.uid,onHandleClick:(e,r)=>u(e||"",r),onSwiperReady:n,activeIndexFormFeatureImage:x,priorityFeatureImage:l,onClickFeatureArrow:j,builderPropsClass:`gp-product-images-gallery-${a?.uid}`}):jsxRuntime.jsx(ProductGalleryGrid.default,{productImages:s,...g,builderPropUID:a?.uid,onHandleClick:(e,r)=>u(e||"",r),activeIndexFromFeatureImage:x,isHiddenInteraction:!0})})]},v)};exports.default=FeatureImageWithGallery;
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import s from"./third-party/components/AppstleBundlesDiscounts.js";import p from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import u from"./third-party/components/ProductReviews.js";import f from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import C from"./third-party/components/ParcelPanel.js";import b from"./third-party/components/TrustMe.js";import S from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import v from"./third-party/components/BoldProductOptions.js";import I from"./third-party/components/WideBundle.js";import k from"./third-party/components/PickyStory.js";import T from"./third-party/components/InfiniteOptions.js";import A from"./third-party/components/Wiser.js";import L from"./third-party/components/Stamped.js";import R from"./third-party/components/Bundler.js";import x from"./third-party/components/LaiProductReviews.js";import D from"./third-party/components/Growave.js";import V from"./third-party/components/KachingBundles.js";import F from"./third-party/components/Opinew.js";import O from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import U from"./third-party/components/FirePush.js";import z from"./third-party/components/AliReviews.js";import K from"./third-party/components/CleanSizeCharts.js";import q from"./third-party/components/Bogos.js";import G from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import N from"./third-party/components/Releasit.js";import W from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import os from"./third-party/components/SubifySubscriptionsApp.js";import op from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import ou from"./third-party/components/UnlimitedBundlesDiscounts.js";import of from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import oC from"./third-party/components/MaxbundleProductBundles.js";import ob from"./third-party/components/PreorderNowWodPresale.js";import oS from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ov from"./third-party/components/ProductOptionsCustomizer.js";import oI from"./third-party/components/TagembedSocialPostReview.js";import ok from"./third-party/components/AirProductReviewsAppUgc.js";import oT from"./third-party/components/MbcBundleVolumeDiscount.js";import oA from"./third-party/components/GoogleReviewsByReputon.js";import oL from"./third-party/components/RapiBundleQuantityBreaks.js";import oR from"./third-party/components/AppointmentBookingCowlendar.js";import ox from"./third-party/components/SproutPlantTreesGrowSales.js";import oD from"./third-party/components/InstasellShoppableInstagram.js";import oV from"./third-party/components/WishlistPlus.js";import oF from"./third-party/components/LoloyalLoyaltyReferrals.js";import oO from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oU from"./third-party/components/GloboProductOptionsVariant.js";import oz from"./third-party/components/ProductOptionsVariantOption.js";import oK from"./third-party/components/BestBuyFulfillment.js";import oq from"./third-party/components/AftershipEmailMarketingsms.js";import oG from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oN from"./third-party/components/DiscountyBulkDiscountSales.js";import oW from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o3 from"./third-party/components/OkendoReviewsLoyalty.js";import o2 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o0 from"./third-party/components/HextomCountdownTimerBar.js";import o1 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./third-party/components/AovBundlesVolumeDiscounts.js";import tt from"./third-party/components/UppromoteAffiliateMarketing.js";import tr from"./third-party/components/DealeasyVolumeDiscounts.js";import tm from"./third-party/components/BloyRewardsProgramLoyalty.js";import ts from"./third-party/components/KachingSubscriptionsApp.js";import tp from"./article/components/ArticleList.js";import tn from"./article/components/ArticleTitle.js";import te from"./article/components/ArticleExcerpt.js";import ti from"./article/components/ArticleContent.js";import tc from"./article/components/ArticleImage.js";import ta from"./article/components/ArticlePagination.js";import td from"./article/components/ArticleAuthor.js";import tu from"./article/components/ArticleTag.js";import tf from"./article/components/ArticleCategory.js";import tj from"./article/components/ArticleDate.js";import tl from"./article/components/ArticleReadMore.js";import th from"./hero-banner/components/HeroBanner.js";import ty from"./breadcrumb/components/Breadcrumb.js";import tP from"./button/components/Button.js";import tg from"./carousel-v3/components/root/Carousel.js";import tB from"./carousel-v3/components/item/CarouselItem.js";import tC from"./carousel/components/root/Carousel.js";import tb from"./carousel/components/item/CarouselItem.js";import tS from"./cart/components/Cart.js";import tw from"./cart/components/CartList.js";import tv from"./cart/components/CartLinePrice.js";import tI from"./cart/components/CartLineVariant.js";import tk from"./cart/components/CartLineImage.js";import tT from"./cart/components/CartTotalPrice.js";import tA from"./cart/components/CartTotalItem.js";import tL from"./cart/components/CartCheckout.js";import tR from"./cart/components/DiscountInput.js";import tx from"./cart/components/CartDiscount.js";import tD from"./cart/components/CartOrderNote.js";import tV from"./cart/components/CartLineAttribute.js";import tF from"./cart/components/CouponList.js";import tO from"./cart/components/shop-pay-button/ShopPayButton.js";import tM from"./cart/components/CheckoutNow.js";import tE from"./code/components/CSSCode.js";import tH from"./collection/components/collection-title/CollectionTitle.js";import tU from"./collection/components/collection-banner/CollectionBanner.js";import tz from"./collection/components/collection-description/CollectionDescription.js";import tK from"./collection/components/collection-toolbar/CollectionToolbar.js";import tq from"./collection/components/collection-paginator/CollectionPaginator.js";import tG from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tQ from"./coupon/components/Coupon.js";import tN from"./dialog/components/Dialog.js";import tW from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import tY from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import tJ from"./grid/components/root/Root.js";import tX from"./grid/components/section/Section.js";import tZ from"./grid/components/row/Row.js";import t$ from"./grid/components/col/Col.js";import t_ from"./form/components/newsletter/Newsletter.js";import t3 from"./form/components/contact/Contact.js";import t2 from"./form/components/form-email/FormEmail.js";import t0 from"./form/components/submit-button/SubmitButton.js";import t1 from"./form/components/form-dropdown/FormDropdown.js";import t4 from"./form/components/textfield/TextField.js";import t5 from"./form/components/textarea/TextArea.js";import t6 from"./form/components/form-checkbox/FormCheckbox.js";import t7 from"./form/components/textinput/TextInput.js";import t8 from"./header/components/Header.js";import t9 from"./header/components/kind/basic/index.js";import ro from"./header/components/kind/modern/index.js";import rt from"./header/components/kind/basic/MobileMenu.js";import rr from"./header/components/kind/basic/DesktopMenu.js";import rm from"./heading/components/Heading.js";import rs from"./icon/components/Icon.js";import rp from"./icon-list/components/IconList.js";import rn from"./icon-list/components/IconListItem.js";import re from"./icon-list-hoz/components/IconListHoz.js";import ri from"./icon-list-hoz/components/IconListHozItem.js";import rc from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import ra from"./image/components/Image.js";import rd from"./image-comparison/components/ImageComparison.js";import ru from"./image-detection/components/ImageDetection.js";import rf from"./input/components/Input.js";import rj from"./line/components/Line.js";import rl from"./marquee/components/Marquee.js";import rh from"./marquee/components/MarqueeItem.js";import ry from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rP from"./modal/components/Modal.js";import rg from"./pagination/components/Pagination.js";import rB from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rC from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rb from"./post-purchase/button/components/Button.js";import rS from"./post-purchase/callout-banner/components/CalloutBox.js";import rw from"./post-purchase/callout-banner/components/CalloutText.js";import rv from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rI from"./post-purchase/image/components/Image.js";import rk from"./post-purchase/line/components/PostPurchaseLine.js";import rT from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rA}from"./post-purchase/text/index.js";import rL from"./post-purchase/product/components/ProductTitle.js";import rR from"./post-purchase/product/components/ProductDescription.js";import rx from"./post-purchase/product/components/ProductPrice.js";import rD from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rV from"./post-purchase/product/components/AcceptButton.js";import rF from"./post-purchase/product/components/ProductQuantity.js";import rO from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rM from"./post-purchase/product/components/ProductPriceBreakdown.js";import rE from"./post-purchase/product/components/ProductDiscountTag.js";import rH from"./post-purchase/product/components/product-image/index.js";import rU from"./product/components/product-wrap/Product.js";import rz from"./product/components/product-title/ProductTitle.js";import rK from"./product/components/product-quantity/ProductQuantity.js";import rq from"./product/components/product-description/ProductDescription.js";import rG from"./product/components/product-price/ProductPrice.js";import rQ from"./product/components/product-button/ProductButton.js";import rN from"./product/components/product-variants/ProductVariants.js";import rW from"./product/components/ProductImages.js";import rY from"./product/components/product-images-v3/ProductImageV3.js";import rJ from"./product/components/product-images-v2/ProductImageV2.js";import rX from"./product/components/product-properties/ProductProperties.js";import rZ from"./product/components/product-quick-view/QuickView.js";import r$ from"./product/components/product-discount-tag/ProductDiscountTag.js";import r_ from"./product/components/product-list-v3/ProductList.js";import r3 from"./product/components/product-list/ProductList.js";import r2 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r0 from"./product/components/product-bundle/ProductBundleDiscount.js";import r1 from"./product/components/product-vendor/Vendor.js";import r4 from"./product/components/product-sku/Sku.js";import r5 from"./product/components/product-view-more/ProductViewMore.js";import r6 from"./product/components/product-badge/ProductBadge.js";import r7 from"./product/components/file-upload/UploadFile.js";import r8 from"./product/components/product-bundle/ProductBundleDiscountItem.js";import r9 from"./radio/components/Radio.js";import mo from"./select/components/Select.js";import"./select/settings/configs/settings.js";import mt from"./tab/components/Tabs.js";import mr from"./tab/components/TabItem.js";import mm from"./text/components/Text.js";import ms from"./textarea/components/Textarea.js";import mp from"./video/components/Video.js";import mn from"./third-party-slot/components/ThirdPartySlot.js";import me from"./shop-pay-installment/components/ShopPayInstallments.js";import mi from"./third-party-instant/components/InstantJudgemeReviews.js";import mc from"./third-party-instant/components/InstantLooxReviews.js";import ma from"./third-party-instant/components/InstantKlaviyo.js";import md from"./third-party-instant/components/InstantYotpoLoyalty.js";import mu from"./stock-counter/components/StockCounter.js";import mf from"./sticky/components/Sticky.js";import mj from"./post-purchase/text/components/Text.js";var builder={KachingSubscriptionsApp:ts,BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:p,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:s,Accordion:o,AccordionItem:t,ArticleList:tp,ArticleTitle:tn,ArticleExcerpt:te,ArticleContent:ti,ArticleImage:tc,ArticlePagination:ta,ArticleAuthor:td,ArticleTag:tu,ArticleCategory:tf,ArticleDate:tj,ArticleReadMore:tl,HeroBanner:th,Breadcrumb:ty,Button:tP,CarouselV3:tg,CarouselItemV3:tB,Carousel:tC,CarouselItem:tb,Cart:tS,CartList:tw,CartLinePrice:tv,CartLineVariant:tI,CartLineImage:tk,CartTotalPrice:tT,CartTotalItem:tA,CartCheckout:tL,DiscountInput:tR,CartDiscount:tx,CartOrderNote:tD,CartLineAttribute:tV,CouponList:tF,ShopPayButton:tO,CheckoutNow:tM,CSSCode:tE,CollectionTitle:tH,CollectionDescription:tz,CollectionBanner:tU,CollectionToolbar:tK,CollectionPaginator:tq,Countdown:tG,Coupon:tQ,Dialog:tN,EstimateDate:tW,Newsletter:t_,ContactForm:t3,FormEmail:t2,SubmitButton:t0,TextField:t4,TextInput:t7,FormTextarea:t5,FormDropdown:t1,FormCheckbox:t6,Root:tJ,Section:tX,Row:tZ,Col:t$,Header:t8,BasicHeader:t9,ModernHeader:ro,MobileMenu:rt,DesktopMenu:rr,Heading:rm,Icon:rs,IconList:rp,IconListItem:rn,IconListHoz:re,IconListItemHoz:ri,IconListV2:rc,Image:ra,ImageComparison:rd,ImageDetection:ru,Input:rf,Line:rj,Link:tY,Marquee:rl,MarqueeItem:rh,Menu:ry,Modal:rP,Pagination:rg,PostPurchaseAdvancedList:rB,PostPurchaseAdvancedListItem:rC,PostPurchaseAcceptButton:rV,PostPurchaseButton:rb,PostPurchaseCalloutBox:rS,PostPurchaseCalloutText:rw,PostPurchaseCountdownTimer:rv,PostPurchaseImage:rI,PostPurchaseLine:rk,PostPurchaseLink:rT,PostPurchaseHeading:rA,PostPurchaseText:mj,PostPurchaseProductTitle:rL,PostPurchaseProductDescription:rR,PostPurchaseProductPrice:rx,PostPurchaseProductVariants:rD,PostPurchaseProductQuantity:rF,PostPurchaseProductPriceBreakdown:rM,PostPurchaseProductOffer:rO,PostPurchaseProductDiscountTag:rE,PostPurchaseProductImages:rH,EstimatedDeliveryDatePlus:o2,OkendoReviewsLoyalty:o3,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oW,DiscountyBulkDiscountSales:oN,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oG,AftershipEmailMarketingsms:oq,BestBuyFulfillment:oK,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oO,LoloyalLoyaltyReferrals:oF,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oV,InstasellShoppableInstagram:oD,SproutPlantTreesGrowSales:ox,RapiBundleQuantityBreaks:oL,AppointmentBookingCowlendar:oR,GoogleReviewsByReputon:oA,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ov,AirProductReviewsAppUgc:ok,TagembedSocialPostReview:oI,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:oS,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:ob,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:oC,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:of,UnlimitedBundlesDiscounts:ou,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:op,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:os,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rU,ProductTitle:rz,ProductQuantity:rK,ProductPrice:rG,ProductSku:r4,FileUpload:r7,ProductBundleDiscount:r0,ProductBundleDiscountItem:r8,ProductButton:rQ,ProductDescription:rq,ProductVariants:rN,ProductImages:rW,ProductImagesV3:rY,ProductImagesV2:rJ,ProductProperties:rX,ProductQuickView:rZ,ProductTag:r$,ProductListV3:r_,ProductList:r3,Radio:r9,Select:mo,Tabs:mt,TabItem:mr,Text:mm,Textarea:ms,Video:mp,PushOwl:G,ThirdPartySlot:mn,ShopPayInstallments:me,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:u,Ryviu:f,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:C,TrustMe:b,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:D,KachingBundles:V,Bogos:q,Opinew:F,UltimateSalesBoost:O,FirePush:U,FrequentlyBoughtTogether:S,BoldSubscriptions:w,BoldProductOptions:v,WideBundle:I,PickyStory:k,InfiniteOptions:T,Wiser:A,Stamped:L,Bundler:R,LaiProductReviews:x,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:K,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:mi,InstantLooxReviews:mc,InstantKlaviyo:ma,InstantYotpoLoyalty:md,Releasit:N,BirdChime:X,StockCounter:mu,DynamicCheckout:r2,Sticky:mf,ProductVendor:r1,KingProductOptions:W,ProductViewMore:r5,ProductBadge:r6,HextomCountdownTimerBar:o0,TrustBadgesBear:o1,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{builder as default};
2
+ import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import s from"./third-party/components/AppstleBundlesDiscounts.js";import p from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import u from"./third-party/components/ProductReviews.js";import f from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import C from"./third-party/components/ParcelPanel.js";import b from"./third-party/components/TrustMe.js";import S from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import v from"./third-party/components/BoldProductOptions.js";import k from"./third-party/components/WideBundle.js";import I from"./third-party/components/PickyStory.js";import T from"./third-party/components/InfiniteOptions.js";import A from"./third-party/components/Wiser.js";import L from"./third-party/components/Stamped.js";import R from"./third-party/components/Bundler.js";import x from"./third-party/components/LaiProductReviews.js";import D from"./third-party/components/Growave.js";import V from"./third-party/components/KachingBundles.js";import F from"./third-party/components/Opinew.js";import O from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import U from"./third-party/components/FirePush.js";import z from"./third-party/components/AliReviews.js";import K from"./third-party/components/CleanSizeCharts.js";import q from"./third-party/components/Bogos.js";import G from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import N from"./third-party/components/Releasit.js";import W from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import os from"./third-party/components/SubifySubscriptionsApp.js";import op from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import ou from"./third-party/components/UnlimitedBundlesDiscounts.js";import of from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import oC from"./third-party/components/MaxbundleProductBundles.js";import ob from"./third-party/components/PreorderNowWodPresale.js";import oS from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ov from"./third-party/components/ProductOptionsCustomizer.js";import ok from"./third-party/components/TagembedSocialPostReview.js";import oI from"./third-party/components/AirProductReviewsAppUgc.js";import oT from"./third-party/components/MbcBundleVolumeDiscount.js";import oA from"./third-party/components/GoogleReviewsByReputon.js";import oL from"./third-party/components/RapiBundleQuantityBreaks.js";import oR from"./third-party/components/AppointmentBookingCowlendar.js";import ox from"./third-party/components/SproutPlantTreesGrowSales.js";import oD from"./third-party/components/InstasellShoppableInstagram.js";import oV from"./third-party/components/WishlistPlus.js";import oF from"./third-party/components/LoloyalLoyaltyReferrals.js";import oO from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oU from"./third-party/components/GloboProductOptionsVariant.js";import oz from"./third-party/components/ProductOptionsVariantOption.js";import oK from"./third-party/components/BestBuyFulfillment.js";import oq from"./third-party/components/AftershipEmailMarketingsms.js";import oG from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oN from"./third-party/components/DiscountyBulkDiscountSales.js";import oW from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o3 from"./third-party/components/OkendoReviewsLoyalty.js";import o2 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o0 from"./third-party/components/HextomCountdownTimerBar.js";import o1 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./third-party/components/AovBundlesVolumeDiscounts.js";import tt from"./third-party/components/UppromoteAffiliateMarketing.js";import tr from"./third-party/components/DealeasyVolumeDiscounts.js";import tm from"./third-party/components/BloyRewardsProgramLoyalty.js";import ts from"./third-party/components/KachingSubscriptionsApp.js";import tp from"./article/components/ArticleList.js";import tn from"./article/components/ArticleTitle.js";import te from"./article/components/ArticleExcerpt.js";import ti from"./article/components/ArticleContent.js";import tc from"./article/components/ArticleImage.js";import ta from"./article/components/ArticlePagination.js";import td from"./article/components/ArticleAuthor.js";import tu from"./article/components/ArticleTag.js";import tf from"./article/components/ArticleCategory.js";import tj from"./article/components/ArticleDate.js";import tl from"./article/components/ArticleReadMore.js";import th from"./hero-banner/components/HeroBanner.js";import ty from"./breadcrumb/components/Breadcrumb.js";import tP from"./button/components/Button.js";import tg from"./carousel-v3/components/root/Carousel.js";import tB from"./carousel-v3/components/item/CarouselItem.js";import tC from"./carousel/components/root/Carousel.js";import tb from"./carousel/components/item/CarouselItem.js";import tS from"./cart/components/Cart.js";import tw from"./cart/components/CartList.js";import tv from"./cart/components/CartLinePrice.js";import tk from"./cart/components/CartLineVariant.js";import tI from"./cart/components/CartLineImage.js";import tT from"./cart/components/CartTotalPrice.js";import tA from"./cart/components/CartTotalItem.js";import tL from"./cart/components/CartCheckout.js";import tR from"./cart/components/DiscountInput.js";import tx from"./cart/components/CartDiscount.js";import tD from"./cart/components/CartOrderNote.js";import tV from"./cart/components/CartLineAttribute.js";import tF from"./cart/components/CouponList.js";import tO from"./cart/components/shop-pay-button/ShopPayButton.js";import tM from"./cart/components/CheckoutNow.js";import tE from"./code/components/CSSCode.js";import tH from"./collection/components/collection-title/CollectionTitle.js";import tU from"./collection/components/collection-banner/CollectionBanner.js";import tz from"./collection/components/collection-description/CollectionDescription.js";import tK from"./collection/components/collection-toolbar/CollectionToolbar.js";import tq from"./collection/components/collection-paginator/CollectionPaginator.js";import tG from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tQ from"./coupon/components/Coupon.js";import tN from"./dialog/components/Dialog.js";import tW from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import tY from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import tJ from"./grid/components/root/Root.js";import tX from"./grid/components/section/Section.js";import tZ from"./grid/components/row/Row.js";import t$ from"./grid/components/col/Col.js";import t_ from"./form/components/newsletter/Newsletter.js";import t3 from"./form/components/contact/Contact.js";import t2 from"./form/components/form-email/FormEmail.js";import t0 from"./form/components/submit-button/SubmitButton.js";import t1 from"./form/components/form-dropdown/FormDropdown.js";import t4 from"./form/components/textfield/TextField.js";import t5 from"./form/components/textarea/TextArea.js";import t6 from"./form/components/form-checkbox/FormCheckbox.js";import t7 from"./form/components/textinput/TextInput.js";import t8 from"./header/components/Header.js";import t9 from"./header/components/kind/basic/index.js";import ro from"./header/components/kind/modern/index.js";import rt from"./header/components/kind/basic/MobileMenu.js";import rr from"./header/components/kind/basic/DesktopMenu.js";import rm from"./heading/components/Heading.js";import rs from"./icon/components/Icon.js";import rp from"./icon-list/components/IconList.js";import rn from"./icon-list/components/IconListItem.js";import re from"./icon-list-hoz/components/IconListHoz.js";import ri from"./icon-list-hoz/components/IconListHozItem.js";import rc from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import ra from"./image/components/Image.js";import rd from"./image-comparison/components/ImageComparison.js";import ru from"./image-detection/components/ImageDetection.js";import rf from"./input/components/Input.js";import rj from"./line/components/Line.js";import rl from"./marquee/components/Marquee.js";import rh from"./marquee/components/MarqueeItem.js";import ry from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rP from"./modal/components/Modal.js";import rg from"./pagination/components/Pagination.js";import rB from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rC from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rb from"./post-purchase/button/components/Button.js";import rS from"./post-purchase/callout-banner/components/CalloutBox.js";import rw from"./post-purchase/callout-banner/components/CalloutText.js";import rv from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rk from"./post-purchase/image/components/Image.js";import rI from"./post-purchase/line/components/PostPurchaseLine.js";import rT from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rA}from"./post-purchase/text/index.js";import rL from"./post-purchase/product/components/ProductTitle.js";import rR from"./post-purchase/product/components/ProductDescription.js";import rx from"./post-purchase/product/components/ProductPrice.js";import rD from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rV from"./post-purchase/product/components/AcceptButton.js";import rF from"./post-purchase/product/components/ProductQuantity.js";import rO from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rM from"./post-purchase/product/components/ProductPriceBreakdown.js";import rE from"./post-purchase/product/components/ProductDiscountTag.js";import rH from"./post-purchase/product/components/product-image/index.js";import rU from"./product/components/product-wrap/Product.js";import rz from"./product/components/product-title/ProductTitle.js";import rK from"./product/components/product-quantity/ProductQuantity.js";import rq from"./product/components/product-description/ProductDescription.js";import rG from"./product/components/product-price/ProductPrice.js";import rQ from"./product/components/product-button/ProductButton.js";import rN from"./product/components/product-variants/ProductVariants.js";import rW from"./product/components/ProductImages.js";import rY from"./product/components/product-images-v3/ProductImageV3.js";import rJ from"./product/components/product-images-v2/ProductImageV2.js";import rX from"./product/components/product-properties/ProductProperties.js";import rZ from"./product/components/product-quick-view/QuickView.js";import r$ from"./product/components/product-discount-tag/ProductDiscountTag.js";import r_ from"./product/components/product-list-v3/ProductList.js";import r3 from"./product/components/product-list/ProductList.js";import r2 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r0 from"./product/components/product-bundle/ProductBundleDiscount.js";import r1 from"./product/components/product-vendor/Vendor.js";import r4 from"./product/components/product-sku/Sku.js";import r5 from"./product/components/product-view-more/ProductViewMore.js";import r6 from"./product/components/product-badge/ProductBadge.js";import r7 from"./product/components/file-upload/UploadFile.js";import r8 from"./product/components/product-bundle/ProductBundleDiscountItem.js";import r9 from"./radio/components/Radio.js";import mo from"./select/components/Select.js";import"./select/settings/configs/settings.js";import mt from"./tab/components/Tabs.js";import mr from"./tab/components/TabItem.js";import mm from"./text/components/Text.js";import ms from"./textarea/components/Textarea.js";import mp from"./video/components/Video.js";import mn from"./third-party-slot/components/ThirdPartySlot.js";import me from"./shop-pay-installment/components/ShopPayInstallments.js";import mi from"./third-party-instant/components/InstantJudgemeReviews.js";import mc from"./third-party-instant/components/InstantLooxReviews.js";import ma from"./third-party-instant/components/InstantKlaviyo.js";import md from"./third-party-instant/components/InstantYotpoLoyalty.js";import mu from"./stock-counter/components/StockCounter.js";import mf from"./sticky/components/Sticky.js";import mj from"./post-purchase/text/components/Text.js";var builder={KachingSubscriptionsApp:ts,BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:p,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:s,Accordion:o,AccordionItem:t,ArticleList:tp,ArticleTitle:tn,ArticleExcerpt:te,ArticleContent:ti,ArticleImage:tc,ArticlePagination:ta,ArticleAuthor:td,ArticleTag:tu,ArticleCategory:tf,ArticleDate:tj,ArticleReadMore:tl,HeroBanner:th,Breadcrumb:ty,Button:tP,CarouselV3:tg,CarouselItemV3:tB,Carousel:tC,CarouselItem:tb,Cart:tS,CartList:tw,CartLinePrice:tv,CartLineVariant:tk,CartLineImage:tI,CartTotalPrice:tT,CartTotalItem:tA,CartCheckout:tL,DiscountInput:tR,CartDiscount:tx,CartOrderNote:tD,CartLineAttribute:tV,CouponList:tF,ShopPayButton:tO,CheckoutNow:tM,CSSCode:tE,CollectionTitle:tH,CollectionDescription:tz,CollectionBanner:tU,CollectionToolbar:tK,CollectionPaginator:tq,Countdown:tG,Coupon:tQ,Dialog:tN,EstimateDate:tW,Newsletter:t_,ContactForm:t3,FormEmail:t2,SubmitButton:t0,TextField:t4,TextInput:t7,FormTextarea:t5,FormDropdown:t1,FormCheckbox:t6,Root:tJ,Section:tX,Row:tZ,Col:t$,Header:t8,BasicHeader:t9,ModernHeader:ro,MobileMenu:rt,DesktopMenu:rr,Heading:rm,Icon:rs,IconList:rp,IconListItem:rn,IconListHoz:re,IconListItemHoz:ri,IconListV2:rc,Image:ra,ImageComparison:rd,ImageDetection:ru,Input:rf,Line:rj,Link:tY,Marquee:rl,MarqueeItem:rh,Menu:ry,Modal:rP,Pagination:rg,PostPurchaseAdvancedList:rB,PostPurchaseAdvancedListItem:rC,PostPurchaseAcceptButton:rV,PostPurchaseButton:rb,PostPurchaseCalloutBox:rS,PostPurchaseCalloutText:rw,PostPurchaseCountdownTimer:rv,PostPurchaseImage:rk,PostPurchaseLine:rI,PostPurchaseLink:rT,PostPurchaseHeading:rA,PostPurchaseText:mj,PostPurchaseProductTitle:rL,PostPurchaseProductDescription:rR,PostPurchaseProductPrice:rx,PostPurchaseProductVariants:rD,PostPurchaseProductQuantity:rF,PostPurchaseProductPriceBreakdown:rM,PostPurchaseProductOffer:rO,PostPurchaseProductDiscountTag:rE,PostPurchaseProductImages:rH,EstimatedDeliveryDatePlus:o2,OkendoReviewsLoyalty:o3,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oW,DiscountyBulkDiscountSales:oN,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oG,AftershipEmailMarketingsms:oq,BestBuyFulfillment:oK,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oO,LoloyalLoyaltyReferrals:oF,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oV,InstasellShoppableInstagram:oD,SproutPlantTreesGrowSales:ox,RapiBundleQuantityBreaks:oL,AppointmentBookingCowlendar:oR,GoogleReviewsByReputon:oA,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ov,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ok,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:oS,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:ob,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:oC,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:of,UnlimitedBundlesDiscounts:ou,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:op,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:os,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rU,ProductTitle:rz,ProductQuantity:rK,ProductPrice:rG,ProductSku:r4,FileUpload:r7,ProductBundleDiscount:r0,ProductBundleDiscountItem:r8,ProductButton:rQ,ProductDescription:rq,ProductVariants:rN,ProductImages:rW,ProductImagesV3:rY,ProductImagesV2:rJ,ProductProperties:rX,ProductQuickView:rZ,ProductTag:r$,ProductListV3:r_,ProductList:r3,Radio:r9,Select:mo,Tabs:mt,TabItem:mr,Text:mm,Textarea:ms,Video:mp,PushOwl:G,ThirdPartySlot:mn,ShopPayInstallments:me,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:u,Ryviu:f,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:C,TrustMe:b,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:D,KachingBundles:V,Bogos:q,Opinew:F,UltimateSalesBoost:O,FirePush:U,FrequentlyBoughtTogether:S,BoldSubscriptions:w,BoldProductOptions:v,WideBundle:k,PickyStory:I,InfiniteOptions:T,Wiser:A,Stamped:L,Bundler:R,LaiProductReviews:x,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:K,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:mi,InstantLooxReviews:mc,InstantKlaviyo:ma,InstantYotpoLoyalty:md,Releasit:N,BirdChime:X,StockCounter:mu,DynamicCheckout:r2,Sticky:mf,ProductVendor:r1,KingProductOptions:W,ProductViewMore:r5,ProductBadge:r6,HextomCountdownTimerBar:o0,TrustBadgesBear:o1,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{builder as default};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import{forwardRef as t,Children as i,useState as l,useRef as s,useMemo as n,useCallback as a,isValidElement as d,cloneElement as m,createElement as p}from"react";import{filterToolbarPreview as c,useCurrentDevice as u,isEmptyChildren as h}from"@gem-sdk/core";import{mappingNavigationCarousel as S}from"../arrow/common/helpers.js";import{useCarousel as v}from"../../hooks/useCarousel.js";import{getData as w}from"./common/helpers.js";import{getClass as f}from"./common/classes.js";import{getStyle as C}from"./common/styles.js";import{getAttr as k}from"./common/attrs.js";import y from"../arrow/Arrow.js";import g from"../dot/Dots.js";import{Swiper as j}from"../swiper/Swiper.js";import"@gem-sdk/system";let Carousel=t((t,b)=>{let{children:O,builderAttrs:$,builderProps:P,styles:D,isHiddenArrowWhenDisabled:I=!0,hiddenDotWhenOnlyOne:x,elmRef:z,isEnableCheckHasScrollableContent:A,onSwiperReady:T}=t,B=S(t.setting),N={...t,setting:B},R=i.count(c(O))??0,[W,E]=l(null),{arrowButtonSize:H,arrowBackgroundColor:G,arrowGapToEachSide:F="16",roundedArrow:K,arrowIconSize:U,arrowCustomColor:q,arrowBorder:J,arrowShadow:L,showWhenHover:M}=B??{},Q=s({prevOrder:"",prevContent:"",version:0}),V=n(()=>{let e=B?.childItem||[],r=e.join("|"),o=[...e].sort().join("|"),t=Q.current;return t.prevOrder&&t.prevContent&&o===t.prevContent&&r!==t.prevOrder&&t.version++,t.prevOrder=r,t.prevContent=o,`reorder-${t.version}`},[B?.childItem]),{isInfinity:X,localRef:Y,sliderSettings:Z,totalSlideItem:_,currentSlide:ee,isRenderDots:er,showNavigation:eo,isScrollToStart:et,isScrollToEnd:ei,handleDotClick:el,getItemsPerPage:es,handleNextAndPrevSlide:en,dispatchEventSelectSlide:ea,getNumberOfFullWidthShow:ed,setCurrentSlide:em,shouldDuplicateSlides:ep,setIsScrollToStart:ec,setIsScrollToEnd:eu}=v(N,b,W,R),{loopConfig:eh,arrowShowConfig:eS}=w(N),{rootClassRender:ev,wrapperClassRender:ew,wrapperInnerClass:ef,sliderClass:eC}=f(N),{rootStyleRender:ek,wrapperStyleRender:ey,wrapperInnerStyle:eg}=C(N),{rootAttrRender:ej,sliderAttr:eb}=k(N),eO=u(),e$=B?.sneakPeak?.[eO],eP=r=>{let o="next"===r;if(R<=1)return null;let i=o?!X&&W?.isEnd:!X&&W?.isBeginning,l=o?!X&&ei:!X&&et;return e(y,{uid:P?.uid,custom:B?.arrowCustom??"",showArrow:eS,arrowButtonSize:H||{},arrowIconSize:U||{},arrowBackgroundColor:G||"",arrowCustomColor:q,gapToEachSize:F,showWhenHover:M,arrowBorder:J||{},arrowCorner:K||{},arrowShadow:L||{},onClick:e=>{e.stopPropagation(),en(r)},left:!o,disabled:A?l:i,vertical:B?.vertical,isHiddenWhenDisabled:I,rootId:t?.parentClass})},eD=a(e=>{E(e),T?.(e)},[]),eI=a(()=>{t?.isDisableResetSlide||(em(0),ec(!0),eu(!1))},[t?.isDisableResetSlide,em,eu,ec]),ex=i.toArray(c(O)).filter(d),ez=ep(R),eA=ez?2*R:R,eT=n(()=>{if(!ez)return ex;let e=ex.map((e,r)=>{if(!d(e))return e;let o=e.key,t=o?`${o}-duplicate-${r}`:`duplicate-${r}`;return m(e,{...e.props||{},key:t})});return[...ex,...e]},[ez,ex]),eB=n(()=>`${R}-${V}-${eT.length}-${Z?.direction}`,[R,V,eT.length,Z?.direction]);return e("div",{ref:z,...ej,className:ev,style:ek,children:r("div",{ref:Y,...$,className:ew,style:ey,children:[r("div",{className:ef,style:eg,children:[eo&&eP("prev"),p(j,{...eb,...Z,sliderClass:eC,thumbsSwiper:t?.thumbsSwiper,onSwiperReady:eD,totalSlides:_,key:eB,sliderOrder:V,onSwiperReset:eI},h(O)?e("div",{children:"No Slider"}):e(o,{children:eT.map((e,r)=>{if(!d(e))return null;let o=e.props??{};return p(e.type,{...o,key:e.key,indexKey:r.toString(),parentSettings:B,parentStyle:D,background:B?.background,parentUid:P?.uid,dispatchEventSelectSlide:ea})})})),eo&&eP("next")]}),er&&e(g,{dotStyle:B?.dotStyle,dotGapToCarousel:B?.dotGapToCarousel,vertical:B?.vertical,showDots:B?.dot,slideItemsPerPage:es(),enabledSneakPeak:e$,dotColor:B?.dotColor,dotActiveColor:B?.dotActiveColor,dotSize:B?.dotSize,sneakPeakType:B?.sneakPeakType,totalSlideItem:eA,hiddenWhenOnlyOne:x,currentSlide:ee,loop:eh,numberOfFullWidthShow:ed(eO),onHandleClick:el,slideDuplicated:ez}),c(O,!0)]})})});export{Carousel as default};
2
+ import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import{forwardRef as t,Children as i,useState as l,useRef as n,useMemo as s,useCallback as a,isValidElement as d,cloneElement as m,createElement as p}from"react";import{filterToolbarPreview as c,useCurrentDevice as u,isEmptyChildren as h}from"@gem-sdk/core";import{mappingNavigationCarousel as S}from"../arrow/common/helpers.js";import{useCarousel as v}from"../../hooks/useCarousel.js";import{getData as w}from"./common/helpers.js";import{getClass as f}from"./common/classes.js";import{getStyle as k}from"./common/styles.js";import{getAttr as y}from"./common/attrs.js";import C from"../arrow/Arrow.js";import g from"../dot/Dots.js";import{Swiper as j}from"../swiper/Swiper.js";import"@gem-sdk/system";let Carousel=t((t,b)=>{let{children:$,builderAttrs:O,builderProps:P,styles:A,isHiddenArrowWhenDisabled:D=!0,hiddenDotWhenOnlyOne:I,elmRef:x,isEnableCheckHasScrollableContent:z,onSwiperReady:T}=t,B=S(t.setting),N={...t,setting:B},R=i.count(c($))??0,[W,E]=l(null),{arrowButtonSize:H,arrowBackgroundColor:G,arrowGapToEachSide:F="16",roundedArrow:K,arrowIconSize:U,arrowCustomColor:q,arrowBorder:J,arrowShadow:L,showWhenHover:M}=B??{},Q=n({prevOrder:"",prevContent:"",version:0}),V=s(()=>{let e=B?.childItem||[],r=e.join("|"),o=[...e].sort().join("|"),t=Q.current;return t.prevOrder&&t.prevContent&&o===t.prevContent&&r!==t.prevOrder&&t.version++,t.prevOrder=r,t.prevContent=o,`reorder-${t.version}`},[B?.childItem]),{isInfinity:X,localRef:Y,sliderSettings:Z,totalSlideItem:_,currentSlide:ee,isRenderDots:er,showNavigation:eo,isScrollToStart:et,isScrollToEnd:ei,handleDotClick:el,getItemsPerPage:en,handleNextAndPrevSlide:es,dispatchEventSelectSlide:ea,getNumberOfFullWidthShow:ed,setCurrentSlide:em,shouldDuplicateSlides:ep,setIsScrollToStart:ec,setIsScrollToEnd:eu}=v(N,b,W,R),{loopConfig:eh,arrowShowConfig:eS}=w(N),{rootClassRender:ev,wrapperClassRender:ew,wrapperInnerClass:ef,sliderClass:ek}=f(N),{rootStyleRender:ey,wrapperStyleRender:eC,wrapperInnerStyle:eg}=k(N),{rootAttrRender:ej,sliderAttr:eb}=y(N),e$=u(),eO=B?.sneakPeak?.[e$],eP=r=>{let o="next"===r;if(R<=1)return null;let i=o?!X&&W?.isEnd:!X&&W?.isBeginning,l=o?!X&&ei:!X&&et;return e(C,{uid:P?.uid,custom:B?.arrowCustom??"",showArrow:eS,arrowButtonSize:H||{},arrowIconSize:U||{},arrowBackgroundColor:G||"",arrowCustomColor:q,gapToEachSize:F,showWhenHover:M,arrowBorder:J||{},arrowCorner:K||{},arrowShadow:L||{},onClick:e=>{e.stopPropagation(),es(r)},left:!o,disabled:z?l:i,vertical:B?.vertical,isHiddenWhenDisabled:D,rootId:t?.parentClass})},eA=a(e=>{E(e),T?.(e)},[]),eD=a(()=>{t?.isDisableResetSlide||(em(0),ec(!0),eu(!1))},[t?.isDisableResetSlide,em,eu,ec]),eI=i.toArray(c($)).filter(d),ex=ep(R),ez=ex?2*R:R,eT=s(()=>{if(!ex)return eI;let e=eI.map((e,r)=>{if(!d(e))return e;let o=e.key,t=o?`${o}-duplicate-${r}`:`duplicate-${r}`;return m(e,{...e.props||{},key:t})});return[...eI,...e]},[ex,eI]),eB=s(()=>{let e=i.toArray($),r=e[0];return d(r)?r.key:""},[$]),eN=s(()=>`${R}-${V}-${eT.length}-${Z?.direction}-${eB}`,[R,V,eT.length,Z?.direction,eB]);return e("div",{ref:x,...ej,className:ev,style:ey,children:r("div",{ref:Y,...O,className:ew,style:eC,children:[r("div",{className:ef,style:eg,children:[eo&&eP("prev"),p(j,{...eb,...Z,sliderClass:ek,thumbsSwiper:t?.thumbsSwiper,onSwiperReady:eA,totalSlides:_,key:eN,sliderOrder:V,onSwiperReset:eD},h($)?e("div",{children:"No Slider"}):e(o,{children:eT.map((e,r)=>{if(!d(e))return null;let o=e.props??{};return p(e.type,{...o,key:e.key,indexKey:r.toString(),parentSettings:B,parentStyle:A,background:B?.background,parentUid:P?.uid,dispatchEventSelectSlide:ea})})})),eo&&eP("next")]}),er&&e(g,{dotStyle:B?.dotStyle,dotGapToCarousel:B?.dotGapToCarousel,vertical:B?.vertical,showDots:B?.dot,slideItemsPerPage:en(),enabledSneakPeak:eO,dotColor:B?.dotColor,dotActiveColor:B?.dotActiveColor,dotSize:B?.dotSize,sneakPeakType:B?.sneakPeakType,totalSlideItem:ez,hiddenWhenOnlyOne:I,currentSlide:ee,loop:eh,numberOfFullWidthShow:ed(e$),onHandleClick:el,slideDuplicated:ex}),c($,!0)]})})});export{Carousel as default};
@@ -1 +1 @@
1
- import{getGlobalColorClass as e}from"@gem-sdk/core";function composeClasses(e){return e.split(" ").reduce((e,s)=>(e[s]=!0,e),{})}let getContentClasses=()=>({...composeClasses("gp-flex gp-flex-wrap gp-w-max gp-relative")}),getWrapperClasses=e=>{let s="gp-flex";return e&&(s+=` ${e}`),{...composeClasses(s)}},getDateClasses=e=>{let s="gp-flex-1 gp-text-center gp-min-w-max !gp-max-w-max";return e||(s+=" gp-content-center"),{...composeClasses(s)}},getTextFrontClasses=s=>{let t="gp-countdown-number",{colorNumber:p}=s||{};return e("text",p)&&(t+=` ${e("text",p)}`),{...composeClasses(t)}},getTextBackClasses=(s,t)=>{let p="",{colorLabel:g}=s||{};return e("text",g)&&(p+=` ${e("text",g)}`),t||(p+=" gp-hidden"),{...composeClasses(p)}},getLinkClasses=()=>({...composeClasses("gp-absolute gp-inset-0 gp-z-1 gp-pointer-events-none")}),getTextExpireClasses=()=>({...composeClasses("gp-flex gp-h-12 gp-items-center gp-justify-center gp-bg-[#d6d6d6] gp-opacity-70")});export{getContentClasses,getDateClasses,getLinkClasses,getTextBackClasses,getTextExpireClasses,getTextFrontClasses,getWrapperClasses};
1
+ import{getGlobalColorClass as e}from"@gem-sdk/core";function composeClasses(e){return e.split(" ").reduce((e,s)=>(e[s]=!0,e),{})}let getContentClasses=({isLiquid:e,autoHideWhenTimeout:s})=>{let t="gp-flex gp-flex-wrap gp-w-max gp-relative ";return e&&s&&(t+=" !gp-hidden"),{...composeClasses(t)}},getWrapperClasses=e=>{let s="gp-flex";return e&&(s+=` ${e}`),{...composeClasses(s)}},getDateClasses=e=>{let s="gp-flex-1 gp-text-center gp-min-w-max !gp-max-w-max";return e||(s+=" gp-content-center"),{...composeClasses(s)}},getTextFrontClasses=s=>{let t="gp-countdown-number",{colorNumber:p}=s||{};return e("text",p)&&(t+=` ${e("text",p)}`),{...composeClasses(t)}},getTextBackClasses=(s,t)=>{let p="",{colorLabel:g}=s||{};return e("text",g)&&(p+=` ${e("text",g)}`),t||(p+=" gp-hidden"),{...composeClasses(p)}},getLinkClasses=()=>({...composeClasses("gp-absolute gp-inset-0 gp-z-1 gp-pointer-events-none")}),getTextExpireClasses=()=>({...composeClasses("gp-flex gp-h-12 gp-items-center gp-justify-center gp-bg-[#d6d6d6] gp-opacity-70")});export{getContentClasses,getDateClasses,getLinkClasses,getTextBackClasses,getTextExpireClasses,getTextFrontClasses,getWrapperClasses};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{formatTime as s}from"../common/helpers.js";import o from"../../text/components/Text.js";import{useEditorMode as i}from"@gem-sdk/core";import{createClass as l,createAttr as r,createStyle as m,If as n}from"@gem-sdk/system";import{getAttr as a}from"../common/attrs.js";import{getTextExpireClasses as d,getWrapperClasses as c,getContentClasses as p,getTextFrontClasses as u,getLinkClasses as h,getDateClasses as y,getTextBackClasses as f}from"../common/classes.js";import{getWrapperStyle as g,getContainStyle as x,getDateStyle as j,getTextFrontStyle as N,getTextBackStyle as k}from"../common/styles.js";import v from"../hooks/useCountDownTimer.js";let Countdown=C=>{let{setting:w,styles:T,builderProps:b,advanced:E}=C,{labelTypo:F,numTypo:D,labelTypography:H,numTypography:W,enableLabelTextStyle:q}=T??{},{weekLabel:z,dayLabel:A,hourLabel:B,minuteLabel:G,secondLabel:I,enableWeek:J,enableDay:K,enableHour:L,enableMinute:M,enableSecond:O,redirectUrl:P}=w??{},Q=i(),{week:R,day:S,hour:U,minute:V,second:X,timeLeft:Y,ref:Z}=v(w,b),$=!!P?.link&&"edit"!==Q,_=l({...d()});if(w?.autoHideWhenTimeout&&Y<=0)return"edit"!==Q?null:e("div",{className:_,children:e("span",{children:"Countdown is run out of time (this only visible in the editor)"})});let ee=r({...a({uid:b?.uid||""})}),et=m({...g(T)}),es=l({...c(E?.cssClass)}),eo=l({...p()}),ei=m({...x(T)}),el=m({...j(T)}),er=e=>l({...y(e)}),em=l({...u(T)}),en=m({...N(T)}),ea=m({...k(T)}),ed=e=>l({...f(T,e)}),ec=l({...h()}),ep=(i,l)=>{let r=s(i);return t("div",{style:el,className:er(l),children:[e(o,{styles:{typography:W,typo:D},setting:{htmlTag:"div",text:r,excludeFlex:!0},className:em,style:en,disableEdit:!0}),n(!!q,e(o,{styles:{typography:H,typo:F},setting:{text:l,htmlTag:"p",excludeFlex:!0},style:ea,className:ed(l),disableEdit:!0}))]})};return e("div",{ref:Z,...ee,className:es,style:et,children:t("div",{className:eo,style:ei,children:[n($,e("a",{href:P?.link,target:P?.target,"aria-label":"Countdown link",className:ec,children:" "})),n(J,ep(R,z)),n(K,ep(S,A)),n(L,ep(U,B)),n(M,ep(V,G)),n(O,ep(X,I))]})})};export{Countdown as default};
2
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{formatTime as s}from"../common/helpers.js";import o from"../../text/components/Text.js";import{useEditorMode as i}from"@gem-sdk/core";import{createClass as l,createAttr as r,createStyle as m,If as n}from"@gem-sdk/system";import{getAttr as a}from"../common/attrs.js";import{getTextExpireClasses as d,getWrapperClasses as c,getContentClasses as u,getTextFrontClasses as p,getLinkClasses as h,getDateClasses as y,getTextBackClasses as f}from"../common/classes.js";import{getWrapperStyle as g,getContainStyle as x,getDateStyle as j,getTextFrontStyle as N,getTextBackStyle as k}from"../common/styles.js";import v from"../hooks/useCountDownTimer.js";let Countdown=C=>{let{setting:w,styles:T,builderProps:b,advanced:E}=C,{labelTypo:F,numTypo:q,labelTypography:D,numTypography:H,enableLabelTextStyle:L}=T??{},{weekLabel:W,dayLabel:z,hourLabel:A,minuteLabel:B,secondLabel:G,enableWeek:I,enableDay:J,enableHour:K,enableMinute:M,enableSecond:O,redirectUrl:P,autoHideWhenTimeout:Q}=w??{},R=i(),{week:S,day:U,hour:V,minute:X,second:Y,timeLeft:Z,ref:$}=v(w,b),_=!!P?.link&&"edit"!==R,ee=l({...d()});if(w?.autoHideWhenTimeout&&Z<=0)return"edit"!==R?null:e("div",{className:ee,children:e("span",{children:"Countdown is run out of time (this only visible in the editor)"})});let et=r({...a({uid:b?.uid||""})}),es=m({...g(T)}),eo=l({...c(E?.cssClass)}),ei=l({...u({isLiquid:!1,autoHideWhenTimeout:Q})}),el=m({...x(T)}),er=m({...j(T)}),em=e=>l({...y(e)}),en=l({...p(T)}),ea=m({...N(T)}),ed=m({...k(T)}),ec=e=>l({...f(T,e)}),eu=l({...h()}),ep=(i,l)=>{let r=s(i);return t("div",{style:er,className:em(l),children:[e(o,{styles:{typography:H,typo:q},setting:{htmlTag:"div",text:r,excludeFlex:!0},className:en,style:ea,disableEdit:!0}),n(!!L,e(o,{styles:{typography:D,typo:F},setting:{text:l,htmlTag:"p",excludeFlex:!0},style:ed,className:ec(l),disableEdit:!0}))]})};return e("div",{ref:$,...et,className:eo,style:es,children:t("div",{className:ei,style:el,children:[n(_,e("a",{href:P?.link,target:P?.target,"aria-label":"Countdown link",className:eu,children:" "})),n(I,ep(S,W)),n(J,ep(U,z)),n(K,ep(V,A)),n(M,ep(X,B)),n(O,ep(Y,G))]})})};export{Countdown as default};
@@ -1,39 +1,30 @@
1
- import{template as e,RenderIf as t,isLocalEnv as s,baseAssetURL as o}from"@gem-sdk/core";import r from"../../text/components/Text.liquid.js";import{getInsertLinkData as i,getSettingPreloadData as a}from"../../helpers.js";import{createStateOrContext as d,createStyle as n,createClass as l,createAttr as u,If as m}from"@gem-sdk/system";import{getAttr as c,getAttrHref as p}from"../common/attrs.js";import{getDateStyle as $,getTextFrontStyle as y,getTextBackStyle as g,getWrapperStyle as f,getContainStyle as h}from"../common/styles.js";import{getTextFrontClasses as w,getWrapperClasses as x,getContentClasses as b,getLinkClasses as v,getDateClasses as j,getTextBackClasses as k}from"../common/classes.js";import{getStandardEndtime as S}from"../common/helpers.js";let Countdown=E=>{let{setting:C,styles:L,builderProps:T,advanced:A,pageContext:N}=E,{labelTypo:_,numTypo:D,numTypography:H,labelTypography:I,enableLabelTextStyle:P}=L??{},{weekLabel:W,dayLabel:q,hourLabel:F,minuteLabel:G,secondLabel:O,enableWeek:J,enableDay:M,enableHour:R,enableMinute:V,enableSecond:Z,redirectUrl:z,translate:B}=C??{},K=!!z?.link,{urlData:Q}=i("",z),U=d({...C,...T}),X=n({...$(L)}),Y=e=>l({...j(e)}),ee=l({...w(L)}),et=n({...y(L)}),es=n({...g(L)}),eo=e=>l({...k(L,e)}),er=u({...c({uid:T?.uid||""})}),ei=u({...p({uid:Q.href||""})}),ea=n({...f(L)}),ed=l({...x(A?.cssClass)}),en=l({...b()}),el=n({...h(L)}),eu=(t,s,o)=>e`
2
- <div style="${X}" class="${Y(s)}">
3
- ${r({styles:{typography:H,typo:D},setting:{...C,text:"00",excludeFlex:!0,translate:""},style:et,className:ee,builderAttrs:{id:t},builderProps:{...T,uid:T?.uid,uidInteraction:`${T?.uid}-text`}})}
4
- ${m(!!P,e`
5
- ${r({styles:{typography:I,typo:_},setting:{...C,text:s,excludeFlex:!0,translate:o},style:es,className:eo(s),builderProps:{...T,uid:T?.uid,uidInteraction:`${T?.uid}-text`},pageContext:N})}
1
+ import{template as e,RenderIf as t,isLocalEnv as s,baseAssetURL as r}from"@gem-sdk/core";import o from"../../text/components/Text.liquid.js";import{getInsertLinkData as i,getSettingPreloadData as l}from"../../helpers.js";import{createStateOrContext as d,createStyle as a,createClass as n,createAttr as c,If as u}from"@gem-sdk/system";import{getAttr as m,getAttrHref as p}from"../common/attrs.js";import{getDateStyle as $,getTextFrontStyle as y,getTextBackStyle as f,getWrapperStyle as g,getContainStyle as x}from"../common/styles.js";import{getTextFrontClasses as w,getWrapperClasses as b,getContentClasses as h,getLinkClasses as k,getDateClasses as v,getTextBackClasses as j}from"../common/classes.js";let Countdown=L=>{let{setting:S,styles:A,builderProps:C,advanced:E,pageContext:N}=L,{labelTypo:I,numTypo:P,numTypography:q,labelTypography:F,enableLabelTextStyle:G}=A??{},{weekLabel:O,dayLabel:T,hourLabel:_,minuteLabel:J,secondLabel:M,enableWeek:R,enableDay:V,enableHour:z,enableMinute:B,enableSecond:D,redirectUrl:H,translate:K,autoHideWhenTimeout:Q}=S??{},U=!!H?.link,{urlData:W}=i("",H),X=d({...S,...C}),Y=a({...$(A)}),Z=e=>n({...v(e)}),ee=n({...w(A)}),et=a({...y(A)}),es=a({...f(A)}),er=e=>n({...j(A,e)}),eo=c({...m({uid:C?.uid||""})}),ei=c({...p({uid:W.href||""})}),el=a({...g(A)}),ed=n({...b(E?.cssClass)}),ea=n({...h({isLiquid:!0,autoHideWhenTimeout:Q})}),en=a({...x(A)}),ec=(t,s,r)=>e`
2
+ <div style="${Y}" class="${Z(s)}">
3
+ ${o({styles:{typography:q,typo:P},setting:{...S,text:"00",excludeFlex:!0,translate:""},style:et,className:ee,builderAttrs:{id:t},builderProps:{...C,uid:C?.uid,uidInteraction:`${C?.uid}-text`}})}
4
+ ${u(!!G,e`
5
+ ${o({styles:{typography:F,typo:I},setting:{...S,text:s,excludeFlex:!0,translate:r},style:es,className:er(s),builderProps:{...C,uid:C?.uid,uidInteraction:`${C?.uid}-text`},pageContext:N})}
6
6
  `)}
7
7
  </div>
8
- `,em=l({...v()}),ec=S(C?.dateStandard,C?.timeZone),ep=()=>t(s,`<script ${a('class="gps-link" delay',"src")}="{{ 'gp-countdown-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${a('class="gps-link" delay',"src")}="${o}/assets-v2/gp-countdown-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`);return e`
9
- {%- liquid
10
- assign standardEndDate = ${ec}
11
- assign typeCountdown = "${C?.behaviour.toString()||""}"
12
- assign autoHideWhenTimeout = ${!!C?.autoHideWhenTimeout}
13
- assign current_time = 'now' | date: '%s' | times: 1000
14
-
15
- -%}
16
- {% if standardEndDate == nil or current_time <= standardEndDate or typeCountdown != "standard" or autoHideWhenTimeout != true %}
17
- <gp-countdown-timer
18
- ${{...er}}
8
+ `,eu=n({...k()}),em=()=>t(s,`<script ${l('class="gps-link" delay',"src")}="{{ 'gp-countdown-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${l('class="gps-link" delay',"src")}="${r}/assets-v2/gp-countdown-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`);return e`
9
+ <gp-countdown-timer
10
+ ${{...eo}}
19
11
  ${{...ei}}
20
12
  class="${ed}"
21
- style="${ea}"
22
- gp-data='${JSON.stringify(U).replaceAll("'","&#039;")}'>
23
- <div id="section-countdown" class="${en}" style="${el}">
24
- ${m(K,`<a
25
- href="${Q.href}"
26
- target="${Q?.target}"
13
+ style="${el}"
14
+ gp-data='${JSON.stringify(X).replaceAll("'","&#039;")}'>
15
+ <div id="section-countdown" class="${ea}" style="${en}">
16
+ ${u(U,`<a
17
+ href="${W.href}"
18
+ target="${W?.target}"
27
19
  aria-label="Countdown link"
28
- class="${em}"
20
+ class="${eu}"
29
21
  > </a>`)}
30
- ${m(J,eu("week",W,B?"weekLabel":""))}
31
- ${m(M,eu("day",q,B?"dayLabel":""))}
32
- ${m(R,eu("hour",F,B?"hourLabel":""))}
33
- ${m(V,eu("minute",G,B?"minuteLabel":""))}
34
- ${m(Z,eu("second",O,B?"secondLabel":""))}
22
+ ${u(R,ec("week",O,K?"weekLabel":""))}
23
+ ${u(V,ec("day",T,K?"dayLabel":""))}
24
+ ${u(z,ec("hour",_,K?"hourLabel":""))}
25
+ ${u(B,ec("minute",J,K?"minuteLabel":""))}
26
+ ${u(D,ec("second",M,K?"secondLabel":""))}
35
27
  </div>
36
28
  </gp-countdown-timer>
37
- {% endif %}
38
- ${ep()}
29
+ ${em()}
39
30
  `};export{Countdown as default};
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{setDefaultWhenUndefineSetting as a,getAspectRatio as i}from"./common/common.js";import{useProductShopifyEditLink as C,useProduct as o,useCurrentDevice as l,useCurrentVariant as d,useSelectedOption as r,useEditorMode as n,useProductStore as s,getResponsiveValueByScreen as p,filterToolbarPreview as c}from"@gem-sdk/core";import{useMemo as m,useState as f,useEffect as g,Children as h,isValidElement as u}from"react";import y from"./components/feature-gallery/FeatureImageWithGallery.js";import D from"./components/feature-only/OnlyFeatureImage.js";import I from"./components/lightbox/ProductImagesLightBox.js";import b from"../../../common/components/NoDataState.js";import{getProductImagesClassName as M}from"./composables/getProductImagesClassName.js";import{getBorderActiveCss as E}from"./common/getBorderActiveCss.js";import Z from"./components/gallery-grid/GalleryGrid.js";let getProductGallery=e=>e?.medias?.edges.map(e=>e?.node),LAYOUT_FEATURE_IMAGE_GALLERY=["bottom-left","bottom-center","left","right","inside-left","inside-right","inside-bottom"],ProductImagesV2=k=>{let w=m(()=>a(k),[k]),{redirectProductShopifyLink:L}=C(),{setting:A,styles:V,builderProps:v,builderAttrs:x,style:H,children:P}=w,G=o(),O=l(),T=d(),{isChangeSelectedOption:_}=r(),S=n(),j=s(e=>e.setProductFeaturedImage),[F,B]=f(!1),R=e=>e?.medias?.edges.find(e=>["VIDEO","EXTERNAL_VIDEO"].includes(e?.node?.contentType??""))?.node,N=e=>e?.featuredImage,U=e=>e?.medias?.edges.find(e=>e?.node?.contentType==="MODEL_3D")?.node,Y=m(()=>A?.typeDisplay==="all-images"&&!_,[_,A?.typeDisplay]),z=m(()=>{if(Y){let e;switch(A?.preDisplay){case"1st-images":e=N(G);break;case"1st-3d-mode":e=U(G);break;case"1st-video":e=R(G);break;case"1st-available-variant":e=T?.media}return j(e),e}},[Y,A?.preDisplay,j,G,T?.media]),J=m(()=>{let e=getProductGallery(G);return e?.length?e:[{id:G?.featuredImage?.id||"noImageError",src:G?.featuredImage?.src||"https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif",width:G?.featuredImage?.width||480,height:G?.featuredImage?.height||480}]},[G]),W=m(()=>J.reduce((e,t,a)=>t?{...e,[t.id]:a}:e,{}),[J]),X=m(()=>p(V?.position,O),[O,V?.position]),q=(e,t)=>{Q(e),t&&K()},K=()=>{B(!0)},Q=e=>{if(!e)return;let t=W[e];if(void 0!==t){let e=J[t];e&&j(e)}};g(()=>{if(T&&!Y){let e=W[T?.mediaId];if(void 0!==e){let t=J[e]??G?.featuredImage;t&&j(t)}}},[T,W,J,G?.featuredImage,j,Y]);let $=m(()=>{let e="popup"===p(A?.ftClickOpenLightBox,O)||p(A?.clickOpenLightBox,O);return e||"edit"!==S||window?.parent?.postMessage?.(JSON.stringify({type:"active-modal",value:open}),"*"),e},[A?.ftClickOpenLightBox,A?.clickOpenLightBox,O,S]),ee=()=>J.length>0?h.map(c(P),e=>u(e)?t(e.type,{...e.props,isInsideProductImage:!0,navigationPosition:A?.ftNavigationPosition,imageData:{imageShape:V?.ftShape,imageAlign:V?.align,imageLayout:V?.position},dotData:{dotSize:A?.ftDotSize,dotGapToCarousel:A?.ftDotGapToCarousel,dotStyle:A?.ftDotStyle}}):null):null,et=`
2
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{setDefaultWhenUndefineSetting as a,getAspectRatio as i}from"./common/common.js";import{useProductShopifyEditLink as C,useProduct as o,useCurrentDevice as l,useCurrentVariant as d,useSelectedOption as r,useEditorMode as n,useProductStore as s,getResponsiveValueByScreen as p,filterToolbarPreview as c}from"@gem-sdk/core";import{useMemo as m,useState as f,useEffect as g,Children as h,isValidElement as u}from"react";import y from"./components/feature-gallery/FeatureImageWithGallery.js";import D from"./components/feature-only/OnlyFeatureImage.js";import I from"./components/lightbox/ProductImagesLightBox.js";import b from"../../../common/components/NoDataState.js";import{getProductImagesClassName as M}from"./composables/getProductImagesClassName.js";import{getBorderActiveCss as E}from"./common/getBorderActiveCss.js";import Z from"./components/gallery-grid/GalleryGrid.js";let getProductGallery=e=>e?.medias?.edges.map(e=>e?.node),LAYOUT_FEATURE_IMAGE_GALLERY=["bottom-left","bottom-center","left","right","inside-left","inside-right","inside-bottom"],ProductImagesV3=k=>{let w=m(()=>a(k),[k]),{redirectProductShopifyLink:L}=C(),{setting:A,styles:V,builderProps:v,builderAttrs:x,style:H,children:P}=w,G=o(),O=l(),T=d(),{isChangeSelectedOption:_}=r(),S=n(),j=s(e=>e.setProductFeaturedImage),[F,B]=f(!1),R=e=>e?.medias?.edges.find(e=>["VIDEO","EXTERNAL_VIDEO"].includes(e?.node?.contentType??""))?.node,N=e=>e?.featuredImage,U=e=>e?.medias?.edges.find(e=>e?.node?.contentType==="MODEL_3D")?.node,Y=m(()=>A?.typeDisplay==="all-images"&&!_,[_,A?.typeDisplay]),z=m(()=>{if(Y){let e;switch(A?.preDisplay){case"1st-images":e=N(G);break;case"1st-3d-mode":e=U(G);break;case"1st-video":e=R(G);break;case"1st-available-variant":e=T?.media}return j(e),e}},[Y,A?.preDisplay,j,G,T?.media]),J=m(()=>{let e=getProductGallery(G);return e?.length?e:[{id:G?.featuredImage?.id||"noImageError",src:G?.featuredImage?.src||"https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif",width:G?.featuredImage?.width||480,height:G?.featuredImage?.height||480}]},[G]),W=m(()=>J.reduce((e,t,a)=>t?{...e,[t.id]:a}:e,{}),[J]),X=m(()=>p(V?.position,O),[O,V?.position]),q=(e,t)=>{Q(e),t&&K()},K=()=>{B(!0)},Q=e=>{if(!e)return;let t=W[e];if(void 0!==t){let e=J[t];e&&j(e)}};g(()=>{if(T&&!Y){let e=W[T?.mediaId];if(void 0!==e){let t=J[e]??G?.featuredImage;t&&j(t)}}},[T,W,J,G?.featuredImage,j,Y]);let $=m(()=>{let e="popup"===p(A?.ftClickOpenLightBox,O)||p(A?.clickOpenLightBox,O);return e||"edit"!==S||window?.parent?.postMessage?.(JSON.stringify({type:"active-modal",value:open}),"*"),e},[A?.ftClickOpenLightBox,A?.clickOpenLightBox,O,S]),ee=()=>J.length>0?h.map(c(P),e=>u(e)?t(e.type,{...e.props,isInsideProductImage:!0,navigationPosition:A?.ftNavigationPosition,imageData:{imageShape:V?.ftShape,imageAlign:V?.align,imageLayout:V?.position},dotData:{dotSize:A?.ftDotSize,dotGapToCarousel:A?.ftDotGapToCarousel,dotStyle:A?.ftDotStyle}}):null):null,et=`
3
3
  <svg viewBox="0 0 452 400" fill="none" xmlns="http://www.w3.org/2000/svg">
4
4
  <path d="M0 7.99999C0 3.58171 3.58172 0 8 0H444C448.418 0 452 3.58172 452 8V392C452 396.418 448.418 400 444 400H8C3.58173 400 0 396.418 0 392V7.99999Z" fill="#F9F9F9"/>
5
5
  <path d="M208.148 348.801C239.683 348.75 265.245 347.272 265.242 345.499C265.239 343.726 239.673 342.33 208.138 342.381C176.603 342.432 151.041 343.91 151.044 345.683C151.047 347.456 176.614 348.851 208.148 348.801Z" fill="#E6E6E6"/>
@@ -23,4 +23,4 @@ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{setDefaultWhenUndefineS
23
23
  <path opacity="0.2" d="M293.196 231.862C306.954 231.862 318.106 217.921 318.106 200.724C318.106 183.527 306.954 169.586 293.196 169.586C279.439 169.586 268.286 183.527 268.286 200.724C268.286 217.921 279.439 231.862 293.196 231.862Z" fill="white"/>
24
24
  <path opacity="0.2" d="M293.196 247.637C313.923 247.637 330.726 226.634 330.726 200.725C330.726 174.816 313.923 153.812 293.196 153.812C272.469 153.812 255.666 174.816 255.666 200.725C255.666 226.634 272.469 247.637 293.196 247.637Z" fill="white"/>
25
25
  </svg>
26
- `,ea=t(b,{elementType:"secondary",description:"Catch your customer's attention with attracted media.",descriptionActions:[{text:"Add image",callback:L},{text:"sync data",callback:"syncProduct"}],additionalMedia:et}),{wrapperClasses:ei}=M(k);return e("div",{...x,className:ei,style:H,children:[t("style",{dangerouslySetInnerHTML:{__html:E({settings:{...A,...V},uid:v?.uid,type:"React"})}}),LAYOUT_FEATURE_IMAGE_GALLERY.includes(X)&&t(y,{...w,gallery:J,priorityFeatureImage:z,onHandleClickImage:(e,t)=>q(e||"",t),noDataChildren:ea,children:ee()}),"only-feature"===X&&t(D,{gallery:J,...w,onHandleClickImage:(e,t)=>q(e||"",t),noDataChildren:ea,children:ee()}),["one-col","two-col"].includes(X)&&t(Z,{gallery:J,...w,onHandleClickImage:(e,t)=>q(e||"",t),noDataChildren:ea,children:ee()}),$&&t(I,{productImages:J,builderPropUID:v?.uid,open:F,onHandleClose:()=>B(!1),imageRatio:i(V?.ftShape)}),c(P,!0)]})};export{ProductImagesV2 as default};
26
+ `,ea=t(b,{elementType:"secondary",description:"Catch your customer's attention with attracted media.",descriptionActions:[{text:"Add image",callback:L},{text:"sync data",callback:"syncProduct"}],additionalMedia:et}),{wrapperClasses:ei}=M(k);return e("div",{...x,className:ei,style:H,children:[t("style",{dangerouslySetInnerHTML:{__html:E({settings:{...A,...V},uid:v?.uid,type:"React"})}}),LAYOUT_FEATURE_IMAGE_GALLERY.includes(X)&&t(y,{...w,gallery:J,priorityFeatureImage:z,onHandleClickImage:(e,t)=>q(e||"",t),noDataChildren:ea,children:ee()}),"only-feature"===X&&t(D,{gallery:J,...w,onHandleClickImage:(e,t)=>q(e||"",t),noDataChildren:ea,children:ee()}),["one-col","two-col"].includes(X)&&t(Z,{gallery:J,...w,onHandleClickImage:(e,t)=>q(e||"",t),noDataChildren:ea,children:ee()}),$&&t(I,{productImages:J,builderPropUID:v?.uid,open:F,onHandleClose:()=>B(!1),imageRatio:i(V?.ftShape)}),c(P,!0)]})};export{ProductImagesV3 as default};
@@ -1 +1 @@
1
- import{jsx as e,Fragment as r,jsxs as t}from"react/jsx-runtime";import{useRenderMode as i,useCurrentDevice as o,cls as a}from"@gem-sdk/core";import{useRef as l,useCallback as s}from"react";import d from"../gallery-carousel/GalleryCarousel.js";import m from"../child/ProductGalleryGrid.js";import u from"../child/ProductFeaturedImageCarousel.js";import{getProductImagesStyles as n}from"../../composables/getProductImagesStyles.js";import{getProductImagesClassName as p}from"../../composables/getProductImagesClassName.js";import{useFeatureImageWithGallery as c}from"../../hooks/useFeatureImageWithGallery.js";let FeatureImageWithGallery=g=>{let{setting:I,styles:f,builderProps:h,gallery:y,onHandleClickImage:b,priorityFeatureImage:C,children:F,noDataChildren:P}=g,{isEditMode:v}=i(),j=l(null),k=o(),w=s(e=>{if(!j.current)return;let r=j.current.getSwiper();r&&r.thumbs.swiper?.realIndex===void 0&&e&&(r.thumbs.swiper=e,r.thumbs.init(),r.thumbs.update(!0),r.update())},[]),x={...I,...f},{isShowCarousel:G,featureImageHeight:H,featureWrapperImage:N,onClickFeatureArrow:S,activeIndexFromFeatureImage:U,setOnClickFeatureArrow:A,onHandleLoadedFeatureImage:D,setActiveIndexFromFeatureImage:W}=c(g);if(y?.[0]?.id==="noImageError"&&v)return e(r,{children:P});let{ftImageGalleryClasses:R,imageGalleryWrapperClasses:$}=p(g),{wrapperFeaturedImageStyle:E,featureImageStyle:J,galleryImageStyle:L}=n(x,{gallery:y,featureImageHeight:H}),O=JSON.stringify(x?.position)+k+G;return t("div",{className:a("gp-grid gp-w-full gp-relative"),style:E,children:[t("div",{className:R,style:J,children:[F,e(u,{ref:j,imgRef:N,productImages:y,...x,onHandleClick:(e,r)=>b(e||"",r),onHandleLoaded:D,onHandleUpdateActiveIndex:W,onClickArrow:e=>A(e),builderPropUID:h?.uid,builderPropsClass:`gp-product-images-feature-${h?.uid}`})]}),y.length>1&&e("div",{className:$,style:L,children:G?e(d,{productImages:y,position:x?.position,...x,builderPropUID:h?.uid,onHandleClick:(e,r)=>b(e||"",r),onSwiperReady:w,activeIndexFormFeatureImage:U,priorityFeatureImage:C,onClickFeatureArrow:S,builderPropsClass:`gp-product-images-gallery-${h?.uid}`}):e(m,{productImages:y,...x,builderPropUID:h?.uid,onHandleClick:(e,r)=>b(e||"",r),activeIndexFromFeatureImage:U,isHiddenInteraction:!0})})]},O)};export{FeatureImageWithGallery as default};
1
+ import{jsx as e,Fragment as r,jsxs as t}from"react/jsx-runtime";import{useRenderMode as i,useCurrentDevice as o,cls as a}from"@gem-sdk/core";import{useRef as l,useCallback as s}from"react";import d from"../gallery-carousel/GalleryCarousel.js";import m from"../child/ProductGalleryGrid.js";import u from"../child/ProductFeaturedImageCarousel.js";import{getProductImagesStyles as p}from"../../composables/getProductImagesStyles.js";import{getProductImagesClassName as n}from"../../composables/getProductImagesClassName.js";import{useFeatureImageWithGallery as c}from"../../hooks/useFeatureImageWithGallery.js";let FeatureImageWithGallery=g=>{let{setting:I,styles:f,builderProps:h,gallery:y,onHandleClickImage:b,priorityFeatureImage:C,children:F,noDataChildren:P}=g,{isEditMode:v}=i(),w=l(null),j=o(),k=s(e=>{if(!w.current)return;let r=w.current.getSwiper();r&&r.thumbs&&r.thumbs.swiper&&r.thumbs.swiper?.realIndex===void 0&&e&&(r.thumbs.swiper=e,r.thumbs.init(),r.thumbs.update(!0),r.update())},[]),x={...I,...f},{isShowCarousel:G,featureImageHeight:H,featureWrapperImage:N,onClickFeatureArrow:S,activeIndexFromFeatureImage:U,setOnClickFeatureArrow:A,onHandleLoadedFeatureImage:D,setActiveIndexFromFeatureImage:W}=c(g);if(y?.[0]?.id==="noImageError"&&v)return e(r,{children:P});let{ftImageGalleryClasses:R,imageGalleryWrapperClasses:$}=n(g),{wrapperFeaturedImageStyle:E,featureImageStyle:J,galleryImageStyle:L}=p(x,{gallery:y,featureImageHeight:H}),O=JSON.stringify(x?.position)+j+G;return t("div",{className:a("gp-grid gp-w-full gp-relative"),style:E,children:[t("div",{className:R,style:J,children:[F,e(u,{ref:w,imgRef:N,productImages:y,...x,onHandleClick:(e,r)=>b(e||"",r),onHandleLoaded:D,onHandleUpdateActiveIndex:W,onClickArrow:e=>A(e),builderPropUID:h?.uid,builderPropsClass:`gp-product-images-feature-${h?.uid}`})]}),y.length>1&&e("div",{className:$,style:L,children:G?e(d,{productImages:y,position:x?.position,...x,builderPropUID:h?.uid,onHandleClick:(e,r)=>b(e||"",r),onSwiperReady:k,activeIndexFormFeatureImage:U,priorityFeatureImage:C,onClickFeatureArrow:S,builderPropsClass:`gp-product-images-gallery-${h?.uid}`}):e(m,{productImages:y,...x,builderPropUID:h?.uid,onHandleClick:(e,r)=>b(e||"",r),activeIndexFromFeatureImage:U,isHiddenInteraction:!0})})]},O)};export{FeatureImageWithGallery as default};
@@ -4386,7 +4386,7 @@ declare const ProductVariants$1: React.FC<ProductVariantsProps>;
4386
4386
 
4387
4387
  declare const ProductImages$3: React.FC<ProductImagesProps>;
4388
4388
 
4389
- declare const ProductImagesV2$1: React.FC<ProductImagesProps$2>;
4389
+ declare const ProductImagesV3: React.FC<ProductImagesProps$2>;
4390
4390
 
4391
4391
  declare const ProductImagesV2: React.FC<ProductImagesProps$1>;
4392
4392
 
@@ -7987,4 +7987,4 @@ declare const replaceAllHrefFromString: (htmlString: string, hrefs: string[]) =>
7987
7987
  declare function isEmptyObject(obj: Record<string, any>): boolean;
7988
7988
  declare const handleClickLink: (setting?: ImageLink, mode?: RenderMode) => void;
7989
7989
 
7990
- export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, type AccordionItemProps, type AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, type AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, type AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, type AliReviewsProps, AlsoBoughtCbb$1 as AlsoBoughtCbb, type AlsoBoughtCbbProps, AovBundlesVolumeDiscounts$1 as AovBundlesVolumeDiscounts, type AovBundlesVolumeDiscountsProps, AovFreeGiftBuyXGetYBogo$1 as AovFreeGiftBuyXGetYBogo, type AovFreeGiftBuyXGetYBogoProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, type AppointmentBookingCowlendarProps, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, type AppstleBundlesDiscountsProps, AppstleSubscriptions$1 as AppstleSubscriptions, type AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, type BestBuyFulfillmentProps, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, type BfSizeChartSizeGuideProps, BirdChime$1 as BirdChime, type BirdChimeProps, BloyRewardsProgramLoyalty$1 as BloyRewardsProgramLoyalty, type BloyRewardsProgramLoyaltyProps, Bogos$1 as Bogos, type BogosProps, BoldProductOptions$1 as BoldProductOptions, type BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, type BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, type BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, type BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, type BundlerProps, Button$2 as Button, type ButtonProps, CONTINUE_SELLING_WHEN_OUT_OF_STOCK, CSSCode$1 as CSSCode, type CSSCodeProps, type CalloutBoxProps, type CalloutTextProps, Carousel$2 as Carousel, CarouselItem$2 as CarouselItem, type CarouselItemProps, type CarouselItemProps$1 as CarouselItemPropsV3, CarouselItem$3 as CarouselItemV3, type CarouselProps, type CarouselProps$1 as CarouselPropsV3, type CarouselSettingProps, type CarouselSettingProps$1 as CarouselSettingPropsV3, type CarouselStyleProps, type CarouselStyleProps$1 as CarouselStylePropsV3, Carousel$3 as CarouselV3, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, type CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeCharts$1 as CleanSizeCharts, type CleanSizeChartsProps, Column$1 as Col, type ColProps, CollectionBanner$1 as CollectionBanner, type CollectionBannerProps, CollectionDescription$1 as CollectionDescription, type CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, type CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, type CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, type CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, type CountdownProps, Coupon$1 as Coupon, CouponList, type CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, type CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, type CustomProductOptionsVariantProps, DEFAULT_FONT_SIZE, DEFAULT_HIGHLIGHT_TAG, DEFAULT_PROGRESS_BAR_HEIGHT, DEFAULT_QUANTITY_TEMPLATE, DEFAULT_RANGE_STEP, DEFAULT_REMAINING_PERCENT, DEFAULT_REMAINING_QUANTITY, DEFAULT_SCARCITY_THRESHOLD, type DataVideoType, DealeasyVolumeDiscounts$1 as DealeasyVolumeDiscounts, type DealeasyVolumeDiscountsProps, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, type DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, type DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, type EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, type EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, type EasySellCODProps, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, type EcoboostifyShoppableReelUgcProps, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, type EcomsendBackInStockAlertProps, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, type EssentialAnnouncementBarProps, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, type EssentialCountdownTimerBarProps, EstimateDate$1 as EstimateDate, type EstimateDateProps, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, type EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, type FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, type FeraReviewsProps, FileUpload$1 as FileUpload, type FileUploadProps, FirePush$1 as FirePush, type FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, type FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, type FordeerProductLabelsProps, FormCheckbox, type FormCheckboxProps, FormDropdown$1 as FormDropdown, type FormDropdownProps, FormEmail$1 as FormEmail, type FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, type FrequentlyBoughtTogetherProps, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, type GloColorSwatchvariantImageProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, type GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, type GoogleReviewsByReputonProps, Growave$1 as Growave, type GrowaveProps, Header, type HeaderProps, Heading$1 as Heading, type HeadingProps, HeroBanner$1 as HeroBanner, type HeroBannerProps, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, type HextomCountdownTimerBarProps, HextomFreeShippingBar$1 as HextomFreeShippingBar, type HextomFreeShippingBarProps, HulkFormBuilder$1 as HulkFormBuilder, type HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, type HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, type IconListHozProps, IconListItem$1 as IconListItem, IconListHozItem as IconListItemHoz, type IconListItemProps$1 as IconListItemProps, type IconListProps$1 as IconListProps, IconListV2$1 as IconListV2, type IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, type ImageComparisonItem, ImageDetection, type ImageDetectionProps, type ImageProps, type ImgProps, InfiniteOptions$1 as InfiniteOptions, type InfiniteOptionsProps, Input, type InputProps, Instafeed$1 as Instafeed, type InstafeedProps, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, type InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, type JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, type JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, type KachingBundlesProps, KachingSubscriptionsApp$1 as KachingSubscriptionsApp, type KachingSubscriptionsAppProps, KingProductOptions$1 as KingProductOptions, type KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, type KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, type KlarnaMessagingProps, Klaviyo$1 as Klaviyo, type KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, type KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, type LaiProductReviewsProps, Line$2 as Line, type LineProps, Link$1 as Link, type LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, type LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, type LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, type LooxReviewsProps, MAX_PROGRESS_BAR_HEIGHT, MAX_REMAINING_PERCENT, MIN_PROGRESS_BAR_HEIGHT, MIN_REMAINING_PERCENT, MIN_REMAINING_QUANTITY, Marquee$1 as Marquee, _default$4 as MarqueeItem, type MarqueeItemProps, type MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, type MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, type MbcBundleVolumeDiscountProps, Menu, type MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, type MyappgurusProductReviewsProps, NO_PRODUCT_LEFT, Newsletter$1 as Newsletter, type NewsletterProps, Notify as Notice, type NotificationAPI, type NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, type NotifyBackInStockPreOrderProps, OUT_OF_STOCK, type ObjectFit$1 as ObjectFit, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, type OkendoReviewsLoyaltyProps, Omnisend$1 as Omnisend, type OmnisendProps, Opinew$1 as Opinew, type OpinewProps, Pagination, type PaginationProps, ParcelPanel$1 as ParcelPanel, type ParcelPanelProps, PickyStory$1 as PickyStory, type PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, type PostPurchaseAdvancedListProps, Button$1 as PostPurchaseButton, type PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, type PostPurchaseCountdownTimerProps, PostPurchaseHeading, PostPurchaseImage, type PostPurchaseImageProps, Line$1 as PostPurchaseLine, type PostPurchaseLineProps, Link as PostPurchaseLink, type PostPurchaseLinkProps, PostPurchaseProductDescription, type PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, type PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, type PostPurchaseProductImagesProps, PostPurchaseProductOffer, type PostPurchaseProductOfferProps$1 as PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, type PostPurchaseProductPriceBreakdownProps, type PostPurchaseProductPriceProps, PostPurchaseProductQuantity, type PostPurchaseProductQuantityProps, PostPurchaseProductTitle, type PostPurchaseProductTitleProps, PostPurchaseProductVariants, type PostPurchaseProductVariantsProps, Text$2 as PostPurchaseText, type PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, type PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, type PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, type PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, type ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, type ProductBundleDiscountProps, type ProductBundleItemDiscountProps, ProductButton$1 as ProductButton, type ProductButtonProps, ProductDescription$1 as ProductDescription, type ProductDescriptionProps, ProductImages$3 as ProductImages, type ProductImagesProps, ProductImagesV2, ProductImagesV2$1 as ProductImagesV3, ProductList$2 as ProductList, type ProductListProps, type ProductListProps$1 as ProductListPropsV3, ProductList$3 as ProductListV3, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, type ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, type ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, type ProductPriceProps, type ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, type ProductProps, ProductQuantity$1 as ProductQuantity, type ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, type ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, type ProductTagProps, ProductTitle$1 as ProductTitle, type ProductTitleProps, ProductVariants$1 as ProductVariants, type ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, type ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, type PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, type PushOwlProps, QUANTITY_SOURCE, QikifyUpsell$1 as QikifyUpsell, type QikifyUpsellProps, REGEX_PAGE_TYPE, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, type RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, type RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, type RecurpaySubscriptionAppProps, Releasit$1 as Releasit, type ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, type RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, type ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, type RivyoProps, Root$1 as Root, type RootProps$2 as RootProps, Row$1 as Row, type RowProps, Ryviu$1 as Ryviu, type RyviuProps, SealSubscriptions$1 as SealSubscriptions, type SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, type SegunoEmailMarketingProps, Select, Selleasy$1 as Selleasy, type SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, type SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, type ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, type ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, type ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, type SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, type SkioSubscriptionsYcS20Props, type SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, type SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, type SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, type StampedProps, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, type StellarDeliveryDatePickupProps, Sticky$1 as Sticky, StockCounter$1 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, type SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, type SubmitButtonProps, TabItem$1 as TabItem, type TabItemProps, Tabs$1 as Tabs, type TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, type TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, type TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, type TeeinblueProductPersonalizerProps, Text$1 as Text, type TextAreaProps, TextField$1 as TextField, type TextFieldProps, TextInput$1 as TextInput, type TextInputProps, type TextProps, TextArea as Textarea, type TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, type TrustBadgesBearProps, TrustMe$1 as TrustMe, type TrustMeProps, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, type TrustedsiteTrustBadgesProps, Trustoo$1 as Trustoo, type TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, type TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, type TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, type UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, type UnlimitedBundlesDiscountsProps, UppromoteAffiliateMarketing$1 as UppromoteAffiliateMarketing, type UppromoteAffiliateMarketingProps, type VendorProps, Video$1 as Video, Vitals$1 as Vitals, type VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, type WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, type WideBundleProps, Wiser$1 as Wiser, type WiserProps, WishlistKing$1 as WishlistKing, type WishlistKingProps, WishlistPlus$1 as WishlistPlus, type WishlistPlusProps, YotpoLoyalty, type YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, type YotpoReviewsProps, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$2 as builderComponent, buttonSetting, carouselSetting, carouselSettingV3, cartSetting, checkIsOpenPopup, checkIsScrollToTop, codeSetting, collectionSetting, _default$1 as componentSettings, contactFormSetting, convertSizeToWidth, convertUnitToNumber, countdownSetting, couponSetting, dialogSetting, estimateDeliverySetting, filterTruthyObject, filterTruthyStyles, getAllHrefFromString, getDisplayStyle, getDynamicSourceLocales, getInlineCss, getInsertLinkData, getLinkArticle, getLinkData, getLiquidInitData, getLiquidTextContent, getSettingPreloadData, getStaticLocale, getTextDisplayData, gridSetting, handleClickLink, headerSetting, headingSetting, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageDetectionSetting, imageSetting, inputSetting, isEmptyObject, isHexTransparent, isLinkedToSalesPage, isShopifyDomain, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$3 as nextComponent, normalizeMailto, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, _default as postPurchaseSettings, postPurchaseTextSetting, productSetting, radioSetting, replaceAllHrefFromString, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, transformHighlighTag, transformNumberTag, useNotification, videoSetting, youtubeShortsRegex };
7990
+ export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, type AccordionItemProps, type AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, type AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, type AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, type AliReviewsProps, AlsoBoughtCbb$1 as AlsoBoughtCbb, type AlsoBoughtCbbProps, AovBundlesVolumeDiscounts$1 as AovBundlesVolumeDiscounts, type AovBundlesVolumeDiscountsProps, AovFreeGiftBuyXGetYBogo$1 as AovFreeGiftBuyXGetYBogo, type AovFreeGiftBuyXGetYBogoProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, type AppointmentBookingCowlendarProps, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, type AppstleBundlesDiscountsProps, AppstleSubscriptions$1 as AppstleSubscriptions, type AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, type BestBuyFulfillmentProps, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, type BfSizeChartSizeGuideProps, BirdChime$1 as BirdChime, type BirdChimeProps, BloyRewardsProgramLoyalty$1 as BloyRewardsProgramLoyalty, type BloyRewardsProgramLoyaltyProps, Bogos$1 as Bogos, type BogosProps, BoldProductOptions$1 as BoldProductOptions, type BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, type BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, type BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, type BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, type BundlerProps, Button$2 as Button, type ButtonProps, CONTINUE_SELLING_WHEN_OUT_OF_STOCK, CSSCode$1 as CSSCode, type CSSCodeProps, type CalloutBoxProps, type CalloutTextProps, Carousel$2 as Carousel, CarouselItem$2 as CarouselItem, type CarouselItemProps, type CarouselItemProps$1 as CarouselItemPropsV3, CarouselItem$3 as CarouselItemV3, type CarouselProps, type CarouselProps$1 as CarouselPropsV3, type CarouselSettingProps, type CarouselSettingProps$1 as CarouselSettingPropsV3, type CarouselStyleProps, type CarouselStyleProps$1 as CarouselStylePropsV3, Carousel$3 as CarouselV3, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, type CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeCharts$1 as CleanSizeCharts, type CleanSizeChartsProps, Column$1 as Col, type ColProps, CollectionBanner$1 as CollectionBanner, type CollectionBannerProps, CollectionDescription$1 as CollectionDescription, type CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, type CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, type CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, type CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, type CountdownProps, Coupon$1 as Coupon, CouponList, type CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, type CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, type CustomProductOptionsVariantProps, DEFAULT_FONT_SIZE, DEFAULT_HIGHLIGHT_TAG, DEFAULT_PROGRESS_BAR_HEIGHT, DEFAULT_QUANTITY_TEMPLATE, DEFAULT_RANGE_STEP, DEFAULT_REMAINING_PERCENT, DEFAULT_REMAINING_QUANTITY, DEFAULT_SCARCITY_THRESHOLD, type DataVideoType, DealeasyVolumeDiscounts$1 as DealeasyVolumeDiscounts, type DealeasyVolumeDiscountsProps, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, type DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, type DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, type EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, type EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, type EasySellCODProps, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, type EcoboostifyShoppableReelUgcProps, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, type EcomsendBackInStockAlertProps, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, type EssentialAnnouncementBarProps, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, type EssentialCountdownTimerBarProps, EstimateDate$1 as EstimateDate, type EstimateDateProps, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, type EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, type FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, type FeraReviewsProps, FileUpload$1 as FileUpload, type FileUploadProps, FirePush$1 as FirePush, type FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, type FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, type FordeerProductLabelsProps, FormCheckbox, type FormCheckboxProps, FormDropdown$1 as FormDropdown, type FormDropdownProps, FormEmail$1 as FormEmail, type FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, type FrequentlyBoughtTogetherProps, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, type GloColorSwatchvariantImageProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, type GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, type GoogleReviewsByReputonProps, Growave$1 as Growave, type GrowaveProps, Header, type HeaderProps, Heading$1 as Heading, type HeadingProps, HeroBanner$1 as HeroBanner, type HeroBannerProps, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, type HextomCountdownTimerBarProps, HextomFreeShippingBar$1 as HextomFreeShippingBar, type HextomFreeShippingBarProps, HulkFormBuilder$1 as HulkFormBuilder, type HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, type HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, type IconListHozProps, IconListItem$1 as IconListItem, IconListHozItem as IconListItemHoz, type IconListItemProps$1 as IconListItemProps, type IconListProps$1 as IconListProps, IconListV2$1 as IconListV2, type IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, type ImageComparisonItem, ImageDetection, type ImageDetectionProps, type ImageProps, type ImgProps, InfiniteOptions$1 as InfiniteOptions, type InfiniteOptionsProps, Input, type InputProps, Instafeed$1 as Instafeed, type InstafeedProps, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, type InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, type JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, type JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, type KachingBundlesProps, KachingSubscriptionsApp$1 as KachingSubscriptionsApp, type KachingSubscriptionsAppProps, KingProductOptions$1 as KingProductOptions, type KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, type KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, type KlarnaMessagingProps, Klaviyo$1 as Klaviyo, type KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, type KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, type LaiProductReviewsProps, Line$2 as Line, type LineProps, Link$1 as Link, type LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, type LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, type LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, type LooxReviewsProps, MAX_PROGRESS_BAR_HEIGHT, MAX_REMAINING_PERCENT, MIN_PROGRESS_BAR_HEIGHT, MIN_REMAINING_PERCENT, MIN_REMAINING_QUANTITY, Marquee$1 as Marquee, _default$4 as MarqueeItem, type MarqueeItemProps, type MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, type MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, type MbcBundleVolumeDiscountProps, Menu, type MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, type MyappgurusProductReviewsProps, NO_PRODUCT_LEFT, Newsletter$1 as Newsletter, type NewsletterProps, Notify as Notice, type NotificationAPI, type NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, type NotifyBackInStockPreOrderProps, OUT_OF_STOCK, type ObjectFit$1 as ObjectFit, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, type OkendoReviewsLoyaltyProps, Omnisend$1 as Omnisend, type OmnisendProps, Opinew$1 as Opinew, type OpinewProps, Pagination, type PaginationProps, ParcelPanel$1 as ParcelPanel, type ParcelPanelProps, PickyStory$1 as PickyStory, type PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, type PostPurchaseAdvancedListProps, Button$1 as PostPurchaseButton, type PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, type PostPurchaseCountdownTimerProps, PostPurchaseHeading, PostPurchaseImage, type PostPurchaseImageProps, Line$1 as PostPurchaseLine, type PostPurchaseLineProps, Link as PostPurchaseLink, type PostPurchaseLinkProps, PostPurchaseProductDescription, type PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, type PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, type PostPurchaseProductImagesProps, PostPurchaseProductOffer, type PostPurchaseProductOfferProps$1 as PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, type PostPurchaseProductPriceBreakdownProps, type PostPurchaseProductPriceProps, PostPurchaseProductQuantity, type PostPurchaseProductQuantityProps, PostPurchaseProductTitle, type PostPurchaseProductTitleProps, PostPurchaseProductVariants, type PostPurchaseProductVariantsProps, Text$2 as PostPurchaseText, type PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, type PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, type PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, type PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, type ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, type ProductBundleDiscountProps, type ProductBundleItemDiscountProps, ProductButton$1 as ProductButton, type ProductButtonProps, ProductDescription$1 as ProductDescription, type ProductDescriptionProps, ProductImages$3 as ProductImages, type ProductImagesProps, ProductImagesV2, ProductImagesV3, ProductList$2 as ProductList, type ProductListProps, type ProductListProps$1 as ProductListPropsV3, ProductList$3 as ProductListV3, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, type ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, type ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, type ProductPriceProps, type ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, type ProductProps, ProductQuantity$1 as ProductQuantity, type ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, type ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, type ProductTagProps, ProductTitle$1 as ProductTitle, type ProductTitleProps, ProductVariants$1 as ProductVariants, type ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, type ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, type PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, type PushOwlProps, QUANTITY_SOURCE, QikifyUpsell$1 as QikifyUpsell, type QikifyUpsellProps, REGEX_PAGE_TYPE, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, type RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, type RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, type RecurpaySubscriptionAppProps, Releasit$1 as Releasit, type ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, type RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, type ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, type RivyoProps, Root$1 as Root, type RootProps$2 as RootProps, Row$1 as Row, type RowProps, Ryviu$1 as Ryviu, type RyviuProps, SealSubscriptions$1 as SealSubscriptions, type SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, type SegunoEmailMarketingProps, Select, Selleasy$1 as Selleasy, type SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, type SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, type ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, type ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, type ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, type SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, type SkioSubscriptionsYcS20Props, type SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, type SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, type SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, type StampedProps, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, type StellarDeliveryDatePickupProps, Sticky$1 as Sticky, StockCounter$1 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, type SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, type SubmitButtonProps, TabItem$1 as TabItem, type TabItemProps, Tabs$1 as Tabs, type TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, type TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, type TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, type TeeinblueProductPersonalizerProps, Text$1 as Text, type TextAreaProps, TextField$1 as TextField, type TextFieldProps, TextInput$1 as TextInput, type TextInputProps, type TextProps, TextArea as Textarea, type TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, type TrustBadgesBearProps, TrustMe$1 as TrustMe, type TrustMeProps, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, type TrustedsiteTrustBadgesProps, Trustoo$1 as Trustoo, type TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, type TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, type TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, type UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, type UnlimitedBundlesDiscountsProps, UppromoteAffiliateMarketing$1 as UppromoteAffiliateMarketing, type UppromoteAffiliateMarketingProps, type VendorProps, Video$1 as Video, Vitals$1 as Vitals, type VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, type WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, type WideBundleProps, Wiser$1 as Wiser, type WiserProps, WishlistKing$1 as WishlistKing, type WishlistKingProps, WishlistPlus$1 as WishlistPlus, type WishlistPlusProps, YotpoLoyalty, type YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, type YotpoReviewsProps, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$2 as builderComponent, buttonSetting, carouselSetting, carouselSettingV3, cartSetting, checkIsOpenPopup, checkIsScrollToTop, codeSetting, collectionSetting, _default$1 as componentSettings, contactFormSetting, convertSizeToWidth, convertUnitToNumber, countdownSetting, couponSetting, dialogSetting, estimateDeliverySetting, filterTruthyObject, filterTruthyStyles, getAllHrefFromString, getDisplayStyle, getDynamicSourceLocales, getInlineCss, getInsertLinkData, getLinkArticle, getLinkData, getLiquidInitData, getLiquidTextContent, getSettingPreloadData, getStaticLocale, getTextDisplayData, gridSetting, handleClickLink, headerSetting, headingSetting, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageDetectionSetting, imageSetting, inputSetting, isEmptyObject, isHexTransparent, isLinkedToSalesPage, isShopifyDomain, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$3 as nextComponent, normalizeMailto, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, _default as postPurchaseSettings, postPurchaseTextSetting, productSetting, radioSetting, replaceAllHrefFromString, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, transformHighlighTag, transformNumberTag, useNotification, videoSetting, youtubeShortsRegex };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "6.0.1",
3
+ "version": "6.0.3",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",