import{a as c,g as f,i as m,aH as u,H as h,j as F,_ as y,f as S,bG as I}from"./main-634.js";import{F as o}from"./bf-767-388.js";import{S as b}from"./bf-497-246.js";import"./bf-25-81.js";function C(){const{css:n}=c(),{fieldKey:e}=f(),[a,l]=m(u);if(!e)return null;const t=h(a[e]),g=t.adminLbl||"",{optionFlagImage:r}=t.config,d=i=>{t.config.optionFlagImage=i;const s=S(a,p=>{p[e]=t});l(s),I({event:`Allow Option Flag Image '${String(i||"Off").replace("true","On")}': ${t.lbl||g||e}`,type:"optionFlagImage_changed",state:{fields:s,fldKey:e}})};return F.jsx(b,{id:"opt-icn-stng",className:n(o.fieldSection,o.hover_tip,o.singleOption),tip:"By disabling this option, the option flags image will be hidden",title:y("Show Option Flag Image"),action:i=>d(i.target.checked),isChecked:r||!1,isPro:!0,proProperty:"optionIcon"})}export{C as default};
