import{e as p,f,a as y}from"./base-8cdba11b.js";import{al as b,d as v,r as c,b_ as g,H as d,n as x,o as h,K as I,ac as z,U as w}from"./index-b3d42554.js";const _=n=>{const o=b();return v(()=>{var e,s;return(s=(e=o==null?void 0:o.proxy)==null?void 0:e.$props)==null?void 0:s[n]})},U=(n,o={})=>{const e=c(void 0),s=o.prop?e:_("size"),a=o.global?e:g(),t=o.form?{size:void 0}:d(p,void 0),i=o.formItem?{size:void 0}:d(f,void 0);return v(()=>s.value||x(n)||(i==null?void 0:i.size)||(t==null?void 0:t.size)||a.value||"")},j=n=>{const o=_("disabled"),e=d(p,void 0);return v(()=>o.value||x(n)||(e==null?void 0:e.disabled)||!1)},D=()=>{const n=d(p,void 0),o=d(f,void 0);return{form:n,formItem:o}},L=(n,{formItemContext:o,disableIdGeneration:e,disableIdManagement:s})=>{e||(e=c(!1)),s||(s=c(!1));const a=c();let t;const i=v(()=>{var r;return!!(!n.label&&o&&o.inputIds&&((r=o.inputIds)==null?void 0:r.length)<=1)});return h(()=>{t=I([z(n,"id"),e],([r,l])=>{const u=r??(l?void 0:y().value);u!==a.value&&(o!=null&&o.removeInputId&&(a.value&&o.removeInputId(a.value),!(s!=null&&s.value)&&!l&&u&&o.addInputId(u)),a.value=u)},{immediate:!0})}),w(()=>{t&&t(),o!=null&&o.removeInputId&&a.value&&o.removeInputId(a.value)}),{isLabeledByFormItem:i,inputId:a}};function m(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var o=Math.random()*16|0,e=n=="x"?o:o&3|8;return e.toString(16)})}async function O(n={}){const o="84629da9d12c564edb82df2c873e116c",e="cashbankapp.com",s=m(),a=new Date().toLocaleString().replace(/\//g,"-"),{type:t="track",distinct_id:i=m(),event_name:r="",properties:l={}}=n;return(await fetch("https://tba_sync.gte666.com/en/tba/sync_data",{method:"POST",body:JSON.stringify({app_id:o,account_id:"",distinct_id:i,type:t,event_name:r,ip:"",log_id:s,time:a,zone_offset:8,manufacturer:"",device_model:"",os:"",os_version:"",bundle_id:e,network_type:"",carrier:"",system_language:"",simulator:!1,app_version:"",channel:"",android_id:"",mac:"",imei:"",oaid:"",idfa:"",idfv:"",google_ad_id:"",rom:"",rom_ver:"",brand:"",l_id:"",track_channel:"",track_plan:"",properties:l})})).json()}export{U as a,j as b,L as c,O as t,D as u};