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