| 1 |
import{a as p,g as f,i as u,aH as g,z as m,j as C,_ as B,f as b,bG as h}from"./main-411.js";import{F as n}from"./bf-30-385.js";import{S as I}from"./bf-98-245.js";import"./bf-266-80.js";function x(){const{css:a}=p(),{fieldKey:t}=f(),[o,r]=u(g);if(!t)return null;const e=m(o[t]),c=e.adminLbl||"",{detectCountryByIp:l}=e.config,d=s=>{e.config.detectCountryByIp=s;const i=b(o,y=>{y[t]=e});r(i),h({event:`Detect Country By Ip '${String(s||"Off").replace("true","On")}': ${e.lbl||c||t}`,type:"detectCountryByIp_changed",state:{fields:i,fldKey:t}})};return C.jsx(I,{id:"dtct-cntry-by-ip-stng",className:a(n.fieldSection,n.hover_tip,n.singleOption),tip:"By disabling this option, are not detect county by ip",title:B("Detect Country By IP"),action:s=>d(s.target.checked),isChecked:l||!1,isPro:!0,proProperty:"detectCountryByIp"})}export{x as default}; |