'use client';
import{jsxs as e,jsx as s}from"react/jsx-runtime";import m from"./Divider.js";import{createClass as r,createStyle as t,If as i}from"@gem-sdk/system";import{getClassContainerLine as o,getClassWrapNotIcon as l,getClassWrapIcon as a,getClassIcon as n,getClassText as d}from"../common/classes.js";import{getStyleWrapNotIcon as c,getStyleWrapIcon as f,getStyleIcon as p,getStyleContainerText as y}from"../common/styles.js";import{getConfigLine as g}from"../common/helpers.js";let Line=h=>{let{className:u,setting:j,styles:N,advanced:v,builderProps:x}=h,{text:L,iconSvg:S}=j??{},_=g({styles:N,setting:j}),H=r(o({className:u,styles:N,advanced:v})),I=r(l({className:u,setting:j})),M=r(a({className:u,setting:j})),T=r(n()),k=r(d({styles:N})),D=t(c({styles:N})),b=t(f({styles:N})),q=t(p({styles:N,setting:j})),w=t(y({styles:N})),z={config:_,fixedSide:"left",className:u},A={config:_,fixedSide:"right",className:u};return e("div",{"data-id":x?.uid,className:H,children:[s("div",{style:D,className:I}),e("div",{className:M,style:b,children:[s(m,{...z}),i(!!S,s("span",{className:T,style:q,dangerouslySetInnerHTML:{__html:S??""}})),i(!!L,s("span",{className:k,style:w,dangerouslySetInnerHTML:{__html:L??""}})),s(m,{...A})]})]})};export{Line as default};
