"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),t=require("../../helpers.js"),s=require("../common/styles.js"),i=require("../settings/configs/translate.js");exports.default=({uid:r,label:a,styles:l,positionId:o,pageContext:d,translateLabel:c,childrenStyle:n,childrenClass:u,containerStyle:m,containerClass:p})=>{let g=s.getLabelCustomCss(l,r??""),y=t.getDynamicSourceLocales({uid:r,val:a,pageContext:d??{},settingId:t.createSettingId({id:i.ImageComparison?.[c]?.id}),isCapitalize:l?.typo?.attrs?.transform==="capitalize"});return e.template`
    <div
      id="image-comparison-${o}-label-${r}"
      style="${m}"
      class="${p}"
    >
      <style>${g}</style>
      <div class="${u}" style="${n}">
        ${y}
      </div>
    </div>
  `};
