import{a as b,g,i as m,aH as y,H as h,j as S,_ as p,f as _,bG as x}from"./main-634.js";import{F as s}from"./bf-767-388.js";import{S as j}from"./bf-497-246.js";import"./bf-25-81.js";function B({propsFldKey:l}={}){const{css:o}=b(),{fieldKey:r}=g(),e=l!=null?l:r,[n,c]=m(y);if(!e)return null;const t=h(n[e]),d=t.adminLbl||"",{selectedCountryClearable:f}=t.config,u=a=>{t.config.selectedCountryClearable=a;const i=_(n,C=>{C[e]=t});c(i),x({event:`Selected Country Clearable '${String(a||"Off").replace("true","On")}': ${t.lbl||d||e}`,type:"selectedCountryClearable_changed",state:{fields:i,fldKey:e}})};return S.jsx(j,{id:"slctd-clrbl-stng",tip:"By disabling this option, the selected country clearable button will be hidden",className:o(s.fieldSection,s.hover_tip,s.singleOption),title:p("Selected Country Clearable"),action:a=>u(a.target.checked),isChecked:f||!1})}export{B as default};
