"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),s=require("../../helpers.js"),t=require("@gem-sdk/system"),a=require("../common/styles.js"),r=require("../common/classes.js");exports.default=({builderProps:l,style:i,setting:d,rawChildren:c,styles:o,advanced:m,pageContext:p})=>{let{preload:n}=d||{},{background:u}=o||{},g=e.composeAdvanceStyle(m),y=t.createStyle(a.getContainerStyles({style:i,styles:o,type:"Liquid",uid:l?.uid??"",pageContext:p,extraData:{advancedClasses:g,isLiquid:!0}})),$=t.createClass(r.getUlClasses(m?.cssClass)),f=t.createStyle(a.getUlStyles(o)),v=t.createStyle(a.getWrapperStyles(o)),C=t.createClass(r.getWrapperClasses());return e.template`
    ${t.If(!!n,`${t.If(!!u?.desktop?.image?.src,`<link rel="preload" href="${u?.desktop?.image?.src}" as="image" />`)}
      ${t.If(!!u?.tablet?.image?.src,`<link rel="preload" href="${u?.tablet?.image?.src}" as="image" />`)}
      ${t.If(!!u?.mobile?.image?.src,`<link rel="preload" href="${u?.mobile?.image?.src}" as="image" />`)}`)}
    <div class="${C}" style="${v}">
    <div
      data-id="${l?.uid}"
       style="${y}">
     ${t.If(!c,e.template`<div>${s.getStaticLocale("IconList","icons_not_found")}</div>`)}
     ${t.If(!!c,e.template`<ul
        class="${$}"
        style="${f}"
        >
        ${e.WrapRenderChildren({uid:l?.uid??"",customProps:c?.[0].customProps},c?.map((s,t)=>{if(s)return e.RenderChildren({...s,dataIndex:t,parentUid:l?.uid,parentStyles:o})}))}
      </ul>`)}
  </div>
  </div>
  `};
