"use strict";var e=require("@gem-sdk/core"),t=require("../../helpers.js"),o=require("../settings/configs/translate.js");exports.composeIconWith=e=>({...e,desktop:e?.desktop??0,tablet:e?.tablet??e?.desktop??0,mobile:e?.mobile??e?.tablet??e?.desktop??0}),exports.composePostionIconList=(t,o,i)=>{let s={...i,desktop:i?.desktop??0,tablet:i?.tablet??i?.desktop??0,mobile:i?.mobile??i?.tablet??i?.desktop??0},n={};return e.DEVICES.forEach(i=>{e.composePositionLineHeight({compose:n,lineHeight:t,device:i,position:o,iconWidth:s})}),n},exports.getTextIconNotFound=e=>"react"===e?"Icons not found":t.getStaticLocale("IconList","icons_not_found"),exports.getTextIconTranslations=({setting:e,builderProps:i,pageContext:s,key:n,type:r})=>{let{childItem:c}=e??{};return"react"===r?c?.[n]:t.getDynamicSourceLocales({val:c?.[n],uid:i?.uid,settingId:t.createSettingId({id:o.IconListV2?.childItem?.id,index:n}),pageContext:s??{},isReplaceLocationOrigin:!0})},exports.getvalueMap=({setting:e})=>{let{childConfig:t,iconType:o,iconSvg:i}=e??{};return o&&"matching"!==o?"different"===o?t:void 0:Array(t?.length).fill(i)};
