import{a as s}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1163.js";import{e as i,b as r}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1164.js";import{W as n}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1162.js";import{t as m}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11623.js";const p=async()=>{const{user:a,session:t,auth_google:o}=r.getState(),{user:e}=await n.Conn("getMyDeviceId");return{user_id:a.user_id,name:a.name,email:a.email,email_auth:o.email_auth,whatsapp_plugin:e,user_premium:!!a.user_premium,user_status:t.user_status,navigator:navigator.userAgent,time:m(),dataCadastro:a.dataCadastro,whatsapp_registro:a.whatsapp_registro,path:a.path,afiliado:a.afiliado,campanhaID:a.campanhaID,cookies:a?.cookies}},_=async()=>{const{getWebhooks:a}=i.getState(),t=a("clicou_comprar");if(t.active){const o=await p();s.post(t.link,o,{headers:{"Content-Type":"application/json"}})}};export{_ as b};
