import{g as H,i as h,aH as y,a as L,j as n,_ as S,f as _,e9 as F,bG as x,ba as j}from"./main-634.js";import{F as t}from"./bf-767-388.js";import{t as I}from"./bf-676-386.js";import{S as O}from"./bf-497-246.js";import"./bf-638-271.js";import"./bf-247-269.js";import"./bf-25-81.js";function K({cls:r=""}){var s,a;const{fieldKey:e}=H(),[i,p]=h(y),{css:m}=L();if(!e)return null;const c=(a=(s=i[e])==null?void 0:s.optLblHide)!=null?a:!1,f=({target:g})=>{const{checked:l}=g,o=_(i,b=>{const d=b[e];l?d.optLblHide=!0:(d.optLblHide=!1,F(e,"imageSelectOptLbl"))}),u=l?"on":"off";p(o),x({event:`Hide image ${u}`,type:"Hide_image_label_on_off",state:{fields:o,fldKey:e}}),j(e)};return n.jsx("div",{className:`${m(t.fieldSection,t.hover_tip,t.singleOption)} ${r}`,children:n.jsx(O,{id:"opt-img-lbl-hide-or-show",tip:I.imageOptLbl,title:S("Hide Image Label"),action:f,isChecked:c,proProperty:"hidden"})})}export{K as default};
